@commercetools/history-sdk 3.4.1 → 3.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 +354 -0
- package/dist/commercetools-history-sdk.browser.cjs.js +11 -0
- package/dist/commercetools-history-sdk.browser.esm.js +11 -0
- package/dist/commercetools-history-sdk.cjs.d.ts +1 -0
- package/dist/commercetools-history-sdk.cjs.d.ts.map +1 -0
- package/dist/commercetools-history-sdk.cjs.dev.js +11 -0
- package/dist/commercetools-history-sdk.cjs.prod.js +11 -0
- package/dist/commercetools-history-sdk.esm.js +11 -0
- package/dist/declarations/src/ctp/ctp-client.d.ts +1 -1
- package/dist/declarations/src/generated/client/api-root.d.ts +2 -2
- package/dist/declarations/src/generated/client/by-project-key-by-resource-type-by-id-request-builder.d.ts +6 -3
- package/dist/declarations/src/generated/client/by-project-key-by-resource-type-request-builder.d.ts +8 -5
- package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts +8 -4
- package/dist/declarations/src/generated/index.d.ts +8 -8
- package/dist/declarations/src/generated/models/change-history.d.ts +42 -29
- package/dist/declarations/src/generated/models/change-value.d.ts +76 -49
- package/dist/declarations/src/generated/models/change.d.ts +2738 -706
- package/dist/declarations/src/generated/models/common.d.ts +90 -2
- package/dist/declarations/src/generated/models/label.d.ts +76 -2
- package/dist/declarations/src/generated/shared/utils/middleware.d.ts +1 -1
- package/dist/declarations/src/generated/shared/utils/requests-utils.d.ts +1 -1
- package/dist/declarations/src/index.d.ts +2 -2
- package/package.json +4 -4
- package/dist/declarations/src/generated/shared/utils/uri-utils.d.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,359 @@
|
|
|
1
1
|
# @commercetools/history-sdk
|
|
2
2
|
|
|
3
|
+
## 3.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#514](https://github.com/commercetools/commercetools-sdk-typescript/pull/514) [`800c52f`](https://github.com/commercetools/commercetools-sdk-typescript/commit/800c52f46dfef01ba74322c006045587efc570db) Thanks [@github-actions](https://github.com/apps/github-actions)! - **History changes**
|
|
8
|
+
|
|
9
|
+
<details>
|
|
10
|
+
<summary>Added Type(s)</summary>
|
|
11
|
+
|
|
12
|
+
- added type `AddInheritedAssociateChange`
|
|
13
|
+
- added type `AssociateRoleLabel`
|
|
14
|
+
- added type `ChangeBuyerAssignableChange`
|
|
15
|
+
- added type `ChangeInheritedAssociateChange`
|
|
16
|
+
- added type `InheritedAssociate`
|
|
17
|
+
- added type `InheritedAssociateRoleAssignment`
|
|
18
|
+
- added type `Permission`
|
|
19
|
+
- added type `RemoveInheritedAssociateChange`
|
|
20
|
+
- added type `SetLocalizedNameChange`
|
|
21
|
+
- added type `SetPermissionsChange`
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<details>
|
|
25
|
+
<summary>Added Enum(s)</summary>
|
|
26
|
+
|
|
27
|
+
- added enum `associate-role` to type `ChangeHistoryResourceType`
|
|
28
|
+
</details>
|
|
29
|
+
|
|
30
|
+
## 3.4.2
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- [#487](https://github.com/commercetools/commercetools-sdk-typescript/pull/487) [`d22b639`](https://github.com/commercetools/commercetools-sdk-typescript/commit/d22b639e812f5b784842bd7d5ae94d7aa19d0ce6) Thanks [@github-actions](https://github.com/apps/github-actions)! - Update generated SDKs
|
|
35
|
+
|
|
36
|
+
# Api (Platform) changes
|
|
37
|
+
|
|
38
|
+
<details>
|
|
39
|
+
<summary>Added Property(s)</summary>
|
|
40
|
+
|
|
41
|
+
- added property `perMethodTaxRate` to type `CustomLineItem`
|
|
42
|
+
- added property `key` to type `LineItem`
|
|
43
|
+
- added property `key` to type `LineItemDraft`
|
|
44
|
+
- added property `key` to type `CartAddLineItemAction`
|
|
45
|
+
- added property `lineItemKey` to type `CartApplyDeltaToLineItemShippingDetailsTargetsAction`
|
|
46
|
+
- added property `lineItemKey` to type `CartChangeLineItemQuantityAction`
|
|
47
|
+
- added property `lineItemKey` to type `CartRemoveLineItemAction`
|
|
48
|
+
- added property `lineItemKey` to type `CartSetLineItemCustomFieldAction`
|
|
49
|
+
- added property `lineItemKey` to type `CartSetLineItemCustomTypeAction`
|
|
50
|
+
- added property `lineItemKey` to type `CartSetLineItemDistributionChannelAction`
|
|
51
|
+
- added property `lineItemKey` to type `CartSetLineItemInventoryModeAction`
|
|
52
|
+
- added property `lineItemKey` to type `CartSetLineItemPriceAction`
|
|
53
|
+
- added property `lineItemKey` to type `CartSetLineItemShippingDetailsAction`
|
|
54
|
+
- added property `lineItemKey` to type `CartSetLineItemSupplyChannelAction`
|
|
55
|
+
- added property `lineItemKey` to type `CartSetLineItemTaxAmountAction`
|
|
56
|
+
- added property `lineItemKey` to type `CartSetLineItemTaxRateAction`
|
|
57
|
+
- added property `lineItemKey` to type `CartSetLineItemTotalPriceAction`
|
|
58
|
+
- added property `key` to type `MyLineItemDraft`
|
|
59
|
+
- added property `key` to type `MyCartAddLineItemAction`
|
|
60
|
+
- added property `lineItemKey` to type `MyCartApplyDeltaToLineItemShippingDetailsTargetsAction`
|
|
61
|
+
- added property `lineItemKey` to type `MyCartChangeLineItemQuantityAction`
|
|
62
|
+
- added property `lineItemKey` to type `MyCartRemoveLineItemAction`
|
|
63
|
+
- added property `lineItemKey` to type `MyCartSetLineItemCustomFieldAction`
|
|
64
|
+
- added property `lineItemKey` to type `MyCartSetLineItemCustomTypeAction`
|
|
65
|
+
- added property `lineItemKey` to type `MyCartSetLineItemDistributionChannelAction`
|
|
66
|
+
- added property `lineItemKey` to type `MyCartSetLineItemShippingDetailsAction`
|
|
67
|
+
- added property `lineItemKey` to type `MyCartSetLineItemSupplyChannelAction`
|
|
68
|
+
- added property `lineItemKey` to type `MyShoppingListChangeLineItemQuantityAction`
|
|
69
|
+
- added property `sku` to type `StandalonePriceDeletedMessage`
|
|
70
|
+
- added property `sku` to type `StandalonePriceDeletedMessagePayload`
|
|
71
|
+
- added property `key` to type `StagedOrderAddLineItemAction`
|
|
72
|
+
- added property `parcelKey` to type `StagedOrderAddParcelToDeliveryAction`
|
|
73
|
+
- added property `lineItemKey` to type `StagedOrderChangeLineItemQuantityAction`
|
|
74
|
+
- added property `lineItemKey` to type `StagedOrderRemoveLineItemAction`
|
|
75
|
+
- added property `parcelKey` to type `StagedOrderRemoveParcelFromDeliveryAction`
|
|
76
|
+
- added property `lineItemKey` to type `StagedOrderSetLineItemCustomFieldAction`
|
|
77
|
+
- added property `lineItemKey` to type `StagedOrderSetLineItemCustomTypeAction`
|
|
78
|
+
- added property `lineItemKey` to type `StagedOrderSetLineItemDistributionChannelAction`
|
|
79
|
+
- added property `lineItemKey` to type `StagedOrderSetLineItemPriceAction`
|
|
80
|
+
- added property `lineItemKey` to type `StagedOrderSetLineItemShippingDetailsAction`
|
|
81
|
+
- added property `lineItemKey` to type `StagedOrderSetLineItemTaxAmountAction`
|
|
82
|
+
- added property `lineItemKey` to type `StagedOrderSetLineItemTaxRateAction`
|
|
83
|
+
- added property `lineItemKey` to type `StagedOrderSetLineItemTotalPriceAction`
|
|
84
|
+
- added property `parcelKey` to type `StagedOrderSetParcelCustomFieldAction`
|
|
85
|
+
- added property `parcelKey` to type `StagedOrderSetParcelCustomTypeAction`
|
|
86
|
+
- added property `parcelKey` to type `StagedOrderSetParcelItemsAction`
|
|
87
|
+
- added property `parcelKey` to type `StagedOrderSetParcelMeasurementsAction`
|
|
88
|
+
- added property `parcelKey` to type `StagedOrderSetParcelTrackingDataAction`
|
|
89
|
+
- added property `key` to type `Parcel`
|
|
90
|
+
- added property `key` to type `ParcelDraft`
|
|
91
|
+
- added property `parcelKey` to type `OrderAddParcelToDeliveryAction`
|
|
92
|
+
- added property `parcelKey` to type `OrderRemoveParcelFromDeliveryAction`
|
|
93
|
+
- added property `lineItemKey` to type `OrderSetLineItemCustomFieldAction`
|
|
94
|
+
- added property `lineItemKey` to type `OrderSetLineItemCustomTypeAction`
|
|
95
|
+
- added property `lineItemKey` to type `OrderSetLineItemShippingDetailsAction`
|
|
96
|
+
- added property `parcelKey` to type `OrderSetParcelCustomFieldAction`
|
|
97
|
+
- added property `parcelKey` to type `OrderSetParcelCustomTypeAction`
|
|
98
|
+
- added property `parcelKey` to type `OrderSetParcelItemsAction`
|
|
99
|
+
- added property `parcelKey` to type `OrderSetParcelMeasurementsAction`
|
|
100
|
+
- added property `parcelKey` to type `OrderSetParcelTrackingDataAction`
|
|
101
|
+
</details>
|
|
102
|
+
|
|
103
|
+
<details>
|
|
104
|
+
<summary>Required Property(s)</summary>
|
|
105
|
+
|
|
106
|
+
- changed property `lineItemId` of type `CartApplyDeltaToLineItemShippingDetailsTargetsAction` to be optional
|
|
107
|
+
- changed property `lineItemId` of type `CartChangeLineItemQuantityAction` to be optional
|
|
108
|
+
- changed property `lineItemId` of type `CartRemoveLineItemAction` to be optional
|
|
109
|
+
- changed property `lineItemId` of type `CartSetLineItemCustomFieldAction` to be optional
|
|
110
|
+
- changed property `lineItemId` of type `CartSetLineItemCustomTypeAction` to be optional
|
|
111
|
+
- changed property `lineItemId` of type `CartSetLineItemDistributionChannelAction` to be optional
|
|
112
|
+
- changed property `lineItemId` of type `CartSetLineItemInventoryModeAction` to be optional
|
|
113
|
+
- changed property `lineItemId` of type `CartSetLineItemPriceAction` to be optional
|
|
114
|
+
- changed property `lineItemId` of type `CartSetLineItemShippingDetailsAction` to be optional
|
|
115
|
+
- changed property `lineItemId` of type `CartSetLineItemSupplyChannelAction` to be optional
|
|
116
|
+
- changed property `lineItemId` of type `CartSetLineItemTaxAmountAction` to be optional
|
|
117
|
+
- changed property `lineItemId` of type `CartSetLineItemTaxRateAction` to be optional
|
|
118
|
+
- changed property `lineItemId` of type `CartSetLineItemTotalPriceAction` to be optional
|
|
119
|
+
- changed property `lineItemId` of type `MyCartApplyDeltaToLineItemShippingDetailsTargetsAction` to be optional
|
|
120
|
+
- changed property `lineItemId` of type `MyCartChangeLineItemQuantityAction` to be optional
|
|
121
|
+
- changed property `lineItemId` of type `MyCartRemoveLineItemAction` to be optional
|
|
122
|
+
- changed property `lineItemId` of type `MyCartSetLineItemCustomFieldAction` to be optional
|
|
123
|
+
- changed property `lineItemId` of type `MyCartSetLineItemCustomTypeAction` to be optional
|
|
124
|
+
- changed property `lineItemId` of type `MyCartSetLineItemDistributionChannelAction` to be optional
|
|
125
|
+
- changed property `lineItemId` of type `MyCartSetLineItemShippingDetailsAction` to be optional
|
|
126
|
+
- changed property `lineItemId` of type `MyCartSetLineItemSupplyChannelAction` to be optional
|
|
127
|
+
- changed property `lineItemId` of type `MyShoppingListChangeLineItemQuantityAction` to be optional
|
|
128
|
+
- changed property `lineItemId` of type `StagedOrderChangeLineItemQuantityAction` to be optional
|
|
129
|
+
- changed property `lineItemId` of type `StagedOrderRemoveLineItemAction` to be optional
|
|
130
|
+
- changed property `parcelId` of type `StagedOrderRemoveParcelFromDeliveryAction` to be optional
|
|
131
|
+
- changed property `lineItemId` of type `StagedOrderSetLineItemCustomFieldAction` to be optional
|
|
132
|
+
- changed property `lineItemId` of type `StagedOrderSetLineItemCustomTypeAction` to be optional
|
|
133
|
+
- changed property `lineItemId` of type `StagedOrderSetLineItemDistributionChannelAction` to be optional
|
|
134
|
+
- changed property `lineItemId` of type `StagedOrderSetLineItemPriceAction` to be optional
|
|
135
|
+
- changed property `lineItemId` of type `StagedOrderSetLineItemShippingDetailsAction` to be optional
|
|
136
|
+
- changed property `lineItemId` of type `StagedOrderSetLineItemTaxAmountAction` to be optional
|
|
137
|
+
- changed property `lineItemId` of type `StagedOrderSetLineItemTaxRateAction` to be optional
|
|
138
|
+
- changed property `lineItemId` of type `StagedOrderSetLineItemTotalPriceAction` to be optional
|
|
139
|
+
- changed property `parcelId` of type `StagedOrderSetParcelCustomFieldAction` to be optional
|
|
140
|
+
- changed property `parcelId` of type `StagedOrderSetParcelCustomTypeAction` to be optional
|
|
141
|
+
- changed property `parcelId` of type `StagedOrderSetParcelItemsAction` to be optional
|
|
142
|
+
- changed property `parcelId` of type `StagedOrderSetParcelMeasurementsAction` to be optional
|
|
143
|
+
- changed property `parcelId` of type `StagedOrderSetParcelTrackingDataAction` to be optional
|
|
144
|
+
- changed property `parcelId` of type `OrderRemoveParcelFromDeliveryAction` to be optional
|
|
145
|
+
- changed property `lineItemId` of type `OrderSetLineItemCustomFieldAction` to be optional
|
|
146
|
+
- changed property `lineItemId` of type `OrderSetLineItemCustomTypeAction` to be optional
|
|
147
|
+
- changed property `lineItemId` of type `OrderSetLineItemShippingDetailsAction` to be optional
|
|
148
|
+
- changed property `parcelId` of type `OrderSetParcelCustomFieldAction` to be optional
|
|
149
|
+
- changed property `parcelId` of type `OrderSetParcelCustomTypeAction` to be optional
|
|
150
|
+
- changed property `parcelId` of type `OrderSetParcelItemsAction` to be optional
|
|
151
|
+
- changed property `parcelId` of type `OrderSetParcelMeasurementsAction` to be optional
|
|
152
|
+
- changed property `parcelId` of type `OrderSetParcelTrackingDataAction` to be optional
|
|
153
|
+
</details>
|
|
154
|
+
|
|
155
|
+
<details>
|
|
156
|
+
<summary>Deprecated Property(s)</summary>
|
|
157
|
+
|
|
158
|
+
- property `MyCartChangeLineItemQuantityAction::externalPrice` is removed
|
|
159
|
+
- property `MyCartChangeLineItemQuantityAction::externalTotalPrice` is removed
|
|
160
|
+
</details>
|
|
161
|
+
|
|
162
|
+
<details>
|
|
163
|
+
<summary>Deprecated Type(s)</summary>
|
|
164
|
+
|
|
165
|
+
- type `ProductVariantSelectionExclusion` is removed
|
|
166
|
+
- type `ProductVariantSelectionInclusion` is removed
|
|
167
|
+
</details>
|
|
168
|
+
|
|
169
|
+
<details>
|
|
170
|
+
<summary>Removed Type(s)</summary>
|
|
171
|
+
|
|
172
|
+
- :warning: removed type `MyCartSetDirectDiscountsAction`
|
|
173
|
+
</details>
|
|
174
|
+
|
|
175
|
+
<details>
|
|
176
|
+
<summary>Added Type(s)</summary>
|
|
177
|
+
|
|
178
|
+
- added type `StandalonePriceTierAddedMessage`
|
|
179
|
+
- added type `StandalonePriceTierRemovedMessage`
|
|
180
|
+
- added type `StandalonePriceTiersSetMessage`
|
|
181
|
+
- added type `StandalonePriceValidFromAndUntilSetMessage`
|
|
182
|
+
- added type `StandalonePriceValidFromSetMessage`
|
|
183
|
+
- added type `StandalonePriceValidUntilSetMessage`
|
|
184
|
+
- added type `StandalonePriceTierAddedMessagePayload`
|
|
185
|
+
- added type `StandalonePriceTierRemovedMessagePayload`
|
|
186
|
+
- added type `StandalonePriceTiersSetMessagePayload`
|
|
187
|
+
- added type `StandalonePriceValidFromAndUntilSetMessagePayload`
|
|
188
|
+
- added type `StandalonePriceValidFromSetMessagePayload`
|
|
189
|
+
- added type `StandalonePriceValidUntilSetMessagePayload`
|
|
190
|
+
- added type `StandalonePriceAddPriceTierAction`
|
|
191
|
+
- added type `StandalonePriceRemovePriceTierAction`
|
|
192
|
+
- added type `StandalonePriceSetPriceTiersAction`
|
|
193
|
+
- added type `StandalonePriceSetValidFromAction`
|
|
194
|
+
- added type `StandalonePriceSetValidFromAndUntilAction`
|
|
195
|
+
- added type `StandalonePriceSetValidUntilAction`
|
|
196
|
+
- added type `ConfluentCloudDestination`
|
|
197
|
+
</details>
|
|
198
|
+
|
|
199
|
+
<details>
|
|
200
|
+
<summary>Added Enum(s)</summary>
|
|
201
|
+
|
|
202
|
+
- added enum `associate-role` to type `CustomFieldReferenceValue`
|
|
203
|
+
- added enum `business-unit` to type `CustomFieldReferenceValue`
|
|
204
|
+
</details>
|
|
205
|
+
|
|
206
|
+
# Import changes
|
|
207
|
+
|
|
208
|
+
<details>
|
|
209
|
+
<summary>Added Enum(s)</summary>
|
|
210
|
+
|
|
211
|
+
- added enum `associate-role` to type `CustomFieldReferenceValue`
|
|
212
|
+
- added enum `business-unit` to type `CustomFieldReferenceValue`
|
|
213
|
+
</details>
|
|
214
|
+
|
|
215
|
+
# History change
|
|
216
|
+
|
|
217
|
+
<details>
|
|
218
|
+
<summary>Added Property(s)</summary>
|
|
219
|
+
|
|
220
|
+
- added property `variantSelection` to type `AddProductChange`
|
|
221
|
+
</details>
|
|
222
|
+
|
|
223
|
+
<details>
|
|
224
|
+
<summary>Changed Property(s)</summary>
|
|
225
|
+
|
|
226
|
+
- :warning: changed property `resource` of type `Record` from type `Reference` to `ResourceIdentifier`
|
|
227
|
+
</details>
|
|
228
|
+
|
|
229
|
+
<details>
|
|
230
|
+
<summary>Added QueryParameter(s)</summary>
|
|
231
|
+
|
|
232
|
+
- added query parameter `resourceKey` to method `get /{projectKey}`
|
|
233
|
+
- added query parameter `resourceKey` to method `get /{projectKey}/{resourceType}`
|
|
234
|
+
</details>
|
|
235
|
+
|
|
236
|
+
<details>
|
|
237
|
+
<summary>Removed QueryParameter(s)</summary>
|
|
238
|
+
|
|
239
|
+
- :warning: removed query parameter `resourceId` from method `get /{projectKey}/{resourceType}`
|
|
240
|
+
</details>
|
|
241
|
+
|
|
242
|
+
<details>
|
|
243
|
+
<summary>Added Type(s)</summary>
|
|
244
|
+
|
|
245
|
+
- added type `AddAssociateChange`
|
|
246
|
+
- added type `AddProductSelectionChange`
|
|
247
|
+
- added type `Associate`
|
|
248
|
+
- added type `AssociateRoleAssignment`
|
|
249
|
+
- added type `AssociateRoleInheritanceMode`
|
|
250
|
+
- added type `BusinessUnitAssociateMode`
|
|
251
|
+
- added type `BusinessUnitLabel`
|
|
252
|
+
- added type `BusinessUnitStatus`
|
|
253
|
+
- added type `BusinessUnitStoreMode`
|
|
254
|
+
- added type `ChangeAssociateChange`
|
|
255
|
+
- added type `ChangeAssociateModeChange`
|
|
256
|
+
- added type `ChangeParentUnitChange`
|
|
257
|
+
- added type `ChangeProductSelectionActiveChange`
|
|
258
|
+
- added type `ChangeStatusChange`
|
|
259
|
+
- added type `ProductVariantSelection`
|
|
260
|
+
- added type `ProductVariantSelectionTypeEnum`
|
|
261
|
+
- added type `RemoveAssociateChange`
|
|
262
|
+
- added type `RemoveProductSelectionChange`
|
|
263
|
+
- added type `RequestQuoteRenegotiationChange`
|
|
264
|
+
- added type `ResourceIdentifier`
|
|
265
|
+
- added type `SetAddressCustomFieldChange`
|
|
266
|
+
- added type `SetAddressCustomTypeChange`
|
|
267
|
+
- added type `SetContactEmailChange`
|
|
268
|
+
- added type `SetStoreModeChange`
|
|
269
|
+
- added type `SetVariantSelectionChange`
|
|
270
|
+
</details>
|
|
271
|
+
|
|
272
|
+
<details>
|
|
273
|
+
<summary>Added Enum(s)</summary>
|
|
274
|
+
|
|
275
|
+
- added enum `business-unit` to type `ChangeHistoryResourceType`
|
|
276
|
+
- added enum `addAssociate` to type `UpdateType`
|
|
277
|
+
- added enum `addCustomLineItem` to type `UpdateType`
|
|
278
|
+
- added enum `addDiscountCode` to type `UpdateType`
|
|
279
|
+
- added enum `addProduct` to type `UpdateType`
|
|
280
|
+
- added enum `addProductSelection` to type `UpdateType`
|
|
281
|
+
- added enum `addProperty` to type `UpdateType`
|
|
282
|
+
- added enum `changeAmountAuthorized` to type `UpdateType`
|
|
283
|
+
- added enum `changeAssociate` to type `UpdateType`
|
|
284
|
+
- added enum `changeAssociateMode` to type `UpdateType`
|
|
285
|
+
- added enum `changeCustomLineItemQuantity` to type `UpdateType`
|
|
286
|
+
- added enum `changeLineItemName` to type `UpdateType`
|
|
287
|
+
- added enum `changeParentUnit` to type `UpdateType`
|
|
288
|
+
- added enum `changeProductSelectionActive` to type `UpdateType`
|
|
289
|
+
- added enum `changeQuoteRequestState` to type `UpdateType`
|
|
290
|
+
- added enum `changeQuoteState` to type `UpdateType`
|
|
291
|
+
- added enum `changeStagedQuoteState` to type `UpdateType`
|
|
292
|
+
- added enum `changeStatus` to type `UpdateType`
|
|
293
|
+
- added enum `changeTaxCalculationMode` to type `UpdateType`
|
|
294
|
+
- added enum `changeTaxMode` to type `UpdateType`
|
|
295
|
+
- added enum `changeTaxRoundingMode` to type `UpdateType`
|
|
296
|
+
- added enum `moveImageToPosition` to type `UpdateType`
|
|
297
|
+
- added enum `removeAssociate` to type `UpdateType`
|
|
298
|
+
- added enum `removeCustomLineItem` to type `UpdateType`
|
|
299
|
+
- added enum `removeDiscountCode` to type `UpdateType`
|
|
300
|
+
- added enum `removeProduct` to type `UpdateType`
|
|
301
|
+
- added enum `removeProductSelection` to type `UpdateType`
|
|
302
|
+
- added enum `removeProperty` to type `UpdateType`
|
|
303
|
+
- added enum `requestQuoteRenegotiation` to type `UpdateType`
|
|
304
|
+
- added enum `setAddressCustomField` to type `UpdateType`
|
|
305
|
+
- added enum `setAddressCustomType` to type `UpdateType`
|
|
306
|
+
- added enum `setApplicationVersion` to type `UpdateType`
|
|
307
|
+
- added enum `setAuthenticationMode` to type `UpdateType`
|
|
308
|
+
- added enum `setContactEmail` to type `UpdateType`
|
|
309
|
+
- added enum `setCountries` to type `UpdateType`
|
|
310
|
+
- added enum `setCountry` to type `UpdateType`
|
|
311
|
+
- added enum `setCustomLineItemMoney` to type `UpdateType`
|
|
312
|
+
- added enum `setCustomLineItemTaxAmount` to type `UpdateType`
|
|
313
|
+
- added enum `setCustomLineItemTaxCategory` to type `UpdateType`
|
|
314
|
+
- added enum `setCustomLineItemTaxRate` to type `UpdateType`
|
|
315
|
+
- added enum `setCustomLineItemTaxedPrice` to type `UpdateType`
|
|
316
|
+
- added enum `setCustomLineItemTotalPrice` to type `UpdateType`
|
|
317
|
+
- added enum `setCustomShippingMethod` to type `UpdateType`
|
|
318
|
+
- added enum `setIsValid` to type `UpdateType`
|
|
319
|
+
- added enum `setLineItemDeactivatedAt` to type `UpdateType`
|
|
320
|
+
- added enum `setLineItemDiscountedPrice` to type `UpdateType`
|
|
321
|
+
- added enum `setLineItemDiscountedPricePerQuantity` to type `UpdateType`
|
|
322
|
+
- added enum `setLineItemDistributionChannel` to type `UpdateType`
|
|
323
|
+
- added enum `setLineItemPrice` to type `UpdateType`
|
|
324
|
+
- added enum `setLineItemProductKey` to type `UpdateType`
|
|
325
|
+
- added enum `setLineItemProductSlug` to type `UpdateType`
|
|
326
|
+
- added enum `setLineItemTaxAmount` to type `UpdateType`
|
|
327
|
+
- added enum `setLineItemTaxRate` to type `UpdateType`
|
|
328
|
+
- added enum `setLineItemTaxedPrice` to type `UpdateType`
|
|
329
|
+
- added enum `setLineItemTotalPrice` to type `UpdateType`
|
|
330
|
+
- added enum `setOrderTaxedPrice` to type `UpdateType`
|
|
331
|
+
- added enum `setOrderTotalPrice` to type `UpdateType`
|
|
332
|
+
- added enum `setOrderTotalTax` to type `UpdateType`
|
|
333
|
+
- added enum `setPrices` to type `UpdateType`
|
|
334
|
+
- added enum `setProductCount` to type `UpdateType`
|
|
335
|
+
- added enum `setProductSelections` to type `UpdateType`
|
|
336
|
+
- added enum `setProperty` to type `UpdateType`
|
|
337
|
+
- added enum `setPurchaseOrderNumber` to type `UpdateType`
|
|
338
|
+
- added enum `setReservations` to type `UpdateType`
|
|
339
|
+
- added enum `setSellerComment` to type `UpdateType`
|
|
340
|
+
- added enum `setShippingInfoPrice` to type `UpdateType`
|
|
341
|
+
- added enum `setShippingInfoTaxedPrice` to type `UpdateType`
|
|
342
|
+
- added enum `setShippingMethod` to type `UpdateType`
|
|
343
|
+
- added enum `setShippingMethodTaxAmount` to type `UpdateType`
|
|
344
|
+
- added enum `setShippingMethodTaxRate` to type `UpdateType`
|
|
345
|
+
- added enum `setShippingRate` to type `UpdateType`
|
|
346
|
+
- added enum `setShippingRateInput` to type `UpdateType`
|
|
347
|
+
- added enum `setStoreMode` to type `UpdateType`
|
|
348
|
+
- added enum `setSupplyChannels` to type `UpdateType`
|
|
349
|
+
- added enum `setValidTo` to type `UpdateType`
|
|
350
|
+
- added enum `setValue` to type `UpdateType`
|
|
351
|
+
- added enum `setVariantSelection` to type `UpdateType`
|
|
352
|
+
- added enum `DeclinedForRenegotiation` to type `QuoteState`
|
|
353
|
+
- added enum `associate-role` to type `ReferenceTypeId`
|
|
354
|
+
- added enum `business-unit` to type `ReferenceTypeId`
|
|
355
|
+
</details>
|
|
356
|
+
|
|
3
357
|
## 3.4.1
|
|
4
358
|
|
|
5
359
|
### Patch Changes
|
|
@@ -120,6 +120,9 @@ class ByProjectKeyByResourceTypeByIDRequestBuilder {
|
|
|
120
120
|
constructor(args) {
|
|
121
121
|
this.args = args;
|
|
122
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
125
|
+
*/
|
|
123
126
|
get(methodArgs) {
|
|
124
127
|
return new ApiRequest({
|
|
125
128
|
baseUri: this.args.baseUri,
|
|
@@ -155,6 +158,10 @@ class ByProjectKeyByResourceTypeRequestBuilder {
|
|
|
155
158
|
baseUri: this.args.baseUri
|
|
156
159
|
});
|
|
157
160
|
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
164
|
+
*/
|
|
158
165
|
get(methodArgs) {
|
|
159
166
|
return new ApiRequest({
|
|
160
167
|
baseUri: this.args.baseUri,
|
|
@@ -190,6 +197,10 @@ class ByProjectKeyRequestBuilder {
|
|
|
190
197
|
baseUri: this.args.baseUri
|
|
191
198
|
});
|
|
192
199
|
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
203
|
+
*/
|
|
193
204
|
get(methodArgs) {
|
|
194
205
|
return new ApiRequest({
|
|
195
206
|
baseUri: this.args.baseUri,
|
|
@@ -116,6 +116,9 @@ class ByProjectKeyByResourceTypeByIDRequestBuilder {
|
|
|
116
116
|
constructor(args) {
|
|
117
117
|
this.args = args;
|
|
118
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
121
|
+
*/
|
|
119
122
|
get(methodArgs) {
|
|
120
123
|
return new ApiRequest({
|
|
121
124
|
baseUri: this.args.baseUri,
|
|
@@ -151,6 +154,10 @@ class ByProjectKeyByResourceTypeRequestBuilder {
|
|
|
151
154
|
baseUri: this.args.baseUri
|
|
152
155
|
});
|
|
153
156
|
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
160
|
+
*/
|
|
154
161
|
get(methodArgs) {
|
|
155
162
|
return new ApiRequest({
|
|
156
163
|
baseUri: this.args.baseUri,
|
|
@@ -186,6 +193,10 @@ class ByProjectKeyRequestBuilder {
|
|
|
186
193
|
baseUri: this.args.baseUri
|
|
187
194
|
});
|
|
188
195
|
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
199
|
+
*/
|
|
189
200
|
get(methodArgs) {
|
|
190
201
|
return new ApiRequest({
|
|
191
202
|
baseUri: this.args.baseUri,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commercetools-history-sdk.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -120,6 +120,9 @@ class ByProjectKeyByResourceTypeByIDRequestBuilder {
|
|
|
120
120
|
constructor(args) {
|
|
121
121
|
this.args = args;
|
|
122
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
125
|
+
*/
|
|
123
126
|
get(methodArgs) {
|
|
124
127
|
return new ApiRequest({
|
|
125
128
|
baseUri: this.args.baseUri,
|
|
@@ -155,6 +158,10 @@ class ByProjectKeyByResourceTypeRequestBuilder {
|
|
|
155
158
|
baseUri: this.args.baseUri
|
|
156
159
|
});
|
|
157
160
|
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
164
|
+
*/
|
|
158
165
|
get(methodArgs) {
|
|
159
166
|
return new ApiRequest({
|
|
160
167
|
baseUri: this.args.baseUri,
|
|
@@ -190,6 +197,10 @@ class ByProjectKeyRequestBuilder {
|
|
|
190
197
|
baseUri: this.args.baseUri
|
|
191
198
|
});
|
|
192
199
|
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
203
|
+
*/
|
|
193
204
|
get(methodArgs) {
|
|
194
205
|
return new ApiRequest({
|
|
195
206
|
baseUri: this.args.baseUri,
|
|
@@ -120,6 +120,9 @@ class ByProjectKeyByResourceTypeByIDRequestBuilder {
|
|
|
120
120
|
constructor(args) {
|
|
121
121
|
this.args = args;
|
|
122
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
125
|
+
*/
|
|
123
126
|
get(methodArgs) {
|
|
124
127
|
return new ApiRequest({
|
|
125
128
|
baseUri: this.args.baseUri,
|
|
@@ -155,6 +158,10 @@ class ByProjectKeyByResourceTypeRequestBuilder {
|
|
|
155
158
|
baseUri: this.args.baseUri
|
|
156
159
|
});
|
|
157
160
|
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
164
|
+
*/
|
|
158
165
|
get(methodArgs) {
|
|
159
166
|
return new ApiRequest({
|
|
160
167
|
baseUri: this.args.baseUri,
|
|
@@ -190,6 +197,10 @@ class ByProjectKeyRequestBuilder {
|
|
|
190
197
|
baseUri: this.args.baseUri
|
|
191
198
|
});
|
|
192
199
|
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
203
|
+
*/
|
|
193
204
|
get(methodArgs) {
|
|
194
205
|
return new ApiRequest({
|
|
195
206
|
baseUri: this.args.baseUri,
|
|
@@ -116,6 +116,9 @@ class ByProjectKeyByResourceTypeByIDRequestBuilder {
|
|
|
116
116
|
constructor(args) {
|
|
117
117
|
this.args = args;
|
|
118
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
121
|
+
*/
|
|
119
122
|
get(methodArgs) {
|
|
120
123
|
return new ApiRequest({
|
|
121
124
|
baseUri: this.args.baseUri,
|
|
@@ -151,6 +154,10 @@ class ByProjectKeyByResourceTypeRequestBuilder {
|
|
|
151
154
|
baseUri: this.args.baseUri
|
|
152
155
|
});
|
|
153
156
|
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
160
|
+
*/
|
|
154
161
|
get(methodArgs) {
|
|
155
162
|
return new ApiRequest({
|
|
156
163
|
baseUri: this.args.baseUri,
|
|
@@ -186,6 +193,10 @@ class ByProjectKeyRequestBuilder {
|
|
|
186
193
|
baseUri: this.args.baseUri
|
|
187
194
|
});
|
|
188
195
|
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
199
|
+
*/
|
|
189
200
|
get(methodArgs) {
|
|
190
201
|
return new ApiRequest({
|
|
191
202
|
baseUri: this.args.baseUri,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ApiRoot } from
|
|
1
|
+
import { ApiRoot } from "../generated/index.js";
|
|
2
2
|
export declare function createApiBuilderFromCtpClient(ctpClient: any, baseUri?: string): ApiRoot;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyRequestBuilder } from "./by-project-key-request-builder.js";
|
|
8
8
|
export declare class ApiRoot {
|
|
9
9
|
private executeRequest;
|
|
10
10
|
private baseUri;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { PlatformInitiatedChange, RecordPagedQueryResponse } from
|
|
7
|
-
import { executeRequest, QueryParam } from
|
|
8
|
-
import { ApiRequest } from
|
|
6
|
+
import { PlatformInitiatedChange, RecordPagedQueryResponse } from "../models/change-history.js";
|
|
7
|
+
import { executeRequest, QueryParam } from "../shared/utils/common-types.js";
|
|
8
|
+
import { ApiRequest } from "../shared/utils/requests-utils.js";
|
|
9
9
|
/**
|
|
10
10
|
**/
|
|
11
11
|
export declare class ByProjectKeyByResourceTypeByIDRequestBuilder {
|
|
@@ -27,6 +27,9 @@ export declare class ByProjectKeyByResourceTypeByIDRequestBuilder {
|
|
|
27
27
|
executeRequest: executeRequest;
|
|
28
28
|
baseUri?: string;
|
|
29
29
|
});
|
|
30
|
+
/**
|
|
31
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
32
|
+
*/
|
|
30
33
|
get(methodArgs?: {
|
|
31
34
|
queryArgs?: {
|
|
32
35
|
'date.from'?: any;
|
package/dist/declarations/src/generated/client/by-project-key-by-resource-type-request-builder.d.ts
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { PlatformInitiatedChange, RecordPagedQueryResponse } from
|
|
7
|
-
import { executeRequest, QueryParam } from
|
|
8
|
-
import { ApiRequest } from
|
|
9
|
-
import { ByProjectKeyByResourceTypeByIDRequestBuilder } from
|
|
6
|
+
import { PlatformInitiatedChange, RecordPagedQueryResponse } from "../models/change-history.js";
|
|
7
|
+
import { executeRequest, QueryParam } from "../shared/utils/common-types.js";
|
|
8
|
+
import { ApiRequest } from "../shared/utils/requests-utils.js";
|
|
9
|
+
import { ByProjectKeyByResourceTypeByIDRequestBuilder } from "./by-project-key-by-resource-type-by-id-request-builder.js";
|
|
10
10
|
/**
|
|
11
11
|
**/
|
|
12
12
|
export declare class ByProjectKeyByResourceTypeRequestBuilder {
|
|
@@ -29,6 +29,9 @@ export declare class ByProjectKeyByResourceTypeRequestBuilder {
|
|
|
29
29
|
withIDValue(childPathArgs: {
|
|
30
30
|
ID: string;
|
|
31
31
|
}): ByProjectKeyByResourceTypeByIDRequestBuilder;
|
|
32
|
+
/**
|
|
33
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
34
|
+
*/
|
|
32
35
|
get(methodArgs?: {
|
|
33
36
|
queryArgs?: {
|
|
34
37
|
'date.from'?: any;
|
|
@@ -38,7 +41,7 @@ export declare class ByProjectKeyByResourceTypeRequestBuilder {
|
|
|
38
41
|
userId?: string;
|
|
39
42
|
type?: string;
|
|
40
43
|
clientId?: string;
|
|
41
|
-
|
|
44
|
+
resourceKey?: string;
|
|
42
45
|
source?: string;
|
|
43
46
|
changes?: string | string[];
|
|
44
47
|
stores?: string | string[];
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ChangeHistoryResourceType, PlatformInitiatedChange, RecordPagedQueryResponse } from
|
|
7
|
-
import { executeRequest, QueryParam } from
|
|
8
|
-
import { ApiRequest } from
|
|
9
|
-
import { ByProjectKeyByResourceTypeRequestBuilder } from
|
|
6
|
+
import { ChangeHistoryResourceType, PlatformInitiatedChange, RecordPagedQueryResponse } from "../models/change-history.js";
|
|
7
|
+
import { executeRequest, QueryParam } from "../shared/utils/common-types.js";
|
|
8
|
+
import { ApiRequest } from "../shared/utils/requests-utils.js";
|
|
9
|
+
import { ByProjectKeyByResourceTypeRequestBuilder } from "./by-project-key-by-resource-type-request-builder.js";
|
|
10
10
|
/**
|
|
11
11
|
**/
|
|
12
12
|
export declare class ByProjectKeyRequestBuilder {
|
|
@@ -27,6 +27,9 @@ export declare class ByProjectKeyRequestBuilder {
|
|
|
27
27
|
withResourceTypeValue(childPathArgs: {
|
|
28
28
|
resourceType: string;
|
|
29
29
|
}): ByProjectKeyByResourceTypeRequestBuilder;
|
|
30
|
+
/**
|
|
31
|
+
* The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
|
|
32
|
+
*/
|
|
30
33
|
get(methodArgs?: {
|
|
31
34
|
queryArgs?: {
|
|
32
35
|
resourceTypes?: ChangeHistoryResourceType | ChangeHistoryResourceType[];
|
|
@@ -38,6 +41,7 @@ export declare class ByProjectKeyRequestBuilder {
|
|
|
38
41
|
type?: string;
|
|
39
42
|
clientId?: string;
|
|
40
43
|
resourceId?: string;
|
|
44
|
+
resourceKey?: string;
|
|
41
45
|
source?: string;
|
|
42
46
|
changes?: string | string[];
|
|
43
47
|
stores?: string | string[];
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Please don't change this file manually but run `rmf-codegen generate <raml_file_path> -o <output_path> -t typescript_client` to update it.
|
|
4
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
6
|
+
export * from "./client/api-root.js";
|
|
7
|
+
export * from "./models/change.js";
|
|
8
|
+
export * from "./models/change-history.js";
|
|
9
|
+
export * from "./models/change-value.js";
|
|
10
|
+
export * from "./models/common.js";
|
|
11
|
+
export * from "./models/label.js";
|
|
12
|
+
export * from "./shared/utils/common-types.js";
|
|
13
|
+
export * from "./shared/utils/middleware.js";
|