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 May 23, 2024
1 parent cd4c316 commit 0d9d14b
Show file tree
Hide file tree
Showing 15 changed files with 1,613 additions and 263 deletions.
24 changes: 15 additions & 9 deletions TenantAccessList.md
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@
<tr><td colspan="3">GetApplicationV6ApplicationsUnderauditlist</td></tr>
<tr><td rowspan="2">567</td><td rowspan="2">2023-09-12</td><td>&#10003;</td><td>应用信息</td><td>获取应用信息</td></tr>
<tr><td colspan="3">GetApplicationV6ApplicationsByAppId</td></tr>
<tr><td rowspan="2">568</td><td rowspan="2">2023-07-21</td><td>&#10003;</td><td>应用信息</td><td>获取应用版本信息</td></tr>
<tr><td rowspan="2">568</td><td rowspan="2">2024-05-23</td><td>&#10003;</td><td>应用信息</td><td>获取应用版本信息</td></tr>
<tr><td colspan="3">GetApplicationV6ApplicationsByAppIdAppVersionsByVersionId</td></tr>
<tr><td rowspan="2">569</td><td rowspan="2">2023-07-14</td><td>&#10003;</td><td>通讯录</td><td>更新序列</td></tr>
<tr><td colspan="3">PutContactV3JobFamiliesByJobFamilyId</td></tr>
Expand Down Expand Up @@ -1361,11 +1361,11 @@
<tr><td colspan="3">DeleteImV1MessagesByMessageId</td></tr>
<tr><td rowspan="2">681</td><td rowspan="2">2024-02-06</td><td>&#10003;</td><td>飞书人事</td><td>下载文件</td></tr>
<tr><td colspan="3">GetCorehrV1FilesById</td></tr>
<tr><td rowspan="2">682</td><td rowspan="2">2024-02-06</td><td>&#10003;</td><td>飞书人事</td><td>创建任职信息</td></tr>
<tr><td rowspan="2">682</td><td rowspan="2">2024-05-23</td><td>&#10003;</td><td>飞书人事</td><td>创建任职信息</td></tr>
<tr><td colspan="3">PostCorehrV1JobDatas</td></tr>
<tr><td rowspan="2">683</td><td rowspan="2">2024-02-06</td><td>&#10003;</td><td>飞书人事</td><td>删除任职信息</td></tr>
<tr><td colspan="3">DeleteCorehrV1JobDatasByJobDataId</td></tr>
<tr><td rowspan="2">684</td><td rowspan="2">2024-02-06</td><td>&#10003;</td><td>飞书人事</td><td>更新任职信息</td></tr>
<tr><td rowspan="2">684</td><td rowspan="2">2024-05-23</td><td>&#10003;</td><td>飞书人事</td><td>更新任职信息</td></tr>
<tr><td colspan="3">PatchCorehrV1JobDatasByJobDataId</td></tr>
<tr><td rowspan="2">685</td><td rowspan="2">2024-04-19</td><td>&#10003;</td><td>飞书人事</td><td>查询单个任职信息</td></tr>
<tr><td colspan="3">GetCorehrV1JobDatasByJobDataId</td></tr>
Expand Down Expand Up @@ -1539,15 +1539,15 @@
<tr><td colspan="3">PostHireV1JobsCombinedCreate</td></tr>
<tr><td rowspan="2">770</td><td rowspan="2">2024-01-22</td><td>&#10003;</td><td>招聘</td><td>获取职位信息</td></tr>
<tr><td colspan="3">GetHireV1JobsByJobId</td></tr>
<tr><td rowspan="2">771</td><td rowspan="2">2023-11-02</td><td>&#10003;</td><td>招聘</td><td>获取职位设置</td></tr>
<tr><td rowspan="2">771</td><td rowspan="2">2024-05-23</td><td>&#10003;</td><td>招聘</td><td>获取职位设置</td></tr>
<tr><td colspan="3">GetHireV1JobsByJobIdConfig</td></tr>
<tr><td rowspan="2">772</td><td rowspan="2">2024-03-28</td><td>&#10003;</td><td>招聘</td><td>更新职位</td></tr>
<tr><td colspan="3">PostHireV1JobsByJobIdCombinedUpdate</td></tr>
<tr><td rowspan="2">773</td><td rowspan="2">2024-03-15</td><td>&#10003;</td><td>招聘</td><td>更新职位设置</td></tr>
<tr><td colspan="3">PostHireV1JobsByJobIdUpdateConfig</td></tr>
<tr><td rowspan="2">774</td><td rowspan="2">2023-11-02</td><td>&#10003;</td><td>招聘</td><td>获取职位类别列表</td></tr>
<tr><td colspan="3">GetHireV1JobTypes</td></tr>
<tr><td rowspan="2">775</td><td rowspan="2">2024-03-01</td><td>&#10003;</td><td>招聘</td><td>创建招聘需求</td></tr>
<tr><td rowspan="2">775</td><td rowspan="2">2024-05-23</td><td>&#10003;</td><td>招聘</td><td>创建招聘需求</td></tr>
<tr><td colspan="3">PostHireV1JobRequirements</td></tr>
<tr><td rowspan="2">776</td><td rowspan="2">2024-01-22</td><td>&#10003;</td><td>招聘</td><td>获取招聘需求信息</td></tr>
<tr><td colspan="3">PostHireV1JobRequirementsSearch</td></tr>
Expand Down Expand Up @@ -1787,9 +1787,9 @@
<tr><td colspan="3">GetLingoV1FilesByFileTokenDownload</td></tr>
<tr><td rowspan="2">894</td><td rowspan="2">2024-04-26</td><td>&#10003;</td><td>安全合规</td><td>获取OpenAPI审计日志数据</td></tr>
<tr><td colspan="3">PostSecurityAndComplianceV1OpenapiLogsListData</td></tr>
<tr><td rowspan="2">895</td><td rowspan="2">2024-05-21</td><td>&#10003;</td><td>妙记</td><td>获取妙记统计数据</td></tr>
<tr><td rowspan="2">895</td><td rowspan="2">2024-05-22</td><td>&#10003;</td><td>妙记</td><td>获取妙记统计数据</td></tr>
<tr><td colspan="3">GetMinutesV1MinutesByMinuteTokenStatistics</td></tr>
<tr><td rowspan="2">896</td><td rowspan="2">2024-05-21</td><td>&#10003;</td><td>妙记</td><td>获取妙记信息</td></tr>
<tr><td rowspan="2">896</td><td rowspan="2">2024-05-22</td><td>&#10003;</td><td>妙记</td><td>获取妙记信息</td></tr>
<tr><td colspan="3">GetMinutesV1MinutesByMinuteToken</td></tr>
<tr><td rowspan="2">897</td><td rowspan="2">2023-06-29</td><td>&#10003;</td><td>工作台</td><td>获取工作台访问数据</td></tr>
<tr><td colspan="3">PostWorkplaceV1WorkplaceAccessDataSearch</td></tr>
Expand Down Expand Up @@ -1989,7 +1989,7 @@
<tr><td colspan="3">GetBotV3Info</td></tr>
<tr><td rowspan="2">995</td><td rowspan="2">2024-03-08</td><td>&#10003;</td><td>词典</td><td>删除免审词条</td></tr>
<tr><td colspan="3">DeleteLingoV1EntitiesByEntityId</td></tr>
<tr><td rowspan="2">996</td><td rowspan="2">2024-05-10</td><td>&#10003;</td><td>飞书人事</td><td>更新公司</td></tr>
<tr><td rowspan="2">996</td><td rowspan="2">2024-05-23</td><td>&#10003;</td><td>飞书人事</td><td>更新公司</td></tr>
<tr><td colspan="3">PatchCorehrV1CompaniesByCompanyId</td></tr>
<tr><td rowspan="2">997</td><td rowspan="2">2024-04-02</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>查询流程实例列表</td></tr>
<tr><td colspan="3">GetCorehrV2Processes</td></tr>
Expand Down Expand Up @@ -2099,7 +2099,7 @@
<tr><td colspan="3">PostCorehrV2PreHiresSearch</td></tr>
<tr><td rowspan="2">1050</td><td rowspan="2">2024-04-17</td><td>&#10003;</td><td>消息与群组</td><td>更新 URL 预览</td></tr>
<tr><td colspan="3">PostImV2UrlPreviewsBatchUpdate</td></tr>
<tr><td rowspan="2">1051</td><td rowspan="2">2024-04-22</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>查询指定生效日期的部门基本信息</td></tr>
<tr><td rowspan="2">1051</td><td rowspan="2">2024-05-23</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>查询指定生效日期的部门基本信息</td></tr>
<tr><td colspan="3">PostCorehrV2DepartmentsQueryTimeline</td></tr>
<tr><td rowspan="2">1052</td><td rowspan="2">2024-04-29</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>更新待入职信息(推荐)</td></tr>
<tr><td colspan="3">PatchCorehrV2PreHiresByPreHireId</td></tr>
Expand Down Expand Up @@ -2127,4 +2127,10 @@
<tr><td colspan="3">GetCompensationV1Plans</td></tr>
<tr><td rowspan="2">1064</td><td rowspan="2">2024-05-11</td><td>&#10003;</td><td>飞书人事(企业版)</td><td>查询职等</td></tr>
<tr><td colspan="3">PostCorehrV2JobGradesQuery</td></tr>
<tr><td rowspan="2">1065</td><td rowspan="2">2024-05-23</td><td>&#10003;</td><td>飞书人事</td><td>批量查询用户授权</td></tr>
<tr><td colspan="3">GetCorehrV1AuthorizationsQuery</td></tr>
<tr><td rowspan="2">1066</td><td rowspan="2">2024-05-23</td><td>&#10003;</td><td>飞书人事</td><td>查询单个用户授权</td></tr>
<tr><td colspan="3">GetCorehrV1AuthorizationsGetByParam</td></tr>
<tr><td rowspan="2">1067</td><td rowspan="2">2024-05-23</td><td>新增</td><td>飞书人事(企业版)</td><td>批量查询部门版本信息</td></tr>
<tr><td colspan="3">PostCorehrV2DepartmentsQueryMultiTimeline</td></tr>
</tbody></table>
6 changes: 3 additions & 3 deletions UserAccessList.md
Original file line number Diff line number Diff line change
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-05-21</td><td>&#10003;</td><td>妙记</td><td>获取妙记统计数据</td></tr>
<tr><td rowspan="2">383</td><td rowspan="2">2024-05-22</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-05-21</td><td>&#10003;</td><td>妙记</td><td>获取妙记信息</td></tr>
<tr><td rowspan="2">384</td><td rowspan="2">2024-05-22</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 @@ -963,7 +963,7 @@
<tr><td colspan="3">PostJssdkTicketGet</td></tr>
<tr><td rowspan="2">482</td><td rowspan="2">2023-11-24</td><td><span style="color:red;">删除</span></td><td>词典</td><td>删除免审词条</td></tr>
<tr><td colspan="3">DeleteLingoV1EntitiesByEntityId</td></tr>
<tr><td rowspan="2">483</td><td rowspan="2">2024-05-10</td><td>&#10003;</td><td>飞书人事</td><td>更新公司</td></tr>
<tr><td rowspan="2">483</td><td rowspan="2">2024-05-23</td><td>&#10003;</td><td>飞书人事</td><td>更新公司</td></tr>
<tr><td colspan="3">PatchCorehrV1CompaniesByCompanyId</td></tr>
<tr><td rowspan="2">484</td><td rowspan="2">2024-04-10</td><td>&#10003;</td><td>日历</td><td>回复日程</td></tr>
<tr><td colspan="3">PostCalendarV4CalendarsByCalendarIdEventsByEventIdReply</td></tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public record ApplicationAppVersion
/// <para>在开发者后台填入的应用版本号</para>
/// <para>必填:否</para>
/// <para>示例值:1.0.0</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("version")]
public string? Version { get; set; }
Expand All @@ -48,6 +49,7 @@ public record ApplicationAppVersion
/// <para>应用默认名称</para>
/// <para>必填:否</para>
/// <para>示例值:应用名称</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("app_name")]
public string? AppName { get; set; }
Expand All @@ -64,6 +66,7 @@ public record ApplicationAppVersion
/// <para>应用默认描述</para>
/// <para>必填:否</para>
/// <para>示例值:应用描述</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("description")]
public string? Description { get; set; }
Expand Down Expand Up @@ -122,6 +125,7 @@ public record AppScope
/// <summary>
/// <para>应用的国际化信息列表</para>
/// <para>必填:否</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("i18n")]
public AppI18nInfo[]? I18ns { get; set; }
Expand All @@ -139,6 +143,19 @@ public record AppI18nInfo
/// <item>zh_cn:中文</item>
/// <item>en_us:英文</item>
/// <item>ja_jp:日文</item>
/// <item>zh_hk:繁体中文(中国香港)</item>
/// <item>zh_tw:繁体中文(中国台湾)</item>
/// <item>id_id:印度尼西亚语</item>
/// <item>ms_my:马来语</item>
/// <item>de_de:德语</item>
/// <item>es_es:西班牙语</item>
/// <item>fr_fr:法语</item>
/// <item>it_it:意大利语</item>
/// <item>pt_br:葡萄牙语(巴西)</item>
/// <item>vi_vn:越南语</item>
/// <item>ru_ru:俄语</item>
/// <item>th_th:泰语</item>
/// <item>ko_kr:韩语</item>
/// </list></para>
/// </summary>
[JsonPropertyName("i18n_key")]
Expand All @@ -148,6 +165,7 @@ public record AppI18nInfo
/// <para>应用国际化名称</para>
/// <para>必填:否</para>
/// <para>示例值:应用名称</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("name")]
public string? Name { get; set; }
Expand All @@ -156,6 +174,7 @@ public record AppI18nInfo
/// <para>应用国际化描述(副标题)</para>
/// <para>必填:否</para>
/// <para>示例值:应用描述</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("description")]
public string? Description { get; set; }
Expand Down Expand Up @@ -244,8 +263,8 @@ public record AppAbilityGadget
/// <para>必填:否</para>
/// <para>示例值:1</para>
/// <para>可选值:<list type="bullet">
/// <item>1:sidebar模式</item>
/// <item>2:pc模式</item>
/// <item>1:sidebar 模式</item>
/// <item>2:pc 模式</item>
/// <item>4:主导航模式</item>
/// </list></para>
/// </summary>
Expand All @@ -271,6 +290,7 @@ public record AppAbilityGadget
/// <para>pc 的小程序版本号</para>
/// <para>必填:否</para>
/// <para>示例值:1.0.0</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("pc_version")]
public string? PcVersion { get; set; }
Expand All @@ -279,6 +299,7 @@ public record AppAbilityGadget
/// <para>移动端小程序版本号</para>
/// <para>必填:否</para>
/// <para>示例值:1.0.0</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("mobile_version")]
public string? MobileVersion { get; set; }
Expand All @@ -287,6 +308,7 @@ public record AppAbilityGadget
/// <para>移动端兼容的最低飞书版本</para>
/// <para>必填:否</para>
/// <para>示例值:2.0</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("mobile_min_lark_version")]
public string? MobileMinLarkVersion { get; set; }
Expand All @@ -295,6 +317,7 @@ public record AppAbilityGadget
/// <para>pc 端兼容的最低飞书版本</para>
/// <para>必填:否</para>
/// <para>示例值:2.0</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("pc_min_lark_version")]
public string? PcMinLarkVersion { get; set; }
Expand Down Expand Up @@ -399,6 +422,7 @@ public record NavigateMeta
/// <para>主导航小程序版本号</para>
/// <para>必填:否</para>
/// <para>示例值:1.0.0</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("version")]
public string? Version { get; set; }
Expand Down Expand Up @@ -451,6 +475,7 @@ public record AppAbilityCloudDoc
/// <summary>
/// <para>国际化信息</para>
/// <para>必填:否</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("i18n")]
public CloudDocI18nInfo[]? I18ns { get; set; }
Expand Down Expand Up @@ -542,6 +567,7 @@ public record DocsBlock
/// <summary>
/// <para>block 的国际化信息</para>
/// <para>必填:否</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("i18n")]
public BlockI18nInfo[]? I18ns { get; set; }
Expand All @@ -568,6 +594,7 @@ public record BlockI18nInfo
/// <para>名称</para>
/// <para>必填:否</para>
/// <para>示例值:名称</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("name")]
public string? Name { get; set; }
Expand Down Expand Up @@ -621,6 +648,7 @@ public record AppAbilityMessageAction
/// <summary>
/// <para>国际化信息</para>
/// <para>必填:否</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("i18n")]
public MessageActionI18nInfo[]? I18ns { get; set; }
Expand All @@ -647,6 +675,7 @@ public record MessageActionI18nInfo
/// <para>国际化名称</para>
/// <para>必填:否</para>
/// <para>示例值:名称</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("name")]
public string? Name { get; set; }
Expand Down Expand Up @@ -773,5 +802,42 @@ public record AppVisibleList
public AppVisibleList? InvisibleList { get; set; }
}
}

/// <summary>
/// <para>应用已订阅事件详情列表</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("event_infos")]
public Event[]? EventInfos { get; set; }

/// <summary>
/// <para>应用已订阅事件详情列表</para>
/// </summary>
public record Event
{
/// <summary>
/// <para>事件类型,事件唯一标识</para>
/// <para>必填:否</para>
/// <para>示例值:im.chat.updated_v1</para>
/// </summary>
[JsonPropertyName("event_type")]
public string? EventType { get; set; }

/// <summary>
/// <para>事件名称</para>
/// <para>必填:否</para>
/// <para>示例值:群配置修改事件</para>
/// </summary>
[JsonPropertyName("event_name")]
public string? EventName { get; set; }

/// <summary>
/// <para>事件描述</para>
/// <para>必填:否</para>
/// <para>示例值:群聊名称、头像、描述以及群编辑权限、群分享权限等被修改时推送事件</para>
/// </summary>
[JsonPropertyName("event_description")]
public string? EventDescription { get; set; }
}
}
}
Loading

0 comments on commit 0d9d14b

Please sign in to comment.