@digital8/lighting-illusions-ts-sdk 0.0.1116 → 0.0.1118
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 -38
- package/README.md +6 -32
- package/dist/apis/ProductApi.d.ts +6 -5
- package/dist/apis/ProductApi.js +4 -2
- 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/AssetWithOverlayLinkResource.d.ts +93 -0
- package/dist/models/AssetWithOverlayLinkResource.js +90 -0
- package/dist/models/AssetWithOverlayLinkResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetWithOverlayLinkResourceArrayResponse.js +50 -0
- package/dist/models/AttachAssetsOverlayTemplateRequest.d.ts +6 -0
- package/dist/models/AttachAssetsOverlayTemplateRequest.js +2 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/ShowAssetsProductChildRequest.d.ts +32 -0
- package/dist/models/ShowAssetsProductChildRequest.js +49 -0
- package/dist/models/SupplierResource.d.ts +0 -6
- package/dist/models/SupplierResource.js +0 -4
- package/dist/models/index.d.ts +3 -18
- package/dist/models/index.js +3 -18
- package/docs/AssetWithOverlayLinkResource.md +54 -0
- package/docs/{StoreListResourceArrayResponse.md → AssetWithOverlayLinkResourceArrayResponse.md} +5 -5
- package/docs/AttachAssetsOverlayTemplateRequest.md +2 -0
- package/docs/ProductApi.md +9 -6
- package/docs/{DetachStoresSupplierRequest.md → ShowAssetsProductChildRequest.md} +6 -6
- package/docs/SupplierApi.md +0 -138
- package/docs/SupplierResource.md +0 -2
- package/package.json +1 -1
- package/src/apis/ProductApi.ts +16 -9
- package/src/apis/SupplierApi.ts +0 -112
- package/src/apis/index.ts +0 -1
- package/src/models/AssetWithOverlayLinkResource.ts +163 -0
- package/src/models/AssetWithOverlayLinkResourceArrayResponse.ts +73 -0
- package/src/models/AttachAssetsOverlayTemplateRequest.ts +8 -0
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/ShowAssetsProductChildRequest.ts +65 -0
- package/src/models/SupplierResource.ts +0 -9
- package/src/models/index.ts +3 -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 -93
- package/dist/models/GetAllStoreRequest.js +0 -81
- 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 -114
- package/dist/models/StoreResource.js +0 -99
- 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/AddressResourceArrayResponse.md +0 -34
- package/docs/AttachStoresSupplierRequest.md +0 -34
- package/docs/AttachSuppliersStoreRequest.md +0 -34
- package/docs/DetachSuppliersStoreRequest.md +0 -34
- package/docs/GetAllStoreRequest.md +0 -48
- package/docs/StoreApi.md +0 -617
- package/docs/StoreListResource.md +0 -54
- package/docs/StoreResource.md +0 -60
- package/docs/StoreResourceArrayResponse.md +0 -34
- package/docs/StoreSpecialDateResource.md +0 -42
- 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 -144
- package/src/models/StoreListResource.ts +0 -160
- package/src/models/StoreListResourceArrayResponse.ts +0 -73
- package/src/models/StoreResource.ts +0 -208
- 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
|
|
@@ -13,6 +11,8 @@ docs/AssetLiteResource.md
|
|
|
13
11
|
docs/AssetLiteResourceArrayResponse.md
|
|
14
12
|
docs/AssetResource.md
|
|
15
13
|
docs/AssetResourceArrayResponse.md
|
|
14
|
+
docs/AssetWithOverlayLinkResource.md
|
|
15
|
+
docs/AssetWithOverlayLinkResourceArrayResponse.md
|
|
16
16
|
docs/AttachAccessoriesProductChildRequest.md
|
|
17
17
|
docs/AttachAssetsOverlayTemplateRequest.md
|
|
18
18
|
docs/AttachAttributeProductTypeRequest.md
|
|
@@ -22,8 +22,6 @@ docs/AttachDocumentsProductChildRequest.md
|
|
|
22
22
|
docs/AttachDocumentsProductChildRequestDocumentsInner.md
|
|
23
23
|
docs/AttachProductTypeAttributeRequest.md
|
|
24
24
|
docs/AttachProductsProductCategoryRequest.md
|
|
25
|
-
docs/AttachStoresSupplierRequest.md
|
|
26
|
-
docs/AttachSuppliersStoreRequest.md
|
|
27
25
|
docs/AttributeApi.md
|
|
28
26
|
docs/AttributeFieldType.md
|
|
29
27
|
docs/AttributeListResource.md
|
|
@@ -60,8 +58,6 @@ docs/DetachDocumentablesDocumentRequest.md
|
|
|
60
58
|
docs/DetachDocumentablesDocumentRequestDocumentablesInner.md
|
|
61
59
|
docs/DetachDocumentsProductChildRequest.md
|
|
62
60
|
docs/DetachProductsProductCategoryRequest.md
|
|
63
|
-
docs/DetachStoresSupplierRequest.md
|
|
64
|
-
docs/DetachSuppliersStoreRequest.md
|
|
65
61
|
docs/DocumentApi.md
|
|
66
62
|
docs/DocumentFileForUploadResource.md
|
|
67
63
|
docs/DocumentFileForUploadResourceArrayResponse.md
|
|
@@ -89,7 +85,6 @@ docs/GetAllProductCategoryRequest.md
|
|
|
89
85
|
docs/GetAllProductChildRequest.md
|
|
90
86
|
docs/GetAllProductRequest.md
|
|
91
87
|
docs/GetAllProductTypeRequest.md
|
|
92
|
-
docs/GetAllStoreRequest.md
|
|
93
88
|
docs/GetAllSupplierRequest.md
|
|
94
89
|
docs/GetHierarchyProductCategoryRequest.md
|
|
95
90
|
docs/GlobalSearchCategoryResource.md
|
|
@@ -232,6 +227,7 @@ docs/ProductTypeResource.md
|
|
|
232
227
|
docs/ProductTypeResourceArrayResponse.md
|
|
233
228
|
docs/SEOResource.md
|
|
234
229
|
docs/SEOResourceArrayResponse.md
|
|
230
|
+
docs/ShowAssetsProductChildRequest.md
|
|
235
231
|
docs/SiteApi.md
|
|
236
232
|
docs/SiteConfigResource.md
|
|
237
233
|
docs/SiteConfigResourceArrayResponse.md
|
|
@@ -247,7 +243,6 @@ docs/SitePaymentConfigResource.md
|
|
|
247
243
|
docs/SitePaymentConfigResourceArrayResponse.md
|
|
248
244
|
docs/SiteResource.md
|
|
249
245
|
docs/SiteResourceArrayResponse.md
|
|
250
|
-
docs/StoreApi.md
|
|
251
246
|
docs/StoreAssetFileRequest.md
|
|
252
247
|
docs/StoreAssetForAssetableRequest.md
|
|
253
248
|
docs/StoreAttributeRequest.md
|
|
@@ -255,8 +250,6 @@ docs/StoreAttributeValueRequest.md
|
|
|
255
250
|
docs/StoreDefinitionRequest.md
|
|
256
251
|
docs/StoreDocumentFileRequest.md
|
|
257
252
|
docs/StoreDocumentRequest.md
|
|
258
|
-
docs/StoreListResource.md
|
|
259
|
-
docs/StoreListResourceArrayResponse.md
|
|
260
253
|
docs/StoreOverlayTemplateAssetRequest.md
|
|
261
254
|
docs/StoreOverlayTemplateRequest.md
|
|
262
255
|
docs/StoreProductCategoryRequest.md
|
|
@@ -270,14 +263,7 @@ docs/StoreProductChildRequestSitesInner.md
|
|
|
270
263
|
docs/StoreProductRequest.md
|
|
271
264
|
docs/StoreProductRequestCategoriesInner.md
|
|
272
265
|
docs/StoreProductTypeRequest.md
|
|
273
|
-
docs/StoreResource.md
|
|
274
|
-
docs/StoreResourceArrayResponse.md
|
|
275
266
|
docs/StoreSiteNotificationRequest.md
|
|
276
|
-
docs/StoreSpecialDateResource.md
|
|
277
|
-
docs/StoreSpecialDateResourceArrayResponse.md
|
|
278
|
-
docs/StoreStoreRequest.md
|
|
279
|
-
docs/StoreStoreRequestSpecialDatesInner.md
|
|
280
|
-
docs/StoreStoreSpecialDateRequest.md
|
|
281
267
|
docs/StoreSupplierRequest.md
|
|
282
268
|
docs/StoreTagRequest.md
|
|
283
269
|
docs/SupplierApi.md
|
|
@@ -317,8 +303,6 @@ docs/UpdateProductTypeRequest.md
|
|
|
317
303
|
docs/UpdateProductTypeRequestPerformanceValuesInner.md
|
|
318
304
|
docs/UpdateSiteNotificationRequest.md
|
|
319
305
|
docs/UpdateSiteRequest.md
|
|
320
|
-
docs/UpdateStoreRequest.md
|
|
321
|
-
docs/UpdateStoreRequestSpecialDatesInner.md
|
|
322
306
|
docs/UpdateSupplierRequest.md
|
|
323
307
|
docs/UpdateTagRequest.md
|
|
324
308
|
docs/WishlistCheckResource.md
|
|
@@ -337,13 +321,10 @@ src/apis/ProductApi.ts
|
|
|
337
321
|
src/apis/ProductCategoryApi.ts
|
|
338
322
|
src/apis/ProductTypeApi.ts
|
|
339
323
|
src/apis/SiteApi.ts
|
|
340
|
-
src/apis/StoreApi.ts
|
|
341
324
|
src/apis/SupplierApi.ts
|
|
342
325
|
src/apis/TagApi.ts
|
|
343
326
|
src/apis/index.ts
|
|
344
327
|
src/index.ts
|
|
345
|
-
src/models/AddressResource.ts
|
|
346
|
-
src/models/AddressResourceArrayResponse.ts
|
|
347
328
|
src/models/AssetFileForUploadResource.ts
|
|
348
329
|
src/models/AssetFileForUploadResourceArrayResponse.ts
|
|
349
330
|
src/models/AssetFrontendResource.ts
|
|
@@ -352,6 +333,8 @@ src/models/AssetLiteResource.ts
|
|
|
352
333
|
src/models/AssetLiteResourceArrayResponse.ts
|
|
353
334
|
src/models/AssetResource.ts
|
|
354
335
|
src/models/AssetResourceArrayResponse.ts
|
|
336
|
+
src/models/AssetWithOverlayLinkResource.ts
|
|
337
|
+
src/models/AssetWithOverlayLinkResourceArrayResponse.ts
|
|
355
338
|
src/models/AttachAccessoriesProductChildRequest.ts
|
|
356
339
|
src/models/AttachAssetsOverlayTemplateRequest.ts
|
|
357
340
|
src/models/AttachAttributeProductTypeRequest.ts
|
|
@@ -361,8 +344,6 @@ src/models/AttachDocumentsProductChildRequest.ts
|
|
|
361
344
|
src/models/AttachDocumentsProductChildRequestDocumentsInner.ts
|
|
362
345
|
src/models/AttachProductTypeAttributeRequest.ts
|
|
363
346
|
src/models/AttachProductsProductCategoryRequest.ts
|
|
364
|
-
src/models/AttachStoresSupplierRequest.ts
|
|
365
|
-
src/models/AttachSuppliersStoreRequest.ts
|
|
366
347
|
src/models/AttributeFieldType.ts
|
|
367
348
|
src/models/AttributeListResource.ts
|
|
368
349
|
src/models/AttributeListResourceArrayResponse.ts
|
|
@@ -397,8 +378,6 @@ src/models/DetachDocumentablesDocumentRequest.ts
|
|
|
397
378
|
src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts
|
|
398
379
|
src/models/DetachDocumentsProductChildRequest.ts
|
|
399
380
|
src/models/DetachProductsProductCategoryRequest.ts
|
|
400
|
-
src/models/DetachStoresSupplierRequest.ts
|
|
401
|
-
src/models/DetachSuppliersStoreRequest.ts
|
|
402
381
|
src/models/DocumentFileForUploadResource.ts
|
|
403
382
|
src/models/DocumentFileForUploadResourceArrayResponse.ts
|
|
404
383
|
src/models/DocumentFrontendResource.ts
|
|
@@ -424,7 +403,6 @@ src/models/GetAllProductCategoryRequest.ts
|
|
|
424
403
|
src/models/GetAllProductChildRequest.ts
|
|
425
404
|
src/models/GetAllProductRequest.ts
|
|
426
405
|
src/models/GetAllProductTypeRequest.ts
|
|
427
|
-
src/models/GetAllStoreRequest.ts
|
|
428
406
|
src/models/GetAllSupplierRequest.ts
|
|
429
407
|
src/models/GetHierarchyProductCategoryRequest.ts
|
|
430
408
|
src/models/GlobalSearchCategoryResource.ts
|
|
@@ -562,6 +540,7 @@ src/models/ProductTypeResource.ts
|
|
|
562
540
|
src/models/ProductTypeResourceArrayResponse.ts
|
|
563
541
|
src/models/SEOResource.ts
|
|
564
542
|
src/models/SEOResourceArrayResponse.ts
|
|
543
|
+
src/models/ShowAssetsProductChildRequest.ts
|
|
565
544
|
src/models/SiteConfigResource.ts
|
|
566
545
|
src/models/SiteConfigResourceArrayResponse.ts
|
|
567
546
|
src/models/SiteListResource.ts
|
|
@@ -583,8 +562,6 @@ src/models/StoreAttributeValueRequest.ts
|
|
|
583
562
|
src/models/StoreDefinitionRequest.ts
|
|
584
563
|
src/models/StoreDocumentFileRequest.ts
|
|
585
564
|
src/models/StoreDocumentRequest.ts
|
|
586
|
-
src/models/StoreListResource.ts
|
|
587
|
-
src/models/StoreListResourceArrayResponse.ts
|
|
588
565
|
src/models/StoreOverlayTemplateAssetRequest.ts
|
|
589
566
|
src/models/StoreOverlayTemplateRequest.ts
|
|
590
567
|
src/models/StoreProductCategoryRequest.ts
|
|
@@ -598,14 +575,7 @@ src/models/StoreProductChildRequestSitesInner.ts
|
|
|
598
575
|
src/models/StoreProductRequest.ts
|
|
599
576
|
src/models/StoreProductRequestCategoriesInner.ts
|
|
600
577
|
src/models/StoreProductTypeRequest.ts
|
|
601
|
-
src/models/StoreResource.ts
|
|
602
|
-
src/models/StoreResourceArrayResponse.ts
|
|
603
578
|
src/models/StoreSiteNotificationRequest.ts
|
|
604
|
-
src/models/StoreSpecialDateResource.ts
|
|
605
|
-
src/models/StoreSpecialDateResourceArrayResponse.ts
|
|
606
|
-
src/models/StoreStoreRequest.ts
|
|
607
|
-
src/models/StoreStoreRequestSpecialDatesInner.ts
|
|
608
|
-
src/models/StoreStoreSpecialDateRequest.ts
|
|
609
579
|
src/models/StoreSupplierRequest.ts
|
|
610
580
|
src/models/StoreTagRequest.ts
|
|
611
581
|
src/models/SupplierFrontendResource.ts
|
|
@@ -643,8 +613,6 @@ src/models/UpdateProductTypeRequest.ts
|
|
|
643
613
|
src/models/UpdateProductTypeRequestPerformanceValuesInner.ts
|
|
644
614
|
src/models/UpdateSiteNotificationRequest.ts
|
|
645
615
|
src/models/UpdateSiteRequest.ts
|
|
646
|
-
src/models/UpdateStoreRequest.ts
|
|
647
|
-
src/models/UpdateStoreRequestSpecialDatesInner.ts
|
|
648
616
|
src/models/UpdateSupplierRequest.ts
|
|
649
617
|
src/models/UpdateTagRequest.ts
|
|
650
618
|
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.1118
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -113,7 +113,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
113
113
|
*ProductApi* | [**getCompatibleProductsProductChild**](docs/ProductApi.md#getcompatibleproductsproductchild) | **POST** /admin-api/product/children/{productChild}/compatible-product/list | Auto-generated: getCompatibleProductsProductChild
|
|
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
|
-
*ProductApi* | [**showAssetsProductChild**](docs/ProductApi.md#
|
|
116
|
+
*ProductApi* | [**showAssetsProductChild**](docs/ProductApi.md#showassetsproductchildoperation) | **POST** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild
|
|
117
117
|
*ProductApi* | [**showProduct**](docs/ProductApi.md#showproduct) | **GET** /admin-api/product/parent/{product} | Auto-generated: showProduct
|
|
118
118
|
*ProductApi* | [**showProductChild**](docs/ProductApi.md#showproductchild) | **GET** /admin-api/product/children/{productChild} | Auto-generated: showProductChild
|
|
119
119
|
*ProductApi* | [**storeProduct**](docs/ProductApi.md#storeproductoperation) | **POST** /admin-api/product/parent/create | Auto-generated: storeProduct
|
|
@@ -150,18 +150,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
150
150
|
*SiteApi* | [**storeSiteNotification**](docs/SiteApi.md#storesitenotificationoperation) | **POST** /admin-api/site/notification/create | Auto-generated: storeSiteNotification
|
|
151
151
|
*SiteApi* | [**updateSite**](docs/SiteApi.md#updatesiteoperation) | **PUT** /admin-api/site/{site}/update | Auto-generated: updateSite
|
|
152
152
|
*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
153
|
*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
154
|
*SupplierApi* | [**exportSupplier**](docs/SupplierApi.md#exportsupplier) | **POST** /admin-api/supplier/export | Auto-generated: exportSupplier
|
|
166
155
|
*SupplierApi* | [**getAllSupplier**](docs/SupplierApi.md#getallsupplieroperation) | **POST** /admin-api/supplier/all | Auto-generated: getAllSupplier
|
|
167
156
|
*SupplierApi* | [**importSupplier**](docs/SupplierApi.md#importsupplier) | **POST** /admin-api/supplier/import | Auto-generated: importSupplier
|
|
@@ -181,8 +170,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
181
170
|
|
|
182
171
|
### Models
|
|
183
172
|
|
|
184
|
-
- [AddressResource](docs/AddressResource.md)
|
|
185
|
-
- [AddressResourceArrayResponse](docs/AddressResourceArrayResponse.md)
|
|
186
173
|
- [AssetFileForUploadResource](docs/AssetFileForUploadResource.md)
|
|
187
174
|
- [AssetFileForUploadResourceArrayResponse](docs/AssetFileForUploadResourceArrayResponse.md)
|
|
188
175
|
- [AssetFrontendResource](docs/AssetFrontendResource.md)
|
|
@@ -191,6 +178,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
191
178
|
- [AssetLiteResourceArrayResponse](docs/AssetLiteResourceArrayResponse.md)
|
|
192
179
|
- [AssetResource](docs/AssetResource.md)
|
|
193
180
|
- [AssetResourceArrayResponse](docs/AssetResourceArrayResponse.md)
|
|
181
|
+
- [AssetWithOverlayLinkResource](docs/AssetWithOverlayLinkResource.md)
|
|
182
|
+
- [AssetWithOverlayLinkResourceArrayResponse](docs/AssetWithOverlayLinkResourceArrayResponse.md)
|
|
194
183
|
- [AttachAccessoriesProductChildRequest](docs/AttachAccessoriesProductChildRequest.md)
|
|
195
184
|
- [AttachAssetsOverlayTemplateRequest](docs/AttachAssetsOverlayTemplateRequest.md)
|
|
196
185
|
- [AttachAttributeProductTypeRequest](docs/AttachAttributeProductTypeRequest.md)
|
|
@@ -200,8 +189,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
200
189
|
- [AttachDocumentsProductChildRequestDocumentsInner](docs/AttachDocumentsProductChildRequestDocumentsInner.md)
|
|
201
190
|
- [AttachProductTypeAttributeRequest](docs/AttachProductTypeAttributeRequest.md)
|
|
202
191
|
- [AttachProductsProductCategoryRequest](docs/AttachProductsProductCategoryRequest.md)
|
|
203
|
-
- [AttachStoresSupplierRequest](docs/AttachStoresSupplierRequest.md)
|
|
204
|
-
- [AttachSuppliersStoreRequest](docs/AttachSuppliersStoreRequest.md)
|
|
205
192
|
- [AttributeFieldType](docs/AttributeFieldType.md)
|
|
206
193
|
- [AttributeListResource](docs/AttributeListResource.md)
|
|
207
194
|
- [AttributeListResourceArrayResponse](docs/AttributeListResourceArrayResponse.md)
|
|
@@ -236,8 +223,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
236
223
|
- [DetachDocumentablesDocumentRequestDocumentablesInner](docs/DetachDocumentablesDocumentRequestDocumentablesInner.md)
|
|
237
224
|
- [DetachDocumentsProductChildRequest](docs/DetachDocumentsProductChildRequest.md)
|
|
238
225
|
- [DetachProductsProductCategoryRequest](docs/DetachProductsProductCategoryRequest.md)
|
|
239
|
-
- [DetachStoresSupplierRequest](docs/DetachStoresSupplierRequest.md)
|
|
240
|
-
- [DetachSuppliersStoreRequest](docs/DetachSuppliersStoreRequest.md)
|
|
241
226
|
- [DocumentFileForUploadResource](docs/DocumentFileForUploadResource.md)
|
|
242
227
|
- [DocumentFileForUploadResourceArrayResponse](docs/DocumentFileForUploadResourceArrayResponse.md)
|
|
243
228
|
- [DocumentFrontendResource](docs/DocumentFrontendResource.md)
|
|
@@ -263,7 +248,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
263
248
|
- [GetAllProductChildRequest](docs/GetAllProductChildRequest.md)
|
|
264
249
|
- [GetAllProductRequest](docs/GetAllProductRequest.md)
|
|
265
250
|
- [GetAllProductTypeRequest](docs/GetAllProductTypeRequest.md)
|
|
266
|
-
- [GetAllStoreRequest](docs/GetAllStoreRequest.md)
|
|
267
251
|
- [GetAllSupplierRequest](docs/GetAllSupplierRequest.md)
|
|
268
252
|
- [GetHierarchyProductCategoryRequest](docs/GetHierarchyProductCategoryRequest.md)
|
|
269
253
|
- [GlobalSearchCategoryResource](docs/GlobalSearchCategoryResource.md)
|
|
@@ -401,6 +385,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
401
385
|
- [ProductTypeResourceArrayResponse](docs/ProductTypeResourceArrayResponse.md)
|
|
402
386
|
- [SEOResource](docs/SEOResource.md)
|
|
403
387
|
- [SEOResourceArrayResponse](docs/SEOResourceArrayResponse.md)
|
|
388
|
+
- [ShowAssetsProductChildRequest](docs/ShowAssetsProductChildRequest.md)
|
|
404
389
|
- [SiteConfigResource](docs/SiteConfigResource.md)
|
|
405
390
|
- [SiteConfigResourceArrayResponse](docs/SiteConfigResourceArrayResponse.md)
|
|
406
391
|
- [SiteListResource](docs/SiteListResource.md)
|
|
@@ -422,8 +407,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
422
407
|
- [StoreDefinitionRequest](docs/StoreDefinitionRequest.md)
|
|
423
408
|
- [StoreDocumentFileRequest](docs/StoreDocumentFileRequest.md)
|
|
424
409
|
- [StoreDocumentRequest](docs/StoreDocumentRequest.md)
|
|
425
|
-
- [StoreListResource](docs/StoreListResource.md)
|
|
426
|
-
- [StoreListResourceArrayResponse](docs/StoreListResourceArrayResponse.md)
|
|
427
410
|
- [StoreOverlayTemplateAssetRequest](docs/StoreOverlayTemplateAssetRequest.md)
|
|
428
411
|
- [StoreOverlayTemplateRequest](docs/StoreOverlayTemplateRequest.md)
|
|
429
412
|
- [StoreProductCategoryRequest](docs/StoreProductCategoryRequest.md)
|
|
@@ -437,14 +420,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
437
420
|
- [StoreProductRequest](docs/StoreProductRequest.md)
|
|
438
421
|
- [StoreProductRequestCategoriesInner](docs/StoreProductRequestCategoriesInner.md)
|
|
439
422
|
- [StoreProductTypeRequest](docs/StoreProductTypeRequest.md)
|
|
440
|
-
- [StoreResource](docs/StoreResource.md)
|
|
441
|
-
- [StoreResourceArrayResponse](docs/StoreResourceArrayResponse.md)
|
|
442
423
|
- [StoreSiteNotificationRequest](docs/StoreSiteNotificationRequest.md)
|
|
443
|
-
- [StoreSpecialDateResource](docs/StoreSpecialDateResource.md)
|
|
444
|
-
- [StoreSpecialDateResourceArrayResponse](docs/StoreSpecialDateResourceArrayResponse.md)
|
|
445
|
-
- [StoreStoreRequest](docs/StoreStoreRequest.md)
|
|
446
|
-
- [StoreStoreRequestSpecialDatesInner](docs/StoreStoreRequestSpecialDatesInner.md)
|
|
447
|
-
- [StoreStoreSpecialDateRequest](docs/StoreStoreSpecialDateRequest.md)
|
|
448
424
|
- [StoreSupplierRequest](docs/StoreSupplierRequest.md)
|
|
449
425
|
- [StoreTagRequest](docs/StoreTagRequest.md)
|
|
450
426
|
- [SupplierFrontendResource](docs/SupplierFrontendResource.md)
|
|
@@ -482,8 +458,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
482
458
|
- [UpdateProductTypeRequestPerformanceValuesInner](docs/UpdateProductTypeRequestPerformanceValuesInner.md)
|
|
483
459
|
- [UpdateSiteNotificationRequest](docs/UpdateSiteNotificationRequest.md)
|
|
484
460
|
- [UpdateSiteRequest](docs/UpdateSiteRequest.md)
|
|
485
|
-
- [UpdateStoreRequest](docs/UpdateStoreRequest.md)
|
|
486
|
-
- [UpdateStoreRequestSpecialDatesInner](docs/UpdateStoreRequestSpecialDatesInner.md)
|
|
487
461
|
- [UpdateSupplierRequest](docs/UpdateSupplierRequest.md)
|
|
488
462
|
- [UpdateTagRequest](docs/UpdateTagRequest.md)
|
|
489
463
|
- [WishlistCheckResource](docs/WishlistCheckResource.md)
|
|
@@ -503,7 +477,7 @@ and is automatically generated by the
|
|
|
503
477
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
504
478
|
|
|
505
479
|
- API version: `1.0.0`
|
|
506
|
-
- Package version: `0.0.
|
|
480
|
+
- Package version: `0.0.1118`
|
|
507
481
|
- Generator version: `7.20.0`
|
|
508
482
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
509
483
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { AssetWithOverlayLinkResourceArrayResponse, AttachAccessoriesProductChildRequest, AttachDocumentsProductChildRequest, DetachDocumentsProductChildRequest, GenericResponse, GetAllProductChildRequest, GetAllProductRequest, IndexProductChildRequest, IndexProductRequest, PaginatedProductChildListResourceResponse, PaginatedProductListResourceResponse, ProductChildLiteResourceArrayResponse, ProductChildResource, ProductLiteResourceArrayResponse, ProductResource, ShowAssetsProductChildRequest, StoreProductChildRequest, StoreProductRequest, UpdateProductChildRequest, UpdateProductRequest } from '../models/index';
|
|
14
14
|
export interface AttachAccessoriesProductChildOperationRequest {
|
|
15
15
|
productChild: number;
|
|
16
16
|
attachAccessoriesProductChildRequest?: AttachAccessoriesProductChildRequest;
|
|
@@ -61,8 +61,9 @@ export interface IndexProductOperationRequest {
|
|
|
61
61
|
export interface IndexProductChildOperationRequest {
|
|
62
62
|
indexProductChildRequest?: IndexProductChildRequest;
|
|
63
63
|
}
|
|
64
|
-
export interface
|
|
64
|
+
export interface ShowAssetsProductChildOperationRequest {
|
|
65
65
|
productChild: number;
|
|
66
|
+
showAssetsProductChildRequest?: ShowAssetsProductChildRequest;
|
|
66
67
|
}
|
|
67
68
|
export interface ShowProductRequest {
|
|
68
69
|
product: number;
|
|
@@ -259,15 +260,15 @@ export declare class ProductApi extends runtime.BaseAPI {
|
|
|
259
260
|
/**
|
|
260
261
|
* Creates request options for showAssetsProductChild without sending the request
|
|
261
262
|
*/
|
|
262
|
-
showAssetsProductChildRequestOpts(requestParameters:
|
|
263
|
+
showAssetsProductChildRequestOpts(requestParameters: ShowAssetsProductChildOperationRequest): Promise<runtime.RequestOpts>;
|
|
263
264
|
/**
|
|
264
265
|
* Auto-generated: showAssetsProductChild
|
|
265
266
|
*/
|
|
266
|
-
showAssetsProductChildRaw(requestParameters:
|
|
267
|
+
showAssetsProductChildRaw(requestParameters: ShowAssetsProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AssetWithOverlayLinkResourceArrayResponse>>;
|
|
267
268
|
/**
|
|
268
269
|
* Auto-generated: showAssetsProductChild
|
|
269
270
|
*/
|
|
270
|
-
showAssetsProductChild(requestParameters:
|
|
271
|
+
showAssetsProductChild(requestParameters: ShowAssetsProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AssetWithOverlayLinkResourceArrayResponse>;
|
|
271
272
|
/**
|
|
272
273
|
* Creates request options for showProduct without sending the request
|
|
273
274
|
*/
|
package/dist/apis/ProductApi.js
CHANGED
|
@@ -929,13 +929,15 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
929
929
|
}
|
|
930
930
|
queryParameters = {};
|
|
931
931
|
headerParameters = {};
|
|
932
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
932
933
|
urlPath = "/admin-api/product/children/{productChild}/assets";
|
|
933
934
|
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
934
935
|
return [2 /*return*/, {
|
|
935
936
|
path: urlPath,
|
|
936
|
-
method: '
|
|
937
|
+
method: 'POST',
|
|
937
938
|
headers: headerParameters,
|
|
938
939
|
query: queryParameters,
|
|
940
|
+
body: (0, index_1.ShowAssetsProductChildRequestToJSON)(requestParameters['showAssetsProductChildRequest']),
|
|
939
941
|
}];
|
|
940
942
|
});
|
|
941
943
|
});
|
|
@@ -954,7 +956,7 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
954
956
|
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
955
957
|
case 2:
|
|
956
958
|
response = _a.sent();
|
|
957
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
959
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AssetWithOverlayLinkResourceArrayResponseFromJSON)(jsonValue); })];
|
|
958
960
|
}
|
|
959
961
|
});
|
|
960
962
|
});
|
|
@@ -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);
|