@digital8/lighting-illusions-ts-sdk 0.0.1623 → 0.0.1625

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.1623
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1625
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -615,7 +615,7 @@ and is automatically generated by the
615
615
  [OpenAPI Generator](https://openapi-generator.tech) project:
616
616
 
617
617
  - API version: `1.0.0`
618
- - Package version: `0.0.1623`
618
+ - Package version: `0.0.1625`
619
619
  - Generator version: `7.21.0`
620
620
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
621
621
 
@@ -20,7 +20,7 @@ export interface AddressFrontendResource {
20
20
  * @type {string}
21
21
  * @memberof AddressFrontendResource
22
22
  */
23
- company?: string | null;
23
+ company: string;
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;
35
+ line2?: string | null;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -22,9 +22,9 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
22
22
  * Check if a given object implements the AddressFrontendResource interface.
23
23
  */
24
24
  function instanceOfAddressFrontendResource(value) {
25
- if (!('line1' in value) || value['line1'] === undefined)
25
+ if (!('company' in value) || value['company'] === undefined)
26
26
  return false;
27
- if (!('line2' in value) || value['line2'] === undefined)
27
+ if (!('line1' in value) || value['line1'] === undefined)
28
28
  return false;
29
29
  if (!('postcode' in value) || value['postcode'] === undefined)
30
30
  return false;
@@ -46,9 +46,9 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
46
46
  return json;
47
47
  }
48
48
  return {
49
- 'company': json['company'] == null ? undefined : json['company'],
49
+ 'company': json['company'],
50
50
  'line1': json['line1'],
51
- 'line2': json['line2'],
51
+ 'line2': json['line2'] == null ? undefined : json['line2'],
52
52
  'postcode': json['postcode'],
53
53
  'suburb': json['suburb'],
54
54
  'country': json['country'],
@@ -26,7 +26,7 @@ export interface AddressResource {
26
26
  * @type {string}
27
27
  * @memberof AddressResource
28
28
  */
29
- company?: string | null;
29
+ company: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
@@ -38,7 +38,7 @@ export interface AddressResource {
38
38
  * @type {string}
39
39
  * @memberof AddressResource
40
40
  */
41
- line2?: string | null;
41
+ line2: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -22,8 +22,12 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
22
22
  * Check if a given object implements the AddressResource interface.
23
23
  */
24
24
  function instanceOfAddressResource(value) {
25
+ if (!('company' in value) || value['company'] === undefined)
26
+ return false;
25
27
  if (!('line1' in value) || value['line1'] === undefined)
26
28
  return false;
29
+ if (!('line2' in value) || value['line2'] === undefined)
30
+ return false;
27
31
  if (!('postcode' in value) || value['postcode'] === undefined)
28
32
  return false;
29
33
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -45,9 +49,9 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
45
49
  }
46
50
  return {
47
51
  'id': json['id'] == null ? undefined : json['id'],
48
- 'company': json['company'] == null ? undefined : json['company'],
52
+ 'company': json['company'],
49
53
  'line1': json['line_1'],
50
- 'line2': json['line_2'] == null ? undefined : json['line_2'],
54
+ 'line2': json['line_2'],
51
55
  'postcode': json['postcode'],
52
56
  'suburb': json['suburb'],
53
57
  'country': json['country'],
@@ -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'],
@@ -70,18 +70,6 @@ export interface StoreListResource {
70
70
  * @memberof StoreListResource
71
71
  */
72
72
  website: string;
73
- /**
74
- *
75
- * @type {string}
76
- * @memberof StoreListResource
77
- */
78
- netsuiteLocationId?: string | null;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof StoreListResource
83
- */
84
- displayNetsuiteLocationId?: string | null;
85
73
  /**
86
74
  *
87
75
  * @type {string}
@@ -56,8 +56,6 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
57
57
  'email': json['email'],
58
58
  'website': json['website'],
59
- 'netsuiteLocationId': json['netsuiteLocationId'] == null ? undefined : json['netsuiteLocationId'],
60
- 'displayNetsuiteLocationId': json['displayNetsuiteLocationId'] == null ? undefined : json['displayNetsuiteLocationId'],
61
59
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
62
60
  };
63
61
  }
@@ -79,8 +77,6 @@ function StoreListResourceToJSONTyped(value, ignoreDiscriminator) {
79
77
  'tag_line': value['tagLine'],
80
78
  'email': value['email'],
81
79
  'website': value['website'],
82
- 'netsuiteLocationId': value['netsuiteLocationId'],
83
- 'displayNetsuiteLocationId': value['displayNetsuiteLocationId'],
84
80
  'opening_hours': value['openingHours'],
85
81
  };
86
82
  }
@@ -72,19 +72,19 @@ 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
- * @type {string}
78
+ * @type {number}
79
79
  * @memberof StoreResource
80
80
  */
81
- netsuiteLocationId?: string | null;
81
+ netsuiteId?: number | null;
82
82
  /**
83
83
  *
84
- * @type {string}
84
+ * @type {number}
85
85
  * @memberof StoreResource
86
86
  */
87
- displayNetsuiteLocationId?: string | null;
87
+ displayNetsuiteId?: number | null;
88
88
  /**
89
89
  *
90
90
  * @type {string}
@@ -40,8 +40,6 @@ 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;
45
43
  if (!('suppliers' in value) || value['suppliers'] === undefined)
46
44
  return false;
47
45
  if (!('address' in value) || value['address'] === undefined)
@@ -66,9 +64,9 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
66
64
  'latitude': json['latitude'],
67
65
  'tagLine': json['tag_line'],
68
66
  'email': json['email'],
69
- 'website': json['website'],
70
- 'netsuiteLocationId': json['netsuiteLocationId'] == null ? undefined : json['netsuiteLocationId'],
71
- 'displayNetsuiteLocationId': json['displayNetsuiteLocationId'] == null ? undefined : json['displayNetsuiteLocationId'],
67
+ 'website': json['website'] == null ? undefined : json['website'],
68
+ 'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
69
+ 'displayNetsuiteId': json['displayNetsuiteId'] == null ? undefined : json['displayNetsuiteId'],
72
70
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
73
71
  'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
74
72
  'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),
@@ -93,8 +91,8 @@ function StoreResourceToJSONTyped(value, ignoreDiscriminator) {
93
91
  'tag_line': value['tagLine'],
94
92
  'email': value['email'],
95
93
  'website': value['website'],
96
- 'netsuiteLocationId': value['netsuiteLocationId'],
97
- 'displayNetsuiteLocationId': value['displayNetsuiteLocationId'],
94
+ 'netsuiteId': value['netsuiteId'],
95
+ 'displayNetsuiteId': value['displayNetsuiteId'],
98
96
  'opening_hours': value['openingHours'],
99
97
  'suppliers': (value['suppliers'] == null ? null : value['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceToJSON)),
100
98
  'address': (0, AddressResource_1.AddressResourceToJSON)(value['address']),
@@ -35,10 +35,10 @@ export interface StoreSpecialDateResource {
35
35
  hours: string;
36
36
  /**
37
37
  *
38
- * @type {object}
38
+ * @type {string}
39
39
  * @memberof StoreSpecialDateResource
40
40
  */
41
- date: object;
41
+ date?: string | null;
42
42
  /**
43
43
  *
44
44
  * @type {boolean}
@@ -26,8 +26,6 @@ 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;
31
29
  if (!('closed' in value) || value['closed'] === undefined)
32
30
  return false;
33
31
  if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
@@ -47,7 +45,7 @@ function StoreSpecialDateResourceFromJSONTyped(json, ignoreDiscriminator) {
47
45
  'id': json['id'] == null ? undefined : json['id'],
48
46
  'name': json['name'],
49
47
  'hours': json['hours'],
50
- 'date': json['date'],
48
+ 'date': json['date'] == null ? undefined : json['date'],
51
49
  'closed': json['closed'],
52
50
  'displayStartDate': json['display_start_date'],
53
51
  'displayEndDate': json['display_end_date'],
@@ -73,16 +73,16 @@ export interface StoreStoreRequest {
73
73
  openingHours?: Array<string | null>;
74
74
  /**
75
75
  *
76
- * @type {string}
76
+ * @type {number}
77
77
  * @memberof StoreStoreRequest
78
78
  */
79
- netsuiteId?: string | null;
79
+ netsuiteId?: number | null;
80
80
  /**
81
81
  *
82
- * @type {string}
82
+ * @type {number}
83
83
  * @memberof StoreStoreRequest
84
84
  */
85
- displayNetsuiteId?: string | null;
85
+ displayNetsuiteId?: number | null;
86
86
  /**
87
87
  *
88
88
  * @type {Array<number>}
@@ -73,16 +73,16 @@ export interface UpdateStoreRequest {
73
73
  openingHours?: Array<string | null>;
74
74
  /**
75
75
  *
76
- * @type {string}
76
+ * @type {number}
77
77
  * @memberof UpdateStoreRequest
78
78
  */
79
- netsuiteId?: string | null;
79
+ netsuiteId?: number | null;
80
80
  /**
81
81
  *
82
- * @type {string}
82
+ * @type {number}
83
83
  * @memberof UpdateStoreRequest
84
84
  */
85
- displayNetsuiteId?: string | null;
85
+ displayNetsuiteId?: number | null;
86
86
  /**
87
87
  *
88
88
  * @type {Array<number>}
@@ -15,8 +15,6 @@ Name | Type
15
15
  `tagLine` | string
16
16
  `email` | string
17
17
  `website` | string
18
- `netsuiteLocationId` | string
19
- `displayNetsuiteLocationId` | string
20
18
  `openingHours` | string
21
19
 
22
20
  ## Example
@@ -35,8 +33,6 @@ const example = {
35
33
  "tagLine": null,
36
34
  "email": null,
37
35
  "website": null,
38
- "netsuiteLocationId": null,
39
- "displayNetsuiteLocationId": null,
40
36
  "openingHours": null,
41
37
  } satisfies StoreListResource
42
38
 
@@ -15,8 +15,8 @@ Name | Type
15
15
  `tagLine` | string
16
16
  `email` | string
17
17
  `website` | string
18
- `netsuiteLocationId` | string
19
- `displayNetsuiteLocationId` | string
18
+ `netsuiteId` | number
19
+ `displayNetsuiteId` | number
20
20
  `openingHours` | string
21
21
  `suppliers` | [Array&lt;SupplierLiteResource&gt;](SupplierLiteResource.md)
22
22
  `address` | [AddressResource](AddressResource.md)
@@ -38,8 +38,8 @@ const example = {
38
38
  "tagLine": null,
39
39
  "email": null,
40
40
  "website": null,
41
- "netsuiteLocationId": null,
42
- "displayNetsuiteLocationId": null,
41
+ "netsuiteId": null,
42
+ "displayNetsuiteId": null,
43
43
  "openingHours": null,
44
44
  "suppliers": null,
45
45
  "address": null,
@@ -9,7 +9,7 @@ Name | Type
9
9
  `id` | number
10
10
  `name` | string
11
11
  `hours` | string
12
- `date` | object
12
+ `date` | string
13
13
  `closed` | boolean
14
14
  `displayStartDate` | string
15
15
  `displayEndDate` | string
@@ -15,8 +15,8 @@ Name | Type
15
15
  `email` | string
16
16
  `website` | string
17
17
  `openingHours` | Array&lt;string | null&gt;
18
- `netsuiteId` | string
19
- `displayNetsuiteId` | string
18
+ `netsuiteId` | number
19
+ `displayNetsuiteId` | number
20
20
  `supplierIds` | Array&lt;number&gt;
21
21
  `specialDates` | [Array&lt;StoreStoreRequestSpecialDatesInner&gt;](StoreStoreRequestSpecialDatesInner.md)
22
22
  `address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
@@ -15,8 +15,8 @@ Name | Type
15
15
  `email` | string
16
16
  `website` | string
17
17
  `openingHours` | Array&lt;string | null&gt;
18
- `netsuiteId` | string
19
- `displayNetsuiteId` | string
18
+ `netsuiteId` | number
19
+ `displayNetsuiteId` | number
20
20
  `supplierIds` | Array&lt;number&gt;
21
21
  `specialDates` | [Array&lt;UpdateStoreRequestSpecialDatesInner&gt;](UpdateStoreRequestSpecialDatesInner.md)
22
22
  `address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1623",
3
+ "version": "0.0.1625",
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 | null;
27
+ company: string;
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;
39
+ line2?: string | null;
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;
76
77
  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'] == null ? undefined : json['company'],
96
+ 'company': json['company'],
97
97
  'line1': json['line1'],
98
- 'line2': json['line2'],
98
+ 'line2': json['line2'] == null ? undefined : json['line2'],
99
99
  'postcode': json['postcode'],
100
100
  'suburb': json['suburb'],
101
101
  'country': json['country'],
@@ -30,7 +30,7 @@ export interface AddressResource {
30
30
  * @type {string}
31
31
  * @memberof AddressResource
32
32
  */
33
- company?: string | null;
33
+ company: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
@@ -42,7 +42,7 @@ export interface AddressResource {
42
42
  * @type {string}
43
43
  * @memberof AddressResource
44
44
  */
45
- line2?: string | null;
45
+ line2: string;
46
46
  /**
47
47
  *
48
48
  * @type {string}
@@ -79,7 +79,9 @@ export interface AddressResource {
79
79
  * Check if a given object implements the AddressResource interface.
80
80
  */
81
81
  export function instanceOfAddressResource(value: object): value is AddressResource {
82
+ if (!('company' in value) || value['company'] === undefined) return false;
82
83
  if (!('line1' in value) || value['line1'] === undefined) return false;
84
+ if (!('line2' in value) || value['line2'] === undefined) return false;
83
85
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
84
86
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
85
87
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -99,9 +101,9 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
99
101
  return {
100
102
 
101
103
  'id': json['id'] == null ? undefined : json['id'],
102
- 'company': json['company'] == null ? undefined : json['company'],
104
+ 'company': json['company'],
103
105
  'line1': json['line_1'],
104
- 'line2': json['line_2'] == null ? undefined : json['line_2'],
106
+ 'line2': json['line_2'],
105
107
  'postcode': json['postcode'],
106
108
  'suburb': json['suburb'],
107
109
  'country': json['country'],
@@ -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'],
@@ -81,18 +81,6 @@ export interface StoreListResource {
81
81
  * @memberof StoreListResource
82
82
  */
83
83
  website: string;
84
- /**
85
- *
86
- * @type {string}
87
- * @memberof StoreListResource
88
- */
89
- netsuiteLocationId?: string | null;
90
- /**
91
- *
92
- * @type {string}
93
- * @memberof StoreListResource
94
- */
95
- displayNetsuiteLocationId?: string | null;
96
84
  /**
97
85
  *
98
86
  * @type {string}
@@ -134,8 +122,6 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
134
122
  'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
135
123
  'email': json['email'],
136
124
  'website': json['website'],
137
- 'netsuiteLocationId': json['netsuiteLocationId'] == null ? undefined : json['netsuiteLocationId'],
138
- 'displayNetsuiteLocationId': json['displayNetsuiteLocationId'] == null ? undefined : json['displayNetsuiteLocationId'],
139
125
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
140
126
  };
141
127
  }
@@ -160,8 +146,6 @@ export function StoreListResourceToJSONTyped(value?: StoreListResource | null, i
160
146
  'tag_line': value['tagLine'],
161
147
  'email': value['email'],
162
148
  'website': value['website'],
163
- 'netsuiteLocationId': value['netsuiteLocationId'],
164
- 'displayNetsuiteLocationId': value['displayNetsuiteLocationId'],
165
149
  'opening_hours': value['openingHours'],
166
150
  };
167
151
  }
@@ -101,19 +101,19 @@ 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
- * @type {string}
107
+ * @type {number}
108
108
  * @memberof StoreResource
109
109
  */
110
- netsuiteLocationId?: string | null;
110
+ netsuiteId?: number | null;
111
111
  /**
112
112
  *
113
- * @type {string}
113
+ * @type {number}
114
114
  * @memberof StoreResource
115
115
  */
116
- displayNetsuiteLocationId?: string | null;
116
+ displayNetsuiteId?: number | null;
117
117
  /**
118
118
  *
119
119
  * @type {string}
@@ -151,7 +151,6 @@ 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;
155
154
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
156
155
  if (!('address' in value) || value['address'] === undefined) return false;
157
156
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
@@ -176,9 +175,9 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
176
175
  'latitude': json['latitude'],
177
176
  'tagLine': json['tag_line'],
178
177
  'email': json['email'],
179
- 'website': json['website'],
180
- 'netsuiteLocationId': json['netsuiteLocationId'] == null ? undefined : json['netsuiteLocationId'],
181
- 'displayNetsuiteLocationId': json['displayNetsuiteLocationId'] == null ? undefined : json['displayNetsuiteLocationId'],
178
+ 'website': json['website'] == null ? undefined : json['website'],
179
+ 'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
180
+ 'displayNetsuiteId': json['displayNetsuiteId'] == null ? undefined : json['displayNetsuiteId'],
182
181
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
183
182
  'suppliers': (json['suppliers'] == null ? null : (json['suppliers'] as Array<any>).map(SupplierLiteResourceFromJSON)),
184
183
  'address': AddressResourceFromJSON(json['address']),
@@ -206,8 +205,8 @@ export function StoreResourceToJSONTyped(value?: StoreResource | null, ignoreDis
206
205
  'tag_line': value['tagLine'],
207
206
  'email': value['email'],
208
207
  'website': value['website'],
209
- 'netsuiteLocationId': value['netsuiteLocationId'],
210
- 'displayNetsuiteLocationId': value['displayNetsuiteLocationId'],
208
+ 'netsuiteId': value['netsuiteId'],
209
+ 'displayNetsuiteId': value['displayNetsuiteId'],
211
210
  'opening_hours': value['openingHours'],
212
211
  'suppliers': (value['suppliers'] == null ? null : (value['suppliers'] as Array<any>).map(SupplierLiteResourceToJSON)),
213
212
  'address': AddressResourceToJSON(value['address']),
@@ -39,10 +39,10 @@ export interface StoreSpecialDateResource {
39
39
  hours: string;
40
40
  /**
41
41
  *
42
- * @type {object}
42
+ * @type {string}
43
43
  * @memberof StoreSpecialDateResource
44
44
  */
45
- date: object;
45
+ date?: string | null;
46
46
  /**
47
47
  *
48
48
  * @type {boolean}
@@ -69,7 +69,6 @@ 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;
73
72
  if (!('closed' in value) || value['closed'] === undefined) return false;
74
73
  if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
75
74
  if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
@@ -89,7 +88,7 @@ export function StoreSpecialDateResourceFromJSONTyped(json: any, ignoreDiscrimin
89
88
  'id': json['id'] == null ? undefined : json['id'],
90
89
  'name': json['name'],
91
90
  'hours': json['hours'],
92
- 'date': json['date'],
91
+ 'date': json['date'] == null ? undefined : json['date'],
93
92
  'closed': json['closed'],
94
93
  'displayStartDate': json['display_start_date'],
95
94
  'displayEndDate': json['display_end_date'],
@@ -90,16 +90,16 @@ export interface StoreStoreRequest {
90
90
  openingHours?: Array<string | null>;
91
91
  /**
92
92
  *
93
- * @type {string}
93
+ * @type {number}
94
94
  * @memberof StoreStoreRequest
95
95
  */
96
- netsuiteId?: string | null;
96
+ netsuiteId?: number | null;
97
97
  /**
98
98
  *
99
- * @type {string}
99
+ * @type {number}
100
100
  * @memberof StoreStoreRequest
101
101
  */
102
- displayNetsuiteId?: string | null;
102
+ displayNetsuiteId?: number | null;
103
103
  /**
104
104
  *
105
105
  * @type {Array<number>}
@@ -90,16 +90,16 @@ export interface UpdateStoreRequest {
90
90
  openingHours?: Array<string | null>;
91
91
  /**
92
92
  *
93
- * @type {string}
93
+ * @type {number}
94
94
  * @memberof UpdateStoreRequest
95
95
  */
96
- netsuiteId?: string | null;
96
+ netsuiteId?: number | null;
97
97
  /**
98
98
  *
99
- * @type {string}
99
+ * @type {number}
100
100
  * @memberof UpdateStoreRequest
101
101
  */
102
- displayNetsuiteId?: string | null;
102
+ displayNetsuiteId?: number | null;
103
103
  /**
104
104
  *
105
105
  * @type {Array<number>}