@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
23 lines (22 loc) • 1.41 kB
TypeScript
import { ResolvedGroupIdentity, GroupIdentity, GroupIdentityAddOrUpdateRequest, Identity, GroupMembershipUpdateRequest, GroupManagementQuery, ArchiveIdentityManagementQuery, GroupIdentityAddOrUpdateWithMembershipRequest, GroupIdentityAddOrUpdateWithMembershipResponse } from "../../models";
export declare class GroupService {
private httpClient;
getAll: (query: GroupManagementQuery) => Promise<{
total: number;
value: ResolvedGroupIdentity[];
}>;
get: (identity: GroupIdentity) => Promise<ResolvedGroupIdentity>;
addOrUpdate: (value: GroupIdentityAddOrUpdateRequest) => Promise<ResolvedGroupIdentity>;
delete: (identity: GroupIdentity) => Promise<void>;
addMembers: (value: GroupMembershipUpdateRequest) => Promise<Identity[]>;
removeMembers: (value: GroupMembershipUpdateRequest) => Promise<Identity[]>;
getAllDeleted: (query: ArchiveIdentityManagementQuery) => Promise<{
total: number;
value: ResolvedGroupIdentity[];
}>;
restore: (identity: GroupIdentity) => Promise<void>;
purge: (identity: GroupIdentity) => Promise<void>;
addorupdatewithmembership: (request: GroupIdentityAddOrUpdateWithMembershipRequest) => Promise<GroupIdentityAddOrUpdateWithMembershipResponse>;
checkCurrentUserIsGroupOwner: (identity: GroupIdentity) => Promise<boolean>;
validateGroupInUse: (groups: GroupIdentity[]) => Promise<boolean>;
}