@digital8/lighting-illusions-ts-sdk 0.0.1491 → 0.0.1492
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +14 -40
- package/README.md +9 -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/AddressFrontendResource.d.ts +2 -2
- package/dist/models/AddressFrontendResource.js +2 -6
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +4 -4
- 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/PaginatedRedirectListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedRedirectListResourceResponse.js +57 -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/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +3 -1
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +1 -3
- package/dist/models/index.d.ts +6 -19
- package/dist/models/index.js +6 -19
- package/docs/{GetAllProductRegistrationRequest.md → IndexRedirectRequest.md} +12 -6
- package/docs/{PaginatedProductRegistrationResourceResponse.md → PaginatedRedirectListResourceResponse.md} +5 -5
- package/docs/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/AddressFrontendResource.ts +4 -6
- package/src/models/AddressResource.ts +5 -5
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/IndexRedirectRequest.ts +168 -0
- package/src/models/PaginatedRedirectListResourceResponse.ts +90 -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/StoreResource.ts +3 -2
- package/src/models/StoreSpecialDateResource.ts +3 -4
- package/src/models/index.ts +6 -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 -88
- package/dist/models/ProductRegistrationResource.js +0 -79
- 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/ProductRegistrationAssetType.md +0 -32
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationListResource.md +0 -42
- package/docs/ProductRegistrationListResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationProductChildResource.md +0 -40
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationResource.md +0 -52
- package/src/apis/ProductRegistrationApi.ts +0 -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 -157
- package/src/models/ProductRegistrationResourceArrayResponse.ts +0 -73
package/.openapi-generator/FILES
CHANGED
|
@@ -100,7 +100,6 @@ docs/GetAllOverlayTemplateRequest.md
|
|
|
100
100
|
docs/GetAllProductCategoryRequest.md
|
|
101
101
|
docs/GetAllProductChildRequest.md
|
|
102
102
|
docs/GetAllProductRangeRequest.md
|
|
103
|
-
docs/GetAllProductRegistrationRequest.md
|
|
104
103
|
docs/GetAllProductRequest.md
|
|
105
104
|
docs/GetAllProductTypeRequest.md
|
|
106
105
|
docs/GetAllStoreRequest.md
|
|
@@ -129,9 +128,9 @@ docs/IndexOverlayTemplateRequest.md
|
|
|
129
128
|
docs/IndexProductCategoryRequest.md
|
|
130
129
|
docs/IndexProductChildRequest.md
|
|
131
130
|
docs/IndexProductRangeRequest.md
|
|
132
|
-
docs/IndexProductRegistrationRequest.md
|
|
133
131
|
docs/IndexProductRequest.md
|
|
134
132
|
docs/IndexProductTypeRequest.md
|
|
133
|
+
docs/IndexRedirectRequest.md
|
|
135
134
|
docs/IndexSiteNotificationRequest.md
|
|
136
135
|
docs/IndexSiteRequest.md
|
|
137
136
|
docs/IndexStoreRequest.md
|
|
@@ -144,7 +143,6 @@ docs/LabelLiteResource.md
|
|
|
144
143
|
docs/LabelLiteResourceArrayResponse.md
|
|
145
144
|
docs/LabelResource.md
|
|
146
145
|
docs/LabelResourceArrayResponse.md
|
|
147
|
-
docs/ListAssetsProductRegistrationRequest.md
|
|
148
146
|
docs/ModelAttributeListResource.md
|
|
149
147
|
docs/ModelAttributeListResourceArrayResponse.md
|
|
150
148
|
docs/ModelAttributeResource.md
|
|
@@ -192,14 +190,12 @@ docs/PaginatedProductRangeListResourceResponse.md
|
|
|
192
190
|
docs/PaginatedProductRangeLiteResourceResponse.md
|
|
193
191
|
docs/PaginatedProductRangeResourceResponse.md
|
|
194
192
|
docs/PaginatedProductRangeSearchResultResourceResponse.md
|
|
195
|
-
docs/PaginatedProductRegistrationAssetResourceResponse.md
|
|
196
|
-
docs/PaginatedProductRegistrationListResourceResponse.md
|
|
197
|
-
docs/PaginatedProductRegistrationResourceResponse.md
|
|
198
193
|
docs/PaginatedProductResourceResponse.md
|
|
199
194
|
docs/PaginatedProductSearchResultResourceResponse.md
|
|
200
195
|
docs/PaginatedProductTypeListResourceResponse.md
|
|
201
196
|
docs/PaginatedProductTypeLiteResourceResponse.md
|
|
202
197
|
docs/PaginatedProductTypeResourceResponse.md
|
|
198
|
+
docs/PaginatedRedirectListResourceResponse.md
|
|
203
199
|
docs/PaginatedSiteListResourceResponse.md
|
|
204
200
|
docs/PaginatedSiteLiteResourceResponse.md
|
|
205
201
|
docs/PaginatedSiteNotificationListResourceResponse.md
|
|
@@ -280,20 +276,6 @@ docs/ProductRangeSiteDetailResource.md
|
|
|
280
276
|
docs/ProductRangeSiteDetailResourceArrayResponse.md
|
|
281
277
|
docs/ProductRangeSortBy.md
|
|
282
278
|
docs/ProductRating.md
|
|
283
|
-
docs/ProductRegistrationApi.md
|
|
284
|
-
docs/ProductRegistrationAssetResource.md
|
|
285
|
-
docs/ProductRegistrationAssetResourceArrayResponse.md
|
|
286
|
-
docs/ProductRegistrationAssetType.md
|
|
287
|
-
docs/ProductRegistrationCustomerResource.md
|
|
288
|
-
docs/ProductRegistrationCustomerResourceArrayResponse.md
|
|
289
|
-
docs/ProductRegistrationListResource.md
|
|
290
|
-
docs/ProductRegistrationListResourceArrayResponse.md
|
|
291
|
-
docs/ProductRegistrationLiteResource.md
|
|
292
|
-
docs/ProductRegistrationLiteResourceArrayResponse.md
|
|
293
|
-
docs/ProductRegistrationProductChildResource.md
|
|
294
|
-
docs/ProductRegistrationProductChildResourceArrayResponse.md
|
|
295
|
-
docs/ProductRegistrationResource.md
|
|
296
|
-
docs/ProductRegistrationResourceArrayResponse.md
|
|
297
279
|
docs/ProductResource.md
|
|
298
280
|
docs/ProductResourceArrayResponse.md
|
|
299
281
|
docs/ProductSearchResponseResource.md
|
|
@@ -310,6 +292,11 @@ docs/ProductTypeLiteResource.md
|
|
|
310
292
|
docs/ProductTypeLiteResourceArrayResponse.md
|
|
311
293
|
docs/ProductTypeResource.md
|
|
312
294
|
docs/ProductTypeResourceArrayResponse.md
|
|
295
|
+
docs/RedirectApi.md
|
|
296
|
+
docs/RedirectFrontendResource.md
|
|
297
|
+
docs/RedirectFrontendResourceArrayResponse.md
|
|
298
|
+
docs/RedirectListResource.md
|
|
299
|
+
docs/RedirectListResourceArrayResponse.md
|
|
313
300
|
docs/SEOResource.md
|
|
314
301
|
docs/SEOResourceArrayResponse.md
|
|
315
302
|
docs/ShowAssetsProductChildRequest.md
|
|
@@ -432,8 +419,8 @@ src/apis/OverlayTemplateApi.ts
|
|
|
432
419
|
src/apis/ProductApi.ts
|
|
433
420
|
src/apis/ProductCategoryApi.ts
|
|
434
421
|
src/apis/ProductRangeApi.ts
|
|
435
|
-
src/apis/ProductRegistrationApi.ts
|
|
436
422
|
src/apis/ProductTypeApi.ts
|
|
423
|
+
src/apis/RedirectApi.ts
|
|
437
424
|
src/apis/SiteApi.ts
|
|
438
425
|
src/apis/StoreApi.ts
|
|
439
426
|
src/apis/SupplierApi.ts
|
|
@@ -532,7 +519,6 @@ src/models/GetAllOverlayTemplateRequest.ts
|
|
|
532
519
|
src/models/GetAllProductCategoryRequest.ts
|
|
533
520
|
src/models/GetAllProductChildRequest.ts
|
|
534
521
|
src/models/GetAllProductRangeRequest.ts
|
|
535
|
-
src/models/GetAllProductRegistrationRequest.ts
|
|
536
522
|
src/models/GetAllProductRequest.ts
|
|
537
523
|
src/models/GetAllProductTypeRequest.ts
|
|
538
524
|
src/models/GetAllStoreRequest.ts
|
|
@@ -560,9 +546,9 @@ src/models/IndexOverlayTemplateRequest.ts
|
|
|
560
546
|
src/models/IndexProductCategoryRequest.ts
|
|
561
547
|
src/models/IndexProductChildRequest.ts
|
|
562
548
|
src/models/IndexProductRangeRequest.ts
|
|
563
|
-
src/models/IndexProductRegistrationRequest.ts
|
|
564
549
|
src/models/IndexProductRequest.ts
|
|
565
550
|
src/models/IndexProductTypeRequest.ts
|
|
551
|
+
src/models/IndexRedirectRequest.ts
|
|
566
552
|
src/models/IndexSiteNotificationRequest.ts
|
|
567
553
|
src/models/IndexSiteRequest.ts
|
|
568
554
|
src/models/IndexStoreRequest.ts
|
|
@@ -574,7 +560,6 @@ src/models/LabelLiteResource.ts
|
|
|
574
560
|
src/models/LabelLiteResourceArrayResponse.ts
|
|
575
561
|
src/models/LabelResource.ts
|
|
576
562
|
src/models/LabelResourceArrayResponse.ts
|
|
577
|
-
src/models/ListAssetsProductRegistrationRequest.ts
|
|
578
563
|
src/models/ModelAttributeListResource.ts
|
|
579
564
|
src/models/ModelAttributeListResourceArrayResponse.ts
|
|
580
565
|
src/models/ModelAttributeResource.ts
|
|
@@ -621,14 +606,12 @@ src/models/PaginatedProductRangeListResourceResponse.ts
|
|
|
621
606
|
src/models/PaginatedProductRangeLiteResourceResponse.ts
|
|
622
607
|
src/models/PaginatedProductRangeResourceResponse.ts
|
|
623
608
|
src/models/PaginatedProductRangeSearchResultResourceResponse.ts
|
|
624
|
-
src/models/PaginatedProductRegistrationAssetResourceResponse.ts
|
|
625
|
-
src/models/PaginatedProductRegistrationListResourceResponse.ts
|
|
626
|
-
src/models/PaginatedProductRegistrationResourceResponse.ts
|
|
627
609
|
src/models/PaginatedProductResourceResponse.ts
|
|
628
610
|
src/models/PaginatedProductSearchResultResourceResponse.ts
|
|
629
611
|
src/models/PaginatedProductTypeListResourceResponse.ts
|
|
630
612
|
src/models/PaginatedProductTypeLiteResourceResponse.ts
|
|
631
613
|
src/models/PaginatedProductTypeResourceResponse.ts
|
|
614
|
+
src/models/PaginatedRedirectListResourceResponse.ts
|
|
632
615
|
src/models/PaginatedSiteListResourceResponse.ts
|
|
633
616
|
src/models/PaginatedSiteLiteResourceResponse.ts
|
|
634
617
|
src/models/PaginatedSiteNotificationListResourceResponse.ts
|
|
@@ -706,19 +689,6 @@ src/models/ProductRangeSiteDetailResource.ts
|
|
|
706
689
|
src/models/ProductRangeSiteDetailResourceArrayResponse.ts
|
|
707
690
|
src/models/ProductRangeSortBy.ts
|
|
708
691
|
src/models/ProductRating.ts
|
|
709
|
-
src/models/ProductRegistrationAssetResource.ts
|
|
710
|
-
src/models/ProductRegistrationAssetResourceArrayResponse.ts
|
|
711
|
-
src/models/ProductRegistrationAssetType.ts
|
|
712
|
-
src/models/ProductRegistrationCustomerResource.ts
|
|
713
|
-
src/models/ProductRegistrationCustomerResourceArrayResponse.ts
|
|
714
|
-
src/models/ProductRegistrationListResource.ts
|
|
715
|
-
src/models/ProductRegistrationListResourceArrayResponse.ts
|
|
716
|
-
src/models/ProductRegistrationLiteResource.ts
|
|
717
|
-
src/models/ProductRegistrationLiteResourceArrayResponse.ts
|
|
718
|
-
src/models/ProductRegistrationProductChildResource.ts
|
|
719
|
-
src/models/ProductRegistrationProductChildResourceArrayResponse.ts
|
|
720
|
-
src/models/ProductRegistrationResource.ts
|
|
721
|
-
src/models/ProductRegistrationResourceArrayResponse.ts
|
|
722
692
|
src/models/ProductResource.ts
|
|
723
693
|
src/models/ProductResourceArrayResponse.ts
|
|
724
694
|
src/models/ProductSearchResponseResource.ts
|
|
@@ -734,6 +704,10 @@ src/models/ProductTypeLiteResource.ts
|
|
|
734
704
|
src/models/ProductTypeLiteResourceArrayResponse.ts
|
|
735
705
|
src/models/ProductTypeResource.ts
|
|
736
706
|
src/models/ProductTypeResourceArrayResponse.ts
|
|
707
|
+
src/models/RedirectFrontendResource.ts
|
|
708
|
+
src/models/RedirectFrontendResourceArrayResponse.ts
|
|
709
|
+
src/models/RedirectListResource.ts
|
|
710
|
+
src/models/RedirectListResourceArrayResponse.ts
|
|
737
711
|
src/models/SEOResource.ts
|
|
738
712
|
src/models/SEOResourceArrayResponse.ts
|
|
739
713
|
src/models/ShowAssetsProductChildRequest.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.1492
|
|
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,6 @@ 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
|
-
- [ListAssetsProductRegistrationRequest](docs/ListAssetsProductRegistrationRequest.md)
|
|
354
349
|
- [ModelAttributeListResource](docs/ModelAttributeListResource.md)
|
|
355
350
|
- [ModelAttributeListResourceArrayResponse](docs/ModelAttributeListResourceArrayResponse.md)
|
|
356
351
|
- [ModelAttributeResource](docs/ModelAttributeResource.md)
|
|
@@ -397,14 +392,12 @@ All URIs are relative to *http://localhost/api*
|
|
|
397
392
|
- [PaginatedProductRangeLiteResourceResponse](docs/PaginatedProductRangeLiteResourceResponse.md)
|
|
398
393
|
- [PaginatedProductRangeResourceResponse](docs/PaginatedProductRangeResourceResponse.md)
|
|
399
394
|
- [PaginatedProductRangeSearchResultResourceResponse](docs/PaginatedProductRangeSearchResultResourceResponse.md)
|
|
400
|
-
- [PaginatedProductRegistrationAssetResourceResponse](docs/PaginatedProductRegistrationAssetResourceResponse.md)
|
|
401
|
-
- [PaginatedProductRegistrationListResourceResponse](docs/PaginatedProductRegistrationListResourceResponse.md)
|
|
402
|
-
- [PaginatedProductRegistrationResourceResponse](docs/PaginatedProductRegistrationResourceResponse.md)
|
|
403
395
|
- [PaginatedProductResourceResponse](docs/PaginatedProductResourceResponse.md)
|
|
404
396
|
- [PaginatedProductSearchResultResourceResponse](docs/PaginatedProductSearchResultResourceResponse.md)
|
|
405
397
|
- [PaginatedProductTypeListResourceResponse](docs/PaginatedProductTypeListResourceResponse.md)
|
|
406
398
|
- [PaginatedProductTypeLiteResourceResponse](docs/PaginatedProductTypeLiteResourceResponse.md)
|
|
407
399
|
- [PaginatedProductTypeResourceResponse](docs/PaginatedProductTypeResourceResponse.md)
|
|
400
|
+
- [PaginatedRedirectListResourceResponse](docs/PaginatedRedirectListResourceResponse.md)
|
|
408
401
|
- [PaginatedSiteListResourceResponse](docs/PaginatedSiteListResourceResponse.md)
|
|
409
402
|
- [PaginatedSiteLiteResourceResponse](docs/PaginatedSiteLiteResourceResponse.md)
|
|
410
403
|
- [PaginatedSiteNotificationListResourceResponse](docs/PaginatedSiteNotificationListResourceResponse.md)
|
|
@@ -482,19 +475,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
482
475
|
- [ProductRangeSiteDetailResourceArrayResponse](docs/ProductRangeSiteDetailResourceArrayResponse.md)
|
|
483
476
|
- [ProductRangeSortBy](docs/ProductRangeSortBy.md)
|
|
484
477
|
- [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
478
|
- [ProductResource](docs/ProductResource.md)
|
|
499
479
|
- [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
|
|
500
480
|
- [ProductSearchResponseResource](docs/ProductSearchResponseResource.md)
|
|
@@ -510,6 +490,10 @@ All URIs are relative to *http://localhost/api*
|
|
|
510
490
|
- [ProductTypeLiteResourceArrayResponse](docs/ProductTypeLiteResourceArrayResponse.md)
|
|
511
491
|
- [ProductTypeResource](docs/ProductTypeResource.md)
|
|
512
492
|
- [ProductTypeResourceArrayResponse](docs/ProductTypeResourceArrayResponse.md)
|
|
493
|
+
- [RedirectFrontendResource](docs/RedirectFrontendResource.md)
|
|
494
|
+
- [RedirectFrontendResourceArrayResponse](docs/RedirectFrontendResourceArrayResponse.md)
|
|
495
|
+
- [RedirectListResource](docs/RedirectListResource.md)
|
|
496
|
+
- [RedirectListResourceArrayResponse](docs/RedirectListResourceArrayResponse.md)
|
|
513
497
|
- [SEOResource](docs/SEOResource.md)
|
|
514
498
|
- [SEOResourceArrayResponse](docs/SEOResourceArrayResponse.md)
|
|
515
499
|
- [ShowAssetsProductChildRequest](docs/ShowAssetsProductChildRequest.md)
|
|
@@ -628,7 +612,7 @@ and is automatically generated by the
|
|
|
628
612
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
629
613
|
|
|
630
614
|
- API version: `1.0.0`
|
|
631
|
-
- Package version: `0.0.
|
|
615
|
+
- Package version: `0.0.1492`
|
|
632
616
|
- Generator version: `7.20.0`
|
|
633
617
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
634
618
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { IndexRedirectRequest, PaginatedRedirectListResourceResponse } from '../models/index';
|
|
14
|
+
export interface IndexRedirectOperationRequest {
|
|
15
|
+
indexRedirectRequest?: IndexRedirectRequest;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class RedirectApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Creates request options for indexRedirect without sending the request
|
|
23
|
+
*/
|
|
24
|
+
indexRedirectRequestOpts(requestParameters: IndexRedirectOperationRequest): Promise<runtime.RequestOpts>;
|
|
25
|
+
/**
|
|
26
|
+
* Auto-generated: indexRedirect
|
|
27
|
+
*/
|
|
28
|
+
indexRedirectRaw(requestParameters: IndexRedirectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRedirectListResourceResponse>>;
|
|
29
|
+
/**
|
|
30
|
+
* Auto-generated: indexRedirect
|
|
31
|
+
*/
|
|
32
|
+
indexRedirect(requestParameters?: IndexRedirectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRedirectListResourceResponse>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
41
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.RedirectApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var RedirectApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(RedirectApi, _super);
|
|
75
|
+
function RedirectApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Creates request options for indexRedirect without sending the request
|
|
80
|
+
*/
|
|
81
|
+
RedirectApi.prototype.indexRedirectRequestOpts = function (requestParameters) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, urlPath;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
queryParameters = {};
|
|
86
|
+
headerParameters = {};
|
|
87
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
88
|
+
urlPath = "/admin-api/redirect/list";
|
|
89
|
+
return [2 /*return*/, {
|
|
90
|
+
path: urlPath,
|
|
91
|
+
method: 'POST',
|
|
92
|
+
headers: headerParameters,
|
|
93
|
+
query: queryParameters,
|
|
94
|
+
body: (0, index_1.IndexRedirectRequestToJSON)(requestParameters['indexRedirectRequest']),
|
|
95
|
+
}];
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Auto-generated: indexRedirect
|
|
101
|
+
*/
|
|
102
|
+
RedirectApi.prototype.indexRedirectRaw = function (requestParameters, initOverrides) {
|
|
103
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
104
|
+
var requestOptions, response;
|
|
105
|
+
return __generator(this, function (_a) {
|
|
106
|
+
switch (_a.label) {
|
|
107
|
+
case 0: return [4 /*yield*/, this.indexRedirectRequestOpts(requestParameters)];
|
|
108
|
+
case 1:
|
|
109
|
+
requestOptions = _a.sent();
|
|
110
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
111
|
+
case 2:
|
|
112
|
+
response = _a.sent();
|
|
113
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedRedirectListResourceResponseFromJSON)(jsonValue); })];
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Auto-generated: indexRedirect
|
|
120
|
+
*/
|
|
121
|
+
RedirectApi.prototype.indexRedirect = function () {
|
|
122
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
123
|
+
var response;
|
|
124
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
switch (_a.label) {
|
|
127
|
+
case 0: return [4 /*yield*/, this.indexRedirectRaw(requestParameters, initOverrides)];
|
|
128
|
+
case 1:
|
|
129
|
+
response = _a.sent();
|
|
130
|
+
return [4 /*yield*/, response.value()];
|
|
131
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
};
|
|
136
|
+
return RedirectApi;
|
|
137
|
+
}(runtime.BaseAPI));
|
|
138
|
+
exports.RedirectApi = RedirectApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ export * from './OverlayTemplateApi';
|
|
|
10
10
|
export * from './ProductApi';
|
|
11
11
|
export * from './ProductCategoryApi';
|
|
12
12
|
export * from './ProductRangeApi';
|
|
13
|
-
export * from './ProductRegistrationApi';
|
|
14
13
|
export * from './ProductTypeApi';
|
|
14
|
+
export * from './RedirectApi';
|
|
15
15
|
export * from './SiteApi';
|
|
16
16
|
export * from './StoreApi';
|
|
17
17
|
export * from './SupplierApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -28,8 +28,8 @@ __exportStar(require("./OverlayTemplateApi"), exports);
|
|
|
28
28
|
__exportStar(require("./ProductApi"), exports);
|
|
29
29
|
__exportStar(require("./ProductCategoryApi"), exports);
|
|
30
30
|
__exportStar(require("./ProductRangeApi"), exports);
|
|
31
|
-
__exportStar(require("./ProductRegistrationApi"), exports);
|
|
32
31
|
__exportStar(require("./ProductTypeApi"), exports);
|
|
32
|
+
__exportStar(require("./RedirectApi"), exports);
|
|
33
33
|
__exportStar(require("./SiteApi"), exports);
|
|
34
34
|
__exportStar(require("./StoreApi"), exports);
|
|
35
35
|
__exportStar(require("./SupplierApi"), exports);
|
|
@@ -20,7 +20,7 @@ export interface AddressFrontendResource {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AddressFrontendResource
|
|
22
22
|
*/
|
|
23
|
-
company
|
|
23
|
+
company?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
@@ -32,7 +32,7 @@ export interface AddressFrontendResource {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof AddressFrontendResource
|
|
34
34
|
*/
|
|
35
|
-
line2
|
|
35
|
+
line2?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
@@ -22,12 +22,8 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AddressFrontendResource interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAddressFrontendResource(value) {
|
|
25
|
-
if (!('company' in value) || value['company'] === undefined)
|
|
26
|
-
return false;
|
|
27
25
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
26
|
return false;
|
|
29
|
-
if (!('line2' in value) || value['line2'] === undefined)
|
|
30
|
-
return false;
|
|
31
27
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
32
28
|
return false;
|
|
33
29
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -48,9 +44,9 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
44
|
return json;
|
|
49
45
|
}
|
|
50
46
|
return {
|
|
51
|
-
'company': json['company'],
|
|
47
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
52
48
|
'line1': json['line1'],
|
|
53
|
-
'line2': json['line2'],
|
|
49
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
54
50
|
'postcode': json['postcode'],
|
|
55
51
|
'suburb': json['suburb'],
|
|
56
52
|
'country': json['country'],
|
|
@@ -26,7 +26,7 @@ export interface AddressResource {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof AddressResource
|
|
28
28
|
*/
|
|
29
|
-
company
|
|
29
|
+
company: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -38,7 +38,7 @@ export interface AddressResource {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof AddressResource
|
|
40
40
|
*/
|
|
41
|
-
line2
|
|
41
|
+
line2?: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
@@ -22,9 +22,9 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AddressResource interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAddressResource(value) {
|
|
25
|
-
if (!('
|
|
25
|
+
if (!('company' in value) || value['company'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('
|
|
27
|
+
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
30
30
|
return false;
|
|
@@ -47,9 +47,9 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
49
|
'id': json['id'] == null ? undefined : json['id'],
|
|
50
|
-
'company': json['company']
|
|
50
|
+
'company': json['company'],
|
|
51
51
|
'line1': json['line_1'],
|
|
52
|
-
'line2': json['line_2'],
|
|
52
|
+
'line2': json['line_2'] == null ? undefined : json['line_2'],
|
|
53
53
|
'postcode': json['postcode'],
|
|
54
54
|
'suburb': json['suburb'],
|
|
55
55
|
'country': json['country'],
|
|
@@ -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";
|