@digital8/security-registers-backend-ts-sdk 0.0.437 → 0.0.439
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 +1 -5
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +1 -12
- package/dist/apis/GeneralApi.js +0 -55
- package/dist/models/AssetResource.d.ts +1 -1
- package/dist/models/AssetResource.js +3 -1
- package/dist/models/AuthRegisterGuardRequest.d.ts +3 -3
- package/dist/models/AuthRegisterGuardRequest.js +4 -4
- package/dist/models/AuthRegisterGuardRequestLicencesInner.d.ts +93 -0
- package/dist/models/{AuthRegisterGuardRequestLicence.js → AuthRegisterGuardRequestLicencesInner.js} +17 -17
- package/dist/models/IncidentImageResource.d.ts +1 -1
- package/dist/models/IncidentImageResource.js +3 -1
- package/dist/models/MobileInitResource.d.ts +0 -7
- package/dist/models/MobileInitResource.js +0 -5
- package/dist/models/RegisterGroupedByRosterResource.d.ts +1 -1
- package/dist/models/RegisterGroupedByRosterResource.js +4 -3
- package/dist/models/RegisterListResource.d.ts +6 -6
- package/dist/models/RegisterListResource.js +13 -6
- package/dist/models/RosterLiteResource.d.ts +1 -1
- package/dist/models/RosterLiteResource.js +3 -4
- package/dist/models/SecurityCompanyResource.d.ts +1 -1
- package/dist/models/SecurityCompanyResource.js +1 -3
- package/dist/models/UserResource.d.ts +7 -0
- package/dist/models/UserResource.js +5 -0
- package/dist/models/UsersCreateWithRoleRequest.d.ts +3 -3
- package/dist/models/UsersCreateWithRoleRequest.js +3 -3
- package/dist/models/index.d.ts +1 -5
- package/dist/models/index.js +1 -5
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +0 -50
- package/src/models/AssetResource.ts +3 -2
- package/src/models/AuthRegisterGuardRequest.ts +11 -11
- package/src/models/{AuthRegisterGuardRequestLicence.ts → AuthRegisterGuardRequestLicencesInner.ts} +29 -29
- package/src/models/IncidentImageResource.ts +3 -2
- package/src/models/MobileInitResource.ts +0 -16
- package/src/models/RegisterGroupedByRosterResource.ts +4 -3
- package/src/models/RegisterListResource.ts +15 -11
- package/src/models/RosterLiteResource.ts +3 -4
- package/src/models/SecurityCompanyResource.ts +2 -3
- package/src/models/UserResource.ts +16 -0
- package/src/models/UsersCreateWithRoleRequest.ts +10 -10
- package/src/models/index.ts +1 -5
- package/dist/models/AuthRegisterGuardRequestLicence.d.ts +0 -93
- package/dist/models/MobileAppConfigRequest.d.ts +0 -46
- package/dist/models/MobileAppConfigRequest.js +0 -63
- package/dist/models/MobileAppConfigResource.d.ts +0 -58
- package/dist/models/MobileAppConfigResource.js +0 -69
- package/dist/models/MobileAppConfigResourceArrayResponse.d.ts +0 -33
- package/dist/models/MobileAppConfigResourceArrayResponse.js +0 -50
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.d.ts +0 -93
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.js +0 -90
- package/src/models/MobileAppConfigRequest.ts +0 -86
- package/src/models/MobileAppConfigResource.ts +0 -103
- package/src/models/MobileAppConfigResourceArrayResponse.ts +0 -73
- package/src/models/UsersCreateWithRoleRequestLicencesInner.ts +0 -176
|
@@ -69,7 +69,7 @@ export interface RegisterGroupedByRosterResource {
|
|
|
69
69
|
* @type {Date}
|
|
70
70
|
* @memberof RegisterGroupedByRosterResource
|
|
71
71
|
*/
|
|
72
|
-
finishDateTime
|
|
72
|
+
finishDateTime: Date;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {Array<RegisterListResource>}
|
|
@@ -86,6 +86,7 @@ export function instanceOfRegisterGroupedByRosterResource(value: object): value
|
|
|
86
86
|
if (!('timezone' in value) || value['timezone'] === undefined) return false;
|
|
87
87
|
if (!('state' in value) || value['state'] === undefined) return false;
|
|
88
88
|
if (!('startDateTime' in value) || value['startDateTime'] === undefined) return false;
|
|
89
|
+
if (!('finishDateTime' in value) || value['finishDateTime'] === undefined) return false;
|
|
89
90
|
if (!('registers' in value) || value['registers'] === undefined) return false;
|
|
90
91
|
return true;
|
|
91
92
|
}
|
|
@@ -105,7 +106,7 @@ export function RegisterGroupedByRosterResourceFromJSONTyped(json: any, ignoreDi
|
|
|
105
106
|
'timezone': json['timezone'],
|
|
106
107
|
'state': json['state'],
|
|
107
108
|
'startDateTime': (new Date(json['startDateTime'])),
|
|
108
|
-
'finishDateTime':
|
|
109
|
+
'finishDateTime': (new Date(json['finishDateTime'])),
|
|
109
110
|
'registers': (json['registers'] == null ? null : (json['registers'] as Array<any>).map(RegisterListResourceFromJSON)),
|
|
110
111
|
};
|
|
111
112
|
}
|
|
@@ -126,7 +127,7 @@ export function RegisterGroupedByRosterResourceToJSONTyped(value?: RegisterGroup
|
|
|
126
127
|
'timezone': value['timezone'],
|
|
127
128
|
'state': value['state'],
|
|
128
129
|
'startDateTime': ((value['startDateTime']).toISOString()),
|
|
129
|
-
'finishDateTime':
|
|
130
|
+
'finishDateTime': ((value['finishDateTime']).toISOString()),
|
|
130
131
|
'registers': (value['registers'] == null ? null : (value['registers'] as Array<any>).map(RegisterListResourceToJSON)),
|
|
131
132
|
};
|
|
132
133
|
}
|
|
@@ -63,13 +63,13 @@ export interface RegisterListResource {
|
|
|
63
63
|
* @type {Date}
|
|
64
64
|
* @memberof RegisterListResource
|
|
65
65
|
*/
|
|
66
|
-
finishDateTime
|
|
66
|
+
finishDateTime: Date;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
|
-
* @type {
|
|
69
|
+
* @type {string}
|
|
70
70
|
* @memberof RegisterListResource
|
|
71
71
|
*/
|
|
72
|
-
shiftLength:
|
|
72
|
+
shiftLength: string;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {number}
|
|
@@ -81,7 +81,7 @@ export interface RegisterListResource {
|
|
|
81
81
|
* @type {string}
|
|
82
82
|
* @memberof RegisterListResource
|
|
83
83
|
*/
|
|
84
|
-
badgeNumber
|
|
84
|
+
badgeNumber: string;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @type {Date}
|
|
@@ -165,13 +165,13 @@ export interface RegisterListResource {
|
|
|
165
165
|
* @type {number}
|
|
166
166
|
* @memberof RegisterListResource
|
|
167
167
|
*/
|
|
168
|
-
signOffLat
|
|
168
|
+
signOffLat: number;
|
|
169
169
|
/**
|
|
170
170
|
*
|
|
171
171
|
* @type {number}
|
|
172
172
|
* @memberof RegisterListResource
|
|
173
173
|
*/
|
|
174
|
-
signOffLong
|
|
174
|
+
signOffLong: number;
|
|
175
175
|
/**
|
|
176
176
|
*
|
|
177
177
|
* @type {boolean}
|
|
@@ -199,8 +199,10 @@ export function instanceOfRegisterListResource(value: object): value is Register
|
|
|
199
199
|
if (!('user' in value) || value['user'] === undefined) return false;
|
|
200
200
|
if (!('venue' in value) || value['venue'] === undefined) return false;
|
|
201
201
|
if (!('startDateTime' in value) || value['startDateTime'] === undefined) return false;
|
|
202
|
+
if (!('finishDateTime' in value) || value['finishDateTime'] === undefined) return false;
|
|
202
203
|
if (!('shiftLength' in value) || value['shiftLength'] === undefined) return false;
|
|
203
204
|
if (!('signOffStatus' in value) || value['signOffStatus'] === undefined) return false;
|
|
205
|
+
if (!('badgeNumber' in value) || value['badgeNumber'] === undefined) return false;
|
|
204
206
|
if (!('rampReadAt' in value) || value['rampReadAt'] === undefined) return false;
|
|
205
207
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
|
|
206
208
|
if (!('licenceFirstName' in value) || value['licenceFirstName'] === undefined) return false;
|
|
@@ -214,6 +216,8 @@ export function instanceOfRegisterListResource(value: object): value is Register
|
|
|
214
216
|
if (!('firstAid' in value) || value['firstAid'] === undefined) return false;
|
|
215
217
|
if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
|
|
216
218
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
|
|
219
|
+
if (!('signOffLat' in value) || value['signOffLat'] === undefined) return false;
|
|
220
|
+
if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
|
|
217
221
|
if (!('hasIncidents' in value) || value['hasIncidents'] === undefined) return false;
|
|
218
222
|
return true;
|
|
219
223
|
}
|
|
@@ -232,10 +236,10 @@ export function RegisterListResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
232
236
|
'user': UserLiteResourceFromJSON(json['user']),
|
|
233
237
|
'venue': VenueLiteResourceFromJSON(json['venue']),
|
|
234
238
|
'startDateTime': (new Date(json['startDateTime'])),
|
|
235
|
-
'finishDateTime':
|
|
239
|
+
'finishDateTime': (new Date(json['finishDateTime'])),
|
|
236
240
|
'shiftLength': json['shiftLength'],
|
|
237
241
|
'signOffStatus': json['signOffStatus'],
|
|
238
|
-
'badgeNumber': json['badgeNumber']
|
|
242
|
+
'badgeNumber': json['badgeNumber'],
|
|
239
243
|
'rampReadAt': (new Date(json['rampReadAt'])),
|
|
240
244
|
'licenceNumber': json['licenceNumber'],
|
|
241
245
|
'licenceFirstName': json['licenceFirstName'],
|
|
@@ -249,8 +253,8 @@ export function RegisterListResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
249
253
|
'firstAid': json['firstAid'],
|
|
250
254
|
'signOnLat': json['signOnLat'],
|
|
251
255
|
'signOnLong': json['signOnLong'],
|
|
252
|
-
'signOffLat': json['signOffLat']
|
|
253
|
-
'signOffLong': json['signOffLong']
|
|
256
|
+
'signOffLat': json['signOffLat'],
|
|
257
|
+
'signOffLong': json['signOffLong'],
|
|
254
258
|
'hasIncidents': json['hasIncidents'],
|
|
255
259
|
};
|
|
256
260
|
}
|
|
@@ -270,7 +274,7 @@ export function RegisterListResourceToJSONTyped(value?: RegisterListResource | n
|
|
|
270
274
|
'user': UserLiteResourceToJSON(value['user']),
|
|
271
275
|
'venue': VenueLiteResourceToJSON(value['venue']),
|
|
272
276
|
'startDateTime': ((value['startDateTime']).toISOString()),
|
|
273
|
-
'finishDateTime':
|
|
277
|
+
'finishDateTime': ((value['finishDateTime']).toISOString()),
|
|
274
278
|
'shiftLength': value['shiftLength'],
|
|
275
279
|
'signOffStatus': value['signOffStatus'],
|
|
276
280
|
'badgeNumber': value['badgeNumber'],
|
|
@@ -36,7 +36,7 @@ export interface RosterLiteResource {
|
|
|
36
36
|
* @type {Date}
|
|
37
37
|
* @memberof RosterLiteResource
|
|
38
38
|
*/
|
|
39
|
-
finishDateTime
|
|
39
|
+
finishDateTime?: Date | null;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -44,7 +44,6 @@ export interface RosterLiteResource {
|
|
|
44
44
|
*/
|
|
45
45
|
export function instanceOfRosterLiteResource(value: object): value is RosterLiteResource {
|
|
46
46
|
if (!('startDateTime' in value) || value['startDateTime'] === undefined) return false;
|
|
47
|
-
if (!('finishDateTime' in value) || value['finishDateTime'] === undefined) return false;
|
|
48
47
|
return true;
|
|
49
48
|
}
|
|
50
49
|
|
|
@@ -60,7 +59,7 @@ export function RosterLiteResourceFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
60
59
|
|
|
61
60
|
'id': json['id'] == null ? undefined : json['id'],
|
|
62
61
|
'startDateTime': (new Date(json['startDateTime'])),
|
|
63
|
-
'finishDateTime': (new Date(json['finishDateTime'])),
|
|
62
|
+
'finishDateTime': json['finishDateTime'] == null ? undefined : (new Date(json['finishDateTime'])),
|
|
64
63
|
};
|
|
65
64
|
}
|
|
66
65
|
|
|
@@ -77,7 +76,7 @@ export function RosterLiteResourceToJSONTyped(value?: RosterLiteResource | null,
|
|
|
77
76
|
|
|
78
77
|
'id': value['id'],
|
|
79
78
|
'startDateTime': ((value['startDateTime']).toISOString()),
|
|
80
|
-
'finishDateTime': ((value['finishDateTime'])
|
|
79
|
+
'finishDateTime': value['finishDateTime'] === null ? null : ((value['finishDateTime'] as any)?.toISOString()),
|
|
81
80
|
};
|
|
82
81
|
}
|
|
83
82
|
|
|
@@ -44,7 +44,7 @@ export interface SecurityCompanyResource {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof SecurityCompanyResource
|
|
46
46
|
*/
|
|
47
|
-
email
|
|
47
|
+
email?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {boolean}
|
|
@@ -82,7 +82,6 @@ export interface SecurityCompanyResource {
|
|
|
82
82
|
*/
|
|
83
83
|
export function instanceOfSecurityCompanyResource(value: object): value is SecurityCompanyResource {
|
|
84
84
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
85
|
-
if (!('email' in value) || value['email'] === undefined) return false;
|
|
86
85
|
if (!('isEnabled' in value) || value['isEnabled'] === undefined) return false;
|
|
87
86
|
if (!('address' in value) || value['address'] === undefined) return false;
|
|
88
87
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
|
|
@@ -101,7 +100,7 @@ export function SecurityCompanyResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
101
100
|
|
|
102
101
|
'id': json['id'] == null ? undefined : json['id'],
|
|
103
102
|
'name': json['name'],
|
|
104
|
-
'email': json['email'],
|
|
103
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
105
104
|
'isEnabled': json['isEnabled'],
|
|
106
105
|
'address': AddressResourceFromJSON(json['address']),
|
|
107
106
|
'licenceNumber': json['licenceNumber'],
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LicenceResource } from './LicenceResource';
|
|
17
|
+
import {
|
|
18
|
+
LicenceResourceFromJSON,
|
|
19
|
+
LicenceResourceFromJSONTyped,
|
|
20
|
+
LicenceResourceToJSON,
|
|
21
|
+
LicenceResourceToJSONTyped,
|
|
22
|
+
} from './LicenceResource';
|
|
16
23
|
import type { AssetLiteResource } from './AssetLiteResource';
|
|
17
24
|
import {
|
|
18
25
|
AssetLiteResourceFromJSON,
|
|
@@ -100,6 +107,12 @@ export interface UserResource {
|
|
|
100
107
|
* @memberof UserResource
|
|
101
108
|
*/
|
|
102
109
|
profileImage: AssetLiteResource | null;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {Array<LicenceResource>}
|
|
113
|
+
* @memberof UserResource
|
|
114
|
+
*/
|
|
115
|
+
licences: Array<LicenceResource> | null;
|
|
103
116
|
/**
|
|
104
117
|
*
|
|
105
118
|
* @type {CurrentRegisterResource}
|
|
@@ -135,6 +148,7 @@ export function instanceOfUserResource(value: object): value is UserResource {
|
|
|
135
148
|
if (!('assets' in value) || value['assets'] === undefined) return false;
|
|
136
149
|
if (!('signatureAsset' in value) || value['signatureAsset'] === undefined) return false;
|
|
137
150
|
if (!('profileImage' in value) || value['profileImage'] === undefined) return false;
|
|
151
|
+
if (!('licences' in value) || value['licences'] === undefined) return false;
|
|
138
152
|
if (!('currentRegister' in value) || value['currentRegister'] === undefined) return false;
|
|
139
153
|
return true;
|
|
140
154
|
}
|
|
@@ -160,6 +174,7 @@ export function UserResourceFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
160
174
|
'assets': (json['assets'] == null ? null : (json['assets'] as Array<any>).map(AssetLiteResourceFromJSON)),
|
|
161
175
|
'signatureAsset': AssetLiteResourceFromJSON(json['signatureAsset']),
|
|
162
176
|
'profileImage': AssetLiteResourceFromJSON(json['profileImage']),
|
|
177
|
+
'licences': (json['licences'] == null ? null : (json['licences'] as Array<any>).map(LicenceResourceFromJSON)),
|
|
163
178
|
'currentRegister': CurrentRegisterResourceFromJSON(json['currentRegister']),
|
|
164
179
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
165
180
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
@@ -188,6 +203,7 @@ export function UserResourceToJSONTyped(value?: UserResource | null, ignoreDiscr
|
|
|
188
203
|
'assets': (value['assets'] == null ? null : (value['assets'] as Array<any>).map(AssetLiteResourceToJSON)),
|
|
189
204
|
'signatureAsset': AssetLiteResourceToJSON(value['signatureAsset']),
|
|
190
205
|
'profileImage': AssetLiteResourceToJSON(value['profileImage']),
|
|
206
|
+
'licences': (value['licences'] == null ? null : (value['licences'] as Array<any>).map(LicenceResourceToJSON)),
|
|
191
207
|
'currentRegister': CurrentRegisterResourceToJSON(value['currentRegister']),
|
|
192
208
|
'createdAt': value['createdAt'] === null ? null : ((value['createdAt'] as any)?.toISOString()),
|
|
193
209
|
'updatedAt': value['updatedAt'] === null ? null : ((value['updatedAt'] as any)?.toISOString()),
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { AuthRegisterGuardRequestLicencesInner } from './AuthRegisterGuardRequestLicencesInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
AuthRegisterGuardRequestLicencesInnerFromJSON,
|
|
19
|
+
AuthRegisterGuardRequestLicencesInnerFromJSONTyped,
|
|
20
|
+
AuthRegisterGuardRequestLicencesInnerToJSON,
|
|
21
|
+
AuthRegisterGuardRequestLicencesInnerToJSONTyped,
|
|
22
|
+
} from './AuthRegisterGuardRequestLicencesInner';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -77,10 +77,10 @@ export interface UsersCreateWithRoleRequest {
|
|
|
77
77
|
securityCompanyIds?: Array<number>;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
|
-
* @type {Array<
|
|
80
|
+
* @type {Array<AuthRegisterGuardRequestLicencesInner>}
|
|
81
81
|
* @memberof UsersCreateWithRoleRequest
|
|
82
82
|
*/
|
|
83
|
-
licences?: Array<
|
|
83
|
+
licences?: Array<AuthRegisterGuardRequestLicencesInner>;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
86
|
* @type {number}
|
|
@@ -134,7 +134,7 @@ export function UsersCreateWithRoleRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
134
134
|
'role': json['role'],
|
|
135
135
|
'venueIds': json['venue_ids'] == null ? undefined : json['venue_ids'],
|
|
136
136
|
'securityCompanyIds': json['security_company_ids'] == null ? undefined : json['security_company_ids'],
|
|
137
|
-
'licences': json['licences'] == null ? undefined : ((json['licences'] as Array<any>).map(
|
|
137
|
+
'licences': json['licences'] == null ? undefined : ((json['licences'] as Array<any>).map(AuthRegisterGuardRequestLicencesInnerFromJSON)),
|
|
138
138
|
'signatureAssetId': json['signature_asset_id'] == null ? undefined : json['signature_asset_id'],
|
|
139
139
|
};
|
|
140
140
|
}
|
|
@@ -158,7 +158,7 @@ export function UsersCreateWithRoleRequestToJSONTyped(value?: UsersCreateWithRol
|
|
|
158
158
|
'role': value['role'],
|
|
159
159
|
'venue_ids': value['venueIds'],
|
|
160
160
|
'security_company_ids': value['securityCompanyIds'],
|
|
161
|
-
'licences': value['licences'] == null ? undefined : ((value['licences'] as Array<any>).map(
|
|
161
|
+
'licences': value['licences'] == null ? undefined : ((value['licences'] as Array<any>).map(AuthRegisterGuardRequestLicencesInnerToJSON)),
|
|
162
162
|
'signature_asset_id': value['signatureAssetId'],
|
|
163
163
|
};
|
|
164
164
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -11,7 +11,7 @@ export * from './AssetResourceArrayResponse';
|
|
|
11
11
|
export * from './AuthChangePasswordRequest';
|
|
12
12
|
export * from './AuthProfileUpdateRequest';
|
|
13
13
|
export * from './AuthRegisterGuardRequest';
|
|
14
|
-
export * from './
|
|
14
|
+
export * from './AuthRegisterGuardRequestLicencesInner';
|
|
15
15
|
export * from './AuthRegisterGuardRequestProfileSignature';
|
|
16
16
|
export * from './BackAsset';
|
|
17
17
|
export * from './CurrentRegisterResource';
|
|
@@ -75,9 +75,6 @@ export * from './LicencesStoreRequestBackAsset';
|
|
|
75
75
|
export * from './LicencesUpdateRequest';
|
|
76
76
|
export * from './LicencesVerifyRequest';
|
|
77
77
|
export * from './LoginAuthRequest';
|
|
78
|
-
export * from './MobileAppConfigRequest';
|
|
79
|
-
export * from './MobileAppConfigResource';
|
|
80
|
-
export * from './MobileAppConfigResourceArrayResponse';
|
|
81
78
|
export * from './MobileDeviceResource';
|
|
82
79
|
export * from './MobileDeviceResourceArrayResponse';
|
|
83
80
|
export * from './MobileInitResource';
|
|
@@ -161,7 +158,6 @@ export * from './UserVenueResourceArrayResponse';
|
|
|
161
158
|
export * from './UsersAttachSecurityCompaniesRequest';
|
|
162
159
|
export * from './UsersAttachVenuesRequest';
|
|
163
160
|
export * from './UsersCreateWithRoleRequest';
|
|
164
|
-
export * from './UsersCreateWithRoleRequestLicencesInner';
|
|
165
161
|
export * from './UsersDetachVenuesRequest';
|
|
166
162
|
export * from './UsersRegisterVenueManagerRequest';
|
|
167
163
|
export * from './VenueGuardScheduleResource';
|
|
@@ -1,93 +0,0 @@
|
|
|
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 { FirstAidAsset } from './FirstAidAsset';
|
|
13
|
-
import type { BackAsset } from './BackAsset';
|
|
14
|
-
import type { FrontAsset } from './FrontAsset';
|
|
15
|
-
import type { RsaAsset } from './RsaAsset';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface AuthRegisterGuardRequestLicence
|
|
20
|
-
*/
|
|
21
|
-
export interface AuthRegisterGuardRequestLicence {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
26
|
-
*/
|
|
27
|
-
state: AuthRegisterGuardRequestLicenceStateEnum;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
32
|
-
*/
|
|
33
|
-
licenceNumber: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
38
|
-
*/
|
|
39
|
-
firstName: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
44
|
-
*/
|
|
45
|
-
lastName: string;
|
|
46
|
-
/**
|
|
47
|
-
* ISO 8601 calendar date (Y-m-d) in the licence state's timezone. Time and timezone offset must be omitted.
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
50
|
-
*/
|
|
51
|
-
expiryDate: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {FrontAsset}
|
|
55
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
56
|
-
*/
|
|
57
|
-
frontAsset: FrontAsset;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {BackAsset}
|
|
61
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
62
|
-
*/
|
|
63
|
-
backAsset?: BackAsset | null;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {RsaAsset}
|
|
67
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
68
|
-
*/
|
|
69
|
-
rsaAsset?: RsaAsset | null;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {FirstAidAsset}
|
|
73
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
74
|
-
*/
|
|
75
|
-
firstAidAsset?: FirstAidAsset | null;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* @export
|
|
79
|
-
*/
|
|
80
|
-
export declare const AuthRegisterGuardRequestLicenceStateEnum: {
|
|
81
|
-
readonly Qld: "QLD";
|
|
82
|
-
readonly Nsw: "NSW";
|
|
83
|
-
readonly Vic: "VIC";
|
|
84
|
-
};
|
|
85
|
-
export type AuthRegisterGuardRequestLicenceStateEnum = typeof AuthRegisterGuardRequestLicenceStateEnum[keyof typeof AuthRegisterGuardRequestLicenceStateEnum];
|
|
86
|
-
/**
|
|
87
|
-
* Check if a given object implements the AuthRegisterGuardRequestLicence interface.
|
|
88
|
-
*/
|
|
89
|
-
export declare function instanceOfAuthRegisterGuardRequestLicence(value: object): value is AuthRegisterGuardRequestLicence;
|
|
90
|
-
export declare function AuthRegisterGuardRequestLicenceFromJSON(json: any): AuthRegisterGuardRequestLicence;
|
|
91
|
-
export declare function AuthRegisterGuardRequestLicenceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthRegisterGuardRequestLicence;
|
|
92
|
-
export declare function AuthRegisterGuardRequestLicenceToJSON(json: any): AuthRegisterGuardRequestLicence;
|
|
93
|
-
export declare function AuthRegisterGuardRequestLicenceToJSONTyped(value?: AuthRegisterGuardRequestLicence | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,46 +0,0 @@
|
|
|
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 MobileAppConfigRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface MobileAppConfigRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MobileAppConfigRequest
|
|
22
|
-
*/
|
|
23
|
-
platform: MobileAppConfigRequestPlatformEnum;
|
|
24
|
-
/**
|
|
25
|
-
* The app's current version as a semantic version string (e.g. "1.4.2").
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof MobileAppConfigRequest
|
|
28
|
-
*/
|
|
29
|
-
appVersion: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
|
-
export declare const MobileAppConfigRequestPlatformEnum: {
|
|
35
|
-
readonly Ios: "ios";
|
|
36
|
-
readonly Android: "android";
|
|
37
|
-
};
|
|
38
|
-
export type MobileAppConfigRequestPlatformEnum = typeof MobileAppConfigRequestPlatformEnum[keyof typeof MobileAppConfigRequestPlatformEnum];
|
|
39
|
-
/**
|
|
40
|
-
* Check if a given object implements the MobileAppConfigRequest interface.
|
|
41
|
-
*/
|
|
42
|
-
export declare function instanceOfMobileAppConfigRequest(value: object): value is MobileAppConfigRequest;
|
|
43
|
-
export declare function MobileAppConfigRequestFromJSON(json: any): MobileAppConfigRequest;
|
|
44
|
-
export declare function MobileAppConfigRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileAppConfigRequest;
|
|
45
|
-
export declare function MobileAppConfigRequestToJSON(json: any): MobileAppConfigRequest;
|
|
46
|
-
export declare function MobileAppConfigRequestToJSONTyped(value?: MobileAppConfigRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,63 +0,0 @@
|
|
|
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.MobileAppConfigRequestPlatformEnum = void 0;
|
|
17
|
-
exports.instanceOfMobileAppConfigRequest = instanceOfMobileAppConfigRequest;
|
|
18
|
-
exports.MobileAppConfigRequestFromJSON = MobileAppConfigRequestFromJSON;
|
|
19
|
-
exports.MobileAppConfigRequestFromJSONTyped = MobileAppConfigRequestFromJSONTyped;
|
|
20
|
-
exports.MobileAppConfigRequestToJSON = MobileAppConfigRequestToJSON;
|
|
21
|
-
exports.MobileAppConfigRequestToJSONTyped = MobileAppConfigRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.MobileAppConfigRequestPlatformEnum = {
|
|
26
|
-
Ios: 'ios',
|
|
27
|
-
Android: 'android'
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Check if a given object implements the MobileAppConfigRequest interface.
|
|
31
|
-
*/
|
|
32
|
-
function instanceOfMobileAppConfigRequest(value) {
|
|
33
|
-
if (!('platform' in value) || value['platform'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('appVersion' in value) || value['appVersion'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
function MobileAppConfigRequestFromJSON(json) {
|
|
40
|
-
return MobileAppConfigRequestFromJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function MobileAppConfigRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'platform': json['platform'],
|
|
48
|
-
'appVersion': json['app_version'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
function MobileAppConfigRequestToJSON(json) {
|
|
52
|
-
return MobileAppConfigRequestToJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
function MobileAppConfigRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'platform': value['platform'],
|
|
61
|
-
'app_version': value['appVersion'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
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 MobileAppConfigResource
|
|
16
|
-
*/
|
|
17
|
-
export interface MobileAppConfigResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MobileAppConfigResource
|
|
22
|
-
*/
|
|
23
|
-
platform: MobileAppConfigResourcePlatformEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof MobileAppConfigResource
|
|
28
|
-
*/
|
|
29
|
-
forceUpdate: boolean;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof MobileAppConfigResource
|
|
34
|
-
*/
|
|
35
|
-
updateUrl: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof MobileAppConfigResource
|
|
40
|
-
*/
|
|
41
|
-
message?: string | null;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const MobileAppConfigResourcePlatformEnum: {
|
|
47
|
-
readonly Ios: "ios";
|
|
48
|
-
readonly Android: "android";
|
|
49
|
-
};
|
|
50
|
-
export type MobileAppConfigResourcePlatformEnum = typeof MobileAppConfigResourcePlatformEnum[keyof typeof MobileAppConfigResourcePlatformEnum];
|
|
51
|
-
/**
|
|
52
|
-
* Check if a given object implements the MobileAppConfigResource interface.
|
|
53
|
-
*/
|
|
54
|
-
export declare function instanceOfMobileAppConfigResource(value: object): value is MobileAppConfigResource;
|
|
55
|
-
export declare function MobileAppConfigResourceFromJSON(json: any): MobileAppConfigResource;
|
|
56
|
-
export declare function MobileAppConfigResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileAppConfigResource;
|
|
57
|
-
export declare function MobileAppConfigResourceToJSON(json: any): MobileAppConfigResource;
|
|
58
|
-
export declare function MobileAppConfigResourceToJSONTyped(value?: MobileAppConfigResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,69 +0,0 @@
|
|
|
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.MobileAppConfigResourcePlatformEnum = void 0;
|
|
17
|
-
exports.instanceOfMobileAppConfigResource = instanceOfMobileAppConfigResource;
|
|
18
|
-
exports.MobileAppConfigResourceFromJSON = MobileAppConfigResourceFromJSON;
|
|
19
|
-
exports.MobileAppConfigResourceFromJSONTyped = MobileAppConfigResourceFromJSONTyped;
|
|
20
|
-
exports.MobileAppConfigResourceToJSON = MobileAppConfigResourceToJSON;
|
|
21
|
-
exports.MobileAppConfigResourceToJSONTyped = MobileAppConfigResourceToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.MobileAppConfigResourcePlatformEnum = {
|
|
26
|
-
Ios: 'ios',
|
|
27
|
-
Android: 'android'
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Check if a given object implements the MobileAppConfigResource interface.
|
|
31
|
-
*/
|
|
32
|
-
function instanceOfMobileAppConfigResource(value) {
|
|
33
|
-
if (!('platform' in value) || value['platform'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('forceUpdate' in value) || value['forceUpdate'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('updateUrl' in value) || value['updateUrl'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
function MobileAppConfigResourceFromJSON(json) {
|
|
42
|
-
return MobileAppConfigResourceFromJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function MobileAppConfigResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
-
if (json == null) {
|
|
46
|
-
return json;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'platform': json['platform'],
|
|
50
|
-
'forceUpdate': json['forceUpdate'],
|
|
51
|
-
'updateUrl': json['updateUrl'],
|
|
52
|
-
'message': json['message'] == null ? undefined : json['message'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function MobileAppConfigResourceToJSON(json) {
|
|
56
|
-
return MobileAppConfigResourceToJSONTyped(json, false);
|
|
57
|
-
}
|
|
58
|
-
function MobileAppConfigResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
-
if (value == null) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
'platform': value['platform'],
|
|
65
|
-
'forceUpdate': value['forceUpdate'],
|
|
66
|
-
'updateUrl': value['updateUrl'],
|
|
67
|
-
'message': value['message'],
|
|
68
|
-
};
|
|
69
|
-
}
|