@digital8/lighting-illusions-ts-sdk 0.0.630 → 0.0.631
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 +12 -24
- package/README.md +8 -19
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/CategoryFrontendResource.d.ts +70 -0
- package/dist/models/CategoryFrontendResource.js +73 -0
- package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CategoryFrontendResourceArrayResponse.js +50 -0
- package/dist/models/CategoryWithChildrenFrontendResource.d.ts +39 -0
- package/dist/models/CategoryWithChildrenFrontendResource.js +56 -0
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +50 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +3 -2
- package/dist/models/OverlayTemplateAssetFrontendResource.js +3 -2
- package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
- package/dist/models/OverlayTemplateAssetResource.js +3 -3
- package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCategoryFrontendResourceResponse.js +57 -0
- package/dist/models/ProductAvailability.d.ts +26 -0
- package/dist/models/ProductAvailability.js +52 -0
- package/dist/models/ProductCompareResource.d.ts +2 -2
- package/dist/models/ProductSearchResultResource.d.ts +12 -6
- package/dist/models/ProductSearchResultResource.js +8 -4
- package/dist/models/SupplierFrontendResource.d.ts +7 -8
- package/dist/models/SupplierFrontendResource.js +8 -9
- package/dist/models/index.d.ts +6 -11
- package/dist/models/index.js +6 -11
- package/docs/{DefinitionResource.md → CategoryFrontendResource.md} +14 -6
- package/docs/{DefinitionResourceArrayResponse.md → CategoryFrontendResourceArrayResponse.md} +5 -5
- package/docs/{DefinitionListResource.md → CategoryWithChildrenFrontendResource.md} +8 -8
- package/docs/{DefinitionListResourceArrayResponse.md → CategoryWithChildrenFrontendResourceArrayResponse.md} +5 -5
- package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
- package/docs/OverlayTemplateAssetResource.md +1 -1
- package/docs/{PaginatedDefinitionListResourceResponse.md → PaginatedCategoryFrontendResourceResponse.md} +5 -5
- package/docs/{ProductStatus.md → ProductAvailability.md} +4 -4
- package/docs/ProductCompareResource.md +1 -1
- package/docs/ProductSearchResultResource.md +4 -2
- package/docs/SupplierFrontendResource.md +4 -4
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/CategoryFrontendResource.ts +133 -0
- package/src/models/CategoryFrontendResourceArrayResponse.ts +73 -0
- package/src/models/CategoryWithChildrenFrontendResource.ts +83 -0
- package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +73 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/OverlayTemplateAssetFrontendResource.ts +12 -4
- package/src/models/OverlayTemplateAssetResource.ts +10 -10
- package/src/models/PaginatedCategoryFrontendResourceResponse.ts +90 -0
- package/src/models/ProductAvailability.ts +54 -0
- package/src/models/ProductCompareResource.ts +2 -2
- package/src/models/ProductSearchResultResource.ts +18 -9
- package/src/models/SupplierFrontendResource.ts +20 -27
- package/src/models/index.ts +6 -11
- package/dist/apis/DefinitionApi.d.ts +0 -85
- package/dist/apis/DefinitionApi.js +0 -355
- 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/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/ProductStatus.d.ts +0 -24
- package/dist/models/ProductStatus.js +0 -50
- 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/DefinitionApi.md +0 -407
- package/docs/GetAllDefinitionRequest.md +0 -44
- package/docs/IndexDefinitionRequest.md +0 -48
- package/docs/PaginatedDefinitionResourceResponse.md +0 -36
- package/docs/StoreDefinitionRequest.md +0 -36
- package/docs/UpdateDefinitionRequest.md +0 -36
- package/src/apis/DefinitionApi.ts +0 -286
- 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/PaginatedDefinitionListResourceResponse.ts +0 -90
- package/src/models/PaginatedDefinitionResourceResponse.ts +0 -90
- package/src/models/ProductStatus.ts +0 -52
- package/src/models/StoreDefinitionRequest.ts +0 -75
- package/src/models/UpdateDefinitionRequest.ts +0 -75
package/.openapi-generator/FILES
CHANGED
|
@@ -38,12 +38,11 @@ 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
|
|
41
45
|
docs/CouponDiscountType.md
|
|
42
|
-
docs/DefinitionApi.md
|
|
43
|
-
docs/DefinitionListResource.md
|
|
44
|
-
docs/DefinitionListResourceArrayResponse.md
|
|
45
|
-
docs/DefinitionResource.md
|
|
46
|
-
docs/DefinitionResourceArrayResponse.md
|
|
47
46
|
docs/DescriptionResource.md
|
|
48
47
|
docs/DescriptionResourceArrayResponse.md
|
|
49
48
|
docs/DestroyAttributeValueRequest.md
|
|
@@ -70,7 +69,6 @@ docs/ExternalApiProvider.md
|
|
|
70
69
|
docs/ExternalApiSyncStatus.md
|
|
71
70
|
docs/GenericResponse.md
|
|
72
71
|
docs/GetAllAttributeRequest.md
|
|
73
|
-
docs/GetAllDefinitionRequest.md
|
|
74
72
|
docs/GetAllDocumentRequest.md
|
|
75
73
|
docs/GetAllGoogleCategoryRequest.md
|
|
76
74
|
docs/GetAllOverlayTemplateRequest.md
|
|
@@ -91,7 +89,6 @@ docs/GoogleCategoryApi.md
|
|
|
91
89
|
docs/GoogleCategoryResource.md
|
|
92
90
|
docs/GoogleCategoryResourceArrayResponse.md
|
|
93
91
|
docs/IndexAttributeRequest.md
|
|
94
|
-
docs/IndexDefinitionRequest.md
|
|
95
92
|
docs/IndexDocumentRequest.md
|
|
96
93
|
docs/IndexExternalApiLogRequest.md
|
|
97
94
|
docs/IndexOverlayTemplateRequest.md
|
|
@@ -121,8 +118,7 @@ docs/PaginatedAttributeListResourceResponse.md
|
|
|
121
118
|
docs/PaginatedAttributeLiteResourceResponse.md
|
|
122
119
|
docs/PaginatedAttributeProductTypeRelationResourceResponse.md
|
|
123
120
|
docs/PaginatedAttributeResourceResponse.md
|
|
124
|
-
docs/
|
|
125
|
-
docs/PaginatedDefinitionResourceResponse.md
|
|
121
|
+
docs/PaginatedCategoryFrontendResourceResponse.md
|
|
126
122
|
docs/PaginatedDocumentResourceResponse.md
|
|
127
123
|
docs/PaginatedExternalApiLogListResourceResponse.md
|
|
128
124
|
docs/PaginatedExternalApiLogResourceResponse.md
|
|
@@ -163,6 +159,7 @@ docs/PreviewAutomationRulesResourceArrayResponse.md
|
|
|
163
159
|
docs/ProductAggregationResource.md
|
|
164
160
|
docs/ProductAggregationResourceArrayResponse.md
|
|
165
161
|
docs/ProductApi.md
|
|
162
|
+
docs/ProductAvailability.md
|
|
166
163
|
docs/ProductCategoryApi.md
|
|
167
164
|
docs/ProductCategoryHierarchyResource.md
|
|
168
165
|
docs/ProductCategoryHierarchyResourceArrayResponse.md
|
|
@@ -203,7 +200,6 @@ docs/ProductSearchResponseResourcePriceInfo.md
|
|
|
203
200
|
docs/ProductSearchResultResource.md
|
|
204
201
|
docs/ProductSearchResultResourceArrayResponse.md
|
|
205
202
|
docs/ProductSortBy.md
|
|
206
|
-
docs/ProductStatus.md
|
|
207
203
|
docs/ProductTypeApi.md
|
|
208
204
|
docs/ProductTypeListResource.md
|
|
209
205
|
docs/ProductTypeListResourceArrayResponse.md
|
|
@@ -231,7 +227,6 @@ docs/SiteResourceArrayResponse.md
|
|
|
231
227
|
docs/StoreAssetFileRequest.md
|
|
232
228
|
docs/StoreAttributeRequest.md
|
|
233
229
|
docs/StoreAttributeValueRequest.md
|
|
234
|
-
docs/StoreDefinitionRequest.md
|
|
235
230
|
docs/StoreDocumentFileRequest.md
|
|
236
231
|
docs/StoreDocumentRequest.md
|
|
237
232
|
docs/StoreOverlayTemplateAssetRequest.md
|
|
@@ -269,7 +264,6 @@ docs/TagResourceArrayResponse.md
|
|
|
269
264
|
docs/TagType.md
|
|
270
265
|
docs/UpdateAttributeRequest.md
|
|
271
266
|
docs/UpdateAttributeValueRequest.md
|
|
272
|
-
docs/UpdateDefinitionRequest.md
|
|
273
267
|
docs/UpdateDocumentRequest.md
|
|
274
268
|
docs/UpdateFilterOrderAttributeRequest.md
|
|
275
269
|
docs/UpdateFilterOrderAttributeRequestValuesInner.md
|
|
@@ -289,7 +283,6 @@ docs/UpdateTagRequest.md
|
|
|
289
283
|
package.json
|
|
290
284
|
src/apis/AssetApi.ts
|
|
291
285
|
src/apis/AttributeApi.ts
|
|
292
|
-
src/apis/DefinitionApi.ts
|
|
293
286
|
src/apis/DocumentApi.ts
|
|
294
287
|
src/apis/ExternalApiLogApi.ts
|
|
295
288
|
src/apis/GoogleCategoryApi.ts
|
|
@@ -337,11 +330,11 @@ src/models/CategoryAutomationConditionType.ts
|
|
|
337
330
|
src/models/CategoryAutomationFieldType.ts
|
|
338
331
|
src/models/CategoryAutomationRuleResource.ts
|
|
339
332
|
src/models/CategoryAutomationRuleResourceArrayResponse.ts
|
|
333
|
+
src/models/CategoryFrontendResource.ts
|
|
334
|
+
src/models/CategoryFrontendResourceArrayResponse.ts
|
|
335
|
+
src/models/CategoryWithChildrenFrontendResource.ts
|
|
336
|
+
src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts
|
|
340
337
|
src/models/CouponDiscountType.ts
|
|
341
|
-
src/models/DefinitionListResource.ts
|
|
342
|
-
src/models/DefinitionListResourceArrayResponse.ts
|
|
343
|
-
src/models/DefinitionResource.ts
|
|
344
|
-
src/models/DefinitionResourceArrayResponse.ts
|
|
345
338
|
src/models/DescriptionResource.ts
|
|
346
339
|
src/models/DescriptionResourceArrayResponse.ts
|
|
347
340
|
src/models/DestroyAttributeValueRequest.ts
|
|
@@ -366,7 +359,6 @@ src/models/ExternalApiProvider.ts
|
|
|
366
359
|
src/models/ExternalApiSyncStatus.ts
|
|
367
360
|
src/models/GenericResponse.ts
|
|
368
361
|
src/models/GetAllAttributeRequest.ts
|
|
369
|
-
src/models/GetAllDefinitionRequest.ts
|
|
370
362
|
src/models/GetAllDocumentRequest.ts
|
|
371
363
|
src/models/GetAllGoogleCategoryRequest.ts
|
|
372
364
|
src/models/GetAllOverlayTemplateRequest.ts
|
|
@@ -386,7 +378,6 @@ src/models/GlobalSearchResponseResourceArrayResponse.ts
|
|
|
386
378
|
src/models/GoogleCategoryResource.ts
|
|
387
379
|
src/models/GoogleCategoryResourceArrayResponse.ts
|
|
388
380
|
src/models/IndexAttributeRequest.ts
|
|
389
|
-
src/models/IndexDefinitionRequest.ts
|
|
390
381
|
src/models/IndexDocumentRequest.ts
|
|
391
382
|
src/models/IndexExternalApiLogRequest.ts
|
|
392
383
|
src/models/IndexOverlayTemplateRequest.ts
|
|
@@ -415,8 +406,7 @@ src/models/PaginatedAttributeListResourceResponse.ts
|
|
|
415
406
|
src/models/PaginatedAttributeLiteResourceResponse.ts
|
|
416
407
|
src/models/PaginatedAttributeProductTypeRelationResourceResponse.ts
|
|
417
408
|
src/models/PaginatedAttributeResourceResponse.ts
|
|
418
|
-
src/models/
|
|
419
|
-
src/models/PaginatedDefinitionResourceResponse.ts
|
|
409
|
+
src/models/PaginatedCategoryFrontendResourceResponse.ts
|
|
420
410
|
src/models/PaginatedDocumentResourceResponse.ts
|
|
421
411
|
src/models/PaginatedExternalApiLogListResourceResponse.ts
|
|
422
412
|
src/models/PaginatedExternalApiLogResourceResponse.ts
|
|
@@ -456,6 +446,7 @@ src/models/PreviewAutomationRulesResource.ts
|
|
|
456
446
|
src/models/PreviewAutomationRulesResourceArrayResponse.ts
|
|
457
447
|
src/models/ProductAggregationResource.ts
|
|
458
448
|
src/models/ProductAggregationResourceArrayResponse.ts
|
|
449
|
+
src/models/ProductAvailability.ts
|
|
459
450
|
src/models/ProductCategoryHierarchyResource.ts
|
|
460
451
|
src/models/ProductCategoryHierarchyResourceArrayResponse.ts
|
|
461
452
|
src/models/ProductCategoryListResource.ts
|
|
@@ -494,7 +485,6 @@ src/models/ProductSearchResponseResourcePriceInfo.ts
|
|
|
494
485
|
src/models/ProductSearchResultResource.ts
|
|
495
486
|
src/models/ProductSearchResultResourceArrayResponse.ts
|
|
496
487
|
src/models/ProductSortBy.ts
|
|
497
|
-
src/models/ProductStatus.ts
|
|
498
488
|
src/models/ProductTypeListResource.ts
|
|
499
489
|
src/models/ProductTypeListResourceArrayResponse.ts
|
|
500
490
|
src/models/ProductTypeLiteResource.ts
|
|
@@ -520,7 +510,6 @@ src/models/SiteResourceArrayResponse.ts
|
|
|
520
510
|
src/models/StoreAssetFileRequest.ts
|
|
521
511
|
src/models/StoreAttributeRequest.ts
|
|
522
512
|
src/models/StoreAttributeValueRequest.ts
|
|
523
|
-
src/models/StoreDefinitionRequest.ts
|
|
524
513
|
src/models/StoreDocumentFileRequest.ts
|
|
525
514
|
src/models/StoreDocumentRequest.ts
|
|
526
515
|
src/models/StoreOverlayTemplateAssetRequest.ts
|
|
@@ -556,7 +545,6 @@ src/models/TagResourceArrayResponse.ts
|
|
|
556
545
|
src/models/TagType.ts
|
|
557
546
|
src/models/UpdateAttributeRequest.ts
|
|
558
547
|
src/models/UpdateAttributeValueRequest.ts
|
|
559
|
-
src/models/UpdateDefinitionRequest.ts
|
|
560
548
|
src/models/UpdateDocumentRequest.ts
|
|
561
549
|
src/models/UpdateFilterOrderAttributeRequest.ts
|
|
562
550
|
src/models/UpdateFilterOrderAttributeRequestValuesInner.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.631
|
|
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,11 +192,11 @@ 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)
|
|
195
|
+
- [CategoryFrontendResource](docs/CategoryFrontendResource.md)
|
|
196
|
+
- [CategoryFrontendResourceArrayResponse](docs/CategoryFrontendResourceArrayResponse.md)
|
|
197
|
+
- [CategoryWithChildrenFrontendResource](docs/CategoryWithChildrenFrontendResource.md)
|
|
198
|
+
- [CategoryWithChildrenFrontendResourceArrayResponse](docs/CategoryWithChildrenFrontendResourceArrayResponse.md)
|
|
201
199
|
- [CouponDiscountType](docs/CouponDiscountType.md)
|
|
202
|
-
- [DefinitionListResource](docs/DefinitionListResource.md)
|
|
203
|
-
- [DefinitionListResourceArrayResponse](docs/DefinitionListResourceArrayResponse.md)
|
|
204
|
-
- [DefinitionResource](docs/DefinitionResource.md)
|
|
205
|
-
- [DefinitionResourceArrayResponse](docs/DefinitionResourceArrayResponse.md)
|
|
206
200
|
- [DescriptionResource](docs/DescriptionResource.md)
|
|
207
201
|
- [DescriptionResourceArrayResponse](docs/DescriptionResourceArrayResponse.md)
|
|
208
202
|
- [DestroyAttributeValueRequest](docs/DestroyAttributeValueRequest.md)
|
|
@@ -227,7 +221,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
227
221
|
- [ExternalApiSyncStatus](docs/ExternalApiSyncStatus.md)
|
|
228
222
|
- [GenericResponse](docs/GenericResponse.md)
|
|
229
223
|
- [GetAllAttributeRequest](docs/GetAllAttributeRequest.md)
|
|
230
|
-
- [GetAllDefinitionRequest](docs/GetAllDefinitionRequest.md)
|
|
231
224
|
- [GetAllDocumentRequest](docs/GetAllDocumentRequest.md)
|
|
232
225
|
- [GetAllGoogleCategoryRequest](docs/GetAllGoogleCategoryRequest.md)
|
|
233
226
|
- [GetAllOverlayTemplateRequest](docs/GetAllOverlayTemplateRequest.md)
|
|
@@ -247,7 +240,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
247
240
|
- [GoogleCategoryResource](docs/GoogleCategoryResource.md)
|
|
248
241
|
- [GoogleCategoryResourceArrayResponse](docs/GoogleCategoryResourceArrayResponse.md)
|
|
249
242
|
- [IndexAttributeRequest](docs/IndexAttributeRequest.md)
|
|
250
|
-
- [IndexDefinitionRequest](docs/IndexDefinitionRequest.md)
|
|
251
243
|
- [IndexDocumentRequest](docs/IndexDocumentRequest.md)
|
|
252
244
|
- [IndexExternalApiLogRequest](docs/IndexExternalApiLogRequest.md)
|
|
253
245
|
- [IndexOverlayTemplateRequest](docs/IndexOverlayTemplateRequest.md)
|
|
@@ -276,8 +268,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
276
268
|
- [PaginatedAttributeLiteResourceResponse](docs/PaginatedAttributeLiteResourceResponse.md)
|
|
277
269
|
- [PaginatedAttributeProductTypeRelationResourceResponse](docs/PaginatedAttributeProductTypeRelationResourceResponse.md)
|
|
278
270
|
- [PaginatedAttributeResourceResponse](docs/PaginatedAttributeResourceResponse.md)
|
|
279
|
-
- [
|
|
280
|
-
- [PaginatedDefinitionResourceResponse](docs/PaginatedDefinitionResourceResponse.md)
|
|
271
|
+
- [PaginatedCategoryFrontendResourceResponse](docs/PaginatedCategoryFrontendResourceResponse.md)
|
|
281
272
|
- [PaginatedDocumentResourceResponse](docs/PaginatedDocumentResourceResponse.md)
|
|
282
273
|
- [PaginatedExternalApiLogListResourceResponse](docs/PaginatedExternalApiLogListResourceResponse.md)
|
|
283
274
|
- [PaginatedExternalApiLogResourceResponse](docs/PaginatedExternalApiLogResourceResponse.md)
|
|
@@ -317,6 +308,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
317
308
|
- [PreviewAutomationRulesResourceArrayResponse](docs/PreviewAutomationRulesResourceArrayResponse.md)
|
|
318
309
|
- [ProductAggregationResource](docs/ProductAggregationResource.md)
|
|
319
310
|
- [ProductAggregationResourceArrayResponse](docs/ProductAggregationResourceArrayResponse.md)
|
|
311
|
+
- [ProductAvailability](docs/ProductAvailability.md)
|
|
320
312
|
- [ProductCategoryHierarchyResource](docs/ProductCategoryHierarchyResource.md)
|
|
321
313
|
- [ProductCategoryHierarchyResourceArrayResponse](docs/ProductCategoryHierarchyResourceArrayResponse.md)
|
|
322
314
|
- [ProductCategoryListResource](docs/ProductCategoryListResource.md)
|
|
@@ -355,7 +347,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
355
347
|
- [ProductSearchResultResource](docs/ProductSearchResultResource.md)
|
|
356
348
|
- [ProductSearchResultResourceArrayResponse](docs/ProductSearchResultResourceArrayResponse.md)
|
|
357
349
|
- [ProductSortBy](docs/ProductSortBy.md)
|
|
358
|
-
- [ProductStatus](docs/ProductStatus.md)
|
|
359
350
|
- [ProductTypeListResource](docs/ProductTypeListResource.md)
|
|
360
351
|
- [ProductTypeListResourceArrayResponse](docs/ProductTypeListResourceArrayResponse.md)
|
|
361
352
|
- [ProductTypeLiteResource](docs/ProductTypeLiteResource.md)
|
|
@@ -381,7 +372,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
381
372
|
- [StoreAssetFileRequest](docs/StoreAssetFileRequest.md)
|
|
382
373
|
- [StoreAttributeRequest](docs/StoreAttributeRequest.md)
|
|
383
374
|
- [StoreAttributeValueRequest](docs/StoreAttributeValueRequest.md)
|
|
384
|
-
- [StoreDefinitionRequest](docs/StoreDefinitionRequest.md)
|
|
385
375
|
- [StoreDocumentFileRequest](docs/StoreDocumentFileRequest.md)
|
|
386
376
|
- [StoreDocumentRequest](docs/StoreDocumentRequest.md)
|
|
387
377
|
- [StoreOverlayTemplateAssetRequest](docs/StoreOverlayTemplateAssetRequest.md)
|
|
@@ -417,7 +407,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
417
407
|
- [TagType](docs/TagType.md)
|
|
418
408
|
- [UpdateAttributeRequest](docs/UpdateAttributeRequest.md)
|
|
419
409
|
- [UpdateAttributeValueRequest](docs/UpdateAttributeValueRequest.md)
|
|
420
|
-
- [UpdateDefinitionRequest](docs/UpdateDefinitionRequest.md)
|
|
421
410
|
- [UpdateDocumentRequest](docs/UpdateDocumentRequest.md)
|
|
422
411
|
- [UpdateFilterOrderAttributeRequest](docs/UpdateFilterOrderAttributeRequest.md)
|
|
423
412
|
- [UpdateFilterOrderAttributeRequestValuesInner](docs/UpdateFilterOrderAttributeRequestValuesInner.md)
|
|
@@ -447,7 +436,7 @@ and is automatically generated by the
|
|
|
447
436
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
448
437
|
|
|
449
438
|
- API version: `1.0.0`
|
|
450
|
-
- Package version: `0.0.
|
|
439
|
+
- Package version: `0.0.631`
|
|
451
440
|
- Generator version: `7.19.0`
|
|
452
441
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
453
442
|
|
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);
|
|
@@ -0,0 +1,70 @@
|
|
|
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 { AssetLiteResource } from './AssetLiteResource';
|
|
13
|
+
import type { DescriptionResource } from './DescriptionResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CategoryFrontendResource
|
|
18
|
+
*/
|
|
19
|
+
export interface CategoryFrontendResource {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof CategoryFrontendResource
|
|
24
|
+
*/
|
|
25
|
+
id?: number | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CategoryFrontendResource
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CategoryFrontendResource
|
|
36
|
+
*/
|
|
37
|
+
slug: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CategoryFrontendResource
|
|
42
|
+
*/
|
|
43
|
+
parentId?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {AssetLiteResource}
|
|
47
|
+
* @memberof CategoryFrontendResource
|
|
48
|
+
*/
|
|
49
|
+
thumbnail: AssetLiteResource | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {object}
|
|
53
|
+
* @memberof CategoryFrontendResource
|
|
54
|
+
*/
|
|
55
|
+
seo: object;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<DescriptionResource>}
|
|
59
|
+
* @memberof CategoryFrontendResource
|
|
60
|
+
*/
|
|
61
|
+
descriptions: Array<DescriptionResource> | null;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the CategoryFrontendResource interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfCategoryFrontendResource(value: object): value is CategoryFrontendResource;
|
|
67
|
+
export declare function CategoryFrontendResourceFromJSON(json: any): CategoryFrontendResource;
|
|
68
|
+
export declare function CategoryFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryFrontendResource;
|
|
69
|
+
export declare function CategoryFrontendResourceToJSON(json: any): CategoryFrontendResource;
|
|
70
|
+
export declare function CategoryFrontendResourceToJSONTyped(value?: CategoryFrontendResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
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.instanceOfCategoryFrontendResource = instanceOfCategoryFrontendResource;
|
|
17
|
+
exports.CategoryFrontendResourceFromJSON = CategoryFrontendResourceFromJSON;
|
|
18
|
+
exports.CategoryFrontendResourceFromJSONTyped = CategoryFrontendResourceFromJSONTyped;
|
|
19
|
+
exports.CategoryFrontendResourceToJSON = CategoryFrontendResourceToJSON;
|
|
20
|
+
exports.CategoryFrontendResourceToJSONTyped = CategoryFrontendResourceToJSONTyped;
|
|
21
|
+
var AssetLiteResource_1 = require("./AssetLiteResource");
|
|
22
|
+
var DescriptionResource_1 = require("./DescriptionResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the CategoryFrontendResource interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfCategoryFrontendResource(value) {
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('thumbnail' in value) || value['thumbnail'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('seo' in value) || value['seo'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('descriptions' in value) || value['descriptions'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function CategoryFrontendResourceFromJSON(json) {
|
|
40
|
+
return CategoryFrontendResourceFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function CategoryFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
48
|
+
'name': json['name'],
|
|
49
|
+
'slug': json['slug'],
|
|
50
|
+
'parentId': json['parentId'] == null ? undefined : json['parentId'],
|
|
51
|
+
'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['thumbnail']),
|
|
52
|
+
'seo': json['seo'],
|
|
53
|
+
'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function CategoryFrontendResourceToJSON(json) {
|
|
57
|
+
return CategoryFrontendResourceToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function CategoryFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
60
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'id': value['id'],
|
|
66
|
+
'name': value['name'],
|
|
67
|
+
'slug': value['slug'],
|
|
68
|
+
'parentId': value['parentId'],
|
|
69
|
+
'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['thumbnail']),
|
|
70
|
+
'seo': value['seo'],
|
|
71
|
+
'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { CategoryFrontendResource } from './CategoryFrontendResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CategoryFrontendResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface CategoryFrontendResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<CategoryFrontendResource>}
|
|
22
|
+
* @memberof CategoryFrontendResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<CategoryFrontendResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CategoryFrontendResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCategoryFrontendResourceArrayResponse(value: object): value is CategoryFrontendResourceArrayResponse;
|
|
30
|
+
export declare function CategoryFrontendResourceArrayResponseFromJSON(json: any): CategoryFrontendResourceArrayResponse;
|
|
31
|
+
export declare function CategoryFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryFrontendResourceArrayResponse;
|
|
32
|
+
export declare function CategoryFrontendResourceArrayResponseToJSON(json: any): CategoryFrontendResourceArrayResponse;
|
|
33
|
+
export declare function CategoryFrontendResourceArrayResponseToJSONTyped(value?: CategoryFrontendResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfCategoryFrontendResourceArrayResponse = instanceOfCategoryFrontendResourceArrayResponse;
|
|
17
|
+
exports.CategoryFrontendResourceArrayResponseFromJSON = CategoryFrontendResourceArrayResponseFromJSON;
|
|
18
|
+
exports.CategoryFrontendResourceArrayResponseFromJSONTyped = CategoryFrontendResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.CategoryFrontendResourceArrayResponseToJSON = CategoryFrontendResourceArrayResponseToJSON;
|
|
20
|
+
exports.CategoryFrontendResourceArrayResponseToJSONTyped = CategoryFrontendResourceArrayResponseToJSONTyped;
|
|
21
|
+
var CategoryFrontendResource_1 = require("./CategoryFrontendResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CategoryFrontendResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCategoryFrontendResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function CategoryFrontendResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return CategoryFrontendResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function CategoryFrontendResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(CategoryFrontendResource_1.CategoryFrontendResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function CategoryFrontendResourceArrayResponseToJSON(json) {
|
|
40
|
+
return CategoryFrontendResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function CategoryFrontendResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(CategoryFrontendResource_1.CategoryFrontendResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { CategoryFrontendResource } from './CategoryFrontendResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CategoryWithChildrenFrontendResource
|
|
17
|
+
*/
|
|
18
|
+
export interface CategoryWithChildrenFrontendResource {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CategoryFrontendResource}
|
|
22
|
+
* @memberof CategoryWithChildrenFrontendResource
|
|
23
|
+
*/
|
|
24
|
+
category: CategoryFrontendResource | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<CategoryFrontendResource>}
|
|
28
|
+
* @memberof CategoryWithChildrenFrontendResource
|
|
29
|
+
*/
|
|
30
|
+
children: Array<CategoryFrontendResource> | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the CategoryWithChildrenFrontendResource interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfCategoryWithChildrenFrontendResource(value: object): value is CategoryWithChildrenFrontendResource;
|
|
36
|
+
export declare function CategoryWithChildrenFrontendResourceFromJSON(json: any): CategoryWithChildrenFrontendResource;
|
|
37
|
+
export declare function CategoryWithChildrenFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryWithChildrenFrontendResource;
|
|
38
|
+
export declare function CategoryWithChildrenFrontendResourceToJSON(json: any): CategoryWithChildrenFrontendResource;
|
|
39
|
+
export declare function CategoryWithChildrenFrontendResourceToJSONTyped(value?: CategoryWithChildrenFrontendResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfCategoryWithChildrenFrontendResource = instanceOfCategoryWithChildrenFrontendResource;
|
|
17
|
+
exports.CategoryWithChildrenFrontendResourceFromJSON = CategoryWithChildrenFrontendResourceFromJSON;
|
|
18
|
+
exports.CategoryWithChildrenFrontendResourceFromJSONTyped = CategoryWithChildrenFrontendResourceFromJSONTyped;
|
|
19
|
+
exports.CategoryWithChildrenFrontendResourceToJSON = CategoryWithChildrenFrontendResourceToJSON;
|
|
20
|
+
exports.CategoryWithChildrenFrontendResourceToJSONTyped = CategoryWithChildrenFrontendResourceToJSONTyped;
|
|
21
|
+
var CategoryFrontendResource_1 = require("./CategoryFrontendResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CategoryWithChildrenFrontendResource interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCategoryWithChildrenFrontendResource(value) {
|
|
26
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('children' in value) || value['children'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function CategoryWithChildrenFrontendResourceFromJSON(json) {
|
|
33
|
+
return CategoryWithChildrenFrontendResourceFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function CategoryWithChildrenFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'category': (0, CategoryFrontendResource_1.CategoryFrontendResourceFromJSON)(json['category']),
|
|
41
|
+
'children': (json['children'] == null ? null : json['children'].map(CategoryFrontendResource_1.CategoryFrontendResourceFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function CategoryWithChildrenFrontendResourceToJSON(json) {
|
|
45
|
+
return CategoryWithChildrenFrontendResourceToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function CategoryWithChildrenFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'category': (0, CategoryFrontendResource_1.CategoryFrontendResourceToJSON)(value['category']),
|
|
54
|
+
'children': (value['children'] == null ? null : value['children'].map(CategoryFrontendResource_1.CategoryFrontendResourceToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { CategoryWithChildrenFrontendResource } from './CategoryWithChildrenFrontendResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CategoryWithChildrenFrontendResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface CategoryWithChildrenFrontendResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<CategoryWithChildrenFrontendResource>}
|
|
22
|
+
* @memberof CategoryWithChildrenFrontendResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<CategoryWithChildrenFrontendResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CategoryWithChildrenFrontendResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCategoryWithChildrenFrontendResourceArrayResponse(value: object): value is CategoryWithChildrenFrontendResourceArrayResponse;
|
|
30
|
+
export declare function CategoryWithChildrenFrontendResourceArrayResponseFromJSON(json: any): CategoryWithChildrenFrontendResourceArrayResponse;
|
|
31
|
+
export declare function CategoryWithChildrenFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryWithChildrenFrontendResourceArrayResponse;
|
|
32
|
+
export declare function CategoryWithChildrenFrontendResourceArrayResponseToJSON(json: any): CategoryWithChildrenFrontendResourceArrayResponse;
|
|
33
|
+
export declare function CategoryWithChildrenFrontendResourceArrayResponseToJSONTyped(value?: CategoryWithChildrenFrontendResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|