@digital8/lighting-illusions-ts-sdk 0.0.466 → 0.0.467

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.466
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.467
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.466`
329
+ - Package version: `0.0.467`
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']),
@@ -39,6 +39,24 @@ 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;
42
60
  }
43
61
  /**
44
62
  * Check if a given object implements the SiteListResource interface.
@@ -44,6 +44,9 @@ 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'],
47
50
  };
48
51
  }
49
52
  function SiteListResourceToJSON(json) {
@@ -59,5 +62,8 @@ function SiteListResourceToJSONTyped(value, ignoreDiscriminator) {
59
62
  'name': value['name'],
60
63
  'abbreviation': value['abbreviation'],
61
64
  'domain': value['domain'],
65
+ 'startDate': value['startDate'],
66
+ 'endDate': value['endDate'],
67
+ 'text': value['text'],
62
68
  };
63
69
  }
@@ -10,6 +10,9 @@ Name | Type
10
10
  `name` | string
11
11
  `abbreviation` | string
12
12
  `domain` | string
13
+ `startDate` | string
14
+ `endDate` | string
15
+ `text` | string
13
16
 
14
17
  ## Example
15
18
 
@@ -22,6 +25,9 @@ const example = {
22
25
  "name": null,
23
26
  "abbreviation": null,
24
27
  "domain": null,
28
+ "startDate": null,
29
+ "endDate": null,
30
+ "text": null,
25
31
  } satisfies SiteListResource
26
32
 
27
33
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.466",
3
+ "version": "0.0.467",
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']),
@@ -43,6 +43,24 @@ 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;
46
64
  }
47
65
 
48
66
  /**
@@ -70,6 +88,9 @@ export function SiteListResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
70
88
  'name': json['name'],
71
89
  'abbreviation': json['abbreviation'],
72
90
  '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'],
73
94
  };
74
95
  }
75
96
 
@@ -88,6 +109,9 @@ export function SiteListResourceToJSONTyped(value?: SiteListResource | null, ign
88
109
  'name': value['name'],
89
110
  'abbreviation': value['abbreviation'],
90
111
  'domain': value['domain'],
112
+ 'startDate': value['startDate'],
113
+ 'endDate': value['endDate'],
114
+ 'text': value['text'],
91
115
  };
92
116
  }
93
117