@randock/nameshift-api-client 0.0.88 → 0.0.90
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 +9 -11
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +84 -1
- package/dist/apis/BuyersApi.js +390 -0
- package/dist/apis/LeadsApi.d.ts +13 -1
- package/dist/apis/LeadsApi.js +56 -0
- package/dist/models/AccountSettingsInput.d.ts +3 -3
- package/dist/models/AccountSettingsInput.js +3 -3
- 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 +5 -5
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +3 -3
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +18 -9
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +13 -6
- package/dist/models/LeadDomainDto.d.ts +43 -0
- package/dist/models/{DomainTransferDtoAgent.js → LeadDomainDto.js} +14 -10
- package/dist/models/LeadDto.d.ts +84 -0
- package/dist/models/LeadDto.js +88 -0
- package/dist/models/LeadMessageDto.d.ts +24 -10
- package/dist/models/LeadMessageDto.js +16 -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/PutBuyerLeadOfferInput.d.ts +32 -0
- package/dist/models/PutBuyerLeadOfferInput.js +47 -0
- package/dist/models/SellerDomainTransferDto.d.ts +4 -4
- package/dist/models/SellerDomainTransferDto.js +3 -3
- package/dist/models/UpdateDomainInput.d.ts +5 -5
- package/dist/models/UpdateDomainInput.js +5 -5
- package/dist/models/index.d.ts +9 -11
- package/dist/models/index.js +9 -11
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +378 -0
- package/src/apis/LeadsApi.ts +61 -0
- package/src/models/AccountSettingsInput.ts +9 -9
- 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 +11 -11
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +38 -21
- package/src/models/LeadDomainDto.ts +79 -0
- package/src/models/LeadDto.ts +144 -0
- package/src/models/LeadMessageDto.ts +39 -19
- package/src/models/OrderListItemDto.ts +11 -11
- package/src/models/PublicLeadDto.ts +10 -10
- package/src/models/PutBuyerLeadOfferInput.ts +68 -0
- package/src/models/SellerDomainTransferDto.ts +10 -10
- package/src/models/UpdateDomainInput.ts +13 -13
- package/src/models/index.ts +9 -11
- 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/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/MoneyInput.d.ts +0 -37
- package/dist/models/MoneyInput.js +0 -50
- 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/MoneyInput.ts +0 -70
- package/src/models/OrderListItemDtoBasePrice.ts +0 -70
- package/src/models/PublicLeadDtoLastOffer.ts +0 -70
- package/src/models/SellerDomainTransferDtoAuthCode.ts +0 -70
|
@@ -18,10 +18,10 @@ exports.instanceOfDomainTransferDetailsDto = instanceOfDomainTransferDetailsDto;
|
|
|
18
18
|
exports.DomainTransferDetailsDtoFromJSON = DomainTransferDetailsDtoFromJSON;
|
|
19
19
|
exports.DomainTransferDetailsDtoFromJSONTyped = DomainTransferDetailsDtoFromJSONTyped;
|
|
20
20
|
exports.DomainTransferDetailsDtoToJSON = DomainTransferDetailsDtoToJSON;
|
|
21
|
-
var DomainTransferDetailsDtoAuthCode_1 = require("./DomainTransferDetailsDtoAuthCode");
|
|
22
21
|
var DomainTransferDetailsOrderDto_1 = require("./DomainTransferDetailsOrderDto");
|
|
23
22
|
var DomainTransferDetailsValidationDto_1 = require("./DomainTransferDetailsValidationDto");
|
|
24
23
|
var DomainTransferDetailWorkflowStepDto_1 = require("./DomainTransferDetailWorkflowStepDto");
|
|
24
|
+
var DomainTransferDetailsAuthCodeDto_1 = require("./DomainTransferDetailsAuthCodeDto");
|
|
25
25
|
var DomainTransferDetailsDomainDto_1 = require("./DomainTransferDetailsDomainDto");
|
|
26
26
|
/**
|
|
27
27
|
* @export
|
|
@@ -70,7 +70,7 @@ function DomainTransferDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
70
70
|
'domain': (0, DomainTransferDetailsDomainDto_1.DomainTransferDetailsDomainDtoFromJSON)(json['domain']),
|
|
71
71
|
'order': (0, DomainTransferDetailsOrderDto_1.DomainTransferDetailsOrderDtoFromJSON)(json['order']),
|
|
72
72
|
'status': json['status'],
|
|
73
|
-
'authCode': (0,
|
|
73
|
+
'authCode': (0, DomainTransferDetailsAuthCodeDto_1.DomainTransferDetailsAuthCodeDtoFromJSON)(json['authCode']),
|
|
74
74
|
'validations': (json['validations'].map(DomainTransferDetailsValidationDto_1.DomainTransferDetailsValidationDtoFromJSON)),
|
|
75
75
|
'createdAt': (new Date(json['createdAt'])),
|
|
76
76
|
'workflow': (json['workflow'].map(DomainTransferDetailWorkflowStepDto_1.DomainTransferDetailWorkflowStepDtoFromJSON)),
|
|
@@ -86,7 +86,7 @@ function DomainTransferDetailsDtoToJSON(value) {
|
|
|
86
86
|
'domain': (0, DomainTransferDetailsDomainDto_1.DomainTransferDetailsDomainDtoToJSON)(value['domain']),
|
|
87
87
|
'order': (0, DomainTransferDetailsOrderDto_1.DomainTransferDetailsOrderDtoToJSON)(value['order']),
|
|
88
88
|
'status': value['status'],
|
|
89
|
-
'authCode': (0,
|
|
89
|
+
'authCode': (0, DomainTransferDetailsAuthCodeDto_1.DomainTransferDetailsAuthCodeDtoToJSON)(value['authCode']),
|
|
90
90
|
'validations': (value['validations'].map(DomainTransferDetailsValidationDto_1.DomainTransferDetailsValidationDtoToJSON)),
|
|
91
91
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
92
92
|
'workflow': (value['workflow'].map(DomainTransferDetailWorkflowStepDto_1.DomainTransferDetailWorkflowStepDtoToJSON)),
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { DomainTransferDomainDto } from './DomainTransferDomainDto';
|
|
13
13
|
import type { DomainTransferOrderDto } from './DomainTransferOrderDto';
|
|
14
|
-
import type {
|
|
14
|
+
import type { DomainTransferAgentDto } from './DomainTransferAgentDto';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -43,11 +43,11 @@ export interface DomainTransferDto {
|
|
|
43
43
|
*/
|
|
44
44
|
order: DomainTransferOrderDto;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {
|
|
46
|
+
* The domain transfer order
|
|
47
|
+
* @type {DomainTransferAgentDto}
|
|
48
48
|
* @memberof DomainTransferDto
|
|
49
49
|
*/
|
|
50
|
-
agent:
|
|
50
|
+
agent: DomainTransferAgentDto | null;
|
|
51
51
|
/**
|
|
52
52
|
* The domain transfer creation date
|
|
53
53
|
* @type {Date}
|
|
@@ -20,7 +20,7 @@ exports.DomainTransferDtoFromJSONTyped = DomainTransferDtoFromJSONTyped;
|
|
|
20
20
|
exports.DomainTransferDtoToJSON = DomainTransferDtoToJSON;
|
|
21
21
|
var DomainTransferDomainDto_1 = require("./DomainTransferDomainDto");
|
|
22
22
|
var DomainTransferOrderDto_1 = require("./DomainTransferOrderDto");
|
|
23
|
-
var
|
|
23
|
+
var DomainTransferAgentDto_1 = require("./DomainTransferAgentDto");
|
|
24
24
|
/**
|
|
25
25
|
* @export
|
|
26
26
|
*/
|
|
@@ -61,7 +61,7 @@ function DomainTransferDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
61
|
'domain': (0, DomainTransferDomainDto_1.DomainTransferDomainDtoFromJSON)(json['domain']),
|
|
62
62
|
'status': json['status'],
|
|
63
63
|
'order': (0, DomainTransferOrderDto_1.DomainTransferOrderDtoFromJSON)(json['order']),
|
|
64
|
-
'agent': (0,
|
|
64
|
+
'agent': (0, DomainTransferAgentDto_1.DomainTransferAgentDtoFromJSON)(json['agent']),
|
|
65
65
|
'createdAt': (new Date(json['createdAt'])),
|
|
66
66
|
};
|
|
67
67
|
}
|
|
@@ -74,7 +74,7 @@ function DomainTransferDtoToJSON(value) {
|
|
|
74
74
|
'domain': (0, DomainTransferDomainDto_1.DomainTransferDomainDtoToJSON)(value['domain']),
|
|
75
75
|
'status': value['status'],
|
|
76
76
|
'order': (0, DomainTransferOrderDto_1.DomainTransferOrderDtoToJSON)(value['order']),
|
|
77
|
-
'agent': (0,
|
|
77
|
+
'agent': (0, DomainTransferAgentDto_1.DomainTransferAgentDtoToJSON)(value['agent']),
|
|
78
78
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
79
79
|
};
|
|
80
80
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
+
import type { BuyerLeadListItemDto } from './BuyerLeadListItemDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface GetBuyerLeads200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface GetBuyerLeads200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<BuyerLeadListItemDto>}
|
|
24
|
+
* @memberof GetBuyerLeads200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<BuyerLeadListItemDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof GetBuyerLeads200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof GetBuyerLeads200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the GetBuyerLeads200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfGetBuyerLeads200Response(value: object): value is GetBuyerLeads200Response;
|
|
44
|
+
export declare function GetBuyerLeads200ResponseFromJSON(json: any): GetBuyerLeads200Response;
|
|
45
|
+
export declare function GetBuyerLeads200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBuyerLeads200Response;
|
|
46
|
+
export declare function GetBuyerLeads200ResponseToJSON(value?: GetBuyerLeads200Response | null): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfGetBuyerLeads200Response = instanceOfGetBuyerLeads200Response;
|
|
17
|
+
exports.GetBuyerLeads200ResponseFromJSON = GetBuyerLeads200ResponseFromJSON;
|
|
18
|
+
exports.GetBuyerLeads200ResponseFromJSONTyped = GetBuyerLeads200ResponseFromJSONTyped;
|
|
19
|
+
exports.GetBuyerLeads200ResponseToJSON = GetBuyerLeads200ResponseToJSON;
|
|
20
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
21
|
+
var BuyerLeadListItemDto_1 = require("./BuyerLeadListItemDto");
|
|
22
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the GetBuyerLeads200Response interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfGetBuyerLeads200Response(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('links' in value) || value['links'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function GetBuyerLeads200ResponseFromJSON(json) {
|
|
36
|
+
return GetBuyerLeads200ResponseFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function GetBuyerLeads200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'data': (json['data'].map(BuyerLeadListItemDto_1.BuyerLeadListItemDtoFromJSON)),
|
|
44
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
45
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function GetBuyerLeads200ResponseToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'data': (value['data'].map(BuyerLeadListItemDto_1.BuyerLeadListItemDtoToJSON)),
|
|
54
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
55
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice } from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
|
|
13
12
|
import type { DomainSellerDto } from './DomainSellerDto';
|
|
14
13
|
import type { DomainStats } from './DomainStats';
|
|
15
|
-
import type {
|
|
14
|
+
import type { MoneyDto } from './MoneyDto';
|
|
16
15
|
/**
|
|
17
16
|
*
|
|
18
17
|
* @export
|
|
@@ -38,17 +37,17 @@ export interface IntersectionDomainSalesInformationDtoWithDomainStatsDto {
|
|
|
38
37
|
*/
|
|
39
38
|
domainDisplayName: string;
|
|
40
39
|
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {
|
|
40
|
+
* Buy now price or null if buy now is not enabled
|
|
41
|
+
* @type {MoneyDto}
|
|
43
42
|
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
44
43
|
*/
|
|
45
|
-
buyNowPrice:
|
|
44
|
+
buyNowPrice: MoneyDto | null;
|
|
46
45
|
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {
|
|
46
|
+
* min offer price or null if offers are not enabled
|
|
47
|
+
* @type {MoneyDto}
|
|
49
48
|
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
50
49
|
*/
|
|
51
|
-
minOfferPrice:
|
|
50
|
+
minOfferPrice: MoneyDto | null;
|
|
52
51
|
/**
|
|
53
52
|
* The domain seller information
|
|
54
53
|
* @type {DomainSellerDto}
|
|
@@ -17,10 +17,9 @@ exports.instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDto = inst
|
|
|
17
17
|
exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON;
|
|
18
18
|
exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped = IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped;
|
|
19
19
|
exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON;
|
|
20
|
-
var IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice_1 = require("./IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice");
|
|
21
20
|
var DomainSellerDto_1 = require("./DomainSellerDto");
|
|
22
21
|
var DomainStats_1 = require("./DomainStats");
|
|
23
|
-
var
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
24
23
|
/**
|
|
25
24
|
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDto interface.
|
|
26
25
|
*/
|
|
@@ -50,8 +49,8 @@ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped(js
|
|
|
50
49
|
'stats': (0, DomainStats_1.DomainStatsFromJSON)(json['stats']),
|
|
51
50
|
'domain': json['domain'],
|
|
52
51
|
'domainDisplayName': json['domainDisplayName'],
|
|
53
|
-
'buyNowPrice': (0,
|
|
54
|
-
'minOfferPrice': (0,
|
|
52
|
+
'buyNowPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNowPrice']),
|
|
53
|
+
'minOfferPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOfferPrice']),
|
|
55
54
|
'seller': (0, DomainSellerDto_1.DomainSellerDtoFromJSON)(json['seller']),
|
|
56
55
|
};
|
|
57
56
|
}
|
|
@@ -63,8 +62,8 @@ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON(value) {
|
|
|
63
62
|
'stats': (0, DomainStats_1.DomainStatsToJSON)(value['stats']),
|
|
64
63
|
'domain': value['domain'],
|
|
65
64
|
'domainDisplayName': value['domainDisplayName'],
|
|
66
|
-
'buyNowPrice': (0,
|
|
67
|
-
'minOfferPrice': (0,
|
|
65
|
+
'buyNowPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNowPrice']),
|
|
66
|
+
'minOfferPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOfferPrice']),
|
|
68
67
|
'seller': (0, DomainSellerDto_1.DomainSellerDtoToJSON)(value['seller']),
|
|
69
68
|
};
|
|
70
69
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { IntersectionDomainDtoWithAccountDto } from './IntersectionDomainDtoWithAccountDto';
|
|
13
|
-
import type {
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -18,7 +18,7 @@ import type { IntersectionLeadDtoWithListFieldsDtoLastOffer } from './Intersecti
|
|
|
18
18
|
*/
|
|
19
19
|
export interface IntersectionLeadDtoWithLeadDetailsDto {
|
|
20
20
|
/**
|
|
21
|
-
* The
|
|
21
|
+
* The lead id
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof IntersectionLeadDtoWithLeadDetailsDto
|
|
24
24
|
*/
|
|
@@ -30,11 +30,11 @@ export interface IntersectionLeadDtoWithLeadDetailsDto {
|
|
|
30
30
|
*/
|
|
31
31
|
status: IntersectionLeadDtoWithLeadDetailsDtoStatusEnum;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {
|
|
33
|
+
* The lead last offer amount
|
|
34
|
+
* @type {MoneyDto}
|
|
35
35
|
* @memberof IntersectionLeadDtoWithLeadDetailsDto
|
|
36
36
|
*/
|
|
37
|
-
lastOffer:
|
|
37
|
+
lastOffer: MoneyDto | null;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {string}
|
|
@@ -19,7 +19,7 @@ exports.IntersectionLeadDtoWithLeadDetailsDtoFromJSON = IntersectionLeadDtoWithL
|
|
|
19
19
|
exports.IntersectionLeadDtoWithLeadDetailsDtoFromJSONTyped = IntersectionLeadDtoWithLeadDetailsDtoFromJSONTyped;
|
|
20
20
|
exports.IntersectionLeadDtoWithLeadDetailsDtoToJSON = IntersectionLeadDtoWithLeadDetailsDtoToJSON;
|
|
21
21
|
var IntersectionDomainDtoWithAccountDto_1 = require("./IntersectionDomainDtoWithAccountDto");
|
|
22
|
-
var
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -67,7 +67,7 @@ function IntersectionLeadDtoWithLeadDetailsDtoFromJSONTyped(json, ignoreDiscrimi
|
|
|
67
67
|
return {
|
|
68
68
|
'id': json['id'],
|
|
69
69
|
'status': json['status'],
|
|
70
|
-
'lastOffer': (0,
|
|
70
|
+
'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
|
|
71
71
|
'lastOfferBy': json['lastOfferBy'],
|
|
72
72
|
'domain': (0, IntersectionDomainDtoWithAccountDto_1.IntersectionDomainDtoWithAccountDtoFromJSON)(json['domain']),
|
|
73
73
|
'createdAt': (new Date(json['createdAt'])),
|
|
@@ -80,7 +80,7 @@ function IntersectionLeadDtoWithLeadDetailsDtoToJSON(value) {
|
|
|
80
80
|
return {
|
|
81
81
|
'id': value['id'],
|
|
82
82
|
'status': value['status'],
|
|
83
|
-
'lastOffer': (0,
|
|
83
|
+
'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
|
|
84
84
|
'lastOfferBy': value['lastOfferBy'],
|
|
85
85
|
'domain': (0, IntersectionDomainDtoWithAccountDto_1.IntersectionDomainDtoWithAccountDtoToJSON)(value['domain']),
|
|
86
86
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
12
|
+
import type { LeadMessageData } from './LeadMessageData';
|
|
13
|
+
import type { LeadDomainDto } from './LeadDomainDto';
|
|
14
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -18,7 +19,7 @@ import type { IntersectionLeadDtoWithListFieldsDtoLastOffer } from './Intersecti
|
|
|
18
19
|
*/
|
|
19
20
|
export interface IntersectionLeadDtoWithListFieldsDto {
|
|
20
21
|
/**
|
|
21
|
-
* The
|
|
22
|
+
* The lead id
|
|
22
23
|
* @type {string}
|
|
23
24
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
24
25
|
*/
|
|
@@ -30,11 +31,11 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
30
31
|
*/
|
|
31
32
|
status: IntersectionLeadDtoWithListFieldsDtoStatusEnum;
|
|
32
33
|
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {
|
|
34
|
+
* The lead last offer amount
|
|
35
|
+
* @type {MoneyDto}
|
|
35
36
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
36
37
|
*/
|
|
37
|
-
lastOffer:
|
|
38
|
+
lastOffer: MoneyDto | null;
|
|
38
39
|
/**
|
|
39
40
|
*
|
|
40
41
|
* @type {string}
|
|
@@ -54,17 +55,23 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
54
55
|
*/
|
|
55
56
|
lastMessageType: IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum;
|
|
56
57
|
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {
|
|
58
|
+
* The data
|
|
59
|
+
* @type {LeadMessageData}
|
|
59
60
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
60
61
|
*/
|
|
61
|
-
lastMessageData:
|
|
62
|
+
lastMessageData: LeadMessageData | null;
|
|
62
63
|
/**
|
|
63
64
|
* Created at date
|
|
64
65
|
* @type {Date}
|
|
65
66
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
66
67
|
*/
|
|
67
68
|
createdAt: Date;
|
|
69
|
+
/**
|
|
70
|
+
* Domain information
|
|
71
|
+
* @type {LeadDomainDto}
|
|
72
|
+
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
73
|
+
*/
|
|
74
|
+
domain: LeadDomainDto;
|
|
68
75
|
/**
|
|
69
76
|
*
|
|
70
77
|
* @type {string}
|
|
@@ -125,6 +132,8 @@ export type IntersectionLeadDtoWithListFieldsDtoLastMessageFromEnum = typeof Int
|
|
|
125
132
|
*/
|
|
126
133
|
export declare const IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum: {
|
|
127
134
|
readonly OFFER: "offer";
|
|
135
|
+
readonly OFFER_WITHDRAWN: "offer_withdrawn";
|
|
136
|
+
readonly OFFER_REJECTED: "offer_rejected";
|
|
128
137
|
readonly MESSAGE: "message";
|
|
129
138
|
};
|
|
130
139
|
export type IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = typeof IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum[keyof typeof IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum];
|
|
@@ -18,8 +18,9 @@ exports.instanceOfIntersectionLeadDtoWithListFieldsDto = instanceOfIntersectionL
|
|
|
18
18
|
exports.IntersectionLeadDtoWithListFieldsDtoFromJSON = IntersectionLeadDtoWithListFieldsDtoFromJSON;
|
|
19
19
|
exports.IntersectionLeadDtoWithListFieldsDtoFromJSONTyped = IntersectionLeadDtoWithListFieldsDtoFromJSONTyped;
|
|
20
20
|
exports.IntersectionLeadDtoWithListFieldsDtoToJSON = IntersectionLeadDtoWithListFieldsDtoToJSON;
|
|
21
|
-
var
|
|
22
|
-
var
|
|
21
|
+
var LeadMessageData_1 = require("./LeadMessageData");
|
|
22
|
+
var LeadDomainDto_1 = require("./LeadDomainDto");
|
|
23
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
24
|
/**
|
|
24
25
|
* @export
|
|
25
26
|
*/
|
|
@@ -52,6 +53,8 @@ exports.IntersectionLeadDtoWithListFieldsDtoLastMessageFromEnum = {
|
|
|
52
53
|
*/
|
|
53
54
|
exports.IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = {
|
|
54
55
|
OFFER: 'offer',
|
|
56
|
+
OFFER_WITHDRAWN: 'offer_withdrawn',
|
|
57
|
+
OFFER_REJECTED: 'offer_rejected',
|
|
55
58
|
MESSAGE: 'message'
|
|
56
59
|
};
|
|
57
60
|
/**
|
|
@@ -74,6 +77,8 @@ function instanceOfIntersectionLeadDtoWithListFieldsDto(value) {
|
|
|
74
77
|
return false;
|
|
75
78
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
76
79
|
return false;
|
|
80
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
81
|
+
return false;
|
|
77
82
|
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
78
83
|
return false;
|
|
79
84
|
if (!('buyerInitials' in value) || value['buyerInitials'] === undefined)
|
|
@@ -94,12 +99,13 @@ function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscrimin
|
|
|
94
99
|
return {
|
|
95
100
|
'id': json['id'],
|
|
96
101
|
'status': json['status'],
|
|
97
|
-
'lastOffer': (0,
|
|
102
|
+
'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
|
|
98
103
|
'lastOfferBy': json['lastOfferBy'],
|
|
99
104
|
'lastMessageFrom': json['lastMessageFrom'],
|
|
100
105
|
'lastMessageType': json['lastMessageType'],
|
|
101
|
-
'lastMessageData': (0,
|
|
106
|
+
'lastMessageData': (0, LeadMessageData_1.LeadMessageDataFromJSON)(json['lastMessageData']),
|
|
102
107
|
'createdAt': (new Date(json['createdAt'])),
|
|
108
|
+
'domain': (0, LeadDomainDto_1.LeadDomainDtoFromJSON)(json['domain']),
|
|
103
109
|
'domainName': json['domainName'],
|
|
104
110
|
'buyerInitials': json['buyerInitials'],
|
|
105
111
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
@@ -113,12 +119,13 @@ function IntersectionLeadDtoWithListFieldsDtoToJSON(value) {
|
|
|
113
119
|
return {
|
|
114
120
|
'id': value['id'],
|
|
115
121
|
'status': value['status'],
|
|
116
|
-
'lastOffer': (0,
|
|
122
|
+
'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
|
|
117
123
|
'lastOfferBy': value['lastOfferBy'],
|
|
118
124
|
'lastMessageFrom': value['lastMessageFrom'],
|
|
119
125
|
'lastMessageType': value['lastMessageType'],
|
|
120
|
-
'lastMessageData': (0,
|
|
126
|
+
'lastMessageData': (0, LeadMessageData_1.LeadMessageDataToJSON)(value['lastMessageData']),
|
|
121
127
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
128
|
+
'domain': (0, LeadDomainDto_1.LeadDomainDtoToJSON)(value['domain']),
|
|
122
129
|
'domainName': value['domainName'],
|
|
123
130
|
'buyerInitials': value['buyerInitials'],
|
|
124
131
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
@@ -0,0 +1,43 @@
|
|
|
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 LeadDomainDto
|
|
16
|
+
*/
|
|
17
|
+
export interface LeadDomainDto {
|
|
18
|
+
/**
|
|
19
|
+
* The domain id
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LeadDomainDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Domain name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LeadDomainDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Domain currency code
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LeadDomainDto
|
|
34
|
+
*/
|
|
35
|
+
currencyCode: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the LeadDomainDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfLeadDomainDto(value: object): value is LeadDomainDto;
|
|
41
|
+
export declare function LeadDomainDtoFromJSON(json: any): LeadDomainDto;
|
|
42
|
+
export declare function LeadDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadDomainDto;
|
|
43
|
+
export declare function LeadDomainDtoToJSON(value?: LeadDomainDto | null): any;
|
|
@@ -13,38 +13,42 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
16
|
+
exports.instanceOfLeadDomainDto = instanceOfLeadDomainDto;
|
|
17
|
+
exports.LeadDomainDtoFromJSON = LeadDomainDtoFromJSON;
|
|
18
|
+
exports.LeadDomainDtoFromJSONTyped = LeadDomainDtoFromJSONTyped;
|
|
19
|
+
exports.LeadDomainDtoToJSON = LeadDomainDtoToJSON;
|
|
20
20
|
/**
|
|
21
|
-
* Check if a given object implements the
|
|
21
|
+
* Check if a given object implements the LeadDomainDto interface.
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function instanceOfLeadDomainDto(value) {
|
|
24
24
|
if (!('id' in value) || value['id'] === undefined)
|
|
25
25
|
return false;
|
|
26
26
|
if (!('name' in value) || value['name'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
29
|
+
return false;
|
|
28
30
|
return true;
|
|
29
31
|
}
|
|
30
|
-
function
|
|
31
|
-
return
|
|
32
|
+
function LeadDomainDtoFromJSON(json) {
|
|
33
|
+
return LeadDomainDtoFromJSONTyped(json, false);
|
|
32
34
|
}
|
|
33
|
-
function
|
|
35
|
+
function LeadDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
36
|
if (json == null) {
|
|
35
37
|
return json;
|
|
36
38
|
}
|
|
37
39
|
return {
|
|
38
40
|
'id': json['id'],
|
|
39
41
|
'name': json['name'],
|
|
42
|
+
'currencyCode': json['currencyCode'],
|
|
40
43
|
};
|
|
41
44
|
}
|
|
42
|
-
function
|
|
45
|
+
function LeadDomainDtoToJSON(value) {
|
|
43
46
|
if (value == null) {
|
|
44
47
|
return value;
|
|
45
48
|
}
|
|
46
49
|
return {
|
|
47
50
|
'id': value['id'],
|
|
48
51
|
'name': value['name'],
|
|
52
|
+
'currencyCode': value['currencyCode'],
|
|
49
53
|
};
|
|
50
54
|
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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 { LeadDomainDto } from './LeadDomainDto';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface LeadDto
|
|
18
|
+
*/
|
|
19
|
+
export interface LeadDto {
|
|
20
|
+
/**
|
|
21
|
+
* The lead id
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof LeadDto
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* The current lead status
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof LeadDto
|
|
30
|
+
*/
|
|
31
|
+
status: LeadDtoStatusEnum;
|
|
32
|
+
/**
|
|
33
|
+
* The lead last offer amount
|
|
34
|
+
* @type {MoneyDto}
|
|
35
|
+
* @memberof LeadDto
|
|
36
|
+
*/
|
|
37
|
+
lastOffer: MoneyDto | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof LeadDto
|
|
42
|
+
*/
|
|
43
|
+
lastOfferBy: LeadDtoLastOfferByEnum | null;
|
|
44
|
+
/**
|
|
45
|
+
* Created at date
|
|
46
|
+
* @type {Date}
|
|
47
|
+
* @memberof LeadDto
|
|
48
|
+
*/
|
|
49
|
+
createdAt: Date;
|
|
50
|
+
/**
|
|
51
|
+
* Domain information
|
|
52
|
+
* @type {LeadDomainDto}
|
|
53
|
+
* @memberof LeadDto
|
|
54
|
+
*/
|
|
55
|
+
domain: LeadDomainDto;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const LeadDtoStatusEnum: {
|
|
61
|
+
readonly UNVERIFIED: "unverified";
|
|
62
|
+
readonly ACTIVE: "active";
|
|
63
|
+
readonly ACCEPTED: "accepted";
|
|
64
|
+
readonly FINISHED: "finished";
|
|
65
|
+
readonly DELETED: "deleted";
|
|
66
|
+
readonly ARCHIVED: "archived";
|
|
67
|
+
};
|
|
68
|
+
export type LeadDtoStatusEnum = typeof LeadDtoStatusEnum[keyof typeof LeadDtoStatusEnum];
|
|
69
|
+
/**
|
|
70
|
+
* @export
|
|
71
|
+
*/
|
|
72
|
+
export declare const LeadDtoLastOfferByEnum: {
|
|
73
|
+
readonly BUYER: "buyer";
|
|
74
|
+
readonly SELLER: "seller";
|
|
75
|
+
readonly ADMIN: "admin";
|
|
76
|
+
};
|
|
77
|
+
export type LeadDtoLastOfferByEnum = typeof LeadDtoLastOfferByEnum[keyof typeof LeadDtoLastOfferByEnum];
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the LeadDto interface.
|
|
80
|
+
*/
|
|
81
|
+
export declare function instanceOfLeadDto(value: object): value is LeadDto;
|
|
82
|
+
export declare function LeadDtoFromJSON(json: any): LeadDto;
|
|
83
|
+
export declare function LeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadDto;
|
|
84
|
+
export declare function LeadDtoToJSON(value?: LeadDto | null): any;
|