@digital8/lighting-illusions-ts-sdk 0.0.2116 → 0.0.2118

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.2116
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.2118
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -927,7 +927,7 @@ and is automatically generated by the
927
927
  [OpenAPI Generator](https://openapi-generator.tech) project:
928
928
 
929
929
  - API version: `1.0.0`
930
- - Package version: `0.0.2116`
930
+ - Package version: `0.0.2118`
931
931
  - Generator version: `7.22.0`
932
932
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
933
933
 
@@ -38,7 +38,7 @@ export interface AddressResource {
38
38
  * @type {string}
39
39
  * @memberof AddressResource
40
40
  */
41
- addresseeName?: string | null;
41
+ addresseeName: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -22,6 +22,8 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
22
22
  * Check if a given object implements the AddressResource interface.
23
23
  */
24
24
  function instanceOfAddressResource(value) {
25
+ if (!('addresseeName' in value) || value['addresseeName'] === undefined)
26
+ return false;
25
27
  if (!('company' in value) || value['company'] === undefined)
26
28
  return false;
27
29
  if (!('line1' in value) || value['line1'] === undefined)
@@ -49,7 +51,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
49
51
  'id': json['id'] == null ? undefined : json['id'],
50
52
  'type': json['type'] == null ? undefined : json['type'],
51
53
  'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
52
- 'addresseeName': json['addresseeName'] == null ? undefined : json['addresseeName'],
54
+ 'addresseeName': json['addresseeName'],
53
55
  'company': json['company'],
54
56
  'line1': json['line1'],
55
57
  'line2': json['line2'] == null ? undefined : json['line2'],
@@ -51,7 +51,7 @@ export interface OrderFulfillmentResource {
51
51
  * @type {string}
52
52
  * @memberof OrderFulfillmentResource
53
53
  */
54
- trackingCompany?: string | null;
54
+ trackingCompany: string;
55
55
  /**
56
56
  *
57
57
  * @type {string}
@@ -29,6 +29,8 @@ function instanceOfOrderFulfillmentResource(value) {
29
29
  return false;
30
30
  if (!('dateShipped' in value) || value['dateShipped'] === undefined)
31
31
  return false;
32
+ if (!('trackingCompany' in value) || value['trackingCompany'] === undefined)
33
+ return false;
32
34
  if (!('docnum' in value) || value['docnum'] === undefined)
33
35
  return false;
34
36
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
@@ -50,7 +52,7 @@ function OrderFulfillmentResourceFromJSONTyped(json, ignoreDiscriminator) {
50
52
  'dateShipped': (new Date(json['dateShipped'])),
51
53
  'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
52
54
  'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
53
- 'trackingCompany': json['trackingCompany'] == null ? undefined : json['trackingCompany'],
55
+ 'trackingCompany': json['trackingCompany'],
54
56
  'docnum': json['docnum'],
55
57
  'netsuiteId': json['netsuiteId'],
56
58
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
@@ -88,10 +88,16 @@ export interface OrderListResource {
88
88
  lineItems: Array<LineItemListResource> | null;
89
89
  /**
90
90
  *
91
- * @type {Array<TransactionLiteResource>}
91
+ * @type {TransactionLiteResource}
92
92
  * @memberof OrderListResource
93
93
  */
94
- transactions: Array<TransactionLiteResource> | null;
94
+ latestTransaction: TransactionLiteResource | null;
95
+ /**
96
+ *
97
+ * @type {number}
98
+ * @memberof OrderListResource
99
+ */
100
+ transactionsCount: number;
95
101
  }
96
102
  /**
97
103
  * Check if a given object implements the OrderListResource interface.
@@ -43,7 +43,9 @@ function instanceOfOrderListResource(value) {
43
43
  return false;
44
44
  if (!('lineItems' in value) || value['lineItems'] === undefined)
45
45
  return false;
46
- if (!('transactions' in value) || value['transactions'] === undefined)
46
+ if (!('latestTransaction' in value) || value['latestTransaction'] === undefined)
47
+ return false;
48
+ if (!('transactionsCount' in value) || value['transactionsCount'] === undefined)
47
49
  return false;
48
50
  return true;
49
51
  }
@@ -66,7 +68,8 @@ function OrderListResourceFromJSONTyped(json, ignoreDiscriminator) {
66
68
  'customer': (0, CustomerListResource_1.CustomerListResourceFromJSON)(json['customer']),
67
69
  'status': (0, OrderStatusLiteResource_1.OrderStatusLiteResourceFromJSON)(json['status']),
68
70
  'lineItems': (json['lineItems'] == null ? null : json['lineItems'].map(LineItemListResource_1.LineItemListResourceFromJSON)),
69
- 'transactions': (json['transactions'] == null ? null : json['transactions'].map(TransactionLiteResource_1.TransactionLiteResourceFromJSON)),
71
+ 'latestTransaction': (0, TransactionLiteResource_1.TransactionLiteResourceFromJSON)(json['latestTransaction']),
72
+ 'transactionsCount': json['transactionsCount'],
70
73
  };
71
74
  }
72
75
  function OrderListResourceToJSON(json) {
@@ -89,6 +92,7 @@ function OrderListResourceToJSONTyped(value, ignoreDiscriminator) {
89
92
  'customer': (0, CustomerListResource_1.CustomerListResourceToJSON)(value['customer']),
90
93
  'status': (0, OrderStatusLiteResource_1.OrderStatusLiteResourceToJSON)(value['status']),
91
94
  'lineItems': (value['lineItems'] == null ? null : value['lineItems'].map(LineItemListResource_1.LineItemListResourceToJSON)),
92
- 'transactions': (value['transactions'] == null ? null : value['transactions'].map(TransactionLiteResource_1.TransactionLiteResourceToJSON)),
95
+ 'latestTransaction': (0, TransactionLiteResource_1.TransactionLiteResourceToJSON)(value['latestTransaction']),
96
+ 'transactionsCount': value['transactionsCount'],
93
97
  };
94
98
  }
@@ -31,12 +31,6 @@ export interface ProductChildResource {
31
31
  * @memberof ProductChildResource
32
32
  */
33
33
  name: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof ProductChildResource
38
- */
39
- fullName: string;
40
34
  /**
41
35
  *
42
36
  * @type {boolean}
@@ -30,8 +30,6 @@ function instanceOfProductChildResource(value) {
30
30
  return false;
31
31
  if (!('name' in value) || value['name'] === undefined)
32
32
  return false;
33
- if (!('fullName' in value) || value['fullName'] === undefined)
34
- return false;
35
33
  if (!('allowOversell' in value) || value['allowOversell'] === undefined)
36
34
  return false;
37
35
  if (!('modelNumber' in value) || value['modelNumber'] === undefined)
@@ -96,7 +94,6 @@ function ProductChildResourceFromJSONTyped(json, ignoreDiscriminator) {
96
94
  return {
97
95
  'id': json['id'],
98
96
  'name': json['name'],
99
- 'fullName': json['fullName'],
100
97
  'allowOversell': json['allowOversell'],
101
98
  'modelNumber': json['modelNumber'],
102
99
  'weight': json['weight'],
@@ -139,7 +136,6 @@ function ProductChildResourceToJSONTyped(value, ignoreDiscriminator) {
139
136
  return {
140
137
  'id': value['id'],
141
138
  'name': value['name'],
142
- 'fullName': value['fullName'],
143
139
  'allowOversell': value['allowOversell'],
144
140
  'modelNumber': value['modelNumber'],
145
141
  'weight': value['weight'],
@@ -44,7 +44,7 @@ export interface StoreFrontendResource {
44
44
  * @type {string}
45
45
  * @memberof StoreFrontendResource
46
46
  */
47
- website?: string | null;
47
+ website: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
@@ -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}
@@ -28,14 +28,14 @@ function instanceOfStoreFrontendResource(value) {
28
28
  return false;
29
29
  if (!('email' in value) || value['email'] === undefined)
30
30
  return false;
31
+ if (!('website' in value) || value['website'] === undefined)
32
+ return false;
31
33
  if (!('phone' in value) || value['phone'] === undefined)
32
34
  return false;
33
35
  if (!('latitude' in value) || value['latitude'] === undefined)
34
36
  return false;
35
37
  if (!('longitude' in value) || value['longitude'] === undefined)
36
38
  return false;
37
- if (!('tagLine' in value) || value['tagLine'] === undefined)
38
- return false;
39
39
  if (!('specialDates' in value) || value['specialDates'] === undefined)
40
40
  return false;
41
41
  if (!('suppliers' in value) || value['suppliers'] === undefined)
@@ -54,12 +54,12 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
54
54
  'siteId': json['siteId'],
55
55
  'name': json['name'],
56
56
  'email': json['email'],
57
- 'website': json['website'] == null ? undefined : json['website'],
57
+ 'website': json['website'],
58
58
  'phone': json['phone'],
59
59
  'address': json['address'] == null ? undefined : json['address'],
60
60
  'latitude': json['latitude'],
61
61
  'longitude': json['longitude'],
62
- 'tagLine': json['tagLine'],
62
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
63
63
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
64
64
  'specialDates': json['specialDates'],
65
65
  'suppliers': json['suppliers'],
@@ -57,7 +57,7 @@ export interface StoreListResource {
57
57
  * @type {string}
58
58
  * @memberof StoreListResource
59
59
  */
60
- tagLine?: string | null;
60
+ tagLine: string;
61
61
  /**
62
62
  *
63
63
  * @type {string}
@@ -33,6 +33,8 @@ 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;
36
38
  if (!('email' in value) || value['email'] === undefined)
37
39
  return false;
38
40
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
@@ -55,7 +57,7 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
55
57
  'phone': json['phone'],
56
58
  'longitude': json['longitude'],
57
59
  'latitude': json['latitude'],
58
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
60
+ 'tagLine': json['tagLine'],
59
61
  'email': json['email'],
60
62
  'website': json['website'] == null ? undefined : json['website'],
61
63
  'netsuiteId': json['netsuiteId'],
@@ -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 {number}
@@ -38,8 +38,6 @@ function instanceOfStoreResource(value) {
38
38
  return false;
39
39
  if (!('email' in value) || value['email'] === undefined)
40
40
  return false;
41
- if (!('website' in value) || value['website'] === undefined)
42
- return false;
43
41
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
44
42
  return false;
45
43
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
@@ -68,7 +66,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
68
66
  'latitude': json['latitude'],
69
67
  'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
70
68
  'email': json['email'],
71
- 'website': json['website'],
69
+ 'website': json['website'] == null ? undefined : json['website'],
72
70
  'netsuiteId': json['netsuiteId'],
73
71
  'displayNetsuiteId': json['displayNetsuiteId'],
74
72
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -17,7 +17,8 @@ Name | Type
17
17
  `customer` | [CustomerListResource](CustomerListResource.md)
18
18
  `status` | [OrderStatusLiteResource](OrderStatusLiteResource.md)
19
19
  `lineItems` | [Array&lt;LineItemListResource&gt;](LineItemListResource.md)
20
- `transactions` | [Array&lt;TransactionLiteResource&gt;](TransactionLiteResource.md)
20
+ `latestTransaction` | [TransactionLiteResource](TransactionLiteResource.md)
21
+ `transactionsCount` | number
21
22
 
22
23
  ## Example
23
24
 
@@ -37,7 +38,8 @@ const example = {
37
38
  "customer": null,
38
39
  "status": null,
39
40
  "lineItems": null,
40
- "transactions": null,
41
+ "latestTransaction": null,
42
+ "transactionsCount": null,
41
43
  } satisfies OrderListResource
42
44
 
43
45
  console.log(example)
@@ -8,7 +8,6 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
10
  `name` | string
11
- `fullName` | string
12
11
  `allowOversell` | boolean
13
12
  `modelNumber` | string
14
13
  `weight` | number
@@ -48,7 +47,6 @@ import type { ProductChildResource } from '@digital8/lighting-illusions-ts-sdk'
48
47
  const example = {
49
48
  "id": null,
50
49
  "name": null,
51
- "fullName": null,
52
50
  "allowOversell": null,
53
51
  "modelNumber": null,
54
52
  "weight": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.2116",
3
+ "version": "0.0.2118",
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
- addresseeName?: string | null;
45
+ addresseeName: string;
46
46
  /**
47
47
  *
48
48
  * @type {string}
@@ -97,6 +97,7 @@ export interface AddressResource {
97
97
  * Check if a given object implements the AddressResource interface.
98
98
  */
99
99
  export function instanceOfAddressResource(value: object): value is AddressResource {
100
+ if (!('addresseeName' in value) || value['addresseeName'] === undefined) return false;
100
101
  if (!('company' in value) || value['company'] === undefined) return false;
101
102
  if (!('line1' in value) || value['line1'] === undefined) return false;
102
103
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
@@ -120,7 +121,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
120
121
  'id': json['id'] == null ? undefined : json['id'],
121
122
  'type': json['type'] == null ? undefined : json['type'],
122
123
  'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
123
- 'addresseeName': json['addresseeName'] == null ? undefined : json['addresseeName'],
124
+ 'addresseeName': json['addresseeName'],
124
125
  'company': json['company'],
125
126
  'line1': json['line1'],
126
127
  'line2': json['line2'] == null ? undefined : json['line2'],
@@ -62,7 +62,7 @@ export interface OrderFulfillmentResource {
62
62
  * @type {string}
63
63
  * @memberof OrderFulfillmentResource
64
64
  */
65
- trackingCompany?: string | null;
65
+ trackingCompany: string;
66
66
  /**
67
67
  *
68
68
  * @type {string}
@@ -102,6 +102,7 @@ export function instanceOfOrderFulfillmentResource(value: object): value is Orde
102
102
  if (!('id' in value) || value['id'] === undefined) return false;
103
103
  if (!('orderId' in value) || value['orderId'] === undefined) return false;
104
104
  if (!('dateShipped' in value) || value['dateShipped'] === undefined) return false;
105
+ if (!('trackingCompany' in value) || value['trackingCompany'] === undefined) return false;
105
106
  if (!('docnum' in value) || value['docnum'] === undefined) return false;
106
107
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
107
108
  if (!('orderFulfillmentLineItems' in value) || value['orderFulfillmentLineItems'] === undefined) return false;
@@ -123,7 +124,7 @@ export function OrderFulfillmentResourceFromJSONTyped(json: any, ignoreDiscrimin
123
124
  'dateShipped': (new Date(json['dateShipped'])),
124
125
  'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
125
126
  'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
126
- 'trackingCompany': json['trackingCompany'] == null ? undefined : json['trackingCompany'],
127
+ 'trackingCompany': json['trackingCompany'],
127
128
  'docnum': json['docnum'],
128
129
  'netsuiteId': json['netsuiteId'],
129
130
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
@@ -123,10 +123,16 @@ export interface OrderListResource {
123
123
  lineItems: Array<LineItemListResource> | null;
124
124
  /**
125
125
  *
126
- * @type {Array<TransactionLiteResource>}
126
+ * @type {TransactionLiteResource}
127
127
  * @memberof OrderListResource
128
128
  */
129
- transactions: Array<TransactionLiteResource> | null;
129
+ latestTransaction: TransactionLiteResource | null;
130
+ /**
131
+ *
132
+ * @type {number}
133
+ * @memberof OrderListResource
134
+ */
135
+ transactionsCount: number;
130
136
  }
131
137
 
132
138
  /**
@@ -141,7 +147,8 @@ export function instanceOfOrderListResource(value: object): value is OrderListRe
141
147
  if (!('customer' in value) || value['customer'] === undefined) return false;
142
148
  if (!('status' in value) || value['status'] === undefined) return false;
143
149
  if (!('lineItems' in value) || value['lineItems'] === undefined) return false;
144
- if (!('transactions' in value) || value['transactions'] === undefined) return false;
150
+ if (!('latestTransaction' in value) || value['latestTransaction'] === undefined) return false;
151
+ if (!('transactionsCount' in value) || value['transactionsCount'] === undefined) return false;
145
152
  return true;
146
153
  }
147
154
 
@@ -166,7 +173,8 @@ export function OrderListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
166
173
  'customer': CustomerListResourceFromJSON(json['customer']),
167
174
  'status': OrderStatusLiteResourceFromJSON(json['status']),
168
175
  'lineItems': (json['lineItems'] == null ? null : (json['lineItems'] as Array<any>).map(LineItemListResourceFromJSON)),
169
- 'transactions': (json['transactions'] == null ? null : (json['transactions'] as Array<any>).map(TransactionLiteResourceFromJSON)),
176
+ 'latestTransaction': TransactionLiteResourceFromJSON(json['latestTransaction']),
177
+ 'transactionsCount': json['transactionsCount'],
170
178
  };
171
179
  }
172
180
 
@@ -192,7 +200,8 @@ export function OrderListResourceToJSONTyped(value?: OrderListResource | null, i
192
200
  'customer': CustomerListResourceToJSON(value['customer']),
193
201
  'status': OrderStatusLiteResourceToJSON(value['status']),
194
202
  'lineItems': (value['lineItems'] == null ? null : (value['lineItems'] as Array<any>).map(LineItemListResourceToJSON)),
195
- 'transactions': (value['transactions'] == null ? null : (value['transactions'] as Array<any>).map(TransactionLiteResourceToJSON)),
203
+ 'latestTransaction': TransactionLiteResourceToJSON(value['latestTransaction']),
204
+ 'transactionsCount': value['transactionsCount'],
196
205
  };
197
206
  }
198
207
 
@@ -60,12 +60,6 @@ export interface ProductChildResource {
60
60
  * @memberof ProductChildResource
61
61
  */
62
62
  name: string;
63
- /**
64
- *
65
- * @type {string}
66
- * @memberof ProductChildResource
67
- */
68
- fullName: string;
69
63
  /**
70
64
  *
71
65
  * @type {boolean}
@@ -248,7 +242,6 @@ export interface ProductChildResource {
248
242
  export function instanceOfProductChildResource(value: object): value is ProductChildResource {
249
243
  if (!('id' in value) || value['id'] === undefined) return false;
250
244
  if (!('name' in value) || value['name'] === undefined) return false;
251
- if (!('fullName' in value) || value['fullName'] === undefined) return false;
252
245
  if (!('allowOversell' in value) || value['allowOversell'] === undefined) return false;
253
246
  if (!('modelNumber' in value) || value['modelNumber'] === undefined) return false;
254
247
  if (!('weight' in value) || value['weight'] === undefined) return false;
@@ -290,7 +283,6 @@ export function ProductChildResourceFromJSONTyped(json: any, ignoreDiscriminator
290
283
 
291
284
  'id': json['id'],
292
285
  'name': json['name'],
293
- 'fullName': json['fullName'],
294
286
  'allowOversell': json['allowOversell'],
295
287
  'modelNumber': json['modelNumber'],
296
288
  'weight': json['weight'],
@@ -336,7 +328,6 @@ export function ProductChildResourceToJSONTyped(value?: ProductChildResource | n
336
328
 
337
329
  'id': value['id'],
338
330
  'name': value['name'],
339
- 'fullName': value['fullName'],
340
331
  'allowOversell': value['allowOversell'],
341
332
  'modelNumber': value['modelNumber'],
342
333
  'weight': value['weight'],
@@ -48,7 +48,7 @@ export interface StoreFrontendResource {
48
48
  * @type {string}
49
49
  * @memberof StoreFrontendResource
50
50
  */
51
- website?: string | null;
51
+ website: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
@@ -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}
@@ -106,10 +106,10 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
106
106
  if (!('siteId' in value) || value['siteId'] === undefined) return false;
107
107
  if (!('name' in value) || value['name'] === undefined) return false;
108
108
  if (!('email' in value) || value['email'] === undefined) return false;
109
+ if (!('website' in value) || value['website'] === undefined) return false;
109
110
  if (!('phone' in value) || value['phone'] === undefined) return false;
110
111
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
111
112
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
112
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
113
113
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
114
114
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
115
115
  return true;
@@ -129,12 +129,12 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
129
129
  'siteId': json['siteId'],
130
130
  'name': json['name'],
131
131
  'email': json['email'],
132
- 'website': json['website'] == null ? undefined : json['website'],
132
+ 'website': json['website'],
133
133
  'phone': json['phone'],
134
134
  'address': json['address'] == null ? undefined : json['address'],
135
135
  'latitude': json['latitude'],
136
136
  'longitude': json['longitude'],
137
- 'tagLine': json['tagLine'],
137
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
138
138
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
139
139
  'specialDates': json['specialDates'],
140
140
  'suppliers': json['suppliers'],
@@ -68,7 +68,7 @@ export interface StoreListResource {
68
68
  * @type {string}
69
69
  * @memberof StoreListResource
70
70
  */
71
- tagLine?: string | null;
71
+ tagLine: string;
72
72
  /**
73
73
  *
74
74
  * @type {string}
@@ -110,6 +110,7 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
110
110
  if (!('phone' in value) || value['phone'] === undefined) return false;
111
111
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
112
112
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
113
+ if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
113
114
  if (!('email' in value) || value['email'] === undefined) return false;
114
115
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
115
116
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
@@ -132,7 +133,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
132
133
  'phone': json['phone'],
133
134
  'longitude': json['longitude'],
134
135
  'latitude': json['latitude'],
135
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
136
+ 'tagLine': json['tagLine'],
136
137
  'email': json['email'],
137
138
  'website': json['website'] == null ? undefined : json['website'],
138
139
  'netsuiteId': json['netsuiteId'],
@@ -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 {number}
@@ -150,7 +150,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
150
150
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
151
151
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
152
152
  if (!('email' in value) || value['email'] === undefined) return false;
153
- if (!('website' in value) || value['website'] === undefined) return false;
154
153
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
155
154
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
156
155
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
@@ -177,7 +176,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
177
176
  'latitude': json['latitude'],
178
177
  'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
179
178
  'email': json['email'],
180
- 'website': json['website'],
179
+ 'website': json['website'] == null ? undefined : json['website'],
181
180
  'netsuiteId': json['netsuiteId'],
182
181
  'displayNetsuiteId': json['displayNetsuiteId'],
183
182
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],