@digital8/lighting-illusions-ts-sdk 0.0.962 → 0.0.963
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/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 +2 -3
- 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.963
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -465,7 +465,7 @@ and is automatically generated by the
|
|
|
465
465
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
466
466
|
|
|
467
467
|
- API version: `1.0.0`
|
|
468
|
-
- Package version: `0.0.
|
|
468
|
+
- Package version: `0.0.963`
|
|
469
469
|
- Generator version: `7.19.0`
|
|
470
470
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
471
471
|
|
|
@@ -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']),
|
|
@@ -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 | 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']),
|
|
@@ -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
|
}
|