@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.
Files changed (133) hide show
  1. package/.openapi-generator/FILES +0 -30
  2. package/README.md +2 -22
  3. package/dist/apis/AttributeApi.d.ts +3 -14
  4. package/dist/apis/AttributeApi.js +1 -46
  5. package/dist/apis/ProductTypeApi.d.ts +3 -14
  6. package/dist/apis/ProductTypeApi.js +1 -46
  7. package/dist/apis/SiteApi.d.ts +3 -14
  8. package/dist/apis/SiteApi.js +1 -46
  9. package/dist/apis/SupplierApi.d.ts +3 -14
  10. package/dist/apis/SupplierApi.js +1 -46
  11. package/dist/apis/TagApi.d.ts +3 -14
  12. package/dist/apis/TagApi.js +1 -46
  13. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  14. package/dist/models/ExternalApiLogResource.js +3 -1
  15. package/dist/models/GetAllAttributeRequest.d.ts +9 -9
  16. package/dist/models/GetAllAttributeRequest.js +4 -4
  17. package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -6
  18. package/dist/models/GetAllOverlayTemplateRequest.js +2 -2
  19. package/dist/models/GetAllProductRequest.d.ts +0 -30
  20. package/dist/models/GetAllProductRequest.js +0 -10
  21. package/dist/models/IndexAttributeRequest.d.ts +0 -19
  22. package/dist/models/IndexAttributeRequest.js +1 -11
  23. package/dist/models/IndexExternalApiLogRequest.d.ts +3 -15
  24. package/dist/models/IndexExternalApiLogRequest.js +4 -8
  25. package/dist/models/IndexOverlayTemplateRequest.d.ts +0 -12
  26. package/dist/models/IndexOverlayTemplateRequest.js +0 -4
  27. package/dist/models/IndexProductTypeRequest.d.ts +0 -19
  28. package/dist/models/IndexProductTypeRequest.js +1 -11
  29. package/dist/models/IndexSiteNotificationRequest.d.ts +0 -12
  30. package/dist/models/IndexSiteNotificationRequest.js +0 -4
  31. package/dist/models/IndexSiteRequest.d.ts +0 -12
  32. package/dist/models/IndexSiteRequest.js +0 -4
  33. package/dist/models/IndexSupplierRequest.d.ts +0 -19
  34. package/dist/models/IndexSupplierRequest.js +1 -11
  35. package/dist/models/IndexTagRequest.d.ts +0 -19
  36. package/dist/models/IndexTagRequest.js +1 -11
  37. package/dist/models/index.d.ts +0 -15
  38. package/dist/models/index.js +0 -15
  39. package/docs/AttributeApi.md +3 -69
  40. package/docs/GetAllAttributeRequest.md +4 -4
  41. package/docs/GetAllOverlayTemplateRequest.md +2 -2
  42. package/docs/GetAllProductRequest.md +0 -10
  43. package/docs/IndexAttributeRequest.md +0 -4
  44. package/docs/IndexExternalApiLogRequest.md +4 -8
  45. package/docs/IndexOverlayTemplateRequest.md +0 -4
  46. package/docs/IndexProductTypeRequest.md +0 -4
  47. package/docs/IndexSiteNotificationRequest.md +0 -4
  48. package/docs/IndexSiteRequest.md +0 -4
  49. package/docs/IndexSupplierRequest.md +0 -4
  50. package/docs/IndexTagRequest.md +0 -4
  51. package/docs/ProductTypeApi.md +3 -69
  52. package/docs/SiteApi.md +3 -69
  53. package/docs/SupplierApi.md +3 -69
  54. package/docs/TagApi.md +3 -69
  55. package/package.json +1 -1
  56. package/src/apis/AttributeApi.ts +6 -42
  57. package/src/apis/ProductTypeApi.ts +6 -42
  58. package/src/apis/SiteApi.ts +6 -42
  59. package/src/apis/SupplierApi.ts +6 -42
  60. package/src/apis/TagApi.ts +6 -42
  61. package/src/models/ExternalApiLogResource.ts +3 -2
  62. package/src/models/GetAllAttributeRequest.ts +13 -13
  63. package/src/models/GetAllOverlayTemplateRequest.ts +8 -8
  64. package/src/models/GetAllProductRequest.ts +0 -40
  65. package/src/models/IndexAttributeRequest.ts +0 -24
  66. package/src/models/IndexExternalApiLogRequest.ts +7 -23
  67. package/src/models/IndexOverlayTemplateRequest.ts +0 -16
  68. package/src/models/IndexProductTypeRequest.ts +0 -24
  69. package/src/models/IndexSiteNotificationRequest.ts +0 -16
  70. package/src/models/IndexSiteRequest.ts +0 -16
  71. package/src/models/IndexSupplierRequest.ts +0 -24
  72. package/src/models/IndexTagRequest.ts +0 -24
  73. package/src/models/index.ts +0 -15
  74. package/dist/models/AttributeListResource.d.ts +0 -56
  75. package/dist/models/AttributeListResource.js +0 -67
  76. package/dist/models/AttributeListResourceArrayResponse.d.ts +0 -33
  77. package/dist/models/AttributeListResourceArrayResponse.js +0 -50
  78. package/dist/models/PaginatedAttributeListResourceResponse.d.ts +0 -40
  79. package/dist/models/PaginatedAttributeListResourceResponse.js +0 -57
  80. package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +0 -40
  81. package/dist/models/PaginatedProductTypeListResourceResponse.js +0 -57
  82. package/dist/models/PaginatedSiteListResourceResponse.d.ts +0 -40
  83. package/dist/models/PaginatedSiteListResourceResponse.js +0 -57
  84. package/dist/models/PaginatedSupplierListResourceResponse.d.ts +0 -40
  85. package/dist/models/PaginatedSupplierListResourceResponse.js +0 -57
  86. package/dist/models/PaginatedTagListResourceResponse.d.ts +0 -40
  87. package/dist/models/PaginatedTagListResourceResponse.js +0 -57
  88. package/dist/models/ProductTypeListResource.d.ts +0 -38
  89. package/dist/models/ProductTypeListResource.js +0 -55
  90. package/dist/models/ProductTypeListResourceArrayResponse.d.ts +0 -33
  91. package/dist/models/ProductTypeListResourceArrayResponse.js +0 -50
  92. package/dist/models/SiteListResource.d.ts +0 -50
  93. package/dist/models/SiteListResource.js +0 -63
  94. package/dist/models/SiteListResourceArrayResponse.d.ts +0 -33
  95. package/dist/models/SiteListResourceArrayResponse.js +0 -50
  96. package/dist/models/SupplierListResource.d.ts +0 -57
  97. package/dist/models/SupplierListResource.js +0 -68
  98. package/dist/models/SupplierListResourceArrayResponse.d.ts +0 -33
  99. package/dist/models/SupplierListResourceArrayResponse.js +0 -50
  100. package/dist/models/TagListResource.d.ts +0 -57
  101. package/dist/models/TagListResource.js +0 -68
  102. package/dist/models/TagListResourceArrayResponse.d.ts +0 -33
  103. package/dist/models/TagListResourceArrayResponse.js +0 -50
  104. package/docs/AttributeListResource.md +0 -42
  105. package/docs/AttributeListResourceArrayResponse.md +0 -34
  106. package/docs/PaginatedAttributeListResourceResponse.md +0 -36
  107. package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
  108. package/docs/PaginatedSiteListResourceResponse.md +0 -36
  109. package/docs/PaginatedSupplierListResourceResponse.md +0 -36
  110. package/docs/PaginatedTagListResourceResponse.md +0 -36
  111. package/docs/ProductTypeListResource.md +0 -36
  112. package/docs/ProductTypeListResourceArrayResponse.md +0 -34
  113. package/docs/SiteListResource.md +0 -40
  114. package/docs/SiteListResourceArrayResponse.md +0 -34
  115. package/docs/SupplierListResource.md +0 -42
  116. package/docs/SupplierListResourceArrayResponse.md +0 -34
  117. package/docs/TagListResource.md +0 -42
  118. package/docs/TagListResourceArrayResponse.md +0 -34
  119. package/src/models/AttributeListResource.ts +0 -102
  120. package/src/models/AttributeListResourceArrayResponse.ts +0 -73
  121. package/src/models/PaginatedAttributeListResourceResponse.ts +0 -90
  122. package/src/models/PaginatedProductTypeListResourceResponse.ts +0 -90
  123. package/src/models/PaginatedSiteListResourceResponse.ts +0 -90
  124. package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
  125. package/src/models/PaginatedTagListResourceResponse.ts +0 -90
  126. package/src/models/ProductTypeListResource.ts +0 -75
  127. package/src/models/ProductTypeListResourceArrayResponse.ts +0 -73
  128. package/src/models/SiteListResource.ts +0 -93
  129. package/src/models/SiteListResourceArrayResponse.ts +0 -73
  130. package/src/models/SupplierListResource.ts +0 -110
  131. package/src/models/SupplierListResourceArrayResponse.ts +0 -73
  132. package/src/models/TagListResource.ts +0 -110
  133. package/src/models/TagListResourceArrayResponse.ts +0 -73
@@ -13,8 +13,6 @@ Name | Type
13
13
  `page` | number
14
14
  `siteId` | Array<string>
15
15
  `type` | Array<string>
16
- `relatedId` | number
17
- `relatedType` | string
18
16
 
19
17
  ## Example
20
18
 
@@ -30,8 +28,6 @@ const example = {
30
28
  "page": null,
31
29
  "siteId": null,
32
30
  "type": null,
33
- "relatedId": null,
34
- "relatedType": null,
35
31
  } satisfies IndexTagRequest
36
32
 
37
33
  console.log(example)
@@ -8,7 +8,6 @@ All URIs are relative to *http://localhost/api*
8
8
  | [**getAllProductType**](ProductTypeApi.md#getallproducttypeoperation) | **POST** /admin-api/product-type/all | Auto-generated: getAllProductType |
9
9
  | [**indexProductType**](ProductTypeApi.md#indexproducttypeoperation) | **POST** /admin-api/product-type/list | Auto-generated: indexProductType |
10
10
  | [**linkAttributeProductType**](ProductTypeApi.md#linkattributeproducttypeoperation) | **POST** /admin-api/product-type/{productType}/link-attribute | Auto-generated: linkAttributeProductType |
11
- | [**searchExcludingRelationsProductType**](ProductTypeApi.md#searchexcludingrelationsproducttype) | **POST** /admin-api/product-type/search-excluding-relations | Auto-generated: searchExcludingRelationsProductType |
12
11
  | [**showProductType**](ProductTypeApi.md#showproducttype) | **GET** /admin-api/product-type/{productType} | Auto-generated: showProductType |
13
12
  | [**storeProductType**](ProductTypeApi.md#storeproducttypeoperation) | **POST** /admin-api/product-type/create | Auto-generated: storeProductType |
14
13
  | [**unlinkAttributeProductType**](ProductTypeApi.md#unlinkattributeproducttype) | **POST** /admin-api/product-type/{productType}/remove-attribute/{attribute} | Auto-generated: unlinkAttributeProductType |
@@ -149,7 +148,7 @@ No authorization required
149
148
 
150
149
  ## indexProductType
151
150
 
152
- > PaginatedProductTypeListResourceResponse indexProductType(indexProductTypeRequest)
151
+ > PaginatedProductTypeResourceResponse indexProductType(indexProductTypeRequest)
153
152
 
154
153
  Auto-generated: indexProductType
155
154
 
@@ -192,7 +191,7 @@ example().catch(console.error);
192
191
 
193
192
  ### Return type
194
193
 
195
- [**PaginatedProductTypeListResourceResponse**](PaginatedProductTypeListResourceResponse.md)
194
+ [**PaginatedProductTypeResourceResponse**](PaginatedProductTypeResourceResponse.md)
196
195
 
197
196
  ### Authorization
198
197
 
@@ -207,7 +206,7 @@ No authorization required
207
206
  ### HTTP response details
208
207
  | Status code | Description | Response headers |
209
208
  |-------------|-------------|------------------|
210
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductTypeListResource[]>> | - |
209
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductTypeResource[]>> | - |
211
210
 
212
211
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
213
212
 
@@ -280,71 +279,6 @@ No authorization required
280
279
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
281
280
 
282
281
 
283
- ## searchExcludingRelationsProductType
284
-
285
- > PaginatedProductTypeListResourceResponse searchExcludingRelationsProductType(indexProductTypeRequest)
286
-
287
- Auto-generated: searchExcludingRelationsProductType
288
-
289
- ### Example
290
-
291
- ```ts
292
- import {
293
- Configuration,
294
- ProductTypeApi,
295
- } from '@digital8/lighting-illusions-ts-sdk';
296
- import type { SearchExcludingRelationsProductTypeRequest } from '@digital8/lighting-illusions-ts-sdk';
297
-
298
- async function example() {
299
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
300
- const api = new ProductTypeApi();
301
-
302
- const body = {
303
- // IndexProductTypeRequest (optional)
304
- indexProductTypeRequest: ...,
305
- } satisfies SearchExcludingRelationsProductTypeRequest;
306
-
307
- try {
308
- const data = await api.searchExcludingRelationsProductType(body);
309
- console.log(data);
310
- } catch (error) {
311
- console.error(error);
312
- }
313
- }
314
-
315
- // Run the test
316
- example().catch(console.error);
317
- ```
318
-
319
- ### Parameters
320
-
321
-
322
- | Name | Type | Description | Notes |
323
- |------------- | ------------- | ------------- | -------------|
324
- | **indexProductTypeRequest** | [IndexProductTypeRequest](IndexProductTypeRequest.md) | | [Optional] |
325
-
326
- ### Return type
327
-
328
- [**PaginatedProductTypeListResourceResponse**](PaginatedProductTypeListResourceResponse.md)
329
-
330
- ### Authorization
331
-
332
- No authorization required
333
-
334
- ### HTTP request headers
335
-
336
- - **Content-Type**: `application/json`
337
- - **Accept**: `application/json`
338
-
339
-
340
- ### HTTP response details
341
- | Status code | Description | Response headers |
342
- |-------------|-------------|------------------|
343
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductTypeListResource[]>> | - |
344
-
345
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
346
-
347
-
348
282
  ## showProductType
349
283
 
350
284
  > ProductTypeResource showProductType(productType)
package/docs/SiteApi.md CHANGED
@@ -8,7 +8,6 @@ All URIs are relative to *http://localhost/api*
8
8
  | [**getAllSite**](SiteApi.md#getallsite) | **POST** /admin-api/site/all | Auto-generated: getAllSite |
9
9
  | [**indexSite**](SiteApi.md#indexsiteoperation) | **POST** /admin-api/site/list | Auto-generated: indexSite |
10
10
  | [**indexSiteNotification**](SiteApi.md#indexsitenotificationoperation) | **POST** /admin-api/site/notification/list | Auto-generated: indexSiteNotification |
11
- | [**searchExcludingRelationsSite**](SiteApi.md#searchexcludingrelationssite) | **POST** /admin-api/site/search-excluding-relations | Auto-generated: searchExcludingRelationsSite |
12
11
  | [**showSite**](SiteApi.md#showsite) | **GET** /admin-api/site/{site} | Auto-generated: showSite |
13
12
  | [**storeSiteNotification**](SiteApi.md#storesitenotificationoperation) | **POST** /admin-api/site/notification/create | Auto-generated: storeSiteNotification |
14
13
  | [**updateSite**](SiteApi.md#updatesiteoperation) | **PUT** /admin-api/site/{site}/update | Auto-generated: updateSite |
@@ -148,7 +147,7 @@ No authorization required
148
147
 
149
148
  ## indexSite
150
149
 
151
- > PaginatedSiteListResourceResponse indexSite(indexSiteRequest)
150
+ > PaginatedSiteResourceResponse indexSite(indexSiteRequest)
152
151
 
153
152
  Auto-generated: indexSite
154
153
 
@@ -191,7 +190,7 @@ example().catch(console.error);
191
190
 
192
191
  ### Return type
193
192
 
194
- [**PaginatedSiteListResourceResponse**](PaginatedSiteListResourceResponse.md)
193
+ [**PaginatedSiteResourceResponse**](PaginatedSiteResourceResponse.md)
195
194
 
196
195
  ### Authorization
197
196
 
@@ -206,7 +205,7 @@ No authorization required
206
205
  ### HTTP response details
207
206
  | Status code | Description | Response headers |
208
207
  |-------------|-------------|------------------|
209
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SiteListResource[]>> | - |
208
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SiteResource[]>> | - |
210
209
 
211
210
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
212
211
 
@@ -276,71 +275,6 @@ No authorization required
276
275
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
277
276
 
278
277
 
279
- ## searchExcludingRelationsSite
280
-
281
- > PaginatedSiteListResourceResponse searchExcludingRelationsSite(indexSiteRequest)
282
-
283
- Auto-generated: searchExcludingRelationsSite
284
-
285
- ### Example
286
-
287
- ```ts
288
- import {
289
- Configuration,
290
- SiteApi,
291
- } from '@digital8/lighting-illusions-ts-sdk';
292
- import type { SearchExcludingRelationsSiteRequest } from '@digital8/lighting-illusions-ts-sdk';
293
-
294
- async function example() {
295
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
296
- const api = new SiteApi();
297
-
298
- const body = {
299
- // IndexSiteRequest (optional)
300
- indexSiteRequest: ...,
301
- } satisfies SearchExcludingRelationsSiteRequest;
302
-
303
- try {
304
- const data = await api.searchExcludingRelationsSite(body);
305
- console.log(data);
306
- } catch (error) {
307
- console.error(error);
308
- }
309
- }
310
-
311
- // Run the test
312
- example().catch(console.error);
313
- ```
314
-
315
- ### Parameters
316
-
317
-
318
- | Name | Type | Description | Notes |
319
- |------------- | ------------- | ------------- | -------------|
320
- | **indexSiteRequest** | [IndexSiteRequest](IndexSiteRequest.md) | | [Optional] |
321
-
322
- ### Return type
323
-
324
- [**PaginatedSiteListResourceResponse**](PaginatedSiteListResourceResponse.md)
325
-
326
- ### Authorization
327
-
328
- No authorization required
329
-
330
- ### HTTP request headers
331
-
332
- - **Content-Type**: `application/json`
333
- - **Accept**: `application/json`
334
-
335
-
336
- ### HTTP response details
337
- | Status code | Description | Response headers |
338
- |-------------|-------------|------------------|
339
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SiteListResource[]>> | - |
340
-
341
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
342
-
343
-
344
278
  ## showSite
345
279
 
346
280
  > SiteResource showSite(site)
@@ -9,7 +9,6 @@ All URIs are relative to *http://localhost/api*
9
9
  | [**getAllSupplier**](SupplierApi.md#getallsupplieroperation) | **POST** /admin-api/supplier/all | Auto-generated: getAllSupplier |
10
10
  | [**importSupplier**](SupplierApi.md#importsupplier) | **POST** /admin-api/supplier/import | Auto-generated: importSupplier |
11
11
  | [**indexSupplier**](SupplierApi.md#indexsupplieroperation) | **POST** /admin-api/supplier/list | Auto-generated: indexSupplier |
12
- | [**searchExcludingRelationsSupplier**](SupplierApi.md#searchexcludingrelationssupplier) | **POST** /admin-api/supplier/search-excluding-relations | Auto-generated: searchExcludingRelationsSupplier |
13
12
  | [**showSupplier**](SupplierApi.md#showsupplier) | **GET** /admin-api/supplier/{supplier} | Auto-generated: showSupplier |
14
13
  | [**storeSupplier**](SupplierApi.md#storesupplieroperation) | **POST** /admin-api/supplier/create | Auto-generated: storeSupplier |
15
14
  | [**updateSupplier**](SupplierApi.md#updatesupplieroperation) | **PUT** /admin-api/supplier/{supplier}/update | Auto-generated: updateSupplier |
@@ -278,7 +277,7 @@ No authorization required
278
277
 
279
278
  ## indexSupplier
280
279
 
281
- > PaginatedSupplierListResourceResponse indexSupplier(indexSupplierRequest)
280
+ > PaginatedSupplierResourceResponse indexSupplier(indexSupplierRequest)
282
281
 
283
282
  Auto-generated: indexSupplier
284
283
 
@@ -321,7 +320,7 @@ example().catch(console.error);
321
320
 
322
321
  ### Return type
323
322
 
324
- [**PaginatedSupplierListResourceResponse**](PaginatedSupplierListResourceResponse.md)
323
+ [**PaginatedSupplierResourceResponse**](PaginatedSupplierResourceResponse.md)
325
324
 
326
325
  ### Authorization
327
326
 
@@ -336,72 +335,7 @@ No authorization required
336
335
  ### HTTP response details
337
336
  | Status code | Description | Response headers |
338
337
  |-------------|-------------|------------------|
339
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SupplierListResource[]>> | - |
340
-
341
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
342
-
343
-
344
- ## searchExcludingRelationsSupplier
345
-
346
- > PaginatedSupplierListResourceResponse searchExcludingRelationsSupplier(indexSupplierRequest)
347
-
348
- Auto-generated: searchExcludingRelationsSupplier
349
-
350
- ### Example
351
-
352
- ```ts
353
- import {
354
- Configuration,
355
- SupplierApi,
356
- } from '@digital8/lighting-illusions-ts-sdk';
357
- import type { SearchExcludingRelationsSupplierRequest } from '@digital8/lighting-illusions-ts-sdk';
358
-
359
- async function example() {
360
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
361
- const api = new SupplierApi();
362
-
363
- const body = {
364
- // IndexSupplierRequest (optional)
365
- indexSupplierRequest: ...,
366
- } satisfies SearchExcludingRelationsSupplierRequest;
367
-
368
- try {
369
- const data = await api.searchExcludingRelationsSupplier(body);
370
- console.log(data);
371
- } catch (error) {
372
- console.error(error);
373
- }
374
- }
375
-
376
- // Run the test
377
- example().catch(console.error);
378
- ```
379
-
380
- ### Parameters
381
-
382
-
383
- | Name | Type | Description | Notes |
384
- |------------- | ------------- | ------------- | -------------|
385
- | **indexSupplierRequest** | [IndexSupplierRequest](IndexSupplierRequest.md) | | [Optional] |
386
-
387
- ### Return type
388
-
389
- [**PaginatedSupplierListResourceResponse**](PaginatedSupplierListResourceResponse.md)
390
-
391
- ### Authorization
392
-
393
- No authorization required
394
-
395
- ### HTTP request headers
396
-
397
- - **Content-Type**: `application/json`
398
- - **Accept**: `application/json`
399
-
400
-
401
- ### HTTP response details
402
- | Status code | Description | Response headers |
403
- |-------------|-------------|------------------|
404
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SupplierListResource[]>> | - |
338
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SupplierResource[]>> | - |
405
339
 
406
340
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
407
341
 
package/docs/TagApi.md CHANGED
@@ -8,7 +8,6 @@ All URIs are relative to *http://localhost/api*
8
8
  | [**getAllTag**](TagApi.md#getalltag) | **POST** /admin-api/tag/all | Auto-generated: getAllTag |
9
9
  | [**indexTag**](TagApi.md#indextagoperation) | **POST** /admin-api/tag/list | Auto-generated: indexTag |
10
10
  | [**linkProductChildrenTag**](TagApi.md#linkproductchildrentagoperation) | **POST** /admin-api/tag/{tag}/link-product-children | Auto-generated: linkProductChildrenTag |
11
- | [**searchExcludingRelationsTag**](TagApi.md#searchexcludingrelationstag) | **POST** /admin-api/tag/search-excluding-relations | Auto-generated: searchExcludingRelationsTag |
12
11
  | [**showTag**](TagApi.md#showtag) | **GET** /admin-api/tag/{tag} | Auto-generated: showTag |
13
12
  | [**storeTag**](TagApi.md#storetagoperation) | **POST** /admin-api/tag/create | Auto-generated: storeTag |
14
13
  | [**unlinkProductChildTag**](TagApi.md#unlinkproductchildtag) | **POST** /admin-api/tag/{tag}/remove-product-child/{productChild} | Auto-generated: unlinkProductChildTag |
@@ -148,7 +147,7 @@ No authorization required
148
147
 
149
148
  ## indexTag
150
149
 
151
- > PaginatedTagListResourceResponse indexTag(indexTagRequest)
150
+ > PaginatedTagResourceResponse indexTag(indexTagRequest)
152
151
 
153
152
  Auto-generated: indexTag
154
153
 
@@ -191,7 +190,7 @@ example().catch(console.error);
191
190
 
192
191
  ### Return type
193
192
 
194
- [**PaginatedTagListResourceResponse**](PaginatedTagListResourceResponse.md)
193
+ [**PaginatedTagResourceResponse**](PaginatedTagResourceResponse.md)
195
194
 
196
195
  ### Authorization
197
196
 
@@ -206,7 +205,7 @@ No authorization required
206
205
  ### HTTP response details
207
206
  | Status code | Description | Response headers |
208
207
  |-------------|-------------|------------------|
209
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\TagListResource[]>> | - |
208
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\TagResource[]>> | - |
210
209
 
211
210
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
212
211
 
@@ -279,71 +278,6 @@ No authorization required
279
278
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
280
279
 
281
280
 
282
- ## searchExcludingRelationsTag
283
-
284
- > PaginatedTagListResourceResponse searchExcludingRelationsTag(indexTagRequest)
285
-
286
- Auto-generated: searchExcludingRelationsTag
287
-
288
- ### Example
289
-
290
- ```ts
291
- import {
292
- Configuration,
293
- TagApi,
294
- } from '@digital8/lighting-illusions-ts-sdk';
295
- import type { SearchExcludingRelationsTagRequest } from '@digital8/lighting-illusions-ts-sdk';
296
-
297
- async function example() {
298
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
299
- const api = new TagApi();
300
-
301
- const body = {
302
- // IndexTagRequest (optional)
303
- indexTagRequest: ...,
304
- } satisfies SearchExcludingRelationsTagRequest;
305
-
306
- try {
307
- const data = await api.searchExcludingRelationsTag(body);
308
- console.log(data);
309
- } catch (error) {
310
- console.error(error);
311
- }
312
- }
313
-
314
- // Run the test
315
- example().catch(console.error);
316
- ```
317
-
318
- ### Parameters
319
-
320
-
321
- | Name | Type | Description | Notes |
322
- |------------- | ------------- | ------------- | -------------|
323
- | **indexTagRequest** | [IndexTagRequest](IndexTagRequest.md) | | [Optional] |
324
-
325
- ### Return type
326
-
327
- [**PaginatedTagListResourceResponse**](PaginatedTagListResourceResponse.md)
328
-
329
- ### Authorization
330
-
331
- No authorization required
332
-
333
- ### HTTP request headers
334
-
335
- - **Content-Type**: `application/json`
336
- - **Accept**: `application/json`
337
-
338
-
339
- ### HTTP response details
340
- | Status code | Description | Response headers |
341
- |-------------|-------------|------------------|
342
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\TagListResource[]>> | - |
343
-
344
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
345
-
346
-
347
281
  ## showTag
348
282
 
349
283
  > TagResource showTag(tag)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.448",
3
+ "version": "0.0.449",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -24,7 +24,7 @@ import type {
24
24
  IndexAttributeRequest,
25
25
  LinkProductTypeAttributeRequest,
26
26
  ModelAttributeResourceArrayResponse,
27
- PaginatedAttributeListResourceResponse,
27
+ PaginatedAttributeResourceResponse,
28
28
  StoreAttributeRequest,
29
29
  StoreAttributeValueRequest,
30
30
  UpdateAttributeRequest,
@@ -51,8 +51,8 @@ import {
51
51
  LinkProductTypeAttributeRequestToJSON,
52
52
  ModelAttributeResourceArrayResponseFromJSON,
53
53
  ModelAttributeResourceArrayResponseToJSON,
54
- PaginatedAttributeListResourceResponseFromJSON,
55
- PaginatedAttributeListResourceResponseToJSON,
54
+ PaginatedAttributeResourceResponseFromJSON,
55
+ PaginatedAttributeResourceResponseToJSON,
56
56
  StoreAttributeRequestFromJSON,
57
57
  StoreAttributeRequestToJSON,
58
58
  StoreAttributeValueRequestFromJSON,
@@ -89,10 +89,6 @@ export interface LinkProductTypeAttributeOperationRequest {
89
89
  linkProductTypeAttributeRequest?: LinkProductTypeAttributeRequest;
90
90
  }
91
91
 
92
- export interface SearchExcludingRelationsAttributeRequest {
93
- indexAttributeRequest?: IndexAttributeRequest;
94
- }
95
-
96
92
  export interface ShowAttributeRequest {
97
93
  attribute: number;
98
94
  }
@@ -251,7 +247,7 @@ export class AttributeApi extends runtime.BaseAPI {
251
247
  /**
252
248
  * Auto-generated: indexAttribute
253
249
  */
254
- async indexAttributeRaw(requestParameters: IndexAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedAttributeListResourceResponse>> {
250
+ async indexAttributeRaw(requestParameters: IndexAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedAttributeResourceResponse>> {
255
251
  const queryParameters: any = {};
256
252
 
257
253
  const headerParameters: runtime.HTTPHeaders = {};
@@ -269,13 +265,13 @@ export class AttributeApi extends runtime.BaseAPI {
269
265
  body: IndexAttributeRequestToJSON(requestParameters['indexAttributeRequest']),
270
266
  }, initOverrides);
271
267
 
272
- return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedAttributeListResourceResponseFromJSON(jsonValue));
268
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedAttributeResourceResponseFromJSON(jsonValue));
273
269
  }
274
270
 
275
271
  /**
276
272
  * Auto-generated: indexAttribute
277
273
  */
278
- async indexAttribute(requestParameters: IndexAttributeOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedAttributeListResourceResponse> {
274
+ async indexAttribute(requestParameters: IndexAttributeOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedAttributeResourceResponse> {
279
275
  const response = await this.indexAttributeRaw(requestParameters, initOverrides);
280
276
  return await response.value();
281
277
  }
@@ -320,38 +316,6 @@ export class AttributeApi extends runtime.BaseAPI {
320
316
  return await response.value();
321
317
  }
322
318
 
323
- /**
324
- * Auto-generated: searchExcludingRelationsAttribute
325
- */
326
- async searchExcludingRelationsAttributeRaw(requestParameters: SearchExcludingRelationsAttributeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedAttributeListResourceResponse>> {
327
- const queryParameters: any = {};
328
-
329
- const headerParameters: runtime.HTTPHeaders = {};
330
-
331
- headerParameters['Content-Type'] = 'application/json';
332
-
333
-
334
- let urlPath = `/admin-api/attribute/search-excluding-relations`;
335
-
336
- const response = await this.request({
337
- path: urlPath,
338
- method: 'POST',
339
- headers: headerParameters,
340
- query: queryParameters,
341
- body: IndexAttributeRequestToJSON(requestParameters['indexAttributeRequest']),
342
- }, initOverrides);
343
-
344
- return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedAttributeListResourceResponseFromJSON(jsonValue));
345
- }
346
-
347
- /**
348
- * Auto-generated: searchExcludingRelationsAttribute
349
- */
350
- async searchExcludingRelationsAttribute(requestParameters: SearchExcludingRelationsAttributeRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedAttributeListResourceResponse> {
351
- const response = await this.searchExcludingRelationsAttributeRaw(requestParameters, initOverrides);
352
- return await response.value();
353
- }
354
-
355
319
  /**
356
320
  * Auto-generated: showAttribute
357
321
  */
@@ -19,8 +19,8 @@ import type {
19
19
  GetAllProductTypeRequest,
20
20
  IndexProductTypeRequest,
21
21
  LinkAttributeProductTypeRequest,
22
- PaginatedProductTypeListResourceResponse,
23
22
  PaginatedProductTypeLiteResourceResponse,
23
+ PaginatedProductTypeResourceResponse,
24
24
  ProductTypeResource,
25
25
  StoreProductTypeRequest,
26
26
  UpdateProductTypeRequest,
@@ -34,10 +34,10 @@ import {
34
34
  IndexProductTypeRequestToJSON,
35
35
  LinkAttributeProductTypeRequestFromJSON,
36
36
  LinkAttributeProductTypeRequestToJSON,
37
- PaginatedProductTypeListResourceResponseFromJSON,
38
- PaginatedProductTypeListResourceResponseToJSON,
39
37
  PaginatedProductTypeLiteResourceResponseFromJSON,
40
38
  PaginatedProductTypeLiteResourceResponseToJSON,
39
+ PaginatedProductTypeResourceResponseFromJSON,
40
+ PaginatedProductTypeResourceResponseToJSON,
41
41
  ProductTypeResourceFromJSON,
42
42
  ProductTypeResourceToJSON,
43
43
  StoreProductTypeRequestFromJSON,
@@ -63,10 +63,6 @@ export interface LinkAttributeProductTypeOperationRequest {
63
63
  linkAttributeProductTypeRequest?: LinkAttributeProductTypeRequest;
64
64
  }
65
65
 
66
- export interface SearchExcludingRelationsProductTypeRequest {
67
- indexProductTypeRequest?: IndexProductTypeRequest;
68
- }
69
-
70
66
  export interface ShowProductTypeRequest {
71
67
  productType: number;
72
68
  }
@@ -167,7 +163,7 @@ export class ProductTypeApi extends runtime.BaseAPI {
167
163
  /**
168
164
  * Auto-generated: indexProductType
169
165
  */
170
- async indexProductTypeRaw(requestParameters: IndexProductTypeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductTypeListResourceResponse>> {
166
+ async indexProductTypeRaw(requestParameters: IndexProductTypeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductTypeResourceResponse>> {
171
167
  const queryParameters: any = {};
172
168
 
173
169
  const headerParameters: runtime.HTTPHeaders = {};
@@ -185,13 +181,13 @@ export class ProductTypeApi extends runtime.BaseAPI {
185
181
  body: IndexProductTypeRequestToJSON(requestParameters['indexProductTypeRequest']),
186
182
  }, initOverrides);
187
183
 
188
- return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductTypeListResourceResponseFromJSON(jsonValue));
184
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductTypeResourceResponseFromJSON(jsonValue));
189
185
  }
190
186
 
191
187
  /**
192
188
  * Auto-generated: indexProductType
193
189
  */
194
- async indexProductType(requestParameters: IndexProductTypeOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductTypeListResourceResponse> {
190
+ async indexProductType(requestParameters: IndexProductTypeOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductTypeResourceResponse> {
195
191
  const response = await this.indexProductTypeRaw(requestParameters, initOverrides);
196
192
  return await response.value();
197
193
  }
@@ -236,38 +232,6 @@ export class ProductTypeApi extends runtime.BaseAPI {
236
232
  return await response.value();
237
233
  }
238
234
 
239
- /**
240
- * Auto-generated: searchExcludingRelationsProductType
241
- */
242
- async searchExcludingRelationsProductTypeRaw(requestParameters: SearchExcludingRelationsProductTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductTypeListResourceResponse>> {
243
- const queryParameters: any = {};
244
-
245
- const headerParameters: runtime.HTTPHeaders = {};
246
-
247
- headerParameters['Content-Type'] = 'application/json';
248
-
249
-
250
- let urlPath = `/admin-api/product-type/search-excluding-relations`;
251
-
252
- const response = await this.request({
253
- path: urlPath,
254
- method: 'POST',
255
- headers: headerParameters,
256
- query: queryParameters,
257
- body: IndexProductTypeRequestToJSON(requestParameters['indexProductTypeRequest']),
258
- }, initOverrides);
259
-
260
- return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductTypeListResourceResponseFromJSON(jsonValue));
261
- }
262
-
263
- /**
264
- * Auto-generated: searchExcludingRelationsProductType
265
- */
266
- async searchExcludingRelationsProductType(requestParameters: SearchExcludingRelationsProductTypeRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductTypeListResourceResponse> {
267
- const response = await this.searchExcludingRelationsProductTypeRaw(requestParameters, initOverrides);
268
- return await response.value();
269
- }
270
-
271
235
  /**
272
236
  * Auto-generated: showProductType
273
237
  */