@randock/nameshift-api-client 0.0.204 → 0.0.206

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.
@@ -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.204
1
+ ## @randock/nameshift-api-client@0.0.206
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.204 --save
39
+ npm install @randock/nameshift-api-client@0.0.206 --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
- 479212f3c016df0dc067f5220f38e9b5fcbbaa0731492c097061880ab0f52d35c02ef3921d72a452917339f6bb82139a
47
+ 61acb77e1c58cc2cfdf4af3db6bc9fda84ce898dbfad50e814dc52fe98cbb85636615eb515a4e3d2fb76a228a0d20f13
@@ -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
+ }
@@ -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
  /**
@@ -29,6 +30,12 @@ export interface SeoMetricsDto {
29
30
  * @memberof SeoMetricsDto
30
31
  */
31
32
  majestic: MajesticMetrics | null;
33
+ /**
34
+ *
35
+ * @type {HistoricalMetrics}
36
+ * @memberof SeoMetricsDto
37
+ */
38
+ historical: HistoricalMetrics | null;
32
39
  }
33
40
  /**
34
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
  /**
@@ -28,6 +29,8 @@ function instanceOfSeoMetricsDto(value) {
28
29
  return false;
29
30
  if (!('majestic' in value) || value['majestic'] === undefined)
30
31
  return false;
32
+ if (!('historical' in value) || value['historical'] === undefined)
33
+ return false;
31
34
  return true;
32
35
  }
33
36
  function SeoMetricsDtoFromJSON(json) {
@@ -40,6 +43,7 @@ function SeoMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
40
43
  return {
41
44
  'moz': (0, MozMetrics_1.MozMetricsFromJSON)(json['moz']),
42
45
  'majestic': (0, MajesticMetrics_1.MajesticMetricsFromJSON)(json['majestic']),
46
+ 'historical': (0, HistoricalMetrics_1.HistoricalMetricsFromJSON)(json['historical']),
43
47
  };
44
48
  }
45
49
  function SeoMetricsDtoToJSON(json) {
@@ -53,5 +57,6 @@ function SeoMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
53
57
  return {
54
58
  'moz': (0, MozMetrics_1.MozMetricsToJSON)(value['moz']),
55
59
  'majestic': (0, MajesticMetrics_1.MajesticMetricsToJSON)(value['majestic']),
60
+ 'historical': (0, HistoricalMetrics_1.HistoricalMetricsToJSON)(value['historical']),
56
61
  };
57
62
  }
@@ -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';
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.204",
3
+ "version": "0.0.206",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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
+
@@ -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,
@@ -46,6 +53,12 @@ export interface SeoMetricsDto {
46
53
  * @memberof SeoMetricsDto
47
54
  */
48
55
  majestic: MajesticMetrics | null;
56
+ /**
57
+ *
58
+ * @type {HistoricalMetrics}
59
+ * @memberof SeoMetricsDto
60
+ */
61
+ historical: HistoricalMetrics | null;
49
62
  }
50
63
 
51
64
  /**
@@ -54,6 +67,7 @@ export interface SeoMetricsDto {
54
67
  export function instanceOfSeoMetricsDto(value: object): value is SeoMetricsDto {
55
68
  if (!('moz' in value) || value['moz'] === undefined) return false;
56
69
  if (!('majestic' in value) || value['majestic'] === undefined) return false;
70
+ if (!('historical' in value) || value['historical'] === undefined) return false;
57
71
  return true;
58
72
  }
59
73
 
@@ -69,6 +83,7 @@ export function SeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
69
83
 
70
84
  'moz': MozMetricsFromJSON(json['moz']),
71
85
  'majestic': MajesticMetricsFromJSON(json['majestic']),
86
+ 'historical': HistoricalMetricsFromJSON(json['historical']),
72
87
  };
73
88
  }
74
89
 
@@ -85,6 +100,7 @@ export function SeoMetricsDtoToJSONTyped(value?: SeoMetricsDto | null, ignoreDis
85
100
 
86
101
  'moz': MozMetricsToJSON(value['moz']),
87
102
  'majestic': MajesticMetricsToJSON(value['majestic']),
103
+ 'historical': HistoricalMetricsToJSON(value['historical']),
88
104
  };
89
105
  }
90
106
 
@@ -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';