@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
|
@@ -13,26 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum = void 0;
|
|
17
16
|
exports.instanceOfNotificationPreferencesBulkRequestPreferencesInner = instanceOfNotificationPreferencesBulkRequestPreferencesInner;
|
|
18
17
|
exports.NotificationPreferencesBulkRequestPreferencesInnerFromJSON = NotificationPreferencesBulkRequestPreferencesInnerFromJSON;
|
|
19
18
|
exports.NotificationPreferencesBulkRequestPreferencesInnerFromJSONTyped = NotificationPreferencesBulkRequestPreferencesInnerFromJSONTyped;
|
|
20
19
|
exports.NotificationPreferencesBulkRequestPreferencesInnerToJSON = NotificationPreferencesBulkRequestPreferencesInnerToJSON;
|
|
21
20
|
exports.NotificationPreferencesBulkRequestPreferencesInnerToJSONTyped = NotificationPreferencesBulkRequestPreferencesInnerToJSONTyped;
|
|
22
|
-
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum = {
|
|
26
|
-
IncidentAdded: 'incident_added',
|
|
27
|
-
IncidentPendingReminder: 'incident_pending_reminder',
|
|
28
|
-
NonSignOff: 'non_sign_off',
|
|
29
|
-
NonSignOn: 'non_sign_on',
|
|
30
|
-
SignOnRejected: 'sign_on_rejected',
|
|
31
|
-
LicenceUpdated: 'licence_updated',
|
|
32
|
-
LicenceExpiringSoon: 'licence_expiring_soon',
|
|
33
|
-
ExportReady: 'export_ready',
|
|
34
|
-
ExportFailed: 'export_failed'
|
|
35
|
-
};
|
|
21
|
+
var NotificationType_1 = require("./NotificationType");
|
|
36
22
|
/**
|
|
37
23
|
* Check if a given object implements the NotificationPreferencesBulkRequestPreferencesInner interface.
|
|
38
24
|
*/
|
|
@@ -51,7 +37,7 @@ function NotificationPreferencesBulkRequestPreferencesInnerFromJSONTyped(json, i
|
|
|
51
37
|
return json;
|
|
52
38
|
}
|
|
53
39
|
return {
|
|
54
|
-
'notificationType': json['notification_type'],
|
|
40
|
+
'notificationType': (0, NotificationType_1.NotificationTypeFromJSON)(json['notification_type']),
|
|
55
41
|
'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
|
|
56
42
|
'enabled': json['enabled'],
|
|
57
43
|
};
|
|
@@ -65,7 +51,7 @@ function NotificationPreferencesBulkRequestPreferencesInnerToJSONTyped(value, ig
|
|
|
65
51
|
return value;
|
|
66
52
|
}
|
|
67
53
|
return {
|
|
68
|
-
'notification_type': value['notificationType'],
|
|
54
|
+
'notification_type': (0, NotificationType_1.NotificationTypeToJSON)(value['notificationType']),
|
|
69
55
|
'venue_id': value['venueId'],
|
|
70
56
|
'enabled': value['enabled'],
|
|
71
57
|
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { NotificationType } from './NotificationType';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -17,10 +18,10 @@
|
|
|
17
18
|
export interface NotificationPreferencesStoreRequest {
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
20
|
-
* @type {
|
|
21
|
+
* @type {NotificationType}
|
|
21
22
|
* @memberof NotificationPreferencesStoreRequest
|
|
22
23
|
*/
|
|
23
|
-
notificationType:
|
|
24
|
+
notificationType: NotificationType;
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
27
|
* @type {number}
|
|
@@ -34,21 +35,6 @@ export interface NotificationPreferencesStoreRequest {
|
|
|
34
35
|
*/
|
|
35
36
|
enabled: boolean;
|
|
36
37
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const NotificationPreferencesStoreRequestNotificationTypeEnum: {
|
|
41
|
-
readonly IncidentAdded: "incident_added";
|
|
42
|
-
readonly IncidentPendingReminder: "incident_pending_reminder";
|
|
43
|
-
readonly NonSignOff: "non_sign_off";
|
|
44
|
-
readonly NonSignOn: "non_sign_on";
|
|
45
|
-
readonly SignOnRejected: "sign_on_rejected";
|
|
46
|
-
readonly LicenceUpdated: "licence_updated";
|
|
47
|
-
readonly LicenceExpiringSoon: "licence_expiring_soon";
|
|
48
|
-
readonly ExportReady: "export_ready";
|
|
49
|
-
readonly ExportFailed: "export_failed";
|
|
50
|
-
};
|
|
51
|
-
export type NotificationPreferencesStoreRequestNotificationTypeEnum = typeof NotificationPreferencesStoreRequestNotificationTypeEnum[keyof typeof NotificationPreferencesStoreRequestNotificationTypeEnum];
|
|
52
38
|
/**
|
|
53
39
|
* Check if a given object implements the NotificationPreferencesStoreRequest interface.
|
|
54
40
|
*/
|
|
@@ -13,26 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.NotificationPreferencesStoreRequestNotificationTypeEnum = void 0;
|
|
17
16
|
exports.instanceOfNotificationPreferencesStoreRequest = instanceOfNotificationPreferencesStoreRequest;
|
|
18
17
|
exports.NotificationPreferencesStoreRequestFromJSON = NotificationPreferencesStoreRequestFromJSON;
|
|
19
18
|
exports.NotificationPreferencesStoreRequestFromJSONTyped = NotificationPreferencesStoreRequestFromJSONTyped;
|
|
20
19
|
exports.NotificationPreferencesStoreRequestToJSON = NotificationPreferencesStoreRequestToJSON;
|
|
21
20
|
exports.NotificationPreferencesStoreRequestToJSONTyped = NotificationPreferencesStoreRequestToJSONTyped;
|
|
22
|
-
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.NotificationPreferencesStoreRequestNotificationTypeEnum = {
|
|
26
|
-
IncidentAdded: 'incident_added',
|
|
27
|
-
IncidentPendingReminder: 'incident_pending_reminder',
|
|
28
|
-
NonSignOff: 'non_sign_off',
|
|
29
|
-
NonSignOn: 'non_sign_on',
|
|
30
|
-
SignOnRejected: 'sign_on_rejected',
|
|
31
|
-
LicenceUpdated: 'licence_updated',
|
|
32
|
-
LicenceExpiringSoon: 'licence_expiring_soon',
|
|
33
|
-
ExportReady: 'export_ready',
|
|
34
|
-
ExportFailed: 'export_failed'
|
|
35
|
-
};
|
|
21
|
+
var NotificationType_1 = require("./NotificationType");
|
|
36
22
|
/**
|
|
37
23
|
* Check if a given object implements the NotificationPreferencesStoreRequest interface.
|
|
38
24
|
*/
|
|
@@ -51,7 +37,7 @@ function NotificationPreferencesStoreRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
51
37
|
return json;
|
|
52
38
|
}
|
|
53
39
|
return {
|
|
54
|
-
'notificationType': json['notification_type'],
|
|
40
|
+
'notificationType': (0, NotificationType_1.NotificationTypeFromJSON)(json['notification_type']),
|
|
55
41
|
'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
|
|
56
42
|
'enabled': json['enabled'],
|
|
57
43
|
};
|
|
@@ -65,7 +51,7 @@ function NotificationPreferencesStoreRequestToJSONTyped(value, ignoreDiscriminat
|
|
|
65
51
|
return value;
|
|
66
52
|
}
|
|
67
53
|
return {
|
|
68
|
-
'notification_type': value['notificationType'],
|
|
54
|
+
'notification_type': (0, NotificationType_1.NotificationTypeToJSON)(value['notificationType']),
|
|
69
55
|
'venue_id': value['venueId'],
|
|
70
56
|
'enabled': value['enabled'],
|
|
71
57
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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 NotificationStatus: {
|
|
17
|
+
readonly Sent: "sent";
|
|
18
|
+
readonly Failed: "failed";
|
|
19
|
+
};
|
|
20
|
+
export type NotificationStatus = typeof NotificationStatus[keyof typeof NotificationStatus];
|
|
21
|
+
export declare function instanceOfNotificationStatus(value: any): boolean;
|
|
22
|
+
export declare function NotificationStatusFromJSON(json: any): NotificationStatus;
|
|
23
|
+
export declare function NotificationStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationStatus;
|
|
24
|
+
export declare function NotificationStatusToJSON(value?: NotificationStatus | null): any;
|
|
25
|
+
export declare function NotificationStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): NotificationStatus;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.NotificationStatus = void 0;
|
|
17
|
+
exports.instanceOfNotificationStatus = instanceOfNotificationStatus;
|
|
18
|
+
exports.NotificationStatusFromJSON = NotificationStatusFromJSON;
|
|
19
|
+
exports.NotificationStatusFromJSONTyped = NotificationStatusFromJSONTyped;
|
|
20
|
+
exports.NotificationStatusToJSON = NotificationStatusToJSON;
|
|
21
|
+
exports.NotificationStatusToJSONTyped = NotificationStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.NotificationStatus = {
|
|
27
|
+
Sent: 'sent',
|
|
28
|
+
Failed: 'failed'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfNotificationStatus(value) {
|
|
31
|
+
for (var key in exports.NotificationStatus) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.NotificationStatus, key)) {
|
|
33
|
+
if (exports.NotificationStatus[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function NotificationStatusFromJSON(json) {
|
|
41
|
+
return NotificationStatusFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function NotificationStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function NotificationStatusToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function NotificationStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 NotificationType: {
|
|
17
|
+
readonly IncidentAdded: "incident_added";
|
|
18
|
+
readonly IncidentPendingReminder: "incident_pending_reminder";
|
|
19
|
+
readonly NonSignOff: "non_sign_off";
|
|
20
|
+
readonly NonSignOn: "non_sign_on";
|
|
21
|
+
readonly SignOnRejected: "sign_on_rejected";
|
|
22
|
+
readonly LicenceUpdated: "licence_updated";
|
|
23
|
+
readonly LicenceExpiringSoon: "licence_expiring_soon";
|
|
24
|
+
readonly ExportReady: "export_ready";
|
|
25
|
+
readonly ExportFailed: "export_failed";
|
|
26
|
+
};
|
|
27
|
+
export type NotificationType = typeof NotificationType[keyof typeof NotificationType];
|
|
28
|
+
export declare function instanceOfNotificationType(value: any): boolean;
|
|
29
|
+
export declare function NotificationTypeFromJSON(json: any): NotificationType;
|
|
30
|
+
export declare function NotificationTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationType;
|
|
31
|
+
export declare function NotificationTypeToJSON(value?: NotificationType | null): any;
|
|
32
|
+
export declare function NotificationTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): NotificationType;
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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;
|
|
@@ -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.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
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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;
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { PdfExportStatus } from './PdfExportStatus';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -23,10 +24,10 @@ export interface PdfExportResource {
|
|
|
23
24
|
id: number;
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
|
-
* @type {
|
|
27
|
+
* @type {PdfExportStatus}
|
|
27
28
|
* @memberof PdfExportResource
|
|
28
29
|
*/
|
|
29
|
-
status:
|
|
30
|
+
status: PdfExportStatus;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
33
|
* @type {string}
|
|
@@ -40,16 +41,6 @@ export interface PdfExportResource {
|
|
|
40
41
|
*/
|
|
41
42
|
downloadUrl?: string | null;
|
|
42
43
|
}
|
|
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];
|
|
53
44
|
/**
|
|
54
45
|
* Check if a given object implements the PdfExportResource interface.
|
|
55
46
|
*/
|
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.PdfExportResourceStatusEnum = void 0;
|
|
17
16
|
exports.instanceOfPdfExportResource = instanceOfPdfExportResource;
|
|
18
17
|
exports.PdfExportResourceFromJSON = PdfExportResourceFromJSON;
|
|
19
18
|
exports.PdfExportResourceFromJSONTyped = PdfExportResourceFromJSONTyped;
|
|
20
19
|
exports.PdfExportResourceToJSON = PdfExportResourceToJSON;
|
|
21
20
|
exports.PdfExportResourceToJSONTyped = PdfExportResourceToJSONTyped;
|
|
22
|
-
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.PdfExportResourceStatusEnum = {
|
|
26
|
-
Pending: 'pending',
|
|
27
|
-
Processing: 'processing',
|
|
28
|
-
Completed: 'completed',
|
|
29
|
-
Failed: 'failed'
|
|
30
|
-
};
|
|
21
|
+
var PdfExportStatus_1 = require("./PdfExportStatus");
|
|
31
22
|
/**
|
|
32
23
|
* Check if a given object implements the PdfExportResource interface.
|
|
33
24
|
*/
|
|
@@ -47,7 +38,7 @@ function PdfExportResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
38
|
}
|
|
48
39
|
return {
|
|
49
40
|
'id': json['id'],
|
|
50
|
-
'status': json['status'],
|
|
41
|
+
'status': (0, PdfExportStatus_1.PdfExportStatusFromJSON)(json['status']),
|
|
51
42
|
'errorMessage': json['errorMessage'] == null ? undefined : json['errorMessage'],
|
|
52
43
|
'downloadUrl': json['downloadUrl'] == null ? undefined : json['downloadUrl'],
|
|
53
44
|
};
|
|
@@ -62,7 +53,7 @@ function PdfExportResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
62
53
|
}
|
|
63
54
|
return {
|
|
64
55
|
'id': value['id'],
|
|
65
|
-
'status': value['status'],
|
|
56
|
+
'status': (0, PdfExportStatus_1.PdfExportStatusToJSON)(value['status']),
|
|
66
57
|
'errorMessage': value['errorMessage'],
|
|
67
58
|
'downloadUrl': value['downloadUrl'],
|
|
68
59
|
};
|
|
@@ -0,0 +1,27 @@
|
|
|
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;
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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;
|