Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

None

<a name="5.1.1"></a>

## [5.1.1] - 2025-02-18

### Changed

- Make statusCallbackURL property mandatory for CreateConference

<a name="5.1.0"></a>

## [5.1.0] - 2025-02-05
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
2 changes: 2 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7172,6 +7172,8 @@ components:
type: string
x-is-uri: true
x-is-url: true
required:
- statusCallbackUrl
type: object
x-is-object: true
UpdateConferenceRequest:
Expand Down
2 changes: 1 addition & 1 deletion docs/CreateConferenceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**PlayBeep** | **PlayBeep** | | [optional]
**Record** | **bool** | Setting to &#x60;true&#x60; 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 &amp;mdash; 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)

10 changes: 5 additions & 5 deletions freeclimb.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 7 additions & 1 deletion src/freeclimb.Test/Api/DefaultApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 3 additions & 3 deletions src/freeclimb/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "5.1.0";
public const string Version = "5.1.1";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -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<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -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;
}
Expand Down
21 changes: 17 additions & 4 deletions src/freeclimb/Model/CreateConferenceRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,20 @@ public partial class CreateConferenceRequest : IValidatableObject
[DataMember(Name = "playBeep", EmitDefaultValue = true)]
public PlayBeep? PlayBeep { get; set; }

/// <summary>
/// Initializes a new instance of the <see cref="CreateConferenceRequest" /> class.
/// </summary>
[JsonConstructorAttribute]
protected CreateConferenceRequest() { }

/// <summary>
/// Initializes a new instance of the <see cref="CreateConferenceRequest" /> class.
/// </summary>
/// <param name="alias">A description for this Conference. Maximum 64 characters..</param>
/// <param name="playBeep">playBeep.</param>
/// <param name="record">Setting to &#x60;true&#x60; records the entire Conference..</param>
/// <param name="waitUrl">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 &amp;mdash; when the Conference is created..</param>
/// <param name="statusCallbackUrl">This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below)..</param>
/// <param name="statusCallbackUrl">This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below). (required).</param>
public CreateConferenceRequest(
string alias = default(string),
PlayBeep? playBeep = default(PlayBeep?),
Expand All @@ -55,15 +61,22 @@ 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;

this.Record = record;

this.WaitUrl = waitUrl;

this.StatusCallbackUrl = statusCallbackUrl;
}

/// <summary>
Expand Down Expand Up @@ -91,7 +104,7 @@ public CreateConferenceRequest(
/// This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below).
/// </summary>
/// <value>This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below).</value>
[DataMember(Name = "statusCallbackUrl", EmitDefaultValue = false)]
[DataMember(Name = "statusCallbackUrl", IsRequired = true, EmitDefaultValue = true)]
public string StatusCallbackUrl { get; set; }

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/freeclimb/freeclimb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Description>A library generated from a OpenAPI doc</Description>
<Copyright>No Copyright</Copyright>
<RootNamespace>freeclimb</RootNamespace>
<Version>5.1.0</Version>
<Version>5.1.1</Version>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\freeclimb.xml</DocumentationFile>
<RepositoryUrl>https://github.com/freeclimbapi/csharp-sdk.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
11 changes: 10 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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==
Expand All @@ -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"
Expand Down
Loading