@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.
Files changed (75) hide show
  1. package/.openapi-generator/FILES +11 -8
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +11 -1
  4. package/dist/apis/AdminApi.js +52 -0
  5. package/dist/apis/BankAccountsApi.d.ts +40 -1
  6. package/dist/apis/BankAccountsApi.js +197 -0
  7. package/dist/models/AccountBankAccountDetailsDto.d.ts +40 -0
  8. package/dist/models/AccountBankAccountDetailsDto.js +55 -0
  9. package/dist/models/AccountBankAccountDto.d.ts +10 -4
  10. package/dist/models/AccountBankAccountDto.js +7 -3
  11. package/dist/models/AdminLandingDesignStatsDto.d.ts +39 -0
  12. package/dist/models/AdminLandingDesignStatsDto.js +56 -0
  13. package/dist/models/BankAccountFormatCountryDto.d.ts +38 -0
  14. package/dist/models/BankAccountFormatCountryDto.js +55 -0
  15. package/dist/models/BankAccountFormatDto.d.ts +45 -0
  16. package/dist/models/BankAccountFormatDto.js +60 -0
  17. package/dist/models/BankAccountFormatFieldDto.d.ts +76 -0
  18. package/dist/models/BankAccountFormatFieldDto.js +81 -0
  19. package/dist/models/BankAccountFormatFieldOptionDto.d.ts +38 -0
  20. package/dist/models/BankAccountFormatFieldOptionDto.js +55 -0
  21. package/dist/models/BankAccountFormatFieldType.d.ts +26 -0
  22. package/dist/models/BankAccountFormatFieldType.js +52 -0
  23. package/dist/models/BankAccountFormatsDto.d.ts +33 -0
  24. package/dist/models/BankAccountFormatsDto.js +52 -0
  25. package/dist/models/CreateBankAccountDetailsInput.d.ts +40 -0
  26. package/dist/models/CreateBankAccountDetailsInput.js +55 -0
  27. package/dist/models/CreateBankAccountInput.d.ts +5 -4
  28. package/dist/models/CreateBankAccountInput.js +3 -2
  29. package/dist/models/LandingDesignUsageDto.d.ts +47 -0
  30. package/dist/models/LandingDesignUsageDto.js +64 -0
  31. package/dist/models/SearchBankAccountInstitutionsInput.d.ts +46 -0
  32. package/dist/models/SearchBankAccountInstitutionsInput.js +55 -0
  33. package/dist/models/index.d.ts +11 -8
  34. package/dist/models/index.js +11 -8
  35. package/package.json +1 -1
  36. package/src/apis/AdminApi.ts +39 -0
  37. package/src/apis/BankAccountsApi.ts +181 -0
  38. package/src/models/AccountBankAccountDetailsDto.ts +75 -0
  39. package/src/models/AccountBankAccountDto.ts +20 -11
  40. package/src/models/AdminLandingDesignStatsDto.ts +83 -0
  41. package/src/models/BankAccountFormatCountryDto.ts +75 -0
  42. package/src/models/BankAccountFormatDto.ts +92 -0
  43. package/src/models/BankAccountFormatFieldDto.ts +146 -0
  44. package/src/models/BankAccountFormatFieldOptionDto.ts +75 -0
  45. package/src/models/BankAccountFormatFieldType.ts +54 -0
  46. package/src/models/BankAccountFormatsDto.ts +74 -0
  47. package/src/models/CreateBankAccountDetailsInput.ts +75 -0
  48. package/src/models/CreateBankAccountInput.ts +14 -6
  49. package/src/models/LandingDesignUsageDto.ts +87 -0
  50. package/src/models/SearchBankAccountInstitutionsInput.ts +82 -0
  51. package/src/models/index.ts +11 -8
  52. package/dist/models/AccountBankAccountDtoDetails.d.ts +0 -42
  53. package/dist/models/AccountBankAccountDtoDetails.js +0 -79
  54. package/dist/models/AuBankAccountDetails.d.ts +0 -63
  55. package/dist/models/AuBankAccountDetails.js +0 -76
  56. package/dist/models/CaBankAccountDetails.d.ts +0 -69
  57. package/dist/models/CaBankAccountDetails.js +0 -80
  58. package/dist/models/NzBankAccountDetails.d.ts +0 -57
  59. package/dist/models/NzBankAccountDetails.js +0 -72
  60. package/dist/models/SeBankAccountDetails.d.ts +0 -75
  61. package/dist/models/SeBankAccountDetails.js +0 -84
  62. package/dist/models/SepaBankAccountDetails.d.ts +0 -63
  63. package/dist/models/SepaBankAccountDetails.js +0 -76
  64. package/dist/models/UkBankAccountDetails.d.ts +0 -63
  65. package/dist/models/UkBankAccountDetails.js +0 -76
  66. package/dist/models/UsBankAccountDetails.d.ts +0 -63
  67. package/dist/models/UsBankAccountDetails.js +0 -76
  68. package/src/models/AccountBankAccountDtoDetails.ts +0 -128
  69. package/src/models/AuBankAccountDetails.ts +0 -109
  70. package/src/models/CaBankAccountDetails.ts +0 -118
  71. package/src/models/NzBankAccountDetails.ts +0 -100
  72. package/src/models/SeBankAccountDetails.ts +0 -127
  73. package/src/models/SepaBankAccountDetails.ts +0 -109
  74. package/src/models/UkBankAccountDetails.ts +0 -109
  75. package/src/models/UsBankAccountDetails.ts +0 -109
@@ -19,7 +19,7 @@ exports.AccountBankAccountDtoFromJSON = AccountBankAccountDtoFromJSON;
19
19
  exports.AccountBankAccountDtoFromJSONTyped = AccountBankAccountDtoFromJSONTyped;
20
20
  exports.AccountBankAccountDtoToJSON = AccountBankAccountDtoToJSON;
21
21
  exports.AccountBankAccountDtoToJSONTyped = AccountBankAccountDtoToJSONTyped;
22
- var AccountBankAccountDtoDetails_1 = require("./AccountBankAccountDtoDetails");
22
+ var AccountBankAccountDetailsDto_1 = require("./AccountBankAccountDetailsDto");
23
23
  /**
24
24
  * @export
25
25
  */
@@ -54,6 +54,8 @@ function instanceOfAccountBankAccountDto(value) {
54
54
  return false;
55
55
  if (!('details' in value) || value['details'] === undefined)
56
56
  return false;
57
+ if (!('payable' in value) || value['payable'] === undefined)
58
+ return false;
57
59
  return true;
58
60
  }
59
61
  function AccountBankAccountDtoFromJSON(json) {
@@ -69,7 +71,8 @@ function AccountBankAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
69
71
  'currencyCode': json['currencyCode'],
70
72
  'verificationStatus': json['verificationStatus'],
71
73
  'nameCheckStatus': json['nameCheckStatus'],
72
- 'details': (0, AccountBankAccountDtoDetails_1.AccountBankAccountDtoDetailsFromJSON)(json['details']),
74
+ 'details': (0, AccountBankAccountDetailsDto_1.AccountBankAccountDetailsDtoFromJSON)(json['details']),
75
+ 'payable': json['payable'],
73
76
  };
74
77
  }
75
78
  function AccountBankAccountDtoToJSON(json) {
@@ -86,6 +89,7 @@ function AccountBankAccountDtoToJSONTyped(value, ignoreDiscriminator) {
86
89
  'currencyCode': value['currencyCode'],
87
90
  'verificationStatus': value['verificationStatus'],
88
91
  'nameCheckStatus': value['nameCheckStatus'],
89
- 'details': (0, AccountBankAccountDtoDetails_1.AccountBankAccountDtoDetailsToJSON)(value['details']),
92
+ 'details': (0, AccountBankAccountDetailsDto_1.AccountBankAccountDetailsDtoToJSON)(value['details']),
93
+ 'payable': value['payable'],
90
94
  };
91
95
  }
@@ -0,0 +1,39 @@
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 { LandingDesignUsageDto } from './LandingDesignUsageDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AdminLandingDesignStatsDto
17
+ */
18
+ export interface AdminLandingDesignStatsDto {
19
+ /**
20
+ * Total number of live (not sold, not deleted) domains
21
+ * @type {number}
22
+ * @memberof AdminLandingDesignStatsDto
23
+ */
24
+ totalDomains: number;
25
+ /**
26
+ * Domains per landing page design, every design included, most used first
27
+ * @type {Array<LandingDesignUsageDto>}
28
+ * @memberof AdminLandingDesignStatsDto
29
+ */
30
+ designs: Array<LandingDesignUsageDto>;
31
+ }
32
+ /**
33
+ * Check if a given object implements the AdminLandingDesignStatsDto interface.
34
+ */
35
+ export declare function instanceOfAdminLandingDesignStatsDto(value: object): value is AdminLandingDesignStatsDto;
36
+ export declare function AdminLandingDesignStatsDtoFromJSON(json: any): AdminLandingDesignStatsDto;
37
+ export declare function AdminLandingDesignStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminLandingDesignStatsDto;
38
+ export declare function AdminLandingDesignStatsDtoToJSON(json: any): AdminLandingDesignStatsDto;
39
+ export declare function AdminLandingDesignStatsDtoToJSONTyped(value?: AdminLandingDesignStatsDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
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.instanceOfAdminLandingDesignStatsDto = instanceOfAdminLandingDesignStatsDto;
17
+ exports.AdminLandingDesignStatsDtoFromJSON = AdminLandingDesignStatsDtoFromJSON;
18
+ exports.AdminLandingDesignStatsDtoFromJSONTyped = AdminLandingDesignStatsDtoFromJSONTyped;
19
+ exports.AdminLandingDesignStatsDtoToJSON = AdminLandingDesignStatsDtoToJSON;
20
+ exports.AdminLandingDesignStatsDtoToJSONTyped = AdminLandingDesignStatsDtoToJSONTyped;
21
+ var LandingDesignUsageDto_1 = require("./LandingDesignUsageDto");
22
+ /**
23
+ * Check if a given object implements the AdminLandingDesignStatsDto interface.
24
+ */
25
+ function instanceOfAdminLandingDesignStatsDto(value) {
26
+ if (!('totalDomains' in value) || value['totalDomains'] === undefined)
27
+ return false;
28
+ if (!('designs' in value) || value['designs'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function AdminLandingDesignStatsDtoFromJSON(json) {
33
+ return AdminLandingDesignStatsDtoFromJSONTyped(json, false);
34
+ }
35
+ function AdminLandingDesignStatsDtoFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'totalDomains': json['totalDomains'],
41
+ 'designs': (json['designs'].map(LandingDesignUsageDto_1.LandingDesignUsageDtoFromJSON)),
42
+ };
43
+ }
44
+ function AdminLandingDesignStatsDtoToJSON(json) {
45
+ return AdminLandingDesignStatsDtoToJSONTyped(json, false);
46
+ }
47
+ function AdminLandingDesignStatsDtoToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'totalDomains': value['totalDomains'],
54
+ 'designs': (value['designs'].map(LandingDesignUsageDto_1.LandingDesignUsageDtoToJSON)),
55
+ };
56
+ }
@@ -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 BankAccountFormatCountryDto
16
+ */
17
+ export interface BankAccountFormatCountryDto {
18
+ /**
19
+ * ISO 3166-1 alpha-2 code of the bank country.
20
+ * @type {string}
21
+ * @memberof BankAccountFormatCountryDto
22
+ */
23
+ countryCode: string;
24
+ /**
25
+ * ISO 4217 codes of the currencies we pay out to in this country, the country's own currency first.
26
+ * @type {Array<string>}
27
+ * @memberof BankAccountFormatCountryDto
28
+ */
29
+ currencyCodes: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the BankAccountFormatCountryDto interface.
33
+ */
34
+ export declare function instanceOfBankAccountFormatCountryDto(value: object): value is BankAccountFormatCountryDto;
35
+ export declare function BankAccountFormatCountryDtoFromJSON(json: any): BankAccountFormatCountryDto;
36
+ export declare function BankAccountFormatCountryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BankAccountFormatCountryDto;
37
+ export declare function BankAccountFormatCountryDtoToJSON(json: any): BankAccountFormatCountryDto;
38
+ export declare function BankAccountFormatCountryDtoToJSONTyped(value?: BankAccountFormatCountryDto | 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.instanceOfBankAccountFormatCountryDto = instanceOfBankAccountFormatCountryDto;
17
+ exports.BankAccountFormatCountryDtoFromJSON = BankAccountFormatCountryDtoFromJSON;
18
+ exports.BankAccountFormatCountryDtoFromJSONTyped = BankAccountFormatCountryDtoFromJSONTyped;
19
+ exports.BankAccountFormatCountryDtoToJSON = BankAccountFormatCountryDtoToJSON;
20
+ exports.BankAccountFormatCountryDtoToJSONTyped = BankAccountFormatCountryDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the BankAccountFormatCountryDto interface.
23
+ */
24
+ function instanceOfBankAccountFormatCountryDto(value) {
25
+ if (!('countryCode' in value) || value['countryCode'] === undefined)
26
+ return false;
27
+ if (!('currencyCodes' in value) || value['currencyCodes'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function BankAccountFormatCountryDtoFromJSON(json) {
32
+ return BankAccountFormatCountryDtoFromJSONTyped(json, false);
33
+ }
34
+ function BankAccountFormatCountryDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'countryCode': json['countryCode'],
40
+ 'currencyCodes': json['currencyCodes'],
41
+ };
42
+ }
43
+ function BankAccountFormatCountryDtoToJSON(json) {
44
+ return BankAccountFormatCountryDtoToJSONTyped(json, false);
45
+ }
46
+ function BankAccountFormatCountryDtoToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'countryCode': value['countryCode'],
53
+ 'currencyCodes': value['currencyCodes'],
54
+ };
55
+ }
@@ -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
+ }