@commercetools/importapi-sdk 4.1.0 → 4.3.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.
Files changed (24) hide show
  1. package/CHANGELOG.md +197 -0
  2. package/dist/commercetools-importapi-sdk.browser.cjs.js +125 -247
  3. package/dist/commercetools-importapi-sdk.browser.esm.js +125 -247
  4. package/dist/commercetools-importapi-sdk.cjs.dev.js +125 -247
  5. package/dist/commercetools-importapi-sdk.cjs.prod.js +125 -247
  6. package/dist/commercetools-importapi-sdk.esm.js +125 -247
  7. package/dist/declarations/src/generated/client/import-containers/by-project-key-orders-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  8. package/dist/declarations/src/generated/models/common.d.ts +22 -7
  9. package/dist/declarations/src/generated/models/customers.d.ts +11 -2
  10. package/dist/declarations/src/generated/models/customfields.d.ts +1 -1
  11. package/dist/declarations/src/generated/models/errors.d.ts +1 -1
  12. package/dist/declarations/src/generated/models/importoperations.d.ts +1 -1
  13. package/dist/declarations/src/generated/models/importrequests.d.ts +3 -3
  14. package/dist/declarations/src/generated/models/order-patches.d.ts +1 -1
  15. package/dist/declarations/src/generated/models/orders.d.ts +21 -15
  16. package/dist/declarations/src/generated/models/prices.d.ts +8 -8
  17. package/dist/declarations/src/generated/models/productdrafts.d.ts +2 -0
  18. package/dist/declarations/src/generated/models/products.d.ts +1 -1
  19. package/dist/declarations/src/generated/models/producttypes.d.ts +3 -3
  20. package/dist/declarations/src/generated/models/productvariants.d.ts +5 -2
  21. package/dist/declarations/src/generated/models/standalone-prices.d.ts +1 -1
  22. package/dist/declarations/src/generated/shared/utils/common-types.d.ts +5 -5
  23. package/dist/declarations/src/generated/shared/utils/middleware.d.ts +1 -1
  24. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,202 @@
1
1
  # @commercetools/importapi-sdk
2
2
 
3
+ ## 4.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#432](https://github.com/commercetools/commercetools-sdk-typescript/pull/432) [`d06e0c5`](https://github.com/commercetools/commercetools-sdk-typescript/commit/d06e0c58f4b9a8f69bbde63f906cc905c878aa2d) Thanks [@ajimae](https://github.com/ajimae)! - ### Required Properties
8
+
9
+ - changed property `password` of type `CustomerImport` to be optional
10
+
11
+ ### Added Properties
12
+
13
+ - added property `authenticationMode` to type `CustomerImport`
14
+ - added property `state` to type `OrderImport`
15
+ - added property `custom` to type `Address`
16
+
17
+ ### Added Type
18
+
19
+ - added type `AuthenticationMode`
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [[`8b4ad04`](https://github.com/commercetools/commercetools-sdk-typescript/commit/8b4ad04e9a43a8b399fa946ab6693500a4af3fb5)]:
24
+ - @commercetools/sdk-client-v2@2.1.4
25
+
26
+ ## 4.2.0
27
+
28
+ ### Minor Changes
29
+
30
+ - [#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
31
+
32
+ ## Changes
33
+
34
+ - added property `defaultShippingAddressId` to type `BusinessUnit`
35
+ - added property `defaultShippingAddress` to type `BusinessUnitDraft`
36
+ - added property `defaultShippingAddressId` to type `Company`
37
+ - added property `defaultShippingAddress` to type `CompanyDraft`
38
+ - added property `defaultShippingAddressId` to type `Division`
39
+ - added property `defaultShippingAddress` to type `DivisionDraft`
40
+ - added property `conflictingPrice` to type `DuplicatePriceScopeError`
41
+ - added property `defaultShippingAddress` to type `MyBusinessUnitDraft`
42
+ - added property `defaultShippingAddress` to type `MyCompanyDraft`
43
+ - added property `defaultShippingAddress` to type `MyDivisionDraft`
44
+ - added property `cartId` to type `MyQuoteRequestDraft`
45
+ - added property `cartVersion` to type `MyQuoteRequestDraft`
46
+ - added property `createdAt` to type `AssignedProductSelection`
47
+ - added property `quoteState` to type `Quote`
48
+ </details>
49
+
50
+ <details>
51
+ <summary>Required Property(s)</summary>
52
+
53
+ - changed property `discounted` of type `StagedStandalonePrice` to be optional
54
+ </details>
55
+
56
+ <details>
57
+ <summary>Removed Property(s)</summary>
58
+
59
+ - :warning: removed property `defaultShipingAddressId` from type `BusinessUnit`
60
+ - :warning: removed property `defaultShipingAddress` from type `BusinessUnitDraft`
61
+ - :warning: removed property `defaultShipingAddressId` from type `Company`
62
+ - :warning: removed property `defaultShipingAddress` from type `CompanyDraft`
63
+ - :warning: removed property `defaultShipingAddressId` from type `Division`
64
+ - :warning: removed property `defaultShipingAddress` from type `DivisionDraft`
65
+ - :warning: removed property `conflictingPrices` from type `DuplicatePriceScopeError`
66
+ - :warning: removed property `defaultShipingAddress` from type `MyBusinessUnitDraft`
67
+ - :warning: removed property `defaultShipingAddress` from type `MyCompanyDraft`
68
+ - :warning: removed property `defaultShipingAddress` from type `MyDivisionDraft`
69
+ - :warning: removed property `cart` from type `MyQuoteRequestDraft`
70
+ - :warning: removed property `version` from type `MyQuoteRequestDraft`
71
+ </details>
72
+
73
+ <details>
74
+ <summary>Removed Type(s)</summary>
75
+
76
+ - :warning: removed type `ProductPriceSetMessage`
77
+ - :warning: removed type `ProductPriceSetMessagePayload`
78
+ </details>
79
+
80
+ <details>
81
+ <summary>Deprecated Type(s)</summary>
82
+
83
+ - type `IronMqDestination` is removed
84
+ </details>
85
+
86
+ <details>
87
+ <summary>Added Type(s)</summary>
88
+
89
+ - added type `CartFreezeCartAction`
90
+ - added type `CartUnfreezeCartAction`
91
+ - added type `DuplicatePriceKeyError`
92
+ - added type `ProductPriceKeySetMessage`
93
+ - added type `ProductPricesSetMessage`
94
+ - added type `StandalonePriceKeySetMessage`
95
+ - added type `ProductPriceKeySetMessagePayload`
96
+ - added type `ProductPricesSetMessagePayload`
97
+ - added type `StandalonePriceKeySetMessagePayload`
98
+ - added type `ProductSetPriceKeyAction`
99
+ - added type `StandalonePriceSetKeyAction`
100
+ </details>
101
+
102
+ <details>
103
+ <summary>Added Resource(s)</summary>
104
+
105
+ - added resource `/{projectKey}/shipping-methods/matching-cart-location`
106
+ </details>
107
+
108
+ <details>
109
+ <summary>Added Method(s)</summary>
110
+
111
+ - added method `apiRoot.withProjectKey().shippingMethods().matchingCartLocation().get()`
112
+ </details>
113
+
114
+ <details>
115
+ <summary>Added Enum(s)</summary>
116
+
117
+ - added enum `Frozen` to type `CartState`
118
+ </details>
119
+
120
+ **ML changes**
121
+
122
+ <details>
123
+ <summary>Deprecated Property(s)</summary>
124
+
125
+ - property `MissingAttributes::attributeCount` is removed
126
+ - property `MissingAttributes::attributeCoverage` is removed
127
+ - property `MissingAttributesMeta::productLevel` is removed
128
+ - property `MissingAttributesMeta::variantLevel` is removed
129
+ - property `MissingAttributesPagedQueryResult::meta` is removed
130
+ - property `MissingDataTaskStatus::result` is removed
131
+ - property `MissingImagesMeta::productLevel` is removed
132
+ - property `MissingImagesMeta::variantLevel` is removed
133
+ - property `MissingImagesPagedQueryResult::meta` is removed
134
+ - property `MissingImagesTaskStatus::result` is removed
135
+ - property `MissingPricesMeta::productLevel` is removed
136
+ - property `MissingPricesMeta::variantLevel` is removed
137
+ - property `MissingPricesPagedQueryResult::meta` is removed
138
+ - property `MissingPricesTaskStatus::result` is removed
139
+ </details>
140
+
141
+ <details>
142
+ <summary>Deprecated Type(s)</summary>
143
+
144
+ - type `AttributeCount` is removed
145
+ - type `AttributeCoverage` is removed
146
+ - type `MissingAttributesDetails` is removed
147
+ - type `MissingAttributes` is removed
148
+ - type `MissingAttributesMeta` is removed
149
+ - type `MissingAttributesSearchRequest` is removed
150
+ - type `MissingAttributesPagedQueryResult` is removed
151
+ - type `MissingDataTaskStatus` is removed
152
+ - type `MissingImages` is removed
153
+ - type `MissingImagesCount` is removed
154
+ - type `MissingImagesProductLevel` is removed
155
+ - type `MissingImagesVariantLevel` is removed
156
+ - type `MissingImagesMeta` is removed
157
+ - type `MissingImagesSearchRequest` is removed
158
+ - type `MissingImagesPagedQueryResult` is removed
159
+ - type `MissingImagesTaskStatus` is removed
160
+ - type `MissingPrices` is removed
161
+ - type `MissingPricesProductCount` is removed
162
+ - type `MissingPricesProductLevel` is removed
163
+ - type `MissingPricesVariantLevel` is removed
164
+ - type `MissingPricesMeta` is removed
165
+ - type `MissingPricesSearchRequest` is removed
166
+ - type `MissingPricesPagedQueryResult` is removed
167
+ - type `MissingPricesTaskStatus` is removed
168
+ </details>
169
+
170
+ <details>
171
+ <summary>Deprecated Resource(s)</summary>
172
+
173
+ - resource `/{projectKey}/missing-data` is removed
174
+ - resource `/{projectKey}/missing-data/attributes` is removed
175
+ - resource `/{projectKey}/missing-data/images` is removed
176
+ - resource `/{projectKey}/missing-data/prices` is removed
177
+ - resource `/{projectKey}/missing-data/attributes/status` is removed
178
+ - resource `/{projectKey}/missing-data/attributes/status/{taskId}` is removed
179
+ - resource `/{projectKey}/missing-data/images/status` is removed
180
+ - resource `/{projectKey}/missing-data/images/status/{taskId}` is removed
181
+ - resource `/{projectKey}/missing-data/prices/status` is removed
182
+ - resource `/{projectKey}/missing-data/prices/status/{taskId}` is removed
183
+ </details>
184
+
185
+ <details>
186
+ <summary>Deprecated Method(s)</summary>
187
+
188
+ - method `post /{projectKey}/missing-data/attributes` is removed
189
+ - method `post /{projectKey}/missing-data/images` is removed
190
+ - method `post /{projectKey}/missing-data/prices` is removed
191
+ - method `get /{projectKey}/missing-data/attributes/status/{taskId}` is removed
192
+ - method `get /{projectKey}/missing-data/images/status/{taskId}` is removed
193
+ - method `get /{projectKey}/missing-data/prices/status/{taskId}` is removed
194
+
195
+ ### Patch Changes
196
+
197
+ - Updated dependencies [[`caca661`](https://github.com/commercetools/commercetools-sdk-typescript/commit/caca661ff4c91cf256b6ee406135a45478b7ae47)]:
198
+ - @commercetools/sdk-client-v2@2.1.2
199
+
3
200
  ## 4.1.0
4
201
 
5
202
  ### Minor Changes