@digital8/lighting-illusions-ts-sdk 0.0.757 → 0.0.758
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/GetAllProductChildRequest.d.ts +24 -0
- package/dist/models/GetAllProductChildRequest.js +8 -0
- package/dist/models/IndexProductChildRequest.d.ts +24 -0
- package/dist/models/IndexProductChildRequest.js +8 -0
- package/dist/models/ProductCategoryLiteResource.d.ts +6 -0
- package/dist/models/ProductCategoryLiteResource.js +4 -0
- package/docs/GetAllProductChildRequest.md +8 -0
- package/docs/IndexProductChildRequest.md +8 -0
- package/docs/ProductCategoryLiteResource.md +2 -0
- package/package.json +1 -1
- package/src/models/GetAllProductChildRequest.ts +32 -0
- package/src/models/IndexProductChildRequest.ts +32 -0
- package/src/models/ProductCategoryLiteResource.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.758
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -458,7 +458,7 @@ and is automatically generated by the
|
|
|
458
458
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
459
459
|
|
|
460
460
|
- API version: `1.0.0`
|
|
461
|
-
- Package version: `0.0.
|
|
461
|
+
- Package version: `0.0.758`
|
|
462
462
|
- Generator version: `7.19.0`
|
|
463
463
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
464
464
|
|
|
@@ -69,6 +69,30 @@ export interface GetAllProductChildRequest {
|
|
|
69
69
|
* @memberof GetAllProductChildRequest
|
|
70
70
|
*/
|
|
71
71
|
netsuiteSyncHasNetsuiteId?: Array<string>;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Array<string>}
|
|
75
|
+
* @memberof GetAllProductChildRequest
|
|
76
|
+
*/
|
|
77
|
+
categoriesId?: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Array<string>}
|
|
81
|
+
* @memberof GetAllProductChildRequest
|
|
82
|
+
*/
|
|
83
|
+
automatedCategoriesId?: Array<string>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Array<string>}
|
|
87
|
+
* @memberof GetAllProductChildRequest
|
|
88
|
+
*/
|
|
89
|
+
supplierId?: Array<string>;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Array<string>}
|
|
93
|
+
* @memberof GetAllProductChildRequest
|
|
94
|
+
*/
|
|
95
|
+
productTypeId?: Array<string>;
|
|
72
96
|
}
|
|
73
97
|
/**
|
|
74
98
|
* @export
|
|
@@ -75,6 +75,10 @@ function GetAllProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
75
75
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
76
76
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
77
77
|
'netsuiteSyncHasNetsuiteId': json['netsuiteSync-has_netsuite_id'] == null ? undefined : json['netsuiteSync-has_netsuite_id'],
|
|
78
|
+
'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
|
|
79
|
+
'automatedCategoriesId': json['automatedCategories-id'] == null ? undefined : json['automatedCategories-id'],
|
|
80
|
+
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
81
|
+
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
78
82
|
};
|
|
79
83
|
}
|
|
80
84
|
function GetAllProductChildRequestToJSON(json) {
|
|
@@ -95,5 +99,9 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
95
99
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
96
100
|
'is_disabled': value['isDisabled'],
|
|
97
101
|
'netsuiteSync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
|
|
102
|
+
'categories-id': value['categoriesId'],
|
|
103
|
+
'automatedCategories-id': value['automatedCategoriesId'],
|
|
104
|
+
'supplier-id': value['supplierId'],
|
|
105
|
+
'productType-id': value['productTypeId'],
|
|
98
106
|
};
|
|
99
107
|
}
|
|
@@ -63,6 +63,30 @@ export interface IndexProductChildRequest {
|
|
|
63
63
|
* @memberof IndexProductChildRequest
|
|
64
64
|
*/
|
|
65
65
|
netsuiteSyncHasNetsuiteId?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<string>}
|
|
69
|
+
* @memberof IndexProductChildRequest
|
|
70
|
+
*/
|
|
71
|
+
categoriesId?: Array<string>;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Array<string>}
|
|
75
|
+
* @memberof IndexProductChildRequest
|
|
76
|
+
*/
|
|
77
|
+
automatedCategoriesId?: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Array<string>}
|
|
81
|
+
* @memberof IndexProductChildRequest
|
|
82
|
+
*/
|
|
83
|
+
supplierId?: Array<string>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Array<string>}
|
|
87
|
+
* @memberof IndexProductChildRequest
|
|
88
|
+
*/
|
|
89
|
+
productTypeId?: Array<string>;
|
|
66
90
|
/**
|
|
67
91
|
*
|
|
68
92
|
* @type {number}
|
|
@@ -82,6 +82,10 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
82
82
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
83
83
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
84
84
|
'netsuiteSyncHasNetsuiteId': json['netsuiteSync-has_netsuite_id'] == null ? undefined : json['netsuiteSync-has_netsuite_id'],
|
|
85
|
+
'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
|
|
86
|
+
'automatedCategoriesId': json['automatedCategories-id'] == null ? undefined : json['automatedCategories-id'],
|
|
87
|
+
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
88
|
+
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
85
89
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
86
90
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
87
91
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -104,6 +108,10 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
104
108
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
105
109
|
'is_disabled': value['isDisabled'],
|
|
106
110
|
'netsuiteSync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
|
|
111
|
+
'categories-id': value['categoriesId'],
|
|
112
|
+
'automatedCategories-id': value['automatedCategoriesId'],
|
|
113
|
+
'supplier-id': value['supplierId'],
|
|
114
|
+
'productType-id': value['productTypeId'],
|
|
107
115
|
'related_id': value['relatedId'],
|
|
108
116
|
'related_type': value['relatedType'],
|
|
109
117
|
'includes_relations': value['includesRelations'],
|
|
@@ -33,6 +33,12 @@ export interface ProductCategoryLiteResource {
|
|
|
33
33
|
* @memberof ProductCategoryLiteResource
|
|
34
34
|
*/
|
|
35
35
|
siteId: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof ProductCategoryLiteResource
|
|
40
|
+
*/
|
|
41
|
+
isAutomated: boolean;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the ProductCategoryLiteResource interface.
|
|
@@ -26,6 +26,8 @@ function instanceOfProductCategoryLiteResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('isAutomated' in value) || value['isAutomated'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
return true;
|
|
30
32
|
}
|
|
31
33
|
function ProductCategoryLiteResourceFromJSON(json) {
|
|
@@ -39,6 +41,7 @@ function ProductCategoryLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
41
|
'id': json['id'] == null ? undefined : json['id'],
|
|
40
42
|
'name': json['name'],
|
|
41
43
|
'siteId': json['siteId'],
|
|
44
|
+
'isAutomated': json['isAutomated'],
|
|
42
45
|
};
|
|
43
46
|
}
|
|
44
47
|
function ProductCategoryLiteResourceToJSON(json) {
|
|
@@ -53,5 +56,6 @@ function ProductCategoryLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
53
56
|
'id': value['id'],
|
|
54
57
|
'name': value['name'],
|
|
55
58
|
'siteId': value['siteId'],
|
|
59
|
+
'isAutomated': value['isAutomated'],
|
|
56
60
|
};
|
|
57
61
|
}
|
|
@@ -15,6 +15,10 @@ Name | Type
|
|
|
15
15
|
`siteDetailsSiteId` | Array<string>
|
|
16
16
|
`isDisabled` | Array<string>
|
|
17
17
|
`netsuiteSyncHasNetsuiteId` | Array<string>
|
|
18
|
+
`categoriesId` | Array<string>
|
|
19
|
+
`automatedCategoriesId` | Array<string>
|
|
20
|
+
`supplierId` | Array<string>
|
|
21
|
+
`productTypeId` | Array<string>
|
|
18
22
|
|
|
19
23
|
## Example
|
|
20
24
|
|
|
@@ -32,6 +36,10 @@ const example = {
|
|
|
32
36
|
"siteDetailsSiteId": null,
|
|
33
37
|
"isDisabled": null,
|
|
34
38
|
"netsuiteSyncHasNetsuiteId": null,
|
|
39
|
+
"categoriesId": null,
|
|
40
|
+
"automatedCategoriesId": null,
|
|
41
|
+
"supplierId": null,
|
|
42
|
+
"productTypeId": null,
|
|
35
43
|
} satisfies GetAllProductChildRequest
|
|
36
44
|
|
|
37
45
|
console.log(example)
|
|
@@ -14,6 +14,10 @@ Name | Type
|
|
|
14
14
|
`siteDetailsSiteId` | Array<string>
|
|
15
15
|
`isDisabled` | Array<string>
|
|
16
16
|
`netsuiteSyncHasNetsuiteId` | Array<string>
|
|
17
|
+
`categoriesId` | Array<string>
|
|
18
|
+
`automatedCategoriesId` | Array<string>
|
|
19
|
+
`supplierId` | Array<string>
|
|
20
|
+
`productTypeId` | Array<string>
|
|
17
21
|
`relatedId` | number
|
|
18
22
|
`relatedType` | string
|
|
19
23
|
`includesRelations` | boolean
|
|
@@ -33,6 +37,10 @@ const example = {
|
|
|
33
37
|
"siteDetailsSiteId": null,
|
|
34
38
|
"isDisabled": null,
|
|
35
39
|
"netsuiteSyncHasNetsuiteId": null,
|
|
40
|
+
"categoriesId": null,
|
|
41
|
+
"automatedCategoriesId": null,
|
|
42
|
+
"supplierId": null,
|
|
43
|
+
"productTypeId": null,
|
|
36
44
|
"relatedId": null,
|
|
37
45
|
"relatedType": null,
|
|
38
46
|
"includesRelations": null,
|
|
@@ -9,6 +9,7 @@ Name | Type
|
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
11
|
`siteId` | number
|
|
12
|
+
`isAutomated` | boolean
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ const example = {
|
|
|
20
21
|
"id": null,
|
|
21
22
|
"name": null,
|
|
22
23
|
"siteId": null,
|
|
24
|
+
"isAutomated": null,
|
|
23
25
|
} satisfies ProductCategoryLiteResource
|
|
24
26
|
|
|
25
27
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -73,6 +73,30 @@ export interface GetAllProductChildRequest {
|
|
|
73
73
|
* @memberof GetAllProductChildRequest
|
|
74
74
|
*/
|
|
75
75
|
netsuiteSyncHasNetsuiteId?: Array<string>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Array<string>}
|
|
79
|
+
* @memberof GetAllProductChildRequest
|
|
80
|
+
*/
|
|
81
|
+
categoriesId?: Array<string>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Array<string>}
|
|
85
|
+
* @memberof GetAllProductChildRequest
|
|
86
|
+
*/
|
|
87
|
+
automatedCategoriesId?: Array<string>;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {Array<string>}
|
|
91
|
+
* @memberof GetAllProductChildRequest
|
|
92
|
+
*/
|
|
93
|
+
supplierId?: Array<string>;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {Array<string>}
|
|
97
|
+
* @memberof GetAllProductChildRequest
|
|
98
|
+
*/
|
|
99
|
+
productTypeId?: Array<string>;
|
|
76
100
|
}
|
|
77
101
|
|
|
78
102
|
|
|
@@ -142,6 +166,10 @@ export function GetAllProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
142
166
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
143
167
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
144
168
|
'netsuiteSyncHasNetsuiteId': json['netsuiteSync-has_netsuite_id'] == null ? undefined : json['netsuiteSync-has_netsuite_id'],
|
|
169
|
+
'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
|
|
170
|
+
'automatedCategoriesId': json['automatedCategories-id'] == null ? undefined : json['automatedCategories-id'],
|
|
171
|
+
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
172
|
+
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
145
173
|
};
|
|
146
174
|
}
|
|
147
175
|
|
|
@@ -165,6 +193,10 @@ export function GetAllProductChildRequestToJSONTyped(value?: GetAllProductChildR
|
|
|
165
193
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
166
194
|
'is_disabled': value['isDisabled'],
|
|
167
195
|
'netsuiteSync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
|
|
196
|
+
'categories-id': value['categoriesId'],
|
|
197
|
+
'automatedCategories-id': value['automatedCategoriesId'],
|
|
198
|
+
'supplier-id': value['supplierId'],
|
|
199
|
+
'productType-id': value['productTypeId'],
|
|
168
200
|
};
|
|
169
201
|
}
|
|
170
202
|
|
|
@@ -67,6 +67,30 @@ export interface IndexProductChildRequest {
|
|
|
67
67
|
* @memberof IndexProductChildRequest
|
|
68
68
|
*/
|
|
69
69
|
netsuiteSyncHasNetsuiteId?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Array<string>}
|
|
73
|
+
* @memberof IndexProductChildRequest
|
|
74
|
+
*/
|
|
75
|
+
categoriesId?: Array<string>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Array<string>}
|
|
79
|
+
* @memberof IndexProductChildRequest
|
|
80
|
+
*/
|
|
81
|
+
automatedCategoriesId?: Array<string>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Array<string>}
|
|
85
|
+
* @memberof IndexProductChildRequest
|
|
86
|
+
*/
|
|
87
|
+
supplierId?: Array<string>;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {Array<string>}
|
|
91
|
+
* @memberof IndexProductChildRequest
|
|
92
|
+
*/
|
|
93
|
+
productTypeId?: Array<string>;
|
|
70
94
|
/**
|
|
71
95
|
*
|
|
72
96
|
* @type {number}
|
|
@@ -161,6 +185,10 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
161
185
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
162
186
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
163
187
|
'netsuiteSyncHasNetsuiteId': json['netsuiteSync-has_netsuite_id'] == null ? undefined : json['netsuiteSync-has_netsuite_id'],
|
|
188
|
+
'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
|
|
189
|
+
'automatedCategoriesId': json['automatedCategories-id'] == null ? undefined : json['automatedCategories-id'],
|
|
190
|
+
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
191
|
+
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
164
192
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
165
193
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
166
194
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -186,6 +214,10 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
|
|
|
186
214
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
187
215
|
'is_disabled': value['isDisabled'],
|
|
188
216
|
'netsuiteSync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
|
|
217
|
+
'categories-id': value['categoriesId'],
|
|
218
|
+
'automatedCategories-id': value['automatedCategoriesId'],
|
|
219
|
+
'supplier-id': value['supplierId'],
|
|
220
|
+
'productType-id': value['productTypeId'],
|
|
189
221
|
'related_id': value['relatedId'],
|
|
190
222
|
'related_type': value['relatedType'],
|
|
191
223
|
'includes_relations': value['includesRelations'],
|
|
@@ -37,6 +37,12 @@ export interface ProductCategoryLiteResource {
|
|
|
37
37
|
* @memberof ProductCategoryLiteResource
|
|
38
38
|
*/
|
|
39
39
|
siteId: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof ProductCategoryLiteResource
|
|
44
|
+
*/
|
|
45
|
+
isAutomated: boolean;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
@@ -45,6 +51,7 @@ export interface ProductCategoryLiteResource {
|
|
|
45
51
|
export function instanceOfProductCategoryLiteResource(value: object): value is ProductCategoryLiteResource {
|
|
46
52
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
53
|
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
54
|
+
if (!('isAutomated' in value) || value['isAutomated'] === undefined) return false;
|
|
48
55
|
return true;
|
|
49
56
|
}
|
|
50
57
|
|
|
@@ -61,6 +68,7 @@ export function ProductCategoryLiteResourceFromJSONTyped(json: any, ignoreDiscri
|
|
|
61
68
|
'id': json['id'] == null ? undefined : json['id'],
|
|
62
69
|
'name': json['name'],
|
|
63
70
|
'siteId': json['siteId'],
|
|
71
|
+
'isAutomated': json['isAutomated'],
|
|
64
72
|
};
|
|
65
73
|
}
|
|
66
74
|
|
|
@@ -78,6 +86,7 @@ export function ProductCategoryLiteResourceToJSONTyped(value?: ProductCategoryLi
|
|
|
78
86
|
'id': value['id'],
|
|
79
87
|
'name': value['name'],
|
|
80
88
|
'siteId': value['siteId'],
|
|
89
|
+
'isAutomated': value['isAutomated'],
|
|
81
90
|
};
|
|
82
91
|
}
|
|
83
92
|
|