@randock/nameshift-api-client 0.0.562 → 0.0.564

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +28 -1
  4. package/dist/apis/AdminApi.js +113 -0
  5. package/dist/apis/BuyersApi.d.ts +14 -1
  6. package/dist/apis/BuyersApi.js +57 -0
  7. package/dist/apis/BuyersPublicApi.d.ts +100 -1
  8. package/dist/apis/BuyersPublicApi.js +426 -0
  9. package/dist/apis/LeadsApi.d.ts +28 -1
  10. package/dist/apis/LeadsApi.js +129 -0
  11. package/dist/apis/LeadsPublicApi.d.ts +5 -5
  12. package/dist/apis/LeadsPublicApi.js +6 -4
  13. package/dist/models/AcceptHighestBuyerLeadOfferInput.d.ts +32 -0
  14. package/dist/models/AcceptHighestBuyerLeadOfferInput.js +51 -0
  15. package/dist/models/BuyerCheckoutProfileDto.d.ts +116 -0
  16. package/dist/models/BuyerCheckoutProfileDto.js +107 -0
  17. package/dist/models/BuyerCheckoutProfileSummaryDto.d.ts +74 -0
  18. package/dist/models/BuyerCheckoutProfileSummaryDto.js +79 -0
  19. package/dist/models/BuyerLandingSessionOutput.d.ts +68 -0
  20. package/dist/models/BuyerLandingSessionOutput.js +75 -0
  21. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  22. package/dist/models/BuyerNotificationDto.js +1 -0
  23. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  24. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  25. package/dist/models/BuyerSessionEstablishTicketOutput.d.ts +32 -0
  26. package/dist/models/BuyerSessionEstablishTicketOutput.js +51 -0
  27. package/dist/models/BuyerSessionPurchaseTypeEnum.d.ts +26 -0
  28. package/dist/models/BuyerSessionPurchaseTypeEnum.js +52 -0
  29. package/dist/models/CreateBuyerSessionEstablishTicketInput.d.ts +38 -0
  30. package/dist/models/CreateBuyerSessionEstablishTicketInput.js +55 -0
  31. package/dist/models/CreateBuyerSessionFromPurchaseInput.d.ts +39 -0
  32. package/dist/models/CreateBuyerSessionFromPurchaseInput.js +56 -0
  33. package/dist/models/CreateDashboardBuyerSessionInput.d.ts +32 -0
  34. package/dist/models/CreateDashboardBuyerSessionInput.js +51 -0
  35. package/dist/models/ExchangeBuyerSessionCodeInput.d.ts +38 -0
  36. package/dist/models/ExchangeBuyerSessionCodeInput.js +55 -0
  37. package/dist/models/LeadEmailVerificationResultOutput.d.ts +33 -0
  38. package/dist/models/LeadEmailVerificationResultOutput.js +52 -0
  39. package/dist/models/LeadOfferSummaryCannotAcceptReason.d.ts +29 -0
  40. package/dist/models/LeadOfferSummaryCannotAcceptReason.js +55 -0
  41. package/dist/models/LeadOfferSummaryDto.d.ts +52 -0
  42. package/dist/models/LeadOfferSummaryDto.js +65 -0
  43. package/dist/models/LeadOfferSummaryItemDto.d.ts +61 -0
  44. package/dist/models/LeadOfferSummaryItemDto.js +74 -0
  45. package/dist/models/LeadPhoneVerificationResultOutput.d.ts +47 -0
  46. package/dist/models/LeadPhoneVerificationResultOutput.js +62 -0
  47. package/dist/models/UserNotificationDto.d.ts +1 -0
  48. package/dist/models/UserNotificationDto.js +1 -0
  49. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  50. package/dist/models/UserNotificationListItemDto.js +1 -0
  51. package/dist/models/VerifyBuyerSessionEmailOtpInput.d.ts +32 -0
  52. package/dist/models/VerifyBuyerSessionEmailOtpInput.js +51 -0
  53. package/dist/models/index.d.ts +16 -0
  54. package/dist/models/index.js +16 -0
  55. package/package.json +1 -1
  56. package/src/apis/AdminApi.ts +110 -0
  57. package/src/apis/BuyersApi.ts +56 -0
  58. package/src/apis/BuyersPublicApi.ts +378 -0
  59. package/src/apis/LeadsApi.ts +118 -0
  60. package/src/apis/LeadsPublicApi.ts +14 -7
  61. package/src/models/AcceptHighestBuyerLeadOfferInput.ts +66 -0
  62. package/src/models/BuyerCheckoutProfileDto.ts +192 -0
  63. package/src/models/BuyerCheckoutProfileSummaryDto.ts +129 -0
  64. package/src/models/BuyerLandingSessionOutput.ts +120 -0
  65. package/src/models/BuyerNotificationDto.ts +1 -0
  66. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  67. package/src/models/BuyerSessionEstablishTicketOutput.ts +66 -0
  68. package/src/models/BuyerSessionPurchaseTypeEnum.ts +54 -0
  69. package/src/models/CreateBuyerSessionEstablishTicketInput.ts +75 -0
  70. package/src/models/CreateBuyerSessionFromPurchaseInput.ts +85 -0
  71. package/src/models/CreateDashboardBuyerSessionInput.ts +66 -0
  72. package/src/models/ExchangeBuyerSessionCodeInput.ts +75 -0
  73. package/src/models/LeadEmailVerificationResultOutput.ts +74 -0
  74. package/src/models/LeadOfferSummaryCannotAcceptReason.ts +57 -0
  75. package/src/models/LeadOfferSummaryDto.ts +110 -0
  76. package/src/models/LeadOfferSummaryItemDto.ts +114 -0
  77. package/src/models/LeadPhoneVerificationResultOutput.ts +106 -0
  78. package/src/models/UserNotificationDto.ts +1 -0
  79. package/src/models/UserNotificationListItemDto.ts +1 -0
  80. package/src/models/VerifyBuyerSessionEmailOtpInput.ts +66 -0
  81. package/src/models/index.ts +16 -0
@@ -47,6 +47,7 @@ src/apis/UsersPublicApi.ts
47
47
  src/apis/WebhooksApi.ts
48
48
  src/apis/index.ts
49
49
  src/index.ts
50
+ src/models/AcceptHighestBuyerLeadOfferInput.ts
50
51
  src/models/AccountAliasDto.ts
51
52
  src/models/AccountAliasInput.ts
52
53
  src/models/AccountBankAccountDetailsDto.ts
@@ -230,6 +231,8 @@ src/models/BuyerAuctionDetailDtoDomain.ts
230
231
  src/models/BuyerAuctionListItemDto.ts
231
232
  src/models/BuyerAuctionListItemDtoDomainInformation.ts
232
233
  src/models/BuyerAuctionListItemDtoSellerAccount.ts
234
+ src/models/BuyerCheckoutProfileDto.ts
235
+ src/models/BuyerCheckoutProfileSummaryDto.ts
233
236
  src/models/BuyerDomainAppraisalRequestCheckoutDto.ts
234
237
  src/models/BuyerDomainNameserverItemDto.ts
235
238
  src/models/BuyerDomainRecordItemDto.ts
@@ -242,6 +245,7 @@ src/models/BuyerExperienceEnum.ts
242
245
  src/models/BuyerInvoiceDomainDto.ts
243
246
  src/models/BuyerInvoiceDto.ts
244
247
  src/models/BuyerInvoiceSellerAccountDto.ts
248
+ src/models/BuyerLandingSessionOutput.ts
245
249
  src/models/BuyerLeadListItemDomainDto.ts
246
250
  src/models/BuyerLeadListItemDto.ts
247
251
  src/models/BuyerLoginDto.ts
@@ -252,6 +256,8 @@ src/models/BuyerNotificationSettingsDto.ts
252
256
  src/models/BuyerPaymentEnum.ts
253
257
  src/models/BuyerSecurityUserDto.ts
254
258
  src/models/BuyerSessionDto.ts
259
+ src/models/BuyerSessionEstablishTicketOutput.ts
260
+ src/models/BuyerSessionPurchaseTypeEnum.ts
255
261
  src/models/BuyerSubscriptionListItemDto.ts
256
262
  src/models/BuyerSubscriptionListItemDtoDomainInformation.ts
257
263
  src/models/BuyerTaskDetailsDto.ts
@@ -301,7 +307,10 @@ src/models/CreateBankAccountInput.ts
301
307
  src/models/CreateBrokeredLeadInput.ts
302
308
  src/models/CreateBuyerDomainAppraisalRequestInput.ts
303
309
  src/models/CreateBuyerLeadMessageInput.ts
310
+ src/models/CreateBuyerSessionEstablishTicketInput.ts
311
+ src/models/CreateBuyerSessionFromPurchaseInput.ts
304
312
  src/models/CreateChallengeInput.ts
313
+ src/models/CreateDashboardBuyerSessionInput.ts
305
314
  src/models/CreateInformationRequestLeadInput.ts
306
315
  src/models/CreateLeadInput.ts
307
316
  src/models/CreateLeadMessageInput.ts
@@ -380,6 +389,7 @@ src/models/DomainTransferWorkflowDto.ts
380
389
  src/models/DomainUrlDto.ts
381
390
  src/models/DomainVerificationStatusDto.ts
382
391
  src/models/EppBatchUpdateInput.ts
392
+ src/models/ExchangeBuyerSessionCodeInput.ts
383
393
  src/models/FeatureFlagListItemDto.ts
384
394
  src/models/FixedCommissionPayloadDto.ts
385
395
  src/models/FixedCommissionPayloadInput.ts
@@ -452,6 +462,7 @@ src/models/LeadBuyerConfigDto.ts
452
462
  src/models/LeadDomainDto.ts
453
463
  src/models/LeadDto.ts
454
464
  src/models/LeadEmailVerificationDto.ts
465
+ src/models/LeadEmailVerificationResultOutput.ts
455
466
  src/models/LeadEnrichmentActivityDto.ts
456
467
  src/models/LeadEnrichmentCompanyDto.ts
457
468
  src/models/LeadEnrichmentDomainDto.ts
@@ -475,9 +486,13 @@ src/models/LeadOfferDto.ts
475
486
  src/models/LeadOfferExpirationConfigurationDto.ts
476
487
  src/models/LeadOfferExpirationConfigurationInput.ts
477
488
  src/models/LeadOfferExpirationDurationInput.ts
489
+ src/models/LeadOfferSummaryCannotAcceptReason.ts
490
+ src/models/LeadOfferSummaryDto.ts
491
+ src/models/LeadOfferSummaryItemDto.ts
478
492
  src/models/LeadPhoneVerificationDeliveryDto.ts
479
493
  src/models/LeadPhoneVerificationDto.ts
480
494
  src/models/LeadPhoneVerificationReason.ts
495
+ src/models/LeadPhoneVerificationResultOutput.ts
481
496
  src/models/LeadPhoneVerificationSummaryDto.ts
482
497
  src/models/LeadPhoneVerificationTooSoonOutput.ts
483
498
  src/models/LeadPhoneVerificationUnavailableOutput.ts
@@ -784,6 +799,7 @@ src/models/ValidateTaxNumberDto.ts
784
799
  src/models/ValidateTaxNumberInput.ts
785
800
  src/models/ValidationError.ts
786
801
  src/models/ValidationException.ts
802
+ src/models/VerifyBuyerSessionEmailOtpInput.ts
787
803
  src/models/VerifyEmailOtpInput.ts
788
804
  src/models/VerifyLeadInput.ts
789
805
  src/models/VerifyLeadPhoneInput.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.562
1
+ ## @randock/nameshift-api-client@0.0.564
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.562 --save
39
+ npm install @randock/nameshift-api-client@0.0.564 --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
- cde681679ecb1a1c6f55c74321974a5e995e7963867a508ac5a4d229113e6687cbc3046f4c24f14b0368a17b110543fd
47
+ 89e557a472a02f4f71a551487be2c926ad1b8e31958a6cb43fd1a6bc40a8350ac0023a8676e9306b90e9fc08812987c9
@@ -10,7 +10,11 @@
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, AdminListBrokeredLeads200Response, AdminMarketplaceDto, AdminUserNewsletterInput, AdminUserSecurityDto, AffiliatesStatsDto, AuctionsStatsDto, BulkCommissionActionsInput, ChangeDomainAppraisalRequestStatusInput, 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, PlatformConfigurationBlock, PlatformConfigurationDto, SalesStatsDto, SellerLeadDetails, SellerPayoutPreviewDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SendNewsletterPreviewInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateNewsletterInput, UpdatePlatformConfigurationInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
13
+ import type { AcceptHighestBuyerLeadOfferInput, AccountNameshiftCommissionByTypeDto, AccountNoteListDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AccountsStatsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminGetAllDomainTransfers200Response, AdminLandingDesignStatsDto, AdminListBrokeredLeads200Response, AdminMarketplaceDto, AdminUserNewsletterInput, AdminUserSecurityDto, AffiliatesStatsDto, AuctionsStatsDto, BulkCommissionActionsInput, ChangeDomainAppraisalRequestStatusInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CommissionsStatsDto, CreateAccountNoteInput, CreateChallengeInput, CreateNewsletterInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAdminDomainAppraisalRequests200Response, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LeadOfferSummaryDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminLandingDesignAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListBuyers200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ListUserLoginAttempts200Response, NewsStoryDto, NewsletterDto, NewsletterPreviewDto, ObjectId, OverrideBrokeredLeadNameshiftCommissionInput, PaySellerInvoicesInput, PaymentMethodsStatsDto, PlatformConfigurationBlock, PlatformConfigurationDto, SalesStatsDto, SellerLeadDetails, SellerPayoutPreviewDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SendNewsletterPreviewInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateNewsletterInput, UpdatePlatformConfigurationInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
14
+ export interface AdminApiAcceptHighestBuyerAdminLeadOfferRequest {
15
+ leadId: string;
16
+ acceptHighestBuyerLeadOfferInput: AcceptHighestBuyerLeadOfferInput;
17
+ }
14
18
  export interface AdminApiAdminDeleteAuctionRequest {
15
19
  auctionId: string;
16
20
  }
@@ -175,6 +179,9 @@ export interface AdminApiGetAdminLeadDetailsRequest {
175
179
  export interface AdminApiGetAdminLeadEnrichmentRequest {
176
180
  leadId: string;
177
181
  }
182
+ export interface AdminApiGetAdminLeadOfferSummaryRequest {
183
+ leadId: string;
184
+ }
178
185
  export interface AdminApiGetAdminSalesByTldRequest {
179
186
  currency: string;
180
187
  accountId?: string;
@@ -500,6 +507,16 @@ export interface AdminApiVerifyBankAccountRequest {
500
507
  *
501
508
  */
502
509
  export declare class AdminApi extends runtime.BaseAPI {
510
+ /**
511
+ * Accepts the highest offer the buyer made, at any time, replacing the seller counter-offer that may be open. Creates the order and emails the buyer the payment link. `leadMessageId` is the offer the seller confirmed (see the offer summary); the request is refused when it is not the highest buyer offer any more. Validation error codes: NO_BUYER_OFFER, HIGHEST_BUYER_OFFER_CHANGED, MANUAL_LEAD, DOMAIN_IS_LOCKED, DOMAIN_HAS_AN_AUCTION, DOMAIN_IS_NOT_PURCHASABLE, MESSAGE_LIMIT_REACHED. The admin acts for the seller; the message is written as the seller. Requires admin bearer authentication.
512
+ * Accept the highest buyer offer
513
+ */
514
+ acceptHighestBuyerAdminLeadOfferRaw(requestParameters: AdminApiAcceptHighestBuyerAdminLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
515
+ /**
516
+ * Accepts the highest offer the buyer made, at any time, replacing the seller counter-offer that may be open. Creates the order and emails the buyer the payment link. `leadMessageId` is the offer the seller confirmed (see the offer summary); the request is refused when it is not the highest buyer offer any more. Validation error codes: NO_BUYER_OFFER, HIGHEST_BUYER_OFFER_CHANGED, MANUAL_LEAD, DOMAIN_IS_LOCKED, DOMAIN_HAS_AN_AUCTION, DOMAIN_IS_NOT_PURCHASABLE, MESSAGE_LIMIT_REACHED. The admin acts for the seller; the message is written as the seller. Requires admin bearer authentication.
517
+ * Accept the highest buyer offer
518
+ */
519
+ acceptHighestBuyerAdminLeadOffer(requestParameters: AdminApiAcceptHighestBuyerAdminLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
503
520
  /**
504
521
  * Force-deletes an auction regardless of its current status. Requires admin privileges.
505
522
  * Admin delete auction
@@ -928,6 +945,16 @@ export declare class AdminApi extends runtime.BaseAPI {
928
945
  * Get lead buyer enrichment
929
946
  */
930
947
  getAdminLeadEnrichment(requestParameters: AdminApiGetAdminLeadEnrichmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadEnrichmentDto>;
948
+ /**
949
+ * Returns the highest buyer offer and the lowest seller offer of the negotiation (plain purchase offers in the domain currency, not withdrawn), and whether the highest buyer offer can be accepted now, for any account. Requires admin bearer authentication.
950
+ * Get the offer summary of a lead
951
+ */
952
+ getAdminLeadOfferSummaryRaw(requestParameters: AdminApiGetAdminLeadOfferSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadOfferSummaryDto>>;
953
+ /**
954
+ * Returns the highest buyer offer and the lowest seller offer of the negotiation (plain purchase offers in the domain currency, not withdrawn), and whether the highest buyer offer can be accepted now, for any account. Requires admin bearer authentication.
955
+ * Get the offer summary of a lead
956
+ */
957
+ getAdminLeadOfferSummary(requestParameters: AdminApiGetAdminLeadOfferSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadOfferSummaryDto>;
931
958
  /**
932
959
  * Returns sales statistics grouped by top-level domain, optionally filtered by account, currency, and date range.
933
960
  * Get admin sales by TLD
@@ -75,6 +75,64 @@ var AdminApi = /** @class */ (function (_super) {
75
75
  function AdminApi() {
76
76
  return _super !== null && _super.apply(this, arguments) || this;
77
77
  }
78
+ /**
79
+ * Accepts the highest offer the buyer made, at any time, replacing the seller counter-offer that may be open. Creates the order and emails the buyer the payment link. `leadMessageId` is the offer the seller confirmed (see the offer summary); the request is refused when it is not the highest buyer offer any more. Validation error codes: NO_BUYER_OFFER, HIGHEST_BUYER_OFFER_CHANGED, MANUAL_LEAD, DOMAIN_IS_LOCKED, DOMAIN_HAS_AN_AUCTION, DOMAIN_IS_NOT_PURCHASABLE, MESSAGE_LIMIT_REACHED. The admin acts for the seller; the message is written as the seller. Requires admin bearer authentication.
80
+ * Accept the highest buyer offer
81
+ */
82
+ AdminApi.prototype.acceptHighestBuyerAdminLeadOfferRaw = function (requestParameters, initOverrides) {
83
+ return __awaiter(this, void 0, void 0, function () {
84
+ var queryParameters, headerParameters, token, tokenString, response;
85
+ return __generator(this, function (_a) {
86
+ switch (_a.label) {
87
+ case 0:
88
+ if (requestParameters['leadId'] == null) {
89
+ throw new runtime.RequiredError('leadId', 'Required parameter "leadId" was null or undefined when calling acceptHighestBuyerAdminLeadOffer().');
90
+ }
91
+ if (requestParameters['acceptHighestBuyerLeadOfferInput'] == null) {
92
+ throw new runtime.RequiredError('acceptHighestBuyerLeadOfferInput', 'Required parameter "acceptHighestBuyerLeadOfferInput" was null or undefined when calling acceptHighestBuyerAdminLeadOffer().');
93
+ }
94
+ queryParameters = {};
95
+ headerParameters = {};
96
+ headerParameters['Content-Type'] = 'application/json';
97
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
98
+ token = this.configuration.accessToken;
99
+ return [4 /*yield*/, token("bearer", [])];
100
+ case 1:
101
+ tokenString = _a.sent();
102
+ if (tokenString) {
103
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
104
+ }
105
+ _a.label = 2;
106
+ case 2: return [4 /*yield*/, this.request({
107
+ path: "/admin/leads/{leadId}/status/accept-highest-buyer-offer".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters['leadId']))),
108
+ method: 'POST',
109
+ headers: headerParameters,
110
+ query: queryParameters,
111
+ body: (0, index_1.AcceptHighestBuyerLeadOfferInputToJSON)(requestParameters['acceptHighestBuyerLeadOfferInput']),
112
+ }, initOverrides)];
113
+ case 3:
114
+ response = _a.sent();
115
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
116
+ }
117
+ });
118
+ });
119
+ };
120
+ /**
121
+ * Accepts the highest offer the buyer made, at any time, replacing the seller counter-offer that may be open. Creates the order and emails the buyer the payment link. `leadMessageId` is the offer the seller confirmed (see the offer summary); the request is refused when it is not the highest buyer offer any more. Validation error codes: NO_BUYER_OFFER, HIGHEST_BUYER_OFFER_CHANGED, MANUAL_LEAD, DOMAIN_IS_LOCKED, DOMAIN_HAS_AN_AUCTION, DOMAIN_IS_NOT_PURCHASABLE, MESSAGE_LIMIT_REACHED. The admin acts for the seller; the message is written as the seller. Requires admin bearer authentication.
122
+ * Accept the highest buyer offer
123
+ */
124
+ AdminApi.prototype.acceptHighestBuyerAdminLeadOffer = function (requestParameters, initOverrides) {
125
+ return __awaiter(this, void 0, void 0, function () {
126
+ return __generator(this, function (_a) {
127
+ switch (_a.label) {
128
+ case 0: return [4 /*yield*/, this.acceptHighestBuyerAdminLeadOfferRaw(requestParameters, initOverrides)];
129
+ case 1:
130
+ _a.sent();
131
+ return [2 /*return*/];
132
+ }
133
+ });
134
+ });
135
+ };
78
136
  /**
79
137
  * Force-deletes an auction regardless of its current status. Requires admin privileges.
80
138
  * Admin delete auction
@@ -2532,6 +2590,61 @@ var AdminApi = /** @class */ (function (_super) {
2532
2590
  });
2533
2591
  });
2534
2592
  };
2593
+ /**
2594
+ * Returns the highest buyer offer and the lowest seller offer of the negotiation (plain purchase offers in the domain currency, not withdrawn), and whether the highest buyer offer can be accepted now, for any account. Requires admin bearer authentication.
2595
+ * Get the offer summary of a lead
2596
+ */
2597
+ AdminApi.prototype.getAdminLeadOfferSummaryRaw = function (requestParameters, initOverrides) {
2598
+ return __awaiter(this, void 0, void 0, function () {
2599
+ var queryParameters, headerParameters, token, tokenString, response;
2600
+ return __generator(this, function (_a) {
2601
+ switch (_a.label) {
2602
+ case 0:
2603
+ if (requestParameters['leadId'] == null) {
2604
+ throw new runtime.RequiredError('leadId', 'Required parameter "leadId" was null or undefined when calling getAdminLeadOfferSummary().');
2605
+ }
2606
+ queryParameters = {};
2607
+ headerParameters = {};
2608
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
2609
+ token = this.configuration.accessToken;
2610
+ return [4 /*yield*/, token("bearer", [])];
2611
+ case 1:
2612
+ tokenString = _a.sent();
2613
+ if (tokenString) {
2614
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
2615
+ }
2616
+ _a.label = 2;
2617
+ case 2: return [4 /*yield*/, this.request({
2618
+ path: "/admin/leads/{leadId}/offer-summary".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters['leadId']))),
2619
+ method: 'GET',
2620
+ headers: headerParameters,
2621
+ query: queryParameters,
2622
+ }, initOverrides)];
2623
+ case 3:
2624
+ response = _a.sent();
2625
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.LeadOfferSummaryDtoFromJSON)(jsonValue); })];
2626
+ }
2627
+ });
2628
+ });
2629
+ };
2630
+ /**
2631
+ * Returns the highest buyer offer and the lowest seller offer of the negotiation (plain purchase offers in the domain currency, not withdrawn), and whether the highest buyer offer can be accepted now, for any account. Requires admin bearer authentication.
2632
+ * Get the offer summary of a lead
2633
+ */
2634
+ AdminApi.prototype.getAdminLeadOfferSummary = function (requestParameters, initOverrides) {
2635
+ return __awaiter(this, void 0, void 0, function () {
2636
+ var response;
2637
+ return __generator(this, function (_a) {
2638
+ switch (_a.label) {
2639
+ case 0: return [4 /*yield*/, this.getAdminLeadOfferSummaryRaw(requestParameters, initOverrides)];
2640
+ case 1:
2641
+ response = _a.sent();
2642
+ return [4 /*yield*/, response.value()];
2643
+ case 2: return [2 /*return*/, _a.sent()];
2644
+ }
2645
+ });
2646
+ });
2647
+ };
2535
2648
  /**
2536
2649
  * Returns sales statistics grouped by top-level domain, optionally filtered by account, currency, and date range.
2537
2650
  * Get admin sales by TLD
@@ -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, 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';
13
+ import type { AddSubscriptionDomainRecordInput, AuctionBidInput, AuctionBuyerDto, BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BulkMarkBuyerNotificationsAsReadInputDto, BuyerAccessTokenDto, BuyerAuctionDetailDto, BuyerDomainRecordsDto, BuyerDomainTransferAuthCodeDto, BuyerNotificationDto, BuyerNotificationSettingsDto, BuyerSessionDto, BuyerSessionEstablishTicketOutput, BuyerTaskDetailsDto, CreateBuyerLeadMessageInput, CreateDashboardBuyerSessionInput, 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
  }
@@ -42,6 +42,9 @@ export interface BuyersApiCreateBuyerLeadMessageRequest {
42
42
  leadId: string;
43
43
  createBuyerLeadMessageInput: CreateBuyerLeadMessageInput;
44
44
  }
45
+ export interface BuyersApiCreateDashboardBuyerSessionEstablishTicketRequest {
46
+ createDashboardBuyerSessionInput: CreateDashboardBuyerSessionInput;
47
+ }
45
48
  export interface BuyersApiDeleteBuyerLeadsRequest {
46
49
  batchDeleteBuyerLeadsInput: BatchDeleteBuyerLeadsInput;
47
50
  }
@@ -313,6 +316,16 @@ export declare class BuyersApi extends runtime.BaseAPI {
313
316
  * Send a lead message
314
317
  */
315
318
  createBuyerLeadMessage(requestParameters: BuyersApiCreateBuyerLeadMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ObjectId>;
319
+ /**
320
+ * Opens a buyer session for the landings, which the sign-in link proved, and returns a one-time ticket to open GET /buyers/session/establish with. The browser comes back to the dashboard afterwards.
321
+ * Remember the signed-in buyer on the landings
322
+ */
323
+ createDashboardBuyerSessionEstablishTicketRaw(requestParameters: BuyersApiCreateDashboardBuyerSessionEstablishTicketRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerSessionEstablishTicketOutput>>;
324
+ /**
325
+ * Opens a buyer session for the landings, which the sign-in link proved, and returns a one-time ticket to open GET /buyers/session/establish with. The browser comes back to the dashboard afterwards.
326
+ * Remember the signed-in buyer on the landings
327
+ */
328
+ createDashboardBuyerSessionEstablishTicket(requestParameters: BuyersApiCreateDashboardBuyerSessionEstablishTicketRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerSessionEstablishTicketOutput>;
316
329
  /**
317
330
  * Deletes multiple leads from the buyer account. Only leads in a deletable status are removed.
318
331
  * Delete buyer leads
@@ -630,6 +630,63 @@ var BuyersApi = /** @class */ (function (_super) {
630
630
  });
631
631
  });
632
632
  };
633
+ /**
634
+ * Opens a buyer session for the landings, which the sign-in link proved, and returns a one-time ticket to open GET /buyers/session/establish with. The browser comes back to the dashboard afterwards.
635
+ * Remember the signed-in buyer on the landings
636
+ */
637
+ BuyersApi.prototype.createDashboardBuyerSessionEstablishTicketRaw = function (requestParameters, initOverrides) {
638
+ return __awaiter(this, void 0, void 0, function () {
639
+ var queryParameters, headerParameters, token, tokenString, response;
640
+ return __generator(this, function (_a) {
641
+ switch (_a.label) {
642
+ case 0:
643
+ if (requestParameters['createDashboardBuyerSessionInput'] == null) {
644
+ throw new runtime.RequiredError('createDashboardBuyerSessionInput', 'Required parameter "createDashboardBuyerSessionInput" was null or undefined when calling createDashboardBuyerSessionEstablishTicket().');
645
+ }
646
+ queryParameters = {};
647
+ headerParameters = {};
648
+ headerParameters['Content-Type'] = 'application/json';
649
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
650
+ token = this.configuration.accessToken;
651
+ return [4 /*yield*/, token("bearer", [])];
652
+ case 1:
653
+ tokenString = _a.sent();
654
+ if (tokenString) {
655
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
656
+ }
657
+ _a.label = 2;
658
+ case 2: return [4 /*yield*/, this.request({
659
+ path: "/buyers/private/session/establish-ticket",
660
+ method: 'POST',
661
+ headers: headerParameters,
662
+ query: queryParameters,
663
+ body: (0, index_1.CreateDashboardBuyerSessionInputToJSON)(requestParameters['createDashboardBuyerSessionInput']),
664
+ }, initOverrides)];
665
+ case 3:
666
+ response = _a.sent();
667
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.BuyerSessionEstablishTicketOutputFromJSON)(jsonValue); })];
668
+ }
669
+ });
670
+ });
671
+ };
672
+ /**
673
+ * Opens a buyer session for the landings, which the sign-in link proved, and returns a one-time ticket to open GET /buyers/session/establish with. The browser comes back to the dashboard afterwards.
674
+ * Remember the signed-in buyer on the landings
675
+ */
676
+ BuyersApi.prototype.createDashboardBuyerSessionEstablishTicket = function (requestParameters, initOverrides) {
677
+ return __awaiter(this, void 0, void 0, function () {
678
+ var response;
679
+ return __generator(this, function (_a) {
680
+ switch (_a.label) {
681
+ case 0: return [4 /*yield*/, this.createDashboardBuyerSessionEstablishTicketRaw(requestParameters, initOverrides)];
682
+ case 1:
683
+ response = _a.sent();
684
+ return [4 /*yield*/, response.value()];
685
+ case 2: return [2 /*return*/, _a.sent()];
686
+ }
687
+ });
688
+ });
689
+ };
633
690
  /**
634
691
  * Deletes multiple leads from the buyer account. Only leads in a deletable status are removed.
635
692
  * Delete buyer leads
@@ -10,16 +10,35 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AuctionBuyerWithTokenDto, BuyerLoginDto, LoginInput, RequestAccessTokenInput, RequestEmailOtpInput, VerifyEmailOtpInput } from '../models/index';
13
+ import type { AuctionBuyerWithTokenDto, BuyerCheckoutProfileDto, BuyerCheckoutProfileSummaryDto, BuyerLandingSessionOutput, BuyerLoginDto, BuyerSessionEstablishTicketOutput, BuyerSessionPurchaseTypeEnum, CreateBuyerSessionEstablishTicketInput, CreateBuyerSessionFromPurchaseInput, ExchangeBuyerSessionCodeInput, LoginInput, RequestAccessTokenInput, RequestEmailOtpInput, VerifyBuyerSessionEmailOtpInput, VerifyEmailOtpInput } from '../models/index';
14
14
  export interface BuyersPublicApiBuyerLoginRequest {
15
15
  loginInput: LoginInput;
16
16
  }
17
+ export interface BuyersPublicApiCreateBuyerSessionEstablishTicketRequest {
18
+ createBuyerSessionEstablishTicketInput: CreateBuyerSessionEstablishTicketInput;
19
+ }
20
+ export interface BuyersPublicApiCreateBuyerSessionFromPurchaseRequest {
21
+ createBuyerSessionFromPurchaseInput: CreateBuyerSessionFromPurchaseInput;
22
+ }
23
+ export interface BuyersPublicApiExchangeBuyerSessionCodeRequest {
24
+ exchangeBuyerSessionCodeInput: ExchangeBuyerSessionCodeInput;
25
+ }
26
+ export interface BuyersPublicApiGetBuyerSessionCheckoutProfileRequest {
27
+ profileId: string;
28
+ }
29
+ export interface BuyersPublicApiListBuyerSessionCheckoutProfilesRequest {
30
+ purchaseType?: BuyerSessionPurchaseTypeEnum;
31
+ purchaseId?: string;
32
+ }
17
33
  export interface BuyersPublicApiRequestAccessTokenRequest {
18
34
  requestAccessTokenInput: RequestAccessTokenInput;
19
35
  }
20
36
  export interface BuyersPublicApiRequestEmailOtpRequest {
21
37
  requestEmailOtpInput: RequestEmailOtpInput;
22
38
  }
39
+ export interface BuyersPublicApiVerifyBuyerSessionEmailOtpRequest {
40
+ verifyBuyerSessionEmailOtpInput: VerifyBuyerSessionEmailOtpInput;
41
+ }
23
42
  export interface BuyersPublicApiVerifyEmailOtpRequest {
24
43
  verifyEmailOtpInput: VerifyEmailOtpInput;
25
44
  }
@@ -37,6 +56,66 @@ export declare class BuyersPublicApi extends runtime.BaseAPI {
37
56
  * Authenticate a buyer
38
57
  */
39
58
  buyerLogin(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerLoginDto>;
59
+ /**
60
+ * Returns a one-time ticket the landing opens GET /buyers/session/establish with, so the other landings can find the session.
61
+ * Get a ticket to remember the buyer session in the browser
62
+ */
63
+ createBuyerSessionEstablishTicketRaw(requestParameters: BuyersPublicApiCreateBuyerSessionEstablishTicketRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerSessionEstablishTicketOutput>>;
64
+ /**
65
+ * Returns a one-time ticket the landing opens GET /buyers/session/establish with, so the other landings can find the session.
66
+ * Get a ticket to remember the buyer session in the browser
67
+ */
68
+ createBuyerSessionEstablishTicket(requestParameters: BuyersPublicApiCreateBuyerSessionEstablishTicketRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerSessionEstablishTicketOutput>;
69
+ /**
70
+ * Returns a buyer session, without a proven email, for the buyer of an order, subscription or appraisal already paid.
71
+ * Remember the buyer of a paid purchase
72
+ */
73
+ createBuyerSessionFromPurchaseRaw(requestParameters: BuyersPublicApiCreateBuyerSessionFromPurchaseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerLandingSessionOutput>>;
74
+ /**
75
+ * Returns a buyer session, without a proven email, for the buyer of an order, subscription or appraisal already paid.
76
+ * Remember the buyer of a paid purchase
77
+ */
78
+ createBuyerSessionFromPurchase(requestParameters: BuyersPublicApiCreateBuyerSessionFromPurchaseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerLandingSessionOutput>;
79
+ /**
80
+ * Trades the one-time code the landing received after the redirect for the buyer session of that landing.
81
+ * Exchange a buyer session code
82
+ */
83
+ exchangeBuyerSessionCodeRaw(requestParameters: BuyersPublicApiExchangeBuyerSessionCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerLandingSessionOutput>>;
84
+ /**
85
+ * Trades the one-time code the landing received after the redirect for the buyer session of that landing.
86
+ * Exchange a buyer session code
87
+ */
88
+ exchangeBuyerSessionCode(requestParameters: BuyersPublicApiExchangeBuyerSessionCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerLandingSessionOutput>;
89
+ /**
90
+ * Returns the buyer session of the landing token sent as bearer token, with a fresh token for the landing to keep.
91
+ * Get the buyer session
92
+ */
93
+ getBuyerSessionRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerLandingSessionOutput>>;
94
+ /**
95
+ * Returns the buyer session of the landing token sent as bearer token, with a fresh token for the landing to keep.
96
+ * Get the buyer session
97
+ */
98
+ getBuyerSession(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerLandingSessionOutput>;
99
+ /**
100
+ * Returns the billing details of one profile, to fill the checkout form with. Only for a session that proved its email.
101
+ * Get a checkout profile of the buyer session
102
+ */
103
+ getBuyerSessionCheckoutProfileRaw(requestParameters: BuyersPublicApiGetBuyerSessionCheckoutProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerCheckoutProfileDto>>;
104
+ /**
105
+ * Returns the billing details of one profile, to fill the checkout form with. Only for a session that proved its email.
106
+ * Get a checkout profile of the buyer session
107
+ */
108
+ getBuyerSessionCheckoutProfile(requestParameters: BuyersPublicApiGetBuyerSessionCheckoutProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerCheckoutProfileDto>;
109
+ /**
110
+ * Returns a summary of the billing details the buyer paid with before, most recently used first. Only for a session that proved its email, and none for a purchase of another buyer.
111
+ * List the checkout profiles of the buyer session
112
+ */
113
+ listBuyerSessionCheckoutProfilesRaw(requestParameters: BuyersPublicApiListBuyerSessionCheckoutProfilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<BuyerCheckoutProfileSummaryDto>>>;
114
+ /**
115
+ * Returns a summary of the billing details the buyer paid with before, most recently used first. Only for a session that proved its email, and none for a purchase of another buyer.
116
+ * List the checkout profiles of the buyer session
117
+ */
118
+ listBuyerSessionCheckoutProfiles(requestParameters?: BuyersPublicApiListBuyerSessionCheckoutProfilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<BuyerCheckoutProfileSummaryDto>>;
40
119
  /**
41
120
  * Sends an access token to the buyer email if the account exists. Always returns success regardless of email validity to prevent account enumeration.
42
121
  * Request a magic-link access token
@@ -47,6 +126,16 @@ export declare class BuyersPublicApi extends runtime.BaseAPI {
47
126
  * Request a magic-link access token
48
127
  */
49
128
  requestAccessToken(requestParameters: BuyersPublicApiRequestAccessTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
129
+ /**
130
+ * Sends a code to the email of a buyer session that has not proven it yet.
131
+ * Email a code to prove the buyer session
132
+ */
133
+ requestBuyerSessionEmailOtpRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
134
+ /**
135
+ * Sends a code to the email of a buyer session that has not proven it yet.
136
+ * Email a code to prove the buyer session
137
+ */
138
+ requestBuyerSessionEmailOtp(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
50
139
  /**
51
140
  * Sends a one-time password to the buyer email address for auction authentication.
52
141
  * Request email OTP
@@ -57,6 +146,16 @@ export declare class BuyersPublicApi extends runtime.BaseAPI {
57
146
  * Request email OTP
58
147
  */
59
148
  requestEmailOtp(requestParameters: BuyersPublicApiRequestEmailOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
149
+ /**
150
+ * Checks the code emailed to the buyer; once right, the session counts as proven on every landing that uses it.
151
+ * Prove the email of the buyer session
152
+ */
153
+ verifyBuyerSessionEmailOtpRaw(requestParameters: BuyersPublicApiVerifyBuyerSessionEmailOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerLandingSessionOutput>>;
154
+ /**
155
+ * Checks the code emailed to the buyer; once right, the session counts as proven on every landing that uses it.
156
+ * Prove the email of the buyer session
157
+ */
158
+ verifyBuyerSessionEmailOtp(requestParameters: BuyersPublicApiVerifyBuyerSessionEmailOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerLandingSessionOutput>;
60
159
  /**
61
160
  * Verifies the email OTP and returns an auction buyer session token.
62
161
  * Verify email OTP