Skip to content

Commit e237566

Browse files
committed
build(codegen): updating SDK
1 parent 719b405 commit e237566

File tree

5 files changed

+960
-23
lines changed

5 files changed

+960
-23
lines changed

.changeset/changes_api.md

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
---
2+
'@commercetools/platform-sdk': minor
3+
---
4+
5+
**Api changes**
6+
7+
<details>
8+
<summary>Added Type(s)</summary>
9+
10+
- added type `BusinessUnitAddCustomerGroupAssignmentAction`
11+
- added type `BusinessUnitRemoveCustomerGroupAssignmentAction`
12+
- added type `BusinessUnitSetCustomerGroupAssignmentsAction`
13+
- added type `CartMergeMode`
14+
- added type `MergeCartDraft`
15+
- added type `AddressRole`
16+
- added type `RecurringOrderFailureError`
17+
- added type `GraphQLRecurringOrderFailureError`
18+
- added type `BusinessUnitCustomerGroupAssignmentAddedMessage`
19+
- added type `BusinessUnitCustomerGroupAssignmentRemovedMessage`
20+
- added type `BusinessUnitCustomerGroupAssignmentsSetMessage`
21+
- added type `CartFrozenMessage`
22+
- added type `CartUnfrozenMessage`
23+
- added type `CustomerBillingAddressAddedMessage`
24+
- added type `CustomerBillingAddressRemovedMessage`
25+
- added type `CustomerExternalIdSetMessage`
26+
- added type `CustomerShippingAddressAddedMessage`
27+
- added type `CustomerShippingAddressRemovedMessage`
28+
- added type `OrderPaymentRemovedMessage`
29+
- added type `RecurringOrderFailedMessage`
30+
- added type `BusinessUnitCustomerGroupAssignmentAddedMessagePayload`
31+
- added type `BusinessUnitCustomerGroupAssignmentRemovedMessagePayload`
32+
- added type `BusinessUnitCustomerGroupAssignmentsSetMessagePayload`
33+
- added type `CartFrozenMessagePayload`
34+
- added type `CartUnfrozenMessagePayload`
35+
- added type `CustomerBillingAddressAddedMessagePayload`
36+
- added type `CustomerBillingAddressRemovedMessagePayload`
37+
- added type `CustomerExternalIdSetMessagePayload`
38+
- added type `CustomerShippingAddressAddedMessagePayload`
39+
- added type `CustomerShippingAddressRemovedMessagePayload`
40+
- added type `OrderPaymentRemovedMessagePayload`
41+
- added type `RecurringOrderFailedMessagePayload`
42+
</details>
43+
44+
<details>
45+
<summary>MarkDeprecated Type(s)</summary>
46+
47+
- marked type `ProductSearchProjectionParams` as deprecated
48+
</details>
49+
50+
<details>
51+
<summary>Deprecated Type(s)</summary>
52+
53+
- type `ProductLegacySetSkuAction` is removed
54+
</details>
55+
56+
<details>
57+
<summary>Removed Type(s)</summary>
58+
59+
- :warning: removed type `MyCartSetCustomLineItemRecurrenceInfoAction`
60+
- :warning: removed type `MyCartSetLineItemRecurrenceInfoAction`
61+
</details>
62+
63+
<details>
64+
<summary>Added Enum(s)</summary>
65+
66+
- added enum `payment-method` to type `ResourceTypeId`
67+
- added enum `payment-method-info` to type `ResourceTypeId`
68+
</details>
69+
70+
<details>
71+
<summary>MarkDeprecated Property(s)</summary>
72+
73+
- marked property `ProductSearchRequest::productProjectionParameters` as deprecated
74+
- marked property `ProductSearchResult::productProjection` as deprecated
75+
</details>
76+
77+
<details>
78+
<summary>Required Property(s)</summary>
79+
80+
- :warning: changed property `shippingAddressIds` of type `BusinessUnit` to be required
81+
- :warning: changed property `billingAddressIds` of type `BusinessUnit` to be required
82+
- :warning: changed property `shippingAddressIds` of type `Company` to be required
83+
- :warning: changed property `billingAddressIds` of type `Company` to be required
84+
- :warning: changed property `shippingAddressIds` of type `Division` to be required
85+
- :warning: changed property `billingAddressIds` of type `Division` to be required
86+
- :warning: changed property `shippingAddressIds` of type `Customer` to be required
87+
- :warning: changed property `billingAddressIds` of type `Customer` to be required
88+
- :warning: changed property `customerGroupAssignments` of type `Customer` to be required
89+
- :warning: changed property `customerGroupAssignments` of type `CustomerGroupAssignmentsSetMessage` to be required
90+
- :warning: changed property `customerGroupAssignments` of type `CustomerGroupAssignmentsSetMessagePayload` to be required
91+
</details>
92+
93+
<details>
94+
<summary>Removed Property(s)</summary>
95+
96+
- :warning: removed property `payment` from type `OrderPaymentAddedMessage`
97+
- :warning: removed property `order` from type `RecurringOrderCreatedMessage`
98+
- :warning: removed property `payment` from type `OrderPaymentAddedMessagePayload`
99+
- :warning: removed property `order` from type `RecurringOrderCreatedMessagePayload`
100+
- :warning: removed property `tierMinimumQuantity` from type `StandalonePriceRemovePriceTierAction`
101+
</details>
102+
103+
<details>
104+
<summary>Added Property(s)</summary>
105+
106+
- added property `customerGroupAssignments` to type `BusinessUnit`
107+
- added property `customerGroupAssignments` to type `BusinessUnitDraft`
108+
- added property `customerGroupAssignments` to type `Company`
109+
- added property `customerGroupAssignments` to type `CompanyDraft`
110+
- added property `customerGroupAssignments` to type `Division`
111+
- added property `customerGroupAssignments` to type `DivisionDraft`
112+
- added property `addressRoles` to type `BusinessUnitAddressChangedMessage`
113+
- added property `addressRoles` to type `BusinessUnitAddressRemovedMessage`
114+
- added property `addressRoles` to type `CustomerAddressChangedMessage`
115+
- added property `addressRoles` to type `CustomerAddressRemovedMessage`
116+
- added property `email` to type `CustomerDeletedMessage`
117+
- added property `oldEmail` to type `CustomerEmailChangedMessage`
118+
- added property `oldCustomerGroupAssignments` to type `CustomerGroupAssignmentsSetMessage`
119+
- added property `sku` to type `InventoryEntryQuantitySetMessage`
120+
- added property `paymentRef` to type `OrderPaymentAddedMessage`
121+
- added property `recurringOrder` to type `RecurringOrderCreatedMessage`
122+
- added property `addressRoles` to type `BusinessUnitAddressChangedMessagePayload`
123+
- added property `addressRoles` to type `BusinessUnitAddressRemovedMessagePayload`
124+
- added property `addressRoles` to type `CustomerAddressChangedMessagePayload`
125+
- added property `addressRoles` to type `CustomerAddressRemovedMessagePayload`
126+
- added property `email` to type `CustomerDeletedMessagePayload`
127+
- added property `oldEmail` to type `CustomerEmailChangedMessagePayload`
128+
- added property `oldCustomerGroupAssignments` to type `CustomerGroupAssignmentsSetMessagePayload`
129+
- added property `sku` to type `InventoryEntryQuantitySetMessagePayload`
130+
- added property `paymentRef` to type `OrderPaymentAddedMessagePayload`
131+
- added property `recurringOrder` to type `RecurringOrderCreatedMessagePayload`
132+
- added property `minimumQuantity` to type `StandalonePriceRemovePriceTierAction`
133+
</details>
134+
135+
<details>
136+
<summary>Added Method(s)</summary>
137+
138+
- added method `apiRoot.withProjectKey().carts().customerIdWithCustomerIdValueMerge().post()`
139+
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().carts().customerIdWithCustomerIdValueMerge().post()`
140+
</details>
141+
142+
<details>
143+
<summary>Added Resource(s)</summary>
144+
145+
- added resource `/{projectKey}/carts/customer-id={customerId}/merge`
146+
- added resource `/{projectKey}/in-store/key={storeKey}/carts/customer-id={customerId}/merge`
147+
</details>

.changeset/changes_checkout.md

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
---
2+
'@commercetools/checkout-sdk': minor
3+
---
4+
5+
**Checkout changes**
6+
7+
<details>
8+
<summary>Added Type(s)</summary>
9+
10+
- added type `AllowedOrigins`
11+
- added type `Application`
12+
- added type `ApplicationAgreement`
13+
- added type `ApplicationAgreementDraft`
14+
- added type `ApplicationAgreementStatus`
15+
- added type `ApplicationAgreementType`
16+
- added type `ApplicationDraft`
17+
- added type `ApplicationLogo`
18+
- added type `ApplicationMode`
19+
- added type `ApplicationStatus`
20+
- added type `ApplicationUpdateAction`
21+
- added type `ApplicationUpdateActions`
22+
- added type `DiscountsConfiguration`
23+
- added type `PaginatedApplication`
24+
- added type `PaymentsConfiguration`
25+
- added type `AddAllowedOriginUpdateAction`
26+
- added type `AddApplicationAgreementUpdateAction`
27+
- added type `AddCountryUpdateAction`
28+
- added type `RemoveAllowedOriginUpdateAction`
29+
- added type `RemoveApplicationAgreementUpdateAction`
30+
- added type `RemoveCountryUpdateAction`
31+
- added type `ReorderApplicationAgreementUpdateAction`
32+
- added type `SetActivePaymentComponentTypeUpdateAction`
33+
- added type `SetAllowAllOriginsUpdateAction`
34+
- added type `SetAllowedOriginsUpdateAction`
35+
- added type `SetApplicationAgreementNameUpdateAction`
36+
- added type `SetApplicationAgreementStatusUpdateAction`
37+
- added type `SetApplicationAgreementTextUpdateAction`
38+
- added type `SetApplicationAgreementTypeUpdateAction`
39+
- added type `SetApplicationAgreementsUpdateAction`
40+
- added type `SetApplicationLogoUpdateAction`
41+
- added type `SetApplicationNameUpdateAction`
42+
- added type `SetApplicationStatusUpdateAction`
43+
- added type `SetCountriesUpdateAction`
44+
- added type `SetDescriptionUpdateAction`
45+
- added type `SetDiscountsConfigurationUpdateAction`
46+
- added type `SetPaymentReturnUrlUpdateAction`
47+
- added type `SetPaymentsConfigurationUpdateAction`
48+
- added type `CreatedBy`
49+
- added type `LastModifiedBy`
50+
- added type `LocalizedString`
51+
- added type `LocalizedUrl`
52+
- added type `ConcurrentModificationError`
53+
- added type `DuplicateFieldWithConflictingResourceError`
54+
- added type `ErrorResponse`
55+
- added type `InvalidFieldError`
56+
- added type `InvalidOperationError`
57+
- added type `MaxResourceLimitExceededError`
58+
- added type `MissingProjectKeyError`
59+
- added type `ReferencedResourceNotFoundError`
60+
- added type `ServiceUnavailableError`
61+
- added type `SyntaxErrorError`
62+
- added type `AutomatedReversalConfiguration`
63+
- added type `ConnectorDeploymentReference`
64+
- added type `DisplayInfo`
65+
- added type `PaginatedPaymentIntegration`
66+
- added type `PaymentComponentType`
67+
- added type `PaymentIntegration`
68+
- added type `PaymentIntegrationDraft`
69+
- added type `PaymentIntegrationStatus`
70+
- added type `PaymentIntegrationType`
71+
- added type `SortingInfo`
72+
- added type `PaymentIntegrationUpdateAction`
73+
- added type `PaymentIntegrationUpdateActions`
74+
- added type `SetAutomatedReversalConfigurationPredicateUpdateAction`
75+
- added type `SetAutomatedReversalConfigurationStatusUpdateAction`
76+
- added type `SetAutomatedReversalConfigurationUpdateAction`
77+
- added type `SetConnectorDeploymentUpdateAction`
78+
- added type `SetDisplayInfoDescriptionUpdateAction`
79+
- added type `SetDisplayInfoLabelUpdateAction`
80+
- added type `SetDisplayInfoLogoUrlUpdateAction`
81+
- added type `SetDisplayInfoPayButtonTextUpdateAction`
82+
- added type `SetDisplayInfoUpdateAction`
83+
- added type `SetKeyUpdateAction`
84+
- added type `SetNameUpdateAction`
85+
- added type `SetPredicateUpdateAction`
86+
- added type `SetSortingInfoUpdateAction`
87+
- added type `SetStatusUpdateAction`
88+
- added type `SetTypeUpdateAction`
89+
</details>
90+
91+
<details>
92+
<summary>Added Enum(s)</summary>
93+
94+
- added enum `deployment` to type `ReferenceTypeId`
95+
</details>
96+
97+
<details>
98+
<summary>Required Property(s)</summary>
99+
100+
- changed property `detailedErrorMessage` of type `InvalidJsonInputError` to be optional
101+
</details>
102+
103+
<details>
104+
<summary>Changed Property(s)</summary>
105+
106+
- :warning: changed property `application` of type `Transaction` from type `ApplicationResourceIdentifier` to `ApplicationReference`
107+
</details>
108+
109+
<details>
110+
<summary>Added Property(s)</summary>
111+
112+
- added property `resourceIdentifier` to type `ResourceNotFoundError`
113+
- added property `resourceId` to type `ResourceNotFoundError`
114+
</details>
115+
116+
<details>
117+
<summary>Changed MethodResponseBody(s)</summary>
118+
119+
- :warning: changed response body for `400: application/json` of method `post /{projectKey}/transactions` from type `null` to `ErrorResponse`
120+
- :warning: changed response body for `400: application/json` of method `post /{projectKey}/payment-intents/{paymentId}` from type `null` to `ErrorResponse`
121+
- :warning: changed response body for `400: application/json` of method `get /{projectKey}/transactions/{id}` from type `null` to `ErrorResponse`
122+
- :warning: changed response body for `400: application/json` of method `get /{projectKey}/transactions/key={key}` from type `null` to `ErrorResponse`
123+
</details>
124+
125+
<details>
126+
<summary>Added Method(s)</summary>
127+
128+
- added method `apiRoot.withProjectKey().paymentIntegrations().get()`
129+
- added method `apiRoot.withProjectKey().paymentIntegrations().post()`
130+
- added method `apiRoot.withProjectKey().applications().get()`
131+
- added method `apiRoot.withProjectKey().applications().post()`
132+
- added method `apiRoot.withProjectKey().paymentIntegrations().withId().get()`
133+
- added method `apiRoot.withProjectKey().paymentIntegrations().withId().head()`
134+
- added method `apiRoot.withProjectKey().paymentIntegrations().withId().post()`
135+
- added method `apiRoot.withProjectKey().paymentIntegrations().withId().delete()`
136+
- added method `apiRoot.withProjectKey().paymentIntegrations().withKey().get()`
137+
- added method `apiRoot.withProjectKey().paymentIntegrations().withKey().post()`
138+
- added method `apiRoot.withProjectKey().paymentIntegrations().withKey().head()`
139+
- added method `apiRoot.withProjectKey().paymentIntegrations().withKey().delete()`
140+
- added method `apiRoot.withProjectKey().applications().withId().get()`
141+
- added method `apiRoot.withProjectKey().applications().withId().head()`
142+
- added method `apiRoot.withProjectKey().applications().withId().post()`
143+
- added method `apiRoot.withProjectKey().applications().withId().delete()`
144+
- added method `apiRoot.withProjectKey().applications().withKey().get()`
145+
- added method `apiRoot.withProjectKey().applications().withKey().post()`
146+
- added method `apiRoot.withProjectKey().applications().withKey().head()`
147+
- added method `apiRoot.withProjectKey().applications().withKey().delete()`
148+
</details>
149+
150+
<details>
151+
<summary>Added Resource(s)</summary>
152+
153+
- added resource `/{projectKey}/payment-integrations`
154+
- added resource `/{projectKey}/applications`
155+
- added resource `/{projectKey}/payment-integrations/{id}`
156+
- added resource `/{projectKey}/payment-integrations/key={key}`
157+
- added resource `/{projectKey}/applications/{id}`
158+
- added resource `/{projectKey}/applications/key={key}`
159+
</details>

0 commit comments

Comments
 (0)