@flowio/api-internal-sdk 0.0.167 → 0.0.168

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.
@@ -142,29 +142,6 @@ var AccountPaymentHoldsResource = /** @class */ (function (_super) {
142
142
  return AccountPaymentHoldsResource;
143
143
  }($Resource));
144
144
  export { AccountPaymentHoldsResource };
145
- var AddressConfigurationSettingsResource = /** @class */ (function (_super) {
146
- __extends(AddressConfigurationSettingsResource, _super);
147
- function AddressConfigurationSettingsResource() {
148
- return _super !== null && _super.apply(this, arguments) || this;
149
- }
150
- AddressConfigurationSettingsResource.prototype.get = function (params) {
151
- return this.client.request({
152
- endpoint: "/".concat(encodeURIComponent(params.organization), "/address/configuration/settings"),
153
- headers: params.headers,
154
- method: 'GET',
155
- });
156
- };
157
- AddressConfigurationSettingsResource.prototype.put = function (params) {
158
- return this.client.request({
159
- body: params.body,
160
- endpoint: "/".concat(encodeURIComponent(params.organization), "/address/configuration/settings"),
161
- headers: params.headers,
162
- method: 'PUT',
163
- });
164
- };
165
- return AddressConfigurationSettingsResource;
166
- }($Resource));
167
- export { AddressConfigurationSettingsResource };
168
145
  var AftershipWebhooksResource = /** @class */ (function (_super) {
169
146
  __extends(AftershipWebhooksResource, _super);
170
147
  function AftershipWebhooksResource() {
@@ -324,22 +301,6 @@ var AnshItemsResource = /** @class */ (function (_super) {
324
301
  return AnshItemsResource;
325
302
  }($Resource));
326
303
  export { AnshItemsResource };
327
- var AuthorizedChargeStatusesResource = /** @class */ (function (_super) {
328
- __extends(AuthorizedChargeStatusesResource, _super);
329
- function AuthorizedChargeStatusesResource() {
330
- return _super !== null && _super.apply(this, arguments) || this;
331
- }
332
- /*Returns the current status of charges for this order*/
333
- AuthorizedChargeStatusesResource.prototype.get = function (params) {
334
- return this.client.request({
335
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/status/charges"),
336
- headers: params.headers,
337
- method: 'GET',
338
- });
339
- };
340
- return AuthorizedChargeStatusesResource;
341
- }($Resource));
342
- export { AuthorizedChargeStatusesResource };
343
304
  var BankPaymentsResource = /** @class */ (function (_super) {
344
305
  __extends(BankPaymentsResource, _super);
345
306
  function BankPaymentsResource() {
@@ -380,6 +341,33 @@ var BankPaymentsResource = /** @class */ (function (_super) {
380
341
  return BankPaymentsResource;
381
342
  }($Resource));
382
343
  export { BankPaymentsResource };
344
+ var BankPaymentDetailsResource = /** @class */ (function (_super) {
345
+ __extends(BankPaymentDetailsResource, _super);
346
+ function BankPaymentDetailsResource() {
347
+ return _super !== null && _super.apply(this, arguments) || this;
348
+ }
349
+ BankPaymentDetailsResource.prototype.get = function (params) {
350
+ return this.client.request({
351
+ endpoint: '/internal/billing/bank/payment/details',
352
+ headers: params.headers,
353
+ method: 'GET',
354
+ query: {
355
+ id: params.id,
356
+ limit: params.limit,
357
+ offset: params.offset,
358
+ order_payment_source: params.order_payment_source,
359
+ since: params.since,
360
+ sort: params.sort,
361
+ source_id: params.source_id,
362
+ source_type: params.source_type,
363
+ status: params.status,
364
+ until: params.until,
365
+ },
366
+ });
367
+ };
368
+ return BankPaymentDetailsResource;
369
+ }($Resource));
370
+ export { BankPaymentDetailsResource };
383
371
  var BankPaymentOrdersResource = /** @class */ (function (_super) {
384
372
  __extends(BankPaymentOrdersResource, _super);
385
373
  function BankPaymentOrdersResource() {
@@ -1254,91 +1242,6 @@ var ChargebacksResource = /** @class */ (function (_super) {
1254
1242
  return ChargebacksResource;
1255
1243
  }($Resource));
1256
1244
  export { ChargebacksResource };
1257
- var CheckoutConfigurationsResource = /** @class */ (function (_super) {
1258
- __extends(CheckoutConfigurationsResource, _super);
1259
- function CheckoutConfigurationsResource() {
1260
- return _super !== null && _super.apply(this, arguments) || this;
1261
- }
1262
- /*Search checkout configurations. Always paginated.*/
1263
- CheckoutConfigurationsResource.prototype.get = function (params) {
1264
- return this.client.request({
1265
- endpoint: "/".concat(encodeURIComponent(params.organization), "/checkout/configurations"),
1266
- headers: params.headers,
1267
- method: 'GET',
1268
- query: {
1269
- id: params.id,
1270
- limit: params.limit,
1271
- offset: params.offset,
1272
- sort: params.sort,
1273
- },
1274
- });
1275
- };
1276
- /*Create a new checkout configuration*/
1277
- CheckoutConfigurationsResource.prototype.post = function (params) {
1278
- return this.client.request({
1279
- body: params.body,
1280
- endpoint: "/".concat(encodeURIComponent(params.organization), "/checkout/configurations"),
1281
- headers: params.headers,
1282
- method: 'POST',
1283
- });
1284
- };
1285
- /*Returns information about a specific checkout configuration.*/
1286
- CheckoutConfigurationsResource.prototype.getById = function (params) {
1287
- return this.client.request({
1288
- endpoint: "/".concat(encodeURIComponent(params.organization), "/checkout/configurations/").concat(encodeURIComponent(params.id)),
1289
- headers: params.headers,
1290
- method: 'GET',
1291
- });
1292
- };
1293
- /*Update an existing checkout configuration*/
1294
- CheckoutConfigurationsResource.prototype.putById = function (params) {
1295
- return this.client.request({
1296
- body: params.body,
1297
- endpoint: "/".concat(encodeURIComponent(params.organization), "/checkout/configurations/").concat(encodeURIComponent(params.id)),
1298
- headers: params.headers,
1299
- method: 'PUT',
1300
- });
1301
- };
1302
- /*Removes an existing checkout configuration*/
1303
- CheckoutConfigurationsResource.prototype.deleteById = function (params) {
1304
- return this.client.request({
1305
- endpoint: "/".concat(encodeURIComponent(params.organization), "/checkout/configurations/").concat(encodeURIComponent(params.id)),
1306
- headers: params.headers,
1307
- method: 'DELETE',
1308
- });
1309
- };
1310
- return CheckoutConfigurationsResource;
1311
- }($Resource));
1312
- export { CheckoutConfigurationsResource };
1313
- var CheckoutContentSummariesResource = /** @class */ (function (_super) {
1314
- __extends(CheckoutContentSummariesResource, _super);
1315
- function CheckoutContentSummariesResource() {
1316
- return _super !== null && _super.apply(this, arguments) || this;
1317
- }
1318
- CheckoutContentSummariesResource.prototype.getCheckout = function (params) {
1319
- return this.client.request({
1320
- endpoint: "/".concat(encodeURIComponent(params.organization), "/content/checkout"),
1321
- headers: params.headers,
1322
- method: 'GET',
1323
- query: {
1324
- locale: params.locale,
1325
- },
1326
- });
1327
- };
1328
- /*Endpoint used to access data for the 'load' content type - This allows us to rewrite URLs to serve from api proxy, avoiding any issues with CORS*/
1329
- CheckoutContentSummariesResource.prototype.getUrlByKey = function (params) {
1330
- return this.client.request({
1331
- endpoint: "/".concat(encodeURIComponent(params.organization), "/content/").concat(encodeURIComponent(params.key), "/url"),
1332
- headers: params.headers,
1333
- method: 'GET',
1334
- query: {
1335
- url: params.url,
1336
- },
1337
- });
1338
- };
1339
- return CheckoutContentSummariesResource;
1340
- }($Resource));
1341
- export { CheckoutContentSummariesResource };
1342
1245
  var CiphersResource = /** @class */ (function (_super) {
1343
1246
  __extends(CiphersResource, _super);
1344
1247
  function CiphersResource() {
@@ -1650,50 +1553,6 @@ var CompliancesResource = /** @class */ (function (_super) {
1650
1553
  return CompliancesResource;
1651
1554
  }($Resource));
1652
1555
  export { CompliancesResource };
1653
- var ConsumerOptinActivitiesResource = /** @class */ (function (_super) {
1654
- __extends(ConsumerOptinActivitiesResource, _super);
1655
- function ConsumerOptinActivitiesResource() {
1656
- return _super !== null && _super.apply(this, arguments) || this;
1657
- }
1658
- ConsumerOptinActivitiesResource.prototype.post = function (params) {
1659
- return this.client.request({
1660
- body: params.body,
1661
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/activities"),
1662
- headers: params.headers,
1663
- method: 'POST',
1664
- });
1665
- };
1666
- return ConsumerOptinActivitiesResource;
1667
- }($Resource));
1668
- export { ConsumerOptinActivitiesResource };
1669
- var ContentSchemasResource = /** @class */ (function (_super) {
1670
- __extends(ContentSchemasResource, _super);
1671
- function ContentSchemasResource() {
1672
- return _super !== null && _super.apply(this, arguments) || this;
1673
- }
1674
- ContentSchemasResource.prototype.get = function (params) {
1675
- return this.client.request({
1676
- endpoint: '/content/schemas',
1677
- headers: params.headers,
1678
- method: 'GET',
1679
- query: {
1680
- key: params.key,
1681
- limit: params.limit,
1682
- offset: params.offset,
1683
- sort: params.sort,
1684
- },
1685
- });
1686
- };
1687
- ContentSchemasResource.prototype.getBySchemaKey = function (params) {
1688
- return this.client.request({
1689
- endpoint: "/content/schemas/".concat(encodeURIComponent(params.schema_key)),
1690
- headers: params.headers,
1691
- method: 'GET',
1692
- });
1693
- };
1694
- return ContentSchemasResource;
1695
- }($Resource));
1696
- export { ContentSchemasResource };
1697
1556
  var CourthouseProductSummariesResource = /** @class */ (function (_super) {
1698
1557
  __extends(CourthouseProductSummariesResource, _super);
1699
1558
  function CourthouseProductSummariesResource() {
@@ -1727,6 +1586,22 @@ var CustomsDetailsResource = /** @class */ (function (_super) {
1727
1586
  return CustomsDetailsResource;
1728
1587
  }($Resource));
1729
1588
  export { CustomsDetailsResource };
1589
+ var DatabasesResource = /** @class */ (function (_super) {
1590
+ __extends(DatabasesResource, _super);
1591
+ function DatabasesResource() {
1592
+ return _super !== null && _super.apply(this, arguments) || this;
1593
+ }
1594
+ DatabasesResource.prototype.get = function (params) {
1595
+ if (params === void 0) { params = {}; }
1596
+ return this.client.request({
1597
+ endpoint: '/internal/db/gateway/databases',
1598
+ headers: params.headers,
1599
+ method: 'GET',
1600
+ });
1601
+ };
1602
+ return DatabasesResource;
1603
+ }($Resource));
1604
+ export { DatabasesResource };
1730
1605
  var DebugOrdersResource = /** @class */ (function (_super) {
1731
1606
  __extends(DebugOrdersResource, _super);
1732
1607
  function DebugOrdersResource() {
@@ -2344,29 +2219,6 @@ var FinancialMerchantCategoriesResource = /** @class */ (function (_super) {
2344
2219
  return FinancialMerchantCategoriesResource;
2345
2220
  }($Resource));
2346
2221
  export { FinancialMerchantCategoriesResource };
2347
- var FinancialReportingStatementsResource = /** @class */ (function (_super) {
2348
- __extends(FinancialReportingStatementsResource, _super);
2349
- function FinancialReportingStatementsResource() {
2350
- return _super !== null && _super.apply(this, arguments) || this;
2351
- }
2352
- FinancialReportingStatementsResource.prototype.getByStatementNumber = function (params) {
2353
- return this.client.request({
2354
- endpoint: "/internal/financial_reporting_statement/".concat(encodeURIComponent(params.statement_number)),
2355
- headers: params.headers,
2356
- method: 'GET',
2357
- });
2358
- };
2359
- FinancialReportingStatementsResource.prototype.postByStatementNumber = function (params) {
2360
- return this.client.request({
2361
- body: params.body,
2362
- endpoint: "/internal/financial_reporting_statement/".concat(encodeURIComponent(params.statement_number)),
2363
- headers: params.headers,
2364
- method: 'POST',
2365
- });
2366
- };
2367
- return FinancialReportingStatementsResource;
2368
- }($Resource));
2369
- export { FinancialReportingStatementsResource };
2370
2222
  var FlexeWebhooksResource = /** @class */ (function (_super) {
2371
2223
  __extends(FlexeWebhooksResource, _super);
2372
2224
  function FlexeWebhooksResource() {
@@ -2584,58 +2436,6 @@ var FlowChannelOrganizationsResource = /** @class */ (function (_super) {
2584
2436
  return FlowChannelOrganizationsResource;
2585
2437
  }($Resource));
2586
2438
  export { FlowChannelOrganizationsResource };
2587
- var FlowLabProjectsResource = /** @class */ (function (_super) {
2588
- __extends(FlowLabProjectsResource, _super);
2589
- function FlowLabProjectsResource() {
2590
- return _super !== null && _super.apply(this, arguments) || this;
2591
- }
2592
- FlowLabProjectsResource.prototype.get = function (params) {
2593
- return this.client.request({
2594
- endpoint: '/lab/projects',
2595
- headers: params.headers,
2596
- method: 'GET',
2597
- query: {
2598
- id: params.id,
2599
- key: params.key,
2600
- limit: params.limit,
2601
- offset: params.offset,
2602
- sort: params.sort,
2603
- },
2604
- });
2605
- };
2606
- FlowLabProjectsResource.prototype.post = function (params) {
2607
- return this.client.request({
2608
- body: params.body,
2609
- endpoint: '/lab/projects',
2610
- headers: params.headers,
2611
- method: 'POST',
2612
- });
2613
- };
2614
- FlowLabProjectsResource.prototype.getByKey = function (params) {
2615
- return this.client.request({
2616
- endpoint: "/lab/projects/".concat(encodeURIComponent(params.key)),
2617
- headers: params.headers,
2618
- method: 'GET',
2619
- });
2620
- };
2621
- FlowLabProjectsResource.prototype.putByKey = function (params) {
2622
- return this.client.request({
2623
- body: params.body,
2624
- endpoint: "/lab/projects/".concat(encodeURIComponent(params.key)),
2625
- headers: params.headers,
2626
- method: 'PUT',
2627
- });
2628
- };
2629
- FlowLabProjectsResource.prototype.deleteByKey = function (params) {
2630
- return this.client.request({
2631
- endpoint: "/lab/projects/".concat(encodeURIComponent(params.key)),
2632
- headers: params.headers,
2633
- method: 'DELETE',
2634
- });
2635
- };
2636
- return FlowLabProjectsResource;
2637
- }($Resource));
2638
- export { FlowLabProjectsResource };
2639
2439
  var FlowLabelSettingsResource = /** @class */ (function (_super) {
2640
2440
  __extends(FlowLabelSettingsResource, _super);
2641
2441
  function FlowLabelSettingsResource() {
@@ -2806,57 +2606,6 @@ var FraudReviewDecisionsResource = /** @class */ (function (_super) {
2806
2606
  return FraudReviewDecisionsResource;
2807
2607
  }($Resource));
2808
2608
  export { FraudReviewDecisionsResource };
2809
- var FtpSettingsResource = /** @class */ (function (_super) {
2810
- __extends(FtpSettingsResource, _super);
2811
- function FtpSettingsResource() {
2812
- return _super !== null && _super.apply(this, arguments) || this;
2813
- }
2814
- FtpSettingsResource.prototype.get = function (params) {
2815
- return this.client.request({
2816
- endpoint: "/".concat(encodeURIComponent(params.organization_id), "/demandware/ftp-settings"),
2817
- headers: params.headers,
2818
- method: 'GET',
2819
- query: {
2820
- id: params.id,
2821
- limit: params.limit,
2822
- offset: params.offset,
2823
- sort: params.sort,
2824
- },
2825
- });
2826
- };
2827
- FtpSettingsResource.prototype.post = function (params) {
2828
- return this.client.request({
2829
- body: params.body,
2830
- endpoint: "/".concat(encodeURIComponent(params.organization_id), "/demandware/ftp-settings"),
2831
- headers: params.headers,
2832
- method: 'POST',
2833
- });
2834
- };
2835
- FtpSettingsResource.prototype.getById = function (params) {
2836
- return this.client.request({
2837
- endpoint: "/".concat(encodeURIComponent(params.organization_id), "/demandware/ftp-settings/").concat(encodeURIComponent(params.id)),
2838
- headers: params.headers,
2839
- method: 'GET',
2840
- });
2841
- };
2842
- FtpSettingsResource.prototype.putById = function (params) {
2843
- return this.client.request({
2844
- body: params.body,
2845
- endpoint: "/".concat(encodeURIComponent(params.organization_id), "/demandware/ftp-settings/").concat(encodeURIComponent(params.id)),
2846
- headers: params.headers,
2847
- method: 'PUT',
2848
- });
2849
- };
2850
- FtpSettingsResource.prototype.deleteById = function (params) {
2851
- return this.client.request({
2852
- endpoint: "/".concat(encodeURIComponent(params.organization_id), "/demandware/ftp-settings/").concat(encodeURIComponent(params.id)),
2853
- headers: params.headers,
2854
- method: 'DELETE',
2855
- });
2856
- };
2857
- return FtpSettingsResource;
2858
- }($Resource));
2859
- export { FtpSettingsResource };
2860
2609
  var GenerateLoadsResource = /** @class */ (function (_super) {
2861
2610
  __extends(GenerateLoadsResource, _super);
2862
2611
  function GenerateLoadsResource() {
@@ -2922,29 +2671,6 @@ var GlobalSearchResultsResource = /** @class */ (function (_super) {
2922
2671
  return GlobalSearchResultsResource;
2923
2672
  }($Resource));
2924
2673
  export { GlobalSearchResultsResource };
2925
- var GoogleShoppingSettingsResource = /** @class */ (function (_super) {
2926
- __extends(GoogleShoppingSettingsResource, _super);
2927
- function GoogleShoppingSettingsResource() {
2928
- return _super !== null && _super.apply(this, arguments) || this;
2929
- }
2930
- GoogleShoppingSettingsResource.prototype.get = function (params) {
2931
- return this.client.request({
2932
- endpoint: "/".concat(encodeURIComponent(params.organization), "/settings/google"),
2933
- headers: params.headers,
2934
- method: 'GET',
2935
- });
2936
- };
2937
- GoogleShoppingSettingsResource.prototype.post = function (params) {
2938
- return this.client.request({
2939
- body: params.body,
2940
- endpoint: "/".concat(encodeURIComponent(params.organization), "/settings/google"),
2941
- headers: params.headers,
2942
- method: 'POST',
2943
- });
2944
- };
2945
- return GoogleShoppingSettingsResource;
2946
- }($Resource));
2947
- export { GoogleShoppingSettingsResource };
2948
2674
  var HarmonizationItemClassificationsResource = /** @class */ (function (_super) {
2949
2675
  __extends(HarmonizationItemClassificationsResource, _super);
2950
2676
  function HarmonizationItemClassificationsResource() {
@@ -3053,14 +2779,14 @@ var HoseinItemsResource = /** @class */ (function (_super) {
3053
2779
  HoseinItemsResource.prototype.post = function (params) {
3054
2780
  return this.client.request({
3055
2781
  body: params.body,
3056
- endpoint: 'hosein/items',
2782
+ endpoint: '/hosein/items',
3057
2783
  headers: params.headers,
3058
2784
  method: 'POST',
3059
2785
  });
3060
2786
  };
3061
2787
  HoseinItemsResource.prototype.getById = function (params) {
3062
2788
  return this.client.request({
3063
- endpoint: "hosein/items/".concat(encodeURIComponent(params.id)),
2789
+ endpoint: "/hosein/items/".concat(encodeURIComponent(params.id)),
3064
2790
  headers: params.headers,
3065
2791
  method: 'GET',
3066
2792
  });
@@ -3068,14 +2794,14 @@ var HoseinItemsResource = /** @class */ (function (_super) {
3068
2794
  HoseinItemsResource.prototype.putById = function (params) {
3069
2795
  return this.client.request({
3070
2796
  body: params.body,
3071
- endpoint: "hosein/items/".concat(encodeURIComponent(params.id)),
2797
+ endpoint: "/hosein/items/".concat(encodeURIComponent(params.id)),
3072
2798
  headers: params.headers,
3073
2799
  method: 'PUT',
3074
2800
  });
3075
2801
  };
3076
2802
  HoseinItemsResource.prototype.deleteById = function (params) {
3077
2803
  return this.client.request({
3078
- endpoint: "hosein/items/".concat(encodeURIComponent(params.id)),
2804
+ endpoint: "/hosein/items/".concat(encodeURIComponent(params.id)),
3079
2805
  headers: params.headers,
3080
2806
  method: 'DELETE',
3081
2807
  });
@@ -3652,22 +3378,6 @@ var UltimateBeneficiaryOwnersResource = /** @class */ (function (_super) {
3652
3378
  return UltimateBeneficiaryOwnersResource;
3653
3379
  }($Resource));
3654
3380
  export { UltimateBeneficiaryOwnersResource };
3655
- var OrderManagementEventsResource = /** @class */ (function (_super) {
3656
- __extends(OrderManagementEventsResource, _super);
3657
- function OrderManagementEventsResource() {
3658
- return _super !== null && _super.apply(this, arguments) || this;
3659
- }
3660
- /*Order lifecycle events are designed to trigger exactly once automatically. This endpoint can be used to regenerate an event by customer request.*/
3661
- OrderManagementEventsResource.prototype.postReplayByOrderLifecycleEvent = function (params) {
3662
- return this.client.request({
3663
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/lifecycle/events/").concat(encodeURIComponent(params.order_lifecycle_event), "/replay"),
3664
- headers: params.headers,
3665
- method: 'POST',
3666
- });
3667
- };
3668
- return OrderManagementEventsResource;
3669
- }($Resource));
3670
- export { OrderManagementEventsResource };
3671
3381
  var OnboardingStatesResource = /** @class */ (function (_super) {
3672
3382
  __extends(OnboardingStatesResource, _super);
3673
3383
  function OnboardingStatesResource() {
@@ -3898,69 +3608,14 @@ var CountriesResource = /** @class */ (function (_super) {
3898
3608
  return CountriesResource;
3899
3609
  }($Resource));
3900
3610
  export { CountriesResource };
3901
- var OrganizationSessionsResource = /** @class */ (function (_super) {
3902
- __extends(OrganizationSessionsResource, _super);
3903
- function OrganizationSessionsResource() {
3611
+ var ShopifyOrdersResource = /** @class */ (function (_super) {
3612
+ __extends(ShopifyOrdersResource, _super);
3613
+ function ShopifyOrdersResource() {
3904
3614
  return _super !== null && _super.apply(this, arguments) || this;
3905
3615
  }
3906
- OrganizationSessionsResource.prototype.postOrganizationsByOrganization = function (params) {
3907
- return this.client.request({
3908
- body: params.body,
3909
- endpoint: "/sfcc/sessions/organizations/".concat(encodeURIComponent(params.organization)),
3910
- headers: params.headers,
3911
- method: 'POST',
3912
- });
3913
- };
3914
- OrganizationSessionsResource.prototype.getBySession = function (params) {
3616
+ ShopifyOrdersResource.prototype.getTraceByShopifyOrderId = function (params) {
3915
3617
  return this.client.request({
3916
- endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session)),
3917
- headers: params.headers,
3918
- method: 'GET',
3919
- });
3920
- };
3921
- OrganizationSessionsResource.prototype.putBySession = function (params) {
3922
- return this.client.request({
3923
- body: params.body,
3924
- endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session)),
3925
- headers: params.headers,
3926
- method: 'PUT',
3927
- });
3928
- };
3929
- OrganizationSessionsResource.prototype.deleteBySession = function (params) {
3930
- return this.client.request({
3931
- endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session)),
3932
- headers: params.headers,
3933
- method: 'DELETE',
3934
- });
3935
- };
3936
- OrganizationSessionsResource.prototype.putOrganizationsBySessionAndOrganization = function (params) {
3937
- return this.client.request({
3938
- body: params.body,
3939
- endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session), "/organizations/").concat(encodeURIComponent(params.organization)),
3940
- headers: params.headers,
3941
- method: 'PUT',
3942
- });
3943
- };
3944
- /*Resets the session based on the provided geo parameters.*/
3945
- OrganizationSessionsResource.prototype.putResetBySession = function (params) {
3946
- return this.client.request({
3947
- body: params.body,
3948
- endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session), "/reset"),
3949
- headers: params.headers,
3950
- method: 'PUT',
3951
- });
3952
- };
3953
- return OrganizationSessionsResource;
3954
- }($Resource));
3955
- export { OrganizationSessionsResource };
3956
- var ShopifyOrdersResource = /** @class */ (function (_super) {
3957
- __extends(ShopifyOrdersResource, _super);
3958
- function ShopifyOrdersResource() {
3959
- return _super !== null && _super.apply(this, arguments) || this;
3960
- }
3961
- ShopifyOrdersResource.prototype.getTraceByShopifyOrderId = function (params) {
3962
- return this.client.request({
3963
- endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/shopify/markets/order/trace/").concat(encodeURIComponent(params.shopify_order_id)),
3618
+ endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/shopify/markets/order/trace/").concat(encodeURIComponent(params.shopify_order_id)),
3964
3619
  headers: params.headers,
3965
3620
  method: 'GET',
3966
3621
  });
@@ -4279,65 +3934,78 @@ var JeanDemoItemsResource = /** @class */ (function (_super) {
4279
3934
  return JeanDemoItemsResource;
4280
3935
  }($Resource));
4281
3936
  export { JeanDemoItemsResource };
4282
- var KeysResource = /** @class */ (function (_super) {
4283
- __extends(KeysResource, _super);
4284
- function KeysResource() {
3937
+ var JournalsResource = /** @class */ (function (_super) {
3938
+ __extends(JournalsResource, _super);
3939
+ function JournalsResource() {
4285
3940
  return _super !== null && _super.apply(this, arguments) || this;
4286
3941
  }
4287
- KeysResource.prototype.get = function (params) {
3942
+ JournalsResource.prototype.get = function (params) {
4288
3943
  return this.client.request({
4289
- endpoint: "/".concat(encodeURIComponent(params.organization), "/keys"),
3944
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals"),
4290
3945
  headers: params.headers,
4291
3946
  method: 'GET',
4292
3947
  });
4293
3948
  };
4294
- KeysResource.prototype.post = function (params) {
3949
+ /*Delete all failed records (if any)*/
3950
+ JournalsResource.prototype.deleteFailedByJournal = function (params) {
4295
3951
  return this.client.request({
4296
- endpoint: "/".concat(encodeURIComponent(params.organization), "/keys"),
3952
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals/").concat(encodeURIComponent(params.journal), "/failed"),
4297
3953
  headers: params.headers,
4298
- method: 'POST',
3954
+ method: 'DELETE',
4299
3955
  });
4300
3956
  };
4301
- return KeysResource;
4302
- }($Resource));
4303
- export { KeysResource };
4304
- var LabProjectSettingsResource = /** @class */ (function (_super) {
4305
- __extends(LabProjectSettingsResource, _super);
4306
- function LabProjectSettingsResource() {
4307
- return _super !== null && _super.apply(this, arguments) || this;
4308
- }
4309
- LabProjectSettingsResource.prototype.get = function (params) {
3957
+ JournalsResource.prototype.getFailuresByJournal = function (params) {
4310
3958
  return this.client.request({
4311
- endpoint: "/".concat(encodeURIComponent(params.organization), "/lab/project/settings"),
3959
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals/").concat(encodeURIComponent(params.journal), "/failures"),
4312
3960
  headers: params.headers,
4313
3961
  method: 'GET',
4314
3962
  query: {
4315
- id: params.id,
4316
- key: params.key,
4317
3963
  limit: params.limit,
4318
3964
  offset: params.offset,
4319
- sort: params.sort,
4320
3965
  },
4321
3966
  });
4322
3967
  };
4323
- LabProjectSettingsResource.prototype.getByFlowLabProjectKey = function (params) {
3968
+ /*Delete all queued records (if any)*/
3969
+ JournalsResource.prototype.deleteQueuedByJournal = function (params) {
3970
+ return this.client.request({
3971
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals/").concat(encodeURIComponent(params.journal), "/queued"),
3972
+ headers: params.headers,
3973
+ method: 'DELETE',
3974
+ });
3975
+ };
3976
+ /*Requeue all failures (if any)*/
3977
+ JournalsResource.prototype.postRequeueByJournal = function (params) {
3978
+ return this.client.request({
3979
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals/").concat(encodeURIComponent(params.journal), "/requeue"),
3980
+ headers: params.headers,
3981
+ method: 'POST',
3982
+ });
3983
+ };
3984
+ return JournalsResource;
3985
+ }($Resource));
3986
+ export { JournalsResource };
3987
+ var KeysResource = /** @class */ (function (_super) {
3988
+ __extends(KeysResource, _super);
3989
+ function KeysResource() {
3990
+ return _super !== null && _super.apply(this, arguments) || this;
3991
+ }
3992
+ KeysResource.prototype.get = function (params) {
4324
3993
  return this.client.request({
4325
- endpoint: "/".concat(encodeURIComponent(params.organization), "/lab/project/settings/").concat(encodeURIComponent(params.flow_lab_project_key)),
3994
+ endpoint: "/".concat(encodeURIComponent(params.organization), "/keys"),
4326
3995
  headers: params.headers,
4327
3996
  method: 'GET',
4328
3997
  });
4329
3998
  };
4330
- LabProjectSettingsResource.prototype.putByFlowLabProjectKey = function (params) {
3999
+ KeysResource.prototype.post = function (params) {
4331
4000
  return this.client.request({
4332
- body: params.body,
4333
- endpoint: "/".concat(encodeURIComponent(params.organization), "/lab/project/settings/").concat(encodeURIComponent(params.flow_lab_project_key)),
4001
+ endpoint: "/".concat(encodeURIComponent(params.organization), "/keys"),
4334
4002
  headers: params.headers,
4335
- method: 'PUT',
4003
+ method: 'POST',
4336
4004
  });
4337
4005
  };
4338
- return LabProjectSettingsResource;
4006
+ return KeysResource;
4339
4007
  }($Resource));
4340
- export { LabProjectSettingsResource };
4008
+ export { KeysResource };
4341
4009
  var LabelCreationJobsResource = /** @class */ (function (_super) {
4342
4010
  __extends(LabelCreationJobsResource, _super);
4343
4011
  function LabelCreationJobsResource() {
@@ -4487,133 +4155,6 @@ var LiabilityRemittancePlansResource = /** @class */ (function (_super) {
4487
4155
  return LiabilityRemittancePlansResource;
4488
4156
  }($Resource));
4489
4157
  export { LiabilityRemittancePlansResource };
4490
- var LocalizableContentsResource = /** @class */ (function (_super) {
4491
- __extends(LocalizableContentsResource, _super);
4492
- function LocalizableContentsResource() {
4493
- return _super !== null && _super.apply(this, arguments) || this;
4494
- }
4495
- /*Retreives blocks of translated content for the target schema and locale. If no localization exists for the target locale, the source content will be returned instead.*/
4496
- LocalizableContentsResource.prototype.getContentAndSchemasBySchemaKey = function (params) {
4497
- return this.client.request({
4498
- endpoint: "/".concat(encodeURIComponent(params.organization), "/content/schemas/").concat(encodeURIComponent(params.schema_key)),
4499
- headers: params.headers,
4500
- method: 'GET',
4501
- query: {
4502
- cast: params.cast,
4503
- language: params.language,
4504
- locale: params.locale,
4505
- },
4506
- });
4507
- };
4508
- /*Retreives blocks of translated content for the target locale using a content id. If no localization exists for the target locale, the source content will be returned instead.*/
4509
- LocalizableContentsResource.prototype.getContentsAndLocalizationByContentId = function (params) {
4510
- return this.client.request({
4511
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents/").concat(encodeURIComponent(params.content_id), "/localization"),
4512
- headers: params.headers,
4513
- method: 'GET',
4514
- query: {
4515
- cast: params.cast,
4516
- language: params.language,
4517
- locale: params.locale,
4518
- },
4519
- });
4520
- };
4521
- return LocalizableContentsResource;
4522
- }($Resource));
4523
- export { LocalizableContentsResource };
4524
- var LocalizationsResource = /** @class */ (function (_super) {
4525
- __extends(LocalizationsResource, _super);
4526
- function LocalizationsResource() {
4527
- return _super !== null && _super.apply(this, arguments) || this;
4528
- }
4529
- LocalizationsResource.prototype.get = function (params) {
4530
- return this.client.request({
4531
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents/").concat(encodeURIComponent(params.content_id), "/localizations"),
4532
- headers: params.headers,
4533
- method: 'GET',
4534
- query: {
4535
- id: params.id,
4536
- limit: params.limit,
4537
- locale: params.locale,
4538
- offset: params.offset,
4539
- sort: params.sort,
4540
- },
4541
- });
4542
- };
4543
- LocalizationsResource.prototype.putById = function (params) {
4544
- return this.client.request({
4545
- body: params.body,
4546
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents/").concat(encodeURIComponent(params.content_id), "/localizations/").concat(encodeURIComponent(params.id)),
4547
- headers: params.headers,
4548
- method: 'PUT',
4549
- });
4550
- };
4551
- /*Allows for patch updates to the value of a single block of translated content.*/
4552
- LocalizationsResource.prototype.putElementsByIdAndKey = function (params) {
4553
- return this.client.request({
4554
- body: params.body,
4555
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents/").concat(encodeURIComponent(params.content_id), "/localizations/").concat(encodeURIComponent(params.id), "/elements/").concat(encodeURIComponent(params.key)),
4556
- headers: params.headers,
4557
- method: 'PUT',
4558
- });
4559
- };
4560
- return LocalizationsResource;
4561
- }($Resource));
4562
- export { LocalizationsResource };
4563
- var LocalizedContentsResource = /** @class */ (function (_super) {
4564
- __extends(LocalizedContentsResource, _super);
4565
- function LocalizedContentsResource() {
4566
- return _super !== null && _super.apply(this, arguments) || this;
4567
- }
4568
- LocalizedContentsResource.prototype.get = function (params) {
4569
- return this.client.request({
4570
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents"),
4571
- headers: params.headers,
4572
- method: 'GET',
4573
- query: {
4574
- id: params.id,
4575
- limit: params.limit,
4576
- offset: params.offset,
4577
- schema_key: params.schema_key,
4578
- sort: params.sort,
4579
- status: params.status,
4580
- },
4581
- });
4582
- };
4583
- LocalizedContentsResource.prototype.putById = function (params) {
4584
- return this.client.request({
4585
- body: params.body,
4586
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents/").concat(encodeURIComponent(params.id)),
4587
- headers: params.headers,
4588
- method: 'PUT',
4589
- });
4590
- };
4591
- return LocalizedContentsResource;
4592
- }($Resource));
4593
- export { LocalizedContentsResource };
4594
- var LocalizedItemsExportSettingsResource = /** @class */ (function (_super) {
4595
- __extends(LocalizedItemsExportSettingsResource, _super);
4596
- function LocalizedItemsExportSettingsResource() {
4597
- return _super !== null && _super.apply(this, arguments) || this;
4598
- }
4599
- LocalizedItemsExportSettingsResource.prototype.get = function (params) {
4600
- return this.client.request({
4601
- endpoint: "/".concat(encodeURIComponent(params.organization), "/settings/export/localized_items"),
4602
- headers: params.headers,
4603
- method: 'GET',
4604
- });
4605
- };
4606
- LocalizedItemsExportSettingsResource.prototype.put = function (params) {
4607
- return this.client.request({
4608
- body: params.body,
4609
- endpoint: "/".concat(encodeURIComponent(params.organization), "/settings/export/localized_items"),
4610
- headers: params.headers,
4611
- method: 'PUT',
4612
- });
4613
- };
4614
- return LocalizedItemsExportSettingsResource;
4615
- }($Resource));
4616
- export { LocalizedItemsExportSettingsResource };
4617
4158
  var LogisticsCapabilitiesResource = /** @class */ (function (_super) {
4618
4159
  __extends(LogisticsCapabilitiesResource, _super);
4619
4160
  function LogisticsCapabilitiesResource() {
@@ -5159,162 +4700,6 @@ var OnboardingOrganizationsResource = /** @class */ (function (_super) {
5159
4700
  return OnboardingOrganizationsResource;
5160
4701
  }($Resource));
5161
4702
  export { OnboardingOrganizationsResource };
5162
- var OptinAttributesResource = /** @class */ (function (_super) {
5163
- __extends(OptinAttributesResource, _super);
5164
- function OptinAttributesResource() {
5165
- return _super !== null && _super.apply(this, arguments) || this;
5166
- }
5167
- OptinAttributesResource.prototype.get = function (params) {
5168
- return this.client.request({
5169
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/attributes"),
5170
- headers: params.headers,
5171
- method: 'GET',
5172
- query: {
5173
- limit: params.limit,
5174
- offset: params.offset,
5175
- optin_attribute_key: params.optin_attribute_key,
5176
- sort: params.sort,
5177
- },
5178
- });
5179
- };
5180
- OptinAttributesResource.prototype.getByKey = function (params) {
5181
- return this.client.request({
5182
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/attributes/").concat(encodeURIComponent(params.key)),
5183
- headers: params.headers,
5184
- method: 'GET',
5185
- });
5186
- };
5187
- OptinAttributesResource.prototype.putByKey = function (params) {
5188
- return this.client.request({
5189
- body: params.body,
5190
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/attributes/").concat(encodeURIComponent(params.key)),
5191
- headers: params.headers,
5192
- method: 'PUT',
5193
- });
5194
- };
5195
- OptinAttributesResource.prototype.deleteByKey = function (params) {
5196
- return this.client.request({
5197
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/attributes/").concat(encodeURIComponent(params.key)),
5198
- headers: params.headers,
5199
- method: 'DELETE',
5200
- });
5201
- };
5202
- return OptinAttributesResource;
5203
- }($Resource));
5204
- export { OptinAttributesResource };
5205
- var OptinPromptsResource = /** @class */ (function (_super) {
5206
- __extends(OptinPromptsResource, _super);
5207
- function OptinPromptsResource() {
5208
- return _super !== null && _super.apply(this, arguments) || this;
5209
- }
5210
- OptinPromptsResource.prototype.getPrompts = function (params) {
5211
- return this.client.request({
5212
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/prompts"),
5213
- headers: params.headers,
5214
- method: 'GET',
5215
- query: {
5216
- expand: params.expand,
5217
- id: params.id,
5218
- limit: params.limit,
5219
- offset: params.offset,
5220
- optin_attribute_key: params.optin_attribute_key,
5221
- region: params.region,
5222
- sort: params.sort,
5223
- },
5224
- });
5225
- };
5226
- OptinPromptsResource.prototype.postPrompts = function (params) {
5227
- return this.client.request({
5228
- body: params.body,
5229
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/prompts"),
5230
- headers: params.headers,
5231
- method: 'POST',
5232
- });
5233
- };
5234
- OptinPromptsResource.prototype.putPromptsById = function (params) {
5235
- return this.client.request({
5236
- body: params.body,
5237
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/prompts/").concat(encodeURIComponent(params.id)),
5238
- headers: params.headers,
5239
- method: 'PUT',
5240
- });
5241
- };
5242
- OptinPromptsResource.prototype.deletePromptsById = function (params) {
5243
- return this.client.request({
5244
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/prompts/").concat(encodeURIComponent(params.id)),
5245
- headers: params.headers,
5246
- method: 'DELETE',
5247
- });
5248
- };
5249
- /*This anonymous path will allow consumers to receive a targeted list of prompts that should apply in their region.*/
5250
- OptinPromptsResource.prototype.getTargetsByTargetAndRegion = function (params) {
5251
- return this.client.request({
5252
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/targets/").concat(encodeURIComponent(params.target), "/").concat(encodeURIComponent(params.region)),
5253
- headers: params.headers,
5254
- method: 'GET',
5255
- query: {
5256
- cast: params.cast,
5257
- expand: params.expand,
5258
- language: params.language,
5259
- locale: params.locale,
5260
- },
5261
- });
5262
- };
5263
- OptinPromptsResource.prototype.getById = function (params) {
5264
- return this.client.request({
5265
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/").concat(encodeURIComponent(params.id)),
5266
- headers: params.headers,
5267
- method: 'GET',
5268
- query: {
5269
- expand: params.expand,
5270
- },
5271
- });
5272
- };
5273
- return OptinPromptsResource;
5274
- }($Resource));
5275
- export { OptinPromptsResource };
5276
- var OptinPromptCopiesResource = /** @class */ (function (_super) {
5277
- __extends(OptinPromptCopiesResource, _super);
5278
- function OptinPromptCopiesResource() {
5279
- return _super !== null && _super.apply(this, arguments) || this;
5280
- }
5281
- /*Copies all active opt-ins along with their content and translations from the source org to each of the orgs specified in the body. If the current user does not have permissions to create content for one of these orgs, this will result in a 422. Other orgs will complete.*/
5282
- OptinPromptCopiesResource.prototype.post = function (params) {
5283
- return this.client.request({
5284
- body: params.body,
5285
- endpoint: '/internal/optin/prompt/copies',
5286
- headers: params.headers,
5287
- method: 'POST',
5288
- });
5289
- };
5290
- return OptinPromptCopiesResource;
5291
- }($Resource));
5292
- export { OptinPromptCopiesResource };
5293
- var OrderActionabilitiesResource = /** @class */ (function (_super) {
5294
- __extends(OrderActionabilitiesResource, _super);
5295
- function OrderActionabilitiesResource() {
5296
- return _super !== null && _super.apply(this, arguments) || this;
5297
- }
5298
- /*Attempts to take an action or set of line quantity actions on an order.*/
5299
- OrderActionabilitiesResource.prototype.post = function (params) {
5300
- return this.client.request({
5301
- body: params.body,
5302
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/status/actions"),
5303
- headers: params.headers,
5304
- method: 'POST',
5305
- });
5306
- };
5307
- /*Returns the current actionability for this order*/
5308
- OrderActionabilitiesResource.prototype.getAvailable = function (params) {
5309
- return this.client.request({
5310
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/status/actions/available"),
5311
- headers: params.headers,
5312
- method: 'GET',
5313
- });
5314
- };
5315
- return OrderActionabilitiesResource;
5316
- }($Resource));
5317
- export { OrderActionabilitiesResource };
5318
4703
  var OrderAddressValidationsResource = /** @class */ (function (_super) {
5319
4704
  __extends(OrderAddressValidationsResource, _super);
5320
4705
  function OrderAddressValidationsResource() {
@@ -6952,36 +6337,6 @@ var RatesNamesSummariesResource = /** @class */ (function (_super) {
6952
6337
  return RatesNamesSummariesResource;
6953
6338
  }($Resource));
6954
6339
  export { RatesNamesSummariesResource };
6955
- var ReboundConfigurationsResource = /** @class */ (function (_super) {
6956
- __extends(ReboundConfigurationsResource, _super);
6957
- function ReboundConfigurationsResource() {
6958
- return _super !== null && _super.apply(this, arguments) || this;
6959
- }
6960
- ReboundConfigurationsResource.prototype.get = function (params) {
6961
- return this.client.request({
6962
- endpoint: "/".concat(encodeURIComponent(params.organization), "/rebound/configuration"),
6963
- headers: params.headers,
6964
- method: 'GET',
6965
- });
6966
- };
6967
- ReboundConfigurationsResource.prototype.put = function (params) {
6968
- return this.client.request({
6969
- body: params.body,
6970
- endpoint: "/".concat(encodeURIComponent(params.organization), "/rebound/configuration"),
6971
- headers: params.headers,
6972
- method: 'PUT',
6973
- });
6974
- };
6975
- ReboundConfigurationsResource.prototype.delete = function (params) {
6976
- return this.client.request({
6977
- endpoint: "/".concat(encodeURIComponent(params.organization), "/rebound/configuration"),
6978
- headers: params.headers,
6979
- method: 'DELETE',
6980
- });
6981
- };
6982
- return ReboundConfigurationsResource;
6983
- }($Resource));
6984
- export { ReboundConfigurationsResource };
6985
6340
  var ReportsResource = /** @class */ (function (_super) {
6986
6341
  __extends(ReportsResource, _super);
6987
6342
  function ReportsResource() {
@@ -7208,7 +6563,6 @@ var RestrictionOrganizationDecisionSummariesResource = /** @class */ (function (
7208
6563
  earliest_pending_date_before: params.earliest_pending_date_before,
7209
6564
  environment: params.environment,
7210
6565
  filter_orgs_with_pending: params.filter_orgs_with_pending,
7211
- filter_orgs_with_pending_verifications: params.filter_orgs_with_pending_verifications,
7212
6566
  limit: params.limit,
7213
6567
  offset: params.offset,
7214
6568
  organization_id: params.organization_id,
@@ -7521,45 +6875,61 @@ var SandboxSetupsResource = /** @class */ (function (_super) {
7521
6875
  return SandboxSetupsResource;
7522
6876
  }($Resource));
7523
6877
  export { SandboxSetupsResource };
7524
- var ScreensResource = /** @class */ (function (_super) {
7525
- __extends(ScreensResource, _super);
7526
- function ScreensResource() {
6878
+ var SarveshItemsResource = /** @class */ (function (_super) {
6879
+ __extends(SarveshItemsResource, _super);
6880
+ function SarveshItemsResource() {
7527
6881
  return _super !== null && _super.apply(this, arguments) || this;
7528
6882
  }
7529
- /*Provides a list of screens given a query 'q' and optional countries parameter to search on a specified list of countries.*/
7530
- ScreensResource.prototype.putByKey = function (params) {
6883
+ SarveshItemsResource.prototype.post = function (params) {
7531
6884
  return this.client.request({
7532
6885
  body: params.body,
7533
- endpoint: "/screens/".concat(encodeURIComponent(params.key)),
6886
+ endpoint: '/sarvesh/items',
6887
+ headers: params.headers,
6888
+ method: 'POST',
6889
+ });
6890
+ };
6891
+ SarveshItemsResource.prototype.getById = function (params) {
6892
+ return this.client.request({
6893
+ endpoint: "/sarvesh/items/".concat(encodeURIComponent(params.id)),
6894
+ headers: params.headers,
6895
+ method: 'GET',
6896
+ });
6897
+ };
6898
+ SarveshItemsResource.prototype.putById = function (params) {
6899
+ return this.client.request({
6900
+ body: params.body,
6901
+ endpoint: "/sarvesh/items/".concat(encodeURIComponent(params.id)),
7534
6902
  headers: params.headers,
7535
6903
  method: 'PUT',
7536
6904
  });
7537
6905
  };
7538
- return ScreensResource;
7539
- }($Resource));
7540
- export { ScreensResource };
7541
- var SearchProviderExportsResource = /** @class */ (function (_super) {
7542
- __extends(SearchProviderExportsResource, _super);
7543
- function SearchProviderExportsResource() {
7544
- return _super !== null && _super.apply(this, arguments) || this;
7545
- }
7546
- SearchProviderExportsResource.prototype.post = function (params) {
6906
+ SarveshItemsResource.prototype.deleteById = function (params) {
7547
6907
  return this.client.request({
7548
- endpoint: "/".concat(encodeURIComponent(params.organization), "/search_provider_export"),
6908
+ endpoint: "/sarvesh/items/".concat(encodeURIComponent(params.id)),
7549
6909
  headers: params.headers,
7550
- method: 'POST',
6910
+ method: 'DELETE',
7551
6911
  });
7552
6912
  };
7553
- SearchProviderExportsResource.prototype.postExperienceByExperienceKey = function (params) {
6913
+ return SarveshItemsResource;
6914
+ }($Resource));
6915
+ export { SarveshItemsResource };
6916
+ var ScreensResource = /** @class */ (function (_super) {
6917
+ __extends(ScreensResource, _super);
6918
+ function ScreensResource() {
6919
+ return _super !== null && _super.apply(this, arguments) || this;
6920
+ }
6921
+ /*Provides a list of screens given a query 'q' and optional countries parameter to search on a specified list of countries.*/
6922
+ ScreensResource.prototype.putByKey = function (params) {
7554
6923
  return this.client.request({
7555
- endpoint: "/".concat(encodeURIComponent(params.organization), "/search_provider_export/experience/").concat(encodeURIComponent(params.experience_key)),
6924
+ body: params.body,
6925
+ endpoint: "/screens/".concat(encodeURIComponent(params.key)),
7556
6926
  headers: params.headers,
7557
- method: 'POST',
6927
+ method: 'PUT',
7558
6928
  });
7559
6929
  };
7560
- return SearchProviderExportsResource;
6930
+ return ScreensResource;
7561
6931
  }($Resource));
7562
- export { SearchProviderExportsResource };
6932
+ export { ScreensResource };
7563
6933
  var SessionOrderDataResource = /** @class */ (function (_super) {
7564
6934
  __extends(SessionOrderDataResource, _super);
7565
6935
  function SessionOrderDataResource() {
@@ -7962,44 +7332,6 @@ var SpotRatesResource = /** @class */ (function (_super) {
7962
7332
  return SpotRatesResource;
7963
7333
  }($Resource));
7964
7334
  export { SpotRatesResource };
7965
- var StoreConnectionsResource = /** @class */ (function (_super) {
7966
- __extends(StoreConnectionsResource, _super);
7967
- function StoreConnectionsResource() {
7968
- return _super !== null && _super.apply(this, arguments) || this;
7969
- }
7970
- StoreConnectionsResource.prototype.getByDomain = function (params) {
7971
- return this.client.request({
7972
- endpoint: "/magento/stores/".concat(encodeURIComponent(params.domain)),
7973
- headers: params.headers,
7974
- method: 'GET',
7975
- });
7976
- };
7977
- StoreConnectionsResource.prototype.putByDomain = function (params) {
7978
- return this.client.request({
7979
- body: params.body,
7980
- endpoint: "/magento/stores/".concat(encodeURIComponent(params.domain)),
7981
- headers: params.headers,
7982
- method: 'PUT',
7983
- });
7984
- };
7985
- StoreConnectionsResource.prototype.deleteByDomain = function (params) {
7986
- return this.client.request({
7987
- endpoint: "/magento/stores/".concat(encodeURIComponent(params.domain)),
7988
- headers: params.headers,
7989
- method: 'DELETE',
7990
- });
7991
- };
7992
- StoreConnectionsResource.prototype.postInstallByDomain = function (params) {
7993
- return this.client.request({
7994
- body: params.body,
7995
- endpoint: "/magento/stores/".concat(encodeURIComponent(params.domain), "/install"),
7996
- headers: params.headers,
7997
- method: 'POST',
7998
- });
7999
- };
8000
- return StoreConnectionsResource;
8001
- }($Resource));
8002
- export { StoreConnectionsResource };
8003
7335
  var TariffEligibilitiesResource = /** @class */ (function (_super) {
8004
7336
  __extends(TariffEligibilitiesResource, _super);
8005
7337
  function TariffEligibilitiesResource() {
@@ -8492,15 +7824,14 @@ export { WebhooksResource };
8492
7824
  export function createClient(options) {
8493
7825
  return {
8494
7826
  accountPaymentHolds: new AccountPaymentHoldsResource(options),
8495
- addressConfigurationSettings: new AddressConfigurationSettingsResource(options),
8496
7827
  aftershipWebhooks: new AftershipWebhooksResource(options),
8497
7828
  aldoItems: new AldoItemsResource(options),
8498
7829
  alertFailureSummaries: new AlertFailureSummariesResource(options),
8499
7830
  alertRequeueSummaries: new AlertRequeueSummariesResource(options),
8500
7831
  allOrganizationsMemberships: new AllOrganizationsMembershipsResource(options),
8501
7832
  anshItems: new AnshItemsResource(options),
8502
- authorizedChargeStatuses: new AuthorizedChargeStatusesResource(options),
8503
7833
  bankPayments: new BankPaymentsResource(options),
7834
+ bankPaymentDetails: new BankPaymentDetailsResource(options),
8504
7835
  bankPaymentOrders: new BankPaymentOrdersResource(options),
8505
7836
  bankPaymentStatusImports: new BankPaymentStatusImportsResource(options),
8506
7837
  billingOrganizationProcessingRates: new BillingOrganizationProcessingRatesResource(options),
@@ -8526,8 +7857,6 @@ export function createClient(options) {
8526
7857
  channelOrderAcceptanceDetails: new ChannelOrderAcceptanceDetailsResource(options),
8527
7858
  channelOrganizationShopify: new ChannelOrganizationShopifyResource(options),
8528
7859
  chargebacks: new ChargebacksResource(options),
8529
- checkoutConfigurations: new CheckoutConfigurationsResource(options),
8530
- checkoutContentSummaries: new CheckoutContentSummariesResource(options),
8531
7860
  ciphers: new CiphersResource(options),
8532
7861
  classifications: new ClassificationsResource(options),
8533
7862
  classificationActions: new ClassificationActionsResource(options),
@@ -8540,10 +7869,9 @@ export function createClient(options) {
8540
7869
  commercialInvoiceComparisons: new CommercialInvoiceComparisonsResource(options),
8541
7870
  commercialInvoiceSummaries: new CommercialInvoiceSummariesResource(options),
8542
7871
  compliances: new CompliancesResource(options),
8543
- consumerOptinActivities: new ConsumerOptinActivitiesResource(options),
8544
- contentSchemas: new ContentSchemasResource(options),
8545
7872
  courthouseProductSummaries: new CourthouseProductSummariesResource(options),
8546
7873
  customsDetails: new CustomsDetailsResource(options),
7874
+ databases: new DatabasesResource(options),
8547
7875
  debugOrders: new DebugOrdersResource(options),
8548
7876
  debugOrderTransactions: new DebugOrderTransactionsResource(options),
8549
7877
  deliveredDutyOptions: new DeliveredDutyOptionsResource(options),
@@ -8563,23 +7891,19 @@ export function createClient(options) {
8563
7891
  financeBankAccounts: new FinanceBankAccountsResource(options),
8564
7892
  financeBankPayments: new FinanceBankPaymentsResource(options),
8565
7893
  financialMerchantCategories: new FinancialMerchantCategoriesResource(options),
8566
- financialReportingStatements: new FinancialReportingStatementsResource(options),
8567
7894
  flexeWebhooks: new FlexeWebhooksResource(options),
8568
7895
  flowAccounts: new FlowAccountsResource(options),
8569
7896
  flowBillingStatements: new FlowBillingStatementsResource(options),
8570
7897
  flowChannelOrganizations: new FlowChannelOrganizationsResource(options),
8571
- flowLabProjects: new FlowLabProjectsResource(options),
8572
7898
  flowLabelSettings: new FlowLabelSettingsResource(options),
8573
7899
  fraudPendingReviews: new FraudPendingReviewsResource(options),
8574
7900
  fraudPendingReviewDetails: new FraudPendingReviewDetailsResource(options),
8575
7901
  fraudProviderConfigurations: new FraudProviderConfigurationsResource(options),
8576
7902
  fraudReviews: new FraudReviewsResource(options),
8577
7903
  fraudReviewDecisions: new FraudReviewDecisionsResource(options),
8578
- ftpSettings: new FtpSettingsResource(options),
8579
7904
  generateLoads: new GenerateLoadsResource(options),
8580
7905
  giftCardPrograms: new GiftCardProgramsResource(options),
8581
7906
  globalSearchResults: new GlobalSearchResultsResource(options),
8582
- googleShoppingSettings: new GoogleShoppingSettingsResource(options),
8583
7907
  harmonizationItemClassifications: new HarmonizationItemClassificationsResource(options),
8584
7908
  harmonizationThresholds: new HarmonizationThresholdsResource(options),
8585
7909
  harmonizationUnclassifiedStatistics: new HarmonizationUnclassifiedStatisticsResource(options),
@@ -8603,7 +7927,6 @@ export function createClient(options) {
8603
7927
  paypalDisputeEvents: new PaypalDisputeEventsResource(options),
8604
7928
  webhookEvents: new WebhookEventsResource(options),
8605
7929
  ultimateBeneficiaryOwners: new UltimateBeneficiaryOwnersResource(options),
8606
- orderManagementEvents: new OrderManagementEventsResource(options),
8607
7930
  onboardingStates: new OnboardingStatesResource(options),
8608
7931
  memberships: new MembershipsResource(options),
8609
7932
  authorizations: new AuthorizationsResource(options),
@@ -8613,7 +7936,6 @@ export function createClient(options) {
8613
7936
  ratecards: new RatecardsResource(options),
8614
7937
  serviceFees: new ServiceFeesResource(options),
8615
7938
  countries: new CountriesResource(options),
8616
- organizationSessions: new OrganizationSessionsResource(options),
8617
7939
  shopifyOrders: new ShopifyOrdersResource(options),
8618
7940
  knowYourBusinesses: new KnowYourBusinessesResource(options),
8619
7941
  shopifyPaymentStripeEvents: new ShopifyPaymentStripeEventsResource(options),
@@ -8626,18 +7948,14 @@ export function createClient(options) {
8626
7948
  itemRestrictions: new ItemRestrictionsResource(options),
8627
7949
  itemSalesMargins: new ItemSalesMarginsResource(options),
8628
7950
  jeanDemoItems: new JeanDemoItemsResource(options),
7951
+ journals: new JournalsResource(options),
8629
7952
  keys: new KeysResource(options),
8630
- labProjectSettings: new LabProjectSettingsResource(options),
8631
7953
  labelCreationJobs: new LabelCreationJobsResource(options),
8632
7954
  labelGenerationSettings: new LabelGenerationSettingsResource(options),
8633
7955
  labelRequestResults: new LabelRequestResultsResource(options),
8634
7956
  labelTaxonomy: new LabelTaxonomyResource(options),
8635
7957
  levyRateSummaries: new LevyRateSummariesResource(options),
8636
7958
  liabilityRemittancePlans: new LiabilityRemittancePlansResource(options),
8637
- localizableContents: new LocalizableContentsResource(options),
8638
- localizations: new LocalizationsResource(options),
8639
- localizedContents: new LocalizedContentsResource(options),
8640
- localizedItemsExportSettings: new LocalizedItemsExportSettingsResource(options),
8641
7959
  logisticsCapabilities: new LogisticsCapabilitiesResource(options),
8642
7960
  logisticsPayoutRequests: new LogisticsPayoutRequestsResource(options),
8643
7961
  lostChargebacks: new LostChargebacksResource(options),
@@ -8654,10 +7972,6 @@ export function createClient(options) {
8654
7972
  onboardingAuditReports: new OnboardingAuditReportsResource(options),
8655
7973
  onboardingAuditSnapshots: new OnboardingAuditSnapshotsResource(options),
8656
7974
  onboardingOrganizations: new OnboardingOrganizationsResource(options),
8657
- optinAttributes: new OptinAttributesResource(options),
8658
- optinPrompts: new OptinPromptsResource(options),
8659
- optinPromptCopies: new OptinPromptCopiesResource(options),
8660
- orderActionabilities: new OrderActionabilitiesResource(options),
8661
7975
  orderAddressValidations: new OrderAddressValidationsResource(options),
8662
7976
  orderCancellations: new OrderCancellationsResource(options),
8663
7977
  orderCombinedShipments: new OrderCombinedShipmentsResource(options),
@@ -8703,7 +8017,6 @@ export function createClient(options) {
8703
8017
  ratecardServiceFeesOverrides: new RatecardServiceFeesOverridesResource(options),
8704
8018
  ratecardStandardConfigurations: new RatecardStandardConfigurationsResource(options),
8705
8019
  ratesNamesSummaries: new RatesNamesSummariesResource(options),
8706
- reboundConfigurations: new ReboundConfigurationsResource(options),
8707
8020
  reports: new ReportsResource(options),
8708
8021
  reportSummary: new ReportSummaryResource(options),
8709
8022
  rescreenRestrictionsProducts: new RescreenRestrictionsProductsResource(options),
@@ -8719,8 +8032,8 @@ export function createClient(options) {
8719
8032
  rohanItems: new RohanItemsResource(options),
8720
8033
  routingEntities: new RoutingEntitiesResource(options),
8721
8034
  sandboxSetups: new SandboxSetupsResource(options),
8035
+ sarveshItems: new SarveshItemsResource(options),
8722
8036
  screens: new ScreensResource(options),
8723
- searchProviderExports: new SearchProviderExportsResource(options),
8724
8037
  sessionOrderData: new SessionOrderDataResource(options),
8725
8038
  shippingLanes: new ShippingLanesResource(options),
8726
8039
  shopifyMarketsOrderVersionWithShopIds: new ShopifyMarketsOrderVersionWithShopIdsResource(options),
@@ -8738,7 +8051,6 @@ export function createClient(options) {
8738
8051
  smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
8739
8052
  snoozes: new SnoozesResource(options),
8740
8053
  spotRates: new SpotRatesResource(options),
8741
- storeConnections: new StoreConnectionsResource(options),
8742
8054
  tariffEligibilities: new TariffEligibilitiesResource(options),
8743
8055
  tasks: new TasksResource(options),
8744
8056
  taxCalculationForms: new TaxCalculationFormsResource(options),