@digital8/security-registers-backend-ts-sdk 0.0.581 → 0.0.582

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/security-registers-backend-ts-sdk@0.0.581
1
+ ## @digital8/security-registers-backend-ts-sdk@0.0.582
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/security-registers-backend-ts-sdk@0.0.581 --save
39
+ npm install @digital8/security-registers-backend-ts-sdk@0.0.582 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -154,7 +154,7 @@ export interface RegisterListResource {
154
154
  * @type {number}
155
155
  * @memberof RegisterListResource
156
156
  */
157
- signOffLat: number;
157
+ signOffLat?: number | null;
158
158
  /**
159
159
  *
160
160
  * @type {number}
@@ -69,8 +69,6 @@ function instanceOfRegisterListResource(value) {
69
69
  return false;
70
70
  if (!('signOnLong' in value) || value['signOnLong'] === undefined)
71
71
  return false;
72
- if (!('signOffLat' in value) || value['signOffLat'] === undefined)
73
- return false;
74
72
  if (!('hasIncidents' in value) || value['hasIncidents'] === undefined)
75
73
  return false;
76
74
  return true;
@@ -105,7 +103,7 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
105
103
  'firstAid': json['firstAid'],
106
104
  'signOnLat': json['signOnLat'],
107
105
  'signOnLong': json['signOnLong'],
108
- 'signOffLat': json['signOffLat'],
106
+ 'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
109
107
  'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
110
108
  'hasIncidents': json['hasIncidents'],
111
109
  };
@@ -118,7 +118,7 @@ export interface RegisterResource {
118
118
  * @type {number}
119
119
  * @memberof RegisterResource
120
120
  */
121
- signOffLong: number;
121
+ signOffLong?: number | null;
122
122
  /**
123
123
  *
124
124
  * @type {string}
@@ -61,8 +61,6 @@ function instanceOfRegisterResource(value) {
61
61
  return false;
62
62
  if (!('signOffLat' in value) || value['signOffLat'] === undefined)
63
63
  return false;
64
- if (!('signOffLong' in value) || value['signOffLong'] === undefined)
65
- return false;
66
64
  if (!('licenceNumber' in value) || value['licenceNumber'] === undefined)
67
65
  return false;
68
66
  if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined)
@@ -97,7 +95,7 @@ function RegisterResourceFromJSONTyped(json, ignoreDiscriminator) {
97
95
  'signOnLat': json['signOnLat'],
98
96
  'signOnLong': json['signOnLong'],
99
97
  'signOffLat': json['signOffLat'],
100
- 'signOffLong': json['signOffLong'],
98
+ 'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
101
99
  'licenceNumber': json['licenceNumber'],
102
100
  'licenceExpiry': json['licenceExpiry'],
103
101
  'licenceFirstName': json['licenceFirstName'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/security-registers-backend-ts-sdk",
3
- "version": "0.0.581",
3
+ "version": "0.0.582",
4
4
  "description": "OpenAPI client for @digital8/security-registers-backend-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -171,7 +171,7 @@ export interface RegisterListResource {
171
171
  * @type {number}
172
172
  * @memberof RegisterListResource
173
173
  */
174
- signOffLat: number;
174
+ signOffLat?: number | null;
175
175
  /**
176
176
  *
177
177
  * @type {number}
@@ -220,7 +220,6 @@ export function instanceOfRegisterListResource(value: object): value is Register
220
220
  if (!('firstAid' in value) || value['firstAid'] === undefined) return false;
221
221
  if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
222
222
  if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
223
- if (!('signOffLat' in value) || value['signOffLat'] === undefined) return false;
224
223
  if (!('hasIncidents' in value) || value['hasIncidents'] === undefined) return false;
225
224
  return true;
226
225
  }
@@ -257,7 +256,7 @@ export function RegisterListResourceFromJSONTyped(json: any, ignoreDiscriminator
257
256
  'firstAid': json['firstAid'],
258
257
  'signOnLat': json['signOnLat'],
259
258
  'signOnLong': json['signOnLong'],
260
- 'signOffLat': json['signOffLat'],
259
+ 'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
261
260
  'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
262
261
  'hasIncidents': json['hasIncidents'],
263
262
  };
@@ -135,7 +135,7 @@ export interface RegisterResource {
135
135
  * @type {number}
136
136
  * @memberof RegisterResource
137
137
  */
138
- signOffLong: number;
138
+ signOffLong?: number | null;
139
139
  /**
140
140
  *
141
141
  * @type {string}
@@ -216,7 +216,6 @@ export function instanceOfRegisterResource(value: object): value is RegisterReso
216
216
  if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
217
217
  if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
218
218
  if (!('signOffLat' in value) || value['signOffLat'] === undefined) return false;
219
- if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
220
219
  if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
221
220
  if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined) return false;
222
221
  if (!('licenceFirstName' in value) || value['licenceFirstName'] === undefined) return false;
@@ -250,7 +249,7 @@ export function RegisterResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
250
249
  'signOnLat': json['signOnLat'],
251
250
  'signOnLong': json['signOnLong'],
252
251
  'signOffLat': json['signOffLat'],
253
- 'signOffLong': json['signOffLong'],
252
+ 'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
254
253
  'licenceNumber': json['licenceNumber'],
255
254
  'licenceExpiry': json['licenceExpiry'],
256
255
  'licenceFirstName': json['licenceFirstName'],