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
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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!,
Expand Down Expand Up @@ -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!,
Expand Down Expand Up @@ -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!,
Expand Down Expand Up @@ -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!,
Expand All @@ -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!,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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!,
Expand Down Expand Up @@ -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!,
Expand Down Expand Up @@ -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!,
Expand Down Expand Up @@ -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!,
Expand All @@ -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!,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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!,
Expand Down Expand Up @@ -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!,
Expand Down Expand Up @@ -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!,
Expand Down Expand Up @@ -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!,
Expand All @@ -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!,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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!,
Expand Down Expand Up @@ -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!,
Expand Down Expand Up @@ -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!,
Expand Down Expand Up @@ -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!,
Expand All @@ -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!,
Expand Down
Loading