@commercelayer/sdk 6.52.0 → 6.53.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 +47 -2
- package/lib/index.d.ts +47 -2
- 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"```
|
|
@@ -13395,6 +13420,11 @@ interface Transaction extends Resource {
|
|
|
13395
13420
|
* @example ```"42/T/001"```
|
|
13396
13421
|
*/
|
|
13397
13422
|
number: string;
|
|
13423
|
+
/**
|
|
13424
|
+
* Information about the payment method used in the transaction.
|
|
13425
|
+
* @example ```"credit card"```
|
|
13426
|
+
*/
|
|
13427
|
+
payment_method_type?: string | null;
|
|
13398
13428
|
/**
|
|
13399
13429
|
* The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.
|
|
13400
13430
|
* @example ```"EUR"```
|
|
@@ -15263,6 +15293,11 @@ interface AdyenGateway extends Resource {
|
|
|
15263
15293
|
* Send this attribute if you want to enable partial payments for the order.
|
|
15264
15294
|
*/
|
|
15265
15295
|
partial_payments?: boolean | null;
|
|
15296
|
+
/**
|
|
15297
|
+
* The minutes after which the order created for partial payments automatically expires.
|
|
15298
|
+
* @example ```30```
|
|
15299
|
+
*/
|
|
15300
|
+
order_expiration_mins?: number | null;
|
|
15266
15301
|
/**
|
|
15267
15302
|
* Indicates if the gateway will use the native customer payment sources.
|
|
15268
15303
|
* @example ```true```
|
|
@@ -15338,6 +15373,11 @@ interface AdyenGatewayCreate extends ResourceCreate {
|
|
|
15338
15373
|
* Send this attribute if you want to enable partial payments for the order.
|
|
15339
15374
|
*/
|
|
15340
15375
|
partial_payments?: boolean | null;
|
|
15376
|
+
/**
|
|
15377
|
+
* The minutes after which the order created for partial payments automatically expires.
|
|
15378
|
+
* @example ```30```
|
|
15379
|
+
*/
|
|
15380
|
+
order_expiration_mins?: number | null;
|
|
15341
15381
|
/**
|
|
15342
15382
|
* Indicates if the gateway will use the native customer payment sources.
|
|
15343
15383
|
* @example ```true```
|
|
@@ -15405,6 +15445,11 @@ interface AdyenGatewayUpdate extends ResourceUpdate {
|
|
|
15405
15445
|
* Send this attribute if you want to enable partial payments for the order.
|
|
15406
15446
|
*/
|
|
15407
15447
|
partial_payments?: boolean | null;
|
|
15448
|
+
/**
|
|
15449
|
+
* The minutes after which the order created for partial payments automatically expires.
|
|
15450
|
+
* @example ```30```
|
|
15451
|
+
*/
|
|
15452
|
+
order_expiration_mins?: number | null;
|
|
15408
15453
|
/**
|
|
15409
15454
|
* Indicates if the gateway will use the native customer payment sources.
|
|
15410
15455
|
* @example ```true```
|
|
@@ -18130,7 +18175,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
|
|
18130
18175
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
|
18131
18176
|
declare class CommerceLayerClient {
|
|
18132
18177
|
#private;
|
|
18133
|
-
readonly openApiSchemaVersion = "7.9.
|
|
18178
|
+
readonly openApiSchemaVersion = "7.9.12";
|
|
18134
18179
|
constructor(config: CommerceLayerInitConfig);
|
|
18135
18180
|
get addresses(): Addresses;
|
|
18136
18181
|
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"```
|
|
@@ -13395,6 +13420,11 @@ interface Transaction extends Resource {
|
|
|
13395
13420
|
* @example ```"42/T/001"```
|
|
13396
13421
|
*/
|
|
13397
13422
|
number: string;
|
|
13423
|
+
/**
|
|
13424
|
+
* Information about the payment method used in the transaction.
|
|
13425
|
+
* @example ```"credit card"```
|
|
13426
|
+
*/
|
|
13427
|
+
payment_method_type?: string | null;
|
|
13398
13428
|
/**
|
|
13399
13429
|
* The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.
|
|
13400
13430
|
* @example ```"EUR"```
|
|
@@ -15263,6 +15293,11 @@ interface AdyenGateway extends Resource {
|
|
|
15263
15293
|
* Send this attribute if you want to enable partial payments for the order.
|
|
15264
15294
|
*/
|
|
15265
15295
|
partial_payments?: boolean | null;
|
|
15296
|
+
/**
|
|
15297
|
+
* The minutes after which the order created for partial payments automatically expires.
|
|
15298
|
+
* @example ```30```
|
|
15299
|
+
*/
|
|
15300
|
+
order_expiration_mins?: number | null;
|
|
15266
15301
|
/**
|
|
15267
15302
|
* Indicates if the gateway will use the native customer payment sources.
|
|
15268
15303
|
* @example ```true```
|
|
@@ -15338,6 +15373,11 @@ interface AdyenGatewayCreate extends ResourceCreate {
|
|
|
15338
15373
|
* Send this attribute if you want to enable partial payments for the order.
|
|
15339
15374
|
*/
|
|
15340
15375
|
partial_payments?: boolean | null;
|
|
15376
|
+
/**
|
|
15377
|
+
* The minutes after which the order created for partial payments automatically expires.
|
|
15378
|
+
* @example ```30```
|
|
15379
|
+
*/
|
|
15380
|
+
order_expiration_mins?: number | null;
|
|
15341
15381
|
/**
|
|
15342
15382
|
* Indicates if the gateway will use the native customer payment sources.
|
|
15343
15383
|
* @example ```true```
|
|
@@ -15405,6 +15445,11 @@ interface AdyenGatewayUpdate extends ResourceUpdate {
|
|
|
15405
15445
|
* Send this attribute if you want to enable partial payments for the order.
|
|
15406
15446
|
*/
|
|
15407
15447
|
partial_payments?: boolean | null;
|
|
15448
|
+
/**
|
|
15449
|
+
* The minutes after which the order created for partial payments automatically expires.
|
|
15450
|
+
* @example ```30```
|
|
15451
|
+
*/
|
|
15452
|
+
order_expiration_mins?: number | null;
|
|
15408
15453
|
/**
|
|
15409
15454
|
* Indicates if the gateway will use the native customer payment sources.
|
|
15410
15455
|
* @example ```true```
|
|
@@ -18130,7 +18175,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
|
|
18130
18175
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
|
18131
18176
|
declare class CommerceLayerClient {
|
|
18132
18177
|
#private;
|
|
18133
|
-
readonly openApiSchemaVersion = "7.9.
|
|
18178
|
+
readonly openApiSchemaVersion = "7.9.12";
|
|
18134
18179
|
constructor(config: CommerceLayerInitConfig);
|
|
18135
18180
|
get addresses(): Addresses;
|
|
18136
18181
|
get adjustments(): Adjustments;
|