mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-17 01:46:20 +08:00
feat(work): 新增微盘相关回调通知事件模型
This commit is contained in:
parent
254221c5a1
commit
f4fde0733b
@ -28,10 +28,10 @@
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置操作类型。
|
||||
/// 获取或设置变更类型。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("ChangeType")]
|
||||
public string ActionType { get; set; } = default!;
|
||||
public string ChangeType { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置上下游 ID。
|
||||
|
@ -101,10 +101,10 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Events
|
||||
public string? AuthorizerCorpId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置操作类型。
|
||||
/// 获取或设置变更类型。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("ChangeType")]
|
||||
public string ActionType { get; set; } = default!;
|
||||
public string ChangeType { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置成员、部门或标签名称。
|
||||
|
@ -7,10 +7,10 @@
|
||||
public class AppEmailChangeEvent : WechatWorkEvent, WechatWorkEvent.Serialization.IXmlSerializable
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置操作类型。
|
||||
/// 获取或设置变更类型。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("ChangeType")]
|
||||
public string ActionType { get; set; } = default!;
|
||||
public string ChangeType { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置新邮件数。
|
||||
|
@ -20,10 +20,10 @@
|
||||
public string? AuthorizerCorpId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置操作类型。
|
||||
/// 获取或设置变更类型。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("ChangeType")]
|
||||
public string ActionType { get; set; } = default!;
|
||||
public string ChangeType { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置客户群 ID。
|
||||
|
@ -21,10 +21,10 @@
|
||||
public string? AuthorizerCorpId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置操作类型。
|
||||
/// 获取或设置变更类型。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("ChangeType")]
|
||||
public string ActionType { get; set; } = default!;
|
||||
public string ChangeType { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置用户成员账号。
|
||||
|
@ -20,10 +20,10 @@
|
||||
public string? AuthorizerCorpId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置操作类型。
|
||||
/// 获取或设置变更类型。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("ChangeType")]
|
||||
public string ActionType { get; set; } = default!;
|
||||
public string ChangeType { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 ID 类型。
|
||||
|
@ -8,10 +8,10 @@
|
||||
public class MeetingChangeEvent : WechatWorkEvent, WechatWorkEvent.Serialization.IXmlSerializable
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置操作类型。
|
||||
/// 获取或设置变更类型。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("ChangeType")]
|
||||
public string ActionType { get; set; } = default!;
|
||||
public string ChangeType { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置会议 ID。
|
||||
|
@ -22,10 +22,10 @@
|
||||
public string? AuthorizerCorpId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置操作类型。
|
||||
/// 获取或设置变更类型。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("ChangeType")]
|
||||
public string ActionType { get; set; } = default!;
|
||||
public string ChangeType { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置学生/家长账号或部门 ID(即班级)。
|
||||
|
@ -1,7 +1,7 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 agree_external_userid_migration 事件的数据。</para>
|
||||
/// <para>表示 EVENT.agree_external_userid_migration 事件的数据。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95327 </para>
|
||||
/// </summary>
|
||||
public class AgreeExternalUserIdMigrationEvent : WechatWorkEvent, WechatWorkEvent.Serialization.IXmlSerializable, WechatWorkEvent.Serialization.IJsonSerializable
|
||||
|
@ -0,0 +1,21 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 EVENT.wedrive_file_change 事件的数据。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/97975 </para>
|
||||
/// </summary>
|
||||
public class WedriveFileChangeEvent : WechatWorkEvent, WechatWorkEvent.Serialization.IXmlSerializable
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置变更类型。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("ChangeType")]
|
||||
public string ChangeType { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置文件 ID 列表。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("FileId", Type = typeof(string))]
|
||||
public string[] FileIdList { get; set; } = default!;
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 EVENT.wedrive_insufficient_capacity 事件的数据。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/97972 </para>
|
||||
/// </summary>
|
||||
public class WedriveInsufficientCapacityEvent : WechatWorkEvent, WechatWorkEvent.Serialization.IXmlSerializable
|
||||
{
|
||||
}
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 EVENT.wedrive_space_change 事件的数据。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/97973 </para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/97976 </para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/97977 </para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/97978 </para>
|
||||
/// </summary>
|
||||
public class WedriveSpaceChangeEvent : WechatWorkEvent, WechatWorkEvent.Serialization.IXmlSerializable
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置变更类型。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("ChangeType")]
|
||||
public string ChangeType { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置空间 ID 列表。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("SpaceId", Type = typeof(string))]
|
||||
public string[] SpaceIdList { get; set; } = default!;
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<xml>
|
||||
<ToUserName><![CDATA[toUser]]></ToUserName>
|
||||
<FromUserName><![CDATA[sys]]></FromUserName>
|
||||
<CreateTime>1348831860</CreateTime>
|
||||
<MsgType><![CDATA[event]]></MsgType>
|
||||
<Event><![CDATA[wedrive_file_change]]></Event>
|
||||
<ChangeType><![CDATA[xxx_file]]></ChangeType>
|
||||
<FileId><![CDATA[spxxxxxxxxxxxxx]]></FileId>
|
||||
</xml>
|
@ -0,0 +1,7 @@
|
||||
<xml>
|
||||
<ToUserName><![CDATA[toUser]]></ToUserName>
|
||||
<FromUserName><![CDATA[sys]]></FromUserName>
|
||||
<CreateTime>1348831860</CreateTime>
|
||||
<MsgType><![CDATA[event]]></MsgType>
|
||||
<Event><![CDATA[wedrive_insufficient_capacity]]></Event>
|
||||
</xml>
|
@ -0,0 +1,10 @@
|
||||
<xml>
|
||||
<ToUserName><![CDATA[toUser]]></ToUserName>
|
||||
<FromUserName><![CDATA[fromUser]]></FromUserName>
|
||||
<CreateTime>1348831860</CreateTime>
|
||||
<MsgType><![CDATA[event]]></MsgType>
|
||||
<Event><![CDATA[wedrive_space_change]]></Event>
|
||||
<ChangeType><![CDATA[dismiss_space]]></ChangeType>
|
||||
<SpaceId><![CDATA[wcjgewCwAAqeJcPI1d8Pwbjt7nttzAAA]]></SpaceId>
|
||||
<SpaceId><![CDATA[wcjgewCwAAqeJcPI1d8Pwbjt7nttzBBB]]></SpaceId>
|
||||
</xml>
|
Loading…
Reference in New Issue
Block a user