@moxi.gmbh/moxi-typescriptmodels 0.1.1651-test-server → 0.1.1661-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 +15 -3
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -58,7 +58,7 @@ export interface Account {
58
58
  info?: AccountInfo;
59
59
  integrationSettings?: any[];
60
60
  operateAccounts?: string[];
61
- operator?: string;
61
+ operators?: string[];
62
62
  /**
63
63
  * Derived from subscriptions. Includes organisation types that have not been confirmed yet by a superadmin or are active in past or future.
64
64
  */
@@ -115,6 +115,10 @@ export interface AccountUpcaster {
115
115
  export interface AccountUpdate extends AccountCommand {
116
116
  }
117
117
 
118
+ export interface AddOperations extends AccountUpdate {
119
+ operateAccount?: string;
120
+ }
121
+
118
122
  /**
119
123
  * Address info of a google-validated address, including geolocation and district code
120
124
  */
@@ -895,6 +899,14 @@ export interface RegisterEinsatz {
895
899
  export interface RemoveAccount extends AccountUpdate {
896
900
  }
897
901
 
902
+ export interface RemoveOperations extends AccountUpdate {
903
+ operateAccount?: string;
904
+ }
905
+
906
+ export interface RemoveOperator extends AccountUpdate {
907
+ operator?: string;
908
+ }
909
+
898
910
  export interface RemoveSettings extends AccountUpdate {
899
911
  type?: IntegrationType;
900
912
  }
@@ -1281,7 +1293,7 @@ export interface SeriesInfo {
1281
1293
  export interface SeriesUpcaster {
1282
1294
  }
1283
1295
 
1284
- export interface SetOperateAccounts extends AccountUpdate {
1296
+ export interface SetOperations extends AccountUpdate {
1285
1297
  operateAccounts?: string[];
1286
1298
  }
1287
1299
 
@@ -1516,7 +1528,7 @@ export type RideOrSeriesUnion = Ride | RideSeries;
1516
1528
 
1517
1529
  export type RidePurpose = "admission" | "relocation" | "discharge" | "consultation";
1518
1530
 
1519
- export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration";
1531
+ export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration" | "moxi_operations";
1520
1532
 
1521
1533
  export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour" | "admin_reported_issues";
1522
1534
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.1651-test-server",
3
+ "version": "0.1.1661-test-server",
4
4
  "types": "common.d.ts"
5
5
  }