@digital8/lighting-illusions-ts-sdk 0.0.1385 → 0.0.1386

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.1385
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1386
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -489,7 +489,7 @@ and is automatically generated by the
489
489
  [OpenAPI Generator](https://openapi-generator.tech) project:
490
490
 
491
491
  - API version: `1.0.0`
492
- - Package version: `0.0.1385`
492
+ - Package version: `0.0.1386`
493
493
  - Generator version: `7.20.0`
494
494
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
495
495
 
@@ -21,6 +21,12 @@ export interface AssetLiteResource {
21
21
  * @memberof AssetLiteResource
22
22
  */
23
23
  id: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AssetLiteResource
28
+ */
29
+ fileId?: string | null;
24
30
  /**
25
31
  *
26
32
  * @type {string}
@@ -33,6 +39,12 @@ export interface AssetLiteResource {
33
39
  * @memberof AssetLiteResource
34
40
  */
35
41
  fileName: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof AssetLiteResource
46
+ */
47
+ mimeType: string;
36
48
  /**
37
49
  *
38
50
  * @type {string}
@@ -28,6 +28,8 @@ function instanceOfAssetLiteResource(value) {
28
28
  return false;
29
29
  if (!('fileName' in value) || value['fileName'] === undefined)
30
30
  return false;
31
+ if (!('mimeType' in value) || value['mimeType'] === undefined)
32
+ return false;
31
33
  if (!('altText' in value) || value['altText'] === undefined)
32
34
  return false;
33
35
  return true;
@@ -41,8 +43,10 @@ function AssetLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
41
43
  }
42
44
  return {
43
45
  'id': json['id'],
46
+ 'fileId': json['fileId'] == null ? undefined : json['fileId'],
44
47
  'filePath': json['filePath'],
45
48
  'fileName': json['fileName'],
49
+ 'mimeType': json['mimeType'],
46
50
  'altText': json['altText'],
47
51
  };
48
52
  }
@@ -56,8 +60,10 @@ function AssetLiteResourceToJSONTyped(value, ignoreDiscriminator) {
56
60
  }
57
61
  return {
58
62
  'id': value['id'],
63
+ 'fileId': value['fileId'],
59
64
  'filePath': value['filePath'],
60
65
  'fileName': value['fileName'],
66
+ 'mimeType': value['mimeType'],
61
67
  'altText': value['altText'],
62
68
  };
63
69
  }
@@ -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']),
@@ -33,6 +33,12 @@ export interface ProductSearchResultResource {
33
33
  * @memberof ProductSearchResultResource
34
34
  */
35
35
  model: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ProductSearchResultResource
40
+ */
41
+ barcode: string;
36
42
  /**
37
43
  *
38
44
  * @type {string}
@@ -28,6 +28,8 @@ function instanceOfProductSearchResultResource(value) {
28
28
  return false;
29
29
  if (!('model' in value) || value['model'] === undefined)
30
30
  return false;
31
+ if (!('barcode' in value) || value['barcode'] === undefined)
32
+ return false;
31
33
  if (!('name' in value) || value['name'] === undefined)
32
34
  return false;
33
35
  if (!('slug' in value) || value['slug'] === undefined)
@@ -67,6 +69,7 @@ function ProductSearchResultResourceFromJSONTyped(json, ignoreDiscriminator) {
67
69
  'id': json['id'],
68
70
  'sku': json['sku'],
69
71
  'model': json['model'],
72
+ 'barcode': json['barcode'],
70
73
  'name': json['name'],
71
74
  'slug': json['slug'],
72
75
  'price': json['price'],
@@ -95,6 +98,7 @@ function ProductSearchResultResourceToJSONTyped(value, ignoreDiscriminator) {
95
98
  'id': value['id'],
96
99
  'sku': value['sku'],
97
100
  'model': value['model'],
101
+ 'barcode': value['barcode'],
98
102
  'name': value['name'],
99
103
  'slug': value['slug'],
100
104
  'price': value['price'],
@@ -7,8 +7,10 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
+ `fileId` | string
10
11
  `filePath` | string
11
12
  `fileName` | string
13
+ `mimeType` | string
12
14
  `altText` | string
13
15
 
14
16
  ## Example
@@ -19,8 +21,10 @@ import type { AssetLiteResource } from '@digital8/lighting-illusions-ts-sdk'
19
21
  // TODO: Update the object below with actual values
20
22
  const example = {
21
23
  "id": null,
24
+ "fileId": null,
22
25
  "filePath": null,
23
26
  "fileName": null,
27
+ "mimeType": null,
24
28
  "altText": null,
25
29
  } satisfies AssetLiteResource
26
30
 
@@ -9,6 +9,7 @@ Name | Type
9
9
  `id` | number
10
10
  `sku` | string
11
11
  `model` | string
12
+ `barcode` | string
12
13
  `name` | string
13
14
  `slug` | string
14
15
  `price` | number
@@ -34,6 +35,7 @@ const example = {
34
35
  "id": null,
35
36
  "sku": null,
36
37
  "model": null,
38
+ "barcode": null,
37
39
  "name": null,
38
40
  "slug": null,
39
41
  "price": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1385",
3
+ "version": "0.0.1386",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -25,6 +25,12 @@ export interface AssetLiteResource {
25
25
  * @memberof AssetLiteResource
26
26
  */
27
27
  id: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof AssetLiteResource
32
+ */
33
+ fileId?: string | null;
28
34
  /**
29
35
  *
30
36
  * @type {string}
@@ -37,6 +43,12 @@ export interface AssetLiteResource {
37
43
  * @memberof AssetLiteResource
38
44
  */
39
45
  fileName: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof AssetLiteResource
50
+ */
51
+ mimeType: string;
40
52
  /**
41
53
  *
42
54
  * @type {string}
@@ -52,6 +64,7 @@ export function instanceOfAssetLiteResource(value: object): value is AssetLiteRe
52
64
  if (!('id' in value) || value['id'] === undefined) return false;
53
65
  if (!('filePath' in value) || value['filePath'] === undefined) return false;
54
66
  if (!('fileName' in value) || value['fileName'] === undefined) return false;
67
+ if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
55
68
  if (!('altText' in value) || value['altText'] === undefined) return false;
56
69
  return true;
57
70
  }
@@ -67,8 +80,10 @@ export function AssetLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: b
67
80
  return {
68
81
 
69
82
  'id': json['id'],
83
+ 'fileId': json['fileId'] == null ? undefined : json['fileId'],
70
84
  'filePath': json['filePath'],
71
85
  'fileName': json['fileName'],
86
+ 'mimeType': json['mimeType'],
72
87
  'altText': json['altText'],
73
88
  };
74
89
  }
@@ -85,8 +100,10 @@ export function AssetLiteResourceToJSONTyped(value?: AssetLiteResource | null, i
85
100
  return {
86
101
 
87
102
  'id': value['id'],
103
+ 'fileId': value['fileId'],
88
104
  'filePath': value['filePath'],
89
105
  'fileName': value['fileName'],
106
+ 'mimeType': value['mimeType'],
90
107
  'altText': value['altText'],
91
108
  };
92
109
  }
@@ -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']),
@@ -37,6 +37,12 @@ export interface ProductSearchResultResource {
37
37
  * @memberof ProductSearchResultResource
38
38
  */
39
39
  model: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ProductSearchResultResource
44
+ */
45
+ barcode: string;
40
46
  /**
41
47
  *
42
48
  * @type {string}
@@ -130,6 +136,7 @@ export function instanceOfProductSearchResultResource(value: object): value is P
130
136
  if (!('id' in value) || value['id'] === undefined) return false;
131
137
  if (!('sku' in value) || value['sku'] === undefined) return false;
132
138
  if (!('model' in value) || value['model'] === undefined) return false;
139
+ if (!('barcode' in value) || value['barcode'] === undefined) return false;
133
140
  if (!('name' in value) || value['name'] === undefined) return false;
134
141
  if (!('slug' in value) || value['slug'] === undefined) return false;
135
142
  if (!('price' in value) || value['price'] === undefined) return false;
@@ -159,6 +166,7 @@ export function ProductSearchResultResourceFromJSONTyped(json: any, ignoreDiscri
159
166
  'id': json['id'],
160
167
  'sku': json['sku'],
161
168
  'model': json['model'],
169
+ 'barcode': json['barcode'],
162
170
  'name': json['name'],
163
171
  'slug': json['slug'],
164
172
  'price': json['price'],
@@ -190,6 +198,7 @@ export function ProductSearchResultResourceToJSONTyped(value?: ProductSearchResu
190
198
  'id': value['id'],
191
199
  'sku': value['sku'],
192
200
  'model': value['model'],
201
+ 'barcode': value['barcode'],
193
202
  'name': value['name'],
194
203
  'slug': value['slug'],
195
204
  'price': value['price'],