From 700255a49961d034c73654ed050a95ab689a84d5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 25 May 2026 17:06:51 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Botpress.RuntimeClient.RuntimeGetOrSetState.g.cs | 12 ++++++------ .../Botpress.RuntimeClient.RuntimeGetState.g.cs | 12 ++++++------ .../Botpress.RuntimeClient.RuntimePatchState.g.cs | 12 ++++++------ .../Botpress.RuntimeClient.RuntimeSetState.g.cs | 12 ++++++------ ...Botpress.RuntimeClient.RuntimeSetStateExpiry.g.cs | 12 ++++++------ 5 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrSetState.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrSetState.g.cs index 6768c50..4a97d8c 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrSetState.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrSetState.g.cs @@ -136,7 +136,7 @@ await RuntimeGetOrSetStateAsResponseAsync( { var __pathBuilder = new global::Botpress.PathBuilder( - path: $"/v1/chat/states/{type}/{id}/{name}/get-or-set", + path: $"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/get-or-set", baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); __path = global::Botpress.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -213,7 +213,7 @@ await RuntimeGetOrSetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeGetOrSetState", methodName: "RuntimeGetOrSetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}/get-or-set\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/get-or-set\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -247,7 +247,7 @@ await RuntimeGetOrSetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeGetOrSetState", methodName: "RuntimeGetOrSetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}/get-or-set\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/get-or-set\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -288,7 +288,7 @@ await RuntimeGetOrSetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeGetOrSetState", methodName: "RuntimeGetOrSetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}/get-or-set\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/get-or-set\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -336,7 +336,7 @@ await RuntimeGetOrSetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeGetOrSetState", methodName: "RuntimeGetOrSetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}/get-or-set\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/get-or-set\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -358,7 +358,7 @@ await RuntimeGetOrSetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeGetOrSetState", methodName: "RuntimeGetOrSetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}/get-or-set\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/get-or-set\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetState.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetState.g.cs index 06a6d1c..974fdb0 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetState.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetState.g.cs @@ -136,7 +136,7 @@ await RuntimeGetStateAsResponseAsync( { var __pathBuilder = new global::Botpress.PathBuilder( - path: $"/v1/chat/states/{type}/{id}/{name}", + path: $"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}", baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); __path = global::Botpress.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -213,7 +213,7 @@ await RuntimeGetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeGetState", methodName: "RuntimeGetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -247,7 +247,7 @@ await RuntimeGetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeGetState", methodName: "RuntimeGetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -288,7 +288,7 @@ await RuntimeGetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeGetState", methodName: "RuntimeGetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -336,7 +336,7 @@ await RuntimeGetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeGetState", methodName: "RuntimeGetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -358,7 +358,7 @@ await RuntimeGetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeGetState", methodName: "RuntimeGetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimePatchState.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimePatchState.g.cs index 136b7ad..e989005 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimePatchState.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimePatchState.g.cs @@ -136,7 +136,7 @@ await RuntimePatchStateAsResponseAsync( { var __pathBuilder = new global::Botpress.PathBuilder( - path: $"/v1/chat/states/{type}/{id}/{name}", + path: $"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}", baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); __path = global::Botpress.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -213,7 +213,7 @@ await RuntimePatchStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimePatchState", methodName: "RuntimePatchStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest!, @@ -247,7 +247,7 @@ await RuntimePatchStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimePatchState", methodName: "RuntimePatchStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest!, @@ -288,7 +288,7 @@ await RuntimePatchStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimePatchState", methodName: "RuntimePatchStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest!, @@ -336,7 +336,7 @@ await RuntimePatchStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimePatchState", methodName: "RuntimePatchStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest!, @@ -358,7 +358,7 @@ await RuntimePatchStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimePatchState", methodName: "RuntimePatchStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest!, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetState.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetState.g.cs index 3f261b9..4d2cb7b 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetState.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetState.g.cs @@ -136,7 +136,7 @@ await RuntimeSetStateAsResponseAsync( { var __pathBuilder = new global::Botpress.PathBuilder( - path: $"/v1/chat/states/{type}/{id}/{name}", + path: $"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}", baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); __path = global::Botpress.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -213,7 +213,7 @@ await RuntimeSetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeSetState", methodName: "RuntimeSetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -247,7 +247,7 @@ await RuntimeSetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeSetState", methodName: "RuntimeSetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -288,7 +288,7 @@ await RuntimeSetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeSetState", methodName: "RuntimeSetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -336,7 +336,7 @@ await RuntimeSetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeSetState", methodName: "RuntimeSetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -358,7 +358,7 @@ await RuntimeSetStateAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeSetState", methodName: "RuntimeSetStateAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetStateExpiry.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetStateExpiry.g.cs index 20cc5db..690da3f 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetStateExpiry.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetStateExpiry.g.cs @@ -136,7 +136,7 @@ await RuntimeSetStateExpiryAsResponseAsync( { var __pathBuilder = new global::Botpress.PathBuilder( - path: $"/v1/chat/states/{type}/{id}/{name}/expiry", + path: $"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/expiry", baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); __path = global::Botpress.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -213,7 +213,7 @@ await RuntimeSetStateExpiryAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeSetStateExpiry", methodName: "RuntimeSetStateExpiryAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}/expiry\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/expiry\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -247,7 +247,7 @@ await RuntimeSetStateExpiryAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeSetStateExpiry", methodName: "RuntimeSetStateExpiryAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}/expiry\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/expiry\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -288,7 +288,7 @@ await RuntimeSetStateExpiryAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeSetStateExpiry", methodName: "RuntimeSetStateExpiryAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}/expiry\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/expiry\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -336,7 +336,7 @@ await RuntimeSetStateExpiryAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeSetStateExpiry", methodName: "RuntimeSetStateExpiryAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}/expiry\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/expiry\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -358,7 +358,7 @@ await RuntimeSetStateExpiryAsResponseAsync( context: global::Botpress.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "RuntimeSetStateExpiry", methodName: "RuntimeSetStateExpiryAsync", - pathTemplate: "$\"/v1/chat/states/{type}/{id}/{name}/expiry\"", + pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/expiry\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!,