@digital8/security-registers-backend-ts-sdk 0.0.335 → 0.0.337
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 +2 -2
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +5 -5
- package/dist/apis/GeneralApi.js +2 -2
- package/dist/models/AssetLiteResource.d.ts +0 -12
- package/dist/models/AssetLiteResource.js +0 -6
- package/dist/models/AssetResource.d.ts +0 -12
- package/dist/models/AssetResource.js +0 -6
- 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 +6 -0
- package/dist/models/IncidentFieldAuditResource.js +2 -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/IncidentImageResource.d.ts +1 -1
- package/dist/models/IncidentImageResource.js +1 -3
- package/dist/models/IncidentListResource.d.ts +6 -0
- package/dist/models/IncidentListResource.js +2 -0
- 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/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/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 +14 -5
- package/dist/models/RegisterListResource.js +14 -6
- package/dist/models/RegisterResource.d.ts +11 -2
- package/dist/models/RegisterResource.js +12 -1
- 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 +18 -3
- package/dist/models/RosterListResource.js +13 -0
- package/dist/models/RosterResource.d.ts +11 -2
- package/dist/models/RosterResource.js +13 -3
- package/dist/models/RosterWithRegistersResource.d.ts +10 -1
- package/dist/models/RosterWithRegistersResource.js +9 -0
- package/dist/models/SecurityCompanyResource.d.ts +1 -1
- package/dist/models/SecurityCompanyResource.js +3 -1
- 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 +2 -2
- package/dist/models/index.js +2 -2
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +9 -9
- package/src/models/AssetLiteResource.ts +0 -17
- package/src/models/AssetResource.ts +0 -17
- 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 +8 -0
- package/src/models/IncidentFieldSchemaResource.ts +16 -4
- package/src/models/IncidentFieldSchemasShowRequest.ts +1 -6
- package/src/models/IncidentImageResource.ts +2 -3
- package/src/models/IncidentListResource.ts +8 -0
- package/src/models/IncidentVersionResource.ts +2 -2
- package/src/models/IncidentVideoResource.ts +13 -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/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 +21 -9
- package/src/models/RegisterResource.ts +16 -3
- package/src/models/RegistersSignOffRequest.ts +5 -5
- package/src/models/RegistersSignOnRequest.ts +5 -5
- package/src/models/RosterListResource.ts +24 -3
- package/src/models/RosterResource.ts +17 -4
- package/src/models/RosterWithRegistersResource.ts +13 -1
- package/src/models/SecurityCompanyResource.ts +3 -2
- 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 +2 -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
|
@@ -30,10 +30,10 @@ export interface LicenceListResource {
|
|
|
30
30
|
user: UserRelationResource | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {string}
|
|
34
34
|
* @memberof LicenceListResource
|
|
35
35
|
*/
|
|
36
|
-
state:
|
|
36
|
+
state: LicenceListResourceStateEnum;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {string}
|
|
@@ -71,6 +71,15 @@ export interface LicenceListResource {
|
|
|
71
71
|
*/
|
|
72
72
|
createdAt?: Date | null;
|
|
73
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* @export
|
|
76
|
+
*/
|
|
77
|
+
export declare const LicenceListResourceStateEnum: {
|
|
78
|
+
readonly Qld: "QLD";
|
|
79
|
+
readonly Nsw: "NSW";
|
|
80
|
+
readonly Vic: "VIC";
|
|
81
|
+
};
|
|
82
|
+
export type LicenceListResourceStateEnum = typeof LicenceListResourceStateEnum[keyof typeof LicenceListResourceStateEnum];
|
|
74
83
|
/**
|
|
75
84
|
* Check if a given object implements the LicenceListResource interface.
|
|
76
85
|
*/
|
|
@@ -13,12 +13,21 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LicenceListResourceStateEnum = void 0;
|
|
16
17
|
exports.instanceOfLicenceListResource = instanceOfLicenceListResource;
|
|
17
18
|
exports.LicenceListResourceFromJSON = LicenceListResourceFromJSON;
|
|
18
19
|
exports.LicenceListResourceFromJSONTyped = LicenceListResourceFromJSONTyped;
|
|
19
20
|
exports.LicenceListResourceToJSON = LicenceListResourceToJSON;
|
|
20
21
|
exports.LicenceListResourceToJSONTyped = LicenceListResourceToJSONTyped;
|
|
21
22
|
var UserRelationResource_1 = require("./UserRelationResource");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.LicenceListResourceStateEnum = {
|
|
27
|
+
Qld: 'QLD',
|
|
28
|
+
Nsw: 'NSW',
|
|
29
|
+
Vic: 'VIC'
|
|
30
|
+
};
|
|
22
31
|
/**
|
|
23
32
|
* Check if a given object implements the LicenceListResource interface.
|
|
24
33
|
*/
|
|
@@ -29,11 +29,20 @@ export interface LicenceLiteResource {
|
|
|
29
29
|
licenceNumber: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {string}
|
|
33
33
|
* @memberof LicenceLiteResource
|
|
34
34
|
*/
|
|
35
|
-
state:
|
|
35
|
+
state: LicenceLiteResourceStateEnum;
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const LicenceLiteResourceStateEnum: {
|
|
41
|
+
readonly Qld: "QLD";
|
|
42
|
+
readonly Nsw: "NSW";
|
|
43
|
+
readonly Vic: "VIC";
|
|
44
|
+
};
|
|
45
|
+
export type LicenceLiteResourceStateEnum = typeof LicenceLiteResourceStateEnum[keyof typeof LicenceLiteResourceStateEnum];
|
|
37
46
|
/**
|
|
38
47
|
* Check if a given object implements the LicenceLiteResource interface.
|
|
39
48
|
*/
|
|
@@ -13,11 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LicenceLiteResourceStateEnum = void 0;
|
|
16
17
|
exports.instanceOfLicenceLiteResource = instanceOfLicenceLiteResource;
|
|
17
18
|
exports.LicenceLiteResourceFromJSON = LicenceLiteResourceFromJSON;
|
|
18
19
|
exports.LicenceLiteResourceFromJSONTyped = LicenceLiteResourceFromJSONTyped;
|
|
19
20
|
exports.LicenceLiteResourceToJSON = LicenceLiteResourceToJSON;
|
|
20
21
|
exports.LicenceLiteResourceToJSONTyped = LicenceLiteResourceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.LicenceLiteResourceStateEnum = {
|
|
26
|
+
Qld: 'QLD',
|
|
27
|
+
Nsw: 'NSW',
|
|
28
|
+
Vic: 'VIC'
|
|
29
|
+
};
|
|
21
30
|
/**
|
|
22
31
|
* Check if a given object implements the LicenceLiteResource interface.
|
|
23
32
|
*/
|
|
@@ -30,10 +30,10 @@ export interface LicenceResource {
|
|
|
30
30
|
user: UserRelationResource | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {string}
|
|
34
34
|
* @memberof LicenceResource
|
|
35
35
|
*/
|
|
36
|
-
state:
|
|
36
|
+
state: LicenceResourceStateEnum;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {string}
|
|
@@ -101,6 +101,15 @@ export interface LicenceResource {
|
|
|
101
101
|
*/
|
|
102
102
|
updatedAt?: Date | null;
|
|
103
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* @export
|
|
106
|
+
*/
|
|
107
|
+
export declare const LicenceResourceStateEnum: {
|
|
108
|
+
readonly Qld: "QLD";
|
|
109
|
+
readonly Nsw: "NSW";
|
|
110
|
+
readonly Vic: "VIC";
|
|
111
|
+
};
|
|
112
|
+
export type LicenceResourceStateEnum = typeof LicenceResourceStateEnum[keyof typeof LicenceResourceStateEnum];
|
|
104
113
|
/**
|
|
105
114
|
* Check if a given object implements the LicenceResource interface.
|
|
106
115
|
*/
|
|
@@ -13,12 +13,21 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LicenceResourceStateEnum = void 0;
|
|
16
17
|
exports.instanceOfLicenceResource = instanceOfLicenceResource;
|
|
17
18
|
exports.LicenceResourceFromJSON = LicenceResourceFromJSON;
|
|
18
19
|
exports.LicenceResourceFromJSONTyped = LicenceResourceFromJSONTyped;
|
|
19
20
|
exports.LicenceResourceToJSON = LicenceResourceToJSON;
|
|
20
21
|
exports.LicenceResourceToJSONTyped = LicenceResourceToJSONTyped;
|
|
21
22
|
var UserRelationResource_1 = require("./UserRelationResource");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.LicenceResourceStateEnum = {
|
|
27
|
+
Qld: 'QLD',
|
|
28
|
+
Nsw: 'NSW',
|
|
29
|
+
Vic: 'VIC'
|
|
30
|
+
};
|
|
22
31
|
/**
|
|
23
32
|
* Check if a given object implements the LicenceResource interface.
|
|
24
33
|
*/
|
|
@@ -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
|
*/
|
|
@@ -46,19 +46,19 @@ export interface RegisterListResource {
|
|
|
46
46
|
* @type {Date}
|
|
47
47
|
* @memberof RegisterListResource
|
|
48
48
|
*/
|
|
49
|
-
finishDateTime
|
|
49
|
+
finishDateTime: Date;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {string}
|
|
53
53
|
* @memberof RegisterListResource
|
|
54
54
|
*/
|
|
55
|
-
shiftLength:
|
|
55
|
+
shiftLength: string;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
59
59
|
* @memberof RegisterListResource
|
|
60
60
|
*/
|
|
61
|
-
signOffStatus:
|
|
61
|
+
signOffStatus: RegisterListResourceSignOffStatusEnum;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @type {string}
|
|
@@ -148,7 +148,7 @@ 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}
|
|
@@ -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
|
*/
|
|
@@ -30,6 +39,8 @@ function instanceOfRegisterListResource(value) {
|
|
|
30
39
|
return false;
|
|
31
40
|
if (!('startDateTime' in value) || value['startDateTime'] === undefined)
|
|
32
41
|
return false;
|
|
42
|
+
if (!('finishDateTime' in value) || value['finishDateTime'] === undefined)
|
|
43
|
+
return false;
|
|
33
44
|
if (!('shiftLength' in value) || value['shiftLength'] === undefined)
|
|
34
45
|
return false;
|
|
35
46
|
if (!('signOffStatus' in value) || value['signOffStatus'] === undefined)
|
|
@@ -60,8 +71,6 @@ function instanceOfRegisterListResource(value) {
|
|
|
60
71
|
return false;
|
|
61
72
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined)
|
|
62
73
|
return false;
|
|
63
|
-
if (!('signOffLat' in value) || value['signOffLat'] === undefined)
|
|
64
|
-
return false;
|
|
65
74
|
if (!('hasIncidents' in value) || value['hasIncidents'] === undefined)
|
|
66
75
|
return false;
|
|
67
76
|
return true;
|
|
@@ -78,7 +87,7 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
78
87
|
'user': (0, UserLiteResource_1.UserLiteResourceFromJSON)(json['user']),
|
|
79
88
|
'venue': (0, VenueLiteResource_1.VenueLiteResourceFromJSON)(json['venue']),
|
|
80
89
|
'startDateTime': (new Date(json['startDateTime'])),
|
|
81
|
-
'finishDateTime':
|
|
90
|
+
'finishDateTime': (new Date(json['finishDateTime'])),
|
|
82
91
|
'shiftLength': json['shiftLength'],
|
|
83
92
|
'signOffStatus': json['signOffStatus'],
|
|
84
93
|
'badgeNumber': json['badgeNumber'] == null ? undefined : json['badgeNumber'],
|
|
@@ -95,7 +104,7 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
95
104
|
'firstAid': json['firstAid'],
|
|
96
105
|
'signOnLat': json['signOnLat'],
|
|
97
106
|
'signOnLong': json['signOnLong'],
|
|
98
|
-
'signOffLat': json['signOffLat'],
|
|
107
|
+
'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
|
|
99
108
|
'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
|
|
100
109
|
'hasIncidents': json['hasIncidents'],
|
|
101
110
|
};
|
|
@@ -104,7 +113,6 @@ function RegisterListResourceToJSON(json) {
|
|
|
104
113
|
return RegisterListResourceToJSONTyped(json, false);
|
|
105
114
|
}
|
|
106
115
|
function RegisterListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
107
|
-
var _a;
|
|
108
116
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
109
117
|
if (value == null) {
|
|
110
118
|
return value;
|
|
@@ -114,7 +122,7 @@ function RegisterListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
114
122
|
'user': (0, UserLiteResource_1.UserLiteResourceToJSON)(value['user']),
|
|
115
123
|
'venue': (0, VenueLiteResource_1.VenueLiteResourceToJSON)(value['venue']),
|
|
116
124
|
'startDateTime': ((value['startDateTime']).toISOString()),
|
|
117
|
-
'finishDateTime':
|
|
125
|
+
'finishDateTime': ((value['finishDateTime']).toISOString()),
|
|
118
126
|
'shiftLength': value['shiftLength'],
|
|
119
127
|
'signOffStatus': value['signOffStatus'],
|
|
120
128
|
'badgeNumber': value['badgeNumber'],
|
|
@@ -52,7 +52,7 @@ export interface RegisterResource {
|
|
|
52
52
|
* @type {number}
|
|
53
53
|
* @memberof RegisterResource
|
|
54
54
|
*/
|
|
55
|
-
signOffStatus:
|
|
55
|
+
signOffStatus: RegisterResourceSignOffStatusEnum;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {object}
|
|
@@ -112,7 +112,7 @@ export interface RegisterResource {
|
|
|
112
112
|
* @type {number}
|
|
113
113
|
* @memberof RegisterResource
|
|
114
114
|
*/
|
|
115
|
-
signOffLong
|
|
115
|
+
signOffLong: number;
|
|
116
116
|
/**
|
|
117
117
|
*
|
|
118
118
|
* @type {string}
|
|
@@ -162,6 +162,15 @@ export interface RegisterResource {
|
|
|
162
162
|
*/
|
|
163
163
|
updatedAt?: Date | null;
|
|
164
164
|
}
|
|
165
|
+
/**
|
|
166
|
+
* @export
|
|
167
|
+
*/
|
|
168
|
+
export declare const RegisterResourceSignOffStatusEnum: {
|
|
169
|
+
readonly NUMBER_0: 0;
|
|
170
|
+
readonly NUMBER_1: 1;
|
|
171
|
+
readonly NUMBER_2: 2;
|
|
172
|
+
};
|
|
173
|
+
export type RegisterResourceSignOffStatusEnum = typeof RegisterResourceSignOffStatusEnum[keyof typeof RegisterResourceSignOffStatusEnum];
|
|
165
174
|
/**
|
|
166
175
|
* Check if a given object implements the RegisterResource interface.
|
|
167
176
|
*/
|