diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateBot.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateBot.g.cs index 2718fb4..b218c98 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateBot.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateBot.g.cs @@ -153,7 +153,7 @@ await AdminCreateBotAsResponseAsync( PrepareAdminCreateBotRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xWorkspaceId: xWorkspaceId!, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -176,7 +176,7 @@ await AdminCreateBotAsResponseAsync( pathTemplate: "\"/v1/admin/bots\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -210,7 +210,7 @@ await AdminCreateBotAsResponseAsync( pathTemplate: "\"/v1/admin/bots\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -251,7 +251,7 @@ await AdminCreateBotAsResponseAsync( pathTemplate: "\"/v1/admin/bots\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -299,7 +299,7 @@ await AdminCreateBotAsResponseAsync( pathTemplate: "\"/v1/admin/bots\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await AdminCreateBotAsResponseAsync( pathTemplate: "\"/v1/admin/bots\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateIntegration.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateIntegration.g.cs index 7503a58..55083c8 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateIntegration.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateIntegration.g.cs @@ -153,7 +153,7 @@ await AdminCreateIntegrationAsResponseAsync( PrepareAdminCreateIntegrationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xWorkspaceId: xWorkspaceId!, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -176,7 +176,7 @@ await AdminCreateIntegrationAsResponseAsync( pathTemplate: "\"/v1/admin/integrations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -210,7 +210,7 @@ await AdminCreateIntegrationAsResponseAsync( pathTemplate: "\"/v1/admin/integrations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -251,7 +251,7 @@ await AdminCreateIntegrationAsResponseAsync( pathTemplate: "\"/v1/admin/integrations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -299,7 +299,7 @@ await AdminCreateIntegrationAsResponseAsync( pathTemplate: "\"/v1/admin/integrations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await AdminCreateIntegrationAsResponseAsync( pathTemplate: "\"/v1/admin/integrations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateWorkspace.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateWorkspace.g.cs index da543da..33f1ad9 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateWorkspace.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateWorkspace.g.cs @@ -166,7 +166,7 @@ await AdminCreateWorkspaceAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -200,7 +200,7 @@ await AdminCreateWorkspaceAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -241,7 +241,7 @@ await AdminCreateWorkspaceAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -289,7 +289,7 @@ await AdminCreateWorkspaceAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -311,7 +311,7 @@ await AdminCreateWorkspaceAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateWorkspaceMember.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateWorkspaceMember.g.cs index 1eed4fa..fd5984d 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateWorkspaceMember.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminCreateWorkspaceMember.g.cs @@ -153,7 +153,7 @@ await AdminCreateWorkspaceMemberAsResponseAsync( PrepareAdminCreateWorkspaceMemberRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xWorkspaceId: xWorkspaceId!, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -176,7 +176,7 @@ await AdminCreateWorkspaceMemberAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -210,7 +210,7 @@ await AdminCreateWorkspaceMemberAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -251,7 +251,7 @@ await AdminCreateWorkspaceMemberAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -299,7 +299,7 @@ await AdminCreateWorkspaceMemberAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await AdminCreateWorkspaceMemberAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteBot.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteBot.g.cs index 80faa73..2f72564 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteBot.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteBot.g.cs @@ -161,8 +161,8 @@ await AdminDeleteBotAsResponseAsync( PrepareAdminDeleteBotRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xWorkspaceId: xWorkspaceId!, + id: id, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -185,7 +185,7 @@ await AdminDeleteBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -219,7 +219,7 @@ await AdminDeleteBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -260,7 +260,7 @@ await AdminDeleteBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -308,7 +308,7 @@ await AdminDeleteBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -330,7 +330,7 @@ await AdminDeleteBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteBotIssue.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteBotIssue.g.cs index debc058..084fdf1 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteBotIssue.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteBotIssue.g.cs @@ -169,9 +169,9 @@ await AdminDeleteBotIssueAsResponseAsync( PrepareAdminDeleteBotIssueRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - issueId: issueId!, - xWorkspaceId: xWorkspaceId!, + id: id, + issueId: issueId, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -194,7 +194,7 @@ await AdminDeleteBotIssueAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -228,7 +228,7 @@ await AdminDeleteBotIssueAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -269,7 +269,7 @@ await AdminDeleteBotIssueAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -317,7 +317,7 @@ await AdminDeleteBotIssueAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ await AdminDeleteBotIssueAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteIntegration.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteIntegration.g.cs index 62f2c14..0d2ea79 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteIntegration.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteIntegration.g.cs @@ -161,8 +161,8 @@ await AdminDeleteIntegrationAsResponseAsync( PrepareAdminDeleteIntegrationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xWorkspaceId: xWorkspaceId!, + id: id, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -185,7 +185,7 @@ await AdminDeleteIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -219,7 +219,7 @@ await AdminDeleteIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -260,7 +260,7 @@ await AdminDeleteIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -308,7 +308,7 @@ await AdminDeleteIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -330,7 +330,7 @@ await AdminDeleteIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteWorkspace.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteWorkspace.g.cs index f1aff83..a257f4f 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteWorkspace.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteWorkspace.g.cs @@ -152,7 +152,7 @@ await AdminDeleteWorkspaceAsResponseAsync( PrepareAdminDeleteWorkspaceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -175,7 +175,7 @@ await AdminDeleteWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -209,7 +209,7 @@ await AdminDeleteWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -250,7 +250,7 @@ await AdminDeleteWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -298,7 +298,7 @@ await AdminDeleteWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -320,7 +320,7 @@ await AdminDeleteWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteWorkspaceMember.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteWorkspaceMember.g.cs index d8aa131..a762819 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteWorkspaceMember.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminDeleteWorkspaceMember.g.cs @@ -161,8 +161,8 @@ await AdminDeleteWorkspaceMemberAsResponseAsync( PrepareAdminDeleteWorkspaceMemberRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xWorkspaceId: xWorkspaceId!, + id: id, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -185,7 +185,7 @@ await AdminDeleteWorkspaceMemberAsResponseAsync( pathTemplate: "$\"/v1/admin/workspace-members/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -219,7 +219,7 @@ await AdminDeleteWorkspaceMemberAsResponseAsync( pathTemplate: "$\"/v1/admin/workspace-members/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -260,7 +260,7 @@ await AdminDeleteWorkspaceMemberAsResponseAsync( pathTemplate: "$\"/v1/admin/workspace-members/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -308,7 +308,7 @@ await AdminDeleteWorkspaceMemberAsResponseAsync( pathTemplate: "$\"/v1/admin/workspace-members/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -330,7 +330,7 @@ await AdminDeleteWorkspaceMemberAsResponseAsync( pathTemplate: "$\"/v1/admin/workspace-members/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetAccount.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetAccount.g.cs index be8d2ad..c057396 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetAccount.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetAccount.g.cs @@ -166,7 +166,7 @@ await AdminGetAccountAsResponseAsync( pathTemplate: "\"/v1/admin/account/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -200,7 +200,7 @@ await AdminGetAccountAsResponseAsync( pathTemplate: "\"/v1/admin/account/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -241,7 +241,7 @@ await AdminGetAccountAsResponseAsync( pathTemplate: "\"/v1/admin/account/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -289,7 +289,7 @@ await AdminGetAccountAsResponseAsync( pathTemplate: "\"/v1/admin/account/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -311,7 +311,7 @@ await AdminGetAccountAsResponseAsync( pathTemplate: "\"/v1/admin/account/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetAuditRecords.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetAuditRecords.g.cs index efeccff..f0eb9c2 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetAuditRecords.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetAuditRecords.g.cs @@ -164,7 +164,7 @@ await AdminGetAuditRecordsAsResponseAsync( httpClient: HttpClient, httpRequestMessage: __httpRequest, nextToken: nextToken, - id: id!, + id: id, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -187,7 +187,7 @@ await AdminGetAuditRecordsAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}/audit-records\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -221,7 +221,7 @@ await AdminGetAuditRecordsAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}/audit-records\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -262,7 +262,7 @@ await AdminGetAuditRecordsAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}/audit-records\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -310,7 +310,7 @@ await AdminGetAuditRecordsAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}/audit-records\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -332,7 +332,7 @@ await AdminGetAuditRecordsAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}/audit-records\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBot.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBot.g.cs index bee8a62..90dfe74 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBot.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBot.g.cs @@ -172,9 +172,9 @@ await AdminGetBotAsResponseAsync( PrepareAdminGetBotRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, shouldMergePlugins: shouldMergePlugins, - xWorkspaceId: xWorkspaceId!, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -197,7 +197,7 @@ await AdminGetBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -231,7 +231,7 @@ await AdminGetBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -272,7 +272,7 @@ await AdminGetBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -320,7 +320,7 @@ await AdminGetBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -342,7 +342,7 @@ await AdminGetBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBotAnalytics.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBotAnalytics.g.cs index 6d6bced..7914736 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBotAnalytics.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBotAnalytics.g.cs @@ -181,10 +181,10 @@ await AdminGetBotAnalyticsAsResponseAsync( PrepareAdminGetBotAnalyticsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - startDate: startDate!, - endDate: endDate!, - xWorkspaceId: xWorkspaceId!, + id: id, + startDate: startDate, + endDate: endDate, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -207,7 +207,7 @@ await AdminGetBotAnalyticsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/analytics\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -241,7 +241,7 @@ await AdminGetBotAnalyticsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/analytics\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -282,7 +282,7 @@ await AdminGetBotAnalyticsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/analytics\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -330,7 +330,7 @@ await AdminGetBotAnalyticsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/analytics\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -352,7 +352,7 @@ await AdminGetBotAnalyticsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/analytics\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBotIssue.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBotIssue.g.cs index d12384a..de1f2a9 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBotIssue.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBotIssue.g.cs @@ -169,9 +169,9 @@ await AdminGetBotIssueAsResponseAsync( PrepareAdminGetBotIssueRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - issueId: issueId!, - xWorkspaceId: xWorkspaceId!, + id: id, + issueId: issueId, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -194,7 +194,7 @@ await AdminGetBotIssueAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -228,7 +228,7 @@ await AdminGetBotIssueAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -269,7 +269,7 @@ await AdminGetBotIssueAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -317,7 +317,7 @@ await AdminGetBotIssueAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ await AdminGetBotIssueAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBotLogs.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBotLogs.g.cs index 6390e95..c3c45ee 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBotLogs.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetBotLogs.g.cs @@ -235,8 +235,8 @@ await AdminGetBotLogsAsResponseAsync( PrepareAdminGetBotLogsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - timeStart: timeStart!, + id: id, + timeStart: timeStart, timeEnd: timeEnd, level: level, userId: userId, @@ -244,7 +244,7 @@ await AdminGetBotLogsAsResponseAsync( conversationId: conversationId, messageContains: messageContains, nextToken: nextToken, - xWorkspaceId: xWorkspaceId!, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -267,7 +267,7 @@ await AdminGetBotLogsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -301,7 +301,7 @@ await AdminGetBotLogsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -342,7 +342,7 @@ await AdminGetBotLogsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -390,7 +390,7 @@ await AdminGetBotLogsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -412,7 +412,7 @@ await AdminGetBotLogsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetIntegration.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetIntegration.g.cs index 44b6f86..95bfca7 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetIntegration.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetIntegration.g.cs @@ -161,8 +161,8 @@ await AdminGetIntegrationAsResponseAsync( PrepareAdminGetIntegrationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xWorkspaceId: xWorkspaceId!, + id: id, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -185,7 +185,7 @@ await AdminGetIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -219,7 +219,7 @@ await AdminGetIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -260,7 +260,7 @@ await AdminGetIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -308,7 +308,7 @@ await AdminGetIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -330,7 +330,7 @@ await AdminGetIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetIntegrationByName.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetIntegrationByName.g.cs index f4a228c..fed6f71 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetIntegrationByName.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetIntegrationByName.g.cs @@ -169,9 +169,9 @@ await AdminGetIntegrationByNameAsResponseAsync( PrepareAdminGetIntegrationByNameRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - name: name!, - version: version!, - xWorkspaceId: xWorkspaceId!, + name: name, + version: version, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -194,7 +194,7 @@ await AdminGetIntegrationByNameAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{name}/{version}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -228,7 +228,7 @@ await AdminGetIntegrationByNameAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{name}/{version}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -269,7 +269,7 @@ await AdminGetIntegrationByNameAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{name}/{version}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -317,7 +317,7 @@ await AdminGetIntegrationByNameAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{name}/{version}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ await AdminGetIntegrationByNameAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{name}/{version}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetIntegrationLogs.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetIntegrationLogs.g.cs index 63ba00b..cc89475 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetIntegrationLogs.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetIntegrationLogs.g.cs @@ -226,15 +226,15 @@ await AdminGetIntegrationLogsAsResponseAsync( PrepareAdminGetIntegrationLogsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - timeStart: timeStart!, + id: id, + timeStart: timeStart, timeEnd: timeEnd, level: level, userId: userId, conversationId: conversationId, messageContains: messageContains, nextToken: nextToken, - xWorkspaceId: xWorkspaceId!, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -257,7 +257,7 @@ await AdminGetIntegrationLogsAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -291,7 +291,7 @@ await AdminGetIntegrationLogsAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -332,7 +332,7 @@ await AdminGetIntegrationLogsAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -380,7 +380,7 @@ await AdminGetIntegrationLogsAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -402,7 +402,7 @@ await AdminGetIntegrationLogsAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetPublicIntegration.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetPublicIntegration.g.cs index 2f139af..47b36e6 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetPublicIntegration.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetPublicIntegration.g.cs @@ -160,8 +160,8 @@ await AdminGetPublicIntegrationAsResponseAsync( PrepareAdminGetPublicIntegrationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - name: name!, - version: version!, + name: name, + version: version, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -184,7 +184,7 @@ await AdminGetPublicIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/hub/integrations/{name}/{version}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -218,7 +218,7 @@ await AdminGetPublicIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/hub/integrations/{name}/{version}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -259,7 +259,7 @@ await AdminGetPublicIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/hub/integrations/{name}/{version}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ await AdminGetPublicIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/hub/integrations/{name}/{version}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ await AdminGetPublicIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/hub/integrations/{name}/{version}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetPublicIntegrationById.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetPublicIntegrationById.g.cs index 2aac82c..d7b5f87 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetPublicIntegrationById.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetPublicIntegrationById.g.cs @@ -152,7 +152,7 @@ await AdminGetPublicIntegrationByIdAsResponseAsync( PrepareAdminGetPublicIntegrationByIdRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -175,7 +175,7 @@ await AdminGetPublicIntegrationByIdAsResponseAsync( pathTemplate: "$\"/v1/admin/hub/integrations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -209,7 +209,7 @@ await AdminGetPublicIntegrationByIdAsResponseAsync( pathTemplate: "$\"/v1/admin/hub/integrations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -250,7 +250,7 @@ await AdminGetPublicIntegrationByIdAsResponseAsync( pathTemplate: "$\"/v1/admin/hub/integrations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -298,7 +298,7 @@ await AdminGetPublicIntegrationByIdAsResponseAsync( pathTemplate: "$\"/v1/admin/hub/integrations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -320,7 +320,7 @@ await AdminGetPublicIntegrationByIdAsResponseAsync( pathTemplate: "$\"/v1/admin/hub/integrations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetPublicWorkspace.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetPublicWorkspace.g.cs index a99ca83..d5462ce 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetPublicWorkspace.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetPublicWorkspace.g.cs @@ -152,7 +152,7 @@ await AdminGetPublicWorkspaceAsResponseAsync( PrepareAdminGetPublicWorkspaceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -175,7 +175,7 @@ await AdminGetPublicWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}/public\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -209,7 +209,7 @@ await AdminGetPublicWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}/public\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -250,7 +250,7 @@ await AdminGetPublicWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}/public\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -298,7 +298,7 @@ await AdminGetPublicWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}/public\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -320,7 +320,7 @@ await AdminGetPublicWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}/public\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetWorkspace.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetWorkspace.g.cs index b1b843b..27bc858 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetWorkspace.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetWorkspace.g.cs @@ -152,7 +152,7 @@ await AdminGetWorkspaceAsResponseAsync( PrepareAdminGetWorkspaceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -175,7 +175,7 @@ await AdminGetWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -209,7 +209,7 @@ await AdminGetWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -250,7 +250,7 @@ await AdminGetWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -298,7 +298,7 @@ await AdminGetWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -320,7 +320,7 @@ await AdminGetWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetWorkspaceMember.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetWorkspaceMember.g.cs index c4e2d62..696c935 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetWorkspaceMember.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminGetWorkspaceMember.g.cs @@ -153,7 +153,7 @@ await AdminGetWorkspaceMemberAsResponseAsync( PrepareAdminGetWorkspaceMemberRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xWorkspaceId: xWorkspaceId!, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -176,7 +176,7 @@ await AdminGetWorkspaceMemberAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -210,7 +210,7 @@ await AdminGetWorkspaceMemberAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -251,7 +251,7 @@ await AdminGetWorkspaceMemberAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -299,7 +299,7 @@ await AdminGetWorkspaceMemberAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await AdminGetWorkspaceMemberAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListBotIssueEvents.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListBotIssueEvents.g.cs index 8cbe06a..65f1f2b 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListBotIssueEvents.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListBotIssueEvents.g.cs @@ -169,9 +169,9 @@ await AdminListBotIssueEventsAsResponseAsync( PrepareAdminListBotIssueEventsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - issueId: issueId!, - xWorkspaceId: xWorkspaceId!, + id: id, + issueId: issueId, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -194,7 +194,7 @@ await AdminListBotIssueEventsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -228,7 +228,7 @@ await AdminListBotIssueEventsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -269,7 +269,7 @@ await AdminListBotIssueEventsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -317,7 +317,7 @@ await AdminListBotIssueEventsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ await AdminListBotIssueEventsAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues/{issueId}/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListBotIssues.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListBotIssues.g.cs index e4e1f45..e5817a7 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListBotIssues.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListBotIssues.g.cs @@ -172,9 +172,9 @@ await AdminListBotIssuesAsResponseAsync( PrepareAdminListBotIssuesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, nextToken: nextToken, - xWorkspaceId: xWorkspaceId!, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -197,7 +197,7 @@ await AdminListBotIssuesAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -231,7 +231,7 @@ await AdminListBotIssuesAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -272,7 +272,7 @@ await AdminListBotIssuesAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -320,7 +320,7 @@ await AdminListBotIssuesAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -342,7 +342,7 @@ await AdminListBotIssuesAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}/issues\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListBots.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListBots.g.cs index 7d6d521..580467b 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListBots.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListBots.g.cs @@ -205,7 +205,7 @@ await AdminListBotsAsResponseAsync( nextToken: nextToken, sortField: sortField, sortDirection: sortDirection, - xWorkspaceId: xWorkspaceId!, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -228,7 +228,7 @@ await AdminListBotsAsResponseAsync( pathTemplate: "\"/v1/admin/bots\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -262,7 +262,7 @@ await AdminListBotsAsResponseAsync( pathTemplate: "\"/v1/admin/bots\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -303,7 +303,7 @@ await AdminListBotsAsResponseAsync( pathTemplate: "\"/v1/admin/bots\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -351,7 +351,7 @@ await AdminListBotsAsResponseAsync( pathTemplate: "\"/v1/admin/bots\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -373,7 +373,7 @@ await AdminListBotsAsResponseAsync( pathTemplate: "\"/v1/admin/bots\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListIntegrations.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListIntegrations.g.cs index c79e171..8902903 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListIntegrations.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListIntegrations.g.cs @@ -285,7 +285,7 @@ await AdminListIntegrationsAsResponseAsync( direction: direction, visibility: visibility, dev: dev, - xWorkspaceId: xWorkspaceId!, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -308,7 +308,7 @@ await AdminListIntegrationsAsResponseAsync( pathTemplate: "\"/v1/admin/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -342,7 +342,7 @@ await AdminListIntegrationsAsResponseAsync( pathTemplate: "\"/v1/admin/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -383,7 +383,7 @@ await AdminListIntegrationsAsResponseAsync( pathTemplate: "\"/v1/admin/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -431,7 +431,7 @@ await AdminListIntegrationsAsResponseAsync( pathTemplate: "\"/v1/admin/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -453,7 +453,7 @@ await AdminListIntegrationsAsResponseAsync( pathTemplate: "\"/v1/admin/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListPublicIntegrations.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListPublicIntegrations.g.cs index d272dff..4d32734 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListPublicIntegrations.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListPublicIntegrations.g.cs @@ -278,7 +278,7 @@ await AdminListPublicIntegrationsAsResponseAsync( pathTemplate: "\"/v1/admin/hub/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ await AdminListPublicIntegrationsAsResponseAsync( pathTemplate: "\"/v1/admin/hub/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -353,7 +353,7 @@ await AdminListPublicIntegrationsAsResponseAsync( pathTemplate: "\"/v1/admin/hub/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -401,7 +401,7 @@ await AdminListPublicIntegrationsAsResponseAsync( pathTemplate: "\"/v1/admin/hub/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -423,7 +423,7 @@ await AdminListPublicIntegrationsAsResponseAsync( pathTemplate: "\"/v1/admin/hub/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListPublicWorkspaces.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListPublicWorkspaces.g.cs index 9e5949b..04ea9ff 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListPublicWorkspaces.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListPublicWorkspaces.g.cs @@ -198,7 +198,7 @@ await AdminListPublicWorkspacesAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces/public\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await AdminListPublicWorkspacesAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces/public\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await AdminListPublicWorkspacesAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces/public\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await AdminListPublicWorkspacesAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces/public\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await AdminListPublicWorkspacesAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces/public\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListWorkspaceMembers.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListWorkspaceMembers.g.cs index ae73b4d..1abcf45 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListWorkspaceMembers.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListWorkspaceMembers.g.cs @@ -165,7 +165,7 @@ await AdminListWorkspaceMembersAsResponseAsync( httpClient: HttpClient, httpRequestMessage: __httpRequest, nextToken: nextToken, - xWorkspaceId: xWorkspaceId!, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -188,7 +188,7 @@ await AdminListWorkspaceMembersAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -222,7 +222,7 @@ await AdminListWorkspaceMembersAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -263,7 +263,7 @@ await AdminListWorkspaceMembersAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -311,7 +311,7 @@ await AdminListWorkspaceMembersAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -333,7 +333,7 @@ await AdminListWorkspaceMembersAsResponseAsync( pathTemplate: "\"/v1/admin/workspace-members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListWorkspaces.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListWorkspaces.g.cs index 606d8ec..ec31f16 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListWorkspaces.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminListWorkspaces.g.cs @@ -188,7 +188,7 @@ await AdminListWorkspacesAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -222,7 +222,7 @@ await AdminListWorkspacesAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -263,7 +263,7 @@ await AdminListWorkspacesAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -311,7 +311,7 @@ await AdminListWorkspacesAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -333,7 +333,7 @@ await AdminListWorkspacesAsResponseAsync( pathTemplate: "\"/v1/admin/workspaces\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateAccount.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateAccount.g.cs index 23cc882..ca86db3 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateAccount.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateAccount.g.cs @@ -166,7 +166,7 @@ await AdminUpdateAccountAsResponseAsync( pathTemplate: "\"/v1/admin/account/me\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -200,7 +200,7 @@ await AdminUpdateAccountAsResponseAsync( pathTemplate: "\"/v1/admin/account/me\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -241,7 +241,7 @@ await AdminUpdateAccountAsResponseAsync( pathTemplate: "\"/v1/admin/account/me\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -289,7 +289,7 @@ await AdminUpdateAccountAsResponseAsync( pathTemplate: "\"/v1/admin/account/me\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -311,7 +311,7 @@ await AdminUpdateAccountAsResponseAsync( pathTemplate: "\"/v1/admin/account/me\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateBot.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateBot.g.cs index 1ac04d6..d5414cd 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateBot.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateBot.g.cs @@ -161,8 +161,8 @@ await AdminUpdateBotAsResponseAsync( PrepareAdminUpdateBotRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xWorkspaceId: xWorkspaceId!, + id: id, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -185,7 +185,7 @@ await AdminUpdateBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -219,7 +219,7 @@ await AdminUpdateBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -260,7 +260,7 @@ await AdminUpdateBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -308,7 +308,7 @@ await AdminUpdateBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -330,7 +330,7 @@ await AdminUpdateBotAsResponseAsync( pathTemplate: "$\"/v1/admin/bots/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateIntegration.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateIntegration.g.cs index 77f0bfc..b57c08b 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateIntegration.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateIntegration.g.cs @@ -161,8 +161,8 @@ await AdminUpdateIntegrationAsResponseAsync( PrepareAdminUpdateIntegrationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xWorkspaceId: xWorkspaceId!, + id: id, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -185,7 +185,7 @@ await AdminUpdateIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -219,7 +219,7 @@ await AdminUpdateIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -260,7 +260,7 @@ await AdminUpdateIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -308,7 +308,7 @@ await AdminUpdateIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -330,7 +330,7 @@ await AdminUpdateIntegrationAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateWorkspace.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateWorkspace.g.cs index 04933ff..4f2f653 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateWorkspace.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateWorkspace.g.cs @@ -152,7 +152,7 @@ await AdminUpdateWorkspaceAsResponseAsync( PrepareAdminUpdateWorkspaceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -175,7 +175,7 @@ await AdminUpdateWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -209,7 +209,7 @@ await AdminUpdateWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -250,7 +250,7 @@ await AdminUpdateWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -298,7 +298,7 @@ await AdminUpdateWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -320,7 +320,7 @@ await AdminUpdateWorkspaceAsResponseAsync( pathTemplate: "$\"/v1/admin/workspaces/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateWorkspaceMember.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateWorkspaceMember.g.cs index 6a9be58..6ad1f31 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateWorkspaceMember.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminUpdateWorkspaceMember.g.cs @@ -161,8 +161,8 @@ await AdminUpdateWorkspaceMemberAsResponseAsync( PrepareAdminUpdateWorkspaceMemberRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xWorkspaceId: xWorkspaceId!, + id: id, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -185,7 +185,7 @@ await AdminUpdateWorkspaceMemberAsResponseAsync( pathTemplate: "$\"/v1/admin/workspace-members/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -219,7 +219,7 @@ await AdminUpdateWorkspaceMemberAsResponseAsync( pathTemplate: "$\"/v1/admin/workspace-members/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -260,7 +260,7 @@ await AdminUpdateWorkspaceMemberAsResponseAsync( pathTemplate: "$\"/v1/admin/workspace-members/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -308,7 +308,7 @@ await AdminUpdateWorkspaceMemberAsResponseAsync( pathTemplate: "$\"/v1/admin/workspace-members/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -330,7 +330,7 @@ await AdminUpdateWorkspaceMemberAsResponseAsync( pathTemplate: "$\"/v1/admin/workspace-members/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminValidateIntegrationCreation.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminValidateIntegrationCreation.g.cs index 39771c7..cb6167d 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminValidateIntegrationCreation.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminValidateIntegrationCreation.g.cs @@ -153,7 +153,7 @@ await AdminValidateIntegrationCreationAsResponseAsync( PrepareAdminValidateIntegrationCreationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xWorkspaceId: xWorkspaceId!, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -176,7 +176,7 @@ await AdminValidateIntegrationCreationAsResponseAsync( pathTemplate: "\"/v1/admin/integrations/validate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -210,7 +210,7 @@ await AdminValidateIntegrationCreationAsResponseAsync( pathTemplate: "\"/v1/admin/integrations/validate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -251,7 +251,7 @@ await AdminValidateIntegrationCreationAsResponseAsync( pathTemplate: "\"/v1/admin/integrations/validate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -299,7 +299,7 @@ await AdminValidateIntegrationCreationAsResponseAsync( pathTemplate: "\"/v1/admin/integrations/validate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await AdminValidateIntegrationCreationAsResponseAsync( pathTemplate: "\"/v1/admin/integrations/validate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminValidateIntegrationUpdate.g.cs b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminValidateIntegrationUpdate.g.cs index d041178..3679d18 100644 --- a/src/libs/Botpress/Generated/Botpress.AdminClient.AdminValidateIntegrationUpdate.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AdminClient.AdminValidateIntegrationUpdate.g.cs @@ -161,8 +161,8 @@ await AdminValidateIntegrationUpdateAsResponseAsync( PrepareAdminValidateIntegrationUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xWorkspaceId: xWorkspaceId!, + id: id, + xWorkspaceId: xWorkspaceId, xMultipleIntegrations: xMultipleIntegrations); return __httpRequest; @@ -185,7 +185,7 @@ await AdminValidateIntegrationUpdateAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}/validate\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -219,7 +219,7 @@ await AdminValidateIntegrationUpdateAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}/validate\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -260,7 +260,7 @@ await AdminValidateIntegrationUpdateAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}/validate\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -308,7 +308,7 @@ await AdminValidateIntegrationUpdateAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}/validate\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -330,7 +330,7 @@ await AdminValidateIntegrationUpdateAsResponseAsync( pathTemplate: "$\"/v1/admin/integrations/{id}/validate\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.AutoSDKHttpResponse.g.cs b/src/libs/Botpress/Generated/Botpress.AutoSDKHttpResponse.g.cs index c8a7f00..3bba446 100644 --- a/src/libs/Botpress/Generated/Botpress.AutoSDKHttpResponse.g.cs +++ b/src/libs/Botpress/Generated/Botpress.AutoSDKHttpResponse.g.cs @@ -164,9 +164,9 @@ public static class AutoSDKConditionalRequests { send = send ?? throw new global::System.ArgumentNullException(nameof(send)); requestOptions = CloneRequestOptions(requestOptions); - if (!string.IsNullOrWhiteSpace(entityTag)) + if (entityTag is { } nonEmptyEntityTag && !string.IsNullOrWhiteSpace(nonEmptyEntityTag)) { - requestOptions.Headers["If-None-Match"] = entityTag!; + requestOptions.Headers["If-None-Match"] = nonEmptyEntityTag; } try diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatAddParticipant.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatAddParticipant.g.cs index 2379bf4..cef70e2 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatAddParticipant.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatAddParticipant.g.cs @@ -177,8 +177,8 @@ partial void ProcessChatAddParticipantResponseContent( PrepareChatAddParticipantRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, - conversationId: conversationId!, + xUserKey: xUserKey, + conversationId: conversationId, request: request); return __httpRequest; @@ -201,7 +201,7 @@ partial void ProcessChatAddParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -235,7 +235,7 @@ partial void ProcessChatAddParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -276,7 +276,7 @@ partial void ProcessChatAddParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -324,7 +324,7 @@ partial void ProcessChatAddParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -346,7 +346,7 @@ partial void ProcessChatAddParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateConversation.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateConversation.g.cs index d0cea90..4808170 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateConversation.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateConversation.g.cs @@ -169,7 +169,7 @@ partial void ProcessChatCreateConversationResponseContent( PrepareChatCreateConversationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, + xUserKey: xUserKey, request: request); return __httpRequest; @@ -192,7 +192,7 @@ partial void ProcessChatCreateConversationResponseContent( pathTemplate: "\"/chat-api/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -226,7 +226,7 @@ partial void ProcessChatCreateConversationResponseContent( pathTemplate: "\"/chat-api/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -267,7 +267,7 @@ partial void ProcessChatCreateConversationResponseContent( pathTemplate: "\"/chat-api/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessChatCreateConversationResponseContent( pathTemplate: "\"/chat-api/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -337,7 +337,7 @@ partial void ProcessChatCreateConversationResponseContent( pathTemplate: "\"/chat-api/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateEvent.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateEvent.g.cs index d717614..615d20b 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateEvent.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateEvent.g.cs @@ -169,7 +169,7 @@ partial void ProcessChatCreateEventResponseContent( PrepareChatCreateEventRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, + xUserKey: xUserKey, request: request); return __httpRequest; @@ -192,7 +192,7 @@ partial void ProcessChatCreateEventResponseContent( pathTemplate: "\"/chat-api/events\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -226,7 +226,7 @@ partial void ProcessChatCreateEventResponseContent( pathTemplate: "\"/chat-api/events\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -267,7 +267,7 @@ partial void ProcessChatCreateEventResponseContent( pathTemplate: "\"/chat-api/events\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessChatCreateEventResponseContent( pathTemplate: "\"/chat-api/events\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -337,7 +337,7 @@ partial void ProcessChatCreateEventResponseContent( pathTemplate: "\"/chat-api/events\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateMessage.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateMessage.g.cs index 813ed83..6f838a0 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateMessage.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateMessage.g.cs @@ -169,7 +169,7 @@ partial void ProcessChatCreateMessageResponseContent( PrepareChatCreateMessageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, + xUserKey: xUserKey, request: request); return __httpRequest; @@ -192,7 +192,7 @@ partial void ProcessChatCreateMessageResponseContent( pathTemplate: "\"/chat-api/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -226,7 +226,7 @@ partial void ProcessChatCreateMessageResponseContent( pathTemplate: "\"/chat-api/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -267,7 +267,7 @@ partial void ProcessChatCreateMessageResponseContent( pathTemplate: "\"/chat-api/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessChatCreateMessageResponseContent( pathTemplate: "\"/chat-api/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -337,7 +337,7 @@ partial void ProcessChatCreateMessageResponseContent( pathTemplate: "\"/chat-api/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateUser.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateUser.g.cs index c044d49..a548b8a 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateUser.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatCreateUser.g.cs @@ -180,7 +180,7 @@ partial void ProcessChatCreateUserResponseContent( pathTemplate: "\"/chat-api/users\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessChatCreateUserResponseContent( pathTemplate: "\"/chat-api/users\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessChatCreateUserResponseContent( pathTemplate: "\"/chat-api/users\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessChatCreateUserResponseContent( pathTemplate: "\"/chat-api/users\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessChatCreateUserResponseContent( pathTemplate: "\"/chat-api/users\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatDeleteConversation.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatDeleteConversation.g.cs index 9b43096..3638338 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatDeleteConversation.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatDeleteConversation.g.cs @@ -158,8 +158,8 @@ partial void ProcessChatDeleteConversationResponseContent( PrepareChatDeleteConversationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, - id: id!); + xUserKey: xUserKey, + id: id); return __httpRequest; } @@ -181,7 +181,7 @@ partial void ProcessChatDeleteConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -215,7 +215,7 @@ partial void ProcessChatDeleteConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -256,7 +256,7 @@ partial void ProcessChatDeleteConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -304,7 +304,7 @@ partial void ProcessChatDeleteConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -326,7 +326,7 @@ partial void ProcessChatDeleteConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatDeleteMessage.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatDeleteMessage.g.cs index 1ebc74f..0a67a90 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatDeleteMessage.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatDeleteMessage.g.cs @@ -158,8 +158,8 @@ partial void ProcessChatDeleteMessageResponseContent( PrepareChatDeleteMessageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, - id: id!); + xUserKey: xUserKey, + id: id); return __httpRequest; } @@ -181,7 +181,7 @@ partial void ProcessChatDeleteMessageResponseContent( pathTemplate: "$\"/chat-api/messages/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -215,7 +215,7 @@ partial void ProcessChatDeleteMessageResponseContent( pathTemplate: "$\"/chat-api/messages/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -256,7 +256,7 @@ partial void ProcessChatDeleteMessageResponseContent( pathTemplate: "$\"/chat-api/messages/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -304,7 +304,7 @@ partial void ProcessChatDeleteMessageResponseContent( pathTemplate: "$\"/chat-api/messages/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -326,7 +326,7 @@ partial void ProcessChatDeleteMessageResponseContent( pathTemplate: "$\"/chat-api/messages/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatDeleteUser.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatDeleteUser.g.cs index 2b3837c..9b85009 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatDeleteUser.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatDeleteUser.g.cs @@ -150,7 +150,7 @@ partial void ProcessChatDeleteUserResponseContent( PrepareChatDeleteUserRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!); + xUserKey: xUserKey); return __httpRequest; } @@ -172,7 +172,7 @@ partial void ProcessChatDeleteUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -206,7 +206,7 @@ partial void ProcessChatDeleteUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -247,7 +247,7 @@ partial void ProcessChatDeleteUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -295,7 +295,7 @@ partial void ProcessChatDeleteUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -317,7 +317,7 @@ partial void ProcessChatDeleteUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetConversation.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetConversation.g.cs index 0898ee9..c5801e0 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetConversation.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetConversation.g.cs @@ -158,8 +158,8 @@ partial void ProcessChatGetConversationResponseContent( PrepareChatGetConversationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, - id: id!); + xUserKey: xUserKey, + id: id); return __httpRequest; } @@ -181,7 +181,7 @@ partial void ProcessChatGetConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -215,7 +215,7 @@ partial void ProcessChatGetConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -256,7 +256,7 @@ partial void ProcessChatGetConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -304,7 +304,7 @@ partial void ProcessChatGetConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -326,7 +326,7 @@ partial void ProcessChatGetConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetEvent.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetEvent.g.cs index 735df49..acd50e7 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetEvent.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetEvent.g.cs @@ -158,8 +158,8 @@ partial void ProcessChatGetEventResponseContent( PrepareChatGetEventRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, - id: id!); + xUserKey: xUserKey, + id: id); return __httpRequest; } @@ -181,7 +181,7 @@ partial void ProcessChatGetEventResponseContent( pathTemplate: "$\"/chat-api/events/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -215,7 +215,7 @@ partial void ProcessChatGetEventResponseContent( pathTemplate: "$\"/chat-api/events/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -256,7 +256,7 @@ partial void ProcessChatGetEventResponseContent( pathTemplate: "$\"/chat-api/events/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -304,7 +304,7 @@ partial void ProcessChatGetEventResponseContent( pathTemplate: "$\"/chat-api/events/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -326,7 +326,7 @@ partial void ProcessChatGetEventResponseContent( pathTemplate: "$\"/chat-api/events/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetMessage.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetMessage.g.cs index c873e06..f2fe295 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetMessage.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetMessage.g.cs @@ -158,8 +158,8 @@ partial void ProcessChatGetMessageResponseContent( PrepareChatGetMessageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, - id: id!); + xUserKey: xUserKey, + id: id); return __httpRequest; } @@ -181,7 +181,7 @@ partial void ProcessChatGetMessageResponseContent( pathTemplate: "$\"/chat-api/messages/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -215,7 +215,7 @@ partial void ProcessChatGetMessageResponseContent( pathTemplate: "$\"/chat-api/messages/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -256,7 +256,7 @@ partial void ProcessChatGetMessageResponseContent( pathTemplate: "$\"/chat-api/messages/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -304,7 +304,7 @@ partial void ProcessChatGetMessageResponseContent( pathTemplate: "$\"/chat-api/messages/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -326,7 +326,7 @@ partial void ProcessChatGetMessageResponseContent( pathTemplate: "$\"/chat-api/messages/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetOrCreateConversation.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetOrCreateConversation.g.cs index f750e58..4defa08 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetOrCreateConversation.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetOrCreateConversation.g.cs @@ -169,7 +169,7 @@ partial void ProcessChatGetOrCreateConversationResponseContent( PrepareChatGetOrCreateConversationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, + xUserKey: xUserKey, request: request); return __httpRequest; @@ -192,7 +192,7 @@ partial void ProcessChatGetOrCreateConversationResponseContent( pathTemplate: "\"/chat-api/conversations/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -226,7 +226,7 @@ partial void ProcessChatGetOrCreateConversationResponseContent( pathTemplate: "\"/chat-api/conversations/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -267,7 +267,7 @@ partial void ProcessChatGetOrCreateConversationResponseContent( pathTemplate: "\"/chat-api/conversations/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessChatGetOrCreateConversationResponseContent( pathTemplate: "\"/chat-api/conversations/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -337,7 +337,7 @@ partial void ProcessChatGetOrCreateConversationResponseContent( pathTemplate: "\"/chat-api/conversations/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetOrCreateUser.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetOrCreateUser.g.cs index f4720de..7504d18 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetOrCreateUser.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetOrCreateUser.g.cs @@ -169,7 +169,7 @@ partial void ProcessChatGetOrCreateUserResponseContent( PrepareChatGetOrCreateUserRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, + xUserKey: xUserKey, request: request); return __httpRequest; @@ -192,7 +192,7 @@ partial void ProcessChatGetOrCreateUserResponseContent( pathTemplate: "\"/chat-api/users/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -226,7 +226,7 @@ partial void ProcessChatGetOrCreateUserResponseContent( pathTemplate: "\"/chat-api/users/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -267,7 +267,7 @@ partial void ProcessChatGetOrCreateUserResponseContent( pathTemplate: "\"/chat-api/users/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessChatGetOrCreateUserResponseContent( pathTemplate: "\"/chat-api/users/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -337,7 +337,7 @@ partial void ProcessChatGetOrCreateUserResponseContent( pathTemplate: "\"/chat-api/users/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetParticipant.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetParticipant.g.cs index 020d23d..8722b03 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetParticipant.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetParticipant.g.cs @@ -166,9 +166,9 @@ partial void ProcessChatGetParticipantResponseContent( PrepareChatGetParticipantRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, - conversationId: conversationId!, - userId: userId!); + xUserKey: xUserKey, + conversationId: conversationId, + userId: userId); return __httpRequest; } @@ -190,7 +190,7 @@ partial void ProcessChatGetParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants/{userId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessChatGetParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants/{userId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessChatGetParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants/{userId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessChatGetParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants/{userId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessChatGetParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants/{userId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetUser.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetUser.g.cs index 8ce1bc3..37f7cea 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetUser.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatGetUser.g.cs @@ -150,7 +150,7 @@ partial void ProcessChatGetUserResponseContent( PrepareChatGetUserRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!); + xUserKey: xUserKey); return __httpRequest; } @@ -172,7 +172,7 @@ partial void ProcessChatGetUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -206,7 +206,7 @@ partial void ProcessChatGetUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -247,7 +247,7 @@ partial void ProcessChatGetUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -295,7 +295,7 @@ partial void ProcessChatGetUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -317,7 +317,7 @@ partial void ProcessChatGetUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListConversations.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListConversations.g.cs index b908c39..b70b0ac 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListConversations.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListConversations.g.cs @@ -161,7 +161,7 @@ partial void ProcessChatListConversationsResponseContent( PrepareChatListConversationsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, + xUserKey: xUserKey, nextToken: nextToken); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessChatListConversationsResponseContent( pathTemplate: "\"/chat-api/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -218,7 +218,7 @@ partial void ProcessChatListConversationsResponseContent( pathTemplate: "\"/chat-api/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -259,7 +259,7 @@ partial void ProcessChatListConversationsResponseContent( pathTemplate: "\"/chat-api/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessChatListConversationsResponseContent( pathTemplate: "\"/chat-api/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessChatListConversationsResponseContent( pathTemplate: "\"/chat-api/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListMessages.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListMessages.g.cs index 685b742..ee223d2 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListMessages.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListMessages.g.cs @@ -169,9 +169,9 @@ partial void ProcessChatListMessagesResponseContent( PrepareChatListMessagesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, + xUserKey: xUserKey, nextToken: nextToken, - conversationId: conversationId!); + conversationId: conversationId); return __httpRequest; } @@ -193,7 +193,7 @@ partial void ProcessChatListMessagesResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessChatListMessagesResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessChatListMessagesResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessChatListMessagesResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessChatListMessagesResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListParticipants.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListParticipants.g.cs index 9c57112..1f2458c 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListParticipants.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListParticipants.g.cs @@ -169,9 +169,9 @@ partial void ProcessChatListParticipantsResponseContent( PrepareChatListParticipantsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, + xUserKey: xUserKey, nextToken: nextToken, - conversationId: conversationId!); + conversationId: conversationId); return __httpRequest; } @@ -193,7 +193,7 @@ partial void ProcessChatListParticipantsResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessChatListParticipantsResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessChatListParticipantsResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessChatListParticipantsResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessChatListParticipantsResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListenConversation.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListenConversation.g.cs index f18dca3..e0d9f6e 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListenConversation.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatListenConversation.g.cs @@ -158,8 +158,8 @@ partial void ProcessChatListenConversationResponseContent( PrepareChatListenConversationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, - id: id!); + xUserKey: xUserKey, + id: id); return __httpRequest; } @@ -181,7 +181,7 @@ partial void ProcessChatListenConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}/listen\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -215,7 +215,7 @@ partial void ProcessChatListenConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}/listen\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -256,7 +256,7 @@ partial void ProcessChatListenConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}/listen\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -304,7 +304,7 @@ partial void ProcessChatListenConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}/listen\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -326,7 +326,7 @@ partial void ProcessChatListenConversationResponseContent( pathTemplate: "$\"/chat-api/conversations/{id}/listen\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatRemoveParticipant.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatRemoveParticipant.g.cs index fc3518b..874c869 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatRemoveParticipant.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatRemoveParticipant.g.cs @@ -166,9 +166,9 @@ partial void ProcessChatRemoveParticipantResponseContent( PrepareChatRemoveParticipantRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, - conversationId: conversationId!, - userId: userId!); + xUserKey: xUserKey, + conversationId: conversationId, + userId: userId); return __httpRequest; } @@ -190,7 +190,7 @@ partial void ProcessChatRemoveParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants/{userId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessChatRemoveParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants/{userId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessChatRemoveParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants/{userId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessChatRemoveParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants/{userId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessChatRemoveParticipantResponseContent( pathTemplate: "$\"/chat-api/conversations/{conversationId}/participants/{userId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatUpdateUser.g.cs b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatUpdateUser.g.cs index 0f6abb7..e12af23 100644 --- a/src/libs/Botpress/Generated/Botpress.ChatClient.ChatUpdateUser.g.cs +++ b/src/libs/Botpress/Generated/Botpress.ChatClient.ChatUpdateUser.g.cs @@ -169,7 +169,7 @@ partial void ProcessChatUpdateUserResponseContent( PrepareChatUpdateUserRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xUserKey: xUserKey!, + xUserKey: xUserKey, request: request); return __httpRequest; @@ -192,7 +192,7 @@ partial void ProcessChatUpdateUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -226,7 +226,7 @@ partial void ProcessChatUpdateUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -267,7 +267,7 @@ partial void ProcessChatUpdateUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessChatUpdateUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -337,7 +337,7 @@ partial void ProcessChatUpdateUserResponseContent( pathTemplate: "\"/chat-api/users/me\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesCopyFile.g.cs b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesCopyFile.g.cs index 58d9125..a7bcb00 100644 --- a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesCopyFile.g.cs +++ b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesCopyFile.g.cs @@ -229,10 +229,10 @@ await FilesCopyFileAsResponseAsync( PrepareFilesCopyFileRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - idOrKey: idOrKey!, - destinationKey: destinationKey!, + idOrKey: idOrKey, + destinationKey: destinationKey, xDestinationBotId: xDestinationBotId, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -259,7 +259,7 @@ await FilesCopyFileAsResponseAsync( pathTemplate: "$\"/v1/files/{idOrKey}/{destinationKey}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ await FilesCopyFileAsResponseAsync( pathTemplate: "$\"/v1/files/{idOrKey}/{destinationKey}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -334,7 +334,7 @@ await FilesCopyFileAsResponseAsync( pathTemplate: "$\"/v1/files/{idOrKey}/{destinationKey}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await FilesCopyFileAsResponseAsync( pathTemplate: "$\"/v1/files/{idOrKey}/{destinationKey}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -404,7 +404,7 @@ await FilesCopyFileAsResponseAsync( pathTemplate: "$\"/v1/files/{idOrKey}/{destinationKey}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesDeleteFile.g.cs b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesDeleteFile.g.cs index 64534c1..8c3be04 100644 --- a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesDeleteFile.g.cs +++ b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesDeleteFile.g.cs @@ -209,8 +209,8 @@ await FilesDeleteFileAsResponseAsync( PrepareFilesDeleteFileRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await FilesDeleteFileAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await FilesDeleteFileAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await FilesDeleteFileAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await FilesDeleteFileAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await FilesDeleteFileAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesGetFile.g.cs b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesGetFile.g.cs index cc2e50f..79b7f0e 100644 --- a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesGetFile.g.cs +++ b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesGetFile.g.cs @@ -209,8 +209,8 @@ await FilesGetFileAsResponseAsync( PrepareFilesGetFileRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await FilesGetFileAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await FilesGetFileAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await FilesGetFileAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await FilesGetFileAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await FilesGetFileAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFilePassages.g.cs b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFilePassages.g.cs index 58fdc68..309d1a0 100644 --- a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFilePassages.g.cs +++ b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFilePassages.g.cs @@ -230,9 +230,9 @@ await FilesListFilePassagesAsResponseAsync( httpClient: HttpClient, httpRequestMessage: __httpRequest, nextToken: nextToken, - id: id!, + id: id, limit: limit, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -259,7 +259,7 @@ await FilesListFilePassagesAsResponseAsync( pathTemplate: "$\"/v1/files/{id}/passages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ await FilesListFilePassagesAsResponseAsync( pathTemplate: "$\"/v1/files/{id}/passages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -334,7 +334,7 @@ await FilesListFilePassagesAsResponseAsync( pathTemplate: "$\"/v1/files/{id}/passages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await FilesListFilePassagesAsResponseAsync( pathTemplate: "$\"/v1/files/{id}/passages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -404,7 +404,7 @@ await FilesListFilePassagesAsResponseAsync( pathTemplate: "$\"/v1/files/{id}/passages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFileTagValues.g.cs b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFileTagValues.g.cs index 098a318..2216092 100644 --- a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFileTagValues.g.cs +++ b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFileTagValues.g.cs @@ -221,8 +221,8 @@ await FilesListFileTagValuesAsResponseAsync( httpClient: HttpClient, httpRequestMessage: __httpRequest, nextToken: nextToken, - tag: tag!, - xBotId: xBotId!, + tag: tag, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -249,7 +249,7 @@ await FilesListFileTagValuesAsResponseAsync( pathTemplate: "$\"/v1/files/tags/{tag}/values\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ await FilesListFileTagValuesAsResponseAsync( pathTemplate: "$\"/v1/files/tags/{tag}/values\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -324,7 +324,7 @@ await FilesListFileTagValuesAsResponseAsync( pathTemplate: "$\"/v1/files/tags/{tag}/values\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -372,7 +372,7 @@ await FilesListFileTagValuesAsResponseAsync( pathTemplate: "$\"/v1/files/tags/{tag}/values\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -394,7 +394,7 @@ await FilesListFileTagValuesAsResponseAsync( pathTemplate: "$\"/v1/files/tags/{tag}/values\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFileTags.g.cs b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFileTags.g.cs index 4af4dfa..ba78a5d 100644 --- a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFileTags.g.cs +++ b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFileTags.g.cs @@ -213,7 +213,7 @@ await FilesListFileTagsAsResponseAsync( httpClient: HttpClient, httpRequestMessage: __httpRequest, nextToken: nextToken, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -240,7 +240,7 @@ await FilesListFileTagsAsResponseAsync( pathTemplate: "\"/v1/files/tags\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -274,7 +274,7 @@ await FilesListFileTagsAsResponseAsync( pathTemplate: "\"/v1/files/tags\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -315,7 +315,7 @@ await FilesListFileTagsAsResponseAsync( pathTemplate: "\"/v1/files/tags\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -363,7 +363,7 @@ await FilesListFileTagsAsResponseAsync( pathTemplate: "\"/v1/files/tags\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -385,7 +385,7 @@ await FilesListFileTagsAsResponseAsync( pathTemplate: "\"/v1/files/tags\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFiles.g.cs b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFiles.g.cs index b9b3a9e..4bd5710 100644 --- a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFiles.g.cs +++ b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesListFiles.g.cs @@ -263,7 +263,7 @@ await FilesListFilesAsResponseAsync( tags: tags, ids: ids, indexed: indexed, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -290,7 +290,7 @@ await FilesListFilesAsResponseAsync( pathTemplate: "\"/v1/files\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -324,7 +324,7 @@ await FilesListFilesAsResponseAsync( pathTemplate: "\"/v1/files\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -365,7 +365,7 @@ await FilesListFilesAsResponseAsync( pathTemplate: "\"/v1/files\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -413,7 +413,7 @@ await FilesListFilesAsResponseAsync( pathTemplate: "\"/v1/files\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -435,7 +435,7 @@ await FilesListFilesAsResponseAsync( pathTemplate: "\"/v1/files\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesSearchFiles.g.cs b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesSearchFiles.g.cs index 2a86134..53025cc 100644 --- a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesSearchFiles.g.cs +++ b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesSearchFiles.g.cs @@ -267,13 +267,13 @@ await FilesSearchFilesAsResponseAsync( httpClient: HttpClient, httpRequestMessage: __httpRequest, tags: tags, - query: query!, + query: query, contextDepth: contextDepth, limit: limit, consolidate: consolidate, includeBreadcrumb: includeBreadcrumb, withContext: withContext, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -300,7 +300,7 @@ await FilesSearchFilesAsResponseAsync( pathTemplate: "\"/v1/files/search\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ await FilesSearchFilesAsResponseAsync( pathTemplate: "\"/v1/files/search\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -375,7 +375,7 @@ await FilesSearchFilesAsResponseAsync( pathTemplate: "\"/v1/files/search\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -423,7 +423,7 @@ await FilesSearchFilesAsResponseAsync( pathTemplate: "\"/v1/files/search\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -445,7 +445,7 @@ await FilesSearchFilesAsResponseAsync( pathTemplate: "\"/v1/files/search\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesUpdateFileMetadata.g.cs b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesUpdateFileMetadata.g.cs index 8b9026d..55c07cc 100644 --- a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesUpdateFileMetadata.g.cs +++ b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesUpdateFileMetadata.g.cs @@ -209,8 +209,8 @@ await FilesUpdateFileMetadataAsResponseAsync( PrepareFilesUpdateFileMetadataRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await FilesUpdateFileMetadataAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await FilesUpdateFileMetadataAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await FilesUpdateFileMetadataAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await FilesUpdateFileMetadataAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await FilesUpdateFileMetadataAsResponseAsync( pathTemplate: "$\"/v1/files/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesUpsertFile.g.cs b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesUpsertFile.g.cs index c37eb0c..171913c 100644 --- a/src/libs/Botpress/Generated/Botpress.FilesClient.FilesUpsertFile.g.cs +++ b/src/libs/Botpress/Generated/Botpress.FilesClient.FilesUpsertFile.g.cs @@ -201,7 +201,7 @@ await FilesUpsertFileAsResponseAsync( PrepareFilesUpsertFileRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -228,7 +228,7 @@ await FilesUpsertFileAsResponseAsync( pathTemplate: "\"/v1/files\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -262,7 +262,7 @@ await FilesUpsertFileAsResponseAsync( pathTemplate: "\"/v1/files\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -303,7 +303,7 @@ await FilesUpsertFileAsResponseAsync( pathTemplate: "\"/v1/files\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -351,7 +351,7 @@ await FilesUpsertFileAsResponseAsync( pathTemplate: "\"/v1/files\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -373,7 +373,7 @@ await FilesUpsertFileAsResponseAsync( pathTemplate: "\"/v1/files\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.JsonConverters.OneOf11.g.cs b/src/libs/Botpress/Generated/Botpress.JsonConverters.OneOf11.g.cs index 11c0c58..cecde3c 100644 --- a/src/libs/Botpress/Generated/Botpress.JsonConverters.OneOf11.g.cs +++ b/src/libs/Botpress/Generated/Botpress.JsonConverters.OneOf11.g.cs @@ -589,67 +589,67 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue1(), typeInfo); } else if (value.IsValue2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue2(), typeInfo); } else if (value.IsValue3) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue3(), typeInfo); } else if (value.IsValue4) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue4(), typeInfo); } else if (value.IsValue5) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue5(), typeInfo); } else if (value.IsValue6) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value6!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue6(), typeInfo); } else if (value.IsValue7) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value7!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue7(), typeInfo); } else if (value.IsValue8) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value8!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue8(), typeInfo); } else if (value.IsValue9) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value9!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue9(), typeInfo); } else if (value.IsValue10) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T10), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T10).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value10!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue10(), typeInfo); } else if (value.IsValue11) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T11), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T11).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value11!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue11(), typeInfo); } } } diff --git a/src/libs/Botpress/Generated/Botpress.OneOf.11.g.cs b/src/libs/Botpress/Generated/Botpress.OneOf.11.g.cs index b9b77c3..50b7793 100644 --- a/src/libs/Botpress/Generated/Botpress.OneOf.11.g.cs +++ b/src/libs/Botpress/Generated/Botpress.OneOf.11.g.cs @@ -41,8 +41,8 @@ public bool TryPickValue1( /// /// /// - public T1 PickValue1() => IsValue1 - ? Value1! + public T1 PickValue1() => Value1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); /// @@ -78,8 +78,8 @@ public bool TryPickValue2( /// /// /// - public T2 PickValue2() => IsValue2 - ? Value2! + public T2 PickValue2() => Value2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); /// @@ -115,8 +115,8 @@ public bool TryPickValue3( /// /// /// - public T3 PickValue3() => IsValue3 - ? Value3! + public T3 PickValue3() => Value3 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}."); /// @@ -152,8 +152,8 @@ public bool TryPickValue4( /// /// /// - public T4 PickValue4() => IsValue4 - ? Value4! + public T4 PickValue4() => Value4 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value4' but the value was {ToString()}."); /// @@ -189,8 +189,8 @@ public bool TryPickValue5( /// /// /// - public T5 PickValue5() => IsValue5 - ? Value5! + public T5 PickValue5() => Value5 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value5' but the value was {ToString()}."); /// @@ -226,8 +226,8 @@ public bool TryPickValue6( /// /// /// - public T6 PickValue6() => IsValue6 - ? Value6! + public T6 PickValue6() => Value6 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value6' but the value was {ToString()}."); /// @@ -263,8 +263,8 @@ public bool TryPickValue7( /// /// /// - public T7 PickValue7() => IsValue7 - ? Value7! + public T7 PickValue7() => Value7 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value7' but the value was {ToString()}."); /// @@ -300,8 +300,8 @@ public bool TryPickValue8( /// /// /// - public T8 PickValue8() => IsValue8 - ? Value8! + public T8 PickValue8() => Value8 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value8' but the value was {ToString()}."); /// @@ -337,8 +337,8 @@ public bool TryPickValue9( /// /// /// - public T9 PickValue9() => IsValue9 - ? Value9! + public T9 PickValue9() => Value9 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value9' but the value was {ToString()}."); /// @@ -374,8 +374,8 @@ public bool TryPickValue10( /// /// /// - public T10 PickValue10() => IsValue10 - ? Value10! + public T10 PickValue10() => Value10 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value10' but the value was {ToString()}."); /// @@ -411,8 +411,8 @@ public bool TryPickValue11( /// /// /// - public T11 PickValue11() => IsValue11 - ? Value11! + public T11 PickValue11() => Value11 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value11' but the value was {ToString()}."); /// /// @@ -761,49 +761,49 @@ public bool Validate() Validate(); } - if (IsValue1 && value1 != null) + if (Value1 is { } __value0 && value1 != null) { - return value1(Value1!); + return value1(__value0); } - else if (IsValue2 && value2 != null) + else if (Value2 is { } __value1 && value2 != null) { - return value2(Value2!); + return value2(__value1); } - else if (IsValue3 && value3 != null) + else if (Value3 is { } __value2 && value3 != null) { - return value3(Value3!); + return value3(__value2); } - else if (IsValue4 && value4 != null) + else if (Value4 is { } __value3 && value4 != null) { - return value4(Value4!); + return value4(__value3); } - else if (IsValue5 && value5 != null) + else if (Value5 is { } __value4 && value5 != null) { - return value5(Value5!); + return value5(__value4); } - else if (IsValue6 && value6 != null) + else if (Value6 is { } __value5 && value6 != null) { - return value6(Value6!); + return value6(__value5); } - else if (IsValue7 && value7 != null) + else if (Value7 is { } __value6 && value7 != null) { - return value7(Value7!); + return value7(__value6); } - else if (IsValue8 && value8 != null) + else if (Value8 is { } __value7 && value8 != null) { - return value8(Value8!); + return value8(__value7); } - else if (IsValue9 && value9 != null) + else if (Value9 is { } __value8 && value9 != null) { - return value9(Value9!); + return value9(__value8); } - else if (IsValue10 && value10 != null) + else if (Value10 is { } __value9 && value10 != null) { - return value10(Value10!); + return value10(__value9); } - else if (IsValue11 && value11 != null) + else if (Value11 is { } __value10 && value11 != null) { - return value11(Value11!); + return value11(__value10); } return default(TResult); @@ -841,49 +841,49 @@ public void Match( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } - else if (IsValue3) + else if (Value3 is { } __value2) { - value3?.Invoke(Value3!); + value3?.Invoke(__value2); } - else if (IsValue4) + else if (Value4 is { } __value3) { - value4?.Invoke(Value4!); + value4?.Invoke(__value3); } - else if (IsValue5) + else if (Value5 is { } __value4) { - value5?.Invoke(Value5!); + value5?.Invoke(__value4); } - else if (IsValue6) + else if (Value6 is { } __value5) { - value6?.Invoke(Value6!); + value6?.Invoke(__value5); } - else if (IsValue7) + else if (Value7 is { } __value6) { - value7?.Invoke(Value7!); + value7?.Invoke(__value6); } - else if (IsValue8) + else if (Value8 is { } __value7) { - value8?.Invoke(Value8!); + value8?.Invoke(__value7); } - else if (IsValue9) + else if (Value9 is { } __value8) { - value9?.Invoke(Value9!); + value9?.Invoke(__value8); } - else if (IsValue10) + else if (Value10 is { } __value9) { - value10?.Invoke(Value10!); + value10?.Invoke(__value9); } - else if (IsValue11) + else if (Value11 is { } __value10) { - value11?.Invoke(Value11!); + value11?.Invoke(__value10); } } @@ -909,49 +909,49 @@ public void Switch( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } - else if (IsValue3) + else if (Value3 is { } __value2) { - value3?.Invoke(Value3!); + value3?.Invoke(__value2); } - else if (IsValue4) + else if (Value4 is { } __value3) { - value4?.Invoke(Value4!); + value4?.Invoke(__value3); } - else if (IsValue5) + else if (Value5 is { } __value4) { - value5?.Invoke(Value5!); + value5?.Invoke(__value4); } - else if (IsValue6) + else if (Value6 is { } __value5) { - value6?.Invoke(Value6!); + value6?.Invoke(__value5); } - else if (IsValue7) + else if (Value7 is { } __value6) { - value7?.Invoke(Value7!); + value7?.Invoke(__value6); } - else if (IsValue8) + else if (Value8 is { } __value7) { - value8?.Invoke(Value8!); + value8?.Invoke(__value7); } - else if (IsValue9) + else if (Value9 is { } __value8) { - value9?.Invoke(Value9!); + value9?.Invoke(__value8); } - else if (IsValue10) + else if (Value10 is { } __value9) { - value10?.Invoke(Value10!); + value10?.Invoke(__value9); } - else if (IsValue11) + else if (Value11 is { } __value10) { - value11?.Invoke(Value11!); + value11?.Invoke(__value10); } } diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeAddParticipant.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeAddParticipant.g.cs index 1bdfdf3..3fa1128 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeAddParticipant.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeAddParticipant.g.cs @@ -173,8 +173,8 @@ await RuntimeAddParticipantAsResponseAsync( PrepareRuntimeAddParticipantRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -198,7 +198,7 @@ await RuntimeAddParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await RuntimeAddParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await RuntimeAddParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await RuntimeAddParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeAddParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCallAction.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCallAction.g.cs index 81deaf2..4ae93bc 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCallAction.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCallAction.g.cs @@ -165,7 +165,7 @@ await RuntimeCallActionAsResponseAsync( PrepareRuntimeCallActionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -189,7 +189,7 @@ await RuntimeCallActionAsResponseAsync( pathTemplate: "\"/v1/chat/actions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ await RuntimeCallActionAsResponseAsync( pathTemplate: "\"/v1/chat/actions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ await RuntimeCallActionAsResponseAsync( pathTemplate: "\"/v1/chat/actions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ await RuntimeCallActionAsResponseAsync( pathTemplate: "\"/v1/chat/actions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ await RuntimeCallActionAsResponseAsync( pathTemplate: "\"/v1/chat/actions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCancelScheduledEvent.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCancelScheduledEvent.g.cs index db16235..7f3bf73 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCancelScheduledEvent.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCancelScheduledEvent.g.cs @@ -173,8 +173,8 @@ await RuntimeCancelScheduledEventAsResponseAsync( PrepareRuntimeCancelScheduledEventRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -198,7 +198,7 @@ await RuntimeCancelScheduledEventAsResponseAsync( pathTemplate: "$\"/v1/chat/events/scheduled/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await RuntimeCancelScheduledEventAsResponseAsync( pathTemplate: "$\"/v1/chat/events/scheduled/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await RuntimeCancelScheduledEventAsResponseAsync( pathTemplate: "$\"/v1/chat/events/scheduled/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await RuntimeCancelScheduledEventAsResponseAsync( pathTemplate: "$\"/v1/chat/events/scheduled/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeCancelScheduledEventAsResponseAsync( pathTemplate: "$\"/v1/chat/events/scheduled/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeConfigureIntegration.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeConfigureIntegration.g.cs index 86ba142..ae88cb7 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeConfigureIntegration.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeConfigureIntegration.g.cs @@ -165,7 +165,7 @@ await RuntimeConfigureIntegrationAsResponseAsync( PrepareRuntimeConfigureIntegrationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -189,7 +189,7 @@ await RuntimeConfigureIntegrationAsResponseAsync( pathTemplate: "\"/v1/chat/integrations/configure\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ await RuntimeConfigureIntegrationAsResponseAsync( pathTemplate: "\"/v1/chat/integrations/configure\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ await RuntimeConfigureIntegrationAsResponseAsync( pathTemplate: "\"/v1/chat/integrations/configure\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ await RuntimeConfigureIntegrationAsResponseAsync( pathTemplate: "\"/v1/chat/integrations/configure\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ await RuntimeConfigureIntegrationAsResponseAsync( pathTemplate: "\"/v1/chat/integrations/configure\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateConversation.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateConversation.g.cs index 9cf601e..601a51a 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateConversation.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateConversation.g.cs @@ -165,7 +165,7 @@ await RuntimeCreateConversationAsResponseAsync( PrepareRuntimeCreateConversationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -189,7 +189,7 @@ await RuntimeCreateConversationAsResponseAsync( pathTemplate: "\"/v1/chat/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ await RuntimeCreateConversationAsResponseAsync( pathTemplate: "\"/v1/chat/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ await RuntimeCreateConversationAsResponseAsync( pathTemplate: "\"/v1/chat/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ await RuntimeCreateConversationAsResponseAsync( pathTemplate: "\"/v1/chat/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ await RuntimeCreateConversationAsResponseAsync( pathTemplate: "\"/v1/chat/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateEvent.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateEvent.g.cs index 584ce2e..843ebb6 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateEvent.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateEvent.g.cs @@ -165,7 +165,7 @@ await RuntimeCreateEventAsResponseAsync( PrepareRuntimeCreateEventRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -189,7 +189,7 @@ await RuntimeCreateEventAsResponseAsync( pathTemplate: "\"/v1/chat/events\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ await RuntimeCreateEventAsResponseAsync( pathTemplate: "\"/v1/chat/events\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ await RuntimeCreateEventAsResponseAsync( pathTemplate: "\"/v1/chat/events\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ await RuntimeCreateEventAsResponseAsync( pathTemplate: "\"/v1/chat/events\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ await RuntimeCreateEventAsResponseAsync( pathTemplate: "\"/v1/chat/events\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateMessage.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateMessage.g.cs index 196e8ba..6f0fdc0 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateMessage.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateMessage.g.cs @@ -165,7 +165,7 @@ await RuntimeCreateMessageAsResponseAsync( PrepareRuntimeCreateMessageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -189,7 +189,7 @@ await RuntimeCreateMessageAsResponseAsync( pathTemplate: "\"/v1/chat/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ await RuntimeCreateMessageAsResponseAsync( pathTemplate: "\"/v1/chat/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ await RuntimeCreateMessageAsResponseAsync( pathTemplate: "\"/v1/chat/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ await RuntimeCreateMessageAsResponseAsync( pathTemplate: "\"/v1/chat/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ await RuntimeCreateMessageAsResponseAsync( pathTemplate: "\"/v1/chat/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateUser.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateUser.g.cs index 5a42186..76e74e1 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateUser.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeCreateUser.g.cs @@ -165,7 +165,7 @@ await RuntimeCreateUserAsResponseAsync( PrepareRuntimeCreateUserRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -189,7 +189,7 @@ await RuntimeCreateUserAsResponseAsync( pathTemplate: "\"/v1/chat/users\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ await RuntimeCreateUserAsResponseAsync( pathTemplate: "\"/v1/chat/users\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ await RuntimeCreateUserAsResponseAsync( pathTemplate: "\"/v1/chat/users\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ await RuntimeCreateUserAsResponseAsync( pathTemplate: "\"/v1/chat/users\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ await RuntimeCreateUserAsResponseAsync( pathTemplate: "\"/v1/chat/users\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeDeleteConversation.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeDeleteConversation.g.cs index 5358354..ffd014f 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeDeleteConversation.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeDeleteConversation.g.cs @@ -173,8 +173,8 @@ await RuntimeDeleteConversationAsResponseAsync( PrepareRuntimeDeleteConversationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -198,7 +198,7 @@ await RuntimeDeleteConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await RuntimeDeleteConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await RuntimeDeleteConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await RuntimeDeleteConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeDeleteConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeDeleteMessage.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeDeleteMessage.g.cs index 9a305ee..e904954 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeDeleteMessage.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeDeleteMessage.g.cs @@ -173,8 +173,8 @@ await RuntimeDeleteMessageAsResponseAsync( PrepareRuntimeDeleteMessageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -198,7 +198,7 @@ await RuntimeDeleteMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await RuntimeDeleteMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await RuntimeDeleteMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await RuntimeDeleteMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeDeleteMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeDeleteUser.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeDeleteUser.g.cs index 8f5e18e..d7f29bb 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeDeleteUser.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeDeleteUser.g.cs @@ -173,8 +173,8 @@ await RuntimeDeleteUserAsResponseAsync( PrepareRuntimeDeleteUserRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -198,7 +198,7 @@ await RuntimeDeleteUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await RuntimeDeleteUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await RuntimeDeleteUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await RuntimeDeleteUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeDeleteUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetConversation.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetConversation.g.cs index 0e76651..49c41e6 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetConversation.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetConversation.g.cs @@ -173,8 +173,8 @@ await RuntimeGetConversationAsResponseAsync( PrepareRuntimeGetConversationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -198,7 +198,7 @@ await RuntimeGetConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await RuntimeGetConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await RuntimeGetConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await RuntimeGetConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeGetConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetEvent.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetEvent.g.cs index 60f5203..3cb66de 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetEvent.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetEvent.g.cs @@ -173,8 +173,8 @@ await RuntimeGetEventAsResponseAsync( PrepareRuntimeGetEventRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -198,7 +198,7 @@ await RuntimeGetEventAsResponseAsync( pathTemplate: "$\"/v1/chat/events/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await RuntimeGetEventAsResponseAsync( pathTemplate: "$\"/v1/chat/events/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await RuntimeGetEventAsResponseAsync( pathTemplate: "$\"/v1/chat/events/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await RuntimeGetEventAsResponseAsync( pathTemplate: "$\"/v1/chat/events/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeGetEventAsResponseAsync( pathTemplate: "$\"/v1/chat/events/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetMessage.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetMessage.g.cs index 9e2fa18..18008df 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetMessage.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetMessage.g.cs @@ -173,8 +173,8 @@ await RuntimeGetMessageAsResponseAsync( PrepareRuntimeGetMessageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -198,7 +198,7 @@ await RuntimeGetMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await RuntimeGetMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await RuntimeGetMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await RuntimeGetMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeGetMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrCreateConversation.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrCreateConversation.g.cs index 811f5a4..1eb195a 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrCreateConversation.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrCreateConversation.g.cs @@ -165,7 +165,7 @@ await RuntimeGetOrCreateConversationAsResponseAsync( PrepareRuntimeGetOrCreateConversationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -189,7 +189,7 @@ await RuntimeGetOrCreateConversationAsResponseAsync( pathTemplate: "\"/v1/chat/conversations/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ await RuntimeGetOrCreateConversationAsResponseAsync( pathTemplate: "\"/v1/chat/conversations/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ await RuntimeGetOrCreateConversationAsResponseAsync( pathTemplate: "\"/v1/chat/conversations/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ await RuntimeGetOrCreateConversationAsResponseAsync( pathTemplate: "\"/v1/chat/conversations/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ await RuntimeGetOrCreateConversationAsResponseAsync( pathTemplate: "\"/v1/chat/conversations/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrCreateMessage.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrCreateMessage.g.cs index e430599..ccbcba0 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrCreateMessage.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrCreateMessage.g.cs @@ -165,7 +165,7 @@ await RuntimeGetOrCreateMessageAsResponseAsync( PrepareRuntimeGetOrCreateMessageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -189,7 +189,7 @@ await RuntimeGetOrCreateMessageAsResponseAsync( pathTemplate: "\"/v1/chat/messages/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ await RuntimeGetOrCreateMessageAsResponseAsync( pathTemplate: "\"/v1/chat/messages/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ await RuntimeGetOrCreateMessageAsResponseAsync( pathTemplate: "\"/v1/chat/messages/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ await RuntimeGetOrCreateMessageAsResponseAsync( pathTemplate: "\"/v1/chat/messages/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ await RuntimeGetOrCreateMessageAsResponseAsync( pathTemplate: "\"/v1/chat/messages/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrCreateUser.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrCreateUser.g.cs index 5e53e69..4d3f191 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrCreateUser.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrCreateUser.g.cs @@ -165,7 +165,7 @@ await RuntimeGetOrCreateUserAsResponseAsync( PrepareRuntimeGetOrCreateUserRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -189,7 +189,7 @@ await RuntimeGetOrCreateUserAsResponseAsync( pathTemplate: "\"/v1/chat/users/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ await RuntimeGetOrCreateUserAsResponseAsync( pathTemplate: "\"/v1/chat/users/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ await RuntimeGetOrCreateUserAsResponseAsync( pathTemplate: "\"/v1/chat/users/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ await RuntimeGetOrCreateUserAsResponseAsync( pathTemplate: "\"/v1/chat/users/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ await RuntimeGetOrCreateUserAsResponseAsync( pathTemplate: "\"/v1/chat/users/get-or-create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrSetState.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrSetState.g.cs index 2ab7c13..93a2337 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrSetState.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetOrSetState.g.cs @@ -189,10 +189,10 @@ await RuntimeGetOrSetStateAsResponseAsync( PrepareRuntimeGetOrSetStateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - type: type!, - id: id!, - name: name!, - xBotId: xBotId!, + type: type, + id: id, + name: name, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -216,7 +216,7 @@ await RuntimeGetOrSetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/get-or-set\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -250,7 +250,7 @@ await RuntimeGetOrSetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/get-or-set\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -291,7 +291,7 @@ await RuntimeGetOrSetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/get-or-set\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ await RuntimeGetOrSetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/get-or-set\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ await RuntimeGetOrSetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/get-or-set\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetParticipant.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetParticipant.g.cs index 237f65c..1098c53 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetParticipant.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetParticipant.g.cs @@ -181,9 +181,9 @@ await RuntimeGetParticipantAsResponseAsync( PrepareRuntimeGetParticipantRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - userId: userId!, - xBotId: xBotId!, + id: id, + userId: userId, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -207,7 +207,7 @@ await RuntimeGetParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants/{userId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -241,7 +241,7 @@ await RuntimeGetParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants/{userId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -282,7 +282,7 @@ await RuntimeGetParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants/{userId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -330,7 +330,7 @@ await RuntimeGetParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants/{userId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -352,7 +352,7 @@ await RuntimeGetParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants/{userId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetState.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetState.g.cs index d834636..49dc376 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetState.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetState.g.cs @@ -189,10 +189,10 @@ await RuntimeGetStateAsResponseAsync( PrepareRuntimeGetStateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - type: type!, - id: id!, - name: name!, - xBotId: xBotId!, + type: type, + id: id, + name: name, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -216,7 +216,7 @@ await RuntimeGetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -250,7 +250,7 @@ await RuntimeGetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -291,7 +291,7 @@ await RuntimeGetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ await RuntimeGetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ await RuntimeGetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetUser.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetUser.g.cs index ccf2674..da0a26b 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetUser.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeGetUser.g.cs @@ -173,8 +173,8 @@ await RuntimeGetUserAsResponseAsync( PrepareRuntimeGetUserRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -198,7 +198,7 @@ await RuntimeGetUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await RuntimeGetUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await RuntimeGetUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await RuntimeGetUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeGetUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListConversations.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListConversations.g.cs index 7bce2c8..1b5167b 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListConversations.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListConversations.g.cs @@ -257,7 +257,7 @@ await RuntimeListConversationsAsResponseAsync( channel: channel, afterDate: afterDate, beforeDate: beforeDate, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -281,7 +281,7 @@ await RuntimeListConversationsAsResponseAsync( pathTemplate: "\"/v1/chat/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ await RuntimeListConversationsAsResponseAsync( pathTemplate: "\"/v1/chat/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -356,7 +356,7 @@ await RuntimeListConversationsAsResponseAsync( pathTemplate: "\"/v1/chat/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -404,7 +404,7 @@ await RuntimeListConversationsAsResponseAsync( pathTemplate: "\"/v1/chat/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -426,7 +426,7 @@ await RuntimeListConversationsAsResponseAsync( pathTemplate: "\"/v1/chat/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListEvents.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListEvents.g.cs index d081421..98ecf29 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListEvents.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListEvents.g.cs @@ -237,7 +237,7 @@ await RuntimeListEventsAsResponseAsync( messageId: messageId, workflowId: workflowId, status: status, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -261,7 +261,7 @@ await RuntimeListEventsAsResponseAsync( pathTemplate: "\"/v1/chat/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -295,7 +295,7 @@ await RuntimeListEventsAsResponseAsync( pathTemplate: "\"/v1/chat/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -336,7 +336,7 @@ await RuntimeListEventsAsResponseAsync( pathTemplate: "\"/v1/chat/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -384,7 +384,7 @@ await RuntimeListEventsAsResponseAsync( pathTemplate: "\"/v1/chat/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -406,7 +406,7 @@ await RuntimeListEventsAsResponseAsync( pathTemplate: "\"/v1/chat/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListMessages.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListMessages.g.cs index 2ca9992..ca311d7 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListMessages.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListMessages.g.cs @@ -217,7 +217,7 @@ await RuntimeListMessagesAsResponseAsync( tags: tags, afterDate: afterDate, beforeDate: beforeDate, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -241,7 +241,7 @@ await RuntimeListMessagesAsResponseAsync( pathTemplate: "\"/v1/chat/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -275,7 +275,7 @@ await RuntimeListMessagesAsResponseAsync( pathTemplate: "\"/v1/chat/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -316,7 +316,7 @@ await RuntimeListMessagesAsResponseAsync( pathTemplate: "\"/v1/chat/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -364,7 +364,7 @@ await RuntimeListMessagesAsResponseAsync( pathTemplate: "\"/v1/chat/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -386,7 +386,7 @@ await RuntimeListMessagesAsResponseAsync( pathTemplate: "\"/v1/chat/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListParticipants.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListParticipants.g.cs index 5c59657..874b80a 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListParticipants.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListParticipants.g.cs @@ -185,8 +185,8 @@ await RuntimeListParticipantsAsResponseAsync( httpClient: HttpClient, httpRequestMessage: __httpRequest, nextToken: nextToken, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -210,7 +210,7 @@ await RuntimeListParticipantsAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -244,7 +244,7 @@ await RuntimeListParticipantsAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -285,7 +285,7 @@ await RuntimeListParticipantsAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -333,7 +333,7 @@ await RuntimeListParticipantsAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -355,7 +355,7 @@ await RuntimeListParticipantsAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListTagValues.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListTagValues.g.cs index b1864c3..47337a7 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListTagValues.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListTagValues.g.cs @@ -194,9 +194,9 @@ await RuntimeListTagValuesAsResponseAsync( httpClient: HttpClient, httpRequestMessage: __httpRequest, nextToken: nextToken, - key: key!, - type: type!, - xBotId: xBotId!, + key: key, + type: type, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -220,7 +220,7 @@ await RuntimeListTagValuesAsResponseAsync( pathTemplate: "$\"/v1/chat/tags/{key}/values\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -254,7 +254,7 @@ await RuntimeListTagValuesAsResponseAsync( pathTemplate: "$\"/v1/chat/tags/{key}/values\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -295,7 +295,7 @@ await RuntimeListTagValuesAsResponseAsync( pathTemplate: "$\"/v1/chat/tags/{key}/values\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeListTagValuesAsResponseAsync( pathTemplate: "$\"/v1/chat/tags/{key}/values\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -365,7 +365,7 @@ await RuntimeListTagValuesAsResponseAsync( pathTemplate: "$\"/v1/chat/tags/{key}/values\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListUsers.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListUsers.g.cs index be9c91b..9c59e39 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListUsers.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeListUsers.g.cs @@ -247,7 +247,7 @@ await RuntimeListUsersAsResponseAsync( rangeField: rangeField, sortField: sortField, sortDirection: sortDirection, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -271,7 +271,7 @@ await RuntimeListUsersAsResponseAsync( pathTemplate: "\"/v1/chat/users\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ await RuntimeListUsersAsResponseAsync( pathTemplate: "\"/v1/chat/users\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -346,7 +346,7 @@ await RuntimeListUsersAsResponseAsync( pathTemplate: "\"/v1/chat/users\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -394,7 +394,7 @@ await RuntimeListUsersAsResponseAsync( pathTemplate: "\"/v1/chat/users\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -416,7 +416,7 @@ await RuntimeListUsersAsResponseAsync( pathTemplate: "\"/v1/chat/users\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimePatchState.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimePatchState.g.cs index 91e143f..83b3b7c 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimePatchState.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimePatchState.g.cs @@ -189,10 +189,10 @@ await RuntimePatchStateAsResponseAsync( PrepareRuntimePatchStateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - type: type!, - id: id!, - name: name!, - xBotId: xBotId!, + type: type, + id: id, + name: name, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -216,7 +216,7 @@ await RuntimePatchStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -250,7 +250,7 @@ await RuntimePatchStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -291,7 +291,7 @@ await RuntimePatchStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ await RuntimePatchStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ await RuntimePatchStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeRemoveParticipant.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeRemoveParticipant.g.cs index 915f92d..5ef4377 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeRemoveParticipant.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeRemoveParticipant.g.cs @@ -181,9 +181,9 @@ await RuntimeRemoveParticipantAsResponseAsync( PrepareRuntimeRemoveParticipantRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - userId: userId!, - xBotId: xBotId!, + id: id, + userId: userId, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -207,7 +207,7 @@ await RuntimeRemoveParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants/{userId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -241,7 +241,7 @@ await RuntimeRemoveParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants/{userId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -282,7 +282,7 @@ await RuntimeRemoveParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants/{userId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -330,7 +330,7 @@ await RuntimeRemoveParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants/{userId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -352,7 +352,7 @@ await RuntimeRemoveParticipantAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}/participants/{userId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetState.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetState.g.cs index cd816dd..7ecb0bd 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetState.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetState.g.cs @@ -189,10 +189,10 @@ await RuntimeSetStateAsResponseAsync( PrepareRuntimeSetStateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - type: type!, - id: id!, - name: name!, - xBotId: xBotId!, + type: type, + id: id, + name: name, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -216,7 +216,7 @@ await RuntimeSetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -250,7 +250,7 @@ await RuntimeSetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -291,7 +291,7 @@ await RuntimeSetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ await RuntimeSetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ await RuntimeSetStateAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetStateExpiry.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetStateExpiry.g.cs index 8bccec0..74b1502 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetStateExpiry.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeSetStateExpiry.g.cs @@ -189,10 +189,10 @@ await RuntimeSetStateExpiryAsResponseAsync( PrepareRuntimeSetStateExpiryRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - type: type!, - id: id!, - name: name!, - xBotId: xBotId!, + type: type, + id: id, + name: name, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -216,7 +216,7 @@ await RuntimeSetStateExpiryAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/expiry\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -250,7 +250,7 @@ await RuntimeSetStateExpiryAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/expiry\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -291,7 +291,7 @@ await RuntimeSetStateExpiryAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/expiry\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ await RuntimeSetStateExpiryAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/expiry\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ await RuntimeSetStateExpiryAsResponseAsync( pathTemplate: "$\"/v1/chat/states/{(global::System.Uri.EscapeDataString(type.ToValueString()))}/{id}/{name}/expiry\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeUpdateConversation.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeUpdateConversation.g.cs index e1566e8..7b384a3 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeUpdateConversation.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeUpdateConversation.g.cs @@ -173,8 +173,8 @@ await RuntimeUpdateConversationAsResponseAsync( PrepareRuntimeUpdateConversationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -198,7 +198,7 @@ await RuntimeUpdateConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await RuntimeUpdateConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await RuntimeUpdateConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await RuntimeUpdateConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeUpdateConversationAsResponseAsync( pathTemplate: "$\"/v1/chat/conversations/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeUpdateMessage.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeUpdateMessage.g.cs index 83d6ece..2facf12 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeUpdateMessage.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeUpdateMessage.g.cs @@ -173,8 +173,8 @@ await RuntimeUpdateMessageAsResponseAsync( PrepareRuntimeUpdateMessageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -198,7 +198,7 @@ await RuntimeUpdateMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await RuntimeUpdateMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await RuntimeUpdateMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await RuntimeUpdateMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeUpdateMessageAsResponseAsync( pathTemplate: "$\"/v1/chat/messages/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeUpdateUser.g.cs b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeUpdateUser.g.cs index 306271c..ee42fac 100644 --- a/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeUpdateUser.g.cs +++ b/src/libs/Botpress/Generated/Botpress.RuntimeClient.RuntimeUpdateUser.g.cs @@ -173,8 +173,8 @@ await RuntimeUpdateUserAsResponseAsync( PrepareRuntimeUpdateUserRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, - xBotId: xBotId!, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias); @@ -198,7 +198,7 @@ await RuntimeUpdateUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ await RuntimeUpdateUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ await RuntimeUpdateUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ await RuntimeUpdateUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ await RuntimeUpdateUserAsResponseAsync( pathTemplate: "$\"/v1/chat/users/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesCreateTable.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesCreateTable.g.cs index 816a51f..5dc3c14 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesCreateTable.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesCreateTable.g.cs @@ -201,7 +201,7 @@ await TablesCreateTableAsResponseAsync( PrepareTablesCreateTableRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -228,7 +228,7 @@ await TablesCreateTableAsResponseAsync( pathTemplate: "\"/v1/tables\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -262,7 +262,7 @@ await TablesCreateTableAsResponseAsync( pathTemplate: "\"/v1/tables\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -303,7 +303,7 @@ await TablesCreateTableAsResponseAsync( pathTemplate: "\"/v1/tables\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -351,7 +351,7 @@ await TablesCreateTableAsResponseAsync( pathTemplate: "\"/v1/tables\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -373,7 +373,7 @@ await TablesCreateTableAsResponseAsync( pathTemplate: "\"/v1/tables\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesCreateTableRows.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesCreateTableRows.g.cs index ad7a168..7a6488e 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesCreateTableRows.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesCreateTableRows.g.cs @@ -209,8 +209,8 @@ await TablesCreateTableRowsAsResponseAsync( PrepareTablesCreateTableRowsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - table: table!, - xBotId: xBotId!, + table: table, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await TablesCreateTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await TablesCreateTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await TablesCreateTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await TablesCreateTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await TablesCreateTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesDeleteTable.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesDeleteTable.g.cs index 5d0fb5c..f15aa36 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesDeleteTable.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesDeleteTable.g.cs @@ -209,8 +209,8 @@ await TablesDeleteTableAsResponseAsync( PrepareTablesDeleteTableRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - table: table!, - xBotId: xBotId!, + table: table, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await TablesDeleteTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await TablesDeleteTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await TablesDeleteTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await TablesDeleteTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await TablesDeleteTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesDeleteTableRows.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesDeleteTableRows.g.cs index d6d8104..8ec1ab1 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesDeleteTableRows.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesDeleteTableRows.g.cs @@ -209,8 +209,8 @@ await TablesDeleteTableRowsAsResponseAsync( PrepareTablesDeleteTableRowsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - table: table!, - xBotId: xBotId!, + table: table, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await TablesDeleteTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await TablesDeleteTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await TablesDeleteTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await TablesDeleteTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await TablesDeleteTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesDuplicateTable.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesDuplicateTable.g.cs index 54bb33f..73f814b 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesDuplicateTable.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesDuplicateTable.g.cs @@ -209,8 +209,8 @@ await TablesDuplicateTableAsResponseAsync( PrepareTablesDuplicateTableRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - sourceTableId: sourceTableId!, - xBotId: xBotId!, + sourceTableId: sourceTableId, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await TablesDuplicateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{sourceTableId}/duplicate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await TablesDuplicateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{sourceTableId}/duplicate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await TablesDuplicateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{sourceTableId}/duplicate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await TablesDuplicateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{sourceTableId}/duplicate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await TablesDuplicateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{sourceTableId}/duplicate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesFindTableRows.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesFindTableRows.g.cs index 17fb84a..e80f87f 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesFindTableRows.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesFindTableRows.g.cs @@ -209,8 +209,8 @@ await TablesFindTableRowsAsResponseAsync( PrepareTablesFindTableRowsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - table: table!, - xBotId: xBotId!, + table: table, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await TablesFindTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/find\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await TablesFindTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/find\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await TablesFindTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/find\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await TablesFindTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/find\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await TablesFindTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/find\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesGetOrCreateTable.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesGetOrCreateTable.g.cs index 4d6437c..f29176e 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesGetOrCreateTable.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesGetOrCreateTable.g.cs @@ -209,8 +209,8 @@ await TablesGetOrCreateTableAsResponseAsync( PrepareTablesGetOrCreateTableRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - table: table!, - xBotId: xBotId!, + table: table, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await TablesGetOrCreateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await TablesGetOrCreateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await TablesGetOrCreateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await TablesGetOrCreateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await TablesGetOrCreateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesGetTable.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesGetTable.g.cs index 637fc1b..a2723b9 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesGetTable.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesGetTable.g.cs @@ -209,8 +209,8 @@ await TablesGetTableAsResponseAsync( PrepareTablesGetTableRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - table: table!, - xBotId: xBotId!, + table: table, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await TablesGetTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await TablesGetTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await TablesGetTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await TablesGetTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await TablesGetTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesGetTableRow.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesGetTableRow.g.cs index 83fabd9..799c29f 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesGetTableRow.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesGetTableRow.g.cs @@ -155,7 +155,7 @@ await TablesGetTableRowAsResponseAsync( path: $"/v1/tables/{table}/row", baseUri: HttpClient.BaseAddress); __pathBuilder - .AddRequiredParameter("id", id.ToString()!) + .AddRequiredParameter("id", id.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) ; var __path = __pathBuilder.ToString(); __path = global::Botpress.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -220,9 +220,9 @@ await TablesGetTableRowAsResponseAsync( PrepareTablesGetTableRowRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - table: table!, - id: id!, - xBotId: xBotId!, + table: table, + id: id, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -249,7 +249,7 @@ await TablesGetTableRowAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/row\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ await TablesGetTableRowAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/row\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -324,7 +324,7 @@ await TablesGetTableRowAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/row\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -372,7 +372,7 @@ await TablesGetTableRowAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/row\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -394,7 +394,7 @@ await TablesGetTableRowAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/row\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesListTables.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesListTables.g.cs index 464dd99..4a01a07 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesListTables.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesListTables.g.cs @@ -213,7 +213,7 @@ await TablesListTablesAsResponseAsync( httpClient: HttpClient, httpRequestMessage: __httpRequest, tags: tags, - xBotId: xBotId!, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -240,7 +240,7 @@ await TablesListTablesAsResponseAsync( pathTemplate: "\"/v1/tables\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -274,7 +274,7 @@ await TablesListTablesAsResponseAsync( pathTemplate: "\"/v1/tables\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -315,7 +315,7 @@ await TablesListTablesAsResponseAsync( pathTemplate: "\"/v1/tables\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -363,7 +363,7 @@ await TablesListTablesAsResponseAsync( pathTemplate: "\"/v1/tables\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -385,7 +385,7 @@ await TablesListTablesAsResponseAsync( pathTemplate: "\"/v1/tables\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesRenameTableColumn.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesRenameTableColumn.g.cs index 23904f7..eed0c29 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesRenameTableColumn.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesRenameTableColumn.g.cs @@ -209,8 +209,8 @@ await TablesRenameTableColumnAsResponseAsync( PrepareTablesRenameTableColumnRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - table: table!, - xBotId: xBotId!, + table: table, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await TablesRenameTableColumnAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/column\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await TablesRenameTableColumnAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/column\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await TablesRenameTableColumnAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/column\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await TablesRenameTableColumnAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/column\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await TablesRenameTableColumnAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/column\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesUpdateTable.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesUpdateTable.g.cs index f28d0ad..ed4b115 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesUpdateTable.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesUpdateTable.g.cs @@ -209,8 +209,8 @@ await TablesUpdateTableAsResponseAsync( PrepareTablesUpdateTableRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - table: table!, - xBotId: xBotId!, + table: table, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await TablesUpdateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await TablesUpdateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await TablesUpdateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await TablesUpdateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await TablesUpdateTableAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesUpdateTableRows.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesUpdateTableRows.g.cs index cd9e2db..51972cf 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesUpdateTableRows.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesUpdateTableRows.g.cs @@ -209,8 +209,8 @@ await TablesUpdateTableRowsAsResponseAsync( PrepareTablesUpdateTableRowsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - table: table!, - xBotId: xBotId!, + table: table, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await TablesUpdateTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await TablesUpdateTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await TablesUpdateTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await TablesUpdateTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await TablesUpdateTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesUpsertTableRows.g.cs b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesUpsertTableRows.g.cs index b9f041c..b2ac98d 100644 --- a/src/libs/Botpress/Generated/Botpress.TablesClient.TablesUpsertTableRows.g.cs +++ b/src/libs/Botpress/Generated/Botpress.TablesClient.TablesUpsertTableRows.g.cs @@ -209,8 +209,8 @@ await TablesUpsertTableRowsAsResponseAsync( PrepareTablesUpsertTableRowsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - table: table!, - xBotId: xBotId!, + table: table, + xBotId: xBotId, xIntegrationId: xIntegrationId, xIntegrationAlias: xIntegrationAlias, xIntegrationName: xIntegrationName, @@ -237,7 +237,7 @@ await TablesUpsertTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/upsert\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -271,7 +271,7 @@ await TablesUpsertTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/upsert\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -312,7 +312,7 @@ await TablesUpsertTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/upsert\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ await TablesUpsertTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/upsert\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ await TablesUpsertTableRowsAsResponseAsync( pathTemplate: "$\"/v1/tables/{table}/rows/upsert\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options,