@larksuiteoapi/lark-mcp
Version:
Feishu/Lark OpenAPI MCP
1,288 lines • 1.22 MB
TypeScript
import { z } from 'zod';
export type corehrV2ToolName = 'corehr.v2.approvalGroups.get' | 'corehr.v2.approvalGroups.openQueryDepartmentChangeListByIds' | 'corehr.v2.approvalGroups.openQueryJobChangeListByIds' | 'corehr.v2.approver.list' | 'corehr.v2.basicInfoBankBranch.search' | 'corehr.v2.basicInfoBank.search' | 'corehr.v2.basicInfoCity.search' | 'corehr.v2.basicInfoCountryRegionSubdivision.search' | 'corehr.v2.basicInfoCountryRegion.search' | 'corehr.v2.basicInfoCurrency.search' | 'corehr.v2.basicInfoDistrict.search' | 'corehr.v2.basicInfoLanguage.search' | 'corehr.v2.basicInfoNationality.search' | 'corehr.v2.basicInfoTimeZone.search' | 'corehr.v2.bp.getByDepartment' | 'corehr.v2.bp.list' | 'corehr.v2.company.active' | 'corehr.v2.company.batchGet' | 'corehr.v2.company.queryRecentChange' | 'corehr.v2.contract.search' | 'corehr.v2.costAllocation.batchQuery' | 'corehr.v2.costAllocation.createVersion' | 'corehr.v2.costAllocation.removeVersion' | 'corehr.v2.costAllocation.updateVersion' | 'corehr.v2.costCenter.create' | 'corehr.v2.costCenter.delete' | 'corehr.v2.costCenter.patch' | 'corehr.v2.costCenter.queryRecentChange' | 'corehr.v2.costCenter.search' | 'corehr.v2.costCenterVersion.create' | 'corehr.v2.costCenterVersion.delete' | 'corehr.v2.costCenterVersion.patch' | 'corehr.v2.defaultCostCenter.batchQuery' | 'corehr.v2.defaultCostCenter.createVersion' | 'corehr.v2.defaultCostCenter.removeVersion' | 'corehr.v2.defaultCostCenter.updateVersion' | 'corehr.v2.department.batchGet' | 'corehr.v2.department.delete' | 'corehr.v2.department.parents' | 'corehr.v2.department.patch' | 'corehr.v2.department.queryMultiTimeline' | 'corehr.v2.department.queryOperationLogs' | 'corehr.v2.department.queryRecentChange' | 'corehr.v2.department.queryTimeline' | 'corehr.v2.department.search' | 'corehr.v2.department.tree' | 'corehr.v2.employee.batchGet' | 'corehr.v2.employee.create' | 'corehr.v2.employee.search' | 'corehr.v2.employeesAdditionalJob.batch' | 'corehr.v2.employeesAdditionalJob.create' | 'corehr.v2.employeesAdditionalJob.delete' | 'corehr.v2.employeesAdditionalJob.patch' | 'corehr.v2.employeesBp.batchGet' | 'corehr.v2.employeesJobData.batchGet' | 'corehr.v2.employeesJobData.query' | 'corehr.v2.enum.search' | 'corehr.v2.jobChange.create' | 'corehr.v2.jobChange.revoke' | 'corehr.v2.jobChange.search' | 'corehr.v2.jobFamily.batchGet' | 'corehr.v2.jobGrade.create' | 'corehr.v2.jobGrade.delete' | 'corehr.v2.jobGrade.patch' | 'corehr.v2.jobGrade.query' | 'corehr.v2.jobLevel.batchGet' | 'corehr.v2.job.get' | 'corehr.v2.job.list' | 'corehr.v2.job.queryRecentChange' | 'corehr.v2.location.active' | 'corehr.v2.locationAddress.create' | 'corehr.v2.locationAddress.delete' | 'corehr.v2.locationAddress.patch' | 'corehr.v2.location.batchGet' | 'corehr.v2.location.patch' | 'corehr.v2.location.queryRecentChange' | 'corehr.v2.offboarding.edit' | 'corehr.v2.offboarding.revoke' | 'corehr.v2.offboarding.submitV2' | 'corehr.v2.person.create' | 'corehr.v2.person.patch' | 'corehr.v2.preHire.complete' | 'corehr.v2.preHire.create' | 'corehr.v2.preHire.delete' | 'corehr.v2.preHire.patch' | 'corehr.v2.preHire.query' | 'corehr.v2.preHire.restoreFlowInstance' | 'corehr.v2.preHire.search' | 'corehr.v2.preHire.transitTask' | 'corehr.v2.preHire.withdrawOnboarding' | 'corehr.v2.processRevoke.update' | 'corehr.v2.processWithdraw.update' | 'corehr.v2.processApprover.update' | 'corehr.v2.processExtra.update' | 'corehr.v2.processFormVariableData.get' | 'corehr.v2.process.get' | 'corehr.v2.process.list' | 'corehr.v2.processTransfer.update' | 'corehr.v2.reportDetailRow.batchSave' | 'corehr.v2.workforcePlanDetailRow.batchSave' | 'corehr.v2.workforcePlanDetail.batch' | 'corehr.v2.workforcePlanDetail.batchV2' | 'corehr.v2.workforcePlan.list';
export declare const corehrV2ApprovalGroupsGet: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
params: z.ZodObject<{
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
}, "strip", z.ZodTypeAny, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
path: z.ZodObject<{
process_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
process_id: string;
}, {
process_id: string;
}>;
};
};
export declare const corehrV2ApprovalGroupsOpenQueryDepartmentChangeListByIds: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
department_change_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
need_department_path: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
department_change_ids?: string[] | undefined;
need_department_path?: boolean | undefined;
}, {
department_change_ids?: string[] | undefined;
need_department_path?: boolean | undefined;
}>;
params: z.ZodObject<{
process_id: z.ZodString;
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
department_id_type: z.ZodOptional<z.ZodEnum<["open_department_id", "department_id", "people_corehr_department_id"]>>;
}, "strip", z.ZodTypeAny, {
process_id: string;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
department_id_type?: "department_id" | "open_department_id" | "people_corehr_department_id" | undefined;
}, {
process_id: string;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
department_id_type?: "department_id" | "open_department_id" | "people_corehr_department_id" | undefined;
}>;
};
};
export declare const corehrV2ApprovalGroupsOpenQueryJobChangeListByIds: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
job_change_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
need_department_path: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
need_department_path?: boolean | undefined;
job_change_ids?: string[] | undefined;
}, {
need_department_path?: boolean | undefined;
job_change_ids?: string[] | undefined;
}>;
params: z.ZodObject<{
process_id: z.ZodString;
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
department_id_type: z.ZodOptional<z.ZodEnum<["open_department_id", "department_id", "people_corehr_department_id"]>>;
}, "strip", z.ZodTypeAny, {
process_id: string;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
department_id_type?: "department_id" | "open_department_id" | "people_corehr_department_id" | undefined;
}, {
process_id: string;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
department_id_type?: "department_id" | "open_department_id" | "people_corehr_department_id" | undefined;
}>;
};
};
export declare const corehrV2ApproverList: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
user_id: z.ZodString;
approver_status: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page_size: number;
user_id: string;
page_token?: string | undefined;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
approver_status?: number | undefined;
}, {
page_size: number;
user_id: string;
page_token?: string | undefined;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
approver_status?: number | undefined;
}>;
};
};
export declare const corehrV2BasicInfoBankBranchSearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
bank_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
bank_branch_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
bank_branch_name_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
code_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
status_list: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
update_start_time: z.ZodOptional<z.ZodString>;
update_end_time: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
bank_id_list?: string[] | undefined;
bank_branch_id_list?: string[] | undefined;
bank_branch_name_list?: string[] | undefined;
code_list?: string[] | undefined;
status_list?: number[] | undefined;
update_start_time?: string | undefined;
update_end_time?: string | undefined;
}, {
bank_id_list?: string[] | undefined;
bank_branch_id_list?: string[] | undefined;
bank_branch_name_list?: string[] | undefined;
code_list?: string[] | undefined;
status_list?: number[] | undefined;
update_start_time?: string | undefined;
update_end_time?: string | undefined;
}>;
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
}, {
page_size: number;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV2BasicInfoBankSearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
bank_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
bank_name_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
status_list: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
update_start_time: z.ZodOptional<z.ZodString>;
update_end_time: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
bank_id_list?: string[] | undefined;
status_list?: number[] | undefined;
update_start_time?: string | undefined;
update_end_time?: string | undefined;
bank_name_list?: string[] | undefined;
}, {
bank_id_list?: string[] | undefined;
status_list?: number[] | undefined;
update_start_time?: string | undefined;
update_end_time?: string | undefined;
bank_name_list?: string[] | undefined;
}>;
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
}, {
page_size: number;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV2BasicInfoCitySearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
country_region_subdivision_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
city_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
status_list: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
}, "strip", z.ZodTypeAny, {
status_list?: number[] | undefined;
country_region_subdivision_id_list?: string[] | undefined;
city_id_list?: string[] | undefined;
}, {
status_list?: number[] | undefined;
country_region_subdivision_id_list?: string[] | undefined;
city_id_list?: string[] | undefined;
}>;
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
}, {
page_size: number;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV2BasicInfoCountryRegionSubdivisionSearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
country_region_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
country_region_subdivision_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
status_list: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
}, "strip", z.ZodTypeAny, {
country_region_id_list?: string[] | undefined;
status_list?: number[] | undefined;
country_region_subdivision_id_list?: string[] | undefined;
}, {
country_region_id_list?: string[] | undefined;
status_list?: number[] | undefined;
country_region_subdivision_id_list?: string[] | undefined;
}>;
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
}, {
page_size: number;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV2BasicInfoCountryRegionSearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
country_region_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
status_list: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
}, "strip", z.ZodTypeAny, {
country_region_id_list?: string[] | undefined;
status_list?: number[] | undefined;
}, {
country_region_id_list?: string[] | undefined;
status_list?: number[] | undefined;
}>;
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
}, {
page_size: number;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV2BasicInfoCurrencySearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
currency_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
status_list: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
}, "strip", z.ZodTypeAny, {
status_list?: number[] | undefined;
currency_id_list?: string[] | undefined;
}, {
status_list?: number[] | undefined;
currency_id_list?: string[] | undefined;
}>;
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
}, {
page_size: number;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV2BasicInfoDistrictSearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
city_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
district_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
status_list: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
}, "strip", z.ZodTypeAny, {
status_list?: number[] | undefined;
city_id_list?: string[] | undefined;
district_id_list?: string[] | undefined;
}, {
status_list?: number[] | undefined;
city_id_list?: string[] | undefined;
district_id_list?: string[] | undefined;
}>;
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
}, {
page_size: number;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV2BasicInfoLanguageSearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
language_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
status_list: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
}, "strip", z.ZodTypeAny, {
status_list?: number[] | undefined;
language_id_list?: string[] | undefined;
}, {
status_list?: number[] | undefined;
language_id_list?: string[] | undefined;
}>;
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
}, {
page_size: number;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV2BasicInfoNationalitySearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
nationality_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
country_region_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
status_list: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
}, "strip", z.ZodTypeAny, {
country_region_id_list?: string[] | undefined;
status_list?: number[] | undefined;
nationality_id_list?: string[] | undefined;
}, {
country_region_id_list?: string[] | undefined;
status_list?: number[] | undefined;
nationality_id_list?: string[] | undefined;
}>;
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
}, {
page_size: number;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV2BasicInfoTimeZoneSearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
time_zone_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
status_list: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
}, "strip", z.ZodTypeAny, {
status_list?: number[] | undefined;
time_zone_id_list?: string[] | undefined;
}, {
status_list?: number[] | undefined;
time_zone_id_list?: string[] | undefined;
}>;
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
}, {
page_size: number;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV2BpGetByDepartment: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
department_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
department_id: string;
}, {
department_id: string;
}>;
params: z.ZodObject<{
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
department_id_type: z.ZodOptional<z.ZodEnum<["open_department_id", "department_id", "people_corehr_department_id"]>>;
}, "strip", z.ZodTypeAny, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
department_id_type?: "department_id" | "open_department_id" | "people_corehr_department_id" | undefined;
}, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
department_id_type?: "department_id" | "open_department_id" | "people_corehr_department_id" | undefined;
}>;
};
};
export declare const corehrV2BpList: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
department_id_type: z.ZodOptional<z.ZodEnum<["open_department_id", "department_id", "people_corehr_department_id"]>>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
department_id_type?: "department_id" | "open_department_id" | "people_corehr_department_id" | undefined;
}, {
page_size: number;
page_token?: string | undefined;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
department_id_type?: "department_id" | "open_department_id" | "people_corehr_department_id" | undefined;
}>;
};
};
export declare const corehrV2CompanyActive: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
company_id: z.ZodString;
effective_time: z.ZodString;
active: z.ZodBoolean;
operation_reason: z.ZodString;
}, "strip", z.ZodTypeAny, {
effective_time: string;
active: boolean;
company_id: string;
operation_reason: string;
}, {
effective_time: string;
active: boolean;
company_id: string;
operation_reason: string;
}>;
};
};
export declare const corehrV2CompanyBatchGet: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
company_ids: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
company_ids: string[];
}, {
company_ids: string[];
}>;
};
};
export declare const corehrV2CompanyQueryRecentChange: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
start_date: z.ZodString;
end_date: z.ZodString;
}, "strip", z.ZodTypeAny, {
page_size: number;
start_date: string;
end_date: string;
page_token?: string | undefined;
}, {
page_size: number;
start_date: string;
end_date: string;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV2ContractSearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
employment_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
contract_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
employment_id_list?: string[] | undefined;
contract_id_list?: string[] | undefined;
}, {
employment_id_list?: string[] | undefined;
contract_id_list?: string[] | undefined;
}>;
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
page_size: number;
page_token?: string | undefined;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
};
};
export declare const corehrV2CostAllocationBatchQuery: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
employment_ids: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
employment_ids: string[];
}, {
employment_ids: string[];
}>;
params: z.ZodObject<{
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
}, "strip", z.ZodTypeAny, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
};
};
export declare const corehrV2CostAllocationCreateVersion: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
employment_id: z.ZodString;
cost_allocation: z.ZodOptional<z.ZodObject<{
effective_time: z.ZodString;
expiration_time: z.ZodOptional<z.ZodString>;
job_data_cost_center_id: z.ZodOptional<z.ZodArray<z.ZodObject<{
cost_center_id: z.ZodString;
new_rate: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
cost_center_id: string;
new_rate: number;
}, {
cost_center_id: string;
new_rate: number;
}>, "many">>;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
effective_time: string;
expiration_time?: string | undefined;
reason?: string | undefined;
job_data_cost_center_id?: {
cost_center_id: string;
new_rate: number;
}[] | undefined;
}, {
effective_time: string;
expiration_time?: string | undefined;
reason?: string | undefined;
job_data_cost_center_id?: {
cost_center_id: string;
new_rate: number;
}[] | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
employment_id: string;
cost_allocation?: {
effective_time: string;
expiration_time?: string | undefined;
reason?: string | undefined;
job_data_cost_center_id?: {
cost_center_id: string;
new_rate: number;
}[] | undefined;
} | undefined;
}, {
employment_id: string;
cost_allocation?: {
effective_time: string;
expiration_time?: string | undefined;
reason?: string | undefined;
job_data_cost_center_id?: {
cost_center_id: string;
new_rate: number;
}[] | undefined;
} | undefined;
}>;
params: z.ZodObject<{
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
client_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
client_token?: string | undefined;
}, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
client_token?: string | undefined;
}>;
};
};
export declare const corehrV2CostAllocationRemoveVersion: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
employment_id: z.ZodString;
cost_allocation: z.ZodOptional<z.ZodObject<{
wk_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
wk_id: string;
}, {
wk_id: string;
}>>;
}, "strip", z.ZodTypeAny, {
employment_id: string;
cost_allocation?: {
wk_id: string;
} | undefined;
}, {
employment_id: string;
cost_allocation?: {
wk_id: string;
} | undefined;
}>;
params: z.ZodObject<{
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
client_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
client_token?: string | undefined;
}, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
client_token?: string | undefined;
}>;
};
};
export declare const corehrV2CostAllocationUpdateVersion: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
employment_id: z.ZodString;
cost_allocation: z.ZodOptional<z.ZodObject<{
wk_id: z.ZodString;
effective_time: z.ZodOptional<z.ZodString>;
expiration_time: z.ZodOptional<z.ZodString>;
job_data_cost_center_id: z.ZodOptional<z.ZodArray<z.ZodObject<{
cost_center_id: z.ZodOptional<z.ZodString>;
new_rate: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
cost_center_id?: string | undefined;
new_rate?: number | undefined;
}, {
cost_center_id?: string | undefined;
new_rate?: number | undefined;
}>, "many">>;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
wk_id: string;
effective_time?: string | undefined;
expiration_time?: string | undefined;
reason?: string | undefined;
job_data_cost_center_id?: {
cost_center_id?: string | undefined;
new_rate?: number | undefined;
}[] | undefined;
}, {
wk_id: string;
effective_time?: string | undefined;
expiration_time?: string | undefined;
reason?: string | undefined;
job_data_cost_center_id?: {
cost_center_id?: string | undefined;
new_rate?: number | undefined;
}[] | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
employment_id: string;
cost_allocation?: {
wk_id: string;
effective_time?: string | undefined;
expiration_time?: string | undefined;
reason?: string | undefined;
job_data_cost_center_id?: {
cost_center_id?: string | undefined;
new_rate?: number | undefined;
}[] | undefined;
} | undefined;
}, {
employment_id: string;
cost_allocation?: {
wk_id: string;
effective_time?: string | undefined;
expiration_time?: string | undefined;
reason?: string | undefined;
job_data_cost_center_id?: {
cost_center_id?: string | undefined;
new_rate?: number | undefined;
}[] | undefined;
} | undefined;
}>;
params: z.ZodObject<{
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
client_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
client_token?: string | undefined;
}, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
client_token?: string | undefined;
}>;
};
};
export declare const corehrV2CostCenterCreate: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
name: z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">;
code: z.ZodOptional<z.ZodString>;
parent_cost_center_id: z.ZodOptional<z.ZodString>;
managers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">>;
effective_time: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: {
value: string;
lang: string;
}[];
effective_time: string;
code?: string | undefined;
description?: {
value: string;
lang: string;
}[] | undefined;
managers?: string[] | undefined;
parent_cost_center_id?: string | undefined;
}, {
name: {
value: string;
lang: string;
}[];
effective_time: string;
code?: string | undefined;
description?: {
value: string;
lang: string;
}[] | undefined;
managers?: string[] | undefined;
parent_cost_center_id?: string | undefined;
}>;
params: z.ZodObject<{
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
}, "strip", z.ZodTypeAny, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
};
};
export declare const corehrV2CostCenterDelete: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
operation_reason: z.ZodString;
}, "strip", z.ZodTypeAny, {
operation_reason: string;
}, {
operation_reason: string;
}>;
path: z.ZodObject<{
cost_center_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
cost_center_id?: string | undefined;
}, {
cost_center_id?: string | undefined;
}>;
};
};
export declare const corehrV2CostCenterPatch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
effective_time: z.ZodString;
active: z.ZodBoolean;
operation_reason: z.ZodString;
}, "strip", z.ZodTypeAny, {
effective_time: string;
active: boolean;
operation_reason: string;
}, {
effective_time: string;
active: boolean;
operation_reason: string;
}>;
params: z.ZodObject<{
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
}, "strip", z.ZodTypeAny, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
path: z.ZodObject<{
cost_center_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
cost_center_id?: string | undefined;
}, {
cost_center_id?: string | undefined;
}>;
};
};
export declare const corehrV2CostCenterQueryRecentChange: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
start_date: z.ZodString;
end_date: z.ZodString;
}, "strip", z.ZodTypeAny, {
page_size: number;
start_date: string;
end_date: string;
page_token?: string | undefined;
}, {
page_size: number;
start_date: string;
end_date: string;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV2CostCenterSearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
cost_center_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
name_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
code: z.ZodOptional<z.ZodString>;
parent_cost_center_id: z.ZodOptional<z.ZodString>;
get_all_version: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
code?: string | undefined;
name_list?: string[] | undefined;
get_all_version?: boolean | undefined;
parent_cost_center_id?: string | undefined;
cost_center_id_list?: string[] | undefined;
}, {
code?: string | undefined;
name_list?: string[] | undefined;
get_all_version?: boolean | undefined;
parent_cost_center_id?: string | undefined;
cost_center_id_list?: string[] | undefined;
}>;
params: z.ZodObject<{
page_size: z.ZodNumber;
page_token: z.ZodOptional<z.ZodString>;
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
}, "strip", z.ZodTypeAny, {
page_size: number;
page_token?: string | undefined;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
page_size: number;
page_token?: string | undefined;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
};
};
export declare const corehrV2CostCenterVersionCreate: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
name: z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">;
parent_cost_center_id: z.ZodOptional<z.ZodString>;
managers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">>;
effective_time: z.ZodString;
operation_reason: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: {
value: string;
lang: string;
}[];
effective_time: string;
operation_reason: string;
description?: {
value: string;
lang: string;
}[] | undefined;
managers?: string[] | undefined;
parent_cost_center_id?: string | undefined;
}, {
name: {
value: string;
lang: string;
}[];
effective_time: string;
operation_reason: string;
description?: {
value: string;
lang: string;
}[] | undefined;
managers?: string[] | undefined;
parent_cost_center_id?: string | undefined;
}>;
params: z.ZodObject<{
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
}, "strip", z.ZodTypeAny, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
path: z.ZodObject<{
cost_center_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
cost_center_id?: string | undefined;
}, {
cost_center_id?: string | undefined;
}>;
};
};
export declare const corehrV2CostCenterVersionDelete: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
operation_reason: z.ZodString;
}, "strip", z.ZodTypeAny, {
operation_reason: string;
}, {
operation_reason: string;
}>;
path: z.ZodObject<{
cost_center_id: z.ZodOptional<z.ZodString>;
version_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
version_id?: string | undefined;
cost_center_id?: string | undefined;
}, {
version_id?: string | undefined;
cost_center_id?: string | undefined;
}>;
};
};
export declare const corehrV2CostCenterVersionPatch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
name: z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">;
parent_cost_center_id: z.ZodOptional<z.ZodString>;
managers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">>;
effective_time: z.ZodString;
operation_reason: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: {
value: string;
lang: string;
}[];
effective_time: string;
operation_reason: string;
description?: {
value: string;
lang: string;
}[] | undefined;
managers?: string[] | undefined;
parent_cost_center_id?: string | undefined;
}, {
name: {
value: string;
lang: string;
}[];
effective_time: string;
operation_reason: string;
description?: {
value: string;
lang: string;
}[] | undefined;
managers?: string[] | undefined;
parent_cost_center_id?: string | undefined;
}>;
params: z.ZodObject<{
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
}, "strip", z.ZodTypeAny, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
path: z.ZodObject<{
cost_center_id: z.ZodOptional<z.ZodString>;
version_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
version_id?: string | undefined;
cost_center_id?: string | undefined;
}, {
version_id?: string | undefined;
cost_center_id?: string | undefined;
}>;
};
};
export declare const corehrV2DefaultCostCenterBatchQuery: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
employment_ids: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
employment_ids: string[];
}, {
employment_ids: string[];
}>;
params: z.ZodObject<{
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
}, "strip", z.ZodTypeAny, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
};
};
export declare const corehrV2DefaultCostCenterCreateVersion: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
employment_id: z.ZodString;
default_cost_center: z.ZodOptional<z.ZodObject<{
effective_time: z.ZodString;
cost_center_id: z.ZodOptional<z.ZodString>;
is_inherit: z.ZodOptional<z.ZodBoolean>;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
effe