@flowio/api-internal-sdk 0.0.167 → 0.0.169

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() {
@@ -219,57 +196,6 @@ var AldoItemsResource = /** @class */ (function (_super) {
219
196
  return AldoItemsResource;
220
197
  }($Resource));
221
198
  export { AldoItemsResource };
222
- var AlertFailureSummariesResource = /** @class */ (function (_super) {
223
- __extends(AlertFailureSummariesResource, _super);
224
- function AlertFailureSummariesResource() {
225
- return _super !== null && _super.apply(this, arguments) || this;
226
- }
227
- /*Returns the most recent 100 error summaries for a service's failed events*/
228
- AlertFailureSummariesResource.prototype.get = function (params) {
229
- if (params === void 0) { params = {}; }
230
- return this.client.request({
231
- endpoint: '/internal/stats/events/failures/summaries',
232
- headers: params.headers,
233
- method: 'GET',
234
- });
235
- };
236
- /*Returns the most recent 100 error summaries for a service's failed events*/
237
- AlertFailureSummariesResource.prototype.getByDb = function (params) {
238
- return this.client.request({
239
- endpoint: "/internal/stats/events/failures/summaries/".concat(encodeURIComponent(params.db)),
240
- headers: params.headers,
241
- method: 'GET',
242
- query: {
243
- queue: params.queue,
244
- },
245
- });
246
- };
247
- AlertFailureSummariesResource.prototype.deleteByDbAndQueueAndId = function (params) {
248
- return this.client.request({
249
- endpoint: "/internal/stats/events/failures/summaries/".concat(encodeURIComponent(params.db), "/").concat(encodeURIComponent(params.queue), "/").concat(encodeURIComponent(params.id)),
250
- headers: params.headers,
251
- method: 'DELETE',
252
- });
253
- };
254
- return AlertFailureSummariesResource;
255
- }($Resource));
256
- export { AlertFailureSummariesResource };
257
- var AlertRequeueSummariesResource = /** @class */ (function (_super) {
258
- __extends(AlertRequeueSummariesResource, _super);
259
- function AlertRequeueSummariesResource() {
260
- return _super !== null && _super.apply(this, arguments) || this;
261
- }
262
- /*Requeue failed events for the service*/
263
- AlertRequeueSummariesResource.prototype.post = function (params) {
264
- return this.client.request({
265
- endpoint: "/internal/stats/events/failures/".concat(encodeURIComponent(params.db), "/requeue"),
266
- headers: params.headers,
267
- method: 'POST',
268
- });
269
- };
270
- return AlertRequeueSummariesResource;
271
- }($Resource));
272
- export { AlertRequeueSummariesResource };
273
199
  var AllOrganizationsMembershipsResource = /** @class */ (function (_super) {
274
200
  __extends(AllOrganizationsMembershipsResource, _super);
275
201
  function AllOrganizationsMembershipsResource() {
@@ -324,22 +250,6 @@ var AnshItemsResource = /** @class */ (function (_super) {
324
250
  return AnshItemsResource;
325
251
  }($Resource));
326
252
  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
253
  var BankPaymentsResource = /** @class */ (function (_super) {
344
254
  __extends(BankPaymentsResource, _super);
345
255
  function BankPaymentsResource() {
@@ -380,6 +290,33 @@ var BankPaymentsResource = /** @class */ (function (_super) {
380
290
  return BankPaymentsResource;
381
291
  }($Resource));
382
292
  export { BankPaymentsResource };
293
+ var BankPaymentDetailsResource = /** @class */ (function (_super) {
294
+ __extends(BankPaymentDetailsResource, _super);
295
+ function BankPaymentDetailsResource() {
296
+ return _super !== null && _super.apply(this, arguments) || this;
297
+ }
298
+ BankPaymentDetailsResource.prototype.get = function (params) {
299
+ return this.client.request({
300
+ endpoint: '/internal/billing/bank/payment/details',
301
+ headers: params.headers,
302
+ method: 'GET',
303
+ query: {
304
+ id: params.id,
305
+ limit: params.limit,
306
+ offset: params.offset,
307
+ order_payment_source: params.order_payment_source,
308
+ since: params.since,
309
+ sort: params.sort,
310
+ source_id: params.source_id,
311
+ source_type: params.source_type,
312
+ status: params.status,
313
+ until: params.until,
314
+ },
315
+ });
316
+ };
317
+ return BankPaymentDetailsResource;
318
+ }($Resource));
319
+ export { BankPaymentDetailsResource };
383
320
  var BankPaymentOrdersResource = /** @class */ (function (_super) {
384
321
  __extends(BankPaymentOrdersResource, _super);
385
322
  function BankPaymentOrdersResource() {
@@ -1254,91 +1191,6 @@ var ChargebacksResource = /** @class */ (function (_super) {
1254
1191
  return ChargebacksResource;
1255
1192
  }($Resource));
1256
1193
  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
1194
  var CiphersResource = /** @class */ (function (_super) {
1343
1195
  __extends(CiphersResource, _super);
1344
1196
  function CiphersResource() {
@@ -1650,50 +1502,6 @@ var CompliancesResource = /** @class */ (function (_super) {
1650
1502
  return CompliancesResource;
1651
1503
  }($Resource));
1652
1504
  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
1505
  var CourthouseProductSummariesResource = /** @class */ (function (_super) {
1698
1506
  __extends(CourthouseProductSummariesResource, _super);
1699
1507
  function CourthouseProductSummariesResource() {
@@ -1727,6 +1535,22 @@ var CustomsDetailsResource = /** @class */ (function (_super) {
1727
1535
  return CustomsDetailsResource;
1728
1536
  }($Resource));
1729
1537
  export { CustomsDetailsResource };
1538
+ var DatabasesResource = /** @class */ (function (_super) {
1539
+ __extends(DatabasesResource, _super);
1540
+ function DatabasesResource() {
1541
+ return _super !== null && _super.apply(this, arguments) || this;
1542
+ }
1543
+ DatabasesResource.prototype.get = function (params) {
1544
+ if (params === void 0) { params = {}; }
1545
+ return this.client.request({
1546
+ endpoint: '/internal/db/gateway/databases',
1547
+ headers: params.headers,
1548
+ method: 'GET',
1549
+ });
1550
+ };
1551
+ return DatabasesResource;
1552
+ }($Resource));
1553
+ export { DatabasesResource };
1730
1554
  var DebugOrdersResource = /** @class */ (function (_super) {
1731
1555
  __extends(DebugOrdersResource, _super);
1732
1556
  function DebugOrdersResource() {
@@ -2344,29 +2168,6 @@ var FinancialMerchantCategoriesResource = /** @class */ (function (_super) {
2344
2168
  return FinancialMerchantCategoriesResource;
2345
2169
  }($Resource));
2346
2170
  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
2171
  var FlexeWebhooksResource = /** @class */ (function (_super) {
2371
2172
  __extends(FlexeWebhooksResource, _super);
2372
2173
  function FlexeWebhooksResource() {
@@ -2584,58 +2385,6 @@ var FlowChannelOrganizationsResource = /** @class */ (function (_super) {
2584
2385
  return FlowChannelOrganizationsResource;
2585
2386
  }($Resource));
2586
2387
  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
2388
  var FlowLabelSettingsResource = /** @class */ (function (_super) {
2640
2389
  __extends(FlowLabelSettingsResource, _super);
2641
2390
  function FlowLabelSettingsResource() {
@@ -2806,57 +2555,6 @@ var FraudReviewDecisionsResource = /** @class */ (function (_super) {
2806
2555
  return FraudReviewDecisionsResource;
2807
2556
  }($Resource));
2808
2557
  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
2558
  var GenerateLoadsResource = /** @class */ (function (_super) {
2861
2559
  __extends(GenerateLoadsResource, _super);
2862
2560
  function GenerateLoadsResource() {
@@ -2922,29 +2620,6 @@ var GlobalSearchResultsResource = /** @class */ (function (_super) {
2922
2620
  return GlobalSearchResultsResource;
2923
2621
  }($Resource));
2924
2622
  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
2623
  var HarmonizationItemClassificationsResource = /** @class */ (function (_super) {
2949
2624
  __extends(HarmonizationItemClassificationsResource, _super);
2950
2625
  function HarmonizationItemClassificationsResource() {
@@ -3053,14 +2728,14 @@ var HoseinItemsResource = /** @class */ (function (_super) {
3053
2728
  HoseinItemsResource.prototype.post = function (params) {
3054
2729
  return this.client.request({
3055
2730
  body: params.body,
3056
- endpoint: 'hosein/items',
2731
+ endpoint: '/hosein/items',
3057
2732
  headers: params.headers,
3058
2733
  method: 'POST',
3059
2734
  });
3060
2735
  };
3061
2736
  HoseinItemsResource.prototype.getById = function (params) {
3062
2737
  return this.client.request({
3063
- endpoint: "hosein/items/".concat(encodeURIComponent(params.id)),
2738
+ endpoint: "/hosein/items/".concat(encodeURIComponent(params.id)),
3064
2739
  headers: params.headers,
3065
2740
  method: 'GET',
3066
2741
  });
@@ -3068,14 +2743,14 @@ var HoseinItemsResource = /** @class */ (function (_super) {
3068
2743
  HoseinItemsResource.prototype.putById = function (params) {
3069
2744
  return this.client.request({
3070
2745
  body: params.body,
3071
- endpoint: "hosein/items/".concat(encodeURIComponent(params.id)),
2746
+ endpoint: "/hosein/items/".concat(encodeURIComponent(params.id)),
3072
2747
  headers: params.headers,
3073
2748
  method: 'PUT',
3074
2749
  });
3075
2750
  };
3076
2751
  HoseinItemsResource.prototype.deleteById = function (params) {
3077
2752
  return this.client.request({
3078
- endpoint: "hosein/items/".concat(encodeURIComponent(params.id)),
2753
+ endpoint: "/hosein/items/".concat(encodeURIComponent(params.id)),
3079
2754
  headers: params.headers,
3080
2755
  method: 'DELETE',
3081
2756
  });
@@ -3652,22 +3327,6 @@ var UltimateBeneficiaryOwnersResource = /** @class */ (function (_super) {
3652
3327
  return UltimateBeneficiaryOwnersResource;
3653
3328
  }($Resource));
3654
3329
  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
3330
  var OnboardingStatesResource = /** @class */ (function (_super) {
3672
3331
  __extends(OnboardingStatesResource, _super);
3673
3332
  function OnboardingStatesResource() {
@@ -3898,61 +3557,6 @@ var CountriesResource = /** @class */ (function (_super) {
3898
3557
  return CountriesResource;
3899
3558
  }($Resource));
3900
3559
  export { CountriesResource };
3901
- var OrganizationSessionsResource = /** @class */ (function (_super) {
3902
- __extends(OrganizationSessionsResource, _super);
3903
- function OrganizationSessionsResource() {
3904
- return _super !== null && _super.apply(this, arguments) || this;
3905
- }
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) {
3915
- 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
3560
  var ShopifyOrdersResource = /** @class */ (function (_super) {
3957
3561
  __extends(ShopifyOrdersResource, _super);
3958
3562
  function ShopifyOrdersResource() {
@@ -4279,65 +3883,78 @@ var JeanDemoItemsResource = /** @class */ (function (_super) {
4279
3883
  return JeanDemoItemsResource;
4280
3884
  }($Resource));
4281
3885
  export { JeanDemoItemsResource };
4282
- var KeysResource = /** @class */ (function (_super) {
4283
- __extends(KeysResource, _super);
4284
- function KeysResource() {
3886
+ var JournalsResource = /** @class */ (function (_super) {
3887
+ __extends(JournalsResource, _super);
3888
+ function JournalsResource() {
4285
3889
  return _super !== null && _super.apply(this, arguments) || this;
4286
3890
  }
4287
- KeysResource.prototype.get = function (params) {
3891
+ JournalsResource.prototype.get = function (params) {
4288
3892
  return this.client.request({
4289
- endpoint: "/".concat(encodeURIComponent(params.organization), "/keys"),
3893
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals"),
4290
3894
  headers: params.headers,
4291
3895
  method: 'GET',
4292
3896
  });
4293
3897
  };
4294
- KeysResource.prototype.post = function (params) {
3898
+ /*Delete all failed records (if any)*/
3899
+ JournalsResource.prototype.deleteFailedByJournal = function (params) {
4295
3900
  return this.client.request({
4296
- endpoint: "/".concat(encodeURIComponent(params.organization), "/keys"),
3901
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals/").concat(encodeURIComponent(params.journal), "/failed"),
4297
3902
  headers: params.headers,
4298
- method: 'POST',
3903
+ method: 'DELETE',
4299
3904
  });
4300
3905
  };
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) {
3906
+ JournalsResource.prototype.getFailuresByJournal = function (params) {
4310
3907
  return this.client.request({
4311
- endpoint: "/".concat(encodeURIComponent(params.organization), "/lab/project/settings"),
3908
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals/").concat(encodeURIComponent(params.journal), "/failures"),
4312
3909
  headers: params.headers,
4313
3910
  method: 'GET',
4314
3911
  query: {
4315
- id: params.id,
4316
- key: params.key,
4317
3912
  limit: params.limit,
4318
3913
  offset: params.offset,
4319
- sort: params.sort,
4320
3914
  },
4321
3915
  });
4322
3916
  };
4323
- LabProjectSettingsResource.prototype.getByFlowLabProjectKey = function (params) {
3917
+ /*Delete all queued records (if any)*/
3918
+ JournalsResource.prototype.deleteQueuedByJournal = function (params) {
3919
+ return this.client.request({
3920
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals/").concat(encodeURIComponent(params.journal), "/queued"),
3921
+ headers: params.headers,
3922
+ method: 'DELETE',
3923
+ });
3924
+ };
3925
+ /*Requeue all failures (if any)*/
3926
+ JournalsResource.prototype.postRequeueByJournal = function (params) {
3927
+ return this.client.request({
3928
+ endpoint: "/internal/db/gateway/databases/".concat(encodeURIComponent(params.database), "/journals/").concat(encodeURIComponent(params.journal), "/requeue"),
3929
+ headers: params.headers,
3930
+ method: 'POST',
3931
+ });
3932
+ };
3933
+ return JournalsResource;
3934
+ }($Resource));
3935
+ export { JournalsResource };
3936
+ var KeysResource = /** @class */ (function (_super) {
3937
+ __extends(KeysResource, _super);
3938
+ function KeysResource() {
3939
+ return _super !== null && _super.apply(this, arguments) || this;
3940
+ }
3941
+ KeysResource.prototype.get = function (params) {
4324
3942
  return this.client.request({
4325
- endpoint: "/".concat(encodeURIComponent(params.organization), "/lab/project/settings/").concat(encodeURIComponent(params.flow_lab_project_key)),
3943
+ endpoint: "/".concat(encodeURIComponent(params.organization), "/keys"),
4326
3944
  headers: params.headers,
4327
3945
  method: 'GET',
4328
3946
  });
4329
3947
  };
4330
- LabProjectSettingsResource.prototype.putByFlowLabProjectKey = function (params) {
3948
+ KeysResource.prototype.post = function (params) {
4331
3949
  return this.client.request({
4332
- body: params.body,
4333
- endpoint: "/".concat(encodeURIComponent(params.organization), "/lab/project/settings/").concat(encodeURIComponent(params.flow_lab_project_key)),
3950
+ endpoint: "/".concat(encodeURIComponent(params.organization), "/keys"),
4334
3951
  headers: params.headers,
4335
- method: 'PUT',
3952
+ method: 'POST',
4336
3953
  });
4337
3954
  };
4338
- return LabProjectSettingsResource;
3955
+ return KeysResource;
4339
3956
  }($Resource));
4340
- export { LabProjectSettingsResource };
3957
+ export { KeysResource };
4341
3958
  var LabelCreationJobsResource = /** @class */ (function (_super) {
4342
3959
  __extends(LabelCreationJobsResource, _super);
4343
3960
  function LabelCreationJobsResource() {
@@ -4391,229 +4008,102 @@ var LabelGenerationSettingsResource = /** @class */ (function (_super) {
4391
4008
  LabelGenerationSettingsResource.prototype.delete = function (params) {
4392
4009
  return this.client.request({
4393
4010
  endpoint: "/".concat(encodeURIComponent(params.organization), "/label/generation/settings"),
4394
- headers: params.headers,
4395
- method: 'DELETE',
4396
- });
4397
- };
4398
- return LabelGenerationSettingsResource;
4399
- }($Resource));
4400
- export { LabelGenerationSettingsResource };
4401
- var LabelRequestResultsResource = /** @class */ (function (_super) {
4402
- __extends(LabelRequestResultsResource, _super);
4403
- function LabelRequestResultsResource() {
4404
- return _super !== null && _super.apply(this, arguments) || this;
4405
- }
4406
- LabelRequestResultsResource.prototype.get = function (params) {
4407
- return this.client.request({
4408
- endpoint: '/internal/logistics/label/request/result',
4409
- headers: params.headers,
4410
- method: 'GET',
4411
- query: {
4412
- carrier_id: params.carrier_id,
4413
- created_at_from: params.created_at_from,
4414
- created_at_to: params.created_at_to,
4415
- destination_country: params.destination_country,
4416
- errors_only: params.errors_only,
4417
- id: params.id,
4418
- limit: params.limit,
4419
- offset: params.offset,
4420
- order_number: params.order_number,
4421
- organization_id: params.organization_id,
4422
- organization_type: params.organization_type,
4423
- sort: params.sort,
4424
- },
4425
- });
4426
- };
4427
- return LabelRequestResultsResource;
4428
- }($Resource));
4429
- export { LabelRequestResultsResource };
4430
- var LabelTaxonomyResource = /** @class */ (function (_super) {
4431
- __extends(LabelTaxonomyResource, _super);
4432
- function LabelTaxonomyResource() {
4433
- return _super !== null && _super.apply(this, arguments) || this;
4434
- }
4435
- LabelTaxonomyResource.prototype.get = function (params) {
4436
- if (params === void 0) { params = {}; }
4437
- return this.client.request({
4438
- endpoint: '/label_taxonomy',
4439
- headers: params.headers,
4440
- method: 'GET',
4441
- });
4442
- };
4443
- return LabelTaxonomyResource;
4444
- }($Resource));
4445
- export { LabelTaxonomyResource };
4446
- var LevyRateSummariesResource = /** @class */ (function (_super) {
4447
- __extends(LevyRateSummariesResource, _super);
4448
- function LevyRateSummariesResource() {
4449
- return _super !== null && _super.apply(this, arguments) || this;
4450
- }
4451
- LevyRateSummariesResource.prototype.get = function (params) {
4452
- return this.client.request({
4453
- endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/levy/rate/summary"),
4454
- headers: params.headers,
4455
- method: 'GET',
4456
- });
4457
- };
4458
- return LevyRateSummariesResource;
4459
- }($Resource));
4460
- export { LevyRateSummariesResource };
4461
- var LiabilityRemittancePlansResource = /** @class */ (function (_super) {
4462
- __extends(LiabilityRemittancePlansResource, _super);
4463
- function LiabilityRemittancePlansResource() {
4464
- return _super !== null && _super.apply(this, arguments) || this;
4465
- }
4466
- LiabilityRemittancePlansResource.prototype.get = function (params) {
4467
- return this.client.request({
4468
- endpoint: "/".concat(encodeURIComponent(params.organization), "/liabilities"),
4469
- headers: params.headers,
4470
- method: 'GET',
4471
- query: {
4472
- id: params.id,
4473
- limit: params.limit,
4474
- offset: params.offset,
4475
- order_number: params.order_number,
4476
- sort: params.sort,
4477
- },
4478
- });
4479
- };
4480
- LiabilityRemittancePlansResource.prototype.getByOrderNumber = function (params) {
4481
- return this.client.request({
4482
- endpoint: "/".concat(encodeURIComponent(params.organization), "/liabilities/").concat(encodeURIComponent(params.order_number)),
4483
- headers: params.headers,
4484
- method: 'GET',
4485
- });
4486
- };
4487
- return LiabilityRemittancePlansResource;
4488
- }($Resource));
4489
- 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
- },
4011
+ headers: params.headers,
4012
+ method: 'DELETE',
4519
4013
  });
4520
4014
  };
4521
- return LocalizableContentsResource;
4015
+ return LabelGenerationSettingsResource;
4522
4016
  }($Resource));
4523
- export { LocalizableContentsResource };
4524
- var LocalizationsResource = /** @class */ (function (_super) {
4525
- __extends(LocalizationsResource, _super);
4526
- function LocalizationsResource() {
4017
+ export { LabelGenerationSettingsResource };
4018
+ var LabelRequestResultsResource = /** @class */ (function (_super) {
4019
+ __extends(LabelRequestResultsResource, _super);
4020
+ function LabelRequestResultsResource() {
4527
4021
  return _super !== null && _super.apply(this, arguments) || this;
4528
4022
  }
4529
- LocalizationsResource.prototype.get = function (params) {
4023
+ LabelRequestResultsResource.prototype.get = function (params) {
4530
4024
  return this.client.request({
4531
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents/").concat(encodeURIComponent(params.content_id), "/localizations"),
4025
+ endpoint: '/internal/logistics/label/request/result',
4532
4026
  headers: params.headers,
4533
4027
  method: 'GET',
4534
4028
  query: {
4029
+ carrier_id: params.carrier_id,
4030
+ created_at_from: params.created_at_from,
4031
+ created_at_to: params.created_at_to,
4032
+ destination_country: params.destination_country,
4033
+ errors_only: params.errors_only,
4535
4034
  id: params.id,
4536
4035
  limit: params.limit,
4537
- locale: params.locale,
4538
4036
  offset: params.offset,
4037
+ order_number: params.order_number,
4038
+ organization_id: params.organization_id,
4039
+ organization_type: params.organization_type,
4539
4040
  sort: params.sort,
4540
4041
  },
4541
4042
  });
4542
4043
  };
4543
- LocalizationsResource.prototype.putById = function (params) {
4044
+ return LabelRequestResultsResource;
4045
+ }($Resource));
4046
+ export { LabelRequestResultsResource };
4047
+ var LabelTaxonomyResource = /** @class */ (function (_super) {
4048
+ __extends(LabelTaxonomyResource, _super);
4049
+ function LabelTaxonomyResource() {
4050
+ return _super !== null && _super.apply(this, arguments) || this;
4051
+ }
4052
+ LabelTaxonomyResource.prototype.get = function (params) {
4053
+ if (params === void 0) { params = {}; }
4544
4054
  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)),
4055
+ endpoint: '/label_taxonomy',
4547
4056
  headers: params.headers,
4548
- method: 'PUT',
4057
+ method: 'GET',
4549
4058
  });
4550
4059
  };
4551
- /*Allows for patch updates to the value of a single block of translated content.*/
4552
- LocalizationsResource.prototype.putElementsByIdAndKey = function (params) {
4060
+ return LabelTaxonomyResource;
4061
+ }($Resource));
4062
+ export { LabelTaxonomyResource };
4063
+ var LevyRateSummariesResource = /** @class */ (function (_super) {
4064
+ __extends(LevyRateSummariesResource, _super);
4065
+ function LevyRateSummariesResource() {
4066
+ return _super !== null && _super.apply(this, arguments) || this;
4067
+ }
4068
+ LevyRateSummariesResource.prototype.get = function (params) {
4553
4069
  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)),
4070
+ endpoint: "/".concat(encodeURIComponent(params.organization), "/orders/").concat(encodeURIComponent(params.number), "/levy/rate/summary"),
4556
4071
  headers: params.headers,
4557
- method: 'PUT',
4072
+ method: 'GET',
4558
4073
  });
4559
4074
  };
4560
- return LocalizationsResource;
4075
+ return LevyRateSummariesResource;
4561
4076
  }($Resource));
4562
- export { LocalizationsResource };
4563
- var LocalizedContentsResource = /** @class */ (function (_super) {
4564
- __extends(LocalizedContentsResource, _super);
4565
- function LocalizedContentsResource() {
4077
+ export { LevyRateSummariesResource };
4078
+ var LiabilityRemittancePlansResource = /** @class */ (function (_super) {
4079
+ __extends(LiabilityRemittancePlansResource, _super);
4080
+ function LiabilityRemittancePlansResource() {
4566
4081
  return _super !== null && _super.apply(this, arguments) || this;
4567
4082
  }
4568
- LocalizedContentsResource.prototype.get = function (params) {
4083
+ LiabilityRemittancePlansResource.prototype.get = function (params) {
4569
4084
  return this.client.request({
4570
- endpoint: "/".concat(encodeURIComponent(params.organization), "/contents"),
4085
+ endpoint: "/".concat(encodeURIComponent(params.organization), "/liabilities"),
4571
4086
  headers: params.headers,
4572
4087
  method: 'GET',
4573
4088
  query: {
4574
4089
  id: params.id,
4575
4090
  limit: params.limit,
4576
4091
  offset: params.offset,
4577
- schema_key: params.schema_key,
4092
+ order_number: params.order_number,
4578
4093
  sort: params.sort,
4579
- status: params.status,
4580
4094
  },
4581
4095
  });
4582
4096
  };
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) {
4097
+ LiabilityRemittancePlansResource.prototype.getByOrderNumber = function (params) {
4600
4098
  return this.client.request({
4601
- endpoint: "/".concat(encodeURIComponent(params.organization), "/settings/export/localized_items"),
4099
+ endpoint: "/".concat(encodeURIComponent(params.organization), "/liabilities/").concat(encodeURIComponent(params.order_number)),
4602
4100
  headers: params.headers,
4603
4101
  method: 'GET',
4604
4102
  });
4605
4103
  };
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;
4104
+ return LiabilityRemittancePlansResource;
4615
4105
  }($Resource));
4616
- export { LocalizedItemsExportSettingsResource };
4106
+ export { LiabilityRemittancePlansResource };
4617
4107
  var LogisticsCapabilitiesResource = /** @class */ (function (_super) {
4618
4108
  __extends(LogisticsCapabilitiesResource, _super);
4619
4109
  function LogisticsCapabilitiesResource() {
@@ -5159,162 +4649,6 @@ var OnboardingOrganizationsResource = /** @class */ (function (_super) {
5159
4649
  return OnboardingOrganizationsResource;
5160
4650
  }($Resource));
5161
4651
  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
4652
  var OrderAddressValidationsResource = /** @class */ (function (_super) {
5319
4653
  __extends(OrderAddressValidationsResource, _super);
5320
4654
  function OrderAddressValidationsResource() {
@@ -6952,36 +6286,6 @@ var RatesNamesSummariesResource = /** @class */ (function (_super) {
6952
6286
  return RatesNamesSummariesResource;
6953
6287
  }($Resource));
6954
6288
  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
6289
  var ReportsResource = /** @class */ (function (_super) {
6986
6290
  __extends(ReportsResource, _super);
6987
6291
  function ReportsResource() {
@@ -7101,6 +6405,7 @@ var RestrictionItemsResource = /** @class */ (function (_super) {
7101
6405
  method: 'GET',
7102
6406
  query: {
7103
6407
  category: params.category,
6408
+ exclude_items_with_pc: params.exclude_items_with_pc,
7104
6409
  hs6: params.hs6,
7105
6410
  limit: params.limit,
7106
6411
  negative_keywords: params.negative_keywords,
@@ -7208,7 +6513,6 @@ var RestrictionOrganizationDecisionSummariesResource = /** @class */ (function (
7208
6513
  earliest_pending_date_before: params.earliest_pending_date_before,
7209
6514
  environment: params.environment,
7210
6515
  filter_orgs_with_pending: params.filter_orgs_with_pending,
7211
- filter_orgs_with_pending_verifications: params.filter_orgs_with_pending_verifications,
7212
6516
  limit: params.limit,
7213
6517
  offset: params.offset,
7214
6518
  organization_id: params.organization_id,
@@ -7521,45 +6825,61 @@ var SandboxSetupsResource = /** @class */ (function (_super) {
7521
6825
  return SandboxSetupsResource;
7522
6826
  }($Resource));
7523
6827
  export { SandboxSetupsResource };
7524
- var ScreensResource = /** @class */ (function (_super) {
7525
- __extends(ScreensResource, _super);
7526
- function ScreensResource() {
6828
+ var SarveshItemsResource = /** @class */ (function (_super) {
6829
+ __extends(SarveshItemsResource, _super);
6830
+ function SarveshItemsResource() {
7527
6831
  return _super !== null && _super.apply(this, arguments) || this;
7528
6832
  }
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) {
6833
+ SarveshItemsResource.prototype.post = function (params) {
7531
6834
  return this.client.request({
7532
6835
  body: params.body,
7533
- endpoint: "/screens/".concat(encodeURIComponent(params.key)),
6836
+ endpoint: '/sarvesh/items',
6837
+ headers: params.headers,
6838
+ method: 'POST',
6839
+ });
6840
+ };
6841
+ SarveshItemsResource.prototype.getById = function (params) {
6842
+ return this.client.request({
6843
+ endpoint: "/sarvesh/items/".concat(encodeURIComponent(params.id)),
6844
+ headers: params.headers,
6845
+ method: 'GET',
6846
+ });
6847
+ };
6848
+ SarveshItemsResource.prototype.putById = function (params) {
6849
+ return this.client.request({
6850
+ body: params.body,
6851
+ endpoint: "/sarvesh/items/".concat(encodeURIComponent(params.id)),
7534
6852
  headers: params.headers,
7535
6853
  method: 'PUT',
7536
6854
  });
7537
6855
  };
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) {
6856
+ SarveshItemsResource.prototype.deleteById = function (params) {
7547
6857
  return this.client.request({
7548
- endpoint: "/".concat(encodeURIComponent(params.organization), "/search_provider_export"),
6858
+ endpoint: "/sarvesh/items/".concat(encodeURIComponent(params.id)),
7549
6859
  headers: params.headers,
7550
- method: 'POST',
6860
+ method: 'DELETE',
7551
6861
  });
7552
6862
  };
7553
- SearchProviderExportsResource.prototype.postExperienceByExperienceKey = function (params) {
6863
+ return SarveshItemsResource;
6864
+ }($Resource));
6865
+ export { SarveshItemsResource };
6866
+ var ScreensResource = /** @class */ (function (_super) {
6867
+ __extends(ScreensResource, _super);
6868
+ function ScreensResource() {
6869
+ return _super !== null && _super.apply(this, arguments) || this;
6870
+ }
6871
+ /*Provides a list of screens given a query 'q' and optional countries parameter to search on a specified list of countries.*/
6872
+ ScreensResource.prototype.putByKey = function (params) {
7554
6873
  return this.client.request({
7555
- endpoint: "/".concat(encodeURIComponent(params.organization), "/search_provider_export/experience/").concat(encodeURIComponent(params.experience_key)),
6874
+ body: params.body,
6875
+ endpoint: "/screens/".concat(encodeURIComponent(params.key)),
7556
6876
  headers: params.headers,
7557
- method: 'POST',
6877
+ method: 'PUT',
7558
6878
  });
7559
6879
  };
7560
- return SearchProviderExportsResource;
6880
+ return ScreensResource;
7561
6881
  }($Resource));
7562
- export { SearchProviderExportsResource };
6882
+ export { ScreensResource };
7563
6883
  var SessionOrderDataResource = /** @class */ (function (_super) {
7564
6884
  __extends(SessionOrderDataResource, _super);
7565
6885
  function SessionOrderDataResource() {
@@ -7962,44 +7282,6 @@ var SpotRatesResource = /** @class */ (function (_super) {
7962
7282
  return SpotRatesResource;
7963
7283
  }($Resource));
7964
7284
  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
7285
  var TariffEligibilitiesResource = /** @class */ (function (_super) {
8004
7286
  __extends(TariffEligibilitiesResource, _super);
8005
7287
  function TariffEligibilitiesResource() {
@@ -8492,15 +7774,12 @@ export { WebhooksResource };
8492
7774
  export function createClient(options) {
8493
7775
  return {
8494
7776
  accountPaymentHolds: new AccountPaymentHoldsResource(options),
8495
- addressConfigurationSettings: new AddressConfigurationSettingsResource(options),
8496
7777
  aftershipWebhooks: new AftershipWebhooksResource(options),
8497
7778
  aldoItems: new AldoItemsResource(options),
8498
- alertFailureSummaries: new AlertFailureSummariesResource(options),
8499
- alertRequeueSummaries: new AlertRequeueSummariesResource(options),
8500
7779
  allOrganizationsMemberships: new AllOrganizationsMembershipsResource(options),
8501
7780
  anshItems: new AnshItemsResource(options),
8502
- authorizedChargeStatuses: new AuthorizedChargeStatusesResource(options),
8503
7781
  bankPayments: new BankPaymentsResource(options),
7782
+ bankPaymentDetails: new BankPaymentDetailsResource(options),
8504
7783
  bankPaymentOrders: new BankPaymentOrdersResource(options),
8505
7784
  bankPaymentStatusImports: new BankPaymentStatusImportsResource(options),
8506
7785
  billingOrganizationProcessingRates: new BillingOrganizationProcessingRatesResource(options),
@@ -8526,8 +7805,6 @@ export function createClient(options) {
8526
7805
  channelOrderAcceptanceDetails: new ChannelOrderAcceptanceDetailsResource(options),
8527
7806
  channelOrganizationShopify: new ChannelOrganizationShopifyResource(options),
8528
7807
  chargebacks: new ChargebacksResource(options),
8529
- checkoutConfigurations: new CheckoutConfigurationsResource(options),
8530
- checkoutContentSummaries: new CheckoutContentSummariesResource(options),
8531
7808
  ciphers: new CiphersResource(options),
8532
7809
  classifications: new ClassificationsResource(options),
8533
7810
  classificationActions: new ClassificationActionsResource(options),
@@ -8540,10 +7817,9 @@ export function createClient(options) {
8540
7817
  commercialInvoiceComparisons: new CommercialInvoiceComparisonsResource(options),
8541
7818
  commercialInvoiceSummaries: new CommercialInvoiceSummariesResource(options),
8542
7819
  compliances: new CompliancesResource(options),
8543
- consumerOptinActivities: new ConsumerOptinActivitiesResource(options),
8544
- contentSchemas: new ContentSchemasResource(options),
8545
7820
  courthouseProductSummaries: new CourthouseProductSummariesResource(options),
8546
7821
  customsDetails: new CustomsDetailsResource(options),
7822
+ databases: new DatabasesResource(options),
8547
7823
  debugOrders: new DebugOrdersResource(options),
8548
7824
  debugOrderTransactions: new DebugOrderTransactionsResource(options),
8549
7825
  deliveredDutyOptions: new DeliveredDutyOptionsResource(options),
@@ -8563,23 +7839,19 @@ export function createClient(options) {
8563
7839
  financeBankAccounts: new FinanceBankAccountsResource(options),
8564
7840
  financeBankPayments: new FinanceBankPaymentsResource(options),
8565
7841
  financialMerchantCategories: new FinancialMerchantCategoriesResource(options),
8566
- financialReportingStatements: new FinancialReportingStatementsResource(options),
8567
7842
  flexeWebhooks: new FlexeWebhooksResource(options),
8568
7843
  flowAccounts: new FlowAccountsResource(options),
8569
7844
  flowBillingStatements: new FlowBillingStatementsResource(options),
8570
7845
  flowChannelOrganizations: new FlowChannelOrganizationsResource(options),
8571
- flowLabProjects: new FlowLabProjectsResource(options),
8572
7846
  flowLabelSettings: new FlowLabelSettingsResource(options),
8573
7847
  fraudPendingReviews: new FraudPendingReviewsResource(options),
8574
7848
  fraudPendingReviewDetails: new FraudPendingReviewDetailsResource(options),
8575
7849
  fraudProviderConfigurations: new FraudProviderConfigurationsResource(options),
8576
7850
  fraudReviews: new FraudReviewsResource(options),
8577
7851
  fraudReviewDecisions: new FraudReviewDecisionsResource(options),
8578
- ftpSettings: new FtpSettingsResource(options),
8579
7852
  generateLoads: new GenerateLoadsResource(options),
8580
7853
  giftCardPrograms: new GiftCardProgramsResource(options),
8581
7854
  globalSearchResults: new GlobalSearchResultsResource(options),
8582
- googleShoppingSettings: new GoogleShoppingSettingsResource(options),
8583
7855
  harmonizationItemClassifications: new HarmonizationItemClassificationsResource(options),
8584
7856
  harmonizationThresholds: new HarmonizationThresholdsResource(options),
8585
7857
  harmonizationUnclassifiedStatistics: new HarmonizationUnclassifiedStatisticsResource(options),
@@ -8603,7 +7875,6 @@ export function createClient(options) {
8603
7875
  paypalDisputeEvents: new PaypalDisputeEventsResource(options),
8604
7876
  webhookEvents: new WebhookEventsResource(options),
8605
7877
  ultimateBeneficiaryOwners: new UltimateBeneficiaryOwnersResource(options),
8606
- orderManagementEvents: new OrderManagementEventsResource(options),
8607
7878
  onboardingStates: new OnboardingStatesResource(options),
8608
7879
  memberships: new MembershipsResource(options),
8609
7880
  authorizations: new AuthorizationsResource(options),
@@ -8613,7 +7884,6 @@ export function createClient(options) {
8613
7884
  ratecards: new RatecardsResource(options),
8614
7885
  serviceFees: new ServiceFeesResource(options),
8615
7886
  countries: new CountriesResource(options),
8616
- organizationSessions: new OrganizationSessionsResource(options),
8617
7887
  shopifyOrders: new ShopifyOrdersResource(options),
8618
7888
  knowYourBusinesses: new KnowYourBusinessesResource(options),
8619
7889
  shopifyPaymentStripeEvents: new ShopifyPaymentStripeEventsResource(options),
@@ -8626,18 +7896,14 @@ export function createClient(options) {
8626
7896
  itemRestrictions: new ItemRestrictionsResource(options),
8627
7897
  itemSalesMargins: new ItemSalesMarginsResource(options),
8628
7898
  jeanDemoItems: new JeanDemoItemsResource(options),
7899
+ journals: new JournalsResource(options),
8629
7900
  keys: new KeysResource(options),
8630
- labProjectSettings: new LabProjectSettingsResource(options),
8631
7901
  labelCreationJobs: new LabelCreationJobsResource(options),
8632
7902
  labelGenerationSettings: new LabelGenerationSettingsResource(options),
8633
7903
  labelRequestResults: new LabelRequestResultsResource(options),
8634
7904
  labelTaxonomy: new LabelTaxonomyResource(options),
8635
7905
  levyRateSummaries: new LevyRateSummariesResource(options),
8636
7906
  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
7907
  logisticsCapabilities: new LogisticsCapabilitiesResource(options),
8642
7908
  logisticsPayoutRequests: new LogisticsPayoutRequestsResource(options),
8643
7909
  lostChargebacks: new LostChargebacksResource(options),
@@ -8654,10 +7920,6 @@ export function createClient(options) {
8654
7920
  onboardingAuditReports: new OnboardingAuditReportsResource(options),
8655
7921
  onboardingAuditSnapshots: new OnboardingAuditSnapshotsResource(options),
8656
7922
  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
7923
  orderAddressValidations: new OrderAddressValidationsResource(options),
8662
7924
  orderCancellations: new OrderCancellationsResource(options),
8663
7925
  orderCombinedShipments: new OrderCombinedShipmentsResource(options),
@@ -8703,7 +7965,6 @@ export function createClient(options) {
8703
7965
  ratecardServiceFeesOverrides: new RatecardServiceFeesOverridesResource(options),
8704
7966
  ratecardStandardConfigurations: new RatecardStandardConfigurationsResource(options),
8705
7967
  ratesNamesSummaries: new RatesNamesSummariesResource(options),
8706
- reboundConfigurations: new ReboundConfigurationsResource(options),
8707
7968
  reports: new ReportsResource(options),
8708
7969
  reportSummary: new ReportSummaryResource(options),
8709
7970
  rescreenRestrictionsProducts: new RescreenRestrictionsProductsResource(options),
@@ -8719,8 +7980,8 @@ export function createClient(options) {
8719
7980
  rohanItems: new RohanItemsResource(options),
8720
7981
  routingEntities: new RoutingEntitiesResource(options),
8721
7982
  sandboxSetups: new SandboxSetupsResource(options),
7983
+ sarveshItems: new SarveshItemsResource(options),
8722
7984
  screens: new ScreensResource(options),
8723
- searchProviderExports: new SearchProviderExportsResource(options),
8724
7985
  sessionOrderData: new SessionOrderDataResource(options),
8725
7986
  shippingLanes: new ShippingLanesResource(options),
8726
7987
  shopifyMarketsOrderVersionWithShopIds: new ShopifyMarketsOrderVersionWithShopIdsResource(options),
@@ -8738,7 +7999,6 @@ export function createClient(options) {
8738
7999
  smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
8739
8000
  snoozes: new SnoozesResource(options),
8740
8001
  spotRates: new SpotRatesResource(options),
8741
- storeConnections: new StoreConnectionsResource(options),
8742
8002
  tariffEligibilities: new TariffEligibilitiesResource(options),
8743
8003
  tasks: new TasksResource(options),
8744
8004
  taxCalculationForms: new TaxCalculationFormsResource(options),