@digital8/lighting-illusions-ts-sdk 0.0.468 → 0.0.469

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.468
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.469
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.468`
329
+ - Package version: `0.0.469`
330
330
  - Generator version: `7.17.0`
331
331
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
332
332
 
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload?: string | null;
66
+ requestPayload: string;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,6 +37,8 @@ function instanceOfExternalApiLogResource(value) {
37
37
  return false;
38
38
  if (!('responseCode' in value) || value['responseCode'] === undefined)
39
39
  return false;
40
+ if (!('requestPayload' in value) || value['requestPayload'] === undefined)
41
+ return false;
40
42
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
41
43
  return false;
42
44
  if (!('site' in value) || value['site'] === undefined)
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
59
61
  'endpoint': json['endpoint'],
60
62
  'responseCode': json['responseCode'],
61
- 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
63
+ 'requestPayload': json['requestPayload'],
62
64
  'responsePayload': json['responsePayload'],
63
65
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
64
66
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -58,6 +58,18 @@ export interface SiteNotificationListResource {
58
58
  * @memberof SiteNotificationListResource
59
59
  */
60
60
  text: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof SiteNotificationListResource
65
+ */
66
+ textColour: string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof SiteNotificationListResource
71
+ */
72
+ backgroundColour: string;
61
73
  /**
62
74
  *
63
75
  * @type {SiteLiteResource}
@@ -33,6 +33,10 @@ function instanceOfSiteNotificationListResource(value) {
33
33
  return false;
34
34
  if (!('text' in value) || value['text'] === undefined)
35
35
  return false;
36
+ if (!('textColour' in value) || value['textColour'] === undefined)
37
+ return false;
38
+ if (!('backgroundColour' in value) || value['backgroundColour'] === undefined)
39
+ return false;
36
40
  if (!('sites' in value) || value['sites'] === undefined)
37
41
  return false;
38
42
  return true;
@@ -52,6 +56,8 @@ function SiteNotificationListResourceFromJSONTyped(json, ignoreDiscriminator) {
52
56
  'startDate': json['startDate'],
53
57
  'endDate': json['endDate'],
54
58
  'text': json['text'],
59
+ 'textColour': json['textColour'],
60
+ 'backgroundColour': json['backgroundColour'],
55
61
  'sites': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['sites']),
56
62
  };
57
63
  }
@@ -71,6 +77,8 @@ function SiteNotificationListResourceToJSONTyped(value, ignoreDiscriminator) {
71
77
  'startDate': value['startDate'],
72
78
  'endDate': value['endDate'],
73
79
  'text': value['text'],
80
+ 'textColour': value['textColour'],
81
+ 'backgroundColour': value['backgroundColour'],
74
82
  'sites': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['sites']),
75
83
  };
76
84
  }
@@ -13,6 +13,8 @@ Name | Type
13
13
  `startDate` | string
14
14
  `endDate` | string
15
15
  `text` | string
16
+ `textColour` | string
17
+ `backgroundColour` | string
16
18
  `sites` | [SiteLiteResource](SiteLiteResource.md)
17
19
 
18
20
  ## Example
@@ -29,6 +31,8 @@ const example = {
29
31
  "startDate": null,
30
32
  "endDate": null,
31
33
  "text": null,
34
+ "textColour": null,
35
+ "backgroundColour": null,
32
36
  "sites": null,
33
37
  } satisfies SiteNotificationListResource
34
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.468",
3
+ "version": "0.0.469",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload?: string | null;
77
+ requestPayload: string;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,6 +106,7 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
106
106
  if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
107
107
  if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
108
108
  if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
109
+ if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
109
110
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
110
111
  if (!('site' in value) || value['site'] === undefined) return false;
111
112
  return true;
@@ -128,7 +129,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
128
129
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
129
130
  'endpoint': json['endpoint'],
130
131
  'responseCode': json['responseCode'],
131
- 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
132
+ 'requestPayload': json['requestPayload'],
132
133
  'responsePayload': json['responsePayload'],
133
134
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
134
135
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -69,6 +69,18 @@ export interface SiteNotificationListResource {
69
69
  * @memberof SiteNotificationListResource
70
70
  */
71
71
  text: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof SiteNotificationListResource
76
+ */
77
+ textColour: string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof SiteNotificationListResource
82
+ */
83
+ backgroundColour: string;
72
84
  /**
73
85
  *
74
86
  * @type {SiteLiteResource}
@@ -86,6 +98,8 @@ export function instanceOfSiteNotificationListResource(value: object): value is
86
98
  if (!('startDate' in value) || value['startDate'] === undefined) return false;
87
99
  if (!('endDate' in value) || value['endDate'] === undefined) return false;
88
100
  if (!('text' in value) || value['text'] === undefined) return false;
101
+ if (!('textColour' in value) || value['textColour'] === undefined) return false;
102
+ if (!('backgroundColour' in value) || value['backgroundColour'] === undefined) return false;
89
103
  if (!('sites' in value) || value['sites'] === undefined) return false;
90
104
  return true;
91
105
  }
@@ -107,6 +121,8 @@ export function SiteNotificationListResourceFromJSONTyped(json: any, ignoreDiscr
107
121
  'startDate': json['startDate'],
108
122
  'endDate': json['endDate'],
109
123
  'text': json['text'],
124
+ 'textColour': json['textColour'],
125
+ 'backgroundColour': json['backgroundColour'],
110
126
  'sites': SiteLiteResourceFromJSON(json['sites']),
111
127
  };
112
128
  }
@@ -129,6 +145,8 @@ export function SiteNotificationListResourceToJSONTyped(value?: SiteNotification
129
145
  'startDate': value['startDate'],
130
146
  'endDate': value['endDate'],
131
147
  'text': value['text'],
148
+ 'textColour': value['textColour'],
149
+ 'backgroundColour': value['backgroundColour'],
132
150
  'sites': SiteLiteResourceToJSON(value['sites']),
133
151
  };
134
152
  }