@digital8/lighting-illusions-ts-sdk 0.0.2507 → 0.0.2509

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.2507
1
+ ## @digital8/lighting-illusions-ts-sdk@0.0.2509
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @digital8/lighting-illusions-ts-sdk@0.0.2507 --save
39
+ npm install @digital8/lighting-illusions-ts-sdk@0.0.2509 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -199,6 +199,12 @@ export interface AdminOrderResource {
199
199
  * @memberof AdminOrderResource
200
200
  */
201
201
  totalPaid: number;
202
+ /**
203
+ *
204
+ * @type {number}
205
+ * @memberof AdminOrderResource
206
+ */
207
+ totalSurchargePaid: number;
202
208
  /**
203
209
  *
204
210
  * @type {number}
@@ -80,6 +80,8 @@ function instanceOfAdminOrderResource(value) {
80
80
  return false;
81
81
  if (!('totalPaid' in value) || value['totalPaid'] === undefined)
82
82
  return false;
83
+ if (!('totalSurchargePaid' in value) || value['totalSurchargePaid'] === undefined)
84
+ return false;
83
85
  if (!('totalOutstanding' in value) || value['totalOutstanding'] === undefined)
84
86
  return false;
85
87
  if (!('insuranceEstimate' in value) || value['insuranceEstimate'] === undefined)
@@ -151,6 +153,7 @@ function AdminOrderResourceFromJSONTyped(json, ignoreDiscriminator) {
151
153
  'totalShipping': json['totalShipping'],
152
154
  'grandTotal': json['grandTotal'],
153
155
  'totalPaid': json['totalPaid'],
156
+ 'totalSurchargePaid': json['totalSurchargePaid'],
154
157
  'totalOutstanding': json['totalOutstanding'],
155
158
  'insuranceEstimate': json['insuranceEstimate'],
156
159
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -208,6 +211,7 @@ function AdminOrderResourceToJSONTyped(value, ignoreDiscriminator) {
208
211
  'totalShipping': value['totalShipping'],
209
212
  'grandTotal': value['grandTotal'],
210
213
  'totalPaid': value['totalPaid'],
214
+ 'totalSurchargePaid': value['totalSurchargePaid'],
211
215
  'totalOutstanding': value['totalOutstanding'],
212
216
  'insuranceEstimate': value['insuranceEstimate'],
213
217
  'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload: string;
66
+ requestPayload?: string | null;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,8 +37,6 @@ function instanceOfExternalApiLogResource(value) {
37
37
  return false;
38
38
  if (!('responseCode' in value) || value['responseCode'] === undefined)
39
39
  return false;
40
- if (!('requestPayload' in value) || value['requestPayload'] === undefined)
41
- return false;
42
40
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
43
41
  return false;
44
42
  if (!('site' in value) || value['site'] === undefined)
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
60
58
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
61
59
  'endpoint': json['endpoint'],
62
60
  'responseCode': json['responseCode'],
63
- 'requestPayload': json['requestPayload'],
61
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
64
62
  'responsePayload': json['responsePayload'],
65
63
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
66
64
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -164,6 +164,12 @@ export interface FrontendOrderResource {
164
164
  * @memberof FrontendOrderResource
165
165
  */
166
166
  amountPaid: number;
167
+ /**
168
+ *
169
+ * @type {number}
170
+ * @memberof FrontendOrderResource
171
+ */
172
+ surchargePaid: number;
167
173
  /**
168
174
  *
169
175
  * @type {number}
@@ -69,6 +69,8 @@ function instanceOfFrontendOrderResource(value) {
69
69
  return false;
70
70
  if (!('amountPaid' in value) || value['amountPaid'] === undefined)
71
71
  return false;
72
+ if (!('surchargePaid' in value) || value['surchargePaid'] === undefined)
73
+ return false;
72
74
  if (!('amountDue' in value) || value['amountDue'] === undefined)
73
75
  return false;
74
76
  return true;
@@ -105,6 +107,7 @@ function FrontendOrderResourceFromJSONTyped(json, ignoreDiscriminator) {
105
107
  'gst': json['gst'],
106
108
  'grandTotal': json['grandTotal'],
107
109
  'amountPaid': json['amountPaid'],
110
+ 'surchargePaid': json['surchargePaid'],
108
111
  'amountDue': json['amountDue'],
109
112
  };
110
113
  }
@@ -141,6 +144,7 @@ function FrontendOrderResourceToJSONTyped(value, ignoreDiscriminator) {
141
144
  'gst': value['gst'],
142
145
  'grandTotal': value['grandTotal'],
143
146
  'amountPaid': value['amountPaid'],
147
+ 'surchargePaid': value['surchargePaid'],
144
148
  'amountDue': value['amountDue'],
145
149
  };
146
150
  }
@@ -39,13 +39,13 @@ export interface OrderFulfillmentResource {
39
39
  * @type {string}
40
40
  * @memberof OrderFulfillmentResource
41
41
  */
42
- trackingNumber: string;
42
+ trackingNumber?: string | null;
43
43
  /**
44
44
  *
45
45
  * @type {string}
46
46
  * @memberof OrderFulfillmentResource
47
47
  */
48
- trackingUrl?: string | null;
48
+ trackingUrl: string;
49
49
  /**
50
50
  *
51
51
  * @type {string}
@@ -29,7 +29,7 @@ function instanceOfOrderFulfillmentResource(value) {
29
29
  return false;
30
30
  if (!('dateShipped' in value) || value['dateShipped'] === undefined)
31
31
  return false;
32
- if (!('trackingNumber' in value) || value['trackingNumber'] === undefined)
32
+ if (!('trackingUrl' in value) || value['trackingUrl'] === undefined)
33
33
  return false;
34
34
  if (!('docnum' in value) || value['docnum'] === undefined)
35
35
  return false;
@@ -50,8 +50,8 @@ function OrderFulfillmentResourceFromJSONTyped(json, ignoreDiscriminator) {
50
50
  'id': json['id'],
51
51
  'orderId': json['orderId'],
52
52
  'dateShipped': (new Date(json['dateShipped'])),
53
- 'trackingNumber': json['trackingNumber'],
54
- 'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
53
+ 'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
54
+ 'trackingUrl': json['trackingUrl'],
55
55
  'trackingCompany': json['trackingCompany'] == null ? undefined : json['trackingCompany'],
56
56
  'docnum': json['docnum'],
57
57
  'netsuiteId': json['netsuiteId'],
@@ -63,6 +63,12 @@ export interface PaymentTotalsResource {
63
63
  * @memberof PaymentTotalsResource
64
64
  */
65
65
  amountPaid: number;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof PaymentTotalsResource
70
+ */
71
+ surchargePaid: number;
66
72
  /**
67
73
  *
68
74
  * @type {number}
@@ -38,6 +38,8 @@ function instanceOfPaymentTotalsResource(value) {
38
38
  return false;
39
39
  if (!('amountPaid' in value) || value['amountPaid'] === undefined)
40
40
  return false;
41
+ if (!('surchargePaid' in value) || value['surchargePaid'] === undefined)
42
+ return false;
41
43
  if (!('amountDue' in value) || value['amountDue'] === undefined)
42
44
  return false;
43
45
  if (!('appliedCoupons' in value) || value['appliedCoupons'] === undefined)
@@ -72,6 +74,7 @@ function PaymentTotalsResourceFromJSONTyped(json, ignoreDiscriminator) {
72
74
  'gstAmount': json['gstAmount'],
73
75
  'finalTotal': json['finalTotal'],
74
76
  'amountPaid': json['amountPaid'],
77
+ 'surchargePaid': json['surchargePaid'],
75
78
  'amountDue': json['amountDue'],
76
79
  'appliedCoupons': json['appliedCoupons'],
77
80
  'noOfItems': json['noOfItems'],
@@ -100,6 +103,7 @@ function PaymentTotalsResourceToJSONTyped(value, ignoreDiscriminator) {
100
103
  'gstAmount': value['gstAmount'],
101
104
  'finalTotal': value['finalTotal'],
102
105
  'amountPaid': value['amountPaid'],
106
+ 'surchargePaid': value['surchargePaid'],
103
107
  'amountDue': value['amountDue'],
104
108
  'appliedCoupons': value['appliedCoupons'],
105
109
  'noOfItems': value['noOfItems'],
@@ -74,7 +74,7 @@ export interface StoreFrontendResource {
74
74
  * @type {string}
75
75
  * @memberof StoreFrontendResource
76
76
  */
77
- tagLine?: string | null;
77
+ tagLine: string;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -36,6 +36,8 @@ function instanceOfStoreFrontendResource(value) {
36
36
  return false;
37
37
  if (!('longitude' in value) || value['longitude'] === undefined)
38
38
  return false;
39
+ if (!('tagLine' in value) || value['tagLine'] === undefined)
40
+ return false;
39
41
  if (!('specialDates' in value) || value['specialDates'] === undefined)
40
42
  return false;
41
43
  if (!('suppliers' in value) || value['suppliers'] === undefined)
@@ -59,7 +61,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
59
61
  'address': json['address'] == null ? undefined : json['address'],
60
62
  'latitude': json['latitude'],
61
63
  'longitude': json['longitude'],
62
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
64
+ 'tagLine': json['tagLine'],
63
65
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
64
66
  'specialDates': json['specialDates'],
65
67
  'suppliers': json['suppliers'],
@@ -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}
@@ -69,7 +69,7 @@ export interface StoreListResource {
69
69
  * @type {string}
70
70
  * @memberof StoreListResource
71
71
  */
72
- website: string;
72
+ website?: string | null;
73
73
  /**
74
74
  *
75
75
  * @type {number}
@@ -33,12 +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;
38
36
  if (!('email' in value) || value['email'] === undefined)
39
37
  return false;
40
- if (!('website' in value) || value['website'] === undefined)
41
- return false;
42
38
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
43
39
  return false;
44
40
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
@@ -59,9 +55,9 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
59
55
  'phone': json['phone'],
60
56
  'longitude': json['longitude'],
61
57
  'latitude': json['latitude'],
62
- 'tagLine': json['tagLine'],
58
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
63
59
  'email': json['email'],
64
- 'website': json['website'],
60
+ 'website': json['website'] == null ? undefined : json['website'],
65
61
  'netsuiteId': json['netsuiteId'],
66
62
  'displayNetsuiteId': json['displayNetsuiteId'],
67
63
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -72,7 +72,7 @@ export interface StoreResource {
72
72
  * @type {string}
73
73
  * @memberof StoreResource
74
74
  */
75
- website?: string | null;
75
+ website: string;
76
76
  /**
77
77
  *
78
78
  * @type {number}
@@ -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 (!('website' in value) || value['website'] === undefined)
44
+ return false;
43
45
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
44
46
  return false;
45
47
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
@@ -68,7 +70,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
68
70
  'latitude': json['latitude'],
69
71
  'tagLine': json['tagLine'],
70
72
  'email': json['email'],
71
- 'website': json['website'] == null ? undefined : json['website'],
73
+ 'website': json['website'],
72
74
  'netsuiteId': json['netsuiteId'],
73
75
  'displayNetsuiteId': json['displayNetsuiteId'],
74
76
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.2507",
3
+ "version": "0.0.2509",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -264,6 +264,12 @@ export interface AdminOrderResource {
264
264
  * @memberof AdminOrderResource
265
265
  */
266
266
  totalPaid: number;
267
+ /**
268
+ *
269
+ * @type {number}
270
+ * @memberof AdminOrderResource
271
+ */
272
+ totalSurchargePaid: number;
267
273
  /**
268
274
  *
269
275
  * @type {number}
@@ -390,6 +396,7 @@ export function instanceOfAdminOrderResource(value: object): value is AdminOrder
390
396
  if (!('totalShipping' in value) || value['totalShipping'] === undefined) return false;
391
397
  if (!('grandTotal' in value) || value['grandTotal'] === undefined) return false;
392
398
  if (!('totalPaid' in value) || value['totalPaid'] === undefined) return false;
399
+ if (!('totalSurchargePaid' in value) || value['totalSurchargePaid'] === undefined) return false;
393
400
  if (!('totalOutstanding' in value) || value['totalOutstanding'] === undefined) return false;
394
401
  if (!('insuranceEstimate' in value) || value['insuranceEstimate'] === undefined) return false;
395
402
  if (!('site' in value) || value['site'] === undefined) return false;
@@ -448,6 +455,7 @@ export function AdminOrderResourceFromJSONTyped(json: any, ignoreDiscriminator:
448
455
  'totalShipping': json['totalShipping'],
449
456
  'grandTotal': json['grandTotal'],
450
457
  'totalPaid': json['totalPaid'],
458
+ 'totalSurchargePaid': json['totalSurchargePaid'],
451
459
  'totalOutstanding': json['totalOutstanding'],
452
460
  'insuranceEstimate': json['insuranceEstimate'],
453
461
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -507,6 +515,7 @@ export function AdminOrderResourceToJSONTyped(value?: AdminOrderResource | null,
507
515
  'totalShipping': value['totalShipping'],
508
516
  'grandTotal': value['grandTotal'],
509
517
  'totalPaid': value['totalPaid'],
518
+ 'totalSurchargePaid': value['totalSurchargePaid'],
510
519
  'totalOutstanding': value['totalOutstanding'],
511
520
  'insuranceEstimate': value['insuranceEstimate'],
512
521
  'site': SiteLiteResourceToJSON(value['site']),
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload: string;
77
+ requestPayload?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,7 +106,6 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
106
106
  if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
107
107
  if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
108
108
  if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
109
- if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
110
109
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
111
110
  if (!('site' in value) || value['site'] === undefined) return false;
112
111
  return true;
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
129
128
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
130
129
  'endpoint': json['endpoint'],
131
130
  'responseCode': json['responseCode'],
132
- 'requestPayload': json['requestPayload'],
131
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
133
132
  'responsePayload': json['responsePayload'],
134
133
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
135
134
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -199,6 +199,12 @@ export interface FrontendOrderResource {
199
199
  * @memberof FrontendOrderResource
200
200
  */
201
201
  amountPaid: number;
202
+ /**
203
+ *
204
+ * @type {number}
205
+ * @memberof FrontendOrderResource
206
+ */
207
+ surchargePaid: number;
202
208
  /**
203
209
  *
204
210
  * @type {number}
@@ -232,6 +238,7 @@ export function instanceOfFrontendOrderResource(value: object): value is Fronten
232
238
  if (!('gst' in value) || value['gst'] === undefined) return false;
233
239
  if (!('grandTotal' in value) || value['grandTotal'] === undefined) return false;
234
240
  if (!('amountPaid' in value) || value['amountPaid'] === undefined) return false;
241
+ if (!('surchargePaid' in value) || value['surchargePaid'] === undefined) return false;
235
242
  if (!('amountDue' in value) || value['amountDue'] === undefined) return false;
236
243
  return true;
237
244
  }
@@ -270,6 +277,7 @@ export function FrontendOrderResourceFromJSONTyped(json: any, ignoreDiscriminato
270
277
  'gst': json['gst'],
271
278
  'grandTotal': json['grandTotal'],
272
279
  'amountPaid': json['amountPaid'],
280
+ 'surchargePaid': json['surchargePaid'],
273
281
  'amountDue': json['amountDue'],
274
282
  };
275
283
  }
@@ -309,6 +317,7 @@ export function FrontendOrderResourceToJSONTyped(value?: FrontendOrderResource |
309
317
  'gst': value['gst'],
310
318
  'grandTotal': value['grandTotal'],
311
319
  'amountPaid': value['amountPaid'],
320
+ 'surchargePaid': value['surchargePaid'],
312
321
  'amountDue': value['amountDue'],
313
322
  };
314
323
  }
@@ -50,13 +50,13 @@ export interface OrderFulfillmentResource {
50
50
  * @type {string}
51
51
  * @memberof OrderFulfillmentResource
52
52
  */
53
- trackingNumber: string;
53
+ trackingNumber?: string | null;
54
54
  /**
55
55
  *
56
56
  * @type {string}
57
57
  * @memberof OrderFulfillmentResource
58
58
  */
59
- trackingUrl?: string | null;
59
+ trackingUrl: string;
60
60
  /**
61
61
  *
62
62
  * @type {string}
@@ -102,7 +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 (!('trackingNumber' in value) || value['trackingNumber'] === undefined) return false;
105
+ if (!('trackingUrl' in value) || value['trackingUrl'] === undefined) return false;
106
106
  if (!('docnum' in value) || value['docnum'] === undefined) return false;
107
107
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
108
108
  if (!('orderFulfillmentLineItems' in value) || value['orderFulfillmentLineItems'] === undefined) return false;
@@ -122,8 +122,8 @@ export function OrderFulfillmentResourceFromJSONTyped(json: any, ignoreDiscrimin
122
122
  'id': json['id'],
123
123
  'orderId': json['orderId'],
124
124
  'dateShipped': (new Date(json['dateShipped'])),
125
- 'trackingNumber': json['trackingNumber'],
126
- 'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
125
+ 'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
126
+ 'trackingUrl': json['trackingUrl'],
127
127
  'trackingCompany': json['trackingCompany'] == null ? undefined : json['trackingCompany'],
128
128
  'docnum': json['docnum'],
129
129
  'netsuiteId': json['netsuiteId'],
@@ -67,6 +67,12 @@ export interface PaymentTotalsResource {
67
67
  * @memberof PaymentTotalsResource
68
68
  */
69
69
  amountPaid: number;
70
+ /**
71
+ *
72
+ * @type {number}
73
+ * @memberof PaymentTotalsResource
74
+ */
75
+ surchargePaid: number;
70
76
  /**
71
77
  *
72
78
  * @type {number}
@@ -135,6 +141,7 @@ export function instanceOfPaymentTotalsResource(value: object): value is Payment
135
141
  if (!('gstAmount' in value) || value['gstAmount'] === undefined) return false;
136
142
  if (!('finalTotal' in value) || value['finalTotal'] === undefined) return false;
137
143
  if (!('amountPaid' in value) || value['amountPaid'] === undefined) return false;
144
+ if (!('surchargePaid' in value) || value['surchargePaid'] === undefined) return false;
138
145
  if (!('amountDue' in value) || value['amountDue'] === undefined) return false;
139
146
  if (!('appliedCoupons' in value) || value['appliedCoupons'] === undefined) return false;
140
147
  if (!('noOfItems' in value) || value['noOfItems'] === undefined) return false;
@@ -164,6 +171,7 @@ export function PaymentTotalsResourceFromJSONTyped(json: any, ignoreDiscriminato
164
171
  'gstAmount': json['gstAmount'],
165
172
  'finalTotal': json['finalTotal'],
166
173
  'amountPaid': json['amountPaid'],
174
+ 'surchargePaid': json['surchargePaid'],
167
175
  'amountDue': json['amountDue'],
168
176
  'appliedCoupons': json['appliedCoupons'],
169
177
  'noOfItems': json['noOfItems'],
@@ -195,6 +203,7 @@ export function PaymentTotalsResourceToJSONTyped(value?: PaymentTotalsResource |
195
203
  'gstAmount': value['gstAmount'],
196
204
  'finalTotal': value['finalTotal'],
197
205
  'amountPaid': value['amountPaid'],
206
+ 'surchargePaid': value['surchargePaid'],
198
207
  'amountDue': value['amountDue'],
199
208
  'appliedCoupons': value['appliedCoupons'],
200
209
  'noOfItems': value['noOfItems'],
@@ -78,7 +78,7 @@ export interface StoreFrontendResource {
78
78
  * @type {string}
79
79
  * @memberof StoreFrontendResource
80
80
  */
81
- tagLine?: string | null;
81
+ tagLine: string;
82
82
  /**
83
83
  *
84
84
  * @type {string}
@@ -110,6 +110,7 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
110
110
  if (!('phone' in value) || value['phone'] === undefined) return false;
111
111
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
112
112
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
113
+ if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
113
114
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
114
115
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
115
116
  return true;
@@ -134,7 +135,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
134
135
  'address': json['address'] == null ? undefined : json['address'],
135
136
  'latitude': json['latitude'],
136
137
  'longitude': json['longitude'],
137
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
138
+ 'tagLine': json['tagLine'],
138
139
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
139
140
  'specialDates': json['specialDates'],
140
141
  'suppliers': json['suppliers'],
@@ -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}
@@ -80,7 +80,7 @@ export interface StoreListResource {
80
80
  * @type {string}
81
81
  * @memberof StoreListResource
82
82
  */
83
- website: string;
83
+ website?: string | null;
84
84
  /**
85
85
  *
86
86
  * @type {number}
@@ -110,9 +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;
114
113
  if (!('email' in value) || value['email'] === undefined) return false;
115
- if (!('website' in value) || value['website'] === undefined) return false;
116
114
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
117
115
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
118
116
  return true;
@@ -134,9 +132,9 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
134
132
  'phone': json['phone'],
135
133
  'longitude': json['longitude'],
136
134
  'latitude': json['latitude'],
137
- 'tagLine': json['tagLine'],
135
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
138
136
  'email': json['email'],
139
- 'website': json['website'],
137
+ 'website': json['website'] == null ? undefined : json['website'],
140
138
  'netsuiteId': json['netsuiteId'],
141
139
  'displayNetsuiteId': json['displayNetsuiteId'],
142
140
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -101,7 +101,7 @@ export interface StoreResource {
101
101
  * @type {string}
102
102
  * @memberof StoreResource
103
103
  */
104
- website?: string | null;
104
+ website: string;
105
105
  /**
106
106
  *
107
107
  * @type {number}
@@ -151,6 +151,7 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
151
151
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
152
152
  if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
153
153
  if (!('email' in value) || value['email'] === undefined) return false;
154
+ if (!('website' in value) || value['website'] === undefined) return false;
154
155
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
155
156
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
156
157
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
@@ -177,7 +178,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
177
178
  'latitude': json['latitude'],
178
179
  'tagLine': json['tagLine'],
179
180
  'email': json['email'],
180
- 'website': json['website'] == null ? undefined : json['website'],
181
+ 'website': json['website'],
181
182
  'netsuiteId': json['netsuiteId'],
182
183
  'displayNetsuiteId': json['displayNetsuiteId'],
183
184
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],