@digital8/lighting-illusions-ts-sdk 0.0.467 → 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.467
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.467`
329
+ - Package version: `0.0.468`
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;
66
+ requestPayload?: string | null;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,8 +37,6 @@ 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;
42
40
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
43
41
  return false;
44
42
  if (!('site' in value) || value['site'] === undefined)
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
60
58
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
61
59
  'endpoint': json['endpoint'],
62
60
  'responseCode': json['responseCode'],
63
- 'requestPayload': json['requestPayload'],
61
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
64
62
  'responsePayload': json['responsePayload'],
65
63
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
66
64
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -39,24 +39,6 @@ export interface SiteListResource {
39
39
  * @memberof SiteListResource
40
40
  */
41
41
  domain: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof SiteListResource
46
- */
47
- startDate?: string | null;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof SiteListResource
52
- */
53
- endDate?: string | null;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof SiteListResource
58
- */
59
- text?: string | null;
60
42
  }
61
43
  /**
62
44
  * Check if a given object implements the SiteListResource interface.
@@ -44,9 +44,6 @@ function SiteListResourceFromJSONTyped(json, ignoreDiscriminator) {
44
44
  'name': json['name'],
45
45
  'abbreviation': json['abbreviation'],
46
46
  'domain': json['domain'],
47
- 'startDate': json['startDate'] == null ? undefined : json['startDate'],
48
- 'endDate': json['endDate'] == null ? undefined : json['endDate'],
49
- 'text': json['text'] == null ? undefined : json['text'],
50
47
  };
51
48
  }
52
49
  function SiteListResourceToJSON(json) {
@@ -62,8 +59,5 @@ function SiteListResourceToJSONTyped(value, ignoreDiscriminator) {
62
59
  'name': value['name'],
63
60
  'abbreviation': value['abbreviation'],
64
61
  'domain': value['domain'],
65
- 'startDate': value['startDate'],
66
- 'endDate': value['endDate'],
67
- 'text': value['text'],
68
62
  };
69
63
  }
@@ -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,9 +10,6 @@ Name | Type
10
10
  `name` | string
11
11
  `abbreviation` | string
12
12
  `domain` | string
13
- `startDate` | string
14
- `endDate` | string
15
- `text` | string
16
13
 
17
14
  ## Example
18
15
 
@@ -25,9 +22,6 @@ const example = {
25
22
  "name": null,
26
23
  "abbreviation": null,
27
24
  "domain": null,
28
- "startDate": null,
29
- "endDate": null,
30
- "text": null,
31
25
  } satisfies SiteListResource
32
26
 
33
27
  console.log(example)
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.467",
3
+ "version": "0.0.468",
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;
77
+ requestPayload?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,7 +106,6 @@ 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;
110
109
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
111
110
  if (!('site' in value) || value['site'] === undefined) return false;
112
111
  return true;
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
129
128
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
130
129
  'endpoint': json['endpoint'],
131
130
  'responseCode': json['responseCode'],
132
- 'requestPayload': json['requestPayload'],
131
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
133
132
  'responsePayload': json['responsePayload'],
134
133
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
135
134
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -43,24 +43,6 @@ export interface SiteListResource {
43
43
  * @memberof SiteListResource
44
44
  */
45
45
  domain: string;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof SiteListResource
50
- */
51
- startDate?: string | null;
52
- /**
53
- *
54
- * @type {string}
55
- * @memberof SiteListResource
56
- */
57
- endDate?: string | null;
58
- /**
59
- *
60
- * @type {string}
61
- * @memberof SiteListResource
62
- */
63
- text?: string | null;
64
46
  }
65
47
 
66
48
  /**
@@ -88,9 +70,6 @@ export function SiteListResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
88
70
  'name': json['name'],
89
71
  'abbreviation': json['abbreviation'],
90
72
  'domain': json['domain'],
91
- 'startDate': json['startDate'] == null ? undefined : json['startDate'],
92
- 'endDate': json['endDate'] == null ? undefined : json['endDate'],
93
- 'text': json['text'] == null ? undefined : json['text'],
94
73
  };
95
74
  }
96
75
 
@@ -109,9 +88,6 @@ export function SiteListResourceToJSONTyped(value?: SiteListResource | null, ign
109
88
  'name': value['name'],
110
89
  'abbreviation': value['abbreviation'],
111
90
  'domain': value['domain'],
112
- 'startDate': value['startDate'],
113
- 'endDate': value['endDate'],
114
- 'text': value['text'],
115
91
  };
116
92
  }
117
93
 
@@ -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
  }