diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9de9ec70..56cd44d4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
None
+
+
+## [5.1.1] - 2025-02-18
+
+### Changed
+
+- Make statusCallbackURL property mandatory for CreateConference
+
## [5.1.0] - 2025-02-05
diff --git a/README.md b/README.md
index 888ff174..d79bc591 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 1.0.0
-- SDK version: 5.1.0
+- SDK version: 5.1.1
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/)
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 1002c95f..10555c78 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -7172,6 +7172,8 @@ components:
type: string
x-is-uri: true
x-is-url: true
+ required:
+ - statusCallbackUrl
type: object
x-is-object: true
UpdateConferenceRequest:
diff --git a/docs/CreateConferenceRequest.md b/docs/CreateConferenceRequest.md
index 094f41a4..92ea244d 100644
--- a/docs/CreateConferenceRequest.md
+++ b/docs/CreateConferenceRequest.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
**PlayBeep** | **PlayBeep** | | [optional]
**Record** | **bool** | Setting to `true` records the entire Conference. | [optional]
**WaitUrl** | **string** | If specified, a URL for the audio file that provides custom hold music for the Conference when it is in the populated state. Otherwise, FreeClimb uses a system default audio file. This is always fetched using HTTP GET and is fetched just once — when the Conference is created. | [optional]
-**StatusCallbackUrl** | **string** | This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below). | [optional]
+**StatusCallbackUrl** | **string** | This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below). |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/freeclimb.sln b/freeclimb.sln
index c7fe578e..99ffd2d7 100644
--- a/freeclimb.sln
+++ b/freeclimb.sln
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{C91A178A-2C49-4F49-8DE1-BC53237FCA10}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{75EF5E96-F036-4274-BB32-E22B855616F5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb.Test", "src\freeclimb.Test\freeclimb.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {C91A178A-2C49-4F49-8DE1-BC53237FCA10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C91A178A-2C49-4F49-8DE1-BC53237FCA10}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C91A178A-2C49-4F49-8DE1-BC53237FCA10}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C91A178A-2C49-4F49-8DE1-BC53237FCA10}.Release|Any CPU.Build.0 = Release|Any CPU
+ {75EF5E96-F036-4274-BB32-E22B855616F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {75EF5E96-F036-4274-BB32-E22B855616F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {75EF5E96-F036-4274-BB32-E22B855616F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {75EF5E96-F036-4274-BB32-E22B855616F5}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/package.json b/package.json
index df830c52..a8336b05 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"dependencies": {
"@stoplight/prism-cli": "5.6.0",
"fast-xml-parser": "^4.5.0",
- "jsonpath-plus": "^10.0.0"
+ "jsonpath-plus": "^10.3.0"
},
"resolutions": {
"@stoplight/json": "3.20.0"
diff --git a/src/freeclimb.Test/Api/DefaultApiTests.cs b/src/freeclimb.Test/Api/DefaultApiTests.cs
index e7d29b42..000308df 100644
--- a/src/freeclimb.Test/Api/DefaultApiTests.cs
+++ b/src/freeclimb.Test/Api/DefaultApiTests.cs
@@ -1457,7 +1457,13 @@ private MakeCallRequest makeCallRequestTestValue()
private CreateConferenceRequest createConferenceRequestTestValue()
{
PlayBeep enumPlayBeepStatus = PlayBeepValueConverter.FromString("always");
- return new CreateConferenceRequest("TEST-CONF", enumPlayBeepStatus, true);
+ return new CreateConferenceRequest(
+ "TEST-CONF",
+ enumPlayBeepStatus,
+ true,
+ "https://test.ca",
+ "https://test.ca"
+ );
}
private ConferenceResult conferenceResultTestValue()
diff --git a/src/freeclimb/Client/Configuration.cs b/src/freeclimb/Client/Configuration.cs
index b3ea001c..3a6f8389 100644
--- a/src/freeclimb/Client/Configuration.cs
+++ b/src/freeclimb/Client/Configuration.cs
@@ -34,7 +34,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
///
/// Version of the package.
- public const string Version = "5.1.0";
+ public const string Version = "5.1.1";
///
/// Identifier for ISO 8601 DateTime Format
@@ -130,7 +130,7 @@ private IReadOnlyDictionary<
public Configuration()
{
Proxy = null;
- UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/5.1.0/csharp");
+ UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/5.1.1/csharp");
BasePath = "https://www.freeclimb.com/apiserver";
DefaultHeaders = new ConcurrentDictionary();
ApiKey = new ConcurrentDictionary();
@@ -582,7 +582,7 @@ public static string ToDebugReport()
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: 1.0.0\n";
- report += " SDK Package Version: 5.1.0\n";
+ report += " SDK Package Version: 5.1.1\n";
return report;
}
diff --git a/src/freeclimb/Model/CreateConferenceRequest.cs b/src/freeclimb/Model/CreateConferenceRequest.cs
index 53b6addd..6175e8dd 100644
--- a/src/freeclimb/Model/CreateConferenceRequest.cs
+++ b/src/freeclimb/Model/CreateConferenceRequest.cs
@@ -39,6 +39,12 @@ public partial class CreateConferenceRequest : IValidatableObject
[DataMember(Name = "playBeep", EmitDefaultValue = true)]
public PlayBeep? PlayBeep { get; set; }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ [JsonConstructorAttribute]
+ protected CreateConferenceRequest() { }
+
///
/// Initializes a new instance of the class.
///
@@ -46,7 +52,7 @@ public partial class CreateConferenceRequest : IValidatableObject
/// playBeep.
/// Setting to `true` records the entire Conference..
/// If specified, a URL for the audio file that provides custom hold music for the Conference when it is in the populated state. Otherwise, FreeClimb uses a system default audio file. This is always fetched using HTTP GET and is fetched just once — when the Conference is created..
- /// This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below)..
+ /// This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below). (required).
public CreateConferenceRequest(
string alias = default(string),
PlayBeep? playBeep = default(PlayBeep?),
@@ -55,6 +61,15 @@ public CreateConferenceRequest(
string statusCallbackUrl = default(string)
)
{
+ // to ensure "statusCallbackUrl" is required (not null)
+ if (statusCallbackUrl == null)
+ {
+ throw new ArgumentNullException(
+ "statusCallbackUrl is a required property for CreateConferenceRequest and cannot be null"
+ );
+ }
+ this.StatusCallbackUrl = statusCallbackUrl;
+
this.Alias = alias;
this.PlayBeep = playBeep;
@@ -62,8 +77,6 @@ public CreateConferenceRequest(
this.Record = record;
this.WaitUrl = waitUrl;
-
- this.StatusCallbackUrl = statusCallbackUrl;
}
///
@@ -91,7 +104,7 @@ public CreateConferenceRequest(
/// This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below).
///
/// This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below).
- [DataMember(Name = "statusCallbackUrl", EmitDefaultValue = false)]
+ [DataMember(Name = "statusCallbackUrl", IsRequired = true, EmitDefaultValue = true)]
public string StatusCallbackUrl { get; set; }
///
diff --git a/src/freeclimb/freeclimb.csproj b/src/freeclimb/freeclimb.csproj
index 73cd940b..e4edad1b 100644
--- a/src/freeclimb/freeclimb.csproj
+++ b/src/freeclimb/freeclimb.csproj
@@ -12,7 +12,7 @@
A library generated from a OpenAPI doc
No Copyright
freeclimb
- 5.1.0
+ 5.1.1
bin\$(Configuration)\$(TargetFramework)\freeclimb.xml
https://github.com/freeclimbapi/csharp-sdk.git
git
diff --git a/yarn.lock b/yarn.lock
index 72e96e6c..6aeaf0f1 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -783,7 +783,7 @@ jsonc-parser@~2.2.1:
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-2.2.1.tgz#db73cd59d78cce28723199466b2a03d1be1df2bc"
integrity sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w==
-jsonpath-plus@^10.0.0, jsonpath-plus@^10.1.0:
+jsonpath-plus@^10.1.0:
version "10.2.0"
resolved "https://registry.yarnpkg.com/jsonpath-plus/-/jsonpath-plus-10.2.0.tgz#84d680544d9868579cc7c8f59bbe153a5aad54c4"
integrity sha512-T9V+8iNYKFL2n2rF+w02LBOT2JjDnTjioaNFrxRy0Bv1y/hNsqR/EBK7Ojy2ythRHwmz2cRIls+9JitQGZC/sw==
@@ -792,6 +792,15 @@ jsonpath-plus@^10.0.0, jsonpath-plus@^10.1.0:
"@jsep-plugin/regex" "^1.0.4"
jsep "^1.4.0"
+jsonpath-plus@^10.3.0:
+ version "10.3.0"
+ resolved "https://registry.yarnpkg.com/jsonpath-plus/-/jsonpath-plus-10.3.0.tgz#59e22e4fa2298c68dfcd70659bb47f0cad525238"
+ integrity sha512-8TNmfeTCk2Le33A3vRRwtuworG/L5RrgMvdjhKZxvyShO+mBu2fP50OWUjRLNtvw344DdDarFh9buFAZs5ujeA==
+ dependencies:
+ "@jsep-plugin/assignment" "^1.3.0"
+ "@jsep-plugin/regex" "^1.0.4"
+ jsep "^1.4.0"
+
jsonpath-plus@^7.2.0:
version "7.2.0"
resolved "https://registry.yarnpkg.com/jsonpath-plus/-/jsonpath-plus-7.2.0.tgz#7ad94e147b3ed42f7939c315d2b9ce490c5a3899"