@moxi.gmbh/moxi-typescriptmodels 0.0.2
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/common.d.ts +653 -0
- package/moxi.gmbh-moxi-typescriptmodels-0.0.2.tgz +0 -0
- package/package.json +5 -0
package/common.d.ts
ADDED
|
@@ -0,0 +1,653 @@
|
|
|
1
|
+
|
|
2
|
+
export interface AcceptRide extends FleetCommand {
|
|
3
|
+
alternativeRoundTripTime?: string;
|
|
4
|
+
alternativeTime?: string;
|
|
5
|
+
driveOwner?: OrganisationOrTeamId;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface AcceptUserAgreement extends UserUpdate {
|
|
9
|
+
agreementId?: any;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface ActiveRoles {
|
|
13
|
+
organisationRoles?: OrganisationRoleSummary[];
|
|
14
|
+
teamRoles?: TeamRoleSummary[];
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface Address {
|
|
18
|
+
addressId?: AddressId;
|
|
19
|
+
info?: AddressInfo;
|
|
20
|
+
organisationId?: any;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface AddressId {
|
|
24
|
+
type?: any;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface AddressInfo {
|
|
28
|
+
addition?: any;
|
|
29
|
+
city?: any;
|
|
30
|
+
country?: any;
|
|
31
|
+
geoLocation?: GeoLocation;
|
|
32
|
+
number?: any;
|
|
33
|
+
state?: any;
|
|
34
|
+
street?: any;
|
|
35
|
+
zipCode?: any;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface AdminConfirmUser {
|
|
39
|
+
userId?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface AdminJsonType {
|
|
43
|
+
"@type": "executeStatement" | "getThreadDump" | "queryDatabase" | "toggleAdminEndpoint";
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface AdminWebsocketClient {
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface Application {
|
|
50
|
+
config?: ApplicationConfig;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface ApplicationConfig {
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface ApplicationId {
|
|
57
|
+
type?: any;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface Appointment {
|
|
61
|
+
pickup?: any;
|
|
62
|
+
time?: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface AuthenticationResponse {
|
|
66
|
+
result?: AuthenticationResult;
|
|
67
|
+
userProfile?: User;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface AuthenticationService {
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface BookRide extends CreateRideCommand {
|
|
74
|
+
info?: RideInfo;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface CancelRide extends RidePlannerCommand {
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface CancelRideConfirmation extends FleetCommand {
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export interface ChangeUserPassword {
|
|
84
|
+
newPassword?: any;
|
|
85
|
+
oldPassword?: any;
|
|
86
|
+
userId?: string;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export interface ConfirmAllOrganisationUpdates extends OrganisationCommand {
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface ConfirmUser {
|
|
93
|
+
confirmationCode?: any;
|
|
94
|
+
userId?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface ConfirmablePermission {
|
|
98
|
+
revoked?: boolean;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export interface CostBearer {
|
|
102
|
+
costBearerId?: CostBearerId;
|
|
103
|
+
info?: CostBearerInfo;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface CostBearerId {
|
|
107
|
+
type?: any;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export interface CostBearerInfo {
|
|
111
|
+
code?: any;
|
|
112
|
+
name?: any;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export interface CreateOrganisation extends OrganisationCommand {
|
|
116
|
+
info?: OrganisationInfo;
|
|
117
|
+
owner?: string;
|
|
118
|
+
requestService?: Service;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export interface CreateRideCommand extends RidePlannerCommand {
|
|
122
|
+
owner?: OrganisationOrTeamId;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export interface CreateTeam extends OrganisationCommand {
|
|
126
|
+
teamId?: string;
|
|
127
|
+
teamName?: any;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export interface CreateUser extends UserCommand {
|
|
131
|
+
info?: UserInfo;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export interface DateRange {
|
|
135
|
+
end?: string;
|
|
136
|
+
start?: string;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export interface DeleteUser extends UserUpdate {
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface DownloadableFile {
|
|
143
|
+
base64Data?: any;
|
|
144
|
+
fileName?: any;
|
|
145
|
+
mediaType?: any;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export interface DrivePermission extends ConfirmablePermission {
|
|
149
|
+
confirmedInfo?: DrivePermissionInfo;
|
|
150
|
+
drivePermissionId?: any;
|
|
151
|
+
info?: DrivePermissionInfo;
|
|
152
|
+
unconfirmedInfo?: DrivePermissionInfo;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export interface DrivePermissionInfo extends TimedPermission {
|
|
156
|
+
allowedEquipments?: Equipment[];
|
|
157
|
+
allowedFleetCompanyTypes?: FleetCompanyType[];
|
|
158
|
+
allowedSpecificities?: Specificity[];
|
|
159
|
+
allowedTransportTypes?: TransportType[];
|
|
160
|
+
region?: Region;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export interface EncryptValue {
|
|
164
|
+
value?: any;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export interface ExecuteStatement extends AdminJsonType {
|
|
168
|
+
"@type": "executeStatement";
|
|
169
|
+
destination?: Destination;
|
|
170
|
+
requestId?: number;
|
|
171
|
+
statement?: any;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export interface FindAddresses {
|
|
175
|
+
term?: any;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export interface FindCostBearers {
|
|
179
|
+
term?: any;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export interface FindMyDrives {
|
|
183
|
+
direction?: Direction;
|
|
184
|
+
term?: any;
|
|
185
|
+
timeRange?: InstantRange;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export interface FindMyRides {
|
|
189
|
+
direction?: Direction;
|
|
190
|
+
term?: any;
|
|
191
|
+
timeRange?: InstantRange;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export interface FindOrganisations {
|
|
195
|
+
term?: any;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export interface FindPotentialDrives {
|
|
199
|
+
direction?: Direction;
|
|
200
|
+
term?: any;
|
|
201
|
+
timeRange?: InstantRange;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export interface FindUsers {
|
|
205
|
+
term?: any;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export interface FleetCommand extends RideCommand {
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export interface FleetModifyCommand extends FleetCommand {
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export interface GeoLocation {
|
|
215
|
+
latitude?: number;
|
|
216
|
+
longitude?: number;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export interface GetApplicationConfig {
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export interface GetMessageAtIndex {
|
|
223
|
+
format?: OutputFormat;
|
|
224
|
+
index?: number;
|
|
225
|
+
messageType?: any;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export interface GetMyOrganisations {
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export interface GetMyTeams {
|
|
232
|
+
organisationId?: string;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export interface GetOrganisation {
|
|
236
|
+
organisationId?: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export interface GetRide {
|
|
240
|
+
rideId?: string;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export interface GetTeam {
|
|
244
|
+
teamId?: any;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export interface GetThreadDump extends AdminJsonType {
|
|
248
|
+
"@type": "getThreadDump";
|
|
249
|
+
requestId?: number;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export interface GetUser {
|
|
253
|
+
userId?: string;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export interface GetUserProfile {
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export interface GiveDrivePermission extends OrganisationUpdate {
|
|
260
|
+
info?: DrivePermissionInfo;
|
|
261
|
+
regionalDrivePermissionId?: any;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export interface GiveOrganisationRole extends UserUpdate {
|
|
265
|
+
info?: OrganisationRolePermissionInfo;
|
|
266
|
+
organisationRolePermissionId?: any;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export interface GiveServicePermission extends OrganisationUpdate {
|
|
270
|
+
info?: ServicePermissionInfo;
|
|
271
|
+
servicePermissionId?: any;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export interface GiveTeamRole extends UserUpdate {
|
|
275
|
+
info?: TeamRolePermissionInfo;
|
|
276
|
+
teamRolePermissionId?: any;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export interface InstantRange {
|
|
280
|
+
end?: string;
|
|
281
|
+
start?: string;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export interface OffsetTimeRange {
|
|
285
|
+
end?: Date;
|
|
286
|
+
start?: Date;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export interface Organisation {
|
|
290
|
+
activeRegions?: DrivePermissionInfo[];
|
|
291
|
+
activeServices?: Service[];
|
|
292
|
+
confirmedInfo?: OrganisationInfo;
|
|
293
|
+
drivePermissions?: DrivePermission[];
|
|
294
|
+
organisationId?: string;
|
|
295
|
+
servicePermissions?: ServicePermission[];
|
|
296
|
+
teams?: Team[];
|
|
297
|
+
unconfirmedInfo?: OrganisationInfo;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export interface OrganisationCommand {
|
|
301
|
+
organisationId?: string;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export interface OrganisationInfo {
|
|
305
|
+
chamberOfCommerceNumber?: any;
|
|
306
|
+
name?: any;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export interface OrganisationOrTeamId {
|
|
310
|
+
organisationId?: string;
|
|
311
|
+
teamId?: string;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export interface OrganisationRolePermission extends ConfirmablePermission {
|
|
315
|
+
confirmedInfo?: OrganisationRolePermissionInfo;
|
|
316
|
+
info?: OrganisationRolePermissionInfo;
|
|
317
|
+
organisationRolePermissionId?: any;
|
|
318
|
+
unconfirmedInfo?: OrganisationRolePermissionInfo;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export interface OrganisationRolePermissionInfo extends TimedPermission {
|
|
322
|
+
organisationId?: string;
|
|
323
|
+
role?: OrganisationRole;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export interface OrganisationRoleSummary {
|
|
327
|
+
organisationId?: string;
|
|
328
|
+
roles?: OrganisationRole[];
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export interface OrganisationUpdate extends OrganisationCommand {
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export interface Person {
|
|
335
|
+
address?: AddressInfo;
|
|
336
|
+
birthDay?: string;
|
|
337
|
+
costBearer?: CostBearer;
|
|
338
|
+
email?: any;
|
|
339
|
+
firstName?: any;
|
|
340
|
+
insuranceNumber?: any;
|
|
341
|
+
lastName?: any;
|
|
342
|
+
phoneNumber?: any;
|
|
343
|
+
weightInKg?: any;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
export interface QueryDatabase extends AdminJsonType {
|
|
347
|
+
"@type": "queryDatabase";
|
|
348
|
+
destination?: Destination;
|
|
349
|
+
query?: any;
|
|
350
|
+
requestId?: number;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export interface Recurring {
|
|
354
|
+
daysOfWeek?: DayOfWeek[];
|
|
355
|
+
firstDay?: string;
|
|
356
|
+
lastDay?: string;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export interface Region {
|
|
360
|
+
city?: any;
|
|
361
|
+
country?: any;
|
|
362
|
+
state?: any;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export interface RemoveTeam extends TeamUpdate {
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export interface RequestDrivePermission extends OrganisationUpdate {
|
|
369
|
+
drivePermissionId?: any;
|
|
370
|
+
info?: DrivePermissionInfo;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export interface RequestOrganisationRole extends UserUpdate {
|
|
374
|
+
info?: OrganisationRolePermissionInfo;
|
|
375
|
+
organisationRolePermissionId?: any;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export interface RequestServicePermission extends OrganisationUpdate {
|
|
379
|
+
info?: ServicePermissionInfo;
|
|
380
|
+
servicePermissionId?: any;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export interface RequestTeamRole extends UserUpdate {
|
|
384
|
+
info?: TeamRolePermissionInfo;
|
|
385
|
+
teamRolePermissionId?: any;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export interface RequestUserReset {
|
|
389
|
+
email?: any;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export interface ResendConfirmationEmail {
|
|
393
|
+
email?: any;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export interface RevokeDrivePermission extends OrganisationUpdate {
|
|
397
|
+
drivePermissionId?: any;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
export interface RevokeOrganisationRole extends UserUpdate {
|
|
401
|
+
organisationRolePermissionId?: any;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export interface RevokeServicePermission extends OrganisationUpdate {
|
|
405
|
+
servicePermissionId?: any;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export interface RevokeTeamRole extends UserUpdate {
|
|
409
|
+
teamRolePermissionId?: any;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export interface Ride {
|
|
413
|
+
booked?: boolean;
|
|
414
|
+
cancelled?: boolean;
|
|
415
|
+
confirmed?: boolean;
|
|
416
|
+
confirmedAppointment?: Appointment;
|
|
417
|
+
confirmedRoundTripAppointment?: Appointment;
|
|
418
|
+
driveOwner?: OrganisationOrTeamId;
|
|
419
|
+
info?: RideInfo;
|
|
420
|
+
rideId?: string;
|
|
421
|
+
rideOwner?: OrganisationOrTeamId;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export interface RideCommand {
|
|
425
|
+
rideId?: string;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export interface RideInfo {
|
|
429
|
+
appointment?: Appointment;
|
|
430
|
+
direction?: Direction;
|
|
431
|
+
equipment?: Equipment;
|
|
432
|
+
fleetCompanyType?: FleetCompanyType;
|
|
433
|
+
from?: AddressInfo;
|
|
434
|
+
patient?: Person;
|
|
435
|
+
roundTrip?: boolean;
|
|
436
|
+
roundTripAppointment?: Appointment;
|
|
437
|
+
specificities?: Specificity[];
|
|
438
|
+
to?: AddressInfo;
|
|
439
|
+
transportType?: TransportType;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export interface RidePlannerCommand extends RideCommand {
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export interface Right {
|
|
446
|
+
type: "role";
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export interface Role<T> {
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export interface RoleRight extends Right {
|
|
453
|
+
role?: UserRole;
|
|
454
|
+
type: "role";
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export interface SaveRide extends CreateRideCommand {
|
|
458
|
+
info?: RideInfo;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
export interface SendEmail {
|
|
462
|
+
attachments?: DownloadableFile[];
|
|
463
|
+
bccAddresses?: any[];
|
|
464
|
+
ccAddresses?: any[];
|
|
465
|
+
content?: any;
|
|
466
|
+
contentType?: any;
|
|
467
|
+
noReply?: boolean;
|
|
468
|
+
replyTo?: any;
|
|
469
|
+
replyToName?: any;
|
|
470
|
+
subject?: any;
|
|
471
|
+
toAddresses?: any[];
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export interface ServicePermission extends ConfirmablePermission {
|
|
475
|
+
confirmedInfo?: ServicePermissionInfo;
|
|
476
|
+
info?: ServicePermissionInfo;
|
|
477
|
+
servicePermissionId?: any;
|
|
478
|
+
unconfirmedInfo?: ServicePermissionInfo;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export interface ServicePermissionInfo extends TimedPermission {
|
|
482
|
+
service?: Service;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export interface SetGeneralUserRole extends UserUpdate {
|
|
486
|
+
role?: UserRole;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
export interface SetUserPassword {
|
|
490
|
+
confirmationCode?: any;
|
|
491
|
+
password?: any;
|
|
492
|
+
userId?: string;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export interface SignInUser {
|
|
496
|
+
password?: any;
|
|
497
|
+
userId?: string;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export interface SignUpUser {
|
|
501
|
+
info?: UserInfo;
|
|
502
|
+
password?: any;
|
|
503
|
+
userId?: string;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export interface StartSchedule {
|
|
507
|
+
deadline?: string;
|
|
508
|
+
payload?: any;
|
|
509
|
+
scheduleId?: any;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export interface Team {
|
|
513
|
+
groupName?: any;
|
|
514
|
+
teamId?: string;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
export interface TeamRolePermission extends ConfirmablePermission {
|
|
518
|
+
confirmedInfo?: TeamRolePermissionInfo;
|
|
519
|
+
info?: TeamRolePermissionInfo;
|
|
520
|
+
teamRolePermissionId?: any;
|
|
521
|
+
unconfirmedInfo?: TeamRolePermissionInfo;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export interface TeamRolePermissionInfo extends TimedPermission {
|
|
525
|
+
organisationId?: string;
|
|
526
|
+
role?: TeamRole;
|
|
527
|
+
teamId?: string;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
export interface TeamRoleSummary {
|
|
531
|
+
organisationId?: string;
|
|
532
|
+
roles?: TeamRole[];
|
|
533
|
+
teamId?: string;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export interface TeamUpdate {
|
|
537
|
+
teamId?: string;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export interface TimeRange {
|
|
541
|
+
end?: string;
|
|
542
|
+
start?: string;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export interface TimedPermission {
|
|
546
|
+
timeRange?: InstantRange;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
export interface ToggleAdminEndpoint extends AdminJsonType {
|
|
550
|
+
"@type": "toggleAdminEndpoint";
|
|
551
|
+
enable?: boolean;
|
|
552
|
+
requestId?: number;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export interface UpdateApplicationConfig {
|
|
556
|
+
config?: ApplicationConfig;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export interface UpdateOrganisationInfo extends OrganisationUpdate {
|
|
560
|
+
info?: OrganisationInfo;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export interface UpdateRideConfirmation extends FleetModifyCommand {
|
|
564
|
+
alternativeRoundTripTime?: string;
|
|
565
|
+
alternativeTime?: string;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export interface UpdateTeamInfo extends TeamUpdate {
|
|
569
|
+
teamName?: any;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
export interface UpdateUserInfo extends UserUpdate {
|
|
573
|
+
info?: UserInfo;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export interface UpsertAddress {
|
|
577
|
+
addressId?: AddressId;
|
|
578
|
+
info?: AddressInfo;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
export interface UpsertCostBearer {
|
|
582
|
+
costBearerId?: CostBearerId;
|
|
583
|
+
info?: CostBearerInfo;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export interface User {
|
|
587
|
+
acceptedUserAgreements?: any[];
|
|
588
|
+
activeRoles?: ActiveRoles;
|
|
589
|
+
admin?: boolean;
|
|
590
|
+
info?: UserInfo;
|
|
591
|
+
newUser?: boolean;
|
|
592
|
+
organisationRolePermissions?: OrganisationRolePermission[];
|
|
593
|
+
teamRolePermissions?: TeamRolePermission[];
|
|
594
|
+
userId?: string;
|
|
595
|
+
userRole?: UserRole;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
export interface UserCommand {
|
|
599
|
+
userId?: string;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export interface UserInfo {
|
|
603
|
+
address?: AddressInfo;
|
|
604
|
+
email?: any;
|
|
605
|
+
firstName?: any;
|
|
606
|
+
lastName?: any;
|
|
607
|
+
publicProfile?: boolean;
|
|
608
|
+
telephoneNumber?: any;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export interface UserUpdate extends UserCommand {
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export interface ZonedTimeRange {
|
|
615
|
+
end?: Date;
|
|
616
|
+
start?: Date;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export type AdminJsonTypeUnion = ToggleAdminEndpoint | GetThreadDump | QueryDatabase | ExecuteStatement;
|
|
620
|
+
|
|
621
|
+
export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
|
|
622
|
+
|
|
623
|
+
export type DayOfWeek = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
|
624
|
+
|
|
625
|
+
export type Destination = "DEFAULT" | "SEARCH";
|
|
626
|
+
|
|
627
|
+
export type Direction = "admission" | "relocation" | "discharge";
|
|
628
|
+
|
|
629
|
+
export type Environment = "prod" | "local" | "test";
|
|
630
|
+
|
|
631
|
+
export type Equipment = "wheelchair" | "carry_chair" | "lying_down";
|
|
632
|
+
|
|
633
|
+
export type FleetCompanyType = "taxi" | "ktw";
|
|
634
|
+
|
|
635
|
+
export type OrganisationRole = "member" | "admin" | "owner" | "rideplanner" | "driveplanner";
|
|
636
|
+
|
|
637
|
+
export type OutputFormat = "PAYLOAD" | "MESSAGE" | "SERIALIZED_MESSAGE";
|
|
638
|
+
|
|
639
|
+
export type RideRole = "viewer" | "planner" | "driver" | "potentialDriver";
|
|
640
|
+
|
|
641
|
+
export type RightType = "role" | "jurisdiction";
|
|
642
|
+
|
|
643
|
+
export type RightUnion = RoleRight;
|
|
644
|
+
|
|
645
|
+
export type Service = "rideplanning" | "driveplanning";
|
|
646
|
+
|
|
647
|
+
export type Specificity = "infection" | "overweight" | "oxygen" | "cognitive_impairment" | "attendant_present" | "suction_aspirator";
|
|
648
|
+
|
|
649
|
+
export type TeamRole = "member" | "admin" | "driveplanner" | "rideplanner";
|
|
650
|
+
|
|
651
|
+
export type TransportType = "patient_transport" | "private_trip" | "material_transport";
|
|
652
|
+
|
|
653
|
+
export type UserRole = "superadmin";
|
|
Binary file
|