@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
@@ -1,109 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Nameshift
5
- * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface SepaBankAccountDetails
20
- */
21
- export interface SepaBankAccountDetails {
22
- /**
23
- * Discriminator identifying the bank account details schema.
24
- * @type {string}
25
- * @memberof SepaBankAccountDetails
26
- */
27
- type: SepaBankAccountDetailsTypeEnum;
28
- /**
29
- * ISO country code for the SEPA account.
30
- * @type {string}
31
- * @memberof SepaBankAccountDetails
32
- */
33
- countryCode: string;
34
- /**
35
- * Bank Identifier Code (BIC/SWIFT).
36
- * @type {string}
37
- * @memberof SepaBankAccountDetails
38
- */
39
- bic: string;
40
- /**
41
- * International Bank Account Number (IBAN).
42
- * @type {string}
43
- * @memberof SepaBankAccountDetails
44
- */
45
- iban: string;
46
- }
47
-
48
-
49
- /**
50
- * @export
51
- */
52
- export const SepaBankAccountDetailsTypeEnum = {
53
- UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
54
- US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
55
- CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
56
- NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
57
- AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
58
- SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
59
- SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
60
- } as const;
61
- export type SepaBankAccountDetailsTypeEnum = typeof SepaBankAccountDetailsTypeEnum[keyof typeof SepaBankAccountDetailsTypeEnum];
62
-
63
-
64
- /**
65
- * Check if a given object implements the SepaBankAccountDetails interface.
66
- */
67
- export function instanceOfSepaBankAccountDetails(value: object): value is SepaBankAccountDetails {
68
- if (!('type' in value) || value['type'] === undefined) return false;
69
- if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
70
- if (!('bic' in value) || value['bic'] === undefined) return false;
71
- if (!('iban' in value) || value['iban'] === undefined) return false;
72
- return true;
73
- }
74
-
75
- export function SepaBankAccountDetailsFromJSON(json: any): SepaBankAccountDetails {
76
- return SepaBankAccountDetailsFromJSONTyped(json, false);
77
- }
78
-
79
- export function SepaBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SepaBankAccountDetails {
80
- if (json == null) {
81
- return json;
82
- }
83
- return {
84
-
85
- 'type': json['type'],
86
- 'countryCode': json['countryCode'],
87
- 'bic': json['bic'],
88
- 'iban': json['iban'],
89
- };
90
- }
91
-
92
- export function SepaBankAccountDetailsToJSON(json: any): SepaBankAccountDetails {
93
- return SepaBankAccountDetailsToJSONTyped(json, false);
94
- }
95
-
96
- export function SepaBankAccountDetailsToJSONTyped(value?: SepaBankAccountDetails | null, ignoreDiscriminator: boolean = false): any {
97
- if (value == null) {
98
- return value;
99
- }
100
-
101
- return {
102
-
103
- 'type': value['type'],
104
- 'countryCode': value['countryCode'],
105
- 'bic': value['bic'],
106
- 'iban': value['iban'],
107
- };
108
- }
109
-
@@ -1,109 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Nameshift
5
- * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface UkBankAccountDetails
20
- */
21
- export interface UkBankAccountDetails {
22
- /**
23
- * Discriminator identifying the bank account details schema.
24
- * @type {string}
25
- * @memberof UkBankAccountDetails
26
- */
27
- type: UkBankAccountDetailsTypeEnum;
28
- /**
29
- * ISO country code (GB).
30
- * @type {string}
31
- * @memberof UkBankAccountDetails
32
- */
33
- countryCode: string;
34
- /**
35
- * UK sort code.
36
- * @type {string}
37
- * @memberof UkBankAccountDetails
38
- */
39
- sortCode: string;
40
- /**
41
- * UK account number.
42
- * @type {string}
43
- * @memberof UkBankAccountDetails
44
- */
45
- accountNumber: string;
46
- }
47
-
48
-
49
- /**
50
- * @export
51
- */
52
- export const UkBankAccountDetailsTypeEnum = {
53
- UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
54
- US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
55
- CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
56
- NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
57
- AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
58
- SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
59
- SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
60
- } as const;
61
- export type UkBankAccountDetailsTypeEnum = typeof UkBankAccountDetailsTypeEnum[keyof typeof UkBankAccountDetailsTypeEnum];
62
-
63
-
64
- /**
65
- * Check if a given object implements the UkBankAccountDetails interface.
66
- */
67
- export function instanceOfUkBankAccountDetails(value: object): value is UkBankAccountDetails {
68
- if (!('type' in value) || value['type'] === undefined) return false;
69
- if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
70
- if (!('sortCode' in value) || value['sortCode'] === undefined) return false;
71
- if (!('accountNumber' in value) || value['accountNumber'] === undefined) return false;
72
- return true;
73
- }
74
-
75
- export function UkBankAccountDetailsFromJSON(json: any): UkBankAccountDetails {
76
- return UkBankAccountDetailsFromJSONTyped(json, false);
77
- }
78
-
79
- export function UkBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UkBankAccountDetails {
80
- if (json == null) {
81
- return json;
82
- }
83
- return {
84
-
85
- 'type': json['type'],
86
- 'countryCode': json['countryCode'],
87
- 'sortCode': json['sortCode'],
88
- 'accountNumber': json['accountNumber'],
89
- };
90
- }
91
-
92
- export function UkBankAccountDetailsToJSON(json: any): UkBankAccountDetails {
93
- return UkBankAccountDetailsToJSONTyped(json, false);
94
- }
95
-
96
- export function UkBankAccountDetailsToJSONTyped(value?: UkBankAccountDetails | null, ignoreDiscriminator: boolean = false): any {
97
- if (value == null) {
98
- return value;
99
- }
100
-
101
- return {
102
-
103
- 'type': value['type'],
104
- 'countryCode': value['countryCode'],
105
- 'sortCode': value['sortCode'],
106
- 'accountNumber': value['accountNumber'],
107
- };
108
- }
109
-
@@ -1,109 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Nameshift
5
- * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface UsBankAccountDetails
20
- */
21
- export interface UsBankAccountDetails {
22
- /**
23
- * Discriminator identifying the bank account details schema.
24
- * @type {string}
25
- * @memberof UsBankAccountDetails
26
- */
27
- type: UsBankAccountDetailsTypeEnum;
28
- /**
29
- * ISO country code (US).
30
- * @type {string}
31
- * @memberof UsBankAccountDetails
32
- */
33
- countryCode: string;
34
- /**
35
- * US ACH routing number.
36
- * @type {string}
37
- * @memberof UsBankAccountDetails
38
- */
39
- routingNumber: string;
40
- /**
41
- * US account number.
42
- * @type {string}
43
- * @memberof UsBankAccountDetails
44
- */
45
- accountNumber: string;
46
- }
47
-
48
-
49
- /**
50
- * @export
51
- */
52
- export const UsBankAccountDetailsTypeEnum = {
53
- UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
54
- US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
55
- CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
56
- NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
57
- AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
58
- SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
59
- SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
60
- } as const;
61
- export type UsBankAccountDetailsTypeEnum = typeof UsBankAccountDetailsTypeEnum[keyof typeof UsBankAccountDetailsTypeEnum];
62
-
63
-
64
- /**
65
- * Check if a given object implements the UsBankAccountDetails interface.
66
- */
67
- export function instanceOfUsBankAccountDetails(value: object): value is UsBankAccountDetails {
68
- if (!('type' in value) || value['type'] === undefined) return false;
69
- if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
70
- if (!('routingNumber' in value) || value['routingNumber'] === undefined) return false;
71
- if (!('accountNumber' in value) || value['accountNumber'] === undefined) return false;
72
- return true;
73
- }
74
-
75
- export function UsBankAccountDetailsFromJSON(json: any): UsBankAccountDetails {
76
- return UsBankAccountDetailsFromJSONTyped(json, false);
77
- }
78
-
79
- export function UsBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UsBankAccountDetails {
80
- if (json == null) {
81
- return json;
82
- }
83
- return {
84
-
85
- 'type': json['type'],
86
- 'countryCode': json['countryCode'],
87
- 'routingNumber': json['routingNumber'],
88
- 'accountNumber': json['accountNumber'],
89
- };
90
- }
91
-
92
- export function UsBankAccountDetailsToJSON(json: any): UsBankAccountDetails {
93
- return UsBankAccountDetailsToJSONTyped(json, false);
94
- }
95
-
96
- export function UsBankAccountDetailsToJSONTyped(value?: UsBankAccountDetails | null, ignoreDiscriminator: boolean = false): any {
97
- if (value == null) {
98
- return value;
99
- }
100
-
101
- return {
102
-
103
- 'type': value['type'],
104
- 'countryCode': value['countryCode'],
105
- 'routingNumber': value['routingNumber'],
106
- 'accountNumber': value['accountNumber'],
107
- };
108
- }
109
-