@randock/nameshift-api-client 0.0.18 → 0.0.20
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 +4 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +6 -4
- package/dist/apis/AccountsApi.js +18 -18
- package/dist/apis/AuthApi.js +3 -3
- package/dist/apis/DomainsApi.d.ts +1 -1
- package/dist/apis/DomainsApi.js +30 -30
- package/dist/apis/DomainsPublicApi.d.ts +4 -12
- package/dist/apis/DomainsPublicApi.js +8 -50
- package/dist/apis/LeadsApi.js +18 -18
- package/dist/apis/LeadsPublicApi.js +3 -3
- package/dist/models/AccountAddressDto.js +21 -21
- package/dist/models/AccountAddressInput.js +21 -21
- package/dist/models/AccountDto.js +10 -12
- package/dist/models/AccountFinancialInput.js +16 -16
- package/dist/models/AccountSettingsInput.js +6 -11
- package/dist/models/BatchUpdate404Response.js +12 -15
- package/dist/models/BatchUpdateDomainsInput.js +10 -12
- package/dist/models/CreateLeadInput.js +22 -20
- package/dist/models/CreateLeadMessageInput.js +7 -10
- package/dist/models/DeleteDomainsInput.js +7 -10
- package/dist/models/DomainDto.d.ts +2 -2
- package/dist/models/DomainDto.js +25 -22
- package/dist/models/DomainSalesInformationDto.d.ts +51 -0
- package/dist/models/DomainSalesInformationDto.js +61 -0
- package/dist/models/DomainSellerDto.d.ts +37 -0
- package/dist/models/DomainSellerDto.js +51 -0
- package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.js +19 -18
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +2 -2
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +28 -24
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +2 -2
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +31 -26
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +22 -20
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +40 -32
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.js +7 -10
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.js +10 -12
- package/dist/models/LeadMessageData.js +7 -10
- package/dist/models/LeadMessageDto.js +25 -22
- package/dist/models/LeadMessageDtoData.js +7 -10
- package/dist/models/List200Response.js +13 -14
- package/dist/models/List400Response.js +12 -15
- package/dist/models/List401Response.js +12 -15
- package/dist/models/ListLeadMessagesDto.js +7 -10
- package/dist/models/Login401Response.js +12 -15
- package/dist/models/Login429Response.js +12 -15
- package/dist/models/LoginInput.js +10 -12
- package/dist/models/MoneyDto.js +10 -12
- package/dist/models/MoneyInput.js +10 -12
- package/dist/models/ObjectId.js +7 -10
- package/dist/models/PaginateResponse.js +13 -14
- package/dist/models/PaginateResponseLinks.d.ts +5 -5
- package/dist/models/PaginateResponseLinks.js +14 -19
- package/dist/models/PaginateResponseMeta.js +18 -23
- package/dist/models/PublicDomainControllerGetDomainSalesInformation404Response.d.ts +43 -0
- package/dist/models/PublicDomainControllerGetDomainSalesInformation404Response.js +53 -0
- package/dist/models/PutLeadInput.js +7 -10
- package/dist/models/TokenDto.js +7 -10
- package/dist/models/UpdateDomainInput.d.ts +2 -2
- package/dist/models/UpdateDomainInput.js +8 -13
- package/dist/models/UpdateFinancial400Response.js +12 -15
- package/dist/models/UpdateSettings400Response.js +12 -15
- package/dist/models/UpdateSettings401Response.js +12 -15
- package/dist/models/UpdateSettings429Response.js +12 -15
- package/dist/models/WithFinancialDtoInner.js +16 -16
- package/dist/models/WithSettingsInner.js +7 -10
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/runtime.d.ts +2 -3
- package/dist/runtime.js +1 -6
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +36 -18
- package/src/apis/AuthApi.ts +6 -3
- package/src/apis/DomainsApi.ts +49 -31
- package/src/apis/DomainsPublicApi.ts +17 -46
- package/src/apis/LeadsApi.ts +36 -18
- package/src/apis/LeadsPublicApi.ts +6 -3
- package/src/models/AccountAddressDto.ts +17 -22
- package/src/models/AccountAddressInput.ts +17 -22
- package/src/models/AccountDto.ts +9 -14
- package/src/models/AccountFinancialInput.ts +13 -18
- package/src/models/AccountSettingsInput.ts +7 -12
- package/src/models/BatchUpdate404Response.ts +11 -16
- package/src/models/BatchUpdateDomainsInput.ts +9 -14
- package/src/models/CreateLeadInput.ts +17 -22
- package/src/models/CreateLeadMessageInput.ts +7 -12
- package/src/models/DeleteDomainsInput.ts +7 -12
- package/src/models/DomainDto.ts +21 -26
- package/src/models/DomainSalesInformationDto.ts +101 -0
- package/src/models/DomainSellerDto.ts +70 -0
- package/src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts +15 -20
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +23 -28
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +25 -30
- package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +17 -22
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +29 -34
- package/src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts +7 -12
- package/src/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.ts +9 -14
- package/src/models/LeadMessageData.ts +7 -12
- package/src/models/LeadMessageDto.ts +19 -24
- package/src/models/LeadMessageDtoData.ts +7 -12
- package/src/models/List200Response.ts +11 -16
- package/src/models/List400Response.ts +11 -16
- package/src/models/List401Response.ts +11 -16
- package/src/models/ListLeadMessagesDto.ts +7 -12
- package/src/models/Login401Response.ts +11 -16
- package/src/models/Login429Response.ts +11 -16
- package/src/models/LoginInput.ts +9 -14
- package/src/models/MoneyDto.ts +9 -14
- package/src/models/MoneyInput.ts +9 -14
- package/src/models/ObjectId.ts +7 -12
- package/src/models/PaginateResponse.ts +11 -16
- package/src/models/PaginateResponseLinks.ts +20 -25
- package/src/models/PaginateResponseMeta.ts +19 -24
- package/src/models/PublicDomainControllerGetDomainSalesInformation404Response.ts +78 -0
- package/src/models/PutLeadInput.ts +7 -12
- package/src/models/TokenDto.ts +7 -12
- package/src/models/UpdateDomainInput.ts +11 -16
- package/src/models/UpdateFinancial400Response.ts +11 -16
- package/src/models/UpdateSettings400Response.ts +11 -16
- package/src/models/UpdateSettings401Response.ts +11 -16
- package/src/models/UpdateSettings429Response.ts +11 -16
- package/src/models/WithFinancialDtoInner.ts +13 -18
- package/src/models/WithSettingsInner.ts +7 -12
- package/src/models/index.ts +3 -1
- package/src/runtime.ts +3 -8
- package/dist/apis/TestApi.d.ts +0 -23
- package/dist/apis/TestApi.js +0 -116
- package/dist/models/CreateLeadMessageInputData.d.ts +0 -32
- package/dist/models/CreateLeadMessageInputData.js +0 -51
- package/dist/models/ImportDomainsDto.d.ts +0 -49
- package/dist/models/ImportDomainsDto.js +0 -59
- package/dist/models/IntersectionAccountDtoWithAddressDto.d.ts +0 -44
- package/dist/models/IntersectionAccountDtoWithAddressDto.js +0 -57
- package/dist/models/IntersectionAccountDtoWithFinancialDto.d.ts +0 -44
- package/dist/models/IntersectionAccountDtoWithFinancialDto.js +0 -57
- package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.d.ts +0 -49
- package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.js +0 -56
- package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +0 -44
- package/dist/models/IntersectionAccountDtoWithSettingsDto.js +0 -57
- package/dist/models/IntersectionAccountDtoWithSettingsDtoSettings.d.ts +0 -32
- package/dist/models/IntersectionAccountDtoWithSettingsDtoSettings.js +0 -51
- package/dist/models/IntersectionLeadDto.d.ts +0 -52
- package/dist/models/IntersectionLeadDto.js +0 -64
- package/dist/models/LeadDto.d.ts +0 -74
- package/dist/models/LeadDto.js +0 -79
- package/dist/models/List429Response.d.ts +0 -43
- package/dist/models/List429Response.js +0 -56
- package/dist/models/PublicDomainControllerGetDomainIdentifier404Response.d.ts +0 -43
- package/dist/models/PublicDomainControllerGetDomainIdentifier404Response.js +0 -56
- package/src/apis/TestApi.ts +0 -46
- package/src/models/CreateLeadMessageInputData.ts +0 -73
- package/src/models/ImportDomainsDto.ts +0 -93
- package/src/models/IntersectionAccountDtoWithAddressDto.ts +0 -91
- package/src/models/IntersectionAccountDtoWithFinancialDto.ts +0 -91
- package/src/models/IntersectionAccountDtoWithFinancialDtoFinancial.ts +0 -89
- package/src/models/IntersectionAccountDtoWithSettingsDto.ts +0 -91
- package/src/models/IntersectionAccountDtoWithSettingsDtoSettings.ts +0 -72
- package/src/models/IntersectionLeadDto.ts +0 -96
- package/src/models/LeadDto.ts +0 -131
- package/src/models/List429Response.ts +0 -83
- package/src/models/PublicDomainControllerGetDomainIdentifier404Response.ts +0 -83
|
@@ -0,0 +1,51 @@
|
|
|
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 { DomainSellerDto } from './DomainSellerDto';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface DomainSalesInformationDto
|
|
18
|
+
*/
|
|
19
|
+
export interface DomainSalesInformationDto {
|
|
20
|
+
/**
|
|
21
|
+
* The domain name (example.com)
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof DomainSalesInformationDto
|
|
24
|
+
*/
|
|
25
|
+
domain: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {MoneyDto}
|
|
29
|
+
* @memberof DomainSalesInformationDto
|
|
30
|
+
*/
|
|
31
|
+
buyNowPrice: MoneyDto | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {MoneyDto}
|
|
35
|
+
* @memberof DomainSalesInformationDto
|
|
36
|
+
*/
|
|
37
|
+
minOfferPrice: MoneyDto | null;
|
|
38
|
+
/**
|
|
39
|
+
* The domain seller information
|
|
40
|
+
* @type {DomainSellerDto}
|
|
41
|
+
* @memberof DomainSalesInformationDto
|
|
42
|
+
*/
|
|
43
|
+
seller: DomainSellerDto;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfDomainSalesInformationDto(value: object): boolean;
|
|
49
|
+
export declare function DomainSalesInformationDtoFromJSON(json: any): DomainSalesInformationDto;
|
|
50
|
+
export declare function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDto;
|
|
51
|
+
export declare function DomainSalesInformationDtoToJSON(value?: DomainSalesInformationDto | null): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.DomainSalesInformationDtoToJSON = exports.DomainSalesInformationDtoFromJSONTyped = exports.DomainSalesInformationDtoFromJSON = exports.instanceOfDomainSalesInformationDto = void 0;
|
|
17
|
+
var DomainSellerDto_1 = require("./DomainSellerDto");
|
|
18
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfDomainSalesInformationDto(value) {
|
|
23
|
+
if (!('domain' in value))
|
|
24
|
+
return false;
|
|
25
|
+
if (!('buyNowPrice' in value))
|
|
26
|
+
return false;
|
|
27
|
+
if (!('minOfferPrice' in value))
|
|
28
|
+
return false;
|
|
29
|
+
if (!('seller' in value))
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfDomainSalesInformationDto = instanceOfDomainSalesInformationDto;
|
|
34
|
+
function DomainSalesInformationDtoFromJSON(json) {
|
|
35
|
+
return DomainSalesInformationDtoFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.DomainSalesInformationDtoFromJSON = DomainSalesInformationDtoFromJSON;
|
|
38
|
+
function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'domain': json['domain'],
|
|
44
|
+
'buyNowPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNowPrice']),
|
|
45
|
+
'minOfferPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOfferPrice']),
|
|
46
|
+
'seller': (0, DomainSellerDto_1.DomainSellerDtoFromJSON)(json['seller']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
exports.DomainSalesInformationDtoFromJSONTyped = DomainSalesInformationDtoFromJSONTyped;
|
|
50
|
+
function DomainSalesInformationDtoToJSON(value) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'domain': value['domain'],
|
|
56
|
+
'buyNowPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNowPrice']),
|
|
57
|
+
'minOfferPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOfferPrice']),
|
|
58
|
+
'seller': (0, DomainSellerDto_1.DomainSellerDtoToJSON)(value['seller']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
exports.DomainSalesInformationDtoToJSON = DomainSalesInformationDtoToJSON;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 DomainSellerDto
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainSellerDto {
|
|
18
|
+
/**
|
|
19
|
+
* The domain seller account verified status
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof DomainSellerDto
|
|
22
|
+
*/
|
|
23
|
+
verified: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The domain seller account creation date
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof DomainSellerDto
|
|
28
|
+
*/
|
|
29
|
+
createdAt: Date;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DomainSellerDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDomainSellerDto(value: object): boolean;
|
|
35
|
+
export declare function DomainSellerDtoFromJSON(json: any): DomainSellerDto;
|
|
36
|
+
export declare function DomainSellerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSellerDto;
|
|
37
|
+
export declare function DomainSellerDtoToJSON(value?: DomainSellerDto | null): 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.DomainSellerDtoToJSON = exports.DomainSellerDtoFromJSONTyped = exports.DomainSellerDtoFromJSON = exports.instanceOfDomainSellerDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the DomainSellerDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfDomainSellerDto(value) {
|
|
21
|
+
if (!('verified' in value))
|
|
22
|
+
return false;
|
|
23
|
+
if (!('createdAt' in value))
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfDomainSellerDto = instanceOfDomainSellerDto;
|
|
28
|
+
function DomainSellerDtoFromJSON(json) {
|
|
29
|
+
return DomainSellerDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.DomainSellerDtoFromJSON = DomainSellerDtoFromJSON;
|
|
32
|
+
function DomainSellerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'verified': json['verified'],
|
|
38
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.DomainSellerDtoFromJSONTyped = DomainSellerDtoFromJSONTyped;
|
|
42
|
+
function DomainSellerDtoToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'verified': value['verified'],
|
|
48
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.DomainSellerDtoToJSON = DomainSellerDtoToJSON;
|
|
@@ -21,13 +21,17 @@ var WithSettingsInner_1 = require("./WithSettingsInner");
|
|
|
21
21
|
* Check if a given object implements the IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto interface.
|
|
22
22
|
*/
|
|
23
23
|
function instanceOfIntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto(value) {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
if (!('id' in value))
|
|
25
|
+
return false;
|
|
26
|
+
if (!('identifier' in value))
|
|
27
|
+
return false;
|
|
28
|
+
if (!('financial' in value))
|
|
29
|
+
return false;
|
|
30
|
+
if (!('settings' in value))
|
|
31
|
+
return false;
|
|
32
|
+
if (!('addresses' in value))
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
31
35
|
}
|
|
32
36
|
exports.instanceOfIntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto = instanceOfIntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto;
|
|
33
37
|
function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSON(json) {
|
|
@@ -35,7 +39,7 @@ function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFrom
|
|
|
35
39
|
}
|
|
36
40
|
exports.IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSON = IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSON;
|
|
37
41
|
function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (
|
|
42
|
+
if (json == null) {
|
|
39
43
|
return json;
|
|
40
44
|
}
|
|
41
45
|
return {
|
|
@@ -48,18 +52,15 @@ function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFrom
|
|
|
48
52
|
}
|
|
49
53
|
exports.IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSONTyped = IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSONTyped;
|
|
50
54
|
function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoToJSON(value) {
|
|
51
|
-
if (value
|
|
52
|
-
return
|
|
53
|
-
}
|
|
54
|
-
if (value === null) {
|
|
55
|
-
return null;
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
56
57
|
}
|
|
57
58
|
return {
|
|
58
|
-
'id': value
|
|
59
|
-
'identifier': value
|
|
60
|
-
'financial': (0, WithFinancialDtoInner_1.WithFinancialDtoInnerToJSON)(value
|
|
61
|
-
'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value
|
|
62
|
-
'addresses': (value
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'identifier': value['identifier'],
|
|
61
|
+
'financial': (0, WithFinancialDtoInner_1.WithFinancialDtoInnerToJSON)(value['financial']),
|
|
62
|
+
'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
|
|
63
|
+
'addresses': (value['addresses'].map(AccountAddressDto_1.AccountAddressDtoToJSON)),
|
|
63
64
|
};
|
|
64
65
|
}
|
|
65
66
|
exports.IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoToJSON = IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoToJSON;
|
|
@@ -48,13 +48,13 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
48
48
|
*/
|
|
49
49
|
name: string;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* The BIN
|
|
52
52
|
* @type {MoneyDto}
|
|
53
53
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
54
54
|
*/
|
|
55
55
|
buyNow: MoneyDto;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* The minimum offer
|
|
58
58
|
* @type {MoneyDto}
|
|
59
59
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
60
60
|
*/
|
|
@@ -20,16 +20,23 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
20
20
|
* Check if a given object implements the IntersectionDomainDtoWithAccountDto interface.
|
|
21
21
|
*/
|
|
22
22
|
function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
23
|
+
if (!('id' in value))
|
|
24
|
+
return false;
|
|
25
|
+
if (!('tld' in value))
|
|
26
|
+
return false;
|
|
27
|
+
if (!('verified' in value))
|
|
28
|
+
return false;
|
|
29
|
+
if (!('nameservers' in value))
|
|
30
|
+
return false;
|
|
31
|
+
if (!('name' in value))
|
|
32
|
+
return false;
|
|
33
|
+
if (!('buyNow' in value))
|
|
34
|
+
return false;
|
|
35
|
+
if (!('minOffer' in value))
|
|
36
|
+
return false;
|
|
37
|
+
if (!('account' in value))
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
33
40
|
}
|
|
34
41
|
exports.instanceOfIntersectionDomainDtoWithAccountDto = instanceOfIntersectionDomainDtoWithAccountDto;
|
|
35
42
|
function IntersectionDomainDtoWithAccountDtoFromJSON(json) {
|
|
@@ -37,7 +44,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSON(json) {
|
|
|
37
44
|
}
|
|
38
45
|
exports.IntersectionDomainDtoWithAccountDtoFromJSON = IntersectionDomainDtoWithAccountDtoFromJSON;
|
|
39
46
|
function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if (
|
|
47
|
+
if (json == null) {
|
|
41
48
|
return json;
|
|
42
49
|
}
|
|
43
50
|
return {
|
|
@@ -53,21 +60,18 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
53
60
|
}
|
|
54
61
|
exports.IntersectionDomainDtoWithAccountDtoFromJSONTyped = IntersectionDomainDtoWithAccountDtoFromJSONTyped;
|
|
55
62
|
function IntersectionDomainDtoWithAccountDtoToJSON(value) {
|
|
56
|
-
if (value
|
|
57
|
-
return
|
|
58
|
-
}
|
|
59
|
-
if (value === null) {
|
|
60
|
-
return null;
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
61
65
|
}
|
|
62
66
|
return {
|
|
63
|
-
'id': value
|
|
64
|
-
'tld': value
|
|
65
|
-
'verified': value
|
|
66
|
-
'nameservers': value
|
|
67
|
-
'name': value
|
|
68
|
-
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value
|
|
69
|
-
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value
|
|
70
|
-
'account': (0, AccountDto_1.AccountDtoToJSON)(value
|
|
67
|
+
'id': value['id'],
|
|
68
|
+
'tld': value['tld'],
|
|
69
|
+
'verified': value['verified'],
|
|
70
|
+
'nameservers': value['nameservers'],
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
73
|
+
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
74
|
+
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
71
75
|
};
|
|
72
76
|
}
|
|
73
77
|
exports.IntersectionDomainDtoWithAccountDtoToJSON = IntersectionDomainDtoWithAccountDtoToJSON;
|
|
@@ -48,13 +48,13 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
48
48
|
*/
|
|
49
49
|
name: string;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* The BIN
|
|
52
52
|
* @type {MoneyDto}
|
|
53
53
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
54
54
|
*/
|
|
55
55
|
buyNow: MoneyDto;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* The minimum offer
|
|
58
58
|
* @type {MoneyDto}
|
|
59
59
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
60
60
|
*/
|
|
@@ -20,17 +20,25 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
20
20
|
* Check if a given object implements the IntersectionDomainDtoWithHijackerDtoWithAccountDto interface.
|
|
21
21
|
*/
|
|
22
22
|
function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
23
|
+
if (!('id' in value))
|
|
24
|
+
return false;
|
|
25
|
+
if (!('tld' in value))
|
|
26
|
+
return false;
|
|
27
|
+
if (!('verified' in value))
|
|
28
|
+
return false;
|
|
29
|
+
if (!('nameservers' in value))
|
|
30
|
+
return false;
|
|
31
|
+
if (!('name' in value))
|
|
32
|
+
return false;
|
|
33
|
+
if (!('buyNow' in value))
|
|
34
|
+
return false;
|
|
35
|
+
if (!('minOffer' in value))
|
|
36
|
+
return false;
|
|
37
|
+
if (!('hijacker' in value))
|
|
38
|
+
return false;
|
|
39
|
+
if (!('account' in value))
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
34
42
|
}
|
|
35
43
|
exports.instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto = instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto;
|
|
36
44
|
function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON(json) {
|
|
@@ -38,7 +46,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON(json) {
|
|
|
38
46
|
}
|
|
39
47
|
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON = IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON;
|
|
40
48
|
function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
if (
|
|
49
|
+
if (json == null) {
|
|
42
50
|
return json;
|
|
43
51
|
}
|
|
44
52
|
return {
|
|
@@ -55,22 +63,19 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
55
63
|
}
|
|
56
64
|
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped = IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped;
|
|
57
65
|
function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value) {
|
|
58
|
-
if (value
|
|
59
|
-
return
|
|
60
|
-
}
|
|
61
|
-
if (value === null) {
|
|
62
|
-
return null;
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
63
68
|
}
|
|
64
69
|
return {
|
|
65
|
-
'id': value
|
|
66
|
-
'tld': value
|
|
67
|
-
'verified': value
|
|
68
|
-
'nameservers': value
|
|
69
|
-
'name': value
|
|
70
|
-
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value
|
|
71
|
-
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value
|
|
72
|
-
'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value
|
|
73
|
-
'account': (0, AccountDto_1.AccountDtoToJSON)(value
|
|
70
|
+
'id': value['id'],
|
|
71
|
+
'tld': value['tld'],
|
|
72
|
+
'verified': value['verified'],
|
|
73
|
+
'nameservers': value['nameservers'],
|
|
74
|
+
'name': value['name'],
|
|
75
|
+
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
76
|
+
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
77
|
+
'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value['hijacker']),
|
|
78
|
+
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
74
79
|
};
|
|
75
80
|
}
|
|
76
81
|
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON;
|
|
@@ -36,14 +36,19 @@ exports.IntersectionLeadDtoWithLeadDetailsDtoLastOfferByEnum = {
|
|
|
36
36
|
* Check if a given object implements the IntersectionLeadDtoWithLeadDetailsDto interface.
|
|
37
37
|
*/
|
|
38
38
|
function instanceOfIntersectionLeadDtoWithLeadDetailsDto(value) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
if (!('id' in value))
|
|
40
|
+
return false;
|
|
41
|
+
if (!('status' in value))
|
|
42
|
+
return false;
|
|
43
|
+
if (!('lastOffer' in value))
|
|
44
|
+
return false;
|
|
45
|
+
if (!('lastOfferBy' in value))
|
|
46
|
+
return false;
|
|
47
|
+
if (!('domain' in value))
|
|
48
|
+
return false;
|
|
49
|
+
if (!('createdAt' in value))
|
|
50
|
+
return false;
|
|
51
|
+
return true;
|
|
47
52
|
}
|
|
48
53
|
exports.instanceOfIntersectionLeadDtoWithLeadDetailsDto = instanceOfIntersectionLeadDtoWithLeadDetailsDto;
|
|
49
54
|
function IntersectionLeadDtoWithLeadDetailsDtoFromJSON(json) {
|
|
@@ -51,7 +56,7 @@ function IntersectionLeadDtoWithLeadDetailsDtoFromJSON(json) {
|
|
|
51
56
|
}
|
|
52
57
|
exports.IntersectionLeadDtoWithLeadDetailsDtoFromJSON = IntersectionLeadDtoWithLeadDetailsDtoFromJSON;
|
|
53
58
|
function IntersectionLeadDtoWithLeadDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
-
if (
|
|
59
|
+
if (json == null) {
|
|
55
60
|
return json;
|
|
56
61
|
}
|
|
57
62
|
return {
|
|
@@ -65,19 +70,16 @@ function IntersectionLeadDtoWithLeadDetailsDtoFromJSONTyped(json, ignoreDiscrimi
|
|
|
65
70
|
}
|
|
66
71
|
exports.IntersectionLeadDtoWithLeadDetailsDtoFromJSONTyped = IntersectionLeadDtoWithLeadDetailsDtoFromJSONTyped;
|
|
67
72
|
function IntersectionLeadDtoWithLeadDetailsDtoToJSON(value) {
|
|
68
|
-
if (value
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
if (value === null) {
|
|
72
|
-
return null;
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
73
75
|
}
|
|
74
76
|
return {
|
|
75
|
-
'id': value
|
|
76
|
-
'status': value
|
|
77
|
-
'lastOffer': (0, IntersectionLeadDtoWithListFieldsDtoLastOffer_1.IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON)(value
|
|
78
|
-
'lastOfferBy': value
|
|
79
|
-
'domain': (0, IntersectionDomainDtoWithAccountDto_1.IntersectionDomainDtoWithAccountDtoToJSON)(value
|
|
80
|
-
'createdAt': (value
|
|
77
|
+
'id': value['id'],
|
|
78
|
+
'status': value['status'],
|
|
79
|
+
'lastOffer': (0, IntersectionLeadDtoWithListFieldsDtoLastOffer_1.IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON)(value['lastOffer']),
|
|
80
|
+
'lastOfferBy': value['lastOfferBy'],
|
|
81
|
+
'domain': (0, IntersectionDomainDtoWithAccountDto_1.IntersectionDomainDtoWithAccountDtoToJSON)(value['domain']),
|
|
82
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
81
83
|
};
|
|
82
84
|
}
|
|
83
85
|
exports.IntersectionLeadDtoWithLeadDetailsDtoToJSON = IntersectionLeadDtoWithLeadDetailsDtoToJSON;
|
|
@@ -51,20 +51,31 @@ exports.IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = {
|
|
|
51
51
|
* Check if a given object implements the IntersectionLeadDtoWithListFieldsDto interface.
|
|
52
52
|
*/
|
|
53
53
|
function instanceOfIntersectionLeadDtoWithListFieldsDto(value) {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
54
|
+
if (!('id' in value))
|
|
55
|
+
return false;
|
|
56
|
+
if (!('status' in value))
|
|
57
|
+
return false;
|
|
58
|
+
if (!('lastOffer' in value))
|
|
59
|
+
return false;
|
|
60
|
+
if (!('lastOfferBy' in value))
|
|
61
|
+
return false;
|
|
62
|
+
if (!('lastMessageFrom' in value))
|
|
63
|
+
return false;
|
|
64
|
+
if (!('lastMessageType' in value))
|
|
65
|
+
return false;
|
|
66
|
+
if (!('lastMessageData' in value))
|
|
67
|
+
return false;
|
|
68
|
+
if (!('createdAt' in value))
|
|
69
|
+
return false;
|
|
70
|
+
if (!('domainName' in value))
|
|
71
|
+
return false;
|
|
72
|
+
if (!('buyerInitials' in value))
|
|
73
|
+
return false;
|
|
74
|
+
if (!('lastMessageMessage' in value))
|
|
75
|
+
return false;
|
|
76
|
+
if (!('lastMessageDate' in value))
|
|
77
|
+
return false;
|
|
78
|
+
return true;
|
|
68
79
|
}
|
|
69
80
|
exports.instanceOfIntersectionLeadDtoWithListFieldsDto = instanceOfIntersectionLeadDtoWithListFieldsDto;
|
|
70
81
|
function IntersectionLeadDtoWithListFieldsDtoFromJSON(json) {
|
|
@@ -72,7 +83,7 @@ function IntersectionLeadDtoWithListFieldsDtoFromJSON(json) {
|
|
|
72
83
|
}
|
|
73
84
|
exports.IntersectionLeadDtoWithListFieldsDtoFromJSON = IntersectionLeadDtoWithListFieldsDtoFromJSON;
|
|
74
85
|
function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
75
|
-
if (
|
|
86
|
+
if (json == null) {
|
|
76
87
|
return json;
|
|
77
88
|
}
|
|
78
89
|
return {
|
|
@@ -92,25 +103,22 @@ function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscrimin
|
|
|
92
103
|
}
|
|
93
104
|
exports.IntersectionLeadDtoWithListFieldsDtoFromJSONTyped = IntersectionLeadDtoWithListFieldsDtoFromJSONTyped;
|
|
94
105
|
function IntersectionLeadDtoWithListFieldsDtoToJSON(value) {
|
|
95
|
-
if (value
|
|
96
|
-
return
|
|
97
|
-
}
|
|
98
|
-
if (value === null) {
|
|
99
|
-
return null;
|
|
106
|
+
if (value == null) {
|
|
107
|
+
return value;
|
|
100
108
|
}
|
|
101
109
|
return {
|
|
102
|
-
'id': value
|
|
103
|
-
'status': value
|
|
104
|
-
'lastOffer': (0, IntersectionLeadDtoWithListFieldsDtoLastOffer_1.IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON)(value
|
|
105
|
-
'lastOfferBy': value
|
|
106
|
-
'lastMessageFrom': value
|
|
107
|
-
'lastMessageType': value
|
|
108
|
-
'lastMessageData': (0, IntersectionLeadDtoWithListFieldsDtoLastMessageData_1.IntersectionLeadDtoWithListFieldsDtoLastMessageDataToJSON)(value
|
|
109
|
-
'createdAt': (value
|
|
110
|
-
'domainName': value
|
|
111
|
-
'buyerInitials': value
|
|
112
|
-
'lastMessageMessage': value
|
|
113
|
-
'lastMessageDate': (value
|
|
110
|
+
'id': value['id'],
|
|
111
|
+
'status': value['status'],
|
|
112
|
+
'lastOffer': (0, IntersectionLeadDtoWithListFieldsDtoLastOffer_1.IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON)(value['lastOffer']),
|
|
113
|
+
'lastOfferBy': value['lastOfferBy'],
|
|
114
|
+
'lastMessageFrom': value['lastMessageFrom'],
|
|
115
|
+
'lastMessageType': value['lastMessageType'],
|
|
116
|
+
'lastMessageData': (0, IntersectionLeadDtoWithListFieldsDtoLastMessageData_1.IntersectionLeadDtoWithListFieldsDtoLastMessageDataToJSON)(value['lastMessageData']),
|
|
117
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
118
|
+
'domainName': value['domainName'],
|
|
119
|
+
'buyerInitials': value['buyerInitials'],
|
|
120
|
+
'lastMessageMessage': value['lastMessageMessage'],
|
|
121
|
+
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
114
122
|
};
|
|
115
123
|
}
|
|
116
124
|
exports.IntersectionLeadDtoWithListFieldsDtoToJSON = IntersectionLeadDtoWithListFieldsDtoToJSON;
|
|
@@ -19,9 +19,9 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
19
19
|
* Check if a given object implements the IntersectionLeadDtoWithListFieldsDtoLastMessageData interface.
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfIntersectionLeadDtoWithListFieldsDtoLastMessageData(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
22
|
+
if (!('price' in value))
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
25
|
}
|
|
26
26
|
exports.instanceOfIntersectionLeadDtoWithListFieldsDtoLastMessageData = instanceOfIntersectionLeadDtoWithListFieldsDtoLastMessageData;
|
|
27
27
|
function IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSON(json) {
|
|
@@ -29,7 +29,7 @@ function IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSON(json) {
|
|
|
29
29
|
}
|
|
30
30
|
exports.IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSON = IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSON;
|
|
31
31
|
function IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
32
|
+
if (json == null) {
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
@@ -38,14 +38,11 @@ function IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSONTyped(json,
|
|
|
38
38
|
}
|
|
39
39
|
exports.IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSONTyped = IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSONTyped;
|
|
40
40
|
function IntersectionLeadDtoWithListFieldsDtoLastMessageDataToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
46
43
|
}
|
|
47
44
|
return {
|
|
48
|
-
'price': (0, MoneyDto_1.MoneyDtoToJSON)(value
|
|
45
|
+
'price': (0, MoneyDto_1.MoneyDtoToJSON)(value['price']),
|
|
49
46
|
};
|
|
50
47
|
}
|
|
51
48
|
exports.IntersectionLeadDtoWithListFieldsDtoLastMessageDataToJSON = IntersectionLeadDtoWithListFieldsDtoLastMessageDataToJSON;
|