okta-mcp-server
Version:
Model Context Protocol (MCP) server for Okta API operations with support for bulk operations and caching
221 lines • 6.26 kB
TypeScript
import { z } from 'zod';
export declare const ListGroupsSchema: z.ZodObject<{
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
after: z.ZodOptional<z.ZodString>;
filter: z.ZodOptional<z.ZodString>;
search: z.ZodOptional<z.ZodString>;
type: z.ZodOptional<z.ZodString>;
sortBy: z.ZodOptional<z.ZodEnum<["id", "created", "lastUpdated", "name"]>>;
sortOrder: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
}, "strip", z.ZodTypeAny, {
limit: number;
sortOrder: "asc" | "desc";
after?: string | undefined;
filter?: string | undefined;
search?: string | undefined;
sortBy?: "id" | "name" | "lastUpdated" | "created" | undefined;
type?: string | undefined;
}, {
limit?: number | undefined;
after?: string | undefined;
filter?: string | undefined;
search?: string | undefined;
sortBy?: "id" | "name" | "lastUpdated" | "created" | undefined;
sortOrder?: "asc" | "desc" | undefined;
type?: string | undefined;
}>;
export declare const GetGroupSchema: z.ZodObject<{
groupId: z.ZodString;
}, "strip", z.ZodTypeAny, {
groupId: string;
}, {
groupId: string;
}>;
export declare const CreateGroupSchema: z.ZodObject<{
profile: z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
description?: string | undefined;
}, {
name: string;
description?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
profile: {
name: string;
description?: string | undefined;
};
}, {
profile: {
name: string;
description?: string | undefined;
};
}>;
export declare const UpdateGroupSchema: z.ZodObject<{
groupId: z.ZodString;
profile: z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
description?: string | undefined;
}, {
name?: string | undefined;
description?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
profile: {
name?: string | undefined;
description?: string | undefined;
};
groupId: string;
}, {
profile: {
name?: string | undefined;
description?: string | undefined;
};
groupId: string;
}>;
export declare const DeleteGroupSchema: z.ZodObject<{
groupId: z.ZodString;
}, "strip", z.ZodTypeAny, {
groupId: string;
}, {
groupId: string;
}>;
export declare const ListGroupMembersSchema: z.ZodObject<{
groupId: z.ZodString;
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
after: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
limit: number;
groupId: string;
after?: string | undefined;
}, {
groupId: string;
limit?: number | undefined;
after?: string | undefined;
}>;
export declare const AddGroupMemberSchema: z.ZodObject<{
groupId: z.ZodString;
userId: z.ZodString;
}, "strip", z.ZodTypeAny, {
userId: string;
groupId: string;
}, {
userId: string;
groupId: string;
}>;
export declare const RemoveGroupMemberSchema: z.ZodObject<{
groupId: z.ZodString;
userId: z.ZodString;
}, "strip", z.ZodTypeAny, {
userId: string;
groupId: string;
}, {
userId: string;
groupId: string;
}>;
export declare const GroupResponseSchema: z.ZodObject<{
id: z.ZodString;
created: z.ZodString;
lastUpdated: z.ZodString;
lastMembershipUpdated: z.ZodString;
objectClass: z.ZodArray<z.ZodString, "many">;
type: z.ZodString;
profile: z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
description?: string | undefined;
}, {
name: string;
description?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
id: string;
lastUpdated: string;
created: string;
type: string;
profile: {
name: string;
description?: string | undefined;
};
lastMembershipUpdated: string;
objectClass: string[];
}, {
id: string;
lastUpdated: string;
created: string;
type: string;
profile: {
name: string;
description?: string | undefined;
};
lastMembershipUpdated: string;
objectClass: string[];
}>;
export declare const UserResponseSchema: z.ZodObject<{
id: z.ZodString;
status: z.ZodString;
created: z.ZodString;
activated: z.ZodOptional<z.ZodString>;
statusChanged: z.ZodOptional<z.ZodString>;
lastLogin: z.ZodOptional<z.ZodString>;
lastUpdated: z.ZodString;
passwordChanged: z.ZodOptional<z.ZodString>;
profile: z.ZodObject<{
login: z.ZodString;
email: z.ZodString;
firstName: z.ZodOptional<z.ZodString>;
lastName: z.ZodOptional<z.ZodString>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
login: z.ZodString;
email: z.ZodString;
firstName: z.ZodOptional<z.ZodString>;
lastName: z.ZodOptional<z.ZodString>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
login: z.ZodString;
email: z.ZodString;
firstName: z.ZodOptional<z.ZodString>;
lastName: z.ZodOptional<z.ZodString>;
}, z.ZodTypeAny, "passthrough">>;
}, "strip", z.ZodTypeAny, {
id: string;
status: string;
lastUpdated: string;
created: string;
profile: {
login: string;
email: string;
firstName?: string | undefined;
lastName?: string | undefined;
} & {
[k: string]: unknown;
};
activated?: string | undefined;
lastLogin?: string | undefined;
statusChanged?: string | undefined;
passwordChanged?: string | undefined;
}, {
id: string;
status: string;
lastUpdated: string;
created: string;
profile: {
login: string;
email: string;
firstName?: string | undefined;
lastName?: string | undefined;
} & {
[k: string]: unknown;
};
activated?: string | undefined;
lastLogin?: string | undefined;
statusChanged?: string | undefined;
passwordChanged?: string | undefined;
}>;
//# sourceMappingURL=schemas.d.ts.map