@digital8/lighting-illusions-ts-sdk 0.0.864 → 0.0.866

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.864
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.866
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -463,7 +463,7 @@ and is automatically generated by the
463
463
  [OpenAPI Generator](https://openapi-generator.tech) project:
464
464
 
465
465
  - API version: `1.0.0`
466
- - Package version: `0.0.864`
466
+ - Package version: `0.0.866`
467
467
  - Generator version: `7.19.0`
468
468
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
469
469
 
@@ -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}
@@ -56,7 +56,7 @@ export interface StoreProductChildRequestSitesInner {
56
56
  * @type {string}
57
57
  * @memberof StoreProductChildRequestSitesInner
58
58
  */
59
- slug?: string;
59
+ slug: string;
60
60
  /**
61
61
  *
62
62
  * @type {Array<number>}
@@ -24,12 +24,16 @@ 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)
30
32
  return false;
31
33
  if (!('salePrice' in value) || value['salePrice'] === undefined)
32
34
  return false;
35
+ if (!('slug' in value) || value['slug'] === undefined)
36
+ return false;
33
37
  if (!('documents' in value) || value['documents'] === undefined)
34
38
  return false;
35
39
  return true;
@@ -43,12 +47,12 @@ function StoreProductChildRequestSitesInnerFromJSONTyped(json, ignoreDiscriminat
43
47
  }
44
48
  return {
45
49
  'siteId': json['site_id'],
46
- 'name': json['name'] == null ? undefined : json['name'],
50
+ 'name': json['name'],
47
51
  'displayName': json['display_name'] == null ? undefined : json['display_name'],
48
52
  'description': json['description'],
49
53
  'rrpPrice': json['rrp_price'],
50
54
  'salePrice': json['sale_price'],
51
- 'slug': json['slug'] == null ? undefined : json['slug'],
55
+ 'slug': json['slug'],
52
56
  'documents': json['documents'],
53
57
  'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
54
58
  'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.864",
3
+ "version": "0.0.866",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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}
@@ -60,7 +60,7 @@ export interface StoreProductChildRequestSitesInner {
60
60
  * @type {string}
61
61
  * @memberof StoreProductChildRequestSitesInner
62
62
  */
63
- slug?: string;
63
+ slug: string;
64
64
  /**
65
65
  *
66
66
  * @type {Array<number>}
@@ -86,9 +86,11 @@ 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;
93
+ if (!('slug' in value) || value['slug'] === undefined) return false;
92
94
  if (!('documents' in value) || value['documents'] === undefined) return false;
93
95
  return true;
94
96
  }
@@ -104,12 +106,12 @@ export function StoreProductChildRequestSitesInnerFromJSONTyped(json: any, ignor
104
106
  return {
105
107
 
106
108
  'siteId': json['site_id'],
107
- 'name': json['name'] == null ? undefined : json['name'],
109
+ 'name': json['name'],
108
110
  'displayName': json['display_name'] == null ? undefined : json['display_name'],
109
111
  'description': json['description'],
110
112
  'rrpPrice': json['rrp_price'],
111
113
  'salePrice': json['sale_price'],
112
- 'slug': json['slug'] == null ? undefined : json['slug'],
114
+ 'slug': json['slug'],
113
115
  'documents': json['documents'],
114
116
  'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
115
117
  'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],