@commercelayer/sdk 6.25.2 → 6.26.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/index.d.mts +352 -240
- package/lib/index.d.ts +352 -240
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +2 -2
package/lib/index.d.mts
CHANGED
@@ -933,7 +933,7 @@ type StoreType = 'stores';
|
|
933
933
|
type StoreRel$2 = ResourceRel & {
|
934
934
|
type: StoreType;
|
935
935
|
};
|
936
|
-
type MarketRel$
|
936
|
+
type MarketRel$j = ResourceRel & {
|
937
937
|
type: MarketType;
|
938
938
|
};
|
939
939
|
type MerchantRel$3 = ResourceRel & {
|
@@ -974,7 +974,7 @@ interface StoreCreate extends ResourceCreate {
|
|
974
974
|
* @example ```"europe1"```
|
975
975
|
*/
|
976
976
|
code?: string | null;
|
977
|
-
market: MarketRel$
|
977
|
+
market: MarketRel$j;
|
978
978
|
merchant?: MerchantRel$3 | null;
|
979
979
|
stock_location?: StockLocationRel$8 | null;
|
980
980
|
}
|
@@ -989,7 +989,7 @@ interface StoreUpdate extends ResourceUpdate {
|
|
989
989
|
* @example ```"europe1"```
|
990
990
|
*/
|
991
991
|
code?: string | null;
|
992
|
-
market?: MarketRel$
|
992
|
+
market?: MarketRel$j | null;
|
993
993
|
merchant?: MerchantRel$3 | null;
|
994
994
|
stock_location?: StockLocationRel$8 | null;
|
995
995
|
}
|
@@ -1015,7 +1015,7 @@ type PaymentMethodType = 'payment_methods';
|
|
1015
1015
|
type PaymentMethodRel$4 = ResourceRel & {
|
1016
1016
|
type: PaymentMethodType;
|
1017
1017
|
};
|
1018
|
-
type MarketRel$
|
1018
|
+
type MarketRel$i = ResourceRel & {
|
1019
1019
|
type: MarketType;
|
1020
1020
|
};
|
1021
1021
|
type PaymentGatewayRel = ResourceRel & {
|
@@ -1149,7 +1149,7 @@ interface PaymentMethodCreate extends ResourceCreate {
|
|
1149
1149
|
* @example ```"true"```
|
1150
1150
|
*/
|
1151
1151
|
_enable?: boolean | null;
|
1152
|
-
market?: MarketRel$
|
1152
|
+
market?: MarketRel$i | null;
|
1153
1153
|
payment_gateway: PaymentGatewayRel;
|
1154
1154
|
store?: StoreRel$1 | null;
|
1155
1155
|
}
|
@@ -1205,7 +1205,7 @@ interface PaymentMethodUpdate extends ResourceUpdate {
|
|
1205
1205
|
* @example ```"true"```
|
1206
1206
|
*/
|
1207
1207
|
_enable?: boolean | null;
|
1208
|
-
market?: MarketRel$
|
1208
|
+
market?: MarketRel$i | null;
|
1209
1209
|
payment_gateway?: PaymentGatewayRel | null;
|
1210
1210
|
store?: StoreRel$1 | null;
|
1211
1211
|
}
|
@@ -1231,7 +1231,7 @@ type AdyenPaymentType = 'adyen_payments';
|
|
1231
1231
|
type AdyenPaymentRel$3 = ResourceRel & {
|
1232
1232
|
type: AdyenPaymentType;
|
1233
1233
|
};
|
1234
|
-
type OrderRel$
|
1234
|
+
type OrderRel$k = ResourceRel & {
|
1235
1235
|
type: OrderType;
|
1236
1236
|
};
|
1237
1237
|
type AdyenPaymentSort = Pick<AdyenPayment, 'id'> & ResourceSort;
|
@@ -1276,7 +1276,7 @@ interface AdyenPayment extends Resource {
|
|
1276
1276
|
versions?: Version[] | null;
|
1277
1277
|
}
|
1278
1278
|
interface AdyenPaymentCreate extends ResourceCreate {
|
1279
|
-
order: OrderRel$
|
1279
|
+
order: OrderRel$k;
|
1280
1280
|
}
|
1281
1281
|
interface AdyenPaymentUpdate extends ResourceUpdate {
|
1282
1282
|
/**
|
@@ -1299,7 +1299,7 @@ interface AdyenPaymentUpdate extends ResourceUpdate {
|
|
1299
1299
|
* @example ```"true"```
|
1300
1300
|
*/
|
1301
1301
|
_details?: boolean | null;
|
1302
|
-
order?: OrderRel$
|
1302
|
+
order?: OrderRel$k | null;
|
1303
1303
|
}
|
1304
1304
|
declare class AdyenPayments extends ApiResource<AdyenPayment> {
|
1305
1305
|
static readonly TYPE: AdyenPaymentType;
|
@@ -1320,7 +1320,7 @@ type AxervePaymentType = 'axerve_payments';
|
|
1320
1320
|
type AxervePaymentRel$3 = ResourceRel & {
|
1321
1321
|
type: AxervePaymentType;
|
1322
1322
|
};
|
1323
|
-
type OrderRel$
|
1323
|
+
type OrderRel$j = ResourceRel & {
|
1324
1324
|
type: OrderType;
|
1325
1325
|
};
|
1326
1326
|
type AxervePaymentSort = Pick<AxervePayment, 'id'> & ResourceSort;
|
@@ -1390,7 +1390,7 @@ interface AxervePaymentCreate extends ResourceCreate {
|
|
1390
1390
|
* @example ```"true"```
|
1391
1391
|
*/
|
1392
1392
|
request_token?: boolean | null;
|
1393
|
-
order: OrderRel$
|
1393
|
+
order: OrderRel$j;
|
1394
1394
|
}
|
1395
1395
|
interface AxervePaymentUpdate extends ResourceUpdate {
|
1396
1396
|
/**
|
@@ -1403,7 +1403,7 @@ interface AxervePaymentUpdate extends ResourceUpdate {
|
|
1403
1403
|
* @example ```"true"```
|
1404
1404
|
*/
|
1405
1405
|
_update?: boolean | null;
|
1406
|
-
order?: OrderRel$
|
1406
|
+
order?: OrderRel$j | null;
|
1407
1407
|
}
|
1408
1408
|
declare class AxervePayments extends ApiResource<AxervePayment> {
|
1409
1409
|
static readonly TYPE: AxervePaymentType;
|
@@ -1424,7 +1424,7 @@ type BraintreePaymentType = 'braintree_payments';
|
|
1424
1424
|
type BraintreePaymentRel$3 = ResourceRel & {
|
1425
1425
|
type: BraintreePaymentType;
|
1426
1426
|
};
|
1427
|
-
type OrderRel$
|
1427
|
+
type OrderRel$i = ResourceRel & {
|
1428
1428
|
type: OrderType;
|
1429
1429
|
};
|
1430
1430
|
type BraintreePaymentSort = Pick<BraintreePayment, 'id'> & ResourceSort;
|
@@ -1480,7 +1480,7 @@ interface BraintreePaymentCreate extends ResourceCreate {
|
|
1480
1480
|
* @example ```"[object Object]"```
|
1481
1481
|
*/
|
1482
1482
|
options?: Record<string, any> | null;
|
1483
|
-
order: OrderRel$
|
1483
|
+
order: OrderRel$i;
|
1484
1484
|
}
|
1485
1485
|
interface BraintreePaymentUpdate extends ResourceUpdate {
|
1486
1486
|
/**
|
@@ -1503,7 +1503,7 @@ interface BraintreePaymentUpdate extends ResourceUpdate {
|
|
1503
1503
|
* @example ```"[object Object]"```
|
1504
1504
|
*/
|
1505
1505
|
options?: Record<string, any> | null;
|
1506
|
-
order?: OrderRel$
|
1506
|
+
order?: OrderRel$i | null;
|
1507
1507
|
}
|
1508
1508
|
declare class BraintreePayments extends ApiResource<BraintreePayment> {
|
1509
1509
|
static readonly TYPE: BraintreePaymentType;
|
@@ -1523,7 +1523,7 @@ type CheckoutComPaymentType = 'checkout_com_payments';
|
|
1523
1523
|
type CheckoutComPaymentRel$3 = ResourceRel & {
|
1524
1524
|
type: CheckoutComPaymentType;
|
1525
1525
|
};
|
1526
|
-
type OrderRel$
|
1526
|
+
type OrderRel$h = ResourceRel & {
|
1527
1527
|
type: OrderType;
|
1528
1528
|
};
|
1529
1529
|
type CheckoutComPaymentSort = Pick<CheckoutComPayment, 'id'> & ResourceSort;
|
@@ -1618,7 +1618,7 @@ interface CheckoutComPaymentCreate extends ResourceCreate {
|
|
1618
1618
|
* @example ```"http://commercelayer.dev/checkout_com/failure"```
|
1619
1619
|
*/
|
1620
1620
|
failure_url?: string | null;
|
1621
|
-
order: OrderRel$
|
1621
|
+
order: OrderRel$h;
|
1622
1622
|
}
|
1623
1623
|
interface CheckoutComPaymentUpdate extends ResourceUpdate {
|
1624
1624
|
/**
|
@@ -1656,7 +1656,7 @@ interface CheckoutComPaymentUpdate extends ResourceUpdate {
|
|
1656
1656
|
* @example ```"true"```
|
1657
1657
|
*/
|
1658
1658
|
_refresh?: boolean | null;
|
1659
|
-
order?: OrderRel$
|
1659
|
+
order?: OrderRel$h | null;
|
1660
1660
|
}
|
1661
1661
|
declare class CheckoutComPayments extends ApiResource<CheckoutComPayment> {
|
1662
1662
|
static readonly TYPE: CheckoutComPaymentType;
|
@@ -1678,7 +1678,7 @@ type ExternalPaymentType = 'external_payments';
|
|
1678
1678
|
type ExternalPaymentRel$2 = ResourceRel & {
|
1679
1679
|
type: ExternalPaymentType;
|
1680
1680
|
};
|
1681
|
-
type OrderRel$
|
1681
|
+
type OrderRel$g = ResourceRel & {
|
1682
1682
|
type: OrderType;
|
1683
1683
|
};
|
1684
1684
|
type ExternalPaymentSort = Pick<ExternalPayment, 'id'> & ResourceSort;
|
@@ -1715,7 +1715,7 @@ interface ExternalPaymentCreate extends ResourceCreate {
|
|
1715
1715
|
* @example ```"[object Object]"```
|
1716
1716
|
*/
|
1717
1717
|
options?: Record<string, any> | null;
|
1718
|
-
order: OrderRel$
|
1718
|
+
order: OrderRel$g;
|
1719
1719
|
}
|
1720
1720
|
interface ExternalPaymentUpdate extends ResourceUpdate {
|
1721
1721
|
/**
|
@@ -1723,7 +1723,7 @@ interface ExternalPaymentUpdate extends ResourceUpdate {
|
|
1723
1723
|
* @example ```"[object Object]"```
|
1724
1724
|
*/
|
1725
1725
|
options?: Record<string, any> | null;
|
1726
|
-
order?: OrderRel$
|
1726
|
+
order?: OrderRel$g | null;
|
1727
1727
|
}
|
1728
1728
|
declare class ExternalPayments extends ApiResource<ExternalPayment> {
|
1729
1729
|
static readonly TYPE: ExternalPaymentType;
|
@@ -1744,7 +1744,7 @@ type KlarnaPaymentType = 'klarna_payments';
|
|
1744
1744
|
type KlarnaPaymentRel$3 = ResourceRel & {
|
1745
1745
|
type: KlarnaPaymentType;
|
1746
1746
|
};
|
1747
|
-
type OrderRel$
|
1747
|
+
type OrderRel$f = ResourceRel & {
|
1748
1748
|
type: OrderType;
|
1749
1749
|
};
|
1750
1750
|
type KlarnaPaymentSort = Pick<KlarnaPayment, 'id'> & ResourceSort;
|
@@ -1784,7 +1784,7 @@ interface KlarnaPayment extends Resource {
|
|
1784
1784
|
versions?: Version[] | null;
|
1785
1785
|
}
|
1786
1786
|
interface KlarnaPaymentCreate extends ResourceCreate {
|
1787
|
-
order: OrderRel$
|
1787
|
+
order: OrderRel$f;
|
1788
1788
|
}
|
1789
1789
|
interface KlarnaPaymentUpdate extends ResourceUpdate {
|
1790
1790
|
/**
|
@@ -1797,7 +1797,7 @@ interface KlarnaPaymentUpdate extends ResourceUpdate {
|
|
1797
1797
|
* @example ```"true"```
|
1798
1798
|
*/
|
1799
1799
|
_update?: boolean | null;
|
1800
|
-
order?: OrderRel$
|
1800
|
+
order?: OrderRel$f | null;
|
1801
1801
|
}
|
1802
1802
|
declare class KlarnaPayments extends ApiResource<KlarnaPayment> {
|
1803
1803
|
static readonly TYPE: KlarnaPaymentType;
|
@@ -1818,7 +1818,7 @@ type PaypalPaymentType = 'paypal_payments';
|
|
1818
1818
|
type PaypalPaymentRel$2 = ResourceRel & {
|
1819
1819
|
type: PaypalPaymentType;
|
1820
1820
|
};
|
1821
|
-
type OrderRel$
|
1821
|
+
type OrderRel$e = ResourceRel & {
|
1822
1822
|
type: OrderType;
|
1823
1823
|
};
|
1824
1824
|
type PaypalPaymentSort = Pick<PaypalPayment, 'id'> & ResourceSort;
|
@@ -1893,7 +1893,7 @@ interface PaypalPaymentCreate extends ResourceCreate {
|
|
1893
1893
|
* @example ```"Thank you for shopping with us!"```
|
1894
1894
|
*/
|
1895
1895
|
note_to_payer?: string | null;
|
1896
|
-
order: OrderRel$
|
1896
|
+
order: OrderRel$e;
|
1897
1897
|
}
|
1898
1898
|
interface PaypalPaymentUpdate extends ResourceUpdate {
|
1899
1899
|
/**
|
@@ -1901,7 +1901,7 @@ interface PaypalPaymentUpdate extends ResourceUpdate {
|
|
1901
1901
|
* @example ```"ABCDEFGHG123456"```
|
1902
1902
|
*/
|
1903
1903
|
paypal_payer_id?: string | null;
|
1904
|
-
order?: OrderRel$
|
1904
|
+
order?: OrderRel$e | null;
|
1905
1905
|
}
|
1906
1906
|
declare class PaypalPayments extends ApiResource<PaypalPayment> {
|
1907
1907
|
static readonly TYPE: PaypalPaymentType;
|
@@ -1921,7 +1921,7 @@ type SatispayPaymentType = 'satispay_payments';
|
|
1921
1921
|
type SatispayPaymentRel$3 = ResourceRel & {
|
1922
1922
|
type: SatispayPaymentType;
|
1923
1923
|
};
|
1924
|
-
type OrderRel$
|
1924
|
+
type OrderRel$d = ResourceRel & {
|
1925
1925
|
type: OrderType;
|
1926
1926
|
};
|
1927
1927
|
type SatispayPaymentSort = Pick<SatispayPayment, 'id' | 'flow' | 'status'> & ResourceSort;
|
@@ -1977,7 +1977,7 @@ interface SatispayPaymentCreate extends ResourceCreate {
|
|
1977
1977
|
* @example ```"http://commercelayer.dev/satispay/redirect"```
|
1978
1978
|
*/
|
1979
1979
|
redirect_url?: string | null;
|
1980
|
-
order: OrderRel$
|
1980
|
+
order: OrderRel$d;
|
1981
1981
|
}
|
1982
1982
|
interface SatispayPaymentUpdate extends ResourceUpdate {
|
1983
1983
|
/**
|
@@ -1990,7 +1990,7 @@ interface SatispayPaymentUpdate extends ResourceUpdate {
|
|
1990
1990
|
* @example ```"true"```
|
1991
1991
|
*/
|
1992
1992
|
_refresh?: boolean | null;
|
1993
|
-
order?: OrderRel$
|
1993
|
+
order?: OrderRel$d | null;
|
1994
1994
|
}
|
1995
1995
|
declare class SatispayPayments extends ApiResource<SatispayPayment> {
|
1996
1996
|
static readonly TYPE: SatispayPaymentType;
|
@@ -2011,7 +2011,7 @@ type StripePaymentType = 'stripe_payments';
|
|
2011
2011
|
type StripePaymentRel$2 = ResourceRel & {
|
2012
2012
|
type: StripePaymentType;
|
2013
2013
|
};
|
2014
|
-
type OrderRel$
|
2014
|
+
type OrderRel$c = ResourceRel & {
|
2015
2015
|
type: OrderType;
|
2016
2016
|
};
|
2017
2017
|
type StripePaymentSort = Pick<StripePayment, 'id'> & ResourceSort;
|
@@ -2096,7 +2096,7 @@ interface StripePaymentCreate extends ResourceCreate {
|
|
2096
2096
|
* @example ```"john@example.com"```
|
2097
2097
|
*/
|
2098
2098
|
receipt_email?: string | null;
|
2099
|
-
order: OrderRel$
|
2099
|
+
order: OrderRel$c;
|
2100
2100
|
}
|
2101
2101
|
interface StripePaymentUpdate extends ResourceUpdate {
|
2102
2102
|
/**
|
@@ -2119,7 +2119,7 @@ interface StripePaymentUpdate extends ResourceUpdate {
|
|
2119
2119
|
* @example ```"true"```
|
2120
2120
|
*/
|
2121
2121
|
_refresh?: boolean | null;
|
2122
|
-
order?: OrderRel$
|
2122
|
+
order?: OrderRel$c | null;
|
2123
2123
|
}
|
2124
2124
|
declare class StripePayments extends ApiResource<StripePayment> {
|
2125
2125
|
static readonly TYPE: StripePaymentType;
|
@@ -2141,7 +2141,7 @@ type WireTransferType = 'wire_transfers';
|
|
2141
2141
|
type WireTransferRel$2 = ResourceRel & {
|
2142
2142
|
type: WireTransferType;
|
2143
2143
|
};
|
2144
|
-
type OrderRel$
|
2144
|
+
type OrderRel$b = ResourceRel & {
|
2145
2145
|
type: OrderType;
|
2146
2146
|
};
|
2147
2147
|
type WireTransferSort = Pick<WireTransfer, 'id'> & ResourceSort;
|
@@ -2156,10 +2156,10 @@ interface WireTransfer extends Resource {
|
|
2156
2156
|
versions?: Version[] | null;
|
2157
2157
|
}
|
2158
2158
|
interface WireTransferCreate extends ResourceCreate {
|
2159
|
-
order: OrderRel$
|
2159
|
+
order: OrderRel$b;
|
2160
2160
|
}
|
2161
2161
|
interface WireTransferUpdate extends ResourceUpdate {
|
2162
|
-
order?: OrderRel$
|
2162
|
+
order?: OrderRel$b | null;
|
2163
2163
|
}
|
2164
2164
|
declare class WireTransfers extends ApiResource<WireTransfer> {
|
2165
2165
|
static readonly TYPE: WireTransferType;
|
@@ -2424,7 +2424,7 @@ type SkuOptionType = 'sku_options';
|
|
2424
2424
|
type SkuOptionRel$2 = ResourceRel & {
|
2425
2425
|
type: SkuOptionType;
|
2426
2426
|
};
|
2427
|
-
type MarketRel$
|
2427
|
+
type MarketRel$h = ResourceRel & {
|
2428
2428
|
type: MarketType;
|
2429
2429
|
};
|
2430
2430
|
type TagRel$k = ResourceRel & {
|
@@ -2474,7 +2474,7 @@ interface SkuOption extends Resource {
|
|
2474
2474
|
*/
|
2475
2475
|
delay_days?: number | null;
|
2476
2476
|
/**
|
2477
|
-
* The regex that will be evaluated to match the SKU codes.
|
2477
|
+
* The regex that will be evaluated to match the SKU codes, max size is 5000.
|
2478
2478
|
* @example ```"^(A|B).*$"```
|
2479
2479
|
*/
|
2480
2480
|
sku_code_regex?: string | null;
|
@@ -2511,11 +2511,11 @@ interface SkuOptionCreate extends ResourceCreate {
|
|
2511
2511
|
*/
|
2512
2512
|
delay_hours?: number | null;
|
2513
2513
|
/**
|
2514
|
-
* The regex that will be evaluated to match the SKU codes.
|
2514
|
+
* The regex that will be evaluated to match the SKU codes, max size is 5000.
|
2515
2515
|
* @example ```"^(A|B).*$"```
|
2516
2516
|
*/
|
2517
2517
|
sku_code_regex?: string | null;
|
2518
|
-
market?: MarketRel$
|
2518
|
+
market?: MarketRel$h | null;
|
2519
2519
|
tags?: TagRel$k[] | null;
|
2520
2520
|
}
|
2521
2521
|
interface SkuOptionUpdate extends ResourceUpdate {
|
@@ -2545,11 +2545,11 @@ interface SkuOptionUpdate extends ResourceUpdate {
|
|
2545
2545
|
*/
|
2546
2546
|
delay_hours?: number | null;
|
2547
2547
|
/**
|
2548
|
-
* The regex that will be evaluated to match the SKU codes.
|
2548
|
+
* The regex that will be evaluated to match the SKU codes, max size is 5000.
|
2549
2549
|
* @example ```"^(A|B).*$"```
|
2550
2550
|
*/
|
2551
2551
|
sku_code_regex?: string | null;
|
2552
|
-
market?: MarketRel$
|
2552
|
+
market?: MarketRel$h | null;
|
2553
2553
|
tags?: TagRel$k[] | null;
|
2554
2554
|
}
|
2555
2555
|
declare class SkuOptions extends ApiResource<SkuOption> {
|
@@ -2572,7 +2572,7 @@ type LineItemOptionType = 'line_item_options';
|
|
2572
2572
|
type LineItemOptionRel = ResourceRel & {
|
2573
2573
|
type: LineItemOptionType;
|
2574
2574
|
};
|
2575
|
-
type LineItemRel$
|
2575
|
+
type LineItemRel$5 = ResourceRel & {
|
2576
2576
|
type: LineItemType;
|
2577
2577
|
};
|
2578
2578
|
type SkuOptionRel$1 = ResourceRel & {
|
@@ -2670,7 +2670,7 @@ interface LineItemOptionCreate extends ResourceCreate {
|
|
2670
2670
|
* @example ```"[object Object]"```
|
2671
2671
|
*/
|
2672
2672
|
options: Record<string, any>;
|
2673
|
-
line_item: LineItemRel$
|
2673
|
+
line_item: LineItemRel$5;
|
2674
2674
|
sku_option: SkuOptionRel$1;
|
2675
2675
|
tags?: TagRel$j[] | null;
|
2676
2676
|
}
|
@@ -2775,6 +2775,7 @@ interface Void extends Resource {
|
|
2775
2775
|
*/
|
2776
2776
|
gateway_transaction_id?: string | null;
|
2777
2777
|
order?: Order | null;
|
2778
|
+
payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null;
|
2778
2779
|
attachments?: Attachment[] | null;
|
2779
2780
|
events?: Event[] | null;
|
2780
2781
|
versions?: Version[] | null;
|
@@ -2938,6 +2939,7 @@ interface Authorization extends Resource {
|
|
2938
2939
|
*/
|
2939
2940
|
formatted_void_balance?: string | null;
|
2940
2941
|
order?: Order | null;
|
2942
|
+
payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null;
|
2941
2943
|
attachments?: Attachment[] | null;
|
2942
2944
|
events?: Event[] | null;
|
2943
2945
|
versions?: Version[] | null;
|
@@ -3057,6 +3059,7 @@ interface Refund extends Resource {
|
|
3057
3059
|
*/
|
3058
3060
|
gateway_transaction_id?: string | null;
|
3059
3061
|
order?: Order | null;
|
3062
|
+
payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null;
|
3060
3063
|
attachments?: Attachment[] | null;
|
3061
3064
|
events?: Event[] | null;
|
3062
3065
|
versions?: Version[] | null;
|
@@ -3182,6 +3185,7 @@ interface Capture extends Resource {
|
|
3182
3185
|
*/
|
3183
3186
|
formatted_refund_balance?: string | null;
|
3184
3187
|
order?: Order | null;
|
3188
|
+
payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null;
|
3185
3189
|
attachments?: Attachment[] | null;
|
3186
3190
|
events?: Event[] | null;
|
3187
3191
|
versions?: Version[] | null;
|
@@ -3271,7 +3275,7 @@ type ReturnType = 'returns';
|
|
3271
3275
|
type ReturnRel$2 = ResourceRel & {
|
3272
3276
|
type: ReturnType;
|
3273
3277
|
};
|
3274
|
-
type OrderRel$
|
3278
|
+
type OrderRel$a = ResourceRel & {
|
3275
3279
|
type: OrderType;
|
3276
3280
|
};
|
3277
3281
|
type StockLocationRel$7 = ResourceRel & {
|
@@ -3371,7 +3375,7 @@ interface Return extends Resource {
|
|
3371
3375
|
versions?: Version[] | null;
|
3372
3376
|
}
|
3373
3377
|
interface ReturnCreate extends ResourceCreate {
|
3374
|
-
order: OrderRel$
|
3378
|
+
order: OrderRel$a;
|
3375
3379
|
stock_location?: StockLocationRel$7 | null;
|
3376
3380
|
reference_capture?: CaptureRel | null;
|
3377
3381
|
tags?: TagRel$i[] | null;
|
@@ -3478,7 +3482,7 @@ type ReturnLineItemRel = ResourceRel & {
|
|
3478
3482
|
type ReturnRel$1 = ResourceRel & {
|
3479
3483
|
type: ReturnType;
|
3480
3484
|
};
|
3481
|
-
type LineItemRel$
|
3485
|
+
type LineItemRel$4 = ResourceRel & {
|
3482
3486
|
type: LineItemType;
|
3483
3487
|
};
|
3484
3488
|
type ReturnLineItemSort = Pick<ReturnLineItem, 'id' | 'quantity' | 'total_amount_cents' | 'restocked_at'> & ResourceSort;
|
@@ -3549,7 +3553,7 @@ interface ReturnLineItemCreate extends ResourceCreate {
|
|
3549
3553
|
*/
|
3550
3554
|
return_reason?: Record<string, any> | null;
|
3551
3555
|
return: ReturnRel$1;
|
3552
|
-
line_item: LineItemRel$
|
3556
|
+
line_item: LineItemRel$4;
|
3553
3557
|
}
|
3554
3558
|
interface ReturnLineItemUpdate extends ResourceUpdate {
|
3555
3559
|
/**
|
@@ -3589,7 +3593,7 @@ type StockLineItemRel$1 = ResourceRel & {
|
|
3589
3593
|
type ShipmentRel$5 = ResourceRel & {
|
3590
3594
|
type: ShipmentType;
|
3591
3595
|
};
|
3592
|
-
type LineItemRel$
|
3596
|
+
type LineItemRel$3 = ResourceRel & {
|
3593
3597
|
type: LineItemType;
|
3594
3598
|
};
|
3595
3599
|
type StockItemRel$3 = ResourceRel & {
|
@@ -3635,7 +3639,7 @@ interface StockLineItemCreate extends ResourceCreate {
|
|
3635
3639
|
*/
|
3636
3640
|
quantity: number;
|
3637
3641
|
shipment?: ShipmentRel$5 | null;
|
3638
|
-
line_item?: LineItemRel$
|
3642
|
+
line_item?: LineItemRel$3 | null;
|
3639
3643
|
stock_item?: StockItemRel$3 | null;
|
3640
3644
|
sku?: SkuRel$b | null;
|
3641
3645
|
}
|
@@ -3666,7 +3670,7 @@ interface StockLineItemUpdate extends ResourceUpdate {
|
|
3666
3670
|
*/
|
3667
3671
|
_decrement_stock?: boolean | null;
|
3668
3672
|
shipment?: ShipmentRel$5 | null;
|
3669
|
-
line_item?: LineItemRel$
|
3673
|
+
line_item?: LineItemRel$3 | null;
|
3670
3674
|
stock_item?: StockItemRel$3 | null;
|
3671
3675
|
sku?: SkuRel$b | null;
|
3672
3676
|
}
|
@@ -3791,6 +3795,80 @@ declare class StockReservations extends ApiResource<StockReservation> {
|
|
3791
3795
|
type(): StockReservationType;
|
3792
3796
|
}
|
3793
3797
|
|
3798
|
+
type NotificationType = 'notifications';
|
3799
|
+
type NotificationRel = ResourceRel & {
|
3800
|
+
type: NotificationType;
|
3801
|
+
};
|
3802
|
+
type OrderRel$9 = ResourceRel & {
|
3803
|
+
type: OrderType;
|
3804
|
+
};
|
3805
|
+
type LineItemRel$2 = ResourceRel & {
|
3806
|
+
type: LineItemType;
|
3807
|
+
};
|
3808
|
+
type NotificationSort = Pick<Notification, 'id' | 'name' | 'flash'> & ResourceSort;
|
3809
|
+
interface Notification extends Resource {
|
3810
|
+
readonly type: NotificationType;
|
3811
|
+
/**
|
3812
|
+
* The internal name of the notification.
|
3813
|
+
* @example ```"DDT transport document"```
|
3814
|
+
*/
|
3815
|
+
name: string;
|
3816
|
+
/**
|
3817
|
+
* Indicates if the notification is temporary, valid for the ones created by external services.
|
3818
|
+
*/
|
3819
|
+
flash?: boolean | null;
|
3820
|
+
/**
|
3821
|
+
* An internal body of the notification.
|
3822
|
+
* @example ```"[object Object]"```
|
3823
|
+
*/
|
3824
|
+
body?: Record<string, any> | null;
|
3825
|
+
notifiable?: Order | LineItem | null;
|
3826
|
+
}
|
3827
|
+
interface NotificationCreate extends ResourceCreate {
|
3828
|
+
/**
|
3829
|
+
* The internal name of the notification.
|
3830
|
+
* @example ```"DDT transport document"```
|
3831
|
+
*/
|
3832
|
+
name: string;
|
3833
|
+
/**
|
3834
|
+
* Indicates if the notification is temporary, valid for the ones created by external services.
|
3835
|
+
*/
|
3836
|
+
flash?: boolean | null;
|
3837
|
+
/**
|
3838
|
+
* An internal body of the notification.
|
3839
|
+
* @example ```"[object Object]"```
|
3840
|
+
*/
|
3841
|
+
body?: Record<string, any> | null;
|
3842
|
+
notifiable: OrderRel$9 | LineItemRel$2;
|
3843
|
+
}
|
3844
|
+
interface NotificationUpdate extends ResourceUpdate {
|
3845
|
+
/**
|
3846
|
+
* The internal name of the notification.
|
3847
|
+
* @example ```"DDT transport document"```
|
3848
|
+
*/
|
3849
|
+
name?: string | null;
|
3850
|
+
/**
|
3851
|
+
* Indicates if the notification is temporary, valid for the ones created by external services.
|
3852
|
+
*/
|
3853
|
+
flash?: boolean | null;
|
3854
|
+
/**
|
3855
|
+
* An internal body of the notification.
|
3856
|
+
* @example ```"[object Object]"```
|
3857
|
+
*/
|
3858
|
+
body?: Record<string, any> | null;
|
3859
|
+
notifiable?: OrderRel$9 | LineItemRel$2 | null;
|
3860
|
+
}
|
3861
|
+
declare class Notifications extends ApiResource<Notification> {
|
3862
|
+
static readonly TYPE: NotificationType;
|
3863
|
+
create(resource: NotificationCreate, params?: QueryParamsRetrieve<Notification>, options?: ResourcesConfig): Promise<Notification>;
|
3864
|
+
update(resource: NotificationUpdate, params?: QueryParamsRetrieve<Notification>, options?: ResourcesConfig): Promise<Notification>;
|
3865
|
+
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
3866
|
+
isNotification(resource: any): resource is Notification;
|
3867
|
+
relationship(id: string | ResourceId | null): NotificationRel;
|
3868
|
+
relationshipToMany(...ids: string[]): NotificationRel[];
|
3869
|
+
type(): NotificationType;
|
3870
|
+
}
|
3871
|
+
|
3794
3872
|
type SkuListItemType = 'sku_list_items';
|
3795
3873
|
type SkuListItemRel = ResourceRel & {
|
3796
3874
|
type: SkuListItemType;
|
@@ -4102,7 +4180,7 @@ interface SkuList extends Resource {
|
|
4102
4180
|
*/
|
4103
4181
|
manual?: boolean | null;
|
4104
4182
|
/**
|
4105
|
-
* The regex that will be evaluated to match the SKU codes.
|
4183
|
+
* The regex that will be evaluated to match the SKU codes, max size is 5000.
|
4106
4184
|
* @example ```"^(A|B).*$"```
|
4107
4185
|
*/
|
4108
4186
|
sku_code_regex?: string | null;
|
@@ -4135,7 +4213,7 @@ interface SkuListCreate extends ResourceCreate {
|
|
4135
4213
|
*/
|
4136
4214
|
manual?: boolean | null;
|
4137
4215
|
/**
|
4138
|
-
* The regex that will be evaluated to match the SKU codes.
|
4216
|
+
* The regex that will be evaluated to match the SKU codes, max size is 5000.
|
4139
4217
|
* @example ```"^(A|B).*$"```
|
4140
4218
|
*/
|
4141
4219
|
sku_code_regex?: string | null;
|
@@ -4162,7 +4240,7 @@ interface SkuListUpdate extends ResourceUpdate {
|
|
4162
4240
|
*/
|
4163
4241
|
manual?: boolean | null;
|
4164
4242
|
/**
|
4165
|
-
* The regex that will be evaluated to match the SKU codes.
|
4243
|
+
* The regex that will be evaluated to match the SKU codes, max size is 5000.
|
4166
4244
|
* @example ```"^(A|B).*$"```
|
4167
4245
|
*/
|
4168
4246
|
sku_code_regex?: string | null;
|
@@ -4190,7 +4268,7 @@ type BundleType = 'bundles';
|
|
4190
4268
|
type BundleRel$3 = ResourceRel & {
|
4191
4269
|
type: BundleType;
|
4192
4270
|
};
|
4193
|
-
type MarketRel$
|
4271
|
+
type MarketRel$g = ResourceRel & {
|
4194
4272
|
type: MarketType;
|
4195
4273
|
};
|
4196
4274
|
type SkuListRel$9 = ResourceRel & {
|
@@ -4324,7 +4402,7 @@ interface BundleCreate extends ResourceCreate {
|
|
4324
4402
|
* @example ```"true"```
|
4325
4403
|
*/
|
4326
4404
|
_compute_compare_at_amount?: boolean | null;
|
4327
|
-
market?: MarketRel$
|
4405
|
+
market?: MarketRel$g | null;
|
4328
4406
|
sku_list: SkuListRel$9;
|
4329
4407
|
tags?: TagRel$h[] | null;
|
4330
4408
|
}
|
@@ -4479,7 +4557,7 @@ type GiftCardType = 'gift_cards';
|
|
4479
4557
|
type GiftCardRel$2 = ResourceRel & {
|
4480
4558
|
type: GiftCardType;
|
4481
4559
|
};
|
4482
|
-
type MarketRel$
|
4560
|
+
type MarketRel$f = ResourceRel & {
|
4483
4561
|
type: MarketType;
|
4484
4562
|
};
|
4485
4563
|
type GiftCardRecipientRel$1 = ResourceRel & {
|
@@ -4647,7 +4725,7 @@ interface GiftCardCreate extends ResourceCreate {
|
|
4647
4725
|
* @example ```"john@example.com"```
|
4648
4726
|
*/
|
4649
4727
|
recipient_email?: string | null;
|
4650
|
-
market?: MarketRel$
|
4728
|
+
market?: MarketRel$f | null;
|
4651
4729
|
gift_card_recipient?: GiftCardRecipientRel$1 | null;
|
4652
4730
|
tags?: TagRel$g[] | null;
|
4653
4731
|
}
|
@@ -4716,7 +4794,7 @@ interface GiftCardUpdate extends ResourceUpdate {
|
|
4716
4794
|
* @example ```"-5000"```
|
4717
4795
|
*/
|
4718
4796
|
_balance_change_cents?: number | null;
|
4719
|
-
market?: MarketRel$
|
4797
|
+
market?: MarketRel$f | null;
|
4720
4798
|
gift_card_recipient?: GiftCardRecipientRel$1 | null;
|
4721
4799
|
tags?: TagRel$g[] | null;
|
4722
4800
|
}
|
@@ -5044,7 +5122,7 @@ type ExternalPromotionType = 'external_promotions';
|
|
5044
5122
|
type ExternalPromotionRel$5 = ResourceRel & {
|
5045
5123
|
type: ExternalPromotionType;
|
5046
5124
|
};
|
5047
|
-
type MarketRel$
|
5125
|
+
type MarketRel$e = ResourceRel & {
|
5048
5126
|
type: MarketType;
|
5049
5127
|
};
|
5050
5128
|
type OrderAmountPromotionRuleRel$7 = ResourceRel & {
|
@@ -5208,7 +5286,7 @@ interface ExternalPromotionCreate extends ResourceCreate {
|
|
5208
5286
|
* @example ```"https://external_promotion.yourbrand.com"```
|
5209
5287
|
*/
|
5210
5288
|
promotion_url: string;
|
5211
|
-
market?: MarketRel$
|
5289
|
+
market?: MarketRel$e | null;
|
5212
5290
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$7 | null;
|
5213
5291
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$7 | null;
|
5214
5292
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$8 | null;
|
@@ -5272,7 +5350,7 @@ interface ExternalPromotionUpdate extends ResourceUpdate {
|
|
5272
5350
|
* @example ```"true"```
|
5273
5351
|
*/
|
5274
5352
|
_reset_circuit?: boolean | null;
|
5275
|
-
market?: MarketRel$
|
5353
|
+
market?: MarketRel$e | null;
|
5276
5354
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$7 | null;
|
5277
5355
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$7 | null;
|
5278
5356
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$8 | null;
|
@@ -5310,7 +5388,7 @@ type FixedAmountPromotionType = 'fixed_amount_promotions';
|
|
5310
5388
|
type FixedAmountPromotionRel$5 = ResourceRel & {
|
5311
5389
|
type: FixedAmountPromotionType;
|
5312
5390
|
};
|
5313
|
-
type MarketRel$
|
5391
|
+
type MarketRel$d = ResourceRel & {
|
5314
5392
|
type: MarketType;
|
5315
5393
|
};
|
5316
5394
|
type OrderAmountPromotionRuleRel$6 = ResourceRel & {
|
@@ -5469,7 +5547,7 @@ interface FixedAmountPromotionCreate extends ResourceCreate {
|
|
5469
5547
|
* @example ```"1000"```
|
5470
5548
|
*/
|
5471
5549
|
fixed_amount_cents: number;
|
5472
|
-
market?: MarketRel$
|
5550
|
+
market?: MarketRel$d | null;
|
5473
5551
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$6 | null;
|
5474
5552
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$6 | null;
|
5475
5553
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$7 | null;
|
@@ -5528,7 +5606,7 @@ interface FixedAmountPromotionUpdate extends ResourceUpdate {
|
|
5528
5606
|
* @example ```"1000"```
|
5529
5607
|
*/
|
5530
5608
|
fixed_amount_cents?: number | null;
|
5531
|
-
market?: MarketRel$
|
5609
|
+
market?: MarketRel$d | null;
|
5532
5610
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$6 | null;
|
5533
5611
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$6 | null;
|
5534
5612
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$7 | null;
|
@@ -5781,7 +5859,7 @@ type FixedPricePromotionType = 'fixed_price_promotions';
|
|
5781
5859
|
type FixedPricePromotionRel$5 = ResourceRel & {
|
5782
5860
|
type: FixedPricePromotionType;
|
5783
5861
|
};
|
5784
|
-
type MarketRel$
|
5862
|
+
type MarketRel$c = ResourceRel & {
|
5785
5863
|
type: MarketType;
|
5786
5864
|
};
|
5787
5865
|
type OrderAmountPromotionRuleRel$5 = ResourceRel & {
|
@@ -5940,7 +6018,7 @@ interface FixedPricePromotionCreate extends ResourceCreate {
|
|
5940
6018
|
* @example ```"1000"```
|
5941
6019
|
*/
|
5942
6020
|
fixed_amount_cents: number;
|
5943
|
-
market?: MarketRel$
|
6021
|
+
market?: MarketRel$c | null;
|
5944
6022
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$5 | null;
|
5945
6023
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$5 | null;
|
5946
6024
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$5 | null;
|
@@ -5999,7 +6077,7 @@ interface FixedPricePromotionUpdate extends ResourceUpdate {
|
|
5999
6077
|
* @example ```"1000"```
|
6000
6078
|
*/
|
6001
6079
|
fixed_amount_cents?: number | null;
|
6002
|
-
market?: MarketRel$
|
6080
|
+
market?: MarketRel$c | null;
|
6003
6081
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$5 | null;
|
6004
6082
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$5 | null;
|
6005
6083
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$5 | null;
|
@@ -6103,7 +6181,7 @@ type FreeGiftPromotionType = 'free_gift_promotions';
|
|
6103
6181
|
type FreeGiftPromotionRel$4 = ResourceRel & {
|
6104
6182
|
type: FreeGiftPromotionType;
|
6105
6183
|
};
|
6106
|
-
type MarketRel$
|
6184
|
+
type MarketRel$b = ResourceRel & {
|
6107
6185
|
type: MarketType;
|
6108
6186
|
};
|
6109
6187
|
type OrderAmountPromotionRuleRel$4 = ResourceRel & {
|
@@ -6252,7 +6330,7 @@ interface FreeGiftPromotionCreate extends ResourceCreate {
|
|
6252
6330
|
* @example ```"3"```
|
6253
6331
|
*/
|
6254
6332
|
max_quantity?: number | null;
|
6255
|
-
market?: MarketRel$
|
6333
|
+
market?: MarketRel$b | null;
|
6256
6334
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$4 | null;
|
6257
6335
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$4 | null;
|
6258
6336
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$4 | null;
|
@@ -6311,7 +6389,7 @@ interface FreeGiftPromotionUpdate extends ResourceUpdate {
|
|
6311
6389
|
* @example ```"3"```
|
6312
6390
|
*/
|
6313
6391
|
max_quantity?: number | null;
|
6314
|
-
market?: MarketRel$
|
6392
|
+
market?: MarketRel$b | null;
|
6315
6393
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$4 | null;
|
6316
6394
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$4 | null;
|
6317
6395
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$4 | null;
|
@@ -6407,7 +6485,7 @@ type BuyXPayYPromotionType = 'buy_x_pay_y_promotions';
|
|
6407
6485
|
type BuyXPayYPromotionRel$3 = ResourceRel & {
|
6408
6486
|
type: BuyXPayYPromotionType;
|
6409
6487
|
};
|
6410
|
-
type MarketRel$
|
6488
|
+
type MarketRel$a = ResourceRel & {
|
6411
6489
|
type: MarketType;
|
6412
6490
|
};
|
6413
6491
|
type OrderAmountPromotionRuleRel$3 = ResourceRel & {
|
@@ -6576,7 +6654,7 @@ interface BuyXPayYPromotionCreate extends ResourceCreate {
|
|
6576
6654
|
* @example ```"true"```
|
6577
6655
|
*/
|
6578
6656
|
cheapest_free?: boolean | null;
|
6579
|
-
market?: MarketRel$
|
6657
|
+
market?: MarketRel$a | null;
|
6580
6658
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$3 | null;
|
6581
6659
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$3 | null;
|
6582
6660
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$2 | null;
|
@@ -6645,7 +6723,7 @@ interface BuyXPayYPromotionUpdate extends ResourceUpdate {
|
|
6645
6723
|
* @example ```"true"```
|
6646
6724
|
*/
|
6647
6725
|
cheapest_free?: boolean | null;
|
6648
|
-
market?: MarketRel$
|
6726
|
+
market?: MarketRel$a | null;
|
6649
6727
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$3 | null;
|
6650
6728
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$3 | null;
|
6651
6729
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$2 | null;
|
@@ -6773,7 +6851,7 @@ type FreeShippingPromotionType = 'free_shipping_promotions';
|
|
6773
6851
|
type FreeShippingPromotionRel$2 = ResourceRel & {
|
6774
6852
|
type: FreeShippingPromotionType;
|
6775
6853
|
};
|
6776
|
-
type MarketRel$
|
6854
|
+
type MarketRel$9 = ResourceRel & {
|
6777
6855
|
type: MarketType;
|
6778
6856
|
};
|
6779
6857
|
type OrderAmountPromotionRuleRel$2 = ResourceRel & {
|
@@ -6911,7 +6989,7 @@ interface FreeShippingPromotionCreate extends ResourceCreate {
|
|
6911
6989
|
* @example ```"true"```
|
6912
6990
|
*/
|
6913
6991
|
_enable?: boolean | null;
|
6914
|
-
market?: MarketRel$
|
6992
|
+
market?: MarketRel$9 | null;
|
6915
6993
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$2 | null;
|
6916
6994
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$1 | null;
|
6917
6995
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$1 | null;
|
@@ -6965,7 +7043,7 @@ interface FreeShippingPromotionUpdate extends ResourceUpdate {
|
|
6965
7043
|
* @example ```"true"```
|
6966
7044
|
*/
|
6967
7045
|
_enable?: boolean | null;
|
6968
|
-
market?: MarketRel$
|
7046
|
+
market?: MarketRel$9 | null;
|
6969
7047
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$2 | null;
|
6970
7048
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$1 | null;
|
6971
7049
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$1 | null;
|
@@ -7093,7 +7171,7 @@ type PercentageDiscountPromotionType = 'percentage_discount_promotions';
|
|
7093
7171
|
type PercentageDiscountPromotionRel$1 = ResourceRel & {
|
7094
7172
|
type: PercentageDiscountPromotionType;
|
7095
7173
|
};
|
7096
|
-
type MarketRel$
|
7174
|
+
type MarketRel$8 = ResourceRel & {
|
7097
7175
|
type: MarketType;
|
7098
7176
|
};
|
7099
7177
|
type OrderAmountPromotionRuleRel = ResourceRel & {
|
@@ -7242,7 +7320,7 @@ interface PercentageDiscountPromotionCreate extends ResourceCreate {
|
|
7242
7320
|
* @example ```"10"```
|
7243
7321
|
*/
|
7244
7322
|
percentage: number;
|
7245
|
-
market?: MarketRel$
|
7323
|
+
market?: MarketRel$8 | null;
|
7246
7324
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null;
|
7247
7325
|
sku_list_promotion_rule?: SkuListPromotionRuleRel | null;
|
7248
7326
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null;
|
@@ -7301,7 +7379,7 @@ interface PercentageDiscountPromotionUpdate extends ResourceUpdate {
|
|
7301
7379
|
* @example ```"10"```
|
7302
7380
|
*/
|
7303
7381
|
percentage?: number | null;
|
7304
|
-
market?: MarketRel$
|
7382
|
+
market?: MarketRel$8 | null;
|
7305
7383
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null;
|
7306
7384
|
sku_list_promotion_rule?: SkuListPromotionRuleRel | null;
|
7307
7385
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null;
|
@@ -7415,7 +7493,7 @@ interface LineItem extends Resource {
|
|
7415
7493
|
*/
|
7416
7494
|
currency_code?: string | null;
|
7417
7495
|
/**
|
7418
|
-
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods.
|
7496
|
+
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.
|
7419
7497
|
* @example ```"10000"```
|
7420
7498
|
*/
|
7421
7499
|
unit_amount_cents?: number | null;
|
@@ -7530,10 +7608,10 @@ interface LineItem extends Resource {
|
|
7530
7608
|
*/
|
7531
7609
|
tax_breakdown?: Record<string, any> | null;
|
7532
7610
|
/**
|
7533
|
-
* The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.
|
7611
|
+
* The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.
|
7534
7612
|
* @example ```"skus"```
|
7535
7613
|
*/
|
7536
|
-
item_type?: 'skus' | 'bundles' | 'gift_cards' | 'shipments' | 'payment_methods' | 'adjustments' | 'percentage_discount_promotions' | 'free_shipping_promotions' | 'buy_x_pay_y_promotions' | 'free_gift_promotions' | 'fixed_price_promotions' | 'external_promotions' | 'fixed_amount_promotions' | 'flex_promotions' | null;
|
7614
|
+
item_type?: 'skus' | 'bundles' | 'gift_cards' | 'shipments' | 'payment_methods' | 'adjustments' | 'discount_engine_items' | 'percentage_discount_promotions' | 'free_shipping_promotions' | 'buy_x_pay_y_promotions' | 'free_gift_promotions' | 'fixed_price_promotions' | 'external_promotions' | 'fixed_amount_promotions' | 'flex_promotions' | null;
|
7537
7615
|
/**
|
7538
7616
|
* The frequency which generates a subscription. Must be supported by existing associated subscription_model.
|
7539
7617
|
* @example ```"monthly"```
|
@@ -7567,6 +7645,7 @@ interface LineItem extends Resource {
|
|
7567
7645
|
stock_reservations?: StockReservation[] | null;
|
7568
7646
|
stock_line_items?: StockLineItem[] | null;
|
7569
7647
|
stock_transfers?: StockTransfer[] | null;
|
7648
|
+
notifications?: Notification[] | null;
|
7570
7649
|
events?: Event[] | null;
|
7571
7650
|
tags?: Tag[] | null;
|
7572
7651
|
}
|
@@ -7602,7 +7681,7 @@ interface LineItemCreate extends ResourceCreate {
|
|
7602
7681
|
*/
|
7603
7682
|
_reserve_stock?: boolean | null;
|
7604
7683
|
/**
|
7605
|
-
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods.
|
7684
|
+
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.
|
7606
7685
|
* @example ```"10000"```
|
7607
7686
|
*/
|
7608
7687
|
unit_amount_cents?: number | null;
|
@@ -7622,10 +7701,10 @@ interface LineItemCreate extends ResourceCreate {
|
|
7622
7701
|
*/
|
7623
7702
|
image_url?: string | null;
|
7624
7703
|
/**
|
7625
|
-
* The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.
|
7704
|
+
* The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.
|
7626
7705
|
* @example ```"skus"```
|
7627
7706
|
*/
|
7628
|
-
item_type?: 'skus' | 'bundles' | 'gift_cards' | 'shipments' | 'payment_methods' | 'adjustments' | 'percentage_discount_promotions' | 'free_shipping_promotions' | 'buy_x_pay_y_promotions' | 'free_gift_promotions' | 'fixed_price_promotions' | 'external_promotions' | 'fixed_amount_promotions' | 'flex_promotions' | null;
|
7707
|
+
item_type?: 'skus' | 'bundles' | 'gift_cards' | 'shipments' | 'payment_methods' | 'adjustments' | 'discount_engine_items' | 'percentage_discount_promotions' | 'free_shipping_promotions' | 'buy_x_pay_y_promotions' | 'free_gift_promotions' | 'fixed_price_promotions' | 'external_promotions' | 'fixed_amount_promotions' | 'flex_promotions' | null;
|
7629
7708
|
/**
|
7630
7709
|
* The frequency which generates a subscription. Must be supported by existing associated subscription_model.
|
7631
7710
|
* @example ```"monthly"```
|
@@ -7662,7 +7741,7 @@ interface LineItemUpdate extends ResourceUpdate {
|
|
7662
7741
|
*/
|
7663
7742
|
_reserve_stock?: boolean | null;
|
7664
7743
|
/**
|
7665
|
-
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods.
|
7744
|
+
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.
|
7666
7745
|
* @example ```"10000"```
|
7667
7746
|
*/
|
7668
7747
|
unit_amount_cents?: number | null;
|
@@ -7709,6 +7788,7 @@ declare class LineItems extends ApiResource<LineItem> {
|
|
7709
7788
|
stock_reservations(lineItemId: string | LineItem, params?: QueryParamsList<StockReservation>, options?: ResourcesConfig): Promise<ListResponse<StockReservation>>;
|
7710
7789
|
stock_line_items(lineItemId: string | LineItem, params?: QueryParamsList<StockLineItem>, options?: ResourcesConfig): Promise<ListResponse<StockLineItem>>;
|
7711
7790
|
stock_transfers(lineItemId: string | LineItem, params?: QueryParamsList<StockTransfer>, options?: ResourcesConfig): Promise<ListResponse<StockTransfer>>;
|
7791
|
+
notifications(lineItemId: string | LineItem, params?: QueryParamsList<Notification>, options?: ResourcesConfig): Promise<ListResponse<Notification>>;
|
7712
7792
|
events(lineItemId: string | LineItem, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
7713
7793
|
tags(lineItemId: string | LineItem, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
7714
7794
|
_external_price(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
@@ -8007,7 +8087,7 @@ type OrderSubscriptionType = 'order_subscriptions';
|
|
8007
8087
|
type OrderSubscriptionRel = ResourceRel & {
|
8008
8088
|
type: OrderSubscriptionType;
|
8009
8089
|
};
|
8010
|
-
type MarketRel$
|
8090
|
+
type MarketRel$7 = ResourceRel & {
|
8011
8091
|
type: MarketType;
|
8012
8092
|
};
|
8013
8093
|
type OrderRel$5 = ResourceRel & {
|
@@ -8136,7 +8216,7 @@ interface OrderSubscriptionCreate extends ResourceCreate {
|
|
8136
8216
|
* @example ```"2018-01-02T12:00:00.000Z"```
|
8137
8217
|
*/
|
8138
8218
|
expires_at?: string | null;
|
8139
|
-
market?: MarketRel$
|
8219
|
+
market?: MarketRel$7 | null;
|
8140
8220
|
source_order: OrderRel$5;
|
8141
8221
|
tags?: TagRel$5[] | null;
|
8142
8222
|
}
|
@@ -8258,6 +8338,11 @@ interface Customer extends Resource {
|
|
8258
8338
|
* @example ```"xxx-yyy-zzz"```
|
8259
8339
|
*/
|
8260
8340
|
shopper_reference?: string | null;
|
8341
|
+
/**
|
8342
|
+
* A reference to uniquely identify the customer on any connected external services.
|
8343
|
+
* @example ```"xxx-yyy-zzz"```
|
8344
|
+
*/
|
8345
|
+
profile_id?: string | null;
|
8261
8346
|
customer_group?: CustomerGroup | null;
|
8262
8347
|
customer_addresses?: CustomerAddress[] | null;
|
8263
8348
|
customer_payment_sources?: CustomerPaymentSource[] | null;
|
@@ -8286,6 +8371,11 @@ interface CustomerCreate extends ResourceCreate {
|
|
8286
8371
|
* @example ```"xxx-yyy-zzz"```
|
8287
8372
|
*/
|
8288
8373
|
shopper_reference?: string | null;
|
8374
|
+
/**
|
8375
|
+
* A reference to uniquely identify the customer on any connected external services.
|
8376
|
+
* @example ```"xxx-yyy-zzz"```
|
8377
|
+
*/
|
8378
|
+
profile_id?: string | null;
|
8289
8379
|
customer_group?: CustomerGroupRel$2 | null;
|
8290
8380
|
tags?: TagRel$4[] | null;
|
8291
8381
|
}
|
@@ -8305,6 +8395,11 @@ interface CustomerUpdate extends ResourceUpdate {
|
|
8305
8395
|
* @example ```"xxx-yyy-zzz"```
|
8306
8396
|
*/
|
8307
8397
|
shopper_reference?: string | null;
|
8398
|
+
/**
|
8399
|
+
* A reference to uniquely identify the customer on any connected external services.
|
8400
|
+
* @example ```"xxx-yyy-zzz"```
|
8401
|
+
*/
|
8402
|
+
profile_id?: string | null;
|
8308
8403
|
customer_group?: CustomerGroupRel$2 | null;
|
8309
8404
|
tags?: TagRel$4[] | null;
|
8310
8405
|
}
|
@@ -8462,6 +8557,11 @@ interface OrderCopy extends Resource {
|
|
8462
8557
|
* @example ```"true"```
|
8463
8558
|
*/
|
8464
8559
|
apply_promotions?: boolean | null;
|
8560
|
+
/**
|
8561
|
+
* Indicates to ignore any errors during copy.
|
8562
|
+
* @example ```"true"```
|
8563
|
+
*/
|
8564
|
+
skip_errors?: boolean | null;
|
8465
8565
|
/**
|
8466
8566
|
* Indicates to ignore invalid coupon code during copy.
|
8467
8567
|
* @example ```"true"```
|
@@ -8493,6 +8593,11 @@ interface OrderCopyCreate extends ResourceCreate {
|
|
8493
8593
|
* @example ```"true"```
|
8494
8594
|
*/
|
8495
8595
|
apply_promotions?: boolean | null;
|
8596
|
+
/**
|
8597
|
+
* Indicates to ignore any errors during copy.
|
8598
|
+
* @example ```"true"```
|
8599
|
+
*/
|
8600
|
+
skip_errors?: boolean | null;
|
8496
8601
|
/**
|
8497
8602
|
* Indicates to ignore invalid coupon code during copy.
|
8498
8603
|
* @example ```"true"```
|
@@ -8520,7 +8625,7 @@ type OrderType = 'orders';
|
|
8520
8625
|
type OrderRel$2 = ResourceRel & {
|
8521
8626
|
type: OrderType;
|
8522
8627
|
};
|
8523
|
-
type MarketRel$
|
8628
|
+
type MarketRel$6 = ResourceRel & {
|
8524
8629
|
type: MarketType;
|
8525
8630
|
};
|
8526
8631
|
type CustomerRel$2 = ResourceRel & {
|
@@ -8577,7 +8682,7 @@ interface Order extends Resource {
|
|
8577
8682
|
*/
|
8578
8683
|
number?: string | null;
|
8579
8684
|
/**
|
8580
|
-
* The affiliate code, if any,
|
8685
|
+
* The affiliate code, if any, to track commissions using any third party services.
|
8581
8686
|
* @example ```"xxxx-yyyy-zzzz"```
|
8582
8687
|
*/
|
8583
8688
|
affiliate_code?: string | null;
|
@@ -9132,6 +9237,7 @@ interface Order extends Resource {
|
|
9132
9237
|
order_copies?: OrderCopy[] | null;
|
9133
9238
|
recurring_order_copies?: RecurringOrderCopy[] | null;
|
9134
9239
|
attachments?: Attachment[] | null;
|
9240
|
+
notifications?: Notification[] | null;
|
9135
9241
|
links?: Link[] | null;
|
9136
9242
|
resource_errors?: ResourceError[] | null;
|
9137
9243
|
events?: Event[] | null;
|
@@ -9145,7 +9251,7 @@ interface OrderCreate extends ResourceCreate {
|
|
9145
9251
|
*/
|
9146
9252
|
number?: string | null;
|
9147
9253
|
/**
|
9148
|
-
* The affiliate code, if any,
|
9254
|
+
* The affiliate code, if any, to track commissions using any third party services.
|
9149
9255
|
* @example ```"xxxx-yyyy-zzzz"```
|
9150
9256
|
*/
|
9151
9257
|
affiliate_code?: string | null;
|
@@ -9233,7 +9339,7 @@ interface OrderCreate extends ResourceCreate {
|
|
9233
9339
|
* @example ```"https://yourdomain.com/privacy"```
|
9234
9340
|
*/
|
9235
9341
|
privacy_url?: string | null;
|
9236
|
-
market?: MarketRel$
|
9342
|
+
market?: MarketRel$6 | null;
|
9237
9343
|
customer?: CustomerRel$2 | null;
|
9238
9344
|
shipping_address?: AddressRel$4 | null;
|
9239
9345
|
billing_address?: AddressRel$4 | null;
|
@@ -9249,7 +9355,7 @@ interface OrderUpdate extends ResourceUpdate {
|
|
9249
9355
|
*/
|
9250
9356
|
number?: string | null;
|
9251
9357
|
/**
|
9252
|
-
* The affiliate code, if any,
|
9358
|
+
* The affiliate code, if any, to track commissions using any third party services.
|
9253
9359
|
* @example ```"xxxx-yyyy-zzzz"```
|
9254
9360
|
*/
|
9255
9361
|
affiliate_code?: string | null;
|
@@ -9406,6 +9512,11 @@ interface OrderUpdate extends ResourceUpdate {
|
|
9406
9512
|
* Send this attribute if you want to nullify the payment source for this order.
|
9407
9513
|
*/
|
9408
9514
|
_nullify_payment_source?: boolean | null;
|
9515
|
+
/**
|
9516
|
+
* Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready for approval. Cannot be passed by sales channels.
|
9517
|
+
* @example ```"true"```
|
9518
|
+
*/
|
9519
|
+
_fix_payment_source?: boolean | null;
|
9409
9520
|
/**
|
9410
9521
|
* The id of the address that you want to clone to create the order's billing address.
|
9411
9522
|
* @example ```"1234"```
|
@@ -9486,7 +9597,7 @@ interface OrderUpdate extends ResourceUpdate {
|
|
9486
9597
|
* @example ```"true"```
|
9487
9598
|
*/
|
9488
9599
|
_reset_circuit?: boolean | null;
|
9489
|
-
market?: MarketRel$
|
9600
|
+
market?: MarketRel$6 | null;
|
9490
9601
|
customer?: CustomerRel$2 | null;
|
9491
9602
|
shipping_address?: AddressRel$4 | null;
|
9492
9603
|
billing_address?: AddressRel$4 | null;
|
@@ -9528,6 +9639,7 @@ declare class Orders extends ApiResource<Order> {
|
|
9528
9639
|
order_copies(orderId: string | Order, params?: QueryParamsList<OrderCopy>, options?: ResourcesConfig): Promise<ListResponse<OrderCopy>>;
|
9529
9640
|
recurring_order_copies(orderId: string | Order, params?: QueryParamsList<RecurringOrderCopy>, options?: ResourcesConfig): Promise<ListResponse<RecurringOrderCopy>>;
|
9530
9641
|
attachments(orderId: string | Order, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
9642
|
+
notifications(orderId: string | Order, params?: QueryParamsList<Notification>, options?: ResourcesConfig): Promise<ListResponse<Notification>>;
|
9531
9643
|
links(orderId: string | Order, params?: QueryParamsList<Link>, options?: ResourcesConfig): Promise<ListResponse<Link>>;
|
9532
9644
|
resource_errors(orderId: string | Order, params?: QueryParamsList<ResourceError>, options?: ResourcesConfig): Promise<ListResponse<ResourceError>>;
|
9533
9645
|
events(orderId: string | Order, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
@@ -9547,6 +9659,7 @@ declare class Orders extends ApiResource<Order> {
|
|
9547
9659
|
_fulfill(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
9548
9660
|
_update_taxes(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
9549
9661
|
_nullify_payment_source(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
9662
|
+
_fix_payment_source(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
9550
9663
|
_billing_address_clone_id(id: string | Order, triggerValue: string, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
9551
9664
|
_shipping_address_clone_id(id: string | Order, triggerValue: string, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
9552
9665
|
_customer_payment_source_id(id: string | Order, triggerValue: string, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
@@ -9582,32 +9695,32 @@ interface ShippingZone extends Resource {
|
|
9582
9695
|
*/
|
9583
9696
|
name: string;
|
9584
9697
|
/**
|
9585
|
-
* The regex that will be evaluated to match the shipping address country code.
|
9698
|
+
* The regex that will be evaluated to match the shipping address country code, max size is 5000.
|
9586
9699
|
* @example ```"AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT"```
|
9587
9700
|
*/
|
9588
9701
|
country_code_regex?: string | null;
|
9589
9702
|
/**
|
9590
|
-
* The regex that will be evaluated as negative match for the shipping address country code.
|
9703
|
+
* The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.
|
9591
9704
|
* @example ```"AT|BE|BG|CZ|DK|EE|DE"```
|
9592
9705
|
*/
|
9593
9706
|
not_country_code_regex?: string | null;
|
9594
9707
|
/**
|
9595
|
-
* The regex that will be evaluated to match the shipping address state code.
|
9708
|
+
* The regex that will be evaluated to match the shipping address state code, max size is 5000.
|
9596
9709
|
* @example ```"A[KLRZ]|C[AOT]|D[CE]|FL"```
|
9597
9710
|
*/
|
9598
9711
|
state_code_regex?: string | null;
|
9599
9712
|
/**
|
9600
|
-
* The regex that will be evaluated as negative match for the shipping address state code.
|
9713
|
+
* The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.
|
9601
9714
|
* @example ```"A[KLRZ]|C[AOT]"```
|
9602
9715
|
*/
|
9603
9716
|
not_state_code_regex?: string | null;
|
9604
9717
|
/**
|
9605
|
-
* The regex that will be evaluated to match the shipping address zip code.
|
9718
|
+
* The regex that will be evaluated to match the shipping address zip code, max size is 5000.
|
9606
9719
|
* @example ```"(?i)(JE1|JE2|JE3|JE4|JE5)"```
|
9607
9720
|
*/
|
9608
9721
|
zip_code_regex?: string | null;
|
9609
9722
|
/**
|
9610
|
-
* The regex that will be evaluated as negative match for the shipping zip country code.
|
9723
|
+
* The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.
|
9611
9724
|
* @example ```"(?i)(JE1|JE2|JE3)"```
|
9612
9725
|
*/
|
9613
9726
|
not_zip_code_regex?: string | null;
|
@@ -9621,32 +9734,32 @@ interface ShippingZoneCreate extends ResourceCreate {
|
|
9621
9734
|
*/
|
9622
9735
|
name: string;
|
9623
9736
|
/**
|
9624
|
-
* The regex that will be evaluated to match the shipping address country code.
|
9737
|
+
* The regex that will be evaluated to match the shipping address country code, max size is 5000.
|
9625
9738
|
* @example ```"AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT"```
|
9626
9739
|
*/
|
9627
9740
|
country_code_regex?: string | null;
|
9628
9741
|
/**
|
9629
|
-
* The regex that will be evaluated as negative match for the shipping address country code.
|
9742
|
+
* The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.
|
9630
9743
|
* @example ```"AT|BE|BG|CZ|DK|EE|DE"```
|
9631
9744
|
*/
|
9632
9745
|
not_country_code_regex?: string | null;
|
9633
9746
|
/**
|
9634
|
-
* The regex that will be evaluated to match the shipping address state code.
|
9747
|
+
* The regex that will be evaluated to match the shipping address state code, max size is 5000.
|
9635
9748
|
* @example ```"A[KLRZ]|C[AOT]|D[CE]|FL"```
|
9636
9749
|
*/
|
9637
9750
|
state_code_regex?: string | null;
|
9638
9751
|
/**
|
9639
|
-
* The regex that will be evaluated as negative match for the shipping address state code.
|
9752
|
+
* The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.
|
9640
9753
|
* @example ```"A[KLRZ]|C[AOT]"```
|
9641
9754
|
*/
|
9642
9755
|
not_state_code_regex?: string | null;
|
9643
9756
|
/**
|
9644
|
-
* The regex that will be evaluated to match the shipping address zip code.
|
9757
|
+
* The regex that will be evaluated to match the shipping address zip code, max size is 5000.
|
9645
9758
|
* @example ```"(?i)(JE1|JE2|JE3|JE4|JE5)"```
|
9646
9759
|
*/
|
9647
9760
|
zip_code_regex?: string | null;
|
9648
9761
|
/**
|
9649
|
-
* The regex that will be evaluated as negative match for the shipping zip country code.
|
9762
|
+
* The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.
|
9650
9763
|
* @example ```"(?i)(JE1|JE2|JE3)"```
|
9651
9764
|
*/
|
9652
9765
|
not_zip_code_regex?: string | null;
|
@@ -9658,32 +9771,32 @@ interface ShippingZoneUpdate extends ResourceUpdate {
|
|
9658
9771
|
*/
|
9659
9772
|
name?: string | null;
|
9660
9773
|
/**
|
9661
|
-
* The regex that will be evaluated to match the shipping address country code.
|
9774
|
+
* The regex that will be evaluated to match the shipping address country code, max size is 5000.
|
9662
9775
|
* @example ```"AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT"```
|
9663
9776
|
*/
|
9664
9777
|
country_code_regex?: string | null;
|
9665
9778
|
/**
|
9666
|
-
* The regex that will be evaluated as negative match for the shipping address country code.
|
9779
|
+
* The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.
|
9667
9780
|
* @example ```"AT|BE|BG|CZ|DK|EE|DE"```
|
9668
9781
|
*/
|
9669
9782
|
not_country_code_regex?: string | null;
|
9670
9783
|
/**
|
9671
|
-
* The regex that will be evaluated to match the shipping address state code.
|
9784
|
+
* The regex that will be evaluated to match the shipping address state code, max size is 5000.
|
9672
9785
|
* @example ```"A[KLRZ]|C[AOT]|D[CE]|FL"```
|
9673
9786
|
*/
|
9674
9787
|
state_code_regex?: string | null;
|
9675
9788
|
/**
|
9676
|
-
* The regex that will be evaluated as negative match for the shipping address state code.
|
9789
|
+
* The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.
|
9677
9790
|
* @example ```"A[KLRZ]|C[AOT]"```
|
9678
9791
|
*/
|
9679
9792
|
not_state_code_regex?: string | null;
|
9680
9793
|
/**
|
9681
|
-
* The regex that will be evaluated to match the shipping address zip code.
|
9794
|
+
* The regex that will be evaluated to match the shipping address zip code, max size is 5000.
|
9682
9795
|
* @example ```"(?i)(JE1|JE2|JE3|JE4|JE5)"```
|
9683
9796
|
*/
|
9684
9797
|
zip_code_regex?: string | null;
|
9685
9798
|
/**
|
9686
|
-
* The regex that will be evaluated as negative match for the shipping zip country code.
|
9799
|
+
* The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.
|
9687
9800
|
* @example ```"(?i)(JE1|JE2|JE3)"```
|
9688
9801
|
*/
|
9689
9802
|
not_zip_code_regex?: string | null;
|
@@ -9922,7 +10035,7 @@ type ShippingMethodType = 'shipping_methods';
|
|
9922
10035
|
type ShippingMethodRel$2 = ResourceRel & {
|
9923
10036
|
type: ShippingMethodType;
|
9924
10037
|
};
|
9925
|
-
type MarketRel$
|
10038
|
+
type MarketRel$5 = ResourceRel & {
|
9926
10039
|
type: MarketType;
|
9927
10040
|
};
|
9928
10041
|
type ShippingZoneRel$1 = ResourceRel & {
|
@@ -10109,7 +10222,7 @@ interface ShippingMethodCreate extends ResourceCreate {
|
|
10109
10222
|
* @example ```"true"```
|
10110
10223
|
*/
|
10111
10224
|
_enable?: boolean | null;
|
10112
|
-
market?: MarketRel$
|
10225
|
+
market?: MarketRel$5 | null;
|
10113
10226
|
shipping_zone?: ShippingZoneRel$1 | null;
|
10114
10227
|
shipping_category?: ShippingCategoryRel$3 | null;
|
10115
10228
|
stock_location?: StockLocationRel$5 | null;
|
@@ -10181,7 +10294,7 @@ interface ShippingMethodUpdate extends ResourceUpdate {
|
|
10181
10294
|
* @example ```"true"```
|
10182
10295
|
*/
|
10183
10296
|
_reset_circuit?: boolean | null;
|
10184
|
-
market?: MarketRel$
|
10297
|
+
market?: MarketRel$5 | null;
|
10185
10298
|
shipping_zone?: ShippingZoneRel$1 | null;
|
10186
10299
|
shipping_category?: ShippingCategoryRel$3 | null;
|
10187
10300
|
stock_location?: StockLocationRel$5 | null;
|
@@ -10214,7 +10327,7 @@ type CarrierAccountType = 'carrier_accounts';
|
|
10214
10327
|
type CarrierAccountRel$1 = ResourceRel & {
|
10215
10328
|
type: CarrierAccountType;
|
10216
10329
|
};
|
10217
|
-
type MarketRel$
|
10330
|
+
type MarketRel$4 = ResourceRel & {
|
10218
10331
|
type: MarketType;
|
10219
10332
|
};
|
10220
10333
|
type CarrierAccountSort = Pick<CarrierAccount, 'id' | 'name'> & ResourceSort;
|
@@ -10260,7 +10373,7 @@ interface CarrierAccountCreate extends ResourceCreate {
|
|
10260
10373
|
* @example ```"[object Object]"```
|
10261
10374
|
*/
|
10262
10375
|
credentials: Record<string, any>;
|
10263
|
-
market?: MarketRel$
|
10376
|
+
market?: MarketRel$4 | null;
|
10264
10377
|
}
|
10265
10378
|
interface CarrierAccountUpdate extends ResourceUpdate {
|
10266
10379
|
/**
|
@@ -10278,7 +10391,7 @@ interface CarrierAccountUpdate extends ResourceUpdate {
|
|
10278
10391
|
* @example ```"[object Object]"```
|
10279
10392
|
*/
|
10280
10393
|
credentials?: Record<string, any> | null;
|
10281
|
-
market?: MarketRel$
|
10394
|
+
market?: MarketRel$4 | null;
|
10282
10395
|
}
|
10283
10396
|
declare class CarrierAccounts extends ApiResource<CarrierAccount> {
|
10284
10397
|
static readonly TYPE: CarrierAccountType;
|
@@ -11205,7 +11318,7 @@ interface StockTransfer extends Resource {
|
|
11205
11318
|
*/
|
11206
11319
|
status: 'draft' | 'upcoming' | 'on_hold' | 'picking' | 'in_transit' | 'completed' | 'cancelled';
|
11207
11320
|
/**
|
11208
|
-
* The stock quantity to be transferred from the origin stock location to destination one.
|
11321
|
+
* The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.
|
11209
11322
|
* @example ```"2"```
|
11210
11323
|
*/
|
11211
11324
|
quantity: number;
|
@@ -11256,7 +11369,7 @@ interface StockTransferCreate extends ResourceCreate {
|
|
11256
11369
|
*/
|
11257
11370
|
sku_code?: string | null;
|
11258
11371
|
/**
|
11259
|
-
* The stock quantity to be transferred from the origin stock location to destination one.
|
11372
|
+
* The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.
|
11260
11373
|
* @example ```"2"```
|
11261
11374
|
*/
|
11262
11375
|
quantity: number;
|
@@ -11277,6 +11390,11 @@ interface StockTransferUpdate extends ResourceUpdate {
|
|
11277
11390
|
* @example ```"TSHIRTMM000000FFFFFFXLXX"```
|
11278
11391
|
*/
|
11279
11392
|
sku_code?: string | null;
|
11393
|
+
/**
|
11394
|
+
* The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.
|
11395
|
+
* @example ```"2"```
|
11396
|
+
*/
|
11397
|
+
quantity?: number | null;
|
11280
11398
|
/**
|
11281
11399
|
* Send this attribute if you want to mark this stock transfer as upcoming.
|
11282
11400
|
* @example ```"true"```
|
@@ -12141,7 +12259,7 @@ type PriceListSchedulerType = 'price_list_schedulers';
|
|
12141
12259
|
type PriceListSchedulerRel = ResourceRel & {
|
12142
12260
|
type: PriceListSchedulerType;
|
12143
12261
|
};
|
12144
|
-
type MarketRel$
|
12262
|
+
type MarketRel$3 = ResourceRel & {
|
12145
12263
|
type: MarketType;
|
12146
12264
|
};
|
12147
12265
|
type PriceListRel$3 = ResourceRel & {
|
@@ -12211,7 +12329,7 @@ interface PriceListSchedulerCreate extends ResourceCreate {
|
|
12211
12329
|
* @example ```"true"```
|
12212
12330
|
*/
|
12213
12331
|
_enable?: boolean | null;
|
12214
|
-
market: MarketRel$
|
12332
|
+
market: MarketRel$3;
|
12215
12333
|
price_list: PriceListRel$3;
|
12216
12334
|
}
|
12217
12335
|
interface PriceListSchedulerUpdate extends ResourceUpdate {
|
@@ -12240,7 +12358,7 @@ interface PriceListSchedulerUpdate extends ResourceUpdate {
|
|
12240
12358
|
* @example ```"true"```
|
12241
12359
|
*/
|
12242
12360
|
_enable?: boolean | null;
|
12243
|
-
market?: MarketRel$
|
12361
|
+
market?: MarketRel$3 | null;
|
12244
12362
|
price_list?: PriceListRel$3 | null;
|
12245
12363
|
}
|
12246
12364
|
declare class PriceListSchedulers extends ApiResource<PriceListScheduler> {
|
@@ -12433,6 +12551,7 @@ interface Transaction extends Resource {
|
|
12433
12551
|
*/
|
12434
12552
|
gateway_transaction_id?: string | null;
|
12435
12553
|
order?: Order | null;
|
12554
|
+
payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null;
|
12436
12555
|
attachments?: Attachment[] | null;
|
12437
12556
|
events?: Event[] | null;
|
12438
12557
|
versions?: Version[] | null;
|
@@ -12775,35 +12894,70 @@ interface TaxRule extends Resource {
|
|
12775
12894
|
*/
|
12776
12895
|
tax_rate?: number | null;
|
12777
12896
|
/**
|
12778
|
-
*
|
12897
|
+
* Indicates if the freight is taxable.
|
12898
|
+
*/
|
12899
|
+
freight_taxable?: boolean | null;
|
12900
|
+
/**
|
12901
|
+
* Indicates if the payment method is taxable.
|
12902
|
+
*/
|
12903
|
+
payment_method_taxable?: boolean | null;
|
12904
|
+
/**
|
12905
|
+
* Indicates if gift cards are taxable.
|
12906
|
+
*/
|
12907
|
+
gift_card_taxable?: boolean | null;
|
12908
|
+
/**
|
12909
|
+
* Indicates if adjustemnts are taxable.
|
12910
|
+
*/
|
12911
|
+
adjustment_taxable?: boolean | null;
|
12912
|
+
/**
|
12913
|
+
* The breakdown for this tax rule (if calculated).
|
12914
|
+
* @example ```"[object Object]"```
|
12915
|
+
*/
|
12916
|
+
breakdown?: Record<string, any> | null;
|
12917
|
+
/**
|
12918
|
+
* The regex that will be evaluated to match the shipping address country code, max size is 5000.
|
12779
12919
|
* @example ```"AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT"```
|
12780
12920
|
*/
|
12781
12921
|
country_code_regex?: string | null;
|
12782
12922
|
/**
|
12783
|
-
* The regex that will be evaluated as negative match for the shipping address country code.
|
12923
|
+
* The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.
|
12784
12924
|
* @example ```"AT|BE|BG|CZ|DK|EE|DE"```
|
12785
12925
|
*/
|
12786
12926
|
not_country_code_regex?: string | null;
|
12787
12927
|
/**
|
12788
|
-
* The regex that will be evaluated to match the shipping address state code.
|
12928
|
+
* The regex that will be evaluated to match the shipping address state code, max size is 5000.
|
12789
12929
|
* @example ```"A[KLRZ]|C[AOT]|D[CE]|FL"```
|
12790
12930
|
*/
|
12791
12931
|
state_code_regex?: string | null;
|
12792
12932
|
/**
|
12793
|
-
* The regex that will be evaluated as negative match for the shipping address state code.
|
12933
|
+
* The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.
|
12794
12934
|
* @example ```"A[KLRZ]|C[AOT]"```
|
12795
12935
|
*/
|
12796
12936
|
not_state_code_regex?: string | null;
|
12797
12937
|
/**
|
12798
|
-
* The regex that will be evaluated to match the shipping address zip code.
|
12938
|
+
* The regex that will be evaluated to match the shipping address zip code, max size is 5000.
|
12799
12939
|
* @example ```"(?i)(JE1|JE2|JE3|JE4|JE5)"```
|
12800
12940
|
*/
|
12801
12941
|
zip_code_regex?: string | null;
|
12802
12942
|
/**
|
12803
|
-
* The regex that will be evaluated as negative match for the shipping zip country code.
|
12943
|
+
* The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.
|
12804
12944
|
* @example ```"(?i)(JE1|JE2|JE3)"```
|
12805
12945
|
*/
|
12806
12946
|
not_zip_code_regex?: string | null;
|
12947
|
+
manual_tax_calculator?: ManualTaxCalculator | null;
|
12948
|
+
versions?: Version[] | null;
|
12949
|
+
}
|
12950
|
+
interface TaxRuleCreate extends ResourceCreate {
|
12951
|
+
/**
|
12952
|
+
* The tax rule internal name.
|
12953
|
+
* @example ```"Fixed 22%"```
|
12954
|
+
*/
|
12955
|
+
name: string;
|
12956
|
+
/**
|
12957
|
+
* The tax rate for this rule.
|
12958
|
+
* @example ```"0.22"```
|
12959
|
+
*/
|
12960
|
+
tax_rate?: number | null;
|
12807
12961
|
/**
|
12808
12962
|
* Indicates if the freight is taxable.
|
12809
12963
|
*/
|
@@ -12821,54 +12975,48 @@ interface TaxRule extends Resource {
|
|
12821
12975
|
*/
|
12822
12976
|
adjustment_taxable?: boolean | null;
|
12823
12977
|
/**
|
12824
|
-
* The
|
12825
|
-
* @example ```"[object Object]"```
|
12826
|
-
*/
|
12827
|
-
breakdown?: Record<string, any> | null;
|
12828
|
-
manual_tax_calculator?: ManualTaxCalculator | null;
|
12829
|
-
versions?: Version[] | null;
|
12830
|
-
}
|
12831
|
-
interface TaxRuleCreate extends ResourceCreate {
|
12832
|
-
/**
|
12833
|
-
* The tax rule internal name.
|
12834
|
-
* @example ```"Fixed 22%"```
|
12835
|
-
*/
|
12836
|
-
name: string;
|
12837
|
-
/**
|
12838
|
-
* The tax rate for this rule.
|
12839
|
-
* @example ```"0.22"```
|
12840
|
-
*/
|
12841
|
-
tax_rate?: number | null;
|
12842
|
-
/**
|
12843
|
-
* The regex that will be evaluated to match the shipping address country code.
|
12978
|
+
* The regex that will be evaluated to match the shipping address country code, max size is 5000.
|
12844
12979
|
* @example ```"AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT"```
|
12845
12980
|
*/
|
12846
12981
|
country_code_regex?: string | null;
|
12847
12982
|
/**
|
12848
|
-
* The regex that will be evaluated as negative match for the shipping address country code.
|
12983
|
+
* The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.
|
12849
12984
|
* @example ```"AT|BE|BG|CZ|DK|EE|DE"```
|
12850
12985
|
*/
|
12851
12986
|
not_country_code_regex?: string | null;
|
12852
12987
|
/**
|
12853
|
-
* The regex that will be evaluated to match the shipping address state code.
|
12988
|
+
* The regex that will be evaluated to match the shipping address state code, max size is 5000.
|
12854
12989
|
* @example ```"A[KLRZ]|C[AOT]|D[CE]|FL"```
|
12855
12990
|
*/
|
12856
12991
|
state_code_regex?: string | null;
|
12857
12992
|
/**
|
12858
|
-
* The regex that will be evaluated as negative match for the shipping address state code.
|
12993
|
+
* The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.
|
12859
12994
|
* @example ```"A[KLRZ]|C[AOT]"```
|
12860
12995
|
*/
|
12861
12996
|
not_state_code_regex?: string | null;
|
12862
12997
|
/**
|
12863
|
-
* The regex that will be evaluated to match the shipping address zip code.
|
12998
|
+
* The regex that will be evaluated to match the shipping address zip code, max size is 5000.
|
12864
12999
|
* @example ```"(?i)(JE1|JE2|JE3|JE4|JE5)"```
|
12865
13000
|
*/
|
12866
13001
|
zip_code_regex?: string | null;
|
12867
13002
|
/**
|
12868
|
-
* The regex that will be evaluated as negative match for the shipping zip country code.
|
13003
|
+
* The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.
|
12869
13004
|
* @example ```"(?i)(JE1|JE2|JE3)"```
|
12870
13005
|
*/
|
12871
13006
|
not_zip_code_regex?: string | null;
|
13007
|
+
manual_tax_calculator: ManualTaxCalculatorRel$3;
|
13008
|
+
}
|
13009
|
+
interface TaxRuleUpdate extends ResourceUpdate {
|
13010
|
+
/**
|
13011
|
+
* The tax rule internal name.
|
13012
|
+
* @example ```"Fixed 22%"```
|
13013
|
+
*/
|
13014
|
+
name?: string | null;
|
13015
|
+
/**
|
13016
|
+
* The tax rate for this rule.
|
13017
|
+
* @example ```"0.22"```
|
13018
|
+
*/
|
13019
|
+
tax_rate?: number | null;
|
12872
13020
|
/**
|
12873
13021
|
* Indicates if the freight is taxable.
|
12874
13022
|
*/
|
@@ -12885,65 +13033,36 @@ interface TaxRuleCreate extends ResourceCreate {
|
|
12885
13033
|
* Indicates if adjustemnts are taxable.
|
12886
13034
|
*/
|
12887
13035
|
adjustment_taxable?: boolean | null;
|
12888
|
-
manual_tax_calculator: ManualTaxCalculatorRel$3;
|
12889
|
-
}
|
12890
|
-
interface TaxRuleUpdate extends ResourceUpdate {
|
12891
|
-
/**
|
12892
|
-
* The tax rule internal name.
|
12893
|
-
* @example ```"Fixed 22%"```
|
12894
|
-
*/
|
12895
|
-
name?: string | null;
|
12896
13036
|
/**
|
12897
|
-
* The
|
12898
|
-
* @example ```"0.22"```
|
12899
|
-
*/
|
12900
|
-
tax_rate?: number | null;
|
12901
|
-
/**
|
12902
|
-
* The regex that will be evaluated to match the shipping address country code.
|
13037
|
+
* The regex that will be evaluated to match the shipping address country code, max size is 5000.
|
12903
13038
|
* @example ```"AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT"```
|
12904
13039
|
*/
|
12905
13040
|
country_code_regex?: string | null;
|
12906
13041
|
/**
|
12907
|
-
* The regex that will be evaluated as negative match for the shipping address country code.
|
13042
|
+
* The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.
|
12908
13043
|
* @example ```"AT|BE|BG|CZ|DK|EE|DE"```
|
12909
13044
|
*/
|
12910
13045
|
not_country_code_regex?: string | null;
|
12911
13046
|
/**
|
12912
|
-
* The regex that will be evaluated to match the shipping address state code.
|
13047
|
+
* The regex that will be evaluated to match the shipping address state code, max size is 5000.
|
12913
13048
|
* @example ```"A[KLRZ]|C[AOT]|D[CE]|FL"```
|
12914
13049
|
*/
|
12915
13050
|
state_code_regex?: string | null;
|
12916
13051
|
/**
|
12917
|
-
* The regex that will be evaluated as negative match for the shipping address state code.
|
13052
|
+
* The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.
|
12918
13053
|
* @example ```"A[KLRZ]|C[AOT]"```
|
12919
13054
|
*/
|
12920
13055
|
not_state_code_regex?: string | null;
|
12921
13056
|
/**
|
12922
|
-
* The regex that will be evaluated to match the shipping address zip code.
|
13057
|
+
* The regex that will be evaluated to match the shipping address zip code, max size is 5000.
|
12923
13058
|
* @example ```"(?i)(JE1|JE2|JE3|JE4|JE5)"```
|
12924
13059
|
*/
|
12925
13060
|
zip_code_regex?: string | null;
|
12926
13061
|
/**
|
12927
|
-
* The regex that will be evaluated as negative match for the shipping zip country code.
|
13062
|
+
* The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.
|
12928
13063
|
* @example ```"(?i)(JE1|JE2|JE3)"```
|
12929
13064
|
*/
|
12930
13065
|
not_zip_code_regex?: string | null;
|
12931
|
-
/**
|
12932
|
-
* Indicates if the freight is taxable.
|
12933
|
-
*/
|
12934
|
-
freight_taxable?: boolean | null;
|
12935
|
-
/**
|
12936
|
-
* Indicates if the payment method is taxable.
|
12937
|
-
*/
|
12938
|
-
payment_method_taxable?: boolean | null;
|
12939
|
-
/**
|
12940
|
-
* Indicates if gift cards are taxable.
|
12941
|
-
*/
|
12942
|
-
gift_card_taxable?: boolean | null;
|
12943
|
-
/**
|
12944
|
-
* Indicates if adjustemnts are taxable.
|
12945
|
-
*/
|
12946
|
-
adjustment_taxable?: boolean | null;
|
12947
13066
|
manual_tax_calculator?: ManualTaxCalculatorRel$3 | null;
|
12948
13067
|
}
|
12949
13068
|
declare class TaxRules extends ApiResource<TaxRule> {
|
@@ -13181,7 +13300,7 @@ type PriceListRel$1 = ResourceRel & {
|
|
13181
13300
|
type PaymentMethodRel = ResourceRel & {
|
13182
13301
|
type: PaymentMethodType;
|
13183
13302
|
};
|
13184
|
-
type MarketRel$
|
13303
|
+
type MarketRel$2 = ResourceRel & {
|
13185
13304
|
type: MarketType;
|
13186
13305
|
};
|
13187
13306
|
type CustomerGroupRel$1 = ResourceRel & {
|
@@ -13319,7 +13438,7 @@ interface AttachmentCreate extends ResourceCreate {
|
|
13319
13438
|
* @example ```"https://s3.yourdomain.com/attachment.pdf"```
|
13320
13439
|
*/
|
13321
13440
|
url?: string | null;
|
13322
|
-
attachable: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$
|
13441
|
+
attachable: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | ShipmentRel | PaymentOptionRel | PackageRel | ParcelRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel;
|
13323
13442
|
}
|
13324
13443
|
interface AttachmentUpdate extends ResourceUpdate {
|
13325
13444
|
/**
|
@@ -13337,7 +13456,7 @@ interface AttachmentUpdate extends ResourceUpdate {
|
|
13337
13456
|
* @example ```"https://s3.yourdomain.com/attachment.pdf"```
|
13338
13457
|
*/
|
13339
13458
|
url?: string | null;
|
13340
|
-
attachable?: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$
|
13459
|
+
attachable?: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | ShipmentRel | PaymentOptionRel | PackageRel | ParcelRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null;
|
13341
13460
|
}
|
13342
13461
|
declare class Attachments extends ApiResource<Attachment> {
|
13343
13462
|
static readonly TYPE: AttachmentType;
|
@@ -13400,7 +13519,7 @@ declare class Merchants extends ApiResource<Merchant> {
|
|
13400
13519
|
}
|
13401
13520
|
|
13402
13521
|
type MarketType = 'markets';
|
13403
|
-
type MarketRel$
|
13522
|
+
type MarketRel$1 = ResourceRel & {
|
13404
13523
|
type: MarketType;
|
13405
13524
|
};
|
13406
13525
|
type MerchantRel = ResourceRel & {
|
@@ -13632,8 +13751,8 @@ declare class Markets extends ApiResource<Market> {
|
|
13632
13751
|
_disable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
|
13633
13752
|
_enable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
|
13634
13753
|
isMarket(resource: any): resource is Market;
|
13635
|
-
relationship(id: string | ResourceId | null): MarketRel$
|
13636
|
-
relationshipToMany(...ids: string[]): MarketRel$
|
13754
|
+
relationship(id: string | ResourceId | null): MarketRel$1;
|
13755
|
+
relationshipToMany(...ids: string[]): MarketRel$1[];
|
13637
13756
|
type(): MarketType;
|
13638
13757
|
}
|
13639
13758
|
|
@@ -14262,40 +14381,6 @@ declare class AxerveGateways extends ApiResource<AxerveGateway> {
|
|
14262
14381
|
type(): AxerveGatewayType;
|
14263
14382
|
}
|
14264
14383
|
|
14265
|
-
type BillingInfoValidationRuleType = 'billing_info_validation_rules';
|
14266
|
-
type BillingInfoValidationRuleRel = ResourceRel & {
|
14267
|
-
type: BillingInfoValidationRuleType;
|
14268
|
-
};
|
14269
|
-
type MarketRel$1 = ResourceRel & {
|
14270
|
-
type: MarketType;
|
14271
|
-
};
|
14272
|
-
type BillingInfoValidationRuleSort = Pick<BillingInfoValidationRule, 'id'> & ResourceSort;
|
14273
|
-
interface BillingInfoValidationRule extends Resource {
|
14274
|
-
readonly type: BillingInfoValidationRuleType;
|
14275
|
-
market?: Market | null;
|
14276
|
-
attachments?: Attachment[] | null;
|
14277
|
-
versions?: Version[] | null;
|
14278
|
-
}
|
14279
|
-
interface BillingInfoValidationRuleCreate extends ResourceCreate {
|
14280
|
-
market: MarketRel$1;
|
14281
|
-
}
|
14282
|
-
interface BillingInfoValidationRuleUpdate extends ResourceUpdate {
|
14283
|
-
market?: MarketRel$1 | null;
|
14284
|
-
}
|
14285
|
-
declare class BillingInfoValidationRules extends ApiResource<BillingInfoValidationRule> {
|
14286
|
-
static readonly TYPE: BillingInfoValidationRuleType;
|
14287
|
-
create(resource: BillingInfoValidationRuleCreate, params?: QueryParamsRetrieve<BillingInfoValidationRule>, options?: ResourcesConfig): Promise<BillingInfoValidationRule>;
|
14288
|
-
update(resource: BillingInfoValidationRuleUpdate, params?: QueryParamsRetrieve<BillingInfoValidationRule>, options?: ResourcesConfig): Promise<BillingInfoValidationRule>;
|
14289
|
-
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
14290
|
-
market(billingInfoValidationRuleId: string | BillingInfoValidationRule, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
|
14291
|
-
attachments(billingInfoValidationRuleId: string | BillingInfoValidationRule, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
14292
|
-
versions(billingInfoValidationRuleId: string | BillingInfoValidationRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
14293
|
-
isBillingInfoValidationRule(resource: any): resource is BillingInfoValidationRule;
|
14294
|
-
relationship(id: string | ResourceId | null): BillingInfoValidationRuleRel;
|
14295
|
-
relationshipToMany(...ids: string[]): BillingInfoValidationRuleRel[];
|
14296
|
-
type(): BillingInfoValidationRuleType;
|
14297
|
-
}
|
14298
|
-
|
14299
14384
|
type BingGeocoderType = 'bing_geocoders';
|
14300
14385
|
type BingGeocoderRel = ResourceRel & {
|
14301
14386
|
type: BingGeocoderType;
|
@@ -15429,10 +15514,20 @@ interface Organization extends Resource {
|
|
15429
15514
|
* Enables the rules engine for flex promotions and price list rules.
|
15430
15515
|
*/
|
15431
15516
|
api_rules_engine?: boolean | null;
|
15517
|
+
/**
|
15518
|
+
* Forces the usage of the new Authentication API.
|
15519
|
+
* @example ```"true"```
|
15520
|
+
*/
|
15521
|
+
api_new_auth?: boolean | null;
|
15432
15522
|
/**
|
15433
15523
|
* Enables the purge of cached single resources when list is purged.
|
15434
15524
|
*/
|
15435
15525
|
api_purge_single_resource?: boolean | null;
|
15526
|
+
/**
|
15527
|
+
* The maximum length for the regular expressions, default is 5000.
|
15528
|
+
* @example ```"5000"```
|
15529
|
+
*/
|
15530
|
+
api_max_regex_length?: number | null;
|
15436
15531
|
/**
|
15437
15532
|
* Indicates if the phone attribute is required for addresses, default is true.
|
15438
15533
|
* @example ```"true"```
|
@@ -15506,6 +15601,10 @@ interface Organization extends Resource {
|
|
15506
15601
|
* @example ```"true"```
|
15507
15602
|
*/
|
15508
15603
|
imports_purge_cache?: boolean | null;
|
15604
|
+
/**
|
15605
|
+
* Disables the interruption of the import in case its errors exceeds the 10% threshold, default is false.
|
15606
|
+
*/
|
15607
|
+
imports_skip_errors?: boolean | null;
|
15509
15608
|
/**
|
15510
15609
|
* The maximum number of active concurrent promotions allowed for your organization, default is 10.
|
15511
15610
|
* @example ```"10"```
|
@@ -15515,6 +15614,19 @@ interface Organization extends Resource {
|
|
15515
15614
|
* Enables triggering of webhooks during imports, default is false.
|
15516
15615
|
*/
|
15517
15616
|
imports_trigger_webhooks?: number | null;
|
15617
|
+
/**
|
15618
|
+
* Enables the use of an external discount engine in place of the standard one, default is false.
|
15619
|
+
*/
|
15620
|
+
discount_engines_enabled?: boolean | null;
|
15621
|
+
/**
|
15622
|
+
* Enables raising of API errors in case of discount engine failure, default is false.
|
15623
|
+
*/
|
15624
|
+
discount_engines_errors?: boolean | null;
|
15625
|
+
/**
|
15626
|
+
* The maximum length for the tag name, default is 25.
|
15627
|
+
* @example ```"25"```
|
15628
|
+
*/
|
15629
|
+
tags_max_name_length?: number | null;
|
15518
15630
|
/**
|
15519
15631
|
* Enables raising of API errors in case of tax calculation failure, default is false.
|
15520
15632
|
*/
|
@@ -15765,7 +15877,7 @@ declare class StripeGateways extends ApiResource<StripeGateway> {
|
|
15765
15877
|
type(): StripeGatewayType;
|
15766
15878
|
}
|
15767
15879
|
|
15768
|
-
type ResourceTypeLock = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'applications' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | '
|
15880
|
+
type ResourceTypeLock = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'applications' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'event_callbacks' | 'events' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_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' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_factories' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'organizations' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_tiers' | 'price_volume_tiers' | 'prices' | 'promotion_rules' | 'promotions' | 'recurring_order_copies' | 'refunds' | 'reserved_stocks' | 'resource_errors' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_method_tiers' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'subscription_models' | 'tags' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'versions' | 'voids' | 'webhooks' | 'wire_transfers';
|
15769
15881
|
declare const resourceList: ResourceTypeLock[];
|
15770
15882
|
declare const singletonList: ResourceTypeLock[];
|
15771
15883
|
type RetrievableResourceType = ResourceTypeLock;
|
@@ -15776,15 +15888,15 @@ type ListableResourceType = Exclude<ResourceTypeLock, 'applications' | 'organiza
|
|
15776
15888
|
type ListableResource = Resource & {
|
15777
15889
|
type: ListableResourceType;
|
15778
15890
|
};
|
15779
|
-
type CreatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | '
|
15891
|
+
type CreatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'subscription_models' | 'tags' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'webhooks' | 'wire_transfers';
|
15780
15892
|
type CreatableResource = Resource & {
|
15781
15893
|
type: CreatableResourceType;
|
15782
15894
|
};
|
15783
|
-
type UpdatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | '
|
15895
|
+
type UpdatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'events' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'refunds' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'subscription_models' | 'tags' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'voids' | 'webhooks' | 'wire_transfers';
|
15784
15896
|
type UpdatableResource = Resource & {
|
15785
15897
|
type: UpdatableResourceType;
|
15786
15898
|
};
|
15787
|
-
type DeletableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | '
|
15899
|
+
type DeletableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'subscription_models' | 'tags' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'webhooks' | 'wire_transfers';
|
15788
15900
|
type DeletableResource = Resource & {
|
15789
15901
|
type: DeletableResourceType;
|
15790
15902
|
};
|
@@ -15795,7 +15907,7 @@ type TaggableResource = Resource & {
|
|
15795
15907
|
type: TagType;
|
15796
15908
|
}> | null;
|
15797
15909
|
};
|
15798
|
-
type VersionableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | '
|
15910
|
+
type VersionableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_payment_sources' | 'customer_subscriptions' | 'delivery_lead_times' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_tiers' | 'price_volume_tiers' | 'prices' | 'promotion_rules' | 'promotions' | 'refunds' | 'reserved_stocks' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_method_tiers' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'voids' | 'webhooks' | 'wire_transfers';
|
15799
15911
|
type VersionableResource = Resource & {
|
15800
15912
|
type: VersionableResourceType;
|
15801
15913
|
versions?: Array<ResourceRel & {
|
@@ -15813,7 +15925,6 @@ type ResourceFields = {
|
|
15813
15925
|
avalara_accounts: AvalaraAccount;
|
15814
15926
|
axerve_gateways: AxerveGateway;
|
15815
15927
|
axerve_payments: AxervePayment;
|
15816
|
-
billing_info_validation_rules: BillingInfoValidationRule;
|
15817
15928
|
bing_geocoders: BingGeocoder;
|
15818
15929
|
braintree_gateways: BraintreeGateway;
|
15819
15930
|
braintree_payments: BraintreePayment;
|
@@ -15865,6 +15976,7 @@ type ResourceFields = {
|
|
15865
15976
|
manual_tax_calculators: ManualTaxCalculator;
|
15866
15977
|
markets: Market;
|
15867
15978
|
merchants: Merchant;
|
15979
|
+
notifications: Notification;
|
15868
15980
|
order_amount_promotion_rules: OrderAmountPromotionRule;
|
15869
15981
|
order_copies: OrderCopy;
|
15870
15982
|
order_factories: OrderFactory;
|
@@ -15939,7 +16051,6 @@ type ResourceSortFields = {
|
|
15939
16051
|
avalara_accounts: AvalaraAccountSort;
|
15940
16052
|
axerve_gateways: AxerveGatewaySort;
|
15941
16053
|
axerve_payments: AxervePaymentSort;
|
15942
|
-
billing_info_validation_rules: BillingInfoValidationRuleSort;
|
15943
16054
|
bing_geocoders: BingGeocoderSort;
|
15944
16055
|
braintree_gateways: BraintreeGatewaySort;
|
15945
16056
|
braintree_payments: BraintreePaymentSort;
|
@@ -15991,6 +16102,7 @@ type ResourceSortFields = {
|
|
15991
16102
|
manual_tax_calculators: ManualTaxCalculatorSort;
|
15992
16103
|
markets: MarketSort;
|
15993
16104
|
merchants: MerchantSort;
|
16105
|
+
notifications: NotificationSort;
|
15994
16106
|
order_amount_promotion_rules: OrderAmountPromotionRuleSort;
|
15995
16107
|
order_copies: OrderCopySort;
|
15996
16108
|
order_factories: OrderFactorySort;
|
@@ -16092,7 +16204,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
|
16092
16204
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
16093
16205
|
declare class CommerceLayerClient {
|
16094
16206
|
#private;
|
16095
|
-
readonly openApiSchemaVersion = "7.
|
16207
|
+
readonly openApiSchemaVersion = "7.5.0";
|
16096
16208
|
constructor(config: CommerceLayerInitConfig);
|
16097
16209
|
get addresses(): Addresses;
|
16098
16210
|
get adjustments(): Adjustments;
|
@@ -16104,7 +16216,6 @@ declare class CommerceLayerClient {
|
|
16104
16216
|
get avalara_accounts(): AvalaraAccounts;
|
16105
16217
|
get axerve_gateways(): AxerveGateways;
|
16106
16218
|
get axerve_payments(): AxervePayments;
|
16107
|
-
get billing_info_validation_rules(): BillingInfoValidationRules;
|
16108
16219
|
get bing_geocoders(): BingGeocoders;
|
16109
16220
|
get braintree_gateways(): BraintreeGateways;
|
16110
16221
|
get braintree_payments(): BraintreePayments;
|
@@ -16156,6 +16267,7 @@ declare class CommerceLayerClient {
|
|
16156
16267
|
get manual_tax_calculators(): ManualTaxCalculators;
|
16157
16268
|
get markets(): Markets;
|
16158
16269
|
get merchants(): Merchants;
|
16270
|
+
get notifications(): Notifications;
|
16159
16271
|
get order_amount_promotion_rules(): OrderAmountPromotionRules;
|
16160
16272
|
get order_copies(): OrderCopies;
|
16161
16273
|
get order_factories(): OrderFactories;
|
@@ -16249,4 +16361,4 @@ declare const CommerceLayerStatic: {
|
|
16249
16361
|
readonly schemaVersion: string;
|
16250
16362
|
};
|
16251
16363
|
|
16252
|
-
export { type Address, type AddressCreate, type AddressSort, type AddressUpdate, Addresses, type Adjustment, type AdjustmentCreate, type AdjustmentSort, type AdjustmentUpdate, Adjustments, type AdyenGateway, type AdyenGatewayCreate, type AdyenGatewaySort, type AdyenGatewayUpdate, AdyenGateways, type AdyenPayment, type AdyenPaymentCreate, type AdyenPaymentSort, type AdyenPaymentUpdate, AdyenPayments, ApiError, ApiResource, ApiSingleton, type Application, type ApplicationSort, Applications, type Attachment, type AttachmentCreate, type AttachmentSort, type AttachmentUpdate, Attachments, type Authorization, type AuthorizationSort, type AuthorizationUpdate, Authorizations, type AvalaraAccount, type AvalaraAccountCreate, type AvalaraAccountSort, type AvalaraAccountUpdate, AvalaraAccounts, type AxerveGateway, type AxerveGatewayCreate, type AxerveGatewaySort, type AxerveGatewayUpdate, AxerveGateways, type AxervePayment, type AxervePaymentCreate, type AxervePaymentSort, type AxervePaymentUpdate, AxervePayments, type BillingInfoValidationRule, type BillingInfoValidationRuleCreate, type BillingInfoValidationRuleSort, type BillingInfoValidationRuleUpdate, BillingInfoValidationRules, type BingGeocoder, type BingGeocoderCreate, type BingGeocoderSort, type BingGeocoderUpdate, BingGeocoders, type BraintreeGateway, type BraintreeGatewayCreate, type BraintreeGatewaySort, type BraintreeGatewayUpdate, BraintreeGateways, type BraintreePayment, type BraintreePaymentCreate, type BraintreePaymentSort, type BraintreePaymentUpdate, BraintreePayments, type Bundle, type BundleCreate, type BundleSort, type BundleUpdate, Bundles, type BuyXPayYPromotion, type BuyXPayYPromotionCreate, type BuyXPayYPromotionSort, type BuyXPayYPromotionUpdate, BuyXPayYPromotions, type Capture, type CaptureSort, type CaptureUpdate, Captures, type CarrierAccount, type CarrierAccountCreate, type CarrierAccountSort, type CarrierAccountUpdate, CarrierAccounts, type CheckoutComGateway, type CheckoutComGatewayCreate, type CheckoutComGatewaySort, type CheckoutComGatewayUpdate, CheckoutComGateways, type CheckoutComPayment, type CheckoutComPaymentCreate, type CheckoutComPaymentSort, type CheckoutComPaymentUpdate, CheckoutComPayments, type Cleanup, type CleanupCreate, type CleanupSort, type CleanupUpdate, Cleanups, CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, CommerceLayerStatic, type Coupon, type CouponCodesPromotionRule, type CouponCodesPromotionRuleCreate, type CouponCodesPromotionRuleSort, type CouponCodesPromotionRuleUpdate, CouponCodesPromotionRules, type CouponCreate, type CouponRecipient, type CouponRecipientCreate, type CouponRecipientSort, type CouponRecipientUpdate, CouponRecipients, type CouponSort, type CouponUpdate, Coupons, type CreatableResource, type CreatableResourceType, type CustomPromotionRule, type CustomPromotionRuleCreate, type CustomPromotionRuleSort, type CustomPromotionRuleUpdate, CustomPromotionRules, type Customer, type CustomerAddress, type CustomerAddressCreate, type CustomerAddressSort, type CustomerAddressUpdate, CustomerAddresses, type CustomerCreate, type CustomerGroup, type CustomerGroupCreate, type CustomerGroupSort, type CustomerGroupUpdate, CustomerGroups, type CustomerPasswordReset, type CustomerPasswordResetCreate, type CustomerPasswordResetSort, type CustomerPasswordResetUpdate, CustomerPasswordResets, type CustomerPaymentSource, type CustomerPaymentSourceCreate, type CustomerPaymentSourceSort, type CustomerPaymentSourceUpdate, CustomerPaymentSources, type CustomerSort, type CustomerSubscription, type CustomerSubscriptionCreate, type CustomerSubscriptionSort, type CustomerSubscriptionUpdate, CustomerSubscriptions, type CustomerUpdate, Customers, type DeletableResource, type DeletableResourceType, type DeliveryLeadTime, type DeliveryLeadTimeCreate, type DeliveryLeadTimeSort, type DeliveryLeadTimeUpdate, DeliveryLeadTimes, type ErrorObj, ErrorType, type Event, type EventCallback, type EventCallbackSort, EventCallbacks, type EventSort, type EventUpdate, Events, type Export, type ExportCreate, type ExportSort, type ExportUpdate, Exports, type ExternalGateway, type ExternalGatewayCreate, type ExternalGatewaySort, type ExternalGatewayUpdate, ExternalGateways, type ExternalPayment, type ExternalPaymentCreate, type ExternalPaymentSort, type ExternalPaymentUpdate, ExternalPayments, type ExternalPromotion, type ExternalPromotionCreate, type ExternalPromotionSort, type ExternalPromotionUpdate, ExternalPromotions, type ExternalTaxCalculator, type ExternalTaxCalculatorCreate, type ExternalTaxCalculatorSort, type ExternalTaxCalculatorUpdate, ExternalTaxCalculators, type FixedAmountPromotion, type FixedAmountPromotionCreate, type FixedAmountPromotionSort, type FixedAmountPromotionUpdate, FixedAmountPromotions, type FixedPricePromotion, type FixedPricePromotionCreate, type FixedPricePromotionSort, type FixedPricePromotionUpdate, FixedPricePromotions, type FlexPromotion, type FlexPromotionCreate, type FlexPromotionSort, type FlexPromotionUpdate, FlexPromotions, type FreeGiftPromotion, type FreeGiftPromotionCreate, type FreeGiftPromotionSort, type FreeGiftPromotionUpdate, FreeGiftPromotions, type FreeShippingPromotion, type FreeShippingPromotionCreate, type FreeShippingPromotionSort, type FreeShippingPromotionUpdate, FreeShippingPromotions, type Geocoder, type GeocoderSort, Geocoders, type GiftCard, type GiftCardCreate, type GiftCardRecipient, type GiftCardRecipientCreate, type GiftCardRecipientSort, type GiftCardRecipientUpdate, GiftCardRecipients, type GiftCardSort, type GiftCardUpdate, GiftCards, type GoogleGeocoder, type GoogleGeocoderCreate, type GoogleGeocoderSort, type GoogleGeocoderUpdate, GoogleGeocoders, type HeadersObj, type Import, type ImportCreate, type ImportSort, type ImportUpdate, Imports, type InStockSubscription, type InStockSubscriptionCreate, type InStockSubscriptionSort, type InStockSubscriptionUpdate, InStockSubscriptions, type InventoryModel, type InventoryModelCreate, type InventoryModelSort, type InventoryModelUpdate, InventoryModels, type InventoryReturnLocation, type InventoryReturnLocationCreate, type InventoryReturnLocationSort, type InventoryReturnLocationUpdate, InventoryReturnLocations, type InventoryStockLocation, type InventoryStockLocationCreate, type InventoryStockLocationSort, type InventoryStockLocationUpdate, InventoryStockLocations, type KlarnaGateway, type KlarnaGatewayCreate, type KlarnaGatewaySort, type KlarnaGatewayUpdate, KlarnaGateways, type KlarnaPayment, type KlarnaPaymentCreate, type KlarnaPaymentSort, type KlarnaPaymentUpdate, KlarnaPayments, type LineItem, type LineItemCreate, type LineItemOption, type LineItemOptionCreate, type LineItemOptionSort, type LineItemOptionUpdate, LineItemOptions, type LineItemSort, type LineItemUpdate, LineItems, type Link, type LinkCreate, type LinkSort, type LinkUpdate, Links, type ListMeta, ListResponse, type ListableResource, type ListableResourceType, type ManualGateway, type ManualGatewayCreate, type ManualGatewaySort, type ManualGatewayUpdate, ManualGateways, type ManualTaxCalculator, type ManualTaxCalculatorCreate, type ManualTaxCalculatorSort, type ManualTaxCalculatorUpdate, ManualTaxCalculators, type Market, type MarketCreate, type MarketSort, type MarketUpdate, Markets, type Merchant, type MerchantCreate, type MerchantSort, type MerchantUpdate, Merchants, type Metadata, type Order, type OrderAmountPromotionRule, type OrderAmountPromotionRuleCreate, type OrderAmountPromotionRuleSort, type OrderAmountPromotionRuleUpdate, OrderAmountPromotionRules, OrderCopies, type OrderCopy, type OrderCopyCreate, type OrderCopySort, type OrderCopyUpdate, type OrderCreate, OrderFactories, type OrderFactory, type OrderFactorySort, type OrderSort, type OrderSubscription, type OrderSubscriptionCreate, type OrderSubscriptionItem, type OrderSubscriptionItemCreate, type OrderSubscriptionItemSort, type OrderSubscriptionItemUpdate, OrderSubscriptionItems, type OrderSubscriptionSort, type OrderSubscriptionUpdate, OrderSubscriptions, type OrderUpdate, Orders, type Organization, type OrganizationSort, Organizations, type Package, type PackageCreate, type PackageSort, type PackageUpdate, Packages, type Parcel, type ParcelCreate, type ParcelLineItem, type ParcelLineItemCreate, type ParcelLineItemSort, type ParcelLineItemUpdate, ParcelLineItems, type ParcelSort, type ParcelUpdate, Parcels, type PaymentGateway, type PaymentGatewaySort, PaymentGateways, type PaymentMethod, type PaymentMethodCreate, type PaymentMethodSort, type PaymentMethodUpdate, PaymentMethods, type PaymentOption, type PaymentOptionCreate, type PaymentOptionSort, type PaymentOptionUpdate, PaymentOptions, type PaypalGateway, type PaypalGatewayCreate, type PaypalGatewaySort, type PaypalGatewayUpdate, PaypalGateways, type PaypalPayment, type PaypalPaymentCreate, type PaypalPaymentSort, type PaypalPaymentUpdate, PaypalPayments, type PercentageDiscountPromotion, type PercentageDiscountPromotionCreate, type PercentageDiscountPromotionSort, type PercentageDiscountPromotionUpdate, PercentageDiscountPromotions, type Price, type PriceCreate, type PriceFrequencyTier, type PriceFrequencyTierCreate, type PriceFrequencyTierSort, type PriceFrequencyTierUpdate, PriceFrequencyTiers, type PriceList, type PriceListCreate, type PriceListScheduler, type PriceListSchedulerCreate, type PriceListSchedulerSort, type PriceListSchedulerUpdate, PriceListSchedulers, type PriceListSort, type PriceListUpdate, PriceLists, type PriceSort, type PriceTier, type PriceTierSort, PriceTiers, type PriceUpdate, type PriceVolumeTier, type PriceVolumeTierCreate, type PriceVolumeTierSort, type PriceVolumeTierUpdate, PriceVolumeTiers, Prices, type Promotion, type PromotionRule, type PromotionRuleSort, PromotionRules, type PromotionSort, Promotions, type QueryArrayFields, type QueryArraySortable, type QueryFields, type QueryFilter, type QueryInclude, type QueryPageNumber, type QueryPageSize, type QueryParams, type QueryParamsList, type QueryParamsRetrieve, type QueryRecordFields, type QueryRecordSortable, type QuerySort, RecurringOrderCopies, type RecurringOrderCopy, type RecurringOrderCopyCreate, type RecurringOrderCopySort, type RecurringOrderCopyUpdate, type Refund, type RefundSort, type RefundUpdate, Refunds, type RequestObj, type ReservedStock, type ReservedStockSort, ReservedStocks, type Resource, ResourceAdapter, type ResourceCreate, type ResourceError, type ResourceErrorSort, ResourceErrors, type ResourceFields, type ResourceFilter, type ResourceId, type ResourceRel, type ResourceSort, type ResourceSortFields, type ResourceType, type ResourceTypeLock, type ResourceUpdate, type ResourcesConfig, type ResourcesInitConfig, type ResponseObj, type RetrievableResource, type RetrievableResourceType, type Return, type ReturnCreate, type ReturnLineItem, type ReturnLineItemCreate, type ReturnLineItemSort, type ReturnLineItemUpdate, ReturnLineItems, type ReturnSort, type ReturnUpdate, Returns, type SatispayGateway, type SatispayGatewayCreate, type SatispayGatewaySort, type SatispayGatewayUpdate, SatispayGateways, type SatispayPayment, type SatispayPaymentCreate, type SatispayPaymentSort, type SatispayPaymentUpdate, SatispayPayments, SdkError, type Shipment, type ShipmentCreate, type ShipmentSort, type ShipmentUpdate, Shipments, ShippingCategories, type ShippingCategory, type ShippingCategoryCreate, type ShippingCategorySort, type ShippingCategoryUpdate, type ShippingMethod, type ShippingMethodCreate, type ShippingMethodSort, type ShippingMethodTier, type ShippingMethodTierSort, ShippingMethodTiers, type ShippingMethodUpdate, ShippingMethods, type ShippingWeightTier, type ShippingWeightTierCreate, type ShippingWeightTierSort, type ShippingWeightTierUpdate, ShippingWeightTiers, type ShippingZone, type ShippingZoneCreate, type ShippingZoneSort, type ShippingZoneUpdate, ShippingZones, type Sku, type SkuCreate, type SkuList, type SkuListCreate, type SkuListItem, type SkuListItemCreate, type SkuListItemSort, type SkuListItemUpdate, SkuListItems, type SkuListPromotionRule, type SkuListPromotionRuleCreate, type SkuListPromotionRuleSort, type SkuListPromotionRuleUpdate, SkuListPromotionRules, type SkuListSort, type SkuListUpdate, SkuLists, type SkuOption, type SkuOptionCreate, type SkuOptionSort, type SkuOptionUpdate, SkuOptions, type SkuSort, type SkuUpdate, Skus, type StockItem, type StockItemCreate, type StockItemSort, type StockItemUpdate, StockItems, type StockLineItem, type StockLineItemCreate, type StockLineItemSort, type StockLineItemUpdate, StockLineItems, type StockLocation, type StockLocationCreate, type StockLocationSort, type StockLocationUpdate, StockLocations, type StockReservation, type StockReservationCreate, type StockReservationSort, type StockReservationUpdate, StockReservations, type StockTransfer, type StockTransferCreate, type StockTransferSort, type StockTransferUpdate, StockTransfers, type Store, type StoreCreate, type StoreSort, type StoreUpdate, Stores, type StripeGateway, type StripeGatewayCreate, type StripeGatewaySort, type StripeGatewayUpdate, StripeGateways, type StripePayment, type StripePaymentCreate, type StripePaymentSort, type StripePaymentUpdate, StripePayments, type SubscriptionModel, type SubscriptionModelCreate, type SubscriptionModelSort, type SubscriptionModelUpdate, SubscriptionModels, type Tag, type TagCreate, type TagSort, type TagUpdate, type TaggableResource, type TaggableResourceType, Tags, type TaxCalculator, type TaxCalculatorSort, TaxCalculators, TaxCategories, type TaxCategory, type TaxCategoryCreate, type TaxCategorySort, type TaxCategoryUpdate, type TaxRule, type TaxRuleCreate, type TaxRuleSort, type TaxRuleUpdate, TaxRules, type TaxjarAccount, type TaxjarAccountCreate, type TaxjarAccountSort, type TaxjarAccountUpdate, TaxjarAccounts, type Transaction, type TransactionSort, Transactions, type UpdatableResource, type UpdatableResourceType, type Version, type VersionSort, type VersionableResource, type VersionableResourceType, Versions, type Void, type VoidSort, type VoidUpdate, Voids, type Webhook, type WebhookCreate, type WebhookSort, type WebhookUpdate, Webhooks, type WireTransfer, type WireTransferCreate, type WireTransferSort, type WireTransferUpdate, WireTransfers, apiResourceAdapter, CommerceLayer as default, generateQueryStringParams, generateSearchString, isParamsList, resourceList, singletonList };
|
16364
|
+
export { type Address, type AddressCreate, type AddressSort, type AddressUpdate, Addresses, type Adjustment, type AdjustmentCreate, type AdjustmentSort, type AdjustmentUpdate, Adjustments, type AdyenGateway, type AdyenGatewayCreate, type AdyenGatewaySort, type AdyenGatewayUpdate, AdyenGateways, type AdyenPayment, type AdyenPaymentCreate, type AdyenPaymentSort, type AdyenPaymentUpdate, AdyenPayments, ApiError, ApiResource, ApiSingleton, type Application, type ApplicationSort, Applications, type Attachment, type AttachmentCreate, type AttachmentSort, type AttachmentUpdate, Attachments, type Authorization, type AuthorizationSort, type AuthorizationUpdate, Authorizations, type AvalaraAccount, type AvalaraAccountCreate, type AvalaraAccountSort, type AvalaraAccountUpdate, AvalaraAccounts, type AxerveGateway, type AxerveGatewayCreate, type AxerveGatewaySort, type AxerveGatewayUpdate, AxerveGateways, type AxervePayment, type AxervePaymentCreate, type AxervePaymentSort, type AxervePaymentUpdate, AxervePayments, type BingGeocoder, type BingGeocoderCreate, type BingGeocoderSort, type BingGeocoderUpdate, BingGeocoders, type BraintreeGateway, type BraintreeGatewayCreate, type BraintreeGatewaySort, type BraintreeGatewayUpdate, BraintreeGateways, type BraintreePayment, type BraintreePaymentCreate, type BraintreePaymentSort, type BraintreePaymentUpdate, BraintreePayments, type Bundle, type BundleCreate, type BundleSort, type BundleUpdate, Bundles, type BuyXPayYPromotion, type BuyXPayYPromotionCreate, type BuyXPayYPromotionSort, type BuyXPayYPromotionUpdate, BuyXPayYPromotions, type Capture, type CaptureSort, type CaptureUpdate, Captures, type CarrierAccount, type CarrierAccountCreate, type CarrierAccountSort, type CarrierAccountUpdate, CarrierAccounts, type CheckoutComGateway, type CheckoutComGatewayCreate, type CheckoutComGatewaySort, type CheckoutComGatewayUpdate, CheckoutComGateways, type CheckoutComPayment, type CheckoutComPaymentCreate, type CheckoutComPaymentSort, type CheckoutComPaymentUpdate, CheckoutComPayments, type Cleanup, type CleanupCreate, type CleanupSort, type CleanupUpdate, Cleanups, CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, CommerceLayerStatic, type Coupon, type CouponCodesPromotionRule, type CouponCodesPromotionRuleCreate, type CouponCodesPromotionRuleSort, type CouponCodesPromotionRuleUpdate, CouponCodesPromotionRules, type CouponCreate, type CouponRecipient, type CouponRecipientCreate, type CouponRecipientSort, type CouponRecipientUpdate, CouponRecipients, type CouponSort, type CouponUpdate, Coupons, type CreatableResource, type CreatableResourceType, type CustomPromotionRule, type CustomPromotionRuleCreate, type CustomPromotionRuleSort, type CustomPromotionRuleUpdate, CustomPromotionRules, type Customer, type CustomerAddress, type CustomerAddressCreate, type CustomerAddressSort, type CustomerAddressUpdate, CustomerAddresses, type CustomerCreate, type CustomerGroup, type CustomerGroupCreate, type CustomerGroupSort, type CustomerGroupUpdate, CustomerGroups, type CustomerPasswordReset, type CustomerPasswordResetCreate, type CustomerPasswordResetSort, type CustomerPasswordResetUpdate, CustomerPasswordResets, type CustomerPaymentSource, type CustomerPaymentSourceCreate, type CustomerPaymentSourceSort, type CustomerPaymentSourceUpdate, CustomerPaymentSources, type CustomerSort, type CustomerSubscription, type CustomerSubscriptionCreate, type CustomerSubscriptionSort, type CustomerSubscriptionUpdate, CustomerSubscriptions, type CustomerUpdate, Customers, type DeletableResource, type DeletableResourceType, type DeliveryLeadTime, type DeliveryLeadTimeCreate, type DeliveryLeadTimeSort, type DeliveryLeadTimeUpdate, DeliveryLeadTimes, type ErrorObj, ErrorType, type Event, type EventCallback, type EventCallbackSort, EventCallbacks, type EventSort, type EventUpdate, Events, type Export, type ExportCreate, type ExportSort, type ExportUpdate, Exports, type ExternalGateway, type ExternalGatewayCreate, type ExternalGatewaySort, type ExternalGatewayUpdate, ExternalGateways, type ExternalPayment, type ExternalPaymentCreate, type ExternalPaymentSort, type ExternalPaymentUpdate, ExternalPayments, type ExternalPromotion, type ExternalPromotionCreate, type ExternalPromotionSort, type ExternalPromotionUpdate, ExternalPromotions, type ExternalTaxCalculator, type ExternalTaxCalculatorCreate, type ExternalTaxCalculatorSort, type ExternalTaxCalculatorUpdate, ExternalTaxCalculators, type FixedAmountPromotion, type FixedAmountPromotionCreate, type FixedAmountPromotionSort, type FixedAmountPromotionUpdate, FixedAmountPromotions, type FixedPricePromotion, type FixedPricePromotionCreate, type FixedPricePromotionSort, type FixedPricePromotionUpdate, FixedPricePromotions, type FlexPromotion, type FlexPromotionCreate, type FlexPromotionSort, type FlexPromotionUpdate, FlexPromotions, type FreeGiftPromotion, type FreeGiftPromotionCreate, type FreeGiftPromotionSort, type FreeGiftPromotionUpdate, FreeGiftPromotions, type FreeShippingPromotion, type FreeShippingPromotionCreate, type FreeShippingPromotionSort, type FreeShippingPromotionUpdate, FreeShippingPromotions, type Geocoder, type GeocoderSort, Geocoders, type GiftCard, type GiftCardCreate, type GiftCardRecipient, type GiftCardRecipientCreate, type GiftCardRecipientSort, type GiftCardRecipientUpdate, GiftCardRecipients, type GiftCardSort, type GiftCardUpdate, GiftCards, type GoogleGeocoder, type GoogleGeocoderCreate, type GoogleGeocoderSort, type GoogleGeocoderUpdate, GoogleGeocoders, type HeadersObj, type Import, type ImportCreate, type ImportSort, type ImportUpdate, Imports, type InStockSubscription, type InStockSubscriptionCreate, type InStockSubscriptionSort, type InStockSubscriptionUpdate, InStockSubscriptions, type InventoryModel, type InventoryModelCreate, type InventoryModelSort, type InventoryModelUpdate, InventoryModels, type InventoryReturnLocation, type InventoryReturnLocationCreate, type InventoryReturnLocationSort, type InventoryReturnLocationUpdate, InventoryReturnLocations, type InventoryStockLocation, type InventoryStockLocationCreate, type InventoryStockLocationSort, type InventoryStockLocationUpdate, InventoryStockLocations, type KlarnaGateway, type KlarnaGatewayCreate, type KlarnaGatewaySort, type KlarnaGatewayUpdate, KlarnaGateways, type KlarnaPayment, type KlarnaPaymentCreate, type KlarnaPaymentSort, type KlarnaPaymentUpdate, KlarnaPayments, type LineItem, type LineItemCreate, type LineItemOption, type LineItemOptionCreate, type LineItemOptionSort, type LineItemOptionUpdate, LineItemOptions, type LineItemSort, type LineItemUpdate, LineItems, type Link, type LinkCreate, type LinkSort, type LinkUpdate, Links, type ListMeta, ListResponse, type ListableResource, type ListableResourceType, type ManualGateway, type ManualGatewayCreate, type ManualGatewaySort, type ManualGatewayUpdate, ManualGateways, type ManualTaxCalculator, type ManualTaxCalculatorCreate, type ManualTaxCalculatorSort, type ManualTaxCalculatorUpdate, ManualTaxCalculators, type Market, type MarketCreate, type MarketSort, type MarketUpdate, Markets, type Merchant, type MerchantCreate, type MerchantSort, type MerchantUpdate, Merchants, type Metadata, type Notification, type NotificationCreate, type NotificationSort, type NotificationUpdate, Notifications, type Order, type OrderAmountPromotionRule, type OrderAmountPromotionRuleCreate, type OrderAmountPromotionRuleSort, type OrderAmountPromotionRuleUpdate, OrderAmountPromotionRules, OrderCopies, type OrderCopy, type OrderCopyCreate, type OrderCopySort, type OrderCopyUpdate, type OrderCreate, OrderFactories, type OrderFactory, type OrderFactorySort, type OrderSort, type OrderSubscription, type OrderSubscriptionCreate, type OrderSubscriptionItem, type OrderSubscriptionItemCreate, type OrderSubscriptionItemSort, type OrderSubscriptionItemUpdate, OrderSubscriptionItems, type OrderSubscriptionSort, type OrderSubscriptionUpdate, OrderSubscriptions, type OrderUpdate, Orders, type Organization, type OrganizationSort, Organizations, type Package, type PackageCreate, type PackageSort, type PackageUpdate, Packages, type Parcel, type ParcelCreate, type ParcelLineItem, type ParcelLineItemCreate, type ParcelLineItemSort, type ParcelLineItemUpdate, ParcelLineItems, type ParcelSort, type ParcelUpdate, Parcels, type PaymentGateway, type PaymentGatewaySort, PaymentGateways, type PaymentMethod, type PaymentMethodCreate, type PaymentMethodSort, type PaymentMethodUpdate, PaymentMethods, type PaymentOption, type PaymentOptionCreate, type PaymentOptionSort, type PaymentOptionUpdate, PaymentOptions, type PaypalGateway, type PaypalGatewayCreate, type PaypalGatewaySort, type PaypalGatewayUpdate, PaypalGateways, type PaypalPayment, type PaypalPaymentCreate, type PaypalPaymentSort, type PaypalPaymentUpdate, PaypalPayments, type PercentageDiscountPromotion, type PercentageDiscountPromotionCreate, type PercentageDiscountPromotionSort, type PercentageDiscountPromotionUpdate, PercentageDiscountPromotions, type Price, type PriceCreate, type PriceFrequencyTier, type PriceFrequencyTierCreate, type PriceFrequencyTierSort, type PriceFrequencyTierUpdate, PriceFrequencyTiers, type PriceList, type PriceListCreate, type PriceListScheduler, type PriceListSchedulerCreate, type PriceListSchedulerSort, type PriceListSchedulerUpdate, PriceListSchedulers, type PriceListSort, type PriceListUpdate, PriceLists, type PriceSort, type PriceTier, type PriceTierSort, PriceTiers, type PriceUpdate, type PriceVolumeTier, type PriceVolumeTierCreate, type PriceVolumeTierSort, type PriceVolumeTierUpdate, PriceVolumeTiers, Prices, type Promotion, type PromotionRule, type PromotionRuleSort, PromotionRules, type PromotionSort, Promotions, type QueryArrayFields, type QueryArraySortable, type QueryFields, type QueryFilter, type QueryInclude, type QueryPageNumber, type QueryPageSize, type QueryParams, type QueryParamsList, type QueryParamsRetrieve, type QueryRecordFields, type QueryRecordSortable, type QuerySort, RecurringOrderCopies, type RecurringOrderCopy, type RecurringOrderCopyCreate, type RecurringOrderCopySort, type RecurringOrderCopyUpdate, type Refund, type RefundSort, type RefundUpdate, Refunds, type RequestObj, type ReservedStock, type ReservedStockSort, ReservedStocks, type Resource, ResourceAdapter, type ResourceCreate, type ResourceError, type ResourceErrorSort, ResourceErrors, type ResourceFields, type ResourceFilter, type ResourceId, type ResourceRel, type ResourceSort, type ResourceSortFields, type ResourceType, type ResourceTypeLock, type ResourceUpdate, type ResourcesConfig, type ResourcesInitConfig, type ResponseObj, type RetrievableResource, type RetrievableResourceType, type Return, type ReturnCreate, type ReturnLineItem, type ReturnLineItemCreate, type ReturnLineItemSort, type ReturnLineItemUpdate, ReturnLineItems, type ReturnSort, type ReturnUpdate, Returns, type SatispayGateway, type SatispayGatewayCreate, type SatispayGatewaySort, type SatispayGatewayUpdate, SatispayGateways, type SatispayPayment, type SatispayPaymentCreate, type SatispayPaymentSort, type SatispayPaymentUpdate, SatispayPayments, SdkError, type Shipment, type ShipmentCreate, type ShipmentSort, type ShipmentUpdate, Shipments, ShippingCategories, type ShippingCategory, type ShippingCategoryCreate, type ShippingCategorySort, type ShippingCategoryUpdate, type ShippingMethod, type ShippingMethodCreate, type ShippingMethodSort, type ShippingMethodTier, type ShippingMethodTierSort, ShippingMethodTiers, type ShippingMethodUpdate, ShippingMethods, type ShippingWeightTier, type ShippingWeightTierCreate, type ShippingWeightTierSort, type ShippingWeightTierUpdate, ShippingWeightTiers, type ShippingZone, type ShippingZoneCreate, type ShippingZoneSort, type ShippingZoneUpdate, ShippingZones, type Sku, type SkuCreate, type SkuList, type SkuListCreate, type SkuListItem, type SkuListItemCreate, type SkuListItemSort, type SkuListItemUpdate, SkuListItems, type SkuListPromotionRule, type SkuListPromotionRuleCreate, type SkuListPromotionRuleSort, type SkuListPromotionRuleUpdate, SkuListPromotionRules, type SkuListSort, type SkuListUpdate, SkuLists, type SkuOption, type SkuOptionCreate, type SkuOptionSort, type SkuOptionUpdate, SkuOptions, type SkuSort, type SkuUpdate, Skus, type StockItem, type StockItemCreate, type StockItemSort, type StockItemUpdate, StockItems, type StockLineItem, type StockLineItemCreate, type StockLineItemSort, type StockLineItemUpdate, StockLineItems, type StockLocation, type StockLocationCreate, type StockLocationSort, type StockLocationUpdate, StockLocations, type StockReservation, type StockReservationCreate, type StockReservationSort, type StockReservationUpdate, StockReservations, type StockTransfer, type StockTransferCreate, type StockTransferSort, type StockTransferUpdate, StockTransfers, type Store, type StoreCreate, type StoreSort, type StoreUpdate, Stores, type StripeGateway, type StripeGatewayCreate, type StripeGatewaySort, type StripeGatewayUpdate, StripeGateways, type StripePayment, type StripePaymentCreate, type StripePaymentSort, type StripePaymentUpdate, StripePayments, type SubscriptionModel, type SubscriptionModelCreate, type SubscriptionModelSort, type SubscriptionModelUpdate, SubscriptionModels, type Tag, type TagCreate, type TagSort, type TagUpdate, type TaggableResource, type TaggableResourceType, Tags, type TaxCalculator, type TaxCalculatorSort, TaxCalculators, TaxCategories, type TaxCategory, type TaxCategoryCreate, type TaxCategorySort, type TaxCategoryUpdate, type TaxRule, type TaxRuleCreate, type TaxRuleSort, type TaxRuleUpdate, TaxRules, type TaxjarAccount, type TaxjarAccountCreate, type TaxjarAccountSort, type TaxjarAccountUpdate, TaxjarAccounts, type Transaction, type TransactionSort, Transactions, type UpdatableResource, type UpdatableResourceType, type Version, type VersionSort, type VersionableResource, type VersionableResourceType, Versions, type Void, type VoidSort, type VoidUpdate, Voids, type Webhook, type WebhookCreate, type WebhookSort, type WebhookUpdate, Webhooks, type WireTransfer, type WireTransferCreate, type WireTransferSort, type WireTransferUpdate, WireTransfers, apiResourceAdapter, CommerceLayer as default, generateQueryStringParams, generateSearchString, isParamsList, resourceList, singletonList };
|