Skip to content

Commit 737bf61

Browse files
chore(openapi): regenerate clients for AI analysis
Adds `POST /jet/jrec/{session_id}/ai-analysis`, `GET /jet/tasks/{id}`, their schemas and the `gateway.recording.analyze` and `gateway.tasks.read` scopes to gateway-api.yaml, and regenerates the dotnet and TypeScript clients and the docs. Only the AI analysis output is kept; the existing version and content-type drift of the committed clients is left as is. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent c231d7e commit 737bf61

45 files changed

Lines changed: 3796 additions & 4 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎devolutions-gateway/openapi/doc/index.adoc‎

Lines changed: 645 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎devolutions-gateway/openapi/dotnet-client/.openapi-generator/FILES‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ docs/AgentApi.md
99
docs/AgentDomainAdvertisement.md
1010
docs/AgentInfo.md
1111
docs/AgentStatus.md
12+
docs/AiAnalysisConflict.md
13+
docs/AiAnalysisConflictCode.md
14+
docs/AiAnalysisFailedPayload.md
15+
docs/AiAnalysisRequest.md
16+
docs/AiAnalysisRunningPayload.md
17+
docs/AiAnalysisSucceededPayload.md
18+
docs/AiAnalysisUsage.md
19+
docs/AiProvider.md
1220
docs/AppCredential.md
1321
docs/AppCredentialKind.md
1422
docs/AppTokenContentType.md
@@ -70,6 +78,9 @@ docs/SetUpdateScheduleRequest.md
7078
docs/SubProvisionerKey.md
7179
docs/Subscriber.md
7280
docs/TargetConnectionOptions.md
81+
docs/TaskInfo.md
82+
docs/TaskState.md
83+
docs/TasksApi.md
7384
docs/TrafficApi.md
7485
docs/TrafficEventResponse.md
7586
docs/TransportProtocolResponse.md
@@ -88,6 +99,7 @@ src/Devolutions.Gateway.Client/Api/NetApi.cs
8899
src/Devolutions.Gateway.Client/Api/NetworkMonitoringApi.cs
89100
src/Devolutions.Gateway.Client/Api/PreflightApi.cs
90101
src/Devolutions.Gateway.Client/Api/SessionsApi.cs
102+
src/Devolutions.Gateway.Client/Api/TasksApi.cs
91103
src/Devolutions.Gateway.Client/Api/TrafficApi.cs
92104
src/Devolutions.Gateway.Client/Api/UpdateApi.cs
93105
src/Devolutions.Gateway.Client/Api/WebAppApi.cs
@@ -117,6 +129,14 @@ src/Devolutions.Gateway.Client/Model/AddressFamily.cs
117129
src/Devolutions.Gateway.Client/Model/AgentDomainAdvertisement.cs
118130
src/Devolutions.Gateway.Client/Model/AgentInfo.cs
119131
src/Devolutions.Gateway.Client/Model/AgentStatus.cs
132+
src/Devolutions.Gateway.Client/Model/AiAnalysisConflict.cs
133+
src/Devolutions.Gateway.Client/Model/AiAnalysisConflictCode.cs
134+
src/Devolutions.Gateway.Client/Model/AiAnalysisFailedPayload.cs
135+
src/Devolutions.Gateway.Client/Model/AiAnalysisRequest.cs
136+
src/Devolutions.Gateway.Client/Model/AiAnalysisRunningPayload.cs
137+
src/Devolutions.Gateway.Client/Model/AiAnalysisSucceededPayload.cs
138+
src/Devolutions.Gateway.Client/Model/AiAnalysisUsage.cs
139+
src/Devolutions.Gateway.Client/Model/AiProvider.cs
120140
src/Devolutions.Gateway.Client/Model/AppCredential.cs
121141
src/Devolutions.Gateway.Client/Model/AppCredentialKind.cs
122142
src/Devolutions.Gateway.Client/Model/AppTokenContentType.cs
@@ -168,6 +188,8 @@ src/Devolutions.Gateway.Client/Model/SetUpdateScheduleRequest.cs
168188
src/Devolutions.Gateway.Client/Model/SubProvisionerKey.cs
169189
src/Devolutions.Gateway.Client/Model/Subscriber.cs
170190
src/Devolutions.Gateway.Client/Model/TargetConnectionOptions.cs
191+
src/Devolutions.Gateway.Client/Model/TaskInfo.cs
192+
src/Devolutions.Gateway.Client/Model/TaskState.cs
171193
src/Devolutions.Gateway.Client/Model/TrafficEventResponse.cs
172194
src/Devolutions.Gateway.Client/Model/TransportProtocolResponse.cs
173195
src/Devolutions.Gateway.Client/Model/UpdateProductInfo.cs

‎devolutions-gateway/openapi/dotnet-client/README.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ Class | Method | HTTP request | Description
156156
*JrecApi* | [**ListRecordings**](docs/JrecApi.md#listrecordings) | **GET** /jet/jrec/list | Lists all recordings stored on this instance
157157
*JrecApi* | [**PullRecordingFile**](docs/JrecApi.md#pullrecordingfile) | **GET** /jet/jrec/pull/{id}/{filename} | Retrieves a recording file for a given session
158158
*JrecApi* | [**PullRecordingSession**](docs/JrecApi.md#pullrecordingsession) | **GET** /jet/jrec/pull/{id} | Downloads an entire recorded session as a ZIP archive
159+
*JrecApi* | [**StartAiAnalysis**](docs/JrecApi.md#startaianalysis) | **POST** /jet/jrec/{session_id}/ai-analysis | Starts an AI analysis of a recorded session
159160
*JrlApi* | [**GetJrlInfo**](docs/JrlApi.md#getjrlinfo) | **GET** /jet/jrl/info | Retrieves current JRL (Json Revocation List) info
160161
*JrlApi* | [**UpdateJrl**](docs/JrlApi.md#updatejrl) | **POST** /jet/jrl | Updates JRL (Json Revocation List) using a JRL token
161162
*NetApi* | [**GetNetConfig**](docs/NetApi.md#getnetconfig) | **GET** /jet/net/config | Lists network interfaces
@@ -166,6 +167,7 @@ Class | Method | HTTP request | Description
166167
*PreflightApi* | [**PostPreflight**](docs/PreflightApi.md#postpreflight) | **POST** /jet/preflight | Performs a batch of preflight operations
167168
*SessionsApi* | [**GetSessions**](docs/SessionsApi.md#getsessions) | **GET** /jet/sessions | Lists running sessions
168169
*SessionsApi* | [**TerminateSession**](docs/SessionsApi.md#terminatesession) | **POST** /jet/session/{id}/terminate | Terminate forcefully a running session
170+
*TasksApi* | [**GetTask**](docs/TasksApi.md#gettask) | **GET** /jet/tasks/{id} | Gets a Task, the record of one piece of work the provisioner asked Gateway to do
169171
*TrafficApi* | [**AckTrafficEvents**](docs/TrafficApi.md#acktrafficevents) | **POST** /jet/traffic/ack | Acknowledge traffic audit events and remove them from the queue
170172
*TrafficApi* | [**ClaimTrafficEvents**](docs/TrafficApi.md#claimtrafficevents) | **POST** /jet/traffic/claim | Claim traffic audit events for processing
171173
*UpdateApi* | [**GetUpdateProducts**](docs/UpdateApi.md#getupdateproducts) | **GET** /jet/update | Retrieve the currently installed version of each Devolutions product.
@@ -186,6 +188,14 @@ Class | Method | HTTP request | Description
186188
- [Model.AgentDomainAdvertisement](docs/AgentDomainAdvertisement.md)
187189
- [Model.AgentInfo](docs/AgentInfo.md)
188190
- [Model.AgentStatus](docs/AgentStatus.md)
191+
- [Model.AiAnalysisConflict](docs/AiAnalysisConflict.md)
192+
- [Model.AiAnalysisConflictCode](docs/AiAnalysisConflictCode.md)
193+
- [Model.AiAnalysisFailedPayload](docs/AiAnalysisFailedPayload.md)
194+
- [Model.AiAnalysisRequest](docs/AiAnalysisRequest.md)
195+
- [Model.AiAnalysisRunningPayload](docs/AiAnalysisRunningPayload.md)
196+
- [Model.AiAnalysisSucceededPayload](docs/AiAnalysisSucceededPayload.md)
197+
- [Model.AiAnalysisUsage](docs/AiAnalysisUsage.md)
198+
- [Model.AiProvider](docs/AiProvider.md)
189199
- [Model.AppCredential](docs/AppCredential.md)
190200
- [Model.AppCredentialKind](docs/AppCredentialKind.md)
191201
- [Model.AppTokenContentType](docs/AppTokenContentType.md)
@@ -237,6 +247,8 @@ Class | Method | HTTP request | Description
237247
- [Model.SubProvisionerKey](docs/SubProvisionerKey.md)
238248
- [Model.Subscriber](docs/Subscriber.md)
239249
- [Model.TargetConnectionOptions](docs/TargetConnectionOptions.md)
250+
- [Model.TaskInfo](docs/TaskInfo.md)
251+
- [Model.TaskState](docs/TaskState.md)
240252
- [Model.TrafficEventResponse](docs/TrafficEventResponse.md)
241253
- [Model.TransportProtocolResponse](docs/TransportProtocolResponse.md)
242254
- [Model.UpdateProductInfo](docs/UpdateProductInfo.md)

‎devolutions-gateway/openapi/dotnet-client/docs/AiAnalysisConflict.md‎

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎devolutions-gateway/openapi/dotnet-client/docs/AiAnalysisConflictCode.md‎

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎devolutions-gateway/openapi/dotnet-client/docs/AiAnalysisFailedPayload.md‎

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎devolutions-gateway/openapi/dotnet-client/docs/AiAnalysisRequest.md‎

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎devolutions-gateway/openapi/dotnet-client/docs/AiAnalysisRunningPayload.md‎

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎devolutions-gateway/openapi/dotnet-client/docs/AiAnalysisSucceededPayload.md‎

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎devolutions-gateway/openapi/dotnet-client/docs/AiAnalysisUsage.md‎

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)