import { z } from 'zod';
declare const ListGroupsSchema: z.ZodObject<{
domain: z.ZodOptional<z.ZodString>;
maxResults: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
domain?: string | undefined;
maxResults?: number | undefined;
}, {
domain?: string | undefined;
maxResults?: number | undefined;
}>;
declare const GetGroupSchema: z.ZodObject<{
groupEmail: z.ZodString;
}, "strip", z.ZodTypeAny, {
groupEmail: string;
}, {
groupEmail: string;
}>;
declare const CreateGroupSchema: z.ZodObject<{
groupEmail: z.ZodString;
groupName: z.ZodString;
description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
groupEmail: string;
groupName: string;
description?: string | undefined;
}, {
groupEmail: string;
groupName: string;
description?: string | undefined;
}>;
declare const GroupMemberSchema: z.ZodObject<{
groupEmail: z.ZodString;
memberEmail: z.ZodString;
role: z.ZodOptional<z.ZodEnum<["MEMBER", "MANAGER", "OWNER"]>>;
}, "strip", z.ZodTypeAny, {
groupEmail: string;
memberEmail: string;
role?: "MEMBER" | "MANAGER" | "OWNER" | undefined;
}, {
groupEmail: string;
memberEmail: string;
role?: "MEMBER" | "MANAGER" | "OWNER" | undefined;
}>;
declare const ListOrgUnitsSchema: z.ZodObject<{
maxResults: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
maxResults?: number | undefined;
}, {
maxResults?: number | undefined;
}>;
/**
* List all groups in the Google Workspace domain
*/
export declare const gam_list_groups: {
name: string;
description: string;
inputSchema: z.ZodObject<{
domain: z.ZodOptional<z.ZodString>;
maxResults: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
domain?: string | undefined;
maxResults?: number | undefined;
}, {
domain?: string | undefined;
maxResults?: number | undefined;
}>;
handler: (params: z.infer<typeof ListGroupsSchema>) => Promise<{
success: boolean;
error: string;
data: null;
} | {
success: boolean;
data: {
groups: {
email: string | undefined;
name: string | undefined;
description: string | undefined;
memberCount: number;
adminCreated: boolean;
}[];
totalCount: number;
executionTime: number;
};
error: null;
}>;
};
/**
* Get detailed information about a specific group
*/
export declare const gam_get_group: {
name: string;
description: string;
inputSchema: z.ZodObject<{
groupEmail: z.ZodString;
}, "strip", z.ZodTypeAny, {
groupEmail: string;
}, {
groupEmail: string;
}>;
handler: (params: z.infer<typeof GetGroupSchema>) => Promise<{
success: boolean;
error: string;
data: null;
} | {
success: boolean;
data: {
email: string | undefined;
name: string | undefined;
description: string | undefined;
memberCount: number;
adminCreated: boolean;
members: {
email: string | undefined;
role: string | undefined;
type: string | undefined;
}[];
executionTime: number;
};
error: null;
}>;
};
/**
* Create a new group in Google Workspace
*/
export declare const gam_create_group: {
name: string;
description: string;
inputSchema: z.ZodObject<{
groupEmail: z.ZodString;
groupName: z.ZodString;
description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
groupEmail: string;
groupName: string;
description?: string | undefined;
}, {
groupEmail: string;
groupName: string;
description?: string | undefined;
}>;
handler: (params: z.infer<typeof CreateGroupSchema>) => Promise<{
success: boolean;
error: string;
data: null;
} | {
success: boolean;
data: {
groupEmail: string;
message: string;
executionTime: number;
};
error: null;
}>;
};
/**
* Add a member to a group
*/
export declare const gam_add_group_member: {
name: string;
description: string;
inputSchema: z.ZodObject<{
groupEmail: z.ZodString;
memberEmail: z.ZodString;
role: z.ZodOptional<z.ZodEnum<["MEMBER", "MANAGER", "OWNER"]>>;
}, "strip", z.ZodTypeAny, {
groupEmail: string;
memberEmail: string;
role?: "MEMBER" | "MANAGER" | "OWNER" | undefined;
}, {
groupEmail: string;
memberEmail: string;
role?: "MEMBER" | "MANAGER" | "OWNER" | undefined;
}>;
handler: (params: z.infer<typeof GroupMemberSchema>) => Promise<{
success: boolean;
error: string;
data: null;
} | {
success: boolean;
data: {
groupEmail: string;
memberEmail: string;
role: "MEMBER" | "MANAGER" | "OWNER";
message: string;
executionTime: number;
};
error: null;
}>;
};
/**
* Remove a member from a group
*/
export declare const gam_remove_group_member: {
name: string;
description: string;
inputSchema: z.ZodObject<{
groupEmail: z.ZodString;
memberEmail: z.ZodString;
}, "strip", z.ZodTypeAny, {
groupEmail: string;
memberEmail: string;
}, {
groupEmail: string;
memberEmail: string;
}>;
handler: (params: {
groupEmail: string;
memberEmail: string;
}) => Promise<{
success: boolean;
error: string;
data: null;
} | {
success: boolean;
data: {
groupEmail: string;
memberEmail: string;
message: string;
executionTime: number;
};
error: null;
}>;
};
/**
* List all organizational units
*/
export declare const gam_list_orgunits: {
name: string;
description: string;
inputSchema: z.ZodObject<{
maxResults: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
maxResults?: number | undefined;
}, {
maxResults?: number | undefined;
}>;
handler: (params: z.infer<typeof ListOrgUnitsSchema>) => Promise<{
success: boolean;
error: string;
data: null;
} | {
success: boolean;
data: {
orgUnits: {
orgUnitPath: string | undefined;
name: string | undefined;
description: string | undefined;
parentOrgUnitPath: string | undefined;
}[];
totalCount: number;
executionTime: number;
};
error: null;
}>;
};
/**
* Get domain information and settings
*/
export declare const gam_get_domain_info: {
name: string;
description: string;
inputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
handler: () => Promise<{
success: boolean;
error: string;
data: null;
} | {
success: boolean;
data: {
domainInfo: Record<string, string>;
executionTime: number;
};
error: null;
}>;
};
export {};
//# sourceMappingURL=groups.d.ts.map