@digital8/lighting-illusions-ts-sdk 0.0.1306 → 0.0.1308
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/CategoryAutomationFieldType.d.ts +0 -2
- package/dist/models/CategoryAutomationFieldType.js +1 -3
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllProductRequest.d.ts +0 -6
- package/dist/models/GetAllProductRequest.js +0 -2
- package/dist/models/IndexProductRequest.d.ts +0 -6
- package/dist/models/IndexProductRequest.js +0 -2
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +0 -2
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.js +1 -3
- package/docs/GetAllProductRequest.md +0 -2
- package/docs/IndexProductRequest.md +0 -2
- package/package.json +1 -1
- package/src/models/CategoryAutomationFieldType.ts +1 -3
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllProductRequest.ts +0 -8
- package/src/models/IndexProductRequest.ts +0 -8
- package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +1 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.1308
|
|
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.
|
|
492
|
+
- Package version: `0.0.1308`
|
|
493
493
|
- Generator version: `7.20.0`
|
|
494
494
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
495
495
|
|
|
@@ -21,8 +21,6 @@ export declare const CategoryAutomationFieldType: {
|
|
|
21
21
|
readonly Tag: "tag";
|
|
22
22
|
readonly Supplier: "supplier";
|
|
23
23
|
readonly Label: "label";
|
|
24
|
-
readonly ProductType: "product_type";
|
|
25
|
-
readonly ProductClass: "product_class";
|
|
26
24
|
};
|
|
27
25
|
export type CategoryAutomationFieldType = typeof CategoryAutomationFieldType[keyof typeof CategoryAutomationFieldType];
|
|
28
26
|
export declare function instanceOfCategoryAutomationFieldType(value: any): boolean;
|
|
@@ -30,9 +30,7 @@ exports.CategoryAutomationFieldType = {
|
|
|
30
30
|
Attribute: 'attribute',
|
|
31
31
|
Tag: 'tag',
|
|
32
32
|
Supplier: 'supplier',
|
|
33
|
-
Label: 'label'
|
|
34
|
-
ProductType: 'product_type',
|
|
35
|
-
ProductClass: 'product_class'
|
|
33
|
+
Label: 'label'
|
|
36
34
|
};
|
|
37
35
|
function instanceOfCategoryAutomationFieldType(value) {
|
|
38
36
|
for (var key in exports.CategoryAutomationFieldType) {
|
|
@@ -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']),
|
|
@@ -81,12 +81,6 @@ export interface GetAllProductRequest {
|
|
|
81
81
|
* @memberof GetAllProductRequest
|
|
82
82
|
*/
|
|
83
83
|
categoriesId?: Array<string>;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {Array<string>}
|
|
87
|
-
* @memberof GetAllProductRequest
|
|
88
|
-
*/
|
|
89
|
-
hasSyncedChildren?: Array<string>;
|
|
90
84
|
}
|
|
91
85
|
/**
|
|
92
86
|
* @export
|
|
@@ -68,7 +68,6 @@ function GetAllProductRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
68
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
69
69
|
'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
|
|
70
70
|
'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
|
|
71
|
-
'hasSyncedChildren': json['has_synced_children'] == null ? undefined : json['has_synced_children'],
|
|
72
71
|
};
|
|
73
72
|
}
|
|
74
73
|
function GetAllProductRequestToJSON(json) {
|
|
@@ -91,6 +90,5 @@ function GetAllProductRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
91
90
|
'is_disabled': value['isDisabled'],
|
|
92
91
|
'is_accessory': value['isAccessory'],
|
|
93
92
|
'categories-id': value['categoriesId'],
|
|
94
|
-
'has_synced_children': value['hasSyncedChildren'],
|
|
95
93
|
};
|
|
96
94
|
}
|
|
@@ -75,12 +75,6 @@ export interface IndexProductRequest {
|
|
|
75
75
|
* @memberof IndexProductRequest
|
|
76
76
|
*/
|
|
77
77
|
categoriesId?: Array<string>;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {Array<string>}
|
|
81
|
-
* @memberof IndexProductRequest
|
|
82
|
-
*/
|
|
83
|
-
hasSyncedChildren?: Array<string>;
|
|
84
78
|
/**
|
|
85
79
|
*
|
|
86
80
|
* @type {number}
|
|
@@ -66,7 +66,6 @@ function IndexProductRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
66
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
67
67
|
'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
|
|
68
68
|
'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
|
|
69
|
-
'hasSyncedChildren': json['has_synced_children'] == null ? undefined : json['has_synced_children'],
|
|
70
69
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
71
70
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
72
71
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -91,7 +90,6 @@ function IndexProductRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
91
90
|
'is_disabled': value['isDisabled'],
|
|
92
91
|
'is_accessory': value['isAccessory'],
|
|
93
92
|
'categories-id': value['categoriesId'],
|
|
94
|
-
'has_synced_children': value['hasSyncedChildren'],
|
|
95
93
|
'related_id': value['relatedId'],
|
|
96
94
|
'related_type': value['relatedType'],
|
|
97
95
|
'includes_relations': value['includesRelations'],
|
|
@@ -63,8 +63,6 @@ export declare const StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnu
|
|
|
63
63
|
readonly Tag: "tag";
|
|
64
64
|
readonly Supplier: "supplier";
|
|
65
65
|
readonly Label: "label";
|
|
66
|
-
readonly ProductType: "product_type";
|
|
67
|
-
readonly ProductClass: "product_class";
|
|
68
66
|
};
|
|
69
67
|
export type StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum];
|
|
70
68
|
/**
|
|
@@ -29,9 +29,7 @@ exports.StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = {
|
|
|
29
29
|
Attribute: 'attribute',
|
|
30
30
|
Tag: 'tag',
|
|
31
31
|
Supplier: 'supplier',
|
|
32
|
-
Label: 'label'
|
|
33
|
-
ProductType: 'product_type',
|
|
34
|
-
ProductClass: 'product_class'
|
|
32
|
+
Label: 'label'
|
|
35
33
|
};
|
|
36
34
|
/**
|
|
37
35
|
* @export
|
|
@@ -17,7 +17,6 @@ Name | Type
|
|
|
17
17
|
`isDisabled` | Array<string>
|
|
18
18
|
`isAccessory` | Array<string>
|
|
19
19
|
`categoriesId` | Array<string>
|
|
20
|
-
`hasSyncedChildren` | Array<string>
|
|
21
20
|
|
|
22
21
|
## Example
|
|
23
22
|
|
|
@@ -37,7 +36,6 @@ const example = {
|
|
|
37
36
|
"isDisabled": null,
|
|
38
37
|
"isAccessory": null,
|
|
39
38
|
"categoriesId": null,
|
|
40
|
-
"hasSyncedChildren": null,
|
|
41
39
|
} satisfies GetAllProductRequest
|
|
42
40
|
|
|
43
41
|
console.log(example)
|
|
@@ -16,7 +16,6 @@ Name | Type
|
|
|
16
16
|
`isDisabled` | Array<string>
|
|
17
17
|
`isAccessory` | Array<string>
|
|
18
18
|
`categoriesId` | Array<string>
|
|
19
|
-
`hasSyncedChildren` | Array<string>
|
|
20
19
|
`relatedId` | number
|
|
21
20
|
`relatedType` | string
|
|
22
21
|
`includesRelations` | boolean
|
|
@@ -38,7 +37,6 @@ const example = {
|
|
|
38
37
|
"isDisabled": null,
|
|
39
38
|
"isAccessory": null,
|
|
40
39
|
"categoriesId": null,
|
|
41
|
-
"hasSyncedChildren": null,
|
|
42
40
|
"relatedId": null,
|
|
43
41
|
"relatedType": null,
|
|
44
42
|
"includesRelations": null,
|
package/package.json
CHANGED
|
@@ -24,9 +24,7 @@ export const CategoryAutomationFieldType = {
|
|
|
24
24
|
Attribute: 'attribute',
|
|
25
25
|
Tag: 'tag',
|
|
26
26
|
Supplier: 'supplier',
|
|
27
|
-
Label: 'label'
|
|
28
|
-
ProductType: 'product_type',
|
|
29
|
-
ProductClass: 'product_class'
|
|
27
|
+
Label: 'label'
|
|
30
28
|
} as const;
|
|
31
29
|
export type CategoryAutomationFieldType = typeof CategoryAutomationFieldType[keyof typeof CategoryAutomationFieldType];
|
|
32
30
|
|
|
@@ -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']),
|
|
@@ -85,12 +85,6 @@ export interface GetAllProductRequest {
|
|
|
85
85
|
* @memberof GetAllProductRequest
|
|
86
86
|
*/
|
|
87
87
|
categoriesId?: Array<string>;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {Array<string>}
|
|
91
|
-
* @memberof GetAllProductRequest
|
|
92
|
-
*/
|
|
93
|
-
hasSyncedChildren?: Array<string>;
|
|
94
88
|
}
|
|
95
89
|
|
|
96
90
|
|
|
@@ -153,7 +147,6 @@ export function GetAllProductRequestFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
153
147
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
154
148
|
'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
|
|
155
149
|
'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
|
|
156
|
-
'hasSyncedChildren': json['has_synced_children'] == null ? undefined : json['has_synced_children'],
|
|
157
150
|
};
|
|
158
151
|
}
|
|
159
152
|
|
|
@@ -179,7 +172,6 @@ export function GetAllProductRequestToJSONTyped(value?: GetAllProductRequest | n
|
|
|
179
172
|
'is_disabled': value['isDisabled'],
|
|
180
173
|
'is_accessory': value['isAccessory'],
|
|
181
174
|
'categories-id': value['categoriesId'],
|
|
182
|
-
'has_synced_children': value['hasSyncedChildren'],
|
|
183
175
|
};
|
|
184
176
|
}
|
|
185
177
|
|
|
@@ -79,12 +79,6 @@ export interface IndexProductRequest {
|
|
|
79
79
|
* @memberof IndexProductRequest
|
|
80
80
|
*/
|
|
81
81
|
categoriesId?: Array<string>;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {Array<string>}
|
|
85
|
-
* @memberof IndexProductRequest
|
|
86
|
-
*/
|
|
87
|
-
hasSyncedChildren?: Array<string>;
|
|
88
82
|
/**
|
|
89
83
|
*
|
|
90
84
|
* @type {number}
|
|
@@ -163,7 +157,6 @@ export function IndexProductRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
163
157
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
164
158
|
'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
|
|
165
159
|
'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
|
|
166
|
-
'hasSyncedChildren': json['has_synced_children'] == null ? undefined : json['has_synced_children'],
|
|
167
160
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
168
161
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
169
162
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -191,7 +184,6 @@ export function IndexProductRequestToJSONTyped(value?: IndexProductRequest | nul
|
|
|
191
184
|
'is_disabled': value['isDisabled'],
|
|
192
185
|
'is_accessory': value['isAccessory'],
|
|
193
186
|
'categories-id': value['categoriesId'],
|
|
194
|
-
'has_synced_children': value['hasSyncedChildren'],
|
|
195
187
|
'related_id': value['relatedId'],
|
|
196
188
|
'related_type': value['relatedType'],
|
|
197
189
|
'includes_relations': value['includesRelations'],
|
|
@@ -68,9 +68,7 @@ export const StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = {
|
|
|
68
68
|
Attribute: 'attribute',
|
|
69
69
|
Tag: 'tag',
|
|
70
70
|
Supplier: 'supplier',
|
|
71
|
-
Label: 'label'
|
|
72
|
-
ProductType: 'product_type',
|
|
73
|
-
ProductClass: 'product_class'
|
|
71
|
+
Label: 'label'
|
|
74
72
|
} as const;
|
|
75
73
|
export type StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum];
|
|
76
74
|
|