@digital8/security-registers-backend-ts-sdk 0.0.779 → 0.0.780

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.779
1
+ ## @digital8/security-registers-backend-ts-sdk@0.0.780
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.779 --save
39
+ npm install @digital8/security-registers-backend-ts-sdk@0.0.780 --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 (!('signOffLong' in value) || value['signOffLong'] === undefined)
75
73
  return false;
76
74
  if (!('hasIncidents' in value) || value['hasIncidents'] === undefined)
@@ -107,7 +105,7 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
107
105
  'firstAid': json['firstAid'],
108
106
  'signOnLat': json['signOnLat'],
109
107
  'signOnLong': json['signOnLong'],
110
- 'signOffLat': json['signOffLat'],
108
+ 'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
111
109
  'signOffLong': json['signOffLong'],
112
110
  'hasIncidents': json['hasIncidents'],
113
111
  };
@@ -112,13 +112,13 @@ export interface RegisterResource {
112
112
  * @type {number}
113
113
  * @memberof RegisterResource
114
114
  */
115
- signOffLat: number;
115
+ signOffLat?: number | null;
116
116
  /**
117
117
  *
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,10 +59,6 @@ function instanceOfRegisterResource(value) {
59
59
  return false;
60
60
  if (!('signOnLong' in value) || value['signOnLong'] === undefined)
61
61
  return false;
62
- if (!('signOffLat' in value) || value['signOffLat'] === undefined)
63
- return false;
64
- if (!('signOffLong' in value) || value['signOffLong'] === undefined)
65
- return false;
66
62
  if (!('licenceNumber' in value) || value['licenceNumber'] === undefined)
67
63
  return false;
68
64
  if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined)
@@ -96,8 +92,8 @@ function RegisterResourceFromJSONTyped(json, ignoreDiscriminator) {
96
92
  'firstAidImage': json['firstAidImage'],
97
93
  'signOnLat': json['signOnLat'],
98
94
  'signOnLong': json['signOnLong'],
99
- 'signOffLat': json['signOffLat'],
100
- 'signOffLong': json['signOffLong'],
95
+ 'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
96
+ 'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
101
97
  'licenceNumber': json['licenceNumber'],
102
98
  'licenceExpiry': json['licenceExpiry'],
103
99
  '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.779",
3
+ "version": "0.0.780",
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 (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
225
224
  if (!('hasIncidents' in value) || value['hasIncidents'] === undefined) return false;
226
225
  return true;
@@ -258,7 +257,7 @@ export function RegisterListResourceFromJSONTyped(json: any, ignoreDiscriminator
258
257
  'firstAid': json['firstAid'],
259
258
  'signOnLat': json['signOnLat'],
260
259
  'signOnLong': json['signOnLong'],
261
- 'signOffLat': json['signOffLat'],
260
+ 'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
262
261
  'signOffLong': json['signOffLong'],
263
262
  'hasIncidents': json['hasIncidents'],
264
263
  };
@@ -129,13 +129,13 @@ export interface RegisterResource {
129
129
  * @type {number}
130
130
  * @memberof RegisterResource
131
131
  */
132
- signOffLat: number;
132
+ signOffLat?: number | null;
133
133
  /**
134
134
  *
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,8 +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 (!('signOffLat' in value) || value['signOffLat'] === undefined) return false;
219
- if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
220
218
  if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
221
219
  if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined) return false;
222
220
  if (!('licenceFirstName' in value) || value['licenceFirstName'] === undefined) return false;
@@ -249,8 +247,8 @@ export function RegisterResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
249
247
  'firstAidImage': json['firstAidImage'],
250
248
  'signOnLat': json['signOnLat'],
251
249
  'signOnLong': json['signOnLong'],
252
- 'signOffLat': json['signOffLat'],
253
- 'signOffLong': json['signOffLong'],
250
+ 'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
251
+ 'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
254
252
  'licenceNumber': json['licenceNumber'],
255
253
  'licenceExpiry': json['licenceExpiry'],
256
254
  'licenceFirstName': json['licenceFirstName'],