@commercetools/history-sdk 3.4.1 → 3.4.2

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 CHANGED
@@ -1,5 +1,332 @@
1
1
  # @commercetools/history-sdk
2
2
 
3
+ ## 3.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ # Api (Platform) changes
10
+
11
+ <details>
12
+ <summary>Added Property(s)</summary>
13
+
14
+ - added property `perMethodTaxRate` to type `CustomLineItem`
15
+ - added property `key` to type `LineItem`
16
+ - added property `key` to type `LineItemDraft`
17
+ - added property `key` to type `CartAddLineItemAction`
18
+ - added property `lineItemKey` to type `CartApplyDeltaToLineItemShippingDetailsTargetsAction`
19
+ - added property `lineItemKey` to type `CartChangeLineItemQuantityAction`
20
+ - added property `lineItemKey` to type `CartRemoveLineItemAction`
21
+ - added property `lineItemKey` to type `CartSetLineItemCustomFieldAction`
22
+ - added property `lineItemKey` to type `CartSetLineItemCustomTypeAction`
23
+ - added property `lineItemKey` to type `CartSetLineItemDistributionChannelAction`
24
+ - added property `lineItemKey` to type `CartSetLineItemInventoryModeAction`
25
+ - added property `lineItemKey` to type `CartSetLineItemPriceAction`
26
+ - added property `lineItemKey` to type `CartSetLineItemShippingDetailsAction`
27
+ - added property `lineItemKey` to type `CartSetLineItemSupplyChannelAction`
28
+ - added property `lineItemKey` to type `CartSetLineItemTaxAmountAction`
29
+ - added property `lineItemKey` to type `CartSetLineItemTaxRateAction`
30
+ - added property `lineItemKey` to type `CartSetLineItemTotalPriceAction`
31
+ - added property `key` to type `MyLineItemDraft`
32
+ - added property `key` to type `MyCartAddLineItemAction`
33
+ - added property `lineItemKey` to type `MyCartApplyDeltaToLineItemShippingDetailsTargetsAction`
34
+ - added property `lineItemKey` to type `MyCartChangeLineItemQuantityAction`
35
+ - added property `lineItemKey` to type `MyCartRemoveLineItemAction`
36
+ - added property `lineItemKey` to type `MyCartSetLineItemCustomFieldAction`
37
+ - added property `lineItemKey` to type `MyCartSetLineItemCustomTypeAction`
38
+ - added property `lineItemKey` to type `MyCartSetLineItemDistributionChannelAction`
39
+ - added property `lineItemKey` to type `MyCartSetLineItemShippingDetailsAction`
40
+ - added property `lineItemKey` to type `MyCartSetLineItemSupplyChannelAction`
41
+ - added property `lineItemKey` to type `MyShoppingListChangeLineItemQuantityAction`
42
+ - added property `sku` to type `StandalonePriceDeletedMessage`
43
+ - added property `sku` to type `StandalonePriceDeletedMessagePayload`
44
+ - added property `key` to type `StagedOrderAddLineItemAction`
45
+ - added property `parcelKey` to type `StagedOrderAddParcelToDeliveryAction`
46
+ - added property `lineItemKey` to type `StagedOrderChangeLineItemQuantityAction`
47
+ - added property `lineItemKey` to type `StagedOrderRemoveLineItemAction`
48
+ - added property `parcelKey` to type `StagedOrderRemoveParcelFromDeliveryAction`
49
+ - added property `lineItemKey` to type `StagedOrderSetLineItemCustomFieldAction`
50
+ - added property `lineItemKey` to type `StagedOrderSetLineItemCustomTypeAction`
51
+ - added property `lineItemKey` to type `StagedOrderSetLineItemDistributionChannelAction`
52
+ - added property `lineItemKey` to type `StagedOrderSetLineItemPriceAction`
53
+ - added property `lineItemKey` to type `StagedOrderSetLineItemShippingDetailsAction`
54
+ - added property `lineItemKey` to type `StagedOrderSetLineItemTaxAmountAction`
55
+ - added property `lineItemKey` to type `StagedOrderSetLineItemTaxRateAction`
56
+ - added property `lineItemKey` to type `StagedOrderSetLineItemTotalPriceAction`
57
+ - added property `parcelKey` to type `StagedOrderSetParcelCustomFieldAction`
58
+ - added property `parcelKey` to type `StagedOrderSetParcelCustomTypeAction`
59
+ - added property `parcelKey` to type `StagedOrderSetParcelItemsAction`
60
+ - added property `parcelKey` to type `StagedOrderSetParcelMeasurementsAction`
61
+ - added property `parcelKey` to type `StagedOrderSetParcelTrackingDataAction`
62
+ - added property `key` to type `Parcel`
63
+ - added property `key` to type `ParcelDraft`
64
+ - added property `parcelKey` to type `OrderAddParcelToDeliveryAction`
65
+ - added property `parcelKey` to type `OrderRemoveParcelFromDeliveryAction`
66
+ - added property `lineItemKey` to type `OrderSetLineItemCustomFieldAction`
67
+ - added property `lineItemKey` to type `OrderSetLineItemCustomTypeAction`
68
+ - added property `lineItemKey` to type `OrderSetLineItemShippingDetailsAction`
69
+ - added property `parcelKey` to type `OrderSetParcelCustomFieldAction`
70
+ - added property `parcelKey` to type `OrderSetParcelCustomTypeAction`
71
+ - added property `parcelKey` to type `OrderSetParcelItemsAction`
72
+ - added property `parcelKey` to type `OrderSetParcelMeasurementsAction`
73
+ - added property `parcelKey` to type `OrderSetParcelTrackingDataAction`
74
+ </details>
75
+
76
+ <details>
77
+ <summary>Required Property(s)</summary>
78
+
79
+ - changed property `lineItemId` of type `CartApplyDeltaToLineItemShippingDetailsTargetsAction` to be optional
80
+ - changed property `lineItemId` of type `CartChangeLineItemQuantityAction` to be optional
81
+ - changed property `lineItemId` of type `CartRemoveLineItemAction` to be optional
82
+ - changed property `lineItemId` of type `CartSetLineItemCustomFieldAction` to be optional
83
+ - changed property `lineItemId` of type `CartSetLineItemCustomTypeAction` to be optional
84
+ - changed property `lineItemId` of type `CartSetLineItemDistributionChannelAction` to be optional
85
+ - changed property `lineItemId` of type `CartSetLineItemInventoryModeAction` to be optional
86
+ - changed property `lineItemId` of type `CartSetLineItemPriceAction` to be optional
87
+ - changed property `lineItemId` of type `CartSetLineItemShippingDetailsAction` to be optional
88
+ - changed property `lineItemId` of type `CartSetLineItemSupplyChannelAction` to be optional
89
+ - changed property `lineItemId` of type `CartSetLineItemTaxAmountAction` to be optional
90
+ - changed property `lineItemId` of type `CartSetLineItemTaxRateAction` to be optional
91
+ - changed property `lineItemId` of type `CartSetLineItemTotalPriceAction` to be optional
92
+ - changed property `lineItemId` of type `MyCartApplyDeltaToLineItemShippingDetailsTargetsAction` to be optional
93
+ - changed property `lineItemId` of type `MyCartChangeLineItemQuantityAction` to be optional
94
+ - changed property `lineItemId` of type `MyCartRemoveLineItemAction` to be optional
95
+ - changed property `lineItemId` of type `MyCartSetLineItemCustomFieldAction` to be optional
96
+ - changed property `lineItemId` of type `MyCartSetLineItemCustomTypeAction` to be optional
97
+ - changed property `lineItemId` of type `MyCartSetLineItemDistributionChannelAction` to be optional
98
+ - changed property `lineItemId` of type `MyCartSetLineItemShippingDetailsAction` to be optional
99
+ - changed property `lineItemId` of type `MyCartSetLineItemSupplyChannelAction` to be optional
100
+ - changed property `lineItemId` of type `MyShoppingListChangeLineItemQuantityAction` to be optional
101
+ - changed property `lineItemId` of type `StagedOrderChangeLineItemQuantityAction` to be optional
102
+ - changed property `lineItemId` of type `StagedOrderRemoveLineItemAction` to be optional
103
+ - changed property `parcelId` of type `StagedOrderRemoveParcelFromDeliveryAction` to be optional
104
+ - changed property `lineItemId` of type `StagedOrderSetLineItemCustomFieldAction` to be optional
105
+ - changed property `lineItemId` of type `StagedOrderSetLineItemCustomTypeAction` to be optional
106
+ - changed property `lineItemId` of type `StagedOrderSetLineItemDistributionChannelAction` to be optional
107
+ - changed property `lineItemId` of type `StagedOrderSetLineItemPriceAction` to be optional
108
+ - changed property `lineItemId` of type `StagedOrderSetLineItemShippingDetailsAction` to be optional
109
+ - changed property `lineItemId` of type `StagedOrderSetLineItemTaxAmountAction` to be optional
110
+ - changed property `lineItemId` of type `StagedOrderSetLineItemTaxRateAction` to be optional
111
+ - changed property `lineItemId` of type `StagedOrderSetLineItemTotalPriceAction` to be optional
112
+ - changed property `parcelId` of type `StagedOrderSetParcelCustomFieldAction` to be optional
113
+ - changed property `parcelId` of type `StagedOrderSetParcelCustomTypeAction` to be optional
114
+ - changed property `parcelId` of type `StagedOrderSetParcelItemsAction` to be optional
115
+ - changed property `parcelId` of type `StagedOrderSetParcelMeasurementsAction` to be optional
116
+ - changed property `parcelId` of type `StagedOrderSetParcelTrackingDataAction` to be optional
117
+ - changed property `parcelId` of type `OrderRemoveParcelFromDeliveryAction` to be optional
118
+ - changed property `lineItemId` of type `OrderSetLineItemCustomFieldAction` to be optional
119
+ - changed property `lineItemId` of type `OrderSetLineItemCustomTypeAction` to be optional
120
+ - changed property `lineItemId` of type `OrderSetLineItemShippingDetailsAction` to be optional
121
+ - changed property `parcelId` of type `OrderSetParcelCustomFieldAction` to be optional
122
+ - changed property `parcelId` of type `OrderSetParcelCustomTypeAction` to be optional
123
+ - changed property `parcelId` of type `OrderSetParcelItemsAction` to be optional
124
+ - changed property `parcelId` of type `OrderSetParcelMeasurementsAction` to be optional
125
+ - changed property `parcelId` of type `OrderSetParcelTrackingDataAction` to be optional
126
+ </details>
127
+
128
+ <details>
129
+ <summary>Deprecated Property(s)</summary>
130
+
131
+ - property `MyCartChangeLineItemQuantityAction::externalPrice` is removed
132
+ - property `MyCartChangeLineItemQuantityAction::externalTotalPrice` is removed
133
+ </details>
134
+
135
+ <details>
136
+ <summary>Deprecated Type(s)</summary>
137
+
138
+ - type `ProductVariantSelectionExclusion` is removed
139
+ - type `ProductVariantSelectionInclusion` is removed
140
+ </details>
141
+
142
+ <details>
143
+ <summary>Removed Type(s)</summary>
144
+
145
+ - :warning: removed type `MyCartSetDirectDiscountsAction`
146
+ </details>
147
+
148
+ <details>
149
+ <summary>Added Type(s)</summary>
150
+
151
+ - added type `StandalonePriceTierAddedMessage`
152
+ - added type `StandalonePriceTierRemovedMessage`
153
+ - added type `StandalonePriceTiersSetMessage`
154
+ - added type `StandalonePriceValidFromAndUntilSetMessage`
155
+ - added type `StandalonePriceValidFromSetMessage`
156
+ - added type `StandalonePriceValidUntilSetMessage`
157
+ - added type `StandalonePriceTierAddedMessagePayload`
158
+ - added type `StandalonePriceTierRemovedMessagePayload`
159
+ - added type `StandalonePriceTiersSetMessagePayload`
160
+ - added type `StandalonePriceValidFromAndUntilSetMessagePayload`
161
+ - added type `StandalonePriceValidFromSetMessagePayload`
162
+ - added type `StandalonePriceValidUntilSetMessagePayload`
163
+ - added type `StandalonePriceAddPriceTierAction`
164
+ - added type `StandalonePriceRemovePriceTierAction`
165
+ - added type `StandalonePriceSetPriceTiersAction`
166
+ - added type `StandalonePriceSetValidFromAction`
167
+ - added type `StandalonePriceSetValidFromAndUntilAction`
168
+ - added type `StandalonePriceSetValidUntilAction`
169
+ - added type `ConfluentCloudDestination`
170
+ </details>
171
+
172
+ <details>
173
+ <summary>Added Enum(s)</summary>
174
+
175
+ - added enum `associate-role` to type `CustomFieldReferenceValue`
176
+ - added enum `business-unit` to type `CustomFieldReferenceValue`
177
+ </details>
178
+
179
+ # Import changes
180
+
181
+ <details>
182
+ <summary>Added Enum(s)</summary>
183
+
184
+ - added enum `associate-role` to type `CustomFieldReferenceValue`
185
+ - added enum `business-unit` to type `CustomFieldReferenceValue`
186
+ </details>
187
+
188
+ # History change
189
+
190
+ <details>
191
+ <summary>Added Property(s)</summary>
192
+
193
+ - added property `variantSelection` to type `AddProductChange`
194
+ </details>
195
+
196
+ <details>
197
+ <summary>Changed Property(s)</summary>
198
+
199
+ - :warning: changed property `resource` of type `Record` from type `Reference` to `ResourceIdentifier`
200
+ </details>
201
+
202
+ <details>
203
+ <summary>Added QueryParameter(s)</summary>
204
+
205
+ - added query parameter `resourceKey` to method `get /{projectKey}`
206
+ - added query parameter `resourceKey` to method `get /{projectKey}/{resourceType}`
207
+ </details>
208
+
209
+ <details>
210
+ <summary>Removed QueryParameter(s)</summary>
211
+
212
+ - :warning: removed query parameter `resourceId` from method `get /{projectKey}/{resourceType}`
213
+ </details>
214
+
215
+ <details>
216
+ <summary>Added Type(s)</summary>
217
+
218
+ - added type `AddAssociateChange`
219
+ - added type `AddProductSelectionChange`
220
+ - added type `Associate`
221
+ - added type `AssociateRoleAssignment`
222
+ - added type `AssociateRoleInheritanceMode`
223
+ - added type `BusinessUnitAssociateMode`
224
+ - added type `BusinessUnitLabel`
225
+ - added type `BusinessUnitStatus`
226
+ - added type `BusinessUnitStoreMode`
227
+ - added type `ChangeAssociateChange`
228
+ - added type `ChangeAssociateModeChange`
229
+ - added type `ChangeParentUnitChange`
230
+ - added type `ChangeProductSelectionActiveChange`
231
+ - added type `ChangeStatusChange`
232
+ - added type `ProductVariantSelection`
233
+ - added type `ProductVariantSelectionTypeEnum`
234
+ - added type `RemoveAssociateChange`
235
+ - added type `RemoveProductSelectionChange`
236
+ - added type `RequestQuoteRenegotiationChange`
237
+ - added type `ResourceIdentifier`
238
+ - added type `SetAddressCustomFieldChange`
239
+ - added type `SetAddressCustomTypeChange`
240
+ - added type `SetContactEmailChange`
241
+ - added type `SetStoreModeChange`
242
+ - added type `SetVariantSelectionChange`
243
+ </details>
244
+
245
+ <details>
246
+ <summary>Added Enum(s)</summary>
247
+
248
+ - added enum `business-unit` to type `ChangeHistoryResourceType`
249
+ - added enum `addAssociate` to type `UpdateType`
250
+ - added enum `addCustomLineItem` to type `UpdateType`
251
+ - added enum `addDiscountCode` to type `UpdateType`
252
+ - added enum `addProduct` to type `UpdateType`
253
+ - added enum `addProductSelection` to type `UpdateType`
254
+ - added enum `addProperty` to type `UpdateType`
255
+ - added enum `changeAmountAuthorized` to type `UpdateType`
256
+ - added enum `changeAssociate` to type `UpdateType`
257
+ - added enum `changeAssociateMode` to type `UpdateType`
258
+ - added enum `changeCustomLineItemQuantity` to type `UpdateType`
259
+ - added enum `changeLineItemName` to type `UpdateType`
260
+ - added enum `changeParentUnit` to type `UpdateType`
261
+ - added enum `changeProductSelectionActive` to type `UpdateType`
262
+ - added enum `changeQuoteRequestState` to type `UpdateType`
263
+ - added enum `changeQuoteState` to type `UpdateType`
264
+ - added enum `changeStagedQuoteState` to type `UpdateType`
265
+ - added enum `changeStatus` to type `UpdateType`
266
+ - added enum `changeTaxCalculationMode` to type `UpdateType`
267
+ - added enum `changeTaxMode` to type `UpdateType`
268
+ - added enum `changeTaxRoundingMode` to type `UpdateType`
269
+ - added enum `moveImageToPosition` to type `UpdateType`
270
+ - added enum `removeAssociate` to type `UpdateType`
271
+ - added enum `removeCustomLineItem` to type `UpdateType`
272
+ - added enum `removeDiscountCode` to type `UpdateType`
273
+ - added enum `removeProduct` to type `UpdateType`
274
+ - added enum `removeProductSelection` to type `UpdateType`
275
+ - added enum `removeProperty` to type `UpdateType`
276
+ - added enum `requestQuoteRenegotiation` to type `UpdateType`
277
+ - added enum `setAddressCustomField` to type `UpdateType`
278
+ - added enum `setAddressCustomType` to type `UpdateType`
279
+ - added enum `setApplicationVersion` to type `UpdateType`
280
+ - added enum `setAuthenticationMode` to type `UpdateType`
281
+ - added enum `setContactEmail` to type `UpdateType`
282
+ - added enum `setCountries` to type `UpdateType`
283
+ - added enum `setCountry` to type `UpdateType`
284
+ - added enum `setCustomLineItemMoney` to type `UpdateType`
285
+ - added enum `setCustomLineItemTaxAmount` to type `UpdateType`
286
+ - added enum `setCustomLineItemTaxCategory` to type `UpdateType`
287
+ - added enum `setCustomLineItemTaxRate` to type `UpdateType`
288
+ - added enum `setCustomLineItemTaxedPrice` to type `UpdateType`
289
+ - added enum `setCustomLineItemTotalPrice` to type `UpdateType`
290
+ - added enum `setCustomShippingMethod` to type `UpdateType`
291
+ - added enum `setIsValid` to type `UpdateType`
292
+ - added enum `setLineItemDeactivatedAt` to type `UpdateType`
293
+ - added enum `setLineItemDiscountedPrice` to type `UpdateType`
294
+ - added enum `setLineItemDiscountedPricePerQuantity` to type `UpdateType`
295
+ - added enum `setLineItemDistributionChannel` to type `UpdateType`
296
+ - added enum `setLineItemPrice` to type `UpdateType`
297
+ - added enum `setLineItemProductKey` to type `UpdateType`
298
+ - added enum `setLineItemProductSlug` to type `UpdateType`
299
+ - added enum `setLineItemTaxAmount` to type `UpdateType`
300
+ - added enum `setLineItemTaxRate` to type `UpdateType`
301
+ - added enum `setLineItemTaxedPrice` to type `UpdateType`
302
+ - added enum `setLineItemTotalPrice` to type `UpdateType`
303
+ - added enum `setOrderTaxedPrice` to type `UpdateType`
304
+ - added enum `setOrderTotalPrice` to type `UpdateType`
305
+ - added enum `setOrderTotalTax` to type `UpdateType`
306
+ - added enum `setPrices` to type `UpdateType`
307
+ - added enum `setProductCount` to type `UpdateType`
308
+ - added enum `setProductSelections` to type `UpdateType`
309
+ - added enum `setProperty` to type `UpdateType`
310
+ - added enum `setPurchaseOrderNumber` to type `UpdateType`
311
+ - added enum `setReservations` to type `UpdateType`
312
+ - added enum `setSellerComment` to type `UpdateType`
313
+ - added enum `setShippingInfoPrice` to type `UpdateType`
314
+ - added enum `setShippingInfoTaxedPrice` to type `UpdateType`
315
+ - added enum `setShippingMethod` to type `UpdateType`
316
+ - added enum `setShippingMethodTaxAmount` to type `UpdateType`
317
+ - added enum `setShippingMethodTaxRate` to type `UpdateType`
318
+ - added enum `setShippingRate` to type `UpdateType`
319
+ - added enum `setShippingRateInput` to type `UpdateType`
320
+ - added enum `setStoreMode` to type `UpdateType`
321
+ - added enum `setSupplyChannels` to type `UpdateType`
322
+ - added enum `setValidTo` to type `UpdateType`
323
+ - added enum `setValue` to type `UpdateType`
324
+ - added enum `setVariantSelection` to type `UpdateType`
325
+ - added enum `DeclinedForRenegotiation` to type `QuoteState`
326
+ - added enum `associate-role` to type `ReferenceTypeId`
327
+ - added enum `business-unit` to type `ReferenceTypeId`
328
+ </details>
329
+
3
330
  ## 3.4.1
4
331
 
5
332
  ### 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,
@@ -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,
@@ -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;
@@ -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
- resourceId?: string;
44
+ resourceKey?: string;
42
45
  source?: string;
43
46
  changes?: string | string[];
44
47
  stores?: string | string[];
@@ -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[];