@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,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAuctionBidDto = instanceOfAuctionBidDto;
|
|
17
|
+
exports.AuctionBidDtoFromJSON = AuctionBidDtoFromJSON;
|
|
18
|
+
exports.AuctionBidDtoFromJSONTyped = AuctionBidDtoFromJSONTyped;
|
|
19
|
+
exports.AuctionBidDtoToJSON = AuctionBidDtoToJSON;
|
|
20
|
+
exports.AuctionBidDtoToJSONTyped = AuctionBidDtoToJSONTyped;
|
|
21
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AuctionBidDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAuctionBidDto(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('nickname' in value) || value['nickname'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function AuctionBidDtoFromJSON(json) {
|
|
37
|
+
return AuctionBidDtoFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function AuctionBidDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'amount': (0, MoneyDto_1.MoneyDtoFromJSON)(json['amount']),
|
|
46
|
+
'nickname': json['nickname'],
|
|
47
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function AuctionBidDtoToJSON(json) {
|
|
51
|
+
return AuctionBidDtoToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function AuctionBidDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'amount': (0, MoneyDto_1.MoneyDtoToJSON)(value['amount']),
|
|
61
|
+
'nickname': value['nickname'],
|
|
62
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AuctionBidInput
|
|
16
|
+
*/
|
|
17
|
+
export interface AuctionBidInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AuctionBidInput
|
|
22
|
+
*/
|
|
23
|
+
amount: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AuctionBidInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAuctionBidInput(value: object): value is AuctionBidInput;
|
|
29
|
+
export declare function AuctionBidInputFromJSON(json: any): AuctionBidInput;
|
|
30
|
+
export declare function AuctionBidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionBidInput;
|
|
31
|
+
export declare function AuctionBidInputToJSON(json: any): AuctionBidInput;
|
|
32
|
+
export declare function AuctionBidInputToJSONTyped(value?: AuctionBidInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAuctionBidInput = instanceOfAuctionBidInput;
|
|
17
|
+
exports.AuctionBidInputFromJSON = AuctionBidInputFromJSON;
|
|
18
|
+
exports.AuctionBidInputFromJSONTyped = AuctionBidInputFromJSONTyped;
|
|
19
|
+
exports.AuctionBidInputToJSON = AuctionBidInputToJSON;
|
|
20
|
+
exports.AuctionBidInputToJSONTyped = AuctionBidInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AuctionBidInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAuctionBidInput(value) {
|
|
25
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AuctionBidInputFromJSON(json) {
|
|
30
|
+
return AuctionBidInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AuctionBidInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'amount': json['amount'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AuctionBidInputToJSON(json) {
|
|
41
|
+
return AuctionBidInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AuctionBidInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'amount': value['amount'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AuctionBuyerDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AuctionBuyerDto {
|
|
18
|
+
/**
|
|
19
|
+
* Auction Buyer Id
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AuctionBuyerDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Buyer Id
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AuctionBuyerDto
|
|
28
|
+
*/
|
|
29
|
+
buyerId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Auction buyer firstname
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AuctionBuyerDto
|
|
34
|
+
*/
|
|
35
|
+
firstname: string;
|
|
36
|
+
/**
|
|
37
|
+
* Auction buyer lastname
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AuctionBuyerDto
|
|
40
|
+
*/
|
|
41
|
+
lastname: string;
|
|
42
|
+
/**
|
|
43
|
+
* Auction buyer phone number
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AuctionBuyerDto
|
|
46
|
+
*/
|
|
47
|
+
phone: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Auction buyer phone verified at
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof AuctionBuyerDto
|
|
52
|
+
*/
|
|
53
|
+
phoneVerifiedAt: Date | null;
|
|
54
|
+
/**
|
|
55
|
+
* Auction buyer KYC completed at
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof AuctionBuyerDto
|
|
58
|
+
*/
|
|
59
|
+
kycCompletedAt: Date | null;
|
|
60
|
+
/**
|
|
61
|
+
* Auction buyer creation date
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof AuctionBuyerDto
|
|
64
|
+
*/
|
|
65
|
+
createdAt: Date;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the AuctionBuyerDto interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfAuctionBuyerDto(value: object): value is AuctionBuyerDto;
|
|
71
|
+
export declare function AuctionBuyerDtoFromJSON(json: any): AuctionBuyerDto;
|
|
72
|
+
export declare function AuctionBuyerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionBuyerDto;
|
|
73
|
+
export declare function AuctionBuyerDtoToJSON(json: any): AuctionBuyerDto;
|
|
74
|
+
export declare function AuctionBuyerDtoToJSONTyped(value?: AuctionBuyerDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAuctionBuyerDto = instanceOfAuctionBuyerDto;
|
|
17
|
+
exports.AuctionBuyerDtoFromJSON = AuctionBuyerDtoFromJSON;
|
|
18
|
+
exports.AuctionBuyerDtoFromJSONTyped = AuctionBuyerDtoFromJSONTyped;
|
|
19
|
+
exports.AuctionBuyerDtoToJSON = AuctionBuyerDtoToJSON;
|
|
20
|
+
exports.AuctionBuyerDtoToJSONTyped = AuctionBuyerDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AuctionBuyerDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAuctionBuyerDto(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('buyerId' in value) || value['buyerId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('firstname' in value) || value['firstname'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('lastname' in value) || value['lastname'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('phone' in value) || value['phone'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('phoneVerifiedAt' in value) || value['phoneVerifiedAt'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('kycCompletedAt' in value) || value['kycCompletedAt'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function AuctionBuyerDtoFromJSON(json) {
|
|
44
|
+
return AuctionBuyerDtoFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AuctionBuyerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': json['id'],
|
|
52
|
+
'buyerId': json['buyerId'],
|
|
53
|
+
'firstname': json['firstname'],
|
|
54
|
+
'lastname': json['lastname'],
|
|
55
|
+
'phone': json['phone'],
|
|
56
|
+
'phoneVerifiedAt': (json['phoneVerifiedAt'] == null ? null : new Date(json['phoneVerifiedAt'])),
|
|
57
|
+
'kycCompletedAt': (json['kycCompletedAt'] == null ? null : new Date(json['kycCompletedAt'])),
|
|
58
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function AuctionBuyerDtoToJSON(json) {
|
|
62
|
+
return AuctionBuyerDtoToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function AuctionBuyerDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
65
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': value['id'],
|
|
71
|
+
'buyerId': value['buyerId'],
|
|
72
|
+
'firstname': value['firstname'],
|
|
73
|
+
'lastname': value['lastname'],
|
|
74
|
+
'phone': value['phone'],
|
|
75
|
+
'phoneVerifiedAt': (value['phoneVerifiedAt'] == null ? null : value['phoneVerifiedAt'].toISOString()),
|
|
76
|
+
'kycCompletedAt': (value['kycCompletedAt'] == null ? null : value['kycCompletedAt'].toISOString()),
|
|
77
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AuctionBuyerDto } from './AuctionBuyerDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AuctionBuyerWithTokenDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AuctionBuyerWithTokenDto {
|
|
19
|
+
/**
|
|
20
|
+
* Auction buyer token
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AuctionBuyerWithTokenDto
|
|
23
|
+
*/
|
|
24
|
+
token: string;
|
|
25
|
+
/**
|
|
26
|
+
* Auction buyer
|
|
27
|
+
* @type {AuctionBuyerDto}
|
|
28
|
+
* @memberof AuctionBuyerWithTokenDto
|
|
29
|
+
*/
|
|
30
|
+
auctionBuyer: AuctionBuyerDto | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AuctionBuyerWithTokenDto interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfAuctionBuyerWithTokenDto(value: object): value is AuctionBuyerWithTokenDto;
|
|
36
|
+
export declare function AuctionBuyerWithTokenDtoFromJSON(json: any): AuctionBuyerWithTokenDto;
|
|
37
|
+
export declare function AuctionBuyerWithTokenDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionBuyerWithTokenDto;
|
|
38
|
+
export declare function AuctionBuyerWithTokenDtoToJSON(json: any): AuctionBuyerWithTokenDto;
|
|
39
|
+
export declare function AuctionBuyerWithTokenDtoToJSONTyped(value?: AuctionBuyerWithTokenDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfAuctionBuyerWithTokenDto = instanceOfAuctionBuyerWithTokenDto;
|
|
17
|
+
exports.AuctionBuyerWithTokenDtoFromJSON = AuctionBuyerWithTokenDtoFromJSON;
|
|
18
|
+
exports.AuctionBuyerWithTokenDtoFromJSONTyped = AuctionBuyerWithTokenDtoFromJSONTyped;
|
|
19
|
+
exports.AuctionBuyerWithTokenDtoToJSON = AuctionBuyerWithTokenDtoToJSON;
|
|
20
|
+
exports.AuctionBuyerWithTokenDtoToJSONTyped = AuctionBuyerWithTokenDtoToJSONTyped;
|
|
21
|
+
var AuctionBuyerDto_1 = require("./AuctionBuyerDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AuctionBuyerWithTokenDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAuctionBuyerWithTokenDto(value) {
|
|
26
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('auctionBuyer' in value) || value['auctionBuyer'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function AuctionBuyerWithTokenDtoFromJSON(json) {
|
|
33
|
+
return AuctionBuyerWithTokenDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function AuctionBuyerWithTokenDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'token': json['token'],
|
|
41
|
+
'auctionBuyer': (0, AuctionBuyerDto_1.AuctionBuyerDtoFromJSON)(json['auctionBuyer']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function AuctionBuyerWithTokenDtoToJSON(json) {
|
|
45
|
+
return AuctionBuyerWithTokenDtoToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AuctionBuyerWithTokenDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'token': value['token'],
|
|
54
|
+
'auctionBuyer': (0, AuctionBuyerDto_1.AuctionBuyerDtoToJSON)(value['auctionBuyer']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AuctionBidDto } from './AuctionBidDto';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AuctionDto
|
|
18
|
+
*/
|
|
19
|
+
export interface AuctionDto {
|
|
20
|
+
/**
|
|
21
|
+
* Auction Id
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AuctionDto
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Auction minimum bid
|
|
28
|
+
* @type {MoneyDto}
|
|
29
|
+
* @memberof AuctionDto
|
|
30
|
+
*/
|
|
31
|
+
minimumBid: MoneyDto;
|
|
32
|
+
/**
|
|
33
|
+
* Auction reserve price
|
|
34
|
+
* @type {MoneyDto}
|
|
35
|
+
* @memberof AuctionDto
|
|
36
|
+
*/
|
|
37
|
+
reservePrice: MoneyDto | null;
|
|
38
|
+
/**
|
|
39
|
+
* Auction highest bid
|
|
40
|
+
* @type {MoneyDto}
|
|
41
|
+
* @memberof AuctionDto
|
|
42
|
+
*/
|
|
43
|
+
highestBid: MoneyDto | null;
|
|
44
|
+
/**
|
|
45
|
+
* Auction start date
|
|
46
|
+
* @type {Date}
|
|
47
|
+
* @memberof AuctionDto
|
|
48
|
+
*/
|
|
49
|
+
startDate: Date;
|
|
50
|
+
/**
|
|
51
|
+
* Auction end date
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof AuctionDto
|
|
54
|
+
*/
|
|
55
|
+
endDate: Date;
|
|
56
|
+
/**
|
|
57
|
+
* Auction latestBids bids
|
|
58
|
+
* @type {Array<AuctionBidDto>}
|
|
59
|
+
* @memberof AuctionDto
|
|
60
|
+
*/
|
|
61
|
+
latestBids: Array<AuctionBidDto>;
|
|
62
|
+
/**
|
|
63
|
+
* Auction needs phone verification
|
|
64
|
+
* @type {boolean}
|
|
65
|
+
* @memberof AuctionDto
|
|
66
|
+
*/
|
|
67
|
+
needsPhoneVerification: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Auction needs KYC
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof AuctionDto
|
|
72
|
+
*/
|
|
73
|
+
needsKyc: boolean;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the AuctionDto interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfAuctionDto(value: object): value is AuctionDto;
|
|
79
|
+
export declare function AuctionDtoFromJSON(json: any): AuctionDto;
|
|
80
|
+
export declare function AuctionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionDto;
|
|
81
|
+
export declare function AuctionDtoToJSON(json: any): AuctionDto;
|
|
82
|
+
export declare function AuctionDtoToJSONTyped(value?: AuctionDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,85 @@
|
|
|
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.instanceOfAuctionDto = instanceOfAuctionDto;
|
|
17
|
+
exports.AuctionDtoFromJSON = AuctionDtoFromJSON;
|
|
18
|
+
exports.AuctionDtoFromJSONTyped = AuctionDtoFromJSONTyped;
|
|
19
|
+
exports.AuctionDtoToJSON = AuctionDtoToJSON;
|
|
20
|
+
exports.AuctionDtoToJSONTyped = AuctionDtoToJSONTyped;
|
|
21
|
+
var AuctionBidDto_1 = require("./AuctionBidDto");
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AuctionDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAuctionDto(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('minimumBid' in value) || value['minimumBid'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('reservePrice' in value) || value['reservePrice'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('highestBid' in value) || value['highestBid'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('startDate' in value) || value['startDate'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('endDate' in value) || value['endDate'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('latestBids' in value) || value['latestBids'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('needsPhoneVerification' in value) || value['needsPhoneVerification'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('needsKyc' in value) || value['needsKyc'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function AuctionDtoFromJSON(json) {
|
|
48
|
+
return AuctionDtoFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function AuctionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': json['id'],
|
|
56
|
+
'minimumBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minimumBid']),
|
|
57
|
+
'reservePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['reservePrice']),
|
|
58
|
+
'highestBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['highestBid']),
|
|
59
|
+
'startDate': (new Date(json['startDate'])),
|
|
60
|
+
'endDate': (new Date(json['endDate'])),
|
|
61
|
+
'latestBids': (json['latestBids'].map(AuctionBidDto_1.AuctionBidDtoFromJSON)),
|
|
62
|
+
'needsPhoneVerification': json['needsPhoneVerification'],
|
|
63
|
+
'needsKyc': json['needsKyc'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function AuctionDtoToJSON(json) {
|
|
67
|
+
return AuctionDtoToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function AuctionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
70
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'id': value['id'],
|
|
76
|
+
'minimumBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['minimumBid']),
|
|
77
|
+
'reservePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['reservePrice']),
|
|
78
|
+
'highestBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['highestBid']),
|
|
79
|
+
'startDate': ((value['startDate']).toISOString()),
|
|
80
|
+
'endDate': ((value['endDate']).toISOString()),
|
|
81
|
+
'latestBids': (value['latestBids'].map(AuctionBidDto_1.AuctionBidDtoToJSON)),
|
|
82
|
+
'needsPhoneVerification': value['needsPhoneVerification'],
|
|
83
|
+
'needsKyc': value['needsKyc'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { BuyerLeadListItemDomainDto } from './BuyerLeadListItemDomainDto';
|
|
13
13
|
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -41,6 +42,18 @@ export interface BuyerLeadListItemDto {
|
|
|
41
42
|
* @memberof BuyerLeadListItemDto
|
|
42
43
|
*/
|
|
43
44
|
lastOfferBy: BuyerLeadListItemDtoLastOfferByEnum | null;
|
|
45
|
+
/**
|
|
46
|
+
* The last offer type
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof BuyerLeadListItemDto
|
|
49
|
+
*/
|
|
50
|
+
lastOfferType: BuyerLeadListItemDtoLastOfferTypeEnum | null;
|
|
51
|
+
/**
|
|
52
|
+
* Lease to own configuration
|
|
53
|
+
* @type {LeaseToOwnConfigurationDto}
|
|
54
|
+
* @memberof BuyerLeadListItemDto
|
|
55
|
+
*/
|
|
56
|
+
leaseToOwn: LeaseToOwnConfigurationDto | null;
|
|
44
57
|
/**
|
|
45
58
|
* Created at date
|
|
46
59
|
* @type {Date}
|
|
@@ -93,6 +106,16 @@ export declare const BuyerLeadListItemDtoLastOfferByEnum: {
|
|
|
93
106
|
readonly ADMIN: "admin";
|
|
94
107
|
};
|
|
95
108
|
export type BuyerLeadListItemDtoLastOfferByEnum = typeof BuyerLeadListItemDtoLastOfferByEnum[keyof typeof BuyerLeadListItemDtoLastOfferByEnum];
|
|
109
|
+
/**
|
|
110
|
+
* @export
|
|
111
|
+
*/
|
|
112
|
+
export declare const BuyerLeadListItemDtoLastOfferTypeEnum: {
|
|
113
|
+
readonly LEAD: "lead";
|
|
114
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
115
|
+
readonly RENT: "rent";
|
|
116
|
+
readonly AUCTION: "auction";
|
|
117
|
+
};
|
|
118
|
+
export type BuyerLeadListItemDtoLastOfferTypeEnum = typeof BuyerLeadListItemDtoLastOfferTypeEnum[keyof typeof BuyerLeadListItemDtoLastOfferTypeEnum];
|
|
96
119
|
/**
|
|
97
120
|
* Check if a given object implements the BuyerLeadListItemDto interface.
|
|
98
121
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.BuyerLeadListItemDtoLastOfferByEnum = exports.BuyerLeadListItemDtoStatusEnum = void 0;
|
|
16
|
+
exports.BuyerLeadListItemDtoLastOfferTypeEnum = exports.BuyerLeadListItemDtoLastOfferByEnum = exports.BuyerLeadListItemDtoStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfBuyerLeadListItemDto = instanceOfBuyerLeadListItemDto;
|
|
18
18
|
exports.BuyerLeadListItemDtoFromJSON = BuyerLeadListItemDtoFromJSON;
|
|
19
19
|
exports.BuyerLeadListItemDtoFromJSONTyped = BuyerLeadListItemDtoFromJSONTyped;
|
|
@@ -21,6 +21,7 @@ exports.BuyerLeadListItemDtoToJSON = BuyerLeadListItemDtoToJSON;
|
|
|
21
21
|
exports.BuyerLeadListItemDtoToJSONTyped = BuyerLeadListItemDtoToJSONTyped;
|
|
22
22
|
var BuyerLeadListItemDomainDto_1 = require("./BuyerLeadListItemDomainDto");
|
|
23
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
24
|
+
var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
24
25
|
/**
|
|
25
26
|
* @export
|
|
26
27
|
*/
|
|
@@ -40,6 +41,15 @@ exports.BuyerLeadListItemDtoLastOfferByEnum = {
|
|
|
40
41
|
AI: 'ai',
|
|
41
42
|
ADMIN: 'admin'
|
|
42
43
|
};
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
exports.BuyerLeadListItemDtoLastOfferTypeEnum = {
|
|
48
|
+
LEAD: 'lead',
|
|
49
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
50
|
+
RENT: 'rent',
|
|
51
|
+
AUCTION: 'auction'
|
|
52
|
+
};
|
|
43
53
|
/**
|
|
44
54
|
* Check if a given object implements the BuyerLeadListItemDto interface.
|
|
45
55
|
*/
|
|
@@ -52,6 +62,10 @@ function instanceOfBuyerLeadListItemDto(value) {
|
|
|
52
62
|
return false;
|
|
53
63
|
if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
|
|
54
64
|
return false;
|
|
65
|
+
if (!('lastOfferType' in value) || value['lastOfferType'] === undefined)
|
|
66
|
+
return false;
|
|
67
|
+
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
68
|
+
return false;
|
|
55
69
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
56
70
|
return false;
|
|
57
71
|
if (!('domain' in value) || value['domain'] === undefined)
|
|
@@ -76,6 +90,8 @@ function BuyerLeadListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
76
90
|
'status': json['status'],
|
|
77
91
|
'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
|
|
78
92
|
'lastOfferBy': json['lastOfferBy'],
|
|
93
|
+
'lastOfferType': json['lastOfferType'],
|
|
94
|
+
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
79
95
|
'createdAt': (new Date(json['createdAt'])),
|
|
80
96
|
'domain': (0, BuyerLeadListItemDomainDto_1.BuyerLeadListItemDomainDtoFromJSON)(json['domain']),
|
|
81
97
|
'unreadMessages': json['unreadMessages'],
|
|
@@ -96,6 +112,8 @@ function BuyerLeadListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
96
112
|
'status': value['status'],
|
|
97
113
|
'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
|
|
98
114
|
'lastOfferBy': value['lastOfferBy'],
|
|
115
|
+
'lastOfferType': value['lastOfferType'],
|
|
116
|
+
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
99
117
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
100
118
|
'domain': (0, BuyerLeadListItemDomainDto_1.BuyerLeadListItemDomainDtoToJSON)(value['domain']),
|
|
101
119
|
'unreadMessages': value['unreadMessages'],
|