import{P as t}from"./index-CS0Lg7FU.js";const i=function(){return t({method:"get",url:"/api/person_management/departments/roots"})};function o(e){return t({url:`/api/person_management/departments/object_id/${e.object_id}/structure`,params:{return_picture_flag:e.return_picture_flag?e.return_picture_flag:0}})}function u(e){return t({url:`/api/person_management/departments/object_id/${e.object_id}/sub_departments`})}function a(e,n){return t({url:`/api/person_management/person_sets/internal_name/${e.internal_name}/object_id/${e.object_id}/persons`,params:{state:e.state,detail:e.detail?e.detail:1,return_picture_flag:e.return_picture_flag?e.return_picture_flag:0},cancelToken:n})}function _(e){return t({method:"post",url:"/api/person_management/persons/func/query",data:e})}function s(e){return t({url:`/api/person_management/roles/internal_name/${e}`,method:"get"})}function l(e,n){return t({url:`/api/person_management/roles/internal_name/${e.internal_name}/object_id/${e.object_id}/persons`,params:{state:e.state,detail:e.detail?e.detail:1,return_picture_flag:e.return_picture_flag?e.return_picture_flag:0},cancelToken:n})}function d(e){return t({url:"/api/person_management/func/query_person_extended_data",method:"post",data:e})}const c=function(e){return t({url:`/api/person_management/persons/object_id/${e.object_id}/person_extended_data`,method:"put",data:{wecom_id:e.wecom_id,dingtalk_id:e.dingtalk_id,feishu_id:e.feishu_id,welink_id:e.welink_id}})};export{d as a,u as b,a as c,o as d,s as e,l as f,i as g,_ as s,c as u};
