@digital8/lighting-illusions-ts-sdk 0.0.448 → 0.0.449
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 +0 -30
- package/README.md +2 -22
- package/dist/apis/AttributeApi.d.ts +3 -14
- package/dist/apis/AttributeApi.js +1 -46
- package/dist/apis/ProductTypeApi.d.ts +3 -14
- package/dist/apis/ProductTypeApi.js +1 -46
- package/dist/apis/SiteApi.d.ts +3 -14
- package/dist/apis/SiteApi.js +1 -46
- package/dist/apis/SupplierApi.d.ts +3 -14
- package/dist/apis/SupplierApi.js +1 -46
- package/dist/apis/TagApi.d.ts +3 -14
- package/dist/apis/TagApi.js +1 -46
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllAttributeRequest.d.ts +9 -9
- package/dist/models/GetAllAttributeRequest.js +4 -4
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -6
- package/dist/models/GetAllOverlayTemplateRequest.js +2 -2
- package/dist/models/GetAllProductRequest.d.ts +0 -30
- package/dist/models/GetAllProductRequest.js +0 -10
- package/dist/models/IndexAttributeRequest.d.ts +0 -19
- package/dist/models/IndexAttributeRequest.js +1 -11
- package/dist/models/IndexExternalApiLogRequest.d.ts +3 -15
- package/dist/models/IndexExternalApiLogRequest.js +4 -8
- package/dist/models/IndexOverlayTemplateRequest.d.ts +0 -12
- package/dist/models/IndexOverlayTemplateRequest.js +0 -4
- package/dist/models/IndexProductTypeRequest.d.ts +0 -19
- package/dist/models/IndexProductTypeRequest.js +1 -11
- package/dist/models/IndexSiteNotificationRequest.d.ts +0 -12
- package/dist/models/IndexSiteNotificationRequest.js +0 -4
- package/dist/models/IndexSiteRequest.d.ts +0 -12
- package/dist/models/IndexSiteRequest.js +0 -4
- package/dist/models/IndexSupplierRequest.d.ts +0 -19
- package/dist/models/IndexSupplierRequest.js +1 -11
- package/dist/models/IndexTagRequest.d.ts +0 -19
- package/dist/models/IndexTagRequest.js +1 -11
- package/dist/models/index.d.ts +0 -15
- package/dist/models/index.js +0 -15
- package/docs/AttributeApi.md +3 -69
- package/docs/GetAllAttributeRequest.md +4 -4
- package/docs/GetAllOverlayTemplateRequest.md +2 -2
- package/docs/GetAllProductRequest.md +0 -10
- package/docs/IndexAttributeRequest.md +0 -4
- package/docs/IndexExternalApiLogRequest.md +4 -8
- package/docs/IndexOverlayTemplateRequest.md +0 -4
- package/docs/IndexProductTypeRequest.md +0 -4
- package/docs/IndexSiteNotificationRequest.md +0 -4
- package/docs/IndexSiteRequest.md +0 -4
- package/docs/IndexSupplierRequest.md +0 -4
- package/docs/IndexTagRequest.md +0 -4
- package/docs/ProductTypeApi.md +3 -69
- package/docs/SiteApi.md +3 -69
- package/docs/SupplierApi.md +3 -69
- package/docs/TagApi.md +3 -69
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +6 -42
- package/src/apis/ProductTypeApi.ts +6 -42
- package/src/apis/SiteApi.ts +6 -42
- package/src/apis/SupplierApi.ts +6 -42
- package/src/apis/TagApi.ts +6 -42
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllAttributeRequest.ts +13 -13
- package/src/models/GetAllOverlayTemplateRequest.ts +8 -8
- package/src/models/GetAllProductRequest.ts +0 -40
- package/src/models/IndexAttributeRequest.ts +0 -24
- package/src/models/IndexExternalApiLogRequest.ts +7 -23
- package/src/models/IndexOverlayTemplateRequest.ts +0 -16
- package/src/models/IndexProductTypeRequest.ts +0 -24
- package/src/models/IndexSiteNotificationRequest.ts +0 -16
- package/src/models/IndexSiteRequest.ts +0 -16
- package/src/models/IndexSupplierRequest.ts +0 -24
- package/src/models/IndexTagRequest.ts +0 -24
- package/src/models/index.ts +0 -15
- package/dist/models/AttributeListResource.d.ts +0 -56
- package/dist/models/AttributeListResource.js +0 -67
- package/dist/models/AttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/AttributeListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductTypeListResourceResponse.js +0 -57
- package/dist/models/PaginatedSiteListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedSiteListResourceResponse.js +0 -57
- package/dist/models/PaginatedSupplierListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedSupplierListResourceResponse.js +0 -57
- package/dist/models/PaginatedTagListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedTagListResourceResponse.js +0 -57
- package/dist/models/ProductTypeListResource.d.ts +0 -38
- package/dist/models/ProductTypeListResource.js +0 -55
- package/dist/models/ProductTypeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductTypeListResourceArrayResponse.js +0 -50
- package/dist/models/SiteListResource.d.ts +0 -50
- package/dist/models/SiteListResource.js +0 -63
- package/dist/models/SiteListResourceArrayResponse.d.ts +0 -33
- package/dist/models/SiteListResourceArrayResponse.js +0 -50
- package/dist/models/SupplierListResource.d.ts +0 -57
- package/dist/models/SupplierListResource.js +0 -68
- package/dist/models/SupplierListResourceArrayResponse.d.ts +0 -33
- package/dist/models/SupplierListResourceArrayResponse.js +0 -50
- package/dist/models/TagListResource.d.ts +0 -57
- package/dist/models/TagListResource.js +0 -68
- package/dist/models/TagListResourceArrayResponse.d.ts +0 -33
- package/dist/models/TagListResourceArrayResponse.js +0 -50
- package/docs/AttributeListResource.md +0 -42
- package/docs/AttributeListResourceArrayResponse.md +0 -34
- package/docs/PaginatedAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
- package/docs/PaginatedSiteListResourceResponse.md +0 -36
- package/docs/PaginatedSupplierListResourceResponse.md +0 -36
- package/docs/PaginatedTagListResourceResponse.md +0 -36
- package/docs/ProductTypeListResource.md +0 -36
- package/docs/ProductTypeListResourceArrayResponse.md +0 -34
- package/docs/SiteListResource.md +0 -40
- package/docs/SiteListResourceArrayResponse.md +0 -34
- package/docs/SupplierListResource.md +0 -42
- package/docs/SupplierListResourceArrayResponse.md +0 -34
- package/docs/TagListResource.md +0 -42
- package/docs/TagListResourceArrayResponse.md +0 -34
- package/src/models/AttributeListResource.ts +0 -102
- package/src/models/AttributeListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductTypeListResourceResponse.ts +0 -90
- package/src/models/PaginatedSiteListResourceResponse.ts +0 -90
- package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
- package/src/models/PaginatedTagListResourceResponse.ts +0 -90
- package/src/models/ProductTypeListResource.ts +0 -75
- package/src/models/ProductTypeListResourceArrayResponse.ts +0 -73
- package/src/models/SiteListResource.ts +0 -93
- package/src/models/SiteListResourceArrayResponse.ts +0 -73
- package/src/models/SupplierListResource.ts +0 -110
- package/src/models/SupplierListResourceArrayResponse.ts +0 -73
- package/src/models/TagListResource.ts +0 -110
- package/src/models/TagListResourceArrayResponse.ts +0 -73
package/.openapi-generator/FILES
CHANGED
|
@@ -11,8 +11,6 @@ docs/AssetResource.md
|
|
|
11
11
|
docs/AssetResourceArrayResponse.md
|
|
12
12
|
docs/AttributeApi.md
|
|
13
13
|
docs/AttributeFieldType.md
|
|
14
|
-
docs/AttributeListResource.md
|
|
15
|
-
docs/AttributeListResourceArrayResponse.md
|
|
16
14
|
docs/AttributeLiteResource.md
|
|
17
15
|
docs/AttributeLiteResourceArrayResponse.md
|
|
18
16
|
docs/AttributeProductTypeRelationResource.md
|
|
@@ -59,7 +57,6 @@ docs/OverlayTemplateLiteResource.md
|
|
|
59
57
|
docs/OverlayTemplateLiteResourceArrayResponse.md
|
|
60
58
|
docs/OverlayTemplateResource.md
|
|
61
59
|
docs/OverlayTemplateResourceArrayResponse.md
|
|
62
|
-
docs/PaginatedAttributeListResourceResponse.md
|
|
63
60
|
docs/PaginatedAttributeLiteResourceResponse.md
|
|
64
61
|
docs/PaginatedAttributeProductTypeRelationResourceResponse.md
|
|
65
62
|
docs/PaginatedAttributeResourceResponse.md
|
|
@@ -72,18 +69,14 @@ docs/PaginatedProductChildRelationResourceResponse.md
|
|
|
72
69
|
docs/PaginatedProductChildResourceResponse.md
|
|
73
70
|
docs/PaginatedProductLiteResourceResponse.md
|
|
74
71
|
docs/PaginatedProductResourceResponse.md
|
|
75
|
-
docs/PaginatedProductTypeListResourceResponse.md
|
|
76
72
|
docs/PaginatedProductTypeLiteResourceResponse.md
|
|
77
73
|
docs/PaginatedProductTypeResourceResponse.md
|
|
78
|
-
docs/PaginatedSiteListResourceResponse.md
|
|
79
74
|
docs/PaginatedSiteLiteResourceResponse.md
|
|
80
75
|
docs/PaginatedSiteNotificationResourceResponse.md
|
|
81
76
|
docs/PaginatedSiteResourceResponse.md
|
|
82
77
|
docs/PaginatedSupplierFrontendResourceResponse.md
|
|
83
|
-
docs/PaginatedSupplierListResourceResponse.md
|
|
84
78
|
docs/PaginatedSupplierLiteResourceResponse.md
|
|
85
79
|
docs/PaginatedSupplierResourceResponse.md
|
|
86
|
-
docs/PaginatedTagListResourceResponse.md
|
|
87
80
|
docs/PaginatedTagLiteResourceResponse.md
|
|
88
81
|
docs/PaginatedTagResourceResponse.md
|
|
89
82
|
docs/PagingMetadata.md
|
|
@@ -103,8 +96,6 @@ docs/ProductLiteResourceArrayResponse.md
|
|
|
103
96
|
docs/ProductResource.md
|
|
104
97
|
docs/ProductResourceArrayResponse.md
|
|
105
98
|
docs/ProductTypeApi.md
|
|
106
|
-
docs/ProductTypeListResource.md
|
|
107
|
-
docs/ProductTypeListResourceArrayResponse.md
|
|
108
99
|
docs/ProductTypeLiteResource.md
|
|
109
100
|
docs/ProductTypeLiteResourceArrayResponse.md
|
|
110
101
|
docs/ProductTypeResource.md
|
|
@@ -114,8 +105,6 @@ docs/SEOResourceArrayResponse.md
|
|
|
114
105
|
docs/SiteApi.md
|
|
115
106
|
docs/SiteConfigResource.md
|
|
116
107
|
docs/SiteConfigResourceArrayResponse.md
|
|
117
|
-
docs/SiteListResource.md
|
|
118
|
-
docs/SiteListResourceArrayResponse.md
|
|
119
108
|
docs/SiteLiteResource.md
|
|
120
109
|
docs/SiteLiteResourceArrayResponse.md
|
|
121
110
|
docs/SiteNotificationResource.md
|
|
@@ -144,15 +133,11 @@ docs/StoreTagRequest.md
|
|
|
144
133
|
docs/SupplierApi.md
|
|
145
134
|
docs/SupplierFrontendResource.md
|
|
146
135
|
docs/SupplierFrontendResourceArrayResponse.md
|
|
147
|
-
docs/SupplierListResource.md
|
|
148
|
-
docs/SupplierListResourceArrayResponse.md
|
|
149
136
|
docs/SupplierLiteResource.md
|
|
150
137
|
docs/SupplierLiteResourceArrayResponse.md
|
|
151
138
|
docs/SupplierResource.md
|
|
152
139
|
docs/SupplierResourceArrayResponse.md
|
|
153
140
|
docs/TagApi.md
|
|
154
|
-
docs/TagListResource.md
|
|
155
|
-
docs/TagListResourceArrayResponse.md
|
|
156
141
|
docs/TagLiteResource.md
|
|
157
142
|
docs/TagLiteResourceArrayResponse.md
|
|
158
143
|
docs/TagResource.md
|
|
@@ -196,8 +181,6 @@ src/models/AssetLiteResourceArrayResponse.ts
|
|
|
196
181
|
src/models/AssetResource.ts
|
|
197
182
|
src/models/AssetResourceArrayResponse.ts
|
|
198
183
|
src/models/AttributeFieldType.ts
|
|
199
|
-
src/models/AttributeListResource.ts
|
|
200
|
-
src/models/AttributeListResourceArrayResponse.ts
|
|
201
184
|
src/models/AttributeLiteResource.ts
|
|
202
185
|
src/models/AttributeLiteResourceArrayResponse.ts
|
|
203
186
|
src/models/AttributeProductTypeRelationResource.ts
|
|
@@ -242,7 +225,6 @@ src/models/OverlayTemplateLiteResource.ts
|
|
|
242
225
|
src/models/OverlayTemplateLiteResourceArrayResponse.ts
|
|
243
226
|
src/models/OverlayTemplateResource.ts
|
|
244
227
|
src/models/OverlayTemplateResourceArrayResponse.ts
|
|
245
|
-
src/models/PaginatedAttributeListResourceResponse.ts
|
|
246
228
|
src/models/PaginatedAttributeLiteResourceResponse.ts
|
|
247
229
|
src/models/PaginatedAttributeProductTypeRelationResourceResponse.ts
|
|
248
230
|
src/models/PaginatedAttributeResourceResponse.ts
|
|
@@ -255,18 +237,14 @@ src/models/PaginatedProductChildRelationResourceResponse.ts
|
|
|
255
237
|
src/models/PaginatedProductChildResourceResponse.ts
|
|
256
238
|
src/models/PaginatedProductLiteResourceResponse.ts
|
|
257
239
|
src/models/PaginatedProductResourceResponse.ts
|
|
258
|
-
src/models/PaginatedProductTypeListResourceResponse.ts
|
|
259
240
|
src/models/PaginatedProductTypeLiteResourceResponse.ts
|
|
260
241
|
src/models/PaginatedProductTypeResourceResponse.ts
|
|
261
|
-
src/models/PaginatedSiteListResourceResponse.ts
|
|
262
242
|
src/models/PaginatedSiteLiteResourceResponse.ts
|
|
263
243
|
src/models/PaginatedSiteNotificationResourceResponse.ts
|
|
264
244
|
src/models/PaginatedSiteResourceResponse.ts
|
|
265
245
|
src/models/PaginatedSupplierFrontendResourceResponse.ts
|
|
266
|
-
src/models/PaginatedSupplierListResourceResponse.ts
|
|
267
246
|
src/models/PaginatedSupplierLiteResourceResponse.ts
|
|
268
247
|
src/models/PaginatedSupplierResourceResponse.ts
|
|
269
|
-
src/models/PaginatedTagListResourceResponse.ts
|
|
270
248
|
src/models/PaginatedTagLiteResourceResponse.ts
|
|
271
249
|
src/models/PaginatedTagResourceResponse.ts
|
|
272
250
|
src/models/PagingMetadata.ts
|
|
@@ -284,8 +262,6 @@ src/models/ProductLiteResource.ts
|
|
|
284
262
|
src/models/ProductLiteResourceArrayResponse.ts
|
|
285
263
|
src/models/ProductResource.ts
|
|
286
264
|
src/models/ProductResourceArrayResponse.ts
|
|
287
|
-
src/models/ProductTypeListResource.ts
|
|
288
|
-
src/models/ProductTypeListResourceArrayResponse.ts
|
|
289
265
|
src/models/ProductTypeLiteResource.ts
|
|
290
266
|
src/models/ProductTypeLiteResourceArrayResponse.ts
|
|
291
267
|
src/models/ProductTypeResource.ts
|
|
@@ -294,8 +270,6 @@ src/models/SEOResource.ts
|
|
|
294
270
|
src/models/SEOResourceArrayResponse.ts
|
|
295
271
|
src/models/SiteConfigResource.ts
|
|
296
272
|
src/models/SiteConfigResourceArrayResponse.ts
|
|
297
|
-
src/models/SiteListResource.ts
|
|
298
|
-
src/models/SiteListResourceArrayResponse.ts
|
|
299
273
|
src/models/SiteLiteResource.ts
|
|
300
274
|
src/models/SiteLiteResourceArrayResponse.ts
|
|
301
275
|
src/models/SiteNotificationResource.ts
|
|
@@ -323,14 +297,10 @@ src/models/StoreSupplierRequestSeoInner.ts
|
|
|
323
297
|
src/models/StoreTagRequest.ts
|
|
324
298
|
src/models/SupplierFrontendResource.ts
|
|
325
299
|
src/models/SupplierFrontendResourceArrayResponse.ts
|
|
326
|
-
src/models/SupplierListResource.ts
|
|
327
|
-
src/models/SupplierListResourceArrayResponse.ts
|
|
328
300
|
src/models/SupplierLiteResource.ts
|
|
329
301
|
src/models/SupplierLiteResourceArrayResponse.ts
|
|
330
302
|
src/models/SupplierResource.ts
|
|
331
303
|
src/models/SupplierResourceArrayResponse.ts
|
|
332
|
-
src/models/TagListResource.ts
|
|
333
|
-
src/models/TagListResourceArrayResponse.ts
|
|
334
304
|
src/models/TagLiteResource.ts
|
|
335
305
|
src/models/TagLiteResourceArrayResponse.ts
|
|
336
306
|
src/models/TagResource.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.449
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -56,7 +56,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
56
56
|
*AttributeApi* | [**getAllAttribute**](docs/AttributeApi.md#getallattributeoperation) | **POST** /admin-api/attribute/all | Auto-generated: getAllAttribute
|
|
57
57
|
*AttributeApi* | [**indexAttribute**](docs/AttributeApi.md#indexattributeoperation) | **POST** /admin-api/attribute/list | Auto-generated: indexAttribute
|
|
58
58
|
*AttributeApi* | [**linkProductTypeAttribute**](docs/AttributeApi.md#linkproducttypeattributeoperation) | **POST** /admin-api/attribute/{attribute}/link-product-type | Auto-generated: linkProductTypeAttribute
|
|
59
|
-
*AttributeApi* | [**searchExcludingRelationsAttribute**](docs/AttributeApi.md#searchexcludingrelationsattribute) | **POST** /admin-api/attribute/search-excluding-relations | Auto-generated: searchExcludingRelationsAttribute
|
|
60
59
|
*AttributeApi* | [**showAttribute**](docs/AttributeApi.md#showattribute) | **GET** /admin-api/attribute/{attribute} | Auto-generated: showAttribute
|
|
61
60
|
*AttributeApi* | [**storeAttribute**](docs/AttributeApi.md#storeattributeoperation) | **POST** /admin-api/attribute/create | Auto-generated: storeAttribute
|
|
62
61
|
*AttributeApi* | [**storeAttributeValue**](docs/AttributeApi.md#storeattributevalueoperation) | **POST** /admin-api/attribute/value/create | Auto-generated: storeAttributeValue
|
|
@@ -97,7 +96,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
97
96
|
*ProductTypeApi* | [**getAllProductType**](docs/ProductTypeApi.md#getallproducttypeoperation) | **POST** /admin-api/product-type/all | Auto-generated: getAllProductType
|
|
98
97
|
*ProductTypeApi* | [**indexProductType**](docs/ProductTypeApi.md#indexproducttypeoperation) | **POST** /admin-api/product-type/list | Auto-generated: indexProductType
|
|
99
98
|
*ProductTypeApi* | [**linkAttributeProductType**](docs/ProductTypeApi.md#linkattributeproducttypeoperation) | **POST** /admin-api/product-type/{productType}/link-attribute | Auto-generated: linkAttributeProductType
|
|
100
|
-
*ProductTypeApi* | [**searchExcludingRelationsProductType**](docs/ProductTypeApi.md#searchexcludingrelationsproducttype) | **POST** /admin-api/product-type/search-excluding-relations | Auto-generated: searchExcludingRelationsProductType
|
|
101
99
|
*ProductTypeApi* | [**showProductType**](docs/ProductTypeApi.md#showproducttype) | **GET** /admin-api/product-type/{productType} | Auto-generated: showProductType
|
|
102
100
|
*ProductTypeApi* | [**storeProductType**](docs/ProductTypeApi.md#storeproducttypeoperation) | **POST** /admin-api/product-type/create | Auto-generated: storeProductType
|
|
103
101
|
*ProductTypeApi* | [**unlinkAttributeProductType**](docs/ProductTypeApi.md#unlinkattributeproducttype) | **POST** /admin-api/product-type/{productType}/remove-attribute/{attribute} | Auto-generated: unlinkAttributeProductType
|
|
@@ -107,7 +105,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
107
105
|
*SiteApi* | [**getAllSite**](docs/SiteApi.md#getallsite) | **POST** /admin-api/site/all | Auto-generated: getAllSite
|
|
108
106
|
*SiteApi* | [**indexSite**](docs/SiteApi.md#indexsiteoperation) | **POST** /admin-api/site/list | Auto-generated: indexSite
|
|
109
107
|
*SiteApi* | [**indexSiteNotification**](docs/SiteApi.md#indexsitenotificationoperation) | **POST** /admin-api/site/notification/list | Auto-generated: indexSiteNotification
|
|
110
|
-
*SiteApi* | [**searchExcludingRelationsSite**](docs/SiteApi.md#searchexcludingrelationssite) | **POST** /admin-api/site/search-excluding-relations | Auto-generated: searchExcludingRelationsSite
|
|
111
108
|
*SiteApi* | [**showSite**](docs/SiteApi.md#showsite) | **GET** /admin-api/site/{site} | Auto-generated: showSite
|
|
112
109
|
*SiteApi* | [**storeSiteNotification**](docs/SiteApi.md#storesitenotificationoperation) | **POST** /admin-api/site/notification/create | Auto-generated: storeSiteNotification
|
|
113
110
|
*SiteApi* | [**updateSite**](docs/SiteApi.md#updatesiteoperation) | **PUT** /admin-api/site/{site}/update | Auto-generated: updateSite
|
|
@@ -117,7 +114,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
117
114
|
*SupplierApi* | [**getAllSupplier**](docs/SupplierApi.md#getallsupplieroperation) | **POST** /admin-api/supplier/all | Auto-generated: getAllSupplier
|
|
118
115
|
*SupplierApi* | [**importSupplier**](docs/SupplierApi.md#importsupplier) | **POST** /admin-api/supplier/import | Auto-generated: importSupplier
|
|
119
116
|
*SupplierApi* | [**indexSupplier**](docs/SupplierApi.md#indexsupplieroperation) | **POST** /admin-api/supplier/list | Auto-generated: indexSupplier
|
|
120
|
-
*SupplierApi* | [**searchExcludingRelationsSupplier**](docs/SupplierApi.md#searchexcludingrelationssupplier) | **POST** /admin-api/supplier/search-excluding-relations | Auto-generated: searchExcludingRelationsSupplier
|
|
121
117
|
*SupplierApi* | [**showSupplier**](docs/SupplierApi.md#showsupplier) | **GET** /admin-api/supplier/{supplier} | Auto-generated: showSupplier
|
|
122
118
|
*SupplierApi* | [**storeSupplier**](docs/SupplierApi.md#storesupplieroperation) | **POST** /admin-api/supplier/create | Auto-generated: storeSupplier
|
|
123
119
|
*SupplierApi* | [**updateSupplier**](docs/SupplierApi.md#updatesupplieroperation) | **PUT** /admin-api/supplier/{supplier}/update | Auto-generated: updateSupplier
|
|
@@ -125,7 +121,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
125
121
|
*TagApi* | [**getAllTag**](docs/TagApi.md#getalltag) | **POST** /admin-api/tag/all | Auto-generated: getAllTag
|
|
126
122
|
*TagApi* | [**indexTag**](docs/TagApi.md#indextagoperation) | **POST** /admin-api/tag/list | Auto-generated: indexTag
|
|
127
123
|
*TagApi* | [**linkProductChildrenTag**](docs/TagApi.md#linkproductchildrentagoperation) | **POST** /admin-api/tag/{tag}/link-product-children | Auto-generated: linkProductChildrenTag
|
|
128
|
-
*TagApi* | [**searchExcludingRelationsTag**](docs/TagApi.md#searchexcludingrelationstag) | **POST** /admin-api/tag/search-excluding-relations | Auto-generated: searchExcludingRelationsTag
|
|
129
124
|
*TagApi* | [**showTag**](docs/TagApi.md#showtag) | **GET** /admin-api/tag/{tag} | Auto-generated: showTag
|
|
130
125
|
*TagApi* | [**storeTag**](docs/TagApi.md#storetagoperation) | **POST** /admin-api/tag/create | Auto-generated: storeTag
|
|
131
126
|
*TagApi* | [**unlinkProductChildTag**](docs/TagApi.md#unlinkproductchildtag) | **POST** /admin-api/tag/{tag}/remove-product-child/{productChild} | Auto-generated: unlinkProductChildTag
|
|
@@ -141,8 +136,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
141
136
|
- [AssetResource](docs/AssetResource.md)
|
|
142
137
|
- [AssetResourceArrayResponse](docs/AssetResourceArrayResponse.md)
|
|
143
138
|
- [AttributeFieldType](docs/AttributeFieldType.md)
|
|
144
|
-
- [AttributeListResource](docs/AttributeListResource.md)
|
|
145
|
-
- [AttributeListResourceArrayResponse](docs/AttributeListResourceArrayResponse.md)
|
|
146
139
|
- [AttributeLiteResource](docs/AttributeLiteResource.md)
|
|
147
140
|
- [AttributeLiteResourceArrayResponse](docs/AttributeLiteResourceArrayResponse.md)
|
|
148
141
|
- [AttributeProductTypeRelationResource](docs/AttributeProductTypeRelationResource.md)
|
|
@@ -187,7 +180,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
187
180
|
- [OverlayTemplateLiteResourceArrayResponse](docs/OverlayTemplateLiteResourceArrayResponse.md)
|
|
188
181
|
- [OverlayTemplateResource](docs/OverlayTemplateResource.md)
|
|
189
182
|
- [OverlayTemplateResourceArrayResponse](docs/OverlayTemplateResourceArrayResponse.md)
|
|
190
|
-
- [PaginatedAttributeListResourceResponse](docs/PaginatedAttributeListResourceResponse.md)
|
|
191
183
|
- [PaginatedAttributeLiteResourceResponse](docs/PaginatedAttributeLiteResourceResponse.md)
|
|
192
184
|
- [PaginatedAttributeProductTypeRelationResourceResponse](docs/PaginatedAttributeProductTypeRelationResourceResponse.md)
|
|
193
185
|
- [PaginatedAttributeResourceResponse](docs/PaginatedAttributeResourceResponse.md)
|
|
@@ -200,18 +192,14 @@ All URIs are relative to *http://localhost/api*
|
|
|
200
192
|
- [PaginatedProductChildResourceResponse](docs/PaginatedProductChildResourceResponse.md)
|
|
201
193
|
- [PaginatedProductLiteResourceResponse](docs/PaginatedProductLiteResourceResponse.md)
|
|
202
194
|
- [PaginatedProductResourceResponse](docs/PaginatedProductResourceResponse.md)
|
|
203
|
-
- [PaginatedProductTypeListResourceResponse](docs/PaginatedProductTypeListResourceResponse.md)
|
|
204
195
|
- [PaginatedProductTypeLiteResourceResponse](docs/PaginatedProductTypeLiteResourceResponse.md)
|
|
205
196
|
- [PaginatedProductTypeResourceResponse](docs/PaginatedProductTypeResourceResponse.md)
|
|
206
|
-
- [PaginatedSiteListResourceResponse](docs/PaginatedSiteListResourceResponse.md)
|
|
207
197
|
- [PaginatedSiteLiteResourceResponse](docs/PaginatedSiteLiteResourceResponse.md)
|
|
208
198
|
- [PaginatedSiteNotificationResourceResponse](docs/PaginatedSiteNotificationResourceResponse.md)
|
|
209
199
|
- [PaginatedSiteResourceResponse](docs/PaginatedSiteResourceResponse.md)
|
|
210
200
|
- [PaginatedSupplierFrontendResourceResponse](docs/PaginatedSupplierFrontendResourceResponse.md)
|
|
211
|
-
- [PaginatedSupplierListResourceResponse](docs/PaginatedSupplierListResourceResponse.md)
|
|
212
201
|
- [PaginatedSupplierLiteResourceResponse](docs/PaginatedSupplierLiteResourceResponse.md)
|
|
213
202
|
- [PaginatedSupplierResourceResponse](docs/PaginatedSupplierResourceResponse.md)
|
|
214
|
-
- [PaginatedTagListResourceResponse](docs/PaginatedTagListResourceResponse.md)
|
|
215
203
|
- [PaginatedTagLiteResourceResponse](docs/PaginatedTagLiteResourceResponse.md)
|
|
216
204
|
- [PaginatedTagResourceResponse](docs/PaginatedTagResourceResponse.md)
|
|
217
205
|
- [PagingMetadata](docs/PagingMetadata.md)
|
|
@@ -229,8 +217,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
229
217
|
- [ProductLiteResourceArrayResponse](docs/ProductLiteResourceArrayResponse.md)
|
|
230
218
|
- [ProductResource](docs/ProductResource.md)
|
|
231
219
|
- [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
|
|
232
|
-
- [ProductTypeListResource](docs/ProductTypeListResource.md)
|
|
233
|
-
- [ProductTypeListResourceArrayResponse](docs/ProductTypeListResourceArrayResponse.md)
|
|
234
220
|
- [ProductTypeLiteResource](docs/ProductTypeLiteResource.md)
|
|
235
221
|
- [ProductTypeLiteResourceArrayResponse](docs/ProductTypeLiteResourceArrayResponse.md)
|
|
236
222
|
- [ProductTypeResource](docs/ProductTypeResource.md)
|
|
@@ -239,8 +225,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
239
225
|
- [SEOResourceArrayResponse](docs/SEOResourceArrayResponse.md)
|
|
240
226
|
- [SiteConfigResource](docs/SiteConfigResource.md)
|
|
241
227
|
- [SiteConfigResourceArrayResponse](docs/SiteConfigResourceArrayResponse.md)
|
|
242
|
-
- [SiteListResource](docs/SiteListResource.md)
|
|
243
|
-
- [SiteListResourceArrayResponse](docs/SiteListResourceArrayResponse.md)
|
|
244
228
|
- [SiteLiteResource](docs/SiteLiteResource.md)
|
|
245
229
|
- [SiteLiteResourceArrayResponse](docs/SiteLiteResourceArrayResponse.md)
|
|
246
230
|
- [SiteNotificationResource](docs/SiteNotificationResource.md)
|
|
@@ -268,14 +252,10 @@ All URIs are relative to *http://localhost/api*
|
|
|
268
252
|
- [StoreTagRequest](docs/StoreTagRequest.md)
|
|
269
253
|
- [SupplierFrontendResource](docs/SupplierFrontendResource.md)
|
|
270
254
|
- [SupplierFrontendResourceArrayResponse](docs/SupplierFrontendResourceArrayResponse.md)
|
|
271
|
-
- [SupplierListResource](docs/SupplierListResource.md)
|
|
272
|
-
- [SupplierListResourceArrayResponse](docs/SupplierListResourceArrayResponse.md)
|
|
273
255
|
- [SupplierLiteResource](docs/SupplierLiteResource.md)
|
|
274
256
|
- [SupplierLiteResourceArrayResponse](docs/SupplierLiteResourceArrayResponse.md)
|
|
275
257
|
- [SupplierResource](docs/SupplierResource.md)
|
|
276
258
|
- [SupplierResourceArrayResponse](docs/SupplierResourceArrayResponse.md)
|
|
277
|
-
- [TagListResource](docs/TagListResource.md)
|
|
278
|
-
- [TagListResourceArrayResponse](docs/TagListResourceArrayResponse.md)
|
|
279
259
|
- [TagLiteResource](docs/TagLiteResource.md)
|
|
280
260
|
- [TagLiteResourceArrayResponse](docs/TagLiteResourceArrayResponse.md)
|
|
281
261
|
- [TagResource](docs/TagResource.md)
|
|
@@ -313,7 +293,7 @@ and is automatically generated by the
|
|
|
313
293
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
314
294
|
|
|
315
295
|
- API version: `1.0.0`
|
|
316
|
-
- Package version: `0.0.
|
|
296
|
+
- Package version: `0.0.449`
|
|
317
297
|
- Generator version: `7.17.0`
|
|
318
298
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
319
299
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AttributeLiteResourceArrayResponse, AttributeResource, AttributeResourceArrayResponse, DestroyAttributeValueRequest, GenericResponse, GetAllAttributeRequest, IndexAttributeRequest, LinkProductTypeAttributeRequest, ModelAttributeResourceArrayResponse,
|
|
13
|
+
import type { AttributeLiteResourceArrayResponse, AttributeResource, AttributeResourceArrayResponse, DestroyAttributeValueRequest, GenericResponse, GetAllAttributeRequest, IndexAttributeRequest, LinkProductTypeAttributeRequest, ModelAttributeResourceArrayResponse, PaginatedAttributeResourceResponse, StoreAttributeRequest, StoreAttributeValueRequest, UpdateAttributeRequest, UpdateAttributeValueRequest, UpdateFilterOrderAttributeRequest, UpdateModelAttributeRequest } from '../models/index';
|
|
14
14
|
export interface DestroyAttributeRequest {
|
|
15
15
|
attribute: number;
|
|
16
16
|
}
|
|
@@ -28,9 +28,6 @@ export interface LinkProductTypeAttributeOperationRequest {
|
|
|
28
28
|
attribute: number;
|
|
29
29
|
linkProductTypeAttributeRequest?: LinkProductTypeAttributeRequest;
|
|
30
30
|
}
|
|
31
|
-
export interface SearchExcludingRelationsAttributeRequest {
|
|
32
|
-
indexAttributeRequest?: IndexAttributeRequest;
|
|
33
|
-
}
|
|
34
31
|
export interface ShowAttributeRequest {
|
|
35
32
|
attribute: number;
|
|
36
33
|
}
|
|
@@ -94,11 +91,11 @@ export declare class AttributeApi extends runtime.BaseAPI {
|
|
|
94
91
|
/**
|
|
95
92
|
* Auto-generated: indexAttribute
|
|
96
93
|
*/
|
|
97
|
-
indexAttributeRaw(requestParameters: IndexAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
94
|
+
indexAttributeRaw(requestParameters: IndexAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedAttributeResourceResponse>>;
|
|
98
95
|
/**
|
|
99
96
|
* Auto-generated: indexAttribute
|
|
100
97
|
*/
|
|
101
|
-
indexAttribute(requestParameters?: IndexAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
98
|
+
indexAttribute(requestParameters?: IndexAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedAttributeResourceResponse>;
|
|
102
99
|
/**
|
|
103
100
|
* Auto-generated: linkProductTypeAttribute
|
|
104
101
|
*/
|
|
@@ -107,14 +104,6 @@ export declare class AttributeApi extends runtime.BaseAPI {
|
|
|
107
104
|
* Auto-generated: linkProductTypeAttribute
|
|
108
105
|
*/
|
|
109
106
|
linkProductTypeAttribute(requestParameters: LinkProductTypeAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AttributeResource>;
|
|
110
|
-
/**
|
|
111
|
-
* Auto-generated: searchExcludingRelationsAttribute
|
|
112
|
-
*/
|
|
113
|
-
searchExcludingRelationsAttributeRaw(requestParameters: SearchExcludingRelationsAttributeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedAttributeListResourceResponse>>;
|
|
114
|
-
/**
|
|
115
|
-
* Auto-generated: searchExcludingRelationsAttribute
|
|
116
|
-
*/
|
|
117
|
-
searchExcludingRelationsAttribute(requestParameters?: SearchExcludingRelationsAttributeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedAttributeListResourceResponse>;
|
|
118
107
|
/**
|
|
119
108
|
* Auto-generated: showAttribute
|
|
120
109
|
*/
|
|
@@ -236,7 +236,7 @@ var AttributeApi = /** @class */ (function (_super) {
|
|
|
236
236
|
}, initOverrides)];
|
|
237
237
|
case 1:
|
|
238
238
|
response = _a.sent();
|
|
239
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
239
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedAttributeResourceResponseFromJSON)(jsonValue); })];
|
|
240
240
|
}
|
|
241
241
|
});
|
|
242
242
|
});
|
|
@@ -307,51 +307,6 @@ var AttributeApi = /** @class */ (function (_super) {
|
|
|
307
307
|
});
|
|
308
308
|
});
|
|
309
309
|
};
|
|
310
|
-
/**
|
|
311
|
-
* Auto-generated: searchExcludingRelationsAttribute
|
|
312
|
-
*/
|
|
313
|
-
AttributeApi.prototype.searchExcludingRelationsAttributeRaw = function (requestParameters, initOverrides) {
|
|
314
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
315
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
316
|
-
return __generator(this, function (_a) {
|
|
317
|
-
switch (_a.label) {
|
|
318
|
-
case 0:
|
|
319
|
-
queryParameters = {};
|
|
320
|
-
headerParameters = {};
|
|
321
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
322
|
-
urlPath = "/admin-api/attribute/search-excluding-relations";
|
|
323
|
-
return [4 /*yield*/, this.request({
|
|
324
|
-
path: urlPath,
|
|
325
|
-
method: 'POST',
|
|
326
|
-
headers: headerParameters,
|
|
327
|
-
query: queryParameters,
|
|
328
|
-
body: (0, index_1.IndexAttributeRequestToJSON)(requestParameters['indexAttributeRequest']),
|
|
329
|
-
}, initOverrides)];
|
|
330
|
-
case 1:
|
|
331
|
-
response = _a.sent();
|
|
332
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedAttributeListResourceResponseFromJSON)(jsonValue); })];
|
|
333
|
-
}
|
|
334
|
-
});
|
|
335
|
-
});
|
|
336
|
-
};
|
|
337
|
-
/**
|
|
338
|
-
* Auto-generated: searchExcludingRelationsAttribute
|
|
339
|
-
*/
|
|
340
|
-
AttributeApi.prototype.searchExcludingRelationsAttribute = function () {
|
|
341
|
-
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
342
|
-
var response;
|
|
343
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
344
|
-
return __generator(this, function (_a) {
|
|
345
|
-
switch (_a.label) {
|
|
346
|
-
case 0: return [4 /*yield*/, this.searchExcludingRelationsAttributeRaw(requestParameters, initOverrides)];
|
|
347
|
-
case 1:
|
|
348
|
-
response = _a.sent();
|
|
349
|
-
return [4 /*yield*/, response.value()];
|
|
350
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
351
|
-
}
|
|
352
|
-
});
|
|
353
|
-
});
|
|
354
|
-
};
|
|
355
310
|
/**
|
|
356
311
|
* Auto-generated: showAttribute
|
|
357
312
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { GenericResponse, GetAllProductTypeRequest, IndexProductTypeRequest, LinkAttributeProductTypeRequest,
|
|
13
|
+
import type { GenericResponse, GetAllProductTypeRequest, IndexProductTypeRequest, LinkAttributeProductTypeRequest, PaginatedProductTypeLiteResourceResponse, PaginatedProductTypeResourceResponse, ProductTypeResource, StoreProductTypeRequest, UpdateProductTypeRequest } from '../models/index';
|
|
14
14
|
export interface DestroyProductTypeRequest {
|
|
15
15
|
productType: number;
|
|
16
16
|
}
|
|
@@ -24,9 +24,6 @@ export interface LinkAttributeProductTypeOperationRequest {
|
|
|
24
24
|
productType: number;
|
|
25
25
|
linkAttributeProductTypeRequest?: LinkAttributeProductTypeRequest;
|
|
26
26
|
}
|
|
27
|
-
export interface SearchExcludingRelationsProductTypeRequest {
|
|
28
|
-
indexProductTypeRequest?: IndexProductTypeRequest;
|
|
29
|
-
}
|
|
30
27
|
export interface ShowProductTypeRequest {
|
|
31
28
|
productType: number;
|
|
32
29
|
}
|
|
@@ -68,11 +65,11 @@ export declare class ProductTypeApi extends runtime.BaseAPI {
|
|
|
68
65
|
/**
|
|
69
66
|
* Auto-generated: indexProductType
|
|
70
67
|
*/
|
|
71
|
-
indexProductTypeRaw(requestParameters: IndexProductTypeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
68
|
+
indexProductTypeRaw(requestParameters: IndexProductTypeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductTypeResourceResponse>>;
|
|
72
69
|
/**
|
|
73
70
|
* Auto-generated: indexProductType
|
|
74
71
|
*/
|
|
75
|
-
indexProductType(requestParameters?: IndexProductTypeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
72
|
+
indexProductType(requestParameters?: IndexProductTypeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductTypeResourceResponse>;
|
|
76
73
|
/**
|
|
77
74
|
* Auto-generated: linkAttributeProductType
|
|
78
75
|
*/
|
|
@@ -81,14 +78,6 @@ export declare class ProductTypeApi extends runtime.BaseAPI {
|
|
|
81
78
|
* Auto-generated: linkAttributeProductType
|
|
82
79
|
*/
|
|
83
80
|
linkAttributeProductType(requestParameters: LinkAttributeProductTypeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductTypeResource>;
|
|
84
|
-
/**
|
|
85
|
-
* Auto-generated: searchExcludingRelationsProductType
|
|
86
|
-
*/
|
|
87
|
-
searchExcludingRelationsProductTypeRaw(requestParameters: SearchExcludingRelationsProductTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductTypeListResourceResponse>>;
|
|
88
|
-
/**
|
|
89
|
-
* Auto-generated: searchExcludingRelationsProductType
|
|
90
|
-
*/
|
|
91
|
-
searchExcludingRelationsProductType(requestParameters?: SearchExcludingRelationsProductTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductTypeListResourceResponse>;
|
|
92
81
|
/**
|
|
93
82
|
* Auto-generated: showProductType
|
|
94
83
|
*/
|
|
@@ -188,7 +188,7 @@ var ProductTypeApi = /** @class */ (function (_super) {
|
|
|
188
188
|
}, initOverrides)];
|
|
189
189
|
case 1:
|
|
190
190
|
response = _a.sent();
|
|
191
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
191
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductTypeResourceResponseFromJSON)(jsonValue); })];
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
194
|
});
|
|
@@ -259,51 +259,6 @@ var ProductTypeApi = /** @class */ (function (_super) {
|
|
|
259
259
|
});
|
|
260
260
|
});
|
|
261
261
|
};
|
|
262
|
-
/**
|
|
263
|
-
* Auto-generated: searchExcludingRelationsProductType
|
|
264
|
-
*/
|
|
265
|
-
ProductTypeApi.prototype.searchExcludingRelationsProductTypeRaw = function (requestParameters, initOverrides) {
|
|
266
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
267
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
268
|
-
return __generator(this, function (_a) {
|
|
269
|
-
switch (_a.label) {
|
|
270
|
-
case 0:
|
|
271
|
-
queryParameters = {};
|
|
272
|
-
headerParameters = {};
|
|
273
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
274
|
-
urlPath = "/admin-api/product-type/search-excluding-relations";
|
|
275
|
-
return [4 /*yield*/, this.request({
|
|
276
|
-
path: urlPath,
|
|
277
|
-
method: 'POST',
|
|
278
|
-
headers: headerParameters,
|
|
279
|
-
query: queryParameters,
|
|
280
|
-
body: (0, index_1.IndexProductTypeRequestToJSON)(requestParameters['indexProductTypeRequest']),
|
|
281
|
-
}, initOverrides)];
|
|
282
|
-
case 1:
|
|
283
|
-
response = _a.sent();
|
|
284
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductTypeListResourceResponseFromJSON)(jsonValue); })];
|
|
285
|
-
}
|
|
286
|
-
});
|
|
287
|
-
});
|
|
288
|
-
};
|
|
289
|
-
/**
|
|
290
|
-
* Auto-generated: searchExcludingRelationsProductType
|
|
291
|
-
*/
|
|
292
|
-
ProductTypeApi.prototype.searchExcludingRelationsProductType = function () {
|
|
293
|
-
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
294
|
-
var response;
|
|
295
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
296
|
-
return __generator(this, function (_a) {
|
|
297
|
-
switch (_a.label) {
|
|
298
|
-
case 0: return [4 /*yield*/, this.searchExcludingRelationsProductTypeRaw(requestParameters, initOverrides)];
|
|
299
|
-
case 1:
|
|
300
|
-
response = _a.sent();
|
|
301
|
-
return [4 /*yield*/, response.value()];
|
|
302
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
303
|
-
}
|
|
304
|
-
});
|
|
305
|
-
});
|
|
306
|
-
};
|
|
307
262
|
/**
|
|
308
263
|
* Auto-generated: showProductType
|
|
309
264
|
*/
|
package/dist/apis/SiteApi.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 { GenericResponse, IndexSiteNotificationRequest, IndexSiteRequest,
|
|
13
|
+
import type { GenericResponse, IndexSiteNotificationRequest, IndexSiteRequest, PaginatedSiteNotificationResourceResponse, PaginatedSiteResourceResponse, SiteLiteResourceArrayResponse, SiteNotificationResource, SiteResource, StoreSiteNotificationRequest, UpdateSiteNotificationRequest, UpdateSiteRequest } from '../models/index';
|
|
14
14
|
export interface DestroySiteNotificationRequest {
|
|
15
15
|
siteNotification: number;
|
|
16
16
|
}
|
|
@@ -23,9 +23,6 @@ export interface IndexSiteOperationRequest {
|
|
|
23
23
|
export interface IndexSiteNotificationOperationRequest {
|
|
24
24
|
indexSiteNotificationRequest?: IndexSiteNotificationRequest;
|
|
25
25
|
}
|
|
26
|
-
export interface SearchExcludingRelationsSiteRequest {
|
|
27
|
-
indexSiteRequest?: IndexSiteRequest;
|
|
28
|
-
}
|
|
29
26
|
export interface ShowSiteRequest {
|
|
30
27
|
site: number;
|
|
31
28
|
}
|
|
@@ -63,11 +60,11 @@ export declare class SiteApi extends runtime.BaseAPI {
|
|
|
63
60
|
/**
|
|
64
61
|
* Auto-generated: indexSite
|
|
65
62
|
*/
|
|
66
|
-
indexSiteRaw(requestParameters: IndexSiteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
63
|
+
indexSiteRaw(requestParameters: IndexSiteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSiteResourceResponse>>;
|
|
67
64
|
/**
|
|
68
65
|
* Auto-generated: indexSite
|
|
69
66
|
*/
|
|
70
|
-
indexSite(requestParameters?: IndexSiteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
67
|
+
indexSite(requestParameters?: IndexSiteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSiteResourceResponse>;
|
|
71
68
|
/**
|
|
72
69
|
* Auto-generated: indexSiteNotification
|
|
73
70
|
*/
|
|
@@ -76,14 +73,6 @@ export declare class SiteApi extends runtime.BaseAPI {
|
|
|
76
73
|
* Auto-generated: indexSiteNotification
|
|
77
74
|
*/
|
|
78
75
|
indexSiteNotification(requestParameters?: IndexSiteNotificationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSiteNotificationResourceResponse>;
|
|
79
|
-
/**
|
|
80
|
-
* Auto-generated: searchExcludingRelationsSite
|
|
81
|
-
*/
|
|
82
|
-
searchExcludingRelationsSiteRaw(requestParameters: SearchExcludingRelationsSiteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSiteListResourceResponse>>;
|
|
83
|
-
/**
|
|
84
|
-
* Auto-generated: searchExcludingRelationsSite
|
|
85
|
-
*/
|
|
86
|
-
searchExcludingRelationsSite(requestParameters?: SearchExcludingRelationsSiteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSiteListResourceResponse>;
|
|
87
76
|
/**
|
|
88
77
|
* Auto-generated: showSite
|
|
89
78
|
*/
|
package/dist/apis/SiteApi.js
CHANGED
|
@@ -188,7 +188,7 @@ var SiteApi = /** @class */ (function (_super) {
|
|
|
188
188
|
}, initOverrides)];
|
|
189
189
|
case 1:
|
|
190
190
|
response = _a.sent();
|
|
191
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
191
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedSiteResourceResponseFromJSON)(jsonValue); })];
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
194
|
});
|
|
@@ -256,51 +256,6 @@ var SiteApi = /** @class */ (function (_super) {
|
|
|
256
256
|
});
|
|
257
257
|
});
|
|
258
258
|
};
|
|
259
|
-
/**
|
|
260
|
-
* Auto-generated: searchExcludingRelationsSite
|
|
261
|
-
*/
|
|
262
|
-
SiteApi.prototype.searchExcludingRelationsSiteRaw = function (requestParameters, initOverrides) {
|
|
263
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
264
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
265
|
-
return __generator(this, function (_a) {
|
|
266
|
-
switch (_a.label) {
|
|
267
|
-
case 0:
|
|
268
|
-
queryParameters = {};
|
|
269
|
-
headerParameters = {};
|
|
270
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
271
|
-
urlPath = "/admin-api/site/search-excluding-relations";
|
|
272
|
-
return [4 /*yield*/, this.request({
|
|
273
|
-
path: urlPath,
|
|
274
|
-
method: 'POST',
|
|
275
|
-
headers: headerParameters,
|
|
276
|
-
query: queryParameters,
|
|
277
|
-
body: (0, index_1.IndexSiteRequestToJSON)(requestParameters['indexSiteRequest']),
|
|
278
|
-
}, initOverrides)];
|
|
279
|
-
case 1:
|
|
280
|
-
response = _a.sent();
|
|
281
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedSiteListResourceResponseFromJSON)(jsonValue); })];
|
|
282
|
-
}
|
|
283
|
-
});
|
|
284
|
-
});
|
|
285
|
-
};
|
|
286
|
-
/**
|
|
287
|
-
* Auto-generated: searchExcludingRelationsSite
|
|
288
|
-
*/
|
|
289
|
-
SiteApi.prototype.searchExcludingRelationsSite = function () {
|
|
290
|
-
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
291
|
-
var response;
|
|
292
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
293
|
-
return __generator(this, function (_a) {
|
|
294
|
-
switch (_a.label) {
|
|
295
|
-
case 0: return [4 /*yield*/, this.searchExcludingRelationsSiteRaw(requestParameters, initOverrides)];
|
|
296
|
-
case 1:
|
|
297
|
-
response = _a.sent();
|
|
298
|
-
return [4 /*yield*/, response.value()];
|
|
299
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
300
|
-
}
|
|
301
|
-
});
|
|
302
|
-
});
|
|
303
|
-
};
|
|
304
259
|
/**
|
|
305
260
|
* Auto-generated: showSite
|
|
306
261
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { GenericResponse, GetAllSupplierRequest, IndexSupplierRequest,
|
|
13
|
+
import type { GenericResponse, GetAllSupplierRequest, IndexSupplierRequest, PaginatedSupplierResourceResponse, StoreSupplierRequest, SupplierLiteResourceArrayResponse, SupplierResource, UpdateSupplierRequest } from '../models/index';
|
|
14
14
|
export interface DestroySupplierRequest {
|
|
15
15
|
supplier: number;
|
|
16
16
|
}
|
|
@@ -26,9 +26,6 @@ export interface ImportSupplierRequest {
|
|
|
26
26
|
export interface IndexSupplierOperationRequest {
|
|
27
27
|
indexSupplierRequest?: IndexSupplierRequest;
|
|
28
28
|
}
|
|
29
|
-
export interface SearchExcludingRelationsSupplierRequest {
|
|
30
|
-
indexSupplierRequest?: IndexSupplierRequest;
|
|
31
|
-
}
|
|
32
29
|
export interface ShowSupplierRequest {
|
|
33
30
|
supplier: number;
|
|
34
31
|
}
|
|
@@ -78,19 +75,11 @@ export declare class SupplierApi extends runtime.BaseAPI {
|
|
|
78
75
|
/**
|
|
79
76
|
* Auto-generated: indexSupplier
|
|
80
77
|
*/
|
|
81
|
-
indexSupplierRaw(requestParameters: IndexSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
78
|
+
indexSupplierRaw(requestParameters: IndexSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSupplierResourceResponse>>;
|
|
82
79
|
/**
|
|
83
80
|
* Auto-generated: indexSupplier
|
|
84
81
|
*/
|
|
85
|
-
indexSupplier(requestParameters?: IndexSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
86
|
-
/**
|
|
87
|
-
* Auto-generated: searchExcludingRelationsSupplier
|
|
88
|
-
*/
|
|
89
|
-
searchExcludingRelationsSupplierRaw(requestParameters: SearchExcludingRelationsSupplierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSupplierListResourceResponse>>;
|
|
90
|
-
/**
|
|
91
|
-
* Auto-generated: searchExcludingRelationsSupplier
|
|
92
|
-
*/
|
|
93
|
-
searchExcludingRelationsSupplier(requestParameters?: SearchExcludingRelationsSupplierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSupplierListResourceResponse>;
|
|
82
|
+
indexSupplier(requestParameters?: IndexSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSupplierResourceResponse>;
|
|
94
83
|
/**
|
|
95
84
|
* Auto-generated: showSupplier
|
|
96
85
|
*/
|