@digital8/lighting-illusions-ts-sdk 0.0.488 → 0.0.490
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 +8 -22
- package/README.md +10 -15
- package/dist/apis/DocumentApi.d.ts +24 -1
- package/dist/apis/DocumentApi.js +96 -2
- package/dist/models/DescriptionResource.d.ts +50 -0
- package/dist/models/DescriptionResource.js +63 -0
- package/dist/models/DescriptionResourceArrayResponse.d.ts +33 -0
- package/dist/models/DescriptionResourceArrayResponse.js +50 -0
- package/dist/models/GetAllDocumentRequest.d.ts +26 -0
- package/dist/models/GetAllDocumentRequest.js +14 -1
- package/dist/models/GetAllProductChildRequest.d.ts +1 -0
- package/dist/models/GetAllProductChildRequest.js +2 -1
- package/dist/models/IndexDocumentRequest.d.ts +26 -0
- package/dist/models/IndexDocumentRequest.js +14 -1
- package/dist/models/IndexExternalApiLogRequest.d.ts +0 -6
- package/dist/models/IndexExternalApiLogRequest.js +0 -2
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/ProductChildSiteDetailResource.d.ts +2 -8
- package/dist/models/ProductChildSiteDetailResource.js +4 -4
- package/dist/models/SEOResource.d.ts +2 -20
- package/dist/models/SEOResource.js +8 -20
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +3 -15
- package/dist/models/StoreProductChildRequestSitesInner.js +7 -9
- package/dist/models/StoreSupplierRequest.d.ts +7 -0
- package/dist/models/StoreSupplierRequest.js +5 -0
- package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +44 -0
- package/dist/models/StoreSupplierRequestDescriptionsInner.js +55 -0
- package/dist/models/StoreSupplierRequestSeoInner.d.ts +2 -20
- package/dist/models/StoreSupplierRequestSeoInner.js +4 -10
- package/dist/models/StoreTagRequest.d.ts +3 -9
- package/dist/models/StoreTagRequest.js +6 -8
- package/dist/models/SupplierFrontendResource.d.ts +7 -0
- package/dist/models/SupplierFrontendResource.js +5 -0
- package/dist/models/SupplierResource.d.ts +7 -0
- package/dist/models/SupplierResource.js +5 -0
- package/dist/models/TagResource.d.ts +7 -0
- package/dist/models/TagResource.js +5 -0
- package/dist/models/UpdateDocumentRequest.d.ts +44 -0
- package/dist/models/UpdateDocumentRequest.js +57 -0
- package/dist/models/UpdateSupplierRequest.d.ts +7 -0
- package/dist/models/UpdateSupplierRequest.js +5 -0
- package/dist/models/UpdateTagRequest.d.ts +3 -9
- package/dist/models/UpdateTagRequest.js +6 -8
- package/dist/models/index.d.ts +4 -11
- package/dist/models/index.js +4 -11
- package/docs/{ProductAggregationResourceArrayResponse.md → DescriptionResource.md} +12 -6
- package/docs/{ProductRating.md → DescriptionResourceArrayResponse.md} +6 -4
- package/docs/DocumentApi.md +137 -2
- package/docs/GetAllDocumentRequest.md +6 -0
- package/docs/IndexDocumentRequest.md +6 -0
- package/docs/IndexExternalApiLogRequest.md +0 -2
- package/docs/ProductChildSiteDetailResource.md +2 -4
- package/docs/SEOResource.md +4 -10
- package/docs/StoreProductChildRequestSitesInner.md +4 -8
- package/docs/StoreSupplierRequest.md +2 -0
- package/docs/{ProductSearchResponseResourceMeta.md → StoreSupplierRequestDescriptionsInner.md} +10 -12
- package/docs/StoreSupplierRequestSeoInner.md +4 -10
- package/docs/StoreTagRequest.md +6 -8
- package/docs/SupplierFrontendResource.md +2 -0
- package/docs/SupplierResource.md +2 -0
- package/docs/TagResource.md +2 -0
- package/docs/{ProductSortBy.md → UpdateDocumentRequest.md} +10 -4
- package/docs/UpdateSupplierRequest.md +2 -0
- package/docs/UpdateTagRequest.md +6 -8
- package/package.json +1 -1
- package/src/apis/DocumentApi.ts +91 -2
- package/src/models/DescriptionResource.ts +93 -0
- package/src/models/DescriptionResourceArrayResponse.ts +73 -0
- package/src/models/GetAllDocumentRequest.ts +33 -0
- package/src/models/GetAllProductChildRequest.ts +2 -1
- package/src/models/IndexDocumentRequest.ts +33 -0
- package/src/models/IndexExternalApiLogRequest.ts +0 -8
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/ProductChildSiteDetailResource.ts +5 -12
- package/src/models/SEOResource.ts +10 -37
- package/src/models/StoreProductChildRequestSitesInner.ts +9 -24
- package/src/models/StoreSupplierRequest.ts +16 -0
- package/src/models/StoreSupplierRequestDescriptionsInner.ts +82 -0
- package/src/models/StoreSupplierRequestSeoInner.ts +6 -30
- package/src/models/StoreTagRequest.ts +9 -17
- package/src/models/SupplierFrontendResource.ts +16 -0
- package/src/models/SupplierResource.ts +16 -0
- package/src/models/TagResource.ts +16 -0
- package/src/models/UpdateDocumentRequest.ts +83 -0
- package/src/models/UpdateSupplierRequest.ts +16 -0
- package/src/models/UpdateTagRequest.ts +9 -17
- package/src/models/index.ts +4 -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/ProductSearchResponseResource.md +0 -40
- package/docs/ProductSearchResponseResourceArrayResponse.md +0 -34
- package/docs/ProductSearchResponseResourcePriceInfo.md +0 -40
- package/docs/ProductSearchResultResource.md +0 -62
- package/docs/ProductSearchResultResourceArrayResponse.md +0 -34
- 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
|
@@ -31,6 +31,8 @@ docs/AttributeType.md
|
|
|
31
31
|
docs/AttributeValueResource.md
|
|
32
32
|
docs/AttributeValueResourceArrayResponse.md
|
|
33
33
|
docs/CouponDiscountType.md
|
|
34
|
+
docs/DescriptionResource.md
|
|
35
|
+
docs/DescriptionResourceArrayResponse.md
|
|
34
36
|
docs/DestroyAttributeValueRequest.md
|
|
35
37
|
docs/DetachAssetableOverlayTemplateRequest.md
|
|
36
38
|
docs/DetachDocumentablesDocumentRequest.md
|
|
@@ -99,7 +101,6 @@ docs/PaginatedProductChildResourceResponse.md
|
|
|
99
101
|
docs/PaginatedProductListResourceResponse.md
|
|
100
102
|
docs/PaginatedProductLiteResourceResponse.md
|
|
101
103
|
docs/PaginatedProductResourceResponse.md
|
|
102
|
-
docs/PaginatedProductSearchResultResourceResponse.md
|
|
103
104
|
docs/PaginatedProductTypeListResourceResponse.md
|
|
104
105
|
docs/PaginatedProductTypeLiteResourceResponse.md
|
|
105
106
|
docs/PaginatedProductTypeResourceResponse.md
|
|
@@ -116,8 +117,6 @@ docs/PaginatedTagListResourceResponse.md
|
|
|
116
117
|
docs/PaginatedTagLiteResourceResponse.md
|
|
117
118
|
docs/PaginatedTagResourceResponse.md
|
|
118
119
|
docs/PagingMetadata.md
|
|
119
|
-
docs/ProductAggregationResource.md
|
|
120
|
-
docs/ProductAggregationResourceArrayResponse.md
|
|
121
120
|
docs/ProductApi.md
|
|
122
121
|
docs/ProductChildListResource.md
|
|
123
122
|
docs/ProductChildListResourceArrayResponse.md
|
|
@@ -138,16 +137,8 @@ docs/ProductListResource.md
|
|
|
138
137
|
docs/ProductListResourceArrayResponse.md
|
|
139
138
|
docs/ProductLiteResource.md
|
|
140
139
|
docs/ProductLiteResourceArrayResponse.md
|
|
141
|
-
docs/ProductRating.md
|
|
142
140
|
docs/ProductResource.md
|
|
143
141
|
docs/ProductResourceArrayResponse.md
|
|
144
|
-
docs/ProductSearchResponseResource.md
|
|
145
|
-
docs/ProductSearchResponseResourceArrayResponse.md
|
|
146
|
-
docs/ProductSearchResponseResourceMeta.md
|
|
147
|
-
docs/ProductSearchResponseResourcePriceInfo.md
|
|
148
|
-
docs/ProductSearchResultResource.md
|
|
149
|
-
docs/ProductSearchResultResourceArrayResponse.md
|
|
150
|
-
docs/ProductSortBy.md
|
|
151
142
|
docs/ProductTypeApi.md
|
|
152
143
|
docs/ProductTypeListResource.md
|
|
153
144
|
docs/ProductTypeListResourceArrayResponse.md
|
|
@@ -188,6 +179,7 @@ docs/StoreProductRequestCategoriesInner.md
|
|
|
188
179
|
docs/StoreProductTypeRequest.md
|
|
189
180
|
docs/StoreSiteNotificationRequest.md
|
|
190
181
|
docs/StoreSupplierRequest.md
|
|
182
|
+
docs/StoreSupplierRequestDescriptionsInner.md
|
|
191
183
|
docs/StoreSupplierRequestSeoInner.md
|
|
192
184
|
docs/StoreTagRequest.md
|
|
193
185
|
docs/SupplierApi.md
|
|
@@ -209,6 +201,7 @@ docs/TagResourceArrayResponse.md
|
|
|
209
201
|
docs/TagType.md
|
|
210
202
|
docs/UpdateAttributeRequest.md
|
|
211
203
|
docs/UpdateAttributeValueRequest.md
|
|
204
|
+
docs/UpdateDocumentRequest.md
|
|
212
205
|
docs/UpdateFilterOrderAttributeRequest.md
|
|
213
206
|
docs/UpdateFilterOrderAttributeRequestValuesInner.md
|
|
214
207
|
docs/UpdateModelAttributeRequest.md
|
|
@@ -264,6 +257,8 @@ src/models/AttributeType.ts
|
|
|
264
257
|
src/models/AttributeValueResource.ts
|
|
265
258
|
src/models/AttributeValueResourceArrayResponse.ts
|
|
266
259
|
src/models/CouponDiscountType.ts
|
|
260
|
+
src/models/DescriptionResource.ts
|
|
261
|
+
src/models/DescriptionResourceArrayResponse.ts
|
|
267
262
|
src/models/DestroyAttributeValueRequest.ts
|
|
268
263
|
src/models/DetachAssetableOverlayTemplateRequest.ts
|
|
269
264
|
src/models/DetachDocumentablesDocumentRequest.ts
|
|
@@ -329,7 +324,6 @@ src/models/PaginatedProductChildResourceResponse.ts
|
|
|
329
324
|
src/models/PaginatedProductListResourceResponse.ts
|
|
330
325
|
src/models/PaginatedProductLiteResourceResponse.ts
|
|
331
326
|
src/models/PaginatedProductResourceResponse.ts
|
|
332
|
-
src/models/PaginatedProductSearchResultResourceResponse.ts
|
|
333
327
|
src/models/PaginatedProductTypeListResourceResponse.ts
|
|
334
328
|
src/models/PaginatedProductTypeLiteResourceResponse.ts
|
|
335
329
|
src/models/PaginatedProductTypeResourceResponse.ts
|
|
@@ -346,8 +340,6 @@ src/models/PaginatedTagListResourceResponse.ts
|
|
|
346
340
|
src/models/PaginatedTagLiteResourceResponse.ts
|
|
347
341
|
src/models/PaginatedTagResourceResponse.ts
|
|
348
342
|
src/models/PagingMetadata.ts
|
|
349
|
-
src/models/ProductAggregationResource.ts
|
|
350
|
-
src/models/ProductAggregationResourceArrayResponse.ts
|
|
351
343
|
src/models/ProductChildListResource.ts
|
|
352
344
|
src/models/ProductChildListResourceArrayResponse.ts
|
|
353
345
|
src/models/ProductChildLiteResource.ts
|
|
@@ -366,16 +358,8 @@ src/models/ProductListResource.ts
|
|
|
366
358
|
src/models/ProductListResourceArrayResponse.ts
|
|
367
359
|
src/models/ProductLiteResource.ts
|
|
368
360
|
src/models/ProductLiteResourceArrayResponse.ts
|
|
369
|
-
src/models/ProductRating.ts
|
|
370
361
|
src/models/ProductResource.ts
|
|
371
362
|
src/models/ProductResourceArrayResponse.ts
|
|
372
|
-
src/models/ProductSearchResponseResource.ts
|
|
373
|
-
src/models/ProductSearchResponseResourceArrayResponse.ts
|
|
374
|
-
src/models/ProductSearchResponseResourceMeta.ts
|
|
375
|
-
src/models/ProductSearchResponseResourcePriceInfo.ts
|
|
376
|
-
src/models/ProductSearchResultResource.ts
|
|
377
|
-
src/models/ProductSearchResultResourceArrayResponse.ts
|
|
378
|
-
src/models/ProductSortBy.ts
|
|
379
363
|
src/models/ProductTypeListResource.ts
|
|
380
364
|
src/models/ProductTypeListResourceArrayResponse.ts
|
|
381
365
|
src/models/ProductTypeLiteResource.ts
|
|
@@ -414,6 +398,7 @@ src/models/StoreProductRequestCategoriesInner.ts
|
|
|
414
398
|
src/models/StoreProductTypeRequest.ts
|
|
415
399
|
src/models/StoreSiteNotificationRequest.ts
|
|
416
400
|
src/models/StoreSupplierRequest.ts
|
|
401
|
+
src/models/StoreSupplierRequestDescriptionsInner.ts
|
|
417
402
|
src/models/StoreSupplierRequestSeoInner.ts
|
|
418
403
|
src/models/StoreTagRequest.ts
|
|
419
404
|
src/models/SupplierFrontendResource.ts
|
|
@@ -433,6 +418,7 @@ src/models/TagResourceArrayResponse.ts
|
|
|
433
418
|
src/models/TagType.ts
|
|
434
419
|
src/models/UpdateAttributeRequest.ts
|
|
435
420
|
src/models/UpdateAttributeValueRequest.ts
|
|
421
|
+
src/models/UpdateDocumentRequest.ts
|
|
436
422
|
src/models/UpdateFilterOrderAttributeRequest.ts
|
|
437
423
|
src/models/UpdateFilterOrderAttributeRequestValuesInner.ts
|
|
438
424
|
src/models/UpdateModelAttributeRequest.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.490
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -66,12 +66,14 @@ All URIs are relative to *http://localhost/api*
|
|
|
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
68
|
*DocumentApi* | [**attachDocumentablesDocument**](docs/DocumentApi.md#attachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/attach-documentables | Auto-generated: attachDocumentablesDocument
|
|
69
|
-
*DocumentApi* | [**destroyDocument**](docs/DocumentApi.md#destroydocument) | **DELETE** /admin-api/document/{document} | Auto-generated: destroyDocument
|
|
69
|
+
*DocumentApi* | [**destroyDocument**](docs/DocumentApi.md#destroydocument) | **DELETE** /admin-api/document/{document}/delete | Auto-generated: destroyDocument
|
|
70
70
|
*DocumentApi* | [**detachDocumentablesDocument**](docs/DocumentApi.md#detachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/detach-documentables | Auto-generated: detachDocumentablesDocument
|
|
71
71
|
*DocumentApi* | [**getAllDocument**](docs/DocumentApi.md#getalldocumentoperation) | **POST** /admin-api/document/all | Auto-generated: getAllDocument
|
|
72
72
|
*DocumentApi* | [**indexDocument**](docs/DocumentApi.md#indexdocumentoperation) | **POST** /admin-api/document/list | Auto-generated: indexDocument
|
|
73
|
-
*DocumentApi* | [**
|
|
73
|
+
*DocumentApi* | [**showDocument**](docs/DocumentApi.md#showdocument) | **GET** /admin-api/document/{document} | Auto-generated: showDocument
|
|
74
|
+
*DocumentApi* | [**storeDocument**](docs/DocumentApi.md#storedocumentoperation) | **POST** /admin-api/document/create | Auto-generated: storeDocument
|
|
74
75
|
*DocumentApi* | [**storeDocumentFile**](docs/DocumentApi.md#storedocumentfileoperation) | **POST** /admin-api/document/files | Auto-generated: storeDocumentFile
|
|
76
|
+
*DocumentApi* | [**updateDocument**](docs/DocumentApi.md#updatedocumentoperation) | **PUT** /admin-api/document/{document}/update | Auto-generated: updateDocument
|
|
75
77
|
*ExternalApiLogApi* | [**indexExternalApiLog**](docs/ExternalApiLogApi.md#indexexternalapilogoperation) | **POST** /admin-api/external-api-log/list | Auto-generated: indexExternalApiLog
|
|
76
78
|
*OverlayTemplateApi* | [**attachAssetsOverlayTemplate**](docs/OverlayTemplateApi.md#attachassetsoverlaytemplateoperation) | **POST** /admin-api/overlay-template/{overlayTemplate}/attach-assets | Auto-generated: attachAssetsOverlayTemplate
|
|
77
79
|
*OverlayTemplateApi* | [**destroyOverlayTemplate**](docs/OverlayTemplateApi.md#destroyoverlaytemplate) | **DELETE** /admin-api/overlay-template/{overlayTemplate}/delete | Auto-generated: destroyOverlayTemplate
|
|
@@ -170,6 +172,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
170
172
|
- [AttributeValueResource](docs/AttributeValueResource.md)
|
|
171
173
|
- [AttributeValueResourceArrayResponse](docs/AttributeValueResourceArrayResponse.md)
|
|
172
174
|
- [CouponDiscountType](docs/CouponDiscountType.md)
|
|
175
|
+
- [DescriptionResource](docs/DescriptionResource.md)
|
|
176
|
+
- [DescriptionResourceArrayResponse](docs/DescriptionResourceArrayResponse.md)
|
|
173
177
|
- [DestroyAttributeValueRequest](docs/DestroyAttributeValueRequest.md)
|
|
174
178
|
- [DetachAssetableOverlayTemplateRequest](docs/DetachAssetableOverlayTemplateRequest.md)
|
|
175
179
|
- [DetachDocumentablesDocumentRequest](docs/DetachDocumentablesDocumentRequest.md)
|
|
@@ -235,7 +239,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
235
239
|
- [PaginatedProductListResourceResponse](docs/PaginatedProductListResourceResponse.md)
|
|
236
240
|
- [PaginatedProductLiteResourceResponse](docs/PaginatedProductLiteResourceResponse.md)
|
|
237
241
|
- [PaginatedProductResourceResponse](docs/PaginatedProductResourceResponse.md)
|
|
238
|
-
- [PaginatedProductSearchResultResourceResponse](docs/PaginatedProductSearchResultResourceResponse.md)
|
|
239
242
|
- [PaginatedProductTypeListResourceResponse](docs/PaginatedProductTypeListResourceResponse.md)
|
|
240
243
|
- [PaginatedProductTypeLiteResourceResponse](docs/PaginatedProductTypeLiteResourceResponse.md)
|
|
241
244
|
- [PaginatedProductTypeResourceResponse](docs/PaginatedProductTypeResourceResponse.md)
|
|
@@ -252,8 +255,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
252
255
|
- [PaginatedTagLiteResourceResponse](docs/PaginatedTagLiteResourceResponse.md)
|
|
253
256
|
- [PaginatedTagResourceResponse](docs/PaginatedTagResourceResponse.md)
|
|
254
257
|
- [PagingMetadata](docs/PagingMetadata.md)
|
|
255
|
-
- [ProductAggregationResource](docs/ProductAggregationResource.md)
|
|
256
|
-
- [ProductAggregationResourceArrayResponse](docs/ProductAggregationResourceArrayResponse.md)
|
|
257
258
|
- [ProductChildListResource](docs/ProductChildListResource.md)
|
|
258
259
|
- [ProductChildListResourceArrayResponse](docs/ProductChildListResourceArrayResponse.md)
|
|
259
260
|
- [ProductChildLiteResource](docs/ProductChildLiteResource.md)
|
|
@@ -272,16 +273,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
272
273
|
- [ProductListResourceArrayResponse](docs/ProductListResourceArrayResponse.md)
|
|
273
274
|
- [ProductLiteResource](docs/ProductLiteResource.md)
|
|
274
275
|
- [ProductLiteResourceArrayResponse](docs/ProductLiteResourceArrayResponse.md)
|
|
275
|
-
- [ProductRating](docs/ProductRating.md)
|
|
276
276
|
- [ProductResource](docs/ProductResource.md)
|
|
277
277
|
- [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
|
|
278
|
-
- [ProductSearchResponseResource](docs/ProductSearchResponseResource.md)
|
|
279
|
-
- [ProductSearchResponseResourceArrayResponse](docs/ProductSearchResponseResourceArrayResponse.md)
|
|
280
|
-
- [ProductSearchResponseResourceMeta](docs/ProductSearchResponseResourceMeta.md)
|
|
281
|
-
- [ProductSearchResponseResourcePriceInfo](docs/ProductSearchResponseResourcePriceInfo.md)
|
|
282
|
-
- [ProductSearchResultResource](docs/ProductSearchResultResource.md)
|
|
283
|
-
- [ProductSearchResultResourceArrayResponse](docs/ProductSearchResultResourceArrayResponse.md)
|
|
284
|
-
- [ProductSortBy](docs/ProductSortBy.md)
|
|
285
278
|
- [ProductTypeListResource](docs/ProductTypeListResource.md)
|
|
286
279
|
- [ProductTypeListResourceArrayResponse](docs/ProductTypeListResourceArrayResponse.md)
|
|
287
280
|
- [ProductTypeLiteResource](docs/ProductTypeLiteResource.md)
|
|
@@ -320,6 +313,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
320
313
|
- [StoreProductTypeRequest](docs/StoreProductTypeRequest.md)
|
|
321
314
|
- [StoreSiteNotificationRequest](docs/StoreSiteNotificationRequest.md)
|
|
322
315
|
- [StoreSupplierRequest](docs/StoreSupplierRequest.md)
|
|
316
|
+
- [StoreSupplierRequestDescriptionsInner](docs/StoreSupplierRequestDescriptionsInner.md)
|
|
323
317
|
- [StoreSupplierRequestSeoInner](docs/StoreSupplierRequestSeoInner.md)
|
|
324
318
|
- [StoreTagRequest](docs/StoreTagRequest.md)
|
|
325
319
|
- [SupplierFrontendResource](docs/SupplierFrontendResource.md)
|
|
@@ -339,6 +333,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
339
333
|
- [TagType](docs/TagType.md)
|
|
340
334
|
- [UpdateAttributeRequest](docs/UpdateAttributeRequest.md)
|
|
341
335
|
- [UpdateAttributeValueRequest](docs/UpdateAttributeValueRequest.md)
|
|
336
|
+
- [UpdateDocumentRequest](docs/UpdateDocumentRequest.md)
|
|
342
337
|
- [UpdateFilterOrderAttributeRequest](docs/UpdateFilterOrderAttributeRequest.md)
|
|
343
338
|
- [UpdateFilterOrderAttributeRequestValuesInner](docs/UpdateFilterOrderAttributeRequestValuesInner.md)
|
|
344
339
|
- [UpdateModelAttributeRequest](docs/UpdateModelAttributeRequest.md)
|
|
@@ -366,7 +361,7 @@ and is automatically generated by the
|
|
|
366
361
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
367
362
|
|
|
368
363
|
- API version: `1.0.0`
|
|
369
|
-
- Package version: `0.0.
|
|
364
|
+
- Package version: `0.0.490`
|
|
370
365
|
- Generator version: `7.17.0`
|
|
371
366
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
372
367
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AttachDocumentablesDocumentRequest, DetachDocumentablesDocumentRequest, DocumentFileForUploadResource, DocumentResource, DocumentResourceArrayResponse, GenericResponse, GetAllDocumentRequest, IndexDocumentRequest, PaginatedDocumentResourceResponse, StoreDocumentFileRequest, StoreDocumentRequest } from '../models/index';
|
|
13
|
+
import type { AttachDocumentablesDocumentRequest, DetachDocumentablesDocumentRequest, DocumentFileForUploadResource, DocumentResource, DocumentResourceArrayResponse, GenericResponse, GetAllDocumentRequest, IndexDocumentRequest, PaginatedDocumentResourceResponse, StoreDocumentFileRequest, StoreDocumentRequest, UpdateDocumentRequest } from '../models/index';
|
|
14
14
|
export interface AttachDocumentablesDocumentOperationRequest {
|
|
15
15
|
document: number;
|
|
16
16
|
attachDocumentablesDocumentRequest?: AttachDocumentablesDocumentRequest;
|
|
@@ -28,12 +28,19 @@ export interface GetAllDocumentOperationRequest {
|
|
|
28
28
|
export interface IndexDocumentOperationRequest {
|
|
29
29
|
indexDocumentRequest?: IndexDocumentRequest;
|
|
30
30
|
}
|
|
31
|
+
export interface ShowDocumentRequest {
|
|
32
|
+
document: number;
|
|
33
|
+
}
|
|
31
34
|
export interface StoreDocumentOperationRequest {
|
|
32
35
|
storeDocumentRequest?: StoreDocumentRequest;
|
|
33
36
|
}
|
|
34
37
|
export interface StoreDocumentFileOperationRequest {
|
|
35
38
|
storeDocumentFileRequest?: StoreDocumentFileRequest;
|
|
36
39
|
}
|
|
40
|
+
export interface UpdateDocumentOperationRequest {
|
|
41
|
+
document: number;
|
|
42
|
+
updateDocumentRequest?: UpdateDocumentRequest;
|
|
43
|
+
}
|
|
37
44
|
/**
|
|
38
45
|
*
|
|
39
46
|
*/
|
|
@@ -78,6 +85,14 @@ export declare class DocumentApi extends runtime.BaseAPI {
|
|
|
78
85
|
* Auto-generated: indexDocument
|
|
79
86
|
*/
|
|
80
87
|
indexDocument(requestParameters?: IndexDocumentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedDocumentResourceResponse>;
|
|
88
|
+
/**
|
|
89
|
+
* Auto-generated: showDocument
|
|
90
|
+
*/
|
|
91
|
+
showDocumentRaw(requestParameters: ShowDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DocumentResource>>;
|
|
92
|
+
/**
|
|
93
|
+
* Auto-generated: showDocument
|
|
94
|
+
*/
|
|
95
|
+
showDocument(requestParameters: ShowDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DocumentResource>;
|
|
81
96
|
/**
|
|
82
97
|
* Auto-generated: storeDocument
|
|
83
98
|
*/
|
|
@@ -94,4 +109,12 @@ export declare class DocumentApi extends runtime.BaseAPI {
|
|
|
94
109
|
* Auto-generated: storeDocumentFile
|
|
95
110
|
*/
|
|
96
111
|
storeDocumentFile(requestParameters?: StoreDocumentFileOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DocumentFileForUploadResource>;
|
|
112
|
+
/**
|
|
113
|
+
* Auto-generated: updateDocument
|
|
114
|
+
*/
|
|
115
|
+
updateDocumentRaw(requestParameters: UpdateDocumentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DocumentResource>>;
|
|
116
|
+
/**
|
|
117
|
+
* Auto-generated: updateDocument
|
|
118
|
+
*/
|
|
119
|
+
updateDocument(requestParameters: UpdateDocumentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DocumentResource>;
|
|
97
120
|
}
|
package/dist/apis/DocumentApi.js
CHANGED
|
@@ -137,7 +137,7 @@ var DocumentApi = /** @class */ (function (_super) {
|
|
|
137
137
|
}
|
|
138
138
|
queryParameters = {};
|
|
139
139
|
headerParameters = {};
|
|
140
|
-
urlPath = "/admin-api/document/{document}";
|
|
140
|
+
urlPath = "/admin-api/document/{document}/delete";
|
|
141
141
|
urlPath = urlPath.replace("{".concat("document", "}"), encodeURIComponent(String(requestParameters['document'])));
|
|
142
142
|
return [4 /*yield*/, this.request({
|
|
143
143
|
path: urlPath,
|
|
@@ -307,6 +307,52 @@ var DocumentApi = /** @class */ (function (_super) {
|
|
|
307
307
|
});
|
|
308
308
|
});
|
|
309
309
|
};
|
|
310
|
+
/**
|
|
311
|
+
* Auto-generated: showDocument
|
|
312
|
+
*/
|
|
313
|
+
DocumentApi.prototype.showDocumentRaw = function (requestParameters, initOverrides) {
|
|
314
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
315
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
316
|
+
return __generator(this, function (_a) {
|
|
317
|
+
switch (_a.label) {
|
|
318
|
+
case 0:
|
|
319
|
+
if (requestParameters['document'] == null) {
|
|
320
|
+
throw new runtime.RequiredError('document', 'Required parameter "document" was null or undefined when calling showDocument().');
|
|
321
|
+
}
|
|
322
|
+
queryParameters = {};
|
|
323
|
+
headerParameters = {};
|
|
324
|
+
urlPath = "/admin-api/document/{document}";
|
|
325
|
+
urlPath = urlPath.replace("{".concat("document", "}"), encodeURIComponent(String(requestParameters['document'])));
|
|
326
|
+
return [4 /*yield*/, this.request({
|
|
327
|
+
path: urlPath,
|
|
328
|
+
method: 'GET',
|
|
329
|
+
headers: headerParameters,
|
|
330
|
+
query: queryParameters,
|
|
331
|
+
}, initOverrides)];
|
|
332
|
+
case 1:
|
|
333
|
+
response = _a.sent();
|
|
334
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DocumentResourceFromJSON)(jsonValue); })];
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
});
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* Auto-generated: showDocument
|
|
341
|
+
*/
|
|
342
|
+
DocumentApi.prototype.showDocument = function (requestParameters, initOverrides) {
|
|
343
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
344
|
+
var response;
|
|
345
|
+
return __generator(this, function (_a) {
|
|
346
|
+
switch (_a.label) {
|
|
347
|
+
case 0: return [4 /*yield*/, this.showDocumentRaw(requestParameters, initOverrides)];
|
|
348
|
+
case 1:
|
|
349
|
+
response = _a.sent();
|
|
350
|
+
return [4 /*yield*/, response.value()];
|
|
351
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
});
|
|
355
|
+
};
|
|
310
356
|
/**
|
|
311
357
|
* Auto-generated: storeDocument
|
|
312
358
|
*/
|
|
@@ -319,7 +365,7 @@ var DocumentApi = /** @class */ (function (_super) {
|
|
|
319
365
|
queryParameters = {};
|
|
320
366
|
headerParameters = {};
|
|
321
367
|
headerParameters['Content-Type'] = 'application/json';
|
|
322
|
-
urlPath = "/admin-api/document";
|
|
368
|
+
urlPath = "/admin-api/document/create";
|
|
323
369
|
return [4 /*yield*/, this.request({
|
|
324
370
|
path: urlPath,
|
|
325
371
|
method: 'POST',
|
|
@@ -397,6 +443,54 @@ var DocumentApi = /** @class */ (function (_super) {
|
|
|
397
443
|
});
|
|
398
444
|
});
|
|
399
445
|
};
|
|
446
|
+
/**
|
|
447
|
+
* Auto-generated: updateDocument
|
|
448
|
+
*/
|
|
449
|
+
DocumentApi.prototype.updateDocumentRaw = function (requestParameters, initOverrides) {
|
|
450
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
451
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
452
|
+
return __generator(this, function (_a) {
|
|
453
|
+
switch (_a.label) {
|
|
454
|
+
case 0:
|
|
455
|
+
if (requestParameters['document'] == null) {
|
|
456
|
+
throw new runtime.RequiredError('document', 'Required parameter "document" was null or undefined when calling updateDocument().');
|
|
457
|
+
}
|
|
458
|
+
queryParameters = {};
|
|
459
|
+
headerParameters = {};
|
|
460
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
461
|
+
urlPath = "/admin-api/document/{document}/update";
|
|
462
|
+
urlPath = urlPath.replace("{".concat("document", "}"), encodeURIComponent(String(requestParameters['document'])));
|
|
463
|
+
return [4 /*yield*/, this.request({
|
|
464
|
+
path: urlPath,
|
|
465
|
+
method: 'PUT',
|
|
466
|
+
headers: headerParameters,
|
|
467
|
+
query: queryParameters,
|
|
468
|
+
body: (0, index_1.UpdateDocumentRequestToJSON)(requestParameters['updateDocumentRequest']),
|
|
469
|
+
}, initOverrides)];
|
|
470
|
+
case 1:
|
|
471
|
+
response = _a.sent();
|
|
472
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DocumentResourceFromJSON)(jsonValue); })];
|
|
473
|
+
}
|
|
474
|
+
});
|
|
475
|
+
});
|
|
476
|
+
};
|
|
477
|
+
/**
|
|
478
|
+
* Auto-generated: updateDocument
|
|
479
|
+
*/
|
|
480
|
+
DocumentApi.prototype.updateDocument = function (requestParameters, initOverrides) {
|
|
481
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
482
|
+
var response;
|
|
483
|
+
return __generator(this, function (_a) {
|
|
484
|
+
switch (_a.label) {
|
|
485
|
+
case 0: return [4 /*yield*/, this.updateDocumentRaw(requestParameters, initOverrides)];
|
|
486
|
+
case 1:
|
|
487
|
+
response = _a.sent();
|
|
488
|
+
return [4 /*yield*/, response.value()];
|
|
489
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
490
|
+
}
|
|
491
|
+
});
|
|
492
|
+
});
|
|
493
|
+
};
|
|
400
494
|
return DocumentApi;
|
|
401
495
|
}(runtime.BaseAPI));
|
|
402
496
|
exports.DocumentApi = DocumentApi;
|
|
@@ -0,0 +1,50 @@
|
|
|
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 DescriptionResource
|
|
16
|
+
*/
|
|
17
|
+
export interface DescriptionResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DescriptionResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DescriptionResource
|
|
28
|
+
*/
|
|
29
|
+
headerDescription: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DescriptionResource
|
|
34
|
+
*/
|
|
35
|
+
footerDescription: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof DescriptionResource
|
|
40
|
+
*/
|
|
41
|
+
siteId: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the DescriptionResource interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfDescriptionResource(value: object): value is DescriptionResource;
|
|
47
|
+
export declare function DescriptionResourceFromJSON(json: any): DescriptionResource;
|
|
48
|
+
export declare function DescriptionResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DescriptionResource;
|
|
49
|
+
export declare function DescriptionResourceToJSON(json: any): DescriptionResource;
|
|
50
|
+
export declare function DescriptionResourceToJSONTyped(value?: DescriptionResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfDescriptionResource = instanceOfDescriptionResource;
|
|
17
|
+
exports.DescriptionResourceFromJSON = DescriptionResourceFromJSON;
|
|
18
|
+
exports.DescriptionResourceFromJSONTyped = DescriptionResourceFromJSONTyped;
|
|
19
|
+
exports.DescriptionResourceToJSON = DescriptionResourceToJSON;
|
|
20
|
+
exports.DescriptionResourceToJSONTyped = DescriptionResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DescriptionResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDescriptionResource(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('headerDescription' in value) || value['headerDescription'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('footerDescription' in value) || value['footerDescription'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function DescriptionResourceFromJSON(json) {
|
|
36
|
+
return DescriptionResourceFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function DescriptionResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'headerDescription': json['headerDescription'],
|
|
45
|
+
'footerDescription': json['footerDescription'],
|
|
46
|
+
'siteId': json['siteId'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function DescriptionResourceToJSON(json) {
|
|
50
|
+
return DescriptionResourceToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function DescriptionResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'headerDescription': value['headerDescription'],
|
|
60
|
+
'footerDescription': value['footerDescription'],
|
|
61
|
+
'siteId': value['siteId'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -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 { DescriptionResource } from './DescriptionResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DescriptionResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface DescriptionResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<DescriptionResource>}
|
|
22
|
+
* @memberof DescriptionResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<DescriptionResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the DescriptionResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfDescriptionResourceArrayResponse(value: object): value is DescriptionResourceArrayResponse;
|
|
30
|
+
export declare function DescriptionResourceArrayResponseFromJSON(json: any): DescriptionResourceArrayResponse;
|
|
31
|
+
export declare function DescriptionResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DescriptionResourceArrayResponse;
|
|
32
|
+
export declare function DescriptionResourceArrayResponseToJSON(json: any): DescriptionResourceArrayResponse;
|
|
33
|
+
export declare function DescriptionResourceArrayResponseToJSONTyped(value?: DescriptionResourceArrayResponse | 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.instanceOfDescriptionResourceArrayResponse = instanceOfDescriptionResourceArrayResponse;
|
|
17
|
+
exports.DescriptionResourceArrayResponseFromJSON = DescriptionResourceArrayResponseFromJSON;
|
|
18
|
+
exports.DescriptionResourceArrayResponseFromJSONTyped = DescriptionResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.DescriptionResourceArrayResponseToJSON = DescriptionResourceArrayResponseToJSON;
|
|
20
|
+
exports.DescriptionResourceArrayResponseToJSONTyped = DescriptionResourceArrayResponseToJSONTyped;
|
|
21
|
+
var DescriptionResource_1 = require("./DescriptionResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DescriptionResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDescriptionResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function DescriptionResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return DescriptionResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function DescriptionResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function DescriptionResourceArrayResponseToJSON(json) {
|
|
40
|
+
return DescriptionResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function DescriptionResourceArrayResponseToJSONTyped(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(DescriptionResource_1.DescriptionResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -33,6 +33,24 @@ export interface GetAllDocumentRequest {
|
|
|
33
33
|
* @memberof GetAllDocumentRequest
|
|
34
34
|
*/
|
|
35
35
|
sortDirection?: GetAllDocumentRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetAllDocumentRequest
|
|
40
|
+
*/
|
|
41
|
+
relatedId?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GetAllDocumentRequest
|
|
46
|
+
*/
|
|
47
|
+
relatedType?: GetAllDocumentRequestRelatedTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof GetAllDocumentRequest
|
|
52
|
+
*/
|
|
53
|
+
includesRelations?: boolean;
|
|
36
54
|
}
|
|
37
55
|
/**
|
|
38
56
|
* @export
|
|
@@ -52,6 +70,14 @@ export declare const GetAllDocumentRequestSortDirectionEnum: {
|
|
|
52
70
|
readonly Desc: "desc";
|
|
53
71
|
};
|
|
54
72
|
export type GetAllDocumentRequestSortDirectionEnum = typeof GetAllDocumentRequestSortDirectionEnum[keyof typeof GetAllDocumentRequestSortDirectionEnum];
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const GetAllDocumentRequestRelatedTypeEnum: {
|
|
77
|
+
readonly ProductChild: "productChild";
|
|
78
|
+
readonly ProductRangeSite: "productRangeSite";
|
|
79
|
+
};
|
|
80
|
+
export type GetAllDocumentRequestRelatedTypeEnum = typeof GetAllDocumentRequestRelatedTypeEnum[keyof typeof GetAllDocumentRequestRelatedTypeEnum];
|
|
55
81
|
/**
|
|
56
82
|
* Check if a given object implements the GetAllDocumentRequest interface.
|
|
57
83
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.GetAllDocumentRequestSortDirectionEnum = exports.GetAllDocumentRequestSortByEnum = void 0;
|
|
16
|
+
exports.GetAllDocumentRequestRelatedTypeEnum = exports.GetAllDocumentRequestSortDirectionEnum = exports.GetAllDocumentRequestSortByEnum = void 0;
|
|
17
17
|
exports.instanceOfGetAllDocumentRequest = instanceOfGetAllDocumentRequest;
|
|
18
18
|
exports.GetAllDocumentRequestFromJSON = GetAllDocumentRequestFromJSON;
|
|
19
19
|
exports.GetAllDocumentRequestFromJSONTyped = GetAllDocumentRequestFromJSONTyped;
|
|
@@ -35,6 +35,13 @@ exports.GetAllDocumentRequestSortDirectionEnum = {
|
|
|
35
35
|
Asc: 'asc',
|
|
36
36
|
Desc: 'desc'
|
|
37
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
exports.GetAllDocumentRequestRelatedTypeEnum = {
|
|
42
|
+
ProductChild: 'productChild',
|
|
43
|
+
ProductRangeSite: 'productRangeSite'
|
|
44
|
+
};
|
|
38
45
|
/**
|
|
39
46
|
* Check if a given object implements the GetAllDocumentRequest interface.
|
|
40
47
|
*/
|
|
@@ -52,6 +59,9 @@ function GetAllDocumentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
59
|
'search': json['search'] == null ? undefined : json['search'],
|
|
53
60
|
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
54
61
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
62
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
63
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
64
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
55
65
|
};
|
|
56
66
|
}
|
|
57
67
|
function GetAllDocumentRequestToJSON(json) {
|
|
@@ -66,5 +76,8 @@ function GetAllDocumentRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
66
76
|
'search': value['search'],
|
|
67
77
|
'sortBy': value['sortBy'],
|
|
68
78
|
'sortDirection': value['sortDirection'],
|
|
79
|
+
'related_id': value['relatedId'],
|
|
80
|
+
'related_type': value['relatedType'],
|
|
81
|
+
'includes_relations': value['includesRelations'],
|
|
69
82
|
};
|
|
70
83
|
}
|