@flowio/api-internal-sdk 0.0.165 → 0.0.167

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.
@@ -3045,6 +3045,44 @@ var HarmonizationUnclassifiedStatisticsResource = /** @class */ (function (_supe
3045
3045
  return HarmonizationUnclassifiedStatisticsResource;
3046
3046
  }($Resource));
3047
3047
  export { HarmonizationUnclassifiedStatisticsResource };
3048
+ var HoseinItemsResource = /** @class */ (function (_super) {
3049
+ __extends(HoseinItemsResource, _super);
3050
+ function HoseinItemsResource() {
3051
+ return _super !== null && _super.apply(this, arguments) || this;
3052
+ }
3053
+ HoseinItemsResource.prototype.post = function (params) {
3054
+ return this.client.request({
3055
+ body: params.body,
3056
+ endpoint: 'hosein/items',
3057
+ headers: params.headers,
3058
+ method: 'POST',
3059
+ });
3060
+ };
3061
+ HoseinItemsResource.prototype.getById = function (params) {
3062
+ return this.client.request({
3063
+ endpoint: "hosein/items/".concat(encodeURIComponent(params.id)),
3064
+ headers: params.headers,
3065
+ method: 'GET',
3066
+ });
3067
+ };
3068
+ HoseinItemsResource.prototype.putById = function (params) {
3069
+ return this.client.request({
3070
+ body: params.body,
3071
+ endpoint: "hosein/items/".concat(encodeURIComponent(params.id)),
3072
+ headers: params.headers,
3073
+ method: 'PUT',
3074
+ });
3075
+ };
3076
+ HoseinItemsResource.prototype.deleteById = function (params) {
3077
+ return this.client.request({
3078
+ endpoint: "hosein/items/".concat(encodeURIComponent(params.id)),
3079
+ headers: params.headers,
3080
+ method: 'DELETE',
3081
+ });
3082
+ };
3083
+ return HoseinItemsResource;
3084
+ }($Resource));
3085
+ export { HoseinItemsResource };
3048
3086
  var Hs6Resource = /** @class */ (function (_super) {
3049
3087
  __extends(Hs6Resource, _super);
3050
3088
  function Hs6Resource() {
@@ -3952,84 +3990,6 @@ var KnowYourBusinessesResource = /** @class */ (function (_super) {
3952
3990
  return KnowYourBusinessesResource;
3953
3991
  }($Resource));
3954
3992
  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
3993
  var ShopifyPaymentStripeEventsResource = /** @class */ (function (_super) {
4034
3994
  __extends(ShopifyPaymentStripeEventsResource, _super);
4035
3995
  function ShopifyPaymentStripeEventsResource() {
@@ -7084,26 +7044,6 @@ var RescreenRestrictionsProductsResource = /** @class */ (function (_super) {
7084
7044
  return RescreenRestrictionsProductsResource;
7085
7045
  }($Resource));
7086
7046
  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
7047
  var RestrictionFiltersResource = /** @class */ (function (_super) {
7108
7048
  __extends(RestrictionFiltersResource, _super);
7109
7049
  function RestrictionFiltersResource() {
@@ -7160,7 +7100,7 @@ var RestrictionItemsResource = /** @class */ (function (_super) {
7160
7100
  headers: params.headers,
7161
7101
  method: 'GET',
7162
7102
  query: {
7163
- categories: params.categories,
7103
+ category: params.category,
7164
7104
  hs6: params.hs6,
7165
7105
  limit: params.limit,
7166
7106
  negative_keywords: params.negative_keywords,
@@ -7267,6 +7207,7 @@ var RestrictionOrganizationDecisionSummariesResource = /** @class */ (function (
7267
7207
  earliest_pending_date_after: params.earliest_pending_date_after,
7268
7208
  earliest_pending_date_before: params.earliest_pending_date_before,
7269
7209
  environment: params.environment,
7210
+ filter_orgs_with_pending: params.filter_orgs_with_pending,
7270
7211
  filter_orgs_with_pending_verifications: params.filter_orgs_with_pending_verifications,
7271
7212
  limit: params.limit,
7272
7213
  offset: params.offset,
@@ -7296,7 +7237,7 @@ var RestrictionProductsResource = /** @class */ (function (_super) {
7296
7237
  method: 'GET',
7297
7238
  query: {
7298
7239
  accepted_rules: params.accepted_rules,
7299
- categories: params.categories,
7240
+ category: params.category,
7300
7241
  hs6: params.hs6,
7301
7242
  limit: params.limit,
7302
7243
  negative_keywords: params.negative_keywords,
@@ -7654,130 +7595,6 @@ var ShippingLanesResource = /** @class */ (function (_super) {
7654
7595
  return ShippingLanesResource;
7655
7596
  }($Resource));
7656
7597
  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
7598
  var ShopifyMarketsOrderVersionWithShopIdsResource = /** @class */ (function (_super) {
7782
7599
  __extends(ShopifyMarketsOrderVersionWithShopIdsResource, _super);
7783
7600
  function ShopifyMarketsOrderVersionWithShopIdsResource() {
@@ -7980,127 +7797,6 @@ var ShopifyMonitoringOrderMonitorReviewsResource = /** @class */ (function (_sup
7980
7797
  return ShopifyMonitoringOrderMonitorReviewsResource;
7981
7798
  }($Resource));
7982
7799
  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
7800
  var ShopifyOrderFulfillmentsSnapshotsResource = /** @class */ (function (_super) {
8105
7801
  __extends(ShopifyOrderFulfillmentsSnapshotsResource, _super);
8106
7802
  function ShopifyOrderFulfillmentsSnapshotsResource() {
@@ -8118,44 +7814,6 @@ var ShopifyOrderFulfillmentsSnapshotsResource = /** @class */ (function (_super)
8118
7814
  return ShopifyOrderFulfillmentsSnapshotsResource;
8119
7815
  }($Resource));
8120
7816
  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
7817
  var ShopifyPartnerWebhooksResource = /** @class */ (function (_super) {
8160
7818
  __extends(ShopifyPartnerWebhooksResource, _super);
8161
7819
  function ShopifyPartnerWebhooksResource() {
@@ -8172,51 +7830,6 @@ var ShopifyPartnerWebhooksResource = /** @class */ (function (_super) {
8172
7830
  return ShopifyPartnerWebhooksResource;
8173
7831
  }($Resource));
8174
7832
  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
7833
  var ShopifyStoreDetailsResource = /** @class */ (function (_super) {
8221
7834
  __extends(ShopifyStoreDetailsResource, _super);
8222
7835
  function ShopifyStoreDetailsResource() {
@@ -8249,30 +7862,6 @@ var ShopifyStripeEventsResource = /** @class */ (function (_super) {
8249
7862
  return ShopifyStripeEventsResource;
8250
7863
  }($Resource));
8251
7864
  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
7865
  var SmpTaxCalculationFormsResource = /** @class */ (function (_super) {
8277
7866
  __extends(SmpTaxCalculationFormsResource, _super);
8278
7867
  function SmpTaxCalculationFormsResource() {
@@ -8588,22 +8177,6 @@ var TrackingDebugLabelsResource = /** @class */ (function (_super) {
8588
8177
  return TrackingDebugLabelsResource;
8589
8178
  }($Resource));
8590
8179
  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
8180
  var TrackingWebhooksResource = /** @class */ (function (_super) {
8608
8181
  __extends(TrackingWebhooksResource, _super);
8609
8182
  function TrackingWebhooksResource() {
@@ -9010,6 +8583,7 @@ export function createClient(options) {
9010
8583
  harmonizationItemClassifications: new HarmonizationItemClassificationsResource(options),
9011
8584
  harmonizationThresholds: new HarmonizationThresholdsResource(options),
9012
8585
  harmonizationUnclassifiedStatistics: new HarmonizationUnclassifiedStatisticsResource(options),
8586
+ hoseinItems: new HoseinItemsResource(options),
9013
8587
  hs6: new Hs6Resource(options),
9014
8588
  internalDebugTransactions: new InternalDebugTransactionsResource(options),
9015
8589
  internalHarmonizationStatistics: new InternalHarmonizationStatisticsResource(options),
@@ -9042,9 +8616,6 @@ export function createClient(options) {
9042
8616
  organizationSessions: new OrganizationSessionsResource(options),
9043
8617
  shopifyOrders: new ShopifyOrdersResource(options),
9044
8618
  knowYourBusinesses: new KnowYourBusinessesResource(options),
9045
- shopifyCarts: new ShopifyCartsResource(options),
9046
- shopifyCartConversions: new ShopifyCartConversionsResource(options),
9047
- shopifyLocalizedVariants: new ShopifyLocalizedVariantsResource(options),
9048
8619
  shopifyPaymentStripeEvents: new ShopifyPaymentStripeEventsResource(options),
9049
8620
  stripeDisputeEvents: new StripeDisputeEventsResource(options),
9050
8621
  stripeEvents: new StripeEventsResource(options),
@@ -9136,7 +8707,6 @@ export function createClient(options) {
9136
8707
  reports: new ReportsResource(options),
9137
8708
  reportSummary: new ReportSummaryResource(options),
9138
8709
  rescreenRestrictionsProducts: new RescreenRestrictionsProductsResource(options),
9139
- restrictionCategories: new RestrictionCategoriesResource(options),
9140
8710
  restrictionFilters: new RestrictionFiltersResource(options),
9141
8711
  restrictionItems: new RestrictionItemsResource(options),
9142
8712
  restrictionOrganizations: new RestrictionOrganizationsResource(options),
@@ -9153,11 +8723,6 @@ export function createClient(options) {
9153
8723
  searchProviderExports: new SearchProviderExportsResource(options),
9154
8724
  sessionOrderData: new SessionOrderDataResource(options),
9155
8725
  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
8726
  shopifyMarketsOrderVersionWithShopIds: new ShopifyMarketsOrderVersionWithShopIdsResource(options),
9162
8727
  shopifyMarketsQueuedRecords: new ShopifyMarketsQueuedRecordsResource(options),
9163
8728
  shopifyMarketsShops: new ShopifyMarketsShopsResource(options),
@@ -9166,14 +8731,10 @@ export function createClient(options) {
9166
8731
  shopifyMarketsWebhookRegistrations: new ShopifyMarketsWebhookRegistrationsResource(options),
9167
8732
  shopifyMonitoringOrderMonitors: new ShopifyMonitoringOrderMonitorsResource(options),
9168
8733
  shopifyMonitoringOrderMonitorReviews: new ShopifyMonitoringOrderMonitorReviewsResource(options),
9169
- shopifyOrderDetails: new ShopifyOrderDetailsResource(options),
9170
8734
  shopifyOrderFulfillmentsSnapshots: new ShopifyOrderFulfillmentsSnapshotsResource(options),
9171
- shopifyOrganizationSettings: new ShopifyOrganizationSettingsResource(options),
9172
8735
  shopifyPartnerWebhooks: new ShopifyPartnerWebhooksResource(options),
9173
- shopifyPromotions: new ShopifyPromotionsResource(options),
9174
8736
  shopifyStoreDetails: new ShopifyStoreDetailsResource(options),
9175
8737
  shopifyStripeEvents: new ShopifyStripeEventsResource(options),
9176
- shopifyWebhookEvents: new ShopifyWebhookEventsResource(options),
9177
8738
  smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
9178
8739
  snoozes: new SnoozesResource(options),
9179
8740
  spotRates: new SpotRatesResource(options),
@@ -9184,7 +8745,6 @@ export function createClient(options) {
9184
8745
  techOnboardingDescriptions: new TechOnboardingDescriptionsResource(options),
9185
8746
  tests: new TestsResource(options),
9186
8747
  trackingDebugLabels: new TrackingDebugLabelsResource(options),
9187
- trackingResyncs: new TrackingResyncsResource(options),
9188
8748
  trackingWebhooks: new TrackingWebhooksResource(options),
9189
8749
  transactions: new TransactionsResource(options),
9190
8750
  transactionAdjustments: new TransactionAdjustmentsResource(options),