@digital8/lighting-illusions-ts-sdk 0.0.1399 → 0.0.1401

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.1399
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1401
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -118,7 +118,7 @@ All URIs are relative to *http://localhost/api*
118
118
  *ProductApi* | [**getCompatibleProductsProductChild**](docs/ProductApi.md#getcompatibleproductsproductchild) | **POST** /admin-api/product/children/{productChild}/compatible-product/list | Auto-generated: getCompatibleProductsProductChild
119
119
  *ProductApi* | [**indexProduct**](docs/ProductApi.md#indexproductoperation) | **POST** /admin-api/product/parent/list | Auto-generated: indexProduct
120
120
  *ProductApi* | [**indexProductChild**](docs/ProductApi.md#indexproductchildoperation) | **POST** /admin-api/product/children/list | Auto-generated: indexProductChild
121
- *ProductApi* | [**showAssetsProductChild**](docs/ProductApi.md#showassetsproductchildoperation) | **GET** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild
121
+ *ProductApi* | [**showAssetsProductChild**](docs/ProductApi.md#showassetsproductchildoperation) | **POST** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild
122
122
  *ProductApi* | [**showAttributesProductChild**](docs/ProductApi.md#showattributesproductchildoperation) | **POST** /admin-api/product/children/{productChild}/attributes | Auto-generated: showAttributesProductChild
123
123
  *ProductApi* | [**showProduct**](docs/ProductApi.md#showproduct) | **GET** /admin-api/product/parent/{product} | Auto-generated: showProduct
124
124
  *ProductApi* | [**showProductChild**](docs/ProductApi.md#showproductchild) | **GET** /admin-api/product/children/{productChild} | Auto-generated: showProductChild
@@ -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.1399`
492
+ - Package version: `0.0.1401`
493
493
  - Generator version: `7.20.0`
494
494
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
495
495
 
@@ -934,7 +934,7 @@ var ProductApi = /** @class */ (function (_super) {
934
934
  urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
935
935
  return [2 /*return*/, {
936
936
  path: urlPath,
937
- method: 'GET',
937
+ method: 'POST',
938
938
  headers: headerParameters,
939
939
  query: queryParameters,
940
940
  body: (0, index_1.ShowAssetsProductChildRequestToJSON)(requestParameters['showAssetsProductChildRequest']),
@@ -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
  }
@@ -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
 
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost/api*
18
18
  | [**getCompatibleProductsProductChild**](ProductApi.md#getcompatibleproductsproductchild) | **POST** /admin-api/product/children/{productChild}/compatible-product/list | Auto-generated: getCompatibleProductsProductChild |
19
19
  | [**indexProduct**](ProductApi.md#indexproductoperation) | **POST** /admin-api/product/parent/list | Auto-generated: indexProduct |
20
20
  | [**indexProductChild**](ProductApi.md#indexproductchildoperation) | **POST** /admin-api/product/children/list | Auto-generated: indexProductChild |
21
- | [**showAssetsProductChild**](ProductApi.md#showassetsproductchildoperation) | **GET** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild |
21
+ | [**showAssetsProductChild**](ProductApi.md#showassetsproductchildoperation) | **POST** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild |
22
22
  | [**showAttributesProductChild**](ProductApi.md#showattributesproductchildoperation) | **POST** /admin-api/product/children/{productChild}/attributes | Auto-generated: showAttributesProductChild |
23
23
  | [**showProduct**](ProductApi.md#showproduct) | **GET** /admin-api/product/parent/{product} | Auto-generated: showProduct |
24
24
  | [**showProductChild**](ProductApi.md#showproductchild) | **GET** /admin-api/product/children/{productChild} | Auto-generated: showProductChild |
@@ -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.1399",
3
+ "version": "0.0.1401",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -860,7 +860,7 @@ export class ProductApi extends runtime.BaseAPI {
860
860
 
861
861
  return {
862
862
  path: urlPath,
863
- method: 'GET',
863
+ method: 'POST',
864
864
  headers: headerParameters,
865
865
  query: queryParameters,
866
866
  body: ShowAssetsProductChildRequestToJSON(requestParameters['showAssetsProductChildRequest']),
@@ -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
  }
@@ -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'],