@moxi.gmbh/moxi-typescriptmodels 0.1.2306-test-server → 0.1.2331-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.
Files changed (2) hide show
  1. package/common.d.ts +31 -10
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -244,7 +244,7 @@ export interface BookRideSeries extends CreateSeriesCommand {
244
244
  rideSummaries?: RideSummary[];
245
245
  }
246
246
 
247
- export interface CancelRide extends RideBookerCommand {
247
+ export interface CancelRide extends RideCommand {
248
248
  reason?: string;
249
249
  }
250
250
 
@@ -266,6 +266,11 @@ export interface CeliosSettings {
266
266
  user?: string;
267
267
  }
268
268
 
269
+ export interface CeliosStreamPulse {
270
+ target?: string;
271
+ type?: GrpcStreamType;
272
+ }
273
+
269
274
  export interface ChangeUserPassword {
270
275
  newPassword?: string;
271
276
  oldPassword?: string;
@@ -287,10 +292,10 @@ export interface CleaningAndSlack {
287
292
  }
288
293
 
289
294
  export interface CompanyInfo {
290
- businessLicenseDocumentId?: string;
295
+ businessLicenseDocument?: Document;
291
296
  creationDate?: string;
292
297
  hasLiabilityInsurance?: boolean;
293
- publicLiabilityPolicyDocumentId?: string;
298
+ publicLiabilityPolicyDocument?: Document;
294
299
  registrationNumber?: string;
295
300
  }
296
301
 
@@ -396,6 +401,12 @@ export interface DistrictInfo {
396
401
  type?: string;
397
402
  }
398
403
 
404
+ export interface Document {
405
+ id?: string;
406
+ name?: string;
407
+ size?: number;
408
+ }
409
+
399
410
  export interface DownloadableFile {
400
411
  base64Data?: string;
401
412
  fileName?: string;
@@ -791,6 +802,11 @@ export interface GiveTeamPermission extends AccountPermissionCommand {
791
802
  teamPermission?: TeamPermission;
792
803
  }
793
804
 
805
+ export interface GrpcStreamId {
806
+ target?: string;
807
+ type?: GrpcStreamType;
808
+ }
809
+
794
810
  export interface HalfHourBeforeStart {
795
811
  rideId?: string;
796
812
  }
@@ -1296,9 +1312,6 @@ export interface RideLog {
1296
1312
  eventName?: string;
1297
1313
  eventValue?: any;
1298
1314
  impersonating?: boolean;
1299
- isImpersonating?: boolean;
1300
- isSuperAdmin?: boolean;
1301
- isToken?: boolean;
1302
1315
  superAdmin?: boolean;
1303
1316
  timestamp?: string;
1304
1317
  token?: boolean;
@@ -1514,6 +1527,16 @@ export interface SignUpUser {
1514
1527
  userId?: string;
1515
1528
  }
1516
1529
 
1530
+ export interface StartCeliosStream {
1531
+ target?: string;
1532
+ type?: GrpcStreamType;
1533
+ }
1534
+
1535
+ export interface StopCeliosStream {
1536
+ target?: string;
1537
+ type?: GrpcStreamType;
1538
+ }
1539
+
1517
1540
  export interface StopImpersonatingUser {
1518
1541
  }
1519
1542
 
@@ -1595,10 +1618,6 @@ export interface UpdateAccountPermission extends AccountPermissionCommand {
1595
1618
  accountPermission?: AccountPermission;
1596
1619
  }
1597
1620
 
1598
- export interface UpdateCompanyInfo extends AccountUpdate {
1599
- companyInfo?: CompanyInfo;
1600
- }
1601
-
1602
1621
  export interface UpdatePosition {
1603
1622
  clientSegment?: number[];
1604
1623
  lastIndex?: number;
@@ -1701,6 +1720,8 @@ export type EntityType = "ride" | "rideseries";
1701
1720
 
1702
1721
  export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
1703
1722
 
1723
+ export type GrpcStreamType = "get_einsatz_events";
1724
+
1704
1725
  export type InsuranceType = "public_insurance" | "private_insurance" | "german_accident_insurance" | "no_or_unknown_insurance";
1705
1726
 
1706
1727
  export type IntegrationType = "dispolive" | "celios";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.2306-test-server",
3
+ "version": "0.1.2331-test-server",
4
4
  "types": "common.d.ts"
5
5
  }