@randock/nameshift-api-client 0.0.70 → 0.0.72
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 +5 -3
- package/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +2 -40
- package/dist/apis/AccountsApi.js +4 -56
- package/dist/apis/AccountsPublicApi.d.ts +0 -9
- package/dist/apis/AccountsPublicApi.js +1 -14
- package/dist/apis/AdminApi.d.ts +3 -39
- package/dist/apis/AdminApi.js +10 -59
- package/dist/apis/BuyersApi.d.ts +6 -53
- package/dist/apis/BuyersApi.js +11 -75
- package/dist/apis/BuyersPublicApi.d.ts +0 -18
- package/dist/apis/BuyersPublicApi.js +1 -27
- package/dist/apis/DashboardApi.d.ts +2 -13
- package/dist/apis/DashboardApi.js +4 -17
- package/dist/apis/DomainsApi.d.ts +3 -93
- package/dist/apis/DomainsApi.js +10 -137
- package/dist/apis/DomainsPublicApi.d.ts +4 -12
- package/dist/apis/DomainsPublicApi.js +5 -15
- package/dist/apis/LeadsApi.d.ts +2 -58
- package/dist/apis/LeadsApi.js +4 -82
- package/dist/apis/LeadsPublicApi.d.ts +14 -48
- package/dist/apis/LeadsPublicApi.js +54 -77
- package/dist/apis/OrdersPublicApi.d.ts +0 -27
- package/dist/apis/OrdersPublicApi.js +1 -40
- package/dist/apis/UsersApi.d.ts +3 -12
- package/dist/apis/UsersApi.js +5 -18
- package/dist/apis/UsersPublicApi.d.ts +0 -36
- package/dist/apis/UsersPublicApi.js +1 -53
- package/dist/models/ChartDataPoint.d.ts +37 -0
- package/dist/models/ChartDataPoint.js +51 -0
- package/dist/models/DomainStats.d.ts +58 -0
- package/dist/models/DomainStats.js +67 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +65 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +71 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.d.ts +37 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.js +51 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.d.ts +37 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.js +51 -0
- package/dist/models/index.d.ts +5 -3
- package/dist/models/index.js +5 -3
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +3 -87
- package/src/apis/AccountsPublicApi.ts +0 -21
- package/src/apis/AdminApi.ts +3 -84
- package/src/apis/BuyersApi.ts +9 -113
- package/src/apis/BuyersPublicApi.ts +0 -41
- package/src/apis/DashboardApi.ts +3 -27
- package/src/apis/DomainsApi.ts +3 -204
- package/src/apis/DomainsPublicApi.ts +11 -27
- package/src/apis/LeadsApi.ts +3 -127
- package/src/apis/LeadsPublicApi.ts +43 -108
- package/src/apis/OrdersPublicApi.ts +0 -61
- package/src/apis/UsersApi.ts +5 -26
- package/src/apis/UsersPublicApi.ts +0 -81
- package/src/models/ChartDataPoint.ts +70 -0
- package/src/models/DomainStats.ts +106 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +131 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.ts +70 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.ts +70 -0
- package/src/models/index.ts +5 -3
- package/dist/models/DomainSalesInformationDto.d.ts +0 -58
- package/dist/models/DomainSalesInformationDto.js +0 -66
- package/dist/models/DomainSalesInformationDtoBuyNowPrice.d.ts +0 -37
- package/dist/models/DomainSalesInformationDtoBuyNowPrice.js +0 -51
- package/dist/models/DomainSalesInformationDtoMinOfferPrice.d.ts +0 -37
- package/dist/models/DomainSalesInformationDtoMinOfferPrice.js +0 -51
- package/src/models/DomainSalesInformationDto.ts +0 -116
- package/src/models/DomainSalesInformationDtoBuyNowPrice.ts +0 -70
- package/src/models/DomainSalesInformationDtoMinOfferPrice.ts +0 -70
|
@@ -44,23 +44,19 @@ import {
|
|
|
44
44
|
} from '../models/index';
|
|
45
45
|
|
|
46
46
|
export interface UsersPublicApiForgotPasswordRequestRequest {
|
|
47
|
-
xLocale: ForgotPasswordRequestXLocaleEnum;
|
|
48
47
|
forgotPasswordRequestInput: ForgotPasswordRequestInput;
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
export interface UsersPublicApiGetForgotPasswordRequestRequest {
|
|
52
51
|
passwordRequestId: string;
|
|
53
|
-
xLocale: GetForgotPasswordRequestXLocaleEnum;
|
|
54
52
|
}
|
|
55
53
|
|
|
56
54
|
export interface UsersPublicApiLoginRequest {
|
|
57
|
-
xLocale: LoginXLocaleEnum;
|
|
58
55
|
loginInput: LoginInput;
|
|
59
56
|
}
|
|
60
57
|
|
|
61
58
|
export interface UsersPublicApiPostNewPasswordRequest {
|
|
62
59
|
passwordRequestId: string;
|
|
63
|
-
xLocale: PostNewPasswordXLocaleEnum;
|
|
64
60
|
setNewPasswordInput: SetNewPasswordInput;
|
|
65
61
|
}
|
|
66
62
|
|
|
@@ -73,13 +69,6 @@ export class UsersPublicApi extends runtime.BaseAPI {
|
|
|
73
69
|
*
|
|
74
70
|
*/
|
|
75
71
|
async forgotPasswordRequestRaw(requestParameters: UsersPublicApiForgotPasswordRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
76
|
-
if (requestParameters['xLocale'] == null) {
|
|
77
|
-
throw new runtime.RequiredError(
|
|
78
|
-
'xLocale',
|
|
79
|
-
'Required parameter "xLocale" was null or undefined when calling forgotPasswordRequest().'
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
72
|
if (requestParameters['forgotPasswordRequestInput'] == null) {
|
|
84
73
|
throw new runtime.RequiredError(
|
|
85
74
|
'forgotPasswordRequestInput',
|
|
@@ -93,10 +82,6 @@ export class UsersPublicApi extends runtime.BaseAPI {
|
|
|
93
82
|
|
|
94
83
|
headerParameters['Content-Type'] = 'application/json';
|
|
95
84
|
|
|
96
|
-
if (requestParameters['xLocale'] != null) {
|
|
97
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
85
|
const response = await this.request({
|
|
101
86
|
path: `/users/forgot-password-request`,
|
|
102
87
|
method: 'POST',
|
|
@@ -126,21 +111,10 @@ export class UsersPublicApi extends runtime.BaseAPI {
|
|
|
126
111
|
);
|
|
127
112
|
}
|
|
128
113
|
|
|
129
|
-
if (requestParameters['xLocale'] == null) {
|
|
130
|
-
throw new runtime.RequiredError(
|
|
131
|
-
'xLocale',
|
|
132
|
-
'Required parameter "xLocale" was null or undefined when calling getForgotPasswordRequest().'
|
|
133
|
-
);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
114
|
const queryParameters: any = {};
|
|
137
115
|
|
|
138
116
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
139
117
|
|
|
140
|
-
if (requestParameters['xLocale'] != null) {
|
|
141
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
118
|
const response = await this.request({
|
|
145
119
|
path: `/users/forgot-password-request/{passwordRequestId}`.replace(`{${"passwordRequestId"}}`, encodeURIComponent(String(requestParameters['passwordRequestId']))),
|
|
146
120
|
method: 'GET',
|
|
@@ -163,13 +137,6 @@ export class UsersPublicApi extends runtime.BaseAPI {
|
|
|
163
137
|
*
|
|
164
138
|
*/
|
|
165
139
|
async loginRaw(requestParameters: UsersPublicApiLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginDto>> {
|
|
166
|
-
if (requestParameters['xLocale'] == null) {
|
|
167
|
-
throw new runtime.RequiredError(
|
|
168
|
-
'xLocale',
|
|
169
|
-
'Required parameter "xLocale" was null or undefined when calling login().'
|
|
170
|
-
);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
140
|
if (requestParameters['loginInput'] == null) {
|
|
174
141
|
throw new runtime.RequiredError(
|
|
175
142
|
'loginInput',
|
|
@@ -183,10 +150,6 @@ export class UsersPublicApi extends runtime.BaseAPI {
|
|
|
183
150
|
|
|
184
151
|
headerParameters['Content-Type'] = 'application/json';
|
|
185
152
|
|
|
186
|
-
if (requestParameters['xLocale'] != null) {
|
|
187
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
188
|
-
}
|
|
189
|
-
|
|
190
153
|
const response = await this.request({
|
|
191
154
|
path: `/users/login`,
|
|
192
155
|
method: 'POST',
|
|
@@ -217,13 +180,6 @@ export class UsersPublicApi extends runtime.BaseAPI {
|
|
|
217
180
|
);
|
|
218
181
|
}
|
|
219
182
|
|
|
220
|
-
if (requestParameters['xLocale'] == null) {
|
|
221
|
-
throw new runtime.RequiredError(
|
|
222
|
-
'xLocale',
|
|
223
|
-
'Required parameter "xLocale" was null or undefined when calling postNewPassword().'
|
|
224
|
-
);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
183
|
if (requestParameters['setNewPasswordInput'] == null) {
|
|
228
184
|
throw new runtime.RequiredError(
|
|
229
185
|
'setNewPasswordInput',
|
|
@@ -237,10 +193,6 @@ export class UsersPublicApi extends runtime.BaseAPI {
|
|
|
237
193
|
|
|
238
194
|
headerParameters['Content-Type'] = 'application/json';
|
|
239
195
|
|
|
240
|
-
if (requestParameters['xLocale'] != null) {
|
|
241
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
242
|
-
}
|
|
243
|
-
|
|
244
196
|
const response = await this.request({
|
|
245
197
|
path: `/users/forgot-password-request/{passwordRequestId}`.replace(`{${"passwordRequestId"}}`, encodeURIComponent(String(requestParameters['passwordRequestId']))),
|
|
246
198
|
method: 'POST',
|
|
@@ -260,36 +212,3 @@ export class UsersPublicApi extends runtime.BaseAPI {
|
|
|
260
212
|
}
|
|
261
213
|
|
|
262
214
|
}
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* @export
|
|
266
|
-
*/
|
|
267
|
-
export const ForgotPasswordRequestXLocaleEnum = {
|
|
268
|
-
NL_NL: 'nl-nl',
|
|
269
|
-
EN_GB: 'en-gb'
|
|
270
|
-
} as const;
|
|
271
|
-
export type ForgotPasswordRequestXLocaleEnum = typeof ForgotPasswordRequestXLocaleEnum[keyof typeof ForgotPasswordRequestXLocaleEnum];
|
|
272
|
-
/**
|
|
273
|
-
* @export
|
|
274
|
-
*/
|
|
275
|
-
export const GetForgotPasswordRequestXLocaleEnum = {
|
|
276
|
-
NL_NL: 'nl-nl',
|
|
277
|
-
EN_GB: 'en-gb'
|
|
278
|
-
} as const;
|
|
279
|
-
export type GetForgotPasswordRequestXLocaleEnum = typeof GetForgotPasswordRequestXLocaleEnum[keyof typeof GetForgotPasswordRequestXLocaleEnum];
|
|
280
|
-
/**
|
|
281
|
-
* @export
|
|
282
|
-
*/
|
|
283
|
-
export const LoginXLocaleEnum = {
|
|
284
|
-
NL_NL: 'nl-nl',
|
|
285
|
-
EN_GB: 'en-gb'
|
|
286
|
-
} as const;
|
|
287
|
-
export type LoginXLocaleEnum = typeof LoginXLocaleEnum[keyof typeof LoginXLocaleEnum];
|
|
288
|
-
/**
|
|
289
|
-
* @export
|
|
290
|
-
*/
|
|
291
|
-
export const PostNewPasswordXLocaleEnum = {
|
|
292
|
-
NL_NL: 'nl-nl',
|
|
293
|
-
EN_GB: 'en-gb'
|
|
294
|
-
} as const;
|
|
295
|
-
export type PostNewPasswordXLocaleEnum = typeof PostNewPasswordXLocaleEnum[keyof typeof PostNewPasswordXLocaleEnum];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ChartDataPoint
|
|
20
|
+
*/
|
|
21
|
+
export interface ChartDataPoint {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ChartDataPoint
|
|
26
|
+
*/
|
|
27
|
+
date: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ChartDataPoint
|
|
32
|
+
*/
|
|
33
|
+
value: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ChartDataPoint interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfChartDataPoint(value: object): value is ChartDataPoint {
|
|
40
|
+
if (!('date' in value) || value['date'] === undefined) return false;
|
|
41
|
+
if (!('value' in value) || value['value'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ChartDataPointFromJSON(json: any): ChartDataPoint {
|
|
46
|
+
return ChartDataPointFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ChartDataPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChartDataPoint {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'date': json['date'],
|
|
56
|
+
'value': json['value'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ChartDataPointToJSON(value?: ChartDataPoint | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'date': value['date'],
|
|
67
|
+
'value': value['value'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ChartDataPoint } from './ChartDataPoint';
|
|
17
|
+
import {
|
|
18
|
+
ChartDataPointFromJSON,
|
|
19
|
+
ChartDataPointFromJSONTyped,
|
|
20
|
+
ChartDataPointToJSON,
|
|
21
|
+
} from './ChartDataPoint';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface DomainStats
|
|
27
|
+
*/
|
|
28
|
+
export interface DomainStats {
|
|
29
|
+
/**
|
|
30
|
+
* The id for this website.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DomainStats
|
|
33
|
+
*/
|
|
34
|
+
websiteId: string;
|
|
35
|
+
/**
|
|
36
|
+
* The url for public stats for this website.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DomainStats
|
|
39
|
+
*/
|
|
40
|
+
shareUrl: string;
|
|
41
|
+
/**
|
|
42
|
+
* The time unit
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof DomainStats
|
|
45
|
+
*/
|
|
46
|
+
chartUnit: DomainStatsChartUnitEnum;
|
|
47
|
+
/**
|
|
48
|
+
* The data for the chart
|
|
49
|
+
* @type {Array<ChartDataPoint>}
|
|
50
|
+
* @memberof DomainStats
|
|
51
|
+
*/
|
|
52
|
+
chartData: Array<ChartDataPoint>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export const DomainStatsChartUnitEnum = {
|
|
60
|
+
DAY: 'day',
|
|
61
|
+
MONTH: 'month'
|
|
62
|
+
} as const;
|
|
63
|
+
export type DomainStatsChartUnitEnum = typeof DomainStatsChartUnitEnum[keyof typeof DomainStatsChartUnitEnum];
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the DomainStats interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfDomainStats(value: object): value is DomainStats {
|
|
70
|
+
if (!('websiteId' in value) || value['websiteId'] === undefined) return false;
|
|
71
|
+
if (!('shareUrl' in value) || value['shareUrl'] === undefined) return false;
|
|
72
|
+
if (!('chartUnit' in value) || value['chartUnit'] === undefined) return false;
|
|
73
|
+
if (!('chartData' in value) || value['chartData'] === undefined) return false;
|
|
74
|
+
return true;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function DomainStatsFromJSON(json: any): DomainStats {
|
|
78
|
+
return DomainStatsFromJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function DomainStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainStats {
|
|
82
|
+
if (json == null) {
|
|
83
|
+
return json;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'websiteId': json['websiteId'],
|
|
88
|
+
'shareUrl': json['shareUrl'],
|
|
89
|
+
'chartUnit': json['chartUnit'],
|
|
90
|
+
'chartData': ((json['chartData'] as Array<any>).map(ChartDataPointFromJSON)),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function DomainStatsToJSON(value?: DomainStats | null): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
return {
|
|
99
|
+
|
|
100
|
+
'websiteId': value['websiteId'],
|
|
101
|
+
'shareUrl': value['shareUrl'],
|
|
102
|
+
'chartUnit': value['chartUnit'],
|
|
103
|
+
'chartData': ((value['chartData'] as Array<any>).map(ChartDataPointToJSON)),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice } from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
|
|
17
|
+
import {
|
|
18
|
+
IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON,
|
|
19
|
+
IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped,
|
|
20
|
+
IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON,
|
|
21
|
+
} from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
|
|
22
|
+
import type { DomainSellerDto } from './DomainSellerDto';
|
|
23
|
+
import {
|
|
24
|
+
DomainSellerDtoFromJSON,
|
|
25
|
+
DomainSellerDtoFromJSONTyped,
|
|
26
|
+
DomainSellerDtoToJSON,
|
|
27
|
+
} from './DomainSellerDto';
|
|
28
|
+
import type { DomainStats } from './DomainStats';
|
|
29
|
+
import {
|
|
30
|
+
DomainStatsFromJSON,
|
|
31
|
+
DomainStatsFromJSONTyped,
|
|
32
|
+
DomainStatsToJSON,
|
|
33
|
+
} from './DomainStats';
|
|
34
|
+
import type { IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice } from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice';
|
|
35
|
+
import {
|
|
36
|
+
IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON,
|
|
37
|
+
IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped,
|
|
38
|
+
IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON,
|
|
39
|
+
} from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice';
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
* @interface IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
45
|
+
*/
|
|
46
|
+
export interface IntersectionDomainSalesInformationDtoWithDomainStatsDto {
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {DomainStats}
|
|
50
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
51
|
+
*/
|
|
52
|
+
stats: DomainStats | null;
|
|
53
|
+
/**
|
|
54
|
+
* The domain name (example.com, xn--maana-pta.com)
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
57
|
+
*/
|
|
58
|
+
domain: string;
|
|
59
|
+
/**
|
|
60
|
+
* The domain display name (example.com, mañana.com)
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
63
|
+
*/
|
|
64
|
+
domainDisplayName: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice}
|
|
68
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
69
|
+
*/
|
|
70
|
+
buyNowPrice: IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice}
|
|
74
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
75
|
+
*/
|
|
76
|
+
minOfferPrice: IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice | null;
|
|
77
|
+
/**
|
|
78
|
+
* The domain seller information
|
|
79
|
+
* @type {DomainSellerDto}
|
|
80
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
81
|
+
*/
|
|
82
|
+
seller: DomainSellerDto;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDto interface.
|
|
87
|
+
*/
|
|
88
|
+
export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDto(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDto {
|
|
89
|
+
if (!('stats' in value) || value['stats'] === undefined) return false;
|
|
90
|
+
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
91
|
+
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined) return false;
|
|
92
|
+
if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined) return false;
|
|
93
|
+
if (!('minOfferPrice' in value) || value['minOfferPrice'] === undefined) return false;
|
|
94
|
+
if (!('seller' in value) || value['seller'] === undefined) return false;
|
|
95
|
+
return true;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDto {
|
|
99
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped(json, false);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDto {
|
|
103
|
+
if (json == null) {
|
|
104
|
+
return json;
|
|
105
|
+
}
|
|
106
|
+
return {
|
|
107
|
+
|
|
108
|
+
'stats': DomainStatsFromJSON(json['stats']),
|
|
109
|
+
'domain': json['domain'],
|
|
110
|
+
'domainDisplayName': json['domainDisplayName'],
|
|
111
|
+
'buyNowPrice': IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON(json['buyNowPrice']),
|
|
112
|
+
'minOfferPrice': IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON(json['minOfferPrice']),
|
|
113
|
+
'seller': DomainSellerDtoFromJSON(json['seller']),
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDto | null): any {
|
|
118
|
+
if (value == null) {
|
|
119
|
+
return value;
|
|
120
|
+
}
|
|
121
|
+
return {
|
|
122
|
+
|
|
123
|
+
'stats': DomainStatsToJSON(value['stats']),
|
|
124
|
+
'domain': value['domain'],
|
|
125
|
+
'domainDisplayName': value['domainDisplayName'],
|
|
126
|
+
'buyNowPrice': IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON(value['buyNowPrice']),
|
|
127
|
+
'minOfferPrice': IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON(value['minOfferPrice']),
|
|
128
|
+
'seller': DomainSellerDtoToJSON(value['seller']),
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Buy now price or null if buy now is not enabled
|
|
18
|
+
* @export
|
|
19
|
+
* @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
|
|
20
|
+
*/
|
|
21
|
+
export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
|
|
22
|
+
/**
|
|
23
|
+
* Monetary amount, represented as an integer without scale/decimals.
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
|
|
26
|
+
*/
|
|
27
|
+
amount: number;
|
|
28
|
+
/**
|
|
29
|
+
* Three letter ISO currency code
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
|
|
32
|
+
*/
|
|
33
|
+
currencyCode: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
|
|
40
|
+
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
41
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
|
|
46
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'amount': json['amount'],
|
|
56
|
+
'currencyCode': json['currencyCode'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'amount': value['amount'],
|
|
67
|
+
'currencyCode': value['currencyCode'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* min offer price or null if offers are not enabled
|
|
18
|
+
* @export
|
|
19
|
+
* @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
|
|
20
|
+
*/
|
|
21
|
+
export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
|
|
22
|
+
/**
|
|
23
|
+
* Monetary amount, represented as an integer without scale/decimals.
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
|
|
26
|
+
*/
|
|
27
|
+
amount: number;
|
|
28
|
+
/**
|
|
29
|
+
* Three letter ISO currency code
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
|
|
32
|
+
*/
|
|
33
|
+
currencyCode: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
|
|
40
|
+
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
41
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
|
|
46
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'amount': json['amount'],
|
|
56
|
+
'currencyCode': json['currencyCode'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'amount': value['amount'],
|
|
67
|
+
'currencyCode': value['currencyCode'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './BuyerDomainTransferListItemDomainDto';
|
|
|
12
12
|
export * from './BuyerDomainTransferListItemDto';
|
|
13
13
|
export * from './BuyerUserDto';
|
|
14
14
|
export * from './ChangeOrderStatusInput';
|
|
15
|
+
export * from './ChartDataPoint';
|
|
15
16
|
export * from './ConflictException';
|
|
16
17
|
export * from './CreateLeadInput';
|
|
17
18
|
export * from './CreateLeadMessageInput';
|
|
@@ -19,10 +20,8 @@ export * from './CreateOrderInput';
|
|
|
19
20
|
export * from './DashboardStatsDto';
|
|
20
21
|
export * from './DeleteDomainsInput';
|
|
21
22
|
export * from './DomainDto';
|
|
22
|
-
export * from './DomainSalesInformationDto';
|
|
23
|
-
export * from './DomainSalesInformationDtoBuyNowPrice';
|
|
24
|
-
export * from './DomainSalesInformationDtoMinOfferPrice';
|
|
25
23
|
export * from './DomainSellerDto';
|
|
24
|
+
export * from './DomainStats';
|
|
26
25
|
export * from './DomainTransferAgentDto';
|
|
27
26
|
export * from './DomainTransferDomainDto';
|
|
28
27
|
export * from './DomainTransferDto';
|
|
@@ -37,6 +36,9 @@ export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
|
|
|
37
36
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
38
37
|
export * from './IntersectionDomainDtoWithDomainUrlDto';
|
|
39
38
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
39
|
+
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
|
|
40
|
+
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice';
|
|
41
|
+
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
|
|
40
42
|
export * from './IntersectionLeadDtoWithLeadDetailsDto';
|
|
41
43
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
42
44
|
export * from './IntersectionLeadDtoWithListFieldsDtoLastMessageData';
|
|
@@ -1,58 +0,0 @@
|
|
|
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 { DomainSalesInformationDtoMinOfferPrice } from './DomainSalesInformationDtoMinOfferPrice';
|
|
13
|
-
import type { DomainSellerDto } from './DomainSellerDto';
|
|
14
|
-
import type { DomainSalesInformationDtoBuyNowPrice } from './DomainSalesInformationDtoBuyNowPrice';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface DomainSalesInformationDto
|
|
19
|
-
*/
|
|
20
|
-
export interface DomainSalesInformationDto {
|
|
21
|
-
/**
|
|
22
|
-
* The domain name (example.com, xn--maana-pta.com)
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof DomainSalesInformationDto
|
|
25
|
-
*/
|
|
26
|
-
domain: string;
|
|
27
|
-
/**
|
|
28
|
-
* The domain display name (example.com, mañana.com)
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof DomainSalesInformationDto
|
|
31
|
-
*/
|
|
32
|
-
domainDisplayName: string;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {DomainSalesInformationDtoBuyNowPrice}
|
|
36
|
-
* @memberof DomainSalesInformationDto
|
|
37
|
-
*/
|
|
38
|
-
buyNowPrice: DomainSalesInformationDtoBuyNowPrice | null;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {DomainSalesInformationDtoMinOfferPrice}
|
|
42
|
-
* @memberof DomainSalesInformationDto
|
|
43
|
-
*/
|
|
44
|
-
minOfferPrice: DomainSalesInformationDtoMinOfferPrice | null;
|
|
45
|
-
/**
|
|
46
|
-
* The domain seller information
|
|
47
|
-
* @type {DomainSellerDto}
|
|
48
|
-
* @memberof DomainSalesInformationDto
|
|
49
|
-
*/
|
|
50
|
-
seller: DomainSellerDto;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
54
|
-
*/
|
|
55
|
-
export declare function instanceOfDomainSalesInformationDto(value: object): value is DomainSalesInformationDto;
|
|
56
|
-
export declare function DomainSalesInformationDtoFromJSON(json: any): DomainSalesInformationDto;
|
|
57
|
-
export declare function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDto;
|
|
58
|
-
export declare function DomainSalesInformationDtoToJSON(value?: DomainSalesInformationDto | null): any;
|