@randock/nameshift-api-client 0.0.492 → 0.0.494
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 +29 -1
- package/dist/apis/AdminApi.js +76 -1
- 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/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/LandingDesignAccountDto.d.ts +44 -0
- package/dist/models/LandingDesignAccountDto.js +59 -0
- package/dist/models/LandingDesignUsageDto.d.ts +6 -0
- package/dist/models/LandingDesignUsageDto.js +4 -0
- package/dist/models/ListAdminLandingDesignAccounts200Response.d.ts +47 -0
- package/dist/models/ListAdminLandingDesignAccounts200Response.js +62 -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 +79 -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/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/LandingDesignAccountDto.ts +84 -0
- package/src/models/LandingDesignUsageDto.ts +9 -0
- package/src/models/ListAdminLandingDesignAccounts200Response.ts +106 -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
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* 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.
|
|
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
|
+
import type { BankAccountFormatCountryDto } from './BankAccountFormatCountryDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BankAccountFormatsDto
|
|
17
|
+
*/
|
|
18
|
+
export interface BankAccountFormatsDto {
|
|
19
|
+
/**
|
|
20
|
+
* Bank countries we pay out to, by country code.
|
|
21
|
+
* @type {Array<BankAccountFormatCountryDto>}
|
|
22
|
+
* @memberof BankAccountFormatsDto
|
|
23
|
+
*/
|
|
24
|
+
countries: Array<BankAccountFormatCountryDto>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the BankAccountFormatsDto interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfBankAccountFormatsDto(value: object): value is BankAccountFormatsDto;
|
|
30
|
+
export declare function BankAccountFormatsDtoFromJSON(json: any): BankAccountFormatsDto;
|
|
31
|
+
export declare function BankAccountFormatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BankAccountFormatsDto;
|
|
32
|
+
export declare function BankAccountFormatsDtoToJSON(json: any): BankAccountFormatsDto;
|
|
33
|
+
export declare function BankAccountFormatsDtoToJSONTyped(value?: BankAccountFormatsDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
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.instanceOfBankAccountFormatsDto = instanceOfBankAccountFormatsDto;
|
|
17
|
+
exports.BankAccountFormatsDtoFromJSON = BankAccountFormatsDtoFromJSON;
|
|
18
|
+
exports.BankAccountFormatsDtoFromJSONTyped = BankAccountFormatsDtoFromJSONTyped;
|
|
19
|
+
exports.BankAccountFormatsDtoToJSON = BankAccountFormatsDtoToJSON;
|
|
20
|
+
exports.BankAccountFormatsDtoToJSONTyped = BankAccountFormatsDtoToJSONTyped;
|
|
21
|
+
var BankAccountFormatCountryDto_1 = require("./BankAccountFormatCountryDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the BankAccountFormatsDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfBankAccountFormatsDto(value) {
|
|
26
|
+
if (!('countries' in value) || value['countries'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function BankAccountFormatsDtoFromJSON(json) {
|
|
31
|
+
return BankAccountFormatsDtoFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function BankAccountFormatsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'countries': (json['countries'].map(BankAccountFormatCountryDto_1.BankAccountFormatCountryDtoFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function BankAccountFormatsDtoToJSON(json) {
|
|
42
|
+
return BankAccountFormatsDtoToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function BankAccountFormatsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'countries': (value['countries'].map(BankAccountFormatCountryDto_1.BankAccountFormatCountryDtoToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* 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.
|
|
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 CreateBankAccountDetailsInput
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateBankAccountDetailsInput {
|
|
18
|
+
/**
|
|
19
|
+
* ISO 3166-1 alpha-2 code of the country the bank account is held in.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateBankAccountDetailsInput
|
|
22
|
+
*/
|
|
23
|
+
countryCode: string;
|
|
24
|
+
/**
|
|
25
|
+
* The bank details by the path the bank account format lists, e.g. `bank_details.account_number`. Details the format doesn't ask for are ignored.
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
27
|
+
* @memberof CreateBankAccountDetailsInput
|
|
28
|
+
*/
|
|
29
|
+
fields: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the CreateBankAccountDetailsInput interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfCreateBankAccountDetailsInput(value: object): value is CreateBankAccountDetailsInput;
|
|
37
|
+
export declare function CreateBankAccountDetailsInputFromJSON(json: any): CreateBankAccountDetailsInput;
|
|
38
|
+
export declare function CreateBankAccountDetailsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBankAccountDetailsInput;
|
|
39
|
+
export declare function CreateBankAccountDetailsInputToJSON(json: any): CreateBankAccountDetailsInput;
|
|
40
|
+
export declare function CreateBankAccountDetailsInputToJSONTyped(value?: CreateBankAccountDetailsInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
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.instanceOfCreateBankAccountDetailsInput = instanceOfCreateBankAccountDetailsInput;
|
|
17
|
+
exports.CreateBankAccountDetailsInputFromJSON = CreateBankAccountDetailsInputFromJSON;
|
|
18
|
+
exports.CreateBankAccountDetailsInputFromJSONTyped = CreateBankAccountDetailsInputFromJSONTyped;
|
|
19
|
+
exports.CreateBankAccountDetailsInputToJSON = CreateBankAccountDetailsInputToJSON;
|
|
20
|
+
exports.CreateBankAccountDetailsInputToJSONTyped = CreateBankAccountDetailsInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateBankAccountDetailsInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateBankAccountDetailsInput(value) {
|
|
25
|
+
if (!('countryCode' in value) || value['countryCode'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('fields' in value) || value['fields'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CreateBankAccountDetailsInputFromJSON(json) {
|
|
32
|
+
return CreateBankAccountDetailsInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CreateBankAccountDetailsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'countryCode': json['countryCode'],
|
|
40
|
+
'fields': json['fields'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CreateBankAccountDetailsInputToJSON(json) {
|
|
44
|
+
return CreateBankAccountDetailsInputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CreateBankAccountDetailsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'countryCode': value['countryCode'],
|
|
53
|
+
'fields': value['fields'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CreateBankAccountDetailsInput } from './CreateBankAccountDetailsInput';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -16,17 +17,17 @@
|
|
|
16
17
|
*/
|
|
17
18
|
export interface CreateBankAccountInput {
|
|
18
19
|
/**
|
|
19
|
-
* ISO 4217 currency code
|
|
20
|
+
* ISO 4217 currency code of the bank account.
|
|
20
21
|
* @type {string}
|
|
21
22
|
* @memberof CreateBankAccountInput
|
|
22
23
|
*/
|
|
23
24
|
currencyCode: string;
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
26
|
+
* The bank country and the bank details its format asks for.
|
|
27
|
+
* @type {CreateBankAccountDetailsInput}
|
|
27
28
|
* @memberof CreateBankAccountInput
|
|
28
29
|
*/
|
|
29
|
-
details:
|
|
30
|
+
details: CreateBankAccountDetailsInput;
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
33
|
* Check if a given object implements the CreateBankAccountInput interface.
|
|
@@ -18,6 +18,7 @@ exports.CreateBankAccountInputFromJSON = CreateBankAccountInputFromJSON;
|
|
|
18
18
|
exports.CreateBankAccountInputFromJSONTyped = CreateBankAccountInputFromJSONTyped;
|
|
19
19
|
exports.CreateBankAccountInputToJSON = CreateBankAccountInputToJSON;
|
|
20
20
|
exports.CreateBankAccountInputToJSONTyped = CreateBankAccountInputToJSONTyped;
|
|
21
|
+
var CreateBankAccountDetailsInput_1 = require("./CreateBankAccountDetailsInput");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the CreateBankAccountInput interface.
|
|
23
24
|
*/
|
|
@@ -37,7 +38,7 @@ function CreateBankAccountInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
}
|
|
38
39
|
return {
|
|
39
40
|
'currencyCode': json['currencyCode'],
|
|
40
|
-
'details': json['details'],
|
|
41
|
+
'details': (0, CreateBankAccountDetailsInput_1.CreateBankAccountDetailsInputFromJSON)(json['details']),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
function CreateBankAccountInputToJSON(json) {
|
|
@@ -50,6 +51,6 @@ function CreateBankAccountInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
50
51
|
}
|
|
51
52
|
return {
|
|
52
53
|
'currencyCode': value['currencyCode'],
|
|
53
|
-
'details': value['details'],
|
|
54
|
+
'details': (0, CreateBankAccountDetailsInput_1.CreateBankAccountDetailsInputToJSON)(value['details']),
|
|
54
55
|
};
|
|
55
56
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* 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.
|
|
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 LandingDesignAccountDto
|
|
16
|
+
*/
|
|
17
|
+
export interface LandingDesignAccountDto {
|
|
18
|
+
/**
|
|
19
|
+
* Account id
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LandingDesignAccountDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Account identifier
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LandingDesignAccountDto
|
|
28
|
+
*/
|
|
29
|
+
identifier: string;
|
|
30
|
+
/**
|
|
31
|
+
* Account name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LandingDesignAccountDto
|
|
34
|
+
*/
|
|
35
|
+
name: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the LandingDesignAccountDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfLandingDesignAccountDto(value: object): value is LandingDesignAccountDto;
|
|
41
|
+
export declare function LandingDesignAccountDtoFromJSON(json: any): LandingDesignAccountDto;
|
|
42
|
+
export declare function LandingDesignAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LandingDesignAccountDto;
|
|
43
|
+
export declare function LandingDesignAccountDtoToJSON(json: any): LandingDesignAccountDto;
|
|
44
|
+
export declare function LandingDesignAccountDtoToJSONTyped(value?: LandingDesignAccountDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
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.instanceOfLandingDesignAccountDto = instanceOfLandingDesignAccountDto;
|
|
17
|
+
exports.LandingDesignAccountDtoFromJSON = LandingDesignAccountDtoFromJSON;
|
|
18
|
+
exports.LandingDesignAccountDtoFromJSONTyped = LandingDesignAccountDtoFromJSONTyped;
|
|
19
|
+
exports.LandingDesignAccountDtoToJSON = LandingDesignAccountDtoToJSON;
|
|
20
|
+
exports.LandingDesignAccountDtoToJSONTyped = LandingDesignAccountDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LandingDesignAccountDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLandingDesignAccountDto(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function LandingDesignAccountDtoFromJSON(json) {
|
|
34
|
+
return LandingDesignAccountDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function LandingDesignAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'identifier': json['identifier'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function LandingDesignAccountDtoToJSON(json) {
|
|
47
|
+
return LandingDesignAccountDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function LandingDesignAccountDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'identifier': value['identifier'],
|
|
57
|
+
'name': value['name'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -27,6 +27,12 @@ export interface LandingDesignUsageDto {
|
|
|
27
27
|
* @memberof LandingDesignUsageDto
|
|
28
28
|
*/
|
|
29
29
|
domains: number;
|
|
30
|
+
/**
|
|
31
|
+
* Number of live accounts with at least one live domain whose effective design is this design. An account with domains in several designs counts in each of them
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof LandingDesignUsageDto
|
|
34
|
+
*/
|
|
35
|
+
accounts: number;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* @export
|
|
@@ -35,6 +35,8 @@ function instanceOfLandingDesignUsageDto(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('domains' in value) || value['domains'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('accounts' in value) || value['accounts'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
40
42
|
function LandingDesignUsageDtoFromJSON(json) {
|
|
@@ -47,6 +49,7 @@ function LandingDesignUsageDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
49
|
return {
|
|
48
50
|
'design': json['design'],
|
|
49
51
|
'domains': json['domains'],
|
|
52
|
+
'accounts': json['accounts'],
|
|
50
53
|
};
|
|
51
54
|
}
|
|
52
55
|
function LandingDesignUsageDtoToJSON(json) {
|
|
@@ -60,5 +63,6 @@ function LandingDesignUsageDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
60
63
|
return {
|
|
61
64
|
'design': value['design'],
|
|
62
65
|
'domains': value['domains'],
|
|
66
|
+
'accounts': value['accounts'],
|
|
63
67
|
};
|
|
64
68
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* 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.
|
|
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
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
+
import type { LandingDesignAccountDto } from './LandingDesignAccountDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ListAdminLandingDesignAccounts200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface ListAdminLandingDesignAccounts200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<LandingDesignAccountDto>}
|
|
24
|
+
* @memberof ListAdminLandingDesignAccounts200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<LandingDesignAccountDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof ListAdminLandingDesignAccounts200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof ListAdminLandingDesignAccounts200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ListAdminLandingDesignAccounts200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfListAdminLandingDesignAccounts200Response(value: object): value is ListAdminLandingDesignAccounts200Response;
|
|
44
|
+
export declare function ListAdminLandingDesignAccounts200ResponseFromJSON(json: any): ListAdminLandingDesignAccounts200Response;
|
|
45
|
+
export declare function ListAdminLandingDesignAccounts200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAdminLandingDesignAccounts200Response;
|
|
46
|
+
export declare function ListAdminLandingDesignAccounts200ResponseToJSON(json: any): ListAdminLandingDesignAccounts200Response;
|
|
47
|
+
export declare function ListAdminLandingDesignAccounts200ResponseToJSONTyped(value?: ListAdminLandingDesignAccounts200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
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.instanceOfListAdminLandingDesignAccounts200Response = instanceOfListAdminLandingDesignAccounts200Response;
|
|
17
|
+
exports.ListAdminLandingDesignAccounts200ResponseFromJSON = ListAdminLandingDesignAccounts200ResponseFromJSON;
|
|
18
|
+
exports.ListAdminLandingDesignAccounts200ResponseFromJSONTyped = ListAdminLandingDesignAccounts200ResponseFromJSONTyped;
|
|
19
|
+
exports.ListAdminLandingDesignAccounts200ResponseToJSON = ListAdminLandingDesignAccounts200ResponseToJSON;
|
|
20
|
+
exports.ListAdminLandingDesignAccounts200ResponseToJSONTyped = ListAdminLandingDesignAccounts200ResponseToJSONTyped;
|
|
21
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
+
var LandingDesignAccountDto_1 = require("./LandingDesignAccountDto");
|
|
23
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ListAdminLandingDesignAccounts200Response interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfListAdminLandingDesignAccounts200Response(value) {
|
|
28
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('links' in value) || value['links'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function ListAdminLandingDesignAccounts200ResponseFromJSON(json) {
|
|
37
|
+
return ListAdminLandingDesignAccounts200ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ListAdminLandingDesignAccounts200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (json['data'].map(LandingDesignAccountDto_1.LandingDesignAccountDtoFromJSON)),
|
|
45
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function ListAdminLandingDesignAccounts200ResponseToJSON(json) {
|
|
50
|
+
return ListAdminLandingDesignAccounts200ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ListAdminLandingDesignAccounts200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'data': (value['data'].map(LandingDesignAccountDto_1.LandingDesignAccountDtoToJSON)),
|
|
59
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* 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.
|
|
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 SearchBankAccountInstitutionsInput
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchBankAccountInstitutionsInput {
|
|
18
|
+
/**
|
|
19
|
+
* The LOOKUP field to search for, as its format lists it, e.g. `bank_details.account_routing_value2`.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SearchBankAccountInstitutionsInput
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
* What the seller typed so far.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SearchBankAccountInstitutionsInput
|
|
28
|
+
*/
|
|
29
|
+
keyword?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The other fields filled in so far, by path: searching Japanese branches needs the chosen bank.
|
|
32
|
+
* @type {{ [key: string]: string; }}
|
|
33
|
+
* @memberof SearchBankAccountInstitutionsInput
|
|
34
|
+
*/
|
|
35
|
+
fields?: {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the SearchBankAccountInstitutionsInput interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfSearchBankAccountInstitutionsInput(value: object): value is SearchBankAccountInstitutionsInput;
|
|
43
|
+
export declare function SearchBankAccountInstitutionsInputFromJSON(json: any): SearchBankAccountInstitutionsInput;
|
|
44
|
+
export declare function SearchBankAccountInstitutionsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchBankAccountInstitutionsInput;
|
|
45
|
+
export declare function SearchBankAccountInstitutionsInputToJSON(json: any): SearchBankAccountInstitutionsInput;
|
|
46
|
+
export declare function SearchBankAccountInstitutionsInputToJSONTyped(value?: SearchBankAccountInstitutionsInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
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.instanceOfSearchBankAccountInstitutionsInput = instanceOfSearchBankAccountInstitutionsInput;
|
|
17
|
+
exports.SearchBankAccountInstitutionsInputFromJSON = SearchBankAccountInstitutionsInputFromJSON;
|
|
18
|
+
exports.SearchBankAccountInstitutionsInputFromJSONTyped = SearchBankAccountInstitutionsInputFromJSONTyped;
|
|
19
|
+
exports.SearchBankAccountInstitutionsInputToJSON = SearchBankAccountInstitutionsInputToJSON;
|
|
20
|
+
exports.SearchBankAccountInstitutionsInputToJSONTyped = SearchBankAccountInstitutionsInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SearchBankAccountInstitutionsInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSearchBankAccountInstitutionsInput(value) {
|
|
25
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function SearchBankAccountInstitutionsInputFromJSON(json) {
|
|
30
|
+
return SearchBankAccountInstitutionsInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function SearchBankAccountInstitutionsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'path': json['path'],
|
|
38
|
+
'keyword': json['keyword'] == null ? undefined : json['keyword'],
|
|
39
|
+
'fields': json['fields'] == null ? undefined : json['fields'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function SearchBankAccountInstitutionsInputToJSON(json) {
|
|
43
|
+
return SearchBankAccountInstitutionsInputToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function SearchBankAccountInstitutionsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'path': value['path'],
|
|
52
|
+
'keyword': value['keyword'],
|
|
53
|
+
'fields': value['fields'],
|
|
54
|
+
};
|
|
55
|
+
}
|