@digital8/lighting-illusions-ts-sdk 0.0.632 → 0.0.633
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 +10 -34
- package/README.md +7 -24
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +2 -3
- package/dist/models/OverlayTemplateAssetFrontendResource.js +2 -3
- package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
- package/dist/models/OverlayTemplateAssetResource.js +3 -3
- package/dist/models/ProductCompareResource.d.ts +2 -2
- package/dist/models/ProductSearchResultResource.d.ts +6 -12
- package/dist/models/ProductSearchResultResource.js +4 -8
- package/dist/models/ProductStatus.d.ts +24 -0
- package/dist/models/ProductStatus.js +50 -0
- package/dist/models/SupplierFrontendResource.d.ts +8 -7
- package/dist/models/SupplierFrontendResource.js +9 -8
- package/dist/models/WishlistCheckResource.d.ts +32 -0
- package/dist/models/WishlistCheckResource.js +51 -0
- package/dist/models/WishlistCheckResourceArrayResponse.d.ts +33 -0
- package/dist/models/WishlistCheckResourceArrayResponse.js +50 -0
- package/dist/models/WishlistToggleResource.d.ts +38 -0
- package/dist/models/WishlistToggleResource.js +55 -0
- package/dist/models/WishlistToggleResourceArrayResponse.d.ts +33 -0
- package/dist/models/WishlistToggleResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +5 -16
- package/dist/models/index.js +5 -16
- package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
- package/docs/OverlayTemplateAssetResource.md +1 -1
- package/docs/ProductCompareResource.md +1 -1
- package/docs/ProductSearchResultResource.md +2 -4
- package/docs/{ProductAvailability.md → ProductStatus.md} +4 -4
- package/docs/SupplierFrontendResource.md +4 -4
- package/docs/{StoreDefinitionRequest.md → WishlistCheckResource.md} +6 -8
- package/docs/{DefinitionResourceArrayResponse.md → WishlistCheckResourceArrayResponse.md} +5 -5
- package/docs/{DefinitionListResource.md → WishlistToggleResource.md} +8 -8
- package/docs/{DefinitionListResourceArrayResponse.md → WishlistToggleResourceArrayResponse.md} +5 -5
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/OverlayTemplateAssetFrontendResource.ts +4 -12
- package/src/models/OverlayTemplateAssetResource.ts +10 -10
- package/src/models/ProductCompareResource.ts +2 -2
- package/src/models/ProductSearchResultResource.ts +9 -18
- package/src/models/ProductStatus.ts +52 -0
- package/src/models/SupplierFrontendResource.ts +27 -20
- package/src/models/WishlistCheckResource.ts +66 -0
- package/src/models/WishlistCheckResourceArrayResponse.ts +73 -0
- package/src/models/WishlistToggleResource.ts +75 -0
- package/src/models/WishlistToggleResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +5 -16
- package/dist/apis/DefinitionApi.d.ts +0 -85
- package/dist/apis/DefinitionApi.js +0 -355
- package/dist/models/CategoryFrontendResource.d.ts +0 -70
- package/dist/models/CategoryFrontendResource.js +0 -73
- package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/CategoryFrontendResourceArrayResponse.js +0 -50
- package/dist/models/CategoryWithChildrenFrontendResource.d.ts +0 -39
- package/dist/models/CategoryWithChildrenFrontendResource.js +0 -56
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +0 -50
- package/dist/models/DefinitionListResource.d.ts +0 -38
- package/dist/models/DefinitionListResource.js +0 -55
- package/dist/models/DefinitionListResourceArrayResponse.d.ts +0 -33
- package/dist/models/DefinitionListResourceArrayResponse.js +0 -50
- package/dist/models/DefinitionResource.d.ts +0 -44
- package/dist/models/DefinitionResource.js +0 -59
- package/dist/models/DefinitionResourceArrayResponse.d.ts +0 -33
- package/dist/models/DefinitionResourceArrayResponse.js +0 -50
- package/dist/models/GetAllDefinitionRequest.d.ts +0 -80
- package/dist/models/GetAllDefinitionRequest.js +0 -76
- package/dist/models/IndexDefinitionRequest.d.ts +0 -92
- package/dist/models/IndexDefinitionRequest.js +0 -80
- package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCategoryFrontendResourceResponse.js +0 -57
- package/dist/models/PaginatedDefinitionListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedDefinitionListResourceResponse.js +0 -57
- package/dist/models/PaginatedDefinitionResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedDefinitionResourceResponse.js +0 -57
- package/dist/models/ProductAvailability.d.ts +0 -26
- package/dist/models/ProductAvailability.js +0 -52
- package/dist/models/StoreDefinitionRequest.d.ts +0 -38
- package/dist/models/StoreDefinitionRequest.js +0 -55
- package/dist/models/UpdateDefinitionRequest.d.ts +0 -38
- package/dist/models/UpdateDefinitionRequest.js +0 -55
- package/docs/CategoryFrontendResource.md +0 -46
- package/docs/CategoryFrontendResourceArrayResponse.md +0 -34
- package/docs/CategoryWithChildrenFrontendResource.md +0 -36
- package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +0 -34
- package/docs/DefinitionApi.md +0 -407
- package/docs/DefinitionResource.md +0 -38
- package/docs/GetAllDefinitionRequest.md +0 -44
- package/docs/IndexDefinitionRequest.md +0 -48
- package/docs/PaginatedCategoryFrontendResourceResponse.md +0 -36
- package/docs/PaginatedDefinitionListResourceResponse.md +0 -36
- package/docs/PaginatedDefinitionResourceResponse.md +0 -36
- package/docs/UpdateDefinitionRequest.md +0 -36
- package/src/apis/DefinitionApi.ts +0 -286
- package/src/models/CategoryFrontendResource.ts +0 -133
- package/src/models/CategoryFrontendResourceArrayResponse.ts +0 -73
- package/src/models/CategoryWithChildrenFrontendResource.ts +0 -83
- package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +0 -73
- package/src/models/DefinitionListResource.ts +0 -75
- package/src/models/DefinitionListResourceArrayResponse.ts +0 -73
- package/src/models/DefinitionResource.ts +0 -84
- package/src/models/DefinitionResourceArrayResponse.ts +0 -73
- package/src/models/GetAllDefinitionRequest.ts +0 -127
- package/src/models/IndexDefinitionRequest.ts +0 -143
- package/src/models/PaginatedCategoryFrontendResourceResponse.ts +0 -90
- package/src/models/PaginatedDefinitionListResourceResponse.ts +0 -90
- package/src/models/PaginatedDefinitionResourceResponse.ts +0 -90
- package/src/models/ProductAvailability.ts +0 -54
- package/src/models/StoreDefinitionRequest.ts +0 -75
- package/src/models/UpdateDefinitionRequest.ts +0 -75
package/.openapi-generator/FILES
CHANGED
|
@@ -38,16 +38,7 @@ docs/CategoryAutomationConditionType.md
|
|
|
38
38
|
docs/CategoryAutomationFieldType.md
|
|
39
39
|
docs/CategoryAutomationRuleResource.md
|
|
40
40
|
docs/CategoryAutomationRuleResourceArrayResponse.md
|
|
41
|
-
docs/CategoryFrontendResource.md
|
|
42
|
-
docs/CategoryFrontendResourceArrayResponse.md
|
|
43
|
-
docs/CategoryWithChildrenFrontendResource.md
|
|
44
|
-
docs/CategoryWithChildrenFrontendResourceArrayResponse.md
|
|
45
41
|
docs/CouponDiscountType.md
|
|
46
|
-
docs/DefinitionApi.md
|
|
47
|
-
docs/DefinitionListResource.md
|
|
48
|
-
docs/DefinitionListResourceArrayResponse.md
|
|
49
|
-
docs/DefinitionResource.md
|
|
50
|
-
docs/DefinitionResourceArrayResponse.md
|
|
51
42
|
docs/DescriptionResource.md
|
|
52
43
|
docs/DescriptionResourceArrayResponse.md
|
|
53
44
|
docs/DestroyAttributeValueRequest.md
|
|
@@ -74,7 +65,6 @@ docs/ExternalApiProvider.md
|
|
|
74
65
|
docs/ExternalApiSyncStatus.md
|
|
75
66
|
docs/GenericResponse.md
|
|
76
67
|
docs/GetAllAttributeRequest.md
|
|
77
|
-
docs/GetAllDefinitionRequest.md
|
|
78
68
|
docs/GetAllDocumentRequest.md
|
|
79
69
|
docs/GetAllGoogleCategoryRequest.md
|
|
80
70
|
docs/GetAllOverlayTemplateRequest.md
|
|
@@ -95,7 +85,6 @@ docs/GoogleCategoryApi.md
|
|
|
95
85
|
docs/GoogleCategoryResource.md
|
|
96
86
|
docs/GoogleCategoryResourceArrayResponse.md
|
|
97
87
|
docs/IndexAttributeRequest.md
|
|
98
|
-
docs/IndexDefinitionRequest.md
|
|
99
88
|
docs/IndexDocumentRequest.md
|
|
100
89
|
docs/IndexExternalApiLogRequest.md
|
|
101
90
|
docs/IndexOverlayTemplateRequest.md
|
|
@@ -125,9 +114,6 @@ docs/PaginatedAttributeListResourceResponse.md
|
|
|
125
114
|
docs/PaginatedAttributeLiteResourceResponse.md
|
|
126
115
|
docs/PaginatedAttributeProductTypeRelationResourceResponse.md
|
|
127
116
|
docs/PaginatedAttributeResourceResponse.md
|
|
128
|
-
docs/PaginatedCategoryFrontendResourceResponse.md
|
|
129
|
-
docs/PaginatedDefinitionListResourceResponse.md
|
|
130
|
-
docs/PaginatedDefinitionResourceResponse.md
|
|
131
117
|
docs/PaginatedDocumentResourceResponse.md
|
|
132
118
|
docs/PaginatedExternalApiLogListResourceResponse.md
|
|
133
119
|
docs/PaginatedExternalApiLogResourceResponse.md
|
|
@@ -168,7 +154,6 @@ docs/PreviewAutomationRulesResourceArrayResponse.md
|
|
|
168
154
|
docs/ProductAggregationResource.md
|
|
169
155
|
docs/ProductAggregationResourceArrayResponse.md
|
|
170
156
|
docs/ProductApi.md
|
|
171
|
-
docs/ProductAvailability.md
|
|
172
157
|
docs/ProductCategoryApi.md
|
|
173
158
|
docs/ProductCategoryHierarchyResource.md
|
|
174
159
|
docs/ProductCategoryHierarchyResourceArrayResponse.md
|
|
@@ -209,6 +194,7 @@ docs/ProductSearchResponseResourcePriceInfo.md
|
|
|
209
194
|
docs/ProductSearchResultResource.md
|
|
210
195
|
docs/ProductSearchResultResourceArrayResponse.md
|
|
211
196
|
docs/ProductSortBy.md
|
|
197
|
+
docs/ProductStatus.md
|
|
212
198
|
docs/ProductTypeApi.md
|
|
213
199
|
docs/ProductTypeListResource.md
|
|
214
200
|
docs/ProductTypeListResourceArrayResponse.md
|
|
@@ -236,7 +222,6 @@ docs/SiteResourceArrayResponse.md
|
|
|
236
222
|
docs/StoreAssetFileRequest.md
|
|
237
223
|
docs/StoreAttributeRequest.md
|
|
238
224
|
docs/StoreAttributeValueRequest.md
|
|
239
|
-
docs/StoreDefinitionRequest.md
|
|
240
225
|
docs/StoreDocumentFileRequest.md
|
|
241
226
|
docs/StoreDocumentRequest.md
|
|
242
227
|
docs/StoreOverlayTemplateAssetRequest.md
|
|
@@ -274,7 +259,6 @@ docs/TagResourceArrayResponse.md
|
|
|
274
259
|
docs/TagType.md
|
|
275
260
|
docs/UpdateAttributeRequest.md
|
|
276
261
|
docs/UpdateAttributeValueRequest.md
|
|
277
|
-
docs/UpdateDefinitionRequest.md
|
|
278
262
|
docs/UpdateDocumentRequest.md
|
|
279
263
|
docs/UpdateFilterOrderAttributeRequest.md
|
|
280
264
|
docs/UpdateFilterOrderAttributeRequestValuesInner.md
|
|
@@ -291,10 +275,13 @@ docs/UpdateSiteNotificationRequest.md
|
|
|
291
275
|
docs/UpdateSiteRequest.md
|
|
292
276
|
docs/UpdateSupplierRequest.md
|
|
293
277
|
docs/UpdateTagRequest.md
|
|
278
|
+
docs/WishlistCheckResource.md
|
|
279
|
+
docs/WishlistCheckResourceArrayResponse.md
|
|
280
|
+
docs/WishlistToggleResource.md
|
|
281
|
+
docs/WishlistToggleResourceArrayResponse.md
|
|
294
282
|
package.json
|
|
295
283
|
src/apis/AssetApi.ts
|
|
296
284
|
src/apis/AttributeApi.ts
|
|
297
|
-
src/apis/DefinitionApi.ts
|
|
298
285
|
src/apis/DocumentApi.ts
|
|
299
286
|
src/apis/ExternalApiLogApi.ts
|
|
300
287
|
src/apis/GoogleCategoryApi.ts
|
|
@@ -342,15 +329,7 @@ src/models/CategoryAutomationConditionType.ts
|
|
|
342
329
|
src/models/CategoryAutomationFieldType.ts
|
|
343
330
|
src/models/CategoryAutomationRuleResource.ts
|
|
344
331
|
src/models/CategoryAutomationRuleResourceArrayResponse.ts
|
|
345
|
-
src/models/CategoryFrontendResource.ts
|
|
346
|
-
src/models/CategoryFrontendResourceArrayResponse.ts
|
|
347
|
-
src/models/CategoryWithChildrenFrontendResource.ts
|
|
348
|
-
src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts
|
|
349
332
|
src/models/CouponDiscountType.ts
|
|
350
|
-
src/models/DefinitionListResource.ts
|
|
351
|
-
src/models/DefinitionListResourceArrayResponse.ts
|
|
352
|
-
src/models/DefinitionResource.ts
|
|
353
|
-
src/models/DefinitionResourceArrayResponse.ts
|
|
354
333
|
src/models/DescriptionResource.ts
|
|
355
334
|
src/models/DescriptionResourceArrayResponse.ts
|
|
356
335
|
src/models/DestroyAttributeValueRequest.ts
|
|
@@ -375,7 +354,6 @@ src/models/ExternalApiProvider.ts
|
|
|
375
354
|
src/models/ExternalApiSyncStatus.ts
|
|
376
355
|
src/models/GenericResponse.ts
|
|
377
356
|
src/models/GetAllAttributeRequest.ts
|
|
378
|
-
src/models/GetAllDefinitionRequest.ts
|
|
379
357
|
src/models/GetAllDocumentRequest.ts
|
|
380
358
|
src/models/GetAllGoogleCategoryRequest.ts
|
|
381
359
|
src/models/GetAllOverlayTemplateRequest.ts
|
|
@@ -395,7 +373,6 @@ src/models/GlobalSearchResponseResourceArrayResponse.ts
|
|
|
395
373
|
src/models/GoogleCategoryResource.ts
|
|
396
374
|
src/models/GoogleCategoryResourceArrayResponse.ts
|
|
397
375
|
src/models/IndexAttributeRequest.ts
|
|
398
|
-
src/models/IndexDefinitionRequest.ts
|
|
399
376
|
src/models/IndexDocumentRequest.ts
|
|
400
377
|
src/models/IndexExternalApiLogRequest.ts
|
|
401
378
|
src/models/IndexOverlayTemplateRequest.ts
|
|
@@ -424,9 +401,6 @@ src/models/PaginatedAttributeListResourceResponse.ts
|
|
|
424
401
|
src/models/PaginatedAttributeLiteResourceResponse.ts
|
|
425
402
|
src/models/PaginatedAttributeProductTypeRelationResourceResponse.ts
|
|
426
403
|
src/models/PaginatedAttributeResourceResponse.ts
|
|
427
|
-
src/models/PaginatedCategoryFrontendResourceResponse.ts
|
|
428
|
-
src/models/PaginatedDefinitionListResourceResponse.ts
|
|
429
|
-
src/models/PaginatedDefinitionResourceResponse.ts
|
|
430
404
|
src/models/PaginatedDocumentResourceResponse.ts
|
|
431
405
|
src/models/PaginatedExternalApiLogListResourceResponse.ts
|
|
432
406
|
src/models/PaginatedExternalApiLogResourceResponse.ts
|
|
@@ -466,7 +440,6 @@ src/models/PreviewAutomationRulesResource.ts
|
|
|
466
440
|
src/models/PreviewAutomationRulesResourceArrayResponse.ts
|
|
467
441
|
src/models/ProductAggregationResource.ts
|
|
468
442
|
src/models/ProductAggregationResourceArrayResponse.ts
|
|
469
|
-
src/models/ProductAvailability.ts
|
|
470
443
|
src/models/ProductCategoryHierarchyResource.ts
|
|
471
444
|
src/models/ProductCategoryHierarchyResourceArrayResponse.ts
|
|
472
445
|
src/models/ProductCategoryListResource.ts
|
|
@@ -505,6 +478,7 @@ src/models/ProductSearchResponseResourcePriceInfo.ts
|
|
|
505
478
|
src/models/ProductSearchResultResource.ts
|
|
506
479
|
src/models/ProductSearchResultResourceArrayResponse.ts
|
|
507
480
|
src/models/ProductSortBy.ts
|
|
481
|
+
src/models/ProductStatus.ts
|
|
508
482
|
src/models/ProductTypeListResource.ts
|
|
509
483
|
src/models/ProductTypeListResourceArrayResponse.ts
|
|
510
484
|
src/models/ProductTypeLiteResource.ts
|
|
@@ -530,7 +504,6 @@ src/models/SiteResourceArrayResponse.ts
|
|
|
530
504
|
src/models/StoreAssetFileRequest.ts
|
|
531
505
|
src/models/StoreAttributeRequest.ts
|
|
532
506
|
src/models/StoreAttributeValueRequest.ts
|
|
533
|
-
src/models/StoreDefinitionRequest.ts
|
|
534
507
|
src/models/StoreDocumentFileRequest.ts
|
|
535
508
|
src/models/StoreDocumentRequest.ts
|
|
536
509
|
src/models/StoreOverlayTemplateAssetRequest.ts
|
|
@@ -566,7 +539,6 @@ src/models/TagResourceArrayResponse.ts
|
|
|
566
539
|
src/models/TagType.ts
|
|
567
540
|
src/models/UpdateAttributeRequest.ts
|
|
568
541
|
src/models/UpdateAttributeValueRequest.ts
|
|
569
|
-
src/models/UpdateDefinitionRequest.ts
|
|
570
542
|
src/models/UpdateDocumentRequest.ts
|
|
571
543
|
src/models/UpdateFilterOrderAttributeRequest.ts
|
|
572
544
|
src/models/UpdateFilterOrderAttributeRequestValuesInner.ts
|
|
@@ -583,6 +555,10 @@ src/models/UpdateSiteNotificationRequest.ts
|
|
|
583
555
|
src/models/UpdateSiteRequest.ts
|
|
584
556
|
src/models/UpdateSupplierRequest.ts
|
|
585
557
|
src/models/UpdateTagRequest.ts
|
|
558
|
+
src/models/WishlistCheckResource.ts
|
|
559
|
+
src/models/WishlistCheckResourceArrayResponse.ts
|
|
560
|
+
src/models/WishlistToggleResource.ts
|
|
561
|
+
src/models/WishlistToggleResourceArrayResponse.ts
|
|
586
562
|
src/models/index.ts
|
|
587
563
|
src/runtime.ts
|
|
588
564
|
tsconfig.json
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.633
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -65,12 +65,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
65
65
|
*AttributeApi* | [**updateAttributeValue**](docs/AttributeApi.md#updateattributevalueoperation) | **PUT** /admin-api/attribute/value/{attributeValue}/update | Auto-generated: updateAttributeValue
|
|
66
66
|
*AttributeApi* | [**updateFilterOrderAttribute**](docs/AttributeApi.md#updatefilterorderattributeoperation) | **PUT** /admin-api/attribute/update-filter-order | Auto-generated: updateFilterOrderAttribute
|
|
67
67
|
*AttributeApi* | [**updateModelAttribute**](docs/AttributeApi.md#updatemodelattributeoperation) | **PUT** /admin-api/attribute/model-attribute/{modelAttribute}/update | Auto-generated: updateModelAttribute
|
|
68
|
-
*DefinitionApi* | [**destroyDefinition**](docs/DefinitionApi.md#destroydefinition) | **DELETE** /admin-api/definition/{definition}/delete | Auto-generated: destroyDefinition
|
|
69
|
-
*DefinitionApi* | [**getAllDefinition**](docs/DefinitionApi.md#getalldefinitionoperation) | **POST** /admin-api/definition/all | Auto-generated: getAllDefinition
|
|
70
|
-
*DefinitionApi* | [**indexDefinition**](docs/DefinitionApi.md#indexdefinitionoperation) | **POST** /admin-api/definition/list | Auto-generated: indexDefinition
|
|
71
|
-
*DefinitionApi* | [**showDefinition**](docs/DefinitionApi.md#showdefinition) | **GET** /admin-api/definition/{definition} | Auto-generated: showDefinition
|
|
72
|
-
*DefinitionApi* | [**storeDefinition**](docs/DefinitionApi.md#storedefinitionoperation) | **POST** /admin-api/definition/create | Auto-generated: storeDefinition
|
|
73
|
-
*DefinitionApi* | [**updateDefinition**](docs/DefinitionApi.md#updatedefinitionoperation) | **PUT** /admin-api/definition/{definition}/update | Auto-generated: updateDefinition
|
|
74
68
|
*DocumentApi* | [**attachDocumentablesDocument**](docs/DocumentApi.md#attachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/attach-documentables | Auto-generated: attachDocumentablesDocument
|
|
75
69
|
*DocumentApi* | [**destroyDocument**](docs/DocumentApi.md#destroydocument) | **DELETE** /admin-api/document/{document}/delete | Auto-generated: destroyDocument
|
|
76
70
|
*DocumentApi* | [**detachDocumentablesDocument**](docs/DocumentApi.md#detachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/detach-documentables | Auto-generated: detachDocumentablesDocument
|
|
@@ -198,15 +192,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
198
192
|
- [CategoryAutomationFieldType](docs/CategoryAutomationFieldType.md)
|
|
199
193
|
- [CategoryAutomationRuleResource](docs/CategoryAutomationRuleResource.md)
|
|
200
194
|
- [CategoryAutomationRuleResourceArrayResponse](docs/CategoryAutomationRuleResourceArrayResponse.md)
|
|
201
|
-
- [CategoryFrontendResource](docs/CategoryFrontendResource.md)
|
|
202
|
-
- [CategoryFrontendResourceArrayResponse](docs/CategoryFrontendResourceArrayResponse.md)
|
|
203
|
-
- [CategoryWithChildrenFrontendResource](docs/CategoryWithChildrenFrontendResource.md)
|
|
204
|
-
- [CategoryWithChildrenFrontendResourceArrayResponse](docs/CategoryWithChildrenFrontendResourceArrayResponse.md)
|
|
205
195
|
- [CouponDiscountType](docs/CouponDiscountType.md)
|
|
206
|
-
- [DefinitionListResource](docs/DefinitionListResource.md)
|
|
207
|
-
- [DefinitionListResourceArrayResponse](docs/DefinitionListResourceArrayResponse.md)
|
|
208
|
-
- [DefinitionResource](docs/DefinitionResource.md)
|
|
209
|
-
- [DefinitionResourceArrayResponse](docs/DefinitionResourceArrayResponse.md)
|
|
210
196
|
- [DescriptionResource](docs/DescriptionResource.md)
|
|
211
197
|
- [DescriptionResourceArrayResponse](docs/DescriptionResourceArrayResponse.md)
|
|
212
198
|
- [DestroyAttributeValueRequest](docs/DestroyAttributeValueRequest.md)
|
|
@@ -231,7 +217,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
231
217
|
- [ExternalApiSyncStatus](docs/ExternalApiSyncStatus.md)
|
|
232
218
|
- [GenericResponse](docs/GenericResponse.md)
|
|
233
219
|
- [GetAllAttributeRequest](docs/GetAllAttributeRequest.md)
|
|
234
|
-
- [GetAllDefinitionRequest](docs/GetAllDefinitionRequest.md)
|
|
235
220
|
- [GetAllDocumentRequest](docs/GetAllDocumentRequest.md)
|
|
236
221
|
- [GetAllGoogleCategoryRequest](docs/GetAllGoogleCategoryRequest.md)
|
|
237
222
|
- [GetAllOverlayTemplateRequest](docs/GetAllOverlayTemplateRequest.md)
|
|
@@ -251,7 +236,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
251
236
|
- [GoogleCategoryResource](docs/GoogleCategoryResource.md)
|
|
252
237
|
- [GoogleCategoryResourceArrayResponse](docs/GoogleCategoryResourceArrayResponse.md)
|
|
253
238
|
- [IndexAttributeRequest](docs/IndexAttributeRequest.md)
|
|
254
|
-
- [IndexDefinitionRequest](docs/IndexDefinitionRequest.md)
|
|
255
239
|
- [IndexDocumentRequest](docs/IndexDocumentRequest.md)
|
|
256
240
|
- [IndexExternalApiLogRequest](docs/IndexExternalApiLogRequest.md)
|
|
257
241
|
- [IndexOverlayTemplateRequest](docs/IndexOverlayTemplateRequest.md)
|
|
@@ -280,9 +264,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
280
264
|
- [PaginatedAttributeLiteResourceResponse](docs/PaginatedAttributeLiteResourceResponse.md)
|
|
281
265
|
- [PaginatedAttributeProductTypeRelationResourceResponse](docs/PaginatedAttributeProductTypeRelationResourceResponse.md)
|
|
282
266
|
- [PaginatedAttributeResourceResponse](docs/PaginatedAttributeResourceResponse.md)
|
|
283
|
-
- [PaginatedCategoryFrontendResourceResponse](docs/PaginatedCategoryFrontendResourceResponse.md)
|
|
284
|
-
- [PaginatedDefinitionListResourceResponse](docs/PaginatedDefinitionListResourceResponse.md)
|
|
285
|
-
- [PaginatedDefinitionResourceResponse](docs/PaginatedDefinitionResourceResponse.md)
|
|
286
267
|
- [PaginatedDocumentResourceResponse](docs/PaginatedDocumentResourceResponse.md)
|
|
287
268
|
- [PaginatedExternalApiLogListResourceResponse](docs/PaginatedExternalApiLogListResourceResponse.md)
|
|
288
269
|
- [PaginatedExternalApiLogResourceResponse](docs/PaginatedExternalApiLogResourceResponse.md)
|
|
@@ -322,7 +303,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
322
303
|
- [PreviewAutomationRulesResourceArrayResponse](docs/PreviewAutomationRulesResourceArrayResponse.md)
|
|
323
304
|
- [ProductAggregationResource](docs/ProductAggregationResource.md)
|
|
324
305
|
- [ProductAggregationResourceArrayResponse](docs/ProductAggregationResourceArrayResponse.md)
|
|
325
|
-
- [ProductAvailability](docs/ProductAvailability.md)
|
|
326
306
|
- [ProductCategoryHierarchyResource](docs/ProductCategoryHierarchyResource.md)
|
|
327
307
|
- [ProductCategoryHierarchyResourceArrayResponse](docs/ProductCategoryHierarchyResourceArrayResponse.md)
|
|
328
308
|
- [ProductCategoryListResource](docs/ProductCategoryListResource.md)
|
|
@@ -361,6 +341,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
361
341
|
- [ProductSearchResultResource](docs/ProductSearchResultResource.md)
|
|
362
342
|
- [ProductSearchResultResourceArrayResponse](docs/ProductSearchResultResourceArrayResponse.md)
|
|
363
343
|
- [ProductSortBy](docs/ProductSortBy.md)
|
|
344
|
+
- [ProductStatus](docs/ProductStatus.md)
|
|
364
345
|
- [ProductTypeListResource](docs/ProductTypeListResource.md)
|
|
365
346
|
- [ProductTypeListResourceArrayResponse](docs/ProductTypeListResourceArrayResponse.md)
|
|
366
347
|
- [ProductTypeLiteResource](docs/ProductTypeLiteResource.md)
|
|
@@ -386,7 +367,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
386
367
|
- [StoreAssetFileRequest](docs/StoreAssetFileRequest.md)
|
|
387
368
|
- [StoreAttributeRequest](docs/StoreAttributeRequest.md)
|
|
388
369
|
- [StoreAttributeValueRequest](docs/StoreAttributeValueRequest.md)
|
|
389
|
-
- [StoreDefinitionRequest](docs/StoreDefinitionRequest.md)
|
|
390
370
|
- [StoreDocumentFileRequest](docs/StoreDocumentFileRequest.md)
|
|
391
371
|
- [StoreDocumentRequest](docs/StoreDocumentRequest.md)
|
|
392
372
|
- [StoreOverlayTemplateAssetRequest](docs/StoreOverlayTemplateAssetRequest.md)
|
|
@@ -422,7 +402,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
422
402
|
- [TagType](docs/TagType.md)
|
|
423
403
|
- [UpdateAttributeRequest](docs/UpdateAttributeRequest.md)
|
|
424
404
|
- [UpdateAttributeValueRequest](docs/UpdateAttributeValueRequest.md)
|
|
425
|
-
- [UpdateDefinitionRequest](docs/UpdateDefinitionRequest.md)
|
|
426
405
|
- [UpdateDocumentRequest](docs/UpdateDocumentRequest.md)
|
|
427
406
|
- [UpdateFilterOrderAttributeRequest](docs/UpdateFilterOrderAttributeRequest.md)
|
|
428
407
|
- [UpdateFilterOrderAttributeRequestValuesInner](docs/UpdateFilterOrderAttributeRequestValuesInner.md)
|
|
@@ -439,6 +418,10 @@ All URIs are relative to *http://localhost/api*
|
|
|
439
418
|
- [UpdateSiteRequest](docs/UpdateSiteRequest.md)
|
|
440
419
|
- [UpdateSupplierRequest](docs/UpdateSupplierRequest.md)
|
|
441
420
|
- [UpdateTagRequest](docs/UpdateTagRequest.md)
|
|
421
|
+
- [WishlistCheckResource](docs/WishlistCheckResource.md)
|
|
422
|
+
- [WishlistCheckResourceArrayResponse](docs/WishlistCheckResourceArrayResponse.md)
|
|
423
|
+
- [WishlistToggleResource](docs/WishlistToggleResource.md)
|
|
424
|
+
- [WishlistToggleResourceArrayResponse](docs/WishlistToggleResourceArrayResponse.md)
|
|
442
425
|
|
|
443
426
|
### Authorization
|
|
444
427
|
|
|
@@ -452,7 +435,7 @@ and is automatically generated by the
|
|
|
452
435
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
453
436
|
|
|
454
437
|
- API version: `1.0.0`
|
|
455
|
-
- Package version: `0.0.
|
|
438
|
+
- Package version: `0.0.633`
|
|
456
439
|
- Generator version: `7.19.0`
|
|
457
440
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
458
441
|
|
package/dist/apis/index.d.ts
CHANGED
package/dist/apis/index.js
CHANGED
|
@@ -18,7 +18,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AssetApi"), exports);
|
|
20
20
|
__exportStar(require("./AttributeApi"), exports);
|
|
21
|
-
__exportStar(require("./DefinitionApi"), exports);
|
|
22
21
|
__exportStar(require("./DocumentApi"), exports);
|
|
23
22
|
__exportStar(require("./ExternalApiLogApi"), exports);
|
|
24
23
|
__exportStar(require("./GoogleCategoryApi"), exports);
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { AssetLiteResource } from './AssetLiteResource';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -48,10 +47,10 @@ export interface OverlayTemplateAssetFrontendResource {
|
|
|
48
47
|
verticalMargin: number;
|
|
49
48
|
/**
|
|
50
49
|
*
|
|
51
|
-
* @type {
|
|
50
|
+
* @type {Array<string>}
|
|
52
51
|
* @memberof OverlayTemplateAssetFrontendResource
|
|
53
52
|
*/
|
|
54
|
-
image:
|
|
53
|
+
image: Array<string>;
|
|
55
54
|
}
|
|
56
55
|
/**
|
|
57
56
|
* Check if a given object implements the OverlayTemplateAssetFrontendResource interface.
|
|
@@ -18,7 +18,6 @@ exports.OverlayTemplateAssetFrontendResourceFromJSON = OverlayTemplateAssetFront
|
|
|
18
18
|
exports.OverlayTemplateAssetFrontendResourceFromJSONTyped = OverlayTemplateAssetFrontendResourceFromJSONTyped;
|
|
19
19
|
exports.OverlayTemplateAssetFrontendResourceToJSON = OverlayTemplateAssetFrontendResourceToJSON;
|
|
20
20
|
exports.OverlayTemplateAssetFrontendResourceToJSONTyped = OverlayTemplateAssetFrontendResourceToJSONTyped;
|
|
21
|
-
var AssetLiteResource_1 = require("./AssetLiteResource");
|
|
22
21
|
/**
|
|
23
22
|
* Check if a given object implements the OverlayTemplateAssetFrontendResource interface.
|
|
24
23
|
*/
|
|
@@ -50,7 +49,7 @@ function OverlayTemplateAssetFrontendResourceFromJSONTyped(json, ignoreDiscrimin
|
|
|
50
49
|
'padding': json['padding'],
|
|
51
50
|
'horizontalMargin': json['horizontalMargin'],
|
|
52
51
|
'verticalMargin': json['verticalMargin'],
|
|
53
|
-
'image':
|
|
52
|
+
'image': json['image'],
|
|
54
53
|
};
|
|
55
54
|
}
|
|
56
55
|
function OverlayTemplateAssetFrontendResourceToJSON(json) {
|
|
@@ -67,6 +66,6 @@ function OverlayTemplateAssetFrontendResourceToJSONTyped(value, ignoreDiscrimina
|
|
|
67
66
|
'padding': value['padding'],
|
|
68
67
|
'horizontalMargin': value['horizontalMargin'],
|
|
69
68
|
'verticalMargin': value['verticalMargin'],
|
|
70
|
-
'image':
|
|
69
|
+
'image': value['image'],
|
|
71
70
|
};
|
|
72
71
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { AssetResource } from './AssetResource';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -24,10 +24,10 @@ export interface OverlayTemplateAssetResource {
|
|
|
24
24
|
id: number;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {
|
|
27
|
+
* @type {AssetResource}
|
|
28
28
|
* @memberof OverlayTemplateAssetResource
|
|
29
29
|
*/
|
|
30
|
-
asset:
|
|
30
|
+
asset: AssetResource | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {string}
|
|
@@ -18,7 +18,7 @@ exports.OverlayTemplateAssetResourceFromJSON = OverlayTemplateAssetResourceFromJ
|
|
|
18
18
|
exports.OverlayTemplateAssetResourceFromJSONTyped = OverlayTemplateAssetResourceFromJSONTyped;
|
|
19
19
|
exports.OverlayTemplateAssetResourceToJSON = OverlayTemplateAssetResourceToJSON;
|
|
20
20
|
exports.OverlayTemplateAssetResourceToJSONTyped = OverlayTemplateAssetResourceToJSONTyped;
|
|
21
|
-
var
|
|
21
|
+
var AssetResource_1 = require("./AssetResource");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the OverlayTemplateAssetResource interface.
|
|
24
24
|
*/
|
|
@@ -46,7 +46,7 @@ function OverlayTemplateAssetResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
}
|
|
47
47
|
return {
|
|
48
48
|
'id': json['id'],
|
|
49
|
-
'asset': (0,
|
|
49
|
+
'asset': (0, AssetResource_1.AssetResourceFromJSON)(json['asset']),
|
|
50
50
|
'position': json['position'],
|
|
51
51
|
'padding': json['padding'],
|
|
52
52
|
'horizontalMargin': json['horizontalMargin'],
|
|
@@ -63,7 +63,7 @@ function OverlayTemplateAssetResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
63
63
|
}
|
|
64
64
|
return {
|
|
65
65
|
'id': value['id'],
|
|
66
|
-
'asset': (0,
|
|
66
|
+
'asset': (0, AssetResource_1.AssetResourceToJSON)(value['asset']),
|
|
67
67
|
'position': value['position'],
|
|
68
68
|
'padding': value['padding'],
|
|
69
69
|
'horizontalMargin': value['horizontalMargin'],
|
|
@@ -75,6 +75,12 @@ export interface ProductSearchResultResource {
|
|
|
75
75
|
* @memberof ProductSearchResultResource
|
|
76
76
|
*/
|
|
77
77
|
labelDetails: Array<number>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Array<object>}
|
|
81
|
+
* @memberof ProductSearchResultResource
|
|
82
|
+
*/
|
|
83
|
+
categories: Array<object>;
|
|
78
84
|
/**
|
|
79
85
|
*
|
|
80
86
|
* @type {string}
|
|
@@ -105,18 +111,6 @@ export interface ProductSearchResultResource {
|
|
|
105
111
|
* @memberof ProductSearchResultResource
|
|
106
112
|
*/
|
|
107
113
|
wishlisted: boolean;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {number}
|
|
111
|
-
* @memberof ProductSearchResultResource
|
|
112
|
-
*/
|
|
113
|
-
variationCount: number;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {Array<object>}
|
|
117
|
-
* @memberof ProductSearchResultResource
|
|
118
|
-
*/
|
|
119
|
-
overlayAssets: Array<object>;
|
|
120
114
|
}
|
|
121
115
|
/**
|
|
122
116
|
* Check if a given object implements the ProductSearchResultResource interface.
|
|
@@ -40,6 +40,8 @@ function instanceOfProductSearchResultResource(value) {
|
|
|
40
40
|
return false;
|
|
41
41
|
if (!('labelDetails' in value) || value['labelDetails'] === undefined)
|
|
42
42
|
return false;
|
|
43
|
+
if (!('categories' in value) || value['categories'] === undefined)
|
|
44
|
+
return false;
|
|
43
45
|
if (!('supplierName' in value) || value['supplierName'] === undefined)
|
|
44
46
|
return false;
|
|
45
47
|
if (!('supplierLogo' in value) || value['supplierLogo'] === undefined)
|
|
@@ -50,10 +52,6 @@ function instanceOfProductSearchResultResource(value) {
|
|
|
50
52
|
return false;
|
|
51
53
|
if (!('wishlisted' in value) || value['wishlisted'] === undefined)
|
|
52
54
|
return false;
|
|
53
|
-
if (!('variationCount' in value) || value['variationCount'] === undefined)
|
|
54
|
-
return false;
|
|
55
|
-
if (!('overlayAssets' in value) || value['overlayAssets'] === undefined)
|
|
56
|
-
return false;
|
|
57
55
|
return true;
|
|
58
56
|
}
|
|
59
57
|
function ProductSearchResultResourceFromJSON(json) {
|
|
@@ -74,13 +72,12 @@ function ProductSearchResultResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
74
72
|
'thumbnail': json['thumbnail'],
|
|
75
73
|
'averageRating': json['averageRating'] == null ? undefined : json['averageRating'],
|
|
76
74
|
'labelDetails': json['labelDetails'],
|
|
75
|
+
'categories': json['categories'],
|
|
77
76
|
'supplierName': json['supplierName'],
|
|
78
77
|
'supplierLogo': json['supplierLogo'],
|
|
79
78
|
'supplierId': json['supplierId'],
|
|
80
79
|
'availability': json['availability'],
|
|
81
80
|
'wishlisted': json['wishlisted'],
|
|
82
|
-
'variationCount': json['variationCount'],
|
|
83
|
-
'overlayAssets': json['overlayAssets'],
|
|
84
81
|
};
|
|
85
82
|
}
|
|
86
83
|
function ProductSearchResultResourceToJSON(json) {
|
|
@@ -102,12 +99,11 @@ function ProductSearchResultResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
102
99
|
'thumbnail': value['thumbnail'],
|
|
103
100
|
'averageRating': value['averageRating'],
|
|
104
101
|
'labelDetails': value['labelDetails'],
|
|
102
|
+
'categories': value['categories'],
|
|
105
103
|
'supplierName': value['supplierName'],
|
|
106
104
|
'supplierLogo': value['supplierLogo'],
|
|
107
105
|
'supplierId': value['supplierId'],
|
|
108
106
|
'availability': value['availability'],
|
|
109
107
|
'wishlisted': value['wishlisted'],
|
|
110
|
-
'variationCount': value['variationCount'],
|
|
111
|
-
'overlayAssets': value['overlayAssets'],
|
|
112
108
|
};
|
|
113
109
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const ProductStatus: {
|
|
17
|
+
readonly InStock: "in_stock";
|
|
18
|
+
};
|
|
19
|
+
export type ProductStatus = typeof ProductStatus[keyof typeof ProductStatus];
|
|
20
|
+
export declare function instanceOfProductStatus(value: any): boolean;
|
|
21
|
+
export declare function ProductStatusFromJSON(json: any): ProductStatus;
|
|
22
|
+
export declare function ProductStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStatus;
|
|
23
|
+
export declare function ProductStatusToJSON(value?: ProductStatus | null): any;
|
|
24
|
+
export declare function ProductStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductStatus;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.ProductStatus = void 0;
|
|
17
|
+
exports.instanceOfProductStatus = instanceOfProductStatus;
|
|
18
|
+
exports.ProductStatusFromJSON = ProductStatusFromJSON;
|
|
19
|
+
exports.ProductStatusFromJSONTyped = ProductStatusFromJSONTyped;
|
|
20
|
+
exports.ProductStatusToJSON = ProductStatusToJSON;
|
|
21
|
+
exports.ProductStatusToJSONTyped = ProductStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ProductStatus = {
|
|
27
|
+
InStock: 'in_stock'
|
|
28
|
+
};
|
|
29
|
+
function instanceOfProductStatus(value) {
|
|
30
|
+
for (var key in exports.ProductStatus) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(exports.ProductStatus, key)) {
|
|
32
|
+
if (exports.ProductStatus[key] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
function ProductStatusFromJSON(json) {
|
|
40
|
+
return ProductStatusFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ProductStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
function ProductStatusToJSON(value) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
function ProductStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { AssetLiteResource } from './AssetLiteResource';
|
|
13
12
|
import type { DescriptionResource } from './DescriptionResource';
|
|
13
|
+
import type { AssetResource } from './AssetResource';
|
|
14
|
+
import type { SEOResource } from './SEOResource';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -37,10 +38,10 @@ export interface SupplierFrontendResource {
|
|
|
37
38
|
slug: string;
|
|
38
39
|
/**
|
|
39
40
|
*
|
|
40
|
-
* @type {
|
|
41
|
+
* @type {AssetResource}
|
|
41
42
|
* @memberof SupplierFrontendResource
|
|
42
43
|
*/
|
|
43
|
-
thumbnail:
|
|
44
|
+
thumbnail: AssetResource | null;
|
|
44
45
|
/**
|
|
45
46
|
*
|
|
46
47
|
* @type {number}
|
|
@@ -49,16 +50,16 @@ export interface SupplierFrontendResource {
|
|
|
49
50
|
supplierEta: number;
|
|
50
51
|
/**
|
|
51
52
|
*
|
|
52
|
-
* @type {
|
|
53
|
+
* @type {SEOResource}
|
|
53
54
|
* @memberof SupplierFrontendResource
|
|
54
55
|
*/
|
|
55
|
-
seo:
|
|
56
|
+
seo: SEOResource | null;
|
|
56
57
|
/**
|
|
57
58
|
*
|
|
58
|
-
* @type {DescriptionResource}
|
|
59
|
+
* @type {Array<DescriptionResource>}
|
|
59
60
|
* @memberof SupplierFrontendResource
|
|
60
61
|
*/
|
|
61
|
-
|
|
62
|
+
descriptions: Array<DescriptionResource> | null;
|
|
62
63
|
}
|
|
63
64
|
/**
|
|
64
65
|
* Check if a given object implements the SupplierFrontendResource interface.
|
|
@@ -18,8 +18,9 @@ exports.SupplierFrontendResourceFromJSON = SupplierFrontendResourceFromJSON;
|
|
|
18
18
|
exports.SupplierFrontendResourceFromJSONTyped = SupplierFrontendResourceFromJSONTyped;
|
|
19
19
|
exports.SupplierFrontendResourceToJSON = SupplierFrontendResourceToJSON;
|
|
20
20
|
exports.SupplierFrontendResourceToJSONTyped = SupplierFrontendResourceToJSONTyped;
|
|
21
|
-
var AssetLiteResource_1 = require("./AssetLiteResource");
|
|
22
21
|
var DescriptionResource_1 = require("./DescriptionResource");
|
|
22
|
+
var AssetResource_1 = require("./AssetResource");
|
|
23
|
+
var SEOResource_1 = require("./SEOResource");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the SupplierFrontendResource interface.
|
|
25
26
|
*/
|
|
@@ -36,7 +37,7 @@ function instanceOfSupplierFrontendResource(value) {
|
|
|
36
37
|
return false;
|
|
37
38
|
if (!('seo' in value) || value['seo'] === undefined)
|
|
38
39
|
return false;
|
|
39
|
-
if (!('
|
|
40
|
+
if (!('descriptions' in value) || value['descriptions'] === undefined)
|
|
40
41
|
return false;
|
|
41
42
|
return true;
|
|
42
43
|
}
|
|
@@ -51,10 +52,10 @@ function SupplierFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
52
|
'id': json['id'],
|
|
52
53
|
'name': json['name'],
|
|
53
54
|
'slug': json['slug'],
|
|
54
|
-
'thumbnail': (0,
|
|
55
|
+
'thumbnail': (0, AssetResource_1.AssetResourceFromJSON)(json['thumbnail']),
|
|
55
56
|
'supplierEta': json['supplierEta'],
|
|
56
|
-
'seo': json['seo'],
|
|
57
|
-
'
|
|
57
|
+
'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
|
|
58
|
+
'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
|
|
58
59
|
};
|
|
59
60
|
}
|
|
60
61
|
function SupplierFrontendResourceToJSON(json) {
|
|
@@ -69,9 +70,9 @@ function SupplierFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
69
70
|
'id': value['id'],
|
|
70
71
|
'name': value['name'],
|
|
71
72
|
'slug': value['slug'],
|
|
72
|
-
'thumbnail': (0,
|
|
73
|
+
'thumbnail': (0, AssetResource_1.AssetResourceToJSON)(value['thumbnail']),
|
|
73
74
|
'supplierEta': value['supplierEta'],
|
|
74
|
-
'seo': value['seo'],
|
|
75
|
-
'
|
|
75
|
+
'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
|
|
76
|
+
'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
|
|
76
77
|
};
|
|
77
78
|
}
|