@moxi.gmbh/moxi-typescriptmodels 0.1.1081-test-server → 0.1.1091-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 +11 -27
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -798,28 +798,6 @@ export interface PlanRide extends RideDriverModifyCommand {
|
|
|
798
798
|
plannedStartTime?: string;
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
-
export interface ReadUpdateResult<T> {
|
|
802
|
-
after?: T;
|
|
803
|
-
before?: T;
|
|
804
|
-
/**
|
|
805
|
-
* The id of the entity that the update is about
|
|
806
|
-
*/
|
|
807
|
-
entityId?: string;
|
|
808
|
-
/**
|
|
809
|
-
* The type/name of the event that caused this update
|
|
810
|
-
*/
|
|
811
|
-
eventType?: string;
|
|
812
|
-
/**
|
|
813
|
-
* Index of this update
|
|
814
|
-
*/
|
|
815
|
-
index?: number;
|
|
816
|
-
/**
|
|
817
|
-
* Time at which this update occurred
|
|
818
|
-
*/
|
|
819
|
-
timestamp?: string;
|
|
820
|
-
type: "rideseries" | "ride";
|
|
821
|
-
}
|
|
822
|
-
|
|
823
801
|
export interface ReadUpdates {
|
|
824
802
|
clientId?: string;
|
|
825
803
|
maxSize?: number;
|
|
@@ -831,7 +809,7 @@ export interface ReadUpdates {
|
|
|
831
809
|
export interface ReadUpdatesResult {
|
|
832
810
|
clientSegment?: number[];
|
|
833
811
|
lastIndex?: number;
|
|
834
|
-
updates?:
|
|
812
|
+
updates?: any[];
|
|
835
813
|
}
|
|
836
814
|
|
|
837
815
|
export interface Region {
|
|
@@ -1168,9 +1146,13 @@ export interface RideSeriesPostConfirmCommand {
|
|
|
1168
1146
|
export interface RideSeriesPreConfirmCommand extends RideSeriesCommand {
|
|
1169
1147
|
}
|
|
1170
1148
|
|
|
1171
|
-
export interface RideSeriesUpdate
|
|
1149
|
+
export interface RideSeriesUpdate {
|
|
1172
1150
|
after?: RideSeries;
|
|
1173
1151
|
before?: RideSeries;
|
|
1152
|
+
entityId?: string;
|
|
1153
|
+
eventType?: string;
|
|
1154
|
+
index?: number;
|
|
1155
|
+
timestamp?: string;
|
|
1174
1156
|
type: "rideseries";
|
|
1175
1157
|
}
|
|
1176
1158
|
|
|
@@ -1186,9 +1168,13 @@ export interface RideSystemCommand extends RideCommand {
|
|
|
1186
1168
|
export interface RideUpcaster {
|
|
1187
1169
|
}
|
|
1188
1170
|
|
|
1189
|
-
export interface RideUpdate
|
|
1171
|
+
export interface RideUpdate {
|
|
1190
1172
|
after?: Ride;
|
|
1191
1173
|
before?: Ride;
|
|
1174
|
+
entityId?: string;
|
|
1175
|
+
eventType?: string;
|
|
1176
|
+
index?: number;
|
|
1177
|
+
timestamp?: string;
|
|
1192
1178
|
type: "ride";
|
|
1193
1179
|
}
|
|
1194
1180
|
|
|
@@ -1439,8 +1425,6 @@ export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chai
|
|
|
1439
1425
|
|
|
1440
1426
|
export type OrganisationType = "medical" | "fleet";
|
|
1441
1427
|
|
|
1442
|
-
export type ReadUpdateResultUnion<T> = RideUpdate | RideSeriesUpdate;
|
|
1443
|
-
|
|
1444
1428
|
export type RidePurpose = "admission" | "relocation" | "discharge" | "consultation";
|
|
1445
1429
|
|
|
1446
1430
|
export type RideSeriesStatus = "booked" | "accepted" | "confirmed" | "cancelled";
|
package/package.json
CHANGED