@digital8/lighting-illusions-ts-sdk 0.0.445 → 0.0.447

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 (67) hide show
  1. package/.openapi-generator/FILES +18 -0
  2. package/README.md +14 -2
  3. package/dist/apis/SiteApi.d.ts +14 -3
  4. package/dist/apis/SiteApi.js +46 -1
  5. package/dist/apis/SupplierApi.d.ts +14 -3
  6. package/dist/apis/SupplierApi.js +46 -1
  7. package/dist/apis/TagApi.d.ts +14 -3
  8. package/dist/apis/TagApi.js +46 -1
  9. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  10. package/dist/models/ExternalApiLogResource.js +3 -1
  11. package/dist/models/IndexSupplierRequest.d.ts +8 -1
  12. package/dist/models/IndexSupplierRequest.js +7 -1
  13. package/dist/models/IndexTagRequest.d.ts +8 -1
  14. package/dist/models/IndexTagRequest.js +7 -1
  15. package/dist/models/PaginatedSiteListResourceResponse.d.ts +40 -0
  16. package/dist/models/PaginatedSiteListResourceResponse.js +57 -0
  17. package/dist/models/PaginatedSupplierListResourceResponse.d.ts +40 -0
  18. package/dist/models/PaginatedSupplierListResourceResponse.js +57 -0
  19. package/dist/models/PaginatedTagListResourceResponse.d.ts +40 -0
  20. package/dist/models/PaginatedTagListResourceResponse.js +57 -0
  21. package/dist/models/SiteListResource.d.ts +50 -0
  22. package/dist/models/SiteListResource.js +63 -0
  23. package/dist/models/SiteListResourceArrayResponse.d.ts +33 -0
  24. package/dist/models/SiteListResourceArrayResponse.js +50 -0
  25. package/dist/models/SupplierListResource.d.ts +57 -0
  26. package/dist/models/SupplierListResource.js +68 -0
  27. package/dist/models/SupplierListResourceArrayResponse.d.ts +33 -0
  28. package/dist/models/SupplierListResourceArrayResponse.js +50 -0
  29. package/dist/models/TagListResource.d.ts +57 -0
  30. package/dist/models/TagListResource.js +68 -0
  31. package/dist/models/TagListResourceArrayResponse.d.ts +33 -0
  32. package/dist/models/TagListResourceArrayResponse.js +50 -0
  33. package/dist/models/TagLiteResource.d.ts +0 -7
  34. package/dist/models/TagLiteResource.js +0 -5
  35. package/dist/models/index.d.ts +9 -0
  36. package/dist/models/index.js +9 -0
  37. package/docs/PaginatedSiteListResourceResponse.md +36 -0
  38. package/docs/PaginatedSupplierListResourceResponse.md +36 -0
  39. package/docs/PaginatedTagListResourceResponse.md +36 -0
  40. package/docs/SiteApi.md +69 -3
  41. package/docs/SiteListResource.md +40 -0
  42. package/docs/SiteListResourceArrayResponse.md +34 -0
  43. package/docs/SupplierApi.md +69 -3
  44. package/docs/SupplierListResource.md +42 -0
  45. package/docs/SupplierListResourceArrayResponse.md +34 -0
  46. package/docs/TagApi.md +69 -3
  47. package/docs/TagListResource.md +42 -0
  48. package/docs/TagListResourceArrayResponse.md +34 -0
  49. package/docs/TagLiteResource.md +0 -2
  50. package/package.json +1 -1
  51. package/src/apis/SiteApi.ts +42 -6
  52. package/src/apis/SupplierApi.ts +42 -6
  53. package/src/apis/TagApi.ts +42 -6
  54. package/src/models/ExternalApiLogResource.ts +3 -2
  55. package/src/models/IndexSupplierRequest.ts +9 -1
  56. package/src/models/IndexTagRequest.ts +9 -1
  57. package/src/models/PaginatedSiteListResourceResponse.ts +90 -0
  58. package/src/models/PaginatedSupplierListResourceResponse.ts +90 -0
  59. package/src/models/PaginatedTagListResourceResponse.ts +90 -0
  60. package/src/models/SiteListResource.ts +93 -0
  61. package/src/models/SiteListResourceArrayResponse.ts +73 -0
  62. package/src/models/SupplierListResource.ts +110 -0
  63. package/src/models/SupplierListResourceArrayResponse.ts +73 -0
  64. package/src/models/TagListResource.ts +110 -0
  65. package/src/models/TagListResourceArrayResponse.ts +73 -0
  66. package/src/models/TagLiteResource.ts +0 -17
  67. package/src/models/index.ts +9 -0
@@ -9,6 +9,7 @@ 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 |
12
13
  | [**showSupplier**](SupplierApi.md#showsupplier) | **GET** /admin-api/supplier/{supplier} | Auto-generated: showSupplier |
13
14
  | [**storeSupplier**](SupplierApi.md#storesupplieroperation) | **POST** /admin-api/supplier/create | Auto-generated: storeSupplier |
14
15
  | [**updateSupplier**](SupplierApi.md#updatesupplieroperation) | **PUT** /admin-api/supplier/{supplier}/update | Auto-generated: updateSupplier |
@@ -277,7 +278,7 @@ No authorization required
277
278
 
278
279
  ## indexSupplier
279
280
 
280
- > PaginatedSupplierResourceResponse indexSupplier(indexSupplierRequest)
281
+ > PaginatedSupplierListResourceResponse indexSupplier(indexSupplierRequest)
281
282
 
282
283
  Auto-generated: indexSupplier
283
284
 
@@ -320,7 +321,7 @@ example().catch(console.error);
320
321
 
321
322
  ### Return type
322
323
 
323
- [**PaginatedSupplierResourceResponse**](PaginatedSupplierResourceResponse.md)
324
+ [**PaginatedSupplierListResourceResponse**](PaginatedSupplierListResourceResponse.md)
324
325
 
325
326
  ### Authorization
326
327
 
@@ -335,7 +336,72 @@ No authorization required
335
336
  ### HTTP response details
336
337
  | Status code | Description | Response headers |
337
338
  |-------------|-------------|------------------|
338
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SupplierResource[]>> | - |
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[]>> | - |
339
405
 
340
406
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
341
407
 
@@ -0,0 +1,42 @@
1
+
2
+ # SupplierListResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `name` | string
11
+ `slug` | string
12
+ `thumbnail` | [AssetLiteResource](AssetLiteResource.md)
13
+ `supplierEta` | number
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { SupplierListResource } from '@digital8/lighting-illusions-ts-sdk'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "id": null,
23
+ "name": null,
24
+ "slug": null,
25
+ "thumbnail": null,
26
+ "supplierEta": null,
27
+ } satisfies SupplierListResource
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as SupplierListResource
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,34 @@
1
+
2
+ # SupplierListResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<SupplierListResource>](SupplierListResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { SupplierListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies SupplierListResourceArrayResponse
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as SupplierListResourceArrayResponse
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
package/docs/TagApi.md CHANGED
@@ -8,6 +8,7 @@ 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 |
11
12
  | [**showTag**](TagApi.md#showtag) | **GET** /admin-api/tag/{tag} | Auto-generated: showTag |
12
13
  | [**storeTag**](TagApi.md#storetagoperation) | **POST** /admin-api/tag/create | Auto-generated: storeTag |
13
14
  | [**unlinkProductChildTag**](TagApi.md#unlinkproductchildtag) | **POST** /admin-api/tag/{tag}/remove-product-child/{productChild} | Auto-generated: unlinkProductChildTag |
@@ -147,7 +148,7 @@ No authorization required
147
148
 
148
149
  ## indexTag
149
150
 
150
- > PaginatedTagResourceResponse indexTag(indexTagRequest)
151
+ > PaginatedTagListResourceResponse indexTag(indexTagRequest)
151
152
 
152
153
  Auto-generated: indexTag
153
154
 
@@ -190,7 +191,7 @@ example().catch(console.error);
190
191
 
191
192
  ### Return type
192
193
 
193
- [**PaginatedTagResourceResponse**](PaginatedTagResourceResponse.md)
194
+ [**PaginatedTagListResourceResponse**](PaginatedTagListResourceResponse.md)
194
195
 
195
196
  ### Authorization
196
197
 
@@ -205,7 +206,7 @@ No authorization required
205
206
  ### HTTP response details
206
207
  | Status code | Description | Response headers |
207
208
  |-------------|-------------|------------------|
208
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\TagResource[]>> | - |
209
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\TagListResource[]>> | - |
209
210
 
210
211
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
211
212
 
@@ -278,6 +279,71 @@ No authorization required
278
279
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
279
280
 
280
281
 
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
+
281
347
  ## showTag
282
348
 
283
349
  > TagResource showTag(tag)
@@ -0,0 +1,42 @@
1
+
2
+ # TagListResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `name` | string
11
+ `slug` | string
12
+ `type` | string
13
+ `site` | [SiteLiteResource](SiteLiteResource.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { TagListResource } from '@digital8/lighting-illusions-ts-sdk'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "id": null,
23
+ "name": null,
24
+ "slug": null,
25
+ "type": null,
26
+ "site": null,
27
+ } satisfies TagListResource
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as TagListResource
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,34 @@
1
+
2
+ # TagListResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<TagListResource>](TagListResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { TagListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies TagListResourceArrayResponse
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as TagListResourceArrayResponse
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -8,7 +8,6 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
10
  `name` | string
11
- `site` | [SiteLiteResource](SiteLiteResource.md)
12
11
 
13
12
  ## Example
14
13
 
@@ -19,7 +18,6 @@ import type { TagLiteResource } from '@digital8/lighting-illusions-ts-sdk'
19
18
  const example = {
20
19
  "id": null,
21
20
  "name": null,
22
- "site": null,
23
21
  } satisfies TagLiteResource
24
22
 
25
23
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.445",
3
+ "version": "0.0.447",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -18,8 +18,8 @@ import type {
18
18
  GenericResponse,
19
19
  IndexSiteNotificationRequest,
20
20
  IndexSiteRequest,
21
+ PaginatedSiteListResourceResponse,
21
22
  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,
37
39
  PaginatedSiteNotificationResourceResponseFromJSON,
38
40
  PaginatedSiteNotificationResourceResponseToJSON,
39
- PaginatedSiteResourceResponseFromJSON,
40
- PaginatedSiteResourceResponseToJSON,
41
41
  SiteLiteResourceArrayResponseFromJSON,
42
42
  SiteLiteResourceArrayResponseToJSON,
43
43
  SiteNotificationResourceFromJSON,
@@ -68,6 +68,10 @@ export interface IndexSiteNotificationOperationRequest {
68
68
  indexSiteNotificationRequest?: IndexSiteNotificationRequest;
69
69
  }
70
70
 
71
+ export interface SearchExcludingRelationsSiteRequest {
72
+ indexSiteRequest?: IndexSiteRequest;
73
+ }
74
+
71
75
  export interface ShowSiteRequest {
72
76
  site: number;
73
77
  }
@@ -163,7 +167,7 @@ export class SiteApi extends runtime.BaseAPI {
163
167
  /**
164
168
  * Auto-generated: indexSite
165
169
  */
166
- async indexSiteRaw(requestParameters: IndexSiteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSiteResourceResponse>> {
170
+ async indexSiteRaw(requestParameters: IndexSiteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSiteListResourceResponse>> {
167
171
  const queryParameters: any = {};
168
172
 
169
173
  const headerParameters: runtime.HTTPHeaders = {};
@@ -181,13 +185,13 @@ export class SiteApi extends runtime.BaseAPI {
181
185
  body: IndexSiteRequestToJSON(requestParameters['indexSiteRequest']),
182
186
  }, initOverrides);
183
187
 
184
- return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSiteResourceResponseFromJSON(jsonValue));
188
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSiteListResourceResponseFromJSON(jsonValue));
185
189
  }
186
190
 
187
191
  /**
188
192
  * Auto-generated: indexSite
189
193
  */
190
- async indexSite(requestParameters: IndexSiteOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSiteResourceResponse> {
194
+ async indexSite(requestParameters: IndexSiteOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSiteListResourceResponse> {
191
195
  const response = await this.indexSiteRaw(requestParameters, initOverrides);
192
196
  return await response.value();
193
197
  }
@@ -224,6 +228,38 @@ export class SiteApi extends runtime.BaseAPI {
224
228
  return await response.value();
225
229
  }
226
230
 
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
+
227
263
  /**
228
264
  * Auto-generated: showSite
229
265
  */
@@ -18,7 +18,7 @@ import type {
18
18
  GenericResponse,
19
19
  GetAllSupplierRequest,
20
20
  IndexSupplierRequest,
21
- PaginatedSupplierResourceResponse,
21
+ PaginatedSupplierListResourceResponse,
22
22
  StoreSupplierRequest,
23
23
  SupplierLiteResourceArrayResponse,
24
24
  SupplierResource,
@@ -31,8 +31,8 @@ import {
31
31
  GetAllSupplierRequestToJSON,
32
32
  IndexSupplierRequestFromJSON,
33
33
  IndexSupplierRequestToJSON,
34
- PaginatedSupplierResourceResponseFromJSON,
35
- PaginatedSupplierResourceResponseToJSON,
34
+ PaginatedSupplierListResourceResponseFromJSON,
35
+ PaginatedSupplierListResourceResponseToJSON,
36
36
  StoreSupplierRequestFromJSON,
37
37
  StoreSupplierRequestToJSON,
38
38
  SupplierLiteResourceArrayResponseFromJSON,
@@ -63,6 +63,10 @@ export interface IndexSupplierOperationRequest {
63
63
  indexSupplierRequest?: IndexSupplierRequest;
64
64
  }
65
65
 
66
+ export interface SearchExcludingRelationsSupplierRequest {
67
+ indexSupplierRequest?: IndexSupplierRequest;
68
+ }
69
+
66
70
  export interface ShowSupplierRequest {
67
71
  supplier: number;
68
72
  }
@@ -242,7 +246,7 @@ export class SupplierApi extends runtime.BaseAPI {
242
246
  /**
243
247
  * Auto-generated: indexSupplier
244
248
  */
245
- async indexSupplierRaw(requestParameters: IndexSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSupplierResourceResponse>> {
249
+ async indexSupplierRaw(requestParameters: IndexSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSupplierListResourceResponse>> {
246
250
  const queryParameters: any = {};
247
251
 
248
252
  const headerParameters: runtime.HTTPHeaders = {};
@@ -260,17 +264,49 @@ export class SupplierApi extends runtime.BaseAPI {
260
264
  body: IndexSupplierRequestToJSON(requestParameters['indexSupplierRequest']),
261
265
  }, initOverrides);
262
266
 
263
- return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSupplierResourceResponseFromJSON(jsonValue));
267
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSupplierListResourceResponseFromJSON(jsonValue));
264
268
  }
265
269
 
266
270
  /**
267
271
  * Auto-generated: indexSupplier
268
272
  */
269
- async indexSupplier(requestParameters: IndexSupplierOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSupplierResourceResponse> {
273
+ async indexSupplier(requestParameters: IndexSupplierOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSupplierListResourceResponse> {
270
274
  const response = await this.indexSupplierRaw(requestParameters, initOverrides);
271
275
  return await response.value();
272
276
  }
273
277
 
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
+
274
310
  /**
275
311
  * Auto-generated: showSupplier
276
312
  */
@@ -18,7 +18,7 @@ import type {
18
18
  GenericResponse,
19
19
  IndexTagRequest,
20
20
  LinkProductChildrenTagRequest,
21
- PaginatedTagResourceResponse,
21
+ PaginatedTagListResourceResponse,
22
22
  ProductChildRelationResourceArrayResponse,
23
23
  StoreTagRequest,
24
24
  TagLiteResourceArrayResponse,
@@ -32,8 +32,8 @@ import {
32
32
  IndexTagRequestToJSON,
33
33
  LinkProductChildrenTagRequestFromJSON,
34
34
  LinkProductChildrenTagRequestToJSON,
35
- PaginatedTagResourceResponseFromJSON,
36
- PaginatedTagResourceResponseToJSON,
35
+ PaginatedTagListResourceResponseFromJSON,
36
+ PaginatedTagListResourceResponseToJSON,
37
37
  ProductChildRelationResourceArrayResponseFromJSON,
38
38
  ProductChildRelationResourceArrayResponseToJSON,
39
39
  StoreTagRequestFromJSON,
@@ -63,6 +63,10 @@ export interface LinkProductChildrenTagOperationRequest {
63
63
  linkProductChildrenTagRequest?: LinkProductChildrenTagRequest;
64
64
  }
65
65
 
66
+ export interface SearchExcludingRelationsTagRequest {
67
+ indexTagRequest?: IndexTagRequest;
68
+ }
69
+
66
70
  export interface ShowTagRequest {
67
71
  tag: number;
68
72
  }
@@ -158,7 +162,7 @@ export class TagApi extends runtime.BaseAPI {
158
162
  /**
159
163
  * Auto-generated: indexTag
160
164
  */
161
- async indexTagRaw(requestParameters: IndexTagOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedTagResourceResponse>> {
165
+ async indexTagRaw(requestParameters: IndexTagOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedTagListResourceResponse>> {
162
166
  const queryParameters: any = {};
163
167
 
164
168
  const headerParameters: runtime.HTTPHeaders = {};
@@ -176,13 +180,13 @@ export class TagApi extends runtime.BaseAPI {
176
180
  body: IndexTagRequestToJSON(requestParameters['indexTagRequest']),
177
181
  }, initOverrides);
178
182
 
179
- return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedTagResourceResponseFromJSON(jsonValue));
183
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedTagListResourceResponseFromJSON(jsonValue));
180
184
  }
181
185
 
182
186
  /**
183
187
  * Auto-generated: indexTag
184
188
  */
185
- async indexTag(requestParameters: IndexTagOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedTagResourceResponse> {
189
+ async indexTag(requestParameters: IndexTagOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedTagListResourceResponse> {
186
190
  const response = await this.indexTagRaw(requestParameters, initOverrides);
187
191
  return await response.value();
188
192
  }
@@ -227,6 +231,38 @@ export class TagApi extends runtime.BaseAPI {
227
231
  return await response.value();
228
232
  }
229
233
 
234
+ /**
235
+ * Auto-generated: searchExcludingRelationsTag
236
+ */
237
+ async searchExcludingRelationsTagRaw(requestParameters: SearchExcludingRelationsTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedTagListResourceResponse>> {
238
+ const queryParameters: any = {};
239
+
240
+ const headerParameters: runtime.HTTPHeaders = {};
241
+
242
+ headerParameters['Content-Type'] = 'application/json';
243
+
244
+
245
+ let urlPath = `/admin-api/tag/search-excluding-relations`;
246
+
247
+ const response = await this.request({
248
+ path: urlPath,
249
+ method: 'POST',
250
+ headers: headerParameters,
251
+ query: queryParameters,
252
+ body: IndexTagRequestToJSON(requestParameters['indexTagRequest']),
253
+ }, initOverrides);
254
+
255
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedTagListResourceResponseFromJSON(jsonValue));
256
+ }
257
+
258
+ /**
259
+ * Auto-generated: searchExcludingRelationsTag
260
+ */
261
+ async searchExcludingRelationsTag(requestParameters: SearchExcludingRelationsTagRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedTagListResourceResponse> {
262
+ const response = await this.searchExcludingRelationsTagRaw(requestParameters, initOverrides);
263
+ return await response.value();
264
+ }
265
+
230
266
  /**
231
267
  * Auto-generated: showTag
232
268
  */