From 9ae9685b99096467177a62f0b947396e0001db96 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 29 Mar 2026 02:26:54 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Descript.JsonConverters.JobStatus.g.cs | 12 +++--- .../Descript.Models.AgentEditJobRequest.g.cs | 12 +++--- .../Descript.Models.AgentErrorResult.g.cs | 10 ++--- .../Descript.Models.AgentJobStatus.g.cs | 20 +++++----- .../Descript.Models.AgentSuccessResult.g.cs | 10 ++--- ...InDescriptSchemaPostBodyProjectSchema.g.cs | 8 ++-- ...scriptSchemaPostBodyProjectSchemaFile.g.cs | 8 ++-- .../Descript.Models.ImportErrorResult.g.cs | 10 ++--- .../Descript.Models.ImportJobStatus.g.cs | 18 ++++----- ...escript.Models.ImportJobStatusJobType.g.cs | 6 +-- ...portProjectMediaRequestAddComposition.g.cs | 8 ++-- .../Generated/Descript.Models.JobStatus.g.cs | 38 +++++++++---------- ....Models.JobStatusDiscriminatorJobType.g.cs | 6 +-- .../Descript.Models.ListJobsType.g.cs | 6 +-- ....Models.PublishedProjectConflictError.g.cs | 10 ++--- 15 files changed, 91 insertions(+), 91 deletions(-) diff --git a/src/libs/Descript/Generated/Descript.JsonConverters.JobStatus.g.cs b/src/libs/Descript/Generated/Descript.JsonConverters.JobStatus.g.cs index 9fb5ed5..b07b3bf 100644 --- a/src/libs/Descript/Generated/Descript.JsonConverters.JobStatus.g.cs +++ b/src/libs/Descript/Generated/Descript.JsonConverters.JobStatus.g.cs @@ -21,12 +21,12 @@ public class JobStatusJsonConverter : global::System.Text.Json.Serialization.Jso throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Descript.JobStatusDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Descript.ImportJobStatus? importProjectMedia = default; - if (discriminator?.JobType == global::Descript.JobStatusDiscriminatorJobType.ImportProjectMedia) + global::Descript.ImportJobStatus? importDivideprojectMedia = default; + if (discriminator?.JobType == global::Descript.JobStatusDiscriminatorJobType.ImportDivideprojectMedia) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Descript.ImportJobStatus), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Descript.ImportJobStatus)}"); - importProjectMedia = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + importDivideprojectMedia = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::Descript.AgentJobStatus? agent = default; if (discriminator?.JobType == global::Descript.JobStatusDiscriminatorJobType.Agent) @@ -38,7 +38,7 @@ public class JobStatusJsonConverter : global::System.Text.Json.Serialization.Jso var __value = new global::Descript.JobStatus( discriminator?.JobType, - importProjectMedia, + importDivideprojectMedia, agent ); @@ -55,11 +55,11 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsImportProjectMedia) + if (value.IsImportDivideprojectMedia) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Descript.ImportJobStatus), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Descript.ImportJobStatus).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ImportProjectMedia, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ImportDivideprojectMedia, typeInfo); } else if (value.IsAgent) { diff --git a/src/libs/Descript/Generated/Descript.Models.AgentEditJobRequest.g.cs b/src/libs/Descript/Generated/Descript.Models.AgentEditJobRequest.g.cs index 3606f48..148d36b 100644 --- a/src/libs/Descript/Generated/Descript.Models.AgentEditJobRequest.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.AgentEditJobRequest.g.cs @@ -78,6 +78,11 @@ public sealed partial class AgentEditJobRequest /// /// Initializes a new instance of the class. /// + /// + /// Natural language instruction for the agent to execute.
+ /// Examples: "add studio sound to every clip", "remove all filler words", "create a 30-second highlight reel"
+ /// Example: add studio sound to every clip + /// /// /// The ID of an existing project to edit. Mutually exclusive with `project_name`.
/// Example: 9f36ee32-5a2c-47e7-b1a3-94991d3e3ddb @@ -94,11 +99,6 @@ public sealed partial class AgentEditJobRequest /// /// AI model to use for editing. Defaults to the default model. /// - /// - /// Natural language instruction for the agent to execute.
- /// Examples: "add studio sound to every clip", "remove all filler words", "create a 30-second highlight reel"
- /// Example: add studio sound to every clip - /// /// /// Access level for team members when creating a new project.
/// Only applicable when `project_name` is provided (not when using `project_id`).
@@ -121,11 +121,11 @@ public AgentEditJobRequest( global::Descript.AgentEditJobRequestTeamAccess? teamAccess, string? callbackUrl) { - this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt)); this.ProjectId = projectId; this.ProjectName = projectName; this.CompositionId = compositionId; this.Model = model; + this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt)); this.TeamAccess = teamAccess; this.CallbackUrl = callbackUrl; } diff --git a/src/libs/Descript/Generated/Descript.Models.AgentErrorResult.g.cs b/src/libs/Descript/Generated/Descript.Models.AgentErrorResult.g.cs index 8febf35..7e79508 100644 --- a/src/libs/Descript/Generated/Descript.Models.AgentErrorResult.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.AgentErrorResult.g.cs @@ -43,14 +43,14 @@ public sealed partial class AgentErrorResult /// /// Initializes a new instance of the class. /// - /// - /// Indicates the job failed
- /// Example: error - /// /// /// Human-readable error message
/// Example: AI agent failed to process the request /// + /// + /// Indicates the job failed
+ /// Example: error + /// /// /// Machine-readable error code
/// Example: agent_execution_failed @@ -63,8 +63,8 @@ public AgentErrorResult( global::Descript.AgentErrorResultStatus status, string? errorCode) { - this.ErrorMessage = errorMessage ?? throw new global::System.ArgumentNullException(nameof(errorMessage)); this.Status = status; + this.ErrorMessage = errorMessage ?? throw new global::System.ArgumentNullException(nameof(errorMessage)); this.ErrorCode = errorCode; } diff --git a/src/libs/Descript/Generated/Descript.Models.AgentJobStatus.g.cs b/src/libs/Descript/Generated/Descript.Models.AgentJobStatus.g.cs index f010038..170b39c 100644 --- a/src/libs/Descript/Generated/Descript.Models.AgentJobStatus.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.AgentJobStatus.g.cs @@ -110,10 +110,6 @@ public sealed partial class AgentJobStatus /// Unique identifier for the job
/// Example: 6dc3f30a-58c2-4174-96a6-dc18cf3c7776 /// - /// - /// Type of job
- /// Example: agent - /// /// /// Current state of the job:
/// - queued: Job is waiting to start
@@ -126,10 +122,6 @@ public sealed partial class AgentJobStatus /// When the job was created
/// Example: 2025-11-18T10:30:00Z /// - /// - /// When the job stopped (only present when job_state is stopped or cancelled)
- /// Example: 2025-11-18T10:35:00Z - /// /// /// The drive ID
/// Example: c9c5c47e-158a-49f7-846b-4f6ee2a229a2 @@ -142,6 +134,14 @@ public sealed partial class AgentJobStatus /// URL to access the project in Descript web app
/// Example: https://web.descript.com/9f36ee32-5a2c-47e7-b1a3-94991d3e3ddb /// + /// + /// Type of job
+ /// Example: agent + /// + /// + /// When the job stopped (only present when job_state is stopped or cancelled)
+ /// Example: 2025-11-18T10:35:00Z + /// /// /// Progress information for the workflow (only present when job_state is running) /// @@ -164,13 +164,13 @@ public AgentJobStatus( global::Descript.Result2? result) { this.JobId = jobId; + this.JobType = jobType; this.JobState = jobState; this.CreatedAt = createdAt; + this.StoppedAt = stoppedAt; this.DriveId = driveId; this.ProjectId = projectId; this.ProjectUrl = projectUrl ?? throw new global::System.ArgumentNullException(nameof(projectUrl)); - this.JobType = jobType; - this.StoppedAt = stoppedAt; this.Progress = progress; this.Result = result; } diff --git a/src/libs/Descript/Generated/Descript.Models.AgentSuccessResult.g.cs b/src/libs/Descript/Generated/Descript.Models.AgentSuccessResult.g.cs index 1f51ad9..55c01e7 100644 --- a/src/libs/Descript/Generated/Descript.Models.AgentSuccessResult.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.AgentSuccessResult.g.cs @@ -60,10 +60,6 @@ public sealed partial class AgentSuccessResult /// /// Initializes a new instance of the class. /// - /// - /// Indicates successful completion
- /// Example: success - /// /// /// AI response describing what was done
/// Example: I added Studio Sound to all 3 clips in your composition @@ -72,6 +68,10 @@ public sealed partial class AgentSuccessResult /// Whether the agent made modifications to the project
/// Example: true /// + /// + /// Indicates successful completion
+ /// Example: success + /// /// /// Media minutes (in seconds) consumed by this operation
/// Example: 34 @@ -90,9 +90,9 @@ public AgentSuccessResult( int? mediaSecondsUsed, int? aiCreditsUsed) { + this.Status = status; this.AgentResponse = agentResponse ?? throw new global::System.ArgumentNullException(nameof(agentResponse)); this.ProjectChanged = projectChanged; - this.Status = status; this.MediaSecondsUsed = mediaSecondsUsed; this.AiCreditsUsed = aiCreditsUsed; } diff --git a/src/libs/Descript/Generated/Descript.Models.EditInDescriptSchemaPostBodyProjectSchema.g.cs b/src/libs/Descript/Generated/Descript.Models.EditInDescriptSchemaPostBodyProjectSchema.g.cs index 5ea8f64..c107f8b 100644 --- a/src/libs/Descript/Generated/Descript.Models.EditInDescriptSchemaPostBodyProjectSchema.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.EditInDescriptSchemaPostBodyProjectSchema.g.cs @@ -45,13 +45,13 @@ public sealed partial class EditInDescriptSchemaPostBodyProjectSchema /// Schema version id.
/// Example: 1.0.0 /// + /// + /// List of remote files to import into Descript. + /// /// /// External source id to be included in Descript export pages, see Export from Descript section for details. This ID is not currently used to deduplicate data coming into Descript, a new Project is created for each import.
/// Example: 06b3f5bb-68a2-468a-a5d9-df155c1e3588 /// - /// - /// List of remote files to import into Descript. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -61,8 +61,8 @@ public EditInDescriptSchemaPostBodyProjectSchema( string? sourceId) { this.SchemaVersion = schemaVersion ?? throw new global::System.ArgumentNullException(nameof(schemaVersion)); - this.Files = files ?? throw new global::System.ArgumentNullException(nameof(files)); this.SourceId = sourceId; + this.Files = files ?? throw new global::System.ArgumentNullException(nameof(files)); } /// diff --git a/src/libs/Descript/Generated/Descript.Models.EditInDescriptSchemaPostBodyProjectSchemaFile.g.cs b/src/libs/Descript/Generated/Descript.Models.EditInDescriptSchemaPostBodyProjectSchemaFile.g.cs index 40bbac0..f8a8a06 100644 --- a/src/libs/Descript/Generated/Descript.Models.EditInDescriptSchemaPostBodyProjectSchemaFile.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.EditInDescriptSchemaPostBodyProjectSchemaFile.g.cs @@ -36,12 +36,12 @@ public sealed partial class EditInDescriptSchemaPostBodyProjectSchemaFile /// /// Initializes a new instance of the class. /// - /// - /// A name for the file. - /// /// /// A public/pre-signed uri to the audio or video asset, see supported media specifications section. /// + /// + /// A name for the file. + /// /// /// The amount of time into the Project's timeline this audio or video file should start at. /// @@ -53,8 +53,8 @@ public EditInDescriptSchemaPostBodyProjectSchemaFile( string? name, global::Descript.EditInDescriptSchemaPostBodyProjectSchemaFileStartOffset? startOffset) { - this.Uri = uri ?? throw new global::System.ArgumentNullException(nameof(uri)); this.Name = name; + this.Uri = uri ?? throw new global::System.ArgumentNullException(nameof(uri)); this.StartOffset = startOffset; } diff --git a/src/libs/Descript/Generated/Descript.Models.ImportErrorResult.g.cs b/src/libs/Descript/Generated/Descript.Models.ImportErrorResult.g.cs index 28ce262..ddd5bae 100644 --- a/src/libs/Descript/Generated/Descript.Models.ImportErrorResult.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.ImportErrorResult.g.cs @@ -43,14 +43,14 @@ public sealed partial class ImportErrorResult /// /// Initializes a new instance of the class. /// - /// - /// Job failed completely
- /// Example: error - /// /// /// Human-readable error message
/// Example: Failed to import media files /// + /// + /// Job failed completely
+ /// Example: error + /// /// /// Machine-readable error code
/// Example: import_failed @@ -63,8 +63,8 @@ public ImportErrorResult( global::Descript.ImportErrorResultStatus status, string? errorCode) { - this.ErrorMessage = errorMessage ?? throw new global::System.ArgumentNullException(nameof(errorMessage)); this.Status = status; + this.ErrorMessage = errorMessage ?? throw new global::System.ArgumentNullException(nameof(errorMessage)); this.ErrorCode = errorCode; } diff --git a/src/libs/Descript/Generated/Descript.Models.ImportJobStatus.g.cs b/src/libs/Descript/Generated/Descript.Models.ImportJobStatus.g.cs index f940daf..ce9b43f 100644 --- a/src/libs/Descript/Generated/Descript.Models.ImportJobStatus.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.ImportJobStatus.g.cs @@ -108,9 +108,6 @@ public sealed partial class ImportJobStatus /// Unique identifier for the job
/// Example: 6dc3f30a-58c2-4174-96a6-dc18cf3c7776 /// - /// - /// Type of job - /// /// /// Current state of the job:
/// - queued: Job is waiting to start
@@ -123,10 +120,6 @@ public sealed partial class ImportJobStatus /// When the job was created
/// Example: 2025-11-18T10:30:00Z /// - /// - /// When the job stopped (only present when job_state is stopped or cancelled)
- /// Example: 2025-11-18T10:35:00Z - /// /// /// The drive ID
/// Example: c9c5c47e-158a-49f7-846b-4f6ee2a229a2 @@ -139,6 +132,13 @@ public sealed partial class ImportJobStatus /// URL to access the project in Descript web app
/// Example: https://web.descript.com/9f36ee32-5a2c-47e7-b1a3-94991d3e3ddb /// + /// + /// Type of job + /// + /// + /// When the job stopped (only present when job_state is stopped or cancelled)
+ /// Example: 2025-11-18T10:35:00Z + /// /// /// Progress information for the workflow (only present when job_state is running) /// @@ -161,13 +161,13 @@ public ImportJobStatus( global::Descript.Result? result) { this.JobId = jobId; + this.JobType = jobType; this.JobState = jobState; this.CreatedAt = createdAt; + this.StoppedAt = stoppedAt; this.DriveId = driveId; this.ProjectId = projectId; this.ProjectUrl = projectUrl ?? throw new global::System.ArgumentNullException(nameof(projectUrl)); - this.JobType = jobType; - this.StoppedAt = stoppedAt; this.Progress = progress; this.Result = result; } diff --git a/src/libs/Descript/Generated/Descript.Models.ImportJobStatusJobType.g.cs b/src/libs/Descript/Generated/Descript.Models.ImportJobStatusJobType.g.cs index 95aaef6..0eab3ff 100644 --- a/src/libs/Descript/Generated/Descript.Models.ImportJobStatusJobType.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.ImportJobStatusJobType.g.cs @@ -11,7 +11,7 @@ public enum ImportJobStatusJobType /// /// /// - ImportProjectMedia, + ImportDivideprojectMedia, } /// @@ -26,7 +26,7 @@ public static string ToValueString(this ImportJobStatusJobType value) { return value switch { - ImportJobStatusJobType.ImportProjectMedia => "import/project_media", + ImportJobStatusJobType.ImportDivideprojectMedia => "import/project_media", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -37,7 +37,7 @@ public static string ToValueString(this ImportJobStatusJobType value) { return value switch { - "import/project_media" => ImportJobStatusJobType.ImportProjectMedia, + "import/project_media" => ImportJobStatusJobType.ImportDivideprojectMedia, _ => null, }; } diff --git a/src/libs/Descript/Generated/Descript.Models.ImportProjectMediaRequestAddComposition.g.cs b/src/libs/Descript/Generated/Descript.Models.ImportProjectMediaRequestAddComposition.g.cs index c17bbfc..1e68f59 100644 --- a/src/libs/Descript/Generated/Descript.Models.ImportProjectMediaRequestAddComposition.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.ImportProjectMediaRequestAddComposition.g.cs @@ -61,6 +61,9 @@ public sealed partial class ImportProjectMediaRequestAddComposition /// /// Initializes a new instance of the class. /// + /// + /// Ordered list of clips to include in the composition + /// /// /// Name of the composition. If not provided, uses default naming.
/// Example: Rough Cut @@ -82,9 +85,6 @@ public sealed partial class ImportProjectMediaRequestAddComposition /// Default Value: 30
/// Example: 30 /// - /// - /// Ordered list of clips to include in the composition - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -95,11 +95,11 @@ public ImportProjectMediaRequestAddComposition( int? height, double? fps) { - this.Clips = clips ?? throw new global::System.ArgumentNullException(nameof(clips)); this.Name = name; this.Width = width; this.Height = height; this.Fps = fps; + this.Clips = clips ?? throw new global::System.ArgumentNullException(nameof(clips)); } /// diff --git a/src/libs/Descript/Generated/Descript.Models.JobStatus.g.cs b/src/libs/Descript/Generated/Descript.Models.JobStatus.g.cs index 0b2b6b6..0c9ea7e 100644 --- a/src/libs/Descript/Generated/Descript.Models.JobStatus.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.JobStatus.g.cs @@ -19,18 +19,18 @@ namespace Descript /// Status of an import job /// #if NET6_0_OR_GREATER - public global::Descript.ImportJobStatus? ImportProjectMedia { get; init; } + public global::Descript.ImportJobStatus? ImportDivideprojectMedia { get; init; } #else - public global::Descript.ImportJobStatus? ImportProjectMedia { get; } + public global::Descript.ImportJobStatus? ImportDivideprojectMedia { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ImportProjectMedia))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ImportDivideprojectMedia))] #endif - public bool IsImportProjectMedia => ImportProjectMedia != null; + public bool IsImportDivideprojectMedia => ImportDivideprojectMedia != null; /// /// Status of an Agent edit job @@ -56,14 +56,14 @@ namespace Descript /// /// /// - public static implicit operator global::Descript.ImportJobStatus?(JobStatus @this) => @this.ImportProjectMedia; + public static implicit operator global::Descript.ImportJobStatus?(JobStatus @this) => @this.ImportDivideprojectMedia; /// /// /// public JobStatus(global::Descript.ImportJobStatus? value) { - ImportProjectMedia = value; + ImportDivideprojectMedia = value; } /// @@ -89,13 +89,13 @@ public JobStatus(global::Descript.AgentJobStatus? value) /// public JobStatus( global::Descript.JobStatusDiscriminatorJobType? jobType, - global::Descript.ImportJobStatus? importProjectMedia, + global::Descript.ImportJobStatus? importDivideprojectMedia, global::Descript.AgentJobStatus? agent ) { JobType = jobType; - ImportProjectMedia = importProjectMedia; + ImportDivideprojectMedia = importDivideprojectMedia; Agent = agent; } @@ -104,14 +104,14 @@ public JobStatus( /// public object? Object => Agent as object ?? - ImportProjectMedia as object + ImportDivideprojectMedia as object ; /// /// /// public override string? ToString() => - ImportProjectMedia?.ToString() ?? + ImportDivideprojectMedia?.ToString() ?? Agent?.ToString() ; @@ -120,14 +120,14 @@ ImportProjectMedia as object ///
public bool Validate() { - return IsImportProjectMedia && !IsAgent || !IsImportProjectMedia && IsAgent; + return IsImportDivideprojectMedia && !IsAgent || !IsImportDivideprojectMedia && IsAgent; } /// /// /// public TResult? Match( - global::System.Func? importProjectMedia = null, + global::System.Func? importDivideprojectMedia = null, global::System.Func? agent = null, bool validate = true) { @@ -136,9 +136,9 @@ public bool Validate() Validate(); } - if (IsImportProjectMedia && importProjectMedia != null) + if (IsImportDivideprojectMedia && importDivideprojectMedia != null) { - return importProjectMedia(ImportProjectMedia!); + return importDivideprojectMedia(ImportDivideprojectMedia!); } else if (IsAgent && agent != null) { @@ -152,7 +152,7 @@ public bool Validate() /// ///
public void Match( - global::System.Action? importProjectMedia = null, + global::System.Action? importDivideprojectMedia = null, global::System.Action? agent = null, bool validate = true) { @@ -161,9 +161,9 @@ public void Match( Validate(); } - if (IsImportProjectMedia) + if (IsImportDivideprojectMedia) { - importProjectMedia?.Invoke(ImportProjectMedia!); + importDivideprojectMedia?.Invoke(ImportDivideprojectMedia!); } else if (IsAgent) { @@ -178,7 +178,7 @@ public override int GetHashCode() { var fields = new object?[] { - ImportProjectMedia, + ImportDivideprojectMedia, typeof(global::Descript.ImportJobStatus), Agent, typeof(global::Descript.AgentJobStatus), @@ -198,7 +198,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(JobStatus other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(ImportProjectMedia, other.ImportProjectMedia) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ImportDivideprojectMedia, other.ImportDivideprojectMedia) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Agent, other.Agent) ; } diff --git a/src/libs/Descript/Generated/Descript.Models.JobStatusDiscriminatorJobType.g.cs b/src/libs/Descript/Generated/Descript.Models.JobStatusDiscriminatorJobType.g.cs index 23711f0..a4599cf 100644 --- a/src/libs/Descript/Generated/Descript.Models.JobStatusDiscriminatorJobType.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.JobStatusDiscriminatorJobType.g.cs @@ -15,7 +15,7 @@ public enum JobStatusDiscriminatorJobType /// /// /// - ImportProjectMedia, + ImportDivideprojectMedia, } /// @@ -31,7 +31,7 @@ public static string ToValueString(this JobStatusDiscriminatorJobType value) return value switch { JobStatusDiscriminatorJobType.Agent => "agent", - JobStatusDiscriminatorJobType.ImportProjectMedia => "import/project_media", + JobStatusDiscriminatorJobType.ImportDivideprojectMedia => "import/project_media", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -43,7 +43,7 @@ public static string ToValueString(this JobStatusDiscriminatorJobType value) return value switch { "agent" => JobStatusDiscriminatorJobType.Agent, - "import/project_media" => JobStatusDiscriminatorJobType.ImportProjectMedia, + "import/project_media" => JobStatusDiscriminatorJobType.ImportDivideprojectMedia, _ => null, }; } diff --git a/src/libs/Descript/Generated/Descript.Models.ListJobsType.g.cs b/src/libs/Descript/Generated/Descript.Models.ListJobsType.g.cs index 3d37cf6..5c18275 100644 --- a/src/libs/Descript/Generated/Descript.Models.ListJobsType.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.ListJobsType.g.cs @@ -15,7 +15,7 @@ public enum ListJobsType /// /// /// - ImportProjectMedia, + ImportDivideprojectMedia, } /// @@ -31,7 +31,7 @@ public static string ToValueString(this ListJobsType value) return value switch { ListJobsType.Agent => "agent", - ListJobsType.ImportProjectMedia => "import/project_media", + ListJobsType.ImportDivideprojectMedia => "import/project_media", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -43,7 +43,7 @@ public static string ToValueString(this ListJobsType value) return value switch { "agent" => ListJobsType.Agent, - "import/project_media" => ListJobsType.ImportProjectMedia, + "import/project_media" => ListJobsType.ImportDivideprojectMedia, _ => null, }; } diff --git a/src/libs/Descript/Generated/Descript.Models.PublishedProjectConflictError.g.cs b/src/libs/Descript/Generated/Descript.Models.PublishedProjectConflictError.g.cs index 3779fd4..a185a52 100644 --- a/src/libs/Descript/Generated/Descript.Models.PublishedProjectConflictError.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.PublishedProjectConflictError.g.cs @@ -45,10 +45,6 @@ public sealed partial class PublishedProjectConflictError /// /// Initializes a new instance of the class. /// - /// - /// Error type identifier
- /// Example: conflict - /// /// /// Human-readable error message
/// Example: Published in invalid state @@ -57,6 +53,10 @@ public sealed partial class PublishedProjectConflictError /// Current state of the published project
/// Example: processing /// + /// + /// Error type identifier
+ /// Example: conflict + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -65,9 +65,9 @@ public PublishedProjectConflictError( global::Descript.PublishedProjectConflictErrorState state, global::Descript.PublishedProjectConflictErrorError error) { + this.Error = error; this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); this.State = state; - this.Error = error; } ///