@randock/nameshift-api-client 0.0.412 → 0.0.414
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 -0
- package/README.md +3 -3
- package/dist/apis/AddressPublicApi.d.ts +30 -0
- package/dist/apis/AddressPublicApi.js +133 -0
- package/dist/apis/AdminApi.d.ts +15 -1
- package/dist/apis/AdminApi.js +63 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AdminLeadListItemBuyerDto.d.ts +68 -0
- package/dist/models/AdminLeadListItemBuyerDto.js +75 -0
- package/dist/models/AdminLeadListItemDomainDto.d.ts +44 -0
- package/dist/models/AdminLeadListItemDomainDto.js +59 -0
- package/dist/models/AdminLeadListItemDto.d.ts +181 -0
- package/dist/models/AdminLeadListItemDto.js +164 -0
- package/dist/models/ListLeads200Response.d.ts +47 -0
- package/dist/models/ListLeads200Response.js +62 -0
- package/dist/models/StateDto.d.ts +44 -0
- package/dist/models/StateDto.js +59 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/apis/AddressPublicApi.ts +86 -0
- package/src/apis/AdminApi.ts +60 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AdminLeadListItemBuyerDto.ts +120 -0
- package/src/models/AdminLeadListItemDomainDto.ts +84 -0
- package/src/models/AdminLeadListItemDto.ts +295 -0
- package/src/models/ListLeads200Response.ts +106 -0
- package/src/models/StateDto.ts +84 -0
- package/src/models/index.ts +5 -0
|
@@ -0,0 +1,181 @@
|
|
|
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
|
+
import type { AdminLeadListItemBuyerDto } from './AdminLeadListItemBuyerDto';
|
|
14
|
+
import type { AdminLeadListItemDomainDto } from './AdminLeadListItemDomainDto';
|
|
15
|
+
import type { AccountDto } from './AccountDto';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AdminLeadListItemDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AdminLeadListItemDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AdminLeadListItemDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AdminLeadListItemDto
|
|
32
|
+
*/
|
|
33
|
+
status: AdminLeadListItemDtoStatusEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AdminLeadListItemDto
|
|
38
|
+
*/
|
|
39
|
+
source: AdminLeadListItemDtoSourceEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof AdminLeadListItemDto
|
|
44
|
+
*/
|
|
45
|
+
manualType: AdminLeadListItemDtoManualTypeEnum | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {MoneyDto}
|
|
49
|
+
* @memberof AdminLeadListItemDto
|
|
50
|
+
*/
|
|
51
|
+
lastOffer: MoneyDto | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof AdminLeadListItemDto
|
|
56
|
+
*/
|
|
57
|
+
lastOfferBy: AdminLeadListItemDtoLastOfferByEnum | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof AdminLeadListItemDto
|
|
62
|
+
*/
|
|
63
|
+
lastOfferType: AdminLeadListItemDtoLastOfferTypeEnum | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {AccountDto}
|
|
67
|
+
* @memberof AdminLeadListItemDto
|
|
68
|
+
*/
|
|
69
|
+
account: AccountDto;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Date}
|
|
73
|
+
* @memberof AdminLeadListItemDto
|
|
74
|
+
*/
|
|
75
|
+
createdAt: Date;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Date}
|
|
79
|
+
* @memberof AdminLeadListItemDto
|
|
80
|
+
*/
|
|
81
|
+
updatedAt: Date;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof AdminLeadListItemDto
|
|
86
|
+
*/
|
|
87
|
+
archivedForSeller: boolean;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {number}
|
|
91
|
+
* @memberof AdminLeadListItemDto
|
|
92
|
+
*/
|
|
93
|
+
unreadBuyerMessagesNumber: number;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {number}
|
|
97
|
+
* @memberof AdminLeadListItemDto
|
|
98
|
+
*/
|
|
99
|
+
unreadSellerMessagesNumber: number;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {Date}
|
|
103
|
+
* @memberof AdminLeadListItemDto
|
|
104
|
+
*/
|
|
105
|
+
acceptedAt: Date | null;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {Date}
|
|
109
|
+
* @memberof AdminLeadListItemDto
|
|
110
|
+
*/
|
|
111
|
+
closedAt: Date | null;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {AdminLeadListItemDomainDto}
|
|
115
|
+
* @memberof AdminLeadListItemDto
|
|
116
|
+
*/
|
|
117
|
+
domain: AdminLeadListItemDomainDto;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {AdminLeadListItemBuyerDto}
|
|
121
|
+
* @memberof AdminLeadListItemDto
|
|
122
|
+
*/
|
|
123
|
+
buyer: AdminLeadListItemBuyerDto;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* @export
|
|
127
|
+
*/
|
|
128
|
+
export declare const AdminLeadListItemDtoStatusEnum: {
|
|
129
|
+
readonly UNVERIFIED: "unverified";
|
|
130
|
+
readonly ACTIVE: "active";
|
|
131
|
+
readonly ACCEPTED: "accepted";
|
|
132
|
+
readonly FINISHED: "finished";
|
|
133
|
+
readonly CLOSED: "closed";
|
|
134
|
+
};
|
|
135
|
+
export type AdminLeadListItemDtoStatusEnum = typeof AdminLeadListItemDtoStatusEnum[keyof typeof AdminLeadListItemDtoStatusEnum];
|
|
136
|
+
/**
|
|
137
|
+
* @export
|
|
138
|
+
*/
|
|
139
|
+
export declare const AdminLeadListItemDtoSourceEnum: {
|
|
140
|
+
readonly NAMESHIFT_HOSTED: "nameshift_hosted";
|
|
141
|
+
readonly SELLER_IMPORTED: "seller_imported";
|
|
142
|
+
};
|
|
143
|
+
export type AdminLeadListItemDtoSourceEnum = typeof AdminLeadListItemDtoSourceEnum[keyof typeof AdminLeadListItemDtoSourceEnum];
|
|
144
|
+
/**
|
|
145
|
+
* @export
|
|
146
|
+
*/
|
|
147
|
+
export declare const AdminLeadListItemDtoManualTypeEnum: {
|
|
148
|
+
readonly BUY_NOW: "buy_now";
|
|
149
|
+
readonly OFFER: "offer";
|
|
150
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
151
|
+
readonly RENT: "rent";
|
|
152
|
+
};
|
|
153
|
+
export type AdminLeadListItemDtoManualTypeEnum = typeof AdminLeadListItemDtoManualTypeEnum[keyof typeof AdminLeadListItemDtoManualTypeEnum];
|
|
154
|
+
/**
|
|
155
|
+
* @export
|
|
156
|
+
*/
|
|
157
|
+
export declare const AdminLeadListItemDtoLastOfferByEnum: {
|
|
158
|
+
readonly BUYER: "buyer";
|
|
159
|
+
readonly SELLER: "seller";
|
|
160
|
+
readonly AI: "ai";
|
|
161
|
+
readonly ADMIN: "admin";
|
|
162
|
+
};
|
|
163
|
+
export type AdminLeadListItemDtoLastOfferByEnum = typeof AdminLeadListItemDtoLastOfferByEnum[keyof typeof AdminLeadListItemDtoLastOfferByEnum];
|
|
164
|
+
/**
|
|
165
|
+
* @export
|
|
166
|
+
*/
|
|
167
|
+
export declare const AdminLeadListItemDtoLastOfferTypeEnum: {
|
|
168
|
+
readonly LEAD: "lead";
|
|
169
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
170
|
+
readonly RENT: "rent";
|
|
171
|
+
readonly AUCTION: "auction";
|
|
172
|
+
};
|
|
173
|
+
export type AdminLeadListItemDtoLastOfferTypeEnum = typeof AdminLeadListItemDtoLastOfferTypeEnum[keyof typeof AdminLeadListItemDtoLastOfferTypeEnum];
|
|
174
|
+
/**
|
|
175
|
+
* Check if a given object implements the AdminLeadListItemDto interface.
|
|
176
|
+
*/
|
|
177
|
+
export declare function instanceOfAdminLeadListItemDto(value: object): value is AdminLeadListItemDto;
|
|
178
|
+
export declare function AdminLeadListItemDtoFromJSON(json: any): AdminLeadListItemDto;
|
|
179
|
+
export declare function AdminLeadListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminLeadListItemDto;
|
|
180
|
+
export declare function AdminLeadListItemDtoToJSON(json: any): AdminLeadListItemDto;
|
|
181
|
+
export declare function AdminLeadListItemDtoToJSONTyped(value?: AdminLeadListItemDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,164 @@
|
|
|
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.AdminLeadListItemDtoLastOfferTypeEnum = exports.AdminLeadListItemDtoLastOfferByEnum = exports.AdminLeadListItemDtoManualTypeEnum = exports.AdminLeadListItemDtoSourceEnum = exports.AdminLeadListItemDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfAdminLeadListItemDto = instanceOfAdminLeadListItemDto;
|
|
18
|
+
exports.AdminLeadListItemDtoFromJSON = AdminLeadListItemDtoFromJSON;
|
|
19
|
+
exports.AdminLeadListItemDtoFromJSONTyped = AdminLeadListItemDtoFromJSONTyped;
|
|
20
|
+
exports.AdminLeadListItemDtoToJSON = AdminLeadListItemDtoToJSON;
|
|
21
|
+
exports.AdminLeadListItemDtoToJSONTyped = AdminLeadListItemDtoToJSONTyped;
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
var AdminLeadListItemBuyerDto_1 = require("./AdminLeadListItemBuyerDto");
|
|
24
|
+
var AdminLeadListItemDomainDto_1 = require("./AdminLeadListItemDomainDto");
|
|
25
|
+
var AccountDto_1 = require("./AccountDto");
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.AdminLeadListItemDtoStatusEnum = {
|
|
30
|
+
UNVERIFIED: 'unverified',
|
|
31
|
+
ACTIVE: 'active',
|
|
32
|
+
ACCEPTED: 'accepted',
|
|
33
|
+
FINISHED: 'finished',
|
|
34
|
+
CLOSED: 'closed'
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
exports.AdminLeadListItemDtoSourceEnum = {
|
|
40
|
+
NAMESHIFT_HOSTED: 'nameshift_hosted',
|
|
41
|
+
SELLER_IMPORTED: 'seller_imported'
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
exports.AdminLeadListItemDtoManualTypeEnum = {
|
|
47
|
+
BUY_NOW: 'buy_now',
|
|
48
|
+
OFFER: 'offer',
|
|
49
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
50
|
+
RENT: 'rent'
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
exports.AdminLeadListItemDtoLastOfferByEnum = {
|
|
56
|
+
BUYER: 'buyer',
|
|
57
|
+
SELLER: 'seller',
|
|
58
|
+
AI: 'ai',
|
|
59
|
+
ADMIN: 'admin'
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
exports.AdminLeadListItemDtoLastOfferTypeEnum = {
|
|
65
|
+
LEAD: 'lead',
|
|
66
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
67
|
+
RENT: 'rent',
|
|
68
|
+
AUCTION: 'auction'
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the AdminLeadListItemDto interface.
|
|
72
|
+
*/
|
|
73
|
+
function instanceOfAdminLeadListItemDto(value) {
|
|
74
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
75
|
+
return false;
|
|
76
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
77
|
+
return false;
|
|
78
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
79
|
+
return false;
|
|
80
|
+
if (!('manualType' in value) || value['manualType'] === undefined)
|
|
81
|
+
return false;
|
|
82
|
+
if (!('lastOffer' in value) || value['lastOffer'] === undefined)
|
|
83
|
+
return false;
|
|
84
|
+
if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
|
|
85
|
+
return false;
|
|
86
|
+
if (!('lastOfferType' in value) || value['lastOfferType'] === undefined)
|
|
87
|
+
return false;
|
|
88
|
+
if (!('account' in value) || value['account'] === undefined)
|
|
89
|
+
return false;
|
|
90
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
91
|
+
return false;
|
|
92
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
93
|
+
return false;
|
|
94
|
+
if (!('archivedForSeller' in value) || value['archivedForSeller'] === undefined)
|
|
95
|
+
return false;
|
|
96
|
+
if (!('unreadBuyerMessagesNumber' in value) || value['unreadBuyerMessagesNumber'] === undefined)
|
|
97
|
+
return false;
|
|
98
|
+
if (!('unreadSellerMessagesNumber' in value) || value['unreadSellerMessagesNumber'] === undefined)
|
|
99
|
+
return false;
|
|
100
|
+
if (!('acceptedAt' in value) || value['acceptedAt'] === undefined)
|
|
101
|
+
return false;
|
|
102
|
+
if (!('closedAt' in value) || value['closedAt'] === undefined)
|
|
103
|
+
return false;
|
|
104
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
105
|
+
return false;
|
|
106
|
+
if (!('buyer' in value) || value['buyer'] === undefined)
|
|
107
|
+
return false;
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
function AdminLeadListItemDtoFromJSON(json) {
|
|
111
|
+
return AdminLeadListItemDtoFromJSONTyped(json, false);
|
|
112
|
+
}
|
|
113
|
+
function AdminLeadListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
114
|
+
if (json == null) {
|
|
115
|
+
return json;
|
|
116
|
+
}
|
|
117
|
+
return {
|
|
118
|
+
'id': json['id'],
|
|
119
|
+
'status': json['status'],
|
|
120
|
+
'source': json['source'],
|
|
121
|
+
'manualType': json['manualType'],
|
|
122
|
+
'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
|
|
123
|
+
'lastOfferBy': json['lastOfferBy'],
|
|
124
|
+
'lastOfferType': json['lastOfferType'],
|
|
125
|
+
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
126
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
127
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
128
|
+
'archivedForSeller': json['archivedForSeller'],
|
|
129
|
+
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
130
|
+
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
131
|
+
'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
|
|
132
|
+
'closedAt': (json['closedAt'] == null ? null : new Date(json['closedAt'])),
|
|
133
|
+
'domain': (0, AdminLeadListItemDomainDto_1.AdminLeadListItemDomainDtoFromJSON)(json['domain']),
|
|
134
|
+
'buyer': (0, AdminLeadListItemBuyerDto_1.AdminLeadListItemBuyerDtoFromJSON)(json['buyer']),
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
function AdminLeadListItemDtoToJSON(json) {
|
|
138
|
+
return AdminLeadListItemDtoToJSONTyped(json, false);
|
|
139
|
+
}
|
|
140
|
+
function AdminLeadListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
141
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
142
|
+
if (value == null) {
|
|
143
|
+
return value;
|
|
144
|
+
}
|
|
145
|
+
return {
|
|
146
|
+
'id': value['id'],
|
|
147
|
+
'status': value['status'],
|
|
148
|
+
'source': value['source'],
|
|
149
|
+
'manualType': value['manualType'],
|
|
150
|
+
'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
|
|
151
|
+
'lastOfferBy': value['lastOfferBy'],
|
|
152
|
+
'lastOfferType': value['lastOfferType'],
|
|
153
|
+
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
154
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
155
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
156
|
+
'archivedForSeller': value['archivedForSeller'],
|
|
157
|
+
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
158
|
+
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
159
|
+
'acceptedAt': (value['acceptedAt'] == null ? null : value['acceptedAt'].toISOString()),
|
|
160
|
+
'closedAt': (value['closedAt'] == null ? null : value['closedAt'].toISOString()),
|
|
161
|
+
'domain': (0, AdminLeadListItemDomainDto_1.AdminLeadListItemDomainDtoToJSON)(value['domain']),
|
|
162
|
+
'buyer': (0, AdminLeadListItemBuyerDto_1.AdminLeadListItemBuyerDtoToJSON)(value['buyer']),
|
|
163
|
+
};
|
|
164
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { AdminLeadListItemDto } from './AdminLeadListItemDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ListLeads200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface ListLeads200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<AdminLeadListItemDto>}
|
|
24
|
+
* @memberof ListLeads200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<AdminLeadListItemDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof ListLeads200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof ListLeads200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ListLeads200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfListLeads200Response(value: object): value is ListLeads200Response;
|
|
44
|
+
export declare function ListLeads200ResponseFromJSON(json: any): ListLeads200Response;
|
|
45
|
+
export declare function ListLeads200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListLeads200Response;
|
|
46
|
+
export declare function ListLeads200ResponseToJSON(json: any): ListLeads200Response;
|
|
47
|
+
export declare function ListLeads200ResponseToJSONTyped(value?: ListLeads200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfListLeads200Response = instanceOfListLeads200Response;
|
|
17
|
+
exports.ListLeads200ResponseFromJSON = ListLeads200ResponseFromJSON;
|
|
18
|
+
exports.ListLeads200ResponseFromJSONTyped = ListLeads200ResponseFromJSONTyped;
|
|
19
|
+
exports.ListLeads200ResponseToJSON = ListLeads200ResponseToJSON;
|
|
20
|
+
exports.ListLeads200ResponseToJSONTyped = ListLeads200ResponseToJSONTyped;
|
|
21
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
+
var AdminLeadListItemDto_1 = require("./AdminLeadListItemDto");
|
|
23
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ListLeads200Response interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfListLeads200Response(value) {
|
|
28
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('links' in value) || value['links'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function ListLeads200ResponseFromJSON(json) {
|
|
37
|
+
return ListLeads200ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ListLeads200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (json['data'].map(AdminLeadListItemDto_1.AdminLeadListItemDtoFromJSON)),
|
|
45
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function ListLeads200ResponseToJSON(json) {
|
|
50
|
+
return ListLeads200ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ListLeads200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'data': (value['data'].map(AdminLeadListItemDto_1.AdminLeadListItemDtoToJSON)),
|
|
59
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 StateDto
|
|
16
|
+
*/
|
|
17
|
+
export interface StateDto {
|
|
18
|
+
/**
|
|
19
|
+
* Display name for the requested locale (translation or fallback to stored name)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StateDto
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StateDto
|
|
28
|
+
*/
|
|
29
|
+
iso2: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StateDto
|
|
34
|
+
*/
|
|
35
|
+
countryCode: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the StateDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfStateDto(value: object): value is StateDto;
|
|
41
|
+
export declare function StateDtoFromJSON(json: any): StateDto;
|
|
42
|
+
export declare function StateDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): StateDto;
|
|
43
|
+
export declare function StateDtoToJSON(json: any): StateDto;
|
|
44
|
+
export declare function StateDtoToJSONTyped(value?: StateDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfStateDto = instanceOfStateDto;
|
|
17
|
+
exports.StateDtoFromJSON = StateDtoFromJSON;
|
|
18
|
+
exports.StateDtoFromJSONTyped = StateDtoFromJSONTyped;
|
|
19
|
+
exports.StateDtoToJSON = StateDtoToJSON;
|
|
20
|
+
exports.StateDtoToJSONTyped = StateDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StateDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStateDto(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('iso2' in value) || value['iso2'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('countryCode' in value) || value['countryCode'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function StateDtoFromJSON(json) {
|
|
34
|
+
return StateDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function StateDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'iso2': json['iso2'],
|
|
43
|
+
'countryCode': json['countryCode'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function StateDtoToJSON(json) {
|
|
47
|
+
return StateDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function StateDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'iso2': value['iso2'],
|
|
57
|
+
'countryCode': value['countryCode'],
|
|
58
|
+
};
|
|
59
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -50,6 +50,9 @@ export * from './AdminCompanyStatsDto';
|
|
|
50
50
|
export * from './AdminCompanyStatsLedger';
|
|
51
51
|
export * from './AdminDashboardStatsDto';
|
|
52
52
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
53
|
+
export * from './AdminLeadListItemBuyerDto';
|
|
54
|
+
export * from './AdminLeadListItemDomainDto';
|
|
55
|
+
export * from './AdminLeadListItemDto';
|
|
53
56
|
export * from './AdminListAccountDto';
|
|
54
57
|
export * from './AdminVerificationDepositDto';
|
|
55
58
|
export * from './AffiliatesStatsDto';
|
|
@@ -280,6 +283,7 @@ export * from './ListBuyerNotifications200Response';
|
|
|
280
283
|
export * from './ListDomains200Response';
|
|
281
284
|
export * from './ListDomainsWithUpdatedPricing200Response';
|
|
282
285
|
export * from './ListLeadMessagesDto';
|
|
286
|
+
export * from './ListLeads200Response';
|
|
283
287
|
export * from './ListLeadsResultItem';
|
|
284
288
|
export * from './ListNotifications200Response';
|
|
285
289
|
export * from './ListRelatedLeads200Response';
|
|
@@ -391,6 +395,7 @@ export * from './SetNewPasswordInput';
|
|
|
391
395
|
export * from './SetPayoutProviderInput';
|
|
392
396
|
export * from './SortDto';
|
|
393
397
|
export * from './StartAuctionInput';
|
|
398
|
+
export * from './StateDto';
|
|
394
399
|
export * from './StatsFilterInputDateRange';
|
|
395
400
|
export * from './StoreBuyerLocaleInput';
|
|
396
401
|
export * from './StoreUserLocaleInput';
|
package/dist/models/index.js
CHANGED
|
@@ -68,6 +68,9 @@ __exportStar(require("./AdminCompanyStatsDto"), exports);
|
|
|
68
68
|
__exportStar(require("./AdminCompanyStatsLedger"), exports);
|
|
69
69
|
__exportStar(require("./AdminDashboardStatsDto"), exports);
|
|
70
70
|
__exportStar(require("./AdminGetAllDomainTransfers200Response"), exports);
|
|
71
|
+
__exportStar(require("./AdminLeadListItemBuyerDto"), exports);
|
|
72
|
+
__exportStar(require("./AdminLeadListItemDomainDto"), exports);
|
|
73
|
+
__exportStar(require("./AdminLeadListItemDto"), exports);
|
|
71
74
|
__exportStar(require("./AdminListAccountDto"), exports);
|
|
72
75
|
__exportStar(require("./AdminVerificationDepositDto"), exports);
|
|
73
76
|
__exportStar(require("./AffiliatesStatsDto"), exports);
|
|
@@ -298,6 +301,7 @@ __exportStar(require("./ListBuyerNotifications200Response"), exports);
|
|
|
298
301
|
__exportStar(require("./ListDomains200Response"), exports);
|
|
299
302
|
__exportStar(require("./ListDomainsWithUpdatedPricing200Response"), exports);
|
|
300
303
|
__exportStar(require("./ListLeadMessagesDto"), exports);
|
|
304
|
+
__exportStar(require("./ListLeads200Response"), exports);
|
|
301
305
|
__exportStar(require("./ListLeadsResultItem"), exports);
|
|
302
306
|
__exportStar(require("./ListNotifications200Response"), exports);
|
|
303
307
|
__exportStar(require("./ListRelatedLeads200Response"), exports);
|
|
@@ -409,6 +413,7 @@ __exportStar(require("./SetNewPasswordInput"), exports);
|
|
|
409
413
|
__exportStar(require("./SetPayoutProviderInput"), exports);
|
|
410
414
|
__exportStar(require("./SortDto"), exports);
|
|
411
415
|
__exportStar(require("./StartAuctionInput"), exports);
|
|
416
|
+
__exportStar(require("./StateDto"), exports);
|
|
412
417
|
__exportStar(require("./StatsFilterInputDateRange"), exports);
|
|
413
418
|
__exportStar(require("./StoreBuyerLocaleInput"), exports);
|
|
414
419
|
__exportStar(require("./StoreUserLocaleInput"), exports);
|