@digital8/lighting-illusions-ts-sdk 0.0.1812 → 0.0.1814
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 +6 -42
- package/README.md +7 -30
- package/dist/apis/StoreApi.d.ts +28 -1
- package/dist/apis/StoreApi.js +113 -0
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/SaveMapStoreStockMigrationRequest.d.ts +33 -0
- package/dist/models/SaveMapStoreStockMigrationRequest.js +52 -0
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.d.ts +52 -0
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.js +67 -0
- package/dist/models/StoreListResource.d.ts +13 -1
- package/dist/models/StoreListResource.js +12 -6
- package/dist/models/StoreResource.d.ts +12 -0
- package/dist/models/StoreResource.js +14 -6
- package/dist/models/StoreSpecialDateResource.js +4 -4
- package/dist/models/StoreStockType.d.ts +25 -0
- package/dist/models/StoreStockType.js +51 -0
- package/dist/models/StoreStoreRequest.d.ts +12 -0
- package/dist/models/StoreStoreRequest.js +4 -0
- package/dist/models/UpdateStoreRequest.d.ts +12 -0
- package/dist/models/UpdateStoreRequest.js +4 -0
- package/dist/models/index.d.ts +3 -20
- package/dist/models/index.js +3 -20
- package/docs/{ReviewPublicResourceArrayResponse.md → SaveMapStoreStockMigrationRequest.md} +6 -6
- package/docs/{CustomerLiteResourceArrayResponse.md → SaveMapStoreStockMigrationRequestAssociationsInner.md} +10 -6
- package/docs/StoreApi.md +124 -0
- package/docs/StoreListResource.md +4 -0
- package/docs/StoreResource.md +4 -0
- package/docs/{ReviewResourceArrayResponse.md → StoreStockType.md} +4 -6
- package/docs/StoreStoreRequest.md +4 -0
- package/docs/UpdateStoreRequest.md +4 -0
- package/package.json +1 -1
- package/src/apis/StoreApi.ts +84 -0
- package/src/apis/index.ts +0 -1
- package/src/models/AddressResource.ts +2 -3
- package/src/models/SaveMapStoreStockMigrationRequest.ts +74 -0
- package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +95 -0
- package/src/models/StoreListResource.ts +24 -7
- package/src/models/StoreResource.ts +24 -6
- package/src/models/StoreSpecialDateResource.ts +4 -4
- package/src/models/StoreStockType.ts +53 -0
- package/src/models/StoreStoreRequest.ts +16 -0
- package/src/models/UpdateStoreRequest.ts +16 -0
- package/src/models/index.ts +3 -20
- package/dist/apis/ReviewApi.d.ts +0 -139
- package/dist/apis/ReviewApi.js +0 -566
- package/dist/models/AdminUserLiteResource.d.ts +0 -50
- package/dist/models/AdminUserLiteResource.js +0 -61
- package/dist/models/AdminUserLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/AdminUserLiteResourceArrayResponse.js +0 -50
- package/dist/models/CustomerLiteResource.d.ts +0 -50
- package/dist/models/CustomerLiteResource.js +0 -61
- package/dist/models/CustomerLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerLiteResourceArrayResponse.js +0 -50
- package/dist/models/IndexReviewRequest.d.ts +0 -110
- package/dist/models/IndexReviewRequest.js +0 -86
- package/dist/models/PaginatedReviewListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedReviewListResourceResponse.js +0 -57
- package/dist/models/PaginatedReviewLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedReviewLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedReviewResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedReviewResourceResponse.js +0 -57
- package/dist/models/ProductReviewsResource.d.ts +0 -63
- package/dist/models/ProductReviewsResource.js +0 -70
- package/dist/models/ProductReviewsResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductReviewsResourceArrayResponse.js +0 -50
- package/dist/models/ReviewListResource.d.ts +0 -94
- package/dist/models/ReviewListResource.js +0 -85
- package/dist/models/ReviewListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ReviewListResourceArrayResponse.js +0 -50
- package/dist/models/ReviewLiteResource.d.ts +0 -44
- package/dist/models/ReviewLiteResource.js +0 -59
- package/dist/models/ReviewLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ReviewLiteResourceArrayResponse.js +0 -50
- package/dist/models/ReviewPublicResource.d.ts +0 -68
- package/dist/models/ReviewPublicResource.js +0 -71
- package/dist/models/ReviewPublicResourceArrayResponse.d.ts +0 -33
- package/dist/models/ReviewPublicResourceArrayResponse.js +0 -50
- package/dist/models/ReviewResource.d.ts +0 -126
- package/dist/models/ReviewResource.js +0 -105
- package/dist/models/ReviewResourceArrayResponse.d.ts +0 -33
- package/dist/models/ReviewResourceArrayResponse.js +0 -50
- package/dist/models/StoreReviewRequest.d.ts +0 -80
- package/dist/models/StoreReviewRequest.js +0 -79
- package/dist/models/UpdateReviewRequest.d.ts +0 -68
- package/dist/models/UpdateReviewRequest.js +0 -71
- package/docs/AdminUserLiteResource.md +0 -40
- package/docs/AdminUserLiteResourceArrayResponse.md +0 -34
- package/docs/CustomerLiteResource.md +0 -40
- package/docs/IndexReviewRequest.md +0 -54
- package/docs/PaginatedReviewListResourceResponse.md +0 -36
- package/docs/PaginatedReviewLiteResourceResponse.md +0 -36
- package/docs/PaginatedReviewResourceResponse.md +0 -36
- package/docs/ProductReviewsResource.md +0 -44
- package/docs/ProductReviewsResourceArrayResponse.md +0 -34
- package/docs/ReviewApi.md +0 -539
- package/docs/ReviewListResource.md +0 -54
- package/docs/ReviewListResourceArrayResponse.md +0 -34
- package/docs/ReviewLiteResource.md +0 -38
- package/docs/ReviewLiteResourceArrayResponse.md +0 -34
- package/docs/ReviewPublicResource.md +0 -46
- package/docs/ReviewResource.md +0 -64
- package/docs/StoreReviewRequest.md +0 -50
- package/docs/UpdateReviewRequest.md +0 -46
- package/src/apis/ReviewApi.ts +0 -444
- package/src/models/AdminUserLiteResource.ts +0 -92
- package/src/models/AdminUserLiteResourceArrayResponse.ts +0 -73
- package/src/models/CustomerLiteResource.ts +0 -92
- package/src/models/CustomerLiteResourceArrayResponse.ts +0 -73
- package/src/models/IndexReviewRequest.ts +0 -167
- package/src/models/PaginatedReviewListResourceResponse.ts +0 -90
- package/src/models/PaginatedReviewLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedReviewResourceResponse.ts +0 -90
- package/src/models/ProductReviewsResource.ts +0 -118
- package/src/models/ProductReviewsResourceArrayResponse.ts +0 -73
- package/src/models/ReviewListResource.ts +0 -167
- package/src/models/ReviewListResourceArrayResponse.ts +0 -73
- package/src/models/ReviewLiteResource.ts +0 -84
- package/src/models/ReviewLiteResourceArrayResponse.ts +0 -73
- package/src/models/ReviewPublicResource.ts +0 -118
- package/src/models/ReviewPublicResourceArrayResponse.ts +0 -73
- package/src/models/ReviewResource.ts +0 -225
- package/src/models/ReviewResourceArrayResponse.ts +0 -73
- package/src/models/StoreReviewRequest.ts +0 -136
- package/src/models/UpdateReviewRequest.ts +0 -118
package/.openapi-generator/FILES
CHANGED
|
@@ -7,8 +7,6 @@ docs/AddressFrontendResourceArrayResponse.md
|
|
|
7
7
|
docs/AddressResource.md
|
|
8
8
|
docs/AddressResourceArrayResponse.md
|
|
9
9
|
docs/AdminApi.md
|
|
10
|
-
docs/AdminUserLiteResource.md
|
|
11
|
-
docs/AdminUserLiteResourceArrayResponse.md
|
|
12
10
|
docs/AssetApi.md
|
|
13
11
|
docs/AssetFileForUploadResource.md
|
|
14
12
|
docs/AssetFileForUploadResourceArrayResponse.md
|
|
@@ -58,8 +56,6 @@ docs/CategoryFrontendResourceArrayResponse.md
|
|
|
58
56
|
docs/CategoryWithChildrenFrontendResource.md
|
|
59
57
|
docs/CategoryWithChildrenFrontendResourceArrayResponse.md
|
|
60
58
|
docs/CouponDiscountType.md
|
|
61
|
-
docs/CustomerLiteResource.md
|
|
62
|
-
docs/CustomerLiteResourceArrayResponse.md
|
|
63
59
|
docs/DefinitionApi.md
|
|
64
60
|
docs/DefinitionListResource.md
|
|
65
61
|
docs/DefinitionListResourceArrayResponse.md
|
|
@@ -141,7 +137,6 @@ docs/IndexProductRegistrationRequest.md
|
|
|
141
137
|
docs/IndexProductRequest.md
|
|
142
138
|
docs/IndexProductTypeRequest.md
|
|
143
139
|
docs/IndexRedirectRequest.md
|
|
144
|
-
docs/IndexReviewRequest.md
|
|
145
140
|
docs/IndexSiteNotificationRequest.md
|
|
146
141
|
docs/IndexSiteRequest.md
|
|
147
142
|
docs/IndexStoreRequest.md
|
|
@@ -230,9 +225,6 @@ docs/PaginatedProductTypeListResourceResponse.md
|
|
|
230
225
|
docs/PaginatedProductTypeLiteResourceResponse.md
|
|
231
226
|
docs/PaginatedProductTypeResourceResponse.md
|
|
232
227
|
docs/PaginatedRedirectListResourceResponse.md
|
|
233
|
-
docs/PaginatedReviewListResourceResponse.md
|
|
234
|
-
docs/PaginatedReviewLiteResourceResponse.md
|
|
235
|
-
docs/PaginatedReviewResourceResponse.md
|
|
236
228
|
docs/PaginatedSiteListResourceResponse.md
|
|
237
229
|
docs/PaginatedSiteLiteResourceResponse.md
|
|
238
230
|
docs/PaginatedSiteNotificationListResourceResponse.md
|
|
@@ -331,8 +323,6 @@ docs/ProductRegistrationResource.md
|
|
|
331
323
|
docs/ProductRegistrationResourceArrayResponse.md
|
|
332
324
|
docs/ProductResource.md
|
|
333
325
|
docs/ProductResourceArrayResponse.md
|
|
334
|
-
docs/ProductReviewsResource.md
|
|
335
|
-
docs/ProductReviewsResourceArrayResponse.md
|
|
336
326
|
docs/ProductSearchResponseResource.md
|
|
337
327
|
docs/ProductSearchResponseResourceArrayResponse.md
|
|
338
328
|
docs/ProductSearchResponseResourceMeta.md
|
|
@@ -352,17 +342,10 @@ docs/RedirectFrontendResource.md
|
|
|
352
342
|
docs/RedirectFrontendResourceArrayResponse.md
|
|
353
343
|
docs/RedirectListResource.md
|
|
354
344
|
docs/RedirectListResourceArrayResponse.md
|
|
355
|
-
docs/ReviewApi.md
|
|
356
|
-
docs/ReviewListResource.md
|
|
357
|
-
docs/ReviewListResourceArrayResponse.md
|
|
358
|
-
docs/ReviewLiteResource.md
|
|
359
|
-
docs/ReviewLiteResourceArrayResponse.md
|
|
360
|
-
docs/ReviewPublicResource.md
|
|
361
|
-
docs/ReviewPublicResourceArrayResponse.md
|
|
362
|
-
docs/ReviewResource.md
|
|
363
|
-
docs/ReviewResourceArrayResponse.md
|
|
364
345
|
docs/SEOResource.md
|
|
365
346
|
docs/SEOResourceArrayResponse.md
|
|
347
|
+
docs/SaveMapStoreStockMigrationRequest.md
|
|
348
|
+
docs/SaveMapStoreStockMigrationRequestAssociationsInner.md
|
|
366
349
|
docs/SearchLinkablesMenuItemRequest.md
|
|
367
350
|
docs/ShowAssetsProductChildRequest.md
|
|
368
351
|
docs/ShowAttributesProductChildRequest.md
|
|
@@ -416,12 +399,12 @@ docs/StoreProductRequestCategoriesInner.md
|
|
|
416
399
|
docs/StoreProductTypeRequest.md
|
|
417
400
|
docs/StoreResource.md
|
|
418
401
|
docs/StoreResourceArrayResponse.md
|
|
419
|
-
docs/StoreReviewRequest.md
|
|
420
402
|
docs/StoreSiteNotificationRequest.md
|
|
421
403
|
docs/StoreSpecialDateFrontendResource.md
|
|
422
404
|
docs/StoreSpecialDateFrontendResourceArrayResponse.md
|
|
423
405
|
docs/StoreSpecialDateResource.md
|
|
424
406
|
docs/StoreSpecialDateResourceArrayResponse.md
|
|
407
|
+
docs/StoreStockType.md
|
|
425
408
|
docs/StoreStoreRequest.md
|
|
426
409
|
docs/StoreStoreRequestAddress.md
|
|
427
410
|
docs/StoreStoreRequestSpecialDatesInner.md
|
|
@@ -468,7 +451,6 @@ docs/UpdateProductRangeRequest.md
|
|
|
468
451
|
docs/UpdateProductRangeRequestAttributesInner.md
|
|
469
452
|
docs/UpdateProductRequest.md
|
|
470
453
|
docs/UpdateProductTypeRequest.md
|
|
471
|
-
docs/UpdateReviewRequest.md
|
|
472
454
|
docs/UpdateSiteNotificationRequest.md
|
|
473
455
|
docs/UpdateSiteRequest.md
|
|
474
456
|
docs/UpdateStoreRequest.md
|
|
@@ -497,7 +479,6 @@ src/apis/ProductRangeApi.ts
|
|
|
497
479
|
src/apis/ProductRegistrationApi.ts
|
|
498
480
|
src/apis/ProductTypeApi.ts
|
|
499
481
|
src/apis/RedirectApi.ts
|
|
500
|
-
src/apis/ReviewApi.ts
|
|
501
482
|
src/apis/SiteApi.ts
|
|
502
483
|
src/apis/StoreApi.ts
|
|
503
484
|
src/apis/SupplierApi.ts
|
|
@@ -508,8 +489,6 @@ src/models/AddressFrontendResource.ts
|
|
|
508
489
|
src/models/AddressFrontendResourceArrayResponse.ts
|
|
509
490
|
src/models/AddressResource.ts
|
|
510
491
|
src/models/AddressResourceArrayResponse.ts
|
|
511
|
-
src/models/AdminUserLiteResource.ts
|
|
512
|
-
src/models/AdminUserLiteResourceArrayResponse.ts
|
|
513
492
|
src/models/AssetFileForUploadResource.ts
|
|
514
493
|
src/models/AssetFileForUploadResourceArrayResponse.ts
|
|
515
494
|
src/models/AssetFrontendResource.ts
|
|
@@ -557,8 +536,6 @@ src/models/CategoryFrontendResourceArrayResponse.ts
|
|
|
557
536
|
src/models/CategoryWithChildrenFrontendResource.ts
|
|
558
537
|
src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts
|
|
559
538
|
src/models/CouponDiscountType.ts
|
|
560
|
-
src/models/CustomerLiteResource.ts
|
|
561
|
-
src/models/CustomerLiteResourceArrayResponse.ts
|
|
562
539
|
src/models/DefinitionListResource.ts
|
|
563
540
|
src/models/DefinitionListResourceArrayResponse.ts
|
|
564
541
|
src/models/DefinitionResource.ts
|
|
@@ -636,7 +613,6 @@ src/models/IndexProductRegistrationRequest.ts
|
|
|
636
613
|
src/models/IndexProductRequest.ts
|
|
637
614
|
src/models/IndexProductTypeRequest.ts
|
|
638
615
|
src/models/IndexRedirectRequest.ts
|
|
639
|
-
src/models/IndexReviewRequest.ts
|
|
640
616
|
src/models/IndexSiteNotificationRequest.ts
|
|
641
617
|
src/models/IndexSiteRequest.ts
|
|
642
618
|
src/models/IndexStoreRequest.ts
|
|
@@ -721,9 +697,6 @@ src/models/PaginatedProductTypeListResourceResponse.ts
|
|
|
721
697
|
src/models/PaginatedProductTypeLiteResourceResponse.ts
|
|
722
698
|
src/models/PaginatedProductTypeResourceResponse.ts
|
|
723
699
|
src/models/PaginatedRedirectListResourceResponse.ts
|
|
724
|
-
src/models/PaginatedReviewListResourceResponse.ts
|
|
725
|
-
src/models/PaginatedReviewLiteResourceResponse.ts
|
|
726
|
-
src/models/PaginatedReviewResourceResponse.ts
|
|
727
700
|
src/models/PaginatedSiteListResourceResponse.ts
|
|
728
701
|
src/models/PaginatedSiteLiteResourceResponse.ts
|
|
729
702
|
src/models/PaginatedSiteNotificationListResourceResponse.ts
|
|
@@ -818,8 +791,6 @@ src/models/ProductRegistrationResource.ts
|
|
|
818
791
|
src/models/ProductRegistrationResourceArrayResponse.ts
|
|
819
792
|
src/models/ProductResource.ts
|
|
820
793
|
src/models/ProductResourceArrayResponse.ts
|
|
821
|
-
src/models/ProductReviewsResource.ts
|
|
822
|
-
src/models/ProductReviewsResourceArrayResponse.ts
|
|
823
794
|
src/models/ProductSearchResponseResource.ts
|
|
824
795
|
src/models/ProductSearchResponseResourceArrayResponse.ts
|
|
825
796
|
src/models/ProductSearchResponseResourceMeta.ts
|
|
@@ -837,16 +808,10 @@ src/models/RedirectFrontendResource.ts
|
|
|
837
808
|
src/models/RedirectFrontendResourceArrayResponse.ts
|
|
838
809
|
src/models/RedirectListResource.ts
|
|
839
810
|
src/models/RedirectListResourceArrayResponse.ts
|
|
840
|
-
src/models/ReviewListResource.ts
|
|
841
|
-
src/models/ReviewListResourceArrayResponse.ts
|
|
842
|
-
src/models/ReviewLiteResource.ts
|
|
843
|
-
src/models/ReviewLiteResourceArrayResponse.ts
|
|
844
|
-
src/models/ReviewPublicResource.ts
|
|
845
|
-
src/models/ReviewPublicResourceArrayResponse.ts
|
|
846
|
-
src/models/ReviewResource.ts
|
|
847
|
-
src/models/ReviewResourceArrayResponse.ts
|
|
848
811
|
src/models/SEOResource.ts
|
|
849
812
|
src/models/SEOResourceArrayResponse.ts
|
|
813
|
+
src/models/SaveMapStoreStockMigrationRequest.ts
|
|
814
|
+
src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts
|
|
850
815
|
src/models/SearchLinkablesMenuItemRequest.ts
|
|
851
816
|
src/models/ShowAssetsProductChildRequest.ts
|
|
852
817
|
src/models/ShowAttributesProductChildRequest.ts
|
|
@@ -898,12 +863,12 @@ src/models/StoreProductRequestCategoriesInner.ts
|
|
|
898
863
|
src/models/StoreProductTypeRequest.ts
|
|
899
864
|
src/models/StoreResource.ts
|
|
900
865
|
src/models/StoreResourceArrayResponse.ts
|
|
901
|
-
src/models/StoreReviewRequest.ts
|
|
902
866
|
src/models/StoreSiteNotificationRequest.ts
|
|
903
867
|
src/models/StoreSpecialDateFrontendResource.ts
|
|
904
868
|
src/models/StoreSpecialDateFrontendResourceArrayResponse.ts
|
|
905
869
|
src/models/StoreSpecialDateResource.ts
|
|
906
870
|
src/models/StoreSpecialDateResourceArrayResponse.ts
|
|
871
|
+
src/models/StoreStockType.ts
|
|
907
872
|
src/models/StoreStoreRequest.ts
|
|
908
873
|
src/models/StoreStoreRequestAddress.ts
|
|
909
874
|
src/models/StoreStoreRequestSpecialDatesInner.ts
|
|
@@ -948,7 +913,6 @@ src/models/UpdateProductRangeRequest.ts
|
|
|
948
913
|
src/models/UpdateProductRangeRequestAttributesInner.ts
|
|
949
914
|
src/models/UpdateProductRequest.ts
|
|
950
915
|
src/models/UpdateProductTypeRequest.ts
|
|
951
|
-
src/models/UpdateReviewRequest.ts
|
|
952
916
|
src/models/UpdateSiteNotificationRequest.ts
|
|
953
917
|
src/models/UpdateSiteRequest.ts
|
|
954
918
|
src/models/UpdateStoreRequest.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.1814
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -190,14 +190,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
190
190
|
*ProductTypeApi* | [**updateAttachedAttributeProductType**](docs/ProductTypeApi.md#updateattachedattributeproducttype) | **PUT** /admin-api/product-type/{productType}/update-attribute | Auto-generated: updateAttachedAttributeProductType
|
|
191
191
|
*ProductTypeApi* | [**updateProductType**](docs/ProductTypeApi.md#updateproducttypeoperation) | **PUT** /admin-api/product-type/{productType}/update | Auto-generated: updateProductType
|
|
192
192
|
*RedirectApi* | [**indexRedirect**](docs/RedirectApi.md#indexredirectoperation) | **POST** /admin-api/redirect/list | Auto-generated: indexRedirect
|
|
193
|
-
*ReviewApi* | [**destroyReview**](docs/ReviewApi.md#destroyreview) | **DELETE** /admin-api/review/{review}/delete | Auto-generated: destroyReview
|
|
194
|
-
*ReviewApi* | [**exportReview**](docs/ReviewApi.md#exportreview) | **POST** /admin-api/review/export | Auto-generated: exportReview
|
|
195
|
-
*ReviewApi* | [**getAllReview**](docs/ReviewApi.md#getallreview) | **POST** /admin-api/review/all | Auto-generated: getAllReview
|
|
196
|
-
*ReviewApi* | [**importReview**](docs/ReviewApi.md#importreview) | **POST** /admin-api/review/import | Auto-generated: importReview
|
|
197
|
-
*ReviewApi* | [**indexReview**](docs/ReviewApi.md#indexreviewoperation) | **POST** /admin-api/review/list | Auto-generated: indexReview
|
|
198
|
-
*ReviewApi* | [**showReview**](docs/ReviewApi.md#showreview) | **GET** /admin-api/review/{review} | Auto-generated: showReview
|
|
199
|
-
*ReviewApi* | [**storeReview**](docs/ReviewApi.md#storereviewoperation) | **POST** /admin-api/review/create | Auto-generated: storeReview
|
|
200
|
-
*ReviewApi* | [**updateReview**](docs/ReviewApi.md#updatereviewoperation) | **PUT** /admin-api/review/{review}/update | Auto-generated: updateReview
|
|
201
193
|
*SiteApi* | [**destroySiteNotification**](docs/SiteApi.md#destroysitenotification) | **DELETE** /admin-api/site/notification/{siteNotification}/delete | Auto-generated: destroySiteNotification
|
|
202
194
|
*SiteApi* | [**getAllSite**](docs/SiteApi.md#getallsite) | **POST** /admin-api/site/all | Auto-generated: getAllSite
|
|
203
195
|
*SiteApi* | [**indexSite**](docs/SiteApi.md#indexsiteoperation) | **POST** /admin-api/site/list | Auto-generated: indexSite
|
|
@@ -212,6 +204,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
212
204
|
*StoreApi* | [**detachSuppliersStore**](docs/StoreApi.md#detachsuppliersstoreoperation) | **POST** /admin-api/store/{store}/detach-suppliers | Auto-generated: detachSuppliersStore
|
|
213
205
|
*StoreApi* | [**getAllStore**](docs/StoreApi.md#getallstoreoperation) | **POST** /admin-api/store/all | Auto-generated: getAllStore
|
|
214
206
|
*StoreApi* | [**indexStore**](docs/StoreApi.md#indexstoreoperation) | **POST** /admin-api/store/list | Auto-generated: indexStore
|
|
207
|
+
*StoreApi* | [**optionsStoreStockMigration**](docs/StoreApi.md#optionsstorestockmigration) | **GET** /admin-api/store/stock-migration/options | Auto-generated: optionsStoreStockMigration
|
|
208
|
+
*StoreApi* | [**saveMapStoreStockMigration**](docs/StoreApi.md#savemapstorestockmigrationoperation) | **POST** /admin-api/store/stock-migration/save-map | Auto-generated: saveMapStoreStockMigration
|
|
215
209
|
*StoreApi* | [**showStore**](docs/StoreApi.md#showstore) | **GET** /admin-api/store/{store} | Auto-generated: showStore
|
|
216
210
|
*StoreApi* | [**storeStore**](docs/StoreApi.md#storestoreoperation) | **POST** /admin-api/store/create | Auto-generated: storeStore
|
|
217
211
|
*StoreApi* | [**storeStoreSpecialDate**](docs/StoreApi.md#storestorespecialdateoperation) | **POST** /admin-api/store/{store}/special-dates | Auto-generated: storeStoreSpecialDate
|
|
@@ -243,8 +237,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
243
237
|
- [AddressFrontendResourceArrayResponse](docs/AddressFrontendResourceArrayResponse.md)
|
|
244
238
|
- [AddressResource](docs/AddressResource.md)
|
|
245
239
|
- [AddressResourceArrayResponse](docs/AddressResourceArrayResponse.md)
|
|
246
|
-
- [AdminUserLiteResource](docs/AdminUserLiteResource.md)
|
|
247
|
-
- [AdminUserLiteResourceArrayResponse](docs/AdminUserLiteResourceArrayResponse.md)
|
|
248
240
|
- [AssetFileForUploadResource](docs/AssetFileForUploadResource.md)
|
|
249
241
|
- [AssetFileForUploadResourceArrayResponse](docs/AssetFileForUploadResourceArrayResponse.md)
|
|
250
242
|
- [AssetFrontendResource](docs/AssetFrontendResource.md)
|
|
@@ -292,8 +284,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
292
284
|
- [CategoryWithChildrenFrontendResource](docs/CategoryWithChildrenFrontendResource.md)
|
|
293
285
|
- [CategoryWithChildrenFrontendResourceArrayResponse](docs/CategoryWithChildrenFrontendResourceArrayResponse.md)
|
|
294
286
|
- [CouponDiscountType](docs/CouponDiscountType.md)
|
|
295
|
-
- [CustomerLiteResource](docs/CustomerLiteResource.md)
|
|
296
|
-
- [CustomerLiteResourceArrayResponse](docs/CustomerLiteResourceArrayResponse.md)
|
|
297
287
|
- [DefinitionListResource](docs/DefinitionListResource.md)
|
|
298
288
|
- [DefinitionListResourceArrayResponse](docs/DefinitionListResourceArrayResponse.md)
|
|
299
289
|
- [DefinitionResource](docs/DefinitionResource.md)
|
|
@@ -371,7 +361,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
371
361
|
- [IndexProductRequest](docs/IndexProductRequest.md)
|
|
372
362
|
- [IndexProductTypeRequest](docs/IndexProductTypeRequest.md)
|
|
373
363
|
- [IndexRedirectRequest](docs/IndexRedirectRequest.md)
|
|
374
|
-
- [IndexReviewRequest](docs/IndexReviewRequest.md)
|
|
375
364
|
- [IndexSiteNotificationRequest](docs/IndexSiteNotificationRequest.md)
|
|
376
365
|
- [IndexSiteRequest](docs/IndexSiteRequest.md)
|
|
377
366
|
- [IndexStoreRequest](docs/IndexStoreRequest.md)
|
|
@@ -456,9 +445,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
456
445
|
- [PaginatedProductTypeLiteResourceResponse](docs/PaginatedProductTypeLiteResourceResponse.md)
|
|
457
446
|
- [PaginatedProductTypeResourceResponse](docs/PaginatedProductTypeResourceResponse.md)
|
|
458
447
|
- [PaginatedRedirectListResourceResponse](docs/PaginatedRedirectListResourceResponse.md)
|
|
459
|
-
- [PaginatedReviewListResourceResponse](docs/PaginatedReviewListResourceResponse.md)
|
|
460
|
-
- [PaginatedReviewLiteResourceResponse](docs/PaginatedReviewLiteResourceResponse.md)
|
|
461
|
-
- [PaginatedReviewResourceResponse](docs/PaginatedReviewResourceResponse.md)
|
|
462
448
|
- [PaginatedSiteListResourceResponse](docs/PaginatedSiteListResourceResponse.md)
|
|
463
449
|
- [PaginatedSiteLiteResourceResponse](docs/PaginatedSiteLiteResourceResponse.md)
|
|
464
450
|
- [PaginatedSiteNotificationListResourceResponse](docs/PaginatedSiteNotificationListResourceResponse.md)
|
|
@@ -553,8 +539,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
553
539
|
- [ProductRegistrationResourceArrayResponse](docs/ProductRegistrationResourceArrayResponse.md)
|
|
554
540
|
- [ProductResource](docs/ProductResource.md)
|
|
555
541
|
- [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
|
|
556
|
-
- [ProductReviewsResource](docs/ProductReviewsResource.md)
|
|
557
|
-
- [ProductReviewsResourceArrayResponse](docs/ProductReviewsResourceArrayResponse.md)
|
|
558
542
|
- [ProductSearchResponseResource](docs/ProductSearchResponseResource.md)
|
|
559
543
|
- [ProductSearchResponseResourceArrayResponse](docs/ProductSearchResponseResourceArrayResponse.md)
|
|
560
544
|
- [ProductSearchResponseResourceMeta](docs/ProductSearchResponseResourceMeta.md)
|
|
@@ -572,16 +556,10 @@ All URIs are relative to *http://localhost/api*
|
|
|
572
556
|
- [RedirectFrontendResourceArrayResponse](docs/RedirectFrontendResourceArrayResponse.md)
|
|
573
557
|
- [RedirectListResource](docs/RedirectListResource.md)
|
|
574
558
|
- [RedirectListResourceArrayResponse](docs/RedirectListResourceArrayResponse.md)
|
|
575
|
-
- [ReviewListResource](docs/ReviewListResource.md)
|
|
576
|
-
- [ReviewListResourceArrayResponse](docs/ReviewListResourceArrayResponse.md)
|
|
577
|
-
- [ReviewLiteResource](docs/ReviewLiteResource.md)
|
|
578
|
-
- [ReviewLiteResourceArrayResponse](docs/ReviewLiteResourceArrayResponse.md)
|
|
579
|
-
- [ReviewPublicResource](docs/ReviewPublicResource.md)
|
|
580
|
-
- [ReviewPublicResourceArrayResponse](docs/ReviewPublicResourceArrayResponse.md)
|
|
581
|
-
- [ReviewResource](docs/ReviewResource.md)
|
|
582
|
-
- [ReviewResourceArrayResponse](docs/ReviewResourceArrayResponse.md)
|
|
583
559
|
- [SEOResource](docs/SEOResource.md)
|
|
584
560
|
- [SEOResourceArrayResponse](docs/SEOResourceArrayResponse.md)
|
|
561
|
+
- [SaveMapStoreStockMigrationRequest](docs/SaveMapStoreStockMigrationRequest.md)
|
|
562
|
+
- [SaveMapStoreStockMigrationRequestAssociationsInner](docs/SaveMapStoreStockMigrationRequestAssociationsInner.md)
|
|
585
563
|
- [SearchLinkablesMenuItemRequest](docs/SearchLinkablesMenuItemRequest.md)
|
|
586
564
|
- [ShowAssetsProductChildRequest](docs/ShowAssetsProductChildRequest.md)
|
|
587
565
|
- [ShowAttributesProductChildRequest](docs/ShowAttributesProductChildRequest.md)
|
|
@@ -633,12 +611,12 @@ All URIs are relative to *http://localhost/api*
|
|
|
633
611
|
- [StoreProductTypeRequest](docs/StoreProductTypeRequest.md)
|
|
634
612
|
- [StoreResource](docs/StoreResource.md)
|
|
635
613
|
- [StoreResourceArrayResponse](docs/StoreResourceArrayResponse.md)
|
|
636
|
-
- [StoreReviewRequest](docs/StoreReviewRequest.md)
|
|
637
614
|
- [StoreSiteNotificationRequest](docs/StoreSiteNotificationRequest.md)
|
|
638
615
|
- [StoreSpecialDateFrontendResource](docs/StoreSpecialDateFrontendResource.md)
|
|
639
616
|
- [StoreSpecialDateFrontendResourceArrayResponse](docs/StoreSpecialDateFrontendResourceArrayResponse.md)
|
|
640
617
|
- [StoreSpecialDateResource](docs/StoreSpecialDateResource.md)
|
|
641
618
|
- [StoreSpecialDateResourceArrayResponse](docs/StoreSpecialDateResourceArrayResponse.md)
|
|
619
|
+
- [StoreStockType](docs/StoreStockType.md)
|
|
642
620
|
- [StoreStoreRequest](docs/StoreStoreRequest.md)
|
|
643
621
|
- [StoreStoreRequestAddress](docs/StoreStoreRequestAddress.md)
|
|
644
622
|
- [StoreStoreRequestSpecialDatesInner](docs/StoreStoreRequestSpecialDatesInner.md)
|
|
@@ -683,7 +661,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
683
661
|
- [UpdateProductRangeRequestAttributesInner](docs/UpdateProductRangeRequestAttributesInner.md)
|
|
684
662
|
- [UpdateProductRequest](docs/UpdateProductRequest.md)
|
|
685
663
|
- [UpdateProductTypeRequest](docs/UpdateProductTypeRequest.md)
|
|
686
|
-
- [UpdateReviewRequest](docs/UpdateReviewRequest.md)
|
|
687
664
|
- [UpdateSiteNotificationRequest](docs/UpdateSiteNotificationRequest.md)
|
|
688
665
|
- [UpdateSiteRequest](docs/UpdateSiteRequest.md)
|
|
689
666
|
- [UpdateStoreRequest](docs/UpdateStoreRequest.md)
|
|
@@ -707,7 +684,7 @@ and is automatically generated by the
|
|
|
707
684
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
708
685
|
|
|
709
686
|
- API version: `1.0.0`
|
|
710
|
-
- Package version: `0.0.
|
|
687
|
+
- Package version: `0.0.1814`
|
|
711
688
|
- Generator version: `7.21.0`
|
|
712
689
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
713
690
|
|
package/dist/apis/StoreApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AttachSuppliersStoreRequest, DetachSuppliersStoreRequest, GenericResponse, GetAllStoreRequest, IndexStoreRequest, PaginatedStoreListResourceResponse, StoreListResourceArrayResponse, StoreResource, StoreSpecialDateResource, StoreStoreRequest, StoreStoreSpecialDateRequest, UpdateStoreRequest } from '../models/index';
|
|
13
|
+
import type { AttachSuppliersStoreRequest, DetachSuppliersStoreRequest, GenericResponse, GetAllStoreRequest, IndexStoreRequest, PaginatedStoreListResourceResponse, SaveMapStoreStockMigrationRequest, StoreListResourceArrayResponse, StoreResource, StoreSpecialDateResource, StoreStoreRequest, StoreStoreSpecialDateRequest, UpdateStoreRequest } from '../models/index';
|
|
14
14
|
export interface AttachSuppliersStoreOperationRequest {
|
|
15
15
|
store: number;
|
|
16
16
|
attachSuppliersStoreRequest?: AttachSuppliersStoreRequest;
|
|
@@ -32,6 +32,9 @@ export interface GetAllStoreOperationRequest {
|
|
|
32
32
|
export interface IndexStoreOperationRequest {
|
|
33
33
|
indexStoreRequest?: IndexStoreRequest;
|
|
34
34
|
}
|
|
35
|
+
export interface SaveMapStoreStockMigrationOperationRequest {
|
|
36
|
+
saveMapStoreStockMigrationRequest?: SaveMapStoreStockMigrationRequest;
|
|
37
|
+
}
|
|
35
38
|
export interface ShowStoreRequest {
|
|
36
39
|
store: number;
|
|
37
40
|
}
|
|
@@ -127,6 +130,30 @@ export declare class StoreApi extends runtime.BaseAPI {
|
|
|
127
130
|
* Auto-generated: indexStore
|
|
128
131
|
*/
|
|
129
132
|
indexStore(requestParameters?: IndexStoreOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedStoreListResourceResponse>;
|
|
133
|
+
/**
|
|
134
|
+
* Creates request options for optionsStoreStockMigration without sending the request
|
|
135
|
+
*/
|
|
136
|
+
optionsStoreStockMigrationRequestOpts(): Promise<runtime.RequestOpts>;
|
|
137
|
+
/**
|
|
138
|
+
* Auto-generated: optionsStoreStockMigration
|
|
139
|
+
*/
|
|
140
|
+
optionsStoreStockMigrationRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>>;
|
|
141
|
+
/**
|
|
142
|
+
* Auto-generated: optionsStoreStockMigration
|
|
143
|
+
*/
|
|
144
|
+
optionsStoreStockMigration(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse>;
|
|
145
|
+
/**
|
|
146
|
+
* Creates request options for saveMapStoreStockMigration without sending the request
|
|
147
|
+
*/
|
|
148
|
+
saveMapStoreStockMigrationRequestOpts(requestParameters: SaveMapStoreStockMigrationOperationRequest): Promise<runtime.RequestOpts>;
|
|
149
|
+
/**
|
|
150
|
+
* Auto-generated: saveMapStoreStockMigration
|
|
151
|
+
*/
|
|
152
|
+
saveMapStoreStockMigrationRaw(requestParameters: SaveMapStoreStockMigrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>>;
|
|
153
|
+
/**
|
|
154
|
+
* Auto-generated: saveMapStoreStockMigration
|
|
155
|
+
*/
|
|
156
|
+
saveMapStoreStockMigration(requestParameters?: SaveMapStoreStockMigrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse>;
|
|
130
157
|
/**
|
|
131
158
|
* Creates request options for showStore without sending the request
|
|
132
159
|
*/
|
package/dist/apis/StoreApi.js
CHANGED
|
@@ -435,6 +435,119 @@ var StoreApi = /** @class */ (function (_super) {
|
|
|
435
435
|
});
|
|
436
436
|
});
|
|
437
437
|
};
|
|
438
|
+
/**
|
|
439
|
+
* Creates request options for optionsStoreStockMigration without sending the request
|
|
440
|
+
*/
|
|
441
|
+
StoreApi.prototype.optionsStoreStockMigrationRequestOpts = function () {
|
|
442
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
443
|
+
var queryParameters, headerParameters, urlPath;
|
|
444
|
+
return __generator(this, function (_a) {
|
|
445
|
+
queryParameters = {};
|
|
446
|
+
headerParameters = {};
|
|
447
|
+
urlPath = "/admin-api/store/stock-migration/options";
|
|
448
|
+
return [2 /*return*/, {
|
|
449
|
+
path: urlPath,
|
|
450
|
+
method: 'GET',
|
|
451
|
+
headers: headerParameters,
|
|
452
|
+
query: queryParameters,
|
|
453
|
+
}];
|
|
454
|
+
});
|
|
455
|
+
});
|
|
456
|
+
};
|
|
457
|
+
/**
|
|
458
|
+
* Auto-generated: optionsStoreStockMigration
|
|
459
|
+
*/
|
|
460
|
+
StoreApi.prototype.optionsStoreStockMigrationRaw = function (initOverrides) {
|
|
461
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
462
|
+
var requestOptions, response;
|
|
463
|
+
return __generator(this, function (_a) {
|
|
464
|
+
switch (_a.label) {
|
|
465
|
+
case 0: return [4 /*yield*/, this.optionsStoreStockMigrationRequestOpts()];
|
|
466
|
+
case 1:
|
|
467
|
+
requestOptions = _a.sent();
|
|
468
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
469
|
+
case 2:
|
|
470
|
+
response = _a.sent();
|
|
471
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GenericResponseFromJSON)(jsonValue); })];
|
|
472
|
+
}
|
|
473
|
+
});
|
|
474
|
+
});
|
|
475
|
+
};
|
|
476
|
+
/**
|
|
477
|
+
* Auto-generated: optionsStoreStockMigration
|
|
478
|
+
*/
|
|
479
|
+
StoreApi.prototype.optionsStoreStockMigration = function (initOverrides) {
|
|
480
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
481
|
+
var response;
|
|
482
|
+
return __generator(this, function (_a) {
|
|
483
|
+
switch (_a.label) {
|
|
484
|
+
case 0: return [4 /*yield*/, this.optionsStoreStockMigrationRaw(initOverrides)];
|
|
485
|
+
case 1:
|
|
486
|
+
response = _a.sent();
|
|
487
|
+
return [4 /*yield*/, response.value()];
|
|
488
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
489
|
+
}
|
|
490
|
+
});
|
|
491
|
+
});
|
|
492
|
+
};
|
|
493
|
+
/**
|
|
494
|
+
* Creates request options for saveMapStoreStockMigration without sending the request
|
|
495
|
+
*/
|
|
496
|
+
StoreApi.prototype.saveMapStoreStockMigrationRequestOpts = function (requestParameters) {
|
|
497
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
498
|
+
var queryParameters, headerParameters, urlPath;
|
|
499
|
+
return __generator(this, function (_a) {
|
|
500
|
+
queryParameters = {};
|
|
501
|
+
headerParameters = {};
|
|
502
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
503
|
+
urlPath = "/admin-api/store/stock-migration/save-map";
|
|
504
|
+
return [2 /*return*/, {
|
|
505
|
+
path: urlPath,
|
|
506
|
+
method: 'POST',
|
|
507
|
+
headers: headerParameters,
|
|
508
|
+
query: queryParameters,
|
|
509
|
+
body: (0, index_1.SaveMapStoreStockMigrationRequestToJSON)(requestParameters['saveMapStoreStockMigrationRequest']),
|
|
510
|
+
}];
|
|
511
|
+
});
|
|
512
|
+
});
|
|
513
|
+
};
|
|
514
|
+
/**
|
|
515
|
+
* Auto-generated: saveMapStoreStockMigration
|
|
516
|
+
*/
|
|
517
|
+
StoreApi.prototype.saveMapStoreStockMigrationRaw = function (requestParameters, initOverrides) {
|
|
518
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
519
|
+
var requestOptions, response;
|
|
520
|
+
return __generator(this, function (_a) {
|
|
521
|
+
switch (_a.label) {
|
|
522
|
+
case 0: return [4 /*yield*/, this.saveMapStoreStockMigrationRequestOpts(requestParameters)];
|
|
523
|
+
case 1:
|
|
524
|
+
requestOptions = _a.sent();
|
|
525
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
526
|
+
case 2:
|
|
527
|
+
response = _a.sent();
|
|
528
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GenericResponseFromJSON)(jsonValue); })];
|
|
529
|
+
}
|
|
530
|
+
});
|
|
531
|
+
});
|
|
532
|
+
};
|
|
533
|
+
/**
|
|
534
|
+
* Auto-generated: saveMapStoreStockMigration
|
|
535
|
+
*/
|
|
536
|
+
StoreApi.prototype.saveMapStoreStockMigration = function () {
|
|
537
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
538
|
+
var response;
|
|
539
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
540
|
+
return __generator(this, function (_a) {
|
|
541
|
+
switch (_a.label) {
|
|
542
|
+
case 0: return [4 /*yield*/, this.saveMapStoreStockMigrationRaw(requestParameters, initOverrides)];
|
|
543
|
+
case 1:
|
|
544
|
+
response = _a.sent();
|
|
545
|
+
return [4 /*yield*/, response.value()];
|
|
546
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
});
|
|
550
|
+
};
|
|
438
551
|
/**
|
|
439
552
|
* Creates request options for showStore without sending the request
|
|
440
553
|
*/
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export * from './ProductRangeApi';
|
|
|
15
15
|
export * from './ProductRegistrationApi';
|
|
16
16
|
export * from './ProductTypeApi';
|
|
17
17
|
export * from './RedirectApi';
|
|
18
|
-
export * from './ReviewApi';
|
|
19
18
|
export * from './SiteApi';
|
|
20
19
|
export * from './StoreApi';
|
|
21
20
|
export * from './SupplierApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -33,7 +33,6 @@ __exportStar(require("./ProductRangeApi"), exports);
|
|
|
33
33
|
__exportStar(require("./ProductRegistrationApi"), exports);
|
|
34
34
|
__exportStar(require("./ProductTypeApi"), exports);
|
|
35
35
|
__exportStar(require("./RedirectApi"), exports);
|
|
36
|
-
__exportStar(require("./ReviewApi"), exports);
|
|
37
36
|
__exportStar(require("./SiteApi"), exports);
|
|
38
37
|
__exportStar(require("./StoreApi"), exports);
|
|
39
38
|
__exportStar(require("./SupplierApi"), exports);
|
|
@@ -24,8 +24,6 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
|
24
24
|
function instanceOfAddressResource(value) {
|
|
25
25
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('line2' in value) || value['line2'] === undefined)
|
|
28
|
-
return false;
|
|
29
27
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
30
28
|
return false;
|
|
31
29
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -49,7 +47,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
47
|
'id': json['id'] == null ? undefined : json['id'],
|
|
50
48
|
'company': json['company'] == null ? undefined : json['company'],
|
|
51
49
|
'line1': json['line_1'],
|
|
52
|
-
'line2': json['line_2'],
|
|
50
|
+
'line2': json['line_2'] == null ? undefined : json['line_2'],
|
|
53
51
|
'postcode': json['postcode'],
|
|
54
52
|
'suburb': json['suburb'],
|
|
55
53
|
'country': json['country'],
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SaveMapStoreStockMigrationRequestAssociationsInner } from './SaveMapStoreStockMigrationRequestAssociationsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SaveMapStoreStockMigrationRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SaveMapStoreStockMigrationRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SaveMapStoreStockMigrationRequestAssociationsInner>}
|
|
22
|
+
* @memberof SaveMapStoreStockMigrationRequest
|
|
23
|
+
*/
|
|
24
|
+
associations: Array<SaveMapStoreStockMigrationRequestAssociationsInner>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SaveMapStoreStockMigrationRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSaveMapStoreStockMigrationRequest(value: object): value is SaveMapStoreStockMigrationRequest;
|
|
30
|
+
export declare function SaveMapStoreStockMigrationRequestFromJSON(json: any): SaveMapStoreStockMigrationRequest;
|
|
31
|
+
export declare function SaveMapStoreStockMigrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveMapStoreStockMigrationRequest;
|
|
32
|
+
export declare function SaveMapStoreStockMigrationRequestToJSON(json: any): SaveMapStoreStockMigrationRequest;
|
|
33
|
+
export declare function SaveMapStoreStockMigrationRequestToJSONTyped(value?: SaveMapStoreStockMigrationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSaveMapStoreStockMigrationRequest = instanceOfSaveMapStoreStockMigrationRequest;
|
|
17
|
+
exports.SaveMapStoreStockMigrationRequestFromJSON = SaveMapStoreStockMigrationRequestFromJSON;
|
|
18
|
+
exports.SaveMapStoreStockMigrationRequestFromJSONTyped = SaveMapStoreStockMigrationRequestFromJSONTyped;
|
|
19
|
+
exports.SaveMapStoreStockMigrationRequestToJSON = SaveMapStoreStockMigrationRequestToJSON;
|
|
20
|
+
exports.SaveMapStoreStockMigrationRequestToJSONTyped = SaveMapStoreStockMigrationRequestToJSONTyped;
|
|
21
|
+
var SaveMapStoreStockMigrationRequestAssociationsInner_1 = require("./SaveMapStoreStockMigrationRequestAssociationsInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SaveMapStoreStockMigrationRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfSaveMapStoreStockMigrationRequest(value) {
|
|
26
|
+
if (!('associations' in value) || value['associations'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function SaveMapStoreStockMigrationRequestFromJSON(json) {
|
|
31
|
+
return SaveMapStoreStockMigrationRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function SaveMapStoreStockMigrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'associations': (json['associations'].map(SaveMapStoreStockMigrationRequestAssociationsInner_1.SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function SaveMapStoreStockMigrationRequestToJSON(json) {
|
|
42
|
+
return SaveMapStoreStockMigrationRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function SaveMapStoreStockMigrationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'associations': (value['associations'].map(SaveMapStoreStockMigrationRequestAssociationsInner_1.SaveMapStoreStockMigrationRequestAssociationsInnerToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SaveMapStoreStockMigrationRequestAssociationsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface SaveMapStoreStockMigrationRequestAssociationsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SaveMapStoreStockMigrationRequestAssociationsInner
|
|
22
|
+
*/
|
|
23
|
+
locationId: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SaveMapStoreStockMigrationRequestAssociationsInner
|
|
28
|
+
*/
|
|
29
|
+
storeId: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum}
|
|
33
|
+
* @memberof SaveMapStoreStockMigrationRequestAssociationsInner
|
|
34
|
+
*/
|
|
35
|
+
type: SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum: {
|
|
41
|
+
readonly Available: "available";
|
|
42
|
+
readonly Display: "display";
|
|
43
|
+
};
|
|
44
|
+
export type SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = typeof SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum[keyof typeof SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum];
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the SaveMapStoreStockMigrationRequestAssociationsInner interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfSaveMapStoreStockMigrationRequestAssociationsInner(value: object): value is SaveMapStoreStockMigrationRequestAssociationsInner;
|
|
49
|
+
export declare function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON(json: any): SaveMapStoreStockMigrationRequestAssociationsInner;
|
|
50
|
+
export declare function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveMapStoreStockMigrationRequestAssociationsInner;
|
|
51
|
+
export declare function SaveMapStoreStockMigrationRequestAssociationsInnerToJSON(json: any): SaveMapStoreStockMigrationRequestAssociationsInner;
|
|
52
|
+
export declare function SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(value?: SaveMapStoreStockMigrationRequestAssociationsInner | null, ignoreDiscriminator?: boolean): any;
|