@flowio/api-internal-sdk 0.0.166 → 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() {
@@ -3045,6 +2771,44 @@ var HarmonizationUnclassifiedStatisticsResource = /** @class */ (function (_supe
3045
2771
  return HarmonizationUnclassifiedStatisticsResource;
3046
2772
  }($Resource));
3047
2773
  export { HarmonizationUnclassifiedStatisticsResource };
2774
+ var HoseinItemsResource = /** @class */ (function (_super) {
2775
+ __extends(HoseinItemsResource, _super);
2776
+ function HoseinItemsResource() {
2777
+ return _super !== null && _super.apply(this, arguments) || this;
2778
+ }
2779
+ HoseinItemsResource.prototype.post = function (params) {
2780
+ return this.client.request({
2781
+ body: params.body,
2782
+ endpoint: '/hosein/items',
2783
+ headers: params.headers,
2784
+ method: 'POST',
2785
+ });
2786
+ };
2787
+ HoseinItemsResource.prototype.getById = function (params) {
2788
+ return this.client.request({
2789
+ endpoint: "/hosein/items/".concat(encodeURIComponent(params.id)),
2790
+ headers: params.headers,
2791
+ method: 'GET',
2792
+ });
2793
+ };
2794
+ HoseinItemsResource.prototype.putById = function (params) {
2795
+ return this.client.request({
2796
+ body: params.body,
2797
+ endpoint: "/hosein/items/".concat(encodeURIComponent(params.id)),
2798
+ headers: params.headers,
2799
+ method: 'PUT',
2800
+ });
2801
+ };
2802
+ HoseinItemsResource.prototype.deleteById = function (params) {
2803
+ return this.client.request({
2804
+ endpoint: "/hosein/items/".concat(encodeURIComponent(params.id)),
2805
+ headers: params.headers,
2806
+ method: 'DELETE',
2807
+ });
2808
+ };
2809
+ return HoseinItemsResource;
2810
+ }($Resource));
2811
+ export { HoseinItemsResource };
3048
2812
  var Hs6Resource = /** @class */ (function (_super) {
3049
2813
  __extends(Hs6Resource, _super);
3050
2814
  function Hs6Resource() {
@@ -3614,22 +3378,6 @@ var UltimateBeneficiaryOwnersResource = /** @class */ (function (_super) {
3614
3378
  return UltimateBeneficiaryOwnersResource;
3615
3379
  }($Resource));
3616
3380
  export { UltimateBeneficiaryOwnersResource };
3617
- var OrderManagementEventsResource = /** @class */ (function (_super) {
3618
- __extends(OrderManagementEventsResource, _super);
3619
- function OrderManagementEventsResource() {
3620
- return _super !== null && _super.apply(this, arguments) || this;
3621
- }
3622
- /*Order lifecycle events are designed to trigger exactly once automatically. This endpoint can be used to regenerate an event by customer request.*/
3623
- OrderManagementEventsResource.prototype.postReplayByOrderLifecycleEvent = function (params) {
3624
- return this.client.request({
3625
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/lifecycle/events/").concat(encodeURIComponent(params.order_lifecycle_event), "/replay"),
3626
- headers: params.headers,
3627
- method: 'POST',
3628
- });
3629
- };
3630
- return OrderManagementEventsResource;
3631
- }($Resource));
3632
- export { OrderManagementEventsResource };
3633
3381
  var OnboardingStatesResource = /** @class */ (function (_super) {
3634
3382
  __extends(OnboardingStatesResource, _super);
3635
3383
  function OnboardingStatesResource() {
@@ -3860,61 +3608,6 @@ var CountriesResource = /** @class */ (function (_super) {
3860
3608
  return CountriesResource;
3861
3609
  }($Resource));
3862
3610
  export { CountriesResource };
3863
- var OrganizationSessionsResource = /** @class */ (function (_super) {
3864
- __extends(OrganizationSessionsResource, _super);
3865
- function OrganizationSessionsResource() {
3866
- return _super !== null && _super.apply(this, arguments) || this;
3867
- }
3868
- OrganizationSessionsResource.prototype.postOrganizationsByOrganization = function (params) {
3869
- return this.client.request({
3870
- body: params.body,
3871
- endpoint: "/sfcc/sessions/organizations/".concat(encodeURIComponent(params.organization)),
3872
- headers: params.headers,
3873
- method: 'POST',
3874
- });
3875
- };
3876
- OrganizationSessionsResource.prototype.getBySession = function (params) {
3877
- return this.client.request({
3878
- endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session)),
3879
- headers: params.headers,
3880
- method: 'GET',
3881
- });
3882
- };
3883
- OrganizationSessionsResource.prototype.putBySession = function (params) {
3884
- return this.client.request({
3885
- body: params.body,
3886
- endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session)),
3887
- headers: params.headers,
3888
- method: 'PUT',
3889
- });
3890
- };
3891
- OrganizationSessionsResource.prototype.deleteBySession = function (params) {
3892
- return this.client.request({
3893
- endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session)),
3894
- headers: params.headers,
3895
- method: 'DELETE',
3896
- });
3897
- };
3898
- OrganizationSessionsResource.prototype.putOrganizationsBySessionAndOrganization = function (params) {
3899
- return this.client.request({
3900
- body: params.body,
3901
- endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session), "/organizations/").concat(encodeURIComponent(params.organization)),
3902
- headers: params.headers,
3903
- method: 'PUT',
3904
- });
3905
- };
3906
- /*Resets the session based on the provided geo parameters.*/
3907
- OrganizationSessionsResource.prototype.putResetBySession = function (params) {
3908
- return this.client.request({
3909
- body: params.body,
3910
- endpoint: "/sfcc/sessions/".concat(encodeURIComponent(params.session), "/reset"),
3911
- headers: params.headers,
3912
- method: 'PUT',
3913
- });
3914
- };
3915
- return OrganizationSessionsResource;
3916
- }($Resource));
3917
- export { OrganizationSessionsResource };
3918
3611
  var ShopifyOrdersResource = /** @class */ (function (_super) {
3919
3612
  __extends(ShopifyOrdersResource, _super);
3920
3613
  function ShopifyOrdersResource() {
@@ -4241,65 +3934,78 @@ var JeanDemoItemsResource = /** @class */ (function (_super) {
4241
3934
  return JeanDemoItemsResource;
4242
3935
  }($Resource));
4243
3936
  export { JeanDemoItemsResource };
4244
- var KeysResource = /** @class */ (function (_super) {
4245
- __extends(KeysResource, _super);
4246
- function KeysResource() {
3937
+ var JournalsResource = /** @class */ (function (_super) {
3938
+ __extends(JournalsResource, _super);
3939
+ function JournalsResource() {
4247
3940
  return _super !== null && _super.apply(this, arguments) || this;
4248
3941
  }
4249
- KeysResource.prototype.get = function (params) {
3942
+ JournalsResource.prototype.get = function (params) {
4250
3943
  return this.client.request({
4251
- endpoint: "/".concat(encodeURIComponent(params.organization), "/keys"),
3944
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals"),
4252
3945
  headers: params.headers,
4253
3946
  method: 'GET',
4254
3947
  });
4255
3948
  };
4256
- KeysResource.prototype.post = function (params) {
3949
+ /*Delete all failed records (if any)*/
3950
+ JournalsResource.prototype.deleteFailedByJournal = function (params) {
4257
3951
  return this.client.request({
4258
- endpoint: "/".concat(encodeURIComponent(params.organization), "/keys"),
3952
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals/").concat(encodeURIComponent(params.journal), "/failed"),
4259
3953
  headers: params.headers,
4260
- method: 'POST',
3954
+ method: 'DELETE',
4261
3955
  });
4262
3956
  };
4263
- return KeysResource;
4264
- }($Resource));
4265
- export { KeysResource };
4266
- var LabProjectSettingsResource = /** @class */ (function (_super) {
4267
- __extends(LabProjectSettingsResource, _super);
4268
- function LabProjectSettingsResource() {
4269
- return _super !== null && _super.apply(this, arguments) || this;
4270
- }
4271
- LabProjectSettingsResource.prototype.get = function (params) {
3957
+ JournalsResource.prototype.getFailuresByJournal = function (params) {
4272
3958
  return this.client.request({
4273
- endpoint: "/".concat(encodeURIComponent(params.organization), "/lab/project/settings"),
3959
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals/").concat(encodeURIComponent(params.journal), "/failures"),
4274
3960
  headers: params.headers,
4275
3961
  method: 'GET',
4276
3962
  query: {
4277
- id: params.id,
4278
- key: params.key,
4279
3963
  limit: params.limit,
4280
3964
  offset: params.offset,
4281
- sort: params.sort,
4282
3965
  },
4283
3966
  });
4284
3967
  };
4285
- 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) {
4286
3993
  return this.client.request({
4287
- endpoint: "/".concat(encodeURIComponent(params.organization), "/lab/project/settings/").concat(encodeURIComponent(params.flow_lab_project_key)),
3994
+ endpoint: "/".concat(encodeURIComponent(params.organization), "/keys"),
4288
3995
  headers: params.headers,
4289
3996
  method: 'GET',
4290
3997
  });
4291
3998
  };
4292
- LabProjectSettingsResource.prototype.putByFlowLabProjectKey = function (params) {
3999
+ KeysResource.prototype.post = function (params) {
4293
4000
  return this.client.request({
4294
- body: params.body,
4295
- endpoint: "/".concat(encodeURIComponent(params.organization), "/lab/project/settings/").concat(encodeURIComponent(params.flow_lab_project_key)),
4001
+ endpoint: "/".concat(encodeURIComponent(params.organization), "/keys"),
4296
4002
  headers: params.headers,
4297
- method: 'PUT',
4003
+ method: 'POST',
4298
4004
  });
4299
4005
  };
4300
- return LabProjectSettingsResource;
4006
+ return KeysResource;
4301
4007
  }($Resource));
4302
- export { LabProjectSettingsResource };
4008
+ export { KeysResource };
4303
4009
  var LabelCreationJobsResource = /** @class */ (function (_super) {
4304
4010
  __extends(LabelCreationJobsResource, _super);
4305
4011
  function LabelCreationJobsResource() {
@@ -4353,229 +4059,102 @@ var LabelGenerationSettingsResource = /** @class */ (function (_super) {
4353
4059
  LabelGenerationSettingsResource.prototype.delete = function (params) {
4354
4060
  return this.client.request({
4355
4061
  endpoint: "/".concat(encodeURIComponent(params.organization), "/label/generation/settings"),
4356
- headers: params.headers,
4357
- method: 'DELETE',
4358
- });
4359
- };
4360
- return LabelGenerationSettingsResource;
4361
- }($Resource));
4362
- export { LabelGenerationSettingsResource };
4363
- var LabelRequestResultsResource = /** @class */ (function (_super) {
4364
- __extends(LabelRequestResultsResource, _super);
4365
- function LabelRequestResultsResource() {
4366
- return _super !== null && _super.apply(this, arguments) || this;
4367
- }
4368
- LabelRequestResultsResource.prototype.get = function (params) {
4369
- return this.client.request({
4370
- endpoint: '/internal/logistics/label/request/result',
4371
- headers: params.headers,
4372
- method: 'GET',
4373
- query: {
4374
- carrier_id: params.carrier_id,
4375
- created_at_from: params.created_at_from,
4376
- created_at_to: params.created_at_to,
4377
- destination_country: params.destination_country,
4378
- errors_only: params.errors_only,
4379
- id: params.id,
4380
- limit: params.limit,
4381
- offset: params.offset,
4382
- order_number: params.order_number,
4383
- organization_id: params.organization_id,
4384
- organization_type: params.organization_type,
4385
- sort: params.sort,
4386
- },
4387
- });
4388
- };
4389
- return LabelRequestResultsResource;
4390
- }($Resource));
4391
- export { LabelRequestResultsResource };
4392
- var LabelTaxonomyResource = /** @class */ (function (_super) {
4393
- __extends(LabelTaxonomyResource, _super);
4394
- function LabelTaxonomyResource() {
4395
- return _super !== null && _super.apply(this, arguments) || this;
4396
- }
4397
- LabelTaxonomyResource.prototype.get = function (params) {
4398
- if (params === void 0) { params = {}; }
4399
- return this.client.request({
4400
- endpoint: '/label_taxonomy',
4401
- headers: params.headers,
4402
- method: 'GET',
4403
- });
4404
- };
4405
- return LabelTaxonomyResource;
4406
- }($Resource));
4407
- export { LabelTaxonomyResource };
4408
- var LevyRateSummariesResource = /** @class */ (function (_super) {
4409
- __extends(LevyRateSummariesResource, _super);
4410
- function LevyRateSummariesResource() {
4411
- return _super !== null && _super.apply(this, arguments) || this;
4412
- }
4413
- LevyRateSummariesResource.prototype.get = function (params) {
4414
- return this.client.request({
4415
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/levy/rate/summary"),
4416
- headers: params.headers,
4417
- method: 'GET',
4418
- });
4419
- };
4420
- return LevyRateSummariesResource;
4421
- }($Resource));
4422
- export { LevyRateSummariesResource };
4423
- var LiabilityRemittancePlansResource = /** @class */ (function (_super) {
4424
- __extends(LiabilityRemittancePlansResource, _super);
4425
- function LiabilityRemittancePlansResource() {
4426
- return _super !== null && _super.apply(this, arguments) || this;
4427
- }
4428
- LiabilityRemittancePlansResource.prototype.get = function (params) {
4429
- return this.client.request({
4430
- endpoint: "/".concat(encodeURIComponent(params.organization), "/liabilities"),
4431
- headers: params.headers,
4432
- method: 'GET',
4433
- query: {
4434
- id: params.id,
4435
- limit: params.limit,
4436
- offset: params.offset,
4437
- order_number: params.order_number,
4438
- sort: params.sort,
4439
- },
4440
- });
4441
- };
4442
- LiabilityRemittancePlansResource.prototype.getByOrderNumber = function (params) {
4443
- return this.client.request({
4444
- endpoint: "/".concat(encodeURIComponent(params.organization), "/liabilities/").concat(encodeURIComponent(params.order_number)),
4445
- headers: params.headers,
4446
- method: 'GET',
4447
- });
4448
- };
4449
- return LiabilityRemittancePlansResource;
4450
- }($Resource));
4451
- export { LiabilityRemittancePlansResource };
4452
- var LocalizableContentsResource = /** @class */ (function (_super) {
4453
- __extends(LocalizableContentsResource, _super);
4454
- function LocalizableContentsResource() {
4455
- return _super !== null && _super.apply(this, arguments) || this;
4456
- }
4457
- /*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.*/
4458
- LocalizableContentsResource.prototype.getContentAndSchemasBySchemaKey = function (params) {
4459
- return this.client.request({
4460
- endpoint: "/".concat(encodeURIComponent(params.organization), "/content/schemas/").concat(encodeURIComponent(params.schema_key)),
4461
- headers: params.headers,
4462
- method: 'GET',
4463
- query: {
4464
- cast: params.cast,
4465
- language: params.language,
4466
- locale: params.locale,
4467
- },
4468
- });
4469
- };
4470
- /*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.*/
4471
- LocalizableContentsResource.prototype.getContentsAndLocalizationByContentId = function (params) {
4472
- return this.client.request({
4473
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents/").concat(encodeURIComponent(params.content_id), "/localization"),
4474
- headers: params.headers,
4475
- method: 'GET',
4476
- query: {
4477
- cast: params.cast,
4478
- language: params.language,
4479
- locale: params.locale,
4480
- },
4062
+ headers: params.headers,
4063
+ method: 'DELETE',
4481
4064
  });
4482
4065
  };
4483
- return LocalizableContentsResource;
4066
+ return LabelGenerationSettingsResource;
4484
4067
  }($Resource));
4485
- export { LocalizableContentsResource };
4486
- var LocalizationsResource = /** @class */ (function (_super) {
4487
- __extends(LocalizationsResource, _super);
4488
- function LocalizationsResource() {
4068
+ export { LabelGenerationSettingsResource };
4069
+ var LabelRequestResultsResource = /** @class */ (function (_super) {
4070
+ __extends(LabelRequestResultsResource, _super);
4071
+ function LabelRequestResultsResource() {
4489
4072
  return _super !== null && _super.apply(this, arguments) || this;
4490
4073
  }
4491
- LocalizationsResource.prototype.get = function (params) {
4074
+ LabelRequestResultsResource.prototype.get = function (params) {
4492
4075
  return this.client.request({
4493
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents/").concat(encodeURIComponent(params.content_id), "/localizations"),
4076
+ endpoint: '/internal/logistics/label/request/result',
4494
4077
  headers: params.headers,
4495
4078
  method: 'GET',
4496
4079
  query: {
4080
+ carrier_id: params.carrier_id,
4081
+ created_at_from: params.created_at_from,
4082
+ created_at_to: params.created_at_to,
4083
+ destination_country: params.destination_country,
4084
+ errors_only: params.errors_only,
4497
4085
  id: params.id,
4498
4086
  limit: params.limit,
4499
- locale: params.locale,
4500
4087
  offset: params.offset,
4088
+ order_number: params.order_number,
4089
+ organization_id: params.organization_id,
4090
+ organization_type: params.organization_type,
4501
4091
  sort: params.sort,
4502
4092
  },
4503
4093
  });
4504
4094
  };
4505
- LocalizationsResource.prototype.putById = function (params) {
4095
+ return LabelRequestResultsResource;
4096
+ }($Resource));
4097
+ export { LabelRequestResultsResource };
4098
+ var LabelTaxonomyResource = /** @class */ (function (_super) {
4099
+ __extends(LabelTaxonomyResource, _super);
4100
+ function LabelTaxonomyResource() {
4101
+ return _super !== null && _super.apply(this, arguments) || this;
4102
+ }
4103
+ LabelTaxonomyResource.prototype.get = function (params) {
4104
+ if (params === void 0) { params = {}; }
4506
4105
  return this.client.request({
4507
- body: params.body,
4508
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents/").concat(encodeURIComponent(params.content_id), "/localizations/").concat(encodeURIComponent(params.id)),
4106
+ endpoint: '/label_taxonomy',
4509
4107
  headers: params.headers,
4510
- method: 'PUT',
4108
+ method: 'GET',
4511
4109
  });
4512
4110
  };
4513
- /*Allows for patch updates to the value of a single block of translated content.*/
4514
- LocalizationsResource.prototype.putElementsByIdAndKey = function (params) {
4111
+ return LabelTaxonomyResource;
4112
+ }($Resource));
4113
+ export { LabelTaxonomyResource };
4114
+ var LevyRateSummariesResource = /** @class */ (function (_super) {
4115
+ __extends(LevyRateSummariesResource, _super);
4116
+ function LevyRateSummariesResource() {
4117
+ return _super !== null && _super.apply(this, arguments) || this;
4118
+ }
4119
+ LevyRateSummariesResource.prototype.get = function (params) {
4515
4120
  return this.client.request({
4516
- body: params.body,
4517
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents/").concat(encodeURIComponent(params.content_id), "/localizations/").concat(encodeURIComponent(params.id), "/elements/").concat(encodeURIComponent(params.key)),
4121
+ endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/levy/rate/summary"),
4518
4122
  headers: params.headers,
4519
- method: 'PUT',
4123
+ method: 'GET',
4520
4124
  });
4521
4125
  };
4522
- return LocalizationsResource;
4126
+ return LevyRateSummariesResource;
4523
4127
  }($Resource));
4524
- export { LocalizationsResource };
4525
- var LocalizedContentsResource = /** @class */ (function (_super) {
4526
- __extends(LocalizedContentsResource, _super);
4527
- function LocalizedContentsResource() {
4128
+ export { LevyRateSummariesResource };
4129
+ var LiabilityRemittancePlansResource = /** @class */ (function (_super) {
4130
+ __extends(LiabilityRemittancePlansResource, _super);
4131
+ function LiabilityRemittancePlansResource() {
4528
4132
  return _super !== null && _super.apply(this, arguments) || this;
4529
4133
  }
4530
- LocalizedContentsResource.prototype.get = function (params) {
4134
+ LiabilityRemittancePlansResource.prototype.get = function (params) {
4531
4135
  return this.client.request({
4532
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents"),
4136
+ endpoint: "/".concat(encodeURIComponent(params.organization), "/liabilities"),
4533
4137
  headers: params.headers,
4534
4138
  method: 'GET',
4535
4139
  query: {
4536
4140
  id: params.id,
4537
4141
  limit: params.limit,
4538
4142
  offset: params.offset,
4539
- schema_key: params.schema_key,
4143
+ order_number: params.order_number,
4540
4144
  sort: params.sort,
4541
- status: params.status,
4542
4145
  },
4543
4146
  });
4544
4147
  };
4545
- LocalizedContentsResource.prototype.putById = function (params) {
4546
- return this.client.request({
4547
- body: params.body,
4548
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents/").concat(encodeURIComponent(params.id)),
4549
- headers: params.headers,
4550
- method: 'PUT',
4551
- });
4552
- };
4553
- return LocalizedContentsResource;
4554
- }($Resource));
4555
- export { LocalizedContentsResource };
4556
- var LocalizedItemsExportSettingsResource = /** @class */ (function (_super) {
4557
- __extends(LocalizedItemsExportSettingsResource, _super);
4558
- function LocalizedItemsExportSettingsResource() {
4559
- return _super !== null && _super.apply(this, arguments) || this;
4560
- }
4561
- LocalizedItemsExportSettingsResource.prototype.get = function (params) {
4148
+ LiabilityRemittancePlansResource.prototype.getByOrderNumber = function (params) {
4562
4149
  return this.client.request({
4563
- endpoint: "/".concat(encodeURIComponent(params.organization), "/settings/export/localized_items"),
4150
+ endpoint: "/".concat(encodeURIComponent(params.organization), "/liabilities/").concat(encodeURIComponent(params.order_number)),
4564
4151
  headers: params.headers,
4565
4152
  method: 'GET',
4566
4153
  });
4567
4154
  };
4568
- LocalizedItemsExportSettingsResource.prototype.put = function (params) {
4569
- return this.client.request({
4570
- body: params.body,
4571
- endpoint: "/".concat(encodeURIComponent(params.organization), "/settings/export/localized_items"),
4572
- headers: params.headers,
4573
- method: 'PUT',
4574
- });
4575
- };
4576
- return LocalizedItemsExportSettingsResource;
4155
+ return LiabilityRemittancePlansResource;
4577
4156
  }($Resource));
4578
- export { LocalizedItemsExportSettingsResource };
4157
+ export { LiabilityRemittancePlansResource };
4579
4158
  var LogisticsCapabilitiesResource = /** @class */ (function (_super) {
4580
4159
  __extends(LogisticsCapabilitiesResource, _super);
4581
4160
  function LogisticsCapabilitiesResource() {
@@ -5121,162 +4700,6 @@ var OnboardingOrganizationsResource = /** @class */ (function (_super) {
5121
4700
  return OnboardingOrganizationsResource;
5122
4701
  }($Resource));
5123
4702
  export { OnboardingOrganizationsResource };
5124
- var OptinAttributesResource = /** @class */ (function (_super) {
5125
- __extends(OptinAttributesResource, _super);
5126
- function OptinAttributesResource() {
5127
- return _super !== null && _super.apply(this, arguments) || this;
5128
- }
5129
- OptinAttributesResource.prototype.get = function (params) {
5130
- return this.client.request({
5131
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/attributes"),
5132
- headers: params.headers,
5133
- method: 'GET',
5134
- query: {
5135
- limit: params.limit,
5136
- offset: params.offset,
5137
- optin_attribute_key: params.optin_attribute_key,
5138
- sort: params.sort,
5139
- },
5140
- });
5141
- };
5142
- OptinAttributesResource.prototype.getByKey = function (params) {
5143
- return this.client.request({
5144
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/attributes/").concat(encodeURIComponent(params.key)),
5145
- headers: params.headers,
5146
- method: 'GET',
5147
- });
5148
- };
5149
- OptinAttributesResource.prototype.putByKey = function (params) {
5150
- return this.client.request({
5151
- body: params.body,
5152
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/attributes/").concat(encodeURIComponent(params.key)),
5153
- headers: params.headers,
5154
- method: 'PUT',
5155
- });
5156
- };
5157
- OptinAttributesResource.prototype.deleteByKey = function (params) {
5158
- return this.client.request({
5159
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/attributes/").concat(encodeURIComponent(params.key)),
5160
- headers: params.headers,
5161
- method: 'DELETE',
5162
- });
5163
- };
5164
- return OptinAttributesResource;
5165
- }($Resource));
5166
- export { OptinAttributesResource };
5167
- var OptinPromptsResource = /** @class */ (function (_super) {
5168
- __extends(OptinPromptsResource, _super);
5169
- function OptinPromptsResource() {
5170
- return _super !== null && _super.apply(this, arguments) || this;
5171
- }
5172
- OptinPromptsResource.prototype.getPrompts = function (params) {
5173
- return this.client.request({
5174
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/prompts"),
5175
- headers: params.headers,
5176
- method: 'GET',
5177
- query: {
5178
- expand: params.expand,
5179
- id: params.id,
5180
- limit: params.limit,
5181
- offset: params.offset,
5182
- optin_attribute_key: params.optin_attribute_key,
5183
- region: params.region,
5184
- sort: params.sort,
5185
- },
5186
- });
5187
- };
5188
- OptinPromptsResource.prototype.postPrompts = function (params) {
5189
- return this.client.request({
5190
- body: params.body,
5191
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/prompts"),
5192
- headers: params.headers,
5193
- method: 'POST',
5194
- });
5195
- };
5196
- OptinPromptsResource.prototype.putPromptsById = function (params) {
5197
- return this.client.request({
5198
- body: params.body,
5199
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/prompts/").concat(encodeURIComponent(params.id)),
5200
- headers: params.headers,
5201
- method: 'PUT',
5202
- });
5203
- };
5204
- OptinPromptsResource.prototype.deletePromptsById = function (params) {
5205
- return this.client.request({
5206
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/prompts/").concat(encodeURIComponent(params.id)),
5207
- headers: params.headers,
5208
- method: 'DELETE',
5209
- });
5210
- };
5211
- /*This anonymous path will allow consumers to receive a targeted list of prompts that should apply in their region.*/
5212
- OptinPromptsResource.prototype.getTargetsByTargetAndRegion = function (params) {
5213
- return this.client.request({
5214
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/targets/").concat(encodeURIComponent(params.target), "/").concat(encodeURIComponent(params.region)),
5215
- headers: params.headers,
5216
- method: 'GET',
5217
- query: {
5218
- cast: params.cast,
5219
- expand: params.expand,
5220
- language: params.language,
5221
- locale: params.locale,
5222
- },
5223
- });
5224
- };
5225
- OptinPromptsResource.prototype.getById = function (params) {
5226
- return this.client.request({
5227
- endpoint: "/".concat(encodeURIComponent(params.organization), "/optin/").concat(encodeURIComponent(params.id)),
5228
- headers: params.headers,
5229
- method: 'GET',
5230
- query: {
5231
- expand: params.expand,
5232
- },
5233
- });
5234
- };
5235
- return OptinPromptsResource;
5236
- }($Resource));
5237
- export { OptinPromptsResource };
5238
- var OptinPromptCopiesResource = /** @class */ (function (_super) {
5239
- __extends(OptinPromptCopiesResource, _super);
5240
- function OptinPromptCopiesResource() {
5241
- return _super !== null && _super.apply(this, arguments) || this;
5242
- }
5243
- /*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.*/
5244
- OptinPromptCopiesResource.prototype.post = function (params) {
5245
- return this.client.request({
5246
- body: params.body,
5247
- endpoint: '/internal/optin/prompt/copies',
5248
- headers: params.headers,
5249
- method: 'POST',
5250
- });
5251
- };
5252
- return OptinPromptCopiesResource;
5253
- }($Resource));
5254
- export { OptinPromptCopiesResource };
5255
- var OrderActionabilitiesResource = /** @class */ (function (_super) {
5256
- __extends(OrderActionabilitiesResource, _super);
5257
- function OrderActionabilitiesResource() {
5258
- return _super !== null && _super.apply(this, arguments) || this;
5259
- }
5260
- /*Attempts to take an action or set of line quantity actions on an order.*/
5261
- OrderActionabilitiesResource.prototype.post = function (params) {
5262
- return this.client.request({
5263
- body: params.body,
5264
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/status/actions"),
5265
- headers: params.headers,
5266
- method: 'POST',
5267
- });
5268
- };
5269
- /*Returns the current actionability for this order*/
5270
- OrderActionabilitiesResource.prototype.getAvailable = function (params) {
5271
- return this.client.request({
5272
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/status/actions/available"),
5273
- headers: params.headers,
5274
- method: 'GET',
5275
- });
5276
- };
5277
- return OrderActionabilitiesResource;
5278
- }($Resource));
5279
- export { OrderActionabilitiesResource };
5280
4703
  var OrderAddressValidationsResource = /** @class */ (function (_super) {
5281
4704
  __extends(OrderAddressValidationsResource, _super);
5282
4705
  function OrderAddressValidationsResource() {
@@ -6914,36 +6337,6 @@ var RatesNamesSummariesResource = /** @class */ (function (_super) {
6914
6337
  return RatesNamesSummariesResource;
6915
6338
  }($Resource));
6916
6339
  export { RatesNamesSummariesResource };
6917
- var ReboundConfigurationsResource = /** @class */ (function (_super) {
6918
- __extends(ReboundConfigurationsResource, _super);
6919
- function ReboundConfigurationsResource() {
6920
- return _super !== null && _super.apply(this, arguments) || this;
6921
- }
6922
- ReboundConfigurationsResource.prototype.get = function (params) {
6923
- return this.client.request({
6924
- endpoint: "/".concat(encodeURIComponent(params.organization), "/rebound/configuration"),
6925
- headers: params.headers,
6926
- method: 'GET',
6927
- });
6928
- };
6929
- ReboundConfigurationsResource.prototype.put = function (params) {
6930
- return this.client.request({
6931
- body: params.body,
6932
- endpoint: "/".concat(encodeURIComponent(params.organization), "/rebound/configuration"),
6933
- headers: params.headers,
6934
- method: 'PUT',
6935
- });
6936
- };
6937
- ReboundConfigurationsResource.prototype.delete = function (params) {
6938
- return this.client.request({
6939
- endpoint: "/".concat(encodeURIComponent(params.organization), "/rebound/configuration"),
6940
- headers: params.headers,
6941
- method: 'DELETE',
6942
- });
6943
- };
6944
- return ReboundConfigurationsResource;
6945
- }($Resource));
6946
- export { ReboundConfigurationsResource };
6947
6340
  var ReportsResource = /** @class */ (function (_super) {
6948
6341
  __extends(ReportsResource, _super);
6949
6342
  function ReportsResource() {
@@ -7062,7 +6455,6 @@ var RestrictionItemsResource = /** @class */ (function (_super) {
7062
6455
  headers: params.headers,
7063
6456
  method: 'GET',
7064
6457
  query: {
7065
- categories: params.categories,
7066
6458
  category: params.category,
7067
6459
  hs6: params.hs6,
7068
6460
  limit: params.limit,
@@ -7170,7 +6562,7 @@ var RestrictionOrganizationDecisionSummariesResource = /** @class */ (function (
7170
6562
  earliest_pending_date_after: params.earliest_pending_date_after,
7171
6563
  earliest_pending_date_before: params.earliest_pending_date_before,
7172
6564
  environment: params.environment,
7173
- filter_orgs_with_pending_verifications: params.filter_orgs_with_pending_verifications,
6565
+ filter_orgs_with_pending: params.filter_orgs_with_pending,
7174
6566
  limit: params.limit,
7175
6567
  offset: params.offset,
7176
6568
  organization_id: params.organization_id,
@@ -7199,7 +6591,6 @@ var RestrictionProductsResource = /** @class */ (function (_super) {
7199
6591
  method: 'GET',
7200
6592
  query: {
7201
6593
  accepted_rules: params.accepted_rules,
7202
- categories: params.categories,
7203
6594
  category: params.category,
7204
6595
  hs6: params.hs6,
7205
6596
  limit: params.limit,
@@ -7484,45 +6875,61 @@ var SandboxSetupsResource = /** @class */ (function (_super) {
7484
6875
  return SandboxSetupsResource;
7485
6876
  }($Resource));
7486
6877
  export { SandboxSetupsResource };
7487
- var ScreensResource = /** @class */ (function (_super) {
7488
- __extends(ScreensResource, _super);
7489
- function ScreensResource() {
6878
+ var SarveshItemsResource = /** @class */ (function (_super) {
6879
+ __extends(SarveshItemsResource, _super);
6880
+ function SarveshItemsResource() {
7490
6881
  return _super !== null && _super.apply(this, arguments) || this;
7491
6882
  }
7492
- /*Provides a list of screens given a query 'q' and optional countries parameter to search on a specified list of countries.*/
7493
- ScreensResource.prototype.putByKey = function (params) {
6883
+ SarveshItemsResource.prototype.post = function (params) {
7494
6884
  return this.client.request({
7495
6885
  body: params.body,
7496
- 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)),
7497
6902
  headers: params.headers,
7498
6903
  method: 'PUT',
7499
6904
  });
7500
6905
  };
7501
- return ScreensResource;
7502
- }($Resource));
7503
- export { ScreensResource };
7504
- var SearchProviderExportsResource = /** @class */ (function (_super) {
7505
- __extends(SearchProviderExportsResource, _super);
7506
- function SearchProviderExportsResource() {
7507
- return _super !== null && _super.apply(this, arguments) || this;
7508
- }
7509
- SearchProviderExportsResource.prototype.post = function (params) {
6906
+ SarveshItemsResource.prototype.deleteById = function (params) {
7510
6907
  return this.client.request({
7511
- endpoint: "/".concat(encodeURIComponent(params.organization), "/search_provider_export"),
6908
+ endpoint: "/sarvesh/items/".concat(encodeURIComponent(params.id)),
7512
6909
  headers: params.headers,
7513
- method: 'POST',
6910
+ method: 'DELETE',
7514
6911
  });
7515
6912
  };
7516
- 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) {
7517
6923
  return this.client.request({
7518
- 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)),
7519
6926
  headers: params.headers,
7520
- method: 'POST',
6927
+ method: 'PUT',
7521
6928
  });
7522
6929
  };
7523
- return SearchProviderExportsResource;
6930
+ return ScreensResource;
7524
6931
  }($Resource));
7525
- export { SearchProviderExportsResource };
6932
+ export { ScreensResource };
7526
6933
  var SessionOrderDataResource = /** @class */ (function (_super) {
7527
6934
  __extends(SessionOrderDataResource, _super);
7528
6935
  function SessionOrderDataResource() {
@@ -7925,44 +7332,6 @@ var SpotRatesResource = /** @class */ (function (_super) {
7925
7332
  return SpotRatesResource;
7926
7333
  }($Resource));
7927
7334
  export { SpotRatesResource };
7928
- var StoreConnectionsResource = /** @class */ (function (_super) {
7929
- __extends(StoreConnectionsResource, _super);
7930
- function StoreConnectionsResource() {
7931
- return _super !== null && _super.apply(this, arguments) || this;
7932
- }
7933
- StoreConnectionsResource.prototype.getByDomain = function (params) {
7934
- return this.client.request({
7935
- endpoint: "/magento/stores/".concat(encodeURIComponent(params.domain)),
7936
- headers: params.headers,
7937
- method: 'GET',
7938
- });
7939
- };
7940
- StoreConnectionsResource.prototype.putByDomain = function (params) {
7941
- return this.client.request({
7942
- body: params.body,
7943
- endpoint: "/magento/stores/".concat(encodeURIComponent(params.domain)),
7944
- headers: params.headers,
7945
- method: 'PUT',
7946
- });
7947
- };
7948
- StoreConnectionsResource.prototype.deleteByDomain = function (params) {
7949
- return this.client.request({
7950
- endpoint: "/magento/stores/".concat(encodeURIComponent(params.domain)),
7951
- headers: params.headers,
7952
- method: 'DELETE',
7953
- });
7954
- };
7955
- StoreConnectionsResource.prototype.postInstallByDomain = function (params) {
7956
- return this.client.request({
7957
- body: params.body,
7958
- endpoint: "/magento/stores/".concat(encodeURIComponent(params.domain), "/install"),
7959
- headers: params.headers,
7960
- method: 'POST',
7961
- });
7962
- };
7963
- return StoreConnectionsResource;
7964
- }($Resource));
7965
- export { StoreConnectionsResource };
7966
7335
  var TariffEligibilitiesResource = /** @class */ (function (_super) {
7967
7336
  __extends(TariffEligibilitiesResource, _super);
7968
7337
  function TariffEligibilitiesResource() {
@@ -8455,15 +7824,14 @@ export { WebhooksResource };
8455
7824
  export function createClient(options) {
8456
7825
  return {
8457
7826
  accountPaymentHolds: new AccountPaymentHoldsResource(options),
8458
- addressConfigurationSettings: new AddressConfigurationSettingsResource(options),
8459
7827
  aftershipWebhooks: new AftershipWebhooksResource(options),
8460
7828
  aldoItems: new AldoItemsResource(options),
8461
7829
  alertFailureSummaries: new AlertFailureSummariesResource(options),
8462
7830
  alertRequeueSummaries: new AlertRequeueSummariesResource(options),
8463
7831
  allOrganizationsMemberships: new AllOrganizationsMembershipsResource(options),
8464
7832
  anshItems: new AnshItemsResource(options),
8465
- authorizedChargeStatuses: new AuthorizedChargeStatusesResource(options),
8466
7833
  bankPayments: new BankPaymentsResource(options),
7834
+ bankPaymentDetails: new BankPaymentDetailsResource(options),
8467
7835
  bankPaymentOrders: new BankPaymentOrdersResource(options),
8468
7836
  bankPaymentStatusImports: new BankPaymentStatusImportsResource(options),
8469
7837
  billingOrganizationProcessingRates: new BillingOrganizationProcessingRatesResource(options),
@@ -8489,8 +7857,6 @@ export function createClient(options) {
8489
7857
  channelOrderAcceptanceDetails: new ChannelOrderAcceptanceDetailsResource(options),
8490
7858
  channelOrganizationShopify: new ChannelOrganizationShopifyResource(options),
8491
7859
  chargebacks: new ChargebacksResource(options),
8492
- checkoutConfigurations: new CheckoutConfigurationsResource(options),
8493
- checkoutContentSummaries: new CheckoutContentSummariesResource(options),
8494
7860
  ciphers: new CiphersResource(options),
8495
7861
  classifications: new ClassificationsResource(options),
8496
7862
  classificationActions: new ClassificationActionsResource(options),
@@ -8503,10 +7869,9 @@ export function createClient(options) {
8503
7869
  commercialInvoiceComparisons: new CommercialInvoiceComparisonsResource(options),
8504
7870
  commercialInvoiceSummaries: new CommercialInvoiceSummariesResource(options),
8505
7871
  compliances: new CompliancesResource(options),
8506
- consumerOptinActivities: new ConsumerOptinActivitiesResource(options),
8507
- contentSchemas: new ContentSchemasResource(options),
8508
7872
  courthouseProductSummaries: new CourthouseProductSummariesResource(options),
8509
7873
  customsDetails: new CustomsDetailsResource(options),
7874
+ databases: new DatabasesResource(options),
8510
7875
  debugOrders: new DebugOrdersResource(options),
8511
7876
  debugOrderTransactions: new DebugOrderTransactionsResource(options),
8512
7877
  deliveredDutyOptions: new DeliveredDutyOptionsResource(options),
@@ -8526,26 +7891,23 @@ export function createClient(options) {
8526
7891
  financeBankAccounts: new FinanceBankAccountsResource(options),
8527
7892
  financeBankPayments: new FinanceBankPaymentsResource(options),
8528
7893
  financialMerchantCategories: new FinancialMerchantCategoriesResource(options),
8529
- financialReportingStatements: new FinancialReportingStatementsResource(options),
8530
7894
  flexeWebhooks: new FlexeWebhooksResource(options),
8531
7895
  flowAccounts: new FlowAccountsResource(options),
8532
7896
  flowBillingStatements: new FlowBillingStatementsResource(options),
8533
7897
  flowChannelOrganizations: new FlowChannelOrganizationsResource(options),
8534
- flowLabProjects: new FlowLabProjectsResource(options),
8535
7898
  flowLabelSettings: new FlowLabelSettingsResource(options),
8536
7899
  fraudPendingReviews: new FraudPendingReviewsResource(options),
8537
7900
  fraudPendingReviewDetails: new FraudPendingReviewDetailsResource(options),
8538
7901
  fraudProviderConfigurations: new FraudProviderConfigurationsResource(options),
8539
7902
  fraudReviews: new FraudReviewsResource(options),
8540
7903
  fraudReviewDecisions: new FraudReviewDecisionsResource(options),
8541
- ftpSettings: new FtpSettingsResource(options),
8542
7904
  generateLoads: new GenerateLoadsResource(options),
8543
7905
  giftCardPrograms: new GiftCardProgramsResource(options),
8544
7906
  globalSearchResults: new GlobalSearchResultsResource(options),
8545
- googleShoppingSettings: new GoogleShoppingSettingsResource(options),
8546
7907
  harmonizationItemClassifications: new HarmonizationItemClassificationsResource(options),
8547
7908
  harmonizationThresholds: new HarmonizationThresholdsResource(options),
8548
7909
  harmonizationUnclassifiedStatistics: new HarmonizationUnclassifiedStatisticsResource(options),
7910
+ hoseinItems: new HoseinItemsResource(options),
8549
7911
  hs6: new Hs6Resource(options),
8550
7912
  internalDebugTransactions: new InternalDebugTransactionsResource(options),
8551
7913
  internalHarmonizationStatistics: new InternalHarmonizationStatisticsResource(options),
@@ -8565,7 +7927,6 @@ export function createClient(options) {
8565
7927
  paypalDisputeEvents: new PaypalDisputeEventsResource(options),
8566
7928
  webhookEvents: new WebhookEventsResource(options),
8567
7929
  ultimateBeneficiaryOwners: new UltimateBeneficiaryOwnersResource(options),
8568
- orderManagementEvents: new OrderManagementEventsResource(options),
8569
7930
  onboardingStates: new OnboardingStatesResource(options),
8570
7931
  memberships: new MembershipsResource(options),
8571
7932
  authorizations: new AuthorizationsResource(options),
@@ -8575,7 +7936,6 @@ export function createClient(options) {
8575
7936
  ratecards: new RatecardsResource(options),
8576
7937
  serviceFees: new ServiceFeesResource(options),
8577
7938
  countries: new CountriesResource(options),
8578
- organizationSessions: new OrganizationSessionsResource(options),
8579
7939
  shopifyOrders: new ShopifyOrdersResource(options),
8580
7940
  knowYourBusinesses: new KnowYourBusinessesResource(options),
8581
7941
  shopifyPaymentStripeEvents: new ShopifyPaymentStripeEventsResource(options),
@@ -8588,18 +7948,14 @@ export function createClient(options) {
8588
7948
  itemRestrictions: new ItemRestrictionsResource(options),
8589
7949
  itemSalesMargins: new ItemSalesMarginsResource(options),
8590
7950
  jeanDemoItems: new JeanDemoItemsResource(options),
7951
+ journals: new JournalsResource(options),
8591
7952
  keys: new KeysResource(options),
8592
- labProjectSettings: new LabProjectSettingsResource(options),
8593
7953
  labelCreationJobs: new LabelCreationJobsResource(options),
8594
7954
  labelGenerationSettings: new LabelGenerationSettingsResource(options),
8595
7955
  labelRequestResults: new LabelRequestResultsResource(options),
8596
7956
  labelTaxonomy: new LabelTaxonomyResource(options),
8597
7957
  levyRateSummaries: new LevyRateSummariesResource(options),
8598
7958
  liabilityRemittancePlans: new LiabilityRemittancePlansResource(options),
8599
- localizableContents: new LocalizableContentsResource(options),
8600
- localizations: new LocalizationsResource(options),
8601
- localizedContents: new LocalizedContentsResource(options),
8602
- localizedItemsExportSettings: new LocalizedItemsExportSettingsResource(options),
8603
7959
  logisticsCapabilities: new LogisticsCapabilitiesResource(options),
8604
7960
  logisticsPayoutRequests: new LogisticsPayoutRequestsResource(options),
8605
7961
  lostChargebacks: new LostChargebacksResource(options),
@@ -8616,10 +7972,6 @@ export function createClient(options) {
8616
7972
  onboardingAuditReports: new OnboardingAuditReportsResource(options),
8617
7973
  onboardingAuditSnapshots: new OnboardingAuditSnapshotsResource(options),
8618
7974
  onboardingOrganizations: new OnboardingOrganizationsResource(options),
8619
- optinAttributes: new OptinAttributesResource(options),
8620
- optinPrompts: new OptinPromptsResource(options),
8621
- optinPromptCopies: new OptinPromptCopiesResource(options),
8622
- orderActionabilities: new OrderActionabilitiesResource(options),
8623
7975
  orderAddressValidations: new OrderAddressValidationsResource(options),
8624
7976
  orderCancellations: new OrderCancellationsResource(options),
8625
7977
  orderCombinedShipments: new OrderCombinedShipmentsResource(options),
@@ -8665,7 +8017,6 @@ export function createClient(options) {
8665
8017
  ratecardServiceFeesOverrides: new RatecardServiceFeesOverridesResource(options),
8666
8018
  ratecardStandardConfigurations: new RatecardStandardConfigurationsResource(options),
8667
8019
  ratesNamesSummaries: new RatesNamesSummariesResource(options),
8668
- reboundConfigurations: new ReboundConfigurationsResource(options),
8669
8020
  reports: new ReportsResource(options),
8670
8021
  reportSummary: new ReportSummaryResource(options),
8671
8022
  rescreenRestrictionsProducts: new RescreenRestrictionsProductsResource(options),
@@ -8681,8 +8032,8 @@ export function createClient(options) {
8681
8032
  rohanItems: new RohanItemsResource(options),
8682
8033
  routingEntities: new RoutingEntitiesResource(options),
8683
8034
  sandboxSetups: new SandboxSetupsResource(options),
8035
+ sarveshItems: new SarveshItemsResource(options),
8684
8036
  screens: new ScreensResource(options),
8685
- searchProviderExports: new SearchProviderExportsResource(options),
8686
8037
  sessionOrderData: new SessionOrderDataResource(options),
8687
8038
  shippingLanes: new ShippingLanesResource(options),
8688
8039
  shopifyMarketsOrderVersionWithShopIds: new ShopifyMarketsOrderVersionWithShopIdsResource(options),
@@ -8700,7 +8051,6 @@ export function createClient(options) {
8700
8051
  smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
8701
8052
  snoozes: new SnoozesResource(options),
8702
8053
  spotRates: new SpotRatesResource(options),
8703
- storeConnections: new StoreConnectionsResource(options),
8704
8054
  tariffEligibilities: new TariffEligibilitiesResource(options),
8705
8055
  tasks: new TasksResource(options),
8706
8056
  taxCalculationForms: new TaxCalculationFormsResource(options),