@randock/nameshift-api-client 0.0.205 → 0.0.207
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 +1 -0
- package/README.md +3 -3
- package/dist/models/HistoricalMetrics.d.ts +50 -0
- package/dist/models/HistoricalMetrics.js +63 -0
- package/dist/models/LandingPageInput.d.ts +6 -0
- package/dist/models/LandingPageInput.js +2 -0
- package/dist/models/LandingPageSettingsDto.d.ts +6 -0
- package/dist/models/LandingPageSettingsDto.js +4 -0
- package/dist/models/SeoMetricsDto.d.ts +3 -2
- package/dist/models/SeoMetricsDto.js +3 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/models/HistoricalMetrics.ts +93 -0
- package/src/models/LandingPageInput.ts +8 -0
- package/src/models/LandingPageSettingsDto.ts +9 -0
- package/src/models/SeoMetricsDto.ts +11 -4
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -105,6 +105,7 @@ src/models/GetAllSubscriptions200Response1.ts
|
|
|
105
105
|
src/models/GetBuyerLeads200Response.ts
|
|
106
106
|
src/models/GetBuyerSubscriptions200Response.ts
|
|
107
107
|
src/models/GetBuyerTransfers200Response.ts
|
|
108
|
+
src/models/HistoricalMetrics.ts
|
|
108
109
|
src/models/HttpException.ts
|
|
109
110
|
src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
|
|
110
111
|
src/models/IntersectionDomainDtoWithAccountDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.207
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.207 --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
|
-
|
|
47
|
+
e6d2f4d57e1043546910be99da010cb34afdeedff6cc8f7268770c7980792018b0dff35b3867739babd5e411e3d58f08
|
|
@@ -0,0 +1,50 @@
|
|
|
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 HistoricalMetrics
|
|
16
|
+
*/
|
|
17
|
+
export interface HistoricalMetrics {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof HistoricalMetrics
|
|
22
|
+
*/
|
|
23
|
+
firstIndexed: Date | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof HistoricalMetrics
|
|
28
|
+
*/
|
|
29
|
+
lastIndexed: Date | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof HistoricalMetrics
|
|
34
|
+
*/
|
|
35
|
+
yearsIndexedCount: number | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof HistoricalMetrics
|
|
40
|
+
*/
|
|
41
|
+
indexedCount: number | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the HistoricalMetrics interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfHistoricalMetrics(value: object): value is HistoricalMetrics;
|
|
47
|
+
export declare function HistoricalMetricsFromJSON(json: any): HistoricalMetrics;
|
|
48
|
+
export declare function HistoricalMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): HistoricalMetrics;
|
|
49
|
+
export declare function HistoricalMetricsToJSON(json: any): HistoricalMetrics;
|
|
50
|
+
export declare function HistoricalMetricsToJSONTyped(value?: HistoricalMetrics | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfHistoricalMetrics = instanceOfHistoricalMetrics;
|
|
17
|
+
exports.HistoricalMetricsFromJSON = HistoricalMetricsFromJSON;
|
|
18
|
+
exports.HistoricalMetricsFromJSONTyped = HistoricalMetricsFromJSONTyped;
|
|
19
|
+
exports.HistoricalMetricsToJSON = HistoricalMetricsToJSON;
|
|
20
|
+
exports.HistoricalMetricsToJSONTyped = HistoricalMetricsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the HistoricalMetrics interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfHistoricalMetrics(value) {
|
|
25
|
+
if (!('firstIndexed' in value) || value['firstIndexed'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('lastIndexed' in value) || value['lastIndexed'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('yearsIndexedCount' in value) || value['yearsIndexedCount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('indexedCount' in value) || value['indexedCount'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function HistoricalMetricsFromJSON(json) {
|
|
36
|
+
return HistoricalMetricsFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function HistoricalMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'firstIndexed': (json['firstIndexed'] == null ? null : new Date(json['firstIndexed'])),
|
|
44
|
+
'lastIndexed': (json['lastIndexed'] == null ? null : new Date(json['lastIndexed'])),
|
|
45
|
+
'yearsIndexedCount': json['yearsIndexedCount'],
|
|
46
|
+
'indexedCount': json['indexedCount'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function HistoricalMetricsToJSON(json) {
|
|
50
|
+
return HistoricalMetricsToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function HistoricalMetricsToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'firstIndexed': (value['firstIndexed'] == null ? null : value['firstIndexed'].toISOString()),
|
|
59
|
+
'lastIndexed': (value['lastIndexed'] == null ? null : value['lastIndexed'].toISOString()),
|
|
60
|
+
'yearsIndexedCount': value['yearsIndexedCount'],
|
|
61
|
+
'indexedCount': value['indexedCount'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -33,6 +33,12 @@ export interface LandingPageInput {
|
|
|
33
33
|
* @memberof LandingPageInput
|
|
34
34
|
*/
|
|
35
35
|
seoMetrics?: boolean | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof LandingPageInput
|
|
40
|
+
*/
|
|
41
|
+
visitorStats?: boolean | null;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the LandingPageInput interface.
|
|
@@ -35,6 +35,7 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'anonymous': json['anonymous'] == null ? undefined : json['anonymous'],
|
|
36
36
|
'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
|
|
37
37
|
'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
|
|
38
|
+
'visitorStats': json['visitorStats'] == null ? undefined : json['visitorStats'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
function LandingPageInputToJSON(json) {
|
|
@@ -49,5 +50,6 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
49
50
|
'anonymous': value['anonymous'],
|
|
50
51
|
'showRelatedDomains': value['showRelatedDomains'],
|
|
51
52
|
'seoMetrics': value['seoMetrics'],
|
|
53
|
+
'visitorStats': value['visitorStats'],
|
|
52
54
|
};
|
|
53
55
|
}
|
|
@@ -33,6 +33,12 @@ export interface LandingPageSettingsDto {
|
|
|
33
33
|
* @memberof LandingPageSettingsDto
|
|
34
34
|
*/
|
|
35
35
|
seoMetrics: boolean | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof LandingPageSettingsDto
|
|
40
|
+
*/
|
|
41
|
+
visitorStats: boolean | null;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the LandingPageSettingsDto interface.
|
|
@@ -28,6 +28,8 @@ function instanceOfLandingPageSettingsDto(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('visitorStats' in value) || value['visitorStats'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
33
35
|
function LandingPageSettingsDtoFromJSON(json) {
|
|
@@ -41,6 +43,7 @@ function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
43
|
'anonymous': json['anonymous'],
|
|
42
44
|
'showRelatedDomains': json['showRelatedDomains'],
|
|
43
45
|
'seoMetrics': json['seoMetrics'],
|
|
46
|
+
'visitorStats': json['visitorStats'],
|
|
44
47
|
};
|
|
45
48
|
}
|
|
46
49
|
function LandingPageSettingsDtoToJSON(json) {
|
|
@@ -55,5 +58,6 @@ function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
58
|
'anonymous': value['anonymous'],
|
|
56
59
|
'showRelatedDomains': value['showRelatedDomains'],
|
|
57
60
|
'seoMetrics': value['seoMetrics'],
|
|
61
|
+
'visitorStats': value['visitorStats'],
|
|
58
62
|
};
|
|
59
63
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { HistoricalMetrics } from './HistoricalMetrics';
|
|
12
13
|
import type { MajesticMetrics } from './MajesticMetrics';
|
|
13
14
|
import type { MozMetrics } from './MozMetrics';
|
|
14
15
|
/**
|
|
@@ -31,10 +32,10 @@ export interface SeoMetricsDto {
|
|
|
31
32
|
majestic: MajesticMetrics | null;
|
|
32
33
|
/**
|
|
33
34
|
*
|
|
34
|
-
* @type {
|
|
35
|
+
* @type {HistoricalMetrics}
|
|
35
36
|
* @memberof SeoMetricsDto
|
|
36
37
|
*/
|
|
37
|
-
historical:
|
|
38
|
+
historical: HistoricalMetrics | null;
|
|
38
39
|
}
|
|
39
40
|
/**
|
|
40
41
|
* Check if a given object implements the SeoMetricsDto interface.
|
|
@@ -18,6 +18,7 @@ exports.SeoMetricsDtoFromJSON = SeoMetricsDtoFromJSON;
|
|
|
18
18
|
exports.SeoMetricsDtoFromJSONTyped = SeoMetricsDtoFromJSONTyped;
|
|
19
19
|
exports.SeoMetricsDtoToJSON = SeoMetricsDtoToJSON;
|
|
20
20
|
exports.SeoMetricsDtoToJSONTyped = SeoMetricsDtoToJSONTyped;
|
|
21
|
+
var HistoricalMetrics_1 = require("./HistoricalMetrics");
|
|
21
22
|
var MajesticMetrics_1 = require("./MajesticMetrics");
|
|
22
23
|
var MozMetrics_1 = require("./MozMetrics");
|
|
23
24
|
/**
|
|
@@ -42,7 +43,7 @@ function SeoMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
43
|
return {
|
|
43
44
|
'moz': (0, MozMetrics_1.MozMetricsFromJSON)(json['moz']),
|
|
44
45
|
'majestic': (0, MajesticMetrics_1.MajesticMetricsFromJSON)(json['majestic']),
|
|
45
|
-
'historical': (0,
|
|
46
|
+
'historical': (0, HistoricalMetrics_1.HistoricalMetricsFromJSON)(json['historical']),
|
|
46
47
|
};
|
|
47
48
|
}
|
|
48
49
|
function SeoMetricsDtoToJSON(json) {
|
|
@@ -56,6 +57,6 @@ function SeoMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
56
57
|
return {
|
|
57
58
|
'moz': (0, MozMetrics_1.MozMetricsToJSON)(value['moz']),
|
|
58
59
|
'majestic': (0, MajesticMetrics_1.MajesticMetricsToJSON)(value['majestic']),
|
|
59
|
-
'historical': (0,
|
|
60
|
+
'historical': (0, HistoricalMetrics_1.HistoricalMetricsToJSON)(value['historical']),
|
|
60
61
|
};
|
|
61
62
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -80,6 +80,7 @@ export * from './GetAllSubscriptions200Response1';
|
|
|
80
80
|
export * from './GetBuyerLeads200Response';
|
|
81
81
|
export * from './GetBuyerSubscriptions200Response';
|
|
82
82
|
export * from './GetBuyerTransfers200Response';
|
|
83
|
+
export * from './HistoricalMetrics';
|
|
83
84
|
export * from './HttpException';
|
|
84
85
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
85
86
|
export * from './IntersectionDomainDtoWithAccountDto';
|
package/dist/models/index.js
CHANGED
|
@@ -98,6 +98,7 @@ __exportStar(require("./GetAllSubscriptions200Response1"), exports);
|
|
|
98
98
|
__exportStar(require("./GetBuyerLeads200Response"), exports);
|
|
99
99
|
__exportStar(require("./GetBuyerSubscriptions200Response"), exports);
|
|
100
100
|
__exportStar(require("./GetBuyerTransfers200Response"), exports);
|
|
101
|
+
__exportStar(require("./HistoricalMetrics"), exports);
|
|
101
102
|
__exportStar(require("./HttpException"), exports);
|
|
102
103
|
__exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto"), exports);
|
|
103
104
|
__exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,93 @@
|
|
|
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 HistoricalMetrics
|
|
20
|
+
*/
|
|
21
|
+
export interface HistoricalMetrics {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Date}
|
|
25
|
+
* @memberof HistoricalMetrics
|
|
26
|
+
*/
|
|
27
|
+
firstIndexed: Date | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof HistoricalMetrics
|
|
32
|
+
*/
|
|
33
|
+
lastIndexed: Date | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof HistoricalMetrics
|
|
38
|
+
*/
|
|
39
|
+
yearsIndexedCount: number | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof HistoricalMetrics
|
|
44
|
+
*/
|
|
45
|
+
indexedCount: number | null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the HistoricalMetrics interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfHistoricalMetrics(value: object): value is HistoricalMetrics {
|
|
52
|
+
if (!('firstIndexed' in value) || value['firstIndexed'] === undefined) return false;
|
|
53
|
+
if (!('lastIndexed' in value) || value['lastIndexed'] === undefined) return false;
|
|
54
|
+
if (!('yearsIndexedCount' in value) || value['yearsIndexedCount'] === undefined) return false;
|
|
55
|
+
if (!('indexedCount' in value) || value['indexedCount'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function HistoricalMetricsFromJSON(json: any): HistoricalMetrics {
|
|
60
|
+
return HistoricalMetricsFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function HistoricalMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): HistoricalMetrics {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'firstIndexed': (json['firstIndexed'] == null ? null : new Date(json['firstIndexed'])),
|
|
70
|
+
'lastIndexed': (json['lastIndexed'] == null ? null : new Date(json['lastIndexed'])),
|
|
71
|
+
'yearsIndexedCount': json['yearsIndexedCount'],
|
|
72
|
+
'indexedCount': json['indexedCount'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function HistoricalMetricsToJSON(json: any): HistoricalMetrics {
|
|
77
|
+
return HistoricalMetricsToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function HistoricalMetricsToJSONTyped(value?: HistoricalMetrics | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'firstIndexed': (value['firstIndexed'] == null ? null : (value['firstIndexed'] as any).toISOString()),
|
|
88
|
+
'lastIndexed': (value['lastIndexed'] == null ? null : (value['lastIndexed'] as any).toISOString()),
|
|
89
|
+
'yearsIndexedCount': value['yearsIndexedCount'],
|
|
90
|
+
'indexedCount': value['indexedCount'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -37,6 +37,12 @@ export interface LandingPageInput {
|
|
|
37
37
|
* @memberof LandingPageInput
|
|
38
38
|
*/
|
|
39
39
|
seoMetrics?: boolean | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof LandingPageInput
|
|
44
|
+
*/
|
|
45
|
+
visitorStats?: boolean | null;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
@@ -59,6 +65,7 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
59
65
|
'anonymous': json['anonymous'] == null ? undefined : json['anonymous'],
|
|
60
66
|
'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
|
|
61
67
|
'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
|
|
68
|
+
'visitorStats': json['visitorStats'] == null ? undefined : json['visitorStats'],
|
|
62
69
|
};
|
|
63
70
|
}
|
|
64
71
|
|
|
@@ -76,6 +83,7 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
|
|
|
76
83
|
'anonymous': value['anonymous'],
|
|
77
84
|
'showRelatedDomains': value['showRelatedDomains'],
|
|
78
85
|
'seoMetrics': value['seoMetrics'],
|
|
86
|
+
'visitorStats': value['visitorStats'],
|
|
79
87
|
};
|
|
80
88
|
}
|
|
81
89
|
|
|
@@ -37,6 +37,12 @@ export interface LandingPageSettingsDto {
|
|
|
37
37
|
* @memberof LandingPageSettingsDto
|
|
38
38
|
*/
|
|
39
39
|
seoMetrics: boolean | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof LandingPageSettingsDto
|
|
44
|
+
*/
|
|
45
|
+
visitorStats: boolean | null;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
@@ -46,6 +52,7 @@ export function instanceOfLandingPageSettingsDto(value: object): value is Landin
|
|
|
46
52
|
if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
|
|
47
53
|
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
|
|
48
54
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
55
|
+
if (!('visitorStats' in value) || value['visitorStats'] === undefined) return false;
|
|
49
56
|
return true;
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -62,6 +69,7 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
62
69
|
'anonymous': json['anonymous'],
|
|
63
70
|
'showRelatedDomains': json['showRelatedDomains'],
|
|
64
71
|
'seoMetrics': json['seoMetrics'],
|
|
72
|
+
'visitorStats': json['visitorStats'],
|
|
65
73
|
};
|
|
66
74
|
}
|
|
67
75
|
|
|
@@ -79,6 +87,7 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
|
|
|
79
87
|
'anonymous': value['anonymous'],
|
|
80
88
|
'showRelatedDomains': value['showRelatedDomains'],
|
|
81
89
|
'seoMetrics': value['seoMetrics'],
|
|
90
|
+
'visitorStats': value['visitorStats'],
|
|
82
91
|
};
|
|
83
92
|
}
|
|
84
93
|
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { HistoricalMetrics } from './HistoricalMetrics';
|
|
17
|
+
import {
|
|
18
|
+
HistoricalMetricsFromJSON,
|
|
19
|
+
HistoricalMetricsFromJSONTyped,
|
|
20
|
+
HistoricalMetricsToJSON,
|
|
21
|
+
HistoricalMetricsToJSONTyped,
|
|
22
|
+
} from './HistoricalMetrics';
|
|
16
23
|
import type { MajesticMetrics } from './MajesticMetrics';
|
|
17
24
|
import {
|
|
18
25
|
MajesticMetricsFromJSON,
|
|
@@ -48,10 +55,10 @@ export interface SeoMetricsDto {
|
|
|
48
55
|
majestic: MajesticMetrics | null;
|
|
49
56
|
/**
|
|
50
57
|
*
|
|
51
|
-
* @type {
|
|
58
|
+
* @type {HistoricalMetrics}
|
|
52
59
|
* @memberof SeoMetricsDto
|
|
53
60
|
*/
|
|
54
|
-
historical:
|
|
61
|
+
historical: HistoricalMetrics | null;
|
|
55
62
|
}
|
|
56
63
|
|
|
57
64
|
/**
|
|
@@ -76,7 +83,7 @@ export function SeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
76
83
|
|
|
77
84
|
'moz': MozMetricsFromJSON(json['moz']),
|
|
78
85
|
'majestic': MajesticMetricsFromJSON(json['majestic']),
|
|
79
|
-
'historical':
|
|
86
|
+
'historical': HistoricalMetricsFromJSON(json['historical']),
|
|
80
87
|
};
|
|
81
88
|
}
|
|
82
89
|
|
|
@@ -93,7 +100,7 @@ export function SeoMetricsDtoToJSONTyped(value?: SeoMetricsDto | null, ignoreDis
|
|
|
93
100
|
|
|
94
101
|
'moz': MozMetricsToJSON(value['moz']),
|
|
95
102
|
'majestic': MajesticMetricsToJSON(value['majestic']),
|
|
96
|
-
'historical':
|
|
103
|
+
'historical': HistoricalMetricsToJSON(value['historical']),
|
|
97
104
|
};
|
|
98
105
|
}
|
|
99
106
|
|
package/src/models/index.ts
CHANGED
|
@@ -82,6 +82,7 @@ export * from './GetAllSubscriptions200Response1';
|
|
|
82
82
|
export * from './GetBuyerLeads200Response';
|
|
83
83
|
export * from './GetBuyerSubscriptions200Response';
|
|
84
84
|
export * from './GetBuyerTransfers200Response';
|
|
85
|
+
export * from './HistoricalMetrics';
|
|
85
86
|
export * from './HttpException';
|
|
86
87
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
87
88
|
export * from './IntersectionDomainDtoWithAccountDto';
|