@moxi.gmbh/moxi-typescriptmodels 0.1.191-test-server → 0.1.191

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 +15 -104
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -17,7 +17,7 @@ export interface Account {
17
17
  criticalInfo?: CriticalAccountInfo;
18
18
  drivePermissions?: DrivePermission[];
19
19
  info?: AccountInfo;
20
- integrationSettings?: IntegrationSettingsUnion<any>[];
20
+ integrationSettings?: any[];
21
21
  subscriptions?: Subscription[];
22
22
  teams?: Team[];
23
23
  unconfirmedCriticalInfo?: CriticalAccountInfo;
@@ -92,18 +92,11 @@ export interface AddressInfo {
92
92
  export interface AdminConfirmUser extends UserUpdateAfterSignup {
93
93
  }
94
94
 
95
- export interface AdminJsonType {
96
- "@type": "executeStatement" | "getThreadDump" | "queryDatabase" | "toggleAdminEndpoint";
97
- }
98
-
99
95
  export interface AdminSetUserPassword {
100
96
  password?: string;
101
97
  userId?: string;
102
98
  }
103
99
 
104
- export interface AdminWebsocketClient {
105
- }
106
-
107
100
  export interface AmbulanceFilter extends RideTypeSpecificFilter {
108
101
  heavyWeightAllowed?: boolean;
109
102
  type: "ambulance";
@@ -173,7 +166,7 @@ export interface CancelRide extends RidePlannerCommand {
173
166
  reason?: string;
174
167
  }
175
168
 
176
- export interface CeliosSettings extends IntegrationSettingsUnion<CeliosSettings> {
169
+ export interface CeliosSettings {
177
170
  certificate?: string;
178
171
  host?: string;
179
172
  password?: string;
@@ -192,9 +185,6 @@ export interface CheckIfUserSignedUp {
192
185
  userId?: string;
193
186
  }
194
187
 
195
- export interface Comparable<T> {
196
- }
197
-
198
188
  export interface ConfirmAccount extends AccountCommand {
199
189
  }
200
190
 
@@ -252,7 +242,7 @@ export interface CriticalAccountInfo {
252
242
  name?: string;
253
243
  }
254
244
 
255
- export interface DateRange extends Comparable<DateRange> {
245
+ export interface DateRange {
256
246
  end?: string;
257
247
  start?: string;
258
248
  }
@@ -260,7 +250,7 @@ export interface DateRange extends Comparable<DateRange> {
260
250
  export interface DeleteUser extends UserEdit {
261
251
  }
262
252
 
263
- export interface DispoliveSettings extends IntegrationSettingsUnion<DispoliveSettings> {
253
+ export interface DispoliveSettings {
264
254
  key?: string;
265
255
  type: "dispolive";
266
256
  url?: string;
@@ -298,6 +288,11 @@ export interface DrivePermissionInfo {
298
288
  regions?: Region[];
299
289
  }
300
290
 
291
+ export interface DrivePermissionInfoRequest {
292
+ filter?: RideTypeSpecificFilterUnion;
293
+ regions?: Region[];
294
+ }
295
+
301
296
  export interface EmailMessage {
302
297
  attachments?: Attachment[];
303
298
  bccs?: string[];
@@ -310,20 +305,6 @@ export interface EmailMessage {
310
305
  tos?: string[];
311
306
  }
312
307
 
313
- export interface EmailModel extends MustacheModel {
314
- attachments?: Attachment[];
315
- subjectTemplate?: Template;
316
- tos?: string[];
317
- }
318
-
319
- export interface EmailStylingModel extends MustacheModel {
320
- htmlContent?: string;
321
- }
322
-
323
- export interface EncryptValue {
324
- value?: string;
325
- }
326
-
327
308
  export interface EuropeanHealthInsurance {
328
309
  acronym?: string;
329
310
  email?: string;
@@ -335,13 +316,6 @@ export interface EuropeanHealthInsurance {
335
316
  phone?: string;
336
317
  }
337
318
 
338
- export interface ExecuteStatement extends AdminJsonType {
339
- "@type": "executeStatement";
340
- destination?: Destination;
341
- requestId?: number;
342
- statement?: string;
343
- }
344
-
345
319
  export interface Feature {
346
320
  geometry?: GeometryUnion;
347
321
  properties?: any;
@@ -490,12 +464,6 @@ export interface GetInsurers {
490
464
  export interface GetIsoStates {
491
465
  }
492
466
 
493
- export interface GetMessageAtIndex {
494
- format?: OutputFormat;
495
- index?: number;
496
- messageType?: any;
497
- }
498
-
499
467
  export interface GetMonopolyAccounts {
500
468
  }
501
469
 
@@ -556,11 +524,6 @@ export interface GetTeam {
556
524
  teamId?: string;
557
525
  }
558
526
 
559
- export interface GetThreadDump extends AdminJsonType {
560
- "@type": "getThreadDump";
561
- requestId?: number;
562
- }
563
-
564
527
  export interface GetToken {
565
528
  tokenId?: string;
566
529
  }
@@ -587,7 +550,7 @@ export interface ImpersonateUser {
587
550
  userId?: string;
588
551
  }
589
552
 
590
- export interface InstantRange extends Comparable<InstantRange> {
553
+ export interface InstantRange {
591
554
  end?: string;
592
555
  start?: string;
593
556
  }
@@ -597,10 +560,6 @@ export interface Insurer {
597
560
  name?: string;
598
561
  }
599
562
 
600
- export interface IntegrationSettings<T> {
601
- type: "celios" | "dispolive";
602
- }
603
-
604
563
  export interface Invite {
605
564
  accountId?: string;
606
565
  invitedBy?: string;
@@ -627,9 +586,6 @@ export interface IsoState {
627
586
  nutsCode?: string;
628
587
  }
629
588
 
630
- export interface MustacheModel {
631
- }
632
-
633
589
  export interface NutsDistrict {
634
590
  code?: string;
635
591
  name?: string;
@@ -647,7 +603,7 @@ export interface NutsSubState {
647
603
  name?: string;
648
604
  }
649
605
 
650
- export interface OffsetTimeRange extends Comparable<OffsetTimeRange> {
606
+ export interface OffsetTimeRange {
651
607
  end?: Date;
652
608
  start?: Date;
653
609
  }
@@ -676,13 +632,6 @@ export interface PersonDimensions {
676
632
  export interface PhoneNumber {
677
633
  }
678
634
 
679
- export interface QueryDatabase extends AdminJsonType {
680
- "@type": "queryDatabase";
681
- destination?: Destination;
682
- query?: string;
683
- requestId?: number;
684
- }
685
-
686
635
  export interface Region {
687
636
  nutsCode?: string;
688
637
  }
@@ -727,14 +676,9 @@ export interface ReportIssue {
727
676
  issue?: string;
728
677
  }
729
678
 
730
- export interface Request {
731
- filter?: RideTypeSpecificFilterUnion;
732
- regions?: Region[];
733
- }
734
-
735
679
  export interface RequestDrivePermission extends AccountUpdate {
736
680
  drivePermissionId?: string;
737
- info?: Request;
681
+ info?: DrivePermissionInfoRequest;
738
682
  }
739
683
 
740
684
  export interface RequestSubscription extends AccountUpdate {
@@ -746,9 +690,6 @@ export interface RequestUserReset {
746
690
  email?: string;
747
691
  }
748
692
 
749
- export interface ResetRideSearch {
750
- }
751
-
752
693
  export interface RevokeAccountPermission extends AccountPermissionCommand {
753
694
  }
754
695
 
@@ -953,7 +894,7 @@ export interface SendSlack {
953
894
  }
954
895
 
955
896
  export interface SetSettings extends AccountUpdate {
956
- settings?: IntegrationSettingsUnion<any>;
897
+ settings?: any;
957
898
  }
958
899
 
959
900
  export interface SetUserPassword {
@@ -979,12 +920,6 @@ export interface SignUpUser {
979
920
  userId?: string;
980
921
  }
981
922
 
982
- export interface StartSchedule {
983
- deadline?: string;
984
- payload?: any;
985
- scheduleId?: string;
986
- }
987
-
988
923
  export interface StopImpersonatingUser {
989
924
  }
990
925
 
@@ -1024,17 +959,7 @@ export interface TeamUpdate extends AccountUpdate {
1024
959
  teamId?: string;
1025
960
  }
1026
961
 
1027
- export interface Template {
1028
- }
1029
-
1030
- export interface TestReverseProxy {
1031
- headers?: { [index: string]: string[] };
1032
- method?: any;
1033
- payload?: any;
1034
- url?: string;
1035
- }
1036
-
1037
- export interface TimeRange extends Comparable<TimeRange> {
962
+ export interface TimeRange {
1038
963
  end?: string;
1039
964
  start?: string;
1040
965
  }
@@ -1043,12 +968,6 @@ export interface TimedPermission {
1043
968
  timeRange?: InstantRange;
1044
969
  }
1045
970
 
1046
- export interface ToggleAdminEndpoint extends AdminJsonType {
1047
- "@type": "toggleAdminEndpoint";
1048
- enable?: boolean;
1049
- requestId?: number;
1050
- }
1051
-
1052
971
  export interface Token {
1053
972
  accountPermission?: AccountPermission;
1054
973
  createdBy?: string;
@@ -1134,21 +1053,17 @@ export interface UserUpdate extends UserCommand {
1134
1053
  export interface UserUpdateAfterSignup extends UserUpdate {
1135
1054
  }
1136
1055
 
1137
- export interface ZonedTimeRange extends Comparable<ZonedTimeRange> {
1056
+ export interface ZonedTimeRange {
1138
1057
  end?: Date;
1139
1058
  start?: Date;
1140
1059
  }
1141
1060
 
1142
1061
  export type AccountRole = "rideplanner" | "driveplanner" | "admin" | "owner";
1143
1062
 
1144
- export type AdminJsonTypeUnion = ToggleAdminEndpoint | GetThreadDump | QueryDatabase | ExecuteStatement;
1145
-
1146
1063
  export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
1147
1064
 
1148
1065
  export type BookingStatus = "saved" | "booked" | "accepted" | "started" | "completed" | "cancelled";
1149
1066
 
1150
- export type Destination = "DEFAULT" | "SEARCH";
1151
-
1152
1067
  export type Direction = "admission" | "relocation" | "discharge";
1153
1068
 
1154
1069
  export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
@@ -1157,14 +1072,10 @@ export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
1157
1072
 
1158
1073
  export type InsuranceType = "public_insurance" | "private_insurance" | "german_accident_insurance" | "no_or_unknown_insurance";
1159
1074
 
1160
- export type IntegrationSettingsUnion<T> = DispoliveSettings | CeliosSettings;
1161
-
1162
1075
  export type IntegrationType = "dispolive" | "celios";
1163
1076
 
1164
1077
  export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "lying_down";
1165
1078
 
1166
- export type OutputFormat = "PAYLOAD" | "MESSAGE" | "SERIALIZED_MESSAGE";
1167
-
1168
1079
  export type RideType = "taxi" | "ambulance";
1169
1080
 
1170
1081
  export type RideTypeSpecificFilterUnion = AmbulanceFilter | TaxiFilter;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.191-test-server",
3
+ "version": "0.1.191",
4
4
  "types": "common.d.ts"
5
5
  }