@randock/nameshift-api-client 0.0.561 → 0.0.563

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 (54) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +3 -3
  3. package/dist/apis/BuyersApi.d.ts +14 -1
  4. package/dist/apis/BuyersApi.js +57 -0
  5. package/dist/apis/BuyersPublicApi.d.ts +100 -1
  6. package/dist/apis/BuyersPublicApi.js +426 -0
  7. package/dist/apis/LeadsPublicApi.d.ts +5 -5
  8. package/dist/apis/LeadsPublicApi.js +6 -4
  9. package/dist/models/BuyerCheckoutProfileDto.d.ts +116 -0
  10. package/dist/models/BuyerCheckoutProfileDto.js +107 -0
  11. package/dist/models/BuyerCheckoutProfileSummaryDto.d.ts +74 -0
  12. package/dist/models/BuyerCheckoutProfileSummaryDto.js +79 -0
  13. package/dist/models/BuyerLandingSessionOutput.d.ts +68 -0
  14. package/dist/models/BuyerLandingSessionOutput.js +75 -0
  15. package/dist/models/BuyerSessionEstablishTicketOutput.d.ts +32 -0
  16. package/dist/models/BuyerSessionEstablishTicketOutput.js +51 -0
  17. package/dist/models/BuyerSessionPurchaseTypeEnum.d.ts +26 -0
  18. package/dist/models/BuyerSessionPurchaseTypeEnum.js +52 -0
  19. package/dist/models/CreateBuyerSessionEstablishTicketInput.d.ts +38 -0
  20. package/dist/models/CreateBuyerSessionEstablishTicketInput.js +55 -0
  21. package/dist/models/CreateBuyerSessionFromPurchaseInput.d.ts +39 -0
  22. package/dist/models/CreateBuyerSessionFromPurchaseInput.js +56 -0
  23. package/dist/models/CreateDashboardBuyerSessionInput.d.ts +32 -0
  24. package/dist/models/CreateDashboardBuyerSessionInput.js +51 -0
  25. package/dist/models/ExchangeBuyerSessionCodeInput.d.ts +38 -0
  26. package/dist/models/ExchangeBuyerSessionCodeInput.js +55 -0
  27. package/dist/models/LeadEmailVerificationResultOutput.d.ts +33 -0
  28. package/dist/models/LeadEmailVerificationResultOutput.js +52 -0
  29. package/dist/models/LeadPhoneVerificationResultOutput.d.ts +47 -0
  30. package/dist/models/LeadPhoneVerificationResultOutput.js +62 -0
  31. package/dist/models/PrivateAccountGetMeResponse.d.ts +6 -0
  32. package/dist/models/PrivateAccountGetMeResponse.js +4 -0
  33. package/dist/models/VerifyBuyerSessionEmailOtpInput.d.ts +32 -0
  34. package/dist/models/VerifyBuyerSessionEmailOtpInput.js +51 -0
  35. package/dist/models/index.d.ts +12 -0
  36. package/dist/models/index.js +12 -0
  37. package/package.json +1 -1
  38. package/src/apis/BuyersApi.ts +56 -0
  39. package/src/apis/BuyersPublicApi.ts +378 -0
  40. package/src/apis/LeadsPublicApi.ts +14 -7
  41. package/src/models/BuyerCheckoutProfileDto.ts +192 -0
  42. package/src/models/BuyerCheckoutProfileSummaryDto.ts +129 -0
  43. package/src/models/BuyerLandingSessionOutput.ts +120 -0
  44. package/src/models/BuyerSessionEstablishTicketOutput.ts +66 -0
  45. package/src/models/BuyerSessionPurchaseTypeEnum.ts +54 -0
  46. package/src/models/CreateBuyerSessionEstablishTicketInput.ts +75 -0
  47. package/src/models/CreateBuyerSessionFromPurchaseInput.ts +85 -0
  48. package/src/models/CreateDashboardBuyerSessionInput.ts +66 -0
  49. package/src/models/ExchangeBuyerSessionCodeInput.ts +75 -0
  50. package/src/models/LeadEmailVerificationResultOutput.ts +74 -0
  51. package/src/models/LeadPhoneVerificationResultOutput.ts +106 -0
  52. package/src/models/PrivateAccountGetMeResponse.ts +9 -0
  53. package/src/models/VerifyBuyerSessionEmailOtpInput.ts +66 -0
  54. package/src/models/index.ts +12 -0
@@ -230,6 +230,8 @@ src/models/BuyerAuctionDetailDtoDomain.ts
230
230
  src/models/BuyerAuctionListItemDto.ts
231
231
  src/models/BuyerAuctionListItemDtoDomainInformation.ts
232
232
  src/models/BuyerAuctionListItemDtoSellerAccount.ts
233
+ src/models/BuyerCheckoutProfileDto.ts
234
+ src/models/BuyerCheckoutProfileSummaryDto.ts
233
235
  src/models/BuyerDomainAppraisalRequestCheckoutDto.ts
234
236
  src/models/BuyerDomainNameserverItemDto.ts
235
237
  src/models/BuyerDomainRecordItemDto.ts
@@ -242,6 +244,7 @@ src/models/BuyerExperienceEnum.ts
242
244
  src/models/BuyerInvoiceDomainDto.ts
243
245
  src/models/BuyerInvoiceDto.ts
244
246
  src/models/BuyerInvoiceSellerAccountDto.ts
247
+ src/models/BuyerLandingSessionOutput.ts
245
248
  src/models/BuyerLeadListItemDomainDto.ts
246
249
  src/models/BuyerLeadListItemDto.ts
247
250
  src/models/BuyerLoginDto.ts
@@ -252,6 +255,8 @@ src/models/BuyerNotificationSettingsDto.ts
252
255
  src/models/BuyerPaymentEnum.ts
253
256
  src/models/BuyerSecurityUserDto.ts
254
257
  src/models/BuyerSessionDto.ts
258
+ src/models/BuyerSessionEstablishTicketOutput.ts
259
+ src/models/BuyerSessionPurchaseTypeEnum.ts
255
260
  src/models/BuyerSubscriptionListItemDto.ts
256
261
  src/models/BuyerSubscriptionListItemDtoDomainInformation.ts
257
262
  src/models/BuyerTaskDetailsDto.ts
@@ -301,7 +306,10 @@ src/models/CreateBankAccountInput.ts
301
306
  src/models/CreateBrokeredLeadInput.ts
302
307
  src/models/CreateBuyerDomainAppraisalRequestInput.ts
303
308
  src/models/CreateBuyerLeadMessageInput.ts
309
+ src/models/CreateBuyerSessionEstablishTicketInput.ts
310
+ src/models/CreateBuyerSessionFromPurchaseInput.ts
304
311
  src/models/CreateChallengeInput.ts
312
+ src/models/CreateDashboardBuyerSessionInput.ts
305
313
  src/models/CreateInformationRequestLeadInput.ts
306
314
  src/models/CreateLeadInput.ts
307
315
  src/models/CreateLeadMessageInput.ts
@@ -380,6 +388,7 @@ src/models/DomainTransferWorkflowDto.ts
380
388
  src/models/DomainUrlDto.ts
381
389
  src/models/DomainVerificationStatusDto.ts
382
390
  src/models/EppBatchUpdateInput.ts
391
+ src/models/ExchangeBuyerSessionCodeInput.ts
383
392
  src/models/FeatureFlagListItemDto.ts
384
393
  src/models/FixedCommissionPayloadDto.ts
385
394
  src/models/FixedCommissionPayloadInput.ts
@@ -452,6 +461,7 @@ src/models/LeadBuyerConfigDto.ts
452
461
  src/models/LeadDomainDto.ts
453
462
  src/models/LeadDto.ts
454
463
  src/models/LeadEmailVerificationDto.ts
464
+ src/models/LeadEmailVerificationResultOutput.ts
455
465
  src/models/LeadEnrichmentActivityDto.ts
456
466
  src/models/LeadEnrichmentCompanyDto.ts
457
467
  src/models/LeadEnrichmentDomainDto.ts
@@ -478,6 +488,7 @@ src/models/LeadOfferExpirationDurationInput.ts
478
488
  src/models/LeadPhoneVerificationDeliveryDto.ts
479
489
  src/models/LeadPhoneVerificationDto.ts
480
490
  src/models/LeadPhoneVerificationReason.ts
491
+ src/models/LeadPhoneVerificationResultOutput.ts
481
492
  src/models/LeadPhoneVerificationSummaryDto.ts
482
493
  src/models/LeadPhoneVerificationTooSoonOutput.ts
483
494
  src/models/LeadPhoneVerificationUnavailableOutput.ts
@@ -784,6 +795,7 @@ src/models/ValidateTaxNumberDto.ts
784
795
  src/models/ValidateTaxNumberInput.ts
785
796
  src/models/ValidationError.ts
786
797
  src/models/ValidationException.ts
798
+ src/models/VerifyBuyerSessionEmailOtpInput.ts
787
799
  src/models/VerifyEmailOtpInput.ts
788
800
  src/models/VerifyLeadInput.ts
789
801
  src/models/VerifyLeadPhoneInput.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.561
1
+ ## @randock/nameshift-api-client@0.0.563
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.561 --save
39
+ npm install @randock/nameshift-api-client@0.0.563 --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
- ad0b981d605a519dc19297b6419856d4fbfa4c5f72cdb9212d4c35f3f18b6eb45fe862a64de9232dd27f8ea7ab06538c
47
+ 98b921e47360f95f79b539cbb24b8fb6ba135c1cd119cd52de0700a5e96ff691682fe168daa1c8384ae25152dfe9abb8
@@ -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