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 Feb 20, 2024
1 parent 319dee4 commit bf0ff49
Show file tree
Hide file tree
Showing 22 changed files with 292 additions and 357 deletions.
252 changes: 126 additions & 126 deletions TenantAccessList.md

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions UserAccessList.md
Original file line number Diff line number Diff line change
Expand Up @@ -475,13 +475,13 @@
<tr><td colspan="3">GetVcV1ReserveConfigsByReserveConfigIdDisableInform</td></tr>
<tr><td rowspan="2">238</td><td rowspan="2">2023-08-29</td><td>&#10003;</td><td>视频会议</td><td>更新禁用状态变更通知</td></tr>
<tr><td colspan="3">PatchVcV1ReserveConfigsByReserveConfigIdDisableInform</td></tr>
<tr><td rowspan="2">239</td><td rowspan="2">2023-12-12</td><td>&#10003;</td><td>视频会议</td><td>查询会议明细</td></tr>
<tr><td rowspan="2">239</td><td rowspan="2">2024-02-06</td><td>&#10003;</td><td>视频会议</td><td>查询会议明细</td></tr>
<tr><td colspan="3">GetVcV1MeetingList</td></tr>
<tr><td rowspan="2">240</td><td rowspan="2">2023-12-12</td><td>&#10003;</td><td>视频会议</td><td>查询参会人明细</td></tr>
<tr><td rowspan="2">240</td><td rowspan="2">2024-02-06</td><td>&#10003;</td><td>视频会议</td><td>查询参会人明细</td></tr>
<tr><td colspan="3">GetVcV1ParticipantList</td></tr>
<tr><td rowspan="2">241</td><td rowspan="2">2024-01-08</td><td>&#10003;</td><td>视频会议</td><td>查询参会人会议质量数据</td></tr>
<tr><td colspan="3">GetVcV1ParticipantQualityList</td></tr>
<tr><td rowspan="2">242</td><td rowspan="2">2023-11-03</td><td>&#10003;</td><td>视频会议</td><td>查询会议室预定数据</td></tr>
<tr><td rowspan="2">242</td><td rowspan="2">2024-02-19</td><td>&#10003;</td><td>视频会议</td><td>查询会议室预定数据</td></tr>
<tr><td colspan="3">GetVcV1ResourceReservationList</td></tr>
<tr><td rowspan="2">243</td><td rowspan="2">2022-12-28</td><td>&#10003;</td><td>审批</td><td>查询用户的任务列表</td></tr>
<tr><td colspan="3">GetApprovalV4TasksQuery</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">2023-11-03</td><td>&#10003;</td><td>邮箱</td><td>查询所有公共邮箱</td></tr>
<tr><td rowspan="2">355</td><td rowspan="2">2024-02-19</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 @@ -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>&#10003;</td><td>词典</td><td>删除免审词条</td></tr>
<tr><td colspan="3">DeleteLingoV1EntitiesByEntityId</td></tr>
<tr><td rowspan="2">483</td><td rowspan="2">2023-12-12</td><td>&#10003;</td><td>飞书人事</td><td>更新公司</td></tr>
<tr><td rowspan="2">483</td><td rowspan="2">2024-02-06</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">2023-12-28</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 @@ -47,7 +47,7 @@ public record UserFlow
/// <summary>
/// <para>打卡时间,精确到秒的时间戳</para>
/// <para>必填:是</para>
/// <para>示例值:1611476284</para>
/// <para>示例值:1611476284 (只支持导入打卡时间在2022年1月1日之后的数据)</para>
/// </summary>
[JsonPropertyName("check_time")]
public string CheckTime { get; set; } = string.Empty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public record I18n
public string? BankId { get; set; }

/// <summary>
/// <para>金融分支机构编码</para>
/// <para>金融分支机构编码(即银行联行号)</para>
/// <para>必填:否</para>
/// <para>示例值:201</para>
/// </summary>
Expand Down
10 changes: 5 additions & 5 deletions src/Corehr/PostCorehrV2CompaniesBatchGetResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public record Company
public record CompanyHiberarchyCommon
{
/// <summary>
/// <para>上级组织</para>
/// <para>上级</para>
/// <para>必填:否</para>
/// <para>示例值:4719168654814483759</para>
/// </summary>
Expand Down Expand Up @@ -78,14 +78,14 @@ public record I18n
}

/// <summary>
/// <para>组织类型</para>
/// <para>类型</para>
/// <para>必填:是</para>
/// </summary>
[JsonPropertyName("type")]
public Enum Type { get; set; } = new();

/// <summary>
/// <para>组织类型</para>
/// <para>类型</para>
/// </summary>
public record Enum
{
Expand Down Expand Up @@ -167,15 +167,15 @@ public record I18n
public I18n[]? Descriptions { get; set; }

/// <summary>
/// <para>树形排序,代表同层级的部门排序序号</para>
/// <para>树形排序</para>
/// <para>必填:否</para>
/// <para>示例值:123</para>
/// </summary>
[JsonPropertyName("tree_order")]
public string? TreeOrder { get; set; }

/// <summary>
/// <para>列表排序,代表所有部门的混排序号</para>
/// <para>列表排序</para>
/// <para>必填:否</para>
/// <para>示例值:123</para>
/// </summary>
Expand Down
9 changes: 8 additions & 1 deletion src/Corehr/PostCorehrV2DepartmentsSearchResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public record CustomName
/// <summary>
/// <para>英文</para>
/// <para>必填:否</para>
/// <para>示例值:CustomName</para>
/// <para>示例值:Custom Name</para>
/// </summary>
[JsonPropertyName("en_us")]
public string? EnUs { get; set; }
Expand All @@ -271,6 +271,13 @@ public record CustomName
[JsonPropertyName("value")]
public string Value { get; set; } = string.Empty;
}

/// <summary>
/// <para>是否使用职务</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("staffing_model")]
public Enum? StaffingModel { get; set; }
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/FeishuNetSdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Copyright>MIT</Copyright>
<Description>适用于飞书开放平台的.Net开发包</Description>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Version>2.0.9</Version>
<Version>2.1.0</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public record GetCorehrV1CompaniesByCompanyIdResponseDtoCompany
public record GetCorehrV1CompaniesByCompanyIdResponseDtoCompanyHiberarchyCommon
{
/// <summary>
/// <para>上级组织 ID</para>
/// <para>上级</para>
/// <para>必填:否</para>
/// <para>示例值:4719168654814483759</para>
/// </summary>
Expand Down Expand Up @@ -167,15 +167,15 @@ public record I18n
public I18n[]? Descriptions { get; set; }

/// <summary>
/// <para>树形排序,代表同层级的部门排序序号</para>
/// <para>树形排序</para>
/// <para>必填:否</para>
/// <para>示例值:001000</para>
/// </summary>
[JsonPropertyName("tree_order")]
public string? TreeOrder { get; set; }

/// <summary>
/// <para>列表排序,代表所有部门的混排序号</para>
/// <para>列表排序</para>
/// <para>必填:否</para>
/// <para>示例值:001000-001000</para>
/// </summary>
Expand Down
6 changes: 3 additions & 3 deletions src/FeishuPeople/GetCorehrV1CompaniesResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public record Company
public record CompanyHiberarchyCommon
{
/// <summary>
/// <para>上级组织 ID</para>
/// <para>上级 ID</para>
/// <para>必填:否</para>
/// <para>示例值:4719168654814483759</para>
/// </summary>
Expand Down Expand Up @@ -167,15 +167,15 @@ public record I18n
public I18n[]? Descriptions { get; set; }

/// <summary>
/// <para>树形排序,代表同层级的部门排序序号</para>
/// <para>树形排序</para>
/// <para>必填:否</para>
/// <para>示例值:001000</para>
/// </summary>
[JsonPropertyName("tree_order")]
public string? TreeOrder { get; set; }

/// <summary>
/// <para>列表排序,代表所有部门的混排序号</para>
/// <para>列表排序</para>
/// <para>必填:否</para>
/// <para>示例值:001000-001000</para>
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ public record I18n

/// <summary>
/// <para>是否保密</para>
/// <para>必填:</para>
/// <para>必填:</para>
/// <para>示例值:true</para>
/// </summary>
[JsonPropertyName("is_confidential")]
public bool IsConfidential { get; set; }
public bool? IsConfidential { get; set; }

/// <summary>
/// <para>层级关系,内层字段见实体</para>
Expand Down Expand Up @@ -145,10 +145,10 @@ public record I18n

/// <summary>
/// <para>组织类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)组织类型(organization_type)枚举定义部分获得</para>
/// <para>必填:</para>
/// <para>必填:</para>
/// </summary>
[JsonPropertyName("type")]
public Enum Type { get; set; } = new();
public Enum? Type { get; set; }

/// <summary>
/// <para>组织类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)组织类型(organization_type)枚举定义部分获得</para>
Expand Down Expand Up @@ -204,15 +204,15 @@ public record I18n
/// <summary>
/// <para>生效时间</para>
/// <para>必填:否</para>
/// <para>示例值:2020-05-0100:00:00</para>
/// <para>示例值:2020-05-01 00:00:00</para>
/// </summary>
[JsonPropertyName("effective_time")]
public string? EffectiveTime { get; set; }

/// <summary>
/// <para>失效时间</para>
/// <para>必填:否</para>
/// <para>示例值:2020-05-0200:00:00</para>
/// <para>示例值:2020-05-02 00:00:00</para>
/// </summary>
[JsonPropertyName("expiration_time")]
public string? ExpirationTime { get; set; }
Expand Down Expand Up @@ -285,15 +285,15 @@ public record ObjectFieldData
/// <summary>
/// <para>生效时间</para>
/// <para>必填:是</para>
/// <para>示例值:2020-05-0100:00:00</para>
/// <para>示例值:2020-05-01 00:00:00</para>
/// </summary>
[JsonPropertyName("effective_time")]
public string EffectiveTime { get; set; } = string.Empty;

/// <summary>
/// <para>失效时间</para>
/// <para>必填:否</para>
/// <para>示例值:2020-05-0200:00:00</para>
/// <para>示例值:2020-05-02 00:00:00</para>
/// </summary>
[JsonPropertyName("expiration_time")]
public string? ExpirationTime { get; set; }
Expand Down Expand Up @@ -334,5 +334,12 @@ public record ObjectFieldData
/// </summary>
[JsonPropertyName("cost_center_id")]
public string? CostCenterId { get; set; }

/// <summary>
/// <para>是否使用职务</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("staffing_model")]
public Enum? StaffingModel { get; set; }
}
}
23 changes: 15 additions & 8 deletions src/FeishuPeople/GetCorehrV1DepartmentsResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ public record I18n

/// <summary>
/// <para>是否保密</para>
/// <para>必填:</para>
/// <para>必填:</para>
/// <para>示例值:true</para>
/// </summary>
[JsonPropertyName("is_confidential")]
public bool IsConfidential { get; set; }
public bool? IsConfidential { get; set; }

/// <summary>
/// <para>层级关系,内层字段见实体</para>
Expand Down Expand Up @@ -146,10 +146,10 @@ public record I18n

/// <summary>
/// <para>组织类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)组织类型(organization_type)枚举定义部分获得</para>
/// <para>必填:</para>
/// <para>必填:</para>
/// </summary>
[JsonPropertyName("type")]
public Enum Type { get; set; } = new();
public Enum? Type { get; set; }

/// <summary>
/// <para>组织类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)组织类型(organization_type)枚举定义部分获得</para>
Expand Down Expand Up @@ -205,15 +205,15 @@ public record I18n
/// <summary>
/// <para>生效时间</para>
/// <para>必填:否</para>
/// <para>示例值:2020-05-0100:00:00</para>
/// <para>示例值:2020-05-01 00:00:00</para>
/// </summary>
[JsonPropertyName("effective_time")]
public string? EffectiveTime { get; set; }

/// <summary>
/// <para>失效时间</para>
/// <para>必填:否</para>
/// <para>示例值:2020-05-0200:00:00</para>
/// <para>示例值:2020-05-02 00:00:00</para>
/// </summary>
[JsonPropertyName("expiration_time")]
public string? ExpirationTime { get; set; }
Expand Down Expand Up @@ -286,15 +286,15 @@ public record ObjectFieldData
/// <summary>
/// <para>生效时间</para>
/// <para>必填:是</para>
/// <para>示例值:2020-05-0100:00:00</para>
/// <para>示例值:2020-05-01 00:00:00</para>
/// </summary>
[JsonPropertyName("effective_time")]
public string EffectiveTime { get; set; } = string.Empty;

/// <summary>
/// <para>失效时间</para>
/// <para>必填:否</para>
/// <para>示例值:2020-05-0200:00:00</para>
/// <para>示例值:2020-05-02 00:00:00</para>
/// </summary>
[JsonPropertyName("expiration_time")]
public string? ExpirationTime { get; set; }
Expand Down Expand Up @@ -335,6 +335,13 @@ public record ObjectFieldData
/// </summary>
[JsonPropertyName("cost_center_id")]
public string? CostCenterId { get; set; }

/// <summary>
/// <para>是否使用职务</para>
/// <para>必填:否</para>
/// </summary>
[JsonPropertyName("staffing_model")]
public Enum? StaffingModel { get; set; }
}

/// <summary>
Expand Down
Loading

0 comments on commit bf0ff49

Please sign in to comment.