@digital8/security-registers-backend-ts-sdk 0.0.711 → 0.0.712
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 +15 -0
- package/README.md +2 -2
- package/dist/models/AustralianState.d.ts +31 -0
- package/dist/models/AustralianState.js +57 -0
- package/dist/models/AuthRegisterGuardRequestLicencesInner.d.ts +3 -11
- package/dist/models/AuthRegisterGuardRequestLicencesInner.js +3 -11
- package/dist/models/DevicesRegisterRequest.d.ts +3 -10
- package/dist/models/DevicesRegisterRequest.js +3 -10
- package/dist/models/ExportQueuedResource.d.ts +3 -12
- package/dist/models/ExportQueuedResource.js +3 -12
- package/dist/models/IncidentFieldSchemaResource.d.ts +6 -21
- package/dist/models/IncidentFieldSchemaResource.js +6 -20
- package/dist/models/IncidentSchemaType.d.ts +25 -0
- package/dist/models/IncidentSchemaType.js +51 -0
- package/dist/models/IncidentVideoResource.d.ts +3 -11
- package/dist/models/IncidentVideoResource.js +3 -11
- package/dist/models/IncidentVideoStatus.d.ts +26 -0
- package/dist/models/IncidentVideoStatus.js +52 -0
- package/dist/models/LicenceCheckLogResource.d.ts +3 -15
- package/dist/models/LicenceCheckLogResource.js +3 -15
- package/dist/models/LicenceCheckSource.d.ts +30 -0
- package/dist/models/LicenceCheckSource.js +56 -0
- package/dist/models/LicenceListResource.d.ts +3 -11
- package/dist/models/LicenceListResource.js +3 -11
- package/dist/models/LicenceLiteResource.d.ts +3 -11
- package/dist/models/LicenceLiteResource.js +3 -11
- package/dist/models/LicenceResource.d.ts +3 -11
- package/dist/models/LicenceResource.js +3 -11
- package/dist/models/LicenceState.d.ts +26 -0
- package/dist/models/LicenceState.js +52 -0
- package/dist/models/LicencesStoreRequest.d.ts +3 -11
- package/dist/models/LicencesStoreRequest.js +3 -11
- package/dist/models/LicencesUpdateRequest.d.ts +3 -11
- package/dist/models/LicencesUpdateRequest.js +3 -11
- package/dist/models/LicencesVerifyRequest.d.ts +3 -11
- package/dist/models/LicencesVerifyRequest.js +3 -11
- package/dist/models/LoginPlatform.d.ts +25 -0
- package/dist/models/LoginPlatform.js +51 -0
- package/dist/models/MobileAppConfigRequest.d.ts +3 -10
- package/dist/models/MobileAppConfigRequest.js +3 -10
- package/dist/models/MobileAppConfigResource.d.ts +3 -10
- package/dist/models/MobileAppConfigResource.js +3 -10
- package/dist/models/MobileDevicePlatform.d.ts +25 -0
- package/dist/models/MobileDevicePlatform.js +51 -0
- package/dist/models/MobileDeviceResource.d.ts +3 -10
- package/dist/models/MobileDeviceResource.js +3 -10
- package/dist/models/NotificationPreferenceResource.d.ts +3 -17
- package/dist/models/NotificationPreferenceResource.js +3 -17
- package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.d.ts +3 -17
- package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.js +3 -17
- package/dist/models/NotificationPreferencesStoreRequest.d.ts +3 -17
- package/dist/models/NotificationPreferencesStoreRequest.js +3 -17
- package/dist/models/NotificationStatus.d.ts +25 -0
- package/dist/models/NotificationStatus.js +51 -0
- package/dist/models/NotificationType.d.ts +32 -0
- package/dist/models/NotificationType.js +58 -0
- package/dist/models/PdfExportDownloadType.d.ts +26 -0
- package/dist/models/PdfExportDownloadType.js +52 -0
- package/dist/models/PdfExportKind.d.ts +28 -0
- package/dist/models/PdfExportKind.js +54 -0
- package/dist/models/PdfExportResource.d.ts +3 -12
- package/dist/models/PdfExportResource.js +3 -12
- package/dist/models/PdfExportStatus.d.ts +27 -0
- package/dist/models/PdfExportStatus.js +53 -0
- package/dist/models/RecordSource.d.ts +28 -0
- package/dist/models/RecordSource.js +54 -0
- package/dist/models/RegisterListResource.d.ts +3 -11
- package/dist/models/RegisterListResource.js +3 -11
- package/dist/models/RegisterResource.d.ts +3 -11
- package/dist/models/RegisterResource.js +3 -11
- package/dist/models/RegistersUpdateRequest.d.ts +3 -11
- package/dist/models/RegistersUpdateRequest.js +3 -11
- package/dist/models/RosterListResource.d.ts +3 -11
- package/dist/models/RosterListResource.js +3 -11
- package/dist/models/RosterResource.d.ts +3 -11
- package/dist/models/RosterResource.js +3 -11
- package/dist/models/RosterWithRegistersResource.d.ts +3 -11
- package/dist/models/RosterWithRegistersResource.js +3 -11
- package/dist/models/RostersUpdateRequest.d.ts +3 -11
- package/dist/models/RostersUpdateRequest.js +3 -11
- package/dist/models/SignOffStatus.d.ts +26 -0
- package/dist/models/SignOffStatus.js +52 -0
- package/dist/models/UserRole.d.ts +29 -0
- package/dist/models/UserRole.js +55 -0
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -0
- package/package.json +1 -1
- package/src/models/AustralianState.ts +59 -0
- package/src/models/AuthRegisterGuardRequestLicencesInner.ts +11 -14
- package/src/models/DevicesRegisterRequest.ts +12 -13
- package/src/models/ExportQueuedResource.ts +12 -15
- package/src/models/IncidentFieldSchemaResource.ts +23 -27
- package/src/models/IncidentSchemaType.ts +53 -0
- package/src/models/IncidentVideoResource.ts +12 -14
- package/src/models/IncidentVideoStatus.ts +54 -0
- package/src/models/LicenceCheckLogResource.ts +12 -18
- package/src/models/LicenceCheckSource.ts +58 -0
- package/src/models/LicenceListResource.ts +11 -14
- package/src/models/LicenceLiteResource.ts +12 -14
- package/src/models/LicenceResource.ts +11 -14
- package/src/models/LicenceState.ts +54 -0
- package/src/models/LicencesStoreRequest.ts +11 -14
- package/src/models/LicencesUpdateRequest.ts +11 -14
- package/src/models/LicencesVerifyRequest.ts +12 -14
- package/src/models/LoginPlatform.ts +53 -0
- package/src/models/MobileAppConfigRequest.ts +12 -13
- package/src/models/MobileAppConfigResource.ts +12 -13
- package/src/models/MobileDevicePlatform.ts +53 -0
- package/src/models/MobileDeviceResource.ts +12 -13
- package/src/models/NotificationPreferenceResource.ts +11 -20
- package/src/models/NotificationPreferencesBulkRequestPreferencesInner.ts +12 -20
- package/src/models/NotificationPreferencesStoreRequest.ts +12 -20
- package/src/models/NotificationStatus.ts +53 -0
- package/src/models/NotificationType.ts +60 -0
- package/src/models/PdfExportDownloadType.ts +54 -0
- package/src/models/PdfExportKind.ts +56 -0
- package/src/models/PdfExportResource.ts +12 -15
- package/src/models/PdfExportStatus.ts +55 -0
- package/src/models/RecordSource.ts +56 -0
- package/src/models/RegisterListResource.ts +11 -14
- package/src/models/RegisterResource.ts +11 -14
- package/src/models/RegistersUpdateRequest.ts +11 -14
- package/src/models/RosterListResource.ts +11 -14
- package/src/models/RosterResource.ts +11 -14
- package/src/models/RosterWithRegistersResource.ts +11 -14
- package/src/models/RostersUpdateRequest.ts +12 -14
- package/src/models/SignOffStatus.ts +54 -0
- package/src/models/UserRole.ts +57 -0
- package/src/models/index.ts +15 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Security Registers API
|
|
6
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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.SignOffStatus = void 0;
|
|
17
|
+
exports.instanceOfSignOffStatus = instanceOfSignOffStatus;
|
|
18
|
+
exports.SignOffStatusFromJSON = SignOffStatusFromJSON;
|
|
19
|
+
exports.SignOffStatusFromJSONTyped = SignOffStatusFromJSONTyped;
|
|
20
|
+
exports.SignOffStatusToJSON = SignOffStatusToJSON;
|
|
21
|
+
exports.SignOffStatusToJSONTyped = SignOffStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.SignOffStatus = {
|
|
27
|
+
NUMBER_0: 0,
|
|
28
|
+
NUMBER_1: 1,
|
|
29
|
+
NUMBER_2: 2
|
|
30
|
+
};
|
|
31
|
+
function instanceOfSignOffStatus(value) {
|
|
32
|
+
for (var key in exports.SignOffStatus) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.SignOffStatus, key)) {
|
|
34
|
+
if (exports.SignOffStatus[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function SignOffStatusFromJSON(json) {
|
|
42
|
+
return SignOffStatusFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function SignOffStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function SignOffStatusToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function SignOffStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Security Registers API
|
|
3
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const UserRole: {
|
|
17
|
+
readonly Superadmin: "superadmin";
|
|
18
|
+
readonly Admin: "admin";
|
|
19
|
+
readonly SecurityCompanyManager: "security_company_manager";
|
|
20
|
+
readonly VenueManager: "venue_manager";
|
|
21
|
+
readonly VenueStaff: "venue_staff";
|
|
22
|
+
readonly VenueGuard: "venue_guard";
|
|
23
|
+
};
|
|
24
|
+
export type UserRole = typeof UserRole[keyof typeof UserRole];
|
|
25
|
+
export declare function instanceOfUserRole(value: any): boolean;
|
|
26
|
+
export declare function UserRoleFromJSON(json: any): UserRole;
|
|
27
|
+
export declare function UserRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRole;
|
|
28
|
+
export declare function UserRoleToJSON(value?: UserRole | null): any;
|
|
29
|
+
export declare function UserRoleToJSONTyped(value: any, ignoreDiscriminator: boolean): UserRole;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Security Registers API
|
|
6
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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.UserRole = void 0;
|
|
17
|
+
exports.instanceOfUserRole = instanceOfUserRole;
|
|
18
|
+
exports.UserRoleFromJSON = UserRoleFromJSON;
|
|
19
|
+
exports.UserRoleFromJSONTyped = UserRoleFromJSONTyped;
|
|
20
|
+
exports.UserRoleToJSON = UserRoleToJSON;
|
|
21
|
+
exports.UserRoleToJSONTyped = UserRoleToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.UserRole = {
|
|
27
|
+
Superadmin: 'superadmin',
|
|
28
|
+
Admin: 'admin',
|
|
29
|
+
SecurityCompanyManager: 'security_company_manager',
|
|
30
|
+
VenueManager: 'venue_manager',
|
|
31
|
+
VenueStaff: 'venue_staff',
|
|
32
|
+
VenueGuard: 'venue_guard'
|
|
33
|
+
};
|
|
34
|
+
function instanceOfUserRole(value) {
|
|
35
|
+
for (var key in exports.UserRole) {
|
|
36
|
+
if (Object.prototype.hasOwnProperty.call(exports.UserRole, key)) {
|
|
37
|
+
if (exports.UserRole[key] === value) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
function UserRoleFromJSON(json) {
|
|
45
|
+
return UserRoleFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function UserRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
function UserRoleToJSON(value) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
function UserRoleToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './AssetLiteResourceArrayResponse';
|
|
|
7
7
|
export * from './AssetResource';
|
|
8
8
|
export * from './AssetResourceArrayResponse';
|
|
9
9
|
export * from './AssetsFileStoreRequest';
|
|
10
|
+
export * from './AustralianState';
|
|
10
11
|
export * from './AuthChangePasswordRequest';
|
|
11
12
|
export * from './AuthForgotPasswordRequest';
|
|
12
13
|
export * from './AuthLoginWebRequest';
|
|
@@ -42,12 +43,14 @@ export * from './IncidentLiteResourceArrayResponse';
|
|
|
42
43
|
export * from './IncidentLiteResourceStaff';
|
|
43
44
|
export * from './IncidentResource';
|
|
44
45
|
export * from './IncidentResourceArrayResponse';
|
|
46
|
+
export * from './IncidentSchemaType';
|
|
45
47
|
export * from './IncidentVersionResource';
|
|
46
48
|
export * from './IncidentVersionResourceArrayResponse';
|
|
47
49
|
export * from './IncidentVideoResource';
|
|
48
50
|
export * from './IncidentVideoResourceArrayResponse';
|
|
49
51
|
export * from './IncidentVideoSignedUrlResource';
|
|
50
52
|
export * from './IncidentVideoSignedUrlResourceArrayResponse';
|
|
53
|
+
export * from './IncidentVideoStatus';
|
|
51
54
|
export * from './IncidentVideoUploadTokenResource';
|
|
52
55
|
export * from './IncidentVideoUploadTokenResourceArrayResponse';
|
|
53
56
|
export * from './IncidentVideosRecentRequest';
|
|
@@ -64,12 +67,14 @@ export * from './IncidentsVideosStoreRequest';
|
|
|
64
67
|
export * from './IncidentsVideosUploadTokenRequest';
|
|
65
68
|
export * from './LicenceCheckLogResource';
|
|
66
69
|
export * from './LicenceCheckLogResourceArrayResponse';
|
|
70
|
+
export * from './LicenceCheckSource';
|
|
67
71
|
export * from './LicenceListResource';
|
|
68
72
|
export * from './LicenceListResourceArrayResponse';
|
|
69
73
|
export * from './LicenceLiteResource';
|
|
70
74
|
export * from './LicenceLiteResourceArrayResponse';
|
|
71
75
|
export * from './LicenceResource';
|
|
72
76
|
export * from './LicenceResourceArrayResponse';
|
|
77
|
+
export * from './LicenceState';
|
|
73
78
|
export * from './LicenceVerificationFallbackSettingResource';
|
|
74
79
|
export * from './LicenceVerificationFallbackSettingResourceArrayResponse';
|
|
75
80
|
export * from './LicencesCheckLogsListRequest';
|
|
@@ -79,9 +84,11 @@ export * from './LicencesStoreRequest';
|
|
|
79
84
|
export * from './LicencesStoreRequestBackAsset';
|
|
80
85
|
export * from './LicencesUpdateRequest';
|
|
81
86
|
export * from './LicencesVerifyRequest';
|
|
87
|
+
export * from './LoginPlatform';
|
|
82
88
|
export * from './MobileAppConfigRequest';
|
|
83
89
|
export * from './MobileAppConfigResource';
|
|
84
90
|
export * from './MobileAppConfigResourceArrayResponse';
|
|
91
|
+
export * from './MobileDevicePlatform';
|
|
85
92
|
export * from './MobileDeviceResource';
|
|
86
93
|
export * from './MobileDeviceResourceArrayResponse';
|
|
87
94
|
export * from './MobileInitResource';
|
|
@@ -91,6 +98,8 @@ export * from './NotificationPreferenceResourceArrayResponse';
|
|
|
91
98
|
export * from './NotificationPreferencesBulkRequest';
|
|
92
99
|
export * from './NotificationPreferencesBulkRequestPreferencesInner';
|
|
93
100
|
export * from './NotificationPreferencesStoreRequest';
|
|
101
|
+
export * from './NotificationStatus';
|
|
102
|
+
export * from './NotificationType';
|
|
94
103
|
export * from './NotificationTypeResource';
|
|
95
104
|
export * from './NotificationTypeResourceArrayResponse';
|
|
96
105
|
export * from './PaginatedIncidentListResourceResponse';
|
|
@@ -108,10 +117,14 @@ export * from './PaginatedSecurityCompanyResourceResponse';
|
|
|
108
117
|
export * from './PaginatedUserResourceResponse';
|
|
109
118
|
export * from './PaginatedVenueResourceResponse';
|
|
110
119
|
export * from './PagingMetadata';
|
|
120
|
+
export * from './PdfExportDownloadType';
|
|
121
|
+
export * from './PdfExportKind';
|
|
111
122
|
export * from './PdfExportResource';
|
|
112
123
|
export * from './PdfExportResourceArrayResponse';
|
|
124
|
+
export * from './PdfExportStatus';
|
|
113
125
|
export * from './RecentVideoListResource';
|
|
114
126
|
export * from './RecentVideoListResourceArrayResponse';
|
|
127
|
+
export * from './RecordSource';
|
|
115
128
|
export * from './RegisterGroupedByRosterResource';
|
|
116
129
|
export * from './RegisterGroupedByRosterResourceArrayResponse';
|
|
117
130
|
export * from './RegisterListResource';
|
|
@@ -150,6 +163,7 @@ export * from './SecurityCompanyLiteResourceArrayResponse';
|
|
|
150
163
|
export * from './SecurityCompanyResource';
|
|
151
164
|
export * from './SecurityCompanyResourceArrayResponse';
|
|
152
165
|
export * from './SettingsLicenceVerificationFallbackUpdateRequest';
|
|
166
|
+
export * from './SignOffStatus';
|
|
153
167
|
export * from './StoreUserRequest';
|
|
154
168
|
export * from './UserAuthTokenResource';
|
|
155
169
|
export * from './UserAuthTokenResourceArrayResponse';
|
|
@@ -159,6 +173,7 @@ export * from './UserRelationResource';
|
|
|
159
173
|
export * from './UserRelationResourceArrayResponse';
|
|
160
174
|
export * from './UserResource';
|
|
161
175
|
export * from './UserResourceArrayResponse';
|
|
176
|
+
export * from './UserRole';
|
|
162
177
|
export * from './UserVenueResource';
|
|
163
178
|
export * from './UserVenueResourceArrayResponse';
|
|
164
179
|
export * from './UsersAttachSecurityCompaniesRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __exportStar(require("./AssetLiteResourceArrayResponse"), exports);
|
|
|
25
25
|
__exportStar(require("./AssetResource"), exports);
|
|
26
26
|
__exportStar(require("./AssetResourceArrayResponse"), exports);
|
|
27
27
|
__exportStar(require("./AssetsFileStoreRequest"), exports);
|
|
28
|
+
__exportStar(require("./AustralianState"), exports);
|
|
28
29
|
__exportStar(require("./AuthChangePasswordRequest"), exports);
|
|
29
30
|
__exportStar(require("./AuthForgotPasswordRequest"), exports);
|
|
30
31
|
__exportStar(require("./AuthLoginWebRequest"), exports);
|
|
@@ -60,12 +61,14 @@ __exportStar(require("./IncidentLiteResourceArrayResponse"), exports);
|
|
|
60
61
|
__exportStar(require("./IncidentLiteResourceStaff"), exports);
|
|
61
62
|
__exportStar(require("./IncidentResource"), exports);
|
|
62
63
|
__exportStar(require("./IncidentResourceArrayResponse"), exports);
|
|
64
|
+
__exportStar(require("./IncidentSchemaType"), exports);
|
|
63
65
|
__exportStar(require("./IncidentVersionResource"), exports);
|
|
64
66
|
__exportStar(require("./IncidentVersionResourceArrayResponse"), exports);
|
|
65
67
|
__exportStar(require("./IncidentVideoResource"), exports);
|
|
66
68
|
__exportStar(require("./IncidentVideoResourceArrayResponse"), exports);
|
|
67
69
|
__exportStar(require("./IncidentVideoSignedUrlResource"), exports);
|
|
68
70
|
__exportStar(require("./IncidentVideoSignedUrlResourceArrayResponse"), exports);
|
|
71
|
+
__exportStar(require("./IncidentVideoStatus"), exports);
|
|
69
72
|
__exportStar(require("./IncidentVideoUploadTokenResource"), exports);
|
|
70
73
|
__exportStar(require("./IncidentVideoUploadTokenResourceArrayResponse"), exports);
|
|
71
74
|
__exportStar(require("./IncidentVideosRecentRequest"), exports);
|
|
@@ -82,12 +85,14 @@ __exportStar(require("./IncidentsVideosStoreRequest"), exports);
|
|
|
82
85
|
__exportStar(require("./IncidentsVideosUploadTokenRequest"), exports);
|
|
83
86
|
__exportStar(require("./LicenceCheckLogResource"), exports);
|
|
84
87
|
__exportStar(require("./LicenceCheckLogResourceArrayResponse"), exports);
|
|
88
|
+
__exportStar(require("./LicenceCheckSource"), exports);
|
|
85
89
|
__exportStar(require("./LicenceListResource"), exports);
|
|
86
90
|
__exportStar(require("./LicenceListResourceArrayResponse"), exports);
|
|
87
91
|
__exportStar(require("./LicenceLiteResource"), exports);
|
|
88
92
|
__exportStar(require("./LicenceLiteResourceArrayResponse"), exports);
|
|
89
93
|
__exportStar(require("./LicenceResource"), exports);
|
|
90
94
|
__exportStar(require("./LicenceResourceArrayResponse"), exports);
|
|
95
|
+
__exportStar(require("./LicenceState"), exports);
|
|
91
96
|
__exportStar(require("./LicenceVerificationFallbackSettingResource"), exports);
|
|
92
97
|
__exportStar(require("./LicenceVerificationFallbackSettingResourceArrayResponse"), exports);
|
|
93
98
|
__exportStar(require("./LicencesCheckLogsListRequest"), exports);
|
|
@@ -97,9 +102,11 @@ __exportStar(require("./LicencesStoreRequest"), exports);
|
|
|
97
102
|
__exportStar(require("./LicencesStoreRequestBackAsset"), exports);
|
|
98
103
|
__exportStar(require("./LicencesUpdateRequest"), exports);
|
|
99
104
|
__exportStar(require("./LicencesVerifyRequest"), exports);
|
|
105
|
+
__exportStar(require("./LoginPlatform"), exports);
|
|
100
106
|
__exportStar(require("./MobileAppConfigRequest"), exports);
|
|
101
107
|
__exportStar(require("./MobileAppConfigResource"), exports);
|
|
102
108
|
__exportStar(require("./MobileAppConfigResourceArrayResponse"), exports);
|
|
109
|
+
__exportStar(require("./MobileDevicePlatform"), exports);
|
|
103
110
|
__exportStar(require("./MobileDeviceResource"), exports);
|
|
104
111
|
__exportStar(require("./MobileDeviceResourceArrayResponse"), exports);
|
|
105
112
|
__exportStar(require("./MobileInitResource"), exports);
|
|
@@ -109,6 +116,8 @@ __exportStar(require("./NotificationPreferenceResourceArrayResponse"), exports);
|
|
|
109
116
|
__exportStar(require("./NotificationPreferencesBulkRequest"), exports);
|
|
110
117
|
__exportStar(require("./NotificationPreferencesBulkRequestPreferencesInner"), exports);
|
|
111
118
|
__exportStar(require("./NotificationPreferencesStoreRequest"), exports);
|
|
119
|
+
__exportStar(require("./NotificationStatus"), exports);
|
|
120
|
+
__exportStar(require("./NotificationType"), exports);
|
|
112
121
|
__exportStar(require("./NotificationTypeResource"), exports);
|
|
113
122
|
__exportStar(require("./NotificationTypeResourceArrayResponse"), exports);
|
|
114
123
|
__exportStar(require("./PaginatedIncidentListResourceResponse"), exports);
|
|
@@ -126,10 +135,14 @@ __exportStar(require("./PaginatedSecurityCompanyResourceResponse"), exports);
|
|
|
126
135
|
__exportStar(require("./PaginatedUserResourceResponse"), exports);
|
|
127
136
|
__exportStar(require("./PaginatedVenueResourceResponse"), exports);
|
|
128
137
|
__exportStar(require("./PagingMetadata"), exports);
|
|
138
|
+
__exportStar(require("./PdfExportDownloadType"), exports);
|
|
139
|
+
__exportStar(require("./PdfExportKind"), exports);
|
|
129
140
|
__exportStar(require("./PdfExportResource"), exports);
|
|
130
141
|
__exportStar(require("./PdfExportResourceArrayResponse"), exports);
|
|
142
|
+
__exportStar(require("./PdfExportStatus"), exports);
|
|
131
143
|
__exportStar(require("./RecentVideoListResource"), exports);
|
|
132
144
|
__exportStar(require("./RecentVideoListResourceArrayResponse"), exports);
|
|
145
|
+
__exportStar(require("./RecordSource"), exports);
|
|
133
146
|
__exportStar(require("./RegisterGroupedByRosterResource"), exports);
|
|
134
147
|
__exportStar(require("./RegisterGroupedByRosterResourceArrayResponse"), exports);
|
|
135
148
|
__exportStar(require("./RegisterListResource"), exports);
|
|
@@ -168,6 +181,7 @@ __exportStar(require("./SecurityCompanyLiteResourceArrayResponse"), exports);
|
|
|
168
181
|
__exportStar(require("./SecurityCompanyResource"), exports);
|
|
169
182
|
__exportStar(require("./SecurityCompanyResourceArrayResponse"), exports);
|
|
170
183
|
__exportStar(require("./SettingsLicenceVerificationFallbackUpdateRequest"), exports);
|
|
184
|
+
__exportStar(require("./SignOffStatus"), exports);
|
|
171
185
|
__exportStar(require("./StoreUserRequest"), exports);
|
|
172
186
|
__exportStar(require("./UserAuthTokenResource"), exports);
|
|
173
187
|
__exportStar(require("./UserAuthTokenResourceArrayResponse"), exports);
|
|
@@ -177,6 +191,7 @@ __exportStar(require("./UserRelationResource"), exports);
|
|
|
177
191
|
__exportStar(require("./UserRelationResourceArrayResponse"), exports);
|
|
178
192
|
__exportStar(require("./UserResource"), exports);
|
|
179
193
|
__exportStar(require("./UserResourceArrayResponse"), exports);
|
|
194
|
+
__exportStar(require("./UserRole"), exports);
|
|
180
195
|
__exportStar(require("./UserVenueResource"), exports);
|
|
181
196
|
__exportStar(require("./UserVenueResourceArrayResponse"), exports);
|
|
182
197
|
__exportStar(require("./UsersAttachSecurityCompaniesRequest"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Security Registers API
|
|
5
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const AustralianState = {
|
|
21
|
+
Qld: 'QLD',
|
|
22
|
+
Nsw: 'NSW',
|
|
23
|
+
Act: 'ACT',
|
|
24
|
+
Vic: 'VIC',
|
|
25
|
+
Tas: 'TAS',
|
|
26
|
+
Sa: 'SA',
|
|
27
|
+
Wa: 'WA',
|
|
28
|
+
Nt: 'NT'
|
|
29
|
+
} as const;
|
|
30
|
+
export type AustralianState = typeof AustralianState[keyof typeof AustralianState];
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
export function instanceOfAustralianState(value: any): boolean {
|
|
34
|
+
for (const key in AustralianState) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(AustralianState, key)) {
|
|
36
|
+
if (AustralianState[key as keyof typeof AustralianState] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function AustralianStateFromJSON(json: any): AustralianState {
|
|
45
|
+
return AustralianStateFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function AustralianStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): AustralianState {
|
|
49
|
+
return json as AustralianState;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function AustralianStateToJSON(value?: AustralianState | null): any {
|
|
53
|
+
return value as any;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function AustralianStateToJSONTyped(value: any, ignoreDiscriminator: boolean): AustralianState {
|
|
57
|
+
return value as AustralianState;
|
|
58
|
+
}
|
|
59
|
+
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
BackAssetToJSON,
|
|
28
28
|
BackAssetToJSONTyped,
|
|
29
29
|
} from './BackAsset';
|
|
30
|
+
import type { LicenceState } from './LicenceState';
|
|
31
|
+
import {
|
|
32
|
+
LicenceStateFromJSON,
|
|
33
|
+
LicenceStateFromJSONTyped,
|
|
34
|
+
LicenceStateToJSON,
|
|
35
|
+
LicenceStateToJSONTyped,
|
|
36
|
+
} from './LicenceState';
|
|
30
37
|
import type { FrontAsset } from './FrontAsset';
|
|
31
38
|
import {
|
|
32
39
|
FrontAssetFromJSON,
|
|
@@ -50,10 +57,10 @@ import {
|
|
|
50
57
|
export interface AuthRegisterGuardRequestLicencesInner {
|
|
51
58
|
/**
|
|
52
59
|
*
|
|
53
|
-
* @type {
|
|
60
|
+
* @type {LicenceState}
|
|
54
61
|
* @memberof AuthRegisterGuardRequestLicencesInner
|
|
55
62
|
*/
|
|
56
|
-
state:
|
|
63
|
+
state: LicenceState;
|
|
57
64
|
/**
|
|
58
65
|
*
|
|
59
66
|
* @type {string}
|
|
@@ -105,16 +112,6 @@ export interface AuthRegisterGuardRequestLicencesInner {
|
|
|
105
112
|
}
|
|
106
113
|
|
|
107
114
|
|
|
108
|
-
/**
|
|
109
|
-
* @export
|
|
110
|
-
*/
|
|
111
|
-
export const AuthRegisterGuardRequestLicencesInnerStateEnum = {
|
|
112
|
-
Qld: 'QLD',
|
|
113
|
-
Nsw: 'NSW',
|
|
114
|
-
Vic: 'VIC'
|
|
115
|
-
} as const;
|
|
116
|
-
export type AuthRegisterGuardRequestLicencesInnerStateEnum = typeof AuthRegisterGuardRequestLicencesInnerStateEnum[keyof typeof AuthRegisterGuardRequestLicencesInnerStateEnum];
|
|
117
|
-
|
|
118
115
|
|
|
119
116
|
/**
|
|
120
117
|
* Check if a given object implements the AuthRegisterGuardRequestLicencesInner interface.
|
|
@@ -139,7 +136,7 @@ export function AuthRegisterGuardRequestLicencesInnerFromJSONTyped(json: any, ig
|
|
|
139
136
|
}
|
|
140
137
|
return {
|
|
141
138
|
|
|
142
|
-
'state': json['state'],
|
|
139
|
+
'state': LicenceStateFromJSON(json['state']),
|
|
143
140
|
'licenceNumber': json['licence_number'],
|
|
144
141
|
'firstName': json['first_name'],
|
|
145
142
|
'lastName': json['last_name'],
|
|
@@ -162,7 +159,7 @@ export function AuthRegisterGuardRequestLicencesInnerToJSONTyped(value?: AuthReg
|
|
|
162
159
|
|
|
163
160
|
return {
|
|
164
161
|
|
|
165
|
-
'state': value['state'],
|
|
162
|
+
'state': LicenceStateToJSON(value['state']),
|
|
166
163
|
'licence_number': value['licenceNumber'],
|
|
167
164
|
'first_name': value['firstName'],
|
|
168
165
|
'last_name': value['lastName'],
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { MobileDevicePlatform } from './MobileDevicePlatform';
|
|
17
|
+
import {
|
|
18
|
+
MobileDevicePlatformFromJSON,
|
|
19
|
+
MobileDevicePlatformFromJSONTyped,
|
|
20
|
+
MobileDevicePlatformToJSON,
|
|
21
|
+
MobileDevicePlatformToJSONTyped,
|
|
22
|
+
} from './MobileDevicePlatform';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -27,10 +35,10 @@ export interface DevicesRegisterRequest {
|
|
|
27
35
|
deviceId: string;
|
|
28
36
|
/**
|
|
29
37
|
*
|
|
30
|
-
* @type {
|
|
38
|
+
* @type {MobileDevicePlatform}
|
|
31
39
|
* @memberof DevicesRegisterRequest
|
|
32
40
|
*/
|
|
33
|
-
platform:
|
|
41
|
+
platform: MobileDevicePlatform;
|
|
34
42
|
/**
|
|
35
43
|
*
|
|
36
44
|
* @type {string}
|
|
@@ -64,15 +72,6 @@ export interface DevicesRegisterRequest {
|
|
|
64
72
|
}
|
|
65
73
|
|
|
66
74
|
|
|
67
|
-
/**
|
|
68
|
-
* @export
|
|
69
|
-
*/
|
|
70
|
-
export const DevicesRegisterRequestPlatformEnum = {
|
|
71
|
-
Ios: 'ios',
|
|
72
|
-
Android: 'android'
|
|
73
|
-
} as const;
|
|
74
|
-
export type DevicesRegisterRequestPlatformEnum = typeof DevicesRegisterRequestPlatformEnum[keyof typeof DevicesRegisterRequestPlatformEnum];
|
|
75
|
-
|
|
76
75
|
|
|
77
76
|
/**
|
|
78
77
|
* Check if a given object implements the DevicesRegisterRequest interface.
|
|
@@ -94,7 +93,7 @@ export function DevicesRegisterRequestFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
94
93
|
return {
|
|
95
94
|
|
|
96
95
|
'deviceId': json['device_id'],
|
|
97
|
-
'platform': json['platform'],
|
|
96
|
+
'platform': MobileDevicePlatformFromJSON(json['platform']),
|
|
98
97
|
'osVersion': json['os_version'] == null ? undefined : json['os_version'],
|
|
99
98
|
'appVersion': json['app_version'] == null ? undefined : json['app_version'],
|
|
100
99
|
'model': json['model'] == null ? undefined : json['model'],
|
|
@@ -115,7 +114,7 @@ export function DevicesRegisterRequestToJSONTyped(value?: DevicesRegisterRequest
|
|
|
115
114
|
return {
|
|
116
115
|
|
|
117
116
|
'device_id': value['deviceId'],
|
|
118
|
-
'platform': value['platform'],
|
|
117
|
+
'platform': MobileDevicePlatformToJSON(value['platform']),
|
|
119
118
|
'os_version': value['osVersion'],
|
|
120
119
|
'app_version': value['appVersion'],
|
|
121
120
|
'model': value['model'],
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { PdfExportStatus } from './PdfExportStatus';
|
|
17
|
+
import {
|
|
18
|
+
PdfExportStatusFromJSON,
|
|
19
|
+
PdfExportStatusFromJSONTyped,
|
|
20
|
+
PdfExportStatusToJSON,
|
|
21
|
+
PdfExportStatusToJSONTyped,
|
|
22
|
+
} from './PdfExportStatus';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -27,10 +35,10 @@ export interface ExportQueuedResource {
|
|
|
27
35
|
id: number;
|
|
28
36
|
/**
|
|
29
37
|
*
|
|
30
|
-
* @type {
|
|
38
|
+
* @type {PdfExportStatus}
|
|
31
39
|
* @memberof ExportQueuedResource
|
|
32
40
|
*/
|
|
33
|
-
status:
|
|
41
|
+
status: PdfExportStatus;
|
|
34
42
|
/**
|
|
35
43
|
*
|
|
36
44
|
* @type {string}
|
|
@@ -40,17 +48,6 @@ export interface ExportQueuedResource {
|
|
|
40
48
|
}
|
|
41
49
|
|
|
42
50
|
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export const ExportQueuedResourceStatusEnum = {
|
|
47
|
-
Pending: 'pending',
|
|
48
|
-
Processing: 'processing',
|
|
49
|
-
Completed: 'completed',
|
|
50
|
-
Failed: 'failed'
|
|
51
|
-
} as const;
|
|
52
|
-
export type ExportQueuedResourceStatusEnum = typeof ExportQueuedResourceStatusEnum[keyof typeof ExportQueuedResourceStatusEnum];
|
|
53
|
-
|
|
54
51
|
|
|
55
52
|
/**
|
|
56
53
|
* Check if a given object implements the ExportQueuedResource interface.
|
|
@@ -73,7 +70,7 @@ export function ExportQueuedResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
73
70
|
return {
|
|
74
71
|
|
|
75
72
|
'id': json['id'],
|
|
76
|
-
'status': json['status'],
|
|
73
|
+
'status': PdfExportStatusFromJSON(json['status']),
|
|
77
74
|
'message': json['message'],
|
|
78
75
|
};
|
|
79
76
|
}
|
|
@@ -90,7 +87,7 @@ export function ExportQueuedResourceToJSONTyped(value?: ExportQueuedResource | n
|
|
|
90
87
|
return {
|
|
91
88
|
|
|
92
89
|
'id': value['id'],
|
|
93
|
-
'status': value['status'],
|
|
90
|
+
'status': PdfExportStatusToJSON(value['status']),
|
|
94
91
|
'message': value['message'],
|
|
95
92
|
};
|
|
96
93
|
}
|
|
@@ -13,6 +13,21 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { IncidentSchemaType } from './IncidentSchemaType';
|
|
17
|
+
import {
|
|
18
|
+
IncidentSchemaTypeFromJSON,
|
|
19
|
+
IncidentSchemaTypeFromJSONTyped,
|
|
20
|
+
IncidentSchemaTypeToJSON,
|
|
21
|
+
IncidentSchemaTypeToJSONTyped,
|
|
22
|
+
} from './IncidentSchemaType';
|
|
23
|
+
import type { LicenceState } from './LicenceState';
|
|
24
|
+
import {
|
|
25
|
+
LicenceStateFromJSON,
|
|
26
|
+
LicenceStateFromJSONTyped,
|
|
27
|
+
LicenceStateToJSON,
|
|
28
|
+
LicenceStateToJSONTyped,
|
|
29
|
+
} from './LicenceState';
|
|
30
|
+
|
|
16
31
|
/**
|
|
17
32
|
*
|
|
18
33
|
* @export
|
|
@@ -27,16 +42,16 @@ export interface IncidentFieldSchemaResource {
|
|
|
27
42
|
id?: number | null;
|
|
28
43
|
/**
|
|
29
44
|
*
|
|
30
|
-
* @type {
|
|
45
|
+
* @type {LicenceState}
|
|
31
46
|
* @memberof IncidentFieldSchemaResource
|
|
32
47
|
*/
|
|
33
|
-
state:
|
|
48
|
+
state: LicenceState;
|
|
34
49
|
/**
|
|
35
50
|
*
|
|
36
|
-
* @type {
|
|
51
|
+
* @type {IncidentSchemaType}
|
|
37
52
|
* @memberof IncidentFieldSchemaResource
|
|
38
53
|
*/
|
|
39
|
-
type:
|
|
54
|
+
type: IncidentSchemaType;
|
|
40
55
|
/**
|
|
41
56
|
*
|
|
42
57
|
* @type {object}
|
|
@@ -58,25 +73,6 @@ export interface IncidentFieldSchemaResource {
|
|
|
58
73
|
}
|
|
59
74
|
|
|
60
75
|
|
|
61
|
-
/**
|
|
62
|
-
* @export
|
|
63
|
-
*/
|
|
64
|
-
export const IncidentFieldSchemaResourceStateEnum = {
|
|
65
|
-
Qld: 'QLD',
|
|
66
|
-
Nsw: 'NSW',
|
|
67
|
-
Vic: 'VIC'
|
|
68
|
-
} as const;
|
|
69
|
-
export type IncidentFieldSchemaResourceStateEnum = typeof IncidentFieldSchemaResourceStateEnum[keyof typeof IncidentFieldSchemaResourceStateEnum];
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @export
|
|
73
|
-
*/
|
|
74
|
-
export const IncidentFieldSchemaResourceTypeEnum = {
|
|
75
|
-
Liquor: 'Liquor',
|
|
76
|
-
Gaming: 'Gaming'
|
|
77
|
-
} as const;
|
|
78
|
-
export type IncidentFieldSchemaResourceTypeEnum = typeof IncidentFieldSchemaResourceTypeEnum[keyof typeof IncidentFieldSchemaResourceTypeEnum];
|
|
79
|
-
|
|
80
76
|
|
|
81
77
|
/**
|
|
82
78
|
* Check if a given object implements the IncidentFieldSchemaResource interface.
|
|
@@ -99,8 +95,8 @@ export function IncidentFieldSchemaResourceFromJSONTyped(json: any, ignoreDiscri
|
|
|
99
95
|
return {
|
|
100
96
|
|
|
101
97
|
'id': json['id'] == null ? undefined : json['id'],
|
|
102
|
-
'state': json['state'],
|
|
103
|
-
'type': json['type'],
|
|
98
|
+
'state': LicenceStateFromJSON(json['state']),
|
|
99
|
+
'type': IncidentSchemaTypeFromJSON(json['type']),
|
|
104
100
|
'jsonSchema': json['jsonSchema'],
|
|
105
101
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
106
102
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
@@ -119,8 +115,8 @@ export function IncidentFieldSchemaResourceToJSONTyped(value?: IncidentFieldSche
|
|
|
119
115
|
return {
|
|
120
116
|
|
|
121
117
|
'id': value['id'],
|
|
122
|
-
'state': value['state'],
|
|
123
|
-
'type': value['type'],
|
|
118
|
+
'state': LicenceStateToJSON(value['state']),
|
|
119
|
+
'type': IncidentSchemaTypeToJSON(value['type']),
|
|
124
120
|
'jsonSchema': value['jsonSchema'],
|
|
125
121
|
'createdAt': value['createdAt'] === null ? null : ((value['createdAt'] as any)?.toISOString()),
|
|
126
122
|
'updatedAt': value['updatedAt'] === null ? null : ((value['updatedAt'] as any)?.toISOString()),
|