@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.
Files changed (78) hide show
  1. package/.openapi-generator/FILES +11 -8
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +29 -1
  4. package/dist/apis/AdminApi.js +76 -1
  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/BankAccountFormatCountryDto.d.ts +38 -0
  12. package/dist/models/BankAccountFormatCountryDto.js +55 -0
  13. package/dist/models/BankAccountFormatDto.d.ts +45 -0
  14. package/dist/models/BankAccountFormatDto.js +60 -0
  15. package/dist/models/BankAccountFormatFieldDto.d.ts +76 -0
  16. package/dist/models/BankAccountFormatFieldDto.js +81 -0
  17. package/dist/models/BankAccountFormatFieldOptionDto.d.ts +38 -0
  18. package/dist/models/BankAccountFormatFieldOptionDto.js +55 -0
  19. package/dist/models/BankAccountFormatFieldType.d.ts +26 -0
  20. package/dist/models/BankAccountFormatFieldType.js +52 -0
  21. package/dist/models/BankAccountFormatsDto.d.ts +33 -0
  22. package/dist/models/BankAccountFormatsDto.js +52 -0
  23. package/dist/models/CreateBankAccountDetailsInput.d.ts +40 -0
  24. package/dist/models/CreateBankAccountDetailsInput.js +55 -0
  25. package/dist/models/CreateBankAccountInput.d.ts +5 -4
  26. package/dist/models/CreateBankAccountInput.js +3 -2
  27. package/dist/models/LandingDesignAccountDto.d.ts +44 -0
  28. package/dist/models/LandingDesignAccountDto.js +59 -0
  29. package/dist/models/LandingDesignUsageDto.d.ts +6 -0
  30. package/dist/models/LandingDesignUsageDto.js +4 -0
  31. package/dist/models/ListAdminLandingDesignAccounts200Response.d.ts +47 -0
  32. package/dist/models/ListAdminLandingDesignAccounts200Response.js +62 -0
  33. package/dist/models/SearchBankAccountInstitutionsInput.d.ts +46 -0
  34. package/dist/models/SearchBankAccountInstitutionsInput.js +55 -0
  35. package/dist/models/index.d.ts +11 -8
  36. package/dist/models/index.js +11 -8
  37. package/package.json +1 -1
  38. package/src/apis/AdminApi.ts +79 -0
  39. package/src/apis/BankAccountsApi.ts +181 -0
  40. package/src/models/AccountBankAccountDetailsDto.ts +75 -0
  41. package/src/models/AccountBankAccountDto.ts +20 -11
  42. package/src/models/BankAccountFormatCountryDto.ts +75 -0
  43. package/src/models/BankAccountFormatDto.ts +92 -0
  44. package/src/models/BankAccountFormatFieldDto.ts +146 -0
  45. package/src/models/BankAccountFormatFieldOptionDto.ts +75 -0
  46. package/src/models/BankAccountFormatFieldType.ts +54 -0
  47. package/src/models/BankAccountFormatsDto.ts +74 -0
  48. package/src/models/CreateBankAccountDetailsInput.ts +75 -0
  49. package/src/models/CreateBankAccountInput.ts +14 -6
  50. package/src/models/LandingDesignAccountDto.ts +84 -0
  51. package/src/models/LandingDesignUsageDto.ts +9 -0
  52. package/src/models/ListAdminLandingDesignAccounts200Response.ts +106 -0
  53. package/src/models/SearchBankAccountInstitutionsInput.ts +82 -0
  54. package/src/models/index.ts +11 -8
  55. package/dist/models/AccountBankAccountDtoDetails.d.ts +0 -42
  56. package/dist/models/AccountBankAccountDtoDetails.js +0 -79
  57. package/dist/models/AuBankAccountDetails.d.ts +0 -63
  58. package/dist/models/AuBankAccountDetails.js +0 -76
  59. package/dist/models/CaBankAccountDetails.d.ts +0 -69
  60. package/dist/models/CaBankAccountDetails.js +0 -80
  61. package/dist/models/NzBankAccountDetails.d.ts +0 -57
  62. package/dist/models/NzBankAccountDetails.js +0 -72
  63. package/dist/models/SeBankAccountDetails.d.ts +0 -75
  64. package/dist/models/SeBankAccountDetails.js +0 -84
  65. package/dist/models/SepaBankAccountDetails.d.ts +0 -63
  66. package/dist/models/SepaBankAccountDetails.js +0 -76
  67. package/dist/models/UkBankAccountDetails.d.ts +0 -63
  68. package/dist/models/UkBankAccountDetails.js +0 -76
  69. package/dist/models/UsBankAccountDetails.d.ts +0 -63
  70. package/dist/models/UsBankAccountDetails.js +0 -76
  71. package/src/models/AccountBankAccountDtoDetails.ts +0 -128
  72. package/src/models/AuBankAccountDetails.ts +0 -109
  73. package/src/models/CaBankAccountDetails.ts +0 -118
  74. package/src/models/NzBankAccountDetails.ts +0 -100
  75. package/src/models/SeBankAccountDetails.ts +0 -127
  76. package/src/models/SepaBankAccountDetails.ts +0 -109
  77. package/src/models/UkBankAccountDetails.ts +0 -109
  78. package/src/models/UsBankAccountDetails.ts +0 -109
@@ -1,76 +0,0 @@
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.AuBankAccountDetailsTypeEnum = void 0;
17
- exports.instanceOfAuBankAccountDetails = instanceOfAuBankAccountDetails;
18
- exports.AuBankAccountDetailsFromJSON = AuBankAccountDetailsFromJSON;
19
- exports.AuBankAccountDetailsFromJSONTyped = AuBankAccountDetailsFromJSONTyped;
20
- exports.AuBankAccountDetailsToJSON = AuBankAccountDetailsToJSON;
21
- exports.AuBankAccountDetailsToJSONTyped = AuBankAccountDetailsToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.AuBankAccountDetailsTypeEnum = {
26
- UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
27
- US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
28
- CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
- NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
- AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
- SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
32
- SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
33
- };
34
- /**
35
- * Check if a given object implements the AuBankAccountDetails interface.
36
- */
37
- function instanceOfAuBankAccountDetails(value) {
38
- if (!('type' in value) || value['type'] === undefined)
39
- return false;
40
- if (!('countryCode' in value) || value['countryCode'] === undefined)
41
- return false;
42
- if (!('accountNumber' in value) || value['accountNumber'] === undefined)
43
- return false;
44
- if (!('bsb' in value) || value['bsb'] === undefined)
45
- return false;
46
- return true;
47
- }
48
- function AuBankAccountDetailsFromJSON(json) {
49
- return AuBankAccountDetailsFromJSONTyped(json, false);
50
- }
51
- function AuBankAccountDetailsFromJSONTyped(json, ignoreDiscriminator) {
52
- if (json == null) {
53
- return json;
54
- }
55
- return {
56
- 'type': json['type'],
57
- 'countryCode': json['countryCode'],
58
- 'accountNumber': json['accountNumber'],
59
- 'bsb': json['bsb'],
60
- };
61
- }
62
- function AuBankAccountDetailsToJSON(json) {
63
- return AuBankAccountDetailsToJSONTyped(json, false);
64
- }
65
- function AuBankAccountDetailsToJSONTyped(value, ignoreDiscriminator) {
66
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
67
- if (value == null) {
68
- return value;
69
- }
70
- return {
71
- 'type': value['type'],
72
- 'countryCode': value['countryCode'],
73
- 'accountNumber': value['accountNumber'],
74
- 'bsb': value['bsb'],
75
- };
76
- }
@@ -1,69 +0,0 @@
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 CaBankAccountDetails
16
- */
17
- export interface CaBankAccountDetails {
18
- /**
19
- * Discriminator identifying the bank account details schema.
20
- * @type {string}
21
- * @memberof CaBankAccountDetails
22
- */
23
- type: CaBankAccountDetailsTypeEnum;
24
- /**
25
- * ISO country code (CA).
26
- * @type {string}
27
- * @memberof CaBankAccountDetails
28
- */
29
- countryCode: string;
30
- /**
31
- * Canadian financial institution number.
32
- * @type {string}
33
- * @memberof CaBankAccountDetails
34
- */
35
- financialInstitutionNumber: string;
36
- /**
37
- * Canadian transit number.
38
- * @type {string}
39
- * @memberof CaBankAccountDetails
40
- */
41
- transitNumber: string;
42
- /**
43
- * Canadian account number.
44
- * @type {string}
45
- * @memberof CaBankAccountDetails
46
- */
47
- accountNumber: string;
48
- }
49
- /**
50
- * @export
51
- */
52
- export declare const CaBankAccountDetailsTypeEnum: {
53
- readonly UK_BANK_ACCOUNT_DETAILS: "UkBankAccountDetails";
54
- readonly US_BANK_ACCOUNT_DETAILS: "UsBankAccountDetails";
55
- readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
56
- readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
57
- readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
58
- readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
59
- readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
60
- };
61
- export type CaBankAccountDetailsTypeEnum = typeof CaBankAccountDetailsTypeEnum[keyof typeof CaBankAccountDetailsTypeEnum];
62
- /**
63
- * Check if a given object implements the CaBankAccountDetails interface.
64
- */
65
- export declare function instanceOfCaBankAccountDetails(value: object): value is CaBankAccountDetails;
66
- export declare function CaBankAccountDetailsFromJSON(json: any): CaBankAccountDetails;
67
- export declare function CaBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaBankAccountDetails;
68
- export declare function CaBankAccountDetailsToJSON(json: any): CaBankAccountDetails;
69
- export declare function CaBankAccountDetailsToJSONTyped(value?: CaBankAccountDetails | null, ignoreDiscriminator?: boolean): any;
@@ -1,80 +0,0 @@
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.CaBankAccountDetailsTypeEnum = void 0;
17
- exports.instanceOfCaBankAccountDetails = instanceOfCaBankAccountDetails;
18
- exports.CaBankAccountDetailsFromJSON = CaBankAccountDetailsFromJSON;
19
- exports.CaBankAccountDetailsFromJSONTyped = CaBankAccountDetailsFromJSONTyped;
20
- exports.CaBankAccountDetailsToJSON = CaBankAccountDetailsToJSON;
21
- exports.CaBankAccountDetailsToJSONTyped = CaBankAccountDetailsToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.CaBankAccountDetailsTypeEnum = {
26
- UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
27
- US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
28
- CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
- NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
- AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
- SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
32
- SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
33
- };
34
- /**
35
- * Check if a given object implements the CaBankAccountDetails interface.
36
- */
37
- function instanceOfCaBankAccountDetails(value) {
38
- if (!('type' in value) || value['type'] === undefined)
39
- return false;
40
- if (!('countryCode' in value) || value['countryCode'] === undefined)
41
- return false;
42
- if (!('financialInstitutionNumber' in value) || value['financialInstitutionNumber'] === undefined)
43
- return false;
44
- if (!('transitNumber' in value) || value['transitNumber'] === undefined)
45
- return false;
46
- if (!('accountNumber' in value) || value['accountNumber'] === undefined)
47
- return false;
48
- return true;
49
- }
50
- function CaBankAccountDetailsFromJSON(json) {
51
- return CaBankAccountDetailsFromJSONTyped(json, false);
52
- }
53
- function CaBankAccountDetailsFromJSONTyped(json, ignoreDiscriminator) {
54
- if (json == null) {
55
- return json;
56
- }
57
- return {
58
- 'type': json['type'],
59
- 'countryCode': json['countryCode'],
60
- 'financialInstitutionNumber': json['financialInstitutionNumber'],
61
- 'transitNumber': json['transitNumber'],
62
- 'accountNumber': json['accountNumber'],
63
- };
64
- }
65
- function CaBankAccountDetailsToJSON(json) {
66
- return CaBankAccountDetailsToJSONTyped(json, false);
67
- }
68
- function CaBankAccountDetailsToJSONTyped(value, ignoreDiscriminator) {
69
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
70
- if (value == null) {
71
- return value;
72
- }
73
- return {
74
- 'type': value['type'],
75
- 'countryCode': value['countryCode'],
76
- 'financialInstitutionNumber': value['financialInstitutionNumber'],
77
- 'transitNumber': value['transitNumber'],
78
- 'accountNumber': value['accountNumber'],
79
- };
80
- }
@@ -1,57 +0,0 @@
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 NzBankAccountDetails
16
- */
17
- export interface NzBankAccountDetails {
18
- /**
19
- * Discriminator identifying the bank account details schema.
20
- * @type {string}
21
- * @memberof NzBankAccountDetails
22
- */
23
- type: NzBankAccountDetailsTypeEnum;
24
- /**
25
- * ISO country code (NZ).
26
- * @type {string}
27
- * @memberof NzBankAccountDetails
28
- */
29
- countryCode: string;
30
- /**
31
- * New Zealand account number.
32
- * @type {string}
33
- * @memberof NzBankAccountDetails
34
- */
35
- accountNumber: string;
36
- }
37
- /**
38
- * @export
39
- */
40
- export declare const NzBankAccountDetailsTypeEnum: {
41
- readonly UK_BANK_ACCOUNT_DETAILS: "UkBankAccountDetails";
42
- readonly US_BANK_ACCOUNT_DETAILS: "UsBankAccountDetails";
43
- readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
44
- readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
45
- readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
46
- readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
47
- readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
48
- };
49
- export type NzBankAccountDetailsTypeEnum = typeof NzBankAccountDetailsTypeEnum[keyof typeof NzBankAccountDetailsTypeEnum];
50
- /**
51
- * Check if a given object implements the NzBankAccountDetails interface.
52
- */
53
- export declare function instanceOfNzBankAccountDetails(value: object): value is NzBankAccountDetails;
54
- export declare function NzBankAccountDetailsFromJSON(json: any): NzBankAccountDetails;
55
- export declare function NzBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): NzBankAccountDetails;
56
- export declare function NzBankAccountDetailsToJSON(json: any): NzBankAccountDetails;
57
- export declare function NzBankAccountDetailsToJSONTyped(value?: NzBankAccountDetails | null, ignoreDiscriminator?: boolean): any;
@@ -1,72 +0,0 @@
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.NzBankAccountDetailsTypeEnum = void 0;
17
- exports.instanceOfNzBankAccountDetails = instanceOfNzBankAccountDetails;
18
- exports.NzBankAccountDetailsFromJSON = NzBankAccountDetailsFromJSON;
19
- exports.NzBankAccountDetailsFromJSONTyped = NzBankAccountDetailsFromJSONTyped;
20
- exports.NzBankAccountDetailsToJSON = NzBankAccountDetailsToJSON;
21
- exports.NzBankAccountDetailsToJSONTyped = NzBankAccountDetailsToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.NzBankAccountDetailsTypeEnum = {
26
- UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
27
- US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
28
- CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
- NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
- AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
- SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
32
- SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
33
- };
34
- /**
35
- * Check if a given object implements the NzBankAccountDetails interface.
36
- */
37
- function instanceOfNzBankAccountDetails(value) {
38
- if (!('type' in value) || value['type'] === undefined)
39
- return false;
40
- if (!('countryCode' in value) || value['countryCode'] === undefined)
41
- return false;
42
- if (!('accountNumber' in value) || value['accountNumber'] === undefined)
43
- return false;
44
- return true;
45
- }
46
- function NzBankAccountDetailsFromJSON(json) {
47
- return NzBankAccountDetailsFromJSONTyped(json, false);
48
- }
49
- function NzBankAccountDetailsFromJSONTyped(json, ignoreDiscriminator) {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
- 'type': json['type'],
55
- 'countryCode': json['countryCode'],
56
- 'accountNumber': json['accountNumber'],
57
- };
58
- }
59
- function NzBankAccountDetailsToJSON(json) {
60
- return NzBankAccountDetailsToJSONTyped(json, false);
61
- }
62
- function NzBankAccountDetailsToJSONTyped(value, ignoreDiscriminator) {
63
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
64
- if (value == null) {
65
- return value;
66
- }
67
- return {
68
- 'type': value['type'],
69
- 'countryCode': value['countryCode'],
70
- 'accountNumber': value['accountNumber'],
71
- };
72
- }
@@ -1,75 +0,0 @@
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 SeBankAccountDetails
16
- */
17
- export interface SeBankAccountDetails {
18
- /**
19
- * Discriminator identifying the bank account details schema.
20
- * @type {string}
21
- * @memberof SeBankAccountDetails
22
- */
23
- type: SeBankAccountDetailsTypeEnum;
24
- /**
25
- * ISO country code (SE).
26
- * @type {string}
27
- * @memberof SeBankAccountDetails
28
- */
29
- countryCode: string;
30
- /**
31
- * Swedish bank code.
32
- * @type {string}
33
- * @memberof SeBankAccountDetails
34
- */
35
- bankCode: string;
36
- /**
37
- * Swedish account number.
38
- * @type {string}
39
- * @memberof SeBankAccountDetails
40
- */
41
- accountNumber: string;
42
- /**
43
- * International Bank Account Number (IBAN).
44
- * @type {string}
45
- * @memberof SeBankAccountDetails
46
- */
47
- iban: string;
48
- /**
49
- * Bank Identifier Code (BIC/SWIFT).
50
- * @type {string}
51
- * @memberof SeBankAccountDetails
52
- */
53
- bic: string;
54
- }
55
- /**
56
- * @export
57
- */
58
- export declare const SeBankAccountDetailsTypeEnum: {
59
- readonly UK_BANK_ACCOUNT_DETAILS: "UkBankAccountDetails";
60
- readonly US_BANK_ACCOUNT_DETAILS: "UsBankAccountDetails";
61
- readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
62
- readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
63
- readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
64
- readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
65
- readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
66
- };
67
- export type SeBankAccountDetailsTypeEnum = typeof SeBankAccountDetailsTypeEnum[keyof typeof SeBankAccountDetailsTypeEnum];
68
- /**
69
- * Check if a given object implements the SeBankAccountDetails interface.
70
- */
71
- export declare function instanceOfSeBankAccountDetails(value: object): value is SeBankAccountDetails;
72
- export declare function SeBankAccountDetailsFromJSON(json: any): SeBankAccountDetails;
73
- export declare function SeBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeBankAccountDetails;
74
- export declare function SeBankAccountDetailsToJSON(json: any): SeBankAccountDetails;
75
- export declare function SeBankAccountDetailsToJSONTyped(value?: SeBankAccountDetails | null, ignoreDiscriminator?: boolean): any;
@@ -1,84 +0,0 @@
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.SeBankAccountDetailsTypeEnum = void 0;
17
- exports.instanceOfSeBankAccountDetails = instanceOfSeBankAccountDetails;
18
- exports.SeBankAccountDetailsFromJSON = SeBankAccountDetailsFromJSON;
19
- exports.SeBankAccountDetailsFromJSONTyped = SeBankAccountDetailsFromJSONTyped;
20
- exports.SeBankAccountDetailsToJSON = SeBankAccountDetailsToJSON;
21
- exports.SeBankAccountDetailsToJSONTyped = SeBankAccountDetailsToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.SeBankAccountDetailsTypeEnum = {
26
- UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
27
- US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
28
- CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
- NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
- AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
- SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
32
- SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
33
- };
34
- /**
35
- * Check if a given object implements the SeBankAccountDetails interface.
36
- */
37
- function instanceOfSeBankAccountDetails(value) {
38
- if (!('type' in value) || value['type'] === undefined)
39
- return false;
40
- if (!('countryCode' in value) || value['countryCode'] === undefined)
41
- return false;
42
- if (!('bankCode' in value) || value['bankCode'] === undefined)
43
- return false;
44
- if (!('accountNumber' in value) || value['accountNumber'] === undefined)
45
- return false;
46
- if (!('iban' in value) || value['iban'] === undefined)
47
- return false;
48
- if (!('bic' in value) || value['bic'] === undefined)
49
- return false;
50
- return true;
51
- }
52
- function SeBankAccountDetailsFromJSON(json) {
53
- return SeBankAccountDetailsFromJSONTyped(json, false);
54
- }
55
- function SeBankAccountDetailsFromJSONTyped(json, ignoreDiscriminator) {
56
- if (json == null) {
57
- return json;
58
- }
59
- return {
60
- 'type': json['type'],
61
- 'countryCode': json['countryCode'],
62
- 'bankCode': json['bankCode'],
63
- 'accountNumber': json['accountNumber'],
64
- 'iban': json['iban'],
65
- 'bic': json['bic'],
66
- };
67
- }
68
- function SeBankAccountDetailsToJSON(json) {
69
- return SeBankAccountDetailsToJSONTyped(json, false);
70
- }
71
- function SeBankAccountDetailsToJSONTyped(value, ignoreDiscriminator) {
72
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
73
- if (value == null) {
74
- return value;
75
- }
76
- return {
77
- 'type': value['type'],
78
- 'countryCode': value['countryCode'],
79
- 'bankCode': value['bankCode'],
80
- 'accountNumber': value['accountNumber'],
81
- 'iban': value['iban'],
82
- 'bic': value['bic'],
83
- };
84
- }
@@ -1,63 +0,0 @@
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 SepaBankAccountDetails
16
- */
17
- export interface SepaBankAccountDetails {
18
- /**
19
- * Discriminator identifying the bank account details schema.
20
- * @type {string}
21
- * @memberof SepaBankAccountDetails
22
- */
23
- type: SepaBankAccountDetailsTypeEnum;
24
- /**
25
- * ISO country code for the SEPA account.
26
- * @type {string}
27
- * @memberof SepaBankAccountDetails
28
- */
29
- countryCode: string;
30
- /**
31
- * Bank Identifier Code (BIC/SWIFT).
32
- * @type {string}
33
- * @memberof SepaBankAccountDetails
34
- */
35
- bic: string;
36
- /**
37
- * International Bank Account Number (IBAN).
38
- * @type {string}
39
- * @memberof SepaBankAccountDetails
40
- */
41
- iban: string;
42
- }
43
- /**
44
- * @export
45
- */
46
- export declare const SepaBankAccountDetailsTypeEnum: {
47
- readonly UK_BANK_ACCOUNT_DETAILS: "UkBankAccountDetails";
48
- readonly US_BANK_ACCOUNT_DETAILS: "UsBankAccountDetails";
49
- readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
50
- readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
51
- readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
52
- readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
53
- readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
54
- };
55
- export type SepaBankAccountDetailsTypeEnum = typeof SepaBankAccountDetailsTypeEnum[keyof typeof SepaBankAccountDetailsTypeEnum];
56
- /**
57
- * Check if a given object implements the SepaBankAccountDetails interface.
58
- */
59
- export declare function instanceOfSepaBankAccountDetails(value: object): value is SepaBankAccountDetails;
60
- export declare function SepaBankAccountDetailsFromJSON(json: any): SepaBankAccountDetails;
61
- export declare function SepaBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SepaBankAccountDetails;
62
- export declare function SepaBankAccountDetailsToJSON(json: any): SepaBankAccountDetails;
63
- export declare function SepaBankAccountDetailsToJSONTyped(value?: SepaBankAccountDetails | null, ignoreDiscriminator?: boolean): any;
@@ -1,76 +0,0 @@
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.SepaBankAccountDetailsTypeEnum = void 0;
17
- exports.instanceOfSepaBankAccountDetails = instanceOfSepaBankAccountDetails;
18
- exports.SepaBankAccountDetailsFromJSON = SepaBankAccountDetailsFromJSON;
19
- exports.SepaBankAccountDetailsFromJSONTyped = SepaBankAccountDetailsFromJSONTyped;
20
- exports.SepaBankAccountDetailsToJSON = SepaBankAccountDetailsToJSON;
21
- exports.SepaBankAccountDetailsToJSONTyped = SepaBankAccountDetailsToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.SepaBankAccountDetailsTypeEnum = {
26
- UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
27
- US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
28
- CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
- NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
- AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
- SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
32
- SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
33
- };
34
- /**
35
- * Check if a given object implements the SepaBankAccountDetails interface.
36
- */
37
- function instanceOfSepaBankAccountDetails(value) {
38
- if (!('type' in value) || value['type'] === undefined)
39
- return false;
40
- if (!('countryCode' in value) || value['countryCode'] === undefined)
41
- return false;
42
- if (!('bic' in value) || value['bic'] === undefined)
43
- return false;
44
- if (!('iban' in value) || value['iban'] === undefined)
45
- return false;
46
- return true;
47
- }
48
- function SepaBankAccountDetailsFromJSON(json) {
49
- return SepaBankAccountDetailsFromJSONTyped(json, false);
50
- }
51
- function SepaBankAccountDetailsFromJSONTyped(json, ignoreDiscriminator) {
52
- if (json == null) {
53
- return json;
54
- }
55
- return {
56
- 'type': json['type'],
57
- 'countryCode': json['countryCode'],
58
- 'bic': json['bic'],
59
- 'iban': json['iban'],
60
- };
61
- }
62
- function SepaBankAccountDetailsToJSON(json) {
63
- return SepaBankAccountDetailsToJSONTyped(json, false);
64
- }
65
- function SepaBankAccountDetailsToJSONTyped(value, ignoreDiscriminator) {
66
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
67
- if (value == null) {
68
- return value;
69
- }
70
- return {
71
- 'type': value['type'],
72
- 'countryCode': value['countryCode'],
73
- 'bic': value['bic'],
74
- 'iban': value['iban'],
75
- };
76
- }