@moxi.gmbh/moxi-typescriptmodels 0.0.361 → 0.0.381
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.
- package/common.d.ts +15 -4
- 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
|
|
559
|
-
accountId?: string;
|
|
567
|
+
export interface RevokeAccountPermission extends AccountPermissionCommand {
|
|
560
568
|
}
|
|
561
569
|
|
|
562
570
|
export interface RevokeDrivePermission extends AccountUpdate {
|
|
@@ -728,8 +736,7 @@ export interface UpdateAccountInfo extends AccountUpdate {
|
|
|
728
736
|
info?: AccountInfo;
|
|
729
737
|
}
|
|
730
738
|
|
|
731
|
-
export interface UpdateAccountPermission extends
|
|
732
|
-
accountId?: string;
|
|
739
|
+
export interface UpdateAccountPermission extends AccountPermissionCommand {
|
|
733
740
|
accountPermission?: AccountPermission;
|
|
734
741
|
}
|
|
735
742
|
|
|
@@ -758,6 +765,10 @@ export interface UpsertInsurer {
|
|
|
758
765
|
insurerId?: InsurerId;
|
|
759
766
|
}
|
|
760
767
|
|
|
768
|
+
export interface UpsertTeamPermission extends AccountPermissionCommand {
|
|
769
|
+
teamPermission?: TeamPermission;
|
|
770
|
+
}
|
|
771
|
+
|
|
761
772
|
export interface UserCommand {
|
|
762
773
|
userId?: string;
|
|
763
774
|
}
|
package/package.json
CHANGED