@flowio/api-internal-sdk 0.0.164 → 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.
@@ -1710,21 +1710,6 @@ var CourthouseProductSummariesResource = /** @class */ (function (_super) {
1710
1710
  return CourthouseProductSummariesResource;
1711
1711
  }($Resource));
1712
1712
  export { CourthouseProductSummariesResource };
1713
- var CustomerSecretsResource = /** @class */ (function (_super) {
1714
- __extends(CustomerSecretsResource, _super);
1715
- function CustomerSecretsResource() {
1716
- return _super !== null && _super.apply(this, arguments) || this;
1717
- }
1718
- CustomerSecretsResource.prototype.get = function (params) {
1719
- return this.client.request({
1720
- endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/customers/secret"),
1721
- headers: params.headers,
1722
- method: 'GET',
1723
- });
1724
- };
1725
- return CustomerSecretsResource;
1726
- }($Resource));
1727
- export { CustomerSecretsResource };
1728
1713
  var CustomsDetailsResource = /** @class */ (function (_super) {
1729
1714
  __extends(CustomsDetailsResource, _super);
1730
1715
  function CustomsDetailsResource() {
@@ -3967,84 +3952,6 @@ var KnowYourBusinessesResource = /** @class */ (function (_super) {
3967
3952
  return KnowYourBusinessesResource;
3968
3953
  }($Resource));
3969
3954
  export { KnowYourBusinessesResource };
3970
- var ShopifyCartsResource = /** @class */ (function (_super) {
3971
- __extends(ShopifyCartsResource, _super);
3972
- function ShopifyCartsResource() {
3973
- return _super !== null && _super.apply(this, arguments) || this;
3974
- }
3975
- /*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.*/
3976
- ShopifyCartsResource.prototype.putShopifyAndCartsAndPromotionById = function (params) {
3977
- return this.client.request({
3978
- body: params.body,
3979
- endpoint: "/shopify/carts/".concat(encodeURIComponent(params.id), "/promotion"),
3980
- headers: params.headers,
3981
- method: 'PUT',
3982
- query: {
3983
- expand: params.expand,
3984
- },
3985
- });
3986
- };
3987
- /*If the cart has a promotion code applied to it, removes that promotion code*/
3988
- ShopifyCartsResource.prototype.deleteShopifyAndCartsAndPromotionById = function (params) {
3989
- return this.client.request({
3990
- endpoint: "/shopify/carts/".concat(encodeURIComponent(params.id), "/promotion"),
3991
- headers: params.headers,
3992
- method: 'DELETE',
3993
- query: {
3994
- expand: params.expand,
3995
- },
3996
- });
3997
- };
3998
- /*Create a shopify cart from a flow order*/
3999
- ShopifyCartsResource.prototype.postShopifyAndCartsAndFlowAndOrderByOrganization = function (params) {
4000
- return this.client.request({
4001
- body: params.body,
4002
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/carts/flow/order"),
4003
- headers: params.headers,
4004
- method: 'POST',
4005
- });
4006
- };
4007
- return ShopifyCartsResource;
4008
- }($Resource));
4009
- export { ShopifyCartsResource };
4010
- var ShopifyCartConversionsResource = /** @class */ (function (_super) {
4011
- __extends(ShopifyCartConversionsResource, _super);
4012
- function ShopifyCartConversionsResource() {
4013
- return _super !== null && _super.apply(this, arguments) || this;
4014
- }
4015
- /*Creates a checkout from a shopify cart*/
4016
- ShopifyCartConversionsResource.prototype.postCheckouts = function (params) {
4017
- return this.client.request({
4018
- body: params.body,
4019
- endpoint: "/".concat(encodeURIComponent(params.organization), "/experiences/").concat(encodeURIComponent(params.experience_key), "/shopify/cart/checkouts"),
4020
- headers: params.headers,
4021
- method: 'POST',
4022
- });
4023
- };
4024
- return ShopifyCartConversionsResource;
4025
- }($Resource));
4026
- export { ShopifyCartConversionsResource };
4027
- var ShopifyLocalizedVariantsResource = /** @class */ (function (_super) {
4028
- __extends(ShopifyLocalizedVariantsResource, _super);
4029
- function ShopifyLocalizedVariantsResource() {
4030
- return _super !== null && _super.apply(this, arguments) || this;
4031
- }
4032
- ShopifyLocalizedVariantsResource.prototype.getExperienceAndMapByExperienceKey = function (params) {
4033
- return this.client.request({
4034
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/localized/variants/experience/").concat(encodeURIComponent(params.experience_key), "/map"),
4035
- headers: params.headers,
4036
- method: 'GET',
4037
- query: {
4038
- country: params.country,
4039
- currency: params.currency,
4040
- handle: params.handle,
4041
- variant_id: params.variant_id,
4042
- },
4043
- });
4044
- };
4045
- return ShopifyLocalizedVariantsResource;
4046
- }($Resource));
4047
- export { ShopifyLocalizedVariantsResource };
4048
3955
  var ShopifyPaymentStripeEventsResource = /** @class */ (function (_super) {
4049
3956
  __extends(ShopifyPaymentStripeEventsResource, _super);
4050
3957
  function ShopifyPaymentStripeEventsResource() {
@@ -7099,26 +7006,6 @@ var RescreenRestrictionsProductsResource = /** @class */ (function (_super) {
7099
7006
  return RescreenRestrictionsProductsResource;
7100
7007
  }($Resource));
7101
7008
  export { RescreenRestrictionsProductsResource };
7102
- var RestrictionCategoriesResource = /** @class */ (function (_super) {
7103
- __extends(RestrictionCategoriesResource, _super);
7104
- function RestrictionCategoriesResource() {
7105
- return _super !== null && _super.apply(this, arguments) || this;
7106
- }
7107
- /*Returns categories*/
7108
- RestrictionCategoriesResource.prototype.get = function (params) {
7109
- return this.client.request({
7110
- endpoint: "/jailhouse/restriction/".concat(encodeURIComponent(params.organization), "/categories"),
7111
- headers: params.headers,
7112
- method: 'GET',
7113
- query: {
7114
- limit: params.limit,
7115
- offset: params.offset,
7116
- },
7117
- });
7118
- };
7119
- return RestrictionCategoriesResource;
7120
- }($Resource));
7121
- export { RestrictionCategoriesResource };
7122
7009
  var RestrictionFiltersResource = /** @class */ (function (_super) {
7123
7010
  __extends(RestrictionFiltersResource, _super);
7124
7011
  function RestrictionFiltersResource() {
@@ -7176,6 +7063,7 @@ var RestrictionItemsResource = /** @class */ (function (_super) {
7176
7063
  method: 'GET',
7177
7064
  query: {
7178
7065
  categories: params.categories,
7066
+ category: params.category,
7179
7067
  hs6: params.hs6,
7180
7068
  limit: params.limit,
7181
7069
  negative_keywords: params.negative_keywords,
@@ -7312,6 +7200,7 @@ var RestrictionProductsResource = /** @class */ (function (_super) {
7312
7200
  query: {
7313
7201
  accepted_rules: params.accepted_rules,
7314
7202
  categories: params.categories,
7203
+ category: params.category,
7315
7204
  hs6: params.hs6,
7316
7205
  limit: params.limit,
7317
7206
  negative_keywords: params.negative_keywords,
@@ -7514,6 +7403,44 @@ var RestrictionRuleOverridesResource = /** @class */ (function (_super) {
7514
7403
  return RestrictionRuleOverridesResource;
7515
7404
  }($Resource));
7516
7405
  export { RestrictionRuleOverridesResource };
7406
+ var RohanItemsResource = /** @class */ (function (_super) {
7407
+ __extends(RohanItemsResource, _super);
7408
+ function RohanItemsResource() {
7409
+ return _super !== null && _super.apply(this, arguments) || this;
7410
+ }
7411
+ RohanItemsResource.prototype.post = function (params) {
7412
+ return this.client.request({
7413
+ body: params.body,
7414
+ endpoint: '/rohan/items',
7415
+ headers: params.headers,
7416
+ method: 'POST',
7417
+ });
7418
+ };
7419
+ RohanItemsResource.prototype.getById = function (params) {
7420
+ return this.client.request({
7421
+ endpoint: "/rohan/items/".concat(encodeURIComponent(params.id)),
7422
+ headers: params.headers,
7423
+ method: 'GET',
7424
+ });
7425
+ };
7426
+ RohanItemsResource.prototype.putById = function (params) {
7427
+ return this.client.request({
7428
+ body: params.body,
7429
+ endpoint: "/rohan/items/".concat(encodeURIComponent(params.id)),
7430
+ headers: params.headers,
7431
+ method: 'PUT',
7432
+ });
7433
+ };
7434
+ RohanItemsResource.prototype.deleteById = function (params) {
7435
+ return this.client.request({
7436
+ endpoint: "/rohan/items/".concat(encodeURIComponent(params.id)),
7437
+ headers: params.headers,
7438
+ method: 'DELETE',
7439
+ });
7440
+ };
7441
+ return RohanItemsResource;
7442
+ }($Resource));
7443
+ export { RohanItemsResource };
7517
7444
  var RoutingEntitiesResource = /** @class */ (function (_super) {
7518
7445
  __extends(RoutingEntitiesResource, _super);
7519
7446
  function RoutingEntitiesResource() {
@@ -7596,29 +7523,6 @@ var SearchProviderExportsResource = /** @class */ (function (_super) {
7596
7523
  return SearchProviderExportsResource;
7597
7524
  }($Resource));
7598
7525
  export { SearchProviderExportsResource };
7599
- var SessionCountriesResource = /** @class */ (function (_super) {
7600
- __extends(SessionCountriesResource, _super);
7601
- function SessionCountriesResource() {
7602
- return _super !== null && _super.apply(this, arguments) || this;
7603
- }
7604
- SessionCountriesResource.prototype.get = function (params) {
7605
- return this.client.request({
7606
- endpoint: "/".concat(encodeURIComponent(params.organization), "/session/countries"),
7607
- headers: params.headers,
7608
- method: 'GET',
7609
- });
7610
- };
7611
- SessionCountriesResource.prototype.putByCountry = function (params) {
7612
- return this.client.request({
7613
- body: params.body,
7614
- endpoint: "/".concat(encodeURIComponent(params.organization), "/session/countries/").concat(encodeURIComponent(params.country)),
7615
- headers: params.headers,
7616
- method: 'PUT',
7617
- });
7618
- };
7619
- return SessionCountriesResource;
7620
- }($Resource));
7621
- export { SessionCountriesResource };
7622
7526
  var SessionOrderDataResource = /** @class */ (function (_super) {
7623
7527
  __extends(SessionOrderDataResource, _super);
7624
7528
  function SessionOrderDataResource() {
@@ -7634,29 +7538,6 @@ var SessionOrderDataResource = /** @class */ (function (_super) {
7634
7538
  return SessionOrderDataResource;
7635
7539
  }($Resource));
7636
7540
  export { SessionOrderDataResource };
7637
- var SessionRolloutsResource = /** @class */ (function (_super) {
7638
- __extends(SessionRolloutsResource, _super);
7639
- function SessionRolloutsResource() {
7640
- return _super !== null && _super.apply(this, arguments) || this;
7641
- }
7642
- SessionRolloutsResource.prototype.get = function (params) {
7643
- return this.client.request({
7644
- endpoint: "/".concat(encodeURIComponent(params.organization), "/session/rollout"),
7645
- headers: params.headers,
7646
- method: 'GET',
7647
- });
7648
- };
7649
- SessionRolloutsResource.prototype.put = function (params) {
7650
- return this.client.request({
7651
- body: params.body,
7652
- endpoint: "/".concat(encodeURIComponent(params.organization), "/session/rollout"),
7653
- headers: params.headers,
7654
- method: 'PUT',
7655
- });
7656
- };
7657
- return SessionRolloutsResource;
7658
- }($Resource));
7659
- export { SessionRolloutsResource };
7660
7541
  var ShippingLanesResource = /** @class */ (function (_super) {
7661
7542
  __extends(ShippingLanesResource, _super);
7662
7543
  function ShippingLanesResource() {
@@ -7677,130 +7558,6 @@ var ShippingLanesResource = /** @class */ (function (_super) {
7677
7558
  return ShippingLanesResource;
7678
7559
  }($Resource));
7679
7560
  export { ShippingLanesResource };
7680
- var ShopsResource = /** @class */ (function (_super) {
7681
- __extends(ShopsResource, _super);
7682
- function ShopsResource() {
7683
- return _super !== null && _super.apply(this, arguments) || this;
7684
- }
7685
- ShopsResource.prototype.getRedirectsAndOrderByApp = function (params) {
7686
- return this.client.request({
7687
- endpoint: "/shopify/shops/redirects/".concat(encodeURIComponent(params.app), "/order"),
7688
- headers: params.headers,
7689
- method: 'GET',
7690
- query: {
7691
- id: params.id,
7692
- shop: params.shop,
7693
- },
7694
- });
7695
- };
7696
- ShopsResource.prototype.getByMyshopifyDomain = function (params) {
7697
- return this.client.request({
7698
- endpoint: "/shopify/shops/".concat(encodeURIComponent(params.myshopify_domain)),
7699
- headers: params.headers,
7700
- method: 'GET',
7701
- });
7702
- };
7703
- ShopsResource.prototype.putByMyshopifyDomain = function (params) {
7704
- return this.client.request({
7705
- body: params.body,
7706
- endpoint: "/shopify/shops/".concat(encodeURIComponent(params.myshopify_domain)),
7707
- headers: params.headers,
7708
- method: 'PUT',
7709
- });
7710
- };
7711
- ShopsResource.prototype.deleteByMyshopifyDomain = function (params) {
7712
- return this.client.request({
7713
- endpoint: "/shopify/shops/".concat(encodeURIComponent(params.myshopify_domain)),
7714
- headers: params.headers,
7715
- method: 'DELETE',
7716
- });
7717
- };
7718
- ShopsResource.prototype.postInstallByMyshopifyDomain = function (params) {
7719
- return this.client.request({
7720
- body: params.body,
7721
- endpoint: "/shopify/shops/".concat(encodeURIComponent(params.myshopify_domain), "/install"),
7722
- headers: params.headers,
7723
- method: 'POST',
7724
- });
7725
- };
7726
- ShopsResource.prototype.postSessionsByMyshopifyDomain = function (params) {
7727
- return this.client.request({
7728
- body: params.body,
7729
- endpoint: "/shopify/shops/".concat(encodeURIComponent(params.myshopify_domain), "/sessions"),
7730
- headers: params.headers,
7731
- method: 'POST',
7732
- });
7733
- };
7734
- return ShopsResource;
7735
- }($Resource));
7736
- export { ShopsResource };
7737
- var ShopifyGiftCardBalancesResource = /** @class */ (function (_super) {
7738
- __extends(ShopifyGiftCardBalancesResource, _super);
7739
- function ShopifyGiftCardBalancesResource() {
7740
- return _super !== null && _super.apply(this, arguments) || this;
7741
- }
7742
- /*Check the remaining balance on a Shopify gift card*/
7743
- ShopifyGiftCardBalancesResource.prototype.post = function (params) {
7744
- return this.client.request({
7745
- body: params.body,
7746
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/gift/cards/balances"),
7747
- headers: params.headers,
7748
- method: 'POST',
7749
- });
7750
- };
7751
- return ShopifyGiftCardBalancesResource;
7752
- }($Resource));
7753
- export { ShopifyGiftCardBalancesResource };
7754
- var ShopifyGiftCardRedemptionsResource = /** @class */ (function (_super) {
7755
- __extends(ShopifyGiftCardRedemptionsResource, _super);
7756
- function ShopifyGiftCardRedemptionsResource() {
7757
- return _super !== null && _super.apply(this, arguments) || this;
7758
- }
7759
- /*Redeems a Shopify gift card*/
7760
- ShopifyGiftCardRedemptionsResource.prototype.post = function (params) {
7761
- return this.client.request({
7762
- body: params.body,
7763
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/gift/cards/redemptions"),
7764
- headers: params.headers,
7765
- method: 'POST',
7766
- });
7767
- };
7768
- return ShopifyGiftCardRedemptionsResource;
7769
- }($Resource));
7770
- export { ShopifyGiftCardRedemptionsResource };
7771
- var ShopifyGiftCardReversalsResource = /** @class */ (function (_super) {
7772
- __extends(ShopifyGiftCardReversalsResource, _super);
7773
- function ShopifyGiftCardReversalsResource() {
7774
- return _super !== null && _super.apply(this, arguments) || this;
7775
- }
7776
- /*Reverses a Shopify gift card redemption*/
7777
- ShopifyGiftCardReversalsResource.prototype.post = function (params) {
7778
- return this.client.request({
7779
- body: params.body,
7780
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/gift/cards/reversals"),
7781
- headers: params.headers,
7782
- method: 'POST',
7783
- });
7784
- };
7785
- return ShopifyGiftCardReversalsResource;
7786
- }($Resource));
7787
- export { ShopifyGiftCardReversalsResource };
7788
- var ShopifyGrantsChecksResource = /** @class */ (function (_super) {
7789
- __extends(ShopifyGrantsChecksResource, _super);
7790
- function ShopifyGrantsChecksResource() {
7791
- return _super !== null && _super.apply(this, arguments) || this;
7792
- }
7793
- ShopifyGrantsChecksResource.prototype.getCheckHtml = function (params) {
7794
- if (params === void 0) { params = {}; }
7795
- return this.client.request({
7796
- endpoint: '/shopify/grants/check.html',
7797
- headers: params.headers,
7798
- method: 'GET',
7799
- });
7800
- };
7801
- return ShopifyGrantsChecksResource;
7802
- }($Resource));
7803
- export { ShopifyGrantsChecksResource };
7804
7561
  var ShopifyMarketsOrderVersionWithShopIdsResource = /** @class */ (function (_super) {
7805
7562
  __extends(ShopifyMarketsOrderVersionWithShopIdsResource, _super);
7806
7563
  function ShopifyMarketsOrderVersionWithShopIdsResource() {
@@ -8003,127 +7760,6 @@ var ShopifyMonitoringOrderMonitorReviewsResource = /** @class */ (function (_sup
8003
7760
  return ShopifyMonitoringOrderMonitorReviewsResource;
8004
7761
  }($Resource));
8005
7762
  export { ShopifyMonitoringOrderMonitorReviewsResource };
8006
- var ShopifyOrderDetailsResource = /** @class */ (function (_super) {
8007
- __extends(ShopifyOrderDetailsResource, _super);
8008
- function ShopifyOrderDetailsResource() {
8009
- return _super !== null && _super.apply(this, arguments) || this;
8010
- }
8011
- /*Check inventory for a provided set of items, ensuring expected quantities are in stock.*/
8012
- ShopifyOrderDetailsResource.prototype.postChecksAndInventory = function (params) {
8013
- return this.client.request({
8014
- body: params.body,
8015
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/checks/inventory"),
8016
- headers: params.headers,
8017
- method: 'POST',
8018
- });
8019
- };
8020
- /*Endpoint to inject a submitted order directly to shopify, bypassing event processing*/
8021
- ShopifyOrderDetailsResource.prototype.postEnsure = function (params) {
8022
- return this.client.request({
8023
- body: params.body,
8024
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/ensure"),
8025
- headers: params.headers,
8026
- method: 'POST',
8027
- });
8028
- };
8029
- /*Check inventory for order items, ensuring expected quantities are in stock.*/
8030
- ShopifyOrderDetailsResource.prototype.getChecksAndInventoryByNumber = function (params) {
8031
- return this.client.request({
8032
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/checks/inventory"),
8033
- headers: params.headers,
8034
- method: 'GET',
8035
- });
8036
- };
8037
- /*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.*/
8038
- ShopifyOrderDetailsResource.prototype.postCodesByNumber = function (params) {
8039
- return this.client.request({
8040
- body: params.body,
8041
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/codes"),
8042
- headers: params.headers,
8043
- method: 'POST',
8044
- query: {
8045
- expand: params.expand,
8046
- },
8047
- });
8048
- };
8049
- ShopifyOrderDetailsResource.prototype.getContentsByNumber = function (params) {
8050
- return this.client.request({
8051
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/contents"),
8052
- headers: params.headers,
8053
- method: 'GET',
8054
- });
8055
- };
8056
- /*Apply gift card payment on the order. A gift card can be applied at most once per order.*/
8057
- ShopifyOrderDetailsResource.prototype.postPaymentsAndGiftCardByNumber = function (params) {
8058
- return this.client.request({
8059
- body: params.body,
8060
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/payments/gift-card"),
8061
- headers: params.headers,
8062
- method: 'POST',
8063
- query: {
8064
- expand: params.expand,
8065
- },
8066
- });
8067
- };
8068
- /*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.*/
8069
- ShopifyOrderDetailsResource.prototype.putPromotionByNumber = function (params) {
8070
- return this.client.request({
8071
- body: params.body,
8072
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/promotion"),
8073
- headers: params.headers,
8074
- method: 'PUT',
8075
- query: {
8076
- expand: params.expand,
8077
- },
8078
- });
8079
- };
8080
- /*If the cart has a promotion code applied to it, removes that promotion code*/
8081
- ShopifyOrderDetailsResource.prototype.deletePromotionByNumber = function (params) {
8082
- return this.client.request({
8083
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/promotion"),
8084
- headers: params.headers,
8085
- method: 'DELETE',
8086
- query: {
8087
- expand: params.expand,
8088
- },
8089
- });
8090
- };
8091
- /*If the cart has a promotion code applied to it, removes that promotion code. Similar to DELETE /:number/promotion but with a different path.*/
8092
- ShopifyOrderDetailsResource.prototype.deletePromotionAndDeleteByNumber = function (params) {
8093
- return this.client.request({
8094
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/promotion/delete"),
8095
- headers: params.headers,
8096
- method: 'DELETE',
8097
- query: {
8098
- expand: params.expand,
8099
- },
8100
- });
8101
- };
8102
- /*Clear and apply automatic discounts only on the order. No discount codes are needed.*/
8103
- ShopifyOrderDetailsResource.prototype.putPromotionsAndAutoAndApplyByNumber = function (params) {
8104
- return this.client.request({
8105
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/promotions/auto/apply"),
8106
- headers: params.headers,
8107
- method: 'PUT',
8108
- query: {
8109
- expand: params.expand,
8110
- },
8111
- });
8112
- };
8113
- /*Returns order authorization details.*/
8114
- ShopifyOrderDetailsResource.prototype.getSubmissionsByNumberAndAuthorizationKey = function (params) {
8115
- return this.client.request({
8116
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/orders/").concat(encodeURIComponent(params.number), "/submissions/").concat(encodeURIComponent(params.authorization_key)),
8117
- headers: params.headers,
8118
- method: 'GET',
8119
- query: {
8120
- expand: params.expand,
8121
- },
8122
- });
8123
- };
8124
- return ShopifyOrderDetailsResource;
8125
- }($Resource));
8126
- export { ShopifyOrderDetailsResource };
8127
7763
  var ShopifyOrderFulfillmentsSnapshotsResource = /** @class */ (function (_super) {
8128
7764
  __extends(ShopifyOrderFulfillmentsSnapshotsResource, _super);
8129
7765
  function ShopifyOrderFulfillmentsSnapshotsResource() {
@@ -8141,44 +7777,6 @@ var ShopifyOrderFulfillmentsSnapshotsResource = /** @class */ (function (_super)
8141
7777
  return ShopifyOrderFulfillmentsSnapshotsResource;
8142
7778
  }($Resource));
8143
7779
  export { ShopifyOrderFulfillmentsSnapshotsResource };
8144
- var ShopifyOrganizationSettingsResource = /** @class */ (function (_super) {
8145
- __extends(ShopifyOrganizationSettingsResource, _super);
8146
- function ShopifyOrganizationSettingsResource() {
8147
- return _super !== null && _super.apply(this, arguments) || this;
8148
- }
8149
- ShopifyOrganizationSettingsResource.prototype.get = function (params) {
8150
- return this.client.request({
8151
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/organization/settings"),
8152
- headers: params.headers,
8153
- method: 'GET',
8154
- });
8155
- };
8156
- ShopifyOrganizationSettingsResource.prototype.post = function (params) {
8157
- return this.client.request({
8158
- body: params.body,
8159
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/organization/settings"),
8160
- headers: params.headers,
8161
- method: 'POST',
8162
- });
8163
- };
8164
- ShopifyOrganizationSettingsResource.prototype.put = function (params) {
8165
- return this.client.request({
8166
- body: params.body,
8167
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/organization/settings"),
8168
- headers: params.headers,
8169
- method: 'PUT',
8170
- });
8171
- };
8172
- ShopifyOrganizationSettingsResource.prototype.delete = function (params) {
8173
- return this.client.request({
8174
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/organization/settings"),
8175
- headers: params.headers,
8176
- method: 'DELETE',
8177
- });
8178
- };
8179
- return ShopifyOrganizationSettingsResource;
8180
- }($Resource));
8181
- export { ShopifyOrganizationSettingsResource };
8182
7780
  var ShopifyPartnerWebhooksResource = /** @class */ (function (_super) {
8183
7781
  __extends(ShopifyPartnerWebhooksResource, _super);
8184
7782
  function ShopifyPartnerWebhooksResource() {
@@ -8195,51 +7793,6 @@ var ShopifyPartnerWebhooksResource = /** @class */ (function (_super) {
8195
7793
  return ShopifyPartnerWebhooksResource;
8196
7794
  }($Resource));
8197
7795
  export { ShopifyPartnerWebhooksResource };
8198
- var ShopifyPromotionsResource = /** @class */ (function (_super) {
8199
- __extends(ShopifyPromotionsResource, _super);
8200
- function ShopifyPromotionsResource() {
8201
- return _super !== null && _super.apply(this, arguments) || this;
8202
- }
8203
- ShopifyPromotionsResource.prototype.get = function (params) {
8204
- return this.client.request({
8205
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/promotions"),
8206
- headers: params.headers,
8207
- method: 'GET',
8208
- query: {
8209
- id: params.id,
8210
- limit: params.limit,
8211
- offset: params.offset,
8212
- sort: params.sort,
8213
- status: params.status,
8214
- },
8215
- });
8216
- };
8217
- ShopifyPromotionsResource.prototype.post = function (params) {
8218
- return this.client.request({
8219
- body: params.body,
8220
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/promotions"),
8221
- headers: params.headers,
8222
- method: 'POST',
8223
- });
8224
- };
8225
- ShopifyPromotionsResource.prototype.getById = function (params) {
8226
- return this.client.request({
8227
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/promotions/").concat(encodeURIComponent(params.id)),
8228
- headers: params.headers,
8229
- method: 'GET',
8230
- });
8231
- };
8232
- ShopifyPromotionsResource.prototype.putById = function (params) {
8233
- return this.client.request({
8234
- body: params.body,
8235
- endpoint: "/".concat(encodeURIComponent(params.organization), "/shopify/promotions/").concat(encodeURIComponent(params.id)),
8236
- headers: params.headers,
8237
- method: 'PUT',
8238
- });
8239
- };
8240
- return ShopifyPromotionsResource;
8241
- }($Resource));
8242
- export { ShopifyPromotionsResource };
8243
7796
  var ShopifyStoreDetailsResource = /** @class */ (function (_super) {
8244
7797
  __extends(ShopifyStoreDetailsResource, _super);
8245
7798
  function ShopifyStoreDetailsResource() {
@@ -8272,30 +7825,6 @@ var ShopifyStripeEventsResource = /** @class */ (function (_super) {
8272
7825
  return ShopifyStripeEventsResource;
8273
7826
  }($Resource));
8274
7827
  export { ShopifyStripeEventsResource };
8275
- var ShopifyWebhookEventsResource = /** @class */ (function (_super) {
8276
- __extends(ShopifyWebhookEventsResource, _super);
8277
- function ShopifyWebhookEventsResource() {
8278
- return _super !== null && _super.apply(this, arguments) || this;
8279
- }
8280
- ShopifyWebhookEventsResource.prototype.postShopsByShopifyShopIdAndTopicAndAction = function (params) {
8281
- return this.client.request({
8282
- body: params.body,
8283
- endpoint: "/shopify/webhook/events/shops/".concat(encodeURIComponent(params.shopify_shop_id), "/").concat(encodeURIComponent(params.topic), "/").concat(encodeURIComponent(params.action)),
8284
- headers: params.headers,
8285
- method: 'POST',
8286
- });
8287
- };
8288
- ShopifyWebhookEventsResource.prototype.postByTopicAndAction = function (params) {
8289
- return this.client.request({
8290
- body: params.body,
8291
- endpoint: "/shopify/webhook/events/".concat(encodeURIComponent(params.topic), "/").concat(encodeURIComponent(params.action)),
8292
- headers: params.headers,
8293
- method: 'POST',
8294
- });
8295
- };
8296
- return ShopifyWebhookEventsResource;
8297
- }($Resource));
8298
- export { ShopifyWebhookEventsResource };
8299
7828
  var SmpTaxCalculationFormsResource = /** @class */ (function (_super) {
8300
7829
  __extends(SmpTaxCalculationFormsResource, _super);
8301
7830
  function SmpTaxCalculationFormsResource() {
@@ -8611,22 +8140,6 @@ var TrackingDebugLabelsResource = /** @class */ (function (_super) {
8611
8140
  return TrackingDebugLabelsResource;
8612
8141
  }($Resource));
8613
8142
  export { TrackingDebugLabelsResource };
8614
- var TrackingResyncsResource = /** @class */ (function (_super) {
8615
- __extends(TrackingResyncsResource, _super);
8616
- function TrackingResyncsResource() {
8617
- return _super !== null && _super.apply(this, arguments) || this;
8618
- }
8619
- TrackingResyncsResource.prototype.post = function (params) {
8620
- return this.client.request({
8621
- body: params.body,
8622
- endpoint: '/internal/tracking/resync/request',
8623
- headers: params.headers,
8624
- method: 'POST',
8625
- });
8626
- };
8627
- return TrackingResyncsResource;
8628
- }($Resource));
8629
- export { TrackingResyncsResource };
8630
8143
  var TrackingWebhooksResource = /** @class */ (function (_super) {
8631
8144
  __extends(TrackingWebhooksResource, _super);
8632
8145
  function TrackingWebhooksResource() {
@@ -8993,7 +8506,6 @@ export function createClient(options) {
8993
8506
  consumerOptinActivities: new ConsumerOptinActivitiesResource(options),
8994
8507
  contentSchemas: new ContentSchemasResource(options),
8995
8508
  courthouseProductSummaries: new CourthouseProductSummariesResource(options),
8996
- customerSecrets: new CustomerSecretsResource(options),
8997
8509
  customsDetails: new CustomsDetailsResource(options),
8998
8510
  debugOrders: new DebugOrdersResource(options),
8999
8511
  debugOrderTransactions: new DebugOrderTransactionsResource(options),
@@ -9066,9 +8578,6 @@ export function createClient(options) {
9066
8578
  organizationSessions: new OrganizationSessionsResource(options),
9067
8579
  shopifyOrders: new ShopifyOrdersResource(options),
9068
8580
  knowYourBusinesses: new KnowYourBusinessesResource(options),
9069
- shopifyCarts: new ShopifyCartsResource(options),
9070
- shopifyCartConversions: new ShopifyCartConversionsResource(options),
9071
- shopifyLocalizedVariants: new ShopifyLocalizedVariantsResource(options),
9072
8581
  shopifyPaymentStripeEvents: new ShopifyPaymentStripeEventsResource(options),
9073
8582
  stripeDisputeEvents: new StripeDisputeEventsResource(options),
9074
8583
  stripeEvents: new StripeEventsResource(options),
@@ -9160,7 +8669,6 @@ export function createClient(options) {
9160
8669
  reports: new ReportsResource(options),
9161
8670
  reportSummary: new ReportSummaryResource(options),
9162
8671
  rescreenRestrictionsProducts: new RescreenRestrictionsProductsResource(options),
9163
- restrictionCategories: new RestrictionCategoriesResource(options),
9164
8672
  restrictionFilters: new RestrictionFiltersResource(options),
9165
8673
  restrictionItems: new RestrictionItemsResource(options),
9166
8674
  restrictionOrganizations: new RestrictionOrganizationsResource(options),
@@ -9170,19 +8678,13 @@ export function createClient(options) {
9170
8678
  restrictionRules: new RestrictionRulesResource(options),
9171
8679
  restrictionRuleEffects: new RestrictionRuleEffectsResource(options),
9172
8680
  restrictionRuleOverrides: new RestrictionRuleOverridesResource(options),
8681
+ rohanItems: new RohanItemsResource(options),
9173
8682
  routingEntities: new RoutingEntitiesResource(options),
9174
8683
  sandboxSetups: new SandboxSetupsResource(options),
9175
8684
  screens: new ScreensResource(options),
9176
8685
  searchProviderExports: new SearchProviderExportsResource(options),
9177
- sessionCountries: new SessionCountriesResource(options),
9178
8686
  sessionOrderData: new SessionOrderDataResource(options),
9179
- sessionRollouts: new SessionRolloutsResource(options),
9180
8687
  shippingLanes: new ShippingLanesResource(options),
9181
- shops: new ShopsResource(options),
9182
- shopifyGiftCardBalances: new ShopifyGiftCardBalancesResource(options),
9183
- shopifyGiftCardRedemptions: new ShopifyGiftCardRedemptionsResource(options),
9184
- shopifyGiftCardReversals: new ShopifyGiftCardReversalsResource(options),
9185
- shopifyGrantsChecks: new ShopifyGrantsChecksResource(options),
9186
8688
  shopifyMarketsOrderVersionWithShopIds: new ShopifyMarketsOrderVersionWithShopIdsResource(options),
9187
8689
  shopifyMarketsQueuedRecords: new ShopifyMarketsQueuedRecordsResource(options),
9188
8690
  shopifyMarketsShops: new ShopifyMarketsShopsResource(options),
@@ -9191,14 +8693,10 @@ export function createClient(options) {
9191
8693
  shopifyMarketsWebhookRegistrations: new ShopifyMarketsWebhookRegistrationsResource(options),
9192
8694
  shopifyMonitoringOrderMonitors: new ShopifyMonitoringOrderMonitorsResource(options),
9193
8695
  shopifyMonitoringOrderMonitorReviews: new ShopifyMonitoringOrderMonitorReviewsResource(options),
9194
- shopifyOrderDetails: new ShopifyOrderDetailsResource(options),
9195
8696
  shopifyOrderFulfillmentsSnapshots: new ShopifyOrderFulfillmentsSnapshotsResource(options),
9196
- shopifyOrganizationSettings: new ShopifyOrganizationSettingsResource(options),
9197
8697
  shopifyPartnerWebhooks: new ShopifyPartnerWebhooksResource(options),
9198
- shopifyPromotions: new ShopifyPromotionsResource(options),
9199
8698
  shopifyStoreDetails: new ShopifyStoreDetailsResource(options),
9200
8699
  shopifyStripeEvents: new ShopifyStripeEventsResource(options),
9201
- shopifyWebhookEvents: new ShopifyWebhookEventsResource(options),
9202
8700
  smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
9203
8701
  snoozes: new SnoozesResource(options),
9204
8702
  spotRates: new SpotRatesResource(options),
@@ -9209,7 +8707,6 @@ export function createClient(options) {
9209
8707
  techOnboardingDescriptions: new TechOnboardingDescriptionsResource(options),
9210
8708
  tests: new TestsResource(options),
9211
8709
  trackingDebugLabels: new TrackingDebugLabelsResource(options),
9212
- trackingResyncs: new TrackingResyncsResource(options),
9213
8710
  trackingWebhooks: new TrackingWebhooksResource(options),
9214
8711
  transactions: new TransactionsResource(options),
9215
8712
  transactionAdjustments: new TransactionAdjustmentsResource(options),