@digital8/lighting-illusions-ts-sdk 0.0.1590 → 0.0.1591

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.1590
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1591
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -614,7 +614,7 @@ and is automatically generated by the
614
614
  [OpenAPI Generator](https://openapi-generator.tech) project:
615
615
 
616
616
  - API version: `1.0.0`
617
- - Package version: `0.0.1590`
617
+ - Package version: `0.0.1591`
618
618
  - Generator version: `7.21.0`
619
619
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
620
620
 
@@ -26,7 +26,7 @@ export interface AddressResource {
26
26
  * @type {string}
27
27
  * @memberof AddressResource
28
28
  */
29
- company: string;
29
+ company?: string | null;
30
30
  /**
31
31
  *
32
32
  * @type {string}
@@ -22,8 +22,6 @@ 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;
27
25
  if (!('line1' in value) || value['line1'] === undefined)
28
26
  return false;
29
27
  if (!('postcode' in value) || value['postcode'] === undefined)
@@ -47,7 +45,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
47
45
  }
48
46
  return {
49
47
  'id': json['id'] == null ? undefined : json['id'],
50
- 'company': json['company'],
48
+ 'company': json['company'] == null ? undefined : json['company'],
51
49
  'line1': json['line_1'],
52
50
  'line2': json['line_2'] == null ? undefined : json['line_2'],
53
51
  'postcode': json['postcode'],
@@ -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']),
@@ -34,12 +34,6 @@ export interface LabelResource {
34
34
  * @memberof LabelResource
35
35
  */
36
36
  longName: string;
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof LabelResource
41
- */
42
- productCount: number;
43
37
  /**
44
38
  *
45
39
  * @type {SiteLiteResource}
@@ -27,8 +27,6 @@ function instanceOfLabelResource(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;
32
30
  if (!('site' in value) || value['site'] === undefined)
33
31
  return false;
34
32
  if (!('cartButtonText' in value) || value['cartButtonText'] === undefined)
@@ -50,7 +48,6 @@ function LabelResourceFromJSONTyped(json, ignoreDiscriminator) {
50
48
  'id': json['id'] == null ? undefined : json['id'],
51
49
  'shortName': json['shortName'],
52
50
  'longName': json['longName'],
53
- 'productCount': json['productCount'],
54
51
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
55
52
  'cartButtonText': json['cartButtonText'],
56
53
  'colour': json['colour'],
@@ -71,7 +68,6 @@ function LabelResourceToJSONTyped(value, ignoreDiscriminator) {
71
68
  'id': value['id'],
72
69
  'shortName': value['shortName'],
73
70
  'longName': value['longName'],
74
- 'productCount': value['productCount'],
75
71
  'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
76
72
  'cartButtonText': value['cartButtonText'],
77
73
  'colour': value['colour'],
@@ -35,10 +35,10 @@ export interface StoreSpecialDateFrontendResource {
35
35
  hours: string;
36
36
  /**
37
37
  *
38
- * @type {object}
38
+ * @type {string}
39
39
  * @memberof StoreSpecialDateFrontendResource
40
40
  */
41
- date: object;
41
+ date?: string | null;
42
42
  /**
43
43
  *
44
44
  * @type {boolean}
@@ -26,8 +26,6 @@ function instanceOfStoreSpecialDateFrontendResource(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 StoreSpecialDateFrontendResourceFromJSONTyped(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['displayStartDate'],
53
51
  'displayEndDate': json['displayEndDate'],
@@ -9,7 +9,6 @@ Name | Type
9
9
  `id` | number
10
10
  `shortName` | string
11
11
  `longName` | string
12
- `productCount` | number
13
12
  `site` | [SiteLiteResource](SiteLiteResource.md)
14
13
  `cartButtonText` | string
15
14
  `colour` | string
@@ -27,7 +26,6 @@ const example = {
27
26
  "id": null,
28
27
  "shortName": null,
29
28
  "longName": null,
30
- "productCount": null,
31
29
  "site": null,
32
30
  "cartButtonText": null,
33
31
  "colour": 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` | object
15
15
  `displayEndDate` | object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1590",
3
+ "version": "0.0.1591",
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;
33
+ company?: string | null;
34
34
  /**
35
35
  *
36
36
  * @type {string}
@@ -79,7 +79,6 @@ 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;
83
82
  if (!('line1' in value) || value['line1'] === undefined) return false;
84
83
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
85
84
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
@@ -100,7 +99,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
100
99
  return {
101
100
 
102
101
  'id': json['id'] == null ? undefined : json['id'],
103
- 'company': json['company'],
102
+ 'company': json['company'] == null ? undefined : json['company'],
104
103
  'line1': json['line_1'],
105
104
  'line2': json['line_2'] == null ? undefined : json['line_2'],
106
105
  'postcode': json['postcode'],
@@ -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']),
@@ -45,12 +45,6 @@ export interface LabelResource {
45
45
  * @memberof LabelResource
46
46
  */
47
47
  longName: string;
48
- /**
49
- *
50
- * @type {number}
51
- * @memberof LabelResource
52
- */
53
- productCount: number;
54
48
  /**
55
49
  *
56
50
  * @type {SiteLiteResource}
@@ -95,7 +89,6 @@ export interface LabelResource {
95
89
  export function instanceOfLabelResource(value: object): value is LabelResource {
96
90
  if (!('shortName' in value) || value['shortName'] === undefined) return false;
97
91
  if (!('longName' in value) || value['longName'] === undefined) return false;
98
- if (!('productCount' in value) || value['productCount'] === undefined) return false;
99
92
  if (!('site' in value) || value['site'] === undefined) return false;
100
93
  if (!('cartButtonText' in value) || value['cartButtonText'] === undefined) return false;
101
94
  if (!('colour' in value) || value['colour'] === undefined) return false;
@@ -116,7 +109,6 @@ export function LabelResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
116
109
  'id': json['id'] == null ? undefined : json['id'],
117
110
  'shortName': json['shortName'],
118
111
  'longName': json['longName'],
119
- 'productCount': json['productCount'],
120
112
  'site': SiteLiteResourceFromJSON(json['site']),
121
113
  'cartButtonText': json['cartButtonText'],
122
114
  'colour': json['colour'],
@@ -140,7 +132,6 @@ export function LabelResourceToJSONTyped(value?: LabelResource | null, ignoreDis
140
132
  'id': value['id'],
141
133
  'shortName': value['shortName'],
142
134
  'longName': value['longName'],
143
- 'productCount': value['productCount'],
144
135
  'site': SiteLiteResourceToJSON(value['site']),
145
136
  'cartButtonText': value['cartButtonText'],
146
137
  'colour': value['colour'],
@@ -39,10 +39,10 @@ export interface StoreSpecialDateFrontendResource {
39
39
  hours: string;
40
40
  /**
41
41
  *
42
- * @type {object}
42
+ * @type {string}
43
43
  * @memberof StoreSpecialDateFrontendResource
44
44
  */
45
- date: object;
45
+ date?: string | null;
46
46
  /**
47
47
  *
48
48
  * @type {boolean}
@@ -69,7 +69,6 @@ export interface StoreSpecialDateFrontendResource {
69
69
  export function instanceOfStoreSpecialDateFrontendResource(value: object): value is StoreSpecialDateFrontendResource {
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 StoreSpecialDateFrontendResourceFromJSONTyped(json: any, ignoreD
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['displayStartDate'],
95
94
  'displayEndDate': json['displayEndDate'],