@moxi.gmbh/moxi-typescriptmodels 0.1.2981-test-server → 0.1.3001-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.
@@ -652,15 +652,6 @@ export namespace com.moxi.api.common.freshdesk {
652
652
 
653
653
  }
654
654
 
655
- export namespace com.moxi.api.common.kchat {
656
-
657
- export interface SendKChat {
658
- channel?: com.moxi.api.common.kchat.KChatChannel;
659
- message?: string;
660
- }
661
-
662
- }
663
-
664
655
  export namespace com.moxi.api.common.mail {
665
656
 
666
657
  export interface Attachment {
@@ -807,6 +798,15 @@ export namespace com.moxi.api.geojson.common.GeoJson {
807
798
 
808
799
  }
809
800
 
801
+ export namespace com.moxi.api.grpc {
802
+
803
+ export interface CeliosStreamPulse {
804
+ target?: string;
805
+ type?: com.moxi.api.grpc.common.GrpcStreamType;
806
+ }
807
+
808
+ }
809
+
810
810
  export namespace com.moxi.api.grpc {
811
811
 
812
812
  export interface RegisterEinsatz {
@@ -816,6 +816,33 @@ export namespace com.moxi.api.grpc {
816
816
 
817
817
  }
818
818
 
819
+ export namespace com.moxi.api.grpc {
820
+
821
+ export interface StartCeliosStream {
822
+ target?: string;
823
+ type?: com.moxi.api.grpc.common.GrpcStreamType;
824
+ }
825
+
826
+ }
827
+
828
+ export namespace com.moxi.api.grpc {
829
+
830
+ export interface StopCeliosStream {
831
+ target?: string;
832
+ type?: com.moxi.api.grpc.common.GrpcStreamType;
833
+ }
834
+
835
+ }
836
+
837
+ export namespace com.moxi.api.grpc.common {
838
+
839
+ export interface GrpcStreamId {
840
+ target?: string;
841
+ type?: com.moxi.api.grpc.common.GrpcStreamType;
842
+ }
843
+
844
+ }
845
+
819
846
  export namespace com.moxi.api.integrations {
820
847
 
821
848
  export interface RemoveSettings extends com.moxi.api.account.AccountUpdate {
@@ -1521,7 +1548,7 @@ export namespace com.moxi.api.ride {
1521
1548
 
1522
1549
  export namespace com.moxi.api.ride {
1523
1550
 
1524
- export interface CancelRide extends com.moxi.api.ride.RideBookerCommand {
1551
+ export interface CancelRide extends com.moxi.api.ride.RideCommand {
1525
1552
  reason?: string;
1526
1553
  }
1527
1554
 
@@ -3016,12 +3043,6 @@ export namespace com.moxi.api.common {
3016
3043
 
3017
3044
  }
3018
3045
 
3019
- export namespace com.moxi.api.common.kchat {
3020
-
3021
- export type KChatChannel = "ride_notifications" | "urgent_issues" | "account_tasks" | "customer_issues";
3022
-
3023
- }
3024
-
3025
3046
  export namespace com.moxi.api.common.slack {
3026
3047
 
3027
3048
  export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour" | "admin_reported_issues";
@@ -3034,6 +3055,12 @@ export namespace com.moxi.api.geojson.common.GeoJson {
3034
3055
 
3035
3056
  }
3036
3057
 
3058
+ export namespace com.moxi.api.grpc.common {
3059
+
3060
+ export type GrpcStreamType = "get_einsatz_events";
3061
+
3062
+ }
3063
+
3037
3064
  export namespace com.moxi.api.integrations.common {
3038
3065
 
3039
3066
  export type IntegrationType = "dispolive" | "celios";
package/common.d.ts CHANGED
@@ -243,7 +243,7 @@ export interface BookRideSeries extends CreateSeriesCommand {
243
243
  rideSummaries?: RideSummary[];
244
244
  }
245
245
 
246
- export interface CancelRide extends RideBookerCommand {
246
+ export interface CancelRide extends RideCommand {
247
247
  reason?: string;
248
248
  }
249
249
 
@@ -265,6 +265,11 @@ export interface CeliosSettings {
265
265
  user?: string;
266
266
  }
267
267
 
268
+ export interface CeliosStreamPulse {
269
+ target?: string;
270
+ type?: GrpcStreamType;
271
+ }
272
+
268
273
  export interface ChangeUserPassword {
269
274
  newPassword?: string;
270
275
  oldPassword?: string;
@@ -811,6 +816,11 @@ export interface GiveTeamPermission extends AccountPermissionCommand {
811
816
  teamPermission?: TeamPermission;
812
817
  }
813
818
 
819
+ export interface GrpcStreamId {
820
+ target?: string;
821
+ type?: GrpcStreamType;
822
+ }
823
+
814
824
  export interface HalfHourBeforeStart {
815
825
  rideId?: string;
816
826
  }
@@ -1474,11 +1484,6 @@ export interface SendInvitationEmail {
1474
1484
  userId?: string;
1475
1485
  }
1476
1486
 
1477
- export interface SendKChat {
1478
- channel?: KChatChannel;
1479
- message?: string;
1480
- }
1481
-
1482
1487
  export interface SendOneTimePasswordEmail {
1483
1488
  oneTimePassword?: string;
1484
1489
  userId?: string;
@@ -1578,6 +1583,16 @@ export interface SignedInUser {
1578
1583
  userId?: string;
1579
1584
  }
1580
1585
 
1586
+ export interface StartCeliosStream {
1587
+ target?: string;
1588
+ type?: GrpcStreamType;
1589
+ }
1590
+
1591
+ export interface StopCeliosStream {
1592
+ target?: string;
1593
+ type?: GrpcStreamType;
1594
+ }
1595
+
1581
1596
  export interface StopImpersonatingUser {
1582
1597
  }
1583
1598
 
@@ -1789,12 +1804,12 @@ export type EntityType = "ride" | "rideseries";
1789
1804
 
1790
1805
  export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
1791
1806
 
1807
+ export type GrpcStreamType = "get_einsatz_events";
1808
+
1792
1809
  export type InsuranceType = "public_insurance" | "private_insurance" | "german_accident_insurance" | "no_or_unknown_insurance";
1793
1810
 
1794
1811
  export type IntegrationType = "dispolive" | "celios";
1795
1812
 
1796
- export type KChatChannel = "ride_notifications" | "urgent_issues" | "account_tasks" | "customer_issues";
1797
-
1798
1813
  export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "stretcher";
1799
1814
 
1800
1815
  export type OrganisationType = "medical" | "fleet" | "operator";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.2981-test-server",
3
+ "version": "0.1.3001-test-server",
4
4
  "types": "common.d.ts"
5
5
  }