@randock/nameshift-api-client 0.0.236 → 0.0.237

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.236
1
+ ## @randock/nameshift-api-client@0.0.237
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.236 --save
39
+ npm install @randock/nameshift-api-client@0.0.237 --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
- 02521abfb7cb69385f2a7f295c96ba8c67df3ff3aa36a3b27824d42aa11a460ee1a106c246627d0499e1815dbf1001e2
47
+ dadd5853e7158ad505019292b0a48d2f7816a37e6ee3ce3e8ab941e880700d28f92a031725c43adb74f1782a2500b697
@@ -22,6 +22,12 @@ export interface DomainStatsDto {
22
22
  * @memberof DomainStatsDto
23
23
  */
24
24
  websiteId: string;
25
+ /**
26
+ * The url for public stats for this website.
27
+ * @type {string}
28
+ * @memberof DomainStatsDto
29
+ */
30
+ scriptUrl: string;
25
31
  /**
26
32
  * The url for public stats for this website.
27
33
  * @type {string}
@@ -33,6 +33,8 @@ exports.DomainStatsDtoChartUnitEnum = {
33
33
  function instanceOfDomainStatsDto(value) {
34
34
  if (!('websiteId' in value) || value['websiteId'] === undefined)
35
35
  return false;
36
+ if (!('scriptUrl' in value) || value['scriptUrl'] === undefined)
37
+ return false;
36
38
  if (!('shareUrl' in value) || value['shareUrl'] === undefined)
37
39
  return false;
38
40
  if (!('chartUnit' in value) || value['chartUnit'] === undefined)
@@ -50,6 +52,7 @@ function DomainStatsDtoFromJSONTyped(json, ignoreDiscriminator) {
50
52
  }
51
53
  return {
52
54
  'websiteId': json['websiteId'],
55
+ 'scriptUrl': json['scriptUrl'],
53
56
  'shareUrl': json['shareUrl'],
54
57
  'chartUnit': json['chartUnit'],
55
58
  'chartData': (json['chartData'] == null ? null : json['chartData'].map(ChartDataPoint_1.ChartDataPointFromJSON)),
@@ -65,6 +68,7 @@ function DomainStatsDtoToJSONTyped(value, ignoreDiscriminator) {
65
68
  }
66
69
  return {
67
70
  'websiteId': value['websiteId'],
71
+ 'scriptUrl': value['scriptUrl'],
68
72
  'shareUrl': value['shareUrl'],
69
73
  'chartUnit': value['chartUnit'],
70
74
  'chartData': (value['chartData'] == null ? null : value['chartData'].map(ChartDataPoint_1.ChartDataPointToJSON)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.236",
3
+ "version": "0.0.237",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -33,6 +33,12 @@ export interface DomainStatsDto {
33
33
  * @memberof DomainStatsDto
34
34
  */
35
35
  websiteId: string;
36
+ /**
37
+ * The url for public stats for this website.
38
+ * @type {string}
39
+ * @memberof DomainStatsDto
40
+ */
41
+ scriptUrl: string;
36
42
  /**
37
43
  * The url for public stats for this website.
38
44
  * @type {string}
@@ -69,6 +75,7 @@ export type DomainStatsDtoChartUnitEnum = typeof DomainStatsDtoChartUnitEnum[key
69
75
  */
70
76
  export function instanceOfDomainStatsDto(value: object): value is DomainStatsDto {
71
77
  if (!('websiteId' in value) || value['websiteId'] === undefined) return false;
78
+ if (!('scriptUrl' in value) || value['scriptUrl'] === undefined) return false;
72
79
  if (!('shareUrl' in value) || value['shareUrl'] === undefined) return false;
73
80
  if (!('chartUnit' in value) || value['chartUnit'] === undefined) return false;
74
81
  if (!('chartData' in value) || value['chartData'] === undefined) return false;
@@ -86,6 +93,7 @@ export function DomainStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
86
93
  return {
87
94
 
88
95
  'websiteId': json['websiteId'],
96
+ 'scriptUrl': json['scriptUrl'],
89
97
  'shareUrl': json['shareUrl'],
90
98
  'chartUnit': json['chartUnit'],
91
99
  'chartData': (json['chartData'] == null ? null : (json['chartData'] as Array<any>).map(ChartDataPointFromJSON)),
@@ -104,6 +112,7 @@ export function DomainStatsDtoToJSONTyped(value?: DomainStatsDto | null, ignoreD
104
112
  return {
105
113
 
106
114
  'websiteId': value['websiteId'],
115
+ 'scriptUrl': value['scriptUrl'],
107
116
  'shareUrl': value['shareUrl'],
108
117
  'chartUnit': value['chartUnit'],
109
118
  'chartData': (value['chartData'] == null ? null : (value['chartData'] as Array<any>).map(ChartDataPointToJSON)),