From 1872cc7f3fb3484483a3157702391abdfed73f8b Mon Sep 17 00:00:00 2001 From: Jericho Date: Mon, 15 Aug 2022 15:45:50 -0400 Subject: [PATCH 1/3] Revert changes that were not intended to be committed. --- Source/ZoomNet.IntegrationTests/TestsRunner.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Source/ZoomNet.IntegrationTests/TestsRunner.cs b/Source/ZoomNet.IntegrationTests/TestsRunner.cs index f1fbc005..5d024013 100644 --- a/Source/ZoomNet.IntegrationTests/TestsRunner.cs +++ b/Source/ZoomNet.IntegrationTests/TestsRunner.cs @@ -111,16 +111,16 @@ public async Task RunAsync() // These are the integration tests that we will execute var integrationTests = new Type[] { - //typeof(Accounts), - //typeof(Chat), - //typeof(CloudRecordings), - //typeof(Contacts), - //typeof(Dashboards), - //typeof(Meetings), - //typeof(Roles), + typeof(Accounts), + typeof(Chat), + typeof(CloudRecordings), + typeof(Contacts), + typeof(Dashboards), + typeof(Meetings), + typeof(Roles), typeof(Users), - //typeof(Webinars), - //typeof(Reports) + typeof(Webinars), + typeof(Reports) }; // Get my user and permisisons From 241284bf207a78e18c72117abf6710be0e1d9c2c Mon Sep 17 00:00:00 2001 From: Jericho Date: Mon, 15 Aug 2022 15:47:14 -0400 Subject: [PATCH 2/3] (doc) improve code sample --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d9c969b..b9590fbb 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ var clientId = "... your client ID ..."; var clientSecret = "... your client secret ..."; var refreshToken = "... the refresh token previously issued by Zoom ..."; var authorizationCode = "... the code that Zoom issued when you added the OAuth app to your account ..."; +var redirectUri = "... the URI you have configured when setting up your OAuth app ..."; // Please note that Zoom sometimes accepts a null value and sometimes rejects it with a 'Redirect URI mismatch' error var connectionInfo = new OAuthConnectionInfo(clientId, clientSecret, authorizationCode, (newRefreshToken, newAccessToken) => { @@ -93,7 +94,8 @@ var connectionInfo = new OAuthConnectionInfo(clientId, clientSecret, authorizati */ Environment.SetEnvironmentVariable("ZOOM_OAUTH_REFRESHTOKEN", newRefreshToken, EnvironmentVariableTarget.User); Environment.SetEnvironmentVariable("ZOOM_OAUTH_ACCESSTOKEN", newAccessToken, EnvironmentVariableTarget.User); - }); + }, + redirectUri); var zoomClient = new ZoomClient(connectionInfo); ``` From 8c03502def001accdf02c54d1c0b8709a5f827e0 Mon Sep 17 00:00:00 2001 From: Jericho Date: Tue, 16 Aug 2022 13:36:33 -0400 Subject: [PATCH 3/3] Add "unspecified" to the PhoneType enum Resolves #235 --- Source/ZoomNet/Models/PhoneType.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/ZoomNet/Models/PhoneType.cs b/Source/ZoomNet/Models/PhoneType.cs index c9724cef..744536c4 100644 --- a/Source/ZoomNet/Models/PhoneType.cs +++ b/Source/ZoomNet/Models/PhoneType.cs @@ -7,6 +7,10 @@ namespace ZoomNet.Models /// public enum PhoneType { + /// Unspecified. + [EnumMember(Value = "")] + Unspecified, + /// Mobile. [EnumMember(Value = "Mobile")] Mobile,