Skip to content

Commit 255ab49

Browse files
authored
Update generated SDKs (#1139)
* build(codegen): updating SDK * build(codegen): updating SDK * build(codegen): updating SDK * build(codegen): updating SDK * build(codegen): updating SDK * build(codegen): updating SDK * build(codegen): updating SDK --------- Co-authored-by: ct-sdks[bot] <153784748+ct-sdks[bot]@users.noreply.github.com>
1 parent 488840a commit 255ab49

484 files changed

Lines changed: 26643 additions & 394 deletions

File tree

Some content is hidden

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

changes.md

Lines changed: 85 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
**Api changes**
22

3+
<details>
4+
<summary>Added Property(s)</summary>
5+
6+
- added property `estimatedDelivery` to type `ShippingInfo`
7+
- added property `estimatedDelivery` to type `CartAddShippingMethodAction`
8+
- added property `estimatedDelivery` to type `CartSetCustomShippingMethodAction`
9+
- added property `estimatedDelivery` to type `CartSetShippingMethodAction`
10+
- added property `stores` to type `DiscountCode`
11+
- added property `carrier` to type `ShippingMethod`
12+
- added property `carrier` to type `ShippingMethodDraft`
13+
- added property `storefront` to type `Store`
14+
- added property `storefront` to type `StoreDraft`
15+
- added property `warnings` to type `Variant`
16+
- added property `categories` to type `VariantProjection`
17+
- added property `categoryOrderHints` to type `VariantProjection`
18+
</details>
19+
20+
21+
<details>
22+
<summary>Added Enum(s)</summary>
23+
24+
- added enum `variant` to type `AttributeReferenceTypeId`
25+
- added enum `variant` to type `CustomFieldReferenceValue`
26+
</details>
27+
28+
29+
<details>
30+
<summary>Added Resource(s)</summary>
31+
32+
- added resource `/{projectKey}/mcp-servers`
33+
- added resource `/{projectKey}/variants/{ID}/images`
34+
- added resource `/{projectKey}/in-store/key={storeKey}/discount-codes`
35+
- added resource `/{projectKey}/in-store/key={storeKey}/discount-codes/key={key}`
36+
- added resource `/{projectKey}/in-store/key={storeKey}/discount-codes/{ID}`
37+
- added resource `/{projectKey}/mcp-servers/types`
38+
- added resource `/{projectKey}/mcp-servers/key={key}`
39+
- added resource `/{projectKey}/mcp-servers/{ID}`
40+
- added resource `/{projectKey}/mcp-servers/types/{mcpServerType}`
41+
</details>
42+
43+
344
<details>
445
<summary>Added Method(s)</summary>
546

@@ -23,19 +64,11 @@
2364
</details>
2465

2566

26-
<details>
27-
<summary>Added Property(s)</summary>
28-
29-
- added property `stores` to type `DiscountCode`
30-
- added property `warnings` to type `Variant`
31-
- added property `categories` to type `VariantProjection`
32-
- added property `categoryOrderHints` to type `VariantProjection`
33-
</details>
34-
35-
3667
<details>
3768
<summary>Added Type(s)</summary>
3869

70+
- added type `EstimatedDelivery`
71+
- added type `CartSetEstimatedDeliveryAction`
3972
- added type `UnauthorizedError`
4073
- added type `GraphQLUnauthorizedError`
4174
- added type `CommerceMcpServerConfig`
@@ -70,50 +103,64 @@
70103
- added type `McpServerSetToolCustomizationsAction`
71104
- added type `McpServerSetToolOutputFormattingAction`
72105
- added type `McpServerSetToolsAction`
106+
- added type `CartEstimatedDeliverySetMessage`
107+
- added type `OrderEstimatedDeliverySetMessage`
73108
- added type `ProductTailoringKeySetMessage`
109+
- added type `StoreCheckoutUrlTemplateSetMessage`
110+
- added type `StoreContactUrlSetMessage`
111+
- added type `StoreCookiePolicyUrlSetMessage`
112+
- added type `StoreFaqUrlSetMessage`
113+
- added type `StoreImprintUrlSetMessage`
114+
- added type `StoreOrderUrlTemplateSetMessage`
115+
- added type `StorePrivacyPolicyUrlSetMessage`
116+
- added type `StoreRefundPolicyUrlSetMessage`
117+
- added type `StoreShippingPolicyUrlSetMessage`
118+
- added type `StoreTermsOfServiceUrlSetMessage`
119+
- added type `CartEstimatedDeliverySetMessagePayload`
120+
- added type `OrderEstimatedDeliverySetMessagePayload`
74121
- added type `ProductTailoringKeySetMessagePayload`
122+
- added type `StoreCheckoutUrlTemplateSetMessagePayload`
123+
- added type `StoreContactUrlSetMessagePayload`
124+
- added type `StoreCookiePolicyUrlSetMessagePayload`
125+
- added type `StoreFaqUrlSetMessagePayload`
126+
- added type `StoreImprintUrlSetMessagePayload`
127+
- added type `StoreOrderUrlTemplateSetMessagePayload`
128+
- added type `StorePrivacyPolicyUrlSetMessagePayload`
129+
- added type `StoreRefundPolicyUrlSetMessagePayload`
130+
- added type `StoreShippingPolicyUrlSetMessagePayload`
131+
- added type `StoreTermsOfServiceUrlSetMessagePayload`
132+
- added type `OrderSetEstimatedDeliveryAction`
75133
- added type `ProductTailoringSetKeyAction`
134+
- added type `ShippingMethodSetCarrierAction`
135+
- added type `Storefront`
136+
- added type `StoreSetCheckoutUrlTemplateAction`
137+
- added type `StoreSetContactUrlAction`
138+
- added type `StoreSetCookiePolicyUrlAction`
139+
- added type `StoreSetFaqUrlAction`
140+
- added type `StoreSetImprintUrlAction`
141+
- added type `StoreSetOrderUrlTemplateAction`
142+
- added type `StoreSetPrivacyPolicyUrlAction`
143+
- added type `StoreSetRefundPolicyUrlAction`
144+
- added type `StoreSetShippingPolicyUrlAction`
145+
- added type `StoreSetTermsOfServiceUrlAction`
76146
- added type `VariantMoveImageToPositionAction`
77147
- added type `VariantSetImageLabelAction`
78148
</details>
79149

150+
**History changes**
80151

81152
<details>
82-
<summary>Added Enum(s)</summary>
83-
84-
- added enum `variant` to type `AttributeReferenceTypeId`
85-
- added enum `variant` to type `CustomFieldReferenceValue`
86-
</details>
87-
88-
89-
<details>
90-
<summary>Added Resource(s)</summary>
153+
<summary>Added QueryParameter(s)</summary>
91154

92-
- added resource `/{projectKey}/mcp-servers`
93-
- added resource `/{projectKey}/variants/{ID}/images`
94-
- added resource `/{projectKey}/in-store/key={storeKey}/discount-codes`
95-
- added resource `/{projectKey}/in-store/key={storeKey}/discount-codes/key={key}`
96-
- added resource `/{projectKey}/in-store/key={storeKey}/discount-codes/{ID}`
97-
- added resource `/{projectKey}/mcp-servers/types`
98-
- added resource `/{projectKey}/mcp-servers/key={key}`
99-
- added resource `/{projectKey}/mcp-servers/{ID}`
100-
- added resource `/{projectKey}/mcp-servers/types/{mcpServerType}`
155+
- added query parameter `withTotal` to method `get /{projectKey}`
156+
- added query parameter `withTotal` to method `get /{projectKey}/{resourceType}`
157+
- added query parameter `withTotal` to method `get /{projectKey}/{resourceType}/{ID}`
101158
</details>
102159

103-
**History changes**
104160

105161
<details>
106162
<summary>Required Property(s)</summary>
107163

108164
- changed property `total` of type `RecordPagedQueryResponse` to be optional
109165
</details>
110166

111-
112-
<details>
113-
<summary>Added QueryParameter(s)</summary>
114-
115-
- added query parameter `withTotal` to method `get /{projectKey}`
116-
- added query parameter `withTotal` to method `get /{projectKey}/{resourceType}`
117-
- added query parameter `withTotal` to method `get /{projectKey}/{resourceType}/{ID}`
118-
</details>
119-

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import tools.jackson.core.type.TypeReference;
2121

2222
/**
23-
* <p>Returns a <a href="https://docs.commercetools.com/apis/ctp:api:type:ReferenceExistsError" rel="nofollow">ReferenceExists</a> error if other resources reference the Channel to be deleted.</p>
23+
* <p>If the Channel is referenced by a resource, a <a href="https://docs.commercetools.com/apis/ctp:api:type:ReferenceExistsError" rel="nofollow">ReferenceExists</a> error is returned.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import tools.jackson.core.type.TypeReference;
2121

2222
/**
23-
* <p>Returns a <a href="https://docs.commercetools.com/apis/ctp:api:type:ReferenceExistsError" rel="nofollow">ReferenceExists</a> error if other resources reference the Channel to be deleted.</p>
23+
* <p>If the Channel is referenced by a resource, a <a href="https://docs.commercetools.com/apis/ctp:api:type:ReferenceExistsError" rel="nofollow">ReferenceExists</a> error is returned.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
import tools.jackson.core.type.TypeReference;
2121

2222
/**
23-
* <p>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> or <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</p>
23+
* <p>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> error is returned.</p>
24+
* <p>If a modification is already in progress for the combination of SKU and price scope fields (but potentially different validity period), a <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</p>
2425
*
2526
* <hr>
2627
* <div class=code-example>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
import tools.jackson.core.type.TypeReference;
2222

2323
/**
24-
* <p>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> or <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</p>
24+
* <p>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> error is returned.</p>
25+
* <p>If a modification is already in progress for the combination of SKU and price scope fields (but potentially different validity period), a <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</p>
2526
*
2627
* <hr>
2728
* <div class=code-example>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
import tools.jackson.core.type.TypeReference;
2121

2222
/**
23-
* <p>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> or <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</p>
23+
* <p>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> error is returned.</p>
24+
* <p>If a modification is already in progress for the combination of SKU and price scope fields (but potentially different validity period), a <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</p>
2425
*
2526
* <hr>
2627
* <div class=code-example>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
import tools.jackson.core.type.TypeReference;
2222

2323
/**
24-
* <p>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> or <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</p>
24+
* <p>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> error is returned.</p>
25+
* <p>If a modification is already in progress for the combination of SKU and price scope fields (but potentially different validity period), a <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</p>
2526
*
2627
* <hr>
2728
* <div class=code-example>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
* <ul>
2525
* <li>If the Standalone Price has the same price scope as an existing Standalone Price, a <a href="https://docs.commercetools.com/apis/ctp:api:type:DuplicateStandalonePriceScopeError" rel="nofollow">DuplicateStandalonePriceScope</a> error is returned.</li>
2626
* <li>If the Standalone Price has overlapping validity periods within the same price scope, a <a href="https://docs.commercetools.com/apis/ctp:api:type:OverlappingStandalonePriceValidityError" rel="nofollow">OverlappingStandalonePriceValidity</a> error is returned. A Price without validity period does not conflict with a Price defined for a time period.</li>
27-
* <li>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> or <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</li>
27+
* <li>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> error is returned.</li>
28+
* <li>If a modification is already in progress for the combination of SKU and price scope fields (but potentially different validity period), a <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</li>
2829
* </ul>
2930
*
3031
* <hr>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
* <ul>
2626
* <li>If the Standalone Price has the same price scope as an existing Standalone Price, a <a href="https://docs.commercetools.com/apis/ctp:api:type:DuplicateStandalonePriceScopeError" rel="nofollow">DuplicateStandalonePriceScope</a> error is returned.</li>
2727
* <li>If the Standalone Price has overlapping validity periods within the same price scope, a <a href="https://docs.commercetools.com/apis/ctp:api:type:OverlappingStandalonePriceValidityError" rel="nofollow">OverlappingStandalonePriceValidity</a> error is returned. A Price without validity period does not conflict with a Price defined for a time period.</li>
28-
* <li>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> or <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</li>
28+
* <li>If a modification is already in progress for the exact combination of SKU and price scope fields, an <a href="https://docs.commercetools.com/apis/ctp:api:type:ExactLockConflictError" rel="nofollow">ExactLockConflict</a> error is returned.</li>
29+
* <li>If a modification is already in progress for the combination of SKU and price scope fields (but potentially different validity period), a <a href="https://docs.commercetools.com/apis/ctp:api:type:ValidityLockConflictError" rel="nofollow">ValidityLockConflict</a> error is returned.</li>
2930
* </ul>
3031
*
3132
* <hr>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
import tools.jackson.core.type.TypeReference;
2121

2222
/**
23-
*
23+
* <p>If the Store is referenced by a resource, a <a href="https://docs.commercetools.com/apis/ctp:api:type:ReferenceExistsError" rel="nofollow">ReferenceExists</a> error is returned.</p>
24+
* <p>To avoid dependency conflicts, first delete all active and anonymous Carts that reference the Store, then delete all Orders.</p>
2425
*
2526
* <hr>
2627
* <div class=code-example>

0 commit comments

Comments
 (0)