-
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
Jul 24, 2024
1 parent
87983d4
commit 57457f4
Showing
53 changed files
with
3,884 additions
and
942 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
54 changes: 54 additions & 0 deletions
54
src/Application/PostApplicationV6ApplicationsByAppIdAppUsageMessagePushOverviewBodyDto.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,54 @@ | ||
// ************************************************************************ | ||
// Assembly : FeishuNetSdk | ||
// Author : yxr | ||
// Created : 2024-07-24 | ||
// | ||
// Last Modified By : yxr | ||
// Last Modified On : 2024-07-24 | ||
// ************************************************************************ | ||
// <copyright file="PostApplicationV6ApplicationsByAppIdAppUsageMessagePushOverviewBodyDto.cs" company="Vicente Yu"> | ||
// MIT | ||
// </copyright> | ||
// <summary>获取消息推送概览 请求体</summary> | ||
// ************************************************************************ | ||
namespace FeishuNetSdk.Application; | ||
/// <summary> | ||
/// 获取消息推送概览 请求体 | ||
/// <para>目标:查看应用在某一天/某一周/某一个月的机器人消息推送数据,可以根据部门做筛选</para> | ||
/// <para>接口ID:7036626399368953884</para> | ||
/// <para>文档地址:https://open.feishu.cn/document/server-docs/application-v6/app-usage/message_push_overview</para> | ||
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2fapplication-v6%2fapplication-app_usage%2fmessage_push_overview</para> | ||
/// </summary> | ||
public record PostApplicationV6ApplicationsByAppIdAppUsageMessagePushOverviewBodyDto | ||
{ | ||
/// <summary> | ||
/// <para>查询日期,若cycle_type为week,则输入的date必须为周一; 若cycle_type为month,则输入的date必须为每月1号</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:2021-07-08</para> | ||
/// </summary> | ||
[JsonPropertyName("date")] | ||
public string Date { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// <para>枚举值:day,week,month;week指自然周,返回当前日期所在周的数据;不满一周则从周一到当前日期算。month指自然月,返回当前日期所在月的数据。</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:1</para> | ||
/// <para>可选值:<list type="bullet"> | ||
/// <item>1:日活,指自然日,返回当前日期所在日的数据</item> | ||
/// <item>2:周活,指自然周,返回当前日期所在周的数据。若到查询时当周还没结束,则返回周一到当前日期的数值。例如在2021/7/15 查询2021/7/5 这一周的数据,则代表的是2021/7/5 ~ 2021/7/11。但若是在2021/7/8 查询2021/7/5 这一周的数据,则返回的是2021/7/5 ~ 2021/7/7 的数据</item> | ||
/// <item>3:月活,指自然月,返回当前日期所在月的数据。若不满一个月则返回当月1日到截止日期前的数据。例如在2021/8/15 查询 7月的数据,则代表2021/7/1~2021/7/31。 若在2021/8/15 查询8月的数据,则代表2021/8/1~2021/8/14的数据</item> | ||
/// </list></para> | ||
/// </summary> | ||
[JsonPropertyName("cycle_type")] | ||
public int CycleType { get; set; } | ||
|
||
/// <summary> | ||
/// <para>需要查询的部门id,获取方法可参考[部门ID概述](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview)</para> | ||
/// <para>- 若部门id为空,则返回当前租户的使用数据;若填写部门id,则返回当前部门的使用数据(包含子部门的用户);</para> | ||
/// <para>- 若路径参数中department_id_type为空或者为open_department_id,则此处应该填写部门的 open_department_id;若路径参数中department_id_type为department_id,则此处应该填写部门的 department_id。返回当前部门的使用数据; 若不填写,则返回当前租户的使用数据</para> | ||
/// <para>必填:否</para> | ||
/// <para>示例值:od-4e6ac4d14bcd5071a37a39de902c7141</para> | ||
/// </summary> | ||
[JsonPropertyName("department_id")] | ||
public string? DepartmentId { get; set; } | ||
} |
53 changes: 53 additions & 0 deletions
53
...Application/PostApplicationV6ApplicationsByAppIdAppUsageMessagePushOverviewResponseDto.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,53 @@ | ||
// ************************************************************************ | ||
// Assembly : FeishuNetSdk | ||
// Author : yxr | ||
// Created : 2024-07-24 | ||
// | ||
// Last Modified By : yxr | ||
// Last Modified On : 2024-07-24 | ||
// ************************************************************************ | ||
// <copyright file="PostApplicationV6ApplicationsByAppIdAppUsageMessagePushOverviewResponseDto.cs" company="Vicente Yu"> | ||
// MIT | ||
// </copyright> | ||
// <summary>获取消息推送概览 响应体</summary> | ||
// ************************************************************************ | ||
namespace FeishuNetSdk.Application; | ||
/// <summary> | ||
/// 获取消息推送概览 响应体 | ||
/// <para>目标:查看应用在某一天/某一周/某一个月的机器人消息推送数据,可以根据部门做筛选</para> | ||
/// <para>接口ID:7036626399368953884</para> | ||
/// <para>文档地址:https://open.feishu.cn/document/server-docs/application-v6/app-usage/message_push_overview</para> | ||
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2fapplication-v6%2fapplication-app_usage%2fmessage_push_overview</para> | ||
/// </summary> | ||
public record PostApplicationV6ApplicationsByAppIdAppUsageMessagePushOverviewResponseDto | ||
{ | ||
/// <summary> | ||
/// <para>消息推送情况,指标值包括:send_msg_count:消息推送数、send_user_count:消息触达人数、read_in_1h_count:消息1h阅读量、read_in_12h_count:消息12h阅读量</para> | ||
/// <para>必填:否</para> | ||
/// <para>最大长度:10</para> | ||
/// </summary> | ||
[JsonPropertyName("items")] | ||
public ApplicationAppUsage[]? Items { get; set; } | ||
|
||
/// <summary> | ||
/// <para>消息推送情况,指标值包括:send_msg_count:消息推送数、send_user_count:消息触达人数、read_in_1h_count:消息1h阅读量、read_in_12h_count:消息12h阅读量</para> | ||
/// </summary> | ||
public record ApplicationAppUsage | ||
{ | ||
/// <summary> | ||
/// <para>指标名称</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:pv</para> | ||
/// </summary> | ||
[JsonPropertyName("metric_name")] | ||
public string MetricName { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// <para>指标值</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:100</para> | ||
/// </summary> | ||
[JsonPropertyName("metric_value")] | ||
public int MetricValue { 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
Oops, something went wrong.