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

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.2412
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.2412 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -20,7 +20,7 @@ export interface AddressFrontendResource {
20
20
  * @type {string}
21
21
  * @memberof AddressFrontendResource
22
22
  */
23
- company: string;
23
+ company?: string | null;
24
24
  /**
25
25
  *
26
26
  * @type {string}
@@ -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}
@@ -22,10 +22,10 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
22
22
  * Check if a given object implements the AddressFrontendResource interface.
23
23
  */
24
24
  function instanceOfAddressFrontendResource(value) {
25
- if (!('company' in value) || value['company'] === undefined)
26
- return false;
27
25
  if (!('line1' in value) || value['line1'] === undefined)
28
26
  return false;
27
+ if (!('line2' in value) || value['line2'] === undefined)
28
+ return false;
29
29
  if (!('postcode' in value) || value['postcode'] === undefined)
30
30
  return false;
31
31
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -46,9 +46,9 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
46
46
  return json;
47
47
  }
48
48
  return {
49
- 'company': json['company'],
49
+ 'company': json['company'] == null ? undefined : json['company'],
50
50
  'line1': json['line1'],
51
- 'line2': json['line2'] == null ? undefined : json['line2'],
51
+ 'line2': json['line2'],
52
52
  'postcode': json['postcode'],
53
53
  'suburb': json['suburb'],
54
54
  'country': json['country'],
@@ -44,7 +44,7 @@ export interface AddressResource {
44
44
  * @type {string}
45
45
  * @memberof AddressResource
46
46
  */
47
- company?: string | null;
47
+ company: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
@@ -56,7 +56,7 @@ export interface AddressResource {
56
56
  * @type {string}
57
57
  * @memberof AddressResource
58
58
  */
59
- line2?: string | null;
59
+ line2: string;
60
60
  /**
61
61
  *
62
62
  * @type {string}
@@ -24,8 +24,12 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
24
24
  function instanceOfAddressResource(value) {
25
25
  if (!('addresseeName' in value) || value['addresseeName'] === undefined)
26
26
  return false;
27
+ if (!('company' in value) || value['company'] === undefined)
28
+ return false;
27
29
  if (!('line1' in value) || value['line1'] === undefined)
28
30
  return false;
31
+ if (!('line2' in value) || value['line2'] === undefined)
32
+ return false;
29
33
  if (!('postcode' in value) || value['postcode'] === undefined)
30
34
  return false;
31
35
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -50,9 +54,9 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
50
54
  'type': json['type'] == null ? undefined : json['type'],
51
55
  'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
52
56
  'addresseeName': json['addresseeName'],
53
- 'company': json['company'] == null ? undefined : json['company'],
57
+ 'company': json['company'],
54
58
  'line1': json['line1'],
55
- 'line2': json['line2'] == null ? undefined : json['line2'],
59
+ 'line2': json['line2'],
56
60
  'postcode': json['postcode'],
57
61
  'suburb': json['suburb'],
58
62
  '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
  }
@@ -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'],
@@ -45,7 +45,7 @@ export interface OrderFulfillmentResource {
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,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 (!('trackingUrl' in value) || value['trackingUrl'] === 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)
@@ -49,7 +51,7 @@ function OrderFulfillmentResourceFromJSONTyped(json, ignoreDiscriminator) {
49
51
  'orderId': json['orderId'],
50
52
  'dateShipped': (new Date(json['dateShipped'])),
51
53
  'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
52
- 'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
54
+ 'trackingUrl': json['trackingUrl'],
53
55
  'trackingCompany': json['trackingCompany'] == null ? undefined : json['trackingCompany'],
54
56
  'docnum': json['docnum'],
55
57
  'netsuiteId': json['netsuiteId'],
@@ -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}
@@ -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}
@@ -36,8 +36,12 @@ 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;
43
+ if (!('website' in value) || value['website'] === undefined)
44
+ return false;
41
45
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
42
46
  return false;
43
47
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
@@ -64,9 +68,9 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
64
68
  'phone': json['phone'],
65
69
  'longitude': json['longitude'],
66
70
  'latitude': json['latitude'],
67
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
71
+ 'tagLine': json['tagLine'],
68
72
  'email': json['email'],
69
- 'website': json['website'] == null ? undefined : json['website'],
73
+ 'website': json['website'],
70
74
  'netsuiteId': json['netsuiteId'],
71
75
  'displayNetsuiteId': json['displayNetsuiteId'],
72
76
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -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.2412",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -24,7 +24,7 @@ export interface AddressFrontendResource {
24
24
  * @type {string}
25
25
  * @memberof AddressFrontendResource
26
26
  */
27
- company: string;
27
+ company?: string | null;
28
28
  /**
29
29
  *
30
30
  * @type {string}
@@ -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}
@@ -73,8 +73,8 @@ export interface AddressFrontendResource {
73
73
  * Check if a given object implements the AddressFrontendResource interface.
74
74
  */
75
75
  export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
76
- if (!('company' in value) || value['company'] === undefined) return false;
77
76
  if (!('line1' in value) || value['line1'] === undefined) return false;
77
+ if (!('line2' in value) || value['line2'] === undefined) return false;
78
78
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
79
79
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
80
80
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -93,9 +93,9 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
93
93
  }
94
94
  return {
95
95
 
96
- 'company': json['company'],
96
+ 'company': json['company'] == null ? undefined : json['company'],
97
97
  'line1': json['line1'],
98
- 'line2': json['line2'] == null ? undefined : json['line2'],
98
+ 'line2': json['line2'],
99
99
  'postcode': json['postcode'],
100
100
  'suburb': json['suburb'],
101
101
  'country': json['country'],
@@ -48,7 +48,7 @@ export interface AddressResource {
48
48
  * @type {string}
49
49
  * @memberof AddressResource
50
50
  */
51
- company?: string | null;
51
+ company: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
@@ -60,7 +60,7 @@ export interface AddressResource {
60
60
  * @type {string}
61
61
  * @memberof AddressResource
62
62
  */
63
- line2?: string | null;
63
+ line2: string;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -98,7 +98,9 @@ export interface AddressResource {
98
98
  */
99
99
  export function instanceOfAddressResource(value: object): value is AddressResource {
100
100
  if (!('addresseeName' in value) || value['addresseeName'] === undefined) return false;
101
+ if (!('company' in value) || value['company'] === undefined) return false;
101
102
  if (!('line1' in value) || value['line1'] === undefined) return false;
103
+ if (!('line2' in value) || value['line2'] === undefined) return false;
102
104
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
103
105
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
104
106
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -121,9 +123,9 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
121
123
  'type': json['type'] == null ? undefined : json['type'],
122
124
  'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
123
125
  'addresseeName': json['addresseeName'],
124
- 'company': json['company'] == null ? undefined : json['company'],
126
+ 'company': json['company'],
125
127
  'line1': json['line1'],
126
- 'line2': json['line2'] == null ? undefined : json['line2'],
128
+ 'line2': json['line2'],
127
129
  'postcode': json['postcode'],
128
130
  'suburb': json['suburb'],
129
131
  '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
  }
@@ -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'],
@@ -56,7 +56,7 @@ export interface OrderFulfillmentResource {
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,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 (!('trackingUrl' in value) || value['trackingUrl'] === 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;
@@ -122,7 +123,7 @@ export function OrderFulfillmentResourceFromJSONTyped(json: any, ignoreDiscrimin
122
123
  'orderId': json['orderId'],
123
124
  'dateShipped': (new Date(json['dateShipped'])),
124
125
  'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
125
- 'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
126
+ 'trackingUrl': json['trackingUrl'],
126
127
  'trackingCompany': json['trackingCompany'] == null ? undefined : json['trackingCompany'],
127
128
  'docnum': json['docnum'],
128
129
  'netsuiteId': json['netsuiteId'],
@@ -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}
@@ -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}
@@ -149,7 +149,9 @@ 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;
154
+ if (!('website' in value) || value['website'] === undefined) return false;
153
155
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
154
156
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
155
157
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
@@ -174,9 +176,9 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
174
176
  'phone': json['phone'],
175
177
  'longitude': json['longitude'],
176
178
  'latitude': json['latitude'],
177
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
179
+ 'tagLine': json['tagLine'],
178
180
  'email': json['email'],
179
- 'website': json['website'] == null ? undefined : json['website'],
181
+ 'website': json['website'],
180
182
  'netsuiteId': json['netsuiteId'],
181
183
  'displayNetsuiteId': json['displayNetsuiteId'],
182
184
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -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'],