@digital8/security-registers-backend-ts-sdk 0.0.361 → 0.0.363
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 +0 -7
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +5 -80
- package/dist/apis/GeneralApi.js +2 -390
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/AssetLiteResource.d.ts +0 -12
- package/dist/models/AssetLiteResource.js +0 -6
- package/dist/models/AssetResource.d.ts +0 -12
- package/dist/models/AssetResource.js +0 -6
- package/dist/models/AuthProfileUpdateRequest.d.ts +0 -6
- package/dist/models/AuthProfileUpdateRequest.js +0 -2
- package/dist/models/AuthRegisterGuardRequestLicence.d.ts +8 -3
- package/dist/models/AuthRegisterGuardRequestLicence.js +8 -3
- package/dist/models/CurrentRegisterResource.d.ts +5 -22
- package/dist/models/CurrentRegisterResource.js +7 -14
- package/dist/models/IncidentFieldAuditResource.d.ts +0 -6
- package/dist/models/IncidentFieldAuditResource.js +0 -2
- package/dist/models/IncidentFieldSchemaResource.d.ts +6 -13
- package/dist/models/IncidentFieldSchemaResource.js +0 -9
- package/dist/models/IncidentFieldSchemasShowRequest.d.ts +5 -0
- package/dist/models/IncidentFieldSchemasShowRequest.js +6 -1
- package/dist/models/IncidentImageResource.d.ts +1 -1
- package/dist/models/IncidentImageResource.js +1 -3
- package/dist/models/IncidentListResource.d.ts +0 -6
- package/dist/models/IncidentListResource.js +0 -2
- package/dist/models/IncidentVersionResource.d.ts +2 -2
- package/dist/models/IncidentVideoResource.d.ts +1 -10
- package/dist/models/IncidentVideoResource.js +0 -9
- package/dist/models/IncidentsUpdateRequest.d.ts +3 -3
- package/dist/models/LicenceListResource.d.ts +2 -11
- package/dist/models/LicenceListResource.js +0 -9
- package/dist/models/LicenceLiteResource.d.ts +2 -11
- package/dist/models/LicenceLiteResource.js +0 -9
- package/dist/models/LicenceResource.d.ts +2 -11
- package/dist/models/LicenceResource.js +0 -9
- package/dist/models/LicencesStoreRequest.d.ts +8 -3
- package/dist/models/LicencesStoreRequest.js +8 -3
- package/dist/models/LicencesUpdateRequest.d.ts +8 -3
- package/dist/models/LicencesUpdateRequest.js +8 -3
- package/dist/models/LicencesVerifyRequest.d.ts +6 -1
- package/dist/models/LicencesVerifyRequest.js +6 -1
- package/dist/models/MobileDeviceResource.d.ts +1 -9
- package/dist/models/MobileDeviceResource.js +0 -8
- package/dist/models/NotificationPreferenceResource.d.ts +1 -12
- package/dist/models/NotificationPreferenceResource.js +0 -11
- package/dist/models/NotificationPreferencesStoreRequest.d.ts +1 -0
- package/dist/models/NotificationPreferencesStoreRequest.js +1 -0
- package/dist/models/NotificationTypeResource.d.ts +0 -6
- package/dist/models/NotificationTypeResource.js +0 -4
- package/dist/models/PdfExportQueuedResource.d.ts +1 -11
- package/dist/models/PdfExportQueuedResource.js +0 -10
- package/dist/models/PdfExportResource.d.ts +1 -11
- package/dist/models/PdfExportResource.js +0 -10
- package/dist/models/RegisterGroupedByRosterResource.d.ts +1 -1
- package/dist/models/RegisterGroupedByRosterResource.js +4 -3
- package/dist/models/RegisterListResource.d.ts +2 -17
- package/dist/models/RegisterListResource.js +1 -16
- package/dist/models/RegisterResource.d.ts +3 -18
- package/dist/models/RegisterResource.js +2 -19
- package/dist/models/RegistersCreateRequest.d.ts +0 -6
- package/dist/models/RegistersCreateRequest.js +0 -2
- package/dist/models/RegistersSignOffRequest.d.ts +3 -3
- package/dist/models/RegistersSignOffRequest.js +2 -2
- package/dist/models/RegistersSignOnRequest.d.ts +3 -9
- package/dist/models/RegistersSignOnRequest.js +2 -4
- package/dist/models/RosterListResource.d.ts +4 -19
- package/dist/models/RosterListResource.js +3 -17
- package/dist/models/RosterLiteResource.d.ts +1 -1
- package/dist/models/RosterLiteResource.js +4 -3
- package/dist/models/RosterResource.d.ts +1 -10
- package/dist/models/RosterResource.js +0 -9
- package/dist/models/RosterWithRegistersResource.d.ts +1 -10
- package/dist/models/RosterWithRegistersResource.js +0 -9
- package/dist/models/SecurityCompanyResource.d.ts +1 -1
- package/dist/models/SecurityCompanyResource.js +1 -3
- package/dist/models/UserResource.d.ts +2 -9
- package/dist/models/UserResource.js +2 -7
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.d.ts +8 -3
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.js +8 -3
- package/dist/models/VenueLiteResource.d.ts +0 -6
- package/dist/models/VenueLiteResource.js +0 -4
- package/dist/models/VenueResource.d.ts +0 -6
- package/dist/models/VenueResource.js +0 -4
- package/dist/models/VenuesListAllRequest.d.ts +0 -6
- package/dist/models/VenuesListAllRequest.js +0 -2
- package/dist/models/VenuesListRequest.d.ts +0 -6
- package/dist/models/VenuesListRequest.js +0 -2
- package/dist/models/VenuesPublicStoreRequest.d.ts +0 -6
- package/dist/models/VenuesPublicStoreRequest.js +0 -2
- package/dist/models/VenuesUpdateRequest.d.ts +0 -6
- package/dist/models/VenuesUpdateRequest.js +0 -2
- package/dist/models/index.d.ts +0 -7
- package/dist/models/index.js +0 -7
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +6 -343
- package/src/models/AddressResource.ts +3 -2
- package/src/models/AssetLiteResource.ts +0 -17
- package/src/models/AssetResource.ts +0 -17
- package/src/models/AuthProfileUpdateRequest.ts +0 -8
- package/src/models/AuthRegisterGuardRequestLicence.ts +11 -6
- package/src/models/CurrentRegisterResource.ts +18 -35
- package/src/models/IncidentFieldAuditResource.ts +0 -8
- package/src/models/IncidentFieldSchemaResource.ts +4 -16
- package/src/models/IncidentFieldSchemasShowRequest.ts +6 -1
- package/src/models/IncidentImageResource.ts +2 -3
- package/src/models/IncidentListResource.ts +0 -8
- package/src/models/IncidentVersionResource.ts +2 -2
- package/src/models/IncidentVideoResource.ts +1 -13
- package/src/models/IncidentsUpdateRequest.ts +3 -3
- package/src/models/LicenceListResource.ts +2 -14
- package/src/models/LicenceLiteResource.ts +2 -14
- package/src/models/LicenceResource.ts +2 -14
- package/src/models/LicencesStoreRequest.ts +11 -6
- package/src/models/LicencesUpdateRequest.ts +11 -6
- package/src/models/LicencesVerifyRequest.ts +7 -2
- package/src/models/MobileDeviceResource.ts +1 -12
- package/src/models/NotificationPreferenceResource.ts +1 -15
- package/src/models/NotificationPreferencesStoreRequest.ts +1 -0
- package/src/models/NotificationTypeResource.ts +0 -9
- package/src/models/PdfExportQueuedResource.ts +1 -14
- package/src/models/PdfExportResource.ts +1 -14
- package/src/models/RegisterGroupedByRosterResource.ts +4 -3
- package/src/models/RegisterListResource.ts +3 -25
- package/src/models/RegisterResource.ts +5 -28
- package/src/models/RegistersCreateRequest.ts +0 -8
- package/src/models/RegistersSignOffRequest.ts +5 -5
- package/src/models/RegistersSignOnRequest.ts +5 -13
- package/src/models/RosterListResource.ts +6 -28
- package/src/models/RosterLiteResource.ts +4 -3
- package/src/models/RosterResource.ts +1 -13
- package/src/models/RosterWithRegistersResource.ts +1 -13
- package/src/models/SecurityCompanyResource.ts +2 -3
- package/src/models/UserResource.ts +4 -20
- package/src/models/UsersCreateWithRoleRequestLicencesInner.ts +11 -6
- package/src/models/VenueLiteResource.ts +0 -9
- package/src/models/VenueResource.ts +0 -9
- package/src/models/VenuesListAllRequest.ts +0 -8
- package/src/models/VenuesListRequest.ts +0 -8
- package/src/models/VenuesPublicStoreRequest.ts +0 -8
- package/src/models/VenuesUpdateRequest.ts +0 -8
- package/src/models/index.ts +0 -7
- package/dist/models/LicenceVerificationFallbackSettingResource.d.ts +0 -57
- package/dist/models/LicenceVerificationFallbackSettingResource.js +0 -67
- package/dist/models/LicenceVerificationFallbackSettingResourceArrayResponse.d.ts +0 -33
- package/dist/models/LicenceVerificationFallbackSettingResourceArrayResponse.js +0 -50
- package/dist/models/NotificationPreferencesBulkRequest.d.ts +0 -33
- package/dist/models/NotificationPreferencesBulkRequest.js +0 -52
- package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.d.ts +0 -55
- package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.js +0 -68
- package/dist/models/SettingsLicenceVerificationFallbackUpdateRequest.d.ts +0 -44
- package/dist/models/SettingsLicenceVerificationFallbackUpdateRequest.js +0 -53
- package/dist/models/VenueMobileResource.d.ts +0 -105
- package/dist/models/VenueMobileResource.js +0 -96
- package/dist/models/VenueMobileResourceArrayResponse.d.ts +0 -33
- package/dist/models/VenueMobileResourceArrayResponse.js +0 -50
- package/src/models/LicenceVerificationFallbackSettingResource.ts +0 -109
- package/src/models/LicenceVerificationFallbackSettingResourceArrayResponse.ts +0 -73
- package/src/models/NotificationPreferencesBulkRequest.ts +0 -74
- package/src/models/NotificationPreferencesBulkRequestPreferencesInner.ts +0 -97
- package/src/models/SettingsLicenceVerificationFallbackUpdateRequest.ts +0 -81
- package/src/models/VenueMobileResource.ts +0 -180
- package/src/models/VenueMobileResourceArrayResponse.ts +0 -73
|
@@ -30,10 +30,10 @@ export interface LicenceResource {
|
|
|
30
30
|
user: UserRelationResource | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {object}
|
|
34
34
|
* @memberof LicenceResource
|
|
35
35
|
*/
|
|
36
|
-
state:
|
|
36
|
+
state: object;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {string}
|
|
@@ -101,15 +101,6 @@ export interface LicenceResource {
|
|
|
101
101
|
*/
|
|
102
102
|
updatedAt?: Date | null;
|
|
103
103
|
}
|
|
104
|
-
/**
|
|
105
|
-
* @export
|
|
106
|
-
*/
|
|
107
|
-
export declare const LicenceResourceStateEnum: {
|
|
108
|
-
readonly Qld: "QLD";
|
|
109
|
-
readonly Nsw: "NSW";
|
|
110
|
-
readonly Vic: "VIC";
|
|
111
|
-
};
|
|
112
|
-
export type LicenceResourceStateEnum = typeof LicenceResourceStateEnum[keyof typeof LicenceResourceStateEnum];
|
|
113
104
|
/**
|
|
114
105
|
* Check if a given object implements the LicenceResource interface.
|
|
115
106
|
*/
|
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.LicenceResourceStateEnum = void 0;
|
|
17
16
|
exports.instanceOfLicenceResource = instanceOfLicenceResource;
|
|
18
17
|
exports.LicenceResourceFromJSON = LicenceResourceFromJSON;
|
|
19
18
|
exports.LicenceResourceFromJSONTyped = LicenceResourceFromJSONTyped;
|
|
20
19
|
exports.LicenceResourceToJSON = LicenceResourceToJSON;
|
|
21
20
|
exports.LicenceResourceToJSONTyped = LicenceResourceToJSONTyped;
|
|
22
21
|
var UserRelationResource_1 = require("./UserRelationResource");
|
|
23
|
-
/**
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.LicenceResourceStateEnum = {
|
|
27
|
-
Qld: 'QLD',
|
|
28
|
-
Nsw: 'NSW',
|
|
29
|
-
Vic: 'VIC'
|
|
30
|
-
};
|
|
31
22
|
/**
|
|
32
23
|
* Check if a given object implements the LicenceResource interface.
|
|
33
24
|
*/
|
|
@@ -48,11 +48,11 @@ export interface LicencesStoreRequest {
|
|
|
48
48
|
*/
|
|
49
49
|
lastName: string;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {
|
|
51
|
+
*
|
|
52
|
+
* @type {Date}
|
|
53
53
|
* @memberof LicencesStoreRequest
|
|
54
54
|
*/
|
|
55
|
-
expiryDate:
|
|
55
|
+
expiryDate: Date;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {AuthRegisterGuardRequestProfileSignature}
|
|
@@ -84,7 +84,12 @@ export interface LicencesStoreRequest {
|
|
|
84
84
|
export declare const LicencesStoreRequestStateEnum: {
|
|
85
85
|
readonly Qld: "QLD";
|
|
86
86
|
readonly Nsw: "NSW";
|
|
87
|
+
readonly Act: "ACT";
|
|
87
88
|
readonly Vic: "VIC";
|
|
89
|
+
readonly Tas: "TAS";
|
|
90
|
+
readonly Sa: "SA";
|
|
91
|
+
readonly Wa: "WA";
|
|
92
|
+
readonly Nt: "NT";
|
|
88
93
|
};
|
|
89
94
|
export type LicencesStoreRequestStateEnum = typeof LicencesStoreRequestStateEnum[keyof typeof LicencesStoreRequestStateEnum];
|
|
90
95
|
/**
|
|
@@ -27,7 +27,12 @@ var AuthRegisterGuardRequestProfileSignature_1 = require("./AuthRegisterGuardReq
|
|
|
27
27
|
exports.LicencesStoreRequestStateEnum = {
|
|
28
28
|
Qld: 'QLD',
|
|
29
29
|
Nsw: 'NSW',
|
|
30
|
-
|
|
30
|
+
Act: 'ACT',
|
|
31
|
+
Vic: 'VIC',
|
|
32
|
+
Tas: 'TAS',
|
|
33
|
+
Sa: 'SA',
|
|
34
|
+
Wa: 'WA',
|
|
35
|
+
Nt: 'NT'
|
|
31
36
|
};
|
|
32
37
|
/**
|
|
33
38
|
* Check if a given object implements the LicencesStoreRequest interface.
|
|
@@ -62,7 +67,7 @@ function LicencesStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
67
|
'licenceNumber': json['licence_number'],
|
|
63
68
|
'firstName': json['first_name'],
|
|
64
69
|
'lastName': json['last_name'],
|
|
65
|
-
'expiryDate': json['expiry_date'],
|
|
70
|
+
'expiryDate': (new Date(json['expiry_date'])),
|
|
66
71
|
'frontAsset': (0, AuthRegisterGuardRequestProfileSignature_1.AuthRegisterGuardRequestProfileSignatureFromJSON)(json['front_asset']),
|
|
67
72
|
'backAsset': json['back_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['back_asset']),
|
|
68
73
|
'rsaAsset': json['rsa_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['rsa_asset']),
|
|
@@ -83,7 +88,7 @@ function LicencesStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
83
88
|
'licence_number': value['licenceNumber'],
|
|
84
89
|
'first_name': value['firstName'],
|
|
85
90
|
'last_name': value['lastName'],
|
|
86
|
-
'expiry_date': value['expiryDate'],
|
|
91
|
+
'expiry_date': ((value['expiryDate']).toISOString()),
|
|
87
92
|
'front_asset': (0, AuthRegisterGuardRequestProfileSignature_1.AuthRegisterGuardRequestProfileSignatureToJSON)(value['frontAsset']),
|
|
88
93
|
'back_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['backAsset']),
|
|
89
94
|
'rsa_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['rsaAsset']),
|
|
@@ -41,11 +41,11 @@ export interface LicencesUpdateRequest {
|
|
|
41
41
|
*/
|
|
42
42
|
lastName?: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {
|
|
44
|
+
*
|
|
45
|
+
* @type {Date}
|
|
46
46
|
* @memberof LicencesUpdateRequest
|
|
47
47
|
*/
|
|
48
|
-
expiryDate?:
|
|
48
|
+
expiryDate?: Date;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {LicencesStoreRequestBackAsset}
|
|
@@ -77,7 +77,12 @@ export interface LicencesUpdateRequest {
|
|
|
77
77
|
export declare const LicencesUpdateRequestStateEnum: {
|
|
78
78
|
readonly Qld: "QLD";
|
|
79
79
|
readonly Nsw: "NSW";
|
|
80
|
+
readonly Act: "ACT";
|
|
80
81
|
readonly Vic: "VIC";
|
|
82
|
+
readonly Tas: "TAS";
|
|
83
|
+
readonly Sa: "SA";
|
|
84
|
+
readonly Wa: "WA";
|
|
85
|
+
readonly Nt: "NT";
|
|
81
86
|
};
|
|
82
87
|
export type LicencesUpdateRequestStateEnum = typeof LicencesUpdateRequestStateEnum[keyof typeof LicencesUpdateRequestStateEnum];
|
|
83
88
|
/**
|
|
@@ -26,7 +26,12 @@ var LicencesStoreRequestBackAsset_1 = require("./LicencesStoreRequestBackAsset")
|
|
|
26
26
|
exports.LicencesUpdateRequestStateEnum = {
|
|
27
27
|
Qld: 'QLD',
|
|
28
28
|
Nsw: 'NSW',
|
|
29
|
-
|
|
29
|
+
Act: 'ACT',
|
|
30
|
+
Vic: 'VIC',
|
|
31
|
+
Tas: 'TAS',
|
|
32
|
+
Sa: 'SA',
|
|
33
|
+
Wa: 'WA',
|
|
34
|
+
Nt: 'NT'
|
|
30
35
|
};
|
|
31
36
|
/**
|
|
32
37
|
* Check if a given object implements the LicencesUpdateRequest interface.
|
|
@@ -46,7 +51,7 @@ function LicencesUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
51
|
'licenceNumber': json['licence_number'] == null ? undefined : json['licence_number'],
|
|
47
52
|
'firstName': json['first_name'] == null ? undefined : json['first_name'],
|
|
48
53
|
'lastName': json['last_name'] == null ? undefined : json['last_name'],
|
|
49
|
-
'expiryDate': json['expiry_date'] == null ? undefined : json['expiry_date'],
|
|
54
|
+
'expiryDate': json['expiry_date'] == null ? undefined : (new Date(json['expiry_date'])),
|
|
50
55
|
'frontAsset': json['front_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['front_asset']),
|
|
51
56
|
'backAsset': json['back_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['back_asset']),
|
|
52
57
|
'rsaAsset': json['rsa_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['rsa_asset']),
|
|
@@ -66,7 +71,7 @@ function LicencesUpdateRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
66
71
|
'licence_number': value['licenceNumber'],
|
|
67
72
|
'first_name': value['firstName'],
|
|
68
73
|
'last_name': value['lastName'],
|
|
69
|
-
'expiry_date': value['expiryDate'],
|
|
74
|
+
'expiry_date': value['expiryDate'] == null ? undefined : ((value['expiryDate']).toISOString()),
|
|
70
75
|
'front_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['frontAsset']),
|
|
71
76
|
'back_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['backAsset']),
|
|
72
77
|
'rsa_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['rsaAsset']),
|
|
@@ -40,7 +40,7 @@ export interface LicencesVerifyRequest {
|
|
|
40
40
|
*/
|
|
41
41
|
lastName: string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof LicencesVerifyRequest
|
|
46
46
|
*/
|
|
@@ -52,7 +52,12 @@ export interface LicencesVerifyRequest {
|
|
|
52
52
|
export declare const LicencesVerifyRequestStateEnum: {
|
|
53
53
|
readonly Qld: "QLD";
|
|
54
54
|
readonly Nsw: "NSW";
|
|
55
|
+
readonly Act: "ACT";
|
|
55
56
|
readonly Vic: "VIC";
|
|
57
|
+
readonly Tas: "TAS";
|
|
58
|
+
readonly Sa: "SA";
|
|
59
|
+
readonly Wa: "WA";
|
|
60
|
+
readonly Nt: "NT";
|
|
56
61
|
};
|
|
57
62
|
export type LicencesVerifyRequestStateEnum = typeof LicencesVerifyRequestStateEnum[keyof typeof LicencesVerifyRequestStateEnum];
|
|
58
63
|
/**
|
|
@@ -25,7 +25,12 @@ exports.LicencesVerifyRequestToJSONTyped = LicencesVerifyRequestToJSONTyped;
|
|
|
25
25
|
exports.LicencesVerifyRequestStateEnum = {
|
|
26
26
|
Qld: 'QLD',
|
|
27
27
|
Nsw: 'NSW',
|
|
28
|
-
|
|
28
|
+
Act: 'ACT',
|
|
29
|
+
Vic: 'VIC',
|
|
30
|
+
Tas: 'TAS',
|
|
31
|
+
Sa: 'SA',
|
|
32
|
+
Wa: 'WA',
|
|
33
|
+
Nt: 'NT'
|
|
29
34
|
};
|
|
30
35
|
/**
|
|
31
36
|
* Check if a given object implements the LicencesVerifyRequest interface.
|
|
@@ -32,7 +32,7 @@ export interface MobileDeviceResource {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof MobileDeviceResource
|
|
34
34
|
*/
|
|
35
|
-
platform:
|
|
35
|
+
platform: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
@@ -82,14 +82,6 @@ export interface MobileDeviceResource {
|
|
|
82
82
|
*/
|
|
83
83
|
updatedAt?: Date | null;
|
|
84
84
|
}
|
|
85
|
-
/**
|
|
86
|
-
* @export
|
|
87
|
-
*/
|
|
88
|
-
export declare const MobileDeviceResourcePlatformEnum: {
|
|
89
|
-
readonly Ios: "ios";
|
|
90
|
-
readonly Android: "android";
|
|
91
|
-
};
|
|
92
|
-
export type MobileDeviceResourcePlatformEnum = typeof MobileDeviceResourcePlatformEnum[keyof typeof MobileDeviceResourcePlatformEnum];
|
|
93
85
|
/**
|
|
94
86
|
* Check if a given object implements the MobileDeviceResource interface.
|
|
95
87
|
*/
|
|
@@ -13,19 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.MobileDeviceResourcePlatformEnum = void 0;
|
|
17
16
|
exports.instanceOfMobileDeviceResource = instanceOfMobileDeviceResource;
|
|
18
17
|
exports.MobileDeviceResourceFromJSON = MobileDeviceResourceFromJSON;
|
|
19
18
|
exports.MobileDeviceResourceFromJSONTyped = MobileDeviceResourceFromJSONTyped;
|
|
20
19
|
exports.MobileDeviceResourceToJSON = MobileDeviceResourceToJSON;
|
|
21
20
|
exports.MobileDeviceResourceToJSONTyped = MobileDeviceResourceToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.MobileDeviceResourcePlatformEnum = {
|
|
26
|
-
Ios: 'ios',
|
|
27
|
-
Android: 'android'
|
|
28
|
-
};
|
|
29
21
|
/**
|
|
30
22
|
* Check if a given object implements the MobileDeviceResource interface.
|
|
31
23
|
*/
|
|
@@ -27,7 +27,7 @@ export interface NotificationPreferenceResource {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof NotificationPreferenceResource
|
|
29
29
|
*/
|
|
30
|
-
notificationType:
|
|
30
|
+
notificationType: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {VenueLiteResource}
|
|
@@ -53,17 +53,6 @@ export interface NotificationPreferenceResource {
|
|
|
53
53
|
*/
|
|
54
54
|
updatedAt?: Date | null;
|
|
55
55
|
}
|
|
56
|
-
/**
|
|
57
|
-
* @export
|
|
58
|
-
*/
|
|
59
|
-
export declare const NotificationPreferenceResourceNotificationTypeEnum: {
|
|
60
|
-
readonly IncidentAdded: "incident_added";
|
|
61
|
-
readonly NonSignOff: "non_sign_off";
|
|
62
|
-
readonly NonSignOn: "non_sign_on";
|
|
63
|
-
readonly SignOnRejected: "sign_on_rejected";
|
|
64
|
-
readonly LicenceUpdated: "licence_updated";
|
|
65
|
-
};
|
|
66
|
-
export type NotificationPreferenceResourceNotificationTypeEnum = typeof NotificationPreferenceResourceNotificationTypeEnum[keyof typeof NotificationPreferenceResourceNotificationTypeEnum];
|
|
67
56
|
/**
|
|
68
57
|
* Check if a given object implements the NotificationPreferenceResource interface.
|
|
69
58
|
*/
|
|
@@ -13,23 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.NotificationPreferenceResourceNotificationTypeEnum = void 0;
|
|
17
16
|
exports.instanceOfNotificationPreferenceResource = instanceOfNotificationPreferenceResource;
|
|
18
17
|
exports.NotificationPreferenceResourceFromJSON = NotificationPreferenceResourceFromJSON;
|
|
19
18
|
exports.NotificationPreferenceResourceFromJSONTyped = NotificationPreferenceResourceFromJSONTyped;
|
|
20
19
|
exports.NotificationPreferenceResourceToJSON = NotificationPreferenceResourceToJSON;
|
|
21
20
|
exports.NotificationPreferenceResourceToJSONTyped = NotificationPreferenceResourceToJSONTyped;
|
|
22
21
|
var VenueLiteResource_1 = require("./VenueLiteResource");
|
|
23
|
-
/**
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.NotificationPreferenceResourceNotificationTypeEnum = {
|
|
27
|
-
IncidentAdded: 'incident_added',
|
|
28
|
-
NonSignOff: 'non_sign_off',
|
|
29
|
-
NonSignOn: 'non_sign_on',
|
|
30
|
-
SignOnRejected: 'sign_on_rejected',
|
|
31
|
-
LicenceUpdated: 'licence_updated'
|
|
32
|
-
};
|
|
33
22
|
/**
|
|
34
23
|
* Check if a given object implements the NotificationPreferenceResource interface.
|
|
35
24
|
*/
|
|
@@ -39,6 +39,7 @@ export interface NotificationPreferencesStoreRequest {
|
|
|
39
39
|
*/
|
|
40
40
|
export declare const NotificationPreferencesStoreRequestNotificationTypeEnum: {
|
|
41
41
|
readonly IncidentAdded: "incident_added";
|
|
42
|
+
readonly IncidentPendingReminder: "incident_pending_reminder";
|
|
42
43
|
readonly NonSignOff: "non_sign_off";
|
|
43
44
|
readonly NonSignOn: "non_sign_on";
|
|
44
45
|
readonly SignOnRejected: "sign_on_rejected";
|
|
@@ -24,6 +24,7 @@ exports.NotificationPreferencesStoreRequestToJSONTyped = NotificationPreferences
|
|
|
24
24
|
*/
|
|
25
25
|
exports.NotificationPreferencesStoreRequestNotificationTypeEnum = {
|
|
26
26
|
IncidentAdded: 'incident_added',
|
|
27
|
+
IncidentPendingReminder: 'incident_pending_reminder',
|
|
27
28
|
NonSignOff: 'non_sign_off',
|
|
28
29
|
NonSignOn: 'non_sign_on',
|
|
29
30
|
SignOnRejected: 'sign_on_rejected',
|
|
@@ -27,12 +27,6 @@ export interface NotificationTypeResource {
|
|
|
27
27
|
* @memberof NotificationTypeResource
|
|
28
28
|
*/
|
|
29
29
|
label: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof NotificationTypeResource
|
|
34
|
-
*/
|
|
35
|
-
supportsPerVenueOverride: boolean;
|
|
36
30
|
}
|
|
37
31
|
/**
|
|
38
32
|
* Check if a given object implements the NotificationTypeResource interface.
|
|
@@ -26,8 +26,6 @@ function instanceOfNotificationTypeResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('label' in value) || value['label'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('supportsPerVenueOverride' in value) || value['supportsPerVenueOverride'] === undefined)
|
|
30
|
-
return false;
|
|
31
29
|
return true;
|
|
32
30
|
}
|
|
33
31
|
function NotificationTypeResourceFromJSON(json) {
|
|
@@ -40,7 +38,6 @@ function NotificationTypeResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
38
|
return {
|
|
41
39
|
'value': json['value'],
|
|
42
40
|
'label': json['label'],
|
|
43
|
-
'supportsPerVenueOverride': json['supportsPerVenueOverride'],
|
|
44
41
|
};
|
|
45
42
|
}
|
|
46
43
|
function NotificationTypeResourceToJSON(json) {
|
|
@@ -54,6 +51,5 @@ function NotificationTypeResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
54
51
|
return {
|
|
55
52
|
'value': value['value'],
|
|
56
53
|
'label': value['label'],
|
|
57
|
-
'supportsPerVenueOverride': value['supportsPerVenueOverride'],
|
|
58
54
|
};
|
|
59
55
|
}
|
|
@@ -26,7 +26,7 @@ export interface PdfExportQueuedResource {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof PdfExportQueuedResource
|
|
28
28
|
*/
|
|
29
|
-
status:
|
|
29
|
+
status: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -34,16 +34,6 @@ export interface PdfExportQueuedResource {
|
|
|
34
34
|
*/
|
|
35
35
|
message: string;
|
|
36
36
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const PdfExportQueuedResourceStatusEnum: {
|
|
41
|
-
readonly Pending: "pending";
|
|
42
|
-
readonly Processing: "processing";
|
|
43
|
-
readonly Completed: "completed";
|
|
44
|
-
readonly Failed: "failed";
|
|
45
|
-
};
|
|
46
|
-
export type PdfExportQueuedResourceStatusEnum = typeof PdfExportQueuedResourceStatusEnum[keyof typeof PdfExportQueuedResourceStatusEnum];
|
|
47
37
|
/**
|
|
48
38
|
* Check if a given object implements the PdfExportQueuedResource interface.
|
|
49
39
|
*/
|
|
@@ -13,21 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.PdfExportQueuedResourceStatusEnum = void 0;
|
|
17
16
|
exports.instanceOfPdfExportQueuedResource = instanceOfPdfExportQueuedResource;
|
|
18
17
|
exports.PdfExportQueuedResourceFromJSON = PdfExportQueuedResourceFromJSON;
|
|
19
18
|
exports.PdfExportQueuedResourceFromJSONTyped = PdfExportQueuedResourceFromJSONTyped;
|
|
20
19
|
exports.PdfExportQueuedResourceToJSON = PdfExportQueuedResourceToJSON;
|
|
21
20
|
exports.PdfExportQueuedResourceToJSONTyped = PdfExportQueuedResourceToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.PdfExportQueuedResourceStatusEnum = {
|
|
26
|
-
Pending: 'pending',
|
|
27
|
-
Processing: 'processing',
|
|
28
|
-
Completed: 'completed',
|
|
29
|
-
Failed: 'failed'
|
|
30
|
-
};
|
|
31
21
|
/**
|
|
32
22
|
* Check if a given object implements the PdfExportQueuedResource interface.
|
|
33
23
|
*/
|
|
@@ -26,7 +26,7 @@ export interface PdfExportResource {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof PdfExportResource
|
|
28
28
|
*/
|
|
29
|
-
status:
|
|
29
|
+
status: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -40,16 +40,6 @@ export interface PdfExportResource {
|
|
|
40
40
|
*/
|
|
41
41
|
downloadUrl: string;
|
|
42
42
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const PdfExportResourceStatusEnum: {
|
|
47
|
-
readonly Pending: "pending";
|
|
48
|
-
readonly Processing: "processing";
|
|
49
|
-
readonly Completed: "completed";
|
|
50
|
-
readonly Failed: "failed";
|
|
51
|
-
};
|
|
52
|
-
export type PdfExportResourceStatusEnum = typeof PdfExportResourceStatusEnum[keyof typeof PdfExportResourceStatusEnum];
|
|
53
43
|
/**
|
|
54
44
|
* Check if a given object implements the PdfExportResource interface.
|
|
55
45
|
*/
|
|
@@ -13,21 +13,11 @@
|
|
|
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
|
-
};
|
|
31
21
|
/**
|
|
32
22
|
* Check if a given object implements the PdfExportResource interface.
|
|
33
23
|
*/
|
|
@@ -32,6 +32,8 @@ function instanceOfRegisterGroupedByRosterResource(value) {
|
|
|
32
32
|
return false;
|
|
33
33
|
if (!('startDateTime' in value) || value['startDateTime'] === undefined)
|
|
34
34
|
return false;
|
|
35
|
+
if (!('finishDateTime' in value) || value['finishDateTime'] === undefined)
|
|
36
|
+
return false;
|
|
35
37
|
if (!('registers' in value) || value['registers'] === undefined)
|
|
36
38
|
return false;
|
|
37
39
|
return true;
|
|
@@ -49,7 +51,7 @@ function RegisterGroupedByRosterResourceFromJSONTyped(json, ignoreDiscriminator)
|
|
|
49
51
|
'timezone': json['timezone'],
|
|
50
52
|
'state': json['state'],
|
|
51
53
|
'startDateTime': (new Date(json['startDateTime'])),
|
|
52
|
-
'finishDateTime':
|
|
54
|
+
'finishDateTime': (new Date(json['finishDateTime'])),
|
|
53
55
|
'registers': (json['registers'] == null ? null : json['registers'].map(RegisterListResource_1.RegisterListResourceFromJSON)),
|
|
54
56
|
};
|
|
55
57
|
}
|
|
@@ -57,7 +59,6 @@ function RegisterGroupedByRosterResourceToJSON(json) {
|
|
|
57
59
|
return RegisterGroupedByRosterResourceToJSONTyped(json, false);
|
|
58
60
|
}
|
|
59
61
|
function RegisterGroupedByRosterResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
60
|
-
var _a;
|
|
61
62
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
62
63
|
if (value == null) {
|
|
63
64
|
return value;
|
|
@@ -68,7 +69,7 @@ function RegisterGroupedByRosterResourceToJSONTyped(value, ignoreDiscriminator)
|
|
|
68
69
|
'timezone': value['timezone'],
|
|
69
70
|
'state': value['state'],
|
|
70
71
|
'startDateTime': ((value['startDateTime']).toISOString()),
|
|
71
|
-
'finishDateTime':
|
|
72
|
+
'finishDateTime': ((value['finishDateTime']).toISOString()),
|
|
72
73
|
'registers': (value['registers'] == null ? null : value['registers'].map(RegisterListResource_1.RegisterListResourceToJSON)),
|
|
73
74
|
};
|
|
74
75
|
}
|
|
@@ -58,19 +58,13 @@ export interface RegisterListResource {
|
|
|
58
58
|
* @type {number}
|
|
59
59
|
* @memberof RegisterListResource
|
|
60
60
|
*/
|
|
61
|
-
signOffStatus:
|
|
61
|
+
signOffStatus: number;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @type {string}
|
|
65
65
|
* @memberof RegisterListResource
|
|
66
66
|
*/
|
|
67
67
|
badgeNumber?: string | null;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {Date}
|
|
71
|
-
* @memberof RegisterListResource
|
|
72
|
-
*/
|
|
73
|
-
rampReadAt: Date;
|
|
74
68
|
/**
|
|
75
69
|
*
|
|
76
70
|
* @type {string}
|
|
@@ -148,7 +142,7 @@ export interface RegisterListResource {
|
|
|
148
142
|
* @type {number}
|
|
149
143
|
* @memberof RegisterListResource
|
|
150
144
|
*/
|
|
151
|
-
signOffLat
|
|
145
|
+
signOffLat?: number | null;
|
|
152
146
|
/**
|
|
153
147
|
*
|
|
154
148
|
* @type {number}
|
|
@@ -162,15 +156,6 @@ export interface RegisterListResource {
|
|
|
162
156
|
*/
|
|
163
157
|
hasIncidents: boolean;
|
|
164
158
|
}
|
|
165
|
-
/**
|
|
166
|
-
* @export
|
|
167
|
-
*/
|
|
168
|
-
export declare const RegisterListResourceSignOffStatusEnum: {
|
|
169
|
-
readonly NUMBER_0: 0;
|
|
170
|
-
readonly NUMBER_1: 1;
|
|
171
|
-
readonly NUMBER_2: 2;
|
|
172
|
-
};
|
|
173
|
-
export type RegisterListResourceSignOffStatusEnum = typeof RegisterListResourceSignOffStatusEnum[keyof typeof RegisterListResourceSignOffStatusEnum];
|
|
174
159
|
/**
|
|
175
160
|
* Check if a given object implements the RegisterListResource interface.
|
|
176
161
|
*/
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.RegisterListResourceSignOffStatusEnum = void 0;
|
|
17
16
|
exports.instanceOfRegisterListResource = instanceOfRegisterListResource;
|
|
18
17
|
exports.RegisterListResourceFromJSON = RegisterListResourceFromJSON;
|
|
19
18
|
exports.RegisterListResourceFromJSONTyped = RegisterListResourceFromJSONTyped;
|
|
@@ -21,14 +20,6 @@ exports.RegisterListResourceToJSON = RegisterListResourceToJSON;
|
|
|
21
20
|
exports.RegisterListResourceToJSONTyped = RegisterListResourceToJSONTyped;
|
|
22
21
|
var VenueLiteResource_1 = require("./VenueLiteResource");
|
|
23
22
|
var UserLiteResource_1 = require("./UserLiteResource");
|
|
24
|
-
/**
|
|
25
|
-
* @export
|
|
26
|
-
*/
|
|
27
|
-
exports.RegisterListResourceSignOffStatusEnum = {
|
|
28
|
-
NUMBER_0: 0,
|
|
29
|
-
NUMBER_1: 1,
|
|
30
|
-
NUMBER_2: 2
|
|
31
|
-
};
|
|
32
23
|
/**
|
|
33
24
|
* Check if a given object implements the RegisterListResource interface.
|
|
34
25
|
*/
|
|
@@ -43,8 +34,6 @@ function instanceOfRegisterListResource(value) {
|
|
|
43
34
|
return false;
|
|
44
35
|
if (!('signOffStatus' in value) || value['signOffStatus'] === undefined)
|
|
45
36
|
return false;
|
|
46
|
-
if (!('rampReadAt' in value) || value['rampReadAt'] === undefined)
|
|
47
|
-
return false;
|
|
48
37
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined)
|
|
49
38
|
return false;
|
|
50
39
|
if (!('licenceFirstName' in value) || value['licenceFirstName'] === undefined)
|
|
@@ -69,8 +58,6 @@ function instanceOfRegisterListResource(value) {
|
|
|
69
58
|
return false;
|
|
70
59
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined)
|
|
71
60
|
return false;
|
|
72
|
-
if (!('signOffLat' in value) || value['signOffLat'] === undefined)
|
|
73
|
-
return false;
|
|
74
61
|
if (!('signOffLong' in value) || value['signOffLong'] === undefined)
|
|
75
62
|
return false;
|
|
76
63
|
if (!('hasIncidents' in value) || value['hasIncidents'] === undefined)
|
|
@@ -93,7 +80,6 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
93
80
|
'shiftLength': json['shiftLength'],
|
|
94
81
|
'signOffStatus': json['signOffStatus'],
|
|
95
82
|
'badgeNumber': json['badgeNumber'] == null ? undefined : json['badgeNumber'],
|
|
96
|
-
'rampReadAt': (new Date(json['rampReadAt'])),
|
|
97
83
|
'licenceNumber': json['licenceNumber'],
|
|
98
84
|
'licenceFirstName': json['licenceFirstName'],
|
|
99
85
|
'licenceLastName': json['licenceLastName'],
|
|
@@ -106,7 +92,7 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
106
92
|
'firstAid': json['firstAid'],
|
|
107
93
|
'signOnLat': json['signOnLat'],
|
|
108
94
|
'signOnLong': json['signOnLong'],
|
|
109
|
-
'signOffLat': json['signOffLat'],
|
|
95
|
+
'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
|
|
110
96
|
'signOffLong': json['signOffLong'],
|
|
111
97
|
'hasIncidents': json['hasIncidents'],
|
|
112
98
|
};
|
|
@@ -129,7 +115,6 @@ function RegisterListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
129
115
|
'shiftLength': value['shiftLength'],
|
|
130
116
|
'signOffStatus': value['signOffStatus'],
|
|
131
117
|
'badgeNumber': value['badgeNumber'],
|
|
132
|
-
'rampReadAt': ((value['rampReadAt']).toISOString()),
|
|
133
118
|
'licenceNumber': value['licenceNumber'],
|
|
134
119
|
'licenceFirstName': value['licenceFirstName'],
|
|
135
120
|
'licenceLastName': value['licenceLastName'],
|