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

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/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.446",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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
  */
@@ -72,7 +72,7 @@ export interface IndexTagRequest {
72
72
  * @type {string}
73
73
  * @memberof IndexTagRequest
74
74
  */
75
- relatedType?: string;
75
+ relatedType?: IndexTagRequestRelatedTypeEnum;
76
76
  }
77
77
 
78
78
 
@@ -97,6 +97,14 @@ export const IndexTagRequestSortDirectionEnum = {
97
97
  } as const;
98
98
  export type IndexTagRequestSortDirectionEnum = typeof IndexTagRequestSortDirectionEnum[keyof typeof IndexTagRequestSortDirectionEnum];
99
99
 
100
+ /**
101
+ * @export
102
+ */
103
+ export const IndexTagRequestRelatedTypeEnum = {
104
+ ProductChild: 'productChild'
105
+ } as const;
106
+ export type IndexTagRequestRelatedTypeEnum = typeof IndexTagRequestRelatedTypeEnum[keyof typeof IndexTagRequestRelatedTypeEnum];
107
+
100
108
 
101
109
  /**
102
110
  * Check if a given object implements the IndexTagRequest interface.
@@ -0,0 +1,90 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { PagingMetadata } from './PagingMetadata';
17
+ import {
18
+ PagingMetadataFromJSON,
19
+ PagingMetadataFromJSONTyped,
20
+ PagingMetadataToJSON,
21
+ PagingMetadataToJSONTyped,
22
+ } from './PagingMetadata';
23
+ import type { TagListResource } from './TagListResource';
24
+ import {
25
+ TagListResourceFromJSON,
26
+ TagListResourceFromJSONTyped,
27
+ TagListResourceToJSON,
28
+ TagListResourceToJSONTyped,
29
+ } from './TagListResource';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface PaginatedTagListResourceResponse
35
+ */
36
+ export interface PaginatedTagListResourceResponse {
37
+ /**
38
+ *
39
+ * @type {Array<TagListResource>}
40
+ * @memberof PaginatedTagListResourceResponse
41
+ */
42
+ data: Array<TagListResource>;
43
+ /**
44
+ *
45
+ * @type {PagingMetadata}
46
+ * @memberof PaginatedTagListResourceResponse
47
+ */
48
+ meta: PagingMetadata;
49
+ }
50
+
51
+ /**
52
+ * Check if a given object implements the PaginatedTagListResourceResponse interface.
53
+ */
54
+ export function instanceOfPaginatedTagListResourceResponse(value: object): value is PaginatedTagListResourceResponse {
55
+ if (!('data' in value) || value['data'] === undefined) return false;
56
+ if (!('meta' in value) || value['meta'] === undefined) return false;
57
+ return true;
58
+ }
59
+
60
+ export function PaginatedTagListResourceResponseFromJSON(json: any): PaginatedTagListResourceResponse {
61
+ return PaginatedTagListResourceResponseFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function PaginatedTagListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedTagListResourceResponse {
65
+ if (json == null) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'data': ((json['data'] as Array<any>).map(TagListResourceFromJSON)),
71
+ 'meta': PagingMetadataFromJSON(json['meta']),
72
+ };
73
+ }
74
+
75
+ export function PaginatedTagListResourceResponseToJSON(json: any): PaginatedTagListResourceResponse {
76
+ return PaginatedTagListResourceResponseToJSONTyped(json, false);
77
+ }
78
+
79
+ export function PaginatedTagListResourceResponseToJSONTyped(value?: PaginatedTagListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
+ if (value == null) {
81
+ return value;
82
+ }
83
+
84
+ return {
85
+
86
+ 'data': ((value['data'] as Array<any>).map(TagListResourceToJSON)),
87
+ 'meta': PagingMetadataToJSON(value['meta']),
88
+ };
89
+ }
90
+
@@ -0,0 +1,110 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { SiteLiteResource } from './SiteLiteResource';
17
+ import {
18
+ SiteLiteResourceFromJSON,
19
+ SiteLiteResourceFromJSONTyped,
20
+ SiteLiteResourceToJSON,
21
+ SiteLiteResourceToJSONTyped,
22
+ } from './SiteLiteResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface TagListResource
28
+ */
29
+ export interface TagListResource {
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof TagListResource
34
+ */
35
+ id: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof TagListResource
40
+ */
41
+ name: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof TagListResource
46
+ */
47
+ slug: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof TagListResource
52
+ */
53
+ type: string;
54
+ /**
55
+ *
56
+ * @type {SiteLiteResource}
57
+ * @memberof TagListResource
58
+ */
59
+ site: SiteLiteResource | null;
60
+ }
61
+
62
+ /**
63
+ * Check if a given object implements the TagListResource interface.
64
+ */
65
+ export function instanceOfTagListResource(value: object): value is TagListResource {
66
+ if (!('id' in value) || value['id'] === undefined) return false;
67
+ if (!('name' in value) || value['name'] === undefined) return false;
68
+ if (!('slug' in value) || value['slug'] === undefined) return false;
69
+ if (!('type' in value) || value['type'] === undefined) return false;
70
+ if (!('site' in value) || value['site'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function TagListResourceFromJSON(json: any): TagListResource {
75
+ return TagListResourceFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function TagListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagListResource {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'id': json['id'],
85
+ 'name': json['name'],
86
+ 'slug': json['slug'],
87
+ 'type': json['type'],
88
+ 'site': SiteLiteResourceFromJSON(json['site']),
89
+ };
90
+ }
91
+
92
+ export function TagListResourceToJSON(json: any): TagListResource {
93
+ return TagListResourceToJSONTyped(json, false);
94
+ }
95
+
96
+ export function TagListResourceToJSONTyped(value?: TagListResource | null, ignoreDiscriminator: boolean = false): any {
97
+ if (value == null) {
98
+ return value;
99
+ }
100
+
101
+ return {
102
+
103
+ 'id': value['id'],
104
+ 'name': value['name'],
105
+ 'slug': value['slug'],
106
+ 'type': value['type'],
107
+ 'site': SiteLiteResourceToJSON(value['site']),
108
+ };
109
+ }
110
+
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { TagListResource } from './TagListResource';
17
+ import {
18
+ TagListResourceFromJSON,
19
+ TagListResourceFromJSONTyped,
20
+ TagListResourceToJSON,
21
+ TagListResourceToJSONTyped,
22
+ } from './TagListResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface TagListResourceArrayResponse
28
+ */
29
+ export interface TagListResourceArrayResponse {
30
+ /**
31
+ *
32
+ * @type {Array<TagListResource>}
33
+ * @memberof TagListResourceArrayResponse
34
+ */
35
+ data?: Array<TagListResource>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the TagListResourceArrayResponse interface.
40
+ */
41
+ export function instanceOfTagListResourceArrayResponse(value: object): value is TagListResourceArrayResponse {
42
+ return true;
43
+ }
44
+
45
+ export function TagListResourceArrayResponseFromJSON(json: any): TagListResourceArrayResponse {
46
+ return TagListResourceArrayResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function TagListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagListResourceArrayResponse {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(TagListResourceFromJSON)),
56
+ };
57
+ }
58
+
59
+ export function TagListResourceArrayResponseToJSON(json: any): TagListResourceArrayResponse {
60
+ return TagListResourceArrayResponseToJSONTyped(json, false);
61
+ }
62
+
63
+ export function TagListResourceArrayResponseToJSONTyped(value?: TagListResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(TagListResourceToJSON)),
71
+ };
72
+ }
73
+
@@ -13,14 +13,6 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { SiteLiteResource } from './SiteLiteResource';
17
- import {
18
- SiteLiteResourceFromJSON,
19
- SiteLiteResourceFromJSONTyped,
20
- SiteLiteResourceToJSON,
21
- SiteLiteResourceToJSONTyped,
22
- } from './SiteLiteResource';
23
-
24
16
  /**
25
17
  *
26
18
  * @export
@@ -39,12 +31,6 @@ export interface TagLiteResource {
39
31
  * @memberof TagLiteResource
40
32
  */
41
33
  name: string;
42
- /**
43
- *
44
- * @type {SiteLiteResource}
45
- * @memberof TagLiteResource
46
- */
47
- site: SiteLiteResource | null;
48
34
  }
49
35
 
50
36
  /**
@@ -53,7 +39,6 @@ export interface TagLiteResource {
53
39
  export function instanceOfTagLiteResource(value: object): value is TagLiteResource {
54
40
  if (!('id' in value) || value['id'] === undefined) return false;
55
41
  if (!('name' in value) || value['name'] === undefined) return false;
56
- if (!('site' in value) || value['site'] === undefined) return false;
57
42
  return true;
58
43
  }
59
44
 
@@ -69,7 +54,6 @@ export function TagLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
69
54
 
70
55
  'id': json['id'],
71
56
  'name': json['name'],
72
- 'site': SiteLiteResourceFromJSON(json['site']),
73
57
  };
74
58
  }
75
59
 
@@ -86,7 +70,6 @@ export function TagLiteResourceToJSONTyped(value?: TagLiteResource | null, ignor
86
70
 
87
71
  'id': value['id'],
88
72
  'name': value['name'],
89
- 'site': SiteLiteResourceToJSON(value['site']),
90
73
  };
91
74
  }
92
75
 
@@ -71,6 +71,7 @@ export * from './PaginatedSiteResourceResponse';
71
71
  export * from './PaginatedSupplierFrontendResourceResponse';
72
72
  export * from './PaginatedSupplierLiteResourceResponse';
73
73
  export * from './PaginatedSupplierResourceResponse';
74
+ export * from './PaginatedTagListResourceResponse';
74
75
  export * from './PaginatedTagLiteResourceResponse';
75
76
  export * from './PaginatedTagResourceResponse';
76
77
  export * from './PagingMetadata';
@@ -127,6 +128,8 @@ export * from './SupplierLiteResource';
127
128
  export * from './SupplierLiteResourceArrayResponse';
128
129
  export * from './SupplierResource';
129
130
  export * from './SupplierResourceArrayResponse';
131
+ export * from './TagListResource';
132
+ export * from './TagListResourceArrayResponse';
130
133
  export * from './TagLiteResource';
131
134
  export * from './TagLiteResourceArrayResponse';
132
135
  export * from './TagResource';