@contentstack/management
Version:
The Content Management API is used to manage the content of your Contentstack account
17 lines (13 loc) • 444 B
TypeScript
import { AnyProperty } from "../../utility/fields";
export interface TeamUsers extends TeamUserData {
add(data:TeamUserData): Promise<TeamUserData>;
fetchAll(params?: { includeUserDetails: boolean, include_count: boolean}): Promise<AnyProperty>;
}
export interface TeamUser {
userId: string;
remove(): Promise<AnyProperty>;
}
export interface TeamUserData extends AnyProperty {
emails?: string[];
users?: string[];
}