diff --git a/src/libs/Dust/Generated/Dust.IPrivateEventsClient.GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEvents.g.cs b/src/libs/Dust/Generated/Dust.IPrivateEventsClient.GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEvents.g.cs
new file mode 100644
index 0000000..a85099d
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.IPrivateEventsClient.GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEvents.g.cs
@@ -0,0 +1,24 @@
+#nullable enable
+
+namespace Dust
+{
+ public partial interface IPrivateEventsClient
+ {
+ ///
+ /// Stream sandbox function invocation events
+ /// Stream real-time events for a sandbox function invocation using Server-Sent Events (SSE). This endpoint is redirected to /api/sse/ for SSE traffic routing.
+ ///
+ ///
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Collections.Generic.IAsyncEnumerable GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsAsync(
+ string wId,
+ string functionId,
+ string invocationId,
+ 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.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus.g.cs
new file mode 100644
index 0000000..409ff11
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Dust.JsonConverters
+{
+ ///
+ public sealed class PrivateSandboxFunctionInvocationCreatedEventInvocationStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus 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.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusNullable.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusNullable.g.cs
new file mode 100644
index 0000000..3ca32ed
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Dust.JsonConverters
+{
+ ///
+ public sealed class PrivateSandboxFunctionInvocationCreatedEventInvocationStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus? 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.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus? 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.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventType.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventType.g.cs
new file mode 100644
index 0000000..43124d7
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Dust.JsonConverters
+{
+ ///
+ public sealed class PrivateSandboxFunctionInvocationCreatedEventTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Dust.PrivateSandboxFunctionInvocationCreatedEventType 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.PrivateSandboxFunctionInvocationCreatedEventTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Dust.PrivateSandboxFunctionInvocationCreatedEventType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Dust.PrivateSandboxFunctionInvocationCreatedEventType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Dust.PrivateSandboxFunctionInvocationCreatedEventType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Dust.PrivateSandboxFunctionInvocationCreatedEventTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventTypeNullable.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventTypeNullable.g.cs
new file mode 100644
index 0000000..36a9a16
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Dust.JsonConverters
+{
+ ///
+ public sealed class PrivateSandboxFunctionInvocationCreatedEventTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Dust.PrivateSandboxFunctionInvocationCreatedEventType? 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.PrivateSandboxFunctionInvocationCreatedEventTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Dust.PrivateSandboxFunctionInvocationCreatedEventType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Dust.PrivateSandboxFunctionInvocationCreatedEventType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Dust.PrivateSandboxFunctionInvocationCreatedEventType? 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.PrivateSandboxFunctionInvocationCreatedEventTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationEvent.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationEvent.g.cs
new file mode 100644
index 0000000..980784a
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationEvent.g.cs
@@ -0,0 +1,72 @@
+#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
+namespace Dust.JsonConverters
+{
+ ///
+ public class PrivateSandboxFunctionInvocationEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Dust.PrivateSandboxFunctionInvocationEvent Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+
+ var readerCopy = reader;
+ var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Dust.PrivateSandboxFunctionInvocationEventDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Dust.PrivateSandboxFunctionInvocationEventDiscriminator)}");
+ var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo);
+
+ global::Dust.PrivateSandboxFunctionInvocationCreatedEvent? sandboxFunctionInvocationCreated = default;
+ if (discriminator?.Type == global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType.SandboxFunctionInvocationCreated)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Dust.PrivateSandboxFunctionInvocationCreatedEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Dust.PrivateSandboxFunctionInvocationCreatedEvent)}");
+ sandboxFunctionInvocationCreated = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
+ }
+ global::Dust.PrivateSandboxFunctionInvocationResultEvent? sandboxFunctionInvocationResult = default;
+ if (discriminator?.Type == global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType.SandboxFunctionInvocationResult)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Dust.PrivateSandboxFunctionInvocationResultEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Dust.PrivateSandboxFunctionInvocationResultEvent)}");
+ sandboxFunctionInvocationResult = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
+ }
+
+ var __value = new global::Dust.PrivateSandboxFunctionInvocationEvent(
+ discriminator?.Type,
+ sandboxFunctionInvocationCreated,
+
+ sandboxFunctionInvocationResult
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Dust.PrivateSandboxFunctionInvocationEvent value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ if (value.IsSandboxFunctionInvocationCreated)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Dust.PrivateSandboxFunctionInvocationCreatedEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Dust.PrivateSandboxFunctionInvocationCreatedEvent).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.SandboxFunctionInvocationCreated!, typeInfo);
+ }
+ else if (value.IsSandboxFunctionInvocationResult)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Dust.PrivateSandboxFunctionInvocationResultEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Dust.PrivateSandboxFunctionInvocationResultEvent).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.SandboxFunctionInvocationResult!, typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorType.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorType.g.cs
new file mode 100644
index 0000000..1a38ae5
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Dust.JsonConverters
+{
+ ///
+ public sealed class PrivateSandboxFunctionInvocationEventDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType 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.PrivateSandboxFunctionInvocationEventDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorTypeNullable.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorTypeNullable.g.cs
new file mode 100644
index 0000000..b9d600c
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Dust.JsonConverters
+{
+ ///
+ public sealed class PrivateSandboxFunctionInvocationEventDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType? 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.PrivateSandboxFunctionInvocationEventDiscriminatorTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType? 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.PrivateSandboxFunctionInvocationEventDiscriminatorTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventType.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventType.g.cs
new file mode 100644
index 0000000..4b0ce66
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Dust.JsonConverters
+{
+ ///
+ public sealed class PrivateSandboxFunctionInvocationResultEventTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Dust.PrivateSandboxFunctionInvocationResultEventType 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.PrivateSandboxFunctionInvocationResultEventTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Dust.PrivateSandboxFunctionInvocationResultEventType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Dust.PrivateSandboxFunctionInvocationResultEventType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Dust.PrivateSandboxFunctionInvocationResultEventType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Dust.PrivateSandboxFunctionInvocationResultEventTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventTypeNullable.g.cs b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventTypeNullable.g.cs
new file mode 100644
index 0000000..870e593
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Dust.JsonConverters
+{
+ ///
+ public sealed class PrivateSandboxFunctionInvocationResultEventTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Dust.PrivateSandboxFunctionInvocationResultEventType? 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.PrivateSandboxFunctionInvocationResultEventTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Dust.PrivateSandboxFunctionInvocationResultEventType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Dust.PrivateSandboxFunctionInvocationResultEventType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Dust.PrivateSandboxFunctionInvocationResultEventType? 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.PrivateSandboxFunctionInvocationResultEventTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs b/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs
index 163a624..9d0ea51 100644
--- a/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs
+++ b/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs
@@ -209,6 +209,22 @@ namespace Dust
typeof(global::Dust.JsonConverters.PrivateWakeUpUpdatedEventTypeNullableJsonConverter),
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorTypeJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorTypeNullableJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventTypeJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventTypeNullableJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusNullableJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventTypeJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventTypeNullableJsonConverter),
+
typeof(global::Dust.JsonConverters.PrivateAgentMessageEventDiscriminatorTypeJsonConverter),
typeof(global::Dust.JsonConverters.PrivateAgentMessageEventDiscriminatorTypeNullableJsonConverter),
@@ -523,6 +539,8 @@ namespace Dust
typeof(global::Dust.JsonConverters.PrivateConversationEventJsonConverter),
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationEventJsonConverter),
+
typeof(global::Dust.JsonConverters.PrivateAgentMessageEventJsonConverter),
typeof(global::Dust.JsonConverters.OneOfJsonConverter),
@@ -688,6 +706,15 @@ namespace Dust
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateCompactionMessageDoneEventType), TypeInfoPropertyName = "PrivateCompactionMessageDoneEventType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateConversationTitleEventType), TypeInfoPropertyName = "PrivateConversationTitleEventType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateWakeUpUpdatedEventType), TypeInfoPropertyName = "PrivateWakeUpUpdatedEventType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateSandboxFunctionInvocationEvent), TypeInfoPropertyName = "PrivateSandboxFunctionInvocationEvent2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateSandboxFunctionInvocationCreatedEvent))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateSandboxFunctionInvocationResultEvent))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateSandboxFunctionInvocationEventDiscriminator))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType), TypeInfoPropertyName = "PrivateSandboxFunctionInvocationEventDiscriminatorType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateSandboxFunctionInvocationCreatedEventType), TypeInfoPropertyName = "PrivateSandboxFunctionInvocationCreatedEventType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocation))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus), TypeInfoPropertyName = "PrivateSandboxFunctionInvocationCreatedEventInvocationStatus2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateSandboxFunctionInvocationResultEventType), TypeInfoPropertyName = "PrivateSandboxFunctionInvocationResultEventType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateAgentMessageEvent), TypeInfoPropertyName = "PrivateAgentMessageEvent2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateGenerationTokensEvent))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateToolCallStartedEvent))]
@@ -1038,15 +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))]
- [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))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference), TypeInfoPropertyName = "PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.GetWSpacesResponse3))]
internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -1254,6 +1272,22 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Dust.JsonConverters.PrivateWakeUpUpdatedEventTypeNullableJsonConverter),
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorTypeJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorTypeNullableJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventTypeJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventTypeNullableJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusNullableJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventTypeJsonConverter),
+
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventTypeNullableJsonConverter),
+
typeof(global::Dust.JsonConverters.PrivateAgentMessageEventDiscriminatorTypeJsonConverter),
typeof(global::Dust.JsonConverters.PrivateAgentMessageEventDiscriminatorTypeNullableJsonConverter),
@@ -1568,6 +1602,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Dust.JsonConverters.PrivateConversationEventJsonConverter),
+ typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationEventJsonConverter),
+
typeof(global::Dust.JsonConverters.PrivateAgentMessageEventJsonConverter),
typeof(global::Dust.JsonConverters.OneOfJsonConverter),
@@ -1594,6 +1630,15 @@ 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))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference), TypeInfoPropertyName = "PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference2")]
+ [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))]
@@ -1813,6 +1858,14 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::Dust.JsonConverters.PrivateConversationTitleEventTypeNullableJsonConverter());
options.Converters.Add(new global::Dust.JsonConverters.PrivateWakeUpUpdatedEventTypeJsonConverter());
options.Converters.Add(new global::Dust.JsonConverters.PrivateWakeUpUpdatedEventTypeNullableJsonConverter());
+ options.Converters.Add(new global::Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorTypeJsonConverter());
+ options.Converters.Add(new global::Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorTypeNullableJsonConverter());
+ options.Converters.Add(new global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventTypeJsonConverter());
+ options.Converters.Add(new global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventTypeNullableJsonConverter());
+ options.Converters.Add(new global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusJsonConverter());
+ options.Converters.Add(new global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusNullableJsonConverter());
+ options.Converters.Add(new global::Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventTypeJsonConverter());
+ options.Converters.Add(new global::Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventTypeNullableJsonConverter());
options.Converters.Add(new global::Dust.JsonConverters.PrivateAgentMessageEventDiscriminatorTypeJsonConverter());
options.Converters.Add(new global::Dust.JsonConverters.PrivateAgentMessageEventDiscriminatorTypeNullableJsonConverter());
options.Converters.Add(new global::Dust.JsonConverters.PrivateGenerationTokensEventTypeJsonConverter());
@@ -1970,6 +2023,7 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::Dust.JsonConverters.PrivateFullConversationJsonConverter());
options.Converters.Add(new global::Dust.JsonConverters.PrivateProjectJsonConverter());
options.Converters.Add(new global::Dust.JsonConverters.PrivateConversationEventJsonConverter());
+ options.Converters.Add(new global::Dust.JsonConverters.PrivateSandboxFunctionInvocationEventJsonConverter());
options.Converters.Add(new global::Dust.JsonConverters.PrivateAgentMessageEventJsonConverter());
options.Converters.Add(new global::Dust.JsonConverters.OneOfJsonConverter());
options.Converters.Add(new global::Dust.JsonConverters.OneOfJsonConverter());
diff --git a/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs b/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs
index 4499584..237c564 100644
--- a/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs
+++ b/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs
@@ -580,1459 +580,1495 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::Dust.PrivateAgentMessageEvent? Type138 { get; set; }
+ public global::Dust.PrivateSandboxFunctionInvocationEvent? Type138 { get; set; }
///
///
///
- public global::Dust.PrivateGenerationTokensEvent? Type139 { get; set; }
+ public global::Dust.PrivateSandboxFunctionInvocationCreatedEvent? Type139 { get; set; }
///
///
///
- public global::Dust.PrivateToolCallStartedEvent? Type140 { get; set; }
+ public global::Dust.PrivateSandboxFunctionInvocationResultEvent? Type140 { get; set; }
///
///
///
- public global::Dust.PrivateAgentActionSuccessEvent? Type141 { get; set; }
+ public global::Dust.PrivateSandboxFunctionInvocationEventDiscriminator? Type141 { get; set; }
///
///
///
- public global::Dust.PrivateAgentMessageSuccessEvent? Type142 { get; set; }
+ public global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType? Type142 { get; set; }
///
///
///
- public global::Dust.PrivateAgentErrorEvent? Type143 { get; set; }
+ public global::Dust.PrivateSandboxFunctionInvocationCreatedEventType? Type143 { get; set; }
///
///
///
- public global::Dust.PrivateAgentGenerationCancelledEvent? Type144 { get; set; }
+ public global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocation? Type144 { get; set; }
///
///
///
- public global::Dust.PrivateToolErrorEvent? Type145 { get; set; }
+ public global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus? Type145 { get; set; }
///
///
///
- public global::Dust.PrivateToolParamsEvent? Type146 { get; set; }
+ public global::Dust.PrivateSandboxFunctionInvocationResultEventType? Type146 { get; set; }
///
///
///
- public global::Dust.PrivateToolApproveExecutionEvent? Type147 { get; set; }
+ public global::Dust.PrivateAgentMessageEvent? Type147 { get; set; }
///
///
///
- public global::Dust.PrivateToolNotificationEvent? Type148 { get; set; }
+ public global::Dust.PrivateGenerationTokensEvent? Type148 { get; set; }
///
///
///
- public global::Dust.PrivateToolPersonalAuthRequiredEvent? Type149 { get; set; }
+ public global::Dust.PrivateToolCallStartedEvent? Type149 { get; set; }
///
///
///
- public global::Dust.PrivateToolFileAuthRequiredEvent? Type150 { get; set; }
+ public global::Dust.PrivateAgentActionSuccessEvent? Type150 { get; set; }
///
///
///
- public global::Dust.PrivateAgentContextPrunedEvent? Type151 { get; set; }
+ public global::Dust.PrivateAgentMessageSuccessEvent? Type151 { get; set; }
///
///
///
- public global::Dust.PrivateAgentMessageEventDiscriminator? Type152 { get; set; }
+ public global::Dust.PrivateAgentErrorEvent? Type152 { get; set; }
///
///
///
- public global::Dust.PrivateAgentMessageEventDiscriminatorType? Type153 { get; set; }
+ public global::Dust.PrivateAgentGenerationCancelledEvent? Type153 { get; set; }
///
///
///
- public global::Dust.PrivateGenerationTokensEventType? Type154 { get; set; }
+ public global::Dust.PrivateToolErrorEvent? Type154 { get; set; }
///
///
///
- public global::Dust.PrivateGenerationTokensEventClassification? Type155 { get; set; }
+ public global::Dust.PrivateToolParamsEvent? Type155 { get; set; }
///
///
///
- public global::Dust.PrivateToolCallStartedEventType? Type156 { get; set; }
+ public global::Dust.PrivateToolApproveExecutionEvent? Type156 { get; set; }
///
///
///
- public global::Dust.PrivateAgentActionSuccessEventType? Type157 { get; set; }
+ public global::Dust.PrivateToolNotificationEvent? Type157 { get; set; }
///
///
///
- public global::Dust.PrivateAgentMCPAction? Type158 { get; set; }
+ public global::Dust.PrivateToolPersonalAuthRequiredEvent? Type158 { get; set; }
///
///
///
- public global::Dust.PrivateAgentMCPActionStatus? Type159 { get; set; }
+ public global::Dust.PrivateToolFileAuthRequiredEvent? Type159 { get; set; }
///
///
///
- public global::Dust.PrivateAgentMCPActionDisplayLabels? Type160 { get; set; }
+ public global::Dust.PrivateAgentContextPrunedEvent? Type160 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type161 { get; set; }
+ public global::Dust.PrivateAgentMessageEventDiscriminator? Type161 { get; set; }
///
///
///
- public global::Dust.PrivateAgentMCPActionGeneratedFile? Type162 { get; set; }
+ public global::Dust.PrivateAgentMessageEventDiscriminatorType? Type162 { get; set; }
///
///
///
- public global::Dust.PrivateAgentMessageSuccessEventType? Type163 { get; set; }
+ public global::Dust.PrivateGenerationTokensEventType? Type163 { get; set; }
///
///
///
- public global::Dust.PrivateAgentErrorEventType? Type164 { get; set; }
+ public global::Dust.PrivateGenerationTokensEventClassification? Type164 { get; set; }
///
///
///
- public global::Dust.PrivateAgentErrorEventError? Type165 { get; set; }
+ public global::Dust.PrivateToolCallStartedEventType? Type165 { get; set; }
///
///
///
- public global::Dust.PrivateAgentGenerationCancelledEventType? Type166 { get; set; }
+ public global::Dust.PrivateAgentActionSuccessEventType? Type166 { get; set; }
///
///
///
- public global::Dust.PrivateToolErrorEventType? Type167 { get; set; }
+ public global::Dust.PrivateAgentMCPAction? Type167 { get; set; }
///
///
///
- public global::Dust.PrivateToolErrorEventError? Type168 { get; set; }
+ public global::Dust.PrivateAgentMCPActionStatus? Type168 { get; set; }
///
///
///
- public global::Dust.PrivateToolParamsEventType? Type169 { get; set; }
+ public global::Dust.PrivateAgentMCPActionDisplayLabels? Type169 { get; set; }
///
///
///
- public global::Dust.PrivateToolApproveExecutionEventType? Type170 { get; set; }
+ public global::System.Collections.Generic.IList? Type170 { get; set; }
///
///
///
- public global::Dust.PrivateToolNotificationEventType? Type171 { get; set; }
+ public global::Dust.PrivateAgentMCPActionGeneratedFile? Type171 { get; set; }
///
///
///
- public global::Dust.PrivateToolPersonalAuthRequiredEventType? Type172 { get; set; }
+ public global::Dust.PrivateAgentMessageSuccessEventType? Type172 { get; set; }
///
///
///
- public global::Dust.PrivateToolPersonalAuthRequiredEventAuthError? Type173 { get; set; }
+ public global::Dust.PrivateAgentErrorEventType? Type173 { get; set; }
///
///
///
- public global::Dust.PrivateToolFileAuthRequiredEventType? Type174 { get; set; }
+ public global::Dust.PrivateAgentErrorEventError? Type174 { get; set; }
///
///
///
- public global::Dust.PrivateToolFileAuthRequiredEventFileAuthError? Type175 { get; set; }
+ public global::Dust.PrivateAgentGenerationCancelledEventType? Type175 { get; set; }
///
///
///
- public global::Dust.PrivateAgentContextPrunedEventType? Type176 { get; set; }
+ public global::Dust.PrivateToolErrorEventType? Type176 { get; set; }
///
///
///
- public global::Dust.Section? Type177 { get; set; }
+ public global::Dust.PrivateToolErrorEventError? Type177 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type178 { get; set; }
+ public global::Dust.PrivateToolParamsEventType? Type178 { get; set; }
///
///
///
- public global::Dust.User? Type179 { get; set; }
+ public global::Dust.PrivateToolApproveExecutionEventType? Type179 { get; set; }
///
///
///
- public global::Dust.Workspace? Type180 { get; set; }
+ public global::Dust.PrivateToolNotificationEventType? Type180 { get; set; }
///
///
///
- public global::Dust.Context? Type181 { get; set; }
+ public global::Dust.PrivateToolPersonalAuthRequiredEventType? Type181 { get; set; }
///
///
///
- public global::Dust.ContextAgenticMessageData? Type182 { get; set; }
+ public global::Dust.PrivateToolPersonalAuthRequiredEventAuthError? Type182 { get; set; }
///
///
///
- public global::Dust.ContextAgenticMessageDataType? Type183 { get; set; }
+ public global::Dust.PrivateToolFileAuthRequiredEventType? Type183 { get; set; }
///
///
///
- public global::Dust.AgentConfiguration? Type184 { get; set; }
+ public global::Dust.PrivateToolFileAuthRequiredEventFileAuthError? Type184 { get; set; }
///
///
///
- public global::Dust.AgentConfigurationModel? Type185 { get; set; }
+ public global::Dust.PrivateAgentContextPrunedEventType? Type185 { get; set; }
///
///
///
- public byte[]? Type186 { get; set; }
+ public global::Dust.Section? Type186 { get; set; }
///
///
///
- public global::Dust.Conversation? Type187 { get; set; }
+ public global::System.Collections.Generic.IList? Type187 { get; set; }
///
///
///
- public global::Dust.ConversationConversation1? Type188 { get; set; }
+ public global::Dust.User? Type188 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type189 { get; set; }
+ public global::Dust.Workspace? Type189 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type190 { get; set; }
+ public global::Dust.Context? Type190 { get; set; }
///
///
///
- public global::Dust.ConversationConversation1ContentItemItem? Type191 { get; set; }
+ public global::Dust.ContextAgenticMessageData? Type191 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type192 { get; set; }
+ public global::Dust.ContextAgenticMessageDataType? Type192 { get; set; }
///
///
///
- public global::Dust.Mention? Type193 { get; set; }
+ public global::Dust.AgentConfiguration? Type193 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type194 { get; set; }
+ public global::Dust.AgentConfigurationModel? Type194 { get; set; }
///
///
///
- public global::Dust.ConversationConversation1ContentItemItemRawContent? Type195 { get; set; }
+ public byte[]? Type195 { get; set; }
///
///
///
- public global::Dust.RichMention? Type196 { get; set; }
+ public global::Dust.Conversation? Type196 { get; set; }
///
///
///
- public global::Dust.RichMentionType? Type197 { get; set; }
+ public global::Dust.ConversationConversation1? Type197 { get; set; }
///
///
///
- public global::Dust.Message? Type198 { get; set; }
+ public global::System.Collections.Generic.IList>? Type198 { get; set; }
///
///
///
- public global::Dust.ContentFragment? Type199 { get; set; }
+ public global::System.Collections.Generic.IList? Type199 { get; set; }
///
///
///
- public global::Dust.Space? Type200 { get; set; }
+ public global::Dust.ConversationConversation1ContentItemItem? Type200 { get; set; }
///
///
///
- public global::Dust.SpaceKind? Type201 { get; set; }
+ public global::System.Collections.Generic.IList? Type201 { get; set; }
///
///
///
- public global::Dust.Datasource? Type202 { get; set; }
+ public global::Dust.Mention? Type202 { get; set; }
///
///
///
- public global::Dust.Table? Type203 { get; set; }
+ public global::System.Collections.Generic.IList? Type203 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type204 { get; set; }
+ public global::Dust.ConversationConversation1ContentItemItemRawContent? Type204 { get; set; }
///
///
///
- public global::Dust.TableSchemaItem? Type205 { get; set; }
+ public global::Dust.RichMention? Type205 { get; set; }
///
///
///
- public global::Dust.TableSchemaItemValueType? Type206 { get; set; }
+ public global::Dust.RichMentionType? Type206 { get; set; }
///
///
///
- public global::Dust.DatasourceView? Type207 { get; set; }
+ public global::Dust.Message? Type207 { get; set; }
///
///
///
- public global::Dust.DatasourceViewCategory? Type208 { get; set; }
+ public global::Dust.ContentFragment? Type208 { get; set; }
///
///
///
- public global::Dust.DatasourceViewEditedByUser? Type209 { get; set; }
+ public global::Dust.Space? Type209 { get; set; }
///
///
///
- public global::Dust.DatasourceViewKind? Type210 { get; set; }
+ public global::Dust.SpaceKind? Type210 { get; set; }
///
///
///
- public global::Dust.SkillSourceMetadata? Type211 { get; set; }
+ public global::Dust.Datasource? Type211 { get; set; }
///
///
///
- public global::Dust.Skill? Type212 { get; set; }
+ public global::Dust.Table? Type212 { get; set; }
///
///
///
- public global::Dust.SkillStatus? Type213 { get; set; }
+ public global::System.Collections.Generic.IList? Type213 { get; set; }
///
///
///
- public global::Dust.SkillSource? Type214 { get; set; }
+ public global::Dust.TableSchemaItem? Type214 { get; set; }
///
///
///
- public global::Dust.SkillReinforcement? Type215 { get; set; }
+ public global::Dust.TableSchemaItemValueType? Type215 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type216 { get; set; }
+ public global::Dust.DatasourceView? Type216 { get; set; }
///
///
///
- public global::Dust.SkillFileAttachment? Type217 { get; set; }
+ public global::Dust.DatasourceViewCategory? Type217 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type218 { get; set; }
+ public global::Dust.DatasourceViewEditedByUser? Type218 { get; set; }
///
///
///
- public global::Dust.MCPServerView? Type219 { get; set; }
+ public global::Dust.DatasourceViewKind? Type219 { get; set; }
///
///
///
- public global::Dust.Run? Type220 { get; set; }
+ public global::Dust.SkillSourceMetadata? Type220 { get; set; }
///
///
///
- public global::Dust.RunStatus? Type221 { get; set; }
+ public global::Dust.Skill? Type221 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type222 { get; set; }
+ public global::Dust.SkillStatus? Type222 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type223 { get; set; }
+ public global::Dust.SkillSource? Type223 { get; set; }
///
///
///
- public global::Dust.RunTraceItem? Type224 { get; set; }
+ public global::Dust.SkillReinforcement? Type224 { get; set; }
///
///
///
- public global::Dust.Document? Type225 { get; set; }
+ public global::System.Collections.Generic.IList? Type225 { get; set; }
///
///
///
- public global::Dust.MCPServerViewServerType? Type226 { get; set; }
+ public global::Dust.SkillFileAttachment? Type226 { get; set; }
///
///
///
- public global::Dust.MCPServerViewServer? Type227 { get; set; }
+ public global::System.Collections.Generic.IList? Type227 { get; set; }
///
///
///
- public global::Dust.MCPServerViewServerAuthorization? Type228 { get; set; }
+ public global::Dust.MCPServerView? Type228 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type229 { get; set; }
+ public global::Dust.Run? Type229 { get; set; }
///
///
///
- public global::Dust.MCPServerViewServerAuthorizationSupportedUseCase? Type230 { get; set; }
+ public global::Dust.RunStatus? Type230 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type231 { get; set; }
+ public global::System.Collections.Generic.IList>? Type231 { get; set; }
///
///
///
- public global::Dust.MCPServerViewServerTool? Type232 { get; set; }
+ public global::System.Collections.Generic.IList? Type232 { get; set; }
///
///
///
- public global::Dust.MCPServerViewOAuthUseCase? Type233 { get; set; }
+ public global::Dust.RunTraceItem? Type233 { get; set; }
///
///
///
- public global::Dust.MCPServerViewEditedByUser? Type234 { get; set; }
+ public global::Dust.Document? Type234 { get; set; }
///
///
///
- public global::Dust.PatchUserRequest? Type235 { get; set; }
+ public global::Dust.MCPServerViewServerType? Type235 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantAgentConfigurationsRequest? Type236 { get; set; }
+ public global::Dust.MCPServerViewServer? Type236 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantAgentConfigurationsRequestAgent? Type237 { get; set; }
+ public global::Dust.MCPServerViewServerAuthorization? Type237 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantAgentConfigurationsRequestAgentScope? Type238 { get; set; }
+ public global::System.Collections.Generic.IList? Type238 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantAgentConfigurationsRequestGenerationSettings? Type239 { get; set; }
+ public global::Dust.MCPServerViewServerAuthorizationSupportedUseCase? Type239 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type240 { get; set; }
+ public global::System.Collections.Generic.IList? Type240 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantAgentConfigurationsRequestTag? Type241 { get; set; }
+ public global::Dust.MCPServerViewServerTool? Type241 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantAgentConfigurationsRequestTagKind? Type242 { get; set; }
+ public global::Dust.MCPServerViewOAuthUseCase? Type242 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type243 { get; set; }
+ public global::Dust.MCPServerViewEditedByUser? Type243 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantAgentConfigurationsRequestEditor? Type244 { get; set; }
+ public global::Dust.PatchUserRequest? Type244 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type245 { get; set; }
+ public global::Dust.PatchWAssistantAgentConfigurationsRequest? Type245 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantAgentConfigurationsRequestSkill? Type246 { get; set; }
+ public global::Dust.PatchWAssistantAgentConfigurationsRequestAgent? Type246 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type247 { get; set; }
+ public global::Dust.PatchWAssistantAgentConfigurationsRequestAgentScope? Type247 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantAgentConfigurationsRequestToolsetItem? Type248 { get; set; }
+ public global::Dust.PatchWAssistantAgentConfigurationsRequestGenerationSettings? Type248 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantAgentConfigurationsRequestToolsetItemType? Type249 { get; set; }
+ public global::System.Collections.Generic.IList? Type249 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantAgentConfigurationsImportRequest? Type250 { get; set; }
+ public global::Dust.PatchWAssistantAgentConfigurationsRequestTag? Type250 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantAgentConfigurationsImportRequestAgent? Type251 { get; set; }
+ public global::Dust.PatchWAssistantAgentConfigurationsRequestTagKind? Type251 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantAgentConfigurationsImportRequestAgentScope? Type252 { get; set; }
+ public global::System.Collections.Generic.IList? Type252 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantAgentConfigurationsImportRequestGenerationSettings? Type253 { get; set; }
+ public global::Dust.PatchWAssistantAgentConfigurationsRequestEditor? Type253 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type254 { get; set; }
+ public global::System.Collections.Generic.IList? Type254 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantAgentConfigurationsImportRequestTag? Type255 { get; set; }
+ public global::Dust.PatchWAssistantAgentConfigurationsRequestSkill? Type255 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantAgentConfigurationsImportRequestTagKind? Type256 { get; set; }
+ public global::System.Collections.Generic.IList? Type256 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type257 { get; set; }
+ public global::Dust.PatchWAssistantAgentConfigurationsRequestToolsetItem? Type257 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantAgentConfigurationsImportRequestEditor? Type258 { get; set; }
+ public global::Dust.PatchWAssistantAgentConfigurationsRequestToolsetItemType? Type258 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type259 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsImportRequest? Type259 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantAgentConfigurationsImportRequestToolsetItem? Type260 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsImportRequestAgent? Type260 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantAgentConfigurationsImportRequestToolsetItemType? Type261 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsImportRequestAgentScope? Type261 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsCancelRequest? Type262 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsImportRequestGenerationSettings? Type262 { get; set; }
///
///
///
- public global::Dust.OneOf? Type263 { get; set; }
+ public global::System.Collections.Generic.IList? Type263 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantConversationsRequestVariant1? Type264 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsImportRequestTag? Type264 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantConversationsRequestVariant2? Type265 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsImportRequestTagKind? Type265 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionRequest? Type266 { get; set; }
+ public global::System.Collections.Generic.IList? Type266 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionRequestAnswer? Type267 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsImportRequestEditor? Type267 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type268 { get; set; }
+ public global::System.Collections.Generic.IList? Type268 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesEditRequest? Type269 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsImportRequestToolsetItem? Type269 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type270 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsImportRequestToolsetItemType? Type270 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesEditRequestMention? Type271 { get; set; }
+ public global::Dust.CreateWAssistantConversationsCancelRequest? Type271 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequest? Type272 { get; set; }
+ public global::Dust.OneOf? Type272 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequestThumbDirection? Type273 { get; set; }
+ public global::Dust.PatchWAssistantConversationsRequestVariant1? Type273 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesValidateActionRequest? Type274 { get; set; }
+ public global::Dust.PatchWAssistantConversationsRequestVariant2? Type274 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsRequest? Type275 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionRequest? Type275 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type276 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionRequestAnswer? Type276 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantMentionsParseRequest? Type277 { get; set; }
+ public global::System.Collections.Generic.IList? Type277 { get; set; }
///
///
///
- public global::Dust.CreateWFilesRequest? Type278 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesEditRequest? Type278 { get; set; }
///
///
///
- public global::Dust.CreateWMcpDeregisterRequest? Type279 { get; set; }
+ public global::System.Collections.Generic.IList? Type279 { get; set; }
///
///
///
- public global::Dust.CreateWMcpHeartbeatRequest? Type280 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesEditRequestMention? Type280 { get; set; }
///
///
///
- public global::Dust.CreateWMcpRegisterRequest? Type281 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequest? Type281 { get; set; }
///
///
///
- public global::Dust.CreateWMcpResultsRequest? Type282 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequestThumbDirection? Type282 { get; set; }
///
///
///
- public global::Dust.CreateWSearchRequest? Type283 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesValidateActionRequest? Type283 { get; set; }
///
///
///
- public global::Dust.CreateWSearchToolsUploadRequest? Type284 { get; set; }
+ public global::Dust.CreateWAssistantConversationsRequest? Type284 { get; set; }
///
///
///
- public global::Dust.CreateWSkillsRequest? Type285 { get; set; }
+ public global::System.Collections.Generic.IList? Type285 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type286 { get; set; }
+ public global::Dust.CreateWAssistantMentionsParseRequest? Type286 { get; set; }
///
///
///
- public global::Dust.CreateWSkillsRequestOnConflict? Type287 { get; set; }
+ public global::Dust.CreateWFilesRequest? Type287 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesAppsRunsRequest? Type288 { get; set; }
+ public global::Dust.CreateWMcpDeregisterRequest? Type288 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesAppsRunsRequestConfig? Type289 { get; set; }
+ public global::Dust.CreateWMcpHeartbeatRequest? Type289 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesAppsRunsRequestConfigModel? Type290 { get; set; }
+ public global::Dust.CreateWMcpRegisterRequest? Type290 { get; set; }
///
///
///
- public global::Dust.OneOf? Type291 { get; set; }
+ public global::Dust.CreateWMcpResultsRequest? Type291 { get; set; }
///
///
///
- public global::Dust.PatchWSpacesDataSourceViewsRequestVariant1? Type292 { get; set; }
+ public global::Dust.CreateWSearchRequest? Type292 { get; set; }
///
///
///
- public global::Dust.PatchWSpacesDataSourceViewsRequestVariant2? Type293 { get; set; }
+ public global::Dust.CreateWSearchToolsUploadRequest? Type293 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesDataSourcesDocumentsRequest? Type294 { get; set; }
+ public global::Dust.CreateWSkillsRequest? Type294 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesDataSourcesDocumentsParentsRequest? Type295 { get; set; }
+ public global::System.Collections.Generic.IList? Type295 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesDataSourcesTablesRowsRequest? Type296 { get; set; }
+ public global::Dust.CreateWSkillsRequestOnConflict? Type296 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type297 { get; set; }
+ public global::Dust.CreateWSpacesAppsRunsRequest? Type297 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesDataSourcesTablesRowsRequestRow? Type298 { get; set; }
+ public global::Dust.CreateWSpacesAppsRunsRequestConfig? Type298 { get; set; }
///
///
///
- public global::Dust.OneOf? Type299 { get; set; }
+ public global::Dust.CreateWSpacesAppsRunsRequestConfigModel? Type299 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesDataSourcesTablesRowsRequestRowValue2? Type300 { get; set; }
+ public global::Dust.OneOf? Type300 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesDataSourcesTablesRowsRequestRowValueType? Type301 { get; set; }
+ public global::Dust.PatchWSpacesDataSourceViewsRequestVariant1? Type301 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesDataSourcesTablesRequest? Type302 { get; set; }
+ public global::Dust.PatchWSpacesDataSourceViewsRequestVariant2? Type302 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantAgentConfigurationsRequest? Type303 { get; set; }
+ public global::Dust.CreateWSpacesDataSourcesDocumentsRequest? Type303 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsCancelRequest2? Type304 { get; set; }
+ public global::Dust.CreateWSpacesDataSourcesDocumentsParentsRequest? Type304 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsCancelRequestAction? Type305 { get; set; }
+ public global::Dust.CreateWSpacesDataSourcesTablesRowsRequest? Type305 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsCompactionsRequest? Type306 { get; set; }
+ public global::System.Collections.Generic.IList? Type306 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsCompactionsRequestModel? Type307 { get; set; }
+ public global::Dust.CreateWSpacesDataSourcesTablesRowsRequestRow? Type307 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsContentFragmentRequest? Type308 { get; set; }
+ public global::Dust.OneOf? Type308 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsContentFragmentRequestContext? Type309 { get; set; }
+ public global::Dust.CreateWSpacesDataSourcesTablesRowsRequestRowValue2? Type309 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantConversationsRequestVariant12? Type310 { get; set; }
+ public global::Dust.CreateWSpacesDataSourcesTablesRowsRequestRowValueType? Type310 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantConversationsRequestVariant22? Type311 { get; set; }
+ public global::Dust.CreateWSpacesDataSourcesTablesRequest? Type311 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantConversationsRequestVariant3? Type312 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsRequest? Type312 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantConversationsRequestVariant4? Type313 { get; set; }
+ public global::Dust.CreateWAssistantConversationsCancelRequest2? Type313 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantConversationsRequestVariant4AccessMode? Type314 { get; set; }
+ public global::Dust.CreateWAssistantConversationsCancelRequestAction? Type314 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesEditRequest2? Type315 { get; set; }
+ public global::Dust.CreateWAssistantConversationsCompactionsRequest? Type315 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequest2? Type316 { get; set; }
+ public global::Dust.CreateWAssistantConversationsCompactionsRequestModel? Type316 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequestThumbDirection2? Type317 { get; set; }
+ public global::Dust.CreateWAssistantConversationsContentFragmentRequest? Type317 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesRequest? Type318 { get; set; }
+ public global::Dust.CreateWAssistantConversationsContentFragmentRequestContext? Type318 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesRequestContext? Type319 { get; set; }
+ public global::Dust.PatchWAssistantConversationsRequestVariant12? Type319 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsRequest2? Type320 { get; set; }
+ public global::Dust.PatchWAssistantConversationsRequestVariant22? Type320 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsRequestVisibility? Type321 { get; set; }
+ public global::Dust.PatchWAssistantConversationsRequestVariant3? Type321 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsRequestMessage? Type322 { get; set; }
+ public global::Dust.PatchWAssistantConversationsRequestVariant4? Type322 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsRequestMessageContext? Type323 { get; set; }
+ public global::Dust.PatchWAssistantConversationsRequestVariant4AccessMode? Type323 { get; set; }
///
///
///
- public global::Dust.CreateWFilesRequest2? Type324 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesEditRequest2? Type324 { get; set; }
///
///
///
- public global::Dust.CreateWFilesRequest3? Type325 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequest2? Type325 { get; set; }
///
///
///
- public global::Dust.CreateWFilesRequestUseCase? Type326 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesFeedbacksRequestThumbDirection2? Type326 { get; set; }
///
///
///
- public global::Dust.PatchWSpacesDataSourceViewsRequest2? Type327 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesRequest? Type327 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesDataSourceViewsRequest? Type328 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesRequestContext? Type328 { get; set; }
///
///
///
- public global::Dust.PatchWSpacesRequest? Type329 { get; set; }
+ public global::Dust.CreateWAssistantConversationsRequest2? Type329 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type330 { get; set; }
+ public global::Dust.CreateWAssistantConversationsRequestVisibility? Type330 { get; set; }
///
///
///
- public global::Dust.PatchWSpacesRequestContentItem? Type331 { get; set; }
+ public global::Dust.CreateWAssistantConversationsRequestMessage? Type331 { get; set; }
///
///
///
- public global::Dust.PatchWSpacesProjectNotificationPreferencesRequest? Type332 { get; set; }
+ public global::Dust.CreateWAssistantConversationsRequestMessageContext? Type332 { get; set; }
///
///
///
- public global::Dust.PatchWSpacesProjectNotificationPreferencesRequestPreference? Type333 { get; set; }
+ public global::Dust.CreateWFilesRequest2? Type333 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesRequest? Type334 { get; set; }
+ public global::Dust.CreateWFilesRequest3? Type334 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesRequestSpaceKind? Type335 { get; set; }
+ public global::Dust.CreateWFilesRequestUseCase? Type335 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesRequestManagementMode? Type336 { get; set; }
+ public global::Dust.PatchWSpacesDataSourceViewsRequest2? Type336 { get; set; }
///
///
///
- public global::Dust.CreateWorkosAuthenticateRequest? Type337 { get; set; }
+ public global::Dust.CreateWSpacesDataSourceViewsRequest? Type337 { get; set; }
///
///
///
- public global::Dust.CreateWorkosAuthenticateRequestGrantType? Type338 { get; set; }
+ public global::Dust.PatchWSpacesRequest? Type338 { get; set; }
///
///
///
- public global::Dust.CreateWorkosRevokeSessionRequest? Type339 { get; set; }
+ public global::System.Collections.Generic.IList? Type339 { get; set; }
///
///
///
- public global::Dust.GetWAnalyticsExportTable? Type340 { get; set; }
+ public global::Dust.PatchWSpacesRequestContentItem? Type340 { get; set; }
///
///
///
- public global::Dust.GetWAnalyticsExportFormat? Type341 { get; set; }
+ public global::Dust.PatchWSpacesProjectNotificationPreferencesRequest? Type341 { get; set; }
///
///
///
- public global::Dust.GetWAssistantAgentConfigurationsView? Type342 { get; set; }
+ public global::Dust.PatchWSpacesProjectNotificationPreferencesRequestPreference? Type342 { get; set; }
///
///
///
- public global::Dust.GetWAssistantAgentConfigurationsWithAuthors? Type343 { get; set; }
+ public global::Dust.CreateWSpacesRequest? Type343 { get; set; }
///
///
///
- public global::Dust.GetWAssistantAgentConfigurationsVariant? Type344 { get; set; }
+ public global::Dust.CreateWSpacesRequestSpaceKind? Type344 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type345 { get; set; }
+ public global::Dust.CreateWSpacesRequestManagementMode? Type345 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsMentionsSuggestionsSelectItem? Type346 { get; set; }
+ public global::Dust.CreateWorkosAuthenticateRequest? Type346 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type347 { get; set; }
+ public global::Dust.CreateWorkosAuthenticateRequestGrantType? Type347 { get; set; }
///
///
///
- public global::Dust.GetWAssistantMentionsSuggestionsSelectItem? Type348 { get; set; }
+ public global::Dust.CreateWorkosRevokeSessionRequest? Type348 { get; set; }
///
///
///
- public global::Dust.GetWSearchViewType? Type349 { get; set; }
+ public global::Dust.GetWAnalyticsExportTable? Type349 { get; set; }
///
///
///
- public global::Dust.GetWSkillsStatus? Type350 { get; set; }
+ public global::Dust.GetWAnalyticsExportFormat? Type350 { get; set; }
///
///
///
- public global::Dust.GetWWorkspaceUsageMode? Type351 { get; set; }
+ public global::Dust.GetWAssistantAgentConfigurationsView? Type351 { get; set; }
///
///
///
- public global::Dust.GetWWorkspaceUsageFormat? Type352 { get; set; }
+ public global::Dust.GetWAssistantAgentConfigurationsWithAuthors? Type352 { get; set; }
///
///
///
- public global::Dust.GetWWorkspaceUsageTable? Type353 { get; set; }
+ public global::Dust.GetWAssistantAgentConfigurationsVariant? Type353 { get; set; }
///
///
///
- public global::Dust.GetWAssistantAgentConfigurationsView2? Type354 { get; set; }
+ public global::System.Collections.Generic.IList? Type354 { get; set; }
///
///
///
- public global::Dust.GetWAssistantAgentConfigurationsWithUsage? Type355 { get; set; }
+ public global::Dust.GetWAssistantConversationsMentionsSuggestionsSelectItem? Type355 { get; set; }
///
///
///
- public global::Dust.GetWAssistantAgentConfigurationsWithAuthors2? Type356 { get; set; }
+ public global::System.Collections.Generic.IList? Type356 { get; set; }
///
///
///
- public global::Dust.GetWAssistantAgentConfigurationsWithFeedbacks? Type357 { get; set; }
+ public global::Dust.GetWAssistantMentionsSuggestionsSelectItem? Type357 { get; set; }
///
///
///
- public global::Dust.GetWAssistantAgentConfigurationsWithEditors? Type358 { get; set; }
+ public global::Dust.GetWSearchViewType? Type358 { get; set; }
///
///
///
- public global::Dust.GetWAssistantMentionsSuggestionsSelect? Type359 { get; set; }
+ public global::Dust.GetWSkillsStatus? Type359 { get; set; }
///
///
///
- public global::Dust.GetWAssistantMentionsSuggestionsCurrent? Type360 { get; set; }
+ public global::Dust.GetWWorkspaceUsageMode? Type360 { get; set; }
///
///
///
- public global::Dust.GetWFilesVersion? Type361 { get; set; }
+ public global::Dust.GetWWorkspaceUsageFormat? Type361 { get; set; }
///
///
///
- public global::Dust.GetWFilesAction? Type362 { get; set; }
+ public global::Dust.GetWWorkspaceUsageTable? Type362 { get; set; }
///
///
///
- public global::Dust.DeleteWSpacesDataSourceViewsForce? Type363 { get; set; }
+ public global::Dust.GetWAssistantAgentConfigurationsView2? Type363 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourceViewsCategory? Type364 { get; set; }
+ public global::Dust.GetWAssistantAgentConfigurationsWithUsage? Type364 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourceViewsWithDetails? Type365 { get; set; }
+ public global::Dust.GetWAssistantAgentConfigurationsWithAuthors2? Type365 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourceViewsIncludeEditedBy? Type366 { get; set; }
+ public global::Dust.GetWAssistantAgentConfigurationsWithFeedbacks? Type366 { get; set; }
///
///
///
- public global::Dust.GetWSpacesIncludeAllMembers? Type367 { get; set; }
+ public global::Dust.GetWAssistantAgentConfigurationsWithEditors? Type367 { get; set; }
///
///
///
- public global::Dust.DeleteWSpacesForce? Type368 { get; set; }
+ public global::Dust.GetWAssistantMentionsSuggestionsSelect? Type368 { get; set; }
///
///
///
- public global::Dust.GetUserResponse? Type369 { get; set; }
+ public global::Dust.GetWAssistantMentionsSuggestionsCurrent? Type369 { get; set; }
///
///
///
- public global::Dust.PatchUserResponse? Type370 { get; set; }
+ public global::Dust.GetWFilesVersion? Type370 { get; set; }
///
///
///
- public global::Dust.GetWAssistantAgentConfigurationsResponse? Type371 { get; set; }
+ public global::Dust.GetWFilesAction? Type371 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type372 { get; set; }
+ public global::Dust.DeleteWSpacesDataSourceViewsForce? Type372 { get; set; }
///
///
///
- public global::Dust.GetWAssistantAgentConfigurationsResponse2? Type373 { get; set; }
+ public global::Dust.GetWSpacesDataSourceViewsCategory? Type373 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantAgentConfigurationsResponse? Type374 { get; set; }
+ public global::Dust.GetWSpacesDataSourceViewsWithDetails? Type374 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type375 { get; set; }
+ public global::Dust.GetWSpacesDataSourceViewsIncludeEditedBy? Type375 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantAgentConfigurationsResponseSkippedAction? Type376 { get; set; }
+ public global::Dust.GetWSpacesIncludeAllMembers? Type376 { get; set; }
///
///
///
- public global::Dust.DeleteWAssistantAgentConfigurationsResponse? Type377 { get; set; }
+ public global::Dust.DeleteWSpacesForce? Type377 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantAgentConfigurationsImportResponse? Type378 { get; set; }
+ public global::Dust.GetUserResponse? Type378 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type379 { get; set; }
+ public global::Dust.PatchUserResponse? Type379 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantAgentConfigurationsImportResponseSkippedAction? Type380 { get; set; }
+ public global::Dust.GetWAssistantAgentConfigurationsResponse? Type380 { get; set; }
///
///
///
- public global::Dust.GetWAssistantAgentConfigurationsSearchResponse? Type381 { get; set; }
+ public global::System.Collections.Generic.IList? Type381 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsCancelResponse? Type382 { get; set; }
+ public global::Dust.GetWAssistantAgentConfigurationsResponse2? Type382 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsFeedbacksResponse? Type383 { get; set; }
+ public global::Dust.PatchWAssistantAgentConfigurationsResponse? Type383 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type384 { get; set; }
+ public global::System.Collections.Generic.IList? Type384 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsFeedbacksResponseFeedback? Type385 { get; set; }
+ public global::Dust.PatchWAssistantAgentConfigurationsResponseSkippedAction? Type385 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsFeedbacksResponseFeedbackThumbDirection? Type386 { get; set; }
+ public global::Dust.DeleteWAssistantAgentConfigurationsResponse? Type386 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantConversationsResponse? Type387 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsImportResponse? Type387 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsMentionsSuggestionsResponse? Type388 { get; set; }
+ public global::System.Collections.Generic.IList? Type388 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type389 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsImportResponseSkippedAction? Type389 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionResponse? Type390 { get; set; }
+ public global::Dust.GetWAssistantAgentConfigurationsSearchResponse? Type390 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesEditResponse? Type391 { get; set; }
+ public global::Dust.CreateWAssistantConversationsCancelResponse? Type391 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsMessagesEventsResponse? Type392 { get; set; }
+ public global::Dust.GetWAssistantConversationsFeedbacksResponse? Type392 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type393 { get; set; }
+ public global::System.Collections.Generic.IList? Type393 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsMessagesEventsResponseEvent? Type394 { get; set; }
+ public global::Dust.GetWAssistantConversationsFeedbacksResponseFeedback? Type394 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesFeedbacksResponse? Type395 { get; set; }
+ public global::Dust.GetWAssistantConversationsFeedbacksResponseFeedbackThumbDirection? Type395 { get; set; }
///
///
///
- public global::Dust.DeleteWAssistantConversationsMessagesFeedbacksResponse? Type396 { get; set; }
+ public global::Dust.PatchWAssistantConversationsResponse? Type396 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesValidateActionResponse? Type397 { get; set; }
+ public global::Dust.GetWAssistantConversationsMentionsSuggestionsResponse? Type397 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantMentionsParseResponse? Type398 { get; set; }
+ public global::System.Collections.Generic.IList? Type398 { get; set; }
///
///
///
- public global::Dust.GetWAssistantMentionsSuggestionsResponse? Type399 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesAnswerQuestionResponse? Type399 { get; set; }
///
///
///
- public global::Dust.CreateWFilesResponse? Type400 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesEditResponse? Type400 { get; set; }
///
///
///
- public global::Dust.CreateWFilesResponseFile? Type401 { get; set; }
+ public global::Dust.GetWAssistantConversationsMessagesEventsResponse? Type401 { get; set; }
///
///
///
- public global::Dust.CreateWMcpHeartbeatResponse? Type402 { get; set; }
+ public global::System.Collections.Generic.IList? Type402 { get; set; }
///
///
///
- public global::Dust.CreateWMcpRegisterResponse? Type403 { get; set; }
+ public global::Dust.GetWAssistantConversationsMessagesEventsResponseEvent? Type403 { get; set; }
///
///
///
- public global::Dust.GetWMcpRequestsResponse? Type404 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesFeedbacksResponse? Type404 { get; set; }
///
///
///
- public global::Dust.GetWSkillsResponse? Type405 { get; set; }
+ public global::Dust.DeleteWAssistantConversationsMessagesFeedbacksResponse? Type405 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type406 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesValidateActionResponse? Type406 { get; set; }
///
///
///
- public global::Dust.CreateWSkillsResponse? Type407 { get; set; }
+ public global::Dust.CreateWAssistantMentionsParseResponse? Type407 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type408 { get; set; }
+ public global::Dust.GetWAssistantMentionsSuggestionsResponse? Type408 { get; set; }
///
///
///
- public global::Dust.CreateWSkillsResponseSkippedItem? Type409 { get; set; }
+ public global::Dust.CreateWFilesResponse? Type409 { get; set; }
///
///
///
- public global::Dust.GetWSpacesAppsRunsResponse? Type410 { get; set; }
+ public global::Dust.CreateWFilesResponseFile? Type410 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesAppsRunsResponse? Type411 { get; set; }
+ public global::Dust.CreateWMcpHeartbeatResponse? Type411 { get; set; }
///
///
///
- public global::Dust.GetWSpacesAppsResponse? Type412 { get; set; }
+ public global::Dust.CreateWMcpRegisterResponse? Type412 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type413 { get; set; }
+ public global::Dust.GetWMcpRequestsResponse? Type413 { get; set; }
///
///
///
- public global::Dust.GetWSpacesAppsResponseApp? Type414 { get; set; }
+ public global::Dust.GetWSkillsResponse? Type414 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourceViewsSearchResponse? Type415 { get; set; }
+ public global::System.Collections.Generic.IList? Type415 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type416 { get; set; }
+ public global::Dust.CreateWSkillsResponse? Type416 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourceViewsSearchResponseDocument? Type417 { get; set; }
+ public global::System.Collections.Generic.IList? Type417 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourceViewsResponse? 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.GetWSpacesDataSourcesCheckUpsertQueueResponse? Type420 { get; set; }
+ public global::Dust.CreateWSpacesAppsRunsResponse? Type420 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourcesDocumentsResponse? Type421 { get; set; }
+ public global::Dust.GetWSpacesAppsResponse? Type421 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesDataSourcesDocumentsResponse? Type422 { get; set; }
+ public global::System.Collections.Generic.IList? Type422 { get; set; }
///
///
///
- public global::Dust.DeleteWSpacesDataSourcesDocumentsResponse? Type423 { get; set; }
+ public global::Dust.GetWSpacesAppsResponseApp? Type423 { get; set; }
///
///
///
- public global::Dust.DeleteWSpacesDataSourcesDocumentsResponseDocument? Type424 { get; set; }
+ public global::Dust.GetWSpacesDataSourceViewsSearchResponse? Type424 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourcesDocumentsResponse2? Type425 { get; set; }
+ public global::System.Collections.Generic.IList? Type425 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type426 { get; set; }
+ public global::Dust.GetWSpacesDataSourceViewsSearchResponseDocument? Type426 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourcesSearchResponse? Type427 { get; set; }
+ public global::Dust.GetWSpacesDataSourceViewsResponse? Type427 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type428 { get; set; }
+ public global::System.Collections.Generic.IList? Type428 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourcesSearchResponseDocument? Type429 { get; set; }
+ public global::Dust.GetWSpacesDataSourcesCheckUpsertQueueResponse? Type429 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type430 { get; set; }
+ public global::Dust.GetWSpacesDataSourcesDocumentsResponse? Type430 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type431 { get; set; }
+ public global::Dust.CreateWSpacesDataSourcesDocumentsResponse? Type431 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourcesResponse? Type432 { get; set; }
+ public global::Dust.DeleteWSpacesDataSourcesDocumentsResponse? Type432 { get; set; }
///
///
///
- public global::Dust.GetWSpacesMcpServerViewsResponse? Type433 { get; set; }
+ public global::Dust.DeleteWSpacesDataSourcesDocumentsResponseDocument? Type433 { get; set; }
///
///
///
- public global::Dust.GetWSpacesResponse? Type434 { get; set; }
+ public global::Dust.GetWSpacesDataSourcesDocumentsResponse2? Type434 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type435 { get; set; }
+ public global::System.Collections.Generic.IList? Type435 { get; set; }
///
///
///
- public global::Dust.GetWAssistantAgentConfigurationsResponse3? 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.CreateWAssistantAgentConfigurationsResponse? Type438 { get; set; }
+ public global::Dust.GetWSpacesDataSourcesSearchResponseDocument? Type438 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsCancelResponse2? Type439 { get; set; }
+ public global::System.Collections.Generic.IList? Type439 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsCompactionsResponse? Type440 { get; set; }
+ public global::System.Collections.Generic.IList? Type440 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsContentFragmentResponse? Type441 { get; set; }
+ public global::Dust.GetWSpacesDataSourcesResponse? Type441 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsFeedbacksResponse2? 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.GetWAssistantConversationsResponse? Type444 { get; set; }
+ public global::System.Collections.Generic.IList? Type444 { get; set; }
///
///
///
- public global::Dust.PatchWAssistantConversationsResponse2? Type445 { get; set; }
+ public global::Dust.GetWAssistantAgentConfigurationsResponse3? Type445 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsMessagesActionsResponse? Type446 { get; set; }
+ public global::System.Collections.Generic.IList? Type446 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsMessagesActionsResponseMessageStatus? Type447 { get; set; }
+ public global::Dust.CreateWAssistantAgentConfigurationsResponse? Type447 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesEditResponse2? Type448 { get; set; }
+ public global::Dust.CreateWAssistantConversationsCancelResponse2? Type448 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesFeedbacksResponse2? Type449 { get; set; }
+ public global::Dust.CreateWAssistantConversationsCompactionsResponse? Type449 { get; set; }
///
///
///
- public global::Dust.DeleteWAssistantConversationsMessagesFeedbacksResponse2? Type450 { get; set; }
+ public global::Dust.CreateWAssistantConversationsContentFragmentResponse? Type450 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsMessagesResponse? Type451 { get; set; }
+ public global::Dust.GetWAssistantConversationsFeedbacksResponse2? Type451 { get; set; }
///
///
///
- public global::Dust.OneOf? Type452 { get; set; }
+ public global::System.Collections.Generic.IList? Type452 { get; set; }
///
///
///
- public global::Dust.DeleteWAssistantConversationsMessagesResponse? Type453 { get; set; }
+ public global::Dust.GetWAssistantConversationsResponse? Type453 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesRetryResponse? Type454 { get; set; }
+ public global::Dust.PatchWAssistantConversationsResponse2? Type454 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsMessagesResponse2? Type455 { get; set; }
+ public global::Dust.GetWAssistantConversationsMessagesActionsResponse? Type455 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type456 { get; set; }
+ public global::Dust.GetWAssistantConversationsMessagesActionsResponseMessageStatus? Type456 { get; set; }
///
///
///
- public global::Dust.OneOf? Type457 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesEditResponse2? Type457 { get; set; }
///
///
///
- public global::Dust.CreateWAssistantConversationsMessagesResponse? Type458 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesFeedbacksResponse2? Type458 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type459 { get; set; }
+ public global::Dust.DeleteWAssistantConversationsMessagesFeedbacksResponse2? Type459 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type460 { get; set; }
+ public global::Dust.GetWAssistantConversationsMessagesResponse? Type460 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsParticipantsResponse? Type461 { get; set; }
+ public global::Dust.OneOf? Type461 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsParticipantsResponseParticipants? Type462 { get; set; }
+ public global::Dust.DeleteWAssistantConversationsMessagesResponse? Type462 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type463 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesRetryResponse? Type463 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsParticipantsResponseParticipantsAgent? 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::Dust.GetWAssistantConversationsParticipantsResponseParticipantsUser? Type466 { get; set; }
+ public global::Dust.OneOf? Type466 { get; set; }
///
///
///
- public global::Dust.DeleteWAssistantConversationsWakeupsResponse? Type467 { get; set; }
+ public global::Dust.CreateWAssistantConversationsMessagesResponse? Type467 { get; set; }
///
///
///
- public global::Dust.GetWAssistantConversationsWakeupsResponse? 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.GetWAssistantConversationsResponse2? 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.CreateWAssistantConversationsResponse? Type472 { get; set; }
+ public global::System.Collections.Generic.IList? Type472 { get; set; }
///
///
///
- public global::Dust.GetWAssistantMentionsSuggestionsResponse2? Type473 { get; set; }
+ public global::Dust.GetWAssistantConversationsParticipantsResponseParticipantsAgent? Type473 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type474 { get; set; }
+ public global::System.Collections.Generic.IList? Type474 { get; set; }
///
///
///
- public global::Dust.CreateWFilesResponse2? Type475 { get; set; }
+ public global::Dust.GetWAssistantConversationsParticipantsResponseParticipantsUser? Type475 { get; set; }
///
///
///
- public global::Dust.CreateWFilesResponse3? Type476 { get; set; }
+ public global::Dust.DeleteWAssistantConversationsWakeupsResponse? Type476 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourceViewsResponse2? Type477 { get; set; }
+ public global::Dust.GetWAssistantConversationsWakeupsResponse? Type477 { get; set; }
///
///
///
- public global::Dust.PatchWSpacesDataSourceViewsResponse? Type478 { get; set; }
+ public global::System.Collections.Generic.IList? Type478 { get; set; }
///
///
///
- public global::Dust.GetWSpacesDataSourceViewsResponse3? 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.CreateWSpacesDataSourceViewsResponse? Type481 { get; set; }
+ public global::Dust.CreateWAssistantConversationsResponse? Type481 { get; set; }
///
///
///
- public global::Dust.GetWSpacesResponse2? Type482 { get; set; }
+ public global::Dust.GetWAssistantMentionsSuggestionsResponse2? Type482 { get; set; }
///
///
///
- public global::Dust.AllOf? Type483 { get; set; }
+ public global::System.Collections.Generic.IList? Type483 { get; set; }
///
///
///
- public global::Dust.GetWSpacesResponseSpace? Type484 { get; set; }
+ public global::Dust.CreateWFilesResponse2? Type484 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type485 { get; set; }
+ public global::Dust.CreateWFilesResponse3? Type485 { get; set; }
///
///
///
- public global::Dust.GetWSpacesResponseSpaceCategories2? Type486 { get; set; }
+ public global::Dust.GetWSpacesDataSourceViewsResponse2? Type486 { get; set; }
///
///
///
- public global::Dust.GetWSpacesResponseSpaceCategoriesUsage? Type487 { get; set; }
+ public global::Dust.PatchWSpacesDataSourceViewsResponse? Type487 { get; set; }
///
///
///
- public global::Dust.PatchWSpacesResponse? Type488 { get; set; }
+ public global::Dust.GetWSpacesDataSourceViewsResponse3? Type488 { get; set; }
///
///
///
- public global::Dust.DeleteWSpacesResponse? Type489 { get; set; }
+ public global::System.Collections.Generic.IList? Type489 { get; set; }
///
///
///
- public global::Dust.GetWSpacesProjectNotificationPreferencesResponse? Type490 { get; set; }
+ public global::Dust.CreateWSpacesDataSourceViewsResponse? Type490 { get; set; }
///
///
///
- public global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference? Type491 { get; set; }
+ public global::Dust.GetWSpacesResponse2? Type491 { get; set; }
///
///
///
- public global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference? Type492 { get; set; }
+ public global::Dust.AllOf? Type492 { get; set; }
///
///
///
- public global::Dust.PatchWSpacesProjectNotificationPreferencesResponse? Type493 { get; set; }
+ public global::Dust.GetWSpacesResponseSpace? Type493 { get; set; }
///
///
///
- public global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference? Type494 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type494 { get; set; }
///
///
///
- public global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference? Type495 { get; set; }
+ public global::Dust.GetWSpacesResponseSpaceCategories2? Type495 { get; set; }
///
///
///
- public global::Dust.GetWSpacesResponse3? Type496 { get; set; }
+ public global::Dust.GetWSpacesResponseSpaceCategoriesUsage? Type496 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type497 { get; set; }
+ public global::Dust.PatchWSpacesResponse? Type497 { get; set; }
///
///
///
- public global::Dust.OneOf? Type498 { get; set; }
+ public global::Dust.DeleteWSpacesResponse? Type498 { get; set; }
///
///
///
- public global::Dust.CreateWSpacesResponse? Type499 { get; set; }
+ public global::Dust.GetWSpacesProjectNotificationPreferencesResponse? Type499 { get; set; }
///
///
///
- public global::Dust.CreateWorkosAuthenticateResponse? Type500 { get; set; }
+ public global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference? Type500 { get; set; }
///
///
///
- public global::Dust.CreateWorkosRevokeSessionResponse? Type501 { get; set; }
+ public global::Dust.GetWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference? Type501 { get; set; }
+ ///
+ ///
+ ///
+ public global::Dust.PatchWSpacesProjectNotificationPreferencesResponse? Type502 { get; set; }
+ ///
+ ///
+ ///
+ public global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreference? Type503 { get; set; }
+ ///
+ ///
+ ///
+ public global::Dust.PatchWSpacesProjectNotificationPreferencesResponseUserProjectNotificationPreferencePreference? Type504 { get; set; }
+ ///
+ ///
+ ///
+ public global::Dust.GetWSpacesResponse3? Type505 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.IList>? Type506 { 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.PrivateSandboxFunctionInvocationCreatedEvent.Json.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEvent.Json.g.cs
new file mode 100644
index 0000000..53ec772
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEvent.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace Dust
+{
+ public sealed partial class PrivateSandboxFunctionInvocationCreatedEvent
+ {
+ ///
+ /// 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.PrivateSandboxFunctionInvocationCreatedEvent? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Dust.PrivateSandboxFunctionInvocationCreatedEvent),
+ jsonSerializerContext) as global::Dust.PrivateSandboxFunctionInvocationCreatedEvent;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Dust.PrivateSandboxFunctionInvocationCreatedEvent? 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.PrivateSandboxFunctionInvocationCreatedEvent? 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.PrivateSandboxFunctionInvocationCreatedEvent),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Dust.PrivateSandboxFunctionInvocationCreatedEvent;
+ }
+
+ ///
+ /// 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.PrivateSandboxFunctionInvocationCreatedEvent.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEvent.g.cs
new file mode 100644
index 0000000..096030f
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEvent.g.cs
@@ -0,0 +1,65 @@
+
+#nullable enable
+
+namespace Dust
+{
+ ///
+ ///
+ ///
+ public sealed partial class PrivateSandboxFunctionInvocationCreatedEvent
+ {
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("type")]
+ [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventTypeJsonConverter))]
+ public global::Dust.PrivateSandboxFunctionInvocationCreatedEventType Type { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("created")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required int Created { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("invocation")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocation Invocation { 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 PrivateSandboxFunctionInvocationCreatedEvent(
+ int created,
+ global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocation invocation,
+ global::Dust.PrivateSandboxFunctionInvocationCreatedEventType type)
+ {
+ this.Type = type;
+ this.Created = created;
+ this.Invocation = invocation ?? throw new global::System.ArgumentNullException(nameof(invocation));
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public PrivateSandboxFunctionInvocationCreatedEvent()
+ {
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEventInvocation.Json.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEventInvocation.Json.g.cs
new file mode 100644
index 0000000..d1ad6a4
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEventInvocation.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace Dust
+{
+ public sealed partial class PrivateSandboxFunctionInvocationCreatedEventInvocation
+ {
+ ///
+ /// 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.PrivateSandboxFunctionInvocationCreatedEventInvocation? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocation),
+ jsonSerializerContext) as global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocation;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocation? 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.PrivateSandboxFunctionInvocationCreatedEventInvocation? 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.PrivateSandboxFunctionInvocationCreatedEventInvocation),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocation;
+ }
+
+ ///
+ /// 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.PrivateSandboxFunctionInvocationCreatedEventInvocation.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEventInvocation.g.cs
new file mode 100644
index 0000000..c8d8b6e
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEventInvocation.g.cs
@@ -0,0 +1,75 @@
+
+#nullable enable
+
+namespace Dust
+{
+ ///
+ ///
+ ///
+ public sealed partial class PrivateSandboxFunctionInvocationCreatedEventInvocation
+ {
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("sId")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string SId { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("functionId")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string FunctionId { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("status")]
+ [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationCreatedEventInvocationStatusJsonConverter))]
+ public global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus Status { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("createdAt")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required global::System.DateTime CreatedAt { 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 PrivateSandboxFunctionInvocationCreatedEventInvocation(
+ string sId,
+ string functionId,
+ global::System.DateTime createdAt,
+ global::Dust.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus status)
+ {
+ this.SId = sId ?? throw new global::System.ArgumentNullException(nameof(sId));
+ this.FunctionId = functionId ?? throw new global::System.ArgumentNullException(nameof(functionId));
+ this.Status = status;
+ this.CreatedAt = createdAt;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public PrivateSandboxFunctionInvocationCreatedEventInvocation()
+ {
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus.g.cs
new file mode 100644
index 0000000..5ba62da
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEventInvocationStatus.g.cs
@@ -0,0 +1,45 @@
+
+#nullable enable
+
+namespace Dust
+{
+ ///
+ ///
+ ///
+ public enum PrivateSandboxFunctionInvocationCreatedEventInvocationStatus
+ {
+ ///
+ ///
+ ///
+ Created,
+ }
+
+ ///
+ /// Enum extensions to do fast conversions without the reflection.
+ ///
+ public static class PrivateSandboxFunctionInvocationCreatedEventInvocationStatusExtensions
+ {
+ ///
+ /// Converts an enum to a string.
+ ///
+ public static string ToValueString(this PrivateSandboxFunctionInvocationCreatedEventInvocationStatus value)
+ {
+ return value switch
+ {
+ PrivateSandboxFunctionInvocationCreatedEventInvocationStatus.Created => "created",
+ _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
+ };
+ }
+ ///
+ /// Converts an string to a enum.
+ ///
+ public static PrivateSandboxFunctionInvocationCreatedEventInvocationStatus? ToEnum(string value)
+ {
+ return value switch
+ {
+ "created" => PrivateSandboxFunctionInvocationCreatedEventInvocationStatus.Created,
+ _ => null,
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEventType.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEventType.g.cs
new file mode 100644
index 0000000..9754a9a
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationCreatedEventType.g.cs
@@ -0,0 +1,45 @@
+
+#nullable enable
+
+namespace Dust
+{
+ ///
+ ///
+ ///
+ public enum PrivateSandboxFunctionInvocationCreatedEventType
+ {
+ ///
+ ///
+ ///
+ SandboxFunctionInvocationCreated,
+ }
+
+ ///
+ /// Enum extensions to do fast conversions without the reflection.
+ ///
+ public static class PrivateSandboxFunctionInvocationCreatedEventTypeExtensions
+ {
+ ///
+ /// Converts an enum to a string.
+ ///
+ public static string ToValueString(this PrivateSandboxFunctionInvocationCreatedEventType value)
+ {
+ return value switch
+ {
+ PrivateSandboxFunctionInvocationCreatedEventType.SandboxFunctionInvocationCreated => "sandbox_function_invocation_created",
+ _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
+ };
+ }
+ ///
+ /// Converts an string to a enum.
+ ///
+ public static PrivateSandboxFunctionInvocationCreatedEventType? ToEnum(string value)
+ {
+ return value switch
+ {
+ "sandbox_function_invocation_created" => PrivateSandboxFunctionInvocationCreatedEventType.SandboxFunctionInvocationCreated,
+ _ => null,
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEvent.Json.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEvent.Json.g.cs
new file mode 100644
index 0000000..afb02ae
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEvent.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace Dust
+{
+ public readonly partial struct PrivateSandboxFunctionInvocationEvent
+ {
+ ///
+ /// 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.PrivateSandboxFunctionInvocationEvent? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Dust.PrivateSandboxFunctionInvocationEvent),
+ jsonSerializerContext) as global::Dust.PrivateSandboxFunctionInvocationEvent?;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Dust.PrivateSandboxFunctionInvocationEvent? 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.PrivateSandboxFunctionInvocationEvent? 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.PrivateSandboxFunctionInvocationEvent),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Dust.PrivateSandboxFunctionInvocationEvent?;
+ }
+
+ ///
+ /// 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.PrivateSandboxFunctionInvocationEvent.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEvent.g.cs
new file mode 100644
index 0000000..53beaf3
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEvent.g.cs
@@ -0,0 +1,303 @@
+#pragma warning disable CS0618 // Type or member is obsolete
+
+#nullable enable
+
+namespace Dust
+{
+ ///
+ /// Server-Sent Event for sandbox function invocation streaming. Discriminated on the `type` field.
+ ///
+ public readonly partial struct PrivateSandboxFunctionInvocationEvent : global::System.IEquatable
+ {
+ ///
+ ///
+ ///
+ public global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType? Type { get; }
+
+ ///
+ ///
+ ///
+#if NET6_0_OR_GREATER
+ public global::Dust.PrivateSandboxFunctionInvocationCreatedEvent? SandboxFunctionInvocationCreated { get; init; }
+#else
+ public global::Dust.PrivateSandboxFunctionInvocationCreatedEvent? SandboxFunctionInvocationCreated { get; }
+#endif
+
+ ///
+ ///
+ ///
+#if NET6_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SandboxFunctionInvocationCreated))]
+#endif
+ public bool IsSandboxFunctionInvocationCreated => SandboxFunctionInvocationCreated != null;
+
+ ///
+ ///
+ ///
+ public bool TryPickSandboxFunctionInvocationCreated(
+#if NET6_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
+#endif
+ out global::Dust.PrivateSandboxFunctionInvocationCreatedEvent? value)
+ {
+ value = SandboxFunctionInvocationCreated;
+ return IsSandboxFunctionInvocationCreated;
+ }
+
+ ///
+ ///
+ ///
+ public global::Dust.PrivateSandboxFunctionInvocationCreatedEvent PickSandboxFunctionInvocationCreated() => IsSandboxFunctionInvocationCreated
+ ? SandboxFunctionInvocationCreated!
+ : throw new global::System.InvalidOperationException($"Expected union variant 'SandboxFunctionInvocationCreated' but the value was {ToString()}.");
+
+ ///
+ ///
+ ///
+#if NET6_0_OR_GREATER
+ public global::Dust.PrivateSandboxFunctionInvocationResultEvent? SandboxFunctionInvocationResult { get; init; }
+#else
+ public global::Dust.PrivateSandboxFunctionInvocationResultEvent? SandboxFunctionInvocationResult { get; }
+#endif
+
+ ///
+ ///
+ ///
+#if NET6_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SandboxFunctionInvocationResult))]
+#endif
+ public bool IsSandboxFunctionInvocationResult => SandboxFunctionInvocationResult != null;
+
+ ///
+ ///
+ ///
+ public bool TryPickSandboxFunctionInvocationResult(
+#if NET6_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
+#endif
+ out global::Dust.PrivateSandboxFunctionInvocationResultEvent? value)
+ {
+ value = SandboxFunctionInvocationResult;
+ return IsSandboxFunctionInvocationResult;
+ }
+
+ ///
+ ///
+ ///
+ public global::Dust.PrivateSandboxFunctionInvocationResultEvent PickSandboxFunctionInvocationResult() => IsSandboxFunctionInvocationResult
+ ? SandboxFunctionInvocationResult!
+ : throw new global::System.InvalidOperationException($"Expected union variant 'SandboxFunctionInvocationResult' but the value was {ToString()}.");
+ ///
+ ///
+ ///
+ public static implicit operator PrivateSandboxFunctionInvocationEvent(global::Dust.PrivateSandboxFunctionInvocationCreatedEvent value) => new PrivateSandboxFunctionInvocationEvent((global::Dust.PrivateSandboxFunctionInvocationCreatedEvent?)value);
+
+ ///
+ ///
+ ///
+ public static implicit operator global::Dust.PrivateSandboxFunctionInvocationCreatedEvent?(PrivateSandboxFunctionInvocationEvent @this) => @this.SandboxFunctionInvocationCreated;
+
+ ///
+ ///
+ ///
+ public PrivateSandboxFunctionInvocationEvent(global::Dust.PrivateSandboxFunctionInvocationCreatedEvent? value)
+ {
+ SandboxFunctionInvocationCreated = value;
+ }
+
+ ///
+ ///
+ ///
+ public static PrivateSandboxFunctionInvocationEvent FromSandboxFunctionInvocationCreated(global::Dust.PrivateSandboxFunctionInvocationCreatedEvent? value) => new PrivateSandboxFunctionInvocationEvent(value);
+
+ ///
+ ///
+ ///
+ public static implicit operator PrivateSandboxFunctionInvocationEvent(global::Dust.PrivateSandboxFunctionInvocationResultEvent value) => new PrivateSandboxFunctionInvocationEvent((global::Dust.PrivateSandboxFunctionInvocationResultEvent?)value);
+
+ ///
+ ///
+ ///
+ public static implicit operator global::Dust.PrivateSandboxFunctionInvocationResultEvent?(PrivateSandboxFunctionInvocationEvent @this) => @this.SandboxFunctionInvocationResult;
+
+ ///
+ ///
+ ///
+ public PrivateSandboxFunctionInvocationEvent(global::Dust.PrivateSandboxFunctionInvocationResultEvent? value)
+ {
+ SandboxFunctionInvocationResult = value;
+ }
+
+ ///
+ ///
+ ///
+ public static PrivateSandboxFunctionInvocationEvent FromSandboxFunctionInvocationResult(global::Dust.PrivateSandboxFunctionInvocationResultEvent? value) => new PrivateSandboxFunctionInvocationEvent(value);
+
+ ///
+ ///
+ ///
+ public PrivateSandboxFunctionInvocationEvent(
+ global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType? type,
+ global::Dust.PrivateSandboxFunctionInvocationCreatedEvent? sandboxFunctionInvocationCreated,
+ global::Dust.PrivateSandboxFunctionInvocationResultEvent? sandboxFunctionInvocationResult
+ )
+ {
+ Type = type;
+
+ SandboxFunctionInvocationCreated = sandboxFunctionInvocationCreated;
+ SandboxFunctionInvocationResult = sandboxFunctionInvocationResult;
+ }
+
+ ///
+ ///
+ ///
+ public object? Object =>
+ SandboxFunctionInvocationResult as object ??
+ SandboxFunctionInvocationCreated as object
+ ;
+
+ ///
+ ///
+ ///
+ public override string? ToString() =>
+ SandboxFunctionInvocationCreated?.ToString() ??
+ SandboxFunctionInvocationResult?.ToString()
+ ;
+
+ ///
+ ///
+ ///
+ public bool Validate()
+ {
+ return IsSandboxFunctionInvocationCreated && !IsSandboxFunctionInvocationResult || !IsSandboxFunctionInvocationCreated && IsSandboxFunctionInvocationResult;
+ }
+
+ ///
+ ///
+ ///
+ public TResult? Match(
+ global::System.Func? sandboxFunctionInvocationCreated = null,
+ global::System.Func? sandboxFunctionInvocationResult = null,
+ bool validate = true)
+ {
+ if (validate)
+ {
+ Validate();
+ }
+
+ if (IsSandboxFunctionInvocationCreated && sandboxFunctionInvocationCreated != null)
+ {
+ return sandboxFunctionInvocationCreated(SandboxFunctionInvocationCreated!);
+ }
+ else if (IsSandboxFunctionInvocationResult && sandboxFunctionInvocationResult != null)
+ {
+ return sandboxFunctionInvocationResult(SandboxFunctionInvocationResult!);
+ }
+
+ return default(TResult);
+ }
+
+ ///
+ ///
+ ///
+ public void Match(
+ global::System.Action? sandboxFunctionInvocationCreated = null,
+
+ global::System.Action? sandboxFunctionInvocationResult = null,
+ bool validate = true)
+ {
+ if (validate)
+ {
+ Validate();
+ }
+
+ if (IsSandboxFunctionInvocationCreated)
+ {
+ sandboxFunctionInvocationCreated?.Invoke(SandboxFunctionInvocationCreated!);
+ }
+ else if (IsSandboxFunctionInvocationResult)
+ {
+ sandboxFunctionInvocationResult?.Invoke(SandboxFunctionInvocationResult!);
+ }
+ }
+
+ ///
+ ///
+ ///
+ public void Switch(
+ global::System.Action? sandboxFunctionInvocationCreated = null,
+ global::System.Action? sandboxFunctionInvocationResult = null,
+ bool validate = true)
+ {
+ if (validate)
+ {
+ Validate();
+ }
+
+ if (IsSandboxFunctionInvocationCreated)
+ {
+ sandboxFunctionInvocationCreated?.Invoke(SandboxFunctionInvocationCreated!);
+ }
+ else if (IsSandboxFunctionInvocationResult)
+ {
+ sandboxFunctionInvocationResult?.Invoke(SandboxFunctionInvocationResult!);
+ }
+ }
+
+ ///
+ ///
+ ///
+ public override int GetHashCode()
+ {
+ var fields = new object?[]
+ {
+ SandboxFunctionInvocationCreated,
+ typeof(global::Dust.PrivateSandboxFunctionInvocationCreatedEvent),
+ SandboxFunctionInvocationResult,
+ typeof(global::Dust.PrivateSandboxFunctionInvocationResultEvent),
+ };
+ const int offset = unchecked((int)2166136261);
+ const int prime = 16777619;
+ static int HashCodeAggregator(int hashCode, object? value) => value == null
+ ? (hashCode ^ 0) * prime
+ : (hashCode ^ value.GetHashCode()) * prime;
+
+ return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator);
+ }
+
+ ///
+ ///
+ ///
+ public bool Equals(PrivateSandboxFunctionInvocationEvent other)
+ {
+ return
+ global::System.Collections.Generic.EqualityComparer.Default.Equals(SandboxFunctionInvocationCreated, other.SandboxFunctionInvocationCreated) &&
+ global::System.Collections.Generic.EqualityComparer.Default.Equals(SandboxFunctionInvocationResult, other.SandboxFunctionInvocationResult)
+ ;
+ }
+
+ ///
+ ///
+ ///
+ public static bool operator ==(PrivateSandboxFunctionInvocationEvent obj1, PrivateSandboxFunctionInvocationEvent obj2)
+ {
+ return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2);
+ }
+
+ ///
+ ///
+ ///
+ public static bool operator !=(PrivateSandboxFunctionInvocationEvent obj1, PrivateSandboxFunctionInvocationEvent obj2)
+ {
+ return !(obj1 == obj2);
+ }
+
+ ///
+ ///
+ ///
+ public override bool Equals(object? obj)
+ {
+ return obj is PrivateSandboxFunctionInvocationEvent o && Equals(o);
+ }
+ }
+}
diff --git a/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEventDiscriminator.Json.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEventDiscriminator.Json.g.cs
new file mode 100644
index 0000000..d39b86a
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEventDiscriminator.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace Dust
+{
+ public sealed partial class PrivateSandboxFunctionInvocationEventDiscriminator
+ {
+ ///
+ /// 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.PrivateSandboxFunctionInvocationEventDiscriminator? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Dust.PrivateSandboxFunctionInvocationEventDiscriminator),
+ jsonSerializerContext) as global::Dust.PrivateSandboxFunctionInvocationEventDiscriminator;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Dust.PrivateSandboxFunctionInvocationEventDiscriminator? 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.PrivateSandboxFunctionInvocationEventDiscriminator? 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.PrivateSandboxFunctionInvocationEventDiscriminator),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Dust.PrivateSandboxFunctionInvocationEventDiscriminator;
+ }
+
+ ///
+ /// 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.PrivateSandboxFunctionInvocationEventDiscriminator.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEventDiscriminator.g.cs
new file mode 100644
index 0000000..c5b3410
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEventDiscriminator.g.cs
@@ -0,0 +1,45 @@
+
+#nullable enable
+
+namespace Dust
+{
+ ///
+ ///
+ ///
+ public sealed partial class PrivateSandboxFunctionInvocationEventDiscriminator
+ {
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("type")]
+ [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationEventDiscriminatorTypeJsonConverter))]
+ public global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType? Type { 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 PrivateSandboxFunctionInvocationEventDiscriminator(
+ global::Dust.PrivateSandboxFunctionInvocationEventDiscriminatorType? type)
+ {
+ this.Type = type;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public PrivateSandboxFunctionInvocationEventDiscriminator()
+ {
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEventDiscriminatorType.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEventDiscriminatorType.g.cs
new file mode 100644
index 0000000..ded9e96
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationEventDiscriminatorType.g.cs
@@ -0,0 +1,51 @@
+
+#nullable enable
+
+namespace Dust
+{
+ ///
+ ///
+ ///
+ public enum PrivateSandboxFunctionInvocationEventDiscriminatorType
+ {
+ ///
+ ///
+ ///
+ SandboxFunctionInvocationCreated,
+ ///
+ ///
+ ///
+ SandboxFunctionInvocationResult,
+ }
+
+ ///
+ /// Enum extensions to do fast conversions without the reflection.
+ ///
+ public static class PrivateSandboxFunctionInvocationEventDiscriminatorTypeExtensions
+ {
+ ///
+ /// Converts an enum to a string.
+ ///
+ public static string ToValueString(this PrivateSandboxFunctionInvocationEventDiscriminatorType value)
+ {
+ return value switch
+ {
+ PrivateSandboxFunctionInvocationEventDiscriminatorType.SandboxFunctionInvocationCreated => "sandbox_function_invocation_created",
+ PrivateSandboxFunctionInvocationEventDiscriminatorType.SandboxFunctionInvocationResult => "sandbox_function_invocation_result",
+ _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
+ };
+ }
+ ///
+ /// Converts an string to a enum.
+ ///
+ public static PrivateSandboxFunctionInvocationEventDiscriminatorType? ToEnum(string value)
+ {
+ return value switch
+ {
+ "sandbox_function_invocation_created" => PrivateSandboxFunctionInvocationEventDiscriminatorType.SandboxFunctionInvocationCreated,
+ "sandbox_function_invocation_result" => PrivateSandboxFunctionInvocationEventDiscriminatorType.SandboxFunctionInvocationResult,
+ _ => null,
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationResultEvent.Json.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationResultEvent.Json.g.cs
new file mode 100644
index 0000000..1b14d54
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationResultEvent.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace Dust
+{
+ public sealed partial class PrivateSandboxFunctionInvocationResultEvent
+ {
+ ///
+ /// 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.PrivateSandboxFunctionInvocationResultEvent? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Dust.PrivateSandboxFunctionInvocationResultEvent),
+ jsonSerializerContext) as global::Dust.PrivateSandboxFunctionInvocationResultEvent;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Dust.PrivateSandboxFunctionInvocationResultEvent? 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.PrivateSandboxFunctionInvocationResultEvent? 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.PrivateSandboxFunctionInvocationResultEvent),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Dust.PrivateSandboxFunctionInvocationResultEvent;
+ }
+
+ ///
+ /// 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.PrivateSandboxFunctionInvocationResultEvent.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationResultEvent.g.cs
new file mode 100644
index 0000000..c18a9c4
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationResultEvent.g.cs
@@ -0,0 +1,87 @@
+
+#nullable enable
+
+namespace Dust
+{
+ ///
+ ///
+ ///
+ public sealed partial class PrivateSandboxFunctionInvocationResultEvent
+ {
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("type")]
+ [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Dust.JsonConverters.PrivateSandboxFunctionInvocationResultEventTypeJsonConverter))]
+ public global::Dust.PrivateSandboxFunctionInvocationResultEventType Type { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("created")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required int Created { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("invocationId")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string InvocationId { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("functionId")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string FunctionId { get; set; }
+
+ ///
+ /// Result returned by the sandbox function.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("result")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required object Result { 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.
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Result returned by the sandbox function.
+ ///
+ ///
+#if NET7_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+#endif
+ public PrivateSandboxFunctionInvocationResultEvent(
+ int created,
+ string invocationId,
+ string functionId,
+ object result,
+ global::Dust.PrivateSandboxFunctionInvocationResultEventType type)
+ {
+ this.Type = type;
+ this.Created = created;
+ this.InvocationId = invocationId ?? throw new global::System.ArgumentNullException(nameof(invocationId));
+ this.FunctionId = functionId ?? throw new global::System.ArgumentNullException(nameof(functionId));
+ this.Result = result ?? throw new global::System.ArgumentNullException(nameof(result));
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public PrivateSandboxFunctionInvocationResultEvent()
+ {
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationResultEventResult.Json.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationResultEventResult.Json.g.cs
new file mode 100644
index 0000000..1ef6d50
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationResultEventResult.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace Dust
+{
+ public sealed partial class PrivateSandboxFunctionInvocationResultEventResult
+ {
+ ///
+ /// 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.PrivateSandboxFunctionInvocationResultEventResult? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Dust.PrivateSandboxFunctionInvocationResultEventResult),
+ jsonSerializerContext) as global::Dust.PrivateSandboxFunctionInvocationResultEventResult;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Dust.PrivateSandboxFunctionInvocationResultEventResult? 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.PrivateSandboxFunctionInvocationResultEventResult? 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.PrivateSandboxFunctionInvocationResultEventResult),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Dust.PrivateSandboxFunctionInvocationResultEventResult;
+ }
+
+ ///
+ /// 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.PrivateSandboxFunctionInvocationResultEventResult.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationResultEventResult.g.cs
new file mode 100644
index 0000000..ceddaa4
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationResultEventResult.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Dust
+{
+ ///
+ /// Result returned by the sandbox function.
+ ///
+ public sealed partial class PrivateSandboxFunctionInvocationResultEventResult
+ {
+
+ ///
+ /// 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.PrivateSandboxFunctionInvocationResultEventType.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationResultEventType.g.cs
new file mode 100644
index 0000000..c31d55f
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.Models.PrivateSandboxFunctionInvocationResultEventType.g.cs
@@ -0,0 +1,45 @@
+
+#nullable enable
+
+namespace Dust
+{
+ ///
+ ///
+ ///
+ public enum PrivateSandboxFunctionInvocationResultEventType
+ {
+ ///
+ ///
+ ///
+ SandboxFunctionInvocationResult,
+ }
+
+ ///
+ /// Enum extensions to do fast conversions without the reflection.
+ ///
+ public static class PrivateSandboxFunctionInvocationResultEventTypeExtensions
+ {
+ ///
+ /// Converts an enum to a string.
+ ///
+ public static string ToValueString(this PrivateSandboxFunctionInvocationResultEventType value)
+ {
+ return value switch
+ {
+ PrivateSandboxFunctionInvocationResultEventType.SandboxFunctionInvocationResult => "sandbox_function_invocation_result",
+ _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
+ };
+ }
+ ///
+ /// Converts an string to a enum.
+ ///
+ public static PrivateSandboxFunctionInvocationResultEventType? ToEnum(string value)
+ {
+ return value switch
+ {
+ "sandbox_function_invocation_result" => PrivateSandboxFunctionInvocationResultEventType.SandboxFunctionInvocationResult,
+ _ => null,
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Dust/Generated/Dust.PrivateEventsClient.GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEvents.g.cs b/src/libs/Dust/Generated/Dust.PrivateEventsClient.GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEvents.g.cs
new file mode 100644
index 0000000..bb79c84
--- /dev/null
+++ b/src/libs/Dust/Generated/Dust.PrivateEventsClient.GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEvents.g.cs
@@ -0,0 +1,398 @@
+
+#nullable enable
+
+namespace Dust
+{
+ public partial class PrivateEventsClient
+ {
+
+ private static readonly global::Dust.AutoSDKServer[] s_GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsServers = 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_GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsSecurityRequirement0 =
+ 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_GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsSecurityRequirements =
+ new global::Dust.EndPointSecurityRequirement[]
+ { s_GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsSecurityRequirement0,
+ };
+ partial void PrepareGetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref string wId,
+ ref string functionId,
+ ref string invocationId);
+ partial void PrepareGetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ string wId,
+ string functionId,
+ string invocationId);
+ partial void ProcessGetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ ///
+ /// Stream sandbox function invocation events
+ /// Stream real-time events for a sandbox function invocation using Server-Sent Events (SSE). This endpoint is redirected to /api/sse/ for SSE traffic routing.
+ ///
+ ///
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Collections.Generic.IAsyncEnumerable GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsAsync(
+ string wId,
+ string functionId,
+ string invocationId,
+ global::Dust.AutoSDKRequestOptions? requestOptions = default,
+ [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareGetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsArguments(
+ httpClient: HttpClient,
+ wId: ref wId,
+ functionId: ref functionId,
+ invocationId: ref invocationId);
+
+
+ var __authorizations = global::Dust.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsSecurityRequirements,
+ operationName: "GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsAsync");
+
+ 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}/sandbox-functions/{functionId}/invocations/{invocationId}/events",
+ baseUri: ResolveBaseUri(
+ servers: s_GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsServers,
+ defaultBaseUrl: "https://dust.tt/"));
+ 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);
+ PrepareGetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ wId: wId!,
+ functionId: functionId!,
+ invocationId: invocationId!);
+
+ 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: "getWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEvents",
+ methodName: "GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsAsync",
+ pathTemplate: "$\"/api/w/{wId}/sandbox-functions/{functionId}/invocations/{invocationId}/events\"",
+ 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.ResponseHeadersRead,
+ 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: "getWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEvents",
+ methodName: "GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsAsync",
+ pathTemplate: "$\"/api/w/{wId}/sandbox-functions/{functionId}/invocations/{invocationId}/events\"",
+ 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: "getWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEvents",
+ methodName: "GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsAsync",
+ pathTemplate: "$\"/api/w/{wId}/sandbox-functions/{functionId}/invocations/{invocationId}/events\"",
+ 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);
+ ProcessGetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Dust.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Dust.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "getWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEvents",
+ methodName: "GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsAsync",
+ pathTemplate: "$\"/api/w/{wId}/sandbox-functions/{functionId}/invocations/{invocationId}/events\"",
+ 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: "getWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEvents",
+ methodName: "GetWByWIdSandboxFunctionsByFunctionIdInvocationsByInvocationIdEventsAsync",
+ pathTemplate: "$\"/api/w/{wId}/sandbox-functions/{functionId}/invocations/{invocationId}/events\"",
+ 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);
+ }
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ }
+ catch (global::System.Net.Http.HttpRequestException __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));
+ }
+
+ using var __stream = await __response.Content.ReadAsStreamAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ await foreach (var __sseEvent in global::System.Net.ServerSentEvents.SseParser
+ .Create(__stream).EnumerateAsync(__effectiveCancellationToken))
+ {
+ var __content = __sseEvent.Data;
+ if (__content == "[DONE]")
+ {
+ yield break;
+ }
+
+ var __streamedResponse = global::Dust.PrivateSandboxFunctionInvocationEvent.FromJson(__content, JsonSerializerContext) ??
+ throw global::Dust.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: $"Response deserialization failed for \"{__content}\" ",
+ innerException: null,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+
+ yield return __streamedResponse;
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Dust/openapi.yaml b/src/libs/Dust/openapi.yaml
index 86c3c7a..bfe2e5f 100644
--- a/src/libs/Dust/openapi.yaml
+++ b/src/libs/Dust/openapi.yaml
@@ -8674,6 +8674,64 @@
}
}
},
+ "/api/w/{wId}/sandbox-functions/{functionId}/invocations/{invocationId}/events": {
+ "get": {
+ "summary": "Stream sandbox function invocation events",
+ "description": "Stream real-time events for a sandbox function invocation using Server-Sent Events (SSE). This endpoint is redirected to /api/sse/ for SSE traffic routing.",
+ "tags": [
+ "Private Events"
+ ],
+ "parameters": [
+ {
+ "in": "path",
+ "name": "wId",
+ "required": true,
+ "description": "ID of the workspace",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "in": "path",
+ "name": "functionId",
+ "required": true,
+ "description": "ID of the sandbox function",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "in": "path",
+ "name": "invocationId",
+ "required": true,
+ "description": "ID of the sandbox function invocation",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "security": [
+ {
+ "BearerAuth": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "SSE event stream. Each event is sent as `data: {json}\\n\\n`.\nEvents are discriminated by the `type` field.\n",
+ "content": {
+ "text/event-stream": {
+ "schema": {
+ "$ref": "#/components/schemas/PrivateSandboxFunctionInvocationEvent"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Unauthorized"
+ }
+ }
+ }
+ },
"/api/w/{wId}/spaces/{spaceId}/data_source_views/{dsvId}": {
"get": {
"summary": "Get a data source view",
@@ -12055,6 +12113,97 @@
}
}
},
+ "PrivateSandboxFunctionInvocationEvent": {
+ "type": "object",
+ "description": "Server-Sent Event for sandbox function invocation streaming. Discriminated on the `type` field.",
+ "discriminator": {
+ "propertyName": "type"
+ },
+ "oneOf": [
+ {
+ "$ref": "#/components/schemas/PrivateSandboxFunctionInvocationCreatedEvent"
+ },
+ {
+ "$ref": "#/components/schemas/PrivateSandboxFunctionInvocationResultEvent"
+ }
+ ]
+ },
+ "PrivateSandboxFunctionInvocationCreatedEvent": {
+ "type": "object",
+ "required": [
+ "type",
+ "created",
+ "invocation"
+ ],
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "sandbox_function_invocation_created"
+ ]
+ },
+ "created": {
+ "type": "integer"
+ },
+ "invocation": {
+ "type": "object",
+ "required": [
+ "sId",
+ "functionId",
+ "status",
+ "createdAt"
+ ],
+ "properties": {
+ "sId": {
+ "type": "string"
+ },
+ "functionId": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string",
+ "enum": [
+ "created"
+ ]
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time"
+ }
+ }
+ }
+ }
+ },
+ "PrivateSandboxFunctionInvocationResultEvent": {
+ "type": "object",
+ "required": [
+ "type",
+ "created",
+ "invocationId",
+ "functionId",
+ "result"
+ ],
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "sandbox_function_invocation_result"
+ ]
+ },
+ "created": {
+ "type": "integer"
+ },
+ "invocationId": {
+ "type": "string"
+ },
+ "functionId": {
+ "type": "string"
+ },
+ "result": {
+ "description": "Result returned by the sandbox function."
+ }
+ }
+ },
"PrivateAgentMessageEvent": {
"type": "object",
"description": "Server-Sent Event for agent message streaming. Discriminated on the `type` field. Each event also includes a `step` integer.",