@digital8/lighting-illusions-ts-sdk 0.0.926 → 0.0.927

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.926
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.927
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -464,7 +464,7 @@ and is automatically generated by the
464
464
  [OpenAPI Generator](https://openapi-generator.tech) project:
465
465
 
466
466
  - API version: `1.0.0`
467
- - Package version: `0.0.926`
467
+ - Package version: `0.0.927`
468
468
  - Generator version: `7.19.0`
469
469
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
470
470
 
@@ -87,6 +87,12 @@ export interface GetAllProductChildRequest {
87
87
  * @memberof GetAllProductChildRequest
88
88
  */
89
89
  productTypeId?: Array<string>;
90
+ /**
91
+ *
92
+ * @type {Array<string>}
93
+ * @memberof GetAllProductChildRequest
94
+ */
95
+ parentIsAccessory?: Array<string>;
90
96
  }
91
97
  /**
92
98
  * @export
@@ -78,6 +78,7 @@ function GetAllProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
78
78
  'categoryId': json['category-id'] == null ? undefined : json['category-id'],
79
79
  'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
80
80
  'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
81
+ 'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
81
82
  };
82
83
  }
83
84
  function GetAllProductChildRequestToJSON(json) {
@@ -101,5 +102,6 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
101
102
  'category-id': value['categoryId'],
102
103
  'supplier-id': value['supplierId'],
103
104
  'productType-id': value['productTypeId'],
105
+ 'parent-is_accessory': value['parentIsAccessory'],
104
106
  };
105
107
  }
@@ -128,6 +128,8 @@ export type IndexProductCategoryRequestSortDirectionEnum = typeof IndexProductCa
128
128
  export declare const IndexProductCategoryRequestRelatedTypeEnum: {
129
129
  readonly Product: "product";
130
130
  readonly ProductChildSiteDetail: "productChildSiteDetail";
131
+ readonly Attribute: "attribute";
132
+ readonly AttributeValue: "attributeValue";
131
133
  };
132
134
  export type IndexProductCategoryRequestRelatedTypeEnum = typeof IndexProductCategoryRequestRelatedTypeEnum[keyof typeof IndexProductCategoryRequestRelatedTypeEnum];
133
135
  /**
@@ -44,7 +44,9 @@ exports.IndexProductCategoryRequestSortDirectionEnum = {
44
44
  */
45
45
  exports.IndexProductCategoryRequestRelatedTypeEnum = {
46
46
  Product: 'product',
47
- ProductChildSiteDetail: 'productChildSiteDetail'
47
+ ProductChildSiteDetail: 'productChildSiteDetail',
48
+ Attribute: 'attribute',
49
+ AttributeValue: 'attributeValue'
48
50
  };
49
51
  /**
50
52
  * Check if a given object implements the IndexProductCategoryRequest interface.
@@ -81,6 +81,12 @@ export interface IndexProductChildRequest {
81
81
  * @memberof IndexProductChildRequest
82
82
  */
83
83
  productTypeId?: Array<string>;
84
+ /**
85
+ *
86
+ * @type {Array<string>}
87
+ * @memberof IndexProductChildRequest
88
+ */
89
+ parentIsAccessory?: Array<string>;
84
90
  /**
85
91
  *
86
92
  * @type {number}
@@ -85,6 +85,7 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
85
85
  'categoryId': json['category-id'] == null ? undefined : json['category-id'],
86
86
  'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
87
87
  'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
88
+ 'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
88
89
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
89
90
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
90
91
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -110,6 +111,7 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
110
111
  'category-id': value['categoryId'],
111
112
  'supplier-id': value['supplierId'],
112
113
  'productType-id': value['productTypeId'],
114
+ 'parent-is_accessory': value['parentIsAccessory'],
113
115
  'related_id': value['relatedId'],
114
116
  'related_type': value['relatedType'],
115
117
  'includes_relations': value['includesRelations'],
@@ -110,6 +110,12 @@ export interface ProductCategoryResource {
110
110
  * @memberof ProductCategoryResource
111
111
  */
112
112
  descriptions: Array<DescriptionResource> | null;
113
+ /**
114
+ *
115
+ * @type {number}
116
+ * @memberof ProductCategoryResource
117
+ */
118
+ linkedProductsCount: number;
113
119
  }
114
120
  /**
115
121
  * Check if a given object implements the ProductCategoryResource interface.
@@ -51,6 +51,8 @@ function instanceOfProductCategoryResource(value) {
51
51
  return false;
52
52
  if (!('descriptions' in value) || value['descriptions'] === undefined)
53
53
  return false;
54
+ if (!('linkedProductsCount' in value) || value['linkedProductsCount'] === undefined)
55
+ return false;
54
56
  return true;
55
57
  }
56
58
  function ProductCategoryResourceFromJSON(json) {
@@ -76,6 +78,7 @@ function ProductCategoryResourceFromJSONTyped(json, ignoreDiscriminator) {
76
78
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
77
79
  'seo': (json['seo'] == null ? null : json['seo'].map(SEOResource_1.SEOResourceFromJSON)),
78
80
  'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
81
+ 'linkedProductsCount': json['linkedProductsCount'],
79
82
  };
80
83
  }
81
84
  function ProductCategoryResourceToJSON(json) {
@@ -102,5 +105,6 @@ function ProductCategoryResourceToJSONTyped(value, ignoreDiscriminator) {
102
105
  'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
103
106
  'seo': (value['seo'] == null ? null : value['seo'].map(SEOResource_1.SEOResourceToJSON)),
104
107
  'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
108
+ 'linkedProductsCount': value['linkedProductsCount'],
105
109
  };
106
110
  }
@@ -18,6 +18,7 @@ Name | Type
18
18
  `categoryId` | Array&lt;string&gt;
19
19
  `supplierId` | Array&lt;string&gt;
20
20
  `productTypeId` | Array&lt;string&gt;
21
+ `parentIsAccessory` | Array&lt;string&gt;
21
22
 
22
23
  ## Example
23
24
 
@@ -38,6 +39,7 @@ const example = {
38
39
  "categoryId": null,
39
40
  "supplierId": null,
40
41
  "productTypeId": null,
42
+ "parentIsAccessory": null,
41
43
  } satisfies GetAllProductChildRequest
42
44
 
43
45
  console.log(example)
@@ -17,6 +17,7 @@ Name | Type
17
17
  `categoryId` | Array&lt;string&gt;
18
18
  `supplierId` | Array&lt;string&gt;
19
19
  `productTypeId` | Array&lt;string&gt;
20
+ `parentIsAccessory` | Array&lt;string&gt;
20
21
  `relatedId` | number
21
22
  `relatedType` | string
22
23
  `includesRelations` | boolean
@@ -39,6 +40,7 @@ const example = {
39
40
  "categoryId": null,
40
41
  "supplierId": null,
41
42
  "productTypeId": null,
43
+ "parentIsAccessory": null,
42
44
  "relatedId": null,
43
45
  "relatedType": null,
44
46
  "includesRelations": null,
@@ -21,6 +21,7 @@ Name | Type
21
21
  `site` | [SiteLiteResource](SiteLiteResource.md)
22
22
  `seo` | [Array&lt;SEOResource&gt;](SEOResource.md)
23
23
  `descriptions` | [Array&lt;DescriptionResource&gt;](DescriptionResource.md)
24
+ `linkedProductsCount` | number
24
25
 
25
26
  ## Example
26
27
 
@@ -44,6 +45,7 @@ const example = {
44
45
  "site": null,
45
46
  "seo": null,
46
47
  "descriptions": null,
48
+ "linkedProductsCount": null,
47
49
  } satisfies ProductCategoryResource
48
50
 
49
51
  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.926",
3
+ "version": "0.0.927",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -91,6 +91,12 @@ export interface GetAllProductChildRequest {
91
91
  * @memberof GetAllProductChildRequest
92
92
  */
93
93
  productTypeId?: Array<string>;
94
+ /**
95
+ *
96
+ * @type {Array<string>}
97
+ * @memberof GetAllProductChildRequest
98
+ */
99
+ parentIsAccessory?: Array<string>;
94
100
  }
95
101
 
96
102
 
@@ -163,6 +169,7 @@ export function GetAllProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
163
169
  'categoryId': json['category-id'] == null ? undefined : json['category-id'],
164
170
  'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
165
171
  'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
172
+ 'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
166
173
  };
167
174
  }
168
175
 
@@ -189,6 +196,7 @@ export function GetAllProductChildRequestToJSONTyped(value?: GetAllProductChildR
189
196
  'category-id': value['categoryId'],
190
197
  'supplier-id': value['supplierId'],
191
198
  'productType-id': value['productTypeId'],
199
+ 'parent-is_accessory': value['parentIsAccessory'],
192
200
  };
193
201
  }
194
202
 
@@ -135,7 +135,9 @@ export type IndexProductCategoryRequestSortDirectionEnum = typeof IndexProductCa
135
135
  */
136
136
  export const IndexProductCategoryRequestRelatedTypeEnum = {
137
137
  Product: 'product',
138
- ProductChildSiteDetail: 'productChildSiteDetail'
138
+ ProductChildSiteDetail: 'productChildSiteDetail',
139
+ Attribute: 'attribute',
140
+ AttributeValue: 'attributeValue'
139
141
  } as const;
140
142
  export type IndexProductCategoryRequestRelatedTypeEnum = typeof IndexProductCategoryRequestRelatedTypeEnum[keyof typeof IndexProductCategoryRequestRelatedTypeEnum];
141
143
 
@@ -85,6 +85,12 @@ export interface IndexProductChildRequest {
85
85
  * @memberof IndexProductChildRequest
86
86
  */
87
87
  productTypeId?: Array<string>;
88
+ /**
89
+ *
90
+ * @type {Array<string>}
91
+ * @memberof IndexProductChildRequest
92
+ */
93
+ parentIsAccessory?: Array<string>;
88
94
  /**
89
95
  *
90
96
  * @type {number}
@@ -182,6 +188,7 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
182
188
  'categoryId': json['category-id'] == null ? undefined : json['category-id'],
183
189
  'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
184
190
  'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
191
+ 'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
185
192
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
186
193
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
187
194
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -210,6 +217,7 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
210
217
  'category-id': value['categoryId'],
211
218
  'supplier-id': value['supplierId'],
212
219
  'productType-id': value['productTypeId'],
220
+ 'parent-is_accessory': value['parentIsAccessory'],
213
221
  'related_id': value['relatedId'],
214
222
  'related_type': value['relatedType'],
215
223
  'includes_relations': value['includesRelations'],
@@ -145,6 +145,12 @@ export interface ProductCategoryResource {
145
145
  * @memberof ProductCategoryResource
146
146
  */
147
147
  descriptions: Array<DescriptionResource> | null;
148
+ /**
149
+ *
150
+ * @type {number}
151
+ * @memberof ProductCategoryResource
152
+ */
153
+ linkedProductsCount: number;
148
154
  }
149
155
 
150
156
  /**
@@ -163,6 +169,7 @@ export function instanceOfProductCategoryResource(value: object): value is Produ
163
169
  if (!('site' in value) || value['site'] === undefined) return false;
164
170
  if (!('seo' in value) || value['seo'] === undefined) return false;
165
171
  if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
172
+ if (!('linkedProductsCount' in value) || value['linkedProductsCount'] === undefined) return false;
166
173
  return true;
167
174
  }
168
175
 
@@ -191,6 +198,7 @@ export function ProductCategoryResourceFromJSONTyped(json: any, ignoreDiscrimina
191
198
  'site': SiteLiteResourceFromJSON(json['site']),
192
199
  'seo': (json['seo'] == null ? null : (json['seo'] as Array<any>).map(SEOResourceFromJSON)),
193
200
  'descriptions': (json['descriptions'] == null ? null : (json['descriptions'] as Array<any>).map(DescriptionResourceFromJSON)),
201
+ 'linkedProductsCount': json['linkedProductsCount'],
194
202
  };
195
203
  }
196
204
 
@@ -220,6 +228,7 @@ export function ProductCategoryResourceToJSONTyped(value?: ProductCategoryResour
220
228
  'site': SiteLiteResourceToJSON(value['site']),
221
229
  'seo': (value['seo'] == null ? null : (value['seo'] as Array<any>).map(SEOResourceToJSON)),
222
230
  'descriptions': (value['descriptions'] == null ? null : (value['descriptions'] as Array<any>).map(DescriptionResourceToJSON)),
231
+ 'linkedProductsCount': value['linkedProductsCount'],
223
232
  };
224
233
  }
225
234