@commercetools/checkout-sdk 1.0.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +239 -0
- package/dist/commercetools-checkout-sdk.browser.cjs.js +668 -3
- package/dist/commercetools-checkout-sdk.browser.esm.js +656 -4
- package/dist/commercetools-checkout-sdk.cjs.dev.js +668 -3
- package/dist/commercetools-checkout-sdk.cjs.prod.js +668 -3
- package/dist/commercetools-checkout-sdk.esm.js +656 -4
- package/dist/declarations/src/generated/client/applications/by-project-key-applications-by-id-request-builder.d.ts +64 -0
- package/dist/declarations/src/generated/client/applications/by-project-key-applications-by-id-request-builder.d.ts.map +1 -0
- package/dist/declarations/src/generated/client/applications/by-project-key-applications-key-by-key-request-builder.d.ts +67 -0
- package/dist/declarations/src/generated/client/applications/by-project-key-applications-key-by-key-request-builder.d.ts.map +1 -0
- package/dist/declarations/src/generated/client/applications/by-project-key-applications-request-builder.d.ts +61 -0
- package/dist/declarations/src/generated/client/applications/by-project-key-applications-request-builder.d.ts.map +1 -0
- package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts +4 -0
- package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts.map +1 -1
- package/dist/declarations/src/generated/client/payment-integrations/by-project-key-payment-integrations-by-id-request-builder.d.ts +64 -0
- package/dist/declarations/src/generated/client/payment-integrations/by-project-key-payment-integrations-by-id-request-builder.d.ts.map +1 -0
- package/dist/declarations/src/generated/client/payment-integrations/by-project-key-payment-integrations-key-by-key-request-builder.d.ts +66 -0
- package/dist/declarations/src/generated/client/payment-integrations/by-project-key-payment-integrations-key-by-key-request-builder.d.ts.map +1 -0
- package/dist/declarations/src/generated/client/payment-integrations/by-project-key-payment-integrations-request-builder.d.ts +64 -0
- package/dist/declarations/src/generated/client/payment-integrations/by-project-key-payment-integrations-request-builder.d.ts.map +1 -0
- package/dist/declarations/src/generated/index.d.ts +7 -0
- package/dist/declarations/src/generated/index.d.ts.map +1 -1
- package/dist/declarations/src/generated/models/application.d.ts +601 -3
- package/dist/declarations/src/generated/models/application.d.ts.map +1 -1
- package/dist/declarations/src/generated/models/common.d.ts +20 -5
- package/dist/declarations/src/generated/models/common.d.ts.map +1 -1
- package/dist/declarations/src/generated/models/error.d.ts +230 -4
- package/dist/declarations/src/generated/models/error.d.ts.map +1 -1
- package/dist/declarations/src/generated/models/payment-integration-draft.d.ts +76 -0
- package/dist/declarations/src/generated/models/payment-integration-draft.d.ts.map +1 -0
- package/dist/declarations/src/generated/models/payment-integration.d.ts +541 -3
- package/dist/declarations/src/generated/models/payment-integration.d.ts.map +1 -1
- package/dist/declarations/src/generated/models/responses.d.ts +1 -1
- package/dist/declarations/src/generated/models/responses.d.ts.map +1 -1
- package/dist/declarations/src/generated/models/transaction.d.ts +7 -7
- package/dist/declarations/src/generated/models/transaction.d.ts.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,244 @@
|
|
|
1
1
|
# @commercetools/checkout-sdk
|
|
2
2
|
|
|
3
|
+
## 1.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1173](https://github.com/commercetools/commercetools-sdk-typescript/pull/1173) [`5373452`](https://github.com/commercetools/commercetools-sdk-typescript/commit/537345234ffd3fa9a3cb9c6f5b152ccc675230e7) Thanks [@ct-sdks](https://github.com/apps/ct-sdks)! - **Checkout changes**
|
|
8
|
+
|
|
9
|
+
<details>
|
|
10
|
+
<summary>Added Type(s)</summary>
|
|
11
|
+
- added type `AllowedOrigins`
|
|
12
|
+
- added type `Application`
|
|
13
|
+
- added type `ApplicationAgreement`
|
|
14
|
+
- added type `ApplicationAgreementDraft`
|
|
15
|
+
- added type `ApplicationAgreementStatus`
|
|
16
|
+
- added type `ApplicationAgreementType`
|
|
17
|
+
- added type `ApplicationDraft`
|
|
18
|
+
- added type `ApplicationLogo`
|
|
19
|
+
- added type `ApplicationMode`
|
|
20
|
+
- added type `ApplicationStatus`
|
|
21
|
+
- added type `ApplicationUpdateAction`
|
|
22
|
+
- added type `ApplicationUpdateActions`
|
|
23
|
+
- added type `DiscountsConfiguration`
|
|
24
|
+
- added type `PaginatedApplication`
|
|
25
|
+
- added type `PaymentsConfiguration`
|
|
26
|
+
- added type `AddAllowedOriginUpdateAction`
|
|
27
|
+
- added type `AddApplicationAgreementUpdateAction`
|
|
28
|
+
- added type `AddCountryUpdateAction`
|
|
29
|
+
- added type `RemoveAllowedOriginUpdateAction`
|
|
30
|
+
- added type `RemoveApplicationAgreementUpdateAction`
|
|
31
|
+
- added type `RemoveCountryUpdateAction`
|
|
32
|
+
- added type `ReorderApplicationAgreementUpdateAction`
|
|
33
|
+
- added type `SetActivePaymentComponentTypeUpdateAction`
|
|
34
|
+
- added type `SetAllowAllOriginsUpdateAction`
|
|
35
|
+
- added type `SetAllowedOriginsUpdateAction`
|
|
36
|
+
- added type `SetApplicationAgreementNameUpdateAction`
|
|
37
|
+
- added type `SetApplicationAgreementStatusUpdateAction`
|
|
38
|
+
- added type `SetApplicationAgreementTextUpdateAction`
|
|
39
|
+
- added type `SetApplicationAgreementTypeUpdateAction`
|
|
40
|
+
- added type `SetApplicationAgreementsUpdateAction`
|
|
41
|
+
- added type `SetApplicationLogoUpdateAction`
|
|
42
|
+
- added type `SetApplicationNameUpdateAction`
|
|
43
|
+
- added type `SetApplicationStatusUpdateAction`
|
|
44
|
+
- added type `SetCountriesUpdateAction`
|
|
45
|
+
- added type `SetDescriptionUpdateAction`
|
|
46
|
+
- added type `SetDiscountsConfigurationUpdateAction`
|
|
47
|
+
- added type `SetPaymentReturnUrlUpdateAction`
|
|
48
|
+
- added type `SetPaymentsConfigurationUpdateAction`
|
|
49
|
+
- added type `CreatedBy`
|
|
50
|
+
- added type `LastModifiedBy`
|
|
51
|
+
- added type `LocalizedString`
|
|
52
|
+
- added type `LocalizedUrl`
|
|
53
|
+
- added type `ConcurrentModificationError`
|
|
54
|
+
- added type `DuplicateFieldWithConflictingResourceError`
|
|
55
|
+
- added type `ErrorResponse`
|
|
56
|
+
- added type `InvalidFieldError`
|
|
57
|
+
- added type `InvalidOperationError`
|
|
58
|
+
- added type `MaxResourceLimitExceededError`
|
|
59
|
+
- added type `MissingProjectKeyError`
|
|
60
|
+
- added type `ReferencedResourceNotFoundError`
|
|
61
|
+
- added type `ServiceUnavailableError`
|
|
62
|
+
- added type `SyntaxErrorError`
|
|
63
|
+
- added type `AutomatedReversalConfiguration`
|
|
64
|
+
- added type `ConnectorDeploymentReference`
|
|
65
|
+
- added type `DisplayInfo`
|
|
66
|
+
- added type `PaginatedPaymentIntegration`
|
|
67
|
+
- added type `PaymentComponentType`
|
|
68
|
+
- added type `PaymentIntegration`
|
|
69
|
+
- added type `PaymentIntegrationDraft`
|
|
70
|
+
- added type `PaymentIntegrationStatus`
|
|
71
|
+
- added type `PaymentIntegrationType`
|
|
72
|
+
- added type `SortingInfo`
|
|
73
|
+
- added type `PaymentIntegrationUpdateAction`
|
|
74
|
+
- added type `PaymentIntegrationUpdateActions`
|
|
75
|
+
- added type `SetAutomatedReversalConfigurationPredicateUpdateAction`
|
|
76
|
+
- added type `SetAutomatedReversalConfigurationStatusUpdateAction`
|
|
77
|
+
- added type `SetAutomatedReversalConfigurationUpdateAction`
|
|
78
|
+
- added type `SetConnectorDeploymentUpdateAction`
|
|
79
|
+
- added type `SetDisplayInfoDescriptionUpdateAction`
|
|
80
|
+
- added type `SetDisplayInfoLabelUpdateAction`
|
|
81
|
+
- added type `SetDisplayInfoLogoUrlUpdateAction`
|
|
82
|
+
- added type `SetDisplayInfoPayButtonTextUpdateAction`
|
|
83
|
+
- added type `SetDisplayInfoUpdateAction`
|
|
84
|
+
- added type `SetKeyUpdateAction`
|
|
85
|
+
- added type `SetNameUpdateAction`
|
|
86
|
+
- added type `SetPredicateUpdateAction`
|
|
87
|
+
- added type `SetSortingInfoUpdateAction`
|
|
88
|
+
- added type `SetStatusUpdateAction`
|
|
89
|
+
- added type `SetTypeUpdateAction`
|
|
90
|
+
</details>
|
|
91
|
+
|
|
92
|
+
<details>
|
|
93
|
+
<summary>Added Enum(s)</summary>
|
|
94
|
+
- added enum `deployment` to type `ReferenceTypeId`
|
|
95
|
+
</details>
|
|
96
|
+
|
|
97
|
+
<details>
|
|
98
|
+
<summary>Required Property(s)</summary>
|
|
99
|
+
- changed property `detailedErrorMessage` of type `InvalidJsonInputError` to be optional
|
|
100
|
+
</details>
|
|
101
|
+
|
|
102
|
+
<details>
|
|
103
|
+
<summary>Changed Property(s)</summary>
|
|
104
|
+
- :warning: changed property `application` of type `Transaction` from type `ApplicationResourceIdentifier` to `ApplicationReference`
|
|
105
|
+
</details>
|
|
106
|
+
|
|
107
|
+
<details>
|
|
108
|
+
<summary>Added Property(s)</summary>
|
|
109
|
+
- added property `resourceIdentifier` to type `ResourceNotFoundError`
|
|
110
|
+
- added property `resourceId` to type `ResourceNotFoundError`
|
|
111
|
+
</details>
|
|
112
|
+
|
|
113
|
+
<details>
|
|
114
|
+
<summary>Changed MethodResponseBody(s)</summary>
|
|
115
|
+
- :warning: changed response body for `400: application/json` of method `post /{projectKey}/transactions` from type `null` to `ErrorResponse`
|
|
116
|
+
- :warning: changed response body for `400: application/json` of method `post /{projectKey}/payment-intents/{paymentId}` from type `null` to `ErrorResponse`
|
|
117
|
+
- :warning: changed response body for `400: application/json` of method `get /{projectKey}/transactions/{id}` from type `null` to `ErrorResponse`
|
|
118
|
+
- :warning: changed response body for `400: application/json` of method `get /{projectKey}/transactions/key={key}` from type `null` to `ErrorResponse`
|
|
119
|
+
</details>
|
|
120
|
+
|
|
121
|
+
<details>
|
|
122
|
+
<summary>Added Method(s)</summary>
|
|
123
|
+
- added method `apiRoot.withProjectKey().paymentIntegrations().get()`
|
|
124
|
+
- added method `apiRoot.withProjectKey().paymentIntegrations().post()`
|
|
125
|
+
- added method `apiRoot.withProjectKey().applications().get()`
|
|
126
|
+
- added method `apiRoot.withProjectKey().applications().post()`
|
|
127
|
+
- added method `apiRoot.withProjectKey().paymentIntegrations().withId().get()`
|
|
128
|
+
- added method `apiRoot.withProjectKey().paymentIntegrations().withId().head()`
|
|
129
|
+
- added method `apiRoot.withProjectKey().paymentIntegrations().withId().post()`
|
|
130
|
+
- added method `apiRoot.withProjectKey().paymentIntegrations().withId().delete()`
|
|
131
|
+
- added method `apiRoot.withProjectKey().paymentIntegrations().withKey().get()`
|
|
132
|
+
- added method `apiRoot.withProjectKey().paymentIntegrations().withKey().post()`
|
|
133
|
+
- added method `apiRoot.withProjectKey().paymentIntegrations().withKey().head()`
|
|
134
|
+
- added method `apiRoot.withProjectKey().paymentIntegrations().withKey().delete()`
|
|
135
|
+
- added method `apiRoot.withProjectKey().applications().withId().get()`
|
|
136
|
+
- added method `apiRoot.withProjectKey().applications().withId().head()`
|
|
137
|
+
- added method `apiRoot.withProjectKey().applications().withId().post()`
|
|
138
|
+
- added method `apiRoot.withProjectKey().applications().withId().delete()`
|
|
139
|
+
- added method `apiRoot.withProjectKey().applications().withKey().get()`
|
|
140
|
+
- added method `apiRoot.withProjectKey().applications().withKey().post()`
|
|
141
|
+
- added method `apiRoot.withProjectKey().applications().withKey().head()`
|
|
142
|
+
- added method `apiRoot.withProjectKey().applications().withKey().delete()`
|
|
143
|
+
</details>
|
|
144
|
+
|
|
145
|
+
<details>
|
|
146
|
+
<summary>Added Resource(s)</summary>
|
|
147
|
+
- added resource `/{projectKey}/payment-integrations`
|
|
148
|
+
- added resource `/{projectKey}/applications`
|
|
149
|
+
- added resource `/{projectKey}/payment-integrations/{id}`
|
|
150
|
+
- added resource `/{projectKey}/payment-integrations/key={key}`
|
|
151
|
+
- added resource `/{projectKey}/applications/{id}`
|
|
152
|
+
- added resource `/{projectKey}/applications/key={key}`
|
|
153
|
+
</details>
|
|
154
|
+
|
|
155
|
+
- [#1209](https://github.com/commercetools/commercetools-sdk-typescript/pull/1209) [`77c6132`](https://github.com/commercetools/commercetools-sdk-typescript/commit/77c61328d222dbbbde3e79c63c2bb76df3f012a6) Thanks [@ajimae](https://github.com/ajimae)! - release all packages
|
|
156
|
+
|
|
157
|
+
### Patch Changes
|
|
158
|
+
|
|
159
|
+
- Updated dependencies [[`77c6132`](https://github.com/commercetools/commercetools-sdk-typescript/commit/77c61328d222dbbbde3e79c63c2bb76df3f012a6)]:
|
|
160
|
+
- @commercetools/ts-client@4.8.0
|
|
161
|
+
|
|
162
|
+
## 1.4.0
|
|
163
|
+
|
|
164
|
+
### Minor Changes
|
|
165
|
+
|
|
166
|
+
- [#1205](https://github.com/commercetools/commercetools-sdk-typescript/pull/1205) [`1ceb53b`](https://github.com/commercetools/commercetools-sdk-typescript/commit/1ceb53bf00457494ad061d7fe77a8d1b5a010d04) Thanks [@ajimae](https://github.com/ajimae)! - release packages
|
|
167
|
+
|
|
168
|
+
### Patch Changes
|
|
169
|
+
|
|
170
|
+
- [#1205](https://github.com/commercetools/commercetools-sdk-typescript/pull/1205) [`1ceb53b`](https://github.com/commercetools/commercetools-sdk-typescript/commit/1ceb53bf00457494ad061d7fe77a8d1b5a010d04) Thanks [@ajimae](https://github.com/ajimae)! - release packages
|
|
171
|
+
|
|
172
|
+
- [#1205](https://github.com/commercetools/commercetools-sdk-typescript/pull/1205) [`1ceb53b`](https://github.com/commercetools/commercetools-sdk-typescript/commit/1ceb53bf00457494ad061d7fe77a8d1b5a010d04) Thanks [@ajimae](https://github.com/ajimae)! - release changeset
|
|
173
|
+
|
|
174
|
+
- Updated dependencies [[`1ceb53b`](https://github.com/commercetools/commercetools-sdk-typescript/commit/1ceb53bf00457494ad061d7fe77a8d1b5a010d04), [`1ceb53b`](https://github.com/commercetools/commercetools-sdk-typescript/commit/1ceb53bf00457494ad061d7fe77a8d1b5a010d04), [`1ceb53b`](https://github.com/commercetools/commercetools-sdk-typescript/commit/1ceb53bf00457494ad061d7fe77a8d1b5a010d04)]:
|
|
175
|
+
- @commercetools/ts-client@4.7.0
|
|
176
|
+
|
|
177
|
+
## 1.3.0
|
|
178
|
+
|
|
179
|
+
### Minor Changes
|
|
180
|
+
|
|
181
|
+
- [#1203](https://github.com/commercetools/commercetools-sdk-typescript/pull/1203) [`e0b0fcc`](https://github.com/commercetools/commercetools-sdk-typescript/commit/e0b0fccaed4812c0ac47b0c8c4724e81174b0255) Thanks [@ajimae](https://github.com/ajimae)! - release packages
|
|
182
|
+
|
|
183
|
+
### Patch Changes
|
|
184
|
+
|
|
185
|
+
- [#1203](https://github.com/commercetools/commercetools-sdk-typescript/pull/1203) [`e0b0fcc`](https://github.com/commercetools/commercetools-sdk-typescript/commit/e0b0fccaed4812c0ac47b0c8c4724e81174b0255) Thanks [@ajimae](https://github.com/ajimae)! - release changeset
|
|
186
|
+
|
|
187
|
+
- Updated dependencies [[`e0b0fcc`](https://github.com/commercetools/commercetools-sdk-typescript/commit/e0b0fccaed4812c0ac47b0c8c4724e81174b0255), [`e0b0fcc`](https://github.com/commercetools/commercetools-sdk-typescript/commit/e0b0fccaed4812c0ac47b0c8c4724e81174b0255)]:
|
|
188
|
+
- @commercetools/ts-client@4.6.0
|
|
189
|
+
|
|
190
|
+
## 1.2.0
|
|
191
|
+
|
|
192
|
+
### Minor Changes
|
|
193
|
+
|
|
194
|
+
- [#1201](https://github.com/commercetools/commercetools-sdk-typescript/pull/1201) [`f7c3101`](https://github.com/commercetools/commercetools-sdk-typescript/commit/f7c31015ae0e18111c31fcdb3baee8e964bad99b) Thanks [@ajimae](https://github.com/ajimae)! - release packages
|
|
195
|
+
|
|
196
|
+
### Patch Changes
|
|
197
|
+
|
|
198
|
+
- Updated dependencies [[`f7c3101`](https://github.com/commercetools/commercetools-sdk-typescript/commit/f7c31015ae0e18111c31fcdb3baee8e964bad99b)]:
|
|
199
|
+
- @commercetools/ts-client@4.5.0
|
|
200
|
+
|
|
201
|
+
## 1.1.0
|
|
202
|
+
|
|
203
|
+
### Minor Changes
|
|
204
|
+
|
|
205
|
+
- [#1191](https://github.com/commercetools/commercetools-sdk-typescript/pull/1191) [`2898e78`](https://github.com/commercetools/commercetools-sdk-typescript/commit/2898e7831c731b611628e6516d99e19fa32d402e) Thanks [@ShipilA](https://github.com/ShipilA)! - **Api changes**
|
|
206
|
+
|
|
207
|
+
<details>
|
|
208
|
+
<summary>Required Property(s)</summary>
|
|
209
|
+
- changed property `variantSelection` of type `ProductSelectionProductAddedMessage` to be optional
|
|
210
|
+
- changed property `variantExclusion` of type `ProductSelectionProductExcludedMessage` to be optional
|
|
211
|
+
- changed property `oldVariantExclusion` of type `ProductSelectionVariantExclusionChangedMessage` to be optional
|
|
212
|
+
- changed property `newVariantExclusion` of type `ProductSelectionVariantExclusionChangedMessage` to be optional
|
|
213
|
+
- changed property `oldVariantSelection` of type `ProductSelectionVariantSelectionChangedMessage` to be optional
|
|
214
|
+
- changed property `newVariantSelection` of type `ProductSelectionVariantSelectionChangedMessage` to be optional
|
|
215
|
+
- changed property `variantSelection` of type `ProductSelectionProductAddedMessagePayload` to be optional
|
|
216
|
+
- changed property `variantExclusion` of type `ProductSelectionProductExcludedMessagePayload` to be optional
|
|
217
|
+
- changed property `oldVariantExclusion` of type `ProductSelectionVariantExclusionChangedMessagePayload` to be optional
|
|
218
|
+
- changed property `newVariantExclusion` of type `ProductSelectionVariantExclusionChangedMessagePayload` to be optional
|
|
219
|
+
- changed property `oldVariantSelection` of type `ProductSelectionVariantSelectionChangedMessagePayload` to be optional
|
|
220
|
+
- changed property `newVariantSelection` of type `ProductSelectionVariantSelectionChangedMessagePayload` to be optional
|
|
221
|
+
</details>
|
|
222
|
+
|
|
223
|
+
<details>
|
|
224
|
+
<summary>Added Property(s)</summary>
|
|
225
|
+
- added property `interfaceId` to type `MyTransactionDraft`
|
|
226
|
+
- added property `interfaceId` to type `Transaction`
|
|
227
|
+
- added property `interfaceId` to type `TransactionDraft`
|
|
228
|
+
</details>
|
|
229
|
+
|
|
230
|
+
<details>
|
|
231
|
+
<summary>Added Type(s)</summary>
|
|
232
|
+
- added type `PaymentTransactionInterfaceIdSetMessage`
|
|
233
|
+
- added type `PaymentTransactionInterfaceIdSetMessagePayload`
|
|
234
|
+
- added type `PaymentSetTransactionInterfaceIdAction`
|
|
235
|
+
</details>
|
|
236
|
+
|
|
237
|
+
### Patch Changes
|
|
238
|
+
|
|
239
|
+
- Updated dependencies [[`e2fb7fd`](https://github.com/commercetools/commercetools-sdk-typescript/commit/e2fb7fd778f849f2a1da7f5abf0643c699bb8968), [`2898e78`](https://github.com/commercetools/commercetools-sdk-typescript/commit/2898e7831c731b611628e6516d99e19fa32d402e)]:
|
|
240
|
+
- @commercetools/ts-client@4.4.0
|
|
241
|
+
|
|
3
242
|
## 1.0.0
|
|
4
243
|
|
|
5
244
|
### Major Changes
|