@digital8/security-registers-backend-ts-sdk 0.0.485 → 0.0.486
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.486
|
|
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.486 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -57,8 +57,6 @@ function instanceOfRegisterResource(value) {
|
|
|
57
57
|
return false;
|
|
58
58
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined)
|
|
59
59
|
return false;
|
|
60
|
-
if (!('signOffLong' in value) || value['signOffLong'] === undefined)
|
|
61
|
-
return false;
|
|
62
60
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined)
|
|
63
61
|
return false;
|
|
64
62
|
if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined)
|
|
@@ -92,7 +90,7 @@ function RegisterResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
92
90
|
'signOnLat': json['signOnLat'],
|
|
93
91
|
'signOnLong': json['signOnLong'],
|
|
94
92
|
'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
|
|
95
|
-
'signOffLong': json['signOffLong'],
|
|
93
|
+
'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
|
|
96
94
|
'licenceNumber': json['licenceNumber'],
|
|
97
95
|
'licenceExpiry': json['licenceExpiry'],
|
|
98
96
|
'licenceFirstName': json['licenceFirstName'],
|
package/package.json
CHANGED
|
@@ -129,7 +129,7 @@ export interface RegisterResource {
|
|
|
129
129
|
* @type {number}
|
|
130
130
|
* @memberof RegisterResource
|
|
131
131
|
*/
|
|
132
|
-
signOffLong
|
|
132
|
+
signOffLong?: number | null;
|
|
133
133
|
/**
|
|
134
134
|
*
|
|
135
135
|
* @type {string}
|
|
@@ -208,7 +208,6 @@ export function instanceOfRegisterResource(value: object): value is RegisterReso
|
|
|
208
208
|
if (!('firstAidImage' in value) || value['firstAidImage'] === undefined) return false;
|
|
209
209
|
if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
|
|
210
210
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
|
|
211
|
-
if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
|
|
212
211
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
|
|
213
212
|
if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined) return false;
|
|
214
213
|
if (!('licenceFirstName' in value) || value['licenceFirstName'] === undefined) return false;
|
|
@@ -241,7 +240,7 @@ export function RegisterResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
241
240
|
'signOnLat': json['signOnLat'],
|
|
242
241
|
'signOnLong': json['signOnLong'],
|
|
243
242
|
'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
|
|
244
|
-
'signOffLong': json['signOffLong'],
|
|
243
|
+
'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
|
|
245
244
|
'licenceNumber': json['licenceNumber'],
|
|
246
245
|
'licenceExpiry': json['licenceExpiry'],
|
|
247
246
|
'licenceFirstName': json['licenceFirstName'],
|