diff --git a/src/libs/Descript/Generated/Descript.JsonSerializerContext.g.cs b/src/libs/Descript/Generated/Descript.JsonSerializerContext.g.cs
index a3f23d9..3200bcc 100644
--- a/src/libs/Descript/Generated/Descript.JsonSerializerContext.g.cs
+++ b/src/libs/Descript/Generated/Descript.JsonSerializerContext.g.cs
@@ -132,10 +132,10 @@ namespace Descript
[global::System.Text.Json.Serialization.JsonSerializable(typeof(double))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.EditInDescriptSchemaPostResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.PublishedProjectMetadata))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.PublishedProjectMetadataPublishType), TypeInfoPropertyName = "PublishedProjectMetadataPublishType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.PublishedProjectMetadataPrivacy), TypeInfoPropertyName = "PublishedProjectMetadataPrivacy2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.PublishedProjectMetadataMetadata))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.PublishedProjectMetadataMetadataPublishedBy))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.PublishedProjectError))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.PublishedProjectErrorError), TypeInfoPropertyName = "PublishedProjectErrorError2")]
diff --git a/src/libs/Descript/Generated/Descript.JsonSerializerContextTypes.g.cs b/src/libs/Descript/Generated/Descript.JsonSerializerContextTypes.g.cs
index ade3fb6..feb520f 100644
--- a/src/libs/Descript/Generated/Descript.JsonSerializerContextTypes.g.cs
+++ b/src/libs/Descript/Generated/Descript.JsonSerializerContextTypes.g.cs
@@ -92,19 +92,19 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::Descript.PublishedProjectMetadataPublishType? Type16 { get; set; }
+ public global::System.DateTime? Type16 { get; set; }
///
///
///
- public global::Descript.PublishedProjectMetadataPrivacy? Type17 { get; set; }
+ public global::Descript.PublishedProjectMetadataPublishType? Type17 { get; set; }
///
///
///
- public global::Descript.PublishedProjectMetadataMetadata? Type18 { get; set; }
+ public global::Descript.PublishedProjectMetadataPrivacy? Type18 { get; set; }
///
///
///
- public global::System.DateTime? Type19 { get; set; }
+ public global::Descript.PublishedProjectMetadataMetadata? Type19 { get; set; }
///
///
///
diff --git a/src/libs/Descript/Generated/Descript.Models.PublishedProjectMetadata.g.cs b/src/libs/Descript/Generated/Descript.Models.PublishedProjectMetadata.g.cs
index 76bfb4f..c1b45f2 100644
--- a/src/libs/Descript/Generated/Descript.Models.PublishedProjectMetadata.g.cs
+++ b/src/libs/Descript/Generated/Descript.Models.PublishedProjectMetadata.g.cs
@@ -8,6 +8,22 @@ namespace Descript
///
public sealed partial class PublishedProjectMetadata
{
+ ///
+ /// A time-limited signed URL for downloading the original published media file. See download_url_expires_at for expiration date.
+ /// Example: https://storage.googleapis.com/bucket/file.mp4?X-Goog-Signature=...
+ ///
+ /// https://storage.googleapis.com/bucket/file.mp4?X-Goog-Signature=...
+ [global::System.Text.Json.Serialization.JsonPropertyName("download_url")]
+ public string? DownloadUrl { get; set; }
+
+ ///
+ /// ISO 8601 timestamp indicating when the download_url expires. Present when download_url is present.
+ /// Example: 2025-01-16T10:30:00.000Z
+ ///
+ /// 2025-01-16T10:30:00.000Z
+ [global::System.Text.Json.Serialization.JsonPropertyName("download_url_expires_at")]
+ public global::System.DateTime? DownloadUrlExpiresAt { get; set; }
+
///
/// The unique identifier of the source Descript project
/// Example: 12345678-1234-5678-1234-567812345678
@@ -81,6 +97,14 @@ public sealed partial class PublishedProjectMetadata
/// Full VTT-formatted subtitle/caption content for the published project
/// Example: WEBVTT\n\n00:00:00.000 --> 00:00:02.000\nWelcome to my video
///
+ ///
+ /// A time-limited signed URL for downloading the original published media file. See download_url_expires_at for expiration date.
+ /// Example: https://storage.googleapis.com/bucket/file.mp4?X-Goog-Signature=...
+ ///
+ ///
+ /// ISO 8601 timestamp indicating when the download_url expires. Present when download_url is present.
+ /// Example: 2025-01-16T10:30:00.000Z
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -89,8 +113,12 @@ public PublishedProjectMetadata(
global::Descript.PublishedProjectMetadataPublishType publishType,
global::Descript.PublishedProjectMetadataPrivacy privacy,
global::Descript.PublishedProjectMetadataMetadata metadata,
- string subtitles)
+ string subtitles,
+ string? downloadUrl,
+ global::System.DateTime? downloadUrlExpiresAt)
{
+ this.DownloadUrl = downloadUrl;
+ this.DownloadUrlExpiresAt = downloadUrlExpiresAt;
this.ProjectId = projectId;
this.PublishType = publishType;
this.Privacy = privacy;
diff --git a/src/libs/Descript/openapi.yaml b/src/libs/Descript/openapi.yaml
index 7442b1c..d7ef57a 100644
--- a/src/libs/Descript/openapi.yaml
+++ b/src/libs/Descript/openapi.yaml
@@ -1445,6 +1445,16 @@ components:
type: object
description: Metadata for a successfully published Descript project
properties:
+ download_url:
+ type: string
+ format: uri
+ description: A time-limited signed URL for downloading the original published media file. See download_url_expires_at for expiration date.
+ example: https://storage.googleapis.com/bucket/file.mp4?X-Goog-Signature=...
+ download_url_expires_at:
+ type: string
+ format: date-time
+ description: ISO 8601 timestamp indicating when the download_url expires. Present when download_url is present.
+ example: '2025-01-16T10:30:00.000Z'
project_id:
type: string
format: uuid