@digital8/lighting-illusions-ts-sdk 0.0.968 → 0.0.969

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.
@@ -96,7 +96,6 @@ docs/GoogleCategoryApi.md
96
96
  docs/GoogleCategoryResource.md
97
97
  docs/GoogleCategoryResourceArrayResponse.md
98
98
  docs/IndexAttributeRequest.md
99
- docs/IndexAttributeValueRequest.md
100
99
  docs/IndexDefinitionRequest.md
101
100
  docs/IndexDocumentRequest.md
102
101
  docs/IndexExternalApiLogRequest.md
@@ -127,7 +126,6 @@ docs/PaginatedAttributeListResourceResponse.md
127
126
  docs/PaginatedAttributeLiteResourceResponse.md
128
127
  docs/PaginatedAttributeProductTypeRelationResourceResponse.md
129
128
  docs/PaginatedAttributeResourceResponse.md
130
- docs/PaginatedAttributeValueResourceResponse.md
131
129
  docs/PaginatedCategoryFrontendResourceResponse.md
132
130
  docs/PaginatedDefinitionListResourceResponse.md
133
131
  docs/PaginatedDefinitionResourceResponse.md
@@ -405,7 +403,6 @@ src/models/GlobalSearchResponseResourceArrayResponse.ts
405
403
  src/models/GoogleCategoryResource.ts
406
404
  src/models/GoogleCategoryResourceArrayResponse.ts
407
405
  src/models/IndexAttributeRequest.ts
408
- src/models/IndexAttributeValueRequest.ts
409
406
  src/models/IndexDefinitionRequest.ts
410
407
  src/models/IndexDocumentRequest.ts
411
408
  src/models/IndexExternalApiLogRequest.ts
@@ -435,7 +432,6 @@ src/models/PaginatedAttributeListResourceResponse.ts
435
432
  src/models/PaginatedAttributeLiteResourceResponse.ts
436
433
  src/models/PaginatedAttributeProductTypeRelationResourceResponse.ts
437
434
  src/models/PaginatedAttributeResourceResponse.ts
438
- src/models/PaginatedAttributeValueResourceResponse.ts
439
435
  src/models/PaginatedCategoryFrontendResourceResponse.ts
440
436
  src/models/PaginatedDefinitionListResourceResponse.ts
441
437
  src/models/PaginatedDefinitionResourceResponse.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.968
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.969
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -60,7 +60,6 @@ All URIs are relative to *http://localhost/api*
60
60
  *AttributeApi* | [**detachProductTypeAttribute**](docs/AttributeApi.md#detachproducttypeattribute) | **POST** /admin-api/attribute/{attribute}/detach-product-type/{productType} | Auto-generated: detachProductTypeAttribute
61
61
  *AttributeApi* | [**getAllAttribute**](docs/AttributeApi.md#getallattributeoperation) | **POST** /admin-api/attribute/all | Auto-generated: getAllAttribute
62
62
  *AttributeApi* | [**indexAttribute**](docs/AttributeApi.md#indexattributeoperation) | **POST** /admin-api/attribute/list | Auto-generated: indexAttribute
63
- *AttributeApi* | [**indexAttributeValue**](docs/AttributeApi.md#indexattributevalueoperation) | **POST** /admin-api/attribute/value/list | Auto-generated: indexAttributeValue
64
63
  *AttributeApi* | [**showAttribute**](docs/AttributeApi.md#showattribute) | **GET** /admin-api/attribute/{attribute} | Auto-generated: showAttribute
65
64
  *AttributeApi* | [**storeAttribute**](docs/AttributeApi.md#storeattributeoperation) | **POST** /admin-api/attribute/create | Auto-generated: storeAttribute
66
65
  *AttributeApi* | [**storeAttributeValue**](docs/AttributeApi.md#storeattributevalueoperation) | **POST** /admin-api/attribute/value/create | Auto-generated: storeAttributeValue
@@ -257,7 +256,6 @@ All URIs are relative to *http://localhost/api*
257
256
  - [GoogleCategoryResource](docs/GoogleCategoryResource.md)
258
257
  - [GoogleCategoryResourceArrayResponse](docs/GoogleCategoryResourceArrayResponse.md)
259
258
  - [IndexAttributeRequest](docs/IndexAttributeRequest.md)
260
- - [IndexAttributeValueRequest](docs/IndexAttributeValueRequest.md)
261
259
  - [IndexDefinitionRequest](docs/IndexDefinitionRequest.md)
262
260
  - [IndexDocumentRequest](docs/IndexDocumentRequest.md)
263
261
  - [IndexExternalApiLogRequest](docs/IndexExternalApiLogRequest.md)
@@ -287,7 +285,6 @@ All URIs are relative to *http://localhost/api*
287
285
  - [PaginatedAttributeLiteResourceResponse](docs/PaginatedAttributeLiteResourceResponse.md)
288
286
  - [PaginatedAttributeProductTypeRelationResourceResponse](docs/PaginatedAttributeProductTypeRelationResourceResponse.md)
289
287
  - [PaginatedAttributeResourceResponse](docs/PaginatedAttributeResourceResponse.md)
290
- - [PaginatedAttributeValueResourceResponse](docs/PaginatedAttributeValueResourceResponse.md)
291
288
  - [PaginatedCategoryFrontendResourceResponse](docs/PaginatedCategoryFrontendResourceResponse.md)
292
289
  - [PaginatedDefinitionListResourceResponse](docs/PaginatedDefinitionListResourceResponse.md)
293
290
  - [PaginatedDefinitionResourceResponse](docs/PaginatedDefinitionResourceResponse.md)
@@ -468,7 +465,7 @@ and is automatically generated by the
468
465
  [OpenAPI Generator](https://openapi-generator.tech) project:
469
466
 
470
467
  - API version: `1.0.0`
471
- - Package version: `0.0.968`
468
+ - Package version: `0.0.969`
472
469
  - Generator version: `7.19.0`
473
470
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
474
471
 
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AttachProductTypeAttributeRequest, AttributeLiteResourceArrayResponse, AttributeResource, AttributeResourceArrayResponse, DestroyAttributeValueRequest, GenericResponse, GetAllAttributeRequest, IndexAttributeRequest, IndexAttributeValueRequest, ModelAttributeResourceArrayResponse, PaginatedAttributeListResourceResponse, PaginatedAttributeValueResourceResponse, StoreAttributeRequest, StoreAttributeValueRequest, UpdateAttributeRequest, UpdateAttributeValueRequest, UpdateFilterOrderAttributeRequest, UpdateModelAttributeRequest } from '../models/index';
13
+ import type { AttachProductTypeAttributeRequest, AttributeLiteResourceArrayResponse, AttributeResource, AttributeResourceArrayResponse, DestroyAttributeValueRequest, GenericResponse, GetAllAttributeRequest, IndexAttributeRequest, ModelAttributeResourceArrayResponse, PaginatedAttributeListResourceResponse, StoreAttributeRequest, StoreAttributeValueRequest, UpdateAttributeRequest, UpdateAttributeValueRequest, UpdateFilterOrderAttributeRequest, UpdateModelAttributeRequest } from '../models/index';
14
14
  export interface AttachProductTypeAttributeOperationRequest {
15
15
  attribute: number;
16
16
  attachProductTypeAttributeRequest?: AttachProductTypeAttributeRequest;
@@ -32,9 +32,6 @@ export interface GetAllAttributeOperationRequest {
32
32
  export interface IndexAttributeOperationRequest {
33
33
  indexAttributeRequest?: IndexAttributeRequest;
34
34
  }
35
- export interface IndexAttributeValueOperationRequest {
36
- indexAttributeValueRequest?: IndexAttributeValueRequest;
37
- }
38
35
  export interface ShowAttributeRequest {
39
36
  attribute: number;
40
37
  }
@@ -115,14 +112,6 @@ export declare class AttributeApi extends runtime.BaseAPI {
115
112
  * Auto-generated: indexAttribute
116
113
  */
117
114
  indexAttribute(requestParameters?: IndexAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedAttributeListResourceResponse>;
118
- /**
119
- * Auto-generated: indexAttributeValue
120
- */
121
- indexAttributeValueRaw(requestParameters: IndexAttributeValueOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedAttributeValueResourceResponse>>;
122
- /**
123
- * Auto-generated: indexAttributeValue
124
- */
125
- indexAttributeValue(requestParameters?: IndexAttributeValueOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedAttributeValueResourceResponse>;
126
115
  /**
127
116
  * Auto-generated: showAttribute
128
117
  */
@@ -357,51 +357,6 @@ var AttributeApi = /** @class */ (function (_super) {
357
357
  });
358
358
  });
359
359
  };
360
- /**
361
- * Auto-generated: indexAttributeValue
362
- */
363
- AttributeApi.prototype.indexAttributeValueRaw = function (requestParameters, initOverrides) {
364
- return __awaiter(this, void 0, void 0, function () {
365
- var queryParameters, headerParameters, urlPath, response;
366
- return __generator(this, function (_a) {
367
- switch (_a.label) {
368
- case 0:
369
- queryParameters = {};
370
- headerParameters = {};
371
- headerParameters['Content-Type'] = 'application/json';
372
- urlPath = "/admin-api/attribute/value/list";
373
- return [4 /*yield*/, this.request({
374
- path: urlPath,
375
- method: 'POST',
376
- headers: headerParameters,
377
- query: queryParameters,
378
- body: (0, index_1.IndexAttributeValueRequestToJSON)(requestParameters['indexAttributeValueRequest']),
379
- }, initOverrides)];
380
- case 1:
381
- response = _a.sent();
382
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedAttributeValueResourceResponseFromJSON)(jsonValue); })];
383
- }
384
- });
385
- });
386
- };
387
- /**
388
- * Auto-generated: indexAttributeValue
389
- */
390
- AttributeApi.prototype.indexAttributeValue = function () {
391
- return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
392
- var response;
393
- if (requestParameters === void 0) { requestParameters = {}; }
394
- return __generator(this, function (_a) {
395
- switch (_a.label) {
396
- case 0: return [4 /*yield*/, this.indexAttributeValueRaw(requestParameters, initOverrides)];
397
- case 1:
398
- response = _a.sent();
399
- return [4 /*yield*/, response.value()];
400
- case 2: return [2 /*return*/, _a.sent()];
401
- }
402
- });
403
- });
404
- };
405
360
  /**
406
361
  * Auto-generated: showAttribute
407
362
  */
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload: string;
66
+ requestPayload?: string | null;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,8 +37,6 @@ function instanceOfExternalApiLogResource(value) {
37
37
  return false;
38
38
  if (!('responseCode' in value) || value['responseCode'] === undefined)
39
39
  return false;
40
- if (!('requestPayload' in value) || value['requestPayload'] === undefined)
41
- return false;
42
40
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
43
41
  return false;
44
42
  if (!('site' in value) || value['site'] === undefined)
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
60
58
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
61
59
  'endpoint': json['endpoint'],
62
60
  'responseCode': json['responseCode'],
63
- 'requestPayload': json['requestPayload'],
61
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
64
62
  'responsePayload': json['responsePayload'],
65
63
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
66
64
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -86,7 +86,6 @@ export * from './GlobalSearchResponseResourceArrayResponse';
86
86
  export * from './GoogleCategoryResource';
87
87
  export * from './GoogleCategoryResourceArrayResponse';
88
88
  export * from './IndexAttributeRequest';
89
- export * from './IndexAttributeValueRequest';
90
89
  export * from './IndexDefinitionRequest';
91
90
  export * from './IndexDocumentRequest';
92
91
  export * from './IndexExternalApiLogRequest';
@@ -116,7 +115,6 @@ export * from './PaginatedAttributeListResourceResponse';
116
115
  export * from './PaginatedAttributeLiteResourceResponse';
117
116
  export * from './PaginatedAttributeProductTypeRelationResourceResponse';
118
117
  export * from './PaginatedAttributeResourceResponse';
119
- export * from './PaginatedAttributeValueResourceResponse';
120
118
  export * from './PaginatedCategoryFrontendResourceResponse';
121
119
  export * from './PaginatedDefinitionListResourceResponse';
122
120
  export * from './PaginatedDefinitionResourceResponse';
@@ -104,7 +104,6 @@ __exportStar(require("./GlobalSearchResponseResourceArrayResponse"), exports);
104
104
  __exportStar(require("./GoogleCategoryResource"), exports);
105
105
  __exportStar(require("./GoogleCategoryResourceArrayResponse"), exports);
106
106
  __exportStar(require("./IndexAttributeRequest"), exports);
107
- __exportStar(require("./IndexAttributeValueRequest"), exports);
108
107
  __exportStar(require("./IndexDefinitionRequest"), exports);
109
108
  __exportStar(require("./IndexDocumentRequest"), exports);
110
109
  __exportStar(require("./IndexExternalApiLogRequest"), exports);
@@ -134,7 +133,6 @@ __exportStar(require("./PaginatedAttributeListResourceResponse"), exports);
134
133
  __exportStar(require("./PaginatedAttributeLiteResourceResponse"), exports);
135
134
  __exportStar(require("./PaginatedAttributeProductTypeRelationResourceResponse"), exports);
136
135
  __exportStar(require("./PaginatedAttributeResourceResponse"), exports);
137
- __exportStar(require("./PaginatedAttributeValueResourceResponse"), exports);
138
136
  __exportStar(require("./PaginatedCategoryFrontendResourceResponse"), exports);
139
137
  __exportStar(require("./PaginatedDefinitionListResourceResponse"), exports);
140
138
  __exportStar(require("./PaginatedDefinitionResourceResponse"), exports);
@@ -10,7 +10,6 @@ All URIs are relative to *http://localhost/api*
10
10
  | [**detachProductTypeAttribute**](AttributeApi.md#detachproducttypeattribute) | **POST** /admin-api/attribute/{attribute}/detach-product-type/{productType} | Auto-generated: detachProductTypeAttribute |
11
11
  | [**getAllAttribute**](AttributeApi.md#getallattributeoperation) | **POST** /admin-api/attribute/all | Auto-generated: getAllAttribute |
12
12
  | [**indexAttribute**](AttributeApi.md#indexattributeoperation) | **POST** /admin-api/attribute/list | Auto-generated: indexAttribute |
13
- | [**indexAttributeValue**](AttributeApi.md#indexattributevalueoperation) | **POST** /admin-api/attribute/value/list | Auto-generated: indexAttributeValue |
14
13
  | [**showAttribute**](AttributeApi.md#showattribute) | **GET** /admin-api/attribute/{attribute} | Auto-generated: showAttribute |
15
14
  | [**storeAttribute**](AttributeApi.md#storeattributeoperation) | **POST** /admin-api/attribute/create | Auto-generated: storeAttribute |
16
15
  | [**storeAttributeValue**](AttributeApi.md#storeattributevalueoperation) | **POST** /admin-api/attribute/value/create | Auto-generated: storeAttributeValue |
@@ -421,71 +420,6 @@ No authorization required
421
420
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
422
421
 
423
422
 
424
- ## indexAttributeValue
425
-
426
- > PaginatedAttributeValueResourceResponse indexAttributeValue(indexAttributeValueRequest)
427
-
428
- Auto-generated: indexAttributeValue
429
-
430
- ### Example
431
-
432
- ```ts
433
- import {
434
- Configuration,
435
- AttributeApi,
436
- } from '@digital8/lighting-illusions-ts-sdk';
437
- import type { IndexAttributeValueOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
438
-
439
- async function example() {
440
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
441
- const api = new AttributeApi();
442
-
443
- const body = {
444
- // IndexAttributeValueRequest (optional)
445
- indexAttributeValueRequest: ...,
446
- } satisfies IndexAttributeValueOperationRequest;
447
-
448
- try {
449
- const data = await api.indexAttributeValue(body);
450
- console.log(data);
451
- } catch (error) {
452
- console.error(error);
453
- }
454
- }
455
-
456
- // Run the test
457
- example().catch(console.error);
458
- ```
459
-
460
- ### Parameters
461
-
462
-
463
- | Name | Type | Description | Notes |
464
- |------------- | ------------- | ------------- | -------------|
465
- | **indexAttributeValueRequest** | [IndexAttributeValueRequest](IndexAttributeValueRequest.md) | | [Optional] |
466
-
467
- ### Return type
468
-
469
- [**PaginatedAttributeValueResourceResponse**](PaginatedAttributeValueResourceResponse.md)
470
-
471
- ### Authorization
472
-
473
- No authorization required
474
-
475
- ### HTTP request headers
476
-
477
- - **Content-Type**: `application/json`
478
- - **Accept**: `application/json`
479
-
480
-
481
- ### HTTP response details
482
- | Status code | Description | Response headers |
483
- |-------------|-------------|------------------|
484
- | **200** | Paginated response \\JsonResponse&lt;\\ResourcePaginator&lt;\\AttributeValueResource[]&gt;&gt; | - |
485
-
486
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
487
-
488
-
489
423
  ## showAttribute
490
424
 
491
425
  > AttributeResource showAttribute(attribute)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.968",
3
+ "version": "0.0.969",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -23,10 +23,8 @@ import type {
23
23
  GenericResponse,
24
24
  GetAllAttributeRequest,
25
25
  IndexAttributeRequest,
26
- IndexAttributeValueRequest,
27
26
  ModelAttributeResourceArrayResponse,
28
27
  PaginatedAttributeListResourceResponse,
29
- PaginatedAttributeValueResourceResponse,
30
28
  StoreAttributeRequest,
31
29
  StoreAttributeValueRequest,
32
30
  UpdateAttributeRequest,
@@ -51,14 +49,10 @@ import {
51
49
  GetAllAttributeRequestToJSON,
52
50
  IndexAttributeRequestFromJSON,
53
51
  IndexAttributeRequestToJSON,
54
- IndexAttributeValueRequestFromJSON,
55
- IndexAttributeValueRequestToJSON,
56
52
  ModelAttributeResourceArrayResponseFromJSON,
57
53
  ModelAttributeResourceArrayResponseToJSON,
58
54
  PaginatedAttributeListResourceResponseFromJSON,
59
55
  PaginatedAttributeListResourceResponseToJSON,
60
- PaginatedAttributeValueResourceResponseFromJSON,
61
- PaginatedAttributeValueResourceResponseToJSON,
62
56
  StoreAttributeRequestFromJSON,
63
57
  StoreAttributeRequestToJSON,
64
58
  StoreAttributeValueRequestFromJSON,
@@ -100,10 +94,6 @@ export interface IndexAttributeOperationRequest {
100
94
  indexAttributeRequest?: IndexAttributeRequest;
101
95
  }
102
96
 
103
- export interface IndexAttributeValueOperationRequest {
104
- indexAttributeValueRequest?: IndexAttributeValueRequest;
105
- }
106
-
107
97
  export interface ShowAttributeRequest {
108
98
  attribute: number;
109
99
  }
@@ -371,38 +361,6 @@ export class AttributeApi extends runtime.BaseAPI {
371
361
  return await response.value();
372
362
  }
373
363
 
374
- /**
375
- * Auto-generated: indexAttributeValue
376
- */
377
- async indexAttributeValueRaw(requestParameters: IndexAttributeValueOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedAttributeValueResourceResponse>> {
378
- const queryParameters: any = {};
379
-
380
- const headerParameters: runtime.HTTPHeaders = {};
381
-
382
- headerParameters['Content-Type'] = 'application/json';
383
-
384
-
385
- let urlPath = `/admin-api/attribute/value/list`;
386
-
387
- const response = await this.request({
388
- path: urlPath,
389
- method: 'POST',
390
- headers: headerParameters,
391
- query: queryParameters,
392
- body: IndexAttributeValueRequestToJSON(requestParameters['indexAttributeValueRequest']),
393
- }, initOverrides);
394
-
395
- return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedAttributeValueResourceResponseFromJSON(jsonValue));
396
- }
397
-
398
- /**
399
- * Auto-generated: indexAttributeValue
400
- */
401
- async indexAttributeValue(requestParameters: IndexAttributeValueOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedAttributeValueResourceResponse> {
402
- const response = await this.indexAttributeValueRaw(requestParameters, initOverrides);
403
- return await response.value();
404
- }
405
-
406
364
  /**
407
365
  * Auto-generated: showAttribute
408
366
  */
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload: string;
77
+ requestPayload?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,7 +106,6 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
106
106
  if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
107
107
  if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
108
108
  if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
109
- if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
110
109
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
111
110
  if (!('site' in value) || value['site'] === undefined) return false;
112
111
  return true;
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
129
128
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
130
129
  'endpoint': json['endpoint'],
131
130
  'responseCode': json['responseCode'],
132
- 'requestPayload': json['requestPayload'],
131
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
133
132
  'responsePayload': json['responsePayload'],
134
133
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
135
134
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -88,7 +88,6 @@ export * from './GlobalSearchResponseResourceArrayResponse';
88
88
  export * from './GoogleCategoryResource';
89
89
  export * from './GoogleCategoryResourceArrayResponse';
90
90
  export * from './IndexAttributeRequest';
91
- export * from './IndexAttributeValueRequest';
92
91
  export * from './IndexDefinitionRequest';
93
92
  export * from './IndexDocumentRequest';
94
93
  export * from './IndexExternalApiLogRequest';
@@ -118,7 +117,6 @@ export * from './PaginatedAttributeListResourceResponse';
118
117
  export * from './PaginatedAttributeLiteResourceResponse';
119
118
  export * from './PaginatedAttributeProductTypeRelationResourceResponse';
120
119
  export * from './PaginatedAttributeResourceResponse';
121
- export * from './PaginatedAttributeValueResourceResponse';
122
120
  export * from './PaginatedCategoryFrontendResourceResponse';
123
121
  export * from './PaginatedDefinitionListResourceResponse';
124
122
  export * from './PaginatedDefinitionResourceResponse';
@@ -1,105 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface IndexAttributeValueRequest
16
- */
17
- export interface IndexAttributeValueRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof IndexAttributeValueRequest
22
- */
23
- search?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof IndexAttributeValueRequest
28
- */
29
- sortBy?: IndexAttributeValueRequestSortByEnum;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof IndexAttributeValueRequest
34
- */
35
- sortDirection?: IndexAttributeValueRequestSortDirectionEnum;
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof IndexAttributeValueRequest
40
- */
41
- perPage?: number;
42
- /**
43
- *
44
- * @type {number}
45
- * @memberof IndexAttributeValueRequest
46
- */
47
- page?: number;
48
- /**
49
- *
50
- * @type {Array<string>}
51
- * @memberof IndexAttributeValueRequest
52
- */
53
- attributeId?: Array<string>;
54
- /**
55
- *
56
- * @type {number}
57
- * @memberof IndexAttributeValueRequest
58
- */
59
- relatedId?: number;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof IndexAttributeValueRequest
64
- */
65
- relatedType?: IndexAttributeValueRequestRelatedTypeEnum;
66
- /**
67
- *
68
- * @type {boolean}
69
- * @memberof IndexAttributeValueRequest
70
- */
71
- includesRelations?: boolean;
72
- }
73
- /**
74
- * @export
75
- */
76
- export declare const IndexAttributeValueRequestSortByEnum: {
77
- readonly Id: "id";
78
- readonly Value: "value";
79
- readonly CreatedAt: "created_at";
80
- readonly UpdatedAt: "updated_at";
81
- };
82
- export type IndexAttributeValueRequestSortByEnum = typeof IndexAttributeValueRequestSortByEnum[keyof typeof IndexAttributeValueRequestSortByEnum];
83
- /**
84
- * @export
85
- */
86
- export declare const IndexAttributeValueRequestSortDirectionEnum: {
87
- readonly Asc: "asc";
88
- readonly Desc: "desc";
89
- };
90
- export type IndexAttributeValueRequestSortDirectionEnum = typeof IndexAttributeValueRequestSortDirectionEnum[keyof typeof IndexAttributeValueRequestSortDirectionEnum];
91
- /**
92
- * @export
93
- */
94
- export declare const IndexAttributeValueRequestRelatedTypeEnum: {
95
- readonly Attribute: "attribute";
96
- };
97
- export type IndexAttributeValueRequestRelatedTypeEnum = typeof IndexAttributeValueRequestRelatedTypeEnum[keyof typeof IndexAttributeValueRequestRelatedTypeEnum];
98
- /**
99
- * Check if a given object implements the IndexAttributeValueRequest interface.
100
- */
101
- export declare function instanceOfIndexAttributeValueRequest(value: object): value is IndexAttributeValueRequest;
102
- export declare function IndexAttributeValueRequestFromJSON(json: any): IndexAttributeValueRequest;
103
- export declare function IndexAttributeValueRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexAttributeValueRequest;
104
- export declare function IndexAttributeValueRequestToJSON(json: any): IndexAttributeValueRequest;
105
- export declare function IndexAttributeValueRequestToJSONTyped(value?: IndexAttributeValueRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,88 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.IndexAttributeValueRequestRelatedTypeEnum = exports.IndexAttributeValueRequestSortDirectionEnum = exports.IndexAttributeValueRequestSortByEnum = void 0;
17
- exports.instanceOfIndexAttributeValueRequest = instanceOfIndexAttributeValueRequest;
18
- exports.IndexAttributeValueRequestFromJSON = IndexAttributeValueRequestFromJSON;
19
- exports.IndexAttributeValueRequestFromJSONTyped = IndexAttributeValueRequestFromJSONTyped;
20
- exports.IndexAttributeValueRequestToJSON = IndexAttributeValueRequestToJSON;
21
- exports.IndexAttributeValueRequestToJSONTyped = IndexAttributeValueRequestToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.IndexAttributeValueRequestSortByEnum = {
26
- Id: 'id',
27
- Value: 'value',
28
- CreatedAt: 'created_at',
29
- UpdatedAt: 'updated_at'
30
- };
31
- /**
32
- * @export
33
- */
34
- exports.IndexAttributeValueRequestSortDirectionEnum = {
35
- Asc: 'asc',
36
- Desc: 'desc'
37
- };
38
- /**
39
- * @export
40
- */
41
- exports.IndexAttributeValueRequestRelatedTypeEnum = {
42
- Attribute: 'attribute'
43
- };
44
- /**
45
- * Check if a given object implements the IndexAttributeValueRequest interface.
46
- */
47
- function instanceOfIndexAttributeValueRequest(value) {
48
- return true;
49
- }
50
- function IndexAttributeValueRequestFromJSON(json) {
51
- return IndexAttributeValueRequestFromJSONTyped(json, false);
52
- }
53
- function IndexAttributeValueRequestFromJSONTyped(json, ignoreDiscriminator) {
54
- if (json == null) {
55
- return json;
56
- }
57
- return {
58
- 'search': json['search'] == null ? undefined : json['search'],
59
- 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
60
- 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
61
- 'perPage': json['per_page'] == null ? undefined : json['per_page'],
62
- 'page': json['page'] == null ? undefined : json['page'],
63
- 'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
64
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
65
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
66
- 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
67
- };
68
- }
69
- function IndexAttributeValueRequestToJSON(json) {
70
- return IndexAttributeValueRequestToJSONTyped(json, false);
71
- }
72
- function IndexAttributeValueRequestToJSONTyped(value, ignoreDiscriminator) {
73
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
74
- if (value == null) {
75
- return value;
76
- }
77
- return {
78
- 'search': value['search'],
79
- 'sortBy': value['sortBy'],
80
- 'sortDirection': value['sortDirection'],
81
- 'per_page': value['perPage'],
82
- 'page': value['page'],
83
- 'attribute_id': value['attributeId'],
84
- 'related_id': value['relatedId'],
85
- 'related_type': value['relatedType'],
86
- 'includes_relations': value['includesRelations'],
87
- };
88
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { AttributeValueResource } from './AttributeValueResource';
13
- import type { PagingMetadata } from './PagingMetadata';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedAttributeValueResourceResponse
18
- */
19
- export interface PaginatedAttributeValueResourceResponse {
20
- /**
21
- *
22
- * @type {Array<AttributeValueResource>}
23
- * @memberof PaginatedAttributeValueResourceResponse
24
- */
25
- data: Array<AttributeValueResource>;
26
- /**
27
- *
28
- * @type {PagingMetadata}
29
- * @memberof PaginatedAttributeValueResourceResponse
30
- */
31
- meta: PagingMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedAttributeValueResourceResponse interface.
35
- */
36
- export declare function instanceOfPaginatedAttributeValueResourceResponse(value: object): value is PaginatedAttributeValueResourceResponse;
37
- export declare function PaginatedAttributeValueResourceResponseFromJSON(json: any): PaginatedAttributeValueResourceResponse;
38
- export declare function PaginatedAttributeValueResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedAttributeValueResourceResponse;
39
- export declare function PaginatedAttributeValueResourceResponseToJSON(json: any): PaginatedAttributeValueResourceResponse;
40
- export declare function PaginatedAttributeValueResourceResponseToJSONTyped(value?: PaginatedAttributeValueResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfPaginatedAttributeValueResourceResponse = instanceOfPaginatedAttributeValueResourceResponse;
17
- exports.PaginatedAttributeValueResourceResponseFromJSON = PaginatedAttributeValueResourceResponseFromJSON;
18
- exports.PaginatedAttributeValueResourceResponseFromJSONTyped = PaginatedAttributeValueResourceResponseFromJSONTyped;
19
- exports.PaginatedAttributeValueResourceResponseToJSON = PaginatedAttributeValueResourceResponseToJSON;
20
- exports.PaginatedAttributeValueResourceResponseToJSONTyped = PaginatedAttributeValueResourceResponseToJSONTyped;
21
- var AttributeValueResource_1 = require("./AttributeValueResource");
22
- var PagingMetadata_1 = require("./PagingMetadata");
23
- /**
24
- * Check if a given object implements the PaginatedAttributeValueResourceResponse interface.
25
- */
26
- function instanceOfPaginatedAttributeValueResourceResponse(value) {
27
- if (!('data' in value) || value['data'] === undefined)
28
- return false;
29
- if (!('meta' in value) || value['meta'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function PaginatedAttributeValueResourceResponseFromJSON(json) {
34
- return PaginatedAttributeValueResourceResponseFromJSONTyped(json, false);
35
- }
36
- function PaginatedAttributeValueResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'data': (json['data'].map(AttributeValueResource_1.AttributeValueResourceFromJSON)),
42
- 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
- };
44
- }
45
- function PaginatedAttributeValueResourceResponseToJSON(json) {
46
- return PaginatedAttributeValueResourceResponseToJSONTyped(json, false);
47
- }
48
- function PaginatedAttributeValueResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'data': (value['data'].map(AttributeValueResource_1.AttributeValueResourceToJSON)),
55
- 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
- };
57
- }
@@ -1,50 +0,0 @@
1
-
2
- # IndexAttributeValueRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `search` | string
10
- `sortBy` | string
11
- `sortDirection` | string
12
- `perPage` | number
13
- `page` | number
14
- `attributeId` | Array&lt;string&gt;
15
- `relatedId` | number
16
- `relatedType` | string
17
- `includesRelations` | boolean
18
-
19
- ## Example
20
-
21
- ```typescript
22
- import type { IndexAttributeValueRequest } from '@digital8/lighting-illusions-ts-sdk'
23
-
24
- // TODO: Update the object below with actual values
25
- const example = {
26
- "search": null,
27
- "sortBy": null,
28
- "sortDirection": null,
29
- "perPage": null,
30
- "page": null,
31
- "attributeId": null,
32
- "relatedId": null,
33
- "relatedType": null,
34
- "includesRelations": null,
35
- } satisfies IndexAttributeValueRequest
36
-
37
- console.log(example)
38
-
39
- // Convert the instance to a JSON string
40
- const exampleJSON: string = JSON.stringify(example)
41
- console.log(exampleJSON)
42
-
43
- // Parse the JSON string back to an object
44
- const exampleParsed = JSON.parse(exampleJSON) as IndexAttributeValueRequest
45
- console.log(exampleParsed)
46
- ```
47
-
48
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
49
-
50
-
@@ -1,36 +0,0 @@
1
-
2
- # PaginatedAttributeValueResourceResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array&lt;AttributeValueResource&gt;](AttributeValueResource.md)
10
- `meta` | [PagingMetadata](PagingMetadata.md)
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { PaginatedAttributeValueResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "data": null,
20
- "meta": null,
21
- } satisfies PaginatedAttributeValueResourceResponse
22
-
23
- console.log(example)
24
-
25
- // Convert the instance to a JSON string
26
- const exampleJSON: string = JSON.stringify(example)
27
- console.log(exampleJSON)
28
-
29
- // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as PaginatedAttributeValueResourceResponse
31
- console.log(exampleParsed)
32
- ```
33
-
34
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
-
36
-
@@ -1,159 +0,0 @@
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
- /**
17
- *
18
- * @export
19
- * @interface IndexAttributeValueRequest
20
- */
21
- export interface IndexAttributeValueRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof IndexAttributeValueRequest
26
- */
27
- search?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof IndexAttributeValueRequest
32
- */
33
- sortBy?: IndexAttributeValueRequestSortByEnum;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof IndexAttributeValueRequest
38
- */
39
- sortDirection?: IndexAttributeValueRequestSortDirectionEnum;
40
- /**
41
- *
42
- * @type {number}
43
- * @memberof IndexAttributeValueRequest
44
- */
45
- perPage?: number;
46
- /**
47
- *
48
- * @type {number}
49
- * @memberof IndexAttributeValueRequest
50
- */
51
- page?: number;
52
- /**
53
- *
54
- * @type {Array<string>}
55
- * @memberof IndexAttributeValueRequest
56
- */
57
- attributeId?: Array<string>;
58
- /**
59
- *
60
- * @type {number}
61
- * @memberof IndexAttributeValueRequest
62
- */
63
- relatedId?: number;
64
- /**
65
- *
66
- * @type {string}
67
- * @memberof IndexAttributeValueRequest
68
- */
69
- relatedType?: IndexAttributeValueRequestRelatedTypeEnum;
70
- /**
71
- *
72
- * @type {boolean}
73
- * @memberof IndexAttributeValueRequest
74
- */
75
- includesRelations?: boolean;
76
- }
77
-
78
-
79
- /**
80
- * @export
81
- */
82
- export const IndexAttributeValueRequestSortByEnum = {
83
- Id: 'id',
84
- Value: 'value',
85
- CreatedAt: 'created_at',
86
- UpdatedAt: 'updated_at'
87
- } as const;
88
- export type IndexAttributeValueRequestSortByEnum = typeof IndexAttributeValueRequestSortByEnum[keyof typeof IndexAttributeValueRequestSortByEnum];
89
-
90
- /**
91
- * @export
92
- */
93
- export const IndexAttributeValueRequestSortDirectionEnum = {
94
- Asc: 'asc',
95
- Desc: 'desc'
96
- } as const;
97
- export type IndexAttributeValueRequestSortDirectionEnum = typeof IndexAttributeValueRequestSortDirectionEnum[keyof typeof IndexAttributeValueRequestSortDirectionEnum];
98
-
99
- /**
100
- * @export
101
- */
102
- export const IndexAttributeValueRequestRelatedTypeEnum = {
103
- Attribute: 'attribute'
104
- } as const;
105
- export type IndexAttributeValueRequestRelatedTypeEnum = typeof IndexAttributeValueRequestRelatedTypeEnum[keyof typeof IndexAttributeValueRequestRelatedTypeEnum];
106
-
107
-
108
- /**
109
- * Check if a given object implements the IndexAttributeValueRequest interface.
110
- */
111
- export function instanceOfIndexAttributeValueRequest(value: object): value is IndexAttributeValueRequest {
112
- return true;
113
- }
114
-
115
- export function IndexAttributeValueRequestFromJSON(json: any): IndexAttributeValueRequest {
116
- return IndexAttributeValueRequestFromJSONTyped(json, false);
117
- }
118
-
119
- export function IndexAttributeValueRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexAttributeValueRequest {
120
- if (json == null) {
121
- return json;
122
- }
123
- return {
124
-
125
- 'search': json['search'] == null ? undefined : json['search'],
126
- 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
127
- 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
128
- 'perPage': json['per_page'] == null ? undefined : json['per_page'],
129
- 'page': json['page'] == null ? undefined : json['page'],
130
- 'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
131
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
132
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
133
- 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
134
- };
135
- }
136
-
137
- export function IndexAttributeValueRequestToJSON(json: any): IndexAttributeValueRequest {
138
- return IndexAttributeValueRequestToJSONTyped(json, false);
139
- }
140
-
141
- export function IndexAttributeValueRequestToJSONTyped(value?: IndexAttributeValueRequest | null, ignoreDiscriminator: boolean = false): any {
142
- if (value == null) {
143
- return value;
144
- }
145
-
146
- return {
147
-
148
- 'search': value['search'],
149
- 'sortBy': value['sortBy'],
150
- 'sortDirection': value['sortDirection'],
151
- 'per_page': value['perPage'],
152
- 'page': value['page'],
153
- 'attribute_id': value['attributeId'],
154
- 'related_id': value['relatedId'],
155
- 'related_type': value['relatedType'],
156
- 'includes_relations': value['includesRelations'],
157
- };
158
- }
159
-
@@ -1,90 +0,0 @@
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 { AttributeValueResource } from './AttributeValueResource';
17
- import {
18
- AttributeValueResourceFromJSON,
19
- AttributeValueResourceFromJSONTyped,
20
- AttributeValueResourceToJSON,
21
- AttributeValueResourceToJSONTyped,
22
- } from './AttributeValueResource';
23
- import type { PagingMetadata } from './PagingMetadata';
24
- import {
25
- PagingMetadataFromJSON,
26
- PagingMetadataFromJSONTyped,
27
- PagingMetadataToJSON,
28
- PagingMetadataToJSONTyped,
29
- } from './PagingMetadata';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedAttributeValueResourceResponse
35
- */
36
- export interface PaginatedAttributeValueResourceResponse {
37
- /**
38
- *
39
- * @type {Array<AttributeValueResource>}
40
- * @memberof PaginatedAttributeValueResourceResponse
41
- */
42
- data: Array<AttributeValueResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedAttributeValueResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedAttributeValueResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedAttributeValueResourceResponse(value: object): value is PaginatedAttributeValueResourceResponse {
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 PaginatedAttributeValueResourceResponseFromJSON(json: any): PaginatedAttributeValueResourceResponse {
61
- return PaginatedAttributeValueResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedAttributeValueResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedAttributeValueResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(AttributeValueResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedAttributeValueResourceResponseToJSON(json: any): PaginatedAttributeValueResourceResponse {
76
- return PaginatedAttributeValueResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedAttributeValueResourceResponseToJSONTyped(value?: PaginatedAttributeValueResourceResponse | 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(AttributeValueResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-