@digital8/lighting-illusions-ts-sdk 0.0.1540 → 0.0.1542
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 +14 -40
- package/README.md +9 -26
- package/dist/apis/RedirectApi.d.ts +33 -0
- package/dist/apis/RedirectApi.js +138 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/IndexRedirectRequest.d.ts +112 -0
- package/dist/models/IndexRedirectRequest.js +91 -0
- package/dist/models/PaginatedRedirectListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedRedirectListResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +0 -6
- package/dist/models/ProductChildListResource.js +0 -2
- package/dist/models/RedirectFrontendResource.d.ts +62 -0
- package/dist/models/RedirectFrontendResource.js +71 -0
- package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/RedirectFrontendResourceArrayResponse.js +50 -0
- package/dist/models/RedirectListResource.d.ts +69 -0
- package/dist/models/RedirectListResource.js +76 -0
- package/dist/models/RedirectListResourceArrayResponse.d.ts +33 -0
- package/dist/models/RedirectListResourceArrayResponse.js +50 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/index.d.ts +6 -19
- package/dist/models/index.js +6 -19
- package/docs/{GetAllProductRegistrationRequest.md → IndexRedirectRequest.md} +12 -6
- package/docs/{PaginatedProductRegistrationResourceResponse.md → PaginatedRedirectListResourceResponse.md} +5 -5
- package/docs/ProductChildListResource.md +0 -2
- package/docs/RedirectApi.md +74 -0
- package/docs/{ProductRegistrationAssetResource.md → RedirectFrontendResource.md} +14 -8
- package/docs/{ProductRegistrationResourceArrayResponse.md → RedirectFrontendResourceArrayResponse.md} +5 -5
- package/docs/{ProductRegistrationCustomerResource.md → RedirectListResource.md} +16 -14
- package/docs/{ProductRegistrationLiteResource.md → RedirectListResourceArrayResponse.md} +6 -8
- package/package.json +1 -1
- package/src/apis/RedirectApi.ts +77 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressResource.ts +3 -2
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/IndexRedirectRequest.ts +168 -0
- package/src/models/PaginatedRedirectListResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +0 -8
- package/src/models/RedirectFrontendResource.ts +111 -0
- package/src/models/RedirectFrontendResourceArrayResponse.ts +73 -0
- package/src/models/RedirectListResource.ts +128 -0
- package/src/models/RedirectListResourceArrayResponse.ts +73 -0
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/index.ts +6 -19
- package/dist/apis/ProductRegistrationApi.d.ts +0 -95
- package/dist/apis/ProductRegistrationApi.js +0 -377
- package/dist/models/GetAllProductRegistrationRequest.d.ts +0 -88
- package/dist/models/GetAllProductRegistrationRequest.js +0 -80
- package/dist/models/IndexProductRegistrationRequest.d.ts +0 -131
- package/dist/models/IndexProductRegistrationRequest.js +0 -98
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +0 -103
- package/dist/models/ListAssetsProductRegistrationRequest.js +0 -83
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +0 -57
- package/dist/models/ProductRegistrationAssetResource.d.ts +0 -45
- package/dist/models/ProductRegistrationAssetResource.js +0 -58
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationAssetType.d.ts +0 -25
- package/dist/models/ProductRegistrationAssetType.js +0 -51
- package/dist/models/ProductRegistrationCustomerResource.d.ts +0 -62
- package/dist/models/ProductRegistrationCustomerResource.js +0 -65
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationListResource.d.ts +0 -57
- package/dist/models/ProductRegistrationListResource.js +0 -64
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationLiteResource.d.ts +0 -38
- package/dist/models/ProductRegistrationLiteResource.js +0 -53
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationProductChildResource.d.ts +0 -50
- package/dist/models/ProductRegistrationProductChildResource.js +0 -63
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationResource.d.ts +0 -90
- package/dist/models/ProductRegistrationResource.js +0 -81
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationResourceArrayResponse.js +0 -50
- package/docs/IndexProductRegistrationRequest.md +0 -58
- package/docs/ListAssetsProductRegistrationRequest.md +0 -52
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationListResourceResponse.md +0 -36
- package/docs/ProductRegistrationApi.md +0 -344
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationAssetType.md +0 -32
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationListResource.md +0 -42
- package/docs/ProductRegistrationListResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationProductChildResource.md +0 -40
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationResource.md +0 -52
- package/src/apis/ProductRegistrationApi.ts +0 -297
- package/src/models/GetAllProductRegistrationRequest.ts +0 -137
- package/src/models/IndexProductRegistrationRequest.ts +0 -193
- package/src/models/ListAssetsProductRegistrationRequest.ts +0 -158
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +0 -90
- package/src/models/ProductRegistrationAssetResource.ts +0 -91
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationAssetType.ts +0 -53
- package/src/models/ProductRegistrationCustomerResource.ts +0 -108
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationListResource.ts +0 -108
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationLiteResource.ts +0 -74
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationProductChildResource.ts +0 -93
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationResource.ts +0 -171
- package/src/models/ProductRegistrationResourceArrayResponse.ts +0 -73
package/.openapi-generator/FILES
CHANGED
|
@@ -100,7 +100,6 @@ docs/GetAllOverlayTemplateRequest.md
|
|
|
100
100
|
docs/GetAllProductCategoryRequest.md
|
|
101
101
|
docs/GetAllProductChildRequest.md
|
|
102
102
|
docs/GetAllProductRangeRequest.md
|
|
103
|
-
docs/GetAllProductRegistrationRequest.md
|
|
104
103
|
docs/GetAllProductRequest.md
|
|
105
104
|
docs/GetAllProductTypeRequest.md
|
|
106
105
|
docs/GetAllStoreRequest.md
|
|
@@ -129,9 +128,9 @@ docs/IndexOverlayTemplateRequest.md
|
|
|
129
128
|
docs/IndexProductCategoryRequest.md
|
|
130
129
|
docs/IndexProductChildRequest.md
|
|
131
130
|
docs/IndexProductRangeRequest.md
|
|
132
|
-
docs/IndexProductRegistrationRequest.md
|
|
133
131
|
docs/IndexProductRequest.md
|
|
134
132
|
docs/IndexProductTypeRequest.md
|
|
133
|
+
docs/IndexRedirectRequest.md
|
|
135
134
|
docs/IndexSiteNotificationRequest.md
|
|
136
135
|
docs/IndexSiteRequest.md
|
|
137
136
|
docs/IndexStoreRequest.md
|
|
@@ -144,7 +143,6 @@ docs/LabelLiteResource.md
|
|
|
144
143
|
docs/LabelLiteResourceArrayResponse.md
|
|
145
144
|
docs/LabelResource.md
|
|
146
145
|
docs/LabelResourceArrayResponse.md
|
|
147
|
-
docs/ListAssetsProductRegistrationRequest.md
|
|
148
146
|
docs/ModelAttributeListResource.md
|
|
149
147
|
docs/ModelAttributeListResourceArrayResponse.md
|
|
150
148
|
docs/ModelAttributeResource.md
|
|
@@ -192,14 +190,12 @@ docs/PaginatedProductRangeListResourceResponse.md
|
|
|
192
190
|
docs/PaginatedProductRangeLiteResourceResponse.md
|
|
193
191
|
docs/PaginatedProductRangeResourceResponse.md
|
|
194
192
|
docs/PaginatedProductRangeSearchResultResourceResponse.md
|
|
195
|
-
docs/PaginatedProductRegistrationAssetResourceResponse.md
|
|
196
|
-
docs/PaginatedProductRegistrationListResourceResponse.md
|
|
197
|
-
docs/PaginatedProductRegistrationResourceResponse.md
|
|
198
193
|
docs/PaginatedProductResourceResponse.md
|
|
199
194
|
docs/PaginatedProductSearchResultResourceResponse.md
|
|
200
195
|
docs/PaginatedProductTypeListResourceResponse.md
|
|
201
196
|
docs/PaginatedProductTypeLiteResourceResponse.md
|
|
202
197
|
docs/PaginatedProductTypeResourceResponse.md
|
|
198
|
+
docs/PaginatedRedirectListResourceResponse.md
|
|
203
199
|
docs/PaginatedSiteListResourceResponse.md
|
|
204
200
|
docs/PaginatedSiteLiteResourceResponse.md
|
|
205
201
|
docs/PaginatedSiteNotificationListResourceResponse.md
|
|
@@ -280,20 +276,6 @@ docs/ProductRangeSiteDetailResource.md
|
|
|
280
276
|
docs/ProductRangeSiteDetailResourceArrayResponse.md
|
|
281
277
|
docs/ProductRangeSortBy.md
|
|
282
278
|
docs/ProductRating.md
|
|
283
|
-
docs/ProductRegistrationApi.md
|
|
284
|
-
docs/ProductRegistrationAssetResource.md
|
|
285
|
-
docs/ProductRegistrationAssetResourceArrayResponse.md
|
|
286
|
-
docs/ProductRegistrationAssetType.md
|
|
287
|
-
docs/ProductRegistrationCustomerResource.md
|
|
288
|
-
docs/ProductRegistrationCustomerResourceArrayResponse.md
|
|
289
|
-
docs/ProductRegistrationListResource.md
|
|
290
|
-
docs/ProductRegistrationListResourceArrayResponse.md
|
|
291
|
-
docs/ProductRegistrationLiteResource.md
|
|
292
|
-
docs/ProductRegistrationLiteResourceArrayResponse.md
|
|
293
|
-
docs/ProductRegistrationProductChildResource.md
|
|
294
|
-
docs/ProductRegistrationProductChildResourceArrayResponse.md
|
|
295
|
-
docs/ProductRegistrationResource.md
|
|
296
|
-
docs/ProductRegistrationResourceArrayResponse.md
|
|
297
279
|
docs/ProductResource.md
|
|
298
280
|
docs/ProductResourceArrayResponse.md
|
|
299
281
|
docs/ProductSearchResponseResource.md
|
|
@@ -310,6 +292,11 @@ docs/ProductTypeLiteResource.md
|
|
|
310
292
|
docs/ProductTypeLiteResourceArrayResponse.md
|
|
311
293
|
docs/ProductTypeResource.md
|
|
312
294
|
docs/ProductTypeResourceArrayResponse.md
|
|
295
|
+
docs/RedirectApi.md
|
|
296
|
+
docs/RedirectFrontendResource.md
|
|
297
|
+
docs/RedirectFrontendResourceArrayResponse.md
|
|
298
|
+
docs/RedirectListResource.md
|
|
299
|
+
docs/RedirectListResourceArrayResponse.md
|
|
313
300
|
docs/SEOResource.md
|
|
314
301
|
docs/SEOResourceArrayResponse.md
|
|
315
302
|
docs/ShowAssetsProductChildRequest.md
|
|
@@ -432,8 +419,8 @@ src/apis/OverlayTemplateApi.ts
|
|
|
432
419
|
src/apis/ProductApi.ts
|
|
433
420
|
src/apis/ProductCategoryApi.ts
|
|
434
421
|
src/apis/ProductRangeApi.ts
|
|
435
|
-
src/apis/ProductRegistrationApi.ts
|
|
436
422
|
src/apis/ProductTypeApi.ts
|
|
423
|
+
src/apis/RedirectApi.ts
|
|
437
424
|
src/apis/SiteApi.ts
|
|
438
425
|
src/apis/StoreApi.ts
|
|
439
426
|
src/apis/SupplierApi.ts
|
|
@@ -532,7 +519,6 @@ src/models/GetAllOverlayTemplateRequest.ts
|
|
|
532
519
|
src/models/GetAllProductCategoryRequest.ts
|
|
533
520
|
src/models/GetAllProductChildRequest.ts
|
|
534
521
|
src/models/GetAllProductRangeRequest.ts
|
|
535
|
-
src/models/GetAllProductRegistrationRequest.ts
|
|
536
522
|
src/models/GetAllProductRequest.ts
|
|
537
523
|
src/models/GetAllProductTypeRequest.ts
|
|
538
524
|
src/models/GetAllStoreRequest.ts
|
|
@@ -560,9 +546,9 @@ src/models/IndexOverlayTemplateRequest.ts
|
|
|
560
546
|
src/models/IndexProductCategoryRequest.ts
|
|
561
547
|
src/models/IndexProductChildRequest.ts
|
|
562
548
|
src/models/IndexProductRangeRequest.ts
|
|
563
|
-
src/models/IndexProductRegistrationRequest.ts
|
|
564
549
|
src/models/IndexProductRequest.ts
|
|
565
550
|
src/models/IndexProductTypeRequest.ts
|
|
551
|
+
src/models/IndexRedirectRequest.ts
|
|
566
552
|
src/models/IndexSiteNotificationRequest.ts
|
|
567
553
|
src/models/IndexSiteRequest.ts
|
|
568
554
|
src/models/IndexStoreRequest.ts
|
|
@@ -574,7 +560,6 @@ src/models/LabelLiteResource.ts
|
|
|
574
560
|
src/models/LabelLiteResourceArrayResponse.ts
|
|
575
561
|
src/models/LabelResource.ts
|
|
576
562
|
src/models/LabelResourceArrayResponse.ts
|
|
577
|
-
src/models/ListAssetsProductRegistrationRequest.ts
|
|
578
563
|
src/models/ModelAttributeListResource.ts
|
|
579
564
|
src/models/ModelAttributeListResourceArrayResponse.ts
|
|
580
565
|
src/models/ModelAttributeResource.ts
|
|
@@ -621,14 +606,12 @@ src/models/PaginatedProductRangeListResourceResponse.ts
|
|
|
621
606
|
src/models/PaginatedProductRangeLiteResourceResponse.ts
|
|
622
607
|
src/models/PaginatedProductRangeResourceResponse.ts
|
|
623
608
|
src/models/PaginatedProductRangeSearchResultResourceResponse.ts
|
|
624
|
-
src/models/PaginatedProductRegistrationAssetResourceResponse.ts
|
|
625
|
-
src/models/PaginatedProductRegistrationListResourceResponse.ts
|
|
626
|
-
src/models/PaginatedProductRegistrationResourceResponse.ts
|
|
627
609
|
src/models/PaginatedProductResourceResponse.ts
|
|
628
610
|
src/models/PaginatedProductSearchResultResourceResponse.ts
|
|
629
611
|
src/models/PaginatedProductTypeListResourceResponse.ts
|
|
630
612
|
src/models/PaginatedProductTypeLiteResourceResponse.ts
|
|
631
613
|
src/models/PaginatedProductTypeResourceResponse.ts
|
|
614
|
+
src/models/PaginatedRedirectListResourceResponse.ts
|
|
632
615
|
src/models/PaginatedSiteListResourceResponse.ts
|
|
633
616
|
src/models/PaginatedSiteLiteResourceResponse.ts
|
|
634
617
|
src/models/PaginatedSiteNotificationListResourceResponse.ts
|
|
@@ -706,19 +689,6 @@ src/models/ProductRangeSiteDetailResource.ts
|
|
|
706
689
|
src/models/ProductRangeSiteDetailResourceArrayResponse.ts
|
|
707
690
|
src/models/ProductRangeSortBy.ts
|
|
708
691
|
src/models/ProductRating.ts
|
|
709
|
-
src/models/ProductRegistrationAssetResource.ts
|
|
710
|
-
src/models/ProductRegistrationAssetResourceArrayResponse.ts
|
|
711
|
-
src/models/ProductRegistrationAssetType.ts
|
|
712
|
-
src/models/ProductRegistrationCustomerResource.ts
|
|
713
|
-
src/models/ProductRegistrationCustomerResourceArrayResponse.ts
|
|
714
|
-
src/models/ProductRegistrationListResource.ts
|
|
715
|
-
src/models/ProductRegistrationListResourceArrayResponse.ts
|
|
716
|
-
src/models/ProductRegistrationLiteResource.ts
|
|
717
|
-
src/models/ProductRegistrationLiteResourceArrayResponse.ts
|
|
718
|
-
src/models/ProductRegistrationProductChildResource.ts
|
|
719
|
-
src/models/ProductRegistrationProductChildResourceArrayResponse.ts
|
|
720
|
-
src/models/ProductRegistrationResource.ts
|
|
721
|
-
src/models/ProductRegistrationResourceArrayResponse.ts
|
|
722
692
|
src/models/ProductResource.ts
|
|
723
693
|
src/models/ProductResourceArrayResponse.ts
|
|
724
694
|
src/models/ProductSearchResponseResource.ts
|
|
@@ -734,6 +704,10 @@ src/models/ProductTypeLiteResource.ts
|
|
|
734
704
|
src/models/ProductTypeLiteResourceArrayResponse.ts
|
|
735
705
|
src/models/ProductTypeResource.ts
|
|
736
706
|
src/models/ProductTypeResourceArrayResponse.ts
|
|
707
|
+
src/models/RedirectFrontendResource.ts
|
|
708
|
+
src/models/RedirectFrontendResourceArrayResponse.ts
|
|
709
|
+
src/models/RedirectListResource.ts
|
|
710
|
+
src/models/RedirectListResourceArrayResponse.ts
|
|
737
711
|
src/models/SEOResource.ts
|
|
738
712
|
src/models/SEOResourceArrayResponse.ts
|
|
739
713
|
src/models/ShowAssetsProductChildRequest.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.1542
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -162,11 +162,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
162
162
|
*ProductRangeApi* | [**showProductRange**](docs/ProductRangeApi.md#showproductrange) | **GET** /admin-api/product-range/{productRange} | Auto-generated: showProductRange
|
|
163
163
|
*ProductRangeApi* | [**storeProductRange**](docs/ProductRangeApi.md#storeproductrangeoperation) | **POST** /admin-api/product-range/create | Auto-generated: storeProductRange
|
|
164
164
|
*ProductRangeApi* | [**updateProductRange**](docs/ProductRangeApi.md#updateproductrangeoperation) | **PUT** /admin-api/product-range/{productRange}/update | Auto-generated: updateProductRange
|
|
165
|
-
*ProductRegistrationApi* | [**getAllProductRegistration**](docs/ProductRegistrationApi.md#getallproductregistrationoperation) | **POST** /admin-api/product-registration/all | Auto-generated: getAllProductRegistration
|
|
166
|
-
*ProductRegistrationApi* | [**indexProductRegistration**](docs/ProductRegistrationApi.md#indexproductregistrationoperation) | **POST** /admin-api/product-registration/list | Auto-generated: indexProductRegistration
|
|
167
|
-
*ProductRegistrationApi* | [**listAssetsProductRegistration**](docs/ProductRegistrationApi.md#listassetsproductregistrationoperation) | **POST** /admin-api/product-registration/{productRegistration}/assets | Auto-generated: listAssetsProductRegistration
|
|
168
|
-
*ProductRegistrationApi* | [**listProductsProductRegistration**](docs/ProductRegistrationApi.md#listproductsproductregistration) | **POST** /admin-api/product-registration/{productRegistration}/product/list | Auto-generated: listProductsProductRegistration
|
|
169
|
-
*ProductRegistrationApi* | [**showProductRegistration**](docs/ProductRegistrationApi.md#showproductregistration) | **GET** /admin-api/product-registration/{productRegistration} | Auto-generated: showProductRegistration
|
|
170
165
|
*ProductTypeApi* | [**attachAttributeProductType**](docs/ProductTypeApi.md#attachattributeproducttypeoperation) | **POST** /admin-api/product-type/{productType}/attach-attribute | Auto-generated: attachAttributeProductType
|
|
171
166
|
*ProductTypeApi* | [**destroyProductType**](docs/ProductTypeApi.md#destroyproducttype) | **DELETE** /admin-api/product-type/{productType}/delete | Auto-generated: destroyProductType
|
|
172
167
|
*ProductTypeApi* | [**detachAttributeProductType**](docs/ProductTypeApi.md#detachattributeproducttype) | **POST** /admin-api/product-type/{productType}/detach-attribute/{attribute} | Auto-generated: detachAttributeProductType
|
|
@@ -176,6 +171,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
176
171
|
*ProductTypeApi* | [**storeProductType**](docs/ProductTypeApi.md#storeproducttypeoperation) | **POST** /admin-api/product-type/create | Auto-generated: storeProductType
|
|
177
172
|
*ProductTypeApi* | [**updateAttachedAttributeProductType**](docs/ProductTypeApi.md#updateattachedattributeproducttype) | **PUT** /admin-api/product-type/{productType}/update-attribute | Auto-generated: updateAttachedAttributeProductType
|
|
178
173
|
*ProductTypeApi* | [**updateProductType**](docs/ProductTypeApi.md#updateproducttypeoperation) | **PUT** /admin-api/product-type/{productType}/update | Auto-generated: updateProductType
|
|
174
|
+
*RedirectApi* | [**indexRedirect**](docs/RedirectApi.md#indexredirectoperation) | **POST** /admin-api/redirect/list | Auto-generated: indexRedirect
|
|
179
175
|
*SiteApi* | [**destroySiteNotification**](docs/SiteApi.md#destroysitenotification) | **DELETE** /admin-api/site/notification/{siteNotification}/delete | Auto-generated: destroySiteNotification
|
|
180
176
|
*SiteApi* | [**getAllSite**](docs/SiteApi.md#getallsite) | **POST** /admin-api/site/all | Auto-generated: getAllSite
|
|
181
177
|
*SiteApi* | [**indexSite**](docs/SiteApi.md#indexsiteoperation) | **POST** /admin-api/site/list | Auto-generated: indexSite
|
|
@@ -309,7 +305,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
309
305
|
- [GetAllProductCategoryRequest](docs/GetAllProductCategoryRequest.md)
|
|
310
306
|
- [GetAllProductChildRequest](docs/GetAllProductChildRequest.md)
|
|
311
307
|
- [GetAllProductRangeRequest](docs/GetAllProductRangeRequest.md)
|
|
312
|
-
- [GetAllProductRegistrationRequest](docs/GetAllProductRegistrationRequest.md)
|
|
313
308
|
- [GetAllProductRequest](docs/GetAllProductRequest.md)
|
|
314
309
|
- [GetAllProductTypeRequest](docs/GetAllProductTypeRequest.md)
|
|
315
310
|
- [GetAllStoreRequest](docs/GetAllStoreRequest.md)
|
|
@@ -337,9 +332,9 @@ All URIs are relative to *http://localhost/api*
|
|
|
337
332
|
- [IndexProductCategoryRequest](docs/IndexProductCategoryRequest.md)
|
|
338
333
|
- [IndexProductChildRequest](docs/IndexProductChildRequest.md)
|
|
339
334
|
- [IndexProductRangeRequest](docs/IndexProductRangeRequest.md)
|
|
340
|
-
- [IndexProductRegistrationRequest](docs/IndexProductRegistrationRequest.md)
|
|
341
335
|
- [IndexProductRequest](docs/IndexProductRequest.md)
|
|
342
336
|
- [IndexProductTypeRequest](docs/IndexProductTypeRequest.md)
|
|
337
|
+
- [IndexRedirectRequest](docs/IndexRedirectRequest.md)
|
|
343
338
|
- [IndexSiteNotificationRequest](docs/IndexSiteNotificationRequest.md)
|
|
344
339
|
- [IndexSiteRequest](docs/IndexSiteRequest.md)
|
|
345
340
|
- [IndexStoreRequest](docs/IndexStoreRequest.md)
|
|
@@ -351,7 +346,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
351
346
|
- [LabelLiteResourceArrayResponse](docs/LabelLiteResourceArrayResponse.md)
|
|
352
347
|
- [LabelResource](docs/LabelResource.md)
|
|
353
348
|
- [LabelResourceArrayResponse](docs/LabelResourceArrayResponse.md)
|
|
354
|
-
- [ListAssetsProductRegistrationRequest](docs/ListAssetsProductRegistrationRequest.md)
|
|
355
349
|
- [ModelAttributeListResource](docs/ModelAttributeListResource.md)
|
|
356
350
|
- [ModelAttributeListResourceArrayResponse](docs/ModelAttributeListResourceArrayResponse.md)
|
|
357
351
|
- [ModelAttributeResource](docs/ModelAttributeResource.md)
|
|
@@ -398,14 +392,12 @@ All URIs are relative to *http://localhost/api*
|
|
|
398
392
|
- [PaginatedProductRangeLiteResourceResponse](docs/PaginatedProductRangeLiteResourceResponse.md)
|
|
399
393
|
- [PaginatedProductRangeResourceResponse](docs/PaginatedProductRangeResourceResponse.md)
|
|
400
394
|
- [PaginatedProductRangeSearchResultResourceResponse](docs/PaginatedProductRangeSearchResultResourceResponse.md)
|
|
401
|
-
- [PaginatedProductRegistrationAssetResourceResponse](docs/PaginatedProductRegistrationAssetResourceResponse.md)
|
|
402
|
-
- [PaginatedProductRegistrationListResourceResponse](docs/PaginatedProductRegistrationListResourceResponse.md)
|
|
403
|
-
- [PaginatedProductRegistrationResourceResponse](docs/PaginatedProductRegistrationResourceResponse.md)
|
|
404
395
|
- [PaginatedProductResourceResponse](docs/PaginatedProductResourceResponse.md)
|
|
405
396
|
- [PaginatedProductSearchResultResourceResponse](docs/PaginatedProductSearchResultResourceResponse.md)
|
|
406
397
|
- [PaginatedProductTypeListResourceResponse](docs/PaginatedProductTypeListResourceResponse.md)
|
|
407
398
|
- [PaginatedProductTypeLiteResourceResponse](docs/PaginatedProductTypeLiteResourceResponse.md)
|
|
408
399
|
- [PaginatedProductTypeResourceResponse](docs/PaginatedProductTypeResourceResponse.md)
|
|
400
|
+
- [PaginatedRedirectListResourceResponse](docs/PaginatedRedirectListResourceResponse.md)
|
|
409
401
|
- [PaginatedSiteListResourceResponse](docs/PaginatedSiteListResourceResponse.md)
|
|
410
402
|
- [PaginatedSiteLiteResourceResponse](docs/PaginatedSiteLiteResourceResponse.md)
|
|
411
403
|
- [PaginatedSiteNotificationListResourceResponse](docs/PaginatedSiteNotificationListResourceResponse.md)
|
|
@@ -483,19 +475,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
483
475
|
- [ProductRangeSiteDetailResourceArrayResponse](docs/ProductRangeSiteDetailResourceArrayResponse.md)
|
|
484
476
|
- [ProductRangeSortBy](docs/ProductRangeSortBy.md)
|
|
485
477
|
- [ProductRating](docs/ProductRating.md)
|
|
486
|
-
- [ProductRegistrationAssetResource](docs/ProductRegistrationAssetResource.md)
|
|
487
|
-
- [ProductRegistrationAssetResourceArrayResponse](docs/ProductRegistrationAssetResourceArrayResponse.md)
|
|
488
|
-
- [ProductRegistrationAssetType](docs/ProductRegistrationAssetType.md)
|
|
489
|
-
- [ProductRegistrationCustomerResource](docs/ProductRegistrationCustomerResource.md)
|
|
490
|
-
- [ProductRegistrationCustomerResourceArrayResponse](docs/ProductRegistrationCustomerResourceArrayResponse.md)
|
|
491
|
-
- [ProductRegistrationListResource](docs/ProductRegistrationListResource.md)
|
|
492
|
-
- [ProductRegistrationListResourceArrayResponse](docs/ProductRegistrationListResourceArrayResponse.md)
|
|
493
|
-
- [ProductRegistrationLiteResource](docs/ProductRegistrationLiteResource.md)
|
|
494
|
-
- [ProductRegistrationLiteResourceArrayResponse](docs/ProductRegistrationLiteResourceArrayResponse.md)
|
|
495
|
-
- [ProductRegistrationProductChildResource](docs/ProductRegistrationProductChildResource.md)
|
|
496
|
-
- [ProductRegistrationProductChildResourceArrayResponse](docs/ProductRegistrationProductChildResourceArrayResponse.md)
|
|
497
|
-
- [ProductRegistrationResource](docs/ProductRegistrationResource.md)
|
|
498
|
-
- [ProductRegistrationResourceArrayResponse](docs/ProductRegistrationResourceArrayResponse.md)
|
|
499
478
|
- [ProductResource](docs/ProductResource.md)
|
|
500
479
|
- [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
|
|
501
480
|
- [ProductSearchResponseResource](docs/ProductSearchResponseResource.md)
|
|
@@ -511,6 +490,10 @@ All URIs are relative to *http://localhost/api*
|
|
|
511
490
|
- [ProductTypeLiteResourceArrayResponse](docs/ProductTypeLiteResourceArrayResponse.md)
|
|
512
491
|
- [ProductTypeResource](docs/ProductTypeResource.md)
|
|
513
492
|
- [ProductTypeResourceArrayResponse](docs/ProductTypeResourceArrayResponse.md)
|
|
493
|
+
- [RedirectFrontendResource](docs/RedirectFrontendResource.md)
|
|
494
|
+
- [RedirectFrontendResourceArrayResponse](docs/RedirectFrontendResourceArrayResponse.md)
|
|
495
|
+
- [RedirectListResource](docs/RedirectListResource.md)
|
|
496
|
+
- [RedirectListResourceArrayResponse](docs/RedirectListResourceArrayResponse.md)
|
|
514
497
|
- [SEOResource](docs/SEOResource.md)
|
|
515
498
|
- [SEOResourceArrayResponse](docs/SEOResourceArrayResponse.md)
|
|
516
499
|
- [ShowAssetsProductChildRequest](docs/ShowAssetsProductChildRequest.md)
|
|
@@ -629,7 +612,7 @@ and is automatically generated by the
|
|
|
629
612
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
630
613
|
|
|
631
614
|
- API version: `1.0.0`
|
|
632
|
-
- Package version: `0.0.
|
|
615
|
+
- Package version: `0.0.1542`
|
|
633
616
|
- Generator version: `7.21.0`
|
|
634
617
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
635
618
|
|
|
@@ -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 * as runtime from '../runtime';
|
|
13
|
+
import type { IndexRedirectRequest, PaginatedRedirectListResourceResponse } from '../models/index';
|
|
14
|
+
export interface IndexRedirectOperationRequest {
|
|
15
|
+
indexRedirectRequest?: IndexRedirectRequest;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class RedirectApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Creates request options for indexRedirect without sending the request
|
|
23
|
+
*/
|
|
24
|
+
indexRedirectRequestOpts(requestParameters: IndexRedirectOperationRequest): Promise<runtime.RequestOpts>;
|
|
25
|
+
/**
|
|
26
|
+
* Auto-generated: indexRedirect
|
|
27
|
+
*/
|
|
28
|
+
indexRedirectRaw(requestParameters: IndexRedirectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRedirectListResourceResponse>>;
|
|
29
|
+
/**
|
|
30
|
+
* Auto-generated: indexRedirect
|
|
31
|
+
*/
|
|
32
|
+
indexRedirect(requestParameters?: IndexRedirectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRedirectListResourceResponse>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
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
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
41
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.RedirectApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var RedirectApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(RedirectApi, _super);
|
|
75
|
+
function RedirectApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Creates request options for indexRedirect without sending the request
|
|
80
|
+
*/
|
|
81
|
+
RedirectApi.prototype.indexRedirectRequestOpts = function (requestParameters) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, urlPath;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
queryParameters = {};
|
|
86
|
+
headerParameters = {};
|
|
87
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
88
|
+
urlPath = "/admin-api/redirect/list";
|
|
89
|
+
return [2 /*return*/, {
|
|
90
|
+
path: urlPath,
|
|
91
|
+
method: 'POST',
|
|
92
|
+
headers: headerParameters,
|
|
93
|
+
query: queryParameters,
|
|
94
|
+
body: (0, index_1.IndexRedirectRequestToJSON)(requestParameters['indexRedirectRequest']),
|
|
95
|
+
}];
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Auto-generated: indexRedirect
|
|
101
|
+
*/
|
|
102
|
+
RedirectApi.prototype.indexRedirectRaw = function (requestParameters, initOverrides) {
|
|
103
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
104
|
+
var requestOptions, response;
|
|
105
|
+
return __generator(this, function (_a) {
|
|
106
|
+
switch (_a.label) {
|
|
107
|
+
case 0: return [4 /*yield*/, this.indexRedirectRequestOpts(requestParameters)];
|
|
108
|
+
case 1:
|
|
109
|
+
requestOptions = _a.sent();
|
|
110
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
111
|
+
case 2:
|
|
112
|
+
response = _a.sent();
|
|
113
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedRedirectListResourceResponseFromJSON)(jsonValue); })];
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Auto-generated: indexRedirect
|
|
120
|
+
*/
|
|
121
|
+
RedirectApi.prototype.indexRedirect = function () {
|
|
122
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
123
|
+
var response;
|
|
124
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
switch (_a.label) {
|
|
127
|
+
case 0: return [4 /*yield*/, this.indexRedirectRaw(requestParameters, initOverrides)];
|
|
128
|
+
case 1:
|
|
129
|
+
response = _a.sent();
|
|
130
|
+
return [4 /*yield*/, response.value()];
|
|
131
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
};
|
|
136
|
+
return RedirectApi;
|
|
137
|
+
}(runtime.BaseAPI));
|
|
138
|
+
exports.RedirectApi = RedirectApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ export * from './OverlayTemplateApi';
|
|
|
10
10
|
export * from './ProductApi';
|
|
11
11
|
export * from './ProductCategoryApi';
|
|
12
12
|
export * from './ProductRangeApi';
|
|
13
|
-
export * from './ProductRegistrationApi';
|
|
14
13
|
export * from './ProductTypeApi';
|
|
14
|
+
export * from './RedirectApi';
|
|
15
15
|
export * from './SiteApi';
|
|
16
16
|
export * from './StoreApi';
|
|
17
17
|
export * from './SupplierApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -28,8 +28,8 @@ __exportStar(require("./OverlayTemplateApi"), exports);
|
|
|
28
28
|
__exportStar(require("./ProductApi"), exports);
|
|
29
29
|
__exportStar(require("./ProductCategoryApi"), exports);
|
|
30
30
|
__exportStar(require("./ProductRangeApi"), exports);
|
|
31
|
-
__exportStar(require("./ProductRegistrationApi"), exports);
|
|
32
31
|
__exportStar(require("./ProductTypeApi"), exports);
|
|
32
|
+
__exportStar(require("./RedirectApi"), exports);
|
|
33
33
|
__exportStar(require("./SiteApi"), exports);
|
|
34
34
|
__exportStar(require("./StoreApi"), exports);
|
|
35
35
|
__exportStar(require("./SupplierApi"), exports);
|
|
@@ -26,6 +26,8 @@ function instanceOfAddressResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('line2' in value) || value['line2'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -49,7 +51,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
51
|
'id': json['id'] == null ? undefined : json['id'],
|
|
50
52
|
'company': json['company'],
|
|
51
53
|
'line1': json['line_1'],
|
|
52
|
-
'line2': json['line_2']
|
|
54
|
+
'line2': json['line_2'],
|
|
53
55
|
'postcode': json['postcode'],
|
|
54
56
|
'suburb': json['suburb'],
|
|
55
57
|
'country': json['country'],
|
|
@@ -176,7 +176,6 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
|
176
176
|
readonly OverlayTemplate: "overlayTemplate";
|
|
177
177
|
readonly ProductType: "productType";
|
|
178
178
|
readonly ProductRange: "productRange";
|
|
179
|
-
readonly ProductRegistration: "productRegistration";
|
|
180
179
|
readonly Supplier: "supplier";
|
|
181
180
|
readonly Tag: "tag";
|
|
182
181
|
readonly Label: "label";
|
|
@@ -0,0 +1,112 @@
|
|
|
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 IndexRedirectRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexRedirectRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexRedirectRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {IndexRedirectRequestSortByEnum}
|
|
27
|
+
* @memberof IndexRedirectRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: IndexRedirectRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {IndexRedirectRequestSortDirectionEnum}
|
|
33
|
+
* @memberof IndexRedirectRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: IndexRedirectRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexRedirectRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IndexRedirectRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof IndexRedirectRequest
|
|
52
|
+
*/
|
|
53
|
+
siteId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof IndexRedirectRequest
|
|
58
|
+
*/
|
|
59
|
+
redirectableType?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof IndexRedirectRequest
|
|
64
|
+
*/
|
|
65
|
+
relatedId?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {IndexRedirectRequestRelatedTypeEnum}
|
|
69
|
+
* @memberof IndexRedirectRequest
|
|
70
|
+
*/
|
|
71
|
+
relatedType?: IndexRedirectRequestRelatedTypeEnum;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof IndexRedirectRequest
|
|
76
|
+
*/
|
|
77
|
+
includesRelations?: boolean;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const IndexRedirectRequestSortByEnum: {
|
|
83
|
+
readonly Id: "id";
|
|
84
|
+
};
|
|
85
|
+
export type IndexRedirectRequestSortByEnum = typeof IndexRedirectRequestSortByEnum[keyof typeof IndexRedirectRequestSortByEnum];
|
|
86
|
+
/**
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
export declare const IndexRedirectRequestSortDirectionEnum: {
|
|
90
|
+
readonly Asc: "asc";
|
|
91
|
+
readonly Desc: "desc";
|
|
92
|
+
};
|
|
93
|
+
export type IndexRedirectRequestSortDirectionEnum = typeof IndexRedirectRequestSortDirectionEnum[keyof typeof IndexRedirectRequestSortDirectionEnum];
|
|
94
|
+
/**
|
|
95
|
+
* @export
|
|
96
|
+
*/
|
|
97
|
+
export declare const IndexRedirectRequestRelatedTypeEnum: {
|
|
98
|
+
readonly ProductChildSiteDetail: "productChildSiteDetail";
|
|
99
|
+
readonly ProductRangeSiteDetail: "productRangeSiteDetail";
|
|
100
|
+
readonly ProductCategory: "productCategory";
|
|
101
|
+
readonly Supplier: "supplier";
|
|
102
|
+
readonly Tag: "tag";
|
|
103
|
+
};
|
|
104
|
+
export type IndexRedirectRequestRelatedTypeEnum = typeof IndexRedirectRequestRelatedTypeEnum[keyof typeof IndexRedirectRequestRelatedTypeEnum];
|
|
105
|
+
/**
|
|
106
|
+
* Check if a given object implements the IndexRedirectRequest interface.
|
|
107
|
+
*/
|
|
108
|
+
export declare function instanceOfIndexRedirectRequest(value: object): value is IndexRedirectRequest;
|
|
109
|
+
export declare function IndexRedirectRequestFromJSON(json: any): IndexRedirectRequest;
|
|
110
|
+
export declare function IndexRedirectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexRedirectRequest;
|
|
111
|
+
export declare function IndexRedirectRequestToJSON(json: any): IndexRedirectRequest;
|
|
112
|
+
export declare function IndexRedirectRequestToJSONTyped(value?: IndexRedirectRequest | null, ignoreDiscriminator?: boolean): any;
|