@randock/nameshift-api-client 0.0.491 → 0.0.493
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 +11 -8
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +11 -1
- package/dist/apis/AdminApi.js +52 -0
- package/dist/apis/BankAccountsApi.d.ts +40 -1
- package/dist/apis/BankAccountsApi.js +197 -0
- package/dist/models/AccountBankAccountDetailsDto.d.ts +40 -0
- package/dist/models/AccountBankAccountDetailsDto.js +55 -0
- package/dist/models/AccountBankAccountDto.d.ts +10 -4
- package/dist/models/AccountBankAccountDto.js +7 -3
- package/dist/models/AdminLandingDesignStatsDto.d.ts +39 -0
- package/dist/models/AdminLandingDesignStatsDto.js +56 -0
- package/dist/models/BankAccountFormatCountryDto.d.ts +38 -0
- package/dist/models/BankAccountFormatCountryDto.js +55 -0
- package/dist/models/BankAccountFormatDto.d.ts +45 -0
- package/dist/models/BankAccountFormatDto.js +60 -0
- package/dist/models/BankAccountFormatFieldDto.d.ts +76 -0
- package/dist/models/BankAccountFormatFieldDto.js +81 -0
- package/dist/models/BankAccountFormatFieldOptionDto.d.ts +38 -0
- package/dist/models/BankAccountFormatFieldOptionDto.js +55 -0
- package/dist/models/BankAccountFormatFieldType.d.ts +26 -0
- package/dist/models/BankAccountFormatFieldType.js +52 -0
- package/dist/models/BankAccountFormatsDto.d.ts +33 -0
- package/dist/models/BankAccountFormatsDto.js +52 -0
- package/dist/models/CreateBankAccountDetailsInput.d.ts +40 -0
- package/dist/models/CreateBankAccountDetailsInput.js +55 -0
- package/dist/models/CreateBankAccountInput.d.ts +5 -4
- package/dist/models/CreateBankAccountInput.js +3 -2
- package/dist/models/LandingDesignUsageDto.d.ts +47 -0
- package/dist/models/LandingDesignUsageDto.js +64 -0
- package/dist/models/SearchBankAccountInstitutionsInput.d.ts +46 -0
- package/dist/models/SearchBankAccountInstitutionsInput.js +55 -0
- package/dist/models/index.d.ts +11 -8
- package/dist/models/index.js +11 -8
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +39 -0
- package/src/apis/BankAccountsApi.ts +181 -0
- package/src/models/AccountBankAccountDetailsDto.ts +75 -0
- package/src/models/AccountBankAccountDto.ts +20 -11
- package/src/models/AdminLandingDesignStatsDto.ts +83 -0
- package/src/models/BankAccountFormatCountryDto.ts +75 -0
- package/src/models/BankAccountFormatDto.ts +92 -0
- package/src/models/BankAccountFormatFieldDto.ts +146 -0
- package/src/models/BankAccountFormatFieldOptionDto.ts +75 -0
- package/src/models/BankAccountFormatFieldType.ts +54 -0
- package/src/models/BankAccountFormatsDto.ts +74 -0
- package/src/models/CreateBankAccountDetailsInput.ts +75 -0
- package/src/models/CreateBankAccountInput.ts +14 -6
- package/src/models/LandingDesignUsageDto.ts +87 -0
- package/src/models/SearchBankAccountInstitutionsInput.ts +82 -0
- package/src/models/index.ts +11 -8
- package/dist/models/AccountBankAccountDtoDetails.d.ts +0 -42
- package/dist/models/AccountBankAccountDtoDetails.js +0 -79
- package/dist/models/AuBankAccountDetails.d.ts +0 -63
- package/dist/models/AuBankAccountDetails.js +0 -76
- package/dist/models/CaBankAccountDetails.d.ts +0 -69
- package/dist/models/CaBankAccountDetails.js +0 -80
- package/dist/models/NzBankAccountDetails.d.ts +0 -57
- package/dist/models/NzBankAccountDetails.js +0 -72
- package/dist/models/SeBankAccountDetails.d.ts +0 -75
- package/dist/models/SeBankAccountDetails.js +0 -84
- package/dist/models/SepaBankAccountDetails.d.ts +0 -63
- package/dist/models/SepaBankAccountDetails.js +0 -76
- package/dist/models/UkBankAccountDetails.d.ts +0 -63
- package/dist/models/UkBankAccountDetails.js +0 -76
- package/dist/models/UsBankAccountDetails.d.ts +0 -63
- package/dist/models/UsBankAccountDetails.js +0 -76
- package/src/models/AccountBankAccountDtoDetails.ts +0 -128
- package/src/models/AuBankAccountDetails.ts +0 -109
- package/src/models/CaBankAccountDetails.ts +0 -118
- package/src/models/NzBankAccountDetails.ts +0 -100
- package/src/models/SeBankAccountDetails.ts +0 -127
- package/src/models/SepaBankAccountDetails.ts +0 -109
- package/src/models/UkBankAccountDetails.ts +0 -109
- package/src/models/UsBankAccountDetails.ts +0 -109
|
@@ -1,128 +0,0 @@
|
|
|
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 type { AuBankAccountDetails } from './AuBankAccountDetails';
|
|
16
|
-
import {
|
|
17
|
-
instanceOfAuBankAccountDetails,
|
|
18
|
-
AuBankAccountDetailsFromJSON,
|
|
19
|
-
AuBankAccountDetailsFromJSONTyped,
|
|
20
|
-
AuBankAccountDetailsToJSON,
|
|
21
|
-
} from './AuBankAccountDetails';
|
|
22
|
-
import type { CaBankAccountDetails } from './CaBankAccountDetails';
|
|
23
|
-
import {
|
|
24
|
-
instanceOfCaBankAccountDetails,
|
|
25
|
-
CaBankAccountDetailsFromJSON,
|
|
26
|
-
CaBankAccountDetailsFromJSONTyped,
|
|
27
|
-
CaBankAccountDetailsToJSON,
|
|
28
|
-
} from './CaBankAccountDetails';
|
|
29
|
-
import type { NzBankAccountDetails } from './NzBankAccountDetails';
|
|
30
|
-
import {
|
|
31
|
-
instanceOfNzBankAccountDetails,
|
|
32
|
-
NzBankAccountDetailsFromJSON,
|
|
33
|
-
NzBankAccountDetailsFromJSONTyped,
|
|
34
|
-
NzBankAccountDetailsToJSON,
|
|
35
|
-
} from './NzBankAccountDetails';
|
|
36
|
-
import type { SeBankAccountDetails } from './SeBankAccountDetails';
|
|
37
|
-
import {
|
|
38
|
-
instanceOfSeBankAccountDetails,
|
|
39
|
-
SeBankAccountDetailsFromJSON,
|
|
40
|
-
SeBankAccountDetailsFromJSONTyped,
|
|
41
|
-
SeBankAccountDetailsToJSON,
|
|
42
|
-
} from './SeBankAccountDetails';
|
|
43
|
-
import type { SepaBankAccountDetails } from './SepaBankAccountDetails';
|
|
44
|
-
import {
|
|
45
|
-
instanceOfSepaBankAccountDetails,
|
|
46
|
-
SepaBankAccountDetailsFromJSON,
|
|
47
|
-
SepaBankAccountDetailsFromJSONTyped,
|
|
48
|
-
SepaBankAccountDetailsToJSON,
|
|
49
|
-
} from './SepaBankAccountDetails';
|
|
50
|
-
import type { UkBankAccountDetails } from './UkBankAccountDetails';
|
|
51
|
-
import {
|
|
52
|
-
instanceOfUkBankAccountDetails,
|
|
53
|
-
UkBankAccountDetailsFromJSON,
|
|
54
|
-
UkBankAccountDetailsFromJSONTyped,
|
|
55
|
-
UkBankAccountDetailsToJSON,
|
|
56
|
-
} from './UkBankAccountDetails';
|
|
57
|
-
import type { UsBankAccountDetails } from './UsBankAccountDetails';
|
|
58
|
-
import {
|
|
59
|
-
instanceOfUsBankAccountDetails,
|
|
60
|
-
UsBankAccountDetailsFromJSON,
|
|
61
|
-
UsBankAccountDetailsFromJSONTyped,
|
|
62
|
-
UsBankAccountDetailsToJSON,
|
|
63
|
-
} from './UsBankAccountDetails';
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @type AccountBankAccountDtoDetails
|
|
67
|
-
* Country-specific bank account details (schema varies by type).
|
|
68
|
-
* @export
|
|
69
|
-
*/
|
|
70
|
-
export type AccountBankAccountDtoDetails = { type: 'AuBankAccountDetails' } & AuBankAccountDetails | { type: 'CaBankAccountDetails' } & CaBankAccountDetails | { type: 'NzBankAccountDetails' } & NzBankAccountDetails | { type: 'SeBankAccountDetails' } & SeBankAccountDetails | { type: 'SepaBankAccountDetails' } & SepaBankAccountDetails | { type: 'UkBankAccountDetails' } & UkBankAccountDetails | { type: 'UsBankAccountDetails' } & UsBankAccountDetails;
|
|
71
|
-
|
|
72
|
-
export function AccountBankAccountDtoDetailsFromJSON(json: any): AccountBankAccountDtoDetails {
|
|
73
|
-
return AccountBankAccountDtoDetailsFromJSONTyped(json, false);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export function AccountBankAccountDtoDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountBankAccountDtoDetails {
|
|
77
|
-
if (json == null) {
|
|
78
|
-
return json;
|
|
79
|
-
}
|
|
80
|
-
switch (json['type']) {
|
|
81
|
-
case 'AuBankAccountDetails':
|
|
82
|
-
return Object.assign({}, AuBankAccountDetailsFromJSONTyped(json, true), { type: 'AuBankAccountDetails' } as const);
|
|
83
|
-
case 'CaBankAccountDetails':
|
|
84
|
-
return Object.assign({}, CaBankAccountDetailsFromJSONTyped(json, true), { type: 'CaBankAccountDetails' } as const);
|
|
85
|
-
case 'NzBankAccountDetails':
|
|
86
|
-
return Object.assign({}, NzBankAccountDetailsFromJSONTyped(json, true), { type: 'NzBankAccountDetails' } as const);
|
|
87
|
-
case 'SeBankAccountDetails':
|
|
88
|
-
return Object.assign({}, SeBankAccountDetailsFromJSONTyped(json, true), { type: 'SeBankAccountDetails' } as const);
|
|
89
|
-
case 'SepaBankAccountDetails':
|
|
90
|
-
return Object.assign({}, SepaBankAccountDetailsFromJSONTyped(json, true), { type: 'SepaBankAccountDetails' } as const);
|
|
91
|
-
case 'UkBankAccountDetails':
|
|
92
|
-
return Object.assign({}, UkBankAccountDetailsFromJSONTyped(json, true), { type: 'UkBankAccountDetails' } as const);
|
|
93
|
-
case 'UsBankAccountDetails':
|
|
94
|
-
return Object.assign({}, UsBankAccountDetailsFromJSONTyped(json, true), { type: 'UsBankAccountDetails' } as const);
|
|
95
|
-
default:
|
|
96
|
-
throw new Error(`No variant of AccountBankAccountDtoDetails exists with 'type=${json['type']}'`);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export function AccountBankAccountDtoDetailsToJSON(json: any): any {
|
|
101
|
-
return AccountBankAccountDtoDetailsToJSONTyped(json, false);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export function AccountBankAccountDtoDetailsToJSONTyped(value?: AccountBankAccountDtoDetails | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
-
if (value == null) {
|
|
106
|
-
return value;
|
|
107
|
-
}
|
|
108
|
-
switch (value['type']) {
|
|
109
|
-
case 'AuBankAccountDetails':
|
|
110
|
-
return Object.assign({}, AuBankAccountDetailsToJSON(value), { type: 'AuBankAccountDetails' } as const);
|
|
111
|
-
case 'CaBankAccountDetails':
|
|
112
|
-
return Object.assign({}, CaBankAccountDetailsToJSON(value), { type: 'CaBankAccountDetails' } as const);
|
|
113
|
-
case 'NzBankAccountDetails':
|
|
114
|
-
return Object.assign({}, NzBankAccountDetailsToJSON(value), { type: 'NzBankAccountDetails' } as const);
|
|
115
|
-
case 'SeBankAccountDetails':
|
|
116
|
-
return Object.assign({}, SeBankAccountDetailsToJSON(value), { type: 'SeBankAccountDetails' } as const);
|
|
117
|
-
case 'SepaBankAccountDetails':
|
|
118
|
-
return Object.assign({}, SepaBankAccountDetailsToJSON(value), { type: 'SepaBankAccountDetails' } as const);
|
|
119
|
-
case 'UkBankAccountDetails':
|
|
120
|
-
return Object.assign({}, UkBankAccountDetailsToJSON(value), { type: 'UkBankAccountDetails' } as const);
|
|
121
|
-
case 'UsBankAccountDetails':
|
|
122
|
-
return Object.assign({}, UsBankAccountDetailsToJSON(value), { type: 'UsBankAccountDetails' } as const);
|
|
123
|
-
default:
|
|
124
|
-
throw new Error(`No variant of AccountBankAccountDtoDetails exists with 'type=${value['type']}'`);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
|
|
@@ -1,109 +0,0 @@
|
|
|
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 AuBankAccountDetails
|
|
20
|
-
*/
|
|
21
|
-
export interface AuBankAccountDetails {
|
|
22
|
-
/**
|
|
23
|
-
* Discriminator identifying the bank account details schema.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof AuBankAccountDetails
|
|
26
|
-
*/
|
|
27
|
-
type: AuBankAccountDetailsTypeEnum;
|
|
28
|
-
/**
|
|
29
|
-
* ISO country code (AU).
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AuBankAccountDetails
|
|
32
|
-
*/
|
|
33
|
-
countryCode: string;
|
|
34
|
-
/**
|
|
35
|
-
* Australian account number.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AuBankAccountDetails
|
|
38
|
-
*/
|
|
39
|
-
accountNumber: string;
|
|
40
|
-
/**
|
|
41
|
-
* Australian BSB (Bank-State-Branch) code.
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof AuBankAccountDetails
|
|
44
|
-
*/
|
|
45
|
-
bsb: string;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @export
|
|
51
|
-
*/
|
|
52
|
-
export const AuBankAccountDetailsTypeEnum = {
|
|
53
|
-
UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
|
|
54
|
-
US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
|
|
55
|
-
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
56
|
-
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
57
|
-
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
58
|
-
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
59
|
-
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
60
|
-
} as const;
|
|
61
|
-
export type AuBankAccountDetailsTypeEnum = typeof AuBankAccountDetailsTypeEnum[keyof typeof AuBankAccountDetailsTypeEnum];
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Check if a given object implements the AuBankAccountDetails interface.
|
|
66
|
-
*/
|
|
67
|
-
export function instanceOfAuBankAccountDetails(value: object): value is AuBankAccountDetails {
|
|
68
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
69
|
-
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
70
|
-
if (!('accountNumber' in value) || value['accountNumber'] === undefined) return false;
|
|
71
|
-
if (!('bsb' in value) || value['bsb'] === undefined) return false;
|
|
72
|
-
return true;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function AuBankAccountDetailsFromJSON(json: any): AuBankAccountDetails {
|
|
76
|
-
return AuBankAccountDetailsFromJSONTyped(json, false);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function AuBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuBankAccountDetails {
|
|
80
|
-
if (json == null) {
|
|
81
|
-
return json;
|
|
82
|
-
}
|
|
83
|
-
return {
|
|
84
|
-
|
|
85
|
-
'type': json['type'],
|
|
86
|
-
'countryCode': json['countryCode'],
|
|
87
|
-
'accountNumber': json['accountNumber'],
|
|
88
|
-
'bsb': json['bsb'],
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export function AuBankAccountDetailsToJSON(json: any): AuBankAccountDetails {
|
|
93
|
-
return AuBankAccountDetailsToJSONTyped(json, false);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export function AuBankAccountDetailsToJSONTyped(value?: AuBankAccountDetails | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
-
if (value == null) {
|
|
98
|
-
return value;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
return {
|
|
102
|
-
|
|
103
|
-
'type': value['type'],
|
|
104
|
-
'countryCode': value['countryCode'],
|
|
105
|
-
'accountNumber': value['accountNumber'],
|
|
106
|
-
'bsb': value['bsb'],
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
|
|
@@ -1,118 +0,0 @@
|
|
|
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 CaBankAccountDetails
|
|
20
|
-
*/
|
|
21
|
-
export interface CaBankAccountDetails {
|
|
22
|
-
/**
|
|
23
|
-
* Discriminator identifying the bank account details schema.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CaBankAccountDetails
|
|
26
|
-
*/
|
|
27
|
-
type: CaBankAccountDetailsTypeEnum;
|
|
28
|
-
/**
|
|
29
|
-
* ISO country code (CA).
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof CaBankAccountDetails
|
|
32
|
-
*/
|
|
33
|
-
countryCode: string;
|
|
34
|
-
/**
|
|
35
|
-
* Canadian financial institution number.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof CaBankAccountDetails
|
|
38
|
-
*/
|
|
39
|
-
financialInstitutionNumber: string;
|
|
40
|
-
/**
|
|
41
|
-
* Canadian transit number.
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof CaBankAccountDetails
|
|
44
|
-
*/
|
|
45
|
-
transitNumber: string;
|
|
46
|
-
/**
|
|
47
|
-
* Canadian account number.
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof CaBankAccountDetails
|
|
50
|
-
*/
|
|
51
|
-
accountNumber: string;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export const CaBankAccountDetailsTypeEnum = {
|
|
59
|
-
UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
|
|
60
|
-
US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
|
|
61
|
-
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
62
|
-
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
63
|
-
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
64
|
-
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
65
|
-
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
66
|
-
} as const;
|
|
67
|
-
export type CaBankAccountDetailsTypeEnum = typeof CaBankAccountDetailsTypeEnum[keyof typeof CaBankAccountDetailsTypeEnum];
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Check if a given object implements the CaBankAccountDetails interface.
|
|
72
|
-
*/
|
|
73
|
-
export function instanceOfCaBankAccountDetails(value: object): value is CaBankAccountDetails {
|
|
74
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
75
|
-
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
76
|
-
if (!('financialInstitutionNumber' in value) || value['financialInstitutionNumber'] === undefined) return false;
|
|
77
|
-
if (!('transitNumber' in value) || value['transitNumber'] === undefined) return false;
|
|
78
|
-
if (!('accountNumber' in value) || value['accountNumber'] === undefined) return false;
|
|
79
|
-
return true;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export function CaBankAccountDetailsFromJSON(json: any): CaBankAccountDetails {
|
|
83
|
-
return CaBankAccountDetailsFromJSONTyped(json, false);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export function CaBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaBankAccountDetails {
|
|
87
|
-
if (json == null) {
|
|
88
|
-
return json;
|
|
89
|
-
}
|
|
90
|
-
return {
|
|
91
|
-
|
|
92
|
-
'type': json['type'],
|
|
93
|
-
'countryCode': json['countryCode'],
|
|
94
|
-
'financialInstitutionNumber': json['financialInstitutionNumber'],
|
|
95
|
-
'transitNumber': json['transitNumber'],
|
|
96
|
-
'accountNumber': json['accountNumber'],
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export function CaBankAccountDetailsToJSON(json: any): CaBankAccountDetails {
|
|
101
|
-
return CaBankAccountDetailsToJSONTyped(json, false);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export function CaBankAccountDetailsToJSONTyped(value?: CaBankAccountDetails | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
-
if (value == null) {
|
|
106
|
-
return value;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
return {
|
|
110
|
-
|
|
111
|
-
'type': value['type'],
|
|
112
|
-
'countryCode': value['countryCode'],
|
|
113
|
-
'financialInstitutionNumber': value['financialInstitutionNumber'],
|
|
114
|
-
'transitNumber': value['transitNumber'],
|
|
115
|
-
'accountNumber': value['accountNumber'],
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
|
|
@@ -1,100 +0,0 @@
|
|
|
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 NzBankAccountDetails
|
|
20
|
-
*/
|
|
21
|
-
export interface NzBankAccountDetails {
|
|
22
|
-
/**
|
|
23
|
-
* Discriminator identifying the bank account details schema.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof NzBankAccountDetails
|
|
26
|
-
*/
|
|
27
|
-
type: NzBankAccountDetailsTypeEnum;
|
|
28
|
-
/**
|
|
29
|
-
* ISO country code (NZ).
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof NzBankAccountDetails
|
|
32
|
-
*/
|
|
33
|
-
countryCode: string;
|
|
34
|
-
/**
|
|
35
|
-
* New Zealand account number.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof NzBankAccountDetails
|
|
38
|
-
*/
|
|
39
|
-
accountNumber: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export const NzBankAccountDetailsTypeEnum = {
|
|
47
|
-
UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
|
|
48
|
-
US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
|
|
49
|
-
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
50
|
-
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
51
|
-
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
52
|
-
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
53
|
-
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
54
|
-
} as const;
|
|
55
|
-
export type NzBankAccountDetailsTypeEnum = typeof NzBankAccountDetailsTypeEnum[keyof typeof NzBankAccountDetailsTypeEnum];
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Check if a given object implements the NzBankAccountDetails interface.
|
|
60
|
-
*/
|
|
61
|
-
export function instanceOfNzBankAccountDetails(value: object): value is NzBankAccountDetails {
|
|
62
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
63
|
-
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
64
|
-
if (!('accountNumber' in value) || value['accountNumber'] === undefined) return false;
|
|
65
|
-
return true;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function NzBankAccountDetailsFromJSON(json: any): NzBankAccountDetails {
|
|
69
|
-
return NzBankAccountDetailsFromJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function NzBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): NzBankAccountDetails {
|
|
73
|
-
if (json == null) {
|
|
74
|
-
return json;
|
|
75
|
-
}
|
|
76
|
-
return {
|
|
77
|
-
|
|
78
|
-
'type': json['type'],
|
|
79
|
-
'countryCode': json['countryCode'],
|
|
80
|
-
'accountNumber': json['accountNumber'],
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function NzBankAccountDetailsToJSON(json: any): NzBankAccountDetails {
|
|
85
|
-
return NzBankAccountDetailsToJSONTyped(json, false);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function NzBankAccountDetailsToJSONTyped(value?: NzBankAccountDetails | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
-
if (value == null) {
|
|
90
|
-
return value;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
return {
|
|
94
|
-
|
|
95
|
-
'type': value['type'],
|
|
96
|
-
'countryCode': value['countryCode'],
|
|
97
|
-
'accountNumber': value['accountNumber'],
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
|
|
@@ -1,127 +0,0 @@
|
|
|
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 SeBankAccountDetails
|
|
20
|
-
*/
|
|
21
|
-
export interface SeBankAccountDetails {
|
|
22
|
-
/**
|
|
23
|
-
* Discriminator identifying the bank account details schema.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SeBankAccountDetails
|
|
26
|
-
*/
|
|
27
|
-
type: SeBankAccountDetailsTypeEnum;
|
|
28
|
-
/**
|
|
29
|
-
* ISO country code (SE).
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof SeBankAccountDetails
|
|
32
|
-
*/
|
|
33
|
-
countryCode: string;
|
|
34
|
-
/**
|
|
35
|
-
* Swedish bank code.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof SeBankAccountDetails
|
|
38
|
-
*/
|
|
39
|
-
bankCode: string;
|
|
40
|
-
/**
|
|
41
|
-
* Swedish account number.
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof SeBankAccountDetails
|
|
44
|
-
*/
|
|
45
|
-
accountNumber: string;
|
|
46
|
-
/**
|
|
47
|
-
* International Bank Account Number (IBAN).
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof SeBankAccountDetails
|
|
50
|
-
*/
|
|
51
|
-
iban: string;
|
|
52
|
-
/**
|
|
53
|
-
* Bank Identifier Code (BIC/SWIFT).
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof SeBankAccountDetails
|
|
56
|
-
*/
|
|
57
|
-
bic: string;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @export
|
|
63
|
-
*/
|
|
64
|
-
export const SeBankAccountDetailsTypeEnum = {
|
|
65
|
-
UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
|
|
66
|
-
US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
|
|
67
|
-
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
68
|
-
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
69
|
-
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
70
|
-
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
71
|
-
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
72
|
-
} as const;
|
|
73
|
-
export type SeBankAccountDetailsTypeEnum = typeof SeBankAccountDetailsTypeEnum[keyof typeof SeBankAccountDetailsTypeEnum];
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Check if a given object implements the SeBankAccountDetails interface.
|
|
78
|
-
*/
|
|
79
|
-
export function instanceOfSeBankAccountDetails(value: object): value is SeBankAccountDetails {
|
|
80
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
81
|
-
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
82
|
-
if (!('bankCode' in value) || value['bankCode'] === undefined) return false;
|
|
83
|
-
if (!('accountNumber' in value) || value['accountNumber'] === undefined) return false;
|
|
84
|
-
if (!('iban' in value) || value['iban'] === undefined) return false;
|
|
85
|
-
if (!('bic' in value) || value['bic'] === undefined) return false;
|
|
86
|
-
return true;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export function SeBankAccountDetailsFromJSON(json: any): SeBankAccountDetails {
|
|
90
|
-
return SeBankAccountDetailsFromJSONTyped(json, false);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export function SeBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeBankAccountDetails {
|
|
94
|
-
if (json == null) {
|
|
95
|
-
return json;
|
|
96
|
-
}
|
|
97
|
-
return {
|
|
98
|
-
|
|
99
|
-
'type': json['type'],
|
|
100
|
-
'countryCode': json['countryCode'],
|
|
101
|
-
'bankCode': json['bankCode'],
|
|
102
|
-
'accountNumber': json['accountNumber'],
|
|
103
|
-
'iban': json['iban'],
|
|
104
|
-
'bic': json['bic'],
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export function SeBankAccountDetailsToJSON(json: any): SeBankAccountDetails {
|
|
109
|
-
return SeBankAccountDetailsToJSONTyped(json, false);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export function SeBankAccountDetailsToJSONTyped(value?: SeBankAccountDetails | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
-
if (value == null) {
|
|
114
|
-
return value;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
return {
|
|
118
|
-
|
|
119
|
-
'type': value['type'],
|
|
120
|
-
'countryCode': value['countryCode'],
|
|
121
|
-
'bankCode': value['bankCode'],
|
|
122
|
-
'accountNumber': value['accountNumber'],
|
|
123
|
-
'iban': value['iban'],
|
|
124
|
-
'bic': value['bic'],
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
|
|
@@ -1,109 +0,0 @@
|
|
|
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 SepaBankAccountDetails
|
|
20
|
-
*/
|
|
21
|
-
export interface SepaBankAccountDetails {
|
|
22
|
-
/**
|
|
23
|
-
* Discriminator identifying the bank account details schema.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SepaBankAccountDetails
|
|
26
|
-
*/
|
|
27
|
-
type: SepaBankAccountDetailsTypeEnum;
|
|
28
|
-
/**
|
|
29
|
-
* ISO country code for the SEPA account.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof SepaBankAccountDetails
|
|
32
|
-
*/
|
|
33
|
-
countryCode: string;
|
|
34
|
-
/**
|
|
35
|
-
* Bank Identifier Code (BIC/SWIFT).
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof SepaBankAccountDetails
|
|
38
|
-
*/
|
|
39
|
-
bic: string;
|
|
40
|
-
/**
|
|
41
|
-
* International Bank Account Number (IBAN).
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof SepaBankAccountDetails
|
|
44
|
-
*/
|
|
45
|
-
iban: string;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @export
|
|
51
|
-
*/
|
|
52
|
-
export const SepaBankAccountDetailsTypeEnum = {
|
|
53
|
-
UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
|
|
54
|
-
US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
|
|
55
|
-
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
56
|
-
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
57
|
-
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
58
|
-
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
59
|
-
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
60
|
-
} as const;
|
|
61
|
-
export type SepaBankAccountDetailsTypeEnum = typeof SepaBankAccountDetailsTypeEnum[keyof typeof SepaBankAccountDetailsTypeEnum];
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Check if a given object implements the SepaBankAccountDetails interface.
|
|
66
|
-
*/
|
|
67
|
-
export function instanceOfSepaBankAccountDetails(value: object): value is SepaBankAccountDetails {
|
|
68
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
69
|
-
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
70
|
-
if (!('bic' in value) || value['bic'] === undefined) return false;
|
|
71
|
-
if (!('iban' in value) || value['iban'] === undefined) return false;
|
|
72
|
-
return true;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function SepaBankAccountDetailsFromJSON(json: any): SepaBankAccountDetails {
|
|
76
|
-
return SepaBankAccountDetailsFromJSONTyped(json, false);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function SepaBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SepaBankAccountDetails {
|
|
80
|
-
if (json == null) {
|
|
81
|
-
return json;
|
|
82
|
-
}
|
|
83
|
-
return {
|
|
84
|
-
|
|
85
|
-
'type': json['type'],
|
|
86
|
-
'countryCode': json['countryCode'],
|
|
87
|
-
'bic': json['bic'],
|
|
88
|
-
'iban': json['iban'],
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export function SepaBankAccountDetailsToJSON(json: any): SepaBankAccountDetails {
|
|
93
|
-
return SepaBankAccountDetailsToJSONTyped(json, false);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export function SepaBankAccountDetailsToJSONTyped(value?: SepaBankAccountDetails | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
-
if (value == null) {
|
|
98
|
-
return value;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
return {
|
|
102
|
-
|
|
103
|
-
'type': value['type'],
|
|
104
|
-
'countryCode': value['countryCode'],
|
|
105
|
-
'bic': value['bic'],
|
|
106
|
-
'iban': value['iban'],
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
|