From 410f8dae23d0c718bf7be6888c579d4eda4de93e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 16 Jun 2026 11:13:17 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- src/libs/Dust/Generated/Dust.DustClient.g.cs | 10 + src/libs/Dust/Generated/Dust.IDustClient.g.cs | 5 + ...ntClient.GetWByWIdAssistantGoTemplate.g.cs | 36 + .../Dust.IPrivateAssistantClient.g.cs | 69 ++ .../Generated/Dust.JsonSerializerContext.g.cs | 17 +- .../Dust.JsonSerializerContextTypes.g.cs | 968 +++++++++--------- ...s.GetGoTemplateDraftResponseBody.Json.g.cs | 92 ++ ...Models.GetGoTemplateDraftResponseBody.g.cs | 75 ++ ...plateDraftResponseBodyAttachment.Json.g.cs | 92 ++ ...GoTemplateDraftResponseBodyAttachment.g.cs | 85 ++ ...DraftResponseBodyAttachmentError.Json.g.cs | 92 ++ ...plateDraftResponseBodyAttachmentError.g.cs | 55 + ...ntClient.GetWByWIdAssistantGoTemplate.g.cs | 517 ++++++++++ .../Dust.PrivateAssistantClient.g.cs | 284 +++++ src/libs/Dust/openapi.yaml | 118 +++ 15 files changed, 2040 insertions(+), 475 deletions(-) create mode 100644 src/libs/Dust/Generated/Dust.IPrivateAssistantClient.GetWByWIdAssistantGoTemplate.g.cs create mode 100644 src/libs/Dust/Generated/Dust.IPrivateAssistantClient.g.cs create mode 100644 src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBody.Json.g.cs create mode 100644 src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBody.g.cs create mode 100644 src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachment.Json.g.cs create mode 100644 src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachment.g.cs create mode 100644 src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachmentError.Json.g.cs create mode 100644 src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachmentError.g.cs create mode 100644 src/libs/Dust/Generated/Dust.PrivateAssistantClient.GetWByWIdAssistantGoTemplate.g.cs create mode 100644 src/libs/Dust/Generated/Dust.PrivateAssistantClient.g.cs diff --git a/src/libs/Dust/Generated/Dust.DustClient.g.cs b/src/libs/Dust/Generated/Dust.DustClient.g.cs index bea3759..fbbccac 100644 --- a/src/libs/Dust/Generated/Dust.DustClient.g.cs +++ b/src/libs/Dust/Generated/Dust.DustClient.g.cs @@ -133,6 +133,16 @@ public sealed partial class DustClient : global::Dust.IDustClient, global::Syste AutoSDKServerConfiguration = AutoSDKServerConfiguration, }; + /// + /// + /// + public PrivateAssistantClient PrivateAssistant => new PrivateAssistantClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContext = JsonSerializerContext, + AutoSDKServerConfiguration = AutoSDKServerConfiguration, + }; + /// /// Private API - Authentication (WorkOS). /// diff --git a/src/libs/Dust/Generated/Dust.IDustClient.g.cs b/src/libs/Dust/Generated/Dust.IDustClient.g.cs index f717f7c..5f586d2 100644 --- a/src/libs/Dust/Generated/Dust.IDustClient.g.cs +++ b/src/libs/Dust/Generated/Dust.IDustClient.g.cs @@ -111,6 +111,11 @@ public partial interface IDustClient : global::System.IDisposable /// public PrivateAgentsClient PrivateAgents { get; } + /// + /// + /// + public PrivateAssistantClient PrivateAssistant { get; } + /// /// Private API - Authentication (WorkOS). /// diff --git a/src/libs/Dust/Generated/Dust.IPrivateAssistantClient.GetWByWIdAssistantGoTemplate.g.cs b/src/libs/Dust/Generated/Dust.IPrivateAssistantClient.GetWByWIdAssistantGoTemplate.g.cs new file mode 100644 index 0000000..4b4e638 --- /dev/null +++ b/src/libs/Dust/Generated/Dust.IPrivateAssistantClient.GetWByWIdAssistantGoTemplate.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace Dust +{ + public partial interface IPrivateAssistantClient + { + /// + /// Resolve a conversation go template draft
+ /// Fetches a Contentful conversation go template by slug and returns a composer-ready draft with optional pre-uploaded attachments. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetWByWIdAssistantGoTemplateAsync( + string wId, + string slug, + global::Dust.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Resolve a conversation go template draft
+ /// Fetches a Contentful conversation go template by slug and returns a composer-ready draft with optional pre-uploaded attachments. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetWByWIdAssistantGoTemplateAsResponseAsync( + string wId, + string slug, + global::Dust.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Dust/Generated/Dust.IPrivateAssistantClient.g.cs b/src/libs/Dust/Generated/Dust.IPrivateAssistantClient.g.cs new file mode 100644 index 0000000..fc3f93a --- /dev/null +++ b/src/libs/Dust/Generated/Dust.IPrivateAssistantClient.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace Dust +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPrivateAssistantClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + + /// + /// The server options available for this client. + /// + public global::System.Collections.Generic.IReadOnlyList AvailableServers { get; } + + /// + /// The currently selected server for this client, if any. + /// + public global::Dust.AutoSDKServer? SelectedServer { get; set; } + + /// + /// Selects one of the generated server options by id. + /// + public bool TrySelectServer(string serverId); + + /// + /// Clears the currently selected server. + /// + public void ClearSelectedServer(); + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::Dust.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs b/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs index eee7045..04de8e0 100644 --- a/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs +++ b/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs @@ -628,6 +628,11 @@ namespace Dust [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateLightAgentConfigurationEditor))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateLightAgentConfigurationUsage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateLightAgentConfigurationFeedbacks))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetGoTemplateDraftResponseBody))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetGoTemplateDraftResponseBodyAttachment))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetGoTemplateDraftResponseBodyAttachmentError))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateFileWithUploadUrl))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateFileWithUploadUrlStatus), TypeInfoPropertyName = "PrivateFileWithUploadUrlStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateFileWithUploadUrlUseCase), TypeInfoPropertyName = "PrivateFileWithUploadUrlUseCase2")] @@ -1038,11 +1043,6 @@ namespace Dust [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWSpacesResponse3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.OneOf), TypeInfoPropertyName = "OneOfPrivateSpacePrivateProject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.CreateWSpacesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.CreateWorkosAuthenticateResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.CreateWorkosRevokeSessionResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1586,6 +1586,11 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex })] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.OneOf), TypeInfoPropertyName = "PatchWAssistantConversationsRequestVariant4_c4fb3fa444308b4c")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.OneOf?), TypeInfoPropertyName = "PatchWAssistantConversationsRequestVariant4_2edd0c100c08755a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.CreateWSpacesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.CreateWorkosAuthenticateResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.CreateWorkosRevokeSessionResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] @@ -1599,6 +1604,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] diff --git a/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs b/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs index 0b855af..256c7c4 100644 --- a/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs +++ b/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs @@ -356,1655 +356,1675 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Dust.PrivateFileWithUploadUrl? Type82 { get; set; } + public global::Dust.GetGoTemplateDraftResponseBody? Type82 { get; set; } /// /// /// - public global::Dust.PrivateFileWithUploadUrlStatus? Type83 { get; set; } + public global::System.Collections.Generic.IList? Type83 { get; set; } /// /// /// - public global::Dust.PrivateFileWithUploadUrlUseCase? Type84 { get; set; } + public global::Dust.GetGoTemplateDraftResponseBodyAttachment? Type84 { get; set; } /// /// /// - public global::Dust.PrivateSpace? Type85 { get; set; } + public global::System.Collections.Generic.IList? Type85 { get; set; } /// /// /// - public global::Dust.PrivateSpaceKind? Type86 { get; set; } + public global::Dust.GetGoTemplateDraftResponseBodyAttachmentError? Type86 { get; set; } /// /// /// - public global::Dust.PrivateSpaceManagementMode? Type87 { get; set; } + public global::Dust.PrivateFileWithUploadUrl? Type87 { get; set; } /// /// /// - public global::Dust.PrivateProject? Type88 { get; set; } + public global::Dust.PrivateFileWithUploadUrlStatus? Type88 { get; set; } /// /// /// - public global::Dust.PrivateProjectVariant2? Type89 { get; set; } + public global::Dust.PrivateFileWithUploadUrlUseCase? Type89 { get; set; } /// /// /// - public global::Dust.PrivateDataSourceView? Type90 { get; set; } + public global::Dust.PrivateSpace? Type90 { get; set; } /// /// /// - public global::Dust.PrivateDataSourceViewCategory? Type91 { get; set; } + public global::Dust.PrivateSpaceKind? Type91 { get; set; } /// /// /// - public global::Dust.PrivateDataSourceViewKind? Type92 { get; set; } + public global::Dust.PrivateSpaceManagementMode? Type92 { get; set; } /// /// /// - public global::Dust.PrivateDataSource? Type93 { get; set; } + public global::Dust.PrivateProject? Type93 { get; set; } /// /// /// - public global::Dust.PrivateDataSourceViewEditedByUser? Type94 { get; set; } + public global::Dust.PrivateProjectVariant2? Type94 { get; set; } /// /// /// - public global::Dust.PrivateMentionSuggestion? Type95 { get; set; } + public global::Dust.PrivateDataSourceView? Type95 { get; set; } /// /// /// - public global::Dust.PrivateMentionSuggestionType? Type96 { get; set; } + public global::Dust.PrivateDataSourceViewCategory? Type96 { get; set; } /// /// /// - public global::Dust.PrivateFeatureFlags? Type97 { get; set; } + public global::Dust.PrivateDataSourceViewKind? Type97 { get; set; } /// /// /// - public global::Dust.PrivateExtensionConfig? Type98 { get; set; } + public global::Dust.PrivateDataSource? Type98 { get; set; } /// /// /// - public global::Dust.PrivateFeedback? Type99 { get; set; } + public global::Dust.PrivateDataSourceViewEditedByUser? Type99 { get; set; } /// /// /// - public global::Dust.PrivateFeedbackThumbDirection? Type100 { get; set; } + public global::Dust.PrivateMentionSuggestion? Type100 { get; set; } /// /// /// - public global::System.DateTime? Type101 { get; set; } + public global::Dust.PrivateMentionSuggestionType? Type101 { get; set; } /// /// /// - public global::Dust.PrivateWakeUp? Type102 { get; set; } + public global::Dust.PrivateFeatureFlags? Type102 { get; set; } /// /// /// - public global::Dust.OneOf? Type103 { get; set; } + public global::Dust.PrivateExtensionConfig? Type103 { get; set; } /// /// /// - public global::Dust.PrivateWakeUpScheduleConfigVariant1? Type104 { get; set; } + public global::Dust.PrivateFeedback? Type104 { get; set; } /// /// /// - public global::Dust.PrivateWakeUpScheduleConfigVariant1Type? Type105 { get; set; } + public global::Dust.PrivateFeedbackThumbDirection? Type105 { get; set; } /// /// /// - public global::Dust.PrivateWakeUpScheduleConfigVariant2? Type106 { get; set; } + public global::System.DateTime? Type106 { get; set; } /// /// /// - public global::Dust.PrivateWakeUpScheduleConfigVariant2Type? Type107 { get; set; } + public global::Dust.PrivateWakeUp? Type107 { get; set; } /// /// /// - public global::Dust.PrivateWakeUpStatus? Type108 { get; set; } + public global::Dust.OneOf? Type108 { get; set; } /// /// /// - public global::Dust.PrivateMentionType? Type109 { get; set; } + public global::Dust.PrivateWakeUpScheduleConfigVariant1? Type109 { get; set; } /// /// /// - public global::Dust.PrivateRichMentionWithStatusType? Type110 { get; set; } + public global::Dust.PrivateWakeUpScheduleConfigVariant1Type? Type110 { get; set; } /// /// /// - public global::Dust.PrivateRichMentionWithStatusStatus? Type111 { get; set; } + public global::Dust.PrivateWakeUpScheduleConfigVariant2? Type111 { get; set; } /// /// /// - public global::Dust.PrivateUserMessageContextOrigin? Type112 { get; set; } + public global::Dust.PrivateWakeUpScheduleConfigVariant2Type? Type112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type113 { get; set; } + public global::Dust.PrivateWakeUpStatus? Type113 { get; set; } /// /// /// - public global::Dust.PrivateReactionUser? Type114 { get; set; } + public global::Dust.PrivateMentionType? Type114 { get; set; } /// /// /// - public global::Dust.PrivateConversationEvent? Type115 { get; set; } + public global::Dust.PrivateRichMentionWithStatusType? Type115 { get; set; } /// /// /// - public global::Dust.PrivateUserMessageNewEvent? Type116 { get; set; } + public global::Dust.PrivateRichMentionWithStatusStatus? Type116 { get; set; } /// /// /// - public global::Dust.PrivateAgentMessageNewEvent? Type117 { get; set; } + public global::Dust.PrivateUserMessageContextOrigin? Type117 { get; set; } /// /// /// - public global::Dust.PrivateAgentMessageDoneEvent? Type118 { get; set; } + public global::System.Collections.Generic.IList? Type118 { get; set; } /// /// /// - public global::Dust.PrivateCompactionMessageNewEvent? Type119 { get; set; } + public global::Dust.PrivateReactionUser? Type119 { get; set; } /// /// /// - public global::Dust.PrivateCompactionMessageDoneEvent? Type120 { get; set; } + public global::Dust.PrivateConversationEvent? Type120 { get; set; } /// /// /// - public global::Dust.PrivateConversationTitleEvent? Type121 { get; set; } + public global::Dust.PrivateUserMessageNewEvent? Type121 { get; set; } /// /// /// - public global::Dust.PrivateConversationEventDiscriminator? Type122 { get; set; } + public global::Dust.PrivateAgentMessageNewEvent? Type122 { get; set; } /// /// /// - public global::Dust.PrivateConversationEventDiscriminatorType? Type123 { get; set; } + public global::Dust.PrivateAgentMessageDoneEvent? Type123 { get; set; } /// /// /// - public global::Dust.PrivateUserMessageNewEventType? Type124 { get; set; } + public global::Dust.PrivateCompactionMessageNewEvent? Type124 { get; set; } /// /// /// - public global::Dust.PrivateAgentMessageNewEventType? Type125 { get; set; } + public global::Dust.PrivateCompactionMessageDoneEvent? Type125 { get; set; } /// /// /// - public global::Dust.PrivateAgentMessageDoneEventType? Type126 { get; set; } + public global::Dust.PrivateConversationTitleEvent? Type126 { get; set; } /// /// /// - public global::Dust.PrivateAgentMessageDoneEventStatus? Type127 { get; set; } + public global::Dust.PrivateConversationEventDiscriminator? Type127 { get; set; } /// /// /// - public global::Dust.PrivateCompactionMessageNewEventType? Type128 { get; set; } + public global::Dust.PrivateConversationEventDiscriminatorType? Type128 { get; set; } /// /// /// - public global::Dust.PrivateCompactionMessageDoneEventType? Type129 { get; set; } + public global::Dust.PrivateUserMessageNewEventType? Type129 { get; set; } /// /// /// - public global::Dust.PrivateConversationTitleEventType? Type130 { get; set; } + public global::Dust.PrivateAgentMessageNewEventType? Type130 { get; set; } /// /// /// - public global::Dust.PrivateAgentMessageEvent? Type131 { get; set; } + public global::Dust.PrivateAgentMessageDoneEventType? Type131 { get; set; } /// /// /// - public global::Dust.PrivateGenerationTokensEvent? Type132 { get; set; } + public global::Dust.PrivateAgentMessageDoneEventStatus? Type132 { get; set; } /// /// /// - public global::Dust.PrivateToolCallStartedEvent? Type133 { get; set; } + public global::Dust.PrivateCompactionMessageNewEventType? Type133 { get; set; } /// /// /// - public global::Dust.PrivateAgentActionSuccessEvent? Type134 { get; set; } + public global::Dust.PrivateCompactionMessageDoneEventType? Type134 { get; set; } /// /// /// - public global::Dust.PrivateAgentMessageSuccessEvent? Type135 { get; set; } + public global::Dust.PrivateConversationTitleEventType? Type135 { get; set; } /// /// /// - public global::Dust.PrivateAgentErrorEvent? Type136 { get; set; } + public global::Dust.PrivateAgentMessageEvent? Type136 { get; set; } /// /// /// - public global::Dust.PrivateAgentGenerationCancelledEvent? Type137 { get; set; } + public global::Dust.PrivateGenerationTokensEvent? Type137 { get; set; } /// /// /// - public global::Dust.PrivateToolErrorEvent? Type138 { get; set; } + public global::Dust.PrivateToolCallStartedEvent? Type138 { get; set; } /// /// /// - public global::Dust.PrivateToolParamsEvent? Type139 { get; set; } + public global::Dust.PrivateAgentActionSuccessEvent? Type139 { get; set; } /// /// /// - public global::Dust.PrivateToolApproveExecutionEvent? Type140 { get; set; } + public global::Dust.PrivateAgentMessageSuccessEvent? Type140 { get; set; } /// /// /// - public global::Dust.PrivateToolNotificationEvent? Type141 { get; set; } + public global::Dust.PrivateAgentErrorEvent? Type141 { get; set; } /// /// /// - public global::Dust.PrivateToolPersonalAuthRequiredEvent? Type142 { get; set; } + public global::Dust.PrivateAgentGenerationCancelledEvent? Type142 { get; set; } /// /// /// - public global::Dust.PrivateToolFileAuthRequiredEvent? Type143 { get; set; } + public global::Dust.PrivateToolErrorEvent? Type143 { get; set; } /// /// /// - public global::Dust.PrivateAgentContextPrunedEvent? Type144 { get; set; } + public global::Dust.PrivateToolParamsEvent? Type144 { get; set; } /// /// /// - public global::Dust.PrivateAgentMessageEventDiscriminator? Type145 { get; set; } + public global::Dust.PrivateToolApproveExecutionEvent? Type145 { get; set; } /// /// /// - public global::Dust.PrivateAgentMessageEventDiscriminatorType? Type146 { get; set; } + public global::Dust.PrivateToolNotificationEvent? Type146 { get; set; } /// /// /// - public global::Dust.PrivateGenerationTokensEventType? Type147 { get; set; } + public global::Dust.PrivateToolPersonalAuthRequiredEvent? Type147 { get; set; } /// /// /// - public global::Dust.PrivateGenerationTokensEventClassification? Type148 { get; set; } + public global::Dust.PrivateToolFileAuthRequiredEvent? Type148 { get; set; } /// /// /// - public global::Dust.PrivateToolCallStartedEventType? Type149 { get; set; } + public global::Dust.PrivateAgentContextPrunedEvent? Type149 { get; set; } /// /// /// - public global::Dust.PrivateAgentActionSuccessEventType? Type150 { get; set; } + public global::Dust.PrivateAgentMessageEventDiscriminator? Type150 { get; set; } /// /// /// - public global::Dust.PrivateAgentMCPAction? Type151 { get; set; } + public global::Dust.PrivateAgentMessageEventDiscriminatorType? Type151 { get; set; } /// /// /// - public global::Dust.PrivateAgentMCPActionStatus? Type152 { get; set; } + public global::Dust.PrivateGenerationTokensEventType? Type152 { get; set; } /// /// /// - public global::Dust.PrivateAgentMCPActionDisplayLabels? Type153 { get; set; } + public global::Dust.PrivateGenerationTokensEventClassification? Type153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type154 { get; set; } + public global::Dust.PrivateToolCallStartedEventType? Type154 { get; set; } /// /// /// - public global::Dust.PrivateAgentMCPActionGeneratedFile? Type155 { get; set; } + public global::Dust.PrivateAgentActionSuccessEventType? Type155 { get; set; } /// /// /// - public global::Dust.PrivateAgentMessageSuccessEventType? Type156 { get; set; } + public global::Dust.PrivateAgentMCPAction? Type156 { get; set; } /// /// /// - public global::Dust.PrivateAgentErrorEventType? Type157 { get; set; } + public global::Dust.PrivateAgentMCPActionStatus? Type157 { get; set; } /// /// /// - public global::Dust.PrivateAgentErrorEventError? Type158 { get; set; } + public global::Dust.PrivateAgentMCPActionDisplayLabels? Type158 { get; set; } /// /// /// - public global::Dust.PrivateAgentGenerationCancelledEventType? Type159 { get; set; } + public global::System.Collections.Generic.IList? Type159 { get; set; } /// /// /// - public global::Dust.PrivateToolErrorEventType? Type160 { get; set; } + public global::Dust.PrivateAgentMCPActionGeneratedFile? Type160 { get; set; } /// /// /// - public global::Dust.PrivateToolErrorEventError? Type161 { get; set; } + public global::Dust.PrivateAgentMessageSuccessEventType? Type161 { get; set; } /// /// /// - public global::Dust.PrivateToolParamsEventType? Type162 { get; set; } + public global::Dust.PrivateAgentErrorEventType? Type162 { get; set; } /// /// /// - public global::Dust.PrivateToolApproveExecutionEventType? Type163 { get; set; } + public global::Dust.PrivateAgentErrorEventError? Type163 { get; set; } /// /// /// - public global::Dust.PrivateToolNotificationEventType? Type164 { get; set; } + public global::Dust.PrivateAgentGenerationCancelledEventType? Type164 { get; set; } /// /// /// - public global::Dust.PrivateToolPersonalAuthRequiredEventType? Type165 { get; set; } + public global::Dust.PrivateToolErrorEventType? Type165 { get; set; } /// /// /// - public global::Dust.PrivateToolPersonalAuthRequiredEventAuthError? Type166 { get; set; } + public global::Dust.PrivateToolErrorEventError? Type166 { get; set; } /// /// /// - public global::Dust.PrivateToolFileAuthRequiredEventType? Type167 { get; set; } + public global::Dust.PrivateToolParamsEventType? Type167 { get; set; } /// /// /// - public global::Dust.PrivateToolFileAuthRequiredEventFileAuthError? Type168 { get; set; } + public global::Dust.PrivateToolApproveExecutionEventType? Type168 { get; set; } /// /// /// - public global::Dust.PrivateAgentContextPrunedEventType? Type169 { get; set; } + public global::Dust.PrivateToolNotificationEventType? Type169 { get; set; } /// /// /// - public global::Dust.Section? Type170 { get; set; } + public global::Dust.PrivateToolPersonalAuthRequiredEventType? Type170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type171 { get; set; } + public global::Dust.PrivateToolPersonalAuthRequiredEventAuthError? Type171 { get; set; } /// /// /// - public global::Dust.User? Type172 { get; set; } + public global::Dust.PrivateToolFileAuthRequiredEventType? Type172 { get; set; } /// /// /// - public global::Dust.Workspace? Type173 { get; set; } + public global::Dust.PrivateToolFileAuthRequiredEventFileAuthError? Type173 { get; set; } /// /// /// - public global::Dust.Context? Type174 { get; set; } + public global::Dust.PrivateAgentContextPrunedEventType? Type174 { get; set; } /// /// /// - public global::Dust.ContextAgenticMessageData? Type175 { get; set; } + public global::Dust.Section? Type175 { get; set; } /// /// /// - public global::Dust.ContextAgenticMessageDataType? Type176 { get; set; } + public global::System.Collections.Generic.IList? Type176 { get; set; } /// /// /// - public global::Dust.AgentConfiguration? Type177 { get; set; } + public global::Dust.User? Type177 { get; set; } /// /// /// - public global::Dust.AgentConfigurationModel? Type178 { get; set; } + public global::Dust.Workspace? Type178 { get; set; } /// /// /// - public byte[]? Type179 { get; set; } + public global::Dust.Context? Type179 { get; set; } /// /// /// - public global::Dust.Conversation? Type180 { get; set; } + public global::Dust.ContextAgenticMessageData? Type180 { get; set; } /// /// /// - public global::Dust.ConversationConversation1? Type181 { get; set; } + public global::Dust.ContextAgenticMessageDataType? Type181 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type182 { get; set; } + public global::Dust.AgentConfiguration? Type182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type183 { get; set; } + public global::Dust.AgentConfigurationModel? Type183 { get; set; } /// /// /// - public global::Dust.ConversationConversation1ContentItemItem? Type184 { get; set; } + public byte[]? Type184 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type185 { get; set; } + public global::Dust.Conversation? Type185 { get; set; } /// /// /// - public global::Dust.Mention? Type186 { get; set; } + public global::Dust.ConversationConversation1? Type186 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type187 { get; set; } + public global::System.Collections.Generic.IList>? Type187 { get; set; } /// /// /// - public global::Dust.ConversationConversation1ContentItemItemRawContent? Type188 { get; set; } + public global::System.Collections.Generic.IList? Type188 { get; set; } /// /// /// - public global::Dust.RichMention? Type189 { get; set; } + public global::Dust.ConversationConversation1ContentItemItem? Type189 { get; set; } /// /// /// - public global::Dust.RichMentionType? Type190 { get; set; } + public global::System.Collections.Generic.IList? Type190 { get; set; } /// /// /// - public global::Dust.Message? Type191 { get; set; } + public global::Dust.Mention? Type191 { get; set; } /// /// /// - public global::Dust.ContentFragment? Type192 { get; set; } + public global::System.Collections.Generic.IList? Type192 { get; set; } /// /// /// - public global::Dust.Space? Type193 { get; set; } + public global::Dust.ConversationConversation1ContentItemItemRawContent? Type193 { get; set; } /// /// /// - public global::Dust.SpaceKind? Type194 { get; set; } + public global::Dust.RichMention? Type194 { get; set; } /// /// /// - public global::Dust.Datasource? Type195 { get; set; } + public global::Dust.RichMentionType? Type195 { get; set; } /// /// /// - public global::Dust.Table? Type196 { get; set; } + public global::Dust.Message? Type196 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type197 { get; set; } + public global::Dust.ContentFragment? Type197 { get; set; } /// /// /// - public global::Dust.TableSchemaItem? Type198 { get; set; } + public global::Dust.Space? Type198 { get; set; } /// /// /// - public global::Dust.TableSchemaItemValueType? Type199 { get; set; } + public global::Dust.SpaceKind? Type199 { get; set; } /// /// /// - public global::Dust.DatasourceView? Type200 { get; set; } + public global::Dust.Datasource? Type200 { get; set; } /// /// /// - public global::Dust.DatasourceViewCategory? Type201 { get; set; } + public global::Dust.Table? Type201 { get; set; } /// /// /// - public global::Dust.DatasourceViewEditedByUser? Type202 { get; set; } + public global::System.Collections.Generic.IList? Type202 { get; set; } /// /// /// - public global::Dust.DatasourceViewKind? Type203 { get; set; } + public global::Dust.TableSchemaItem? Type203 { get; set; } /// /// /// - public global::Dust.SkillSourceMetadata? Type204 { get; set; } + public global::Dust.TableSchemaItemValueType? Type204 { get; set; } /// /// /// - public global::Dust.Skill? Type205 { get; set; } + public global::Dust.DatasourceView? Type205 { get; set; } /// /// /// - public global::Dust.SkillStatus? Type206 { get; set; } + public global::Dust.DatasourceViewCategory? Type206 { get; set; } /// /// /// - public global::Dust.SkillSource? Type207 { get; set; } + public global::Dust.DatasourceViewEditedByUser? Type207 { get; set; } /// /// /// - public global::Dust.SkillReinforcement? Type208 { get; set; } + public global::Dust.DatasourceViewKind? Type208 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type209 { get; set; } + public global::Dust.SkillSourceMetadata? Type209 { get; set; } /// /// /// - public global::Dust.SkillFileAttachment? Type210 { get; set; } + public global::Dust.Skill? Type210 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type211 { get; set; } + public global::Dust.SkillStatus? Type211 { get; set; } /// /// /// - public global::Dust.MCPServerView? Type212 { get; set; } + public global::Dust.SkillSource? Type212 { get; set; } /// /// /// - public global::Dust.Run? Type213 { get; set; } + public global::Dust.SkillReinforcement? Type213 { get; set; } /// /// /// - public global::Dust.RunStatus? Type214 { get; set; } + public global::System.Collections.Generic.IList? Type214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type215 { get; set; } + public global::Dust.SkillFileAttachment? Type215 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type216 { get; set; } + public global::System.Collections.Generic.IList? Type216 { get; set; } /// /// /// - public global::Dust.RunTraceItem? Type217 { get; set; } + public global::Dust.MCPServerView? Type217 { get; set; } /// /// /// - public global::Dust.Document? Type218 { get; set; } + public global::Dust.Run? Type218 { get; set; } /// /// /// - public global::Dust.MCPServerViewServerType? Type219 { get; set; } + public global::Dust.RunStatus? Type219 { get; set; } /// /// /// - public global::Dust.MCPServerViewServer? Type220 { get; set; } + public global::System.Collections.Generic.IList>? Type220 { get; set; } /// /// /// - public global::Dust.MCPServerViewServerAuthorization? Type221 { get; set; } + public global::System.Collections.Generic.IList? Type221 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type222 { get; set; } + public global::Dust.RunTraceItem? Type222 { get; set; } /// /// /// - public global::Dust.MCPServerViewServerAuthorizationSupportedUseCase? Type223 { get; set; } + public global::Dust.Document? Type223 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type224 { get; set; } + public global::Dust.MCPServerViewServerType? Type224 { get; set; } /// /// /// - public global::Dust.MCPServerViewServerTool? Type225 { get; set; } + public global::Dust.MCPServerViewServer? Type225 { get; set; } /// /// /// - public global::Dust.MCPServerViewOAuthUseCase? Type226 { get; set; } + public global::Dust.MCPServerViewServerAuthorization? Type226 { get; set; } /// /// /// - public global::Dust.MCPServerViewEditedByUser? Type227 { get; set; } + public global::System.Collections.Generic.IList? Type227 { get; set; } /// /// /// - public global::Dust.PatchUserRequest? Type228 { get; set; } + public global::Dust.MCPServerViewServerAuthorizationSupportedUseCase? Type228 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsRequest? Type229 { get; set; } + public global::System.Collections.Generic.IList? Type229 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsRequestAgent? Type230 { get; set; } + public global::Dust.MCPServerViewServerTool? Type230 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsRequestAgentScope? Type231 { get; set; } + public global::Dust.MCPServerViewOAuthUseCase? Type231 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsRequestGenerationSettings? Type232 { get; set; } + public global::Dust.MCPServerViewEditedByUser? Type232 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type233 { get; set; } + public global::Dust.PatchUserRequest? Type233 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsRequestTag? Type234 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsRequest? Type234 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsRequestTagKind? Type235 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsRequestAgent? Type235 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type236 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsRequestAgentScope? Type236 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsRequestEditor? Type237 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsRequestGenerationSettings? Type237 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type238 { get; set; } + public global::System.Collections.Generic.IList? Type238 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsRequestSkill? Type239 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsRequestTag? Type239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type240 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsRequestTagKind? Type240 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsRequestToolsetItem? Type241 { get; set; } + public global::System.Collections.Generic.IList? Type241 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsRequestToolsetItemType? Type242 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsRequestEditor? Type242 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportRequest? Type243 { get; set; } + public global::System.Collections.Generic.IList? Type243 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportRequestAgent? Type244 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsRequestSkill? Type244 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportRequestAgentScope? Type245 { get; set; } + public global::System.Collections.Generic.IList? Type245 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportRequestGenerationSettings? Type246 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsRequestToolsetItem? Type246 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type247 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsRequestToolsetItemType? Type247 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportRequestTag? Type248 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportRequest? Type248 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportRequestTagKind? Type249 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportRequestAgent? Type249 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type250 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportRequestAgentScope? Type250 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportRequestEditor? Type251 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportRequestGenerationSettings? Type251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type252 { get; set; } + public global::System.Collections.Generic.IList? Type252 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportRequestToolsetItem? Type253 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportRequestTag? Type253 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportRequestToolsetItemType? Type254 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportRequestTagKind? Type254 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsCancelRequest? Type255 { get; set; } + public global::System.Collections.Generic.IList? Type255 { get; set; } /// /// /// - public global::Dust.OneOf? Type256 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportRequestEditor? Type256 { get; set; } /// /// /// - public global::Dust.PatchWAssistantConversationsRequestVariant1? Type257 { get; set; } + public global::System.Collections.Generic.IList? Type257 { get; set; } /// /// /// - public global::Dust.PatchWAssistantConversationsRequestVariant2? Type258 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportRequestToolsetItem? Type258 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionRequest? Type259 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportRequestToolsetItemType? Type259 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionRequestAnswer? Type260 { get; set; } + public global::Dust.CreateWAssistantConversationsCancelRequest? Type260 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type261 { get; set; } + public global::Dust.OneOf? Type261 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesEditRequest? Type262 { get; set; } + public global::Dust.PatchWAssistantConversationsRequestVariant1? Type262 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type263 { get; set; } + public global::Dust.PatchWAssistantConversationsRequestVariant2? Type263 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesEditRequestMention? Type264 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionRequest? Type264 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequest? Type265 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionRequestAnswer? Type265 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequestThumbDirection? Type266 { get; set; } + public global::System.Collections.Generic.IList? Type266 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesValidateActionRequest? Type267 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesEditRequest? Type267 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsRequest? Type268 { get; set; } + public global::System.Collections.Generic.IList? Type268 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type269 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesEditRequestMention? Type269 { get; set; } /// /// /// - public global::Dust.CreateWAssistantMentionsParseRequest? Type270 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequest? Type270 { get; set; } /// /// /// - public global::Dust.CreateWFilesRequest? Type271 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequestThumbDirection? Type271 { get; set; } /// /// /// - public global::Dust.CreateWMcpDeregisterRequest? Type272 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesValidateActionRequest? Type272 { get; set; } /// /// /// - public global::Dust.CreateWMcpHeartbeatRequest? Type273 { get; set; } + public global::Dust.CreateWAssistantConversationsRequest? Type273 { get; set; } /// /// /// - public global::Dust.CreateWMcpRegisterRequest? Type274 { get; set; } + public global::System.Collections.Generic.IList? Type274 { get; set; } /// /// /// - public global::Dust.CreateWMcpResultsRequest? Type275 { get; set; } + public global::Dust.CreateWAssistantMentionsParseRequest? Type275 { get; set; } /// /// /// - public global::Dust.CreateWSearchRequest? Type276 { get; set; } + public global::Dust.CreateWFilesRequest? Type276 { get; set; } /// /// /// - public global::Dust.CreateWSearchToolsUploadRequest? Type277 { get; set; } + public global::Dust.CreateWMcpDeregisterRequest? Type277 { get; set; } /// /// /// - public global::Dust.CreateWSkillsRequest? Type278 { get; set; } + public global::Dust.CreateWMcpHeartbeatRequest? Type278 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type279 { get; set; } + public global::Dust.CreateWMcpRegisterRequest? Type279 { get; set; } /// /// /// - public global::Dust.CreateWSkillsRequestOnConflict? Type280 { get; set; } + public global::Dust.CreateWMcpResultsRequest? Type280 { get; set; } /// /// /// - public global::Dust.CreateWSpacesAppsRunsRequest? Type281 { get; set; } + public global::Dust.CreateWSearchRequest? Type281 { get; set; } /// /// /// - public global::Dust.CreateWSpacesAppsRunsRequestConfig? Type282 { get; set; } + public global::Dust.CreateWSearchToolsUploadRequest? Type282 { get; set; } /// /// /// - public global::Dust.CreateWSpacesAppsRunsRequestConfigModel? Type283 { get; set; } + public global::Dust.CreateWSkillsRequest? Type283 { get; set; } /// /// /// - public global::Dust.OneOf? Type284 { get; set; } + public global::System.Collections.Generic.IList? Type284 { get; set; } /// /// /// - public global::Dust.PatchWSpacesDataSourceViewsRequestVariant1? Type285 { get; set; } + public global::Dust.CreateWSkillsRequestOnConflict? Type285 { get; set; } /// /// /// - public global::Dust.PatchWSpacesDataSourceViewsRequestVariant2? Type286 { get; set; } + public global::Dust.CreateWSpacesAppsRunsRequest? Type286 { get; set; } /// /// /// - public global::Dust.CreateWSpacesDataSourcesDocumentsRequest? Type287 { get; set; } + public global::Dust.CreateWSpacesAppsRunsRequestConfig? Type287 { get; set; } /// /// /// - public global::Dust.CreateWSpacesDataSourcesDocumentsParentsRequest? Type288 { get; set; } + public global::Dust.CreateWSpacesAppsRunsRequestConfigModel? Type288 { get; set; } /// /// /// - public global::Dust.CreateWSpacesDataSourcesTablesRowsRequest? Type289 { get; set; } + public global::Dust.OneOf? Type289 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type290 { get; set; } + public global::Dust.PatchWSpacesDataSourceViewsRequestVariant1? Type290 { get; set; } /// /// /// - public global::Dust.CreateWSpacesDataSourcesTablesRowsRequestRow? Type291 { get; set; } + public global::Dust.PatchWSpacesDataSourceViewsRequestVariant2? Type291 { get; set; } /// /// /// - public global::Dust.OneOf? Type292 { get; set; } + public global::Dust.CreateWSpacesDataSourcesDocumentsRequest? Type292 { get; set; } /// /// /// - public global::Dust.CreateWSpacesDataSourcesTablesRowsRequestRowValue2? Type293 { get; set; } + public global::Dust.CreateWSpacesDataSourcesDocumentsParentsRequest? Type293 { get; set; } /// /// /// - public global::Dust.CreateWSpacesDataSourcesTablesRowsRequestRowValueType? Type294 { get; set; } + public global::Dust.CreateWSpacesDataSourcesTablesRowsRequest? Type294 { get; set; } /// /// /// - public global::Dust.CreateWSpacesDataSourcesTablesRequest? Type295 { get; set; } + public global::System.Collections.Generic.IList? Type295 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsRequest? Type296 { get; set; } + public global::Dust.CreateWSpacesDataSourcesTablesRowsRequestRow? Type296 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsCancelRequest2? Type297 { get; set; } + public global::Dust.OneOf? Type297 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsCancelRequestAction? Type298 { get; set; } + public global::Dust.CreateWSpacesDataSourcesTablesRowsRequestRowValue2? Type298 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsCompactionsRequest? Type299 { get; set; } + public global::Dust.CreateWSpacesDataSourcesTablesRowsRequestRowValueType? Type299 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsCompactionsRequestModel? Type300 { get; set; } + public global::Dust.CreateWSpacesDataSourcesTablesRequest? Type300 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsContentFragmentRequest? Type301 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsRequest? Type301 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsContentFragmentRequestContext? Type302 { get; set; } + public global::Dust.CreateWAssistantConversationsCancelRequest2? Type302 { get; set; } /// /// /// - public global::Dust.PatchWAssistantConversationsRequestVariant12? Type303 { get; set; } + public global::Dust.CreateWAssistantConversationsCancelRequestAction? Type303 { get; set; } /// /// /// - public global::Dust.PatchWAssistantConversationsRequestVariant22? Type304 { get; set; } + public global::Dust.CreateWAssistantConversationsCompactionsRequest? Type304 { get; set; } /// /// /// - public global::Dust.PatchWAssistantConversationsRequestVariant3? Type305 { get; set; } + public global::Dust.CreateWAssistantConversationsCompactionsRequestModel? Type305 { get; set; } /// /// /// - public global::Dust.PatchWAssistantConversationsRequestVariant4? Type306 { get; set; } + public global::Dust.CreateWAssistantConversationsContentFragmentRequest? Type306 { get; set; } /// /// /// - public global::Dust.PatchWAssistantConversationsRequestVariant4AccessMode? Type307 { get; set; } + public global::Dust.CreateWAssistantConversationsContentFragmentRequestContext? Type307 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesEditRequest2? Type308 { get; set; } + public global::Dust.PatchWAssistantConversationsRequestVariant12? Type308 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequest2? Type309 { get; set; } + public global::Dust.PatchWAssistantConversationsRequestVariant22? Type309 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequestThumbDirection2? Type310 { get; set; } + public global::Dust.PatchWAssistantConversationsRequestVariant3? Type310 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesRequest? Type311 { get; set; } + public global::Dust.PatchWAssistantConversationsRequestVariant4? Type311 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesRequestContext? Type312 { get; set; } + public global::Dust.PatchWAssistantConversationsRequestVariant4AccessMode? Type312 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsRequest2? Type313 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesEditRequest2? Type313 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsRequestVisibility? Type314 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequest2? Type314 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsRequestMessage? Type315 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequestThumbDirection2? Type315 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsRequestMessageContext? Type316 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesRequest? Type316 { get; set; } /// /// /// - public global::Dust.CreateWFilesRequest2? Type317 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesRequestContext? Type317 { get; set; } /// /// /// - public global::Dust.CreateWFilesRequest3? Type318 { get; set; } + public global::Dust.CreateWAssistantConversationsRequest2? Type318 { get; set; } /// /// /// - public global::Dust.CreateWFilesRequestUseCase? Type319 { get; set; } + public global::Dust.CreateWAssistantConversationsRequestVisibility? Type319 { get; set; } /// /// /// - public global::Dust.PatchWSpacesDataSourceViewsRequest2? Type320 { get; set; } + public global::Dust.CreateWAssistantConversationsRequestMessage? Type320 { get; set; } /// /// /// - public global::Dust.CreateWSpacesDataSourceViewsRequest? Type321 { get; set; } + public global::Dust.CreateWAssistantConversationsRequestMessageContext? Type321 { get; set; } /// /// /// - public global::Dust.PatchWSpacesRequest? Type322 { get; set; } + public global::Dust.CreateWFilesRequest2? Type322 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type323 { get; set; } + public global::Dust.CreateWFilesRequest3? Type323 { get; set; } /// /// /// - public global::Dust.PatchWSpacesRequestContentItem? Type324 { get; set; } + public global::Dust.CreateWFilesRequestUseCase? Type324 { get; set; } /// /// /// - public global::Dust.PatchWSpacesProjectNotificationPreferencesRequest? Type325 { get; set; } + public global::Dust.PatchWSpacesDataSourceViewsRequest2? Type325 { get; set; } /// /// /// - public global::Dust.PatchWSpacesProjectNotificationPreferencesRequestPreference? Type326 { get; set; } + public global::Dust.CreateWSpacesDataSourceViewsRequest? Type326 { get; set; } /// /// /// - public global::Dust.CreateWSpacesRequest? Type327 { get; set; } + public global::Dust.PatchWSpacesRequest? Type327 { get; set; } /// /// /// - public global::Dust.CreateWSpacesRequestSpaceKind? Type328 { get; set; } + public global::System.Collections.Generic.IList? Type328 { get; set; } /// /// /// - public global::Dust.CreateWSpacesRequestManagementMode? Type329 { get; set; } + public global::Dust.PatchWSpacesRequestContentItem? Type329 { get; set; } /// /// /// - public global::Dust.CreateWorkosAuthenticateRequest? Type330 { get; set; } + public global::Dust.PatchWSpacesProjectNotificationPreferencesRequest? Type330 { get; set; } /// /// /// - public global::Dust.CreateWorkosAuthenticateRequestGrantType? Type331 { get; set; } + public global::Dust.PatchWSpacesProjectNotificationPreferencesRequestPreference? Type331 { get; set; } /// /// /// - public global::Dust.CreateWorkosRevokeSessionRequest? Type332 { get; set; } + public global::Dust.CreateWSpacesRequest? Type332 { get; set; } /// /// /// - public global::Dust.GetWAnalyticsExportTable? Type333 { get; set; } + public global::Dust.CreateWSpacesRequestSpaceKind? Type333 { get; set; } /// /// /// - public global::Dust.GetWAnalyticsExportFormat? Type334 { get; set; } + public global::Dust.CreateWSpacesRequestManagementMode? Type334 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsView? Type335 { get; set; } + public global::Dust.CreateWorkosAuthenticateRequest? Type335 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsWithAuthors? Type336 { get; set; } + public global::Dust.CreateWorkosAuthenticateRequestGrantType? Type336 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsVariant? Type337 { get; set; } + public global::Dust.CreateWorkosRevokeSessionRequest? Type337 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type338 { get; set; } + public global::Dust.GetWAnalyticsExportTable? Type338 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMentionsSuggestionsSelectItem? Type339 { get; set; } + public global::Dust.GetWAnalyticsExportFormat? Type339 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type340 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsView? Type340 { get; set; } /// /// /// - public global::Dust.GetWAssistantMentionsSuggestionsSelectItem? Type341 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsWithAuthors? Type341 { get; set; } /// /// /// - public global::Dust.GetWSearchViewType? Type342 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsVariant? Type342 { get; set; } /// /// /// - public global::Dust.GetWSkillsStatus? Type343 { get; set; } + public global::System.Collections.Generic.IList? Type343 { get; set; } /// /// /// - public global::Dust.GetWWorkspaceUsageMode? Type344 { get; set; } + public global::Dust.GetWAssistantConversationsMentionsSuggestionsSelectItem? Type344 { get; set; } /// /// /// - public global::Dust.GetWWorkspaceUsageFormat? Type345 { get; set; } + public global::System.Collections.Generic.IList? Type345 { get; set; } /// /// /// - public global::Dust.GetWWorkspaceUsageTable? Type346 { get; set; } + public global::Dust.GetWAssistantMentionsSuggestionsSelectItem? Type346 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsView2? Type347 { get; set; } + public global::Dust.GetWSearchViewType? Type347 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsWithUsage? Type348 { get; set; } + public global::Dust.GetWSkillsStatus? Type348 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsWithAuthors2? Type349 { get; set; } + public global::Dust.GetWWorkspaceUsageMode? Type349 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsWithFeedbacks? Type350 { get; set; } + public global::Dust.GetWWorkspaceUsageFormat? Type350 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsWithEditors? Type351 { get; set; } + public global::Dust.GetWWorkspaceUsageTable? Type351 { get; set; } /// /// /// - public global::Dust.GetWAssistantMentionsSuggestionsSelect? Type352 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsView2? Type352 { get; set; } /// /// /// - public global::Dust.GetWAssistantMentionsSuggestionsCurrent? Type353 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsWithUsage? Type353 { get; set; } /// /// /// - public global::Dust.GetWFilesVersion? Type354 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsWithAuthors2? Type354 { get; set; } /// /// /// - public global::Dust.GetWFilesAction? Type355 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsWithFeedbacks? Type355 { get; set; } /// /// /// - public global::Dust.DeleteWSpacesDataSourceViewsForce? Type356 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsWithEditors? Type356 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsCategory? Type357 { get; set; } + public global::Dust.GetWAssistantMentionsSuggestionsSelect? Type357 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsWithDetails? Type358 { get; set; } + public global::Dust.GetWAssistantMentionsSuggestionsCurrent? Type358 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsIncludeEditedBy? Type359 { get; set; } + public global::Dust.GetWFilesVersion? Type359 { get; set; } /// /// /// - public global::Dust.GetWSpacesIncludeAllMembers? Type360 { get; set; } + public global::Dust.GetWFilesAction? Type360 { get; set; } /// /// /// - public global::Dust.DeleteWSpacesForce? Type361 { get; set; } + public global::Dust.DeleteWSpacesDataSourceViewsForce? Type361 { get; set; } /// /// /// - public global::Dust.GetUserResponse? Type362 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsCategory? Type362 { get; set; } /// /// /// - public global::Dust.PatchUserResponse? Type363 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsWithDetails? Type363 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsResponse? Type364 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsIncludeEditedBy? Type364 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type365 { get; set; } + public global::Dust.GetWSpacesIncludeAllMembers? Type365 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsResponse2? Type366 { get; set; } + public global::Dust.DeleteWSpacesForce? Type366 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsResponse? Type367 { get; set; } + public global::Dust.GetUserResponse? Type367 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type368 { get; set; } + public global::Dust.PatchUserResponse? Type368 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsResponseSkippedAction? Type369 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsResponse? Type369 { get; set; } /// /// /// - public global::Dust.DeleteWAssistantAgentConfigurationsResponse? Type370 { get; set; } + public global::System.Collections.Generic.IList? Type370 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportResponse? Type371 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsResponse2? Type371 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type372 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsResponse? Type372 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportResponseSkippedAction? Type373 { get; set; } + public global::System.Collections.Generic.IList? Type373 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsSearchResponse? Type374 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsResponseSkippedAction? Type374 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsCancelResponse? Type375 { get; set; } + public global::Dust.DeleteWAssistantAgentConfigurationsResponse? Type375 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsFeedbacksResponse? Type376 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportResponse? Type376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type377 { get; set; } + public global::System.Collections.Generic.IList? Type377 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsFeedbacksResponseFeedback? Type378 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportResponseSkippedAction? Type378 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsFeedbacksResponseFeedbackThumbDirection? Type379 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsSearchResponse? Type379 { get; set; } /// /// /// - public global::Dust.PatchWAssistantConversationsResponse? Type380 { get; set; } + public global::Dust.CreateWAssistantConversationsCancelResponse? Type380 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMentionsSuggestionsResponse? Type381 { get; set; } + public global::Dust.GetWAssistantConversationsFeedbacksResponse? Type381 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type382 { get; set; } + public global::System.Collections.Generic.IList? Type382 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionResponse? Type383 { get; set; } + public global::Dust.GetWAssistantConversationsFeedbacksResponseFeedback? Type383 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesEditResponse? Type384 { get; set; } + public global::Dust.GetWAssistantConversationsFeedbacksResponseFeedbackThumbDirection? Type384 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMessagesEventsResponse? Type385 { get; set; } + public global::Dust.PatchWAssistantConversationsResponse? Type385 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type386 { get; set; } + public global::Dust.GetWAssistantConversationsMentionsSuggestionsResponse? Type386 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMessagesEventsResponseEvent? Type387 { get; set; } + public global::System.Collections.Generic.IList? Type387 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesFeedbacksResponse? Type388 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionResponse? Type388 { get; set; } /// /// /// - public global::Dust.DeleteWAssistantConversationsMessagesFeedbacksResponse? Type389 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesEditResponse? Type389 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesValidateActionResponse? Type390 { get; set; } + public global::Dust.GetWAssistantConversationsMessagesEventsResponse? Type390 { get; set; } /// /// /// - public global::Dust.CreateWAssistantMentionsParseResponse? Type391 { get; set; } + public global::System.Collections.Generic.IList? Type391 { get; set; } /// /// /// - public global::Dust.GetWAssistantMentionsSuggestionsResponse? Type392 { get; set; } + public global::Dust.GetWAssistantConversationsMessagesEventsResponseEvent? Type392 { get; set; } /// /// /// - public global::Dust.CreateWFilesResponse? Type393 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesFeedbacksResponse? Type393 { get; set; } /// /// /// - public global::Dust.CreateWFilesResponseFile? Type394 { get; set; } + public global::Dust.DeleteWAssistantConversationsMessagesFeedbacksResponse? Type394 { get; set; } /// /// /// - public global::Dust.CreateWMcpHeartbeatResponse? Type395 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesValidateActionResponse? Type395 { get; set; } /// /// /// - public global::Dust.CreateWMcpRegisterResponse? Type396 { get; set; } + public global::Dust.CreateWAssistantMentionsParseResponse? Type396 { get; set; } /// /// /// - public global::Dust.GetWMcpRequestsResponse? Type397 { get; set; } + public global::Dust.GetWAssistantMentionsSuggestionsResponse? Type397 { get; set; } /// /// /// - public global::Dust.GetWSkillsResponse? Type398 { get; set; } + public global::Dust.CreateWFilesResponse? Type398 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type399 { get; set; } + public global::Dust.CreateWFilesResponseFile? Type399 { get; set; } /// /// /// - public global::Dust.CreateWSkillsResponse? Type400 { get; set; } + public global::Dust.CreateWMcpHeartbeatResponse? Type400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type401 { get; set; } + public global::Dust.CreateWMcpRegisterResponse? Type401 { get; set; } /// /// /// - public global::Dust.CreateWSkillsResponseSkippedItem? Type402 { get; set; } + public global::Dust.GetWMcpRequestsResponse? Type402 { get; set; } /// /// /// - public global::Dust.GetWSpacesAppsRunsResponse? Type403 { get; set; } + public global::Dust.GetWSkillsResponse? Type403 { get; set; } /// /// /// - public global::Dust.CreateWSpacesAppsRunsResponse? Type404 { get; set; } + public global::System.Collections.Generic.IList? Type404 { get; set; } /// /// /// - public global::Dust.GetWSpacesAppsResponse? Type405 { get; set; } + public global::Dust.CreateWSkillsResponse? Type405 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type406 { get; set; } + public global::System.Collections.Generic.IList? Type406 { get; set; } /// /// /// - public global::Dust.GetWSpacesAppsResponseApp? Type407 { get; set; } + public global::Dust.CreateWSkillsResponseSkippedItem? Type407 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsSearchResponse? Type408 { get; set; } + public global::Dust.GetWSpacesAppsRunsResponse? Type408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type409 { get; set; } + public global::Dust.CreateWSpacesAppsRunsResponse? Type409 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsSearchResponseDocument? Type410 { get; set; } + public global::Dust.GetWSpacesAppsResponse? Type410 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsResponse? Type411 { get; set; } + public global::System.Collections.Generic.IList? Type411 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type412 { get; set; } + public global::Dust.GetWSpacesAppsResponseApp? Type412 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourcesCheckUpsertQueueResponse? Type413 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsSearchResponse? Type413 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourcesDocumentsResponse? Type414 { get; set; } + public global::System.Collections.Generic.IList? Type414 { get; set; } /// /// /// - public global::Dust.CreateWSpacesDataSourcesDocumentsResponse? Type415 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsSearchResponseDocument? Type415 { get; set; } /// /// /// - public global::Dust.DeleteWSpacesDataSourcesDocumentsResponse? Type416 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsResponse? Type416 { get; set; } /// /// /// - public global::Dust.DeleteWSpacesDataSourcesDocumentsResponseDocument? Type417 { get; set; } + public global::System.Collections.Generic.IList? Type417 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourcesDocumentsResponse2? Type418 { get; set; } + public global::Dust.GetWSpacesDataSourcesCheckUpsertQueueResponse? Type418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type419 { get; set; } + public global::Dust.GetWSpacesDataSourcesDocumentsResponse? Type419 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourcesSearchResponse? Type420 { get; set; } + public global::Dust.CreateWSpacesDataSourcesDocumentsResponse? Type420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type421 { get; set; } + public global::Dust.DeleteWSpacesDataSourcesDocumentsResponse? Type421 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourcesSearchResponseDocument? Type422 { get; set; } + public global::Dust.DeleteWSpacesDataSourcesDocumentsResponseDocument? Type422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type423 { get; set; } + public global::Dust.GetWSpacesDataSourcesDocumentsResponse2? Type423 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type424 { get; set; } + public global::System.Collections.Generic.IList? Type424 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourcesResponse? Type425 { get; set; } + public global::Dust.GetWSpacesDataSourcesSearchResponse? Type425 { get; set; } /// /// /// - public global::Dust.GetWSpacesMcpServerViewsResponse? Type426 { get; set; } + public global::System.Collections.Generic.IList? Type426 { get; set; } /// /// /// - public global::Dust.GetWSpacesResponse? Type427 { get; set; } + public global::Dust.GetWSpacesDataSourcesSearchResponseDocument? Type427 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type428 { get; set; } + public global::System.Collections.Generic.IList? Type428 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsResponse3? Type429 { get; set; } + public global::System.Collections.Generic.IList? Type429 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type430 { get; set; } + public global::Dust.GetWSpacesDataSourcesResponse? Type430 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsResponse? Type431 { get; set; } + public global::Dust.GetWSpacesMcpServerViewsResponse? Type431 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsCancelResponse2? Type432 { get; set; } + public global::Dust.GetWSpacesResponse? Type432 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsCompactionsResponse? Type433 { get; set; } + public global::System.Collections.Generic.IList? Type433 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsContentFragmentResponse? Type434 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsResponse3? Type434 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsFeedbacksResponse2? Type435 { get; set; } + public global::System.Collections.Generic.IList? Type435 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type436 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsResponse? Type436 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsResponse? Type437 { get; set; } + public global::Dust.CreateWAssistantConversationsCancelResponse2? Type437 { get; set; } /// /// /// - public global::Dust.PatchWAssistantConversationsResponse2? Type438 { get; set; } + public global::Dust.CreateWAssistantConversationsCompactionsResponse? Type438 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMessagesActionsResponse? Type439 { get; set; } + public global::Dust.CreateWAssistantConversationsContentFragmentResponse? Type439 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMessagesActionsResponseMessageStatus? Type440 { get; set; } + public global::Dust.GetWAssistantConversationsFeedbacksResponse2? Type440 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesEditResponse2? Type441 { get; set; } + public global::System.Collections.Generic.IList? Type441 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesFeedbacksResponse2? Type442 { get; set; } + public global::Dust.GetWAssistantConversationsResponse? Type442 { get; set; } /// /// /// - public global::Dust.DeleteWAssistantConversationsMessagesFeedbacksResponse2? Type443 { get; set; } + public global::Dust.PatchWAssistantConversationsResponse2? Type443 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMessagesResponse? Type444 { get; set; } + public global::Dust.GetWAssistantConversationsMessagesActionsResponse? Type444 { get; set; } /// /// /// - public global::Dust.OneOf? Type445 { get; set; } + public global::Dust.GetWAssistantConversationsMessagesActionsResponseMessageStatus? Type445 { get; set; } /// /// /// - public global::Dust.DeleteWAssistantConversationsMessagesResponse? Type446 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesEditResponse2? Type446 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesRetryResponse? Type447 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesFeedbacksResponse2? Type447 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMessagesResponse2? Type448 { get; set; } + public global::Dust.DeleteWAssistantConversationsMessagesFeedbacksResponse2? Type448 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type449 { get; set; } + public global::Dust.GetWAssistantConversationsMessagesResponse? Type449 { get; set; } /// /// /// - public global::Dust.OneOf? Type450 { get; set; } + public global::Dust.OneOf? Type450 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesResponse? Type451 { get; set; } + public global::Dust.DeleteWAssistantConversationsMessagesResponse? Type451 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type452 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesRetryResponse? Type452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type453 { get; set; } + public global::Dust.GetWAssistantConversationsMessagesResponse2? Type453 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsParticipantsResponse? Type454 { get; set; } + public global::System.Collections.Generic.IList>? Type454 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsParticipantsResponseParticipants? Type455 { get; set; } + public global::Dust.OneOf? Type455 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type456 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesResponse? Type456 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsParticipantsResponseParticipantsAgent? Type457 { get; set; } + public global::System.Collections.Generic.IList? Type457 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type458 { get; set; } + public global::System.Collections.Generic.IList? Type458 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsParticipantsResponseParticipantsUser? Type459 { get; set; } + public global::Dust.GetWAssistantConversationsParticipantsResponse? Type459 { get; set; } /// /// /// - public global::Dust.DeleteWAssistantConversationsWakeupsResponse? Type460 { get; set; } + public global::Dust.GetWAssistantConversationsParticipantsResponseParticipants? Type460 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsWakeupsResponse? Type461 { get; set; } + public global::System.Collections.Generic.IList? Type461 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type462 { get; set; } + public global::Dust.GetWAssistantConversationsParticipantsResponseParticipantsAgent? Type462 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsResponse2? Type463 { get; set; } + public global::System.Collections.Generic.IList? Type463 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type464 { get; set; } + public global::Dust.GetWAssistantConversationsParticipantsResponseParticipantsUser? Type464 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsResponse? Type465 { get; set; } + public global::Dust.DeleteWAssistantConversationsWakeupsResponse? Type465 { get; set; } /// /// /// - public global::Dust.GetWAssistantMentionsSuggestionsResponse2? Type466 { get; set; } + public global::Dust.GetWAssistantConversationsWakeupsResponse? Type466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type467 { get; set; } + public global::System.Collections.Generic.IList? Type467 { get; set; } /// /// /// - public global::Dust.CreateWFilesResponse2? Type468 { get; set; } + public global::Dust.GetWAssistantConversationsResponse2? Type468 { get; set; } /// /// /// - public global::Dust.CreateWFilesResponse3? Type469 { get; set; } + public global::System.Collections.Generic.IList? Type469 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsResponse2? Type470 { get; set; } + public global::Dust.CreateWAssistantConversationsResponse? Type470 { get; set; } /// /// /// - public global::Dust.PatchWSpacesDataSourceViewsResponse? Type471 { get; set; } + public global::Dust.GetWAssistantMentionsSuggestionsResponse2? Type471 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsResponse3? Type472 { get; set; } + public global::System.Collections.Generic.IList? Type472 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type473 { get; set; } + public global::Dust.CreateWFilesResponse2? Type473 { get; set; } /// /// /// - public global::Dust.CreateWSpacesDataSourceViewsResponse? Type474 { get; set; } + public global::Dust.CreateWFilesResponse3? Type474 { get; set; } /// /// /// - public global::Dust.GetWSpacesResponse2? Type475 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsResponse2? Type475 { get; set; } /// /// /// - public global::Dust.AllOf? Type476 { get; set; } + public global::Dust.PatchWSpacesDataSourceViewsResponse? Type476 { get; set; } /// /// /// - public global::Dust.GetWSpacesResponseSpace? Type477 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsResponse3? Type477 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type478 { get; set; } + public global::System.Collections.Generic.IList? Type478 { get; set; } /// /// /// - public global::Dust.GetWSpacesResponseSpaceCategories2? Type479 { get; set; } + public global::Dust.CreateWSpacesDataSourceViewsResponse? Type479 { get; set; } /// /// /// - public global::Dust.GetWSpacesResponseSpaceCategoriesUsage? Type480 { get; set; } + public global::Dust.GetWSpacesResponse2? Type480 { get; set; } /// /// /// - public global::Dust.PatchWSpacesResponse? Type481 { get; set; } + public global::Dust.AllOf? Type481 { get; set; } /// /// /// - public global::Dust.DeleteWSpacesResponse? Type482 { get; set; } + public global::Dust.GetWSpacesResponseSpace? Type482 { get; set; } /// /// /// - public global::Dust.GetWSpacesProjectNotificationPreferencesResponse? Type483 { get; set; } + public global::System.Collections.Generic.Dictionary? Type483 { get; set; } /// /// /// - public global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference? Type484 { get; set; } + public global::Dust.GetWSpacesResponseSpaceCategories2? Type484 { get; set; } /// /// /// - public global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference? Type485 { get; set; } + public global::Dust.GetWSpacesResponseSpaceCategoriesUsage? Type485 { get; set; } /// /// /// - public global::Dust.PatchWSpacesProjectNotificationPreferencesResponse? Type486 { get; set; } + public global::Dust.PatchWSpacesResponse? Type486 { get; set; } /// /// /// - public global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference? Type487 { get; set; } + public global::Dust.DeleteWSpacesResponse? Type487 { get; set; } /// /// /// - public global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference? Type488 { get; set; } + public global::Dust.GetWSpacesProjectNotificationPreferencesResponse? Type488 { get; set; } /// /// /// - public global::Dust.GetWSpacesResponse3? Type489 { get; set; } + public global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference? Type489 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type490 { get; set; } + public global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference? Type490 { get; set; } /// /// /// - public global::Dust.OneOf? Type491 { get; set; } + public global::Dust.PatchWSpacesProjectNotificationPreferencesResponse? Type491 { get; set; } /// /// /// - public global::Dust.CreateWSpacesResponse? Type492 { get; set; } + public global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference? Type492 { get; set; } /// /// /// - public global::Dust.CreateWorkosAuthenticateResponse? Type493 { get; set; } + public global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference? Type493 { get; set; } /// /// /// - public global::Dust.CreateWorkosRevokeSessionResponse? Type494 { get; set; } + public global::Dust.GetWSpacesResponse3? Type494 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList>? Type495 { get; set; } + /// + /// + /// + public global::Dust.OneOf? Type496 { get; set; } + /// + /// + /// + public global::Dust.CreateWSpacesResponse? Type497 { get; set; } + /// + /// + /// + public global::Dust.CreateWorkosAuthenticateResponse? Type498 { get; set; } + /// + /// + /// + public global::Dust.CreateWorkosRevokeSessionResponse? Type499 { get; set; } /// /// @@ -2069,230 +2089,238 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType15 { get; set; } + public global::System.Collections.Generic.List? ListType15 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType16 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType17 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType16 { get; set; } + public global::System.Collections.Generic.List? ListType18 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType17 { get; set; } + public global::System.Collections.Generic.List? ListType19 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType18 { get; set; } + public global::System.Collections.Generic.List>? ListType20 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType19 { get; set; } + public global::System.Collections.Generic.List? ListType21 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType20 { get; set; } + public global::System.Collections.Generic.List? ListType22 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType21 { get; set; } + public global::System.Collections.Generic.List? ListType23 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType22 { get; set; } + public global::System.Collections.Generic.List? ListType24 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType23 { get; set; } + public global::System.Collections.Generic.List? ListType25 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType24 { get; set; } + public global::System.Collections.Generic.List? ListType26 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType25 { get; set; } + public global::System.Collections.Generic.List>? ListType27 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType26 { get; set; } + public global::System.Collections.Generic.List? ListType28 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType27 { get; set; } + public global::System.Collections.Generic.List? ListType29 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType28 { get; set; } + public global::System.Collections.Generic.List? ListType30 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType29 { get; set; } + public global::System.Collections.Generic.List? ListType31 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType30 { get; set; } + public global::System.Collections.Generic.List? ListType32 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType31 { get; set; } + public global::System.Collections.Generic.List? ListType33 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType32 { get; set; } + public global::System.Collections.Generic.List? ListType34 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType33 { get; set; } + public global::System.Collections.Generic.List? ListType35 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType34 { get; set; } + public global::System.Collections.Generic.List? ListType36 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType35 { get; set; } + public global::System.Collections.Generic.List? ListType37 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType36 { get; set; } + public global::System.Collections.Generic.List? ListType38 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType37 { get; set; } + public global::System.Collections.Generic.List? ListType39 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType38 { get; set; } + public global::System.Collections.Generic.List? ListType40 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType39 { get; set; } + public global::System.Collections.Generic.List? ListType41 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType40 { get; set; } + public global::System.Collections.Generic.List? ListType42 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType41 { get; set; } + public global::System.Collections.Generic.List? ListType43 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType42 { get; set; } + public global::System.Collections.Generic.List? ListType44 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType43 { get; set; } + public global::System.Collections.Generic.List? ListType45 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType44 { get; set; } + public global::System.Collections.Generic.List? ListType46 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType45 { get; set; } + public global::System.Collections.Generic.List? ListType47 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType46 { get; set; } + public global::System.Collections.Generic.List? ListType48 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType47 { get; set; } + public global::System.Collections.Generic.List? ListType49 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType48 { get; set; } + public global::System.Collections.Generic.List? ListType50 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType49 { get; set; } + public global::System.Collections.Generic.List? ListType51 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType50 { get; set; } + public global::System.Collections.Generic.List? ListType52 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType51 { get; set; } + public global::System.Collections.Generic.List? ListType53 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType52 { get; set; } + public global::System.Collections.Generic.List? ListType54 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType53 { get; set; } + public global::System.Collections.Generic.List? ListType55 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType54 { get; set; } + public global::System.Collections.Generic.List? ListType56 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List? ListType57 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType56 { get; set; } + public global::System.Collections.Generic.List? ListType58 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType57 { get; set; } + public global::System.Collections.Generic.List? ListType59 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType58 { get; set; } + public global::System.Collections.Generic.List? ListType60 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType59 { get; set; } + public global::System.Collections.Generic.List? ListType61 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType60 { get; set; } + public global::System.Collections.Generic.List? ListType62 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType61 { get; set; } + public global::System.Collections.Generic.List? ListType63 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType62 { get; set; } + public global::System.Collections.Generic.List>? ListType64 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType63 { get; set; } + public global::System.Collections.Generic.List? ListType65 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType64 { get; set; } + public global::System.Collections.Generic.List? ListType66 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType65 { get; set; } + public global::System.Collections.Generic.List? ListType67 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType66 { get; set; } + public global::System.Collections.Generic.List? ListType68 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType67 { get; set; } + public global::System.Collections.Generic.List? ListType69 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType68 { get; set; } + public global::System.Collections.Generic.List? ListType70 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType69 { get; set; } + public global::System.Collections.Generic.List? ListType71 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType70 { get; set; } + public global::System.Collections.Generic.List? ListType72 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType71 { get; set; } + public global::System.Collections.Generic.List>? ListType73 { get; set; } } } \ No newline at end of file diff --git a/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBody.Json.g.cs b/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBody.Json.g.cs new file mode 100644 index 0000000..4ceb81d --- /dev/null +++ b/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBody.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Dust +{ + public sealed partial class GetGoTemplateDraftResponseBody + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Dust.GetGoTemplateDraftResponseBody? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Dust.GetGoTemplateDraftResponseBody), + jsonSerializerContext) as global::Dust.GetGoTemplateDraftResponseBody; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Dust.GetGoTemplateDraftResponseBody? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Dust.GetGoTemplateDraftResponseBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Dust.GetGoTemplateDraftResponseBody; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBody.g.cs b/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBody.g.cs new file mode 100644 index 0000000..c282799 --- /dev/null +++ b/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBody.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace Dust +{ + /// + /// Composer draft resolved from a Contentful conversation go template. + /// + public sealed partial class GetGoTemplateDraftResponseBody + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prompt")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Prompt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attachments")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Attachments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attachmentErrors")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList AttachmentErrors { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GetGoTemplateDraftResponseBody( + string title, + string prompt, + global::System.Collections.Generic.IList attachments, + global::System.Collections.Generic.IList attachmentErrors) + { + this.Title = title ?? throw new global::System.ArgumentNullException(nameof(title)); + this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt)); + this.Attachments = attachments ?? throw new global::System.ArgumentNullException(nameof(attachments)); + this.AttachmentErrors = attachmentErrors ?? throw new global::System.ArgumentNullException(nameof(attachmentErrors)); + } + + /// + /// Initializes a new instance of the class. + /// + public GetGoTemplateDraftResponseBody() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachment.Json.g.cs b/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachment.Json.g.cs new file mode 100644 index 0000000..4a52612 --- /dev/null +++ b/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachment.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Dust +{ + public sealed partial class GetGoTemplateDraftResponseBodyAttachment + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Dust.GetGoTemplateDraftResponseBodyAttachment? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Dust.GetGoTemplateDraftResponseBodyAttachment), + jsonSerializerContext) as global::Dust.GetGoTemplateDraftResponseBodyAttachment; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Dust.GetGoTemplateDraftResponseBodyAttachment? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Dust.GetGoTemplateDraftResponseBodyAttachment), + jsonSerializerContext).ConfigureAwait(false)) as global::Dust.GetGoTemplateDraftResponseBodyAttachment; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachment.g.cs b/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachment.g.cs new file mode 100644 index 0000000..2cfd381 --- /dev/null +++ b/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachment.g.cs @@ -0,0 +1,85 @@ + +#nullable enable + +namespace Dust +{ + /// + /// + /// + public sealed partial class GetGoTemplateDraftResponseBodyAttachment + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fileId")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string FileId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contentType")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ContentType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Size { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GetGoTemplateDraftResponseBodyAttachment( + string fileId, + string name, + string contentType, + int size, + string url) + { + this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.ContentType = contentType ?? throw new global::System.ArgumentNullException(nameof(contentType)); + this.Size = size; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); + } + + /// + /// Initializes a new instance of the class. + /// + public GetGoTemplateDraftResponseBodyAttachment() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachmentError.Json.g.cs b/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachmentError.Json.g.cs new file mode 100644 index 0000000..1e4a27d --- /dev/null +++ b/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachmentError.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Dust +{ + public sealed partial class GetGoTemplateDraftResponseBodyAttachmentError + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Dust.GetGoTemplateDraftResponseBodyAttachmentError? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Dust.GetGoTemplateDraftResponseBodyAttachmentError), + jsonSerializerContext) as global::Dust.GetGoTemplateDraftResponseBodyAttachmentError; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Dust.GetGoTemplateDraftResponseBodyAttachmentError? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Dust.GetGoTemplateDraftResponseBodyAttachmentError), + jsonSerializerContext).ConfigureAwait(false)) as global::Dust.GetGoTemplateDraftResponseBodyAttachmentError; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachmentError.g.cs b/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachmentError.g.cs new file mode 100644 index 0000000..9374a62 --- /dev/null +++ b/src/libs/Dust/Generated/Dust.Models.GetGoTemplateDraftResponseBodyAttachmentError.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace Dust +{ + /// + /// + /// + public sealed partial class GetGoTemplateDraftResponseBodyAttachmentError + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GetGoTemplateDraftResponseBodyAttachmentError( + string url, + string message) + { + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); + } + + /// + /// Initializes a new instance of the class. + /// + public GetGoTemplateDraftResponseBodyAttachmentError() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Dust/Generated/Dust.PrivateAssistantClient.GetWByWIdAssistantGoTemplate.g.cs b/src/libs/Dust/Generated/Dust.PrivateAssistantClient.GetWByWIdAssistantGoTemplate.g.cs new file mode 100644 index 0000000..25576c4 --- /dev/null +++ b/src/libs/Dust/Generated/Dust.PrivateAssistantClient.GetWByWIdAssistantGoTemplate.g.cs @@ -0,0 +1,517 @@ + +#nullable enable + +namespace Dust +{ + public partial class PrivateAssistantClient + { + + private static readonly global::Dust.AutoSDKServer[] s_GetWByWIdAssistantGoTemplateServers = new global::Dust.AutoSDKServer[] + { new global::Dust.AutoSDKServer( + id: "https-dust-tt", + name: "Dust.tt API (us-central1)", + url: "https://dust.tt/", + description: "Dust.tt API (us-central1)"), + new global::Dust.AutoSDKServer( + id: "https-eu-dust-tt", + name: "Dust.tt API (europe-west1)", + url: "https://eu.dust.tt/", + description: "Dust.tt API (europe-west1)"), + }; + + + private static readonly global::Dust.EndPointSecurityRequirement s_GetWByWIdAssistantGoTemplateSecurityRequirement0 = + new global::Dust.EndPointSecurityRequirement + { + Authorizations = new global::Dust.EndPointAuthorizationRequirement[] + { new global::Dust.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "BearerAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::Dust.EndPointSecurityRequirement[] s_GetWByWIdAssistantGoTemplateSecurityRequirements = + new global::Dust.EndPointSecurityRequirement[] + { s_GetWByWIdAssistantGoTemplateSecurityRequirement0, + }; + partial void PrepareGetWByWIdAssistantGoTemplateArguments( + global::System.Net.Http.HttpClient httpClient, + ref string wId, + ref string slug); + partial void PrepareGetWByWIdAssistantGoTemplateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string wId, + string slug); + partial void ProcessGetWByWIdAssistantGoTemplateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetWByWIdAssistantGoTemplateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Resolve a conversation go template draft
+ /// Fetches a Contentful conversation go template by slug and returns a composer-ready draft with optional pre-uploaded attachments. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetWByWIdAssistantGoTemplateAsync( + string wId, + string slug, + global::Dust.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await GetWByWIdAssistantGoTemplateAsResponseAsync( + wId: wId, + slug: slug, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Resolve a conversation go template draft
+ /// Fetches a Contentful conversation go template by slug and returns a composer-ready draft with optional pre-uploaded attachments. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetWByWIdAssistantGoTemplateAsResponseAsync( + string wId, + string slug, + global::Dust.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareGetWByWIdAssistantGoTemplateArguments( + httpClient: HttpClient, + wId: ref wId, + slug: ref slug); + + + var __authorizations = global::Dust.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetWByWIdAssistantGoTemplateSecurityRequirements, + operationName: "GetWByWIdAssistantGoTemplateAsync"); + + using var __timeoutCancellationTokenSource = global::Dust.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::Dust.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::Dust.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::Dust.PathBuilder( + path: $"/api/w/{wId}/assistant/go-template", + baseUri: ResolveBaseUri( + servers: s_GetWByWIdAssistantGoTemplateServers, + defaultBaseUrl: "https://dust.tt/")); + __pathBuilder + .AddRequiredParameter("slug", slug) + ; + var __path = __pathBuilder.ToString(); + __path = global::Dust.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::Dust.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareGetWByWIdAssistantGoTemplateRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + wId: wId!, + slug: slug!); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::Dust.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::Dust.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "getWByWIdAssistantGoTemplate", + methodName: "GetWByWIdAssistantGoTemplateAsync", + pathTemplate: "$\"/api/w/{wId}/assistant/go-template\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::Dust.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::Dust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Dust.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "getWByWIdAssistantGoTemplate", + methodName: "GetWByWIdAssistantGoTemplateAsync", + pathTemplate: "$\"/api/w/{wId}/assistant/go-template\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::Dust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::Dust.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::Dust.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::Dust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Dust.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "getWByWIdAssistantGoTemplate", + methodName: "GetWByWIdAssistantGoTemplateAsync", + pathTemplate: "$\"/api/w/{wId}/assistant/go-template\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::Dust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessGetWByWIdAssistantGoTemplateResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::Dust.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::Dust.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "getWByWIdAssistantGoTemplate", + methodName: "GetWByWIdAssistantGoTemplateAsync", + pathTemplate: "$\"/api/w/{wId}/assistant/go-template\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::Dust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Dust.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "getWByWIdAssistantGoTemplate", + methodName: "GetWByWIdAssistantGoTemplateAsync", + pathTemplate: "$\"/api/w/{wId}/assistant/go-template\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::Dust.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::Dust.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessGetWByWIdAssistantGoTemplateResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::Dust.GetGoTemplateDraftResponseBody.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::Dust.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Dust.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::Dust.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::Dust.GetGoTemplateDraftResponseBody.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::Dust.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Dust.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::Dust.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/Dust/Generated/Dust.PrivateAssistantClient.g.cs b/src/libs/Dust/Generated/Dust.PrivateAssistantClient.g.cs new file mode 100644 index 0000000..ad733f4 --- /dev/null +++ b/src/libs/Dust/Generated/Dust.PrivateAssistantClient.g.cs @@ -0,0 +1,284 @@ + +#nullable enable + +namespace Dust +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class PrivateAssistantClient : global::Dust.IPrivateAssistantClient, global::System.IDisposable + { + /// + /// Dust.tt API (us-central1) + /// + public const string DefaultBaseUrl = "https://dust.tt/"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => ResolveDisplayedBaseUri(); + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::Dust.AutoSDKClientOptions Options { get; } + + + internal global::Dust.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::Dust.AutoSDKServerConfiguration(); + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Dust.SourceGenerationContext.Default; + + + + private static readonly global::Dust.AutoSDKServer[] s_availableServers = new global::Dust.AutoSDKServer[] + { new global::Dust.AutoSDKServer( + id: "https-dust-tt", + name: "Dust.tt API (us-central1)", + url: "https://dust.tt/", + description: "Dust.tt API (us-central1)"), + new global::Dust.AutoSDKServer( + id: "https-eu-dust-tt", + name: "Dust.tt API (europe-west1)", + url: "https://eu.dust.tt/", + description: "Dust.tt API (europe-west1)"), + }; + + /// + /// The server options available for this client. + /// + public global::System.Collections.Generic.IReadOnlyList AvailableServers => s_availableServers; + + /// + /// The currently selected server for this client, if any. + /// + public global::Dust.AutoSDKServer? SelectedServer + { + get => ResolveSelectedServer(); + set => SelectServer(value); + } + + /// + /// Creates a new instance of the PrivateAssistantClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public PrivateAssistantClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the PrivateAssistantClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public PrivateAssistantClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::Dust.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the PrivateAssistantClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public PrivateAssistantClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::Dust.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + if (baseUri is not null) + { + HttpClient.BaseAddress ??= baseUri; + } + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::Dust.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + AutoSDKServerConfiguration.ExplicitBaseUri = baseUri ?? httpClient?.BaseAddress; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + + + /// + /// Selects one of the generated server options by id. + /// + public bool TrySelectServer(string serverId) + { + if (string.IsNullOrWhiteSpace(serverId)) + { + return false; + } + + foreach (var server in s_availableServers) + { + if (string.Equals(server.Id, serverId, global::System.StringComparison.OrdinalIgnoreCase)) + { + AutoSDKServerConfiguration.SelectedServer = server; + AutoSDKServerConfiguration.ExplicitBaseUri = null; + return true; + } + } + + return false; + } + + /// + /// Clears the currently selected server. + /// + public void ClearSelectedServer() + { + AutoSDKServerConfiguration.SelectedServer = null; + } + + private global::Dust.AutoSDKServer? ResolveSelectedServer() + { + var selectedServer = AutoSDKServerConfiguration.SelectedServer; + if (selectedServer is null) + { + return null; + } + + foreach (var server in s_availableServers) + { + if (string.Equals(server.Id, selectedServer.Id, global::System.StringComparison.Ordinal)) + { + return server; + } + } + + return null; + } + + private void SelectServer(global::Dust.AutoSDKServer? server) + { + if (server is null) + { + AutoSDKServerConfiguration.SelectedServer = null; + return; + } + + foreach (var candidate in s_availableServers) + { + if (string.Equals(candidate.Id, server.Id, global::System.StringComparison.Ordinal)) + { + AutoSDKServerConfiguration.SelectedServer = candidate; + AutoSDKServerConfiguration.ExplicitBaseUri = null; + return; + } + } + + throw new global::System.ArgumentException("The provided server is not available for this client.", nameof(server)); + } + + private global::System.Uri? ResolveDisplayedBaseUri() + { + if (AutoSDKServerConfiguration.ExplicitBaseUri is global::System.Uri explicitBaseUri) + { + return explicitBaseUri; + } + + return ResolveSelectedServer()?.Uri ?? (s_availableServers.Length > 0 ? s_availableServers[0].Uri : HttpClient.BaseAddress); + } + + private global::System.Uri? ResolveBaseUri( + global::Dust.AutoSDKServer[] servers, + string defaultBaseUrl) + { + if (AutoSDKServerConfiguration.ExplicitBaseUri is global::System.Uri explicitBaseUri) + { + return explicitBaseUri; + } + + if (AutoSDKServerConfiguration.SelectedServer is global::Dust.AutoSDKServer selectedServer) + { + foreach (var server in servers) + { + if (string.Equals(server.Id, selectedServer.Id, global::System.StringComparison.Ordinal)) + { + return server.Uri; + } + } + } + + if (servers.Length > 0) + { + return servers[0].Uri; + } + + return string.IsNullOrWhiteSpace(defaultBaseUrl) + ? HttpClient.BaseAddress + : new global::System.Uri(defaultBaseUrl, global::System.UriKind.RelativeOrAbsolute); + } + } +} \ No newline at end of file diff --git a/src/libs/Dust/openapi.yaml b/src/libs/Dust/openapi.yaml index 8668b33..c12054f 100644 --- a/src/libs/Dust/openapi.yaml +++ b/src/libs/Dust/openapi.yaml @@ -8147,6 +8147,58 @@ } } }, + "/api/w/{wId}/assistant/go-template": { + "get": { + "summary": "Resolve a conversation go template draft", + "description": "Fetches a Contentful conversation go template by slug and returns a composer-ready draft with optional pre-uploaded attachments.", + "tags": [ + "Private Assistant" + ], + "parameters": [ + { + "in": "path", + "name": "wId", + "required": true, + "description": "ID of the workspace", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "slug", + "required": true, + "description": "Contentful template slug", + "schema": { + "type": "string" + } + } + ], + "security": [ + { + "BearerAuth": [] + } + ], + "responses": { + "200": { + "description": "Composer draft resolved from the template", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetGoTemplateDraftResponseBody" + } + } + } + }, + "404": { + "description": "Template not found or disabled" + }, + "422": { + "description": "Missing slug query parameter" + } + } + } + }, "/api/w/{wId}/assistant/mentions/suggestions": { "get": { "summary": "Get mention suggestions", @@ -11016,6 +11068,72 @@ } } }, + "GetGoTemplateDraftResponseBody": { + "type": "object", + "description": "Composer draft resolved from a Contentful conversation go template.", + "required": [ + "title", + "prompt", + "attachments", + "attachmentErrors" + ], + "properties": { + "title": { + "type": "string" + }, + "prompt": { + "type": "string" + }, + "attachments": { + "type": "array", + "items": { + "type": "object", + "required": [ + "fileId", + "name", + "contentType", + "size", + "url" + ], + "properties": { + "fileId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "contentType": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "url": { + "type": "string" + } + } + } + }, + "attachmentErrors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "url", + "message" + ], + "properties": { + "url": { + "type": "string" + }, + "message": { + "type": "string" + } + } + } + } + } + }, "PrivateFileWithUploadUrl": { "type": "object", "description": "File record with a pre-signed upload URL.",