@digital8/security-registers-backend-ts-sdk 0.0.380 → 0.0.381
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/.openapi-generator/FILES +7 -2
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +46 -5
- package/dist/apis/GeneralApi.js +221 -2
- package/dist/models/AssetResource.d.ts +1 -1
- package/dist/models/AssetResource.js +3 -1
- package/dist/models/AuthProfileUpdateRequest.d.ts +6 -0
- package/dist/models/AuthProfileUpdateRequest.js +2 -0
- package/dist/models/AuthRegisterGuardRequestLicence.d.ts +3 -8
- package/dist/models/AuthRegisterGuardRequestLicence.js +3 -8
- package/dist/models/CurrentRegisterResource.d.ts +22 -5
- package/dist/models/CurrentRegisterResource.js +14 -7
- package/dist/models/IncidentFieldAuditResource.d.ts +17 -2
- package/dist/models/IncidentFieldAuditResource.js +7 -0
- package/dist/models/IncidentFieldItemLiteResource.d.ts +38 -0
- package/dist/models/IncidentFieldItemLiteResource.js +54 -0
- package/dist/models/IncidentFieldItemLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/IncidentFieldItemLiteResourceArrayResponse.js +50 -0
- package/dist/models/IncidentFieldSchemaResource.d.ts +13 -6
- package/dist/models/IncidentFieldSchemaResource.js +9 -0
- package/dist/models/IncidentFieldSchemasShowRequest.d.ts +0 -5
- package/dist/models/IncidentFieldSchemasShowRequest.js +1 -6
- package/dist/models/IncidentListResource.d.ts +6 -0
- package/dist/models/IncidentListResource.js +2 -0
- package/dist/models/IncidentResource.d.ts +1 -1
- package/dist/models/IncidentVersionResource.d.ts +2 -2
- package/dist/models/IncidentVideoResource.d.ts +10 -1
- package/dist/models/IncidentVideoResource.js +9 -0
- package/dist/models/IncidentsStoreRequest.d.ts +1 -1
- package/dist/models/IncidentsUpdateRequest.d.ts +3 -3
- package/dist/models/LicenceListResource.d.ts +11 -2
- package/dist/models/LicenceListResource.js +9 -0
- package/dist/models/LicenceLiteResource.d.ts +11 -2
- package/dist/models/LicenceLiteResource.js +9 -0
- package/dist/models/LicenceResource.d.ts +11 -2
- package/dist/models/LicenceResource.js +9 -0
- package/dist/models/LicenceVerificationFallbackSettingResource.d.ts +57 -0
- package/dist/models/LicenceVerificationFallbackSettingResource.js +67 -0
- package/dist/models/LicenceVerificationFallbackSettingResourceArrayResponse.d.ts +33 -0
- package/dist/models/LicenceVerificationFallbackSettingResourceArrayResponse.js +50 -0
- package/dist/models/LicencesStoreRequest.d.ts +3 -8
- package/dist/models/LicencesStoreRequest.js +3 -8
- package/dist/models/LicencesUpdateRequest.d.ts +3 -8
- package/dist/models/LicencesUpdateRequest.js +3 -8
- package/dist/models/LicencesVerifyRequest.d.ts +1 -6
- package/dist/models/LicencesVerifyRequest.js +1 -6
- package/dist/models/MobileDeviceResource.d.ts +9 -1
- package/dist/models/MobileDeviceResource.js +8 -0
- package/dist/models/NotificationPreferenceResource.d.ts +12 -1
- package/dist/models/NotificationPreferenceResource.js +11 -0
- package/dist/models/PdfExportQueuedResource.d.ts +11 -1
- package/dist/models/PdfExportQueuedResource.js +10 -0
- package/dist/models/PdfExportResource.d.ts +11 -1
- package/dist/models/PdfExportResource.js +10 -0
- package/dist/models/RegisterListResource.d.ts +12 -3
- package/dist/models/RegisterListResource.js +15 -2
- package/dist/models/RegisterResource.d.ts +10 -1
- package/dist/models/RegisterResource.js +9 -0
- package/dist/models/RegistersSignOffRequest.d.ts +3 -3
- package/dist/models/RegistersSignOffRequest.js +2 -2
- package/dist/models/RegistersSignOnRequest.d.ts +3 -3
- package/dist/models/RegistersSignOnRequest.js +2 -2
- package/dist/models/RosterListResource.d.ts +19 -4
- package/dist/models/RosterListResource.js +17 -3
- package/dist/models/RosterResource.d.ts +11 -2
- package/dist/models/RosterResource.js +12 -4
- package/dist/models/RosterWithRegistersResource.d.ts +10 -1
- package/dist/models/RosterWithRegistersResource.js +9 -0
- package/dist/models/SettingsLicenceVerificationFallbackUpdateRequest.d.ts +44 -0
- package/dist/models/SettingsLicenceVerificationFallbackUpdateRequest.js +53 -0
- package/dist/models/UserResource.d.ts +9 -2
- package/dist/models/UserResource.js +7 -2
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.d.ts +3 -8
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.js +3 -8
- package/dist/models/VenueLiteResource.d.ts +6 -0
- package/dist/models/VenueLiteResource.js +4 -0
- package/dist/models/VenueMobileResource.d.ts +105 -0
- package/dist/models/VenueMobileResource.js +96 -0
- package/dist/models/VenueMobileResourceArrayResponse.d.ts +33 -0
- package/dist/models/VenueMobileResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +7 -2
- package/dist/models/index.js +7 -2
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +197 -9
- package/src/models/AssetResource.ts +3 -2
- package/src/models/AuthProfileUpdateRequest.ts +8 -0
- package/src/models/AuthRegisterGuardRequestLicence.ts +6 -11
- package/src/models/CurrentRegisterResource.ts +35 -18
- package/src/models/IncidentFieldAuditResource.ts +27 -2
- package/src/models/IncidentFieldItemLiteResource.ts +74 -0
- package/src/models/IncidentFieldItemLiteResourceArrayResponse.ts +73 -0
- package/src/models/IncidentFieldSchemaResource.ts +16 -4
- package/src/models/IncidentFieldSchemasShowRequest.ts +1 -6
- package/src/models/IncidentListResource.ts +8 -0
- package/src/models/IncidentResource.ts +1 -1
- package/src/models/IncidentVersionResource.ts +2 -2
- package/src/models/IncidentVideoResource.ts +13 -1
- package/src/models/IncidentsStoreRequest.ts +1 -1
- package/src/models/IncidentsUpdateRequest.ts +3 -3
- package/src/models/LicenceListResource.ts +14 -2
- package/src/models/LicenceLiteResource.ts +14 -2
- package/src/models/LicenceResource.ts +14 -2
- package/src/models/LicenceVerificationFallbackSettingResource.ts +109 -0
- package/src/models/LicenceVerificationFallbackSettingResourceArrayResponse.ts +73 -0
- package/src/models/LicencesStoreRequest.ts +6 -11
- package/src/models/LicencesUpdateRequest.ts +6 -11
- package/src/models/LicencesVerifyRequest.ts +2 -7
- package/src/models/MobileDeviceResource.ts +12 -1
- package/src/models/NotificationPreferenceResource.ts +15 -1
- package/src/models/PdfExportQueuedResource.ts +14 -1
- package/src/models/PdfExportResource.ts +14 -1
- package/src/models/RegisterListResource.ts +19 -5
- package/src/models/RegisterResource.ts +13 -1
- package/src/models/RegistersSignOffRequest.ts +5 -5
- package/src/models/RegistersSignOnRequest.ts +5 -5
- package/src/models/RosterListResource.ts +28 -6
- package/src/models/RosterResource.ts +16 -5
- package/src/models/RosterWithRegistersResource.ts +13 -1
- package/src/models/SettingsLicenceVerificationFallbackUpdateRequest.ts +81 -0
- package/src/models/UserResource.ts +20 -4
- package/src/models/UsersCreateWithRoleRequestLicencesInner.ts +6 -11
- package/src/models/VenueLiteResource.ts +9 -0
- package/src/models/VenueMobileResource.ts +180 -0
- package/src/models/VenueMobileResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +7 -2
- package/dist/models/NearbyVenueResource.d.ts +0 -62
- package/dist/models/NearbyVenueResource.js +0 -69
- package/dist/models/NearbyVenueResourceArrayResponse.d.ts +0 -33
- package/dist/models/NearbyVenueResourceArrayResponse.js +0 -50
- package/src/models/NearbyVenueResource.ts +0 -110
- package/src/models/NearbyVenueResourceArrayResponse.ts +0 -73
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { UserLiteResource } from './UserLiteResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LicenceVerificationFallbackSettingResource
|
|
17
|
+
*/
|
|
18
|
+
export interface LicenceVerificationFallbackSettingResource {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof LicenceVerificationFallbackSettingResource
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof LicenceVerificationFallbackSettingResource
|
|
29
|
+
*/
|
|
30
|
+
state: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof LicenceVerificationFallbackSettingResource
|
|
35
|
+
*/
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof LicenceVerificationFallbackSettingResource
|
|
41
|
+
*/
|
|
42
|
+
updatedAt?: Date | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {UserLiteResource}
|
|
46
|
+
* @memberof LicenceVerificationFallbackSettingResource
|
|
47
|
+
*/
|
|
48
|
+
updatedByUser: UserLiteResource | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the LicenceVerificationFallbackSettingResource interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfLicenceVerificationFallbackSettingResource(value: object): value is LicenceVerificationFallbackSettingResource;
|
|
54
|
+
export declare function LicenceVerificationFallbackSettingResourceFromJSON(json: any): LicenceVerificationFallbackSettingResource;
|
|
55
|
+
export declare function LicenceVerificationFallbackSettingResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceVerificationFallbackSettingResource;
|
|
56
|
+
export declare function LicenceVerificationFallbackSettingResourceToJSON(json: any): LicenceVerificationFallbackSettingResource;
|
|
57
|
+
export declare function LicenceVerificationFallbackSettingResourceToJSONTyped(value?: LicenceVerificationFallbackSettingResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfLicenceVerificationFallbackSettingResource = instanceOfLicenceVerificationFallbackSettingResource;
|
|
17
|
+
exports.LicenceVerificationFallbackSettingResourceFromJSON = LicenceVerificationFallbackSettingResourceFromJSON;
|
|
18
|
+
exports.LicenceVerificationFallbackSettingResourceFromJSONTyped = LicenceVerificationFallbackSettingResourceFromJSONTyped;
|
|
19
|
+
exports.LicenceVerificationFallbackSettingResourceToJSON = LicenceVerificationFallbackSettingResourceToJSON;
|
|
20
|
+
exports.LicenceVerificationFallbackSettingResourceToJSONTyped = LicenceVerificationFallbackSettingResourceToJSONTyped;
|
|
21
|
+
var UserLiteResource_1 = require("./UserLiteResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LicenceVerificationFallbackSettingResource interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLicenceVerificationFallbackSettingResource(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('updatedByUser' in value) || value['updatedByUser'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function LicenceVerificationFallbackSettingResourceFromJSON(json) {
|
|
37
|
+
return LicenceVerificationFallbackSettingResourceFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function LicenceVerificationFallbackSettingResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'state': json['state'],
|
|
46
|
+
'enabled': json['enabled'],
|
|
47
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
48
|
+
'updatedByUser': (0, UserLiteResource_1.UserLiteResourceFromJSON)(json['updatedByUser']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function LicenceVerificationFallbackSettingResourceToJSON(json) {
|
|
52
|
+
return LicenceVerificationFallbackSettingResourceToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function LicenceVerificationFallbackSettingResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
var _a;
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': value['id'],
|
|
62
|
+
'state': value['state'],
|
|
63
|
+
'enabled': value['enabled'],
|
|
64
|
+
'updatedAt': value['updatedAt'] === null ? null : ((_a = value['updatedAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
65
|
+
'updatedByUser': (0, UserLiteResource_1.UserLiteResourceToJSON)(value['updatedByUser']),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { LicenceVerificationFallbackSettingResource } from './LicenceVerificationFallbackSettingResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LicenceVerificationFallbackSettingResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface LicenceVerificationFallbackSettingResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<LicenceVerificationFallbackSettingResource>}
|
|
22
|
+
* @memberof LicenceVerificationFallbackSettingResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<LicenceVerificationFallbackSettingResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the LicenceVerificationFallbackSettingResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfLicenceVerificationFallbackSettingResourceArrayResponse(value: object): value is LicenceVerificationFallbackSettingResourceArrayResponse;
|
|
30
|
+
export declare function LicenceVerificationFallbackSettingResourceArrayResponseFromJSON(json: any): LicenceVerificationFallbackSettingResourceArrayResponse;
|
|
31
|
+
export declare function LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceVerificationFallbackSettingResourceArrayResponse;
|
|
32
|
+
export declare function LicenceVerificationFallbackSettingResourceArrayResponseToJSON(json: any): LicenceVerificationFallbackSettingResourceArrayResponse;
|
|
33
|
+
export declare function LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped(value?: LicenceVerificationFallbackSettingResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfLicenceVerificationFallbackSettingResourceArrayResponse = instanceOfLicenceVerificationFallbackSettingResourceArrayResponse;
|
|
17
|
+
exports.LicenceVerificationFallbackSettingResourceArrayResponseFromJSON = LicenceVerificationFallbackSettingResourceArrayResponseFromJSON;
|
|
18
|
+
exports.LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped = LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.LicenceVerificationFallbackSettingResourceArrayResponseToJSON = LicenceVerificationFallbackSettingResourceArrayResponseToJSON;
|
|
20
|
+
exports.LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped = LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped;
|
|
21
|
+
var LicenceVerificationFallbackSettingResource_1 = require("./LicenceVerificationFallbackSettingResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LicenceVerificationFallbackSettingResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLicenceVerificationFallbackSettingResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function LicenceVerificationFallbackSettingResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(LicenceVerificationFallbackSettingResource_1.LicenceVerificationFallbackSettingResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function LicenceVerificationFallbackSettingResourceArrayResponseToJSON(json) {
|
|
40
|
+
return LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(LicenceVerificationFallbackSettingResource_1.LicenceVerificationFallbackSettingResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -48,11 +48,11 @@ export interface LicencesStoreRequest {
|
|
|
48
48
|
*/
|
|
49
49
|
lastName: string;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {
|
|
51
|
+
* ISO 8601 calendar date (Y-m-d) in the licence state's timezone. Time and timezone offset must be omitted.
|
|
52
|
+
* @type {string}
|
|
53
53
|
* @memberof LicencesStoreRequest
|
|
54
54
|
*/
|
|
55
|
-
expiryDate:
|
|
55
|
+
expiryDate: string;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {AuthRegisterGuardRequestProfileSignature}
|
|
@@ -84,12 +84,7 @@ export interface LicencesStoreRequest {
|
|
|
84
84
|
export declare const LicencesStoreRequestStateEnum: {
|
|
85
85
|
readonly Qld: "QLD";
|
|
86
86
|
readonly Nsw: "NSW";
|
|
87
|
-
readonly Act: "ACT";
|
|
88
87
|
readonly Vic: "VIC";
|
|
89
|
-
readonly Tas: "TAS";
|
|
90
|
-
readonly Sa: "SA";
|
|
91
|
-
readonly Wa: "WA";
|
|
92
|
-
readonly Nt: "NT";
|
|
93
88
|
};
|
|
94
89
|
export type LicencesStoreRequestStateEnum = typeof LicencesStoreRequestStateEnum[keyof typeof LicencesStoreRequestStateEnum];
|
|
95
90
|
/**
|
|
@@ -27,12 +27,7 @@ var AuthRegisterGuardRequestProfileSignature_1 = require("./AuthRegisterGuardReq
|
|
|
27
27
|
exports.LicencesStoreRequestStateEnum = {
|
|
28
28
|
Qld: 'QLD',
|
|
29
29
|
Nsw: 'NSW',
|
|
30
|
-
|
|
31
|
-
Vic: 'VIC',
|
|
32
|
-
Tas: 'TAS',
|
|
33
|
-
Sa: 'SA',
|
|
34
|
-
Wa: 'WA',
|
|
35
|
-
Nt: 'NT'
|
|
30
|
+
Vic: 'VIC'
|
|
36
31
|
};
|
|
37
32
|
/**
|
|
38
33
|
* Check if a given object implements the LicencesStoreRequest interface.
|
|
@@ -67,7 +62,7 @@ function LicencesStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
67
62
|
'licenceNumber': json['licence_number'],
|
|
68
63
|
'firstName': json['first_name'],
|
|
69
64
|
'lastName': json['last_name'],
|
|
70
|
-
'expiryDate':
|
|
65
|
+
'expiryDate': json['expiry_date'],
|
|
71
66
|
'frontAsset': (0, AuthRegisterGuardRequestProfileSignature_1.AuthRegisterGuardRequestProfileSignatureFromJSON)(json['front_asset']),
|
|
72
67
|
'backAsset': json['back_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['back_asset']),
|
|
73
68
|
'rsaAsset': json['rsa_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['rsa_asset']),
|
|
@@ -88,7 +83,7 @@ function LicencesStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
88
83
|
'licence_number': value['licenceNumber'],
|
|
89
84
|
'first_name': value['firstName'],
|
|
90
85
|
'last_name': value['lastName'],
|
|
91
|
-
'expiry_date':
|
|
86
|
+
'expiry_date': value['expiryDate'],
|
|
92
87
|
'front_asset': (0, AuthRegisterGuardRequestProfileSignature_1.AuthRegisterGuardRequestProfileSignatureToJSON)(value['frontAsset']),
|
|
93
88
|
'back_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['backAsset']),
|
|
94
89
|
'rsa_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['rsaAsset']),
|
|
@@ -41,11 +41,11 @@ export interface LicencesUpdateRequest {
|
|
|
41
41
|
*/
|
|
42
42
|
lastName?: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {
|
|
44
|
+
* ISO 8601 calendar date (Y-m-d) in the licence state's timezone. Time and timezone offset must be omitted.
|
|
45
|
+
* @type {string}
|
|
46
46
|
* @memberof LicencesUpdateRequest
|
|
47
47
|
*/
|
|
48
|
-
expiryDate?:
|
|
48
|
+
expiryDate?: string;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {LicencesStoreRequestBackAsset}
|
|
@@ -77,12 +77,7 @@ export interface LicencesUpdateRequest {
|
|
|
77
77
|
export declare const LicencesUpdateRequestStateEnum: {
|
|
78
78
|
readonly Qld: "QLD";
|
|
79
79
|
readonly Nsw: "NSW";
|
|
80
|
-
readonly Act: "ACT";
|
|
81
80
|
readonly Vic: "VIC";
|
|
82
|
-
readonly Tas: "TAS";
|
|
83
|
-
readonly Sa: "SA";
|
|
84
|
-
readonly Wa: "WA";
|
|
85
|
-
readonly Nt: "NT";
|
|
86
81
|
};
|
|
87
82
|
export type LicencesUpdateRequestStateEnum = typeof LicencesUpdateRequestStateEnum[keyof typeof LicencesUpdateRequestStateEnum];
|
|
88
83
|
/**
|
|
@@ -26,12 +26,7 @@ var LicencesStoreRequestBackAsset_1 = require("./LicencesStoreRequestBackAsset")
|
|
|
26
26
|
exports.LicencesUpdateRequestStateEnum = {
|
|
27
27
|
Qld: 'QLD',
|
|
28
28
|
Nsw: 'NSW',
|
|
29
|
-
|
|
30
|
-
Vic: 'VIC',
|
|
31
|
-
Tas: 'TAS',
|
|
32
|
-
Sa: 'SA',
|
|
33
|
-
Wa: 'WA',
|
|
34
|
-
Nt: 'NT'
|
|
29
|
+
Vic: 'VIC'
|
|
35
30
|
};
|
|
36
31
|
/**
|
|
37
32
|
* Check if a given object implements the LicencesUpdateRequest interface.
|
|
@@ -51,7 +46,7 @@ function LicencesUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
46
|
'licenceNumber': json['licence_number'] == null ? undefined : json['licence_number'],
|
|
52
47
|
'firstName': json['first_name'] == null ? undefined : json['first_name'],
|
|
53
48
|
'lastName': json['last_name'] == null ? undefined : json['last_name'],
|
|
54
|
-
'expiryDate': json['expiry_date'] == null ? undefined :
|
|
49
|
+
'expiryDate': json['expiry_date'] == null ? undefined : json['expiry_date'],
|
|
55
50
|
'frontAsset': json['front_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['front_asset']),
|
|
56
51
|
'backAsset': json['back_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['back_asset']),
|
|
57
52
|
'rsaAsset': json['rsa_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['rsa_asset']),
|
|
@@ -71,7 +66,7 @@ function LicencesUpdateRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
71
66
|
'licence_number': value['licenceNumber'],
|
|
72
67
|
'first_name': value['firstName'],
|
|
73
68
|
'last_name': value['lastName'],
|
|
74
|
-
'expiry_date': value['expiryDate']
|
|
69
|
+
'expiry_date': value['expiryDate'],
|
|
75
70
|
'front_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['frontAsset']),
|
|
76
71
|
'back_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['backAsset']),
|
|
77
72
|
'rsa_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['rsaAsset']),
|
|
@@ -40,7 +40,7 @@ export interface LicencesVerifyRequest {
|
|
|
40
40
|
*/
|
|
41
41
|
lastName: string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* ISO 8601 local-with-offset, anchored to 00:00 in the licence state's timezone (e.g. 2026-05-13T00:00:00+11:00). The offset is required so verification against state systems uses the correct wall-clock day.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof LicencesVerifyRequest
|
|
46
46
|
*/
|
|
@@ -52,12 +52,7 @@ export interface LicencesVerifyRequest {
|
|
|
52
52
|
export declare const LicencesVerifyRequestStateEnum: {
|
|
53
53
|
readonly Qld: "QLD";
|
|
54
54
|
readonly Nsw: "NSW";
|
|
55
|
-
readonly Act: "ACT";
|
|
56
55
|
readonly Vic: "VIC";
|
|
57
|
-
readonly Tas: "TAS";
|
|
58
|
-
readonly Sa: "SA";
|
|
59
|
-
readonly Wa: "WA";
|
|
60
|
-
readonly Nt: "NT";
|
|
61
56
|
};
|
|
62
57
|
export type LicencesVerifyRequestStateEnum = typeof LicencesVerifyRequestStateEnum[keyof typeof LicencesVerifyRequestStateEnum];
|
|
63
58
|
/**
|
|
@@ -25,12 +25,7 @@ exports.LicencesVerifyRequestToJSONTyped = LicencesVerifyRequestToJSONTyped;
|
|
|
25
25
|
exports.LicencesVerifyRequestStateEnum = {
|
|
26
26
|
Qld: 'QLD',
|
|
27
27
|
Nsw: 'NSW',
|
|
28
|
-
|
|
29
|
-
Vic: 'VIC',
|
|
30
|
-
Tas: 'TAS',
|
|
31
|
-
Sa: 'SA',
|
|
32
|
-
Wa: 'WA',
|
|
33
|
-
Nt: 'NT'
|
|
28
|
+
Vic: 'VIC'
|
|
34
29
|
};
|
|
35
30
|
/**
|
|
36
31
|
* Check if a given object implements the LicencesVerifyRequest interface.
|
|
@@ -32,7 +32,7 @@ export interface MobileDeviceResource {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof MobileDeviceResource
|
|
34
34
|
*/
|
|
35
|
-
platform:
|
|
35
|
+
platform: MobileDeviceResourcePlatformEnum;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
@@ -82,6 +82,14 @@ export interface MobileDeviceResource {
|
|
|
82
82
|
*/
|
|
83
83
|
updatedAt?: Date | null;
|
|
84
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const MobileDeviceResourcePlatformEnum: {
|
|
89
|
+
readonly Ios: "ios";
|
|
90
|
+
readonly Android: "android";
|
|
91
|
+
};
|
|
92
|
+
export type MobileDeviceResourcePlatformEnum = typeof MobileDeviceResourcePlatformEnum[keyof typeof MobileDeviceResourcePlatformEnum];
|
|
85
93
|
/**
|
|
86
94
|
* Check if a given object implements the MobileDeviceResource interface.
|
|
87
95
|
*/
|
|
@@ -13,11 +13,19 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MobileDeviceResourcePlatformEnum = void 0;
|
|
16
17
|
exports.instanceOfMobileDeviceResource = instanceOfMobileDeviceResource;
|
|
17
18
|
exports.MobileDeviceResourceFromJSON = MobileDeviceResourceFromJSON;
|
|
18
19
|
exports.MobileDeviceResourceFromJSONTyped = MobileDeviceResourceFromJSONTyped;
|
|
19
20
|
exports.MobileDeviceResourceToJSON = MobileDeviceResourceToJSON;
|
|
20
21
|
exports.MobileDeviceResourceToJSONTyped = MobileDeviceResourceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.MobileDeviceResourcePlatformEnum = {
|
|
26
|
+
Ios: 'ios',
|
|
27
|
+
Android: 'android'
|
|
28
|
+
};
|
|
21
29
|
/**
|
|
22
30
|
* Check if a given object implements the MobileDeviceResource interface.
|
|
23
31
|
*/
|
|
@@ -27,7 +27,7 @@ export interface NotificationPreferenceResource {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof NotificationPreferenceResource
|
|
29
29
|
*/
|
|
30
|
-
notificationType:
|
|
30
|
+
notificationType: NotificationPreferenceResourceNotificationTypeEnum;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {VenueLiteResource}
|
|
@@ -53,6 +53,17 @@ export interface NotificationPreferenceResource {
|
|
|
53
53
|
*/
|
|
54
54
|
updatedAt?: Date | null;
|
|
55
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export declare const NotificationPreferenceResourceNotificationTypeEnum: {
|
|
60
|
+
readonly IncidentAdded: "incident_added";
|
|
61
|
+
readonly NonSignOff: "non_sign_off";
|
|
62
|
+
readonly NonSignOn: "non_sign_on";
|
|
63
|
+
readonly SignOnRejected: "sign_on_rejected";
|
|
64
|
+
readonly LicenceUpdated: "licence_updated";
|
|
65
|
+
};
|
|
66
|
+
export type NotificationPreferenceResourceNotificationTypeEnum = typeof NotificationPreferenceResourceNotificationTypeEnum[keyof typeof NotificationPreferenceResourceNotificationTypeEnum];
|
|
56
67
|
/**
|
|
57
68
|
* Check if a given object implements the NotificationPreferenceResource interface.
|
|
58
69
|
*/
|
|
@@ -13,12 +13,23 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.NotificationPreferenceResourceNotificationTypeEnum = void 0;
|
|
16
17
|
exports.instanceOfNotificationPreferenceResource = instanceOfNotificationPreferenceResource;
|
|
17
18
|
exports.NotificationPreferenceResourceFromJSON = NotificationPreferenceResourceFromJSON;
|
|
18
19
|
exports.NotificationPreferenceResourceFromJSONTyped = NotificationPreferenceResourceFromJSONTyped;
|
|
19
20
|
exports.NotificationPreferenceResourceToJSON = NotificationPreferenceResourceToJSON;
|
|
20
21
|
exports.NotificationPreferenceResourceToJSONTyped = NotificationPreferenceResourceToJSONTyped;
|
|
21
22
|
var VenueLiteResource_1 = require("./VenueLiteResource");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.NotificationPreferenceResourceNotificationTypeEnum = {
|
|
27
|
+
IncidentAdded: 'incident_added',
|
|
28
|
+
NonSignOff: 'non_sign_off',
|
|
29
|
+
NonSignOn: 'non_sign_on',
|
|
30
|
+
SignOnRejected: 'sign_on_rejected',
|
|
31
|
+
LicenceUpdated: 'licence_updated'
|
|
32
|
+
};
|
|
22
33
|
/**
|
|
23
34
|
* Check if a given object implements the NotificationPreferenceResource interface.
|
|
24
35
|
*/
|
|
@@ -26,7 +26,7 @@ export interface PdfExportQueuedResource {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof PdfExportQueuedResource
|
|
28
28
|
*/
|
|
29
|
-
status:
|
|
29
|
+
status: PdfExportQueuedResourceStatusEnum;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -34,6 +34,16 @@ export interface PdfExportQueuedResource {
|
|
|
34
34
|
*/
|
|
35
35
|
message: string;
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const PdfExportQueuedResourceStatusEnum: {
|
|
41
|
+
readonly Pending: "pending";
|
|
42
|
+
readonly Processing: "processing";
|
|
43
|
+
readonly Completed: "completed";
|
|
44
|
+
readonly Failed: "failed";
|
|
45
|
+
};
|
|
46
|
+
export type PdfExportQueuedResourceStatusEnum = typeof PdfExportQueuedResourceStatusEnum[keyof typeof PdfExportQueuedResourceStatusEnum];
|
|
37
47
|
/**
|
|
38
48
|
* Check if a given object implements the PdfExportQueuedResource interface.
|
|
39
49
|
*/
|
|
@@ -13,11 +13,21 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PdfExportQueuedResourceStatusEnum = void 0;
|
|
16
17
|
exports.instanceOfPdfExportQueuedResource = instanceOfPdfExportQueuedResource;
|
|
17
18
|
exports.PdfExportQueuedResourceFromJSON = PdfExportQueuedResourceFromJSON;
|
|
18
19
|
exports.PdfExportQueuedResourceFromJSONTyped = PdfExportQueuedResourceFromJSONTyped;
|
|
19
20
|
exports.PdfExportQueuedResourceToJSON = PdfExportQueuedResourceToJSON;
|
|
20
21
|
exports.PdfExportQueuedResourceToJSONTyped = PdfExportQueuedResourceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PdfExportQueuedResourceStatusEnum = {
|
|
26
|
+
Pending: 'pending',
|
|
27
|
+
Processing: 'processing',
|
|
28
|
+
Completed: 'completed',
|
|
29
|
+
Failed: 'failed'
|
|
30
|
+
};
|
|
21
31
|
/**
|
|
22
32
|
* Check if a given object implements the PdfExportQueuedResource interface.
|
|
23
33
|
*/
|
|
@@ -26,7 +26,7 @@ export interface PdfExportResource {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof PdfExportResource
|
|
28
28
|
*/
|
|
29
|
-
status:
|
|
29
|
+
status: PdfExportResourceStatusEnum;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -40,6 +40,16 @@ export interface PdfExportResource {
|
|
|
40
40
|
*/
|
|
41
41
|
downloadUrl: string;
|
|
42
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const PdfExportResourceStatusEnum: {
|
|
47
|
+
readonly Pending: "pending";
|
|
48
|
+
readonly Processing: "processing";
|
|
49
|
+
readonly Completed: "completed";
|
|
50
|
+
readonly Failed: "failed";
|
|
51
|
+
};
|
|
52
|
+
export type PdfExportResourceStatusEnum = typeof PdfExportResourceStatusEnum[keyof typeof PdfExportResourceStatusEnum];
|
|
43
53
|
/**
|
|
44
54
|
* Check if a given object implements the PdfExportResource interface.
|
|
45
55
|
*/
|
|
@@ -13,11 +13,21 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PdfExportResourceStatusEnum = void 0;
|
|
16
17
|
exports.instanceOfPdfExportResource = instanceOfPdfExportResource;
|
|
17
18
|
exports.PdfExportResourceFromJSON = PdfExportResourceFromJSON;
|
|
18
19
|
exports.PdfExportResourceFromJSONTyped = PdfExportResourceFromJSONTyped;
|
|
19
20
|
exports.PdfExportResourceToJSON = PdfExportResourceToJSON;
|
|
20
21
|
exports.PdfExportResourceToJSONTyped = PdfExportResourceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PdfExportResourceStatusEnum = {
|
|
26
|
+
Pending: 'pending',
|
|
27
|
+
Processing: 'processing',
|
|
28
|
+
Completed: 'completed',
|
|
29
|
+
Failed: 'failed'
|
|
30
|
+
};
|
|
21
31
|
/**
|
|
22
32
|
* Check if a given object implements the PdfExportResource interface.
|
|
23
33
|
*/
|
|
@@ -58,7 +58,7 @@ export interface RegisterListResource {
|
|
|
58
58
|
* @type {number}
|
|
59
59
|
* @memberof RegisterListResource
|
|
60
60
|
*/
|
|
61
|
-
signOffStatus:
|
|
61
|
+
signOffStatus: RegisterListResourceSignOffStatusEnum;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @type {string}
|
|
@@ -148,13 +148,13 @@ export interface RegisterListResource {
|
|
|
148
148
|
* @type {number}
|
|
149
149
|
* @memberof RegisterListResource
|
|
150
150
|
*/
|
|
151
|
-
signOffLat
|
|
151
|
+
signOffLat: number;
|
|
152
152
|
/**
|
|
153
153
|
*
|
|
154
154
|
* @type {number}
|
|
155
155
|
* @memberof RegisterListResource
|
|
156
156
|
*/
|
|
157
|
-
signOffLong
|
|
157
|
+
signOffLong: number;
|
|
158
158
|
/**
|
|
159
159
|
*
|
|
160
160
|
* @type {boolean}
|
|
@@ -162,6 +162,15 @@ export interface RegisterListResource {
|
|
|
162
162
|
*/
|
|
163
163
|
hasIncidents: boolean;
|
|
164
164
|
}
|
|
165
|
+
/**
|
|
166
|
+
* @export
|
|
167
|
+
*/
|
|
168
|
+
export declare const RegisterListResourceSignOffStatusEnum: {
|
|
169
|
+
readonly NUMBER_0: 0;
|
|
170
|
+
readonly NUMBER_1: 1;
|
|
171
|
+
readonly NUMBER_2: 2;
|
|
172
|
+
};
|
|
173
|
+
export type RegisterListResourceSignOffStatusEnum = typeof RegisterListResourceSignOffStatusEnum[keyof typeof RegisterListResourceSignOffStatusEnum];
|
|
165
174
|
/**
|
|
166
175
|
* Check if a given object implements the RegisterListResource interface.
|
|
167
176
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RegisterListResourceSignOffStatusEnum = void 0;
|
|
16
17
|
exports.instanceOfRegisterListResource = instanceOfRegisterListResource;
|
|
17
18
|
exports.RegisterListResourceFromJSON = RegisterListResourceFromJSON;
|
|
18
19
|
exports.RegisterListResourceFromJSONTyped = RegisterListResourceFromJSONTyped;
|
|
@@ -20,6 +21,14 @@ exports.RegisterListResourceToJSON = RegisterListResourceToJSON;
|
|
|
20
21
|
exports.RegisterListResourceToJSONTyped = RegisterListResourceToJSONTyped;
|
|
21
22
|
var VenueLiteResource_1 = require("./VenueLiteResource");
|
|
22
23
|
var UserLiteResource_1 = require("./UserLiteResource");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.RegisterListResourceSignOffStatusEnum = {
|
|
28
|
+
NUMBER_0: 0,
|
|
29
|
+
NUMBER_1: 1,
|
|
30
|
+
NUMBER_2: 2
|
|
31
|
+
};
|
|
23
32
|
/**
|
|
24
33
|
* Check if a given object implements the RegisterListResource interface.
|
|
25
34
|
*/
|
|
@@ -60,6 +69,10 @@ function instanceOfRegisterListResource(value) {
|
|
|
60
69
|
return false;
|
|
61
70
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined)
|
|
62
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;
|
|
63
76
|
if (!('hasIncidents' in value) || value['hasIncidents'] === undefined)
|
|
64
77
|
return false;
|
|
65
78
|
return true;
|
|
@@ -93,8 +106,8 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
93
106
|
'firstAid': json['firstAid'],
|
|
94
107
|
'signOnLat': json['signOnLat'],
|
|
95
108
|
'signOnLong': json['signOnLong'],
|
|
96
|
-
'signOffLat': json['signOffLat']
|
|
97
|
-
'signOffLong': json['signOffLong']
|
|
109
|
+
'signOffLat': json['signOffLat'],
|
|
110
|
+
'signOffLong': json['signOffLong'],
|
|
98
111
|
'hasIncidents': json['hasIncidents'],
|
|
99
112
|
};
|
|
100
113
|
}
|