@digital8/lighting-illusions-ts-sdk 0.0.690 → 0.0.692
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/GetAllProductRangeRequest.d.ts +1 -1
- package/dist/models/GetAllProductRangeRequest.js +2 -2
- package/dist/models/IndexProductRangeRequest.d.ts +1 -1
- package/dist/models/IndexProductRangeRequest.js +2 -2
- package/docs/GetAllProductRangeRequest.md +2 -2
- package/docs/IndexProductRangeRequest.md +2 -2
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllProductRangeRequest.ts +3 -3
- package/src/models/IndexProductRangeRequest.ts +3 -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.692
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -501,7 +501,7 @@ and is automatically generated by the
|
|
|
501
501
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
502
502
|
|
|
503
503
|
- API version: `1.0.0`
|
|
504
|
-
- Package version: `0.0.
|
|
504
|
+
- Package version: `0.0.692`
|
|
505
505
|
- Generator version: `7.19.0`
|
|
506
506
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
507
507
|
|
|
@@ -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']),
|
|
@@ -57,7 +57,7 @@ function GetAllProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
57
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
58
58
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
59
59
|
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
60
|
-
'
|
|
60
|
+
'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
function GetAllProductRangeRequestToJSON(json) {
|
|
@@ -77,6 +77,6 @@ function GetAllProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
77
77
|
'includes_relations': value['includesRelations'],
|
|
78
78
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
79
79
|
'supplier_id': value['supplierId'],
|
|
80
|
-
'categories-id': value['
|
|
80
|
+
'siteDetails-categories-id': value['siteDetailsCategoriesId'],
|
|
81
81
|
};
|
|
82
82
|
}
|
|
@@ -56,7 +56,7 @@ function IndexProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'page': json['page'] == null ? undefined : json['page'],
|
|
57
57
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
58
58
|
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
59
|
-
'
|
|
59
|
+
'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
|
|
60
60
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
61
61
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
62
62
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -78,7 +78,7 @@ function IndexProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
78
78
|
'page': value['page'],
|
|
79
79
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
80
80
|
'supplier_id': value['supplierId'],
|
|
81
|
-
'categories-id': value['
|
|
81
|
+
'siteDetails-categories-id': value['siteDetailsCategoriesId'],
|
|
82
82
|
'related_id': value['relatedId'],
|
|
83
83
|
'related_type': value['relatedType'],
|
|
84
84
|
'includes_relations': value['includesRelations'],
|
|
@@ -14,7 +14,7 @@ Name | Type
|
|
|
14
14
|
`includesRelations` | boolean
|
|
15
15
|
`siteDetailsSiteId` | Array<string>
|
|
16
16
|
`supplierId` | Array<string>
|
|
17
|
-
`
|
|
17
|
+
`siteDetailsCategoriesId` | Array<string>
|
|
18
18
|
|
|
19
19
|
## Example
|
|
20
20
|
|
|
@@ -31,7 +31,7 @@ const example = {
|
|
|
31
31
|
"includesRelations": null,
|
|
32
32
|
"siteDetailsSiteId": null,
|
|
33
33
|
"supplierId": null,
|
|
34
|
-
"
|
|
34
|
+
"siteDetailsCategoriesId": null,
|
|
35
35
|
} satisfies GetAllProductRangeRequest
|
|
36
36
|
|
|
37
37
|
console.log(example)
|
|
@@ -13,7 +13,7 @@ Name | Type
|
|
|
13
13
|
`page` | number
|
|
14
14
|
`siteDetailsSiteId` | Array<string>
|
|
15
15
|
`supplierId` | Array<string>
|
|
16
|
-
`
|
|
16
|
+
`siteDetailsCategoriesId` | Array<string>
|
|
17
17
|
`relatedId` | number
|
|
18
18
|
`relatedType` | string
|
|
19
19
|
`includesRelations` | boolean
|
|
@@ -32,7 +32,7 @@ const example = {
|
|
|
32
32
|
"page": null,
|
|
33
33
|
"siteDetailsSiteId": null,
|
|
34
34
|
"supplierId": null,
|
|
35
|
-
"
|
|
35
|
+
"siteDetailsCategoriesId": null,
|
|
36
36
|
"relatedId": null,
|
|
37
37
|
"relatedType": null,
|
|
38
38
|
"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']),
|
|
@@ -72,7 +72,7 @@ export interface GetAllProductRangeRequest {
|
|
|
72
72
|
* @type {Array<string>}
|
|
73
73
|
* @memberof GetAllProductRangeRequest
|
|
74
74
|
*/
|
|
75
|
-
|
|
75
|
+
siteDetailsCategoriesId?: Array<string>;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
|
|
@@ -122,7 +122,7 @@ export function GetAllProductRangeRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
122
122
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
123
123
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
124
124
|
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
125
|
-
'
|
|
125
|
+
'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -145,7 +145,7 @@ export function GetAllProductRangeRequestToJSONTyped(value?: GetAllProductRangeR
|
|
|
145
145
|
'includes_relations': value['includesRelations'],
|
|
146
146
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
147
147
|
'supplier_id': value['supplierId'],
|
|
148
|
-
'categories-id': value['
|
|
148
|
+
'siteDetails-categories-id': value['siteDetailsCategoriesId'],
|
|
149
149
|
};
|
|
150
150
|
}
|
|
151
151
|
|
|
@@ -66,7 +66,7 @@ export interface IndexProductRangeRequest {
|
|
|
66
66
|
* @type {Array<string>}
|
|
67
67
|
* @memberof IndexProductRangeRequest
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
siteDetailsCategoriesId?: Array<string>;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @type {number}
|
|
@@ -133,7 +133,7 @@ export function IndexProductRangeRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
133
133
|
'page': json['page'] == null ? undefined : json['page'],
|
|
134
134
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
135
135
|
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
136
|
-
'
|
|
136
|
+
'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
|
|
137
137
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
138
138
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
139
139
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -158,7 +158,7 @@ export function IndexProductRangeRequestToJSONTyped(value?: IndexProductRangeReq
|
|
|
158
158
|
'page': value['page'],
|
|
159
159
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
160
160
|
'supplier_id': value['supplierId'],
|
|
161
|
-
'categories-id': value['
|
|
161
|
+
'siteDetails-categories-id': value['siteDetailsCategoriesId'],
|
|
162
162
|
'related_id': value['relatedId'],
|
|
163
163
|
'related_type': value['relatedType'],
|
|
164
164
|
'includes_relations': value['includesRelations'],
|