1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

org user apis

This commit is contained in:
Kyle Spearrin
2018-07-10 13:03:24 -04:00
parent bded5eb625
commit c76cbf1274
7 changed files with 101 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
export class OrganizationUserAcceptRequest {
token: string;
}

View File

@@ -0,0 +1,3 @@
export class OrganizationUserConfirmRequest {
key: string;
}

View File

@@ -0,0 +1,10 @@
import { OrganizationUserType } from '../../enums/organizationUserType';
import { SelectionReadOnlyRequest } from './selectionReadOnlyRequest';
export class OrganizationUserInviteRequest {
emails: string[] = [];
type: OrganizationUserType;
accessAll: boolean;
collections: SelectionReadOnlyRequest[] = [];
}

View File

@@ -0,0 +1,3 @@
export class OrganizationUserUpdateGroupsRequest {
groupIds: string[] = [];
}

View File

@@ -0,0 +1,9 @@
import { OrganizationUserType } from '../../enums/organizationUserType';
import { SelectionReadOnlyRequest } from './selectionReadOnlyRequest';
export class OrganizationUserUpdateRequest {
type: OrganizationUserType;
accessAll: boolean;
collections: SelectionReadOnlyRequest[] = [];
}