diff --git a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultLayoutPackSearchResult.g.cs b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultLayoutPackSearchResult.g.cs
index 4db11eb..9b38d18 100644
--- a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultLayoutPackSearchResult.g.cs
+++ b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultLayoutPackSearchResult.g.cs
@@ -29,6 +29,13 @@ public sealed partial class SearchResponseResultLayoutPackSearchResult
[global::System.Text.Json.Serialization.JsonRequired]
public required string Name { get; set; }
+ ///
+ /// Link that opens this layout pack in Descript.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("url")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Url { get; set; }
+
///
/// Owner of the search result. Omitted when the owner is unavailable.
///
@@ -59,6 +66,9 @@ public sealed partial class SearchResponseResultLayoutPackSearchResult
///
/// Name of the layout pack.
///
+ ///
+ /// Link that opens this layout pack in Descript.
+ ///
///
/// When the layout pack was last modified. This is
/// the field `updated_after` and `updated_before`
@@ -76,6 +86,7 @@ public sealed partial class SearchResponseResultLayoutPackSearchResult
public SearchResponseResultLayoutPackSearchResult(
global::System.Guid projectId,
string name,
+ string url,
global::System.DateTime updatedAt,
global::Descript.SearchResponseResultLayoutPackSearchResultType type,
global::Descript.SearchOwner? owner)
@@ -83,6 +94,7 @@ public SearchResponseResultLayoutPackSearchResult(
this.Type = type;
this.ProjectId = projectId;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
+ this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url));
this.Owner = owner;
this.UpdatedAt = updatedAt;
}
diff --git a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaLibraryFolderSearchResult.g.cs b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaLibraryFolderSearchResult.g.cs
index 11d8183..3aebff7 100644
--- a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaLibraryFolderSearchResult.g.cs
+++ b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaLibraryFolderSearchResult.g.cs
@@ -37,6 +37,14 @@ public sealed partial class SearchResponseResultMediaLibraryFolderSearchResult
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Descript.JsonConverters.SearchResponseResultMediaLibraryFolderSearchResultLocationJsonConverter))]
public global::Descript.SearchResponseResultMediaLibraryFolderSearchResultLocation Location { get; set; }
+ ///
+ /// Link that opens this media library folder in
+ /// Descript.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("url")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Url { get; set; }
+
///
/// Owner of the search result. Omitted when the owner is unavailable.
///
@@ -67,6 +75,10 @@ public sealed partial class SearchResponseResultMediaLibraryFolderSearchResult
///
/// Name of the folder.
///
+ ///
+ /// Link that opens this media library folder in
+ /// Descript.
+ ///
///
/// When the folder was last modified. This is the
/// field `updated_after` and `updated_before` filter
@@ -88,6 +100,7 @@ public sealed partial class SearchResponseResultMediaLibraryFolderSearchResult
public SearchResponseResultMediaLibraryFolderSearchResult(
global::System.Guid folderId,
string name,
+ string url,
global::System.DateTime updatedAt,
global::Descript.SearchResponseResultMediaLibraryFolderSearchResultType type,
global::Descript.SearchResponseResultMediaLibraryFolderSearchResultLocation location,
@@ -97,6 +110,7 @@ public SearchResponseResultMediaLibraryFolderSearchResult(
this.FolderId = folderId;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Location = location;
+ this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url));
this.Owner = owner;
this.UpdatedAt = updatedAt;
}
diff --git a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResult.g.cs b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResult.g.cs
index da7d221..8caa6aa 100644
--- a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResult.g.cs
+++ b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResult.g.cs
@@ -55,6 +55,23 @@ public sealed partial class SearchResponseResultMediaSearchResult
[global::System.Text.Json.Serialization.JsonRequired]
public required global::Descript.SearchResponseResultMediaSearchResultLocation Location { get; set; }
+ ///
+ /// Link that opens this file in Descript. Files
+ /// inside a project open that project with the file
+ /// highlighted.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("url")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Url { get; set; }
+
+ ///
+ /// Time-limited signed URL of a preview image for
+ /// video and image files. Omitted for audio and when
+ /// a thumbnail is unavailable.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("thumbnail_url")]
+ public string? ThumbnailUrl { get; set; }
+
///
/// Owner of the search result. Omitted when the owner is unavailable.
///
@@ -100,6 +117,11 @@ public sealed partial class SearchResponseResultMediaSearchResult
/// media library, `project` inside a project, or
/// `brand_studio` in Brand Studio.
///
+ ///
+ /// Link that opens this file in Descript. Files
+ /// inside a project open that project with the file
+ /// highlighted.
+ ///
///
/// When the file was last modified. This is the
/// field `updated_after` and `updated_before` filter
@@ -113,6 +135,11 @@ public sealed partial class SearchResponseResultMediaSearchResult
/// ID of the Brand Studio that contains the file.
/// Present only when `location` is `brand_studio`.
///
+ ///
+ /// Time-limited signed URL of a preview image for
+ /// video and image files. Omitted for audio and when
+ /// a thumbnail is unavailable.
+ ///
///
/// Owner of the search result. Omitted when the owner is unavailable.
///
@@ -128,9 +155,11 @@ public SearchResponseResultMediaSearchResult(
global::System.Guid assetId,
string name,
global::Descript.SearchResponseResultMediaSearchResultLocation location,
+ string url,
global::System.DateTime updatedAt,
global::System.Guid? projectId,
global::System.Guid? brandStudioId,
+ string? thumbnailUrl,
global::Descript.SearchOwner? owner,
double? duration)
{
@@ -140,6 +169,8 @@ public SearchResponseResultMediaSearchResult(
this.BrandStudioId = brandStudioId;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Location = location;
+ this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url));
+ this.ThumbnailUrl = thumbnailUrl;
this.Owner = owner;
this.UpdatedAt = updatedAt;
this.Duration = duration;
diff --git a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultProjectFolderSearchResult.g.cs b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultProjectFolderSearchResult.g.cs
index 61017ed..01e5b74 100644
--- a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultProjectFolderSearchResult.g.cs
+++ b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultProjectFolderSearchResult.g.cs
@@ -29,6 +29,13 @@ public sealed partial class SearchResponseResultProjectFolderSearchResult
[global::System.Text.Json.Serialization.JsonRequired]
public required string Name { get; set; }
+ ///
+ /// Link that opens this project folder in Descript.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("url")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Url { get; set; }
+
///
/// Owner of the search result. Omitted when the owner is unavailable.
///
@@ -59,6 +66,9 @@ public sealed partial class SearchResponseResultProjectFolderSearchResult
///
/// Name of the folder.
///
+ ///
+ /// Link that opens this project folder in Descript.
+ ///
///
/// When the folder was last modified. This is the
/// field `updated_after` and `updated_before` filter
@@ -76,6 +86,7 @@ public sealed partial class SearchResponseResultProjectFolderSearchResult
public SearchResponseResultProjectFolderSearchResult(
global::System.Guid folderId,
string name,
+ string url,
global::System.DateTime updatedAt,
global::Descript.SearchResponseResultProjectFolderSearchResultType type,
global::Descript.SearchOwner? owner)
@@ -83,6 +94,7 @@ public SearchResponseResultProjectFolderSearchResult(
this.Type = type;
this.FolderId = folderId;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
+ this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url));
this.Owner = owner;
this.UpdatedAt = updatedAt;
}
diff --git a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultProjectSearchResult.g.cs b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultProjectSearchResult.g.cs
index c8a88ec..2442931 100644
--- a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultProjectSearchResult.g.cs
+++ b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultProjectSearchResult.g.cs
@@ -30,6 +30,13 @@ public sealed partial class SearchResponseResultProjectSearchResult
[global::System.Text.Json.Serialization.JsonRequired]
public required string Name { get; set; }
+ ///
+ /// Link that opens this project in Descript.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("url")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Url { get; set; }
+
///
/// Owner of the search result. Omitted when the owner is unavailable.
///
@@ -61,6 +68,9 @@ public sealed partial class SearchResponseResultProjectSearchResult
///
/// Name of the project.
///
+ ///
+ /// Link that opens this project in Descript.
+ ///
///
/// When the project was last modified. This is the
/// field `updated_after` and `updated_before` filter
@@ -78,6 +88,7 @@ public sealed partial class SearchResponseResultProjectSearchResult
public SearchResponseResultProjectSearchResult(
global::System.Guid projectId,
string name,
+ string url,
global::System.DateTime updatedAt,
global::Descript.SearchResponseResultProjectSearchResultType type,
global::Descript.SearchOwner? owner)
@@ -85,6 +96,7 @@ public SearchResponseResultProjectSearchResult(
this.Type = type;
this.ProjectId = projectId;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
+ this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url));
this.Owner = owner;
this.UpdatedAt = updatedAt;
}
diff --git a/src/libs/Descript/openapi.yaml b/src/libs/Descript/openapi.yaml
index a4ed7a8..00f70b1 100644
--- a/src/libs/Descript/openapi.yaml
+++ b/src/libs/Descript/openapi.yaml
@@ -2830,6 +2830,7 @@ components:
- project_id
- name
- updated_at
+ - url
properties:
type:
type: string
@@ -2845,6 +2846,10 @@ components:
name:
type: string
description: Name of the project.
+ url:
+ type: string
+ format: uri
+ description: Link that opens this project in Descript.
owner:
$ref: '#/components/schemas/SearchOwner'
updated_at:
@@ -2865,6 +2870,7 @@ components:
- name
- location
- updated_at
+ - url
properties:
type:
type: string
@@ -2903,6 +2909,20 @@ components:
- media_library
- project
- brand_studio
+ url:
+ type: string
+ format: uri
+ description: |
+ Link that opens this file in Descript. Files
+ inside a project open that project with the file
+ highlighted.
+ thumbnail_url:
+ type: string
+ format: uri
+ description: |
+ Time-limited signed URL of a preview image for
+ video and image files. Omitted for audio and when
+ a thumbnail is unavailable.
owner:
$ref: '#/components/schemas/SearchOwner'
updated_at:
@@ -2925,6 +2945,7 @@ components:
- project_id
- name
- updated_at
+ - url
properties:
type:
type: string
@@ -2938,6 +2959,10 @@ components:
name:
type: string
description: Name of the layout pack.
+ url:
+ type: string
+ format: uri
+ description: Link that opens this layout pack in Descript.
owner:
$ref: '#/components/schemas/SearchOwner'
updated_at:
@@ -2955,6 +2980,7 @@ components:
- folder_id
- name
- updated_at
+ - url
properties:
type:
type: string
@@ -2968,6 +2994,10 @@ components:
name:
type: string
description: Name of the folder.
+ url:
+ type: string
+ format: uri
+ description: Link that opens this project folder in Descript.
owner:
$ref: '#/components/schemas/SearchOwner'
updated_at:
@@ -2986,6 +3016,7 @@ components:
- name
- location
- updated_at
+ - url
properties:
type:
type: string
@@ -3006,6 +3037,12 @@ components:
description: Always `media_library` for a media-library folder.
enum:
- media_library
+ url:
+ type: string
+ format: uri
+ description: |
+ Link that opens this media library folder in
+ Descript.
owner:
$ref: '#/components/schemas/SearchOwner'
updated_at: