@digital8/lighting-illusions-ts-sdk 0.0.1598 → 0.0.1599

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.1598
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1599
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -607,7 +607,7 @@ and is automatically generated by the
607
607
  [OpenAPI Generator](https://openapi-generator.tech) project:
608
608
 
609
609
  - API version: `1.0.0`
610
- - Package version: `0.0.1598`
610
+ - Package version: `0.0.1599`
611
611
  - Generator version: `7.21.0`
612
612
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
613
613
 
@@ -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;
41
+ line2?: string | null;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -22,9 +22,9 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
22
22
  * Check if a given object implements the AddressResource interface.
23
23
  */
24
24
  function instanceOfAddressResource(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;
@@ -47,9 +47,9 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
47
47
  }
48
48
  return {
49
49
  'id': json['id'] == null ? undefined : json['id'],
50
- 'company': json['company'] == null ? undefined : json['company'],
50
+ 'company': json['company'],
51
51
  'line1': json['line_1'],
52
- 'line2': json['line_2'],
52
+ 'line2': json['line_2'] == null ? undefined : json['line_2'],
53
53
  'postcode': json['postcode'],
54
54
  'suburb': json['suburb'],
55
55
  'country': json['country'],
@@ -34,6 +34,12 @@ export interface LabelListResource {
34
34
  * @memberof LabelListResource
35
35
  */
36
36
  longName: string;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof LabelListResource
41
+ */
42
+ productCount: number;
37
43
  /**
38
44
  *
39
45
  * @type {string}
@@ -27,6 +27,8 @@ function instanceOfLabelListResource(value) {
27
27
  return false;
28
28
  if (!('longName' in value) || value['longName'] === undefined)
29
29
  return false;
30
+ if (!('productCount' in value) || value['productCount'] === undefined)
31
+ return false;
30
32
  if (!('colour' in value) || value['colour'] === undefined)
31
33
  return false;
32
34
  if (!('textColour' in value) || value['textColour'] === undefined)
@@ -46,6 +48,7 @@ function LabelListResourceFromJSONTyped(json, ignoreDiscriminator) {
46
48
  'id': json['id'] == null ? undefined : json['id'],
47
49
  'shortName': json['shortName'],
48
50
  'longName': json['longName'],
51
+ 'productCount': json['productCount'],
49
52
  'colour': json['colour'],
50
53
  'textColour': json['textColour'],
51
54
  'startDate': json['startDate'] == null ? undefined : json['startDate'],
@@ -65,6 +68,7 @@ function LabelListResourceToJSONTyped(value, ignoreDiscriminator) {
65
68
  'id': value['id'],
66
69
  'shortName': value['shortName'],
67
70
  'longName': value['longName'],
71
+ 'productCount': value['productCount'],
68
72
  'colour': value['colour'],
69
73
  'textColour': value['textColour'],
70
74
  'startDate': value['startDate'],
@@ -39,12 +39,6 @@ export interface StoreFrontendResource {
39
39
  * @memberof StoreFrontendResource
40
40
  */
41
41
  email: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof StoreFrontendResource
46
- */
47
- website: string;
48
42
  /**
49
43
  *
50
44
  * @type {string}
@@ -74,7 +68,7 @@ export interface StoreFrontendResource {
74
68
  * @type {string}
75
69
  * @memberof StoreFrontendResource
76
70
  */
77
- tagLine: string;
71
+ tagLine?: string | null;
78
72
  /**
79
73
  *
80
74
  * @type {string}
@@ -28,16 +28,12 @@ function instanceOfStoreFrontendResource(value) {
28
28
  return false;
29
29
  if (!('email' in value) || value['email'] === undefined)
30
30
  return false;
31
- if (!('website' in value) || value['website'] === undefined)
32
- return false;
33
31
  if (!('phone' in value) || value['phone'] === undefined)
34
32
  return false;
35
33
  if (!('latitude' in value) || value['latitude'] === undefined)
36
34
  return false;
37
35
  if (!('longitude' in value) || value['longitude'] === undefined)
38
36
  return false;
39
- if (!('tagLine' in value) || value['tagLine'] === undefined)
40
- return false;
41
37
  if (!('specialDates' in value) || value['specialDates'] === undefined)
42
38
  return false;
43
39
  if (!('suppliers' in value) || value['suppliers'] === undefined)
@@ -56,12 +52,11 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
56
52
  'siteId': json['siteId'],
57
53
  'name': json['name'],
58
54
  'email': json['email'],
59
- 'website': json['website'],
60
55
  'phone': json['phone'],
61
56
  'address': json['address'] == null ? undefined : json['address'],
62
57
  'latitude': json['latitude'],
63
58
  'longitude': json['longitude'],
64
- 'tagLine': json['tagLine'],
59
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
65
60
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
66
61
  'specialDates': json['specialDates'],
67
62
  'suppliers': json['suppliers'],
@@ -80,7 +75,6 @@ function StoreFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
80
75
  'siteId': value['siteId'],
81
76
  'name': value['name'],
82
77
  'email': value['email'],
83
- 'website': value['website'],
84
78
  'phone': value['phone'],
85
79
  'address': value['address'],
86
80
  'latitude': value['latitude'],
@@ -57,19 +57,13 @@ export interface StoreListResource {
57
57
  * @type {string}
58
58
  * @memberof StoreListResource
59
59
  */
60
- tagLine?: string | null;
60
+ tagLine: string;
61
61
  /**
62
62
  *
63
63
  * @type {string}
64
64
  * @memberof StoreListResource
65
65
  */
66
66
  email: string;
67
- /**
68
- *
69
- * @type {string}
70
- * @memberof StoreListResource
71
- */
72
- website: string;
73
67
  /**
74
68
  *
75
69
  * @type {string}
@@ -33,9 +33,9 @@ function instanceOfStoreListResource(value) {
33
33
  return false;
34
34
  if (!('latitude' in value) || value['latitude'] === undefined)
35
35
  return false;
36
- if (!('email' in value) || value['email'] === undefined)
36
+ if (!('tagLine' in value) || value['tagLine'] === undefined)
37
37
  return false;
38
- if (!('website' in value) || value['website'] === undefined)
38
+ if (!('email' in value) || value['email'] === undefined)
39
39
  return false;
40
40
  return true;
41
41
  }
@@ -53,9 +53,8 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
53
53
  'phone': json['phone'],
54
54
  'longitude': json['longitude'],
55
55
  'latitude': json['latitude'],
56
- 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
56
+ 'tagLine': json['tag_line'],
57
57
  'email': json['email'],
58
- 'website': json['website'],
59
58
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
60
59
  };
61
60
  }
@@ -76,7 +75,6 @@ function StoreListResourceToJSONTyped(value, ignoreDiscriminator) {
76
75
  'latitude': value['latitude'],
77
76
  'tag_line': value['tagLine'],
78
77
  'email': value['email'],
79
- 'website': value['website'],
80
78
  'opening_hours': value['openingHours'],
81
79
  };
82
80
  }
@@ -67,12 +67,6 @@ export interface StoreResource {
67
67
  * @memberof StoreResource
68
68
  */
69
69
  email: string;
70
- /**
71
- *
72
- * @type {string}
73
- * @memberof StoreResource
74
- */
75
- website?: string | null;
76
70
  /**
77
71
  *
78
72
  * @type {string}
@@ -64,7 +64,6 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
64
64
  'latitude': json['latitude'],
65
65
  'tagLine': json['tag_line'],
66
66
  'email': json['email'],
67
- 'website': json['website'] == null ? undefined : json['website'],
68
67
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
69
68
  'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
70
69
  'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),
@@ -88,7 +87,6 @@ function StoreResourceToJSONTyped(value, ignoreDiscriminator) {
88
87
  'latitude': value['latitude'],
89
88
  'tag_line': value['tagLine'],
90
89
  'email': value['email'],
91
- 'website': value['website'],
92
90
  'opening_hours': value['openingHours'],
93
91
  'suppliers': (value['suppliers'] == null ? null : value['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceToJSON)),
94
92
  'address': (0, AddressResource_1.AddressResourceToJSON)(value['address']),
@@ -59,12 +59,6 @@ export interface StoreStoreRequest {
59
59
  * @memberof StoreStoreRequest
60
60
  */
61
61
  email: string;
62
- /**
63
- *
64
- * @type {string}
65
- * @memberof StoreStoreRequest
66
- */
67
- website?: string | null;
68
62
  /**
69
63
  *
70
64
  * @type {Array<string | null>}
@@ -55,7 +55,6 @@ function StoreStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'latitude': json['latitude'],
56
56
  'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
57
57
  'email': json['email'],
58
- 'website': json['website'] == null ? undefined : json['website'],
59
58
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
60
59
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
61
60
  'specialDates': json['special_dates'] == null ? undefined : (json['special_dates'].map(StoreStoreRequestSpecialDatesInner_1.StoreStoreRequestSpecialDatesInnerFromJSON)),
@@ -78,7 +77,6 @@ function StoreStoreRequestToJSONTyped(value, ignoreDiscriminator) {
78
77
  'latitude': value['latitude'],
79
78
  'tag_line': value['tagLine'],
80
79
  'email': value['email'],
81
- 'website': value['website'],
82
80
  'opening_hours': value['openingHours'],
83
81
  'supplier_ids': value['supplierIds'],
84
82
  'special_dates': value['specialDates'] == null ? undefined : (value['specialDates'].map(StoreStoreRequestSpecialDatesInner_1.StoreStoreRequestSpecialDatesInnerToJSON)),
@@ -59,12 +59,6 @@ export interface UpdateStoreRequest {
59
59
  * @memberof UpdateStoreRequest
60
60
  */
61
61
  email: string;
62
- /**
63
- *
64
- * @type {string}
65
- * @memberof UpdateStoreRequest
66
- */
67
- website?: string | null;
68
62
  /**
69
63
  *
70
64
  * @type {Array<string | null>}
@@ -55,7 +55,6 @@ function UpdateStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'latitude': json['latitude'],
56
56
  'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
57
57
  'email': json['email'],
58
- 'website': json['website'] == null ? undefined : json['website'],
59
58
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
60
59
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
61
60
  'specialDates': json['special_dates'] == null ? undefined : (json['special_dates'].map(UpdateStoreRequestSpecialDatesInner_1.UpdateStoreRequestSpecialDatesInnerFromJSON)),
@@ -78,7 +77,6 @@ function UpdateStoreRequestToJSONTyped(value, ignoreDiscriminator) {
78
77
  'latitude': value['latitude'],
79
78
  'tag_line': value['tagLine'],
80
79
  'email': value['email'],
81
- 'website': value['website'],
82
80
  'opening_hours': value['openingHours'],
83
81
  'supplier_ids': value['supplierIds'],
84
82
  'special_dates': value['specialDates'] == null ? undefined : (value['specialDates'].map(UpdateStoreRequestSpecialDatesInner_1.UpdateStoreRequestSpecialDatesInnerToJSON)),
@@ -9,6 +9,7 @@ Name | Type
9
9
  `id` | number
10
10
  `shortName` | string
11
11
  `longName` | string
12
+ `productCount` | number
12
13
  `colour` | string
13
14
  `textColour` | string
14
15
  `startDate` | string
@@ -25,6 +26,7 @@ const example = {
25
26
  "id": null,
26
27
  "shortName": null,
27
28
  "longName": null,
29
+ "productCount": null,
28
30
  "colour": null,
29
31
  "textColour": null,
30
32
  "startDate": null,
@@ -10,7 +10,6 @@ Name | Type
10
10
  `siteId` | number
11
11
  `name` | string
12
12
  `email` | string
13
- `website` | string
14
13
  `phone` | string
15
14
  `address` | string
16
15
  `latitude` | number
@@ -31,7 +30,6 @@ const example = {
31
30
  "siteId": null,
32
31
  "name": null,
33
32
  "email": null,
34
- "website": null,
35
33
  "phone": null,
36
34
  "address": null,
37
35
  "latitude": null,
@@ -14,7 +14,6 @@ Name | Type
14
14
  `latitude` | number
15
15
  `tagLine` | string
16
16
  `email` | string
17
- `website` | string
18
17
  `openingHours` | string
19
18
 
20
19
  ## Example
@@ -32,7 +31,6 @@ const example = {
32
31
  "latitude": null,
33
32
  "tagLine": null,
34
33
  "email": null,
35
- "website": null,
36
34
  "openingHours": null,
37
35
  } satisfies StoreListResource
38
36
 
@@ -14,7 +14,6 @@ Name | Type
14
14
  `latitude` | number
15
15
  `tagLine` | string
16
16
  `email` | string
17
- `website` | string
18
17
  `openingHours` | string
19
18
  `suppliers` | [Array&lt;SupplierLiteResource&gt;](SupplierLiteResource.md)
20
19
  `address` | [AddressResource](AddressResource.md)
@@ -35,7 +34,6 @@ const example = {
35
34
  "latitude": null,
36
35
  "tagLine": null,
37
36
  "email": null,
38
- "website": null,
39
37
  "openingHours": null,
40
38
  "suppliers": null,
41
39
  "address": null,
@@ -13,7 +13,6 @@ Name | Type
13
13
  `latitude` | number
14
14
  `tagLine` | string
15
15
  `email` | string
16
- `website` | string
17
16
  `openingHours` | Array&lt;string | null&gt;
18
17
  `supplierIds` | Array&lt;number&gt;
19
18
  `specialDates` | [Array&lt;StoreStoreRequestSpecialDatesInner&gt;](StoreStoreRequestSpecialDatesInner.md)
@@ -33,7 +32,6 @@ const example = {
33
32
  "latitude": null,
34
33
  "tagLine": null,
35
34
  "email": null,
36
- "website": null,
37
35
  "openingHours": null,
38
36
  "supplierIds": null,
39
37
  "specialDates": null,
@@ -13,7 +13,6 @@ Name | Type
13
13
  `latitude` | number
14
14
  `tagLine` | string
15
15
  `email` | string
16
- `website` | string
17
16
  `openingHours` | Array&lt;string | null&gt;
18
17
  `supplierIds` | Array&lt;number&gt;
19
18
  `specialDates` | [Array&lt;UpdateStoreRequestSpecialDatesInner&gt;](UpdateStoreRequestSpecialDatesInner.md)
@@ -33,7 +32,6 @@ const example = {
33
32
  "latitude": null,
34
33
  "tagLine": null,
35
34
  "email": null,
36
- "website": null,
37
35
  "openingHours": null,
38
36
  "supplierIds": null,
39
37
  "specialDates": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1598",
3
+ "version": "0.0.1599",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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;
45
+ line2?: string | null;
46
46
  /**
47
47
  *
48
48
  * @type {string}
@@ -79,8 +79,8 @@ 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;
83
- if (!('line2' in value) || value['line2'] === undefined) return false;
84
84
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
85
85
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
86
86
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -100,9 +100,9 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
100
100
  return {
101
101
 
102
102
  'id': json['id'] == null ? undefined : json['id'],
103
- 'company': json['company'] == null ? undefined : json['company'],
103
+ 'company': json['company'],
104
104
  'line1': json['line_1'],
105
- 'line2': json['line_2'],
105
+ 'line2': json['line_2'] == null ? undefined : json['line_2'],
106
106
  'postcode': json['postcode'],
107
107
  'suburb': json['suburb'],
108
108
  'country': json['country'],
@@ -45,6 +45,12 @@ export interface LabelListResource {
45
45
  * @memberof LabelListResource
46
46
  */
47
47
  longName: string;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof LabelListResource
52
+ */
53
+ productCount: number;
48
54
  /**
49
55
  *
50
56
  * @type {string}
@@ -83,6 +89,7 @@ export interface LabelListResource {
83
89
  export function instanceOfLabelListResource(value: object): value is LabelListResource {
84
90
  if (!('shortName' in value) || value['shortName'] === undefined) return false;
85
91
  if (!('longName' in value) || value['longName'] === undefined) return false;
92
+ if (!('productCount' in value) || value['productCount'] === undefined) return false;
86
93
  if (!('colour' in value) || value['colour'] === undefined) return false;
87
94
  if (!('textColour' in value) || value['textColour'] === undefined) return false;
88
95
  if (!('site' in value) || value['site'] === undefined) return false;
@@ -102,6 +109,7 @@ export function LabelListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
102
109
  'id': json['id'] == null ? undefined : json['id'],
103
110
  'shortName': json['shortName'],
104
111
  'longName': json['longName'],
112
+ 'productCount': json['productCount'],
105
113
  'colour': json['colour'],
106
114
  'textColour': json['textColour'],
107
115
  'startDate': json['startDate'] == null ? undefined : json['startDate'],
@@ -124,6 +132,7 @@ export function LabelListResourceToJSONTyped(value?: LabelListResource | null, i
124
132
  'id': value['id'],
125
133
  'shortName': value['shortName'],
126
134
  'longName': value['longName'],
135
+ 'productCount': value['productCount'],
127
136
  'colour': value['colour'],
128
137
  'textColour': value['textColour'],
129
138
  'startDate': value['startDate'],
@@ -43,12 +43,6 @@ export interface StoreFrontendResource {
43
43
  * @memberof StoreFrontendResource
44
44
  */
45
45
  email: string;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof StoreFrontendResource
50
- */
51
- website: string;
52
46
  /**
53
47
  *
54
48
  * @type {string}
@@ -78,7 +72,7 @@ export interface StoreFrontendResource {
78
72
  * @type {string}
79
73
  * @memberof StoreFrontendResource
80
74
  */
81
- tagLine: string;
75
+ tagLine?: string | null;
82
76
  /**
83
77
  *
84
78
  * @type {string}
@@ -106,11 +100,9 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
106
100
  if (!('siteId' in value) || value['siteId'] === undefined) return false;
107
101
  if (!('name' in value) || value['name'] === undefined) return false;
108
102
  if (!('email' in value) || value['email'] === undefined) return false;
109
- if (!('website' in value) || value['website'] === undefined) return false;
110
103
  if (!('phone' in value) || value['phone'] === undefined) return false;
111
104
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
112
105
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
113
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
114
106
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
115
107
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
116
108
  return true;
@@ -130,12 +122,11 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
130
122
  'siteId': json['siteId'],
131
123
  'name': json['name'],
132
124
  'email': json['email'],
133
- 'website': json['website'],
134
125
  'phone': json['phone'],
135
126
  'address': json['address'] == null ? undefined : json['address'],
136
127
  'latitude': json['latitude'],
137
128
  'longitude': json['longitude'],
138
- 'tagLine': json['tagLine'],
129
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
139
130
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
140
131
  'specialDates': json['specialDates'],
141
132
  'suppliers': json['suppliers'],
@@ -157,7 +148,6 @@ export function StoreFrontendResourceToJSONTyped(value?: StoreFrontendResource |
157
148
  'siteId': value['siteId'],
158
149
  'name': value['name'],
159
150
  'email': value['email'],
160
- 'website': value['website'],
161
151
  'phone': value['phone'],
162
152
  'address': value['address'],
163
153
  'latitude': value['latitude'],
@@ -68,19 +68,13 @@ export interface StoreListResource {
68
68
  * @type {string}
69
69
  * @memberof StoreListResource
70
70
  */
71
- tagLine?: string | null;
71
+ tagLine: string;
72
72
  /**
73
73
  *
74
74
  * @type {string}
75
75
  * @memberof StoreListResource
76
76
  */
77
77
  email: string;
78
- /**
79
- *
80
- * @type {string}
81
- * @memberof StoreListResource
82
- */
83
- website: string;
84
78
  /**
85
79
  *
86
80
  * @type {string}
@@ -98,8 +92,8 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
98
92
  if (!('phone' in value) || value['phone'] === undefined) return false;
99
93
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
100
94
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
95
+ if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
101
96
  if (!('email' in value) || value['email'] === undefined) return false;
102
- if (!('website' in value) || value['website'] === undefined) return false;
103
97
  return true;
104
98
  }
105
99
 
@@ -119,9 +113,8 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
119
113
  'phone': json['phone'],
120
114
  'longitude': json['longitude'],
121
115
  'latitude': json['latitude'],
122
- 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
116
+ 'tagLine': json['tag_line'],
123
117
  'email': json['email'],
124
- 'website': json['website'],
125
118
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
126
119
  };
127
120
  }
@@ -145,7 +138,6 @@ export function StoreListResourceToJSONTyped(value?: StoreListResource | null, i
145
138
  'latitude': value['latitude'],
146
139
  'tag_line': value['tagLine'],
147
140
  'email': value['email'],
148
- 'website': value['website'],
149
141
  'opening_hours': value['openingHours'],
150
142
  };
151
143
  }
@@ -96,12 +96,6 @@ export interface StoreResource {
96
96
  * @memberof StoreResource
97
97
  */
98
98
  email: string;
99
- /**
100
- *
101
- * @type {string}
102
- * @memberof StoreResource
103
- */
104
- website?: string | null;
105
99
  /**
106
100
  *
107
101
  * @type {string}
@@ -163,7 +157,6 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
163
157
  'latitude': json['latitude'],
164
158
  'tagLine': json['tag_line'],
165
159
  'email': json['email'],
166
- 'website': json['website'] == null ? undefined : json['website'],
167
160
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
168
161
  'suppliers': (json['suppliers'] == null ? null : (json['suppliers'] as Array<any>).map(SupplierLiteResourceFromJSON)),
169
162
  'address': AddressResourceFromJSON(json['address']),
@@ -190,7 +183,6 @@ export function StoreResourceToJSONTyped(value?: StoreResource | null, ignoreDis
190
183
  'latitude': value['latitude'],
191
184
  'tag_line': value['tagLine'],
192
185
  'email': value['email'],
193
- 'website': value['website'],
194
186
  'opening_hours': value['openingHours'],
195
187
  'suppliers': (value['suppliers'] == null ? null : (value['suppliers'] as Array<any>).map(SupplierLiteResourceToJSON)),
196
188
  'address': AddressResourceToJSON(value['address']),
@@ -76,12 +76,6 @@ export interface StoreStoreRequest {
76
76
  * @memberof StoreStoreRequest
77
77
  */
78
78
  email: string;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof StoreStoreRequest
83
- */
84
- website?: string | null;
85
79
  /**
86
80
  *
87
81
  * @type {Array<string | null>}
@@ -139,7 +133,6 @@ export function StoreStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: b
139
133
  'latitude': json['latitude'],
140
134
  'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
141
135
  'email': json['email'],
142
- 'website': json['website'] == null ? undefined : json['website'],
143
136
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
144
137
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
145
138
  'specialDates': json['special_dates'] == null ? undefined : ((json['special_dates'] as Array<any>).map(StoreStoreRequestSpecialDatesInnerFromJSON)),
@@ -165,7 +158,6 @@ export function StoreStoreRequestToJSONTyped(value?: StoreStoreRequest | null, i
165
158
  'latitude': value['latitude'],
166
159
  'tag_line': value['tagLine'],
167
160
  'email': value['email'],
168
- 'website': value['website'],
169
161
  'opening_hours': value['openingHours'],
170
162
  'supplier_ids': value['supplierIds'],
171
163
  'special_dates': value['specialDates'] == null ? undefined : ((value['specialDates'] as Array<any>).map(StoreStoreRequestSpecialDatesInnerToJSON)),
@@ -76,12 +76,6 @@ export interface UpdateStoreRequest {
76
76
  * @memberof UpdateStoreRequest
77
77
  */
78
78
  email: string;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof UpdateStoreRequest
83
- */
84
- website?: string | null;
85
79
  /**
86
80
  *
87
81
  * @type {Array<string | null>}
@@ -139,7 +133,6 @@ export function UpdateStoreRequestFromJSONTyped(json: any, ignoreDiscriminator:
139
133
  'latitude': json['latitude'],
140
134
  'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
141
135
  'email': json['email'],
142
- 'website': json['website'] == null ? undefined : json['website'],
143
136
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
144
137
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
145
138
  'specialDates': json['special_dates'] == null ? undefined : ((json['special_dates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerFromJSON)),
@@ -165,7 +158,6 @@ export function UpdateStoreRequestToJSONTyped(value?: UpdateStoreRequest | null,
165
158
  'latitude': value['latitude'],
166
159
  'tag_line': value['tagLine'],
167
160
  'email': value['email'],
168
- 'website': value['website'],
169
161
  'opening_hours': value['openingHours'],
170
162
  'supplier_ids': value['supplierIds'],
171
163
  'special_dates': value['specialDates'] == null ? undefined : ((value['specialDates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerToJSON)),