@randock/nameshift-api-client 0.0.440 → 0.0.442
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 +8 -0
- package/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +1 -0
- package/dist/apis/AccountsApi.js +2 -1
- package/dist/apis/AdminApi.d.ts +49 -1
- package/dist/apis/AdminApi.js +187 -0
- package/dist/models/AccountPaymentMethodProfileDto.d.ts +1 -0
- package/dist/models/AccountPaymentMethodProfileDto.js +2 -1
- package/dist/models/AdminBankDepositAccountBankAccountDto.d.ts +39 -0
- package/dist/models/AdminBankDepositAccountBankAccountDto.js +56 -0
- package/dist/models/AdminBankDepositAccountDto.d.ts +38 -0
- package/dist/models/AdminBankDepositAccountDto.js +55 -0
- package/dist/models/AdminBankDepositDto.d.ts +76 -0
- package/dist/models/AdminBankDepositDto.js +81 -0
- package/dist/models/AdminBankDepositInvoiceDto.d.ts +54 -0
- package/dist/models/AdminBankDepositInvoiceDto.js +69 -0
- package/dist/models/AdminBankDepositInvoiceTransactionDto.d.ts +39 -0
- package/dist/models/AdminBankDepositInvoiceTransactionDto.js +56 -0
- package/dist/models/AdminVerificationDepositDto.d.ts +18 -0
- package/dist/models/AdminVerificationDepositDto.js +12 -0
- package/dist/models/AirwallexBankAccountDetailsDto.d.ts +6 -0
- package/dist/models/AirwallexBankAccountDetailsDto.js +2 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/InvoiceDtoTransaction.d.ts +8 -0
- package/dist/models/InvoiceDtoTransaction.js +7 -1
- package/dist/models/InvoiceTransactionDto.d.ts +8 -0
- package/dist/models/InvoiceTransactionDto.js +7 -1
- package/dist/models/LinkBankDepositToBankAccountInput.d.ts +32 -0
- package/dist/models/LinkBankDepositToBankAccountInput.js +51 -0
- package/dist/models/LinkBankDepositToInvoiceInput.d.ts +32 -0
- package/dist/models/LinkBankDepositToInvoiceInput.js +51 -0
- package/dist/models/ListBankDeposits200Response.d.ts +47 -0
- package/dist/models/ListBankDeposits200Response.js +62 -0
- package/dist/models/OrderListItemDto.d.ts +1 -1
- package/dist/models/OrderListItemDtoTransaction.d.ts +99 -2
- package/dist/models/OrderListItemDtoTransaction.js +96 -5
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/SubscriptionListItemDtoTransaction.d.ts +1 -0
- package/dist/models/SubscriptionListItemDtoTransaction.js +2 -1
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +2 -1
- package/src/apis/AdminApi.ts +192 -0
- package/src/models/AccountPaymentMethodProfileDto.ts +2 -1
- package/src/models/AdminBankDepositAccountBankAccountDto.ts +83 -0
- package/src/models/AdminBankDepositAccountDto.ts +75 -0
- package/src/models/AdminBankDepositDto.ts +144 -0
- package/src/models/AdminBankDepositInvoiceDto.ts +97 -0
- package/src/models/AdminBankDepositInvoiceTransactionDto.ts +83 -0
- package/src/models/AdminVerificationDepositDto.ts +27 -0
- package/src/models/AirwallexBankAccountDetailsDto.ts +8 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/InvoiceDtoTransaction.ts +19 -1
- package/src/models/InvoiceTransactionDto.ts +19 -1
- package/src/models/LinkBankDepositToBankAccountInput.ts +66 -0
- package/src/models/LinkBankDepositToInvoiceInput.ts +66 -0
- package/src/models/ListBankDeposits200Response.ts +106 -0
- package/src/models/OrderListItemDto.ts +1 -1
- package/src/models/OrderListItemDtoTransaction.ts +111 -6
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/SubscriptionListItemDtoTransaction.ts +2 -1
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AdminBankDepositInvoiceDto } from './AdminBankDepositInvoiceDto';
|
|
17
|
+
import {
|
|
18
|
+
AdminBankDepositInvoiceDtoFromJSON,
|
|
19
|
+
AdminBankDepositInvoiceDtoFromJSONTyped,
|
|
20
|
+
AdminBankDepositInvoiceDtoToJSON,
|
|
21
|
+
AdminBankDepositInvoiceDtoToJSONTyped,
|
|
22
|
+
} from './AdminBankDepositInvoiceDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AdminBankDepositInvoiceTransactionDto
|
|
28
|
+
*/
|
|
29
|
+
export interface AdminBankDepositInvoiceTransactionDto {
|
|
30
|
+
/**
|
|
31
|
+
* Invoice transaction ID.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AdminBankDepositInvoiceTransactionDto
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
/**
|
|
37
|
+
* Linked invoice.
|
|
38
|
+
* @type {AdminBankDepositInvoiceDto}
|
|
39
|
+
* @memberof AdminBankDepositInvoiceTransactionDto
|
|
40
|
+
*/
|
|
41
|
+
invoice: AdminBankDepositInvoiceDto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AdminBankDepositInvoiceTransactionDto interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfAdminBankDepositInvoiceTransactionDto(value: object): value is AdminBankDepositInvoiceTransactionDto {
|
|
48
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
49
|
+
if (!('invoice' in value) || value['invoice'] === undefined) return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function AdminBankDepositInvoiceTransactionDtoFromJSON(json: any): AdminBankDepositInvoiceTransactionDto {
|
|
54
|
+
return AdminBankDepositInvoiceTransactionDtoFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function AdminBankDepositInvoiceTransactionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBankDepositInvoiceTransactionDto {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'id': json['id'],
|
|
64
|
+
'invoice': AdminBankDepositInvoiceDtoFromJSON(json['invoice']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function AdminBankDepositInvoiceTransactionDtoToJSON(json: any): AdminBankDepositInvoiceTransactionDto {
|
|
69
|
+
return AdminBankDepositInvoiceTransactionDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function AdminBankDepositInvoiceTransactionDtoToJSONTyped(value?: AdminBankDepositInvoiceTransactionDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'id': value['id'],
|
|
80
|
+
'invoice': AdminBankDepositInvoiceDtoToJSON(value['invoice']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -33,6 +33,24 @@ export interface AdminVerificationDepositDto {
|
|
|
33
33
|
* @memberof AdminVerificationDepositDto
|
|
34
34
|
*/
|
|
35
35
|
id: string;
|
|
36
|
+
/**
|
|
37
|
+
* Deposit creation date.
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof AdminVerificationDepositDto
|
|
40
|
+
*/
|
|
41
|
+
createdAt: Date;
|
|
42
|
+
/**
|
|
43
|
+
* External transaction ID from the payment provider.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AdminVerificationDepositDto
|
|
46
|
+
*/
|
|
47
|
+
externalTransactionId: string;
|
|
48
|
+
/**
|
|
49
|
+
* Whether the deposit has been processed.
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof AdminVerificationDepositDto
|
|
52
|
+
*/
|
|
53
|
+
processed: boolean;
|
|
36
54
|
/**
|
|
37
55
|
* Raw deposit payload.
|
|
38
56
|
* @type {AirwallexDepositDto}
|
|
@@ -46,6 +64,9 @@ export interface AdminVerificationDepositDto {
|
|
|
46
64
|
*/
|
|
47
65
|
export function instanceOfAdminVerificationDepositDto(value: object): value is AdminVerificationDepositDto {
|
|
48
66
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
67
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
68
|
+
if (!('externalTransactionId' in value) || value['externalTransactionId'] === undefined) return false;
|
|
69
|
+
if (!('processed' in value) || value['processed'] === undefined) return false;
|
|
49
70
|
if (!('raw' in value) || value['raw'] === undefined) return false;
|
|
50
71
|
return true;
|
|
51
72
|
}
|
|
@@ -61,6 +82,9 @@ export function AdminVerificationDepositDtoFromJSONTyped(json: any, ignoreDiscri
|
|
|
61
82
|
return {
|
|
62
83
|
|
|
63
84
|
'id': json['id'],
|
|
85
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
86
|
+
'externalTransactionId': json['externalTransactionId'],
|
|
87
|
+
'processed': json['processed'],
|
|
64
88
|
'raw': AirwallexDepositDtoFromJSON(json['raw']),
|
|
65
89
|
};
|
|
66
90
|
}
|
|
@@ -77,6 +101,9 @@ export function AdminVerificationDepositDtoToJSONTyped(value?: AdminVerification
|
|
|
77
101
|
return {
|
|
78
102
|
|
|
79
103
|
'id': value['id'],
|
|
104
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
105
|
+
'externalTransactionId': value['externalTransactionId'],
|
|
106
|
+
'processed': value['processed'],
|
|
80
107
|
'raw': AirwallexDepositDtoToJSON(value['raw']),
|
|
81
108
|
};
|
|
82
109
|
}
|
|
@@ -70,6 +70,12 @@ export interface AirwallexBankAccountDetailsDto {
|
|
|
70
70
|
* @memberof AirwallexBankAccountDetailsDto
|
|
71
71
|
*/
|
|
72
72
|
localMethods: Array<AirwallexBankAccountDetailsDtoLocalMethod>;
|
|
73
|
+
/**
|
|
74
|
+
* Bank transfer payment reference the buyer should use (shortIdentifier).
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof AirwallexBankAccountDetailsDto
|
|
77
|
+
*/
|
|
78
|
+
reference?: string | null;
|
|
73
79
|
}
|
|
74
80
|
|
|
75
81
|
/**
|
|
@@ -98,6 +104,7 @@ export function AirwallexBankAccountDetailsDtoFromJSONTyped(json: any, ignoreDis
|
|
|
98
104
|
'swiftBic': json['swift_bic'] == null ? undefined : json['swift_bic'],
|
|
99
105
|
'institution': AirwallexBankAccountDetailsDtoInstitutionFromJSON(json['institution']),
|
|
100
106
|
'localMethods': ((json['local_methods'] as Array<any>).map(AirwallexBankAccountDetailsDtoLocalMethodFromJSON)),
|
|
107
|
+
'reference': json['reference'] == null ? undefined : json['reference'],
|
|
101
108
|
};
|
|
102
109
|
}
|
|
103
110
|
|
|
@@ -118,6 +125,7 @@ export function AirwallexBankAccountDetailsDtoToJSONTyped(value?: AirwallexBankA
|
|
|
118
125
|
'swift_bic': value['swiftBic'],
|
|
119
126
|
'institution': AirwallexBankAccountDetailsDtoInstitutionToJSON(value['institution']),
|
|
120
127
|
'local_methods': ((value['localMethods'] as Array<any>).map(AirwallexBankAccountDetailsDtoLocalMethodToJSON)),
|
|
128
|
+
'reference': value['reference'],
|
|
121
129
|
};
|
|
122
130
|
}
|
|
123
131
|
|
|
@@ -92,7 +92,8 @@ export const FeatureFlagListItemDtoNameEnum = {
|
|
|
92
92
|
ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
|
|
93
93
|
ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
|
|
94
94
|
USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
|
|
95
|
-
USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST'
|
|
95
|
+
USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
|
|
96
|
+
AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
|
|
96
97
|
} as const;
|
|
97
98
|
export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
|
|
98
99
|
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -178,7 +178,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
|
|
|
178
178
|
ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
|
|
179
179
|
ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
|
|
180
180
|
USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
|
|
181
|
-
USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST'
|
|
181
|
+
USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
|
|
182
|
+
AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
|
|
182
183
|
} as const;
|
|
183
184
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
184
185
|
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AdminVerificationDepositDto } from './AdminVerificationDepositDto';
|
|
17
|
+
import {
|
|
18
|
+
AdminVerificationDepositDtoFromJSON,
|
|
19
|
+
AdminVerificationDepositDtoFromJSONTyped,
|
|
20
|
+
AdminVerificationDepositDtoToJSON,
|
|
21
|
+
AdminVerificationDepositDtoToJSONTyped,
|
|
22
|
+
} from './AdminVerificationDepositDto';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -37,6 +45,12 @@ export interface InvoiceDtoTransaction {
|
|
|
37
45
|
* @memberof InvoiceDtoTransaction
|
|
38
46
|
*/
|
|
39
47
|
gatewayCustomerId: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Linked payment provider deposits for this transaction.
|
|
50
|
+
* @type {Array<AdminVerificationDepositDto>}
|
|
51
|
+
* @memberof InvoiceDtoTransaction
|
|
52
|
+
*/
|
|
53
|
+
airwallexDeposits: Array<AdminVerificationDepositDto>;
|
|
40
54
|
}
|
|
41
55
|
|
|
42
56
|
|
|
@@ -46,7 +60,8 @@ export interface InvoiceDtoTransaction {
|
|
|
46
60
|
export const InvoiceDtoTransactionGatewayEnum = {
|
|
47
61
|
STRIPE: 'stripe',
|
|
48
62
|
MOLLIE: 'mollie',
|
|
49
|
-
NICKY: 'nicky'
|
|
63
|
+
NICKY: 'nicky',
|
|
64
|
+
AIRWALLEX: 'airwallex'
|
|
50
65
|
} as const;
|
|
51
66
|
export type InvoiceDtoTransactionGatewayEnum = typeof InvoiceDtoTransactionGatewayEnum[keyof typeof InvoiceDtoTransactionGatewayEnum];
|
|
52
67
|
|
|
@@ -58,6 +73,7 @@ export function instanceOfInvoiceDtoTransaction(value: object): value is Invoice
|
|
|
58
73
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
59
74
|
if (!('gateway' in value) || value['gateway'] === undefined) return false;
|
|
60
75
|
if (!('gatewayCustomerId' in value) || value['gatewayCustomerId'] === undefined) return false;
|
|
76
|
+
if (!('airwallexDeposits' in value) || value['airwallexDeposits'] === undefined) return false;
|
|
61
77
|
return true;
|
|
62
78
|
}
|
|
63
79
|
|
|
@@ -74,6 +90,7 @@ export function InvoiceDtoTransactionFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
74
90
|
'id': json['id'],
|
|
75
91
|
'gateway': json['gateway'],
|
|
76
92
|
'gatewayCustomerId': json['gatewayCustomerId'],
|
|
93
|
+
'airwallexDeposits': ((json['airwallexDeposits'] as Array<any>).map(AdminVerificationDepositDtoFromJSON)),
|
|
77
94
|
};
|
|
78
95
|
}
|
|
79
96
|
|
|
@@ -91,6 +108,7 @@ export function InvoiceDtoTransactionToJSONTyped(value?: InvoiceDtoTransaction |
|
|
|
91
108
|
'id': value['id'],
|
|
92
109
|
'gateway': value['gateway'],
|
|
93
110
|
'gatewayCustomerId': value['gatewayCustomerId'],
|
|
111
|
+
'airwallexDeposits': ((value['airwallexDeposits'] as Array<any>).map(AdminVerificationDepositDtoToJSON)),
|
|
94
112
|
};
|
|
95
113
|
}
|
|
96
114
|
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AirwallexBankAccountDetailsDto } from './AirwallexBankAccountDetailsDto';
|
|
17
|
+
import {
|
|
18
|
+
AirwallexBankAccountDetailsDtoFromJSON,
|
|
19
|
+
AirwallexBankAccountDetailsDtoFromJSONTyped,
|
|
20
|
+
AirwallexBankAccountDetailsDtoToJSON,
|
|
21
|
+
AirwallexBankAccountDetailsDtoToJSONTyped,
|
|
22
|
+
} from './AirwallexBankAccountDetailsDto';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -61,6 +69,12 @@ export interface InvoiceTransactionDto {
|
|
|
61
69
|
* @memberof InvoiceTransactionDto
|
|
62
70
|
*/
|
|
63
71
|
selectedPaymentMethod: InvoiceTransactionDtoSelectedPaymentMethodEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Bank transfer payment details when paying via Airwallex. Null for other gateways.
|
|
74
|
+
* @type {AirwallexBankAccountDetailsDto}
|
|
75
|
+
* @memberof InvoiceTransactionDto
|
|
76
|
+
*/
|
|
77
|
+
paymentDetails: AirwallexBankAccountDetailsDto | null;
|
|
64
78
|
}
|
|
65
79
|
|
|
66
80
|
|
|
@@ -70,7 +84,8 @@ export interface InvoiceTransactionDto {
|
|
|
70
84
|
export const InvoiceTransactionDtoGatewayEnum = {
|
|
71
85
|
STRIPE: 'stripe',
|
|
72
86
|
MOLLIE: 'mollie',
|
|
73
|
-
NICKY: 'nicky'
|
|
87
|
+
NICKY: 'nicky',
|
|
88
|
+
AIRWALLEX: 'airwallex'
|
|
74
89
|
} as const;
|
|
75
90
|
export type InvoiceTransactionDtoGatewayEnum = typeof InvoiceTransactionDtoGatewayEnum[keyof typeof InvoiceTransactionDtoGatewayEnum];
|
|
76
91
|
|
|
@@ -181,6 +196,7 @@ export function instanceOfInvoiceTransactionDto(value: object): value is Invoice
|
|
|
181
196
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
182
197
|
if (!('redirectUrl' in value) || value['redirectUrl'] === undefined) return false;
|
|
183
198
|
if (!('selectedPaymentMethod' in value) || value['selectedPaymentMethod'] === undefined) return false;
|
|
199
|
+
if (!('paymentDetails' in value) || value['paymentDetails'] === undefined) return false;
|
|
184
200
|
return true;
|
|
185
201
|
}
|
|
186
202
|
|
|
@@ -201,6 +217,7 @@ export function InvoiceTransactionDtoFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
201
217
|
'status': json['status'],
|
|
202
218
|
'redirectUrl': json['redirectUrl'],
|
|
203
219
|
'selectedPaymentMethod': json['selectedPaymentMethod'],
|
|
220
|
+
'paymentDetails': AirwallexBankAccountDetailsDtoFromJSON(json['paymentDetails']),
|
|
204
221
|
};
|
|
205
222
|
}
|
|
206
223
|
|
|
@@ -222,6 +239,7 @@ export function InvoiceTransactionDtoToJSONTyped(value?: InvoiceTransactionDto |
|
|
|
222
239
|
'status': value['status'],
|
|
223
240
|
'redirectUrl': value['redirectUrl'],
|
|
224
241
|
'selectedPaymentMethod': value['selectedPaymentMethod'],
|
|
242
|
+
'paymentDetails': AirwallexBankAccountDetailsDtoToJSON(value['paymentDetails']),
|
|
225
243
|
};
|
|
226
244
|
}
|
|
227
245
|
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface LinkBankDepositToBankAccountInput
|
|
20
|
+
*/
|
|
21
|
+
export interface LinkBankDepositToBankAccountInput {
|
|
22
|
+
/**
|
|
23
|
+
* Account bank account UUID to link to the deposit
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LinkBankDepositToBankAccountInput
|
|
26
|
+
*/
|
|
27
|
+
accountBankAccountId: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the LinkBankDepositToBankAccountInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfLinkBankDepositToBankAccountInput(value: object): value is LinkBankDepositToBankAccountInput {
|
|
34
|
+
if (!('accountBankAccountId' in value) || value['accountBankAccountId'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function LinkBankDepositToBankAccountInputFromJSON(json: any): LinkBankDepositToBankAccountInput {
|
|
39
|
+
return LinkBankDepositToBankAccountInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function LinkBankDepositToBankAccountInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LinkBankDepositToBankAccountInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'accountBankAccountId': json['accountBankAccountId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function LinkBankDepositToBankAccountInputToJSON(json: any): LinkBankDepositToBankAccountInput {
|
|
53
|
+
return LinkBankDepositToBankAccountInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function LinkBankDepositToBankAccountInputToJSONTyped(value?: LinkBankDepositToBankAccountInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'accountBankAccountId': value['accountBankAccountId'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface LinkBankDepositToInvoiceInput
|
|
20
|
+
*/
|
|
21
|
+
export interface LinkBankDepositToInvoiceInput {
|
|
22
|
+
/**
|
|
23
|
+
* Invoice UUID to link to the deposit
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LinkBankDepositToInvoiceInput
|
|
26
|
+
*/
|
|
27
|
+
invoiceId: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the LinkBankDepositToInvoiceInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfLinkBankDepositToInvoiceInput(value: object): value is LinkBankDepositToInvoiceInput {
|
|
34
|
+
if (!('invoiceId' in value) || value['invoiceId'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function LinkBankDepositToInvoiceInputFromJSON(json: any): LinkBankDepositToInvoiceInput {
|
|
39
|
+
return LinkBankDepositToInvoiceInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function LinkBankDepositToInvoiceInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LinkBankDepositToInvoiceInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'invoiceId': json['invoiceId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function LinkBankDepositToInvoiceInputToJSON(json: any): LinkBankDepositToInvoiceInput {
|
|
53
|
+
return LinkBankDepositToInvoiceInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function LinkBankDepositToInvoiceInputToJSONTyped(value?: LinkBankDepositToInvoiceInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'invoiceId': value['invoiceId'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
17
|
+
import {
|
|
18
|
+
PaginateResponseLinksFromJSON,
|
|
19
|
+
PaginateResponseLinksFromJSONTyped,
|
|
20
|
+
PaginateResponseLinksToJSON,
|
|
21
|
+
PaginateResponseLinksToJSONTyped,
|
|
22
|
+
} from './PaginateResponseLinks';
|
|
23
|
+
import type { AdminBankDepositDto } from './AdminBankDepositDto';
|
|
24
|
+
import {
|
|
25
|
+
AdminBankDepositDtoFromJSON,
|
|
26
|
+
AdminBankDepositDtoFromJSONTyped,
|
|
27
|
+
AdminBankDepositDtoToJSON,
|
|
28
|
+
AdminBankDepositDtoToJSONTyped,
|
|
29
|
+
} from './AdminBankDepositDto';
|
|
30
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
|
+
import {
|
|
32
|
+
PaginateResponseMetaFromJSON,
|
|
33
|
+
PaginateResponseMetaFromJSONTyped,
|
|
34
|
+
PaginateResponseMetaToJSON,
|
|
35
|
+
PaginateResponseMetaToJSONTyped,
|
|
36
|
+
} from './PaginateResponseMeta';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface ListBankDeposits200Response
|
|
42
|
+
*/
|
|
43
|
+
export interface ListBankDeposits200Response {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<AdminBankDepositDto>}
|
|
47
|
+
* @memberof ListBankDeposits200Response
|
|
48
|
+
*/
|
|
49
|
+
data: Array<AdminBankDepositDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {PaginateResponseMeta}
|
|
53
|
+
* @memberof ListBankDeposits200Response
|
|
54
|
+
*/
|
|
55
|
+
meta: PaginateResponseMeta;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PaginateResponseLinks}
|
|
59
|
+
* @memberof ListBankDeposits200Response
|
|
60
|
+
*/
|
|
61
|
+
links: PaginateResponseLinks;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the ListBankDeposits200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfListBankDeposits200Response(value: object): value is ListBankDeposits200Response {
|
|
68
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
69
|
+
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
70
|
+
if (!('links' in value) || value['links'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function ListBankDeposits200ResponseFromJSON(json: any): ListBankDeposits200Response {
|
|
75
|
+
return ListBankDeposits200ResponseFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ListBankDeposits200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListBankDeposits200Response {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(AdminBankDepositDtoFromJSON)),
|
|
85
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function ListBankDeposits200ResponseToJSON(json: any): ListBankDeposits200Response {
|
|
91
|
+
return ListBankDeposits200ResponseToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function ListBankDeposits200ResponseToJSONTyped(value?: ListBankDeposits200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(AdminBankDepositDtoToJSON)),
|
|
102
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -140,7 +140,7 @@ export interface OrderListItemDto {
|
|
|
140
140
|
*/
|
|
141
141
|
domainTransferId: string | null;
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
143
|
+
* Paid invoice transaction when available, otherwise the latest transaction.
|
|
144
144
|
* @type {OrderListItemDtoTransaction}
|
|
145
145
|
* @memberof OrderListItemDto
|
|
146
146
|
*/
|