@randock/nameshift-api-client 0.0.433 → 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 +3 -3
- package/dist/models/DomainStatsDto.d.ts +6 -0
- package/dist/models/DomainStatsDto.js +4 -0
- package/dist/models/RentIndexationDto.d.ts +6 -0
- package/dist/models/RentIndexationDto.js +4 -0
- package/dist/models/SubscriptionDetailsDto.d.ts +13 -0
- package/dist/models/SubscriptionDetailsDto.js +9 -0
- package/dist/models/SubscriptionListItemDto.d.ts +13 -0
- package/dist/models/SubscriptionListItemDto.js +9 -0
- package/package.json +1 -1
- package/src/models/DomainStatsDto.ts +9 -0
- package/src/models/RentIndexationDto.ts +9 -0
- package/src/models/SubscriptionDetailsDto.ts +19 -0
- package/src/models/SubscriptionListItemDto.ts +19 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
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.
|
|
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
|
-
|
|
47
|
+
38d693e2ff6b7065de3b09576fa53bf0425ae920e314432f8e8ce3cbdad3353cdca6d69ea1accde55c870cc43d16534b
|
|
@@ -28,6 +28,12 @@ export interface DomainStatsDto {
|
|
|
28
28
|
* @memberof DomainStatsDto
|
|
29
29
|
*/
|
|
30
30
|
scriptUrl: string;
|
|
31
|
+
/**
|
|
32
|
+
* The url for public stats for this website.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof DomainStatsDto
|
|
35
|
+
*/
|
|
36
|
+
hostUrl: string;
|
|
31
37
|
/**
|
|
32
38
|
* The url for public stats for this website.
|
|
33
39
|
* @type {string}
|
|
@@ -35,6 +35,8 @@ function instanceOfDomainStatsDto(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('scriptUrl' in value) || value['scriptUrl'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('hostUrl' in value) || value['hostUrl'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
if (!('shareUrl' in value) || value['shareUrl'] === undefined)
|
|
39
41
|
return false;
|
|
40
42
|
if (!('chartUnit' in value) || value['chartUnit'] === undefined)
|
|
@@ -53,6 +55,7 @@ function DomainStatsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
55
|
return {
|
|
54
56
|
'websiteId': json['websiteId'],
|
|
55
57
|
'scriptUrl': json['scriptUrl'],
|
|
58
|
+
'hostUrl': json['hostUrl'],
|
|
56
59
|
'shareUrl': json['shareUrl'],
|
|
57
60
|
'chartUnit': json['chartUnit'],
|
|
58
61
|
'chartData': (json['chartData'] == null ? null : json['chartData'].map(ChartDataPoint_1.ChartDataPointFromJSON)),
|
|
@@ -69,6 +72,7 @@ function DomainStatsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
69
72
|
return {
|
|
70
73
|
'websiteId': value['websiteId'],
|
|
71
74
|
'scriptUrl': value['scriptUrl'],
|
|
75
|
+
'hostUrl': value['hostUrl'],
|
|
72
76
|
'shareUrl': value['shareUrl'],
|
|
73
77
|
'chartUnit': value['chartUnit'],
|
|
74
78
|
'chartData': (value['chartData'] == null ? null : value['chartData'].map(ChartDataPoint_1.ChartDataPointToJSON)),
|
|
@@ -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
|
@@ -39,6 +39,12 @@ export interface DomainStatsDto {
|
|
|
39
39
|
* @memberof DomainStatsDto
|
|
40
40
|
*/
|
|
41
41
|
scriptUrl: string;
|
|
42
|
+
/**
|
|
43
|
+
* The url for public stats for this website.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DomainStatsDto
|
|
46
|
+
*/
|
|
47
|
+
hostUrl: string;
|
|
42
48
|
/**
|
|
43
49
|
* The url for public stats for this website.
|
|
44
50
|
* @type {string}
|
|
@@ -76,6 +82,7 @@ export type DomainStatsDtoChartUnitEnum = typeof DomainStatsDtoChartUnitEnum[key
|
|
|
76
82
|
export function instanceOfDomainStatsDto(value: object): value is DomainStatsDto {
|
|
77
83
|
if (!('websiteId' in value) || value['websiteId'] === undefined) return false;
|
|
78
84
|
if (!('scriptUrl' in value) || value['scriptUrl'] === undefined) return false;
|
|
85
|
+
if (!('hostUrl' in value) || value['hostUrl'] === undefined) return false;
|
|
79
86
|
if (!('shareUrl' in value) || value['shareUrl'] === undefined) return false;
|
|
80
87
|
if (!('chartUnit' in value) || value['chartUnit'] === undefined) return false;
|
|
81
88
|
if (!('chartData' in value) || value['chartData'] === undefined) return false;
|
|
@@ -94,6 +101,7 @@ export function DomainStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
94
101
|
|
|
95
102
|
'websiteId': json['websiteId'],
|
|
96
103
|
'scriptUrl': json['scriptUrl'],
|
|
104
|
+
'hostUrl': json['hostUrl'],
|
|
97
105
|
'shareUrl': json['shareUrl'],
|
|
98
106
|
'chartUnit': json['chartUnit'],
|
|
99
107
|
'chartData': (json['chartData'] == null ? null : (json['chartData'] as Array<any>).map(ChartDataPointFromJSON)),
|
|
@@ -113,6 +121,7 @@ export function DomainStatsDtoToJSONTyped(value?: DomainStatsDto | null, ignoreD
|
|
|
113
121
|
|
|
114
122
|
'websiteId': value['websiteId'],
|
|
115
123
|
'scriptUrl': value['scriptUrl'],
|
|
124
|
+
'hostUrl': value['hostUrl'],
|
|
116
125
|
'shareUrl': value['shareUrl'],
|
|
117
126
|
'chartUnit': value['chartUnit'],
|
|
118
127
|
'chartData': (value['chartData'] == null ? null : (value['chartData'] as Array<any>).map(ChartDataPointToJSON)),
|
|
@@ -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
|
|