@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
package/.openapi-generator/FILES
CHANGED
|
@@ -15,6 +15,7 @@ src/models/AssetLiteResourceArrayResponse.ts
|
|
|
15
15
|
src/models/AssetResource.ts
|
|
16
16
|
src/models/AssetResourceArrayResponse.ts
|
|
17
17
|
src/models/AssetsFileStoreRequest.ts
|
|
18
|
+
src/models/AustralianState.ts
|
|
18
19
|
src/models/AuthChangePasswordRequest.ts
|
|
19
20
|
src/models/AuthForgotPasswordRequest.ts
|
|
20
21
|
src/models/AuthLoginWebRequest.ts
|
|
@@ -50,12 +51,14 @@ src/models/IncidentLiteResourceArrayResponse.ts
|
|
|
50
51
|
src/models/IncidentLiteResourceStaff.ts
|
|
51
52
|
src/models/IncidentResource.ts
|
|
52
53
|
src/models/IncidentResourceArrayResponse.ts
|
|
54
|
+
src/models/IncidentSchemaType.ts
|
|
53
55
|
src/models/IncidentVersionResource.ts
|
|
54
56
|
src/models/IncidentVersionResourceArrayResponse.ts
|
|
55
57
|
src/models/IncidentVideoResource.ts
|
|
56
58
|
src/models/IncidentVideoResourceArrayResponse.ts
|
|
57
59
|
src/models/IncidentVideoSignedUrlResource.ts
|
|
58
60
|
src/models/IncidentVideoSignedUrlResourceArrayResponse.ts
|
|
61
|
+
src/models/IncidentVideoStatus.ts
|
|
59
62
|
src/models/IncidentVideoUploadTokenResource.ts
|
|
60
63
|
src/models/IncidentVideoUploadTokenResourceArrayResponse.ts
|
|
61
64
|
src/models/IncidentVideosRecentRequest.ts
|
|
@@ -72,12 +75,14 @@ src/models/IncidentsVideosStoreRequest.ts
|
|
|
72
75
|
src/models/IncidentsVideosUploadTokenRequest.ts
|
|
73
76
|
src/models/LicenceCheckLogResource.ts
|
|
74
77
|
src/models/LicenceCheckLogResourceArrayResponse.ts
|
|
78
|
+
src/models/LicenceCheckSource.ts
|
|
75
79
|
src/models/LicenceListResource.ts
|
|
76
80
|
src/models/LicenceListResourceArrayResponse.ts
|
|
77
81
|
src/models/LicenceLiteResource.ts
|
|
78
82
|
src/models/LicenceLiteResourceArrayResponse.ts
|
|
79
83
|
src/models/LicenceResource.ts
|
|
80
84
|
src/models/LicenceResourceArrayResponse.ts
|
|
85
|
+
src/models/LicenceState.ts
|
|
81
86
|
src/models/LicenceVerificationFallbackSettingResource.ts
|
|
82
87
|
src/models/LicenceVerificationFallbackSettingResourceArrayResponse.ts
|
|
83
88
|
src/models/LicencesCheckLogsListRequest.ts
|
|
@@ -87,9 +92,11 @@ src/models/LicencesStoreRequest.ts
|
|
|
87
92
|
src/models/LicencesStoreRequestBackAsset.ts
|
|
88
93
|
src/models/LicencesUpdateRequest.ts
|
|
89
94
|
src/models/LicencesVerifyRequest.ts
|
|
95
|
+
src/models/LoginPlatform.ts
|
|
90
96
|
src/models/MobileAppConfigRequest.ts
|
|
91
97
|
src/models/MobileAppConfigResource.ts
|
|
92
98
|
src/models/MobileAppConfigResourceArrayResponse.ts
|
|
99
|
+
src/models/MobileDevicePlatform.ts
|
|
93
100
|
src/models/MobileDeviceResource.ts
|
|
94
101
|
src/models/MobileDeviceResourceArrayResponse.ts
|
|
95
102
|
src/models/MobileInitResource.ts
|
|
@@ -99,6 +106,8 @@ src/models/NotificationPreferenceResourceArrayResponse.ts
|
|
|
99
106
|
src/models/NotificationPreferencesBulkRequest.ts
|
|
100
107
|
src/models/NotificationPreferencesBulkRequestPreferencesInner.ts
|
|
101
108
|
src/models/NotificationPreferencesStoreRequest.ts
|
|
109
|
+
src/models/NotificationStatus.ts
|
|
110
|
+
src/models/NotificationType.ts
|
|
102
111
|
src/models/NotificationTypeResource.ts
|
|
103
112
|
src/models/NotificationTypeResourceArrayResponse.ts
|
|
104
113
|
src/models/PaginatedIncidentListResourceResponse.ts
|
|
@@ -116,10 +125,14 @@ src/models/PaginatedSecurityCompanyResourceResponse.ts
|
|
|
116
125
|
src/models/PaginatedUserResourceResponse.ts
|
|
117
126
|
src/models/PaginatedVenueResourceResponse.ts
|
|
118
127
|
src/models/PagingMetadata.ts
|
|
128
|
+
src/models/PdfExportDownloadType.ts
|
|
129
|
+
src/models/PdfExportKind.ts
|
|
119
130
|
src/models/PdfExportResource.ts
|
|
120
131
|
src/models/PdfExportResourceArrayResponse.ts
|
|
132
|
+
src/models/PdfExportStatus.ts
|
|
121
133
|
src/models/RecentVideoListResource.ts
|
|
122
134
|
src/models/RecentVideoListResourceArrayResponse.ts
|
|
135
|
+
src/models/RecordSource.ts
|
|
123
136
|
src/models/RegisterGroupedByRosterResource.ts
|
|
124
137
|
src/models/RegisterGroupedByRosterResourceArrayResponse.ts
|
|
125
138
|
src/models/RegisterListResource.ts
|
|
@@ -158,6 +171,7 @@ src/models/SecurityCompanyLiteResourceArrayResponse.ts
|
|
|
158
171
|
src/models/SecurityCompanyResource.ts
|
|
159
172
|
src/models/SecurityCompanyResourceArrayResponse.ts
|
|
160
173
|
src/models/SettingsLicenceVerificationFallbackUpdateRequest.ts
|
|
174
|
+
src/models/SignOffStatus.ts
|
|
161
175
|
src/models/StoreUserRequest.ts
|
|
162
176
|
src/models/UserAuthTokenResource.ts
|
|
163
177
|
src/models/UserAuthTokenResourceArrayResponse.ts
|
|
@@ -167,6 +181,7 @@ src/models/UserRelationResource.ts
|
|
|
167
181
|
src/models/UserRelationResourceArrayResponse.ts
|
|
168
182
|
src/models/UserResource.ts
|
|
169
183
|
src/models/UserResourceArrayResponse.ts
|
|
184
|
+
src/models/UserRole.ts
|
|
170
185
|
src/models/UserVenueResource.ts
|
|
171
186
|
src/models/UserVenueResourceArrayResponse.ts
|
|
172
187
|
src/models/UsersAttachSecurityCompaniesRequest.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @digital8/security-registers-backend-ts-sdk@0.0.
|
|
1
|
+
## @digital8/security-registers-backend-ts-sdk@0.0.712
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @digital8/security-registers-backend-ts-sdk@0.0.
|
|
39
|
+
npm install @digital8/security-registers-backend-ts-sdk@0.0.712 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -0,0 +1,31 @@
|
|
|
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 AustralianState: {
|
|
17
|
+
readonly Qld: "QLD";
|
|
18
|
+
readonly Nsw: "NSW";
|
|
19
|
+
readonly Act: "ACT";
|
|
20
|
+
readonly Vic: "VIC";
|
|
21
|
+
readonly Tas: "TAS";
|
|
22
|
+
readonly Sa: "SA";
|
|
23
|
+
readonly Wa: "WA";
|
|
24
|
+
readonly Nt: "NT";
|
|
25
|
+
};
|
|
26
|
+
export type AustralianState = typeof AustralianState[keyof typeof AustralianState];
|
|
27
|
+
export declare function instanceOfAustralianState(value: any): boolean;
|
|
28
|
+
export declare function AustralianStateFromJSON(json: any): AustralianState;
|
|
29
|
+
export declare function AustralianStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): AustralianState;
|
|
30
|
+
export declare function AustralianStateToJSON(value?: AustralianState | null): any;
|
|
31
|
+
export declare function AustralianStateToJSONTyped(value: any, ignoreDiscriminator: boolean): AustralianState;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.AustralianState = void 0;
|
|
17
|
+
exports.instanceOfAustralianState = instanceOfAustralianState;
|
|
18
|
+
exports.AustralianStateFromJSON = AustralianStateFromJSON;
|
|
19
|
+
exports.AustralianStateFromJSONTyped = AustralianStateFromJSONTyped;
|
|
20
|
+
exports.AustralianStateToJSON = AustralianStateToJSON;
|
|
21
|
+
exports.AustralianStateToJSONTyped = AustralianStateToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AustralianState = {
|
|
27
|
+
Qld: 'QLD',
|
|
28
|
+
Nsw: 'NSW',
|
|
29
|
+
Act: 'ACT',
|
|
30
|
+
Vic: 'VIC',
|
|
31
|
+
Tas: 'TAS',
|
|
32
|
+
Sa: 'SA',
|
|
33
|
+
Wa: 'WA',
|
|
34
|
+
Nt: 'NT'
|
|
35
|
+
};
|
|
36
|
+
function instanceOfAustralianState(value) {
|
|
37
|
+
for (var key in exports.AustralianState) {
|
|
38
|
+
if (Object.prototype.hasOwnProperty.call(exports.AustralianState, key)) {
|
|
39
|
+
if (exports.AustralianState[key] === value) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
function AustralianStateFromJSON(json) {
|
|
47
|
+
return AustralianStateFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AustralianStateFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
function AustralianStateToJSON(value) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
function AustralianStateToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { FirstAidAsset } from './FirstAidAsset';
|
|
13
13
|
import type { BackAsset } from './BackAsset';
|
|
14
|
+
import type { LicenceState } from './LicenceState';
|
|
14
15
|
import type { FrontAsset } from './FrontAsset';
|
|
15
16
|
import type { RsaAsset } from './RsaAsset';
|
|
16
17
|
/**
|
|
@@ -21,10 +22,10 @@ import type { RsaAsset } from './RsaAsset';
|
|
|
21
22
|
export interface AuthRegisterGuardRequestLicencesInner {
|
|
22
23
|
/**
|
|
23
24
|
*
|
|
24
|
-
* @type {
|
|
25
|
+
* @type {LicenceState}
|
|
25
26
|
* @memberof AuthRegisterGuardRequestLicencesInner
|
|
26
27
|
*/
|
|
27
|
-
state:
|
|
28
|
+
state: LicenceState;
|
|
28
29
|
/**
|
|
29
30
|
*
|
|
30
31
|
* @type {string}
|
|
@@ -74,15 +75,6 @@ export interface AuthRegisterGuardRequestLicencesInner {
|
|
|
74
75
|
*/
|
|
75
76
|
backAsset?: BackAsset | null;
|
|
76
77
|
}
|
|
77
|
-
/**
|
|
78
|
-
* @export
|
|
79
|
-
*/
|
|
80
|
-
export declare const AuthRegisterGuardRequestLicencesInnerStateEnum: {
|
|
81
|
-
readonly Qld: "QLD";
|
|
82
|
-
readonly Nsw: "NSW";
|
|
83
|
-
readonly Vic: "VIC";
|
|
84
|
-
};
|
|
85
|
-
export type AuthRegisterGuardRequestLicencesInnerStateEnum = typeof AuthRegisterGuardRequestLicencesInnerStateEnum[keyof typeof AuthRegisterGuardRequestLicencesInnerStateEnum];
|
|
86
78
|
/**
|
|
87
79
|
* Check if a given object implements the AuthRegisterGuardRequestLicencesInner interface.
|
|
88
80
|
*/
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.AuthRegisterGuardRequestLicencesInnerStateEnum = void 0;
|
|
17
16
|
exports.instanceOfAuthRegisterGuardRequestLicencesInner = instanceOfAuthRegisterGuardRequestLicencesInner;
|
|
18
17
|
exports.AuthRegisterGuardRequestLicencesInnerFromJSON = AuthRegisterGuardRequestLicencesInnerFromJSON;
|
|
19
18
|
exports.AuthRegisterGuardRequestLicencesInnerFromJSONTyped = AuthRegisterGuardRequestLicencesInnerFromJSONTyped;
|
|
@@ -21,16 +20,9 @@ exports.AuthRegisterGuardRequestLicencesInnerToJSON = AuthRegisterGuardRequestLi
|
|
|
21
20
|
exports.AuthRegisterGuardRequestLicencesInnerToJSONTyped = AuthRegisterGuardRequestLicencesInnerToJSONTyped;
|
|
22
21
|
var FirstAidAsset_1 = require("./FirstAidAsset");
|
|
23
22
|
var BackAsset_1 = require("./BackAsset");
|
|
23
|
+
var LicenceState_1 = require("./LicenceState");
|
|
24
24
|
var FrontAsset_1 = require("./FrontAsset");
|
|
25
25
|
var RsaAsset_1 = require("./RsaAsset");
|
|
26
|
-
/**
|
|
27
|
-
* @export
|
|
28
|
-
*/
|
|
29
|
-
exports.AuthRegisterGuardRequestLicencesInnerStateEnum = {
|
|
30
|
-
Qld: 'QLD',
|
|
31
|
-
Nsw: 'NSW',
|
|
32
|
-
Vic: 'VIC'
|
|
33
|
-
};
|
|
34
26
|
/**
|
|
35
27
|
* Check if a given object implements the AuthRegisterGuardRequestLicencesInner interface.
|
|
36
28
|
*/
|
|
@@ -57,7 +49,7 @@ function AuthRegisterGuardRequestLicencesInnerFromJSONTyped(json, ignoreDiscrimi
|
|
|
57
49
|
return json;
|
|
58
50
|
}
|
|
59
51
|
return {
|
|
60
|
-
'state': json['state'],
|
|
52
|
+
'state': (0, LicenceState_1.LicenceStateFromJSON)(json['state']),
|
|
61
53
|
'licenceNumber': json['licence_number'],
|
|
62
54
|
'firstName': json['first_name'],
|
|
63
55
|
'lastName': json['last_name'],
|
|
@@ -77,7 +69,7 @@ function AuthRegisterGuardRequestLicencesInnerToJSONTyped(value, ignoreDiscrimin
|
|
|
77
69
|
return value;
|
|
78
70
|
}
|
|
79
71
|
return {
|
|
80
|
-
'state': value['state'],
|
|
72
|
+
'state': (0, LicenceState_1.LicenceStateToJSON)(value['state']),
|
|
81
73
|
'licence_number': value['licenceNumber'],
|
|
82
74
|
'first_name': value['firstName'],
|
|
83
75
|
'last_name': value['lastName'],
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { MobileDevicePlatform } from './MobileDevicePlatform';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -23,10 +24,10 @@ export interface DevicesRegisterRequest {
|
|
|
23
24
|
deviceId: string;
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
|
-
* @type {
|
|
27
|
+
* @type {MobileDevicePlatform}
|
|
27
28
|
* @memberof DevicesRegisterRequest
|
|
28
29
|
*/
|
|
29
|
-
platform:
|
|
30
|
+
platform: MobileDevicePlatform;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
33
|
* @type {string}
|
|
@@ -58,14 +59,6 @@ export interface DevicesRegisterRequest {
|
|
|
58
59
|
*/
|
|
59
60
|
pushToken?: string;
|
|
60
61
|
}
|
|
61
|
-
/**
|
|
62
|
-
* @export
|
|
63
|
-
*/
|
|
64
|
-
export declare const DevicesRegisterRequestPlatformEnum: {
|
|
65
|
-
readonly Ios: "ios";
|
|
66
|
-
readonly Android: "android";
|
|
67
|
-
};
|
|
68
|
-
export type DevicesRegisterRequestPlatformEnum = typeof DevicesRegisterRequestPlatformEnum[keyof typeof DevicesRegisterRequestPlatformEnum];
|
|
69
62
|
/**
|
|
70
63
|
* Check if a given object implements the DevicesRegisterRequest interface.
|
|
71
64
|
*/
|
|
@@ -13,19 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.DevicesRegisterRequestPlatformEnum = void 0;
|
|
17
16
|
exports.instanceOfDevicesRegisterRequest = instanceOfDevicesRegisterRequest;
|
|
18
17
|
exports.DevicesRegisterRequestFromJSON = DevicesRegisterRequestFromJSON;
|
|
19
18
|
exports.DevicesRegisterRequestFromJSONTyped = DevicesRegisterRequestFromJSONTyped;
|
|
20
19
|
exports.DevicesRegisterRequestToJSON = DevicesRegisterRequestToJSON;
|
|
21
20
|
exports.DevicesRegisterRequestToJSONTyped = DevicesRegisterRequestToJSONTyped;
|
|
22
|
-
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.DevicesRegisterRequestPlatformEnum = {
|
|
26
|
-
Ios: 'ios',
|
|
27
|
-
Android: 'android'
|
|
28
|
-
};
|
|
21
|
+
var MobileDevicePlatform_1 = require("./MobileDevicePlatform");
|
|
29
22
|
/**
|
|
30
23
|
* Check if a given object implements the DevicesRegisterRequest interface.
|
|
31
24
|
*/
|
|
@@ -45,7 +38,7 @@ function DevicesRegisterRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
38
|
}
|
|
46
39
|
return {
|
|
47
40
|
'deviceId': json['device_id'],
|
|
48
|
-
'platform': json['platform'],
|
|
41
|
+
'platform': (0, MobileDevicePlatform_1.MobileDevicePlatformFromJSON)(json['platform']),
|
|
49
42
|
'osVersion': json['os_version'] == null ? undefined : json['os_version'],
|
|
50
43
|
'appVersion': json['app_version'] == null ? undefined : json['app_version'],
|
|
51
44
|
'model': json['model'] == null ? undefined : json['model'],
|
|
@@ -63,7 +56,7 @@ function DevicesRegisterRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
63
56
|
}
|
|
64
57
|
return {
|
|
65
58
|
'device_id': value['deviceId'],
|
|
66
|
-
'platform': value['platform'],
|
|
59
|
+
'platform': (0, MobileDevicePlatform_1.MobileDevicePlatformToJSON)(value['platform']),
|
|
67
60
|
'os_version': value['osVersion'],
|
|
68
61
|
'app_version': value['appVersion'],
|
|
69
62
|
'model': value['model'],
|
|
@@ -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 ExportQueuedResource {
|
|
|
23
24
|
id: number;
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
|
-
* @type {
|
|
27
|
+
* @type {PdfExportStatus}
|
|
27
28
|
* @memberof ExportQueuedResource
|
|
28
29
|
*/
|
|
29
|
-
status:
|
|
30
|
+
status: PdfExportStatus;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
33
|
* @type {string}
|
|
@@ -34,16 +35,6 @@ export interface ExportQueuedResource {
|
|
|
34
35
|
*/
|
|
35
36
|
message: string;
|
|
36
37
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const ExportQueuedResourceStatusEnum: {
|
|
41
|
-
readonly Pending: "pending";
|
|
42
|
-
readonly Processing: "processing";
|
|
43
|
-
readonly Completed: "completed";
|
|
44
|
-
readonly Failed: "failed";
|
|
45
|
-
};
|
|
46
|
-
export type ExportQueuedResourceStatusEnum = typeof ExportQueuedResourceStatusEnum[keyof typeof ExportQueuedResourceStatusEnum];
|
|
47
38
|
/**
|
|
48
39
|
* Check if a given object implements the ExportQueuedResource interface.
|
|
49
40
|
*/
|
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ExportQueuedResourceStatusEnum = void 0;
|
|
17
16
|
exports.instanceOfExportQueuedResource = instanceOfExportQueuedResource;
|
|
18
17
|
exports.ExportQueuedResourceFromJSON = ExportQueuedResourceFromJSON;
|
|
19
18
|
exports.ExportQueuedResourceFromJSONTyped = ExportQueuedResourceFromJSONTyped;
|
|
20
19
|
exports.ExportQueuedResourceToJSON = ExportQueuedResourceToJSON;
|
|
21
20
|
exports.ExportQueuedResourceToJSONTyped = ExportQueuedResourceToJSONTyped;
|
|
22
|
-
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.ExportQueuedResourceStatusEnum = {
|
|
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 ExportQueuedResource interface.
|
|
33
24
|
*/
|
|
@@ -49,7 +40,7 @@ function ExportQueuedResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
40
|
}
|
|
50
41
|
return {
|
|
51
42
|
'id': json['id'],
|
|
52
|
-
'status': json['status'],
|
|
43
|
+
'status': (0, PdfExportStatus_1.PdfExportStatusFromJSON)(json['status']),
|
|
53
44
|
'message': json['message'],
|
|
54
45
|
};
|
|
55
46
|
}
|
|
@@ -63,7 +54,7 @@ function ExportQueuedResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
63
54
|
}
|
|
64
55
|
return {
|
|
65
56
|
'id': value['id'],
|
|
66
|
-
'status': value['status'],
|
|
57
|
+
'status': (0, PdfExportStatus_1.PdfExportStatusToJSON)(value['status']),
|
|
67
58
|
'message': value['message'],
|
|
68
59
|
};
|
|
69
60
|
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { IncidentSchemaType } from './IncidentSchemaType';
|
|
13
|
+
import type { LicenceState } from './LicenceState';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -23,16 +25,16 @@ export interface IncidentFieldSchemaResource {
|
|
|
23
25
|
id?: number | null;
|
|
24
26
|
/**
|
|
25
27
|
*
|
|
26
|
-
* @type {
|
|
28
|
+
* @type {LicenceState}
|
|
27
29
|
* @memberof IncidentFieldSchemaResource
|
|
28
30
|
*/
|
|
29
|
-
state:
|
|
31
|
+
state: LicenceState;
|
|
30
32
|
/**
|
|
31
33
|
*
|
|
32
|
-
* @type {
|
|
34
|
+
* @type {IncidentSchemaType}
|
|
33
35
|
* @memberof IncidentFieldSchemaResource
|
|
34
36
|
*/
|
|
35
|
-
type:
|
|
37
|
+
type: IncidentSchemaType;
|
|
36
38
|
/**
|
|
37
39
|
*
|
|
38
40
|
* @type {object}
|
|
@@ -52,23 +54,6 @@ export interface IncidentFieldSchemaResource {
|
|
|
52
54
|
*/
|
|
53
55
|
updatedAt?: Date | null;
|
|
54
56
|
}
|
|
55
|
-
/**
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export declare const IncidentFieldSchemaResourceStateEnum: {
|
|
59
|
-
readonly Qld: "QLD";
|
|
60
|
-
readonly Nsw: "NSW";
|
|
61
|
-
readonly Vic: "VIC";
|
|
62
|
-
};
|
|
63
|
-
export type IncidentFieldSchemaResourceStateEnum = typeof IncidentFieldSchemaResourceStateEnum[keyof typeof IncidentFieldSchemaResourceStateEnum];
|
|
64
|
-
/**
|
|
65
|
-
* @export
|
|
66
|
-
*/
|
|
67
|
-
export declare const IncidentFieldSchemaResourceTypeEnum: {
|
|
68
|
-
readonly Liquor: "Liquor";
|
|
69
|
-
readonly Gaming: "Gaming";
|
|
70
|
-
};
|
|
71
|
-
export type IncidentFieldSchemaResourceTypeEnum = typeof IncidentFieldSchemaResourceTypeEnum[keyof typeof IncidentFieldSchemaResourceTypeEnum];
|
|
72
57
|
/**
|
|
73
58
|
* Check if a given object implements the IncidentFieldSchemaResource interface.
|
|
74
59
|
*/
|
|
@@ -13,27 +13,13 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IncidentFieldSchemaResourceTypeEnum = exports.IncidentFieldSchemaResourceStateEnum = void 0;
|
|
17
16
|
exports.instanceOfIncidentFieldSchemaResource = instanceOfIncidentFieldSchemaResource;
|
|
18
17
|
exports.IncidentFieldSchemaResourceFromJSON = IncidentFieldSchemaResourceFromJSON;
|
|
19
18
|
exports.IncidentFieldSchemaResourceFromJSONTyped = IncidentFieldSchemaResourceFromJSONTyped;
|
|
20
19
|
exports.IncidentFieldSchemaResourceToJSON = IncidentFieldSchemaResourceToJSON;
|
|
21
20
|
exports.IncidentFieldSchemaResourceToJSONTyped = IncidentFieldSchemaResourceToJSONTyped;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
*/
|
|
25
|
-
exports.IncidentFieldSchemaResourceStateEnum = {
|
|
26
|
-
Qld: 'QLD',
|
|
27
|
-
Nsw: 'NSW',
|
|
28
|
-
Vic: 'VIC'
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* @export
|
|
32
|
-
*/
|
|
33
|
-
exports.IncidentFieldSchemaResourceTypeEnum = {
|
|
34
|
-
Liquor: 'Liquor',
|
|
35
|
-
Gaming: 'Gaming'
|
|
36
|
-
};
|
|
21
|
+
var IncidentSchemaType_1 = require("./IncidentSchemaType");
|
|
22
|
+
var LicenceState_1 = require("./LicenceState");
|
|
37
23
|
/**
|
|
38
24
|
* Check if a given object implements the IncidentFieldSchemaResource interface.
|
|
39
25
|
*/
|
|
@@ -55,8 +41,8 @@ function IncidentFieldSchemaResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
41
|
}
|
|
56
42
|
return {
|
|
57
43
|
'id': json['id'] == null ? undefined : json['id'],
|
|
58
|
-
'state': json['state'],
|
|
59
|
-
'type': json['type'],
|
|
44
|
+
'state': (0, LicenceState_1.LicenceStateFromJSON)(json['state']),
|
|
45
|
+
'type': (0, IncidentSchemaType_1.IncidentSchemaTypeFromJSON)(json['type']),
|
|
60
46
|
'jsonSchema': json['jsonSchema'],
|
|
61
47
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
62
48
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
@@ -73,8 +59,8 @@ function IncidentFieldSchemaResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
73
59
|
}
|
|
74
60
|
return {
|
|
75
61
|
'id': value['id'],
|
|
76
|
-
'state': value['state'],
|
|
77
|
-
'type': value['type'],
|
|
62
|
+
'state': (0, LicenceState_1.LicenceStateToJSON)(value['state']),
|
|
63
|
+
'type': (0, IncidentSchemaType_1.IncidentSchemaTypeToJSON)(value['type']),
|
|
78
64
|
'jsonSchema': value['jsonSchema'],
|
|
79
65
|
'createdAt': value['createdAt'] === null ? null : ((_a = value['createdAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
80
66
|
'updatedAt': value['updatedAt'] === null ? null : ((_b = value['updatedAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
|
|
@@ -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 IncidentSchemaType: {
|
|
17
|
+
readonly Liquor: "Liquor";
|
|
18
|
+
readonly Gaming: "Gaming";
|
|
19
|
+
};
|
|
20
|
+
export type IncidentSchemaType = typeof IncidentSchemaType[keyof typeof IncidentSchemaType];
|
|
21
|
+
export declare function instanceOfIncidentSchemaType(value: any): boolean;
|
|
22
|
+
export declare function IncidentSchemaTypeFromJSON(json: any): IncidentSchemaType;
|
|
23
|
+
export declare function IncidentSchemaTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentSchemaType;
|
|
24
|
+
export declare function IncidentSchemaTypeToJSON(value?: IncidentSchemaType | null): any;
|
|
25
|
+
export declare function IncidentSchemaTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): IncidentSchemaType;
|
|
@@ -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.IncidentSchemaType = void 0;
|
|
17
|
+
exports.instanceOfIncidentSchemaType = instanceOfIncidentSchemaType;
|
|
18
|
+
exports.IncidentSchemaTypeFromJSON = IncidentSchemaTypeFromJSON;
|
|
19
|
+
exports.IncidentSchemaTypeFromJSONTyped = IncidentSchemaTypeFromJSONTyped;
|
|
20
|
+
exports.IncidentSchemaTypeToJSON = IncidentSchemaTypeToJSON;
|
|
21
|
+
exports.IncidentSchemaTypeToJSONTyped = IncidentSchemaTypeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.IncidentSchemaType = {
|
|
27
|
+
Liquor: 'Liquor',
|
|
28
|
+
Gaming: 'Gaming'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfIncidentSchemaType(value) {
|
|
31
|
+
for (var key in exports.IncidentSchemaType) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.IncidentSchemaType, key)) {
|
|
33
|
+
if (exports.IncidentSchemaType[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function IncidentSchemaTypeFromJSON(json) {
|
|
41
|
+
return IncidentSchemaTypeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function IncidentSchemaTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function IncidentSchemaTypeToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function IncidentSchemaTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { IncidentVideoStatus } from './IncidentVideoStatus';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -23,10 +24,10 @@ export interface IncidentVideoResource {
|
|
|
23
24
|
id: number;
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
|
-
* @type {
|
|
27
|
+
* @type {IncidentVideoStatus}
|
|
27
28
|
* @memberof IncidentVideoResource
|
|
28
29
|
*/
|
|
29
|
-
status:
|
|
30
|
+
status: IncidentVideoStatus;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
33
|
* @type {string}
|
|
@@ -64,15 +65,6 @@ export interface IncidentVideoResource {
|
|
|
64
65
|
*/
|
|
65
66
|
updatedAt?: Date | null;
|
|
66
67
|
}
|
|
67
|
-
/**
|
|
68
|
-
* @export
|
|
69
|
-
*/
|
|
70
|
-
export declare const IncidentVideoResourceStatusEnum: {
|
|
71
|
-
readonly Processing: "processing";
|
|
72
|
-
readonly Ready: "ready";
|
|
73
|
-
readonly Failed: "failed";
|
|
74
|
-
};
|
|
75
|
-
export type IncidentVideoResourceStatusEnum = typeof IncidentVideoResourceStatusEnum[keyof typeof IncidentVideoResourceStatusEnum];
|
|
76
68
|
/**
|
|
77
69
|
* Check if a given object implements the IncidentVideoResource interface.
|
|
78
70
|
*/
|