@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
|
@@ -39,6 +39,12 @@ export interface LeadMessageDto {
|
|
|
39
39
|
* @memberof LeadMessageDto
|
|
40
40
|
*/
|
|
41
41
|
type: LeadMessageDtoTypeEnum;
|
|
42
|
+
/**
|
|
43
|
+
* The lead message offer type
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LeadMessageDto
|
|
46
|
+
*/
|
|
47
|
+
offerType: LeadMessageDtoOfferTypeEnum | null;
|
|
42
48
|
/**
|
|
43
49
|
* The lead message origin
|
|
44
50
|
* @type {string}
|
|
@@ -90,6 +96,17 @@ export const LeadMessageDtoTypeEnum = {
|
|
|
90
96
|
} as const;
|
|
91
97
|
export type LeadMessageDtoTypeEnum = typeof LeadMessageDtoTypeEnum[keyof typeof LeadMessageDtoTypeEnum];
|
|
92
98
|
|
|
99
|
+
/**
|
|
100
|
+
* @export
|
|
101
|
+
*/
|
|
102
|
+
export const LeadMessageDtoOfferTypeEnum = {
|
|
103
|
+
LEAD: 'lead',
|
|
104
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
105
|
+
RENT: 'rent',
|
|
106
|
+
AUCTION: 'auction'
|
|
107
|
+
} as const;
|
|
108
|
+
export type LeadMessageDtoOfferTypeEnum = typeof LeadMessageDtoOfferTypeEnum[keyof typeof LeadMessageDtoOfferTypeEnum];
|
|
109
|
+
|
|
93
110
|
/**
|
|
94
111
|
* @export
|
|
95
112
|
*/
|
|
@@ -108,6 +125,7 @@ export type LeadMessageDtoOriginEnum = typeof LeadMessageDtoOriginEnum[keyof typ
|
|
|
108
125
|
export function instanceOfLeadMessageDto(value: object): value is LeadMessageDto {
|
|
109
126
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
110
127
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
128
|
+
if (!('offerType' in value) || value['offerType'] === undefined) return false;
|
|
111
129
|
if (!('origin' in value) || value['origin'] === undefined) return false;
|
|
112
130
|
if (!('data' in value) || value['data'] === undefined) return false;
|
|
113
131
|
if (!('message' in value) || value['message'] === undefined) return false;
|
|
@@ -129,6 +147,7 @@ export function LeadMessageDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
129
147
|
|
|
130
148
|
'id': json['id'],
|
|
131
149
|
'type': json['type'],
|
|
150
|
+
'offerType': json['offerType'],
|
|
132
151
|
'origin': json['origin'],
|
|
133
152
|
'data': LeadMessageDataFromJSON(json['data']),
|
|
134
153
|
'message': json['message'],
|
|
@@ -151,6 +170,7 @@ export function LeadMessageDtoToJSONTyped(value?: LeadMessageDto | null, ignoreD
|
|
|
151
170
|
|
|
152
171
|
'id': value['id'],
|
|
153
172
|
'type': value['type'],
|
|
173
|
+
'offerType': value['offerType'],
|
|
154
174
|
'origin': value['origin'],
|
|
155
175
|
'data': LeadMessageDataToJSON(value['data']),
|
|
156
176
|
'message': value['message'],
|
|
@@ -0,0 +1,132 @@
|
|
|
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 { LeadMessageDataLeaseToOwn } from './LeadMessageDataLeaseToOwn';
|
|
17
|
+
import {
|
|
18
|
+
LeadMessageDataLeaseToOwnFromJSON,
|
|
19
|
+
LeadMessageDataLeaseToOwnFromJSONTyped,
|
|
20
|
+
LeadMessageDataLeaseToOwnToJSON,
|
|
21
|
+
LeadMessageDataLeaseToOwnToJSONTyped,
|
|
22
|
+
} from './LeadMessageDataLeaseToOwn';
|
|
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 LeadOfferDto
|
|
35
|
+
*/
|
|
36
|
+
export interface LeadOfferDto {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {MoneyDto}
|
|
40
|
+
* @memberof LeadOfferDto
|
|
41
|
+
*/
|
|
42
|
+
offer: MoneyDto;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof LeadOfferDto
|
|
47
|
+
*/
|
|
48
|
+
offerBy: LeadOfferDtoOfferByEnum;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof LeadOfferDto
|
|
53
|
+
*/
|
|
54
|
+
offerType: LeadOfferDtoOfferTypeEnum;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {LeadMessageDataLeaseToOwn}
|
|
58
|
+
* @memberof LeadOfferDto
|
|
59
|
+
*/
|
|
60
|
+
leaseToOwn: LeadMessageDataLeaseToOwn | null;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export const LeadOfferDtoOfferByEnum = {
|
|
68
|
+
BUYER: 'buyer',
|
|
69
|
+
SELLER: 'seller',
|
|
70
|
+
AI: 'ai',
|
|
71
|
+
ADMIN: 'admin'
|
|
72
|
+
} as const;
|
|
73
|
+
export type LeadOfferDtoOfferByEnum = typeof LeadOfferDtoOfferByEnum[keyof typeof LeadOfferDtoOfferByEnum];
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @export
|
|
77
|
+
*/
|
|
78
|
+
export const LeadOfferDtoOfferTypeEnum = {
|
|
79
|
+
LEAD: 'lead',
|
|
80
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
81
|
+
RENT: 'rent',
|
|
82
|
+
AUCTION: 'auction'
|
|
83
|
+
} as const;
|
|
84
|
+
export type LeadOfferDtoOfferTypeEnum = typeof LeadOfferDtoOfferTypeEnum[keyof typeof LeadOfferDtoOfferTypeEnum];
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Check if a given object implements the LeadOfferDto interface.
|
|
89
|
+
*/
|
|
90
|
+
export function instanceOfLeadOfferDto(value: object): value is LeadOfferDto {
|
|
91
|
+
if (!('offer' in value) || value['offer'] === undefined) return false;
|
|
92
|
+
if (!('offerBy' in value) || value['offerBy'] === undefined) return false;
|
|
93
|
+
if (!('offerType' in value) || value['offerType'] === undefined) return false;
|
|
94
|
+
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
95
|
+
return true;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function LeadOfferDtoFromJSON(json: any): LeadOfferDto {
|
|
99
|
+
return LeadOfferDtoFromJSONTyped(json, false);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function LeadOfferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferDto {
|
|
103
|
+
if (json == null) {
|
|
104
|
+
return json;
|
|
105
|
+
}
|
|
106
|
+
return {
|
|
107
|
+
|
|
108
|
+
'offer': MoneyDtoFromJSON(json['offer']),
|
|
109
|
+
'offerBy': json['offerBy'],
|
|
110
|
+
'offerType': json['offerType'],
|
|
111
|
+
'leaseToOwn': LeadMessageDataLeaseToOwnFromJSON(json['leaseToOwn']),
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function LeadOfferDtoToJSON(json: any): LeadOfferDto {
|
|
116
|
+
return LeadOfferDtoToJSONTyped(json, false);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function LeadOfferDtoToJSONTyped(value?: LeadOfferDto | null, ignoreDiscriminator: boolean = false): any {
|
|
120
|
+
if (value == null) {
|
|
121
|
+
return value;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
return {
|
|
125
|
+
|
|
126
|
+
'offer': MoneyDtoToJSON(value['offer']),
|
|
127
|
+
'offerBy': value['offerBy'],
|
|
128
|
+
'offerType': value['offerType'],
|
|
129
|
+
'leaseToOwn': LeadMessageDataLeaseToOwnToJSON(value['leaseToOwn']),
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 LeadRentConfigurationDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LeadRentConfigurationDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LeadRentConfigurationDto
|
|
26
|
+
*/
|
|
27
|
+
recurringMarkupPercentage: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof LeadRentConfigurationDto
|
|
32
|
+
*/
|
|
33
|
+
minMonthPriceEur: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the LeadRentConfigurationDto interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfLeadRentConfigurationDto(value: object): value is LeadRentConfigurationDto {
|
|
40
|
+
if (!('recurringMarkupPercentage' in value) || value['recurringMarkupPercentage'] === undefined) return false;
|
|
41
|
+
if (!('minMonthPriceEur' in value) || value['minMonthPriceEur'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function LeadRentConfigurationDtoFromJSON(json: any): LeadRentConfigurationDto {
|
|
46
|
+
return LeadRentConfigurationDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function LeadRentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadRentConfigurationDto {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'recurringMarkupPercentage': json['recurringMarkupPercentage'],
|
|
56
|
+
'minMonthPriceEur': json['minMonthPriceEur'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function LeadRentConfigurationDtoToJSON(json: any): LeadRentConfigurationDto {
|
|
61
|
+
return LeadRentConfigurationDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function LeadRentConfigurationDtoToJSONTyped(value?: LeadRentConfigurationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'recurringMarkupPercentage': value['recurringMarkupPercentage'],
|
|
72
|
+
'minMonthPriceEur': value['minMonthPriceEur'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LeadLeaseToOwnConfigurationDto } from './LeadLeaseToOwnConfigurationDto';
|
|
17
|
+
import {
|
|
18
|
+
LeadLeaseToOwnConfigurationDtoFromJSON,
|
|
19
|
+
LeadLeaseToOwnConfigurationDtoFromJSONTyped,
|
|
20
|
+
LeadLeaseToOwnConfigurationDtoToJSON,
|
|
21
|
+
LeadLeaseToOwnConfigurationDtoToJSONTyped,
|
|
22
|
+
} from './LeadLeaseToOwnConfigurationDto';
|
|
16
23
|
import type { LeadMessageData } from './LeadMessageData';
|
|
17
24
|
import {
|
|
18
25
|
LeadMessageDataFromJSON,
|
|
@@ -34,6 +41,20 @@ import {
|
|
|
34
41
|
MoneyDtoToJSON,
|
|
35
42
|
MoneyDtoToJSONTyped,
|
|
36
43
|
} from './MoneyDto';
|
|
44
|
+
import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
|
|
45
|
+
import {
|
|
46
|
+
LeadRentConfigurationDtoFromJSON,
|
|
47
|
+
LeadRentConfigurationDtoFromJSONTyped,
|
|
48
|
+
LeadRentConfigurationDtoToJSON,
|
|
49
|
+
LeadRentConfigurationDtoToJSONTyped,
|
|
50
|
+
} from './LeadRentConfigurationDto';
|
|
51
|
+
import type { LeadOfferDto } from './LeadOfferDto';
|
|
52
|
+
import {
|
|
53
|
+
LeadOfferDtoFromJSON,
|
|
54
|
+
LeadOfferDtoFromJSONTyped,
|
|
55
|
+
LeadOfferDtoToJSON,
|
|
56
|
+
LeadOfferDtoToJSONTyped,
|
|
57
|
+
} from './LeadOfferDto';
|
|
37
58
|
|
|
38
59
|
/**
|
|
39
60
|
*
|
|
@@ -65,6 +86,12 @@ export interface ListLeadsResultItem {
|
|
|
65
86
|
* @memberof ListLeadsResultItem
|
|
66
87
|
*/
|
|
67
88
|
lastOfferBy: ListLeadsResultItemLastOfferByEnum | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof ListLeadsResultItem
|
|
93
|
+
*/
|
|
94
|
+
lastOfferType: ListLeadsResultItemLastOfferTypeEnum | null;
|
|
68
95
|
/**
|
|
69
96
|
*
|
|
70
97
|
* @type {string}
|
|
@@ -161,6 +188,30 @@ export interface ListLeadsResultItem {
|
|
|
161
188
|
* @memberof ListLeadsResultItem
|
|
162
189
|
*/
|
|
163
190
|
manualType: ListLeadsResultItemManualTypeEnum | null;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @type {LeadLeaseToOwnConfigurationDto}
|
|
194
|
+
* @memberof ListLeadsResultItem
|
|
195
|
+
*/
|
|
196
|
+
leaseToOwn: LeadLeaseToOwnConfigurationDto | null;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @type {LeadRentConfigurationDto}
|
|
200
|
+
* @memberof ListLeadsResultItem
|
|
201
|
+
*/
|
|
202
|
+
rent: LeadRentConfigurationDto;
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @type {LeadOfferDto}
|
|
206
|
+
* @memberof ListLeadsResultItem
|
|
207
|
+
*/
|
|
208
|
+
lastBuyerOffer: LeadOfferDto | null;
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @type {LeadOfferDto}
|
|
212
|
+
* @memberof ListLeadsResultItem
|
|
213
|
+
*/
|
|
214
|
+
lastSellerOffer: LeadOfferDto | null;
|
|
164
215
|
/**
|
|
165
216
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
166
217
|
* @type {string}
|
|
@@ -199,6 +250,17 @@ export const ListLeadsResultItemLastOfferByEnum = {
|
|
|
199
250
|
} as const;
|
|
200
251
|
export type ListLeadsResultItemLastOfferByEnum = typeof ListLeadsResultItemLastOfferByEnum[keyof typeof ListLeadsResultItemLastOfferByEnum];
|
|
201
252
|
|
|
253
|
+
/**
|
|
254
|
+
* @export
|
|
255
|
+
*/
|
|
256
|
+
export const ListLeadsResultItemLastOfferTypeEnum = {
|
|
257
|
+
LEAD: 'lead',
|
|
258
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
259
|
+
RENT: 'rent',
|
|
260
|
+
AUCTION: 'auction'
|
|
261
|
+
} as const;
|
|
262
|
+
export type ListLeadsResultItemLastOfferTypeEnum = typeof ListLeadsResultItemLastOfferTypeEnum[keyof typeof ListLeadsResultItemLastOfferTypeEnum];
|
|
263
|
+
|
|
202
264
|
/**
|
|
203
265
|
* @export
|
|
204
266
|
*/
|
|
@@ -242,6 +304,7 @@ export function instanceOfListLeadsResultItem(value: object): value is ListLeads
|
|
|
242
304
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
243
305
|
if (!('lastOffer' in value) || value['lastOffer'] === undefined) return false;
|
|
244
306
|
if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined) return false;
|
|
307
|
+
if (!('lastOfferType' in value) || value['lastOfferType'] === undefined) return false;
|
|
245
308
|
if (!('buyerInitials' in value) || value['buyerInitials'] === undefined) return false;
|
|
246
309
|
if (!('buyerIpCountryCode' in value) || value['buyerIpCountryCode'] === undefined) return false;
|
|
247
310
|
if (!('lastMessageFrom' in value) || value['lastMessageFrom'] === undefined) return false;
|
|
@@ -258,6 +321,10 @@ export function instanceOfListLeadsResultItem(value: object): value is ListLeads
|
|
|
258
321
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined) return false;
|
|
259
322
|
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined) return false;
|
|
260
323
|
if (!('manualType' in value) || value['manualType'] === undefined) return false;
|
|
324
|
+
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
325
|
+
if (!('rent' in value) || value['rent'] === undefined) return false;
|
|
326
|
+
if (!('lastBuyerOffer' in value) || value['lastBuyerOffer'] === undefined) return false;
|
|
327
|
+
if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined) return false;
|
|
261
328
|
if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined) return false;
|
|
262
329
|
if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined) return false;
|
|
263
330
|
return true;
|
|
@@ -277,6 +344,7 @@ export function ListLeadsResultItemFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
277
344
|
'status': json['status'],
|
|
278
345
|
'lastOffer': MoneyDtoFromJSON(json['lastOffer']),
|
|
279
346
|
'lastOfferBy': json['lastOfferBy'],
|
|
347
|
+
'lastOfferType': json['lastOfferType'],
|
|
280
348
|
'buyerInitials': json['buyerInitials'],
|
|
281
349
|
'buyerIpCountryCode': json['buyerIpCountryCode'],
|
|
282
350
|
'lastMessageFrom': json['lastMessageFrom'],
|
|
@@ -293,6 +361,10 @@ export function ListLeadsResultItemFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
293
361
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
294
362
|
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
295
363
|
'manualType': json['manualType'],
|
|
364
|
+
'leaseToOwn': LeadLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
365
|
+
'rent': LeadRentConfigurationDtoFromJSON(json['rent']),
|
|
366
|
+
'lastBuyerOffer': LeadOfferDtoFromJSON(json['lastBuyerOffer']),
|
|
367
|
+
'lastSellerOffer': LeadOfferDtoFromJSON(json['lastSellerOffer']),
|
|
296
368
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
297
369
|
'lastMessageDate': (new Date(json['lastMessageDate'])),
|
|
298
370
|
};
|
|
@@ -313,6 +385,7 @@ export function ListLeadsResultItemToJSONTyped(value?: ListLeadsResultItem | nul
|
|
|
313
385
|
'status': value['status'],
|
|
314
386
|
'lastOffer': MoneyDtoToJSON(value['lastOffer']),
|
|
315
387
|
'lastOfferBy': value['lastOfferBy'],
|
|
388
|
+
'lastOfferType': value['lastOfferType'],
|
|
316
389
|
'buyerInitials': value['buyerInitials'],
|
|
317
390
|
'buyerIpCountryCode': value['buyerIpCountryCode'],
|
|
318
391
|
'lastMessageFrom': value['lastMessageFrom'],
|
|
@@ -329,6 +402,10 @@ export function ListLeadsResultItemToJSONTyped(value?: ListLeadsResultItem | nul
|
|
|
329
402
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
330
403
|
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
331
404
|
'manualType': value['manualType'],
|
|
405
|
+
'leaseToOwn': LeadLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
406
|
+
'rent': LeadRentConfigurationDtoToJSON(value['rent']),
|
|
407
|
+
'lastBuyerOffer': LeadOfferDtoToJSON(value['lastBuyerOffer']),
|
|
408
|
+
'lastSellerOffer': LeadOfferDtoToJSON(value['lastSellerOffer']),
|
|
332
409
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
333
410
|
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
334
411
|
};
|
|
@@ -31,6 +31,18 @@ export interface ManualLeadLeaseToOwnDto {
|
|
|
31
31
|
* @memberof ManualLeadLeaseToOwnDto
|
|
32
32
|
*/
|
|
33
33
|
maxMonths: number | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ManualLeadLeaseToOwnDto
|
|
38
|
+
*/
|
|
39
|
+
kickBackPercentage: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ManualLeadLeaseToOwnDto
|
|
44
|
+
*/
|
|
45
|
+
markupComissionPercentage: number | null;
|
|
34
46
|
}
|
|
35
47
|
|
|
36
48
|
/**
|
|
@@ -39,6 +51,8 @@ export interface ManualLeadLeaseToOwnDto {
|
|
|
39
51
|
export function instanceOfManualLeadLeaseToOwnDto(value: object): value is ManualLeadLeaseToOwnDto {
|
|
40
52
|
if (!('minMonths' in value) || value['minMonths'] === undefined) return false;
|
|
41
53
|
if (!('maxMonths' in value) || value['maxMonths'] === undefined) return false;
|
|
54
|
+
if (!('kickBackPercentage' in value) || value['kickBackPercentage'] === undefined) return false;
|
|
55
|
+
if (!('markupComissionPercentage' in value) || value['markupComissionPercentage'] === undefined) return false;
|
|
42
56
|
return true;
|
|
43
57
|
}
|
|
44
58
|
|
|
@@ -54,6 +68,8 @@ export function ManualLeadLeaseToOwnDtoFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
54
68
|
|
|
55
69
|
'minMonths': json['minMonths'],
|
|
56
70
|
'maxMonths': json['maxMonths'],
|
|
71
|
+
'kickBackPercentage': json['kickBackPercentage'],
|
|
72
|
+
'markupComissionPercentage': json['markupComissionPercentage'],
|
|
57
73
|
};
|
|
58
74
|
}
|
|
59
75
|
|
|
@@ -70,6 +86,8 @@ export function ManualLeadLeaseToOwnDtoToJSONTyped(value?: ManualLeadLeaseToOwnD
|
|
|
70
86
|
|
|
71
87
|
'minMonths': value['minMonths'],
|
|
72
88
|
'maxMonths': value['maxMonths'],
|
|
89
|
+
'kickBackPercentage': value['kickBackPercentage'],
|
|
90
|
+
'markupComissionPercentage': value['markupComissionPercentage'],
|
|
73
91
|
};
|
|
74
92
|
}
|
|
75
93
|
|
|
@@ -152,7 +152,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
152
152
|
DOMAIN_AFFILIATE_PROGRAM: 'DOMAIN_AFFILIATE_PROGRAM',
|
|
153
153
|
SELLER_STATS_DASHBOARD: 'SELLER_STATS_DASHBOARD',
|
|
154
154
|
SELLER_TRANSFER_COSTS_PAYMENT: 'SELLER_TRANSFER_COSTS_PAYMENT',
|
|
155
|
-
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER'
|
|
155
|
+
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
|
|
156
|
+
DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS'
|
|
156
157
|
} as const;
|
|
157
158
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
158
159
|
|
|
@@ -33,8 +33,33 @@ export interface PutBuyerLeadOfferInput {
|
|
|
33
33
|
* @memberof PutBuyerLeadOfferInput
|
|
34
34
|
*/
|
|
35
35
|
offer: MoneyDto | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PutBuyerLeadOfferInput
|
|
40
|
+
*/
|
|
41
|
+
offerType?: PutBuyerLeadOfferInputOfferTypeEnum | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PutBuyerLeadOfferInput
|
|
46
|
+
*/
|
|
47
|
+
leaseToOwnMonths?: number | null;
|
|
36
48
|
}
|
|
37
49
|
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export const PutBuyerLeadOfferInputOfferTypeEnum = {
|
|
55
|
+
LEAD: 'lead',
|
|
56
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
57
|
+
RENT: 'rent',
|
|
58
|
+
AUCTION: 'auction'
|
|
59
|
+
} as const;
|
|
60
|
+
export type PutBuyerLeadOfferInputOfferTypeEnum = typeof PutBuyerLeadOfferInputOfferTypeEnum[keyof typeof PutBuyerLeadOfferInputOfferTypeEnum];
|
|
61
|
+
|
|
62
|
+
|
|
38
63
|
/**
|
|
39
64
|
* Check if a given object implements the PutBuyerLeadOfferInput interface.
|
|
40
65
|
*/
|
|
@@ -54,6 +79,8 @@ export function PutBuyerLeadOfferInputFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
54
79
|
return {
|
|
55
80
|
|
|
56
81
|
'offer': MoneyDtoFromJSON(json['offer']),
|
|
82
|
+
'offerType': json['offerType'] == null ? undefined : json['offerType'],
|
|
83
|
+
'leaseToOwnMonths': json['leaseToOwnMonths'] == null ? undefined : json['leaseToOwnMonths'],
|
|
57
84
|
};
|
|
58
85
|
}
|
|
59
86
|
|
|
@@ -69,6 +96,8 @@ export function PutBuyerLeadOfferInputToJSONTyped(value?: PutBuyerLeadOfferInput
|
|
|
69
96
|
return {
|
|
70
97
|
|
|
71
98
|
'offer': MoneyDtoToJSON(value['offer']),
|
|
99
|
+
'offerType': value['offerType'],
|
|
100
|
+
'leaseToOwnMonths': value['leaseToOwnMonths'],
|
|
72
101
|
};
|
|
73
102
|
}
|
|
74
103
|
|
|
@@ -32,14 +32,38 @@ export interface PutLeadOfferInput {
|
|
|
32
32
|
* @type {MoneyDto}
|
|
33
33
|
* @memberof PutLeadOfferInput
|
|
34
34
|
*/
|
|
35
|
-
offer
|
|
35
|
+
offer?: MoneyDto | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PutLeadOfferInput
|
|
40
|
+
*/
|
|
41
|
+
offerType?: PutLeadOfferInputOfferTypeEnum | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PutLeadOfferInput
|
|
46
|
+
*/
|
|
47
|
+
leaseToOwnMonths?: number | null;
|
|
36
48
|
}
|
|
37
49
|
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export const PutLeadOfferInputOfferTypeEnum = {
|
|
55
|
+
LEAD: 'lead',
|
|
56
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
57
|
+
RENT: 'rent',
|
|
58
|
+
AUCTION: 'auction'
|
|
59
|
+
} as const;
|
|
60
|
+
export type PutLeadOfferInputOfferTypeEnum = typeof PutLeadOfferInputOfferTypeEnum[keyof typeof PutLeadOfferInputOfferTypeEnum];
|
|
61
|
+
|
|
62
|
+
|
|
38
63
|
/**
|
|
39
64
|
* Check if a given object implements the PutLeadOfferInput interface.
|
|
40
65
|
*/
|
|
41
66
|
export function instanceOfPutLeadOfferInput(value: object): value is PutLeadOfferInput {
|
|
42
|
-
if (!('offer' in value) || value['offer'] === undefined) return false;
|
|
43
67
|
return true;
|
|
44
68
|
}
|
|
45
69
|
|
|
@@ -53,7 +77,9 @@ export function PutLeadOfferInputFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
53
77
|
}
|
|
54
78
|
return {
|
|
55
79
|
|
|
56
|
-
'offer': MoneyDtoFromJSON(json['offer']),
|
|
80
|
+
'offer': json['offer'] == null ? undefined : MoneyDtoFromJSON(json['offer']),
|
|
81
|
+
'offerType': json['offerType'] == null ? undefined : json['offerType'],
|
|
82
|
+
'leaseToOwnMonths': json['leaseToOwnMonths'] == null ? undefined : json['leaseToOwnMonths'],
|
|
57
83
|
};
|
|
58
84
|
}
|
|
59
85
|
|
|
@@ -69,6 +95,8 @@ export function PutLeadOfferInputToJSONTyped(value?: PutLeadOfferInput | null, i
|
|
|
69
95
|
return {
|
|
70
96
|
|
|
71
97
|
'offer': MoneyDtoToJSON(value['offer']),
|
|
98
|
+
'offerType': value['offerType'],
|
|
99
|
+
'leaseToOwnMonths': value['leaseToOwnMonths'],
|
|
72
100
|
};
|
|
73
101
|
}
|
|
74
102
|
|
|
@@ -0,0 +1,87 @@
|
|
|
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 RegisterAuctionBuyerPhoneInput
|
|
20
|
+
*/
|
|
21
|
+
export interface RegisterAuctionBuyerPhoneInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof RegisterAuctionBuyerPhoneInput
|
|
26
|
+
*/
|
|
27
|
+
phone: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof RegisterAuctionBuyerPhoneInput
|
|
32
|
+
*/
|
|
33
|
+
channel: RegisterAuctionBuyerPhoneInputChannelEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const RegisterAuctionBuyerPhoneInputChannelEnum = {
|
|
41
|
+
SMS: 'sms',
|
|
42
|
+
CALL: 'call',
|
|
43
|
+
WHATSAPP: 'whatsapp'
|
|
44
|
+
} as const;
|
|
45
|
+
export type RegisterAuctionBuyerPhoneInputChannelEnum = typeof RegisterAuctionBuyerPhoneInputChannelEnum[keyof typeof RegisterAuctionBuyerPhoneInputChannelEnum];
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the RegisterAuctionBuyerPhoneInput interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfRegisterAuctionBuyerPhoneInput(value: object): value is RegisterAuctionBuyerPhoneInput {
|
|
52
|
+
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
53
|
+
if (!('channel' in value) || value['channel'] === undefined) return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function RegisterAuctionBuyerPhoneInputFromJSON(json: any): RegisterAuctionBuyerPhoneInput {
|
|
58
|
+
return RegisterAuctionBuyerPhoneInputFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function RegisterAuctionBuyerPhoneInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterAuctionBuyerPhoneInput {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'phone': json['phone'],
|
|
68
|
+
'channel': json['channel'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function RegisterAuctionBuyerPhoneInputToJSON(json: any): RegisterAuctionBuyerPhoneInput {
|
|
73
|
+
return RegisterAuctionBuyerPhoneInputToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function RegisterAuctionBuyerPhoneInputToJSONTyped(value?: RegisterAuctionBuyerPhoneInput | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'phone': value['phone'],
|
|
84
|
+
'channel': value['channel'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|