diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageFormat.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageFormat.g.cs new file mode 100644 index 0000000..6f5853f --- /dev/null +++ b/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageFormat.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Dust.JsonConverters +{ + /// + public sealed class GetWWorkspaceUsageFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Dust.GetWWorkspaceUsageFormat Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Dust.GetWWorkspaceUsageFormatExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Dust.GetWWorkspaceUsageFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Dust.GetWWorkspaceUsageFormat); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Dust.GetWWorkspaceUsageFormat value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Dust.GetWWorkspaceUsageFormatExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageFormatNullable.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageFormatNullable.g.cs new file mode 100644 index 0000000..c7ecc5d --- /dev/null +++ b/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageFormatNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Dust.JsonConverters +{ + /// + public sealed class GetWWorkspaceUsageFormatNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Dust.GetWWorkspaceUsageFormat? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Dust.GetWWorkspaceUsageFormatExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Dust.GetWWorkspaceUsageFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Dust.GetWWorkspaceUsageFormat?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Dust.GetWWorkspaceUsageFormat? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Dust.GetWWorkspaceUsageFormatExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageMode.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageMode.g.cs new file mode 100644 index 0000000..e8741db --- /dev/null +++ b/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageMode.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Dust.JsonConverters +{ + /// + public sealed class GetWWorkspaceUsageModeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Dust.GetWWorkspaceUsageMode Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Dust.GetWWorkspaceUsageModeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Dust.GetWWorkspaceUsageMode)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Dust.GetWWorkspaceUsageMode); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Dust.GetWWorkspaceUsageMode value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Dust.GetWWorkspaceUsageModeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageModeNullable.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageModeNullable.g.cs new file mode 100644 index 0000000..9d78f36 --- /dev/null +++ b/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageModeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Dust.JsonConverters +{ + /// + public sealed class GetWWorkspaceUsageModeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Dust.GetWWorkspaceUsageMode? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Dust.GetWWorkspaceUsageModeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Dust.GetWWorkspaceUsageMode)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Dust.GetWWorkspaceUsageMode?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Dust.GetWWorkspaceUsageMode? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Dust.GetWWorkspaceUsageModeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageTable.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageTable.g.cs new file mode 100644 index 0000000..951de4d --- /dev/null +++ b/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageTable.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Dust.JsonConverters +{ + /// + public sealed class GetWWorkspaceUsageTableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Dust.GetWWorkspaceUsageTable Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Dust.GetWWorkspaceUsageTableExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Dust.GetWWorkspaceUsageTable)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Dust.GetWWorkspaceUsageTable); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Dust.GetWWorkspaceUsageTable value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Dust.GetWWorkspaceUsageTableExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageTableNullable.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageTableNullable.g.cs new file mode 100644 index 0000000..0ad9fe1 --- /dev/null +++ b/src/libs/Dust/Generated/Dust.JsonConverters.GetWWorkspaceUsageTableNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Dust.JsonConverters +{ + /// + public sealed class GetWWorkspaceUsageTableNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Dust.GetWWorkspaceUsageTable? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Dust.GetWWorkspaceUsageTableExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Dust.GetWWorkspaceUsageTable)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Dust.GetWWorkspaceUsageTable?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Dust.GetWWorkspaceUsageTable? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Dust.GetWWorkspaceUsageTableExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs b/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs index 3c87148..9d0ea51 100644 --- a/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs +++ b/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs @@ -445,6 +445,18 @@ namespace Dust typeof(global::Dust.JsonConverters.GetWSkillsStatusNullableJsonConverter), + typeof(global::Dust.JsonConverters.GetWWorkspaceUsageModeJsonConverter), + + typeof(global::Dust.JsonConverters.GetWWorkspaceUsageModeNullableJsonConverter), + + typeof(global::Dust.JsonConverters.GetWWorkspaceUsageFormatJsonConverter), + + typeof(global::Dust.JsonConverters.GetWWorkspaceUsageFormatNullableJsonConverter), + + typeof(global::Dust.JsonConverters.GetWWorkspaceUsageTableJsonConverter), + + typeof(global::Dust.JsonConverters.GetWWorkspaceUsageTableNullableJsonConverter), + typeof(global::Dust.JsonConverters.GetWAssistantAgentConfigurationsView2JsonConverter), typeof(global::Dust.JsonConverters.GetWAssistantAgentConfigurationsView2NullableJsonConverter), @@ -916,6 +928,9 @@ namespace Dust [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWAssistantMentionsSuggestionsSelectItem), TypeInfoPropertyName = "GetWAssistantMentionsSuggestionsSelectItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWSearchViewType), TypeInfoPropertyName = "GetWSearchViewType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWSkillsStatus), TypeInfoPropertyName = "GetWSkillsStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWWorkspaceUsageMode), TypeInfoPropertyName = "GetWWorkspaceUsageMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWWorkspaceUsageFormat), TypeInfoPropertyName = "GetWWorkspaceUsageFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWWorkspaceUsageTable), TypeInfoPropertyName = "GetWWorkspaceUsageTable2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWAssistantAgentConfigurationsView2), TypeInfoPropertyName = "GetWAssistantAgentConfigurationsView22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWAssistantAgentConfigurationsWithUsage), TypeInfoPropertyName = "GetWAssistantAgentConfigurationsWithUsage2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWAssistantAgentConfigurationsWithAuthors2), TypeInfoPropertyName = "GetWAssistantAgentConfigurationsWithAuthors22")] @@ -1050,9 +1065,6 @@ namespace Dust [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWSpacesResponseSpaceCategories2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWSpacesResponseSpaceCategoriesUsage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PatchWSpacesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.DeleteWSpacesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWSpacesProjectNotificationPreferencesResponse))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1496,6 +1508,18 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Dust.JsonConverters.GetWSkillsStatusNullableJsonConverter), + typeof(global::Dust.JsonConverters.GetWWorkspaceUsageModeJsonConverter), + + typeof(global::Dust.JsonConverters.GetWWorkspaceUsageModeNullableJsonConverter), + + typeof(global::Dust.JsonConverters.GetWWorkspaceUsageFormatJsonConverter), + + typeof(global::Dust.JsonConverters.GetWWorkspaceUsageFormatNullableJsonConverter), + + typeof(global::Dust.JsonConverters.GetWWorkspaceUsageTableJsonConverter), + + typeof(global::Dust.JsonConverters.GetWWorkspaceUsageTableNullableJsonConverter), + typeof(global::Dust.JsonConverters.GetWAssistantAgentConfigurationsView2JsonConverter), typeof(global::Dust.JsonConverters.GetWAssistantAgentConfigurationsView2NullableJsonConverter), @@ -1606,6 +1630,9 @@ 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.PatchWSpacesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.DeleteWSpacesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWSpacesProjectNotificationPreferencesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference), TypeInfoPropertyName = "GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PatchWSpacesProjectNotificationPreferencesResponse))] @@ -1949,6 +1976,12 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Dust.JsonConverters.GetWSearchViewTypeNullableJsonConverter()); options.Converters.Add(new global::Dust.JsonConverters.GetWSkillsStatusJsonConverter()); options.Converters.Add(new global::Dust.JsonConverters.GetWSkillsStatusNullableJsonConverter()); + options.Converters.Add(new global::Dust.JsonConverters.GetWWorkspaceUsageModeJsonConverter()); + options.Converters.Add(new global::Dust.JsonConverters.GetWWorkspaceUsageModeNullableJsonConverter()); + options.Converters.Add(new global::Dust.JsonConverters.GetWWorkspaceUsageFormatJsonConverter()); + options.Converters.Add(new global::Dust.JsonConverters.GetWWorkspaceUsageFormatNullableJsonConverter()); + options.Converters.Add(new global::Dust.JsonConverters.GetWWorkspaceUsageTableJsonConverter()); + options.Converters.Add(new global::Dust.JsonConverters.GetWWorkspaceUsageTableNullableJsonConverter()); options.Converters.Add(new global::Dust.JsonConverters.GetWAssistantAgentConfigurationsView2JsonConverter()); options.Converters.Add(new global::Dust.JsonConverters.GetWAssistantAgentConfigurationsView2NullableJsonConverter()); options.Converters.Add(new global::Dust.JsonConverters.GetWAssistantAgentConfigurationsWithUsageJsonConverter()); diff --git a/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs b/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs index 3893cfa..237c564 100644 --- a/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs +++ b/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs @@ -1468,595 +1468,607 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsView2? Type360 { get; set; } + public global::Dust.GetWWorkspaceUsageMode? Type360 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsWithUsage? Type361 { get; set; } + public global::Dust.GetWWorkspaceUsageFormat? Type361 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsWithAuthors2? Type362 { get; set; } + public global::Dust.GetWWorkspaceUsageTable? Type362 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsWithFeedbacks? Type363 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsView2? Type363 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsWithEditors? Type364 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsWithUsage? Type364 { get; set; } /// /// /// - public global::Dust.GetWAssistantMentionsSuggestionsSelect? Type365 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsWithAuthors2? Type365 { get; set; } /// /// /// - public global::Dust.GetWAssistantMentionsSuggestionsCurrent? Type366 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsWithFeedbacks? Type366 { get; set; } /// /// /// - public global::Dust.GetWFilesVersion? Type367 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsWithEditors? Type367 { get; set; } /// /// /// - public global::Dust.GetWFilesAction? Type368 { get; set; } + public global::Dust.GetWAssistantMentionsSuggestionsSelect? Type368 { get; set; } /// /// /// - public global::Dust.DeleteWSpacesDataSourceViewsForce? Type369 { get; set; } + public global::Dust.GetWAssistantMentionsSuggestionsCurrent? Type369 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsCategory? Type370 { get; set; } + public global::Dust.GetWFilesVersion? Type370 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsWithDetails? Type371 { get; set; } + public global::Dust.GetWFilesAction? Type371 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsIncludeEditedBy? Type372 { get; set; } + public global::Dust.DeleteWSpacesDataSourceViewsForce? Type372 { get; set; } /// /// /// - public global::Dust.GetWSpacesIncludeAllMembers? Type373 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsCategory? Type373 { get; set; } /// /// /// - public global::Dust.DeleteWSpacesForce? Type374 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsWithDetails? Type374 { get; set; } /// /// /// - public global::Dust.GetUserResponse? Type375 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsIncludeEditedBy? Type375 { get; set; } /// /// /// - public global::Dust.PatchUserResponse? Type376 { get; set; } + public global::Dust.GetWSpacesIncludeAllMembers? Type376 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsResponse? Type377 { get; set; } + public global::Dust.DeleteWSpacesForce? Type377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type378 { get; set; } + public global::Dust.GetUserResponse? Type378 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsResponse2? Type379 { get; set; } + public global::Dust.PatchUserResponse? Type379 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsResponse? Type380 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsResponse? Type380 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type381 { get; set; } + public global::System.Collections.Generic.IList? Type381 { get; set; } /// /// /// - public global::Dust.PatchWAssistantAgentConfigurationsResponseSkippedAction? Type382 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsResponse2? Type382 { get; set; } /// /// /// - public global::Dust.DeleteWAssistantAgentConfigurationsResponse? Type383 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsResponse? Type383 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportResponse? Type384 { get; set; } + public global::System.Collections.Generic.IList? Type384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type385 { get; set; } + public global::Dust.PatchWAssistantAgentConfigurationsResponseSkippedAction? Type385 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsImportResponseSkippedAction? Type386 { get; set; } + public global::Dust.DeleteWAssistantAgentConfigurationsResponse? Type386 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsSearchResponse? Type387 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportResponse? Type387 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsCancelResponse? Type388 { get; set; } + public global::System.Collections.Generic.IList? Type388 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsFeedbacksResponse? Type389 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsImportResponseSkippedAction? Type389 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type390 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsSearchResponse? Type390 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsFeedbacksResponseFeedback? Type391 { get; set; } + public global::Dust.CreateWAssistantConversationsCancelResponse? Type391 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsFeedbacksResponseFeedbackThumbDirection? Type392 { get; set; } + public global::Dust.GetWAssistantConversationsFeedbacksResponse? Type392 { get; set; } /// /// /// - public global::Dust.PatchWAssistantConversationsResponse? Type393 { get; set; } + public global::System.Collections.Generic.IList? Type393 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMentionsSuggestionsResponse? Type394 { get; set; } + public global::Dust.GetWAssistantConversationsFeedbacksResponseFeedback? Type394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type395 { get; set; } + public global::Dust.GetWAssistantConversationsFeedbacksResponseFeedbackThumbDirection? Type395 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionResponse? Type396 { get; set; } + public global::Dust.PatchWAssistantConversationsResponse? Type396 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesEditResponse? Type397 { get; set; } + public global::Dust.GetWAssistantConversationsMentionsSuggestionsResponse? Type397 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMessagesEventsResponse? Type398 { get; set; } + public global::System.Collections.Generic.IList? Type398 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type399 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionResponse? Type399 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMessagesEventsResponseEvent? Type400 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesEditResponse? Type400 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesFeedbacksResponse? Type401 { get; set; } + public global::Dust.GetWAssistantConversationsMessagesEventsResponse? Type401 { get; set; } /// /// /// - public global::Dust.DeleteWAssistantConversationsMessagesFeedbacksResponse? Type402 { get; set; } + public global::System.Collections.Generic.IList? Type402 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesValidateActionResponse? Type403 { get; set; } + public global::Dust.GetWAssistantConversationsMessagesEventsResponseEvent? Type403 { get; set; } /// /// /// - public global::Dust.CreateWAssistantMentionsParseResponse? Type404 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesFeedbacksResponse? Type404 { get; set; } /// /// /// - public global::Dust.GetWAssistantMentionsSuggestionsResponse? Type405 { get; set; } + public global::Dust.DeleteWAssistantConversationsMessagesFeedbacksResponse? Type405 { get; set; } /// /// /// - public global::Dust.CreateWFilesResponse? Type406 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesValidateActionResponse? Type406 { get; set; } /// /// /// - public global::Dust.CreateWFilesResponseFile? Type407 { get; set; } + public global::Dust.CreateWAssistantMentionsParseResponse? Type407 { get; set; } /// /// /// - public global::Dust.CreateWMcpHeartbeatResponse? Type408 { get; set; } + public global::Dust.GetWAssistantMentionsSuggestionsResponse? Type408 { get; set; } /// /// /// - public global::Dust.CreateWMcpRegisterResponse? Type409 { get; set; } + public global::Dust.CreateWFilesResponse? Type409 { get; set; } /// /// /// - public global::Dust.GetWMcpRequestsResponse? Type410 { get; set; } + public global::Dust.CreateWFilesResponseFile? Type410 { get; set; } /// /// /// - public global::Dust.GetWSkillsResponse? Type411 { get; set; } + public global::Dust.CreateWMcpHeartbeatResponse? Type411 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type412 { get; set; } + public global::Dust.CreateWMcpRegisterResponse? Type412 { get; set; } /// /// /// - public global::Dust.CreateWSkillsResponse? Type413 { get; set; } + public global::Dust.GetWMcpRequestsResponse? Type413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type414 { get; set; } + public global::Dust.GetWSkillsResponse? Type414 { get; set; } /// /// /// - public global::Dust.CreateWSkillsResponseSkippedItem? Type415 { get; set; } + public global::System.Collections.Generic.IList? Type415 { get; set; } /// /// /// - public global::Dust.GetWSpacesAppsRunsResponse? Type416 { get; set; } + public global::Dust.CreateWSkillsResponse? Type416 { get; set; } /// /// /// - public global::Dust.CreateWSpacesAppsRunsResponse? Type417 { get; set; } + public global::System.Collections.Generic.IList? Type417 { get; set; } /// /// /// - public global::Dust.GetWSpacesAppsResponse? Type418 { get; set; } + public global::Dust.CreateWSkillsResponseSkippedItem? Type418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type419 { get; set; } + public global::Dust.GetWSpacesAppsRunsResponse? Type419 { get; set; } /// /// /// - public global::Dust.GetWSpacesAppsResponseApp? Type420 { get; set; } + public global::Dust.CreateWSpacesAppsRunsResponse? Type420 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsSearchResponse? Type421 { get; set; } + public global::Dust.GetWSpacesAppsResponse? Type421 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type422 { get; set; } + public global::System.Collections.Generic.IList? Type422 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsSearchResponseDocument? Type423 { get; set; } + public global::Dust.GetWSpacesAppsResponseApp? Type423 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsResponse? Type424 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsSearchResponse? Type424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type425 { get; set; } + public global::System.Collections.Generic.IList? Type425 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourcesCheckUpsertQueueResponse? Type426 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsSearchResponseDocument? Type426 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourcesDocumentsResponse? Type427 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsResponse? Type427 { get; set; } /// /// /// - public global::Dust.CreateWSpacesDataSourcesDocumentsResponse? Type428 { get; set; } + public global::System.Collections.Generic.IList? Type428 { get; set; } /// /// /// - public global::Dust.DeleteWSpacesDataSourcesDocumentsResponse? Type429 { get; set; } + public global::Dust.GetWSpacesDataSourcesCheckUpsertQueueResponse? Type429 { get; set; } /// /// /// - public global::Dust.DeleteWSpacesDataSourcesDocumentsResponseDocument? Type430 { get; set; } + public global::Dust.GetWSpacesDataSourcesDocumentsResponse? Type430 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourcesDocumentsResponse2? Type431 { get; set; } + public global::Dust.CreateWSpacesDataSourcesDocumentsResponse? Type431 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type432 { get; set; } + public global::Dust.DeleteWSpacesDataSourcesDocumentsResponse? Type432 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourcesSearchResponse? Type433 { get; set; } + public global::Dust.DeleteWSpacesDataSourcesDocumentsResponseDocument? Type433 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type434 { get; set; } + public global::Dust.GetWSpacesDataSourcesDocumentsResponse2? Type434 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourcesSearchResponseDocument? Type435 { get; set; } + public global::System.Collections.Generic.IList? Type435 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type436 { get; set; } + public global::Dust.GetWSpacesDataSourcesSearchResponse? Type436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type437 { get; set; } + public global::System.Collections.Generic.IList? Type437 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourcesResponse? Type438 { get; set; } + public global::Dust.GetWSpacesDataSourcesSearchResponseDocument? Type438 { get; set; } /// /// /// - public global::Dust.GetWSpacesMcpServerViewsResponse? Type439 { get; set; } + public global::System.Collections.Generic.IList? Type439 { get; set; } /// /// /// - public global::Dust.GetWSpacesResponse? Type440 { get; set; } + public global::System.Collections.Generic.IList? Type440 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type441 { get; set; } + public global::Dust.GetWSpacesDataSourcesResponse? Type441 { get; set; } /// /// /// - public global::Dust.GetWAssistantAgentConfigurationsResponse3? Type442 { get; set; } + public global::Dust.GetWSpacesMcpServerViewsResponse? Type442 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type443 { get; set; } + public global::Dust.GetWSpacesResponse? Type443 { get; set; } /// /// /// - public global::Dust.CreateWAssistantAgentConfigurationsResponse? Type444 { get; set; } + public global::System.Collections.Generic.IList? Type444 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsCancelResponse2? Type445 { get; set; } + public global::Dust.GetWAssistantAgentConfigurationsResponse3? Type445 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsCompactionsResponse? Type446 { get; set; } + public global::System.Collections.Generic.IList? Type446 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsContentFragmentResponse? Type447 { get; set; } + public global::Dust.CreateWAssistantAgentConfigurationsResponse? Type447 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsFeedbacksResponse2? Type448 { get; set; } + public global::Dust.CreateWAssistantConversationsCancelResponse2? Type448 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type449 { get; set; } + public global::Dust.CreateWAssistantConversationsCompactionsResponse? Type449 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsResponse? Type450 { get; set; } + public global::Dust.CreateWAssistantConversationsContentFragmentResponse? Type450 { get; set; } /// /// /// - public global::Dust.PatchWAssistantConversationsResponse2? Type451 { get; set; } + public global::Dust.GetWAssistantConversationsFeedbacksResponse2? Type451 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMessagesActionsResponse? Type452 { get; set; } + public global::System.Collections.Generic.IList? Type452 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMessagesActionsResponseMessageStatus? Type453 { get; set; } + public global::Dust.GetWAssistantConversationsResponse? Type453 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesEditResponse2? Type454 { get; set; } + public global::Dust.PatchWAssistantConversationsResponse2? Type454 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesFeedbacksResponse2? Type455 { get; set; } + public global::Dust.GetWAssistantConversationsMessagesActionsResponse? Type455 { get; set; } /// /// /// - public global::Dust.DeleteWAssistantConversationsMessagesFeedbacksResponse2? Type456 { get; set; } + public global::Dust.GetWAssistantConversationsMessagesActionsResponseMessageStatus? Type456 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMessagesResponse? Type457 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesEditResponse2? Type457 { get; set; } /// /// /// - public global::Dust.OneOf? Type458 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesFeedbacksResponse2? Type458 { get; set; } /// /// /// - public global::Dust.DeleteWAssistantConversationsMessagesResponse? Type459 { get; set; } + public global::Dust.DeleteWAssistantConversationsMessagesFeedbacksResponse2? Type459 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesRetryResponse? Type460 { get; set; } + public global::Dust.GetWAssistantConversationsMessagesResponse? Type460 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsMessagesResponse2? Type461 { get; set; } + public global::Dust.OneOf? Type461 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type462 { get; set; } + public global::Dust.DeleteWAssistantConversationsMessagesResponse? Type462 { get; set; } /// /// /// - public global::Dust.OneOf? Type463 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesRetryResponse? Type463 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsMessagesResponse? Type464 { get; set; } + public global::Dust.GetWAssistantConversationsMessagesResponse2? Type464 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type465 { get; set; } + public global::System.Collections.Generic.IList>? Type465 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type466 { get; set; } + public global::Dust.OneOf? Type466 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsParticipantsResponse? Type467 { get; set; } + public global::Dust.CreateWAssistantConversationsMessagesResponse? Type467 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsParticipantsResponseParticipants? Type468 { get; set; } + public global::System.Collections.Generic.IList? Type468 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type469 { get; set; } + public global::System.Collections.Generic.IList? Type469 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsParticipantsResponseParticipantsAgent? Type470 { get; set; } + public global::Dust.GetWAssistantConversationsParticipantsResponse? Type470 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type471 { get; set; } + public global::Dust.GetWAssistantConversationsParticipantsResponseParticipants? Type471 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsParticipantsResponseParticipantsUser? Type472 { get; set; } + public global::System.Collections.Generic.IList? Type472 { get; set; } /// /// /// - public global::Dust.DeleteWAssistantConversationsWakeupsResponse? Type473 { get; set; } + public global::Dust.GetWAssistantConversationsParticipantsResponseParticipantsAgent? Type473 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsWakeupsResponse? Type474 { get; set; } + public global::System.Collections.Generic.IList? Type474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type475 { get; set; } + public global::Dust.GetWAssistantConversationsParticipantsResponseParticipantsUser? Type475 { get; set; } /// /// /// - public global::Dust.GetWAssistantConversationsResponse2? Type476 { get; set; } + public global::Dust.DeleteWAssistantConversationsWakeupsResponse? Type476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type477 { get; set; } + public global::Dust.GetWAssistantConversationsWakeupsResponse? Type477 { get; set; } /// /// /// - public global::Dust.CreateWAssistantConversationsResponse? Type478 { get; set; } + public global::System.Collections.Generic.IList? Type478 { get; set; } /// /// /// - public global::Dust.GetWAssistantMentionsSuggestionsResponse2? Type479 { get; set; } + public global::Dust.GetWAssistantConversationsResponse2? Type479 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type480 { get; set; } + public global::System.Collections.Generic.IList? Type480 { get; set; } /// /// /// - public global::Dust.CreateWFilesResponse2? Type481 { get; set; } + public global::Dust.CreateWAssistantConversationsResponse? Type481 { get; set; } /// /// /// - public global::Dust.CreateWFilesResponse3? Type482 { get; set; } + public global::Dust.GetWAssistantMentionsSuggestionsResponse2? Type482 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsResponse2? Type483 { get; set; } + public global::System.Collections.Generic.IList? Type483 { get; set; } /// /// /// - public global::Dust.PatchWSpacesDataSourceViewsResponse? Type484 { get; set; } + public global::Dust.CreateWFilesResponse2? Type484 { get; set; } /// /// /// - public global::Dust.GetWSpacesDataSourceViewsResponse3? Type485 { get; set; } + public global::Dust.CreateWFilesResponse3? Type485 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type486 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsResponse2? Type486 { get; set; } /// /// /// - public global::Dust.CreateWSpacesDataSourceViewsResponse? Type487 { get; set; } + public global::Dust.PatchWSpacesDataSourceViewsResponse? Type487 { get; set; } /// /// /// - public global::Dust.GetWSpacesResponse2? Type488 { get; set; } + public global::Dust.GetWSpacesDataSourceViewsResponse3? Type488 { get; set; } /// /// /// - public global::Dust.AllOf? Type489 { get; set; } + public global::System.Collections.Generic.IList? Type489 { get; set; } /// /// /// - public global::Dust.GetWSpacesResponseSpace? Type490 { get; set; } + public global::Dust.CreateWSpacesDataSourceViewsResponse? Type490 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type491 { get; set; } + public global::Dust.GetWSpacesResponse2? Type491 { get; set; } /// /// /// - public global::Dust.GetWSpacesResponseSpaceCategories2? Type492 { get; set; } + public global::Dust.AllOf? Type492 { get; set; } /// /// /// - public global::Dust.GetWSpacesResponseSpaceCategoriesUsage? Type493 { get; set; } + public global::Dust.GetWSpacesResponseSpace? Type493 { get; set; } /// /// /// - public global::Dust.PatchWSpacesResponse? Type494 { get; set; } + public global::System.Collections.Generic.Dictionary? Type494 { get; set; } /// /// /// - public global::Dust.DeleteWSpacesResponse? Type495 { get; set; } + public global::Dust.GetWSpacesResponseSpaceCategories2? Type495 { get; set; } /// /// /// - public global::Dust.GetWSpacesProjectNotificationPreferencesResponse? Type496 { get; set; } + public global::Dust.GetWSpacesResponseSpaceCategoriesUsage? Type496 { get; set; } /// /// /// - public global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference? Type497 { get; set; } + public global::Dust.PatchWSpacesResponse? Type497 { get; set; } /// /// /// - public global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference? Type498 { get; set; } + public global::Dust.DeleteWSpacesResponse? Type498 { get; set; } /// /// /// - public global::Dust.PatchWSpacesProjectNotificationPreferencesResponse? Type499 { get; set; } + public global::Dust.GetWSpacesProjectNotificationPreferencesResponse? Type499 { get; set; } /// /// /// - public global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference? Type500 { get; set; } + public global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference? Type500 { get; set; } /// /// /// - public global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference? Type501 { get; set; } + public global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference? Type501 { get; set; } /// /// /// - public global::Dust.GetWSpacesResponse3? Type502 { get; set; } + public global::Dust.PatchWSpacesProjectNotificationPreferencesResponse? Type502 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type503 { get; set; } + public global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference? Type503 { get; set; } /// /// /// - public global::Dust.OneOf? Type504 { get; set; } + public global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference? Type504 { get; set; } /// /// /// - public global::Dust.CreateWSpacesResponse? Type505 { get; set; } + public global::Dust.GetWSpacesResponse3? Type505 { get; set; } /// /// /// - public global::Dust.CreateWorkosAuthenticateResponse? Type506 { get; set; } + public global::System.Collections.Generic.IList>? Type506 { get; set; } /// /// /// - public global::Dust.CreateWorkosRevokeSessionResponse? Type507 { get; set; } + public global::Dust.OneOf? Type507 { get; set; } + /// + /// + /// + public global::Dust.CreateWSpacesResponse? Type508 { get; set; } + /// + /// + /// + public global::Dust.CreateWorkosAuthenticateResponse? Type509 { get; set; } + /// + /// + /// + public global::Dust.CreateWorkosRevokeSessionResponse? Type510 { get; set; } /// /// diff --git a/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageFormat.g.cs b/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageFormat.g.cs new file mode 100644 index 0000000..066198d --- /dev/null +++ b/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageFormat.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Dust +{ + /// + /// + /// + public enum GetWWorkspaceUsageFormat + { + /// + /// + /// + Csv, + /// + /// + /// + Json, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GetWWorkspaceUsageFormatExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GetWWorkspaceUsageFormat value) + { + return value switch + { + GetWWorkspaceUsageFormat.Csv => "csv", + GetWWorkspaceUsageFormat.Json => "json", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GetWWorkspaceUsageFormat? ToEnum(string value) + { + return value switch + { + "csv" => GetWWorkspaceUsageFormat.Csv, + "json" => GetWWorkspaceUsageFormat.Json, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageMode.g.cs b/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageMode.g.cs new file mode 100644 index 0000000..054826e --- /dev/null +++ b/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageMode.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Dust +{ + /// + /// + /// + public enum GetWWorkspaceUsageMode + { + /// + /// + /// + Month, + /// + /// + /// + Range, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GetWWorkspaceUsageModeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GetWWorkspaceUsageMode value) + { + return value switch + { + GetWWorkspaceUsageMode.Month => "month", + GetWWorkspaceUsageMode.Range => "range", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GetWWorkspaceUsageMode? ToEnum(string value) + { + return value switch + { + "month" => GetWWorkspaceUsageMode.Month, + "range" => GetWWorkspaceUsageMode.Range, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageResponse.Json.g.cs b/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageResponse.Json.g.cs new file mode 100644 index 0000000..d59a92f --- /dev/null +++ b/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Dust +{ + public sealed partial class GetWWorkspaceUsageResponse + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Dust.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Dust.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Dust.GetWWorkspaceUsageResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Dust.GetWWorkspaceUsageResponse), + jsonSerializerContext) as global::Dust.GetWWorkspaceUsageResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Dust.GetWWorkspaceUsageResponse? FromJson( + string json) + { + return FromJson( + json, + global::Dust.SourceGenerationContext.Default); + } + + /// + /// 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.GetWWorkspaceUsageResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Dust.SourceGenerationContext.Default); + } + + 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.GetWWorkspaceUsageResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Dust.GetWWorkspaceUsageResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Dust.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Dust.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageResponse.g.cs b/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageResponse.g.cs new file mode 100644 index 0000000..e2e8e90 --- /dev/null +++ b/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageResponse.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Dust +{ + /// + /// + /// + public sealed partial class GetWWorkspaceUsageResponse + { + + /// + /// 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(); + + } +} \ No newline at end of file diff --git a/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageTable.g.cs b/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageTable.g.cs new file mode 100644 index 0000000..73d2797 --- /dev/null +++ b/src/libs/Dust/Generated/Dust.Models.GetWWorkspaceUsageTable.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace Dust +{ + /// + /// + /// + public enum GetWWorkspaceUsageTable + { + /// + /// A concatenation of all the above tables. + /// + All, + /// + /// The list of messages sent by users including the mentioned agents. + /// + AssistantMessages, + /// + /// The list of workspace agents and their corresponding usage. + /// + Assistants, + /// + /// The list of builders categorized by their activity level. + /// + Builders, + /// + /// The list of feedback given by users on the agent messages. + /// + Feedback, + /// + /// The list of users categorized by their activity level. + /// + Users, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GetWWorkspaceUsageTableExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GetWWorkspaceUsageTable value) + { + return value switch + { + GetWWorkspaceUsageTable.All => "all", + GetWWorkspaceUsageTable.AssistantMessages => "assistant_messages", + GetWWorkspaceUsageTable.Assistants => "assistants", + GetWWorkspaceUsageTable.Builders => "builders", + GetWWorkspaceUsageTable.Feedback => "feedback", + GetWWorkspaceUsageTable.Users => "users", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GetWWorkspaceUsageTable? ToEnum(string value) + { + return value switch + { + "all" => GetWWorkspaceUsageTable.All, + "assistant_messages" => GetWWorkspaceUsageTable.AssistantMessages, + "assistants" => GetWWorkspaceUsageTable.Assistants, + "builders" => GetWWorkspaceUsageTable.Builders, + "feedback" => GetWWorkspaceUsageTable.Feedback, + "users" => GetWWorkspaceUsageTable.Users, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Dust/openapi.yaml b/src/libs/Dust/openapi.yaml index e306806..c79e397 100644 --- a/src/libs/Dust/openapi.yaml +++ b/src/libs/Dust/openapi.yaml @@ -6029,6 +6029,134 @@ } } }, + "/api/v1/w/{wId}/workspace-usage": { + "get": { + "summary": "Get workspace usage data", + "deprecated": true, + "description": "Deprecated: this endpoint will be removed after 2026-07-22.\nUse GET /api/v1/w/{wId}/analytics/export instead.\n\nGet usage data for the workspace identified by {wId} in CSV or JSON format.\n", + "tags": [ + "Workspace" + ], + "security": [ + { + "BearerAuth": [] + } + ], + "parameters": [ + { + "in": "path", + "name": "wId", + "required": true, + "description": "Unique string identifier for the workspace", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "start", + "required": true, + "description": "The start date in YYYY-MM or YYYY-MM-DD format", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "end", + "required": false, + "description": "The end date in YYYY-MM or YYYY-MM-DD format (required when mode is 'range')", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "mode", + "required": true, + "description": "The mode of date range selection", + "schema": { + "type": "string", + "enum": [ + "month", + "range" + ] + } + }, + { + "in": "query", + "name": "format", + "required": false, + "description": "The output format of the data (defaults to 'csv')", + "schema": { + "type": "string", + "enum": [ + "csv", + "json" + ] + } + }, + { + "in": "query", + "name": "table", + "required": true, + "description": "The name of the usage table to retrieve:\n- \"users\": The list of users categorized by their activity level.\n- \"assistant_messages\": The list of messages sent by users including the mentioned agents.\n- \"builders\": The list of builders categorized by their activity level.\n- \"assistants\": The list of workspace agents and their corresponding usage.\n- \"feedback\": The list of feedback given by users on the agent messages.\n- \"all\": A concatenation of all the above tables.\n", + "schema": { + "type": "string", + "enum": [ + "users", + "assistant_messages", + "builders", + "assistants", + "feedback", + "all" + ] + } + }, + { + "in": "query", + "name": "includeInactive", + "required": false, + "description": "Include users and assistants with zero messages in the export (defaults to false)", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "The usage data in CSV or JSON format, or a ZIP of multiple CSVs if table is equal to \"all\"", + "content": { + "text/csv": { + "schema": { + "type": "string" + } + }, + "application/json": { + "schema": { + "type": "object" + } + }, + "application/zip": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "400": { + "description": "Invalid request query" + }, + "403": { + "description": "The workspace does not have access to the usage data API" + }, + "404": { + "description": "The workspace was not found" + } + } + } + }, "/api/w/{wId}/assistant/agent_configurations": { "get": { "summary": "List agent configurations",