@randock/nameshift-api-client 0.0.88 → 0.0.89
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 +6 -10
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +50 -1
- package/dist/apis/BuyersApi.js +230 -0
- package/dist/apis/LeadsApi.d.ts +13 -1
- package/dist/apis/LeadsApi.js +56 -0
- package/dist/models/BatchReadBuyerLeadMessageInput.d.ts +31 -0
- package/dist/models/BatchReadBuyerLeadMessageInput.js +46 -0
- package/dist/models/BatchReadSellerLeadMessageInput.d.ts +31 -0
- package/dist/models/BatchReadSellerLeadMessageInput.js +46 -0
- package/dist/models/BuyerLeadListItemDomainDto.d.ts +43 -0
- package/dist/models/BuyerLeadListItemDomainDto.js +54 -0
- package/dist/models/BuyerLeadListItemDto.d.ts +84 -0
- package/dist/models/BuyerLeadListItemDto.js +88 -0
- package/dist/models/CreateBuyerLeadMessageInput.d.ts +31 -0
- package/dist/models/CreateBuyerLeadMessageInput.js +46 -0
- package/dist/models/DomainTransferDetailsDto.d.ts +4 -4
- package/dist/models/DomainTransferDetailsDto.js +3 -3
- package/dist/models/DomainTransferDto.d.ts +4 -4
- package/dist/models/DomainTransferDto.js +3 -3
- package/dist/models/GetBuyerLeads200Response.d.ts +46 -0
- package/dist/models/GetBuyerLeads200Response.js +57 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +7 -8
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +5 -6
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.d.ts +3 -3
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +3 -3
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +7 -7
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +6 -6
- package/dist/models/LeadMessageDto.d.ts +22 -10
- package/dist/models/LeadMessageDto.js +14 -6
- package/dist/models/OrderListItemDto.d.ts +4 -4
- package/dist/models/OrderListItemDto.js +3 -3
- package/dist/models/PublicLeadDto.d.ts +4 -4
- package/dist/models/PublicLeadDto.js +3 -3
- package/dist/models/SellerDomainTransferDto.d.ts +4 -4
- package/dist/models/SellerDomainTransferDto.js +3 -3
- package/dist/models/index.d.ts +6 -10
- package/dist/models/index.js +6 -10
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +228 -0
- package/src/apis/LeadsApi.ts +58 -0
- package/src/models/BatchReadBuyerLeadMessageInput.ts +61 -0
- package/src/models/BatchReadSellerLeadMessageInput.ts +61 -0
- package/src/models/BuyerLeadListItemDomainDto.ts +79 -0
- package/src/models/BuyerLeadListItemDto.ts +144 -0
- package/src/models/CreateBuyerLeadMessageInput.ts +61 -0
- package/src/models/DomainTransferDetailsDto.ts +11 -11
- package/src/models/DomainTransferDto.ts +10 -10
- package/src/models/GetBuyerLeads200Response.ts +98 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +15 -21
- package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +9 -9
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +19 -19
- package/src/models/LeadMessageDto.ts +37 -19
- package/src/models/OrderListItemDto.ts +11 -11
- package/src/models/PublicLeadDto.ts +10 -10
- package/src/models/SellerDomainTransferDto.ts +10 -10
- package/src/models/index.ts +6 -10
- package/dist/models/DomainTransferDetailsDtoAuthCode.d.ts +0 -37
- package/dist/models/DomainTransferDetailsDtoAuthCode.js +0 -50
- package/dist/models/DomainTransferDtoAgent.d.ts +0 -37
- package/dist/models/DomainTransferDtoAgent.js +0 -50
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.d.ts +0 -37
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.js +0 -50
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.d.ts +0 -37
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.js +0 -50
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.d.ts +0 -32
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.js +0 -47
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.d.ts +0 -37
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.js +0 -50
- package/dist/models/LeadMessageDtoData.d.ts +0 -32
- package/dist/models/LeadMessageDtoData.js +0 -47
- package/dist/models/OrderListItemDtoBasePrice.d.ts +0 -37
- package/dist/models/OrderListItemDtoBasePrice.js +0 -50
- package/dist/models/PublicLeadDtoLastOffer.d.ts +0 -37
- package/dist/models/PublicLeadDtoLastOffer.js +0 -50
- package/dist/models/SellerDomainTransferDtoAuthCode.d.ts +0 -37
- package/dist/models/SellerDomainTransferDtoAuthCode.js +0 -50
- package/src/models/DomainTransferDetailsDtoAuthCode.ts +0 -70
- package/src/models/DomainTransferDtoAgent.ts +0 -70
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.ts +0 -70
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.ts +0 -70
- package/src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts +0 -68
- package/src/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.ts +0 -70
- package/src/models/LeadMessageDtoData.ts +0 -68
- package/src/models/OrderListItemDtoBasePrice.ts +0 -70
- package/src/models/PublicLeadDtoLastOffer.ts +0 -70
- package/src/models/SellerDomainTransferDtoAuthCode.ts +0 -70
|
@@ -0,0 +1,61 @@
|
|
|
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 CreateBuyerLeadMessageInput
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateBuyerLeadMessageInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateBuyerLeadMessageInput
|
|
26
|
+
*/
|
|
27
|
+
message: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the CreateBuyerLeadMessageInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfCreateBuyerLeadMessageInput(value: object): value is CreateBuyerLeadMessageInput {
|
|
34
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function CreateBuyerLeadMessageInputFromJSON(json: any): CreateBuyerLeadMessageInput {
|
|
39
|
+
return CreateBuyerLeadMessageInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function CreateBuyerLeadMessageInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBuyerLeadMessageInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'message': json['message'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CreateBuyerLeadMessageInputToJSON(value?: CreateBuyerLeadMessageInput | null): any {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
|
|
58
|
+
'message': value['message'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
@@ -13,12 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { DomainTransferDetailsDtoAuthCode } from './DomainTransferDetailsDtoAuthCode';
|
|
17
|
-
import {
|
|
18
|
-
DomainTransferDetailsDtoAuthCodeFromJSON,
|
|
19
|
-
DomainTransferDetailsDtoAuthCodeFromJSONTyped,
|
|
20
|
-
DomainTransferDetailsDtoAuthCodeToJSON,
|
|
21
|
-
} from './DomainTransferDetailsDtoAuthCode';
|
|
22
16
|
import type { DomainTransferDetailsOrderDto } from './DomainTransferDetailsOrderDto';
|
|
23
17
|
import {
|
|
24
18
|
DomainTransferDetailsOrderDtoFromJSON,
|
|
@@ -37,6 +31,12 @@ import {
|
|
|
37
31
|
DomainTransferDetailWorkflowStepDtoFromJSONTyped,
|
|
38
32
|
DomainTransferDetailWorkflowStepDtoToJSON,
|
|
39
33
|
} from './DomainTransferDetailWorkflowStepDto';
|
|
34
|
+
import type { DomainTransferDetailsAuthCodeDto } from './DomainTransferDetailsAuthCodeDto';
|
|
35
|
+
import {
|
|
36
|
+
DomainTransferDetailsAuthCodeDtoFromJSON,
|
|
37
|
+
DomainTransferDetailsAuthCodeDtoFromJSONTyped,
|
|
38
|
+
DomainTransferDetailsAuthCodeDtoToJSON,
|
|
39
|
+
} from './DomainTransferDetailsAuthCodeDto';
|
|
40
40
|
import type { DomainTransferDetailsDomainDto } from './DomainTransferDetailsDomainDto';
|
|
41
41
|
import {
|
|
42
42
|
DomainTransferDetailsDomainDtoFromJSON,
|
|
@@ -81,11 +81,11 @@ export interface DomainTransferDetailsDto {
|
|
|
81
81
|
*/
|
|
82
82
|
status: DomainTransferDetailsDtoStatusEnum;
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {
|
|
84
|
+
* The domain transfer auth code
|
|
85
|
+
* @type {DomainTransferDetailsAuthCodeDto}
|
|
86
86
|
* @memberof DomainTransferDetailsDto
|
|
87
87
|
*/
|
|
88
|
-
authCode:
|
|
88
|
+
authCode: DomainTransferDetailsAuthCodeDto | null;
|
|
89
89
|
/**
|
|
90
90
|
* The domain transfer validations
|
|
91
91
|
* @type {Array<DomainTransferDetailsValidationDto>}
|
|
@@ -151,7 +151,7 @@ export function DomainTransferDetailsDtoFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
151
151
|
'domain': DomainTransferDetailsDomainDtoFromJSON(json['domain']),
|
|
152
152
|
'order': DomainTransferDetailsOrderDtoFromJSON(json['order']),
|
|
153
153
|
'status': json['status'],
|
|
154
|
-
'authCode':
|
|
154
|
+
'authCode': DomainTransferDetailsAuthCodeDtoFromJSON(json['authCode']),
|
|
155
155
|
'validations': ((json['validations'] as Array<any>).map(DomainTransferDetailsValidationDtoFromJSON)),
|
|
156
156
|
'createdAt': (new Date(json['createdAt'])),
|
|
157
157
|
'workflow': ((json['workflow'] as Array<any>).map(DomainTransferDetailWorkflowStepDtoFromJSON)),
|
|
@@ -169,7 +169,7 @@ export function DomainTransferDetailsDtoToJSON(value?: DomainTransferDetailsDto
|
|
|
169
169
|
'domain': DomainTransferDetailsDomainDtoToJSON(value['domain']),
|
|
170
170
|
'order': DomainTransferDetailsOrderDtoToJSON(value['order']),
|
|
171
171
|
'status': value['status'],
|
|
172
|
-
'authCode':
|
|
172
|
+
'authCode': DomainTransferDetailsAuthCodeDtoToJSON(value['authCode']),
|
|
173
173
|
'validations': ((value['validations'] as Array<any>).map(DomainTransferDetailsValidationDtoToJSON)),
|
|
174
174
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
175
175
|
'workflow': ((value['workflow'] as Array<any>).map(DomainTransferDetailWorkflowStepDtoToJSON)),
|
|
@@ -25,12 +25,12 @@ import {
|
|
|
25
25
|
DomainTransferOrderDtoFromJSONTyped,
|
|
26
26
|
DomainTransferOrderDtoToJSON,
|
|
27
27
|
} from './DomainTransferOrderDto';
|
|
28
|
-
import type {
|
|
28
|
+
import type { DomainTransferAgentDto } from './DomainTransferAgentDto';
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from './
|
|
30
|
+
DomainTransferAgentDtoFromJSON,
|
|
31
|
+
DomainTransferAgentDtoFromJSONTyped,
|
|
32
|
+
DomainTransferAgentDtoToJSON,
|
|
33
|
+
} from './DomainTransferAgentDto';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -63,11 +63,11 @@ export interface DomainTransferDto {
|
|
|
63
63
|
*/
|
|
64
64
|
order: DomainTransferOrderDto;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {
|
|
66
|
+
* The domain transfer order
|
|
67
|
+
* @type {DomainTransferAgentDto}
|
|
68
68
|
* @memberof DomainTransferDto
|
|
69
69
|
*/
|
|
70
|
-
agent:
|
|
70
|
+
agent: DomainTransferAgentDto | null;
|
|
71
71
|
/**
|
|
72
72
|
* The domain transfer creation date
|
|
73
73
|
* @type {Date}
|
|
@@ -117,7 +117,7 @@ export function DomainTransferDtoFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
117
117
|
'domain': DomainTransferDomainDtoFromJSON(json['domain']),
|
|
118
118
|
'status': json['status'],
|
|
119
119
|
'order': DomainTransferOrderDtoFromJSON(json['order']),
|
|
120
|
-
'agent':
|
|
120
|
+
'agent': DomainTransferAgentDtoFromJSON(json['agent']),
|
|
121
121
|
'createdAt': (new Date(json['createdAt'])),
|
|
122
122
|
};
|
|
123
123
|
}
|
|
@@ -132,7 +132,7 @@ export function DomainTransferDtoToJSON(value?: DomainTransferDto | null): any {
|
|
|
132
132
|
'domain': DomainTransferDomainDtoToJSON(value['domain']),
|
|
133
133
|
'status': value['status'],
|
|
134
134
|
'order': DomainTransferOrderDtoToJSON(value['order']),
|
|
135
|
-
'agent':
|
|
135
|
+
'agent': DomainTransferAgentDtoToJSON(value['agent']),
|
|
136
136
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
137
137
|
};
|
|
138
138
|
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
17
|
+
import {
|
|
18
|
+
PaginateResponseLinksFromJSON,
|
|
19
|
+
PaginateResponseLinksFromJSONTyped,
|
|
20
|
+
PaginateResponseLinksToJSON,
|
|
21
|
+
} from './PaginateResponseLinks';
|
|
22
|
+
import type { BuyerLeadListItemDto } from './BuyerLeadListItemDto';
|
|
23
|
+
import {
|
|
24
|
+
BuyerLeadListItemDtoFromJSON,
|
|
25
|
+
BuyerLeadListItemDtoFromJSONTyped,
|
|
26
|
+
BuyerLeadListItemDtoToJSON,
|
|
27
|
+
} from './BuyerLeadListItemDto';
|
|
28
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
29
|
+
import {
|
|
30
|
+
PaginateResponseMetaFromJSON,
|
|
31
|
+
PaginateResponseMetaFromJSONTyped,
|
|
32
|
+
PaginateResponseMetaToJSON,
|
|
33
|
+
} from './PaginateResponseMeta';
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface GetBuyerLeads200Response
|
|
39
|
+
*/
|
|
40
|
+
export interface GetBuyerLeads200Response {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<BuyerLeadListItemDto>}
|
|
44
|
+
* @memberof GetBuyerLeads200Response
|
|
45
|
+
*/
|
|
46
|
+
data: Array<BuyerLeadListItemDto>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {PaginateResponseMeta}
|
|
50
|
+
* @memberof GetBuyerLeads200Response
|
|
51
|
+
*/
|
|
52
|
+
meta: PaginateResponseMeta;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {PaginateResponseLinks}
|
|
56
|
+
* @memberof GetBuyerLeads200Response
|
|
57
|
+
*/
|
|
58
|
+
links: PaginateResponseLinks;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the GetBuyerLeads200Response interface.
|
|
63
|
+
*/
|
|
64
|
+
export function instanceOfGetBuyerLeads200Response(value: object): value is GetBuyerLeads200Response {
|
|
65
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
66
|
+
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
67
|
+
if (!('links' in value) || value['links'] === undefined) return false;
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function GetBuyerLeads200ResponseFromJSON(json: any): GetBuyerLeads200Response {
|
|
72
|
+
return GetBuyerLeads200ResponseFromJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function GetBuyerLeads200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBuyerLeads200Response {
|
|
76
|
+
if (json == null) {
|
|
77
|
+
return json;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'data': ((json['data'] as Array<any>).map(BuyerLeadListItemDtoFromJSON)),
|
|
82
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
83
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function GetBuyerLeads200ResponseToJSON(value?: GetBuyerLeads200Response | null): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'data': ((value['data'] as Array<any>).map(BuyerLeadListItemDtoToJSON)),
|
|
94
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
95
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
@@ -13,12 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice } from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
|
|
17
|
-
import {
|
|
18
|
-
IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON,
|
|
19
|
-
IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped,
|
|
20
|
-
IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON,
|
|
21
|
-
} from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
|
|
22
16
|
import type { DomainSellerDto } from './DomainSellerDto';
|
|
23
17
|
import {
|
|
24
18
|
DomainSellerDtoFromJSON,
|
|
@@ -31,12 +25,12 @@ import {
|
|
|
31
25
|
DomainStatsFromJSONTyped,
|
|
32
26
|
DomainStatsToJSON,
|
|
33
27
|
} from './DomainStats';
|
|
34
|
-
import type {
|
|
28
|
+
import type { MoneyDto } from './MoneyDto';
|
|
35
29
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from './
|
|
30
|
+
MoneyDtoFromJSON,
|
|
31
|
+
MoneyDtoFromJSONTyped,
|
|
32
|
+
MoneyDtoToJSON,
|
|
33
|
+
} from './MoneyDto';
|
|
40
34
|
|
|
41
35
|
/**
|
|
42
36
|
*
|
|
@@ -63,17 +57,17 @@ export interface IntersectionDomainSalesInformationDtoWithDomainStatsDto {
|
|
|
63
57
|
*/
|
|
64
58
|
domainDisplayName: string;
|
|
65
59
|
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {
|
|
60
|
+
* Buy now price or null if buy now is not enabled
|
|
61
|
+
* @type {MoneyDto}
|
|
68
62
|
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
69
63
|
*/
|
|
70
|
-
buyNowPrice:
|
|
64
|
+
buyNowPrice: MoneyDto | null;
|
|
71
65
|
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {
|
|
66
|
+
* min offer price or null if offers are not enabled
|
|
67
|
+
* @type {MoneyDto}
|
|
74
68
|
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
75
69
|
*/
|
|
76
|
-
minOfferPrice:
|
|
70
|
+
minOfferPrice: MoneyDto | null;
|
|
77
71
|
/**
|
|
78
72
|
* The domain seller information
|
|
79
73
|
* @type {DomainSellerDto}
|
|
@@ -108,8 +102,8 @@ export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONT
|
|
|
108
102
|
'stats': DomainStatsFromJSON(json['stats']),
|
|
109
103
|
'domain': json['domain'],
|
|
110
104
|
'domainDisplayName': json['domainDisplayName'],
|
|
111
|
-
'buyNowPrice':
|
|
112
|
-
'minOfferPrice':
|
|
105
|
+
'buyNowPrice': MoneyDtoFromJSON(json['buyNowPrice']),
|
|
106
|
+
'minOfferPrice': MoneyDtoFromJSON(json['minOfferPrice']),
|
|
113
107
|
'seller': DomainSellerDtoFromJSON(json['seller']),
|
|
114
108
|
};
|
|
115
109
|
}
|
|
@@ -123,8 +117,8 @@ export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON(va
|
|
|
123
117
|
'stats': DomainStatsToJSON(value['stats']),
|
|
124
118
|
'domain': value['domain'],
|
|
125
119
|
'domainDisplayName': value['domainDisplayName'],
|
|
126
|
-
'buyNowPrice':
|
|
127
|
-
'minOfferPrice':
|
|
120
|
+
'buyNowPrice': MoneyDtoToJSON(value['buyNowPrice']),
|
|
121
|
+
'minOfferPrice': MoneyDtoToJSON(value['minOfferPrice']),
|
|
128
122
|
'seller': DomainSellerDtoToJSON(value['seller']),
|
|
129
123
|
};
|
|
130
124
|
}
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
IntersectionDomainDtoWithAccountDtoFromJSONTyped,
|
|
20
20
|
IntersectionDomainDtoWithAccountDtoToJSON,
|
|
21
21
|
} from './IntersectionDomainDtoWithAccountDto';
|
|
22
|
-
import type {
|
|
22
|
+
import type { MoneyDto } from './MoneyDto';
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from './
|
|
24
|
+
MoneyDtoFromJSON,
|
|
25
|
+
MoneyDtoFromJSONTyped,
|
|
26
|
+
MoneyDtoToJSON,
|
|
27
|
+
} from './MoneyDto';
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
@@ -46,10 +46,10 @@ export interface IntersectionLeadDtoWithLeadDetailsDto {
|
|
|
46
46
|
status: IntersectionLeadDtoWithLeadDetailsDtoStatusEnum;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {MoneyDto}
|
|
50
50
|
* @memberof IntersectionLeadDtoWithLeadDetailsDto
|
|
51
51
|
*/
|
|
52
|
-
lastOffer:
|
|
52
|
+
lastOffer: MoneyDto | null;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {string}
|
|
@@ -120,7 +120,7 @@ export function IntersectionLeadDtoWithLeadDetailsDtoFromJSONTyped(json: any, ig
|
|
|
120
120
|
|
|
121
121
|
'id': json['id'],
|
|
122
122
|
'status': json['status'],
|
|
123
|
-
'lastOffer':
|
|
123
|
+
'lastOffer': MoneyDtoFromJSON(json['lastOffer']),
|
|
124
124
|
'lastOfferBy': json['lastOfferBy'],
|
|
125
125
|
'domain': IntersectionDomainDtoWithAccountDtoFromJSON(json['domain']),
|
|
126
126
|
'createdAt': (new Date(json['createdAt'])),
|
|
@@ -135,7 +135,7 @@ export function IntersectionLeadDtoWithLeadDetailsDtoToJSON(value?: Intersection
|
|
|
135
135
|
|
|
136
136
|
'id': value['id'],
|
|
137
137
|
'status': value['status'],
|
|
138
|
-
'lastOffer':
|
|
138
|
+
'lastOffer': MoneyDtoToJSON(value['lastOffer']),
|
|
139
139
|
'lastOfferBy': value['lastOfferBy'],
|
|
140
140
|
'domain': IntersectionDomainDtoWithAccountDtoToJSON(value['domain']),
|
|
141
141
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
@@ -13,18 +13,18 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { LeadMessageData } from './LeadMessageData';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
22
|
-
import type {
|
|
18
|
+
LeadMessageDataFromJSON,
|
|
19
|
+
LeadMessageDataFromJSONTyped,
|
|
20
|
+
LeadMessageDataToJSON,
|
|
21
|
+
} from './LeadMessageData';
|
|
22
|
+
import type { MoneyDto } from './MoneyDto';
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from './
|
|
24
|
+
MoneyDtoFromJSON,
|
|
25
|
+
MoneyDtoFromJSONTyped,
|
|
26
|
+
MoneyDtoToJSON,
|
|
27
|
+
} from './MoneyDto';
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
@@ -46,10 +46,10 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
46
46
|
status: IntersectionLeadDtoWithListFieldsDtoStatusEnum;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {MoneyDto}
|
|
50
50
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
51
51
|
*/
|
|
52
|
-
lastOffer:
|
|
52
|
+
lastOffer: MoneyDto | null;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {string}
|
|
@@ -69,11 +69,11 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
69
69
|
*/
|
|
70
70
|
lastMessageType: IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {
|
|
72
|
+
* The data
|
|
73
|
+
* @type {LeadMessageData}
|
|
74
74
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
75
75
|
*/
|
|
76
|
-
lastMessageData:
|
|
76
|
+
lastMessageData: LeadMessageData | null;
|
|
77
77
|
/**
|
|
78
78
|
* Created at date
|
|
79
79
|
* @type {Date}
|
|
@@ -181,11 +181,11 @@ export function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json: any, ign
|
|
|
181
181
|
|
|
182
182
|
'id': json['id'],
|
|
183
183
|
'status': json['status'],
|
|
184
|
-
'lastOffer':
|
|
184
|
+
'lastOffer': MoneyDtoFromJSON(json['lastOffer']),
|
|
185
185
|
'lastOfferBy': json['lastOfferBy'],
|
|
186
186
|
'lastMessageFrom': json['lastMessageFrom'],
|
|
187
187
|
'lastMessageType': json['lastMessageType'],
|
|
188
|
-
'lastMessageData':
|
|
188
|
+
'lastMessageData': LeadMessageDataFromJSON(json['lastMessageData']),
|
|
189
189
|
'createdAt': (new Date(json['createdAt'])),
|
|
190
190
|
'domainName': json['domainName'],
|
|
191
191
|
'buyerInitials': json['buyerInitials'],
|
|
@@ -202,11 +202,11 @@ export function IntersectionLeadDtoWithListFieldsDtoToJSON(value?: IntersectionL
|
|
|
202
202
|
|
|
203
203
|
'id': value['id'],
|
|
204
204
|
'status': value['status'],
|
|
205
|
-
'lastOffer':
|
|
205
|
+
'lastOffer': MoneyDtoToJSON(value['lastOffer']),
|
|
206
206
|
'lastOfferBy': value['lastOfferBy'],
|
|
207
207
|
'lastMessageFrom': value['lastMessageFrom'],
|
|
208
208
|
'lastMessageType': value['lastMessageType'],
|
|
209
|
-
'lastMessageData':
|
|
209
|
+
'lastMessageData': LeadMessageDataToJSON(value['lastMessageData']),
|
|
210
210
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
211
211
|
'domainName': value['domainName'],
|
|
212
212
|
'buyerInitials': value['buyerInitials'],
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { LeadMessageData } from './LeadMessageData';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
18
|
+
LeadMessageDataFromJSON,
|
|
19
|
+
LeadMessageDataFromJSONTyped,
|
|
20
|
+
LeadMessageDataToJSON,
|
|
21
|
+
} from './LeadMessageData';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
@@ -27,29 +27,35 @@ import {
|
|
|
27
27
|
*/
|
|
28
28
|
export interface LeadMessageDto {
|
|
29
29
|
/**
|
|
30
|
-
* The
|
|
30
|
+
* The lead message id
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof LeadMessageDto
|
|
33
33
|
*/
|
|
34
34
|
id: string;
|
|
35
35
|
/**
|
|
36
|
-
* The message type
|
|
36
|
+
* The lead message type
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof LeadMessageDto
|
|
39
39
|
*/
|
|
40
40
|
type: LeadMessageDtoTypeEnum;
|
|
41
41
|
/**
|
|
42
|
-
* The message origin
|
|
42
|
+
* The lead message origin
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof LeadMessageDto
|
|
45
45
|
*/
|
|
46
46
|
origin: LeadMessageDtoOriginEnum;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {
|
|
48
|
+
* Optional data
|
|
49
|
+
* @type {LeadMessageData}
|
|
50
50
|
* @memberof LeadMessageDto
|
|
51
51
|
*/
|
|
52
|
-
data:
|
|
52
|
+
data: LeadMessageData | null;
|
|
53
|
+
/**
|
|
54
|
+
* The lead message text
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof LeadMessageDto
|
|
57
|
+
*/
|
|
58
|
+
message: string | null;
|
|
53
59
|
/**
|
|
54
60
|
* Created at date
|
|
55
61
|
* @type {Date}
|
|
@@ -63,11 +69,17 @@ export interface LeadMessageDto {
|
|
|
63
69
|
*/
|
|
64
70
|
initials: string;
|
|
65
71
|
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {
|
|
72
|
+
* Seller read indicator *
|
|
73
|
+
* @type {boolean}
|
|
68
74
|
* @memberof LeadMessageDto
|
|
69
75
|
*/
|
|
70
|
-
|
|
76
|
+
readBySeller: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Buyer read indicator *
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof LeadMessageDto
|
|
81
|
+
*/
|
|
82
|
+
readByBuyer: boolean;
|
|
71
83
|
}
|
|
72
84
|
|
|
73
85
|
|
|
@@ -99,9 +111,11 @@ export function instanceOfLeadMessageDto(value: object): value is LeadMessageDto
|
|
|
99
111
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
100
112
|
if (!('origin' in value) || value['origin'] === undefined) return false;
|
|
101
113
|
if (!('data' in value) || value['data'] === undefined) return false;
|
|
114
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
102
115
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
103
116
|
if (!('initials' in value) || value['initials'] === undefined) return false;
|
|
104
|
-
if (!('
|
|
117
|
+
if (!('readBySeller' in value) || value['readBySeller'] === undefined) return false;
|
|
118
|
+
if (!('readByBuyer' in value) || value['readByBuyer'] === undefined) return false;
|
|
105
119
|
return true;
|
|
106
120
|
}
|
|
107
121
|
|
|
@@ -118,10 +132,12 @@ export function LeadMessageDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
118
132
|
'id': json['id'],
|
|
119
133
|
'type': json['type'],
|
|
120
134
|
'origin': json['origin'],
|
|
121
|
-
'data':
|
|
135
|
+
'data': LeadMessageDataFromJSON(json['data']),
|
|
136
|
+
'message': json['message'],
|
|
122
137
|
'createdAt': (new Date(json['createdAt'])),
|
|
123
138
|
'initials': json['initials'],
|
|
124
|
-
'
|
|
139
|
+
'readBySeller': json['readBySeller'],
|
|
140
|
+
'readByBuyer': json['readByBuyer'],
|
|
125
141
|
};
|
|
126
142
|
}
|
|
127
143
|
|
|
@@ -134,10 +150,12 @@ export function LeadMessageDtoToJSON(value?: LeadMessageDto | null): any {
|
|
|
134
150
|
'id': value['id'],
|
|
135
151
|
'type': value['type'],
|
|
136
152
|
'origin': value['origin'],
|
|
137
|
-
'data':
|
|
153
|
+
'data': LeadMessageDataToJSON(value['data']),
|
|
154
|
+
'message': value['message'],
|
|
138
155
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
139
156
|
'initials': value['initials'],
|
|
140
|
-
'
|
|
157
|
+
'readBySeller': value['readBySeller'],
|
|
158
|
+
'readByBuyer': value['readByBuyer'],
|
|
141
159
|
};
|
|
142
160
|
}
|
|
143
161
|
|
|
@@ -13,18 +13,18 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { OrderListItemDtoBasePrice } from './OrderListItemDtoBasePrice';
|
|
17
|
-
import {
|
|
18
|
-
OrderListItemDtoBasePriceFromJSON,
|
|
19
|
-
OrderListItemDtoBasePriceFromJSONTyped,
|
|
20
|
-
OrderListItemDtoBasePriceToJSON,
|
|
21
|
-
} from './OrderListItemDtoBasePrice';
|
|
22
16
|
import type { OrderListItemDtoDomainInformation } from './OrderListItemDtoDomainInformation';
|
|
23
17
|
import {
|
|
24
18
|
OrderListItemDtoDomainInformationFromJSON,
|
|
25
19
|
OrderListItemDtoDomainInformationFromJSONTyped,
|
|
26
20
|
OrderListItemDtoDomainInformationToJSON,
|
|
27
21
|
} from './OrderListItemDtoDomainInformation';
|
|
22
|
+
import type { MoneyDto } from './MoneyDto';
|
|
23
|
+
import {
|
|
24
|
+
MoneyDtoFromJSON,
|
|
25
|
+
MoneyDtoFromJSONTyped,
|
|
26
|
+
MoneyDtoToJSON,
|
|
27
|
+
} from './MoneyDto';
|
|
28
28
|
import type { OrderListItemDtoBuyerInformation } from './OrderListItemDtoBuyerInformation';
|
|
29
29
|
import {
|
|
30
30
|
OrderListItemDtoBuyerInformationFromJSON,
|
|
@@ -81,11 +81,11 @@ export interface OrderListItemDto {
|
|
|
81
81
|
*/
|
|
82
82
|
buyerInformation: OrderListItemDtoBuyerInformation;
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {
|
|
84
|
+
* The order base price
|
|
85
|
+
* @type {MoneyDto}
|
|
86
86
|
* @memberof OrderListItemDto
|
|
87
87
|
*/
|
|
88
|
-
basePrice:
|
|
88
|
+
basePrice: MoneyDto | null;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
|
|
@@ -129,7 +129,7 @@ export function OrderListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
129
129
|
'domain': OrderListItemDtoDomainInformationFromJSON(json['domain']),
|
|
130
130
|
'sellerAccount': OrderListItemDtoSellerAccountFromJSON(json['sellerAccount']),
|
|
131
131
|
'buyerInformation': OrderListItemDtoBuyerInformationFromJSON(json['buyerInformation']),
|
|
132
|
-
'basePrice':
|
|
132
|
+
'basePrice': MoneyDtoFromJSON(json['basePrice']),
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
135
|
|
|
@@ -145,7 +145,7 @@ export function OrderListItemDtoToJSON(value?: OrderListItemDto | null): any {
|
|
|
145
145
|
'domain': OrderListItemDtoDomainInformationToJSON(value['domain']),
|
|
146
146
|
'sellerAccount': OrderListItemDtoSellerAccountToJSON(value['sellerAccount']),
|
|
147
147
|
'buyerInformation': OrderListItemDtoBuyerInformationToJSON(value['buyerInformation']),
|
|
148
|
-
'basePrice':
|
|
148
|
+
'basePrice': MoneyDtoToJSON(value['basePrice']),
|
|
149
149
|
};
|
|
150
150
|
}
|
|
151
151
|
|