@digital8/security-registers-backend-ts-sdk 0.0.463 → 0.0.464
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.464
|
|
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.464 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -69,6 +69,8 @@ function instanceOfRegisterListResource(value) {
|
|
|
69
69
|
return false;
|
|
70
70
|
if (!('signOffLat' in value) || value['signOffLat'] === undefined)
|
|
71
71
|
return false;
|
|
72
|
+
if (!('signOffLong' in value) || value['signOffLong'] === undefined)
|
|
73
|
+
return false;
|
|
72
74
|
if (!('hasIncidents' in value) || value['hasIncidents'] === undefined)
|
|
73
75
|
return false;
|
|
74
76
|
return true;
|
|
@@ -103,7 +105,7 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
103
105
|
'signOnLat': json['signOnLat'],
|
|
104
106
|
'signOnLong': json['signOnLong'],
|
|
105
107
|
'signOffLat': json['signOffLat'],
|
|
106
|
-
'signOffLong': json['signOffLong']
|
|
108
|
+
'signOffLong': json['signOffLong'],
|
|
107
109
|
'hasIncidents': json['hasIncidents'],
|
|
108
110
|
};
|
|
109
111
|
}
|
package/package.json
CHANGED
|
@@ -171,7 +171,7 @@ export interface RegisterListResource {
|
|
|
171
171
|
* @type {number}
|
|
172
172
|
* @memberof RegisterListResource
|
|
173
173
|
*/
|
|
174
|
-
signOffLong
|
|
174
|
+
signOffLong: number;
|
|
175
175
|
/**
|
|
176
176
|
*
|
|
177
177
|
* @type {boolean}
|
|
@@ -214,6 +214,7 @@ export function instanceOfRegisterListResource(value: object): value is Register
|
|
|
214
214
|
if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
|
|
215
215
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
|
|
216
216
|
if (!('signOffLat' in value) || value['signOffLat'] === undefined) return false;
|
|
217
|
+
if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
|
|
217
218
|
if (!('hasIncidents' in value) || value['hasIncidents'] === undefined) return false;
|
|
218
219
|
return true;
|
|
219
220
|
}
|
|
@@ -250,7 +251,7 @@ export function RegisterListResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
250
251
|
'signOnLat': json['signOnLat'],
|
|
251
252
|
'signOnLong': json['signOnLong'],
|
|
252
253
|
'signOffLat': json['signOffLat'],
|
|
253
|
-
'signOffLong': json['signOffLong']
|
|
254
|
+
'signOffLong': json['signOffLong'],
|
|
254
255
|
'hasIncidents': json['hasIncidents'],
|
|
255
256
|
};
|
|
256
257
|
}
|