@flowio/api-internal-sdk 0.0.168 → 0.0.170

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.
@@ -196,73 +196,60 @@ var AldoItemsResource = /** @class */ (function (_super) {
196
196
  return AldoItemsResource;
197
197
  }($Resource));
198
198
  export { AldoItemsResource };
199
- var AlertFailureSummariesResource = /** @class */ (function (_super) {
200
- __extends(AlertFailureSummariesResource, _super);
201
- function AlertFailureSummariesResource() {
199
+ var AllOrganizationsMembershipsResource = /** @class */ (function (_super) {
200
+ __extends(AllOrganizationsMembershipsResource, _super);
201
+ function AllOrganizationsMembershipsResource() {
202
202
  return _super !== null && _super.apply(this, arguments) || this;
203
203
  }
204
- /*Returns the most recent 100 error summaries for a service's failed events*/
205
- AlertFailureSummariesResource.prototype.get = function (params) {
206
- if (params === void 0) { params = {}; }
204
+ AllOrganizationsMembershipsResource.prototype.postAll = function (params) {
207
205
  return this.client.request({
208
- endpoint: '/internal/stats/events/failures/summaries',
206
+ body: params.body,
207
+ endpoint: '/internal/organizations/membership/all',
209
208
  headers: params.headers,
210
- method: 'GET',
209
+ method: 'POST',
211
210
  });
212
211
  };
213
- /*Returns the most recent 100 error summaries for a service's failed events*/
214
- AlertFailureSummariesResource.prototype.getByDb = function (params) {
212
+ return AllOrganizationsMembershipsResource;
213
+ }($Resource));
214
+ export { AllOrganizationsMembershipsResource };
215
+ var AnirbanItemsResource = /** @class */ (function (_super) {
216
+ __extends(AnirbanItemsResource, _super);
217
+ function AnirbanItemsResource() {
218
+ return _super !== null && _super.apply(this, arguments) || this;
219
+ }
220
+ AnirbanItemsResource.prototype.post = function (params) {
215
221
  return this.client.request({
216
- endpoint: "/internal/stats/events/failures/summaries/".concat(encodeURIComponent(params.db)),
222
+ body: params.body,
223
+ endpoint: '/anirban/items',
217
224
  headers: params.headers,
218
- method: 'GET',
219
- query: {
220
- queue: params.queue,
221
- },
225
+ method: 'POST',
222
226
  });
223
227
  };
224
- AlertFailureSummariesResource.prototype.deleteByDbAndQueueAndId = function (params) {
228
+ AnirbanItemsResource.prototype.getById = function (params) {
225
229
  return this.client.request({
226
- endpoint: "/internal/stats/events/failures/summaries/".concat(encodeURIComponent(params.db), "/").concat(encodeURIComponent(params.queue), "/").concat(encodeURIComponent(params.id)),
230
+ endpoint: "/anirban/items/".concat(encodeURIComponent(params.id)),
227
231
  headers: params.headers,
228
- method: 'DELETE',
232
+ method: 'GET',
229
233
  });
230
234
  };
231
- return AlertFailureSummariesResource;
232
- }($Resource));
233
- export { AlertFailureSummariesResource };
234
- var AlertRequeueSummariesResource = /** @class */ (function (_super) {
235
- __extends(AlertRequeueSummariesResource, _super);
236
- function AlertRequeueSummariesResource() {
237
- return _super !== null && _super.apply(this, arguments) || this;
238
- }
239
- /*Requeue failed events for the service*/
240
- AlertRequeueSummariesResource.prototype.post = function (params) {
235
+ AnirbanItemsResource.prototype.putById = function (params) {
241
236
  return this.client.request({
242
- endpoint: "/internal/stats/events/failures/".concat(encodeURIComponent(params.db), "/requeue"),
237
+ body: params.body,
238
+ endpoint: "/anirban/items/".concat(encodeURIComponent(params.id)),
243
239
  headers: params.headers,
244
- method: 'POST',
240
+ method: 'PUT',
245
241
  });
246
242
  };
247
- return AlertRequeueSummariesResource;
248
- }($Resource));
249
- export { AlertRequeueSummariesResource };
250
- var AllOrganizationsMembershipsResource = /** @class */ (function (_super) {
251
- __extends(AllOrganizationsMembershipsResource, _super);
252
- function AllOrganizationsMembershipsResource() {
253
- return _super !== null && _super.apply(this, arguments) || this;
254
- }
255
- AllOrganizationsMembershipsResource.prototype.postAll = function (params) {
243
+ AnirbanItemsResource.prototype.deleteById = function (params) {
256
244
  return this.client.request({
257
- body: params.body,
258
- endpoint: '/internal/organizations/membership/all',
245
+ endpoint: "/anirban/items/".concat(encodeURIComponent(params.id)),
259
246
  headers: params.headers,
260
- method: 'POST',
247
+ method: 'DELETE',
261
248
  });
262
249
  };
263
- return AllOrganizationsMembershipsResource;
250
+ return AnirbanItemsResource;
264
251
  }($Resource));
265
- export { AllOrganizationsMembershipsResource };
252
+ export { AnirbanItemsResource };
266
253
  var AnshItemsResource = /** @class */ (function (_super) {
267
254
  __extends(AnshItemsResource, _super);
268
255
  function AnshItemsResource() {
@@ -1172,6 +1159,40 @@ var ChannelOrderAcceptanceDetailsResource = /** @class */ (function (_super) {
1172
1159
  return ChannelOrderAcceptanceDetailsResource;
1173
1160
  }($Resource));
1174
1161
  export { ChannelOrderAcceptanceDetailsResource };
1162
+ var ChannelOrganizationPublicationOwnersResource = /** @class */ (function (_super) {
1163
+ __extends(ChannelOrganizationPublicationOwnersResource, _super);
1164
+ function ChannelOrganizationPublicationOwnersResource() {
1165
+ return _super !== null && _super.apply(this, arguments) || this;
1166
+ }
1167
+ /*Endpoint to update an organization's catalog publication owner*/
1168
+ ChannelOrganizationPublicationOwnersResource.prototype.put = function (params) {
1169
+ return this.client.request({
1170
+ body: params.body,
1171
+ endpoint: "/channels/".concat(encodeURIComponent(params.channel_id), "/organizations/").concat(encodeURIComponent(params.organization), "/publication/owner"),
1172
+ headers: params.headers,
1173
+ method: 'PUT',
1174
+ });
1175
+ };
1176
+ return ChannelOrganizationPublicationOwnersResource;
1177
+ }($Resource));
1178
+ export { ChannelOrganizationPublicationOwnersResource };
1179
+ var ChannelOrganizationSellabilityStatusesResource = /** @class */ (function (_super) {
1180
+ __extends(ChannelOrganizationSellabilityStatusesResource, _super);
1181
+ function ChannelOrganizationSellabilityStatusesResource() {
1182
+ return _super !== null && _super.apply(this, arguments) || this;
1183
+ }
1184
+ /*Endpoint to update an organization's sellability status*/
1185
+ ChannelOrganizationSellabilityStatusesResource.prototype.put = function (params) {
1186
+ return this.client.request({
1187
+ body: params.body,
1188
+ endpoint: "/channels/".concat(encodeURIComponent(params.channel_id), "/organizations/").concat(encodeURIComponent(params.organization), "/sellability/status"),
1189
+ headers: params.headers,
1190
+ method: 'PUT',
1191
+ });
1192
+ };
1193
+ return ChannelOrganizationSellabilityStatusesResource;
1194
+ }($Resource));
1195
+ export { ChannelOrganizationSellabilityStatusesResource };
1175
1196
  var ChannelOrganizationShopifyResource = /** @class */ (function (_super) {
1176
1197
  __extends(ChannelOrganizationShopifyResource, _super);
1177
1198
  function ChannelOrganizationShopifyResource() {
@@ -1634,70 +1655,6 @@ var DebugOrderTransactionsResource = /** @class */ (function (_super) {
1634
1655
  return DebugOrderTransactionsResource;
1635
1656
  }($Resource));
1636
1657
  export { DebugOrderTransactionsResource };
1637
- var DeliveredDutyOptionsResource = /** @class */ (function (_super) {
1638
- __extends(DeliveredDutyOptionsResource, _super);
1639
- function DeliveredDutyOptionsResource() {
1640
- return _super !== null && _super.apply(this, arguments) || this;
1641
- }
1642
- /*Returns available options for shipping duty display preferences.*/
1643
- DeliveredDutyOptionsResource.prototype.getOptionsAndV2 = function (params) {
1644
- return this.client.request({
1645
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.key), "/preference/display/shipping/duty/options/v2"),
1646
- headers: params.headers,
1647
- method: 'GET',
1648
- });
1649
- };
1650
- return DeliveredDutyOptionsResource;
1651
- }($Resource));
1652
- export { DeliveredDutyOptionsResource };
1653
- var DeliveredDutyPreferencesResource = /** @class */ (function (_super) {
1654
- __extends(DeliveredDutyPreferencesResource, _super);
1655
- function DeliveredDutyPreferencesResource() {
1656
- return _super !== null && _super.apply(this, arguments) || this;
1657
- }
1658
- DeliveredDutyPreferencesResource.prototype.get = function (params) {
1659
- return this.client.request({
1660
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.key), "/preference/display/shipping/duty"),
1661
- headers: params.headers,
1662
- method: 'GET',
1663
- });
1664
- };
1665
- DeliveredDutyPreferencesResource.prototype.put = function (params) {
1666
- return this.client.request({
1667
- body: params.body,
1668
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.key), "/preference/display/shipping/duty"),
1669
- headers: params.headers,
1670
- method: 'PUT',
1671
- });
1672
- };
1673
- return DeliveredDutyPreferencesResource;
1674
- }($Resource));
1675
- export { DeliveredDutyPreferencesResource };
1676
- var DiscountCodesResource = /** @class */ (function (_super) {
1677
- __extends(DiscountCodesResource, _super);
1678
- function DiscountCodesResource() {
1679
- return _super !== null && _super.apply(this, arguments) || this;
1680
- }
1681
- /*Applies the discount code on the order, if valid*/
1682
- DiscountCodesResource.prototype.put = function (params) {
1683
- return this.client.request({
1684
- body: params.body,
1685
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/discount/codes"),
1686
- headers: params.headers,
1687
- method: 'PUT',
1688
- });
1689
- };
1690
- /*Removes the discount code from the order*/
1691
- DiscountCodesResource.prototype.deleteByCode = function (params) {
1692
- return this.client.request({
1693
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/discount/codes/").concat(encodeURIComponent(params.code)),
1694
- headers: params.headers,
1695
- method: 'DELETE',
1696
- });
1697
- };
1698
- return DiscountCodesResource;
1699
- }($Resource));
1700
- export { DiscountCodesResource };
1701
1658
  var DisputesResource = /** @class */ (function (_super) {
1702
1659
  __extends(DisputesResource, _super);
1703
1660
  function DisputesResource() {
@@ -2022,6 +1979,39 @@ var ExternalFulfillmentProofsResource = /** @class */ (function (_super) {
2022
1979
  return ExternalFulfillmentProofsResource;
2023
1980
  }($Resource));
2024
1981
  export { ExternalFulfillmentProofsResource };
1982
+ var ExternalRatecardLinksResource = /** @class */ (function (_super) {
1983
+ __extends(ExternalRatecardLinksResource, _super);
1984
+ function ExternalRatecardLinksResource() {
1985
+ return _super !== null && _super.apply(this, arguments) || this;
1986
+ }
1987
+ /*Creates or replaces the external ratecard link mappings. If mappings already exist for the given external_ratecard_id, they are replaced.*/
1988
+ ExternalRatecardLinksResource.prototype.put = function (params) {
1989
+ return this.client.request({
1990
+ body: params.body,
1991
+ endpoint: '/internal/external_ratecard_link',
1992
+ headers: params.headers,
1993
+ method: 'PUT',
1994
+ });
1995
+ };
1996
+ /*Returns the external ratecard link for the given external ratecard id. Returns empty flow_ratecard_ids if no mappings exist.*/
1997
+ ExternalRatecardLinksResource.prototype.getByExternalRatecardId = function (params) {
1998
+ return this.client.request({
1999
+ endpoint: "/internal/external_ratecard_link/".concat(encodeURIComponent(params.external_ratecard_id)),
2000
+ headers: params.headers,
2001
+ method: 'GET',
2002
+ });
2003
+ };
2004
+ /*Deletes all mappings for the given external ratecard id.*/
2005
+ ExternalRatecardLinksResource.prototype.deleteByExternalRatecardId = function (params) {
2006
+ return this.client.request({
2007
+ endpoint: "/internal/external_ratecard_link/".concat(encodeURIComponent(params.external_ratecard_id)),
2008
+ headers: params.headers,
2009
+ method: 'DELETE',
2010
+ });
2011
+ };
2012
+ return ExternalRatecardLinksResource;
2013
+ }($Resource));
2014
+ export { ExternalRatecardLinksResource };
2025
2015
  var FeaturesResource = /** @class */ (function (_super) {
2026
2016
  __extends(FeaturesResource, _super);
2027
2017
  function FeaturesResource() {
@@ -2622,37 +2612,6 @@ var GenerateLoadsResource = /** @class */ (function (_super) {
2622
2612
  return GenerateLoadsResource;
2623
2613
  }($Resource));
2624
2614
  export { GenerateLoadsResource };
2625
- var GiftCardProgramsResource = /** @class */ (function (_super) {
2626
- __extends(GiftCardProgramsResource, _super);
2627
- function GiftCardProgramsResource() {
2628
- return _super !== null && _super.apply(this, arguments) || this;
2629
- }
2630
- GiftCardProgramsResource.prototype.get = function (params) {
2631
- return this.client.request({
2632
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift_cards"),
2633
- headers: params.headers,
2634
- method: 'GET',
2635
- });
2636
- };
2637
- /*Adds a potential gift card. Will be rejected if this organization is not set up to manage gift cards or if the value of the gift card cannot be determined.*/
2638
- GiftCardProgramsResource.prototype.post = function (params) {
2639
- return this.client.request({
2640
- body: params.body,
2641
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift_cards"),
2642
- headers: params.headers,
2643
- method: 'POST',
2644
- });
2645
- };
2646
- GiftCardProgramsResource.prototype.deleteById = function (params) {
2647
- return this.client.request({
2648
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift_cards/").concat(encodeURIComponent(params.id)),
2649
- headers: params.headers,
2650
- method: 'DELETE',
2651
- });
2652
- };
2653
- return GiftCardProgramsResource;
2654
- }($Resource));
2655
- export { GiftCardProgramsResource };
2656
2615
  var GlobalSearchResultsResource = /** @class */ (function (_super) {
2657
2616
  __extends(GlobalSearchResultsResource, _super);
2658
2617
  function GlobalSearchResultsResource() {
@@ -3189,139 +3148,6 @@ var CryptoEventsResource = /** @class */ (function (_super) {
3189
3148
  return CryptoEventsResource;
3190
3149
  }($Resource));
3191
3150
  export { CryptoEventsResource };
3192
- var ExperiencesResource = /** @class */ (function (_super) {
3193
- __extends(ExperiencesResource, _super);
3194
- function ExperiencesResource() {
3195
- return _super !== null && _super.apply(this, arguments) || this;
3196
- }
3197
- /*Returns localized information about 1 or more items given multiple filters. The filter is intended to match an item detail (e.g. number, attributes.product_id, attributes.brand). The items will be localized based on the experience selected by the query parameters in the order of experience, then country, then ip address.*/
3198
- ExperiencesResource.prototype.postItemsAndFilters = function (params) {
3199
- return this.client.request({
3200
- body: params.body,
3201
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/items/filters"),
3202
- headers: params.headers,
3203
- method: 'POST',
3204
- query: {
3205
- country: params.country,
3206
- currency: params.currency,
3207
- experience: params.experience,
3208
- ip: params.ip,
3209
- language: params.language,
3210
- price_selector: params.price_selector,
3211
- ship_from_country: params.ship_from_country,
3212
- ship_from_province: params.ship_from_province,
3213
- ship_to_country: params.ship_to_country,
3214
- ship_to_province: params.ship_to_province,
3215
- status: params.status,
3216
- },
3217
- });
3218
- };
3219
- /*Returns localized information about 1 or more items given a filter. The filter is intended to match an item detail (e.g. number, attributes.product_id, attributes.brand). The items will be localized based on the experience selected by the query parameters in the order of experience, then country, then ip address.*/
3220
- ExperiencesResource.prototype.postItemsAndFiltersByFilter = function (params) {
3221
- return this.client.request({
3222
- body: params.body,
3223
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/items/filters/").concat(encodeURIComponent(params.filter)),
3224
- headers: params.headers,
3225
- method: 'POST',
3226
- query: {
3227
- country: params.country,
3228
- currency: params.currency,
3229
- experience: params.experience,
3230
- ip: params.ip,
3231
- language: params.language,
3232
- price_selector: params.price_selector,
3233
- ship_from_country: params.ship_from_country,
3234
- ship_from_province: params.ship_from_province,
3235
- ship_to_country: params.ship_to_country,
3236
- ship_to_province: params.ship_to_province,
3237
- status: params.status,
3238
- },
3239
- });
3240
- };
3241
- /*Returns localized information about 0 or more items given a query for the specified experience.*/
3242
- ExperiencesResource.prototype.getItemsAndQueryByExperienceKey = function (params) {
3243
- return this.client.request({
3244
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/items/query"),
3245
- headers: params.headers,
3246
- method: 'GET',
3247
- query: {
3248
- country: params.country,
3249
- currency: params.currency,
3250
- q: params.q,
3251
- },
3252
- });
3253
- };
3254
- return ExperiencesResource;
3255
- }($Resource));
3256
- export { ExperiencesResource };
3257
- var OrdersResource = /** @class */ (function (_super) {
3258
- __extends(OrdersResource, _super);
3259
- function OrdersResource() {
3260
- return _super !== null && _super.apply(this, arguments) || this;
3261
- }
3262
- OrdersResource.prototype.getInternalByNumber = function (params) {
3263
- return this.client.request({
3264
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/internal/").concat(encodeURIComponent(params.number)),
3265
- headers: params.headers,
3266
- method: 'GET',
3267
- query: {
3268
- expand: params.expand,
3269
- },
3270
- });
3271
- };
3272
- /*Redeems all the gift card associated with an order. If a gift card fails, it is removed from the order and an error message is returned.*/
3273
- OrdersResource.prototype.postGiftAndCardAndRedemptionsByNumber = function (params) {
3274
- return this.client.request({
3275
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift/card/redemptions"),
3276
- headers: params.headers,
3277
- method: 'POST',
3278
- });
3279
- };
3280
- /*Adds a gift card to the order*/
3281
- OrdersResource.prototype.postGiftAndCardsByNumber = function (params) {
3282
- return this.client.request({
3283
- body: params.body,
3284
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift/cards"),
3285
- headers: params.headers,
3286
- method: 'POST',
3287
- });
3288
- };
3289
- /*Removes a gift card from the order*/
3290
- OrdersResource.prototype.deleteGiftAndCardsByNumberAndId = function (params) {
3291
- return this.client.request({
3292
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift/cards/").concat(encodeURIComponent(params.id)),
3293
- headers: params.headers,
3294
- method: 'DELETE',
3295
- });
3296
- };
3297
- /*Authorizes any credit payments associated with this order. Call prior to authorizing any credit payments to ensure the correct order balance is used. Any credit payments that fail will be removed.*/
3298
- OrdersResource.prototype.postGiftCardsAndAuthorizeByNumber = function (params) {
3299
- return this.client.request({
3300
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift_cards/authorize"),
3301
- headers: params.headers,
3302
- method: 'POST',
3303
- });
3304
- };
3305
- /*Updates the email address associated with this order. Fixes typos automatically (e.g. gmail.con => gmail.com) or if not possible assigns a proxy email address to the order*/
3306
- OrdersResource.prototype.putModificationsAndEmailByNumber = function (params) {
3307
- return this.client.request({
3308
- body: params.body,
3309
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/modifications/email"),
3310
- headers: params.headers,
3311
- method: 'PUT',
3312
- });
3313
- };
3314
- /*Checks to see where an order can be submitted. Will not actually mark the order as submitted. Already submitted orders are given a free pass. This operation may perform some mutation if mutation is the only way to perform the check idempotently (e.g. checks to see if gift cards can be charged may actually charge the card).*/
3315
- OrdersResource.prototype.putSubmissionsAndCheckByNumber = function (params) {
3316
- return this.client.request({
3317
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/submissions/check"),
3318
- headers: params.headers,
3319
- method: 'PUT',
3320
- });
3321
- };
3322
- return OrdersResource;
3323
- }($Resource));
3324
- export { OrdersResource };
3325
3151
  var PaypalDisputeEventsResource = /** @class */ (function (_super) {
3326
3152
  __extends(PaypalDisputeEventsResource, _super);
3327
3153
  function PaypalDisputeEventsResource() {
@@ -3842,70 +3668,6 @@ var ItemRestrictionsResource = /** @class */ (function (_super) {
3842
3668
  return ItemRestrictionsResource;
3843
3669
  }($Resource));
3844
3670
  export { ItemRestrictionsResource };
3845
- var ItemSalesMarginsResource = /** @class */ (function (_super) {
3846
- __extends(ItemSalesMarginsResource, _super);
3847
- function ItemSalesMarginsResource() {
3848
- return _super !== null && _super.apply(this, arguments) || this;
3849
- }
3850
- ItemSalesMarginsResource.prototype.getSalesMargins = function (params) {
3851
- return this.client.request({
3852
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/sales-margins"),
3853
- headers: params.headers,
3854
- method: 'GET',
3855
- query: {
3856
- id: params.id,
3857
- limit: params.limit,
3858
- offset: params.offset,
3859
- sort: params.sort,
3860
- },
3861
- });
3862
- };
3863
- ItemSalesMarginsResource.prototype.postSalesMargins = function (params) {
3864
- return this.client.request({
3865
- body: params.body,
3866
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/sales-margins"),
3867
- headers: params.headers,
3868
- method: 'POST',
3869
- });
3870
- };
3871
- ItemSalesMarginsResource.prototype.getSalesMarginsAndVersions = function (params) {
3872
- return this.client.request({
3873
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/sales-margins/versions"),
3874
- headers: params.headers,
3875
- method: 'GET',
3876
- query: {
3877
- id: params.id,
3878
- limit: params.limit,
3879
- offset: params.offset,
3880
- sort: params.sort,
3881
- },
3882
- });
3883
- };
3884
- ItemSalesMarginsResource.prototype.getSalesMarginsByKey = function (params) {
3885
- return this.client.request({
3886
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/sales-margins/").concat(encodeURIComponent(params.key)),
3887
- headers: params.headers,
3888
- method: 'GET',
3889
- });
3890
- };
3891
- ItemSalesMarginsResource.prototype.putSalesMarginsByKey = function (params) {
3892
- return this.client.request({
3893
- body: params.body,
3894
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/sales-margins/").concat(encodeURIComponent(params.key)),
3895
- headers: params.headers,
3896
- method: 'PUT',
3897
- });
3898
- };
3899
- ItemSalesMarginsResource.prototype.deleteSalesMarginsByKey = function (params) {
3900
- return this.client.request({
3901
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/sales-margins/").concat(encodeURIComponent(params.key)),
3902
- headers: params.headers,
3903
- method: 'DELETE',
3904
- });
3905
- };
3906
- return ItemSalesMarginsResource;
3907
- }($Resource));
3908
- export { ItemSalesMarginsResource };
3909
3671
  var JeanDemoItemsResource = /** @class */ (function (_super) {
3910
3672
  __extends(JeanDemoItemsResource, _super);
3911
3673
  function JeanDemoItemsResource() {
@@ -4111,21 +3873,6 @@ var LabelTaxonomyResource = /** @class */ (function (_super) {
4111
3873
  return LabelTaxonomyResource;
4112
3874
  }($Resource));
4113
3875
  export { LabelTaxonomyResource };
4114
- var LevyRateSummariesResource = /** @class */ (function (_super) {
4115
- __extends(LevyRateSummariesResource, _super);
4116
- function LevyRateSummariesResource() {
4117
- return _super !== null && _super.apply(this, arguments) || this;
4118
- }
4119
- LevyRateSummariesResource.prototype.get = function (params) {
4120
- return this.client.request({
4121
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/levy/rate/summary"),
4122
- headers: params.headers,
4123
- method: 'GET',
4124
- });
4125
- };
4126
- return LevyRateSummariesResource;
4127
- }($Resource));
4128
- export { LevyRateSummariesResource };
4129
3876
  var LiabilityRemittancePlansResource = /** @class */ (function (_super) {
4130
3877
  __extends(LiabilityRemittancePlansResource, _super);
4131
3878
  function LiabilityRemittancePlansResource() {
@@ -4244,36 +3991,6 @@ var LostChargebacksResource = /** @class */ (function (_super) {
4244
3991
  return LostChargebacksResource;
4245
3992
  }($Resource));
4246
3993
  export { LostChargebacksResource };
4247
- var LoyaltyProgramsResource = /** @class */ (function (_super) {
4248
- __extends(LoyaltyProgramsResource, _super);
4249
- function LoyaltyProgramsResource() {
4250
- return _super !== null && _super.apply(this, arguments) || this;
4251
- }
4252
- LoyaltyProgramsResource.prototype.get = function (params) {
4253
- return this.client.request({
4254
- endpoint: "/".concat(encodeURIComponent(params.organization), "/loyalty/").concat(encodeURIComponent(params.number)),
4255
- headers: params.headers,
4256
- method: 'GET',
4257
- });
4258
- };
4259
- LoyaltyProgramsResource.prototype.post = function (params) {
4260
- return this.client.request({
4261
- body: params.body,
4262
- endpoint: "/".concat(encodeURIComponent(params.organization), "/loyalty/").concat(encodeURIComponent(params.number)),
4263
- headers: params.headers,
4264
- method: 'POST',
4265
- });
4266
- };
4267
- LoyaltyProgramsResource.prototype.deleteById = function (params) {
4268
- return this.client.request({
4269
- endpoint: "/".concat(encodeURIComponent(params.organization), "/loyalty/").concat(encodeURIComponent(params.number), "/").concat(encodeURIComponent(params.id)),
4270
- headers: params.headers,
4271
- method: 'DELETE',
4272
- });
4273
- };
4274
- return LoyaltyProgramsResource;
4275
- }($Resource));
4276
- export { LoyaltyProgramsResource };
4277
3994
  var ManualReviewRulesResource = /** @class */ (function (_super) {
4278
3995
  __extends(ManualReviewRulesResource, _super);
4279
3996
  function ManualReviewRulesResource() {
@@ -4631,27 +4348,6 @@ var OnboardingAuditReportsResource = /** @class */ (function (_super) {
4631
4348
  return OnboardingAuditReportsResource;
4632
4349
  }($Resource));
4633
4350
  export { OnboardingAuditReportsResource };
4634
- var OnboardingAuditSnapshotsResource = /** @class */ (function (_super) {
4635
- __extends(OnboardingAuditSnapshotsResource, _super);
4636
- function OnboardingAuditSnapshotsResource() {
4637
- return _super !== null && _super.apply(this, arguments) || this;
4638
- }
4639
- /*Returns historical organization audit snapshots sorted by created_at desc.*/
4640
- OnboardingAuditSnapshotsResource.prototype.get = function (params) {
4641
- return this.client.request({
4642
- endpoint: "/internal/".concat(encodeURIComponent(params.organization_id), "/onboarding/audit/snapshots"),
4643
- headers: params.headers,
4644
- method: 'GET',
4645
- query: {
4646
- id: params.id,
4647
- limit: params.limit,
4648
- offset: params.offset,
4649
- },
4650
- });
4651
- };
4652
- return OnboardingAuditSnapshotsResource;
4653
- }($Resource));
4654
- export { OnboardingAuditSnapshotsResource };
4655
4351
  var OnboardingOrganizationsResource = /** @class */ (function (_super) {
4656
4352
  __extends(OnboardingOrganizationsResource, _super);
4657
4353
  function OnboardingOrganizationsResource() {
@@ -4902,26 +4598,6 @@ var OrderDetailsResource = /** @class */ (function (_super) {
4902
4598
  return OrderDetailsResource;
4903
4599
  }($Resource));
4904
4600
  export { OrderDetailsResource };
4905
- var OrderPaymentAuthorizationsResource = /** @class */ (function (_super) {
4906
- __extends(OrderPaymentAuthorizationsResource, _super);
4907
- function OrderPaymentAuthorizationsResource() {
4908
- return _super !== null && _super.apply(this, arguments) || this;
4909
- }
4910
- /*Create a new authorization for this order.*/
4911
- OrderPaymentAuthorizationsResource.prototype.post = function (params) {
4912
- return this.client.request({
4913
- body: params.body,
4914
- endpoint: "/".concat(encodeURIComponent(params.organization), "/order/payments/authorization"),
4915
- headers: params.headers,
4916
- method: 'POST',
4917
- query: {
4918
- expand: params.expand,
4919
- },
4920
- });
4921
- };
4922
- return OrderPaymentAuthorizationsResource;
4923
- }($Resource));
4924
- export { OrderPaymentAuthorizationsResource };
4925
4601
  var OrderRevenueRegionChartsResource = /** @class */ (function (_super) {
4926
4602
  __extends(OrderRevenueRegionChartsResource, _super);
4927
4603
  function OrderRevenueRegionChartsResource() {
@@ -5350,29 +5026,6 @@ var OrganizationRestrictionStatusNotesResource = /** @class */ (function (_super
5350
5026
  return OrganizationRestrictionStatusNotesResource;
5351
5027
  }($Resource));
5352
5028
  export { OrganizationRestrictionStatusNotesResource };
5353
- var OrganizationSettingsResource = /** @class */ (function (_super) {
5354
- __extends(OrganizationSettingsResource, _super);
5355
- function OrganizationSettingsResource() {
5356
- return _super !== null && _super.apply(this, arguments) || this;
5357
- }
5358
- OrganizationSettingsResource.prototype.get = function (params) {
5359
- return this.client.request({
5360
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experience/settings"),
5361
- headers: params.headers,
5362
- method: 'GET',
5363
- });
5364
- };
5365
- OrganizationSettingsResource.prototype.put = function (params) {
5366
- return this.client.request({
5367
- body: params.body,
5368
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experience/settings"),
5369
- headers: params.headers,
5370
- method: 'PUT',
5371
- });
5372
- };
5373
- return OrganizationSettingsResource;
5374
- }($Resource));
5375
- export { OrganizationSettingsResource };
5376
5029
  var OrganizationsAuditCheckReportsResource = /** @class */ (function (_super) {
5377
5030
  __extends(OrganizationsAuditCheckReportsResource, _super);
5378
5031
  function OrganizationsAuditCheckReportsResource() {
@@ -6456,6 +6109,7 @@ var RestrictionItemsResource = /** @class */ (function (_super) {
6456
6109
  method: 'GET',
6457
6110
  query: {
6458
6111
  category: params.category,
6112
+ exclude_items_with_pc: params.exclude_items_with_pc,
6459
6113
  hs6: params.hs6,
6460
6114
  limit: params.limit,
6461
6115
  negative_keywords: params.negative_keywords,
@@ -6930,21 +6584,6 @@ var ScreensResource = /** @class */ (function (_super) {
6930
6584
  return ScreensResource;
6931
6585
  }($Resource));
6932
6586
  export { ScreensResource };
6933
- var SessionOrderDataResource = /** @class */ (function (_super) {
6934
- __extends(SessionOrderDataResource, _super);
6935
- function SessionOrderDataResource() {
6936
- return _super !== null && _super.apply(this, arguments) || this;
6937
- }
6938
- SessionOrderDataResource.prototype.getBySessionId = function (params) {
6939
- return this.client.request({
6940
- endpoint: "/session/order/data/".concat(encodeURIComponent(params.session_id)),
6941
- headers: params.headers,
6942
- method: 'GET',
6943
- });
6944
- };
6945
- return SessionOrderDataResource;
6946
- }($Resource));
6947
- export { SessionOrderDataResource };
6948
6587
  var ShippingLanesResource = /** @class */ (function (_super) {
6949
6588
  __extends(ShippingLanesResource, _super);
6950
6589
  function ShippingLanesResource() {
@@ -7136,37 +6775,6 @@ var ShopifyMonitoringOrderMonitorsResource = /** @class */ (function (_super) {
7136
6775
  return ShopifyMonitoringOrderMonitorsResource;
7137
6776
  }($Resource));
7138
6777
  export { ShopifyMonitoringOrderMonitorsResource };
7139
- var ShopifyMonitoringOrderMonitorReviewsResource = /** @class */ (function (_super) {
7140
- __extends(ShopifyMonitoringOrderMonitorReviewsResource, _super);
7141
- function ShopifyMonitoringOrderMonitorReviewsResource() {
7142
- return _super !== null && _super.apply(this, arguments) || this;
7143
- }
7144
- ShopifyMonitoringOrderMonitorReviewsResource.prototype.get = function (params) {
7145
- return this.client.request({
7146
- endpoint: '/internal/shopify/monitoring/order/monitor/reviews',
7147
- headers: params.headers,
7148
- method: 'GET',
7149
- query: {
7150
- id: params.id,
7151
- limit: params.limit,
7152
- offset: params.offset,
7153
- order_monitor_id: params.order_monitor_id,
7154
- organization: params.organization,
7155
- sort: params.sort,
7156
- status: params.status,
7157
- },
7158
- });
7159
- };
7160
- ShopifyMonitoringOrderMonitorReviewsResource.prototype.putStatusByIdAndStatus = function (params) {
7161
- return this.client.request({
7162
- endpoint: "/internal/shopify/monitoring/order/monitor/reviews/".concat(encodeURIComponent(params.id), "/status/").concat(encodeURIComponent(params.status)),
7163
- headers: params.headers,
7164
- method: 'PUT',
7165
- });
7166
- };
7167
- return ShopifyMonitoringOrderMonitorReviewsResource;
7168
- }($Resource));
7169
- export { ShopifyMonitoringOrderMonitorReviewsResource };
7170
6778
  var ShopifyOrderFulfillmentsSnapshotsResource = /** @class */ (function (_super) {
7171
6779
  __extends(ShopifyOrderFulfillmentsSnapshotsResource, _super);
7172
6780
  function ShopifyOrderFulfillmentsSnapshotsResource() {
@@ -7232,6 +6840,51 @@ var ShopifyStripeEventsResource = /** @class */ (function (_super) {
7232
6840
  return ShopifyStripeEventsResource;
7233
6841
  }($Resource));
7234
6842
  export { ShopifyStripeEventsResource };
6843
+ var ShopifyTaxonomyAlignmentConfigsResource = /** @class */ (function (_super) {
6844
+ __extends(ShopifyTaxonomyAlignmentConfigsResource, _super);
6845
+ function ShopifyTaxonomyAlignmentConfigsResource() {
6846
+ return _super !== null && _super.apply(this, arguments) || this;
6847
+ }
6848
+ /*Retrieve shopify taxonomy alignment configs*/
6849
+ ShopifyTaxonomyAlignmentConfigsResource.prototype.get = function (params) {
6850
+ return this.client.request({
6851
+ endpoint: '/classification/taxonomy/alignment/config',
6852
+ headers: params.headers,
6853
+ method: 'GET',
6854
+ query: {
6855
+ limit: params.limit,
6856
+ offset: params.offset,
6857
+ sort: params.sort,
6858
+ },
6859
+ });
6860
+ };
6861
+ /*Upsert a shopify taxonomy alignment config*/
6862
+ ShopifyTaxonomyAlignmentConfigsResource.prototype.put = function (params) {
6863
+ return this.client.request({
6864
+ body: params.body,
6865
+ endpoint: '/classification/taxonomy/alignment/config',
6866
+ headers: params.headers,
6867
+ method: 'PUT',
6868
+ });
6869
+ };
6870
+ ShopifyTaxonomyAlignmentConfigsResource.prototype.getById = function (params) {
6871
+ return this.client.request({
6872
+ endpoint: "/classification/taxonomy/alignment/config/".concat(encodeURIComponent(params.id)),
6873
+ headers: params.headers,
6874
+ method: 'GET',
6875
+ });
6876
+ };
6877
+ /*Delete shopify taxonomy alignment config*/
6878
+ ShopifyTaxonomyAlignmentConfigsResource.prototype.deleteById = function (params) {
6879
+ return this.client.request({
6880
+ endpoint: "/classification/taxonomy/alignment/config/".concat(encodeURIComponent(params.id)),
6881
+ headers: params.headers,
6882
+ method: 'DELETE',
6883
+ });
6884
+ };
6885
+ return ShopifyTaxonomyAlignmentConfigsResource;
6886
+ }($Resource));
6887
+ export { ShopifyTaxonomyAlignmentConfigsResource };
7235
6888
  var SmpTaxCalculationFormsResource = /** @class */ (function (_super) {
7236
6889
  __extends(SmpTaxCalculationFormsResource, _super);
7237
6890
  function SmpTaxCalculationFormsResource() {
@@ -7826,9 +7479,8 @@ export function createClient(options) {
7826
7479
  accountPaymentHolds: new AccountPaymentHoldsResource(options),
7827
7480
  aftershipWebhooks: new AftershipWebhooksResource(options),
7828
7481
  aldoItems: new AldoItemsResource(options),
7829
- alertFailureSummaries: new AlertFailureSummariesResource(options),
7830
- alertRequeueSummaries: new AlertRequeueSummariesResource(options),
7831
7482
  allOrganizationsMemberships: new AllOrganizationsMembershipsResource(options),
7483
+ anirbanItems: new AnirbanItemsResource(options),
7832
7484
  anshItems: new AnshItemsResource(options),
7833
7485
  bankPayments: new BankPaymentsResource(options),
7834
7486
  bankPaymentDetails: new BankPaymentDetailsResource(options),
@@ -7855,6 +7507,8 @@ export function createClient(options) {
7855
7507
  channelOrders: new ChannelOrdersResource(options),
7856
7508
  channelOrderAcceptances: new ChannelOrderAcceptancesResource(options),
7857
7509
  channelOrderAcceptanceDetails: new ChannelOrderAcceptanceDetailsResource(options),
7510
+ channelOrganizationPublicationOwners: new ChannelOrganizationPublicationOwnersResource(options),
7511
+ channelOrganizationSellabilityStatuses: new ChannelOrganizationSellabilityStatusesResource(options),
7858
7512
  channelOrganizationShopify: new ChannelOrganizationShopifyResource(options),
7859
7513
  chargebacks: new ChargebacksResource(options),
7860
7514
  ciphers: new CiphersResource(options),
@@ -7874,9 +7528,6 @@ export function createClient(options) {
7874
7528
  databases: new DatabasesResource(options),
7875
7529
  debugOrders: new DebugOrdersResource(options),
7876
7530
  debugOrderTransactions: new DebugOrderTransactionsResource(options),
7877
- deliveredDutyOptions: new DeliveredDutyOptionsResource(options),
7878
- deliveredDutyPreferences: new DeliveredDutyPreferencesResource(options),
7879
- discountCodes: new DiscountCodesResource(options),
7880
7531
  disputes: new DisputesResource(options),
7881
7532
  dutyInternalRates: new DutyInternalRatesResource(options),
7882
7533
  erpFlowFiles: new ErpFlowFilesResource(options),
@@ -7886,6 +7537,7 @@ export function createClient(options) {
7886
7537
  erpVendorStatuses: new ErpVendorStatusesResource(options),
7887
7538
  explicitStatements: new ExplicitStatementsResource(options),
7888
7539
  externalFulfillmentProofs: new ExternalFulfillmentProofsResource(options),
7540
+ externalRatecardLinks: new ExternalRatecardLinksResource(options),
7889
7541
  features: new FeaturesResource(options),
7890
7542
  featureValues: new FeatureValuesResource(options),
7891
7543
  financeBankAccounts: new FinanceBankAccountsResource(options),
@@ -7902,7 +7554,6 @@ export function createClient(options) {
7902
7554
  fraudReviews: new FraudReviewsResource(options),
7903
7555
  fraudReviewDecisions: new FraudReviewDecisionsResource(options),
7904
7556
  generateLoads: new GenerateLoadsResource(options),
7905
- giftCardPrograms: new GiftCardProgramsResource(options),
7906
7557
  globalSearchResults: new GlobalSearchResultsResource(options),
7907
7558
  harmonizationItemClassifications: new HarmonizationItemClassificationsResource(options),
7908
7559
  harmonizationThresholds: new HarmonizationThresholdsResource(options),
@@ -7922,8 +7573,6 @@ export function createClient(options) {
7922
7573
  channelCurrencies: new ChannelCurrenciesResource(options),
7923
7574
  users: new UsersResource(options),
7924
7575
  cryptoEvents: new CryptoEventsResource(options),
7925
- experiences: new ExperiencesResource(options),
7926
- orders: new OrdersResource(options),
7927
7576
  paypalDisputeEvents: new PaypalDisputeEventsResource(options),
7928
7577
  webhookEvents: new WebhookEventsResource(options),
7929
7578
  ultimateBeneficiaryOwners: new UltimateBeneficiaryOwnersResource(options),
@@ -7946,7 +7595,6 @@ export function createClient(options) {
7946
7595
  itemClassificationSummaries: new ItemClassificationSummariesResource(options),
7947
7596
  itemHarmonizations: new ItemHarmonizationsResource(options),
7948
7597
  itemRestrictions: new ItemRestrictionsResource(options),
7949
- itemSalesMargins: new ItemSalesMarginsResource(options),
7950
7598
  jeanDemoItems: new JeanDemoItemsResource(options),
7951
7599
  journals: new JournalsResource(options),
7952
7600
  keys: new KeysResource(options),
@@ -7954,12 +7602,10 @@ export function createClient(options) {
7954
7602
  labelGenerationSettings: new LabelGenerationSettingsResource(options),
7955
7603
  labelRequestResults: new LabelRequestResultsResource(options),
7956
7604
  labelTaxonomy: new LabelTaxonomyResource(options),
7957
- levyRateSummaries: new LevyRateSummariesResource(options),
7958
7605
  liabilityRemittancePlans: new LiabilityRemittancePlansResource(options),
7959
7606
  logisticsCapabilities: new LogisticsCapabilitiesResource(options),
7960
7607
  logisticsPayoutRequests: new LogisticsPayoutRequestsResource(options),
7961
7608
  lostChargebacks: new LostChargebacksResource(options),
7962
- loyaltyPrograms: new LoyaltyProgramsResource(options),
7963
7609
  manualReviewRules: new ManualReviewRulesResource(options),
7964
7610
  marketsOrders: new MarketsOrdersResource(options),
7965
7611
  marketsOrderSummaries: new MarketsOrderSummariesResource(options),
@@ -7970,13 +7616,11 @@ export function createClient(options) {
7970
7616
  negativeDebitMetrics: new NegativeDebitMetricsResource(options),
7971
7617
  niallItems: new NiallItemsResource(options),
7972
7618
  onboardingAuditReports: new OnboardingAuditReportsResource(options),
7973
- onboardingAuditSnapshots: new OnboardingAuditSnapshotsResource(options),
7974
7619
  onboardingOrganizations: new OnboardingOrganizationsResource(options),
7975
7620
  orderAddressValidations: new OrderAddressValidationsResource(options),
7976
7621
  orderCancellations: new OrderCancellationsResource(options),
7977
7622
  orderCombinedShipments: new OrderCombinedShipmentsResource(options),
7978
7623
  orderDetails: new OrderDetailsResource(options),
7979
- orderPaymentAuthorizations: new OrderPaymentAuthorizationsResource(options),
7980
7624
  orderRevenueRegionCharts: new OrderRevenueRegionChartsResource(options),
7981
7625
  orderRevenueTimelineCharts: new OrderRevenueTimelineChartsResource(options),
7982
7626
  organizationAccounts: new OrganizationAccountsResource(options),
@@ -7989,7 +7633,6 @@ export function createClient(options) {
7989
7633
  organizationPaymentSettings: new OrganizationPaymentSettingsResource(options),
7990
7634
  organizationRestrictionStatuses: new OrganizationRestrictionStatusesResource(options),
7991
7635
  organizationRestrictionStatusNotes: new OrganizationRestrictionStatusNotesResource(options),
7992
- organizationSettings: new OrganizationSettingsResource(options),
7993
7636
  organizationsAuditCheckReports: new OrganizationsAuditCheckReportsResource(options),
7994
7637
  partners: new PartnersResource(options),
7995
7638
  partnerAuthorizations: new PartnerAuthorizationsResource(options),
@@ -8034,7 +7677,6 @@ export function createClient(options) {
8034
7677
  sandboxSetups: new SandboxSetupsResource(options),
8035
7678
  sarveshItems: new SarveshItemsResource(options),
8036
7679
  screens: new ScreensResource(options),
8037
- sessionOrderData: new SessionOrderDataResource(options),
8038
7680
  shippingLanes: new ShippingLanesResource(options),
8039
7681
  shopifyMarketsOrderVersionWithShopIds: new ShopifyMarketsOrderVersionWithShopIdsResource(options),
8040
7682
  shopifyMarketsQueuedRecords: new ShopifyMarketsQueuedRecordsResource(options),
@@ -8043,11 +7685,11 @@ export function createClient(options) {
8043
7685
  shopifyMarketsSyncs: new ShopifyMarketsSyncsResource(options),
8044
7686
  shopifyMarketsWebhookRegistrations: new ShopifyMarketsWebhookRegistrationsResource(options),
8045
7687
  shopifyMonitoringOrderMonitors: new ShopifyMonitoringOrderMonitorsResource(options),
8046
- shopifyMonitoringOrderMonitorReviews: new ShopifyMonitoringOrderMonitorReviewsResource(options),
8047
7688
  shopifyOrderFulfillmentsSnapshots: new ShopifyOrderFulfillmentsSnapshotsResource(options),
8048
7689
  shopifyPartnerWebhooks: new ShopifyPartnerWebhooksResource(options),
8049
7690
  shopifyStoreDetails: new ShopifyStoreDetailsResource(options),
8050
7691
  shopifyStripeEvents: new ShopifyStripeEventsResource(options),
7692
+ shopifyTaxonomyAlignmentConfigs: new ShopifyTaxonomyAlignmentConfigsResource(options),
8051
7693
  smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
8052
7694
  snoozes: new SnoozesResource(options),
8053
7695
  spotRates: new SpotRatesResource(options),