@randock/nameshift-api-client 0.0.71 → 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 (33) hide show
  1. package/.openapi-generator/FILES +5 -3
  2. package/README.md +3 -3
  3. package/dist/apis/DomainsPublicApi.d.ts +4 -3
  4. package/dist/apis/DomainsPublicApi.js +4 -1
  5. package/dist/models/ChartDataPoint.d.ts +37 -0
  6. package/dist/models/ChartDataPoint.js +51 -0
  7. package/dist/models/DomainStats.d.ts +58 -0
  8. package/dist/models/DomainStats.js +67 -0
  9. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +65 -0
  10. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +71 -0
  11. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.d.ts +37 -0
  12. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.js +51 -0
  13. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.d.ts +37 -0
  14. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.js +51 -0
  15. package/dist/models/index.d.ts +5 -3
  16. package/dist/models/index.js +5 -3
  17. package/package.json +1 -1
  18. package/src/apis/DomainsPublicApi.ts +11 -6
  19. package/src/models/ChartDataPoint.ts +70 -0
  20. package/src/models/DomainStats.ts +106 -0
  21. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +131 -0
  22. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.ts +70 -0
  23. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.ts +70 -0
  24. package/src/models/index.ts +5 -3
  25. package/dist/models/DomainSalesInformationDto.d.ts +0 -58
  26. package/dist/models/DomainSalesInformationDto.js +0 -66
  27. package/dist/models/DomainSalesInformationDtoBuyNowPrice.d.ts +0 -37
  28. package/dist/models/DomainSalesInformationDtoBuyNowPrice.js +0 -51
  29. package/dist/models/DomainSalesInformationDtoMinOfferPrice.d.ts +0 -37
  30. package/dist/models/DomainSalesInformationDtoMinOfferPrice.js +0 -51
  31. package/src/models/DomainSalesInformationDto.ts +0 -116
  32. package/src/models/DomainSalesInformationDtoBuyNowPrice.ts +0 -70
  33. package/src/models/DomainSalesInformationDtoMinOfferPrice.ts +0 -70
@@ -30,6 +30,7 @@ src/models/BuyerDomainTransferListItemDomainDto.ts
30
30
  src/models/BuyerDomainTransferListItemDto.ts
31
31
  src/models/BuyerUserDto.ts
32
32
  src/models/ChangeOrderStatusInput.ts
33
+ src/models/ChartDataPoint.ts
33
34
  src/models/ConflictException.ts
34
35
  src/models/CreateLeadInput.ts
35
36
  src/models/CreateLeadMessageInput.ts
@@ -37,10 +38,8 @@ src/models/CreateOrderInput.ts
37
38
  src/models/DashboardStatsDto.ts
38
39
  src/models/DeleteDomainsInput.ts
39
40
  src/models/DomainDto.ts
40
- src/models/DomainSalesInformationDto.ts
41
- src/models/DomainSalesInformationDtoBuyNowPrice.ts
42
- src/models/DomainSalesInformationDtoMinOfferPrice.ts
43
41
  src/models/DomainSellerDto.ts
42
+ src/models/DomainStats.ts
44
43
  src/models/DomainTransferAgentDto.ts
45
44
  src/models/DomainTransferDomainDto.ts
46
45
  src/models/DomainTransferDto.ts
@@ -55,6 +54,9 @@ src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.t
55
54
  src/models/IntersectionDomainDtoWithAccountDto.ts
56
55
  src/models/IntersectionDomainDtoWithDomainUrlDto.ts
57
56
  src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
57
+ src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts
58
+ src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.ts
59
+ src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.ts
58
60
  src/models/IntersectionLeadDtoWithLeadDetailsDto.ts
59
61
  src/models/IntersectionLeadDtoWithListFieldsDto.ts
60
62
  src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.71
1
+ ## @randock/nameshift-api-client@0.0.72
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.71 --save
39
+ npm install @randock/nameshift-api-client@0.0.72 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- b58cf4acb802be8ef14f10e321a117cee69da0a02ce9d18ead79c06b0e14f089b01c75f304a2d0c3baa8fc16603c46d3
47
+ 54a1c237c876054662eb65c97dc4ecc92f8f2c7be37423ccec9fbbe3b60d04cb89ad4ad70224f9957eccb4eb6d722331
@@ -10,9 +10,10 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { DomainSalesInformationDto } from '../models/index';
13
+ import type { IntersectionDomainSalesInformationDtoWithDomainStatsDto } from '../models/index';
14
14
  export interface DomainsPublicApiGetDomainSalesInformationRequest {
15
15
  domainName: string;
16
+ includeStats?: boolean;
16
17
  }
17
18
  /**
18
19
  *
@@ -21,9 +22,9 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
21
22
  /**
22
23
  *
23
24
  */
24
- getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainSalesInformationDto>>;
25
+ getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionDomainSalesInformationDtoWithDomainStatsDto>>;
25
26
  /**
26
27
  *
27
28
  */
28
- getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainSalesInformationDto>;
29
+ getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionDomainSalesInformationDtoWithDomainStatsDto>;
29
30
  }
@@ -88,6 +88,9 @@ var DomainsPublicApi = /** @class */ (function (_super) {
88
88
  throw new runtime.RequiredError('domainName', 'Required parameter "domainName" was null or undefined when calling getDomainSalesInformation().');
89
89
  }
90
90
  queryParameters = {};
91
+ if (requestParameters['includeStats'] != null) {
92
+ queryParameters['includeStats'] = requestParameters['includeStats'];
93
+ }
91
94
  headerParameters = {};
92
95
  return [4 /*yield*/, this.request({
93
96
  path: "/domains/by-name/{domainName}/sales-information".replace("{".concat("domainName", "}"), encodeURIComponent(String(requestParameters['domainName']))),
@@ -97,7 +100,7 @@ var DomainsPublicApi = /** @class */ (function (_super) {
97
100
  }, initOverrides)];
98
101
  case 1:
99
102
  response = _a.sent();
100
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DomainSalesInformationDtoFromJSON)(jsonValue); })];
103
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON)(jsonValue); })];
101
104
  }
102
105
  });
103
106
  });
@@ -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;
@@ -10,6 +10,7 @@ export * from './BuyerDomainTransferListItemDomainDto';
10
10
  export * from './BuyerDomainTransferListItemDto';
11
11
  export * from './BuyerUserDto';
12
12
  export * from './ChangeOrderStatusInput';
13
+ export * from './ChartDataPoint';
13
14
  export * from './ConflictException';
14
15
  export * from './CreateLeadInput';
15
16
  export * from './CreateLeadMessageInput';
@@ -17,10 +18,8 @@ export * from './CreateOrderInput';
17
18
  export * from './DashboardStatsDto';
18
19
  export * from './DeleteDomainsInput';
19
20
  export * from './DomainDto';
20
- export * from './DomainSalesInformationDto';
21
- export * from './DomainSalesInformationDtoBuyNowPrice';
22
- export * from './DomainSalesInformationDtoMinOfferPrice';
23
21
  export * from './DomainSellerDto';
22
+ export * from './DomainStats';
24
23
  export * from './DomainTransferAgentDto';
25
24
  export * from './DomainTransferDomainDto';
26
25
  export * from './DomainTransferDto';
@@ -35,6 +34,9 @@ export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
35
34
  export * from './IntersectionDomainDtoWithAccountDto';
36
35
  export * from './IntersectionDomainDtoWithDomainUrlDto';
37
36
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
37
+ export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
38
+ export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice';
39
+ export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
38
40
  export * from './IntersectionLeadDtoWithLeadDetailsDto';
39
41
  export * from './IntersectionLeadDtoWithListFieldsDto';
40
42
  export * from './IntersectionLeadDtoWithListFieldsDtoLastMessageData';