@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.
- package/.openapi-generator/FILES +9 -8
- package/README.md +3 -3
- package/dist/apis/BankAccountsApi.d.ts +40 -1
- package/dist/apis/BankAccountsApi.js +197 -0
- package/dist/models/AccountBankAccountDetailsDto.d.ts +40 -0
- package/dist/models/AccountBankAccountDetailsDto.js +55 -0
- package/dist/models/AccountBankAccountDto.d.ts +10 -4
- package/dist/models/AccountBankAccountDto.js +7 -3
- package/dist/models/BankAccountFormatCountryDto.d.ts +38 -0
- package/dist/models/BankAccountFormatCountryDto.js +55 -0
- package/dist/models/BankAccountFormatDto.d.ts +45 -0
- package/dist/models/BankAccountFormatDto.js +60 -0
- package/dist/models/BankAccountFormatFieldDto.d.ts +76 -0
- package/dist/models/BankAccountFormatFieldDto.js +81 -0
- package/dist/models/BankAccountFormatFieldOptionDto.d.ts +38 -0
- package/dist/models/BankAccountFormatFieldOptionDto.js +55 -0
- package/dist/models/BankAccountFormatFieldType.d.ts +26 -0
- package/dist/models/BankAccountFormatFieldType.js +52 -0
- package/dist/models/BankAccountFormatsDto.d.ts +33 -0
- package/dist/models/BankAccountFormatsDto.js +52 -0
- package/dist/models/CreateBankAccountDetailsInput.d.ts +40 -0
- package/dist/models/CreateBankAccountDetailsInput.js +55 -0
- package/dist/models/CreateBankAccountInput.d.ts +5 -4
- package/dist/models/CreateBankAccountInput.js +3 -2
- package/dist/models/SearchBankAccountInstitutionsInput.d.ts +46 -0
- package/dist/models/SearchBankAccountInstitutionsInput.js +55 -0
- package/dist/models/index.d.ts +9 -8
- package/dist/models/index.js +9 -8
- package/package.json +1 -1
- package/src/apis/BankAccountsApi.ts +181 -0
- package/src/models/AccountBankAccountDetailsDto.ts +75 -0
- package/src/models/AccountBankAccountDto.ts +20 -11
- package/src/models/BankAccountFormatCountryDto.ts +75 -0
- package/src/models/BankAccountFormatDto.ts +92 -0
- package/src/models/BankAccountFormatFieldDto.ts +146 -0
- package/src/models/BankAccountFormatFieldOptionDto.ts +75 -0
- package/src/models/BankAccountFormatFieldType.ts +54 -0
- package/src/models/BankAccountFormatsDto.ts +74 -0
- package/src/models/CreateBankAccountDetailsInput.ts +75 -0
- package/src/models/CreateBankAccountInput.ts +14 -6
- package/src/models/SearchBankAccountInstitutionsInput.ts +82 -0
- package/src/models/index.ts +9 -8
- package/dist/models/AccountBankAccountDtoDetails.d.ts +0 -42
- package/dist/models/AccountBankAccountDtoDetails.js +0 -79
- package/dist/models/AuBankAccountDetails.d.ts +0 -63
- package/dist/models/AuBankAccountDetails.js +0 -76
- package/dist/models/CaBankAccountDetails.d.ts +0 -69
- package/dist/models/CaBankAccountDetails.js +0 -80
- package/dist/models/NzBankAccountDetails.d.ts +0 -57
- package/dist/models/NzBankAccountDetails.js +0 -72
- package/dist/models/SeBankAccountDetails.d.ts +0 -75
- package/dist/models/SeBankAccountDetails.js +0 -84
- package/dist/models/SepaBankAccountDetails.d.ts +0 -63
- package/dist/models/SepaBankAccountDetails.js +0 -76
- package/dist/models/UkBankAccountDetails.d.ts +0 -63
- package/dist/models/UkBankAccountDetails.js +0 -76
- package/dist/models/UsBankAccountDetails.d.ts +0 -63
- package/dist/models/UsBankAccountDetails.js +0 -76
- package/src/models/AccountBankAccountDtoDetails.ts +0 -128
- package/src/models/AuBankAccountDetails.ts +0 -109
- package/src/models/CaBankAccountDetails.ts +0 -118
- package/src/models/NzBankAccountDetails.ts +0 -100
- package/src/models/SeBankAccountDetails.ts +0 -127
- package/src/models/SepaBankAccountDetails.ts +0 -109
- package/src/models/UkBankAccountDetails.ts +0 -109
- package/src/models/UsBankAccountDetails.ts +0 -109
|
@@ -18,6 +18,7 @@ exports.CreateBankAccountInputFromJSON = CreateBankAccountInputFromJSON;
|
|
|
18
18
|
exports.CreateBankAccountInputFromJSONTyped = CreateBankAccountInputFromJSONTyped;
|
|
19
19
|
exports.CreateBankAccountInputToJSON = CreateBankAccountInputToJSON;
|
|
20
20
|
exports.CreateBankAccountInputToJSONTyped = CreateBankAccountInputToJSONTyped;
|
|
21
|
+
var CreateBankAccountDetailsInput_1 = require("./CreateBankAccountDetailsInput");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the CreateBankAccountInput interface.
|
|
23
24
|
*/
|
|
@@ -37,7 +38,7 @@ function CreateBankAccountInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
}
|
|
38
39
|
return {
|
|
39
40
|
'currencyCode': json['currencyCode'],
|
|
40
|
-
'details': json['details'],
|
|
41
|
+
'details': (0, CreateBankAccountDetailsInput_1.CreateBankAccountDetailsInputFromJSON)(json['details']),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
function CreateBankAccountInputToJSON(json) {
|
|
@@ -50,6 +51,6 @@ function CreateBankAccountInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
50
51
|
}
|
|
51
52
|
return {
|
|
52
53
|
'currencyCode': value['currencyCode'],
|
|
53
|
-
'details': value['details'],
|
|
54
|
+
'details': (0, CreateBankAccountDetailsInput_1.CreateBankAccountDetailsInputToJSON)(value['details']),
|
|
54
55
|
};
|
|
55
56
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 SearchBankAccountInstitutionsInput
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchBankAccountInstitutionsInput {
|
|
18
|
+
/**
|
|
19
|
+
* The LOOKUP field to search for, as its format lists it, e.g. `bank_details.account_routing_value2`.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SearchBankAccountInstitutionsInput
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
* What the seller typed so far.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SearchBankAccountInstitutionsInput
|
|
28
|
+
*/
|
|
29
|
+
keyword?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The other fields filled in so far, by path: searching Japanese branches needs the chosen bank.
|
|
32
|
+
* @type {{ [key: string]: string; }}
|
|
33
|
+
* @memberof SearchBankAccountInstitutionsInput
|
|
34
|
+
*/
|
|
35
|
+
fields?: {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the SearchBankAccountInstitutionsInput interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfSearchBankAccountInstitutionsInput(value: object): value is SearchBankAccountInstitutionsInput;
|
|
43
|
+
export declare function SearchBankAccountInstitutionsInputFromJSON(json: any): SearchBankAccountInstitutionsInput;
|
|
44
|
+
export declare function SearchBankAccountInstitutionsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchBankAccountInstitutionsInput;
|
|
45
|
+
export declare function SearchBankAccountInstitutionsInputToJSON(json: any): SearchBankAccountInstitutionsInput;
|
|
46
|
+
export declare function SearchBankAccountInstitutionsInputToJSONTyped(value?: SearchBankAccountInstitutionsInput | 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.instanceOfSearchBankAccountInstitutionsInput = instanceOfSearchBankAccountInstitutionsInput;
|
|
17
|
+
exports.SearchBankAccountInstitutionsInputFromJSON = SearchBankAccountInstitutionsInputFromJSON;
|
|
18
|
+
exports.SearchBankAccountInstitutionsInputFromJSONTyped = SearchBankAccountInstitutionsInputFromJSONTyped;
|
|
19
|
+
exports.SearchBankAccountInstitutionsInputToJSON = SearchBankAccountInstitutionsInputToJSON;
|
|
20
|
+
exports.SearchBankAccountInstitutionsInputToJSONTyped = SearchBankAccountInstitutionsInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SearchBankAccountInstitutionsInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSearchBankAccountInstitutionsInput(value) {
|
|
25
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function SearchBankAccountInstitutionsInputFromJSON(json) {
|
|
30
|
+
return SearchBankAccountInstitutionsInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function SearchBankAccountInstitutionsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'path': json['path'],
|
|
38
|
+
'keyword': json['keyword'] == null ? undefined : json['keyword'],
|
|
39
|
+
'fields': json['fields'] == null ? undefined : json['fields'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function SearchBankAccountInstitutionsInputToJSON(json) {
|
|
43
|
+
return SearchBankAccountInstitutionsInputToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function SearchBankAccountInstitutionsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'path': value['path'],
|
|
52
|
+
'keyword': value['keyword'],
|
|
53
|
+
'fields': value['fields'],
|
|
54
|
+
};
|
|
55
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './AccountAliasDto';
|
|
2
2
|
export * from './AccountAliasInput';
|
|
3
|
+
export * from './AccountBankAccountDetailsDto';
|
|
3
4
|
export * from './AccountBankAccountDto';
|
|
4
|
-
export * from './AccountBankAccountDtoDetails';
|
|
5
5
|
export * from './AccountBankAccountSummaryDto';
|
|
6
6
|
export * from './AccountChallengeRewardUsageListItemDto';
|
|
7
7
|
export * from './AccountChallengeRewardUsageListItemDtoMetadata';
|
|
@@ -82,7 +82,6 @@ export * from './ApiKeyDto';
|
|
|
82
82
|
export * from './ApiKeyScopeDto';
|
|
83
83
|
export * from './ApplyDomainEditInput';
|
|
84
84
|
export * from './AssociateVisitorInput';
|
|
85
|
-
export * from './AuBankAccountDetails';
|
|
86
85
|
export * from './AuctionBidDto';
|
|
87
86
|
export * from './AuctionBidInput';
|
|
88
87
|
export * from './AuctionBidMetricsDto';
|
|
@@ -97,6 +96,12 @@ export * from './AuctionListItemDtoDomainInformation';
|
|
|
97
96
|
export * from './AuctionListItemDtoSellerAccount';
|
|
98
97
|
export * from './AuctionsStatsDto';
|
|
99
98
|
export * from './BadRequestException';
|
|
99
|
+
export * from './BankAccountFormatCountryDto';
|
|
100
|
+
export * from './BankAccountFormatDto';
|
|
101
|
+
export * from './BankAccountFormatFieldDto';
|
|
102
|
+
export * from './BankAccountFormatFieldOptionDto';
|
|
103
|
+
export * from './BankAccountFormatFieldType';
|
|
104
|
+
export * from './BankAccountFormatsDto';
|
|
100
105
|
export * from './BatchDeleteBuyerLeadsInput';
|
|
101
106
|
export * from './BatchImportPreviewDto';
|
|
102
107
|
export * from './BatchReadBuyerLeadMessageInput';
|
|
@@ -141,7 +146,6 @@ export * from './BuyerSessionDto';
|
|
|
141
146
|
export * from './BuyerSubscriptionListItemDto';
|
|
142
147
|
export * from './BuyerSubscriptionListItemDtoDomainInformation';
|
|
143
148
|
export * from './BuyerTaskDetailsDto';
|
|
144
|
-
export * from './CaBankAccountDetails';
|
|
145
149
|
export * from './ChallengeRewardBalanceDto';
|
|
146
150
|
export * from './ChangeInvoiceStatusInput';
|
|
147
151
|
export * from './ChangeOrderStatusInput';
|
|
@@ -178,6 +182,7 @@ export * from './CreateAccountNoteInput';
|
|
|
178
182
|
export * from './CreateAccountPaymentInput';
|
|
179
183
|
export * from './CreateAccountPaymentManualTransactionInput';
|
|
180
184
|
export * from './CreateApiKeyInput';
|
|
185
|
+
export * from './CreateBankAccountDetailsInput';
|
|
181
186
|
export * from './CreateBankAccountInput';
|
|
182
187
|
export * from './CreateBuyerDomainAppraisalRequestInput';
|
|
183
188
|
export * from './CreateBuyerLeadMessageInput';
|
|
@@ -396,7 +401,6 @@ export * from './MoneyInput';
|
|
|
396
401
|
export * from './MozMetrics';
|
|
397
402
|
export * from './NotFoundException';
|
|
398
403
|
export * from './NotificationsUnsubscribeResultDto';
|
|
399
|
-
export * from './NzBankAccountDetails';
|
|
400
404
|
export * from './ObjectId';
|
|
401
405
|
export * from './OrderCompanyInfoDto';
|
|
402
406
|
export * from './OrderCompanyTaxIdDto';
|
|
@@ -456,7 +460,7 @@ export * from './SalesCountCommissionPayloadDto';
|
|
|
456
460
|
export * from './SalesCountCommissionPayloadInput';
|
|
457
461
|
export * from './SalesCountCommissionPayloadSimulationInput';
|
|
458
462
|
export * from './SalesCountCommissionReasonPayloadDto';
|
|
459
|
-
export * from './
|
|
463
|
+
export * from './SearchBankAccountInstitutionsInput';
|
|
460
464
|
export * from './SellerAccountReferralListItemDto';
|
|
461
465
|
export * from './SellerAffiliateCommissionDto';
|
|
462
466
|
export * from './SellerAuctionListItemDto';
|
|
@@ -490,7 +494,6 @@ export * from './SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto';
|
|
|
490
494
|
export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInput';
|
|
491
495
|
export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel';
|
|
492
496
|
export * from './SeoMetricsDto';
|
|
493
|
-
export * from './SepaBankAccountDetails';
|
|
494
497
|
export * from './SetAccountMarketplaceInput';
|
|
495
498
|
export * from './SetDomainTransferConfirmationInput';
|
|
496
499
|
export * from './SetNewPasswordInput';
|
|
@@ -533,7 +536,6 @@ export * from './TimeTableConfigurationInput';
|
|
|
533
536
|
export * from './TopAffiliateSellerDto';
|
|
534
537
|
export * from './TopSellerAccountDto';
|
|
535
538
|
export * from './TranslateDomainSearchInput';
|
|
536
|
-
export * from './UkBankAccountDetails';
|
|
537
539
|
export * from './UpdateAccountBillingInformationInput';
|
|
538
540
|
export * from './UpdateAccountChallengeRewardBalanceInput';
|
|
539
541
|
export * from './UpdateAccountNoteInput';
|
|
@@ -564,7 +566,6 @@ export * from './UpdateSubscriptionInput';
|
|
|
564
566
|
export * from './UpdateTaskMuteStatusForBuyerInput';
|
|
565
567
|
export * from './UpdateTaskMuteStatusInput';
|
|
566
568
|
export * from './UpdateUserNotificationSettingsInput';
|
|
567
|
-
export * from './UsBankAccountDetails';
|
|
568
569
|
export * from './UserNotificationAttachmentDto';
|
|
569
570
|
export * from './UserNotificationDto';
|
|
570
571
|
export * from './UserNotificationListItemDto';
|
package/dist/models/index.js
CHANGED
|
@@ -18,8 +18,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AccountAliasDto"), exports);
|
|
20
20
|
__exportStar(require("./AccountAliasInput"), exports);
|
|
21
|
+
__exportStar(require("./AccountBankAccountDetailsDto"), exports);
|
|
21
22
|
__exportStar(require("./AccountBankAccountDto"), exports);
|
|
22
|
-
__exportStar(require("./AccountBankAccountDtoDetails"), exports);
|
|
23
23
|
__exportStar(require("./AccountBankAccountSummaryDto"), exports);
|
|
24
24
|
__exportStar(require("./AccountChallengeRewardUsageListItemDto"), exports);
|
|
25
25
|
__exportStar(require("./AccountChallengeRewardUsageListItemDtoMetadata"), exports);
|
|
@@ -100,7 +100,6 @@ __exportStar(require("./ApiKeyDto"), exports);
|
|
|
100
100
|
__exportStar(require("./ApiKeyScopeDto"), exports);
|
|
101
101
|
__exportStar(require("./ApplyDomainEditInput"), exports);
|
|
102
102
|
__exportStar(require("./AssociateVisitorInput"), exports);
|
|
103
|
-
__exportStar(require("./AuBankAccountDetails"), exports);
|
|
104
103
|
__exportStar(require("./AuctionBidDto"), exports);
|
|
105
104
|
__exportStar(require("./AuctionBidInput"), exports);
|
|
106
105
|
__exportStar(require("./AuctionBidMetricsDto"), exports);
|
|
@@ -115,6 +114,12 @@ __exportStar(require("./AuctionListItemDtoDomainInformation"), exports);
|
|
|
115
114
|
__exportStar(require("./AuctionListItemDtoSellerAccount"), exports);
|
|
116
115
|
__exportStar(require("./AuctionsStatsDto"), exports);
|
|
117
116
|
__exportStar(require("./BadRequestException"), exports);
|
|
117
|
+
__exportStar(require("./BankAccountFormatCountryDto"), exports);
|
|
118
|
+
__exportStar(require("./BankAccountFormatDto"), exports);
|
|
119
|
+
__exportStar(require("./BankAccountFormatFieldDto"), exports);
|
|
120
|
+
__exportStar(require("./BankAccountFormatFieldOptionDto"), exports);
|
|
121
|
+
__exportStar(require("./BankAccountFormatFieldType"), exports);
|
|
122
|
+
__exportStar(require("./BankAccountFormatsDto"), exports);
|
|
118
123
|
__exportStar(require("./BatchDeleteBuyerLeadsInput"), exports);
|
|
119
124
|
__exportStar(require("./BatchImportPreviewDto"), exports);
|
|
120
125
|
__exportStar(require("./BatchReadBuyerLeadMessageInput"), exports);
|
|
@@ -159,7 +164,6 @@ __exportStar(require("./BuyerSessionDto"), exports);
|
|
|
159
164
|
__exportStar(require("./BuyerSubscriptionListItemDto"), exports);
|
|
160
165
|
__exportStar(require("./BuyerSubscriptionListItemDtoDomainInformation"), exports);
|
|
161
166
|
__exportStar(require("./BuyerTaskDetailsDto"), exports);
|
|
162
|
-
__exportStar(require("./CaBankAccountDetails"), exports);
|
|
163
167
|
__exportStar(require("./ChallengeRewardBalanceDto"), exports);
|
|
164
168
|
__exportStar(require("./ChangeInvoiceStatusInput"), exports);
|
|
165
169
|
__exportStar(require("./ChangeOrderStatusInput"), exports);
|
|
@@ -196,6 +200,7 @@ __exportStar(require("./CreateAccountNoteInput"), exports);
|
|
|
196
200
|
__exportStar(require("./CreateAccountPaymentInput"), exports);
|
|
197
201
|
__exportStar(require("./CreateAccountPaymentManualTransactionInput"), exports);
|
|
198
202
|
__exportStar(require("./CreateApiKeyInput"), exports);
|
|
203
|
+
__exportStar(require("./CreateBankAccountDetailsInput"), exports);
|
|
199
204
|
__exportStar(require("./CreateBankAccountInput"), exports);
|
|
200
205
|
__exportStar(require("./CreateBuyerDomainAppraisalRequestInput"), exports);
|
|
201
206
|
__exportStar(require("./CreateBuyerLeadMessageInput"), exports);
|
|
@@ -414,7 +419,6 @@ __exportStar(require("./MoneyInput"), exports);
|
|
|
414
419
|
__exportStar(require("./MozMetrics"), exports);
|
|
415
420
|
__exportStar(require("./NotFoundException"), exports);
|
|
416
421
|
__exportStar(require("./NotificationsUnsubscribeResultDto"), exports);
|
|
417
|
-
__exportStar(require("./NzBankAccountDetails"), exports);
|
|
418
422
|
__exportStar(require("./ObjectId"), exports);
|
|
419
423
|
__exportStar(require("./OrderCompanyInfoDto"), exports);
|
|
420
424
|
__exportStar(require("./OrderCompanyTaxIdDto"), exports);
|
|
@@ -474,7 +478,7 @@ __exportStar(require("./SalesCountCommissionPayloadDto"), exports);
|
|
|
474
478
|
__exportStar(require("./SalesCountCommissionPayloadInput"), exports);
|
|
475
479
|
__exportStar(require("./SalesCountCommissionPayloadSimulationInput"), exports);
|
|
476
480
|
__exportStar(require("./SalesCountCommissionReasonPayloadDto"), exports);
|
|
477
|
-
__exportStar(require("./
|
|
481
|
+
__exportStar(require("./SearchBankAccountInstitutionsInput"), exports);
|
|
478
482
|
__exportStar(require("./SellerAccountReferralListItemDto"), exports);
|
|
479
483
|
__exportStar(require("./SellerAffiliateCommissionDto"), exports);
|
|
480
484
|
__exportStar(require("./SellerAuctionListItemDto"), exports);
|
|
@@ -508,7 +512,6 @@ __exportStar(require("./SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto"), ex
|
|
|
508
512
|
__exportStar(require("./SendAdminLeadAiPriceNegotiatorAgentChatMessageInput"), exports);
|
|
509
513
|
__exportStar(require("./SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel"), exports);
|
|
510
514
|
__exportStar(require("./SeoMetricsDto"), exports);
|
|
511
|
-
__exportStar(require("./SepaBankAccountDetails"), exports);
|
|
512
515
|
__exportStar(require("./SetAccountMarketplaceInput"), exports);
|
|
513
516
|
__exportStar(require("./SetDomainTransferConfirmationInput"), exports);
|
|
514
517
|
__exportStar(require("./SetNewPasswordInput"), exports);
|
|
@@ -551,7 +554,6 @@ __exportStar(require("./TimeTableConfigurationInput"), exports);
|
|
|
551
554
|
__exportStar(require("./TopAffiliateSellerDto"), exports);
|
|
552
555
|
__exportStar(require("./TopSellerAccountDto"), exports);
|
|
553
556
|
__exportStar(require("./TranslateDomainSearchInput"), exports);
|
|
554
|
-
__exportStar(require("./UkBankAccountDetails"), exports);
|
|
555
557
|
__exportStar(require("./UpdateAccountBillingInformationInput"), exports);
|
|
556
558
|
__exportStar(require("./UpdateAccountChallengeRewardBalanceInput"), exports);
|
|
557
559
|
__exportStar(require("./UpdateAccountNoteInput"), exports);
|
|
@@ -582,7 +584,6 @@ __exportStar(require("./UpdateSubscriptionInput"), exports);
|
|
|
582
584
|
__exportStar(require("./UpdateTaskMuteStatusForBuyerInput"), exports);
|
|
583
585
|
__exportStar(require("./UpdateTaskMuteStatusInput"), exports);
|
|
584
586
|
__exportStar(require("./UpdateUserNotificationSettingsInput"), exports);
|
|
585
|
-
__exportStar(require("./UsBankAccountDetails"), exports);
|
|
586
587
|
__exportStar(require("./UserNotificationAttachmentDto"), exports);
|
|
587
588
|
__exportStar(require("./UserNotificationDto"), exports);
|
|
588
589
|
__exportStar(require("./UserNotificationListItemDto"), exports);
|
package/package.json
CHANGED
|
@@ -17,7 +17,11 @@ import * as runtime from '../runtime';
|
|
|
17
17
|
import type {
|
|
18
18
|
AccountBankAccountDto,
|
|
19
19
|
AirwallexBankAccountDetailsDto,
|
|
20
|
+
BankAccountFormatDto,
|
|
21
|
+
BankAccountFormatFieldOptionDto,
|
|
22
|
+
BankAccountFormatsDto,
|
|
20
23
|
CreateBankAccountInput,
|
|
24
|
+
SearchBankAccountInstitutionsInput,
|
|
21
25
|
ValidationException,
|
|
22
26
|
} from '../models/index';
|
|
23
27
|
import {
|
|
@@ -25,8 +29,16 @@ import {
|
|
|
25
29
|
AccountBankAccountDtoToJSON,
|
|
26
30
|
AirwallexBankAccountDetailsDtoFromJSON,
|
|
27
31
|
AirwallexBankAccountDetailsDtoToJSON,
|
|
32
|
+
BankAccountFormatDtoFromJSON,
|
|
33
|
+
BankAccountFormatDtoToJSON,
|
|
34
|
+
BankAccountFormatFieldOptionDtoFromJSON,
|
|
35
|
+
BankAccountFormatFieldOptionDtoToJSON,
|
|
36
|
+
BankAccountFormatsDtoFromJSON,
|
|
37
|
+
BankAccountFormatsDtoToJSON,
|
|
28
38
|
CreateBankAccountInputFromJSON,
|
|
29
39
|
CreateBankAccountInputToJSON,
|
|
40
|
+
SearchBankAccountInstitutionsInputFromJSON,
|
|
41
|
+
SearchBankAccountInstitutionsInputToJSON,
|
|
30
42
|
ValidationExceptionFromJSON,
|
|
31
43
|
ValidationExceptionToJSON,
|
|
32
44
|
} from '../models/index';
|
|
@@ -41,6 +53,11 @@ export interface BankAccountsApiDeleteBankAccountRequest {
|
|
|
41
53
|
bankAccountId: string;
|
|
42
54
|
}
|
|
43
55
|
|
|
56
|
+
export interface BankAccountsApiGetBankAccountFormatRequest {
|
|
57
|
+
countryCode: string;
|
|
58
|
+
currencyCode: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
44
61
|
export interface BankAccountsApiGetBankAccountToUseForMicrodepositRequest {
|
|
45
62
|
bankAccountId: string;
|
|
46
63
|
accountId: string;
|
|
@@ -55,6 +72,12 @@ export interface BankAccountsApiMakeBankAccountPrimaryRequest {
|
|
|
55
72
|
bankAccountId: string;
|
|
56
73
|
}
|
|
57
74
|
|
|
75
|
+
export interface BankAccountsApiSearchBankAccountInstitutionsRequest {
|
|
76
|
+
countryCode: string;
|
|
77
|
+
currencyCode: string;
|
|
78
|
+
searchBankAccountInstitutionsInput: SearchBankAccountInstitutionsInput;
|
|
79
|
+
}
|
|
80
|
+
|
|
58
81
|
/**
|
|
59
82
|
*
|
|
60
83
|
*/
|
|
@@ -169,6 +192,60 @@ export class BankAccountsApi extends runtime.BaseAPI {
|
|
|
169
192
|
await this.deleteBankAccountRaw(requestParameters, initOverrides);
|
|
170
193
|
}
|
|
171
194
|
|
|
195
|
+
/**
|
|
196
|
+
* Returns the fields a bank account in this country and currency needs, to render the form from and submit in `details.fields`. **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
197
|
+
* Get the bank details to ask for
|
|
198
|
+
*/
|
|
199
|
+
async getBankAccountFormatRaw(requestParameters: BankAccountsApiGetBankAccountFormatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BankAccountFormatDto>> {
|
|
200
|
+
if (requestParameters['countryCode'] == null) {
|
|
201
|
+
throw new runtime.RequiredError(
|
|
202
|
+
'countryCode',
|
|
203
|
+
'Required parameter "countryCode" was null or undefined when calling getBankAccountFormat().'
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
if (requestParameters['currencyCode'] == null) {
|
|
208
|
+
throw new runtime.RequiredError(
|
|
209
|
+
'currencyCode',
|
|
210
|
+
'Required parameter "currencyCode" was null or undefined when calling getBankAccountFormat().'
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
const queryParameters: any = {};
|
|
215
|
+
|
|
216
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
217
|
+
|
|
218
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
219
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
223
|
+
const token = this.configuration.accessToken;
|
|
224
|
+
const tokenString = await token("bearer", []);
|
|
225
|
+
|
|
226
|
+
if (tokenString) {
|
|
227
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
const response = await this.request({
|
|
231
|
+
path: `/private/bank-account-formats/{countryCode}/{currencyCode}`.replace(`{${"countryCode"}}`, encodeURIComponent(String(requestParameters['countryCode']))).replace(`{${"currencyCode"}}`, encodeURIComponent(String(requestParameters['currencyCode']))),
|
|
232
|
+
method: 'GET',
|
|
233
|
+
headers: headerParameters,
|
|
234
|
+
query: queryParameters,
|
|
235
|
+
}, initOverrides);
|
|
236
|
+
|
|
237
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BankAccountFormatDtoFromJSON(jsonValue));
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Returns the fields a bank account in this country and currency needs, to render the form from and submit in `details.fields`. **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
242
|
+
* Get the bank details to ask for
|
|
243
|
+
*/
|
|
244
|
+
async getBankAccountFormat(requestParameters: BankAccountsApiGetBankAccountFormatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BankAccountFormatDto> {
|
|
245
|
+
const response = await this.getBankAccountFormatRaw(requestParameters, initOverrides);
|
|
246
|
+
return await response.value();
|
|
247
|
+
}
|
|
248
|
+
|
|
172
249
|
/**
|
|
173
250
|
* Returns bank account details to use for microdeposit verification. **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
174
251
|
* Get microdeposit bank account details
|
|
@@ -223,6 +300,46 @@ export class BankAccountsApi extends runtime.BaseAPI {
|
|
|
223
300
|
return await response.value();
|
|
224
301
|
}
|
|
225
302
|
|
|
303
|
+
/**
|
|
304
|
+
* Returns the bank countries and currencies we pay out to, for the current seller\'s entity type (business or personal). **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
305
|
+
* List bank account countries and currencies
|
|
306
|
+
*/
|
|
307
|
+
async listBankAccountFormatsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BankAccountFormatsDto>> {
|
|
308
|
+
const queryParameters: any = {};
|
|
309
|
+
|
|
310
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
311
|
+
|
|
312
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
313
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
317
|
+
const token = this.configuration.accessToken;
|
|
318
|
+
const tokenString = await token("bearer", []);
|
|
319
|
+
|
|
320
|
+
if (tokenString) {
|
|
321
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
const response = await this.request({
|
|
325
|
+
path: `/private/bank-account-formats`,
|
|
326
|
+
method: 'GET',
|
|
327
|
+
headers: headerParameters,
|
|
328
|
+
query: queryParameters,
|
|
329
|
+
}, initOverrides);
|
|
330
|
+
|
|
331
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BankAccountFormatsDtoFromJSON(jsonValue));
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Returns the bank countries and currencies we pay out to, for the current seller\'s entity type (business or personal). **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
336
|
+
* List bank account countries and currencies
|
|
337
|
+
*/
|
|
338
|
+
async listBankAccountFormats(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BankAccountFormatsDto> {
|
|
339
|
+
const response = await this.listBankAccountFormatsRaw(initOverrides);
|
|
340
|
+
return await response.value();
|
|
341
|
+
}
|
|
342
|
+
|
|
226
343
|
/**
|
|
227
344
|
* Returns all bank accounts configured for the current seller account. **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
228
345
|
* List bank accounts
|
|
@@ -323,4 +440,68 @@ export class BankAccountsApi extends runtime.BaseAPI {
|
|
|
323
440
|
await this.makeBankAccountPrimaryRaw(requestParameters, initOverrides);
|
|
324
441
|
}
|
|
325
442
|
|
|
443
|
+
/**
|
|
444
|
+
* Returns the banks or branches matching what the seller typed in a LOOKUP field, e.g. an IFSC code or a Japanese branch. **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
445
|
+
* Search banks or branches
|
|
446
|
+
*/
|
|
447
|
+
async searchBankAccountInstitutionsRaw(requestParameters: BankAccountsApiSearchBankAccountInstitutionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<BankAccountFormatFieldOptionDto>>> {
|
|
448
|
+
if (requestParameters['countryCode'] == null) {
|
|
449
|
+
throw new runtime.RequiredError(
|
|
450
|
+
'countryCode',
|
|
451
|
+
'Required parameter "countryCode" was null or undefined when calling searchBankAccountInstitutions().'
|
|
452
|
+
);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
if (requestParameters['currencyCode'] == null) {
|
|
456
|
+
throw new runtime.RequiredError(
|
|
457
|
+
'currencyCode',
|
|
458
|
+
'Required parameter "currencyCode" was null or undefined when calling searchBankAccountInstitutions().'
|
|
459
|
+
);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
if (requestParameters['searchBankAccountInstitutionsInput'] == null) {
|
|
463
|
+
throw new runtime.RequiredError(
|
|
464
|
+
'searchBankAccountInstitutionsInput',
|
|
465
|
+
'Required parameter "searchBankAccountInstitutionsInput" was null or undefined when calling searchBankAccountInstitutions().'
|
|
466
|
+
);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
const queryParameters: any = {};
|
|
470
|
+
|
|
471
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
472
|
+
|
|
473
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
474
|
+
|
|
475
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
476
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
480
|
+
const token = this.configuration.accessToken;
|
|
481
|
+
const tokenString = await token("bearer", []);
|
|
482
|
+
|
|
483
|
+
if (tokenString) {
|
|
484
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
const response = await this.request({
|
|
488
|
+
path: `/private/bank-account-formats/{countryCode}/{currencyCode}/institutions`.replace(`{${"countryCode"}}`, encodeURIComponent(String(requestParameters['countryCode']))).replace(`{${"currencyCode"}}`, encodeURIComponent(String(requestParameters['currencyCode']))),
|
|
489
|
+
method: 'POST',
|
|
490
|
+
headers: headerParameters,
|
|
491
|
+
query: queryParameters,
|
|
492
|
+
body: SearchBankAccountInstitutionsInputToJSON(requestParameters['searchBankAccountInstitutionsInput']),
|
|
493
|
+
}, initOverrides);
|
|
494
|
+
|
|
495
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(BankAccountFormatFieldOptionDtoFromJSON));
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Returns the banks or branches matching what the seller typed in a LOOKUP field, e.g. an IFSC code or a Japanese branch. **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
500
|
+
* Search banks or branches
|
|
501
|
+
*/
|
|
502
|
+
async searchBankAccountInstitutions(requestParameters: BankAccountsApiSearchBankAccountInstitutionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<BankAccountFormatFieldOptionDto>> {
|
|
503
|
+
const response = await this.searchBankAccountInstitutionsRaw(requestParameters, initOverrides);
|
|
504
|
+
return await response.value();
|
|
505
|
+
}
|
|
506
|
+
|
|
326
507
|
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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 AccountBankAccountDetailsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AccountBankAccountDetailsDto {
|
|
22
|
+
/**
|
|
23
|
+
* ISO country code of the country the account is held in.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AccountBankAccountDetailsDto
|
|
26
|
+
*/
|
|
27
|
+
countryCode: string;
|
|
28
|
+
/**
|
|
29
|
+
* The bank details by the key the bank account format lists after `bank_details.`, with routing types next to their values, e.g. `account_routing_type1: sort_code`.
|
|
30
|
+
* @type {{ [key: string]: string; }}
|
|
31
|
+
* @memberof AccountBankAccountDetailsDto
|
|
32
|
+
*/
|
|
33
|
+
bankDetails: { [key: string]: string; };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the AccountBankAccountDetailsDto interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfAccountBankAccountDetailsDto(value: object): value is AccountBankAccountDetailsDto {
|
|
40
|
+
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
41
|
+
if (!('bankDetails' in value) || value['bankDetails'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function AccountBankAccountDetailsDtoFromJSON(json: any): AccountBankAccountDetailsDto {
|
|
46
|
+
return AccountBankAccountDetailsDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function AccountBankAccountDetailsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountBankAccountDetailsDto {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'countryCode': json['countryCode'],
|
|
56
|
+
'bankDetails': json['bankDetails'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AccountBankAccountDetailsDtoToJSON(json: any): AccountBankAccountDetailsDto {
|
|
61
|
+
return AccountBankAccountDetailsDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function AccountBankAccountDetailsDtoToJSONTyped(value?: AccountBankAccountDetailsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'countryCode': value['countryCode'],
|
|
72
|
+
'bankDetails': value['bankDetails'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|