@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
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { CreateBankAccountDetailsInput } from './CreateBankAccountDetailsInput';
17
+ import {
18
+ CreateBankAccountDetailsInputFromJSON,
19
+ CreateBankAccountDetailsInputFromJSONTyped,
20
+ CreateBankAccountDetailsInputToJSON,
21
+ CreateBankAccountDetailsInputToJSONTyped,
22
+ } from './CreateBankAccountDetailsInput';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -20,17 +28,17 @@ import { mapValues } from '../runtime';
20
28
  */
21
29
  export interface CreateBankAccountInput {
22
30
  /**
23
- * ISO 4217 currency code for the bank account
31
+ * ISO 4217 currency code of the bank account.
24
32
  * @type {string}
25
33
  * @memberof CreateBankAccountInput
26
34
  */
27
35
  currencyCode: string;
28
36
  /**
29
- * Country-specific bank account details. The required fields depend on the countryCode.
30
- * @type {object}
37
+ * The bank country and the bank details its format asks for.
38
+ * @type {CreateBankAccountDetailsInput}
31
39
  * @memberof CreateBankAccountInput
32
40
  */
33
- details: object;
41
+ details: CreateBankAccountDetailsInput;
34
42
  }
35
43
 
36
44
  /**
@@ -53,7 +61,7 @@ export function CreateBankAccountInputFromJSONTyped(json: any, ignoreDiscriminat
53
61
  return {
54
62
 
55
63
  'currencyCode': json['currencyCode'],
56
- 'details': json['details'],
64
+ 'details': CreateBankAccountDetailsInputFromJSON(json['details']),
57
65
  };
58
66
  }
59
67
 
@@ -69,7 +77,7 @@ export function CreateBankAccountInputToJSONTyped(value?: CreateBankAccountInput
69
77
  return {
70
78
 
71
79
  'currencyCode': value['currencyCode'],
72
- 'details': value['details'],
80
+ 'details': CreateBankAccountDetailsInputToJSON(value['details']),
73
81
  };
74
82
  }
75
83
 
@@ -0,0 +1,82 @@
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 SearchBankAccountInstitutionsInput
20
+ */
21
+ export interface SearchBankAccountInstitutionsInput {
22
+ /**
23
+ * The LOOKUP field to search for, as its format lists it, e.g. `bank_details.account_routing_value2`.
24
+ * @type {string}
25
+ * @memberof SearchBankAccountInstitutionsInput
26
+ */
27
+ path: string;
28
+ /**
29
+ * What the seller typed so far.
30
+ * @type {string}
31
+ * @memberof SearchBankAccountInstitutionsInput
32
+ */
33
+ keyword?: string;
34
+ /**
35
+ * The other fields filled in so far, by path: searching Japanese branches needs the chosen bank.
36
+ * @type {{ [key: string]: string; }}
37
+ * @memberof SearchBankAccountInstitutionsInput
38
+ */
39
+ fields?: { [key: string]: string; };
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the SearchBankAccountInstitutionsInput interface.
44
+ */
45
+ export function instanceOfSearchBankAccountInstitutionsInput(value: object): value is SearchBankAccountInstitutionsInput {
46
+ if (!('path' in value) || value['path'] === undefined) return false;
47
+ return true;
48
+ }
49
+
50
+ export function SearchBankAccountInstitutionsInputFromJSON(json: any): SearchBankAccountInstitutionsInput {
51
+ return SearchBankAccountInstitutionsInputFromJSONTyped(json, false);
52
+ }
53
+
54
+ export function SearchBankAccountInstitutionsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchBankAccountInstitutionsInput {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+
60
+ 'path': json['path'],
61
+ 'keyword': json['keyword'] == null ? undefined : json['keyword'],
62
+ 'fields': json['fields'] == null ? undefined : json['fields'],
63
+ };
64
+ }
65
+
66
+ export function SearchBankAccountInstitutionsInputToJSON(json: any): SearchBankAccountInstitutionsInput {
67
+ return SearchBankAccountInstitutionsInputToJSONTyped(json, false);
68
+ }
69
+
70
+ export function SearchBankAccountInstitutionsInputToJSONTyped(value?: SearchBankAccountInstitutionsInput | null, ignoreDiscriminator: boolean = false): any {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+
75
+ return {
76
+
77
+ 'path': value['path'],
78
+ 'keyword': value['keyword'],
79
+ 'fields': value['fields'],
80
+ };
81
+ }
82
+
@@ -2,8 +2,8 @@
2
2
  /* eslint-disable */
3
3
  export * from './AccountAliasDto';
4
4
  export * from './AccountAliasInput';
5
+ export * from './AccountBankAccountDetailsDto';
5
6
  export * from './AccountBankAccountDto';
6
- export * from './AccountBankAccountDtoDetails';
7
7
  export * from './AccountBankAccountSummaryDto';
8
8
  export * from './AccountChallengeRewardUsageListItemDto';
9
9
  export * from './AccountChallengeRewardUsageListItemDtoMetadata';
@@ -84,7 +84,6 @@ export * from './ApiKeyDto';
84
84
  export * from './ApiKeyScopeDto';
85
85
  export * from './ApplyDomainEditInput';
86
86
  export * from './AssociateVisitorInput';
87
- export * from './AuBankAccountDetails';
88
87
  export * from './AuctionBidDto';
89
88
  export * from './AuctionBidInput';
90
89
  export * from './AuctionBidMetricsDto';
@@ -99,6 +98,12 @@ export * from './AuctionListItemDtoDomainInformation';
99
98
  export * from './AuctionListItemDtoSellerAccount';
100
99
  export * from './AuctionsStatsDto';
101
100
  export * from './BadRequestException';
101
+ export * from './BankAccountFormatCountryDto';
102
+ export * from './BankAccountFormatDto';
103
+ export * from './BankAccountFormatFieldDto';
104
+ export * from './BankAccountFormatFieldOptionDto';
105
+ export * from './BankAccountFormatFieldType';
106
+ export * from './BankAccountFormatsDto';
102
107
  export * from './BatchDeleteBuyerLeadsInput';
103
108
  export * from './BatchImportPreviewDto';
104
109
  export * from './BatchReadBuyerLeadMessageInput';
@@ -143,7 +148,6 @@ export * from './BuyerSessionDto';
143
148
  export * from './BuyerSubscriptionListItemDto';
144
149
  export * from './BuyerSubscriptionListItemDtoDomainInformation';
145
150
  export * from './BuyerTaskDetailsDto';
146
- export * from './CaBankAccountDetails';
147
151
  export * from './ChallengeRewardBalanceDto';
148
152
  export * from './ChangeInvoiceStatusInput';
149
153
  export * from './ChangeOrderStatusInput';
@@ -180,6 +184,7 @@ export * from './CreateAccountNoteInput';
180
184
  export * from './CreateAccountPaymentInput';
181
185
  export * from './CreateAccountPaymentManualTransactionInput';
182
186
  export * from './CreateApiKeyInput';
187
+ export * from './CreateBankAccountDetailsInput';
183
188
  export * from './CreateBankAccountInput';
184
189
  export * from './CreateBuyerDomainAppraisalRequestInput';
185
190
  export * from './CreateBuyerLeadMessageInput';
@@ -398,7 +403,6 @@ export * from './MoneyInput';
398
403
  export * from './MozMetrics';
399
404
  export * from './NotFoundException';
400
405
  export * from './NotificationsUnsubscribeResultDto';
401
- export * from './NzBankAccountDetails';
402
406
  export * from './ObjectId';
403
407
  export * from './OrderCompanyInfoDto';
404
408
  export * from './OrderCompanyTaxIdDto';
@@ -458,7 +462,7 @@ export * from './SalesCountCommissionPayloadDto';
458
462
  export * from './SalesCountCommissionPayloadInput';
459
463
  export * from './SalesCountCommissionPayloadSimulationInput';
460
464
  export * from './SalesCountCommissionReasonPayloadDto';
461
- export * from './SeBankAccountDetails';
465
+ export * from './SearchBankAccountInstitutionsInput';
462
466
  export * from './SellerAccountReferralListItemDto';
463
467
  export * from './SellerAffiliateCommissionDto';
464
468
  export * from './SellerAuctionListItemDto';
@@ -492,7 +496,6 @@ export * from './SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto';
492
496
  export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInput';
493
497
  export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel';
494
498
  export * from './SeoMetricsDto';
495
- export * from './SepaBankAccountDetails';
496
499
  export * from './SetAccountMarketplaceInput';
497
500
  export * from './SetDomainTransferConfirmationInput';
498
501
  export * from './SetNewPasswordInput';
@@ -535,7 +538,6 @@ export * from './TimeTableConfigurationInput';
535
538
  export * from './TopAffiliateSellerDto';
536
539
  export * from './TopSellerAccountDto';
537
540
  export * from './TranslateDomainSearchInput';
538
- export * from './UkBankAccountDetails';
539
541
  export * from './UpdateAccountBillingInformationInput';
540
542
  export * from './UpdateAccountChallengeRewardBalanceInput';
541
543
  export * from './UpdateAccountNoteInput';
@@ -566,7 +568,6 @@ export * from './UpdateSubscriptionInput';
566
568
  export * from './UpdateTaskMuteStatusForBuyerInput';
567
569
  export * from './UpdateTaskMuteStatusInput';
568
570
  export * from './UpdateUserNotificationSettingsInput';
569
- export * from './UsBankAccountDetails';
570
571
  export * from './UserNotificationAttachmentDto';
571
572
  export * from './UserNotificationDto';
572
573
  export * from './UserNotificationListItemDto';
@@ -1,42 +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
- import type { AuBankAccountDetails } from './AuBankAccountDetails';
13
- import type { CaBankAccountDetails } from './CaBankAccountDetails';
14
- import type { NzBankAccountDetails } from './NzBankAccountDetails';
15
- import type { SeBankAccountDetails } from './SeBankAccountDetails';
16
- import type { SepaBankAccountDetails } from './SepaBankAccountDetails';
17
- import type { UkBankAccountDetails } from './UkBankAccountDetails';
18
- import type { UsBankAccountDetails } from './UsBankAccountDetails';
19
- /**
20
- * @type AccountBankAccountDtoDetails
21
- * Country-specific bank account details (schema varies by type).
22
- * @export
23
- */
24
- export type AccountBankAccountDtoDetails = {
25
- type: 'AuBankAccountDetails';
26
- } & AuBankAccountDetails | {
27
- type: 'CaBankAccountDetails';
28
- } & CaBankAccountDetails | {
29
- type: 'NzBankAccountDetails';
30
- } & NzBankAccountDetails | {
31
- type: 'SeBankAccountDetails';
32
- } & SeBankAccountDetails | {
33
- type: 'SepaBankAccountDetails';
34
- } & SepaBankAccountDetails | {
35
- type: 'UkBankAccountDetails';
36
- } & UkBankAccountDetails | {
37
- type: 'UsBankAccountDetails';
38
- } & UsBankAccountDetails;
39
- export declare function AccountBankAccountDtoDetailsFromJSON(json: any): AccountBankAccountDtoDetails;
40
- export declare function AccountBankAccountDtoDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountBankAccountDtoDetails;
41
- export declare function AccountBankAccountDtoDetailsToJSON(json: any): any;
42
- export declare function AccountBankAccountDtoDetailsToJSONTyped(value?: AccountBankAccountDtoDetails | null, ignoreDiscriminator?: boolean): any;
@@ -1,79 +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.AccountBankAccountDtoDetailsFromJSON = AccountBankAccountDtoDetailsFromJSON;
17
- exports.AccountBankAccountDtoDetailsFromJSONTyped = AccountBankAccountDtoDetailsFromJSONTyped;
18
- exports.AccountBankAccountDtoDetailsToJSON = AccountBankAccountDtoDetailsToJSON;
19
- exports.AccountBankAccountDtoDetailsToJSONTyped = AccountBankAccountDtoDetailsToJSONTyped;
20
- var AuBankAccountDetails_1 = require("./AuBankAccountDetails");
21
- var CaBankAccountDetails_1 = require("./CaBankAccountDetails");
22
- var NzBankAccountDetails_1 = require("./NzBankAccountDetails");
23
- var SeBankAccountDetails_1 = require("./SeBankAccountDetails");
24
- var SepaBankAccountDetails_1 = require("./SepaBankAccountDetails");
25
- var UkBankAccountDetails_1 = require("./UkBankAccountDetails");
26
- var UsBankAccountDetails_1 = require("./UsBankAccountDetails");
27
- function AccountBankAccountDtoDetailsFromJSON(json) {
28
- return AccountBankAccountDtoDetailsFromJSONTyped(json, false);
29
- }
30
- function AccountBankAccountDtoDetailsFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- switch (json['type']) {
35
- case 'AuBankAccountDetails':
36
- return Object.assign({}, (0, AuBankAccountDetails_1.AuBankAccountDetailsFromJSONTyped)(json, true), { type: 'AuBankAccountDetails' });
37
- case 'CaBankAccountDetails':
38
- return Object.assign({}, (0, CaBankAccountDetails_1.CaBankAccountDetailsFromJSONTyped)(json, true), { type: 'CaBankAccountDetails' });
39
- case 'NzBankAccountDetails':
40
- return Object.assign({}, (0, NzBankAccountDetails_1.NzBankAccountDetailsFromJSONTyped)(json, true), { type: 'NzBankAccountDetails' });
41
- case 'SeBankAccountDetails':
42
- return Object.assign({}, (0, SeBankAccountDetails_1.SeBankAccountDetailsFromJSONTyped)(json, true), { type: 'SeBankAccountDetails' });
43
- case 'SepaBankAccountDetails':
44
- return Object.assign({}, (0, SepaBankAccountDetails_1.SepaBankAccountDetailsFromJSONTyped)(json, true), { type: 'SepaBankAccountDetails' });
45
- case 'UkBankAccountDetails':
46
- return Object.assign({}, (0, UkBankAccountDetails_1.UkBankAccountDetailsFromJSONTyped)(json, true), { type: 'UkBankAccountDetails' });
47
- case 'UsBankAccountDetails':
48
- return Object.assign({}, (0, UsBankAccountDetails_1.UsBankAccountDetailsFromJSONTyped)(json, true), { type: 'UsBankAccountDetails' });
49
- default:
50
- throw new Error("No variant of AccountBankAccountDtoDetails exists with 'type=".concat(json['type'], "'"));
51
- }
52
- }
53
- function AccountBankAccountDtoDetailsToJSON(json) {
54
- return AccountBankAccountDtoDetailsToJSONTyped(json, false);
55
- }
56
- function AccountBankAccountDtoDetailsToJSONTyped(value, ignoreDiscriminator) {
57
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
58
- if (value == null) {
59
- return value;
60
- }
61
- switch (value['type']) {
62
- case 'AuBankAccountDetails':
63
- return Object.assign({}, (0, AuBankAccountDetails_1.AuBankAccountDetailsToJSON)(value), { type: 'AuBankAccountDetails' });
64
- case 'CaBankAccountDetails':
65
- return Object.assign({}, (0, CaBankAccountDetails_1.CaBankAccountDetailsToJSON)(value), { type: 'CaBankAccountDetails' });
66
- case 'NzBankAccountDetails':
67
- return Object.assign({}, (0, NzBankAccountDetails_1.NzBankAccountDetailsToJSON)(value), { type: 'NzBankAccountDetails' });
68
- case 'SeBankAccountDetails':
69
- return Object.assign({}, (0, SeBankAccountDetails_1.SeBankAccountDetailsToJSON)(value), { type: 'SeBankAccountDetails' });
70
- case 'SepaBankAccountDetails':
71
- return Object.assign({}, (0, SepaBankAccountDetails_1.SepaBankAccountDetailsToJSON)(value), { type: 'SepaBankAccountDetails' });
72
- case 'UkBankAccountDetails':
73
- return Object.assign({}, (0, UkBankAccountDetails_1.UkBankAccountDetailsToJSON)(value), { type: 'UkBankAccountDetails' });
74
- case 'UsBankAccountDetails':
75
- return Object.assign({}, (0, UsBankAccountDetails_1.UsBankAccountDetailsToJSON)(value), { type: 'UsBankAccountDetails' });
76
- default:
77
- throw new Error("No variant of AccountBankAccountDtoDetails exists with 'type=".concat(value['type'], "'"));
78
- }
79
- }
@@ -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 AuBankAccountDetails
16
- */
17
- export interface AuBankAccountDetails {
18
- /**
19
- * Discriminator identifying the bank account details schema.
20
- * @type {string}
21
- * @memberof AuBankAccountDetails
22
- */
23
- type: AuBankAccountDetailsTypeEnum;
24
- /**
25
- * ISO country code (AU).
26
- * @type {string}
27
- * @memberof AuBankAccountDetails
28
- */
29
- countryCode: string;
30
- /**
31
- * Australian account number.
32
- * @type {string}
33
- * @memberof AuBankAccountDetails
34
- */
35
- accountNumber: string;
36
- /**
37
- * Australian BSB (Bank-State-Branch) code.
38
- * @type {string}
39
- * @memberof AuBankAccountDetails
40
- */
41
- bsb: string;
42
- }
43
- /**
44
- * @export
45
- */
46
- export declare const AuBankAccountDetailsTypeEnum: {
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 AuBankAccountDetailsTypeEnum = typeof AuBankAccountDetailsTypeEnum[keyof typeof AuBankAccountDetailsTypeEnum];
56
- /**
57
- * Check if a given object implements the AuBankAccountDetails interface.
58
- */
59
- export declare function instanceOfAuBankAccountDetails(value: object): value is AuBankAccountDetails;
60
- export declare function AuBankAccountDetailsFromJSON(json: any): AuBankAccountDetails;
61
- export declare function AuBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuBankAccountDetails;
62
- export declare function AuBankAccountDetailsToJSON(json: any): AuBankAccountDetails;
63
- export declare function AuBankAccountDetailsToJSONTyped(value?: AuBankAccountDetails | 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.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
- }