@channelpayments/node-sdk 1.182.0 → 1.184.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.
Files changed (59) hide show
  1. package/dist/cjs/apis/ChannelPaymentsApi.d.ts +9 -1
  2. package/dist/cjs/apis/ChannelPaymentsApi.js +70 -0
  3. package/dist/cjs/models/BillingAddressDto.d.ts +56 -0
  4. package/dist/cjs/models/{BuyerAddressDto.js → BillingAddressDto.js} +16 -18
  5. package/dist/cjs/models/CheckoutSessionBaseEntity.d.ts +185 -0
  6. package/dist/cjs/models/CheckoutSessionBaseEntity.js +127 -0
  7. package/dist/cjs/models/CheckoutSessionEntity.d.ts +11 -5
  8. package/dist/cjs/models/CheckoutSessionEntity.js +4 -2
  9. package/dist/cjs/models/CheckoutSessionItemBaseEntity.d.ts +80 -0
  10. package/dist/cjs/models/CheckoutSessionItemBaseEntity.js +69 -0
  11. package/dist/cjs/models/CreateCheckoutSessionPaymentMethodDto.d.ts +12 -0
  12. package/dist/cjs/models/CreateCheckoutSessionPaymentMethodDto.js +4 -0
  13. package/dist/cjs/models/CreateCheckoutSessionTransactionDto.d.ts +4 -4
  14. package/dist/cjs/models/CreateCheckoutSessionTransactionDto.js +4 -4
  15. package/dist/cjs/models/FeeDetailsEntity.d.ts +53 -0
  16. package/dist/cjs/models/FeeDetailsEntity.js +66 -0
  17. package/dist/cjs/models/MerchantFeeDetailsEntity.d.ts +39 -0
  18. package/dist/cjs/models/MerchantFeeDetailsEntity.js +53 -0
  19. package/dist/cjs/models/PaymentMethodFeeDetailsEntity.d.ts +54 -0
  20. package/dist/cjs/models/PaymentMethodFeeDetailsEntity.js +65 -0
  21. package/dist/cjs/models/TransactionEntity.d.ts +3 -9
  22. package/dist/cjs/models/TransactionEntity.js +3 -5
  23. package/dist/cjs/models/TransactionPaymentInstrumentBaseEntity.d.ts +136 -0
  24. package/dist/cjs/models/{PaymentMethodBaseEntity.js → TransactionPaymentInstrumentBaseEntity.js} +14 -14
  25. package/dist/cjs/models/index.d.ts +7 -2
  26. package/dist/cjs/models/index.js +7 -2
  27. package/dist/cjs/runtime.js +1 -1
  28. package/dist/mjs/apis/ChannelPaymentsApi.d.ts +9 -1
  29. package/dist/mjs/apis/ChannelPaymentsApi.js +69 -1
  30. package/dist/mjs/models/BillingAddressDto.d.ts +56 -0
  31. package/dist/mjs/models/{BuyerAddressDto.js → BillingAddressDto.js} +12 -14
  32. package/dist/mjs/models/CheckoutSessionBaseEntity.d.ts +185 -0
  33. package/dist/mjs/models/CheckoutSessionBaseEntity.js +120 -0
  34. package/dist/mjs/models/CheckoutSessionEntity.d.ts +11 -5
  35. package/dist/mjs/models/CheckoutSessionEntity.js +4 -2
  36. package/dist/mjs/models/CheckoutSessionItemBaseEntity.d.ts +80 -0
  37. package/dist/mjs/models/CheckoutSessionItemBaseEntity.js +63 -0
  38. package/dist/mjs/models/CreateCheckoutSessionPaymentMethodDto.d.ts +12 -0
  39. package/dist/mjs/models/CreateCheckoutSessionPaymentMethodDto.js +4 -0
  40. package/dist/mjs/models/CreateCheckoutSessionTransactionDto.d.ts +4 -4
  41. package/dist/mjs/models/CreateCheckoutSessionTransactionDto.js +4 -4
  42. package/dist/mjs/models/FeeDetailsEntity.d.ts +53 -0
  43. package/dist/mjs/models/FeeDetailsEntity.js +59 -0
  44. package/dist/mjs/models/MerchantFeeDetailsEntity.d.ts +39 -0
  45. package/dist/mjs/models/MerchantFeeDetailsEntity.js +47 -0
  46. package/dist/mjs/models/PaymentMethodFeeDetailsEntity.d.ts +54 -0
  47. package/dist/mjs/models/PaymentMethodFeeDetailsEntity.js +58 -0
  48. package/dist/mjs/models/TransactionEntity.d.ts +3 -9
  49. package/dist/mjs/models/TransactionEntity.js +3 -5
  50. package/dist/mjs/models/TransactionPaymentInstrumentBaseEntity.d.ts +136 -0
  51. package/dist/mjs/models/{PaymentMethodBaseEntity.js → TransactionPaymentInstrumentBaseEntity.js} +9 -9
  52. package/dist/mjs/models/index.d.ts +7 -2
  53. package/dist/mjs/models/index.js +7 -2
  54. package/dist/mjs/runtime.js +1 -1
  55. package/package.json +1 -1
  56. package/dist/cjs/models/BuyerAddressDto.d.ts +0 -56
  57. package/dist/cjs/models/PaymentMethodBaseEntity.d.ts +0 -136
  58. package/dist/mjs/models/BuyerAddressDto.d.ts +0 -56
  59. package/dist/mjs/models/PaymentMethodBaseEntity.d.ts +0 -136
@@ -1,56 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface BuyerAddressDto
11
- */
12
- export interface BuyerAddressDto {
13
- /**
14
- * The address of the account holder.
15
- * @type {string}
16
- * @memberof BuyerAddressDto
17
- */
18
- streetAddress: string;
19
- /**
20
- * The city of the account holder.
21
- * @type {string}
22
- * @memberof BuyerAddressDto
23
- */
24
- city: string;
25
- /**
26
- * The state or province of the account holder.
27
- * @type {string}
28
- * @memberof BuyerAddressDto
29
- */
30
- subdivision: string;
31
- /**
32
- * The postal code of the account holder.
33
- * @type {string}
34
- * @memberof BuyerAddressDto
35
- */
36
- postalCode: string;
37
- /**
38
- * The country code of the account holder.
39
- * @type {string}
40
- * @memberof BuyerAddressDto
41
- */
42
- countryCode: string;
43
- /**
44
- * The second line of the address of the account holder.
45
- * @type {string}
46
- * @memberof BuyerAddressDto
47
- */
48
- streetAddress2?: string;
49
- }
50
- /**
51
- * Check if a given object implements the BuyerAddressDto interface.
52
- */
53
- export declare function instanceOfBuyerAddressDto(value: object): boolean;
54
- export declare function BuyerAddressDtoFromJSON(json: any): BuyerAddressDto;
55
- export declare function BuyerAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerAddressDto;
56
- export declare function BuyerAddressDtoToJSON(value?: BuyerAddressDto | null): any;
@@ -1,136 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface PaymentMethodBaseEntity
11
- */
12
- export interface PaymentMethodBaseEntity {
13
- /**
14
- * The unique identifier of the payment method.
15
- * @type {string}
16
- * @memberof PaymentMethodBaseEntity
17
- */
18
- paymentMethodId: string;
19
- /**
20
- * The method for the payment method.
21
- * @type {string}
22
- * @memberof PaymentMethodBaseEntity
23
- */
24
- method: PaymentMethodBaseEntityMethodEnum;
25
- /**
26
- * The unique identifier of the external payment method.
27
- * @type {string}
28
- * @memberof PaymentMethodBaseEntity
29
- */
30
- externalPaymentMethodId?: string;
31
- /**
32
- * The label of the payment method.
33
- * @type {string}
34
- * @memberof PaymentMethodBaseEntity
35
- */
36
- label?: string;
37
- /**
38
- * The scheme of the payment method.
39
- * @type {string}
40
- * @memberof PaymentMethodBaseEntity
41
- */
42
- scheme?: string;
43
- /**
44
- * The expiration date of the payment method.
45
- * @type {string}
46
- * @memberof PaymentMethodBaseEntity
47
- */
48
- expirationDate?: string;
49
- /**
50
- * The currency of the payment method.
51
- * @type {string}
52
- * @memberof PaymentMethodBaseEntity
53
- */
54
- currency?: string;
55
- /**
56
- * The country of the payment method.
57
- * @type {string}
58
- * @memberof PaymentMethodBaseEntity
59
- */
60
- country?: string;
61
- /**
62
- * The bin of the payment method.
63
- * @type {string}
64
- * @memberof PaymentMethodBaseEntity
65
- */
66
- bin?: string;
67
- /**
68
- * The card type of the payment method.
69
- * @type {string}
70
- * @memberof PaymentMethodBaseEntity
71
- */
72
- cardType?: PaymentMethodBaseEntityCardTypeEnum;
73
- /**
74
- * The account holder name of the payment method.
75
- * @type {string}
76
- * @memberof PaymentMethodBaseEntity
77
- */
78
- accountHolderName?: string;
79
- /**
80
- * The account number of the payment method.
81
- * @type {string}
82
- * @memberof PaymentMethodBaseEntity
83
- */
84
- accountNumber?: string;
85
- /**
86
- * The last 4 digits of the bank account.
87
- * @type {string}
88
- * @memberof PaymentMethodBaseEntity
89
- */
90
- accountEnding?: string;
91
- /**
92
- * The account type of the payment method.
93
- * @type {string}
94
- * @memberof PaymentMethodBaseEntity
95
- */
96
- accountType?: PaymentMethodBaseEntityAccountTypeEnum;
97
- /**
98
- * The aba number of the payment method.
99
- * @type {string}
100
- * @memberof PaymentMethodBaseEntity
101
- */
102
- abaNumber?: string;
103
- }
104
- /**
105
- * @export
106
- */
107
- export declare const PaymentMethodBaseEntityMethodEnum: {
108
- readonly Ach: "ACH";
109
- readonly Bank: "BANK";
110
- readonly Card: "CARD";
111
- };
112
- export type PaymentMethodBaseEntityMethodEnum = typeof PaymentMethodBaseEntityMethodEnum[keyof typeof PaymentMethodBaseEntityMethodEnum];
113
- /**
114
- * @export
115
- */
116
- export declare const PaymentMethodBaseEntityCardTypeEnum: {
117
- readonly Credit: "CREDIT";
118
- readonly Debit: "DEBIT";
119
- readonly Prepaid: "PREPAID";
120
- };
121
- export type PaymentMethodBaseEntityCardTypeEnum = typeof PaymentMethodBaseEntityCardTypeEnum[keyof typeof PaymentMethodBaseEntityCardTypeEnum];
122
- /**
123
- * @export
124
- */
125
- export declare const PaymentMethodBaseEntityAccountTypeEnum: {
126
- readonly Checking: "CHECKING";
127
- readonly Savings: "SAVINGS";
128
- };
129
- export type PaymentMethodBaseEntityAccountTypeEnum = typeof PaymentMethodBaseEntityAccountTypeEnum[keyof typeof PaymentMethodBaseEntityAccountTypeEnum];
130
- /**
131
- * Check if a given object implements the PaymentMethodBaseEntity interface.
132
- */
133
- export declare function instanceOfPaymentMethodBaseEntity(value: object): boolean;
134
- export declare function PaymentMethodBaseEntityFromJSON(json: any): PaymentMethodBaseEntity;
135
- export declare function PaymentMethodBaseEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodBaseEntity;
136
- export declare function PaymentMethodBaseEntityToJSON(value?: PaymentMethodBaseEntity | null): any;
@@ -1,56 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface BuyerAddressDto
11
- */
12
- export interface BuyerAddressDto {
13
- /**
14
- * The address of the account holder.
15
- * @type {string}
16
- * @memberof BuyerAddressDto
17
- */
18
- streetAddress: string;
19
- /**
20
- * The city of the account holder.
21
- * @type {string}
22
- * @memberof BuyerAddressDto
23
- */
24
- city: string;
25
- /**
26
- * The state or province of the account holder.
27
- * @type {string}
28
- * @memberof BuyerAddressDto
29
- */
30
- subdivision: string;
31
- /**
32
- * The postal code of the account holder.
33
- * @type {string}
34
- * @memberof BuyerAddressDto
35
- */
36
- postalCode: string;
37
- /**
38
- * The country code of the account holder.
39
- * @type {string}
40
- * @memberof BuyerAddressDto
41
- */
42
- countryCode: string;
43
- /**
44
- * The second line of the address of the account holder.
45
- * @type {string}
46
- * @memberof BuyerAddressDto
47
- */
48
- streetAddress2?: string;
49
- }
50
- /**
51
- * Check if a given object implements the BuyerAddressDto interface.
52
- */
53
- export declare function instanceOfBuyerAddressDto(value: object): boolean;
54
- export declare function BuyerAddressDtoFromJSON(json: any): BuyerAddressDto;
55
- export declare function BuyerAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerAddressDto;
56
- export declare function BuyerAddressDtoToJSON(value?: BuyerAddressDto | null): any;
@@ -1,136 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface PaymentMethodBaseEntity
11
- */
12
- export interface PaymentMethodBaseEntity {
13
- /**
14
- * The unique identifier of the payment method.
15
- * @type {string}
16
- * @memberof PaymentMethodBaseEntity
17
- */
18
- paymentMethodId: string;
19
- /**
20
- * The method for the payment method.
21
- * @type {string}
22
- * @memberof PaymentMethodBaseEntity
23
- */
24
- method: PaymentMethodBaseEntityMethodEnum;
25
- /**
26
- * The unique identifier of the external payment method.
27
- * @type {string}
28
- * @memberof PaymentMethodBaseEntity
29
- */
30
- externalPaymentMethodId?: string;
31
- /**
32
- * The label of the payment method.
33
- * @type {string}
34
- * @memberof PaymentMethodBaseEntity
35
- */
36
- label?: string;
37
- /**
38
- * The scheme of the payment method.
39
- * @type {string}
40
- * @memberof PaymentMethodBaseEntity
41
- */
42
- scheme?: string;
43
- /**
44
- * The expiration date of the payment method.
45
- * @type {string}
46
- * @memberof PaymentMethodBaseEntity
47
- */
48
- expirationDate?: string;
49
- /**
50
- * The currency of the payment method.
51
- * @type {string}
52
- * @memberof PaymentMethodBaseEntity
53
- */
54
- currency?: string;
55
- /**
56
- * The country of the payment method.
57
- * @type {string}
58
- * @memberof PaymentMethodBaseEntity
59
- */
60
- country?: string;
61
- /**
62
- * The bin of the payment method.
63
- * @type {string}
64
- * @memberof PaymentMethodBaseEntity
65
- */
66
- bin?: string;
67
- /**
68
- * The card type of the payment method.
69
- * @type {string}
70
- * @memberof PaymentMethodBaseEntity
71
- */
72
- cardType?: PaymentMethodBaseEntityCardTypeEnum;
73
- /**
74
- * The account holder name of the payment method.
75
- * @type {string}
76
- * @memberof PaymentMethodBaseEntity
77
- */
78
- accountHolderName?: string;
79
- /**
80
- * The account number of the payment method.
81
- * @type {string}
82
- * @memberof PaymentMethodBaseEntity
83
- */
84
- accountNumber?: string;
85
- /**
86
- * The last 4 digits of the bank account.
87
- * @type {string}
88
- * @memberof PaymentMethodBaseEntity
89
- */
90
- accountEnding?: string;
91
- /**
92
- * The account type of the payment method.
93
- * @type {string}
94
- * @memberof PaymentMethodBaseEntity
95
- */
96
- accountType?: PaymentMethodBaseEntityAccountTypeEnum;
97
- /**
98
- * The aba number of the payment method.
99
- * @type {string}
100
- * @memberof PaymentMethodBaseEntity
101
- */
102
- abaNumber?: string;
103
- }
104
- /**
105
- * @export
106
- */
107
- export declare const PaymentMethodBaseEntityMethodEnum: {
108
- readonly Ach: "ACH";
109
- readonly Bank: "BANK";
110
- readonly Card: "CARD";
111
- };
112
- export type PaymentMethodBaseEntityMethodEnum = typeof PaymentMethodBaseEntityMethodEnum[keyof typeof PaymentMethodBaseEntityMethodEnum];
113
- /**
114
- * @export
115
- */
116
- export declare const PaymentMethodBaseEntityCardTypeEnum: {
117
- readonly Credit: "CREDIT";
118
- readonly Debit: "DEBIT";
119
- readonly Prepaid: "PREPAID";
120
- };
121
- export type PaymentMethodBaseEntityCardTypeEnum = typeof PaymentMethodBaseEntityCardTypeEnum[keyof typeof PaymentMethodBaseEntityCardTypeEnum];
122
- /**
123
- * @export
124
- */
125
- export declare const PaymentMethodBaseEntityAccountTypeEnum: {
126
- readonly Checking: "CHECKING";
127
- readonly Savings: "SAVINGS";
128
- };
129
- export type PaymentMethodBaseEntityAccountTypeEnum = typeof PaymentMethodBaseEntityAccountTypeEnum[keyof typeof PaymentMethodBaseEntityAccountTypeEnum];
130
- /**
131
- * Check if a given object implements the PaymentMethodBaseEntity interface.
132
- */
133
- export declare function instanceOfPaymentMethodBaseEntity(value: object): boolean;
134
- export declare function PaymentMethodBaseEntityFromJSON(json: any): PaymentMethodBaseEntity;
135
- export declare function PaymentMethodBaseEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodBaseEntity;
136
- export declare function PaymentMethodBaseEntityToJSON(value?: PaymentMethodBaseEntity | null): any;