Skip to content

Commit

Permalink
新增
Browse files Browse the repository at this point in the history
- 【飞书人事(企业版)】批量查询部门操作日志

变更
- 获取职位设置 响应体
- 更新职位设置 请求体
- 更新职位设置 响应体
- 新建职位 请求体
- 新建职位 响应体
- 批量查询部门版本信息 响应体
- 查询指定生效日期的部门基本信息 响应体
- 批量查询员工任职信息 响应体
- 获取任职信息列表 响应体
- 查询单个任职信息 响应体
- 批量查询任职信息 响应体
- 获取笔试列表 响应体

Signed-off-by: Vicente.Yu <^@^>
  • Loading branch information
Vicente.Yu committed Dec 27, 2024
1 parent 7de80a6 commit d72bb31
Show file tree
Hide file tree
Showing 46 changed files with 789 additions and 255 deletions.
204 changes: 103 additions & 101 deletions TenantAccessList.md

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions UserAccessList.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<tr><td colspan="3">GetDocxV1DocumentsByDocumentIdRawContent</td></tr>
<tr><td rowspan="2">12</td><td rowspan="2">2024-09-24</td><td>&#10003;</td><td>云文档</td><td>获取文档所有块</td></tr>
<tr><td colspan="3">GetDocxV1DocumentsByDocumentIdBlocks</td></tr>
<tr><td rowspan="2">13</td><td rowspan="2">2024-10-22</td><td>&#10003;</td><td>云文档</td><td>创建文档</td></tr>
<tr><td rowspan="2">13</td><td rowspan="2">2024-12-25</td><td>&#10003;</td><td>云文档</td><td>创建文档</td></tr>
<tr><td colspan="3">PostDocxV1Documents</td></tr>
<tr><td rowspan="2">14</td><td rowspan="2">2024-07-05</td><td>&#10003;</td><td>通讯录</td><td>获取单个职务信息</td></tr>
<tr><td colspan="3">GetContactV3JobTitlesByJobTitleId</td></tr>
Expand Down Expand Up @@ -707,7 +707,7 @@
<tr><td colspan="3">PostTaskV2CustomFieldsByCustomFieldGuidOptions</td></tr>
<tr><td rowspan="2">354</td><td rowspan="2">2023-09-11</td><td>&#10003;</td><td>任务</td><td>更新自定义字段选项</td></tr>
<tr><td colspan="3">PatchTaskV2CustomFieldsByCustomFieldGuidOptionsByOptionGuid</td></tr>
<tr><td rowspan="2">355</td><td rowspan="2">2024-12-16</td><td>&#10003;</td><td>邮箱</td><td>查询所有公共邮箱</td></tr>
<tr><td rowspan="2">355</td><td rowspan="2">2024-12-24</td><td>&#10003;</td><td>邮箱</td><td>查询所有公共邮箱</td></tr>
<tr><td colspan="3">GetMailV1PublicMailboxes</td></tr>
<tr><td rowspan="2">356</td><td rowspan="2">2023-11-27</td><td>&#10003;</td><td>搜索</td><td>搜索消息</td></tr>
<tr><td colspan="3">PostSearchV2Message</td></tr>
Expand Down Expand Up @@ -763,9 +763,9 @@
<tr><td colspan="3">PostLingoV1FilesUpload</td></tr>
<tr><td rowspan="2">382</td><td rowspan="2">2023-10-25</td><td>&#10003;</td><td>词典</td><td>下载图片</td></tr>
<tr><td colspan="3">GetLingoV1FilesByFileTokenDownload</td></tr>
<tr><td rowspan="2">383</td><td rowspan="2">2024-12-17</td><td>&#10003;</td><td>妙记</td><td>获取妙记统计数据</td></tr>
<tr><td rowspan="2">383</td><td rowspan="2">2024-12-24</td><td>&#10003;</td><td>妙记</td><td>获取妙记统计数据</td></tr>
<tr><td colspan="3">GetMinutesV1MinutesByMinuteTokenStatistics</td></tr>
<tr><td rowspan="2">384</td><td rowspan="2">2024-12-17</td><td>&#10003;</td><td>妙记</td><td>获取妙记信息</td></tr>
<tr><td rowspan="2">384</td><td rowspan="2">2024-12-24</td><td>&#10003;</td><td>妙记</td><td>获取妙记信息</td></tr>
<tr><td colspan="3">GetMinutesV1MinutesByMinuteToken</td></tr>
<tr><td rowspan="2">385</td><td rowspan="2">2023-04-07</td><td>&#10003;</td><td>应用信息</td><td>获取用户自定义常用的应用</td></tr>
<tr><td colspan="3">GetApplicationV5ApplicationsFavourite</td></tr>
Expand Down Expand Up @@ -955,7 +955,7 @@
<tr><td colspan="3">GetDriveV2PermissionsByTokenPublic</td></tr>
<tr><td rowspan="2">478</td><td rowspan="2">2024-07-31</td><td>&#10003;</td><td>云文档</td><td>更新云文档权限设置</td></tr>
<tr><td colspan="3">PatchDriveV2PermissionsByTokenPublic</td></tr>
<tr><td rowspan="2">479</td><td rowspan="2">2024-04-09</td><td>&#10003;</td><td>云文档</td><td>获取云文档所有评论</td></tr>
<tr><td rowspan="2">479</td><td rowspan="2">2024-12-25</td><td>&#10003;</td><td>云文档</td><td>获取云文档所有评论</td></tr>
<tr><td colspan="3">GetDriveV1FilesByFileTokenComments</td></tr>
<tr><td rowspan="2">480</td><td rowspan="2">2024-04-09</td><td>&#10003;</td><td>云文档</td><td>添加全文评论</td></tr>
<tr><td colspan="3">PostDriveV1FilesByFileTokenComments</td></tr>
Expand Down Expand Up @@ -1015,7 +1015,7 @@
<tr><td colspan="3">PostAilyV1Sessions</td></tr>
<tr><td rowspan="2">508</td><td rowspan="2">2024-12-10</td><td>&#10003;</td><td>薪酬管理</td><td>批量查询员工薪资档案</td></tr>
<tr><td colspan="3">PostCompensationV1ArchivesQuery</td></tr>
<tr><td rowspan="2">509</td><td rowspan="2">2024-10-09</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>添加人员</td></tr>
<tr><td rowspan="2">509</td><td rowspan="2">2024-12-27</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>添加人员</td></tr>
<tr><td colspan="3">PostCorehrV2Employees</td></tr>
<tr><td rowspan="2">510</td><td rowspan="2">2024-07-10</td><td><span style="color:red;">删除</span></td><td>绩效</td><td>获取指标库信息</td></tr>
<tr><td colspan="3">PostPerformanceV2MetricLibsQuery</td></tr>
Expand Down Expand Up @@ -1043,7 +1043,7 @@
<tr><td colspan="3">GetWikiV2SpacesBySpaceIdMembers</td></tr>
<tr><td rowspan="2">522</td><td rowspan="2">2024-08-02</td><td>&#10003;</td><td>画板</td><td>获取画板缩略图片</td></tr>
<tr><td colspan="3">GetBoardV1WhiteboardsByWhiteboardIdDownloadAsImage</td></tr>
<tr><td rowspan="2">523</td><td rowspan="2">2024-12-16</td><td>&#10003;</td><td>邮箱</td><td>发送邮件</td></tr>
<tr><td rowspan="2">523</td><td rowspan="2">2024-12-24</td><td>&#10003;</td><td>邮箱</td><td>发送邮件</td></tr>
<tr><td colspan="3">PostMailV1UserMailboxesByUserMailboxIdMessagesSend</td></tr>
<tr><td rowspan="2">524</td><td rowspan="2">2024-08-30</td><td><span style="color:red;">删除</span></td><td>公司圈</td><td>查询帖子信息</td></tr>
<tr><td colspan="3">GetMomentsV1PostsByPostId</td></tr>
Expand Down Expand Up @@ -1085,22 +1085,22 @@
<tr><td colspan="3">GetBitableV1AppsByAppTokenWorkflows</td></tr>
<tr><td rowspan="2">543</td><td rowspan="2">2024-12-11</td><td>&#10003;</td><td>多维表格</td><td>更新自动化流程状态</td></tr>
<tr><td colspan="3">PutBitableV1AppsByAppTokenWorkflowsByWorkflowId</td></tr>
<tr><td rowspan="2">544</td><td rowspan="2">2024-12-19</td><td>新增</td><td>Payroll</td><td>批量查询算薪项</td></tr>
<tr><td rowspan="2">544</td><td rowspan="2">2024-12-19</td><td>&#10003;</td><td>Payroll</td><td>批量查询算薪项</td></tr>
<tr><td colspan="3">GetPayrollV1AcctItems</td></tr>
<tr><td rowspan="2">545</td><td rowspan="2">2024-12-20</td><td>新增</td><td>云文档</td><td>获取云文档的点赞者列表</td></tr>
<tr><td rowspan="2">545</td><td rowspan="2">2024-12-20</td><td>&#10003;</td><td>云文档</td><td>获取云文档的点赞者列表</td></tr>
<tr><td colspan="3">GetDriveV2FilesByFileTokenLikes</td></tr>
<tr><td rowspan="2">546</td><td rowspan="2">2024-12-19</td><td>新增</td><td>云文档</td><td>在群公告中创建块</td></tr>
<tr><td rowspan="2">546</td><td rowspan="2">2024-12-19</td><td>&#10003;</td><td>云文档</td><td>在群公告中创建块</td></tr>
<tr><td colspan="3">PostDocxV1ChatsByChatIdAnnouncementBlocksByBlockIdChildren</td></tr>
<tr><td rowspan="2">547</td><td rowspan="2">2024-12-19</td><td>新增</td><td>云文档</td><td>批量更新群公告块的内容</td></tr>
<tr><td rowspan="2">547</td><td rowspan="2">2024-12-19</td><td>&#10003;</td><td>云文档</td><td>批量更新群公告块的内容</td></tr>
<tr><td colspan="3">PatchDocxV1ChatsByChatIdAnnouncementBlocksBatchUpdate</td></tr>
<tr><td rowspan="2">548</td><td rowspan="2">2024-12-19</td><td>新增</td><td>云文档</td><td>获取群公告块的内容</td></tr>
<tr><td rowspan="2">548</td><td rowspan="2">2024-12-19</td><td>&#10003;</td><td>云文档</td><td>获取群公告块的内容</td></tr>
<tr><td colspan="3">GetDocxV1ChatsByChatIdAnnouncementBlocksByBlockId</td></tr>
<tr><td rowspan="2">549</td><td rowspan="2">2024-12-19</td><td>新增</td><td>云文档</td><td>获取所有子块</td></tr>
<tr><td rowspan="2">549</td><td rowspan="2">2024-12-19</td><td>&#10003;</td><td>云文档</td><td>获取所有子块</td></tr>
<tr><td colspan="3">GetDocxV1ChatsByChatIdAnnouncementBlocksByBlockIdChildren</td></tr>
<tr><td rowspan="2">550</td><td rowspan="2">2024-12-19</td><td>新增</td><td>云文档</td><td>删除群公告中的块</td></tr>
<tr><td rowspan="2">550</td><td rowspan="2">2024-12-19</td><td>&#10003;</td><td>云文档</td><td>删除群公告中的块</td></tr>
<tr><td colspan="3">DeleteDocxV1ChatsByChatIdAnnouncementBlocksByBlockIdChildrenBatchDelete</td></tr>
<tr><td rowspan="2">551</td><td rowspan="2">2024-12-19</td><td>新增</td><td>云文档</td><td>获取群公告基本信息</td></tr>
<tr><td rowspan="2">551</td><td rowspan="2">2024-12-19</td><td>&#10003;</td><td>云文档</td><td>获取群公告基本信息</td></tr>
<tr><td colspan="3">GetDocxV1ChatsByChatIdAnnouncement</td></tr>
<tr><td rowspan="2">552</td><td rowspan="2">2024-12-19</td><td>新增</td><td>云文档</td><td>获取群公告所有块</td></tr>
<tr><td rowspan="2">552</td><td rowspan="2">2024-12-19</td><td>&#10003;</td><td>云文档</td><td>获取群公告所有块</td></tr>
<tr><td colspan="3">GetDocxV1ChatsByChatIdAnnouncementBlocks</td></tr>
</tbody></table>
4 changes: 2 additions & 2 deletions src/Attendance/PostAttendanceV1UserApprovalsBodyDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,10 @@ public record UserOvertimeWork
/// <para>必填:是</para>
/// <para>示例值:1</para>
/// <para>可选值:<list type="bullet">
/// <item>0:不关联加班规则</item>
/// <item>0:仅记录</item>
/// <item>1:调休</item>
/// <item>2:加班费</item>
/// <item>3:关联加班规则,没有调休或加班费</item>
/// <item>3:【该可选值已废弃】</item>
/// </list></para>
/// </summary>
[JsonPropertyName("type")]
Expand Down
2 changes: 1 addition & 1 deletion src/Ccm/GetDriveV1FilesByFileTokenCommentsResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public record ReplyElementPerson
public record ReplyExtra
{
/// <summary>
/// <para>评论中的图片 Token list</para>
/// <para>评论中的图片 Token list。暂不支持通过接口下载图片。</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("image_list")]
Expand Down
3 changes: 2 additions & 1 deletion src/Ccm/PostDocxV1DocumentsResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public record PostDocxV1DocumentsResponseDto
public record PostDocxV1DocumentsResponseDtoDocument
{
/// <summary>
/// <para>文档的唯一标识。点击[这里](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-overview)了解如何获取文档的 `document_id`</para>
/// <para>文档的唯一标识。你可以将 `https://sample.feishu.cn/docx/` 与该标识拼接,并将 sample 替换为实际域名,生成文档的 URL 链接。如 `https://sample.feishu.cn/docx/doxbcmEtbFrbbq10nPNu8gabcef`。</para>
/// <para>![](//sf3-cn.feishucdn.com/obj/open-platform-opendoc/f8dac29d8ea3f01f5a651e0445193213_W0CZqRcbHM.png?height=639&amp;lazyload=true&amp;width=2161)</para>
/// <para>必填:否</para>
/// <para>示例值:doxbcmEtbFrbbq10nPNu8gabcef</para>
/// <para>最大长度:27</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace FeishuNetSdk.Corehr;
/// <summary>
/// 批量查询部门版本信息 请求体
/// <para>批量查询部门版本信息</para>
/// <para>根据部门ID列表,批量查询开始结束时间内的所有部门版本信息,含部门名称、部门类型、上级、编码、负责人、是否启用、描述等信息</para>
/// <para>接口ID:7372158581884911618</para>
/// <para>文档地址:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/query_multi_timeline</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2fcorehr-v2%2fdepartment%2fquery_multi_timeline</para>
Expand Down Expand Up @@ -51,7 +51,7 @@ public record PostCorehrV2DepartmentsQueryMultiTimelineBodyDto
public string? EffectiveDateEnd { get; set; }

/// <summary>
/// <para>返回数据的字段列表,可选["department_name", "code", "active", "parent_department_id", "manager", "description", "effective_date"], 以及自定义字段field_name</para>
/// <para>返回数据的字段列表,可选["department_name", "sub_type", "code", "active", "parent_department_id", "manager", "description", "effective_date"], 以及自定义字段field_name</para>
/// <para>必填:否</para>
/// <para>最大长度:100</para>
/// <para>最小长度:0</para>
Expand Down
74 changes: 64 additions & 10 deletions src/Corehr/PostCorehrV2DepartmentsQueryMultiTimelineResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Created : 2024-06-24
//
// Last Modified By : yxr
// Last Modified On : 2024-06-24
// Last Modified On : 2024-12-27
// ************************************************************************
// <copyright file="PostCorehrV2DepartmentsQueryMultiTimelineResponseDto.cs" company="Vicente Yu">
// MIT
Expand All @@ -14,7 +14,7 @@
namespace FeishuNetSdk.Corehr;
/// <summary>
/// 批量查询部门版本信息 响应体
/// <para>批量查询部门版本信息</para>
/// <para>根据部门ID列表,批量查询开始结束时间内的所有部门版本信息,含部门名称、部门类型、上级、编码、负责人、是否启用、描述等信息</para>
/// <para>接口ID:7372158581884911618</para>
/// <para>文档地址:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/query_multi_timeline</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2fcorehr-v2%2fdepartment%2fquery_multi_timeline</para>
Expand Down Expand Up @@ -64,32 +64,84 @@ public record DepartmentTimeline
public record I18n
{
/// <summary>
/// <para>语言</para>
/// <para>语言,中文用zh-CN,英文用en-US</para>
/// <para>必填:是</para>
/// <para>示例值:zh-CN</para>
/// </summary>
[JsonPropertyName("lang")]
public string Lang { get; set; } = string.Empty;

/// <summary>
/// <para>内容</para>
/// <para>文本内容</para>
/// <para>必填:是</para>
/// <para>示例值:张三</para>
/// <para>示例值:中文示例</para>
/// </summary>
[JsonPropertyName("value")]
public string Value { get; set; } = string.Empty;
}

/// <summary>
/// <para>上级部门 ID</para>
/// <para>部门类型</para>
/// <para>- 通过[获取字段详情](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)查询获取。请求参数:object_api_name=department;custom_api_name=subtype。</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("sub_type")]
public Enum? SubType { get; set; }

/// <summary>
/// <para>部门类型</para>
/// <para>- 通过[获取字段详情](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)查询获取。请求参数:object_api_name=department;custom_api_name=subtype。</para>
/// </summary>
public record Enum
{
/// <summary>
/// <para>枚举值</para>
/// <para>必填:是</para>
/// <para>示例值:phone_type</para>
/// </summary>
[JsonPropertyName("enum_name")]
public string EnumName { get; set; } = string.Empty;

/// <summary>
/// <para>枚举多语展示</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("display")]
public I18n[]? Displies { get; set; }

/// <summary>
/// <para>枚举多语展示</para>
/// </summary>
public record I18n
{
/// <summary>
/// <para>语言编码(IETF BCP 47)</para>
/// <para>必填:是</para>
/// <para>示例值:zh-CN</para>
/// </summary>
[JsonPropertyName("lang")]
public string Lang { get; set; } = string.Empty;

/// <summary>
/// <para>文本内容</para>
/// <para>必填:是</para>
/// <para>示例值:中文示例</para>
/// </summary>
[JsonPropertyName("value")]
public string Value { get; set; } = string.Empty;
}
}

/// <summary>
/// <para>上级部门 ID ,详细信息可通过[【查询单个部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)接口获得</para>
/// <para>必填:否</para>
/// <para>示例值:4719456877659520111</para>
/// </summary>
[JsonPropertyName("parent_department_id")]
public string? ParentDepartmentId { get; set; }

/// <summary>
/// <para>部门负责人雇佣 ID,枚举值及详细信息可通过【查询员工信息】接口查询获得</para>
/// <para>部门负责人雇佣 ID,枚举值及详细信息可通过[【搜索员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/search)接口查询获得</para>
/// <para>必填:否</para>
/// <para>示例值:6893013238632416777</para>
/// </summary>
Expand All @@ -106,6 +158,8 @@ public record I18n

/// <summary>
/// <para>生效日期</para>
/// <para>- 返回格式:YYYY-MM-DD(最小单位到日)</para>
/// <para>- 日期范围:1900-01-01~9999-12-31</para>
/// <para>必填:否</para>
/// <para>示例值:2020-05-01</para>
/// </summary>
Expand All @@ -130,7 +184,7 @@ public record I18n
public I18n[]? Descriptions { get; set; }

/// <summary>
/// <para>自定义字段</para>
/// <para>自定义字段类型,详细见[获取自定义字段列表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/query)</para>
/// <para>必填:否</para>
/// <para>最大长度:50</para>
/// <para>最小长度:0</para>
Expand All @@ -139,7 +193,7 @@ public record I18n
public CustomFieldData[]? CustomFields { get; set; }

/// <summary>
/// <para>自定义字段</para>
/// <para>自定义字段类型,详细见[获取自定义字段列表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/query)</para>
/// </summary>
public record CustomFieldData
{
Expand Down Expand Up @@ -181,7 +235,7 @@ public record CustomName
}

/// <summary>
/// <para>自定义字段类型</para>
/// <para>自定义字段类型,详细见[获取自定义字段列表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/query)</para>
/// <para>必填:否</para>
/// <para>示例值:1</para>
/// </summary>
Expand Down
Loading

0 comments on commit d72bb31

Please sign in to comment.