Skip to content

Commit a33cb19

Browse files
committed
build(codegen): updating SDK
1 parent c96bc2f commit a33cb19

File tree

44 files changed

+1293
-165
lines changed

Some content is hidden

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

44 files changed

+1293
-165
lines changed

changes.md

Lines changed: 88 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
**Api changes**
22

3+
<details>
4+
<summary>Added Resource(s)</summary>
5+
6+
- added resource `/{projectKey}/customers/search`
7+
- added resource `/{projectKey}/customers/search/indexing-status`
8+
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests`
9+
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes`
10+
- added resource `/{projectKey}/in-store/key={storeKey}/quotes`
11+
- added resource `/{projectKey}/in-store/key={storeKey}/orders/quotes`
12+
- added resource `/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring/images`
13+
- added resource `/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring/images`
14+
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}`
15+
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}`
16+
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}`
17+
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}`
18+
- added resource `/{projectKey}/in-store/key={storeKey}/quotes/key={key}`
19+
- added resource `/{projectKey}/in-store/key={storeKey}/quotes/{ID}`
20+
</details>
21+
22+
323
<details>
424
<summary>Added Enum(s)</summary>
525

@@ -17,47 +37,32 @@
1737

1838

1939
<details>
20-
<summary>Added Method(s)</summary>
40+
<summary>Removed QueryParameter(s)</summary>
2141

22-
- added method `apiRoot.withProjectKey().customers().search().post()`
23-
- added method `apiRoot.withProjectKey().customers().search().head()`
24-
- added method `apiRoot.withProjectKey().customers().searchIndexingStatus().get()`
25-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().get()`
26-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().head()`
27-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().post()`
28-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().get()`
29-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().head()`
30-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().post()`
31-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().get()`
32-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().head()`
33-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().post()`
34-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().orders().orderQuote().post()`
35-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().products().withProductId().productTailoring().images().post()`
36-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().products().withProductKey().productTailoring().images().post()`
37-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().get()`
38-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().head()`
39-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().post()`
40-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().delete()`
41-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().get()`
42-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().head()`
43-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().post()`
44-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().delete()`
45-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().get()`
46-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().head()`
47-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().post()`
48-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().delete()`
49-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().get()`
50-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().head()`
51-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().post()`
52-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().delete()`
53-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().get()`
54-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().head()`
55-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().post()`
56-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().delete()`
57-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().get()`
58-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().head()`
59-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().post()`
60-
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().delete()`
42+
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products`
43+
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products`
44+
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/key={key}`
45+
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/key={key}`
46+
- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/key={key}`
47+
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/{ID}`
48+
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/{ID}`
49+
- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/{ID}`
50+
- :warning: removed query parameter `sort` from method `get /{projectKey}/product-projections/suggest`
51+
- :warning: removed query parameter `offset` from method `get /{projectKey}/product-projections/suggest`
52+
- :warning: removed query parameter `withTotal` from method `get /{projectKey}/product-projections/suggest`
53+
</details>
54+
55+
56+
<details>
57+
<summary>Changed Property(s)</summary>
58+
59+
- :warning: changed property `customType` of type `OrderSearchAnyValue` from type `string` to `OrderSearchCustomType`
60+
- :warning: changed property `customType` of type `OrderSearchDateRangeValue` from type `string` to `OrderSearchCustomType`
61+
- :warning: changed property `customType` of type `OrderSearchFullTextValue` from type `string` to `OrderSearchCustomType`
62+
- :warning: changed property `customType` of type `OrderSearchLongRangeValue` from type `string` to `OrderSearchCustomType`
63+
- :warning: changed property `customType` of type `OrderSearchNumberRangeValue` from type `string` to `OrderSearchCustomType`
64+
- :warning: changed property `customType` of type `OrderSearchQueryExpressionValue` from type `string` to `OrderSearchCustomType`
65+
- :warning: changed property `customType` of type `OrderSearchStringValue` from type `string` to `OrderSearchCustomType`
6166
</details>
6267

6368

@@ -112,12 +117,14 @@
112117

113118
- added type `BusinessUnitApprovalRuleMode`
114119
- added type `BusinessUnitChangeApprovalRuleModeAction`
120+
- added type `CartChangeLineItemsOrderAction`
115121
- added type `CustomerIndexingProgress`
116122
- added type `CustomerIndexingStatus`
117123
- added type `CustomerPagedSearchResponse`
118124
- added type `CustomerSearchIndexingStatusResponse`
119125
- added type `CustomerSearchRequest`
120126
- added type `CustomerSearchResult`
127+
- added type `MyCartChangeLineItemsOrderAction`
121128
- added type `BusinessUnitApprovalRuleModeChangedMessage`
122129
- added type `ProductPriceCustomFieldAddedMessage`
123130
- added type `ProductPriceCustomFieldChangedMessage`
@@ -138,6 +145,7 @@
138145
- added type `ProductTailoringImagesSetMessagePayload`
139146
- added type `ProductVariantTailoringAddedMessagePayload`
140147
- added type `ProductVariantTailoringRemovedMessagePayload`
148+
- added type `OrderSearchCustomType`
141149
- added type `ProductVariantTailoring`
142150
- added type `ProductVariantTailoringDraft`
143151
- added type `ProductTailoringAddAssetAction`
@@ -164,38 +172,46 @@
164172

165173

166174
<details>
167-
<summary>Removed QueryParameter(s)</summary>
168-
169-
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products`
170-
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products`
171-
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/key={key}`
172-
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/key={key}`
173-
- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/key={key}`
174-
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/{ID}`
175-
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/{ID}`
176-
- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/{ID}`
177-
- :warning: removed query parameter `sort` from method `get /{projectKey}/product-projections/suggest`
178-
- :warning: removed query parameter `offset` from method `get /{projectKey}/product-projections/suggest`
179-
- :warning: removed query parameter `withTotal` from method `get /{projectKey}/product-projections/suggest`
180-
</details>
181-
182-
183-
<details>
184-
<summary>Added Resource(s)</summary>
175+
<summary>Added Method(s)</summary>
185176

186-
- added resource `/{projectKey}/customers/search`
187-
- added resource `/{projectKey}/customers/search/indexing-status`
188-
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests`
189-
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes`
190-
- added resource `/{projectKey}/in-store/key={storeKey}/quotes`
191-
- added resource `/{projectKey}/in-store/key={storeKey}/orders/quotes`
192-
- added resource `/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring/images`
193-
- added resource `/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring/images`
194-
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}`
195-
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}`
196-
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}`
197-
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}`
198-
- added resource `/{projectKey}/in-store/key={storeKey}/quotes/key={key}`
199-
- added resource `/{projectKey}/in-store/key={storeKey}/quotes/{ID}`
177+
- added method `apiRoot.withProjectKey().customers().search().post()`
178+
- added method `apiRoot.withProjectKey().customers().search().head()`
179+
- added method `apiRoot.withProjectKey().customers().searchIndexingStatus().get()`
180+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().get()`
181+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().head()`
182+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().post()`
183+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().get()`
184+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().head()`
185+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().post()`
186+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().get()`
187+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().head()`
188+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().post()`
189+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().orders().orderQuote().post()`
190+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().products().withProductId().productTailoring().images().post()`
191+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().products().withProductKey().productTailoring().images().post()`
192+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().get()`
193+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().head()`
194+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().post()`
195+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().delete()`
196+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().get()`
197+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().head()`
198+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().post()`
199+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().delete()`
200+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().get()`
201+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().head()`
202+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().post()`
203+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().delete()`
204+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().get()`
205+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().head()`
206+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().post()`
207+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().delete()`
208+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().get()`
209+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().head()`
210+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().post()`
211+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().delete()`
212+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().get()`
213+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().head()`
214+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().post()`
215+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().delete()`
200216
</details>
201217

commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2017,6 +2017,7 @@ input CartUpdateAction {
20172017
changeCustomLineItemMoney: ChangeCartCustomLineItemMoney
20182018
changeCustomLineItemPriceMode: ChangeCartCustomLineItemPriceMode
20192019
changeCustomLineItemQuantity: ChangeCartCustomLineItemQuantity
2020+
changeLineItemsOrder: ChangeCartLineItemsOrder
20202021
changeTaxCalculationMode: ChangeCartTaxCalculationMode
20212022
changeTaxMode: ChangeCartTaxMode
20222023
changeTaxRoundingMode: ChangeCartTaxRoundingMode
@@ -2353,6 +2354,10 @@ input ChangeCartLineItemQuantity {
23532354
externalTotalPrice: ExternalLineItemTotalPriceDraft
23542355
}
23552356

2357+
input ChangeCartLineItemsOrder {
2358+
lineItemOrder: [String!]!
2359+
}
2360+
23562361
input ChangeCartTaxCalculationMode {
23572362
taxCalculationMode: TaxCalculationMode!
23582363
}
@@ -6435,6 +6440,7 @@ input MyCartUpdateAction {
64356440
addPayment: AddCartPayment
64366441
addShoppingList: AddCartShoppingList
64376442
applyDeltaToLineItemShippingDetailsTargets: ApplyCartDeltaToLineItemShippingDetailsTargets
6443+
changeLineItemsOrder: ChangeCartLineItemsOrder
64386444
changeTaxMode: ChangeMyCartTaxMode
64396445
recalculate: RecalculateCart
64406446
removeDiscountCode: RemoveCartDiscountCode

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersSearchHead.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>Checks whether a search index for the Project's Orders exists.</p>
19+
* <p>Checks whether a search index for the Project's Orders exists. Returns a <code>200 OK</code> status if the index exists or a <code>404 Not Found</code> error otherwise.</p>
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSuggestGet.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
* .productProjections()
3131
* .suggest()
3232
* .get()
33-
* .with/searchKeywords[aZ]{2}([AZ]{2})?/(/searchKeywords[aZ]{2}([AZ]{2})?/)
3433
* .execute()
3534
* }</code></pre>
3635
* </div>

0 commit comments

Comments
 (0)