@moxi.gmbh/moxi-typescriptmodels 0.0.351 → 0.0.371

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 +16 -4
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -39,6 +39,10 @@ export interface AccountPermission {
39
39
  teamPermissions?: TeamPermission[];
40
40
  }
41
41
 
42
+ export interface AccountPermissionCommand extends UserUpdate {
43
+ accountId?: string;
44
+ }
45
+
42
46
  export interface AccountSummary {
43
47
  accountId?: string;
44
48
  name?: any;
@@ -278,6 +282,7 @@ export interface FindMyRides {
278
282
 
279
283
  export interface FindMyUsers {
280
284
  accountId?: string;
285
+ teamId?: string;
281
286
  term?: any;
282
287
  }
283
288
 
@@ -541,6 +546,10 @@ export interface RejectInviteUser extends UserUpdate {
541
546
  export interface RemoveTeam extends TeamUpdate {
542
547
  }
543
548
 
549
+ export interface RemoveTeamPermission extends AccountPermissionCommand {
550
+ teamId?: string;
551
+ }
552
+
544
553
  export interface RequestDrivePermission extends AccountUpdate {
545
554
  drivePermissionId?: any;
546
555
  info?: DrivePermissionInfo;
@@ -555,8 +564,7 @@ export interface RequestUserReset {
555
564
  email?: any;
556
565
  }
557
566
 
558
- export interface RevokeAccountPermission extends UserUpdate {
559
- accountId?: string;
567
+ export interface RevokeAccountPermission extends AccountPermissionCommand {
560
568
  }
561
569
 
562
570
  export interface RevokeDrivePermission extends AccountUpdate {
@@ -660,6 +668,7 @@ export interface SignInUser {
660
668
  export interface SignUpUser {
661
669
  email?: any;
662
670
  info?: UserInfo;
671
+ inviteToken?: any;
663
672
  password?: any;
664
673
  userId?: string;
665
674
  }
@@ -727,8 +736,7 @@ export interface UpdateAccountInfo extends AccountUpdate {
727
736
  info?: AccountInfo;
728
737
  }
729
738
 
730
- export interface UpdateAccountPermission extends UserUpdate {
731
- accountId?: string;
739
+ export interface UpdateAccountPermission extends AccountPermissionCommand {
732
740
  accountPermission?: AccountPermission;
733
741
  }
734
742
 
@@ -757,6 +765,10 @@ export interface UpsertInsurer {
757
765
  insurerId?: InsurerId;
758
766
  }
759
767
 
768
+ export interface UpsertTeamPermission extends AccountPermissionCommand {
769
+ teamPermission?: TeamPermission;
770
+ }
771
+
760
772
  export interface UserCommand {
761
773
  userId?: string;
762
774
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.0.351",
3
+ "version": "0.0.371",
4
4
  "types": "common.d.ts"
5
5
  }