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 Oct 9, 2024
1 parent d8ef065 commit f16deb1
Show file tree
Hide file tree
Showing 24 changed files with 1,183 additions and 453 deletions.
32 changes: 19 additions & 13 deletions TenantAccessList.md
Original file line number Diff line number Diff line change
Expand Up @@ -1349,9 +1349,9 @@
<tr><td colspan="3">PatchCorehrV1EmploymentsByEmploymentId</td></tr>
<tr><td rowspan="2">675</td><td rowspan="2">2024-02-06</td><td>&#10003;</td><td>飞书人事</td><td>删除雇佣信息</td></tr>
<tr><td colspan="3">DeleteCorehrV1EmploymentsByEmploymentId</td></tr>
<tr><td rowspan="2">676</td><td rowspan="2">2024-08-05</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>创建个人信息</td></tr>
<tr><td rowspan="2">676</td><td rowspan="2">2024-09-30</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>创建个人信息</td></tr>
<tr><td colspan="3">PostCorehrV2Persons</td></tr>
<tr><td rowspan="2">677</td><td rowspan="2">2024-08-05</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>更新个人信息</td></tr>
<tr><td rowspan="2">677</td><td rowspan="2">2024-09-30</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>更新个人信息</td></tr>
<tr><td colspan="3">PatchCorehrV2PersonsByPersonId</td></tr>
<tr><td rowspan="2">678</td><td rowspan="2">2024-02-06</td><td>&#10003;</td><td>飞书人事</td><td>删除个人信息</td></tr>
<tr><td colspan="3">DeleteCorehrV1PersonsByPersonId</td></tr>
Expand Down Expand Up @@ -1391,15 +1391,15 @@
<tr><td colspan="3">GetCorehrV1DepartmentsByDepartmentId</td></tr>
<tr><td rowspan="2">696</td><td rowspan="2">2024-09-06</td><td>&#10003;</td><td>飞书人事</td><td>批量查询部门</td></tr>
<tr><td colspan="3">GetCorehrV1Departments</td></tr>
<tr><td rowspan="2">697</td><td rowspan="2">2024-08-28</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>通过地点 ID 批量获取地点信息</td></tr>
<tr><td rowspan="2">697</td><td rowspan="2">2024-09-30</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>通过地点 ID 批量获取地点信息</td></tr>
<tr><td colspan="3">PostCorehrV2LocationsBatchGet</td></tr>
<tr><td rowspan="2">698</td><td rowspan="2">2024-02-06</td><td>&#10003;</td><td>飞书人事</td><td>创建地点</td></tr>
<tr><td rowspan="2">698</td><td rowspan="2">2024-09-30</td><td>&#10003;</td><td>飞书人事</td><td>创建地点</td></tr>
<tr><td colspan="3">PostCorehrV1Locations</td></tr>
<tr><td rowspan="2">699</td><td rowspan="2">2024-09-13</td><td>&#10003;</td><td>飞书人事</td><td>删除地点</td></tr>
<tr><td colspan="3">DeleteCorehrV1LocationsByLocationId</td></tr>
<tr><td rowspan="2">700</td><td rowspan="2">2024-08-28</td><td>&#10003;</td><td>飞书人事</td><td>查询单个地点</td></tr>
<tr><td rowspan="2">700</td><td rowspan="2">2024-09-30</td><td>&#10003;</td><td>飞书人事</td><td>查询单个地点</td></tr>
<tr><td colspan="3">GetCorehrV1LocationsByLocationId</td></tr>
<tr><td rowspan="2">701</td><td rowspan="2">2024-08-28</td><td>&#10003;</td><td>飞书人事</td><td>批量分页查询地点信息</td></tr>
<tr><td rowspan="2">701</td><td rowspan="2">2024-09-30</td><td>&#10003;</td><td>飞书人事</td><td>批量分页查询地点信息</td></tr>
<tr><td colspan="3">GetCorehrV1Locations</td></tr>
<tr><td rowspan="2">702</td><td rowspan="2">2024-09-25</td><td>&#10003;</td><td>消息与群组</td><td>合并转发消息</td></tr>
<tr><td colspan="3">PostImV1MessagesMergeForward</td></tr>
Expand All @@ -1413,19 +1413,19 @@
<tr><td colspan="3">GetCorehrV1CompaniesByCompanyId</td></tr>
<tr><td rowspan="2">707</td><td rowspan="2">2024-09-09</td><td>&#10003;</td><td>飞书人事</td><td>批量查询公司</td></tr>
<tr><td colspan="3">GetCorehrV1Companies</td></tr>
<tr><td rowspan="2">708</td><td rowspan="2">2024-09-27</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>通过职级 ID 批量获取职级信息</td></tr>
<tr><td rowspan="2">708</td><td rowspan="2">2024-10-08</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>通过职级 ID 批量获取职级信息</td></tr>
<tr><td colspan="3">PostCorehrV2JobLevelsBatchGet</td></tr>
<tr><td rowspan="2">709</td><td rowspan="2">2024-09-27</td><td>&#10003;</td><td>飞书人事</td><td>新建职级</td></tr>
<tr><td rowspan="2">709</td><td rowspan="2">2024-10-08</td><td>&#10003;</td><td>飞书人事</td><td>新建职级</td></tr>
<tr><td colspan="3">PostCorehrV1JobLevels</td></tr>
<tr><td rowspan="2">710</td><td rowspan="2">2024-09-13</td><td>&#10003;</td><td>飞书人事</td><td>删除职级</td></tr>
<tr><td colspan="3">DeleteCorehrV1JobLevelsByJobLevelId</td></tr>
<tr><td rowspan="2">711</td><td rowspan="2">2024-09-27</td><td>&#10003;</td><td>飞书人事</td><td>更新单个职级</td></tr>
<tr><td rowspan="2">711</td><td rowspan="2">2024-10-08</td><td>&#10003;</td><td>飞书人事</td><td>更新单个职级</td></tr>
<tr><td colspan="3">PatchCorehrV1JobLevelsByJobLevelId</td></tr>
<tr><td rowspan="2">712</td><td rowspan="2">2024-09-27</td><td>&#10003;</td><td>飞书人事</td><td>查询单个职级</td></tr>
<tr><td rowspan="2">712</td><td rowspan="2">2024-10-08</td><td>&#10003;</td><td>飞书人事</td><td>查询单个职级</td></tr>
<tr><td colspan="3">GetCorehrV1JobLevelsByJobLevelId</td></tr>
<tr><td rowspan="2">713</td><td rowspan="2">2024-09-25</td><td>&#10003;</td><td>消息与群组</td><td>查询消息已读信息</td></tr>
<tr><td colspan="3">GetImV1MessagesByMessageIdReadUsers</td></tr>
<tr><td rowspan="2">714</td><td rowspan="2">2024-09-27</td><td>&#10003;</td><td>飞书人事</td><td>查询租户的职级信息</td></tr>
<tr><td rowspan="2">714</td><td rowspan="2">2024-10-08</td><td>&#10003;</td><td>飞书人事</td><td>查询租户的职级信息</td></tr>
<tr><td colspan="3">GetCorehrV1JobLevels</td></tr>
<tr><td rowspan="2">715</td><td rowspan="2">2024-09-06</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>通过序列 ID 批量获取序列信息</td></tr>
<tr><td colspan="3">PostCorehrV2JobFamiliesBatchGet</td></tr>
Expand All @@ -1445,7 +1445,7 @@
<tr><td colspan="3">DeleteCorehrV1JobsByJobId</td></tr>
<tr><td rowspan="2">723</td><td rowspan="2">2024-09-13</td><td>&#10003;</td><td>飞书人事</td><td>更新职务</td></tr>
<tr><td colspan="3">PatchCorehrV1JobsByJobId</td></tr>
<tr><td rowspan="2">724</td><td rowspan="2">2024-09-11</td><td>&#10003;</td><td>消息与群组</td><td>获取会话历史消息</td></tr>
<tr><td rowspan="2">724</td><td rowspan="2">2024-10-08</td><td>&#10003;</td><td>消息与群组</td><td>获取会话历史消息</td></tr>
<tr><td colspan="3">GetImV1Messages</td></tr>
<tr><td rowspan="2">725</td><td rowspan="2">2024-09-13</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>查询单个职务</td></tr>
<tr><td colspan="3">GetCorehrV2JobsByJobId</td></tr>
Expand Down Expand Up @@ -2421,6 +2421,12 @@
<tr><td colspan="3">PostApaasV1ApplicationsByNamespaceRecordPermissionsByRecordPermissionApiNameMemberBatchCreateAuthorization</td></tr>
<tr><td rowspan="2">1211</td><td rowspan="2">2024-09-23</td><td>&#10003;</td><td>飞书低代码平台</td><td>批量创建角色成员授权</td></tr>
<tr><td colspan="3">PostApaasV1ApplicationsByNamespaceRolesByRoleApiNameMemberBatchCreateAuthorization</td></tr>
<tr><td rowspan="2">1212</td><td rowspan="2">2024-09-27</td><td>新增</td><td>飞书人事(企业版)</td><td>获取指定人员审批任务列表</td></tr>
<tr><td rowspan="2">1212</td><td rowspan="2">2024-09-27</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>获取指定人员审批任务列表</td></tr>
<tr><td colspan="3">GetCorehrV2Approvers</td></tr>
<tr><td rowspan="2">1213</td><td rowspan="2">2024-10-09</td><td>新增</td><td>飞书人事(企业版)</td><td>删除职等</td></tr>
<tr><td colspan="3">DeleteCorehrV2JobGradesByJobGradeId</td></tr>
<tr><td rowspan="2">1214</td><td rowspan="2">2024-10-09</td><td>新增</td><td>飞书人事(企业版)</td><td>更新职等</td></tr>
<tr><td colspan="3">PatchCorehrV2JobGradesByJobGradeId</td></tr>
<tr><td rowspan="2">1215</td><td rowspan="2">2024-10-09</td><td>新增</td><td>飞书人事(企业版)</td><td>创建职等</td></tr>
<tr><td colspan="3">PostCorehrV2JobGrades</td></tr>
</tbody></table>
6 changes: 3 additions & 3 deletions UserAccessList.md
Original file line number Diff line number Diff line change
Expand Up @@ -849,8 +849,8 @@
<tr><td colspan="3">GetDriveV1Files</td></tr>
<tr><td rowspan="2">425</td><td rowspan="2">2024-08-12</td><td>&#10003;</td><td>云文档</td><td>获取文件夹元数据</td></tr>
<tr><td colspan="3">GetDriveExplorerV2FolderByFolderTokenMeta</td></tr>
<tr><td rowspan="2">426</td><td rowspan="2">2024-07-09</td><td>&#10003;</td><td>通讯录</td><td>搜索用户</td></tr>
<tr><td colspan="3">GetHttpsbyOpenLarkofficeComSearchV1User</td></tr>
<tr><td rowspan="2">426</td><td rowspan="2">2024-10-08</td><td>&#10003;</td><td>通讯录</td><td>搜索用户</td></tr>
<tr><td colspan="3">GetSearchV1User</td></tr>
<tr><td rowspan="2">427</td><td rowspan="2">2024-09-03</td><td>&#10003;</td><td>云文档</td><td>新建文件夹</td></tr>
<tr><td colspan="3">PostDriveV1FilesCreateFolder</td></tr>
<tr><td rowspan="2">428</td><td rowspan="2">2024-05-29</td><td>&#10003;</td><td>云文档</td><td>获取文件元数据</td></tr>
Expand Down Expand Up @@ -1055,6 +1055,6 @@
<tr><td colspan="3">GetApaasV1ApplicationsByNamespaceAuditLogAuditLogList</td></tr>
<tr><td rowspan="2">528</td><td rowspan="2">2024-09-24</td><td>&#10003;</td><td>飞书低代码平台</td><td>查询审计日志详情</td></tr>
<tr><td colspan="3">GetApaasV1ApplicationsByNamespaceAuditLog</td></tr>
<tr><td rowspan="2">529</td><td rowspan="2">2024-09-26</td><td>新增</td><td>汇报</td><td>查询任务</td></tr>
<tr><td rowspan="2">529</td><td rowspan="2">2024-09-26</td><td>&#10003;</td><td>汇报</td><td>查询任务</td></tr>
<tr><td colspan="3">PostReportV1TasksQuery</td></tr>
</tbody></table>
7 changes: 5 additions & 2 deletions src/Contact.Spec/GetSearchV1UserResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Last Modified By : yxr
// Last Modified On : 2024-07-09
// ************************************************************************
// <copyright file="GetHttpsbyOpenLarkofficeComSearchV1UserResponseDto.cs" company="Vicente Yu">
// <copyright file="GetSearchV1UserResponseDto.cs" company="Vicente Yu">
// MIT
// </copyright>
// <summary>搜索用户 响应体</summary>
Expand All @@ -15,11 +15,14 @@ namespace FeishuNetSdk.Contact.Spec;
/// <summary>
/// 搜索用户 响应体
/// <para>调用该接口通过用户名关键词搜索其他用户的信息,包括用户头像、用户名、用户所在部门、用户 user_id 以及 open_id。</para>
/// <para>注意事项:</para>
/// <para>- 仅支持通过用户身份(user_access_token)调用该接口。</para>
/// <para>- 无法搜索到外部企业或已离职的用户。</para>
/// <para>接口ID:6907569524100349953</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/contact-v3/user/search-users</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fukTMukTMukTM%2fuMTM4UjLzEDO14yMxgTN</para>
/// </summary>
public record GetHttpsbyOpenLarkofficeComSearchV1UserResponseDto
public record GetSearchV1UserResponseDto
{
/// <summary>
/// <para>是否还有更多数据,当返回值为 true 时,表示存在下一页,即 page_token 不为空。</para>
Expand Down
89 changes: 89 additions & 0 deletions src/Corehr/PatchCorehrV2JobGradesByJobGradeIdBodyDto.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
// ************************************************************************
// Assembly : FeishuNetSdk
// Author : yxr
// Created : 2024-10-08
//
// Last Modified By : yxr
// Last Modified On : 2024-10-08
// ************************************************************************
// <copyright file="PatchCorehrV2JobGradesByJobGradeIdBodyDto.cs" company="Vicente Yu">
// MIT
// </copyright>
// <summary>更新职等 请求体</summary>
// ************************************************************************
namespace FeishuNetSdk.Corehr;
/// <summary>
/// 更新职等 请求体
/// <para>更新职等</para>
/// <para>接口ID:7422326822924566530</para>
/// <para>文档地址:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/patch</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2fcorehr-v2%2fjob_grade%2fpatch</para>
/// </summary>
public record PatchCorehrV2JobGradesByJobGradeIdBodyDto
{
/// <summary>
/// <para>职等数值</para>
/// <para>必填:否</para>
/// <para>示例值:9999</para>
/// <para>最大值:99999</para>
/// <para>最小值:0</para>
/// </summary>
[JsonPropertyName("grade_order")]
public int? GradeOrder { get; set; }

/// <summary>
/// <para>编码</para>
/// <para>必填:否</para>
/// <para>示例值:A01234</para>
/// </summary>
[JsonPropertyName("code")]
public string? Code { get; set; }

/// <summary>
/// <para>名称</para>
/// <para>必填:否</para>
/// <para>最大长度:2</para>
/// <para>最小长度:0</para>
/// </summary>
[JsonPropertyName("names")]
public I18n[]? Names { 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>描述</para>
/// <para>必填:否</para>
/// <para>最大长度:2</para>
/// <para>最小长度:0</para>
/// </summary>
[JsonPropertyName("descriptions")]
public I18n[]? Descriptions { get; set; }

/// <summary>
/// <para>启用</para>
/// <para>必填:否</para>
/// <para>示例值:true</para>
/// </summary>
[JsonPropertyName("active")]
public bool? Active { get; set; }
}
Loading

0 comments on commit f16deb1

Please sign in to comment.