@digital8/lighting-illusions-ts-sdk 0.0.447 → 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 -18
- package/README.md +2 -14
- 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/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 -12
- package/dist/models/IndexAttributeRequest.js +0 -4
- 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 -9
- package/dist/models/index.js +0 -9
- 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/SiteApi.md +3 -69
- package/docs/SupplierApi.md +3 -69
- package/docs/TagApi.md +3 -69
- package/package.json +1 -1
- package/src/apis/SiteApi.ts +6 -42
- package/src/apis/SupplierApi.ts +6 -42
- package/src/apis/TagApi.ts +6 -42
- 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 -16
- 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 -9
- 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/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/PaginatedSiteListResourceResponse.md +0 -36
- package/docs/PaginatedSupplierListResourceResponse.md +0 -36
- package/docs/PaginatedTagListResourceResponse.md +0 -36
- 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/PaginatedSiteListResourceResponse.ts +0 -90
- package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
- package/src/models/PaginatedTagListResourceResponse.ts +0 -90
- 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
|
@@ -9,16 +9,14 @@ Name | Type
|
|
|
9
9
|
`search` | string
|
|
10
10
|
`sortBy` | string
|
|
11
11
|
`sortDirection` | string
|
|
12
|
-
`perPage` | number
|
|
13
|
-
`page` | number
|
|
14
12
|
`provider` | Array<string>
|
|
15
13
|
`responseCode` | Array<string>
|
|
16
14
|
`httpMethod` | Array<string>
|
|
17
15
|
`externalApiLoggableType` | Array<string>
|
|
18
16
|
`externalApiLoggableId` | Array<string>
|
|
19
17
|
`siteId` | Array<string>
|
|
20
|
-
`
|
|
21
|
-
`
|
|
18
|
+
`perPage` | number
|
|
19
|
+
`page` | number
|
|
22
20
|
|
|
23
21
|
## Example
|
|
24
22
|
|
|
@@ -30,16 +28,14 @@ const example = {
|
|
|
30
28
|
"search": null,
|
|
31
29
|
"sortBy": null,
|
|
32
30
|
"sortDirection": null,
|
|
33
|
-
"perPage": null,
|
|
34
|
-
"page": null,
|
|
35
31
|
"provider": null,
|
|
36
32
|
"responseCode": null,
|
|
37
33
|
"httpMethod": null,
|
|
38
34
|
"externalApiLoggableType": null,
|
|
39
35
|
"externalApiLoggableId": null,
|
|
40
36
|
"siteId": null,
|
|
41
|
-
"
|
|
42
|
-
"
|
|
37
|
+
"perPage": null,
|
|
38
|
+
"page": null,
|
|
43
39
|
} satisfies IndexExternalApiLogRequest
|
|
44
40
|
|
|
45
41
|
console.log(example)
|
|
@@ -12,8 +12,6 @@ Name | Type
|
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
14
|
`sitesId` | Array<string>
|
|
15
|
-
`relatedId` | number
|
|
16
|
-
`relatedType` | string
|
|
17
15
|
|
|
18
16
|
## Example
|
|
19
17
|
|
|
@@ -28,8 +26,6 @@ const example = {
|
|
|
28
26
|
"perPage": null,
|
|
29
27
|
"page": null,
|
|
30
28
|
"sitesId": null,
|
|
31
|
-
"relatedId": null,
|
|
32
|
-
"relatedType": null,
|
|
33
29
|
} satisfies IndexOverlayTemplateRequest
|
|
34
30
|
|
|
35
31
|
console.log(example)
|
|
@@ -11,8 +11,6 @@ Name | Type
|
|
|
11
11
|
`sortDirection` | string
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
|
-
`relatedId` | number
|
|
15
|
-
`relatedType` | string
|
|
16
14
|
|
|
17
15
|
## Example
|
|
18
16
|
|
|
@@ -26,8 +24,6 @@ const example = {
|
|
|
26
24
|
"sortDirection": null,
|
|
27
25
|
"perPage": null,
|
|
28
26
|
"page": null,
|
|
29
|
-
"relatedId": null,
|
|
30
|
-
"relatedType": null,
|
|
31
27
|
} satisfies IndexProductTypeRequest
|
|
32
28
|
|
|
33
29
|
console.log(example)
|
|
@@ -12,8 +12,6 @@ Name | Type
|
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
14
|
`siteId` | Array<string>
|
|
15
|
-
`relatedId` | number
|
|
16
|
-
`relatedType` | string
|
|
17
15
|
|
|
18
16
|
## Example
|
|
19
17
|
|
|
@@ -28,8 +26,6 @@ const example = {
|
|
|
28
26
|
"perPage": null,
|
|
29
27
|
"page": null,
|
|
30
28
|
"siteId": null,
|
|
31
|
-
"relatedId": null,
|
|
32
|
-
"relatedType": null,
|
|
33
29
|
} satisfies IndexSiteNotificationRequest
|
|
34
30
|
|
|
35
31
|
console.log(example)
|
package/docs/IndexSiteRequest.md
CHANGED
|
@@ -11,8 +11,6 @@ Name | Type
|
|
|
11
11
|
`sortDirection` | string
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
|
-
`relatedId` | number
|
|
15
|
-
`relatedType` | string
|
|
16
14
|
|
|
17
15
|
## Example
|
|
18
16
|
|
|
@@ -26,8 +24,6 @@ const example = {
|
|
|
26
24
|
"sortDirection": null,
|
|
27
25
|
"perPage": null,
|
|
28
26
|
"page": null,
|
|
29
|
-
"relatedId": null,
|
|
30
|
-
"relatedType": null,
|
|
31
27
|
} satisfies IndexSiteRequest
|
|
32
28
|
|
|
33
29
|
console.log(example)
|
|
@@ -11,8 +11,6 @@ Name | Type
|
|
|
11
11
|
`sortDirection` | string
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
|
-
`relatedId` | number
|
|
15
|
-
`relatedType` | string
|
|
16
14
|
|
|
17
15
|
## Example
|
|
18
16
|
|
|
@@ -26,8 +24,6 @@ const example = {
|
|
|
26
24
|
"sortDirection": null,
|
|
27
25
|
"perPage": null,
|
|
28
26
|
"page": null,
|
|
29
|
-
"relatedId": null,
|
|
30
|
-
"relatedType": null,
|
|
31
27
|
} satisfies IndexSupplierRequest
|
|
32
28
|
|
|
33
29
|
console.log(example)
|
package/docs/IndexTagRequest.md
CHANGED
|
@@ -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)
|
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
|
-
>
|
|
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
|
-
[**
|
|
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<\\
|
|
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)
|
package/docs/SupplierApi.md
CHANGED
|
@@ -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
|
-
>
|
|
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
|
-
[**
|
|
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<\\
|
|
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
|
-
>
|
|
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
|
-
[**
|
|
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<\\
|
|
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
package/src/apis/SiteApi.ts
CHANGED
|
@@ -18,8 +18,8 @@ import type {
|
|
|
18
18
|
GenericResponse,
|
|
19
19
|
IndexSiteNotificationRequest,
|
|
20
20
|
IndexSiteRequest,
|
|
21
|
-
PaginatedSiteListResourceResponse,
|
|
22
21
|
PaginatedSiteNotificationResourceResponse,
|
|
22
|
+
PaginatedSiteResourceResponse,
|
|
23
23
|
SiteLiteResourceArrayResponse,
|
|
24
24
|
SiteNotificationResource,
|
|
25
25
|
SiteResource,
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
IndexSiteNotificationRequestToJSON,
|
|
35
35
|
IndexSiteRequestFromJSON,
|
|
36
36
|
IndexSiteRequestToJSON,
|
|
37
|
-
PaginatedSiteListResourceResponseFromJSON,
|
|
38
|
-
PaginatedSiteListResourceResponseToJSON,
|
|
39
37
|
PaginatedSiteNotificationResourceResponseFromJSON,
|
|
40
38
|
PaginatedSiteNotificationResourceResponseToJSON,
|
|
39
|
+
PaginatedSiteResourceResponseFromJSON,
|
|
40
|
+
PaginatedSiteResourceResponseToJSON,
|
|
41
41
|
SiteLiteResourceArrayResponseFromJSON,
|
|
42
42
|
SiteLiteResourceArrayResponseToJSON,
|
|
43
43
|
SiteNotificationResourceFromJSON,
|
|
@@ -68,10 +68,6 @@ export interface IndexSiteNotificationOperationRequest {
|
|
|
68
68
|
indexSiteNotificationRequest?: IndexSiteNotificationRequest;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
export interface SearchExcludingRelationsSiteRequest {
|
|
72
|
-
indexSiteRequest?: IndexSiteRequest;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
71
|
export interface ShowSiteRequest {
|
|
76
72
|
site: number;
|
|
77
73
|
}
|
|
@@ -167,7 +163,7 @@ export class SiteApi extends runtime.BaseAPI {
|
|
|
167
163
|
/**
|
|
168
164
|
* Auto-generated: indexSite
|
|
169
165
|
*/
|
|
170
|
-
async indexSiteRaw(requestParameters: IndexSiteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
166
|
+
async indexSiteRaw(requestParameters: IndexSiteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSiteResourceResponse>> {
|
|
171
167
|
const queryParameters: any = {};
|
|
172
168
|
|
|
173
169
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -185,13 +181,13 @@ export class SiteApi extends runtime.BaseAPI {
|
|
|
185
181
|
body: IndexSiteRequestToJSON(requestParameters['indexSiteRequest']),
|
|
186
182
|
}, initOverrides);
|
|
187
183
|
|
|
188
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
184
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSiteResourceResponseFromJSON(jsonValue));
|
|
189
185
|
}
|
|
190
186
|
|
|
191
187
|
/**
|
|
192
188
|
* Auto-generated: indexSite
|
|
193
189
|
*/
|
|
194
|
-
async indexSite(requestParameters: IndexSiteOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
190
|
+
async indexSite(requestParameters: IndexSiteOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSiteResourceResponse> {
|
|
195
191
|
const response = await this.indexSiteRaw(requestParameters, initOverrides);
|
|
196
192
|
return await response.value();
|
|
197
193
|
}
|
|
@@ -228,38 +224,6 @@ export class SiteApi extends runtime.BaseAPI {
|
|
|
228
224
|
return await response.value();
|
|
229
225
|
}
|
|
230
226
|
|
|
231
|
-
/**
|
|
232
|
-
* Auto-generated: searchExcludingRelationsSite
|
|
233
|
-
*/
|
|
234
|
-
async searchExcludingRelationsSiteRaw(requestParameters: SearchExcludingRelationsSiteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSiteListResourceResponse>> {
|
|
235
|
-
const queryParameters: any = {};
|
|
236
|
-
|
|
237
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
238
|
-
|
|
239
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
let urlPath = `/admin-api/site/search-excluding-relations`;
|
|
243
|
-
|
|
244
|
-
const response = await this.request({
|
|
245
|
-
path: urlPath,
|
|
246
|
-
method: 'POST',
|
|
247
|
-
headers: headerParameters,
|
|
248
|
-
query: queryParameters,
|
|
249
|
-
body: IndexSiteRequestToJSON(requestParameters['indexSiteRequest']),
|
|
250
|
-
}, initOverrides);
|
|
251
|
-
|
|
252
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSiteListResourceResponseFromJSON(jsonValue));
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Auto-generated: searchExcludingRelationsSite
|
|
257
|
-
*/
|
|
258
|
-
async searchExcludingRelationsSite(requestParameters: SearchExcludingRelationsSiteRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSiteListResourceResponse> {
|
|
259
|
-
const response = await this.searchExcludingRelationsSiteRaw(requestParameters, initOverrides);
|
|
260
|
-
return await response.value();
|
|
261
|
-
}
|
|
262
|
-
|
|
263
227
|
/**
|
|
264
228
|
* Auto-generated: showSite
|
|
265
229
|
*/
|
package/src/apis/SupplierApi.ts
CHANGED
|
@@ -18,7 +18,7 @@ import type {
|
|
|
18
18
|
GenericResponse,
|
|
19
19
|
GetAllSupplierRequest,
|
|
20
20
|
IndexSupplierRequest,
|
|
21
|
-
|
|
21
|
+
PaginatedSupplierResourceResponse,
|
|
22
22
|
StoreSupplierRequest,
|
|
23
23
|
SupplierLiteResourceArrayResponse,
|
|
24
24
|
SupplierResource,
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
GetAllSupplierRequestToJSON,
|
|
32
32
|
IndexSupplierRequestFromJSON,
|
|
33
33
|
IndexSupplierRequestToJSON,
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
PaginatedSupplierResourceResponseFromJSON,
|
|
35
|
+
PaginatedSupplierResourceResponseToJSON,
|
|
36
36
|
StoreSupplierRequestFromJSON,
|
|
37
37
|
StoreSupplierRequestToJSON,
|
|
38
38
|
SupplierLiteResourceArrayResponseFromJSON,
|
|
@@ -63,10 +63,6 @@ export interface IndexSupplierOperationRequest {
|
|
|
63
63
|
indexSupplierRequest?: IndexSupplierRequest;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
export interface SearchExcludingRelationsSupplierRequest {
|
|
67
|
-
indexSupplierRequest?: IndexSupplierRequest;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
66
|
export interface ShowSupplierRequest {
|
|
71
67
|
supplier: number;
|
|
72
68
|
}
|
|
@@ -246,7 +242,7 @@ export class SupplierApi extends runtime.BaseAPI {
|
|
|
246
242
|
/**
|
|
247
243
|
* Auto-generated: indexSupplier
|
|
248
244
|
*/
|
|
249
|
-
async indexSupplierRaw(requestParameters: IndexSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
245
|
+
async indexSupplierRaw(requestParameters: IndexSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSupplierResourceResponse>> {
|
|
250
246
|
const queryParameters: any = {};
|
|
251
247
|
|
|
252
248
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -264,49 +260,17 @@ export class SupplierApi extends runtime.BaseAPI {
|
|
|
264
260
|
body: IndexSupplierRequestToJSON(requestParameters['indexSupplierRequest']),
|
|
265
261
|
}, initOverrides);
|
|
266
262
|
|
|
267
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
263
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSupplierResourceResponseFromJSON(jsonValue));
|
|
268
264
|
}
|
|
269
265
|
|
|
270
266
|
/**
|
|
271
267
|
* Auto-generated: indexSupplier
|
|
272
268
|
*/
|
|
273
|
-
async indexSupplier(requestParameters: IndexSupplierOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
269
|
+
async indexSupplier(requestParameters: IndexSupplierOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSupplierResourceResponse> {
|
|
274
270
|
const response = await this.indexSupplierRaw(requestParameters, initOverrides);
|
|
275
271
|
return await response.value();
|
|
276
272
|
}
|
|
277
273
|
|
|
278
|
-
/**
|
|
279
|
-
* Auto-generated: searchExcludingRelationsSupplier
|
|
280
|
-
*/
|
|
281
|
-
async searchExcludingRelationsSupplierRaw(requestParameters: SearchExcludingRelationsSupplierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSupplierListResourceResponse>> {
|
|
282
|
-
const queryParameters: any = {};
|
|
283
|
-
|
|
284
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
285
|
-
|
|
286
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
let urlPath = `/admin-api/supplier/search-excluding-relations`;
|
|
290
|
-
|
|
291
|
-
const response = await this.request({
|
|
292
|
-
path: urlPath,
|
|
293
|
-
method: 'POST',
|
|
294
|
-
headers: headerParameters,
|
|
295
|
-
query: queryParameters,
|
|
296
|
-
body: IndexSupplierRequestToJSON(requestParameters['indexSupplierRequest']),
|
|
297
|
-
}, initOverrides);
|
|
298
|
-
|
|
299
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSupplierListResourceResponseFromJSON(jsonValue));
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* Auto-generated: searchExcludingRelationsSupplier
|
|
304
|
-
*/
|
|
305
|
-
async searchExcludingRelationsSupplier(requestParameters: SearchExcludingRelationsSupplierRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSupplierListResourceResponse> {
|
|
306
|
-
const response = await this.searchExcludingRelationsSupplierRaw(requestParameters, initOverrides);
|
|
307
|
-
return await response.value();
|
|
308
|
-
}
|
|
309
|
-
|
|
310
274
|
/**
|
|
311
275
|
* Auto-generated: showSupplier
|
|
312
276
|
*/
|