@digital8/lighting-illusions-ts-sdk 0.0.1126 → 0.0.1127

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.1126
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1127
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -505,7 +505,7 @@ and is automatically generated by the
505
505
  [OpenAPI Generator](https://openapi-generator.tech) project:
506
506
 
507
507
  - API version: `1.0.0`
508
- - Package version: `0.0.1126`
508
+ - Package version: `0.0.1127`
509
509
  - Generator version: `7.20.0`
510
510
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
511
511
 
@@ -57,7 +57,7 @@ export interface StoreListResource {
57
57
  * @type {string}
58
58
  * @memberof StoreListResource
59
59
  */
60
- tagLine: string;
60
+ tagLine?: string | null;
61
61
  /**
62
62
  *
63
63
  * @type {string}
@@ -66,10 +66,10 @@ export interface StoreListResource {
66
66
  email: string;
67
67
  /**
68
68
  *
69
- * @type {string}
69
+ * @type {Array<string>}
70
70
  * @memberof StoreListResource
71
71
  */
72
- openingHours?: string | null;
72
+ openingHours: Array<string>;
73
73
  /**
74
74
  *
75
75
  * @type {Date}
@@ -33,10 +33,10 @@ function instanceOfStoreListResource(value) {
33
33
  return false;
34
34
  if (!('latitude' in value) || value['latitude'] === undefined)
35
35
  return false;
36
- if (!('tagLine' in value) || value['tagLine'] === undefined)
37
- return false;
38
36
  if (!('email' in value) || value['email'] === undefined)
39
37
  return false;
38
+ if (!('openingHours' in value) || value['openingHours'] === undefined)
39
+ return false;
40
40
  return true;
41
41
  }
42
42
  function StoreListResourceFromJSON(json) {
@@ -53,9 +53,9 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
53
53
  'phone': json['phone'],
54
54
  'longitude': json['longitude'],
55
55
  'latitude': json['latitude'],
56
- 'tagLine': json['tag_line'],
56
+ 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
57
57
  'email': json['email'],
58
- 'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
58
+ 'openingHours': json['opening_hours'],
59
59
  'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
60
60
  'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
61
61
  };
@@ -69,10 +69,10 @@ export interface StoreResource {
69
69
  email: string;
70
70
  /**
71
71
  *
72
- * @type {string}
72
+ * @type {Array<string>}
73
73
  * @memberof StoreResource
74
74
  */
75
- openingHours?: string | null;
75
+ openingHours: Array<string>;
76
76
  /**
77
77
  *
78
78
  * @type {Date}
@@ -40,6 +40,8 @@ function instanceOfStoreResource(value) {
40
40
  return false;
41
41
  if (!('email' in value) || value['email'] === undefined)
42
42
  return false;
43
+ if (!('openingHours' in value) || value['openingHours'] === undefined)
44
+ return false;
43
45
  if (!('suppliers' in value) || value['suppliers'] === undefined)
44
46
  return false;
45
47
  if (!('address' in value) || value['address'] === undefined)
@@ -64,7 +66,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
64
66
  'latitude': json['latitude'],
65
67
  'tagLine': json['tag_line'],
66
68
  'email': json['email'],
67
- 'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
69
+ 'openingHours': json['opening_hours'],
68
70
  'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
69
71
  'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
70
72
  'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
@@ -14,7 +14,7 @@ Name | Type
14
14
  `latitude` | number
15
15
  `tagLine` | string
16
16
  `email` | string
17
- `openingHours` | string
17
+ `openingHours` | Array&lt;string&gt;
18
18
  `createdAt` | Date
19
19
  `updatedAt` | Date
20
20
 
@@ -14,7 +14,7 @@ Name | Type
14
14
  `latitude` | number
15
15
  `tagLine` | string
16
16
  `email` | string
17
- `openingHours` | string
17
+ `openingHours` | Array&lt;string&gt;
18
18
  `createdAt` | Date
19
19
  `updatedAt` | Date
20
20
  `suppliers` | [Array&lt;SupplierLiteResource&gt;](SupplierLiteResource.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1126",
3
+ "version": "0.0.1127",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -68,7 +68,7 @@ export interface StoreListResource {
68
68
  * @type {string}
69
69
  * @memberof StoreListResource
70
70
  */
71
- tagLine: string;
71
+ tagLine?: string | null;
72
72
  /**
73
73
  *
74
74
  * @type {string}
@@ -77,10 +77,10 @@ export interface StoreListResource {
77
77
  email: string;
78
78
  /**
79
79
  *
80
- * @type {string}
80
+ * @type {Array<string>}
81
81
  * @memberof StoreListResource
82
82
  */
83
- openingHours?: string | null;
83
+ openingHours: Array<string>;
84
84
  /**
85
85
  *
86
86
  * @type {Date}
@@ -104,8 +104,8 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
104
104
  if (!('phone' in value) || value['phone'] === undefined) return false;
105
105
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
106
106
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
107
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
108
107
  if (!('email' in value) || value['email'] === undefined) return false;
108
+ if (!('openingHours' in value) || value['openingHours'] === undefined) return false;
109
109
  return true;
110
110
  }
111
111
 
@@ -125,9 +125,9 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
125
125
  'phone': json['phone'],
126
126
  'longitude': json['longitude'],
127
127
  'latitude': json['latitude'],
128
- 'tagLine': json['tag_line'],
128
+ 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
129
129
  'email': json['email'],
130
- 'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
130
+ 'openingHours': json['opening_hours'],
131
131
  'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
132
132
  'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
133
133
  };
@@ -98,10 +98,10 @@ export interface StoreResource {
98
98
  email: string;
99
99
  /**
100
100
  *
101
- * @type {string}
101
+ * @type {Array<string>}
102
102
  * @memberof StoreResource
103
103
  */
104
- openingHours?: string | null;
104
+ openingHours: Array<string>;
105
105
  /**
106
106
  *
107
107
  * @type {Date}
@@ -145,6 +145,7 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
145
145
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
146
146
  if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
147
147
  if (!('email' in value) || value['email'] === undefined) return false;
148
+ if (!('openingHours' in value) || value['openingHours'] === undefined) return false;
148
149
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
149
150
  if (!('address' in value) || value['address'] === undefined) return false;
150
151
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
@@ -169,7 +170,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
169
170
  'latitude': json['latitude'],
170
171
  'tagLine': json['tag_line'],
171
172
  'email': json['email'],
172
- 'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
173
+ 'openingHours': json['opening_hours'],
173
174
  'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
174
175
  'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
175
176
  'suppliers': (json['suppliers'] == null ? null : (json['suppliers'] as Array<any>).map(SupplierLiteResourceFromJSON)),