@digital8/lighting-illusions-ts-sdk 0.0.532 → 0.0.534

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.532
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.534
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -394,7 +394,7 @@ and is automatically generated by the
394
394
  [OpenAPI Generator](https://openapi-generator.tech) project:
395
395
 
396
396
  - API version: `1.0.0`
397
- - Package version: `0.0.532`
397
+ - Package version: `0.0.534`
398
398
  - Generator version: `7.18.0`
399
399
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
400
400
 
@@ -29,7 +29,7 @@ export interface StoreProductChildRequest {
29
29
  * @type {string}
30
30
  * @memberof StoreProductChildRequest
31
31
  */
32
- name?: string;
32
+ name: string;
33
33
  /**
34
34
  *
35
35
  * @type {string}
@@ -27,6 +27,8 @@ var StoreProductChildRequestAttributeValuesInner_1 = require("./StoreProductChil
27
27
  function instanceOfStoreProductChildRequest(value) {
28
28
  if (!('productId' in value) || value['productId'] === undefined)
29
29
  return false;
30
+ if (!('name' in value) || value['name'] === undefined)
31
+ return false;
30
32
  if (!('sku' in value) || value['sku'] === undefined)
31
33
  return false;
32
34
  if (!('model' in value) || value['model'] === undefined)
@@ -58,7 +60,7 @@ function StoreProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
58
60
  }
59
61
  return {
60
62
  'productId': json['product_id'],
61
- 'name': json['name'] == null ? undefined : json['name'],
63
+ 'name': json['name'],
62
64
  'sku': json['sku'],
63
65
  'model': json['model'],
64
66
  'newArrivalStartDate': json['new_arrival_start_date'] == null ? undefined : (new Date(json['new_arrival_start_date'])),
@@ -26,7 +26,7 @@ export interface StoreProductChildRequestSitesInner {
26
26
  * @type {string}
27
27
  * @memberof StoreProductChildRequestSitesInner
28
28
  */
29
- name?: string;
29
+ name: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
@@ -24,6 +24,8 @@ exports.StoreProductChildRequestSitesInnerToJSONTyped = StoreProductChildRequest
24
24
  function instanceOfStoreProductChildRequestSitesInner(value) {
25
25
  if (!('siteId' in value) || value['siteId'] === undefined)
26
26
  return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
27
29
  if (!('description' in value) || value['description'] === undefined)
28
30
  return false;
29
31
  if (!('rrpPrice' in value) || value['rrpPrice'] === undefined)
@@ -45,7 +47,7 @@ function StoreProductChildRequestSitesInnerFromJSONTyped(json, ignoreDiscriminat
45
47
  }
46
48
  return {
47
49
  'siteId': json['site_id'],
48
- 'name': json['name'] == null ? undefined : json['name'],
50
+ 'name': json['name'],
49
51
  'displayName': json['display_name'] == null ? undefined : json['display_name'],
50
52
  'description': json['description'],
51
53
  'rrpPrice': json['rrp_price'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.532",
3
+ "version": "0.0.534",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -52,7 +52,7 @@ export interface StoreProductChildRequest {
52
52
  * @type {string}
53
53
  * @memberof StoreProductChildRequest
54
54
  */
55
- name?: string;
55
+ name: string;
56
56
  /**
57
57
  *
58
58
  * @type {string}
@@ -156,6 +156,7 @@ export interface StoreProductChildRequest {
156
156
  */
157
157
  export function instanceOfStoreProductChildRequest(value: object): value is StoreProductChildRequest {
158
158
  if (!('productId' in value) || value['productId'] === undefined) return false;
159
+ if (!('name' in value) || value['name'] === undefined) return false;
159
160
  if (!('sku' in value) || value['sku'] === undefined) return false;
160
161
  if (!('model' in value) || value['model'] === undefined) return false;
161
162
  if (!('hideFromFrontend' in value) || value['hideFromFrontend'] === undefined) return false;
@@ -180,7 +181,7 @@ export function StoreProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
180
181
  return {
181
182
 
182
183
  'productId': json['product_id'],
183
- 'name': json['name'] == null ? undefined : json['name'],
184
+ 'name': json['name'],
184
185
  'sku': json['sku'],
185
186
  'model': json['model'],
186
187
  'newArrivalStartDate': json['new_arrival_start_date'] == null ? undefined : (new Date(json['new_arrival_start_date'])),
@@ -30,7 +30,7 @@ export interface StoreProductChildRequestSitesInner {
30
30
  * @type {string}
31
31
  * @memberof StoreProductChildRequestSitesInner
32
32
  */
33
- name?: string;
33
+ name: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
@@ -86,6 +86,7 @@ export interface StoreProductChildRequestSitesInner {
86
86
  */
87
87
  export function instanceOfStoreProductChildRequestSitesInner(value: object): value is StoreProductChildRequestSitesInner {
88
88
  if (!('siteId' in value) || value['siteId'] === undefined) return false;
89
+ if (!('name' in value) || value['name'] === undefined) return false;
89
90
  if (!('description' in value) || value['description'] === undefined) return false;
90
91
  if (!('rrpPrice' in value) || value['rrpPrice'] === undefined) return false;
91
92
  if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
@@ -105,7 +106,7 @@ export function StoreProductChildRequestSitesInnerFromJSONTyped(json: any, ignor
105
106
  return {
106
107
 
107
108
  'siteId': json['site_id'],
108
- 'name': json['name'] == null ? undefined : json['name'],
109
+ 'name': json['name'],
109
110
  'displayName': json['display_name'] == null ? undefined : json['display_name'],
110
111
  'description': json['description'],
111
112
  'rrpPrice': json['rrp_price'],