@commercelayer/sdk 6.52.0 → 6.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.mts +88 -3
- package/lib/index.d.ts +88 -3
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +3 -3
package/lib/index.d.mts
CHANGED
|
@@ -1350,6 +1350,11 @@ interface AdyenPayment extends Resource {
|
|
|
1350
1350
|
* @example ```1000```
|
|
1351
1351
|
*/
|
|
1352
1352
|
balance?: number | null;
|
|
1353
|
+
/**
|
|
1354
|
+
* The expiration date/time of this Adyen payment (valid for partial payments only).
|
|
1355
|
+
* @example ```"2018-01-02T12:00:00.000Z"```
|
|
1356
|
+
*/
|
|
1357
|
+
expires_at?: string | null;
|
|
1353
1358
|
/**
|
|
1354
1359
|
* Information about the payment instrument used in the transaction.
|
|
1355
1360
|
* @example ```{"issuer":"cl bank","card_type":"visa"}```
|
|
@@ -1994,7 +1999,7 @@ type SatispayPaymentRel$3 = ResourceRel & {
|
|
|
1994
1999
|
type OrderRel$d = ResourceRel & {
|
|
1995
2000
|
type: OrderType;
|
|
1996
2001
|
};
|
|
1997
|
-
type SatispayPaymentSort = Pick<SatispayPayment, 'id' | 'flow' | 'status'> & ResourceSort;
|
|
2002
|
+
type SatispayPaymentSort = Pick<SatispayPayment, 'id' | 'payment_id' | 'flow' | 'status'> & ResourceSort;
|
|
1998
2003
|
interface SatispayPayment extends Resource {
|
|
1999
2004
|
readonly type: SatispayPaymentType;
|
|
2000
2005
|
/**
|
|
@@ -2846,6 +2851,11 @@ interface Void extends Resource {
|
|
|
2846
2851
|
* @example ```"42/T/001"```
|
|
2847
2852
|
*/
|
|
2848
2853
|
number: string;
|
|
2854
|
+
/**
|
|
2855
|
+
* Information about the payment method used in the transaction.
|
|
2856
|
+
* @example ```"credit card"```
|
|
2857
|
+
*/
|
|
2858
|
+
payment_method_type?: string | null;
|
|
2849
2859
|
/**
|
|
2850
2860
|
* The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.
|
|
2851
2861
|
* @example ```"EUR"```
|
|
@@ -2942,6 +2952,11 @@ interface Authorization extends Resource {
|
|
|
2942
2952
|
* @example ```"42/T/001"```
|
|
2943
2953
|
*/
|
|
2944
2954
|
number: string;
|
|
2955
|
+
/**
|
|
2956
|
+
* Information about the payment method used in the transaction.
|
|
2957
|
+
* @example ```"credit card"```
|
|
2958
|
+
*/
|
|
2959
|
+
payment_method_type?: string | null;
|
|
2945
2960
|
/**
|
|
2946
2961
|
* The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.
|
|
2947
2962
|
* @example ```"EUR"```
|
|
@@ -3134,6 +3149,11 @@ interface Refund extends Resource {
|
|
|
3134
3149
|
* @example ```"42/T/001"```
|
|
3135
3150
|
*/
|
|
3136
3151
|
number: string;
|
|
3152
|
+
/**
|
|
3153
|
+
* Information about the payment method used in the transaction.
|
|
3154
|
+
* @example ```"credit card"```
|
|
3155
|
+
*/
|
|
3156
|
+
payment_method_type?: string | null;
|
|
3137
3157
|
/**
|
|
3138
3158
|
* The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.
|
|
3139
3159
|
* @example ```"EUR"```
|
|
@@ -3232,6 +3252,11 @@ interface Capture extends Resource {
|
|
|
3232
3252
|
* @example ```"42/T/001"```
|
|
3233
3253
|
*/
|
|
3234
3254
|
number: string;
|
|
3255
|
+
/**
|
|
3256
|
+
* Information about the payment method used in the transaction.
|
|
3257
|
+
* @example ```"credit card"```
|
|
3258
|
+
*/
|
|
3259
|
+
payment_method_type?: string | null;
|
|
3235
3260
|
/**
|
|
3236
3261
|
* The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.
|
|
3237
3262
|
* @example ```"EUR"```
|
|
@@ -5137,7 +5162,7 @@ type SkuListRel$9 = ResourceRel & {
|
|
|
5137
5162
|
type TagRel$h = ResourceRel & {
|
|
5138
5163
|
type: TagType;
|
|
5139
5164
|
};
|
|
5140
|
-
type BundleSort = Pick<Bundle, 'id' | 'code' | 'currency_code' | 'price_amount_cents' | 'compare_at_amount_cents'> & ResourceSort;
|
|
5165
|
+
type BundleSort = Pick<Bundle, 'id' | 'code' | 'name' | 'currency_code' | 'price_amount_cents' | 'compare_at_amount_cents'> & ResourceSort;
|
|
5141
5166
|
interface Bundle extends Resource {
|
|
5142
5167
|
readonly type: BundleType;
|
|
5143
5168
|
/**
|
|
@@ -6169,6 +6194,11 @@ interface ExternalPromotion extends Resource {
|
|
|
6169
6194
|
* @example ```112```
|
|
6170
6195
|
*/
|
|
6171
6196
|
weight?: number | null;
|
|
6197
|
+
/**
|
|
6198
|
+
* The total number of coupons created for this promotion.
|
|
6199
|
+
* @example ```2```
|
|
6200
|
+
*/
|
|
6201
|
+
coupons_count?: number | null;
|
|
6172
6202
|
/**
|
|
6173
6203
|
* Time at which this resource was disabled.
|
|
6174
6204
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -6471,6 +6501,11 @@ interface FixedAmountPromotion extends Resource {
|
|
|
6471
6501
|
* @example ```112```
|
|
6472
6502
|
*/
|
|
6473
6503
|
weight?: number | null;
|
|
6504
|
+
/**
|
|
6505
|
+
* The total number of coupons created for this promotion.
|
|
6506
|
+
* @example ```2```
|
|
6507
|
+
*/
|
|
6508
|
+
coupons_count?: number | null;
|
|
6474
6509
|
/**
|
|
6475
6510
|
* Time at which this resource was disabled.
|
|
6476
6511
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -6982,6 +7017,11 @@ interface FixedPricePromotion extends Resource {
|
|
|
6982
7017
|
* @example ```112```
|
|
6983
7018
|
*/
|
|
6984
7019
|
weight?: number | null;
|
|
7020
|
+
/**
|
|
7021
|
+
* The total number of coupons created for this promotion.
|
|
7022
|
+
* @example ```2```
|
|
7023
|
+
*/
|
|
7024
|
+
coupons_count?: number | null;
|
|
6985
7025
|
/**
|
|
6986
7026
|
* Time at which this resource was disabled.
|
|
6987
7027
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -7327,6 +7367,11 @@ interface FreeGiftPromotion extends Resource {
|
|
|
7327
7367
|
* @example ```112```
|
|
7328
7368
|
*/
|
|
7329
7369
|
weight?: number | null;
|
|
7370
|
+
/**
|
|
7371
|
+
* The total number of coupons created for this promotion.
|
|
7372
|
+
* @example ```2```
|
|
7373
|
+
*/
|
|
7374
|
+
coupons_count?: number | null;
|
|
7330
7375
|
/**
|
|
7331
7376
|
* Time at which this resource was disabled.
|
|
7332
7377
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -7654,6 +7699,11 @@ interface BuyXPayYPromotion extends Resource {
|
|
|
7654
7699
|
* @example ```112```
|
|
7655
7700
|
*/
|
|
7656
7701
|
weight?: number | null;
|
|
7702
|
+
/**
|
|
7703
|
+
* The total number of coupons created for this promotion.
|
|
7704
|
+
* @example ```2```
|
|
7705
|
+
*/
|
|
7706
|
+
coupons_count?: number | null;
|
|
7657
7707
|
/**
|
|
7658
7708
|
* Time at which this resource was disabled.
|
|
7659
7709
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -8043,6 +8093,11 @@ interface FreeShippingPromotion extends Resource {
|
|
|
8043
8093
|
* @example ```112```
|
|
8044
8094
|
*/
|
|
8045
8095
|
weight?: number | null;
|
|
8096
|
+
/**
|
|
8097
|
+
* The total number of coupons created for this promotion.
|
|
8098
|
+
* @example ```2```
|
|
8099
|
+
*/
|
|
8100
|
+
coupons_count?: number | null;
|
|
8046
8101
|
/**
|
|
8047
8102
|
* Time at which this resource was disabled.
|
|
8048
8103
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -8386,6 +8441,11 @@ interface PercentageDiscountPromotion extends Resource {
|
|
|
8386
8441
|
* @example ```112```
|
|
8387
8442
|
*/
|
|
8388
8443
|
weight?: number | null;
|
|
8444
|
+
/**
|
|
8445
|
+
* The total number of coupons created for this promotion.
|
|
8446
|
+
* @example ```2```
|
|
8447
|
+
*/
|
|
8448
|
+
coupons_count?: number | null;
|
|
8389
8449
|
/**
|
|
8390
8450
|
* Time at which this resource was disabled.
|
|
8391
8451
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -13344,6 +13404,11 @@ interface Promotion extends Resource {
|
|
|
13344
13404
|
* @example ```112```
|
|
13345
13405
|
*/
|
|
13346
13406
|
weight?: number | null;
|
|
13407
|
+
/**
|
|
13408
|
+
* The total number of coupons created for this promotion.
|
|
13409
|
+
* @example ```2```
|
|
13410
|
+
*/
|
|
13411
|
+
coupons_count?: number | null;
|
|
13347
13412
|
/**
|
|
13348
13413
|
* Time at which this resource was disabled.
|
|
13349
13414
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -13395,6 +13460,11 @@ interface Transaction extends Resource {
|
|
|
13395
13460
|
* @example ```"42/T/001"```
|
|
13396
13461
|
*/
|
|
13397
13462
|
number: string;
|
|
13463
|
+
/**
|
|
13464
|
+
* Information about the payment method used in the transaction.
|
|
13465
|
+
* @example ```"credit card"```
|
|
13466
|
+
*/
|
|
13467
|
+
payment_method_type?: string | null;
|
|
13398
13468
|
/**
|
|
13399
13469
|
* The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.
|
|
13400
13470
|
* @example ```"EUR"```
|
|
@@ -15263,6 +15333,11 @@ interface AdyenGateway extends Resource {
|
|
|
15263
15333
|
* Send this attribute if you want to enable partial payments for the order.
|
|
15264
15334
|
*/
|
|
15265
15335
|
partial_payments?: boolean | null;
|
|
15336
|
+
/**
|
|
15337
|
+
* The minutes after which the order created for partial payments automatically expires.
|
|
15338
|
+
* @example ```30```
|
|
15339
|
+
*/
|
|
15340
|
+
order_expiration_mins?: number | null;
|
|
15266
15341
|
/**
|
|
15267
15342
|
* Indicates if the gateway will use the native customer payment sources.
|
|
15268
15343
|
* @example ```true```
|
|
@@ -15338,6 +15413,11 @@ interface AdyenGatewayCreate extends ResourceCreate {
|
|
|
15338
15413
|
* Send this attribute if you want to enable partial payments for the order.
|
|
15339
15414
|
*/
|
|
15340
15415
|
partial_payments?: boolean | null;
|
|
15416
|
+
/**
|
|
15417
|
+
* The minutes after which the order created for partial payments automatically expires.
|
|
15418
|
+
* @example ```30```
|
|
15419
|
+
*/
|
|
15420
|
+
order_expiration_mins?: number | null;
|
|
15341
15421
|
/**
|
|
15342
15422
|
* Indicates if the gateway will use the native customer payment sources.
|
|
15343
15423
|
* @example ```true```
|
|
@@ -15405,6 +15485,11 @@ interface AdyenGatewayUpdate extends ResourceUpdate {
|
|
|
15405
15485
|
* Send this attribute if you want to enable partial payments for the order.
|
|
15406
15486
|
*/
|
|
15407
15487
|
partial_payments?: boolean | null;
|
|
15488
|
+
/**
|
|
15489
|
+
* The minutes after which the order created for partial payments automatically expires.
|
|
15490
|
+
* @example ```30```
|
|
15491
|
+
*/
|
|
15492
|
+
order_expiration_mins?: number | null;
|
|
15408
15493
|
/**
|
|
15409
15494
|
* Indicates if the gateway will use the native customer payment sources.
|
|
15410
15495
|
* @example ```true```
|
|
@@ -18130,7 +18215,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
|
|
18130
18215
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
|
18131
18216
|
declare class CommerceLayerClient {
|
|
18132
18217
|
#private;
|
|
18133
|
-
readonly openApiSchemaVersion = "7.9.
|
|
18218
|
+
readonly openApiSchemaVersion = "7.9.13";
|
|
18134
18219
|
constructor(config: CommerceLayerInitConfig);
|
|
18135
18220
|
get addresses(): Addresses;
|
|
18136
18221
|
get adjustments(): Adjustments;
|
package/lib/index.d.ts
CHANGED
|
@@ -1350,6 +1350,11 @@ interface AdyenPayment extends Resource {
|
|
|
1350
1350
|
* @example ```1000```
|
|
1351
1351
|
*/
|
|
1352
1352
|
balance?: number | null;
|
|
1353
|
+
/**
|
|
1354
|
+
* The expiration date/time of this Adyen payment (valid for partial payments only).
|
|
1355
|
+
* @example ```"2018-01-02T12:00:00.000Z"```
|
|
1356
|
+
*/
|
|
1357
|
+
expires_at?: string | null;
|
|
1353
1358
|
/**
|
|
1354
1359
|
* Information about the payment instrument used in the transaction.
|
|
1355
1360
|
* @example ```{"issuer":"cl bank","card_type":"visa"}```
|
|
@@ -1994,7 +1999,7 @@ type SatispayPaymentRel$3 = ResourceRel & {
|
|
|
1994
1999
|
type OrderRel$d = ResourceRel & {
|
|
1995
2000
|
type: OrderType;
|
|
1996
2001
|
};
|
|
1997
|
-
type SatispayPaymentSort = Pick<SatispayPayment, 'id' | 'flow' | 'status'> & ResourceSort;
|
|
2002
|
+
type SatispayPaymentSort = Pick<SatispayPayment, 'id' | 'payment_id' | 'flow' | 'status'> & ResourceSort;
|
|
1998
2003
|
interface SatispayPayment extends Resource {
|
|
1999
2004
|
readonly type: SatispayPaymentType;
|
|
2000
2005
|
/**
|
|
@@ -2846,6 +2851,11 @@ interface Void extends Resource {
|
|
|
2846
2851
|
* @example ```"42/T/001"```
|
|
2847
2852
|
*/
|
|
2848
2853
|
number: string;
|
|
2854
|
+
/**
|
|
2855
|
+
* Information about the payment method used in the transaction.
|
|
2856
|
+
* @example ```"credit card"```
|
|
2857
|
+
*/
|
|
2858
|
+
payment_method_type?: string | null;
|
|
2849
2859
|
/**
|
|
2850
2860
|
* The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.
|
|
2851
2861
|
* @example ```"EUR"```
|
|
@@ -2942,6 +2952,11 @@ interface Authorization extends Resource {
|
|
|
2942
2952
|
* @example ```"42/T/001"```
|
|
2943
2953
|
*/
|
|
2944
2954
|
number: string;
|
|
2955
|
+
/**
|
|
2956
|
+
* Information about the payment method used in the transaction.
|
|
2957
|
+
* @example ```"credit card"```
|
|
2958
|
+
*/
|
|
2959
|
+
payment_method_type?: string | null;
|
|
2945
2960
|
/**
|
|
2946
2961
|
* The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.
|
|
2947
2962
|
* @example ```"EUR"```
|
|
@@ -3134,6 +3149,11 @@ interface Refund extends Resource {
|
|
|
3134
3149
|
* @example ```"42/T/001"```
|
|
3135
3150
|
*/
|
|
3136
3151
|
number: string;
|
|
3152
|
+
/**
|
|
3153
|
+
* Information about the payment method used in the transaction.
|
|
3154
|
+
* @example ```"credit card"```
|
|
3155
|
+
*/
|
|
3156
|
+
payment_method_type?: string | null;
|
|
3137
3157
|
/**
|
|
3138
3158
|
* The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.
|
|
3139
3159
|
* @example ```"EUR"```
|
|
@@ -3232,6 +3252,11 @@ interface Capture extends Resource {
|
|
|
3232
3252
|
* @example ```"42/T/001"```
|
|
3233
3253
|
*/
|
|
3234
3254
|
number: string;
|
|
3255
|
+
/**
|
|
3256
|
+
* Information about the payment method used in the transaction.
|
|
3257
|
+
* @example ```"credit card"```
|
|
3258
|
+
*/
|
|
3259
|
+
payment_method_type?: string | null;
|
|
3235
3260
|
/**
|
|
3236
3261
|
* The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.
|
|
3237
3262
|
* @example ```"EUR"```
|
|
@@ -5137,7 +5162,7 @@ type SkuListRel$9 = ResourceRel & {
|
|
|
5137
5162
|
type TagRel$h = ResourceRel & {
|
|
5138
5163
|
type: TagType;
|
|
5139
5164
|
};
|
|
5140
|
-
type BundleSort = Pick<Bundle, 'id' | 'code' | 'currency_code' | 'price_amount_cents' | 'compare_at_amount_cents'> & ResourceSort;
|
|
5165
|
+
type BundleSort = Pick<Bundle, 'id' | 'code' | 'name' | 'currency_code' | 'price_amount_cents' | 'compare_at_amount_cents'> & ResourceSort;
|
|
5141
5166
|
interface Bundle extends Resource {
|
|
5142
5167
|
readonly type: BundleType;
|
|
5143
5168
|
/**
|
|
@@ -6169,6 +6194,11 @@ interface ExternalPromotion extends Resource {
|
|
|
6169
6194
|
* @example ```112```
|
|
6170
6195
|
*/
|
|
6171
6196
|
weight?: number | null;
|
|
6197
|
+
/**
|
|
6198
|
+
* The total number of coupons created for this promotion.
|
|
6199
|
+
* @example ```2```
|
|
6200
|
+
*/
|
|
6201
|
+
coupons_count?: number | null;
|
|
6172
6202
|
/**
|
|
6173
6203
|
* Time at which this resource was disabled.
|
|
6174
6204
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -6471,6 +6501,11 @@ interface FixedAmountPromotion extends Resource {
|
|
|
6471
6501
|
* @example ```112```
|
|
6472
6502
|
*/
|
|
6473
6503
|
weight?: number | null;
|
|
6504
|
+
/**
|
|
6505
|
+
* The total number of coupons created for this promotion.
|
|
6506
|
+
* @example ```2```
|
|
6507
|
+
*/
|
|
6508
|
+
coupons_count?: number | null;
|
|
6474
6509
|
/**
|
|
6475
6510
|
* Time at which this resource was disabled.
|
|
6476
6511
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -6982,6 +7017,11 @@ interface FixedPricePromotion extends Resource {
|
|
|
6982
7017
|
* @example ```112```
|
|
6983
7018
|
*/
|
|
6984
7019
|
weight?: number | null;
|
|
7020
|
+
/**
|
|
7021
|
+
* The total number of coupons created for this promotion.
|
|
7022
|
+
* @example ```2```
|
|
7023
|
+
*/
|
|
7024
|
+
coupons_count?: number | null;
|
|
6985
7025
|
/**
|
|
6986
7026
|
* Time at which this resource was disabled.
|
|
6987
7027
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -7327,6 +7367,11 @@ interface FreeGiftPromotion extends Resource {
|
|
|
7327
7367
|
* @example ```112```
|
|
7328
7368
|
*/
|
|
7329
7369
|
weight?: number | null;
|
|
7370
|
+
/**
|
|
7371
|
+
* The total number of coupons created for this promotion.
|
|
7372
|
+
* @example ```2```
|
|
7373
|
+
*/
|
|
7374
|
+
coupons_count?: number | null;
|
|
7330
7375
|
/**
|
|
7331
7376
|
* Time at which this resource was disabled.
|
|
7332
7377
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -7654,6 +7699,11 @@ interface BuyXPayYPromotion extends Resource {
|
|
|
7654
7699
|
* @example ```112```
|
|
7655
7700
|
*/
|
|
7656
7701
|
weight?: number | null;
|
|
7702
|
+
/**
|
|
7703
|
+
* The total number of coupons created for this promotion.
|
|
7704
|
+
* @example ```2```
|
|
7705
|
+
*/
|
|
7706
|
+
coupons_count?: number | null;
|
|
7657
7707
|
/**
|
|
7658
7708
|
* Time at which this resource was disabled.
|
|
7659
7709
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -8043,6 +8093,11 @@ interface FreeShippingPromotion extends Resource {
|
|
|
8043
8093
|
* @example ```112```
|
|
8044
8094
|
*/
|
|
8045
8095
|
weight?: number | null;
|
|
8096
|
+
/**
|
|
8097
|
+
* The total number of coupons created for this promotion.
|
|
8098
|
+
* @example ```2```
|
|
8099
|
+
*/
|
|
8100
|
+
coupons_count?: number | null;
|
|
8046
8101
|
/**
|
|
8047
8102
|
* Time at which this resource was disabled.
|
|
8048
8103
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -8386,6 +8441,11 @@ interface PercentageDiscountPromotion extends Resource {
|
|
|
8386
8441
|
* @example ```112```
|
|
8387
8442
|
*/
|
|
8388
8443
|
weight?: number | null;
|
|
8444
|
+
/**
|
|
8445
|
+
* The total number of coupons created for this promotion.
|
|
8446
|
+
* @example ```2```
|
|
8447
|
+
*/
|
|
8448
|
+
coupons_count?: number | null;
|
|
8389
8449
|
/**
|
|
8390
8450
|
* Time at which this resource was disabled.
|
|
8391
8451
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -13344,6 +13404,11 @@ interface Promotion extends Resource {
|
|
|
13344
13404
|
* @example ```112```
|
|
13345
13405
|
*/
|
|
13346
13406
|
weight?: number | null;
|
|
13407
|
+
/**
|
|
13408
|
+
* The total number of coupons created for this promotion.
|
|
13409
|
+
* @example ```2```
|
|
13410
|
+
*/
|
|
13411
|
+
coupons_count?: number | null;
|
|
13347
13412
|
/**
|
|
13348
13413
|
* Time at which this resource was disabled.
|
|
13349
13414
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
|
@@ -13395,6 +13460,11 @@ interface Transaction extends Resource {
|
|
|
13395
13460
|
* @example ```"42/T/001"```
|
|
13396
13461
|
*/
|
|
13397
13462
|
number: string;
|
|
13463
|
+
/**
|
|
13464
|
+
* Information about the payment method used in the transaction.
|
|
13465
|
+
* @example ```"credit card"```
|
|
13466
|
+
*/
|
|
13467
|
+
payment_method_type?: string | null;
|
|
13398
13468
|
/**
|
|
13399
13469
|
* The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.
|
|
13400
13470
|
* @example ```"EUR"```
|
|
@@ -15263,6 +15333,11 @@ interface AdyenGateway extends Resource {
|
|
|
15263
15333
|
* Send this attribute if you want to enable partial payments for the order.
|
|
15264
15334
|
*/
|
|
15265
15335
|
partial_payments?: boolean | null;
|
|
15336
|
+
/**
|
|
15337
|
+
* The minutes after which the order created for partial payments automatically expires.
|
|
15338
|
+
* @example ```30```
|
|
15339
|
+
*/
|
|
15340
|
+
order_expiration_mins?: number | null;
|
|
15266
15341
|
/**
|
|
15267
15342
|
* Indicates if the gateway will use the native customer payment sources.
|
|
15268
15343
|
* @example ```true```
|
|
@@ -15338,6 +15413,11 @@ interface AdyenGatewayCreate extends ResourceCreate {
|
|
|
15338
15413
|
* Send this attribute if you want to enable partial payments for the order.
|
|
15339
15414
|
*/
|
|
15340
15415
|
partial_payments?: boolean | null;
|
|
15416
|
+
/**
|
|
15417
|
+
* The minutes after which the order created for partial payments automatically expires.
|
|
15418
|
+
* @example ```30```
|
|
15419
|
+
*/
|
|
15420
|
+
order_expiration_mins?: number | null;
|
|
15341
15421
|
/**
|
|
15342
15422
|
* Indicates if the gateway will use the native customer payment sources.
|
|
15343
15423
|
* @example ```true```
|
|
@@ -15405,6 +15485,11 @@ interface AdyenGatewayUpdate extends ResourceUpdate {
|
|
|
15405
15485
|
* Send this attribute if you want to enable partial payments for the order.
|
|
15406
15486
|
*/
|
|
15407
15487
|
partial_payments?: boolean | null;
|
|
15488
|
+
/**
|
|
15489
|
+
* The minutes after which the order created for partial payments automatically expires.
|
|
15490
|
+
* @example ```30```
|
|
15491
|
+
*/
|
|
15492
|
+
order_expiration_mins?: number | null;
|
|
15408
15493
|
/**
|
|
15409
15494
|
* Indicates if the gateway will use the native customer payment sources.
|
|
15410
15495
|
* @example ```true```
|
|
@@ -18130,7 +18215,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
|
|
18130
18215
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
|
18131
18216
|
declare class CommerceLayerClient {
|
|
18132
18217
|
#private;
|
|
18133
|
-
readonly openApiSchemaVersion = "7.9.
|
|
18218
|
+
readonly openApiSchemaVersion = "7.9.13";
|
|
18134
18219
|
constructor(config: CommerceLayerInitConfig);
|
|
18135
18220
|
get addresses(): Addresses;
|
|
18136
18221
|
get adjustments(): Adjustments;
|