@moxi.gmbh/moxi-typescriptmodels 0.1.701 → 0.1.711

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 +15 -3
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -27,7 +27,7 @@ export interface Account {
27
27
  info?: AccountInfo;
28
28
  integrationSettings?: any[];
29
29
  operateAccounts?: string[];
30
- operator?: string;
30
+ operators?: string[];
31
31
  /**
32
32
  * Derived from subscriptions. Includes organisation types that have not been confirmed yet by a superadmin or are active in past or future.
33
33
  */
@@ -84,6 +84,10 @@ export interface AccountUpcaster {
84
84
  export interface AccountUpdate extends AccountCommand {
85
85
  }
86
86
 
87
+ export interface AddOperations extends AccountUpdate {
88
+ operateAccount?: string;
89
+ }
90
+
87
91
  /**
88
92
  * Address info of a google-validated address, including geolocation and district code
89
93
  */
@@ -939,6 +943,14 @@ export interface RegisterEinsatz {
939
943
  export interface RemoveAccount extends AccountUpdate {
940
944
  }
941
945
 
946
+ export interface RemoveOperations extends AccountUpdate {
947
+ operateAccount?: string;
948
+ }
949
+
950
+ export interface RemoveOperator extends AccountUpdate {
951
+ operator?: string;
952
+ }
953
+
942
954
  export interface RemoveSettings extends AccountUpdate {
943
955
  type?: IntegrationType;
944
956
  }
@@ -1333,7 +1345,7 @@ export interface SeriesInfo {
1333
1345
  rideSeriesId?: string;
1334
1346
  }
1335
1347
 
1336
- export interface SetOperateAccounts extends AccountUpdate {
1348
+ export interface SetOperations extends AccountUpdate {
1337
1349
  operateAccounts?: string[];
1338
1350
  }
1339
1351
 
@@ -1566,7 +1578,7 @@ export type RidePurpose = "admission" | "relocation" | "discharge" | "consultati
1566
1578
 
1567
1579
  export type RideSeriesStatus = "booked" | "accepted" | "confirmed" | "cancelled";
1568
1580
 
1569
- export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration";
1581
+ export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration" | "moxi_operations";
1570
1582
 
1571
1583
  export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour" | "admin_reported_issues";
1572
1584
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.701",
3
+ "version": "0.1.711",
4
4
  "types": "common.d.ts"
5
5
  }