@digital8/lighting-illusions-ts-sdk 0.0.525 → 0.0.527
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/.openapi-generator/FILES +0 -22
- package/README.md +2 -13
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/StoreProductChildRequestAssetsInner.d.ts +1 -1
- package/dist/models/StoreProductChildRequestAssetsInner.js +3 -3
- package/dist/models/UpdateProductChildRequestAssetsInner.d.ts +1 -1
- package/dist/models/UpdateProductChildRequestAssetsInner.js +3 -3
- package/dist/models/index.d.ts +0 -11
- package/dist/models/index.js +0 -11
- package/docs/StoreProductChildRequestAssetsInner.md +2 -2
- package/docs/UpdateProductChildRequestAssetsInner.md +2 -2
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/StoreProductChildRequestAssetsInner.ts +4 -4
- package/src/models/UpdateProductChildRequestAssetsInner.ts +4 -4
- package/src/models/index.ts +0 -11
- package/dist/models/PaginatedProductSearchResultResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductSearchResultResourceResponse.js +0 -57
- package/dist/models/ProductAggregationResource.d.ts +0 -50
- package/dist/models/ProductAggregationResource.js +0 -63
- package/dist/models/ProductAggregationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductAggregationResourceArrayResponse.js +0 -50
- package/dist/models/ProductRating.d.ts +0 -26
- package/dist/models/ProductRating.js +0 -52
- package/dist/models/ProductSearchResponseResource.d.ts +0 -54
- package/dist/models/ProductSearchResponseResource.js +0 -67
- package/dist/models/ProductSearchResponseResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductSearchResponseResourceArrayResponse.js +0 -50
- package/dist/models/ProductSearchResponseResourceMeta.d.ts +0 -50
- package/dist/models/ProductSearchResponseResourceMeta.js +0 -63
- package/dist/models/ProductSearchResponseResourcePriceInfo.d.ts +0 -50
- package/dist/models/ProductSearchResponseResourcePriceInfo.js +0 -63
- package/dist/models/ProductSearchResultResource.d.ts +0 -116
- package/dist/models/ProductSearchResultResource.js +0 -105
- package/dist/models/ProductSearchResultResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductSearchResultResourceArrayResponse.js +0 -50
- package/dist/models/ProductSortBy.d.ts +0 -32
- package/dist/models/ProductSortBy.js +0 -58
- package/docs/PaginatedProductSearchResultResourceResponse.md +0 -36
- package/docs/ProductAggregationResource.md +0 -40
- package/docs/ProductAggregationResourceArrayResponse.md +0 -34
- package/docs/ProductRating.md +0 -32
- package/docs/ProductSearchResponseResource.md +0 -40
- package/docs/ProductSearchResponseResourceArrayResponse.md +0 -34
- package/docs/ProductSearchResponseResourceMeta.md +0 -40
- package/docs/ProductSearchResponseResourcePriceInfo.md +0 -40
- package/docs/ProductSearchResultResource.md +0 -62
- package/docs/ProductSearchResultResourceArrayResponse.md +0 -34
- package/docs/ProductSortBy.md +0 -32
- package/src/models/PaginatedProductSearchResultResourceResponse.ts +0 -90
- package/src/models/ProductAggregationResource.ts +0 -93
- package/src/models/ProductAggregationResourceArrayResponse.ts +0 -73
- package/src/models/ProductRating.ts +0 -54
- package/src/models/ProductSearchResponseResource.ts +0 -122
- package/src/models/ProductSearchResponseResourceArrayResponse.ts +0 -73
- package/src/models/ProductSearchResponseResourceMeta.ts +0 -93
- package/src/models/ProductSearchResponseResourcePriceInfo.ts +0 -93
- package/src/models/ProductSearchResultResource.ts +0 -191
- package/src/models/ProductSearchResultResourceArrayResponse.ts +0 -73
- package/src/models/ProductSortBy.ts +0 -60
package/.openapi-generator/FILES
CHANGED
|
@@ -106,7 +106,6 @@ docs/PaginatedProductChildResourceResponse.md
|
|
|
106
106
|
docs/PaginatedProductListResourceResponse.md
|
|
107
107
|
docs/PaginatedProductLiteResourceResponse.md
|
|
108
108
|
docs/PaginatedProductResourceResponse.md
|
|
109
|
-
docs/PaginatedProductSearchResultResourceResponse.md
|
|
110
109
|
docs/PaginatedProductTypeListResourceResponse.md
|
|
111
110
|
docs/PaginatedProductTypeLiteResourceResponse.md
|
|
112
111
|
docs/PaginatedProductTypeResourceResponse.md
|
|
@@ -123,8 +122,6 @@ docs/PaginatedTagListResourceResponse.md
|
|
|
123
122
|
docs/PaginatedTagLiteResourceResponse.md
|
|
124
123
|
docs/PaginatedTagResourceResponse.md
|
|
125
124
|
docs/PagingMetadata.md
|
|
126
|
-
docs/ProductAggregationResource.md
|
|
127
|
-
docs/ProductAggregationResourceArrayResponse.md
|
|
128
125
|
docs/ProductApi.md
|
|
129
126
|
docs/ProductChildListResource.md
|
|
130
127
|
docs/ProductChildListResourceArrayResponse.md
|
|
@@ -145,16 +142,8 @@ docs/ProductListResource.md
|
|
|
145
142
|
docs/ProductListResourceArrayResponse.md
|
|
146
143
|
docs/ProductLiteResource.md
|
|
147
144
|
docs/ProductLiteResourceArrayResponse.md
|
|
148
|
-
docs/ProductRating.md
|
|
149
145
|
docs/ProductResource.md
|
|
150
146
|
docs/ProductResourceArrayResponse.md
|
|
151
|
-
docs/ProductSearchResponseResource.md
|
|
152
|
-
docs/ProductSearchResponseResourceArrayResponse.md
|
|
153
|
-
docs/ProductSearchResponseResourceMeta.md
|
|
154
|
-
docs/ProductSearchResponseResourcePriceInfo.md
|
|
155
|
-
docs/ProductSearchResultResource.md
|
|
156
|
-
docs/ProductSearchResultResourceArrayResponse.md
|
|
157
|
-
docs/ProductSortBy.md
|
|
158
147
|
docs/ProductTypeApi.md
|
|
159
148
|
docs/ProductTypeListResource.md
|
|
160
149
|
docs/ProductTypeListResourceArrayResponse.md
|
|
@@ -345,7 +334,6 @@ src/models/PaginatedProductChildResourceResponse.ts
|
|
|
345
334
|
src/models/PaginatedProductListResourceResponse.ts
|
|
346
335
|
src/models/PaginatedProductLiteResourceResponse.ts
|
|
347
336
|
src/models/PaginatedProductResourceResponse.ts
|
|
348
|
-
src/models/PaginatedProductSearchResultResourceResponse.ts
|
|
349
337
|
src/models/PaginatedProductTypeListResourceResponse.ts
|
|
350
338
|
src/models/PaginatedProductTypeLiteResourceResponse.ts
|
|
351
339
|
src/models/PaginatedProductTypeResourceResponse.ts
|
|
@@ -362,8 +350,6 @@ src/models/PaginatedTagListResourceResponse.ts
|
|
|
362
350
|
src/models/PaginatedTagLiteResourceResponse.ts
|
|
363
351
|
src/models/PaginatedTagResourceResponse.ts
|
|
364
352
|
src/models/PagingMetadata.ts
|
|
365
|
-
src/models/ProductAggregationResource.ts
|
|
366
|
-
src/models/ProductAggregationResourceArrayResponse.ts
|
|
367
353
|
src/models/ProductChildListResource.ts
|
|
368
354
|
src/models/ProductChildListResourceArrayResponse.ts
|
|
369
355
|
src/models/ProductChildLiteResource.ts
|
|
@@ -382,16 +368,8 @@ src/models/ProductListResource.ts
|
|
|
382
368
|
src/models/ProductListResourceArrayResponse.ts
|
|
383
369
|
src/models/ProductLiteResource.ts
|
|
384
370
|
src/models/ProductLiteResourceArrayResponse.ts
|
|
385
|
-
src/models/ProductRating.ts
|
|
386
371
|
src/models/ProductResource.ts
|
|
387
372
|
src/models/ProductResourceArrayResponse.ts
|
|
388
|
-
src/models/ProductSearchResponseResource.ts
|
|
389
|
-
src/models/ProductSearchResponseResourceArrayResponse.ts
|
|
390
|
-
src/models/ProductSearchResponseResourceMeta.ts
|
|
391
|
-
src/models/ProductSearchResponseResourcePriceInfo.ts
|
|
392
|
-
src/models/ProductSearchResultResource.ts
|
|
393
|
-
src/models/ProductSearchResultResourceArrayResponse.ts
|
|
394
|
-
src/models/ProductSortBy.ts
|
|
395
373
|
src/models/ProductTypeListResource.ts
|
|
396
374
|
src/models/ProductTypeListResourceArrayResponse.ts
|
|
397
375
|
src/models/ProductTypeLiteResource.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.527
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -244,7 +244,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
244
244
|
- [PaginatedProductListResourceResponse](docs/PaginatedProductListResourceResponse.md)
|
|
245
245
|
- [PaginatedProductLiteResourceResponse](docs/PaginatedProductLiteResourceResponse.md)
|
|
246
246
|
- [PaginatedProductResourceResponse](docs/PaginatedProductResourceResponse.md)
|
|
247
|
-
- [PaginatedProductSearchResultResourceResponse](docs/PaginatedProductSearchResultResourceResponse.md)
|
|
248
247
|
- [PaginatedProductTypeListResourceResponse](docs/PaginatedProductTypeListResourceResponse.md)
|
|
249
248
|
- [PaginatedProductTypeLiteResourceResponse](docs/PaginatedProductTypeLiteResourceResponse.md)
|
|
250
249
|
- [PaginatedProductTypeResourceResponse](docs/PaginatedProductTypeResourceResponse.md)
|
|
@@ -261,8 +260,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
261
260
|
- [PaginatedTagLiteResourceResponse](docs/PaginatedTagLiteResourceResponse.md)
|
|
262
261
|
- [PaginatedTagResourceResponse](docs/PaginatedTagResourceResponse.md)
|
|
263
262
|
- [PagingMetadata](docs/PagingMetadata.md)
|
|
264
|
-
- [ProductAggregationResource](docs/ProductAggregationResource.md)
|
|
265
|
-
- [ProductAggregationResourceArrayResponse](docs/ProductAggregationResourceArrayResponse.md)
|
|
266
263
|
- [ProductChildListResource](docs/ProductChildListResource.md)
|
|
267
264
|
- [ProductChildListResourceArrayResponse](docs/ProductChildListResourceArrayResponse.md)
|
|
268
265
|
- [ProductChildLiteResource](docs/ProductChildLiteResource.md)
|
|
@@ -281,16 +278,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
281
278
|
- [ProductListResourceArrayResponse](docs/ProductListResourceArrayResponse.md)
|
|
282
279
|
- [ProductLiteResource](docs/ProductLiteResource.md)
|
|
283
280
|
- [ProductLiteResourceArrayResponse](docs/ProductLiteResourceArrayResponse.md)
|
|
284
|
-
- [ProductRating](docs/ProductRating.md)
|
|
285
281
|
- [ProductResource](docs/ProductResource.md)
|
|
286
282
|
- [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
|
|
287
|
-
- [ProductSearchResponseResource](docs/ProductSearchResponseResource.md)
|
|
288
|
-
- [ProductSearchResponseResourceArrayResponse](docs/ProductSearchResponseResourceArrayResponse.md)
|
|
289
|
-
- [ProductSearchResponseResourceMeta](docs/ProductSearchResponseResourceMeta.md)
|
|
290
|
-
- [ProductSearchResponseResourcePriceInfo](docs/ProductSearchResponseResourcePriceInfo.md)
|
|
291
|
-
- [ProductSearchResultResource](docs/ProductSearchResultResource.md)
|
|
292
|
-
- [ProductSearchResultResourceArrayResponse](docs/ProductSearchResultResourceArrayResponse.md)
|
|
293
|
-
- [ProductSortBy](docs/ProductSortBy.md)
|
|
294
283
|
- [ProductTypeListResource](docs/ProductTypeListResource.md)
|
|
295
284
|
- [ProductTypeListResourceArrayResponse](docs/ProductTypeListResourceArrayResponse.md)
|
|
296
285
|
- [ProductTypeLiteResource](docs/ProductTypeLiteResource.md)
|
|
@@ -377,7 +366,7 @@ and is automatically generated by the
|
|
|
377
366
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
378
367
|
|
|
379
368
|
- API version: `1.0.0`
|
|
380
|
-
- Package version: `0.0.
|
|
369
|
+
- Package version: `0.0.527`
|
|
381
370
|
- Generator version: `7.18.0`
|
|
382
371
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
383
372
|
|
|
@@ -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']),
|
|
@@ -28,7 +28,7 @@ function instanceOfStoreProductChildRequestAssetsInner(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('isLifestyleImage' in value) || value['isLifestyleImage'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('
|
|
31
|
+
if (!('index' in value) || value['index'] === undefined)
|
|
32
32
|
return false;
|
|
33
33
|
if (!('overlayTemplateIds' in value) || value['overlayTemplateIds'] === undefined)
|
|
34
34
|
return false;
|
|
@@ -46,7 +46,7 @@ function StoreProductChildRequestAssetsInnerFromJSONTyped(json, ignoreDiscrimina
|
|
|
46
46
|
'mimeType': json['mime_type'],
|
|
47
47
|
'fileId': json['file_id'],
|
|
48
48
|
'isLifestyleImage': json['is_lifestyle_image'],
|
|
49
|
-
'
|
|
49
|
+
'index': json['index'],
|
|
50
50
|
'overlayTemplateIds': json['overlay_template_ids'],
|
|
51
51
|
};
|
|
52
52
|
}
|
|
@@ -63,7 +63,7 @@ function StoreProductChildRequestAssetsInnerToJSONTyped(value, ignoreDiscriminat
|
|
|
63
63
|
'mime_type': value['mimeType'],
|
|
64
64
|
'file_id': value['fileId'],
|
|
65
65
|
'is_lifestyle_image': value['isLifestyleImage'],
|
|
66
|
-
'
|
|
66
|
+
'index': value['index'],
|
|
67
67
|
'overlay_template_ids': value['overlayTemplateIds'],
|
|
68
68
|
};
|
|
69
69
|
}
|
|
@@ -38,7 +38,7 @@ export interface UpdateProductChildRequestAssetsInner {
|
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof UpdateProductChildRequestAssetsInner
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
index: number;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the UpdateProductChildRequestAssetsInner interface.
|
|
@@ -26,7 +26,7 @@ function instanceOfUpdateProductChildRequestAssetsInner(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('fileId' in value) || value['fileId'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('
|
|
29
|
+
if (!('index' in value) || value['index'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
@@ -41,7 +41,7 @@ function UpdateProductChildRequestAssetsInnerFromJSONTyped(json, ignoreDiscrimin
|
|
|
41
41
|
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
42
42
|
'mimeType': json['mime_type'],
|
|
43
43
|
'fileId': json['file_id'],
|
|
44
|
-
'
|
|
44
|
+
'index': json['index'],
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
function UpdateProductChildRequestAssetsInnerToJSON(json) {
|
|
@@ -56,6 +56,6 @@ function UpdateProductChildRequestAssetsInnerToJSONTyped(value, ignoreDiscrimina
|
|
|
56
56
|
'alt_text': value['altText'],
|
|
57
57
|
'mime_type': value['mimeType'],
|
|
58
58
|
'file_id': value['fileId'],
|
|
59
|
-
'
|
|
59
|
+
'index': value['index'],
|
|
60
60
|
};
|
|
61
61
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -96,7 +96,6 @@ export * from './PaginatedProductChildResourceResponse';
|
|
|
96
96
|
export * from './PaginatedProductListResourceResponse';
|
|
97
97
|
export * from './PaginatedProductLiteResourceResponse';
|
|
98
98
|
export * from './PaginatedProductResourceResponse';
|
|
99
|
-
export * from './PaginatedProductSearchResultResourceResponse';
|
|
100
99
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
101
100
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
102
101
|
export * from './PaginatedProductTypeResourceResponse';
|
|
@@ -113,8 +112,6 @@ export * from './PaginatedTagListResourceResponse';
|
|
|
113
112
|
export * from './PaginatedTagLiteResourceResponse';
|
|
114
113
|
export * from './PaginatedTagResourceResponse';
|
|
115
114
|
export * from './PagingMetadata';
|
|
116
|
-
export * from './ProductAggregationResource';
|
|
117
|
-
export * from './ProductAggregationResourceArrayResponse';
|
|
118
115
|
export * from './ProductChildListResource';
|
|
119
116
|
export * from './ProductChildListResourceArrayResponse';
|
|
120
117
|
export * from './ProductChildLiteResource';
|
|
@@ -133,16 +130,8 @@ export * from './ProductListResource';
|
|
|
133
130
|
export * from './ProductListResourceArrayResponse';
|
|
134
131
|
export * from './ProductLiteResource';
|
|
135
132
|
export * from './ProductLiteResourceArrayResponse';
|
|
136
|
-
export * from './ProductRating';
|
|
137
133
|
export * from './ProductResource';
|
|
138
134
|
export * from './ProductResourceArrayResponse';
|
|
139
|
-
export * from './ProductSearchResponseResource';
|
|
140
|
-
export * from './ProductSearchResponseResourceArrayResponse';
|
|
141
|
-
export * from './ProductSearchResponseResourceMeta';
|
|
142
|
-
export * from './ProductSearchResponseResourcePriceInfo';
|
|
143
|
-
export * from './ProductSearchResultResource';
|
|
144
|
-
export * from './ProductSearchResultResourceArrayResponse';
|
|
145
|
-
export * from './ProductSortBy';
|
|
146
135
|
export * from './ProductTypeListResource';
|
|
147
136
|
export * from './ProductTypeListResourceArrayResponse';
|
|
148
137
|
export * from './ProductTypeLiteResource';
|
package/dist/models/index.js
CHANGED
|
@@ -114,7 +114,6 @@ __exportStar(require("./PaginatedProductChildResourceResponse"), exports);
|
|
|
114
114
|
__exportStar(require("./PaginatedProductListResourceResponse"), exports);
|
|
115
115
|
__exportStar(require("./PaginatedProductLiteResourceResponse"), exports);
|
|
116
116
|
__exportStar(require("./PaginatedProductResourceResponse"), exports);
|
|
117
|
-
__exportStar(require("./PaginatedProductSearchResultResourceResponse"), exports);
|
|
118
117
|
__exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
119
118
|
__exportStar(require("./PaginatedProductTypeLiteResourceResponse"), exports);
|
|
120
119
|
__exportStar(require("./PaginatedProductTypeResourceResponse"), exports);
|
|
@@ -131,8 +130,6 @@ __exportStar(require("./PaginatedTagListResourceResponse"), exports);
|
|
|
131
130
|
__exportStar(require("./PaginatedTagLiteResourceResponse"), exports);
|
|
132
131
|
__exportStar(require("./PaginatedTagResourceResponse"), exports);
|
|
133
132
|
__exportStar(require("./PagingMetadata"), exports);
|
|
134
|
-
__exportStar(require("./ProductAggregationResource"), exports);
|
|
135
|
-
__exportStar(require("./ProductAggregationResourceArrayResponse"), exports);
|
|
136
133
|
__exportStar(require("./ProductChildListResource"), exports);
|
|
137
134
|
__exportStar(require("./ProductChildListResourceArrayResponse"), exports);
|
|
138
135
|
__exportStar(require("./ProductChildLiteResource"), exports);
|
|
@@ -151,16 +148,8 @@ __exportStar(require("./ProductListResource"), exports);
|
|
|
151
148
|
__exportStar(require("./ProductListResourceArrayResponse"), exports);
|
|
152
149
|
__exportStar(require("./ProductLiteResource"), exports);
|
|
153
150
|
__exportStar(require("./ProductLiteResourceArrayResponse"), exports);
|
|
154
|
-
__exportStar(require("./ProductRating"), exports);
|
|
155
151
|
__exportStar(require("./ProductResource"), exports);
|
|
156
152
|
__exportStar(require("./ProductResourceArrayResponse"), exports);
|
|
157
|
-
__exportStar(require("./ProductSearchResponseResource"), exports);
|
|
158
|
-
__exportStar(require("./ProductSearchResponseResourceArrayResponse"), exports);
|
|
159
|
-
__exportStar(require("./ProductSearchResponseResourceMeta"), exports);
|
|
160
|
-
__exportStar(require("./ProductSearchResponseResourcePriceInfo"), exports);
|
|
161
|
-
__exportStar(require("./ProductSearchResultResource"), exports);
|
|
162
|
-
__exportStar(require("./ProductSearchResultResourceArrayResponse"), exports);
|
|
163
|
-
__exportStar(require("./ProductSortBy"), exports);
|
|
164
153
|
__exportStar(require("./ProductTypeListResource"), exports);
|
|
165
154
|
__exportStar(require("./ProductTypeListResourceArrayResponse"), exports);
|
|
166
155
|
__exportStar(require("./ProductTypeLiteResource"), exports);
|
|
@@ -10,7 +10,7 @@ Name | Type
|
|
|
10
10
|
`mimeType` | string
|
|
11
11
|
`fileId` | number
|
|
12
12
|
`isLifestyleImage` | boolean
|
|
13
|
-
`
|
|
13
|
+
`index` | number
|
|
14
14
|
`overlayTemplateIds` | Array<number>
|
|
15
15
|
|
|
16
16
|
## Example
|
|
@@ -24,7 +24,7 @@ const example = {
|
|
|
24
24
|
"mimeType": null,
|
|
25
25
|
"fileId": null,
|
|
26
26
|
"isLifestyleImage": null,
|
|
27
|
-
"
|
|
27
|
+
"index": null,
|
|
28
28
|
"overlayTemplateIds": null,
|
|
29
29
|
} satisfies StoreProductChildRequestAssetsInner
|
|
30
30
|
|
|
@@ -9,7 +9,7 @@ Name | Type
|
|
|
9
9
|
`altText` | string
|
|
10
10
|
`mimeType` | string
|
|
11
11
|
`fileId` | number
|
|
12
|
-
`
|
|
12
|
+
`index` | number
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
|
@@ -21,7 +21,7 @@ const example = {
|
|
|
21
21
|
"altText": null,
|
|
22
22
|
"mimeType": null,
|
|
23
23
|
"fileId": null,
|
|
24
|
-
"
|
|
24
|
+
"index": null,
|
|
25
25
|
} satisfies UpdateProductChildRequestAssetsInner
|
|
26
26
|
|
|
27
27
|
console.log(example)
|
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']),
|
|
@@ -48,7 +48,7 @@ export interface StoreProductChildRequestAssetsInner {
|
|
|
48
48
|
* @type {number}
|
|
49
49
|
* @memberof StoreProductChildRequestAssetsInner
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
index: number;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {Array<number>}
|
|
@@ -64,7 +64,7 @@ export function instanceOfStoreProductChildRequestAssetsInner(value: object): va
|
|
|
64
64
|
if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
|
|
65
65
|
if (!('fileId' in value) || value['fileId'] === undefined) return false;
|
|
66
66
|
if (!('isLifestyleImage' in value) || value['isLifestyleImage'] === undefined) return false;
|
|
67
|
-
if (!('
|
|
67
|
+
if (!('index' in value) || value['index'] === undefined) return false;
|
|
68
68
|
if (!('overlayTemplateIds' in value) || value['overlayTemplateIds'] === undefined) return false;
|
|
69
69
|
return true;
|
|
70
70
|
}
|
|
@@ -83,7 +83,7 @@ export function StoreProductChildRequestAssetsInnerFromJSONTyped(json: any, igno
|
|
|
83
83
|
'mimeType': json['mime_type'],
|
|
84
84
|
'fileId': json['file_id'],
|
|
85
85
|
'isLifestyleImage': json['is_lifestyle_image'],
|
|
86
|
-
'
|
|
86
|
+
'index': json['index'],
|
|
87
87
|
'overlayTemplateIds': json['overlay_template_ids'],
|
|
88
88
|
};
|
|
89
89
|
}
|
|
@@ -103,7 +103,7 @@ export function StoreProductChildRequestAssetsInnerToJSONTyped(value?: StoreProd
|
|
|
103
103
|
'mime_type': value['mimeType'],
|
|
104
104
|
'file_id': value['fileId'],
|
|
105
105
|
'is_lifestyle_image': value['isLifestyleImage'],
|
|
106
|
-
'
|
|
106
|
+
'index': value['index'],
|
|
107
107
|
'overlay_template_ids': value['overlayTemplateIds'],
|
|
108
108
|
};
|
|
109
109
|
}
|
|
@@ -42,7 +42,7 @@ export interface UpdateProductChildRequestAssetsInner {
|
|
|
42
42
|
* @type {number}
|
|
43
43
|
* @memberof UpdateProductChildRequestAssetsInner
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
index: number;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
@@ -51,7 +51,7 @@ export interface UpdateProductChildRequestAssetsInner {
|
|
|
51
51
|
export function instanceOfUpdateProductChildRequestAssetsInner(value: object): value is UpdateProductChildRequestAssetsInner {
|
|
52
52
|
if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
|
|
53
53
|
if (!('fileId' in value) || value['fileId'] === undefined) return false;
|
|
54
|
-
if (!('
|
|
54
|
+
if (!('index' in value) || value['index'] === undefined) return false;
|
|
55
55
|
return true;
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -68,7 +68,7 @@ export function UpdateProductChildRequestAssetsInnerFromJSONTyped(json: any, ign
|
|
|
68
68
|
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
69
69
|
'mimeType': json['mime_type'],
|
|
70
70
|
'fileId': json['file_id'],
|
|
71
|
-
'
|
|
71
|
+
'index': json['index'],
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -86,7 +86,7 @@ export function UpdateProductChildRequestAssetsInnerToJSONTyped(value?: UpdatePr
|
|
|
86
86
|
'alt_text': value['altText'],
|
|
87
87
|
'mime_type': value['mimeType'],
|
|
88
88
|
'file_id': value['fileId'],
|
|
89
|
-
'
|
|
89
|
+
'index': value['index'],
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
|
package/src/models/index.ts
CHANGED
|
@@ -98,7 +98,6 @@ export * from './PaginatedProductChildResourceResponse';
|
|
|
98
98
|
export * from './PaginatedProductListResourceResponse';
|
|
99
99
|
export * from './PaginatedProductLiteResourceResponse';
|
|
100
100
|
export * from './PaginatedProductResourceResponse';
|
|
101
|
-
export * from './PaginatedProductSearchResultResourceResponse';
|
|
102
101
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
103
102
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
104
103
|
export * from './PaginatedProductTypeResourceResponse';
|
|
@@ -115,8 +114,6 @@ export * from './PaginatedTagListResourceResponse';
|
|
|
115
114
|
export * from './PaginatedTagLiteResourceResponse';
|
|
116
115
|
export * from './PaginatedTagResourceResponse';
|
|
117
116
|
export * from './PagingMetadata';
|
|
118
|
-
export * from './ProductAggregationResource';
|
|
119
|
-
export * from './ProductAggregationResourceArrayResponse';
|
|
120
117
|
export * from './ProductChildListResource';
|
|
121
118
|
export * from './ProductChildListResourceArrayResponse';
|
|
122
119
|
export * from './ProductChildLiteResource';
|
|
@@ -135,16 +132,8 @@ export * from './ProductListResource';
|
|
|
135
132
|
export * from './ProductListResourceArrayResponse';
|
|
136
133
|
export * from './ProductLiteResource';
|
|
137
134
|
export * from './ProductLiteResourceArrayResponse';
|
|
138
|
-
export * from './ProductRating';
|
|
139
135
|
export * from './ProductResource';
|
|
140
136
|
export * from './ProductResourceArrayResponse';
|
|
141
|
-
export * from './ProductSearchResponseResource';
|
|
142
|
-
export * from './ProductSearchResponseResourceArrayResponse';
|
|
143
|
-
export * from './ProductSearchResponseResourceMeta';
|
|
144
|
-
export * from './ProductSearchResponseResourcePriceInfo';
|
|
145
|
-
export * from './ProductSearchResultResource';
|
|
146
|
-
export * from './ProductSearchResultResourceArrayResponse';
|
|
147
|
-
export * from './ProductSortBy';
|
|
148
137
|
export * from './ProductTypeListResource';
|
|
149
138
|
export * from './ProductTypeListResourceArrayResponse';
|
|
150
139
|
export * from './ProductTypeLiteResource';
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { ProductSearchResultResource } from './ProductSearchResultResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedProductSearchResultResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedProductSearchResultResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<ProductSearchResultResource>}
|
|
23
|
-
* @memberof PaginatedProductSearchResultResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<ProductSearchResultResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedProductSearchResultResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedProductSearchResultResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedProductSearchResultResourceResponse(value: object): value is PaginatedProductSearchResultResourceResponse;
|
|
37
|
-
export declare function PaginatedProductSearchResultResourceResponseFromJSON(json: any): PaginatedProductSearchResultResourceResponse;
|
|
38
|
-
export declare function PaginatedProductSearchResultResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductSearchResultResourceResponse;
|
|
39
|
-
export declare function PaginatedProductSearchResultResourceResponseToJSON(json: any): PaginatedProductSearchResultResourceResponse;
|
|
40
|
-
export declare function PaginatedProductSearchResultResourceResponseToJSONTyped(value?: PaginatedProductSearchResultResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfPaginatedProductSearchResultResourceResponse = instanceOfPaginatedProductSearchResultResourceResponse;
|
|
17
|
-
exports.PaginatedProductSearchResultResourceResponseFromJSON = PaginatedProductSearchResultResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedProductSearchResultResourceResponseFromJSONTyped = PaginatedProductSearchResultResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedProductSearchResultResourceResponseToJSON = PaginatedProductSearchResultResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedProductSearchResultResourceResponseToJSONTyped = PaginatedProductSearchResultResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var ProductSearchResultResource_1 = require("./ProductSearchResultResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedProductSearchResultResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedProductSearchResultResourceResponse(value) {
|
|
27
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function PaginatedProductSearchResultResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedProductSearchResultResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedProductSearchResultResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(ProductSearchResultResource_1.ProductSearchResultResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedProductSearchResultResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedProductSearchResultResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedProductSearchResultResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(ProductSearchResultResource_1.ProductSearchResultResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ProductAggregationResource
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductAggregationResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<object>}
|
|
21
|
-
* @memberof ProductAggregationResource
|
|
22
|
-
*/
|
|
23
|
-
attributes: Array<object>;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<object>}
|
|
27
|
-
* @memberof ProductAggregationResource
|
|
28
|
-
*/
|
|
29
|
-
priceRanges: Array<object>;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<object>}
|
|
33
|
-
* @memberof ProductAggregationResource
|
|
34
|
-
*/
|
|
35
|
-
brands: Array<object>;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Array<object>}
|
|
39
|
-
* @memberof ProductAggregationResource
|
|
40
|
-
*/
|
|
41
|
-
ratings: Array<object>;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the ProductAggregationResource interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfProductAggregationResource(value: object): value is ProductAggregationResource;
|
|
47
|
-
export declare function ProductAggregationResourceFromJSON(json: any): ProductAggregationResource;
|
|
48
|
-
export declare function ProductAggregationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductAggregationResource;
|
|
49
|
-
export declare function ProductAggregationResourceToJSON(json: any): ProductAggregationResource;
|
|
50
|
-
export declare function ProductAggregationResourceToJSONTyped(value?: ProductAggregationResource | null, ignoreDiscriminator?: boolean): any;
|