@digital8/lighting-illusions-ts-sdk 0.0.1927 → 0.0.1928

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.1927
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1928
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -793,7 +793,7 @@ and is automatically generated by the
793
793
  [OpenAPI Generator](https://openapi-generator.tech) project:
794
794
 
795
795
  - API version: `1.0.0`
796
- - Package version: `0.0.1927`
796
+ - Package version: `0.0.1928`
797
797
  - Generator version: `7.22.0`
798
798
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
799
799
 
@@ -32,7 +32,7 @@ export interface AddressFrontendResource {
32
32
  * @type {string}
33
33
  * @memberof AddressFrontendResource
34
34
  */
35
- line2?: string | null;
35
+ line2: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -26,6 +26,8 @@ function instanceOfAddressFrontendResource(value) {
26
26
  return false;
27
27
  if (!('line1' in value) || value['line1'] === undefined)
28
28
  return false;
29
+ if (!('line2' in value) || value['line2'] === undefined)
30
+ return false;
29
31
  if (!('postcode' in value) || value['postcode'] === undefined)
30
32
  return false;
31
33
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -48,7 +50,7 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
48
50
  return {
49
51
  'company': json['company'],
50
52
  'line1': json['line1'],
51
- 'line2': json['line2'] == null ? undefined : json['line2'],
53
+ 'line2': json['line2'],
52
54
  'postcode': json['postcode'],
53
55
  'suburb': json['suburb'],
54
56
  'country': json['country'],
@@ -60,7 +60,7 @@ export interface StoreResource {
60
60
  * @type {string}
61
61
  * @memberof StoreResource
62
62
  */
63
- tagLine?: string | null;
63
+ tagLine: string;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -36,6 +36,8 @@ function instanceOfStoreResource(value) {
36
36
  return false;
37
37
  if (!('latitude' in value) || value['latitude'] === undefined)
38
38
  return false;
39
+ if (!('tagLine' in value) || value['tagLine'] === undefined)
40
+ return false;
39
41
  if (!('email' in value) || value['email'] === undefined)
40
42
  return false;
41
43
  if (!('website' in value) || value['website'] === undefined)
@@ -66,7 +68,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
66
68
  'phone': json['phone'],
67
69
  'longitude': json['longitude'],
68
70
  'latitude': json['latitude'],
69
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
71
+ 'tagLine': json['tagLine'],
70
72
  'email': json['email'],
71
73
  'website': json['website'],
72
74
  'netsuiteId': json['netsuiteId'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1927",
3
+ "version": "0.0.1928",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -36,7 +36,7 @@ export interface AddressFrontendResource {
36
36
  * @type {string}
37
37
  * @memberof AddressFrontendResource
38
38
  */
39
- line2?: string | null;
39
+ line2: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
@@ -75,6 +75,7 @@ export interface AddressFrontendResource {
75
75
  export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
76
76
  if (!('company' in value) || value['company'] === undefined) return false;
77
77
  if (!('line1' in value) || value['line1'] === undefined) return false;
78
+ if (!('line2' in value) || value['line2'] === undefined) return false;
78
79
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
79
80
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
80
81
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -95,7 +96,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
95
96
 
96
97
  'company': json['company'],
97
98
  'line1': json['line1'],
98
- 'line2': json['line2'] == null ? undefined : json['line2'],
99
+ 'line2': json['line2'],
99
100
  'postcode': json['postcode'],
100
101
  'suburb': json['suburb'],
101
102
  'country': json['country'],
@@ -89,7 +89,7 @@ export interface StoreResource {
89
89
  * @type {string}
90
90
  * @memberof StoreResource
91
91
  */
92
- tagLine?: string | null;
92
+ tagLine: string;
93
93
  /**
94
94
  *
95
95
  * @type {string}
@@ -149,6 +149,7 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
149
149
  if (!('phone' in value) || value['phone'] === undefined) return false;
150
150
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
151
151
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
152
+ if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
152
153
  if (!('email' in value) || value['email'] === undefined) return false;
153
154
  if (!('website' in value) || value['website'] === undefined) return false;
154
155
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
@@ -175,7 +176,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
175
176
  'phone': json['phone'],
176
177
  'longitude': json['longitude'],
177
178
  'latitude': json['latitude'],
178
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
179
+ 'tagLine': json['tagLine'],
179
180
  'email': json['email'],
180
181
  'website': json['website'],
181
182
  'netsuiteId': json['netsuiteId'],