From 0c6066b9bf57023d051daadb45aa1eade3f1b0d3 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Wed, 26 Nov 2025 10:11:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(work):=20=E9=9A=8F=E5=AE=98=E6=96=B9?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=8E=B7=E5=8F=96=E4=BC=9A=E8=AE=AE=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E6=8E=A5=E5=8F=A3=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CgibinMeetingGetInfoRequest.cs | 7 ++ .../CgibinMeetingGetInfoResponse.cs | 93 ++++++++++++++++++- .../CgibinMeetingGetInfoResponse.json | 19 +++- 3 files changed, 115 insertions(+), 4 deletions(-) diff --git a/src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinMeeting/CgibinMeetingGetInfoRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinMeeting/CgibinMeetingGetInfoRequest.cs index c0a3093c..cc53f871 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinMeeting/CgibinMeetingGetInfoRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinMeeting/CgibinMeetingGetInfoRequest.cs @@ -18,5 +18,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models [Newtonsoft.Json.JsonProperty("meeting_code")] [System.Text.Json.Serialization.JsonPropertyName("meeting_code")] public string? MeetingCode { get; set; } + + /// + /// 获取或设置子会议 ID。 + /// + [Newtonsoft.Json.JsonProperty("sub_meetingid")] + [System.Text.Json.Serialization.JsonPropertyName("sub_meetingid")] + public string? SubMeetingId { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinMeeting/CgibinMeetingGetInfoResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinMeeting/CgibinMeetingGetInfoResponse.cs index 320b5d43..053f1c5b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinMeeting/CgibinMeetingGetInfoResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinMeeting/CgibinMeetingGetInfoResponse.cs @@ -270,8 +270,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models /// /// 获取或设置是否当有参会成员入会时立即开启云录制。 /// - [Newtonsoft.Json.JsonProperty("participant_join_auto_record")] - [System.Text.Json.Serialization.JsonPropertyName("participant_join_auto_record")] + [Newtonsoft.Json.JsonProperty("attendee_join_auto_record")] + [System.Text.Json.Serialization.JsonPropertyName("attendee_join_auto_record")] public bool IsAttendeeJoinAutoRecord { get; set; } /// @@ -438,6 +438,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models [System.Text.Json.Serialization.JsonPropertyName("sub_meetingid")] public string SubMeetingId { get; set; } = default!; + /// + /// 获取或设置标题。 + /// + [Newtonsoft.Json.JsonProperty("title")] + [System.Text.Json.Serialization.JsonPropertyName("title")] + public string Title { get; set; } = default!; + /// /// 获取或设置状态。 /// @@ -458,6 +465,81 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models [Newtonsoft.Json.JsonProperty("end_time")] [System.Text.Json.Serialization.JsonPropertyName("end_time")] public long EndTimestamp { get; set; } + + /// + /// 获取或设置周期性会议分段 ID。 + /// + [Newtonsoft.Json.JsonProperty("repeat_id")] + [System.Text.Json.Serialization.JsonPropertyName("repeat_id")] + public string? RepeatId { get; set; } + } + + public class SubRepeat + { + /// + /// 获取或设置周期性会议分段 ID。 + /// + [Newtonsoft.Json.JsonProperty("repeat_id")] + [System.Text.Json.Serialization.JsonPropertyName("repeat_id")] + public string RepeatId { get; set; } = default!; + + /// + /// 获取或设置重复类型。 + /// + [Newtonsoft.Json.JsonProperty("repeat_type")] + [System.Text.Json.Serialization.JsonPropertyName("repeat_type")] + public int RepeatType { get; set; } + + /// + /// 获取或设置是否自定义重复设置。 + /// + [Newtonsoft.Json.JsonProperty("is_custom_repeat")] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.NumericalBooleanConverter))] + [System.Text.Json.Serialization.JsonPropertyName("is_custom_repeat")] + [System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalBooleanConverter))] + public bool IsCustomRepeat { get; set; } + + /// + /// 获取或设置周期间隔。 + /// + [Newtonsoft.Json.JsonProperty("repeat_interval")] + [System.Text.Json.Serialization.JsonPropertyName("repeat_interval")] + public int RepeatInterval { get; set; } + + /// + /// 获取或设置每周重复日序号列表。 + /// + [Newtonsoft.Json.JsonProperty("repeat_day_of_week")] + [System.Text.Json.Serialization.JsonPropertyName("repeat_day_of_week")] + public int[]? RepeatDayOfWeekList { get; set; } + + /// + /// 获取或设置每周重复日序号列表。 + /// + [Newtonsoft.Json.JsonProperty("repeat_day_of_month")] + [System.Text.Json.Serialization.JsonPropertyName("repeat_day_of_month")] + public int[]? RepeatDayOfMonthList { get; set; } + + /// + /// 获取或设置周期性会议结束类型。 + /// + [Newtonsoft.Json.JsonProperty("repeat_until_type")] + [System.Text.Json.Serialization.JsonPropertyName("repeat_until_type")] + public int RepeatUntilType { get; set; } + + /// + /// 获取或设置分段的重复截止次数。 + /// + [Newtonsoft.Json.JsonProperty("repeat_until_count")] + [System.Text.Json.Serialization.JsonPropertyName("repeat_until_count")] + public int? RepeatUntilCount { get; set; } + + /// + /// 获取或设置分段的重复截止时间戳。 + /// + [Newtonsoft.Json.JsonProperty("repeat_until")] + [System.Text.Json.Serialization.JsonPropertyName("repeat_until")] + public long? RepeatUntilTimestamp { get; set; } } } @@ -616,5 +698,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models [Newtonsoft.Json.JsonProperty("current_sub_meetingid")] [System.Text.Json.Serialization.JsonPropertyName("current_sub_meetingid")] public string? CurrentSubMeetingId { get; set; } + + /// + /// 获取或设置周期性会议分段信息列表。 + /// + [Newtonsoft.Json.JsonProperty("sub_repeat_list")] + [System.Text.Json.Serialization.JsonPropertyName("sub_repeat_list")] + public Types.SubRepeat[]? SubRepeatList { get; set; } } } diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/_/CgibinMeeting/CgibinMeetingGetInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/_/CgibinMeeting/CgibinMeetingGetInfoResponse.json index 9f3f8f38..c3be0176 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/_/CgibinMeeting/CgibinMeetingGetInfoResponse.json +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/_/CgibinMeeting/CgibinMeetingGetInfoResponse.json @@ -60,7 +60,7 @@ "enable_screen_watermark": false, "watermark_type": 1, "auto_record_type": "none", - "participant_join_auto_record": false, + "attendee_join_auto_record": false, "enable_host_pause_auto_record": false, "enable_doc_upload_permission": true, "enable_enroll": true, @@ -103,7 +103,9 @@ "sub_meetingid": "sub_meetingid", "status": 0, "start_time": 16888888888, - "end_time": 179888888888 + "end_time": 179888888888, + "title": "子会议标题", + "repeat_id": "123-cjig-gmeihue" } ], "guests": [ @@ -112,5 +114,18 @@ "phone_number": "135123454321", "guest_name": "lisi" } + ], + "sub_repeat_list": [ + { + "repeat_id": "jmbioe-1249021-bmjg", + "repeat_type": 0, + "repeat_until_type": 1, + "repeat_until_count": 10, + "repeat_until": 1606976813, + "repeat_interval": 1, + "is_custom_repeat": 1, + "repeat_day_of_week": [ 3, 7 ], + "repeat_day_of_month": [ 10, 21 ] + } ] }