@moxi.gmbh/moxi-typescriptmodels 0.1.181-test-server → 0.1.181
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common.d.ts +48 -89
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export interface Account {
|
|
|
17
17
|
criticalInfo?: CriticalAccountInfo;
|
|
18
18
|
drivePermissions?: DrivePermission[];
|
|
19
19
|
info?: AccountInfo;
|
|
20
|
+
integrationSettings?: any[];
|
|
20
21
|
subscriptions?: Subscription[];
|
|
21
22
|
teams?: Team[];
|
|
22
23
|
unconfirmedCriticalInfo?: CriticalAccountInfo;
|
|
@@ -91,18 +92,11 @@ export interface AddressInfo {
|
|
|
91
92
|
export interface AdminConfirmUser extends UserUpdateAfterSignup {
|
|
92
93
|
}
|
|
93
94
|
|
|
94
|
-
export interface AdminJsonType {
|
|
95
|
-
"@type": "executeStatement" | "getThreadDump" | "queryDatabase" | "toggleAdminEndpoint";
|
|
96
|
-
}
|
|
97
|
-
|
|
98
95
|
export interface AdminSetUserPassword {
|
|
99
96
|
password?: string;
|
|
100
97
|
userId?: string;
|
|
101
98
|
}
|
|
102
99
|
|
|
103
|
-
export interface AdminWebsocketClient {
|
|
104
|
-
}
|
|
105
|
-
|
|
106
100
|
export interface AmbulanceFilter extends RideTypeSpecificFilter {
|
|
107
101
|
heavyWeightAllowed?: boolean;
|
|
108
102
|
type: "ambulance";
|
|
@@ -172,6 +166,15 @@ export interface CancelRide extends RidePlannerCommand {
|
|
|
172
166
|
reason?: string;
|
|
173
167
|
}
|
|
174
168
|
|
|
169
|
+
export interface CeliosSettings {
|
|
170
|
+
certificate?: string;
|
|
171
|
+
host?: string;
|
|
172
|
+
password?: string;
|
|
173
|
+
port?: string;
|
|
174
|
+
type: "celios";
|
|
175
|
+
user?: string;
|
|
176
|
+
}
|
|
177
|
+
|
|
175
178
|
export interface ChangeUserPassword {
|
|
176
179
|
newPassword?: string;
|
|
177
180
|
oldPassword?: string;
|
|
@@ -182,9 +185,6 @@ export interface CheckIfUserSignedUp {
|
|
|
182
185
|
userId?: string;
|
|
183
186
|
}
|
|
184
187
|
|
|
185
|
-
export interface Comparable<T> {
|
|
186
|
-
}
|
|
187
|
-
|
|
188
188
|
export interface ConfirmAccount extends AccountCommand {
|
|
189
189
|
}
|
|
190
190
|
|
|
@@ -214,7 +214,7 @@ export interface CreateAccount extends AccountCommand {
|
|
|
214
214
|
criticalInfo?: CriticalAccountInfo;
|
|
215
215
|
info?: AccountInfo;
|
|
216
216
|
owner?: string;
|
|
217
|
-
requestService?:
|
|
217
|
+
requestService?: StandaloneService;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
export interface CreateRideCommand extends RidePlannerCommand {
|
|
@@ -242,7 +242,7 @@ export interface CriticalAccountInfo {
|
|
|
242
242
|
name?: string;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
export interface DateRange
|
|
245
|
+
export interface DateRange {
|
|
246
246
|
end?: string;
|
|
247
247
|
start?: string;
|
|
248
248
|
}
|
|
@@ -250,6 +250,12 @@ export interface DateRange extends Comparable<DateRange> {
|
|
|
250
250
|
export interface DeleteUser extends UserEdit {
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
+
export interface DispoliveSettings {
|
|
254
|
+
key?: string;
|
|
255
|
+
type: "dispolive";
|
|
256
|
+
url?: string;
|
|
257
|
+
}
|
|
258
|
+
|
|
253
259
|
export interface District {
|
|
254
260
|
info?: DistrictInfo;
|
|
255
261
|
polygons?: any[];
|
|
@@ -277,6 +283,12 @@ export interface DrivePermission {
|
|
|
277
283
|
}
|
|
278
284
|
|
|
279
285
|
export interface DrivePermissionInfo {
|
|
286
|
+
filter?: RideTypeSpecificFilterUnion;
|
|
287
|
+
monopoly?: boolean;
|
|
288
|
+
regions?: Region[];
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export interface DrivePermissionInfoRequest {
|
|
280
292
|
filter?: RideTypeSpecificFilterUnion;
|
|
281
293
|
regions?: Region[];
|
|
282
294
|
}
|
|
@@ -293,20 +305,6 @@ export interface EmailMessage {
|
|
|
293
305
|
tos?: string[];
|
|
294
306
|
}
|
|
295
307
|
|
|
296
|
-
export interface EmailModel extends MustacheModel {
|
|
297
|
-
attachments?: Attachment[];
|
|
298
|
-
subjectTemplate?: Template;
|
|
299
|
-
tos?: string[];
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
export interface EmailStylingModel extends MustacheModel {
|
|
303
|
-
htmlContent?: string;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
export interface EncryptValue {
|
|
307
|
-
value?: string;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
308
|
export interface EuropeanHealthInsurance {
|
|
311
309
|
acronym?: string;
|
|
312
310
|
email?: string;
|
|
@@ -318,13 +316,6 @@ export interface EuropeanHealthInsurance {
|
|
|
318
316
|
phone?: string;
|
|
319
317
|
}
|
|
320
318
|
|
|
321
|
-
export interface ExecuteStatement extends AdminJsonType {
|
|
322
|
-
"@type": "executeStatement";
|
|
323
|
-
destination?: Destination;
|
|
324
|
-
requestId?: number;
|
|
325
|
-
statement?: string;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
319
|
export interface Feature {
|
|
329
320
|
geometry?: GeometryUnion;
|
|
330
321
|
properties?: any;
|
|
@@ -473,10 +464,7 @@ export interface GetInsurers {
|
|
|
473
464
|
export interface GetIsoStates {
|
|
474
465
|
}
|
|
475
466
|
|
|
476
|
-
export interface
|
|
477
|
-
format?: OutputFormat;
|
|
478
|
-
index?: number;
|
|
479
|
-
messageType?: any;
|
|
467
|
+
export interface GetMonopolyAccounts {
|
|
480
468
|
}
|
|
481
469
|
|
|
482
470
|
export interface GetMyAccounts {
|
|
@@ -536,11 +524,6 @@ export interface GetTeam {
|
|
|
536
524
|
teamId?: string;
|
|
537
525
|
}
|
|
538
526
|
|
|
539
|
-
export interface GetThreadDump extends AdminJsonType {
|
|
540
|
-
"@type": "getThreadDump";
|
|
541
|
-
requestId?: number;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
527
|
export interface GetToken {
|
|
545
528
|
tokenId?: string;
|
|
546
529
|
}
|
|
@@ -567,7 +550,7 @@ export interface ImpersonateUser {
|
|
|
567
550
|
userId?: string;
|
|
568
551
|
}
|
|
569
552
|
|
|
570
|
-
export interface InstantRange
|
|
553
|
+
export interface InstantRange {
|
|
571
554
|
end?: string;
|
|
572
555
|
start?: string;
|
|
573
556
|
}
|
|
@@ -603,9 +586,6 @@ export interface IsoState {
|
|
|
603
586
|
nutsCode?: string;
|
|
604
587
|
}
|
|
605
588
|
|
|
606
|
-
export interface MustacheModel {
|
|
607
|
-
}
|
|
608
|
-
|
|
609
589
|
export interface NutsDistrict {
|
|
610
590
|
code?: string;
|
|
611
591
|
name?: string;
|
|
@@ -623,7 +603,7 @@ export interface NutsSubState {
|
|
|
623
603
|
name?: string;
|
|
624
604
|
}
|
|
625
605
|
|
|
626
|
-
export interface OffsetTimeRange
|
|
606
|
+
export interface OffsetTimeRange {
|
|
627
607
|
end?: Date;
|
|
628
608
|
start?: Date;
|
|
629
609
|
}
|
|
@@ -652,13 +632,6 @@ export interface PersonDimensions {
|
|
|
652
632
|
export interface PhoneNumber {
|
|
653
633
|
}
|
|
654
634
|
|
|
655
|
-
export interface QueryDatabase extends AdminJsonType {
|
|
656
|
-
"@type": "queryDatabase";
|
|
657
|
-
destination?: Destination;
|
|
658
|
-
query?: string;
|
|
659
|
-
requestId?: number;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
635
|
export interface Region {
|
|
663
636
|
nutsCode?: string;
|
|
664
637
|
}
|
|
@@ -679,9 +652,18 @@ export interface RegisterDriveStatus extends FleetModifyCommand {
|
|
|
679
652
|
export interface RegisterDriverSynced extends FleetModifyCommand {
|
|
680
653
|
}
|
|
681
654
|
|
|
655
|
+
export interface RegisterEinsatz {
|
|
656
|
+
einsatzNumber?: string;
|
|
657
|
+
rideId?: string;
|
|
658
|
+
}
|
|
659
|
+
|
|
682
660
|
export interface RemoveAccount extends AccountUpdate {
|
|
683
661
|
}
|
|
684
662
|
|
|
663
|
+
export interface RemoveSettings extends AccountUpdate {
|
|
664
|
+
type?: IntegrationType;
|
|
665
|
+
}
|
|
666
|
+
|
|
685
667
|
export interface RemoveTeam extends TeamUpdate {
|
|
686
668
|
}
|
|
687
669
|
|
|
@@ -696,7 +678,7 @@ export interface ReportIssue {
|
|
|
696
678
|
|
|
697
679
|
export interface RequestDrivePermission extends AccountUpdate {
|
|
698
680
|
drivePermissionId?: string;
|
|
699
|
-
info?:
|
|
681
|
+
info?: DrivePermissionInfoRequest;
|
|
700
682
|
}
|
|
701
683
|
|
|
702
684
|
export interface RequestSubscription extends AccountUpdate {
|
|
@@ -708,9 +690,6 @@ export interface RequestUserReset {
|
|
|
708
690
|
email?: string;
|
|
709
691
|
}
|
|
710
692
|
|
|
711
|
-
export interface ResetRideSearch {
|
|
712
|
-
}
|
|
713
|
-
|
|
714
693
|
export interface RevokeAccountPermission extends AccountPermissionCommand {
|
|
715
694
|
}
|
|
716
695
|
|
|
@@ -914,6 +893,10 @@ export interface SendSlack {
|
|
|
914
893
|
message?: string;
|
|
915
894
|
}
|
|
916
895
|
|
|
896
|
+
export interface SetSettings extends AccountUpdate {
|
|
897
|
+
settings?: any;
|
|
898
|
+
}
|
|
899
|
+
|
|
917
900
|
export interface SetUserPassword {
|
|
918
901
|
confirmationCode?: string;
|
|
919
902
|
password?: string;
|
|
@@ -937,12 +920,6 @@ export interface SignUpUser {
|
|
|
937
920
|
userId?: string;
|
|
938
921
|
}
|
|
939
922
|
|
|
940
|
-
export interface StartSchedule {
|
|
941
|
-
deadline?: string;
|
|
942
|
-
payload?: any;
|
|
943
|
-
scheduleId?: string;
|
|
944
|
-
}
|
|
945
|
-
|
|
946
923
|
export interface StopImpersonatingUser {
|
|
947
924
|
}
|
|
948
925
|
|
|
@@ -982,17 +959,7 @@ export interface TeamUpdate extends AccountUpdate {
|
|
|
982
959
|
teamId?: string;
|
|
983
960
|
}
|
|
984
961
|
|
|
985
|
-
export interface
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
export interface TestReverseProxy {
|
|
989
|
-
headers?: { [index: string]: string[] };
|
|
990
|
-
method?: any;
|
|
991
|
-
payload?: any;
|
|
992
|
-
url?: string;
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
export interface TimeRange extends Comparable<TimeRange> {
|
|
962
|
+
export interface TimeRange {
|
|
996
963
|
end?: string;
|
|
997
964
|
start?: string;
|
|
998
965
|
}
|
|
@@ -1001,12 +968,6 @@ export interface TimedPermission {
|
|
|
1001
968
|
timeRange?: InstantRange;
|
|
1002
969
|
}
|
|
1003
970
|
|
|
1004
|
-
export interface ToggleAdminEndpoint extends AdminJsonType {
|
|
1005
|
-
"@type": "toggleAdminEndpoint";
|
|
1006
|
-
enable?: boolean;
|
|
1007
|
-
requestId?: number;
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
971
|
export interface Token {
|
|
1011
972
|
accountPermission?: AccountPermission;
|
|
1012
973
|
createdBy?: string;
|
|
@@ -1092,21 +1053,17 @@ export interface UserUpdate extends UserCommand {
|
|
|
1092
1053
|
export interface UserUpdateAfterSignup extends UserUpdate {
|
|
1093
1054
|
}
|
|
1094
1055
|
|
|
1095
|
-
export interface ZonedTimeRange
|
|
1056
|
+
export interface ZonedTimeRange {
|
|
1096
1057
|
end?: Date;
|
|
1097
1058
|
start?: Date;
|
|
1098
1059
|
}
|
|
1099
1060
|
|
|
1100
1061
|
export type AccountRole = "rideplanner" | "driveplanner" | "admin" | "owner";
|
|
1101
1062
|
|
|
1102
|
-
export type AdminJsonTypeUnion = ToggleAdminEndpoint | GetThreadDump | QueryDatabase | ExecuteStatement;
|
|
1103
|
-
|
|
1104
1063
|
export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
|
|
1105
1064
|
|
|
1106
1065
|
export type BookingStatus = "saved" | "booked" | "accepted" | "started" | "completed" | "cancelled";
|
|
1107
1066
|
|
|
1108
|
-
export type Destination = "DEFAULT" | "SEARCH";
|
|
1109
|
-
|
|
1110
1067
|
export type Direction = "admission" | "relocation" | "discharge";
|
|
1111
1068
|
|
|
1112
1069
|
export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
|
|
@@ -1115,18 +1072,20 @@ export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
|
|
|
1115
1072
|
|
|
1116
1073
|
export type InsuranceType = "public_insurance" | "private_insurance" | "german_accident_insurance" | "no_or_unknown_insurance";
|
|
1117
1074
|
|
|
1118
|
-
export type
|
|
1075
|
+
export type IntegrationType = "dispolive" | "celios";
|
|
1119
1076
|
|
|
1120
|
-
export type
|
|
1077
|
+
export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "lying_down";
|
|
1121
1078
|
|
|
1122
1079
|
export type RideType = "taxi" | "ambulance";
|
|
1123
1080
|
|
|
1124
1081
|
export type RideTypeSpecificFilterUnion = AmbulanceFilter | TaxiFilter;
|
|
1125
1082
|
|
|
1126
|
-
export type Service = "rideplanning" | "driveplanning";
|
|
1083
|
+
export type Service = "rideplanning" | "driveplanning" | "celios_integration" | "dispolive_integration";
|
|
1127
1084
|
|
|
1128
1085
|
export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour" | "admin_reported_issues";
|
|
1129
1086
|
|
|
1087
|
+
export type StandaloneService = "rideplanning" | "driveplanning";
|
|
1088
|
+
|
|
1130
1089
|
export type SyncStatus = "not_synced" | "synced" | "update_not_synced";
|
|
1131
1090
|
|
|
1132
1091
|
export type TeamRole = "driveplanner" | "rideplanner";
|
package/package.json
CHANGED