@digital8/security-registers-backend-ts-sdk 0.0.709 → 0.0.711
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 +1 -15
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +5 -4
- package/dist/apis/GeneralApi.js +3 -1
- package/dist/models/AuthRegisterGuardRequestLicencesInner.d.ts +11 -3
- package/dist/models/AuthRegisterGuardRequestLicencesInner.js +11 -3
- package/dist/models/DevicesRegisterRequest.d.ts +10 -3
- package/dist/models/DevicesRegisterRequest.js +10 -3
- package/dist/models/ExportQueuedResource.d.ts +12 -3
- package/dist/models/ExportQueuedResource.js +12 -3
- package/dist/models/IncidentFieldSchemaResource.d.ts +21 -6
- package/dist/models/IncidentFieldSchemaResource.js +20 -6
- package/dist/models/IncidentVideoResource.d.ts +11 -3
- package/dist/models/IncidentVideoResource.js +11 -3
- package/dist/models/LicenceCheckLogResource.d.ts +15 -3
- package/dist/models/LicenceCheckLogResource.js +15 -3
- package/dist/models/LicenceListResource.d.ts +11 -3
- package/dist/models/LicenceListResource.js +11 -3
- package/dist/models/LicenceLiteResource.d.ts +11 -3
- package/dist/models/LicenceLiteResource.js +11 -3
- package/dist/models/LicenceResource.d.ts +11 -3
- package/dist/models/LicenceResource.js +11 -3
- package/dist/models/LicencesStoreRequest.d.ts +11 -3
- package/dist/models/LicencesStoreRequest.js +11 -3
- package/dist/models/LicencesUpdateRequest.d.ts +11 -3
- package/dist/models/LicencesUpdateRequest.js +11 -3
- package/dist/models/LicencesVerifyRequest.d.ts +11 -3
- package/dist/models/LicencesVerifyRequest.js +11 -3
- package/dist/models/MobileAppConfigRequest.d.ts +10 -3
- package/dist/models/MobileAppConfigRequest.js +10 -3
- package/dist/models/MobileAppConfigResource.d.ts +10 -3
- package/dist/models/MobileAppConfigResource.js +10 -3
- package/dist/models/MobileDeviceResource.d.ts +10 -3
- package/dist/models/MobileDeviceResource.js +10 -3
- package/dist/models/NotificationPreferenceResource.d.ts +17 -3
- package/dist/models/NotificationPreferenceResource.js +17 -3
- package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.d.ts +17 -3
- package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.js +17 -3
- package/dist/models/NotificationPreferencesStoreRequest.d.ts +17 -3
- package/dist/models/NotificationPreferencesStoreRequest.js +17 -3
- package/dist/models/PdfExportResource.d.ts +12 -3
- package/dist/models/PdfExportResource.js +12 -3
- package/dist/models/RegisterListResource.d.ts +11 -3
- package/dist/models/RegisterListResource.js +11 -3
- package/dist/models/RegisterResource.d.ts +11 -3
- package/dist/models/RegisterResource.js +11 -3
- package/dist/models/RegistersUpdateRequest.d.ts +11 -3
- package/dist/models/RegistersUpdateRequest.js +11 -3
- package/dist/models/RosterListResource.d.ts +11 -3
- package/dist/models/RosterListResource.js +11 -3
- package/dist/models/RosterResource.d.ts +11 -3
- package/dist/models/RosterResource.js +11 -3
- package/dist/models/RosterWithRegistersResource.d.ts +11 -3
- package/dist/models/RosterWithRegistersResource.js +11 -3
- package/dist/models/RostersUpdateRequest.d.ts +11 -3
- package/dist/models/RostersUpdateRequest.js +11 -3
- package/dist/models/VenuesSignedOnGuardsRequest.d.ts +32 -0
- package/dist/models/VenuesSignedOnGuardsRequest.js +49 -0
- package/dist/models/index.d.ts +1 -15
- package/dist/models/index.js +1 -15
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +11 -4
- package/src/models/AuthRegisterGuardRequestLicencesInner.ts +14 -11
- package/src/models/DevicesRegisterRequest.ts +13 -12
- package/src/models/ExportQueuedResource.ts +15 -12
- package/src/models/IncidentFieldSchemaResource.ts +27 -23
- package/src/models/IncidentVideoResource.ts +14 -12
- package/src/models/LicenceCheckLogResource.ts +18 -12
- package/src/models/LicenceListResource.ts +14 -11
- package/src/models/LicenceLiteResource.ts +14 -12
- package/src/models/LicenceResource.ts +14 -11
- package/src/models/LicencesStoreRequest.ts +14 -11
- package/src/models/LicencesUpdateRequest.ts +14 -11
- package/src/models/LicencesVerifyRequest.ts +14 -12
- package/src/models/MobileAppConfigRequest.ts +13 -12
- package/src/models/MobileAppConfigResource.ts +13 -12
- package/src/models/MobileDeviceResource.ts +13 -12
- package/src/models/NotificationPreferenceResource.ts +20 -11
- package/src/models/NotificationPreferencesBulkRequestPreferencesInner.ts +20 -12
- package/src/models/NotificationPreferencesStoreRequest.ts +20 -12
- package/src/models/PdfExportResource.ts +15 -12
- package/src/models/RegisterListResource.ts +14 -11
- package/src/models/RegisterResource.ts +14 -11
- package/src/models/RegistersUpdateRequest.ts +14 -11
- package/src/models/RosterListResource.ts +14 -11
- package/src/models/RosterResource.ts +14 -11
- package/src/models/RosterWithRegistersResource.ts +14 -11
- package/src/models/RostersUpdateRequest.ts +14 -12
- package/src/models/VenuesSignedOnGuardsRequest.ts +65 -0
- package/src/models/index.ts +1 -15
- package/dist/models/AustralianState.d.ts +0 -31
- package/dist/models/AustralianState.js +0 -57
- package/dist/models/IncidentSchemaType.d.ts +0 -25
- package/dist/models/IncidentSchemaType.js +0 -51
- package/dist/models/IncidentVideoStatus.d.ts +0 -26
- package/dist/models/IncidentVideoStatus.js +0 -52
- package/dist/models/LicenceCheckSource.d.ts +0 -30
- package/dist/models/LicenceCheckSource.js +0 -56
- package/dist/models/LicenceState.d.ts +0 -26
- package/dist/models/LicenceState.js +0 -52
- package/dist/models/LoginPlatform.d.ts +0 -25
- package/dist/models/LoginPlatform.js +0 -51
- package/dist/models/MobileDevicePlatform.d.ts +0 -25
- package/dist/models/MobileDevicePlatform.js +0 -51
- package/dist/models/NotificationStatus.d.ts +0 -25
- package/dist/models/NotificationStatus.js +0 -51
- package/dist/models/NotificationType.d.ts +0 -32
- package/dist/models/NotificationType.js +0 -58
- package/dist/models/PdfExportDownloadType.d.ts +0 -26
- package/dist/models/PdfExportDownloadType.js +0 -52
- package/dist/models/PdfExportKind.d.ts +0 -28
- package/dist/models/PdfExportKind.js +0 -54
- package/dist/models/PdfExportStatus.d.ts +0 -27
- package/dist/models/PdfExportStatus.js +0 -53
- package/dist/models/RecordSource.d.ts +0 -28
- package/dist/models/RecordSource.js +0 -54
- package/dist/models/SignOffStatus.d.ts +0 -26
- package/dist/models/SignOffStatus.js +0 -52
- package/dist/models/UserRole.d.ts +0 -29
- package/dist/models/UserRole.js +0 -55
- package/src/models/AustralianState.ts +0 -59
- package/src/models/IncidentSchemaType.ts +0 -53
- package/src/models/IncidentVideoStatus.ts +0 -54
- package/src/models/LicenceCheckSource.ts +0 -58
- package/src/models/LicenceState.ts +0 -54
- package/src/models/LoginPlatform.ts +0 -53
- package/src/models/MobileDevicePlatform.ts +0 -53
- package/src/models/NotificationStatus.ts +0 -53
- package/src/models/NotificationType.ts +0 -60
- package/src/models/PdfExportDownloadType.ts +0 -54
- package/src/models/PdfExportKind.ts +0 -56
- package/src/models/PdfExportStatus.ts +0 -55
- package/src/models/RecordSource.ts +0 -56
- package/src/models/SignOffStatus.ts +0 -54
- package/src/models/UserRole.ts +0 -57
|
@@ -1,58 +0,0 @@
|
|
|
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.NotificationType = void 0;
|
|
17
|
-
exports.instanceOfNotificationType = instanceOfNotificationType;
|
|
18
|
-
exports.NotificationTypeFromJSON = NotificationTypeFromJSON;
|
|
19
|
-
exports.NotificationTypeFromJSONTyped = NotificationTypeFromJSONTyped;
|
|
20
|
-
exports.NotificationTypeToJSON = NotificationTypeToJSON;
|
|
21
|
-
exports.NotificationTypeToJSONTyped = NotificationTypeToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.NotificationType = {
|
|
27
|
-
IncidentAdded: 'incident_added',
|
|
28
|
-
IncidentPendingReminder: 'incident_pending_reminder',
|
|
29
|
-
NonSignOff: 'non_sign_off',
|
|
30
|
-
NonSignOn: 'non_sign_on',
|
|
31
|
-
SignOnRejected: 'sign_on_rejected',
|
|
32
|
-
LicenceUpdated: 'licence_updated',
|
|
33
|
-
LicenceExpiringSoon: 'licence_expiring_soon',
|
|
34
|
-
ExportReady: 'export_ready',
|
|
35
|
-
ExportFailed: 'export_failed'
|
|
36
|
-
};
|
|
37
|
-
function instanceOfNotificationType(value) {
|
|
38
|
-
for (var key in exports.NotificationType) {
|
|
39
|
-
if (Object.prototype.hasOwnProperty.call(exports.NotificationType, key)) {
|
|
40
|
-
if (exports.NotificationType[key] === value) {
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
return false;
|
|
46
|
-
}
|
|
47
|
-
function NotificationTypeFromJSON(json) {
|
|
48
|
-
return NotificationTypeFromJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
function NotificationTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
function NotificationTypeToJSON(value) {
|
|
54
|
-
return value;
|
|
55
|
-
}
|
|
56
|
-
function NotificationTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
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 PdfExportDownloadType: {
|
|
17
|
-
readonly Redirect: "redirect";
|
|
18
|
-
readonly Stream: "stream";
|
|
19
|
-
readonly Error: "error";
|
|
20
|
-
};
|
|
21
|
-
export type PdfExportDownloadType = typeof PdfExportDownloadType[keyof typeof PdfExportDownloadType];
|
|
22
|
-
export declare function instanceOfPdfExportDownloadType(value: any): boolean;
|
|
23
|
-
export declare function PdfExportDownloadTypeFromJSON(json: any): PdfExportDownloadType;
|
|
24
|
-
export declare function PdfExportDownloadTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportDownloadType;
|
|
25
|
-
export declare function PdfExportDownloadTypeToJSON(value?: PdfExportDownloadType | null): any;
|
|
26
|
-
export declare function PdfExportDownloadTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): PdfExportDownloadType;
|
|
@@ -1,52 +0,0 @@
|
|
|
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.PdfExportDownloadType = void 0;
|
|
17
|
-
exports.instanceOfPdfExportDownloadType = instanceOfPdfExportDownloadType;
|
|
18
|
-
exports.PdfExportDownloadTypeFromJSON = PdfExportDownloadTypeFromJSON;
|
|
19
|
-
exports.PdfExportDownloadTypeFromJSONTyped = PdfExportDownloadTypeFromJSONTyped;
|
|
20
|
-
exports.PdfExportDownloadTypeToJSON = PdfExportDownloadTypeToJSON;
|
|
21
|
-
exports.PdfExportDownloadTypeToJSONTyped = PdfExportDownloadTypeToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.PdfExportDownloadType = {
|
|
27
|
-
Redirect: 'redirect',
|
|
28
|
-
Stream: 'stream',
|
|
29
|
-
Error: 'error'
|
|
30
|
-
};
|
|
31
|
-
function instanceOfPdfExportDownloadType(value) {
|
|
32
|
-
for (var key in exports.PdfExportDownloadType) {
|
|
33
|
-
if (Object.prototype.hasOwnProperty.call(exports.PdfExportDownloadType, key)) {
|
|
34
|
-
if (exports.PdfExportDownloadType[key] === value) {
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return false;
|
|
40
|
-
}
|
|
41
|
-
function PdfExportDownloadTypeFromJSON(json) {
|
|
42
|
-
return PdfExportDownloadTypeFromJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function PdfExportDownloadTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
-
return json;
|
|
46
|
-
}
|
|
47
|
-
function PdfExportDownloadTypeToJSON(value) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
function PdfExportDownloadTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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 PdfExportKind: {
|
|
17
|
-
readonly Roster: "roster";
|
|
18
|
-
readonly IncidentSingle: "incident_single";
|
|
19
|
-
readonly IncidentBulk: "incident_bulk";
|
|
20
|
-
readonly IncidentCsvSingle: "incident_csv_single";
|
|
21
|
-
readonly IncidentCsvBulk: "incident_csv_bulk";
|
|
22
|
-
};
|
|
23
|
-
export type PdfExportKind = typeof PdfExportKind[keyof typeof PdfExportKind];
|
|
24
|
-
export declare function instanceOfPdfExportKind(value: any): boolean;
|
|
25
|
-
export declare function PdfExportKindFromJSON(json: any): PdfExportKind;
|
|
26
|
-
export declare function PdfExportKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportKind;
|
|
27
|
-
export declare function PdfExportKindToJSON(value?: PdfExportKind | null): any;
|
|
28
|
-
export declare function PdfExportKindToJSONTyped(value: any, ignoreDiscriminator: boolean): PdfExportKind;
|
|
@@ -1,54 +0,0 @@
|
|
|
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.PdfExportKind = void 0;
|
|
17
|
-
exports.instanceOfPdfExportKind = instanceOfPdfExportKind;
|
|
18
|
-
exports.PdfExportKindFromJSON = PdfExportKindFromJSON;
|
|
19
|
-
exports.PdfExportKindFromJSONTyped = PdfExportKindFromJSONTyped;
|
|
20
|
-
exports.PdfExportKindToJSON = PdfExportKindToJSON;
|
|
21
|
-
exports.PdfExportKindToJSONTyped = PdfExportKindToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.PdfExportKind = {
|
|
27
|
-
Roster: 'roster',
|
|
28
|
-
IncidentSingle: 'incident_single',
|
|
29
|
-
IncidentBulk: 'incident_bulk',
|
|
30
|
-
IncidentCsvSingle: 'incident_csv_single',
|
|
31
|
-
IncidentCsvBulk: 'incident_csv_bulk'
|
|
32
|
-
};
|
|
33
|
-
function instanceOfPdfExportKind(value) {
|
|
34
|
-
for (var key in exports.PdfExportKind) {
|
|
35
|
-
if (Object.prototype.hasOwnProperty.call(exports.PdfExportKind, key)) {
|
|
36
|
-
if (exports.PdfExportKind[key] === value) {
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
return false;
|
|
42
|
-
}
|
|
43
|
-
function PdfExportKindFromJSON(json) {
|
|
44
|
-
return PdfExportKindFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function PdfExportKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
-
return json;
|
|
48
|
-
}
|
|
49
|
-
function PdfExportKindToJSON(value) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
function PdfExportKindToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
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 PdfExportStatus: {
|
|
17
|
-
readonly Pending: "pending";
|
|
18
|
-
readonly Processing: "processing";
|
|
19
|
-
readonly Completed: "completed";
|
|
20
|
-
readonly Failed: "failed";
|
|
21
|
-
};
|
|
22
|
-
export type PdfExportStatus = typeof PdfExportStatus[keyof typeof PdfExportStatus];
|
|
23
|
-
export declare function instanceOfPdfExportStatus(value: any): boolean;
|
|
24
|
-
export declare function PdfExportStatusFromJSON(json: any): PdfExportStatus;
|
|
25
|
-
export declare function PdfExportStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportStatus;
|
|
26
|
-
export declare function PdfExportStatusToJSON(value?: PdfExportStatus | null): any;
|
|
27
|
-
export declare function PdfExportStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): PdfExportStatus;
|
|
@@ -1,53 +0,0 @@
|
|
|
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.PdfExportStatus = void 0;
|
|
17
|
-
exports.instanceOfPdfExportStatus = instanceOfPdfExportStatus;
|
|
18
|
-
exports.PdfExportStatusFromJSON = PdfExportStatusFromJSON;
|
|
19
|
-
exports.PdfExportStatusFromJSONTyped = PdfExportStatusFromJSONTyped;
|
|
20
|
-
exports.PdfExportStatusToJSON = PdfExportStatusToJSON;
|
|
21
|
-
exports.PdfExportStatusToJSONTyped = PdfExportStatusToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.PdfExportStatus = {
|
|
27
|
-
Pending: 'pending',
|
|
28
|
-
Processing: 'processing',
|
|
29
|
-
Completed: 'completed',
|
|
30
|
-
Failed: 'failed'
|
|
31
|
-
};
|
|
32
|
-
function instanceOfPdfExportStatus(value) {
|
|
33
|
-
for (var key in exports.PdfExportStatus) {
|
|
34
|
-
if (Object.prototype.hasOwnProperty.call(exports.PdfExportStatus, key)) {
|
|
35
|
-
if (exports.PdfExportStatus[key] === value) {
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return false;
|
|
41
|
-
}
|
|
42
|
-
function PdfExportStatusFromJSON(json) {
|
|
43
|
-
return PdfExportStatusFromJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function PdfExportStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
-
return json;
|
|
47
|
-
}
|
|
48
|
-
function PdfExportStatusToJSON(value) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
function PdfExportStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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 RecordSource: {
|
|
17
|
-
readonly Mobile: "mobile";
|
|
18
|
-
readonly Web: "web";
|
|
19
|
-
readonly Manual: "manual";
|
|
20
|
-
readonly Guardhouse: "guardhouse";
|
|
21
|
-
readonly Legacy: "legacy";
|
|
22
|
-
};
|
|
23
|
-
export type RecordSource = typeof RecordSource[keyof typeof RecordSource];
|
|
24
|
-
export declare function instanceOfRecordSource(value: any): boolean;
|
|
25
|
-
export declare function RecordSourceFromJSON(json: any): RecordSource;
|
|
26
|
-
export declare function RecordSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecordSource;
|
|
27
|
-
export declare function RecordSourceToJSON(value?: RecordSource | null): any;
|
|
28
|
-
export declare function RecordSourceToJSONTyped(value: any, ignoreDiscriminator: boolean): RecordSource;
|
|
@@ -1,54 +0,0 @@
|
|
|
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.RecordSource = void 0;
|
|
17
|
-
exports.instanceOfRecordSource = instanceOfRecordSource;
|
|
18
|
-
exports.RecordSourceFromJSON = RecordSourceFromJSON;
|
|
19
|
-
exports.RecordSourceFromJSONTyped = RecordSourceFromJSONTyped;
|
|
20
|
-
exports.RecordSourceToJSON = RecordSourceToJSON;
|
|
21
|
-
exports.RecordSourceToJSONTyped = RecordSourceToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.RecordSource = {
|
|
27
|
-
Mobile: 'mobile',
|
|
28
|
-
Web: 'web',
|
|
29
|
-
Manual: 'manual',
|
|
30
|
-
Guardhouse: 'guardhouse',
|
|
31
|
-
Legacy: 'legacy'
|
|
32
|
-
};
|
|
33
|
-
function instanceOfRecordSource(value) {
|
|
34
|
-
for (var key in exports.RecordSource) {
|
|
35
|
-
if (Object.prototype.hasOwnProperty.call(exports.RecordSource, key)) {
|
|
36
|
-
if (exports.RecordSource[key] === value) {
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
return false;
|
|
42
|
-
}
|
|
43
|
-
function RecordSourceFromJSON(json) {
|
|
44
|
-
return RecordSourceFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function RecordSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
-
return json;
|
|
48
|
-
}
|
|
49
|
-
function RecordSourceToJSON(value) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
function RecordSourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
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 SignOffStatus: {
|
|
17
|
-
readonly NUMBER_0: 0;
|
|
18
|
-
readonly NUMBER_1: 1;
|
|
19
|
-
readonly NUMBER_2: 2;
|
|
20
|
-
};
|
|
21
|
-
export type SignOffStatus = typeof SignOffStatus[keyof typeof SignOffStatus];
|
|
22
|
-
export declare function instanceOfSignOffStatus(value: any): boolean;
|
|
23
|
-
export declare function SignOffStatusFromJSON(json: any): SignOffStatus;
|
|
24
|
-
export declare function SignOffStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignOffStatus;
|
|
25
|
-
export declare function SignOffStatusToJSON(value?: SignOffStatus | null): any;
|
|
26
|
-
export declare function SignOffStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): SignOffStatus;
|
|
@@ -1,52 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
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;
|
package/dist/models/UserRole.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,53 +0,0 @@
|
|
|
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 IncidentSchemaType = {
|
|
21
|
-
Liquor: 'Liquor',
|
|
22
|
-
Gaming: 'Gaming'
|
|
23
|
-
} as const;
|
|
24
|
-
export type IncidentSchemaType = typeof IncidentSchemaType[keyof typeof IncidentSchemaType];
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export function instanceOfIncidentSchemaType(value: any): boolean {
|
|
28
|
-
for (const key in IncidentSchemaType) {
|
|
29
|
-
if (Object.prototype.hasOwnProperty.call(IncidentSchemaType, key)) {
|
|
30
|
-
if (IncidentSchemaType[key as keyof typeof IncidentSchemaType] === value) {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function IncidentSchemaTypeFromJSON(json: any): IncidentSchemaType {
|
|
39
|
-
return IncidentSchemaTypeFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function IncidentSchemaTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentSchemaType {
|
|
43
|
-
return json as IncidentSchemaType;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function IncidentSchemaTypeToJSON(value?: IncidentSchemaType | null): any {
|
|
47
|
-
return value as any;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function IncidentSchemaTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): IncidentSchemaType {
|
|
51
|
-
return value as IncidentSchemaType;
|
|
52
|
-
}
|
|
53
|
-
|