diff --git a/devolutions-gateway/openapi/doc/index.adoc b/devolutions-gateway/openapi/doc/index.adoc index 95f0604d6..c9415544d 100644 --- a/devolutions-gateway/openapi/doc/index.adoc +++ b/devolutions-gateway/openapi/doc/index.adoc @@ -1,6 +1,6 @@ = devolutions-gateway infos@devolutions.net -2024.3.3 +2024.3.4 :toc: left :numbered: :toclevels: 4 @@ -1297,6 +1297,26 @@ This is done via updating `Agent/update.json` file, which is then read by Devolu | bearer |=== +===== Parameters + + + + + +====== Query Parameters + +[cols="2,3,1,1,1"] +|=== +|Name| Description| Required| Default| Pattern + +| version +| The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version +| X +| null +| + +|=== + ===== Return Type diff --git a/devolutions-gateway/openapi/dotnet-client/README.md b/devolutions-gateway/openapi/dotnet-client/README.md index 2d2f28816..e77ec4c22 100644 --- a/devolutions-gateway/openapi/dotnet-client/README.md +++ b/devolutions-gateway/openapi/dotnet-client/README.md @@ -4,8 +4,8 @@ Protocol-aware fine-grained relay server This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 2024.3.3 -- SDK version: 2024.11.7 +- API version: 2024.3.4 +- SDK version: 2024.11.12 - Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.CSharpClientCodegen diff --git a/devolutions-gateway/openapi/dotnet-client/config.json b/devolutions-gateway/openapi/dotnet-client/config.json index 186c3419c..b09c579a1 100644 --- a/devolutions-gateway/openapi/dotnet-client/config.json +++ b/devolutions-gateway/openapi/dotnet-client/config.json @@ -2,7 +2,7 @@ "packageAuthors": "Devolutions Inc.", "packageName": "Devolutions.Gateway.Client", "packageTitle": "Devolutions Gateway REST API Client", - "packageVersion": "2024.11.7", + "packageVersion": "2024.11.12", "packageDescription": "Client for Devolutions Gateway REST API", "packageGuid": "EF1E8A60-F71D-4F02-A779-B113740FF5CC", "packageCopyright": "© Devolutions Inc. All rights reserved.", diff --git a/devolutions-gateway/openapi/dotnet-client/docs/UpdateApi.md b/devolutions-gateway/openapi/dotnet-client/docs/UpdateApi.md index 04271407b..2cc70c368 100644 --- a/devolutions-gateway/openapi/dotnet-client/docs/UpdateApi.md +++ b/devolutions-gateway/openapi/dotnet-client/docs/UpdateApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://localhost* # **TriggerUpdate** -> Object TriggerUpdate () +> Object TriggerUpdate (string version) Triggers Devolutions Gateway update process. @@ -38,11 +38,12 @@ namespace Example HttpClient httpClient = new HttpClient(); HttpClientHandler httpClientHandler = new HttpClientHandler(); var apiInstance = new UpdateApi(httpClient, config, httpClientHandler); + var version = "version_example"; // string | The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version try { // Triggers Devolutions Gateway update process. - Object result = apiInstance.TriggerUpdate(); + Object result = apiInstance.TriggerUpdate(version); Debug.WriteLine(result); } catch (ApiException e) @@ -63,7 +64,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Triggers Devolutions Gateway update process. - ApiResponse response = apiInstance.TriggerUpdateWithHttpInfo(); + ApiResponse response = apiInstance.TriggerUpdateWithHttpInfo(version); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -77,7 +78,11 @@ catch (ApiException e) ``` ### Parameters -This endpoint does not need any parameter. + +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| **version** | **string** | The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version | | + ### Return type **Object** diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/ConfigApi.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/ConfigApi.cs index 947136d04..aae02ef98 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/ConfigApi.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/ConfigApi.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/DiagnosticsApi.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/DiagnosticsApi.cs index c3132a6aa..31b38f45b 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/DiagnosticsApi.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/DiagnosticsApi.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/HealthApi.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/HealthApi.cs index 371bcb030..4a546cac3 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/HealthApi.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/HealthApi.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/HeartbeatApi.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/HeartbeatApi.cs index 936abcd23..f92f53527 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/HeartbeatApi.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/HeartbeatApi.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/JrecApi.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/JrecApi.cs index c2974d63f..99a114839 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/JrecApi.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/JrecApi.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/JrlApi.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/JrlApi.cs index 8b044ac5a..27062533e 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/JrlApi.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/JrlApi.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/SessionsApi.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/SessionsApi.cs index 35bc0cb73..573499dc5 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/SessionsApi.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/SessionsApi.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/UpdateApi.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/UpdateApi.cs index ac8ce492a..e80c74341 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/UpdateApi.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/UpdateApi.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -34,8 +34,9 @@ public interface IUpdateApiSync : IApiAccessor /// This is done via updating `Agent/update.json` file, which is then read by Devolutions Agent when changes are detected. If the version written to `update.json` is indeed higher than the currently installed version, Devolutions Agent will proceed with the update process. /// /// Thrown when fails to make API call + /// The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version /// Object - Object TriggerUpdate(); + Object TriggerUpdate(string version); /// /// Triggers Devolutions Gateway update process. @@ -44,8 +45,9 @@ public interface IUpdateApiSync : IApiAccessor /// This is done via updating `Agent/update.json` file, which is then read by Devolutions Agent when changes are detected. If the version written to `update.json` is indeed higher than the currently installed version, Devolutions Agent will proceed with the update process. /// /// Thrown when fails to make API call + /// The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version /// ApiResponse of Object - ApiResponse TriggerUpdateWithHttpInfo(); + ApiResponse TriggerUpdateWithHttpInfo(string version); #endregion Synchronous Operations } @@ -62,9 +64,10 @@ public interface IUpdateApiAsync : IApiAccessor /// This is done via updating `Agent/update.json` file, which is then read by Devolutions Agent when changes are detected. If the version written to `update.json` is indeed higher than the currently installed version, Devolutions Agent will proceed with the update process. /// /// Thrown when fails to make API call + /// The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version /// Cancellation Token to cancel the request. /// Task of Object - System.Threading.Tasks.Task TriggerUpdateAsync(System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + System.Threading.Tasks.Task TriggerUpdateAsync(string version, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Triggers Devolutions Gateway update process. @@ -73,9 +76,10 @@ public interface IUpdateApiAsync : IApiAccessor /// This is done via updating `Agent/update.json` file, which is then read by Devolutions Agent when changes are detected. If the version written to `update.json` is indeed higher than the currently installed version, Devolutions Agent will proceed with the update process. /// /// Thrown when fails to make API call + /// The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version /// Cancellation Token to cancel the request. /// Task of ApiResponse (Object) - System.Threading.Tasks.Task> TriggerUpdateWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + System.Threading.Tasks.Task> TriggerUpdateWithHttpInfoAsync(string version, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -293,10 +297,11 @@ public Devolutions.Gateway.Client.Client.ExceptionFactory ExceptionFactory /// Triggers Devolutions Gateway update process. This is done via updating `Agent/update.json` file, which is then read by Devolutions Agent when changes are detected. If the version written to `update.json` is indeed higher than the currently installed version, Devolutions Agent will proceed with the update process. /// /// Thrown when fails to make API call + /// The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version /// Object - public Object TriggerUpdate() + public Object TriggerUpdate(string version) { - Devolutions.Gateway.Client.Client.ApiResponse localVarResponse = TriggerUpdateWithHttpInfo(); + Devolutions.Gateway.Client.Client.ApiResponse localVarResponse = TriggerUpdateWithHttpInfo(version); return localVarResponse.Data; } @@ -304,9 +309,14 @@ public Object TriggerUpdate() /// Triggers Devolutions Gateway update process. This is done via updating `Agent/update.json` file, which is then read by Devolutions Agent when changes are detected. If the version written to `update.json` is indeed higher than the currently installed version, Devolutions Agent will proceed with the update process. /// /// Thrown when fails to make API call + /// The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version /// ApiResponse of Object - public Devolutions.Gateway.Client.Client.ApiResponse TriggerUpdateWithHttpInfo() + public Devolutions.Gateway.Client.Client.ApiResponse TriggerUpdateWithHttpInfo(string version) { + // verify the required parameter 'version' is set + if (version == null) + throw new Devolutions.Gateway.Client.Client.ApiException(400, "Missing required parameter 'version' when calling UpdateApi->TriggerUpdate"); + Devolutions.Gateway.Client.Client.RequestOptions localVarRequestOptions = new Devolutions.Gateway.Client.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -323,6 +333,7 @@ public Devolutions.Gateway.Client.Client.ApiResponse TriggerUpdateWithHt var localVarAccept = Devolutions.Gateway.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + localVarRequestOptions.QueryParameters.Add(Devolutions.Gateway.Client.Client.ClientUtils.ParameterToMultiMap("", "version", version)); // authentication (scope_token) required // bearer authentication required @@ -347,11 +358,12 @@ public Devolutions.Gateway.Client.Client.ApiResponse TriggerUpdateWithHt /// Triggers Devolutions Gateway update process. This is done via updating `Agent/update.json` file, which is then read by Devolutions Agent when changes are detected. If the version written to `update.json` is indeed higher than the currently installed version, Devolutions Agent will proceed with the update process. /// /// Thrown when fails to make API call + /// The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version /// Cancellation Token to cancel the request. /// Task of Object - public async System.Threading.Tasks.Task TriggerUpdateAsync(System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TriggerUpdateAsync(string version, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Devolutions.Gateway.Client.Client.ApiResponse localVarResponse = await TriggerUpdateWithHttpInfoAsync(cancellationToken).ConfigureAwait(false); + Devolutions.Gateway.Client.Client.ApiResponse localVarResponse = await TriggerUpdateWithHttpInfoAsync(version, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -359,10 +371,15 @@ public Devolutions.Gateway.Client.Client.ApiResponse TriggerUpdateWithHt /// Triggers Devolutions Gateway update process. This is done via updating `Agent/update.json` file, which is then read by Devolutions Agent when changes are detected. If the version written to `update.json` is indeed higher than the currently installed version, Devolutions Agent will proceed with the update process. /// /// Thrown when fails to make API call + /// The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version /// Cancellation Token to cancel the request. /// Task of ApiResponse (Object) - public async System.Threading.Tasks.Task> TriggerUpdateWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TriggerUpdateWithHttpInfoAsync(string version, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { + // verify the required parameter 'version' is set + if (version == null) + throw new Devolutions.Gateway.Client.Client.ApiException(400, "Missing required parameter 'version' when calling UpdateApi->TriggerUpdate"); + Devolutions.Gateway.Client.Client.RequestOptions localVarRequestOptions = new Devolutions.Gateway.Client.Client.RequestOptions(); @@ -381,6 +398,7 @@ public Devolutions.Gateway.Client.Client.ApiResponse TriggerUpdateWithHt var localVarAccept = Devolutions.Gateway.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + localVarRequestOptions.QueryParameters.Add(Devolutions.Gateway.Client.Client.ClientUtils.ParameterToMultiMap("", "version", version)); // authentication (scope_token) required // bearer authentication required diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/WebAppApi.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/WebAppApi.cs index 5bb306ccc..cdbc062a4 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/WebAppApi.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/WebAppApi.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ApiClient.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ApiClient.cs index 81243d2e2..a72ad8555 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ApiClient.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ApiClient.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ApiException.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ApiException.cs index 85cde7fc9..608165676 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ApiException.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ApiException.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ApiResponse.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ApiResponse.cs index a46ae479f..c4c74f370 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ApiResponse.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ApiResponse.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ClientUtils.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ClientUtils.cs index 6b13f0659..578ec12bd 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ClientUtils.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ClientUtils.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/Configuration.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/Configuration.cs index 0d6c485ab..697309310 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/Configuration.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/Configuration.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -34,7 +34,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "2024.11.7"; + public const string Version = "2024.11.12"; /// /// Identifier for ISO 8601 DateTime Format @@ -118,7 +118,7 @@ public class Configuration : IReadableConfiguration public Configuration() { Proxy = null; - UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/2024.11.7/csharp"); + UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/2024.11.12/csharp"); BasePath = "http://localhost"; DefaultHeaders = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -540,8 +540,8 @@ public static string ToDebugReport() string report = "C# SDK (Devolutions.Gateway.Client) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; - report += " Version of the API: 2024.3.3\n"; - report += " SDK Package Version: 2024.11.7\n"; + report += " Version of the API: 2024.3.4\n"; + report += " SDK Package Version: 2024.11.12\n"; return report; } diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ExceptionFactory.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ExceptionFactory.cs index 2798f2c15..732c1155e 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ExceptionFactory.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ExceptionFactory.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/FileParameter.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/FileParameter.cs index a78150cac..15414f5ba 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/FileParameter.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/FileParameter.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/GlobalConfiguration.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/GlobalConfiguration.cs index e30faaa5c..c7401d283 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/GlobalConfiguration.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/GlobalConfiguration.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/IApiAccessor.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/IApiAccessor.cs index b4ac9eee5..4981b6092 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/IApiAccessor.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/IApiAccessor.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/IAsynchronousClient.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/IAsynchronousClient.cs index 95a29d1da..a29ee4ef4 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/IAsynchronousClient.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/IAsynchronousClient.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/IReadableConfiguration.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/IReadableConfiguration.cs index e1eb548db..4aac7f373 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/IReadableConfiguration.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/IReadableConfiguration.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ISynchronousClient.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ISynchronousClient.cs index 58f8191c4..1923d45da 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ISynchronousClient.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/ISynchronousClient.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/Multimap.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/Multimap.cs index b282911c6..0709adcb0 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/Multimap.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/Multimap.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/OpenAPIDateConverter.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/OpenAPIDateConverter.cs index 5e4aaf2ac..fc8d124a3 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/OpenAPIDateConverter.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/OpenAPIDateConverter.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/RequestOptions.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/RequestOptions.cs index eba816cc1..943030083 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/RequestOptions.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/RequestOptions.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/RetryConfiguration.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/RetryConfiguration.cs index 9454bc64f..53babb3ca 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/RetryConfiguration.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/RetryConfiguration.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/WebRequestPathBuilder.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/WebRequestPathBuilder.cs index 6c1cf9721..fd35a2695 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/WebRequestPathBuilder.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Client/WebRequestPathBuilder.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Devolutions.Gateway.Client.csproj b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Devolutions.Gateway.Client.csproj index 8e8a3a078..6a47535f8 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Devolutions.Gateway.Client.csproj +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Devolutions.Gateway.Client.csproj @@ -12,7 +12,7 @@ Client for Devolutions Gateway REST API © Devolutions Inc. All rights reserved. Devolutions.Gateway.Client - 2024.11.7 + 2024.11.12 bin\$(Configuration)\$(TargetFramework)\Devolutions.Gateway.Client.xml MIT OR Apache-2.0 https://github.com/Devolutions/devolutions-gateway.git diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AbstractOpenAPISchema.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AbstractOpenAPISchema.cs index 880e70de4..194412c1e 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AbstractOpenAPISchema.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AbstractOpenAPISchema.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AccessScope.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AccessScope.cs index 423c518c0..167e26a14 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AccessScope.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AccessScope.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AppTokenContentType.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AppTokenContentType.cs index 2c57bf489..0d06215af 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AppTokenContentType.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AppTokenContentType.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AppTokenSignRequest.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AppTokenSignRequest.cs index dff3492b4..51e810a2a 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AppTokenSignRequest.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/AppTokenSignRequest.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ClockDiagnostic.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ClockDiagnostic.cs index d232d0861..39f9ea5b8 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ClockDiagnostic.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ClockDiagnostic.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ConfigDiagnostic.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ConfigDiagnostic.cs index 5ba894ae8..f306589e7 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ConfigDiagnostic.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ConfigDiagnostic.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ConfigPatch.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ConfigPatch.cs index 0316a61a2..7433d6388 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ConfigPatch.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ConfigPatch.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ConnectionMode.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ConnectionMode.cs index c91dd1d87..912ea5b08 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ConnectionMode.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ConnectionMode.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/DataEncoding.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/DataEncoding.cs index 759409264..5de1de865 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/DataEncoding.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/DataEncoding.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/DeleteManyResult.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/DeleteManyResult.cs index 9a1c386c8..382444df3 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/DeleteManyResult.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/DeleteManyResult.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/Heartbeat.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/Heartbeat.cs index 019eabfd8..5697b199f 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/Heartbeat.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/Heartbeat.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/Identity.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/Identity.cs index 21c1af54c..0f0307d6f 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/Identity.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/Identity.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/JrlInfo.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/JrlInfo.cs index 3861502b8..b88817460 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/JrlInfo.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/JrlInfo.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ListenerUrls.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ListenerUrls.cs index 1b55461c1..4505f1f36 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ListenerUrls.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/ListenerUrls.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/PubKeyFormat.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/PubKeyFormat.cs index 65298c8c2..5cbc7a5a7 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/PubKeyFormat.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/PubKeyFormat.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SessionInfo.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SessionInfo.cs index 7d95808f2..8949c18c6 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SessionInfo.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SessionInfo.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SessionTokenContentType.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SessionTokenContentType.cs index c5c7ede5f..657487e6c 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SessionTokenContentType.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SessionTokenContentType.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SessionTokenSignRequest.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SessionTokenSignRequest.cs index 08336e3ac..3df52c6f7 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SessionTokenSignRequest.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SessionTokenSignRequest.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SubProvisionerKey.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SubProvisionerKey.cs index e469a13ef..4589e366e 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SubProvisionerKey.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/SubProvisionerKey.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/Subscriber.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/Subscriber.cs index f1fcdc9ee..5545ba835 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/Subscriber.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Model/Subscriber.cs @@ -3,7 +3,7 @@ * * Protocol-aware fine-grained relay server * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Attributes/ValidateModelStateAttribute.cs b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Attributes/ValidateModelStateAttribute.cs index 340442edc..e01d686ab 100644 --- a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Attributes/ValidateModelStateAttribute.cs +++ b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Attributes/ValidateModelStateAttribute.cs @@ -3,7 +3,7 @@ * * API a service must implement in order to receive Devolutions Gateway notifications * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://openapi-generator.tech */ diff --git a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Authentication/ApiAuthentication.cs b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Authentication/ApiAuthentication.cs index ea3902e16..24dea2b96 100644 --- a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Authentication/ApiAuthentication.cs +++ b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Authentication/ApiAuthentication.cs @@ -3,7 +3,7 @@ * * API a service must implement in order to receive Devolutions Gateway notifications * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://openapi-generator.tech */ diff --git a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Controllers/SubscriberApi.cs b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Controllers/SubscriberApi.cs index a9470f67a..9436c3398 100644 --- a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Controllers/SubscriberApi.cs +++ b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Controllers/SubscriberApi.cs @@ -3,7 +3,7 @@ * * API a service must implement in order to receive Devolutions Gateway notifications * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://openapi-generator.tech */ diff --git a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Converters/CustomEnumConverter.cs b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Converters/CustomEnumConverter.cs index e4a9ff369..77048ee77 100644 --- a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Converters/CustomEnumConverter.cs +++ b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Converters/CustomEnumConverter.cs @@ -3,7 +3,7 @@ * * API a service must implement in order to receive Devolutions Gateway notifications * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://openapi-generator.tech */ diff --git a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Formatters/InputFormatterStream.cs b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Formatters/InputFormatterStream.cs index 595bc4772..56abcdbaa 100644 --- a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Formatters/InputFormatterStream.cs +++ b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Formatters/InputFormatterStream.cs @@ -3,7 +3,7 @@ * * API a service must implement in order to receive Devolutions Gateway notifications * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://openapi-generator.tech */ diff --git a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Models/SubscriberMessage.cs b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Models/SubscriberMessage.cs index aef0abb2b..dd95b60d8 100644 --- a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Models/SubscriberMessage.cs +++ b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Models/SubscriberMessage.cs @@ -3,7 +3,7 @@ * * API a service must implement in order to receive Devolutions Gateway notifications * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://openapi-generator.tech */ diff --git a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Models/SubscriberMessageKind.cs b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Models/SubscriberMessageKind.cs index 77fdbe4a6..95fab83e6 100644 --- a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Models/SubscriberMessageKind.cs +++ b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Models/SubscriberMessageKind.cs @@ -3,7 +3,7 @@ * * API a service must implement in order to receive Devolutions Gateway notifications * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://openapi-generator.tech */ diff --git a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Models/SubscriberSessionInfo.cs b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Models/SubscriberSessionInfo.cs index 591f69c0c..6c6460c15 100644 --- a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Models/SubscriberSessionInfo.cs +++ b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/Models/SubscriberSessionInfo.cs @@ -3,7 +3,7 @@ * * API a service must implement in order to receive Devolutions Gateway notifications * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://openapi-generator.tech */ diff --git a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/OpenApi/TypeExtensions.cs b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/OpenApi/TypeExtensions.cs index 85611e4f7..406414913 100644 --- a/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/OpenApi/TypeExtensions.cs +++ b/devolutions-gateway/openapi/dotnet-subscriber/src/Devolutions.Gateway.Subscriber/OpenApi/TypeExtensions.cs @@ -3,7 +3,7 @@ * * API a service must implement in order to receive Devolutions Gateway notifications * - * The version of the OpenAPI document: 2024.3.3 + * The version of the OpenAPI document: 2024.3.4 * Contact: infos@devolutions.net * Generated by: https://openapi-generator.tech */ diff --git a/devolutions-gateway/openapi/gateway-api.yaml b/devolutions-gateway/openapi/gateway-api.yaml index 6bbaa86be..f5b5f28b5 100644 --- a/devolutions-gateway/openapi/gateway-api.yaml +++ b/devolutions-gateway/openapi/gateway-api.yaml @@ -7,7 +7,7 @@ info: email: infos@devolutions.net license: name: MIT/Apache-2.0 - version: 2024.3.3 + version: 2024.3.4 paths: /jet/config: patch: @@ -394,6 +394,13 @@ paths: when changes are detected. If the version written to `update.json` is indeed higher than the currently installed version, Devolutions Agent will proceed with the update process. operationId: TriggerUpdate + parameters: + - name: version + in: query + description: The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version + required: true + schema: + type: string responses: '200': description: Update request has been processed successfully diff --git a/devolutions-gateway/openapi/subscriber-api.yaml b/devolutions-gateway/openapi/subscriber-api.yaml index 3515f7ab7..8c1c95cb5 100644 --- a/devolutions-gateway/openapi/subscriber-api.yaml +++ b/devolutions-gateway/openapi/subscriber-api.yaml @@ -7,7 +7,7 @@ info: email: infos@devolutions.net license: name: MIT/Apache-2.0 - version: 2024.3.3 + version: 2024.3.4 paths: /dgw/subscriber: post: diff --git a/devolutions-gateway/openapi/ts-angular-client/README.md b/devolutions-gateway/openapi/ts-angular-client/README.md index cfae69adb..30f2d8cfa 100644 --- a/devolutions-gateway/openapi/ts-angular-client/README.md +++ b/devolutions-gateway/openapi/ts-angular-client/README.md @@ -1,8 +1,8 @@ -## @devolutions/gateway-client@0.12.0 +## @devolutions/gateway-client@0.13.0 Protocol-aware fine-grained relay server -The version of the OpenAPI document: 2024.3.3 +The version of the OpenAPI document: 2024.3.4 ### Building @@ -23,7 +23,7 @@ Navigate to the folder of your consuming project and run one of next commands. _published:_ ``` -npm install @devolutions/gateway-client@0.12.0 --save +npm install @devolutions/gateway-client@0.13.0 --save ``` _without publishing (not recommended):_ diff --git a/devolutions-gateway/openapi/ts-angular-client/api/update.service.ts b/devolutions-gateway/openapi/ts-angular-client/api/update.service.ts index c09b6b545..996357fd7 100644 --- a/devolutions-gateway/openapi/ts-angular-client/api/update.service.ts +++ b/devolutions-gateway/openapi/ts-angular-client/api/update.service.ts @@ -91,13 +91,23 @@ export class UpdateService { /** * Triggers Devolutions Gateway update process. * This is done via updating `Agent/update.json` file, which is then read by Devolutions Agent when changes are detected. If the version written to `update.json` is indeed higher than the currently installed version, Devolutions Agent will proceed with the update process. + * @param version The version to install; use \'latest\' for the latest version, or \'w.x.y.z\' for a specific version * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ - public triggerUpdate(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; - public triggerUpdate(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; - public triggerUpdate(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; - public triggerUpdate(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + public triggerUpdate(version: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public triggerUpdate(version: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public triggerUpdate(version: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public triggerUpdate(version: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (version === null || version === undefined) { + throw new Error('Required parameter version was null or undefined when calling triggerUpdate.'); + } + + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + if (version !== undefined && version !== null) { + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + version, 'version'); + } let localVarHeaders = this.defaultHeaders; @@ -146,6 +156,7 @@ export class UpdateService { return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, { context: localVarHttpContext, + params: localVarQueryParameters, responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: localVarHeaders, diff --git a/devolutions-gateway/openapi/ts-angular-client/config.json b/devolutions-gateway/openapi/ts-angular-client/config.json index 72c6231f9..eaf5d9707 100644 --- a/devolutions-gateway/openapi/ts-angular-client/config.json +++ b/devolutions-gateway/openapi/ts-angular-client/config.json @@ -1,6 +1,6 @@ { "npmName": "@devolutions/gateway-client", - "npmVersion": "0.12.0", + "npmVersion": "0.13.0", "license": "MIT OR Apache-2.0", "gitHost": "github.com", "gitUserId": "Devolutions", diff --git a/devolutions-gateway/openapi/ts-angular-client/package.json b/devolutions-gateway/openapi/ts-angular-client/package.json index e8190695b..f6cdea0ce 100644 --- a/devolutions-gateway/openapi/ts-angular-client/package.json +++ b/devolutions-gateway/openapi/ts-angular-client/package.json @@ -1,6 +1,6 @@ { "name": "@devolutions/gateway-client", - "version": "0.12.0", + "version": "0.13.0", "description": "OpenAPI client for @devolutions/gateway-client", "author": "OpenAPI-Generator Contributors", "repository": { diff --git a/devolutions-gateway/src/api/update.rs b/devolutions-gateway/src/api/update.rs index a5b8a3c78..fd6715149 100644 --- a/devolutions-gateway/src/api/update.rs +++ b/devolutions-gateway/src/api/update.rs @@ -27,6 +27,9 @@ pub(crate) struct UpdateResponse {} operation_id = "TriggerUpdate", tag = "Update", path = "/jet/update", + params( + ("version" = String, Query, description = "The version to install; use 'latest' for the latest version, or 'w.x.y.z' for a specific version"), + ), responses( (status = 200, description = "Update request has been processed successfully", body = UpdateResponse), (status = 400, description = "Bad request"),