@randock/nameshift-api-client 0.0.486 → 0.0.488
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 +10 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +38 -3
- package/dist/apis/AdminApi.js +132 -2
- package/dist/apis/BuyersApi.d.ts +33 -1
- package/dist/apis/BuyersApi.js +121 -0
- package/dist/apis/DomainAppraisalRequestsApi.d.ts +50 -0
- package/dist/apis/DomainAppraisalRequestsApi.js +217 -0
- package/dist/apis/DomainAppraisalRequestsPublicApi.d.ts +86 -0
- package/dist/apis/DomainAppraisalRequestsPublicApi.js +321 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AccountAliasDto.d.ts +18 -3
- package/dist/models/AccountAliasDto.js +13 -0
- package/dist/models/AccountSettingsAliasDto.d.ts +18 -3
- package/dist/models/AccountSettingsAliasDto.js +13 -0
- package/dist/models/AdminDomainAppraisalRequestListItemDto.d.ts +118 -0
- package/dist/models/AdminDomainAppraisalRequestListItemDto.js +109 -0
- package/dist/models/AdminListAccountDto.d.ts +16 -1
- package/dist/models/AdminListAccountDto.js +13 -1
- package/dist/models/BuyerDomainAppraisalRequestCheckoutDto.d.ts +268 -0
- package/dist/models/BuyerDomainAppraisalRequestCheckoutDto.js +237 -0
- package/dist/models/BuyerInvoiceDto.d.ts +2 -2
- package/dist/models/BuyerNotificationDto.d.ts +1 -0
- package/dist/models/BuyerNotificationDto.js +1 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
- package/dist/models/BuyerNotificationListItemDto.js +1 -0
- package/dist/models/BuyerSessionDto.d.ts +6 -0
- package/dist/models/BuyerSessionDto.js +4 -0
- package/dist/models/CreateAccountPaymentInput.d.ts +1 -0
- package/dist/models/CreateAccountPaymentInput.js +2 -1
- package/dist/models/CreateBuyerDomainAppraisalRequestInput.d.ts +44 -0
- package/dist/models/CreateBuyerDomainAppraisalRequestInput.js +59 -0
- package/dist/models/CustomerSuccessListAccountDto.d.ts +16 -1
- package/dist/models/CustomerSuccessListAccountDto.js +13 -1
- package/dist/models/DomainAppraisalRequestListItemDto.d.ts +82 -0
- package/dist/models/DomainAppraisalRequestListItemDto.js +85 -0
- package/dist/models/DomainAppraisalRequestStatus.d.ts +27 -0
- package/dist/models/DomainAppraisalRequestStatus.js +53 -0
- package/dist/models/DomainAppraisalRequester.d.ts +25 -0
- package/dist/models/DomainAppraisalRequester.js +51 -0
- package/dist/models/DomainSalesInformationDto.d.ts +6 -0
- package/dist/models/DomainSalesInformationDto.js +4 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/GetAdminDomainAppraisalRequests200Response.d.ts +47 -0
- package/dist/models/GetAdminDomainAppraisalRequests200Response.js +62 -0
- package/dist/models/GetBuyerDomainAppraisalRequests200Response.d.ts +47 -0
- package/dist/models/GetBuyerDomainAppraisalRequests200Response.js +62 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/InvoiceDto.d.ts +2 -2
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/UserNotificationDto.d.ts +1 -0
- package/dist/models/UserNotificationDto.js +1 -0
- package/dist/models/UserNotificationListItemDto.d.ts +1 -0
- package/dist/models/UserNotificationListItemDto.js +1 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +130 -2
- package/src/apis/BuyersApi.ts +113 -0
- package/src/apis/DomainAppraisalRequestsApi.ts +157 -0
- package/src/apis/DomainAppraisalRequestsPublicApi.ts +271 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AccountAliasDto.ts +24 -3
- package/src/models/AccountSettingsAliasDto.ts +24 -3
- package/src/models/AdminDomainAppraisalRequestListItemDto.ts +209 -0
- package/src/models/AdminListAccountDto.ts +20 -1
- package/src/models/BuyerDomainAppraisalRequestCheckoutDto.ts +411 -0
- package/src/models/BuyerInvoiceDto.ts +2 -2
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/BuyerSessionDto.ts +9 -0
- package/src/models/CreateAccountPaymentInput.ts +2 -1
- package/src/models/CreateBuyerDomainAppraisalRequestInput.ts +84 -0
- package/src/models/CustomerSuccessListAccountDto.ts +20 -1
- package/src/models/DomainAppraisalRequestListItemDto.ts +155 -0
- package/src/models/DomainAppraisalRequestStatus.ts +55 -0
- package/src/models/DomainAppraisalRequester.ts +53 -0
- package/src/models/DomainSalesInformationDto.ts +9 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/GetAdminDomainAppraisalRequests200Response.ts +106 -0
- package/src/models/GetBuyerDomainAppraisalRequests200Response.ts +106 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/InvoiceDto.ts +2 -2
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/UserNotificationDto.ts +1 -0
- package/src/models/UserNotificationListItemDto.ts +1 -0
- package/src/models/index.ts +8 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -15,6 +15,8 @@ src/apis/BuyersApi.ts
|
|
|
15
15
|
src/apis/BuyersPublicApi.ts
|
|
16
16
|
src/apis/ChallengesApi.ts
|
|
17
17
|
src/apis/CustomerSuccessApi.ts
|
|
18
|
+
src/apis/DomainAppraisalRequestsApi.ts
|
|
19
|
+
src/apis/DomainAppraisalRequestsPublicApi.ts
|
|
18
20
|
src/apis/DomainTransfersApi.ts
|
|
19
21
|
src/apis/DomainsApi.ts
|
|
20
22
|
src/apis/DomainsPublicApi.ts
|
|
@@ -100,6 +102,7 @@ src/models/AdminChallengeListItemDto.ts
|
|
|
100
102
|
src/models/AdminCompanyStatsDto.ts
|
|
101
103
|
src/models/AdminCompanyStatsLedger.ts
|
|
102
104
|
src/models/AdminDashboardStatsDto.ts
|
|
105
|
+
src/models/AdminDomainAppraisalRequestListItemDto.ts
|
|
103
106
|
src/models/AdminDomainListItemDto.ts
|
|
104
107
|
src/models/AdminGetAllDomainTransfers200Response.ts
|
|
105
108
|
src/models/AdminLeadListItemBuyerDto.ts
|
|
@@ -155,6 +158,7 @@ src/models/BuyerAuctionDetailDtoDomain.ts
|
|
|
155
158
|
src/models/BuyerAuctionListItemDto.ts
|
|
156
159
|
src/models/BuyerAuctionListItemDtoDomainInformation.ts
|
|
157
160
|
src/models/BuyerAuctionListItemDtoSellerAccount.ts
|
|
161
|
+
src/models/BuyerDomainAppraisalRequestCheckoutDto.ts
|
|
158
162
|
src/models/BuyerDomainNameserverItemDto.ts
|
|
159
163
|
src/models/BuyerDomainRecordItemDto.ts
|
|
160
164
|
src/models/BuyerDomainRecordsDto.ts
|
|
@@ -216,6 +220,7 @@ src/models/CreateAccountPaymentInput.ts
|
|
|
216
220
|
src/models/CreateAccountPaymentManualTransactionInput.ts
|
|
217
221
|
src/models/CreateApiKeyInput.ts
|
|
218
222
|
src/models/CreateBankAccountInput.ts
|
|
223
|
+
src/models/CreateBuyerDomainAppraisalRequestInput.ts
|
|
219
224
|
src/models/CreateBuyerLeadMessageInput.ts
|
|
220
225
|
src/models/CreateChallengeInput.ts
|
|
221
226
|
src/models/CreateLeadInput.ts
|
|
@@ -236,6 +241,9 @@ src/models/CustomerSuccessListAccountMetricsDto.ts
|
|
|
236
241
|
src/models/CustomerSuccessListAccountPortfolioSizeDto.ts
|
|
237
242
|
src/models/CustomerSuccessListAccountUserDto.ts
|
|
238
243
|
src/models/DeleteDomainsInput.ts
|
|
244
|
+
src/models/DomainAppraisalRequestListItemDto.ts
|
|
245
|
+
src/models/DomainAppraisalRequestStatus.ts
|
|
246
|
+
src/models/DomainAppraisalRequester.ts
|
|
239
247
|
src/models/DomainAuctionDto.ts
|
|
240
248
|
src/models/DomainCategoryItemDto.ts
|
|
241
249
|
src/models/DomainEditPreviewDto.ts
|
|
@@ -293,6 +301,7 @@ src/models/ForbiddenException.ts
|
|
|
293
301
|
src/models/ForgotPasswordRequestInput.ts
|
|
294
302
|
src/models/GetAccountChallengeRewardUsagesListDto.ts
|
|
295
303
|
src/models/GetAccountNameshiftCommissionsResponseDto.ts
|
|
304
|
+
src/models/GetAdminDomainAppraisalRequests200Response.ts
|
|
296
305
|
src/models/GetAllAffiliateCommissions200Response.ts
|
|
297
306
|
src/models/GetAllAuctions200Response.ts
|
|
298
307
|
src/models/GetAllAuctions200Response1.ts
|
|
@@ -305,6 +314,7 @@ src/models/GetAllReferrals200Response.ts
|
|
|
305
314
|
src/models/GetAllSubscriptions200Response.ts
|
|
306
315
|
src/models/GetAllSubscriptions200Response1.ts
|
|
307
316
|
src/models/GetBuyerAuctions200Response.ts
|
|
317
|
+
src/models/GetBuyerDomainAppraisalRequests200Response.ts
|
|
308
318
|
src/models/GetBuyerInvoices200Response.ts
|
|
309
319
|
src/models/GetBuyerLeads200Response.ts
|
|
310
320
|
src/models/GetBuyerSubscriptions200Response.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.488
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.488 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
bd8617713fa84b11f15b782d3e2bb30a0051314d15e6a9d1a3d39c631b91a5d464dee2e8c72fb46785fec2e358e61044
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AccountNameshiftCommissionByTypeDto, AccountNoteListDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, AdminMarketplaceDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CreateAccountNoteInput, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ObjectId, SellerLeadDetails, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
|
|
13
|
+
import type { AccountNameshiftCommissionByTypeDto, AccountNoteListDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, AdminMarketplaceDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CreateAccountNoteInput, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAdminDomainAppraisalRequests200Response, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ObjectId, SellerLeadDetails, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
|
|
14
14
|
export interface AdminApiAdminDeleteAuctionRequest {
|
|
15
15
|
auctionId: string;
|
|
16
16
|
}
|
|
@@ -94,6 +94,18 @@ export interface AdminApiGetAccountSettingsRequest {
|
|
|
94
94
|
export interface AdminApiGetAdminDashboardStatsRequest {
|
|
95
95
|
dateRange?: StatsFilterInputDateRange | null;
|
|
96
96
|
}
|
|
97
|
+
export interface AdminApiGetAdminDomainAppraisalRequestsRequest {
|
|
98
|
+
filter?: {
|
|
99
|
+
[key: string]: string;
|
|
100
|
+
};
|
|
101
|
+
page?: number;
|
|
102
|
+
limit?: number;
|
|
103
|
+
sortBy?: Array<string>;
|
|
104
|
+
filterStatus?: string;
|
|
105
|
+
filterDomainName?: string;
|
|
106
|
+
filterBuyer?: string;
|
|
107
|
+
filterAccount?: string;
|
|
108
|
+
}
|
|
97
109
|
export interface AdminApiGetAdminDomainTransferDetailsRequest {
|
|
98
110
|
domainTransferId: string;
|
|
99
111
|
}
|
|
@@ -298,6 +310,9 @@ export interface AdminApiPostAiPriceNegotiatorAgentChatMessageRequest {
|
|
|
298
310
|
export interface AdminApiPurgeDomainCdnCacheRequest {
|
|
299
311
|
domainId: string;
|
|
300
312
|
}
|
|
313
|
+
export interface AdminApiRejectAccountAliasRequest {
|
|
314
|
+
accountId: string;
|
|
315
|
+
}
|
|
301
316
|
export interface AdminApiRemoveDomainLockRequest {
|
|
302
317
|
domainId: string;
|
|
303
318
|
lockId: string;
|
|
@@ -592,6 +607,16 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
592
607
|
* Get admin dashboard stats
|
|
593
608
|
*/
|
|
594
609
|
getAdminDashboardStats(requestParameters?: AdminApiGetAdminDashboardStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminDashboardStatsDto>;
|
|
610
|
+
/**
|
|
611
|
+
* Lists every domain appraisal bought by buyers and sellers, with its state in the domain appraisals API.
|
|
612
|
+
* List domain appraisal requests
|
|
613
|
+
*/
|
|
614
|
+
getAdminDomainAppraisalRequestsRaw(requestParameters: AdminApiGetAdminDomainAppraisalRequestsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAdminDomainAppraisalRequests200Response>>;
|
|
615
|
+
/**
|
|
616
|
+
* Lists every domain appraisal bought by buyers and sellers, with its state in the domain appraisals API.
|
|
617
|
+
* List domain appraisal requests
|
|
618
|
+
*/
|
|
619
|
+
getAdminDomainAppraisalRequests(requestParameters?: AdminApiGetAdminDomainAppraisalRequestsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAdminDomainAppraisalRequests200Response>;
|
|
595
620
|
/**
|
|
596
621
|
* Returns domain transfer information.
|
|
597
622
|
* Get domain transfer details
|
|
@@ -982,6 +1007,16 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
982
1007
|
* Purge domain CDN cache
|
|
983
1008
|
*/
|
|
984
1009
|
purgeDomainCdnCache(requestParameters: AdminApiPurgeDomainCdnCacheRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1010
|
+
/**
|
|
1011
|
+
* Marks the account alias as rejected, so the landing pages keep the official name, and notifies the account users by email. Rejecting an already rejected alias does nothing.
|
|
1012
|
+
* Reject account alias
|
|
1013
|
+
*/
|
|
1014
|
+
rejectAccountAliasRaw(requestParameters: AdminApiRejectAccountAliasRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1015
|
+
/**
|
|
1016
|
+
* Marks the account alias as rejected, so the landing pages keep the official name, and notifies the account users by email. Rejecting an already rejected alias does nothing.
|
|
1017
|
+
* Reject account alias
|
|
1018
|
+
*/
|
|
1019
|
+
rejectAccountAlias(requestParameters: AdminApiRejectAccountAliasRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
985
1020
|
/**
|
|
986
1021
|
* Removes a specific lock from a domain.
|
|
987
1022
|
* Remove domain lock
|
|
@@ -1133,12 +1168,12 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
1133
1168
|
*/
|
|
1134
1169
|
updateSubscriptionBuyerInformation(requestParameters: AdminApiUpdateSubscriptionBuyerInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1135
1170
|
/**
|
|
1136
|
-
* Marks the account alias as verified.
|
|
1171
|
+
* Marks the account alias as verified, so it is shown on the landing pages instead of the official name. Also lifts a previous rejection.
|
|
1137
1172
|
* Verify account alias
|
|
1138
1173
|
*/
|
|
1139
1174
|
verifyAccountAliasRaw(requestParameters: AdminApiVerifyAccountAliasRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1140
1175
|
/**
|
|
1141
|
-
* Marks the account alias as verified.
|
|
1176
|
+
* Marks the account alias as verified, so it is shown on the landing pages instead of the official name. Also lifts a previous rejection.
|
|
1142
1177
|
* Verify account alias
|
|
1143
1178
|
*/
|
|
1144
1179
|
verifyAccountAlias(requestParameters: AdminApiVerifyAccountAliasRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -1366,6 +1366,83 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
1366
1366
|
});
|
|
1367
1367
|
});
|
|
1368
1368
|
};
|
|
1369
|
+
/**
|
|
1370
|
+
* Lists every domain appraisal bought by buyers and sellers, with its state in the domain appraisals API.
|
|
1371
|
+
* List domain appraisal requests
|
|
1372
|
+
*/
|
|
1373
|
+
AdminApi.prototype.getAdminDomainAppraisalRequestsRaw = function (requestParameters, initOverrides) {
|
|
1374
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1375
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
1376
|
+
return __generator(this, function (_a) {
|
|
1377
|
+
switch (_a.label) {
|
|
1378
|
+
case 0:
|
|
1379
|
+
queryParameters = {};
|
|
1380
|
+
if (requestParameters['filter'] != null) {
|
|
1381
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
1382
|
+
}
|
|
1383
|
+
if (requestParameters['page'] != null) {
|
|
1384
|
+
queryParameters['page'] = requestParameters['page'];
|
|
1385
|
+
}
|
|
1386
|
+
if (requestParameters['limit'] != null) {
|
|
1387
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
1388
|
+
}
|
|
1389
|
+
if (requestParameters['sortBy'] != null) {
|
|
1390
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
1391
|
+
}
|
|
1392
|
+
if (requestParameters['filterStatus'] != null) {
|
|
1393
|
+
queryParameters['filter[status]'] = requestParameters['filterStatus'];
|
|
1394
|
+
}
|
|
1395
|
+
if (requestParameters['filterDomainName'] != null) {
|
|
1396
|
+
queryParameters['filter[domain.name]'] = requestParameters['filterDomainName'];
|
|
1397
|
+
}
|
|
1398
|
+
if (requestParameters['filterBuyer'] != null) {
|
|
1399
|
+
queryParameters['filter[buyer]'] = requestParameters['filterBuyer'];
|
|
1400
|
+
}
|
|
1401
|
+
if (requestParameters['filterAccount'] != null) {
|
|
1402
|
+
queryParameters['filter[account]'] = requestParameters['filterAccount'];
|
|
1403
|
+
}
|
|
1404
|
+
headerParameters = {};
|
|
1405
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
1406
|
+
token = this.configuration.accessToken;
|
|
1407
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
1408
|
+
case 1:
|
|
1409
|
+
tokenString = _a.sent();
|
|
1410
|
+
if (tokenString) {
|
|
1411
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
1412
|
+
}
|
|
1413
|
+
_a.label = 2;
|
|
1414
|
+
case 2: return [4 /*yield*/, this.request({
|
|
1415
|
+
path: "/admin/domain-appraisal-requests",
|
|
1416
|
+
method: 'GET',
|
|
1417
|
+
headers: headerParameters,
|
|
1418
|
+
query: queryParameters,
|
|
1419
|
+
}, initOverrides)];
|
|
1420
|
+
case 3:
|
|
1421
|
+
response = _a.sent();
|
|
1422
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetAdminDomainAppraisalRequests200ResponseFromJSON)(jsonValue); })];
|
|
1423
|
+
}
|
|
1424
|
+
});
|
|
1425
|
+
});
|
|
1426
|
+
};
|
|
1427
|
+
/**
|
|
1428
|
+
* Lists every domain appraisal bought by buyers and sellers, with its state in the domain appraisals API.
|
|
1429
|
+
* List domain appraisal requests
|
|
1430
|
+
*/
|
|
1431
|
+
AdminApi.prototype.getAdminDomainAppraisalRequests = function () {
|
|
1432
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
1433
|
+
var response;
|
|
1434
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1435
|
+
return __generator(this, function (_a) {
|
|
1436
|
+
switch (_a.label) {
|
|
1437
|
+
case 0: return [4 /*yield*/, this.getAdminDomainAppraisalRequestsRaw(requestParameters, initOverrides)];
|
|
1438
|
+
case 1:
|
|
1439
|
+
response = _a.sent();
|
|
1440
|
+
return [4 /*yield*/, response.value()];
|
|
1441
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1442
|
+
}
|
|
1443
|
+
});
|
|
1444
|
+
});
|
|
1445
|
+
};
|
|
1369
1446
|
/**
|
|
1370
1447
|
* Returns domain transfer information.
|
|
1371
1448
|
* Get domain transfer details
|
|
@@ -3730,6 +3807,59 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
3730
3807
|
});
|
|
3731
3808
|
});
|
|
3732
3809
|
};
|
|
3810
|
+
/**
|
|
3811
|
+
* Marks the account alias as rejected, so the landing pages keep the official name, and notifies the account users by email. Rejecting an already rejected alias does nothing.
|
|
3812
|
+
* Reject account alias
|
|
3813
|
+
*/
|
|
3814
|
+
AdminApi.prototype.rejectAccountAliasRaw = function (requestParameters, initOverrides) {
|
|
3815
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3816
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
3817
|
+
return __generator(this, function (_a) {
|
|
3818
|
+
switch (_a.label) {
|
|
3819
|
+
case 0:
|
|
3820
|
+
if (requestParameters['accountId'] == null) {
|
|
3821
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling rejectAccountAlias().');
|
|
3822
|
+
}
|
|
3823
|
+
queryParameters = {};
|
|
3824
|
+
headerParameters = {};
|
|
3825
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
3826
|
+
token = this.configuration.accessToken;
|
|
3827
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
3828
|
+
case 1:
|
|
3829
|
+
tokenString = _a.sent();
|
|
3830
|
+
if (tokenString) {
|
|
3831
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
3832
|
+
}
|
|
3833
|
+
_a.label = 2;
|
|
3834
|
+
case 2: return [4 /*yield*/, this.request({
|
|
3835
|
+
path: "/admin/accounts/{accountId}/alias/reject".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
|
|
3836
|
+
method: 'POST',
|
|
3837
|
+
headers: headerParameters,
|
|
3838
|
+
query: queryParameters,
|
|
3839
|
+
}, initOverrides)];
|
|
3840
|
+
case 3:
|
|
3841
|
+
response = _a.sent();
|
|
3842
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
3843
|
+
}
|
|
3844
|
+
});
|
|
3845
|
+
});
|
|
3846
|
+
};
|
|
3847
|
+
/**
|
|
3848
|
+
* Marks the account alias as rejected, so the landing pages keep the official name, and notifies the account users by email. Rejecting an already rejected alias does nothing.
|
|
3849
|
+
* Reject account alias
|
|
3850
|
+
*/
|
|
3851
|
+
AdminApi.prototype.rejectAccountAlias = function (requestParameters, initOverrides) {
|
|
3852
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3853
|
+
return __generator(this, function (_a) {
|
|
3854
|
+
switch (_a.label) {
|
|
3855
|
+
case 0: return [4 /*yield*/, this.rejectAccountAliasRaw(requestParameters, initOverrides)];
|
|
3856
|
+
case 1:
|
|
3857
|
+
_a.sent();
|
|
3858
|
+
return [2 /*return*/];
|
|
3859
|
+
}
|
|
3860
|
+
});
|
|
3861
|
+
});
|
|
3862
|
+
};
|
|
3733
3863
|
/**
|
|
3734
3864
|
* Removes a specific lock from a domain.
|
|
3735
3865
|
* Remove domain lock
|
|
@@ -4571,7 +4701,7 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
4571
4701
|
});
|
|
4572
4702
|
};
|
|
4573
4703
|
/**
|
|
4574
|
-
* Marks the account alias as verified.
|
|
4704
|
+
* Marks the account alias as verified, so it is shown on the landing pages instead of the official name. Also lifts a previous rejection.
|
|
4575
4705
|
* Verify account alias
|
|
4576
4706
|
*/
|
|
4577
4707
|
AdminApi.prototype.verifyAccountAliasRaw = function (requestParameters, initOverrides) {
|
|
@@ -4608,7 +4738,7 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
4608
4738
|
});
|
|
4609
4739
|
};
|
|
4610
4740
|
/**
|
|
4611
|
-
* Marks the account alias as verified.
|
|
4741
|
+
* Marks the account alias as verified, so it is shown on the landing pages instead of the official name. Also lifts a previous rejection.
|
|
4612
4742
|
* Verify account alias
|
|
4613
4743
|
*/
|
|
4614
4744
|
AdminApi.prototype.verifyAccountAlias = function (requestParameters, initOverrides) {
|
package/dist/apis/BuyersApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AddSubscriptionDomainRecordInput, AuctionBidInput, AuctionBuyerDto, BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BulkMarkBuyerNotificationsAsReadInputDto, BuyerAccessTokenDto, BuyerAuctionDetailDto, BuyerDomainRecordsDto, BuyerDomainTransferAuthCodeDto, BuyerNotificationDto, BuyerNotificationSettingsDto, BuyerSessionDto, BuyerTaskDetailsDto, CreateBuyerLeadMessageInput, GetBuyerAuctions200Response, GetBuyerInvoices200Response, GetBuyerLeads200Response, GetBuyerSubscriptions200Response, GetBuyerTransfers200Response, LeadDto, LeadLeaseToOwnAndRentConfigurationPresetsDto, LeadMessageDto, ListBuyerNotifications200Response, ObjectId, PutBuyerLeadOfferInput, RegisterAuctionBuyerPhoneInput, RegisterInput, RemoveSubscriptionDomainRecordInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput, UpdateAuctionMuteStatusInput, UpdateBuyerDomainTransferBuyerInfoInput, UpdateBuyerDomainTransferIpsTagInputDto, UpdateBuyerNotificationSettingsInput, UpdateLeadMuteStatusForBuyerInput, UpdateSubscriptionBuyerInformationInput, UpdateSubscriptionDomainNameserversInput, UpdateSubscriptionDomainRecordInput, UpdateTaskMuteStatusForBuyerInput, VerifyPhoneOtpInput } from '../models/index';
|
|
13
|
+
import type { AddSubscriptionDomainRecordInput, AuctionBidInput, AuctionBuyerDto, BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BulkMarkBuyerNotificationsAsReadInputDto, BuyerAccessTokenDto, BuyerAuctionDetailDto, BuyerDomainRecordsDto, BuyerDomainTransferAuthCodeDto, BuyerNotificationDto, BuyerNotificationSettingsDto, BuyerSessionDto, BuyerTaskDetailsDto, CreateBuyerLeadMessageInput, GetBuyerAuctions200Response, GetBuyerDomainAppraisalRequests200Response, GetBuyerInvoices200Response, GetBuyerLeads200Response, GetBuyerSubscriptions200Response, GetBuyerTransfers200Response, LeadDto, LeadLeaseToOwnAndRentConfigurationPresetsDto, LeadMessageDto, ListBuyerNotifications200Response, ObjectId, PutBuyerLeadOfferInput, RegisterAuctionBuyerPhoneInput, RegisterInput, RemoveSubscriptionDomainRecordInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput, UpdateAuctionMuteStatusInput, UpdateBuyerDomainTransferBuyerInfoInput, UpdateBuyerDomainTransferIpsTagInputDto, UpdateBuyerNotificationSettingsInput, UpdateLeadMuteStatusForBuyerInput, UpdateSubscriptionBuyerInformationInput, UpdateSubscriptionDomainNameserversInput, UpdateSubscriptionDomainRecordInput, UpdateTaskMuteStatusForBuyerInput, VerifyPhoneOtpInput } from '../models/index';
|
|
14
14
|
export interface BuyersApiAcceptBuyerLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
}
|
|
@@ -32,6 +32,9 @@ export interface BuyersApiBulkReadBuyerLeadMessageRequest {
|
|
|
32
32
|
leadId: string;
|
|
33
33
|
batchReadBuyerLeadMessageInput: BatchReadBuyerLeadMessageInput;
|
|
34
34
|
}
|
|
35
|
+
export interface BuyersApiCancelBuyerDomainAppraisalRequestRequest {
|
|
36
|
+
domainAppraisalRequestId: string;
|
|
37
|
+
}
|
|
35
38
|
export interface BuyersApiCancelSubscriptionRequest {
|
|
36
39
|
subscriptionId: string;
|
|
37
40
|
}
|
|
@@ -61,6 +64,15 @@ export interface BuyersApiGetBuyerAuctionsRequest {
|
|
|
61
64
|
sortBy?: Array<string>;
|
|
62
65
|
filterStatus?: string;
|
|
63
66
|
}
|
|
67
|
+
export interface BuyersApiGetBuyerDomainAppraisalRequestsRequest {
|
|
68
|
+
filter?: {
|
|
69
|
+
[key: string]: string;
|
|
70
|
+
};
|
|
71
|
+
page?: number;
|
|
72
|
+
limit?: number;
|
|
73
|
+
sortBy?: Array<string>;
|
|
74
|
+
filterStatus?: string;
|
|
75
|
+
}
|
|
64
76
|
export interface BuyersApiGetBuyerInvoicesRequest {
|
|
65
77
|
filter?: {
|
|
66
78
|
[key: string]: string;
|
|
@@ -265,6 +277,16 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
265
277
|
* Get current buyer session
|
|
266
278
|
*/
|
|
267
279
|
buyerMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerSessionDto>;
|
|
280
|
+
/**
|
|
281
|
+
* Cancels a domain appraisal of the buyer that has not been paid, with its invoice.
|
|
282
|
+
* Cancel domain appraisal request
|
|
283
|
+
*/
|
|
284
|
+
cancelBuyerDomainAppraisalRequestRaw(requestParameters: BuyersApiCancelBuyerDomainAppraisalRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
285
|
+
/**
|
|
286
|
+
* Cancels a domain appraisal of the buyer that has not been paid, with its invoice.
|
|
287
|
+
* Cancel domain appraisal request
|
|
288
|
+
*/
|
|
289
|
+
cancelBuyerDomainAppraisalRequest(requestParameters: BuyersApiCancelBuyerDomainAppraisalRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
268
290
|
/**
|
|
269
291
|
* Schedules cancellation of an active buyer subscription.
|
|
270
292
|
* Cancel subscription
|
|
@@ -355,6 +377,16 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
355
377
|
* List buyer auctions
|
|
356
378
|
*/
|
|
357
379
|
getBuyerAuctions(requestParameters?: BuyersApiGetBuyerAuctionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetBuyerAuctions200Response>;
|
|
380
|
+
/**
|
|
381
|
+
* Lists the domain appraisals bought by the buyer.
|
|
382
|
+
* List domain appraisal requests
|
|
383
|
+
*/
|
|
384
|
+
getBuyerDomainAppraisalRequestsRaw(requestParameters: BuyersApiGetBuyerDomainAppraisalRequestsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetBuyerDomainAppraisalRequests200Response>>;
|
|
385
|
+
/**
|
|
386
|
+
* Lists the domain appraisals bought by the buyer.
|
|
387
|
+
* List domain appraisal requests
|
|
388
|
+
*/
|
|
389
|
+
getBuyerDomainAppraisalRequests(requestParameters?: BuyersApiGetBuyerDomainAppraisalRequestsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetBuyerDomainAppraisalRequests200Response>;
|
|
358
390
|
/**
|
|
359
391
|
* Lists invoices for the buyer.
|
|
360
392
|
* List buyer invoices
|
package/dist/apis/BuyersApi.js
CHANGED
|
@@ -464,6 +464,59 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
464
464
|
});
|
|
465
465
|
});
|
|
466
466
|
};
|
|
467
|
+
/**
|
|
468
|
+
* Cancels a domain appraisal of the buyer that has not been paid, with its invoice.
|
|
469
|
+
* Cancel domain appraisal request
|
|
470
|
+
*/
|
|
471
|
+
BuyersApi.prototype.cancelBuyerDomainAppraisalRequestRaw = function (requestParameters, initOverrides) {
|
|
472
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
473
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
474
|
+
return __generator(this, function (_a) {
|
|
475
|
+
switch (_a.label) {
|
|
476
|
+
case 0:
|
|
477
|
+
if (requestParameters['domainAppraisalRequestId'] == null) {
|
|
478
|
+
throw new runtime.RequiredError('domainAppraisalRequestId', 'Required parameter "domainAppraisalRequestId" was null or undefined when calling cancelBuyerDomainAppraisalRequest().');
|
|
479
|
+
}
|
|
480
|
+
queryParameters = {};
|
|
481
|
+
headerParameters = {};
|
|
482
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
483
|
+
token = this.configuration.accessToken;
|
|
484
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
485
|
+
case 1:
|
|
486
|
+
tokenString = _a.sent();
|
|
487
|
+
if (tokenString) {
|
|
488
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
489
|
+
}
|
|
490
|
+
_a.label = 2;
|
|
491
|
+
case 2: return [4 /*yield*/, this.request({
|
|
492
|
+
path: "/buyers/private/domain-appraisal-requests/{domainAppraisalRequestId}/cancel".replace("{".concat("domainAppraisalRequestId", "}"), encodeURIComponent(String(requestParameters['domainAppraisalRequestId']))),
|
|
493
|
+
method: 'POST',
|
|
494
|
+
headers: headerParameters,
|
|
495
|
+
query: queryParameters,
|
|
496
|
+
}, initOverrides)];
|
|
497
|
+
case 3:
|
|
498
|
+
response = _a.sent();
|
|
499
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
500
|
+
}
|
|
501
|
+
});
|
|
502
|
+
});
|
|
503
|
+
};
|
|
504
|
+
/**
|
|
505
|
+
* Cancels a domain appraisal of the buyer that has not been paid, with its invoice.
|
|
506
|
+
* Cancel domain appraisal request
|
|
507
|
+
*/
|
|
508
|
+
BuyersApi.prototype.cancelBuyerDomainAppraisalRequest = function (requestParameters, initOverrides) {
|
|
509
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
510
|
+
return __generator(this, function (_a) {
|
|
511
|
+
switch (_a.label) {
|
|
512
|
+
case 0: return [4 /*yield*/, this.cancelBuyerDomainAppraisalRequestRaw(requestParameters, initOverrides)];
|
|
513
|
+
case 1:
|
|
514
|
+
_a.sent();
|
|
515
|
+
return [2 /*return*/];
|
|
516
|
+
}
|
|
517
|
+
});
|
|
518
|
+
});
|
|
519
|
+
};
|
|
467
520
|
/**
|
|
468
521
|
* Schedules cancellation of an active buyer subscription.
|
|
469
522
|
* Cancel subscription
|
|
@@ -970,6 +1023,74 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
970
1023
|
});
|
|
971
1024
|
});
|
|
972
1025
|
};
|
|
1026
|
+
/**
|
|
1027
|
+
* Lists the domain appraisals bought by the buyer.
|
|
1028
|
+
* List domain appraisal requests
|
|
1029
|
+
*/
|
|
1030
|
+
BuyersApi.prototype.getBuyerDomainAppraisalRequestsRaw = function (requestParameters, initOverrides) {
|
|
1031
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1032
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
1033
|
+
return __generator(this, function (_a) {
|
|
1034
|
+
switch (_a.label) {
|
|
1035
|
+
case 0:
|
|
1036
|
+
queryParameters = {};
|
|
1037
|
+
if (requestParameters['filter'] != null) {
|
|
1038
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
1039
|
+
}
|
|
1040
|
+
if (requestParameters['page'] != null) {
|
|
1041
|
+
queryParameters['page'] = requestParameters['page'];
|
|
1042
|
+
}
|
|
1043
|
+
if (requestParameters['limit'] != null) {
|
|
1044
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
1045
|
+
}
|
|
1046
|
+
if (requestParameters['sortBy'] != null) {
|
|
1047
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
1048
|
+
}
|
|
1049
|
+
if (requestParameters['filterStatus'] != null) {
|
|
1050
|
+
queryParameters['filter[status]'] = requestParameters['filterStatus'];
|
|
1051
|
+
}
|
|
1052
|
+
headerParameters = {};
|
|
1053
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
1054
|
+
token = this.configuration.accessToken;
|
|
1055
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
1056
|
+
case 1:
|
|
1057
|
+
tokenString = _a.sent();
|
|
1058
|
+
if (tokenString) {
|
|
1059
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
1060
|
+
}
|
|
1061
|
+
_a.label = 2;
|
|
1062
|
+
case 2: return [4 /*yield*/, this.request({
|
|
1063
|
+
path: "/buyers/private/domain-appraisal-requests",
|
|
1064
|
+
method: 'GET',
|
|
1065
|
+
headers: headerParameters,
|
|
1066
|
+
query: queryParameters,
|
|
1067
|
+
}, initOverrides)];
|
|
1068
|
+
case 3:
|
|
1069
|
+
response = _a.sent();
|
|
1070
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetBuyerDomainAppraisalRequests200ResponseFromJSON)(jsonValue); })];
|
|
1071
|
+
}
|
|
1072
|
+
});
|
|
1073
|
+
});
|
|
1074
|
+
};
|
|
1075
|
+
/**
|
|
1076
|
+
* Lists the domain appraisals bought by the buyer.
|
|
1077
|
+
* List domain appraisal requests
|
|
1078
|
+
*/
|
|
1079
|
+
BuyersApi.prototype.getBuyerDomainAppraisalRequests = function () {
|
|
1080
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
1081
|
+
var response;
|
|
1082
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1083
|
+
return __generator(this, function (_a) {
|
|
1084
|
+
switch (_a.label) {
|
|
1085
|
+
case 0: return [4 /*yield*/, this.getBuyerDomainAppraisalRequestsRaw(requestParameters, initOverrides)];
|
|
1086
|
+
case 1:
|
|
1087
|
+
response = _a.sent();
|
|
1088
|
+
return [4 /*yield*/, response.value()];
|
|
1089
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1090
|
+
}
|
|
1091
|
+
});
|
|
1092
|
+
});
|
|
1093
|
+
};
|
|
973
1094
|
/**
|
|
974
1095
|
* Lists invoices for the buyer.
|
|
975
1096
|
* List buyer invoices
|
|
@@ -0,0 +1,50 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { GetBuyerDomainAppraisalRequests200Response } from '../models/index';
|
|
14
|
+
export interface DomainAppraisalRequestsApiCancelSellerDomainAppraisalRequestRequest {
|
|
15
|
+
domainAppraisalRequestId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface DomainAppraisalRequestsApiGetSellerDomainAppraisalRequestsRequest {
|
|
18
|
+
filter?: {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
};
|
|
21
|
+
page?: number;
|
|
22
|
+
limit?: number;
|
|
23
|
+
sortBy?: Array<string>;
|
|
24
|
+
filterStatus?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class DomainAppraisalRequestsApi extends runtime.BaseAPI {
|
|
30
|
+
/**
|
|
31
|
+
* Cancels a domain appraisal of the seller account that has not been paid, with its invoice. **API key scope required:** `PAYMENTS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
32
|
+
* Cancel domain appraisal request
|
|
33
|
+
*/
|
|
34
|
+
cancelSellerDomainAppraisalRequestRaw(requestParameters: DomainAppraisalRequestsApiCancelSellerDomainAppraisalRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
35
|
+
/**
|
|
36
|
+
* Cancels a domain appraisal of the seller account that has not been paid, with its invoice. **API key scope required:** `PAYMENTS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
37
|
+
* Cancel domain appraisal request
|
|
38
|
+
*/
|
|
39
|
+
cancelSellerDomainAppraisalRequest(requestParameters: DomainAppraisalRequestsApiCancelSellerDomainAppraisalRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* Lists the domain appraisals bought by the seller account. **API key scope required:** `PAYMENTS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
42
|
+
* List domain appraisal requests
|
|
43
|
+
*/
|
|
44
|
+
getSellerDomainAppraisalRequestsRaw(requestParameters: DomainAppraisalRequestsApiGetSellerDomainAppraisalRequestsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetBuyerDomainAppraisalRequests200Response>>;
|
|
45
|
+
/**
|
|
46
|
+
* Lists the domain appraisals bought by the seller account. **API key scope required:** `PAYMENTS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
47
|
+
* List domain appraisal requests
|
|
48
|
+
*/
|
|
49
|
+
getSellerDomainAppraisalRequests(requestParameters?: DomainAppraisalRequestsApiGetSellerDomainAppraisalRequestsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetBuyerDomainAppraisalRequests200Response>;
|
|
50
|
+
}
|