@flowio/api-internal-sdk 0.0.169 → 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.
@@ -212,6 +212,44 @@ var AllOrganizationsMembershipsResource = /** @class */ (function (_super) {
212
212
  return AllOrganizationsMembershipsResource;
213
213
  }($Resource));
214
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) {
221
+ return this.client.request({
222
+ body: params.body,
223
+ endpoint: '/anirban/items',
224
+ headers: params.headers,
225
+ method: 'POST',
226
+ });
227
+ };
228
+ AnirbanItemsResource.prototype.getById = function (params) {
229
+ return this.client.request({
230
+ endpoint: "/anirban/items/".concat(encodeURIComponent(params.id)),
231
+ headers: params.headers,
232
+ method: 'GET',
233
+ });
234
+ };
235
+ AnirbanItemsResource.prototype.putById = function (params) {
236
+ return this.client.request({
237
+ body: params.body,
238
+ endpoint: "/anirban/items/".concat(encodeURIComponent(params.id)),
239
+ headers: params.headers,
240
+ method: 'PUT',
241
+ });
242
+ };
243
+ AnirbanItemsResource.prototype.deleteById = function (params) {
244
+ return this.client.request({
245
+ endpoint: "/anirban/items/".concat(encodeURIComponent(params.id)),
246
+ headers: params.headers,
247
+ method: 'DELETE',
248
+ });
249
+ };
250
+ return AnirbanItemsResource;
251
+ }($Resource));
252
+ export { AnirbanItemsResource };
215
253
  var AnshItemsResource = /** @class */ (function (_super) {
216
254
  __extends(AnshItemsResource, _super);
217
255
  function AnshItemsResource() {
@@ -1121,6 +1159,40 @@ var ChannelOrderAcceptanceDetailsResource = /** @class */ (function (_super) {
1121
1159
  return ChannelOrderAcceptanceDetailsResource;
1122
1160
  }($Resource));
1123
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 };
1124
1196
  var ChannelOrganizationShopifyResource = /** @class */ (function (_super) {
1125
1197
  __extends(ChannelOrganizationShopifyResource, _super);
1126
1198
  function ChannelOrganizationShopifyResource() {
@@ -1583,70 +1655,6 @@ var DebugOrderTransactionsResource = /** @class */ (function (_super) {
1583
1655
  return DebugOrderTransactionsResource;
1584
1656
  }($Resource));
1585
1657
  export { DebugOrderTransactionsResource };
1586
- var DeliveredDutyOptionsResource = /** @class */ (function (_super) {
1587
- __extends(DeliveredDutyOptionsResource, _super);
1588
- function DeliveredDutyOptionsResource() {
1589
- return _super !== null && _super.apply(this, arguments) || this;
1590
- }
1591
- /*Returns available options for shipping duty display preferences.*/
1592
- DeliveredDutyOptionsResource.prototype.getOptionsAndV2 = function (params) {
1593
- return this.client.request({
1594
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.key), "/preference/display/shipping/duty/options/v2"),
1595
- headers: params.headers,
1596
- method: 'GET',
1597
- });
1598
- };
1599
- return DeliveredDutyOptionsResource;
1600
- }($Resource));
1601
- export { DeliveredDutyOptionsResource };
1602
- var DeliveredDutyPreferencesResource = /** @class */ (function (_super) {
1603
- __extends(DeliveredDutyPreferencesResource, _super);
1604
- function DeliveredDutyPreferencesResource() {
1605
- return _super !== null && _super.apply(this, arguments) || this;
1606
- }
1607
- DeliveredDutyPreferencesResource.prototype.get = function (params) {
1608
- return this.client.request({
1609
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.key), "/preference/display/shipping/duty"),
1610
- headers: params.headers,
1611
- method: 'GET',
1612
- });
1613
- };
1614
- DeliveredDutyPreferencesResource.prototype.put = function (params) {
1615
- return this.client.request({
1616
- body: params.body,
1617
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.key), "/preference/display/shipping/duty"),
1618
- headers: params.headers,
1619
- method: 'PUT',
1620
- });
1621
- };
1622
- return DeliveredDutyPreferencesResource;
1623
- }($Resource));
1624
- export { DeliveredDutyPreferencesResource };
1625
- var DiscountCodesResource = /** @class */ (function (_super) {
1626
- __extends(DiscountCodesResource, _super);
1627
- function DiscountCodesResource() {
1628
- return _super !== null && _super.apply(this, arguments) || this;
1629
- }
1630
- /*Applies the discount code on the order, if valid*/
1631
- DiscountCodesResource.prototype.put = function (params) {
1632
- return this.client.request({
1633
- body: params.body,
1634
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/discount/codes"),
1635
- headers: params.headers,
1636
- method: 'PUT',
1637
- });
1638
- };
1639
- /*Removes the discount code from the order*/
1640
- DiscountCodesResource.prototype.deleteByCode = function (params) {
1641
- return this.client.request({
1642
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/discount/codes/").concat(encodeURIComponent(params.code)),
1643
- headers: params.headers,
1644
- method: 'DELETE',
1645
- });
1646
- };
1647
- return DiscountCodesResource;
1648
- }($Resource));
1649
- export { DiscountCodesResource };
1650
1658
  var DisputesResource = /** @class */ (function (_super) {
1651
1659
  __extends(DisputesResource, _super);
1652
1660
  function DisputesResource() {
@@ -1971,6 +1979,39 @@ var ExternalFulfillmentProofsResource = /** @class */ (function (_super) {
1971
1979
  return ExternalFulfillmentProofsResource;
1972
1980
  }($Resource));
1973
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 };
1974
2015
  var FeaturesResource = /** @class */ (function (_super) {
1975
2016
  __extends(FeaturesResource, _super);
1976
2017
  function FeaturesResource() {
@@ -2571,37 +2612,6 @@ var GenerateLoadsResource = /** @class */ (function (_super) {
2571
2612
  return GenerateLoadsResource;
2572
2613
  }($Resource));
2573
2614
  export { GenerateLoadsResource };
2574
- var GiftCardProgramsResource = /** @class */ (function (_super) {
2575
- __extends(GiftCardProgramsResource, _super);
2576
- function GiftCardProgramsResource() {
2577
- return _super !== null && _super.apply(this, arguments) || this;
2578
- }
2579
- GiftCardProgramsResource.prototype.get = function (params) {
2580
- return this.client.request({
2581
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift_cards"),
2582
- headers: params.headers,
2583
- method: 'GET',
2584
- });
2585
- };
2586
- /*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.*/
2587
- GiftCardProgramsResource.prototype.post = function (params) {
2588
- return this.client.request({
2589
- body: params.body,
2590
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift_cards"),
2591
- headers: params.headers,
2592
- method: 'POST',
2593
- });
2594
- };
2595
- GiftCardProgramsResource.prototype.deleteById = function (params) {
2596
- return this.client.request({
2597
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift_cards/").concat(encodeURIComponent(params.id)),
2598
- headers: params.headers,
2599
- method: 'DELETE',
2600
- });
2601
- };
2602
- return GiftCardProgramsResource;
2603
- }($Resource));
2604
- export { GiftCardProgramsResource };
2605
2615
  var GlobalSearchResultsResource = /** @class */ (function (_super) {
2606
2616
  __extends(GlobalSearchResultsResource, _super);
2607
2617
  function GlobalSearchResultsResource() {
@@ -3138,139 +3148,6 @@ var CryptoEventsResource = /** @class */ (function (_super) {
3138
3148
  return CryptoEventsResource;
3139
3149
  }($Resource));
3140
3150
  export { CryptoEventsResource };
3141
- var ExperiencesResource = /** @class */ (function (_super) {
3142
- __extends(ExperiencesResource, _super);
3143
- function ExperiencesResource() {
3144
- return _super !== null && _super.apply(this, arguments) || this;
3145
- }
3146
- /*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.*/
3147
- ExperiencesResource.prototype.postItemsAndFilters = function (params) {
3148
- return this.client.request({
3149
- body: params.body,
3150
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/items/filters"),
3151
- headers: params.headers,
3152
- method: 'POST',
3153
- query: {
3154
- country: params.country,
3155
- currency: params.currency,
3156
- experience: params.experience,
3157
- ip: params.ip,
3158
- language: params.language,
3159
- price_selector: params.price_selector,
3160
- ship_from_country: params.ship_from_country,
3161
- ship_from_province: params.ship_from_province,
3162
- ship_to_country: params.ship_to_country,
3163
- ship_to_province: params.ship_to_province,
3164
- status: params.status,
3165
- },
3166
- });
3167
- };
3168
- /*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.*/
3169
- ExperiencesResource.prototype.postItemsAndFiltersByFilter = function (params) {
3170
- return this.client.request({
3171
- body: params.body,
3172
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/items/filters/").concat(encodeURIComponent(params.filter)),
3173
- headers: params.headers,
3174
- method: 'POST',
3175
- query: {
3176
- country: params.country,
3177
- currency: params.currency,
3178
- experience: params.experience,
3179
- ip: params.ip,
3180
- language: params.language,
3181
- price_selector: params.price_selector,
3182
- ship_from_country: params.ship_from_country,
3183
- ship_from_province: params.ship_from_province,
3184
- ship_to_country: params.ship_to_country,
3185
- ship_to_province: params.ship_to_province,
3186
- status: params.status,
3187
- },
3188
- });
3189
- };
3190
- /*Returns localized information about 0 or more items given a query for the specified experience.*/
3191
- ExperiencesResource.prototype.getItemsAndQueryByExperienceKey = function (params) {
3192
- return this.client.request({
3193
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/items/query"),
3194
- headers: params.headers,
3195
- method: 'GET',
3196
- query: {
3197
- country: params.country,
3198
- currency: params.currency,
3199
- q: params.q,
3200
- },
3201
- });
3202
- };
3203
- return ExperiencesResource;
3204
- }($Resource));
3205
- export { ExperiencesResource };
3206
- var OrdersResource = /** @class */ (function (_super) {
3207
- __extends(OrdersResource, _super);
3208
- function OrdersResource() {
3209
- return _super !== null && _super.apply(this, arguments) || this;
3210
- }
3211
- OrdersResource.prototype.getInternalByNumber = function (params) {
3212
- return this.client.request({
3213
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/internal/").concat(encodeURIComponent(params.number)),
3214
- headers: params.headers,
3215
- method: 'GET',
3216
- query: {
3217
- expand: params.expand,
3218
- },
3219
- });
3220
- };
3221
- /*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.*/
3222
- OrdersResource.prototype.postGiftAndCardAndRedemptionsByNumber = function (params) {
3223
- return this.client.request({
3224
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift/card/redemptions"),
3225
- headers: params.headers,
3226
- method: 'POST',
3227
- });
3228
- };
3229
- /*Adds a gift card to the order*/
3230
- OrdersResource.prototype.postGiftAndCardsByNumber = function (params) {
3231
- return this.client.request({
3232
- body: params.body,
3233
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift/cards"),
3234
- headers: params.headers,
3235
- method: 'POST',
3236
- });
3237
- };
3238
- /*Removes a gift card from the order*/
3239
- OrdersResource.prototype.deleteGiftAndCardsByNumberAndId = function (params) {
3240
- return this.client.request({
3241
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift/cards/").concat(encodeURIComponent(params.id)),
3242
- headers: params.headers,
3243
- method: 'DELETE',
3244
- });
3245
- };
3246
- /*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.*/
3247
- OrdersResource.prototype.postGiftCardsAndAuthorizeByNumber = function (params) {
3248
- return this.client.request({
3249
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/gift_cards/authorize"),
3250
- headers: params.headers,
3251
- method: 'POST',
3252
- });
3253
- };
3254
- /*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*/
3255
- OrdersResource.prototype.putModificationsAndEmailByNumber = function (params) {
3256
- return this.client.request({
3257
- body: params.body,
3258
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/modifications/email"),
3259
- headers: params.headers,
3260
- method: 'PUT',
3261
- });
3262
- };
3263
- /*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).*/
3264
- OrdersResource.prototype.putSubmissionsAndCheckByNumber = function (params) {
3265
- return this.client.request({
3266
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/submissions/check"),
3267
- headers: params.headers,
3268
- method: 'PUT',
3269
- });
3270
- };
3271
- return OrdersResource;
3272
- }($Resource));
3273
- export { OrdersResource };
3274
3151
  var PaypalDisputeEventsResource = /** @class */ (function (_super) {
3275
3152
  __extends(PaypalDisputeEventsResource, _super);
3276
3153
  function PaypalDisputeEventsResource() {
@@ -3791,70 +3668,6 @@ var ItemRestrictionsResource = /** @class */ (function (_super) {
3791
3668
  return ItemRestrictionsResource;
3792
3669
  }($Resource));
3793
3670
  export { ItemRestrictionsResource };
3794
- var ItemSalesMarginsResource = /** @class */ (function (_super) {
3795
- __extends(ItemSalesMarginsResource, _super);
3796
- function ItemSalesMarginsResource() {
3797
- return _super !== null && _super.apply(this, arguments) || this;
3798
- }
3799
- ItemSalesMarginsResource.prototype.getSalesMargins = function (params) {
3800
- return this.client.request({
3801
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/sales-margins"),
3802
- headers: params.headers,
3803
- method: 'GET',
3804
- query: {
3805
- id: params.id,
3806
- limit: params.limit,
3807
- offset: params.offset,
3808
- sort: params.sort,
3809
- },
3810
- });
3811
- };
3812
- ItemSalesMarginsResource.prototype.postSalesMargins = function (params) {
3813
- return this.client.request({
3814
- body: params.body,
3815
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/sales-margins"),
3816
- headers: params.headers,
3817
- method: 'POST',
3818
- });
3819
- };
3820
- ItemSalesMarginsResource.prototype.getSalesMarginsAndVersions = function (params) {
3821
- return this.client.request({
3822
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/sales-margins/versions"),
3823
- headers: params.headers,
3824
- method: 'GET',
3825
- query: {
3826
- id: params.id,
3827
- limit: params.limit,
3828
- offset: params.offset,
3829
- sort: params.sort,
3830
- },
3831
- });
3832
- };
3833
- ItemSalesMarginsResource.prototype.getSalesMarginsByKey = function (params) {
3834
- return this.client.request({
3835
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/sales-margins/").concat(encodeURIComponent(params.key)),
3836
- headers: params.headers,
3837
- method: 'GET',
3838
- });
3839
- };
3840
- ItemSalesMarginsResource.prototype.putSalesMarginsByKey = function (params) {
3841
- return this.client.request({
3842
- body: params.body,
3843
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/sales-margins/").concat(encodeURIComponent(params.key)),
3844
- headers: params.headers,
3845
- method: 'PUT',
3846
- });
3847
- };
3848
- ItemSalesMarginsResource.prototype.deleteSalesMarginsByKey = function (params) {
3849
- return this.client.request({
3850
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/sales-margins/").concat(encodeURIComponent(params.key)),
3851
- headers: params.headers,
3852
- method: 'DELETE',
3853
- });
3854
- };
3855
- return ItemSalesMarginsResource;
3856
- }($Resource));
3857
- export { ItemSalesMarginsResource };
3858
3671
  var JeanDemoItemsResource = /** @class */ (function (_super) {
3859
3672
  __extends(JeanDemoItemsResource, _super);
3860
3673
  function JeanDemoItemsResource() {
@@ -4060,21 +3873,6 @@ var LabelTaxonomyResource = /** @class */ (function (_super) {
4060
3873
  return LabelTaxonomyResource;
4061
3874
  }($Resource));
4062
3875
  export { LabelTaxonomyResource };
4063
- var LevyRateSummariesResource = /** @class */ (function (_super) {
4064
- __extends(LevyRateSummariesResource, _super);
4065
- function LevyRateSummariesResource() {
4066
- return _super !== null && _super.apply(this, arguments) || this;
4067
- }
4068
- LevyRateSummariesResource.prototype.get = function (params) {
4069
- return this.client.request({
4070
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/levy/rate/summary"),
4071
- headers: params.headers,
4072
- method: 'GET',
4073
- });
4074
- };
4075
- return LevyRateSummariesResource;
4076
- }($Resource));
4077
- export { LevyRateSummariesResource };
4078
3876
  var LiabilityRemittancePlansResource = /** @class */ (function (_super) {
4079
3877
  __extends(LiabilityRemittancePlansResource, _super);
4080
3878
  function LiabilityRemittancePlansResource() {
@@ -4193,36 +3991,6 @@ var LostChargebacksResource = /** @class */ (function (_super) {
4193
3991
  return LostChargebacksResource;
4194
3992
  }($Resource));
4195
3993
  export { LostChargebacksResource };
4196
- var LoyaltyProgramsResource = /** @class */ (function (_super) {
4197
- __extends(LoyaltyProgramsResource, _super);
4198
- function LoyaltyProgramsResource() {
4199
- return _super !== null && _super.apply(this, arguments) || this;
4200
- }
4201
- LoyaltyProgramsResource.prototype.get = function (params) {
4202
- return this.client.request({
4203
- endpoint: "/".concat(encodeURIComponent(params.organization), "/loyalty/").concat(encodeURIComponent(params.number)),
4204
- headers: params.headers,
4205
- method: 'GET',
4206
- });
4207
- };
4208
- LoyaltyProgramsResource.prototype.post = function (params) {
4209
- return this.client.request({
4210
- body: params.body,
4211
- endpoint: "/".concat(encodeURIComponent(params.organization), "/loyalty/").concat(encodeURIComponent(params.number)),
4212
- headers: params.headers,
4213
- method: 'POST',
4214
- });
4215
- };
4216
- LoyaltyProgramsResource.prototype.deleteById = function (params) {
4217
- return this.client.request({
4218
- endpoint: "/".concat(encodeURIComponent(params.organization), "/loyalty/").concat(encodeURIComponent(params.number), "/").concat(encodeURIComponent(params.id)),
4219
- headers: params.headers,
4220
- method: 'DELETE',
4221
- });
4222
- };
4223
- return LoyaltyProgramsResource;
4224
- }($Resource));
4225
- export { LoyaltyProgramsResource };
4226
3994
  var ManualReviewRulesResource = /** @class */ (function (_super) {
4227
3995
  __extends(ManualReviewRulesResource, _super);
4228
3996
  function ManualReviewRulesResource() {
@@ -4580,27 +4348,6 @@ var OnboardingAuditReportsResource = /** @class */ (function (_super) {
4580
4348
  return OnboardingAuditReportsResource;
4581
4349
  }($Resource));
4582
4350
  export { OnboardingAuditReportsResource };
4583
- var OnboardingAuditSnapshotsResource = /** @class */ (function (_super) {
4584
- __extends(OnboardingAuditSnapshotsResource, _super);
4585
- function OnboardingAuditSnapshotsResource() {
4586
- return _super !== null && _super.apply(this, arguments) || this;
4587
- }
4588
- /*Returns historical organization audit snapshots sorted by created_at desc.*/
4589
- OnboardingAuditSnapshotsResource.prototype.get = function (params) {
4590
- return this.client.request({
4591
- endpoint: "/internal/".concat(encodeURIComponent(params.organization_id), "/onboarding/audit/snapshots"),
4592
- headers: params.headers,
4593
- method: 'GET',
4594
- query: {
4595
- id: params.id,
4596
- limit: params.limit,
4597
- offset: params.offset,
4598
- },
4599
- });
4600
- };
4601
- return OnboardingAuditSnapshotsResource;
4602
- }($Resource));
4603
- export { OnboardingAuditSnapshotsResource };
4604
4351
  var OnboardingOrganizationsResource = /** @class */ (function (_super) {
4605
4352
  __extends(OnboardingOrganizationsResource, _super);
4606
4353
  function OnboardingOrganizationsResource() {
@@ -4851,26 +4598,6 @@ var OrderDetailsResource = /** @class */ (function (_super) {
4851
4598
  return OrderDetailsResource;
4852
4599
  }($Resource));
4853
4600
  export { OrderDetailsResource };
4854
- var OrderPaymentAuthorizationsResource = /** @class */ (function (_super) {
4855
- __extends(OrderPaymentAuthorizationsResource, _super);
4856
- function OrderPaymentAuthorizationsResource() {
4857
- return _super !== null && _super.apply(this, arguments) || this;
4858
- }
4859
- /*Create a new authorization for this order.*/
4860
- OrderPaymentAuthorizationsResource.prototype.post = function (params) {
4861
- return this.client.request({
4862
- body: params.body,
4863
- endpoint: "/".concat(encodeURIComponent(params.organization), "/order/payments/authorization"),
4864
- headers: params.headers,
4865
- method: 'POST',
4866
- query: {
4867
- expand: params.expand,
4868
- },
4869
- });
4870
- };
4871
- return OrderPaymentAuthorizationsResource;
4872
- }($Resource));
4873
- export { OrderPaymentAuthorizationsResource };
4874
4601
  var OrderRevenueRegionChartsResource = /** @class */ (function (_super) {
4875
4602
  __extends(OrderRevenueRegionChartsResource, _super);
4876
4603
  function OrderRevenueRegionChartsResource() {
@@ -5299,29 +5026,6 @@ var OrganizationRestrictionStatusNotesResource = /** @class */ (function (_super
5299
5026
  return OrganizationRestrictionStatusNotesResource;
5300
5027
  }($Resource));
5301
5028
  export { OrganizationRestrictionStatusNotesResource };
5302
- var OrganizationSettingsResource = /** @class */ (function (_super) {
5303
- __extends(OrganizationSettingsResource, _super);
5304
- function OrganizationSettingsResource() {
5305
- return _super !== null && _super.apply(this, arguments) || this;
5306
- }
5307
- OrganizationSettingsResource.prototype.get = function (params) {
5308
- return this.client.request({
5309
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experience/settings"),
5310
- headers: params.headers,
5311
- method: 'GET',
5312
- });
5313
- };
5314
- OrganizationSettingsResource.prototype.put = function (params) {
5315
- return this.client.request({
5316
- body: params.body,
5317
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experience/settings"),
5318
- headers: params.headers,
5319
- method: 'PUT',
5320
- });
5321
- };
5322
- return OrganizationSettingsResource;
5323
- }($Resource));
5324
- export { OrganizationSettingsResource };
5325
5029
  var OrganizationsAuditCheckReportsResource = /** @class */ (function (_super) {
5326
5030
  __extends(OrganizationsAuditCheckReportsResource, _super);
5327
5031
  function OrganizationsAuditCheckReportsResource() {
@@ -6880,21 +6584,6 @@ var ScreensResource = /** @class */ (function (_super) {
6880
6584
  return ScreensResource;
6881
6585
  }($Resource));
6882
6586
  export { ScreensResource };
6883
- var SessionOrderDataResource = /** @class */ (function (_super) {
6884
- __extends(SessionOrderDataResource, _super);
6885
- function SessionOrderDataResource() {
6886
- return _super !== null && _super.apply(this, arguments) || this;
6887
- }
6888
- SessionOrderDataResource.prototype.getBySessionId = function (params) {
6889
- return this.client.request({
6890
- endpoint: "/session/order/data/".concat(encodeURIComponent(params.session_id)),
6891
- headers: params.headers,
6892
- method: 'GET',
6893
- });
6894
- };
6895
- return SessionOrderDataResource;
6896
- }($Resource));
6897
- export { SessionOrderDataResource };
6898
6587
  var ShippingLanesResource = /** @class */ (function (_super) {
6899
6588
  __extends(ShippingLanesResource, _super);
6900
6589
  function ShippingLanesResource() {
@@ -7086,37 +6775,6 @@ var ShopifyMonitoringOrderMonitorsResource = /** @class */ (function (_super) {
7086
6775
  return ShopifyMonitoringOrderMonitorsResource;
7087
6776
  }($Resource));
7088
6777
  export { ShopifyMonitoringOrderMonitorsResource };
7089
- var ShopifyMonitoringOrderMonitorReviewsResource = /** @class */ (function (_super) {
7090
- __extends(ShopifyMonitoringOrderMonitorReviewsResource, _super);
7091
- function ShopifyMonitoringOrderMonitorReviewsResource() {
7092
- return _super !== null && _super.apply(this, arguments) || this;
7093
- }
7094
- ShopifyMonitoringOrderMonitorReviewsResource.prototype.get = function (params) {
7095
- return this.client.request({
7096
- endpoint: '/internal/shopify/monitoring/order/monitor/reviews',
7097
- headers: params.headers,
7098
- method: 'GET',
7099
- query: {
7100
- id: params.id,
7101
- limit: params.limit,
7102
- offset: params.offset,
7103
- order_monitor_id: params.order_monitor_id,
7104
- organization: params.organization,
7105
- sort: params.sort,
7106
- status: params.status,
7107
- },
7108
- });
7109
- };
7110
- ShopifyMonitoringOrderMonitorReviewsResource.prototype.putStatusByIdAndStatus = function (params) {
7111
- return this.client.request({
7112
- endpoint: "/internal/shopify/monitoring/order/monitor/reviews/".concat(encodeURIComponent(params.id), "/status/").concat(encodeURIComponent(params.status)),
7113
- headers: params.headers,
7114
- method: 'PUT',
7115
- });
7116
- };
7117
- return ShopifyMonitoringOrderMonitorReviewsResource;
7118
- }($Resource));
7119
- export { ShopifyMonitoringOrderMonitorReviewsResource };
7120
6778
  var ShopifyOrderFulfillmentsSnapshotsResource = /** @class */ (function (_super) {
7121
6779
  __extends(ShopifyOrderFulfillmentsSnapshotsResource, _super);
7122
6780
  function ShopifyOrderFulfillmentsSnapshotsResource() {
@@ -7182,6 +6840,51 @@ var ShopifyStripeEventsResource = /** @class */ (function (_super) {
7182
6840
  return ShopifyStripeEventsResource;
7183
6841
  }($Resource));
7184
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 };
7185
6888
  var SmpTaxCalculationFormsResource = /** @class */ (function (_super) {
7186
6889
  __extends(SmpTaxCalculationFormsResource, _super);
7187
6890
  function SmpTaxCalculationFormsResource() {
@@ -7777,6 +7480,7 @@ export function createClient(options) {
7777
7480
  aftershipWebhooks: new AftershipWebhooksResource(options),
7778
7481
  aldoItems: new AldoItemsResource(options),
7779
7482
  allOrganizationsMemberships: new AllOrganizationsMembershipsResource(options),
7483
+ anirbanItems: new AnirbanItemsResource(options),
7780
7484
  anshItems: new AnshItemsResource(options),
7781
7485
  bankPayments: new BankPaymentsResource(options),
7782
7486
  bankPaymentDetails: new BankPaymentDetailsResource(options),
@@ -7803,6 +7507,8 @@ export function createClient(options) {
7803
7507
  channelOrders: new ChannelOrdersResource(options),
7804
7508
  channelOrderAcceptances: new ChannelOrderAcceptancesResource(options),
7805
7509
  channelOrderAcceptanceDetails: new ChannelOrderAcceptanceDetailsResource(options),
7510
+ channelOrganizationPublicationOwners: new ChannelOrganizationPublicationOwnersResource(options),
7511
+ channelOrganizationSellabilityStatuses: new ChannelOrganizationSellabilityStatusesResource(options),
7806
7512
  channelOrganizationShopify: new ChannelOrganizationShopifyResource(options),
7807
7513
  chargebacks: new ChargebacksResource(options),
7808
7514
  ciphers: new CiphersResource(options),
@@ -7822,9 +7528,6 @@ export function createClient(options) {
7822
7528
  databases: new DatabasesResource(options),
7823
7529
  debugOrders: new DebugOrdersResource(options),
7824
7530
  debugOrderTransactions: new DebugOrderTransactionsResource(options),
7825
- deliveredDutyOptions: new DeliveredDutyOptionsResource(options),
7826
- deliveredDutyPreferences: new DeliveredDutyPreferencesResource(options),
7827
- discountCodes: new DiscountCodesResource(options),
7828
7531
  disputes: new DisputesResource(options),
7829
7532
  dutyInternalRates: new DutyInternalRatesResource(options),
7830
7533
  erpFlowFiles: new ErpFlowFilesResource(options),
@@ -7834,6 +7537,7 @@ export function createClient(options) {
7834
7537
  erpVendorStatuses: new ErpVendorStatusesResource(options),
7835
7538
  explicitStatements: new ExplicitStatementsResource(options),
7836
7539
  externalFulfillmentProofs: new ExternalFulfillmentProofsResource(options),
7540
+ externalRatecardLinks: new ExternalRatecardLinksResource(options),
7837
7541
  features: new FeaturesResource(options),
7838
7542
  featureValues: new FeatureValuesResource(options),
7839
7543
  financeBankAccounts: new FinanceBankAccountsResource(options),
@@ -7850,7 +7554,6 @@ export function createClient(options) {
7850
7554
  fraudReviews: new FraudReviewsResource(options),
7851
7555
  fraudReviewDecisions: new FraudReviewDecisionsResource(options),
7852
7556
  generateLoads: new GenerateLoadsResource(options),
7853
- giftCardPrograms: new GiftCardProgramsResource(options),
7854
7557
  globalSearchResults: new GlobalSearchResultsResource(options),
7855
7558
  harmonizationItemClassifications: new HarmonizationItemClassificationsResource(options),
7856
7559
  harmonizationThresholds: new HarmonizationThresholdsResource(options),
@@ -7870,8 +7573,6 @@ export function createClient(options) {
7870
7573
  channelCurrencies: new ChannelCurrenciesResource(options),
7871
7574
  users: new UsersResource(options),
7872
7575
  cryptoEvents: new CryptoEventsResource(options),
7873
- experiences: new ExperiencesResource(options),
7874
- orders: new OrdersResource(options),
7875
7576
  paypalDisputeEvents: new PaypalDisputeEventsResource(options),
7876
7577
  webhookEvents: new WebhookEventsResource(options),
7877
7578
  ultimateBeneficiaryOwners: new UltimateBeneficiaryOwnersResource(options),
@@ -7894,7 +7595,6 @@ export function createClient(options) {
7894
7595
  itemClassificationSummaries: new ItemClassificationSummariesResource(options),
7895
7596
  itemHarmonizations: new ItemHarmonizationsResource(options),
7896
7597
  itemRestrictions: new ItemRestrictionsResource(options),
7897
- itemSalesMargins: new ItemSalesMarginsResource(options),
7898
7598
  jeanDemoItems: new JeanDemoItemsResource(options),
7899
7599
  journals: new JournalsResource(options),
7900
7600
  keys: new KeysResource(options),
@@ -7902,12 +7602,10 @@ export function createClient(options) {
7902
7602
  labelGenerationSettings: new LabelGenerationSettingsResource(options),
7903
7603
  labelRequestResults: new LabelRequestResultsResource(options),
7904
7604
  labelTaxonomy: new LabelTaxonomyResource(options),
7905
- levyRateSummaries: new LevyRateSummariesResource(options),
7906
7605
  liabilityRemittancePlans: new LiabilityRemittancePlansResource(options),
7907
7606
  logisticsCapabilities: new LogisticsCapabilitiesResource(options),
7908
7607
  logisticsPayoutRequests: new LogisticsPayoutRequestsResource(options),
7909
7608
  lostChargebacks: new LostChargebacksResource(options),
7910
- loyaltyPrograms: new LoyaltyProgramsResource(options),
7911
7609
  manualReviewRules: new ManualReviewRulesResource(options),
7912
7610
  marketsOrders: new MarketsOrdersResource(options),
7913
7611
  marketsOrderSummaries: new MarketsOrderSummariesResource(options),
@@ -7918,13 +7616,11 @@ export function createClient(options) {
7918
7616
  negativeDebitMetrics: new NegativeDebitMetricsResource(options),
7919
7617
  niallItems: new NiallItemsResource(options),
7920
7618
  onboardingAuditReports: new OnboardingAuditReportsResource(options),
7921
- onboardingAuditSnapshots: new OnboardingAuditSnapshotsResource(options),
7922
7619
  onboardingOrganizations: new OnboardingOrganizationsResource(options),
7923
7620
  orderAddressValidations: new OrderAddressValidationsResource(options),
7924
7621
  orderCancellations: new OrderCancellationsResource(options),
7925
7622
  orderCombinedShipments: new OrderCombinedShipmentsResource(options),
7926
7623
  orderDetails: new OrderDetailsResource(options),
7927
- orderPaymentAuthorizations: new OrderPaymentAuthorizationsResource(options),
7928
7624
  orderRevenueRegionCharts: new OrderRevenueRegionChartsResource(options),
7929
7625
  orderRevenueTimelineCharts: new OrderRevenueTimelineChartsResource(options),
7930
7626
  organizationAccounts: new OrganizationAccountsResource(options),
@@ -7937,7 +7633,6 @@ export function createClient(options) {
7937
7633
  organizationPaymentSettings: new OrganizationPaymentSettingsResource(options),
7938
7634
  organizationRestrictionStatuses: new OrganizationRestrictionStatusesResource(options),
7939
7635
  organizationRestrictionStatusNotes: new OrganizationRestrictionStatusNotesResource(options),
7940
- organizationSettings: new OrganizationSettingsResource(options),
7941
7636
  organizationsAuditCheckReports: new OrganizationsAuditCheckReportsResource(options),
7942
7637
  partners: new PartnersResource(options),
7943
7638
  partnerAuthorizations: new PartnerAuthorizationsResource(options),
@@ -7982,7 +7677,6 @@ export function createClient(options) {
7982
7677
  sandboxSetups: new SandboxSetupsResource(options),
7983
7678
  sarveshItems: new SarveshItemsResource(options),
7984
7679
  screens: new ScreensResource(options),
7985
- sessionOrderData: new SessionOrderDataResource(options),
7986
7680
  shippingLanes: new ShippingLanesResource(options),
7987
7681
  shopifyMarketsOrderVersionWithShopIds: new ShopifyMarketsOrderVersionWithShopIdsResource(options),
7988
7682
  shopifyMarketsQueuedRecords: new ShopifyMarketsQueuedRecordsResource(options),
@@ -7991,11 +7685,11 @@ export function createClient(options) {
7991
7685
  shopifyMarketsSyncs: new ShopifyMarketsSyncsResource(options),
7992
7686
  shopifyMarketsWebhookRegistrations: new ShopifyMarketsWebhookRegistrationsResource(options),
7993
7687
  shopifyMonitoringOrderMonitors: new ShopifyMonitoringOrderMonitorsResource(options),
7994
- shopifyMonitoringOrderMonitorReviews: new ShopifyMonitoringOrderMonitorReviewsResource(options),
7995
7688
  shopifyOrderFulfillmentsSnapshots: new ShopifyOrderFulfillmentsSnapshotsResource(options),
7996
7689
  shopifyPartnerWebhooks: new ShopifyPartnerWebhooksResource(options),
7997
7690
  shopifyStoreDetails: new ShopifyStoreDetailsResource(options),
7998
7691
  shopifyStripeEvents: new ShopifyStripeEventsResource(options),
7692
+ shopifyTaxonomyAlignmentConfigs: new ShopifyTaxonomyAlignmentConfigsResource(options),
7999
7693
  smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
8000
7694
  snoozes: new SnoozesResource(options),
8001
7695
  spotRates: new SpotRatesResource(options),