@randock/nameshift-api-client 0.0.260 → 0.0.261

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.260
1
+ ## @randock/nameshift-api-client@0.0.261
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.260 --save
39
+ npm install @randock/nameshift-api-client@0.0.261 --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
- fc52757682baa120149614fb8a1d7f53064cdc6009d5df3588960e38aa6d628e62bfdab59b66b1a55cf533fefe367f37
47
+ 4dc55629a6fc8b1284fc5cdecc6da26329c09faa942139e3dc9372cfd27b4abd523420d9329f2330c1543126b843f547
@@ -16,6 +16,12 @@ import type { RelatedSellerDomain } from './RelatedSellerDomain';
16
16
  * @interface DomainSellerDto
17
17
  */
18
18
  export interface DomainSellerDto {
19
+ /**
20
+ * The domain seller account id
21
+ * @type {string}
22
+ * @memberof DomainSellerDto
23
+ */
24
+ id: string;
19
25
  /**
20
26
  * The domain seller account creation date
21
27
  * @type {Date}
@@ -23,6 +23,8 @@ var RelatedSellerDomain_1 = require("./RelatedSellerDomain");
23
23
  * Check if a given object implements the DomainSellerDto interface.
24
24
  */
25
25
  function instanceOfDomainSellerDto(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
26
28
  if (!('createdAt' in value) || value['createdAt'] === undefined)
27
29
  return false;
28
30
  if (!('anonymous' in value) || value['anonymous'] === undefined)
@@ -49,6 +51,7 @@ function DomainSellerDtoFromJSONTyped(json, ignoreDiscriminator) {
49
51
  return json;
50
52
  }
51
53
  return {
54
+ 'id': json['id'],
52
55
  'createdAt': (new Date(json['createdAt'])),
53
56
  'anonymous': json['anonymous'],
54
57
  'lastOnline': (json['lastOnline'] == null ? null : new Date(json['lastOnline'])),
@@ -68,6 +71,7 @@ function DomainSellerDtoToJSONTyped(value, ignoreDiscriminator) {
68
71
  return value;
69
72
  }
70
73
  return {
74
+ 'id': value['id'],
71
75
  'createdAt': ((value['createdAt']).toISOString()),
72
76
  'anonymous': value['anonymous'],
73
77
  'lastOnline': (value['lastOnline'] == null ? null : value['lastOnline'].toISOString()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.260",
3
+ "version": "0.0.261",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -27,6 +27,12 @@ import {
27
27
  * @interface DomainSellerDto
28
28
  */
29
29
  export interface DomainSellerDto {
30
+ /**
31
+ * The domain seller account id
32
+ * @type {string}
33
+ * @memberof DomainSellerDto
34
+ */
35
+ id: string;
30
36
  /**
31
37
  * The domain seller account creation date
32
38
  * @type {Date}
@@ -81,6 +87,7 @@ export interface DomainSellerDto {
81
87
  * Check if a given object implements the DomainSellerDto interface.
82
88
  */
83
89
  export function instanceOfDomainSellerDto(value: object): value is DomainSellerDto {
90
+ if (!('id' in value) || value['id'] === undefined) return false;
84
91
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
85
92
  if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
86
93
  if (!('lastOnline' in value) || value['lastOnline'] === undefined) return false;
@@ -102,6 +109,7 @@ export function DomainSellerDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
102
109
  }
103
110
  return {
104
111
 
112
+ 'id': json['id'],
105
113
  'createdAt': (new Date(json['createdAt'])),
106
114
  'anonymous': json['anonymous'],
107
115
  'lastOnline': (json['lastOnline'] == null ? null : new Date(json['lastOnline'])),
@@ -124,6 +132,7 @@ export function DomainSellerDtoToJSONTyped(value?: DomainSellerDto | null, ignor
124
132
 
125
133
  return {
126
134
 
135
+ 'id': value['id'],
127
136
  'createdAt': ((value['createdAt']).toISOString()),
128
137
  'anonymous': value['anonymous'],
129
138
  'lastOnline': (value['lastOnline'] == null ? null : (value['lastOnline'] as any).toISOString()),