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

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.862
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.864
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.862`
466
+ - Package version: `0.0.864`
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,16 +24,12 @@ 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;
29
27
  if (!('description' in value) || value['description'] === undefined)
30
28
  return false;
31
29
  if (!('rrpPrice' in value) || value['rrpPrice'] === undefined)
32
30
  return false;
33
31
  if (!('salePrice' in value) || value['salePrice'] === undefined)
34
32
  return false;
35
- if (!('slug' in value) || value['slug'] === undefined)
36
- return false;
37
33
  if (!('documents' in value) || value['documents'] === undefined)
38
34
  return false;
39
35
  return true;
@@ -47,12 +43,12 @@ function StoreProductChildRequestSitesInnerFromJSONTyped(json, ignoreDiscriminat
47
43
  }
48
44
  return {
49
45
  'siteId': json['site_id'],
50
- 'name': json['name'],
46
+ 'name': json['name'] == null ? undefined : json['name'],
51
47
  'displayName': json['display_name'] == null ? undefined : json['display_name'],
52
48
  'description': json['description'],
53
49
  'rrpPrice': json['rrp_price'],
54
50
  'salePrice': json['sale_price'],
55
- 'slug': json['slug'],
51
+ 'slug': json['slug'] == null ? undefined : json['slug'],
56
52
  'documents': json['documents'],
57
53
  'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
58
54
  '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.862",
3
+ "version": "0.0.864",
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,11 +86,9 @@ 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;
90
89
  if (!('description' in value) || value['description'] === undefined) return false;
91
90
  if (!('rrpPrice' in value) || value['rrpPrice'] === undefined) return false;
92
91
  if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
93
- if (!('slug' in value) || value['slug'] === undefined) return false;
94
92
  if (!('documents' in value) || value['documents'] === undefined) return false;
95
93
  return true;
96
94
  }
@@ -106,12 +104,12 @@ export function StoreProductChildRequestSitesInnerFromJSONTyped(json: any, ignor
106
104
  return {
107
105
 
108
106
  'siteId': json['site_id'],
109
- 'name': json['name'],
107
+ 'name': json['name'] == null ? undefined : json['name'],
110
108
  'displayName': json['display_name'] == null ? undefined : json['display_name'],
111
109
  'description': json['description'],
112
110
  'rrpPrice': json['rrp_price'],
113
111
  'salePrice': json['sale_price'],
114
- 'slug': json['slug'],
112
+ 'slug': json['slug'] == null ? undefined : json['slug'],
115
113
  'documents': json['documents'],
116
114
  'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
117
115
  'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],