@digital8/lighting-illusions-ts-sdk 0.0.466 → 0.0.468
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
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.468
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -326,7 +326,7 @@ and is automatically generated by the
|
|
|
326
326
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
327
327
|
|
|
328
328
|
- API version: `1.0.0`
|
|
329
|
-
- Package version: `0.0.
|
|
329
|
+
- Package version: `0.0.468`
|
|
330
330
|
- Generator version: `7.17.0`
|
|
331
331
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
332
332
|
|
|
@@ -40,6 +40,24 @@ export interface SiteNotificationListResource {
|
|
|
40
40
|
* @memberof SiteNotificationListResource
|
|
41
41
|
*/
|
|
42
42
|
isActive: boolean;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SiteNotificationListResource
|
|
47
|
+
*/
|
|
48
|
+
startDate: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SiteNotificationListResource
|
|
53
|
+
*/
|
|
54
|
+
endDate: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SiteNotificationListResource
|
|
59
|
+
*/
|
|
60
|
+
text: string;
|
|
43
61
|
/**
|
|
44
62
|
*
|
|
45
63
|
* @type {SiteLiteResource}
|
|
@@ -27,6 +27,12 @@ function instanceOfSiteNotificationListResource(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('isActive' in value) || value['isActive'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('startDate' in value) || value['startDate'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('endDate' in value) || value['endDate'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('text' in value) || value['text'] === undefined)
|
|
35
|
+
return false;
|
|
30
36
|
if (!('sites' in value) || value['sites'] === undefined)
|
|
31
37
|
return false;
|
|
32
38
|
return true;
|
|
@@ -43,6 +49,9 @@ function SiteNotificationListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
49
|
'heading': json['heading'] == null ? undefined : json['heading'],
|
|
44
50
|
'type': json['type'] == null ? undefined : json['type'],
|
|
45
51
|
'isActive': json['isActive'],
|
|
52
|
+
'startDate': json['startDate'],
|
|
53
|
+
'endDate': json['endDate'],
|
|
54
|
+
'text': json['text'],
|
|
46
55
|
'sites': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['sites']),
|
|
47
56
|
};
|
|
48
57
|
}
|
|
@@ -59,6 +68,9 @@ function SiteNotificationListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
59
68
|
'heading': value['heading'],
|
|
60
69
|
'type': value['type'],
|
|
61
70
|
'isActive': value['isActive'],
|
|
71
|
+
'startDate': value['startDate'],
|
|
72
|
+
'endDate': value['endDate'],
|
|
73
|
+
'text': value['text'],
|
|
62
74
|
'sites': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['sites']),
|
|
63
75
|
};
|
|
64
76
|
}
|
|
@@ -10,6 +10,9 @@ Name | Type
|
|
|
10
10
|
`heading` | string
|
|
11
11
|
`type` | string
|
|
12
12
|
`isActive` | boolean
|
|
13
|
+
`startDate` | string
|
|
14
|
+
`endDate` | string
|
|
15
|
+
`text` | string
|
|
13
16
|
`sites` | [SiteLiteResource](SiteLiteResource.md)
|
|
14
17
|
|
|
15
18
|
## Example
|
|
@@ -23,6 +26,9 @@ const example = {
|
|
|
23
26
|
"heading": null,
|
|
24
27
|
"type": null,
|
|
25
28
|
"isActive": null,
|
|
29
|
+
"startDate": null,
|
|
30
|
+
"endDate": null,
|
|
31
|
+
"text": null,
|
|
26
32
|
"sites": null,
|
|
27
33
|
} satisfies SiteNotificationListResource
|
|
28
34
|
|
package/package.json
CHANGED
|
@@ -51,6 +51,24 @@ export interface SiteNotificationListResource {
|
|
|
51
51
|
* @memberof SiteNotificationListResource
|
|
52
52
|
*/
|
|
53
53
|
isActive: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SiteNotificationListResource
|
|
58
|
+
*/
|
|
59
|
+
startDate: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SiteNotificationListResource
|
|
64
|
+
*/
|
|
65
|
+
endDate: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SiteNotificationListResource
|
|
70
|
+
*/
|
|
71
|
+
text: string;
|
|
54
72
|
/**
|
|
55
73
|
*
|
|
56
74
|
* @type {SiteLiteResource}
|
|
@@ -65,6 +83,9 @@ export interface SiteNotificationListResource {
|
|
|
65
83
|
export function instanceOfSiteNotificationListResource(value: object): value is SiteNotificationListResource {
|
|
66
84
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
67
85
|
if (!('isActive' in value) || value['isActive'] === undefined) return false;
|
|
86
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
87
|
+
if (!('endDate' in value) || value['endDate'] === undefined) return false;
|
|
88
|
+
if (!('text' in value) || value['text'] === undefined) return false;
|
|
68
89
|
if (!('sites' in value) || value['sites'] === undefined) return false;
|
|
69
90
|
return true;
|
|
70
91
|
}
|
|
@@ -83,6 +104,9 @@ export function SiteNotificationListResourceFromJSONTyped(json: any, ignoreDiscr
|
|
|
83
104
|
'heading': json['heading'] == null ? undefined : json['heading'],
|
|
84
105
|
'type': json['type'] == null ? undefined : json['type'],
|
|
85
106
|
'isActive': json['isActive'],
|
|
107
|
+
'startDate': json['startDate'],
|
|
108
|
+
'endDate': json['endDate'],
|
|
109
|
+
'text': json['text'],
|
|
86
110
|
'sites': SiteLiteResourceFromJSON(json['sites']),
|
|
87
111
|
};
|
|
88
112
|
}
|
|
@@ -102,6 +126,9 @@ export function SiteNotificationListResourceToJSONTyped(value?: SiteNotification
|
|
|
102
126
|
'heading': value['heading'],
|
|
103
127
|
'type': value['type'],
|
|
104
128
|
'isActive': value['isActive'],
|
|
129
|
+
'startDate': value['startDate'],
|
|
130
|
+
'endDate': value['endDate'],
|
|
131
|
+
'text': value['text'],
|
|
105
132
|
'sites': SiteLiteResourceToJSON(value['sites']),
|
|
106
133
|
};
|
|
107
134
|
}
|