@digital8/lighting-illusions-ts-sdk 0.0.967 → 0.0.968
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/UpdateProductChildRequest.d.ts +0 -6
- package/dist/models/UpdateProductChildRequest.js +0 -2
- package/docs/UpdateProductChildRequest.md +0 -2
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/UpdateProductChildRequest.ts +0 -8
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.968
|
|
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.968`
|
|
472
472
|
- Generator version: `7.19.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']),
|
|
@@ -101,12 +101,6 @@ export interface UpdateProductChildRequest {
|
|
|
101
101
|
* @memberof UpdateProductChildRequest
|
|
102
102
|
*/
|
|
103
103
|
sites: Array<StoreProductChildRequestSitesInner>;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {Array<number>}
|
|
107
|
-
* @memberof UpdateProductChildRequest
|
|
108
|
-
*/
|
|
109
|
-
accessories?: Array<number>;
|
|
110
104
|
/**
|
|
111
105
|
*
|
|
112
106
|
* @type {Array<UpdateProductChildRequestAssetsInner>}
|
|
@@ -70,7 +70,6 @@ function UpdateProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
70
70
|
'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
|
|
71
71
|
'stock': json['stock'],
|
|
72
72
|
'sites': (json['sites'].map(StoreProductChildRequestSitesInner_1.StoreProductChildRequestSitesInnerFromJSON)),
|
|
73
|
-
'accessories': json['accessories'] == null ? undefined : json['accessories'],
|
|
74
73
|
'assets': (json['assets'].map(UpdateProductChildRequestAssetsInner_1.UpdateProductChildRequestAssetsInnerFromJSON)),
|
|
75
74
|
};
|
|
76
75
|
}
|
|
@@ -97,7 +96,6 @@ function UpdateProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
97
96
|
'popularity_score': value['popularityScore'],
|
|
98
97
|
'stock': value['stock'],
|
|
99
98
|
'sites': (value['sites'].map(StoreProductChildRequestSitesInner_1.StoreProductChildRequestSitesInnerToJSON)),
|
|
100
|
-
'accessories': value['accessories'],
|
|
101
99
|
'assets': (value['assets'].map(UpdateProductChildRequestAssetsInner_1.UpdateProductChildRequestAssetsInnerToJSON)),
|
|
102
100
|
};
|
|
103
101
|
}
|
|
@@ -20,7 +20,6 @@ Name | Type
|
|
|
20
20
|
`popularityScore` | number
|
|
21
21
|
`stock` | number
|
|
22
22
|
`sites` | [Array<StoreProductChildRequestSitesInner>](StoreProductChildRequestSitesInner.md)
|
|
23
|
-
`accessories` | Array<number>
|
|
24
23
|
`assets` | [Array<UpdateProductChildRequestAssetsInner>](UpdateProductChildRequestAssetsInner.md)
|
|
25
24
|
|
|
26
25
|
## Example
|
|
@@ -44,7 +43,6 @@ const example = {
|
|
|
44
43
|
"popularityScore": null,
|
|
45
44
|
"stock": null,
|
|
46
45
|
"sites": null,
|
|
47
|
-
"accessories": null,
|
|
48
46
|
"assets": null,
|
|
49
47
|
} satisfies UpdateProductChildRequest
|
|
50
48
|
|
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']),
|
|
@@ -118,12 +118,6 @@ export interface UpdateProductChildRequest {
|
|
|
118
118
|
* @memberof UpdateProductChildRequest
|
|
119
119
|
*/
|
|
120
120
|
sites: Array<StoreProductChildRequestSitesInner>;
|
|
121
|
-
/**
|
|
122
|
-
*
|
|
123
|
-
* @type {Array<number>}
|
|
124
|
-
* @memberof UpdateProductChildRequest
|
|
125
|
-
*/
|
|
126
|
-
accessories?: Array<number>;
|
|
127
121
|
/**
|
|
128
122
|
*
|
|
129
123
|
* @type {Array<UpdateProductChildRequestAssetsInner>}
|
|
@@ -174,7 +168,6 @@ export function UpdateProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
174
168
|
'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
|
|
175
169
|
'stock': json['stock'],
|
|
176
170
|
'sites': ((json['sites'] as Array<any>).map(StoreProductChildRequestSitesInnerFromJSON)),
|
|
177
|
-
'accessories': json['accessories'] == null ? undefined : json['accessories'],
|
|
178
171
|
'assets': ((json['assets'] as Array<any>).map(UpdateProductChildRequestAssetsInnerFromJSON)),
|
|
179
172
|
};
|
|
180
173
|
}
|
|
@@ -204,7 +197,6 @@ export function UpdateProductChildRequestToJSONTyped(value?: UpdateProductChildR
|
|
|
204
197
|
'popularity_score': value['popularityScore'],
|
|
205
198
|
'stock': value['stock'],
|
|
206
199
|
'sites': ((value['sites'] as Array<any>).map(StoreProductChildRequestSitesInnerToJSON)),
|
|
207
|
-
'accessories': value['accessories'],
|
|
208
200
|
'assets': ((value['assets'] as Array<any>).map(UpdateProductChildRequestAssetsInnerToJSON)),
|
|
209
201
|
};
|
|
210
202
|
}
|