@randock/nameshift-api-client 0.0.330 → 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.
- package/.openapi-generator/FILES +24 -0
- package/README.md +3 -3
- package/dist/apis/AuctionsPublicApi.d.ts +29 -0
- package/dist/apis/AuctionsPublicApi.js +124 -0
- package/dist/apis/BuyersApi.d.ts +54 -1
- package/dist/apis/BuyersApi.js +267 -0
- package/dist/apis/BuyersPublicApi.d.ts +23 -1
- package/dist/apis/BuyersPublicApi.js +90 -0
- package/dist/apis/DomainsApi.d.ts +44 -1
- package/dist/apis/DomainsApi.js +216 -0
- package/dist/apis/LeadsApi.d.ts +2 -5
- package/dist/apis/LeadsApi.js +4 -8
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AuctionBidDto.d.ts +51 -0
- package/dist/models/AuctionBidDto.js +64 -0
- package/dist/models/AuctionBidInput.d.ts +32 -0
- package/dist/models/AuctionBidInput.js +51 -0
- package/dist/models/AuctionBuyerDto.d.ts +74 -0
- package/dist/models/AuctionBuyerDto.js +79 -0
- package/dist/models/AuctionBuyerWithTokenDto.d.ts +39 -0
- package/dist/models/AuctionBuyerWithTokenDto.js +56 -0
- package/dist/models/AuctionDto.d.ts +82 -0
- package/dist/models/AuctionDto.js +85 -0
- package/dist/models/BulkUpdateDomainsWithFiltersInput.d.ts +59 -0
- package/dist/models/BulkUpdateDomainsWithFiltersInput.js +62 -0
- package/dist/models/BuyerLeadListItemDto.d.ts +23 -0
- package/dist/models/BuyerLeadListItemDto.js +19 -1
- package/dist/models/DomainAuctionDto.d.ts +63 -0
- package/dist/models/DomainAuctionDto.js +72 -0
- package/dist/models/DomainFiltersDto.d.ts +38 -0
- package/dist/models/DomainFiltersDto.js +55 -0
- package/dist/models/DomainSalesInformationDto.d.ts +12 -0
- package/dist/models/DomainSalesInformationDto.js +8 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +5 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +36 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +28 -1
- package/dist/models/LeadDto.d.ts +43 -0
- package/dist/models/LeadDto.js +33 -1
- package/dist/models/LeadLeaseToOwnConfigurationDto.d.ts +50 -0
- package/dist/models/LeadLeaseToOwnConfigurationDto.js +63 -0
- package/dist/models/LeadMessageData.d.ts +7 -0
- package/dist/models/LeadMessageData.js +5 -0
- package/dist/models/LeadMessageDataLeaseToOwn.d.ts +38 -0
- package/dist/models/LeadMessageDataLeaseToOwn.js +55 -0
- package/dist/models/LeadMessageDto.d.ts +16 -0
- package/dist/models/LeadMessageDto.js +14 -1
- package/dist/models/LeadOfferDto.d.ts +72 -0
- package/dist/models/LeadOfferDto.js +84 -0
- package/dist/models/LeadRentConfigurationDto.d.ts +38 -0
- package/dist/models/LeadRentConfigurationDto.js +55 -0
- package/dist/models/ListLeadsResultItem.d.ts +43 -0
- package/dist/models/ListLeadsResultItem.js +33 -1
- package/dist/models/ManualLeadLeaseToOwnDto.d.ts +12 -0
- package/dist/models/ManualLeadLeaseToOwnDto.js +8 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/PutBuyerLeadOfferInput.d.ts +22 -0
- package/dist/models/PutBuyerLeadOfferInput.js +14 -0
- package/dist/models/PutLeadOfferInput.d.ts +23 -1
- package/dist/models/PutLeadOfferInput.js +15 -3
- package/dist/models/RegisterAuctionBuyerPhoneInput.d.ts +47 -0
- package/dist/models/RegisterAuctionBuyerPhoneInput.js +64 -0
- package/dist/models/RegisterInput.d.ts +38 -0
- package/dist/models/RegisterInput.js +55 -0
- package/dist/models/RequestEmailOtpInput.d.ts +38 -0
- package/dist/models/RequestEmailOtpInput.js +55 -0
- package/dist/models/SellerLeadDetails.d.ts +43 -0
- package/dist/models/SellerLeadDetails.js +33 -1
- package/dist/models/StartAuctionInput.d.ts +51 -0
- package/dist/models/StartAuctionInput.js +62 -0
- package/dist/models/TaskListLeadDto.d.ts +43 -0
- package/dist/models/TaskListLeadDto.js +33 -1
- package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.d.ts +50 -0
- package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.js +63 -0
- package/dist/models/TaskListLeadOfferDto.d.ts +72 -0
- package/dist/models/TaskListLeadOfferDto.js +84 -0
- package/dist/models/TaskListLeadRentConfigurationDto.d.ts +38 -0
- package/dist/models/TaskListLeadRentConfigurationDto.js +55 -0
- package/dist/models/UpdateLeaseToOwnConfigurationDto.d.ts +44 -0
- package/dist/models/UpdateLeaseToOwnConfigurationDto.js +53 -0
- package/dist/models/UpdateRentConfigurationDto.d.ts +39 -0
- package/dist/models/UpdateRentConfigurationDto.js +52 -0
- package/dist/models/VerifyEmailOtpInput.d.ts +38 -0
- package/dist/models/VerifyEmailOtpInput.js +55 -0
- package/dist/models/VerifyPhoneOtpInput.d.ts +32 -0
- package/dist/models/VerifyPhoneOtpInput.js +51 -0
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +23 -0
- package/package.json +1 -1
- package/src/apis/AuctionsPublicApi.ts +67 -0
- package/src/apis/BuyersApi.ts +249 -0
- package/src/apis/BuyersPublicApi.ts +88 -0
- package/src/apis/DomainsApi.ts +192 -0
- package/src/apis/LeadsApi.ts +3 -11
- package/src/apis/index.ts +1 -0
- package/src/models/AuctionBidDto.ts +101 -0
- package/src/models/AuctionBidInput.ts +66 -0
- package/src/models/AuctionBuyerDto.ts +129 -0
- package/src/models/AuctionBuyerWithTokenDto.ts +83 -0
- package/src/models/AuctionDto.ts +153 -0
- package/src/models/BulkUpdateDomainsWithFiltersInput.ts +120 -0
- package/src/models/BuyerLeadListItemDto.ts +36 -0
- package/src/models/DomainAuctionDto.ts +119 -0
- package/src/models/DomainFiltersDto.ts +75 -0
- package/src/models/DomainSalesInformationDto.ts +18 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +16 -0
- package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +61 -0
- package/src/models/LeadDto.ts +77 -0
- package/src/models/LeadLeaseToOwnConfigurationDto.ts +93 -0
- package/src/models/LeadMessageData.ts +16 -0
- package/src/models/LeadMessageDataLeaseToOwn.ts +75 -0
- package/src/models/LeadMessageDto.ts +20 -0
- package/src/models/LeadOfferDto.ts +132 -0
- package/src/models/LeadRentConfigurationDto.ts +75 -0
- package/src/models/ListLeadsResultItem.ts +77 -0
- package/src/models/ManualLeadLeaseToOwnDto.ts +18 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/PutBuyerLeadOfferInput.ts +29 -0
- package/src/models/PutLeadOfferInput.ts +31 -3
- package/src/models/RegisterAuctionBuyerPhoneInput.ts +87 -0
- package/src/models/RegisterInput.ts +75 -0
- package/src/models/RequestEmailOtpInput.ts +75 -0
- package/src/models/SellerLeadDetails.ts +77 -0
- package/src/models/StartAuctionInput.ts +100 -0
- package/src/models/TaskListLeadDto.ts +77 -0
- package/src/models/TaskListLeadLeaseToOwnConfigurationDto.ts +93 -0
- package/src/models/TaskListLeadOfferDto.ts +132 -0
- package/src/models/TaskListLeadRentConfigurationDto.ts +75 -0
- package/src/models/UpdateLeaseToOwnConfigurationDto.ts +81 -0
- package/src/models/UpdateRentConfigurationDto.ts +81 -0
- package/src/models/VerifyEmailOtpInput.ts +75 -0
- package/src/models/VerifyPhoneOtpInput.ts +66 -0
- package/src/models/index.ts +23 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -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
|
|
@@ -81,6 +87,7 @@ src/models/BatchVerifyBuyerLeadsInput.ts
|
|
|
81
87
|
src/models/BillingInformationDto.ts
|
|
82
88
|
src/models/BulkMarkBuyerNotificationsAsReadInputDto.ts
|
|
83
89
|
src/models/BulkMarkNotificationsAsReadInputDto.ts
|
|
90
|
+
src/models/BulkUpdateDomainsWithFiltersInput.ts
|
|
84
91
|
src/models/BuyerDomainTransferAuthCodeDto.ts
|
|
85
92
|
src/models/BuyerDomainTransferListItemDomainDto.ts
|
|
86
93
|
src/models/BuyerDomainTransferListItemDto.ts
|
|
@@ -118,7 +125,9 @@ src/models/CreateSubscriptionInput.ts
|
|
|
118
125
|
src/models/CursorBasedPageInfo.ts
|
|
119
126
|
src/models/CursorBasedPaginationResponse.ts
|
|
120
127
|
src/models/DeleteDomainsInput.ts
|
|
128
|
+
src/models/DomainAuctionDto.ts
|
|
121
129
|
src/models/DomainExchangeRateDto.ts
|
|
130
|
+
src/models/DomainFiltersDto.ts
|
|
122
131
|
src/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.ts
|
|
123
132
|
src/models/DomainLeadPriceNegotiatorAiAgentConfigurationInput.ts
|
|
124
133
|
src/models/DomainPricesChangeDto.ts
|
|
@@ -187,10 +196,14 @@ src/models/LeadBuyerConfigDto.ts
|
|
|
187
196
|
src/models/LeadDomainDto.ts
|
|
188
197
|
src/models/LeadDto.ts
|
|
189
198
|
src/models/LeadLeaseToOwnAndRentConfigurationPresetsDto.ts
|
|
199
|
+
src/models/LeadLeaseToOwnConfigurationDto.ts
|
|
190
200
|
src/models/LeadMessageData.ts
|
|
201
|
+
src/models/LeadMessageDataLeaseToOwn.ts
|
|
191
202
|
src/models/LeadMessageDto.ts
|
|
203
|
+
src/models/LeadOfferDto.ts
|
|
192
204
|
src/models/LeadPriceNegotiatorAiAgentConfigurationDto.ts
|
|
193
205
|
src/models/LeadPriceNegotiatorAiAgentConfigurationInput.ts
|
|
206
|
+
src/models/LeadRentConfigurationDto.ts
|
|
194
207
|
src/models/LeadStatusDto.ts
|
|
195
208
|
src/models/LeaseToOwnConfigurationDto.ts
|
|
196
209
|
src/models/LeaseToOwnConfigurationInput.ts
|
|
@@ -250,6 +263,8 @@ src/models/PublicSalesDto.ts
|
|
|
250
263
|
src/models/PutBuyerLeadOfferInput.ts
|
|
251
264
|
src/models/PutLeadOfferInput.ts
|
|
252
265
|
src/models/RegisterAccountInput.ts
|
|
266
|
+
src/models/RegisterAuctionBuyerPhoneInput.ts
|
|
267
|
+
src/models/RegisterInput.ts
|
|
253
268
|
src/models/RelatedDomainsDto.ts
|
|
254
269
|
src/models/RelatedSellerDomain.ts
|
|
255
270
|
src/models/RentConfigurationDto.ts
|
|
@@ -257,6 +272,7 @@ src/models/RentConfigurationInput.ts
|
|
|
257
272
|
src/models/RentConfigurationPresetsDto.ts
|
|
258
273
|
src/models/RentDto.ts
|
|
259
274
|
src/models/RequestAccessTokenInput.ts
|
|
275
|
+
src/models/RequestEmailOtpInput.ts
|
|
260
276
|
src/models/SellerAccountReferralListItemDto.ts
|
|
261
277
|
src/models/SellerAffiliateCommissionDto.ts
|
|
262
278
|
src/models/SellerDomainAffiliateCommissionDto.ts
|
|
@@ -289,6 +305,7 @@ src/models/SetDomainTransferConfirmationInput.ts
|
|
|
289
305
|
src/models/SetNewPasswordInput.ts
|
|
290
306
|
src/models/SetPayoutProviderInput.ts
|
|
291
307
|
src/models/SortDto.ts
|
|
308
|
+
src/models/StartAuctionInput.ts
|
|
292
309
|
src/models/StatsFilterInputDateRange.ts
|
|
293
310
|
src/models/StoreBuyerLocaleInput.ts
|
|
294
311
|
src/models/StoreUserLocaleInput.ts
|
|
@@ -312,6 +329,9 @@ src/models/TaskDetailsDto.ts
|
|
|
312
329
|
src/models/TaskListDomainDto.ts
|
|
313
330
|
src/models/TaskListDomainTransferDto.ts
|
|
314
331
|
src/models/TaskListLeadDto.ts
|
|
332
|
+
src/models/TaskListLeadLeaseToOwnConfigurationDto.ts
|
|
333
|
+
src/models/TaskListLeadOfferDto.ts
|
|
334
|
+
src/models/TaskListLeadRentConfigurationDto.ts
|
|
315
335
|
src/models/TimeTableConfigurationDto.ts
|
|
316
336
|
src/models/TimeTableConfigurationInput.ts
|
|
317
337
|
src/models/UkBankAccountDetails.ts
|
|
@@ -324,7 +344,9 @@ src/models/UpdateDomainTransferIpsTagInput.ts
|
|
|
324
344
|
src/models/UpdateLeadInput.ts
|
|
325
345
|
src/models/UpdateLeadMuteStatusForBuyerInput.ts
|
|
326
346
|
src/models/UpdateLeadMuteStatusInput.ts
|
|
347
|
+
src/models/UpdateLeaseToOwnConfigurationDto.ts
|
|
327
348
|
src/models/UpdateOrderInput.ts
|
|
349
|
+
src/models/UpdateRentConfigurationDto.ts
|
|
328
350
|
src/models/UpdateSubscriptionBillingPeriodicityInput.ts
|
|
329
351
|
src/models/UpdateSubscriptionInput.ts
|
|
330
352
|
src/models/UpdateTaskMuteStatusForBuyerInput.ts
|
|
@@ -340,7 +362,9 @@ src/models/ValidateTaxNumberDto.ts
|
|
|
340
362
|
src/models/ValidateTaxNumberInput.ts
|
|
341
363
|
src/models/ValidationError.ts
|
|
342
364
|
src/models/ValidationException.ts
|
|
365
|
+
src/models/VerifyEmailOtpInput.ts
|
|
343
366
|
src/models/VerifyLeadInput.ts
|
|
367
|
+
src/models/VerifyPhoneOtpInput.ts
|
|
344
368
|
src/models/WithSettingsInner.ts
|
|
345
369
|
src/models/index.ts
|
|
346
370
|
src/runtime.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.332
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.332 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
3fa019f0dd28bf1aec76a3727e4b1b4db1dec5b426b6ba8264a39c76be3ca64497c2adcb6a1bf5858117eb40da0d5c43
|
|
@@ -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;
|
package/dist/apis/BuyersApi.d.ts
CHANGED
|
@@ -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
|
}
|