@randock/nameshift-api-client 0.0.434 → 0.0.435

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.434
1
+ ## @randock/nameshift-api-client@0.0.435
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.434 --save
39
+ npm install @randock/nameshift-api-client@0.0.435 --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
- 1f237760ed50f8bd92cc06ebdb34fc43eb6652cbd31e341203da9b624203782682bdd4de3bf0dedcbb33818c68a85e5f
47
+ 38d693e2ff6b7065de3b09576fa53bf0425ae920e314432f8e8ce3cbdad3353cdca6d69ea1accde55c870cc43d16534b
@@ -52,6 +52,12 @@ export interface RentIndexationDto {
52
52
  * @memberof RentIndexationDto
53
53
  */
54
54
  oldRecurringPrice: MoneyDto | null;
55
+ /**
56
+ *
57
+ * @type {MoneyDto}
58
+ * @memberof RentIndexationDto
59
+ */
60
+ indexedRentBasePrice: MoneyDto | null;
55
61
  }
56
62
  /**
57
63
  * Check if a given object implements the RentIndexationDto interface.
@@ -35,6 +35,8 @@ function instanceOfRentIndexationDto(value) {
35
35
  return false;
36
36
  if (!('oldRecurringPrice' in value) || value['oldRecurringPrice'] === undefined)
37
37
  return false;
38
+ if (!('indexedRentBasePrice' in value) || value['indexedRentBasePrice'] === undefined)
39
+ return false;
38
40
  return true;
39
41
  }
40
42
  function RentIndexationDtoFromJSON(json) {
@@ -51,6 +53,7 @@ function RentIndexationDtoFromJSONTyped(json, ignoreDiscriminator) {
51
53
  'advanceNotifiedAt': (json['advanceNotifiedAt'] == null ? null : new Date(json['advanceNotifiedAt'])),
52
54
  'advanceNotifiedForYear': json['advanceNotifiedForYear'],
53
55
  'oldRecurringPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['oldRecurringPrice']),
56
+ 'indexedRentBasePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['indexedRentBasePrice']),
54
57
  };
55
58
  }
56
59
  function RentIndexationDtoToJSON(json) {
@@ -68,5 +71,6 @@ function RentIndexationDtoToJSONTyped(value, ignoreDiscriminator) {
68
71
  'advanceNotifiedAt': (value['advanceNotifiedAt'] == null ? null : value['advanceNotifiedAt'].toISOString()),
69
72
  'advanceNotifiedForYear': value['advanceNotifiedForYear'],
70
73
  'oldRecurringPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['oldRecurringPrice']),
74
+ 'indexedRentBasePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['indexedRentBasePrice']),
71
75
  };
72
76
  }
@@ -240,6 +240,18 @@ export interface SubscriptionDetailsDto {
240
240
  * @memberof SubscriptionDetailsDto
241
241
  */
242
242
  rentIndexationSkipReason: SubscriptionDetailsDtoRentIndexationSkipReasonEnum;
243
+ /**
244
+ *
245
+ * @type {Date}
246
+ * @memberof SubscriptionDetailsDto
247
+ */
248
+ rentIndexationAdvanceNotifiedAt: Date;
249
+ /**
250
+ *
251
+ * @type {number}
252
+ * @memberof SubscriptionDetailsDto
253
+ */
254
+ rentIndexationAdvanceNotifiedForYear: number;
243
255
  }
244
256
  /**
245
257
  * @export
@@ -285,6 +297,7 @@ export declare const SubscriptionDetailsDtoRentIndexationStatusEnum: {
285
297
  readonly NOT_ELIGIBLE: "not_eligible";
286
298
  readonly INDEXED: "indexed";
287
299
  readonly FAILED: "failed";
300
+ readonly PENDING: "pending";
288
301
  readonly PENDING_DATA: "pending_data";
289
302
  };
290
303
  export type SubscriptionDetailsDtoRentIndexationStatusEnum = typeof SubscriptionDetailsDtoRentIndexationStatusEnum[keyof typeof SubscriptionDetailsDtoRentIndexationStatusEnum];
@@ -68,6 +68,7 @@ exports.SubscriptionDetailsDtoRentIndexationStatusEnum = {
68
68
  NOT_ELIGIBLE: 'not_eligible',
69
69
  INDEXED: 'indexed',
70
70
  FAILED: 'failed',
71
+ PENDING: 'pending',
71
72
  PENDING_DATA: 'pending_data'
72
73
  };
73
74
  /**
@@ -162,6 +163,10 @@ function instanceOfSubscriptionDetailsDto(value) {
162
163
  return false;
163
164
  if (!('rentIndexationSkipReason' in value) || value['rentIndexationSkipReason'] === undefined)
164
165
  return false;
166
+ if (!('rentIndexationAdvanceNotifiedAt' in value) || value['rentIndexationAdvanceNotifiedAt'] === undefined)
167
+ return false;
168
+ if (!('rentIndexationAdvanceNotifiedForYear' in value) || value['rentIndexationAdvanceNotifiedForYear'] === undefined)
169
+ return false;
165
170
  return true;
166
171
  }
167
172
  function SubscriptionDetailsDtoFromJSON(json) {
@@ -208,6 +213,8 @@ function SubscriptionDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
208
213
  'nextEligibleRentIndexationDate': (json['nextEligibleRentIndexationDate'] == null ? null : new Date(json['nextEligibleRentIndexationDate'])),
209
214
  'rentIndexationStatus': json['rentIndexationStatus'],
210
215
  'rentIndexationSkipReason': json['rentIndexationSkipReason'],
216
+ 'rentIndexationAdvanceNotifiedAt': (new Date(json['rentIndexationAdvanceNotifiedAt'])),
217
+ 'rentIndexationAdvanceNotifiedForYear': json['rentIndexationAdvanceNotifiedForYear'],
211
218
  };
212
219
  }
213
220
  function SubscriptionDetailsDtoToJSON(json) {
@@ -255,5 +262,7 @@ function SubscriptionDetailsDtoToJSONTyped(value, ignoreDiscriminator) {
255
262
  'nextEligibleRentIndexationDate': (value['nextEligibleRentIndexationDate'] == null ? null : value['nextEligibleRentIndexationDate'].toISOString()),
256
263
  'rentIndexationStatus': value['rentIndexationStatus'],
257
264
  'rentIndexationSkipReason': value['rentIndexationSkipReason'],
265
+ 'rentIndexationAdvanceNotifiedAt': ((value['rentIndexationAdvanceNotifiedAt']).toISOString()),
266
+ 'rentIndexationAdvanceNotifiedForYear': value['rentIndexationAdvanceNotifiedForYear'],
258
267
  };
259
268
  }
@@ -214,6 +214,18 @@ export interface SubscriptionListItemDto {
214
214
  * @memberof SubscriptionListItemDto
215
215
  */
216
216
  rentIndexationSkipReason: SubscriptionListItemDtoRentIndexationSkipReasonEnum;
217
+ /**
218
+ *
219
+ * @type {Date}
220
+ * @memberof SubscriptionListItemDto
221
+ */
222
+ rentIndexationAdvanceNotifiedAt: Date;
223
+ /**
224
+ *
225
+ * @type {number}
226
+ * @memberof SubscriptionListItemDto
227
+ */
228
+ rentIndexationAdvanceNotifiedForYear: number;
217
229
  }
218
230
  /**
219
231
  * @export
@@ -267,6 +279,7 @@ export declare const SubscriptionListItemDtoRentIndexationStatusEnum: {
267
279
  readonly NOT_ELIGIBLE: "not_eligible";
268
280
  readonly INDEXED: "indexed";
269
281
  readonly FAILED: "failed";
282
+ readonly PENDING: "pending";
270
283
  readonly PENDING_DATA: "pending_data";
271
284
  };
272
285
  export type SubscriptionListItemDtoRentIndexationStatusEnum = typeof SubscriptionListItemDtoRentIndexationStatusEnum[keyof typeof SubscriptionListItemDtoRentIndexationStatusEnum];
@@ -73,6 +73,7 @@ exports.SubscriptionListItemDtoRentIndexationStatusEnum = {
73
73
  NOT_ELIGIBLE: 'not_eligible',
74
74
  INDEXED: 'indexed',
75
75
  FAILED: 'failed',
76
+ PENDING: 'pending',
76
77
  PENDING_DATA: 'pending_data'
77
78
  };
78
79
  /**
@@ -159,6 +160,10 @@ function instanceOfSubscriptionListItemDto(value) {
159
160
  return false;
160
161
  if (!('rentIndexationSkipReason' in value) || value['rentIndexationSkipReason'] === undefined)
161
162
  return false;
163
+ if (!('rentIndexationAdvanceNotifiedAt' in value) || value['rentIndexationAdvanceNotifiedAt'] === undefined)
164
+ return false;
165
+ if (!('rentIndexationAdvanceNotifiedForYear' in value) || value['rentIndexationAdvanceNotifiedForYear'] === undefined)
166
+ return false;
162
167
  return true;
163
168
  }
164
169
  function SubscriptionListItemDtoFromJSON(json) {
@@ -201,6 +206,8 @@ function SubscriptionListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
201
206
  'nextEligibleRentIndexationDate': (json['nextEligibleRentIndexationDate'] == null ? null : new Date(json['nextEligibleRentIndexationDate'])),
202
207
  'rentIndexationStatus': json['rentIndexationStatus'],
203
208
  'rentIndexationSkipReason': json['rentIndexationSkipReason'],
209
+ 'rentIndexationAdvanceNotifiedAt': (new Date(json['rentIndexationAdvanceNotifiedAt'])),
210
+ 'rentIndexationAdvanceNotifiedForYear': json['rentIndexationAdvanceNotifiedForYear'],
204
211
  };
205
212
  }
206
213
  function SubscriptionListItemDtoToJSON(json) {
@@ -244,5 +251,7 @@ function SubscriptionListItemDtoToJSONTyped(value, ignoreDiscriminator) {
244
251
  'nextEligibleRentIndexationDate': (value['nextEligibleRentIndexationDate'] == null ? null : value['nextEligibleRentIndexationDate'].toISOString()),
245
252
  'rentIndexationStatus': value['rentIndexationStatus'],
246
253
  'rentIndexationSkipReason': value['rentIndexationSkipReason'],
254
+ 'rentIndexationAdvanceNotifiedAt': ((value['rentIndexationAdvanceNotifiedAt']).toISOString()),
255
+ 'rentIndexationAdvanceNotifiedForYear': value['rentIndexationAdvanceNotifiedForYear'],
247
256
  };
248
257
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.434",
3
+ "version": "0.0.435",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -63,6 +63,12 @@ export interface RentIndexationDto {
63
63
  * @memberof RentIndexationDto
64
64
  */
65
65
  oldRecurringPrice: MoneyDto | null;
66
+ /**
67
+ *
68
+ * @type {MoneyDto}
69
+ * @memberof RentIndexationDto
70
+ */
71
+ indexedRentBasePrice: MoneyDto | null;
66
72
  }
67
73
 
68
74
  /**
@@ -75,6 +81,7 @@ export function instanceOfRentIndexationDto(value: object): value is RentIndexat
75
81
  if (!('advanceNotifiedAt' in value) || value['advanceNotifiedAt'] === undefined) return false;
76
82
  if (!('advanceNotifiedForYear' in value) || value['advanceNotifiedForYear'] === undefined) return false;
77
83
  if (!('oldRecurringPrice' in value) || value['oldRecurringPrice'] === undefined) return false;
84
+ if (!('indexedRentBasePrice' in value) || value['indexedRentBasePrice'] === undefined) return false;
78
85
  return true;
79
86
  }
80
87
 
@@ -94,6 +101,7 @@ export function RentIndexationDtoFromJSONTyped(json: any, ignoreDiscriminator: b
94
101
  'advanceNotifiedAt': (json['advanceNotifiedAt'] == null ? null : new Date(json['advanceNotifiedAt'])),
95
102
  'advanceNotifiedForYear': json['advanceNotifiedForYear'],
96
103
  'oldRecurringPrice': MoneyDtoFromJSON(json['oldRecurringPrice']),
104
+ 'indexedRentBasePrice': MoneyDtoFromJSON(json['indexedRentBasePrice']),
97
105
  };
98
106
  }
99
107
 
@@ -114,6 +122,7 @@ export function RentIndexationDtoToJSONTyped(value?: RentIndexationDto | null, i
114
122
  'advanceNotifiedAt': (value['advanceNotifiedAt'] == null ? null : (value['advanceNotifiedAt'] as any).toISOString()),
115
123
  'advanceNotifiedForYear': value['advanceNotifiedForYear'],
116
124
  'oldRecurringPrice': MoneyDtoToJSON(value['oldRecurringPrice']),
125
+ 'indexedRentBasePrice': MoneyDtoToJSON(value['indexedRentBasePrice']),
117
126
  };
118
127
  }
119
128
 
@@ -299,6 +299,18 @@ export interface SubscriptionDetailsDto {
299
299
  * @memberof SubscriptionDetailsDto
300
300
  */
301
301
  rentIndexationSkipReason: SubscriptionDetailsDtoRentIndexationSkipReasonEnum;
302
+ /**
303
+ *
304
+ * @type {Date}
305
+ * @memberof SubscriptionDetailsDto
306
+ */
307
+ rentIndexationAdvanceNotifiedAt: Date;
308
+ /**
309
+ *
310
+ * @type {number}
311
+ * @memberof SubscriptionDetailsDto
312
+ */
313
+ rentIndexationAdvanceNotifiedForYear: number;
302
314
  }
303
315
 
304
316
 
@@ -350,6 +362,7 @@ export const SubscriptionDetailsDtoRentIndexationStatusEnum = {
350
362
  NOT_ELIGIBLE: 'not_eligible',
351
363
  INDEXED: 'indexed',
352
364
  FAILED: 'failed',
365
+ PENDING: 'pending',
353
366
  PENDING_DATA: 'pending_data'
354
367
  } as const;
355
368
  export type SubscriptionDetailsDtoRentIndexationStatusEnum = typeof SubscriptionDetailsDtoRentIndexationStatusEnum[keyof typeof SubscriptionDetailsDtoRentIndexationStatusEnum];
@@ -413,6 +426,8 @@ export function instanceOfSubscriptionDetailsDto(value: object): value is Subscr
413
426
  if (!('nextEligibleRentIndexationDate' in value) || value['nextEligibleRentIndexationDate'] === undefined) return false;
414
427
  if (!('rentIndexationStatus' in value) || value['rentIndexationStatus'] === undefined) return false;
415
428
  if (!('rentIndexationSkipReason' in value) || value['rentIndexationSkipReason'] === undefined) return false;
429
+ if (!('rentIndexationAdvanceNotifiedAt' in value) || value['rentIndexationAdvanceNotifiedAt'] === undefined) return false;
430
+ if (!('rentIndexationAdvanceNotifiedForYear' in value) || value['rentIndexationAdvanceNotifiedForYear'] === undefined) return false;
416
431
  return true;
417
432
  }
418
433
 
@@ -462,6 +477,8 @@ export function SubscriptionDetailsDtoFromJSONTyped(json: any, ignoreDiscriminat
462
477
  'nextEligibleRentIndexationDate': (json['nextEligibleRentIndexationDate'] == null ? null : new Date(json['nextEligibleRentIndexationDate'])),
463
478
  'rentIndexationStatus': json['rentIndexationStatus'],
464
479
  'rentIndexationSkipReason': json['rentIndexationSkipReason'],
480
+ 'rentIndexationAdvanceNotifiedAt': (new Date(json['rentIndexationAdvanceNotifiedAt'])),
481
+ 'rentIndexationAdvanceNotifiedForYear': json['rentIndexationAdvanceNotifiedForYear'],
465
482
  };
466
483
  }
467
484
 
@@ -512,6 +529,8 @@ export function SubscriptionDetailsDtoToJSONTyped(value?: SubscriptionDetailsDto
512
529
  'nextEligibleRentIndexationDate': (value['nextEligibleRentIndexationDate'] == null ? null : (value['nextEligibleRentIndexationDate'] as any).toISOString()),
513
530
  'rentIndexationStatus': value['rentIndexationStatus'],
514
531
  'rentIndexationSkipReason': value['rentIndexationSkipReason'],
532
+ 'rentIndexationAdvanceNotifiedAt': ((value['rentIndexationAdvanceNotifiedAt']).toISOString()),
533
+ 'rentIndexationAdvanceNotifiedForYear': value['rentIndexationAdvanceNotifiedForYear'],
515
534
  };
516
535
  }
517
536
 
@@ -261,6 +261,18 @@ export interface SubscriptionListItemDto {
261
261
  * @memberof SubscriptionListItemDto
262
262
  */
263
263
  rentIndexationSkipReason: SubscriptionListItemDtoRentIndexationSkipReasonEnum;
264
+ /**
265
+ *
266
+ * @type {Date}
267
+ * @memberof SubscriptionListItemDto
268
+ */
269
+ rentIndexationAdvanceNotifiedAt: Date;
270
+ /**
271
+ *
272
+ * @type {number}
273
+ * @memberof SubscriptionListItemDto
274
+ */
275
+ rentIndexationAdvanceNotifiedForYear: number;
264
276
  }
265
277
 
266
278
 
@@ -321,6 +333,7 @@ export const SubscriptionListItemDtoRentIndexationStatusEnum = {
321
333
  NOT_ELIGIBLE: 'not_eligible',
322
334
  INDEXED: 'indexed',
323
335
  FAILED: 'failed',
336
+ PENDING: 'pending',
324
337
  PENDING_DATA: 'pending_data'
325
338
  } as const;
326
339
  export type SubscriptionListItemDtoRentIndexationStatusEnum = typeof SubscriptionListItemDtoRentIndexationStatusEnum[keyof typeof SubscriptionListItemDtoRentIndexationStatusEnum];
@@ -380,6 +393,8 @@ export function instanceOfSubscriptionListItemDto(value: object): value is Subsc
380
393
  if (!('nextEligibleRentIndexationDate' in value) || value['nextEligibleRentIndexationDate'] === undefined) return false;
381
394
  if (!('rentIndexationStatus' in value) || value['rentIndexationStatus'] === undefined) return false;
382
395
  if (!('rentIndexationSkipReason' in value) || value['rentIndexationSkipReason'] === undefined) return false;
396
+ if (!('rentIndexationAdvanceNotifiedAt' in value) || value['rentIndexationAdvanceNotifiedAt'] === undefined) return false;
397
+ if (!('rentIndexationAdvanceNotifiedForYear' in value) || value['rentIndexationAdvanceNotifiedForYear'] === undefined) return false;
383
398
  return true;
384
399
  }
385
400
 
@@ -425,6 +440,8 @@ export function SubscriptionListItemDtoFromJSONTyped(json: any, ignoreDiscrimina
425
440
  'nextEligibleRentIndexationDate': (json['nextEligibleRentIndexationDate'] == null ? null : new Date(json['nextEligibleRentIndexationDate'])),
426
441
  'rentIndexationStatus': json['rentIndexationStatus'],
427
442
  'rentIndexationSkipReason': json['rentIndexationSkipReason'],
443
+ 'rentIndexationAdvanceNotifiedAt': (new Date(json['rentIndexationAdvanceNotifiedAt'])),
444
+ 'rentIndexationAdvanceNotifiedForYear': json['rentIndexationAdvanceNotifiedForYear'],
428
445
  };
429
446
  }
430
447
 
@@ -471,6 +488,8 @@ export function SubscriptionListItemDtoToJSONTyped(value?: SubscriptionListItemD
471
488
  'nextEligibleRentIndexationDate': (value['nextEligibleRentIndexationDate'] == null ? null : (value['nextEligibleRentIndexationDate'] as any).toISOString()),
472
489
  'rentIndexationStatus': value['rentIndexationStatus'],
473
490
  'rentIndexationSkipReason': value['rentIndexationSkipReason'],
491
+ 'rentIndexationAdvanceNotifiedAt': ((value['rentIndexationAdvanceNotifiedAt']).toISOString()),
492
+ 'rentIndexationAdvanceNotifiedForYear': value['rentIndexationAdvanceNotifiedForYear'],
474
493
  };
475
494
  }
476
495