@randock/nameshift-api-client 0.0.324 → 0.0.325

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.324
1
+ ## @randock/nameshift-api-client@0.0.325
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.324 --save
39
+ npm install @randock/nameshift-api-client@0.0.325 --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
- ba140f7c4c19879574e7885ff7429911fcf5e3cf184f2a2d139ee8ae3caee0e092ca8e460a16efb7b2f2bfed7b80c27b
47
+ 92d0433fe775b868419db76a5b02f043e22a8bb930f089afcca96028d4569a867ee49b3627acf9f6c57b844914fedfa5
@@ -52,6 +52,12 @@ export interface DomainPricesChangeDto {
52
52
  * @memberof DomainPricesChangeDto
53
53
  */
54
54
  updatedAt: Date;
55
+ /**
56
+ * Whether the domain is available for purchase
57
+ * @type {boolean}
58
+ * @memberof DomainPricesChangeDto
59
+ */
60
+ available: boolean;
55
61
  }
56
62
  /**
57
63
  * Check if a given object implements the DomainPricesChangeDto interface.
@@ -35,6 +35,8 @@ function instanceOfDomainPricesChangeDto(value) {
35
35
  return false;
36
36
  if (!('updatedAt' in value) || value['updatedAt'] === undefined)
37
37
  return false;
38
+ if (!('available' in value) || value['available'] === undefined)
39
+ return false;
38
40
  return true;
39
41
  }
40
42
  function DomainPricesChangeDtoFromJSON(json) {
@@ -51,6 +53,7 @@ function DomainPricesChangeDtoFromJSONTyped(json, ignoreDiscriminator) {
51
53
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
52
54
  'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
53
55
  'updatedAt': (new Date(json['updatedAt'])),
56
+ 'available': json['available'],
54
57
  };
55
58
  }
56
59
  function DomainPricesChangeDtoToJSON(json) {
@@ -68,5 +71,6 @@ function DomainPricesChangeDtoToJSONTyped(value, ignoreDiscriminator) {
68
71
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
69
72
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
70
73
  'updatedAt': ((value['updatedAt']).toISOString()),
74
+ 'available': value['available'],
71
75
  };
72
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.324",
3
+ "version": "0.0.325",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -63,6 +63,12 @@ export interface DomainPricesChangeDto {
63
63
  * @memberof DomainPricesChangeDto
64
64
  */
65
65
  updatedAt: Date;
66
+ /**
67
+ * Whether the domain is available for purchase
68
+ * @type {boolean}
69
+ * @memberof DomainPricesChangeDto
70
+ */
71
+ available: boolean;
66
72
  }
67
73
 
68
74
  /**
@@ -75,6 +81,7 @@ export function instanceOfDomainPricesChangeDto(value: object): value is DomainP
75
81
  if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
76
82
  if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
77
83
  if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
84
+ if (!('available' in value) || value['available'] === undefined) return false;
78
85
  return true;
79
86
  }
80
87
 
@@ -94,6 +101,7 @@ export function DomainPricesChangeDtoFromJSONTyped(json: any, ignoreDiscriminato
94
101
  'buyNow': MoneyDtoFromJSON(json['buyNow']),
95
102
  'minOffer': MoneyDtoFromJSON(json['minOffer']),
96
103
  'updatedAt': (new Date(json['updatedAt'])),
104
+ 'available': json['available'],
97
105
  };
98
106
  }
99
107
 
@@ -114,6 +122,7 @@ export function DomainPricesChangeDtoToJSONTyped(value?: DomainPricesChangeDto |
114
122
  'buyNow': MoneyDtoToJSON(value['buyNow']),
115
123
  'minOffer': MoneyDtoToJSON(value['minOffer']),
116
124
  'updatedAt': ((value['updatedAt']).toISOString()),
125
+ 'available': value['available'],
117
126
  };
118
127
  }
119
128