@digital8/security-registers-backend-ts-sdk 0.0.618 → 0.0.619

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.618
1
+ ## @digital8/security-registers-backend-ts-sdk@0.0.619
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.618 --save
39
+ npm install @digital8/security-registers-backend-ts-sdk@0.0.619 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -154,13 +154,13 @@ 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}
161
161
  * @memberof RegisterListResource
162
162
  */
163
- signOffLong: number;
163
+ signOffLong?: number | null;
164
164
  /**
165
165
  *
166
166
  * @type {boolean}
@@ -69,10 +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
- if (!('signOffLong' in value) || value['signOffLong'] === undefined)
75
- return false;
76
72
  if (!('hasIncidents' in value) || value['hasIncidents'] === undefined)
77
73
  return false;
78
74
  return true;
@@ -107,8 +103,8 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
107
103
  'firstAid': json['firstAid'],
108
104
  'signOnLat': json['signOnLat'],
109
105
  'signOnLong': json['signOnLong'],
110
- 'signOffLat': json['signOffLat'],
111
- 'signOffLong': json['signOffLong'],
106
+ 'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
107
+ 'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
112
108
  'hasIncidents': json['hasIncidents'],
113
109
  };
114
110
  }
@@ -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}
@@ -59,8 +59,6 @@ function instanceOfRegisterResource(value) {
59
59
  return false;
60
60
  if (!('signOnLong' in value) || value['signOnLong'] === undefined)
61
61
  return false;
62
- if (!('signOffLong' in value) || value['signOffLong'] === undefined)
63
- return false;
64
62
  if (!('licenceNumber' in value) || value['licenceNumber'] === undefined)
65
63
  return false;
66
64
  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'] == null ? undefined : 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.618",
3
+ "version": "0.0.619",
4
4
  "description": "OpenAPI client for @digital8/security-registers-backend-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -171,13 +171,13 @@ 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}
178
178
  * @memberof RegisterListResource
179
179
  */
180
- signOffLong: number;
180
+ signOffLong?: number | null;
181
181
  /**
182
182
  *
183
183
  * @type {boolean}
@@ -220,8 +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
- if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
225
223
  if (!('hasIncidents' in value) || value['hasIncidents'] === undefined) return false;
226
224
  return true;
227
225
  }
@@ -258,8 +256,8 @@ export function RegisterListResourceFromJSONTyped(json: any, ignoreDiscriminator
258
256
  'firstAid': json['firstAid'],
259
257
  'signOnLat': json['signOnLat'],
260
258
  'signOnLong': json['signOnLong'],
261
- 'signOffLat': json['signOffLat'],
262
- 'signOffLong': json['signOffLong'],
259
+ 'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
260
+ 'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
263
261
  'hasIncidents': json['hasIncidents'],
264
262
  };
265
263
  }
@@ -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}
@@ -215,7 +215,6 @@ export function instanceOfRegisterResource(value: object): value is RegisterReso
215
215
  if (!('firstAidImage' in value) || value['firstAidImage'] === undefined) return false;
216
216
  if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
217
217
  if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
218
- if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
219
218
  if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
220
219
  if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined) return false;
221
220
  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'] == null ? undefined : 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'],