@digital8/security-registers-backend-ts-sdk 0.0.315 → 0.0.317
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 +5 -0
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +24 -5
- package/dist/apis/GeneralApi.js +109 -2
- 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 +6 -0
- package/dist/models/AuthProfileUpdateRequest.js +2 -0
- package/dist/models/AuthRegisterGuardRequestLicence.d.ts +3 -3
- package/dist/models/AuthRegisterGuardRequestLicence.js +2 -2
- package/dist/models/CurrentRegisterResource.d.ts +22 -5
- package/dist/models/CurrentRegisterResource.js +14 -7
- package/dist/models/IncidentFieldSchemaResource.d.ts +16 -2
- package/dist/models/IncidentFieldSchemaResource.js +14 -0
- package/dist/models/IncidentImageResource.d.ts +1 -1
- package/dist/models/IncidentImageResource.js +1 -3
- package/dist/models/IncidentVideoResource.d.ts +10 -1
- package/dist/models/IncidentVideoResource.js +9 -0
- package/dist/models/LicenceListResource.d.ts +16 -2
- package/dist/models/LicenceListResource.js +14 -0
- package/dist/models/LicenceLiteResource.d.ts +16 -2
- package/dist/models/LicenceLiteResource.js +14 -0
- package/dist/models/LicenceResource.d.ts +16 -2
- package/dist/models/LicenceResource.js +14 -0
- package/dist/models/LicenceVerificationFallbackSettingResource.d.ts +51 -0
- package/dist/models/LicenceVerificationFallbackSettingResource.js +63 -0
- package/dist/models/LicenceVerificationFallbackSettingResourceArrayResponse.d.ts +33 -0
- package/dist/models/LicenceVerificationFallbackSettingResourceArrayResponse.js +50 -0
- package/dist/models/LicencesStoreRequest.d.ts +3 -3
- package/dist/models/LicencesStoreRequest.js +2 -2
- package/dist/models/LicencesUpdateRequest.d.ts +3 -3
- package/dist/models/LicencesUpdateRequest.js +2 -2
- package/dist/models/LicencesVerifyRequest.d.ts +1 -1
- package/dist/models/MobileDeviceResource.d.ts +9 -1
- package/dist/models/MobileDeviceResource.js +8 -0
- package/dist/models/NotificationPreferenceResource.d.ts +12 -1
- package/dist/models/NotificationPreferenceResource.js +11 -0
- package/dist/models/PdfExportQueuedResource.d.ts +11 -1
- package/dist/models/PdfExportQueuedResource.js +10 -0
- package/dist/models/PdfExportResource.d.ts +11 -1
- package/dist/models/PdfExportResource.js +10 -0
- package/dist/models/RegisterListResource.d.ts +10 -1
- package/dist/models/RegisterListResource.js +9 -0
- package/dist/models/RegisterResource.d.ts +13 -16
- package/dist/models/RegisterResource.js +19 -16
- package/dist/models/RegistersSignOffRequest.d.ts +3 -3
- package/dist/models/RegistersSignOffRequest.js +2 -2
- package/dist/models/RegistersSignOnRequest.d.ts +3 -3
- package/dist/models/RegistersSignOnRequest.js +2 -2
- package/dist/models/RosterListResource.d.ts +18 -3
- package/dist/models/RosterListResource.js +13 -0
- package/dist/models/RosterResource.d.ts +10 -1
- package/dist/models/RosterResource.js +9 -0
- package/dist/models/RosterWithRegistersResource.d.ts +10 -1
- package/dist/models/RosterWithRegistersResource.js +9 -0
- package/dist/models/SettingsLicenceVerificationFallbackUpdateRequest.d.ts +44 -0
- package/dist/models/SettingsLicenceVerificationFallbackUpdateRequest.js +53 -0
- package/dist/models/UserResource.d.ts +9 -2
- package/dist/models/UserResource.js +7 -2
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.d.ts +3 -3
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.js +2 -2
- package/dist/models/VenueMobileResource.d.ts +93 -0
- package/dist/models/VenueMobileResource.js +88 -0
- package/dist/models/VenueMobileResourceArrayResponse.d.ts +33 -0
- package/dist/models/VenueMobileResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +96 -6
- package/src/models/AssetLiteResource.ts +0 -17
- package/src/models/AssetResource.ts +0 -17
- package/src/models/AuthProfileUpdateRequest.ts +8 -0
- package/src/models/AuthRegisterGuardRequestLicence.ts +5 -5
- package/src/models/CurrentRegisterResource.ts +35 -18
- package/src/models/IncidentFieldSchemaResource.ts +19 -2
- package/src/models/IncidentImageResource.ts +2 -3
- package/src/models/IncidentVideoResource.ts +13 -1
- package/src/models/LicenceListResource.ts +19 -2
- package/src/models/LicenceLiteResource.ts +19 -2
- package/src/models/LicenceResource.ts +19 -2
- package/src/models/LicenceVerificationFallbackSettingResource.ts +100 -0
- package/src/models/LicenceVerificationFallbackSettingResourceArrayResponse.ts +73 -0
- package/src/models/LicencesStoreRequest.ts +5 -5
- package/src/models/LicencesUpdateRequest.ts +5 -5
- package/src/models/LicencesVerifyRequest.ts +1 -1
- package/src/models/MobileDeviceResource.ts +12 -1
- package/src/models/NotificationPreferenceResource.ts +15 -1
- package/src/models/PdfExportQueuedResource.ts +14 -1
- package/src/models/PdfExportResource.ts +14 -1
- package/src/models/RegisterListResource.ts +13 -1
- package/src/models/RegisterResource.ts +22 -27
- package/src/models/RegistersSignOffRequest.ts +5 -5
- package/src/models/RegistersSignOnRequest.ts +5 -5
- package/src/models/RosterListResource.ts +24 -3
- package/src/models/RosterResource.ts +13 -1
- package/src/models/RosterWithRegistersResource.ts +13 -1
- package/src/models/SettingsLicenceVerificationFallbackUpdateRequest.ts +81 -0
- package/src/models/UserResource.ts +20 -4
- package/src/models/UsersCreateWithRoleRequestLicencesInner.ts +5 -5
- package/src/models/VenueMobileResource.ts +162 -0
- package/src/models/VenueMobileResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +5 -0
|
@@ -30,10 +30,10 @@ export interface LicenceListResource {
|
|
|
30
30
|
user: UserRelationResource | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {string}
|
|
34
34
|
* @memberof LicenceListResource
|
|
35
35
|
*/
|
|
36
|
-
state:
|
|
36
|
+
state: LicenceListResourceStateEnum;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {string}
|
|
@@ -71,6 +71,20 @@ export interface LicenceListResource {
|
|
|
71
71
|
*/
|
|
72
72
|
createdAt?: Date | null;
|
|
73
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* @export
|
|
76
|
+
*/
|
|
77
|
+
export declare const LicenceListResourceStateEnum: {
|
|
78
|
+
readonly Qld: "QLD";
|
|
79
|
+
readonly Nsw: "NSW";
|
|
80
|
+
readonly Act: "ACT";
|
|
81
|
+
readonly Vic: "VIC";
|
|
82
|
+
readonly Tas: "TAS";
|
|
83
|
+
readonly Sa: "SA";
|
|
84
|
+
readonly Wa: "WA";
|
|
85
|
+
readonly Nt: "NT";
|
|
86
|
+
};
|
|
87
|
+
export type LicenceListResourceStateEnum = typeof LicenceListResourceStateEnum[keyof typeof LicenceListResourceStateEnum];
|
|
74
88
|
/**
|
|
75
89
|
* Check if a given object implements the LicenceListResource interface.
|
|
76
90
|
*/
|
|
@@ -13,12 +13,26 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LicenceListResourceStateEnum = void 0;
|
|
16
17
|
exports.instanceOfLicenceListResource = instanceOfLicenceListResource;
|
|
17
18
|
exports.LicenceListResourceFromJSON = LicenceListResourceFromJSON;
|
|
18
19
|
exports.LicenceListResourceFromJSONTyped = LicenceListResourceFromJSONTyped;
|
|
19
20
|
exports.LicenceListResourceToJSON = LicenceListResourceToJSON;
|
|
20
21
|
exports.LicenceListResourceToJSONTyped = LicenceListResourceToJSONTyped;
|
|
21
22
|
var UserRelationResource_1 = require("./UserRelationResource");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.LicenceListResourceStateEnum = {
|
|
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
|
+
};
|
|
22
36
|
/**
|
|
23
37
|
* Check if a given object implements the LicenceListResource interface.
|
|
24
38
|
*/
|
|
@@ -29,11 +29,25 @@ export interface LicenceLiteResource {
|
|
|
29
29
|
licenceNumber: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {string}
|
|
33
33
|
* @memberof LicenceLiteResource
|
|
34
34
|
*/
|
|
35
|
-
state:
|
|
35
|
+
state: LicenceLiteResourceStateEnum;
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const LicenceLiteResourceStateEnum: {
|
|
41
|
+
readonly Qld: "QLD";
|
|
42
|
+
readonly Nsw: "NSW";
|
|
43
|
+
readonly Act: "ACT";
|
|
44
|
+
readonly Vic: "VIC";
|
|
45
|
+
readonly Tas: "TAS";
|
|
46
|
+
readonly Sa: "SA";
|
|
47
|
+
readonly Wa: "WA";
|
|
48
|
+
readonly Nt: "NT";
|
|
49
|
+
};
|
|
50
|
+
export type LicenceLiteResourceStateEnum = typeof LicenceLiteResourceStateEnum[keyof typeof LicenceLiteResourceStateEnum];
|
|
37
51
|
/**
|
|
38
52
|
* Check if a given object implements the LicenceLiteResource interface.
|
|
39
53
|
*/
|
|
@@ -13,11 +13,25 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LicenceLiteResourceStateEnum = void 0;
|
|
16
17
|
exports.instanceOfLicenceLiteResource = instanceOfLicenceLiteResource;
|
|
17
18
|
exports.LicenceLiteResourceFromJSON = LicenceLiteResourceFromJSON;
|
|
18
19
|
exports.LicenceLiteResourceFromJSONTyped = LicenceLiteResourceFromJSONTyped;
|
|
19
20
|
exports.LicenceLiteResourceToJSON = LicenceLiteResourceToJSON;
|
|
20
21
|
exports.LicenceLiteResourceToJSONTyped = LicenceLiteResourceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.LicenceLiteResourceStateEnum = {
|
|
26
|
+
Qld: 'QLD',
|
|
27
|
+
Nsw: 'NSW',
|
|
28
|
+
Act: 'ACT',
|
|
29
|
+
Vic: 'VIC',
|
|
30
|
+
Tas: 'TAS',
|
|
31
|
+
Sa: 'SA',
|
|
32
|
+
Wa: 'WA',
|
|
33
|
+
Nt: 'NT'
|
|
34
|
+
};
|
|
21
35
|
/**
|
|
22
36
|
* Check if a given object implements the LicenceLiteResource interface.
|
|
23
37
|
*/
|
|
@@ -30,10 +30,10 @@ export interface LicenceResource {
|
|
|
30
30
|
user: UserRelationResource | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {string}
|
|
34
34
|
* @memberof LicenceResource
|
|
35
35
|
*/
|
|
36
|
-
state:
|
|
36
|
+
state: LicenceResourceStateEnum;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {string}
|
|
@@ -101,6 +101,20 @@ 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 Act: "ACT";
|
|
111
|
+
readonly Vic: "VIC";
|
|
112
|
+
readonly Tas: "TAS";
|
|
113
|
+
readonly Sa: "SA";
|
|
114
|
+
readonly Wa: "WA";
|
|
115
|
+
readonly Nt: "NT";
|
|
116
|
+
};
|
|
117
|
+
export type LicenceResourceStateEnum = typeof LicenceResourceStateEnum[keyof typeof LicenceResourceStateEnum];
|
|
104
118
|
/**
|
|
105
119
|
* Check if a given object implements the LicenceResource interface.
|
|
106
120
|
*/
|
|
@@ -13,12 +13,26 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LicenceResourceStateEnum = void 0;
|
|
16
17
|
exports.instanceOfLicenceResource = instanceOfLicenceResource;
|
|
17
18
|
exports.LicenceResourceFromJSON = LicenceResourceFromJSON;
|
|
18
19
|
exports.LicenceResourceFromJSONTyped = LicenceResourceFromJSONTyped;
|
|
19
20
|
exports.LicenceResourceToJSON = LicenceResourceToJSON;
|
|
20
21
|
exports.LicenceResourceToJSONTyped = LicenceResourceToJSONTyped;
|
|
21
22
|
var UserRelationResource_1 = require("./UserRelationResource");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.LicenceResourceStateEnum = {
|
|
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
|
+
};
|
|
22
36
|
/**
|
|
23
37
|
* Check if a given object implements the LicenceResource interface.
|
|
24
38
|
*/
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
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
|
+
import type { UserLiteResource } from './UserLiteResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LicenceVerificationFallbackSettingResource
|
|
17
|
+
*/
|
|
18
|
+
export interface LicenceVerificationFallbackSettingResource {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof LicenceVerificationFallbackSettingResource
|
|
23
|
+
*/
|
|
24
|
+
state: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof LicenceVerificationFallbackSettingResource
|
|
29
|
+
*/
|
|
30
|
+
enabled: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Date}
|
|
34
|
+
* @memberof LicenceVerificationFallbackSettingResource
|
|
35
|
+
*/
|
|
36
|
+
updatedAt?: Date | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {UserLiteResource}
|
|
40
|
+
* @memberof LicenceVerificationFallbackSettingResource
|
|
41
|
+
*/
|
|
42
|
+
updatedByUser: UserLiteResource | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the LicenceVerificationFallbackSettingResource interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfLicenceVerificationFallbackSettingResource(value: object): value is LicenceVerificationFallbackSettingResource;
|
|
48
|
+
export declare function LicenceVerificationFallbackSettingResourceFromJSON(json: any): LicenceVerificationFallbackSettingResource;
|
|
49
|
+
export declare function LicenceVerificationFallbackSettingResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceVerificationFallbackSettingResource;
|
|
50
|
+
export declare function LicenceVerificationFallbackSettingResourceToJSON(json: any): LicenceVerificationFallbackSettingResource;
|
|
51
|
+
export declare function LicenceVerificationFallbackSettingResourceToJSONTyped(value?: LicenceVerificationFallbackSettingResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
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.instanceOfLicenceVerificationFallbackSettingResource = instanceOfLicenceVerificationFallbackSettingResource;
|
|
17
|
+
exports.LicenceVerificationFallbackSettingResourceFromJSON = LicenceVerificationFallbackSettingResourceFromJSON;
|
|
18
|
+
exports.LicenceVerificationFallbackSettingResourceFromJSONTyped = LicenceVerificationFallbackSettingResourceFromJSONTyped;
|
|
19
|
+
exports.LicenceVerificationFallbackSettingResourceToJSON = LicenceVerificationFallbackSettingResourceToJSON;
|
|
20
|
+
exports.LicenceVerificationFallbackSettingResourceToJSONTyped = LicenceVerificationFallbackSettingResourceToJSONTyped;
|
|
21
|
+
var UserLiteResource_1 = require("./UserLiteResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LicenceVerificationFallbackSettingResource interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLicenceVerificationFallbackSettingResource(value) {
|
|
26
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('updatedByUser' in value) || value['updatedByUser'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function LicenceVerificationFallbackSettingResourceFromJSON(json) {
|
|
35
|
+
return LicenceVerificationFallbackSettingResourceFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function LicenceVerificationFallbackSettingResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'state': json['state'],
|
|
43
|
+
'enabled': json['enabled'],
|
|
44
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
45
|
+
'updatedByUser': (0, UserLiteResource_1.UserLiteResourceFromJSON)(json['updatedByUser']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function LicenceVerificationFallbackSettingResourceToJSON(json) {
|
|
49
|
+
return LicenceVerificationFallbackSettingResourceToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function LicenceVerificationFallbackSettingResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
var _a;
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'state': value['state'],
|
|
59
|
+
'enabled': value['enabled'],
|
|
60
|
+
'updatedAt': value['updatedAt'] === null ? null : ((_a = value['updatedAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
61
|
+
'updatedByUser': (0, UserLiteResource_1.UserLiteResourceToJSON)(value['updatedByUser']),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
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
|
+
import type { LicenceVerificationFallbackSettingResource } from './LicenceVerificationFallbackSettingResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LicenceVerificationFallbackSettingResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface LicenceVerificationFallbackSettingResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<LicenceVerificationFallbackSettingResource>}
|
|
22
|
+
* @memberof LicenceVerificationFallbackSettingResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<LicenceVerificationFallbackSettingResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the LicenceVerificationFallbackSettingResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfLicenceVerificationFallbackSettingResourceArrayResponse(value: object): value is LicenceVerificationFallbackSettingResourceArrayResponse;
|
|
30
|
+
export declare function LicenceVerificationFallbackSettingResourceArrayResponseFromJSON(json: any): LicenceVerificationFallbackSettingResourceArrayResponse;
|
|
31
|
+
export declare function LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceVerificationFallbackSettingResourceArrayResponse;
|
|
32
|
+
export declare function LicenceVerificationFallbackSettingResourceArrayResponseToJSON(json: any): LicenceVerificationFallbackSettingResourceArrayResponse;
|
|
33
|
+
export declare function LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped(value?: LicenceVerificationFallbackSettingResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
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.instanceOfLicenceVerificationFallbackSettingResourceArrayResponse = instanceOfLicenceVerificationFallbackSettingResourceArrayResponse;
|
|
17
|
+
exports.LicenceVerificationFallbackSettingResourceArrayResponseFromJSON = LicenceVerificationFallbackSettingResourceArrayResponseFromJSON;
|
|
18
|
+
exports.LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped = LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.LicenceVerificationFallbackSettingResourceArrayResponseToJSON = LicenceVerificationFallbackSettingResourceArrayResponseToJSON;
|
|
20
|
+
exports.LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped = LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped;
|
|
21
|
+
var LicenceVerificationFallbackSettingResource_1 = require("./LicenceVerificationFallbackSettingResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LicenceVerificationFallbackSettingResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLicenceVerificationFallbackSettingResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function LicenceVerificationFallbackSettingResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(LicenceVerificationFallbackSettingResource_1.LicenceVerificationFallbackSettingResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function LicenceVerificationFallbackSettingResourceArrayResponseToJSON(json) {
|
|
40
|
+
return LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(LicenceVerificationFallbackSettingResource_1.LicenceVerificationFallbackSettingResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -48,11 +48,11 @@ export interface LicencesStoreRequest {
|
|
|
48
48
|
*/
|
|
49
49
|
lastName: string;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {
|
|
51
|
+
* ISO 8601 calendar date (Y-m-d) in the licence state's timezone. Time and timezone offset must be omitted.
|
|
52
|
+
* @type {string}
|
|
53
53
|
* @memberof LicencesStoreRequest
|
|
54
54
|
*/
|
|
55
|
-
expiryDate:
|
|
55
|
+
expiryDate: string;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {AuthRegisterGuardRequestProfileSignature}
|
|
@@ -67,7 +67,7 @@ function LicencesStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
67
67
|
'licenceNumber': json['licence_number'],
|
|
68
68
|
'firstName': json['first_name'],
|
|
69
69
|
'lastName': json['last_name'],
|
|
70
|
-
'expiryDate':
|
|
70
|
+
'expiryDate': json['expiry_date'],
|
|
71
71
|
'frontAsset': (0, AuthRegisterGuardRequestProfileSignature_1.AuthRegisterGuardRequestProfileSignatureFromJSON)(json['front_asset']),
|
|
72
72
|
'backAsset': json['back_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['back_asset']),
|
|
73
73
|
'rsaAsset': json['rsa_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['rsa_asset']),
|
|
@@ -88,7 +88,7 @@ function LicencesStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
88
88
|
'licence_number': value['licenceNumber'],
|
|
89
89
|
'first_name': value['firstName'],
|
|
90
90
|
'last_name': value['lastName'],
|
|
91
|
-
'expiry_date':
|
|
91
|
+
'expiry_date': value['expiryDate'],
|
|
92
92
|
'front_asset': (0, AuthRegisterGuardRequestProfileSignature_1.AuthRegisterGuardRequestProfileSignatureToJSON)(value['frontAsset']),
|
|
93
93
|
'back_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['backAsset']),
|
|
94
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
|
+
* ISO 8601 calendar date (Y-m-d) in the licence state's timezone. Time and timezone offset must be omitted.
|
|
45
|
+
* @type {string}
|
|
46
46
|
* @memberof LicencesUpdateRequest
|
|
47
47
|
*/
|
|
48
|
-
expiryDate?:
|
|
48
|
+
expiryDate?: string;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {LicencesStoreRequestBackAsset}
|
|
@@ -51,7 +51,7 @@ function LicencesUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
'licenceNumber': json['licence_number'] == null ? undefined : json['licence_number'],
|
|
52
52
|
'firstName': json['first_name'] == null ? undefined : json['first_name'],
|
|
53
53
|
'lastName': json['last_name'] == null ? undefined : json['last_name'],
|
|
54
|
-
'expiryDate': json['expiry_date'] == null ? undefined :
|
|
54
|
+
'expiryDate': json['expiry_date'] == null ? undefined : json['expiry_date'],
|
|
55
55
|
'frontAsset': json['front_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['front_asset']),
|
|
56
56
|
'backAsset': json['back_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['back_asset']),
|
|
57
57
|
'rsaAsset': json['rsa_asset'] == null ? undefined : (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetFromJSON)(json['rsa_asset']),
|
|
@@ -71,7 +71,7 @@ function LicencesUpdateRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
71
71
|
'licence_number': value['licenceNumber'],
|
|
72
72
|
'first_name': value['firstName'],
|
|
73
73
|
'last_name': value['lastName'],
|
|
74
|
-
'expiry_date': value['expiryDate']
|
|
74
|
+
'expiry_date': value['expiryDate'],
|
|
75
75
|
'front_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['frontAsset']),
|
|
76
76
|
'back_asset': (0, LicencesStoreRequestBackAsset_1.LicencesStoreRequestBackAssetToJSON)(value['backAsset']),
|
|
77
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
|
+
* ISO 8601 local-with-offset, anchored to 00:00 in the licence state's timezone (e.g. 2026-05-13T00:00:00+11:00). The offset is required so verification against state systems uses the correct wall-clock day.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof LicencesVerifyRequest
|
|
46
46
|
*/
|
|
@@ -32,7 +32,7 @@ export interface MobileDeviceResource {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof MobileDeviceResource
|
|
34
34
|
*/
|
|
35
|
-
platform:
|
|
35
|
+
platform: MobileDeviceResourcePlatformEnum;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
@@ -82,6 +82,14 @@ 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];
|
|
85
93
|
/**
|
|
86
94
|
* Check if a given object implements the MobileDeviceResource interface.
|
|
87
95
|
*/
|
|
@@ -13,11 +13,19 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MobileDeviceResourcePlatformEnum = void 0;
|
|
16
17
|
exports.instanceOfMobileDeviceResource = instanceOfMobileDeviceResource;
|
|
17
18
|
exports.MobileDeviceResourceFromJSON = MobileDeviceResourceFromJSON;
|
|
18
19
|
exports.MobileDeviceResourceFromJSONTyped = MobileDeviceResourceFromJSONTyped;
|
|
19
20
|
exports.MobileDeviceResourceToJSON = MobileDeviceResourceToJSON;
|
|
20
21
|
exports.MobileDeviceResourceToJSONTyped = MobileDeviceResourceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.MobileDeviceResourcePlatformEnum = {
|
|
26
|
+
Ios: 'ios',
|
|
27
|
+
Android: 'android'
|
|
28
|
+
};
|
|
21
29
|
/**
|
|
22
30
|
* Check if a given object implements the MobileDeviceResource interface.
|
|
23
31
|
*/
|
|
@@ -27,7 +27,7 @@ export interface NotificationPreferenceResource {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof NotificationPreferenceResource
|
|
29
29
|
*/
|
|
30
|
-
notificationType:
|
|
30
|
+
notificationType: NotificationPreferenceResourceNotificationTypeEnum;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {VenueLiteResource}
|
|
@@ -53,6 +53,17 @@ 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];
|
|
56
67
|
/**
|
|
57
68
|
* Check if a given object implements the NotificationPreferenceResource interface.
|
|
58
69
|
*/
|
|
@@ -13,12 +13,23 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.NotificationPreferenceResourceNotificationTypeEnum = void 0;
|
|
16
17
|
exports.instanceOfNotificationPreferenceResource = instanceOfNotificationPreferenceResource;
|
|
17
18
|
exports.NotificationPreferenceResourceFromJSON = NotificationPreferenceResourceFromJSON;
|
|
18
19
|
exports.NotificationPreferenceResourceFromJSONTyped = NotificationPreferenceResourceFromJSONTyped;
|
|
19
20
|
exports.NotificationPreferenceResourceToJSON = NotificationPreferenceResourceToJSON;
|
|
20
21
|
exports.NotificationPreferenceResourceToJSONTyped = NotificationPreferenceResourceToJSONTyped;
|
|
21
22
|
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
|
+
};
|
|
22
33
|
/**
|
|
23
34
|
* Check if a given object implements the NotificationPreferenceResource interface.
|
|
24
35
|
*/
|
|
@@ -26,7 +26,7 @@ export interface PdfExportQueuedResource {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof PdfExportQueuedResource
|
|
28
28
|
*/
|
|
29
|
-
status:
|
|
29
|
+
status: PdfExportQueuedResourceStatusEnum;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -34,6 +34,16 @@ 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];
|
|
37
47
|
/**
|
|
38
48
|
* Check if a given object implements the PdfExportQueuedResource interface.
|
|
39
49
|
*/
|
|
@@ -13,11 +13,21 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PdfExportQueuedResourceStatusEnum = void 0;
|
|
16
17
|
exports.instanceOfPdfExportQueuedResource = instanceOfPdfExportQueuedResource;
|
|
17
18
|
exports.PdfExportQueuedResourceFromJSON = PdfExportQueuedResourceFromJSON;
|
|
18
19
|
exports.PdfExportQueuedResourceFromJSONTyped = PdfExportQueuedResourceFromJSONTyped;
|
|
19
20
|
exports.PdfExportQueuedResourceToJSON = PdfExportQueuedResourceToJSON;
|
|
20
21
|
exports.PdfExportQueuedResourceToJSONTyped = PdfExportQueuedResourceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PdfExportQueuedResourceStatusEnum = {
|
|
26
|
+
Pending: 'pending',
|
|
27
|
+
Processing: 'processing',
|
|
28
|
+
Completed: 'completed',
|
|
29
|
+
Failed: 'failed'
|
|
30
|
+
};
|
|
21
31
|
/**
|
|
22
32
|
* Check if a given object implements the PdfExportQueuedResource interface.
|
|
23
33
|
*/
|
|
@@ -26,7 +26,7 @@ export interface PdfExportResource {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof PdfExportResource
|
|
28
28
|
*/
|
|
29
|
-
status:
|
|
29
|
+
status: PdfExportResourceStatusEnum;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -40,6 +40,16 @@ 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];
|
|
43
53
|
/**
|
|
44
54
|
* Check if a given object implements the PdfExportResource interface.
|
|
45
55
|
*/
|
|
@@ -13,11 +13,21 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PdfExportResourceStatusEnum = void 0;
|
|
16
17
|
exports.instanceOfPdfExportResource = instanceOfPdfExportResource;
|
|
17
18
|
exports.PdfExportResourceFromJSON = PdfExportResourceFromJSON;
|
|
18
19
|
exports.PdfExportResourceFromJSONTyped = PdfExportResourceFromJSONTyped;
|
|
19
20
|
exports.PdfExportResourceToJSON = PdfExportResourceToJSON;
|
|
20
21
|
exports.PdfExportResourceToJSONTyped = PdfExportResourceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PdfExportResourceStatusEnum = {
|
|
26
|
+
Pending: 'pending',
|
|
27
|
+
Processing: 'processing',
|
|
28
|
+
Completed: 'completed',
|
|
29
|
+
Failed: 'failed'
|
|
30
|
+
};
|
|
21
31
|
/**
|
|
22
32
|
* Check if a given object implements the PdfExportResource interface.
|
|
23
33
|
*/
|