@moxi.gmbh/moxi-typescriptmodels 0.1.181-test-server → 0.1.201-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.
Files changed (2) hide show
  1. package/common.d.ts +43 -81
  2. 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;
@@ -214,7 +217,7 @@ export interface CreateAccount extends AccountCommand {
214
217
  criticalInfo?: CriticalAccountInfo;
215
218
  info?: AccountInfo;
216
219
  owner?: string;
217
- requestService?: Service;
220
+ requestService?: StandaloneService;
218
221
  }
219
222
 
220
223
  export interface CreateRideCommand extends RidePlannerCommand {
@@ -250,6 +253,12 @@ export interface DateRange extends Comparable<DateRange> {
250
253
  export interface DeleteUser extends UserEdit {
251
254
  }
252
255
 
256
+ export interface DispoliveSettings {
257
+ key?: string;
258
+ type: "dispolive";
259
+ url?: string;
260
+ }
261
+
253
262
  export interface District {
254
263
  info?: DistrictInfo;
255
264
  polygons?: any[];
@@ -278,6 +287,7 @@ export interface DrivePermission {
278
287
 
279
288
  export interface DrivePermissionInfo {
280
289
  filter?: RideTypeSpecificFilterUnion;
290
+ monopoly?: boolean;
281
291
  regions?: Region[];
282
292
  }
283
293
 
@@ -293,20 +303,6 @@ export interface EmailMessage {
293
303
  tos?: string[];
294
304
  }
295
305
 
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
306
  export interface EuropeanHealthInsurance {
311
307
  acronym?: string;
312
308
  email?: string;
@@ -318,13 +314,6 @@ export interface EuropeanHealthInsurance {
318
314
  phone?: string;
319
315
  }
320
316
 
321
- export interface ExecuteStatement extends AdminJsonType {
322
- "@type": "executeStatement";
323
- destination?: Destination;
324
- requestId?: number;
325
- statement?: string;
326
- }
327
-
328
317
  export interface Feature {
329
318
  geometry?: GeometryUnion;
330
319
  properties?: any;
@@ -473,10 +462,7 @@ export interface GetInsurers {
473
462
  export interface GetIsoStates {
474
463
  }
475
464
 
476
- export interface GetMessageAtIndex {
477
- format?: OutputFormat;
478
- index?: number;
479
- messageType?: any;
465
+ export interface GetMonopolyAccounts {
480
466
  }
481
467
 
482
468
  export interface GetMyAccounts {
@@ -536,11 +522,6 @@ export interface GetTeam {
536
522
  teamId?: string;
537
523
  }
538
524
 
539
- export interface GetThreadDump extends AdminJsonType {
540
- "@type": "getThreadDump";
541
- requestId?: number;
542
- }
543
-
544
525
  export interface GetToken {
545
526
  tokenId?: string;
546
527
  }
@@ -603,9 +584,6 @@ export interface IsoState {
603
584
  nutsCode?: string;
604
585
  }
605
586
 
606
- export interface MustacheModel {
607
- }
608
-
609
587
  export interface NutsDistrict {
610
588
  code?: string;
611
589
  name?: string;
@@ -652,13 +630,6 @@ export interface PersonDimensions {
652
630
  export interface PhoneNumber {
653
631
  }
654
632
 
655
- export interface QueryDatabase extends AdminJsonType {
656
- "@type": "queryDatabase";
657
- destination?: Destination;
658
- query?: string;
659
- requestId?: number;
660
- }
661
-
662
633
  export interface Region {
663
634
  nutsCode?: string;
664
635
  }
@@ -679,9 +650,18 @@ export interface RegisterDriveStatus extends FleetModifyCommand {
679
650
  export interface RegisterDriverSynced extends FleetModifyCommand {
680
651
  }
681
652
 
653
+ export interface RegisterEinsatz {
654
+ einsatzNumber?: string;
655
+ rideId?: string;
656
+ }
657
+
682
658
  export interface RemoveAccount extends AccountUpdate {
683
659
  }
684
660
 
661
+ export interface RemoveSettings extends AccountUpdate {
662
+ type?: IntegrationType;
663
+ }
664
+
685
665
  export interface RemoveTeam extends TeamUpdate {
686
666
  }
687
667
 
@@ -694,9 +674,14 @@ export interface ReportIssue {
694
674
  issue?: string;
695
675
  }
696
676
 
677
+ export interface Request {
678
+ filter?: RideTypeSpecificFilterUnion;
679
+ regions?: Region[];
680
+ }
681
+
697
682
  export interface RequestDrivePermission extends AccountUpdate {
698
683
  drivePermissionId?: string;
699
- info?: DrivePermissionInfo;
684
+ info?: Request;
700
685
  }
701
686
 
702
687
  export interface RequestSubscription extends AccountUpdate {
@@ -708,9 +693,6 @@ export interface RequestUserReset {
708
693
  email?: string;
709
694
  }
710
695
 
711
- export interface ResetRideSearch {
712
- }
713
-
714
696
  export interface RevokeAccountPermission extends AccountPermissionCommand {
715
697
  }
716
698
 
@@ -914,6 +896,10 @@ export interface SendSlack {
914
896
  message?: string;
915
897
  }
916
898
 
899
+ export interface SetSettings extends AccountUpdate {
900
+ settings?: any;
901
+ }
902
+
917
903
  export interface SetUserPassword {
918
904
  confirmationCode?: string;
919
905
  password?: string;
@@ -937,12 +923,6 @@ export interface SignUpUser {
937
923
  userId?: string;
938
924
  }
939
925
 
940
- export interface StartSchedule {
941
- deadline?: string;
942
- payload?: any;
943
- scheduleId?: string;
944
- }
945
-
946
926
  export interface StopImpersonatingUser {
947
927
  }
948
928
 
@@ -982,16 +962,6 @@ export interface TeamUpdate extends AccountUpdate {
982
962
  teamId?: string;
983
963
  }
984
964
 
985
- export interface Template {
986
- }
987
-
988
- export interface TestReverseProxy {
989
- headers?: { [index: string]: string[] };
990
- method?: any;
991
- payload?: any;
992
- url?: string;
993
- }
994
-
995
965
  export interface TimeRange extends Comparable<TimeRange> {
996
966
  end?: string;
997
967
  start?: string;
@@ -1001,12 +971,6 @@ export interface TimedPermission {
1001
971
  timeRange?: InstantRange;
1002
972
  }
1003
973
 
1004
- export interface ToggleAdminEndpoint extends AdminJsonType {
1005
- "@type": "toggleAdminEndpoint";
1006
- enable?: boolean;
1007
- requestId?: number;
1008
- }
1009
-
1010
974
  export interface Token {
1011
975
  accountPermission?: AccountPermission;
1012
976
  createdBy?: string;
@@ -1099,14 +1063,10 @@ export interface ZonedTimeRange extends Comparable<ZonedTimeRange> {
1099
1063
 
1100
1064
  export type AccountRole = "rideplanner" | "driveplanner" | "admin" | "owner";
1101
1065
 
1102
- export type AdminJsonTypeUnion = ToggleAdminEndpoint | GetThreadDump | QueryDatabase | ExecuteStatement;
1103
-
1104
1066
  export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
1105
1067
 
1106
1068
  export type BookingStatus = "saved" | "booked" | "accepted" | "started" | "completed" | "cancelled";
1107
1069
 
1108
- export type Destination = "DEFAULT" | "SEARCH";
1109
-
1110
1070
  export type Direction = "admission" | "relocation" | "discharge";
1111
1071
 
1112
1072
  export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
@@ -1115,18 +1075,20 @@ export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
1115
1075
 
1116
1076
  export type InsuranceType = "public_insurance" | "private_insurance" | "german_accident_insurance" | "no_or_unknown_insurance";
1117
1077
 
1118
- export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "lying_down";
1078
+ export type IntegrationType = "dispolive" | "celios";
1119
1079
 
1120
- export type OutputFormat = "PAYLOAD" | "MESSAGE" | "SERIALIZED_MESSAGE";
1080
+ export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "lying_down";
1121
1081
 
1122
1082
  export type RideType = "taxi" | "ambulance";
1123
1083
 
1124
1084
  export type RideTypeSpecificFilterUnion = AmbulanceFilter | TaxiFilter;
1125
1085
 
1126
- export type Service = "rideplanning" | "driveplanning";
1086
+ export type Service = "rideplanning" | "driveplanning" | "celios_integration" | "dispolive_integration";
1127
1087
 
1128
1088
  export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour" | "admin_reported_issues";
1129
1089
 
1090
+ export type StandaloneService = "rideplanning" | "driveplanning";
1091
+
1130
1092
  export type SyncStatus = "not_synced" | "synced" | "update_not_synced";
1131
1093
 
1132
1094
  export type TeamRole = "driveplanner" | "rideplanner";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.181-test-server",
3
+ "version": "0.1.201-test-server",
4
4
  "types": "common.d.ts"
5
5
  }