Skip to content

Commit

Permalink
新增
Browse files Browse the repository at this point in the history
- 【招聘】获取角色列表
- 【招聘】获取招聘官网推广渠道列表
- 【招聘】删除招聘官网推广渠道
- 【招聘】新建招聘官网推广渠道
- 【招聘】更新招聘官网推广渠道
- 【招聘】获取地址列表
- 【招聘】获取招聘官网投递任务结果
- 【招聘】根据简历附件创建招聘官网投递任务
- 【招聘】查询地点列表
- 【招聘】恢复投递
- 【飞书人事】为用户授权角色
- 【飞书人事】更新用户被授权的数据范围
- 【消息与群组】添加跟随气泡

更新
- 获取角色详情 响应体
- 操作候选人入职 响应体
- 批量查询员工信息 响应体
- 搜索员工信息 响应体

增加权限要求描述。
变更时间戳类型 int=>long

Signed-off-by: Vicente.Yu <^@^>
  • Loading branch information
Vicente.Yu committed Jul 12, 2024
1 parent 7aab0cb commit 7b5e52e
Show file tree
Hide file tree
Showing 124 changed files with 11,416 additions and 806 deletions.
208 changes: 117 additions & 91 deletions TenantAccessList.md

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions UserAccessList.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<tr><td colspan="3">DeleteSheetsV2SpreadsheetsBySpreadsheetTokenProtectedRangeBatchDel</td></tr>
<tr><td rowspan="2">68</td><td rowspan="2">2023-07-13</td><td>&#10003;</td><td>云文档</td><td>查询下拉列表设置</td></tr>
<tr><td colspan="3">GetSheetsV2SpreadsheetsBySpreadsheetTokenDataValidation</td></tr>
<tr><td rowspan="2">69</td><td rowspan="2">2024-06-21</td><td>&#10003;</td><td>消息与群组</td><td>更新应用发送的消息卡片</td></tr>
<tr><td rowspan="2">69</td><td rowspan="2">2024-07-10</td><td>&#10003;</td><td>消息与群组</td><td>更新应用发送的消息卡片</td></tr>
<tr><td colspan="3">PatchImV1MessagesByMessageId</td></tr>
<tr><td rowspan="2">70</td><td rowspan="2">2022-03-03</td><td>&#10003;</td><td>云文档</td><td>设置下拉列表</td></tr>
<tr><td colspan="3">PostSheetsV2SpreadsheetsBySpreadsheetTokenDataValidation</td></tr>
Expand Down Expand Up @@ -729,9 +729,9 @@
<tr><td colspan="3">GetOkrV1ProgressRecordsByProgressId</td></tr>
<tr><td rowspan="2">365</td><td rowspan="2">2024-01-09</td><td>&#10003;</td><td>OKR</td><td>上传进展记录图片</td></tr>
<tr><td colspan="3">PostOkrV1ImagesUpload</td></tr>
<tr><td rowspan="2">366</td><td rowspan="2">2024-06-14</td><td>&#10003;</td><td>绩效</td><td>获取周期任务(指定用户)</td></tr>
<tr><td rowspan="2">366</td><td rowspan="2">2024-07-10</td><td>&#10003;</td><td>绩效</td><td>获取周期任务(指定用户)</td></tr>
<tr><td colspan="3">PostPerformanceV1StageTasksFindByUserList</td></tr>
<tr><td rowspan="2">367</td><td rowspan="2">2024-06-19</td><td>&#10003;</td><td>绩效</td><td>获取绩效结果</td></tr>
<tr><td rowspan="2">367</td><td rowspan="2">2024-07-10</td><td>&#10003;</td><td>绩效</td><td>获取绩效结果</td></tr>
<tr><td colspan="3">PostPerformanceV1ReviewDatasQuery</td></tr>
<tr><td rowspan="2">368</td><td rowspan="2">2023-10-25</td><td>&#10003;</td><td>词典</td><td>创建草稿</td></tr>
<tr><td colspan="3">PostLingoV1Drafts</td></tr>
Expand Down Expand Up @@ -821,7 +821,7 @@
<tr><td colspan="3">GetSheetsV2SpreadsheetsBySpreadsheetTokenMetainfo</td></tr>
<tr><td rowspan="2">411</td><td rowspan="2">2022-03-03</td><td>&#10003;</td><td>云文档</td><td>更新表格属性</td></tr>
<tr><td colspan="3">PutSheetsV2SpreadsheetsBySpreadsheetTokenProperties</td></tr>
<tr><td rowspan="2">412</td><td rowspan="2">2022-03-03</td><td>&#10003;</td><td>云文档</td><td>导入表格</td></tr>
<tr><td rowspan="2">412</td><td rowspan="2">2022-03-03</td><td>&#10003;</td><td>云文档</td><td><span style="color:red;">[不推荐]</span> 导入表格</td></tr>
<tr><td colspan="3">PostSheetsV2Import</td></tr>
<tr><td rowspan="2">413</td><td rowspan="2">2024-05-29</td><td>&#10003;</td><td>云文档</td><td>获取我的空间(root folder)元数据</td></tr>
<tr><td colspan="3">GetDriveExplorerV2RootFolderMeta</td></tr>
Expand Down Expand Up @@ -889,7 +889,7 @@
<tr><td colspan="3">DeleteDriveV1FilesByFileTokenDeleteSubscribe</td></tr>
<tr><td rowspan="2">445</td><td rowspan="2">2024-03-14</td><td>&#10003;</td><td>云文档</td><td>查询云文档事件订阅状态</td></tr>
<tr><td colspan="3">GetDriveV1FilesByFileTokenGetSubscribe</td></tr>
<tr><td rowspan="2">446</td><td rowspan="2">2024-06-03</td><td>&#10003;</td><td>云文档</td><td>搜索云文档</td></tr>
<tr><td rowspan="2">446</td><td rowspan="2">2024-07-11</td><td>&#10003;</td><td>云文档</td><td>搜索云文档</td></tr>
<tr><td colspan="3">PostSuiteDocsApiSearchObject</td></tr>
<tr><td rowspan="2">447</td><td rowspan="2">2024-05-29</td><td>&#10003;</td><td>云文档</td><td>上传文件</td></tr>
<tr><td colspan="3">PostDriveV1FilesUploadAll</td></tr>
Expand Down Expand Up @@ -1013,15 +1013,15 @@
<tr><td colspan="3">GetAilyV1SessionsByAilySessionIdRunsByRunId</td></tr>
<tr><td rowspan="2">507</td><td rowspan="2">2024-04-25</td><td>&#10003;</td><td>智能伙伴创建平台</td><td>创建会话</td></tr>
<tr><td colspan="3">PostAilyV1Sessions</td></tr>
<tr><td rowspan="2">508</td><td rowspan="2">2024-05-15</td><td>&#10003;</td><td>薪酬管理</td><td>批量查询员工薪资档案</td></tr>
<tr><td rowspan="2">508</td><td rowspan="2">2024-07-12</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-07-10</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-01</td><td>&#10003;</td><td>绩效</td><td>获取指标库信息</td></tr>
<tr><td rowspan="2">510</td><td rowspan="2">2024-07-10</td><td>&#10003;</td><td>绩效</td><td>获取指标库信息</td></tr>
<tr><td colspan="3">PostPerformanceV2MetricLibsQuery</td></tr>
<tr><td rowspan="2">511</td><td rowspan="2">2024-07-01</td><td>&#10003;</td><td>绩效</td><td>获取指标模板信息</td></tr>
<tr><td rowspan="2">511</td><td rowspan="2">2024-07-10</td><td>&#10003;</td><td>绩效</td><td>获取指标模板信息</td></tr>
<tr><td colspan="3">PostPerformanceV2MetricTemplatesQuery</td></tr>
<tr><td rowspan="2">512</td><td rowspan="2">2024-07-01</td><td>&#10003;</td><td>绩效</td><td>获取指标字段信息</td></tr>
<tr><td rowspan="2">512</td><td rowspan="2">2024-07-10</td><td>&#10003;</td><td>绩效</td><td>获取指标字段信息</td></tr>
<tr><td colspan="3">PostPerformanceV2MetricFieldsQuery</td></tr>
<tr><td rowspan="2">513</td><td rowspan="2">2024-07-02</td><td>&#10003;</td><td>云文档</td><td>批量增加协作者权限</td></tr>
<tr><td colspan="3">PostDriveV1PermissionsByTokenMembersBatchCreate</td></tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public record GetApplicationV1UserVisibleAppsResponseDto
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("has_more")]
public string? HasMore { get; set; }
public int? HasMore { get; set; }

/// <summary>
/// <para>当前选择的版本语言</para>
Expand Down
2 changes: 1 addition & 1 deletion src/Application.Spec/GetApplicationV3AppListResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public record GetApplicationV3AppListResponseDto
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("has_more")]
public string? HasMore { get; set; }
public int? HasMore { get; set; }

/// <summary>
/// <para>当前选择的版本语言</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace FeishuNetSdk.Application.Spec;
/// <summary>
/// 校验应用管理员 响应体
/// <para>该接口用于查询用户是否为应用管理员。</para>
/// <para>&gt; 此处应用管理员是指可以进入企业管理后台对应用进行审核和管理的企业管理员,并不是应用的开发者。</para>
/// <para>此处应用管理员是指可以进入企业管理后台对应用进行审核和管理的企业管理员,并不是应用的开发者。</para>
/// <para>接口ID:6907569524100022273</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/application-v6/admin/verify-app-admin</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fukTMukTMukTM%2fuITN1EjLyUTNx4iM1UTM</para>
Expand Down
4 changes: 2 additions & 2 deletions src/Application.Spec/GetPayV1OrderListResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace FeishuNetSdk.Application.Spec;
/// <summary>
/// 查询租户购买的付费方案 响应体
/// <para>该接口用于分页查询应用租户下的已付费订单,每次购买对应一个唯一的订单,订单会记录购买的套餐的相关信息,业务方需要自行处理套餐的有效期和付费方案的升级。</para>
/// <para>&gt; 备注:免费模式的应用不会产生订单,仅收费应用会产生订单 (含免费版)。</para>
/// <para>备注:免费模式的应用不会产生订单,仅收费应用会产生订单 (含免费版)。</para>
/// <para>接口ID:6907569742384988162</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/application-v6/appstore-paid-info/query-an-app-tenant’s-paid-orders</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fukTMukTMukTM%2fuETNwUjLxUDM14SM1ATN</para>
Expand Down Expand Up @@ -49,7 +49,7 @@ public record GetPayV1OrderListResponseDto
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("order_list")]
public string? OrderList { get; set; }
public Order[]? OrderList { get; set; }

/// <summary></summary>
public record Order
Expand Down
60 changes: 35 additions & 25 deletions src/Attendance/GetAttendanceV1GroupsByGroupIdResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public record GetAttendanceV1GroupsByGroupIdResponseDto
public string TimeZone { get; set; } = string.Empty;

/// <summary>
/// <para>绑定的部门 ID(与「need_punch_members」同时使用时,以当前字段为准)</para>
/// <para>绑定的部门 ID(与「need_punch_members」同时使用时,以当前字段为准)。对应dept_type</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("bind_dept_ids")]
Expand All @@ -60,28 +60,28 @@ public record GetAttendanceV1GroupsByGroupIdResponseDto
public string[]? ExceptDeptIds { get; set; }

/// <summary>
/// <para>绑定的用户 ID(与「need_punch_members」同时使用时,以当前字段为准)</para>
/// <para>绑定的用户 ID(与「need_punch_members」同时使用时,以当前字段为准),对应employee_type</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("bind_user_ids")]
public string[]? BindUserIds { get; set; }

/// <summary>
/// <para>排除的用户 ID(该字段已下线)</para>
/// <para>排除的用户 ID(该字段已下线),对应employee_type</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("except_user_ids")]
public string[]? ExceptUserIds { get; set; }

/// <summary>
/// <para>考勤主负责人 ID 列表,必选字段(需至少拥有考勤组管理员权限)</para>
/// <para>考勤主负责人 ID 列表,必选字段(需至少拥有考勤组管理员权限),对应employee_type</para>
/// <para>必填:是</para>
/// </summary>
[JsonPropertyName("group_leader_ids")]
public string[] GroupLeaderIds { get; set; } = Array.Empty<string>();

/// <summary>
/// <para>考勤子负责人 ID 列表</para>
/// <para>考勤子负责人 ID 列表,对应employee_type</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("sub_group_leader_ids")]
Expand Down Expand Up @@ -327,7 +327,7 @@ public record Machine
public record Location
{
/// <summary>
/// <para>地址 ID</para>
/// <para>地址 ID,系统ID只透传,暂时无用</para>
/// <para>必填:否</para>
/// <para>示例值:6921213751454744578</para>
/// </summary>
Expand Down Expand Up @@ -471,7 +471,7 @@ public record GetAttendanceV1GroupsByGroupIdResponseDtoFreePunchCfg
public string FreeEndTime { get; set; } = string.Empty;

/// <summary>
/// <para>打卡的时间,为 7 位数字,每一位依次代表周一到周日,0 为不上班,1 为上班</para>
/// <para>打卡的时间,为 7 位数字,每一位依次代表周一到周日,0 为不上班,1 为上班。例如示例值1111100,代表从周一到周五上班,周六周日休息</para>
/// <para>必填:是</para>
/// <para>示例值:1111100</para>
/// </summary>
Expand Down Expand Up @@ -532,7 +532,7 @@ public record PunchSpecialDateShift
public int PunchDay { get; set; }

/// <summary>
/// <para>班次 ID</para>
/// <para>班次 ID,可使用此id查询[班次详情](https://open.larkoffice.com/document/server-docs/attendance-v1/shift/get)</para>
/// <para>必填:是</para>
/// <para>示例值:6919668827865513935</para>
/// </summary>
Expand All @@ -556,9 +556,11 @@ public record PunchSpecialDateShift
public bool? WorkDayNoPunchAsLack { get; set; }

/// <summary>
/// <para>补卡周期类型</para>
/// <para>补卡周期类型。1为按自然月,2为自定义周期</para>
/// <para>* 1:MONTH</para>
/// <para>* 2:CUSTOM</para>
/// <para>必填:否</para>
/// <para>示例值:0</para>
/// <para>示例值:1</para>
/// </summary>
[JsonPropertyName("remedy_period_type")]
public int? RemedyPeriodType { get; set; }
Expand Down Expand Up @@ -673,43 +675,43 @@ public record GetAttendanceV1GroupsByGroupIdResponseDtoMemberStatusChange
public bool? LeaveNeedPunch { get; set; }

/// <summary>
/// <para>请假离岗或返岗打卡规则</para>
/// <para>请假离岗或返岗打卡规则,单位:分钟</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("leave_need_punch_cfg")]
public GetAttendanceV1GroupsByGroupIdResponseDtoLeaveNeedPunchCfg? LeaveNeedPunchCfg { get; set; }

/// <summary>
/// <para>请假离岗或返岗打卡规则</para>
/// <para>请假离岗或返岗打卡规则,单位:分钟</para>
/// </summary>
public record GetAttendanceV1GroupsByGroupIdResponseDtoLeaveNeedPunchCfg
{
/// <summary>
/// <para>晚到超过多久记为迟到</para>
/// <para>晚到超过多久记为迟到,单位:分钟</para>
/// <para>必填:否</para>
/// <para>示例值:0</para>
/// </summary>
[JsonPropertyName("late_minutes_as_late")]
public int? LateMinutesAsLate { get; set; }

/// <summary>
/// <para>晚到超过多久记为缺卡</para>
/// <para>晚到超过多久记为缺卡,单位:分钟</para>
/// <para>必填:否</para>
/// <para>示例值:0</para>
/// </summary>
[JsonPropertyName("late_minutes_as_lack")]
public int? LateMinutesAsLack { get; set; }

/// <summary>
/// <para>早走超过多久记为早退</para>
/// <para>早走超过多久记为早退,单位:分钟</para>
/// <para>必填:否</para>
/// <para>示例值:0</para>
/// </summary>
[JsonPropertyName("early_minutes_as_early")]
public int? EarlyMinutesAsEarly { get; set; }

/// <summary>
/// <para>早走超过多久记为缺卡</para>
/// <para>早走超过多久记为缺卡,单位:分钟</para>
/// <para>必填:否</para>
/// <para>示例值:0</para>
/// </summary>
Expand All @@ -726,43 +728,43 @@ public record GetAttendanceV1GroupsByGroupIdResponseDtoLeaveNeedPunchCfg
public int? GoOutNeedPunch { get; set; }

/// <summary>
/// <para>外出期间打卡规则</para>
/// <para>外出期间打卡规则,单位:分钟</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("go_out_need_punch_cfg")]
public LeaveNeedPunchCfgSuffix? GoOutNeedPunchCfg { get; set; }

/// <summary>
/// <para>外出期间打卡规则</para>
/// <para>外出期间打卡规则,单位:分钟</para>
/// </summary>
public record LeaveNeedPunchCfgSuffix
{
/// <summary>
/// <para>晚到超过多久记为迟到</para>
/// <para>晚到超过多久记为迟到,单位:分钟</para>
/// <para>必填:否</para>
/// <para>示例值:0</para>
/// </summary>
[JsonPropertyName("late_minutes_as_late")]
public int? LateMinutesAsLate { get; set; }

/// <summary>
/// <para>晚到超过多久记为缺卡</para>
/// <para>晚到超过多久记为缺卡,单位:分钟</para>
/// <para>必填:否</para>
/// <para>示例值:0</para>
/// </summary>
[JsonPropertyName("late_minutes_as_lack")]
public int? LateMinutesAsLack { get; set; }

/// <summary>
/// <para>早走超过多久记为早退</para>
/// <para>早走超过多久记为早退,单位:分钟</para>
/// <para>必填:否</para>
/// <para>示例值:0</para>
/// </summary>
[JsonPropertyName("early_minutes_as_early")]
public int? EarlyMinutesAsEarly { get; set; }

/// <summary>
/// <para>早走超过多久记为缺卡</para>
/// <para>早走超过多久记为缺卡,单位:分钟</para>
/// <para>必填:否</para>
/// <para>示例值:0</para>
/// </summary>
Expand All @@ -779,7 +781,7 @@ public record LeaveNeedPunchCfgSuffix
public int? TravelNeedPunch { get; set; }

/// <summary>
/// <para>出差期间打卡规则</para>
/// <para>出差期间打卡规则,单位:分钟</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("travel_need_punch_cfg")]
Expand Down Expand Up @@ -842,6 +844,14 @@ public record ScopeGroup

/// <summary>
/// <para>范围类型(是否包含)</para>
/// <para>* 1: 包含</para>
/// <para>* 2: 不包含</para>
/// <para>* 3: 相等</para>
/// <para>* 4: 小于等于</para>
/// <para>* 5: 大于等于</para>
/// <para>* 6: 大于</para>
/// <para>* 7: 小于</para>
/// <para>* 8: 不相等</para>
/// <para>必填:否</para>
/// <para>示例值:1</para>
/// </summary>
Expand Down Expand Up @@ -928,14 +938,14 @@ public record ScopeValue
public bool? OrgChangeAutoAdjust { get; set; }

/// <summary>
/// <para>参与无需打卡的部门 ID 列表(与「no_need_punch_members」同时使用时,以当前字段为准)</para>
/// <para>参与无需打卡的部门 ID 列表(与「no_need_punch_members」同时使用时,以当前字段为准)。对应dept_type</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("bind_default_dept_ids")]
public string[]? BindDefaultDeptIds { get; set; }

/// <summary>
/// <para>参与无需打卡的人员 ID 列表(与「no_need_punch_members」同时使用时,以当前字段为准)</para>
/// <para>参与无需打卡的人员 ID 列表(与「no_need_punch_members」同时使用时,以当前字段为准)。对应employee_type</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("bind_default_user_ids")]
Expand Down
8 changes: 4 additions & 4 deletions src/Attendance/GetAttendanceV1ShiftsByShiftIdResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public record GetAttendanceV1ShiftsByShiftIdResponseDto
public int PunchTimes { get; set; }

/// <summary>
/// <para>排班组子负责人id列表</para>
/// <para>无效字段,请勿使用</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("sub_shift_leader_ids")]
Expand Down Expand Up @@ -118,17 +118,17 @@ public record FlexibleRule
public record PunchTimeRule
{
/// <summary>
/// <para>上班时间</para>
/// <para>上班时间,格式为hh:mm</para>
/// <para>必填:是</para>
/// <para>示例值:9:00</para>
/// </summary>
[JsonPropertyName("on_time")]
public string OnTime { get; set; } = string.Empty;

/// <summary>
/// <para>下班时间</para>
/// <para>下班时间,格式为hh:mm。如果是第二天凌晨2点, 则为26:00</para>
/// <para>必填:是</para>
/// <para>示例值:18:00,第二天凌晨2点,26:00</para>
/// <para>示例值:18:00, 第二天凌晨2点, 26:00</para>
/// </summary>
[JsonPropertyName("off_time")]
public string OffTime { get; set; } = string.Empty;
Expand Down
Loading

0 comments on commit 7b5e52e

Please sign in to comment.