@digital8/security-registers-backend-ts-sdk 0.0.524 → 0.0.525
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.
|
|
1
|
+
## @digital8/security-registers-backend-ts-sdk@0.0.525
|
|
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.
|
|
39
|
+
npm install @digital8/security-registers-backend-ts-sdk@0.0.525 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -148,13 +148,13 @@ export interface RegisterListResource {
|
|
|
148
148
|
* @type {number}
|
|
149
149
|
* @memberof RegisterListResource
|
|
150
150
|
*/
|
|
151
|
-
signOffLat
|
|
151
|
+
signOffLat?: number | null;
|
|
152
152
|
/**
|
|
153
153
|
*
|
|
154
154
|
* @type {number}
|
|
155
155
|
* @memberof RegisterListResource
|
|
156
156
|
*/
|
|
157
|
-
signOffLong
|
|
157
|
+
signOffLong?: number | null;
|
|
158
158
|
/**
|
|
159
159
|
*
|
|
160
160
|
* @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;
|
|
@@ -106,8 +102,8 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
106
102
|
'firstAid': json['firstAid'],
|
|
107
103
|
'signOnLat': json['signOnLat'],
|
|
108
104
|
'signOnLong': json['signOnLong'],
|
|
109
|
-
'signOffLat': json['signOffLat'],
|
|
110
|
-
'signOffLong': json['signOffLong'],
|
|
105
|
+
'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
|
|
106
|
+
'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
|
|
111
107
|
'hasIncidents': json['hasIncidents'],
|
|
112
108
|
};
|
|
113
109
|
}
|
package/package.json
CHANGED
|
@@ -165,13 +165,13 @@ export interface RegisterListResource {
|
|
|
165
165
|
* @type {number}
|
|
166
166
|
* @memberof RegisterListResource
|
|
167
167
|
*/
|
|
168
|
-
signOffLat
|
|
168
|
+
signOffLat?: number | null;
|
|
169
169
|
/**
|
|
170
170
|
*
|
|
171
171
|
* @type {number}
|
|
172
172
|
* @memberof RegisterListResource
|
|
173
173
|
*/
|
|
174
|
-
signOffLong
|
|
174
|
+
signOffLong?: number | null;
|
|
175
175
|
/**
|
|
176
176
|
*
|
|
177
177
|
* @type {boolean}
|
|
@@ -214,8 +214,6 @@ export function instanceOfRegisterListResource(value: object): value is Register
|
|
|
214
214
|
if (!('firstAid' in value) || value['firstAid'] === undefined) return false;
|
|
215
215
|
if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
|
|
216
216
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
|
|
217
|
-
if (!('signOffLat' in value) || value['signOffLat'] === undefined) return false;
|
|
218
|
-
if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
|
|
219
217
|
if (!('hasIncidents' in value) || value['hasIncidents'] === undefined) return false;
|
|
220
218
|
return true;
|
|
221
219
|
}
|
|
@@ -251,8 +249,8 @@ export function RegisterListResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
251
249
|
'firstAid': json['firstAid'],
|
|
252
250
|
'signOnLat': json['signOnLat'],
|
|
253
251
|
'signOnLong': json['signOnLong'],
|
|
254
|
-
'signOffLat': json['signOffLat'],
|
|
255
|
-
'signOffLong': json['signOffLong'],
|
|
252
|
+
'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
|
|
253
|
+
'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
|
|
256
254
|
'hasIncidents': json['hasIncidents'],
|
|
257
255
|
};
|
|
258
256
|
}
|