UNPKG

@larksuiteoapi/lark-mcp

Version:
159 lines (158 loc) 5.42 kB
import { z } from 'zod'; export type hireV2ToolName = 'hire.v2.interviewRecord.get' | 'hire.v2.interviewRecord.list' | 'hire.v2.talent.get'; export declare const hireV2InterviewRecordGet: { project: string; name: string; sdkName: string; path: string; httpMethod: string; description: string; accessTokens: string[]; schema: { params: z.ZodOptional<z.ZodObject<{ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>; }, "strip", z.ZodTypeAny, { user_id_type?: "user_id" | "union_id" | "open_id" | undefined; }, { user_id_type?: "user_id" | "union_id" | "open_id" | undefined; }>>; path: z.ZodObject<{ interview_record_id: z.ZodString; }, "strip", z.ZodTypeAny, { interview_record_id: string; }, { interview_record_id: string; }>; useUAT: z.ZodOptional<z.ZodBoolean>; }; }; export declare const hireV2InterviewRecordList: { project: string; name: string; sdkName: string; path: string; httpMethod: string; description: string; accessTokens: string[]; schema: { params: z.ZodOptional<z.ZodObject<{ ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; page_size: z.ZodOptional<z.ZodNumber>; page_token: z.ZodOptional<z.ZodString>; user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>; }, "strip", z.ZodTypeAny, { page_size?: number | undefined; page_token?: string | undefined; user_id_type?: "user_id" | "union_id" | "open_id" | undefined; ids?: string[] | undefined; }, { page_size?: number | undefined; page_token?: string | undefined; user_id_type?: "user_id" | "union_id" | "open_id" | undefined; ids?: string[] | undefined; }>>; useUAT: z.ZodOptional<z.ZodBoolean>; }; }; export declare const hireV2TalentGet: { project: string; name: string; sdkName: string; path: string; httpMethod: string; description: string; accessTokens: string[]; schema: { params: z.ZodOptional<z.ZodObject<{ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_admin_id"]>>; }, "strip", z.ZodTypeAny, { user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id" | undefined; }, { user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id" | undefined; }>>; path: z.ZodObject<{ talent_id: z.ZodString; }, "strip", z.ZodTypeAny, { talent_id: string; }, { talent_id: string; }>; }; }; export declare const hireV2Tools: ({ project: string; name: string; sdkName: string; path: string; httpMethod: string; description: string; accessTokens: string[]; schema: { params: z.ZodOptional<z.ZodObject<{ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>; }, "strip", z.ZodTypeAny, { user_id_type?: "user_id" | "union_id" | "open_id" | undefined; }, { user_id_type?: "user_id" | "union_id" | "open_id" | undefined; }>>; path: z.ZodObject<{ interview_record_id: z.ZodString; }, "strip", z.ZodTypeAny, { interview_record_id: string; }, { interview_record_id: string; }>; useUAT: z.ZodOptional<z.ZodBoolean>; }; } | { project: string; name: string; sdkName: string; path: string; httpMethod: string; description: string; accessTokens: string[]; schema: { params: z.ZodOptional<z.ZodObject<{ ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; page_size: z.ZodOptional<z.ZodNumber>; page_token: z.ZodOptional<z.ZodString>; user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>; }, "strip", z.ZodTypeAny, { page_size?: number | undefined; page_token?: string | undefined; user_id_type?: "user_id" | "union_id" | "open_id" | undefined; ids?: string[] | undefined; }, { page_size?: number | undefined; page_token?: string | undefined; user_id_type?: "user_id" | "union_id" | "open_id" | undefined; ids?: string[] | undefined; }>>; useUAT: z.ZodOptional<z.ZodBoolean>; }; } | { project: string; name: string; sdkName: string; path: string; httpMethod: string; description: string; accessTokens: string[]; schema: { params: z.ZodOptional<z.ZodObject<{ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_admin_id"]>>; }, "strip", z.ZodTypeAny, { user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id" | undefined; }, { user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id" | undefined; }>>; path: z.ZodObject<{ talent_id: z.ZodString; }, "strip", z.ZodTypeAny, { talent_id: string; }, { talent_id: string; }>; }; })[];