@digital8/lighting-illusions-ts-sdk 0.0.1630 → 0.0.1632
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 -32
- package/README.md +7 -23
- 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/ProductChildStoreStockType.d.ts +25 -0
- package/dist/models/ProductChildStoreStockType.js +51 -0
- 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/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreResource.d.ts +12 -0
- package/dist/models/StoreResource.js +4 -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 -15
- package/dist/models/index.js +3 -15
- package/docs/{BlogCategoryLiteResource.md → ProductChildStoreStockType.md} +4 -8
- package/docs/{BlogCategoryResourceArrayResponse.md → SaveMapStoreStockMigrationRequest.md} +6 -6
- package/docs/{BlogCategoryListResourceArrayResponse.md → SaveMapStoreStockMigrationRequestAssociationsInner.md} +10 -6
- package/docs/StoreApi.md +124 -0
- package/docs/StoreResource.md +4 -0
- 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/ProductChildStoreStockType.ts +53 -0
- package/src/models/SaveMapStoreStockMigrationRequest.ts +74 -0
- package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +95 -0
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreResource.ts +16 -0
- package/src/models/StoreStoreRequest.ts +16 -0
- package/src/models/UpdateStoreRequest.ts +16 -0
- package/src/models/index.ts +3 -15
- package/dist/apis/BlogCategoriesApi.d.ts +0 -109
- package/dist/apis/BlogCategoriesApi.js +0 -433
- package/dist/models/BlogCategoryFrontendResource.d.ts +0 -44
- package/dist/models/BlogCategoryFrontendResource.js +0 -59
- package/dist/models/BlogCategoryFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryFrontendResourceArrayResponse.js +0 -50
- package/dist/models/BlogCategoryListResource.d.ts +0 -44
- package/dist/models/BlogCategoryListResource.js +0 -59
- package/dist/models/BlogCategoryListResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryListResourceArrayResponse.js +0 -50
- package/dist/models/BlogCategoryLiteResource.d.ts +0 -38
- package/dist/models/BlogCategoryLiteResource.js +0 -55
- package/dist/models/BlogCategoryLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryLiteResourceArrayResponse.js +0 -50
- package/dist/models/BlogCategoryResource.d.ts +0 -51
- package/dist/models/BlogCategoryResource.js +0 -64
- package/dist/models/BlogCategoryResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryResourceArrayResponse.js +0 -50
- package/dist/models/GetAllBlogCategoryRequest.d.ts +0 -78
- package/dist/models/GetAllBlogCategoryRequest.js +0 -74
- package/dist/models/IndexBlogCategoryRequest.d.ts +0 -90
- package/dist/models/IndexBlogCategoryRequest.js +0 -78
- package/dist/models/PaginatedBlogCategoryListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogCategoryListResourceResponse.js +0 -57
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedBlogCategoryResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogCategoryResourceResponse.js +0 -57
- package/dist/models/StoreBlogCategoryRequest.d.ts +0 -45
- package/dist/models/StoreBlogCategoryRequest.js +0 -60
- package/dist/models/UpdateBlogCategoryRequest.d.ts +0 -45
- package/dist/models/UpdateBlogCategoryRequest.js +0 -60
- package/docs/BlogCategoriesApi.md +0 -407
- package/docs/BlogCategoryFrontendResource.md +0 -38
- package/docs/BlogCategoryFrontendResourceArrayResponse.md +0 -34
- package/docs/BlogCategoryListResource.md +0 -38
- package/docs/BlogCategoryLiteResourceArrayResponse.md +0 -34
- package/docs/BlogCategoryResource.md +0 -40
- package/docs/GetAllBlogCategoryRequest.md +0 -44
- package/docs/IndexBlogCategoryRequest.md +0 -48
- package/docs/PaginatedBlogCategoryListResourceResponse.md +0 -36
- package/docs/PaginatedBlogCategoryLiteResourceResponse.md +0 -36
- package/docs/PaginatedBlogCategoryResourceResponse.md +0 -36
- package/docs/StoreBlogCategoryRequest.md +0 -38
- package/docs/UpdateBlogCategoryRequest.md +0 -38
- package/src/apis/BlogCategoriesApi.ts +0 -334
- package/src/models/BlogCategoryFrontendResource.ts +0 -84
- package/src/models/BlogCategoryFrontendResourceArrayResponse.ts +0 -73
- package/src/models/BlogCategoryListResource.ts +0 -84
- package/src/models/BlogCategoryListResourceArrayResponse.ts +0 -73
- package/src/models/BlogCategoryLiteResource.ts +0 -75
- package/src/models/BlogCategoryLiteResourceArrayResponse.ts +0 -73
- package/src/models/BlogCategoryResource.ts +0 -101
- package/src/models/BlogCategoryResourceArrayResponse.ts +0 -73
- package/src/models/GetAllBlogCategoryRequest.ts +0 -125
- package/src/models/IndexBlogCategoryRequest.ts +0 -141
- package/src/models/PaginatedBlogCategoryListResourceResponse.ts +0 -90
- package/src/models/PaginatedBlogCategoryLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedBlogCategoryResourceResponse.ts +0 -90
- package/src/models/StoreBlogCategoryRequest.ts +0 -92
- package/src/models/UpdateBlogCategoryRequest.ts +0 -92
package/.openapi-generator/FILES
CHANGED
|
@@ -46,15 +46,6 @@ docs/AttributeResourceArrayResponse.md
|
|
|
46
46
|
docs/AttributeType.md
|
|
47
47
|
docs/AttributeValueResource.md
|
|
48
48
|
docs/AttributeValueResourceArrayResponse.md
|
|
49
|
-
docs/BlogCategoriesApi.md
|
|
50
|
-
docs/BlogCategoryFrontendResource.md
|
|
51
|
-
docs/BlogCategoryFrontendResourceArrayResponse.md
|
|
52
|
-
docs/BlogCategoryListResource.md
|
|
53
|
-
docs/BlogCategoryListResourceArrayResponse.md
|
|
54
|
-
docs/BlogCategoryLiteResource.md
|
|
55
|
-
docs/BlogCategoryLiteResourceArrayResponse.md
|
|
56
|
-
docs/BlogCategoryResource.md
|
|
57
|
-
docs/BlogCategoryResourceArrayResponse.md
|
|
58
49
|
docs/CategoryAutomationComparisonType.md
|
|
59
50
|
docs/CategoryAutomationConditionType.md
|
|
60
51
|
docs/CategoryAutomationFieldType.md
|
|
@@ -102,7 +93,6 @@ docs/ExternalApiSyncStatus.md
|
|
|
102
93
|
docs/GenericResponse.md
|
|
103
94
|
docs/GetAllAttributeRequest.md
|
|
104
95
|
docs/GetAllAttributeValueRequest.md
|
|
105
|
-
docs/GetAllBlogCategoryRequest.md
|
|
106
96
|
docs/GetAllDefinitionRequest.md
|
|
107
97
|
docs/GetAllDocumentRequest.md
|
|
108
98
|
docs/GetAllGoogleCategoryRequest.md
|
|
@@ -129,7 +119,6 @@ docs/GoogleCategoryResource.md
|
|
|
129
119
|
docs/GoogleCategoryResourceArrayResponse.md
|
|
130
120
|
docs/IndexAttributeRequest.md
|
|
131
121
|
docs/IndexAttributeValueRequest.md
|
|
132
|
-
docs/IndexBlogCategoryRequest.md
|
|
133
122
|
docs/IndexDefinitionRequest.md
|
|
134
123
|
docs/IndexDocumentRequest.md
|
|
135
124
|
docs/IndexExternalApiLogRequest.md
|
|
@@ -177,9 +166,6 @@ docs/PaginatedAttributeLiteResourceResponse.md
|
|
|
177
166
|
docs/PaginatedAttributeProductTypeRelationResourceResponse.md
|
|
178
167
|
docs/PaginatedAttributeResourceResponse.md
|
|
179
168
|
docs/PaginatedAttributeValueResourceResponse.md
|
|
180
|
-
docs/PaginatedBlogCategoryListResourceResponse.md
|
|
181
|
-
docs/PaginatedBlogCategoryLiteResourceResponse.md
|
|
182
|
-
docs/PaginatedBlogCategoryResourceResponse.md
|
|
183
169
|
docs/PaginatedCategoryFrontendResourceResponse.md
|
|
184
170
|
docs/PaginatedDefinitionListResourceResponse.md
|
|
185
171
|
docs/PaginatedDefinitionResourceResponse.md
|
|
@@ -260,6 +246,7 @@ docs/ProductChildSiteDetailLiteResource.md
|
|
|
260
246
|
docs/ProductChildSiteDetailLiteResourceArrayResponse.md
|
|
261
247
|
docs/ProductChildSiteDetailResource.md
|
|
262
248
|
docs/ProductChildSiteDetailResourceArrayResponse.md
|
|
249
|
+
docs/ProductChildStoreStockType.md
|
|
263
250
|
docs/ProductClassResource.md
|
|
264
251
|
docs/ProductClassResourceArrayResponse.md
|
|
265
252
|
docs/ProductCompareResource.md
|
|
@@ -315,6 +302,8 @@ docs/RedirectListResource.md
|
|
|
315
302
|
docs/RedirectListResourceArrayResponse.md
|
|
316
303
|
docs/SEOResource.md
|
|
317
304
|
docs/SEOResourceArrayResponse.md
|
|
305
|
+
docs/SaveMapStoreStockMigrationRequest.md
|
|
306
|
+
docs/SaveMapStoreStockMigrationRequestAssociationsInner.md
|
|
318
307
|
docs/ShowAssetsProductChildRequest.md
|
|
319
308
|
docs/ShowAttributesProductChildRequest.md
|
|
320
309
|
docs/SiteApi.md
|
|
@@ -337,7 +326,6 @@ docs/StoreAssetFileRequest.md
|
|
|
337
326
|
docs/StoreAssetForAssetableRequest.md
|
|
338
327
|
docs/StoreAttributeRequest.md
|
|
339
328
|
docs/StoreAttributeValueRequest.md
|
|
340
|
-
docs/StoreBlogCategoryRequest.md
|
|
341
329
|
docs/StoreDefinitionRequest.md
|
|
342
330
|
docs/StoreDocumentFileRequest.md
|
|
343
331
|
docs/StoreDocumentRequest.md
|
|
@@ -398,7 +386,6 @@ docs/TagType.md
|
|
|
398
386
|
docs/UpdateAssetForAssetableRequest.md
|
|
399
387
|
docs/UpdateAttributeRequest.md
|
|
400
388
|
docs/UpdateAttributeValueRequest.md
|
|
401
|
-
docs/UpdateBlogCategoryRequest.md
|
|
402
389
|
docs/UpdateDefinitionRequest.md
|
|
403
390
|
docs/UpdateDocumentRequest.md
|
|
404
391
|
docs/UpdateFilterOrderAttributeRequest.md
|
|
@@ -428,7 +415,6 @@ package.json
|
|
|
428
415
|
src/apis/AdminApi.ts
|
|
429
416
|
src/apis/AssetApi.ts
|
|
430
417
|
src/apis/AttributeApi.ts
|
|
431
|
-
src/apis/BlogCategoriesApi.ts
|
|
432
418
|
src/apis/DefinitionApi.ts
|
|
433
419
|
src/apis/DocumentApi.ts
|
|
434
420
|
src/apis/ExternalApiLogApi.ts
|
|
@@ -487,14 +473,6 @@ src/models/AttributeResourceArrayResponse.ts
|
|
|
487
473
|
src/models/AttributeType.ts
|
|
488
474
|
src/models/AttributeValueResource.ts
|
|
489
475
|
src/models/AttributeValueResourceArrayResponse.ts
|
|
490
|
-
src/models/BlogCategoryFrontendResource.ts
|
|
491
|
-
src/models/BlogCategoryFrontendResourceArrayResponse.ts
|
|
492
|
-
src/models/BlogCategoryListResource.ts
|
|
493
|
-
src/models/BlogCategoryListResourceArrayResponse.ts
|
|
494
|
-
src/models/BlogCategoryLiteResource.ts
|
|
495
|
-
src/models/BlogCategoryLiteResourceArrayResponse.ts
|
|
496
|
-
src/models/BlogCategoryResource.ts
|
|
497
|
-
src/models/BlogCategoryResourceArrayResponse.ts
|
|
498
476
|
src/models/CategoryAutomationComparisonType.ts
|
|
499
477
|
src/models/CategoryAutomationConditionType.ts
|
|
500
478
|
src/models/CategoryAutomationFieldType.ts
|
|
@@ -539,7 +517,6 @@ src/models/ExternalApiSyncStatus.ts
|
|
|
539
517
|
src/models/GenericResponse.ts
|
|
540
518
|
src/models/GetAllAttributeRequest.ts
|
|
541
519
|
src/models/GetAllAttributeValueRequest.ts
|
|
542
|
-
src/models/GetAllBlogCategoryRequest.ts
|
|
543
520
|
src/models/GetAllDefinitionRequest.ts
|
|
544
521
|
src/models/GetAllDocumentRequest.ts
|
|
545
522
|
src/models/GetAllGoogleCategoryRequest.ts
|
|
@@ -565,7 +542,6 @@ src/models/GoogleCategoryResource.ts
|
|
|
565
542
|
src/models/GoogleCategoryResourceArrayResponse.ts
|
|
566
543
|
src/models/IndexAttributeRequest.ts
|
|
567
544
|
src/models/IndexAttributeValueRequest.ts
|
|
568
|
-
src/models/IndexBlogCategoryRequest.ts
|
|
569
545
|
src/models/IndexDefinitionRequest.ts
|
|
570
546
|
src/models/IndexDocumentRequest.ts
|
|
571
547
|
src/models/IndexExternalApiLogRequest.ts
|
|
@@ -611,9 +587,6 @@ src/models/PaginatedAttributeLiteResourceResponse.ts
|
|
|
611
587
|
src/models/PaginatedAttributeProductTypeRelationResourceResponse.ts
|
|
612
588
|
src/models/PaginatedAttributeResourceResponse.ts
|
|
613
589
|
src/models/PaginatedAttributeValueResourceResponse.ts
|
|
614
|
-
src/models/PaginatedBlogCategoryListResourceResponse.ts
|
|
615
|
-
src/models/PaginatedBlogCategoryLiteResourceResponse.ts
|
|
616
|
-
src/models/PaginatedBlogCategoryResourceResponse.ts
|
|
617
590
|
src/models/PaginatedCategoryFrontendResourceResponse.ts
|
|
618
591
|
src/models/PaginatedDefinitionListResourceResponse.ts
|
|
619
592
|
src/models/PaginatedDefinitionResourceResponse.ts
|
|
@@ -692,6 +665,7 @@ src/models/ProductChildSiteDetailLiteResource.ts
|
|
|
692
665
|
src/models/ProductChildSiteDetailLiteResourceArrayResponse.ts
|
|
693
666
|
src/models/ProductChildSiteDetailResource.ts
|
|
694
667
|
src/models/ProductChildSiteDetailResourceArrayResponse.ts
|
|
668
|
+
src/models/ProductChildStoreStockType.ts
|
|
695
669
|
src/models/ProductClassResource.ts
|
|
696
670
|
src/models/ProductClassResourceArrayResponse.ts
|
|
697
671
|
src/models/ProductCompareResource.ts
|
|
@@ -744,6 +718,8 @@ src/models/RedirectListResource.ts
|
|
|
744
718
|
src/models/RedirectListResourceArrayResponse.ts
|
|
745
719
|
src/models/SEOResource.ts
|
|
746
720
|
src/models/SEOResourceArrayResponse.ts
|
|
721
|
+
src/models/SaveMapStoreStockMigrationRequest.ts
|
|
722
|
+
src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts
|
|
747
723
|
src/models/ShowAssetsProductChildRequest.ts
|
|
748
724
|
src/models/ShowAttributesProductChildRequest.ts
|
|
749
725
|
src/models/SiteConfigResource.ts
|
|
@@ -764,7 +740,6 @@ src/models/StoreAssetFileRequest.ts
|
|
|
764
740
|
src/models/StoreAssetForAssetableRequest.ts
|
|
765
741
|
src/models/StoreAttributeRequest.ts
|
|
766
742
|
src/models/StoreAttributeValueRequest.ts
|
|
767
|
-
src/models/StoreBlogCategoryRequest.ts
|
|
768
743
|
src/models/StoreDefinitionRequest.ts
|
|
769
744
|
src/models/StoreDocumentFileRequest.ts
|
|
770
745
|
src/models/StoreDocumentRequest.ts
|
|
@@ -823,7 +798,6 @@ src/models/TagType.ts
|
|
|
823
798
|
src/models/UpdateAssetForAssetableRequest.ts
|
|
824
799
|
src/models/UpdateAttributeRequest.ts
|
|
825
800
|
src/models/UpdateAttributeValueRequest.ts
|
|
826
|
-
src/models/UpdateBlogCategoryRequest.ts
|
|
827
801
|
src/models/UpdateDefinitionRequest.ts
|
|
828
802
|
src/models/UpdateDocumentRequest.ts
|
|
829
803
|
src/models/UpdateFilterOrderAttributeRequest.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.1632
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -74,12 +74,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
74
74
|
*AttributeApi* | [**updateAttributeValue**](docs/AttributeApi.md#updateattributevalueoperation) | **PUT** /admin-api/attribute/value/{attributeValue}/update | Auto-generated: updateAttributeValue
|
|
75
75
|
*AttributeApi* | [**updateFilterOrderAttribute**](docs/AttributeApi.md#updatefilterorderattributeoperation) | **PUT** /admin-api/attribute/update-filter-order | Auto-generated: updateFilterOrderAttribute
|
|
76
76
|
*AttributeApi* | [**updateModelAttribute**](docs/AttributeApi.md#updatemodelattributeoperation) | **PUT** /admin-api/attribute/model-attribute/{modelAttribute}/update | Auto-generated: updateModelAttribute
|
|
77
|
-
*BlogCategoriesApi* | [**destroyBlogCategory**](docs/BlogCategoriesApi.md#destroyblogcategory) | **DELETE** /admin-api/blog-categories/{blogCategory}/delete | Auto-generated: destroyBlogCategory
|
|
78
|
-
*BlogCategoriesApi* | [**getAllBlogCategory**](docs/BlogCategoriesApi.md#getallblogcategoryoperation) | **POST** /admin-api/blog-categories/all | Auto-generated: getAllBlogCategory
|
|
79
|
-
*BlogCategoriesApi* | [**indexBlogCategory**](docs/BlogCategoriesApi.md#indexblogcategoryoperation) | **POST** /admin-api/blog-categories/list | Auto-generated: indexBlogCategory
|
|
80
|
-
*BlogCategoriesApi* | [**showBlogCategory**](docs/BlogCategoriesApi.md#showblogcategory) | **GET** /admin-api/blog-categories/{blogCategory} | Auto-generated: showBlogCategory
|
|
81
|
-
*BlogCategoriesApi* | [**storeBlogCategory**](docs/BlogCategoriesApi.md#storeblogcategoryoperation) | **POST** /admin-api/blog-categories/create | Auto-generated: storeBlogCategory
|
|
82
|
-
*BlogCategoriesApi* | [**updateBlogCategory**](docs/BlogCategoriesApi.md#updateblogcategoryoperation) | **PUT** /admin-api/blog-categories/{blogCategory}/update | Auto-generated: updateBlogCategory
|
|
83
77
|
*DefinitionApi* | [**destroyDefinition**](docs/DefinitionApi.md#destroydefinition) | **DELETE** /admin-api/definition/{definition}/delete | Auto-generated: destroyDefinition
|
|
84
78
|
*DefinitionApi* | [**getAllDefinition**](docs/DefinitionApi.md#getalldefinitionoperation) | **POST** /admin-api/definition/all | Auto-generated: getAllDefinition
|
|
85
79
|
*DefinitionApi* | [**indexDefinition**](docs/DefinitionApi.md#indexdefinitionoperation) | **POST** /admin-api/definition/list | Auto-generated: indexDefinition
|
|
@@ -192,6 +186,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
192
186
|
*StoreApi* | [**detachSuppliersStore**](docs/StoreApi.md#detachsuppliersstoreoperation) | **POST** /admin-api/store/{store}/detach-suppliers | Auto-generated: detachSuppliersStore
|
|
193
187
|
*StoreApi* | [**getAllStore**](docs/StoreApi.md#getallstoreoperation) | **POST** /admin-api/store/all | Auto-generated: getAllStore
|
|
194
188
|
*StoreApi* | [**indexStore**](docs/StoreApi.md#indexstoreoperation) | **POST** /admin-api/store/list | Auto-generated: indexStore
|
|
189
|
+
*StoreApi* | [**optionsStoreStockMigration**](docs/StoreApi.md#optionsstorestockmigration) | **GET** /admin-api/store/stock-migration/options | Auto-generated: optionsStoreStockMigration
|
|
190
|
+
*StoreApi* | [**saveMapStoreStockMigration**](docs/StoreApi.md#savemapstorestockmigrationoperation) | **POST** /admin-api/store/stock-migration/save-map | Auto-generated: saveMapStoreStockMigration
|
|
195
191
|
*StoreApi* | [**showStore**](docs/StoreApi.md#showstore) | **GET** /admin-api/store/{store} | Auto-generated: showStore
|
|
196
192
|
*StoreApi* | [**storeStore**](docs/StoreApi.md#storestoreoperation) | **POST** /admin-api/store/create | Auto-generated: storeStore
|
|
197
193
|
*StoreApi* | [**storeStoreSpecialDate**](docs/StoreApi.md#storestorespecialdateoperation) | **POST** /admin-api/store/{store}/special-dates | Auto-generated: storeStoreSpecialDate
|
|
@@ -260,14 +256,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
260
256
|
- [AttributeType](docs/AttributeType.md)
|
|
261
257
|
- [AttributeValueResource](docs/AttributeValueResource.md)
|
|
262
258
|
- [AttributeValueResourceArrayResponse](docs/AttributeValueResourceArrayResponse.md)
|
|
263
|
-
- [BlogCategoryFrontendResource](docs/BlogCategoryFrontendResource.md)
|
|
264
|
-
- [BlogCategoryFrontendResourceArrayResponse](docs/BlogCategoryFrontendResourceArrayResponse.md)
|
|
265
|
-
- [BlogCategoryListResource](docs/BlogCategoryListResource.md)
|
|
266
|
-
- [BlogCategoryListResourceArrayResponse](docs/BlogCategoryListResourceArrayResponse.md)
|
|
267
|
-
- [BlogCategoryLiteResource](docs/BlogCategoryLiteResource.md)
|
|
268
|
-
- [BlogCategoryLiteResourceArrayResponse](docs/BlogCategoryLiteResourceArrayResponse.md)
|
|
269
|
-
- [BlogCategoryResource](docs/BlogCategoryResource.md)
|
|
270
|
-
- [BlogCategoryResourceArrayResponse](docs/BlogCategoryResourceArrayResponse.md)
|
|
271
259
|
- [CategoryAutomationComparisonType](docs/CategoryAutomationComparisonType.md)
|
|
272
260
|
- [CategoryAutomationConditionType](docs/CategoryAutomationConditionType.md)
|
|
273
261
|
- [CategoryAutomationFieldType](docs/CategoryAutomationFieldType.md)
|
|
@@ -312,7 +300,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
312
300
|
- [GenericResponse](docs/GenericResponse.md)
|
|
313
301
|
- [GetAllAttributeRequest](docs/GetAllAttributeRequest.md)
|
|
314
302
|
- [GetAllAttributeValueRequest](docs/GetAllAttributeValueRequest.md)
|
|
315
|
-
- [GetAllBlogCategoryRequest](docs/GetAllBlogCategoryRequest.md)
|
|
316
303
|
- [GetAllDefinitionRequest](docs/GetAllDefinitionRequest.md)
|
|
317
304
|
- [GetAllDocumentRequest](docs/GetAllDocumentRequest.md)
|
|
318
305
|
- [GetAllGoogleCategoryRequest](docs/GetAllGoogleCategoryRequest.md)
|
|
@@ -338,7 +325,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
338
325
|
- [GoogleCategoryResourceArrayResponse](docs/GoogleCategoryResourceArrayResponse.md)
|
|
339
326
|
- [IndexAttributeRequest](docs/IndexAttributeRequest.md)
|
|
340
327
|
- [IndexAttributeValueRequest](docs/IndexAttributeValueRequest.md)
|
|
341
|
-
- [IndexBlogCategoryRequest](docs/IndexBlogCategoryRequest.md)
|
|
342
328
|
- [IndexDefinitionRequest](docs/IndexDefinitionRequest.md)
|
|
343
329
|
- [IndexDocumentRequest](docs/IndexDocumentRequest.md)
|
|
344
330
|
- [IndexExternalApiLogRequest](docs/IndexExternalApiLogRequest.md)
|
|
@@ -384,9 +370,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
384
370
|
- [PaginatedAttributeProductTypeRelationResourceResponse](docs/PaginatedAttributeProductTypeRelationResourceResponse.md)
|
|
385
371
|
- [PaginatedAttributeResourceResponse](docs/PaginatedAttributeResourceResponse.md)
|
|
386
372
|
- [PaginatedAttributeValueResourceResponse](docs/PaginatedAttributeValueResourceResponse.md)
|
|
387
|
-
- [PaginatedBlogCategoryListResourceResponse](docs/PaginatedBlogCategoryListResourceResponse.md)
|
|
388
|
-
- [PaginatedBlogCategoryLiteResourceResponse](docs/PaginatedBlogCategoryLiteResourceResponse.md)
|
|
389
|
-
- [PaginatedBlogCategoryResourceResponse](docs/PaginatedBlogCategoryResourceResponse.md)
|
|
390
373
|
- [PaginatedCategoryFrontendResourceResponse](docs/PaginatedCategoryFrontendResourceResponse.md)
|
|
391
374
|
- [PaginatedDefinitionListResourceResponse](docs/PaginatedDefinitionListResourceResponse.md)
|
|
392
375
|
- [PaginatedDefinitionResourceResponse](docs/PaginatedDefinitionResourceResponse.md)
|
|
@@ -465,6 +448,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
465
448
|
- [ProductChildSiteDetailLiteResourceArrayResponse](docs/ProductChildSiteDetailLiteResourceArrayResponse.md)
|
|
466
449
|
- [ProductChildSiteDetailResource](docs/ProductChildSiteDetailResource.md)
|
|
467
450
|
- [ProductChildSiteDetailResourceArrayResponse](docs/ProductChildSiteDetailResourceArrayResponse.md)
|
|
451
|
+
- [ProductChildStoreStockType](docs/ProductChildStoreStockType.md)
|
|
468
452
|
- [ProductClassResource](docs/ProductClassResource.md)
|
|
469
453
|
- [ProductClassResourceArrayResponse](docs/ProductClassResourceArrayResponse.md)
|
|
470
454
|
- [ProductCompareResource](docs/ProductCompareResource.md)
|
|
@@ -517,6 +501,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
517
501
|
- [RedirectListResourceArrayResponse](docs/RedirectListResourceArrayResponse.md)
|
|
518
502
|
- [SEOResource](docs/SEOResource.md)
|
|
519
503
|
- [SEOResourceArrayResponse](docs/SEOResourceArrayResponse.md)
|
|
504
|
+
- [SaveMapStoreStockMigrationRequest](docs/SaveMapStoreStockMigrationRequest.md)
|
|
505
|
+
- [SaveMapStoreStockMigrationRequestAssociationsInner](docs/SaveMapStoreStockMigrationRequestAssociationsInner.md)
|
|
520
506
|
- [ShowAssetsProductChildRequest](docs/ShowAssetsProductChildRequest.md)
|
|
521
507
|
- [ShowAttributesProductChildRequest](docs/ShowAttributesProductChildRequest.md)
|
|
522
508
|
- [SiteConfigResource](docs/SiteConfigResource.md)
|
|
@@ -537,7 +523,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
537
523
|
- [StoreAssetForAssetableRequest](docs/StoreAssetForAssetableRequest.md)
|
|
538
524
|
- [StoreAttributeRequest](docs/StoreAttributeRequest.md)
|
|
539
525
|
- [StoreAttributeValueRequest](docs/StoreAttributeValueRequest.md)
|
|
540
|
-
- [StoreBlogCategoryRequest](docs/StoreBlogCategoryRequest.md)
|
|
541
526
|
- [StoreDefinitionRequest](docs/StoreDefinitionRequest.md)
|
|
542
527
|
- [StoreDocumentFileRequest](docs/StoreDocumentFileRequest.md)
|
|
543
528
|
- [StoreDocumentRequest](docs/StoreDocumentRequest.md)
|
|
@@ -596,7 +581,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
596
581
|
- [UpdateAssetForAssetableRequest](docs/UpdateAssetForAssetableRequest.md)
|
|
597
582
|
- [UpdateAttributeRequest](docs/UpdateAttributeRequest.md)
|
|
598
583
|
- [UpdateAttributeValueRequest](docs/UpdateAttributeValueRequest.md)
|
|
599
|
-
- [UpdateBlogCategoryRequest](docs/UpdateBlogCategoryRequest.md)
|
|
600
584
|
- [UpdateDefinitionRequest](docs/UpdateDefinitionRequest.md)
|
|
601
585
|
- [UpdateDocumentRequest](docs/UpdateDocumentRequest.md)
|
|
602
586
|
- [UpdateFilterOrderAttributeRequest](docs/UpdateFilterOrderAttributeRequest.md)
|
|
@@ -635,7 +619,7 @@ and is automatically generated by the
|
|
|
635
619
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
636
620
|
|
|
637
621
|
- API version: `1.0.0`
|
|
638
|
-
- Package version: `0.0.
|
|
622
|
+
- Package version: `0.0.1632`
|
|
639
623
|
- Generator version: `7.21.0`
|
|
640
624
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
641
625
|
|
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
package/dist/apis/index.js
CHANGED
|
@@ -19,7 +19,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
__exportStar(require("./AdminApi"), exports);
|
|
20
20
|
__exportStar(require("./AssetApi"), exports);
|
|
21
21
|
__exportStar(require("./AttributeApi"), exports);
|
|
22
|
-
__exportStar(require("./BlogCategoriesApi"), exports);
|
|
23
22
|
__exportStar(require("./DefinitionApi"), exports);
|
|
24
23
|
__exportStar(require("./DocumentApi"), exports);
|
|
25
24
|
__exportStar(require("./ExternalApiLogApi"), exports);
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const ProductChildStoreStockType: {
|
|
17
|
+
readonly Display: "display";
|
|
18
|
+
readonly Available: "available";
|
|
19
|
+
};
|
|
20
|
+
export type ProductChildStoreStockType = typeof ProductChildStoreStockType[keyof typeof ProductChildStoreStockType];
|
|
21
|
+
export declare function instanceOfProductChildStoreStockType(value: any): boolean;
|
|
22
|
+
export declare function ProductChildStoreStockTypeFromJSON(json: any): ProductChildStoreStockType;
|
|
23
|
+
export declare function ProductChildStoreStockTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildStoreStockType;
|
|
24
|
+
export declare function ProductChildStoreStockTypeToJSON(value?: ProductChildStoreStockType | null): any;
|
|
25
|
+
export declare function ProductChildStoreStockTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductChildStoreStockType;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.ProductChildStoreStockType = void 0;
|
|
17
|
+
exports.instanceOfProductChildStoreStockType = instanceOfProductChildStoreStockType;
|
|
18
|
+
exports.ProductChildStoreStockTypeFromJSON = ProductChildStoreStockTypeFromJSON;
|
|
19
|
+
exports.ProductChildStoreStockTypeFromJSONTyped = ProductChildStoreStockTypeFromJSONTyped;
|
|
20
|
+
exports.ProductChildStoreStockTypeToJSON = ProductChildStoreStockTypeToJSON;
|
|
21
|
+
exports.ProductChildStoreStockTypeToJSONTyped = ProductChildStoreStockTypeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ProductChildStoreStockType = {
|
|
27
|
+
Display: 'display',
|
|
28
|
+
Available: 'available'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfProductChildStoreStockType(value) {
|
|
31
|
+
for (var key in exports.ProductChildStoreStockType) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.ProductChildStoreStockType, key)) {
|
|
33
|
+
if (exports.ProductChildStoreStockType[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function ProductChildStoreStockTypeFromJSON(json) {
|
|
41
|
+
return ProductChildStoreStockTypeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ProductChildStoreStockTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function ProductChildStoreStockTypeToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function ProductChildStoreStockTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -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
|
+
}
|