-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vicente.Yu <^@^>
- Loading branch information
Vicente.Yu
committed
Sep 1, 2024
1 parent
8a968a8
commit ecf1285
Showing
146 changed files
with
15,666 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
// ************************************************************************ | ||
// Assembly : FeishuNetSdk | ||
// Author : yxr | ||
// Created : 2024-09-01 | ||
// | ||
// Last Modified By : yxr | ||
// Last Modified On : 2024-09-01 | ||
// ************************************************************************ | ||
// <copyright file="AcsAccessRecordCreatedV1EventBodyDto.cs" company="Vicente Yu"> | ||
// MIT | ||
// </copyright> | ||
// <summary>新增门禁访问记录 事件体</summary> | ||
// ************************************************************************ | ||
namespace FeishuNetSdk.Acs.Events; | ||
/// <summary> | ||
/// 新增门禁访问记录 事件体 | ||
/// <para>门禁设备识别用户成功后发送该事件给订阅应用。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=acs&version=v1&resource=access_record&event=created)</para> | ||
/// <para>接口ID:6979790924692013058</para> | ||
/// <para>文档地址:https://open.feishu.cn/document/server-docs/acs-v1/access_record/events/created</para> | ||
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2facs-v1%2faccess_record%2fevents%2fcreated</para> | ||
/// </summary> | ||
public record AcsAccessRecordCreatedV1EventBodyDto() : EventBodyDto("acs.access_record.created_v1") | ||
{ | ||
/// <summary> | ||
/// <para>门禁记录 ID</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("access_record_id")] | ||
public string? AccessRecordId { get; set; } | ||
|
||
/// <summary> | ||
/// <para>用户 ID</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("user_id")] | ||
public UserIdSuffix? UserId { get; set; } | ||
|
||
/// <summary> | ||
/// <para>设备 ID</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("device_id")] | ||
public string? DeviceId { get; set; } | ||
|
||
/// <summary> | ||
/// <para>是否打卡</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("is_clock_in")] | ||
public bool? IsClockIn { get; set; } | ||
|
||
/// <summary> | ||
/// <para>是否开门</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("is_door_open")] | ||
public bool? IsDoorOpen { get; set; } | ||
|
||
/// <summary> | ||
/// <para>识别时间 (单位:秒)</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("access_time")] | ||
public string? AccessTime { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// ************************************************************************ | ||
// Assembly : FeishuNetSdk | ||
// Author : yxr | ||
// Created : 2024-09-01 | ||
// | ||
// Last Modified By : yxr | ||
// Last Modified On : 2024-09-01 | ||
// ************************************************************************ | ||
// <copyright file="AcsUserUpdatedV1EventBodyDto.cs" company="Vicente Yu"> | ||
// MIT | ||
// </copyright> | ||
// <summary>用户信息变更 事件体</summary> | ||
// ************************************************************************ | ||
namespace FeishuNetSdk.Acs.Events; | ||
/// <summary> | ||
/// 用户信息变更 事件体 | ||
/// <para>智能门禁用户特征值变化时,发送此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=acs&version=v1&resource=user&event=updated)</para> | ||
/// <para>接口ID:6987691292973907969</para> | ||
/// <para>文档地址:https://open.feishu.cn/document/server-docs/acs-v1/user/events/updated</para> | ||
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2facs-v1%2fuser%2fevents%2fupdated</para> | ||
/// </summary> | ||
public record AcsUserUpdatedV1EventBodyDto() : EventBodyDto("acs.user.updated_v1") | ||
{ | ||
/// <summary> | ||
/// <para>用户 ID</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("user_id")] | ||
public UserIdSuffix? UserId { get; set; } | ||
|
||
/// <summary> | ||
/// <para>卡号</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("card")] | ||
public int? Card { get; set; } | ||
|
||
/// <summary> | ||
/// <para>是否上传人脸图片</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("face_uploaded")] | ||
public bool? FaceUploaded { get; set; } | ||
} |
84 changes: 84 additions & 0 deletions
84
src/Application.Events/ApplicationApplicationAppVersionAuditV6EventBodyDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
// ************************************************************************ | ||
// Assembly : FeishuNetSdk | ||
// Author : yxr | ||
// Created : 2024-09-01 | ||
// | ||
// Last Modified By : yxr | ||
// Last Modified On : 2024-09-01 | ||
// ************************************************************************ | ||
// <copyright file="ApplicationApplicationAppVersionAuditV6EventBodyDto.cs" company="Vicente Yu"> | ||
// MIT | ||
// </copyright> | ||
// <summary>应用审核 事件体</summary> | ||
// ************************************************************************ | ||
namespace FeishuNetSdk.Application.Events; | ||
/// <summary> | ||
/// 应用审核 事件体 | ||
/// <para>通过订阅该事件,可接收应用审核(通过 / 拒绝)事件{使用示例}(url=/api/tools/api_explore/api_explore_config?project=application&version=v6&resource=application.app_version&event=audit)</para> | ||
/// <para>接口ID:7005118068771389443</para> | ||
/// <para>文档地址:https://open.feishu.cn/document/server-docs/application-v6/event/audit</para> | ||
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2fapplication-v6%2fapplication-app_version%2fevents%2faudit</para> | ||
/// </summary> | ||
public record ApplicationApplicationAppVersionAuditV6EventBodyDto() : EventBodyDto("application.application.app_version.audit_v6") | ||
{ | ||
/// <summary> | ||
/// <para>通过 / 拒绝应用审核的管理员 id</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("operator_id")] | ||
public UserIdSuffix? OperatorId { get; set; } | ||
|
||
/// <summary> | ||
/// <para>被审核的应用版本 id</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("version_id")] | ||
public string? VersionId { get; set; } | ||
|
||
/// <summary> | ||
/// <para>应用创建者的 id</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("creator_id")] | ||
public UserIdSuffix? CreatorId { get; set; } | ||
|
||
/// <summary> | ||
/// <para>撤回应用的 id</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("app_id")] | ||
public string? AppId { get; set; } | ||
|
||
/// <summary> | ||
/// <para>审核通过 / 拒绝</para> | ||
/// <para>**可选值有**:</para> | ||
/// <para>audited:审核通过,reject:审核拒绝</para> | ||
/// <para>必填:否</para> | ||
/// <para>可选值:<list type="bullet"> | ||
/// <item>audited:审核通过</item> | ||
/// <item>reject:审核拒绝</item> | ||
/// </list></para> | ||
/// </summary> | ||
[JsonPropertyName("operation")] | ||
public string? Operation { get; set; } | ||
|
||
/// <summary> | ||
/// <para>审核信息,当审核拒绝时,管理员填写的拒绝理由</para> | ||
/// <para>必填:否</para> | ||
/// </summary> | ||
[JsonPropertyName("remark")] | ||
public string? Remark { get; set; } | ||
|
||
/// <summary> | ||
/// <para>应用审核的方式</para> | ||
/// <para>**可选值有**:</para> | ||
/// <para>administrator:管理员审核,auto:自动免审</para> | ||
/// <para>必填:否</para> | ||
/// <para>可选值:<list type="bullet"> | ||
/// <item>administrator:管理员审核</item> | ||
/// <item>auto:自动免审</item> | ||
/// </list></para> | ||
/// </summary> | ||
[JsonPropertyName("audit_source")] | ||
public string? AuditSource { get; set; } | ||
} |
Oops, something went wrong.