@randock/nameshift-api-client 0.0.537 → 0.0.539
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 +20 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +36 -1
- package/dist/apis/AdminApi.js +136 -0
- package/dist/apis/BrokeredLeadsApi.d.ts +195 -0
- package/dist/apis/BrokeredLeadsApi.js +912 -0
- package/dist/apis/BrokeredLeadsPublicApi.d.ts +31 -0
- package/dist/apis/BrokeredLeadsPublicApi.js +126 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AccountBrokerSettingsInput.d.ts +38 -0
- package/dist/models/AccountBrokerSettingsInput.js +51 -0
- package/dist/models/AccountDto.d.ts +6 -0
- package/dist/models/AccountDto.js +4 -0
- package/dist/models/AccountNameshiftCommissionBySubtypeDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionBySubtypeDto.js +2 -1
- package/dist/models/AccountNameshiftCommissionItemDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionItemDto.js +2 -1
- package/dist/models/AccountNameshiftCommissionReasonDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionReasonDto.js +2 -1
- package/dist/models/AccountNotificationDto.d.ts +1 -0
- package/dist/models/AccountNotificationDto.js +2 -1
- package/dist/models/AccountSettingsBrokerDto.d.ts +38 -0
- package/dist/models/AccountSettingsBrokerDto.js +55 -0
- package/dist/models/AccountSettingsDto.d.ts +7 -0
- package/dist/models/AccountSettingsDto.js +5 -0
- package/dist/models/AccountSettingsInput.d.ts +7 -0
- package/dist/models/AccountSettingsInput.js +3 -0
- package/dist/models/AdminBrokeredLeadDto.d.ts +248 -0
- package/dist/models/AdminBrokeredLeadDto.js +204 -0
- package/dist/models/AdminListBrokeredLeads200Response.d.ts +47 -0
- package/dist/models/AdminListBrokeredLeads200Response.js +62 -0
- package/dist/models/ApiKeyDto.d.ts +2 -0
- package/dist/models/ApiKeyDto.js +2 -0
- package/dist/models/ApiKeyScopeDto.d.ts +2 -0
- package/dist/models/ApiKeyScopeDto.js +2 -0
- package/dist/models/BrokerBrokeredLeadDto.d.ts +189 -0
- package/dist/models/BrokerBrokeredLeadDto.js +162 -0
- package/dist/models/BrokerCommissionInput.d.ts +52 -0
- package/dist/models/BrokerCommissionInput.js +63 -0
- package/dist/models/BrokeredLeadBreakdownDto.d.ts +58 -0
- package/dist/models/BrokeredLeadBreakdownDto.js +69 -0
- package/dist/models/BrokeredLeadBuyerContactDto.d.ts +50 -0
- package/dist/models/BrokeredLeadBuyerContactDto.js +63 -0
- package/dist/models/BrokeredLeadBuyerInput.d.ts +50 -0
- package/dist/models/BrokeredLeadBuyerInput.js +63 -0
- package/dist/models/BrokeredLeadCommissionDto.d.ts +71 -0
- package/dist/models/BrokeredLeadCommissionDto.js +80 -0
- package/dist/models/BrokeredLeadInvitationDto.d.ts +57 -0
- package/dist/models/BrokeredLeadInvitationDto.js +68 -0
- package/dist/models/BuyerInvoiceDto.d.ts +6 -0
- package/dist/models/BuyerInvoiceDto.js +4 -0
- package/dist/models/BuyerNotificationDto.d.ts +6 -0
- package/dist/models/BuyerNotificationDto.js +7 -1
- package/dist/models/BuyerNotificationListItemDto.d.ts +6 -0
- package/dist/models/BuyerNotificationListItemDto.js +7 -1
- package/dist/models/CommissionDto.d.ts +1 -0
- package/dist/models/CommissionDto.js +2 -1
- package/dist/models/CommissionPayloadInput.d.ts +1 -0
- package/dist/models/CommissionPayloadInput.js +2 -1
- package/dist/models/CommissionReasonDto.d.ts +1 -0
- package/dist/models/CommissionReasonDto.js +2 -1
- package/dist/models/CommissionSimulationItemInput.d.ts +1 -0
- package/dist/models/CommissionSimulationItemInput.js +2 -1
- package/dist/models/CreateApiKeyInput.d.ts +2 -0
- package/dist/models/CreateApiKeyInput.js +2 -0
- package/dist/models/CreateBrokeredLeadInput.d.ts +59 -0
- package/dist/models/CreateBrokeredLeadInput.js +68 -0
- package/dist/models/CreatedApiKeyDto.d.ts +2 -0
- package/dist/models/CreatedApiKeyDto.js +2 -0
- package/dist/models/CustomerSuccessListAccountDto.d.ts +6 -0
- package/dist/models/CustomerSuccessListAccountDto.js +4 -0
- package/dist/models/DeclineBrokeredLeadInput.d.ts +32 -0
- package/dist/models/DeclineBrokeredLeadInput.js +49 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +7 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +1 -1
- package/dist/models/InvoiceDto.d.ts +6 -0
- package/dist/models/InvoiceDto.js +4 -0
- package/dist/models/LeadBrokeredDealDto.d.ts +39 -0
- package/dist/models/LeadBrokeredDealDto.js +56 -0
- package/dist/models/ListBrokerLeads200Response.d.ts +47 -0
- package/dist/models/ListBrokerLeads200Response.js +62 -0
- package/dist/models/ListLeadsResultItem.d.ts +7 -0
- package/dist/models/ListLeadsResultItem.js +5 -0
- package/dist/models/ManualLeadDetails.d.ts +7 -0
- package/dist/models/ManualLeadDetails.js +5 -0
- package/dist/models/OverrideBrokeredLeadNameshiftCommissionInput.d.ts +38 -0
- package/dist/models/OverrideBrokeredLeadNameshiftCommissionInput.js +55 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +13 -0
- package/dist/models/PrivateAccountGetMeResponse.js +9 -0
- package/dist/models/RegisterAccountInput.d.ts +6 -0
- package/dist/models/RegisterAccountInput.js +2 -0
- package/dist/models/SellerBrokeredLeadDto.d.ts +114 -0
- package/dist/models/SellerBrokeredLeadDto.js +111 -0
- package/dist/models/SellerBrokeredLeadVerificationDto.d.ts +44 -0
- package/dist/models/SellerBrokeredLeadVerificationDto.js +59 -0
- package/dist/models/SellerInvoiceDto.d.ts +6 -0
- package/dist/models/SellerInvoiceDto.js +4 -0
- package/dist/models/SimulateCommissionInput.d.ts +1 -0
- package/dist/models/SimulateCommissionInput.js +2 -1
- package/dist/models/TaskListDomainDto.d.ts +7 -0
- package/dist/models/TaskListDomainDto.js +5 -0
- package/dist/models/TaskListLeadDto.d.ts +16 -0
- package/dist/models/TaskListLeadDto.js +14 -1
- package/dist/models/UpdateApiKeyInput.d.ts +2 -0
- package/dist/models/UpdateApiKeyInput.js +2 -0
- package/dist/models/UserNotificationDto.d.ts +6 -0
- package/dist/models/UserNotificationDto.js +7 -1
- package/dist/models/UserNotificationListItemDto.d.ts +6 -0
- package/dist/models/UserNotificationListItemDto.js +7 -1
- package/dist/models/WithSettingsInner.d.ts +11 -4
- package/dist/models/WithSettingsInner.js +9 -4
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +145 -0
- package/src/apis/BrokeredLeadsApi.ts +740 -0
- package/src/apis/BrokeredLeadsPublicApi.ts +69 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AccountBrokerSettingsInput.ts +73 -0
- package/src/models/AccountDto.ts +9 -0
- package/src/models/AccountNameshiftCommissionBySubtypeDto.ts +2 -1
- package/src/models/AccountNameshiftCommissionItemDto.ts +2 -1
- package/src/models/AccountNameshiftCommissionReasonDto.ts +2 -1
- package/src/models/AccountNotificationDto.ts +2 -1
- package/src/models/AccountSettingsBrokerDto.ts +75 -0
- package/src/models/AccountSettingsDto.ts +16 -0
- package/src/models/AccountSettingsInput.ts +15 -0
- package/src/models/AdminBrokeredLeadDto.ts +404 -0
- package/src/models/AdminListBrokeredLeads200Response.ts +106 -0
- package/src/models/ApiKeyDto.ts +2 -0
- package/src/models/ApiKeyScopeDto.ts +2 -0
- package/src/models/BrokerBrokeredLeadDto.ts +320 -0
- package/src/models/BrokerCommissionInput.ts +93 -0
- package/src/models/BrokeredLeadBreakdownDto.ts +117 -0
- package/src/models/BrokeredLeadBuyerContactDto.ts +93 -0
- package/src/models/BrokeredLeadBuyerInput.ts +93 -0
- package/src/models/BrokeredLeadCommissionDto.ts +130 -0
- package/src/models/BrokeredLeadInvitationDto.ts +110 -0
- package/src/models/BuyerInvoiceDto.ts +9 -0
- package/src/models/BuyerNotificationDto.ts +7 -1
- package/src/models/BuyerNotificationListItemDto.ts +7 -1
- package/src/models/CommissionDto.ts +2 -1
- package/src/models/CommissionPayloadInput.ts +2 -1
- package/src/models/CommissionReasonDto.ts +2 -1
- package/src/models/CommissionSimulationItemInput.ts +2 -1
- package/src/models/CreateApiKeyInput.ts +2 -0
- package/src/models/CreateBrokeredLeadInput.ts +123 -0
- package/src/models/CreatedApiKeyDto.ts +2 -0
- package/src/models/CustomerSuccessListAccountDto.ts +9 -0
- package/src/models/DeclineBrokeredLeadInput.ts +65 -0
- package/src/models/FeatureFlagListItemDto.ts +1 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +10 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +1 -1
- package/src/models/InvoiceDto.ts +9 -0
- package/src/models/LeadBrokeredDealDto.ts +83 -0
- package/src/models/ListBrokerLeads200Response.ts +106 -0
- package/src/models/ListLeadsResultItem.ts +16 -0
- package/src/models/ManualLeadDetails.ts +16 -0
- package/src/models/OverrideBrokeredLeadNameshiftCommissionInput.ts +75 -0
- package/src/models/PrivateAccountGetMeResponse.ts +19 -0
- package/src/models/RegisterAccountInput.ts +8 -0
- package/src/models/SellerBrokeredLeadDto.ts +215 -0
- package/src/models/SellerBrokeredLeadVerificationDto.ts +84 -0
- package/src/models/SellerInvoiceDto.ts +9 -0
- package/src/models/SimulateCommissionInput.ts +2 -1
- package/src/models/TaskListDomainDto.ts +17 -0
- package/src/models/TaskListLeadDto.ts +20 -0
- package/src/models/UpdateApiKeyInput.ts +2 -0
- package/src/models/UserNotificationDto.ts +7 -1
- package/src/models/UserNotificationListItemDto.ts +7 -1
- package/src/models/WithSettingsInner.ts +44 -28
- package/src/models/index.ts +18 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -11,6 +11,8 @@ src/apis/AdminApi.ts
|
|
|
11
11
|
src/apis/AuctionsApi.ts
|
|
12
12
|
src/apis/AuctionsPublicApi.ts
|
|
13
13
|
src/apis/BankAccountsApi.ts
|
|
14
|
+
src/apis/BrokeredLeadsApi.ts
|
|
15
|
+
src/apis/BrokeredLeadsPublicApi.ts
|
|
14
16
|
src/apis/BuyersApi.ts
|
|
15
17
|
src/apis/BuyersPublicApi.ts
|
|
16
18
|
src/apis/ChallengesApi.ts
|
|
@@ -48,6 +50,7 @@ src/models/AccountAliasInput.ts
|
|
|
48
50
|
src/models/AccountBankAccountDetailsDto.ts
|
|
49
51
|
src/models/AccountBankAccountDto.ts
|
|
50
52
|
src/models/AccountBankAccountSummaryDto.ts
|
|
53
|
+
src/models/AccountBrokerSettingsInput.ts
|
|
51
54
|
src/models/AccountChallengeRewardUsageListItemDto.ts
|
|
52
55
|
src/models/AccountChallengeRewardUsageListItemDtoMetadata.ts
|
|
53
56
|
src/models/AccountCommissionByDateRangeDto.ts
|
|
@@ -79,6 +82,7 @@ src/models/AccountSettingsAffiliateCommissionDto.ts
|
|
|
79
82
|
src/models/AccountSettingsAffiliateCommissionReferralDuration.ts
|
|
80
83
|
src/models/AccountSettingsAffiliateDto.ts
|
|
81
84
|
src/models/AccountSettingsAliasDto.ts
|
|
85
|
+
src/models/AccountSettingsBrokerDto.ts
|
|
82
86
|
src/models/AccountSettingsDto.ts
|
|
83
87
|
src/models/AccountSettingsInput.ts
|
|
84
88
|
src/models/AccountSettingsLeaseToOwnConfigurationDto.ts
|
|
@@ -104,6 +108,7 @@ src/models/AdminBankDepositAccountDto.ts
|
|
|
104
108
|
src/models/AdminBankDepositDto.ts
|
|
105
109
|
src/models/AdminBankDepositInvoiceDto.ts
|
|
106
110
|
src/models/AdminBankDepositInvoiceTransactionDto.ts
|
|
111
|
+
src/models/AdminBrokeredLeadDto.ts
|
|
107
112
|
src/models/AdminBuyerListItemDto.ts
|
|
108
113
|
src/models/AdminBuyerLoginDto.ts
|
|
109
114
|
src/models/AdminChallengeListDto.ts
|
|
@@ -118,6 +123,7 @@ src/models/AdminLeadListItemBuyerDto.ts
|
|
|
118
123
|
src/models/AdminLeadListItemDomainDto.ts
|
|
119
124
|
src/models/AdminLeadListItemDto.ts
|
|
120
125
|
src/models/AdminListAccountDto.ts
|
|
126
|
+
src/models/AdminListBrokeredLeads200Response.ts
|
|
121
127
|
src/models/AdminMarketplaceDto.ts
|
|
122
128
|
src/models/AdminUserNewsletterInput.ts
|
|
123
129
|
src/models/AdminUserSecurityDto.ts
|
|
@@ -162,6 +168,13 @@ src/models/BatchReadSellerLeadMessageInput.ts
|
|
|
162
168
|
src/models/BatchUpdateDomainsInput.ts
|
|
163
169
|
src/models/BatchVerifyBuyerLeadsInput.ts
|
|
164
170
|
src/models/BillingInformationDto.ts
|
|
171
|
+
src/models/BrokerBrokeredLeadDto.ts
|
|
172
|
+
src/models/BrokerCommissionInput.ts
|
|
173
|
+
src/models/BrokeredLeadBreakdownDto.ts
|
|
174
|
+
src/models/BrokeredLeadBuyerContactDto.ts
|
|
175
|
+
src/models/BrokeredLeadBuyerInput.ts
|
|
176
|
+
src/models/BrokeredLeadCommissionDto.ts
|
|
177
|
+
src/models/BrokeredLeadInvitationDto.ts
|
|
165
178
|
src/models/BulkCommissionActionsInput.ts
|
|
166
179
|
src/models/BulkCommissionActionsInputActionsInner.ts
|
|
167
180
|
src/models/BulkDownloadInvoicesInput.ts
|
|
@@ -242,6 +255,7 @@ src/models/CreateAccountPaymentManualTransactionInput.ts
|
|
|
242
255
|
src/models/CreateApiKeyInput.ts
|
|
243
256
|
src/models/CreateBankAccountDetailsInput.ts
|
|
244
257
|
src/models/CreateBankAccountInput.ts
|
|
258
|
+
src/models/CreateBrokeredLeadInput.ts
|
|
245
259
|
src/models/CreateBuyerDomainAppraisalRequestInput.ts
|
|
246
260
|
src/models/CreateBuyerLeadMessageInput.ts
|
|
247
261
|
src/models/CreateChallengeInput.ts
|
|
@@ -266,6 +280,7 @@ src/models/CustomerSuccessListAccountDto.ts
|
|
|
266
280
|
src/models/CustomerSuccessListAccountMetricsDto.ts
|
|
267
281
|
src/models/CustomerSuccessListAccountPortfolioSizeDto.ts
|
|
268
282
|
src/models/CustomerSuccessListAccountUserDto.ts
|
|
283
|
+
src/models/DeclineBrokeredLeadInput.ts
|
|
269
284
|
src/models/DeleteDomainsInput.ts
|
|
270
285
|
src/models/DomainAppraisalRequestListItemDto.ts
|
|
271
286
|
src/models/DomainAppraisalRequestStatus.ts
|
|
@@ -384,6 +399,7 @@ src/models/LandingPageOriginalDesignSettingsDto.ts
|
|
|
384
399
|
src/models/LandingPageOriginalDesignSettingsInput.ts
|
|
385
400
|
src/models/LandingPageSettingsDto.ts
|
|
386
401
|
src/models/LatestDomainAppraisalRequestDto.ts
|
|
402
|
+
src/models/LeadBrokeredDealDto.ts
|
|
387
403
|
src/models/LeadBuyerConfigDto.ts
|
|
388
404
|
src/models/LeadDomainDto.ts
|
|
389
405
|
src/models/LeadDto.ts
|
|
@@ -440,6 +456,7 @@ src/models/ListAdminRelatedLeads200Response.ts
|
|
|
440
456
|
src/models/ListAuctions200Response.ts
|
|
441
457
|
src/models/ListBankAccounts200Response.ts
|
|
442
458
|
src/models/ListBankDeposits200Response.ts
|
|
459
|
+
src/models/ListBrokerLeads200Response.ts
|
|
443
460
|
src/models/ListBuyerNotifications200Response.ts
|
|
444
461
|
src/models/ListBuyers200Response.ts
|
|
445
462
|
src/models/ListCustomerSuccessAccountDomains200Response.ts
|
|
@@ -495,6 +512,7 @@ src/models/OrderListItemDtoBuyerInformation.ts
|
|
|
495
512
|
src/models/OrderListItemDtoDomainInformation.ts
|
|
496
513
|
src/models/OrderListItemDtoSellerAccount.ts
|
|
497
514
|
src/models/OrderListItemDtoTransaction.ts
|
|
515
|
+
src/models/OverrideBrokeredLeadNameshiftCommissionInput.ts
|
|
498
516
|
src/models/OwnedDomainDto.ts
|
|
499
517
|
src/models/PageBasedPageInfo.ts
|
|
500
518
|
src/models/PageBasedPaginationResponse.ts
|
|
@@ -573,6 +591,8 @@ src/models/SellerAffiliateCommissionDto.ts
|
|
|
573
591
|
src/models/SellerAuctionListItemDto.ts
|
|
574
592
|
src/models/SellerAuctionListItemDtoDomainInformation.ts
|
|
575
593
|
src/models/SellerAuctionListItemDtoSellerAccount.ts
|
|
594
|
+
src/models/SellerBrokeredLeadDto.ts
|
|
595
|
+
src/models/SellerBrokeredLeadVerificationDto.ts
|
|
576
596
|
src/models/SellerDomainAffiliateCommissionDto.ts
|
|
577
597
|
src/models/SellerDomainAffiliateCommissionDtoDomain.ts
|
|
578
598
|
src/models/SellerDomainTransferAuthCodeDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.539
|
|
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.539 --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
|
+
9b28f51be2464cf02d020ea7f562e00b6cbc317c5b1a1d54bd086b465fad926998ca2421338fd152daf67bef43809e02
|
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, AccountsStatsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminGetAllDomainTransfers200Response, AdminLandingDesignStatsDto, AdminMarketplaceDto, AdminUserNewsletterInput, AdminUserSecurityDto, AffiliatesStatsDto, AuctionsStatsDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CommissionsStatsDto, CreateAccountNoteInput, CreateChallengeInput, CreateNewsletterInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAdminDomainAppraisalRequests200Response, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminLandingDesignAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListBuyers200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ListUserLoginAttempts200Response, NewsStoryDto, NewsletterDto, NewsletterPreviewDto, ObjectId, PaySellerInvoicesInput, PaymentMethodsStatsDto, SalesStatsDto, SellerLeadDetails, SellerPayoutPreviewDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SendNewsletterPreviewInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateNewsletterInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
|
|
13
|
+
import type { AccountNameshiftCommissionByTypeDto, AccountNoteListDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AccountsStatsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminGetAllDomainTransfers200Response, AdminLandingDesignStatsDto, AdminListBrokeredLeads200Response, AdminMarketplaceDto, AdminUserNewsletterInput, AdminUserSecurityDto, AffiliatesStatsDto, AuctionsStatsDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CommissionsStatsDto, CreateAccountNoteInput, CreateChallengeInput, CreateNewsletterInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAdminDomainAppraisalRequests200Response, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminLandingDesignAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListBuyers200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ListUserLoginAttempts200Response, NewsStoryDto, NewsletterDto, NewsletterPreviewDto, ObjectId, OverrideBrokeredLeadNameshiftCommissionInput, PaySellerInvoicesInput, PaymentMethodsStatsDto, SalesStatsDto, SellerLeadDetails, SellerPayoutPreviewDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SendNewsletterPreviewInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateNewsletterInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
|
|
14
14
|
export interface AdminApiAdminDeleteAuctionRequest {
|
|
15
15
|
auctionId: string;
|
|
16
16
|
}
|
|
@@ -24,6 +24,23 @@ export interface AdminApiAdminGetAllDomainTransfersRequest {
|
|
|
24
24
|
filterSearchTerm?: string;
|
|
25
25
|
filterStatus?: string;
|
|
26
26
|
}
|
|
27
|
+
export interface AdminApiAdminListBrokeredLeadsRequest {
|
|
28
|
+
filter?: {
|
|
29
|
+
[key: string]: string;
|
|
30
|
+
};
|
|
31
|
+
page?: number;
|
|
32
|
+
limit?: number;
|
|
33
|
+
sortBy?: Array<string>;
|
|
34
|
+
filterStatus?: string;
|
|
35
|
+
filterBrokerStatus?: string;
|
|
36
|
+
filterSearchTerm?: string;
|
|
37
|
+
filterCreatedAtFrom?: string;
|
|
38
|
+
filterCreatedAtTo?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface AdminApiAdminOverrideBrokeredLeadNameshiftCommissionRequest {
|
|
41
|
+
brokeredLeadId: string;
|
|
42
|
+
overrideBrokeredLeadNameshiftCommissionInput: OverrideBrokeredLeadNameshiftCommissionInput;
|
|
43
|
+
}
|
|
27
44
|
export interface AdminApiAdminUpdateDomainTransferBuyerCompanyInfoRequest {
|
|
28
45
|
transferId: string;
|
|
29
46
|
updateAdminDomainTransferBuyerCompanyInfoInput: UpdateAdminDomainTransferBuyerCompanyInfoInput;
|
|
@@ -492,6 +509,24 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
492
509
|
* List all domain transfers
|
|
493
510
|
*/
|
|
494
511
|
adminGetAllDomainTransfers(requestParameters?: AdminApiAdminGetAllDomainTransfersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminGetAllDomainTransfers200Response>;
|
|
512
|
+
/**
|
|
513
|
+
* List all brokered deals
|
|
514
|
+
*/
|
|
515
|
+
adminListBrokeredLeadsRaw(requestParameters: AdminApiAdminListBrokeredLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminListBrokeredLeads200Response>>;
|
|
516
|
+
/**
|
|
517
|
+
* List all brokered deals
|
|
518
|
+
*/
|
|
519
|
+
adminListBrokeredLeads(requestParameters?: AdminApiAdminListBrokeredLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminListBrokeredLeads200Response>;
|
|
520
|
+
/**
|
|
521
|
+
* Overrides the platform fee charged to the broker, e.g. for a high value deal. Only until the buyer has paid, and never above the broker commission.
|
|
522
|
+
* Set a custom platform fee for a brokered deal
|
|
523
|
+
*/
|
|
524
|
+
adminOverrideBrokeredLeadNameshiftCommissionRaw(requestParameters: AdminApiAdminOverrideBrokeredLeadNameshiftCommissionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
525
|
+
/**
|
|
526
|
+
* Overrides the platform fee charged to the broker, e.g. for a high value deal. Only until the buyer has paid, and never above the broker commission.
|
|
527
|
+
* Set a custom platform fee for a brokered deal
|
|
528
|
+
*/
|
|
529
|
+
adminOverrideBrokeredLeadNameshiftCommission(requestParameters: AdminApiAdminOverrideBrokeredLeadNameshiftCommissionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
495
530
|
/**
|
|
496
531
|
* Corrects the company registration id stored on the active buyer invoice of the domain transfer. The registry contact of the transfer is built from it; the issued invoice and its taxes are left untouched.
|
|
497
532
|
* Update the company id of the buyer
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -199,6 +199,142 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
199
199
|
});
|
|
200
200
|
});
|
|
201
201
|
};
|
|
202
|
+
/**
|
|
203
|
+
* List all brokered deals
|
|
204
|
+
*/
|
|
205
|
+
AdminApi.prototype.adminListBrokeredLeadsRaw = function (requestParameters, initOverrides) {
|
|
206
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
207
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
208
|
+
return __generator(this, function (_a) {
|
|
209
|
+
switch (_a.label) {
|
|
210
|
+
case 0:
|
|
211
|
+
queryParameters = {};
|
|
212
|
+
if (requestParameters['filter'] != null) {
|
|
213
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
214
|
+
}
|
|
215
|
+
if (requestParameters['page'] != null) {
|
|
216
|
+
queryParameters['page'] = requestParameters['page'];
|
|
217
|
+
}
|
|
218
|
+
if (requestParameters['limit'] != null) {
|
|
219
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
220
|
+
}
|
|
221
|
+
if (requestParameters['sortBy'] != null) {
|
|
222
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
223
|
+
}
|
|
224
|
+
if (requestParameters['filterStatus'] != null) {
|
|
225
|
+
queryParameters['filter[status]'] = requestParameters['filterStatus'];
|
|
226
|
+
}
|
|
227
|
+
if (requestParameters['filterBrokerStatus'] != null) {
|
|
228
|
+
queryParameters['filter[broker_status]'] = requestParameters['filterBrokerStatus'];
|
|
229
|
+
}
|
|
230
|
+
if (requestParameters['filterSearchTerm'] != null) {
|
|
231
|
+
queryParameters['filter[search_term]'] = requestParameters['filterSearchTerm'];
|
|
232
|
+
}
|
|
233
|
+
if (requestParameters['filterCreatedAtFrom'] != null) {
|
|
234
|
+
queryParameters['filter[createdAtFrom]'] = requestParameters['filterCreatedAtFrom'];
|
|
235
|
+
}
|
|
236
|
+
if (requestParameters['filterCreatedAtTo'] != null) {
|
|
237
|
+
queryParameters['filter[createdAtTo]'] = requestParameters['filterCreatedAtTo'];
|
|
238
|
+
}
|
|
239
|
+
headerParameters = {};
|
|
240
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
241
|
+
token = this.configuration.accessToken;
|
|
242
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
243
|
+
case 1:
|
|
244
|
+
tokenString = _a.sent();
|
|
245
|
+
if (tokenString) {
|
|
246
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
247
|
+
}
|
|
248
|
+
_a.label = 2;
|
|
249
|
+
case 2: return [4 /*yield*/, this.request({
|
|
250
|
+
path: "/admin/brokered-leads",
|
|
251
|
+
method: 'GET',
|
|
252
|
+
headers: headerParameters,
|
|
253
|
+
query: queryParameters,
|
|
254
|
+
}, initOverrides)];
|
|
255
|
+
case 3:
|
|
256
|
+
response = _a.sent();
|
|
257
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AdminListBrokeredLeads200ResponseFromJSON)(jsonValue); })];
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
});
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* List all brokered deals
|
|
264
|
+
*/
|
|
265
|
+
AdminApi.prototype.adminListBrokeredLeads = function () {
|
|
266
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
267
|
+
var response;
|
|
268
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
269
|
+
return __generator(this, function (_a) {
|
|
270
|
+
switch (_a.label) {
|
|
271
|
+
case 0: return [4 /*yield*/, this.adminListBrokeredLeadsRaw(requestParameters, initOverrides)];
|
|
272
|
+
case 1:
|
|
273
|
+
response = _a.sent();
|
|
274
|
+
return [4 /*yield*/, response.value()];
|
|
275
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
276
|
+
}
|
|
277
|
+
});
|
|
278
|
+
});
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* Overrides the platform fee charged to the broker, e.g. for a high value deal. Only until the buyer has paid, and never above the broker commission.
|
|
282
|
+
* Set a custom platform fee for a brokered deal
|
|
283
|
+
*/
|
|
284
|
+
AdminApi.prototype.adminOverrideBrokeredLeadNameshiftCommissionRaw = function (requestParameters, initOverrides) {
|
|
285
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
286
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
287
|
+
return __generator(this, function (_a) {
|
|
288
|
+
switch (_a.label) {
|
|
289
|
+
case 0:
|
|
290
|
+
if (requestParameters['brokeredLeadId'] == null) {
|
|
291
|
+
throw new runtime.RequiredError('brokeredLeadId', 'Required parameter "brokeredLeadId" was null or undefined when calling adminOverrideBrokeredLeadNameshiftCommission().');
|
|
292
|
+
}
|
|
293
|
+
if (requestParameters['overrideBrokeredLeadNameshiftCommissionInput'] == null) {
|
|
294
|
+
throw new runtime.RequiredError('overrideBrokeredLeadNameshiftCommissionInput', 'Required parameter "overrideBrokeredLeadNameshiftCommissionInput" was null or undefined when calling adminOverrideBrokeredLeadNameshiftCommission().');
|
|
295
|
+
}
|
|
296
|
+
queryParameters = {};
|
|
297
|
+
headerParameters = {};
|
|
298
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
299
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
300
|
+
token = this.configuration.accessToken;
|
|
301
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
302
|
+
case 1:
|
|
303
|
+
tokenString = _a.sent();
|
|
304
|
+
if (tokenString) {
|
|
305
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
306
|
+
}
|
|
307
|
+
_a.label = 2;
|
|
308
|
+
case 2: return [4 /*yield*/, this.request({
|
|
309
|
+
path: "/admin/brokered-leads/{brokeredLeadId}/nameshift-commission".replace("{".concat("brokeredLeadId", "}"), encodeURIComponent(String(requestParameters['brokeredLeadId']))),
|
|
310
|
+
method: 'PUT',
|
|
311
|
+
headers: headerParameters,
|
|
312
|
+
query: queryParameters,
|
|
313
|
+
body: (0, index_1.OverrideBrokeredLeadNameshiftCommissionInputToJSON)(requestParameters['overrideBrokeredLeadNameshiftCommissionInput']),
|
|
314
|
+
}, initOverrides)];
|
|
315
|
+
case 3:
|
|
316
|
+
response = _a.sent();
|
|
317
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
});
|
|
321
|
+
};
|
|
322
|
+
/**
|
|
323
|
+
* Overrides the platform fee charged to the broker, e.g. for a high value deal. Only until the buyer has paid, and never above the broker commission.
|
|
324
|
+
* Set a custom platform fee for a brokered deal
|
|
325
|
+
*/
|
|
326
|
+
AdminApi.prototype.adminOverrideBrokeredLeadNameshiftCommission = function (requestParameters, initOverrides) {
|
|
327
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
328
|
+
return __generator(this, function (_a) {
|
|
329
|
+
switch (_a.label) {
|
|
330
|
+
case 0: return [4 /*yield*/, this.adminOverrideBrokeredLeadNameshiftCommissionRaw(requestParameters, initOverrides)];
|
|
331
|
+
case 1:
|
|
332
|
+
_a.sent();
|
|
333
|
+
return [2 /*return*/];
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
});
|
|
337
|
+
};
|
|
202
338
|
/**
|
|
203
339
|
* Corrects the company registration id stored on the active buyer invoice of the domain transfer. The registry contact of the transfer is built from it; the issued invoice and its taxes are left untouched.
|
|
204
340
|
* Update the company id of the buyer
|
|
@@ -0,0 +1,195 @@
|
|
|
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 { BrokerBrokeredLeadDto, CreateBrokeredLeadInput, DeclineBrokeredLeadInput, ListBrokerLeads200Response, ObjectId, SellerBrokeredLeadDto } from '../models/index';
|
|
14
|
+
export interface BrokeredLeadsApiApproveSellerBrokeredLeadRequest {
|
|
15
|
+
brokeredLeadId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface BrokeredLeadsApiCancelBrokerLeadRequest {
|
|
18
|
+
brokeredLeadId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface BrokeredLeadsApiClaimSellerBrokeredLeadInvitationRequest {
|
|
21
|
+
token: string;
|
|
22
|
+
}
|
|
23
|
+
export interface BrokeredLeadsApiCreateBrokerLeadRequest {
|
|
24
|
+
createBrokeredLeadInput: CreateBrokeredLeadInput;
|
|
25
|
+
}
|
|
26
|
+
export interface BrokeredLeadsApiDeclineSellerBrokeredLeadRequest {
|
|
27
|
+
brokeredLeadId: string;
|
|
28
|
+
declineBrokeredLeadInput: DeclineBrokeredLeadInput;
|
|
29
|
+
}
|
|
30
|
+
export interface BrokeredLeadsApiGetBrokerLeadRequest {
|
|
31
|
+
brokeredLeadId: string;
|
|
32
|
+
}
|
|
33
|
+
export interface BrokeredLeadsApiGetSellerBrokeredLeadRequest {
|
|
34
|
+
brokeredLeadId: string;
|
|
35
|
+
}
|
|
36
|
+
export interface BrokeredLeadsApiListBrokerLeadsRequest {
|
|
37
|
+
filter?: {
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
};
|
|
40
|
+
page?: number;
|
|
41
|
+
limit?: number;
|
|
42
|
+
sortBy?: Array<string>;
|
|
43
|
+
filterStatus?: string;
|
|
44
|
+
filterBrokerStatus?: string;
|
|
45
|
+
filterSearchTerm?: string;
|
|
46
|
+
filterCreatedAtFrom?: string;
|
|
47
|
+
filterCreatedAtTo?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface BrokeredLeadsApiNotifyBrokerLeadBuyerRequest {
|
|
50
|
+
brokeredLeadId: string;
|
|
51
|
+
}
|
|
52
|
+
export interface BrokeredLeadsApiNotifyBrokerLeadSellerRequest {
|
|
53
|
+
brokeredLeadId: string;
|
|
54
|
+
}
|
|
55
|
+
export interface BrokeredLeadsApiRecheckSellerBrokeredLeadVerificationRequest {
|
|
56
|
+
brokeredLeadId: string;
|
|
57
|
+
}
|
|
58
|
+
export interface BrokeredLeadsApiRenewBrokerLeadSellerLinkRequest {
|
|
59
|
+
brokeredLeadId: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
export declare class BrokeredLeadsApi extends runtime.BaseAPI {
|
|
65
|
+
/**
|
|
66
|
+
* The seller agrees to the deal. It becomes a lead the buyer can pay as soon as the domain is verified as the seller’s and the seller account is verified; the domain is checked right away. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
67
|
+
* Approve a brokered deal
|
|
68
|
+
*/
|
|
69
|
+
approveSellerBrokeredLeadRaw(requestParameters: BrokeredLeadsApiApproveSellerBrokeredLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
70
|
+
/**
|
|
71
|
+
* The seller agrees to the deal. It becomes a lead the buyer can pay as soon as the domain is verified as the seller’s and the seller account is verified; the domain is checked right away. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
72
|
+
* Approve a brokered deal
|
|
73
|
+
*/
|
|
74
|
+
approveSellerBrokeredLead(requestParameters: BrokeredLeadsApiApproveSellerBrokeredLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
75
|
+
/**
|
|
76
|
+
* Withdraws a deal the seller has not completed yet. The seller signup link stops working. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
77
|
+
* Cancel a deal
|
|
78
|
+
*/
|
|
79
|
+
cancelBrokerLeadRaw(requestParameters: BrokeredLeadsApiCancelBrokerLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
80
|
+
/**
|
|
81
|
+
* Withdraws a deal the seller has not completed yet. The seller signup link stops working. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
82
|
+
* Cancel a deal
|
|
83
|
+
*/
|
|
84
|
+
cancelBrokerLead(requestParameters: BrokeredLeadsApiCancelBrokerLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* For a seller who already has an account: the deal behind the link joins this account’s brokered deals and waits for the seller’s review. The domain is added to the account when no account has it. When another account holds it, this account claims it, and the domain moves over once its DNS names this account. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
87
|
+
* Take up a broker’s signup link with this account
|
|
88
|
+
*/
|
|
89
|
+
claimSellerBrokeredLeadInvitationRaw(requestParameters: BrokeredLeadsApiClaimSellerBrokeredLeadInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
90
|
+
/**
|
|
91
|
+
* For a seller who already has an account: the deal behind the link joins this account’s brokered deals and waits for the seller’s review. The domain is added to the account when no account has it. When another account holds it, this account claims it, and the domain moves over once its DNS names this account. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
92
|
+
* Take up a broker’s signup link with this account
|
|
93
|
+
*/
|
|
94
|
+
claimSellerBrokeredLeadInvitation(requestParameters: BrokeredLeadsApiClaimSellerBrokeredLeadInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
95
|
+
/**
|
|
96
|
+
* Records a sale the broker arranged. When the account that holds the domain has verified it through DNS, that seller finds the deal waiting for review. For any other domain the deal carries a link for the seller: whoever takes it up has to show through DNS that the domain is theirs. Nobody is emailed until the broker asks for it. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
97
|
+
* Bring in a deal as a broker
|
|
98
|
+
*/
|
|
99
|
+
createBrokerLeadRaw(requestParameters: BrokeredLeadsApiCreateBrokerLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ObjectId>>;
|
|
100
|
+
/**
|
|
101
|
+
* Records a sale the broker arranged. When the account that holds the domain has verified it through DNS, that seller finds the deal waiting for review. For any other domain the deal carries a link for the seller: whoever takes it up has to show through DNS that the domain is theirs. Nobody is emailed until the broker asks for it. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
102
|
+
* Bring in a deal as a broker
|
|
103
|
+
*/
|
|
104
|
+
createBrokerLead(requestParameters: BrokeredLeadsApiCreateBrokerLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ObjectId>;
|
|
105
|
+
/**
|
|
106
|
+
* Declines a deal under review, or backs out of an approved deal that still waits for verification. The broker is told, along with the reason if given. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
107
|
+
* Decline a brokered deal
|
|
108
|
+
*/
|
|
109
|
+
declineSellerBrokeredLeadRaw(requestParameters: BrokeredLeadsApiDeclineSellerBrokeredLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
110
|
+
/**
|
|
111
|
+
* Declines a deal under review, or backs out of an approved deal that still waits for verification. The broker is told, along with the reason if given. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
112
|
+
* Decline a brokered deal
|
|
113
|
+
*/
|
|
114
|
+
declineSellerBrokeredLead(requestParameters: BrokeredLeadsApiDeclineSellerBrokeredLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
115
|
+
/**
|
|
116
|
+
* **API key scope required:** `BROKERED_LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
117
|
+
* Get a deal brought in as a broker
|
|
118
|
+
*/
|
|
119
|
+
getBrokerLeadRaw(requestParameters: BrokeredLeadsApiGetBrokerLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BrokerBrokeredLeadDto>>;
|
|
120
|
+
/**
|
|
121
|
+
* **API key scope required:** `BROKERED_LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
122
|
+
* Get a deal brought in as a broker
|
|
123
|
+
*/
|
|
124
|
+
getBrokerLead(requestParameters: BrokeredLeadsApiGetBrokerLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BrokerBrokeredLeadDto>;
|
|
125
|
+
/**
|
|
126
|
+
* **API key scope required:** `BROKERED_LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
127
|
+
* Get a brokered deal on one of the seller’s domains
|
|
128
|
+
*/
|
|
129
|
+
getSellerBrokeredLeadRaw(requestParameters: BrokeredLeadsApiGetSellerBrokeredLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SellerBrokeredLeadDto>>;
|
|
130
|
+
/**
|
|
131
|
+
* **API key scope required:** `BROKERED_LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
132
|
+
* Get a brokered deal on one of the seller’s domains
|
|
133
|
+
*/
|
|
134
|
+
getSellerBrokeredLead(requestParameters: BrokeredLeadsApiGetSellerBrokeredLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SellerBrokeredLeadDto>;
|
|
135
|
+
/**
|
|
136
|
+
* Lists the deals this account brought in as a broker, newest first, with their status, commission and the links to share. **API key scope required:** `BROKERED_LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
137
|
+
* List the deals brought in as a broker
|
|
138
|
+
*/
|
|
139
|
+
listBrokerLeadsRaw(requestParameters: BrokeredLeadsApiListBrokerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListBrokerLeads200Response>>;
|
|
140
|
+
/**
|
|
141
|
+
* Lists the deals this account brought in as a broker, newest first, with their status, commission and the links to share. **API key scope required:** `BROKERED_LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
142
|
+
* List the deals brought in as a broker
|
|
143
|
+
*/
|
|
144
|
+
listBrokerLeads(requestParameters?: BrokeredLeadsApiListBrokerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListBrokerLeads200Response>;
|
|
145
|
+
/**
|
|
146
|
+
* Deals brokers brought in for this account’s domains that wait for approval or for the domain and account to be verified. **API key scope required:** `BROKERED_LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
147
|
+
* List the brokered deals waiting on the seller
|
|
148
|
+
*/
|
|
149
|
+
listSellerBrokeredLeadsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SellerBrokeredLeadDto>>>;
|
|
150
|
+
/**
|
|
151
|
+
* Deals brokers brought in for this account’s domains that wait for approval or for the domain and account to be verified. **API key scope required:** `BROKERED_LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
152
|
+
* List the brokered deals waiting on the seller
|
|
153
|
+
*/
|
|
154
|
+
listSellerBrokeredLeads(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SellerBrokeredLeadDto>>;
|
|
155
|
+
/**
|
|
156
|
+
* Emails the buyer a reminder with the payment link, while the deal waits for payment. Once a week at most. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
157
|
+
* Email the buyer the payment link
|
|
158
|
+
*/
|
|
159
|
+
notifyBrokerLeadBuyerRaw(requestParameters: BrokeredLeadsApiNotifyBrokerLeadBuyerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
160
|
+
/**
|
|
161
|
+
* Emails the buyer a reminder with the payment link, while the deal waits for payment. Once a week at most. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
162
|
+
* Email the buyer the payment link
|
|
163
|
+
*/
|
|
164
|
+
notifyBrokerLeadBuyer(requestParameters: BrokeredLeadsApiNotifyBrokerLeadBuyerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
165
|
+
/**
|
|
166
|
+
* Emails a seller with an account to review the deal, or invites a seller without one to sign up. Once a week at most. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
167
|
+
* Email the seller about the deal
|
|
168
|
+
*/
|
|
169
|
+
notifyBrokerLeadSellerRaw(requestParameters: BrokeredLeadsApiNotifyBrokerLeadSellerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
170
|
+
/**
|
|
171
|
+
* Emails a seller with an account to review the deal, or invites a seller without one to sign up. Once a week at most. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
172
|
+
* Email the seller about the deal
|
|
173
|
+
*/
|
|
174
|
+
notifyBrokerLeadSeller(requestParameters: BrokeredLeadsApiNotifyBrokerLeadSellerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
175
|
+
/**
|
|
176
|
+
* Checks the domain DNS again and completes the deal if the domain and the account are verified by now. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
177
|
+
* Check the verification of an approved brokered deal again
|
|
178
|
+
*/
|
|
179
|
+
recheckSellerBrokeredLeadVerificationRaw(requestParameters: BrokeredLeadsApiRecheckSellerBrokeredLeadVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
180
|
+
/**
|
|
181
|
+
* Checks the domain DNS again and completes the deal if the domain and the account are verified by now. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
182
|
+
* Check the verification of an approved brokered deal again
|
|
183
|
+
*/
|
|
184
|
+
recheckSellerBrokeredLeadVerification(requestParameters: BrokeredLeadsApiRecheckSellerBrokeredLeadVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
185
|
+
/**
|
|
186
|
+
* Issues a new link for a seller who has not taken up the deal yet, e.g. once the previous one expired. The previous link stops working. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
187
|
+
* Renew the seller signup link
|
|
188
|
+
*/
|
|
189
|
+
renewBrokerLeadSellerLinkRaw(requestParameters: BrokeredLeadsApiRenewBrokerLeadSellerLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
190
|
+
/**
|
|
191
|
+
* Issues a new link for a seller who has not taken up the deal yet, e.g. once the previous one expired. The previous link stops working. **API key scope required:** `BROKERED_LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
192
|
+
* Renew the seller signup link
|
|
193
|
+
*/
|
|
194
|
+
renewBrokerLeadSellerLink(requestParameters: BrokeredLeadsApiRenewBrokerLeadSellerLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
195
|
+
}
|