@flowio/api-internal-sdk 0.0.165 → 0.0.166

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.
@@ -3952,84 +3952,6 @@ var KnowYourBusinessesResource = /** @class */ (function (_super) {
3952
3952
  return KnowYourBusinessesResource;
3953
3953
  }($Resource));
3954
3954
  export { KnowYourBusinessesResource };
3955
- var ShopifyCartsResource = /** @class */ (function (_super) {
3956
- __extends(ShopifyCartsResource, _super);
3957
- function ShopifyCartsResource() {
3958
- return _super !== null && _super.apply(this, arguments) || this;
3959
- }
3960
- /*Set the promotion code on the cart - shopify only supports up to 1 promotion code. If the cart already had another promotion code, replaces that code with the provided one.*/
3961
- ShopifyCartsResource.prototype.putShopifyAndCartsAndPromotionById = function (params) {
3962
- return this.client.request({
3963
- body: params.body,
3964
- endpoint: "/shopify/carts/".concat(encodeURIComponent(params.id), "/promotion"),
3965
- headers: params.headers,
3966
- method: 'PUT',
3967
- query: {
3968
- expand: params.expand,
3969
- },
3970
- });
3971
- };
3972
- /*If the cart has a promotion code applied to it, removes that promotion code*/
3973
- ShopifyCartsResource.prototype.deleteShopifyAndCartsAndPromotionById = function (params) {
3974
- return this.client.request({
3975
- endpoint: "/shopify/carts/".concat(encodeURIComponent(params.id), "/promotion"),
3976
- headers: params.headers,
3977
- method: 'DELETE',
3978
- query: {
3979
- expand: params.expand,
3980
- },
3981
- });
3982
- };
3983
- /*Create a shopify cart from a flow order*/
3984
- ShopifyCartsResource.prototype.postShopifyAndCartsAndFlowAndOrderByOrganization = function (params) {
3985
- return this.client.request({
3986
- body: params.body,
3987
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/carts/flow/order"),
3988
- headers: params.headers,
3989
- method: 'POST',
3990
- });
3991
- };
3992
- return ShopifyCartsResource;
3993
- }($Resource));
3994
- export { ShopifyCartsResource };
3995
- var ShopifyCartConversionsResource = /** @class */ (function (_super) {
3996
- __extends(ShopifyCartConversionsResource, _super);
3997
- function ShopifyCartConversionsResource() {
3998
- return _super !== null && _super.apply(this, arguments) || this;
3999
- }
4000
- /*Creates a checkout from a shopify cart*/
4001
- ShopifyCartConversionsResource.prototype.postCheckouts = function (params) {
4002
- return this.client.request({
4003
- body: params.body,
4004
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/shopify/cart/checkouts"),
4005
- headers: params.headers,
4006
- method: 'POST',
4007
- });
4008
- };
4009
- return ShopifyCartConversionsResource;
4010
- }($Resource));
4011
- export { ShopifyCartConversionsResource };
4012
- var ShopifyLocalizedVariantsResource = /** @class */ (function (_super) {
4013
- __extends(ShopifyLocalizedVariantsResource, _super);
4014
- function ShopifyLocalizedVariantsResource() {
4015
- return _super !== null && _super.apply(this, arguments) || this;
4016
- }
4017
- ShopifyLocalizedVariantsResource.prototype.getExperienceAndMapByExperienceKey = function (params) {
4018
- return this.client.request({
4019
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/localized/variants/experience/").concat(encodeURIComponent(params.experience_key), "/map"),
4020
- headers: params.headers,
4021
- method: 'GET',
4022
- query: {
4023
- country: params.country,
4024
- currency: params.currency,
4025
- handle: params.handle,
4026
- variant_id: params.variant_id,
4027
- },
4028
- });
4029
- };
4030
- return ShopifyLocalizedVariantsResource;
4031
- }($Resource));
4032
- export { ShopifyLocalizedVariantsResource };
4033
3955
  var ShopifyPaymentStripeEventsResource = /** @class */ (function (_super) {
4034
3956
  __extends(ShopifyPaymentStripeEventsResource, _super);
4035
3957
  function ShopifyPaymentStripeEventsResource() {
@@ -7084,26 +7006,6 @@ var RescreenRestrictionsProductsResource = /** @class */ (function (_super) {
7084
7006
  return RescreenRestrictionsProductsResource;
7085
7007
  }($Resource));
7086
7008
  export { RescreenRestrictionsProductsResource };
7087
- var RestrictionCategoriesResource = /** @class */ (function (_super) {
7088
- __extends(RestrictionCategoriesResource, _super);
7089
- function RestrictionCategoriesResource() {
7090
- return _super !== null && _super.apply(this, arguments) || this;
7091
- }
7092
- /*Returns categories*/
7093
- RestrictionCategoriesResource.prototype.get = function (params) {
7094
- return this.client.request({
7095
- endpoint: "/jailhouse/restriction/".concat(encodeURIComponent(params.organization), "/categories"),
7096
- headers: params.headers,
7097
- method: 'GET',
7098
- query: {
7099
- limit: params.limit,
7100
- offset: params.offset,
7101
- },
7102
- });
7103
- };
7104
- return RestrictionCategoriesResource;
7105
- }($Resource));
7106
- export { RestrictionCategoriesResource };
7107
7009
  var RestrictionFiltersResource = /** @class */ (function (_super) {
7108
7010
  __extends(RestrictionFiltersResource, _super);
7109
7011
  function RestrictionFiltersResource() {
@@ -7161,6 +7063,7 @@ var RestrictionItemsResource = /** @class */ (function (_super) {
7161
7063
  method: 'GET',
7162
7064
  query: {
7163
7065
  categories: params.categories,
7066
+ category: params.category,
7164
7067
  hs6: params.hs6,
7165
7068
  limit: params.limit,
7166
7069
  negative_keywords: params.negative_keywords,
@@ -7297,6 +7200,7 @@ var RestrictionProductsResource = /** @class */ (function (_super) {
7297
7200
  query: {
7298
7201
  accepted_rules: params.accepted_rules,
7299
7202
  categories: params.categories,
7203
+ category: params.category,
7300
7204
  hs6: params.hs6,
7301
7205
  limit: params.limit,
7302
7206
  negative_keywords: params.negative_keywords,
@@ -7654,130 +7558,6 @@ var ShippingLanesResource = /** @class */ (function (_super) {
7654
7558
  return ShippingLanesResource;
7655
7559
  }($Resource));
7656
7560
  export { ShippingLanesResource };
7657
- var ShopsResource = /** @class */ (function (_super) {
7658
- __extends(ShopsResource, _super);
7659
- function ShopsResource() {
7660
- return _super !== null && _super.apply(this, arguments) || this;
7661
- }
7662
- ShopsResource.prototype.getRedirectsAndOrderByApp = function (params) {
7663
- return this.client.request({
7664
- endpoint: "/shopify/shops/redirects/".concat(encodeURIComponent(params.app), "/order"),
7665
- headers: params.headers,
7666
- method: 'GET',
7667
- query: {
7668
- id: params.id,
7669
- shop: params.shop,
7670
- },
7671
- });
7672
- };
7673
- ShopsResource.prototype.getByMyshopifyDomain = function (params) {
7674
- return this.client.request({
7675
- endpoint: "/shopify/shops/".concat(encodeURIComponent(params.myshopify_domain)),
7676
- headers: params.headers,
7677
- method: 'GET',
7678
- });
7679
- };
7680
- ShopsResource.prototype.putByMyshopifyDomain = function (params) {
7681
- return this.client.request({
7682
- body: params.body,
7683
- endpoint: "/shopify/shops/".concat(encodeURIComponent(params.myshopify_domain)),
7684
- headers: params.headers,
7685
- method: 'PUT',
7686
- });
7687
- };
7688
- ShopsResource.prototype.deleteByMyshopifyDomain = function (params) {
7689
- return this.client.request({
7690
- endpoint: "/shopify/shops/".concat(encodeURIComponent(params.myshopify_domain)),
7691
- headers: params.headers,
7692
- method: 'DELETE',
7693
- });
7694
- };
7695
- ShopsResource.prototype.postInstallByMyshopifyDomain = function (params) {
7696
- return this.client.request({
7697
- body: params.body,
7698
- endpoint: "/shopify/shops/".concat(encodeURIComponent(params.myshopify_domain), "/install"),
7699
- headers: params.headers,
7700
- method: 'POST',
7701
- });
7702
- };
7703
- ShopsResource.prototype.postSessionsByMyshopifyDomain = function (params) {
7704
- return this.client.request({
7705
- body: params.body,
7706
- endpoint: "/shopify/shops/".concat(encodeURIComponent(params.myshopify_domain), "/sessions"),
7707
- headers: params.headers,
7708
- method: 'POST',
7709
- });
7710
- };
7711
- return ShopsResource;
7712
- }($Resource));
7713
- export { ShopsResource };
7714
- var ShopifyGiftCardBalancesResource = /** @class */ (function (_super) {
7715
- __extends(ShopifyGiftCardBalancesResource, _super);
7716
- function ShopifyGiftCardBalancesResource() {
7717
- return _super !== null && _super.apply(this, arguments) || this;
7718
- }
7719
- /*Check the remaining balance on a Shopify gift card*/
7720
- ShopifyGiftCardBalancesResource.prototype.post = function (params) {
7721
- return this.client.request({
7722
- body: params.body,
7723
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/gift/cards/balances"),
7724
- headers: params.headers,
7725
- method: 'POST',
7726
- });
7727
- };
7728
- return ShopifyGiftCardBalancesResource;
7729
- }($Resource));
7730
- export { ShopifyGiftCardBalancesResource };
7731
- var ShopifyGiftCardRedemptionsResource = /** @class */ (function (_super) {
7732
- __extends(ShopifyGiftCardRedemptionsResource, _super);
7733
- function ShopifyGiftCardRedemptionsResource() {
7734
- return _super !== null && _super.apply(this, arguments) || this;
7735
- }
7736
- /*Redeems a Shopify gift card*/
7737
- ShopifyGiftCardRedemptionsResource.prototype.post = function (params) {
7738
- return this.client.request({
7739
- body: params.body,
7740
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/gift/cards/redemptions"),
7741
- headers: params.headers,
7742
- method: 'POST',
7743
- });
7744
- };
7745
- return ShopifyGiftCardRedemptionsResource;
7746
- }($Resource));
7747
- export { ShopifyGiftCardRedemptionsResource };
7748
- var ShopifyGiftCardReversalsResource = /** @class */ (function (_super) {
7749
- __extends(ShopifyGiftCardReversalsResource, _super);
7750
- function ShopifyGiftCardReversalsResource() {
7751
- return _super !== null && _super.apply(this, arguments) || this;
7752
- }
7753
- /*Reverses a Shopify gift card redemption*/
7754
- ShopifyGiftCardReversalsResource.prototype.post = function (params) {
7755
- return this.client.request({
7756
- body: params.body,
7757
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/gift/cards/reversals"),
7758
- headers: params.headers,
7759
- method: 'POST',
7760
- });
7761
- };
7762
- return ShopifyGiftCardReversalsResource;
7763
- }($Resource));
7764
- export { ShopifyGiftCardReversalsResource };
7765
- var ShopifyGrantsChecksResource = /** @class */ (function (_super) {
7766
- __extends(ShopifyGrantsChecksResource, _super);
7767
- function ShopifyGrantsChecksResource() {
7768
- return _super !== null && _super.apply(this, arguments) || this;
7769
- }
7770
- ShopifyGrantsChecksResource.prototype.getCheckHtml = function (params) {
7771
- if (params === void 0) { params = {}; }
7772
- return this.client.request({
7773
- endpoint: '/shopify/grants/check.html',
7774
- headers: params.headers,
7775
- method: 'GET',
7776
- });
7777
- };
7778
- return ShopifyGrantsChecksResource;
7779
- }($Resource));
7780
- export { ShopifyGrantsChecksResource };
7781
7561
  var ShopifyMarketsOrderVersionWithShopIdsResource = /** @class */ (function (_super) {
7782
7562
  __extends(ShopifyMarketsOrderVersionWithShopIdsResource, _super);
7783
7563
  function ShopifyMarketsOrderVersionWithShopIdsResource() {
@@ -7980,127 +7760,6 @@ var ShopifyMonitoringOrderMonitorReviewsResource = /** @class */ (function (_sup
7980
7760
  return ShopifyMonitoringOrderMonitorReviewsResource;
7981
7761
  }($Resource));
7982
7762
  export { ShopifyMonitoringOrderMonitorReviewsResource };
7983
- var ShopifyOrderDetailsResource = /** @class */ (function (_super) {
7984
- __extends(ShopifyOrderDetailsResource, _super);
7985
- function ShopifyOrderDetailsResource() {
7986
- return _super !== null && _super.apply(this, arguments) || this;
7987
- }
7988
- /*Check inventory for a provided set of items, ensuring expected quantities are in stock.*/
7989
- ShopifyOrderDetailsResource.prototype.postChecksAndInventory = function (params) {
7990
- return this.client.request({
7991
- body: params.body,
7992
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/checks/inventory"),
7993
- headers: params.headers,
7994
- method: 'POST',
7995
- });
7996
- };
7997
- /*Endpoint to inject a submitted order directly to shopify, bypassing event processing*/
7998
- ShopifyOrderDetailsResource.prototype.postEnsure = function (params) {
7999
- return this.client.request({
8000
- body: params.body,
8001
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/ensure"),
8002
- headers: params.headers,
8003
- method: 'POST',
8004
- });
8005
- };
8006
- /*Check inventory for order items, ensuring expected quantities are in stock.*/
8007
- ShopifyOrderDetailsResource.prototype.getChecksAndInventoryByNumber = function (params) {
8008
- return this.client.request({
8009
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/checks/inventory"),
8010
- headers: params.headers,
8011
- method: 'GET',
8012
- });
8013
- };
8014
- /*Based on the code, determine if a gift card or promotion is applied to the order. Attempt will be made to first validate and apply code as a gift card. If not applicable, attempt to validate and apply the code as a promotion. This endpoint achieves the same behavior as calling '/payments/gift-card' followed by /promotion.*/
8015
- ShopifyOrderDetailsResource.prototype.postCodesByNumber = function (params) {
8016
- return this.client.request({
8017
- body: params.body,
8018
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/codes"),
8019
- headers: params.headers,
8020
- method: 'POST',
8021
- query: {
8022
- expand: params.expand,
8023
- },
8024
- });
8025
- };
8026
- ShopifyOrderDetailsResource.prototype.getContentsByNumber = function (params) {
8027
- return this.client.request({
8028
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/contents"),
8029
- headers: params.headers,
8030
- method: 'GET',
8031
- });
8032
- };
8033
- /*Apply gift card payment on the order. A gift card can be applied at most once per order.*/
8034
- ShopifyOrderDetailsResource.prototype.postPaymentsAndGiftCardByNumber = function (params) {
8035
- return this.client.request({
8036
- body: params.body,
8037
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/payments/gift-card"),
8038
- headers: params.headers,
8039
- method: 'POST',
8040
- query: {
8041
- expand: params.expand,
8042
- },
8043
- });
8044
- };
8045
- /*Set the promotion code on the cart - shopify only supports up to 1 promotion code. If the cart already had another promotion code, replaces that code with the provided one.*/
8046
- ShopifyOrderDetailsResource.prototype.putPromotionByNumber = function (params) {
8047
- return this.client.request({
8048
- body: params.body,
8049
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/promotion"),
8050
- headers: params.headers,
8051
- method: 'PUT',
8052
- query: {
8053
- expand: params.expand,
8054
- },
8055
- });
8056
- };
8057
- /*If the cart has a promotion code applied to it, removes that promotion code*/
8058
- ShopifyOrderDetailsResource.prototype.deletePromotionByNumber = function (params) {
8059
- return this.client.request({
8060
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/promotion"),
8061
- headers: params.headers,
8062
- method: 'DELETE',
8063
- query: {
8064
- expand: params.expand,
8065
- },
8066
- });
8067
- };
8068
- /*If the cart has a promotion code applied to it, removes that promotion code. Similar to DELETE /:number/promotion but with a different path.*/
8069
- ShopifyOrderDetailsResource.prototype.deletePromotionAndDeleteByNumber = function (params) {
8070
- return this.client.request({
8071
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/promotion/delete"),
8072
- headers: params.headers,
8073
- method: 'DELETE',
8074
- query: {
8075
- expand: params.expand,
8076
- },
8077
- });
8078
- };
8079
- /*Clear and apply automatic discounts only on the order. No discount codes are needed.*/
8080
- ShopifyOrderDetailsResource.prototype.putPromotionsAndAutoAndApplyByNumber = function (params) {
8081
- return this.client.request({
8082
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/promotions/auto/apply"),
8083
- headers: params.headers,
8084
- method: 'PUT',
8085
- query: {
8086
- expand: params.expand,
8087
- },
8088
- });
8089
- };
8090
- /*Returns order authorization details.*/
8091
- ShopifyOrderDetailsResource.prototype.getSubmissionsByNumberAndAuthorizationKey = function (params) {
8092
- return this.client.request({
8093
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/submissions/").concat(encodeURIComponent(params.authorization_key)),
8094
- headers: params.headers,
8095
- method: 'GET',
8096
- query: {
8097
- expand: params.expand,
8098
- },
8099
- });
8100
- };
8101
- return ShopifyOrderDetailsResource;
8102
- }($Resource));
8103
- export { ShopifyOrderDetailsResource };
8104
7763
  var ShopifyOrderFulfillmentsSnapshotsResource = /** @class */ (function (_super) {
8105
7764
  __extends(ShopifyOrderFulfillmentsSnapshotsResource, _super);
8106
7765
  function ShopifyOrderFulfillmentsSnapshotsResource() {
@@ -8118,44 +7777,6 @@ var ShopifyOrderFulfillmentsSnapshotsResource = /** @class */ (function (_super)
8118
7777
  return ShopifyOrderFulfillmentsSnapshotsResource;
8119
7778
  }($Resource));
8120
7779
  export { ShopifyOrderFulfillmentsSnapshotsResource };
8121
- var ShopifyOrganizationSettingsResource = /** @class */ (function (_super) {
8122
- __extends(ShopifyOrganizationSettingsResource, _super);
8123
- function ShopifyOrganizationSettingsResource() {
8124
- return _super !== null && _super.apply(this, arguments) || this;
8125
- }
8126
- ShopifyOrganizationSettingsResource.prototype.get = function (params) {
8127
- return this.client.request({
8128
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/organization/settings"),
8129
- headers: params.headers,
8130
- method: 'GET',
8131
- });
8132
- };
8133
- ShopifyOrganizationSettingsResource.prototype.post = function (params) {
8134
- return this.client.request({
8135
- body: params.body,
8136
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/organization/settings"),
8137
- headers: params.headers,
8138
- method: 'POST',
8139
- });
8140
- };
8141
- ShopifyOrganizationSettingsResource.prototype.put = function (params) {
8142
- return this.client.request({
8143
- body: params.body,
8144
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/organization/settings"),
8145
- headers: params.headers,
8146
- method: 'PUT',
8147
- });
8148
- };
8149
- ShopifyOrganizationSettingsResource.prototype.delete = function (params) {
8150
- return this.client.request({
8151
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/organization/settings"),
8152
- headers: params.headers,
8153
- method: 'DELETE',
8154
- });
8155
- };
8156
- return ShopifyOrganizationSettingsResource;
8157
- }($Resource));
8158
- export { ShopifyOrganizationSettingsResource };
8159
7780
  var ShopifyPartnerWebhooksResource = /** @class */ (function (_super) {
8160
7781
  __extends(ShopifyPartnerWebhooksResource, _super);
8161
7782
  function ShopifyPartnerWebhooksResource() {
@@ -8172,51 +7793,6 @@ var ShopifyPartnerWebhooksResource = /** @class */ (function (_super) {
8172
7793
  return ShopifyPartnerWebhooksResource;
8173
7794
  }($Resource));
8174
7795
  export { ShopifyPartnerWebhooksResource };
8175
- var ShopifyPromotionsResource = /** @class */ (function (_super) {
8176
- __extends(ShopifyPromotionsResource, _super);
8177
- function ShopifyPromotionsResource() {
8178
- return _super !== null && _super.apply(this, arguments) || this;
8179
- }
8180
- ShopifyPromotionsResource.prototype.get = function (params) {
8181
- return this.client.request({
8182
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/promotions"),
8183
- headers: params.headers,
8184
- method: 'GET',
8185
- query: {
8186
- id: params.id,
8187
- limit: params.limit,
8188
- offset: params.offset,
8189
- sort: params.sort,
8190
- status: params.status,
8191
- },
8192
- });
8193
- };
8194
- ShopifyPromotionsResource.prototype.post = function (params) {
8195
- return this.client.request({
8196
- body: params.body,
8197
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/promotions"),
8198
- headers: params.headers,
8199
- method: 'POST',
8200
- });
8201
- };
8202
- ShopifyPromotionsResource.prototype.getById = function (params) {
8203
- return this.client.request({
8204
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/promotions/").concat(encodeURIComponent(params.id)),
8205
- headers: params.headers,
8206
- method: 'GET',
8207
- });
8208
- };
8209
- ShopifyPromotionsResource.prototype.putById = function (params) {
8210
- return this.client.request({
8211
- body: params.body,
8212
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/promotions/").concat(encodeURIComponent(params.id)),
8213
- headers: params.headers,
8214
- method: 'PUT',
8215
- });
8216
- };
8217
- return ShopifyPromotionsResource;
8218
- }($Resource));
8219
- export { ShopifyPromotionsResource };
8220
7796
  var ShopifyStoreDetailsResource = /** @class */ (function (_super) {
8221
7797
  __extends(ShopifyStoreDetailsResource, _super);
8222
7798
  function ShopifyStoreDetailsResource() {
@@ -8249,30 +7825,6 @@ var ShopifyStripeEventsResource = /** @class */ (function (_super) {
8249
7825
  return ShopifyStripeEventsResource;
8250
7826
  }($Resource));
8251
7827
  export { ShopifyStripeEventsResource };
8252
- var ShopifyWebhookEventsResource = /** @class */ (function (_super) {
8253
- __extends(ShopifyWebhookEventsResource, _super);
8254
- function ShopifyWebhookEventsResource() {
8255
- return _super !== null && _super.apply(this, arguments) || this;
8256
- }
8257
- ShopifyWebhookEventsResource.prototype.postShopsByShopifyShopIdAndTopicAndAction = function (params) {
8258
- return this.client.request({
8259
- body: params.body,
8260
- endpoint: "/shopify/webhook/events/shops/".concat(encodeURIComponent(params.shopify_shop_id), "/").concat(encodeURIComponent(params.topic), "/").concat(encodeURIComponent(params.action)),
8261
- headers: params.headers,
8262
- method: 'POST',
8263
- });
8264
- };
8265
- ShopifyWebhookEventsResource.prototype.postByTopicAndAction = function (params) {
8266
- return this.client.request({
8267
- body: params.body,
8268
- endpoint: "/shopify/webhook/events/".concat(encodeURIComponent(params.topic), "/").concat(encodeURIComponent(params.action)),
8269
- headers: params.headers,
8270
- method: 'POST',
8271
- });
8272
- };
8273
- return ShopifyWebhookEventsResource;
8274
- }($Resource));
8275
- export { ShopifyWebhookEventsResource };
8276
7828
  var SmpTaxCalculationFormsResource = /** @class */ (function (_super) {
8277
7829
  __extends(SmpTaxCalculationFormsResource, _super);
8278
7830
  function SmpTaxCalculationFormsResource() {
@@ -8588,22 +8140,6 @@ var TrackingDebugLabelsResource = /** @class */ (function (_super) {
8588
8140
  return TrackingDebugLabelsResource;
8589
8141
  }($Resource));
8590
8142
  export { TrackingDebugLabelsResource };
8591
- var TrackingResyncsResource = /** @class */ (function (_super) {
8592
- __extends(TrackingResyncsResource, _super);
8593
- function TrackingResyncsResource() {
8594
- return _super !== null && _super.apply(this, arguments) || this;
8595
- }
8596
- TrackingResyncsResource.prototype.post = function (params) {
8597
- return this.client.request({
8598
- body: params.body,
8599
- endpoint: '/internal/tracking/resync/request',
8600
- headers: params.headers,
8601
- method: 'POST',
8602
- });
8603
- };
8604
- return TrackingResyncsResource;
8605
- }($Resource));
8606
- export { TrackingResyncsResource };
8607
8143
  var TrackingWebhooksResource = /** @class */ (function (_super) {
8608
8144
  __extends(TrackingWebhooksResource, _super);
8609
8145
  function TrackingWebhooksResource() {
@@ -9042,9 +8578,6 @@ export function createClient(options) {
9042
8578
  organizationSessions: new OrganizationSessionsResource(options),
9043
8579
  shopifyOrders: new ShopifyOrdersResource(options),
9044
8580
  knowYourBusinesses: new KnowYourBusinessesResource(options),
9045
- shopifyCarts: new ShopifyCartsResource(options),
9046
- shopifyCartConversions: new ShopifyCartConversionsResource(options),
9047
- shopifyLocalizedVariants: new ShopifyLocalizedVariantsResource(options),
9048
8581
  shopifyPaymentStripeEvents: new ShopifyPaymentStripeEventsResource(options),
9049
8582
  stripeDisputeEvents: new StripeDisputeEventsResource(options),
9050
8583
  stripeEvents: new StripeEventsResource(options),
@@ -9136,7 +8669,6 @@ export function createClient(options) {
9136
8669
  reports: new ReportsResource(options),
9137
8670
  reportSummary: new ReportSummaryResource(options),
9138
8671
  rescreenRestrictionsProducts: new RescreenRestrictionsProductsResource(options),
9139
- restrictionCategories: new RestrictionCategoriesResource(options),
9140
8672
  restrictionFilters: new RestrictionFiltersResource(options),
9141
8673
  restrictionItems: new RestrictionItemsResource(options),
9142
8674
  restrictionOrganizations: new RestrictionOrganizationsResource(options),
@@ -9153,11 +8685,6 @@ export function createClient(options) {
9153
8685
  searchProviderExports: new SearchProviderExportsResource(options),
9154
8686
  sessionOrderData: new SessionOrderDataResource(options),
9155
8687
  shippingLanes: new ShippingLanesResource(options),
9156
- shops: new ShopsResource(options),
9157
- shopifyGiftCardBalances: new ShopifyGiftCardBalancesResource(options),
9158
- shopifyGiftCardRedemptions: new ShopifyGiftCardRedemptionsResource(options),
9159
- shopifyGiftCardReversals: new ShopifyGiftCardReversalsResource(options),
9160
- shopifyGrantsChecks: new ShopifyGrantsChecksResource(options),
9161
8688
  shopifyMarketsOrderVersionWithShopIds: new ShopifyMarketsOrderVersionWithShopIdsResource(options),
9162
8689
  shopifyMarketsQueuedRecords: new ShopifyMarketsQueuedRecordsResource(options),
9163
8690
  shopifyMarketsShops: new ShopifyMarketsShopsResource(options),
@@ -9166,14 +8693,10 @@ export function createClient(options) {
9166
8693
  shopifyMarketsWebhookRegistrations: new ShopifyMarketsWebhookRegistrationsResource(options),
9167
8694
  shopifyMonitoringOrderMonitors: new ShopifyMonitoringOrderMonitorsResource(options),
9168
8695
  shopifyMonitoringOrderMonitorReviews: new ShopifyMonitoringOrderMonitorReviewsResource(options),
9169
- shopifyOrderDetails: new ShopifyOrderDetailsResource(options),
9170
8696
  shopifyOrderFulfillmentsSnapshots: new ShopifyOrderFulfillmentsSnapshotsResource(options),
9171
- shopifyOrganizationSettings: new ShopifyOrganizationSettingsResource(options),
9172
8697
  shopifyPartnerWebhooks: new ShopifyPartnerWebhooksResource(options),
9173
- shopifyPromotions: new ShopifyPromotionsResource(options),
9174
8698
  shopifyStoreDetails: new ShopifyStoreDetailsResource(options),
9175
8699
  shopifyStripeEvents: new ShopifyStripeEventsResource(options),
9176
- shopifyWebhookEvents: new ShopifyWebhookEventsResource(options),
9177
8700
  smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
9178
8701
  snoozes: new SnoozesResource(options),
9179
8702
  spotRates: new SpotRatesResource(options),
@@ -9184,7 +8707,6 @@ export function createClient(options) {
9184
8707
  techOnboardingDescriptions: new TechOnboardingDescriptionsResource(options),
9185
8708
  tests: new TestsResource(options),
9186
8709
  trackingDebugLabels: new TrackingDebugLabelsResource(options),
9187
- trackingResyncs: new TrackingResyncsResource(options),
9188
8710
  trackingWebhooks: new TrackingWebhooksResource(options),
9189
8711
  transactions: new TransactionsResource(options),
9190
8712
  transactionAdjustments: new TransactionAdjustmentsResource(options),