@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.
- package/.openapi-generator/FILES +11 -8
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +29 -1
- package/dist/apis/AdminApi.js +76 -1
- 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/LandingDesignAccountDto.d.ts +44 -0
- package/dist/models/LandingDesignAccountDto.js +59 -0
- package/dist/models/LandingDesignUsageDto.d.ts +6 -0
- package/dist/models/LandingDesignUsageDto.js +4 -0
- package/dist/models/ListAdminLandingDesignAccounts200Response.d.ts +47 -0
- package/dist/models/ListAdminLandingDesignAccounts200Response.js +62 -0
- package/dist/models/SearchBankAccountInstitutionsInput.d.ts +46 -0
- package/dist/models/SearchBankAccountInstitutionsInput.js +55 -0
- package/dist/models/index.d.ts +11 -8
- package/dist/models/index.js +11 -8
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +79 -0
- 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/LandingDesignAccountDto.ts +84 -0
- package/src/models/LandingDesignUsageDto.ts +9 -0
- package/src/models/ListAdminLandingDesignAccounts200Response.ts +106 -0
- package/src/models/SearchBankAccountInstitutionsInput.ts +82 -0
- package/src/models/index.ts +11 -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
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';
|
|
@@ -303,6 +308,7 @@ export * from './JobDto';
|
|
|
303
308
|
export * from './JobFailureDto';
|
|
304
309
|
export * from './JobStatus';
|
|
305
310
|
export * from './JobType';
|
|
311
|
+
export * from './LandingDesignAccountDto';
|
|
306
312
|
export * from './LandingDesignUsageDto';
|
|
307
313
|
export * from './LandingPageDesignSettingsDto';
|
|
308
314
|
export * from './LandingPageDesignSettingsInput';
|
|
@@ -363,6 +369,7 @@ export * from './ListAccountMetricsDto';
|
|
|
363
369
|
export * from './ListAccountPortfolioSizeDto';
|
|
364
370
|
export * from './ListAccountUserDto';
|
|
365
371
|
export * from './ListAccounts200Response';
|
|
372
|
+
export * from './ListAdminLandingDesignAccounts200Response';
|
|
366
373
|
export * from './ListAdminRelatedLeads200Response';
|
|
367
374
|
export * from './ListAuctions200Response';
|
|
368
375
|
export * from './ListBankAccounts200Response';
|
|
@@ -396,7 +403,6 @@ export * from './MoneyInput';
|
|
|
396
403
|
export * from './MozMetrics';
|
|
397
404
|
export * from './NotFoundException';
|
|
398
405
|
export * from './NotificationsUnsubscribeResultDto';
|
|
399
|
-
export * from './NzBankAccountDetails';
|
|
400
406
|
export * from './ObjectId';
|
|
401
407
|
export * from './OrderCompanyInfoDto';
|
|
402
408
|
export * from './OrderCompanyTaxIdDto';
|
|
@@ -456,7 +462,7 @@ export * from './SalesCountCommissionPayloadDto';
|
|
|
456
462
|
export * from './SalesCountCommissionPayloadInput';
|
|
457
463
|
export * from './SalesCountCommissionPayloadSimulationInput';
|
|
458
464
|
export * from './SalesCountCommissionReasonPayloadDto';
|
|
459
|
-
export * from './
|
|
465
|
+
export * from './SearchBankAccountInstitutionsInput';
|
|
460
466
|
export * from './SellerAccountReferralListItemDto';
|
|
461
467
|
export * from './SellerAffiliateCommissionDto';
|
|
462
468
|
export * from './SellerAuctionListItemDto';
|
|
@@ -490,7 +496,6 @@ export * from './SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto';
|
|
|
490
496
|
export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInput';
|
|
491
497
|
export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel';
|
|
492
498
|
export * from './SeoMetricsDto';
|
|
493
|
-
export * from './SepaBankAccountDetails';
|
|
494
499
|
export * from './SetAccountMarketplaceInput';
|
|
495
500
|
export * from './SetDomainTransferConfirmationInput';
|
|
496
501
|
export * from './SetNewPasswordInput';
|
|
@@ -533,7 +538,6 @@ export * from './TimeTableConfigurationInput';
|
|
|
533
538
|
export * from './TopAffiliateSellerDto';
|
|
534
539
|
export * from './TopSellerAccountDto';
|
|
535
540
|
export * from './TranslateDomainSearchInput';
|
|
536
|
-
export * from './UkBankAccountDetails';
|
|
537
541
|
export * from './UpdateAccountBillingInformationInput';
|
|
538
542
|
export * from './UpdateAccountChallengeRewardBalanceInput';
|
|
539
543
|
export * from './UpdateAccountNoteInput';
|
|
@@ -564,7 +568,6 @@ export * from './UpdateSubscriptionInput';
|
|
|
564
568
|
export * from './UpdateTaskMuteStatusForBuyerInput';
|
|
565
569
|
export * from './UpdateTaskMuteStatusInput';
|
|
566
570
|
export * from './UpdateUserNotificationSettingsInput';
|
|
567
|
-
export * from './UsBankAccountDetails';
|
|
568
571
|
export * from './UserNotificationAttachmentDto';
|
|
569
572
|
export * from './UserNotificationDto';
|
|
570
573
|
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);
|
|
@@ -321,6 +326,7 @@ __exportStar(require("./JobDto"), exports);
|
|
|
321
326
|
__exportStar(require("./JobFailureDto"), exports);
|
|
322
327
|
__exportStar(require("./JobStatus"), exports);
|
|
323
328
|
__exportStar(require("./JobType"), exports);
|
|
329
|
+
__exportStar(require("./LandingDesignAccountDto"), exports);
|
|
324
330
|
__exportStar(require("./LandingDesignUsageDto"), exports);
|
|
325
331
|
__exportStar(require("./LandingPageDesignSettingsDto"), exports);
|
|
326
332
|
__exportStar(require("./LandingPageDesignSettingsInput"), exports);
|
|
@@ -381,6 +387,7 @@ __exportStar(require("./ListAccountMetricsDto"), exports);
|
|
|
381
387
|
__exportStar(require("./ListAccountPortfolioSizeDto"), exports);
|
|
382
388
|
__exportStar(require("./ListAccountUserDto"), exports);
|
|
383
389
|
__exportStar(require("./ListAccounts200Response"), exports);
|
|
390
|
+
__exportStar(require("./ListAdminLandingDesignAccounts200Response"), exports);
|
|
384
391
|
__exportStar(require("./ListAdminRelatedLeads200Response"), exports);
|
|
385
392
|
__exportStar(require("./ListAuctions200Response"), exports);
|
|
386
393
|
__exportStar(require("./ListBankAccounts200Response"), exports);
|
|
@@ -414,7 +421,6 @@ __exportStar(require("./MoneyInput"), exports);
|
|
|
414
421
|
__exportStar(require("./MozMetrics"), exports);
|
|
415
422
|
__exportStar(require("./NotFoundException"), exports);
|
|
416
423
|
__exportStar(require("./NotificationsUnsubscribeResultDto"), exports);
|
|
417
|
-
__exportStar(require("./NzBankAccountDetails"), exports);
|
|
418
424
|
__exportStar(require("./ObjectId"), exports);
|
|
419
425
|
__exportStar(require("./OrderCompanyInfoDto"), exports);
|
|
420
426
|
__exportStar(require("./OrderCompanyTaxIdDto"), exports);
|
|
@@ -474,7 +480,7 @@ __exportStar(require("./SalesCountCommissionPayloadDto"), exports);
|
|
|
474
480
|
__exportStar(require("./SalesCountCommissionPayloadInput"), exports);
|
|
475
481
|
__exportStar(require("./SalesCountCommissionPayloadSimulationInput"), exports);
|
|
476
482
|
__exportStar(require("./SalesCountCommissionReasonPayloadDto"), exports);
|
|
477
|
-
__exportStar(require("./
|
|
483
|
+
__exportStar(require("./SearchBankAccountInstitutionsInput"), exports);
|
|
478
484
|
__exportStar(require("./SellerAccountReferralListItemDto"), exports);
|
|
479
485
|
__exportStar(require("./SellerAffiliateCommissionDto"), exports);
|
|
480
486
|
__exportStar(require("./SellerAuctionListItemDto"), exports);
|
|
@@ -508,7 +514,6 @@ __exportStar(require("./SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto"), ex
|
|
|
508
514
|
__exportStar(require("./SendAdminLeadAiPriceNegotiatorAgentChatMessageInput"), exports);
|
|
509
515
|
__exportStar(require("./SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel"), exports);
|
|
510
516
|
__exportStar(require("./SeoMetricsDto"), exports);
|
|
511
|
-
__exportStar(require("./SepaBankAccountDetails"), exports);
|
|
512
517
|
__exportStar(require("./SetAccountMarketplaceInput"), exports);
|
|
513
518
|
__exportStar(require("./SetDomainTransferConfirmationInput"), exports);
|
|
514
519
|
__exportStar(require("./SetNewPasswordInput"), exports);
|
|
@@ -551,7 +556,6 @@ __exportStar(require("./TimeTableConfigurationInput"), exports);
|
|
|
551
556
|
__exportStar(require("./TopAffiliateSellerDto"), exports);
|
|
552
557
|
__exportStar(require("./TopSellerAccountDto"), exports);
|
|
553
558
|
__exportStar(require("./TranslateDomainSearchInput"), exports);
|
|
554
|
-
__exportStar(require("./UkBankAccountDetails"), exports);
|
|
555
559
|
__exportStar(require("./UpdateAccountBillingInformationInput"), exports);
|
|
556
560
|
__exportStar(require("./UpdateAccountChallengeRewardBalanceInput"), exports);
|
|
557
561
|
__exportStar(require("./UpdateAccountNoteInput"), exports);
|
|
@@ -582,7 +586,6 @@ __exportStar(require("./UpdateSubscriptionInput"), exports);
|
|
|
582
586
|
__exportStar(require("./UpdateTaskMuteStatusForBuyerInput"), exports);
|
|
583
587
|
__exportStar(require("./UpdateTaskMuteStatusInput"), exports);
|
|
584
588
|
__exportStar(require("./UpdateUserNotificationSettingsInput"), exports);
|
|
585
|
-
__exportStar(require("./UsBankAccountDetails"), exports);
|
|
586
589
|
__exportStar(require("./UserNotificationAttachmentDto"), exports);
|
|
587
590
|
__exportStar(require("./UserNotificationDto"), exports);
|
|
588
591
|
__exportStar(require("./UserNotificationListItemDto"), exports);
|
package/package.json
CHANGED
package/src/apis/AdminApi.ts
CHANGED
|
@@ -58,6 +58,7 @@ import type {
|
|
|
58
58
|
LinkBankDepositToBankAccountInput,
|
|
59
59
|
LinkBankDepositToInvoiceInput,
|
|
60
60
|
ListAccounts200Response,
|
|
61
|
+
ListAdminLandingDesignAccounts200Response,
|
|
61
62
|
ListAdminRelatedLeads200Response,
|
|
62
63
|
ListBankAccounts200Response,
|
|
63
64
|
ListBankDeposits200Response,
|
|
@@ -170,6 +171,8 @@ import {
|
|
|
170
171
|
LinkBankDepositToInvoiceInputToJSON,
|
|
171
172
|
ListAccounts200ResponseFromJSON,
|
|
172
173
|
ListAccounts200ResponseToJSON,
|
|
174
|
+
ListAdminLandingDesignAccounts200ResponseFromJSON,
|
|
175
|
+
ListAdminLandingDesignAccounts200ResponseToJSON,
|
|
173
176
|
ListAdminRelatedLeads200ResponseFromJSON,
|
|
174
177
|
ListAdminRelatedLeads200ResponseToJSON,
|
|
175
178
|
ListBankAccounts200ResponseFromJSON,
|
|
@@ -451,6 +454,14 @@ export interface AdminApiListAccountsRequest {
|
|
|
451
454
|
filterSearchTerm?: string;
|
|
452
455
|
}
|
|
453
456
|
|
|
457
|
+
export interface AdminApiListAdminLandingDesignAccountsRequest {
|
|
458
|
+
design: ListAdminLandingDesignAccountsDesignEnum;
|
|
459
|
+
filter?: { [key: string]: string; };
|
|
460
|
+
page?: number;
|
|
461
|
+
limit?: number;
|
|
462
|
+
sortBy?: Array<string>;
|
|
463
|
+
}
|
|
464
|
+
|
|
454
465
|
export interface AdminApiListAdminLeadMessagesRequest {
|
|
455
466
|
leadId: string;
|
|
456
467
|
}
|
|
@@ -2771,6 +2782,65 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
2771
2782
|
return await response.value();
|
|
2772
2783
|
}
|
|
2773
2784
|
|
|
2785
|
+
/**
|
|
2786
|
+
* Lists the accounts with at least one live domain whose effective landing page design is the given one, by identifier.
|
|
2787
|
+
* List the accounts using a landing design
|
|
2788
|
+
*/
|
|
2789
|
+
async listAdminLandingDesignAccountsRaw(requestParameters: AdminApiListAdminLandingDesignAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListAdminLandingDesignAccounts200Response>> {
|
|
2790
|
+
if (requestParameters['design'] == null) {
|
|
2791
|
+
throw new runtime.RequiredError(
|
|
2792
|
+
'design',
|
|
2793
|
+
'Required parameter "design" was null or undefined when calling listAdminLandingDesignAccounts().'
|
|
2794
|
+
);
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2797
|
+
const queryParameters: any = {};
|
|
2798
|
+
|
|
2799
|
+
if (requestParameters['filter'] != null) {
|
|
2800
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
if (requestParameters['page'] != null) {
|
|
2804
|
+
queryParameters['page'] = requestParameters['page'];
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
if (requestParameters['limit'] != null) {
|
|
2808
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
2809
|
+
}
|
|
2810
|
+
|
|
2811
|
+
if (requestParameters['sortBy'] != null) {
|
|
2812
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2815
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
2816
|
+
|
|
2817
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2818
|
+
const token = this.configuration.accessToken;
|
|
2819
|
+
const tokenString = await token("bearer", []);
|
|
2820
|
+
|
|
2821
|
+
if (tokenString) {
|
|
2822
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2823
|
+
}
|
|
2824
|
+
}
|
|
2825
|
+
const response = await this.request({
|
|
2826
|
+
path: `/admin/stats/landing-designs/{design}/accounts`.replace(`{${"design"}}`, encodeURIComponent(String(requestParameters['design']))),
|
|
2827
|
+
method: 'GET',
|
|
2828
|
+
headers: headerParameters,
|
|
2829
|
+
query: queryParameters,
|
|
2830
|
+
}, initOverrides);
|
|
2831
|
+
|
|
2832
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListAdminLandingDesignAccounts200ResponseFromJSON(jsonValue));
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2835
|
+
/**
|
|
2836
|
+
* Lists the accounts with at least one live domain whose effective landing page design is the given one, by identifier.
|
|
2837
|
+
* List the accounts using a landing design
|
|
2838
|
+
*/
|
|
2839
|
+
async listAdminLandingDesignAccounts(requestParameters: AdminApiListAdminLandingDesignAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListAdminLandingDesignAccounts200Response> {
|
|
2840
|
+
const response = await this.listAdminLandingDesignAccountsRaw(requestParameters, initOverrides);
|
|
2841
|
+
return await response.value();
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2774
2844
|
/**
|
|
2775
2845
|
* Lists the messages of a lead conversation, for any account. Read only: nothing is marked as read. Requires admin bearer authentication.
|
|
2776
2846
|
* List lead messages
|
|
@@ -4622,6 +4692,15 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
4622
4692
|
|
|
4623
4693
|
}
|
|
4624
4694
|
|
|
4695
|
+
/**
|
|
4696
|
+
* @export
|
|
4697
|
+
*/
|
|
4698
|
+
export const ListAdminLandingDesignAccountsDesignEnum = {
|
|
4699
|
+
ORIGINAL: 'original',
|
|
4700
|
+
MODERN: 'modern',
|
|
4701
|
+
MINIMAL: 'minimal'
|
|
4702
|
+
} as const;
|
|
4703
|
+
export type ListAdminLandingDesignAccountsDesignEnum = typeof ListAdminLandingDesignAccountsDesignEnum[keyof typeof ListAdminLandingDesignAccountsDesignEnum];
|
|
4625
4704
|
/**
|
|
4626
4705
|
* @export
|
|
4627
4706
|
*/
|
|
@@ -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
|
+
|