@randock/nameshift-api-client 0.0.419 → 0.0.421
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/.openapi-generator/FILES +2 -0
- package/README.md +3 -3
- package/dist/apis/OrdersPublicApi.d.ts +1 -0
- package/dist/apis/OrdersPublicApi.js +3 -0
- package/dist/apis/SubscriptionsPublicApi.d.ts +2 -0
- package/dist/apis/SubscriptionsPublicApi.js +6 -0
- 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/OrderListItemDto.d.ts +13 -0
- package/dist/models/OrderListItemDto.js +9 -0
- package/dist/models/OrderListItemDtoTransaction.d.ts +53 -0
- package/dist/models/OrderListItemDtoTransaction.js +68 -0
- package/dist/models/SubscriptionListItemDto.d.ts +19 -0
- package/dist/models/SubscriptionListItemDto.js +13 -0
- package/dist/models/SubscriptionListItemDtoTransaction.d.ts +53 -0
- package/dist/models/SubscriptionListItemDtoTransaction.js +68 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/apis/OrdersPublicApi.ts +5 -0
- package/src/apis/SubscriptionsPublicApi.ts +10 -0
- package/src/models/CreateAccountPaymentManualTransactionInput.ts +0 -105
- package/src/models/CreateManualTransactionInput.ts +4 -12
- package/src/models/CreateSubscriptionManualTransactionInput.ts +4 -12
- package/src/models/OrderListItemDto.ts +25 -0
- package/src/models/OrderListItemDtoTransaction.ts +96 -0
- package/src/models/SubscriptionListItemDto.ts +34 -0
- package/src/models/SubscriptionListItemDtoTransaction.ts +96 -0
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -349,6 +349,7 @@ src/models/OrderListItemDto.ts
|
|
|
349
349
|
src/models/OrderListItemDtoBuyerInformation.ts
|
|
350
350
|
src/models/OrderListItemDtoDomainInformation.ts
|
|
351
351
|
src/models/OrderListItemDtoSellerAccount.ts
|
|
352
|
+
src/models/OrderListItemDtoTransaction.ts
|
|
352
353
|
src/models/OwnedDomainDto.ts
|
|
353
354
|
src/models/PageBasedPageInfo.ts
|
|
354
355
|
src/models/PageBasedPaginationResponse.ts
|
|
@@ -455,6 +456,7 @@ src/models/SubscriptionListItemDto.ts
|
|
|
455
456
|
src/models/SubscriptionListItemDtoBuyerInformation.ts
|
|
456
457
|
src/models/SubscriptionListItemDtoDomainInformation.ts
|
|
457
458
|
src/models/SubscriptionListItemDtoSellerAccount.ts
|
|
459
|
+
src/models/SubscriptionListItemDtoTransaction.ts
|
|
458
460
|
src/models/TaskDataChallengeRewardDto.ts
|
|
459
461
|
src/models/TaskDataDomainTransferDto.ts
|
|
460
462
|
src/models/TaskDetailsDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.421
|
|
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.421 --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
|
+
5200047eb8d43139e42cee360dbda0e7a7bee885da98821a664b862b24c84772d604d92fb4cef6364326d978ba9bb858
|
|
@@ -23,6 +23,7 @@ export interface OrdersPublicApiDownloadOrderProformaInvoiceRequest {
|
|
|
23
23
|
}
|
|
24
24
|
export interface OrdersPublicApiGetOrderRequest {
|
|
25
25
|
orderId: string;
|
|
26
|
+
includePaymentMethods?: boolean;
|
|
26
27
|
}
|
|
27
28
|
export interface OrdersPublicApiUpdateOrderRequest {
|
|
28
29
|
orderId: string;
|
|
@@ -227,6 +227,9 @@ var OrdersPublicApi = /** @class */ (function (_super) {
|
|
|
227
227
|
throw new runtime.RequiredError('orderId', 'Required parameter "orderId" was null or undefined when calling getOrder().');
|
|
228
228
|
}
|
|
229
229
|
queryParameters = {};
|
|
230
|
+
if (requestParameters['includePaymentMethods'] != null) {
|
|
231
|
+
queryParameters['includePaymentMethods'] = requestParameters['includePaymentMethods'];
|
|
232
|
+
}
|
|
230
233
|
headerParameters = {};
|
|
231
234
|
return [4 /*yield*/, this.request({
|
|
232
235
|
path: "/orders/{orderId}".replace("{".concat("orderId", "}"), encodeURIComponent(String(requestParameters['orderId']))),
|
|
@@ -24,10 +24,12 @@ export interface SubscriptionsPublicApiDownloadSubscriptionProformaInvoiceReques
|
|
|
24
24
|
}
|
|
25
25
|
export interface SubscriptionsPublicApiGetSubscriptionRequest {
|
|
26
26
|
subscriptionId: string;
|
|
27
|
+
includePaymentMethods?: boolean;
|
|
27
28
|
}
|
|
28
29
|
export interface SubscriptionsPublicApiGetSubscriptionByInvoiceRequest {
|
|
29
30
|
subscriptionId: string;
|
|
30
31
|
invoiceId: string;
|
|
32
|
+
includePaymentMethods?: boolean;
|
|
31
33
|
}
|
|
32
34
|
export interface SubscriptionsPublicApiUpdateSubscriptionRequest {
|
|
33
35
|
subscriptionId: string;
|
|
@@ -232,6 +232,9 @@ var SubscriptionsPublicApi = /** @class */ (function (_super) {
|
|
|
232
232
|
throw new runtime.RequiredError('subscriptionId', 'Required parameter "subscriptionId" was null or undefined when calling getSubscription().');
|
|
233
233
|
}
|
|
234
234
|
queryParameters = {};
|
|
235
|
+
if (requestParameters['includePaymentMethods'] != null) {
|
|
236
|
+
queryParameters['includePaymentMethods'] = requestParameters['includePaymentMethods'];
|
|
237
|
+
}
|
|
235
238
|
headerParameters = {};
|
|
236
239
|
return [4 /*yield*/, this.request({
|
|
237
240
|
path: "/subscriptions/{subscriptionId}".replace("{".concat("subscriptionId", "}"), encodeURIComponent(String(requestParameters['subscriptionId']))),
|
|
@@ -280,6 +283,9 @@ var SubscriptionsPublicApi = /** @class */ (function (_super) {
|
|
|
280
283
|
throw new runtime.RequiredError('invoiceId', 'Required parameter "invoiceId" was null or undefined when calling getSubscriptionByInvoice().');
|
|
281
284
|
}
|
|
282
285
|
queryParameters = {};
|
|
286
|
+
if (requestParameters['includePaymentMethods'] != null) {
|
|
287
|
+
queryParameters['includePaymentMethods'] = requestParameters['includePaymentMethods'];
|
|
288
|
+
}
|
|
283
289
|
headerParameters = {};
|
|
284
290
|
return [4 /*yield*/, this.request({
|
|
285
291
|
path: "/subscriptions/{subscriptionId}/invoices/{invoiceId}".replace("{".concat("subscriptionId", "}"), encodeURIComponent(String(requestParameters['subscriptionId']))).replace("{".concat("invoiceId", "}"), encodeURIComponent(String(requestParameters['invoiceId']))),
|
|
@@ -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
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { OrderListItemDtoDomainInformation } from './OrderListItemDtoDomainInformation';
|
|
13
13
|
import type { MoneyDto } from './MoneyDto';
|
|
14
14
|
import type { OrderListItemDtoBuyerInformation } from './OrderListItemDtoBuyerInformation';
|
|
15
|
+
import type { OrderListItemDtoTransaction } from './OrderListItemDtoTransaction';
|
|
15
16
|
import type { OrderListItemDtoSellerAccount } from './OrderListItemDtoSellerAccount';
|
|
16
17
|
/**
|
|
17
18
|
*
|
|
@@ -85,6 +86,12 @@ export interface OrderListItemDto {
|
|
|
85
86
|
* @memberof OrderListItemDto
|
|
86
87
|
*/
|
|
87
88
|
leadId: object | null;
|
|
89
|
+
/**
|
|
90
|
+
* Indicates whether the order is imported from a lead.
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @memberof OrderListItemDto
|
|
93
|
+
*/
|
|
94
|
+
isLeadImported: boolean;
|
|
88
95
|
/**
|
|
89
96
|
* The order auction ID
|
|
90
97
|
* @type {object}
|
|
@@ -97,6 +104,12 @@ export interface OrderListItemDto {
|
|
|
97
104
|
* @memberof OrderListItemDto
|
|
98
105
|
*/
|
|
99
106
|
domainTransferId: object | null;
|
|
107
|
+
/**
|
|
108
|
+
* The selected invoice transaction data (paid one or latest fallback).
|
|
109
|
+
* @type {OrderListItemDtoTransaction}
|
|
110
|
+
* @memberof OrderListItemDto
|
|
111
|
+
*/
|
|
112
|
+
transaction: OrderListItemDtoTransaction | null;
|
|
100
113
|
}
|
|
101
114
|
/**
|
|
102
115
|
* @export
|
|
@@ -22,6 +22,7 @@ exports.OrderListItemDtoToJSONTyped = OrderListItemDtoToJSONTyped;
|
|
|
22
22
|
var OrderListItemDtoDomainInformation_1 = require("./OrderListItemDtoDomainInformation");
|
|
23
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
24
24
|
var OrderListItemDtoBuyerInformation_1 = require("./OrderListItemDtoBuyerInformation");
|
|
25
|
+
var OrderListItemDtoTransaction_1 = require("./OrderListItemDtoTransaction");
|
|
25
26
|
var OrderListItemDtoSellerAccount_1 = require("./OrderListItemDtoSellerAccount");
|
|
26
27
|
/**
|
|
27
28
|
* @export
|
|
@@ -58,10 +59,14 @@ function instanceOfOrderListItemDto(value) {
|
|
|
58
59
|
return false;
|
|
59
60
|
if (!('leadId' in value) || value['leadId'] === undefined)
|
|
60
61
|
return false;
|
|
62
|
+
if (!('isLeadImported' in value) || value['isLeadImported'] === undefined)
|
|
63
|
+
return false;
|
|
61
64
|
if (!('auctionId' in value) || value['auctionId'] === undefined)
|
|
62
65
|
return false;
|
|
63
66
|
if (!('domainTransferId' in value) || value['domainTransferId'] === undefined)
|
|
64
67
|
return false;
|
|
68
|
+
if (!('transaction' in value) || value['transaction'] === undefined)
|
|
69
|
+
return false;
|
|
65
70
|
return true;
|
|
66
71
|
}
|
|
67
72
|
function OrderListItemDtoFromJSON(json) {
|
|
@@ -83,8 +88,10 @@ function OrderListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
83
88
|
'basePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['basePrice']),
|
|
84
89
|
'basePriceEur': (0, MoneyDto_1.MoneyDtoFromJSON)(json['basePriceEur']),
|
|
85
90
|
'leadId': json['leadId'],
|
|
91
|
+
'isLeadImported': json['isLeadImported'],
|
|
86
92
|
'auctionId': json['auctionId'],
|
|
87
93
|
'domainTransferId': json['domainTransferId'],
|
|
94
|
+
'transaction': (0, OrderListItemDtoTransaction_1.OrderListItemDtoTransactionFromJSON)(json['transaction']),
|
|
88
95
|
};
|
|
89
96
|
}
|
|
90
97
|
function OrderListItemDtoToJSON(json) {
|
|
@@ -107,7 +114,9 @@ function OrderListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
107
114
|
'basePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['basePrice']),
|
|
108
115
|
'basePriceEur': (0, MoneyDto_1.MoneyDtoToJSON)(value['basePriceEur']),
|
|
109
116
|
'leadId': value['leadId'],
|
|
117
|
+
'isLeadImported': value['isLeadImported'],
|
|
110
118
|
'auctionId': value['auctionId'],
|
|
111
119
|
'domainTransferId': value['domainTransferId'],
|
|
120
|
+
'transaction': (0, OrderListItemDtoTransaction_1.OrderListItemDtoTransactionToJSON)(value['transaction']),
|
|
112
121
|
};
|
|
113
122
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OrderListItemDtoTransaction
|
|
16
|
+
*/
|
|
17
|
+
export interface OrderListItemDtoTransaction {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof OrderListItemDtoTransaction
|
|
22
|
+
*/
|
|
23
|
+
id: object;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrderListItemDtoTransaction
|
|
28
|
+
*/
|
|
29
|
+
gateway: OrderListItemDtoTransactionGatewayEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OrderListItemDtoTransaction
|
|
34
|
+
*/
|
|
35
|
+
gatewayCustomerId: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const OrderListItemDtoTransactionGatewayEnum: {
|
|
41
|
+
readonly STRIPE: "stripe";
|
|
42
|
+
readonly MOLLIE: "mollie";
|
|
43
|
+
readonly NICKY: "nicky";
|
|
44
|
+
};
|
|
45
|
+
export type OrderListItemDtoTransactionGatewayEnum = typeof OrderListItemDtoTransactionGatewayEnum[keyof typeof OrderListItemDtoTransactionGatewayEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the OrderListItemDtoTransaction interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfOrderListItemDtoTransaction(value: object): value is OrderListItemDtoTransaction;
|
|
50
|
+
export declare function OrderListItemDtoTransactionFromJSON(json: any): OrderListItemDtoTransaction;
|
|
51
|
+
export declare function OrderListItemDtoTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderListItemDtoTransaction;
|
|
52
|
+
export declare function OrderListItemDtoTransactionToJSON(json: any): OrderListItemDtoTransaction;
|
|
53
|
+
export declare function OrderListItemDtoTransactionToJSONTyped(value?: OrderListItemDtoTransaction | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.OrderListItemDtoTransactionGatewayEnum = void 0;
|
|
17
|
+
exports.instanceOfOrderListItemDtoTransaction = instanceOfOrderListItemDtoTransaction;
|
|
18
|
+
exports.OrderListItemDtoTransactionFromJSON = OrderListItemDtoTransactionFromJSON;
|
|
19
|
+
exports.OrderListItemDtoTransactionFromJSONTyped = OrderListItemDtoTransactionFromJSONTyped;
|
|
20
|
+
exports.OrderListItemDtoTransactionToJSON = OrderListItemDtoTransactionToJSON;
|
|
21
|
+
exports.OrderListItemDtoTransactionToJSONTyped = OrderListItemDtoTransactionToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.OrderListItemDtoTransactionGatewayEnum = {
|
|
26
|
+
STRIPE: 'stripe',
|
|
27
|
+
MOLLIE: 'mollie',
|
|
28
|
+
NICKY: 'nicky'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the OrderListItemDtoTransaction interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfOrderListItemDtoTransaction(value) {
|
|
34
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('gateway' in value) || value['gateway'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('gatewayCustomerId' in value) || value['gatewayCustomerId'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function OrderListItemDtoTransactionFromJSON(json) {
|
|
43
|
+
return OrderListItemDtoTransactionFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function OrderListItemDtoTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'gateway': json['gateway'],
|
|
52
|
+
'gatewayCustomerId': json['gatewayCustomerId'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function OrderListItemDtoTransactionToJSON(json) {
|
|
56
|
+
return OrderListItemDtoTransactionToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function OrderListItemDtoTransactionToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value['id'],
|
|
65
|
+
'gateway': value['gateway'],
|
|
66
|
+
'gatewayCustomerId': value['gatewayCustomerId'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { SubscriptionListItemBillingPeriodicityDto } from './SubscriptionListItemBillingPeriodicityDto';
|
|
13
13
|
import type { SubscriptionListItemDtoBuyerInformation } from './SubscriptionListItemDtoBuyerInformation';
|
|
14
|
+
import type { SubscriptionListItemDtoTransaction } from './SubscriptionListItemDtoTransaction';
|
|
14
15
|
import type { SubscriptionListItemDtoSellerAccount } from './SubscriptionListItemDtoSellerAccount';
|
|
15
16
|
import type { MoneyDto } from './MoneyDto';
|
|
16
17
|
import type { SubscriptionListItemDtoDomainInformation } from './SubscriptionListItemDtoDomainInformation';
|
|
@@ -170,6 +171,24 @@ export interface SubscriptionListItemDto {
|
|
|
170
171
|
* @memberof SubscriptionListItemDto
|
|
171
172
|
*/
|
|
172
173
|
sellerLeaseToOwnKickBackPercentage: number;
|
|
174
|
+
/**
|
|
175
|
+
* Indicates whether the subscription is imported from a lead.
|
|
176
|
+
* @type {boolean}
|
|
177
|
+
* @memberof SubscriptionListItemDto
|
|
178
|
+
*/
|
|
179
|
+
isLeadImported: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* The subscription lead ID.
|
|
182
|
+
* @type {object}
|
|
183
|
+
* @memberof SubscriptionListItemDto
|
|
184
|
+
*/
|
|
185
|
+
leadId: object | null;
|
|
186
|
+
/**
|
|
187
|
+
* The selected invoice transaction data (paid one or latest fallback).
|
|
188
|
+
* @type {SubscriptionListItemDtoTransaction}
|
|
189
|
+
* @memberof SubscriptionListItemDto
|
|
190
|
+
*/
|
|
191
|
+
transaction: SubscriptionListItemDtoTransaction | null;
|
|
173
192
|
}
|
|
174
193
|
/**
|
|
175
194
|
* @export
|