Skip to content

Commit

Permalink
新增
Browse files Browse the repository at this point in the history
- ## 注意事项/前提条件/使用限制/提示等说明内容
- 元素卡片2.0结构
- 系统分隔线消息

变更
- 删除账号自定义字段 请求体
  • Loading branch information
Vicente.Yu committed Aug 15, 2024
1 parent ac5ba54 commit af5f4e0
Show file tree
Hide file tree
Showing 203 changed files with 2,137 additions and 236 deletions.
246 changes: 123 additions & 123 deletions TenantAccessList.md

Large diffs are not rendered by default.

76 changes: 38 additions & 38 deletions UserAccessList.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ namespace FeishuNetSdk.Ai;
/// <summary>
/// 识别图片中的文字 请求体
/// <para>可识别图片中的文字,按图片中的区域划分,分段返回文本列表。</para>
/// <para>## 注意事项</para>
/// <para>- 单租户限流为 20QPS,即同租户下的应用共享本租户的 20 QPS 限流。</para>
/// <para>- 该接口不支持通过飞书个人版调试。</para>
/// <para>接口ID:6949829039872000001</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/ai/optical_char_recognition-v1/basic_recognize</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fai%2foptical_char_recognition-v1%2fimage%2fbasic_recognize</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ namespace FeishuNetSdk.Ai;
/// <summary>
/// 识别图片中的文字 响应体
/// <para>可识别图片中的文字,按图片中的区域划分,分段返回文本列表。</para>
/// <para>## 注意事项</para>
/// <para>- 单租户限流为 20QPS,即同租户下的应用共享本租户的 20 QPS 限流。</para>
/// <para>- 该接口不支持通过飞书个人版调试。</para>
/// <para>接口ID:6949829039872000001</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/ai/optical_char_recognition-v1/basic_recognize</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fai%2foptical_char_recognition-v1%2fimage%2fbasic_recognize</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ namespace FeishuNetSdk.Application;
/// <summary>
/// 更新应用可用范围 请求体
/// <para>调用该接口更新指定应用的可用范围,支持更新当前企业内自建应用的可用范围,或者已安装的商店应用的可用范围,包括可用人员与禁用人员。更新可用范围后对线上立即生效。</para>
/// <para>## 注意事项</para>
/// <para>- 该接口仅支持被企业自建应用调用,但传入的路径参数 app_id 可以是企业自建应用的 app_id,也可以是商店应用的 app_id。</para>
/// <para>- 当通过接口新增用户或部门时,提前判断对应用户或部门是否已在禁用名单中,如果已在禁用名单中,则即便将用户或部门添加到可用名单,该用户或部门也无法看到该应用,即禁用名单优先级高于可用名单。</para>
/// <para>- 同一个成员(user_id) 在30s内不能重复添加到禁用名单,否则会导致调用失败。</para>
/// <para>接口ID:7278520881743740931</para>
/// <para>文档地址:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application-visibility/patch</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2fapplication-v6%2fapplication-visibility%2fpatch</para>
Expand Down
14 changes: 8 additions & 6 deletions src/Approval/GetApprovalV4ExternalTasksBodyDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
namespace FeishuNetSdk.Approval;
/// <summary>
/// 获取三方审批任务状态 请求体
/// <para>该接口用于获取三方审批的状态。用户传入查询条件,接口返回满足条件的审批实例的状态。该接口支持多种参数的组合,包括如下组合:</para>
/// <para>1.通过 instance_ids 获取指定实例的任务状态</para>
/// <para>2.通过 user_ids 获取指定用户的任务状态</para>
/// <para>3.通过 status 获取指定状态的所有任务</para>
/// <para>4.通过page_token获取下一批数据</para>
/// <para>该接口用于获取三方审批的状态。用户传入查询条件,接口返回满足条件的审批实例的状态。</para>
/// <para>## 提示</para>
/// <para>该接口支持多种参数的组合,具体请参考请求体示例:</para>
/// <para>- 通过 instance_ids 获取指定实例的任务状态</para>
/// <para>- 通过 user_ids 获取指定用户的任务状态</para>
/// <para>- 通过 status 获取指定状态的所有任务</para>
/// <para>- 通过page_token获取下一批数据</para>
/// <para>接口ID:7117964632137170947</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/approval-v4/external_task/list</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fapproval-v4%2fexternal_task%2flist</para>
Expand Down Expand Up @@ -59,7 +61,7 @@ public record GetApprovalV4ExternalTasksBodyDto
/// <item>APPROVED:审批流程结束,结果为同意</item>
/// <item>REJECTED:审批流程结束,结果为拒绝</item>
/// <item>TRANSFERRED:任务转交</item>
/// <item>DONE:任务通过但审批人未操作;审批人看不到这个任务,若想要看到,可以通过抄送该人.</item>
/// <item>DONE:任务通过但审批人未操作;审批人看不到这个任务, 若想要看到, 可以通过抄送该人.</item>
/// </list></para>
/// </summary>
[JsonPropertyName("status")]
Expand Down
14 changes: 8 additions & 6 deletions src/Approval/GetApprovalV4ExternalTasksResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
namespace FeishuNetSdk.Approval;
/// <summary>
/// 获取三方审批任务状态 响应体
/// <para>该接口用于获取三方审批的状态。用户传入查询条件,接口返回满足条件的审批实例的状态。该接口支持多种参数的组合,包括如下组合:</para>
/// <para>1.通过 instance_ids 获取指定实例的任务状态</para>
/// <para>2.通过 user_ids 获取指定用户的任务状态</para>
/// <para>3.通过 status 获取指定状态的所有任务</para>
/// <para>4.通过page_token获取下一批数据</para>
/// <para>该接口用于获取三方审批的状态。用户传入查询条件,接口返回满足条件的审批实例的状态。</para>
/// <para>## 提示</para>
/// <para>该接口支持多种参数的组合,具体请参考请求体示例:</para>
/// <para>- 通过 instance_ids 获取指定实例的任务状态</para>
/// <para>- 通过 user_ids 获取指定用户的任务状态</para>
/// <para>- 通过 status 获取指定状态的所有任务</para>
/// <para>- 通过page_token获取下一批数据</para>
/// <para>接口ID:7117964632137170947</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/approval-v4/external_task/list</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fapproval-v4%2fexternal_task%2flist</para>
Expand Down Expand Up @@ -114,7 +116,7 @@ public record ExternalTaskItem
/// <item>APPROVED:审批流程结束,结果为同意</item>
/// <item>REJECTED:审批流程结束,结果为拒绝</item>
/// <item>TRANSFERRED:任务转交</item>
/// <item>DONE:任务通过但审批人未操作;审批人看不到这个任务,若想要看到,可以通过抄送该人.</item>
/// <item>DONE:任务通过但审批人未操作;审批人看不到这个任务, 若想要看到, 可以通过抄送该人.</item>
/// </list></para>
/// </summary>
[JsonPropertyName("status")]
Expand Down
2 changes: 1 addition & 1 deletion src/Approval/PostApprovalV4ExternalApprovalsBodyDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public record ApprovalCreateExternal
public bool? EnableMarkReaded { get; set; }

/// <summary>
/// <para>是否支持快速操作</para>
/// <para>是否支持快速操作(该字段无效)</para>
/// <para>必填:否</para>
/// <para>示例值:true</para>
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Approval/PostApprovalV4ExternalInstancesBodyDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ public record I18nResource
public record I18nResourceText
{
/// <summary>
/// <para>文案key</para>
/// <para>文案 key</para>
/// <para>必填:是</para>
/// <para>示例值:@i18n@1</para>
/// </summary>
Expand Down
2 changes: 2 additions & 0 deletions src/Base/GetBitableV1AppsByAppTokenResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 获取多维表格元数据 响应体
/// <para>获取指定多维表格的元数据信息,包括多维表格名称,多维表格版本号,多维表格是否开启高级权限等。</para>
/// <para>note</para>
/// <para>首次调用请参考 [云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)[多维表格接口接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification)</para>
/// <para>接口ID:6960166873968574467</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/docs/bitable-v1/app/get</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp%2fget</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 列出记录 响应体
/// <para>该接口用于列出数据表中的现有记录,单次最多列出 500 行记录,支持分页获取。</para>
/// <para>note</para>
/// <para>该接口为历史接口,已不推荐使用。你可使用[查询记录](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-record/search)替代。</para>
/// <para>接口ID:6952707657162571778</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/docs/bitable-v1/app-table-record/list</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp-table-record%2flist</para>
Expand Down Expand Up @@ -96,7 +98,7 @@ public record Person
/// <summary>
/// <para>用户的英文名称</para>
/// <para>必填:否</para>
/// <para>示例值:XiaodouHuang</para>
/// <para>示例值:Xiaodou Huang</para>
/// </summary>
[JsonPropertyName("en_name")]
public string? EnName { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 更新数据表 请求体
/// <para>该接口用于更新数据表的基本信息,包括数据表的名称等。</para>
/// <para>note</para>
/// <para>首次调用请参考 [云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)[多维表格接口接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification)</para>
/// <para>接口ID:7182466310810402817</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/docs/bitable-v1/app-table/patch</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp-table%2fpatch</para>
Expand All @@ -29,6 +31,7 @@ public record PatchBitableV1AppsByAppTokenTablesByTableIdBodyDto
/// <para>必填:否</para>
/// <para>示例值:数据表的新名称</para>
/// <para>最大长度:100</para>
/// <para>最小长度:1</para>
/// </summary>
[JsonPropertyName("name")]
public string? Name { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 更新数据表 响应体
/// <para>该接口用于更新数据表的基本信息,包括数据表的名称等。</para>
/// <para>note</para>
/// <para>首次调用请参考 [云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)[多维表格接口接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification)</para>
/// <para>接口ID:7182466310810402817</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/docs/bitable-v1/app-table/patch</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp-table%2fpatch</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 删除多个数据表 请求体
/// <para>删除多个数据表。</para>
/// <para>note</para>
/// <para>首次调用请参考 [云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)[多维表格接口接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification)</para>
/// <para>接口ID:6960166873968459779</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/docs/bitable-v1/app-table/batch_delete</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp-table%2fbatch_delete</para>
Expand Down
2 changes: 2 additions & 0 deletions src/Base/PostBitableV1AppsByAppTokenTablesBodyDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 新增一个数据表 请求体
/// <para>通过该接口,可以新增一个仅包含索引列的空数据表,也可以指定一部分初始字段。</para>
/// <para>note</para>
/// <para>首次调用请参考 [云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)[多维表格接口接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification)</para>
/// <para>接口ID:6960166873968541699</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/docs/bitable-v1/app-table/create</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp-table%2fcreate</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 新增字段 请求体
/// <para>该接口用于在数据表中新增一个字段</para>
/// <para>note</para>
/// <para>首次调用请参考 [云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)[多维表格接口接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification)</para>
/// <para>接口ID:6960166873968427011</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/docs/bitable-v1/app-table-field/create</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp-table-field%2fcreate</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 新增字段 响应体
/// <para>该接口用于在数据表中新增一个字段</para>
/// <para>note</para>
/// <para>首次调用请参考 [云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)[多维表格接口接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification)</para>
/// <para>接口ID:6960166873968427011</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/docs/bitable-v1/app-table-field/create</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp-table-field%2fcreate</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 新增多条记录 请求体
/// <para>该接口用于在数据表中新增多条记录,单次调用最多新增 500 条记录。</para>
/// <para>note</para>
/// <para>首次调用请参考 [云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)[多维表格接口接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification)</para>
/// <para>接口ID:6952707657162604546</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/docs/bitable-v1/app-table-record/batch_create</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp-table-record%2fbatch_create</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 新增多条记录 响应体
/// <para>该接口用于在数据表中新增多条记录,单次调用最多新增 500 条记录。</para>
/// <para>note</para>
/// <para>首次调用请参考 [云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)[多维表格接口接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification)</para>
/// <para>接口ID:6952707657162604546</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/docs/bitable-v1/app-table-record/batch_create</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp-table-record%2fbatch_create</para>
Expand Down Expand Up @@ -72,7 +74,7 @@ public record Person
/// <summary>
/// <para>用户的英文名称</para>
/// <para>必填:否</para>
/// <para>示例值:PaopaoHuang</para>
/// <para>示例值:Paopao Huang</para>
/// </summary>
[JsonPropertyName("en_name")]
public string? EnName { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 批量获取记录 请求体
/// <para>通过多个记录 ID 查询记录信息。</para>
/// <para>## 使用限制</para>
/// <para>该接口最多支持查询 100 条记录。</para>
/// <para>接口ID:7386702252390268956</para>
/// <para>文档地址:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-record/batch_get</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp-table-record%2fbatch_get</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 批量获取记录 响应体
/// <para>通过多个记录 ID 查询记录信息。</para>
/// <para>## 使用限制</para>
/// <para>该接口最多支持查询 100 条记录。</para>
/// <para>接口ID:7386702252390268956</para>
/// <para>文档地址:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-record/batch_get</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp-table-record%2fbatch_get</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,18 @@ namespace FeishuNetSdk.Base;
/// <summary>
/// 新增记录 请求体
/// <para>该接口用于在数据表中新增一条记录</para>
/// <para>note</para>
/// <para>首次调用请参考 [云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)[多维表格接口接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification)</para>
/// <para>接口ID:6952707657162522626</para>
/// <para>文档地址:https://open.feishu.cn/document/server-docs/docs/bitable-v1/app-table-record/create</para>
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2freference%2fbitable-v1%2fapp-table-record%2fcreate</para>
/// </summary>
public record PostBitableV1AppsByAppTokenTablesByTableIdRecordsBodyDto
{
/// <summary>
/// <para>数据表的字段,即数据表的列</para>
/// <para>当前接口支持的字段类型请参考[接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#31f78a3c)</para>
/// <para>不同类型字段的数据结构请参考[数据结构概述](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/development-guide/bitable-structure)</para>
/// <para>数据表的字段,即数据表的列</para>
/// <para>- 当前接口支持的字段类型为:多行文本、单选、条码、多选、日期、人员、附件、复选框、超链接、数字、单向关联、双向关联、电话号码、地理位置。详情参考[接入指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/notification#31f78a3c)</para>
/// <para>- 不同类型字段的数据结构请参考[数据结构概述](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/bitable/development-guide/bitable-structure)</para>
/// <para>必填:是</para>
/// <para>示例值:{ "多行文本":"HelloWorld" }</para>
/// </summary>
Expand Down
Loading

0 comments on commit af5f4e0

Please sign in to comment.