diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ExportClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ExportClient.Create.g.cs index d4ea518f..927ab436 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ExportClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ExportClient.Create.g.cs @@ -45,7 +45,7 @@ partial void ProcessCreateResponseContent( /// /// Create new export snapshot
- /// Create a new export request to start a background task and generate an export file for a specific project by ID. + /// Create a new export request to start a background task and generate an export file for a specific project by ID. Optional `since` / `until` limit the snapshot to tasks with `updated_at` in the half-open window `[since, until)`. `since` must be in the past; an omitted or later `until` becomes create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS. Set `ephemeral=true` to omit the snapshot from list endpoints. On deployments that run the RQ cron scheduler (SaaS; on-prem with `rqcron.enabled`), ephemeral exports older than EPHEMERAL_EXPORT_TTL_HOURS (default 24) are deleted by a daily low-queue sweep; otherwise they remain unlisted until explicitly deleted. Use the resolved `until` from the response as `since` on the next incremental create. Task deletions are not represented in incremental snapshots (only surviving tasks with bumped `updated_at`). Rows committed after the export query starts but stamped with `updated_at` before `until` can fall outside both consecutive windows; the default `until` lag mitigates long transactions. ///
/// /// @@ -71,7 +71,7 @@ partial void ProcessCreateResponseContent( } /// /// Create new export snapshot
- /// Create a new export request to start a background task and generate an export file for a specific project by ID. + /// Create a new export request to start a background task and generate an export file for a specific project by ID. Optional `since` / `until` limit the snapshot to tasks with `updated_at` in the half-open window `[since, until)`. `since` must be in the past; an omitted or later `until` becomes create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS. Set `ephemeral=true` to omit the snapshot from list endpoints. On deployments that run the RQ cron scheduler (SaaS; on-prem with `rqcron.enabled`), ephemeral exports older than EPHEMERAL_EXPORT_TTL_HOURS (default 24) are deleted by a daily low-queue sweep; otherwise they remain unlisted until explicitly deleted. Use the resolved `until` from the response as `since` on the next incremental create. Task deletions are not represented in incremental snapshots (only surviving tasks with bumped `updated_at`). Rows committed after the export query starts but stamped with `updated_at` before `until` can fall outside both consecutive windows; the default `until` lag mitigates long transactions. ///
/// /// @@ -444,7 +444,7 @@ partial void ProcessCreateResponseContent( } /// /// Create new export snapshot
- /// Create a new export request to start a background task and generate an export file for a specific project by ID. + /// Create a new export request to start a background task and generate an export file for a specific project by ID. Optional `since` / `until` limit the snapshot to tasks with `updated_at` in the half-open window `[since, until)`. `since` must be in the past; an omitted or later `until` becomes create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS. Set `ephemeral=true` to omit the snapshot from list endpoints. On deployments that run the RQ cron scheduler (SaaS; on-prem with `rqcron.enabled`), ephemeral exports older than EPHEMERAL_EXPORT_TTL_HOURS (default 24) are deleted by a daily low-queue sweep; otherwise they remain unlisted until explicitly deleted. Use the resolved `until` from the response as `since` on the next incremental create. Task deletions are not represented in incremental snapshots (only surviving tasks with bumped `updated_at`). Rows committed after the export query starts but stamped with `updated_at` before `until` can fall outside both consecutive windows; the default `until` lag mitigates long transactions. ///
/// /// @@ -456,14 +456,24 @@ partial void ProcessCreateResponseContent( /// control which fields are displayed, and whether to replace simple
/// values with complex, nested serializations /// + /// + /// When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly.
+ /// Default Value: false + /// /// /// Complete or fail time /// /// /// + /// + /// Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until). + /// /// /// /// + /// + /// Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -473,12 +483,15 @@ partial void ProcessCreateResponseContent( global::System.Collections.Generic.IList? convertedFormats = default, object? counters = default, global::LabelStudio.UserSimpleRequest? createdBy = default, + bool? ephemeral = default, global::System.DateTime? finishedAt = default, string? md5 = default, global::LabelStudio.SerializationOptionsRequest? serializationOptions = default, + global::System.DateTime? since = default, global::LabelStudio.ProjectImportStatusEnum? status = default, global::LabelStudio.LseTaskFilterOptionsRequest? taskFilterOptions = default, string? title = default, + global::System.DateTime? until = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -488,12 +501,15 @@ partial void ProcessCreateResponseContent( ConvertedFormats = convertedFormats, Counters = counters, CreatedBy = createdBy, + Ephemeral = ephemeral, FinishedAt = finishedAt, Md5 = md5, SerializationOptions = serializationOptions, + Since = since, Status = status, TaskFilterOptions = taskFilterOptions, Title = title, + Until = until, }; return await CreateAsync( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IExportClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IExportClient.Create.g.cs index 5791ac2d..5e05eef8 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IExportClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IExportClient.Create.g.cs @@ -6,7 +6,7 @@ public partial interface IExportClient { /// /// Create new export snapshot
- /// Create a new export request to start a background task and generate an export file for a specific project by ID. + /// Create a new export request to start a background task and generate an export file for a specific project by ID. Optional `since` / `until` limit the snapshot to tasks with `updated_at` in the half-open window `[since, until)`. `since` must be in the past; an omitted or later `until` becomes create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS. Set `ephemeral=true` to omit the snapshot from list endpoints. On deployments that run the RQ cron scheduler (SaaS; on-prem with `rqcron.enabled`), ephemeral exports older than EPHEMERAL_EXPORT_TTL_HOURS (default 24) are deleted by a daily low-queue sweep; otherwise they remain unlisted until explicitly deleted. Use the resolved `until` from the response as `since` on the next incremental create. Task deletions are not represented in incremental snapshots (only surviving tasks with bumped `updated_at`). Rows committed after the export query starts but stamped with `updated_at` before `until` can fall outside both consecutive windows; the default `until` lag mitigates long transactions. ///
/// /// @@ -21,7 +21,7 @@ public partial interface IExportClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Create new export snapshot
- /// Create a new export request to start a background task and generate an export file for a specific project by ID. + /// Create a new export request to start a background task and generate an export file for a specific project by ID. Optional `since` / `until` limit the snapshot to tasks with `updated_at` in the half-open window `[since, until)`. `since` must be in the past; an omitted or later `until` becomes create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS. Set `ephemeral=true` to omit the snapshot from list endpoints. On deployments that run the RQ cron scheduler (SaaS; on-prem with `rqcron.enabled`), ephemeral exports older than EPHEMERAL_EXPORT_TTL_HOURS (default 24) are deleted by a daily low-queue sweep; otherwise they remain unlisted until explicitly deleted. Use the resolved `until` from the response as `since` on the next incremental create. Task deletions are not represented in incremental snapshots (only surviving tasks with bumped `updated_at`). Rows committed after the export query starts but stamped with `updated_at` before `until` can fall outside both consecutive windows; the default `until` lag mitigates long transactions. ///
/// /// @@ -36,7 +36,7 @@ public partial interface IExportClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Create new export snapshot
- /// Create a new export request to start a background task and generate an export file for a specific project by ID. + /// Create a new export request to start a background task and generate an export file for a specific project by ID. Optional `since` / `until` limit the snapshot to tasks with `updated_at` in the half-open window `[since, until)`. `since` must be in the past; an omitted or later `until` becomes create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS. Set `ephemeral=true` to omit the snapshot from list endpoints. On deployments that run the RQ cron scheduler (SaaS; on-prem with `rqcron.enabled`), ephemeral exports older than EPHEMERAL_EXPORT_TTL_HOURS (default 24) are deleted by a daily low-queue sweep; otherwise they remain unlisted until explicitly deleted. Use the resolved `until` from the response as `since` on the next incremental create. Task deletions are not represented in incremental snapshots (only surviving tasks with bumped `updated_at`). Rows committed after the export query starts but stamped with `updated_at` before `until` can fall outside both consecutive windows; the default `until` lag mitigates long transactions. ///
/// /// @@ -48,14 +48,24 @@ public partial interface IExportClient /// control which fields are displayed, and whether to replace simple
/// values with complex, nested serializations /// + /// + /// When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly.
+ /// Default Value: false + /// /// /// Complete or fail time /// /// /// + /// + /// Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until). + /// /// /// /// + /// + /// Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -65,12 +75,15 @@ public partial interface IExportClient global::System.Collections.Generic.IList? convertedFormats = default, object? counters = default, global::LabelStudio.UserSimpleRequest? createdBy = default, + bool? ephemeral = default, global::System.DateTime? finishedAt = default, string? md5 = default, global::LabelStudio.SerializationOptionsRequest? serializationOptions = default, + global::System.DateTime? since = default, global::LabelStudio.ProjectImportStatusEnum? status = default, global::LabelStudio.LseTaskFilterOptionsRequest? taskFilterOptions = default, string? title = default, + global::System.DateTime? until = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs index 016d926a..f6ec8219 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs @@ -415,6 +415,7 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MLInteractiveAnnotatingRequestRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MappingStatusEnum), TypeInfoPropertyName = "MappingStatusEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MaybeExpandedComment), TypeInfoPropertyName = "MaybeExpandedComment2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MemberSkillStatusEnum), TypeInfoPropertyName = "MemberSkillStatusEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MetricParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MetricParamUpdateRequest))] @@ -514,7 +515,6 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAnalyticsViewRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAnnotationRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAnnotationReviewRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -536,6 +536,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ListListDouble_System_Collections_Generic_List_global_System_Collections_Generic_List_double")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ListListDouble_System_Collections_Generic_List_global_System_Collections_Generic_List_double_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAzureServicePrincipalExportStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAzureServicePrincipalImportStorageRequest))] @@ -563,7 +564,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLseInterfaceRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLseOrganizationSerializerUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLseProjectUpdateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLseProjectUpdateRequestDmColumnDefaults))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLseProjectUpdateRequestDmColumnDefaultsExplore))] @@ -1105,6 +1105,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -1132,7 +1133,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs index 6c9b4467..472fd39c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs @@ -1570,515 +1570,515 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::LabelStudio.MemberSkillStatusEnum? Type383 { get; set; } + public global::System.Collections.Generic.IList>? Type383 { get; set; } /// /// /// - public global::LabelStudio.MetricParam? Type384 { get; set; } + public global::LabelStudio.MemberSkillStatusEnum? Type384 { get; set; } /// /// /// - public global::LabelStudio.MetricParamUpdateRequest? Type385 { get; set; } + public global::LabelStudio.MetricParam? Type385 { get; set; } /// /// /// - public global::LabelStudio.ModelInterface? Type386 { get; set; } + public global::LabelStudio.MetricParamUpdateRequest? Type386 { get; set; } /// /// /// - public global::LabelStudio.SkillNameEnum? Type387 { get; set; } + public global::LabelStudio.ModelInterface? Type387 { get; set; } /// /// /// - public global::LabelStudio.ModelInterfaceRequest? Type388 { get; set; } + public global::LabelStudio.SkillNameEnum? Type388 { get; set; } /// /// /// - public global::LabelStudio.ModelInterfaceSerializerGET? Type389 { get; set; } + public global::LabelStudio.ModelInterfaceRequest? Type389 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type390 { get; set; } + public global::LabelStudio.ModelInterfaceSerializerGET? Type390 { get; set; } /// /// /// - public global::LabelStudio.ModelProviderConnection? Type391 { get; set; } + public global::System.Collections.Generic.IList? Type391 { get; set; } /// /// /// - public global::LabelStudio.ProviderEnum? Type392 { get; set; } + public global::LabelStudio.ModelProviderConnection? Type392 { get; set; } /// /// /// - public global::LabelStudio.ScopeEnum? Type393 { get; set; } + public global::LabelStudio.ProviderEnum? Type393 { get; set; } /// /// /// - public global::LabelStudio.ModelProviderConnectionRequest? Type394 { get; set; } + public global::LabelStudio.ScopeEnum? Type394 { get; set; } /// /// /// - public global::LabelStudio.ModelRun? Type395 { get; set; } + public global::LabelStudio.ModelProviderConnectionRequest? Type395 { get; set; } /// /// /// - public global::LabelStudio.ProjectSubsetEnum? Type396 { get; set; } + public global::LabelStudio.ModelRun? Type396 { get; set; } /// /// /// - public global::LabelStudio.ModelRunStatusEnum? Type397 { get; set; } + public global::LabelStudio.ProjectSubsetEnum? Type397 { get; set; } /// /// /// - public global::LabelStudio.ModelRunRequestRequest? Type398 { get; set; } + public global::LabelStudio.ModelRunStatusEnum? Type398 { get; set; } /// /// /// - public global::LabelStudio.OperatorEnum? Type399 { get; set; } + public global::LabelStudio.ModelRunRequestRequest? Type399 { get; set; } /// /// /// - public global::LabelStudio.OrganizationId? Type400 { get; set; } + public global::LabelStudio.OperatorEnum? Type400 { get; set; } /// /// /// - public global::LabelStudio.OrganizationInvite? Type401 { get; set; } + public global::LabelStudio.OrganizationId? Type401 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMember? Type402 { get; set; } + public global::LabelStudio.OrganizationInvite? Type402 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type403 { get; set; } + public global::LabelStudio.OrganizationMember? Type403 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberContributedToProject? Type404 { get; set; } + public global::System.Collections.Generic.IList? Type404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type405 { get; set; } + public global::LabelStudio.OrganizationMemberContributedToProject? Type405 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberCreatedProject? Type406 { get; set; } + public global::System.Collections.Generic.IList? Type406 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberFilterRequestRequest? Type407 { get; set; } + public global::LabelStudio.OrganizationMemberCreatedProject? Type407 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberFilterSchema? Type408 { get; set; } + public global::LabelStudio.OrganizationMemberFilterRequestRequest? Type408 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberMembershipOption? Type409 { get; set; } + public global::LabelStudio.OrganizationMemberFilterSchema? Type409 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberMembershipOptionKindEnum? Type410 { get; set; } + public global::LabelStudio.OrganizationMemberMembershipOption? Type410 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type411 { get; set; } + public global::LabelStudio.OrganizationMemberMembershipOptionKindEnum? Type411 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberMembershipProjectOption? Type412 { get; set; } + public global::System.Collections.Generic.IList? Type412 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberMembershipProjectOptionKindEnum? Type413 { get; set; } + public global::LabelStudio.OrganizationMemberMembershipProjectOption? Type413 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberSkillsOption? Type414 { get; set; } + public global::LabelStudio.OrganizationMemberMembershipProjectOptionKindEnum? Type414 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTag? Type415 { get; set; } + public global::LabelStudio.OrganizationMemberSkillsOption? Type415 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagBulkCreateRequest? Type416 { get; set; } + public global::LabelStudio.OrganizationMemberTag? Type416 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagImportCreateRequest? Type417 { get; set; } + public global::LabelStudio.OrganizationMemberTagBulkCreateRequest? Type417 { get; set; } /// /// /// - public byte[]? Type418 { get; set; } + public global::LabelStudio.OrganizationMemberTagImportCreateRequest? Type418 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagImportStatus? Type419 { get; set; } + public byte[]? Type419 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagImportStatusStatusEnum? Type420 { get; set; } + public global::LabelStudio.OrganizationMemberTagImportStatus? Type420 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagRequest? Type421 { get; set; } + public global::LabelStudio.OrganizationMemberTagImportStatusStatusEnum? Type421 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMembershipRequest? Type422 { get; set; } + public global::LabelStudio.OrganizationMemberTagRequest? Type422 { get; set; } /// /// /// - public global::LabelStudio.OrganizationPermission? Type423 { get; set; } + public global::LabelStudio.OrganizationMembershipRequest? Type423 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type424 { get; set; } + public global::LabelStudio.OrganizationPermission? Type424 { get; set; } /// /// /// - public global::LabelStudio.OrganizationPermissionRoleEnum? Type425 { get; set; } + public global::System.Collections.Generic.IList? Type425 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type426 { get; set; } + public global::LabelStudio.OrganizationPermissionRoleEnum? Type426 { get; set; } /// /// /// - public global::LabelStudio.OrganizationPermissionRequest? Type427 { get; set; } + public global::System.Collections.Generic.IList? Type427 { get; set; } /// /// /// - public global::LabelStudio.OrganizationRoleAssignment? Type428 { get; set; } + public global::LabelStudio.OrganizationPermissionRequest? Type428 { get; set; } /// /// /// - public global::LabelStudio.PaginatedAllRolesProjectListList? Type429 { get; set; } + public global::LabelStudio.OrganizationRoleAssignment? Type429 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type430 { get; set; } + public global::LabelStudio.PaginatedAllRolesProjectListList? Type430 { get; set; } /// /// /// - public global::LabelStudio.PaginatedAnnotationHistoryList? Type431 { get; set; } + public global::System.Collections.Generic.IList? Type431 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type432 { get; set; } + public global::LabelStudio.PaginatedAnnotationHistoryList? Type432 { get; set; } /// /// /// - public global::LabelStudio.PaginatedCertificateList? Type433 { get; set; } + public global::System.Collections.Generic.IList? Type433 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type434 { get; set; } + public global::LabelStudio.PaginatedCertificateList? Type434 { get; set; } /// /// /// - public global::LabelStudio.PaginatedCourseModuleList? Type435 { get; set; } + public global::System.Collections.Generic.IList? Type435 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLabelCreateList? Type436 { get; set; } + public global::LabelStudio.PaginatedCourseModuleList? Type436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type437 { get; set; } + public global::LabelStudio.PaginatedLabelCreateList? Type437 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLabelLinkList? Type438 { get; set; } + public global::System.Collections.Generic.IList? Type438 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type439 { get; set; } + public global::LabelStudio.PaginatedLabelLinkList? Type439 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLabelList? Type440 { get; set; } + public global::System.Collections.Generic.IList? Type440 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type441 { get; set; } + public global::LabelStudio.PaginatedLabelList? Type441 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLearningResourceListList? Type442 { get; set; } + public global::System.Collections.Generic.IList? Type442 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type443 { get; set; } + public global::LabelStudio.PaginatedLearningResourceListList? Type443 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLseInterfaceListList? Type444 { get; set; } + public global::System.Collections.Generic.IList? Type444 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type445 { get; set; } + public global::LabelStudio.PaginatedLseInterfaceListList? Type445 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLseOrganizationMemberListList? Type446 { get; set; } + public global::System.Collections.Generic.IList? Type446 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type447 { get; set; } + public global::LabelStudio.PaginatedLseOrganizationMemberListList? Type447 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLseProjectCountsList? Type448 { get; set; } + public global::System.Collections.Generic.IList? Type448 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type449 { get; set; } + public global::LabelStudio.PaginatedLseProjectCountsList? Type449 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLseUserList? Type450 { get; set; } + public global::System.Collections.Generic.IList? Type450 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type451 { get; set; } + public global::LabelStudio.PaginatedLseUserList? Type451 { get; set; } /// /// /// - public global::LabelStudio.PaginatedModelInterfaceSerializerGETList? Type452 { get; set; } + public global::System.Collections.Generic.IList? Type452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type453 { get; set; } + public global::LabelStudio.PaginatedModelInterfaceSerializerGETList? Type453 { get; set; } /// /// /// - public global::LabelStudio.PaginatedOrganizationMemberTagList? Type454 { get; set; } + public global::System.Collections.Generic.IList? Type454 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type455 { get; set; } + public global::LabelStudio.PaginatedOrganizationMemberTagList? Type455 { get; set; } /// /// /// - public global::LabelStudio.PaginatedPaginatedProjectMemberList? Type456 { get; set; } + public global::System.Collections.Generic.IList? Type456 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type457 { get; set; } + public global::LabelStudio.PaginatedPaginatedProjectMemberList? Type457 { get; set; } /// /// /// - public global::LabelStudio.PaginatedProjectMember? Type458 { get; set; } + public global::System.Collections.Generic.IList? Type458 { get; set; } /// /// /// - public global::LabelStudio.PaginatedProjectImportListList? Type459 { get; set; } + public global::LabelStudio.PaginatedProjectMember? Type459 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type460 { get; set; } + public global::LabelStudio.PaginatedProjectImportListList? Type460 { get; set; } /// /// /// - public global::LabelStudio.ProjectImportList? Type461 { get; set; } + public global::System.Collections.Generic.IList? Type461 { get; set; } /// /// /// - public global::LabelStudio.PaginatedProjectReimportListList? Type462 { get; set; } + public global::LabelStudio.ProjectImportList? Type462 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type463 { get; set; } + public global::LabelStudio.PaginatedProjectReimportListList? Type463 { get; set; } /// /// /// - public global::LabelStudio.ProjectReimportList? Type464 { get; set; } + public global::System.Collections.Generic.IList? Type464 { get; set; } /// /// /// - public global::LabelStudio.PaginatedProjectSubsetTasksResponseList? Type465 { get; set; } + public global::LabelStudio.ProjectReimportList? Type465 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type466 { get; set; } + public global::LabelStudio.PaginatedProjectSubsetTasksResponseList? Type466 { get; set; } /// /// /// - public global::LabelStudio.ProjectSubsetTasksResponse? Type467 { get; set; } + public global::System.Collections.Generic.IList? Type467 { get; set; } /// /// /// - public global::LabelStudio.PaginatedRoleBasedTaskList? Type468 { get; set; } + public global::LabelStudio.ProjectSubsetTasksResponse? Type468 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type469 { get; set; } + public global::LabelStudio.PaginatedRoleBasedTaskList? Type469 { get; set; } /// /// /// - public global::LabelStudio.RoleBasedTask? Type470 { get; set; } + public global::System.Collections.Generic.IList? Type470 { get; set; } /// /// /// - public global::LabelStudio.PaginatedSeatReportList? Type471 { get; set; } + public global::LabelStudio.RoleBasedTask? Type471 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type472 { get; set; } + public global::LabelStudio.PaginatedSeatReportList? Type472 { get; set; } /// /// /// - public global::LabelStudio.SeatReport? Type473 { get; set; } + public global::System.Collections.Generic.IList? Type473 { get; set; } /// /// /// - public global::LabelStudio.PaginatedStateModelList? Type474 { get; set; } + public global::LabelStudio.SeatReport? Type474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type475 { get; set; } + public global::LabelStudio.PaginatedStateModelList? Type475 { get; set; } /// /// /// - public global::LabelStudio.PaginatedUserLearningProgressListList? Type476 { get; set; } + public global::System.Collections.Generic.IList? Type476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type477 { get; set; } + public global::LabelStudio.PaginatedUserLearningProgressListList? Type477 { get; set; } /// /// /// - public global::LabelStudio.UserLearningProgressList? Type478 { get; set; } + public global::System.Collections.Generic.IList? Type478 { get; set; } /// /// /// - public global::LabelStudio.PatchedAnalyticsViewRequest? Type479 { get; set; } + public global::LabelStudio.UserLearningProgressList? Type479 { get; set; } /// /// /// - public global::LabelStudio.PatchedAnnotationRequest? Type480 { get; set; } + public global::LabelStudio.PatchedAnalyticsViewRequest? Type480 { get; set; } /// /// /// - public global::LabelStudio.PatchedAnnotationReviewRequest? Type481 { get; set; } + public global::LabelStudio.PatchedAnnotationRequest? Type481 { get; set; } /// /// /// - public global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest? Type482 { get; set; } + public global::LabelStudio.PatchedAnnotationReviewRequest? Type482 { get; set; } /// /// /// - public global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest? Type483 { get; set; } + public global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest? Type483 { get; set; } /// /// /// - public global::LabelStudio.PatchedAzureServicePrincipalExportStorageRequest? Type484 { get; set; } + public global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest? Type484 { get; set; } /// /// /// - public global::LabelStudio.PatchedAzureServicePrincipalImportStorageRequest? Type485 { get; set; } + public global::LabelStudio.PatchedAzureServicePrincipalExportStorageRequest? Type485 { get; set; } /// /// /// - public global::LabelStudio.PatchedBlueprintUpdateRequest? Type486 { get; set; } + public global::LabelStudio.PatchedAzureServicePrincipalImportStorageRequest? Type486 { get; set; } /// /// /// - public global::LabelStudio.PatchedCommentRequest? Type487 { get; set; } + public global::LabelStudio.PatchedBlueprintUpdateRequest? Type487 { get; set; } /// /// /// - public global::LabelStudio.PatchedCoursePageUpdateRequest? Type488 { get; set; } + public global::LabelStudio.PatchedCommentRequest? Type488 { get; set; } /// /// /// - public global::LabelStudio.PatchedDatabricksExportStorageWriteRequest? Type489 { get; set; } + public global::LabelStudio.PatchedCoursePageUpdateRequest? Type489 { get; set; } /// /// /// - public global::LabelStudio.PatchedDatabricksImportStorageWriteRequest? Type490 { get; set; } + public global::LabelStudio.PatchedDatabricksExportStorageWriteRequest? Type490 { get; set; } /// /// /// - public global::LabelStudio.PatchedDefaultRoleRequest? Type491 { get; set; } + public global::LabelStudio.PatchedDatabricksImportStorageWriteRequest? Type491 { get; set; } /// /// /// - public global::LabelStudio.PatchedDimensionRequest? Type492 { get; set; } + public global::LabelStudio.PatchedDefaultRoleRequest? Type492 { get; set; } /// /// /// - public global::LabelStudio.PatchedFewShotExampleRequest? Type493 { get; set; } + public global::LabelStudio.PatchedDimensionRequest? Type493 { get; set; } /// /// /// - public global::LabelStudio.PatchedFileUploadRequest? Type494 { get; set; } + public global::LabelStudio.PatchedFewShotExampleRequest? Type494 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSExportStorageWriteRequest? Type495 { get; set; } + public global::LabelStudio.PatchedFileUploadRequest? Type495 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSImportStorageWriteRequest? Type496 { get; set; } + public global::LabelStudio.PatchedGCSExportStorageWriteRequest? Type496 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSSAExportStorageRequest? Type497 { get; set; } + public global::LabelStudio.PatchedGCSImportStorageWriteRequest? Type497 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSSAImportStorageRequest? Type498 { get; set; } + public global::LabelStudio.PatchedGCSSAExportStorageRequest? Type498 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSWIFExportStorageRequest? Type499 { get; set; } + public global::LabelStudio.PatchedGCSSAImportStorageRequest? Type499 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSWIFImportStorageRequest? Type500 { get; set; } + public global::LabelStudio.PatchedGCSWIFExportStorageRequest? Type500 { get; set; } /// /// /// - public global::LabelStudio.PatchedHotkeysRequest? Type501 { get; set; } + public global::LabelStudio.PatchedGCSWIFImportStorageRequest? Type501 { get; set; } /// /// /// - public global::LabelStudio.PatchedLabelLinkRequest? Type502 { get; set; } + public global::LabelStudio.PatchedHotkeysRequest? Type502 { get; set; } /// /// /// - public global::LabelStudio.PatchedLabelRequest? Type503 { get; set; } + public global::LabelStudio.PatchedLabelLinkRequest? Type503 { get; set; } /// /// /// - public global::LabelStudio.PatchedLearningResourceRequest? Type504 { get; set; } + public global::LabelStudio.PatchedLabelRequest? Type504 { get; set; } /// /// /// - public global::LabelStudio.PatchedLearningResourceUpdateRequest? Type505 { get; set; } + public global::LabelStudio.PatchedLearningResourceRequest? Type505 { get; set; } /// /// /// - public global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest? Type506 { get; set; } + public global::LabelStudio.PatchedLearningResourceUpdateRequest? Type506 { get; set; } /// /// /// - public global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest? Type507 { get; set; } + public global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest? Type507 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseInterfaceRequest? Type508 { get; set; } + public global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest? Type508 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseOrganizationSerializerUpdateRequest? Type509 { get; set; } + public global::LabelStudio.PatchedLseInterfaceRequest? Type509 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type510 { get; set; } + public global::LabelStudio.PatchedLseOrganizationSerializerUpdateRequest? Type510 { get; set; } /// /// /// @@ -3735,115 +3735,115 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType51 { get; set; } + public global::System.Collections.Generic.List>? ListType51 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType52 { get; set; } + public global::System.Collections.Generic.List? ListType52 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType53 { get; set; } + public global::System.Collections.Generic.List? ListType53 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType54 { get; set; } + public global::System.Collections.Generic.List? ListType54 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List? ListType55 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType56 { get; set; } + public global::System.Collections.Generic.List? ListType56 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType57 { get; set; } + public global::System.Collections.Generic.List? ListType57 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType58 { get; set; } + public global::System.Collections.Generic.List? ListType58 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType59 { get; set; } + public global::System.Collections.Generic.List? ListType59 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType60 { get; set; } + public global::System.Collections.Generic.List? ListType60 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType61 { get; set; } + public global::System.Collections.Generic.List? ListType61 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType62 { get; set; } + public global::System.Collections.Generic.List? ListType62 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType63 { get; set; } + public global::System.Collections.Generic.List? ListType63 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType64 { get; set; } + public global::System.Collections.Generic.List? ListType64 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType65 { get; set; } + public global::System.Collections.Generic.List? ListType65 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType66 { get; set; } + public global::System.Collections.Generic.List? ListType66 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType67 { get; set; } + public global::System.Collections.Generic.List? ListType67 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType68 { get; set; } + public global::System.Collections.Generic.List? ListType68 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType69 { get; set; } + public global::System.Collections.Generic.List? ListType69 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType70 { get; set; } + public global::System.Collections.Generic.List? ListType70 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType71 { get; set; } + public global::System.Collections.Generic.List? ListType71 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType72 { get; set; } + public global::System.Collections.Generic.List? ListType72 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType73 { get; set; } + public global::System.Collections.Generic.List? ListType73 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType74 { get; set; } + public global::System.Collections.Generic.List? ListType74 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType75 { get; set; } + public global::System.Collections.Generic.List? ListType75 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType76 { get; set; } + public global::System.Collections.Generic.List? ListType76 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType77 { get; set; } + public global::System.Collections.Generic.List? ListType77 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType78 { get; set; } + public global::System.Collections.Generic.List? ListType78 { get; set; } /// /// /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.Export.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.Export.g.cs index c4ecdc5f..cc50b86d 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.Export.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.Export.g.cs @@ -37,6 +37,13 @@ public sealed partial class Export [global::System.Text.Json.Serialization.JsonPropertyName("created_by")] public global::LabelStudio.UserSimple? CreatedBy { get; set; } + /// + /// When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("ephemeral")] + public bool? Ephemeral { get; set; } + /// /// Complete or fail time /// @@ -56,6 +63,12 @@ public sealed partial class Export [global::System.Text.Json.Serialization.JsonPropertyName("md5")] public string? Md5 { get; set; } + /// + /// Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("since")] + public global::System.DateTime? Since { get; set; } + /// /// /// @@ -69,6 +82,12 @@ public sealed partial class Export [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } + /// + /// Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("until")] + public global::System.DateTime? Until { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -86,12 +105,22 @@ public sealed partial class Export /// control which fields are displayed, and whether to replace simple
/// values with complex, nested serializations /// + /// + /// When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly.
+ /// Default Value: false + /// /// /// Complete or fail time /// /// + /// + /// Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until). + /// /// /// + /// + /// Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create. + /// /// /// Creation time
/// Included only in responses @@ -106,10 +135,13 @@ public Export( global::System.Collections.Generic.IList? convertedFormats, object? counters, global::LabelStudio.UserSimple? createdBy, + bool? ephemeral, global::System.DateTime? finishedAt, string? md5, + global::System.DateTime? since, global::LabelStudio.ProjectImportStatusEnum? status, string? title, + global::System.DateTime? until, global::System.DateTime createdAt = default!, int id = default!) { @@ -117,11 +149,14 @@ public Export( this.Counters = counters; this.CreatedAt = createdAt; this.CreatedBy = createdBy; + this.Ephemeral = ephemeral; this.FinishedAt = finishedAt; this.Id = id; this.Md5 = md5; + this.Since = since; this.Status = status; this.Title = title; + this.Until = until; } /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.LseExportCreate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LseExportCreate.g.cs index 63595ac2..c773c755 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.LseExportCreate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LseExportCreate.g.cs @@ -43,6 +43,13 @@ public sealed partial class LseExportCreate [global::System.Text.Json.Serialization.JsonPropertyName("created_by")] public global::LabelStudio.UserSimple? CreatedBy { get; set; } + /// + /// When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("ephemeral")] + public bool? Ephemeral { get; set; } + /// /// Complete or fail time /// @@ -68,6 +75,12 @@ public sealed partial class LseExportCreate [global::System.Text.Json.Serialization.JsonPropertyName("serialization_options")] public global::LabelStudio.SerializationOptions? SerializationOptions { get; set; } + /// + /// Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("since")] + public global::System.DateTime? Since { get; set; } + /// /// /// @@ -87,6 +100,12 @@ public sealed partial class LseExportCreate [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } + /// + /// Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("until")] + public global::System.DateTime? Until { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -105,14 +124,24 @@ public sealed partial class LseExportCreate /// control which fields are displayed, and whether to replace simple
/// values with complex, nested serializations /// + /// + /// When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly.
+ /// Default Value: false + /// /// /// Complete or fail time /// /// /// + /// + /// Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until). + /// /// /// /// + /// + /// Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create. + /// /// /// Creation time
/// Included only in responses @@ -128,12 +157,15 @@ public LseExportCreate( global::System.Collections.Generic.IList? convertedFormats, object? counters, global::LabelStudio.UserSimple? createdBy, + bool? ephemeral, global::System.DateTime? finishedAt, string? md5, global::LabelStudio.SerializationOptions? serializationOptions, + global::System.DateTime? since, global::LabelStudio.ProjectImportStatusEnum? status, global::LabelStudio.LseTaskFilterOptions? taskFilterOptions, string? title, + global::System.DateTime? until, global::System.DateTime createdAt = default!, int id = default!) { @@ -142,13 +174,16 @@ public LseExportCreate( this.Counters = counters; this.CreatedAt = createdAt; this.CreatedBy = createdBy; + this.Ephemeral = ephemeral; this.FinishedAt = finishedAt; this.Id = id; this.Md5 = md5; this.SerializationOptions = serializationOptions; + this.Since = since; this.Status = status; this.TaskFilterOptions = taskFilterOptions; this.Title = title; + this.Until = until; } /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.LseExportCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LseExportCreateRequest.g.cs index b4171a1f..b23aa3a4 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.LseExportCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LseExportCreateRequest.g.cs @@ -35,6 +35,13 @@ public sealed partial class LseExportCreateRequest [global::System.Text.Json.Serialization.JsonPropertyName("created_by")] public global::LabelStudio.UserSimpleRequest? CreatedBy { get; set; } + /// + /// When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("ephemeral")] + public bool? Ephemeral { get; set; } + /// /// Complete or fail time /// @@ -53,6 +60,12 @@ public sealed partial class LseExportCreateRequest [global::System.Text.Json.Serialization.JsonPropertyName("serialization_options")] public global::LabelStudio.SerializationOptionsRequest? SerializationOptions { get; set; } + /// + /// Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("since")] + public global::System.DateTime? Since { get; set; } + /// /// /// @@ -72,6 +85,12 @@ public sealed partial class LseExportCreateRequest [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } + /// + /// Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("until")] + public global::System.DateTime? Until { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -90,14 +109,24 @@ public sealed partial class LseExportCreateRequest /// control which fields are displayed, and whether to replace simple
/// values with complex, nested serializations /// + /// + /// When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly.
+ /// Default Value: false + /// /// /// Complete or fail time /// /// /// + /// + /// Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until). + /// /// /// /// + /// + /// Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -106,23 +135,29 @@ public LseExportCreateRequest( global::System.Collections.Generic.IList? convertedFormats, object? counters, global::LabelStudio.UserSimpleRequest? createdBy, + bool? ephemeral, global::System.DateTime? finishedAt, string? md5, global::LabelStudio.SerializationOptionsRequest? serializationOptions, + global::System.DateTime? since, global::LabelStudio.ProjectImportStatusEnum? status, global::LabelStudio.LseTaskFilterOptionsRequest? taskFilterOptions, - string? title) + string? title, + global::System.DateTime? until) { this.AnnotationFilterOptions = annotationFilterOptions; this.ConvertedFormats = convertedFormats; this.Counters = counters; this.CreatedBy = createdBy; + this.Ephemeral = ephemeral; this.FinishedAt = finishedAt; this.Md5 = md5; this.SerializationOptions = serializationOptions; + this.Since = since; this.Status = status; this.TaskFilterOptions = taskFilterOptions; this.Title = title; + this.Until = until; } /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.MemberSkill.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.MemberSkill.g.cs index ce63efe6..5c5b19a1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.MemberSkill.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.MemberSkill.g.cs @@ -8,6 +8,12 @@ namespace LabelStudio /// public sealed partial class MemberSkill { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("claimed_level")] + public string? ClaimedLevel { get; set; } + /// /// /// @@ -15,6 +21,12 @@ public sealed partial class MemberSkill [global::System.Text.Json.Serialization.JsonRequired] public required string Code { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("failed_level")] + public string? FailedLevel { get; set; } + /// /// /// @@ -22,6 +34,12 @@ public sealed partial class MemberSkill [global::System.Text.Json.Serialization.JsonRequired] public required string Label { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("levels")] + public global::System.Collections.Generic.IList>? Levels { get; set; } + /// /// * `verified` - verified
/// * `self_reported` - self_reported
@@ -32,6 +50,12 @@ public sealed partial class MemberSkill [global::System.Text.Json.Serialization.JsonRequired] public required global::LabelStudio.MemberSkillStatusEnum Status { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("verified_level")] + public string? VerifiedLevel { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -48,17 +72,29 @@ public sealed partial class MemberSkill /// * `self_reported` - self_reported
/// * `failed` - failed /// + /// + /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public MemberSkill( string code, string label, - global::LabelStudio.MemberSkillStatusEnum status) + global::LabelStudio.MemberSkillStatusEnum status, + string? claimedLevel, + string? failedLevel, + global::System.Collections.Generic.IList>? levels, + string? verifiedLevel) { + this.ClaimedLevel = claimedLevel; this.Code = code ?? throw new global::System.ArgumentNullException(nameof(code)); + this.FailedLevel = failedLevel; this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); + this.Levels = levels; this.Status = status; + this.VerifiedLevel = verifiedLevel; } /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.MemberSkillLevel.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.MemberSkillLevel.Json.g.cs new file mode 100644 index 00000000..8ed84d25 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.MemberSkillLevel.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class MemberSkillLevel + { + /// + /// 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::LabelStudio.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::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.MemberSkillLevel? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.MemberSkillLevel), + jsonSerializerContext) as global::LabelStudio.MemberSkillLevel; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.MemberSkillLevel? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.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::LabelStudio.MemberSkillLevel? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.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::LabelStudio.MemberSkillLevel), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.MemberSkillLevel; + } + + /// + /// 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::LabelStudio.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::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.MemberSkillLevel.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.MemberSkillLevel.g.cs new file mode 100644 index 00000000..91b3b0c6 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.MemberSkillLevel.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class MemberSkillLevel + { + + /// + /// 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(); + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationMemberSkillsOption.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationMemberSkillsOption.g.cs index 4dbd75ff..a7e209d5 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationMemberSkillsOption.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationMemberSkillsOption.g.cs @@ -39,6 +39,12 @@ public sealed partial class OrganizationMemberSkillsOption [global::System.Text.Json.Serialization.JsonRequired] public required string Label { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("levels")] + public global::System.Collections.Generic.IList>? Levels { get; set; } + /// /// /// @@ -74,6 +80,7 @@ public sealed partial class OrganizationMemberSkillsOption /// /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -85,12 +92,14 @@ public OrganizationMemberSkillsOption( string label, string sectionKey, string sectionTitle, + global::System.Collections.Generic.IList>? levels, string? parentCode) { this.Code = code ?? throw new global::System.ArgumentNullException(nameof(code)); this.FieldKey = fieldKey ?? throw new global::System.ArgumentNullException(nameof(fieldKey)); this.FieldLabel = fieldLabel ?? throw new global::System.ArgumentNullException(nameof(fieldLabel)); this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); + this.Levels = levels; this.ParentCode = parentCode; this.SectionKey = sectionKey ?? throw new global::System.ArgumentNullException(nameof(sectionKey)); this.SectionTitle = sectionTitle ?? throw new global::System.ArgumentNullException(nameof(sectionTitle)); diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationMemberSkillsOptionLevel.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationMemberSkillsOptionLevel.Json.g.cs new file mode 100644 index 00000000..4f0fe09b --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationMemberSkillsOptionLevel.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class OrganizationMemberSkillsOptionLevel + { + /// + /// 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::LabelStudio.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::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.OrganizationMemberSkillsOptionLevel? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.OrganizationMemberSkillsOptionLevel), + jsonSerializerContext) as global::LabelStudio.OrganizationMemberSkillsOptionLevel; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.OrganizationMemberSkillsOptionLevel? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.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::LabelStudio.OrganizationMemberSkillsOptionLevel? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.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::LabelStudio.OrganizationMemberSkillsOptionLevel), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.OrganizationMemberSkillsOptionLevel; + } + + /// + /// 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::LabelStudio.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::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationMemberSkillsOptionLevel.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationMemberSkillsOptionLevel.g.cs new file mode 100644 index 00000000..0a2f928c --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationMemberSkillsOptionLevel.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class OrganizationMemberSkillsOptionLevel + { + + /// + /// 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(); + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Organizations.JsonSerializerContext.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Organizations.JsonSerializerContext.g.cs index 9e3ebee3..389be009 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Organizations.JsonSerializerContext.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Organizations.JsonSerializerContext.g.cs @@ -56,6 +56,7 @@ namespace LabelStudio #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LseUserOrganizationMemberListCreatedProject))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MappingStatusEnum), TypeInfoPropertyName = "MappingStatusEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MemberSkillStatusEnum), TypeInfoPropertyName = "MemberSkillStatusEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OrganizationId))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OrganizationInvite))] @@ -94,7 +95,6 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.SeatReport))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDefaultRoleRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLseOrganizationSerializerUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedOrganizationMemberCreateUpdateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.StandardUserTypeEnum), TypeInfoPropertyName = "StandardUserTypeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedOrganizationMemberTagRequest))] @@ -141,6 +141,7 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -149,7 +150,6 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Projects.JsonSerializerContext.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Projects.JsonSerializerContext.g.cs index 5a6ff8fb..b72eb125 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Projects.JsonSerializerContext.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Projects.JsonSerializerContext.g.cs @@ -83,6 +83,7 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OrganizationMembership))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MemberSkillStatusEnum), TypeInfoPropertyName = "MemberSkillStatusEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MetricParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MetricParamUpdateRequest))] @@ -182,6 +183,7 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] diff --git a/src/libs/LabelStudio/openapi.yaml b/src/libs/LabelStudio/openapi.yaml index 158591c3..032790a4 100644 --- a/src/libs/LabelStudio/openapi.yaml +++ b/src/libs/LabelStudio/openapi.yaml @@ -10730,7 +10730,7 @@ paths: - exports x-fern-sdk-method-name: list post: - description: Create a new export request to start a background task and generate an export file for a specific project by ID. + description: Create a new export request to start a background task and generate an export file for a specific project by ID. Optional `since` / `until` limit the snapshot to tasks with `updated_at` in the half-open window `[since, until)`. `since` must be in the past; an omitted or later `until` becomes create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS. Set `ephemeral=true` to omit the snapshot from list endpoints. On deployments that run the RQ cron scheduler (SaaS; on-prem with `rqcron.enabled`), ephemeral exports older than EPHEMERAL_EXPORT_TTL_HOURS (default 24) are deleted by a daily low-queue sweep; otherwise they remain unlisted until explicitly deleted. Use the resolved `until` from the response as `since` on the next incremental create. Task deletions are not represented in incremental snapshots (only surviving tasks with bumped `updated_at`). Rows committed after the export query starts but stamped with `updated_at` before `until` can fall outside both consecutive windows; the default `until` lag mitigates long transactions. operationId: api_projects_exports_create parameters: - description: A unique integer value identifying this project. @@ -28476,6 +28476,10 @@ components: type: string created_by: $ref: '#/components/schemas/UserSimple' + ephemeral: + default: false + description: When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly. + type: boolean finished_at: description: Complete or fail time format: date-time @@ -28488,6 +28492,11 @@ components: maxLength: 128 title: Md5 of file type: string + since: + description: Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until). + format: date-time + nullable: true + type: string status: allOf: - $ref: '#/components/schemas/ProjectImportStatusEnum' @@ -28495,6 +28504,11 @@ components: title: maxLength: 2048 type: string + until: + description: Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create. + format: date-time + nullable: true + type: string required: - created_at - id @@ -32239,6 +32253,10 @@ components: type: string created_by: $ref: '#/components/schemas/UserSimple' + ephemeral: + default: false + description: When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly. + type: boolean finished_at: description: Complete or fail time format: date-time @@ -32253,6 +32271,11 @@ components: type: string serialization_options: $ref: '#/components/schemas/SerializationOptions' + since: + description: Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until). + format: date-time + nullable: true + type: string status: allOf: - $ref: '#/components/schemas/ProjectImportStatusEnum' @@ -32262,6 +32285,11 @@ components: title: maxLength: 2048 type: string + until: + description: Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create. + format: date-time + nullable: true + type: string required: - created_at - id @@ -32278,6 +32306,10 @@ components: title: Exporting meta data created_by: $ref: '#/components/schemas/UserSimpleRequest' + ephemeral: + default: false + description: When true, the export is omitted from list endpoints. Detail and download by id still work. TTL deletion (EPHEMERAL_EXPORT_TTL_HOURS, default 24) runs via the RQ cron scheduler when enabled (SaaS; on-prem `rqcron.enabled`); otherwise delete explicitly. + type: boolean finished_at: description: Complete or fail time format: date-time @@ -32290,6 +32322,11 @@ components: type: string serialization_options: $ref: '#/components/schemas/SerializationOptionsRequest' + since: + description: Inclusive lower bound on Task.updated_at for an incremental snapshot. Omit for a full export. Pair with until for a half-open window [since, until). + format: date-time + nullable: true + type: string status: allOf: - $ref: '#/components/schemas/ProjectImportStatusEnum' @@ -32299,6 +32336,11 @@ components: title: maxLength: 2048 type: string + until: + description: Exclusive upper bound on Task.updated_at. If omitted, or later than create/request time minus INCREMENTAL_EXPORT_UNTIL_LAG_SECONDS, the server uses that time instead. Use the returned value as since on the next incremental create. + format: date-time + nullable: true + type: string type: object LseFields: properties: @@ -36567,12 +36609,24 @@ components: - $ref: '#/components/schemas/CommentSerializerWithExpandedUser' MemberSkill: properties: + claimed_level: + type: string code: type: string + failed_level: + type: string label: type: string + levels: + items: + additionalProperties: + type: string + type: object + type: array status: $ref: '#/components/schemas/MemberSkillStatusEnum' + verified_level: + type: string required: - code - label @@ -37354,6 +37408,12 @@ components: type: string label: type: string + levels: + items: + additionalProperties: + type: string + type: object + type: array parent_code: nullable: true type: string