@randock/nameshift-api-client 0.0.418 → 0.0.420
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/README.md +3 -3
- package/dist/models/CreateAccountPaymentManualTransactionInput.d.ts +0 -96
- package/dist/models/CreateAccountPaymentManualTransactionInput.js +1 -80
- package/dist/models/CreateManualTransactionInput.d.ts +2 -8
- package/dist/models/CreateManualTransactionInput.js +2 -4
- package/dist/models/CreateSubscriptionManualTransactionInput.d.ts +2 -8
- package/dist/models/CreateSubscriptionManualTransactionInput.js +2 -4
- package/dist/models/OrderDto.d.ts +1 -1
- package/dist/models/SubscriptionDto.d.ts +1 -1
- package/package.json +1 -1
- package/src/models/CreateAccountPaymentManualTransactionInput.ts +0 -105
- package/src/models/CreateManualTransactionInput.ts +4 -12
- package/src/models/CreateSubscriptionManualTransactionInput.ts +4 -12
- package/src/models/OrderDto.ts +1 -1
- package/src/models/SubscriptionDto.ts +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.420
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.420 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
9bbdebad5f15a1008a8d87d3c3677e8806e3162d119553b6750ad46ccbdf6f6cca7869d44cfc8709a7c1a775b3467cf0
|
|
@@ -21,30 +21,6 @@ export interface CreateAccountPaymentManualTransactionInput {
|
|
|
21
21
|
* @memberof CreateAccountPaymentManualTransactionInput
|
|
22
22
|
*/
|
|
23
23
|
gateway?: CreateAccountPaymentManualTransactionInputGatewayEnum;
|
|
24
|
-
/**
|
|
25
|
-
* URL to redirect to when payment is successful
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateAccountPaymentManualTransactionInput
|
|
28
|
-
*/
|
|
29
|
-
successUrl?: string;
|
|
30
|
-
/**
|
|
31
|
-
* URL to redirect to when payment is cancelled
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CreateAccountPaymentManualTransactionInput
|
|
34
|
-
*/
|
|
35
|
-
cancelUrl?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Payment session ID used as Mollie card token
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CreateAccountPaymentManualTransactionInput
|
|
40
|
-
*/
|
|
41
|
-
sessionId?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Selected payment method (canonical name)
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CreateAccountPaymentManualTransactionInput
|
|
46
|
-
*/
|
|
47
|
-
selectedPaymentMethod?: CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum;
|
|
48
24
|
/**
|
|
49
25
|
* Payment method string to use for this transaction
|
|
50
26
|
* @type {string}
|
|
@@ -60,78 +36,6 @@ export declare const CreateAccountPaymentManualTransactionInputGatewayEnum: {
|
|
|
60
36
|
readonly CRYPTO: "crypto";
|
|
61
37
|
};
|
|
62
38
|
export type CreateAccountPaymentManualTransactionInputGatewayEnum = typeof CreateAccountPaymentManualTransactionInputGatewayEnum[keyof typeof CreateAccountPaymentManualTransactionInputGatewayEnum];
|
|
63
|
-
/**
|
|
64
|
-
* @export
|
|
65
|
-
*/
|
|
66
|
-
export declare const CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum: {
|
|
67
|
-
readonly ACSS_DEBIT: "acss_debit";
|
|
68
|
-
readonly AFFIRM: "affirm";
|
|
69
|
-
readonly AFTERPAY_CLEARPAY: "afterpay_clearpay";
|
|
70
|
-
readonly ALIPAY: "alipay";
|
|
71
|
-
readonly ALMA: "alma";
|
|
72
|
-
readonly AMAZON_PAY: "amazon_pay";
|
|
73
|
-
readonly APPLE_PAY: "apple_pay";
|
|
74
|
-
readonly AU_BECS_DEBIT: "au_becs_debit";
|
|
75
|
-
readonly BACS_DEBIT: "bacs_debit";
|
|
76
|
-
readonly BANCOMAT_PAY: "bancomat_pay";
|
|
77
|
-
readonly BANCONTACT: "bancontact";
|
|
78
|
-
readonly BELFIUS: "belfius";
|
|
79
|
-
readonly BILLIE: "billie";
|
|
80
|
-
readonly BLIK: "blik";
|
|
81
|
-
readonly BOLETO: "boleto";
|
|
82
|
-
readonly BANK_TRANSFER: "bank_transfer";
|
|
83
|
-
readonly CARD: "card";
|
|
84
|
-
readonly CARD_PRESENT: "card_present";
|
|
85
|
-
readonly CASHAPP: "cashapp";
|
|
86
|
-
readonly CUSTOMER_BALANCE: "customer_balance";
|
|
87
|
-
readonly EPS: "eps";
|
|
88
|
-
readonly FPX: "fpx";
|
|
89
|
-
readonly GIFTCARD: "giftcard";
|
|
90
|
-
readonly GIROPAY: "giropay";
|
|
91
|
-
readonly GOOGLE_PAY: "google_pay";
|
|
92
|
-
readonly GOPAY: "gopay";
|
|
93
|
-
readonly GRABPAY: "grabpay";
|
|
94
|
-
readonly ID_BANK_TRANSFER: "id_bank_transfer";
|
|
95
|
-
readonly IDEAL: "ideal";
|
|
96
|
-
readonly IN3: "in3";
|
|
97
|
-
readonly INTERAC_PRESENT: "interac_present";
|
|
98
|
-
readonly KAKAO_PAY: "kakao_pay";
|
|
99
|
-
readonly KBC: "kbc";
|
|
100
|
-
readonly KLARNA: "klarna";
|
|
101
|
-
readonly KONBINI: "konbini";
|
|
102
|
-
readonly KR_CARD: "kr_card";
|
|
103
|
-
readonly LINK: "link";
|
|
104
|
-
readonly MB_WAY: "mb_way";
|
|
105
|
-
readonly MOBILEPAY: "mobilepay";
|
|
106
|
-
readonly MULTIBANCO: "multibanco";
|
|
107
|
-
readonly NAVER_PAY: "naver_pay";
|
|
108
|
-
readonly NZ_BANK_ACCOUNT: "nz_bank_account";
|
|
109
|
-
readonly OXXO: "oxxo";
|
|
110
|
-
readonly PAY_BY_BANK: "pay_by_bank";
|
|
111
|
-
readonly PAYCO: "payco";
|
|
112
|
-
readonly PAYNOW: "paynow";
|
|
113
|
-
readonly PAYPAL: "paypal";
|
|
114
|
-
readonly PAYTO: "payto";
|
|
115
|
-
readonly PIX: "pix";
|
|
116
|
-
readonly PROMPTPAY: "promptpay";
|
|
117
|
-
readonly PRZELEWY24: "przelewy24";
|
|
118
|
-
readonly QRIS: "qris";
|
|
119
|
-
readonly RECHNUNG: "rechnung";
|
|
120
|
-
readonly REVOLUT_PAY: "revolut_pay";
|
|
121
|
-
readonly SAMSUNG_PAY: "samsung_pay";
|
|
122
|
-
readonly SATISPAY: "satispay";
|
|
123
|
-
readonly SEPA_DEBIT: "sepa_debit";
|
|
124
|
-
readonly SHOPEEPAY: "shopeepay";
|
|
125
|
-
readonly SOFORT: "sofort";
|
|
126
|
-
readonly STRIPE_BALANCE: "stripe_balance";
|
|
127
|
-
readonly SWISH: "swish";
|
|
128
|
-
readonly TWINT: "twint";
|
|
129
|
-
readonly US_BANK_ACCOUNT: "us_bank_account";
|
|
130
|
-
readonly VOUCHER: "voucher";
|
|
131
|
-
readonly WECHAT_PAY: "wechat_pay";
|
|
132
|
-
readonly ZIP: "zip";
|
|
133
|
-
};
|
|
134
|
-
export type CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum = typeof CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum[keyof typeof CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum];
|
|
135
39
|
/**
|
|
136
40
|
* Check if a given object implements the CreateAccountPaymentManualTransactionInput interface.
|
|
137
41
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.CreateAccountPaymentManualTransactionInputGatewayEnum = void 0;
|
|
17
17
|
exports.instanceOfCreateAccountPaymentManualTransactionInput = instanceOfCreateAccountPaymentManualTransactionInput;
|
|
18
18
|
exports.CreateAccountPaymentManualTransactionInputFromJSON = CreateAccountPaymentManualTransactionInputFromJSON;
|
|
19
19
|
exports.CreateAccountPaymentManualTransactionInputFromJSONTyped = CreateAccountPaymentManualTransactionInputFromJSONTyped;
|
|
@@ -26,77 +26,6 @@ exports.CreateAccountPaymentManualTransactionInputGatewayEnum = {
|
|
|
26
26
|
COMMON: 'common',
|
|
27
27
|
CRYPTO: 'crypto'
|
|
28
28
|
};
|
|
29
|
-
/**
|
|
30
|
-
* @export
|
|
31
|
-
*/
|
|
32
|
-
exports.CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum = {
|
|
33
|
-
ACSS_DEBIT: 'acss_debit',
|
|
34
|
-
AFFIRM: 'affirm',
|
|
35
|
-
AFTERPAY_CLEARPAY: 'afterpay_clearpay',
|
|
36
|
-
ALIPAY: 'alipay',
|
|
37
|
-
ALMA: 'alma',
|
|
38
|
-
AMAZON_PAY: 'amazon_pay',
|
|
39
|
-
APPLE_PAY: 'apple_pay',
|
|
40
|
-
AU_BECS_DEBIT: 'au_becs_debit',
|
|
41
|
-
BACS_DEBIT: 'bacs_debit',
|
|
42
|
-
BANCOMAT_PAY: 'bancomat_pay',
|
|
43
|
-
BANCONTACT: 'bancontact',
|
|
44
|
-
BELFIUS: 'belfius',
|
|
45
|
-
BILLIE: 'billie',
|
|
46
|
-
BLIK: 'blik',
|
|
47
|
-
BOLETO: 'boleto',
|
|
48
|
-
BANK_TRANSFER: 'bank_transfer',
|
|
49
|
-
CARD: 'card',
|
|
50
|
-
CARD_PRESENT: 'card_present',
|
|
51
|
-
CASHAPP: 'cashapp',
|
|
52
|
-
CUSTOMER_BALANCE: 'customer_balance',
|
|
53
|
-
EPS: 'eps',
|
|
54
|
-
FPX: 'fpx',
|
|
55
|
-
GIFTCARD: 'giftcard',
|
|
56
|
-
GIROPAY: 'giropay',
|
|
57
|
-
GOOGLE_PAY: 'google_pay',
|
|
58
|
-
GOPAY: 'gopay',
|
|
59
|
-
GRABPAY: 'grabpay',
|
|
60
|
-
ID_BANK_TRANSFER: 'id_bank_transfer',
|
|
61
|
-
IDEAL: 'ideal',
|
|
62
|
-
IN3: 'in3',
|
|
63
|
-
INTERAC_PRESENT: 'interac_present',
|
|
64
|
-
KAKAO_PAY: 'kakao_pay',
|
|
65
|
-
KBC: 'kbc',
|
|
66
|
-
KLARNA: 'klarna',
|
|
67
|
-
KONBINI: 'konbini',
|
|
68
|
-
KR_CARD: 'kr_card',
|
|
69
|
-
LINK: 'link',
|
|
70
|
-
MB_WAY: 'mb_way',
|
|
71
|
-
MOBILEPAY: 'mobilepay',
|
|
72
|
-
MULTIBANCO: 'multibanco',
|
|
73
|
-
NAVER_PAY: 'naver_pay',
|
|
74
|
-
NZ_BANK_ACCOUNT: 'nz_bank_account',
|
|
75
|
-
OXXO: 'oxxo',
|
|
76
|
-
PAY_BY_BANK: 'pay_by_bank',
|
|
77
|
-
PAYCO: 'payco',
|
|
78
|
-
PAYNOW: 'paynow',
|
|
79
|
-
PAYPAL: 'paypal',
|
|
80
|
-
PAYTO: 'payto',
|
|
81
|
-
PIX: 'pix',
|
|
82
|
-
PROMPTPAY: 'promptpay',
|
|
83
|
-
PRZELEWY24: 'przelewy24',
|
|
84
|
-
QRIS: 'qris',
|
|
85
|
-
RECHNUNG: 'rechnung',
|
|
86
|
-
REVOLUT_PAY: 'revolut_pay',
|
|
87
|
-
SAMSUNG_PAY: 'samsung_pay',
|
|
88
|
-
SATISPAY: 'satispay',
|
|
89
|
-
SEPA_DEBIT: 'sepa_debit',
|
|
90
|
-
SHOPEEPAY: 'shopeepay',
|
|
91
|
-
SOFORT: 'sofort',
|
|
92
|
-
STRIPE_BALANCE: 'stripe_balance',
|
|
93
|
-
SWISH: 'swish',
|
|
94
|
-
TWINT: 'twint',
|
|
95
|
-
US_BANK_ACCOUNT: 'us_bank_account',
|
|
96
|
-
VOUCHER: 'voucher',
|
|
97
|
-
WECHAT_PAY: 'wechat_pay',
|
|
98
|
-
ZIP: 'zip'
|
|
99
|
-
};
|
|
100
29
|
/**
|
|
101
30
|
* Check if a given object implements the CreateAccountPaymentManualTransactionInput interface.
|
|
102
31
|
*/
|
|
@@ -114,10 +43,6 @@ function CreateAccountPaymentManualTransactionInputFromJSONTyped(json, ignoreDis
|
|
|
114
43
|
}
|
|
115
44
|
return {
|
|
116
45
|
'gateway': json['gateway'] == null ? undefined : json['gateway'],
|
|
117
|
-
'successUrl': json['successUrl'] == null ? undefined : json['successUrl'],
|
|
118
|
-
'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
|
|
119
|
-
'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
|
|
120
|
-
'selectedPaymentMethod': json['selectedPaymentMethod'] == null ? undefined : json['selectedPaymentMethod'],
|
|
121
46
|
'paymentMethodType': json['paymentMethodType'],
|
|
122
47
|
};
|
|
123
48
|
}
|
|
@@ -131,10 +56,6 @@ function CreateAccountPaymentManualTransactionInputToJSONTyped(value, ignoreDisc
|
|
|
131
56
|
}
|
|
132
57
|
return {
|
|
133
58
|
'gateway': value['gateway'],
|
|
134
|
-
'successUrl': value['successUrl'],
|
|
135
|
-
'cancelUrl': value['cancelUrl'],
|
|
136
|
-
'sessionId': value['sessionId'],
|
|
137
|
-
'selectedPaymentMethod': value['selectedPaymentMethod'],
|
|
138
59
|
'paymentMethodType': value['paymentMethodType'],
|
|
139
60
|
};
|
|
140
61
|
}
|
|
@@ -22,17 +22,11 @@ export interface CreateManualTransactionInput {
|
|
|
22
22
|
*/
|
|
23
23
|
gateway?: CreateManualTransactionInputGatewayEnum;
|
|
24
24
|
/**
|
|
25
|
-
* URL to redirect to
|
|
25
|
+
* URL to redirect to after payment
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateManualTransactionInput
|
|
28
28
|
*/
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* URL to redirect to when payment is cancelled
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CreateManualTransactionInput
|
|
34
|
-
*/
|
|
35
|
-
cancelUrl?: string;
|
|
29
|
+
returnUrl?: string;
|
|
36
30
|
/**
|
|
37
31
|
* Payment session ID used as Mollie card token
|
|
38
32
|
* @type {string}
|
|
@@ -112,8 +112,7 @@ function CreateManualTransactionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
112
112
|
}
|
|
113
113
|
return {
|
|
114
114
|
'gateway': json['gateway'] == null ? undefined : json['gateway'],
|
|
115
|
-
'
|
|
116
|
-
'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
|
|
115
|
+
'returnUrl': json['returnUrl'] == null ? undefined : json['returnUrl'],
|
|
117
116
|
'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
|
|
118
117
|
'selectedPaymentMethod': json['selectedPaymentMethod'] == null ? undefined : json['selectedPaymentMethod'],
|
|
119
118
|
};
|
|
@@ -128,8 +127,7 @@ function CreateManualTransactionInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
128
127
|
}
|
|
129
128
|
return {
|
|
130
129
|
'gateway': value['gateway'],
|
|
131
|
-
'
|
|
132
|
-
'cancelUrl': value['cancelUrl'],
|
|
130
|
+
'returnUrl': value['returnUrl'],
|
|
133
131
|
'sessionId': value['sessionId'],
|
|
134
132
|
'selectedPaymentMethod': value['selectedPaymentMethod'],
|
|
135
133
|
};
|
|
@@ -28,17 +28,11 @@ export interface CreateSubscriptionManualTransactionInput {
|
|
|
28
28
|
*/
|
|
29
29
|
selectedPaymentMethod?: CreateSubscriptionManualTransactionInputSelectedPaymentMethodEnum;
|
|
30
30
|
/**
|
|
31
|
-
* URL to redirect to
|
|
31
|
+
* URL to redirect to after payment
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateSubscriptionManualTransactionInput
|
|
34
34
|
*/
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* URL to redirect to when payment is cancelled
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CreateSubscriptionManualTransactionInput
|
|
40
|
-
*/
|
|
41
|
-
cancelUrl?: string;
|
|
35
|
+
returnUrl?: string;
|
|
42
36
|
/**
|
|
43
37
|
* Payment session ID used as Mollie card token
|
|
44
38
|
* @type {string}
|
|
@@ -106,8 +106,7 @@ function CreateSubscriptionManualTransactionInputFromJSONTyped(json, ignoreDiscr
|
|
|
106
106
|
return {
|
|
107
107
|
'invoiceId': json['invoiceId'] == null ? undefined : json['invoiceId'],
|
|
108
108
|
'selectedPaymentMethod': json['selectedPaymentMethod'] == null ? undefined : json['selectedPaymentMethod'],
|
|
109
|
-
'
|
|
110
|
-
'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
|
|
109
|
+
'returnUrl': json['returnUrl'] == null ? undefined : json['returnUrl'],
|
|
111
110
|
'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
|
|
112
111
|
};
|
|
113
112
|
}
|
|
@@ -122,8 +121,7 @@ function CreateSubscriptionManualTransactionInputToJSONTyped(value, ignoreDiscri
|
|
|
122
121
|
return {
|
|
123
122
|
'invoiceId': value['invoiceId'],
|
|
124
123
|
'selectedPaymentMethod': value['selectedPaymentMethod'],
|
|
125
|
-
'
|
|
126
|
-
'cancelUrl': value['cancelUrl'],
|
|
124
|
+
'returnUrl': value['returnUrl'],
|
|
127
125
|
'sessionId': value['sessionId'],
|
|
128
126
|
};
|
|
129
127
|
}
|
|
@@ -45,7 +45,7 @@ export interface OrderDto {
|
|
|
45
45
|
*/
|
|
46
46
|
decidedCountry: string;
|
|
47
47
|
/**
|
|
48
|
-
* Available payment methods per gateway (
|
|
48
|
+
* Available payment methods per gateway (canonical ids), keyed by PaymentGateway
|
|
49
49
|
* @type {object}
|
|
50
50
|
* @memberof OrderDto
|
|
51
51
|
*/
|
|
@@ -54,7 +54,7 @@ export interface SubscriptionDto {
|
|
|
54
54
|
*/
|
|
55
55
|
decidedCountry: string;
|
|
56
56
|
/**
|
|
57
|
-
* Available payment methods per gateway (
|
|
57
|
+
* Available payment methods per gateway (canonical ids), keyed by PaymentGateway
|
|
58
58
|
* @type {object}
|
|
59
59
|
* @memberof SubscriptionDto
|
|
60
60
|
*/
|
package/package.json
CHANGED
|
@@ -25,30 +25,6 @@ export interface CreateAccountPaymentManualTransactionInput {
|
|
|
25
25
|
* @memberof CreateAccountPaymentManualTransactionInput
|
|
26
26
|
*/
|
|
27
27
|
gateway?: CreateAccountPaymentManualTransactionInputGatewayEnum;
|
|
28
|
-
/**
|
|
29
|
-
* URL to redirect to when payment is successful
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof CreateAccountPaymentManualTransactionInput
|
|
32
|
-
*/
|
|
33
|
-
successUrl?: string;
|
|
34
|
-
/**
|
|
35
|
-
* URL to redirect to when payment is cancelled
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof CreateAccountPaymentManualTransactionInput
|
|
38
|
-
*/
|
|
39
|
-
cancelUrl?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Payment session ID used as Mollie card token
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof CreateAccountPaymentManualTransactionInput
|
|
44
|
-
*/
|
|
45
|
-
sessionId?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Selected payment method (canonical name)
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof CreateAccountPaymentManualTransactionInput
|
|
50
|
-
*/
|
|
51
|
-
selectedPaymentMethod?: CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum;
|
|
52
28
|
/**
|
|
53
29
|
* Payment method string to use for this transaction
|
|
54
30
|
* @type {string}
|
|
@@ -67,79 +43,6 @@ export const CreateAccountPaymentManualTransactionInputGatewayEnum = {
|
|
|
67
43
|
} as const;
|
|
68
44
|
export type CreateAccountPaymentManualTransactionInputGatewayEnum = typeof CreateAccountPaymentManualTransactionInputGatewayEnum[keyof typeof CreateAccountPaymentManualTransactionInputGatewayEnum];
|
|
69
45
|
|
|
70
|
-
/**
|
|
71
|
-
* @export
|
|
72
|
-
*/
|
|
73
|
-
export const CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum = {
|
|
74
|
-
ACSS_DEBIT: 'acss_debit',
|
|
75
|
-
AFFIRM: 'affirm',
|
|
76
|
-
AFTERPAY_CLEARPAY: 'afterpay_clearpay',
|
|
77
|
-
ALIPAY: 'alipay',
|
|
78
|
-
ALMA: 'alma',
|
|
79
|
-
AMAZON_PAY: 'amazon_pay',
|
|
80
|
-
APPLE_PAY: 'apple_pay',
|
|
81
|
-
AU_BECS_DEBIT: 'au_becs_debit',
|
|
82
|
-
BACS_DEBIT: 'bacs_debit',
|
|
83
|
-
BANCOMAT_PAY: 'bancomat_pay',
|
|
84
|
-
BANCONTACT: 'bancontact',
|
|
85
|
-
BELFIUS: 'belfius',
|
|
86
|
-
BILLIE: 'billie',
|
|
87
|
-
BLIK: 'blik',
|
|
88
|
-
BOLETO: 'boleto',
|
|
89
|
-
BANK_TRANSFER: 'bank_transfer',
|
|
90
|
-
CARD: 'card',
|
|
91
|
-
CARD_PRESENT: 'card_present',
|
|
92
|
-
CASHAPP: 'cashapp',
|
|
93
|
-
CUSTOMER_BALANCE: 'customer_balance',
|
|
94
|
-
EPS: 'eps',
|
|
95
|
-
FPX: 'fpx',
|
|
96
|
-
GIFTCARD: 'giftcard',
|
|
97
|
-
GIROPAY: 'giropay',
|
|
98
|
-
GOOGLE_PAY: 'google_pay',
|
|
99
|
-
GOPAY: 'gopay',
|
|
100
|
-
GRABPAY: 'grabpay',
|
|
101
|
-
ID_BANK_TRANSFER: 'id_bank_transfer',
|
|
102
|
-
IDEAL: 'ideal',
|
|
103
|
-
IN3: 'in3',
|
|
104
|
-
INTERAC_PRESENT: 'interac_present',
|
|
105
|
-
KAKAO_PAY: 'kakao_pay',
|
|
106
|
-
KBC: 'kbc',
|
|
107
|
-
KLARNA: 'klarna',
|
|
108
|
-
KONBINI: 'konbini',
|
|
109
|
-
KR_CARD: 'kr_card',
|
|
110
|
-
LINK: 'link',
|
|
111
|
-
MB_WAY: 'mb_way',
|
|
112
|
-
MOBILEPAY: 'mobilepay',
|
|
113
|
-
MULTIBANCO: 'multibanco',
|
|
114
|
-
NAVER_PAY: 'naver_pay',
|
|
115
|
-
NZ_BANK_ACCOUNT: 'nz_bank_account',
|
|
116
|
-
OXXO: 'oxxo',
|
|
117
|
-
PAY_BY_BANK: 'pay_by_bank',
|
|
118
|
-
PAYCO: 'payco',
|
|
119
|
-
PAYNOW: 'paynow',
|
|
120
|
-
PAYPAL: 'paypal',
|
|
121
|
-
PAYTO: 'payto',
|
|
122
|
-
PIX: 'pix',
|
|
123
|
-
PROMPTPAY: 'promptpay',
|
|
124
|
-
PRZELEWY24: 'przelewy24',
|
|
125
|
-
QRIS: 'qris',
|
|
126
|
-
RECHNUNG: 'rechnung',
|
|
127
|
-
REVOLUT_PAY: 'revolut_pay',
|
|
128
|
-
SAMSUNG_PAY: 'samsung_pay',
|
|
129
|
-
SATISPAY: 'satispay',
|
|
130
|
-
SEPA_DEBIT: 'sepa_debit',
|
|
131
|
-
SHOPEEPAY: 'shopeepay',
|
|
132
|
-
SOFORT: 'sofort',
|
|
133
|
-
STRIPE_BALANCE: 'stripe_balance',
|
|
134
|
-
SWISH: 'swish',
|
|
135
|
-
TWINT: 'twint',
|
|
136
|
-
US_BANK_ACCOUNT: 'us_bank_account',
|
|
137
|
-
VOUCHER: 'voucher',
|
|
138
|
-
WECHAT_PAY: 'wechat_pay',
|
|
139
|
-
ZIP: 'zip'
|
|
140
|
-
} as const;
|
|
141
|
-
export type CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum = typeof CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum[keyof typeof CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum];
|
|
142
|
-
|
|
143
46
|
|
|
144
47
|
/**
|
|
145
48
|
* Check if a given object implements the CreateAccountPaymentManualTransactionInput interface.
|
|
@@ -160,10 +63,6 @@ export function CreateAccountPaymentManualTransactionInputFromJSONTyped(json: an
|
|
|
160
63
|
return {
|
|
161
64
|
|
|
162
65
|
'gateway': json['gateway'] == null ? undefined : json['gateway'],
|
|
163
|
-
'successUrl': json['successUrl'] == null ? undefined : json['successUrl'],
|
|
164
|
-
'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
|
|
165
|
-
'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
|
|
166
|
-
'selectedPaymentMethod': json['selectedPaymentMethod'] == null ? undefined : json['selectedPaymentMethod'],
|
|
167
66
|
'paymentMethodType': json['paymentMethodType'],
|
|
168
67
|
};
|
|
169
68
|
}
|
|
@@ -180,10 +79,6 @@ export function CreateAccountPaymentManualTransactionInputToJSONTyped(value?: Cr
|
|
|
180
79
|
return {
|
|
181
80
|
|
|
182
81
|
'gateway': value['gateway'],
|
|
183
|
-
'successUrl': value['successUrl'],
|
|
184
|
-
'cancelUrl': value['cancelUrl'],
|
|
185
|
-
'sessionId': value['sessionId'],
|
|
186
|
-
'selectedPaymentMethod': value['selectedPaymentMethod'],
|
|
187
82
|
'paymentMethodType': value['paymentMethodType'],
|
|
188
83
|
};
|
|
189
84
|
}
|
|
@@ -26,17 +26,11 @@ export interface CreateManualTransactionInput {
|
|
|
26
26
|
*/
|
|
27
27
|
gateway?: CreateManualTransactionInputGatewayEnum;
|
|
28
28
|
/**
|
|
29
|
-
* URL to redirect to
|
|
29
|
+
* URL to redirect to after payment
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof CreateManualTransactionInput
|
|
32
32
|
*/
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* URL to redirect to when payment is cancelled
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof CreateManualTransactionInput
|
|
38
|
-
*/
|
|
39
|
-
cancelUrl?: string;
|
|
33
|
+
returnUrl?: string;
|
|
40
34
|
/**
|
|
41
35
|
* Payment session ID used as Mollie card token
|
|
42
36
|
* @type {string}
|
|
@@ -153,8 +147,7 @@ export function CreateManualTransactionInputFromJSONTyped(json: any, ignoreDiscr
|
|
|
153
147
|
return {
|
|
154
148
|
|
|
155
149
|
'gateway': json['gateway'] == null ? undefined : json['gateway'],
|
|
156
|
-
'
|
|
157
|
-
'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
|
|
150
|
+
'returnUrl': json['returnUrl'] == null ? undefined : json['returnUrl'],
|
|
158
151
|
'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
|
|
159
152
|
'selectedPaymentMethod': json['selectedPaymentMethod'] == null ? undefined : json['selectedPaymentMethod'],
|
|
160
153
|
};
|
|
@@ -172,8 +165,7 @@ export function CreateManualTransactionInputToJSONTyped(value?: CreateManualTran
|
|
|
172
165
|
return {
|
|
173
166
|
|
|
174
167
|
'gateway': value['gateway'],
|
|
175
|
-
'
|
|
176
|
-
'cancelUrl': value['cancelUrl'],
|
|
168
|
+
'returnUrl': value['returnUrl'],
|
|
177
169
|
'sessionId': value['sessionId'],
|
|
178
170
|
'selectedPaymentMethod': value['selectedPaymentMethod'],
|
|
179
171
|
};
|
|
@@ -32,17 +32,11 @@ export interface CreateSubscriptionManualTransactionInput {
|
|
|
32
32
|
*/
|
|
33
33
|
selectedPaymentMethod?: CreateSubscriptionManualTransactionInputSelectedPaymentMethodEnum;
|
|
34
34
|
/**
|
|
35
|
-
* URL to redirect to
|
|
35
|
+
* URL to redirect to after payment
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof CreateSubscriptionManualTransactionInput
|
|
38
38
|
*/
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* URL to redirect to when payment is cancelled
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof CreateSubscriptionManualTransactionInput
|
|
44
|
-
*/
|
|
45
|
-
cancelUrl?: string;
|
|
39
|
+
returnUrl?: string;
|
|
46
40
|
/**
|
|
47
41
|
* Payment session ID used as Mollie card token
|
|
48
42
|
* @type {string}
|
|
@@ -145,8 +139,7 @@ export function CreateSubscriptionManualTransactionInputFromJSONTyped(json: any,
|
|
|
145
139
|
|
|
146
140
|
'invoiceId': json['invoiceId'] == null ? undefined : json['invoiceId'],
|
|
147
141
|
'selectedPaymentMethod': json['selectedPaymentMethod'] == null ? undefined : json['selectedPaymentMethod'],
|
|
148
|
-
'
|
|
149
|
-
'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
|
|
142
|
+
'returnUrl': json['returnUrl'] == null ? undefined : json['returnUrl'],
|
|
150
143
|
'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
|
|
151
144
|
};
|
|
152
145
|
}
|
|
@@ -164,8 +157,7 @@ export function CreateSubscriptionManualTransactionInputToJSONTyped(value?: Crea
|
|
|
164
157
|
|
|
165
158
|
'invoiceId': value['invoiceId'],
|
|
166
159
|
'selectedPaymentMethod': value['selectedPaymentMethod'],
|
|
167
|
-
'
|
|
168
|
-
'cancelUrl': value['cancelUrl'],
|
|
160
|
+
'returnUrl': value['returnUrl'],
|
|
169
161
|
'sessionId': value['sessionId'],
|
|
170
162
|
};
|
|
171
163
|
}
|
package/src/models/OrderDto.ts
CHANGED
|
@@ -80,7 +80,7 @@ export interface OrderDto {
|
|
|
80
80
|
*/
|
|
81
81
|
decidedCountry: string;
|
|
82
82
|
/**
|
|
83
|
-
* Available payment methods per gateway (
|
|
83
|
+
* Available payment methods per gateway (canonical ids), keyed by PaymentGateway
|
|
84
84
|
* @type {object}
|
|
85
85
|
* @memberof OrderDto
|
|
86
86
|
*/
|
|
@@ -107,7 +107,7 @@ export interface SubscriptionDto {
|
|
|
107
107
|
*/
|
|
108
108
|
decidedCountry: string;
|
|
109
109
|
/**
|
|
110
|
-
* Available payment methods per gateway (
|
|
110
|
+
* Available payment methods per gateway (canonical ids), keyed by PaymentGateway
|
|
111
111
|
* @type {object}
|
|
112
112
|
* @memberof SubscriptionDto
|
|
113
113
|
*/
|