@digital8/lighting-illusions-ts-sdk 0.0.1508 → 0.0.1509
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 +40 -14
- package/README.md +25 -9
- package/dist/apis/ProductRegistrationApi.d.ts +79 -0
- package/dist/apis/ProductRegistrationApi.js +316 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/GetAllProductRegistrationRequest.js +80 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
- package/dist/models/IndexProductRegistrationRequest.js +98 -0
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
- package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
- package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
- package/dist/models/ProductRegistrationAssetResource.js +58 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
- package/dist/models/ProductRegistrationAssetType.js +51 -0
- package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
- package/dist/models/ProductRegistrationCustomerResource.js +65 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationListResource.d.ts +57 -0
- package/dist/models/ProductRegistrationListResource.js +64 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
- package/dist/models/ProductRegistrationLiteResource.js +53 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
- package/dist/models/ProductRegistrationProductChildResource.js +63 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationResource.d.ts +88 -0
- package/dist/models/ProductRegistrationResource.js +79 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/index.d.ts +19 -6
- package/dist/models/index.js +19 -6
- package/docs/{IndexRedirectRequest.md → GetAllProductRegistrationRequest.md} +6 -12
- package/docs/IndexProductRegistrationRequest.md +58 -0
- package/docs/ListAssetsProductRegistrationRequest.md +52 -0
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/{PaginatedRedirectListResourceResponse.md → PaginatedProductRegistrationResourceResponse.md} +5 -5
- package/docs/ProductRegistrationApi.md +275 -0
- package/docs/{RedirectFrontendResource.md → ProductRegistrationAssetResource.md} +8 -14
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
- package/docs/{RedirectListResourceArrayResponse.md → ProductRegistrationAssetType.md} +4 -6
- package/docs/{RedirectListResource.md → ProductRegistrationCustomerResource.md} +14 -16
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationListResource.md +42 -0
- package/docs/ProductRegistrationListResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationLiteResource.md +36 -0
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationProductChildResource.md +40 -0
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/{RedirectFrontendResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +238 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +2 -3
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllProductRegistrationRequest.ts +137 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRegistrationRequest.ts +193 -0
- package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/ProductRegistrationAssetResource.ts +91 -0
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationAssetType.ts +53 -0
- package/src/models/ProductRegistrationCustomerResource.ts +108 -0
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationListResource.ts +108 -0
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationLiteResource.ts +74 -0
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationProductChildResource.ts +93 -0
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationResource.ts +157 -0
- package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/index.ts +19 -6
- package/dist/apis/RedirectApi.d.ts +0 -33
- package/dist/apis/RedirectApi.js +0 -138
- package/dist/models/IndexRedirectRequest.d.ts +0 -112
- package/dist/models/IndexRedirectRequest.js +0 -91
- package/dist/models/PaginatedRedirectListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRedirectListResourceResponse.js +0 -57
- package/dist/models/RedirectFrontendResource.d.ts +0 -62
- package/dist/models/RedirectFrontendResource.js +0 -71
- package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectFrontendResourceArrayResponse.js +0 -50
- package/dist/models/RedirectListResource.d.ts +0 -69
- package/dist/models/RedirectListResource.js +0 -76
- package/dist/models/RedirectListResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectListResourceArrayResponse.js +0 -50
- package/docs/RedirectApi.md +0 -74
- package/src/apis/RedirectApi.ts +0 -77
- package/src/models/IndexRedirectRequest.ts +0 -168
- package/src/models/PaginatedRedirectListResourceResponse.ts +0 -90
- package/src/models/RedirectFrontendResource.ts +0 -111
- package/src/models/RedirectFrontendResourceArrayResponse.ts +0 -73
- package/src/models/RedirectListResource.ts +0 -128
- package/src/models/RedirectListResourceArrayResponse.ts +0 -73
package/.openapi-generator/FILES
CHANGED
|
@@ -100,6 +100,7 @@ docs/GetAllOverlayTemplateRequest.md
|
|
|
100
100
|
docs/GetAllProductCategoryRequest.md
|
|
101
101
|
docs/GetAllProductChildRequest.md
|
|
102
102
|
docs/GetAllProductRangeRequest.md
|
|
103
|
+
docs/GetAllProductRegistrationRequest.md
|
|
103
104
|
docs/GetAllProductRequest.md
|
|
104
105
|
docs/GetAllProductTypeRequest.md
|
|
105
106
|
docs/GetAllStoreRequest.md
|
|
@@ -128,9 +129,9 @@ docs/IndexOverlayTemplateRequest.md
|
|
|
128
129
|
docs/IndexProductCategoryRequest.md
|
|
129
130
|
docs/IndexProductChildRequest.md
|
|
130
131
|
docs/IndexProductRangeRequest.md
|
|
132
|
+
docs/IndexProductRegistrationRequest.md
|
|
131
133
|
docs/IndexProductRequest.md
|
|
132
134
|
docs/IndexProductTypeRequest.md
|
|
133
|
-
docs/IndexRedirectRequest.md
|
|
134
135
|
docs/IndexSiteNotificationRequest.md
|
|
135
136
|
docs/IndexSiteRequest.md
|
|
136
137
|
docs/IndexStoreRequest.md
|
|
@@ -143,6 +144,7 @@ docs/LabelLiteResource.md
|
|
|
143
144
|
docs/LabelLiteResourceArrayResponse.md
|
|
144
145
|
docs/LabelResource.md
|
|
145
146
|
docs/LabelResourceArrayResponse.md
|
|
147
|
+
docs/ListAssetsProductRegistrationRequest.md
|
|
146
148
|
docs/ModelAttributeListResource.md
|
|
147
149
|
docs/ModelAttributeListResourceArrayResponse.md
|
|
148
150
|
docs/ModelAttributeResource.md
|
|
@@ -190,12 +192,14 @@ docs/PaginatedProductRangeListResourceResponse.md
|
|
|
190
192
|
docs/PaginatedProductRangeLiteResourceResponse.md
|
|
191
193
|
docs/PaginatedProductRangeResourceResponse.md
|
|
192
194
|
docs/PaginatedProductRangeSearchResultResourceResponse.md
|
|
195
|
+
docs/PaginatedProductRegistrationAssetResourceResponse.md
|
|
196
|
+
docs/PaginatedProductRegistrationListResourceResponse.md
|
|
197
|
+
docs/PaginatedProductRegistrationResourceResponse.md
|
|
193
198
|
docs/PaginatedProductResourceResponse.md
|
|
194
199
|
docs/PaginatedProductSearchResultResourceResponse.md
|
|
195
200
|
docs/PaginatedProductTypeListResourceResponse.md
|
|
196
201
|
docs/PaginatedProductTypeLiteResourceResponse.md
|
|
197
202
|
docs/PaginatedProductTypeResourceResponse.md
|
|
198
|
-
docs/PaginatedRedirectListResourceResponse.md
|
|
199
203
|
docs/PaginatedSiteListResourceResponse.md
|
|
200
204
|
docs/PaginatedSiteLiteResourceResponse.md
|
|
201
205
|
docs/PaginatedSiteNotificationListResourceResponse.md
|
|
@@ -276,6 +280,20 @@ docs/ProductRangeSiteDetailResource.md
|
|
|
276
280
|
docs/ProductRangeSiteDetailResourceArrayResponse.md
|
|
277
281
|
docs/ProductRangeSortBy.md
|
|
278
282
|
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
|
|
279
297
|
docs/ProductResource.md
|
|
280
298
|
docs/ProductResourceArrayResponse.md
|
|
281
299
|
docs/ProductSearchResponseResource.md
|
|
@@ -292,11 +310,6 @@ docs/ProductTypeLiteResource.md
|
|
|
292
310
|
docs/ProductTypeLiteResourceArrayResponse.md
|
|
293
311
|
docs/ProductTypeResource.md
|
|
294
312
|
docs/ProductTypeResourceArrayResponse.md
|
|
295
|
-
docs/RedirectApi.md
|
|
296
|
-
docs/RedirectFrontendResource.md
|
|
297
|
-
docs/RedirectFrontendResourceArrayResponse.md
|
|
298
|
-
docs/RedirectListResource.md
|
|
299
|
-
docs/RedirectListResourceArrayResponse.md
|
|
300
313
|
docs/SEOResource.md
|
|
301
314
|
docs/SEOResourceArrayResponse.md
|
|
302
315
|
docs/ShowAssetsProductChildRequest.md
|
|
@@ -419,8 +432,8 @@ src/apis/OverlayTemplateApi.ts
|
|
|
419
432
|
src/apis/ProductApi.ts
|
|
420
433
|
src/apis/ProductCategoryApi.ts
|
|
421
434
|
src/apis/ProductRangeApi.ts
|
|
435
|
+
src/apis/ProductRegistrationApi.ts
|
|
422
436
|
src/apis/ProductTypeApi.ts
|
|
423
|
-
src/apis/RedirectApi.ts
|
|
424
437
|
src/apis/SiteApi.ts
|
|
425
438
|
src/apis/StoreApi.ts
|
|
426
439
|
src/apis/SupplierApi.ts
|
|
@@ -519,6 +532,7 @@ src/models/GetAllOverlayTemplateRequest.ts
|
|
|
519
532
|
src/models/GetAllProductCategoryRequest.ts
|
|
520
533
|
src/models/GetAllProductChildRequest.ts
|
|
521
534
|
src/models/GetAllProductRangeRequest.ts
|
|
535
|
+
src/models/GetAllProductRegistrationRequest.ts
|
|
522
536
|
src/models/GetAllProductRequest.ts
|
|
523
537
|
src/models/GetAllProductTypeRequest.ts
|
|
524
538
|
src/models/GetAllStoreRequest.ts
|
|
@@ -546,9 +560,9 @@ src/models/IndexOverlayTemplateRequest.ts
|
|
|
546
560
|
src/models/IndexProductCategoryRequest.ts
|
|
547
561
|
src/models/IndexProductChildRequest.ts
|
|
548
562
|
src/models/IndexProductRangeRequest.ts
|
|
563
|
+
src/models/IndexProductRegistrationRequest.ts
|
|
549
564
|
src/models/IndexProductRequest.ts
|
|
550
565
|
src/models/IndexProductTypeRequest.ts
|
|
551
|
-
src/models/IndexRedirectRequest.ts
|
|
552
566
|
src/models/IndexSiteNotificationRequest.ts
|
|
553
567
|
src/models/IndexSiteRequest.ts
|
|
554
568
|
src/models/IndexStoreRequest.ts
|
|
@@ -560,6 +574,7 @@ src/models/LabelLiteResource.ts
|
|
|
560
574
|
src/models/LabelLiteResourceArrayResponse.ts
|
|
561
575
|
src/models/LabelResource.ts
|
|
562
576
|
src/models/LabelResourceArrayResponse.ts
|
|
577
|
+
src/models/ListAssetsProductRegistrationRequest.ts
|
|
563
578
|
src/models/ModelAttributeListResource.ts
|
|
564
579
|
src/models/ModelAttributeListResourceArrayResponse.ts
|
|
565
580
|
src/models/ModelAttributeResource.ts
|
|
@@ -606,12 +621,14 @@ src/models/PaginatedProductRangeListResourceResponse.ts
|
|
|
606
621
|
src/models/PaginatedProductRangeLiteResourceResponse.ts
|
|
607
622
|
src/models/PaginatedProductRangeResourceResponse.ts
|
|
608
623
|
src/models/PaginatedProductRangeSearchResultResourceResponse.ts
|
|
624
|
+
src/models/PaginatedProductRegistrationAssetResourceResponse.ts
|
|
625
|
+
src/models/PaginatedProductRegistrationListResourceResponse.ts
|
|
626
|
+
src/models/PaginatedProductRegistrationResourceResponse.ts
|
|
609
627
|
src/models/PaginatedProductResourceResponse.ts
|
|
610
628
|
src/models/PaginatedProductSearchResultResourceResponse.ts
|
|
611
629
|
src/models/PaginatedProductTypeListResourceResponse.ts
|
|
612
630
|
src/models/PaginatedProductTypeLiteResourceResponse.ts
|
|
613
631
|
src/models/PaginatedProductTypeResourceResponse.ts
|
|
614
|
-
src/models/PaginatedRedirectListResourceResponse.ts
|
|
615
632
|
src/models/PaginatedSiteListResourceResponse.ts
|
|
616
633
|
src/models/PaginatedSiteLiteResourceResponse.ts
|
|
617
634
|
src/models/PaginatedSiteNotificationListResourceResponse.ts
|
|
@@ -689,6 +706,19 @@ src/models/ProductRangeSiteDetailResource.ts
|
|
|
689
706
|
src/models/ProductRangeSiteDetailResourceArrayResponse.ts
|
|
690
707
|
src/models/ProductRangeSortBy.ts
|
|
691
708
|
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
|
|
692
722
|
src/models/ProductResource.ts
|
|
693
723
|
src/models/ProductResourceArrayResponse.ts
|
|
694
724
|
src/models/ProductSearchResponseResource.ts
|
|
@@ -704,10 +734,6 @@ src/models/ProductTypeLiteResource.ts
|
|
|
704
734
|
src/models/ProductTypeLiteResourceArrayResponse.ts
|
|
705
735
|
src/models/ProductTypeResource.ts
|
|
706
736
|
src/models/ProductTypeResourceArrayResponse.ts
|
|
707
|
-
src/models/RedirectFrontendResource.ts
|
|
708
|
-
src/models/RedirectFrontendResourceArrayResponse.ts
|
|
709
|
-
src/models/RedirectListResource.ts
|
|
710
|
-
src/models/RedirectListResourceArrayResponse.ts
|
|
711
737
|
src/models/SEOResource.ts
|
|
712
738
|
src/models/SEOResourceArrayResponse.ts
|
|
713
739
|
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.1509
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -162,6 +162,10 @@ 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
|
|
165
169
|
*ProductTypeApi* | [**attachAttributeProductType**](docs/ProductTypeApi.md#attachattributeproducttypeoperation) | **POST** /admin-api/product-type/{productType}/attach-attribute | Auto-generated: attachAttributeProductType
|
|
166
170
|
*ProductTypeApi* | [**destroyProductType**](docs/ProductTypeApi.md#destroyproducttype) | **DELETE** /admin-api/product-type/{productType}/delete | Auto-generated: destroyProductType
|
|
167
171
|
*ProductTypeApi* | [**detachAttributeProductType**](docs/ProductTypeApi.md#detachattributeproducttype) | **POST** /admin-api/product-type/{productType}/detach-attribute/{attribute} | Auto-generated: detachAttributeProductType
|
|
@@ -171,7 +175,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
171
175
|
*ProductTypeApi* | [**storeProductType**](docs/ProductTypeApi.md#storeproducttypeoperation) | **POST** /admin-api/product-type/create | Auto-generated: storeProductType
|
|
172
176
|
*ProductTypeApi* | [**updateAttachedAttributeProductType**](docs/ProductTypeApi.md#updateattachedattributeproducttype) | **PUT** /admin-api/product-type/{productType}/update-attribute | Auto-generated: updateAttachedAttributeProductType
|
|
173
177
|
*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
|
|
175
178
|
*SiteApi* | [**destroySiteNotification**](docs/SiteApi.md#destroysitenotification) | **DELETE** /admin-api/site/notification/{siteNotification}/delete | Auto-generated: destroySiteNotification
|
|
176
179
|
*SiteApi* | [**getAllSite**](docs/SiteApi.md#getallsite) | **POST** /admin-api/site/all | Auto-generated: getAllSite
|
|
177
180
|
*SiteApi* | [**indexSite**](docs/SiteApi.md#indexsiteoperation) | **POST** /admin-api/site/list | Auto-generated: indexSite
|
|
@@ -305,6 +308,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
305
308
|
- [GetAllProductCategoryRequest](docs/GetAllProductCategoryRequest.md)
|
|
306
309
|
- [GetAllProductChildRequest](docs/GetAllProductChildRequest.md)
|
|
307
310
|
- [GetAllProductRangeRequest](docs/GetAllProductRangeRequest.md)
|
|
311
|
+
- [GetAllProductRegistrationRequest](docs/GetAllProductRegistrationRequest.md)
|
|
308
312
|
- [GetAllProductRequest](docs/GetAllProductRequest.md)
|
|
309
313
|
- [GetAllProductTypeRequest](docs/GetAllProductTypeRequest.md)
|
|
310
314
|
- [GetAllStoreRequest](docs/GetAllStoreRequest.md)
|
|
@@ -332,9 +336,9 @@ All URIs are relative to *http://localhost/api*
|
|
|
332
336
|
- [IndexProductCategoryRequest](docs/IndexProductCategoryRequest.md)
|
|
333
337
|
- [IndexProductChildRequest](docs/IndexProductChildRequest.md)
|
|
334
338
|
- [IndexProductRangeRequest](docs/IndexProductRangeRequest.md)
|
|
339
|
+
- [IndexProductRegistrationRequest](docs/IndexProductRegistrationRequest.md)
|
|
335
340
|
- [IndexProductRequest](docs/IndexProductRequest.md)
|
|
336
341
|
- [IndexProductTypeRequest](docs/IndexProductTypeRequest.md)
|
|
337
|
-
- [IndexRedirectRequest](docs/IndexRedirectRequest.md)
|
|
338
342
|
- [IndexSiteNotificationRequest](docs/IndexSiteNotificationRequest.md)
|
|
339
343
|
- [IndexSiteRequest](docs/IndexSiteRequest.md)
|
|
340
344
|
- [IndexStoreRequest](docs/IndexStoreRequest.md)
|
|
@@ -346,6 +350,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
346
350
|
- [LabelLiteResourceArrayResponse](docs/LabelLiteResourceArrayResponse.md)
|
|
347
351
|
- [LabelResource](docs/LabelResource.md)
|
|
348
352
|
- [LabelResourceArrayResponse](docs/LabelResourceArrayResponse.md)
|
|
353
|
+
- [ListAssetsProductRegistrationRequest](docs/ListAssetsProductRegistrationRequest.md)
|
|
349
354
|
- [ModelAttributeListResource](docs/ModelAttributeListResource.md)
|
|
350
355
|
- [ModelAttributeListResourceArrayResponse](docs/ModelAttributeListResourceArrayResponse.md)
|
|
351
356
|
- [ModelAttributeResource](docs/ModelAttributeResource.md)
|
|
@@ -392,12 +397,14 @@ All URIs are relative to *http://localhost/api*
|
|
|
392
397
|
- [PaginatedProductRangeLiteResourceResponse](docs/PaginatedProductRangeLiteResourceResponse.md)
|
|
393
398
|
- [PaginatedProductRangeResourceResponse](docs/PaginatedProductRangeResourceResponse.md)
|
|
394
399
|
- [PaginatedProductRangeSearchResultResourceResponse](docs/PaginatedProductRangeSearchResultResourceResponse.md)
|
|
400
|
+
- [PaginatedProductRegistrationAssetResourceResponse](docs/PaginatedProductRegistrationAssetResourceResponse.md)
|
|
401
|
+
- [PaginatedProductRegistrationListResourceResponse](docs/PaginatedProductRegistrationListResourceResponse.md)
|
|
402
|
+
- [PaginatedProductRegistrationResourceResponse](docs/PaginatedProductRegistrationResourceResponse.md)
|
|
395
403
|
- [PaginatedProductResourceResponse](docs/PaginatedProductResourceResponse.md)
|
|
396
404
|
- [PaginatedProductSearchResultResourceResponse](docs/PaginatedProductSearchResultResourceResponse.md)
|
|
397
405
|
- [PaginatedProductTypeListResourceResponse](docs/PaginatedProductTypeListResourceResponse.md)
|
|
398
406
|
- [PaginatedProductTypeLiteResourceResponse](docs/PaginatedProductTypeLiteResourceResponse.md)
|
|
399
407
|
- [PaginatedProductTypeResourceResponse](docs/PaginatedProductTypeResourceResponse.md)
|
|
400
|
-
- [PaginatedRedirectListResourceResponse](docs/PaginatedRedirectListResourceResponse.md)
|
|
401
408
|
- [PaginatedSiteListResourceResponse](docs/PaginatedSiteListResourceResponse.md)
|
|
402
409
|
- [PaginatedSiteLiteResourceResponse](docs/PaginatedSiteLiteResourceResponse.md)
|
|
403
410
|
- [PaginatedSiteNotificationListResourceResponse](docs/PaginatedSiteNotificationListResourceResponse.md)
|
|
@@ -475,6 +482,19 @@ All URIs are relative to *http://localhost/api*
|
|
|
475
482
|
- [ProductRangeSiteDetailResourceArrayResponse](docs/ProductRangeSiteDetailResourceArrayResponse.md)
|
|
476
483
|
- [ProductRangeSortBy](docs/ProductRangeSortBy.md)
|
|
477
484
|
- [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)
|
|
478
498
|
- [ProductResource](docs/ProductResource.md)
|
|
479
499
|
- [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
|
|
480
500
|
- [ProductSearchResponseResource](docs/ProductSearchResponseResource.md)
|
|
@@ -490,10 +510,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
490
510
|
- [ProductTypeLiteResourceArrayResponse](docs/ProductTypeLiteResourceArrayResponse.md)
|
|
491
511
|
- [ProductTypeResource](docs/ProductTypeResource.md)
|
|
492
512
|
- [ProductTypeResourceArrayResponse](docs/ProductTypeResourceArrayResponse.md)
|
|
493
|
-
- [RedirectFrontendResource](docs/RedirectFrontendResource.md)
|
|
494
|
-
- [RedirectFrontendResourceArrayResponse](docs/RedirectFrontendResourceArrayResponse.md)
|
|
495
|
-
- [RedirectListResource](docs/RedirectListResource.md)
|
|
496
|
-
- [RedirectListResourceArrayResponse](docs/RedirectListResourceArrayResponse.md)
|
|
497
513
|
- [SEOResource](docs/SEOResource.md)
|
|
498
514
|
- [SEOResourceArrayResponse](docs/SEOResourceArrayResponse.md)
|
|
499
515
|
- [ShowAssetsProductChildRequest](docs/ShowAssetsProductChildRequest.md)
|
|
@@ -612,7 +628,7 @@ and is automatically generated by the
|
|
|
612
628
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
613
629
|
|
|
614
630
|
- API version: `1.0.0`
|
|
615
|
-
- Package version: `0.0.
|
|
631
|
+
- Package version: `0.0.1509`
|
|
616
632
|
- Generator version: `7.20.0`
|
|
617
633
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
618
634
|
|
|
@@ -0,0 +1,79 @@
|
|
|
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 { GetAllProductRegistrationRequest, IndexProductRegistrationRequest, ListAssetsProductRegistrationRequest, PaginatedProductRegistrationAssetResourceResponse, PaginatedProductRegistrationListResourceResponse, ProductRegistrationLiteResourceArrayResponse, ProductRegistrationResource } from '../models/index';
|
|
14
|
+
export interface GetAllProductRegistrationOperationRequest {
|
|
15
|
+
getAllProductRegistrationRequest?: GetAllProductRegistrationRequest;
|
|
16
|
+
}
|
|
17
|
+
export interface IndexProductRegistrationOperationRequest {
|
|
18
|
+
indexProductRegistrationRequest?: IndexProductRegistrationRequest;
|
|
19
|
+
}
|
|
20
|
+
export interface ListAssetsProductRegistrationOperationRequest {
|
|
21
|
+
productRegistration: number;
|
|
22
|
+
listAssetsProductRegistrationRequest?: ListAssetsProductRegistrationRequest;
|
|
23
|
+
}
|
|
24
|
+
export interface ShowProductRegistrationRequest {
|
|
25
|
+
productRegistration: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class ProductRegistrationApi extends runtime.BaseAPI {
|
|
31
|
+
/**
|
|
32
|
+
* Creates request options for getAllProductRegistration without sending the request
|
|
33
|
+
*/
|
|
34
|
+
getAllProductRegistrationRequestOpts(requestParameters: GetAllProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
|
|
35
|
+
/**
|
|
36
|
+
* Auto-generated: getAllProductRegistration
|
|
37
|
+
*/
|
|
38
|
+
getAllProductRegistrationRaw(requestParameters: GetAllProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRegistrationLiteResourceArrayResponse>>;
|
|
39
|
+
/**
|
|
40
|
+
* Auto-generated: getAllProductRegistration
|
|
41
|
+
*/
|
|
42
|
+
getAllProductRegistration(requestParameters?: GetAllProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRegistrationLiteResourceArrayResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* Creates request options for indexProductRegistration without sending the request
|
|
45
|
+
*/
|
|
46
|
+
indexProductRegistrationRequestOpts(requestParameters: IndexProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
|
|
47
|
+
/**
|
|
48
|
+
* Auto-generated: indexProductRegistration
|
|
49
|
+
*/
|
|
50
|
+
indexProductRegistrationRaw(requestParameters: IndexProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRegistrationListResourceResponse>>;
|
|
51
|
+
/**
|
|
52
|
+
* Auto-generated: indexProductRegistration
|
|
53
|
+
*/
|
|
54
|
+
indexProductRegistration(requestParameters?: IndexProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRegistrationListResourceResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* Creates request options for listAssetsProductRegistration without sending the request
|
|
57
|
+
*/
|
|
58
|
+
listAssetsProductRegistrationRequestOpts(requestParameters: ListAssetsProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
|
|
59
|
+
/**
|
|
60
|
+
* Auto-generated: listAssetsProductRegistration
|
|
61
|
+
*/
|
|
62
|
+
listAssetsProductRegistrationRaw(requestParameters: ListAssetsProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRegistrationAssetResourceResponse>>;
|
|
63
|
+
/**
|
|
64
|
+
* Auto-generated: listAssetsProductRegistration
|
|
65
|
+
*/
|
|
66
|
+
listAssetsProductRegistration(requestParameters: ListAssetsProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRegistrationAssetResourceResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* Creates request options for showProductRegistration without sending the request
|
|
69
|
+
*/
|
|
70
|
+
showProductRegistrationRequestOpts(requestParameters: ShowProductRegistrationRequest): Promise<runtime.RequestOpts>;
|
|
71
|
+
/**
|
|
72
|
+
* Auto-generated: showProductRegistration
|
|
73
|
+
*/
|
|
74
|
+
showProductRegistrationRaw(requestParameters: ShowProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRegistrationResource>>;
|
|
75
|
+
/**
|
|
76
|
+
* Auto-generated: showProductRegistration
|
|
77
|
+
*/
|
|
78
|
+
showProductRegistration(requestParameters: ShowProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRegistrationResource>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,316 @@
|
|
|
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.ProductRegistrationApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var ProductRegistrationApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(ProductRegistrationApi, _super);
|
|
75
|
+
function ProductRegistrationApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Creates request options for getAllProductRegistration without sending the request
|
|
80
|
+
*/
|
|
81
|
+
ProductRegistrationApi.prototype.getAllProductRegistrationRequestOpts = 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/product-registration/all";
|
|
89
|
+
return [2 /*return*/, {
|
|
90
|
+
path: urlPath,
|
|
91
|
+
method: 'POST',
|
|
92
|
+
headers: headerParameters,
|
|
93
|
+
query: queryParameters,
|
|
94
|
+
body: (0, index_1.GetAllProductRegistrationRequestToJSON)(requestParameters['getAllProductRegistrationRequest']),
|
|
95
|
+
}];
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Auto-generated: getAllProductRegistration
|
|
101
|
+
*/
|
|
102
|
+
ProductRegistrationApi.prototype.getAllProductRegistrationRaw = 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.getAllProductRegistrationRequestOpts(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.ProductRegistrationLiteResourceArrayResponseFromJSON)(jsonValue); })];
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Auto-generated: getAllProductRegistration
|
|
120
|
+
*/
|
|
121
|
+
ProductRegistrationApi.prototype.getAllProductRegistration = 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.getAllProductRegistrationRaw(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
|
+
/**
|
|
137
|
+
* Creates request options for indexProductRegistration without sending the request
|
|
138
|
+
*/
|
|
139
|
+
ProductRegistrationApi.prototype.indexProductRegistrationRequestOpts = function (requestParameters) {
|
|
140
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
141
|
+
var queryParameters, headerParameters, urlPath;
|
|
142
|
+
return __generator(this, function (_a) {
|
|
143
|
+
queryParameters = {};
|
|
144
|
+
headerParameters = {};
|
|
145
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
146
|
+
urlPath = "/admin-api/product-registration/list";
|
|
147
|
+
return [2 /*return*/, {
|
|
148
|
+
path: urlPath,
|
|
149
|
+
method: 'POST',
|
|
150
|
+
headers: headerParameters,
|
|
151
|
+
query: queryParameters,
|
|
152
|
+
body: (0, index_1.IndexProductRegistrationRequestToJSON)(requestParameters['indexProductRegistrationRequest']),
|
|
153
|
+
}];
|
|
154
|
+
});
|
|
155
|
+
});
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Auto-generated: indexProductRegistration
|
|
159
|
+
*/
|
|
160
|
+
ProductRegistrationApi.prototype.indexProductRegistrationRaw = function (requestParameters, initOverrides) {
|
|
161
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
162
|
+
var requestOptions, response;
|
|
163
|
+
return __generator(this, function (_a) {
|
|
164
|
+
switch (_a.label) {
|
|
165
|
+
case 0: return [4 /*yield*/, this.indexProductRegistrationRequestOpts(requestParameters)];
|
|
166
|
+
case 1:
|
|
167
|
+
requestOptions = _a.sent();
|
|
168
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
169
|
+
case 2:
|
|
170
|
+
response = _a.sent();
|
|
171
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductRegistrationListResourceResponseFromJSON)(jsonValue); })];
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Auto-generated: indexProductRegistration
|
|
178
|
+
*/
|
|
179
|
+
ProductRegistrationApi.prototype.indexProductRegistration = function () {
|
|
180
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
181
|
+
var response;
|
|
182
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
183
|
+
return __generator(this, function (_a) {
|
|
184
|
+
switch (_a.label) {
|
|
185
|
+
case 0: return [4 /*yield*/, this.indexProductRegistrationRaw(requestParameters, initOverrides)];
|
|
186
|
+
case 1:
|
|
187
|
+
response = _a.sent();
|
|
188
|
+
return [4 /*yield*/, response.value()];
|
|
189
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
});
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* Creates request options for listAssetsProductRegistration without sending the request
|
|
196
|
+
*/
|
|
197
|
+
ProductRegistrationApi.prototype.listAssetsProductRegistrationRequestOpts = function (requestParameters) {
|
|
198
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
199
|
+
var queryParameters, headerParameters, urlPath;
|
|
200
|
+
return __generator(this, function (_a) {
|
|
201
|
+
if (requestParameters['productRegistration'] == null) {
|
|
202
|
+
throw new runtime.RequiredError('productRegistration', 'Required parameter "productRegistration" was null or undefined when calling listAssetsProductRegistration().');
|
|
203
|
+
}
|
|
204
|
+
queryParameters = {};
|
|
205
|
+
headerParameters = {};
|
|
206
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
207
|
+
urlPath = "/admin-api/product-registration/{productRegistration}/assets";
|
|
208
|
+
urlPath = urlPath.replace("{".concat("productRegistration", "}"), encodeURIComponent(String(requestParameters['productRegistration'])));
|
|
209
|
+
return [2 /*return*/, {
|
|
210
|
+
path: urlPath,
|
|
211
|
+
method: 'POST',
|
|
212
|
+
headers: headerParameters,
|
|
213
|
+
query: queryParameters,
|
|
214
|
+
body: (0, index_1.ListAssetsProductRegistrationRequestToJSON)(requestParameters['listAssetsProductRegistrationRequest']),
|
|
215
|
+
}];
|
|
216
|
+
});
|
|
217
|
+
});
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* Auto-generated: listAssetsProductRegistration
|
|
221
|
+
*/
|
|
222
|
+
ProductRegistrationApi.prototype.listAssetsProductRegistrationRaw = function (requestParameters, initOverrides) {
|
|
223
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
224
|
+
var requestOptions, response;
|
|
225
|
+
return __generator(this, function (_a) {
|
|
226
|
+
switch (_a.label) {
|
|
227
|
+
case 0: return [4 /*yield*/, this.listAssetsProductRegistrationRequestOpts(requestParameters)];
|
|
228
|
+
case 1:
|
|
229
|
+
requestOptions = _a.sent();
|
|
230
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
231
|
+
case 2:
|
|
232
|
+
response = _a.sent();
|
|
233
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductRegistrationAssetResourceResponseFromJSON)(jsonValue); })];
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
});
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Auto-generated: listAssetsProductRegistration
|
|
240
|
+
*/
|
|
241
|
+
ProductRegistrationApi.prototype.listAssetsProductRegistration = function (requestParameters, initOverrides) {
|
|
242
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
243
|
+
var response;
|
|
244
|
+
return __generator(this, function (_a) {
|
|
245
|
+
switch (_a.label) {
|
|
246
|
+
case 0: return [4 /*yield*/, this.listAssetsProductRegistrationRaw(requestParameters, initOverrides)];
|
|
247
|
+
case 1:
|
|
248
|
+
response = _a.sent();
|
|
249
|
+
return [4 /*yield*/, response.value()];
|
|
250
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
});
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* Creates request options for showProductRegistration without sending the request
|
|
257
|
+
*/
|
|
258
|
+
ProductRegistrationApi.prototype.showProductRegistrationRequestOpts = function (requestParameters) {
|
|
259
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
260
|
+
var queryParameters, headerParameters, urlPath;
|
|
261
|
+
return __generator(this, function (_a) {
|
|
262
|
+
if (requestParameters['productRegistration'] == null) {
|
|
263
|
+
throw new runtime.RequiredError('productRegistration', 'Required parameter "productRegistration" was null or undefined when calling showProductRegistration().');
|
|
264
|
+
}
|
|
265
|
+
queryParameters = {};
|
|
266
|
+
headerParameters = {};
|
|
267
|
+
urlPath = "/admin-api/product-registration/{productRegistration}";
|
|
268
|
+
urlPath = urlPath.replace("{".concat("productRegistration", "}"), encodeURIComponent(String(requestParameters['productRegistration'])));
|
|
269
|
+
return [2 /*return*/, {
|
|
270
|
+
path: urlPath,
|
|
271
|
+
method: 'GET',
|
|
272
|
+
headers: headerParameters,
|
|
273
|
+
query: queryParameters,
|
|
274
|
+
}];
|
|
275
|
+
});
|
|
276
|
+
});
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* Auto-generated: showProductRegistration
|
|
280
|
+
*/
|
|
281
|
+
ProductRegistrationApi.prototype.showProductRegistrationRaw = function (requestParameters, initOverrides) {
|
|
282
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
283
|
+
var requestOptions, response;
|
|
284
|
+
return __generator(this, function (_a) {
|
|
285
|
+
switch (_a.label) {
|
|
286
|
+
case 0: return [4 /*yield*/, this.showProductRegistrationRequestOpts(requestParameters)];
|
|
287
|
+
case 1:
|
|
288
|
+
requestOptions = _a.sent();
|
|
289
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
290
|
+
case 2:
|
|
291
|
+
response = _a.sent();
|
|
292
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRegistrationResourceFromJSON)(jsonValue); })];
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
});
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* Auto-generated: showProductRegistration
|
|
299
|
+
*/
|
|
300
|
+
ProductRegistrationApi.prototype.showProductRegistration = function (requestParameters, initOverrides) {
|
|
301
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
302
|
+
var response;
|
|
303
|
+
return __generator(this, function (_a) {
|
|
304
|
+
switch (_a.label) {
|
|
305
|
+
case 0: return [4 /*yield*/, this.showProductRegistrationRaw(requestParameters, initOverrides)];
|
|
306
|
+
case 1:
|
|
307
|
+
response = _a.sent();
|
|
308
|
+
return [4 /*yield*/, response.value()];
|
|
309
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
310
|
+
}
|
|
311
|
+
});
|
|
312
|
+
});
|
|
313
|
+
};
|
|
314
|
+
return ProductRegistrationApi;
|
|
315
|
+
}(runtime.BaseAPI));
|
|
316
|
+
exports.ProductRegistrationApi = ProductRegistrationApi;
|