@digital8/lighting-illusions-ts-sdk 0.0.1418 → 0.0.1420
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/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/ProductSearchResultResource.d.ts +1 -1
- package/dist/models/ProductSearchResultResource.js +3 -3
- package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -1
- package/dist/models/StoreAssetForAssetableRequest.js +1 -2
- package/docs/ProductSearchResultResource.md +2 -2
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/ProductSearchResultResource.ts +4 -4
- package/src/models/StoreAssetForAssetableRequest.ts +1 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.1420
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -503,7 +503,7 @@ and is automatically generated by the
|
|
|
503
503
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
504
504
|
|
|
505
505
|
- API version: `1.0.0`
|
|
506
|
-
- Package version: `0.0.
|
|
506
|
+
- Package version: `0.0.1420`
|
|
507
507
|
- Generator version: `7.20.0`
|
|
508
508
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
509
509
|
|
|
@@ -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']
|
|
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']),
|
|
@@ -177,7 +177,6 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
|
177
177
|
readonly ProductType: "productType";
|
|
178
178
|
readonly Supplier: "supplier";
|
|
179
179
|
readonly Tag: "tag";
|
|
180
|
-
readonly Label: "label";
|
|
181
180
|
readonly Site: "site";
|
|
182
181
|
};
|
|
183
182
|
export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
|
|
@@ -38,7 +38,7 @@ function instanceOfProductSearchResultResource(value) {
|
|
|
38
38
|
return false;
|
|
39
39
|
if (!('thumbnail' in value) || value['thumbnail'] === undefined)
|
|
40
40
|
return false;
|
|
41
|
-
if (!('
|
|
41
|
+
if (!('labelDetails' in value) || value['labelDetails'] === undefined)
|
|
42
42
|
return false;
|
|
43
43
|
if (!('supplierName' in value) || value['supplierName'] === undefined)
|
|
44
44
|
return false;
|
|
@@ -73,7 +73,7 @@ function ProductSearchResultResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
73
73
|
'salePrice': json['salePrice'],
|
|
74
74
|
'thumbnail': json['thumbnail'],
|
|
75
75
|
'averageRating': json['averageRating'] == null ? undefined : json['averageRating'],
|
|
76
|
-
'
|
|
76
|
+
'labelDetails': json['labelDetails'],
|
|
77
77
|
'supplierName': json['supplierName'],
|
|
78
78
|
'supplierLogo': json['supplierLogo'],
|
|
79
79
|
'supplierId': json['supplierId'],
|
|
@@ -101,7 +101,7 @@ function ProductSearchResultResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
101
101
|
'salePrice': value['salePrice'],
|
|
102
102
|
'thumbnail': value['thumbnail'],
|
|
103
103
|
'averageRating': value['averageRating'],
|
|
104
|
-
'
|
|
104
|
+
'labelDetails': value['labelDetails'],
|
|
105
105
|
'supplierName': value['supplierName'],
|
|
106
106
|
'supplierLogo': value['supplierLogo'],
|
|
107
107
|
'supplierId': value['supplierId'],
|
|
@@ -69,7 +69,6 @@ export interface StoreAssetForAssetableRequest {
|
|
|
69
69
|
*/
|
|
70
70
|
export declare const StoreAssetForAssetableRequestAssetableTypeEnum: {
|
|
71
71
|
readonly AppModelsProductsProductChild: "App\\Models\\Products\\ProductChild";
|
|
72
|
-
readonly ProductChild: "productChild";
|
|
73
72
|
};
|
|
74
73
|
export type StoreAssetForAssetableRequestAssetableTypeEnum = typeof StoreAssetForAssetableRequestAssetableTypeEnum[keyof typeof StoreAssetForAssetableRequestAssetableTypeEnum];
|
|
75
74
|
/**
|
|
@@ -23,8 +23,7 @@ exports.StoreAssetForAssetableRequestToJSONTyped = StoreAssetForAssetableRequest
|
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
25
|
exports.StoreAssetForAssetableRequestAssetableTypeEnum = {
|
|
26
|
-
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild'
|
|
27
|
-
ProductChild: 'productChild'
|
|
26
|
+
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild'
|
|
28
27
|
};
|
|
29
28
|
/**
|
|
30
29
|
* Check if a given object implements the StoreAssetForAssetableRequest interface.
|
|
@@ -15,7 +15,7 @@ Name | Type
|
|
|
15
15
|
`salePrice` | number
|
|
16
16
|
`thumbnail` | string
|
|
17
17
|
`averageRating` | string
|
|
18
|
-
`
|
|
18
|
+
`labelDetails` | Array<number>
|
|
19
19
|
`supplierName` | string
|
|
20
20
|
`supplierLogo` | string
|
|
21
21
|
`supplierId` | number
|
|
@@ -40,7 +40,7 @@ const example = {
|
|
|
40
40
|
"salePrice": null,
|
|
41
41
|
"thumbnail": null,
|
|
42
42
|
"averageRating": null,
|
|
43
|
-
"
|
|
43
|
+
"labelDetails": null,
|
|
44
44
|
"supplierName": null,
|
|
45
45
|
"supplierLogo": null,
|
|
46
46
|
"supplierId": null,
|
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
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']
|
|
132
|
+
'requestPayload': json['requestPayload'],
|
|
132
133
|
'responsePayload': json['responsePayload'],
|
|
133
134
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
134
135
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
@@ -185,7 +185,6 @@ export const IndexProductChildRequestRelatedTypeEnum = {
|
|
|
185
185
|
ProductType: 'productType',
|
|
186
186
|
Supplier: 'supplier',
|
|
187
187
|
Tag: 'tag',
|
|
188
|
-
Label: 'label',
|
|
189
188
|
Site: 'site'
|
|
190
189
|
} as const;
|
|
191
190
|
export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
|
|
@@ -78,7 +78,7 @@ export interface ProductSearchResultResource {
|
|
|
78
78
|
* @type {Array<number>}
|
|
79
79
|
* @memberof ProductSearchResultResource
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
labelDetails: Array<number>;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @type {string}
|
|
@@ -135,7 +135,7 @@ export function instanceOfProductSearchResultResource(value: object): value is P
|
|
|
135
135
|
if (!('price' in value) || value['price'] === undefined) return false;
|
|
136
136
|
if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
|
|
137
137
|
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
138
|
-
if (!('
|
|
138
|
+
if (!('labelDetails' in value) || value['labelDetails'] === undefined) return false;
|
|
139
139
|
if (!('supplierName' in value) || value['supplierName'] === undefined) return false;
|
|
140
140
|
if (!('supplierLogo' in value) || value['supplierLogo'] === undefined) return false;
|
|
141
141
|
if (!('supplierId' in value) || value['supplierId'] === undefined) return false;
|
|
@@ -165,7 +165,7 @@ export function ProductSearchResultResourceFromJSONTyped(json: any, ignoreDiscri
|
|
|
165
165
|
'salePrice': json['salePrice'],
|
|
166
166
|
'thumbnail': json['thumbnail'],
|
|
167
167
|
'averageRating': json['averageRating'] == null ? undefined : json['averageRating'],
|
|
168
|
-
'
|
|
168
|
+
'labelDetails': json['labelDetails'],
|
|
169
169
|
'supplierName': json['supplierName'],
|
|
170
170
|
'supplierLogo': json['supplierLogo'],
|
|
171
171
|
'supplierId': json['supplierId'],
|
|
@@ -196,7 +196,7 @@ export function ProductSearchResultResourceToJSONTyped(value?: ProductSearchResu
|
|
|
196
196
|
'salePrice': value['salePrice'],
|
|
197
197
|
'thumbnail': value['thumbnail'],
|
|
198
198
|
'averageRating': value['averageRating'],
|
|
199
|
-
'
|
|
199
|
+
'labelDetails': value['labelDetails'],
|
|
200
200
|
'supplierName': value['supplierName'],
|
|
201
201
|
'supplierLogo': value['supplierLogo'],
|
|
202
202
|
'supplierId': value['supplierId'],
|
|
@@ -74,8 +74,7 @@ export interface StoreAssetForAssetableRequest {
|
|
|
74
74
|
* @export
|
|
75
75
|
*/
|
|
76
76
|
export const StoreAssetForAssetableRequestAssetableTypeEnum = {
|
|
77
|
-
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild'
|
|
78
|
-
ProductChild: 'productChild'
|
|
77
|
+
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild'
|
|
79
78
|
} as const;
|
|
80
79
|
export type StoreAssetForAssetableRequestAssetableTypeEnum = typeof StoreAssetForAssetableRequestAssetableTypeEnum[keyof typeof StoreAssetForAssetableRequestAssetableTypeEnum];
|
|
81
80
|
|