Skip to content

Commit 9c34d08

Browse files
committed
build(codegen): updating SDK
1 parent a14985e commit 9c34d08

File tree

71 files changed

+8913
-258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+8913
-258
lines changed

changes.md

Lines changed: 10 additions & 248 deletions
Original file line numberDiff line numberDiff line change
@@ -1,255 +1,17 @@
11
**Api changes**
22

3-
<details>
4-
<summary>Changed Property(s)</summary>
5-
6-
- :warning: changed property `customType` of type `OrderSearchAnyValue` from type `string` to `OrderSearchCustomType`
7-
- :warning: changed property `customType` of type `OrderSearchDateRangeValue` from type `string` to `OrderSearchCustomType`
8-
- :warning: changed property `customType` of type `OrderSearchFullTextValue` from type `string` to `OrderSearchCustomType`
9-
- :warning: changed property `customType` of type `OrderSearchLongRangeValue` from type `string` to `OrderSearchCustomType`
10-
- :warning: changed property `customType` of type `OrderSearchNumberRangeValue` from type `string` to `OrderSearchCustomType`
11-
- :warning: changed property `customType` of type `OrderSearchQueryExpressionValue` from type `string` to `OrderSearchCustomType`
12-
- :warning: changed property `customType` of type `OrderSearchStringValue` from type `string` to `OrderSearchCustomType`
13-
</details>
14-
15-
16-
<details>
17-
<summary>Added Property(s)</summary>
18-
19-
- added property `approvalRuleMode` to type `BusinessUnit`
20-
- added property `approvalRuleMode` to type `BusinessUnitDraft`
21-
- added property `approvalRuleMode` to type `Company`
22-
- added property `approvalRuleMode` to type `CompanyDraft`
23-
- added property `approvalRuleMode` to type `Division`
24-
- added property `approvalRuleMode` to type `DivisionDraft`
25-
- added property `addressId` to type `BusinessUnitAddressCustomFieldAddedMessage`
26-
- added property `addressId` to type `BusinessUnitAddressCustomFieldChangedMessage`
27-
- added property `addressId` to type `BusinessUnitAddressCustomFieldRemovedMessage`
28-
- added property `addressId` to type `BusinessUnitAddressCustomTypeRemovedMessage`
29-
- added property `addressId` to type `BusinessUnitAddressCustomTypeSetMessage`
30-
- added property `addressId` to type `CustomerAddressCustomFieldAddedMessage`
31-
- added property `addressId` to type `CustomerAddressCustomFieldChangedMessage`
32-
- added property `addressId` to type `CustomerAddressCustomFieldRemovedMessage`
33-
- added property `addressId` to type `CustomerAddressCustomTypeRemovedMessage`
34-
- added property `addressId` to type `CustomerAddressCustomTypeSetMessage`
35-
- added property `metaTitle` to type `ProductTailoringCreatedMessage`
36-
- added property `metaDescription` to type `ProductTailoringCreatedMessage`
37-
- added property `metaKeywords` to type `ProductTailoringCreatedMessage`
38-
- added property `variants` to type `ProductTailoringCreatedMessage`
39-
- added property `addressId` to type `BusinessUnitAddressCustomFieldAddedMessagePayload`
40-
- added property `addressId` to type `BusinessUnitAddressCustomFieldChangedMessagePayload`
41-
- added property `addressId` to type `BusinessUnitAddressCustomFieldRemovedMessagePayload`
42-
- added property `addressId` to type `BusinessUnitAddressCustomTypeRemovedMessagePayload`
43-
- added property `addressId` to type `BusinessUnitAddressCustomTypeSetMessagePayload`
44-
- added property `addressId` to type `CustomerAddressCustomFieldAddedMessagePayload`
45-
- added property `addressId` to type `CustomerAddressCustomFieldChangedMessagePayload`
46-
- added property `addressId` to type `CustomerAddressCustomFieldRemovedMessagePayload`
47-
- added property `addressId` to type `CustomerAddressCustomTypeRemovedMessagePayload`
48-
- added property `addressId` to type `CustomerAddressCustomTypeSetMessagePayload`
49-
- added property `metaTitle` to type `ProductTailoringCreatedMessagePayload`
50-
- added property `metaDescription` to type `ProductTailoringCreatedMessagePayload`
51-
- added property `metaKeywords` to type `ProductTailoringCreatedMessagePayload`
52-
- added property `variants` to type `ProductTailoringCreatedMessagePayload`
53-
- added property `variants` to type `ProductTailoringData`
54-
- added property `variants` to type `ProductTailoringDraft`
55-
- added property `variants` to type `ProductTailoringInStoreDraft`
56-
- added property `active` to type `ShippingMethod`
57-
- added property `active` to type `ShippingMethodDraft`
58-
- added property `store` to type `StagedQuote`
59-
</details>
60-
61-
62-
<details>
63-
<summary>Added Resource(s)</summary>
64-
65-
- added resource `/{projectKey}/customers/search`
66-
- added resource `/{projectKey}/customers/search/indexing-status`
67-
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests`
68-
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes`
69-
- added resource `/{projectKey}/in-store/key={storeKey}/quotes`
70-
- added resource `/{projectKey}/in-store/key={storeKey}/orders/quotes`
71-
- added resource `/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring/images`
72-
- added resource `/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring/images`
73-
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}`
74-
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}`
75-
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}`
76-
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}`
77-
- added resource `/{projectKey}/in-store/key={storeKey}/quotes/key={key}`
78-
- added resource `/{projectKey}/in-store/key={storeKey}/quotes/{ID}`
79-
</details>
80-
81-
82-
<details>
83-
<summary>Removed Resource(s)</summary>
84-
85-
- :warning: removed resource `/{projectKey}/me/carts/key={key}`
86-
</details>
87-
88-
89-
<details>
90-
<summary>Removed QueryParameter(s)</summary>
91-
92-
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products`
93-
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products`
94-
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/key={key}`
95-
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/key={key}`
96-
- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/key={key}`
97-
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/{ID}`
98-
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/{ID}`
99-
- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/{ID}`
100-
- :warning: removed query parameter `sort` from method `get /{projectKey}/product-projections/suggest`
101-
- :warning: removed query parameter `offset` from method `get /{projectKey}/product-projections/suggest`
102-
- :warning: removed query parameter `withTotal` from method `get /{projectKey}/product-projections/suggest`
103-
</details>
104-
105-
106-
<details>
107-
<summary>Added Method(s)</summary>
108-
109-
- added method `apiRoot.withProjectKey().customers().search().post()`
110-
- added method `apiRoot.withProjectKey().customers().search().head()`
111-
- added method `apiRoot.withProjectKey().customers().searchIndexingStatus().get()`
112-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().get()`
113-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().head()`
114-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().post()`
115-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().get()`
116-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().head()`
117-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().post()`
118-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().get()`
119-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().head()`
120-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().post()`
121-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().orders().orderQuote().post()`
122-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().products().withProductId().productTailoring().images().post()`
123-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().products().withProductKey().productTailoring().images().post()`
124-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().get()`
125-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().head()`
126-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().post()`
127-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().delete()`
128-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().get()`
129-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().head()`
130-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().post()`
131-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().delete()`
132-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().get()`
133-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().head()`
134-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().post()`
135-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().delete()`
136-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().get()`
137-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().head()`
138-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().post()`
139-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().delete()`
140-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().get()`
141-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().head()`
142-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().post()`
143-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().delete()`
144-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().get()`
145-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().head()`
146-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().post()`
147-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().delete()`
148-
</details>
149-
150-
151-
<details>
152-
<summary>Removed Method(s)</summary>
153-
154-
- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().get()`
155-
- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().head()`
156-
- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().post()`
157-
- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().delete()`
158-
- :warning: removed method `apiRoot.withProjectKey().me().quoteRequests().withId().delete()`
159-
- :warning: removed method `apiRoot.withProjectKey().me().quoteRequests().withKey().delete()`
160-
</details>
161-
162-
163-
<details>
164-
<summary>Added Enum(s)</summary>
165-
166-
- added enum `shopping-list` to type `ExtensionResourceTypeId`
167-
- added enum `customer-group` to type `AttributeReferenceTypeId`
168-
- added enum `attribute-group` to type `ChangeSubscriptionResourceTypeId`
169-
- added enum `product-tailoring` to type `ChangeSubscriptionResourceTypeId`
170-
- added enum `cart-discount` to type `CustomFieldReferenceValue`
171-
- added enum `customer-group` to type `CustomFieldReferenceValue`
172-
</details>
173-
174-
175-
<details>
176-
<summary>Removed Enum(s)</summary>
177-
178-
- :warning: removed enum `product-price` from type `ChangeSubscriptionResourceTypeId`
179-
</details>
180-
181-
1823
<details>
1834
<summary>Added Type(s)</summary>
1845

185-
- added type `BusinessUnitApprovalRuleMode`
186-
- added type `BusinessUnitChangeApprovalRuleModeAction`
187-
- added type `CartChangeLineItemsOrderAction`
188-
- added type `CustomerIndexingProgress`
189-
- added type `CustomerIndexingStatus`
190-
- added type `CustomerPagedSearchResponse`
191-
- added type `CustomerSearchIndexingStatusResponse`
192-
- added type `CustomerSearchRequest`
193-
- added type `CustomerSearchResult`
194-
- added type `MyCartChangeLineItemsOrderAction`
195-
- added type `BusinessUnitApprovalRuleModeChangedMessage`
196-
- added type `ProductPriceCustomFieldAddedMessage`
197-
- added type `ProductPriceCustomFieldChangedMessage`
198-
- added type `ProductPriceCustomFieldRemovedMessage`
199-
- added type `ProductPriceCustomFieldsRemovedMessage`
200-
- added type `ProductPriceCustomFieldsSetMessage`
201-
- added type `ProductTailoringImageAddedMessage`
202-
- added type `ProductTailoringImagesSetMessage`
203-
- added type `ProductVariantTailoringAddedMessage`
204-
- added type `ProductVariantTailoringRemovedMessage`
205-
- added type `BusinessUnitApprovalRuleModeChangedMessagePayload`
206-
- added type `ProductPriceCustomFieldAddedMessagePayload`
207-
- added type `ProductPriceCustomFieldChangedMessagePayload`
208-
- added type `ProductPriceCustomFieldRemovedMessagePayload`
209-
- added type `ProductPriceCustomFieldsRemovedMessagePayload`
210-
- added type `ProductPriceCustomFieldsSetMessagePayload`
211-
- added type `ProductTailoringImageAddedMessagePayload`
212-
- added type `ProductTailoringImagesSetMessagePayload`
213-
- added type `ProductVariantTailoringAddedMessagePayload`
214-
- added type `ProductVariantTailoringRemovedMessagePayload`
215-
- added type `OrderSearchCustomType`
216-
- added type `ProductVariantTailoring`
217-
- added type `ProductVariantTailoringDraft`
218-
- added type `ProductTailoringAddAssetAction`
219-
- added type `ProductTailoringAddExternalImageAction`
220-
- added type `ProductTailoringAddVariantAction`
221-
- added type `ProductTailoringChangeAssetNameAction`
222-
- added type `ProductTailoringChangeAssetOrderAction`
223-
- added type `ProductTailoringMoveImageToPositionAction`
224-
- added type `ProductTailoringRemoveAssetAction`
225-
- added type `ProductTailoringRemoveImageAction`
226-
- added type `ProductTailoringRemoveVariantAction`
227-
- added type `ProductTailoringSetAssetCustomFieldAction`
228-
- added type `ProductTailoringSetAssetCustomTypeAction`
229-
- added type `ProductTailoringSetAssetDescriptionAction`
230-
- added type `ProductTailoringSetAssetKeyAction`
231-
- added type `ProductTailoringSetAssetSourcesAction`
232-
- added type `ProductTailoringSetAssetTagsAction`
233-
- added type `ProductTailoringSetExternalImagesAction`
234-
- added type `ProductTailoringSetImageLabelAction`
235-
- added type `CustomerSearchStatus`
236-
- added type `ProjectChangeCustomerSearchStatusAction`
237-
- added type `ShippingMethodChangeActiveAction`
238-
</details>
239-
240-
**Import changes**
241-
242-
<details>
243-
<summary>Added Enum(s)</summary>
244-
245-
- added enum `customer-group` to type `CustomFieldReferenceValue`
246-
</details>
247-
248-
249-
<details>
250-
<summary>Deprecated Property(s)</summary>
251-
252-
- property `PriceImport::publish` is removed
253-
- property `ProductVariantImport::publish` is removed
6+
- added type `DeliveryCustomFieldAddedMessage`
7+
- added type `DeliveryCustomFieldChangedMessage`
8+
- added type `DeliveryCustomFieldRemovedMessage`
9+
- added type `DeliveryCustomTypeRemovedMessage`
10+
- added type `DeliveryCustomTypeSetMessage`
11+
- added type `DeliveryCustomFieldAddedMessagePayload`
12+
- added type `DeliveryCustomFieldChangedMessagePayload`
13+
- added type `DeliveryCustomFieldRemovedMessagePayload`
14+
- added type `DeliveryCustomTypeRemovedMessagePayload`
15+
- added type `DeliveryCustomTypeSetMessagePayload`
25416
</details>
25517

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public interface DeliveryAddressSetMessage extends OrderMessage {
4646
String DELIVERY_ADDRESS_SET = "DeliveryAddressSet";
4747

4848
/**
49-
* <p>Unique identifier of the Parcel.</p>
49+
* <p>Unique identifier of the Delivery.</p>
5050
* @return deliveryId
5151
*/
5252
@NotNull
@@ -78,7 +78,7 @@ public interface DeliveryAddressSetMessage extends OrderMessage {
7878
public String getShippingKey();
7979

8080
/**
81-
* <p>Unique identifier of the Parcel.</p>
81+
* <p>Unique identifier of the Delivery.</p>
8282
* @param deliveryId value to be set
8383
*/
8484

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessageBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public DeliveryAddressSetMessageBuilder resourceUserProvidedIdentifiers(
266266
}
267267

268268
/**
269-
* <p>Unique identifier of the Parcel.</p>
269+
* <p>Unique identifier of the Delivery.</p>
270270
* @param deliveryId value to be set
271271
* @return Builder
272272
*/
@@ -453,7 +453,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU
453453
}
454454

455455
/**
456-
* <p>Unique identifier of the Parcel.</p>
456+
* <p>Unique identifier of the Delivery.</p>
457457
* @return deliveryId
458458
*/
459459

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessageImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU
182182
}
183183

184184
/**
185-
* <p>Unique identifier of the Parcel.</p>
185+
* <p>Unique identifier of the Delivery.</p>
186186
*/
187187

188188
public String getDeliveryId() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayload.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public interface DeliveryAddressSetMessagePayload extends OrderMessagePayload {
3939
String DELIVERY_ADDRESS_SET = "DeliveryAddressSet";
4040

4141
/**
42-
* <p>Unique identifier of the Parcel.</p>
42+
* <p>Unique identifier of the Delivery.</p>
4343
* @return deliveryId
4444
*/
4545
@NotNull
@@ -71,7 +71,7 @@ public interface DeliveryAddressSetMessagePayload extends OrderMessagePayload {
7171
public String getShippingKey();
7272

7373
/**
74-
* <p>Unique identifier of the Parcel.</p>
74+
* <p>Unique identifier of the Delivery.</p>
7575
* @param deliveryId value to be set
7676
*/
7777

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayloadBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class DeliveryAddressSetMessagePayloadBuilder implements Builder<Delivery
3636
private String shippingKey;
3737

3838
/**
39-
* <p>Unique identifier of the Parcel.</p>
39+
* <p>Unique identifier of the Delivery.</p>
4040
* @param deliveryId value to be set
4141
* @return Builder
4242
*/
@@ -130,7 +130,7 @@ public DeliveryAddressSetMessagePayloadBuilder shippingKey(@Nullable final Strin
130130
}
131131

132132
/**
133-
* <p>Unique identifier of the Parcel.</p>
133+
* <p>Unique identifier of the Delivery.</p>
134134
* @return deliveryId
135135
*/
136136

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayloadImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public String getType() {
6363
}
6464

6565
/**
66-
* <p>Unique identifier of the Parcel.</p>
66+
* <p>Unique identifier of the Delivery.</p>
6767
*/
6868

6969
public String getDeliveryId() {

0 commit comments

Comments
 (0)