From ed2ce7983f60702df428c0e9a6cbc2a4988ce5fc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 12 Oct 2026 20:56:20 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Descript.JsonSerializerContext.g.cs | 1 + .../Descript.JsonSerializerContextTypes.g.cs | 270 +++++++++--------- ...SearchResponseResultMediaSearchResult.g.cs | 19 +- ...nseResultMediaSearchResultMoment.Json.g.cs | 141 +++++++++ ...ResponseResultMediaSearchResultMoment.g.cs | 60 ++++ src/libs/Descript/openapi.yaml | 16 ++ 6 files changed, 373 insertions(+), 134 deletions(-) create mode 100644 src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResultMoment.Json.g.cs create mode 100644 src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResultMoment.g.cs diff --git a/src/libs/Descript/Generated/Descript.JsonSerializerContext.g.cs b/src/libs/Descript/Generated/Descript.JsonSerializerContext.g.cs index 10b84f2..d7ced32 100644 --- a/src/libs/Descript/Generated/Descript.JsonSerializerContext.g.cs +++ b/src/libs/Descript/Generated/Descript.JsonSerializerContext.g.cs @@ -247,6 +247,7 @@ namespace Descript [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.SearchResponseResultMediaSearchResultType), TypeInfoPropertyName = "SearchResponseResultMediaSearchResultType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.SearchResponseResultMediaSearchResultLocation), TypeInfoPropertyName = "SearchResponseResultMediaSearchResultLocation2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.SearchResponseResultMediaSearchResultMoment))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.SearchResponseResultLayoutPackSearchResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.SearchResponseResultLayoutPackSearchResultType), TypeInfoPropertyName = "SearchResponseResultLayoutPackSearchResultType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Descript.SearchResponseResultProjectFolderSearchResult))] diff --git a/src/libs/Descript/Generated/Descript.JsonSerializerContextTypes.g.cs b/src/libs/Descript/Generated/Descript.JsonSerializerContextTypes.g.cs index 0cbc05a..f84324d 100644 --- a/src/libs/Descript/Generated/Descript.JsonSerializerContextTypes.g.cs +++ b/src/libs/Descript/Generated/Descript.JsonSerializerContextTypes.g.cs @@ -101,535 +101,539 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Descript.SearchResponseResultLayoutPackSearchResult? Type17 { get; set; } + public global::Descript.SearchResponseResultMediaSearchResultMoment? Type17 { get; set; } /// /// /// - public global::Descript.SearchResponseResultLayoutPackSearchResultType? Type18 { get; set; } + public global::Descript.SearchResponseResultLayoutPackSearchResult? Type18 { get; set; } /// /// /// - public global::Descript.SearchResponseResultProjectFolderSearchResult? Type19 { get; set; } + public global::Descript.SearchResponseResultLayoutPackSearchResultType? Type19 { get; set; } /// /// /// - public global::Descript.SearchResponseResultProjectFolderSearchResultType? Type20 { get; set; } + public global::Descript.SearchResponseResultProjectFolderSearchResult? Type20 { get; set; } /// /// /// - public global::Descript.SearchResponseResultMediaLibraryFolderSearchResult? Type21 { get; set; } + public global::Descript.SearchResponseResultProjectFolderSearchResultType? Type21 { get; set; } /// /// /// - public global::Descript.SearchResponseResultMediaLibraryFolderSearchResultType? Type22 { get; set; } + public global::Descript.SearchResponseResultMediaLibraryFolderSearchResult? Type22 { get; set; } /// /// /// - public global::Descript.SearchResponseResultMediaLibraryFolderSearchResultLocation? Type23 { get; set; } + public global::Descript.SearchResponseResultMediaLibraryFolderSearchResultType? Type23 { get; set; } /// /// /// - public global::Descript.EditInDescriptSchemaPostBody? Type24 { get; set; } + public global::Descript.SearchResponseResultMediaLibraryFolderSearchResultLocation? Type24 { get; set; } /// /// /// - public global::Descript.EditInDescriptSchemaPostBodyProjectSchema? Type25 { get; set; } + public global::Descript.EditInDescriptSchemaPostBody? Type25 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type26 { get; set; } + public global::Descript.EditInDescriptSchemaPostBodyProjectSchema? Type26 { get; set; } /// /// /// - public global::Descript.EditInDescriptSchemaPostBodyProjectSchemaFile? Type27 { get; set; } + public global::System.Collections.Generic.IList? Type27 { get; set; } /// /// /// - public global::Descript.EditInDescriptSchemaPostBodyProjectSchemaFileStartOffset? Type28 { get; set; } + public global::Descript.EditInDescriptSchemaPostBodyProjectSchemaFile? Type28 { get; set; } /// /// /// - public global::Descript.EditInDescriptSchemaPostResponse? Type29 { get; set; } + public global::Descript.EditInDescriptSchemaPostBodyProjectSchemaFileStartOffset? Type29 { get; set; } /// /// /// - public global::Descript.PublishedProjectMetadata? Type30 { get; set; } + public global::Descript.EditInDescriptSchemaPostResponse? Type30 { get; set; } /// /// /// - public global::Descript.PublishedProjectMetadataPublishType? Type31 { get; set; } + public global::Descript.PublishedProjectMetadata? Type31 { get; set; } /// /// /// - public global::Descript.PublishedProjectMetadataPrivacy? Type32 { get; set; } + public global::Descript.PublishedProjectMetadataPublishType? Type32 { get; set; } /// /// /// - public global::Descript.PublishedProjectMetadataMetadata? Type33 { get; set; } + public global::Descript.PublishedProjectMetadataPrivacy? Type33 { get; set; } /// /// /// - public global::Descript.PublishedProjectMetadataMetadataPublishedBy? Type34 { get; set; } + public global::Descript.PublishedProjectMetadataMetadata? Type34 { get; set; } /// /// /// - public global::Descript.PublishedProjectError? Type35 { get; set; } + public global::Descript.PublishedProjectMetadataMetadataPublishedBy? Type35 { get; set; } /// /// /// - public global::Descript.PublishedProjectErrorError? Type36 { get; set; } + public global::Descript.PublishedProjectError? Type36 { get; set; } /// /// /// - public global::Descript.PublishedProjectPrivateError? Type37 { get; set; } + public global::Descript.PublishedProjectErrorError? Type37 { get; set; } /// /// /// - public global::Descript.PublishedProjectPrivateErrorError? Type38 { get; set; } + public global::Descript.PublishedProjectPrivateError? Type38 { get; set; } /// /// /// - public global::Descript.PublishedProjectForbiddenError? Type39 { get; set; } + public global::Descript.PublishedProjectPrivateErrorError? Type39 { get; set; } /// /// /// - public global::Descript.PublishedProjectForbiddenErrorError? Type40 { get; set; } + public global::Descript.PublishedProjectForbiddenError? Type40 { get; set; } /// /// /// - public global::Descript.PublishedProjectConflictError? Type41 { get; set; } + public global::Descript.PublishedProjectForbiddenErrorError? Type41 { get; set; } /// /// /// - public global::Descript.PublishedProjectConflictErrorError? Type42 { get; set; } + public global::Descript.PublishedProjectConflictError? Type42 { get; set; } /// /// /// - public global::Descript.PublishedProjectConflictErrorState? Type43 { get; set; } + public global::Descript.PublishedProjectConflictErrorError? Type43 { get; set; } /// /// /// - public global::Descript.ImportSuccessResult? Type44 { get; set; } + public global::Descript.PublishedProjectConflictErrorState? Type44 { get; set; } /// /// /// - public global::Descript.ImportSuccessResultStatus? Type45 { get; set; } + public global::Descript.ImportSuccessResult? Type45 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type46 { get; set; } + public global::Descript.ImportSuccessResultStatus? Type46 { get; set; } /// /// /// - public global::Descript.ImportSuccessResultMediaStatus2? Type47 { get; set; } + public global::System.Collections.Generic.Dictionary? Type47 { get; set; } /// /// /// - public global::Descript.ImportSuccessResultMediaStatusStatus? Type48 { get; set; } + public global::Descript.ImportSuccessResultMediaStatus2? Type48 { get; set; } /// /// /// - public float? Type49 { get; set; } + public global::Descript.ImportSuccessResultMediaStatusStatus? Type49 { get; set; } /// /// /// - public int? Type50 { get; set; } + public float? Type50 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type51 { get; set; } + public int? Type51 { get; set; } /// /// /// - public global::Descript.ImportSuccessResultCreatedComposition? Type52 { get; set; } + public global::System.Collections.Generic.IList? Type52 { get; set; } /// /// /// - public global::Descript.ImportErrorResult? Type53 { get; set; } + public global::Descript.ImportSuccessResultCreatedComposition? Type53 { get; set; } /// /// /// - public global::Descript.ImportErrorResultStatus? Type54 { get; set; } + public global::Descript.ImportErrorResult? Type54 { get; set; } /// /// /// - public global::Descript.ImportJobStatus? Type55 { get; set; } + public global::Descript.ImportErrorResultStatus? Type55 { get; set; } /// /// /// - public global::Descript.ImportJobStatusJobType? Type56 { get; set; } + public global::Descript.ImportJobStatus? Type56 { get; set; } /// /// /// - public global::Descript.ImportJobStatusJobState? Type57 { get; set; } + public global::Descript.ImportJobStatusJobType? Type57 { get; set; } /// /// /// - public global::Descript.ImportJobStatusProgress? Type58 { get; set; } + public global::Descript.ImportJobStatusJobState? Type58 { get; set; } /// /// /// - public global::Descript.Result? Type59 { get; set; } + public global::Descript.ImportJobStatusProgress? Type59 { get; set; } /// /// /// - public global::Descript.ImportJobStatusResultDiscriminator? Type60 { get; set; } + public global::Descript.Result? Type60 { get; set; } /// /// /// - public global::Descript.ImportJobStatusResultDiscriminatorStatus? Type61 { get; set; } + public global::Descript.ImportJobStatusResultDiscriminator? Type61 { get; set; } /// /// /// - public global::Descript.AgentSuccessResult? Type62 { get; set; } + public global::Descript.ImportJobStatusResultDiscriminatorStatus? Type62 { get; set; } /// /// /// - public global::Descript.AgentSuccessResultStatus? Type63 { get; set; } + public global::Descript.AgentSuccessResult? Type63 { get; set; } /// /// /// - public bool? Type64 { get; set; } + public global::Descript.AgentSuccessResultStatus? Type64 { get; set; } /// /// /// - public global::Descript.AgentErrorResult? Type65 { get; set; } + public bool? Type65 { get; set; } /// /// /// - public global::Descript.AgentErrorResultStatus? Type66 { get; set; } + public global::Descript.AgentErrorResult? Type66 { get; set; } /// /// /// - public global::Descript.AgentJobStatus? Type67 { get; set; } + public global::Descript.AgentErrorResultStatus? Type67 { get; set; } /// /// /// - public global::Descript.AgentJobStatusJobType? Type68 { get; set; } + public global::Descript.AgentJobStatus? Type68 { get; set; } /// /// /// - public global::Descript.AgentJobStatusJobState? Type69 { get; set; } + public global::Descript.AgentJobStatusJobType? Type69 { get; set; } /// /// /// - public global::Descript.AgentJobStatusProgress? Type70 { get; set; } + public global::Descript.AgentJobStatusJobState? Type70 { get; set; } /// /// /// - public global::Descript.Result2? Type71 { get; set; } + public global::Descript.AgentJobStatusProgress? Type71 { get; set; } /// /// /// - public global::Descript.AgentJobStatusResultDiscriminator? Type72 { get; set; } + public global::Descript.Result2? Type72 { get; set; } /// /// /// - public global::Descript.AgentJobStatusResultDiscriminatorStatus? Type73 { get; set; } + public global::Descript.AgentJobStatusResultDiscriminator? Type73 { get; set; } /// /// /// - public global::Descript.PublishSuccessResult? Type74 { get; set; } + public global::Descript.AgentJobStatusResultDiscriminatorStatus? Type74 { get; set; } /// /// /// - public global::Descript.PublishSuccessResultStatus? Type75 { get; set; } + public global::Descript.PublishSuccessResult? Type75 { get; set; } /// /// /// - public global::Descript.PublishSuccessResultMediaType? Type76 { get; set; } + public global::Descript.PublishSuccessResultStatus? Type76 { get; set; } /// /// /// - public global::Descript.PublishErrorResult? Type77 { get; set; } + public global::Descript.PublishSuccessResultMediaType? Type77 { get; set; } /// /// /// - public global::Descript.PublishErrorResultStatus? Type78 { get; set; } + public global::Descript.PublishErrorResult? Type78 { get; set; } /// /// /// - public global::Descript.PublishJobStatus? Type79 { get; set; } + public global::Descript.PublishErrorResultStatus? Type79 { get; set; } /// /// /// - public global::Descript.PublishJobStatusJobType? Type80 { get; set; } + public global::Descript.PublishJobStatus? Type80 { get; set; } /// /// /// - public global::Descript.PublishJobStatusJobState? Type81 { get; set; } + public global::Descript.PublishJobStatusJobType? Type81 { get; set; } /// /// /// - public global::Descript.PublishJobStatusProgress? Type82 { get; set; } + public global::Descript.PublishJobStatusJobState? Type82 { get; set; } /// /// /// - public global::Descript.Result3? Type83 { get; set; } + public global::Descript.PublishJobStatusProgress? Type83 { get; set; } /// /// /// - public global::Descript.PublishJobStatusResultDiscriminator? Type84 { get; set; } + public global::Descript.Result3? Type84 { get; set; } /// /// /// - public global::Descript.PublishJobStatusResultDiscriminatorStatus? Type85 { get; set; } + public global::Descript.PublishJobStatusResultDiscriminator? Type85 { get; set; } /// /// /// - public global::Descript.JobStatus? Type86 { get; set; } + public global::Descript.PublishJobStatusResultDiscriminatorStatus? Type86 { get; set; } /// /// /// - public global::Descript.JobStatusDiscriminator? Type87 { get; set; } + public global::Descript.JobStatus? Type87 { get; set; } /// /// /// - public global::Descript.JobStatusDiscriminatorJobType? Type88 { get; set; } + public global::Descript.JobStatusDiscriminator? Type88 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequest? Type89 { get; set; } + public global::Descript.JobStatusDiscriminatorJobType? Type89 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequestTeamAccess? Type90 { get; set; } + public global::Descript.ImportProjectMediaRequest? Type90 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequestAddMediaUrlImport? Type91 { get; set; } + public global::Descript.ImportProjectMediaRequestTeamAccess? Type91 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequestAddMediaDirectUpload? Type92 { get; set; } + public global::Descript.ImportProjectMediaRequestAddMediaUrlImport? Type92 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequestAddMediaMultitrackSequence? Type93 { get; set; } + public global::Descript.ImportProjectMediaRequestAddMediaDirectUpload? Type93 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type94 { get; set; } + public global::Descript.ImportProjectMediaRequestAddMediaMultitrackSequence? Type94 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequestAddMediaMultitrackSequenceTrack? Type95 { get; set; } + public global::System.Collections.Generic.IList? Type95 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type96 { get; set; } + public global::Descript.ImportProjectMediaRequestAddMediaMultitrackSequenceTrack? Type96 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequestAddComposition? Type97 { get; set; } + public global::System.Collections.Generic.IList? Type97 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type98 { get; set; } + public global::Descript.ImportProjectMediaRequestAddComposition? Type98 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequestAddCompositionClip? Type99 { get; set; } + public global::System.Collections.Generic.IList? Type99 { get; set; } /// /// /// - public global::Descript.AgentEditJobRequest? Type100 { get; set; } + public global::Descript.ImportProjectMediaRequestAddCompositionClip? Type100 { get; set; } /// /// /// - public global::Descript.AgentEditJobRequestTeamAccess? Type101 { get; set; } + public global::Descript.AgentEditJobRequest? Type101 { get; set; } /// /// /// - public global::Descript.PublishJobRequest? Type102 { get; set; } + public global::Descript.AgentEditJobRequestTeamAccess? Type102 { get; set; } /// /// /// - public global::Descript.PublishJobRequestMediaType? Type103 { get; set; } + public global::Descript.PublishJobRequest? Type103 { get; set; } /// /// /// - public global::Descript.PublishJobRequestResolution? Type104 { get; set; } + public global::Descript.PublishJobRequestMediaType? Type104 { get; set; } /// /// /// - public global::Descript.PublishJobRequestAccessLevel? Type105 { get; set; } + public global::Descript.PublishJobRequestResolution? Type105 { get; set; } /// /// /// - public global::Descript.ExportTranscriptRequest? Type106 { get; set; } + public global::Descript.PublishJobRequestAccessLevel? Type106 { get; set; } /// /// /// - public global::Descript.ExportTranscriptRequestFormat? Type107 { get; set; } + public global::Descript.ExportTranscriptRequest? Type107 { get; set; } /// /// /// - public global::Descript.ExportTranscriptRequestIncludeSpeakerLabels? Type108 { get; set; } + public global::Descript.ExportTranscriptRequestFormat? Type108 { get; set; } /// /// /// - public global::Descript.ExportTranscriptRequestTimecodes? Type109 { get; set; } + public global::Descript.ExportTranscriptRequestIncludeSpeakerLabels? Type109 { get; set; } /// /// /// - public global::Descript.ListJobsType? Type110 { get; set; } + public global::Descript.ExportTranscriptRequestTimecodes? Type110 { get; set; } /// /// /// - public global::Descript.ListProjectsSort? Type111 { get; set; } + public global::Descript.ListJobsType? Type111 { get; set; } /// /// /// - public global::Descript.ListProjectsDirection? Type112 { get; set; } + public global::Descript.ListProjectsSort? Type112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type113 { get; set; } + public global::Descript.ListProjectsDirection? Type113 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type114 { get; set; } + public global::System.Collections.Generic.IList? Type114 { get; set; } /// /// /// - public global::Descript.SearchTypeItem? Type115 { get; set; } + public global::System.Collections.Generic.IList? Type115 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type116 { get; set; } + public global::Descript.SearchTypeItem? Type116 { get; set; } /// /// /// - public global::Descript.SearchMatchItem? Type117 { get; set; } + public global::System.Collections.Generic.IList? Type117 { get; set; } /// /// /// - public global::Descript.SearchSort? Type118 { get; set; } + public global::Descript.SearchMatchItem? Type118 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaResponse? Type119 { get; set; } + public global::Descript.SearchSort? Type119 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type120 { get; set; } + public global::Descript.ImportProjectMediaResponse? Type120 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaResponseUploadUrls2? Type121 { get; set; } + public global::System.Collections.Generic.Dictionary? Type121 { get; set; } /// /// /// - public global::Descript.AgentEditJobResponse? Type122 { get; set; } + public global::Descript.ImportProjectMediaResponseUploadUrls2? Type122 { get; set; } /// /// /// - public global::Descript.ListAgentModelsResponse? Type123 { get; set; } + public global::Descript.AgentEditJobResponse? Type123 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type124 { get; set; } + public global::Descript.ListAgentModelsResponse? Type124 { get; set; } /// /// /// - public global::Descript.ListAgentModelsResponseAvailableModel? Type125 { get; set; } + public global::System.Collections.Generic.IList? Type125 { get; set; } /// /// /// - public global::Descript.ListAgentModelsResponseAvailableModelCost? Type126 { get; set; } + public global::Descript.ListAgentModelsResponseAvailableModel? Type126 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type127 { get; set; } + public global::Descript.ListAgentModelsResponseAvailableModelCost? Type127 { get; set; } /// /// /// - public global::Descript.ListAgentModelsResponseAliase? Type128 { get; set; } + public global::System.Collections.Generic.IList? Type128 { get; set; } /// /// /// - public global::Descript.ListAgentModelsResponseAliaseCost? Type129 { get; set; } + public global::Descript.ListAgentModelsResponseAliase? Type129 { get; set; } /// /// /// - public global::Descript.PublishJobResponse? Type130 { get; set; } + public global::Descript.ListAgentModelsResponseAliaseCost? Type130 { get; set; } /// /// /// - public byte[]? Type131 { get; set; } + public global::Descript.PublishJobResponse? Type131 { get; set; } /// /// /// - public global::Descript.ListJobsResponse? Type132 { get; set; } + public byte[]? Type132 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type133 { get; set; } + public global::Descript.ListJobsResponse? Type133 { get; set; } /// /// /// - public global::Descript.ListJobsResponsePagination? Type134 { get; set; } + public global::System.Collections.Generic.IList? Type134 { get; set; } /// /// /// - public global::Descript.ListProjectsResponse? Type135 { get; set; } + public global::Descript.ListJobsResponsePagination? Type135 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type136 { get; set; } + public global::Descript.ListProjectsResponse? Type136 { get; set; } /// /// /// - public global::Descript.ListProjectsResponseDataItem? Type137 { get; set; } + public global::System.Collections.Generic.IList? Type137 { get; set; } /// /// /// - public global::Descript.ListProjectsResponsePagination? Type138 { get; set; } + public global::Descript.ListProjectsResponseDataItem? Type138 { get; set; } /// /// /// - public global::Descript.GetProjectResponse? Type139 { get; set; } + public global::Descript.ListProjectsResponsePagination? Type139 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type140 { get; set; } + public global::Descript.GetProjectResponse? Type140 { get; set; } /// /// /// - public global::Descript.GetProjectResponseMediaFiles2? Type141 { get; set; } + public global::System.Collections.Generic.Dictionary? Type141 { get; set; } /// /// /// - public global::Descript.GetProjectResponseMediaFilesType? Type142 { get; set; } + public global::Descript.GetProjectResponseMediaFiles2? Type142 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type143 { get; set; } + public global::Descript.GetProjectResponseMediaFilesType? Type143 { get; set; } /// /// /// - public global::Descript.GetProjectResponseComposition? Type144 { get; set; } + public global::System.Collections.Generic.IList? Type144 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type145 { get; set; } + public global::Descript.GetProjectResponseComposition? Type145 { get; set; } /// /// /// - public global::Descript.GetProjectResponsePublishe? Type146 { get; set; } + public global::System.Collections.Generic.IList? Type146 { get; set; } /// /// /// - public global::Descript.GetProjectResponsePublisheAccessLevel? Type147 { get; set; } + public global::Descript.GetProjectResponsePublishe? Type147 { get; set; } /// /// /// - public global::Descript.GetProjectResponsePublisheMediaType? Type148 { get; set; } + public global::Descript.GetProjectResponsePublisheAccessLevel? Type148 { get; set; } /// /// /// - public global::Descript.GetStatusResponse? Type149 { get; set; } + public global::Descript.GetProjectResponsePublisheMediaType? Type149 { get; set; } + /// + /// + /// + public global::Descript.GetStatusResponse? Type150 { get; set; } /// /// diff --git a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResult.g.cs b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResult.g.cs index 8caa6aa..71c01f4 100644 --- a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResult.g.cs +++ b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResult.g.cs @@ -94,6 +94,15 @@ public sealed partial class SearchResponseResultMediaSearchResult [global::System.Text.Json.Serialization.JsonPropertyName("duration")] public double? Duration { get; set; } + /// + /// The time range of the best match for a visual search.
+ /// Present only on visual video matches. The time range is
+ /// represented by `start_time_sec` and `end_time_sec`, in seconds.
+ /// Omitted for images, and non-visual searches. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("moment")] + public global::Descript.SearchResponseResultMediaSearchResultMoment? Moment { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -147,6 +156,12 @@ public sealed partial class SearchResponseResultMediaSearchResult /// Playback length of the file in seconds. Omitted
/// for images and for files with no duration. /// + /// + /// The time range of the best match for a visual search.
+ /// Present only on visual video matches. The time range is
+ /// represented by `start_time_sec` and `end_time_sec`, in seconds.
+ /// Omitted for images, and non-visual searches. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -161,7 +176,8 @@ public SearchResponseResultMediaSearchResult( global::System.Guid? brandStudioId, string? thumbnailUrl, global::Descript.SearchOwner? owner, - double? duration) + double? duration, + global::Descript.SearchResponseResultMediaSearchResultMoment? moment) { this.Type = type; this.AssetId = assetId; @@ -174,6 +190,7 @@ public SearchResponseResultMediaSearchResult( this.Owner = owner; this.UpdatedAt = updatedAt; this.Duration = duration; + this.Moment = moment; } /// diff --git a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResultMoment.Json.g.cs b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResultMoment.Json.g.cs new file mode 100644 index 0000000..4b7a439 --- /dev/null +++ b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResultMoment.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Descript +{ + public sealed partial class SearchResponseResultMediaSearchResultMoment + { + /// + /// 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::Descript.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::Descript.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Descript.SearchResponseResultMediaSearchResultMoment? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Descript.SearchResponseResultMediaSearchResultMoment), + jsonSerializerContext) as global::Descript.SearchResponseResultMediaSearchResultMoment; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Descript.SearchResponseResultMediaSearchResultMoment? FromJson( + string json) + { + return FromJson( + json, + global::Descript.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::Descript.SearchResponseResultMediaSearchResultMoment? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Descript.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::Descript.SearchResponseResultMediaSearchResultMoment), + jsonSerializerContext).ConfigureAwait(false)) as global::Descript.SearchResponseResultMediaSearchResultMoment; + } + + /// + /// 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::Descript.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::Descript.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResultMoment.g.cs b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResultMoment.g.cs new file mode 100644 index 0000000..96786ae --- /dev/null +++ b/src/libs/Descript/Generated/Descript.Models.SearchResponseResultMediaSearchResultMoment.g.cs @@ -0,0 +1,60 @@ + +#nullable enable + +namespace Descript +{ + /// + /// The time range of the best match for a visual search.
+ /// Present only on visual video matches. The time range is
+ /// represented by `start_time_sec` and `end_time_sec`, in seconds.
+ /// Omitted for images, and non-visual searches. + ///
+ public sealed partial class SearchResponseResultMediaSearchResultMoment + { + /// + /// Start of the matched time range, in seconds. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_time_sec")] + public double? StartTimeSec { get; set; } + + /// + /// End of the matched time range, in seconds. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("end_time_sec")] + public double? EndTimeSec { 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. + /// + /// + /// Start of the matched time range, in seconds. + /// + /// + /// End of the matched time range, in seconds. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SearchResponseResultMediaSearchResultMoment( + double? startTimeSec, + double? endTimeSec) + { + this.StartTimeSec = startTimeSec; + this.EndTimeSec = endTimeSec; + } + + /// + /// Initializes a new instance of the class. + /// + public SearchResponseResultMediaSearchResultMoment() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Descript/openapi.yaml b/src/libs/Descript/openapi.yaml index a940bd9..2b2a8f6 100644 --- a/src/libs/Descript/openapi.yaml +++ b/src/libs/Descript/openapi.yaml @@ -3182,6 +3182,22 @@ components: description: | Playback length of the file in seconds. Omitted for images and for files with no duration. + moment: + type: object + description: | + The time range of the best match for a visual search. + Present only on visual video matches. The time range is + represented by `start_time_sec` and `end_time_sec`, in seconds. + Omitted for images, and non-visual searches. + properties: + start_time_sec: + type: number + description: | + Start of the matched time range, in seconds. + end_time_sec: + type: number + description: | + End of the matched time range, in seconds. - type: object title: Layout pack search result description: A layout pack matched.