@digital8/lighting-illusions-ts-sdk 0.0.498 → 0.0.500
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 +12 -0
- package/dist/models/GetAllProductChildRequest.js +4 -0
- package/dist/models/IndexProductChildRequest.d.ts +12 -2
- package/dist/models/IndexProductChildRequest.js +5 -3
- package/docs/GetAllProductChildRequest.md +4 -0
- package/docs/IndexProductChildRequest.md +4 -0
- package/package.json +1 -1
- package/src/models/GetAllProductChildRequest.ts +16 -0
- package/src/models/IndexProductChildRequest.ts +17 -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.500
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -361,7 +361,7 @@ and is automatically generated by the
|
|
|
361
361
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
362
362
|
|
|
363
363
|
- API version: `1.0.0`
|
|
364
|
-
- Package version: `0.0.
|
|
364
|
+
- Package version: `0.0.500`
|
|
365
365
|
- Generator version: `7.17.0`
|
|
366
366
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
367
367
|
|
|
@@ -51,6 +51,18 @@ export interface GetAllProductChildRequest {
|
|
|
51
51
|
* @memberof GetAllProductChildRequest
|
|
52
52
|
*/
|
|
53
53
|
includesRelations?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof GetAllProductChildRequest
|
|
58
|
+
*/
|
|
59
|
+
parentProductTypeId?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof GetAllProductChildRequest
|
|
64
|
+
*/
|
|
65
|
+
parentSupplierId?: Array<string>;
|
|
54
66
|
/**
|
|
55
67
|
*
|
|
56
68
|
* @type {Array<string>}
|
|
@@ -73,6 +73,8 @@ function GetAllProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
73
73
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
74
74
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
75
75
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
76
|
+
'parentProductTypeId': json['parent-product_type_id'] == null ? undefined : json['parent-product_type_id'],
|
|
77
|
+
'parentSupplierId': json['parent-supplier_id'] == null ? undefined : json['parent-supplier_id'],
|
|
76
78
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
77
79
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
78
80
|
'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
|
|
@@ -93,6 +95,8 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
93
95
|
'related_id': value['relatedId'],
|
|
94
96
|
'related_type': value['relatedType'],
|
|
95
97
|
'includes_relations': value['includesRelations'],
|
|
98
|
+
'parent-product_type_id': value['parentProductTypeId'],
|
|
99
|
+
'parent-supplier_id': value['parentSupplierId'],
|
|
96
100
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
97
101
|
'is_disabled': value['isDisabled'],
|
|
98
102
|
'has_netsuite_id': value['hasNetsuiteId'],
|
|
@@ -45,6 +45,18 @@ export interface IndexProductChildRequest {
|
|
|
45
45
|
* @memberof IndexProductChildRequest
|
|
46
46
|
*/
|
|
47
47
|
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof IndexProductChildRequest
|
|
52
|
+
*/
|
|
53
|
+
parentProductTypeId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof IndexProductChildRequest
|
|
58
|
+
*/
|
|
59
|
+
parentSupplierId?: Array<string>;
|
|
48
60
|
/**
|
|
49
61
|
*
|
|
50
62
|
* @type {Array<string>}
|
|
@@ -119,8 +131,6 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
|
119
131
|
readonly Document: "document";
|
|
120
132
|
readonly Attribute: "attribute";
|
|
121
133
|
readonly AttributeValue: "attributeValue";
|
|
122
|
-
readonly ProductType: "productType";
|
|
123
|
-
readonly Site: "site";
|
|
124
134
|
};
|
|
125
135
|
export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
|
|
126
136
|
/**
|
|
@@ -53,9 +53,7 @@ exports.IndexProductChildRequestRelatedTypeEnum = {
|
|
|
53
53
|
Tag: 'tag',
|
|
54
54
|
Document: 'document',
|
|
55
55
|
Attribute: 'attribute',
|
|
56
|
-
AttributeValue: 'attributeValue'
|
|
57
|
-
ProductType: 'productType',
|
|
58
|
-
Site: 'site'
|
|
56
|
+
AttributeValue: 'attributeValue'
|
|
59
57
|
};
|
|
60
58
|
/**
|
|
61
59
|
* Check if a given object implements the IndexProductChildRequest interface.
|
|
@@ -76,6 +74,8 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
76
74
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
77
75
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
78
76
|
'page': json['page'] == null ? undefined : json['page'],
|
|
77
|
+
'parentProductTypeId': json['parent-product_type_id'] == null ? undefined : json['parent-product_type_id'],
|
|
78
|
+
'parentSupplierId': json['parent-supplier_id'] == null ? undefined : json['parent-supplier_id'],
|
|
79
79
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
80
80
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
81
81
|
'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
|
|
@@ -98,6 +98,8 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
98
98
|
'sortDirection': value['sortDirection'],
|
|
99
99
|
'per_page': value['perPage'],
|
|
100
100
|
'page': value['page'],
|
|
101
|
+
'parent-product_type_id': value['parentProductTypeId'],
|
|
102
|
+
'parent-supplier_id': value['parentSupplierId'],
|
|
101
103
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
102
104
|
'is_disabled': value['isDisabled'],
|
|
103
105
|
'has_netsuite_id': value['hasNetsuiteId'],
|
|
@@ -12,6 +12,8 @@ Name | Type
|
|
|
12
12
|
`relatedId` | number
|
|
13
13
|
`relatedType` | string
|
|
14
14
|
`includesRelations` | boolean
|
|
15
|
+
`parentProductTypeId` | Array<string>
|
|
16
|
+
`parentSupplierId` | Array<string>
|
|
15
17
|
`siteDetailsSiteId` | Array<string>
|
|
16
18
|
`isDisabled` | Array<string>
|
|
17
19
|
`hasNetsuiteId` | Array<string>
|
|
@@ -29,6 +31,8 @@ const example = {
|
|
|
29
31
|
"relatedId": null,
|
|
30
32
|
"relatedType": null,
|
|
31
33
|
"includesRelations": null,
|
|
34
|
+
"parentProductTypeId": null,
|
|
35
|
+
"parentSupplierId": null,
|
|
32
36
|
"siteDetailsSiteId": null,
|
|
33
37
|
"isDisabled": null,
|
|
34
38
|
"hasNetsuiteId": null,
|
|
@@ -11,6 +11,8 @@ Name | Type
|
|
|
11
11
|
`sortDirection` | string
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
|
+
`parentProductTypeId` | Array<string>
|
|
15
|
+
`parentSupplierId` | Array<string>
|
|
14
16
|
`siteDetailsSiteId` | Array<string>
|
|
15
17
|
`isDisabled` | Array<string>
|
|
16
18
|
`hasNetsuiteId` | Array<string>
|
|
@@ -30,6 +32,8 @@ const example = {
|
|
|
30
32
|
"sortDirection": null,
|
|
31
33
|
"perPage": null,
|
|
32
34
|
"page": null,
|
|
35
|
+
"parentProductTypeId": null,
|
|
36
|
+
"parentSupplierId": null,
|
|
33
37
|
"siteDetailsSiteId": null,
|
|
34
38
|
"isDisabled": null,
|
|
35
39
|
"hasNetsuiteId": null,
|
package/package.json
CHANGED
|
@@ -55,6 +55,18 @@ export interface GetAllProductChildRequest {
|
|
|
55
55
|
* @memberof GetAllProductChildRequest
|
|
56
56
|
*/
|
|
57
57
|
includesRelations?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof GetAllProductChildRequest
|
|
62
|
+
*/
|
|
63
|
+
parentProductTypeId?: Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Array<string>}
|
|
67
|
+
* @memberof GetAllProductChildRequest
|
|
68
|
+
*/
|
|
69
|
+
parentSupplierId?: Array<string>;
|
|
58
70
|
/**
|
|
59
71
|
*
|
|
60
72
|
* @type {Array<string>}
|
|
@@ -140,6 +152,8 @@ export function GetAllProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
140
152
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
141
153
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
142
154
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
155
|
+
'parentProductTypeId': json['parent-product_type_id'] == null ? undefined : json['parent-product_type_id'],
|
|
156
|
+
'parentSupplierId': json['parent-supplier_id'] == null ? undefined : json['parent-supplier_id'],
|
|
143
157
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
144
158
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
145
159
|
'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
|
|
@@ -163,6 +177,8 @@ export function GetAllProductChildRequestToJSONTyped(value?: GetAllProductChildR
|
|
|
163
177
|
'related_id': value['relatedId'],
|
|
164
178
|
'related_type': value['relatedType'],
|
|
165
179
|
'includes_relations': value['includesRelations'],
|
|
180
|
+
'parent-product_type_id': value['parentProductTypeId'],
|
|
181
|
+
'parent-supplier_id': value['parentSupplierId'],
|
|
166
182
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
167
183
|
'is_disabled': value['isDisabled'],
|
|
168
184
|
'has_netsuite_id': value['hasNetsuiteId'],
|
|
@@ -49,6 +49,18 @@ export interface IndexProductChildRequest {
|
|
|
49
49
|
* @memberof IndexProductChildRequest
|
|
50
50
|
*/
|
|
51
51
|
page?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof IndexProductChildRequest
|
|
56
|
+
*/
|
|
57
|
+
parentProductTypeId?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof IndexProductChildRequest
|
|
62
|
+
*/
|
|
63
|
+
parentSupplierId?: Array<string>;
|
|
52
64
|
/**
|
|
53
65
|
*
|
|
54
66
|
* @type {Array<string>}
|
|
@@ -126,9 +138,7 @@ export const IndexProductChildRequestRelatedTypeEnum = {
|
|
|
126
138
|
Tag: 'tag',
|
|
127
139
|
Document: 'document',
|
|
128
140
|
Attribute: 'attribute',
|
|
129
|
-
AttributeValue: 'attributeValue'
|
|
130
|
-
ProductType: 'productType',
|
|
131
|
-
Site: 'site'
|
|
141
|
+
AttributeValue: 'attributeValue'
|
|
132
142
|
} as const;
|
|
133
143
|
export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
|
|
134
144
|
|
|
@@ -155,6 +165,8 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
155
165
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
156
166
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
157
167
|
'page': json['page'] == null ? undefined : json['page'],
|
|
168
|
+
'parentProductTypeId': json['parent-product_type_id'] == null ? undefined : json['parent-product_type_id'],
|
|
169
|
+
'parentSupplierId': json['parent-supplier_id'] == null ? undefined : json['parent-supplier_id'],
|
|
158
170
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
159
171
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
160
172
|
'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
|
|
@@ -180,6 +192,8 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
|
|
|
180
192
|
'sortDirection': value['sortDirection'],
|
|
181
193
|
'per_page': value['perPage'],
|
|
182
194
|
'page': value['page'],
|
|
195
|
+
'parent-product_type_id': value['parentProductTypeId'],
|
|
196
|
+
'parent-supplier_id': value['parentSupplierId'],
|
|
183
197
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
184
198
|
'is_disabled': value['isDisabled'],
|
|
185
199
|
'has_netsuite_id': value['hasNetsuiteId'],
|