@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.
- package/.openapi-generator/FILES +20 -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 +13 -1
- package/dist/apis/DomainsApi.js +56 -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/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/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/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 +19 -0
- package/dist/models/index.js +19 -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 +58 -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/BuyerLeadListItemDto.ts +36 -0
- package/src/models/DomainAuctionDto.ts +119 -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/VerifyEmailOtpInput.ts +75 -0
- package/src/models/VerifyPhoneOtpInput.ts +66 -0
- package/src/models/index.ts +19 -0
|
@@ -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.instanceOfVerifyPhoneOtpInput = instanceOfVerifyPhoneOtpInput;
|
|
17
|
+
exports.VerifyPhoneOtpInputFromJSON = VerifyPhoneOtpInputFromJSON;
|
|
18
|
+
exports.VerifyPhoneOtpInputFromJSONTyped = VerifyPhoneOtpInputFromJSONTyped;
|
|
19
|
+
exports.VerifyPhoneOtpInputToJSON = VerifyPhoneOtpInputToJSON;
|
|
20
|
+
exports.VerifyPhoneOtpInputToJSONTyped = VerifyPhoneOtpInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VerifyPhoneOtpInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVerifyPhoneOtpInput(value) {
|
|
25
|
+
if (!('otp' in value) || value['otp'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function VerifyPhoneOtpInputFromJSON(json) {
|
|
30
|
+
return VerifyPhoneOtpInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function VerifyPhoneOtpInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'otp': json['otp'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function VerifyPhoneOtpInputToJSON(json) {
|
|
41
|
+
return VerifyPhoneOtpInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function VerifyPhoneOtpInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'otp': value['otp'],
|
|
50
|
+
};
|
|
51
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -39,6 +39,11 @@ export * from './AirwallexBankAccountDetailsDtoLocalMethodCode';
|
|
|
39
39
|
export * from './AirwallexDepositDto';
|
|
40
40
|
export * from './AirwallexDepositDtoFee';
|
|
41
41
|
export * from './AuBankAccountDetails';
|
|
42
|
+
export * from './AuctionBidDto';
|
|
43
|
+
export * from './AuctionBidInput';
|
|
44
|
+
export * from './AuctionBuyerDto';
|
|
45
|
+
export * from './AuctionBuyerWithTokenDto';
|
|
46
|
+
export * from './AuctionDto';
|
|
42
47
|
export * from './BadRequestException';
|
|
43
48
|
export * from './BatchDeleteBuyerLeadsInput';
|
|
44
49
|
export * from './BatchImportPreviewDto';
|
|
@@ -87,6 +92,7 @@ export * from './CreateSubscriptionInput';
|
|
|
87
92
|
export * from './CursorBasedPageInfo';
|
|
88
93
|
export * from './CursorBasedPaginationResponse';
|
|
89
94
|
export * from './DeleteDomainsInput';
|
|
95
|
+
export * from './DomainAuctionDto';
|
|
90
96
|
export * from './DomainExchangeRateDto';
|
|
91
97
|
export * from './DomainFiltersDto';
|
|
92
98
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
@@ -157,10 +163,14 @@ export * from './LeadBuyerConfigDto';
|
|
|
157
163
|
export * from './LeadDomainDto';
|
|
158
164
|
export * from './LeadDto';
|
|
159
165
|
export * from './LeadLeaseToOwnAndRentConfigurationPresetsDto';
|
|
166
|
+
export * from './LeadLeaseToOwnConfigurationDto';
|
|
160
167
|
export * from './LeadMessageData';
|
|
168
|
+
export * from './LeadMessageDataLeaseToOwn';
|
|
161
169
|
export * from './LeadMessageDto';
|
|
170
|
+
export * from './LeadOfferDto';
|
|
162
171
|
export * from './LeadPriceNegotiatorAiAgentConfigurationDto';
|
|
163
172
|
export * from './LeadPriceNegotiatorAiAgentConfigurationInput';
|
|
173
|
+
export * from './LeadRentConfigurationDto';
|
|
164
174
|
export * from './LeadStatusDto';
|
|
165
175
|
export * from './LeaseToOwnConfigurationDto';
|
|
166
176
|
export * from './LeaseToOwnConfigurationInput';
|
|
@@ -220,6 +230,8 @@ export * from './PublicSalesDto';
|
|
|
220
230
|
export * from './PutBuyerLeadOfferInput';
|
|
221
231
|
export * from './PutLeadOfferInput';
|
|
222
232
|
export * from './RegisterAccountInput';
|
|
233
|
+
export * from './RegisterAuctionBuyerPhoneInput';
|
|
234
|
+
export * from './RegisterInput';
|
|
223
235
|
export * from './RelatedDomainsDto';
|
|
224
236
|
export * from './RelatedSellerDomain';
|
|
225
237
|
export * from './RentConfigurationDto';
|
|
@@ -227,6 +239,7 @@ export * from './RentConfigurationInput';
|
|
|
227
239
|
export * from './RentConfigurationPresetsDto';
|
|
228
240
|
export * from './RentDto';
|
|
229
241
|
export * from './RequestAccessTokenInput';
|
|
242
|
+
export * from './RequestEmailOtpInput';
|
|
230
243
|
export * from './SellerAccountReferralListItemDto';
|
|
231
244
|
export * from './SellerAffiliateCommissionDto';
|
|
232
245
|
export * from './SellerDomainAffiliateCommissionDto';
|
|
@@ -259,6 +272,7 @@ export * from './SetDomainTransferConfirmationInput';
|
|
|
259
272
|
export * from './SetNewPasswordInput';
|
|
260
273
|
export * from './SetPayoutProviderInput';
|
|
261
274
|
export * from './SortDto';
|
|
275
|
+
export * from './StartAuctionInput';
|
|
262
276
|
export * from './StatsFilterInputDateRange';
|
|
263
277
|
export * from './StoreBuyerLocaleInput';
|
|
264
278
|
export * from './StoreUserLocaleInput';
|
|
@@ -282,6 +296,9 @@ export * from './TaskDetailsDto';
|
|
|
282
296
|
export * from './TaskListDomainDto';
|
|
283
297
|
export * from './TaskListDomainTransferDto';
|
|
284
298
|
export * from './TaskListLeadDto';
|
|
299
|
+
export * from './TaskListLeadLeaseToOwnConfigurationDto';
|
|
300
|
+
export * from './TaskListLeadOfferDto';
|
|
301
|
+
export * from './TaskListLeadRentConfigurationDto';
|
|
285
302
|
export * from './TimeTableConfigurationDto';
|
|
286
303
|
export * from './TimeTableConfigurationInput';
|
|
287
304
|
export * from './UkBankAccountDetails';
|
|
@@ -312,5 +329,7 @@ export * from './ValidateTaxNumberDto';
|
|
|
312
329
|
export * from './ValidateTaxNumberInput';
|
|
313
330
|
export * from './ValidationError';
|
|
314
331
|
export * from './ValidationException';
|
|
332
|
+
export * from './VerifyEmailOtpInput';
|
|
315
333
|
export * from './VerifyLeadInput';
|
|
334
|
+
export * from './VerifyPhoneOtpInput';
|
|
316
335
|
export * from './WithSettingsInner';
|
package/dist/models/index.js
CHANGED
|
@@ -57,6 +57,11 @@ __exportStar(require("./AirwallexBankAccountDetailsDtoLocalMethodCode"), exports
|
|
|
57
57
|
__exportStar(require("./AirwallexDepositDto"), exports);
|
|
58
58
|
__exportStar(require("./AirwallexDepositDtoFee"), exports);
|
|
59
59
|
__exportStar(require("./AuBankAccountDetails"), exports);
|
|
60
|
+
__exportStar(require("./AuctionBidDto"), exports);
|
|
61
|
+
__exportStar(require("./AuctionBidInput"), exports);
|
|
62
|
+
__exportStar(require("./AuctionBuyerDto"), exports);
|
|
63
|
+
__exportStar(require("./AuctionBuyerWithTokenDto"), exports);
|
|
64
|
+
__exportStar(require("./AuctionDto"), exports);
|
|
60
65
|
__exportStar(require("./BadRequestException"), exports);
|
|
61
66
|
__exportStar(require("./BatchDeleteBuyerLeadsInput"), exports);
|
|
62
67
|
__exportStar(require("./BatchImportPreviewDto"), exports);
|
|
@@ -105,6 +110,7 @@ __exportStar(require("./CreateSubscriptionInput"), exports);
|
|
|
105
110
|
__exportStar(require("./CursorBasedPageInfo"), exports);
|
|
106
111
|
__exportStar(require("./CursorBasedPaginationResponse"), exports);
|
|
107
112
|
__exportStar(require("./DeleteDomainsInput"), exports);
|
|
113
|
+
__exportStar(require("./DomainAuctionDto"), exports);
|
|
108
114
|
__exportStar(require("./DomainExchangeRateDto"), exports);
|
|
109
115
|
__exportStar(require("./DomainFiltersDto"), exports);
|
|
110
116
|
__exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto"), exports);
|
|
@@ -175,10 +181,14 @@ __exportStar(require("./LeadBuyerConfigDto"), exports);
|
|
|
175
181
|
__exportStar(require("./LeadDomainDto"), exports);
|
|
176
182
|
__exportStar(require("./LeadDto"), exports);
|
|
177
183
|
__exportStar(require("./LeadLeaseToOwnAndRentConfigurationPresetsDto"), exports);
|
|
184
|
+
__exportStar(require("./LeadLeaseToOwnConfigurationDto"), exports);
|
|
178
185
|
__exportStar(require("./LeadMessageData"), exports);
|
|
186
|
+
__exportStar(require("./LeadMessageDataLeaseToOwn"), exports);
|
|
179
187
|
__exportStar(require("./LeadMessageDto"), exports);
|
|
188
|
+
__exportStar(require("./LeadOfferDto"), exports);
|
|
180
189
|
__exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationDto"), exports);
|
|
181
190
|
__exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationInput"), exports);
|
|
191
|
+
__exportStar(require("./LeadRentConfigurationDto"), exports);
|
|
182
192
|
__exportStar(require("./LeadStatusDto"), exports);
|
|
183
193
|
__exportStar(require("./LeaseToOwnConfigurationDto"), exports);
|
|
184
194
|
__exportStar(require("./LeaseToOwnConfigurationInput"), exports);
|
|
@@ -238,6 +248,8 @@ __exportStar(require("./PublicSalesDto"), exports);
|
|
|
238
248
|
__exportStar(require("./PutBuyerLeadOfferInput"), exports);
|
|
239
249
|
__exportStar(require("./PutLeadOfferInput"), exports);
|
|
240
250
|
__exportStar(require("./RegisterAccountInput"), exports);
|
|
251
|
+
__exportStar(require("./RegisterAuctionBuyerPhoneInput"), exports);
|
|
252
|
+
__exportStar(require("./RegisterInput"), exports);
|
|
241
253
|
__exportStar(require("./RelatedDomainsDto"), exports);
|
|
242
254
|
__exportStar(require("./RelatedSellerDomain"), exports);
|
|
243
255
|
__exportStar(require("./RentConfigurationDto"), exports);
|
|
@@ -245,6 +257,7 @@ __exportStar(require("./RentConfigurationInput"), exports);
|
|
|
245
257
|
__exportStar(require("./RentConfigurationPresetsDto"), exports);
|
|
246
258
|
__exportStar(require("./RentDto"), exports);
|
|
247
259
|
__exportStar(require("./RequestAccessTokenInput"), exports);
|
|
260
|
+
__exportStar(require("./RequestEmailOtpInput"), exports);
|
|
248
261
|
__exportStar(require("./SellerAccountReferralListItemDto"), exports);
|
|
249
262
|
__exportStar(require("./SellerAffiliateCommissionDto"), exports);
|
|
250
263
|
__exportStar(require("./SellerDomainAffiliateCommissionDto"), exports);
|
|
@@ -277,6 +290,7 @@ __exportStar(require("./SetDomainTransferConfirmationInput"), exports);
|
|
|
277
290
|
__exportStar(require("./SetNewPasswordInput"), exports);
|
|
278
291
|
__exportStar(require("./SetPayoutProviderInput"), exports);
|
|
279
292
|
__exportStar(require("./SortDto"), exports);
|
|
293
|
+
__exportStar(require("./StartAuctionInput"), exports);
|
|
280
294
|
__exportStar(require("./StatsFilterInputDateRange"), exports);
|
|
281
295
|
__exportStar(require("./StoreBuyerLocaleInput"), exports);
|
|
282
296
|
__exportStar(require("./StoreUserLocaleInput"), exports);
|
|
@@ -300,6 +314,9 @@ __exportStar(require("./TaskDetailsDto"), exports);
|
|
|
300
314
|
__exportStar(require("./TaskListDomainDto"), exports);
|
|
301
315
|
__exportStar(require("./TaskListDomainTransferDto"), exports);
|
|
302
316
|
__exportStar(require("./TaskListLeadDto"), exports);
|
|
317
|
+
__exportStar(require("./TaskListLeadLeaseToOwnConfigurationDto"), exports);
|
|
318
|
+
__exportStar(require("./TaskListLeadOfferDto"), exports);
|
|
319
|
+
__exportStar(require("./TaskListLeadRentConfigurationDto"), exports);
|
|
303
320
|
__exportStar(require("./TimeTableConfigurationDto"), exports);
|
|
304
321
|
__exportStar(require("./TimeTableConfigurationInput"), exports);
|
|
305
322
|
__exportStar(require("./UkBankAccountDetails"), exports);
|
|
@@ -330,5 +347,7 @@ __exportStar(require("./ValidateTaxNumberDto"), exports);
|
|
|
330
347
|
__exportStar(require("./ValidateTaxNumberInput"), exports);
|
|
331
348
|
__exportStar(require("./ValidationError"), exports);
|
|
332
349
|
__exportStar(require("./ValidationException"), exports);
|
|
350
|
+
__exportStar(require("./VerifyEmailOtpInput"), exports);
|
|
333
351
|
__exportStar(require("./VerifyLeadInput"), exports);
|
|
352
|
+
__exportStar(require("./VerifyPhoneOtpInput"), exports);
|
|
334
353
|
__exportStar(require("./WithSettingsInner"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
AuctionDto,
|
|
19
|
+
} from '../models/index';
|
|
20
|
+
import {
|
|
21
|
+
AuctionDtoFromJSON,
|
|
22
|
+
AuctionDtoToJSON,
|
|
23
|
+
} from '../models/index';
|
|
24
|
+
|
|
25
|
+
export interface AuctionsPublicApiGetAuctionRequest {
|
|
26
|
+
auctionId: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export class AuctionsPublicApi extends runtime.BaseAPI {
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
async getAuctionRaw(requestParameters: AuctionsPublicApiGetAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuctionDto>> {
|
|
38
|
+
if (requestParameters['auctionId'] == null) {
|
|
39
|
+
throw new runtime.RequiredError(
|
|
40
|
+
'auctionId',
|
|
41
|
+
'Required parameter "auctionId" was null or undefined when calling getAuction().'
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
const queryParameters: any = {};
|
|
46
|
+
|
|
47
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
48
|
+
|
|
49
|
+
const response = await this.request({
|
|
50
|
+
path: `/auctions/{auctionId}`.replace(`{${"auctionId"}}`, encodeURIComponent(String(requestParameters['auctionId']))),
|
|
51
|
+
method: 'GET',
|
|
52
|
+
headers: headerParameters,
|
|
53
|
+
query: queryParameters,
|
|
54
|
+
}, initOverrides);
|
|
55
|
+
|
|
56
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AuctionDtoFromJSON(jsonValue));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
async getAuction(requestParameters: AuctionsPublicApiGetAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuctionDto> {
|
|
63
|
+
const response = await this.getAuctionRaw(requestParameters, initOverrides);
|
|
64
|
+
return await response.value();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
}
|
package/src/apis/BuyersApi.ts
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
AuctionBidInput,
|
|
19
|
+
AuctionBuyerDto,
|
|
18
20
|
BadRequestException,
|
|
19
21
|
BatchDeleteBuyerLeadsInput,
|
|
20
22
|
BatchReadBuyerLeadMessageInput,
|
|
@@ -31,11 +33,14 @@ import type {
|
|
|
31
33
|
GetBuyerSubscriptions200Response,
|
|
32
34
|
GetBuyerTransfers200Response,
|
|
33
35
|
LeadDto,
|
|
36
|
+
LeadLeaseToOwnAndRentConfigurationPresetsDto,
|
|
34
37
|
LeadMessageDto,
|
|
35
38
|
ListBuyerNotifications200Response,
|
|
36
39
|
NotFoundException,
|
|
37
40
|
ObjectId,
|
|
38
41
|
PutBuyerLeadOfferInput,
|
|
42
|
+
RegisterAuctionBuyerPhoneInput,
|
|
43
|
+
RegisterInput,
|
|
39
44
|
SetDomainTransferConfirmationInput,
|
|
40
45
|
StoreBuyerLocaleInput,
|
|
41
46
|
UpdateBuyerDomainTransferIpsTagInputDto,
|
|
@@ -43,8 +48,13 @@ import type {
|
|
|
43
48
|
UpdateLeadMuteStatusForBuyerInput,
|
|
44
49
|
UpdateTaskMuteStatusForBuyerInput,
|
|
45
50
|
ValidationException,
|
|
51
|
+
VerifyPhoneOtpInput,
|
|
46
52
|
} from '../models/index';
|
|
47
53
|
import {
|
|
54
|
+
AuctionBidInputFromJSON,
|
|
55
|
+
AuctionBidInputToJSON,
|
|
56
|
+
AuctionBuyerDtoFromJSON,
|
|
57
|
+
AuctionBuyerDtoToJSON,
|
|
48
58
|
BadRequestExceptionFromJSON,
|
|
49
59
|
BadRequestExceptionToJSON,
|
|
50
60
|
BatchDeleteBuyerLeadsInputFromJSON,
|
|
@@ -77,6 +87,8 @@ import {
|
|
|
77
87
|
GetBuyerTransfers200ResponseToJSON,
|
|
78
88
|
LeadDtoFromJSON,
|
|
79
89
|
LeadDtoToJSON,
|
|
90
|
+
LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSON,
|
|
91
|
+
LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSON,
|
|
80
92
|
LeadMessageDtoFromJSON,
|
|
81
93
|
LeadMessageDtoToJSON,
|
|
82
94
|
ListBuyerNotifications200ResponseFromJSON,
|
|
@@ -87,6 +99,10 @@ import {
|
|
|
87
99
|
ObjectIdToJSON,
|
|
88
100
|
PutBuyerLeadOfferInputFromJSON,
|
|
89
101
|
PutBuyerLeadOfferInputToJSON,
|
|
102
|
+
RegisterAuctionBuyerPhoneInputFromJSON,
|
|
103
|
+
RegisterAuctionBuyerPhoneInputToJSON,
|
|
104
|
+
RegisterInputFromJSON,
|
|
105
|
+
RegisterInputToJSON,
|
|
90
106
|
SetDomainTransferConfirmationInputFromJSON,
|
|
91
107
|
SetDomainTransferConfirmationInputToJSON,
|
|
92
108
|
StoreBuyerLocaleInputFromJSON,
|
|
@@ -101,6 +117,8 @@ import {
|
|
|
101
117
|
UpdateTaskMuteStatusForBuyerInputToJSON,
|
|
102
118
|
ValidationExceptionFromJSON,
|
|
103
119
|
ValidationExceptionToJSON,
|
|
120
|
+
VerifyPhoneOtpInputFromJSON,
|
|
121
|
+
VerifyPhoneOtpInputToJSON,
|
|
104
122
|
} from '../models/index';
|
|
105
123
|
|
|
106
124
|
export interface BuyersApiAcceptBuyerLeadOfferRequest {
|
|
@@ -111,6 +129,11 @@ export interface BuyersApiBatchVerifyBuyerLeadsRequest {
|
|
|
111
129
|
batchVerifyBuyerLeadsInput: BatchVerifyBuyerLeadsInput;
|
|
112
130
|
}
|
|
113
131
|
|
|
132
|
+
export interface BuyersApiBidRequest {
|
|
133
|
+
auctionId: string;
|
|
134
|
+
auctionBidInput: AuctionBidInput;
|
|
135
|
+
}
|
|
136
|
+
|
|
114
137
|
export interface BuyersApiBulkMarkBuyerNotificationsAsReadRequest {
|
|
115
138
|
bulkMarkBuyerNotificationsAsReadInputDto: BulkMarkBuyerNotificationsAsReadInputDto;
|
|
116
139
|
}
|
|
@@ -207,6 +230,14 @@ export interface BuyersApiPutBuyerOfferRequest {
|
|
|
207
230
|
putBuyerLeadOfferInput: PutBuyerLeadOfferInput;
|
|
208
231
|
}
|
|
209
232
|
|
|
233
|
+
export interface BuyersApiRegisterRequest {
|
|
234
|
+
registerInput: RegisterInput;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export interface BuyersApiRegisterPhoneRequest {
|
|
238
|
+
registerAuctionBuyerPhoneInput: RegisterAuctionBuyerPhoneInput;
|
|
239
|
+
}
|
|
240
|
+
|
|
210
241
|
export interface BuyersApiRevokeScheduledSubscriptionCancellationRequest {
|
|
211
242
|
subscriptionId: string;
|
|
212
243
|
}
|
|
@@ -238,6 +269,10 @@ export interface BuyersApiVerifyBuyerLeadRequest {
|
|
|
238
269
|
leadId: string;
|
|
239
270
|
}
|
|
240
271
|
|
|
272
|
+
export interface BuyersApiVerifyPhoneOtpRequest {
|
|
273
|
+
verifyPhoneOtpInput: VerifyPhoneOtpInput;
|
|
274
|
+
}
|
|
275
|
+
|
|
241
276
|
/**
|
|
242
277
|
*
|
|
243
278
|
*/
|
|
@@ -326,6 +361,56 @@ export class BuyersApi extends runtime.BaseAPI {
|
|
|
326
361
|
await this.batchVerifyBuyerLeadsRaw(requestParameters, initOverrides);
|
|
327
362
|
}
|
|
328
363
|
|
|
364
|
+
/**
|
|
365
|
+
*
|
|
366
|
+
*/
|
|
367
|
+
async bidRaw(requestParameters: BuyersApiBidRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
368
|
+
if (requestParameters['auctionId'] == null) {
|
|
369
|
+
throw new runtime.RequiredError(
|
|
370
|
+
'auctionId',
|
|
371
|
+
'Required parameter "auctionId" was null or undefined when calling bid().'
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
if (requestParameters['auctionBidInput'] == null) {
|
|
376
|
+
throw new runtime.RequiredError(
|
|
377
|
+
'auctionBidInput',
|
|
378
|
+
'Required parameter "auctionBidInput" was null or undefined when calling bid().'
|
|
379
|
+
);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
const queryParameters: any = {};
|
|
383
|
+
|
|
384
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
385
|
+
|
|
386
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
387
|
+
|
|
388
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
389
|
+
const token = this.configuration.accessToken;
|
|
390
|
+
const tokenString = await token("bearer", []);
|
|
391
|
+
|
|
392
|
+
if (tokenString) {
|
|
393
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
const response = await this.request({
|
|
397
|
+
path: `/buyers/private/auction/{auctionId}/bid`.replace(`{${"auctionId"}}`, encodeURIComponent(String(requestParameters['auctionId']))),
|
|
398
|
+
method: 'POST',
|
|
399
|
+
headers: headerParameters,
|
|
400
|
+
query: queryParameters,
|
|
401
|
+
body: AuctionBidInputToJSON(requestParameters['auctionBidInput']),
|
|
402
|
+
}, initOverrides);
|
|
403
|
+
|
|
404
|
+
return new runtime.VoidApiResponse(response);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
*/
|
|
410
|
+
async bid(requestParameters: BuyersApiBidRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
411
|
+
await this.bidRaw(requestParameters, initOverrides);
|
|
412
|
+
}
|
|
413
|
+
|
|
329
414
|
/**
|
|
330
415
|
* Mark multiple notifications as read (true) or unread (false) based on the readStatus parameter
|
|
331
416
|
* Bulk mark buyer notifications as read or unread
|
|
@@ -1111,6 +1196,40 @@ export class BuyersApi extends runtime.BaseAPI {
|
|
|
1111
1196
|
return await response.value();
|
|
1112
1197
|
}
|
|
1113
1198
|
|
|
1199
|
+
/**
|
|
1200
|
+
*
|
|
1201
|
+
*/
|
|
1202
|
+
async getLeadLeaseToOwnConfigurationPresetsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadLeaseToOwnAndRentConfigurationPresetsDto>> {
|
|
1203
|
+
const queryParameters: any = {};
|
|
1204
|
+
|
|
1205
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1206
|
+
|
|
1207
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1208
|
+
const token = this.configuration.accessToken;
|
|
1209
|
+
const tokenString = await token("bearer", []);
|
|
1210
|
+
|
|
1211
|
+
if (tokenString) {
|
|
1212
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
const response = await this.request({
|
|
1216
|
+
path: `/buyers/private/lease-to-own-configuration-presets`,
|
|
1217
|
+
method: 'GET',
|
|
1218
|
+
headers: headerParameters,
|
|
1219
|
+
query: queryParameters,
|
|
1220
|
+
}, initOverrides);
|
|
1221
|
+
|
|
1222
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSON(jsonValue));
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
*
|
|
1227
|
+
*/
|
|
1228
|
+
async getLeadLeaseToOwnConfigurationPresets(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadLeaseToOwnAndRentConfigurationPresetsDto> {
|
|
1229
|
+
const response = await this.getLeadLeaseToOwnConfigurationPresetsRaw(initOverrides);
|
|
1230
|
+
return await response.value();
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1114
1233
|
/**
|
|
1115
1234
|
*
|
|
1116
1235
|
*/
|
|
@@ -1302,6 +1421,92 @@ export class BuyersApi extends runtime.BaseAPI {
|
|
|
1302
1421
|
await this.putBuyerOfferRaw(requestParameters, initOverrides);
|
|
1303
1422
|
}
|
|
1304
1423
|
|
|
1424
|
+
/**
|
|
1425
|
+
*
|
|
1426
|
+
*/
|
|
1427
|
+
async registerRaw(requestParameters: BuyersApiRegisterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1428
|
+
if (requestParameters['registerInput'] == null) {
|
|
1429
|
+
throw new runtime.RequiredError(
|
|
1430
|
+
'registerInput',
|
|
1431
|
+
'Required parameter "registerInput" was null or undefined when calling register().'
|
|
1432
|
+
);
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
const queryParameters: any = {};
|
|
1436
|
+
|
|
1437
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1438
|
+
|
|
1439
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1440
|
+
|
|
1441
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1442
|
+
const token = this.configuration.accessToken;
|
|
1443
|
+
const tokenString = await token("bearer", []);
|
|
1444
|
+
|
|
1445
|
+
if (tokenString) {
|
|
1446
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
const response = await this.request({
|
|
1450
|
+
path: `/buyers/private/auction/register`,
|
|
1451
|
+
method: 'POST',
|
|
1452
|
+
headers: headerParameters,
|
|
1453
|
+
query: queryParameters,
|
|
1454
|
+
body: RegisterInputToJSON(requestParameters['registerInput']),
|
|
1455
|
+
}, initOverrides);
|
|
1456
|
+
|
|
1457
|
+
return new runtime.VoidApiResponse(response);
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
*
|
|
1462
|
+
*/
|
|
1463
|
+
async register(requestParameters: BuyersApiRegisterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1464
|
+
await this.registerRaw(requestParameters, initOverrides);
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
*
|
|
1469
|
+
*/
|
|
1470
|
+
async registerPhoneRaw(requestParameters: BuyersApiRegisterPhoneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1471
|
+
if (requestParameters['registerAuctionBuyerPhoneInput'] == null) {
|
|
1472
|
+
throw new runtime.RequiredError(
|
|
1473
|
+
'registerAuctionBuyerPhoneInput',
|
|
1474
|
+
'Required parameter "registerAuctionBuyerPhoneInput" was null or undefined when calling registerPhone().'
|
|
1475
|
+
);
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
const queryParameters: any = {};
|
|
1479
|
+
|
|
1480
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1481
|
+
|
|
1482
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1483
|
+
|
|
1484
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1485
|
+
const token = this.configuration.accessToken;
|
|
1486
|
+
const tokenString = await token("bearer", []);
|
|
1487
|
+
|
|
1488
|
+
if (tokenString) {
|
|
1489
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
const response = await this.request({
|
|
1493
|
+
path: `/buyers/private/auction/register-phone`,
|
|
1494
|
+
method: 'POST',
|
|
1495
|
+
headers: headerParameters,
|
|
1496
|
+
query: queryParameters,
|
|
1497
|
+
body: RegisterAuctionBuyerPhoneInputToJSON(requestParameters['registerAuctionBuyerPhoneInput']),
|
|
1498
|
+
}, initOverrides);
|
|
1499
|
+
|
|
1500
|
+
return new runtime.VoidApiResponse(response);
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
*
|
|
1505
|
+
*/
|
|
1506
|
+
async registerPhone(requestParameters: BuyersApiRegisterPhoneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1507
|
+
await this.registerPhoneRaw(requestParameters, initOverrides);
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1305
1510
|
/**
|
|
1306
1511
|
*
|
|
1307
1512
|
*/
|
|
@@ -1618,4 +1823,48 @@ export class BuyersApi extends runtime.BaseAPI {
|
|
|
1618
1823
|
await this.verifyBuyerLeadRaw(requestParameters, initOverrides);
|
|
1619
1824
|
}
|
|
1620
1825
|
|
|
1826
|
+
/**
|
|
1827
|
+
*
|
|
1828
|
+
*/
|
|
1829
|
+
async verifyPhoneOtpRaw(requestParameters: BuyersApiVerifyPhoneOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuctionBuyerDto>> {
|
|
1830
|
+
if (requestParameters['verifyPhoneOtpInput'] == null) {
|
|
1831
|
+
throw new runtime.RequiredError(
|
|
1832
|
+
'verifyPhoneOtpInput',
|
|
1833
|
+
'Required parameter "verifyPhoneOtpInput" was null or undefined when calling verifyPhoneOtp().'
|
|
1834
|
+
);
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
const queryParameters: any = {};
|
|
1838
|
+
|
|
1839
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1840
|
+
|
|
1841
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1842
|
+
|
|
1843
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1844
|
+
const token = this.configuration.accessToken;
|
|
1845
|
+
const tokenString = await token("bearer", []);
|
|
1846
|
+
|
|
1847
|
+
if (tokenString) {
|
|
1848
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
const response = await this.request({
|
|
1852
|
+
path: `/buyers/private/auction/verify-phone-otp`,
|
|
1853
|
+
method: 'POST',
|
|
1854
|
+
headers: headerParameters,
|
|
1855
|
+
query: queryParameters,
|
|
1856
|
+
body: VerifyPhoneOtpInputToJSON(requestParameters['verifyPhoneOtpInput']),
|
|
1857
|
+
}, initOverrides);
|
|
1858
|
+
|
|
1859
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AuctionBuyerDtoFromJSON(jsonValue));
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
*
|
|
1864
|
+
*/
|
|
1865
|
+
async verifyPhoneOtp(requestParameters: BuyersApiVerifyPhoneOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuctionBuyerDto> {
|
|
1866
|
+
const response = await this.verifyPhoneOtpRaw(requestParameters, initOverrides);
|
|
1867
|
+
return await response.value();
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1621
1870
|
}
|