@moxi.gmbh/moxi-typescriptmodels 0.28.0 → 0.29.0
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 +30 -6
- package/common.d.ts +22 -6
- package/package.json +1 -1
|
@@ -151,6 +151,14 @@ export namespace com.moxi.api.account {
|
|
|
151
151
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
+
export namespace com.moxi.api.account {
|
|
155
|
+
|
|
156
|
+
export interface Toggle2FA extends com.moxi.api.account.AccountUpdate {
|
|
157
|
+
disable2FA?: boolean;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
}
|
|
161
|
+
|
|
154
162
|
export namespace com.moxi.api.account {
|
|
155
163
|
|
|
156
164
|
export interface UpdateAccountInfo extends com.moxi.api.account.AccountUpdate {
|
|
@@ -175,6 +183,7 @@ export namespace com.moxi.api.account.common {
|
|
|
175
183
|
activeServices?: com.moxi.api.permissions.subscription.common.Service[];
|
|
176
184
|
confirmed?: boolean;
|
|
177
185
|
criticalInfo?: com.moxi.api.account.common.CriticalAccountInfo;
|
|
186
|
+
disable2FA?: boolean;
|
|
178
187
|
drivePermissions?: com.moxi.api.permissions.drive.common.DrivePermission[];
|
|
179
188
|
info?: com.moxi.api.account.common.AccountInfo;
|
|
180
189
|
integrationSettings?: any[];
|
|
@@ -319,7 +328,6 @@ export namespace com.moxi.api.authentication {
|
|
|
319
328
|
export namespace com.moxi.api.authentication {
|
|
320
329
|
|
|
321
330
|
export interface ConfirmUser {
|
|
322
|
-
activateOneTimePassword?: boolean;
|
|
323
331
|
token?: string;
|
|
324
332
|
userId?: string;
|
|
325
333
|
}
|
|
@@ -406,7 +414,6 @@ export namespace com.moxi.api.authentication {
|
|
|
406
414
|
export namespace com.moxi.api.authentication {
|
|
407
415
|
|
|
408
416
|
export interface SignInUser {
|
|
409
|
-
activateOneTimePassword?: boolean;
|
|
410
417
|
password?: string;
|
|
411
418
|
userId?: string;
|
|
412
419
|
}
|
|
@@ -416,7 +423,6 @@ export namespace com.moxi.api.authentication {
|
|
|
416
423
|
export namespace com.moxi.api.authentication {
|
|
417
424
|
|
|
418
425
|
export interface SignUpUser {
|
|
419
|
-
activateOneTimePassword?: boolean;
|
|
420
426
|
email?: string;
|
|
421
427
|
info?: com.moxi.api.user.common.UserInfo;
|
|
422
428
|
inviteToken?: string;
|
|
@@ -1897,6 +1903,10 @@ export namespace com.moxi.api.ride.common {
|
|
|
1897
1903
|
* Ride information specific for regular taxi or ambulance rides.
|
|
1898
1904
|
*/
|
|
1899
1905
|
export interface RegularRideInfo extends com.moxi.api.ride.common.RideInfo {
|
|
1906
|
+
/**
|
|
1907
|
+
* A ride is considered 'light' when it is type taxi, discharge and has no mobility issues. <br>For these rides, there are exceptions to certain validation rules. <br>For instance the patient details are optional, and the destination of the ride is optional.
|
|
1908
|
+
*/
|
|
1909
|
+
lightTaxiRide?: boolean;
|
|
1900
1910
|
vehicleType: "taxi";
|
|
1901
1911
|
}
|
|
1902
1912
|
|
|
@@ -1954,13 +1964,21 @@ export namespace com.moxi.api.ride.common {
|
|
|
1954
1964
|
*/
|
|
1955
1965
|
dayOfWeek?: com.moxi.api.common.Weekday;
|
|
1956
1966
|
/**
|
|
1957
|
-
* 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.
|
|
1967
|
+
* 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.Can be null for light taxi rides.
|
|
1958
1968
|
*/
|
|
1959
1969
|
desiredEndTime?: string;
|
|
1960
1970
|
/**
|
|
1961
|
-
*
|
|
1971
|
+
* This field's value is a convenience field to give you desiredEndTime, or else desiredStartTimeOrNow.
|
|
1972
|
+
*/
|
|
1973
|
+
desiredEndTimeOrNow?: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* 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. Can be null for light taxi rides.
|
|
1962
1976
|
*/
|
|
1963
1977
|
desiredStartTime?: string;
|
|
1978
|
+
/**
|
|
1979
|
+
* This field's value is a convenience field to give you desiredStartTime, or else bookedTime, or else 'now'.
|
|
1980
|
+
*/
|
|
1981
|
+
desiredStartTimeOrNow?: string;
|
|
1964
1982
|
driveStatus?: com.moxi.api.ride.common.DriveStatus;
|
|
1965
1983
|
driverReview?: com.moxi.api.ride.common.Review;
|
|
1966
1984
|
driverSyncStatus?: com.moxi.api.ride.common.SyncStatus;
|
|
@@ -3530,6 +3548,12 @@ export namespace com.moxi.api.common {
|
|
|
3530
3548
|
|
|
3531
3549
|
}
|
|
3532
3550
|
|
|
3551
|
+
export namespace com.moxi.api.common {
|
|
3552
|
+
|
|
3553
|
+
export type Language = "german" | "english" | "french" | "dutch";
|
|
3554
|
+
|
|
3555
|
+
}
|
|
3556
|
+
|
|
3533
3557
|
export namespace com.moxi.api.common {
|
|
3534
3558
|
|
|
3535
3559
|
export type Weekday = "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
@@ -3592,7 +3616,7 @@ export namespace com.moxi.api.permissions.subscription.common {
|
|
|
3592
3616
|
|
|
3593
3617
|
export namespace com.moxi.api.permissions.subscription.common {
|
|
3594
3618
|
|
|
3595
|
-
export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration" | "moxi_operations" | "intensive_care" | "moxi_insights";
|
|
3619
|
+
export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration" | "moxi_operations" | "intensive_care" | "moxi_insights" | "taxi_rides";
|
|
3596
3620
|
|
|
3597
3621
|
}
|
|
3598
3622
|
|
package/common.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export interface Account {
|
|
|
57
57
|
activeServices?: Service[];
|
|
58
58
|
confirmed?: boolean;
|
|
59
59
|
criticalInfo?: CriticalAccountInfo;
|
|
60
|
+
disable2FA?: boolean;
|
|
60
61
|
drivePermissions?: DrivePermission[];
|
|
61
62
|
info?: AccountInfo;
|
|
62
63
|
integrationSettings?: any[];
|
|
@@ -342,7 +343,6 @@ export interface ConfirmSubscription extends AccountUpdate {
|
|
|
342
343
|
}
|
|
343
344
|
|
|
344
345
|
export interface ConfirmUser {
|
|
345
|
-
activateOneTimePassword?: boolean;
|
|
346
346
|
token?: string;
|
|
347
347
|
userId?: string;
|
|
348
348
|
}
|
|
@@ -1233,6 +1233,10 @@ export interface RegisterOneTimePassword {
|
|
|
1233
1233
|
* Ride information specific for regular taxi or ambulance rides.
|
|
1234
1234
|
*/
|
|
1235
1235
|
export interface RegularRideInfo extends RideInfo {
|
|
1236
|
+
/**
|
|
1237
|
+
* A ride is considered 'light' when it is type taxi, discharge and has no mobility issues. For these rides, there are exceptions to certain validation rules. For instance the patient details are optional, and the destination of the ride is optional.
|
|
1238
|
+
*/
|
|
1239
|
+
lightTaxiRide?: boolean;
|
|
1236
1240
|
vehicleType: "taxi" | "ambulance";
|
|
1237
1241
|
}
|
|
1238
1242
|
|
|
@@ -1369,13 +1373,21 @@ export interface Ride extends RideOrSeries, RideOrMinimizedSeries {
|
|
|
1369
1373
|
*/
|
|
1370
1374
|
dayOfWeek?: Weekday;
|
|
1371
1375
|
/**
|
|
1372
|
-
* 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.
|
|
1376
|
+
* 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.Can be null for light taxi rides.
|
|
1373
1377
|
*/
|
|
1374
1378
|
desiredEndTime?: string;
|
|
1375
1379
|
/**
|
|
1376
|
-
*
|
|
1380
|
+
* This field's value is a convenience field to give you desiredEndTime, or else desiredStartTimeOrNow.
|
|
1381
|
+
*/
|
|
1382
|
+
desiredEndTimeOrNow?: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* 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. Can be null for light taxi rides.
|
|
1377
1385
|
*/
|
|
1378
1386
|
desiredStartTime?: string;
|
|
1387
|
+
/**
|
|
1388
|
+
* This field's value is a convenience field to give you desiredStartTime, or else bookedTime, or else 'now'.
|
|
1389
|
+
*/
|
|
1390
|
+
desiredStartTimeOrNow?: string;
|
|
1379
1391
|
driveStatus?: DriveStatus;
|
|
1380
1392
|
driverReview?: Review;
|
|
1381
1393
|
driverSyncStatus?: SyncStatus;
|
|
@@ -1740,13 +1752,11 @@ export interface SetUserRole extends UserUpdate {
|
|
|
1740
1752
|
}
|
|
1741
1753
|
|
|
1742
1754
|
export interface SignInUser {
|
|
1743
|
-
activateOneTimePassword?: boolean;
|
|
1744
1755
|
password?: string;
|
|
1745
1756
|
userId?: string;
|
|
1746
1757
|
}
|
|
1747
1758
|
|
|
1748
1759
|
export interface SignUpUser {
|
|
1749
|
-
activateOneTimePassword?: boolean;
|
|
1750
1760
|
email?: string;
|
|
1751
1761
|
info?: UserInfo;
|
|
1752
1762
|
inviteToken?: string;
|
|
@@ -1820,6 +1830,10 @@ export interface TimedPermission {
|
|
|
1820
1830
|
timeRange?: InstantRange;
|
|
1821
1831
|
}
|
|
1822
1832
|
|
|
1833
|
+
export interface Toggle2FA extends AccountUpdate {
|
|
1834
|
+
disable2FA?: boolean;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1823
1837
|
export interface Token {
|
|
1824
1838
|
accountPermissions?: AccountPermission[];
|
|
1825
1839
|
createdBy?: string;
|
|
@@ -2041,6 +2055,8 @@ export type InsuranceType = "public_insurance" | "private_insurance" | "german_a
|
|
|
2041
2055
|
|
|
2042
2056
|
export type IntegrationType = "dispolive" | "celios";
|
|
2043
2057
|
|
|
2058
|
+
export type Language = "german" | "english" | "french" | "dutch";
|
|
2059
|
+
|
|
2044
2060
|
export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "stretcher";
|
|
2045
2061
|
|
|
2046
2062
|
export type MonitoringFacet = "standardMonitoring" | "capnometry" | "eeg" | "ap" | "cvp" | "pap" | "icp" | "hasOtherMonitoring" | "hasArteryCatheter" | "hasCvl" | "hasVenusLines";
|
|
@@ -2061,7 +2077,7 @@ export type Screen = "ping" | "marketplace" | "operations_overview" | "hospital_
|
|
|
2061
2077
|
|
|
2062
2078
|
export type SeriesPurpose = "consultation";
|
|
2063
2079
|
|
|
2064
|
-
export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration" | "moxi_operations" | "intensive_care" | "moxi_insights";
|
|
2080
|
+
export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration" | "moxi_operations" | "intensive_care" | "moxi_insights" | "taxi_rides";
|
|
2065
2081
|
|
|
2066
2082
|
export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour";
|
|
2067
2083
|
|
package/package.json
CHANGED