@digital8/lighting-illusions-ts-sdk 0.0.1102 → 0.0.1104
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 -38
- package/README.md +10 -31
- package/dist/apis/ProductApi.d.ts +17 -1
- package/dist/apis/ProductApi.js +61 -0
- package/dist/apis/SupplierApi.d.ts +1 -33
- package/dist/apis/SupplierApi.js +0 -122
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/ProductChildAttributeGroupedResource.d.ts +51 -0
- package/dist/models/ProductChildAttributeGroupedResource.js +64 -0
- package/dist/models/ProductChildAttributeGroupedResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildAttributeGroupedResourceArrayResponse.js +50 -0
- package/dist/models/ProductChildAttributeResource.d.ts +69 -0
- package/dist/models/ProductChildAttributeResource.js +74 -0
- package/dist/models/ProductChildAttributeResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildAttributeResourceArrayResponse.js +50 -0
- package/dist/models/ProductChildOverlayRelationResource.d.ts +6 -0
- package/dist/models/ProductChildOverlayRelationResource.js +4 -0
- package/dist/models/ProductChildResource.d.ts +15 -2
- package/dist/models/ProductChildResource.js +12 -3
- package/dist/models/ProductClassResource.d.ts +44 -0
- package/dist/models/ProductClassResource.js +57 -0
- package/dist/models/ProductClassResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductClassResourceArrayResponse.js +50 -0
- package/dist/models/ShowAttributesProductChildRequest.d.ts +99 -0
- package/dist/models/ShowAttributesProductChildRequest.js +83 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +2 -2
- package/dist/models/StoreProductCategoryRequest.js +2 -6
- package/dist/models/SupplierResource.d.ts +0 -6
- package/dist/models/SupplierResource.js +0 -4
- package/dist/models/index.d.ts +7 -18
- package/dist/models/index.js +7 -18
- package/docs/ProductApi.md +69 -0
- package/docs/ProductChildAttributeGroupedResource.md +40 -0
- package/docs/{StoreResourceArrayResponse.md → ProductChildAttributeGroupedResourceArrayResponse.md} +5 -5
- package/docs/{StoreSpecialDateResource.md → ProductChildAttributeResource.md} +14 -10
- package/docs/{AddressResourceArrayResponse.md → ProductChildAttributeResourceArrayResponse.md} +5 -5
- package/docs/ProductChildOverlayRelationResource.md +2 -0
- package/docs/ProductChildResource.md +6 -2
- package/docs/{DetachStoresSupplierRequest.md → ProductClassResource.md} +10 -6
- package/docs/{StoreListResourceArrayResponse.md → ProductClassResourceArrayResponse.md} +5 -5
- package/docs/{GetAllStoreRequest.md → ShowAttributesProductChildRequest.md} +10 -6
- package/docs/SupplierApi.md +0 -138
- package/docs/SupplierResource.md +0 -2
- package/package.json +1 -1
- package/src/apis/ProductApi.ts +59 -0
- package/src/apis/SupplierApi.ts +0 -112
- package/src/apis/index.ts +0 -1
- package/src/models/ProductChildAttributeGroupedResource.ts +101 -0
- package/src/models/ProductChildAttributeGroupedResourceArrayResponse.ts +73 -0
- package/src/models/ProductChildAttributeResource.ts +127 -0
- package/src/models/ProductChildAttributeResourceArrayResponse.ts +73 -0
- package/src/models/ProductChildOverlayRelationResource.ts +9 -0
- package/src/models/ProductChildResource.ts +30 -5
- package/src/models/ProductClassResource.ts +83 -0
- package/src/models/ProductClassResourceArrayResponse.ts +73 -0
- package/src/models/ShowAttributesProductChildRequest.ts +152 -0
- package/src/models/StoreProductCategoryRequest.ts +4 -6
- package/src/models/SupplierResource.ts +0 -9
- package/src/models/index.ts +7 -18
- package/dist/apis/StoreApi.d.ts +0 -158
- package/dist/apis/StoreApi.js +0 -621
- package/dist/models/AddressResource.d.ts +0 -74
- package/dist/models/AddressResource.js +0 -79
- package/dist/models/AddressResourceArrayResponse.d.ts +0 -33
- package/dist/models/AddressResourceArrayResponse.js +0 -50
- package/dist/models/AttachStoresSupplierRequest.d.ts +0 -32
- package/dist/models/AttachStoresSupplierRequest.js +0 -51
- package/dist/models/AttachSuppliersStoreRequest.d.ts +0 -32
- package/dist/models/AttachSuppliersStoreRequest.js +0 -51
- package/dist/models/DetachStoresSupplierRequest.d.ts +0 -32
- package/dist/models/DetachStoresSupplierRequest.js +0 -51
- package/dist/models/DetachSuppliersStoreRequest.d.ts +0 -32
- package/dist/models/DetachSuppliersStoreRequest.js +0 -51
- package/dist/models/GetAllStoreRequest.d.ts +0 -87
- package/dist/models/GetAllStoreRequest.js +0 -79
- package/dist/models/StoreListResource.d.ts +0 -93
- package/dist/models/StoreListResource.js +0 -84
- package/dist/models/StoreListResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreListResourceArrayResponse.js +0 -50
- package/dist/models/StoreResource.d.ts +0 -117
- package/dist/models/StoreResource.js +0 -100
- package/dist/models/StoreResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreResourceArrayResponse.js +0 -50
- package/dist/models/StoreSpecialDateResource.d.ts +0 -56
- package/dist/models/StoreSpecialDateResource.js +0 -65
- package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreSpecialDateResourceArrayResponse.js +0 -50
- package/dist/models/StoreStoreRequest.d.ts +0 -177
- package/dist/models/StoreStoreRequest.js +0 -124
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +0 -50
- package/dist/models/StoreStoreRequestSpecialDatesInner.js +0 -57
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +0 -50
- package/dist/models/StoreStoreSpecialDateRequest.js +0 -57
- package/dist/models/UpdateStoreRequest.d.ts +0 -177
- package/dist/models/UpdateStoreRequest.js +0 -124
- package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +0 -56
- package/dist/models/UpdateStoreRequestSpecialDatesInner.js +0 -57
- package/docs/AddressResource.md +0 -48
- package/docs/AttachStoresSupplierRequest.md +0 -34
- package/docs/AttachSuppliersStoreRequest.md +0 -34
- package/docs/DetachSuppliersStoreRequest.md +0 -34
- package/docs/StoreApi.md +0 -617
- package/docs/StoreListResource.md +0 -54
- package/docs/StoreResource.md +0 -62
- package/docs/StoreSpecialDateResourceArrayResponse.md +0 -34
- package/docs/StoreStoreRequest.md +0 -82
- package/docs/StoreStoreRequestSpecialDatesInner.md +0 -40
- package/docs/StoreStoreSpecialDateRequest.md +0 -40
- package/docs/UpdateStoreRequest.md +0 -82
- package/docs/UpdateStoreRequestSpecialDatesInner.md +0 -42
- package/src/apis/StoreApi.ts +0 -513
- package/src/models/AddressResource.ts +0 -129
- package/src/models/AddressResourceArrayResponse.ts +0 -73
- package/src/models/AttachStoresSupplierRequest.ts +0 -66
- package/src/models/AttachSuppliersStoreRequest.ts +0 -66
- package/src/models/DetachStoresSupplierRequest.ts +0 -66
- package/src/models/DetachSuppliersStoreRequest.ts +0 -66
- package/src/models/GetAllStoreRequest.ts +0 -136
- package/src/models/StoreListResource.ts +0 -160
- package/src/models/StoreListResourceArrayResponse.ts +0 -73
- package/src/models/StoreResource.ts +0 -196
- package/src/models/StoreResourceArrayResponse.ts +0 -73
- package/src/models/StoreSpecialDateResource.ts +0 -101
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +0 -73
- package/src/models/StoreStoreRequest.ts +0 -278
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +0 -90
- package/src/models/StoreStoreSpecialDateRequest.ts +0 -90
- package/src/models/UpdateStoreRequest.ts +0 -278
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +0 -97
package/.openapi-generator/FILES
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
.npmignore
|
|
3
3
|
.openapi-generator-ignore
|
|
4
4
|
README.md
|
|
5
|
-
docs/AddressResource.md
|
|
6
|
-
docs/AddressResourceArrayResponse.md
|
|
7
5
|
docs/AssetApi.md
|
|
8
6
|
docs/AssetFileForUploadResource.md
|
|
9
7
|
docs/AssetFileForUploadResourceArrayResponse.md
|
|
@@ -22,8 +20,6 @@ docs/AttachDocumentsProductChildRequest.md
|
|
|
22
20
|
docs/AttachDocumentsProductChildRequestDocumentsInner.md
|
|
23
21
|
docs/AttachProductTypeAttributeRequest.md
|
|
24
22
|
docs/AttachProductsProductCategoryRequest.md
|
|
25
|
-
docs/AttachStoresSupplierRequest.md
|
|
26
|
-
docs/AttachSuppliersStoreRequest.md
|
|
27
23
|
docs/AttributeApi.md
|
|
28
24
|
docs/AttributeFieldType.md
|
|
29
25
|
docs/AttributeListResource.md
|
|
@@ -60,8 +56,6 @@ docs/DetachDocumentablesDocumentRequest.md
|
|
|
60
56
|
docs/DetachDocumentablesDocumentRequestDocumentablesInner.md
|
|
61
57
|
docs/DetachDocumentsProductChildRequest.md
|
|
62
58
|
docs/DetachProductsProductCategoryRequest.md
|
|
63
|
-
docs/DetachStoresSupplierRequest.md
|
|
64
|
-
docs/DetachSuppliersStoreRequest.md
|
|
65
59
|
docs/DocumentApi.md
|
|
66
60
|
docs/DocumentFileForUploadResource.md
|
|
67
61
|
docs/DocumentFileForUploadResourceArrayResponse.md
|
|
@@ -89,7 +83,6 @@ docs/GetAllProductCategoryRequest.md
|
|
|
89
83
|
docs/GetAllProductChildRequest.md
|
|
90
84
|
docs/GetAllProductRequest.md
|
|
91
85
|
docs/GetAllProductTypeRequest.md
|
|
92
|
-
docs/GetAllStoreRequest.md
|
|
93
86
|
docs/GetAllSupplierRequest.md
|
|
94
87
|
docs/GetHierarchyProductCategoryRequest.md
|
|
95
88
|
docs/GlobalSearchCategoryResource.md
|
|
@@ -191,6 +184,10 @@ docs/ProductCategoryLiteResource.md
|
|
|
191
184
|
docs/ProductCategoryLiteResourceArrayResponse.md
|
|
192
185
|
docs/ProductCategoryResource.md
|
|
193
186
|
docs/ProductCategoryResourceArrayResponse.md
|
|
187
|
+
docs/ProductChildAttributeGroupedResource.md
|
|
188
|
+
docs/ProductChildAttributeGroupedResourceArrayResponse.md
|
|
189
|
+
docs/ProductChildAttributeResource.md
|
|
190
|
+
docs/ProductChildAttributeResourceArrayResponse.md
|
|
194
191
|
docs/ProductChildListResource.md
|
|
195
192
|
docs/ProductChildListResourceArrayResponse.md
|
|
196
193
|
docs/ProductChildLiteResource.md
|
|
@@ -205,6 +202,8 @@ docs/ProductChildSiteDetailLiteResource.md
|
|
|
205
202
|
docs/ProductChildSiteDetailLiteResourceArrayResponse.md
|
|
206
203
|
docs/ProductChildSiteDetailResource.md
|
|
207
204
|
docs/ProductChildSiteDetailResourceArrayResponse.md
|
|
205
|
+
docs/ProductClassResource.md
|
|
206
|
+
docs/ProductClassResourceArrayResponse.md
|
|
208
207
|
docs/ProductCompareResource.md
|
|
209
208
|
docs/ProductCompareResourceArrayResponse.md
|
|
210
209
|
docs/ProductListResource.md
|
|
@@ -230,6 +229,7 @@ docs/ProductTypeResource.md
|
|
|
230
229
|
docs/ProductTypeResourceArrayResponse.md
|
|
231
230
|
docs/SEOResource.md
|
|
232
231
|
docs/SEOResourceArrayResponse.md
|
|
232
|
+
docs/ShowAttributesProductChildRequest.md
|
|
233
233
|
docs/SiteApi.md
|
|
234
234
|
docs/SiteConfigResource.md
|
|
235
235
|
docs/SiteConfigResourceArrayResponse.md
|
|
@@ -245,7 +245,6 @@ docs/SitePaymentConfigResource.md
|
|
|
245
245
|
docs/SitePaymentConfigResourceArrayResponse.md
|
|
246
246
|
docs/SiteResource.md
|
|
247
247
|
docs/SiteResourceArrayResponse.md
|
|
248
|
-
docs/StoreApi.md
|
|
249
248
|
docs/StoreAssetFileRequest.md
|
|
250
249
|
docs/StoreAssetForAssetableRequest.md
|
|
251
250
|
docs/StoreAttributeRequest.md
|
|
@@ -253,8 +252,6 @@ docs/StoreAttributeValueRequest.md
|
|
|
253
252
|
docs/StoreDefinitionRequest.md
|
|
254
253
|
docs/StoreDocumentFileRequest.md
|
|
255
254
|
docs/StoreDocumentRequest.md
|
|
256
|
-
docs/StoreListResource.md
|
|
257
|
-
docs/StoreListResourceArrayResponse.md
|
|
258
255
|
docs/StoreOverlayTemplateAssetRequest.md
|
|
259
256
|
docs/StoreOverlayTemplateRequest.md
|
|
260
257
|
docs/StoreProductCategoryRequest.md
|
|
@@ -268,14 +265,7 @@ docs/StoreProductChildRequestSitesInner.md
|
|
|
268
265
|
docs/StoreProductRequest.md
|
|
269
266
|
docs/StoreProductRequestCategoriesInner.md
|
|
270
267
|
docs/StoreProductTypeRequest.md
|
|
271
|
-
docs/StoreResource.md
|
|
272
|
-
docs/StoreResourceArrayResponse.md
|
|
273
268
|
docs/StoreSiteNotificationRequest.md
|
|
274
|
-
docs/StoreSpecialDateResource.md
|
|
275
|
-
docs/StoreSpecialDateResourceArrayResponse.md
|
|
276
|
-
docs/StoreStoreRequest.md
|
|
277
|
-
docs/StoreStoreRequestSpecialDatesInner.md
|
|
278
|
-
docs/StoreStoreSpecialDateRequest.md
|
|
279
269
|
docs/StoreSupplierRequest.md
|
|
280
270
|
docs/StoreTagRequest.md
|
|
281
271
|
docs/SupplierApi.md
|
|
@@ -315,8 +305,6 @@ docs/UpdateProductTypeRequest.md
|
|
|
315
305
|
docs/UpdateProductTypeRequestPerformanceValuesInner.md
|
|
316
306
|
docs/UpdateSiteNotificationRequest.md
|
|
317
307
|
docs/UpdateSiteRequest.md
|
|
318
|
-
docs/UpdateStoreRequest.md
|
|
319
|
-
docs/UpdateStoreRequestSpecialDatesInner.md
|
|
320
308
|
docs/UpdateSupplierRequest.md
|
|
321
309
|
docs/UpdateTagRequest.md
|
|
322
310
|
docs/WishlistCheckResource.md
|
|
@@ -335,13 +323,10 @@ src/apis/ProductApi.ts
|
|
|
335
323
|
src/apis/ProductCategoryApi.ts
|
|
336
324
|
src/apis/ProductTypeApi.ts
|
|
337
325
|
src/apis/SiteApi.ts
|
|
338
|
-
src/apis/StoreApi.ts
|
|
339
326
|
src/apis/SupplierApi.ts
|
|
340
327
|
src/apis/TagApi.ts
|
|
341
328
|
src/apis/index.ts
|
|
342
329
|
src/index.ts
|
|
343
|
-
src/models/AddressResource.ts
|
|
344
|
-
src/models/AddressResourceArrayResponse.ts
|
|
345
330
|
src/models/AssetFileForUploadResource.ts
|
|
346
331
|
src/models/AssetFileForUploadResourceArrayResponse.ts
|
|
347
332
|
src/models/AssetFrontendResource.ts
|
|
@@ -359,8 +344,6 @@ src/models/AttachDocumentsProductChildRequest.ts
|
|
|
359
344
|
src/models/AttachDocumentsProductChildRequestDocumentsInner.ts
|
|
360
345
|
src/models/AttachProductTypeAttributeRequest.ts
|
|
361
346
|
src/models/AttachProductsProductCategoryRequest.ts
|
|
362
|
-
src/models/AttachStoresSupplierRequest.ts
|
|
363
|
-
src/models/AttachSuppliersStoreRequest.ts
|
|
364
347
|
src/models/AttributeFieldType.ts
|
|
365
348
|
src/models/AttributeListResource.ts
|
|
366
349
|
src/models/AttributeListResourceArrayResponse.ts
|
|
@@ -395,8 +378,6 @@ src/models/DetachDocumentablesDocumentRequest.ts
|
|
|
395
378
|
src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts
|
|
396
379
|
src/models/DetachDocumentsProductChildRequest.ts
|
|
397
380
|
src/models/DetachProductsProductCategoryRequest.ts
|
|
398
|
-
src/models/DetachStoresSupplierRequest.ts
|
|
399
|
-
src/models/DetachSuppliersStoreRequest.ts
|
|
400
381
|
src/models/DocumentFileForUploadResource.ts
|
|
401
382
|
src/models/DocumentFileForUploadResourceArrayResponse.ts
|
|
402
383
|
src/models/DocumentFrontendResource.ts
|
|
@@ -422,7 +403,6 @@ src/models/GetAllProductCategoryRequest.ts
|
|
|
422
403
|
src/models/GetAllProductChildRequest.ts
|
|
423
404
|
src/models/GetAllProductRequest.ts
|
|
424
405
|
src/models/GetAllProductTypeRequest.ts
|
|
425
|
-
src/models/GetAllStoreRequest.ts
|
|
426
406
|
src/models/GetAllSupplierRequest.ts
|
|
427
407
|
src/models/GetHierarchyProductCategoryRequest.ts
|
|
428
408
|
src/models/GlobalSearchCategoryResource.ts
|
|
@@ -520,6 +500,10 @@ src/models/ProductCategoryLiteResource.ts
|
|
|
520
500
|
src/models/ProductCategoryLiteResourceArrayResponse.ts
|
|
521
501
|
src/models/ProductCategoryResource.ts
|
|
522
502
|
src/models/ProductCategoryResourceArrayResponse.ts
|
|
503
|
+
src/models/ProductChildAttributeGroupedResource.ts
|
|
504
|
+
src/models/ProductChildAttributeGroupedResourceArrayResponse.ts
|
|
505
|
+
src/models/ProductChildAttributeResource.ts
|
|
506
|
+
src/models/ProductChildAttributeResourceArrayResponse.ts
|
|
523
507
|
src/models/ProductChildListResource.ts
|
|
524
508
|
src/models/ProductChildListResourceArrayResponse.ts
|
|
525
509
|
src/models/ProductChildLiteResource.ts
|
|
@@ -534,6 +518,8 @@ src/models/ProductChildSiteDetailLiteResource.ts
|
|
|
534
518
|
src/models/ProductChildSiteDetailLiteResourceArrayResponse.ts
|
|
535
519
|
src/models/ProductChildSiteDetailResource.ts
|
|
536
520
|
src/models/ProductChildSiteDetailResourceArrayResponse.ts
|
|
521
|
+
src/models/ProductClassResource.ts
|
|
522
|
+
src/models/ProductClassResourceArrayResponse.ts
|
|
537
523
|
src/models/ProductCompareResource.ts
|
|
538
524
|
src/models/ProductCompareResourceArrayResponse.ts
|
|
539
525
|
src/models/ProductListResource.ts
|
|
@@ -558,6 +544,7 @@ src/models/ProductTypeResource.ts
|
|
|
558
544
|
src/models/ProductTypeResourceArrayResponse.ts
|
|
559
545
|
src/models/SEOResource.ts
|
|
560
546
|
src/models/SEOResourceArrayResponse.ts
|
|
547
|
+
src/models/ShowAttributesProductChildRequest.ts
|
|
561
548
|
src/models/SiteConfigResource.ts
|
|
562
549
|
src/models/SiteConfigResourceArrayResponse.ts
|
|
563
550
|
src/models/SiteListResource.ts
|
|
@@ -579,8 +566,6 @@ src/models/StoreAttributeValueRequest.ts
|
|
|
579
566
|
src/models/StoreDefinitionRequest.ts
|
|
580
567
|
src/models/StoreDocumentFileRequest.ts
|
|
581
568
|
src/models/StoreDocumentRequest.ts
|
|
582
|
-
src/models/StoreListResource.ts
|
|
583
|
-
src/models/StoreListResourceArrayResponse.ts
|
|
584
569
|
src/models/StoreOverlayTemplateAssetRequest.ts
|
|
585
570
|
src/models/StoreOverlayTemplateRequest.ts
|
|
586
571
|
src/models/StoreProductCategoryRequest.ts
|
|
@@ -594,14 +579,7 @@ src/models/StoreProductChildRequestSitesInner.ts
|
|
|
594
579
|
src/models/StoreProductRequest.ts
|
|
595
580
|
src/models/StoreProductRequestCategoriesInner.ts
|
|
596
581
|
src/models/StoreProductTypeRequest.ts
|
|
597
|
-
src/models/StoreResource.ts
|
|
598
|
-
src/models/StoreResourceArrayResponse.ts
|
|
599
582
|
src/models/StoreSiteNotificationRequest.ts
|
|
600
|
-
src/models/StoreSpecialDateResource.ts
|
|
601
|
-
src/models/StoreSpecialDateResourceArrayResponse.ts
|
|
602
|
-
src/models/StoreStoreRequest.ts
|
|
603
|
-
src/models/StoreStoreRequestSpecialDatesInner.ts
|
|
604
|
-
src/models/StoreStoreSpecialDateRequest.ts
|
|
605
583
|
src/models/StoreSupplierRequest.ts
|
|
606
584
|
src/models/StoreTagRequest.ts
|
|
607
585
|
src/models/SupplierFrontendResource.ts
|
|
@@ -639,8 +617,6 @@ src/models/UpdateProductTypeRequest.ts
|
|
|
639
617
|
src/models/UpdateProductTypeRequestPerformanceValuesInner.ts
|
|
640
618
|
src/models/UpdateSiteNotificationRequest.ts
|
|
641
619
|
src/models/UpdateSiteRequest.ts
|
|
642
|
-
src/models/UpdateStoreRequest.ts
|
|
643
|
-
src/models/UpdateStoreRequestSpecialDatesInner.ts
|
|
644
620
|
src/models/UpdateSupplierRequest.ts
|
|
645
621
|
src/models/UpdateTagRequest.ts
|
|
646
622
|
src/models/WishlistCheckResource.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.1104
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -114,6 +114,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
114
114
|
*ProductApi* | [**indexProduct**](docs/ProductApi.md#indexproductoperation) | **POST** /admin-api/product/parent/list | Auto-generated: indexProduct
|
|
115
115
|
*ProductApi* | [**indexProductChild**](docs/ProductApi.md#indexproductchildoperation) | **POST** /admin-api/product/children/list | Auto-generated: indexProductChild
|
|
116
116
|
*ProductApi* | [**showAssetsProductChild**](docs/ProductApi.md#showassetsproductchild) | **GET** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild
|
|
117
|
+
*ProductApi* | [**showAttributesProductChild**](docs/ProductApi.md#showattributesproductchildoperation) | **POST** /admin-api/product/children/{productChild}/attributes | Auto-generated: showAttributesProductChild
|
|
117
118
|
*ProductApi* | [**showProduct**](docs/ProductApi.md#showproduct) | **GET** /admin-api/product/parent/{product} | Auto-generated: showProduct
|
|
118
119
|
*ProductApi* | [**showProductChild**](docs/ProductApi.md#showproductchild) | **GET** /admin-api/product/children/{productChild} | Auto-generated: showProductChild
|
|
119
120
|
*ProductApi* | [**storeProduct**](docs/ProductApi.md#storeproductoperation) | **POST** /admin-api/product/parent/create | Auto-generated: storeProduct
|
|
@@ -150,18 +151,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
150
151
|
*SiteApi* | [**storeSiteNotification**](docs/SiteApi.md#storesitenotificationoperation) | **POST** /admin-api/site/notification/create | Auto-generated: storeSiteNotification
|
|
151
152
|
*SiteApi* | [**updateSite**](docs/SiteApi.md#updatesiteoperation) | **PUT** /admin-api/site/{site}/update | Auto-generated: updateSite
|
|
152
153
|
*SiteApi* | [**updateSiteNotification**](docs/SiteApi.md#updatesitenotificationoperation) | **PUT** /admin-api/site/notification/{siteNotification}/update | Auto-generated: updateSiteNotification
|
|
153
|
-
*StoreApi* | [**attachSuppliersStore**](docs/StoreApi.md#attachsuppliersstoreoperation) | **POST** /admin-api/store/{store}/attach-suppliers | Auto-generated: attachSuppliersStore
|
|
154
|
-
*StoreApi* | [**destroyStore**](docs/StoreApi.md#destroystore) | **DELETE** /admin-api/store/{store}/delete | Auto-generated: destroyStore
|
|
155
|
-
*StoreApi* | [**destroyStoreSpecialDate**](docs/StoreApi.md#destroystorespecialdate) | **DELETE** /admin-api/store/{store}/special-dates/{storeSpecialDate} | Auto-generated: destroyStoreSpecialDate
|
|
156
|
-
*StoreApi* | [**detachSuppliersStore**](docs/StoreApi.md#detachsuppliersstoreoperation) | **POST** /admin-api/store/{store}/detach-suppliers | Auto-generated: detachSuppliersStore
|
|
157
|
-
*StoreApi* | [**getAllStore**](docs/StoreApi.md#getallstoreoperation) | **POST** /admin-api/store/all | Auto-generated: getAllStore
|
|
158
|
-
*StoreApi* | [**showStore**](docs/StoreApi.md#showstore) | **GET** /admin-api/store/{store} | Auto-generated: showStore
|
|
159
|
-
*StoreApi* | [**storeStore**](docs/StoreApi.md#storestoreoperation) | **POST** /admin-api/store/create | Auto-generated: storeStore
|
|
160
|
-
*StoreApi* | [**storeStoreSpecialDate**](docs/StoreApi.md#storestorespecialdateoperation) | **POST** /admin-api/store/{store}/special-dates | Auto-generated: storeStoreSpecialDate
|
|
161
|
-
*StoreApi* | [**updateStore**](docs/StoreApi.md#updatestoreoperation) | **PUT** /admin-api/store/{store}/update | Auto-generated: updateStore
|
|
162
|
-
*SupplierApi* | [**attachStoresSupplier**](docs/SupplierApi.md#attachstoressupplieroperation) | **POST** /admin-api/supplier/{supplier}/attach-stores | Auto-generated: attachStoresSupplier
|
|
163
154
|
*SupplierApi* | [**destroySupplier**](docs/SupplierApi.md#destroysupplier) | **DELETE** /admin-api/supplier/{supplier}/delete | Auto-generated: destroySupplier
|
|
164
|
-
*SupplierApi* | [**detachStoresSupplier**](docs/SupplierApi.md#detachstoressupplieroperation) | **POST** /admin-api/supplier/{supplier}/detach-stores | Auto-generated: detachStoresSupplier
|
|
165
155
|
*SupplierApi* | [**exportSupplier**](docs/SupplierApi.md#exportsupplier) | **POST** /admin-api/supplier/export | Auto-generated: exportSupplier
|
|
166
156
|
*SupplierApi* | [**getAllSupplier**](docs/SupplierApi.md#getallsupplieroperation) | **POST** /admin-api/supplier/all | Auto-generated: getAllSupplier
|
|
167
157
|
*SupplierApi* | [**importSupplier**](docs/SupplierApi.md#importsupplier) | **POST** /admin-api/supplier/import | Auto-generated: importSupplier
|
|
@@ -181,8 +171,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
181
171
|
|
|
182
172
|
### Models
|
|
183
173
|
|
|
184
|
-
- [AddressResource](docs/AddressResource.md)
|
|
185
|
-
- [AddressResourceArrayResponse](docs/AddressResourceArrayResponse.md)
|
|
186
174
|
- [AssetFileForUploadResource](docs/AssetFileForUploadResource.md)
|
|
187
175
|
- [AssetFileForUploadResourceArrayResponse](docs/AssetFileForUploadResourceArrayResponse.md)
|
|
188
176
|
- [AssetFrontendResource](docs/AssetFrontendResource.md)
|
|
@@ -200,8 +188,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
200
188
|
- [AttachDocumentsProductChildRequestDocumentsInner](docs/AttachDocumentsProductChildRequestDocumentsInner.md)
|
|
201
189
|
- [AttachProductTypeAttributeRequest](docs/AttachProductTypeAttributeRequest.md)
|
|
202
190
|
- [AttachProductsProductCategoryRequest](docs/AttachProductsProductCategoryRequest.md)
|
|
203
|
-
- [AttachStoresSupplierRequest](docs/AttachStoresSupplierRequest.md)
|
|
204
|
-
- [AttachSuppliersStoreRequest](docs/AttachSuppliersStoreRequest.md)
|
|
205
191
|
- [AttributeFieldType](docs/AttributeFieldType.md)
|
|
206
192
|
- [AttributeListResource](docs/AttributeListResource.md)
|
|
207
193
|
- [AttributeListResourceArrayResponse](docs/AttributeListResourceArrayResponse.md)
|
|
@@ -236,8 +222,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
236
222
|
- [DetachDocumentablesDocumentRequestDocumentablesInner](docs/DetachDocumentablesDocumentRequestDocumentablesInner.md)
|
|
237
223
|
- [DetachDocumentsProductChildRequest](docs/DetachDocumentsProductChildRequest.md)
|
|
238
224
|
- [DetachProductsProductCategoryRequest](docs/DetachProductsProductCategoryRequest.md)
|
|
239
|
-
- [DetachStoresSupplierRequest](docs/DetachStoresSupplierRequest.md)
|
|
240
|
-
- [DetachSuppliersStoreRequest](docs/DetachSuppliersStoreRequest.md)
|
|
241
225
|
- [DocumentFileForUploadResource](docs/DocumentFileForUploadResource.md)
|
|
242
226
|
- [DocumentFileForUploadResourceArrayResponse](docs/DocumentFileForUploadResourceArrayResponse.md)
|
|
243
227
|
- [DocumentFrontendResource](docs/DocumentFrontendResource.md)
|
|
@@ -263,7 +247,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
263
247
|
- [GetAllProductChildRequest](docs/GetAllProductChildRequest.md)
|
|
264
248
|
- [GetAllProductRequest](docs/GetAllProductRequest.md)
|
|
265
249
|
- [GetAllProductTypeRequest](docs/GetAllProductTypeRequest.md)
|
|
266
|
-
- [GetAllStoreRequest](docs/GetAllStoreRequest.md)
|
|
267
250
|
- [GetAllSupplierRequest](docs/GetAllSupplierRequest.md)
|
|
268
251
|
- [GetHierarchyProductCategoryRequest](docs/GetHierarchyProductCategoryRequest.md)
|
|
269
252
|
- [GlobalSearchCategoryResource](docs/GlobalSearchCategoryResource.md)
|
|
@@ -361,6 +344,10 @@ All URIs are relative to *http://localhost/api*
|
|
|
361
344
|
- [ProductCategoryLiteResourceArrayResponse](docs/ProductCategoryLiteResourceArrayResponse.md)
|
|
362
345
|
- [ProductCategoryResource](docs/ProductCategoryResource.md)
|
|
363
346
|
- [ProductCategoryResourceArrayResponse](docs/ProductCategoryResourceArrayResponse.md)
|
|
347
|
+
- [ProductChildAttributeGroupedResource](docs/ProductChildAttributeGroupedResource.md)
|
|
348
|
+
- [ProductChildAttributeGroupedResourceArrayResponse](docs/ProductChildAttributeGroupedResourceArrayResponse.md)
|
|
349
|
+
- [ProductChildAttributeResource](docs/ProductChildAttributeResource.md)
|
|
350
|
+
- [ProductChildAttributeResourceArrayResponse](docs/ProductChildAttributeResourceArrayResponse.md)
|
|
364
351
|
- [ProductChildListResource](docs/ProductChildListResource.md)
|
|
365
352
|
- [ProductChildListResourceArrayResponse](docs/ProductChildListResourceArrayResponse.md)
|
|
366
353
|
- [ProductChildLiteResource](docs/ProductChildLiteResource.md)
|
|
@@ -375,6 +362,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
375
362
|
- [ProductChildSiteDetailLiteResourceArrayResponse](docs/ProductChildSiteDetailLiteResourceArrayResponse.md)
|
|
376
363
|
- [ProductChildSiteDetailResource](docs/ProductChildSiteDetailResource.md)
|
|
377
364
|
- [ProductChildSiteDetailResourceArrayResponse](docs/ProductChildSiteDetailResourceArrayResponse.md)
|
|
365
|
+
- [ProductClassResource](docs/ProductClassResource.md)
|
|
366
|
+
- [ProductClassResourceArrayResponse](docs/ProductClassResourceArrayResponse.md)
|
|
378
367
|
- [ProductCompareResource](docs/ProductCompareResource.md)
|
|
379
368
|
- [ProductCompareResourceArrayResponse](docs/ProductCompareResourceArrayResponse.md)
|
|
380
369
|
- [ProductListResource](docs/ProductListResource.md)
|
|
@@ -399,6 +388,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
399
388
|
- [ProductTypeResourceArrayResponse](docs/ProductTypeResourceArrayResponse.md)
|
|
400
389
|
- [SEOResource](docs/SEOResource.md)
|
|
401
390
|
- [SEOResourceArrayResponse](docs/SEOResourceArrayResponse.md)
|
|
391
|
+
- [ShowAttributesProductChildRequest](docs/ShowAttributesProductChildRequest.md)
|
|
402
392
|
- [SiteConfigResource](docs/SiteConfigResource.md)
|
|
403
393
|
- [SiteConfigResourceArrayResponse](docs/SiteConfigResourceArrayResponse.md)
|
|
404
394
|
- [SiteListResource](docs/SiteListResource.md)
|
|
@@ -420,8 +410,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
420
410
|
- [StoreDefinitionRequest](docs/StoreDefinitionRequest.md)
|
|
421
411
|
- [StoreDocumentFileRequest](docs/StoreDocumentFileRequest.md)
|
|
422
412
|
- [StoreDocumentRequest](docs/StoreDocumentRequest.md)
|
|
423
|
-
- [StoreListResource](docs/StoreListResource.md)
|
|
424
|
-
- [StoreListResourceArrayResponse](docs/StoreListResourceArrayResponse.md)
|
|
425
413
|
- [StoreOverlayTemplateAssetRequest](docs/StoreOverlayTemplateAssetRequest.md)
|
|
426
414
|
- [StoreOverlayTemplateRequest](docs/StoreOverlayTemplateRequest.md)
|
|
427
415
|
- [StoreProductCategoryRequest](docs/StoreProductCategoryRequest.md)
|
|
@@ -435,14 +423,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
435
423
|
- [StoreProductRequest](docs/StoreProductRequest.md)
|
|
436
424
|
- [StoreProductRequestCategoriesInner](docs/StoreProductRequestCategoriesInner.md)
|
|
437
425
|
- [StoreProductTypeRequest](docs/StoreProductTypeRequest.md)
|
|
438
|
-
- [StoreResource](docs/StoreResource.md)
|
|
439
|
-
- [StoreResourceArrayResponse](docs/StoreResourceArrayResponse.md)
|
|
440
426
|
- [StoreSiteNotificationRequest](docs/StoreSiteNotificationRequest.md)
|
|
441
|
-
- [StoreSpecialDateResource](docs/StoreSpecialDateResource.md)
|
|
442
|
-
- [StoreSpecialDateResourceArrayResponse](docs/StoreSpecialDateResourceArrayResponse.md)
|
|
443
|
-
- [StoreStoreRequest](docs/StoreStoreRequest.md)
|
|
444
|
-
- [StoreStoreRequestSpecialDatesInner](docs/StoreStoreRequestSpecialDatesInner.md)
|
|
445
|
-
- [StoreStoreSpecialDateRequest](docs/StoreStoreSpecialDateRequest.md)
|
|
446
427
|
- [StoreSupplierRequest](docs/StoreSupplierRequest.md)
|
|
447
428
|
- [StoreTagRequest](docs/StoreTagRequest.md)
|
|
448
429
|
- [SupplierFrontendResource](docs/SupplierFrontendResource.md)
|
|
@@ -480,8 +461,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
480
461
|
- [UpdateProductTypeRequestPerformanceValuesInner](docs/UpdateProductTypeRequestPerformanceValuesInner.md)
|
|
481
462
|
- [UpdateSiteNotificationRequest](docs/UpdateSiteNotificationRequest.md)
|
|
482
463
|
- [UpdateSiteRequest](docs/UpdateSiteRequest.md)
|
|
483
|
-
- [UpdateStoreRequest](docs/UpdateStoreRequest.md)
|
|
484
|
-
- [UpdateStoreRequestSpecialDatesInner](docs/UpdateStoreRequestSpecialDatesInner.md)
|
|
485
464
|
- [UpdateSupplierRequest](docs/UpdateSupplierRequest.md)
|
|
486
465
|
- [UpdateTagRequest](docs/UpdateTagRequest.md)
|
|
487
466
|
- [WishlistCheckResource](docs/WishlistCheckResource.md)
|
|
@@ -501,7 +480,7 @@ and is automatically generated by the
|
|
|
501
480
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
502
481
|
|
|
503
482
|
- API version: `1.0.0`
|
|
504
|
-
- Package version: `0.0.
|
|
483
|
+
- Package version: `0.0.1104`
|
|
505
484
|
- Generator version: `7.20.0`
|
|
506
485
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
507
486
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AssetResourceArrayResponse, AttachAccessoriesProductChildRequest, AttachDocumentsProductChildRequest, DetachDocumentsProductChildRequest, GenericResponse, GetAllProductChildRequest, GetAllProductRequest, IndexProductChildRequest, IndexProductRequest, PaginatedProductChildListResourceResponse, PaginatedProductListResourceResponse, ProductChildLiteResourceArrayResponse, ProductChildResource, ProductLiteResourceArrayResponse, ProductResource, StoreProductChildRequest, StoreProductRequest, UpdateProductChildRequest, UpdateProductRequest } from '../models/index';
|
|
13
|
+
import type { AssetResourceArrayResponse, AttachAccessoriesProductChildRequest, AttachDocumentsProductChildRequest, DetachDocumentsProductChildRequest, GenericResponse, GetAllProductChildRequest, GetAllProductRequest, IndexProductChildRequest, IndexProductRequest, PaginatedProductChildListResourceResponse, PaginatedProductListResourceResponse, ProductChildAttributeGroupedResource, ProductChildLiteResourceArrayResponse, ProductChildResource, ProductLiteResourceArrayResponse, ProductResource, ShowAttributesProductChildRequest, StoreProductChildRequest, StoreProductRequest, UpdateProductChildRequest, UpdateProductRequest } from '../models/index';
|
|
14
14
|
export interface AttachAccessoriesProductChildOperationRequest {
|
|
15
15
|
productChild: number;
|
|
16
16
|
attachAccessoriesProductChildRequest?: AttachAccessoriesProductChildRequest;
|
|
@@ -64,6 +64,10 @@ export interface IndexProductChildOperationRequest {
|
|
|
64
64
|
export interface ShowAssetsProductChildRequest {
|
|
65
65
|
productChild: number;
|
|
66
66
|
}
|
|
67
|
+
export interface ShowAttributesProductChildOperationRequest {
|
|
68
|
+
productChild: number;
|
|
69
|
+
showAttributesProductChildRequest?: ShowAttributesProductChildRequest;
|
|
70
|
+
}
|
|
67
71
|
export interface ShowProductRequest {
|
|
68
72
|
product: number;
|
|
69
73
|
}
|
|
@@ -268,6 +272,18 @@ export declare class ProductApi extends runtime.BaseAPI {
|
|
|
268
272
|
* Auto-generated: showAssetsProductChild
|
|
269
273
|
*/
|
|
270
274
|
showAssetsProductChild(requestParameters: ShowAssetsProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AssetResourceArrayResponse>;
|
|
275
|
+
/**
|
|
276
|
+
* Creates request options for showAttributesProductChild without sending the request
|
|
277
|
+
*/
|
|
278
|
+
showAttributesProductChildRequestOpts(requestParameters: ShowAttributesProductChildOperationRequest): Promise<runtime.RequestOpts>;
|
|
279
|
+
/**
|
|
280
|
+
* Auto-generated: showAttributesProductChild
|
|
281
|
+
*/
|
|
282
|
+
showAttributesProductChildRaw(requestParameters: ShowAttributesProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildAttributeGroupedResource>>;
|
|
283
|
+
/**
|
|
284
|
+
* Auto-generated: showAttributesProductChild
|
|
285
|
+
*/
|
|
286
|
+
showAttributesProductChild(requestParameters: ShowAttributesProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductChildAttributeGroupedResource>;
|
|
271
287
|
/**
|
|
272
288
|
* Creates request options for showProduct without sending the request
|
|
273
289
|
*/
|
package/dist/apis/ProductApi.js
CHANGED
|
@@ -976,6 +976,67 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
976
976
|
});
|
|
977
977
|
});
|
|
978
978
|
};
|
|
979
|
+
/**
|
|
980
|
+
* Creates request options for showAttributesProductChild without sending the request
|
|
981
|
+
*/
|
|
982
|
+
ProductApi.prototype.showAttributesProductChildRequestOpts = function (requestParameters) {
|
|
983
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
984
|
+
var queryParameters, headerParameters, urlPath;
|
|
985
|
+
return __generator(this, function (_a) {
|
|
986
|
+
if (requestParameters['productChild'] == null) {
|
|
987
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling showAttributesProductChild().');
|
|
988
|
+
}
|
|
989
|
+
queryParameters = {};
|
|
990
|
+
headerParameters = {};
|
|
991
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
992
|
+
urlPath = "/admin-api/product/children/{productChild}/attributes";
|
|
993
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
994
|
+
return [2 /*return*/, {
|
|
995
|
+
path: urlPath,
|
|
996
|
+
method: 'POST',
|
|
997
|
+
headers: headerParameters,
|
|
998
|
+
query: queryParameters,
|
|
999
|
+
body: (0, index_1.ShowAttributesProductChildRequestToJSON)(requestParameters['showAttributesProductChildRequest']),
|
|
1000
|
+
}];
|
|
1001
|
+
});
|
|
1002
|
+
});
|
|
1003
|
+
};
|
|
1004
|
+
/**
|
|
1005
|
+
* Auto-generated: showAttributesProductChild
|
|
1006
|
+
*/
|
|
1007
|
+
ProductApi.prototype.showAttributesProductChildRaw = function (requestParameters, initOverrides) {
|
|
1008
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1009
|
+
var requestOptions, response;
|
|
1010
|
+
return __generator(this, function (_a) {
|
|
1011
|
+
switch (_a.label) {
|
|
1012
|
+
case 0: return [4 /*yield*/, this.showAttributesProductChildRequestOpts(requestParameters)];
|
|
1013
|
+
case 1:
|
|
1014
|
+
requestOptions = _a.sent();
|
|
1015
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1016
|
+
case 2:
|
|
1017
|
+
response = _a.sent();
|
|
1018
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductChildAttributeGroupedResourceFromJSON)(jsonValue); })];
|
|
1019
|
+
}
|
|
1020
|
+
});
|
|
1021
|
+
});
|
|
1022
|
+
};
|
|
1023
|
+
/**
|
|
1024
|
+
* Auto-generated: showAttributesProductChild
|
|
1025
|
+
*/
|
|
1026
|
+
ProductApi.prototype.showAttributesProductChild = function (requestParameters, initOverrides) {
|
|
1027
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1028
|
+
var response;
|
|
1029
|
+
return __generator(this, function (_a) {
|
|
1030
|
+
switch (_a.label) {
|
|
1031
|
+
case 0: return [4 /*yield*/, this.showAttributesProductChildRaw(requestParameters, initOverrides)];
|
|
1032
|
+
case 1:
|
|
1033
|
+
response = _a.sent();
|
|
1034
|
+
return [4 /*yield*/, response.value()];
|
|
1035
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1036
|
+
}
|
|
1037
|
+
});
|
|
1038
|
+
});
|
|
1039
|
+
};
|
|
979
1040
|
/**
|
|
980
1041
|
* Creates request options for showProduct without sending the request
|
|
981
1042
|
*/
|
|
@@ -10,18 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
14
|
-
export interface AttachStoresSupplierOperationRequest {
|
|
15
|
-
supplier: number;
|
|
16
|
-
attachStoresSupplierRequest?: AttachStoresSupplierRequest;
|
|
17
|
-
}
|
|
13
|
+
import type { GenericResponse, GetAllSupplierRequest, IndexSupplierRequest, PaginatedSupplierListResourceResponse, StoreSupplierRequest, SupplierLiteResourceArrayResponse, SupplierResource, UpdateSupplierRequest } from '../models/index';
|
|
18
14
|
export interface DestroySupplierRequest {
|
|
19
15
|
supplier: number;
|
|
20
16
|
}
|
|
21
|
-
export interface DetachStoresSupplierOperationRequest {
|
|
22
|
-
supplier: number;
|
|
23
|
-
detachStoresSupplierRequest?: DetachStoresSupplierRequest;
|
|
24
|
-
}
|
|
25
17
|
export interface ExportSupplierRequest {
|
|
26
18
|
indexSupplierRequest?: IndexSupplierRequest;
|
|
27
19
|
}
|
|
@@ -48,18 +40,6 @@ export interface UpdateSupplierOperationRequest {
|
|
|
48
40
|
*
|
|
49
41
|
*/
|
|
50
42
|
export declare class SupplierApi extends runtime.BaseAPI {
|
|
51
|
-
/**
|
|
52
|
-
* Creates request options for attachStoresSupplier without sending the request
|
|
53
|
-
*/
|
|
54
|
-
attachStoresSupplierRequestOpts(requestParameters: AttachStoresSupplierOperationRequest): Promise<runtime.RequestOpts>;
|
|
55
|
-
/**
|
|
56
|
-
* Auto-generated: attachStoresSupplier
|
|
57
|
-
*/
|
|
58
|
-
attachStoresSupplierRaw(requestParameters: AttachStoresSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SupplierResource>>;
|
|
59
|
-
/**
|
|
60
|
-
* Auto-generated: attachStoresSupplier
|
|
61
|
-
*/
|
|
62
|
-
attachStoresSupplier(requestParameters: AttachStoresSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupplierResource>;
|
|
63
43
|
/**
|
|
64
44
|
* Creates request options for destroySupplier without sending the request
|
|
65
45
|
*/
|
|
@@ -72,18 +52,6 @@ export declare class SupplierApi extends runtime.BaseAPI {
|
|
|
72
52
|
* Auto-generated: destroySupplier
|
|
73
53
|
*/
|
|
74
54
|
destroySupplier(requestParameters: DestroySupplierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse>;
|
|
75
|
-
/**
|
|
76
|
-
* Creates request options for detachStoresSupplier without sending the request
|
|
77
|
-
*/
|
|
78
|
-
detachStoresSupplierRequestOpts(requestParameters: DetachStoresSupplierOperationRequest): Promise<runtime.RequestOpts>;
|
|
79
|
-
/**
|
|
80
|
-
* Auto-generated: detachStoresSupplier
|
|
81
|
-
*/
|
|
82
|
-
detachStoresSupplierRaw(requestParameters: DetachStoresSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SupplierResource>>;
|
|
83
|
-
/**
|
|
84
|
-
* Auto-generated: detachStoresSupplier
|
|
85
|
-
*/
|
|
86
|
-
detachStoresSupplier(requestParameters: DetachStoresSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupplierResource>;
|
|
87
55
|
/**
|
|
88
56
|
* Creates request options for exportSupplier without sending the request
|
|
89
57
|
*/
|
package/dist/apis/SupplierApi.js
CHANGED
|
@@ -75,67 +75,6 @@ var SupplierApi = /** @class */ (function (_super) {
|
|
|
75
75
|
function SupplierApi() {
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
|
-
/**
|
|
79
|
-
* Creates request options for attachStoresSupplier without sending the request
|
|
80
|
-
*/
|
|
81
|
-
SupplierApi.prototype.attachStoresSupplierRequestOpts = function (requestParameters) {
|
|
82
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
-
var queryParameters, headerParameters, urlPath;
|
|
84
|
-
return __generator(this, function (_a) {
|
|
85
|
-
if (requestParameters['supplier'] == null) {
|
|
86
|
-
throw new runtime.RequiredError('supplier', 'Required parameter "supplier" was null or undefined when calling attachStoresSupplier().');
|
|
87
|
-
}
|
|
88
|
-
queryParameters = {};
|
|
89
|
-
headerParameters = {};
|
|
90
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
91
|
-
urlPath = "/admin-api/supplier/{supplier}/attach-stores";
|
|
92
|
-
urlPath = urlPath.replace("{".concat("supplier", "}"), encodeURIComponent(String(requestParameters['supplier'])));
|
|
93
|
-
return [2 /*return*/, {
|
|
94
|
-
path: urlPath,
|
|
95
|
-
method: 'POST',
|
|
96
|
-
headers: headerParameters,
|
|
97
|
-
query: queryParameters,
|
|
98
|
-
body: (0, index_1.AttachStoresSupplierRequestToJSON)(requestParameters['attachStoresSupplierRequest']),
|
|
99
|
-
}];
|
|
100
|
-
});
|
|
101
|
-
});
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Auto-generated: attachStoresSupplier
|
|
105
|
-
*/
|
|
106
|
-
SupplierApi.prototype.attachStoresSupplierRaw = function (requestParameters, initOverrides) {
|
|
107
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
108
|
-
var requestOptions, response;
|
|
109
|
-
return __generator(this, function (_a) {
|
|
110
|
-
switch (_a.label) {
|
|
111
|
-
case 0: return [4 /*yield*/, this.attachStoresSupplierRequestOpts(requestParameters)];
|
|
112
|
-
case 1:
|
|
113
|
-
requestOptions = _a.sent();
|
|
114
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
115
|
-
case 2:
|
|
116
|
-
response = _a.sent();
|
|
117
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SupplierResourceFromJSON)(jsonValue); })];
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
});
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* Auto-generated: attachStoresSupplier
|
|
124
|
-
*/
|
|
125
|
-
SupplierApi.prototype.attachStoresSupplier = function (requestParameters, initOverrides) {
|
|
126
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
127
|
-
var response;
|
|
128
|
-
return __generator(this, function (_a) {
|
|
129
|
-
switch (_a.label) {
|
|
130
|
-
case 0: return [4 /*yield*/, this.attachStoresSupplierRaw(requestParameters, initOverrides)];
|
|
131
|
-
case 1:
|
|
132
|
-
response = _a.sent();
|
|
133
|
-
return [4 /*yield*/, response.value()];
|
|
134
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
};
|
|
139
78
|
/**
|
|
140
79
|
* Creates request options for destroySupplier without sending the request
|
|
141
80
|
*/
|
|
@@ -195,67 +134,6 @@ var SupplierApi = /** @class */ (function (_super) {
|
|
|
195
134
|
});
|
|
196
135
|
});
|
|
197
136
|
};
|
|
198
|
-
/**
|
|
199
|
-
* Creates request options for detachStoresSupplier without sending the request
|
|
200
|
-
*/
|
|
201
|
-
SupplierApi.prototype.detachStoresSupplierRequestOpts = function (requestParameters) {
|
|
202
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
203
|
-
var queryParameters, headerParameters, urlPath;
|
|
204
|
-
return __generator(this, function (_a) {
|
|
205
|
-
if (requestParameters['supplier'] == null) {
|
|
206
|
-
throw new runtime.RequiredError('supplier', 'Required parameter "supplier" was null or undefined when calling detachStoresSupplier().');
|
|
207
|
-
}
|
|
208
|
-
queryParameters = {};
|
|
209
|
-
headerParameters = {};
|
|
210
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
211
|
-
urlPath = "/admin-api/supplier/{supplier}/detach-stores";
|
|
212
|
-
urlPath = urlPath.replace("{".concat("supplier", "}"), encodeURIComponent(String(requestParameters['supplier'])));
|
|
213
|
-
return [2 /*return*/, {
|
|
214
|
-
path: urlPath,
|
|
215
|
-
method: 'POST',
|
|
216
|
-
headers: headerParameters,
|
|
217
|
-
query: queryParameters,
|
|
218
|
-
body: (0, index_1.DetachStoresSupplierRequestToJSON)(requestParameters['detachStoresSupplierRequest']),
|
|
219
|
-
}];
|
|
220
|
-
});
|
|
221
|
-
});
|
|
222
|
-
};
|
|
223
|
-
/**
|
|
224
|
-
* Auto-generated: detachStoresSupplier
|
|
225
|
-
*/
|
|
226
|
-
SupplierApi.prototype.detachStoresSupplierRaw = function (requestParameters, initOverrides) {
|
|
227
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
228
|
-
var requestOptions, response;
|
|
229
|
-
return __generator(this, function (_a) {
|
|
230
|
-
switch (_a.label) {
|
|
231
|
-
case 0: return [4 /*yield*/, this.detachStoresSupplierRequestOpts(requestParameters)];
|
|
232
|
-
case 1:
|
|
233
|
-
requestOptions = _a.sent();
|
|
234
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
235
|
-
case 2:
|
|
236
|
-
response = _a.sent();
|
|
237
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SupplierResourceFromJSON)(jsonValue); })];
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
});
|
|
241
|
-
};
|
|
242
|
-
/**
|
|
243
|
-
* Auto-generated: detachStoresSupplier
|
|
244
|
-
*/
|
|
245
|
-
SupplierApi.prototype.detachStoresSupplier = function (requestParameters, initOverrides) {
|
|
246
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
247
|
-
var response;
|
|
248
|
-
return __generator(this, function (_a) {
|
|
249
|
-
switch (_a.label) {
|
|
250
|
-
case 0: return [4 /*yield*/, this.detachStoresSupplierRaw(requestParameters, initOverrides)];
|
|
251
|
-
case 1:
|
|
252
|
-
response = _a.sent();
|
|
253
|
-
return [4 /*yield*/, response.value()];
|
|
254
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
255
|
-
}
|
|
256
|
-
});
|
|
257
|
-
});
|
|
258
|
-
};
|
|
259
137
|
/**
|
|
260
138
|
* Creates request options for exportSupplier without sending the request
|
|
261
139
|
*/
|
package/dist/apis/index.d.ts
CHANGED
package/dist/apis/index.js
CHANGED
|
@@ -27,6 +27,5 @@ __exportStar(require("./ProductApi"), exports);
|
|
|
27
27
|
__exportStar(require("./ProductCategoryApi"), exports);
|
|
28
28
|
__exportStar(require("./ProductTypeApi"), exports);
|
|
29
29
|
__exportStar(require("./SiteApi"), exports);
|
|
30
|
-
__exportStar(require("./StoreApi"), exports);
|
|
31
30
|
__exportStar(require("./SupplierApi"), exports);
|
|
32
31
|
__exportStar(require("./TagApi"), exports);
|