@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.
Files changed (69) hide show
  1. package/.openapi-generator/FILES +5 -3
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsApi.d.ts +2 -40
  4. package/dist/apis/AccountsApi.js +4 -56
  5. package/dist/apis/AccountsPublicApi.d.ts +0 -9
  6. package/dist/apis/AccountsPublicApi.js +1 -14
  7. package/dist/apis/AdminApi.d.ts +3 -39
  8. package/dist/apis/AdminApi.js +10 -59
  9. package/dist/apis/BuyersApi.d.ts +6 -53
  10. package/dist/apis/BuyersApi.js +11 -75
  11. package/dist/apis/BuyersPublicApi.d.ts +0 -18
  12. package/dist/apis/BuyersPublicApi.js +1 -27
  13. package/dist/apis/DashboardApi.d.ts +2 -13
  14. package/dist/apis/DashboardApi.js +4 -17
  15. package/dist/apis/DomainsApi.d.ts +3 -93
  16. package/dist/apis/DomainsApi.js +10 -137
  17. package/dist/apis/DomainsPublicApi.d.ts +4 -12
  18. package/dist/apis/DomainsPublicApi.js +5 -15
  19. package/dist/apis/LeadsApi.d.ts +2 -58
  20. package/dist/apis/LeadsApi.js +4 -82
  21. package/dist/apis/LeadsPublicApi.d.ts +14 -48
  22. package/dist/apis/LeadsPublicApi.js +54 -77
  23. package/dist/apis/OrdersPublicApi.d.ts +0 -27
  24. package/dist/apis/OrdersPublicApi.js +1 -40
  25. package/dist/apis/UsersApi.d.ts +3 -12
  26. package/dist/apis/UsersApi.js +5 -18
  27. package/dist/apis/UsersPublicApi.d.ts +0 -36
  28. package/dist/apis/UsersPublicApi.js +1 -53
  29. package/dist/models/ChartDataPoint.d.ts +37 -0
  30. package/dist/models/ChartDataPoint.js +51 -0
  31. package/dist/models/DomainStats.d.ts +58 -0
  32. package/dist/models/DomainStats.js +67 -0
  33. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +65 -0
  34. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +71 -0
  35. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.d.ts +37 -0
  36. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.js +51 -0
  37. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.d.ts +37 -0
  38. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.js +51 -0
  39. package/dist/models/index.d.ts +5 -3
  40. package/dist/models/index.js +5 -3
  41. package/package.json +1 -1
  42. package/src/apis/AccountsApi.ts +3 -87
  43. package/src/apis/AccountsPublicApi.ts +0 -21
  44. package/src/apis/AdminApi.ts +3 -84
  45. package/src/apis/BuyersApi.ts +9 -113
  46. package/src/apis/BuyersPublicApi.ts +0 -41
  47. package/src/apis/DashboardApi.ts +3 -27
  48. package/src/apis/DomainsApi.ts +3 -204
  49. package/src/apis/DomainsPublicApi.ts +11 -27
  50. package/src/apis/LeadsApi.ts +3 -127
  51. package/src/apis/LeadsPublicApi.ts +43 -108
  52. package/src/apis/OrdersPublicApi.ts +0 -61
  53. package/src/apis/UsersApi.ts +5 -26
  54. package/src/apis/UsersPublicApi.ts +0 -81
  55. package/src/models/ChartDataPoint.ts +70 -0
  56. package/src/models/DomainStats.ts +106 -0
  57. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +131 -0
  58. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.ts +70 -0
  59. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.ts +70 -0
  60. package/src/models/index.ts +5 -3
  61. package/dist/models/DomainSalesInformationDto.d.ts +0 -58
  62. package/dist/models/DomainSalesInformationDto.js +0 -66
  63. package/dist/models/DomainSalesInformationDtoBuyNowPrice.d.ts +0 -37
  64. package/dist/models/DomainSalesInformationDtoBuyNowPrice.js +0 -51
  65. package/dist/models/DomainSalesInformationDtoMinOfferPrice.d.ts +0 -37
  66. package/dist/models/DomainSalesInformationDtoMinOfferPrice.js +0 -51
  67. package/src/models/DomainSalesInformationDto.ts +0 -116
  68. package/src/models/DomainSalesInformationDtoBuyNowPrice.ts +0 -70
  69. package/src/models/DomainSalesInformationDtoMinOfferPrice.ts +0 -70
@@ -64,7 +64,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
64
64
  }
65
65
  };
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
- exports.PostNewPasswordXLocaleEnum = exports.LoginXLocaleEnum = exports.GetForgotPasswordRequestXLocaleEnum = exports.ForgotPasswordRequestXLocaleEnum = exports.UsersPublicApi = void 0;
67
+ exports.UsersPublicApi = void 0;
68
68
  var runtime = require("../runtime");
69
69
  var index_1 = require("../models/index");
70
70
  /**
@@ -84,18 +84,12 @@ var UsersPublicApi = /** @class */ (function (_super) {
84
84
  return __generator(this, function (_a) {
85
85
  switch (_a.label) {
86
86
  case 0:
87
- if (requestParameters['xLocale'] == null) {
88
- throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling forgotPasswordRequest().');
89
- }
90
87
  if (requestParameters['forgotPasswordRequestInput'] == null) {
91
88
  throw new runtime.RequiredError('forgotPasswordRequestInput', 'Required parameter "forgotPasswordRequestInput" was null or undefined when calling forgotPasswordRequest().');
92
89
  }
93
90
  queryParameters = {};
94
91
  headerParameters = {};
95
92
  headerParameters['Content-Type'] = 'application/json';
96
- if (requestParameters['xLocale'] != null) {
97
- headerParameters['x-locale'] = String(requestParameters['xLocale']);
98
- }
99
93
  return [4 /*yield*/, this.request({
100
94
  path: "/users/forgot-password-request",
101
95
  method: 'POST',
@@ -137,14 +131,8 @@ var UsersPublicApi = /** @class */ (function (_super) {
137
131
  if (requestParameters['passwordRequestId'] == null) {
138
132
  throw new runtime.RequiredError('passwordRequestId', 'Required parameter "passwordRequestId" was null or undefined when calling getForgotPasswordRequest().');
139
133
  }
140
- if (requestParameters['xLocale'] == null) {
141
- throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling getForgotPasswordRequest().');
142
- }
143
134
  queryParameters = {};
144
135
  headerParameters = {};
145
- if (requestParameters['xLocale'] != null) {
146
- headerParameters['x-locale'] = String(requestParameters['xLocale']);
147
- }
148
136
  return [4 /*yield*/, this.request({
149
137
  path: "/users/forgot-password-request/{passwordRequestId}".replace("{".concat("passwordRequestId", "}"), encodeURIComponent(String(requestParameters['passwordRequestId']))),
150
138
  method: 'GET',
@@ -184,18 +172,12 @@ var UsersPublicApi = /** @class */ (function (_super) {
184
172
  return __generator(this, function (_a) {
185
173
  switch (_a.label) {
186
174
  case 0:
187
- if (requestParameters['xLocale'] == null) {
188
- throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling login().');
189
- }
190
175
  if (requestParameters['loginInput'] == null) {
191
176
  throw new runtime.RequiredError('loginInput', 'Required parameter "loginInput" was null or undefined when calling login().');
192
177
  }
193
178
  queryParameters = {};
194
179
  headerParameters = {};
195
180
  headerParameters['Content-Type'] = 'application/json';
196
- if (requestParameters['xLocale'] != null) {
197
- headerParameters['x-locale'] = String(requestParameters['xLocale']);
198
- }
199
181
  return [4 /*yield*/, this.request({
200
182
  path: "/users/login",
201
183
  method: 'POST',
@@ -239,18 +221,12 @@ var UsersPublicApi = /** @class */ (function (_super) {
239
221
  if (requestParameters['passwordRequestId'] == null) {
240
222
  throw new runtime.RequiredError('passwordRequestId', 'Required parameter "passwordRequestId" was null or undefined when calling postNewPassword().');
241
223
  }
242
- if (requestParameters['xLocale'] == null) {
243
- throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling postNewPassword().');
244
- }
245
224
  if (requestParameters['setNewPasswordInput'] == null) {
246
225
  throw new runtime.RequiredError('setNewPasswordInput', 'Required parameter "setNewPasswordInput" was null or undefined when calling postNewPassword().');
247
226
  }
248
227
  queryParameters = {};
249
228
  headerParameters = {};
250
229
  headerParameters['Content-Type'] = 'application/json';
251
- if (requestParameters['xLocale'] != null) {
252
- headerParameters['x-locale'] = String(requestParameters['xLocale']);
253
- }
254
230
  return [4 /*yield*/, this.request({
255
231
  path: "/users/forgot-password-request/{passwordRequestId}".replace("{".concat("passwordRequestId", "}"), encodeURIComponent(String(requestParameters['passwordRequestId']))),
256
232
  method: 'POST',
@@ -283,31 +259,3 @@ var UsersPublicApi = /** @class */ (function (_super) {
283
259
  return UsersPublicApi;
284
260
  }(runtime.BaseAPI));
285
261
  exports.UsersPublicApi = UsersPublicApi;
286
- /**
287
- * @export
288
- */
289
- exports.ForgotPasswordRequestXLocaleEnum = {
290
- NL_NL: 'nl-nl',
291
- EN_GB: 'en-gb'
292
- };
293
- /**
294
- * @export
295
- */
296
- exports.GetForgotPasswordRequestXLocaleEnum = {
297
- NL_NL: 'nl-nl',
298
- EN_GB: 'en-gb'
299
- };
300
- /**
301
- * @export
302
- */
303
- exports.LoginXLocaleEnum = {
304
- NL_NL: 'nl-nl',
305
- EN_GB: 'en-gb'
306
- };
307
- /**
308
- * @export
309
- */
310
- exports.PostNewPasswordXLocaleEnum = {
311
- NL_NL: 'nl-nl',
312
- EN_GB: 'en-gb'
313
- };
@@ -0,0 +1,37 @@
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 ChartDataPoint
16
+ */
17
+ export interface ChartDataPoint {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ChartDataPoint
22
+ */
23
+ date: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ChartDataPoint
28
+ */
29
+ value: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ChartDataPoint interface.
33
+ */
34
+ export declare function instanceOfChartDataPoint(value: object): value is ChartDataPoint;
35
+ export declare function ChartDataPointFromJSON(json: any): ChartDataPoint;
36
+ export declare function ChartDataPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChartDataPoint;
37
+ export declare function ChartDataPointToJSON(value?: ChartDataPoint | null): any;
@@ -0,0 +1,51 @@
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.ChartDataPointToJSON = exports.ChartDataPointFromJSONTyped = exports.ChartDataPointFromJSON = exports.instanceOfChartDataPoint = void 0;
17
+ /**
18
+ * Check if a given object implements the ChartDataPoint interface.
19
+ */
20
+ function instanceOfChartDataPoint(value) {
21
+ if (!('date' in value) || value['date'] === undefined)
22
+ return false;
23
+ if (!('value' in value) || value['value'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfChartDataPoint = instanceOfChartDataPoint;
28
+ function ChartDataPointFromJSON(json) {
29
+ return ChartDataPointFromJSONTyped(json, false);
30
+ }
31
+ exports.ChartDataPointFromJSON = ChartDataPointFromJSON;
32
+ function ChartDataPointFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'date': json['date'],
38
+ 'value': json['value'],
39
+ };
40
+ }
41
+ exports.ChartDataPointFromJSONTyped = ChartDataPointFromJSONTyped;
42
+ function ChartDataPointToJSON(value) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'date': value['date'],
48
+ 'value': value['value'],
49
+ };
50
+ }
51
+ exports.ChartDataPointToJSON = ChartDataPointToJSON;
@@ -0,0 +1,58 @@
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 { ChartDataPoint } from './ChartDataPoint';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DomainStats
17
+ */
18
+ export interface DomainStats {
19
+ /**
20
+ * The id for this website.
21
+ * @type {string}
22
+ * @memberof DomainStats
23
+ */
24
+ websiteId: string;
25
+ /**
26
+ * The url for public stats for this website.
27
+ * @type {string}
28
+ * @memberof DomainStats
29
+ */
30
+ shareUrl: string;
31
+ /**
32
+ * The time unit
33
+ * @type {string}
34
+ * @memberof DomainStats
35
+ */
36
+ chartUnit: DomainStatsChartUnitEnum;
37
+ /**
38
+ * The data for the chart
39
+ * @type {Array<ChartDataPoint>}
40
+ * @memberof DomainStats
41
+ */
42
+ chartData: Array<ChartDataPoint>;
43
+ }
44
+ /**
45
+ * @export
46
+ */
47
+ export declare const DomainStatsChartUnitEnum: {
48
+ readonly DAY: "day";
49
+ readonly MONTH: "month";
50
+ };
51
+ export type DomainStatsChartUnitEnum = typeof DomainStatsChartUnitEnum[keyof typeof DomainStatsChartUnitEnum];
52
+ /**
53
+ * Check if a given object implements the DomainStats interface.
54
+ */
55
+ export declare function instanceOfDomainStats(value: object): value is DomainStats;
56
+ export declare function DomainStatsFromJSON(json: any): DomainStats;
57
+ export declare function DomainStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainStats;
58
+ export declare function DomainStatsToJSON(value?: DomainStats | null): any;
@@ -0,0 +1,67 @@
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.DomainStatsToJSON = exports.DomainStatsFromJSONTyped = exports.DomainStatsFromJSON = exports.instanceOfDomainStats = exports.DomainStatsChartUnitEnum = void 0;
17
+ var ChartDataPoint_1 = require("./ChartDataPoint");
18
+ /**
19
+ * @export
20
+ */
21
+ exports.DomainStatsChartUnitEnum = {
22
+ DAY: 'day',
23
+ MONTH: 'month'
24
+ };
25
+ /**
26
+ * Check if a given object implements the DomainStats interface.
27
+ */
28
+ function instanceOfDomainStats(value) {
29
+ if (!('websiteId' in value) || value['websiteId'] === undefined)
30
+ return false;
31
+ if (!('shareUrl' in value) || value['shareUrl'] === undefined)
32
+ return false;
33
+ if (!('chartUnit' in value) || value['chartUnit'] === undefined)
34
+ return false;
35
+ if (!('chartData' in value) || value['chartData'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ exports.instanceOfDomainStats = instanceOfDomainStats;
40
+ function DomainStatsFromJSON(json) {
41
+ return DomainStatsFromJSONTyped(json, false);
42
+ }
43
+ exports.DomainStatsFromJSON = DomainStatsFromJSON;
44
+ function DomainStatsFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'websiteId': json['websiteId'],
50
+ 'shareUrl': json['shareUrl'],
51
+ 'chartUnit': json['chartUnit'],
52
+ 'chartData': (json['chartData'].map(ChartDataPoint_1.ChartDataPointFromJSON)),
53
+ };
54
+ }
55
+ exports.DomainStatsFromJSONTyped = DomainStatsFromJSONTyped;
56
+ function DomainStatsToJSON(value) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'websiteId': value['websiteId'],
62
+ 'shareUrl': value['shareUrl'],
63
+ 'chartUnit': value['chartUnit'],
64
+ 'chartData': (value['chartData'].map(ChartDataPoint_1.ChartDataPointToJSON)),
65
+ };
66
+ }
67
+ exports.DomainStatsToJSON = DomainStatsToJSON;
@@ -0,0 +1,65 @@
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 { IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice } from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
13
+ import type { DomainSellerDto } from './DomainSellerDto';
14
+ import type { DomainStats } from './DomainStats';
15
+ import type { IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice } from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface IntersectionDomainSalesInformationDtoWithDomainStatsDto
20
+ */
21
+ export interface IntersectionDomainSalesInformationDtoWithDomainStatsDto {
22
+ /**
23
+ *
24
+ * @type {DomainStats}
25
+ * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
26
+ */
27
+ stats: DomainStats | null;
28
+ /**
29
+ * The domain name (example.com, xn--maana-pta.com)
30
+ * @type {string}
31
+ * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
32
+ */
33
+ domain: string;
34
+ /**
35
+ * The domain display name (example.com, mañana.com)
36
+ * @type {string}
37
+ * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
38
+ */
39
+ domainDisplayName: string;
40
+ /**
41
+ *
42
+ * @type {IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice}
43
+ * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
44
+ */
45
+ buyNowPrice: IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice | null;
46
+ /**
47
+ *
48
+ * @type {IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice}
49
+ * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
50
+ */
51
+ minOfferPrice: IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice | null;
52
+ /**
53
+ * The domain seller information
54
+ * @type {DomainSellerDto}
55
+ * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
56
+ */
57
+ seller: DomainSellerDto;
58
+ }
59
+ /**
60
+ * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDto interface.
61
+ */
62
+ export declare function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDto(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDto;
63
+ export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDto;
64
+ export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDto;
65
+ export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDto | null): any;
@@ -0,0 +1,71 @@
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.IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON = exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped = exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON = exports.instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDto = void 0;
17
+ var IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice_1 = require("./IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice");
18
+ var DomainSellerDto_1 = require("./DomainSellerDto");
19
+ var DomainStats_1 = require("./DomainStats");
20
+ var IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice_1 = require("./IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice");
21
+ /**
22
+ * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDto interface.
23
+ */
24
+ function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDto(value) {
25
+ if (!('stats' in value) || value['stats'] === undefined)
26
+ return false;
27
+ if (!('domain' in value) || value['domain'] === undefined)
28
+ return false;
29
+ if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined)
30
+ return false;
31
+ if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined)
32
+ return false;
33
+ if (!('minOfferPrice' in value) || value['minOfferPrice'] === undefined)
34
+ return false;
35
+ if (!('seller' in value) || value['seller'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ exports.instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDto = instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDto;
40
+ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON(json) {
41
+ return IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped(json, false);
42
+ }
43
+ exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON;
44
+ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'stats': (0, DomainStats_1.DomainStatsFromJSON)(json['stats']),
50
+ 'domain': json['domain'],
51
+ 'domainDisplayName': json['domainDisplayName'],
52
+ 'buyNowPrice': (0, IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice_1.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON)(json['buyNowPrice']),
53
+ 'minOfferPrice': (0, IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice_1.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON)(json['minOfferPrice']),
54
+ 'seller': (0, DomainSellerDto_1.DomainSellerDtoFromJSON)(json['seller']),
55
+ };
56
+ }
57
+ exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped = IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped;
58
+ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON(value) {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'stats': (0, DomainStats_1.DomainStatsToJSON)(value['stats']),
64
+ 'domain': value['domain'],
65
+ 'domainDisplayName': value['domainDisplayName'],
66
+ 'buyNowPrice': (0, IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice_1.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON)(value['buyNowPrice']),
67
+ 'minOfferPrice': (0, IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice_1.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON)(value['minOfferPrice']),
68
+ 'seller': (0, DomainSellerDto_1.DomainSellerDtoToJSON)(value['seller']),
69
+ };
70
+ }
71
+ exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON;
@@ -0,0 +1,37 @@
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
+ * Buy now price or null if buy now is not enabled
14
+ * @export
15
+ * @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
16
+ */
17
+ export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
18
+ /**
19
+ * Monetary amount, represented as an integer without scale/decimals.
20
+ * @type {number}
21
+ * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
22
+ */
23
+ amount: number;
24
+ /**
25
+ * Three letter ISO currency code
26
+ * @type {string}
27
+ * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
28
+ */
29
+ currencyCode: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice interface.
33
+ */
34
+ export declare function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice;
35
+ export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice;
36
+ export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice;
37
+ export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice | null): any;
@@ -0,0 +1,51 @@
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.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON = exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped = exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON = exports.instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice = void 0;
17
+ /**
18
+ * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice interface.
19
+ */
20
+ function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice(value) {
21
+ if (!('amount' in value) || value['amount'] === undefined)
22
+ return false;
23
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice = instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice;
28
+ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON(json) {
29
+ return IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped(json, false);
30
+ }
31
+ exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON;
32
+ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'amount': json['amount'],
38
+ 'currencyCode': json['currencyCode'],
39
+ };
40
+ }
41
+ exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped = IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped;
42
+ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON(value) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'amount': value['amount'],
48
+ 'currencyCode': value['currencyCode'],
49
+ };
50
+ }
51
+ exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON;
@@ -0,0 +1,37 @@
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
+ * min offer price or null if offers are not enabled
14
+ * @export
15
+ * @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
16
+ */
17
+ export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
18
+ /**
19
+ * Monetary amount, represented as an integer without scale/decimals.
20
+ * @type {number}
21
+ * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
22
+ */
23
+ amount: number;
24
+ /**
25
+ * Three letter ISO currency code
26
+ * @type {string}
27
+ * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
28
+ */
29
+ currencyCode: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice interface.
33
+ */
34
+ export declare function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice;
35
+ export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice;
36
+ export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice;
37
+ export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice | null): any;
@@ -0,0 +1,51 @@
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.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON = exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped = exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON = exports.instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice = void 0;
17
+ /**
18
+ * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice interface.
19
+ */
20
+ function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice(value) {
21
+ if (!('amount' in value) || value['amount'] === undefined)
22
+ return false;
23
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice = instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice;
28
+ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON(json) {
29
+ return IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped(json, false);
30
+ }
31
+ exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON;
32
+ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'amount': json['amount'],
38
+ 'currencyCode': json['currencyCode'],
39
+ };
40
+ }
41
+ exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped = IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped;
42
+ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON(value) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'amount': value['amount'],
48
+ 'currencyCode': value['currencyCode'],
49
+ };
50
+ }
51
+ exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON;