@digital8/lighting-illusions-ts-sdk 0.0.2411 → 0.0.2413

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.2411
1
+ ## @digital8/lighting-illusions-ts-sdk@0.0.2413
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.2411 --save
39
+ npm install @digital8/lighting-illusions-ts-sdk@0.0.2413 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -32,7 +32,7 @@ export interface AddressFrontendResource {
32
32
  * @type {string}
33
33
  * @memberof AddressFrontendResource
34
34
  */
35
- line2?: string | null;
35
+ line2: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -26,6 +26,8 @@ function instanceOfAddressFrontendResource(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;
29
31
  if (!('postcode' in value) || value['postcode'] === undefined)
30
32
  return false;
31
33
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -48,7 +50,7 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
48
50
  return {
49
51
  'company': json['company'],
50
52
  'line1': json['line1'],
51
- 'line2': json['line2'] == null ? undefined : json['line2'],
53
+ 'line2': json['line2'],
52
54
  'postcode': json['postcode'],
53
55
  'suburb': json['suburb'],
54
56
  'country': json['country'],
@@ -33,36 +33,6 @@ export interface AppliedCouponResource {
33
33
  * @memberof AppliedCouponResource
34
34
  */
35
35
  name: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof AppliedCouponResource
40
- */
41
- type: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof AppliedCouponResource
46
- */
47
- discountType: string;
48
- /**
49
- *
50
- * @type {number}
51
- * @memberof AppliedCouponResource
52
- */
53
- discountAmount: number;
54
- /**
55
- *
56
- * @type {number}
57
- * @memberof AppliedCouponResource
58
- */
59
- minAmount: number;
60
- /**
61
- *
62
- * @type {number}
63
- * @memberof AppliedCouponResource
64
- */
65
- minProducts: number;
66
36
  /**
67
37
  *
68
38
  * @type {number}
@@ -28,16 +28,6 @@ function instanceOfAppliedCouponResource(value) {
28
28
  return false;
29
29
  if (!('name' in value) || value['name'] === undefined)
30
30
  return false;
31
- if (!('type' in value) || value['type'] === undefined)
32
- return false;
33
- if (!('discountType' in value) || value['discountType'] === undefined)
34
- return false;
35
- if (!('discountAmount' in value) || value['discountAmount'] === undefined)
36
- return false;
37
- if (!('minAmount' in value) || value['minAmount'] === undefined)
38
- return false;
39
- if (!('minProducts' in value) || value['minProducts'] === undefined)
40
- return false;
41
31
  if (!('discountTotal' in value) || value['discountTotal'] === undefined)
42
32
  return false;
43
33
  return true;
@@ -53,11 +43,6 @@ function AppliedCouponResourceFromJSONTyped(json, ignoreDiscriminator) {
53
43
  'id': json['id'],
54
44
  'code': json['code'],
55
45
  'name': json['name'],
56
- 'type': json['type'],
57
- 'discountType': json['discountType'],
58
- 'discountAmount': json['discountAmount'],
59
- 'minAmount': json['minAmount'],
60
- 'minProducts': json['minProducts'],
61
46
  'discountTotal': json['discountTotal'],
62
47
  };
63
48
  }
@@ -73,11 +58,6 @@ function AppliedCouponResourceToJSONTyped(value, ignoreDiscriminator) {
73
58
  'id': value['id'],
74
59
  'code': value['code'],
75
60
  'name': value['name'],
76
- 'type': value['type'],
77
- 'discountType': value['discountType'],
78
- 'discountAmount': value['discountAmount'],
79
- 'minAmount': value['minAmount'],
80
- 'minProducts': value['minProducts'],
81
61
  'discountTotal': value['discountTotal'],
82
62
  };
83
63
  }
@@ -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']),
@@ -85,12 +85,6 @@ export interface FrontendCartResource {
85
85
  * @memberof FrontendCartResource
86
86
  */
87
87
  coupons: Array<FrontendCartResourceCouponsInner>;
88
- /**
89
- *
90
- * @type {string}
91
- * @memberof FrontendCartResource
92
- */
93
- couponWarning: string;
94
88
  /**
95
89
  *
96
90
  * @type {number}
@@ -42,8 +42,6 @@ function instanceOfFrontendCartResource(value) {
42
42
  return false;
43
43
  if (!('coupons' in value) || value['coupons'] === undefined)
44
44
  return false;
45
- if (!('couponWarning' in value) || value['couponWarning'] === undefined)
46
- return false;
47
45
  if (!('subtotal' in value) || value['subtotal'] === undefined)
48
46
  return false;
49
47
  if (!('subtotalAfterDiscounts' in value) || value['subtotalAfterDiscounts'] === undefined)
@@ -87,7 +85,6 @@ function FrontendCartResourceFromJSONTyped(json, ignoreDiscriminator) {
87
85
  'billingAddress': (0, AddressResource_1.AddressResourceFromJSON)(json['billingAddress']),
88
86
  'lineItems': (json['lineItems'] == null ? null : json['lineItems'].map(FrontendLineItemResource_1.FrontendLineItemResourceFromJSON)),
89
87
  'coupons': (json['coupons'].map(FrontendCartResourceCouponsInner_1.FrontendCartResourceCouponsInnerFromJSON)),
90
- 'couponWarning': json['couponWarning'],
91
88
  'subtotal': json['subtotal'],
92
89
  'subtotalAfterDiscounts': json['subtotalAfterDiscounts'],
93
90
  'promotionalDiscount': json['promotionalDiscount'],
@@ -121,7 +118,6 @@ function FrontendCartResourceToJSONTyped(value, ignoreDiscriminator) {
121
118
  'billingAddress': (0, AddressResource_1.AddressResourceToJSON)(value['billingAddress']),
122
119
  'lineItems': (value['lineItems'] == null ? null : value['lineItems'].map(FrontendLineItemResource_1.FrontendLineItemResourceToJSON)),
123
120
  'coupons': (value['coupons'].map(FrontendCartResourceCouponsInner_1.FrontendCartResourceCouponsInnerToJSON)),
124
- 'couponWarning': value['couponWarning'],
125
121
  'subtotal': value['subtotal'],
126
122
  'subtotalAfterDiscounts': value['subtotalAfterDiscounts'],
127
123
  'promotionalDiscount': value['promotionalDiscount'],
@@ -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}
@@ -36,8 +36,6 @@ 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;
41
39
  if (!('specialDates' in value) || value['specialDates'] === undefined)
42
40
  return false;
43
41
  if (!('suppliers' in value) || value['suppliers'] === undefined)
@@ -61,7 +59,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
61
59
  'address': json['address'] == null ? undefined : json['address'],
62
60
  'latitude': json['latitude'],
63
61
  'longitude': json['longitude'],
64
- 'tagLine': json['tagLine'],
62
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
65
63
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
66
64
  'specialDates': json['specialDates'],
67
65
  'suppliers': json['suppliers'],
@@ -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}
@@ -36,6 +36,8 @@ 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;
39
41
  if (!('email' in value) || value['email'] === undefined)
40
42
  return false;
41
43
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
@@ -64,7 +66,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
64
66
  'phone': json['phone'],
65
67
  'longitude': json['longitude'],
66
68
  'latitude': json['latitude'],
67
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
69
+ 'tagLine': json['tagLine'],
68
70
  'email': json['email'],
69
71
  'website': json['website'] == null ? undefined : json['website'],
70
72
  'netsuiteId': json['netsuiteId'],
@@ -35,10 +35,10 @@ export interface StoreSpecialDateResource {
35
35
  hours: string;
36
36
  /**
37
37
  *
38
- * @type {string}
38
+ * @type {object}
39
39
  * @memberof StoreSpecialDateResource
40
40
  */
41
- date?: string | null;
41
+ date: object;
42
42
  /**
43
43
  *
44
44
  * @type {boolean}
@@ -26,6 +26,8 @@ function instanceOfStoreSpecialDateResource(value) {
26
26
  return false;
27
27
  if (!('hours' in value) || value['hours'] === undefined)
28
28
  return false;
29
+ if (!('date' in value) || value['date'] === undefined)
30
+ return false;
29
31
  if (!('closed' in value) || value['closed'] === undefined)
30
32
  return false;
31
33
  if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
@@ -45,7 +47,7 @@ function StoreSpecialDateResourceFromJSONTyped(json, ignoreDiscriminator) {
45
47
  'id': json['id'] == null ? undefined : json['id'],
46
48
  'name': json['name'],
47
49
  'hours': json['hours'],
48
- 'date': json['date'] == null ? undefined : json['date'],
50
+ 'date': json['date'],
49
51
  'closed': json['closed'],
50
52
  'displayStartDate': json['displayStartDate'],
51
53
  'displayEndDate': json['displayEndDate'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.2411",
3
+ "version": "0.0.2413",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -36,7 +36,7 @@ export interface AddressFrontendResource {
36
36
  * @type {string}
37
37
  * @memberof AddressFrontendResource
38
38
  */
39
- line2?: string | null;
39
+ line2: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
@@ -75,6 +75,7 @@ export interface AddressFrontendResource {
75
75
  export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
76
76
  if (!('company' in value) || value['company'] === undefined) return false;
77
77
  if (!('line1' in value) || value['line1'] === undefined) return false;
78
+ if (!('line2' in value) || value['line2'] === undefined) return false;
78
79
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
79
80
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
80
81
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -95,7 +96,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
95
96
 
96
97
  'company': json['company'],
97
98
  'line1': json['line1'],
98
- 'line2': json['line2'] == null ? undefined : json['line2'],
99
+ 'line2': json['line2'],
99
100
  'postcode': json['postcode'],
100
101
  'suburb': json['suburb'],
101
102
  'country': json['country'],
@@ -37,36 +37,6 @@ export interface AppliedCouponResource {
37
37
  * @memberof AppliedCouponResource
38
38
  */
39
39
  name: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof AppliedCouponResource
44
- */
45
- type: string;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof AppliedCouponResource
50
- */
51
- discountType: string;
52
- /**
53
- *
54
- * @type {number}
55
- * @memberof AppliedCouponResource
56
- */
57
- discountAmount: number;
58
- /**
59
- *
60
- * @type {number}
61
- * @memberof AppliedCouponResource
62
- */
63
- minAmount: number;
64
- /**
65
- *
66
- * @type {number}
67
- * @memberof AppliedCouponResource
68
- */
69
- minProducts: number;
70
40
  /**
71
41
  *
72
42
  * @type {number}
@@ -82,11 +52,6 @@ export function instanceOfAppliedCouponResource(value: object): value is Applied
82
52
  if (!('id' in value) || value['id'] === undefined) return false;
83
53
  if (!('code' in value) || value['code'] === undefined) return false;
84
54
  if (!('name' in value) || value['name'] === undefined) return false;
85
- if (!('type' in value) || value['type'] === undefined) return false;
86
- if (!('discountType' in value) || value['discountType'] === undefined) return false;
87
- if (!('discountAmount' in value) || value['discountAmount'] === undefined) return false;
88
- if (!('minAmount' in value) || value['minAmount'] === undefined) return false;
89
- if (!('minProducts' in value) || value['minProducts'] === undefined) return false;
90
55
  if (!('discountTotal' in value) || value['discountTotal'] === undefined) return false;
91
56
  return true;
92
57
  }
@@ -104,11 +69,6 @@ export function AppliedCouponResourceFromJSONTyped(json: any, ignoreDiscriminato
104
69
  'id': json['id'],
105
70
  'code': json['code'],
106
71
  'name': json['name'],
107
- 'type': json['type'],
108
- 'discountType': json['discountType'],
109
- 'discountAmount': json['discountAmount'],
110
- 'minAmount': json['minAmount'],
111
- 'minProducts': json['minProducts'],
112
72
  'discountTotal': json['discountTotal'],
113
73
  };
114
74
  }
@@ -127,11 +87,6 @@ export function AppliedCouponResourceToJSONTyped(value?: AppliedCouponResource |
127
87
  'id': value['id'],
128
88
  'code': value['code'],
129
89
  'name': value['name'],
130
- 'type': value['type'],
131
- 'discountType': value['discountType'],
132
- 'discountAmount': value['discountAmount'],
133
- 'minAmount': value['minAmount'],
134
- 'minProducts': value['minProducts'],
135
90
  'discountTotal': value['discountTotal'],
136
91
  };
137
92
  }
@@ -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']),
@@ -114,12 +114,6 @@ export interface FrontendCartResource {
114
114
  * @memberof FrontendCartResource
115
115
  */
116
116
  coupons: Array<FrontendCartResourceCouponsInner>;
117
- /**
118
- *
119
- * @type {string}
120
- * @memberof FrontendCartResource
121
- */
122
- couponWarning: string;
123
117
  /**
124
118
  *
125
119
  * @type {number}
@@ -200,7 +194,6 @@ export function instanceOfFrontendCartResource(value: object): value is Frontend
200
194
  if (!('billingAddress' in value) || value['billingAddress'] === undefined) return false;
201
195
  if (!('lineItems' in value) || value['lineItems'] === undefined) return false;
202
196
  if (!('coupons' in value) || value['coupons'] === undefined) return false;
203
- if (!('couponWarning' in value) || value['couponWarning'] === undefined) return false;
204
197
  if (!('subtotal' in value) || value['subtotal'] === undefined) return false;
205
198
  if (!('subtotalAfterDiscounts' in value) || value['subtotalAfterDiscounts'] === undefined) return false;
206
199
  if (!('promotionalDiscount' in value) || value['promotionalDiscount'] === undefined) return false;
@@ -236,7 +229,6 @@ export function FrontendCartResourceFromJSONTyped(json: any, ignoreDiscriminator
236
229
  'billingAddress': AddressResourceFromJSON(json['billingAddress']),
237
230
  'lineItems': (json['lineItems'] == null ? null : (json['lineItems'] as Array<any>).map(FrontendLineItemResourceFromJSON)),
238
231
  'coupons': ((json['coupons'] as Array<any>).map(FrontendCartResourceCouponsInnerFromJSON)),
239
- 'couponWarning': json['couponWarning'],
240
232
  'subtotal': json['subtotal'],
241
233
  'subtotalAfterDiscounts': json['subtotalAfterDiscounts'],
242
234
  'promotionalDiscount': json['promotionalDiscount'],
@@ -273,7 +265,6 @@ export function FrontendCartResourceToJSONTyped(value?: FrontendCartResource | n
273
265
  'billingAddress': AddressResourceToJSON(value['billingAddress']),
274
266
  'lineItems': (value['lineItems'] == null ? null : (value['lineItems'] as Array<any>).map(FrontendLineItemResourceToJSON)),
275
267
  'coupons': ((value['coupons'] as Array<any>).map(FrontendCartResourceCouponsInnerToJSON)),
276
- 'couponWarning': value['couponWarning'],
277
268
  'subtotal': value['subtotal'],
278
269
  'subtotalAfterDiscounts': value['subtotalAfterDiscounts'],
279
270
  'promotionalDiscount': value['promotionalDiscount'],
@@ -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}
@@ -110,7 +110,6 @@ 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;
114
113
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
115
114
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
116
115
  return true;
@@ -135,7 +134,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
135
134
  'address': json['address'] == null ? undefined : json['address'],
136
135
  'latitude': json['latitude'],
137
136
  'longitude': json['longitude'],
138
- 'tagLine': json['tagLine'],
137
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
139
138
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
140
139
  'specialDates': json['specialDates'],
141
140
  'suppliers': json['suppliers'],
@@ -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}
@@ -149,6 +149,7 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
149
149
  if (!('phone' in value) || value['phone'] === undefined) return false;
150
150
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
151
151
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
152
+ if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
152
153
  if (!('email' in value) || value['email'] === undefined) return false;
153
154
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
154
155
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
@@ -174,7 +175,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
174
175
  'phone': json['phone'],
175
176
  'longitude': json['longitude'],
176
177
  'latitude': json['latitude'],
177
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
178
+ 'tagLine': json['tagLine'],
178
179
  'email': json['email'],
179
180
  'website': json['website'] == null ? undefined : json['website'],
180
181
  'netsuiteId': json['netsuiteId'],
@@ -39,10 +39,10 @@ export interface StoreSpecialDateResource {
39
39
  hours: string;
40
40
  /**
41
41
  *
42
- * @type {string}
42
+ * @type {object}
43
43
  * @memberof StoreSpecialDateResource
44
44
  */
45
- date?: string | null;
45
+ date: object;
46
46
  /**
47
47
  *
48
48
  * @type {boolean}
@@ -69,6 +69,7 @@ export interface StoreSpecialDateResource {
69
69
  export function instanceOfStoreSpecialDateResource(value: object): value is StoreSpecialDateResource {
70
70
  if (!('name' in value) || value['name'] === undefined) return false;
71
71
  if (!('hours' in value) || value['hours'] === undefined) return false;
72
+ if (!('date' in value) || value['date'] === undefined) return false;
72
73
  if (!('closed' in value) || value['closed'] === undefined) return false;
73
74
  if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
74
75
  if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
@@ -88,7 +89,7 @@ export function StoreSpecialDateResourceFromJSONTyped(json: any, ignoreDiscrimin
88
89
  'id': json['id'] == null ? undefined : json['id'],
89
90
  'name': json['name'],
90
91
  'hours': json['hours'],
91
- 'date': json['date'] == null ? undefined : json['date'],
92
+ 'date': json['date'],
92
93
  'closed': json['closed'],
93
94
  'displayStartDate': json['displayStartDate'],
94
95
  'displayEndDate': json['displayEndDate'],