@larksuiteoapi/lark-mcp
Version:
Feishu/Lark OpenAPI MCP
1,198 lines (1,197 loc) • 683 kB
TypeScript
import { z } from 'zod';
export type corehrV1ToolName = 'corehr.v1.assignedUser.search' | 'corehr.v1.authorization.addRoleAssign' | 'corehr.v1.authorization.getByParam' | 'corehr.v1.authorization.query' | 'corehr.v1.authorization.removeRoleAssign' | 'corehr.v1.authorization.updateRoleAssign' | 'corehr.v1.commonDataId.convert' | 'corehr.v1.commonDataMetaData.addEnumOption' | 'corehr.v1.commonDataMetaData.editEnumOption' | 'corehr.v1.company.create' | 'corehr.v1.company.delete' | 'corehr.v1.company.get' | 'corehr.v1.company.list' | 'corehr.v1.company.patch' | 'corehr.v1.compensationStandard.match' | 'corehr.v1.contract.create' | 'corehr.v1.contract.delete' | 'corehr.v1.contract.get' | 'corehr.v1.contract.list' | 'corehr.v1.contract.patch' | 'corehr.v1.countryRegion.get' | 'corehr.v1.countryRegion.list' | 'corehr.v1.currency.get' | 'corehr.v1.currency.list' | 'corehr.v1.customField.getByParam' | 'corehr.v1.customField.listObjectApiName' | 'corehr.v1.customField.query' | 'corehr.v1.department.create' | 'corehr.v1.department.delete' | 'corehr.v1.department.get' | 'corehr.v1.department.list' | 'corehr.v1.department.patch' | 'corehr.v1.employeeType.create' | 'corehr.v1.employeeType.delete' | 'corehr.v1.employeeType.get' | 'corehr.v1.employeeType.list' | 'corehr.v1.employeeType.patch' | 'corehr.v1.employment.create' | 'corehr.v1.employment.delete' | 'corehr.v1.employment.patch' | 'corehr.v1.jobChange.create' | 'corehr.v1.jobData.create' | 'corehr.v1.jobData.delete' | 'corehr.v1.jobData.get' | 'corehr.v1.jobData.list' | 'corehr.v1.jobData.patch' | 'corehr.v1.jobFamily.create' | 'corehr.v1.jobFamily.delete' | 'corehr.v1.jobFamily.get' | 'corehr.v1.jobFamily.list' | 'corehr.v1.jobFamily.patch' | 'corehr.v1.jobLevel.create' | 'corehr.v1.jobLevel.delete' | 'corehr.v1.jobLevel.get' | 'corehr.v1.jobLevel.list' | 'corehr.v1.jobLevel.patch' | 'corehr.v1.job.create' | 'corehr.v1.job.delete' | 'corehr.v1.job.get' | 'corehr.v1.job.list' | 'corehr.v1.job.patch' | 'corehr.v1.leaveGrantingRecord.create' | 'corehr.v1.leaveGrantingRecord.delete' | 'corehr.v1.leave.calendarByScope' | 'corehr.v1.leave.leaveBalances' | 'corehr.v1.leave.leaveRequestHistory' | 'corehr.v1.leave.leaveTypes' | 'corehr.v1.leave.workCalendar' | 'corehr.v1.leave.workCalendarDate' | 'corehr.v1.location.create' | 'corehr.v1.location.delete' | 'corehr.v1.location.get' | 'corehr.v1.location.list' | 'corehr.v1.nationalIdType.create' | 'corehr.v1.nationalIdType.delete' | 'corehr.v1.nationalIdType.get' | 'corehr.v1.nationalIdType.list' | 'corehr.v1.nationalIdType.patch' | 'corehr.v1.offboarding.query' | 'corehr.v1.offboarding.search' | 'corehr.v1.offboarding.submit' | 'corehr.v1.person.create' | 'corehr.v1.person.delete' | 'corehr.v1.person.get' | 'corehr.v1.person.patch' | 'corehr.v1.preHire.delete' | 'corehr.v1.preHire.get' | 'corehr.v1.preHire.list' | 'corehr.v1.preHire.patch' | 'corehr.v1.processFormVariableData.get' | 'corehr.v1.securityGroup.list' | 'corehr.v1.securityGroup.query' | 'corehr.v1.subdivision.get' | 'corehr.v1.subdivision.list' | 'corehr.v1.subregion.get' | 'corehr.v1.subregion.list' | 'corehr.v1.transferReason.query' | 'corehr.v1.transferType.query' | 'corehr.v1.workingHoursType.create' | 'corehr.v1.workingHoursType.delete' | 'corehr.v1.workingHoursType.get' | 'corehr.v1.workingHoursType.list' | 'corehr.v1.workingHoursType.patch';
export declare const corehrV1AssignedUserSearch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
role_id: z.ZodString;
management_scope_list: z.ZodArray<z.ZodObject<{
management_dimension: z.ZodString;
obj_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
management_dimension: string;
obj_id: string;
}, {
management_dimension: string;
obj_id: string;
}>, "many">;
search_method: z.ZodString;
page_token: z.ZodOptional<z.ZodString>;
page_size: z.ZodString;
}, "strip", z.ZodTypeAny, {
page_size: string;
role_id: string;
management_scope_list: {
management_dimension: string;
obj_id: string;
}[];
search_method: string;
page_token?: string | undefined;
}, {
page_size: string;
role_id: string;
management_scope_list: {
management_dimension: string;
obj_id: string;
}[];
search_method: string;
page_token?: string | undefined;
}>;
params: z.ZodOptional<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 corehrV1AuthorizationAddRoleAssign: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
assigned_organization_items: z.ZodArray<z.ZodArray<z.ZodObject<{
org_key: z.ZodString;
org_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
org_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
org_key: string;
org_ids?: string[] | undefined;
org_codes?: string[] | undefined;
}, {
org_key: string;
org_ids?: string[] | undefined;
org_codes?: string[] | undefined;
}>, "many">, "many">;
}, "strip", z.ZodTypeAny, {
assigned_organization_items: {
org_key: string;
org_ids?: string[] | undefined;
org_codes?: string[] | undefined;
}[][];
}, {
assigned_organization_items: {
org_key: string;
org_ids?: string[] | undefined;
org_codes?: string[] | undefined;
}[][];
}>;
params: z.ZodObject<{
employment_id: z.ZodString;
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
role_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
employment_id: string;
role_id: string;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
employment_id: string;
role_id: string;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
};
};
export declare const corehrV1AuthorizationGetByParam: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
params: z.ZodObject<{
employment_id: z.ZodString;
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
}, "strip", z.ZodTypeAny, {
employment_id: string;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
employment_id: string;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
};
};
export declare const corehrV1AuthorizationQuery: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
params: z.ZodOptional<z.ZodObject<{
employment_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
role_id_list: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
page_token: z.ZodOptional<z.ZodString>;
page_size: z.ZodOptional<z.ZodString>;
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
updated_at_gte: z.ZodOptional<z.ZodString>;
updated_at_lte: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
page_size?: string | undefined;
page_token?: string | undefined;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
employment_id_list?: string[] | undefined;
role_id_list?: string[] | undefined;
updated_at_gte?: string | undefined;
updated_at_lte?: string | undefined;
}, {
page_size?: string | undefined;
page_token?: string | undefined;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
employment_id_list?: string[] | undefined;
role_id_list?: string[] | undefined;
updated_at_gte?: string | undefined;
updated_at_lte?: string | undefined;
}>>;
};
};
export declare const corehrV1AuthorizationRemoveRoleAssign: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
params: z.ZodObject<{
employment_id: z.ZodString;
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
role_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
employment_id: string;
role_id: string;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
employment_id: string;
role_id: string;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
};
};
export declare const corehrV1AuthorizationUpdateRoleAssign: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
assigned_organization_items: z.ZodArray<z.ZodArray<z.ZodObject<{
org_key: z.ZodString;
org_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
org_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
org_key: string;
org_ids?: string[] | undefined;
org_codes?: string[] | undefined;
}, {
org_key: string;
org_ids?: string[] | undefined;
org_codes?: string[] | undefined;
}>, "many">, "many">;
}, "strip", z.ZodTypeAny, {
assigned_organization_items: {
org_key: string;
org_ids?: string[] | undefined;
org_codes?: string[] | undefined;
}[][];
}, {
assigned_organization_items: {
org_key: string;
org_ids?: string[] | undefined;
org_codes?: string[] | undefined;
}[][];
}>;
params: z.ZodObject<{
employment_id: z.ZodString;
user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "people_corehr_id"]>>;
role_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
employment_id: string;
role_id: string;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}, {
employment_id: string;
role_id: string;
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id" | undefined;
}>;
};
};
export declare const corehrV1CommonDataIdConvert: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
ids: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
ids: string[];
}, {
ids: string[];
}>;
params: z.ZodObject<{
id_transform_type: z.ZodNumber;
id_type: z.ZodEnum<["user_id", "department_id", "job_level_id", "job_family_id", "employee_type_id"]>;
feishu_user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
feishu_department_id_type: z.ZodOptional<z.ZodEnum<["open_department_id", "department_id"]>>;
}, "strip", z.ZodTypeAny, {
id_transform_type: number;
id_type: "user_id" | "department_id" | "job_family_id" | "job_level_id" | "employee_type_id";
feishu_user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
feishu_department_id_type?: "department_id" | "open_department_id" | undefined;
}, {
id_transform_type: number;
id_type: "user_id" | "department_id" | "job_family_id" | "job_level_id" | "employee_type_id";
feishu_user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
feishu_department_id_type?: "department_id" | "open_department_id" | undefined;
}>;
};
};
export declare const corehrV1CommonDataMetaDataAddEnumOption: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
object_api_name: z.ZodString;
enum_field_api_name: z.ZodString;
enum_field_options: z.ZodArray<z.ZodObject<{
option_api_name: z.ZodString;
name: z.ZodObject<{
zh_cn: z.ZodOptional<z.ZodString>;
en_us: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
zh_cn?: string | undefined;
en_us?: string | undefined;
}, {
zh_cn?: string | undefined;
en_us?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
name: {
zh_cn?: string | undefined;
en_us?: string | undefined;
};
option_api_name: string;
}, {
name: {
zh_cn?: string | undefined;
en_us?: string | undefined;
};
option_api_name: string;
}>, "many">;
}, "strip", z.ZodTypeAny, {
object_api_name: string;
enum_field_api_name: string;
enum_field_options: {
name: {
zh_cn?: string | undefined;
en_us?: string | undefined;
};
option_api_name: string;
}[];
}, {
object_api_name: string;
enum_field_api_name: string;
enum_field_options: {
name: {
zh_cn?: string | undefined;
en_us?: string | undefined;
};
option_api_name: string;
}[];
}>;
params: z.ZodOptional<z.ZodObject<{
client_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
client_token?: string | undefined;
}, {
client_token?: string | undefined;
}>>;
};
};
export declare const corehrV1CommonDataMetaDataEditEnumOption: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
object_api_name: z.ZodString;
enum_field_api_name: z.ZodString;
enum_field_option: z.ZodObject<{
option_api_name: z.ZodString;
active: z.ZodBoolean;
name: z.ZodObject<{
zh_cn: z.ZodOptional<z.ZodString>;
en_us: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
zh_cn?: string | undefined;
en_us?: string | undefined;
}, {
zh_cn?: string | undefined;
en_us?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
name: {
zh_cn?: string | undefined;
en_us?: string | undefined;
};
option_api_name: string;
active: boolean;
}, {
name: {
zh_cn?: string | undefined;
en_us?: string | undefined;
};
option_api_name: string;
active: boolean;
}>;
}, "strip", z.ZodTypeAny, {
object_api_name: string;
enum_field_api_name: string;
enum_field_option: {
name: {
zh_cn?: string | undefined;
en_us?: string | undefined;
};
option_api_name: string;
active: boolean;
};
}, {
object_api_name: string;
enum_field_api_name: string;
enum_field_option: {
name: {
zh_cn?: string | undefined;
en_us?: string | undefined;
};
option_api_name: string;
active: boolean;
};
}>;
params: z.ZodOptional<z.ZodObject<{
client_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
client_token?: string | undefined;
}, {
client_token?: string | undefined;
}>>;
};
};
export declare const corehrV1CompanyCreate: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodObject<{
hiberarchy_common: z.ZodObject<{
parent_id: z.ZodOptional<z.ZodString>;
name: z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">;
active: z.ZodBoolean;
effective_time: z.ZodOptional<z.ZodString>;
code: z.ZodOptional<z.ZodString>;
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">>;
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
field_name: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
field_name: string;
}, {
value: string;
field_name: string;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
name: {
value: string;
lang: string;
}[];
active: boolean;
code?: string | undefined;
effective_time?: string | undefined;
description?: {
value: string;
lang: string;
}[] | undefined;
parent_id?: string | undefined;
custom_fields?: {
value: string;
field_name: string;
}[] | undefined;
}, {
name: {
value: string;
lang: string;
}[];
active: boolean;
code?: string | undefined;
effective_time?: string | undefined;
description?: {
value: string;
lang: string;
}[] | undefined;
parent_id?: string | undefined;
custom_fields?: {
value: string;
field_name: string;
}[] | undefined;
}>;
type: z.ZodOptional<z.ZodObject<{
enum_name: z.ZodString;
}, "strip", z.ZodTypeAny, {
enum_name: string;
}, {
enum_name: string;
}>>;
industry_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
enum_name: z.ZodString;
}, "strip", z.ZodTypeAny, {
enum_name: string;
}, {
enum_name: string;
}>, "many">>;
legal_representative: z.ZodOptional<z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">>;
post_code: z.ZodOptional<z.ZodString>;
tax_payer_id: z.ZodOptional<z.ZodString>;
confidential: z.ZodOptional<z.ZodBoolean>;
sub_type_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
enum_name: z.ZodString;
}, "strip", z.ZodTypeAny, {
enum_name: string;
}, {
enum_name: string;
}>, "many">>;
branch_company: z.ZodOptional<z.ZodBoolean>;
primary_manager: z.ZodOptional<z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">>;
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
field_name: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
field_name: string;
}, {
value: string;
field_name: string;
}>, "many">>;
currency: z.ZodOptional<z.ZodObject<{
currency_name: z.ZodOptional<z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">>;
numeric_code: z.ZodOptional<z.ZodNumber>;
currency_alpha_3_code: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
currency_name?: {
value: string;
lang: string;
}[] | undefined;
numeric_code?: number | undefined;
currency_alpha_3_code?: string | undefined;
}, {
currency_name?: {
value: string;
lang: string;
}[] | undefined;
numeric_code?: number | undefined;
currency_alpha_3_code?: string | undefined;
}>>;
phone: z.ZodOptional<z.ZodObject<{
area_code: z.ZodObject<{
enum_name: z.ZodString;
}, "strip", z.ZodTypeAny, {
enum_name: string;
}, {
enum_name: string;
}>;
phone_number: z.ZodString;
}, "strip", z.ZodTypeAny, {
area_code: {
enum_name: string;
};
phone_number: string;
}, {
area_code: {
enum_name: string;
};
phone_number: string;
}>>;
fax: z.ZodOptional<z.ZodObject<{
area_code: z.ZodObject<{
enum_name: z.ZodString;
}, "strip", z.ZodTypeAny, {
enum_name: string;
}, {
enum_name: string;
}>;
phone_number: z.ZodString;
}, "strip", z.ZodTypeAny, {
area_code: {
enum_name: string;
};
phone_number: string;
}, {
area_code: {
enum_name: string;
};
phone_number: string;
}>>;
registered_office_address_info: z.ZodOptional<z.ZodObject<{
country_region_id: z.ZodString;
region_id: z.ZodOptional<z.ZodString>;
city_id: z.ZodOptional<z.ZodString>;
distinct_id: z.ZodOptional<z.ZodString>;
address_line1: z.ZodOptional<z.ZodString>;
address_line2: z.ZodOptional<z.ZodString>;
address_line3: z.ZodOptional<z.ZodString>;
address_line4: z.ZodOptional<z.ZodString>;
address_line5: z.ZodOptional<z.ZodString>;
address_line6: z.ZodOptional<z.ZodString>;
address_line7: z.ZodOptional<z.ZodString>;
address_line8: z.ZodOptional<z.ZodString>;
address_line9: z.ZodOptional<z.ZodString>;
local_address_line1: z.ZodOptional<z.ZodString>;
local_address_line2: z.ZodOptional<z.ZodString>;
local_address_line3: z.ZodOptional<z.ZodString>;
local_address_line4: z.ZodOptional<z.ZodString>;
local_address_line5: z.ZodOptional<z.ZodString>;
local_address_line6: z.ZodOptional<z.ZodString>;
local_address_line7: z.ZodOptional<z.ZodString>;
local_address_line8: z.ZodOptional<z.ZodString>;
local_address_line9: z.ZodOptional<z.ZodString>;
postal_code: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
country_region_id: string;
region_id?: string | undefined;
city_id?: string | undefined;
distinct_id?: string | undefined;
address_line1?: string | undefined;
address_line2?: string | undefined;
address_line3?: string | undefined;
address_line4?: string | undefined;
address_line5?: string | undefined;
address_line6?: string | undefined;
address_line7?: string | undefined;
address_line8?: string | undefined;
address_line9?: string | undefined;
local_address_line1?: string | undefined;
local_address_line2?: string | undefined;
local_address_line3?: string | undefined;
local_address_line4?: string | undefined;
local_address_line5?: string | undefined;
local_address_line6?: string | undefined;
local_address_line7?: string | undefined;
local_address_line8?: string | undefined;
local_address_line9?: string | undefined;
postal_code?: string | undefined;
}, {
country_region_id: string;
region_id?: string | undefined;
city_id?: string | undefined;
distinct_id?: string | undefined;
address_line1?: string | undefined;
address_line2?: string | undefined;
address_line3?: string | undefined;
address_line4?: string | undefined;
address_line5?: string | undefined;
address_line6?: string | undefined;
address_line7?: string | undefined;
address_line8?: string | undefined;
address_line9?: string | undefined;
local_address_line1?: string | undefined;
local_address_line2?: string | undefined;
local_address_line3?: string | undefined;
local_address_line4?: string | undefined;
local_address_line5?: string | undefined;
local_address_line6?: string | undefined;
local_address_line7?: string | undefined;
local_address_line8?: string | undefined;
local_address_line9?: string | undefined;
postal_code?: string | undefined;
}>>;
office_address_info: z.ZodOptional<z.ZodObject<{
country_region_id: z.ZodString;
region_id: z.ZodOptional<z.ZodString>;
city_id: z.ZodOptional<z.ZodString>;
distinct_id: z.ZodOptional<z.ZodString>;
address_line1: z.ZodOptional<z.ZodString>;
address_line2: z.ZodOptional<z.ZodString>;
address_line3: z.ZodOptional<z.ZodString>;
address_line4: z.ZodOptional<z.ZodString>;
address_line5: z.ZodOptional<z.ZodString>;
address_line6: z.ZodOptional<z.ZodString>;
address_line7: z.ZodOptional<z.ZodString>;
address_line8: z.ZodOptional<z.ZodString>;
address_line9: z.ZodOptional<z.ZodString>;
local_address_line1: z.ZodOptional<z.ZodString>;
local_address_line2: z.ZodOptional<z.ZodString>;
local_address_line3: z.ZodOptional<z.ZodString>;
local_address_line4: z.ZodOptional<z.ZodString>;
local_address_line5: z.ZodOptional<z.ZodString>;
local_address_line6: z.ZodOptional<z.ZodString>;
local_address_line7: z.ZodOptional<z.ZodString>;
local_address_line8: z.ZodOptional<z.ZodString>;
local_address_line9: z.ZodOptional<z.ZodString>;
postal_code: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
country_region_id: string;
region_id?: string | undefined;
city_id?: string | undefined;
distinct_id?: string | undefined;
address_line1?: string | undefined;
address_line2?: string | undefined;
address_line3?: string | undefined;
address_line4?: string | undefined;
address_line5?: string | undefined;
address_line6?: string | undefined;
address_line7?: string | undefined;
address_line8?: string | undefined;
address_line9?: string | undefined;
local_address_line1?: string | undefined;
local_address_line2?: string | undefined;
local_address_line3?: string | undefined;
local_address_line4?: string | undefined;
local_address_line5?: string | undefined;
local_address_line6?: string | undefined;
local_address_line7?: string | undefined;
local_address_line8?: string | undefined;
local_address_line9?: string | undefined;
postal_code?: string | undefined;
}, {
country_region_id: string;
region_id?: string | undefined;
city_id?: string | undefined;
distinct_id?: string | undefined;
address_line1?: string | undefined;
address_line2?: string | undefined;
address_line3?: string | undefined;
address_line4?: string | undefined;
address_line5?: string | undefined;
address_line6?: string | undefined;
address_line7?: string | undefined;
address_line8?: string | undefined;
address_line9?: string | undefined;
local_address_line1?: string | undefined;
local_address_line2?: string | undefined;
local_address_line3?: string | undefined;
local_address_line4?: string | undefined;
local_address_line5?: string | undefined;
local_address_line6?: string | undefined;
local_address_line7?: string | undefined;
local_address_line8?: string | undefined;
local_address_line9?: string | undefined;
postal_code?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
hiberarchy_common: {
name: {
value: string;
lang: string;
}[];
active: boolean;
code?: string | undefined;
effective_time?: string | undefined;
description?: {
value: string;
lang: string;
}[] | undefined;
parent_id?: string | undefined;
custom_fields?: {
value: string;
field_name: string;
}[] | undefined;
};
type?: {
enum_name: string;
} | undefined;
custom_fields?: {
value: string;
field_name: string;
}[] | undefined;
industry_list?: {
enum_name: string;
}[] | undefined;
legal_representative?: {
value: string;
lang: string;
}[] | undefined;
post_code?: string | undefined;
tax_payer_id?: string | undefined;
confidential?: boolean | undefined;
sub_type_list?: {
enum_name: string;
}[] | undefined;
branch_company?: boolean | undefined;
primary_manager?: {
value: string;
lang: string;
}[] | undefined;
currency?: {
currency_name?: {
value: string;
lang: string;
}[] | undefined;
numeric_code?: number | undefined;
currency_alpha_3_code?: string | undefined;
} | undefined;
phone?: {
area_code: {
enum_name: string;
};
phone_number: string;
} | undefined;
fax?: {
area_code: {
enum_name: string;
};
phone_number: string;
} | undefined;
registered_office_address_info?: {
country_region_id: string;
region_id?: string | undefined;
city_id?: string | undefined;
distinct_id?: string | undefined;
address_line1?: string | undefined;
address_line2?: string | undefined;
address_line3?: string | undefined;
address_line4?: string | undefined;
address_line5?: string | undefined;
address_line6?: string | undefined;
address_line7?: string | undefined;
address_line8?: string | undefined;
address_line9?: string | undefined;
local_address_line1?: string | undefined;
local_address_line2?: string | undefined;
local_address_line3?: string | undefined;
local_address_line4?: string | undefined;
local_address_line5?: string | undefined;
local_address_line6?: string | undefined;
local_address_line7?: string | undefined;
local_address_line8?: string | undefined;
local_address_line9?: string | undefined;
postal_code?: string | undefined;
} | undefined;
office_address_info?: {
country_region_id: string;
region_id?: string | undefined;
city_id?: string | undefined;
distinct_id?: string | undefined;
address_line1?: string | undefined;
address_line2?: string | undefined;
address_line3?: string | undefined;
address_line4?: string | undefined;
address_line5?: string | undefined;
address_line6?: string | undefined;
address_line7?: string | undefined;
address_line8?: string | undefined;
address_line9?: string | undefined;
local_address_line1?: string | undefined;
local_address_line2?: string | undefined;
local_address_line3?: string | undefined;
local_address_line4?: string | undefined;
local_address_line5?: string | undefined;
local_address_line6?: string | undefined;
local_address_line7?: string | undefined;
local_address_line8?: string | undefined;
local_address_line9?: string | undefined;
postal_code?: string | undefined;
} | undefined;
}, {
hiberarchy_common: {
name: {
value: string;
lang: string;
}[];
active: boolean;
code?: string | undefined;
effective_time?: string | undefined;
description?: {
value: string;
lang: string;
}[] | undefined;
parent_id?: string | undefined;
custom_fields?: {
value: string;
field_name: string;
}[] | undefined;
};
type?: {
enum_name: string;
} | undefined;
custom_fields?: {
value: string;
field_name: string;
}[] | undefined;
industry_list?: {
enum_name: string;
}[] | undefined;
legal_representative?: {
value: string;
lang: string;
}[] | undefined;
post_code?: string | undefined;
tax_payer_id?: string | undefined;
confidential?: boolean | undefined;
sub_type_list?: {
enum_name: string;
}[] | undefined;
branch_company?: boolean | undefined;
primary_manager?: {
value: string;
lang: string;
}[] | undefined;
currency?: {
currency_name?: {
value: string;
lang: string;
}[] | undefined;
numeric_code?: number | undefined;
currency_alpha_3_code?: string | undefined;
} | undefined;
phone?: {
area_code: {
enum_name: string;
};
phone_number: string;
} | undefined;
fax?: {
area_code: {
enum_name: string;
};
phone_number: string;
} | undefined;
registered_office_address_info?: {
country_region_id: string;
region_id?: string | undefined;
city_id?: string | undefined;
distinct_id?: string | undefined;
address_line1?: string | undefined;
address_line2?: string | undefined;
address_line3?: string | undefined;
address_line4?: string | undefined;
address_line5?: string | undefined;
address_line6?: string | undefined;
address_line7?: string | undefined;
address_line8?: string | undefined;
address_line9?: string | undefined;
local_address_line1?: string | undefined;
local_address_line2?: string | undefined;
local_address_line3?: string | undefined;
local_address_line4?: string | undefined;
local_address_line5?: string | undefined;
local_address_line6?: string | undefined;
local_address_line7?: string | undefined;
local_address_line8?: string | undefined;
local_address_line9?: string | undefined;
postal_code?: string | undefined;
} | undefined;
office_address_info?: {
country_region_id: string;
region_id?: string | undefined;
city_id?: string | undefined;
distinct_id?: string | undefined;
address_line1?: string | undefined;
address_line2?: string | undefined;
address_line3?: string | undefined;
address_line4?: string | undefined;
address_line5?: string | undefined;
address_line6?: string | undefined;
address_line7?: string | undefined;
address_line8?: string | undefined;
address_line9?: string | undefined;
local_address_line1?: string | undefined;
local_address_line2?: string | undefined;
local_address_line3?: string | undefined;
local_address_line4?: string | undefined;
local_address_line5?: string | undefined;
local_address_line6?: string | undefined;
local_address_line7?: string | undefined;
local_address_line8?: string | undefined;
local_address_line9?: string | undefined;
postal_code?: string | undefined;
} | undefined;
}>;
params: z.ZodOptional<z.ZodObject<{
client_token: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
client_token?: string | undefined;
}, {
client_token?: string | undefined;
}>>;
};
};
export declare const corehrV1CompanyDelete: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
path: z.ZodObject<{
company_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
company_id: string;
}, {
company_id: string;
}>;
};
};
export declare const corehrV1CompanyGet: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
path: z.ZodObject<{
company_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
company_id: string;
}, {
company_id: string;
}>;
};
};
export declare const corehrV1CompanyList: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
params: z.ZodObject<{
page_token: z.ZodOptional<z.ZodString>;
page_size: z.ZodString;
}, "strip", z.ZodTypeAny, {
page_size: string;
page_token?: string | undefined;
}, {
page_size: string;
page_token?: string | undefined;
}>;
};
};
export declare const corehrV1CompanyPatch: {
project: string;
name: string;
sdkName: string;
path: string;
httpMethod: string;
description: string;
accessTokens: string[];
schema: {
data: z.ZodOptional<z.ZodObject<{
hiberarchy_common: z.ZodOptional<z.ZodObject<{
parent_id: z.ZodOptional<z.ZodString>;
name: z.ZodOptional<z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">>;
active: z.ZodOptional<z.ZodBoolean>;
effective_time: z.ZodString;
code: z.ZodOptional<z.ZodString>;
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">>;
}, "strip", z.ZodTypeAny, {
effective_time: string;
code?: string | undefined;
name?: {
value: string;
lang: string;
}[] | undefined;
description?: {
value: string;
lang: string;
}[] | undefined;
active?: boolean | undefined;
parent_id?: string | undefined;
}, {
effective_time: string;
code?: string | undefined;
name?: {
value: string;
lang: string;
}[] | undefined;
description?: {
value: string;
lang: string;
}[] | undefined;
active?: boolean | undefined;
parent_id?: string | undefined;
}>>;
type: z.ZodOptional<z.ZodObject<{
enum_name: z.ZodString;
}, "strip", z.ZodTypeAny, {
enum_name: string;
}, {
enum_name: string;
}>>;
industry_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
enum_name: z.ZodString;
}, "strip", z.ZodTypeAny, {
enum_name: string;
}, {
enum_name: string;
}>, "many">>;
legal_representative: z.ZodOptional<z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">>;
post_code: z.ZodOptional<z.ZodString>;
tax_payer_id: z.ZodOptional<z.ZodString>;
confidential: z.ZodOptional<z.ZodBoolean>;
sub_type_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
enum_name: z.ZodString;
}, "strip", z.ZodTypeAny, {
enum_name: string;
}, {
enum_name: string;
}>, "many">>;
branch_company: z.ZodOptional<z.ZodBoolean>;
primary_manager: z.ZodOptional<z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">>;
currency: z.ZodOptional<z.ZodObject<{
currency_name: z.ZodOptional<z.ZodArray<z.ZodObject<{
lang: z.ZodString;
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
lang: string;
}, {
value: string;
lang: string;
}>, "many">>;
numeric_code: z.ZodOptional<z.ZodNumber>;
currency_alpha_3_code: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
currency_name?: {
value: string;
lang: string;
}[] | undefined;
numeric_code?: number | undefined;
currency_alpha_3_code?: string | undefined;
}, {
currency_name?: {
value: string;
lang: string;
}[] | undefined;
numeric_code?: number | undefined;
currency_alpha_3_code?: string | undefined;
}>>;
phone: z.ZodOptional<z.ZodObject<{
area_code: z.ZodObject<{
enum_name: z.ZodString;
}, "strip", z.ZodTypeAny, {
enum_name: string;
}, {
enum_name: string;
}>;