@randock/nameshift-api-client 0.0.279 → 0.0.280

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.279
1
+ ## @randock/nameshift-api-client@0.0.280
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.279 --save
39
+ npm install @randock/nameshift-api-client@0.0.280 --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
- 1c224dbb8a4c47c0ef62976234c7cbe3e025656fb57a2623dd51b313708677447630424a481ebfe0a797a92661296dd6
47
+ 916364c60c2f041b1fe10cda996946d0d4e8ab793c23104407dc258b0913aba7fc5c3894acf0631c0368aaa391ac15f9
@@ -203,6 +203,18 @@ export interface SubscriptionDetailsDto {
203
203
  * @memberof SubscriptionDetailsDto
204
204
  */
205
205
  renewStatusReason: SubscriptionDetailsDtoRenewStatusReasonEnum | null;
206
+ /**
207
+ *
208
+ * @type {Date}
209
+ * @memberof SubscriptionDetailsDto
210
+ */
211
+ scheduledCancellationAt: Date | null;
212
+ /**
213
+ *
214
+ * @type {string}
215
+ * @memberof SubscriptionDetailsDto
216
+ */
217
+ scheduledCancellationReason: string | null;
206
218
  }
207
219
  /**
208
220
  * @export
@@ -123,6 +123,10 @@ function instanceOfSubscriptionDetailsDto(value) {
123
123
  return false;
124
124
  if (!('renewStatusReason' in value) || value['renewStatusReason'] === undefined)
125
125
  return false;
126
+ if (!('scheduledCancellationAt' in value) || value['scheduledCancellationAt'] === undefined)
127
+ return false;
128
+ if (!('scheduledCancellationReason' in value) || value['scheduledCancellationReason'] === undefined)
129
+ return false;
126
130
  return true;
127
131
  }
128
132
  function SubscriptionDetailsDtoFromJSON(json) {
@@ -163,6 +167,8 @@ function SubscriptionDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
163
167
  'renewRetryAt': (json['renewRetryAt'] == null ? null : new Date(json['renewRetryAt'])),
164
168
  'renewStatus': json['renewStatus'],
165
169
  'renewStatusReason': json['renewStatusReason'],
170
+ 'scheduledCancellationAt': (json['scheduledCancellationAt'] == null ? null : new Date(json['scheduledCancellationAt'])),
171
+ 'scheduledCancellationReason': json['scheduledCancellationReason'],
166
172
  };
167
173
  }
168
174
  function SubscriptionDetailsDtoToJSON(json) {
@@ -204,5 +210,7 @@ function SubscriptionDetailsDtoToJSONTyped(value, ignoreDiscriminator) {
204
210
  'renewRetryAt': (value['renewRetryAt'] == null ? null : value['renewRetryAt'].toISOString()),
205
211
  'renewStatus': value['renewStatus'],
206
212
  'renewStatusReason': value['renewStatusReason'],
213
+ 'scheduledCancellationAt': (value['scheduledCancellationAt'] == null ? null : value['scheduledCancellationAt'].toISOString()),
214
+ 'scheduledCancellationReason': value['scheduledCancellationReason'],
207
215
  };
208
216
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.279",
3
+ "version": "0.0.280",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -256,6 +256,18 @@ export interface SubscriptionDetailsDto {
256
256
  * @memberof SubscriptionDetailsDto
257
257
  */
258
258
  renewStatusReason: SubscriptionDetailsDtoRenewStatusReasonEnum | null;
259
+ /**
260
+ *
261
+ * @type {Date}
262
+ * @memberof SubscriptionDetailsDto
263
+ */
264
+ scheduledCancellationAt: Date | null;
265
+ /**
266
+ *
267
+ * @type {string}
268
+ * @memberof SubscriptionDetailsDto
269
+ */
270
+ scheduledCancellationReason: string | null;
259
271
  }
260
272
 
261
273
 
@@ -334,6 +346,8 @@ export function instanceOfSubscriptionDetailsDto(value: object): value is Subscr
334
346
  if (!('renewRetryAt' in value) || value['renewRetryAt'] === undefined) return false;
335
347
  if (!('renewStatus' in value) || value['renewStatus'] === undefined) return false;
336
348
  if (!('renewStatusReason' in value) || value['renewStatusReason'] === undefined) return false;
349
+ if (!('scheduledCancellationAt' in value) || value['scheduledCancellationAt'] === undefined) return false;
350
+ if (!('scheduledCancellationReason' in value) || value['scheduledCancellationReason'] === undefined) return false;
337
351
  return true;
338
352
  }
339
353
 
@@ -377,6 +391,8 @@ export function SubscriptionDetailsDtoFromJSONTyped(json: any, ignoreDiscriminat
377
391
  'renewRetryAt': (json['renewRetryAt'] == null ? null : new Date(json['renewRetryAt'])),
378
392
  'renewStatus': json['renewStatus'],
379
393
  'renewStatusReason': json['renewStatusReason'],
394
+ 'scheduledCancellationAt': (json['scheduledCancellationAt'] == null ? null : new Date(json['scheduledCancellationAt'])),
395
+ 'scheduledCancellationReason': json['scheduledCancellationReason'],
380
396
  };
381
397
  }
382
398
 
@@ -421,6 +437,8 @@ export function SubscriptionDetailsDtoToJSONTyped(value?: SubscriptionDetailsDto
421
437
  'renewRetryAt': (value['renewRetryAt'] == null ? null : (value['renewRetryAt'] as any).toISOString()),
422
438
  'renewStatus': value['renewStatus'],
423
439
  'renewStatusReason': value['renewStatusReason'],
440
+ 'scheduledCancellationAt': (value['scheduledCancellationAt'] == null ? null : (value['scheduledCancellationAt'] as any).toISOString()),
441
+ 'scheduledCancellationReason': value['scheduledCancellationReason'],
424
442
  };
425
443
  }
426
444