@randock/nameshift-api-client 0.0.331 → 0.0.333

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 (135) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsPublicApi.d.ts +1 -0
  4. package/dist/apis/AccountsPublicApi.js +3 -0
  5. package/dist/apis/AuctionsPublicApi.d.ts +29 -0
  6. package/dist/apis/AuctionsPublicApi.js +124 -0
  7. package/dist/apis/BuyersApi.d.ts +54 -1
  8. package/dist/apis/BuyersApi.js +267 -0
  9. package/dist/apis/BuyersPublicApi.d.ts +23 -1
  10. package/dist/apis/BuyersPublicApi.js +90 -0
  11. package/dist/apis/DomainsApi.d.ts +13 -1
  12. package/dist/apis/DomainsApi.js +56 -0
  13. package/dist/apis/LeadsApi.d.ts +2 -5
  14. package/dist/apis/LeadsApi.js +4 -8
  15. package/dist/apis/index.d.ts +1 -0
  16. package/dist/apis/index.js +1 -0
  17. package/dist/models/AuctionBidDto.d.ts +51 -0
  18. package/dist/models/AuctionBidDto.js +64 -0
  19. package/dist/models/AuctionBidInput.d.ts +32 -0
  20. package/dist/models/AuctionBidInput.js +51 -0
  21. package/dist/models/AuctionBuyerDto.d.ts +74 -0
  22. package/dist/models/AuctionBuyerDto.js +79 -0
  23. package/dist/models/AuctionBuyerWithTokenDto.d.ts +39 -0
  24. package/dist/models/AuctionBuyerWithTokenDto.js +56 -0
  25. package/dist/models/AuctionDto.d.ts +82 -0
  26. package/dist/models/AuctionDto.js +85 -0
  27. package/dist/models/BuyerLeadListItemDto.d.ts +23 -0
  28. package/dist/models/BuyerLeadListItemDto.js +19 -1
  29. package/dist/models/DomainAuctionDto.d.ts +63 -0
  30. package/dist/models/DomainAuctionDto.js +72 -0
  31. package/dist/models/DomainSalesInformationDto.d.ts +12 -0
  32. package/dist/models/DomainSalesInformationDto.js +8 -0
  33. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  34. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  35. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
  36. package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
  37. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  38. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  39. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +7 -0
  40. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +5 -0
  41. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +36 -0
  42. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +28 -1
  43. package/dist/models/LeadDto.d.ts +43 -0
  44. package/dist/models/LeadDto.js +33 -1
  45. package/dist/models/LeadLeaseToOwnConfigurationDto.d.ts +50 -0
  46. package/dist/models/LeadLeaseToOwnConfigurationDto.js +63 -0
  47. package/dist/models/LeadMessageData.d.ts +7 -0
  48. package/dist/models/LeadMessageData.js +5 -0
  49. package/dist/models/LeadMessageDataLeaseToOwn.d.ts +38 -0
  50. package/dist/models/LeadMessageDataLeaseToOwn.js +55 -0
  51. package/dist/models/LeadMessageDto.d.ts +16 -0
  52. package/dist/models/LeadMessageDto.js +14 -1
  53. package/dist/models/LeadOfferDto.d.ts +72 -0
  54. package/dist/models/LeadOfferDto.js +84 -0
  55. package/dist/models/LeadRentConfigurationDto.d.ts +38 -0
  56. package/dist/models/LeadRentConfigurationDto.js +55 -0
  57. package/dist/models/ListLeadsResultItem.d.ts +43 -0
  58. package/dist/models/ListLeadsResultItem.js +33 -1
  59. package/dist/models/ManualLeadLeaseToOwnDto.d.ts +12 -0
  60. package/dist/models/ManualLeadLeaseToOwnDto.js +8 -0
  61. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  62. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  63. package/dist/models/PutBuyerLeadOfferInput.d.ts +22 -0
  64. package/dist/models/PutBuyerLeadOfferInput.js +14 -0
  65. package/dist/models/PutLeadOfferInput.d.ts +23 -1
  66. package/dist/models/PutLeadOfferInput.js +15 -3
  67. package/dist/models/RegisterAuctionBuyerPhoneInput.d.ts +47 -0
  68. package/dist/models/RegisterAuctionBuyerPhoneInput.js +64 -0
  69. package/dist/models/RegisterInput.d.ts +38 -0
  70. package/dist/models/RegisterInput.js +55 -0
  71. package/dist/models/RequestEmailOtpInput.d.ts +38 -0
  72. package/dist/models/RequestEmailOtpInput.js +55 -0
  73. package/dist/models/SellerLeadDetails.d.ts +43 -0
  74. package/dist/models/SellerLeadDetails.js +33 -1
  75. package/dist/models/StartAuctionInput.d.ts +51 -0
  76. package/dist/models/StartAuctionInput.js +62 -0
  77. package/dist/models/TaskListLeadDto.d.ts +43 -0
  78. package/dist/models/TaskListLeadDto.js +33 -1
  79. package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.d.ts +50 -0
  80. package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.js +63 -0
  81. package/dist/models/TaskListLeadOfferDto.d.ts +72 -0
  82. package/dist/models/TaskListLeadOfferDto.js +84 -0
  83. package/dist/models/TaskListLeadRentConfigurationDto.d.ts +38 -0
  84. package/dist/models/TaskListLeadRentConfigurationDto.js +55 -0
  85. package/dist/models/VerifyEmailOtpInput.d.ts +38 -0
  86. package/dist/models/VerifyEmailOtpInput.js +55 -0
  87. package/dist/models/VerifyPhoneOtpInput.d.ts +32 -0
  88. package/dist/models/VerifyPhoneOtpInput.js +51 -0
  89. package/dist/models/index.d.ts +19 -0
  90. package/dist/models/index.js +19 -0
  91. package/package.json +1 -1
  92. package/src/apis/AccountsPublicApi.ts +5 -0
  93. package/src/apis/AuctionsPublicApi.ts +67 -0
  94. package/src/apis/BuyersApi.ts +249 -0
  95. package/src/apis/BuyersPublicApi.ts +88 -0
  96. package/src/apis/DomainsApi.ts +58 -0
  97. package/src/apis/LeadsApi.ts +3 -11
  98. package/src/apis/index.ts +1 -0
  99. package/src/models/AuctionBidDto.ts +101 -0
  100. package/src/models/AuctionBidInput.ts +66 -0
  101. package/src/models/AuctionBuyerDto.ts +129 -0
  102. package/src/models/AuctionBuyerWithTokenDto.ts +83 -0
  103. package/src/models/AuctionDto.ts +153 -0
  104. package/src/models/BuyerLeadListItemDto.ts +36 -0
  105. package/src/models/DomainAuctionDto.ts +119 -0
  106. package/src/models/DomainSalesInformationDto.ts +18 -0
  107. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  108. package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
  109. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  110. package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +16 -0
  111. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +61 -0
  112. package/src/models/LeadDto.ts +77 -0
  113. package/src/models/LeadLeaseToOwnConfigurationDto.ts +93 -0
  114. package/src/models/LeadMessageData.ts +16 -0
  115. package/src/models/LeadMessageDataLeaseToOwn.ts +75 -0
  116. package/src/models/LeadMessageDto.ts +20 -0
  117. package/src/models/LeadOfferDto.ts +132 -0
  118. package/src/models/LeadRentConfigurationDto.ts +75 -0
  119. package/src/models/ListLeadsResultItem.ts +77 -0
  120. package/src/models/ManualLeadLeaseToOwnDto.ts +18 -0
  121. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  122. package/src/models/PutBuyerLeadOfferInput.ts +29 -0
  123. package/src/models/PutLeadOfferInput.ts +31 -3
  124. package/src/models/RegisterAuctionBuyerPhoneInput.ts +87 -0
  125. package/src/models/RegisterInput.ts +75 -0
  126. package/src/models/RequestEmailOtpInput.ts +75 -0
  127. package/src/models/SellerLeadDetails.ts +77 -0
  128. package/src/models/StartAuctionInput.ts +100 -0
  129. package/src/models/TaskListLeadDto.ts +77 -0
  130. package/src/models/TaskListLeadLeaseToOwnConfigurationDto.ts +93 -0
  131. package/src/models/TaskListLeadOfferDto.ts +132 -0
  132. package/src/models/TaskListLeadRentConfigurationDto.ts +75 -0
  133. package/src/models/VerifyEmailOtpInput.ts +75 -0
  134. package/src/models/VerifyPhoneOtpInput.ts +66 -0
  135. package/src/models/index.ts +19 -0
@@ -6,6 +6,7 @@ package.json
6
6
  src/apis/AccountsApi.ts
7
7
  src/apis/AccountsPublicApi.ts
8
8
  src/apis/AdminApi.ts
9
+ src/apis/AuctionsPublicApi.ts
9
10
  src/apis/BankAccountsApi.ts
10
11
  src/apis/BuyersApi.ts
11
12
  src/apis/BuyersPublicApi.ts
@@ -71,6 +72,11 @@ src/models/AirwallexBankAccountDetailsDtoLocalMethodCode.ts
71
72
  src/models/AirwallexDepositDto.ts
72
73
  src/models/AirwallexDepositDtoFee.ts
73
74
  src/models/AuBankAccountDetails.ts
75
+ src/models/AuctionBidDto.ts
76
+ src/models/AuctionBidInput.ts
77
+ src/models/AuctionBuyerDto.ts
78
+ src/models/AuctionBuyerWithTokenDto.ts
79
+ src/models/AuctionDto.ts
74
80
  src/models/BadRequestException.ts
75
81
  src/models/BatchDeleteBuyerLeadsInput.ts
76
82
  src/models/BatchImportPreviewDto.ts
@@ -119,6 +125,7 @@ src/models/CreateSubscriptionInput.ts
119
125
  src/models/CursorBasedPageInfo.ts
120
126
  src/models/CursorBasedPaginationResponse.ts
121
127
  src/models/DeleteDomainsInput.ts
128
+ src/models/DomainAuctionDto.ts
122
129
  src/models/DomainExchangeRateDto.ts
123
130
  src/models/DomainFiltersDto.ts
124
131
  src/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.ts
@@ -189,10 +196,14 @@ src/models/LeadBuyerConfigDto.ts
189
196
  src/models/LeadDomainDto.ts
190
197
  src/models/LeadDto.ts
191
198
  src/models/LeadLeaseToOwnAndRentConfigurationPresetsDto.ts
199
+ src/models/LeadLeaseToOwnConfigurationDto.ts
192
200
  src/models/LeadMessageData.ts
201
+ src/models/LeadMessageDataLeaseToOwn.ts
193
202
  src/models/LeadMessageDto.ts
203
+ src/models/LeadOfferDto.ts
194
204
  src/models/LeadPriceNegotiatorAiAgentConfigurationDto.ts
195
205
  src/models/LeadPriceNegotiatorAiAgentConfigurationInput.ts
206
+ src/models/LeadRentConfigurationDto.ts
196
207
  src/models/LeadStatusDto.ts
197
208
  src/models/LeaseToOwnConfigurationDto.ts
198
209
  src/models/LeaseToOwnConfigurationInput.ts
@@ -252,6 +263,8 @@ src/models/PublicSalesDto.ts
252
263
  src/models/PutBuyerLeadOfferInput.ts
253
264
  src/models/PutLeadOfferInput.ts
254
265
  src/models/RegisterAccountInput.ts
266
+ src/models/RegisterAuctionBuyerPhoneInput.ts
267
+ src/models/RegisterInput.ts
255
268
  src/models/RelatedDomainsDto.ts
256
269
  src/models/RelatedSellerDomain.ts
257
270
  src/models/RentConfigurationDto.ts
@@ -259,6 +272,7 @@ src/models/RentConfigurationInput.ts
259
272
  src/models/RentConfigurationPresetsDto.ts
260
273
  src/models/RentDto.ts
261
274
  src/models/RequestAccessTokenInput.ts
275
+ src/models/RequestEmailOtpInput.ts
262
276
  src/models/SellerAccountReferralListItemDto.ts
263
277
  src/models/SellerAffiliateCommissionDto.ts
264
278
  src/models/SellerDomainAffiliateCommissionDto.ts
@@ -291,6 +305,7 @@ src/models/SetDomainTransferConfirmationInput.ts
291
305
  src/models/SetNewPasswordInput.ts
292
306
  src/models/SetPayoutProviderInput.ts
293
307
  src/models/SortDto.ts
308
+ src/models/StartAuctionInput.ts
294
309
  src/models/StatsFilterInputDateRange.ts
295
310
  src/models/StoreBuyerLocaleInput.ts
296
311
  src/models/StoreUserLocaleInput.ts
@@ -314,6 +329,9 @@ src/models/TaskDetailsDto.ts
314
329
  src/models/TaskListDomainDto.ts
315
330
  src/models/TaskListDomainTransferDto.ts
316
331
  src/models/TaskListLeadDto.ts
332
+ src/models/TaskListLeadLeaseToOwnConfigurationDto.ts
333
+ src/models/TaskListLeadOfferDto.ts
334
+ src/models/TaskListLeadRentConfigurationDto.ts
317
335
  src/models/TimeTableConfigurationDto.ts
318
336
  src/models/TimeTableConfigurationInput.ts
319
337
  src/models/UkBankAccountDetails.ts
@@ -344,7 +362,9 @@ src/models/ValidateTaxNumberDto.ts
344
362
  src/models/ValidateTaxNumberInput.ts
345
363
  src/models/ValidationError.ts
346
364
  src/models/ValidationException.ts
365
+ src/models/VerifyEmailOtpInput.ts
347
366
  src/models/VerifyLeadInput.ts
367
+ src/models/VerifyPhoneOtpInput.ts
348
368
  src/models/WithSettingsInner.ts
349
369
  src/models/index.ts
350
370
  src/runtime.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.331
1
+ ## @randock/nameshift-api-client@0.0.333
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.331 --save
39
+ npm install @randock/nameshift-api-client@0.0.333 --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
- 0a75c6704af1ab7098fcb5c50eefa2d509543b5cb2983cf3ee61c1c98097d20935875a8d1026da6a596437ea39cae633
47
+ 78092cd4a8aa570d931ff84131acb6ed3450053d9f77d953d8bed4736900e882c32df421d70cf0f1463801a6e73a4ab5
@@ -16,6 +16,7 @@ export interface AccountsPublicApiGetAccountInformationRequest {
16
16
  }
17
17
  export interface AccountsPublicApiRegisterRequest {
18
18
  registerAccountInput: RegisterAccountInput;
19
+ xRecaptchaToken?: string;
19
20
  }
20
21
  /**
21
22
  *
@@ -134,6 +134,9 @@ var AccountsPublicApi = /** @class */ (function (_super) {
134
134
  queryParameters = {};
135
135
  headerParameters = {};
136
136
  headerParameters['Content-Type'] = 'application/json';
137
+ if (requestParameters['xRecaptchaToken'] != null) {
138
+ headerParameters['x-recaptcha-token'] = String(requestParameters['xRecaptchaToken']);
139
+ }
137
140
  return [4 /*yield*/, this.request({
138
141
  path: "/accounts/register",
139
142
  method: 'POST',
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
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 { AuctionDto } from '../models/index';
14
+ export interface AuctionsPublicApiGetAuctionRequest {
15
+ auctionId: string;
16
+ }
17
+ /**
18
+ *
19
+ */
20
+ export declare class AuctionsPublicApi extends runtime.BaseAPI {
21
+ /**
22
+ *
23
+ */
24
+ getAuctionRaw(requestParameters: AuctionsPublicApiGetAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuctionDto>>;
25
+ /**
26
+ *
27
+ */
28
+ getAuction(requestParameters: AuctionsPublicApiGetAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuctionDto>;
29
+ }
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32
+ return new (P || (P = Promise))(function (resolve, reject) {
33
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
34
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
35
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
36
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
37
+ });
38
+ };
39
+ var __generator = (this && this.__generator) || function (thisArg, body) {
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
+ function verb(n) { return function (v) { return step([n, v]); }; }
43
+ function step(op) {
44
+ if (f) throw new TypeError("Generator is already executing.");
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
+ if (y = 0, t) op = [op[0] & 2, t.value];
48
+ switch (op[0]) {
49
+ case 0: case 1: t = op; break;
50
+ case 4: _.label++; return { value: op[1], done: false };
51
+ case 5: _.label++; y = op[1]; op = [0]; continue;
52
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
53
+ default:
54
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
55
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
56
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
57
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
58
+ if (t[2]) _.ops.pop();
59
+ _.trys.pop(); continue;
60
+ }
61
+ op = body.call(thisArg, _);
62
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
63
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
64
+ }
65
+ };
66
+ Object.defineProperty(exports, "__esModule", { value: true });
67
+ exports.AuctionsPublicApi = void 0;
68
+ var runtime = require("../runtime");
69
+ var index_1 = require("../models/index");
70
+ /**
71
+ *
72
+ */
73
+ var AuctionsPublicApi = /** @class */ (function (_super) {
74
+ __extends(AuctionsPublicApi, _super);
75
+ function AuctionsPublicApi() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ /**
79
+ *
80
+ */
81
+ AuctionsPublicApi.prototype.getAuctionRaw = function (requestParameters, initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, response;
84
+ return __generator(this, function (_a) {
85
+ switch (_a.label) {
86
+ case 0:
87
+ if (requestParameters['auctionId'] == null) {
88
+ throw new runtime.RequiredError('auctionId', 'Required parameter "auctionId" was null or undefined when calling getAuction().');
89
+ }
90
+ queryParameters = {};
91
+ headerParameters = {};
92
+ return [4 /*yield*/, this.request({
93
+ path: "/auctions/{auctionId}".replace("{".concat("auctionId", "}"), encodeURIComponent(String(requestParameters['auctionId']))),
94
+ method: 'GET',
95
+ headers: headerParameters,
96
+ query: queryParameters,
97
+ }, initOverrides)];
98
+ case 1:
99
+ response = _a.sent();
100
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AuctionDtoFromJSON)(jsonValue); })];
101
+ }
102
+ });
103
+ });
104
+ };
105
+ /**
106
+ *
107
+ */
108
+ AuctionsPublicApi.prototype.getAuction = function (requestParameters, initOverrides) {
109
+ return __awaiter(this, void 0, void 0, function () {
110
+ var response;
111
+ return __generator(this, function (_a) {
112
+ switch (_a.label) {
113
+ case 0: return [4 /*yield*/, this.getAuctionRaw(requestParameters, initOverrides)];
114
+ case 1:
115
+ response = _a.sent();
116
+ return [4 /*yield*/, response.value()];
117
+ case 2: return [2 /*return*/, _a.sent()];
118
+ }
119
+ });
120
+ });
121
+ };
122
+ return AuctionsPublicApi;
123
+ }(runtime.BaseAPI));
124
+ exports.AuctionsPublicApi = AuctionsPublicApi;
@@ -10,13 +10,17 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BulkMarkBuyerNotificationsAsReadInputDto, BuyerDomainTransferAuthCodeDto, BuyerNotificationDto, BuyerNotificationSettingsDto, BuyerSessionDto, BuyerTaskDetailsDto, CreateBuyerLeadMessageInput, GetBuyerInvoices200Response, GetBuyerLeads200Response, GetBuyerSubscriptions200Response, GetBuyerTransfers200Response, LeadDto, LeadMessageDto, ListBuyerNotifications200Response, ObjectId, PutBuyerLeadOfferInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput, UpdateBuyerDomainTransferIpsTagInputDto, UpdateBuyerNotificationSettingsInput, UpdateLeadMuteStatusForBuyerInput, UpdateTaskMuteStatusForBuyerInput } from '../models/index';
13
+ import type { AuctionBidInput, AuctionBuyerDto, BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BulkMarkBuyerNotificationsAsReadInputDto, BuyerDomainTransferAuthCodeDto, BuyerNotificationDto, BuyerNotificationSettingsDto, BuyerSessionDto, BuyerTaskDetailsDto, CreateBuyerLeadMessageInput, GetBuyerInvoices200Response, GetBuyerLeads200Response, GetBuyerSubscriptions200Response, GetBuyerTransfers200Response, LeadDto, LeadLeaseToOwnAndRentConfigurationPresetsDto, LeadMessageDto, ListBuyerNotifications200Response, ObjectId, PutBuyerLeadOfferInput, RegisterAuctionBuyerPhoneInput, RegisterInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput, UpdateBuyerDomainTransferIpsTagInputDto, UpdateBuyerNotificationSettingsInput, UpdateLeadMuteStatusForBuyerInput, UpdateTaskMuteStatusForBuyerInput, VerifyPhoneOtpInput } from '../models/index';
14
14
  export interface BuyersApiAcceptBuyerLeadOfferRequest {
15
15
  leadId: string;
16
16
  }
17
17
  export interface BuyersApiBatchVerifyBuyerLeadsRequest {
18
18
  batchVerifyBuyerLeadsInput: BatchVerifyBuyerLeadsInput;
19
19
  }
20
+ export interface BuyersApiBidRequest {
21
+ auctionId: string;
22
+ auctionBidInput: AuctionBidInput;
23
+ }
20
24
  export interface BuyersApiBulkMarkBuyerNotificationsAsReadRequest {
21
25
  bulkMarkBuyerNotificationsAsReadInputDto: BulkMarkBuyerNotificationsAsReadInputDto;
22
26
  }
@@ -94,6 +98,12 @@ export interface BuyersApiPutBuyerOfferRequest {
94
98
  leadId: string;
95
99
  putBuyerLeadOfferInput: PutBuyerLeadOfferInput;
96
100
  }
101
+ export interface BuyersApiRegisterRequest {
102
+ registerInput: RegisterInput;
103
+ }
104
+ export interface BuyersApiRegisterPhoneRequest {
105
+ registerAuctionBuyerPhoneInput: RegisterAuctionBuyerPhoneInput;
106
+ }
97
107
  export interface BuyersApiRevokeScheduledSubscriptionCancellationRequest {
98
108
  subscriptionId: string;
99
109
  }
@@ -118,6 +128,9 @@ export interface BuyersApiUpdateTaskMuteStatusForBuyerRequest {
118
128
  export interface BuyersApiVerifyBuyerLeadRequest {
119
129
  leadId: string;
120
130
  }
131
+ export interface BuyersApiVerifyPhoneOtpRequest {
132
+ verifyPhoneOtpInput: VerifyPhoneOtpInput;
133
+ }
121
134
  /**
122
135
  *
123
136
  */
@@ -138,6 +151,14 @@ export declare class BuyersApi extends runtime.BaseAPI {
138
151
  *
139
152
  */
140
153
  batchVerifyBuyerLeads(requestParameters: BuyersApiBatchVerifyBuyerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
154
+ /**
155
+ *
156
+ */
157
+ bidRaw(requestParameters: BuyersApiBidRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
158
+ /**
159
+ *
160
+ */
161
+ bid(requestParameters: BuyersApiBidRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
141
162
  /**
142
163
  * Mark multiple notifications as read (true) or unread (false) based on the readStatus parameter
143
164
  * Bulk mark buyer notifications as read or unread
@@ -286,6 +307,14 @@ export declare class BuyersApi extends runtime.BaseAPI {
286
307
  *
287
308
  */
288
309
  getBuyerTransfers(requestParameters?: BuyersApiGetBuyerTransfersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetBuyerTransfers200Response>;
310
+ /**
311
+ *
312
+ */
313
+ getLeadLeaseToOwnConfigurationPresetsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadLeaseToOwnAndRentConfigurationPresetsDto>>;
314
+ /**
315
+ *
316
+ */
317
+ getLeadLeaseToOwnConfigurationPresets(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadLeaseToOwnAndRentConfigurationPresetsDto>;
289
318
  /**
290
319
  *
291
320
  */
@@ -318,6 +347,22 @@ export declare class BuyersApi extends runtime.BaseAPI {
318
347
  *
319
348
  */
320
349
  putBuyerOffer(requestParameters: BuyersApiPutBuyerOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
350
+ /**
351
+ *
352
+ */
353
+ registerRaw(requestParameters: BuyersApiRegisterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
354
+ /**
355
+ *
356
+ */
357
+ register(requestParameters: BuyersApiRegisterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
358
+ /**
359
+ *
360
+ */
361
+ registerPhoneRaw(requestParameters: BuyersApiRegisterPhoneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
362
+ /**
363
+ *
364
+ */
365
+ registerPhone(requestParameters: BuyersApiRegisterPhoneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
321
366
  /**
322
367
  *
323
368
  */
@@ -374,4 +419,12 @@ export declare class BuyersApi extends runtime.BaseAPI {
374
419
  *
375
420
  */
376
421
  verifyBuyerLead(requestParameters: BuyersApiVerifyBuyerLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
422
+ /**
423
+ *
424
+ */
425
+ verifyPhoneOtpRaw(requestParameters: BuyersApiVerifyPhoneOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuctionBuyerDto>>;
426
+ /**
427
+ *
428
+ */
429
+ verifyPhoneOtp(requestParameters: BuyersApiVerifyPhoneOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuctionBuyerDto>;
377
430
  }