@digital8/lighting-illusions-ts-sdk 0.0.996 → 0.0.997
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/GetAllProductChildRequest.js +4 -4
- package/dist/models/IndexProductChildRequest.js +4 -4
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllProductChildRequest.ts +4 -4
- package/src/models/IndexProductChildRequest.ts +4 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.997
|
|
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.997`
|
|
472
472
|
- Generator version: `7.20.0`
|
|
473
473
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
474
474
|
|
|
@@ -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']),
|
|
@@ -79,8 +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['
|
|
83
|
-
'enabledOnSiteId': json['
|
|
82
|
+
'availableOnSiteId': json['availableOnSiteId'] == null ? undefined : json['availableOnSiteId'],
|
|
83
|
+
'enabledOnSiteId': json['enabledOnSiteId'] == null ? undefined : json['enabledOnSiteId'],
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
function GetAllProductChildRequestToJSON(json) {
|
|
@@ -105,7 +105,7 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
105
105
|
'supplier-id': value['supplierId'],
|
|
106
106
|
'productType-id': value['productTypeId'],
|
|
107
107
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
108
|
-
'
|
|
109
|
-
'
|
|
108
|
+
'availableOnSiteId': value['availableOnSiteId'],
|
|
109
|
+
'enabledOnSiteId': value['enabledOnSiteId'],
|
|
110
110
|
};
|
|
111
111
|
}
|
|
@@ -86,8 +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['
|
|
90
|
-
'enabledOnSiteId': json['
|
|
89
|
+
'availableOnSiteId': json['availableOnSiteId'] == null ? undefined : json['availableOnSiteId'],
|
|
90
|
+
'enabledOnSiteId': json['enabledOnSiteId'] == null ? undefined : json['enabledOnSiteId'],
|
|
91
91
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
92
92
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
93
93
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -114,8 +114,8 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
114
114
|
'supplier-id': value['supplierId'],
|
|
115
115
|
'productType-id': value['productTypeId'],
|
|
116
116
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
117
|
-
'
|
|
118
|
-
'
|
|
117
|
+
'availableOnSiteId': value['availableOnSiteId'],
|
|
118
|
+
'enabledOnSiteId': value['enabledOnSiteId'],
|
|
119
119
|
'related_id': value['relatedId'],
|
|
120
120
|
'related_type': value['relatedType'],
|
|
121
121
|
'includes_relations': value['includesRelations'],
|
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']),
|
|
@@ -182,8 +182,8 @@ export function GetAllProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
182
182
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
183
183
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
184
184
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
185
|
-
'availableOnSiteId': json['
|
|
186
|
-
'enabledOnSiteId': json['
|
|
185
|
+
'availableOnSiteId': json['availableOnSiteId'] == null ? undefined : json['availableOnSiteId'],
|
|
186
|
+
'enabledOnSiteId': json['enabledOnSiteId'] == null ? undefined : json['enabledOnSiteId'],
|
|
187
187
|
};
|
|
188
188
|
}
|
|
189
189
|
|
|
@@ -211,8 +211,8 @@ export function GetAllProductChildRequestToJSONTyped(value?: GetAllProductChildR
|
|
|
211
211
|
'supplier-id': value['supplierId'],
|
|
212
212
|
'productType-id': value['productTypeId'],
|
|
213
213
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
214
|
-
'
|
|
215
|
-
'
|
|
214
|
+
'availableOnSiteId': value['availableOnSiteId'],
|
|
215
|
+
'enabledOnSiteId': value['enabledOnSiteId'],
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
|
|
@@ -201,8 +201,8 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
201
201
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
202
202
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
203
203
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
204
|
-
'availableOnSiteId': json['
|
|
205
|
-
'enabledOnSiteId': json['
|
|
204
|
+
'availableOnSiteId': json['availableOnSiteId'] == null ? undefined : json['availableOnSiteId'],
|
|
205
|
+
'enabledOnSiteId': json['enabledOnSiteId'] == null ? undefined : json['enabledOnSiteId'],
|
|
206
206
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
207
207
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
208
208
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -232,8 +232,8 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
|
|
|
232
232
|
'supplier-id': value['supplierId'],
|
|
233
233
|
'productType-id': value['productTypeId'],
|
|
234
234
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
235
|
-
'
|
|
236
|
-
'
|
|
235
|
+
'availableOnSiteId': value['availableOnSiteId'],
|
|
236
|
+
'enabledOnSiteId': value['enabledOnSiteId'],
|
|
237
237
|
'related_id': value['relatedId'],
|
|
238
238
|
'related_type': value['relatedType'],
|
|
239
239
|
'includes_relations': value['includesRelations'],
|