@commercetools/importapi-sdk 4.0.0 → 4.2.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 +225 -0
- package/dist/commercetools-importapi-sdk.browser.cjs.js +199 -230
- package/dist/commercetools-importapi-sdk.browser.esm.js +199 -230
- package/dist/commercetools-importapi-sdk.cjs.dev.js +199 -230
- package/dist/commercetools-importapi-sdk.cjs.prod.js +199 -230
- package/dist/commercetools-importapi-sdk.esm.js +199 -230
- package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-standalone-prices-import-containers-by-import-container-key-request-builder.d.ts +37 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-standalone-prices-import-containers-request-builder.d.ts +28 -0
- package/dist/declarations/src/generated/client/standalone-prices/by-project-key-standalone-prices-request-builder.d.ts +26 -0
- package/dist/declarations/src/generated/index.d.ts +1 -0
- package/dist/declarations/src/generated/models/common.d.ts +19 -7
- package/dist/declarations/src/generated/models/customfields.d.ts +1 -1
- package/dist/declarations/src/generated/models/errors.d.ts +1 -1
- package/dist/declarations/src/generated/models/importoperations.d.ts +1 -1
- package/dist/declarations/src/generated/models/importrequests.d.ts +16 -2
- package/dist/declarations/src/generated/models/order-patches.d.ts +1 -1
- package/dist/declarations/src/generated/models/orders.d.ts +21 -20
- package/dist/declarations/src/generated/models/prices.d.ts +14 -8
- package/dist/declarations/src/generated/models/productdrafts.d.ts +2 -0
- package/dist/declarations/src/generated/models/products.d.ts +1 -1
- package/dist/declarations/src/generated/models/producttypes.d.ts +3 -3
- package/dist/declarations/src/generated/models/productvariants.d.ts +5 -2
- package/dist/declarations/src/generated/models/standalone-prices.d.ts +76 -0
- package/dist/declarations/src/generated/shared/utils/common-types.d.ts +5 -5
- package/dist/declarations/src/generated/shared/utils/middleware.d.ts +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,230 @@
|
|
|
1
1
|
# @commercetools/importapi-sdk
|
|
2
2
|
|
|
3
|
+
## 4.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#411](https://github.com/commercetools/commercetools-sdk-typescript/pull/411) [`393f1f9`](https://github.com/commercetools/commercetools-sdk-typescript/commit/393f1f95359890673eb947682c76ab3ca9a290f0) Thanks [@github-actions](https://github.com/apps/github-actions)! - Update generated SDKs
|
|
8
|
+
|
|
9
|
+
## Changes
|
|
10
|
+
|
|
11
|
+
- added property `defaultShippingAddressId` to type `BusinessUnit`
|
|
12
|
+
- added property `defaultShippingAddress` to type `BusinessUnitDraft`
|
|
13
|
+
- added property `defaultShippingAddressId` to type `Company`
|
|
14
|
+
- added property `defaultShippingAddress` to type `CompanyDraft`
|
|
15
|
+
- added property `defaultShippingAddressId` to type `Division`
|
|
16
|
+
- added property `defaultShippingAddress` to type `DivisionDraft`
|
|
17
|
+
- added property `conflictingPrice` to type `DuplicatePriceScopeError`
|
|
18
|
+
- added property `defaultShippingAddress` to type `MyBusinessUnitDraft`
|
|
19
|
+
- added property `defaultShippingAddress` to type `MyCompanyDraft`
|
|
20
|
+
- added property `defaultShippingAddress` to type `MyDivisionDraft`
|
|
21
|
+
- added property `cartId` to type `MyQuoteRequestDraft`
|
|
22
|
+
- added property `cartVersion` to type `MyQuoteRequestDraft`
|
|
23
|
+
- added property `createdAt` to type `AssignedProductSelection`
|
|
24
|
+
- added property `quoteState` to type `Quote`
|
|
25
|
+
</details>
|
|
26
|
+
|
|
27
|
+
<details>
|
|
28
|
+
<summary>Required Property(s)</summary>
|
|
29
|
+
|
|
30
|
+
- changed property `discounted` of type `StagedStandalonePrice` to be optional
|
|
31
|
+
</details>
|
|
32
|
+
|
|
33
|
+
<details>
|
|
34
|
+
<summary>Removed Property(s)</summary>
|
|
35
|
+
|
|
36
|
+
- :warning: removed property `defaultShipingAddressId` from type `BusinessUnit`
|
|
37
|
+
- :warning: removed property `defaultShipingAddress` from type `BusinessUnitDraft`
|
|
38
|
+
- :warning: removed property `defaultShipingAddressId` from type `Company`
|
|
39
|
+
- :warning: removed property `defaultShipingAddress` from type `CompanyDraft`
|
|
40
|
+
- :warning: removed property `defaultShipingAddressId` from type `Division`
|
|
41
|
+
- :warning: removed property `defaultShipingAddress` from type `DivisionDraft`
|
|
42
|
+
- :warning: removed property `conflictingPrices` from type `DuplicatePriceScopeError`
|
|
43
|
+
- :warning: removed property `defaultShipingAddress` from type `MyBusinessUnitDraft`
|
|
44
|
+
- :warning: removed property `defaultShipingAddress` from type `MyCompanyDraft`
|
|
45
|
+
- :warning: removed property `defaultShipingAddress` from type `MyDivisionDraft`
|
|
46
|
+
- :warning: removed property `cart` from type `MyQuoteRequestDraft`
|
|
47
|
+
- :warning: removed property `version` from type `MyQuoteRequestDraft`
|
|
48
|
+
</details>
|
|
49
|
+
|
|
50
|
+
<details>
|
|
51
|
+
<summary>Removed Type(s)</summary>
|
|
52
|
+
|
|
53
|
+
- :warning: removed type `ProductPriceSetMessage`
|
|
54
|
+
- :warning: removed type `ProductPriceSetMessagePayload`
|
|
55
|
+
</details>
|
|
56
|
+
|
|
57
|
+
<details>
|
|
58
|
+
<summary>Deprecated Type(s)</summary>
|
|
59
|
+
|
|
60
|
+
- type `IronMqDestination` is removed
|
|
61
|
+
</details>
|
|
62
|
+
|
|
63
|
+
<details>
|
|
64
|
+
<summary>Added Type(s)</summary>
|
|
65
|
+
|
|
66
|
+
- added type `CartFreezeCartAction`
|
|
67
|
+
- added type `CartUnfreezeCartAction`
|
|
68
|
+
- added type `DuplicatePriceKeyError`
|
|
69
|
+
- added type `ProductPriceKeySetMessage`
|
|
70
|
+
- added type `ProductPricesSetMessage`
|
|
71
|
+
- added type `StandalonePriceKeySetMessage`
|
|
72
|
+
- added type `ProductPriceKeySetMessagePayload`
|
|
73
|
+
- added type `ProductPricesSetMessagePayload`
|
|
74
|
+
- added type `StandalonePriceKeySetMessagePayload`
|
|
75
|
+
- added type `ProductSetPriceKeyAction`
|
|
76
|
+
- added type `StandalonePriceSetKeyAction`
|
|
77
|
+
</details>
|
|
78
|
+
|
|
79
|
+
<details>
|
|
80
|
+
<summary>Added Resource(s)</summary>
|
|
81
|
+
|
|
82
|
+
- added resource `/{projectKey}/shipping-methods/matching-cart-location`
|
|
83
|
+
</details>
|
|
84
|
+
|
|
85
|
+
<details>
|
|
86
|
+
<summary>Added Method(s)</summary>
|
|
87
|
+
|
|
88
|
+
- added method `apiRoot.withProjectKey().shippingMethods().matchingCartLocation().get()`
|
|
89
|
+
</details>
|
|
90
|
+
|
|
91
|
+
<details>
|
|
92
|
+
<summary>Added Enum(s)</summary>
|
|
93
|
+
|
|
94
|
+
- added enum `Frozen` to type `CartState`
|
|
95
|
+
</details>
|
|
96
|
+
|
|
97
|
+
**ML changes**
|
|
98
|
+
|
|
99
|
+
<details>
|
|
100
|
+
<summary>Deprecated Property(s)</summary>
|
|
101
|
+
|
|
102
|
+
- property `MissingAttributes::attributeCount` is removed
|
|
103
|
+
- property `MissingAttributes::attributeCoverage` is removed
|
|
104
|
+
- property `MissingAttributesMeta::productLevel` is removed
|
|
105
|
+
- property `MissingAttributesMeta::variantLevel` is removed
|
|
106
|
+
- property `MissingAttributesPagedQueryResult::meta` is removed
|
|
107
|
+
- property `MissingDataTaskStatus::result` is removed
|
|
108
|
+
- property `MissingImagesMeta::productLevel` is removed
|
|
109
|
+
- property `MissingImagesMeta::variantLevel` is removed
|
|
110
|
+
- property `MissingImagesPagedQueryResult::meta` is removed
|
|
111
|
+
- property `MissingImagesTaskStatus::result` is removed
|
|
112
|
+
- property `MissingPricesMeta::productLevel` is removed
|
|
113
|
+
- property `MissingPricesMeta::variantLevel` is removed
|
|
114
|
+
- property `MissingPricesPagedQueryResult::meta` is removed
|
|
115
|
+
- property `MissingPricesTaskStatus::result` is removed
|
|
116
|
+
</details>
|
|
117
|
+
|
|
118
|
+
<details>
|
|
119
|
+
<summary>Deprecated Type(s)</summary>
|
|
120
|
+
|
|
121
|
+
- type `AttributeCount` is removed
|
|
122
|
+
- type `AttributeCoverage` is removed
|
|
123
|
+
- type `MissingAttributesDetails` is removed
|
|
124
|
+
- type `MissingAttributes` is removed
|
|
125
|
+
- type `MissingAttributesMeta` is removed
|
|
126
|
+
- type `MissingAttributesSearchRequest` is removed
|
|
127
|
+
- type `MissingAttributesPagedQueryResult` is removed
|
|
128
|
+
- type `MissingDataTaskStatus` is removed
|
|
129
|
+
- type `MissingImages` is removed
|
|
130
|
+
- type `MissingImagesCount` is removed
|
|
131
|
+
- type `MissingImagesProductLevel` is removed
|
|
132
|
+
- type `MissingImagesVariantLevel` is removed
|
|
133
|
+
- type `MissingImagesMeta` is removed
|
|
134
|
+
- type `MissingImagesSearchRequest` is removed
|
|
135
|
+
- type `MissingImagesPagedQueryResult` is removed
|
|
136
|
+
- type `MissingImagesTaskStatus` is removed
|
|
137
|
+
- type `MissingPrices` is removed
|
|
138
|
+
- type `MissingPricesProductCount` is removed
|
|
139
|
+
- type `MissingPricesProductLevel` is removed
|
|
140
|
+
- type `MissingPricesVariantLevel` is removed
|
|
141
|
+
- type `MissingPricesMeta` is removed
|
|
142
|
+
- type `MissingPricesSearchRequest` is removed
|
|
143
|
+
- type `MissingPricesPagedQueryResult` is removed
|
|
144
|
+
- type `MissingPricesTaskStatus` is removed
|
|
145
|
+
</details>
|
|
146
|
+
|
|
147
|
+
<details>
|
|
148
|
+
<summary>Deprecated Resource(s)</summary>
|
|
149
|
+
|
|
150
|
+
- resource `/{projectKey}/missing-data` is removed
|
|
151
|
+
- resource `/{projectKey}/missing-data/attributes` is removed
|
|
152
|
+
- resource `/{projectKey}/missing-data/images` is removed
|
|
153
|
+
- resource `/{projectKey}/missing-data/prices` is removed
|
|
154
|
+
- resource `/{projectKey}/missing-data/attributes/status` is removed
|
|
155
|
+
- resource `/{projectKey}/missing-data/attributes/status/{taskId}` is removed
|
|
156
|
+
- resource `/{projectKey}/missing-data/images/status` is removed
|
|
157
|
+
- resource `/{projectKey}/missing-data/images/status/{taskId}` is removed
|
|
158
|
+
- resource `/{projectKey}/missing-data/prices/status` is removed
|
|
159
|
+
- resource `/{projectKey}/missing-data/prices/status/{taskId}` is removed
|
|
160
|
+
</details>
|
|
161
|
+
|
|
162
|
+
<details>
|
|
163
|
+
<summary>Deprecated Method(s)</summary>
|
|
164
|
+
|
|
165
|
+
- method `post /{projectKey}/missing-data/attributes` is removed
|
|
166
|
+
- method `post /{projectKey}/missing-data/images` is removed
|
|
167
|
+
- method `post /{projectKey}/missing-data/prices` is removed
|
|
168
|
+
- method `get /{projectKey}/missing-data/attributes/status/{taskId}` is removed
|
|
169
|
+
- method `get /{projectKey}/missing-data/images/status/{taskId}` is removed
|
|
170
|
+
- method `get /{projectKey}/missing-data/prices/status/{taskId}` is removed
|
|
171
|
+
|
|
172
|
+
### Patch Changes
|
|
173
|
+
|
|
174
|
+
- Updated dependencies [[`caca661`](https://github.com/commercetools/commercetools-sdk-typescript/commit/caca661ff4c91cf256b6ee406135a45478b7ae47)]:
|
|
175
|
+
- @commercetools/sdk-client-v2@2.1.2
|
|
176
|
+
|
|
177
|
+
## 4.1.0
|
|
178
|
+
|
|
179
|
+
### Minor Changes
|
|
180
|
+
|
|
181
|
+
- [#351](https://github.com/commercetools/commercetools-sdk-typescript/pull/351) [`9c93a8e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/9c93a8e92b4d523d6661567f7571f115a527b039) Thanks [@ajimae](https://github.com/ajimae)! - Update packages
|
|
182
|
+
|
|
183
|
+
Update the `history-sdk` `DateStringFilter`, `ChangeHistoryResourceType`, `Source` and `PlatformInitiatedChange` etc. models to include a `string` type
|
|
184
|
+
|
|
185
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-cc2fe178ca6b6be224a1703faedb4addb5aeaba6e8fed5c5fb8aa83e6b89c15c)
|
|
186
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-d209024497a25bf47b1328575261874e3b3838708b200c576e9136881d7c2fc5)
|
|
187
|
+
|
|
188
|
+
Add builder class and method for [`standalone-prices`](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-6c227c775a135e83a3177890fb075a57a36aca5e54585ddd12800e2fc8c868d0) for `importapi-sdk`
|
|
189
|
+
|
|
190
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-4194831274c991aa860b804aa0e4ef37607f3648ce4b5bd1fa485fb368563414)
|
|
191
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-cf4d4d593249abe6c99086f76491a0bd251573cde0f78291d38c12db533955e9)
|
|
192
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-9b983bcf9b8f15645d6c0c5395b43046a37915b6269f8f1f0d113c625661b61e)
|
|
193
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-cab14530d8df4ee940fea751e4e5afa1b36a94b92ee1360e641f46696fc3f21b)
|
|
194
|
+
|
|
195
|
+
Update the `importapi-sdk` `MoneyType`, `ReferenceType`, `ProcessingState`, `ImportOperationState` `ProductPriceModeEnum` etc models to include a `string` type
|
|
196
|
+
|
|
197
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-4a12dd49a3bd4416087368cf7d2adad860849ada79c1744ae27ddae67c299c43)
|
|
198
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-098b1027a5d008b85d503e4fbfd1a7ae1c47a138e1d8fb82c7ac9ee1ea94de3f)
|
|
199
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-66168b247234ab499100b349ea788dfc0bad6c5275d5cf7541088083cd4ad47f)
|
|
200
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-ac6b2ee896a8ab4c39857df35774f59713a50c547a6e7cecfe6924547381cd96)
|
|
201
|
+
|
|
202
|
+
Add class and builder methods for
|
|
203
|
+
`ByProjectKeyBusinessUnitsByIDRequestBuilder`,
|
|
204
|
+
`ByProjectKeyBusinessUnitsRequestBuilder`,
|
|
205
|
+
`ByProjectKeyMeBusinessUnitsKeyByKeyRequestBuilder`,
|
|
206
|
+
`ByProjectKeyMeBusinessUnitsRequestBuilder`,
|
|
207
|
+
`ByProjectKeyBusinessUnitsKeyByKeyRequestBuilder`
|
|
208
|
+
`ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersRequestBuilder`,
|
|
209
|
+
`ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeRequestBuilder`,
|
|
210
|
+
`ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyRequestBuilder`
|
|
211
|
+
in the `platform-sdk`
|
|
212
|
+
|
|
213
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-cb753c87b292658be2da42c7548c3ffcad89550d99d5a433bae77b06b1e8dde8)
|
|
214
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-61da76483d06d79e65e755f43ce8f1c8b06b62af3dd310cdeac4cac8583c9457)
|
|
215
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-427e08314427fc8efa3e4466403eb7ad961482b0ebbfd71a65ad513b1e62d93c)
|
|
216
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-f7e56705a0ede866385bed01616ec49604dc9921092e9c8ad8c3dc435c7f7706)
|
|
217
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-8104137d8ff7613e73e02d11a26f3086884e2b135467f8c2d56b25e9719781c3)
|
|
218
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-d2d796eb7f7a440dba06bc3f71f12fb9ffbfbd0ba86161a7b77eab7a62d89fb4)
|
|
219
|
+
[Diff](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files#diff-c008d9ee3cd715df487ab0ebb7ce332cf31804ac533a2598e6808bf73f057b9e)
|
|
220
|
+
|
|
221
|
+
Complete changes can be found [here](https://github.com/commercetools/commercetools-sdk-typescript/pull/346/files)
|
|
222
|
+
|
|
223
|
+
### Patch Changes
|
|
224
|
+
|
|
225
|
+
- Updated dependencies [[`f0e84dd`](https://github.com/commercetools/commercetools-sdk-typescript/commit/f0e84ddb2e34b908385a380175c6da596db6817a)]:
|
|
226
|
+
- @commercetools/sdk-client-v2@2.0.1
|
|
227
|
+
|
|
3
228
|
## 4.0.0
|
|
4
229
|
|
|
5
230
|
### Major Changes
|