@moxi.gmbh/moxi-typescriptmodels 0.1.2951-test-server → 0.1.2971-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.
@@ -2948,12 +2948,20 @@ export namespace com.moxi.api.web.common {
2948
2948
 
2949
2949
  export namespace com.moxi.api.web.common {
2950
2950
 
2951
- export interface WebsocketFilter {
2951
+ export interface WebsocketFilter extends com.moxi.api.web.common.WebsocketMessage {
2952
2952
  screen: "ride_details" | "fleet_overview" | "hospital_overview" | "marketplace" | "operations_overview";
2953
2953
  }
2954
2954
 
2955
2955
  }
2956
2956
 
2957
+ export namespace com.moxi.api.web.common {
2958
+
2959
+ export interface WebsocketMessage {
2960
+ screen: "ride_details" | "fleet_overview" | "hospital_overview" | "marketplace" | "operations_overview" | "ping";
2961
+ }
2962
+
2963
+ }
2964
+
2957
2965
  export namespace com.moxi.api.web.common {
2958
2966
 
2959
2967
  export interface WebsocketMultipleUpdates extends com.moxi.api.web.common.WebsocketUpdate {
@@ -2964,6 +2972,14 @@ export namespace com.moxi.api.web.common {
2964
2972
 
2965
2973
  }
2966
2974
 
2975
+ export namespace com.moxi.api.web.common {
2976
+
2977
+ export interface WebsocketPing extends com.moxi.api.web.common.WebsocketMessage {
2978
+ screen: "ping";
2979
+ }
2980
+
2981
+ }
2982
+
2967
2983
  export namespace com.moxi.api.web.common {
2968
2984
 
2969
2985
  export interface WebsocketSingleUpdate extends com.moxi.api.web.common.WebsocketUpdate {
@@ -3122,13 +3138,13 @@ export namespace com.moxi.api.rideseries.common {
3122
3138
 
3123
3139
  export namespace com.moxi.api.web.common {
3124
3140
 
3125
- export type Screen = "marketplace" | "operations_overview" | "hospital_overview" | "fleet_overview" | "ride_details";
3141
+ export type Screen = "ping" | "marketplace" | "operations_overview" | "hospital_overview" | "fleet_overview" | "ride_details";
3126
3142
 
3127
3143
  }
3128
3144
 
3129
3145
  export namespace com.moxi.api.web.common {
3130
3146
 
3131
- export type WebsocketFilterUnion = com.moxi.api.web.common.MarketplaceOverviewFilter | com.moxi.api.web.common.HospitalOverviewFilter | com.moxi.api.web.common.FleetOverviewFilter | com.moxi.api.web.common.OperationsOverviewFilter | com.moxi.api.web.common.DetailsFilter;
3147
+ export type WebsocketMessageUnion = com.moxi.api.web.common.MarketplaceOverviewFilter | com.moxi.api.web.common.HospitalOverviewFilter | com.moxi.api.web.common.FleetOverviewFilter | com.moxi.api.web.common.OperationsOverviewFilter | com.moxi.api.web.common.DetailsFilter | com.moxi.api.web.common.WebsocketPing;
3132
3148
 
3133
3149
  }
3134
3150
 
package/common.d.ts CHANGED
@@ -1740,16 +1740,24 @@ export interface UserUpdate extends UserCommand {
1740
1740
  export interface UserUpdateAfterSignup extends UserUpdate {
1741
1741
  }
1742
1742
 
1743
- export interface WebsocketFilter {
1743
+ export interface WebsocketFilter extends WebsocketMessage {
1744
1744
  screen: "ride_details" | "fleet_overview" | "hospital_overview" | "marketplace" | "operations_overview";
1745
1745
  }
1746
1746
 
1747
+ export interface WebsocketMessage {
1748
+ screen: "ride_details" | "fleet_overview" | "hospital_overview" | "marketplace" | "operations_overview" | "ping";
1749
+ }
1750
+
1747
1751
  export interface WebsocketMultipleUpdates extends WebsocketUpdate {
1748
1752
  ridesAndSeries?: RideOrMinimizedSeries[];
1749
1753
  ridesCount?: RideFilterCount;
1750
1754
  type: "multiple_updates";
1751
1755
  }
1752
1756
 
1757
+ export interface WebsocketPing extends WebsocketMessage {
1758
+ screen: "ping";
1759
+ }
1760
+
1753
1761
  export interface WebsocketSingleUpdate extends WebsocketUpdate {
1754
1762
  id?: string;
1755
1763
  rideOrSeries?: RideOrMinimizedSeries;
@@ -1795,7 +1803,7 @@ export type RideInfoUnion = RegularRideInfo | IntensiveCareRideInfo;
1795
1803
 
1796
1804
  export type RidePurpose = "admission" | "relocation" | "discharge" | "consultation";
1797
1805
 
1798
- export type Screen = "marketplace" | "operations_overview" | "hospital_overview" | "fleet_overview" | "ride_details";
1806
+ export type Screen = "ping" | "marketplace" | "operations_overview" | "hospital_overview" | "fleet_overview" | "ride_details";
1799
1807
 
1800
1808
  export type SeriesPurpose = "consultation";
1801
1809
 
@@ -1813,7 +1821,7 @@ export type UserRole = "superadmin";
1813
1821
 
1814
1822
  export type VehicleType = "taxi" | "ambulance" | "intensiveCareAmbulance" | "intensiveCareHelicopter" | "emergencyAmbulance";
1815
1823
 
1816
- export type WebsocketFilterUnion = MarketplaceOverviewFilter | HospitalOverviewFilter | FleetOverviewFilter | OperationsOverviewFilter | DetailsFilter;
1824
+ export type WebsocketMessageUnion = MarketplaceOverviewFilter | HospitalOverviewFilter | FleetOverviewFilter | OperationsOverviewFilter | DetailsFilter | WebsocketPing;
1817
1825
 
1818
1826
  export type WebsocketUpdateType = "single_update" | "multiple_updates";
1819
1827
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.2951-test-server",
3
+ "version": "0.1.2971-test-server",
4
4
  "types": "common.d.ts"
5
5
  }