@digital8/lighting-illusions-ts-sdk 0.0.994 → 0.0.996
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 +1 -3
- package/dist/models/GetAllProductChildRequest.d.ts +12 -0
- package/dist/models/GetAllProductChildRequest.js +4 -0
- package/dist/models/IndexProductChildRequest.d.ts +12 -0
- package/dist/models/IndexProductChildRequest.js +4 -0
- package/docs/GetAllProductChildRequest.md +4 -0
- package/docs/IndexProductChildRequest.md +4 -0
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllProductChildRequest.ts +16 -0
- package/src/models/IndexProductChildRequest.ts +16 -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.996
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -468,7 +468,7 @@ and is automatically generated by the
|
|
|
468
468
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
469
469
|
|
|
470
470
|
- API version: `1.0.0`
|
|
471
|
-
- Package version: `0.0.
|
|
471
|
+
- Package version: `0.0.996`
|
|
472
472
|
- Generator version: `7.20.0`
|
|
473
473
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
474
474
|
|
|
@@ -37,8 +37,6 @@ 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;
|
|
42
40
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
43
41
|
return false;
|
|
44
42
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
58
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
61
59
|
'endpoint': json['endpoint'],
|
|
62
60
|
'responseCode': json['responseCode'],
|
|
63
|
-
'requestPayload': json['requestPayload'],
|
|
61
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
64
62
|
'responsePayload': json['responsePayload'],
|
|
65
63
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
66
64
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -93,6 +93,18 @@ export interface GetAllProductChildRequest {
|
|
|
93
93
|
* @memberof GetAllProductChildRequest
|
|
94
94
|
*/
|
|
95
95
|
parentIsAccessory?: Array<string>;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {Array<string>}
|
|
99
|
+
* @memberof GetAllProductChildRequest
|
|
100
|
+
*/
|
|
101
|
+
availableOnSiteId?: Array<string>;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {Array<string>}
|
|
105
|
+
* @memberof GetAllProductChildRequest
|
|
106
|
+
*/
|
|
107
|
+
enabledOnSiteId?: Array<string>;
|
|
96
108
|
}
|
|
97
109
|
/**
|
|
98
110
|
* @export
|
|
@@ -79,6 +79,8 @@ function GetAllProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
79
79
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
80
80
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
81
81
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
82
|
+
'availableOnSiteId': json['available-on-site-id'] == null ? undefined : json['available-on-site-id'],
|
|
83
|
+
'enabledOnSiteId': json['enabled-on-site-id'] == null ? undefined : json['enabled-on-site-id'],
|
|
82
84
|
};
|
|
83
85
|
}
|
|
84
86
|
function GetAllProductChildRequestToJSON(json) {
|
|
@@ -103,5 +105,7 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
103
105
|
'supplier-id': value['supplierId'],
|
|
104
106
|
'productType-id': value['productTypeId'],
|
|
105
107
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
108
|
+
'available-on-site-id': value['availableOnSiteId'],
|
|
109
|
+
'enabled-on-site-id': value['enabledOnSiteId'],
|
|
106
110
|
};
|
|
107
111
|
}
|
|
@@ -87,6 +87,18 @@ export interface IndexProductChildRequest {
|
|
|
87
87
|
* @memberof IndexProductChildRequest
|
|
88
88
|
*/
|
|
89
89
|
parentIsAccessory?: Array<string>;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Array<string>}
|
|
93
|
+
* @memberof IndexProductChildRequest
|
|
94
|
+
*/
|
|
95
|
+
availableOnSiteId?: Array<string>;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {Array<string>}
|
|
99
|
+
* @memberof IndexProductChildRequest
|
|
100
|
+
*/
|
|
101
|
+
enabledOnSiteId?: Array<string>;
|
|
90
102
|
/**
|
|
91
103
|
*
|
|
92
104
|
* @type {number}
|
|
@@ -86,6 +86,8 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
86
86
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
87
87
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
88
88
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
89
|
+
'availableOnSiteId': json['available-on-site-id'] == null ? undefined : json['available-on-site-id'],
|
|
90
|
+
'enabledOnSiteId': json['enabled-on-site-id'] == null ? undefined : json['enabled-on-site-id'],
|
|
89
91
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
90
92
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
91
93
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -112,6 +114,8 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
112
114
|
'supplier-id': value['supplierId'],
|
|
113
115
|
'productType-id': value['productTypeId'],
|
|
114
116
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
117
|
+
'available-on-site-id': value['availableOnSiteId'],
|
|
118
|
+
'enabled-on-site-id': value['enabledOnSiteId'],
|
|
115
119
|
'related_id': value['relatedId'],
|
|
116
120
|
'related_type': value['relatedType'],
|
|
117
121
|
'includes_relations': value['includesRelations'],
|
|
@@ -19,6 +19,8 @@ Name | Type
|
|
|
19
19
|
`supplierId` | Array<string>
|
|
20
20
|
`productTypeId` | Array<string>
|
|
21
21
|
`parentIsAccessory` | Array<string>
|
|
22
|
+
`availableOnSiteId` | Array<string>
|
|
23
|
+
`enabledOnSiteId` | Array<string>
|
|
22
24
|
|
|
23
25
|
## Example
|
|
24
26
|
|
|
@@ -40,6 +42,8 @@ const example = {
|
|
|
40
42
|
"supplierId": null,
|
|
41
43
|
"productTypeId": null,
|
|
42
44
|
"parentIsAccessory": null,
|
|
45
|
+
"availableOnSiteId": null,
|
|
46
|
+
"enabledOnSiteId": null,
|
|
43
47
|
} satisfies GetAllProductChildRequest
|
|
44
48
|
|
|
45
49
|
console.log(example)
|
|
@@ -18,6 +18,8 @@ Name | Type
|
|
|
18
18
|
`supplierId` | Array<string>
|
|
19
19
|
`productTypeId` | Array<string>
|
|
20
20
|
`parentIsAccessory` | Array<string>
|
|
21
|
+
`availableOnSiteId` | Array<string>
|
|
22
|
+
`enabledOnSiteId` | Array<string>
|
|
21
23
|
`relatedId` | number
|
|
22
24
|
`relatedType` | string
|
|
23
25
|
`includesRelations` | boolean
|
|
@@ -41,6 +43,8 @@ const example = {
|
|
|
41
43
|
"supplierId": null,
|
|
42
44
|
"productTypeId": null,
|
|
43
45
|
"parentIsAccessory": null,
|
|
46
|
+
"availableOnSiteId": null,
|
|
47
|
+
"enabledOnSiteId": null,
|
|
44
48
|
"relatedId": null,
|
|
45
49
|
"relatedType": null,
|
|
46
50
|
"includesRelations": 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 | null;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -106,7 +106,6 @@ 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;
|
|
110
109
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
|
|
111
110
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
112
111
|
return true;
|
|
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
129
128
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
130
129
|
'endpoint': json['endpoint'],
|
|
131
130
|
'responseCode': json['responseCode'],
|
|
132
|
-
'requestPayload': json['requestPayload'],
|
|
131
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
133
132
|
'responsePayload': json['responsePayload'],
|
|
134
133
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
135
134
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
@@ -97,6 +97,18 @@ export interface GetAllProductChildRequest {
|
|
|
97
97
|
* @memberof GetAllProductChildRequest
|
|
98
98
|
*/
|
|
99
99
|
parentIsAccessory?: Array<string>;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {Array<string>}
|
|
103
|
+
* @memberof GetAllProductChildRequest
|
|
104
|
+
*/
|
|
105
|
+
availableOnSiteId?: Array<string>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {Array<string>}
|
|
109
|
+
* @memberof GetAllProductChildRequest
|
|
110
|
+
*/
|
|
111
|
+
enabledOnSiteId?: Array<string>;
|
|
100
112
|
}
|
|
101
113
|
|
|
102
114
|
|
|
@@ -170,6 +182,8 @@ export function GetAllProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
170
182
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
171
183
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
172
184
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
185
|
+
'availableOnSiteId': json['available-on-site-id'] == null ? undefined : json['available-on-site-id'],
|
|
186
|
+
'enabledOnSiteId': json['enabled-on-site-id'] == null ? undefined : json['enabled-on-site-id'],
|
|
173
187
|
};
|
|
174
188
|
}
|
|
175
189
|
|
|
@@ -197,6 +211,8 @@ export function GetAllProductChildRequestToJSONTyped(value?: GetAllProductChildR
|
|
|
197
211
|
'supplier-id': value['supplierId'],
|
|
198
212
|
'productType-id': value['productTypeId'],
|
|
199
213
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
214
|
+
'available-on-site-id': value['availableOnSiteId'],
|
|
215
|
+
'enabled-on-site-id': value['enabledOnSiteId'],
|
|
200
216
|
};
|
|
201
217
|
}
|
|
202
218
|
|
|
@@ -91,6 +91,18 @@ export interface IndexProductChildRequest {
|
|
|
91
91
|
* @memberof IndexProductChildRequest
|
|
92
92
|
*/
|
|
93
93
|
parentIsAccessory?: Array<string>;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {Array<string>}
|
|
97
|
+
* @memberof IndexProductChildRequest
|
|
98
|
+
*/
|
|
99
|
+
availableOnSiteId?: Array<string>;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {Array<string>}
|
|
103
|
+
* @memberof IndexProductChildRequest
|
|
104
|
+
*/
|
|
105
|
+
enabledOnSiteId?: Array<string>;
|
|
94
106
|
/**
|
|
95
107
|
*
|
|
96
108
|
* @type {number}
|
|
@@ -189,6 +201,8 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
189
201
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
190
202
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
191
203
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
204
|
+
'availableOnSiteId': json['available-on-site-id'] == null ? undefined : json['available-on-site-id'],
|
|
205
|
+
'enabledOnSiteId': json['enabled-on-site-id'] == null ? undefined : json['enabled-on-site-id'],
|
|
192
206
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
193
207
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
194
208
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -218,6 +232,8 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
|
|
|
218
232
|
'supplier-id': value['supplierId'],
|
|
219
233
|
'productType-id': value['productTypeId'],
|
|
220
234
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
235
|
+
'available-on-site-id': value['availableOnSiteId'],
|
|
236
|
+
'enabled-on-site-id': value['enabledOnSiteId'],
|
|
221
237
|
'related_id': value['relatedId'],
|
|
222
238
|
'related_type': value['relatedType'],
|
|
223
239
|
'includes_relations': value['includesRelations'],
|