@digital8/lighting-illusions-ts-sdk 0.0.919 → 0.0.921

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.919
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.921
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.919`
467
+ - Package version: `0.0.921`
468
468
  - Generator version: `7.19.0`
469
469
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
470
470
 
@@ -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
  }
@@ -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.919",
3
+ "version": "0.0.921",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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