@digital8/security-registers-backend-ts-sdk 0.0.377 → 0.0.378
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 +2 -7
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +5 -35
- package/dist/apis/GeneralApi.js +2 -165
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- 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 +2 -17
- package/dist/models/IncidentFieldAuditResource.js +0 -7
- 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/IncidentListResource.d.ts +0 -6
- package/dist/models/IncidentListResource.js +0 -2
- package/dist/models/IncidentResource.d.ts +1 -1
- 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/IncidentsStoreRequest.d.ts +1 -1
- 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/NearbyVenueResource.d.ts +62 -0
- package/dist/models/NearbyVenueResource.js +69 -0
- package/dist/models/NearbyVenueResourceArrayResponse.d.ts +33 -0
- package/dist/models/NearbyVenueResourceArrayResponse.js +50 -0
- package/dist/models/NotificationPreferenceResource.d.ts +1 -12
- package/dist/models/NotificationPreferenceResource.js +0 -11
- 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/RegisterListResource.d.ts +5 -14
- package/dist/models/RegisterListResource.js +7 -13
- package/dist/models/RegisterResource.d.ts +3 -12
- package/dist/models/RegisterResource.js +6 -19
- 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 +4 -19
- package/dist/models/RosterListResource.js +4 -16
- package/dist/models/RosterLiteResource.d.ts +1 -1
- package/dist/models/RosterLiteResource.js +3 -4
- package/dist/models/RosterResource.d.ts +2 -11
- package/dist/models/RosterResource.js +4 -12
- package/dist/models/RosterWithRegistersResource.d.ts +2 -11
- package/dist/models/RosterWithRegistersResource.js +4 -12
- 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/index.d.ts +2 -7
- package/dist/models/index.js +2 -7
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +9 -145
- package/src/models/AddressResource.ts +2 -3
- 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 +2 -27
- package/src/models/IncidentFieldSchemaResource.ts +4 -16
- package/src/models/IncidentFieldSchemasShowRequest.ts +6 -1
- package/src/models/IncidentListResource.ts +0 -8
- package/src/models/IncidentResource.ts +1 -1
- package/src/models/IncidentVersionResource.ts +2 -2
- package/src/models/IncidentVideoResource.ts +1 -13
- package/src/models/IncidentsStoreRequest.ts +1 -1
- 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/NearbyVenueResource.ts +110 -0
- package/src/models/NearbyVenueResourceArrayResponse.ts +73 -0
- package/src/models/NotificationPreferenceResource.ts +1 -15
- package/src/models/PdfExportQueuedResource.ts +1 -14
- package/src/models/PdfExportResource.ts +1 -14
- package/src/models/RegisterListResource.ts +10 -20
- package/src/models/RegisterResource.ts +6 -20
- package/src/models/RegistersSignOffRequest.ts +5 -5
- package/src/models/RegistersSignOnRequest.ts +5 -5
- package/src/models/RosterListResource.ts +7 -27
- package/src/models/RosterLiteResource.ts +3 -4
- package/src/models/RosterResource.ts +5 -16
- package/src/models/RosterWithRegistersResource.ts +5 -16
- 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/index.ts +2 -7
- package/dist/models/IncidentFieldItemLiteResource.d.ts +0 -38
- package/dist/models/IncidentFieldItemLiteResource.js +0 -54
- package/dist/models/IncidentFieldItemLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/IncidentFieldItemLiteResourceArrayResponse.js +0 -50
- 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/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/IncidentFieldItemLiteResource.ts +0 -74
- package/src/models/IncidentFieldItemLiteResourceArrayResponse.ts +0 -73
- package/src/models/LicenceVerificationFallbackSettingResource.ts +0 -109
- package/src/models/LicenceVerificationFallbackSettingResourceArrayResponse.ts +0 -73
- package/src/models/SettingsLicenceVerificationFallbackUpdateRequest.ts +0 -81
- package/src/models/VenueMobileResource.ts +0 -180
- package/src/models/VenueMobileResourceArrayResponse.ts +0 -73
|
@@ -23,16 +23,18 @@ export interface IncidentFieldSchemaResource {
|
|
|
23
23
|
id?: number | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {object}
|
|
27
27
|
* @memberof IncidentFieldSchemaResource
|
|
28
28
|
*/
|
|
29
|
-
state:
|
|
29
|
+
state: object;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {{ [key: string]: boolean; }}
|
|
33
33
|
* @memberof IncidentFieldSchemaResource
|
|
34
34
|
*/
|
|
35
|
-
jsonSchema:
|
|
35
|
+
jsonSchema: {
|
|
36
|
+
[key: string]: boolean;
|
|
37
|
+
};
|
|
36
38
|
/**
|
|
37
39
|
*
|
|
38
40
|
* @type {Date}
|
|
@@ -46,15 +48,6 @@ export interface IncidentFieldSchemaResource {
|
|
|
46
48
|
*/
|
|
47
49
|
updatedAt?: Date | null;
|
|
48
50
|
}
|
|
49
|
-
/**
|
|
50
|
-
* @export
|
|
51
|
-
*/
|
|
52
|
-
export declare const IncidentFieldSchemaResourceStateEnum: {
|
|
53
|
-
readonly Qld: "QLD";
|
|
54
|
-
readonly Nsw: "NSW";
|
|
55
|
-
readonly Vic: "VIC";
|
|
56
|
-
};
|
|
57
|
-
export type IncidentFieldSchemaResourceStateEnum = typeof IncidentFieldSchemaResourceStateEnum[keyof typeof IncidentFieldSchemaResourceStateEnum];
|
|
58
51
|
/**
|
|
59
52
|
* Check if a given object implements the IncidentFieldSchemaResource interface.
|
|
60
53
|
*/
|
|
@@ -13,20 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
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
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.IncidentFieldSchemaResourceStateEnum = {
|
|
26
|
-
Qld: 'QLD',
|
|
27
|
-
Nsw: 'NSW',
|
|
28
|
-
Vic: 'VIC'
|
|
29
|
-
};
|
|
30
21
|
/**
|
|
31
22
|
* Check if a given object implements the IncidentFieldSchemaResource interface.
|
|
32
23
|
*/
|
|
@@ -28,7 +28,12 @@ export interface IncidentFieldSchemasShowRequest {
|
|
|
28
28
|
export declare const IncidentFieldSchemasShowRequestStateEnum: {
|
|
29
29
|
readonly Qld: "QLD";
|
|
30
30
|
readonly Nsw: "NSW";
|
|
31
|
+
readonly Act: "ACT";
|
|
31
32
|
readonly Vic: "VIC";
|
|
33
|
+
readonly Tas: "TAS";
|
|
34
|
+
readonly Sa: "SA";
|
|
35
|
+
readonly Wa: "WA";
|
|
36
|
+
readonly Nt: "NT";
|
|
32
37
|
};
|
|
33
38
|
export type IncidentFieldSchemasShowRequestStateEnum = typeof IncidentFieldSchemasShowRequestStateEnum[keyof typeof IncidentFieldSchemasShowRequestStateEnum];
|
|
34
39
|
/**
|
|
@@ -25,7 +25,12 @@ exports.IncidentFieldSchemasShowRequestToJSONTyped = IncidentFieldSchemasShowReq
|
|
|
25
25
|
exports.IncidentFieldSchemasShowRequestStateEnum = {
|
|
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 IncidentFieldSchemasShowRequest interface.
|
|
@@ -49,7 +49,6 @@ function IncidentListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'incidentDateTime': json['incidentDateTime'] == null ? undefined : (new Date(json['incidentDateTime'])),
|
|
50
50
|
'state': json['state'] == null ? undefined : json['state'],
|
|
51
51
|
'submittedByGuard': json['submittedByGuard'],
|
|
52
|
-
'videosCount': json['videosCount'] == null ? undefined : json['videosCount'],
|
|
53
52
|
'approvedAt': json['approvedAt'] == null ? undefined : (new Date(json['approvedAt'])),
|
|
54
53
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
55
54
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
@@ -75,7 +74,6 @@ function IncidentListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
75
74
|
'incidentDateTime': value['incidentDateTime'] === null ? null : ((_a = value['incidentDateTime']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
76
75
|
'state': value['state'],
|
|
77
76
|
'submittedByGuard': value['submittedByGuard'],
|
|
78
|
-
'videosCount': value['videosCount'],
|
|
79
77
|
'approvedAt': value['approvedAt'] === null ? null : ((_b = value['approvedAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
|
|
80
78
|
'createdAt': value['createdAt'] === null ? null : ((_c = value['createdAt']) === null || _c === void 0 ? void 0 : _c.toISOString()),
|
|
81
79
|
'updatedAt': value['updatedAt'] === null ? null : ((_d = value['updatedAt']) === null || _d === void 0 ? void 0 : _d.toISOString()),
|
|
@@ -90,7 +90,7 @@ export interface IncidentResource {
|
|
|
90
90
|
*/
|
|
91
91
|
updatedAt?: Date | null;
|
|
92
92
|
/**
|
|
93
|
-
* Incident field values grouped by section key. Each section is an object of field_key => value
|
|
93
|
+
* Incident field values grouped by section key. Each section is an object of field_key => value for non-repeatable sections, or an array of such objects for repeatable sections. Shape is driven by the venue state's IncidentFieldSchema. Datetime values are returned in the venue's timezone.
|
|
94
94
|
* @type {object}
|
|
95
95
|
* @memberof IncidentResource
|
|
96
96
|
*/
|
|
@@ -36,10 +36,10 @@ export interface IncidentVersionResource {
|
|
|
36
36
|
user: UserLiteResource | null;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {Array<boolean>}
|
|
40
40
|
* @memberof IncidentVersionResource
|
|
41
41
|
*/
|
|
42
|
-
fieldData:
|
|
42
|
+
fieldData: Array<boolean>;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {Date}
|
|
@@ -26,7 +26,7 @@ export interface IncidentVideoResource {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof IncidentVideoResource
|
|
28
28
|
*/
|
|
29
|
-
status:
|
|
29
|
+
status: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -64,15 +64,6 @@ export interface IncidentVideoResource {
|
|
|
64
64
|
*/
|
|
65
65
|
updatedAt?: Date | null;
|
|
66
66
|
}
|
|
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
67
|
/**
|
|
77
68
|
* Check if a given object implements the IncidentVideoResource interface.
|
|
78
69
|
*/
|
|
@@ -13,20 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IncidentVideoResourceStatusEnum = void 0;
|
|
17
16
|
exports.instanceOfIncidentVideoResource = instanceOfIncidentVideoResource;
|
|
18
17
|
exports.IncidentVideoResourceFromJSON = IncidentVideoResourceFromJSON;
|
|
19
18
|
exports.IncidentVideoResourceFromJSONTyped = IncidentVideoResourceFromJSONTyped;
|
|
20
19
|
exports.IncidentVideoResourceToJSON = IncidentVideoResourceToJSON;
|
|
21
20
|
exports.IncidentVideoResourceToJSONTyped = IncidentVideoResourceToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.IncidentVideoResourceStatusEnum = {
|
|
26
|
-
Processing: 'processing',
|
|
27
|
-
Ready: 'ready',
|
|
28
|
-
Failed: 'failed'
|
|
29
|
-
};
|
|
30
21
|
/**
|
|
31
22
|
* Check if a given object implements the IncidentVideoResource interface.
|
|
32
23
|
*/
|
|
@@ -22,7 +22,7 @@ export interface IncidentsStoreRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
venueId: number;
|
|
24
24
|
/**
|
|
25
|
-
* Dynamic fields keyed by section key.
|
|
25
|
+
* Dynamic fields keyed by section key. Non-repeatable sections are objects of field_key => value; repeatable sections are arrays of such objects. Shape is driven by the venue state's IncidentFieldSchema.
|
|
26
26
|
* @type {object}
|
|
27
27
|
* @memberof IncidentsStoreRequest
|
|
28
28
|
*/
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface IncidentsUpdateRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
21
|
* @memberof IncidentsUpdateRequest
|
|
22
22
|
*/
|
|
23
|
-
fields:
|
|
23
|
+
fields: Array<string>;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the IncidentsUpdateRequest interface.
|
|
@@ -30,10 +30,10 @@ export interface LicenceListResource {
|
|
|
30
30
|
user: UserRelationResource | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {object}
|
|
34
34
|
* @memberof LicenceListResource
|
|
35
35
|
*/
|
|
36
|
-
state:
|
|
36
|
+
state: object;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {string}
|
|
@@ -71,15 +71,6 @@ 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 Vic: "VIC";
|
|
81
|
-
};
|
|
82
|
-
export type LicenceListResourceStateEnum = typeof LicenceListResourceStateEnum[keyof typeof LicenceListResourceStateEnum];
|
|
83
74
|
/**
|
|
84
75
|
* Check if a given object implements the LicenceListResource interface.
|
|
85
76
|
*/
|
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.LicenceListResourceStateEnum = void 0;
|
|
17
16
|
exports.instanceOfLicenceListResource = instanceOfLicenceListResource;
|
|
18
17
|
exports.LicenceListResourceFromJSON = LicenceListResourceFromJSON;
|
|
19
18
|
exports.LicenceListResourceFromJSONTyped = LicenceListResourceFromJSONTyped;
|
|
20
19
|
exports.LicenceListResourceToJSON = LicenceListResourceToJSON;
|
|
21
20
|
exports.LicenceListResourceToJSONTyped = LicenceListResourceToJSONTyped;
|
|
22
21
|
var UserRelationResource_1 = require("./UserRelationResource");
|
|
23
|
-
/**
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.LicenceListResourceStateEnum = {
|
|
27
|
-
Qld: 'QLD',
|
|
28
|
-
Nsw: 'NSW',
|
|
29
|
-
Vic: 'VIC'
|
|
30
|
-
};
|
|
31
22
|
/**
|
|
32
23
|
* Check if a given object implements the LicenceListResource interface.
|
|
33
24
|
*/
|
|
@@ -29,20 +29,11 @@ export interface LicenceLiteResource {
|
|
|
29
29
|
licenceNumber: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {object}
|
|
33
33
|
* @memberof LicenceLiteResource
|
|
34
34
|
*/
|
|
35
|
-
state:
|
|
35
|
+
state: object;
|
|
36
36
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const LicenceLiteResourceStateEnum: {
|
|
41
|
-
readonly Qld: "QLD";
|
|
42
|
-
readonly Nsw: "NSW";
|
|
43
|
-
readonly Vic: "VIC";
|
|
44
|
-
};
|
|
45
|
-
export type LicenceLiteResourceStateEnum = typeof LicenceLiteResourceStateEnum[keyof typeof LicenceLiteResourceStateEnum];
|
|
46
37
|
/**
|
|
47
38
|
* Check if a given object implements the LicenceLiteResource interface.
|
|
48
39
|
*/
|
|
@@ -13,20 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.LicenceLiteResourceStateEnum = void 0;
|
|
17
16
|
exports.instanceOfLicenceLiteResource = instanceOfLicenceLiteResource;
|
|
18
17
|
exports.LicenceLiteResourceFromJSON = LicenceLiteResourceFromJSON;
|
|
19
18
|
exports.LicenceLiteResourceFromJSONTyped = LicenceLiteResourceFromJSONTyped;
|
|
20
19
|
exports.LicenceLiteResourceToJSON = LicenceLiteResourceToJSON;
|
|
21
20
|
exports.LicenceLiteResourceToJSONTyped = LicenceLiteResourceToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.LicenceLiteResourceStateEnum = {
|
|
26
|
-
Qld: 'QLD',
|
|
27
|
-
Nsw: 'NSW',
|
|
28
|
-
Vic: 'VIC'
|
|
29
|
-
};
|
|
30
21
|
/**
|
|
31
22
|
* Check if a given object implements the LicenceLiteResource interface.
|
|
32
23
|
*/
|
|
@@ -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
|
*/
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface NearbyVenueResource
|
|
16
|
+
*/
|
|
17
|
+
export interface NearbyVenueResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof NearbyVenueResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NearbyVenueResource
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof NearbyVenueResource
|
|
34
|
+
*/
|
|
35
|
+
venueCode: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof NearbyVenueResource
|
|
40
|
+
*/
|
|
41
|
+
timezone: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof NearbyVenueResource
|
|
46
|
+
*/
|
|
47
|
+
rampReadingRequired: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof NearbyVenueResource
|
|
52
|
+
*/
|
|
53
|
+
hasReadRamp?: boolean | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the NearbyVenueResource interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfNearbyVenueResource(value: object): value is NearbyVenueResource;
|
|
59
|
+
export declare function NearbyVenueResourceFromJSON(json: any): NearbyVenueResource;
|
|
60
|
+
export declare function NearbyVenueResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): NearbyVenueResource;
|
|
61
|
+
export declare function NearbyVenueResourceToJSON(json: any): NearbyVenueResource;
|
|
62
|
+
export declare function NearbyVenueResourceToJSONTyped(value?: NearbyVenueResource | null, ignoreDiscriminator?: boolean): any;
|