@randock/nameshift-api-client 0.0.492 → 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.
Files changed (66) hide show
  1. package/.openapi-generator/FILES +9 -8
  2. package/README.md +3 -3
  3. package/dist/apis/BankAccountsApi.d.ts +40 -1
  4. package/dist/apis/BankAccountsApi.js +197 -0
  5. package/dist/models/AccountBankAccountDetailsDto.d.ts +40 -0
  6. package/dist/models/AccountBankAccountDetailsDto.js +55 -0
  7. package/dist/models/AccountBankAccountDto.d.ts +10 -4
  8. package/dist/models/AccountBankAccountDto.js +7 -3
  9. package/dist/models/BankAccountFormatCountryDto.d.ts +38 -0
  10. package/dist/models/BankAccountFormatCountryDto.js +55 -0
  11. package/dist/models/BankAccountFormatDto.d.ts +45 -0
  12. package/dist/models/BankAccountFormatDto.js +60 -0
  13. package/dist/models/BankAccountFormatFieldDto.d.ts +76 -0
  14. package/dist/models/BankAccountFormatFieldDto.js +81 -0
  15. package/dist/models/BankAccountFormatFieldOptionDto.d.ts +38 -0
  16. package/dist/models/BankAccountFormatFieldOptionDto.js +55 -0
  17. package/dist/models/BankAccountFormatFieldType.d.ts +26 -0
  18. package/dist/models/BankAccountFormatFieldType.js +52 -0
  19. package/dist/models/BankAccountFormatsDto.d.ts +33 -0
  20. package/dist/models/BankAccountFormatsDto.js +52 -0
  21. package/dist/models/CreateBankAccountDetailsInput.d.ts +40 -0
  22. package/dist/models/CreateBankAccountDetailsInput.js +55 -0
  23. package/dist/models/CreateBankAccountInput.d.ts +5 -4
  24. package/dist/models/CreateBankAccountInput.js +3 -2
  25. package/dist/models/SearchBankAccountInstitutionsInput.d.ts +46 -0
  26. package/dist/models/SearchBankAccountInstitutionsInput.js +55 -0
  27. package/dist/models/index.d.ts +9 -8
  28. package/dist/models/index.js +9 -8
  29. package/package.json +1 -1
  30. package/src/apis/BankAccountsApi.ts +181 -0
  31. package/src/models/AccountBankAccountDetailsDto.ts +75 -0
  32. package/src/models/AccountBankAccountDto.ts +20 -11
  33. package/src/models/BankAccountFormatCountryDto.ts +75 -0
  34. package/src/models/BankAccountFormatDto.ts +92 -0
  35. package/src/models/BankAccountFormatFieldDto.ts +146 -0
  36. package/src/models/BankAccountFormatFieldOptionDto.ts +75 -0
  37. package/src/models/BankAccountFormatFieldType.ts +54 -0
  38. package/src/models/BankAccountFormatsDto.ts +74 -0
  39. package/src/models/CreateBankAccountDetailsInput.ts +75 -0
  40. package/src/models/CreateBankAccountInput.ts +14 -6
  41. package/src/models/SearchBankAccountInstitutionsInput.ts +82 -0
  42. package/src/models/index.ts +9 -8
  43. package/dist/models/AccountBankAccountDtoDetails.d.ts +0 -42
  44. package/dist/models/AccountBankAccountDtoDetails.js +0 -79
  45. package/dist/models/AuBankAccountDetails.d.ts +0 -63
  46. package/dist/models/AuBankAccountDetails.js +0 -76
  47. package/dist/models/CaBankAccountDetails.d.ts +0 -69
  48. package/dist/models/CaBankAccountDetails.js +0 -80
  49. package/dist/models/NzBankAccountDetails.d.ts +0 -57
  50. package/dist/models/NzBankAccountDetails.js +0 -72
  51. package/dist/models/SeBankAccountDetails.d.ts +0 -75
  52. package/dist/models/SeBankAccountDetails.js +0 -84
  53. package/dist/models/SepaBankAccountDetails.d.ts +0 -63
  54. package/dist/models/SepaBankAccountDetails.js +0 -76
  55. package/dist/models/UkBankAccountDetails.d.ts +0 -63
  56. package/dist/models/UkBankAccountDetails.js +0 -76
  57. package/dist/models/UsBankAccountDetails.d.ts +0 -63
  58. package/dist/models/UsBankAccountDetails.js +0 -76
  59. package/src/models/AccountBankAccountDtoDetails.ts +0 -128
  60. package/src/models/AuBankAccountDetails.ts +0 -109
  61. package/src/models/CaBankAccountDetails.ts +0 -118
  62. package/src/models/NzBankAccountDetails.ts +0 -100
  63. package/src/models/SeBankAccountDetails.ts +0 -127
  64. package/src/models/SepaBankAccountDetails.ts +0 -109
  65. package/src/models/UkBankAccountDetails.ts +0 -109
  66. package/src/models/UsBankAccountDetails.ts +0 -109
@@ -0,0 +1,45 @@
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 { BankAccountFormatFieldDto } from './BankAccountFormatFieldDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface BankAccountFormatDto
17
+ */
18
+ export interface BankAccountFormatDto {
19
+ /**
20
+ * ISO 3166-1 alpha-2 code of the bank country.
21
+ * @type {string}
22
+ * @memberof BankAccountFormatDto
23
+ */
24
+ countryCode: string;
25
+ /**
26
+ * ISO 4217 code of the account currency.
27
+ * @type {string}
28
+ * @memberof BankAccountFormatDto
29
+ */
30
+ currencyCode: string;
31
+ /**
32
+ * The fields to fill in, in display order.
33
+ * @type {Array<BankAccountFormatFieldDto>}
34
+ * @memberof BankAccountFormatDto
35
+ */
36
+ fields: Array<BankAccountFormatFieldDto>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the BankAccountFormatDto interface.
40
+ */
41
+ export declare function instanceOfBankAccountFormatDto(value: object): value is BankAccountFormatDto;
42
+ export declare function BankAccountFormatDtoFromJSON(json: any): BankAccountFormatDto;
43
+ export declare function BankAccountFormatDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BankAccountFormatDto;
44
+ export declare function BankAccountFormatDtoToJSON(json: any): BankAccountFormatDto;
45
+ export declare function BankAccountFormatDtoToJSONTyped(value?: BankAccountFormatDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
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.instanceOfBankAccountFormatDto = instanceOfBankAccountFormatDto;
17
+ exports.BankAccountFormatDtoFromJSON = BankAccountFormatDtoFromJSON;
18
+ exports.BankAccountFormatDtoFromJSONTyped = BankAccountFormatDtoFromJSONTyped;
19
+ exports.BankAccountFormatDtoToJSON = BankAccountFormatDtoToJSON;
20
+ exports.BankAccountFormatDtoToJSONTyped = BankAccountFormatDtoToJSONTyped;
21
+ var BankAccountFormatFieldDto_1 = require("./BankAccountFormatFieldDto");
22
+ /**
23
+ * Check if a given object implements the BankAccountFormatDto interface.
24
+ */
25
+ function instanceOfBankAccountFormatDto(value) {
26
+ if (!('countryCode' in value) || value['countryCode'] === undefined)
27
+ return false;
28
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined)
29
+ return false;
30
+ if (!('fields' in value) || value['fields'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function BankAccountFormatDtoFromJSON(json) {
35
+ return BankAccountFormatDtoFromJSONTyped(json, false);
36
+ }
37
+ function BankAccountFormatDtoFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'countryCode': json['countryCode'],
43
+ 'currencyCode': json['currencyCode'],
44
+ 'fields': (json['fields'].map(BankAccountFormatFieldDto_1.BankAccountFormatFieldDtoFromJSON)),
45
+ };
46
+ }
47
+ function BankAccountFormatDtoToJSON(json) {
48
+ return BankAccountFormatDtoToJSONTyped(json, false);
49
+ }
50
+ function BankAccountFormatDtoToJSONTyped(value, ignoreDiscriminator) {
51
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'countryCode': value['countryCode'],
57
+ 'currencyCode': value['currencyCode'],
58
+ 'fields': (value['fields'].map(BankAccountFormatFieldDto_1.BankAccountFormatFieldDtoToJSON)),
59
+ };
60
+ }
@@ -0,0 +1,76 @@
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 { BankAccountFormatFieldType } from './BankAccountFormatFieldType';
13
+ import type { BankAccountFormatFieldOptionDto } from './BankAccountFormatFieldOptionDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface BankAccountFormatFieldDto
18
+ */
19
+ export interface BankAccountFormatFieldDto {
20
+ /**
21
+ * Where the value goes: submit it under this key in `details.fields`, e.g. `bank_details.account_routing_value1`.
22
+ * @type {string}
23
+ * @memberof BankAccountFormatFieldDto
24
+ */
25
+ path: string;
26
+ /**
27
+ * INPUT is typed, SELECT is picked from `options`, LOOKUP is typed with suggestions from the institutions search.
28
+ * @type {BankAccountFormatFieldType}
29
+ * @memberof BankAccountFormatFieldDto
30
+ */
31
+ type: BankAccountFormatFieldType;
32
+ /**
33
+ * Whether the field must be filled in.
34
+ * @type {boolean}
35
+ * @memberof BankAccountFormatFieldDto
36
+ */
37
+ required: boolean;
38
+ /**
39
+ * Anchored regular expression the value must match once spaces, dashes and dots are left out, if any.
40
+ * @type {string}
41
+ * @memberof BankAccountFormatFieldDto
42
+ */
43
+ pattern: string | null;
44
+ /**
45
+ * English label from the payout provider, to show when there is no translation.
46
+ * @type {string}
47
+ * @memberof BankAccountFormatFieldDto
48
+ */
49
+ label: string;
50
+ /**
51
+ * English hint.
52
+ * @type {string}
53
+ * @memberof BankAccountFormatFieldDto
54
+ */
55
+ description: string | null;
56
+ /**
57
+ * Example value.
58
+ * @type {string}
59
+ * @memberof BankAccountFormatFieldDto
60
+ */
61
+ example: string | null;
62
+ /**
63
+ * The values to pick from, for SELECT fields.
64
+ * @type {Array<BankAccountFormatFieldOptionDto>}
65
+ * @memberof BankAccountFormatFieldDto
66
+ */
67
+ options: Array<BankAccountFormatFieldOptionDto> | null;
68
+ }
69
+ /**
70
+ * Check if a given object implements the BankAccountFormatFieldDto interface.
71
+ */
72
+ export declare function instanceOfBankAccountFormatFieldDto(value: object): value is BankAccountFormatFieldDto;
73
+ export declare function BankAccountFormatFieldDtoFromJSON(json: any): BankAccountFormatFieldDto;
74
+ export declare function BankAccountFormatFieldDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BankAccountFormatFieldDto;
75
+ export declare function BankAccountFormatFieldDtoToJSON(json: any): BankAccountFormatFieldDto;
76
+ export declare function BankAccountFormatFieldDtoToJSONTyped(value?: BankAccountFormatFieldDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,81 @@
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.instanceOfBankAccountFormatFieldDto = instanceOfBankAccountFormatFieldDto;
17
+ exports.BankAccountFormatFieldDtoFromJSON = BankAccountFormatFieldDtoFromJSON;
18
+ exports.BankAccountFormatFieldDtoFromJSONTyped = BankAccountFormatFieldDtoFromJSONTyped;
19
+ exports.BankAccountFormatFieldDtoToJSON = BankAccountFormatFieldDtoToJSON;
20
+ exports.BankAccountFormatFieldDtoToJSONTyped = BankAccountFormatFieldDtoToJSONTyped;
21
+ var BankAccountFormatFieldType_1 = require("./BankAccountFormatFieldType");
22
+ var BankAccountFormatFieldOptionDto_1 = require("./BankAccountFormatFieldOptionDto");
23
+ /**
24
+ * Check if a given object implements the BankAccountFormatFieldDto interface.
25
+ */
26
+ function instanceOfBankAccountFormatFieldDto(value) {
27
+ if (!('path' in value) || value['path'] === undefined)
28
+ return false;
29
+ if (!('type' in value) || value['type'] === undefined)
30
+ return false;
31
+ if (!('required' in value) || value['required'] === undefined)
32
+ return false;
33
+ if (!('pattern' in value) || value['pattern'] === undefined)
34
+ return false;
35
+ if (!('label' in value) || value['label'] === undefined)
36
+ return false;
37
+ if (!('description' in value) || value['description'] === undefined)
38
+ return false;
39
+ if (!('example' in value) || value['example'] === undefined)
40
+ return false;
41
+ if (!('options' in value) || value['options'] === undefined)
42
+ return false;
43
+ return true;
44
+ }
45
+ function BankAccountFormatFieldDtoFromJSON(json) {
46
+ return BankAccountFormatFieldDtoFromJSONTyped(json, false);
47
+ }
48
+ function BankAccountFormatFieldDtoFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'path': json['path'],
54
+ 'type': (0, BankAccountFormatFieldType_1.BankAccountFormatFieldTypeFromJSON)(json['type']),
55
+ 'required': json['required'],
56
+ 'pattern': json['pattern'],
57
+ 'label': json['label'],
58
+ 'description': json['description'],
59
+ 'example': json['example'],
60
+ 'options': (json['options'] == null ? null : json['options'].map(BankAccountFormatFieldOptionDto_1.BankAccountFormatFieldOptionDtoFromJSON)),
61
+ };
62
+ }
63
+ function BankAccountFormatFieldDtoToJSON(json) {
64
+ return BankAccountFormatFieldDtoToJSONTyped(json, false);
65
+ }
66
+ function BankAccountFormatFieldDtoToJSONTyped(value, ignoreDiscriminator) {
67
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+ return {
72
+ 'path': value['path'],
73
+ 'type': (0, BankAccountFormatFieldType_1.BankAccountFormatFieldTypeToJSON)(value['type']),
74
+ 'required': value['required'],
75
+ 'pattern': value['pattern'],
76
+ 'label': value['label'],
77
+ 'description': value['description'],
78
+ 'example': value['example'],
79
+ 'options': (value['options'] == null ? null : value['options'].map(BankAccountFormatFieldOptionDto_1.BankAccountFormatFieldOptionDtoToJSON)),
80
+ };
81
+ }
@@ -0,0 +1,38 @@
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 BankAccountFormatFieldOptionDto
16
+ */
17
+ export interface BankAccountFormatFieldOptionDto {
18
+ /**
19
+ * Value to submit.
20
+ * @type {string}
21
+ * @memberof BankAccountFormatFieldOptionDto
22
+ */
23
+ value: string;
24
+ /**
25
+ * English label, e.g. the bank name.
26
+ * @type {string}
27
+ * @memberof BankAccountFormatFieldOptionDto
28
+ */
29
+ label: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the BankAccountFormatFieldOptionDto interface.
33
+ */
34
+ export declare function instanceOfBankAccountFormatFieldOptionDto(value: object): value is BankAccountFormatFieldOptionDto;
35
+ export declare function BankAccountFormatFieldOptionDtoFromJSON(json: any): BankAccountFormatFieldOptionDto;
36
+ export declare function BankAccountFormatFieldOptionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BankAccountFormatFieldOptionDto;
37
+ export declare function BankAccountFormatFieldOptionDtoToJSON(json: any): BankAccountFormatFieldOptionDto;
38
+ export declare function BankAccountFormatFieldOptionDtoToJSONTyped(value?: BankAccountFormatFieldOptionDto | 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.instanceOfBankAccountFormatFieldOptionDto = instanceOfBankAccountFormatFieldOptionDto;
17
+ exports.BankAccountFormatFieldOptionDtoFromJSON = BankAccountFormatFieldOptionDtoFromJSON;
18
+ exports.BankAccountFormatFieldOptionDtoFromJSONTyped = BankAccountFormatFieldOptionDtoFromJSONTyped;
19
+ exports.BankAccountFormatFieldOptionDtoToJSON = BankAccountFormatFieldOptionDtoToJSON;
20
+ exports.BankAccountFormatFieldOptionDtoToJSONTyped = BankAccountFormatFieldOptionDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the BankAccountFormatFieldOptionDto interface.
23
+ */
24
+ function instanceOfBankAccountFormatFieldOptionDto(value) {
25
+ if (!('value' in value) || value['value'] === undefined)
26
+ return false;
27
+ if (!('label' in value) || value['label'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function BankAccountFormatFieldOptionDtoFromJSON(json) {
32
+ return BankAccountFormatFieldOptionDtoFromJSONTyped(json, false);
33
+ }
34
+ function BankAccountFormatFieldOptionDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'value': json['value'],
40
+ 'label': json['label'],
41
+ };
42
+ }
43
+ function BankAccountFormatFieldOptionDtoToJSON(json) {
44
+ return BankAccountFormatFieldOptionDtoToJSONTyped(json, false);
45
+ }
46
+ function BankAccountFormatFieldOptionDtoToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'value': value['value'],
53
+ 'label': value['label'],
54
+ };
55
+ }
@@ -0,0 +1,26 @@
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
+ * INPUT is typed, SELECT is picked from `options`, LOOKUP is typed with suggestions from the institutions search.
14
+ * @export
15
+ */
16
+ export declare const BankAccountFormatFieldType: {
17
+ readonly INPUT: "INPUT";
18
+ readonly SELECT: "SELECT";
19
+ readonly LOOKUP: "LOOKUP";
20
+ };
21
+ export type BankAccountFormatFieldType = typeof BankAccountFormatFieldType[keyof typeof BankAccountFormatFieldType];
22
+ export declare function instanceOfBankAccountFormatFieldType(value: any): boolean;
23
+ export declare function BankAccountFormatFieldTypeFromJSON(json: any): BankAccountFormatFieldType;
24
+ export declare function BankAccountFormatFieldTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): BankAccountFormatFieldType;
25
+ export declare function BankAccountFormatFieldTypeToJSON(value?: BankAccountFormatFieldType | null): any;
26
+ export declare function BankAccountFormatFieldTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): BankAccountFormatFieldType;
@@ -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.BankAccountFormatFieldType = void 0;
17
+ exports.instanceOfBankAccountFormatFieldType = instanceOfBankAccountFormatFieldType;
18
+ exports.BankAccountFormatFieldTypeFromJSON = BankAccountFormatFieldTypeFromJSON;
19
+ exports.BankAccountFormatFieldTypeFromJSONTyped = BankAccountFormatFieldTypeFromJSONTyped;
20
+ exports.BankAccountFormatFieldTypeToJSON = BankAccountFormatFieldTypeToJSON;
21
+ exports.BankAccountFormatFieldTypeToJSONTyped = BankAccountFormatFieldTypeToJSONTyped;
22
+ /**
23
+ * INPUT is typed, SELECT is picked from `options`, LOOKUP is typed with suggestions from the institutions search.
24
+ * @export
25
+ */
26
+ exports.BankAccountFormatFieldType = {
27
+ INPUT: 'INPUT',
28
+ SELECT: 'SELECT',
29
+ LOOKUP: 'LOOKUP'
30
+ };
31
+ function instanceOfBankAccountFormatFieldType(value) {
32
+ for (var key in exports.BankAccountFormatFieldType) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.BankAccountFormatFieldType, key)) {
34
+ if (exports.BankAccountFormatFieldType[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function BankAccountFormatFieldTypeFromJSON(json) {
42
+ return BankAccountFormatFieldTypeFromJSONTyped(json, false);
43
+ }
44
+ function BankAccountFormatFieldTypeFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function BankAccountFormatFieldTypeToJSON(value) {
48
+ return value;
49
+ }
50
+ function BankAccountFormatFieldTypeToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -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 for the bank account
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
- * Country-specific bank account details. The required fields depend on the countryCode.
26
- * @type {object}
26
+ * The bank country and the bank details its format asks for.
27
+ * @type {CreateBankAccountDetailsInput}
27
28
  * @memberof CreateBankAccountInput
28
29
  */
29
- details: object;
30
+ details: CreateBankAccountDetailsInput;
30
31
  }
31
32
  /**
32
33
  * Check if a given object implements the CreateBankAccountInput interface.