@moxi.gmbh/moxi-typescriptmodels 0.1.191-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.
- package/common.d.ts +4 -90
- 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?:
|
|
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
|
|
169
|
+
export interface CeliosSettings {
|
|
177
170
|
certificate?: string;
|
|
178
171
|
host?: string;
|
|
179
172
|
password?: string;
|
|
@@ -260,7 +253,7 @@ export interface DateRange extends Comparable<DateRange> {
|
|
|
260
253
|
export interface DeleteUser extends UserEdit {
|
|
261
254
|
}
|
|
262
255
|
|
|
263
|
-
export interface DispoliveSettings
|
|
256
|
+
export interface DispoliveSettings {
|
|
264
257
|
key?: string;
|
|
265
258
|
type: "dispolive";
|
|
266
259
|
url?: string;
|
|
@@ -310,20 +303,6 @@ export interface EmailMessage {
|
|
|
310
303
|
tos?: string[];
|
|
311
304
|
}
|
|
312
305
|
|
|
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
306
|
export interface EuropeanHealthInsurance {
|
|
328
307
|
acronym?: string;
|
|
329
308
|
email?: string;
|
|
@@ -335,13 +314,6 @@ export interface EuropeanHealthInsurance {
|
|
|
335
314
|
phone?: string;
|
|
336
315
|
}
|
|
337
316
|
|
|
338
|
-
export interface ExecuteStatement extends AdminJsonType {
|
|
339
|
-
"@type": "executeStatement";
|
|
340
|
-
destination?: Destination;
|
|
341
|
-
requestId?: number;
|
|
342
|
-
statement?: string;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
317
|
export interface Feature {
|
|
346
318
|
geometry?: GeometryUnion;
|
|
347
319
|
properties?: any;
|
|
@@ -490,12 +462,6 @@ export interface GetInsurers {
|
|
|
490
462
|
export interface GetIsoStates {
|
|
491
463
|
}
|
|
492
464
|
|
|
493
|
-
export interface GetMessageAtIndex {
|
|
494
|
-
format?: OutputFormat;
|
|
495
|
-
index?: number;
|
|
496
|
-
messageType?: any;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
465
|
export interface GetMonopolyAccounts {
|
|
500
466
|
}
|
|
501
467
|
|
|
@@ -556,11 +522,6 @@ export interface GetTeam {
|
|
|
556
522
|
teamId?: string;
|
|
557
523
|
}
|
|
558
524
|
|
|
559
|
-
export interface GetThreadDump extends AdminJsonType {
|
|
560
|
-
"@type": "getThreadDump";
|
|
561
|
-
requestId?: number;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
525
|
export interface GetToken {
|
|
565
526
|
tokenId?: string;
|
|
566
527
|
}
|
|
@@ -597,10 +558,6 @@ export interface Insurer {
|
|
|
597
558
|
name?: string;
|
|
598
559
|
}
|
|
599
560
|
|
|
600
|
-
export interface IntegrationSettings<T> {
|
|
601
|
-
type: "celios" | "dispolive";
|
|
602
|
-
}
|
|
603
|
-
|
|
604
561
|
export interface Invite {
|
|
605
562
|
accountId?: string;
|
|
606
563
|
invitedBy?: string;
|
|
@@ -627,9 +584,6 @@ export interface IsoState {
|
|
|
627
584
|
nutsCode?: string;
|
|
628
585
|
}
|
|
629
586
|
|
|
630
|
-
export interface MustacheModel {
|
|
631
|
-
}
|
|
632
|
-
|
|
633
587
|
export interface NutsDistrict {
|
|
634
588
|
code?: string;
|
|
635
589
|
name?: string;
|
|
@@ -676,13 +630,6 @@ export interface PersonDimensions {
|
|
|
676
630
|
export interface PhoneNumber {
|
|
677
631
|
}
|
|
678
632
|
|
|
679
|
-
export interface QueryDatabase extends AdminJsonType {
|
|
680
|
-
"@type": "queryDatabase";
|
|
681
|
-
destination?: Destination;
|
|
682
|
-
query?: string;
|
|
683
|
-
requestId?: number;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
633
|
export interface Region {
|
|
687
634
|
nutsCode?: string;
|
|
688
635
|
}
|
|
@@ -746,9 +693,6 @@ export interface RequestUserReset {
|
|
|
746
693
|
email?: string;
|
|
747
694
|
}
|
|
748
695
|
|
|
749
|
-
export interface ResetRideSearch {
|
|
750
|
-
}
|
|
751
|
-
|
|
752
696
|
export interface RevokeAccountPermission extends AccountPermissionCommand {
|
|
753
697
|
}
|
|
754
698
|
|
|
@@ -953,7 +897,7 @@ export interface SendSlack {
|
|
|
953
897
|
}
|
|
954
898
|
|
|
955
899
|
export interface SetSettings extends AccountUpdate {
|
|
956
|
-
settings?:
|
|
900
|
+
settings?: any;
|
|
957
901
|
}
|
|
958
902
|
|
|
959
903
|
export interface SetUserPassword {
|
|
@@ -979,12 +923,6 @@ export interface SignUpUser {
|
|
|
979
923
|
userId?: string;
|
|
980
924
|
}
|
|
981
925
|
|
|
982
|
-
export interface StartSchedule {
|
|
983
|
-
deadline?: string;
|
|
984
|
-
payload?: any;
|
|
985
|
-
scheduleId?: string;
|
|
986
|
-
}
|
|
987
|
-
|
|
988
926
|
export interface StopImpersonatingUser {
|
|
989
927
|
}
|
|
990
928
|
|
|
@@ -1024,16 +962,6 @@ export interface TeamUpdate extends AccountUpdate {
|
|
|
1024
962
|
teamId?: string;
|
|
1025
963
|
}
|
|
1026
964
|
|
|
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
965
|
export interface TimeRange extends Comparable<TimeRange> {
|
|
1038
966
|
end?: string;
|
|
1039
967
|
start?: string;
|
|
@@ -1043,12 +971,6 @@ export interface TimedPermission {
|
|
|
1043
971
|
timeRange?: InstantRange;
|
|
1044
972
|
}
|
|
1045
973
|
|
|
1046
|
-
export interface ToggleAdminEndpoint extends AdminJsonType {
|
|
1047
|
-
"@type": "toggleAdminEndpoint";
|
|
1048
|
-
enable?: boolean;
|
|
1049
|
-
requestId?: number;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
974
|
export interface Token {
|
|
1053
975
|
accountPermission?: AccountPermission;
|
|
1054
976
|
createdBy?: string;
|
|
@@ -1141,14 +1063,10 @@ export interface ZonedTimeRange extends Comparable<ZonedTimeRange> {
|
|
|
1141
1063
|
|
|
1142
1064
|
export type AccountRole = "rideplanner" | "driveplanner" | "admin" | "owner";
|
|
1143
1065
|
|
|
1144
|
-
export type AdminJsonTypeUnion = ToggleAdminEndpoint | GetThreadDump | QueryDatabase | ExecuteStatement;
|
|
1145
|
-
|
|
1146
1066
|
export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
|
|
1147
1067
|
|
|
1148
1068
|
export type BookingStatus = "saved" | "booked" | "accepted" | "started" | "completed" | "cancelled";
|
|
1149
1069
|
|
|
1150
|
-
export type Destination = "DEFAULT" | "SEARCH";
|
|
1151
|
-
|
|
1152
1070
|
export type Direction = "admission" | "relocation" | "discharge";
|
|
1153
1071
|
|
|
1154
1072
|
export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
|
|
@@ -1157,14 +1075,10 @@ export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
|
|
|
1157
1075
|
|
|
1158
1076
|
export type InsuranceType = "public_insurance" | "private_insurance" | "german_accident_insurance" | "no_or_unknown_insurance";
|
|
1159
1077
|
|
|
1160
|
-
export type IntegrationSettingsUnion<T> = DispoliveSettings | CeliosSettings;
|
|
1161
|
-
|
|
1162
1078
|
export type IntegrationType = "dispolive" | "celios";
|
|
1163
1079
|
|
|
1164
1080
|
export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "lying_down";
|
|
1165
1081
|
|
|
1166
|
-
export type OutputFormat = "PAYLOAD" | "MESSAGE" | "SERIALIZED_MESSAGE";
|
|
1167
|
-
|
|
1168
1082
|
export type RideType = "taxi" | "ambulance";
|
|
1169
1083
|
|
|
1170
1084
|
export type RideTypeSpecificFilterUnion = AmbulanceFilter | TaxiFilter;
|
package/package.json
CHANGED