@commercelayer/sdk 2.1.0 → 2.2.0
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.
- package/lib/api.d.ts +6 -3
- package/lib/commercelayer.d.ts +3 -0
- package/lib/index.d.ts +1 -1
- package/lib/interceptor.d.ts +2 -1
- package/lib/model.d.ts +4 -1
- package/lib/resources/addresses.d.ts +2 -1
- package/lib/resources/adjustments.d.ts +2 -1
- package/lib/resources/adyen_gateways.d.ts +2 -1
- package/lib/resources/adyen_payments.d.ts +2 -1
- package/lib/resources/application.d.ts +2 -1
- package/lib/resources/attachments.d.ts +2 -1
- package/lib/resources/authorizations.d.ts +2 -1
- package/lib/resources/avalara_accounts.d.ts +2 -1
- package/lib/resources/billing_info_validation_rules.d.ts +2 -1
- package/lib/resources/bing_geocoders.d.ts +2 -1
- package/lib/resources/braintree_gateways.d.ts +2 -1
- package/lib/resources/braintree_payments.d.ts +2 -1
- package/lib/resources/bundles.d.ts +2 -1
- package/lib/resources/captures.d.ts +2 -1
- package/lib/resources/carrier_accounts.d.ts +2 -1
- package/lib/resources/checkout_com_gateways.d.ts +2 -1
- package/lib/resources/checkout_com_payments.d.ts +2 -1
- package/lib/resources/coupon_codes_promotion_rules.d.ts +13 -4
- package/lib/resources/coupon_recipients.d.ts +46 -0
- package/lib/resources/coupons.d.ts +5 -1
- package/lib/resources/customer_addresses.d.ts +2 -1
- package/lib/resources/customer_groups.d.ts +2 -1
- package/lib/resources/customer_password_resets.d.ts +2 -1
- package/lib/resources/customer_payment_sources.d.ts +2 -1
- package/lib/resources/customer_subscriptions.d.ts +2 -1
- package/lib/resources/customers.d.ts +2 -1
- package/lib/resources/delivery_lead_times.d.ts +2 -1
- package/lib/resources/event_callbacks.d.ts +4 -2
- package/lib/resources/external_gateways.d.ts +2 -1
- package/lib/resources/external_payments.d.ts +2 -1
- package/lib/resources/external_promotions.d.ts +2 -1
- package/lib/resources/external_tax_calculators.d.ts +2 -1
- package/lib/resources/fixed_amount_promotions.d.ts +2 -1
- package/lib/resources/fixed_price_promotions.d.ts +93 -0
- package/lib/resources/free_gift_promotions.d.ts +91 -0
- package/lib/resources/free_shipping_promotions.d.ts +2 -1
- package/lib/resources/geocoders.d.ts +2 -1
- package/lib/resources/gift_card_recipients.d.ts +2 -1
- package/lib/resources/gift_cards.d.ts +2 -1
- package/lib/resources/google_geocoders.d.ts +2 -1
- package/lib/resources/imports.d.ts +2 -1
- package/lib/resources/in_stock_subscriptions.d.ts +2 -1
- package/lib/resources/inventory_models.d.ts +2 -1
- package/lib/resources/inventory_return_locations.d.ts +2 -1
- package/lib/resources/inventory_stock_locations.d.ts +2 -1
- package/lib/resources/line_item_options.d.ts +2 -1
- package/lib/resources/line_items.d.ts +2 -1
- package/lib/resources/manual_gateways.d.ts +2 -1
- package/lib/resources/manual_tax_calculators.d.ts +2 -1
- package/lib/resources/markets.d.ts +2 -1
- package/lib/resources/merchants.d.ts +2 -1
- package/lib/resources/order_amount_promotion_rules.d.ts +13 -4
- package/lib/resources/order_copies.d.ts +2 -1
- package/lib/resources/order_subscriptions.d.ts +2 -1
- package/lib/resources/order_validation_rules.d.ts +2 -1
- package/lib/resources/orders.d.ts +2 -1
- package/lib/resources/organization.d.ts +2 -1
- package/lib/resources/packages.d.ts +2 -1
- package/lib/resources/parcel_line_items.d.ts +2 -1
- package/lib/resources/parcels.d.ts +2 -1
- package/lib/resources/payment_gateways.d.ts +2 -1
- package/lib/resources/payment_methods.d.ts +2 -1
- package/lib/resources/paypal_gateways.d.ts +2 -1
- package/lib/resources/paypal_payments.d.ts +2 -1
- package/lib/resources/percentage_discount_promotions.d.ts +2 -1
- package/lib/resources/price_lists.d.ts +2 -1
- package/lib/resources/prices.d.ts +2 -1
- package/lib/resources/promotion_rules.d.ts +5 -2
- package/lib/resources/promotions.d.ts +2 -1
- package/lib/resources/refunds.d.ts +2 -1
- package/lib/resources/return_line_items.d.ts +2 -1
- package/lib/resources/returns.d.ts +2 -1
- package/lib/resources/shipments.d.ts +2 -1
- package/lib/resources/shipping_categories.d.ts +2 -1
- package/lib/resources/shipping_methods.d.ts +2 -1
- package/lib/resources/shipping_zones.d.ts +2 -1
- package/lib/resources/sku_list_items.d.ts +2 -1
- package/lib/resources/sku_list_promotion_rules.d.ts +16 -4
- package/lib/resources/sku_lists.d.ts +2 -1
- package/lib/resources/sku_options.d.ts +2 -1
- package/lib/resources/skus.d.ts +2 -1
- package/lib/resources/stock_items.d.ts +2 -1
- package/lib/resources/stock_line_items.d.ts +2 -1
- package/lib/resources/stock_locations.d.ts +2 -1
- package/lib/resources/stock_transfers.d.ts +2 -1
- package/lib/resources/stripe_gateways.d.ts +2 -1
- package/lib/resources/stripe_payments.d.ts +2 -1
- package/lib/resources/tax_calculators.d.ts +2 -1
- package/lib/resources/tax_categories.d.ts +2 -1
- package/lib/resources/tax_rules.d.ts +2 -1
- package/lib/resources/taxjar_accounts.d.ts +2 -1
- package/lib/resources/transactions.d.ts +2 -1
- package/lib/resources/voids.d.ts +2 -1
- package/lib/resources/webhooks.d.ts +3 -2
- package/lib/resources/wire_transfers.d.ts +2 -1
- package/lib/sdk.cjs.development.js +1007 -82
- package/lib/sdk.cjs.development.js.map +1 -1
- package/lib/sdk.cjs.production.min.js +1 -1
- package/lib/sdk.cjs.production.min.js.map +1 -1
- package/lib/sdk.esm.js +1007 -82
- package/lib/sdk.esm.js.map +1 -1
- package/package.json +3 -2
@@ -1671,6 +1671,10 @@ var Addresses = /*#__PURE__*/function (_ApiResource) {
|
|
1671
1671
|
};
|
1672
1672
|
};
|
1673
1673
|
|
1674
|
+
_proto.type = function type() {
|
1675
|
+
return Addresses.TYPE;
|
1676
|
+
};
|
1677
|
+
|
1674
1678
|
return Addresses;
|
1675
1679
|
}(ApiResource);
|
1676
1680
|
|
@@ -1843,6 +1847,10 @@ var Adjustments = /*#__PURE__*/function (_ApiResource) {
|
|
1843
1847
|
};
|
1844
1848
|
};
|
1845
1849
|
|
1850
|
+
_proto.type = function type() {
|
1851
|
+
return Adjustments.TYPE;
|
1852
|
+
};
|
1853
|
+
|
1846
1854
|
return Adjustments;
|
1847
1855
|
}(ApiResource);
|
1848
1856
|
|
@@ -2015,6 +2023,10 @@ var AdyenGateways = /*#__PURE__*/function (_ApiResource) {
|
|
2015
2023
|
};
|
2016
2024
|
};
|
2017
2025
|
|
2026
|
+
_proto.type = function type() {
|
2027
|
+
return AdyenGateways.TYPE;
|
2028
|
+
};
|
2029
|
+
|
2018
2030
|
return AdyenGateways;
|
2019
2031
|
}(ApiResource);
|
2020
2032
|
|
@@ -2187,6 +2199,10 @@ var AdyenPayments = /*#__PURE__*/function (_ApiResource) {
|
|
2187
2199
|
};
|
2188
2200
|
};
|
2189
2201
|
|
2202
|
+
_proto.type = function type() {
|
2203
|
+
return AdyenPayments.TYPE;
|
2204
|
+
};
|
2205
|
+
|
2190
2206
|
return AdyenPayments;
|
2191
2207
|
}(ApiResource);
|
2192
2208
|
|
@@ -2256,6 +2272,10 @@ var Applications = /*#__PURE__*/function (_ApiResource) {
|
|
2256
2272
|
};
|
2257
2273
|
};
|
2258
2274
|
|
2275
|
+
_proto.type = function type() {
|
2276
|
+
return Applications.TYPE;
|
2277
|
+
};
|
2278
|
+
|
2259
2279
|
return Applications;
|
2260
2280
|
}(ApiResource);
|
2261
2281
|
|
@@ -2428,6 +2448,10 @@ var Attachments = /*#__PURE__*/function (_ApiResource) {
|
|
2428
2448
|
};
|
2429
2449
|
};
|
2430
2450
|
|
2451
|
+
_proto.type = function type() {
|
2452
|
+
return Attachments.TYPE;
|
2453
|
+
};
|
2454
|
+
|
2431
2455
|
return Attachments;
|
2432
2456
|
}(ApiResource);
|
2433
2457
|
|
@@ -2548,6 +2572,10 @@ var Authorizations = /*#__PURE__*/function (_ApiResource) {
|
|
2548
2572
|
};
|
2549
2573
|
};
|
2550
2574
|
|
2575
|
+
_proto.type = function type() {
|
2576
|
+
return Authorizations.TYPE;
|
2577
|
+
};
|
2578
|
+
|
2551
2579
|
return Authorizations;
|
2552
2580
|
}(ApiResource);
|
2553
2581
|
|
@@ -2720,6 +2748,10 @@ var AvalaraAccounts = /*#__PURE__*/function (_ApiResource) {
|
|
2720
2748
|
};
|
2721
2749
|
};
|
2722
2750
|
|
2751
|
+
_proto.type = function type() {
|
2752
|
+
return AvalaraAccounts.TYPE;
|
2753
|
+
};
|
2754
|
+
|
2723
2755
|
return AvalaraAccounts;
|
2724
2756
|
}(ApiResource);
|
2725
2757
|
|
@@ -2892,6 +2924,10 @@ var BillingInfoValidationRules = /*#__PURE__*/function (_ApiResource) {
|
|
2892
2924
|
};
|
2893
2925
|
};
|
2894
2926
|
|
2927
|
+
_proto.type = function type() {
|
2928
|
+
return BillingInfoValidationRules.TYPE;
|
2929
|
+
};
|
2930
|
+
|
2895
2931
|
return BillingInfoValidationRules;
|
2896
2932
|
}(ApiResource);
|
2897
2933
|
|
@@ -3064,6 +3100,10 @@ var BingGeocoders = /*#__PURE__*/function (_ApiResource) {
|
|
3064
3100
|
};
|
3065
3101
|
};
|
3066
3102
|
|
3103
|
+
_proto.type = function type() {
|
3104
|
+
return BingGeocoders.TYPE;
|
3105
|
+
};
|
3106
|
+
|
3067
3107
|
return BingGeocoders;
|
3068
3108
|
}(ApiResource);
|
3069
3109
|
|
@@ -3236,6 +3276,10 @@ var BraintreeGateways = /*#__PURE__*/function (_ApiResource) {
|
|
3236
3276
|
};
|
3237
3277
|
};
|
3238
3278
|
|
3279
|
+
_proto.type = function type() {
|
3280
|
+
return BraintreeGateways.TYPE;
|
3281
|
+
};
|
3282
|
+
|
3239
3283
|
return BraintreeGateways;
|
3240
3284
|
}(ApiResource);
|
3241
3285
|
|
@@ -3408,6 +3452,10 @@ var BraintreePayments = /*#__PURE__*/function (_ApiResource) {
|
|
3408
3452
|
};
|
3409
3453
|
};
|
3410
3454
|
|
3455
|
+
_proto.type = function type() {
|
3456
|
+
return BraintreePayments.TYPE;
|
3457
|
+
};
|
3458
|
+
|
3411
3459
|
return BraintreePayments;
|
3412
3460
|
}(ApiResource);
|
3413
3461
|
|
@@ -3580,6 +3628,10 @@ var Bundles = /*#__PURE__*/function (_ApiResource) {
|
|
3580
3628
|
};
|
3581
3629
|
};
|
3582
3630
|
|
3631
|
+
_proto.type = function type() {
|
3632
|
+
return Bundles.TYPE;
|
3633
|
+
};
|
3634
|
+
|
3583
3635
|
return Bundles;
|
3584
3636
|
}(ApiResource);
|
3585
3637
|
|
@@ -3700,6 +3752,10 @@ var Captures = /*#__PURE__*/function (_ApiResource) {
|
|
3700
3752
|
};
|
3701
3753
|
};
|
3702
3754
|
|
3755
|
+
_proto.type = function type() {
|
3756
|
+
return Captures.TYPE;
|
3757
|
+
};
|
3758
|
+
|
3703
3759
|
return Captures;
|
3704
3760
|
}(ApiResource);
|
3705
3761
|
|
@@ -3795,6 +3851,10 @@ var CarrierAccounts = /*#__PURE__*/function (_ApiResource) {
|
|
3795
3851
|
};
|
3796
3852
|
};
|
3797
3853
|
|
3854
|
+
_proto.type = function type() {
|
3855
|
+
return CarrierAccounts.TYPE;
|
3856
|
+
};
|
3857
|
+
|
3798
3858
|
return CarrierAccounts;
|
3799
3859
|
}(ApiResource);
|
3800
3860
|
|
@@ -3967,6 +4027,10 @@ var CheckoutComGateways = /*#__PURE__*/function (_ApiResource) {
|
|
3967
4027
|
};
|
3968
4028
|
};
|
3969
4029
|
|
4030
|
+
_proto.type = function type() {
|
4031
|
+
return CheckoutComGateways.TYPE;
|
4032
|
+
};
|
4033
|
+
|
3970
4034
|
return CheckoutComGateways;
|
3971
4035
|
}(ApiResource);
|
3972
4036
|
|
@@ -4139,6 +4203,10 @@ var CheckoutComPayments = /*#__PURE__*/function (_ApiResource) {
|
|
4139
4203
|
};
|
4140
4204
|
};
|
4141
4205
|
|
4206
|
+
_proto.type = function type() {
|
4207
|
+
return CheckoutComPayments.TYPE;
|
4208
|
+
};
|
4209
|
+
|
4142
4210
|
return CheckoutComPayments;
|
4143
4211
|
}(ApiResource);
|
4144
4212
|
|
@@ -4311,11 +4379,191 @@ var CouponCodesPromotionRules = /*#__PURE__*/function (_ApiResource) {
|
|
4311
4379
|
};
|
4312
4380
|
};
|
4313
4381
|
|
4382
|
+
_proto.type = function type() {
|
4383
|
+
return CouponCodesPromotionRules.TYPE;
|
4384
|
+
};
|
4385
|
+
|
4314
4386
|
return CouponCodesPromotionRules;
|
4315
4387
|
}(ApiResource);
|
4316
4388
|
|
4317
4389
|
CouponCodesPromotionRules.TYPE = 'coupon_codes_promotion_rules';
|
4318
4390
|
|
4391
|
+
var CouponRecipients = /*#__PURE__*/function (_ApiResource) {
|
4392
|
+
_inheritsLoose(CouponRecipients, _ApiResource);
|
4393
|
+
|
4394
|
+
function CouponRecipients() {
|
4395
|
+
return _ApiResource.apply(this, arguments) || this;
|
4396
|
+
}
|
4397
|
+
|
4398
|
+
var _proto = CouponRecipients.prototype;
|
4399
|
+
|
4400
|
+
// static readonly PATH = 'coupon_recipients'
|
4401
|
+
_proto.list =
|
4402
|
+
/*#__PURE__*/
|
4403
|
+
function () {
|
4404
|
+
var _list = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee(params, options) {
|
4405
|
+
return runtime_1.wrap(function _callee$(_context) {
|
4406
|
+
while (1) {
|
4407
|
+
switch (_context.prev = _context.next) {
|
4408
|
+
case 0:
|
4409
|
+
return _context.abrupt("return", this.resources.list({
|
4410
|
+
type: CouponRecipients.TYPE
|
4411
|
+
}, params, options));
|
4412
|
+
|
4413
|
+
case 1:
|
4414
|
+
case "end":
|
4415
|
+
return _context.stop();
|
4416
|
+
}
|
4417
|
+
}
|
4418
|
+
}, _callee, this);
|
4419
|
+
}));
|
4420
|
+
|
4421
|
+
function list(_x, _x2) {
|
4422
|
+
return _list.apply(this, arguments);
|
4423
|
+
}
|
4424
|
+
|
4425
|
+
return list;
|
4426
|
+
}();
|
4427
|
+
|
4428
|
+
_proto.create = /*#__PURE__*/function () {
|
4429
|
+
var _create = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee2(resource, options) {
|
4430
|
+
return runtime_1.wrap(function _callee2$(_context2) {
|
4431
|
+
while (1) {
|
4432
|
+
switch (_context2.prev = _context2.next) {
|
4433
|
+
case 0:
|
4434
|
+
return _context2.abrupt("return", this.resources.create(_extends({}, resource, {
|
4435
|
+
type: CouponRecipients.TYPE
|
4436
|
+
}), options));
|
4437
|
+
|
4438
|
+
case 1:
|
4439
|
+
case "end":
|
4440
|
+
return _context2.stop();
|
4441
|
+
}
|
4442
|
+
}
|
4443
|
+
}, _callee2, this);
|
4444
|
+
}));
|
4445
|
+
|
4446
|
+
function create(_x3, _x4) {
|
4447
|
+
return _create.apply(this, arguments);
|
4448
|
+
}
|
4449
|
+
|
4450
|
+
return create;
|
4451
|
+
}();
|
4452
|
+
|
4453
|
+
_proto.retrieve = /*#__PURE__*/function () {
|
4454
|
+
var _retrieve = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee3(id, params, options) {
|
4455
|
+
return runtime_1.wrap(function _callee3$(_context3) {
|
4456
|
+
while (1) {
|
4457
|
+
switch (_context3.prev = _context3.next) {
|
4458
|
+
case 0:
|
4459
|
+
return _context3.abrupt("return", this.resources.retrieve({
|
4460
|
+
type: CouponRecipients.TYPE,
|
4461
|
+
id: id
|
4462
|
+
}, params, options));
|
4463
|
+
|
4464
|
+
case 1:
|
4465
|
+
case "end":
|
4466
|
+
return _context3.stop();
|
4467
|
+
}
|
4468
|
+
}
|
4469
|
+
}, _callee3, this);
|
4470
|
+
}));
|
4471
|
+
|
4472
|
+
function retrieve(_x5, _x6, _x7) {
|
4473
|
+
return _retrieve.apply(this, arguments);
|
4474
|
+
}
|
4475
|
+
|
4476
|
+
return retrieve;
|
4477
|
+
}();
|
4478
|
+
|
4479
|
+
_proto.update = /*#__PURE__*/function () {
|
4480
|
+
var _update = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(resource, options) {
|
4481
|
+
return runtime_1.wrap(function _callee4$(_context4) {
|
4482
|
+
while (1) {
|
4483
|
+
switch (_context4.prev = _context4.next) {
|
4484
|
+
case 0:
|
4485
|
+
return _context4.abrupt("return", this.resources.update(_extends({}, resource, {
|
4486
|
+
type: CouponRecipients.TYPE
|
4487
|
+
}), options));
|
4488
|
+
|
4489
|
+
case 1:
|
4490
|
+
case "end":
|
4491
|
+
return _context4.stop();
|
4492
|
+
}
|
4493
|
+
}
|
4494
|
+
}, _callee4, this);
|
4495
|
+
}));
|
4496
|
+
|
4497
|
+
function update(_x8, _x9) {
|
4498
|
+
return _update.apply(this, arguments);
|
4499
|
+
}
|
4500
|
+
|
4501
|
+
return update;
|
4502
|
+
}();
|
4503
|
+
|
4504
|
+
_proto["delete"] = /*#__PURE__*/function () {
|
4505
|
+
var _delete2 = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee5(id, options) {
|
4506
|
+
return runtime_1.wrap(function _callee5$(_context5) {
|
4507
|
+
while (1) {
|
4508
|
+
switch (_context5.prev = _context5.next) {
|
4509
|
+
case 0:
|
4510
|
+
_context5.next = 2;
|
4511
|
+
return this.resources["delete"]({
|
4512
|
+
type: CouponRecipients.TYPE,
|
4513
|
+
id: id
|
4514
|
+
}, options);
|
4515
|
+
|
4516
|
+
case 2:
|
4517
|
+
case "end":
|
4518
|
+
return _context5.stop();
|
4519
|
+
}
|
4520
|
+
}
|
4521
|
+
}, _callee5, this);
|
4522
|
+
}));
|
4523
|
+
|
4524
|
+
function _delete(_x10, _x11) {
|
4525
|
+
return _delete2.apply(this, arguments);
|
4526
|
+
}
|
4527
|
+
|
4528
|
+
return _delete;
|
4529
|
+
}() // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
4530
|
+
;
|
4531
|
+
|
4532
|
+
_proto.isCouponRecipient = function isCouponRecipient(resource) {
|
4533
|
+
return resource.type && resource.type === CouponRecipients.TYPE;
|
4534
|
+
}
|
4535
|
+
/*
|
4536
|
+
filter(): QueryBuilderRetrieve {
|
4537
|
+
return new QueryBuilderRetrieve(CouponRecipients.TYPE)
|
4538
|
+
}
|
4539
|
+
*/
|
4540
|
+
|
4541
|
+
/*
|
4542
|
+
filterList(): QueryBuilderList {
|
4543
|
+
return new QueryBuilderList(CouponRecipients.TYPE)
|
4544
|
+
}
|
4545
|
+
*/
|
4546
|
+
;
|
4547
|
+
|
4548
|
+
_proto.relationship = function relationship(id) {
|
4549
|
+
return typeof id === 'string' ? {
|
4550
|
+
id: id,
|
4551
|
+
type: CouponRecipients.TYPE
|
4552
|
+
} : {
|
4553
|
+
id: id.id,
|
4554
|
+
type: CouponRecipients.TYPE
|
4555
|
+
};
|
4556
|
+
};
|
4557
|
+
|
4558
|
+
_proto.type = function type() {
|
4559
|
+
return CouponRecipients.TYPE;
|
4560
|
+
};
|
4561
|
+
|
4562
|
+
return CouponRecipients;
|
4563
|
+
}(ApiResource);
|
4564
|
+
|
4565
|
+
CouponRecipients.TYPE = 'coupon_recipients';
|
4566
|
+
|
4319
4567
|
var Coupons = /*#__PURE__*/function (_ApiResource) {
|
4320
4568
|
_inheritsLoose(Coupons, _ApiResource);
|
4321
4569
|
|
@@ -4483,6 +4731,10 @@ var Coupons = /*#__PURE__*/function (_ApiResource) {
|
|
4483
4731
|
};
|
4484
4732
|
};
|
4485
4733
|
|
4734
|
+
_proto.type = function type() {
|
4735
|
+
return Coupons.TYPE;
|
4736
|
+
};
|
4737
|
+
|
4486
4738
|
return Coupons;
|
4487
4739
|
}(ApiResource);
|
4488
4740
|
|
@@ -4655,6 +4907,10 @@ var CustomerAddresses = /*#__PURE__*/function (_ApiResource) {
|
|
4655
4907
|
};
|
4656
4908
|
};
|
4657
4909
|
|
4910
|
+
_proto.type = function type() {
|
4911
|
+
return CustomerAddresses.TYPE;
|
4912
|
+
};
|
4913
|
+
|
4658
4914
|
return CustomerAddresses;
|
4659
4915
|
}(ApiResource);
|
4660
4916
|
|
@@ -4827,6 +5083,10 @@ var CustomerGroups = /*#__PURE__*/function (_ApiResource) {
|
|
4827
5083
|
};
|
4828
5084
|
};
|
4829
5085
|
|
5086
|
+
_proto.type = function type() {
|
5087
|
+
return CustomerGroups.TYPE;
|
5088
|
+
};
|
5089
|
+
|
4830
5090
|
return CustomerGroups;
|
4831
5091
|
}(ApiResource);
|
4832
5092
|
|
@@ -4999,6 +5259,10 @@ var CustomerPasswordResets = /*#__PURE__*/function (_ApiResource) {
|
|
4999
5259
|
};
|
5000
5260
|
};
|
5001
5261
|
|
5262
|
+
_proto.type = function type() {
|
5263
|
+
return CustomerPasswordResets.TYPE;
|
5264
|
+
};
|
5265
|
+
|
5002
5266
|
return CustomerPasswordResets;
|
5003
5267
|
}(ApiResource);
|
5004
5268
|
|
@@ -5171,6 +5435,10 @@ var CustomerPaymentSources = /*#__PURE__*/function (_ApiResource) {
|
|
5171
5435
|
};
|
5172
5436
|
};
|
5173
5437
|
|
5438
|
+
_proto.type = function type() {
|
5439
|
+
return CustomerPaymentSources.TYPE;
|
5440
|
+
};
|
5441
|
+
|
5174
5442
|
return CustomerPaymentSources;
|
5175
5443
|
}(ApiResource);
|
5176
5444
|
|
@@ -5343,6 +5611,10 @@ var CustomerSubscriptions = /*#__PURE__*/function (_ApiResource) {
|
|
5343
5611
|
};
|
5344
5612
|
};
|
5345
5613
|
|
5614
|
+
_proto.type = function type() {
|
5615
|
+
return CustomerSubscriptions.TYPE;
|
5616
|
+
};
|
5617
|
+
|
5346
5618
|
return CustomerSubscriptions;
|
5347
5619
|
}(ApiResource);
|
5348
5620
|
|
@@ -5515,6 +5787,10 @@ var Customers = /*#__PURE__*/function (_ApiResource) {
|
|
5515
5787
|
};
|
5516
5788
|
};
|
5517
5789
|
|
5790
|
+
_proto.type = function type() {
|
5791
|
+
return Customers.TYPE;
|
5792
|
+
};
|
5793
|
+
|
5518
5794
|
return Customers;
|
5519
5795
|
}(ApiResource);
|
5520
5796
|
|
@@ -5687,6 +5963,10 @@ var DeliveryLeadTimes = /*#__PURE__*/function (_ApiResource) {
|
|
5687
5963
|
};
|
5688
5964
|
};
|
5689
5965
|
|
5966
|
+
_proto.type = function type() {
|
5967
|
+
return DeliveryLeadTimes.TYPE;
|
5968
|
+
};
|
5969
|
+
|
5690
5970
|
return DeliveryLeadTimes;
|
5691
5971
|
}(ApiResource);
|
5692
5972
|
|
@@ -5727,6 +6007,32 @@ var EventCallbacks = /*#__PURE__*/function (_ApiResource) {
|
|
5727
6007
|
}
|
5728
6008
|
|
5729
6009
|
return list;
|
6010
|
+
}();
|
6011
|
+
|
6012
|
+
_proto.retrieve = /*#__PURE__*/function () {
|
6013
|
+
var _retrieve = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee2(id, params, options) {
|
6014
|
+
return runtime_1.wrap(function _callee2$(_context2) {
|
6015
|
+
while (1) {
|
6016
|
+
switch (_context2.prev = _context2.next) {
|
6017
|
+
case 0:
|
6018
|
+
return _context2.abrupt("return", this.resources.retrieve({
|
6019
|
+
type: EventCallbacks.TYPE,
|
6020
|
+
id: id
|
6021
|
+
}, params, options));
|
6022
|
+
|
6023
|
+
case 1:
|
6024
|
+
case "end":
|
6025
|
+
return _context2.stop();
|
6026
|
+
}
|
6027
|
+
}
|
6028
|
+
}, _callee2, this);
|
6029
|
+
}));
|
6030
|
+
|
6031
|
+
function retrieve(_x3, _x4, _x5) {
|
6032
|
+
return _retrieve.apply(this, arguments);
|
6033
|
+
}
|
6034
|
+
|
6035
|
+
return retrieve;
|
5730
6036
|
}() // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
5731
6037
|
;
|
5732
6038
|
|
@@ -5756,6 +6062,10 @@ var EventCallbacks = /*#__PURE__*/function (_ApiResource) {
|
|
5756
6062
|
};
|
5757
6063
|
};
|
5758
6064
|
|
6065
|
+
_proto.type = function type() {
|
6066
|
+
return EventCallbacks.TYPE;
|
6067
|
+
};
|
6068
|
+
|
5759
6069
|
return EventCallbacks;
|
5760
6070
|
}(ApiResource);
|
5761
6071
|
|
@@ -5882,7 +6192,359 @@ var ExternalGateways = /*#__PURE__*/function (_ApiResource) {
|
|
5882
6192
|
case 0:
|
5883
6193
|
_context5.next = 2;
|
5884
6194
|
return this.resources["delete"]({
|
5885
|
-
type: ExternalGateways.TYPE,
|
6195
|
+
type: ExternalGateways.TYPE,
|
6196
|
+
id: id
|
6197
|
+
}, options);
|
6198
|
+
|
6199
|
+
case 2:
|
6200
|
+
case "end":
|
6201
|
+
return _context5.stop();
|
6202
|
+
}
|
6203
|
+
}
|
6204
|
+
}, _callee5, this);
|
6205
|
+
}));
|
6206
|
+
|
6207
|
+
function _delete(_x10, _x11) {
|
6208
|
+
return _delete2.apply(this, arguments);
|
6209
|
+
}
|
6210
|
+
|
6211
|
+
return _delete;
|
6212
|
+
}() // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
6213
|
+
;
|
6214
|
+
|
6215
|
+
_proto.isExternalGateway = function isExternalGateway(resource) {
|
6216
|
+
return resource.type && resource.type === ExternalGateways.TYPE;
|
6217
|
+
}
|
6218
|
+
/*
|
6219
|
+
filter(): QueryBuilderRetrieve {
|
6220
|
+
return new QueryBuilderRetrieve(ExternalGateways.TYPE)
|
6221
|
+
}
|
6222
|
+
*/
|
6223
|
+
|
6224
|
+
/*
|
6225
|
+
filterList(): QueryBuilderList {
|
6226
|
+
return new QueryBuilderList(ExternalGateways.TYPE)
|
6227
|
+
}
|
6228
|
+
*/
|
6229
|
+
;
|
6230
|
+
|
6231
|
+
_proto.relationship = function relationship(id) {
|
6232
|
+
return typeof id === 'string' ? {
|
6233
|
+
id: id,
|
6234
|
+
type: ExternalGateways.TYPE
|
6235
|
+
} : {
|
6236
|
+
id: id.id,
|
6237
|
+
type: ExternalGateways.TYPE
|
6238
|
+
};
|
6239
|
+
};
|
6240
|
+
|
6241
|
+
_proto.type = function type() {
|
6242
|
+
return ExternalGateways.TYPE;
|
6243
|
+
};
|
6244
|
+
|
6245
|
+
return ExternalGateways;
|
6246
|
+
}(ApiResource);
|
6247
|
+
|
6248
|
+
ExternalGateways.TYPE = 'external_gateways';
|
6249
|
+
|
6250
|
+
var ExternalPayments = /*#__PURE__*/function (_ApiResource) {
|
6251
|
+
_inheritsLoose(ExternalPayments, _ApiResource);
|
6252
|
+
|
6253
|
+
function ExternalPayments() {
|
6254
|
+
return _ApiResource.apply(this, arguments) || this;
|
6255
|
+
}
|
6256
|
+
|
6257
|
+
var _proto = ExternalPayments.prototype;
|
6258
|
+
|
6259
|
+
// static readonly PATH = 'external_payments'
|
6260
|
+
_proto.list =
|
6261
|
+
/*#__PURE__*/
|
6262
|
+
function () {
|
6263
|
+
var _list = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee(params, options) {
|
6264
|
+
return runtime_1.wrap(function _callee$(_context) {
|
6265
|
+
while (1) {
|
6266
|
+
switch (_context.prev = _context.next) {
|
6267
|
+
case 0:
|
6268
|
+
return _context.abrupt("return", this.resources.list({
|
6269
|
+
type: ExternalPayments.TYPE
|
6270
|
+
}, params, options));
|
6271
|
+
|
6272
|
+
case 1:
|
6273
|
+
case "end":
|
6274
|
+
return _context.stop();
|
6275
|
+
}
|
6276
|
+
}
|
6277
|
+
}, _callee, this);
|
6278
|
+
}));
|
6279
|
+
|
6280
|
+
function list(_x, _x2) {
|
6281
|
+
return _list.apply(this, arguments);
|
6282
|
+
}
|
6283
|
+
|
6284
|
+
return list;
|
6285
|
+
}();
|
6286
|
+
|
6287
|
+
_proto.create = /*#__PURE__*/function () {
|
6288
|
+
var _create = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee2(resource, options) {
|
6289
|
+
return runtime_1.wrap(function _callee2$(_context2) {
|
6290
|
+
while (1) {
|
6291
|
+
switch (_context2.prev = _context2.next) {
|
6292
|
+
case 0:
|
6293
|
+
return _context2.abrupt("return", this.resources.create(_extends({}, resource, {
|
6294
|
+
type: ExternalPayments.TYPE
|
6295
|
+
}), options));
|
6296
|
+
|
6297
|
+
case 1:
|
6298
|
+
case "end":
|
6299
|
+
return _context2.stop();
|
6300
|
+
}
|
6301
|
+
}
|
6302
|
+
}, _callee2, this);
|
6303
|
+
}));
|
6304
|
+
|
6305
|
+
function create(_x3, _x4) {
|
6306
|
+
return _create.apply(this, arguments);
|
6307
|
+
}
|
6308
|
+
|
6309
|
+
return create;
|
6310
|
+
}();
|
6311
|
+
|
6312
|
+
_proto.retrieve = /*#__PURE__*/function () {
|
6313
|
+
var _retrieve = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee3(id, params, options) {
|
6314
|
+
return runtime_1.wrap(function _callee3$(_context3) {
|
6315
|
+
while (1) {
|
6316
|
+
switch (_context3.prev = _context3.next) {
|
6317
|
+
case 0:
|
6318
|
+
return _context3.abrupt("return", this.resources.retrieve({
|
6319
|
+
type: ExternalPayments.TYPE,
|
6320
|
+
id: id
|
6321
|
+
}, params, options));
|
6322
|
+
|
6323
|
+
case 1:
|
6324
|
+
case "end":
|
6325
|
+
return _context3.stop();
|
6326
|
+
}
|
6327
|
+
}
|
6328
|
+
}, _callee3, this);
|
6329
|
+
}));
|
6330
|
+
|
6331
|
+
function retrieve(_x5, _x6, _x7) {
|
6332
|
+
return _retrieve.apply(this, arguments);
|
6333
|
+
}
|
6334
|
+
|
6335
|
+
return retrieve;
|
6336
|
+
}();
|
6337
|
+
|
6338
|
+
_proto.update = /*#__PURE__*/function () {
|
6339
|
+
var _update = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(resource, options) {
|
6340
|
+
return runtime_1.wrap(function _callee4$(_context4) {
|
6341
|
+
while (1) {
|
6342
|
+
switch (_context4.prev = _context4.next) {
|
6343
|
+
case 0:
|
6344
|
+
return _context4.abrupt("return", this.resources.update(_extends({}, resource, {
|
6345
|
+
type: ExternalPayments.TYPE
|
6346
|
+
}), options));
|
6347
|
+
|
6348
|
+
case 1:
|
6349
|
+
case "end":
|
6350
|
+
return _context4.stop();
|
6351
|
+
}
|
6352
|
+
}
|
6353
|
+
}, _callee4, this);
|
6354
|
+
}));
|
6355
|
+
|
6356
|
+
function update(_x8, _x9) {
|
6357
|
+
return _update.apply(this, arguments);
|
6358
|
+
}
|
6359
|
+
|
6360
|
+
return update;
|
6361
|
+
}();
|
6362
|
+
|
6363
|
+
_proto["delete"] = /*#__PURE__*/function () {
|
6364
|
+
var _delete2 = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee5(id, options) {
|
6365
|
+
return runtime_1.wrap(function _callee5$(_context5) {
|
6366
|
+
while (1) {
|
6367
|
+
switch (_context5.prev = _context5.next) {
|
6368
|
+
case 0:
|
6369
|
+
_context5.next = 2;
|
6370
|
+
return this.resources["delete"]({
|
6371
|
+
type: ExternalPayments.TYPE,
|
6372
|
+
id: id
|
6373
|
+
}, options);
|
6374
|
+
|
6375
|
+
case 2:
|
6376
|
+
case "end":
|
6377
|
+
return _context5.stop();
|
6378
|
+
}
|
6379
|
+
}
|
6380
|
+
}, _callee5, this);
|
6381
|
+
}));
|
6382
|
+
|
6383
|
+
function _delete(_x10, _x11) {
|
6384
|
+
return _delete2.apply(this, arguments);
|
6385
|
+
}
|
6386
|
+
|
6387
|
+
return _delete;
|
6388
|
+
}() // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
6389
|
+
;
|
6390
|
+
|
6391
|
+
_proto.isExternalPayment = function isExternalPayment(resource) {
|
6392
|
+
return resource.type && resource.type === ExternalPayments.TYPE;
|
6393
|
+
}
|
6394
|
+
/*
|
6395
|
+
filter(): QueryBuilderRetrieve {
|
6396
|
+
return new QueryBuilderRetrieve(ExternalPayments.TYPE)
|
6397
|
+
}
|
6398
|
+
*/
|
6399
|
+
|
6400
|
+
/*
|
6401
|
+
filterList(): QueryBuilderList {
|
6402
|
+
return new QueryBuilderList(ExternalPayments.TYPE)
|
6403
|
+
}
|
6404
|
+
*/
|
6405
|
+
;
|
6406
|
+
|
6407
|
+
_proto.relationship = function relationship(id) {
|
6408
|
+
return typeof id === 'string' ? {
|
6409
|
+
id: id,
|
6410
|
+
type: ExternalPayments.TYPE
|
6411
|
+
} : {
|
6412
|
+
id: id.id,
|
6413
|
+
type: ExternalPayments.TYPE
|
6414
|
+
};
|
6415
|
+
};
|
6416
|
+
|
6417
|
+
_proto.type = function type() {
|
6418
|
+
return ExternalPayments.TYPE;
|
6419
|
+
};
|
6420
|
+
|
6421
|
+
return ExternalPayments;
|
6422
|
+
}(ApiResource);
|
6423
|
+
|
6424
|
+
ExternalPayments.TYPE = 'external_payments';
|
6425
|
+
|
6426
|
+
var ExternalPromotions = /*#__PURE__*/function (_ApiResource) {
|
6427
|
+
_inheritsLoose(ExternalPromotions, _ApiResource);
|
6428
|
+
|
6429
|
+
function ExternalPromotions() {
|
6430
|
+
return _ApiResource.apply(this, arguments) || this;
|
6431
|
+
}
|
6432
|
+
|
6433
|
+
var _proto = ExternalPromotions.prototype;
|
6434
|
+
|
6435
|
+
// static readonly PATH = 'external_promotions'
|
6436
|
+
_proto.list =
|
6437
|
+
/*#__PURE__*/
|
6438
|
+
function () {
|
6439
|
+
var _list = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee(params, options) {
|
6440
|
+
return runtime_1.wrap(function _callee$(_context) {
|
6441
|
+
while (1) {
|
6442
|
+
switch (_context.prev = _context.next) {
|
6443
|
+
case 0:
|
6444
|
+
return _context.abrupt("return", this.resources.list({
|
6445
|
+
type: ExternalPromotions.TYPE
|
6446
|
+
}, params, options));
|
6447
|
+
|
6448
|
+
case 1:
|
6449
|
+
case "end":
|
6450
|
+
return _context.stop();
|
6451
|
+
}
|
6452
|
+
}
|
6453
|
+
}, _callee, this);
|
6454
|
+
}));
|
6455
|
+
|
6456
|
+
function list(_x, _x2) {
|
6457
|
+
return _list.apply(this, arguments);
|
6458
|
+
}
|
6459
|
+
|
6460
|
+
return list;
|
6461
|
+
}();
|
6462
|
+
|
6463
|
+
_proto.create = /*#__PURE__*/function () {
|
6464
|
+
var _create = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee2(resource, options) {
|
6465
|
+
return runtime_1.wrap(function _callee2$(_context2) {
|
6466
|
+
while (1) {
|
6467
|
+
switch (_context2.prev = _context2.next) {
|
6468
|
+
case 0:
|
6469
|
+
return _context2.abrupt("return", this.resources.create(_extends({}, resource, {
|
6470
|
+
type: ExternalPromotions.TYPE
|
6471
|
+
}), options));
|
6472
|
+
|
6473
|
+
case 1:
|
6474
|
+
case "end":
|
6475
|
+
return _context2.stop();
|
6476
|
+
}
|
6477
|
+
}
|
6478
|
+
}, _callee2, this);
|
6479
|
+
}));
|
6480
|
+
|
6481
|
+
function create(_x3, _x4) {
|
6482
|
+
return _create.apply(this, arguments);
|
6483
|
+
}
|
6484
|
+
|
6485
|
+
return create;
|
6486
|
+
}();
|
6487
|
+
|
6488
|
+
_proto.retrieve = /*#__PURE__*/function () {
|
6489
|
+
var _retrieve = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee3(id, params, options) {
|
6490
|
+
return runtime_1.wrap(function _callee3$(_context3) {
|
6491
|
+
while (1) {
|
6492
|
+
switch (_context3.prev = _context3.next) {
|
6493
|
+
case 0:
|
6494
|
+
return _context3.abrupt("return", this.resources.retrieve({
|
6495
|
+
type: ExternalPromotions.TYPE,
|
6496
|
+
id: id
|
6497
|
+
}, params, options));
|
6498
|
+
|
6499
|
+
case 1:
|
6500
|
+
case "end":
|
6501
|
+
return _context3.stop();
|
6502
|
+
}
|
6503
|
+
}
|
6504
|
+
}, _callee3, this);
|
6505
|
+
}));
|
6506
|
+
|
6507
|
+
function retrieve(_x5, _x6, _x7) {
|
6508
|
+
return _retrieve.apply(this, arguments);
|
6509
|
+
}
|
6510
|
+
|
6511
|
+
return retrieve;
|
6512
|
+
}();
|
6513
|
+
|
6514
|
+
_proto.update = /*#__PURE__*/function () {
|
6515
|
+
var _update = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(resource, options) {
|
6516
|
+
return runtime_1.wrap(function _callee4$(_context4) {
|
6517
|
+
while (1) {
|
6518
|
+
switch (_context4.prev = _context4.next) {
|
6519
|
+
case 0:
|
6520
|
+
return _context4.abrupt("return", this.resources.update(_extends({}, resource, {
|
6521
|
+
type: ExternalPromotions.TYPE
|
6522
|
+
}), options));
|
6523
|
+
|
6524
|
+
case 1:
|
6525
|
+
case "end":
|
6526
|
+
return _context4.stop();
|
6527
|
+
}
|
6528
|
+
}
|
6529
|
+
}, _callee4, this);
|
6530
|
+
}));
|
6531
|
+
|
6532
|
+
function update(_x8, _x9) {
|
6533
|
+
return _update.apply(this, arguments);
|
6534
|
+
}
|
6535
|
+
|
6536
|
+
return update;
|
6537
|
+
}();
|
6538
|
+
|
6539
|
+
_proto["delete"] = /*#__PURE__*/function () {
|
6540
|
+
var _delete2 = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee5(id, options) {
|
6541
|
+
return runtime_1.wrap(function _callee5$(_context5) {
|
6542
|
+
while (1) {
|
6543
|
+
switch (_context5.prev = _context5.next) {
|
6544
|
+
case 0:
|
6545
|
+
_context5.next = 2;
|
6546
|
+
return this.resources["delete"]({
|
6547
|
+
type: ExternalPromotions.TYPE,
|
5886
6548
|
id: id
|
5887
6549
|
}, options);
|
5888
6550
|
|
@@ -5902,18 +6564,18 @@ var ExternalGateways = /*#__PURE__*/function (_ApiResource) {
|
|
5902
6564
|
}() // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
5903
6565
|
;
|
5904
6566
|
|
5905
|
-
_proto.
|
5906
|
-
return resource.type && resource.type ===
|
6567
|
+
_proto.isExternalPromotion = function isExternalPromotion(resource) {
|
6568
|
+
return resource.type && resource.type === ExternalPromotions.TYPE;
|
5907
6569
|
}
|
5908
6570
|
/*
|
5909
6571
|
filter(): QueryBuilderRetrieve {
|
5910
|
-
return new QueryBuilderRetrieve(
|
6572
|
+
return new QueryBuilderRetrieve(ExternalPromotions.TYPE)
|
5911
6573
|
}
|
5912
6574
|
*/
|
5913
6575
|
|
5914
6576
|
/*
|
5915
6577
|
filterList(): QueryBuilderList {
|
5916
|
-
return new QueryBuilderList(
|
6578
|
+
return new QueryBuilderList(ExternalPromotions.TYPE)
|
5917
6579
|
}
|
5918
6580
|
*/
|
5919
6581
|
;
|
@@ -5921,28 +6583,32 @@ var ExternalGateways = /*#__PURE__*/function (_ApiResource) {
|
|
5921
6583
|
_proto.relationship = function relationship(id) {
|
5922
6584
|
return typeof id === 'string' ? {
|
5923
6585
|
id: id,
|
5924
|
-
type:
|
6586
|
+
type: ExternalPromotions.TYPE
|
5925
6587
|
} : {
|
5926
6588
|
id: id.id,
|
5927
|
-
type:
|
6589
|
+
type: ExternalPromotions.TYPE
|
5928
6590
|
};
|
5929
6591
|
};
|
5930
6592
|
|
5931
|
-
|
6593
|
+
_proto.type = function type() {
|
6594
|
+
return ExternalPromotions.TYPE;
|
6595
|
+
};
|
6596
|
+
|
6597
|
+
return ExternalPromotions;
|
5932
6598
|
}(ApiResource);
|
5933
6599
|
|
5934
|
-
|
6600
|
+
ExternalPromotions.TYPE = 'external_promotions';
|
5935
6601
|
|
5936
|
-
var
|
5937
|
-
_inheritsLoose(
|
6602
|
+
var ExternalTaxCalculators = /*#__PURE__*/function (_ApiResource) {
|
6603
|
+
_inheritsLoose(ExternalTaxCalculators, _ApiResource);
|
5938
6604
|
|
5939
|
-
function
|
6605
|
+
function ExternalTaxCalculators() {
|
5940
6606
|
return _ApiResource.apply(this, arguments) || this;
|
5941
6607
|
}
|
5942
6608
|
|
5943
|
-
var _proto =
|
6609
|
+
var _proto = ExternalTaxCalculators.prototype;
|
5944
6610
|
|
5945
|
-
// static readonly PATH = '
|
6611
|
+
// static readonly PATH = 'external_tax_calculators'
|
5946
6612
|
_proto.list =
|
5947
6613
|
/*#__PURE__*/
|
5948
6614
|
function () {
|
@@ -5952,7 +6618,7 @@ var ExternalPayments = /*#__PURE__*/function (_ApiResource) {
|
|
5952
6618
|
switch (_context.prev = _context.next) {
|
5953
6619
|
case 0:
|
5954
6620
|
return _context.abrupt("return", this.resources.list({
|
5955
|
-
type:
|
6621
|
+
type: ExternalTaxCalculators.TYPE
|
5956
6622
|
}, params, options));
|
5957
6623
|
|
5958
6624
|
case 1:
|
@@ -5977,7 +6643,7 @@ var ExternalPayments = /*#__PURE__*/function (_ApiResource) {
|
|
5977
6643
|
switch (_context2.prev = _context2.next) {
|
5978
6644
|
case 0:
|
5979
6645
|
return _context2.abrupt("return", this.resources.create(_extends({}, resource, {
|
5980
|
-
type:
|
6646
|
+
type: ExternalTaxCalculators.TYPE
|
5981
6647
|
}), options));
|
5982
6648
|
|
5983
6649
|
case 1:
|
@@ -6002,7 +6668,7 @@ var ExternalPayments = /*#__PURE__*/function (_ApiResource) {
|
|
6002
6668
|
switch (_context3.prev = _context3.next) {
|
6003
6669
|
case 0:
|
6004
6670
|
return _context3.abrupt("return", this.resources.retrieve({
|
6005
|
-
type:
|
6671
|
+
type: ExternalTaxCalculators.TYPE,
|
6006
6672
|
id: id
|
6007
6673
|
}, params, options));
|
6008
6674
|
|
@@ -6028,7 +6694,7 @@ var ExternalPayments = /*#__PURE__*/function (_ApiResource) {
|
|
6028
6694
|
switch (_context4.prev = _context4.next) {
|
6029
6695
|
case 0:
|
6030
6696
|
return _context4.abrupt("return", this.resources.update(_extends({}, resource, {
|
6031
|
-
type:
|
6697
|
+
type: ExternalTaxCalculators.TYPE
|
6032
6698
|
}), options));
|
6033
6699
|
|
6034
6700
|
case 1:
|
@@ -6054,7 +6720,7 @@ var ExternalPayments = /*#__PURE__*/function (_ApiResource) {
|
|
6054
6720
|
case 0:
|
6055
6721
|
_context5.next = 2;
|
6056
6722
|
return this.resources["delete"]({
|
6057
|
-
type:
|
6723
|
+
type: ExternalTaxCalculators.TYPE,
|
6058
6724
|
id: id
|
6059
6725
|
}, options);
|
6060
6726
|
|
@@ -6074,18 +6740,18 @@ var ExternalPayments = /*#__PURE__*/function (_ApiResource) {
|
|
6074
6740
|
}() // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
6075
6741
|
;
|
6076
6742
|
|
6077
|
-
_proto.
|
6078
|
-
return resource.type && resource.type ===
|
6743
|
+
_proto.isExternalTaxCalculator = function isExternalTaxCalculator(resource) {
|
6744
|
+
return resource.type && resource.type === ExternalTaxCalculators.TYPE;
|
6079
6745
|
}
|
6080
6746
|
/*
|
6081
6747
|
filter(): QueryBuilderRetrieve {
|
6082
|
-
return new QueryBuilderRetrieve(
|
6748
|
+
return new QueryBuilderRetrieve(ExternalTaxCalculators.TYPE)
|
6083
6749
|
}
|
6084
6750
|
*/
|
6085
6751
|
|
6086
6752
|
/*
|
6087
6753
|
filterList(): QueryBuilderList {
|
6088
|
-
return new QueryBuilderList(
|
6754
|
+
return new QueryBuilderList(ExternalTaxCalculators.TYPE)
|
6089
6755
|
}
|
6090
6756
|
*/
|
6091
6757
|
;
|
@@ -6093,28 +6759,32 @@ var ExternalPayments = /*#__PURE__*/function (_ApiResource) {
|
|
6093
6759
|
_proto.relationship = function relationship(id) {
|
6094
6760
|
return typeof id === 'string' ? {
|
6095
6761
|
id: id,
|
6096
|
-
type:
|
6762
|
+
type: ExternalTaxCalculators.TYPE
|
6097
6763
|
} : {
|
6098
6764
|
id: id.id,
|
6099
|
-
type:
|
6765
|
+
type: ExternalTaxCalculators.TYPE
|
6100
6766
|
};
|
6101
6767
|
};
|
6102
6768
|
|
6103
|
-
|
6769
|
+
_proto.type = function type() {
|
6770
|
+
return ExternalTaxCalculators.TYPE;
|
6771
|
+
};
|
6772
|
+
|
6773
|
+
return ExternalTaxCalculators;
|
6104
6774
|
}(ApiResource);
|
6105
6775
|
|
6106
|
-
|
6776
|
+
ExternalTaxCalculators.TYPE = 'external_tax_calculators';
|
6107
6777
|
|
6108
|
-
var
|
6109
|
-
_inheritsLoose(
|
6778
|
+
var FixedAmountPromotions = /*#__PURE__*/function (_ApiResource) {
|
6779
|
+
_inheritsLoose(FixedAmountPromotions, _ApiResource);
|
6110
6780
|
|
6111
|
-
function
|
6781
|
+
function FixedAmountPromotions() {
|
6112
6782
|
return _ApiResource.apply(this, arguments) || this;
|
6113
6783
|
}
|
6114
6784
|
|
6115
|
-
var _proto =
|
6785
|
+
var _proto = FixedAmountPromotions.prototype;
|
6116
6786
|
|
6117
|
-
// static readonly PATH = '
|
6787
|
+
// static readonly PATH = 'fixed_amount_promotions'
|
6118
6788
|
_proto.list =
|
6119
6789
|
/*#__PURE__*/
|
6120
6790
|
function () {
|
@@ -6124,7 +6794,7 @@ var ExternalPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6124
6794
|
switch (_context.prev = _context.next) {
|
6125
6795
|
case 0:
|
6126
6796
|
return _context.abrupt("return", this.resources.list({
|
6127
|
-
type:
|
6797
|
+
type: FixedAmountPromotions.TYPE
|
6128
6798
|
}, params, options));
|
6129
6799
|
|
6130
6800
|
case 1:
|
@@ -6149,7 +6819,7 @@ var ExternalPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6149
6819
|
switch (_context2.prev = _context2.next) {
|
6150
6820
|
case 0:
|
6151
6821
|
return _context2.abrupt("return", this.resources.create(_extends({}, resource, {
|
6152
|
-
type:
|
6822
|
+
type: FixedAmountPromotions.TYPE
|
6153
6823
|
}), options));
|
6154
6824
|
|
6155
6825
|
case 1:
|
@@ -6174,7 +6844,7 @@ var ExternalPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6174
6844
|
switch (_context3.prev = _context3.next) {
|
6175
6845
|
case 0:
|
6176
6846
|
return _context3.abrupt("return", this.resources.retrieve({
|
6177
|
-
type:
|
6847
|
+
type: FixedAmountPromotions.TYPE,
|
6178
6848
|
id: id
|
6179
6849
|
}, params, options));
|
6180
6850
|
|
@@ -6200,7 +6870,7 @@ var ExternalPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6200
6870
|
switch (_context4.prev = _context4.next) {
|
6201
6871
|
case 0:
|
6202
6872
|
return _context4.abrupt("return", this.resources.update(_extends({}, resource, {
|
6203
|
-
type:
|
6873
|
+
type: FixedAmountPromotions.TYPE
|
6204
6874
|
}), options));
|
6205
6875
|
|
6206
6876
|
case 1:
|
@@ -6226,7 +6896,7 @@ var ExternalPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6226
6896
|
case 0:
|
6227
6897
|
_context5.next = 2;
|
6228
6898
|
return this.resources["delete"]({
|
6229
|
-
type:
|
6899
|
+
type: FixedAmountPromotions.TYPE,
|
6230
6900
|
id: id
|
6231
6901
|
}, options);
|
6232
6902
|
|
@@ -6246,18 +6916,18 @@ var ExternalPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6246
6916
|
}() // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
6247
6917
|
;
|
6248
6918
|
|
6249
|
-
_proto.
|
6250
|
-
return resource.type && resource.type ===
|
6919
|
+
_proto.isFixedAmountPromotion = function isFixedAmountPromotion(resource) {
|
6920
|
+
return resource.type && resource.type === FixedAmountPromotions.TYPE;
|
6251
6921
|
}
|
6252
6922
|
/*
|
6253
6923
|
filter(): QueryBuilderRetrieve {
|
6254
|
-
return new QueryBuilderRetrieve(
|
6924
|
+
return new QueryBuilderRetrieve(FixedAmountPromotions.TYPE)
|
6255
6925
|
}
|
6256
6926
|
*/
|
6257
6927
|
|
6258
6928
|
/*
|
6259
6929
|
filterList(): QueryBuilderList {
|
6260
|
-
return new QueryBuilderList(
|
6930
|
+
return new QueryBuilderList(FixedAmountPromotions.TYPE)
|
6261
6931
|
}
|
6262
6932
|
*/
|
6263
6933
|
;
|
@@ -6265,28 +6935,32 @@ var ExternalPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6265
6935
|
_proto.relationship = function relationship(id) {
|
6266
6936
|
return typeof id === 'string' ? {
|
6267
6937
|
id: id,
|
6268
|
-
type:
|
6938
|
+
type: FixedAmountPromotions.TYPE
|
6269
6939
|
} : {
|
6270
6940
|
id: id.id,
|
6271
|
-
type:
|
6941
|
+
type: FixedAmountPromotions.TYPE
|
6272
6942
|
};
|
6273
6943
|
};
|
6274
6944
|
|
6275
|
-
|
6945
|
+
_proto.type = function type() {
|
6946
|
+
return FixedAmountPromotions.TYPE;
|
6947
|
+
};
|
6948
|
+
|
6949
|
+
return FixedAmountPromotions;
|
6276
6950
|
}(ApiResource);
|
6277
6951
|
|
6278
|
-
|
6952
|
+
FixedAmountPromotions.TYPE = 'fixed_amount_promotions';
|
6279
6953
|
|
6280
|
-
var
|
6281
|
-
_inheritsLoose(
|
6954
|
+
var FixedPricePromotions = /*#__PURE__*/function (_ApiResource) {
|
6955
|
+
_inheritsLoose(FixedPricePromotions, _ApiResource);
|
6282
6956
|
|
6283
|
-
function
|
6957
|
+
function FixedPricePromotions() {
|
6284
6958
|
return _ApiResource.apply(this, arguments) || this;
|
6285
6959
|
}
|
6286
6960
|
|
6287
|
-
var _proto =
|
6961
|
+
var _proto = FixedPricePromotions.prototype;
|
6288
6962
|
|
6289
|
-
// static readonly PATH = '
|
6963
|
+
// static readonly PATH = 'fixed_price_promotions'
|
6290
6964
|
_proto.list =
|
6291
6965
|
/*#__PURE__*/
|
6292
6966
|
function () {
|
@@ -6296,7 +6970,7 @@ var ExternalTaxCalculators = /*#__PURE__*/function (_ApiResource) {
|
|
6296
6970
|
switch (_context.prev = _context.next) {
|
6297
6971
|
case 0:
|
6298
6972
|
return _context.abrupt("return", this.resources.list({
|
6299
|
-
type:
|
6973
|
+
type: FixedPricePromotions.TYPE
|
6300
6974
|
}, params, options));
|
6301
6975
|
|
6302
6976
|
case 1:
|
@@ -6321,7 +6995,7 @@ var ExternalTaxCalculators = /*#__PURE__*/function (_ApiResource) {
|
|
6321
6995
|
switch (_context2.prev = _context2.next) {
|
6322
6996
|
case 0:
|
6323
6997
|
return _context2.abrupt("return", this.resources.create(_extends({}, resource, {
|
6324
|
-
type:
|
6998
|
+
type: FixedPricePromotions.TYPE
|
6325
6999
|
}), options));
|
6326
7000
|
|
6327
7001
|
case 1:
|
@@ -6346,7 +7020,7 @@ var ExternalTaxCalculators = /*#__PURE__*/function (_ApiResource) {
|
|
6346
7020
|
switch (_context3.prev = _context3.next) {
|
6347
7021
|
case 0:
|
6348
7022
|
return _context3.abrupt("return", this.resources.retrieve({
|
6349
|
-
type:
|
7023
|
+
type: FixedPricePromotions.TYPE,
|
6350
7024
|
id: id
|
6351
7025
|
}, params, options));
|
6352
7026
|
|
@@ -6372,7 +7046,7 @@ var ExternalTaxCalculators = /*#__PURE__*/function (_ApiResource) {
|
|
6372
7046
|
switch (_context4.prev = _context4.next) {
|
6373
7047
|
case 0:
|
6374
7048
|
return _context4.abrupt("return", this.resources.update(_extends({}, resource, {
|
6375
|
-
type:
|
7049
|
+
type: FixedPricePromotions.TYPE
|
6376
7050
|
}), options));
|
6377
7051
|
|
6378
7052
|
case 1:
|
@@ -6398,7 +7072,7 @@ var ExternalTaxCalculators = /*#__PURE__*/function (_ApiResource) {
|
|
6398
7072
|
case 0:
|
6399
7073
|
_context5.next = 2;
|
6400
7074
|
return this.resources["delete"]({
|
6401
|
-
type:
|
7075
|
+
type: FixedPricePromotions.TYPE,
|
6402
7076
|
id: id
|
6403
7077
|
}, options);
|
6404
7078
|
|
@@ -6418,18 +7092,18 @@ var ExternalTaxCalculators = /*#__PURE__*/function (_ApiResource) {
|
|
6418
7092
|
}() // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
6419
7093
|
;
|
6420
7094
|
|
6421
|
-
_proto.
|
6422
|
-
return resource.type && resource.type ===
|
7095
|
+
_proto.isFixedPricePromotion = function isFixedPricePromotion(resource) {
|
7096
|
+
return resource.type && resource.type === FixedPricePromotions.TYPE;
|
6423
7097
|
}
|
6424
7098
|
/*
|
6425
7099
|
filter(): QueryBuilderRetrieve {
|
6426
|
-
return new QueryBuilderRetrieve(
|
7100
|
+
return new QueryBuilderRetrieve(FixedPricePromotions.TYPE)
|
6427
7101
|
}
|
6428
7102
|
*/
|
6429
7103
|
|
6430
7104
|
/*
|
6431
7105
|
filterList(): QueryBuilderList {
|
6432
|
-
return new QueryBuilderList(
|
7106
|
+
return new QueryBuilderList(FixedPricePromotions.TYPE)
|
6433
7107
|
}
|
6434
7108
|
*/
|
6435
7109
|
;
|
@@ -6437,28 +7111,32 @@ var ExternalTaxCalculators = /*#__PURE__*/function (_ApiResource) {
|
|
6437
7111
|
_proto.relationship = function relationship(id) {
|
6438
7112
|
return typeof id === 'string' ? {
|
6439
7113
|
id: id,
|
6440
|
-
type:
|
7114
|
+
type: FixedPricePromotions.TYPE
|
6441
7115
|
} : {
|
6442
7116
|
id: id.id,
|
6443
|
-
type:
|
7117
|
+
type: FixedPricePromotions.TYPE
|
6444
7118
|
};
|
6445
7119
|
};
|
6446
7120
|
|
6447
|
-
|
7121
|
+
_proto.type = function type() {
|
7122
|
+
return FixedPricePromotions.TYPE;
|
7123
|
+
};
|
7124
|
+
|
7125
|
+
return FixedPricePromotions;
|
6448
7126
|
}(ApiResource);
|
6449
7127
|
|
6450
|
-
|
7128
|
+
FixedPricePromotions.TYPE = 'fixed_price_promotions';
|
6451
7129
|
|
6452
|
-
var
|
6453
|
-
_inheritsLoose(
|
7130
|
+
var FreeGiftPromotions = /*#__PURE__*/function (_ApiResource) {
|
7131
|
+
_inheritsLoose(FreeGiftPromotions, _ApiResource);
|
6454
7132
|
|
6455
|
-
function
|
7133
|
+
function FreeGiftPromotions() {
|
6456
7134
|
return _ApiResource.apply(this, arguments) || this;
|
6457
7135
|
}
|
6458
7136
|
|
6459
|
-
var _proto =
|
7137
|
+
var _proto = FreeGiftPromotions.prototype;
|
6460
7138
|
|
6461
|
-
// static readonly PATH = '
|
7139
|
+
// static readonly PATH = 'free_gift_promotions'
|
6462
7140
|
_proto.list =
|
6463
7141
|
/*#__PURE__*/
|
6464
7142
|
function () {
|
@@ -6468,7 +7146,7 @@ var FixedAmountPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6468
7146
|
switch (_context.prev = _context.next) {
|
6469
7147
|
case 0:
|
6470
7148
|
return _context.abrupt("return", this.resources.list({
|
6471
|
-
type:
|
7149
|
+
type: FreeGiftPromotions.TYPE
|
6472
7150
|
}, params, options));
|
6473
7151
|
|
6474
7152
|
case 1:
|
@@ -6493,7 +7171,7 @@ var FixedAmountPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6493
7171
|
switch (_context2.prev = _context2.next) {
|
6494
7172
|
case 0:
|
6495
7173
|
return _context2.abrupt("return", this.resources.create(_extends({}, resource, {
|
6496
|
-
type:
|
7174
|
+
type: FreeGiftPromotions.TYPE
|
6497
7175
|
}), options));
|
6498
7176
|
|
6499
7177
|
case 1:
|
@@ -6518,7 +7196,7 @@ var FixedAmountPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6518
7196
|
switch (_context3.prev = _context3.next) {
|
6519
7197
|
case 0:
|
6520
7198
|
return _context3.abrupt("return", this.resources.retrieve({
|
6521
|
-
type:
|
7199
|
+
type: FreeGiftPromotions.TYPE,
|
6522
7200
|
id: id
|
6523
7201
|
}, params, options));
|
6524
7202
|
|
@@ -6544,7 +7222,7 @@ var FixedAmountPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6544
7222
|
switch (_context4.prev = _context4.next) {
|
6545
7223
|
case 0:
|
6546
7224
|
return _context4.abrupt("return", this.resources.update(_extends({}, resource, {
|
6547
|
-
type:
|
7225
|
+
type: FreeGiftPromotions.TYPE
|
6548
7226
|
}), options));
|
6549
7227
|
|
6550
7228
|
case 1:
|
@@ -6570,7 +7248,7 @@ var FixedAmountPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6570
7248
|
case 0:
|
6571
7249
|
_context5.next = 2;
|
6572
7250
|
return this.resources["delete"]({
|
6573
|
-
type:
|
7251
|
+
type: FreeGiftPromotions.TYPE,
|
6574
7252
|
id: id
|
6575
7253
|
}, options);
|
6576
7254
|
|
@@ -6590,18 +7268,18 @@ var FixedAmountPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6590
7268
|
}() // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
6591
7269
|
;
|
6592
7270
|
|
6593
|
-
_proto.
|
6594
|
-
return resource.type && resource.type ===
|
7271
|
+
_proto.isFreeGiftPromotion = function isFreeGiftPromotion(resource) {
|
7272
|
+
return resource.type && resource.type === FreeGiftPromotions.TYPE;
|
6595
7273
|
}
|
6596
7274
|
/*
|
6597
7275
|
filter(): QueryBuilderRetrieve {
|
6598
|
-
return new QueryBuilderRetrieve(
|
7276
|
+
return new QueryBuilderRetrieve(FreeGiftPromotions.TYPE)
|
6599
7277
|
}
|
6600
7278
|
*/
|
6601
7279
|
|
6602
7280
|
/*
|
6603
7281
|
filterList(): QueryBuilderList {
|
6604
|
-
return new QueryBuilderList(
|
7282
|
+
return new QueryBuilderList(FreeGiftPromotions.TYPE)
|
6605
7283
|
}
|
6606
7284
|
*/
|
6607
7285
|
;
|
@@ -6609,17 +7287,21 @@ var FixedAmountPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6609
7287
|
_proto.relationship = function relationship(id) {
|
6610
7288
|
return typeof id === 'string' ? {
|
6611
7289
|
id: id,
|
6612
|
-
type:
|
7290
|
+
type: FreeGiftPromotions.TYPE
|
6613
7291
|
} : {
|
6614
7292
|
id: id.id,
|
6615
|
-
type:
|
7293
|
+
type: FreeGiftPromotions.TYPE
|
6616
7294
|
};
|
6617
7295
|
};
|
6618
7296
|
|
6619
|
-
|
7297
|
+
_proto.type = function type() {
|
7298
|
+
return FreeGiftPromotions.TYPE;
|
7299
|
+
};
|
7300
|
+
|
7301
|
+
return FreeGiftPromotions;
|
6620
7302
|
}(ApiResource);
|
6621
7303
|
|
6622
|
-
|
7304
|
+
FreeGiftPromotions.TYPE = 'free_gift_promotions';
|
6623
7305
|
|
6624
7306
|
var FreeShippingPromotions = /*#__PURE__*/function (_ApiResource) {
|
6625
7307
|
_inheritsLoose(FreeShippingPromotions, _ApiResource);
|
@@ -6788,6 +7470,10 @@ var FreeShippingPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
6788
7470
|
};
|
6789
7471
|
};
|
6790
7472
|
|
7473
|
+
_proto.type = function type() {
|
7474
|
+
return FreeShippingPromotions.TYPE;
|
7475
|
+
};
|
7476
|
+
|
6791
7477
|
return FreeShippingPromotions;
|
6792
7478
|
}(ApiResource);
|
6793
7479
|
|
@@ -6857,6 +7543,10 @@ var Geocoders = /*#__PURE__*/function (_ApiResource) {
|
|
6857
7543
|
};
|
6858
7544
|
};
|
6859
7545
|
|
7546
|
+
_proto.type = function type() {
|
7547
|
+
return Geocoders.TYPE;
|
7548
|
+
};
|
7549
|
+
|
6860
7550
|
return Geocoders;
|
6861
7551
|
}(ApiResource);
|
6862
7552
|
|
@@ -7029,6 +7719,10 @@ var GiftCardRecipients = /*#__PURE__*/function (_ApiResource) {
|
|
7029
7719
|
};
|
7030
7720
|
};
|
7031
7721
|
|
7722
|
+
_proto.type = function type() {
|
7723
|
+
return GiftCardRecipients.TYPE;
|
7724
|
+
};
|
7725
|
+
|
7032
7726
|
return GiftCardRecipients;
|
7033
7727
|
}(ApiResource);
|
7034
7728
|
|
@@ -7201,6 +7895,10 @@ var GiftCards = /*#__PURE__*/function (_ApiResource) {
|
|
7201
7895
|
};
|
7202
7896
|
};
|
7203
7897
|
|
7898
|
+
_proto.type = function type() {
|
7899
|
+
return GiftCards.TYPE;
|
7900
|
+
};
|
7901
|
+
|
7204
7902
|
return GiftCards;
|
7205
7903
|
}(ApiResource);
|
7206
7904
|
|
@@ -7373,6 +8071,10 @@ var GoogleGeocoders = /*#__PURE__*/function (_ApiResource) {
|
|
7373
8071
|
};
|
7374
8072
|
};
|
7375
8073
|
|
8074
|
+
_proto.type = function type() {
|
8075
|
+
return GoogleGeocoders.TYPE;
|
8076
|
+
};
|
8077
|
+
|
7376
8078
|
return GoogleGeocoders;
|
7377
8079
|
}(ApiResource);
|
7378
8080
|
|
@@ -7520,6 +8222,10 @@ var Imports = /*#__PURE__*/function (_ApiResource) {
|
|
7520
8222
|
};
|
7521
8223
|
};
|
7522
8224
|
|
8225
|
+
_proto.type = function type() {
|
8226
|
+
return Imports.TYPE;
|
8227
|
+
};
|
8228
|
+
|
7523
8229
|
return Imports;
|
7524
8230
|
}(ApiResource);
|
7525
8231
|
|
@@ -7692,6 +8398,10 @@ var InStockSubscriptions = /*#__PURE__*/function (_ApiResource) {
|
|
7692
8398
|
};
|
7693
8399
|
};
|
7694
8400
|
|
8401
|
+
_proto.type = function type() {
|
8402
|
+
return InStockSubscriptions.TYPE;
|
8403
|
+
};
|
8404
|
+
|
7695
8405
|
return InStockSubscriptions;
|
7696
8406
|
}(ApiResource);
|
7697
8407
|
|
@@ -7864,6 +8574,10 @@ var InventoryModels = /*#__PURE__*/function (_ApiResource) {
|
|
7864
8574
|
};
|
7865
8575
|
};
|
7866
8576
|
|
8577
|
+
_proto.type = function type() {
|
8578
|
+
return InventoryModels.TYPE;
|
8579
|
+
};
|
8580
|
+
|
7867
8581
|
return InventoryModels;
|
7868
8582
|
}(ApiResource);
|
7869
8583
|
|
@@ -8036,6 +8750,10 @@ var InventoryReturnLocations = /*#__PURE__*/function (_ApiResource) {
|
|
8036
8750
|
};
|
8037
8751
|
};
|
8038
8752
|
|
8753
|
+
_proto.type = function type() {
|
8754
|
+
return InventoryReturnLocations.TYPE;
|
8755
|
+
};
|
8756
|
+
|
8039
8757
|
return InventoryReturnLocations;
|
8040
8758
|
}(ApiResource);
|
8041
8759
|
|
@@ -8208,6 +8926,10 @@ var InventoryStockLocations = /*#__PURE__*/function (_ApiResource) {
|
|
8208
8926
|
};
|
8209
8927
|
};
|
8210
8928
|
|
8929
|
+
_proto.type = function type() {
|
8930
|
+
return InventoryStockLocations.TYPE;
|
8931
|
+
};
|
8932
|
+
|
8211
8933
|
return InventoryStockLocations;
|
8212
8934
|
}(ApiResource);
|
8213
8935
|
|
@@ -8380,6 +9102,10 @@ var LineItemOptions = /*#__PURE__*/function (_ApiResource) {
|
|
8380
9102
|
};
|
8381
9103
|
};
|
8382
9104
|
|
9105
|
+
_proto.type = function type() {
|
9106
|
+
return LineItemOptions.TYPE;
|
9107
|
+
};
|
9108
|
+
|
8383
9109
|
return LineItemOptions;
|
8384
9110
|
}(ApiResource);
|
8385
9111
|
|
@@ -8552,6 +9278,10 @@ var LineItems = /*#__PURE__*/function (_ApiResource) {
|
|
8552
9278
|
};
|
8553
9279
|
};
|
8554
9280
|
|
9281
|
+
_proto.type = function type() {
|
9282
|
+
return LineItems.TYPE;
|
9283
|
+
};
|
9284
|
+
|
8555
9285
|
return LineItems;
|
8556
9286
|
}(ApiResource);
|
8557
9287
|
|
@@ -8724,6 +9454,10 @@ var ManualGateways = /*#__PURE__*/function (_ApiResource) {
|
|
8724
9454
|
};
|
8725
9455
|
};
|
8726
9456
|
|
9457
|
+
_proto.type = function type() {
|
9458
|
+
return ManualGateways.TYPE;
|
9459
|
+
};
|
9460
|
+
|
8727
9461
|
return ManualGateways;
|
8728
9462
|
}(ApiResource);
|
8729
9463
|
|
@@ -8896,6 +9630,10 @@ var ManualTaxCalculators = /*#__PURE__*/function (_ApiResource) {
|
|
8896
9630
|
};
|
8897
9631
|
};
|
8898
9632
|
|
9633
|
+
_proto.type = function type() {
|
9634
|
+
return ManualTaxCalculators.TYPE;
|
9635
|
+
};
|
9636
|
+
|
8899
9637
|
return ManualTaxCalculators;
|
8900
9638
|
}(ApiResource);
|
8901
9639
|
|
@@ -9068,6 +9806,10 @@ var Markets = /*#__PURE__*/function (_ApiResource) {
|
|
9068
9806
|
};
|
9069
9807
|
};
|
9070
9808
|
|
9809
|
+
_proto.type = function type() {
|
9810
|
+
return Markets.TYPE;
|
9811
|
+
};
|
9812
|
+
|
9071
9813
|
return Markets;
|
9072
9814
|
}(ApiResource);
|
9073
9815
|
|
@@ -9240,6 +9982,10 @@ var Merchants = /*#__PURE__*/function (_ApiResource) {
|
|
9240
9982
|
};
|
9241
9983
|
};
|
9242
9984
|
|
9985
|
+
_proto.type = function type() {
|
9986
|
+
return Merchants.TYPE;
|
9987
|
+
};
|
9988
|
+
|
9243
9989
|
return Merchants;
|
9244
9990
|
}(ApiResource);
|
9245
9991
|
|
@@ -9412,6 +10158,10 @@ var OrderAmountPromotionRules = /*#__PURE__*/function (_ApiResource) {
|
|
9412
10158
|
};
|
9413
10159
|
};
|
9414
10160
|
|
10161
|
+
_proto.type = function type() {
|
10162
|
+
return OrderAmountPromotionRules.TYPE;
|
10163
|
+
};
|
10164
|
+
|
9415
10165
|
return OrderAmountPromotionRules;
|
9416
10166
|
}(ApiResource);
|
9417
10167
|
|
@@ -9559,6 +10309,10 @@ var OrderCopies = /*#__PURE__*/function (_ApiResource) {
|
|
9559
10309
|
};
|
9560
10310
|
};
|
9561
10311
|
|
10312
|
+
_proto.type = function type() {
|
10313
|
+
return OrderCopies.TYPE;
|
10314
|
+
};
|
10315
|
+
|
9562
10316
|
return OrderCopies;
|
9563
10317
|
}(ApiResource);
|
9564
10318
|
|
@@ -9731,6 +10485,10 @@ var OrderSubscriptions = /*#__PURE__*/function (_ApiResource) {
|
|
9731
10485
|
};
|
9732
10486
|
};
|
9733
10487
|
|
10488
|
+
_proto.type = function type() {
|
10489
|
+
return OrderSubscriptions.TYPE;
|
10490
|
+
};
|
10491
|
+
|
9734
10492
|
return OrderSubscriptions;
|
9735
10493
|
}(ApiResource);
|
9736
10494
|
|
@@ -9800,6 +10558,10 @@ var OrderValidationRules = /*#__PURE__*/function (_ApiResource) {
|
|
9800
10558
|
};
|
9801
10559
|
};
|
9802
10560
|
|
10561
|
+
_proto.type = function type() {
|
10562
|
+
return OrderValidationRules.TYPE;
|
10563
|
+
};
|
10564
|
+
|
9803
10565
|
return OrderValidationRules;
|
9804
10566
|
}(ApiResource);
|
9805
10567
|
|
@@ -9972,6 +10734,10 @@ var Orders = /*#__PURE__*/function (_ApiResource) {
|
|
9972
10734
|
};
|
9973
10735
|
};
|
9974
10736
|
|
10737
|
+
_proto.type = function type() {
|
10738
|
+
return Orders.TYPE;
|
10739
|
+
};
|
10740
|
+
|
9975
10741
|
return Orders;
|
9976
10742
|
}(ApiResource);
|
9977
10743
|
|
@@ -10041,6 +10807,10 @@ var Organizations = /*#__PURE__*/function (_ApiResource) {
|
|
10041
10807
|
};
|
10042
10808
|
};
|
10043
10809
|
|
10810
|
+
_proto.type = function type() {
|
10811
|
+
return Organizations.TYPE;
|
10812
|
+
};
|
10813
|
+
|
10044
10814
|
return Organizations;
|
10045
10815
|
}(ApiResource);
|
10046
10816
|
|
@@ -10213,6 +10983,10 @@ var Packages = /*#__PURE__*/function (_ApiResource) {
|
|
10213
10983
|
};
|
10214
10984
|
};
|
10215
10985
|
|
10986
|
+
_proto.type = function type() {
|
10987
|
+
return Packages.TYPE;
|
10988
|
+
};
|
10989
|
+
|
10216
10990
|
return Packages;
|
10217
10991
|
}(ApiResource);
|
10218
10992
|
|
@@ -10385,6 +11159,10 @@ var ParcelLineItems = /*#__PURE__*/function (_ApiResource) {
|
|
10385
11159
|
};
|
10386
11160
|
};
|
10387
11161
|
|
11162
|
+
_proto.type = function type() {
|
11163
|
+
return ParcelLineItems.TYPE;
|
11164
|
+
};
|
11165
|
+
|
10388
11166
|
return ParcelLineItems;
|
10389
11167
|
}(ApiResource);
|
10390
11168
|
|
@@ -10557,6 +11335,10 @@ var Parcels = /*#__PURE__*/function (_ApiResource) {
|
|
10557
11335
|
};
|
10558
11336
|
};
|
10559
11337
|
|
11338
|
+
_proto.type = function type() {
|
11339
|
+
return Parcels.TYPE;
|
11340
|
+
};
|
11341
|
+
|
10560
11342
|
return Parcels;
|
10561
11343
|
}(ApiResource);
|
10562
11344
|
|
@@ -10729,6 +11511,10 @@ var PaymentGateways = /*#__PURE__*/function (_ApiResource) {
|
|
10729
11511
|
};
|
10730
11512
|
};
|
10731
11513
|
|
11514
|
+
_proto.type = function type() {
|
11515
|
+
return PaymentGateways.TYPE;
|
11516
|
+
};
|
11517
|
+
|
10732
11518
|
return PaymentGateways;
|
10733
11519
|
}(ApiResource);
|
10734
11520
|
|
@@ -10901,6 +11687,10 @@ var PaymentMethods = /*#__PURE__*/function (_ApiResource) {
|
|
10901
11687
|
};
|
10902
11688
|
};
|
10903
11689
|
|
11690
|
+
_proto.type = function type() {
|
11691
|
+
return PaymentMethods.TYPE;
|
11692
|
+
};
|
11693
|
+
|
10904
11694
|
return PaymentMethods;
|
10905
11695
|
}(ApiResource);
|
10906
11696
|
|
@@ -11073,6 +11863,10 @@ var PaypalGateways = /*#__PURE__*/function (_ApiResource) {
|
|
11073
11863
|
};
|
11074
11864
|
};
|
11075
11865
|
|
11866
|
+
_proto.type = function type() {
|
11867
|
+
return PaypalGateways.TYPE;
|
11868
|
+
};
|
11869
|
+
|
11076
11870
|
return PaypalGateways;
|
11077
11871
|
}(ApiResource);
|
11078
11872
|
|
@@ -11245,6 +12039,10 @@ var PaypalPayments = /*#__PURE__*/function (_ApiResource) {
|
|
11245
12039
|
};
|
11246
12040
|
};
|
11247
12041
|
|
12042
|
+
_proto.type = function type() {
|
12043
|
+
return PaypalPayments.TYPE;
|
12044
|
+
};
|
12045
|
+
|
11248
12046
|
return PaypalPayments;
|
11249
12047
|
}(ApiResource);
|
11250
12048
|
|
@@ -11417,6 +12215,10 @@ var PercentageDiscountPromotions = /*#__PURE__*/function (_ApiResource) {
|
|
11417
12215
|
};
|
11418
12216
|
};
|
11419
12217
|
|
12218
|
+
_proto.type = function type() {
|
12219
|
+
return PercentageDiscountPromotions.TYPE;
|
12220
|
+
};
|
12221
|
+
|
11420
12222
|
return PercentageDiscountPromotions;
|
11421
12223
|
}(ApiResource);
|
11422
12224
|
|
@@ -11589,6 +12391,10 @@ var PriceLists = /*#__PURE__*/function (_ApiResource) {
|
|
11589
12391
|
};
|
11590
12392
|
};
|
11591
12393
|
|
12394
|
+
_proto.type = function type() {
|
12395
|
+
return PriceLists.TYPE;
|
12396
|
+
};
|
12397
|
+
|
11592
12398
|
return PriceLists;
|
11593
12399
|
}(ApiResource);
|
11594
12400
|
|
@@ -11761,6 +12567,10 @@ var Prices = /*#__PURE__*/function (_ApiResource) {
|
|
11761
12567
|
};
|
11762
12568
|
};
|
11763
12569
|
|
12570
|
+
_proto.type = function type() {
|
12571
|
+
return Prices.TYPE;
|
12572
|
+
};
|
12573
|
+
|
11764
12574
|
return Prices;
|
11765
12575
|
}(ApiResource);
|
11766
12576
|
|
@@ -11830,6 +12640,10 @@ var PromotionRules = /*#__PURE__*/function (_ApiResource) {
|
|
11830
12640
|
};
|
11831
12641
|
};
|
11832
12642
|
|
12643
|
+
_proto.type = function type() {
|
12644
|
+
return PromotionRules.TYPE;
|
12645
|
+
};
|
12646
|
+
|
11833
12647
|
return PromotionRules;
|
11834
12648
|
}(ApiResource);
|
11835
12649
|
|
@@ -11899,6 +12713,10 @@ var Promotions = /*#__PURE__*/function (_ApiResource) {
|
|
11899
12713
|
};
|
11900
12714
|
};
|
11901
12715
|
|
12716
|
+
_proto.type = function type() {
|
12717
|
+
return Promotions.TYPE;
|
12718
|
+
};
|
12719
|
+
|
11902
12720
|
return Promotions;
|
11903
12721
|
}(ApiResource);
|
11904
12722
|
|
@@ -11994,6 +12812,10 @@ var Refunds = /*#__PURE__*/function (_ApiResource) {
|
|
11994
12812
|
};
|
11995
12813
|
};
|
11996
12814
|
|
12815
|
+
_proto.type = function type() {
|
12816
|
+
return Refunds.TYPE;
|
12817
|
+
};
|
12818
|
+
|
11997
12819
|
return Refunds;
|
11998
12820
|
}(ApiResource);
|
11999
12821
|
|
@@ -12166,6 +12988,10 @@ var ReturnLineItems = /*#__PURE__*/function (_ApiResource) {
|
|
12166
12988
|
};
|
12167
12989
|
};
|
12168
12990
|
|
12991
|
+
_proto.type = function type() {
|
12992
|
+
return ReturnLineItems.TYPE;
|
12993
|
+
};
|
12994
|
+
|
12169
12995
|
return ReturnLineItems;
|
12170
12996
|
}(ApiResource);
|
12171
12997
|
|
@@ -12338,6 +13164,10 @@ var Returns = /*#__PURE__*/function (_ApiResource) {
|
|
12338
13164
|
};
|
12339
13165
|
};
|
12340
13166
|
|
13167
|
+
_proto.type = function type() {
|
13168
|
+
return Returns.TYPE;
|
13169
|
+
};
|
13170
|
+
|
12341
13171
|
return Returns;
|
12342
13172
|
}(ApiResource);
|
12343
13173
|
|
@@ -12458,6 +13288,10 @@ var Shipments = /*#__PURE__*/function (_ApiResource) {
|
|
12458
13288
|
};
|
12459
13289
|
};
|
12460
13290
|
|
13291
|
+
_proto.type = function type() {
|
13292
|
+
return Shipments.TYPE;
|
13293
|
+
};
|
13294
|
+
|
12461
13295
|
return Shipments;
|
12462
13296
|
}(ApiResource);
|
12463
13297
|
|
@@ -12630,6 +13464,10 @@ var ShippingCategories = /*#__PURE__*/function (_ApiResource) {
|
|
12630
13464
|
};
|
12631
13465
|
};
|
12632
13466
|
|
13467
|
+
_proto.type = function type() {
|
13468
|
+
return ShippingCategories.TYPE;
|
13469
|
+
};
|
13470
|
+
|
12633
13471
|
return ShippingCategories;
|
12634
13472
|
}(ApiResource);
|
12635
13473
|
|
@@ -12802,6 +13640,10 @@ var ShippingMethods = /*#__PURE__*/function (_ApiResource) {
|
|
12802
13640
|
};
|
12803
13641
|
};
|
12804
13642
|
|
13643
|
+
_proto.type = function type() {
|
13644
|
+
return ShippingMethods.TYPE;
|
13645
|
+
};
|
13646
|
+
|
12805
13647
|
return ShippingMethods;
|
12806
13648
|
}(ApiResource);
|
12807
13649
|
|
@@ -12974,6 +13816,10 @@ var ShippingZones = /*#__PURE__*/function (_ApiResource) {
|
|
12974
13816
|
};
|
12975
13817
|
};
|
12976
13818
|
|
13819
|
+
_proto.type = function type() {
|
13820
|
+
return ShippingZones.TYPE;
|
13821
|
+
};
|
13822
|
+
|
12977
13823
|
return ShippingZones;
|
12978
13824
|
}(ApiResource);
|
12979
13825
|
|
@@ -13146,6 +13992,10 @@ var SkuListItems = /*#__PURE__*/function (_ApiResource) {
|
|
13146
13992
|
};
|
13147
13993
|
};
|
13148
13994
|
|
13995
|
+
_proto.type = function type() {
|
13996
|
+
return SkuListItems.TYPE;
|
13997
|
+
};
|
13998
|
+
|
13149
13999
|
return SkuListItems;
|
13150
14000
|
}(ApiResource);
|
13151
14001
|
|
@@ -13318,6 +14168,10 @@ var SkuListPromotionRules = /*#__PURE__*/function (_ApiResource) {
|
|
13318
14168
|
};
|
13319
14169
|
};
|
13320
14170
|
|
14171
|
+
_proto.type = function type() {
|
14172
|
+
return SkuListPromotionRules.TYPE;
|
14173
|
+
};
|
14174
|
+
|
13321
14175
|
return SkuListPromotionRules;
|
13322
14176
|
}(ApiResource);
|
13323
14177
|
|
@@ -13490,6 +14344,10 @@ var SkuLists = /*#__PURE__*/function (_ApiResource) {
|
|
13490
14344
|
};
|
13491
14345
|
};
|
13492
14346
|
|
14347
|
+
_proto.type = function type() {
|
14348
|
+
return SkuLists.TYPE;
|
14349
|
+
};
|
14350
|
+
|
13493
14351
|
return SkuLists;
|
13494
14352
|
}(ApiResource);
|
13495
14353
|
|
@@ -13662,6 +14520,10 @@ var SkuOptions = /*#__PURE__*/function (_ApiResource) {
|
|
13662
14520
|
};
|
13663
14521
|
};
|
13664
14522
|
|
14523
|
+
_proto.type = function type() {
|
14524
|
+
return SkuOptions.TYPE;
|
14525
|
+
};
|
14526
|
+
|
13665
14527
|
return SkuOptions;
|
13666
14528
|
}(ApiResource);
|
13667
14529
|
|
@@ -13834,6 +14696,10 @@ var Skus = /*#__PURE__*/function (_ApiResource) {
|
|
13834
14696
|
};
|
13835
14697
|
};
|
13836
14698
|
|
14699
|
+
_proto.type = function type() {
|
14700
|
+
return Skus.TYPE;
|
14701
|
+
};
|
14702
|
+
|
13837
14703
|
return Skus;
|
13838
14704
|
}(ApiResource);
|
13839
14705
|
|
@@ -14006,6 +14872,10 @@ var StockItems = /*#__PURE__*/function (_ApiResource) {
|
|
14006
14872
|
};
|
14007
14873
|
};
|
14008
14874
|
|
14875
|
+
_proto.type = function type() {
|
14876
|
+
return StockItems.TYPE;
|
14877
|
+
};
|
14878
|
+
|
14009
14879
|
return StockItems;
|
14010
14880
|
}(ApiResource);
|
14011
14881
|
|
@@ -14101,6 +14971,10 @@ var StockLineItems = /*#__PURE__*/function (_ApiResource) {
|
|
14101
14971
|
};
|
14102
14972
|
};
|
14103
14973
|
|
14974
|
+
_proto.type = function type() {
|
14975
|
+
return StockLineItems.TYPE;
|
14976
|
+
};
|
14977
|
+
|
14104
14978
|
return StockLineItems;
|
14105
14979
|
}(ApiResource);
|
14106
14980
|
|
@@ -14273,6 +15147,10 @@ var StockLocations = /*#__PURE__*/function (_ApiResource) {
|
|
14273
15147
|
};
|
14274
15148
|
};
|
14275
15149
|
|
15150
|
+
_proto.type = function type() {
|
15151
|
+
return StockLocations.TYPE;
|
15152
|
+
};
|
15153
|
+
|
14276
15154
|
return StockLocations;
|
14277
15155
|
}(ApiResource);
|
14278
15156
|
|
@@ -14445,6 +15323,10 @@ var StockTransfers = /*#__PURE__*/function (_ApiResource) {
|
|
14445
15323
|
};
|
14446
15324
|
};
|
14447
15325
|
|
15326
|
+
_proto.type = function type() {
|
15327
|
+
return StockTransfers.TYPE;
|
15328
|
+
};
|
15329
|
+
|
14448
15330
|
return StockTransfers;
|
14449
15331
|
}(ApiResource);
|
14450
15332
|
|
@@ -14617,6 +15499,10 @@ var StripeGateways = /*#__PURE__*/function (_ApiResource) {
|
|
14617
15499
|
};
|
14618
15500
|
};
|
14619
15501
|
|
15502
|
+
_proto.type = function type() {
|
15503
|
+
return StripeGateways.TYPE;
|
15504
|
+
};
|
15505
|
+
|
14620
15506
|
return StripeGateways;
|
14621
15507
|
}(ApiResource);
|
14622
15508
|
|
@@ -14789,6 +15675,10 @@ var StripePayments = /*#__PURE__*/function (_ApiResource) {
|
|
14789
15675
|
};
|
14790
15676
|
};
|
14791
15677
|
|
15678
|
+
_proto.type = function type() {
|
15679
|
+
return StripePayments.TYPE;
|
15680
|
+
};
|
15681
|
+
|
14792
15682
|
return StripePayments;
|
14793
15683
|
}(ApiResource);
|
14794
15684
|
|
@@ -14858,6 +15748,10 @@ var TaxCalculators = /*#__PURE__*/function (_ApiResource) {
|
|
14858
15748
|
};
|
14859
15749
|
};
|
14860
15750
|
|
15751
|
+
_proto.type = function type() {
|
15752
|
+
return TaxCalculators.TYPE;
|
15753
|
+
};
|
15754
|
+
|
14861
15755
|
return TaxCalculators;
|
14862
15756
|
}(ApiResource);
|
14863
15757
|
|
@@ -15030,6 +15924,10 @@ var TaxCategories = /*#__PURE__*/function (_ApiResource) {
|
|
15030
15924
|
};
|
15031
15925
|
};
|
15032
15926
|
|
15927
|
+
_proto.type = function type() {
|
15928
|
+
return TaxCategories.TYPE;
|
15929
|
+
};
|
15930
|
+
|
15033
15931
|
return TaxCategories;
|
15034
15932
|
}(ApiResource);
|
15035
15933
|
|
@@ -15202,6 +16100,10 @@ var TaxRules = /*#__PURE__*/function (_ApiResource) {
|
|
15202
16100
|
};
|
15203
16101
|
};
|
15204
16102
|
|
16103
|
+
_proto.type = function type() {
|
16104
|
+
return TaxRules.TYPE;
|
16105
|
+
};
|
16106
|
+
|
15205
16107
|
return TaxRules;
|
15206
16108
|
}(ApiResource);
|
15207
16109
|
|
@@ -15374,6 +16276,10 @@ var TaxjarAccounts = /*#__PURE__*/function (_ApiResource) {
|
|
15374
16276
|
};
|
15375
16277
|
};
|
15376
16278
|
|
16279
|
+
_proto.type = function type() {
|
16280
|
+
return TaxjarAccounts.TYPE;
|
16281
|
+
};
|
16282
|
+
|
15377
16283
|
return TaxjarAccounts;
|
15378
16284
|
}(ApiResource);
|
15379
16285
|
|
@@ -15443,6 +16349,10 @@ var Transactions = /*#__PURE__*/function (_ApiResource) {
|
|
15443
16349
|
};
|
15444
16350
|
};
|
15445
16351
|
|
16352
|
+
_proto.type = function type() {
|
16353
|
+
return Transactions.TYPE;
|
16354
|
+
};
|
16355
|
+
|
15446
16356
|
return Transactions;
|
15447
16357
|
}(ApiResource);
|
15448
16358
|
|
@@ -15538,6 +16448,10 @@ var Voids = /*#__PURE__*/function (_ApiResource) {
|
|
15538
16448
|
};
|
15539
16449
|
};
|
15540
16450
|
|
16451
|
+
_proto.type = function type() {
|
16452
|
+
return Voids.TYPE;
|
16453
|
+
};
|
16454
|
+
|
15541
16455
|
return Voids;
|
15542
16456
|
}(ApiResource);
|
15543
16457
|
|
@@ -15710,6 +16624,10 @@ var Webhooks = /*#__PURE__*/function (_ApiResource) {
|
|
15710
16624
|
};
|
15711
16625
|
};
|
15712
16626
|
|
16627
|
+
_proto.type = function type() {
|
16628
|
+
return Webhooks.TYPE;
|
16629
|
+
};
|
16630
|
+
|
15713
16631
|
return Webhooks;
|
15714
16632
|
}(ApiResource);
|
15715
16633
|
|
@@ -15882,6 +16800,10 @@ var WireTransfers = /*#__PURE__*/function (_ApiResource) {
|
|
15882
16800
|
};
|
15883
16801
|
};
|
15884
16802
|
|
16803
|
+
_proto.type = function type() {
|
16804
|
+
return WireTransfers.TYPE;
|
16805
|
+
};
|
16806
|
+
|
15885
16807
|
return WireTransfers;
|
15886
16808
|
}(ApiResource);
|
15887
16809
|
|
@@ -15890,7 +16812,7 @@ WireTransfers.TYPE = 'wire_transfers';
|
|
15890
16812
|
// ##__API_RESOURCES_START__##
|
15891
16813
|
|
15892
16814
|
var resourceList = [// ##__API_RESOURCE_LIST_START__##
|
15893
|
-
'addresses', 'adjustments', 'adyen_gateways', 'adyen_payments', 'application', 'attachments', 'authorizations', 'avalara_accounts', 'billing_info_validation_rules', 'bing_geocoders', 'braintree_gateways', 'braintree_payments', 'bundles', 'captures', 'carrier_accounts', 'checkout_com_gateways', 'checkout_com_payments', 'coupon_codes_promotion_rules', 'coupons', 'customer_addresses', 'customer_groups', 'customer_password_resets', 'customer_payment_sources', 'customer_subscriptions', 'customers', 'delivery_lead_times', 'event_callbacks', 'external_gateways', 'external_payments', 'external_promotions', 'external_tax_calculators', 'fixed_amount_promotions', 'free_shipping_promotions', 'geocoders', 'gift_card_recipients', 'gift_cards', 'google_geocoders', 'imports', 'in_stock_subscriptions', 'inventory_models', 'inventory_return_locations', 'inventory_stock_locations', 'line_item_options', 'line_items', 'manual_gateways', 'manual_tax_calculators', 'markets', 'merchants', 'order_amount_promotion_rules', 'order_copies', 'order_subscriptions', 'order_validation_rules', 'orders', 'organization', 'packages', 'parcel_line_items', 'parcels', 'payment_gateways', 'payment_methods', 'paypal_gateways', 'paypal_payments', 'percentage_discount_promotions', 'price_lists', 'prices', 'promotion_rules', 'promotions', 'refunds', 'return_line_items', 'returns', 'shipments', 'shipping_categories', 'shipping_methods', 'shipping_zones', 'sku_list_items', 'sku_list_promotion_rules', 'sku_lists', 'sku_options', 'skus', 'stock_items', 'stock_line_items', 'stock_locations', 'stock_transfers', 'stripe_gateways', 'stripe_payments', 'tax_calculators', 'tax_categories', 'tax_rules', 'taxjar_accounts', 'transactions', 'voids', 'webhooks', 'wire_transfers' // ##__API_RESOURCE_LIST_STOP__##
|
16815
|
+
'addresses', 'adjustments', 'adyen_gateways', 'adyen_payments', 'application', 'attachments', 'authorizations', 'avalara_accounts', 'billing_info_validation_rules', 'bing_geocoders', 'braintree_gateways', 'braintree_payments', 'bundles', 'captures', 'carrier_accounts', 'checkout_com_gateways', 'checkout_com_payments', 'coupon_codes_promotion_rules', 'coupon_recipients', 'coupons', 'customer_addresses', 'customer_groups', 'customer_password_resets', 'customer_payment_sources', 'customer_subscriptions', 'customers', 'delivery_lead_times', 'event_callbacks', 'external_gateways', 'external_payments', 'external_promotions', 'external_tax_calculators', 'fixed_amount_promotions', 'fixed_price_promotions', 'free_gift_promotions', 'free_shipping_promotions', 'geocoders', 'gift_card_recipients', 'gift_cards', 'google_geocoders', 'imports', 'in_stock_subscriptions', 'inventory_models', 'inventory_return_locations', 'inventory_stock_locations', 'line_item_options', 'line_items', 'manual_gateways', 'manual_tax_calculators', 'markets', 'merchants', 'order_amount_promotion_rules', 'order_copies', 'order_subscriptions', 'order_validation_rules', 'orders', 'organization', 'packages', 'parcel_line_items', 'parcels', 'payment_gateways', 'payment_methods', 'paypal_gateways', 'paypal_payments', 'percentage_discount_promotions', 'price_lists', 'prices', 'promotion_rules', 'promotions', 'refunds', 'return_line_items', 'returns', 'shipments', 'shipping_categories', 'shipping_methods', 'shipping_zones', 'sku_list_items', 'sku_list_promotion_rules', 'sku_lists', 'sku_options', 'skus', 'stock_items', 'stock_line_items', 'stock_locations', 'stock_transfers', 'stripe_gateways', 'stripe_payments', 'tax_calculators', 'tax_categories', 'tax_rules', 'taxjar_accounts', 'transactions', 'voids', 'webhooks', 'wire_transfers' // ##__API_RESOURCE_LIST_STOP__##
|
15894
16816
|
];
|
15895
16817
|
/*
|
15896
16818
|
type ResourceInfo = {
|
@@ -16045,6 +16967,7 @@ var CommerceLayerClient = /*#__PURE__*/function () {
|
|
16045
16967
|
this.checkout_com_gateways = new CheckoutComGateways(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16046
16968
|
this.checkout_com_payments = new CheckoutComPayments(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16047
16969
|
this.coupon_codes_promotion_rules = new CouponCodesPromotionRules(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16970
|
+
this.coupon_recipients = new CouponRecipients(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16048
16971
|
this.coupons = new Coupons(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16049
16972
|
this.customer_addresses = new CustomerAddresses(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16050
16973
|
this.customer_groups = new CustomerGroups(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
@@ -16059,6 +16982,8 @@ var CommerceLayerClient = /*#__PURE__*/function () {
|
|
16059
16982
|
this.external_promotions = new ExternalPromotions(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16060
16983
|
this.external_tax_calculators = new ExternalTaxCalculators(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16061
16984
|
this.fixed_amount_promotions = new FixedAmountPromotions(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16985
|
+
this.fixed_price_promotions = new FixedPricePromotions(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16986
|
+
this.free_gift_promotions = new FreeGiftPromotions(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16062
16987
|
this.free_shipping_promotions = new FreeShippingPromotions(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16063
16988
|
this.geocoders = new Geocoders(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|
16064
16989
|
this.gift_card_recipients = new GiftCardRecipients(_classPrivateFieldLooseBase(this, _adapter)[_adapter]);
|