@digital8/lighting-illusions-ts-sdk 0.0.1722 → 0.0.1724

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.1722
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1724
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -638,7 +638,7 @@ and is automatically generated by the
638
638
  [OpenAPI Generator](https://openapi-generator.tech) project:
639
639
 
640
640
  - API version: `1.0.0`
641
- - Package version: `0.0.1722`
641
+ - Package version: `0.0.1724`
642
642
  - Generator version: `7.21.0`
643
643
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
644
644
 
@@ -38,7 +38,7 @@ export interface AddressResource {
38
38
  * @type {string}
39
39
  * @memberof AddressResource
40
40
  */
41
- line2: string;
41
+ line2?: string | null;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -26,8 +26,6 @@ function instanceOfAddressResource(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;
31
29
  if (!('postcode' in value) || value['postcode'] === undefined)
32
30
  return false;
33
31
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -51,7 +49,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
51
49
  'id': json['id'] == null ? undefined : json['id'],
52
50
  'company': json['company'],
53
51
  'line1': json['line_1'],
54
- 'line2': json['line_2'],
52
+ 'line2': json['line_2'] == null ? undefined : json['line_2'],
55
53
  'postcode': json['postcode'],
56
54
  'suburb': json['suburb'],
57
55
  'country': json['country'],
@@ -74,7 +74,7 @@ export interface StoreFrontendResource {
74
74
  * @type {string}
75
75
  * @memberof StoreFrontendResource
76
76
  */
77
- tagLine: string;
77
+ tagLine?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -34,8 +34,6 @@ function instanceOfStoreFrontendResource(value) {
34
34
  return false;
35
35
  if (!('longitude' in value) || value['longitude'] === undefined)
36
36
  return false;
37
- if (!('tagLine' in value) || value['tagLine'] === undefined)
38
- return false;
39
37
  if (!('specialDates' in value) || value['specialDates'] === undefined)
40
38
  return false;
41
39
  if (!('suppliers' in value) || value['suppliers'] === undefined)
@@ -59,7 +57,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
59
57
  'address': json['address'] == null ? undefined : json['address'],
60
58
  'latitude': json['latitude'],
61
59
  'longitude': json['longitude'],
62
- 'tagLine': json['tagLine'],
60
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
63
61
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
64
62
  'specialDates': json['specialDates'],
65
63
  'suppliers': json['suppliers'],
@@ -69,7 +69,7 @@ export interface StoreListResource {
69
69
  * @type {string}
70
70
  * @memberof StoreListResource
71
71
  */
72
- website?: string | null;
72
+ website: string;
73
73
  /**
74
74
  *
75
75
  * @type {string}
@@ -37,6 +37,8 @@ function instanceOfStoreListResource(value) {
37
37
  return false;
38
38
  if (!('email' in value) || value['email'] === undefined)
39
39
  return false;
40
+ if (!('website' in value) || value['website'] === undefined)
41
+ return false;
40
42
  return true;
41
43
  }
42
44
  function StoreListResourceFromJSON(json) {
@@ -55,7 +57,7 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
55
57
  'latitude': json['latitude'],
56
58
  'tagLine': json['tag_line'],
57
59
  'email': json['email'],
58
- 'website': json['website'] == null ? undefined : json['website'],
60
+ 'website': json['website'],
59
61
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
60
62
  };
61
63
  }
@@ -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}
@@ -72,7 +72,7 @@ export interface StoreResource {
72
72
  * @type {string}
73
73
  * @memberof StoreResource
74
74
  */
75
- website: string;
75
+ website?: string | null;
76
76
  /**
77
77
  *
78
78
  * @type {string}
@@ -36,9 +36,9 @@ function instanceOfStoreResource(value) {
36
36
  return false;
37
37
  if (!('latitude' in value) || value['latitude'] === undefined)
38
38
  return false;
39
- if (!('email' in value) || value['email'] === undefined)
39
+ if (!('tagLine' in value) || value['tagLine'] === undefined)
40
40
  return false;
41
- if (!('website' in value) || value['website'] === undefined)
41
+ if (!('email' in value) || value['email'] === undefined)
42
42
  return false;
43
43
  if (!('suppliers' in value) || value['suppliers'] === undefined)
44
44
  return false;
@@ -62,9 +62,9 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
62
62
  'phone': json['phone'],
63
63
  'longitude': json['longitude'],
64
64
  'latitude': json['latitude'],
65
- 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
65
+ 'tagLine': json['tag_line'],
66
66
  'email': json['email'],
67
- 'website': json['website'],
67
+ 'website': json['website'] == null ? undefined : json['website'],
68
68
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
69
69
  'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
70
70
  'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1722",
3
+ "version": "0.0.1724",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -42,7 +42,7 @@ export interface AddressResource {
42
42
  * @type {string}
43
43
  * @memberof AddressResource
44
44
  */
45
- line2: string;
45
+ line2?: string | null;
46
46
  /**
47
47
  *
48
48
  * @type {string}
@@ -81,7 +81,6 @@ export interface AddressResource {
81
81
  export function instanceOfAddressResource(value: object): value is AddressResource {
82
82
  if (!('company' in value) || value['company'] === undefined) return false;
83
83
  if (!('line1' in value) || value['line1'] === undefined) return false;
84
- if (!('line2' in value) || value['line2'] === undefined) return false;
85
84
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
86
85
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
87
86
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -103,7 +102,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
103
102
  'id': json['id'] == null ? undefined : json['id'],
104
103
  'company': json['company'],
105
104
  'line1': json['line_1'],
106
- 'line2': json['line_2'],
105
+ 'line2': json['line_2'] == null ? undefined : json['line_2'],
107
106
  'postcode': json['postcode'],
108
107
  'suburb': json['suburb'],
109
108
  'country': json['country'],
@@ -78,7 +78,7 @@ export interface StoreFrontendResource {
78
78
  * @type {string}
79
79
  * @memberof StoreFrontendResource
80
80
  */
81
- tagLine: string;
81
+ tagLine?: string | null;
82
82
  /**
83
83
  *
84
84
  * @type {string}
@@ -109,7 +109,6 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
109
109
  if (!('phone' in value) || value['phone'] === undefined) return false;
110
110
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
111
111
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
112
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
113
112
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
114
113
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
115
114
  return true;
@@ -134,7 +133,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
134
133
  'address': json['address'] == null ? undefined : json['address'],
135
134
  'latitude': json['latitude'],
136
135
  'longitude': json['longitude'],
137
- 'tagLine': json['tagLine'],
136
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
138
137
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
139
138
  'specialDates': json['specialDates'],
140
139
  'suppliers': json['suppliers'],
@@ -80,7 +80,7 @@ export interface StoreListResource {
80
80
  * @type {string}
81
81
  * @memberof StoreListResource
82
82
  */
83
- website?: string | null;
83
+ website: string;
84
84
  /**
85
85
  *
86
86
  * @type {string}
@@ -100,6 +100,7 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
100
100
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
101
101
  if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
102
102
  if (!('email' in value) || value['email'] === undefined) return false;
103
+ if (!('website' in value) || value['website'] === undefined) return false;
103
104
  return true;
104
105
  }
105
106
 
@@ -121,7 +122,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
121
122
  'latitude': json['latitude'],
122
123
  'tagLine': json['tag_line'],
123
124
  'email': json['email'],
124
- 'website': json['website'] == null ? undefined : json['website'],
125
+ 'website': json['website'],
125
126
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
126
127
  };
127
128
  }
@@ -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}
@@ -101,7 +101,7 @@ export interface StoreResource {
101
101
  * @type {string}
102
102
  * @memberof StoreResource
103
103
  */
104
- website: string;
104
+ website?: string | null;
105
105
  /**
106
106
  *
107
107
  * @type {string}
@@ -137,8 +137,8 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
137
137
  if (!('phone' in value) || value['phone'] === undefined) return false;
138
138
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
139
139
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
140
+ if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
140
141
  if (!('email' in value) || value['email'] === undefined) return false;
141
- if (!('website' in value) || value['website'] === undefined) return false;
142
142
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
143
143
  if (!('address' in value) || value['address'] === undefined) return false;
144
144
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
@@ -161,9 +161,9 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
161
161
  'phone': json['phone'],
162
162
  'longitude': json['longitude'],
163
163
  'latitude': json['latitude'],
164
- 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
164
+ 'tagLine': json['tag_line'],
165
165
  'email': json['email'],
166
- 'website': json['website'],
166
+ 'website': json['website'] == null ? undefined : json['website'],
167
167
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
168
168
  'suppliers': (json['suppliers'] == null ? null : (json['suppliers'] as Array<any>).map(SupplierLiteResourceFromJSON)),
169
169
  'address': AddressResourceFromJSON(json['address']),