@randock/nameshift-api-client 0.0.331 → 0.0.332

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 (132) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AuctionsPublicApi.d.ts +29 -0
  4. package/dist/apis/AuctionsPublicApi.js +124 -0
  5. package/dist/apis/BuyersApi.d.ts +54 -1
  6. package/dist/apis/BuyersApi.js +267 -0
  7. package/dist/apis/BuyersPublicApi.d.ts +23 -1
  8. package/dist/apis/BuyersPublicApi.js +90 -0
  9. package/dist/apis/DomainsApi.d.ts +13 -1
  10. package/dist/apis/DomainsApi.js +56 -0
  11. package/dist/apis/LeadsApi.d.ts +2 -5
  12. package/dist/apis/LeadsApi.js +4 -8
  13. package/dist/apis/index.d.ts +1 -0
  14. package/dist/apis/index.js +1 -0
  15. package/dist/models/AuctionBidDto.d.ts +51 -0
  16. package/dist/models/AuctionBidDto.js +64 -0
  17. package/dist/models/AuctionBidInput.d.ts +32 -0
  18. package/dist/models/AuctionBidInput.js +51 -0
  19. package/dist/models/AuctionBuyerDto.d.ts +74 -0
  20. package/dist/models/AuctionBuyerDto.js +79 -0
  21. package/dist/models/AuctionBuyerWithTokenDto.d.ts +39 -0
  22. package/dist/models/AuctionBuyerWithTokenDto.js +56 -0
  23. package/dist/models/AuctionDto.d.ts +82 -0
  24. package/dist/models/AuctionDto.js +85 -0
  25. package/dist/models/BuyerLeadListItemDto.d.ts +23 -0
  26. package/dist/models/BuyerLeadListItemDto.js +19 -1
  27. package/dist/models/DomainAuctionDto.d.ts +63 -0
  28. package/dist/models/DomainAuctionDto.js +72 -0
  29. package/dist/models/DomainSalesInformationDto.d.ts +12 -0
  30. package/dist/models/DomainSalesInformationDto.js +8 -0
  31. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  32. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  33. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
  34. package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
  35. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  36. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  37. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +7 -0
  38. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +5 -0
  39. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +36 -0
  40. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +28 -1
  41. package/dist/models/LeadDto.d.ts +43 -0
  42. package/dist/models/LeadDto.js +33 -1
  43. package/dist/models/LeadLeaseToOwnConfigurationDto.d.ts +50 -0
  44. package/dist/models/LeadLeaseToOwnConfigurationDto.js +63 -0
  45. package/dist/models/LeadMessageData.d.ts +7 -0
  46. package/dist/models/LeadMessageData.js +5 -0
  47. package/dist/models/LeadMessageDataLeaseToOwn.d.ts +38 -0
  48. package/dist/models/LeadMessageDataLeaseToOwn.js +55 -0
  49. package/dist/models/LeadMessageDto.d.ts +16 -0
  50. package/dist/models/LeadMessageDto.js +14 -1
  51. package/dist/models/LeadOfferDto.d.ts +72 -0
  52. package/dist/models/LeadOfferDto.js +84 -0
  53. package/dist/models/LeadRentConfigurationDto.d.ts +38 -0
  54. package/dist/models/LeadRentConfigurationDto.js +55 -0
  55. package/dist/models/ListLeadsResultItem.d.ts +43 -0
  56. package/dist/models/ListLeadsResultItem.js +33 -1
  57. package/dist/models/ManualLeadLeaseToOwnDto.d.ts +12 -0
  58. package/dist/models/ManualLeadLeaseToOwnDto.js +8 -0
  59. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  60. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  61. package/dist/models/PutBuyerLeadOfferInput.d.ts +22 -0
  62. package/dist/models/PutBuyerLeadOfferInput.js +14 -0
  63. package/dist/models/PutLeadOfferInput.d.ts +23 -1
  64. package/dist/models/PutLeadOfferInput.js +15 -3
  65. package/dist/models/RegisterAuctionBuyerPhoneInput.d.ts +47 -0
  66. package/dist/models/RegisterAuctionBuyerPhoneInput.js +64 -0
  67. package/dist/models/RegisterInput.d.ts +38 -0
  68. package/dist/models/RegisterInput.js +55 -0
  69. package/dist/models/RequestEmailOtpInput.d.ts +38 -0
  70. package/dist/models/RequestEmailOtpInput.js +55 -0
  71. package/dist/models/SellerLeadDetails.d.ts +43 -0
  72. package/dist/models/SellerLeadDetails.js +33 -1
  73. package/dist/models/StartAuctionInput.d.ts +51 -0
  74. package/dist/models/StartAuctionInput.js +62 -0
  75. package/dist/models/TaskListLeadDto.d.ts +43 -0
  76. package/dist/models/TaskListLeadDto.js +33 -1
  77. package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.d.ts +50 -0
  78. package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.js +63 -0
  79. package/dist/models/TaskListLeadOfferDto.d.ts +72 -0
  80. package/dist/models/TaskListLeadOfferDto.js +84 -0
  81. package/dist/models/TaskListLeadRentConfigurationDto.d.ts +38 -0
  82. package/dist/models/TaskListLeadRentConfigurationDto.js +55 -0
  83. package/dist/models/VerifyEmailOtpInput.d.ts +38 -0
  84. package/dist/models/VerifyEmailOtpInput.js +55 -0
  85. package/dist/models/VerifyPhoneOtpInput.d.ts +32 -0
  86. package/dist/models/VerifyPhoneOtpInput.js +51 -0
  87. package/dist/models/index.d.ts +19 -0
  88. package/dist/models/index.js +19 -0
  89. package/package.json +1 -1
  90. package/src/apis/AuctionsPublicApi.ts +67 -0
  91. package/src/apis/BuyersApi.ts +249 -0
  92. package/src/apis/BuyersPublicApi.ts +88 -0
  93. package/src/apis/DomainsApi.ts +58 -0
  94. package/src/apis/LeadsApi.ts +3 -11
  95. package/src/apis/index.ts +1 -0
  96. package/src/models/AuctionBidDto.ts +101 -0
  97. package/src/models/AuctionBidInput.ts +66 -0
  98. package/src/models/AuctionBuyerDto.ts +129 -0
  99. package/src/models/AuctionBuyerWithTokenDto.ts +83 -0
  100. package/src/models/AuctionDto.ts +153 -0
  101. package/src/models/BuyerLeadListItemDto.ts +36 -0
  102. package/src/models/DomainAuctionDto.ts +119 -0
  103. package/src/models/DomainSalesInformationDto.ts +18 -0
  104. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  105. package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
  106. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  107. package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +16 -0
  108. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +61 -0
  109. package/src/models/LeadDto.ts +77 -0
  110. package/src/models/LeadLeaseToOwnConfigurationDto.ts +93 -0
  111. package/src/models/LeadMessageData.ts +16 -0
  112. package/src/models/LeadMessageDataLeaseToOwn.ts +75 -0
  113. package/src/models/LeadMessageDto.ts +20 -0
  114. package/src/models/LeadOfferDto.ts +132 -0
  115. package/src/models/LeadRentConfigurationDto.ts +75 -0
  116. package/src/models/ListLeadsResultItem.ts +77 -0
  117. package/src/models/ManualLeadLeaseToOwnDto.ts +18 -0
  118. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  119. package/src/models/PutBuyerLeadOfferInput.ts +29 -0
  120. package/src/models/PutLeadOfferInput.ts +31 -3
  121. package/src/models/RegisterAuctionBuyerPhoneInput.ts +87 -0
  122. package/src/models/RegisterInput.ts +75 -0
  123. package/src/models/RequestEmailOtpInput.ts +75 -0
  124. package/src/models/SellerLeadDetails.ts +77 -0
  125. package/src/models/StartAuctionInput.ts +100 -0
  126. package/src/models/TaskListLeadDto.ts +77 -0
  127. package/src/models/TaskListLeadLeaseToOwnConfigurationDto.ts +93 -0
  128. package/src/models/TaskListLeadOfferDto.ts +132 -0
  129. package/src/models/TaskListLeadRentConfigurationDto.ts +75 -0
  130. package/src/models/VerifyEmailOtpInput.ts +75 -0
  131. package/src/models/VerifyPhoneOtpInput.ts +66 -0
  132. package/src/models/index.ts +19 -0
@@ -10,13 +10,19 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { LoginDto, LoginInput, RequestAccessTokenInput } from '../models/index';
13
+ import type { AuctionBuyerWithTokenDto, LoginDto, LoginInput, RequestAccessTokenInput, RequestEmailOtpInput, VerifyEmailOtpInput } from '../models/index';
14
14
  export interface BuyersPublicApiBuyerLoginRequest {
15
15
  loginInput: LoginInput;
16
16
  }
17
17
  export interface BuyersPublicApiRequestAccessTokenRequest {
18
18
  requestAccessTokenInput: RequestAccessTokenInput;
19
19
  }
20
+ export interface BuyersPublicApiRequestEmailOtpRequest {
21
+ requestEmailOtpInput: RequestEmailOtpInput;
22
+ }
23
+ export interface BuyersPublicApiVerifyEmailOtpRequest {
24
+ verifyEmailOtpInput: VerifyEmailOtpInput;
25
+ }
20
26
  /**
21
27
  *
22
28
  */
@@ -37,4 +43,20 @@ export declare class BuyersPublicApi extends runtime.BaseAPI {
37
43
  *
38
44
  */
39
45
  requestAccessToken(requestParameters: BuyersPublicApiRequestAccessTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
46
+ /**
47
+ *
48
+ */
49
+ requestEmailOtpRaw(requestParameters: BuyersPublicApiRequestEmailOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
50
+ /**
51
+ *
52
+ */
53
+ requestEmailOtp(requestParameters: BuyersPublicApiRequestEmailOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
54
+ /**
55
+ *
56
+ */
57
+ verifyEmailOtpRaw(requestParameters: BuyersPublicApiVerifyEmailOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuctionBuyerWithTokenDto>>;
58
+ /**
59
+ *
60
+ */
61
+ verifyEmailOtp(requestParameters: BuyersPublicApiVerifyEmailOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuctionBuyerWithTokenDto>;
40
62
  }
@@ -165,6 +165,96 @@ var BuyersPublicApi = /** @class */ (function (_super) {
165
165
  });
166
166
  });
167
167
  };
168
+ /**
169
+ *
170
+ */
171
+ BuyersPublicApi.prototype.requestEmailOtpRaw = function (requestParameters, initOverrides) {
172
+ return __awaiter(this, void 0, void 0, function () {
173
+ var queryParameters, headerParameters, response;
174
+ return __generator(this, function (_a) {
175
+ switch (_a.label) {
176
+ case 0:
177
+ if (requestParameters['requestEmailOtpInput'] == null) {
178
+ throw new runtime.RequiredError('requestEmailOtpInput', 'Required parameter "requestEmailOtpInput" was null or undefined when calling requestEmailOtp().');
179
+ }
180
+ queryParameters = {};
181
+ headerParameters = {};
182
+ headerParameters['Content-Type'] = 'application/json';
183
+ return [4 /*yield*/, this.request({
184
+ path: "/buyers/auction/request-email-otp",
185
+ method: 'POST',
186
+ headers: headerParameters,
187
+ query: queryParameters,
188
+ body: (0, index_1.RequestEmailOtpInputToJSON)(requestParameters['requestEmailOtpInput']),
189
+ }, initOverrides)];
190
+ case 1:
191
+ response = _a.sent();
192
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
193
+ }
194
+ });
195
+ });
196
+ };
197
+ /**
198
+ *
199
+ */
200
+ BuyersPublicApi.prototype.requestEmailOtp = function (requestParameters, initOverrides) {
201
+ return __awaiter(this, void 0, void 0, function () {
202
+ return __generator(this, function (_a) {
203
+ switch (_a.label) {
204
+ case 0: return [4 /*yield*/, this.requestEmailOtpRaw(requestParameters, initOverrides)];
205
+ case 1:
206
+ _a.sent();
207
+ return [2 /*return*/];
208
+ }
209
+ });
210
+ });
211
+ };
212
+ /**
213
+ *
214
+ */
215
+ BuyersPublicApi.prototype.verifyEmailOtpRaw = function (requestParameters, initOverrides) {
216
+ return __awaiter(this, void 0, void 0, function () {
217
+ var queryParameters, headerParameters, response;
218
+ return __generator(this, function (_a) {
219
+ switch (_a.label) {
220
+ case 0:
221
+ if (requestParameters['verifyEmailOtpInput'] == null) {
222
+ throw new runtime.RequiredError('verifyEmailOtpInput', 'Required parameter "verifyEmailOtpInput" was null or undefined when calling verifyEmailOtp().');
223
+ }
224
+ queryParameters = {};
225
+ headerParameters = {};
226
+ headerParameters['Content-Type'] = 'application/json';
227
+ return [4 /*yield*/, this.request({
228
+ path: "/buyers/auction/verify-email-otp",
229
+ method: 'POST',
230
+ headers: headerParameters,
231
+ query: queryParameters,
232
+ body: (0, index_1.VerifyEmailOtpInputToJSON)(requestParameters['verifyEmailOtpInput']),
233
+ }, initOverrides)];
234
+ case 1:
235
+ response = _a.sent();
236
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AuctionBuyerWithTokenDtoFromJSON)(jsonValue); })];
237
+ }
238
+ });
239
+ });
240
+ };
241
+ /**
242
+ *
243
+ */
244
+ BuyersPublicApi.prototype.verifyEmailOtp = function (requestParameters, initOverrides) {
245
+ return __awaiter(this, void 0, void 0, function () {
246
+ var response;
247
+ return __generator(this, function (_a) {
248
+ switch (_a.label) {
249
+ case 0: return [4 /*yield*/, this.verifyEmailOtpRaw(requestParameters, initOverrides)];
250
+ case 1:
251
+ response = _a.sent();
252
+ return [4 /*yield*/, response.value()];
253
+ case 2: return [2 /*return*/, _a.sent()];
254
+ }
255
+ });
256
+ });
257
+ };
168
258
  return BuyersPublicApi;
169
259
  }(runtime.BaseAPI));
170
260
  exports.BuyersPublicApi = BuyersPublicApi;
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { BatchImportPreviewDto, BatchUpdateDomainsInput, BulkUpdateDomainsWithFiltersInput, DeleteDomainsInput, DomainExchangeRateDto, DomainFiltersDto, DomainUrlDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response2, SellerDomainAffiliateCommissionDto, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput, UpdateDomainTransferIpsTagInput } from '../models/index';
13
+ import type { BatchImportPreviewDto, BatchUpdateDomainsInput, BulkUpdateDomainsWithFiltersInput, DeleteDomainsInput, DomainExchangeRateDto, DomainFiltersDto, DomainUrlDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response2, SellerDomainAffiliateCommissionDto, SellerDomainTransferDto, StartAuctionInput, UpdateDomainInput, UpdateDomainTransferAuthCodeInput, UpdateDomainTransferIpsTagInput } from '../models/index';
14
14
  export interface DomainsApiBatchImportRequest {
15
15
  file?: Blob | null;
16
16
  domains?: Array<string>;
@@ -61,6 +61,10 @@ export interface DomainsApiListRequest {
61
61
  limit?: number;
62
62
  sortBy?: Array<string>;
63
63
  }
64
+ export interface DomainsApiStartAuctionRequest {
65
+ domainId: string;
66
+ startAuctionInput: StartAuctionInput;
67
+ }
64
68
  export interface DomainsApiUpdateRequest {
65
69
  domainId: string;
66
70
  updateDomainInput: UpdateDomainInput;
@@ -205,6 +209,14 @@ export declare class DomainsApi extends runtime.BaseAPI {
205
209
  *
206
210
  */
207
211
  list(requestParameters?: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response2>;
212
+ /**
213
+ *
214
+ */
215
+ startAuctionRaw(requestParameters: DomainsApiStartAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
216
+ /**
217
+ *
218
+ */
219
+ startAuction(requestParameters: DomainsApiStartAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
208
220
  /**
209
221
  *
210
222
  */
@@ -973,6 +973,62 @@ var DomainsApi = /** @class */ (function (_super) {
973
973
  });
974
974
  });
975
975
  };
976
+ /**
977
+ *
978
+ */
979
+ DomainsApi.prototype.startAuctionRaw = function (requestParameters, initOverrides) {
980
+ return __awaiter(this, void 0, void 0, function () {
981
+ var queryParameters, headerParameters, token, tokenString, response;
982
+ return __generator(this, function (_a) {
983
+ switch (_a.label) {
984
+ case 0:
985
+ if (requestParameters['domainId'] == null) {
986
+ throw new runtime.RequiredError('domainId', 'Required parameter "domainId" was null or undefined when calling startAuction().');
987
+ }
988
+ if (requestParameters['startAuctionInput'] == null) {
989
+ throw new runtime.RequiredError('startAuctionInput', 'Required parameter "startAuctionInput" was null or undefined when calling startAuction().');
990
+ }
991
+ queryParameters = {};
992
+ headerParameters = {};
993
+ headerParameters['Content-Type'] = 'application/json';
994
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
995
+ token = this.configuration.accessToken;
996
+ return [4 /*yield*/, token("bearer", [])];
997
+ case 1:
998
+ tokenString = _a.sent();
999
+ if (tokenString) {
1000
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
1001
+ }
1002
+ _a.label = 2;
1003
+ case 2: return [4 /*yield*/, this.request({
1004
+ path: "/private/domains/{domainId}/start-auction".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters['domainId']))),
1005
+ method: 'POST',
1006
+ headers: headerParameters,
1007
+ query: queryParameters,
1008
+ body: (0, index_1.StartAuctionInputToJSON)(requestParameters['startAuctionInput']),
1009
+ }, initOverrides)];
1010
+ case 3:
1011
+ response = _a.sent();
1012
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
1013
+ }
1014
+ });
1015
+ });
1016
+ };
1017
+ /**
1018
+ *
1019
+ */
1020
+ DomainsApi.prototype.startAuction = function (requestParameters, initOverrides) {
1021
+ return __awaiter(this, void 0, void 0, function () {
1022
+ return __generator(this, function (_a) {
1023
+ switch (_a.label) {
1024
+ case 0: return [4 /*yield*/, this.startAuctionRaw(requestParameters, initOverrides)];
1025
+ case 1:
1026
+ _a.sent();
1027
+ return [2 /*return*/];
1028
+ }
1029
+ });
1030
+ });
1031
+ };
976
1032
  /**
977
1033
  *
978
1034
  */
@@ -31,9 +31,6 @@ export interface LeadsApiCreateMessageRequest {
31
31
  export interface LeadsApiGetLeadRequest {
32
32
  leadId: string;
33
33
  }
34
- export interface LeadsApiGetLeadLeaseToOwnConfigurationPresetsRequest {
35
- date?: string;
36
- }
37
34
  export interface LeadsApiGetManualLeadRequest {
38
35
  leadId: string;
39
36
  }
@@ -118,11 +115,11 @@ export declare class LeadsApi extends runtime.BaseAPI {
118
115
  /**
119
116
  *
120
117
  */
121
- getLeadLeaseToOwnConfigurationPresetsRaw(requestParameters: LeadsApiGetLeadLeaseToOwnConfigurationPresetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadLeaseToOwnAndRentConfigurationPresetsDto>>;
118
+ getLeadLeaseToOwnConfigurationPresetsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadLeaseToOwnAndRentConfigurationPresetsDto>>;
122
119
  /**
123
120
  *
124
121
  */
125
- getLeadLeaseToOwnConfigurationPresets(requestParameters?: LeadsApiGetLeadLeaseToOwnConfigurationPresetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadLeaseToOwnAndRentConfigurationPresetsDto>;
122
+ getLeadLeaseToOwnConfigurationPresets(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadLeaseToOwnAndRentConfigurationPresetsDto>;
126
123
  /**
127
124
  *
128
125
  */
@@ -400,16 +400,13 @@ var LeadsApi = /** @class */ (function (_super) {
400
400
  /**
401
401
  *
402
402
  */
403
- LeadsApi.prototype.getLeadLeaseToOwnConfigurationPresetsRaw = function (requestParameters, initOverrides) {
403
+ LeadsApi.prototype.getLeadLeaseToOwnConfigurationPresetsRaw = function (initOverrides) {
404
404
  return __awaiter(this, void 0, void 0, function () {
405
405
  var queryParameters, headerParameters, token, tokenString, response;
406
406
  return __generator(this, function (_a) {
407
407
  switch (_a.label) {
408
408
  case 0:
409
409
  queryParameters = {};
410
- if (requestParameters['date'] != null) {
411
- queryParameters['date'] = requestParameters['date'];
412
- }
413
410
  headerParameters = {};
414
411
  if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
415
412
  token = this.configuration.accessToken;
@@ -436,13 +433,12 @@ var LeadsApi = /** @class */ (function (_super) {
436
433
  /**
437
434
  *
438
435
  */
439
- LeadsApi.prototype.getLeadLeaseToOwnConfigurationPresets = function () {
440
- return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
436
+ LeadsApi.prototype.getLeadLeaseToOwnConfigurationPresets = function (initOverrides) {
437
+ return __awaiter(this, void 0, void 0, function () {
441
438
  var response;
442
- if (requestParameters === void 0) { requestParameters = {}; }
443
439
  return __generator(this, function (_a) {
444
440
  switch (_a.label) {
445
- case 0: return [4 /*yield*/, this.getLeadLeaseToOwnConfigurationPresetsRaw(requestParameters, initOverrides)];
441
+ case 0: return [4 /*yield*/, this.getLeadLeaseToOwnConfigurationPresetsRaw(initOverrides)];
446
442
  case 1:
447
443
  response = _a.sent();
448
444
  return [4 /*yield*/, response.value()];
@@ -1,6 +1,7 @@
1
1
  export * from './AccountsApi';
2
2
  export * from './AccountsPublicApi';
3
3
  export * from './AdminApi';
4
+ export * from './AuctionsPublicApi';
4
5
  export * from './BankAccountsApi';
5
6
  export * from './BuyersApi';
6
7
  export * from './BuyersPublicApi';
@@ -19,6 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  __exportStar(require("./AccountsApi"), exports);
20
20
  __exportStar(require("./AccountsPublicApi"), exports);
21
21
  __exportStar(require("./AdminApi"), exports);
22
+ __exportStar(require("./AuctionsPublicApi"), exports);
22
23
  __exportStar(require("./BankAccountsApi"), exports);
23
24
  __exportStar(require("./BuyersApi"), exports);
24
25
  __exportStar(require("./BuyersPublicApi"), exports);
@@ -0,0 +1,51 @@
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 type { MoneyDto } from './MoneyDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AuctionBidDto
17
+ */
18
+ export interface AuctionBidDto {
19
+ /**
20
+ * Auction Bid Id
21
+ * @type {string}
22
+ * @memberof AuctionBidDto
23
+ */
24
+ id: string;
25
+ /**
26
+ * Auction Bid amount
27
+ * @type {MoneyDto}
28
+ * @memberof AuctionBidDto
29
+ */
30
+ amount: MoneyDto;
31
+ /**
32
+ * Auction Bidder's nickname
33
+ * @type {string}
34
+ * @memberof AuctionBidDto
35
+ */
36
+ nickname: string;
37
+ /**
38
+ * Auction Bid createdAt
39
+ * @type {Date}
40
+ * @memberof AuctionBidDto
41
+ */
42
+ createdAt: Date;
43
+ }
44
+ /**
45
+ * Check if a given object implements the AuctionBidDto interface.
46
+ */
47
+ export declare function instanceOfAuctionBidDto(value: object): value is AuctionBidDto;
48
+ export declare function AuctionBidDtoFromJSON(json: any): AuctionBidDto;
49
+ export declare function AuctionBidDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionBidDto;
50
+ export declare function AuctionBidDtoToJSON(json: any): AuctionBidDto;
51
+ export declare function AuctionBidDtoToJSONTyped(value?: AuctionBidDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAuctionBidDto = instanceOfAuctionBidDto;
17
+ exports.AuctionBidDtoFromJSON = AuctionBidDtoFromJSON;
18
+ exports.AuctionBidDtoFromJSONTyped = AuctionBidDtoFromJSONTyped;
19
+ exports.AuctionBidDtoToJSON = AuctionBidDtoToJSON;
20
+ exports.AuctionBidDtoToJSONTyped = AuctionBidDtoToJSONTyped;
21
+ var MoneyDto_1 = require("./MoneyDto");
22
+ /**
23
+ * Check if a given object implements the AuctionBidDto interface.
24
+ */
25
+ function instanceOfAuctionBidDto(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('amount' in value) || value['amount'] === undefined)
29
+ return false;
30
+ if (!('nickname' in value) || value['nickname'] === undefined)
31
+ return false;
32
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function AuctionBidDtoFromJSON(json) {
37
+ return AuctionBidDtoFromJSONTyped(json, false);
38
+ }
39
+ function AuctionBidDtoFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'id': json['id'],
45
+ 'amount': (0, MoneyDto_1.MoneyDtoFromJSON)(json['amount']),
46
+ 'nickname': json['nickname'],
47
+ 'createdAt': (new Date(json['createdAt'])),
48
+ };
49
+ }
50
+ function AuctionBidDtoToJSON(json) {
51
+ return AuctionBidDtoToJSONTyped(json, false);
52
+ }
53
+ function AuctionBidDtoToJSONTyped(value, ignoreDiscriminator) {
54
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'id': value['id'],
60
+ 'amount': (0, MoneyDto_1.MoneyDtoToJSON)(value['amount']),
61
+ 'nickname': value['nickname'],
62
+ 'createdAt': ((value['createdAt']).toISOString()),
63
+ };
64
+ }
@@ -0,0 +1,32 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface AuctionBidInput
16
+ */
17
+ export interface AuctionBidInput {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof AuctionBidInput
22
+ */
23
+ amount: number;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AuctionBidInput interface.
27
+ */
28
+ export declare function instanceOfAuctionBidInput(value: object): value is AuctionBidInput;
29
+ export declare function AuctionBidInputFromJSON(json: any): AuctionBidInput;
30
+ export declare function AuctionBidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionBidInput;
31
+ export declare function AuctionBidInputToJSON(json: any): AuctionBidInput;
32
+ export declare function AuctionBidInputToJSONTyped(value?: AuctionBidInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAuctionBidInput = instanceOfAuctionBidInput;
17
+ exports.AuctionBidInputFromJSON = AuctionBidInputFromJSON;
18
+ exports.AuctionBidInputFromJSONTyped = AuctionBidInputFromJSONTyped;
19
+ exports.AuctionBidInputToJSON = AuctionBidInputToJSON;
20
+ exports.AuctionBidInputToJSONTyped = AuctionBidInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AuctionBidInput interface.
23
+ */
24
+ function instanceOfAuctionBidInput(value) {
25
+ if (!('amount' in value) || value['amount'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function AuctionBidInputFromJSON(json) {
30
+ return AuctionBidInputFromJSONTyped(json, false);
31
+ }
32
+ function AuctionBidInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'amount': json['amount'],
38
+ };
39
+ }
40
+ function AuctionBidInputToJSON(json) {
41
+ return AuctionBidInputToJSONTyped(json, false);
42
+ }
43
+ function AuctionBidInputToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'amount': value['amount'],
50
+ };
51
+ }
@@ -0,0 +1,74 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface AuctionBuyerDto
16
+ */
17
+ export interface AuctionBuyerDto {
18
+ /**
19
+ * Auction Buyer Id
20
+ * @type {string}
21
+ * @memberof AuctionBuyerDto
22
+ */
23
+ id: string;
24
+ /**
25
+ * Buyer Id
26
+ * @type {string}
27
+ * @memberof AuctionBuyerDto
28
+ */
29
+ buyerId: string;
30
+ /**
31
+ * Auction buyer firstname
32
+ * @type {string}
33
+ * @memberof AuctionBuyerDto
34
+ */
35
+ firstname: string;
36
+ /**
37
+ * Auction buyer lastname
38
+ * @type {string}
39
+ * @memberof AuctionBuyerDto
40
+ */
41
+ lastname: string;
42
+ /**
43
+ * Auction buyer phone number
44
+ * @type {string}
45
+ * @memberof AuctionBuyerDto
46
+ */
47
+ phone: string | null;
48
+ /**
49
+ * Auction buyer phone verified at
50
+ * @type {Date}
51
+ * @memberof AuctionBuyerDto
52
+ */
53
+ phoneVerifiedAt: Date | null;
54
+ /**
55
+ * Auction buyer KYC completed at
56
+ * @type {Date}
57
+ * @memberof AuctionBuyerDto
58
+ */
59
+ kycCompletedAt: Date | null;
60
+ /**
61
+ * Auction buyer creation date
62
+ * @type {Date}
63
+ * @memberof AuctionBuyerDto
64
+ */
65
+ createdAt: Date;
66
+ }
67
+ /**
68
+ * Check if a given object implements the AuctionBuyerDto interface.
69
+ */
70
+ export declare function instanceOfAuctionBuyerDto(value: object): value is AuctionBuyerDto;
71
+ export declare function AuctionBuyerDtoFromJSON(json: any): AuctionBuyerDto;
72
+ export declare function AuctionBuyerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionBuyerDto;
73
+ export declare function AuctionBuyerDtoToJSON(json: any): AuctionBuyerDto;
74
+ export declare function AuctionBuyerDtoToJSONTyped(value?: AuctionBuyerDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,79 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAuctionBuyerDto = instanceOfAuctionBuyerDto;
17
+ exports.AuctionBuyerDtoFromJSON = AuctionBuyerDtoFromJSON;
18
+ exports.AuctionBuyerDtoFromJSONTyped = AuctionBuyerDtoFromJSONTyped;
19
+ exports.AuctionBuyerDtoToJSON = AuctionBuyerDtoToJSON;
20
+ exports.AuctionBuyerDtoToJSONTyped = AuctionBuyerDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AuctionBuyerDto interface.
23
+ */
24
+ function instanceOfAuctionBuyerDto(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('buyerId' in value) || value['buyerId'] === undefined)
28
+ return false;
29
+ if (!('firstname' in value) || value['firstname'] === undefined)
30
+ return false;
31
+ if (!('lastname' in value) || value['lastname'] === undefined)
32
+ return false;
33
+ if (!('phone' in value) || value['phone'] === undefined)
34
+ return false;
35
+ if (!('phoneVerifiedAt' in value) || value['phoneVerifiedAt'] === undefined)
36
+ return false;
37
+ if (!('kycCompletedAt' in value) || value['kycCompletedAt'] === undefined)
38
+ return false;
39
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function AuctionBuyerDtoFromJSON(json) {
44
+ return AuctionBuyerDtoFromJSONTyped(json, false);
45
+ }
46
+ function AuctionBuyerDtoFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'id': json['id'],
52
+ 'buyerId': json['buyerId'],
53
+ 'firstname': json['firstname'],
54
+ 'lastname': json['lastname'],
55
+ 'phone': json['phone'],
56
+ 'phoneVerifiedAt': (json['phoneVerifiedAt'] == null ? null : new Date(json['phoneVerifiedAt'])),
57
+ 'kycCompletedAt': (json['kycCompletedAt'] == null ? null : new Date(json['kycCompletedAt'])),
58
+ 'createdAt': (new Date(json['createdAt'])),
59
+ };
60
+ }
61
+ function AuctionBuyerDtoToJSON(json) {
62
+ return AuctionBuyerDtoToJSONTyped(json, false);
63
+ }
64
+ function AuctionBuyerDtoToJSONTyped(value, ignoreDiscriminator) {
65
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
66
+ if (value == null) {
67
+ return value;
68
+ }
69
+ return {
70
+ 'id': value['id'],
71
+ 'buyerId': value['buyerId'],
72
+ 'firstname': value['firstname'],
73
+ 'lastname': value['lastname'],
74
+ 'phone': value['phone'],
75
+ 'phoneVerifiedAt': (value['phoneVerifiedAt'] == null ? null : value['phoneVerifiedAt'].toISOString()),
76
+ 'kycCompletedAt': (value['kycCompletedAt'] == null ? null : value['kycCompletedAt'].toISOString()),
77
+ 'createdAt': ((value['createdAt']).toISOString()),
78
+ };
79
+ }