@digital8/lighting-illusions-ts-sdk 0.0.1012 → 0.0.1014

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.
@@ -74,6 +74,7 @@ docs/ExternalApiProvider.md
74
74
  docs/ExternalApiSyncStatus.md
75
75
  docs/GenericResponse.md
76
76
  docs/GetAllAttributeRequest.md
77
+ docs/GetAllAttributeValueRequest.md
77
78
  docs/GetAllDefinitionRequest.md
78
79
  docs/GetAllDocumentRequest.md
79
80
  docs/GetAllGoogleCategoryRequest.md
@@ -109,8 +110,6 @@ docs/IndexSiteNotificationRequest.md
109
110
  docs/IndexSiteRequest.md
110
111
  docs/IndexSupplierRequest.md
111
112
  docs/IndexTagRequest.md
112
- docs/LabelResource.md
113
- docs/LabelResourceArrayResponse.md
114
113
  docs/ModelAttributeResource.md
115
114
  docs/ModelAttributeResourceArrayResponse.md
116
115
  docs/OverlayTemplateApi.md
@@ -386,6 +385,7 @@ src/models/ExternalApiProvider.ts
386
385
  src/models/ExternalApiSyncStatus.ts
387
386
  src/models/GenericResponse.ts
388
387
  src/models/GetAllAttributeRequest.ts
388
+ src/models/GetAllAttributeValueRequest.ts
389
389
  src/models/GetAllDefinitionRequest.ts
390
390
  src/models/GetAllDocumentRequest.ts
391
391
  src/models/GetAllGoogleCategoryRequest.ts
@@ -420,8 +420,6 @@ src/models/IndexSiteNotificationRequest.ts
420
420
  src/models/IndexSiteRequest.ts
421
421
  src/models/IndexSupplierRequest.ts
422
422
  src/models/IndexTagRequest.ts
423
- src/models/LabelResource.ts
424
- src/models/LabelResourceArrayResponse.ts
425
423
  src/models/ModelAttributeResource.ts
426
424
  src/models/ModelAttributeResourceArrayResponse.ts
427
425
  src/models/OverlayTemplateAssetFrontendResource.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.1012
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1014
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -59,6 +59,7 @@ All URIs are relative to *http://localhost/api*
59
59
  *AttributeApi* | [**destroyAttributeValue**](docs/AttributeApi.md#destroyattributevalueoperation) | **POST** /admin-api/attribute/value/{attributeValue}/delete | Auto-generated: destroyAttributeValue
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
+ *AttributeApi* | [**getAllAttributeValue**](docs/AttributeApi.md#getallattributevalueoperation) | **POST** /admin-api/attribute/value/all | Auto-generated: getAllAttributeValue
62
63
  *AttributeApi* | [**indexAttribute**](docs/AttributeApi.md#indexattributeoperation) | **POST** /admin-api/attribute/list | Auto-generated: indexAttribute
63
64
  *AttributeApi* | [**indexAttributeValue**](docs/AttributeApi.md#indexattributevalueoperation) | **POST** /admin-api/attribute/value/list | Auto-generated: indexAttributeValue
64
65
  *AttributeApi* | [**showAttribute**](docs/AttributeApi.md#showattribute) | **GET** /admin-api/attribute/{attribute} | Auto-generated: showAttribute
@@ -236,6 +237,7 @@ All URIs are relative to *http://localhost/api*
236
237
  - [ExternalApiSyncStatus](docs/ExternalApiSyncStatus.md)
237
238
  - [GenericResponse](docs/GenericResponse.md)
238
239
  - [GetAllAttributeRequest](docs/GetAllAttributeRequest.md)
240
+ - [GetAllAttributeValueRequest](docs/GetAllAttributeValueRequest.md)
239
241
  - [GetAllDefinitionRequest](docs/GetAllDefinitionRequest.md)
240
242
  - [GetAllDocumentRequest](docs/GetAllDocumentRequest.md)
241
243
  - [GetAllGoogleCategoryRequest](docs/GetAllGoogleCategoryRequest.md)
@@ -270,8 +272,6 @@ All URIs are relative to *http://localhost/api*
270
272
  - [IndexSiteRequest](docs/IndexSiteRequest.md)
271
273
  - [IndexSupplierRequest](docs/IndexSupplierRequest.md)
272
274
  - [IndexTagRequest](docs/IndexTagRequest.md)
273
- - [LabelResource](docs/LabelResource.md)
274
- - [LabelResourceArrayResponse](docs/LabelResourceArrayResponse.md)
275
275
  - [ModelAttributeResource](docs/ModelAttributeResource.md)
276
276
  - [ModelAttributeResourceArrayResponse](docs/ModelAttributeResourceArrayResponse.md)
277
277
  - [OverlayTemplateAssetFrontendResource](docs/OverlayTemplateAssetFrontendResource.md)
@@ -470,7 +470,7 @@ and is automatically generated by the
470
470
  [OpenAPI Generator](https://openapi-generator.tech) project:
471
471
 
472
472
  - API version: `1.0.0`
473
- - Package version: `0.0.1012`
473
+ - Package version: `0.0.1014`
474
474
  - Generator version: `7.20.0`
475
475
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
476
476
 
@@ -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, AttributeValueResourceArrayResponse, DestroyAttributeValueRequest, GenericResponse, GetAllAttributeRequest, GetAllAttributeValueRequest, IndexAttributeRequest, IndexAttributeValueRequest, ModelAttributeResourceArrayResponse, PaginatedAttributeListResourceResponse, PaginatedAttributeValueResourceResponse, StoreAttributeRequest, StoreAttributeValueRequest, UpdateAttributeRequest, UpdateAttributeValueRequest, UpdateFilterOrderAttributeRequest, UpdateModelAttributeRequest } from '../models/index';
14
14
  export interface AttachProductTypeAttributeOperationRequest {
15
15
  attribute: number;
16
16
  attachProductTypeAttributeRequest?: AttachProductTypeAttributeRequest;
@@ -29,6 +29,9 @@ export interface DetachProductTypeAttributeRequest {
29
29
  export interface GetAllAttributeOperationRequest {
30
30
  getAllAttributeRequest?: GetAllAttributeRequest;
31
31
  }
32
+ export interface GetAllAttributeValueOperationRequest {
33
+ getAllAttributeValueRequest?: GetAllAttributeValueRequest;
34
+ }
32
35
  export interface IndexAttributeOperationRequest {
33
36
  indexAttributeRequest?: IndexAttributeRequest;
34
37
  }
@@ -127,6 +130,18 @@ export declare class AttributeApi extends runtime.BaseAPI {
127
130
  * Auto-generated: getAllAttribute
128
131
  */
129
132
  getAllAttribute(requestParameters?: GetAllAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AttributeLiteResourceArrayResponse>;
133
+ /**
134
+ * Creates request options for getAllAttributeValue without sending the request
135
+ */
136
+ getAllAttributeValueRequestOpts(requestParameters: GetAllAttributeValueOperationRequest): Promise<runtime.RequestOpts>;
137
+ /**
138
+ * Auto-generated: getAllAttributeValue
139
+ */
140
+ getAllAttributeValueRaw(requestParameters: GetAllAttributeValueOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AttributeValueResourceArrayResponse>>;
141
+ /**
142
+ * Auto-generated: getAllAttributeValue
143
+ */
144
+ getAllAttributeValue(requestParameters?: GetAllAttributeValueOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AttributeValueResourceArrayResponse>;
130
145
  /**
131
146
  * Creates request options for indexAttribute without sending the request
132
147
  */
@@ -377,6 +377,64 @@ var AttributeApi = /** @class */ (function (_super) {
377
377
  });
378
378
  });
379
379
  };
380
+ /**
381
+ * Creates request options for getAllAttributeValue without sending the request
382
+ */
383
+ AttributeApi.prototype.getAllAttributeValueRequestOpts = function (requestParameters) {
384
+ return __awaiter(this, void 0, void 0, function () {
385
+ var queryParameters, headerParameters, urlPath;
386
+ return __generator(this, function (_a) {
387
+ queryParameters = {};
388
+ headerParameters = {};
389
+ headerParameters['Content-Type'] = 'application/json';
390
+ urlPath = "/admin-api/attribute/value/all";
391
+ return [2 /*return*/, {
392
+ path: urlPath,
393
+ method: 'POST',
394
+ headers: headerParameters,
395
+ query: queryParameters,
396
+ body: (0, index_1.GetAllAttributeValueRequestToJSON)(requestParameters['getAllAttributeValueRequest']),
397
+ }];
398
+ });
399
+ });
400
+ };
401
+ /**
402
+ * Auto-generated: getAllAttributeValue
403
+ */
404
+ AttributeApi.prototype.getAllAttributeValueRaw = function (requestParameters, initOverrides) {
405
+ return __awaiter(this, void 0, void 0, function () {
406
+ var requestOptions, response;
407
+ return __generator(this, function (_a) {
408
+ switch (_a.label) {
409
+ case 0: return [4 /*yield*/, this.getAllAttributeValueRequestOpts(requestParameters)];
410
+ case 1:
411
+ requestOptions = _a.sent();
412
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
413
+ case 2:
414
+ response = _a.sent();
415
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AttributeValueResourceArrayResponseFromJSON)(jsonValue); })];
416
+ }
417
+ });
418
+ });
419
+ };
420
+ /**
421
+ * Auto-generated: getAllAttributeValue
422
+ */
423
+ AttributeApi.prototype.getAllAttributeValue = function () {
424
+ return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
425
+ var response;
426
+ if (requestParameters === void 0) { requestParameters = {}; }
427
+ return __generator(this, function (_a) {
428
+ switch (_a.label) {
429
+ case 0: return [4 /*yield*/, this.getAllAttributeValueRaw(requestParameters, initOverrides)];
430
+ case 1:
431
+ response = _a.sent();
432
+ return [4 /*yield*/, response.value()];
433
+ case 2: return [2 /*return*/, _a.sent()];
434
+ }
435
+ });
436
+ });
437
+ };
380
438
  /**
381
439
  * Creates request options for indexAttribute without sending the request
382
440
  */
@@ -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']),
@@ -0,0 +1,93 @@
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 GetAllAttributeValueRequest
16
+ */
17
+ export interface GetAllAttributeValueRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetAllAttributeValueRequest
22
+ */
23
+ search?: string;
24
+ /**
25
+ *
26
+ * @type {GetAllAttributeValueRequestSortByEnum}
27
+ * @memberof GetAllAttributeValueRequest
28
+ */
29
+ sortBy?: GetAllAttributeValueRequestSortByEnum;
30
+ /**
31
+ *
32
+ * @type {GetAllAttributeValueRequestSortDirectionEnum}
33
+ * @memberof GetAllAttributeValueRequest
34
+ */
35
+ sortDirection?: GetAllAttributeValueRequestSortDirectionEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof GetAllAttributeValueRequest
40
+ */
41
+ relatedId?: number;
42
+ /**
43
+ *
44
+ * @type {GetAllAttributeValueRequestRelatedTypeEnum}
45
+ * @memberof GetAllAttributeValueRequest
46
+ */
47
+ relatedType?: GetAllAttributeValueRequestRelatedTypeEnum;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof GetAllAttributeValueRequest
52
+ */
53
+ includesRelations?: boolean;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof GetAllAttributeValueRequest
58
+ */
59
+ attributeId?: Array<string>;
60
+ }
61
+ /**
62
+ * @export
63
+ */
64
+ export declare const GetAllAttributeValueRequestSortByEnum: {
65
+ readonly Id: "id";
66
+ readonly Value: "value";
67
+ readonly CreatedAt: "created_at";
68
+ readonly UpdatedAt: "updated_at";
69
+ };
70
+ export type GetAllAttributeValueRequestSortByEnum = typeof GetAllAttributeValueRequestSortByEnum[keyof typeof GetAllAttributeValueRequestSortByEnum];
71
+ /**
72
+ * @export
73
+ */
74
+ export declare const GetAllAttributeValueRequestSortDirectionEnum: {
75
+ readonly Asc: "asc";
76
+ readonly Desc: "desc";
77
+ };
78
+ export type GetAllAttributeValueRequestSortDirectionEnum = typeof GetAllAttributeValueRequestSortDirectionEnum[keyof typeof GetAllAttributeValueRequestSortDirectionEnum];
79
+ /**
80
+ * @export
81
+ */
82
+ export declare const GetAllAttributeValueRequestRelatedTypeEnum: {
83
+ readonly Attribute: "attribute";
84
+ };
85
+ export type GetAllAttributeValueRequestRelatedTypeEnum = typeof GetAllAttributeValueRequestRelatedTypeEnum[keyof typeof GetAllAttributeValueRequestRelatedTypeEnum];
86
+ /**
87
+ * Check if a given object implements the GetAllAttributeValueRequest interface.
88
+ */
89
+ export declare function instanceOfGetAllAttributeValueRequest(value: object): value is GetAllAttributeValueRequest;
90
+ export declare function GetAllAttributeValueRequestFromJSON(json: any): GetAllAttributeValueRequest;
91
+ export declare function GetAllAttributeValueRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllAttributeValueRequest;
92
+ export declare function GetAllAttributeValueRequestToJSON(json: any): GetAllAttributeValueRequest;
93
+ export declare function GetAllAttributeValueRequestToJSONTyped(value?: GetAllAttributeValueRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,84 @@
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.GetAllAttributeValueRequestRelatedTypeEnum = exports.GetAllAttributeValueRequestSortDirectionEnum = exports.GetAllAttributeValueRequestSortByEnum = void 0;
17
+ exports.instanceOfGetAllAttributeValueRequest = instanceOfGetAllAttributeValueRequest;
18
+ exports.GetAllAttributeValueRequestFromJSON = GetAllAttributeValueRequestFromJSON;
19
+ exports.GetAllAttributeValueRequestFromJSONTyped = GetAllAttributeValueRequestFromJSONTyped;
20
+ exports.GetAllAttributeValueRequestToJSON = GetAllAttributeValueRequestToJSON;
21
+ exports.GetAllAttributeValueRequestToJSONTyped = GetAllAttributeValueRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.GetAllAttributeValueRequestSortByEnum = {
26
+ Id: 'id',
27
+ Value: 'value',
28
+ CreatedAt: 'created_at',
29
+ UpdatedAt: 'updated_at'
30
+ };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.GetAllAttributeValueRequestSortDirectionEnum = {
35
+ Asc: 'asc',
36
+ Desc: 'desc'
37
+ };
38
+ /**
39
+ * @export
40
+ */
41
+ exports.GetAllAttributeValueRequestRelatedTypeEnum = {
42
+ Attribute: 'attribute'
43
+ };
44
+ /**
45
+ * Check if a given object implements the GetAllAttributeValueRequest interface.
46
+ */
47
+ function instanceOfGetAllAttributeValueRequest(value) {
48
+ return true;
49
+ }
50
+ function GetAllAttributeValueRequestFromJSON(json) {
51
+ return GetAllAttributeValueRequestFromJSONTyped(json, false);
52
+ }
53
+ function GetAllAttributeValueRequestFromJSONTyped(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
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
62
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
63
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
64
+ 'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
65
+ };
66
+ }
67
+ function GetAllAttributeValueRequestToJSON(json) {
68
+ return GetAllAttributeValueRequestToJSONTyped(json, false);
69
+ }
70
+ function GetAllAttributeValueRequestToJSONTyped(value, ignoreDiscriminator) {
71
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+ return {
76
+ 'search': value['search'],
77
+ 'sortBy': value['sortBy'],
78
+ 'sortDirection': value['sortDirection'],
79
+ 'related_id': value['relatedId'],
80
+ 'related_type': value['relatedType'],
81
+ 'includes_relations': value['includesRelations'],
82
+ 'attribute_id': value['attributeId'],
83
+ };
84
+ }
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { SiteLiteResource } from './SiteLiteResource';
13
- import type { LabelResource } from './LabelResource';
14
13
  import type { SEOResource } from './SEOResource';
15
14
  /**
16
15
  *
@@ -96,12 +95,6 @@ export interface ProductChildSiteDetailResource {
96
95
  * @memberof ProductChildSiteDetailResource
97
96
  */
98
97
  seo: SEOResource | null;
99
- /**
100
- *
101
- * @type {LabelResource}
102
- * @memberof ProductChildSiteDetailResource
103
- */
104
- label: LabelResource | null;
105
98
  /**
106
99
  *
107
100
  * @type {string}
@@ -19,7 +19,6 @@ exports.ProductChildSiteDetailResourceFromJSONTyped = ProductChildSiteDetailReso
19
19
  exports.ProductChildSiteDetailResourceToJSON = ProductChildSiteDetailResourceToJSON;
20
20
  exports.ProductChildSiteDetailResourceToJSONTyped = ProductChildSiteDetailResourceToJSONTyped;
21
21
  var SiteLiteResource_1 = require("./SiteLiteResource");
22
- var LabelResource_1 = require("./LabelResource");
23
22
  var SEOResource_1 = require("./SEOResource");
24
23
  /**
25
24
  * Check if a given object implements the ProductChildSiteDetailResource interface.
@@ -51,8 +50,6 @@ function instanceOfProductChildSiteDetailResource(value) {
51
50
  return false;
52
51
  if (!('seo' in value) || value['seo'] === undefined)
53
52
  return false;
54
- if (!('label' in value) || value['label'] === undefined)
55
- return false;
56
53
  return true;
57
54
  }
58
55
  function ProductChildSiteDetailResourceFromJSON(json) {
@@ -76,7 +73,6 @@ function ProductChildSiteDetailResourceFromJSONTyped(json, ignoreDiscriminator)
76
73
  'salePrice': json['salePrice'],
77
74
  'isDisabled': json['isDisabled'],
78
75
  'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
79
- 'label': (0, LabelResource_1.LabelResourceFromJSON)(json['label']),
80
76
  'omnisendId': json['omnisendId'] == null ? undefined : json['omnisendId'],
81
77
  'omnisendSyncStatus': json['omnisendSyncStatus'] == null ? undefined : json['omnisendSyncStatus'],
82
78
  };
@@ -103,7 +99,6 @@ function ProductChildSiteDetailResourceToJSONTyped(value, ignoreDiscriminator) {
103
99
  'salePrice': value['salePrice'],
104
100
  'isDisabled': value['isDisabled'],
105
101
  'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
106
- 'label': (0, LabelResource_1.LabelResourceToJSON)(value['label']),
107
102
  'omnisendId': value['omnisendId'],
108
103
  'omnisendSyncStatus': value['omnisendSyncStatus'],
109
104
  };
@@ -65,6 +65,7 @@ export * from './ExternalApiProvider';
65
65
  export * from './ExternalApiSyncStatus';
66
66
  export * from './GenericResponse';
67
67
  export * from './GetAllAttributeRequest';
68
+ export * from './GetAllAttributeValueRequest';
68
69
  export * from './GetAllDefinitionRequest';
69
70
  export * from './GetAllDocumentRequest';
70
71
  export * from './GetAllGoogleCategoryRequest';
@@ -99,8 +100,6 @@ export * from './IndexSiteNotificationRequest';
99
100
  export * from './IndexSiteRequest';
100
101
  export * from './IndexSupplierRequest';
101
102
  export * from './IndexTagRequest';
102
- export * from './LabelResource';
103
- export * from './LabelResourceArrayResponse';
104
103
  export * from './ModelAttributeResource';
105
104
  export * from './ModelAttributeResourceArrayResponse';
106
105
  export * from './OverlayTemplateAssetFrontendResource';
@@ -83,6 +83,7 @@ __exportStar(require("./ExternalApiProvider"), exports);
83
83
  __exportStar(require("./ExternalApiSyncStatus"), exports);
84
84
  __exportStar(require("./GenericResponse"), exports);
85
85
  __exportStar(require("./GetAllAttributeRequest"), exports);
86
+ __exportStar(require("./GetAllAttributeValueRequest"), exports);
86
87
  __exportStar(require("./GetAllDefinitionRequest"), exports);
87
88
  __exportStar(require("./GetAllDocumentRequest"), exports);
88
89
  __exportStar(require("./GetAllGoogleCategoryRequest"), exports);
@@ -117,8 +118,6 @@ __exportStar(require("./IndexSiteNotificationRequest"), exports);
117
118
  __exportStar(require("./IndexSiteRequest"), exports);
118
119
  __exportStar(require("./IndexSupplierRequest"), exports);
119
120
  __exportStar(require("./IndexTagRequest"), exports);
120
- __exportStar(require("./LabelResource"), exports);
121
- __exportStar(require("./LabelResourceArrayResponse"), exports);
122
121
  __exportStar(require("./ModelAttributeResource"), exports);
123
122
  __exportStar(require("./ModelAttributeResourceArrayResponse"), exports);
124
123
  __exportStar(require("./OverlayTemplateAssetFrontendResource"), exports);
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost/api*
9
9
  | [**destroyAttributeValue**](AttributeApi.md#destroyattributevalueoperation) | **POST** /admin-api/attribute/value/{attributeValue}/delete | Auto-generated: destroyAttributeValue |
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
+ | [**getAllAttributeValue**](AttributeApi.md#getallattributevalueoperation) | **POST** /admin-api/attribute/value/all | Auto-generated: getAllAttributeValue |
12
13
  | [**indexAttribute**](AttributeApi.md#indexattributeoperation) | **POST** /admin-api/attribute/list | Auto-generated: indexAttribute |
13
14
  | [**indexAttributeValue**](AttributeApi.md#indexattributevalueoperation) | **POST** /admin-api/attribute/value/list | Auto-generated: indexAttributeValue |
14
15
  | [**showAttribute**](AttributeApi.md#showattribute) | **GET** /admin-api/attribute/{attribute} | Auto-generated: showAttribute |
@@ -356,6 +357,71 @@ No authorization required
356
357
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
357
358
 
358
359
 
360
+ ## getAllAttributeValue
361
+
362
+ > AttributeValueResourceArrayResponse getAllAttributeValue(getAllAttributeValueRequest)
363
+
364
+ Auto-generated: getAllAttributeValue
365
+
366
+ ### Example
367
+
368
+ ```ts
369
+ import {
370
+ Configuration,
371
+ AttributeApi,
372
+ } from '@digital8/lighting-illusions-ts-sdk';
373
+ import type { GetAllAttributeValueOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
374
+
375
+ async function example() {
376
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
377
+ const api = new AttributeApi();
378
+
379
+ const body = {
380
+ // GetAllAttributeValueRequest (optional)
381
+ getAllAttributeValueRequest: ...,
382
+ } satisfies GetAllAttributeValueOperationRequest;
383
+
384
+ try {
385
+ const data = await api.getAllAttributeValue(body);
386
+ console.log(data);
387
+ } catch (error) {
388
+ console.error(error);
389
+ }
390
+ }
391
+
392
+ // Run the test
393
+ example().catch(console.error);
394
+ ```
395
+
396
+ ### Parameters
397
+
398
+
399
+ | Name | Type | Description | Notes |
400
+ |------------- | ------------- | ------------- | -------------|
401
+ | **getAllAttributeValueRequest** | [GetAllAttributeValueRequest](GetAllAttributeValueRequest.md) | | [Optional] |
402
+
403
+ ### Return type
404
+
405
+ [**AttributeValueResourceArrayResponse**](AttributeValueResourceArrayResponse.md)
406
+
407
+ ### Authorization
408
+
409
+ No authorization required
410
+
411
+ ### HTTP request headers
412
+
413
+ - **Content-Type**: `application/json`
414
+ - **Accept**: `application/json`
415
+
416
+
417
+ ### HTTP response details
418
+ | Status code | Description | Response headers |
419
+ |-------------|-------------|------------------|
420
+ | **200** | Successful resource response | - |
421
+
422
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
423
+
424
+
359
425
  ## indexAttribute
360
426
 
361
427
  > PaginatedAttributeListResourceResponse indexAttribute(indexAttributeRequest)
@@ -0,0 +1,46 @@
1
+
2
+ # GetAllAttributeValueRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `search` | string
10
+ `sortBy` | string
11
+ `sortDirection` | string
12
+ `relatedId` | number
13
+ `relatedType` | string
14
+ `includesRelations` | boolean
15
+ `attributeId` | Array&lt;string&gt;
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { GetAllAttributeValueRequest } from '@digital8/lighting-illusions-ts-sdk'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "search": null,
25
+ "sortBy": null,
26
+ "sortDirection": null,
27
+ "relatedId": null,
28
+ "relatedType": null,
29
+ "includesRelations": null,
30
+ "attributeId": null,
31
+ } satisfies GetAllAttributeValueRequest
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as GetAllAttributeValueRequest
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -19,7 +19,6 @@ Name | Type
19
19
  `salePrice` | number
20
20
  `isDisabled` | boolean
21
21
  `seo` | [SEOResource](SEOResource.md)
22
- `label` | [LabelResource](LabelResource.md)
23
22
  `omnisendId` | string
24
23
  `omnisendSyncStatus` | string
25
24
 
@@ -43,7 +42,6 @@ const example = {
43
42
  "salePrice": null,
44
43
  "isDisabled": null,
45
44
  "seo": null,
46
- "label": null,
47
45
  "omnisendId": null,
48
46
  "omnisendSyncStatus": null,
49
47
  } satisfies ProductChildSiteDetailResource
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1012",
3
+ "version": "0.0.1014",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {