@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
|
@@ -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.LeadDtoLastOfferByEnum = exports.LeadDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfLeadDto = instanceOfLeadDto;
|
|
18
|
+
exports.LeadDtoFromJSON = LeadDtoFromJSON;
|
|
19
|
+
exports.LeadDtoFromJSONTyped = LeadDtoFromJSONTyped;
|
|
20
|
+
exports.LeadDtoToJSON = LeadDtoToJSON;
|
|
21
|
+
var LeadDomainDto_1 = require("./LeadDomainDto");
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.LeadDtoStatusEnum = {
|
|
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.LeadDtoLastOfferByEnum = {
|
|
38
|
+
BUYER: 'buyer',
|
|
39
|
+
SELLER: 'seller',
|
|
40
|
+
ADMIN: 'admin'
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the LeadDto interface.
|
|
44
|
+
*/
|
|
45
|
+
function instanceOfLeadDto(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 LeadDtoFromJSON(json) {
|
|
61
|
+
return LeadDtoFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function LeadDtoFromJSONTyped(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, LeadDomainDto_1.LeadDomainDtoFromJSON)(json['domain']),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function LeadDtoToJSON(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, LeadDomainDto_1.LeadDomainDtoToJSON)(value['domain']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { LeadMessageData } from './LeadMessageData';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -17,29 +17,35 @@ import type { LeadMessageDtoData } from './LeadMessageDtoData';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface LeadMessageDto {
|
|
19
19
|
/**
|
|
20
|
-
* The
|
|
20
|
+
* The lead message id
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof LeadMessageDto
|
|
23
23
|
*/
|
|
24
24
|
id: string;
|
|
25
25
|
/**
|
|
26
|
-
* The message type
|
|
26
|
+
* The lead message type
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof LeadMessageDto
|
|
29
29
|
*/
|
|
30
30
|
type: LeadMessageDtoTypeEnum;
|
|
31
31
|
/**
|
|
32
|
-
* The message origin
|
|
32
|
+
* The lead message origin
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof LeadMessageDto
|
|
35
35
|
*/
|
|
36
36
|
origin: LeadMessageDtoOriginEnum;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {
|
|
38
|
+
* Optional data
|
|
39
|
+
* @type {LeadMessageData}
|
|
40
40
|
* @memberof LeadMessageDto
|
|
41
41
|
*/
|
|
42
|
-
data:
|
|
42
|
+
data: LeadMessageData | null;
|
|
43
|
+
/**
|
|
44
|
+
* The lead message text
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof LeadMessageDto
|
|
47
|
+
*/
|
|
48
|
+
message: string | null;
|
|
43
49
|
/**
|
|
44
50
|
* Created at date
|
|
45
51
|
* @type {Date}
|
|
@@ -53,17 +59,25 @@ export interface LeadMessageDto {
|
|
|
53
59
|
*/
|
|
54
60
|
initials: string;
|
|
55
61
|
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {
|
|
62
|
+
* Seller read indicator *
|
|
63
|
+
* @type {boolean}
|
|
58
64
|
* @memberof LeadMessageDto
|
|
59
65
|
*/
|
|
60
|
-
|
|
66
|
+
readBySeller: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Buyer read indicator *
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof LeadMessageDto
|
|
71
|
+
*/
|
|
72
|
+
readByBuyer: boolean;
|
|
61
73
|
}
|
|
62
74
|
/**
|
|
63
75
|
* @export
|
|
64
76
|
*/
|
|
65
77
|
export declare const LeadMessageDtoTypeEnum: {
|
|
66
78
|
readonly OFFER: "offer";
|
|
79
|
+
readonly OFFER_WITHDRAWN: "offer_withdrawn";
|
|
80
|
+
readonly OFFER_REJECTED: "offer_rejected";
|
|
67
81
|
readonly MESSAGE: "message";
|
|
68
82
|
};
|
|
69
83
|
export type LeadMessageDtoTypeEnum = typeof LeadMessageDtoTypeEnum[keyof typeof LeadMessageDtoTypeEnum];
|
|
@@ -18,12 +18,14 @@ exports.instanceOfLeadMessageDto = instanceOfLeadMessageDto;
|
|
|
18
18
|
exports.LeadMessageDtoFromJSON = LeadMessageDtoFromJSON;
|
|
19
19
|
exports.LeadMessageDtoFromJSONTyped = LeadMessageDtoFromJSONTyped;
|
|
20
20
|
exports.LeadMessageDtoToJSON = LeadMessageDtoToJSON;
|
|
21
|
-
var
|
|
21
|
+
var LeadMessageData_1 = require("./LeadMessageData");
|
|
22
22
|
/**
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
25
|
exports.LeadMessageDtoTypeEnum = {
|
|
26
26
|
OFFER: 'offer',
|
|
27
|
+
OFFER_WITHDRAWN: 'offer_withdrawn',
|
|
28
|
+
OFFER_REJECTED: 'offer_rejected',
|
|
27
29
|
MESSAGE: 'message'
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
@@ -46,11 +48,15 @@ function instanceOfLeadMessageDto(value) {
|
|
|
46
48
|
return false;
|
|
47
49
|
if (!('data' in value) || value['data'] === undefined)
|
|
48
50
|
return false;
|
|
51
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
52
|
+
return false;
|
|
49
53
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
50
54
|
return false;
|
|
51
55
|
if (!('initials' in value) || value['initials'] === undefined)
|
|
52
56
|
return false;
|
|
53
|
-
if (!('
|
|
57
|
+
if (!('readBySeller' in value) || value['readBySeller'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
if (!('readByBuyer' in value) || value['readByBuyer'] === undefined)
|
|
54
60
|
return false;
|
|
55
61
|
return true;
|
|
56
62
|
}
|
|
@@ -65,10 +71,12 @@ function LeadMessageDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
71
|
'id': json['id'],
|
|
66
72
|
'type': json['type'],
|
|
67
73
|
'origin': json['origin'],
|
|
68
|
-
'data': (0,
|
|
74
|
+
'data': (0, LeadMessageData_1.LeadMessageDataFromJSON)(json['data']),
|
|
75
|
+
'message': json['message'],
|
|
69
76
|
'createdAt': (new Date(json['createdAt'])),
|
|
70
77
|
'initials': json['initials'],
|
|
71
|
-
'
|
|
78
|
+
'readBySeller': json['readBySeller'],
|
|
79
|
+
'readByBuyer': json['readByBuyer'],
|
|
72
80
|
};
|
|
73
81
|
}
|
|
74
82
|
function LeadMessageDtoToJSON(value) {
|
|
@@ -79,9 +87,11 @@ function LeadMessageDtoToJSON(value) {
|
|
|
79
87
|
'id': value['id'],
|
|
80
88
|
'type': value['type'],
|
|
81
89
|
'origin': value['origin'],
|
|
82
|
-
'data': (0,
|
|
90
|
+
'data': (0, LeadMessageData_1.LeadMessageDataToJSON)(value['data']),
|
|
91
|
+
'message': value['message'],
|
|
83
92
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
84
93
|
'initials': value['initials'],
|
|
85
|
-
'
|
|
94
|
+
'readBySeller': value['readBySeller'],
|
|
95
|
+
'readByBuyer': value['readByBuyer'],
|
|
86
96
|
};
|
|
87
97
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { OrderListItemDtoBasePrice } from './OrderListItemDtoBasePrice';
|
|
13
12
|
import type { OrderListItemDtoDomainInformation } from './OrderListItemDtoDomainInformation';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
14
|
import type { OrderListItemDtoBuyerInformation } from './OrderListItemDtoBuyerInformation';
|
|
15
15
|
import type { OrderListItemDtoSellerAccount } from './OrderListItemDtoSellerAccount';
|
|
16
16
|
/**
|
|
@@ -56,11 +56,11 @@ export interface OrderListItemDto {
|
|
|
56
56
|
*/
|
|
57
57
|
buyerInformation: OrderListItemDtoBuyerInformation;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {
|
|
59
|
+
* The order base price
|
|
60
|
+
* @type {MoneyDto}
|
|
61
61
|
* @memberof OrderListItemDto
|
|
62
62
|
*/
|
|
63
|
-
basePrice:
|
|
63
|
+
basePrice: MoneyDto | null;
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* @export
|
|
@@ -18,8 +18,8 @@ exports.instanceOfOrderListItemDto = instanceOfOrderListItemDto;
|
|
|
18
18
|
exports.OrderListItemDtoFromJSON = OrderListItemDtoFromJSON;
|
|
19
19
|
exports.OrderListItemDtoFromJSONTyped = OrderListItemDtoFromJSONTyped;
|
|
20
20
|
exports.OrderListItemDtoToJSON = OrderListItemDtoToJSON;
|
|
21
|
-
var OrderListItemDtoBasePrice_1 = require("./OrderListItemDtoBasePrice");
|
|
22
21
|
var OrderListItemDtoDomainInformation_1 = require("./OrderListItemDtoDomainInformation");
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
23
|
var OrderListItemDtoBuyerInformation_1 = require("./OrderListItemDtoBuyerInformation");
|
|
24
24
|
var OrderListItemDtoSellerAccount_1 = require("./OrderListItemDtoSellerAccount");
|
|
25
25
|
/**
|
|
@@ -63,7 +63,7 @@ function OrderListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
63
|
'domain': (0, OrderListItemDtoDomainInformation_1.OrderListItemDtoDomainInformationFromJSON)(json['domain']),
|
|
64
64
|
'sellerAccount': (0, OrderListItemDtoSellerAccount_1.OrderListItemDtoSellerAccountFromJSON)(json['sellerAccount']),
|
|
65
65
|
'buyerInformation': (0, OrderListItemDtoBuyerInformation_1.OrderListItemDtoBuyerInformationFromJSON)(json['buyerInformation']),
|
|
66
|
-
'basePrice': (0,
|
|
66
|
+
'basePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['basePrice']),
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
function OrderListItemDtoToJSON(value) {
|
|
@@ -77,6 +77,6 @@ function OrderListItemDtoToJSON(value) {
|
|
|
77
77
|
'domain': (0, OrderListItemDtoDomainInformation_1.OrderListItemDtoDomainInformationToJSON)(value['domain']),
|
|
78
78
|
'sellerAccount': (0, OrderListItemDtoSellerAccount_1.OrderListItemDtoSellerAccountToJSON)(value['sellerAccount']),
|
|
79
79
|
'buyerInformation': (0, OrderListItemDtoBuyerInformation_1.OrderListItemDtoBuyerInformationToJSON)(value['buyerInformation']),
|
|
80
|
-
'basePrice': (0,
|
|
80
|
+
'basePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['basePrice']),
|
|
81
81
|
};
|
|
82
82
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { PublicLeadBuyerDto } from './PublicLeadBuyerDto';
|
|
13
|
-
import type {
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -30,11 +30,11 @@ export interface PublicLeadDto {
|
|
|
30
30
|
*/
|
|
31
31
|
status: PublicLeadDtoStatusEnum;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {
|
|
33
|
+
* The last offer price
|
|
34
|
+
* @type {MoneyDto}
|
|
35
35
|
* @memberof PublicLeadDto
|
|
36
36
|
*/
|
|
37
|
-
lastOffer:
|
|
37
|
+
lastOffer: MoneyDto | null;
|
|
38
38
|
/**
|
|
39
39
|
* The buyer information
|
|
40
40
|
* @type {PublicLeadBuyerDto}
|
|
@@ -19,7 +19,7 @@ exports.PublicLeadDtoFromJSON = PublicLeadDtoFromJSON;
|
|
|
19
19
|
exports.PublicLeadDtoFromJSONTyped = PublicLeadDtoFromJSONTyped;
|
|
20
20
|
exports.PublicLeadDtoToJSON = PublicLeadDtoToJSON;
|
|
21
21
|
var PublicLeadBuyerDto_1 = require("./PublicLeadBuyerDto");
|
|
22
|
-
var
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -57,7 +57,7 @@ function PublicLeadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
57
|
return {
|
|
58
58
|
'id': json['id'],
|
|
59
59
|
'status': json['status'],
|
|
60
|
-
'lastOffer': (0,
|
|
60
|
+
'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
|
|
61
61
|
'buyer': (0, PublicLeadBuyerDto_1.PublicLeadBuyerDtoFromJSON)(json['buyer']),
|
|
62
62
|
'domainName': json['domainName'],
|
|
63
63
|
};
|
|
@@ -69,7 +69,7 @@ function PublicLeadDtoToJSON(value) {
|
|
|
69
69
|
return {
|
|
70
70
|
'id': value['id'],
|
|
71
71
|
'status': value['status'],
|
|
72
|
-
'lastOffer': (0,
|
|
72
|
+
'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
|
|
73
73
|
'buyer': (0, PublicLeadBuyerDto_1.PublicLeadBuyerDtoToJSON)(value['buyer']),
|
|
74
74
|
'domainName': value['domainName'],
|
|
75
75
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { MoneyDto } from './MoneyDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PutBuyerLeadOfferInput
|
|
17
|
+
*/
|
|
18
|
+
export interface PutBuyerLeadOfferInput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MoneyDto}
|
|
22
|
+
* @memberof PutBuyerLeadOfferInput
|
|
23
|
+
*/
|
|
24
|
+
offer: MoneyDto | null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PutBuyerLeadOfferInput interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfPutBuyerLeadOfferInput(value: object): value is PutBuyerLeadOfferInput;
|
|
30
|
+
export declare function PutBuyerLeadOfferInputFromJSON(json: any): PutBuyerLeadOfferInput;
|
|
31
|
+
export declare function PutBuyerLeadOfferInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutBuyerLeadOfferInput;
|
|
32
|
+
export declare function PutBuyerLeadOfferInputToJSON(value?: PutBuyerLeadOfferInput | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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.instanceOfPutBuyerLeadOfferInput = instanceOfPutBuyerLeadOfferInput;
|
|
17
|
+
exports.PutBuyerLeadOfferInputFromJSON = PutBuyerLeadOfferInputFromJSON;
|
|
18
|
+
exports.PutBuyerLeadOfferInputFromJSONTyped = PutBuyerLeadOfferInputFromJSONTyped;
|
|
19
|
+
exports.PutBuyerLeadOfferInputToJSON = PutBuyerLeadOfferInputToJSON;
|
|
20
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PutBuyerLeadOfferInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPutBuyerLeadOfferInput(value) {
|
|
25
|
+
if (!('offer' in value) || value['offer'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PutBuyerLeadOfferInputFromJSON(json) {
|
|
30
|
+
return PutBuyerLeadOfferInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PutBuyerLeadOfferInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'offer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PutBuyerLeadOfferInputToJSON(value) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { SellerDomainTransferDomainDto } from './SellerDomainTransferDomainDto';
|
|
13
|
-
import type {
|
|
13
|
+
import type { SellerDomainTransferAuthCodeDto } from './SellerDomainTransferAuthCodeDto';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -42,11 +42,11 @@ export interface SellerDomainTransferDto {
|
|
|
42
42
|
*/
|
|
43
43
|
status: SellerDomainTransferDtoStatusEnum;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {
|
|
45
|
+
* The domain transfer auth code
|
|
46
|
+
* @type {SellerDomainTransferAuthCodeDto}
|
|
47
47
|
* @memberof SellerDomainTransferDto
|
|
48
48
|
*/
|
|
49
|
-
authCode:
|
|
49
|
+
authCode: SellerDomainTransferAuthCodeDto | null;
|
|
50
50
|
/**
|
|
51
51
|
* The domain transfer creation date
|
|
52
52
|
* @type {Date}
|
|
@@ -19,7 +19,7 @@ exports.SellerDomainTransferDtoFromJSON = SellerDomainTransferDtoFromJSON;
|
|
|
19
19
|
exports.SellerDomainTransferDtoFromJSONTyped = SellerDomainTransferDtoFromJSONTyped;
|
|
20
20
|
exports.SellerDomainTransferDtoToJSON = SellerDomainTransferDtoToJSON;
|
|
21
21
|
var SellerDomainTransferDomainDto_1 = require("./SellerDomainTransferDomainDto");
|
|
22
|
-
var
|
|
22
|
+
var SellerDomainTransferAuthCodeDto_1 = require("./SellerDomainTransferAuthCodeDto");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -60,7 +60,7 @@ function SellerDomainTransferDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
60
|
'id': json['id'],
|
|
61
61
|
'domain': (0, SellerDomainTransferDomainDto_1.SellerDomainTransferDomainDtoFromJSON)(json['domain']),
|
|
62
62
|
'status': json['status'],
|
|
63
|
-
'authCode': (0,
|
|
63
|
+
'authCode': (0, SellerDomainTransferAuthCodeDto_1.SellerDomainTransferAuthCodeDtoFromJSON)(json['authCode']),
|
|
64
64
|
'createdAt': (new Date(json['createdAt'])),
|
|
65
65
|
};
|
|
66
66
|
}
|
|
@@ -73,7 +73,7 @@ function SellerDomainTransferDtoToJSON(value) {
|
|
|
73
73
|
'id': value['id'],
|
|
74
74
|
'domain': (0, SellerDomainTransferDomainDto_1.SellerDomainTransferDomainDtoToJSON)(value['domain']),
|
|
75
75
|
'status': value['status'],
|
|
76
|
-
'authCode': (0,
|
|
76
|
+
'authCode': (0, SellerDomainTransferAuthCodeDto_1.SellerDomainTransferAuthCodeDtoToJSON)(value['authCode']),
|
|
77
77
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
78
78
|
};
|
|
79
79
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { MoneyDto } from './MoneyDto';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,16 +18,16 @@ import type { MoneyInput } from './MoneyInput';
|
|
|
18
18
|
export interface UpdateDomainInput {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {MoneyDto}
|
|
22
22
|
* @memberof UpdateDomainInput
|
|
23
23
|
*/
|
|
24
|
-
bin?:
|
|
24
|
+
bin?: MoneyDto | null;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {
|
|
27
|
+
* @type {MoneyDto}
|
|
28
28
|
* @memberof UpdateDomainInput
|
|
29
29
|
*/
|
|
30
|
-
minOffer?:
|
|
30
|
+
minOffer?: MoneyDto | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {string}
|
|
@@ -17,7 +17,7 @@ exports.instanceOfUpdateDomainInput = instanceOfUpdateDomainInput;
|
|
|
17
17
|
exports.UpdateDomainInputFromJSON = UpdateDomainInputFromJSON;
|
|
18
18
|
exports.UpdateDomainInputFromJSONTyped = UpdateDomainInputFromJSONTyped;
|
|
19
19
|
exports.UpdateDomainInputToJSON = UpdateDomainInputToJSON;
|
|
20
|
-
var
|
|
20
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
21
21
|
/**
|
|
22
22
|
* Check if a given object implements the UpdateDomainInput interface.
|
|
23
23
|
*/
|
|
@@ -32,8 +32,8 @@ function UpdateDomainInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
-
'bin': json['bin'] == null ? undefined : (0,
|
|
36
|
-
'minOffer': json['minOffer'] == null ? undefined : (0,
|
|
35
|
+
'bin': json['bin'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['bin']),
|
|
36
|
+
'minOffer': json['minOffer'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
37
37
|
'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
|
|
38
38
|
};
|
|
39
39
|
}
|
|
@@ -42,8 +42,8 @@ function UpdateDomainInputToJSON(value) {
|
|
|
42
42
|
return value;
|
|
43
43
|
}
|
|
44
44
|
return {
|
|
45
|
-
'bin': (0,
|
|
46
|
-
'minOffer': (0,
|
|
45
|
+
'bin': (0, MoneyDto_1.MoneyDtoToJSON)(value['bin']),
|
|
46
|
+
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
47
47
|
'currencyCode': value['currencyCode'],
|
|
48
48
|
};
|
|
49
49
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -5,14 +5,19 @@ export * from './AccountFinancialInput';
|
|
|
5
5
|
export * from './AccountSettingsInput';
|
|
6
6
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
7
7
|
export * from './BadRequestException';
|
|
8
|
+
export * from './BatchReadBuyerLeadMessageInput';
|
|
9
|
+
export * from './BatchReadSellerLeadMessageInput';
|
|
8
10
|
export * from './BatchUpdateDomainsInput';
|
|
9
11
|
export * from './BuyerDomainTransferAuthCodeDto';
|
|
10
12
|
export * from './BuyerDomainTransferListItemDomainDto';
|
|
11
13
|
export * from './BuyerDomainTransferListItemDto';
|
|
14
|
+
export * from './BuyerLeadListItemDomainDto';
|
|
15
|
+
export * from './BuyerLeadListItemDto';
|
|
12
16
|
export * from './BuyerUserDto';
|
|
13
17
|
export * from './ChangeOrderStatusInput';
|
|
14
18
|
export * from './ChartDataPoint';
|
|
15
19
|
export * from './ConflictException';
|
|
20
|
+
export * from './CreateBuyerLeadMessageInput';
|
|
16
21
|
export * from './CreateLeadInput';
|
|
17
22
|
export * from './CreateLeadMessageInput';
|
|
18
23
|
export * from './CreateOrderInput';
|
|
@@ -27,7 +32,6 @@ export * from './DomainTransferDetailWorkflowStepDto';
|
|
|
27
32
|
export * from './DomainTransferDetailsAuthCodeDto';
|
|
28
33
|
export * from './DomainTransferDetailsDomainDto';
|
|
29
34
|
export * from './DomainTransferDetailsDto';
|
|
30
|
-
export * from './DomainTransferDetailsDtoAuthCode';
|
|
31
35
|
export * from './DomainTransferDetailsOrderBuyerDto';
|
|
32
36
|
export * from './DomainTransferDetailsOrderDto';
|
|
33
37
|
export * from './DomainTransferDetailsOrderSellerDto';
|
|
@@ -35,11 +39,11 @@ export * from './DomainTransferDetailsOrderSellerUserDto';
|
|
|
35
39
|
export * from './DomainTransferDetailsValidationDto';
|
|
36
40
|
export * from './DomainTransferDomainDto';
|
|
37
41
|
export * from './DomainTransferDto';
|
|
38
|
-
export * from './DomainTransferDtoAgent';
|
|
39
42
|
export * from './DomainTransferOrderDto';
|
|
40
43
|
export * from './ForgotPasswordRequestInput';
|
|
41
44
|
export * from './GetAllDomainTransfers200Response';
|
|
42
45
|
export * from './GetAllOrders200Response';
|
|
46
|
+
export * from './GetBuyerLeads200Response';
|
|
43
47
|
export * from './GetBuyerTransfers200Response';
|
|
44
48
|
export * from './HttpException';
|
|
45
49
|
export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
|
|
@@ -47,15 +51,12 @@ export * from './IntersectionDomainDtoWithAccountDto';
|
|
|
47
51
|
export * from './IntersectionDomainDtoWithDomainUrlDto';
|
|
48
52
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
49
53
|
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
|
|
50
|
-
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice';
|
|
51
|
-
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
|
|
52
54
|
export * from './IntersectionLeadDtoWithLeadDetailsDto';
|
|
53
55
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
54
|
-
export * from './
|
|
55
|
-
export * from './
|
|
56
|
+
export * from './LeadDomainDto';
|
|
57
|
+
export * from './LeadDto';
|
|
56
58
|
export * from './LeadMessageData';
|
|
57
59
|
export * from './LeadMessageDto';
|
|
58
|
-
export * from './LeadMessageDtoData';
|
|
59
60
|
export * from './LeadStatusDto';
|
|
60
61
|
export * from './List200Response';
|
|
61
62
|
export * from './List200Response1';
|
|
@@ -65,12 +66,10 @@ export * from './ListLeadMessagesDto';
|
|
|
65
66
|
export * from './LoginDto';
|
|
66
67
|
export * from './LoginInput';
|
|
67
68
|
export * from './MoneyDto';
|
|
68
|
-
export * from './MoneyInput';
|
|
69
69
|
export * from './NotFoundException';
|
|
70
70
|
export * from './ObjectId';
|
|
71
71
|
export * from './OrderDto';
|
|
72
72
|
export * from './OrderListItemDto';
|
|
73
|
-
export * from './OrderListItemDtoBasePrice';
|
|
74
73
|
export * from './OrderListItemDtoBuyerInformation';
|
|
75
74
|
export * from './OrderListItemDtoDomainInformation';
|
|
76
75
|
export * from './OrderListItemDtoSellerAccount';
|
|
@@ -79,7 +78,7 @@ export * from './PaginateResponseLinks';
|
|
|
79
78
|
export * from './PaginateResponseMeta';
|
|
80
79
|
export * from './PublicLeadBuyerDto';
|
|
81
80
|
export * from './PublicLeadDto';
|
|
82
|
-
export * from './
|
|
81
|
+
export * from './PutBuyerLeadOfferInput';
|
|
83
82
|
export * from './PutLeadOfferInput';
|
|
84
83
|
export * from './RegisterAccountInput';
|
|
85
84
|
export * from './RelatedSellerDomain';
|
|
@@ -88,7 +87,6 @@ export * from './SecurityUserDto';
|
|
|
88
87
|
export * from './SellerDomainTransferAuthCodeDto';
|
|
89
88
|
export * from './SellerDomainTransferDomainDto';
|
|
90
89
|
export * from './SellerDomainTransferDto';
|
|
91
|
-
export * from './SellerDomainTransferDtoAuthCode';
|
|
92
90
|
export * from './SellerDomainTransferListItemDomainDto';
|
|
93
91
|
export * from './SellerDomainTransferListItemDto';
|
|
94
92
|
export * from './SetDomainTransferConfirmationInput';
|