@digital8/lighting-illusions-ts-sdk 0.0.555 → 0.0.557
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 +2 -2
- package/dist/models/ProductRating.d.ts +1 -0
- package/dist/models/ProductRating.js +2 -1
- package/dist/models/ProductSearchResultResource.d.ts +6 -0
- package/dist/models/ProductSearchResultResource.js +4 -0
- package/docs/ProductSearchResultResource.md +2 -0
- package/package.json +1 -1
- package/src/models/ProductRating.ts +2 -1
- package/src/models/ProductSearchResultResource.ts +9 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.557
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -410,7 +410,7 @@ and is automatically generated by the
|
|
|
410
410
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
411
411
|
|
|
412
412
|
- API version: `1.0.0`
|
|
413
|
-
- Package version: `0.0.
|
|
413
|
+
- Package version: `0.0.557`
|
|
414
414
|
- Generator version: `7.18.0`
|
|
415
415
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
416
416
|
|
|
@@ -17,6 +17,7 @@ export declare const ProductRating: {
|
|
|
17
17
|
readonly _5: "5";
|
|
18
18
|
readonly _4: "4";
|
|
19
19
|
readonly _3: "3";
|
|
20
|
+
readonly _2: "2";
|
|
20
21
|
};
|
|
21
22
|
export type ProductRating = typeof ProductRating[keyof typeof ProductRating];
|
|
22
23
|
export declare function instanceOfProductRating(value: any): boolean;
|
|
@@ -87,6 +87,12 @@ export interface ProductSearchResultResource {
|
|
|
87
87
|
* @memberof ProductSearchResultResource
|
|
88
88
|
*/
|
|
89
89
|
supplierName: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ProductSearchResultResource
|
|
94
|
+
*/
|
|
95
|
+
supplierLogo: string;
|
|
90
96
|
/**
|
|
91
97
|
*
|
|
92
98
|
* @type {number}
|
|
@@ -44,6 +44,8 @@ function instanceOfProductSearchResultResource(value) {
|
|
|
44
44
|
return false;
|
|
45
45
|
if (!('supplierName' in value) || value['supplierName'] === undefined)
|
|
46
46
|
return false;
|
|
47
|
+
if (!('supplierLogo' in value) || value['supplierLogo'] === undefined)
|
|
48
|
+
return false;
|
|
47
49
|
if (!('supplierId' in value) || value['supplierId'] === undefined)
|
|
48
50
|
return false;
|
|
49
51
|
if (!('availability' in value) || value['availability'] === undefined)
|
|
@@ -72,6 +74,7 @@ function ProductSearchResultResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
74
|
'labelDetails': json['labelDetails'],
|
|
73
75
|
'categories': json['categories'],
|
|
74
76
|
'supplierName': json['supplierName'],
|
|
77
|
+
'supplierLogo': json['supplierLogo'],
|
|
75
78
|
'supplierId': json['supplierId'],
|
|
76
79
|
'availability': json['availability'],
|
|
77
80
|
'wishlisted': json['wishlisted'],
|
|
@@ -98,6 +101,7 @@ function ProductSearchResultResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
98
101
|
'labelDetails': value['labelDetails'],
|
|
99
102
|
'categories': value['categories'],
|
|
100
103
|
'supplierName': value['supplierName'],
|
|
104
|
+
'supplierLogo': value['supplierLogo'],
|
|
101
105
|
'supplierId': value['supplierId'],
|
|
102
106
|
'availability': value['availability'],
|
|
103
107
|
'wishlisted': value['wishlisted'],
|
|
@@ -18,6 +18,7 @@ Name | Type
|
|
|
18
18
|
`labelDetails` | Array<number>
|
|
19
19
|
`categories` | Array<object>
|
|
20
20
|
`supplierName` | string
|
|
21
|
+
`supplierLogo` | string
|
|
21
22
|
`supplierId` | number
|
|
22
23
|
`availability` | string
|
|
23
24
|
`wishlisted` | boolean
|
|
@@ -41,6 +42,7 @@ const example = {
|
|
|
41
42
|
"labelDetails": null,
|
|
42
43
|
"categories": null,
|
|
43
44
|
"supplierName": null,
|
|
45
|
+
"supplierLogo": null,
|
|
44
46
|
"supplierId": null,
|
|
45
47
|
"availability": null,
|
|
46
48
|
"wishlisted": null,
|
package/package.json
CHANGED
|
@@ -91,6 +91,12 @@ export interface ProductSearchResultResource {
|
|
|
91
91
|
* @memberof ProductSearchResultResource
|
|
92
92
|
*/
|
|
93
93
|
supplierName: string;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof ProductSearchResultResource
|
|
98
|
+
*/
|
|
99
|
+
supplierLogo: string;
|
|
94
100
|
/**
|
|
95
101
|
*
|
|
96
102
|
* @type {number}
|
|
@@ -126,6 +132,7 @@ export function instanceOfProductSearchResultResource(value: object): value is P
|
|
|
126
132
|
if (!('labelDetails' in value) || value['labelDetails'] === undefined) return false;
|
|
127
133
|
if (!('categories' in value) || value['categories'] === undefined) return false;
|
|
128
134
|
if (!('supplierName' in value) || value['supplierName'] === undefined) return false;
|
|
135
|
+
if (!('supplierLogo' in value) || value['supplierLogo'] === undefined) return false;
|
|
129
136
|
if (!('supplierId' in value) || value['supplierId'] === undefined) return false;
|
|
130
137
|
if (!('availability' in value) || value['availability'] === undefined) return false;
|
|
131
138
|
if (!('wishlisted' in value) || value['wishlisted'] === undefined) return false;
|
|
@@ -154,6 +161,7 @@ export function ProductSearchResultResourceFromJSONTyped(json: any, ignoreDiscri
|
|
|
154
161
|
'labelDetails': json['labelDetails'],
|
|
155
162
|
'categories': json['categories'],
|
|
156
163
|
'supplierName': json['supplierName'],
|
|
164
|
+
'supplierLogo': json['supplierLogo'],
|
|
157
165
|
'supplierId': json['supplierId'],
|
|
158
166
|
'availability': json['availability'],
|
|
159
167
|
'wishlisted': json['wishlisted'],
|
|
@@ -183,6 +191,7 @@ export function ProductSearchResultResourceToJSONTyped(value?: ProductSearchResu
|
|
|
183
191
|
'labelDetails': value['labelDetails'],
|
|
184
192
|
'categories': value['categories'],
|
|
185
193
|
'supplierName': value['supplierName'],
|
|
194
|
+
'supplierLogo': value['supplierLogo'],
|
|
186
195
|
'supplierId': value['supplierId'],
|
|
187
196
|
'availability': value['availability'],
|
|
188
197
|
'wishlisted': value['wishlisted'],
|