From f55a2b2698a4bdca065ea36a18d12c510280ae18 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 15 Apr 2026 21:52:21 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ApiEndpointsClient.ImportProjectMedia.g.cs | 9 +++++++++ ...ApiEndpointsClient.ImportProjectMedia.g.cs | 8 ++++++++ ...ript.Models.ImportProjectMediaRequest.g.cs | 20 +++++++++++++++++++ src/libs/Descript/openapi.yaml | 8 ++++++++ 4 files changed, 45 insertions(+) diff --git a/src/libs/Descript/Generated/Descript.ApiEndpointsClient.ImportProjectMedia.g.cs b/src/libs/Descript/Generated/Descript.ApiEndpointsClient.ImportProjectMedia.g.cs index f244a29..d73d605 100644 --- a/src/libs/Descript/Generated/Descript.ApiEndpointsClient.ImportProjectMedia.g.cs +++ b/src/libs/Descript/Generated/Descript.ApiEndpointsClient.ImportProjectMedia.g.cs @@ -675,6 +675,13 @@ partial void ProcessImportProjectMediaResponseContent( /// Default Value: none
/// Example: edit /// + /// + /// Folder path to place the new project in (e.g. "Clients/Acme/Videos").
+ /// Supports nested paths using "/" as separator. Only applicable when creating a new project
+ /// (when project_id is not provided). Existing folders along the path are reused; missing
+ /// segments are created automatically.
+ /// Example: Clients/Acme + /// /// /// Map of media reference IDs (display names with optional folder paths) to media import items.
/// Keys are the display names that will appear in the project (e.g., "Misc/intro.mp4" or "demo.mp4").
@@ -696,6 +703,7 @@ partial void ProcessImportProjectMediaResponseContent( global::System.Guid? projectId = default, string? projectName = default, global::Descript.ImportProjectMediaRequestTeamAccess? teamAccess = default, + string? folderName = default, global::System.Collections.Generic.Dictionary>? addMedia = default, global::System.Collections.Generic.IList? addCompositions = default, string? callbackUrl = default, @@ -707,6 +715,7 @@ partial void ProcessImportProjectMediaResponseContent( ProjectId = projectId, ProjectName = projectName, TeamAccess = teamAccess, + FolderName = folderName, AddMedia = addMedia, AddCompositions = addCompositions, CallbackUrl = callbackUrl, diff --git a/src/libs/Descript/Generated/Descript.IApiEndpointsClient.ImportProjectMedia.g.cs b/src/libs/Descript/Generated/Descript.IApiEndpointsClient.ImportProjectMedia.g.cs index 9bca66b..c063b71 100644 --- a/src/libs/Descript/Generated/Descript.IApiEndpointsClient.ImportProjectMedia.g.cs +++ b/src/libs/Descript/Generated/Descript.IApiEndpointsClient.ImportProjectMedia.g.cs @@ -77,6 +77,13 @@ public partial interface IApiEndpointsClient /// Default Value: none
/// Example: edit /// + /// + /// Folder path to place the new project in (e.g. "Clients/Acme/Videos").
+ /// Supports nested paths using "/" as separator. Only applicable when creating a new project
+ /// (when project_id is not provided). Existing folders along the path are reused; missing
+ /// segments are created automatically.
+ /// Example: Clients/Acme + /// /// /// Map of media reference IDs (display names with optional folder paths) to media import items.
/// Keys are the display names that will appear in the project (e.g., "Misc/intro.mp4" or "demo.mp4").
@@ -98,6 +105,7 @@ public partial interface IApiEndpointsClient global::System.Guid? projectId = default, string? projectName = default, global::Descript.ImportProjectMediaRequestTeamAccess? teamAccess = default, + string? folderName = default, global::System.Collections.Generic.Dictionary>? addMedia = default, global::System.Collections.Generic.IList? addCompositions = default, string? callbackUrl = default, diff --git a/src/libs/Descript/Generated/Descript.Models.ImportProjectMediaRequest.g.cs b/src/libs/Descript/Generated/Descript.Models.ImportProjectMediaRequest.g.cs index daeceae..c4645b8 100644 --- a/src/libs/Descript/Generated/Descript.Models.ImportProjectMediaRequest.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.ImportProjectMediaRequest.g.cs @@ -46,6 +46,17 @@ public sealed partial class ImportProjectMediaRequest [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Descript.JsonConverters.ImportProjectMediaRequestTeamAccessJsonConverter))] public global::Descript.ImportProjectMediaRequestTeamAccess? TeamAccess { get; set; } + /// + /// Folder path to place the new project in (e.g. "Clients/Acme/Videos").
+ /// Supports nested paths using "/" as separator. Only applicable when creating a new project
+ /// (when project_id is not provided). Existing folders along the path are reused; missing
+ /// segments are created automatically.
+ /// Example: Clients/Acme + ///
+ /// Clients/Acme + [global::System.Text.Json.Serialization.JsonPropertyName("folder_name")] + public string? FolderName { get; set; } + /// /// Map of media reference IDs (display names with optional folder paths) to media import items.
/// Keys are the display names that will appear in the project (e.g., "Misc/intro.mp4" or "demo.mp4").
@@ -100,6 +111,13 @@ public sealed partial class ImportProjectMediaRequest /// Default Value: none
/// Example: edit /// + /// + /// Folder path to place the new project in (e.g. "Clients/Acme/Videos").
+ /// Supports nested paths using "/" as separator. Only applicable when creating a new project
+ /// (when project_id is not provided). Existing folders along the path are reused; missing
+ /// segments are created automatically.
+ /// Example: Clients/Acme + /// /// /// Map of media reference IDs (display names with optional folder paths) to media import items.
/// Keys are the display names that will appear in the project (e.g., "Misc/intro.mp4" or "demo.mp4").
@@ -121,6 +139,7 @@ public ImportProjectMediaRequest( global::System.Guid? projectId, string? projectName, global::Descript.ImportProjectMediaRequestTeamAccess? teamAccess, + string? folderName, global::System.Collections.Generic.Dictionary>? addMedia, global::System.Collections.Generic.IList? addCompositions, string? callbackUrl) @@ -128,6 +147,7 @@ public ImportProjectMediaRequest( this.ProjectId = projectId; this.ProjectName = projectName; this.TeamAccess = teamAccess; + this.FolderName = folderName; this.AddMedia = addMedia; this.AddCompositions = addCompositions; this.CallbackUrl = callbackUrl; diff --git a/src/libs/Descript/openapi.yaml b/src/libs/Descript/openapi.yaml index 2fb1d1f..e2fdd8c 100644 --- a/src/libs/Descript/openapi.yaml +++ b/src/libs/Descript/openapi.yaml @@ -329,6 +329,14 @@ paths: - none default: none example: edit + folder_name: + type: string + description: | + Folder path to place the new project in (e.g. "Clients/Acme/Videos"). + Supports nested paths using "/" as separator. Only applicable when creating a new project + (when project_id is not provided). Existing folders along the path are reused; missing + segments are created automatically. + example: Clients/Acme add_media: type: object description: |