@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,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 BuyerLeadListItemDomainDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BuyerLeadListItemDomainDto {
|
|
18
|
+
/**
|
|
19
|
+
* The buyer domain ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BuyerLeadListItemDomainDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The lead domain name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BuyerLeadListItemDomainDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The lead domain TLD
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BuyerLeadListItemDomainDto
|
|
34
|
+
*/
|
|
35
|
+
tld: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the BuyerLeadListItemDomainDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfBuyerLeadListItemDomainDto(value: object): value is BuyerLeadListItemDomainDto;
|
|
41
|
+
export declare function BuyerLeadListItemDomainDtoFromJSON(json: any): BuyerLeadListItemDomainDto;
|
|
42
|
+
export declare function BuyerLeadListItemDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerLeadListItemDomainDto;
|
|
43
|
+
export declare function BuyerLeadListItemDomainDtoToJSON(value?: BuyerLeadListItemDomainDto | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfBuyerLeadListItemDomainDto = instanceOfBuyerLeadListItemDomainDto;
|
|
17
|
+
exports.BuyerLeadListItemDomainDtoFromJSON = BuyerLeadListItemDomainDtoFromJSON;
|
|
18
|
+
exports.BuyerLeadListItemDomainDtoFromJSONTyped = BuyerLeadListItemDomainDtoFromJSONTyped;
|
|
19
|
+
exports.BuyerLeadListItemDomainDtoToJSON = BuyerLeadListItemDomainDtoToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the BuyerLeadListItemDomainDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfBuyerLeadListItemDomainDto(value) {
|
|
24
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('tld' in value) || value['tld'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function BuyerLeadListItemDomainDtoFromJSON(json) {
|
|
33
|
+
return BuyerLeadListItemDomainDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function BuyerLeadListItemDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': json['id'],
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'tld': json['tld'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function BuyerLeadListItemDomainDtoToJSON(value) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
'tld': value['tld'],
|
|
53
|
+
};
|
|
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 { BuyerLeadListItemDomainDto } from './BuyerLeadListItemDomainDto';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BuyerLeadListItemDto
|
|
18
|
+
*/
|
|
19
|
+
export interface BuyerLeadListItemDto {
|
|
20
|
+
/**
|
|
21
|
+
* The lead ID
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof BuyerLeadListItemDto
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* The current lead status
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof BuyerLeadListItemDto
|
|
30
|
+
*/
|
|
31
|
+
status: BuyerLeadListItemDtoStatusEnum;
|
|
32
|
+
/**
|
|
33
|
+
* The last offer amount
|
|
34
|
+
* @type {MoneyDto}
|
|
35
|
+
* @memberof BuyerLeadListItemDto
|
|
36
|
+
*/
|
|
37
|
+
lastOffer: MoneyDto | null;
|
|
38
|
+
/**
|
|
39
|
+
* The last offer offerer
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof BuyerLeadListItemDto
|
|
42
|
+
*/
|
|
43
|
+
lastOfferBy: BuyerLeadListItemDtoLastOfferByEnum | null;
|
|
44
|
+
/**
|
|
45
|
+
* Created at date
|
|
46
|
+
* @type {Date}
|
|
47
|
+
* @memberof BuyerLeadListItemDto
|
|
48
|
+
*/
|
|
49
|
+
createdAt: Date;
|
|
50
|
+
/**
|
|
51
|
+
* The lead domain information
|
|
52
|
+
* @type {BuyerLeadListItemDomainDto}
|
|
53
|
+
* @memberof BuyerLeadListItemDto
|
|
54
|
+
*/
|
|
55
|
+
domain: BuyerLeadListItemDomainDto;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const BuyerLeadListItemDtoStatusEnum: {
|
|
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 BuyerLeadListItemDtoStatusEnum = typeof BuyerLeadListItemDtoStatusEnum[keyof typeof BuyerLeadListItemDtoStatusEnum];
|
|
69
|
+
/**
|
|
70
|
+
* @export
|
|
71
|
+
*/
|
|
72
|
+
export declare const BuyerLeadListItemDtoLastOfferByEnum: {
|
|
73
|
+
readonly BUYER: "buyer";
|
|
74
|
+
readonly SELLER: "seller";
|
|
75
|
+
readonly ADMIN: "admin";
|
|
76
|
+
};
|
|
77
|
+
export type BuyerLeadListItemDtoLastOfferByEnum = typeof BuyerLeadListItemDtoLastOfferByEnum[keyof typeof BuyerLeadListItemDtoLastOfferByEnum];
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the BuyerLeadListItemDto interface.
|
|
80
|
+
*/
|
|
81
|
+
export declare function instanceOfBuyerLeadListItemDto(value: object): value is BuyerLeadListItemDto;
|
|
82
|
+
export declare function BuyerLeadListItemDtoFromJSON(json: any): BuyerLeadListItemDto;
|
|
83
|
+
export declare function BuyerLeadListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerLeadListItemDto;
|
|
84
|
+
export declare function BuyerLeadListItemDtoToJSON(value?: BuyerLeadListItemDto | null): any;
|
|
@@ -0,0 +1,88 @@
|
|
|
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.BuyerLeadListItemDtoLastOfferByEnum = exports.BuyerLeadListItemDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfBuyerLeadListItemDto = instanceOfBuyerLeadListItemDto;
|
|
18
|
+
exports.BuyerLeadListItemDtoFromJSON = BuyerLeadListItemDtoFromJSON;
|
|
19
|
+
exports.BuyerLeadListItemDtoFromJSONTyped = BuyerLeadListItemDtoFromJSONTyped;
|
|
20
|
+
exports.BuyerLeadListItemDtoToJSON = BuyerLeadListItemDtoToJSON;
|
|
21
|
+
var BuyerLeadListItemDomainDto_1 = require("./BuyerLeadListItemDomainDto");
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.BuyerLeadListItemDtoStatusEnum = {
|
|
27
|
+
UNVERIFIED: 'unverified',
|
|
28
|
+
ACTIVE: 'active',
|
|
29
|
+
ACCEPTED: 'accepted',
|
|
30
|
+
FINISHED: 'finished',
|
|
31
|
+
DELETED: 'deleted',
|
|
32
|
+
ARCHIVED: 'archived'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
exports.BuyerLeadListItemDtoLastOfferByEnum = {
|
|
38
|
+
BUYER: 'buyer',
|
|
39
|
+
SELLER: 'seller',
|
|
40
|
+
ADMIN: 'admin'
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the BuyerLeadListItemDto interface.
|
|
44
|
+
*/
|
|
45
|
+
function instanceOfBuyerLeadListItemDto(value) {
|
|
46
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('lastOffer' in value) || value['lastOffer'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
function BuyerLeadListItemDtoFromJSON(json) {
|
|
61
|
+
return BuyerLeadListItemDtoFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function BuyerLeadListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'id': json['id'],
|
|
69
|
+
'status': json['status'],
|
|
70
|
+
'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
|
|
71
|
+
'lastOfferBy': json['lastOfferBy'],
|
|
72
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
73
|
+
'domain': (0, BuyerLeadListItemDomainDto_1.BuyerLeadListItemDomainDtoFromJSON)(json['domain']),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function BuyerLeadListItemDtoToJSON(value) {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
'id': value['id'],
|
|
82
|
+
'status': value['status'],
|
|
83
|
+
'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
|
|
84
|
+
'lastOfferBy': value['lastOfferBy'],
|
|
85
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
86
|
+
'domain': (0, BuyerLeadListItemDomainDto_1.BuyerLeadListItemDomainDtoToJSON)(value['domain']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 CreateBuyerLeadMessageInput
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateBuyerLeadMessageInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateBuyerLeadMessageInput
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateBuyerLeadMessageInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateBuyerLeadMessageInput(value: object): value is CreateBuyerLeadMessageInput;
|
|
29
|
+
export declare function CreateBuyerLeadMessageInputFromJSON(json: any): CreateBuyerLeadMessageInput;
|
|
30
|
+
export declare function CreateBuyerLeadMessageInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBuyerLeadMessageInput;
|
|
31
|
+
export declare function CreateBuyerLeadMessageInputToJSON(value?: CreateBuyerLeadMessageInput | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
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.instanceOfCreateBuyerLeadMessageInput = instanceOfCreateBuyerLeadMessageInput;
|
|
17
|
+
exports.CreateBuyerLeadMessageInputFromJSON = CreateBuyerLeadMessageInputFromJSON;
|
|
18
|
+
exports.CreateBuyerLeadMessageInputFromJSONTyped = CreateBuyerLeadMessageInputFromJSONTyped;
|
|
19
|
+
exports.CreateBuyerLeadMessageInputToJSON = CreateBuyerLeadMessageInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the CreateBuyerLeadMessageInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfCreateBuyerLeadMessageInput(value) {
|
|
24
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function CreateBuyerLeadMessageInputFromJSON(json) {
|
|
29
|
+
return CreateBuyerLeadMessageInputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function CreateBuyerLeadMessageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function CreateBuyerLeadMessageInputToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'message': value['message'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { DomainTransferDetailsDtoAuthCode } from './DomainTransferDetailsDtoAuthCode';
|
|
13
12
|
import type { DomainTransferDetailsOrderDto } from './DomainTransferDetailsOrderDto';
|
|
14
13
|
import type { DomainTransferDetailsValidationDto } from './DomainTransferDetailsValidationDto';
|
|
15
14
|
import type { DomainTransferDetailWorkflowStepDto } from './DomainTransferDetailWorkflowStepDto';
|
|
15
|
+
import type { DomainTransferDetailsAuthCodeDto } from './DomainTransferDetailsAuthCodeDto';
|
|
16
16
|
import type { DomainTransferDetailsDomainDto } from './DomainTransferDetailsDomainDto';
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
@@ -51,11 +51,11 @@ export interface DomainTransferDetailsDto {
|
|
|
51
51
|
*/
|
|
52
52
|
status: DomainTransferDetailsDtoStatusEnum;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {
|
|
54
|
+
* The domain transfer auth code
|
|
55
|
+
* @type {DomainTransferDetailsAuthCodeDto}
|
|
56
56
|
* @memberof DomainTransferDetailsDto
|
|
57
57
|
*/
|
|
58
|
-
authCode:
|
|
58
|
+
authCode: DomainTransferDetailsAuthCodeDto | null;
|
|
59
59
|
/**
|
|
60
60
|
* The domain transfer validations
|
|
61
61
|
* @type {Array<DomainTransferDetailsValidationDto>}
|
|
@@ -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
|
|
@@ -31,10 +31,10 @@ export interface IntersectionLeadDtoWithLeadDetailsDto {
|
|
|
31
31
|
status: IntersectionLeadDtoWithLeadDetailsDtoStatusEnum;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @type {
|
|
34
|
+
* @type {MoneyDto}
|
|
35
35
|
* @memberof IntersectionLeadDtoWithLeadDetailsDto
|
|
36
36
|
*/
|
|
37
|
-
lastOffer:
|
|
37
|
+
lastOffer: MoneyDto | null;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {string}
|