@moxi.gmbh/moxi-typescriptmodels 0.1.2641-test-server → 0.1.2651-32fb5dd-test-server
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-with-namespaces.d.ts +3696 -0
- package/common.d.ts +345 -131
- package/nuts-districts.json +7 -7
- package/package.json +1 -1
|
@@ -0,0 +1,3696 @@
|
|
|
1
|
+
|
|
2
|
+
export namespace com.moxi.api.account {
|
|
3
|
+
|
|
4
|
+
export interface AccountCommand {
|
|
5
|
+
accountId?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export namespace com.moxi.api.account {
|
|
11
|
+
|
|
12
|
+
export interface AccountUpdate extends com.moxi.api.account.AccountCommand {
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export namespace com.moxi.api.account {
|
|
18
|
+
|
|
19
|
+
export interface ConfirmAccount extends com.moxi.api.account.AccountCommand {
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export namespace com.moxi.api.account {
|
|
25
|
+
|
|
26
|
+
export interface ConfirmEverythingInAccount extends com.moxi.api.account.AccountCommand {
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export namespace com.moxi.api.account {
|
|
32
|
+
|
|
33
|
+
export interface CreateAccount extends com.moxi.api.account.AccountCommand {
|
|
34
|
+
autoConfirm?: boolean;
|
|
35
|
+
criticalInfo?: com.moxi.api.account.common.CriticalAccountInfo;
|
|
36
|
+
info?: com.moxi.api.account.common.AccountInfo;
|
|
37
|
+
owner?: string;
|
|
38
|
+
requestService?: com.moxi.api.permissions.subscription.common.StandaloneService;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export namespace com.moxi.api.account {
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated
|
|
47
|
+
*/
|
|
48
|
+
export interface FindAccount {
|
|
49
|
+
term?: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export namespace com.moxi.api.account {
|
|
55
|
+
|
|
56
|
+
export interface FindAccounts {
|
|
57
|
+
filter?: com.moxi.api.account.common.AccountFilter;
|
|
58
|
+
term?: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export namespace com.moxi.api.account {
|
|
64
|
+
|
|
65
|
+
export interface GetAccount {
|
|
66
|
+
accountId?: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export namespace com.moxi.api.account {
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @deprecated
|
|
75
|
+
*/
|
|
76
|
+
export interface GetAccountsOfPotentialDrivers extends com.moxi.api.account.IGetPotentialDrivers {
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export namespace com.moxi.api.account {
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @deprecated
|
|
85
|
+
*/
|
|
86
|
+
export interface GetAccountsOfPotentialDriversAsAdmin extends com.moxi.api.account.IGetPotentialDrivers {
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export namespace com.moxi.api.account {
|
|
92
|
+
|
|
93
|
+
export interface GetMonopolyAccounts {
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export namespace com.moxi.api.account {
|
|
99
|
+
|
|
100
|
+
export interface GetMyAccounts {
|
|
101
|
+
filter?: com.moxi.api.account.common.AccountFilter;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export namespace com.moxi.api.account {
|
|
107
|
+
|
|
108
|
+
export interface GetPotentialDriverIds extends com.moxi.api.account.GetPotentialDriversAbstract {
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export namespace com.moxi.api.account {
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
|
|
117
|
+
|
|
118
|
+
*/
|
|
119
|
+
export interface GetPotentialDrivers extends com.moxi.api.account.GetPotentialDriversAbstract {
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export namespace com.moxi.api.account {
|
|
125
|
+
|
|
126
|
+
export interface GetPotentialDriversAbstract {
|
|
127
|
+
fromDistrict?: string;
|
|
128
|
+
mobility?: com.moxi.api.ride.common.Mobility;
|
|
129
|
+
vehicleType?: com.moxi.api.ride.common.VehicleType;
|
|
130
|
+
weightInKg?: number;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export namespace com.moxi.api.account {
|
|
136
|
+
|
|
137
|
+
export interface IGetPotentialDrivers {
|
|
138
|
+
fromDistrict?: string;
|
|
139
|
+
mobility?: com.moxi.api.ride.common.Mobility;
|
|
140
|
+
toDistrict?: string;
|
|
141
|
+
vehicleType?: com.moxi.api.ride.common.VehicleType;
|
|
142
|
+
weightInKg?: number;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export namespace com.moxi.api.account {
|
|
148
|
+
|
|
149
|
+
export interface RemoveAccount extends com.moxi.api.account.AccountUpdate {
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export namespace com.moxi.api.account {
|
|
155
|
+
|
|
156
|
+
export interface UpdateAccountInfo extends com.moxi.api.account.AccountUpdate {
|
|
157
|
+
autoConfirm?: boolean;
|
|
158
|
+
criticalInfo?: com.moxi.api.account.common.CriticalAccountInfo;
|
|
159
|
+
info?: com.moxi.api.account.common.AccountInfo;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export namespace com.moxi.api.account.common {
|
|
165
|
+
|
|
166
|
+
export interface Account {
|
|
167
|
+
accountId?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Derived from subscriptions
|
|
170
|
+
*/
|
|
171
|
+
activeOrganisationTypes?: com.moxi.api.permissions.subscription.common.OrganisationType[];
|
|
172
|
+
/**
|
|
173
|
+
* Derived from subscriptions
|
|
174
|
+
*/
|
|
175
|
+
activeServices?: com.moxi.api.permissions.subscription.common.Service[];
|
|
176
|
+
confirmed?: boolean;
|
|
177
|
+
criticalInfo?: com.moxi.api.account.common.CriticalAccountInfo;
|
|
178
|
+
drivePermissions?: com.moxi.api.permissions.drive.common.DrivePermission[];
|
|
179
|
+
info?: com.moxi.api.account.common.AccountInfo;
|
|
180
|
+
integrationSettings?: any[];
|
|
181
|
+
operateAccounts?: string[];
|
|
182
|
+
operators?: string[];
|
|
183
|
+
/**
|
|
184
|
+
* Derived from subscriptions. Includes organisation types that have not been confirmed yet by a superadmin or are active in past or future.
|
|
185
|
+
*/
|
|
186
|
+
organisationTypes?: com.moxi.api.permissions.subscription.common.OrganisationType[];
|
|
187
|
+
subscriptions?: com.moxi.api.permissions.subscription.common.Subscription[];
|
|
188
|
+
teams?: com.moxi.api.team.common.Team[];
|
|
189
|
+
unconfirmedCriticalInfo?: com.moxi.api.account.common.CriticalAccountInfo;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export namespace com.moxi.api.account.common {
|
|
195
|
+
|
|
196
|
+
export interface AccountFilter {
|
|
197
|
+
activeServices?: com.moxi.api.permissions.subscription.common.Service[];
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export namespace com.moxi.api.account.common {
|
|
203
|
+
|
|
204
|
+
export interface AccountInfo {
|
|
205
|
+
address?: com.moxi.api.refdata.common.AddressInfo;
|
|
206
|
+
companyInfo?: com.moxi.api.account.common.CompanyInfo;
|
|
207
|
+
defaultLanguage?: string;
|
|
208
|
+
notificationEmails?: string[];
|
|
209
|
+
phoneNumber?: com.moxi.api.common.PhoneNumber;
|
|
210
|
+
zoneId?: string;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export namespace com.moxi.api.account.common {
|
|
216
|
+
|
|
217
|
+
export interface AccountRef {
|
|
218
|
+
accountId?: string;
|
|
219
|
+
name?: string;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export namespace com.moxi.api.account.common {
|
|
225
|
+
|
|
226
|
+
export interface CompanyInfo {
|
|
227
|
+
businessLicenseDocument?: com.moxi.api.common.Document;
|
|
228
|
+
creationDate?: string;
|
|
229
|
+
hasLiabilityInsurance?: boolean;
|
|
230
|
+
publicLiabilityPolicyDocument?: com.moxi.api.common.Document;
|
|
231
|
+
registrationNumber?: string;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export namespace com.moxi.api.account.common {
|
|
237
|
+
|
|
238
|
+
export interface CriticalAccountInfo {
|
|
239
|
+
ikNumber?: string;
|
|
240
|
+
name?: string;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export namespace com.moxi.api.account.operations {
|
|
246
|
+
|
|
247
|
+
export interface AddOperations extends com.moxi.api.account.AccountUpdate {
|
|
248
|
+
operateAccount?: string;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export namespace com.moxi.api.account.operations {
|
|
254
|
+
|
|
255
|
+
export interface RemoveOperations extends com.moxi.api.account.AccountUpdate {
|
|
256
|
+
operateAccount?: string;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export namespace com.moxi.api.account.operations {
|
|
262
|
+
|
|
263
|
+
export interface RemoveOperator extends com.moxi.api.account.AccountUpdate {
|
|
264
|
+
operator?: string;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export namespace com.moxi.api.account.operations {
|
|
270
|
+
|
|
271
|
+
export interface SetOperations extends com.moxi.api.account.AccountUpdate {
|
|
272
|
+
operateAccounts?: string[];
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export namespace com.moxi.api.account.operations {
|
|
278
|
+
|
|
279
|
+
export interface SetOperator extends com.moxi.api.account.AccountUpdate {
|
|
280
|
+
operator?: string;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export namespace com.moxi.api.authentication {
|
|
286
|
+
|
|
287
|
+
export interface AdminConfirmUser extends com.moxi.api.user.UserUpdateAfterSignup {
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export namespace com.moxi.api.authentication {
|
|
293
|
+
|
|
294
|
+
export interface AdminSetUserPassword {
|
|
295
|
+
password?: string;
|
|
296
|
+
userId?: string;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export namespace com.moxi.api.authentication {
|
|
302
|
+
|
|
303
|
+
export interface AuthenticateWithToken extends com.moxi.api.user.UserUpdate {
|
|
304
|
+
hashedToken?: string;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export namespace com.moxi.api.authentication {
|
|
310
|
+
|
|
311
|
+
export interface ChangeUserPassword {
|
|
312
|
+
newPassword?: string;
|
|
313
|
+
oldPassword?: string;
|
|
314
|
+
userId?: string;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export namespace com.moxi.api.authentication {
|
|
320
|
+
|
|
321
|
+
export interface ConfirmUser {
|
|
322
|
+
activateOneTimePassword?: boolean;
|
|
323
|
+
token?: string;
|
|
324
|
+
userId?: string;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export namespace com.moxi.api.authentication {
|
|
330
|
+
|
|
331
|
+
export interface ImpersonateUser {
|
|
332
|
+
userId?: string;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export namespace com.moxi.api.authentication {
|
|
338
|
+
|
|
339
|
+
export interface InviteUser extends com.moxi.api.user.UserCommand {
|
|
340
|
+
accountPermission?: com.moxi.api.permissions.common.AccountPermission;
|
|
341
|
+
autoAccept?: boolean;
|
|
342
|
+
email?: string;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export namespace com.moxi.api.authentication {
|
|
348
|
+
|
|
349
|
+
export interface RefreshUserToken {
|
|
350
|
+
refreshToken?: string;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export namespace com.moxi.api.authentication {
|
|
356
|
+
|
|
357
|
+
export interface RegisterAuthenticationToken extends com.moxi.api.user.UserUpdate {
|
|
358
|
+
hashedToken?: string;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export namespace com.moxi.api.authentication {
|
|
364
|
+
|
|
365
|
+
export interface RequestUserReset {
|
|
366
|
+
email?: string;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export namespace com.moxi.api.authentication {
|
|
372
|
+
|
|
373
|
+
export interface RevokeUserRefreshTokens {
|
|
374
|
+
userId?: string;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
export namespace com.moxi.api.authentication {
|
|
380
|
+
|
|
381
|
+
export interface SendConfirmationEmail {
|
|
382
|
+
userId?: string;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export namespace com.moxi.api.authentication {
|
|
388
|
+
|
|
389
|
+
export interface SendInvitationEmail {
|
|
390
|
+
accountIdOfInvite?: string;
|
|
391
|
+
userId?: string;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export namespace com.moxi.api.authentication {
|
|
397
|
+
|
|
398
|
+
export interface SetUserPassword {
|
|
399
|
+
confirmationCode?: string;
|
|
400
|
+
password?: string;
|
|
401
|
+
userId?: string;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export namespace com.moxi.api.authentication {
|
|
407
|
+
|
|
408
|
+
export interface SignInUser {
|
|
409
|
+
activateOneTimePassword?: boolean;
|
|
410
|
+
password?: string;
|
|
411
|
+
userId?: string;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export namespace com.moxi.api.authentication {
|
|
417
|
+
|
|
418
|
+
export interface SignUpUser {
|
|
419
|
+
activateOneTimePassword?: boolean;
|
|
420
|
+
email?: string;
|
|
421
|
+
info?: com.moxi.api.user.common.UserInfo;
|
|
422
|
+
inviteToken?: string;
|
|
423
|
+
password?: string;
|
|
424
|
+
userId?: string;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
export namespace com.moxi.api.authentication {
|
|
430
|
+
|
|
431
|
+
export interface SignedInUser {
|
|
432
|
+
userId?: string;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export namespace com.moxi.api.authentication {
|
|
438
|
+
|
|
439
|
+
export interface StopImpersonatingUser {
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
export namespace com.moxi.api.authentication.common {
|
|
445
|
+
|
|
446
|
+
export interface AuthenticationResponse {
|
|
447
|
+
authorizationHeader?: string;
|
|
448
|
+
impersonator?: string;
|
|
449
|
+
refreshToken?: string;
|
|
450
|
+
refreshTokenDeadline?: string;
|
|
451
|
+
result?: com.moxi.api.authentication.common.AuthenticationResult;
|
|
452
|
+
sessionDeadline?: string;
|
|
453
|
+
userProfile?: com.moxi.api.user.common.UserProfile;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
export namespace com.moxi.api.authentication.common {
|
|
459
|
+
|
|
460
|
+
export interface AuthenticationResponseFactory {
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export namespace com.moxi.api.authentication.common {
|
|
466
|
+
|
|
467
|
+
export interface AuthenticationService {
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export namespace com.moxi.api.authentication.common {
|
|
473
|
+
|
|
474
|
+
export interface RefreshTokenService {
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
export namespace com.moxi.api.authentication.common.RefreshTokenService {
|
|
480
|
+
|
|
481
|
+
export interface RefreshTokenData {
|
|
482
|
+
expiresAt?: string;
|
|
483
|
+
hashedToken?: string;
|
|
484
|
+
userId?: string;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
export namespace com.moxi.api.authentication.onetimepassword {
|
|
490
|
+
|
|
491
|
+
export interface OneTimePasswordExpires {
|
|
492
|
+
userId?: string;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export namespace com.moxi.api.authentication.onetimepassword {
|
|
498
|
+
|
|
499
|
+
export interface OneTimePasswordState {
|
|
500
|
+
hashedPassword?: string;
|
|
501
|
+
loginAttempts?: number;
|
|
502
|
+
userId?: string;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
export namespace com.moxi.api.authentication.onetimepassword {
|
|
508
|
+
|
|
509
|
+
export interface RegisterOneTimePassword {
|
|
510
|
+
oneTimePassword?: string;
|
|
511
|
+
userId?: string;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export namespace com.moxi.api.authentication.onetimepassword {
|
|
517
|
+
|
|
518
|
+
export interface SendOneTimePasswordEmail {
|
|
519
|
+
oneTimePassword?: string;
|
|
520
|
+
userId?: string;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export namespace com.moxi.api.billing {
|
|
526
|
+
|
|
527
|
+
export interface BillingCodeGenerator {
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export namespace com.moxi.api.billing.common {
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* 6-digit position number for medical transport billing
|
|
536
|
+
*/
|
|
537
|
+
export interface BillingCode {
|
|
538
|
+
code?: string;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
export namespace com.moxi.api.common {
|
|
544
|
+
|
|
545
|
+
export interface DateRange {
|
|
546
|
+
end?: string;
|
|
547
|
+
start?: string;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export namespace com.moxi.api.common {
|
|
553
|
+
|
|
554
|
+
export interface Document {
|
|
555
|
+
id?: string;
|
|
556
|
+
name?: string;
|
|
557
|
+
size?: number;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export namespace com.moxi.api.common {
|
|
563
|
+
|
|
564
|
+
export interface DownloadableFile {
|
|
565
|
+
base64Data?: string;
|
|
566
|
+
fileName?: string;
|
|
567
|
+
mediaType?: string;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
export namespace com.moxi.api.common {
|
|
573
|
+
|
|
574
|
+
export interface GeoLocation {
|
|
575
|
+
latitude?: number;
|
|
576
|
+
longitude?: number;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
export namespace com.moxi.api.common {
|
|
582
|
+
|
|
583
|
+
export interface InstantRange {
|
|
584
|
+
end?: string;
|
|
585
|
+
start?: string;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export namespace com.moxi.api.common {
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Ip4 or ip6 range in CIDR format
|
|
594
|
+
*/
|
|
595
|
+
export interface IpRange {
|
|
596
|
+
ip?: string;
|
|
597
|
+
range?: number;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export namespace com.moxi.api.common {
|
|
603
|
+
|
|
604
|
+
export interface OffsetTimeRange {
|
|
605
|
+
end?: Date;
|
|
606
|
+
start?: Date;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export namespace com.moxi.api.common {
|
|
612
|
+
|
|
613
|
+
export interface PhoneNumber {
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
export namespace com.moxi.api.common {
|
|
619
|
+
|
|
620
|
+
export interface TimeRange {
|
|
621
|
+
end?: string;
|
|
622
|
+
start?: string;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
export namespace com.moxi.api.common {
|
|
628
|
+
|
|
629
|
+
export interface ZonedTimeRange {
|
|
630
|
+
end?: Date;
|
|
631
|
+
start?: Date;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
export namespace com.moxi.api.common.firebase {
|
|
637
|
+
|
|
638
|
+
export interface FirebaseMessage {
|
|
639
|
+
data?: { [index: string]: string };
|
|
640
|
+
notification?: com.moxi.api.common.firebase.FirebaseMessage.Notification;
|
|
641
|
+
topic?: string;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
export namespace com.moxi.api.common.firebase.FirebaseMessage {
|
|
647
|
+
|
|
648
|
+
export interface Notification {
|
|
649
|
+
body?: string;
|
|
650
|
+
title?: string;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
export namespace com.moxi.api.common.firebase {
|
|
656
|
+
|
|
657
|
+
export interface SendToFirebase {
|
|
658
|
+
message?: com.moxi.api.common.firebase.FirebaseMessage;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
export namespace com.moxi.api.common.freshdesk {
|
|
664
|
+
|
|
665
|
+
export interface SendFreshdeskNewTicket {
|
|
666
|
+
email?: string;
|
|
667
|
+
message?: string;
|
|
668
|
+
subject?: string;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
export namespace com.moxi.api.common.mail {
|
|
674
|
+
|
|
675
|
+
export interface Attachment {
|
|
676
|
+
base64Data?: string;
|
|
677
|
+
fileName?: string;
|
|
678
|
+
mediaType?: string;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
export namespace com.moxi.api.common.mail {
|
|
684
|
+
|
|
685
|
+
export interface EmailMessage {
|
|
686
|
+
attachments?: com.moxi.api.common.mail.Attachment[];
|
|
687
|
+
bccs?: string[];
|
|
688
|
+
ccs?: string[];
|
|
689
|
+
from?: string;
|
|
690
|
+
htmlContent?: string;
|
|
691
|
+
plaintextContent?: string;
|
|
692
|
+
replyTo?: string;
|
|
693
|
+
subject?: string;
|
|
694
|
+
tos?: string[];
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
export namespace com.moxi.api.common.mail {
|
|
700
|
+
|
|
701
|
+
export interface SendEmail {
|
|
702
|
+
message?: com.moxi.api.common.mail.EmailMessage;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
export namespace com.moxi.api.common.mail {
|
|
708
|
+
|
|
709
|
+
export interface SendSensitiveEmail {
|
|
710
|
+
message?: com.moxi.api.common.mail.EmailMessage;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
export namespace com.moxi.api.common.pulse {
|
|
716
|
+
|
|
717
|
+
export interface HalfHourBeforeStart {
|
|
718
|
+
rideId?: string;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
export namespace com.moxi.api.common.pulse {
|
|
724
|
+
|
|
725
|
+
export interface OneHourAfterEnd {
|
|
726
|
+
rideId?: string;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export namespace com.moxi.api.common.slack {
|
|
732
|
+
|
|
733
|
+
export interface SendSlack {
|
|
734
|
+
channel?: com.moxi.api.common.slack.SlackChannel;
|
|
735
|
+
message?: string;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
export namespace com.moxi.api.geojson {
|
|
741
|
+
|
|
742
|
+
export interface GeoUtils {
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
export namespace com.moxi.api.geojson {
|
|
748
|
+
|
|
749
|
+
export interface GetDistrict {
|
|
750
|
+
geoLocation?: com.moxi.api.common.GeoLocation;
|
|
751
|
+
stateNutsCode?: string;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
export namespace com.moxi.api.geojson.common {
|
|
757
|
+
|
|
758
|
+
export interface District {
|
|
759
|
+
info?: com.moxi.api.geojson.common.DistrictInfo;
|
|
760
|
+
polygons?: any[];
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
export namespace com.moxi.api.geojson.common {
|
|
766
|
+
|
|
767
|
+
export interface DistrictInfo {
|
|
768
|
+
kreisCode?: string;
|
|
769
|
+
name?: string;
|
|
770
|
+
nutsCode?: string;
|
|
771
|
+
type?: string;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
export namespace com.moxi.api.geojson.common {
|
|
777
|
+
|
|
778
|
+
export interface GeoJson {
|
|
779
|
+
features?: com.moxi.api.geojson.common.GeoJson.Feature[];
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
export namespace com.moxi.api.geojson.common.GeoJson {
|
|
785
|
+
|
|
786
|
+
export interface Feature {
|
|
787
|
+
geometry?: com.moxi.api.geojson.common.GeoJson.GeometryUnion;
|
|
788
|
+
properties?: any;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
export namespace com.moxi.api.geojson.common.GeoJson {
|
|
794
|
+
|
|
795
|
+
export interface GeoMultiPolygon extends com.moxi.api.geojson.common.GeoJson.Geometry {
|
|
796
|
+
coordinates?: number[][][][];
|
|
797
|
+
type: "MultiPolygon";
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
export namespace com.moxi.api.geojson.common.GeoJson {
|
|
803
|
+
|
|
804
|
+
export interface GeoPolygon extends com.moxi.api.geojson.common.GeoJson.Geometry {
|
|
805
|
+
coordinates?: number[][][];
|
|
806
|
+
type: "Polygon";
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
export namespace com.moxi.api.geojson.common.GeoJson {
|
|
812
|
+
|
|
813
|
+
export interface Geometry {
|
|
814
|
+
type: "MultiPolygon" | "Polygon";
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
export namespace com.moxi.api.grpc {
|
|
820
|
+
|
|
821
|
+
export interface CeliosStreamPulse {
|
|
822
|
+
target?: string;
|
|
823
|
+
type?: com.moxi.api.grpc.common.GrpcStreamType;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
export namespace com.moxi.api.grpc {
|
|
829
|
+
|
|
830
|
+
export interface StartCeliosStream {
|
|
831
|
+
target?: string;
|
|
832
|
+
type?: com.moxi.api.grpc.common.GrpcStreamType;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
export namespace com.moxi.api.grpc {
|
|
838
|
+
|
|
839
|
+
export interface StopCeliosStream {
|
|
840
|
+
target?: string;
|
|
841
|
+
type?: com.moxi.api.grpc.common.GrpcStreamType;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
export namespace com.moxi.api.grpc.common {
|
|
847
|
+
|
|
848
|
+
export interface GrpcStreamId {
|
|
849
|
+
target?: string;
|
|
850
|
+
type?: com.moxi.api.grpc.common.GrpcStreamType;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export namespace com.moxi.api.integrations {
|
|
856
|
+
|
|
857
|
+
export interface RemoveSettings extends com.moxi.api.account.AccountUpdate {
|
|
858
|
+
type?: com.moxi.api.integrations.common.IntegrationType;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
export namespace com.moxi.api.integrations {
|
|
864
|
+
|
|
865
|
+
export interface SetSettings extends com.moxi.api.account.AccountUpdate {
|
|
866
|
+
settings?: any;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export namespace com.moxi.api.integrations.common {
|
|
872
|
+
|
|
873
|
+
export interface CeliosSettings {
|
|
874
|
+
certificate?: string;
|
|
875
|
+
host?: string;
|
|
876
|
+
password?: string;
|
|
877
|
+
port?: string;
|
|
878
|
+
type: "celios";
|
|
879
|
+
user?: string;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
export namespace com.moxi.api.integrations.common {
|
|
885
|
+
|
|
886
|
+
export interface DispoliveSettings {
|
|
887
|
+
key?: string;
|
|
888
|
+
type: "dispolive";
|
|
889
|
+
url?: string;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
export namespace com.moxi.api.longpoll {
|
|
895
|
+
|
|
896
|
+
export interface DisconnectClient {
|
|
897
|
+
clientId?: string;
|
|
898
|
+
tokenId?: string;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
export namespace com.moxi.api.longpoll {
|
|
904
|
+
|
|
905
|
+
export interface ReadUpdates {
|
|
906
|
+
clientId?: string;
|
|
907
|
+
maxSize?: number;
|
|
908
|
+
maxTimeout?: number;
|
|
909
|
+
tokenId?: string;
|
|
910
|
+
updateTypes?: com.moxi.api.common.EntityType[];
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
export namespace com.moxi.api.longpoll {
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* Resets the lastIndex position of your token.
|
|
919
|
+
*/
|
|
920
|
+
export interface ResetPosition {
|
|
921
|
+
index?: number;
|
|
922
|
+
timestamp?: string;
|
|
923
|
+
tokenId?: string;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
export namespace com.moxi.api.longpoll {
|
|
929
|
+
|
|
930
|
+
export interface UpdatePosition {
|
|
931
|
+
clientSegment?: number[];
|
|
932
|
+
lastIndex?: number;
|
|
933
|
+
tokenId?: string;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
export namespace com.moxi.api.longpoll.common {
|
|
939
|
+
|
|
940
|
+
export interface ReadUpdatesResult {
|
|
941
|
+
clientSegment?: number[];
|
|
942
|
+
lastIndex?: number;
|
|
943
|
+
updates?: any[];
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export namespace com.moxi.api.longpoll.common.ReadUpdatesResult {
|
|
949
|
+
|
|
950
|
+
export interface Metric {
|
|
951
|
+
clientId?: string;
|
|
952
|
+
clientSegment?: number[];
|
|
953
|
+
maxSize?: number;
|
|
954
|
+
maxTimeout?: string;
|
|
955
|
+
tokenId?: string;
|
|
956
|
+
type?: string;
|
|
957
|
+
updates?: string[];
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
export namespace com.moxi.api.longpoll.common {
|
|
963
|
+
|
|
964
|
+
export interface RideSeriesUpdate {
|
|
965
|
+
after?: com.moxi.api.rideseries.common.RideSeries;
|
|
966
|
+
before?: com.moxi.api.rideseries.common.RideSeries;
|
|
967
|
+
entityId?: string;
|
|
968
|
+
eventType?: string;
|
|
969
|
+
index?: number;
|
|
970
|
+
timestamp?: string;
|
|
971
|
+
type: "rideseries";
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
export namespace com.moxi.api.longpoll.common {
|
|
977
|
+
|
|
978
|
+
export interface RideUpdate {
|
|
979
|
+
after?: com.moxi.api.ride.common.Ride;
|
|
980
|
+
before?: com.moxi.api.ride.common.Ride;
|
|
981
|
+
entityId?: string;
|
|
982
|
+
eventType?: string;
|
|
983
|
+
index?: number;
|
|
984
|
+
timestamp?: string;
|
|
985
|
+
type: "ride";
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
export namespace com.moxi.api.optimizer {
|
|
991
|
+
|
|
992
|
+
export interface CancelOptimization {
|
|
993
|
+
problemId?: string;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
export namespace com.moxi.api.optimizer {
|
|
999
|
+
|
|
1000
|
+
export interface CheckOptimizationSchedule {
|
|
1001
|
+
failures?: number;
|
|
1002
|
+
problemId?: string;
|
|
1003
|
+
target?: string;
|
|
1004
|
+
type?: com.moxi.api.grpc.common.GrpcStreamType;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
export namespace com.moxi.api.optimizer {
|
|
1010
|
+
|
|
1011
|
+
export interface GetOptimizationStatus {
|
|
1012
|
+
problemId?: string;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
export namespace com.moxi.api.optimizer {
|
|
1018
|
+
|
|
1019
|
+
export interface SubmitOptimizationRequest {
|
|
1020
|
+
optimizationRequest?: health.moxi.optimizer.common.api.OptimizationRequest;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
export namespace com.moxi.api.optimizer {
|
|
1026
|
+
|
|
1027
|
+
export interface TriggerCeliosOptimization {
|
|
1028
|
+
target?: string;
|
|
1029
|
+
type?: com.moxi.api.grpc.common.GrpcStreamType;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
export namespace com.moxi.api.permissions {
|
|
1035
|
+
|
|
1036
|
+
export interface AccountPermissionCommand extends com.moxi.api.user.UserUpdate {
|
|
1037
|
+
accountId?: string;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
export namespace com.moxi.api.permissions {
|
|
1043
|
+
|
|
1044
|
+
export interface GiveTeamPermission extends com.moxi.api.permissions.AccountPermissionCommand {
|
|
1045
|
+
teamPermission?: com.moxi.api.permissions.common.TeamPermission;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
export namespace com.moxi.api.permissions {
|
|
1051
|
+
|
|
1052
|
+
export interface RemoveTeamPermission extends com.moxi.api.permissions.AccountPermissionCommand {
|
|
1053
|
+
teamId?: string;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
export namespace com.moxi.api.permissions {
|
|
1059
|
+
|
|
1060
|
+
export interface RevokeAccountPermission extends com.moxi.api.permissions.AccountPermissionCommand {
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
export namespace com.moxi.api.permissions {
|
|
1066
|
+
|
|
1067
|
+
export interface RevokeSecondaryTokenPermission extends com.moxi.api.permissions.SecondaryTokenPermissionCommand {
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
export namespace com.moxi.api.permissions {
|
|
1073
|
+
|
|
1074
|
+
export interface SecondaryTokenPermissionCommand extends com.moxi.api.token.TokenUpdate {
|
|
1075
|
+
accountId?: string;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
export namespace com.moxi.api.permissions {
|
|
1081
|
+
|
|
1082
|
+
export interface SetSecondaryTokenPermission extends com.moxi.api.permissions.SecondaryTokenPermissionCommand {
|
|
1083
|
+
accountPermission?: com.moxi.api.permissions.common.AccountPermission;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
export namespace com.moxi.api.permissions {
|
|
1089
|
+
|
|
1090
|
+
export interface SetUserRole extends com.moxi.api.user.UserUpdate {
|
|
1091
|
+
role?: com.moxi.api.permissions.common.UserRole;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
export namespace com.moxi.api.permissions {
|
|
1097
|
+
|
|
1098
|
+
export interface UpdateAccountPermission extends com.moxi.api.permissions.AccountPermissionCommand {
|
|
1099
|
+
accountPermission?: com.moxi.api.permissions.common.AccountPermission;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
export namespace com.moxi.api.permissions.common {
|
|
1105
|
+
|
|
1106
|
+
export interface AccountOrTeamId {
|
|
1107
|
+
accountId?: string;
|
|
1108
|
+
teamId?: string;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
export namespace com.moxi.api.permissions.common {
|
|
1114
|
+
|
|
1115
|
+
export interface AccountOrTeamRef extends com.moxi.api.permissions.common.AccountOrTeamId {
|
|
1116
|
+
accountName?: string;
|
|
1117
|
+
teamName?: string;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
export namespace com.moxi.api.permissions.common {
|
|
1123
|
+
|
|
1124
|
+
export interface AccountPermission {
|
|
1125
|
+
accountId?: string;
|
|
1126
|
+
roles?: com.moxi.api.permissions.common.AccountRole[];
|
|
1127
|
+
teamPermissions?: com.moxi.api.permissions.common.TeamPermission[];
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
export namespace com.moxi.api.permissions.common {
|
|
1133
|
+
|
|
1134
|
+
export interface AccountPermissionFilter {
|
|
1135
|
+
roles?: com.moxi.api.permissions.common.AccountRole[];
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
export namespace com.moxi.api.permissions.common {
|
|
1141
|
+
|
|
1142
|
+
export interface ConfirmablePermission {
|
|
1143
|
+
active?: boolean;
|
|
1144
|
+
revoked?: boolean;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
export namespace com.moxi.api.permissions.common {
|
|
1150
|
+
|
|
1151
|
+
export interface Role<T> {
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
export namespace com.moxi.api.permissions.common {
|
|
1157
|
+
|
|
1158
|
+
export interface TeamPermission {
|
|
1159
|
+
roles?: com.moxi.api.permissions.common.TeamRole[];
|
|
1160
|
+
teamId?: string;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
export namespace com.moxi.api.permissions.common {
|
|
1166
|
+
|
|
1167
|
+
export interface TimedPermission {
|
|
1168
|
+
timeRange?: com.moxi.api.common.InstantRange;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
export namespace com.moxi.api.permissions.drive {
|
|
1174
|
+
|
|
1175
|
+
export interface ConfirmDrivePermission extends com.moxi.api.account.AccountUpdate {
|
|
1176
|
+
drivePermissionId?: string;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
export namespace com.moxi.api.permissions.drive {
|
|
1182
|
+
|
|
1183
|
+
export interface GiveDrivePermission extends com.moxi.api.account.AccountUpdate {
|
|
1184
|
+
drivePermissionId?: string;
|
|
1185
|
+
info?: com.moxi.api.permissions.drive.common.DrivePermissionInfo;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
export namespace com.moxi.api.permissions.drive {
|
|
1191
|
+
|
|
1192
|
+
export interface RequestDrivePermission extends com.moxi.api.account.AccountUpdate {
|
|
1193
|
+
drivePermissionId?: string;
|
|
1194
|
+
info?: com.moxi.api.permissions.drive.common.DrivePermissionInfo.DrivePermissionInfoRequest;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
export namespace com.moxi.api.permissions.drive {
|
|
1200
|
+
|
|
1201
|
+
export interface RevokeDrivePermission extends com.moxi.api.account.AccountUpdate {
|
|
1202
|
+
drivePermissionId?: string;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
export namespace com.moxi.api.permissions.drive.common {
|
|
1208
|
+
|
|
1209
|
+
export interface AmbulanceFilter extends com.moxi.api.permissions.drive.common.DrivePermissionFilter {
|
|
1210
|
+
heavyWeightAllowed?: boolean;
|
|
1211
|
+
type: "ambulance";
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
export namespace com.moxi.api.permissions.drive.common {
|
|
1217
|
+
|
|
1218
|
+
export interface DrivePermission {
|
|
1219
|
+
active?: boolean;
|
|
1220
|
+
confirmed?: boolean;
|
|
1221
|
+
drivePermissionId?: string;
|
|
1222
|
+
info?: com.moxi.api.permissions.drive.common.DrivePermissionInfo;
|
|
1223
|
+
revoked?: boolean;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
export namespace com.moxi.api.permissions.drive.common {
|
|
1229
|
+
|
|
1230
|
+
export interface DrivePermissionFilter {
|
|
1231
|
+
type: "ambulance" | "emergencyAmbulance" | "intensiveCareAmbulance" | "intensiveCareHelicopter" | "taxi";
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
export namespace com.moxi.api.permissions.drive.common {
|
|
1237
|
+
|
|
1238
|
+
export interface DrivePermissionInfo {
|
|
1239
|
+
filter?: com.moxi.api.permissions.drive.common.DrivePermissionFilterUnion;
|
|
1240
|
+
monopoly?: boolean;
|
|
1241
|
+
regions?: com.moxi.api.permissions.drive.common.Region[];
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
export namespace com.moxi.api.permissions.drive.common.DrivePermissionInfo {
|
|
1247
|
+
|
|
1248
|
+
export interface DrivePermissionInfoRequest {
|
|
1249
|
+
filter?: com.moxi.api.permissions.drive.common.DrivePermissionFilterUnion;
|
|
1250
|
+
regions?: com.moxi.api.permissions.drive.common.Region[];
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
export namespace com.moxi.api.permissions.drive.common {
|
|
1256
|
+
|
|
1257
|
+
export interface EmergencyAmbulanceFilter extends com.moxi.api.permissions.drive.common.DrivePermissionFilter {
|
|
1258
|
+
type: "emergencyAmbulance";
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
export namespace com.moxi.api.permissions.drive.common {
|
|
1264
|
+
|
|
1265
|
+
export interface IntensiveCareAmbulanceFilter extends com.moxi.api.permissions.drive.common.DrivePermissionFilter {
|
|
1266
|
+
type: "intensiveCareAmbulance";
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
export namespace com.moxi.api.permissions.drive.common {
|
|
1272
|
+
|
|
1273
|
+
export interface IntensiveCareHelicopterFilter extends com.moxi.api.permissions.drive.common.DrivePermissionFilter {
|
|
1274
|
+
type: "intensiveCareHelicopter";
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
export namespace com.moxi.api.permissions.drive.common {
|
|
1280
|
+
|
|
1281
|
+
export interface Region {
|
|
1282
|
+
nutsCode?: string;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
export namespace com.moxi.api.permissions.drive.common {
|
|
1288
|
+
|
|
1289
|
+
export interface TaxiFilter extends com.moxi.api.permissions.drive.common.DrivePermissionFilter {
|
|
1290
|
+
allowedMobilities?: com.moxi.api.ride.common.Mobility[];
|
|
1291
|
+
type: "taxi";
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
export namespace com.moxi.api.permissions.subscription {
|
|
1297
|
+
|
|
1298
|
+
export interface ConfirmSubscription extends com.moxi.api.account.AccountUpdate {
|
|
1299
|
+
subscriptionId?: string;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
export namespace com.moxi.api.permissions.subscription {
|
|
1305
|
+
|
|
1306
|
+
export interface GiveSubscription extends com.moxi.api.account.AccountUpdate {
|
|
1307
|
+
info?: com.moxi.api.permissions.subscription.common.SubscriptionInfo;
|
|
1308
|
+
subscriptionId?: string;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
export namespace com.moxi.api.permissions.subscription {
|
|
1314
|
+
|
|
1315
|
+
export interface RequestSubscription extends com.moxi.api.account.AccountUpdate {
|
|
1316
|
+
info?: com.moxi.api.permissions.subscription.common.SubscriptionInfo;
|
|
1317
|
+
subscriptionId?: string;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
export namespace com.moxi.api.permissions.subscription {
|
|
1323
|
+
|
|
1324
|
+
export interface RevokeSubscription extends com.moxi.api.account.AccountUpdate {
|
|
1325
|
+
subscriptionId?: string;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
export namespace com.moxi.api.permissions.subscription.common {
|
|
1331
|
+
|
|
1332
|
+
export interface Subscription extends com.moxi.api.permissions.common.ConfirmablePermission {
|
|
1333
|
+
confirmed?: boolean;
|
|
1334
|
+
info?: com.moxi.api.permissions.subscription.common.SubscriptionInfo;
|
|
1335
|
+
subscriptionId?: string;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
export namespace com.moxi.api.permissions.subscription.common {
|
|
1341
|
+
|
|
1342
|
+
export interface SubscriptionInfo extends com.moxi.api.permissions.common.TimedPermission {
|
|
1343
|
+
service?: com.moxi.api.permissions.subscription.common.Service;
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
export namespace com.moxi.api.refdata {
|
|
1349
|
+
|
|
1350
|
+
export interface FetchGoogleGeoLocation {
|
|
1351
|
+
city?: string;
|
|
1352
|
+
number?: string;
|
|
1353
|
+
street?: string;
|
|
1354
|
+
zipCode?: string;
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
export namespace com.moxi.api.refdata {
|
|
1360
|
+
|
|
1361
|
+
export interface FetchGoogleRoute {
|
|
1362
|
+
departureTime?: string;
|
|
1363
|
+
from?: com.moxi.api.common.GeoLocation;
|
|
1364
|
+
to?: com.moxi.api.common.GeoLocation;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
export namespace com.moxi.api.refdata.FetchGoogleRoute {
|
|
1370
|
+
|
|
1371
|
+
export interface FetchRouteResult {
|
|
1372
|
+
distanceInMeters?: number;
|
|
1373
|
+
duration?: number;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
export namespace com.moxi.api.refdata {
|
|
1379
|
+
|
|
1380
|
+
export interface GetGoogleMapsUiKey {
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
export namespace com.moxi.api.refdata {
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Open-source insurance data, German-only for now, March 2024. Source: https://ec.europa.eu/social/social-security-directory/pai/search-institution/language/en/country/de/translation/de
|
|
1389
|
+
*/
|
|
1390
|
+
export interface GetInsurers {
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
export namespace com.moxi.api.refdata {
|
|
1396
|
+
|
|
1397
|
+
export interface GetIsoStates {
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
export namespace com.moxi.api.refdata {
|
|
1403
|
+
|
|
1404
|
+
export interface GetNutsStates {
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
export namespace com.moxi.api.refdata.common {
|
|
1410
|
+
|
|
1411
|
+
export interface AddressInfo {
|
|
1412
|
+
addition?: string;
|
|
1413
|
+
city?: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* The NUTS country code, derived from districtNutsCode
|
|
1416
|
+
*/
|
|
1417
|
+
country?: string;
|
|
1418
|
+
districtNutsCode?: string;
|
|
1419
|
+
geoLocation?: com.moxi.api.common.GeoLocation;
|
|
1420
|
+
instructions?: string;
|
|
1421
|
+
number?: string;
|
|
1422
|
+
placeName?: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* The NUTS level 1 code, derived from districtNutsCode
|
|
1425
|
+
*/
|
|
1426
|
+
state?: string;
|
|
1427
|
+
street?: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* The NUTS level 2 code, derived from districtNutsCode
|
|
1430
|
+
*/
|
|
1431
|
+
subState?: string;
|
|
1432
|
+
zipCode?: string;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
export namespace com.moxi.api.refdata.common {
|
|
1438
|
+
|
|
1439
|
+
export interface EuropeanHealthInsurance {
|
|
1440
|
+
acronym?: string;
|
|
1441
|
+
email?: string;
|
|
1442
|
+
english?: string;
|
|
1443
|
+
fax?: string;
|
|
1444
|
+
hasEhic?: boolean;
|
|
1445
|
+
ikNumber?: string;
|
|
1446
|
+
name?: string;
|
|
1447
|
+
phone?: string;
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
export namespace com.moxi.api.refdata.common {
|
|
1453
|
+
|
|
1454
|
+
export interface Insurer {
|
|
1455
|
+
ikNumber?: string;
|
|
1456
|
+
name?: string;
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
export namespace com.moxi.api.refdata.common {
|
|
1462
|
+
|
|
1463
|
+
export interface IsoState {
|
|
1464
|
+
germanName?: string;
|
|
1465
|
+
isoCode?: string;
|
|
1466
|
+
name?: string;
|
|
1467
|
+
nutsCode?: string;
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
export namespace com.moxi.api.refdata.common {
|
|
1473
|
+
|
|
1474
|
+
export interface NutsState {
|
|
1475
|
+
code?: string;
|
|
1476
|
+
name?: string;
|
|
1477
|
+
substates?: com.moxi.api.refdata.common.NutsState.NutsSubState[];
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
export namespace com.moxi.api.refdata.common.NutsState {
|
|
1483
|
+
|
|
1484
|
+
export interface NutsDistrict {
|
|
1485
|
+
code?: string;
|
|
1486
|
+
name?: string;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
export namespace com.moxi.api.refdata.common.NutsState {
|
|
1492
|
+
|
|
1493
|
+
export interface NutsSubState {
|
|
1494
|
+
code?: string;
|
|
1495
|
+
districts?: com.moxi.api.refdata.common.NutsState.NutsDistrict[];
|
|
1496
|
+
name?: string;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
export namespace com.moxi.api.ride {
|
|
1502
|
+
|
|
1503
|
+
export interface AbstractFindMyRides {
|
|
1504
|
+
accountId?: string;
|
|
1505
|
+
descending?: boolean;
|
|
1506
|
+
filter?: com.moxi.api.ride.common.RideFilter;
|
|
1507
|
+
maxSize?: number;
|
|
1508
|
+
term?: string;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
export namespace com.moxi.api.ride {
|
|
1514
|
+
|
|
1515
|
+
export interface AbstractFindRides {
|
|
1516
|
+
descending?: boolean;
|
|
1517
|
+
filter?: com.moxi.api.ride.common.RideFilter;
|
|
1518
|
+
maxSize?: number;
|
|
1519
|
+
term?: string;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
export namespace com.moxi.api.ride {
|
|
1525
|
+
|
|
1526
|
+
export interface AbstractFindRidesForDriver {
|
|
1527
|
+
accountId?: string;
|
|
1528
|
+
descending?: boolean;
|
|
1529
|
+
filter?: com.moxi.api.ride.common.RideFilter;
|
|
1530
|
+
maxSize?: number;
|
|
1531
|
+
term?: string;
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
export namespace com.moxi.api.ride {
|
|
1537
|
+
|
|
1538
|
+
export interface AbstractFindRidesInMarketplace {
|
|
1539
|
+
accountId?: string;
|
|
1540
|
+
descending?: boolean;
|
|
1541
|
+
filter?: com.moxi.api.ride.common.RideFilter;
|
|
1542
|
+
/**
|
|
1543
|
+
* @deprecated
|
|
1544
|
+
*/
|
|
1545
|
+
maxSize?: number;
|
|
1546
|
+
term?: string;
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
export namespace com.moxi.api.ride {
|
|
1552
|
+
|
|
1553
|
+
export interface AcceptRide extends com.moxi.api.ride.RideDriverCommand {
|
|
1554
|
+
driver?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
export namespace com.moxi.api.ride {
|
|
1560
|
+
|
|
1561
|
+
export interface AssignDriver extends com.moxi.api.ride.RideOperatorCommand {
|
|
1562
|
+
driver?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
export namespace com.moxi.api.ride {
|
|
1568
|
+
|
|
1569
|
+
export interface BookRide extends com.moxi.api.ride.CreateRideCommand {
|
|
1570
|
+
info?: com.moxi.api.ride.common.RideInfoUnion;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
export namespace com.moxi.api.ride {
|
|
1576
|
+
|
|
1577
|
+
export interface CancelRide extends com.moxi.api.ride.RideCommand {
|
|
1578
|
+
reason?: string;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
export namespace com.moxi.api.ride {
|
|
1584
|
+
|
|
1585
|
+
export interface CreateRideCommand extends com.moxi.api.ride.RideBookerCommand {
|
|
1586
|
+
booker?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
export namespace com.moxi.api.ride {
|
|
1592
|
+
|
|
1593
|
+
export interface FindDuplicateRides {
|
|
1594
|
+
accountId?: string;
|
|
1595
|
+
appointmentTime?: string;
|
|
1596
|
+
patientBirthDay?: string;
|
|
1597
|
+
patientFirstName?: string;
|
|
1598
|
+
patientLastName?: string;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
export namespace com.moxi.api.ride {
|
|
1604
|
+
|
|
1605
|
+
export interface FindMyRides extends com.moxi.api.ride.AbstractFindMyRides {
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
export namespace com.moxi.api.ride {
|
|
1611
|
+
|
|
1612
|
+
export interface FindRides extends com.moxi.api.ride.AbstractFindRides {
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
export namespace com.moxi.api.ride {
|
|
1618
|
+
|
|
1619
|
+
export interface FindRidesForDriver extends com.moxi.api.ride.AbstractFindRidesForDriver {
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
export namespace com.moxi.api.ride {
|
|
1625
|
+
|
|
1626
|
+
export interface FindRidesInMarketplace extends com.moxi.api.ride.AbstractFindRidesInMarketplace {
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
export namespace com.moxi.api.ride {
|
|
1632
|
+
|
|
1633
|
+
export interface GetMyRides {
|
|
1634
|
+
accountId?: string;
|
|
1635
|
+
maxSize?: number;
|
|
1636
|
+
timeRange?: com.moxi.api.common.InstantRange;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
export namespace com.moxi.api.ride {
|
|
1642
|
+
|
|
1643
|
+
export interface GetRide {
|
|
1644
|
+
rideId?: string;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
export namespace com.moxi.api.ride {
|
|
1650
|
+
|
|
1651
|
+
export interface GetRideLog {
|
|
1652
|
+
rideId?: string;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
export namespace com.moxi.api.ride {
|
|
1658
|
+
|
|
1659
|
+
export interface GetRidesForDriver {
|
|
1660
|
+
accountId?: string;
|
|
1661
|
+
maxSize?: number;
|
|
1662
|
+
timeRange?: com.moxi.api.common.InstantRange;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
export namespace com.moxi.api.ride {
|
|
1668
|
+
|
|
1669
|
+
export interface GetRidesInMarketplace {
|
|
1670
|
+
accountId?: string;
|
|
1671
|
+
maxSize?: number;
|
|
1672
|
+
timeRange?: com.moxi.api.common.InstantRange;
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
export namespace com.moxi.api.ride {
|
|
1678
|
+
|
|
1679
|
+
export interface PlanRide extends com.moxi.api.ride.RideDriverModifyCommand {
|
|
1680
|
+
plannedStartTime?: string;
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
export namespace com.moxi.api.ride {
|
|
1686
|
+
|
|
1687
|
+
export interface RegisterDriveStatus extends com.moxi.api.ride.RideDriverModifyCommand {
|
|
1688
|
+
driveStatus?: com.moxi.api.ride.common.DriveStatus;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
export namespace com.moxi.api.ride {
|
|
1694
|
+
|
|
1695
|
+
export interface RegisterDriverSynced extends com.moxi.api.ride.RideDriverModifyCommand {
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
export namespace com.moxi.api.ride {
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* Can only report delays when ride has started and has not arrived at destination.
|
|
1704
|
+
*/
|
|
1705
|
+
export interface ReportRideDelay extends com.moxi.api.ride.RideDriverModifyCommand {
|
|
1706
|
+
minutes?: number;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
export namespace com.moxi.api.ride {
|
|
1712
|
+
|
|
1713
|
+
export interface ReturnRide extends com.moxi.api.ride.RideDriverModifyCommand {
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
export namespace com.moxi.api.ride {
|
|
1719
|
+
|
|
1720
|
+
export interface ReviewRideAsBooker extends com.moxi.api.ride.RideBookerCommand {
|
|
1721
|
+
review?: com.moxi.api.ride.common.Review;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
export namespace com.moxi.api.ride {
|
|
1727
|
+
|
|
1728
|
+
export interface ReviewRideAsDriver extends com.moxi.api.ride.RideDriverModifyCommand {
|
|
1729
|
+
review?: com.moxi.api.ride.common.Review;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
export namespace com.moxi.api.ride {
|
|
1735
|
+
|
|
1736
|
+
export interface RideBookerCommand extends com.moxi.api.ride.RideCommand {
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
export namespace com.moxi.api.ride {
|
|
1742
|
+
|
|
1743
|
+
export interface RideCommand {
|
|
1744
|
+
rideId?: string;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
export namespace com.moxi.api.ride {
|
|
1750
|
+
|
|
1751
|
+
export interface RideDriverCommand extends com.moxi.api.ride.RideCommand {
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
export namespace com.moxi.api.ride {
|
|
1757
|
+
|
|
1758
|
+
export interface RideDriverModifyCommand extends com.moxi.api.ride.RideDriverCommand {
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
export namespace com.moxi.api.ride {
|
|
1764
|
+
|
|
1765
|
+
export interface RideOperatorCommand extends com.moxi.api.ride.RideCommand {
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
export namespace com.moxi.api.ride {
|
|
1771
|
+
|
|
1772
|
+
export interface RideSystemCommand extends com.moxi.api.ride.RideCommand {
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
export namespace com.moxi.api.ride {
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* Save a new ride or update a previously saved ride. Not allowed to saveRide after the ride has been booked.
|
|
1781
|
+
*/
|
|
1782
|
+
export interface SaveRide extends com.moxi.api.ride.CreateRideCommand {
|
|
1783
|
+
info?: com.moxi.api.ride.common.RideInfoUnion;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
export namespace com.moxi.api.ride {
|
|
1789
|
+
|
|
1790
|
+
export interface UpdateRide extends com.moxi.api.ride.RideBookerCommand {
|
|
1791
|
+
booker?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
1792
|
+
info?: com.moxi.api.ride.common.RideInfoUnion;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
export namespace com.moxi.api.ride {
|
|
1798
|
+
|
|
1799
|
+
export interface UpdateRidePlan extends com.moxi.api.ride.RideDriverModifyCommand {
|
|
1800
|
+
plannedStartTime?: string;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
export namespace com.moxi.api.ride.common {
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* Mandatory if the vehicleType is ambulance, forbidden if taxi
|
|
1809
|
+
*/
|
|
1810
|
+
export interface AmbulanceInfo {
|
|
1811
|
+
/**
|
|
1812
|
+
* True if infectionDescription is given
|
|
1813
|
+
*/
|
|
1814
|
+
hasInfection?: boolean;
|
|
1815
|
+
infectionDescription?: string;
|
|
1816
|
+
monitoringDescription?: string;
|
|
1817
|
+
oxygenLiterPerHour?: number;
|
|
1818
|
+
/**
|
|
1819
|
+
* True if monitoringDescription is given
|
|
1820
|
+
*/
|
|
1821
|
+
requiresMonitoring?: boolean;
|
|
1822
|
+
/**
|
|
1823
|
+
* True if oxygenLiterPerHour is given
|
|
1824
|
+
*/
|
|
1825
|
+
requiresOxygen?: boolean;
|
|
1826
|
+
requiresSuctionAspirator?: boolean;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
export namespace com.moxi.api.ride.common {
|
|
1832
|
+
|
|
1833
|
+
export interface Appointment {
|
|
1834
|
+
pickup?: boolean;
|
|
1835
|
+
time?: string;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
export namespace com.moxi.api.ride.common {
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* You can send in custom values. For every value you don't send in, we lookup the default setting you set up in your account.
|
|
1844
|
+
*/
|
|
1845
|
+
export interface CleaningAndSlack {
|
|
1846
|
+
cleaningAtGarage?: boolean;
|
|
1847
|
+
cleaningDuration?: number;
|
|
1848
|
+
dropoffDuration?: number;
|
|
1849
|
+
pickupDuration?: number;
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
export namespace com.moxi.api.ride.common {
|
|
1855
|
+
|
|
1856
|
+
export interface FindRidesResult {
|
|
1857
|
+
count?: com.moxi.api.ride.common.RideFilterCount;
|
|
1858
|
+
rides?: com.moxi.api.ride.common.Ride[];
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
export namespace com.moxi.api.ride.common {
|
|
1864
|
+
|
|
1865
|
+
export interface Person {
|
|
1866
|
+
address?: com.moxi.api.refdata.common.AddressInfo;
|
|
1867
|
+
birthDay?: string;
|
|
1868
|
+
email?: string;
|
|
1869
|
+
firstName?: string;
|
|
1870
|
+
insuranceNumber?: string;
|
|
1871
|
+
insuranceType?: com.moxi.api.refdata.common.InsuranceType;
|
|
1872
|
+
insurer?: com.moxi.api.refdata.common.Insurer;
|
|
1873
|
+
lastName?: string;
|
|
1874
|
+
phoneNumber?: com.moxi.api.common.PhoneNumber;
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
export namespace com.moxi.api.ride.common {
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* Mandatory if weight exceeds 130 kg, otherwise forbidden
|
|
1883
|
+
*/
|
|
1884
|
+
export interface PersonDimensions {
|
|
1885
|
+
heightInCm?: number;
|
|
1886
|
+
hipWidthInCm?: number;
|
|
1887
|
+
shoulderWidthInCm?: number;
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
export namespace com.moxi.api.ride.common {
|
|
1893
|
+
|
|
1894
|
+
/**
|
|
1895
|
+
* Ride information specific for regular taxi or ambulance rides.
|
|
1896
|
+
*/
|
|
1897
|
+
export interface RegularRideInfo extends com.moxi.api.ride.common.RideInfo {
|
|
1898
|
+
vehicleType: "taxi";
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
export namespace com.moxi.api.ride.common {
|
|
1904
|
+
|
|
1905
|
+
export interface Review {
|
|
1906
|
+
comment?: string;
|
|
1907
|
+
stars?: number;
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
export namespace com.moxi.api.ride.common {
|
|
1913
|
+
|
|
1914
|
+
export interface Ride extends com.moxi.api.rideseries.combined.common.RideOrSeries, com.moxi.api.rideseries.combined.common.RideOrMinimizedSeries {
|
|
1915
|
+
/**
|
|
1916
|
+
* 'accepted' is true if a driver has accepted the ride.
|
|
1917
|
+
*/
|
|
1918
|
+
accepted?: boolean;
|
|
1919
|
+
acceptedTime?: string;
|
|
1920
|
+
actualEndTime?: string;
|
|
1921
|
+
actualStartTime?: string;
|
|
1922
|
+
/**
|
|
1923
|
+
* 'arrived' is true if the driver has reported driveStatus is 'arrived_at_origin'.
|
|
1924
|
+
*/
|
|
1925
|
+
arrived?: boolean;
|
|
1926
|
+
/**
|
|
1927
|
+
* 'booked' is false if the ride has only been saved.
|
|
1928
|
+
*/
|
|
1929
|
+
booked?: boolean;
|
|
1930
|
+
booker?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
1931
|
+
bookerReview?: com.moxi.api.ride.common.Review;
|
|
1932
|
+
cancelReason?: string;
|
|
1933
|
+
cancelled?: boolean;
|
|
1934
|
+
/**
|
|
1935
|
+
* 'completed' is true if the driver has reported driveStatus is 'completed'.
|
|
1936
|
+
*/
|
|
1937
|
+
completed?: boolean;
|
|
1938
|
+
/**
|
|
1939
|
+
* The booker determines the desiredEndTime via 'info.appointment' and 'info.plannedDuration'. It means the desired time of arrival at the 'to' or 'drop-off' location.
|
|
1940
|
+
*/
|
|
1941
|
+
desiredEndTime?: string;
|
|
1942
|
+
/**
|
|
1943
|
+
* The booker determines the desiredStartTime via 'info.appointment' and 'info.plannedDuration'. It means the desired time of arrival at the 'from' or 'pick-up' location.
|
|
1944
|
+
*/
|
|
1945
|
+
desiredStartTime?: string;
|
|
1946
|
+
driveStatus?: com.moxi.api.ride.common.DriveStatus;
|
|
1947
|
+
driverReview?: com.moxi.api.ride.common.Review;
|
|
1948
|
+
driverSyncStatus?: com.moxi.api.ride.common.SyncStatus;
|
|
1949
|
+
endTimeDelay?: number;
|
|
1950
|
+
/**
|
|
1951
|
+
* The driver determines the expectedEndTime when indicating delays. It means the expected time of arrival at the 'to' or 'drop-off' location.
|
|
1952
|
+
*/
|
|
1953
|
+
expectedEndTime?: string;
|
|
1954
|
+
/**
|
|
1955
|
+
* The driver determines the expectedEndTime when indicating delays. It means the expected time of arrival at the 'from' or 'pick-up' location.
|
|
1956
|
+
*/
|
|
1957
|
+
expectedStartTime?: string;
|
|
1958
|
+
info?: com.moxi.api.ride.common.RideInfoUnion;
|
|
1959
|
+
/**
|
|
1960
|
+
* 'planned' is true if the driver has reported a planned time for the ride.
|
|
1961
|
+
*/
|
|
1962
|
+
planned?: boolean;
|
|
1963
|
+
/**
|
|
1964
|
+
* The driver determines the plannedEndTime. It means the planned time of arrival at the 'to' or 'drop-off' location.
|
|
1965
|
+
*/
|
|
1966
|
+
plannedEndTime?: string;
|
|
1967
|
+
plannedStartTime?: string;
|
|
1968
|
+
rideId?: string;
|
|
1969
|
+
seriesInfo?: com.moxi.api.ride.common.SeriesInfo;
|
|
1970
|
+
startTimeDelay?: number;
|
|
1971
|
+
/**
|
|
1972
|
+
* 'started' is true if the driver has reported a driveStatus.
|
|
1973
|
+
*/
|
|
1974
|
+
started?: boolean;
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
export namespace com.moxi.api.ride.common {
|
|
1980
|
+
|
|
1981
|
+
export interface RideDuration {
|
|
1982
|
+
driving?: number;
|
|
1983
|
+
/**
|
|
1984
|
+
* Seconds of slack for dropping off the patient, currently hardcoded to 15 minutes
|
|
1985
|
+
*/
|
|
1986
|
+
droppingOff?: number;
|
|
1987
|
+
/**
|
|
1988
|
+
* Seconds of slack for picking up the patient, currently hardcoded to 15 minutes
|
|
1989
|
+
*/
|
|
1990
|
+
pickingUp?: number;
|
|
1991
|
+
/**
|
|
1992
|
+
* Seconds of driving time plus the pick-up and drop-off slack times
|
|
1993
|
+
*/
|
|
1994
|
+
total?: number;
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
export namespace com.moxi.api.ride.common {
|
|
2000
|
+
|
|
2001
|
+
export interface RideFilter {
|
|
2002
|
+
bookingStatuses?: com.moxi.api.ride.common.BookingStatus[];
|
|
2003
|
+
driveStatuses?: com.moxi.api.ride.common.DriveStatus[];
|
|
2004
|
+
driverAccountNames?: string[];
|
|
2005
|
+
driverTeamNames?: string[];
|
|
2006
|
+
entityType?: com.moxi.api.common.EntityType;
|
|
2007
|
+
hasInfection?: boolean;
|
|
2008
|
+
heavyWeight?: boolean;
|
|
2009
|
+
mobilities?: com.moxi.api.ride.common.Mobility[];
|
|
2010
|
+
purposes?: com.moxi.api.ride.common.RidePurpose[];
|
|
2011
|
+
region?: com.moxi.api.permissions.drive.common.Region;
|
|
2012
|
+
requiresMonitoring?: boolean;
|
|
2013
|
+
requiresOxygen?: boolean;
|
|
2014
|
+
requiresSuctionAspirator?: boolean;
|
|
2015
|
+
riderAccountNames?: string[];
|
|
2016
|
+
riderTeamNames?: string[];
|
|
2017
|
+
timeRange?: com.moxi.api.common.InstantRange;
|
|
2018
|
+
unfoldRideSeries?: boolean;
|
|
2019
|
+
vehicleType?: com.moxi.api.ride.common.VehicleType;
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
export namespace com.moxi.api.ride.common {
|
|
2025
|
+
|
|
2026
|
+
export interface RideFilterCount {
|
|
2027
|
+
bookingStatuses?: { [P in com.moxi.api.ride.common.BookingStatus]?: number };
|
|
2028
|
+
driveStatuses?: { [P in com.moxi.api.ride.common.DriveStatus]?: number };
|
|
2029
|
+
driverAccountNames?: { [index: string]: number };
|
|
2030
|
+
driverTeamNames?: { [index: string]: number };
|
|
2031
|
+
hasInfection?: number;
|
|
2032
|
+
heavyWeight?: number;
|
|
2033
|
+
mobilities?: { [P in com.moxi.api.ride.common.Mobility]?: number };
|
|
2034
|
+
purposes?: { [P in com.moxi.api.ride.common.RidePurpose]?: number };
|
|
2035
|
+
requiresMonitoring?: number;
|
|
2036
|
+
requiresOxygen?: number;
|
|
2037
|
+
requiresSuctionAspirator?: number;
|
|
2038
|
+
riderAccountNames?: { [index: string]: number };
|
|
2039
|
+
riderTeamNames?: { [index: string]: number };
|
|
2040
|
+
total?: number;
|
|
2041
|
+
vehicleTypes?: { [P in com.moxi.api.ride.common.VehicleType]?: number };
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
export namespace com.moxi.api.ride.common {
|
|
2047
|
+
|
|
2048
|
+
export interface RideIdResult {
|
|
2049
|
+
rideId?: string;
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2054
|
+
export namespace com.moxi.api.ride.common {
|
|
2055
|
+
|
|
2056
|
+
export interface RideInfo extends com.moxi.api.rideseries.common.GenericRideInfo<com.moxi.api.ride.common.RideInfoUnion> {
|
|
2057
|
+
appointment?: com.moxi.api.ride.common.Appointment;
|
|
2058
|
+
/**
|
|
2059
|
+
* Returns custom billing code if provided, otherwise auto-generates from ride details
|
|
2060
|
+
*/
|
|
2061
|
+
billingCode?: com.moxi.api.billing.common.BillingCode;
|
|
2062
|
+
customBillingCode?: com.moxi.api.billing.common.BillingCode;
|
|
2063
|
+
purpose?: com.moxi.api.ride.common.RidePurpose;
|
|
2064
|
+
vehicleType: "taxi" | "intensiveCareAmbulance";
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
export namespace com.moxi.api.ride.common {
|
|
2070
|
+
|
|
2071
|
+
export interface RideLog {
|
|
2072
|
+
actingFor?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
2073
|
+
allowedViewers?: com.moxi.api.permissions.common.AccountOrTeamRef[];
|
|
2074
|
+
eventDescription?: string;
|
|
2075
|
+
eventId?: string;
|
|
2076
|
+
eventName?: string;
|
|
2077
|
+
eventValue?: any;
|
|
2078
|
+
impersonating?: boolean;
|
|
2079
|
+
isImpersonating?: boolean;
|
|
2080
|
+
isSuperAdmin?: boolean;
|
|
2081
|
+
isToken?: boolean;
|
|
2082
|
+
superAdmin?: boolean;
|
|
2083
|
+
timestamp?: string;
|
|
2084
|
+
token?: boolean;
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
export namespace com.moxi.api.ride.common {
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
* If the ride is part of a series, seriesInfo will contain context about the position of the ride within the series.
|
|
2093
|
+
*/
|
|
2094
|
+
export interface SeriesInfo {
|
|
2095
|
+
desyncedFromSeries?: boolean;
|
|
2096
|
+
positionInSeries?: number;
|
|
2097
|
+
returnTrip?: boolean;
|
|
2098
|
+
rideSeriesId?: string;
|
|
2099
|
+
totalRidesInSeries?: number;
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
}
|
|
2103
|
+
|
|
2104
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2105
|
+
|
|
2106
|
+
export interface Breathing {
|
|
2107
|
+
breathingDelivery?: com.moxi.api.ride.intensivecare.BreathingDeliveryUnion;
|
|
2108
|
+
spontaneous?: boolean;
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2114
|
+
|
|
2115
|
+
export interface BreathingDelivery {
|
|
2116
|
+
oxygenLiterPerMin?: number;
|
|
2117
|
+
type: "intubated" | "mask" | "tracheotomized";
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2123
|
+
|
|
2124
|
+
export interface Circulation {
|
|
2125
|
+
catecholamines?: string[];
|
|
2126
|
+
type?: com.moxi.api.ride.intensivecare.CirculationType;
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2132
|
+
|
|
2133
|
+
export interface Consciousness {
|
|
2134
|
+
gcs?: number;
|
|
2135
|
+
type?: com.moxi.api.ride.intensivecare.ConsciousnessType;
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2141
|
+
|
|
2142
|
+
export interface Equipment {
|
|
2143
|
+
cprDevice?: boolean;
|
|
2144
|
+
ecmo?: boolean;
|
|
2145
|
+
/**
|
|
2146
|
+
* Derived from infusionTherapy != blank
|
|
2147
|
+
*/
|
|
2148
|
+
hasInfusionTherapy?: boolean;
|
|
2149
|
+
/**
|
|
2150
|
+
* Derived from perfusorDescription != blank
|
|
2151
|
+
*/
|
|
2152
|
+
hasPerfusor?: boolean;
|
|
2153
|
+
/**
|
|
2154
|
+
* Derived from secondPerfusorDescription != blank
|
|
2155
|
+
*/
|
|
2156
|
+
hasSecondPerfusor?: boolean;
|
|
2157
|
+
/**
|
|
2158
|
+
* Derived from thoraxDrainageLeft != null or thoraxDrainageRight != null
|
|
2159
|
+
*/
|
|
2160
|
+
hasThoraxDrainage?: boolean;
|
|
2161
|
+
iabp?: boolean;
|
|
2162
|
+
infusionTherapy?: string;
|
|
2163
|
+
pacemaker?: boolean;
|
|
2164
|
+
perfusorDescription?: string;
|
|
2165
|
+
powerSupply?: boolean;
|
|
2166
|
+
secondPerfusorDescription?: string;
|
|
2167
|
+
thoraxDrainageLeft?: number;
|
|
2168
|
+
thoraxDrainageRight?: number;
|
|
2169
|
+
vacuumMattress?: boolean;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2175
|
+
|
|
2176
|
+
export interface Infection {
|
|
2177
|
+
esbl?: boolean;
|
|
2178
|
+
furtherActions?: string;
|
|
2179
|
+
/**
|
|
2180
|
+
* Derived from furtherActions != blank
|
|
2181
|
+
*/
|
|
2182
|
+
hasFurtherActions?: boolean;
|
|
2183
|
+
/**
|
|
2184
|
+
* Derived from infectionDescription != blank
|
|
2185
|
+
*/
|
|
2186
|
+
hasInfection?: boolean;
|
|
2187
|
+
/**
|
|
2188
|
+
* Derived from otherGerms != blank
|
|
2189
|
+
*/
|
|
2190
|
+
hasOtherGerms?: boolean;
|
|
2191
|
+
infectionDescription?: string;
|
|
2192
|
+
isolationNecessary?: boolean;
|
|
2193
|
+
mrgn?: boolean;
|
|
2194
|
+
mrsa?: boolean;
|
|
2195
|
+
otherGerms?: string;
|
|
2196
|
+
reverseIsolation?: boolean;
|
|
2197
|
+
vre_cre?: boolean;
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
}
|
|
2201
|
+
|
|
2202
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2203
|
+
|
|
2204
|
+
export interface IntensiveCareInfo {
|
|
2205
|
+
ageCategory?: com.moxi.api.ride.intensivecare.AgeCategory;
|
|
2206
|
+
babyPod?: boolean;
|
|
2207
|
+
babyWeighs3to8kg?: boolean;
|
|
2208
|
+
breathing?: com.moxi.api.ride.intensivecare.Breathing;
|
|
2209
|
+
circulation?: com.moxi.api.ride.intensivecare.Circulation;
|
|
2210
|
+
consciousness?: com.moxi.api.ride.intensivecare.Consciousness;
|
|
2211
|
+
diagnosis?: string;
|
|
2212
|
+
equipment?: com.moxi.api.ride.intensivecare.Equipment;
|
|
2213
|
+
infection?: com.moxi.api.ride.intensivecare.Infection;
|
|
2214
|
+
monitoring?: com.moxi.api.ride.intensivecare.Monitoring;
|
|
2215
|
+
otherRemarks?: string;
|
|
2216
|
+
overweightCategory?: com.moxi.api.ride.intensivecare.OverweightCategory;
|
|
2217
|
+
ventilation?: com.moxi.api.ride.intensivecare.Ventilation;
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2223
|
+
|
|
2224
|
+
/**
|
|
2225
|
+
* Ride information specific for intensive care rides.
|
|
2226
|
+
*/
|
|
2227
|
+
export interface IntensiveCareRideInfo extends com.moxi.api.ride.common.RideInfo {
|
|
2228
|
+
costCenter?: string;
|
|
2229
|
+
/**
|
|
2230
|
+
* Derived from costCenter != blank
|
|
2231
|
+
*/
|
|
2232
|
+
hasInternalBilling?: boolean;
|
|
2233
|
+
intensiveCareInfo?: com.moxi.api.ride.intensivecare.IntensiveCareInfo;
|
|
2234
|
+
requestingDoctorName?: string;
|
|
2235
|
+
requestingDoctorPhoneNr?: com.moxi.api.common.PhoneNumber;
|
|
2236
|
+
requestingStationName?: string;
|
|
2237
|
+
requestingStationPhoneNr?: com.moxi.api.common.PhoneNumber;
|
|
2238
|
+
respondingDoctorName?: string;
|
|
2239
|
+
respondingDoctorPhoneNr?: com.moxi.api.common.PhoneNumber;
|
|
2240
|
+
respondingStationName?: string;
|
|
2241
|
+
respondingStationPhoneNr?: com.moxi.api.common.PhoneNumber;
|
|
2242
|
+
urgency?: com.moxi.api.ride.intensivecare.Urgency;
|
|
2243
|
+
vehicleType: "intensiveCareAmbulance";
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2249
|
+
|
|
2250
|
+
/**
|
|
2251
|
+
* Intubated means a tube in the nose or mouth
|
|
2252
|
+
*/
|
|
2253
|
+
export interface Intubated extends com.moxi.api.ride.intensivecare.BreathingDelivery {
|
|
2254
|
+
fixationInCm?: number;
|
|
2255
|
+
oralOrNasal?: com.moxi.api.ride.intensivecare.OralOrNasal;
|
|
2256
|
+
tubeDiameterInMm?: number;
|
|
2257
|
+
type: "intubated";
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2262
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2263
|
+
|
|
2264
|
+
export interface Mask extends com.moxi.api.ride.intensivecare.BreathingDelivery {
|
|
2265
|
+
highflowLiterPerMin?: number;
|
|
2266
|
+
niv?: com.moxi.api.ride.intensivecare.NIV;
|
|
2267
|
+
type: "mask";
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2273
|
+
|
|
2274
|
+
export interface Monitoring {
|
|
2275
|
+
ap?: boolean;
|
|
2276
|
+
arteryCatheterDescription?: string;
|
|
2277
|
+
capnometry?: boolean;
|
|
2278
|
+
cvlDescription?: string;
|
|
2279
|
+
cvp?: boolean;
|
|
2280
|
+
eeg?: boolean;
|
|
2281
|
+
/**
|
|
2282
|
+
* Derived from arteryCatheterDescription != blank
|
|
2283
|
+
*/
|
|
2284
|
+
hasArteryCatheter?: boolean;
|
|
2285
|
+
/**
|
|
2286
|
+
* Derived from cvlDescription != blank
|
|
2287
|
+
*/
|
|
2288
|
+
hasCvl?: boolean;
|
|
2289
|
+
/**
|
|
2290
|
+
* Derived from otherMonitoring != blank
|
|
2291
|
+
*/
|
|
2292
|
+
hasOtherMonitoring?: boolean;
|
|
2293
|
+
/**
|
|
2294
|
+
* Derived from numberOfVenusLines != null
|
|
2295
|
+
*/
|
|
2296
|
+
hasVenusLines?: boolean;
|
|
2297
|
+
icp?: boolean;
|
|
2298
|
+
numberOfVenusLines?: number;
|
|
2299
|
+
otherMonitoring?: string;
|
|
2300
|
+
pap?: boolean;
|
|
2301
|
+
standardMonitoring?: boolean;
|
|
2302
|
+
venusLinesDescription?: string;
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* NIV stands for Non Invasive Ventilation.
|
|
2311
|
+
*/
|
|
2312
|
+
export interface NIV {
|
|
2313
|
+
fiO2?: number;
|
|
2314
|
+
peep?: number;
|
|
2315
|
+
}
|
|
2316
|
+
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2320
|
+
|
|
2321
|
+
/**
|
|
2322
|
+
* Tracheotomized means a tube through the skin.
|
|
2323
|
+
*/
|
|
2324
|
+
export interface Tracheotomized extends com.moxi.api.ride.intensivecare.BreathingDelivery {
|
|
2325
|
+
fixationInCm?: number;
|
|
2326
|
+
tubeDiameterInMm?: number;
|
|
2327
|
+
type: "tracheotomized";
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2332
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
2333
|
+
|
|
2334
|
+
export interface Ventilation {
|
|
2335
|
+
asb?: number;
|
|
2336
|
+
bf?: number;
|
|
2337
|
+
expiration?: number;
|
|
2338
|
+
fiO2?: number;
|
|
2339
|
+
inspiration?: number;
|
|
2340
|
+
mv?: number;
|
|
2341
|
+
other?: string;
|
|
2342
|
+
peep?: number;
|
|
2343
|
+
pmax?: number;
|
|
2344
|
+
td?: number;
|
|
2345
|
+
type?: com.moxi.api.ride.intensivecare.VentilationType;
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
export namespace com.moxi.api.rideseries {
|
|
2351
|
+
|
|
2352
|
+
export interface AcceptRideSeries extends com.moxi.api.rideseries.SeriesDriverCommand {
|
|
2353
|
+
driver?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
export namespace com.moxi.api.rideseries {
|
|
2359
|
+
|
|
2360
|
+
export interface AssignRideSeriesDriver extends com.moxi.api.rideseries.SeriesOperatorCommand {
|
|
2361
|
+
driver?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
export namespace com.moxi.api.rideseries {
|
|
2367
|
+
|
|
2368
|
+
export interface BookRideSeries extends com.moxi.api.rideseries.CreateSeriesCommand {
|
|
2369
|
+
rideSummaries?: com.moxi.api.rideseries.common.RideSummary[];
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2374
|
+
export namespace com.moxi.api.rideseries {
|
|
2375
|
+
|
|
2376
|
+
export interface CancelRideSeries extends com.moxi.api.rideseries.SeriesCommandWithSeparateEvent {
|
|
2377
|
+
reason?: string;
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
export namespace com.moxi.api.rideseries {
|
|
2383
|
+
|
|
2384
|
+
export interface CancelRideSeriesEvent extends com.moxi.api.rideseries.SeriesBookerCommand {
|
|
2385
|
+
cancelRides?: string[];
|
|
2386
|
+
reason?: string;
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
export namespace com.moxi.api.rideseries {
|
|
2392
|
+
|
|
2393
|
+
export interface CreateSeriesCommand extends com.moxi.api.rideseries.SeriesBookerCommand {
|
|
2394
|
+
booker?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
2395
|
+
info?: com.moxi.api.rideseries.common.SeriesRideInfo;
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
export namespace com.moxi.api.rideseries {
|
|
2401
|
+
|
|
2402
|
+
export interface FindMySeries extends com.moxi.api.ride.AbstractFindMyRides {
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
export namespace com.moxi.api.rideseries {
|
|
2408
|
+
|
|
2409
|
+
export interface FindSeries extends com.moxi.api.ride.AbstractFindRides {
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
export namespace com.moxi.api.rideseries {
|
|
2415
|
+
|
|
2416
|
+
export interface FindSeriesForDriver extends com.moxi.api.ride.AbstractFindRidesForDriver {
|
|
2417
|
+
}
|
|
2418
|
+
|
|
2419
|
+
}
|
|
2420
|
+
|
|
2421
|
+
export namespace com.moxi.api.rideseries {
|
|
2422
|
+
|
|
2423
|
+
export interface FindSeriesInMarketplace extends com.moxi.api.ride.AbstractFindRidesInMarketplace {
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
export namespace com.moxi.api.rideseries {
|
|
2429
|
+
|
|
2430
|
+
export interface GetMySeries {
|
|
2431
|
+
accountId?: string;
|
|
2432
|
+
maxSize?: number;
|
|
2433
|
+
timeRange?: com.moxi.api.common.InstantRange;
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
export namespace com.moxi.api.rideseries {
|
|
2439
|
+
|
|
2440
|
+
export interface GetOneSeries {
|
|
2441
|
+
rideSeriesId?: string;
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
export namespace com.moxi.api.rideseries {
|
|
2447
|
+
|
|
2448
|
+
export interface GetRideOrSeries {
|
|
2449
|
+
id?: string;
|
|
2450
|
+
}
|
|
2451
|
+
|
|
2452
|
+
}
|
|
2453
|
+
|
|
2454
|
+
export namespace com.moxi.api.rideseries {
|
|
2455
|
+
|
|
2456
|
+
export interface GetRidesInSeries {
|
|
2457
|
+
rideSeriesId?: string;
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2462
|
+
export namespace com.moxi.api.rideseries {
|
|
2463
|
+
|
|
2464
|
+
export interface GetSeriesForDriver {
|
|
2465
|
+
accountId?: string;
|
|
2466
|
+
maxSize?: number;
|
|
2467
|
+
timeRange?: com.moxi.api.common.InstantRange;
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2472
|
+
export namespace com.moxi.api.rideseries {
|
|
2473
|
+
|
|
2474
|
+
export interface GetSeriesInMarketplace {
|
|
2475
|
+
accountId?: string;
|
|
2476
|
+
maxSize?: number;
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
export namespace com.moxi.api.rideseries {
|
|
2482
|
+
|
|
2483
|
+
export interface GetSeriesLog {
|
|
2484
|
+
rideSeriesId?: string;
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
export namespace com.moxi.api.rideseries {
|
|
2490
|
+
|
|
2491
|
+
export interface ReturnRideSeries extends com.moxi.api.rideseries.SeriesDriverCommand {
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
export namespace com.moxi.api.rideseries {
|
|
2497
|
+
|
|
2498
|
+
export interface RideSeriesUtils {
|
|
2499
|
+
}
|
|
2500
|
+
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
export namespace com.moxi.api.rideseries {
|
|
2504
|
+
|
|
2505
|
+
export interface SaveRideSeries extends com.moxi.api.rideseries.CreateSeriesCommand {
|
|
2506
|
+
rideSummaries?: com.moxi.api.rideseries.common.RideSummary[];
|
|
2507
|
+
}
|
|
2508
|
+
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
export namespace com.moxi.api.rideseries {
|
|
2512
|
+
|
|
2513
|
+
export interface SeriesBookerCommand extends com.moxi.api.rideseries.SeriesCommand {
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2518
|
+
export namespace com.moxi.api.rideseries {
|
|
2519
|
+
|
|
2520
|
+
export interface SeriesCommand {
|
|
2521
|
+
rideSeriesId?: string;
|
|
2522
|
+
}
|
|
2523
|
+
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
export namespace com.moxi.api.rideseries {
|
|
2527
|
+
|
|
2528
|
+
export interface SeriesCommandWithSeparateEvent {
|
|
2529
|
+
rideSeriesId?: string;
|
|
2530
|
+
}
|
|
2531
|
+
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2534
|
+
export namespace com.moxi.api.rideseries {
|
|
2535
|
+
|
|
2536
|
+
export interface SeriesDriverCommand extends com.moxi.api.rideseries.SeriesCommand {
|
|
2537
|
+
}
|
|
2538
|
+
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2541
|
+
export namespace com.moxi.api.rideseries {
|
|
2542
|
+
|
|
2543
|
+
export interface SeriesOperatorCommand extends com.moxi.api.rideseries.SeriesCommand {
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
export namespace com.moxi.api.rideseries {
|
|
2549
|
+
|
|
2550
|
+
export interface UpdateRideSeries extends com.moxi.api.rideseries.SeriesCommandWithSeparateEvent {
|
|
2551
|
+
booker?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
2552
|
+
info?: com.moxi.api.rideseries.common.SeriesRideInfo;
|
|
2553
|
+
rideSummaries?: com.moxi.api.rideseries.common.RideSummary[];
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
}
|
|
2557
|
+
|
|
2558
|
+
export namespace com.moxi.api.rideseries {
|
|
2559
|
+
|
|
2560
|
+
export interface UpdateRideSeriesEvent extends com.moxi.api.rideseries.SeriesBookerCommand {
|
|
2561
|
+
addRides?: string[];
|
|
2562
|
+
booker?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
2563
|
+
cancelRides?: string[];
|
|
2564
|
+
info?: com.moxi.api.rideseries.common.SeriesRideInfo;
|
|
2565
|
+
rideSummaries?: com.moxi.api.rideseries.common.RideSummary[];
|
|
2566
|
+
updateRides?: string[];
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
export namespace com.moxi.api.rideseries.combined {
|
|
2572
|
+
|
|
2573
|
+
export interface FindMyRidesAndSeries extends com.moxi.api.ride.AbstractFindMyRides {
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2578
|
+
export namespace com.moxi.api.rideseries.combined {
|
|
2579
|
+
|
|
2580
|
+
export interface FindRidesAndSeries extends com.moxi.api.ride.AbstractFindRides {
|
|
2581
|
+
}
|
|
2582
|
+
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
export namespace com.moxi.api.rideseries.combined {
|
|
2586
|
+
|
|
2587
|
+
export interface FindRidesAndSeriesForDriver extends com.moxi.api.ride.AbstractFindRidesForDriver {
|
|
2588
|
+
}
|
|
2589
|
+
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2592
|
+
export namespace com.moxi.api.rideseries.combined {
|
|
2593
|
+
|
|
2594
|
+
export interface FindRidesAndSeriesInMarketplace extends com.moxi.api.ride.AbstractFindRidesInMarketplace {
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2597
|
+
}
|
|
2598
|
+
|
|
2599
|
+
export namespace com.moxi.api.rideseries.combined.common {
|
|
2600
|
+
|
|
2601
|
+
export interface FindRidesAndSeriesResult {
|
|
2602
|
+
ridesAndSeries?: com.moxi.api.rideseries.combined.common.RideOrMinimizedSeries[];
|
|
2603
|
+
ridesCount?: com.moxi.api.ride.common.RideFilterCount;
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
export namespace com.moxi.api.rideseries.combined.common {
|
|
2609
|
+
|
|
2610
|
+
export interface RideOrMinimizedSeries {
|
|
2611
|
+
bookingStatus?: com.moxi.api.ride.common.BookingStatus;
|
|
2612
|
+
entityType?: com.moxi.api.common.EntityType;
|
|
2613
|
+
info?: com.moxi.api.rideseries.common.GenericRideInfo<any>;
|
|
2614
|
+
searchEndTime?: string;
|
|
2615
|
+
searchStartTime?: string;
|
|
2616
|
+
}
|
|
2617
|
+
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2620
|
+
export namespace com.moxi.api.rideseries.combined.common {
|
|
2621
|
+
|
|
2622
|
+
export interface RideOrSeries {
|
|
2623
|
+
bookedTime?: string;
|
|
2624
|
+
bookingStatus?: com.moxi.api.ride.common.BookingStatus;
|
|
2625
|
+
cleaningAndSlack?: com.moxi.api.ride.common.CleaningAndSlack;
|
|
2626
|
+
driver?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
2627
|
+
entityType?: com.moxi.api.common.EntityType;
|
|
2628
|
+
info?: com.moxi.api.rideseries.common.GenericRideInfo<any>;
|
|
2629
|
+
marketplaceTime?: string;
|
|
2630
|
+
totalDuration?: number;
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
export namespace com.moxi.api.rideseries.common {
|
|
2636
|
+
|
|
2637
|
+
export interface GenericRideInfo<T> {
|
|
2638
|
+
ambulanceInfo?: com.moxi.api.ride.common.AmbulanceInfo;
|
|
2639
|
+
attendantsPresent?: number;
|
|
2640
|
+
comment?: string;
|
|
2641
|
+
dimensions?: com.moxi.api.ride.common.PersonDimensions;
|
|
2642
|
+
distanceInMeters?: number;
|
|
2643
|
+
from?: com.moxi.api.refdata.common.AddressInfo;
|
|
2644
|
+
/**
|
|
2645
|
+
* Derived from weightInKg != null
|
|
2646
|
+
*/
|
|
2647
|
+
heavyWeight?: boolean;
|
|
2648
|
+
mobility?: com.moxi.api.ride.common.Mobility;
|
|
2649
|
+
patient?: com.moxi.api.ride.common.Person;
|
|
2650
|
+
plannedDuration?: com.moxi.api.ride.common.RideDuration;
|
|
2651
|
+
preferredDriver?: string;
|
|
2652
|
+
to?: com.moxi.api.refdata.common.AddressInfo;
|
|
2653
|
+
vehicleType?: com.moxi.api.ride.common.VehicleType;
|
|
2654
|
+
weightInKg?: number;
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2659
|
+
export namespace com.moxi.api.rideseries.common {
|
|
2660
|
+
|
|
2661
|
+
/**
|
|
2662
|
+
* A series of rides.
|
|
2663
|
+
*/
|
|
2664
|
+
export interface MinimizedRideSeries extends com.moxi.api.rideseries.common.RideSeries, com.moxi.api.rideseries.combined.common.RideOrMinimizedSeries {
|
|
2665
|
+
info?: com.moxi.api.rideseries.common.SeriesRideInfo;
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2668
|
+
}
|
|
2669
|
+
|
|
2670
|
+
export namespace com.moxi.api.rideseries.common {
|
|
2671
|
+
|
|
2672
|
+
/**
|
|
2673
|
+
* A series of rides.
|
|
2674
|
+
*/
|
|
2675
|
+
export interface RideSeries extends com.moxi.api.rideseries.combined.common.RideOrSeries {
|
|
2676
|
+
/**
|
|
2677
|
+
* 'accepted' is true if a driver has accepted the series.
|
|
2678
|
+
*/
|
|
2679
|
+
accepted?: boolean;
|
|
2680
|
+
acceptedTime?: string;
|
|
2681
|
+
/**
|
|
2682
|
+
* The number of rides in the series that are not cancelled.
|
|
2683
|
+
*/
|
|
2684
|
+
activeRideCount?: number;
|
|
2685
|
+
/**
|
|
2686
|
+
* 'booked' is false if the series has only been saved.
|
|
2687
|
+
*/
|
|
2688
|
+
booked?: boolean;
|
|
2689
|
+
booker?: com.moxi.api.permissions.common.AccountOrTeamRef;
|
|
2690
|
+
cancelReason?: string;
|
|
2691
|
+
cancelled?: boolean;
|
|
2692
|
+
info?: com.moxi.api.rideseries.common.SeriesRideInfo;
|
|
2693
|
+
rideSeriesId?: string;
|
|
2694
|
+
rides?: com.moxi.api.ride.common.Ride[];
|
|
2695
|
+
ridesSummaries?: com.moxi.api.rideseries.common.RideSummary[];
|
|
2696
|
+
/**
|
|
2697
|
+
* searchEndTime is the time from which series can be found in our system. It's the searchEndTime of the last ride in the series.
|
|
2698
|
+
*/
|
|
2699
|
+
searchEndTime?: string;
|
|
2700
|
+
/**
|
|
2701
|
+
* searchStartTime is the time from which series can be found in our system. It's the searchStartTime of the first ride in the series.
|
|
2702
|
+
*/
|
|
2703
|
+
searchStartTime?: string;
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
export namespace com.moxi.api.rideseries.common {
|
|
2709
|
+
|
|
2710
|
+
export interface RideSeriesIdResult {
|
|
2711
|
+
rideSeriesId?: string;
|
|
2712
|
+
}
|
|
2713
|
+
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
export namespace com.moxi.api.rideseries.common {
|
|
2717
|
+
|
|
2718
|
+
/**
|
|
2719
|
+
* Individual ride timing within a series. Once a ride series is accepted, you cannot add rides, only remove
|
|
2720
|
+
*/
|
|
2721
|
+
export interface RideSummary {
|
|
2722
|
+
appointmentTime?: string;
|
|
2723
|
+
returnTrip?: boolean;
|
|
2724
|
+
rideId?: string;
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
export namespace com.moxi.api.rideseries.common {
|
|
2730
|
+
|
|
2731
|
+
export interface SeriesRideInfo extends com.moxi.api.rideseries.common.GenericRideInfo<com.moxi.api.rideseries.common.SeriesRideInfo> {
|
|
2732
|
+
purpose?: com.moxi.api.rideseries.common.SeriesPurpose;
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
export namespace com.moxi.api.rideseries.common.SeriesRideInfo {
|
|
2738
|
+
|
|
2739
|
+
export interface AnonymizedSeriesRideInfo extends com.moxi.api.rideseries.common.SeriesRideInfo {
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
export namespace com.moxi.api.servicedesk {
|
|
2745
|
+
|
|
2746
|
+
export interface ReportIssue {
|
|
2747
|
+
data?: { [index: string]: string };
|
|
2748
|
+
issue?: string;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
}
|
|
2752
|
+
|
|
2753
|
+
export namespace com.moxi.api.statistics {
|
|
2754
|
+
|
|
2755
|
+
export interface GetRideCsv extends com.moxi.api.statistics.RideStatisticsQuery {
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
export namespace com.moxi.api.statistics {
|
|
2761
|
+
|
|
2762
|
+
export interface GetRideDataForBooker extends com.moxi.api.statistics.RideStatisticsQuery {
|
|
2763
|
+
accountId?: string;
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
export namespace com.moxi.api.statistics {
|
|
2769
|
+
|
|
2770
|
+
export interface GetRideDataForDriver extends com.moxi.api.statistics.RideStatisticsQuery {
|
|
2771
|
+
accountId?: string;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2776
|
+
export namespace com.moxi.api.statistics {
|
|
2777
|
+
|
|
2778
|
+
export interface RideStatisticsQuery {
|
|
2779
|
+
dateRange?: com.moxi.api.common.DateRange;
|
|
2780
|
+
zoneId?: string;
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
export namespace com.moxi.api.team {
|
|
2786
|
+
|
|
2787
|
+
export interface CreateTeam extends com.moxi.api.account.AccountCommand {
|
|
2788
|
+
info?: com.moxi.api.team.common.TeamInfo;
|
|
2789
|
+
teamId?: string;
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
export namespace com.moxi.api.team {
|
|
2795
|
+
|
|
2796
|
+
export interface GetTeam {
|
|
2797
|
+
teamId?: string;
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2800
|
+
}
|
|
2801
|
+
|
|
2802
|
+
export namespace com.moxi.api.team {
|
|
2803
|
+
|
|
2804
|
+
export interface RemoveTeam extends com.moxi.api.team.TeamUpdate {
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
}
|
|
2808
|
+
|
|
2809
|
+
export namespace com.moxi.api.team {
|
|
2810
|
+
|
|
2811
|
+
export interface TeamUpdate extends com.moxi.api.account.AccountUpdate {
|
|
2812
|
+
teamId?: string;
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2817
|
+
export namespace com.moxi.api.team {
|
|
2818
|
+
|
|
2819
|
+
export interface UpdateTeam extends com.moxi.api.team.TeamUpdate {
|
|
2820
|
+
info?: com.moxi.api.team.common.TeamInfo;
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
}
|
|
2824
|
+
|
|
2825
|
+
export namespace com.moxi.api.team.common {
|
|
2826
|
+
|
|
2827
|
+
export interface Team {
|
|
2828
|
+
info?: com.moxi.api.team.common.TeamInfo;
|
|
2829
|
+
teamId?: string;
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
export namespace com.moxi.api.team.common {
|
|
2835
|
+
|
|
2836
|
+
export interface TeamInfo {
|
|
2837
|
+
address?: com.moxi.api.refdata.common.AddressInfo;
|
|
2838
|
+
notificationEmails?: string[];
|
|
2839
|
+
phoneNumber?: com.moxi.api.common.PhoneNumber;
|
|
2840
|
+
teamName?: string;
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2845
|
+
export namespace com.moxi.api.token {
|
|
2846
|
+
|
|
2847
|
+
export interface CreateToken extends com.moxi.api.token.TokenCommand {
|
|
2848
|
+
accountPermission?: com.moxi.api.permissions.common.AccountPermission;
|
|
2849
|
+
hashedToken?: string;
|
|
2850
|
+
info?: com.moxi.api.token.common.TokenInfo;
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2855
|
+
export namespace com.moxi.api.token {
|
|
2856
|
+
|
|
2857
|
+
export interface FindMyTokens {
|
|
2858
|
+
accountId?: string;
|
|
2859
|
+
term?: string;
|
|
2860
|
+
}
|
|
2861
|
+
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
export namespace com.moxi.api.token {
|
|
2865
|
+
|
|
2866
|
+
export interface FindTokens {
|
|
2867
|
+
term?: string;
|
|
2868
|
+
}
|
|
2869
|
+
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2872
|
+
export namespace com.moxi.api.token {
|
|
2873
|
+
|
|
2874
|
+
export interface GenerateToken {
|
|
2875
|
+
accountPermission?: com.moxi.api.permissions.common.AccountPermission;
|
|
2876
|
+
info?: com.moxi.api.token.common.TokenInfo;
|
|
2877
|
+
tokenId?: string;
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2880
|
+
}
|
|
2881
|
+
|
|
2882
|
+
export namespace com.moxi.api.token {
|
|
2883
|
+
|
|
2884
|
+
export interface GetMyToken {
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
export namespace com.moxi.api.token {
|
|
2890
|
+
|
|
2891
|
+
export interface GetToken {
|
|
2892
|
+
tokenId?: string;
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
export namespace com.moxi.api.token {
|
|
2898
|
+
|
|
2899
|
+
export interface RevokeToken extends com.moxi.api.token.TokenUpdate {
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2904
|
+
export namespace com.moxi.api.token {
|
|
2905
|
+
|
|
2906
|
+
export interface TokenCommand {
|
|
2907
|
+
tokenId?: string;
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
export namespace com.moxi.api.token {
|
|
2913
|
+
|
|
2914
|
+
export interface TokenUpdate extends com.moxi.api.token.TokenCommand {
|
|
2915
|
+
}
|
|
2916
|
+
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2919
|
+
export namespace com.moxi.api.token {
|
|
2920
|
+
|
|
2921
|
+
export interface UpdateToken extends com.moxi.api.token.TokenUpdate {
|
|
2922
|
+
accountPermission?: com.moxi.api.permissions.common.AccountPermission;
|
|
2923
|
+
info?: com.moxi.api.token.common.TokenInfo;
|
|
2924
|
+
}
|
|
2925
|
+
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
export namespace com.moxi.api.token.common {
|
|
2929
|
+
|
|
2930
|
+
export interface GenerateTokenResult {
|
|
2931
|
+
entity?: com.moxi.api.token.common.Token;
|
|
2932
|
+
jwt?: string;
|
|
2933
|
+
}
|
|
2934
|
+
|
|
2935
|
+
}
|
|
2936
|
+
|
|
2937
|
+
export namespace com.moxi.api.token.common {
|
|
2938
|
+
|
|
2939
|
+
export interface Token {
|
|
2940
|
+
accountPermissions?: com.moxi.api.permissions.common.AccountPermission[];
|
|
2941
|
+
createdBy?: string;
|
|
2942
|
+
info?: com.moxi.api.token.common.TokenInfo;
|
|
2943
|
+
lastUpdatedBy?: string;
|
|
2944
|
+
owner?: string;
|
|
2945
|
+
revoked?: boolean;
|
|
2946
|
+
tokenId?: string;
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2949
|
+
}
|
|
2950
|
+
|
|
2951
|
+
export namespace com.moxi.api.token.common {
|
|
2952
|
+
|
|
2953
|
+
export interface TokenInfo {
|
|
2954
|
+
dateRange?: com.moxi.api.common.DateRange;
|
|
2955
|
+
name?: string;
|
|
2956
|
+
whitelistedIps?: com.moxi.api.common.IpRange[];
|
|
2957
|
+
}
|
|
2958
|
+
|
|
2959
|
+
}
|
|
2960
|
+
|
|
2961
|
+
export namespace com.moxi.api.token.common {
|
|
2962
|
+
|
|
2963
|
+
export interface UserOrTokenId {
|
|
2964
|
+
functionalId?: string;
|
|
2965
|
+
token?: boolean;
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2970
|
+
export namespace com.moxi.api.upcasters {
|
|
2971
|
+
|
|
2972
|
+
export interface AccountUpcaster {
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2977
|
+
export namespace com.moxi.api.upcasters {
|
|
2978
|
+
|
|
2979
|
+
export interface RideUpcaster {
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2982
|
+
}
|
|
2983
|
+
|
|
2984
|
+
export namespace com.moxi.api.upcasters {
|
|
2985
|
+
|
|
2986
|
+
export interface UserAndTokenUpcaster {
|
|
2987
|
+
}
|
|
2988
|
+
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
export namespace com.moxi.api.user {
|
|
2992
|
+
|
|
2993
|
+
export interface AcceptUserAgreement extends com.moxi.api.user.UserEdit {
|
|
2994
|
+
agreementId?: string;
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2997
|
+
}
|
|
2998
|
+
|
|
2999
|
+
export namespace com.moxi.api.user {
|
|
3000
|
+
|
|
3001
|
+
export interface CheckIfUserSignedUp {
|
|
3002
|
+
userId?: string;
|
|
3003
|
+
}
|
|
3004
|
+
|
|
3005
|
+
}
|
|
3006
|
+
|
|
3007
|
+
export namespace com.moxi.api.user {
|
|
3008
|
+
|
|
3009
|
+
export interface CreateUser extends com.moxi.api.user.UserCommand {
|
|
3010
|
+
email?: string;
|
|
3011
|
+
info?: com.moxi.api.user.common.UserInfo;
|
|
3012
|
+
}
|
|
3013
|
+
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
export namespace com.moxi.api.user {
|
|
3017
|
+
|
|
3018
|
+
export interface DeleteUser extends com.moxi.api.user.UserEdit {
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
}
|
|
3022
|
+
|
|
3023
|
+
export namespace com.moxi.api.user {
|
|
3024
|
+
|
|
3025
|
+
export interface FindMyUsers {
|
|
3026
|
+
accountId?: string;
|
|
3027
|
+
teamId?: string;
|
|
3028
|
+
term?: string;
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
export namespace com.moxi.api.user {
|
|
3034
|
+
|
|
3035
|
+
export interface FindUsers {
|
|
3036
|
+
accountFilter?: com.moxi.api.account.common.AccountFilter;
|
|
3037
|
+
accountPermissionFilter?: com.moxi.api.permissions.common.AccountPermissionFilter;
|
|
3038
|
+
term?: string;
|
|
3039
|
+
}
|
|
3040
|
+
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3043
|
+
export namespace com.moxi.api.user {
|
|
3044
|
+
|
|
3045
|
+
export interface GetMyUserProfile {
|
|
3046
|
+
}
|
|
3047
|
+
|
|
3048
|
+
}
|
|
3049
|
+
|
|
3050
|
+
export namespace com.moxi.api.user {
|
|
3051
|
+
|
|
3052
|
+
export interface GetUserProfile {
|
|
3053
|
+
userId?: string;
|
|
3054
|
+
}
|
|
3055
|
+
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
export namespace com.moxi.api.user {
|
|
3059
|
+
|
|
3060
|
+
export interface UpdateUserInfo extends com.moxi.api.user.UserEdit {
|
|
3061
|
+
info?: com.moxi.api.user.common.UserInfo;
|
|
3062
|
+
}
|
|
3063
|
+
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
export namespace com.moxi.api.user {
|
|
3067
|
+
|
|
3068
|
+
export interface UserCommand {
|
|
3069
|
+
userId?: string;
|
|
3070
|
+
}
|
|
3071
|
+
|
|
3072
|
+
}
|
|
3073
|
+
|
|
3074
|
+
export namespace com.moxi.api.user {
|
|
3075
|
+
|
|
3076
|
+
export interface UserEdit extends com.moxi.api.user.UserUpdateAfterSignup {
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
}
|
|
3080
|
+
|
|
3081
|
+
export namespace com.moxi.api.user {
|
|
3082
|
+
|
|
3083
|
+
export interface UserUpdate extends com.moxi.api.user.UserCommand {
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3086
|
+
}
|
|
3087
|
+
|
|
3088
|
+
export namespace com.moxi.api.user {
|
|
3089
|
+
|
|
3090
|
+
export interface UserUpdateAfterSignup extends com.moxi.api.user.UserUpdate {
|
|
3091
|
+
}
|
|
3092
|
+
|
|
3093
|
+
}
|
|
3094
|
+
|
|
3095
|
+
export namespace com.moxi.api.user.common {
|
|
3096
|
+
|
|
3097
|
+
export interface Invite {
|
|
3098
|
+
accountId?: string;
|
|
3099
|
+
invitedBy?: string;
|
|
3100
|
+
}
|
|
3101
|
+
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3104
|
+
export namespace com.moxi.api.user.common {
|
|
3105
|
+
|
|
3106
|
+
export interface UserInfo {
|
|
3107
|
+
firstName?: string;
|
|
3108
|
+
language?: string;
|
|
3109
|
+
lastName?: string;
|
|
3110
|
+
telephoneNumber?: com.moxi.api.common.PhoneNumber;
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
export namespace com.moxi.api.user.common {
|
|
3116
|
+
|
|
3117
|
+
export interface UserProfile {
|
|
3118
|
+
acceptedUserAgreements?: string[];
|
|
3119
|
+
accountPermissions?: com.moxi.api.permissions.common.AccountPermission[];
|
|
3120
|
+
email?: string;
|
|
3121
|
+
emailConfirmed?: boolean;
|
|
3122
|
+
info?: com.moxi.api.user.common.UserInfo;
|
|
3123
|
+
userId?: string;
|
|
3124
|
+
userRole?: com.moxi.api.permissions.common.UserRole;
|
|
3125
|
+
}
|
|
3126
|
+
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3129
|
+
export namespace com.moxi.api.web.common {
|
|
3130
|
+
|
|
3131
|
+
export interface CheckSession {
|
|
3132
|
+
userId?: string;
|
|
3133
|
+
}
|
|
3134
|
+
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
export namespace com.moxi.api.web.common {
|
|
3138
|
+
|
|
3139
|
+
export interface DetailsFilter extends com.moxi.api.web.common.WebsocketFilter {
|
|
3140
|
+
id?: string;
|
|
3141
|
+
screen: "ride_details";
|
|
3142
|
+
}
|
|
3143
|
+
|
|
3144
|
+
}
|
|
3145
|
+
|
|
3146
|
+
export namespace com.moxi.api.web.common {
|
|
3147
|
+
|
|
3148
|
+
export interface FleetOverviewFilter extends com.moxi.api.web.common.WebsocketFilter {
|
|
3149
|
+
queryFilter?: com.moxi.api.rideseries.combined.FindRidesAndSeriesForDriver;
|
|
3150
|
+
screen: "fleet_overview";
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3153
|
+
}
|
|
3154
|
+
|
|
3155
|
+
export namespace com.moxi.api.web.common {
|
|
3156
|
+
|
|
3157
|
+
export interface HospitalOverviewFilter extends com.moxi.api.web.common.WebsocketFilter {
|
|
3158
|
+
queryFilter?: com.moxi.api.rideseries.combined.FindMyRidesAndSeries;
|
|
3159
|
+
screen: "hospital_overview";
|
|
3160
|
+
}
|
|
3161
|
+
|
|
3162
|
+
}
|
|
3163
|
+
|
|
3164
|
+
export namespace com.moxi.api.web.common {
|
|
3165
|
+
|
|
3166
|
+
export interface MarketplaceOverviewFilter extends com.moxi.api.web.common.WebsocketFilter {
|
|
3167
|
+
queryFilter?: com.moxi.api.rideseries.combined.FindRidesAndSeriesInMarketplace;
|
|
3168
|
+
screen: "marketplace";
|
|
3169
|
+
}
|
|
3170
|
+
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3173
|
+
export namespace com.moxi.api.web.common {
|
|
3174
|
+
|
|
3175
|
+
export interface OperationsOverviewFilter extends com.moxi.api.web.common.WebsocketFilter {
|
|
3176
|
+
queryFilter?: com.moxi.api.rideseries.combined.FindRidesAndSeries;
|
|
3177
|
+
screen: "operations_overview";
|
|
3178
|
+
}
|
|
3179
|
+
|
|
3180
|
+
}
|
|
3181
|
+
|
|
3182
|
+
export namespace com.moxi.api.web.common {
|
|
3183
|
+
|
|
3184
|
+
export interface WebsocketFilter extends com.moxi.api.web.common.WebsocketMessage {
|
|
3185
|
+
screen: "ride_details" | "fleet_overview" | "hospital_overview" | "marketplace" | "operations_overview";
|
|
3186
|
+
}
|
|
3187
|
+
|
|
3188
|
+
}
|
|
3189
|
+
|
|
3190
|
+
export namespace com.moxi.api.web.common {
|
|
3191
|
+
|
|
3192
|
+
export interface WebsocketMessage {
|
|
3193
|
+
screen: "ride_details" | "fleet_overview" | "hospital_overview" | "marketplace" | "operations_overview" | "ping";
|
|
3194
|
+
}
|
|
3195
|
+
|
|
3196
|
+
}
|
|
3197
|
+
|
|
3198
|
+
export namespace com.moxi.api.web.common {
|
|
3199
|
+
|
|
3200
|
+
export interface WebsocketMultipleUpdates extends com.moxi.api.web.common.WebsocketUpdate {
|
|
3201
|
+
ridesAndSeries?: com.moxi.api.rideseries.combined.common.RideOrMinimizedSeries[];
|
|
3202
|
+
ridesCount?: com.moxi.api.ride.common.RideFilterCount;
|
|
3203
|
+
type: "multiple_updates";
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
export namespace com.moxi.api.web.common {
|
|
3209
|
+
|
|
3210
|
+
export interface WebsocketPing extends com.moxi.api.web.common.WebsocketMessage {
|
|
3211
|
+
screen: "ping";
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
}
|
|
3215
|
+
|
|
3216
|
+
export namespace com.moxi.api.web.common {
|
|
3217
|
+
|
|
3218
|
+
export interface WebsocketSingleUpdate extends com.moxi.api.web.common.WebsocketUpdate {
|
|
3219
|
+
id?: string;
|
|
3220
|
+
rideOrSeries?: com.moxi.api.rideseries.combined.common.RideOrMinimizedSeries;
|
|
3221
|
+
type: "single_update";
|
|
3222
|
+
}
|
|
3223
|
+
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3226
|
+
export namespace com.moxi.api.web.common {
|
|
3227
|
+
|
|
3228
|
+
export interface WebsocketUpdate {
|
|
3229
|
+
type: "multiple_updates" | "single_update";
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
export namespace health.moxi.optimizer.common.api {
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* Request to optimize fleet schedule
|
|
3238
|
+
*/
|
|
3239
|
+
export interface OptimizationRequest {
|
|
3240
|
+
operationalRules?: health.moxi.optimizer.common.domain.OperationalRules;
|
|
3241
|
+
optimizationMode?: health.moxi.optimizer.common.planning.OptimizationMode;
|
|
3242
|
+
parameters?: health.moxi.optimizer.common.planning.OptimizationParameters;
|
|
3243
|
+
problemId?: string;
|
|
3244
|
+
schedule?: health.moxi.optimizer.common.domain.Schedule;
|
|
3245
|
+
useManualWeights?: boolean;
|
|
3246
|
+
weights?: health.moxi.optimizer.common.planning.ConstraintWeights;
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3249
|
+
}
|
|
3250
|
+
|
|
3251
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3252
|
+
|
|
3253
|
+
/**
|
|
3254
|
+
* Base activity type containing common properties
|
|
3255
|
+
*/
|
|
3256
|
+
export interface Activity {
|
|
3257
|
+
desiredStartTime?: string;
|
|
3258
|
+
distanceInMeters?: number;
|
|
3259
|
+
duration?: number;
|
|
3260
|
+
endLocation?: health.moxi.optimizer.common.domain.GeoLocation;
|
|
3261
|
+
id?: string;
|
|
3262
|
+
plannedStartTime?: string;
|
|
3263
|
+
routePinned?: boolean;
|
|
3264
|
+
startLocation?: health.moxi.optimizer.common.domain.GeoLocation;
|
|
3265
|
+
startTimePinned?: boolean;
|
|
3266
|
+
type: "ride" | "break" | "maintenance" | "connectingRide";
|
|
3267
|
+
vehicleType?: health.moxi.optimizer.common.domain.VehicleType;
|
|
3268
|
+
}
|
|
3269
|
+
|
|
3270
|
+
}
|
|
3271
|
+
|
|
3272
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3273
|
+
|
|
3274
|
+
/**
|
|
3275
|
+
* Driver break period
|
|
3276
|
+
*/
|
|
3277
|
+
export interface Break extends health.moxi.optimizer.common.domain.Activity {
|
|
3278
|
+
type: "break";
|
|
3279
|
+
}
|
|
3280
|
+
|
|
3281
|
+
}
|
|
3282
|
+
|
|
3283
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3284
|
+
|
|
3285
|
+
/**
|
|
3286
|
+
* Dead-head travel between activities
|
|
3287
|
+
*/
|
|
3288
|
+
export interface ConnectingRide extends health.moxi.optimizer.common.domain.Activity {
|
|
3289
|
+
idleTimeSeconds?: number;
|
|
3290
|
+
type: "connectingRide";
|
|
3291
|
+
}
|
|
3292
|
+
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3295
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3296
|
+
|
|
3297
|
+
export interface GeoLocation {
|
|
3298
|
+
/**
|
|
3299
|
+
* Latitude coordinate in decimal degrees
|
|
3300
|
+
*/
|
|
3301
|
+
latitude?: number;
|
|
3302
|
+
/**
|
|
3303
|
+
* Longitude coordinate in decimal degrees
|
|
3304
|
+
*/
|
|
3305
|
+
longitude?: number;
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
}
|
|
3309
|
+
|
|
3310
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3311
|
+
|
|
3312
|
+
/**
|
|
3313
|
+
* Scheduled vehicle maintenance activity
|
|
3314
|
+
*/
|
|
3315
|
+
export interface Maintenance extends health.moxi.optimizer.common.domain.Activity {
|
|
3316
|
+
type: "maintenance";
|
|
3317
|
+
}
|
|
3318
|
+
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3322
|
+
|
|
3323
|
+
/**
|
|
3324
|
+
* Operational rules and constraints
|
|
3325
|
+
*/
|
|
3326
|
+
export interface OperationalRules {
|
|
3327
|
+
maxOvertime?: number;
|
|
3328
|
+
maxStartTimeDeviation?: number;
|
|
3329
|
+
minBreakStart?: number;
|
|
3330
|
+
}
|
|
3331
|
+
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3335
|
+
|
|
3336
|
+
/**
|
|
3337
|
+
* Ride activity
|
|
3338
|
+
*/
|
|
3339
|
+
export interface Ride extends health.moxi.optimizer.common.domain.Activity {
|
|
3340
|
+
infectious?: boolean;
|
|
3341
|
+
overweight?: boolean;
|
|
3342
|
+
type: "ride";
|
|
3343
|
+
}
|
|
3344
|
+
|
|
3345
|
+
}
|
|
3346
|
+
|
|
3347
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3348
|
+
|
|
3349
|
+
/**
|
|
3350
|
+
* Vehicle route with scheduled activities
|
|
3351
|
+
*/
|
|
3352
|
+
export interface Route {
|
|
3353
|
+
activities?: health.moxi.optimizer.common.domain.ActivityUnion[];
|
|
3354
|
+
garage?: health.moxi.optimizer.common.domain.GeoLocation;
|
|
3355
|
+
id?: string;
|
|
3356
|
+
metrics?: health.moxi.optimizer.common.domain.RouteMetrics;
|
|
3357
|
+
overtimeSeconds?: number;
|
|
3358
|
+
shiftEnd?: string;
|
|
3359
|
+
shiftStart?: string;
|
|
3360
|
+
vehicleType?: health.moxi.optimizer.common.domain.VehicleType;
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3363
|
+
}
|
|
3364
|
+
|
|
3365
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3366
|
+
|
|
3367
|
+
export interface RouteMetrics {
|
|
3368
|
+
averageRideStartTimeDeviation?: number;
|
|
3369
|
+
deadheadDistanceMeters?: number;
|
|
3370
|
+
totalDeadheadTime?: number;
|
|
3371
|
+
totalDistanceMeters?: number;
|
|
3372
|
+
totalIdleTime?: number;
|
|
3373
|
+
totalRideTime?: number;
|
|
3374
|
+
}
|
|
3375
|
+
|
|
3376
|
+
}
|
|
3377
|
+
|
|
3378
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3379
|
+
|
|
3380
|
+
/**
|
|
3381
|
+
* Schedule containing routes and activities
|
|
3382
|
+
*/
|
|
3383
|
+
export interface Schedule {
|
|
3384
|
+
metrics?: health.moxi.optimizer.common.domain.ScheduleMetrics;
|
|
3385
|
+
routes?: health.moxi.optimizer.common.domain.Route[];
|
|
3386
|
+
status?: health.moxi.optimizer.common.domain.OptimizationStatus;
|
|
3387
|
+
unplannedActivities?: health.moxi.optimizer.common.domain.ActivityUnion[];
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
}
|
|
3391
|
+
|
|
3392
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3393
|
+
|
|
3394
|
+
export interface ScheduleMetrics {
|
|
3395
|
+
ambulanceCount?: number;
|
|
3396
|
+
fleetUtilization?: number;
|
|
3397
|
+
medianRidesPerRoute?: number;
|
|
3398
|
+
overall?: health.moxi.optimizer.common.domain.RouteMetrics;
|
|
3399
|
+
plannedRides?: number;
|
|
3400
|
+
taxiCount?: number;
|
|
3401
|
+
totalOvertimeSeconds?: number;
|
|
3402
|
+
unplannedRides?: number;
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
export namespace health.moxi.optimizer.common.planning {
|
|
3408
|
+
|
|
3409
|
+
/**
|
|
3410
|
+
* Constraint weights for different optimization objectives
|
|
3411
|
+
*/
|
|
3412
|
+
export interface ConstraintWeights {
|
|
3413
|
+
balanceWorkload?: number;
|
|
3414
|
+
breakPositioning?: number;
|
|
3415
|
+
deadheadTimePenalty?: number;
|
|
3416
|
+
encourageRideAssignments?: number;
|
|
3417
|
+
idleTimePenalty?: number;
|
|
3418
|
+
minimizeTravelTime?: number;
|
|
3419
|
+
startTimeDeviation?: number;
|
|
3420
|
+
}
|
|
3421
|
+
|
|
3422
|
+
}
|
|
3423
|
+
|
|
3424
|
+
export namespace health.moxi.optimizer.common.planning {
|
|
3425
|
+
|
|
3426
|
+
/**
|
|
3427
|
+
* Solver parameters for tuning the optimization
|
|
3428
|
+
*/
|
|
3429
|
+
export interface OptimizationParameters {
|
|
3430
|
+
acceptedCountLimit?: number;
|
|
3431
|
+
constructionStrategy?: health.moxi.optimizer.common.planning.ConstructionStrategy;
|
|
3432
|
+
maxUnimprovedSeconds?: number;
|
|
3433
|
+
searchStrategy?: health.moxi.optimizer.common.planning.SearchStrategy;
|
|
3434
|
+
startingTemperature?: number;
|
|
3435
|
+
tabuRatio?: number;
|
|
3436
|
+
}
|
|
3437
|
+
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
export namespace com.moxi.api.authentication.common {
|
|
3441
|
+
|
|
3442
|
+
export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED" | "ONE_TIME_PASSWORD_NEEDED";
|
|
3443
|
+
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3446
|
+
export namespace com.moxi.api.common {
|
|
3447
|
+
|
|
3448
|
+
export type DocumentType = "businessLicense" | "publicLiabilityPolicy";
|
|
3449
|
+
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3452
|
+
export namespace com.moxi.api.common {
|
|
3453
|
+
|
|
3454
|
+
export type EntityType = "ride" | "rideseries";
|
|
3455
|
+
|
|
3456
|
+
}
|
|
3457
|
+
|
|
3458
|
+
export namespace com.moxi.api.common.slack {
|
|
3459
|
+
|
|
3460
|
+
export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour" | "admin_reported_issues";
|
|
3461
|
+
|
|
3462
|
+
}
|
|
3463
|
+
|
|
3464
|
+
export namespace com.moxi.api.geojson.common.GeoJson {
|
|
3465
|
+
|
|
3466
|
+
export type GeometryUnion = com.moxi.api.geojson.common.GeoJson.GeoPolygon | com.moxi.api.geojson.common.GeoJson.GeoMultiPolygon;
|
|
3467
|
+
|
|
3468
|
+
}
|
|
3469
|
+
|
|
3470
|
+
export namespace com.moxi.api.grpc.common {
|
|
3471
|
+
|
|
3472
|
+
export type GrpcStreamType = "get_einsatz_events" | "optimizer_planning";
|
|
3473
|
+
|
|
3474
|
+
}
|
|
3475
|
+
|
|
3476
|
+
export namespace com.moxi.api.integrations.common {
|
|
3477
|
+
|
|
3478
|
+
export type IntegrationType = "dispolive" | "celios";
|
|
3479
|
+
|
|
3480
|
+
}
|
|
3481
|
+
|
|
3482
|
+
export namespace com.moxi.api.permissions.common {
|
|
3483
|
+
|
|
3484
|
+
export type AccountRole = "ridebooker" | "dispatcher" | "operator" | "admin" | "owner";
|
|
3485
|
+
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3488
|
+
export namespace com.moxi.api.permissions.common {
|
|
3489
|
+
|
|
3490
|
+
export type TeamRole = "dispatcher" | "ridebooker";
|
|
3491
|
+
|
|
3492
|
+
}
|
|
3493
|
+
|
|
3494
|
+
export namespace com.moxi.api.permissions.common {
|
|
3495
|
+
|
|
3496
|
+
export type UserRole = "superadmin";
|
|
3497
|
+
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3500
|
+
export namespace com.moxi.api.permissions.drive.common {
|
|
3501
|
+
|
|
3502
|
+
export type DrivePermissionFilterUnion = com.moxi.api.permissions.drive.common.AmbulanceFilter | com.moxi.api.permissions.drive.common.TaxiFilter | com.moxi.api.permissions.drive.common.IntensiveCareAmbulanceFilter | com.moxi.api.permissions.drive.common.IntensiveCareHelicopterFilter | com.moxi.api.permissions.drive.common.EmergencyAmbulanceFilter;
|
|
3503
|
+
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
export namespace com.moxi.api.permissions.subscription.common {
|
|
3507
|
+
|
|
3508
|
+
export type OrganisationType = "medical" | "fleet" | "operator";
|
|
3509
|
+
|
|
3510
|
+
}
|
|
3511
|
+
|
|
3512
|
+
export namespace com.moxi.api.permissions.subscription.common {
|
|
3513
|
+
|
|
3514
|
+
export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration" | "moxi_operations" | "intensive_care";
|
|
3515
|
+
|
|
3516
|
+
}
|
|
3517
|
+
|
|
3518
|
+
export namespace com.moxi.api.permissions.subscription.common {
|
|
3519
|
+
|
|
3520
|
+
export type StandaloneService = "pro_medical" | "pro_fleet" | "pro_operator";
|
|
3521
|
+
|
|
3522
|
+
}
|
|
3523
|
+
|
|
3524
|
+
export namespace com.moxi.api.refdata.common {
|
|
3525
|
+
|
|
3526
|
+
export type InsuranceType = "public_insurance" | "private_insurance" | "german_accident_insurance" | "no_or_unknown_insurance";
|
|
3527
|
+
|
|
3528
|
+
}
|
|
3529
|
+
|
|
3530
|
+
export namespace com.moxi.api.ride.common {
|
|
3531
|
+
|
|
3532
|
+
export type BookingStatus = "saved" | "booked" | "accepted" | "planned" | "started" | "completed" | "cancelled";
|
|
3533
|
+
|
|
3534
|
+
}
|
|
3535
|
+
|
|
3536
|
+
export namespace com.moxi.api.ride.common {
|
|
3537
|
+
|
|
3538
|
+
export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
|
|
3539
|
+
|
|
3540
|
+
}
|
|
3541
|
+
|
|
3542
|
+
export namespace com.moxi.api.ride.common {
|
|
3543
|
+
|
|
3544
|
+
export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "stretcher";
|
|
3545
|
+
|
|
3546
|
+
}
|
|
3547
|
+
|
|
3548
|
+
export namespace com.moxi.api.ride.common {
|
|
3549
|
+
|
|
3550
|
+
export type RideInfoUnion = com.moxi.api.ride.common.RegularRideInfo | com.moxi.api.ride.intensivecare.IntensiveCareRideInfo;
|
|
3551
|
+
|
|
3552
|
+
}
|
|
3553
|
+
|
|
3554
|
+
export namespace com.moxi.api.ride.common {
|
|
3555
|
+
|
|
3556
|
+
export type RidePurpose = "admission" | "relocation" | "discharge" | "consultation";
|
|
3557
|
+
|
|
3558
|
+
}
|
|
3559
|
+
|
|
3560
|
+
export namespace com.moxi.api.ride.common {
|
|
3561
|
+
|
|
3562
|
+
export type SyncStatus = "not_synced" | "synced" | "update_not_synced";
|
|
3563
|
+
|
|
3564
|
+
}
|
|
3565
|
+
|
|
3566
|
+
export namespace com.moxi.api.ride.common {
|
|
3567
|
+
|
|
3568
|
+
export type VehicleType = "taxi" | "ambulance" | "intensiveCareAmbulance" | "intensiveCareHelicopter" | "emergencyAmbulance";
|
|
3569
|
+
|
|
3570
|
+
}
|
|
3571
|
+
|
|
3572
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
3573
|
+
|
|
3574
|
+
export type AgeCategory = "adult" | "child" | "toddler" | "baby";
|
|
3575
|
+
|
|
3576
|
+
}
|
|
3577
|
+
|
|
3578
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
3579
|
+
|
|
3580
|
+
export type BreathingDeliveryType = "mask" | "intubated" | "tracheotomized";
|
|
3581
|
+
|
|
3582
|
+
}
|
|
3583
|
+
|
|
3584
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
3585
|
+
|
|
3586
|
+
export type BreathingDeliveryUnion = com.moxi.api.ride.intensivecare.Mask | com.moxi.api.ride.intensivecare.Intubated | com.moxi.api.ride.intensivecare.Tracheotomized;
|
|
3587
|
+
|
|
3588
|
+
}
|
|
3589
|
+
|
|
3590
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
3591
|
+
|
|
3592
|
+
export type CirculationType = "stable" | "stable_with_catecholamines" | "unstable_with_catecholamines";
|
|
3593
|
+
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3596
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
3597
|
+
|
|
3598
|
+
export type ConsciousnessType = "oriented" | "sleepy" | "unconscious" | "analgo_sedated";
|
|
3599
|
+
|
|
3600
|
+
}
|
|
3601
|
+
|
|
3602
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
3603
|
+
|
|
3604
|
+
export type OralOrNasal = "oral" | "nasal";
|
|
3605
|
+
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3608
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
3609
|
+
|
|
3610
|
+
export type OverweightCategory = "under_100" | "under_120" | "under_130" | "under_150" | "over_150";
|
|
3611
|
+
|
|
3612
|
+
}
|
|
3613
|
+
|
|
3614
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
3615
|
+
|
|
3616
|
+
export type Urgency = "immediate" | "urgent" | "plannable";
|
|
3617
|
+
|
|
3618
|
+
}
|
|
3619
|
+
|
|
3620
|
+
export namespace com.moxi.api.ride.intensivecare {
|
|
3621
|
+
|
|
3622
|
+
export type VentilationType = "pc_cmv" | "vc_cmv" | "bipap_duopap" | "ippv_cppv" | "simv" | "cpap";
|
|
3623
|
+
|
|
3624
|
+
}
|
|
3625
|
+
|
|
3626
|
+
export namespace com.moxi.api.rideseries.common {
|
|
3627
|
+
|
|
3628
|
+
export type SeriesPurpose = "consultation";
|
|
3629
|
+
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3632
|
+
export namespace com.moxi.api.web.common {
|
|
3633
|
+
|
|
3634
|
+
export type Screen = "ping" | "marketplace" | "operations_overview" | "hospital_overview" | "fleet_overview" | "ride_details";
|
|
3635
|
+
|
|
3636
|
+
}
|
|
3637
|
+
|
|
3638
|
+
export namespace com.moxi.api.web.common {
|
|
3639
|
+
|
|
3640
|
+
export type WebsocketMessageUnion = com.moxi.api.web.common.MarketplaceOverviewFilter | com.moxi.api.web.common.HospitalOverviewFilter | com.moxi.api.web.common.FleetOverviewFilter | com.moxi.api.web.common.OperationsOverviewFilter | com.moxi.api.web.common.DetailsFilter | com.moxi.api.web.common.WebsocketPing;
|
|
3641
|
+
|
|
3642
|
+
}
|
|
3643
|
+
|
|
3644
|
+
export namespace com.moxi.api.web.common {
|
|
3645
|
+
|
|
3646
|
+
export type WebsocketUpdateType = "single_update" | "multiple_updates";
|
|
3647
|
+
|
|
3648
|
+
}
|
|
3649
|
+
|
|
3650
|
+
export namespace com.moxi.api.web.common {
|
|
3651
|
+
|
|
3652
|
+
export type WebsocketUpdateUnion = com.moxi.api.web.common.WebsocketSingleUpdate | com.moxi.api.web.common.WebsocketMultipleUpdates;
|
|
3653
|
+
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3656
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3657
|
+
|
|
3658
|
+
export type ActivityType = "ride" | "break" | "maintenance" | "connectingRide";
|
|
3659
|
+
|
|
3660
|
+
}
|
|
3661
|
+
|
|
3662
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3663
|
+
|
|
3664
|
+
export type ActivityUnion = health.moxi.optimizer.common.domain.Ride | health.moxi.optimizer.common.domain.Break | health.moxi.optimizer.common.domain.Maintenance | health.moxi.optimizer.common.domain.ConnectingRide;
|
|
3665
|
+
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3668
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3669
|
+
|
|
3670
|
+
export type OptimizationStatus = "queued" | "in_progress" | "completed" | "failed" | "cancelled";
|
|
3671
|
+
|
|
3672
|
+
}
|
|
3673
|
+
|
|
3674
|
+
export namespace health.moxi.optimizer.common.domain {
|
|
3675
|
+
|
|
3676
|
+
export type VehicleType = "taxi" | "ambulance";
|
|
3677
|
+
|
|
3678
|
+
}
|
|
3679
|
+
|
|
3680
|
+
export namespace health.moxi.optimizer.common.planning {
|
|
3681
|
+
|
|
3682
|
+
export type ConstructionStrategy = "first_fit" | "cheapest_insertion";
|
|
3683
|
+
|
|
3684
|
+
}
|
|
3685
|
+
|
|
3686
|
+
export namespace health.moxi.optimizer.common.planning {
|
|
3687
|
+
|
|
3688
|
+
export type OptimizationMode = "full_optimization" | "magic_squeeze_in";
|
|
3689
|
+
|
|
3690
|
+
}
|
|
3691
|
+
|
|
3692
|
+
export namespace health.moxi.optimizer.common.planning {
|
|
3693
|
+
|
|
3694
|
+
export type SearchStrategy = "vnd" | "tabu_search" | "simulated_annealing";
|
|
3695
|
+
|
|
3696
|
+
}
|