@randock/nameshift-api-client 0.0.331 → 0.0.333
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +20 -0
- package/README.md +3 -3
- package/dist/apis/AccountsPublicApi.d.ts +1 -0
- package/dist/apis/AccountsPublicApi.js +3 -0
- 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/AccountsPublicApi.ts +5 -0
- 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,66 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuctionBidInput
|
|
20
|
+
*/
|
|
21
|
+
export interface AuctionBidInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof AuctionBidInput
|
|
26
|
+
*/
|
|
27
|
+
amount: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AuctionBidInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfAuctionBidInput(value: object): value is AuctionBidInput {
|
|
34
|
+
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function AuctionBidInputFromJSON(json: any): AuctionBidInput {
|
|
39
|
+
return AuctionBidInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function AuctionBidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionBidInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'amount': json['amount'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function AuctionBidInputToJSON(json: any): AuctionBidInput {
|
|
53
|
+
return AuctionBidInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function AuctionBidInputToJSONTyped(value?: AuctionBidInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'amount': value['amount'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,129 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuctionBuyerDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AuctionBuyerDto {
|
|
22
|
+
/**
|
|
23
|
+
* Auction Buyer Id
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AuctionBuyerDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Buyer Id
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AuctionBuyerDto
|
|
32
|
+
*/
|
|
33
|
+
buyerId: string;
|
|
34
|
+
/**
|
|
35
|
+
* Auction buyer firstname
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AuctionBuyerDto
|
|
38
|
+
*/
|
|
39
|
+
firstname: string;
|
|
40
|
+
/**
|
|
41
|
+
* Auction buyer lastname
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof AuctionBuyerDto
|
|
44
|
+
*/
|
|
45
|
+
lastname: string;
|
|
46
|
+
/**
|
|
47
|
+
* Auction buyer phone number
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof AuctionBuyerDto
|
|
50
|
+
*/
|
|
51
|
+
phone: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Auction buyer phone verified at
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof AuctionBuyerDto
|
|
56
|
+
*/
|
|
57
|
+
phoneVerifiedAt: Date | null;
|
|
58
|
+
/**
|
|
59
|
+
* Auction buyer KYC completed at
|
|
60
|
+
* @type {Date}
|
|
61
|
+
* @memberof AuctionBuyerDto
|
|
62
|
+
*/
|
|
63
|
+
kycCompletedAt: Date | null;
|
|
64
|
+
/**
|
|
65
|
+
* Auction buyer creation date
|
|
66
|
+
* @type {Date}
|
|
67
|
+
* @memberof AuctionBuyerDto
|
|
68
|
+
*/
|
|
69
|
+
createdAt: Date;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the AuctionBuyerDto interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfAuctionBuyerDto(value: object): value is AuctionBuyerDto {
|
|
76
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
77
|
+
if (!('buyerId' in value) || value['buyerId'] === undefined) return false;
|
|
78
|
+
if (!('firstname' in value) || value['firstname'] === undefined) return false;
|
|
79
|
+
if (!('lastname' in value) || value['lastname'] === undefined) return false;
|
|
80
|
+
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
81
|
+
if (!('phoneVerifiedAt' in value) || value['phoneVerifiedAt'] === undefined) return false;
|
|
82
|
+
if (!('kycCompletedAt' in value) || value['kycCompletedAt'] === undefined) return false;
|
|
83
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
84
|
+
return true;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function AuctionBuyerDtoFromJSON(json: any): AuctionBuyerDto {
|
|
88
|
+
return AuctionBuyerDtoFromJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function AuctionBuyerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionBuyerDto {
|
|
92
|
+
if (json == null) {
|
|
93
|
+
return json;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'id': json['id'],
|
|
98
|
+
'buyerId': json['buyerId'],
|
|
99
|
+
'firstname': json['firstname'],
|
|
100
|
+
'lastname': json['lastname'],
|
|
101
|
+
'phone': json['phone'],
|
|
102
|
+
'phoneVerifiedAt': (json['phoneVerifiedAt'] == null ? null : new Date(json['phoneVerifiedAt'])),
|
|
103
|
+
'kycCompletedAt': (json['kycCompletedAt'] == null ? null : new Date(json['kycCompletedAt'])),
|
|
104
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function AuctionBuyerDtoToJSON(json: any): AuctionBuyerDto {
|
|
109
|
+
return AuctionBuyerDtoToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function AuctionBuyerDtoToJSONTyped(value?: AuctionBuyerDto | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'id': value['id'],
|
|
120
|
+
'buyerId': value['buyerId'],
|
|
121
|
+
'firstname': value['firstname'],
|
|
122
|
+
'lastname': value['lastname'],
|
|
123
|
+
'phone': value['phone'],
|
|
124
|
+
'phoneVerifiedAt': (value['phoneVerifiedAt'] == null ? null : (value['phoneVerifiedAt'] as any).toISOString()),
|
|
125
|
+
'kycCompletedAt': (value['kycCompletedAt'] == null ? null : (value['kycCompletedAt'] as any).toISOString()),
|
|
126
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AuctionBuyerDto } from './AuctionBuyerDto';
|
|
17
|
+
import {
|
|
18
|
+
AuctionBuyerDtoFromJSON,
|
|
19
|
+
AuctionBuyerDtoFromJSONTyped,
|
|
20
|
+
AuctionBuyerDtoToJSON,
|
|
21
|
+
AuctionBuyerDtoToJSONTyped,
|
|
22
|
+
} from './AuctionBuyerDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AuctionBuyerWithTokenDto
|
|
28
|
+
*/
|
|
29
|
+
export interface AuctionBuyerWithTokenDto {
|
|
30
|
+
/**
|
|
31
|
+
* Auction buyer token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AuctionBuyerWithTokenDto
|
|
34
|
+
*/
|
|
35
|
+
token: string;
|
|
36
|
+
/**
|
|
37
|
+
* Auction buyer
|
|
38
|
+
* @type {AuctionBuyerDto}
|
|
39
|
+
* @memberof AuctionBuyerWithTokenDto
|
|
40
|
+
*/
|
|
41
|
+
auctionBuyer: AuctionBuyerDto | null;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AuctionBuyerWithTokenDto interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfAuctionBuyerWithTokenDto(value: object): value is AuctionBuyerWithTokenDto {
|
|
48
|
+
if (!('token' in value) || value['token'] === undefined) return false;
|
|
49
|
+
if (!('auctionBuyer' in value) || value['auctionBuyer'] === undefined) return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function AuctionBuyerWithTokenDtoFromJSON(json: any): AuctionBuyerWithTokenDto {
|
|
54
|
+
return AuctionBuyerWithTokenDtoFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function AuctionBuyerWithTokenDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionBuyerWithTokenDto {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'token': json['token'],
|
|
64
|
+
'auctionBuyer': AuctionBuyerDtoFromJSON(json['auctionBuyer']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function AuctionBuyerWithTokenDtoToJSON(json: any): AuctionBuyerWithTokenDto {
|
|
69
|
+
return AuctionBuyerWithTokenDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function AuctionBuyerWithTokenDtoToJSONTyped(value?: AuctionBuyerWithTokenDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'token': value['token'],
|
|
80
|
+
'auctionBuyer': AuctionBuyerDtoToJSON(value['auctionBuyer']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,153 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AuctionBidDto } from './AuctionBidDto';
|
|
17
|
+
import {
|
|
18
|
+
AuctionBidDtoFromJSON,
|
|
19
|
+
AuctionBidDtoFromJSONTyped,
|
|
20
|
+
AuctionBidDtoToJSON,
|
|
21
|
+
AuctionBidDtoToJSONTyped,
|
|
22
|
+
} from './AuctionBidDto';
|
|
23
|
+
import type { MoneyDto } from './MoneyDto';
|
|
24
|
+
import {
|
|
25
|
+
MoneyDtoFromJSON,
|
|
26
|
+
MoneyDtoFromJSONTyped,
|
|
27
|
+
MoneyDtoToJSON,
|
|
28
|
+
MoneyDtoToJSONTyped,
|
|
29
|
+
} from './MoneyDto';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface AuctionDto
|
|
35
|
+
*/
|
|
36
|
+
export interface AuctionDto {
|
|
37
|
+
/**
|
|
38
|
+
* Auction Id
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AuctionDto
|
|
41
|
+
*/
|
|
42
|
+
id: string;
|
|
43
|
+
/**
|
|
44
|
+
* Auction minimum bid
|
|
45
|
+
* @type {MoneyDto}
|
|
46
|
+
* @memberof AuctionDto
|
|
47
|
+
*/
|
|
48
|
+
minimumBid: MoneyDto;
|
|
49
|
+
/**
|
|
50
|
+
* Auction reserve price
|
|
51
|
+
* @type {MoneyDto}
|
|
52
|
+
* @memberof AuctionDto
|
|
53
|
+
*/
|
|
54
|
+
reservePrice: MoneyDto | null;
|
|
55
|
+
/**
|
|
56
|
+
* Auction highest bid
|
|
57
|
+
* @type {MoneyDto}
|
|
58
|
+
* @memberof AuctionDto
|
|
59
|
+
*/
|
|
60
|
+
highestBid: MoneyDto | null;
|
|
61
|
+
/**
|
|
62
|
+
* Auction start date
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof AuctionDto
|
|
65
|
+
*/
|
|
66
|
+
startDate: Date;
|
|
67
|
+
/**
|
|
68
|
+
* Auction end date
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof AuctionDto
|
|
71
|
+
*/
|
|
72
|
+
endDate: Date;
|
|
73
|
+
/**
|
|
74
|
+
* Auction latestBids bids
|
|
75
|
+
* @type {Array<AuctionBidDto>}
|
|
76
|
+
* @memberof AuctionDto
|
|
77
|
+
*/
|
|
78
|
+
latestBids: Array<AuctionBidDto>;
|
|
79
|
+
/**
|
|
80
|
+
* Auction needs phone verification
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof AuctionDto
|
|
83
|
+
*/
|
|
84
|
+
needsPhoneVerification: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Auction needs KYC
|
|
87
|
+
* @type {boolean}
|
|
88
|
+
* @memberof AuctionDto
|
|
89
|
+
*/
|
|
90
|
+
needsKyc: boolean;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Check if a given object implements the AuctionDto interface.
|
|
95
|
+
*/
|
|
96
|
+
export function instanceOfAuctionDto(value: object): value is AuctionDto {
|
|
97
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
98
|
+
if (!('minimumBid' in value) || value['minimumBid'] === undefined) return false;
|
|
99
|
+
if (!('reservePrice' in value) || value['reservePrice'] === undefined) return false;
|
|
100
|
+
if (!('highestBid' in value) || value['highestBid'] === undefined) return false;
|
|
101
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
102
|
+
if (!('endDate' in value) || value['endDate'] === undefined) return false;
|
|
103
|
+
if (!('latestBids' in value) || value['latestBids'] === undefined) return false;
|
|
104
|
+
if (!('needsPhoneVerification' in value) || value['needsPhoneVerification'] === undefined) return false;
|
|
105
|
+
if (!('needsKyc' in value) || value['needsKyc'] === undefined) return false;
|
|
106
|
+
return true;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function AuctionDtoFromJSON(json: any): AuctionDto {
|
|
110
|
+
return AuctionDtoFromJSONTyped(json, false);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export function AuctionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionDto {
|
|
114
|
+
if (json == null) {
|
|
115
|
+
return json;
|
|
116
|
+
}
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'id': json['id'],
|
|
120
|
+
'minimumBid': MoneyDtoFromJSON(json['minimumBid']),
|
|
121
|
+
'reservePrice': MoneyDtoFromJSON(json['reservePrice']),
|
|
122
|
+
'highestBid': MoneyDtoFromJSON(json['highestBid']),
|
|
123
|
+
'startDate': (new Date(json['startDate'])),
|
|
124
|
+
'endDate': (new Date(json['endDate'])),
|
|
125
|
+
'latestBids': ((json['latestBids'] as Array<any>).map(AuctionBidDtoFromJSON)),
|
|
126
|
+
'needsPhoneVerification': json['needsPhoneVerification'],
|
|
127
|
+
'needsKyc': json['needsKyc'],
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export function AuctionDtoToJSON(json: any): AuctionDto {
|
|
132
|
+
return AuctionDtoToJSONTyped(json, false);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export function AuctionDtoToJSONTyped(value?: AuctionDto | null, ignoreDiscriminator: boolean = false): any {
|
|
136
|
+
if (value == null) {
|
|
137
|
+
return value;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
return {
|
|
141
|
+
|
|
142
|
+
'id': value['id'],
|
|
143
|
+
'minimumBid': MoneyDtoToJSON(value['minimumBid']),
|
|
144
|
+
'reservePrice': MoneyDtoToJSON(value['reservePrice']),
|
|
145
|
+
'highestBid': MoneyDtoToJSON(value['highestBid']),
|
|
146
|
+
'startDate': ((value['startDate']).toISOString()),
|
|
147
|
+
'endDate': ((value['endDate']).toISOString()),
|
|
148
|
+
'latestBids': ((value['latestBids'] as Array<any>).map(AuctionBidDtoToJSON)),
|
|
149
|
+
'needsPhoneVerification': value['needsPhoneVerification'],
|
|
150
|
+
'needsKyc': value['needsKyc'],
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
MoneyDtoToJSON,
|
|
28
28
|
MoneyDtoToJSONTyped,
|
|
29
29
|
} from './MoneyDto';
|
|
30
|
+
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
31
|
+
import {
|
|
32
|
+
LeaseToOwnConfigurationDtoFromJSON,
|
|
33
|
+
LeaseToOwnConfigurationDtoFromJSONTyped,
|
|
34
|
+
LeaseToOwnConfigurationDtoToJSON,
|
|
35
|
+
LeaseToOwnConfigurationDtoToJSONTyped,
|
|
36
|
+
} from './LeaseToOwnConfigurationDto';
|
|
30
37
|
|
|
31
38
|
/**
|
|
32
39
|
*
|
|
@@ -58,6 +65,18 @@ export interface BuyerLeadListItemDto {
|
|
|
58
65
|
* @memberof BuyerLeadListItemDto
|
|
59
66
|
*/
|
|
60
67
|
lastOfferBy: BuyerLeadListItemDtoLastOfferByEnum | null;
|
|
68
|
+
/**
|
|
69
|
+
* The last offer type
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof BuyerLeadListItemDto
|
|
72
|
+
*/
|
|
73
|
+
lastOfferType: BuyerLeadListItemDtoLastOfferTypeEnum | null;
|
|
74
|
+
/**
|
|
75
|
+
* Lease to own configuration
|
|
76
|
+
* @type {LeaseToOwnConfigurationDto}
|
|
77
|
+
* @memberof BuyerLeadListItemDto
|
|
78
|
+
*/
|
|
79
|
+
leaseToOwn: LeaseToOwnConfigurationDto | null;
|
|
61
80
|
/**
|
|
62
81
|
* Created at date
|
|
63
82
|
* @type {Date}
|
|
@@ -114,6 +133,17 @@ export const BuyerLeadListItemDtoLastOfferByEnum = {
|
|
|
114
133
|
} as const;
|
|
115
134
|
export type BuyerLeadListItemDtoLastOfferByEnum = typeof BuyerLeadListItemDtoLastOfferByEnum[keyof typeof BuyerLeadListItemDtoLastOfferByEnum];
|
|
116
135
|
|
|
136
|
+
/**
|
|
137
|
+
* @export
|
|
138
|
+
*/
|
|
139
|
+
export const BuyerLeadListItemDtoLastOfferTypeEnum = {
|
|
140
|
+
LEAD: 'lead',
|
|
141
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
142
|
+
RENT: 'rent',
|
|
143
|
+
AUCTION: 'auction'
|
|
144
|
+
} as const;
|
|
145
|
+
export type BuyerLeadListItemDtoLastOfferTypeEnum = typeof BuyerLeadListItemDtoLastOfferTypeEnum[keyof typeof BuyerLeadListItemDtoLastOfferTypeEnum];
|
|
146
|
+
|
|
117
147
|
|
|
118
148
|
/**
|
|
119
149
|
* Check if a given object implements the BuyerLeadListItemDto interface.
|
|
@@ -123,6 +153,8 @@ export function instanceOfBuyerLeadListItemDto(value: object): value is BuyerLea
|
|
|
123
153
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
124
154
|
if (!('lastOffer' in value) || value['lastOffer'] === undefined) return false;
|
|
125
155
|
if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined) return false;
|
|
156
|
+
if (!('lastOfferType' in value) || value['lastOfferType'] === undefined) return false;
|
|
157
|
+
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
126
158
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
127
159
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
128
160
|
if (!('unreadMessages' in value) || value['unreadMessages'] === undefined) return false;
|
|
@@ -145,6 +177,8 @@ export function BuyerLeadListItemDtoFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
145
177
|
'status': json['status'],
|
|
146
178
|
'lastOffer': MoneyDtoFromJSON(json['lastOffer']),
|
|
147
179
|
'lastOfferBy': json['lastOfferBy'],
|
|
180
|
+
'lastOfferType': json['lastOfferType'],
|
|
181
|
+
'leaseToOwn': LeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
148
182
|
'createdAt': (new Date(json['createdAt'])),
|
|
149
183
|
'domain': BuyerLeadListItemDomainDtoFromJSON(json['domain']),
|
|
150
184
|
'unreadMessages': json['unreadMessages'],
|
|
@@ -168,6 +202,8 @@ export function BuyerLeadListItemDtoToJSONTyped(value?: BuyerLeadListItemDto | n
|
|
|
168
202
|
'status': value['status'],
|
|
169
203
|
'lastOffer': MoneyDtoToJSON(value['lastOffer']),
|
|
170
204
|
'lastOfferBy': value['lastOfferBy'],
|
|
205
|
+
'lastOfferType': value['lastOfferType'],
|
|
206
|
+
'leaseToOwn': LeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
171
207
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
172
208
|
'domain': BuyerLeadListItemDomainDtoToJSON(value['domain']),
|
|
173
209
|
'unreadMessages': value['unreadMessages'],
|
|
@@ -0,0 +1,119 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { MoneyDto } from './MoneyDto';
|
|
17
|
+
import {
|
|
18
|
+
MoneyDtoFromJSON,
|
|
19
|
+
MoneyDtoFromJSONTyped,
|
|
20
|
+
MoneyDtoToJSON,
|
|
21
|
+
MoneyDtoToJSONTyped,
|
|
22
|
+
} from './MoneyDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainAuctionDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainAuctionDto {
|
|
30
|
+
/**
|
|
31
|
+
* The auction id
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof DomainAuctionDto
|
|
34
|
+
*/
|
|
35
|
+
id: object;
|
|
36
|
+
/**
|
|
37
|
+
* The auction minimum bid
|
|
38
|
+
* @type {MoneyDto}
|
|
39
|
+
* @memberof DomainAuctionDto
|
|
40
|
+
*/
|
|
41
|
+
minimumBid: MoneyDto;
|
|
42
|
+
/**
|
|
43
|
+
* The auction reserve price
|
|
44
|
+
* @type {MoneyDto}
|
|
45
|
+
* @memberof DomainAuctionDto
|
|
46
|
+
*/
|
|
47
|
+
reservePrice: MoneyDto | null;
|
|
48
|
+
/**
|
|
49
|
+
* The auction start date
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof DomainAuctionDto
|
|
52
|
+
*/
|
|
53
|
+
startDate: Date;
|
|
54
|
+
/**
|
|
55
|
+
* The auction end date
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof DomainAuctionDto
|
|
58
|
+
*/
|
|
59
|
+
endDate: Date;
|
|
60
|
+
/**
|
|
61
|
+
* The auction highest bid
|
|
62
|
+
* @type {MoneyDto}
|
|
63
|
+
* @memberof DomainAuctionDto
|
|
64
|
+
*/
|
|
65
|
+
highestBid: MoneyDto | null;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the DomainAuctionDto interface.
|
|
70
|
+
*/
|
|
71
|
+
export function instanceOfDomainAuctionDto(value: object): value is DomainAuctionDto {
|
|
72
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
73
|
+
if (!('minimumBid' in value) || value['minimumBid'] === undefined) return false;
|
|
74
|
+
if (!('reservePrice' in value) || value['reservePrice'] === undefined) return false;
|
|
75
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
76
|
+
if (!('endDate' in value) || value['endDate'] === undefined) return false;
|
|
77
|
+
if (!('highestBid' in value) || value['highestBid'] === undefined) return false;
|
|
78
|
+
return true;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function DomainAuctionDtoFromJSON(json: any): DomainAuctionDto {
|
|
82
|
+
return DomainAuctionDtoFromJSONTyped(json, false);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function DomainAuctionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainAuctionDto {
|
|
86
|
+
if (json == null) {
|
|
87
|
+
return json;
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
|
|
91
|
+
'id': json['id'],
|
|
92
|
+
'minimumBid': MoneyDtoFromJSON(json['minimumBid']),
|
|
93
|
+
'reservePrice': MoneyDtoFromJSON(json['reservePrice']),
|
|
94
|
+
'startDate': (new Date(json['startDate'])),
|
|
95
|
+
'endDate': (new Date(json['endDate'])),
|
|
96
|
+
'highestBid': MoneyDtoFromJSON(json['highestBid']),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function DomainAuctionDtoToJSON(json: any): DomainAuctionDto {
|
|
101
|
+
return DomainAuctionDtoToJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function DomainAuctionDtoToJSONTyped(value?: DomainAuctionDto | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
+
if (value == null) {
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'id': value['id'],
|
|
112
|
+
'minimumBid': MoneyDtoToJSON(value['minimumBid']),
|
|
113
|
+
'reservePrice': MoneyDtoToJSON(value['reservePrice']),
|
|
114
|
+
'startDate': ((value['startDate']).toISOString()),
|
|
115
|
+
'endDate': ((value['endDate']).toISOString()),
|
|
116
|
+
'highestBid': MoneyDtoToJSON(value['highestBid']),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
@@ -146,6 +146,18 @@ export interface DomainSalesInformationDto {
|
|
|
146
146
|
* @memberof DomainSalesInformationDto
|
|
147
147
|
*/
|
|
148
148
|
seoEnabled: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* The domain "isAuctionable" status
|
|
151
|
+
* @type {boolean}
|
|
152
|
+
* @memberof DomainSalesInformationDto
|
|
153
|
+
*/
|
|
154
|
+
hasActiveAuction: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* The domain "auctionId"
|
|
157
|
+
* @type {string}
|
|
158
|
+
* @memberof DomainSalesInformationDto
|
|
159
|
+
*/
|
|
160
|
+
auctionId: string | null;
|
|
149
161
|
/**
|
|
150
162
|
* Lead buyer settings
|
|
151
163
|
* @type {LeadBuyerConfigDto}
|
|
@@ -172,6 +184,8 @@ export function instanceOfDomainSalesInformationDto(value: object): value is Dom
|
|
|
172
184
|
if (!('relatedDomainsEnabled' in value) || value['relatedDomainsEnabled'] === undefined) return false;
|
|
173
185
|
if (!('trustpilotEnabled' in value) || value['trustpilotEnabled'] === undefined) return false;
|
|
174
186
|
if (!('seoEnabled' in value) || value['seoEnabled'] === undefined) return false;
|
|
187
|
+
if (!('hasActiveAuction' in value) || value['hasActiveAuction'] === undefined) return false;
|
|
188
|
+
if (!('auctionId' in value) || value['auctionId'] === undefined) return false;
|
|
175
189
|
if (!('leadBuyerSettings' in value) || value['leadBuyerSettings'] === undefined) return false;
|
|
176
190
|
return true;
|
|
177
191
|
}
|
|
@@ -200,6 +214,8 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
200
214
|
'relatedDomainsEnabled': json['relatedDomainsEnabled'],
|
|
201
215
|
'trustpilotEnabled': json['trustpilotEnabled'],
|
|
202
216
|
'seoEnabled': json['seoEnabled'],
|
|
217
|
+
'hasActiveAuction': json['hasActiveAuction'],
|
|
218
|
+
'auctionId': json['auctionId'],
|
|
203
219
|
'leadBuyerSettings': LeadBuyerConfigDtoFromJSON(json['leadBuyerSettings']),
|
|
204
220
|
};
|
|
205
221
|
}
|
|
@@ -229,6 +245,8 @@ export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformat
|
|
|
229
245
|
'relatedDomainsEnabled': value['relatedDomainsEnabled'],
|
|
230
246
|
'trustpilotEnabled': value['trustpilotEnabled'],
|
|
231
247
|
'seoEnabled': value['seoEnabled'],
|
|
248
|
+
'hasActiveAuction': value['hasActiveAuction'],
|
|
249
|
+
'auctionId': value['auctionId'],
|
|
232
250
|
'leadBuyerSettings': LeadBuyerConfigDtoToJSON(value['leadBuyerSettings']),
|
|
233
251
|
};
|
|
234
252
|
}
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -146,7 +146,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
|
|
|
146
146
|
DOMAIN_AFFILIATE_PROGRAM: 'DOMAIN_AFFILIATE_PROGRAM',
|
|
147
147
|
SELLER_STATS_DASHBOARD: 'SELLER_STATS_DASHBOARD',
|
|
148
148
|
SELLER_TRANSFER_COSTS_PAYMENT: 'SELLER_TRANSFER_COSTS_PAYMENT',
|
|
149
|
-
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER'
|
|
149
|
+
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
|
|
150
|
+
DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS'
|
|
150
151
|
} as const;
|
|
151
152
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
152
153
|
|