@digital8/lighting-illusions-ts-sdk 0.0.1123 → 0.0.1124

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.1123
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1124
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -504,7 +504,7 @@ and is automatically generated by the
504
504
  [OpenAPI Generator](https://openapi-generator.tech) project:
505
505
 
506
506
  - API version: `1.0.0`
507
- - Package version: `0.0.1123`
507
+ - Package version: `0.0.1124`
508
508
  - Generator version: `7.20.0`
509
509
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
510
510
 
@@ -60,7 +60,7 @@ export interface StoreResource {
60
60
  * @type {string}
61
61
  * @memberof StoreResource
62
62
  */
63
- tagLine: string;
63
+ tagLine?: string | null;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -36,8 +36,6 @@ 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;
41
39
  if (!('email' in value) || value['email'] === undefined)
42
40
  return false;
43
41
  if (!('suppliers' in value) || value['suppliers'] === undefined)
@@ -62,7 +60,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
62
60
  'phone': json['phone'],
63
61
  'longitude': json['longitude'],
64
62
  'latitude': json['latitude'],
65
- 'tagLine': json['tag_line'],
63
+ 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
66
64
  'email': json['email'],
67
65
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
68
66
  'createdAt': json['created_at'] == null ? undefined : json['created_at'],
@@ -65,48 +65,6 @@ export interface StoreStoreRequest {
65
65
  * @memberof StoreStoreRequest
66
66
  */
67
67
  openingHours?: Array<string>;
68
- /**
69
- *
70
- * @type {string}
71
- * @memberof StoreStoreRequest
72
- */
73
- openingHours0?: string;
74
- /**
75
- *
76
- * @type {string}
77
- * @memberof StoreStoreRequest
78
- */
79
- openingHours1?: string;
80
- /**
81
- *
82
- * @type {string}
83
- * @memberof StoreStoreRequest
84
- */
85
- openingHours2?: string;
86
- /**
87
- *
88
- * @type {string}
89
- * @memberof StoreStoreRequest
90
- */
91
- openingHours3?: string;
92
- /**
93
- *
94
- * @type {string}
95
- * @memberof StoreStoreRequest
96
- */
97
- openingHours4?: string;
98
- /**
99
- *
100
- * @type {string}
101
- * @memberof StoreStoreRequest
102
- */
103
- openingHours5?: string;
104
- /**
105
- *
106
- * @type {string}
107
- * @memberof StoreStoreRequest
108
- */
109
- openingHours6?: string;
110
68
  /**
111
69
  *
112
70
  * @type {Array<number>}
@@ -56,13 +56,6 @@ function StoreStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
57
57
  'email': json['email'],
58
58
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
59
- 'openingHours0': json['opening_hours.0'] == null ? undefined : json['opening_hours.0'],
60
- 'openingHours1': json['opening_hours.1'] == null ? undefined : json['opening_hours.1'],
61
- 'openingHours2': json['opening_hours.2'] == null ? undefined : json['opening_hours.2'],
62
- 'openingHours3': json['opening_hours.3'] == null ? undefined : json['opening_hours.3'],
63
- 'openingHours4': json['opening_hours.4'] == null ? undefined : json['opening_hours.4'],
64
- 'openingHours5': json['opening_hours.5'] == null ? undefined : json['opening_hours.5'],
65
- 'openingHours6': json['opening_hours.6'] == null ? undefined : json['opening_hours.6'],
66
59
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
67
60
  'specialDates': json['special_dates'] == null ? undefined : (json['special_dates'].map(StoreStoreRequestSpecialDatesInner_1.StoreStoreRequestSpecialDatesInnerFromJSON)),
68
61
  'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressFromJSON)(json['address']),
@@ -85,13 +78,6 @@ function StoreStoreRequestToJSONTyped(value, ignoreDiscriminator) {
85
78
  'tag_line': value['tagLine'],
86
79
  'email': value['email'],
87
80
  'opening_hours': value['openingHours'],
88
- 'opening_hours.0': value['openingHours0'],
89
- 'opening_hours.1': value['openingHours1'],
90
- 'opening_hours.2': value['openingHours2'],
91
- 'opening_hours.3': value['openingHours3'],
92
- 'opening_hours.4': value['openingHours4'],
93
- 'opening_hours.5': value['openingHours5'],
94
- 'opening_hours.6': value['openingHours6'],
95
81
  'supplier_ids': value['supplierIds'],
96
82
  'special_dates': value['specialDates'] == null ? undefined : (value['specialDates'].map(StoreStoreRequestSpecialDatesInner_1.StoreStoreRequestSpecialDatesInnerToJSON)),
97
83
  'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressToJSON)(value['address']),
@@ -65,48 +65,6 @@ export interface UpdateStoreRequest {
65
65
  * @memberof UpdateStoreRequest
66
66
  */
67
67
  openingHours?: Array<string>;
68
- /**
69
- *
70
- * @type {string}
71
- * @memberof UpdateStoreRequest
72
- */
73
- openingHours0?: string;
74
- /**
75
- *
76
- * @type {string}
77
- * @memberof UpdateStoreRequest
78
- */
79
- openingHours1?: string;
80
- /**
81
- *
82
- * @type {string}
83
- * @memberof UpdateStoreRequest
84
- */
85
- openingHours2?: string;
86
- /**
87
- *
88
- * @type {string}
89
- * @memberof UpdateStoreRequest
90
- */
91
- openingHours3?: string;
92
- /**
93
- *
94
- * @type {string}
95
- * @memberof UpdateStoreRequest
96
- */
97
- openingHours4?: string;
98
- /**
99
- *
100
- * @type {string}
101
- * @memberof UpdateStoreRequest
102
- */
103
- openingHours5?: string;
104
- /**
105
- *
106
- * @type {string}
107
- * @memberof UpdateStoreRequest
108
- */
109
- openingHours6?: string;
110
68
  /**
111
69
  *
112
70
  * @type {Array<number>}
@@ -56,13 +56,6 @@ function UpdateStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
57
57
  'email': json['email'],
58
58
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
59
- 'openingHours0': json['opening_hours.0'] == null ? undefined : json['opening_hours.0'],
60
- 'openingHours1': json['opening_hours.1'] == null ? undefined : json['opening_hours.1'],
61
- 'openingHours2': json['opening_hours.2'] == null ? undefined : json['opening_hours.2'],
62
- 'openingHours3': json['opening_hours.3'] == null ? undefined : json['opening_hours.3'],
63
- 'openingHours4': json['opening_hours.4'] == null ? undefined : json['opening_hours.4'],
64
- 'openingHours5': json['opening_hours.5'] == null ? undefined : json['opening_hours.5'],
65
- 'openingHours6': json['opening_hours.6'] == null ? undefined : json['opening_hours.6'],
66
59
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
67
60
  'specialDates': json['special_dates'] == null ? undefined : (json['special_dates'].map(UpdateStoreRequestSpecialDatesInner_1.UpdateStoreRequestSpecialDatesInnerFromJSON)),
68
61
  'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressFromJSON)(json['address']),
@@ -85,13 +78,6 @@ function UpdateStoreRequestToJSONTyped(value, ignoreDiscriminator) {
85
78
  'tag_line': value['tagLine'],
86
79
  'email': value['email'],
87
80
  'opening_hours': value['openingHours'],
88
- 'opening_hours.0': value['openingHours0'],
89
- 'opening_hours.1': value['openingHours1'],
90
- 'opening_hours.2': value['openingHours2'],
91
- 'opening_hours.3': value['openingHours3'],
92
- 'opening_hours.4': value['openingHours4'],
93
- 'opening_hours.5': value['openingHours5'],
94
- 'opening_hours.6': value['openingHours6'],
95
81
  'supplier_ids': value['supplierIds'],
96
82
  'special_dates': value['specialDates'] == null ? undefined : (value['specialDates'].map(UpdateStoreRequestSpecialDatesInner_1.UpdateStoreRequestSpecialDatesInnerToJSON)),
97
83
  'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressToJSON)(value['address']),
@@ -14,13 +14,6 @@ Name | Type
14
14
  `tagLine` | string
15
15
  `email` | string
16
16
  `openingHours` | Array&lt;string&gt;
17
- `openingHours0` | string
18
- `openingHours1` | string
19
- `openingHours2` | string
20
- `openingHours3` | string
21
- `openingHours4` | string
22
- `openingHours5` | string
23
- `openingHours6` | string
24
17
  `supplierIds` | Array&lt;number&gt;
25
18
  `specialDates` | [Array&lt;StoreStoreRequestSpecialDatesInner&gt;](StoreStoreRequestSpecialDatesInner.md)
26
19
  `address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
@@ -40,13 +33,6 @@ const example = {
40
33
  "tagLine": null,
41
34
  "email": null,
42
35
  "openingHours": null,
43
- "openingHours0": null,
44
- "openingHours1": null,
45
- "openingHours2": null,
46
- "openingHours3": null,
47
- "openingHours4": null,
48
- "openingHours5": null,
49
- "openingHours6": null,
50
36
  "supplierIds": null,
51
37
  "specialDates": null,
52
38
  "address": null,
@@ -14,13 +14,6 @@ Name | Type
14
14
  `tagLine` | string
15
15
  `email` | string
16
16
  `openingHours` | Array&lt;string&gt;
17
- `openingHours0` | string
18
- `openingHours1` | string
19
- `openingHours2` | string
20
- `openingHours3` | string
21
- `openingHours4` | string
22
- `openingHours5` | string
23
- `openingHours6` | string
24
17
  `supplierIds` | Array&lt;number&gt;
25
18
  `specialDates` | [Array&lt;UpdateStoreRequestSpecialDatesInner&gt;](UpdateStoreRequestSpecialDatesInner.md)
26
19
  `address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
@@ -40,13 +33,6 @@ const example = {
40
33
  "tagLine": null,
41
34
  "email": null,
42
35
  "openingHours": null,
43
- "openingHours0": null,
44
- "openingHours1": null,
45
- "openingHours2": null,
46
- "openingHours3": null,
47
- "openingHours4": null,
48
- "openingHours5": null,
49
- "openingHours6": null,
50
36
  "supplierIds": null,
51
37
  "specialDates": null,
52
38
  "address": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1123",
3
+ "version": "0.0.1124",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -89,7 +89,7 @@ export interface StoreResource {
89
89
  * @type {string}
90
90
  * @memberof StoreResource
91
91
  */
92
- tagLine: string;
92
+ tagLine?: string | null;
93
93
  /**
94
94
  *
95
95
  * @type {string}
@@ -143,7 +143,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
143
143
  if (!('phone' in value) || value['phone'] === undefined) return false;
144
144
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
145
145
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
146
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
147
146
  if (!('email' in value) || value['email'] === undefined) return false;
148
147
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
149
148
  if (!('address' in value) || value['address'] === undefined) return false;
@@ -167,7 +166,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
167
166
  'phone': json['phone'],
168
167
  'longitude': json['longitude'],
169
168
  'latitude': json['latitude'],
170
- 'tagLine': json['tag_line'],
169
+ 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
171
170
  'email': json['email'],
172
171
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
173
172
  'createdAt': json['created_at'] == null ? undefined : json['created_at'],
@@ -82,48 +82,6 @@ export interface StoreStoreRequest {
82
82
  * @memberof StoreStoreRequest
83
83
  */
84
84
  openingHours?: Array<string>;
85
- /**
86
- *
87
- * @type {string}
88
- * @memberof StoreStoreRequest
89
- */
90
- openingHours0?: string;
91
- /**
92
- *
93
- * @type {string}
94
- * @memberof StoreStoreRequest
95
- */
96
- openingHours1?: string;
97
- /**
98
- *
99
- * @type {string}
100
- * @memberof StoreStoreRequest
101
- */
102
- openingHours2?: string;
103
- /**
104
- *
105
- * @type {string}
106
- * @memberof StoreStoreRequest
107
- */
108
- openingHours3?: string;
109
- /**
110
- *
111
- * @type {string}
112
- * @memberof StoreStoreRequest
113
- */
114
- openingHours4?: string;
115
- /**
116
- *
117
- * @type {string}
118
- * @memberof StoreStoreRequest
119
- */
120
- openingHours5?: string;
121
- /**
122
- *
123
- * @type {string}
124
- * @memberof StoreStoreRequest
125
- */
126
- openingHours6?: string;
127
85
  /**
128
86
  *
129
87
  * @type {Array<number>}
@@ -176,13 +134,6 @@ export function StoreStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: b
176
134
  'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
177
135
  'email': json['email'],
178
136
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
179
- 'openingHours0': json['opening_hours.0'] == null ? undefined : json['opening_hours.0'],
180
- 'openingHours1': json['opening_hours.1'] == null ? undefined : json['opening_hours.1'],
181
- 'openingHours2': json['opening_hours.2'] == null ? undefined : json['opening_hours.2'],
182
- 'openingHours3': json['opening_hours.3'] == null ? undefined : json['opening_hours.3'],
183
- 'openingHours4': json['opening_hours.4'] == null ? undefined : json['opening_hours.4'],
184
- 'openingHours5': json['opening_hours.5'] == null ? undefined : json['opening_hours.5'],
185
- 'openingHours6': json['opening_hours.6'] == null ? undefined : json['opening_hours.6'],
186
137
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
187
138
  'specialDates': json['special_dates'] == null ? undefined : ((json['special_dates'] as Array<any>).map(StoreStoreRequestSpecialDatesInnerFromJSON)),
188
139
  'address': StoreStoreRequestAddressFromJSON(json['address']),
@@ -208,13 +159,6 @@ export function StoreStoreRequestToJSONTyped(value?: StoreStoreRequest | null, i
208
159
  'tag_line': value['tagLine'],
209
160
  'email': value['email'],
210
161
  'opening_hours': value['openingHours'],
211
- 'opening_hours.0': value['openingHours0'],
212
- 'opening_hours.1': value['openingHours1'],
213
- 'opening_hours.2': value['openingHours2'],
214
- 'opening_hours.3': value['openingHours3'],
215
- 'opening_hours.4': value['openingHours4'],
216
- 'opening_hours.5': value['openingHours5'],
217
- 'opening_hours.6': value['openingHours6'],
218
162
  'supplier_ids': value['supplierIds'],
219
163
  'special_dates': value['specialDates'] == null ? undefined : ((value['specialDates'] as Array<any>).map(StoreStoreRequestSpecialDatesInnerToJSON)),
220
164
  'address': StoreStoreRequestAddressToJSON(value['address']),
@@ -82,48 +82,6 @@ export interface UpdateStoreRequest {
82
82
  * @memberof UpdateStoreRequest
83
83
  */
84
84
  openingHours?: Array<string>;
85
- /**
86
- *
87
- * @type {string}
88
- * @memberof UpdateStoreRequest
89
- */
90
- openingHours0?: string;
91
- /**
92
- *
93
- * @type {string}
94
- * @memberof UpdateStoreRequest
95
- */
96
- openingHours1?: string;
97
- /**
98
- *
99
- * @type {string}
100
- * @memberof UpdateStoreRequest
101
- */
102
- openingHours2?: string;
103
- /**
104
- *
105
- * @type {string}
106
- * @memberof UpdateStoreRequest
107
- */
108
- openingHours3?: string;
109
- /**
110
- *
111
- * @type {string}
112
- * @memberof UpdateStoreRequest
113
- */
114
- openingHours4?: string;
115
- /**
116
- *
117
- * @type {string}
118
- * @memberof UpdateStoreRequest
119
- */
120
- openingHours5?: string;
121
- /**
122
- *
123
- * @type {string}
124
- * @memberof UpdateStoreRequest
125
- */
126
- openingHours6?: string;
127
85
  /**
128
86
  *
129
87
  * @type {Array<number>}
@@ -176,13 +134,6 @@ export function UpdateStoreRequestFromJSONTyped(json: any, ignoreDiscriminator:
176
134
  'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
177
135
  'email': json['email'],
178
136
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
179
- 'openingHours0': json['opening_hours.0'] == null ? undefined : json['opening_hours.0'],
180
- 'openingHours1': json['opening_hours.1'] == null ? undefined : json['opening_hours.1'],
181
- 'openingHours2': json['opening_hours.2'] == null ? undefined : json['opening_hours.2'],
182
- 'openingHours3': json['opening_hours.3'] == null ? undefined : json['opening_hours.3'],
183
- 'openingHours4': json['opening_hours.4'] == null ? undefined : json['opening_hours.4'],
184
- 'openingHours5': json['opening_hours.5'] == null ? undefined : json['opening_hours.5'],
185
- 'openingHours6': json['opening_hours.6'] == null ? undefined : json['opening_hours.6'],
186
137
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
187
138
  'specialDates': json['special_dates'] == null ? undefined : ((json['special_dates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerFromJSON)),
188
139
  'address': StoreStoreRequestAddressFromJSON(json['address']),
@@ -208,13 +159,6 @@ export function UpdateStoreRequestToJSONTyped(value?: UpdateStoreRequest | null,
208
159
  'tag_line': value['tagLine'],
209
160
  'email': value['email'],
210
161
  'opening_hours': value['openingHours'],
211
- 'opening_hours.0': value['openingHours0'],
212
- 'opening_hours.1': value['openingHours1'],
213
- 'opening_hours.2': value['openingHours2'],
214
- 'opening_hours.3': value['openingHours3'],
215
- 'opening_hours.4': value['openingHours4'],
216
- 'opening_hours.5': value['openingHours5'],
217
- 'opening_hours.6': value['openingHours6'],
218
162
  'supplier_ids': value['supplierIds'],
219
163
  'special_dates': value['specialDates'] == null ? undefined : ((value['specialDates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerToJSON)),
220
164
  'address': StoreStoreRequestAddressToJSON(value['address']),