@digital8/lighting-illusions-ts-sdk 0.0.1572 → 0.0.1574
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 +18 -40
- package/README.md +11 -25
- 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/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- 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/ModelAttributeFrontendResource.d.ts +38 -0
- package/dist/models/ModelAttributeFrontendResource.js +55 -0
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedRedirectListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedRedirectListResourceResponse.js +57 -0
- package/dist/models/ProductRangeFrontendResource.d.ts +7 -0
- package/dist/models/ProductRangeFrontendResource.js +5 -0
- 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/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +3 -1
- package/dist/models/index.d.ts +8 -19
- package/dist/models/index.js +8 -19
- package/docs/{GetAllProductRegistrationRequest.md → IndexRedirectRequest.md} +12 -6
- package/docs/{ProductRegistrationAssetType.md → ModelAttributeFrontendResource.md} +8 -4
- package/docs/{ProductRegistrationLiteResourceArrayResponse.md → ModelAttributeFrontendResourceArrayResponse.md} +5 -5
- package/docs/{PaginatedProductRegistrationResourceResponse.md → PaginatedRedirectListResourceResponse.md} +5 -5
- package/docs/ProductRangeFrontendResource.md +2 -0
- 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/docs/StoreSpecialDateResource.md +1 -1
- 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/ExternalApiLogResource.ts +2 -3
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/IndexRedirectRequest.ts +168 -0
- package/src/models/ModelAttributeFrontendResource.ts +75 -0
- package/src/models/ModelAttributeFrontendResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedRedirectListResourceResponse.ts +90 -0
- package/src/models/ProductRangeFrontendResource.ts +16 -0
- 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/StoreSpecialDateResource.ts +4 -3
- package/src/models/index.ts +8 -19
- package/dist/apis/ProductRegistrationApi.d.ts +0 -79
- package/dist/apis/ProductRegistrationApi.js +0 -316
- 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 -275
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationListResource.md +0 -42
- package/docs/ProductRegistrationListResourceArrayResponse.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 -238
- 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,8 @@ docs/LabelLiteResource.md
|
|
|
144
143
|
docs/LabelLiteResourceArrayResponse.md
|
|
145
144
|
docs/LabelResource.md
|
|
146
145
|
docs/LabelResourceArrayResponse.md
|
|
147
|
-
docs/
|
|
146
|
+
docs/ModelAttributeFrontendResource.md
|
|
147
|
+
docs/ModelAttributeFrontendResourceArrayResponse.md
|
|
148
148
|
docs/ModelAttributeListResource.md
|
|
149
149
|
docs/ModelAttributeListResourceArrayResponse.md
|
|
150
150
|
docs/ModelAttributeResource.md
|
|
@@ -192,14 +192,12 @@ docs/PaginatedProductRangeListResourceResponse.md
|
|
|
192
192
|
docs/PaginatedProductRangeLiteResourceResponse.md
|
|
193
193
|
docs/PaginatedProductRangeResourceResponse.md
|
|
194
194
|
docs/PaginatedProductRangeSearchResultResourceResponse.md
|
|
195
|
-
docs/PaginatedProductRegistrationAssetResourceResponse.md
|
|
196
|
-
docs/PaginatedProductRegistrationListResourceResponse.md
|
|
197
|
-
docs/PaginatedProductRegistrationResourceResponse.md
|
|
198
195
|
docs/PaginatedProductResourceResponse.md
|
|
199
196
|
docs/PaginatedProductSearchResultResourceResponse.md
|
|
200
197
|
docs/PaginatedProductTypeListResourceResponse.md
|
|
201
198
|
docs/PaginatedProductTypeLiteResourceResponse.md
|
|
202
199
|
docs/PaginatedProductTypeResourceResponse.md
|
|
200
|
+
docs/PaginatedRedirectListResourceResponse.md
|
|
203
201
|
docs/PaginatedSiteListResourceResponse.md
|
|
204
202
|
docs/PaginatedSiteLiteResourceResponse.md
|
|
205
203
|
docs/PaginatedSiteNotificationListResourceResponse.md
|
|
@@ -280,20 +278,6 @@ docs/ProductRangeSiteDetailResource.md
|
|
|
280
278
|
docs/ProductRangeSiteDetailResourceArrayResponse.md
|
|
281
279
|
docs/ProductRangeSortBy.md
|
|
282
280
|
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
281
|
docs/ProductResource.md
|
|
298
282
|
docs/ProductResourceArrayResponse.md
|
|
299
283
|
docs/ProductSearchResponseResource.md
|
|
@@ -310,6 +294,11 @@ docs/ProductTypeLiteResource.md
|
|
|
310
294
|
docs/ProductTypeLiteResourceArrayResponse.md
|
|
311
295
|
docs/ProductTypeResource.md
|
|
312
296
|
docs/ProductTypeResourceArrayResponse.md
|
|
297
|
+
docs/RedirectApi.md
|
|
298
|
+
docs/RedirectFrontendResource.md
|
|
299
|
+
docs/RedirectFrontendResourceArrayResponse.md
|
|
300
|
+
docs/RedirectListResource.md
|
|
301
|
+
docs/RedirectListResourceArrayResponse.md
|
|
313
302
|
docs/SEOResource.md
|
|
314
303
|
docs/SEOResourceArrayResponse.md
|
|
315
304
|
docs/ShowAssetsProductChildRequest.md
|
|
@@ -432,8 +421,8 @@ src/apis/OverlayTemplateApi.ts
|
|
|
432
421
|
src/apis/ProductApi.ts
|
|
433
422
|
src/apis/ProductCategoryApi.ts
|
|
434
423
|
src/apis/ProductRangeApi.ts
|
|
435
|
-
src/apis/ProductRegistrationApi.ts
|
|
436
424
|
src/apis/ProductTypeApi.ts
|
|
425
|
+
src/apis/RedirectApi.ts
|
|
437
426
|
src/apis/SiteApi.ts
|
|
438
427
|
src/apis/StoreApi.ts
|
|
439
428
|
src/apis/SupplierApi.ts
|
|
@@ -532,7 +521,6 @@ src/models/GetAllOverlayTemplateRequest.ts
|
|
|
532
521
|
src/models/GetAllProductCategoryRequest.ts
|
|
533
522
|
src/models/GetAllProductChildRequest.ts
|
|
534
523
|
src/models/GetAllProductRangeRequest.ts
|
|
535
|
-
src/models/GetAllProductRegistrationRequest.ts
|
|
536
524
|
src/models/GetAllProductRequest.ts
|
|
537
525
|
src/models/GetAllProductTypeRequest.ts
|
|
538
526
|
src/models/GetAllStoreRequest.ts
|
|
@@ -560,9 +548,9 @@ src/models/IndexOverlayTemplateRequest.ts
|
|
|
560
548
|
src/models/IndexProductCategoryRequest.ts
|
|
561
549
|
src/models/IndexProductChildRequest.ts
|
|
562
550
|
src/models/IndexProductRangeRequest.ts
|
|
563
|
-
src/models/IndexProductRegistrationRequest.ts
|
|
564
551
|
src/models/IndexProductRequest.ts
|
|
565
552
|
src/models/IndexProductTypeRequest.ts
|
|
553
|
+
src/models/IndexRedirectRequest.ts
|
|
566
554
|
src/models/IndexSiteNotificationRequest.ts
|
|
567
555
|
src/models/IndexSiteRequest.ts
|
|
568
556
|
src/models/IndexStoreRequest.ts
|
|
@@ -574,7 +562,8 @@ src/models/LabelLiteResource.ts
|
|
|
574
562
|
src/models/LabelLiteResourceArrayResponse.ts
|
|
575
563
|
src/models/LabelResource.ts
|
|
576
564
|
src/models/LabelResourceArrayResponse.ts
|
|
577
|
-
src/models/
|
|
565
|
+
src/models/ModelAttributeFrontendResource.ts
|
|
566
|
+
src/models/ModelAttributeFrontendResourceArrayResponse.ts
|
|
578
567
|
src/models/ModelAttributeListResource.ts
|
|
579
568
|
src/models/ModelAttributeListResourceArrayResponse.ts
|
|
580
569
|
src/models/ModelAttributeResource.ts
|
|
@@ -621,14 +610,12 @@ src/models/PaginatedProductRangeListResourceResponse.ts
|
|
|
621
610
|
src/models/PaginatedProductRangeLiteResourceResponse.ts
|
|
622
611
|
src/models/PaginatedProductRangeResourceResponse.ts
|
|
623
612
|
src/models/PaginatedProductRangeSearchResultResourceResponse.ts
|
|
624
|
-
src/models/PaginatedProductRegistrationAssetResourceResponse.ts
|
|
625
|
-
src/models/PaginatedProductRegistrationListResourceResponse.ts
|
|
626
|
-
src/models/PaginatedProductRegistrationResourceResponse.ts
|
|
627
613
|
src/models/PaginatedProductResourceResponse.ts
|
|
628
614
|
src/models/PaginatedProductSearchResultResourceResponse.ts
|
|
629
615
|
src/models/PaginatedProductTypeListResourceResponse.ts
|
|
630
616
|
src/models/PaginatedProductTypeLiteResourceResponse.ts
|
|
631
617
|
src/models/PaginatedProductTypeResourceResponse.ts
|
|
618
|
+
src/models/PaginatedRedirectListResourceResponse.ts
|
|
632
619
|
src/models/PaginatedSiteListResourceResponse.ts
|
|
633
620
|
src/models/PaginatedSiteLiteResourceResponse.ts
|
|
634
621
|
src/models/PaginatedSiteNotificationListResourceResponse.ts
|
|
@@ -706,19 +693,6 @@ src/models/ProductRangeSiteDetailResource.ts
|
|
|
706
693
|
src/models/ProductRangeSiteDetailResourceArrayResponse.ts
|
|
707
694
|
src/models/ProductRangeSortBy.ts
|
|
708
695
|
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
696
|
src/models/ProductResource.ts
|
|
723
697
|
src/models/ProductResourceArrayResponse.ts
|
|
724
698
|
src/models/ProductSearchResponseResource.ts
|
|
@@ -734,6 +708,10 @@ src/models/ProductTypeLiteResource.ts
|
|
|
734
708
|
src/models/ProductTypeLiteResourceArrayResponse.ts
|
|
735
709
|
src/models/ProductTypeResource.ts
|
|
736
710
|
src/models/ProductTypeResourceArrayResponse.ts
|
|
711
|
+
src/models/RedirectFrontendResource.ts
|
|
712
|
+
src/models/RedirectFrontendResourceArrayResponse.ts
|
|
713
|
+
src/models/RedirectListResource.ts
|
|
714
|
+
src/models/RedirectListResourceArrayResponse.ts
|
|
737
715
|
src/models/SEOResource.ts
|
|
738
716
|
src/models/SEOResourceArrayResponse.ts
|
|
739
717
|
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.1574
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -162,10 +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* | [**showProductRegistration**](docs/ProductRegistrationApi.md#showproductregistration) | **GET** /admin-api/product-registration/{productRegistration} | Auto-generated: showProductRegistration
|
|
169
165
|
*ProductTypeApi* | [**attachAttributeProductType**](docs/ProductTypeApi.md#attachattributeproducttypeoperation) | **POST** /admin-api/product-type/{productType}/attach-attribute | Auto-generated: attachAttributeProductType
|
|
170
166
|
*ProductTypeApi* | [**destroyProductType**](docs/ProductTypeApi.md#destroyproducttype) | **DELETE** /admin-api/product-type/{productType}/delete | Auto-generated: destroyProductType
|
|
171
167
|
*ProductTypeApi* | [**detachAttributeProductType**](docs/ProductTypeApi.md#detachattributeproducttype) | **POST** /admin-api/product-type/{productType}/detach-attribute/{attribute} | Auto-generated: detachAttributeProductType
|
|
@@ -175,6 +171,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
175
171
|
*ProductTypeApi* | [**storeProductType**](docs/ProductTypeApi.md#storeproducttypeoperation) | **POST** /admin-api/product-type/create | Auto-generated: storeProductType
|
|
176
172
|
*ProductTypeApi* | [**updateAttachedAttributeProductType**](docs/ProductTypeApi.md#updateattachedattributeproducttype) | **PUT** /admin-api/product-type/{productType}/update-attribute | Auto-generated: updateAttachedAttributeProductType
|
|
177
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
|
|
178
175
|
*SiteApi* | [**destroySiteNotification**](docs/SiteApi.md#destroysitenotification) | **DELETE** /admin-api/site/notification/{siteNotification}/delete | Auto-generated: destroySiteNotification
|
|
179
176
|
*SiteApi* | [**getAllSite**](docs/SiteApi.md#getallsite) | **POST** /admin-api/site/all | Auto-generated: getAllSite
|
|
180
177
|
*SiteApi* | [**indexSite**](docs/SiteApi.md#indexsiteoperation) | **POST** /admin-api/site/list | Auto-generated: indexSite
|
|
@@ -308,7 +305,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
308
305
|
- [GetAllProductCategoryRequest](docs/GetAllProductCategoryRequest.md)
|
|
309
306
|
- [GetAllProductChildRequest](docs/GetAllProductChildRequest.md)
|
|
310
307
|
- [GetAllProductRangeRequest](docs/GetAllProductRangeRequest.md)
|
|
311
|
-
- [GetAllProductRegistrationRequest](docs/GetAllProductRegistrationRequest.md)
|
|
312
308
|
- [GetAllProductRequest](docs/GetAllProductRequest.md)
|
|
313
309
|
- [GetAllProductTypeRequest](docs/GetAllProductTypeRequest.md)
|
|
314
310
|
- [GetAllStoreRequest](docs/GetAllStoreRequest.md)
|
|
@@ -336,9 +332,9 @@ All URIs are relative to *http://localhost/api*
|
|
|
336
332
|
- [IndexProductCategoryRequest](docs/IndexProductCategoryRequest.md)
|
|
337
333
|
- [IndexProductChildRequest](docs/IndexProductChildRequest.md)
|
|
338
334
|
- [IndexProductRangeRequest](docs/IndexProductRangeRequest.md)
|
|
339
|
-
- [IndexProductRegistrationRequest](docs/IndexProductRegistrationRequest.md)
|
|
340
335
|
- [IndexProductRequest](docs/IndexProductRequest.md)
|
|
341
336
|
- [IndexProductTypeRequest](docs/IndexProductTypeRequest.md)
|
|
337
|
+
- [IndexRedirectRequest](docs/IndexRedirectRequest.md)
|
|
342
338
|
- [IndexSiteNotificationRequest](docs/IndexSiteNotificationRequest.md)
|
|
343
339
|
- [IndexSiteRequest](docs/IndexSiteRequest.md)
|
|
344
340
|
- [IndexStoreRequest](docs/IndexStoreRequest.md)
|
|
@@ -350,7 +346,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
350
346
|
- [LabelLiteResourceArrayResponse](docs/LabelLiteResourceArrayResponse.md)
|
|
351
347
|
- [LabelResource](docs/LabelResource.md)
|
|
352
348
|
- [LabelResourceArrayResponse](docs/LabelResourceArrayResponse.md)
|
|
353
|
-
- [
|
|
349
|
+
- [ModelAttributeFrontendResource](docs/ModelAttributeFrontendResource.md)
|
|
350
|
+
- [ModelAttributeFrontendResourceArrayResponse](docs/ModelAttributeFrontendResourceArrayResponse.md)
|
|
354
351
|
- [ModelAttributeListResource](docs/ModelAttributeListResource.md)
|
|
355
352
|
- [ModelAttributeListResourceArrayResponse](docs/ModelAttributeListResourceArrayResponse.md)
|
|
356
353
|
- [ModelAttributeResource](docs/ModelAttributeResource.md)
|
|
@@ -397,14 +394,12 @@ All URIs are relative to *http://localhost/api*
|
|
|
397
394
|
- [PaginatedProductRangeLiteResourceResponse](docs/PaginatedProductRangeLiteResourceResponse.md)
|
|
398
395
|
- [PaginatedProductRangeResourceResponse](docs/PaginatedProductRangeResourceResponse.md)
|
|
399
396
|
- [PaginatedProductRangeSearchResultResourceResponse](docs/PaginatedProductRangeSearchResultResourceResponse.md)
|
|
400
|
-
- [PaginatedProductRegistrationAssetResourceResponse](docs/PaginatedProductRegistrationAssetResourceResponse.md)
|
|
401
|
-
- [PaginatedProductRegistrationListResourceResponse](docs/PaginatedProductRegistrationListResourceResponse.md)
|
|
402
|
-
- [PaginatedProductRegistrationResourceResponse](docs/PaginatedProductRegistrationResourceResponse.md)
|
|
403
397
|
- [PaginatedProductResourceResponse](docs/PaginatedProductResourceResponse.md)
|
|
404
398
|
- [PaginatedProductSearchResultResourceResponse](docs/PaginatedProductSearchResultResourceResponse.md)
|
|
405
399
|
- [PaginatedProductTypeListResourceResponse](docs/PaginatedProductTypeListResourceResponse.md)
|
|
406
400
|
- [PaginatedProductTypeLiteResourceResponse](docs/PaginatedProductTypeLiteResourceResponse.md)
|
|
407
401
|
- [PaginatedProductTypeResourceResponse](docs/PaginatedProductTypeResourceResponse.md)
|
|
402
|
+
- [PaginatedRedirectListResourceResponse](docs/PaginatedRedirectListResourceResponse.md)
|
|
408
403
|
- [PaginatedSiteListResourceResponse](docs/PaginatedSiteListResourceResponse.md)
|
|
409
404
|
- [PaginatedSiteLiteResourceResponse](docs/PaginatedSiteLiteResourceResponse.md)
|
|
410
405
|
- [PaginatedSiteNotificationListResourceResponse](docs/PaginatedSiteNotificationListResourceResponse.md)
|
|
@@ -482,19 +477,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
482
477
|
- [ProductRangeSiteDetailResourceArrayResponse](docs/ProductRangeSiteDetailResourceArrayResponse.md)
|
|
483
478
|
- [ProductRangeSortBy](docs/ProductRangeSortBy.md)
|
|
484
479
|
- [ProductRating](docs/ProductRating.md)
|
|
485
|
-
- [ProductRegistrationAssetResource](docs/ProductRegistrationAssetResource.md)
|
|
486
|
-
- [ProductRegistrationAssetResourceArrayResponse](docs/ProductRegistrationAssetResourceArrayResponse.md)
|
|
487
|
-
- [ProductRegistrationAssetType](docs/ProductRegistrationAssetType.md)
|
|
488
|
-
- [ProductRegistrationCustomerResource](docs/ProductRegistrationCustomerResource.md)
|
|
489
|
-
- [ProductRegistrationCustomerResourceArrayResponse](docs/ProductRegistrationCustomerResourceArrayResponse.md)
|
|
490
|
-
- [ProductRegistrationListResource](docs/ProductRegistrationListResource.md)
|
|
491
|
-
- [ProductRegistrationListResourceArrayResponse](docs/ProductRegistrationListResourceArrayResponse.md)
|
|
492
|
-
- [ProductRegistrationLiteResource](docs/ProductRegistrationLiteResource.md)
|
|
493
|
-
- [ProductRegistrationLiteResourceArrayResponse](docs/ProductRegistrationLiteResourceArrayResponse.md)
|
|
494
|
-
- [ProductRegistrationProductChildResource](docs/ProductRegistrationProductChildResource.md)
|
|
495
|
-
- [ProductRegistrationProductChildResourceArrayResponse](docs/ProductRegistrationProductChildResourceArrayResponse.md)
|
|
496
|
-
- [ProductRegistrationResource](docs/ProductRegistrationResource.md)
|
|
497
|
-
- [ProductRegistrationResourceArrayResponse](docs/ProductRegistrationResourceArrayResponse.md)
|
|
498
480
|
- [ProductResource](docs/ProductResource.md)
|
|
499
481
|
- [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
|
|
500
482
|
- [ProductSearchResponseResource](docs/ProductSearchResponseResource.md)
|
|
@@ -510,6 +492,10 @@ All URIs are relative to *http://localhost/api*
|
|
|
510
492
|
- [ProductTypeLiteResourceArrayResponse](docs/ProductTypeLiteResourceArrayResponse.md)
|
|
511
493
|
- [ProductTypeResource](docs/ProductTypeResource.md)
|
|
512
494
|
- [ProductTypeResourceArrayResponse](docs/ProductTypeResourceArrayResponse.md)
|
|
495
|
+
- [RedirectFrontendResource](docs/RedirectFrontendResource.md)
|
|
496
|
+
- [RedirectFrontendResourceArrayResponse](docs/RedirectFrontendResourceArrayResponse.md)
|
|
497
|
+
- [RedirectListResource](docs/RedirectListResource.md)
|
|
498
|
+
- [RedirectListResourceArrayResponse](docs/RedirectListResourceArrayResponse.md)
|
|
513
499
|
- [SEOResource](docs/SEOResource.md)
|
|
514
500
|
- [SEOResourceArrayResponse](docs/SEOResourceArrayResponse.md)
|
|
515
501
|
- [ShowAssetsProductChildRequest](docs/ShowAssetsProductChildRequest.md)
|
|
@@ -628,7 +614,7 @@ and is automatically generated by the
|
|
|
628
614
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
629
615
|
|
|
630
616
|
- API version: `1.0.0`
|
|
631
|
-
- Package version: `0.0.
|
|
617
|
+
- Package version: `0.0.1574`
|
|
632
618
|
- Generator version: `7.21.0`
|
|
633
619
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
634
620
|
|
|
@@ -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);
|
|
@@ -22,6 +22,8 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AddressResource interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAddressResource(value) {
|
|
25
|
+
if (!('company' in value) || value['company'] === undefined)
|
|
26
|
+
return false;
|
|
25
27
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
26
28
|
return false;
|
|
27
29
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
@@ -45,7 +47,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
47
|
}
|
|
46
48
|
return {
|
|
47
49
|
'id': json['id'] == null ? undefined : json['id'],
|
|
48
|
-
'company': json['company']
|
|
50
|
+
'company': json['company'],
|
|
49
51
|
'line1': json['line_1'],
|
|
50
52
|
'line2': json['line_2'] == null ? undefined : json['line_2'],
|
|
51
53
|
'postcode': json['postcode'],
|
|
@@ -37,8 +37,6 @@ function instanceOfExternalApiLogResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
-
if (!('requestPayload' in value) || value['requestPayload'] === undefined)
|
|
41
|
-
return false;
|
|
42
40
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
43
41
|
return false;
|
|
44
42
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
58
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
61
59
|
'endpoint': json['endpoint'],
|
|
62
60
|
'responseCode': json['responseCode'],
|
|
63
|
-
'requestPayload': json['requestPayload'],
|
|
61
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
64
62
|
'responsePayload': json['responsePayload'],
|
|
65
63
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
66
64
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -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;
|