@standards/schema 1.0.0-alpha.387 → 1.0.0-alpha.389

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-CPpO7bl9.mjs";
3
3
  import { AgentDefinitionAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-DAE_qmhw.mjs";
4
4
  import { Attribute } from "../attributes-aP3uDQhm.mjs";
5
- import { AIAvailableModel, AIGenerationResult, AIGenerationType, Actor, ActorStatus, ActorType, AgentAsideExchange, AgentConversationOverview, AgentDefinition, AgentDefinitionActivity, AgentDefinitionDailyActivity, AgentMemoryView, AgentMessageAttachment, AgentRun, AgentSession, AgentSessionHistoryPage, AgentSessionLink, AgentSessionMessage, AgentSessionMode, AgentTodoPlanView, AgentToolCatalog, AgentTriggerDefinition, AggregateGroupByInput, ApiKey, ApiKeyWithSecret, ArchitectProjection, ArtifactQuote, ArtifactRevisionView, AuditListOptions, AuditLogEntry, AuthorizedGlobalSearchResult, AuthorizedSearchPage, BinaryResponse, BrowserProfileView, BundleSyncResult, ClassifyEmailResult, CloudBrowserLiveView, CollectionResponse, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, DictationAdmission, DictationCapabilities, DictationUsageSummary, Document, DocumentFile, DocumentRecordOwnerPage, DownloadedFile, DraftAppendCommand, DraftCommandGuard, DraftPublishCommand, EffectivePermissions, EmailCategory, EmailCategoryUsage, EmailSenderRule, EmailVerdict, EnvVarEntry, Environment, EnvironmentDetail, EnvironmentHarnessId, EnvironmentList, File, FileUrlsResponse, FilterGenerationInput, FormDefinition, FormRow, FormStatus, FormSubmission, FormulaGenerationInput, GeocodingAutocompleteParams, GeocodingSuggestion, GithubTriggerSender, GlobalSearchResultItem, HarnessModelList, HttpMethod, ImageModelCatalog, LoginSecretEntry, LogoSearchCandidate, MailDraft, MailDraftAttachment, MailboxAccount, MailboxCursor, MailboxEmail, MailboxListResponse, MailboxQuery, MailboxReadState, MailboxThreadDetail, McpCatalogEntry, McpOAuthAttemptStarted, McpOAuthAttemptView, McpOAuthCompletionMode, McpServerView, Member, MentionReference, ModelDefinition, MutationReceipt, MyPreferences, NativeToolGroup, NewsBody, NewsIndex, NotificationArchiveAllResult, NotificationCounts, NotificationListParams, NotificationListResult, NotificationWithRecipient, ObjectPermissions, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PageData, PageRead, PageSummary, PathParams, Permission, PreferenceEntry, ProposalRevision, QuotaState, RecipientSuggestion, RecordAggregates, RecordDocuments, RecordDriveChild, RecordDriveChildrenPage, RecordDriveSearchResult, RecordGraphNodeRef, RecordGraphRequest, RecordGraphResponse, RecordOperationResult, RegexGenerationInput, RelationScope, ResolvedRecentActivity, Role, SchemaGroupList, SchemaSourceResolution, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, StartConnectorAuthResult, SubmitOutcome, SystemPermissions, TenantBundle, TenantInvitation, TenantSettingsResponse, TriggerEventType, UpdatableBundle, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-Dc724-qa.mjs";
5
+ import { AIAvailableModel, AIGenerationResult, AIGenerationType, Actor, ActorStatus, ActorType, AgentAsideExchange, AgentConversationOverview, AgentDefinition, AgentDefinitionActivity, AgentDefinitionDailyActivity, AgentMemoryView, AgentMessageAttachment, AgentRun, AgentSession, AgentSessionHistoryPage, AgentSessionLink, AgentSessionMessage, AgentSessionMode, AgentTodoPlanView, AgentToolCatalog, AgentTriggerDefinition, AggregateGroupByInput, ApiKey, ApiKeyWithSecret, ArchitectProjection, ArtifactQuote, ArtifactRevisionView, AuditListOptions, AuditLogEntry, AuthorizedGlobalSearchResult, AuthorizedSearchPage, BinaryResponse, BrowserProfileView, BundleSyncResult, CatalogEntryDetail, CatalogEntrySummary, CatalogInstallPlan, CatalogInstallResult, CatalogPackSummary, ClassifyEmailResult, CloudBrowserLiveView, CollectionResponse, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, DictationAdmission, DictationCapabilities, DictationUsageSummary, Document, DocumentFile, DocumentRecordOwnerPage, DownloadedFile, DraftAppendCommand, DraftCommandGuard, DraftPublishCommand, EffectivePermissions, EmailCategory, EmailCategoryUsage, EmailSenderRule, EmailVerdict, EnvVarEntry, Environment, EnvironmentDetail, EnvironmentHarnessId, EnvironmentList, File, FileUrlsResponse, FilterGenerationInput, FormDefinition, FormRow, FormStatus, FormSubmission, FormulaGenerationInput, GeocodingAutocompleteParams, GeocodingSuggestion, GithubTriggerSender, GlobalSearchResultItem, HarnessModelList, HttpMethod, ImageModelCatalog, LastPublication, LastPublishError, LoginSecretEntry, LogoSearchCandidate, MailDraft, MailDraftAttachment, MailboxAccount, MailboxCursor, MailboxEmail, MailboxListResponse, MailboxQuery, MailboxReadState, MailboxThreadDetail, McpCatalogEntry, McpOAuthAttemptStarted, McpOAuthAttemptView, McpOAuthCompletionMode, McpServerView, Member, MentionReference, ModelDefinition, MutationReceipt, MyPreferences, NativeToolGroup, NewsBody, NewsIndex, NotificationArchiveAllResult, NotificationCounts, NotificationListParams, NotificationListResult, NotificationWithRecipient, ObjectPermissions, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PageData, PageRead, PageSummary, PathParams, Permission, PreferenceEntry, ProposalRevision, PublishBlocker, QuotaState, RecipientSuggestion, RecordAggregates, RecordDocuments, RecordDriveChild, RecordDriveChildrenPage, RecordDriveSearchResult, RecordGraphNodeRef, RecordGraphRequest, RecordGraphResponse, RecordOperationResult, RegexGenerationInput, RelationScope, ResolvedRecentActivity, Role, SchemaGroupList, SchemaSourceResolution, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, StartConnectorAuthResult, SubmitOutcome, SystemPermissions, TenantBundle, TenantInvitation, TenantSettingsResponse, TriggerEventType, UpdatableBundle, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-BPfX8Dj2.mjs";
6
6
  import { CollectionContentSource, ContentViewDefinition, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-DFqQ8Lh_.mjs";
7
7
  import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-DRc0yvLf.mjs";
8
8
  import * as z$2 from "zod";
@@ -790,6 +790,86 @@ export declare const bundlesOperations: {
790
790
  }>;
791
791
  };
792
792
  //#endregion
793
+ //#region src/api/catalog.operations.d.ts
794
+ export declare const catalogOperations: {
795
+ list: Operation<{
796
+ readonly name: "catalog.list";
797
+ readonly method: "GET";
798
+ readonly path: "/catalog";
799
+ readonly input: z$2.ZodObject<{
800
+ kind: z$2.ZodOptional<z$2.ZodEnum<{
801
+ object: "object";
802
+ view: "view";
803
+ agent: "agent";
804
+ }>>;
805
+ q: z$2.ZodOptional<z$2.ZodString>;
806
+ locale: z$2.ZodEnum<{
807
+ fr: "fr";
808
+ en: "en";
809
+ }>;
810
+ }, z$2.core.$strip>;
811
+ readonly output: OutputType<{
812
+ entries: CatalogEntrySummary[];
813
+ packs: CatalogPackSummary[];
814
+ }>;
815
+ readonly permission: readonly ["architect", "read"];
816
+ }>;
817
+ read: Operation<{
818
+ readonly name: "catalog.read";
819
+ readonly method: "GET";
820
+ readonly path: "/catalog/:id";
821
+ readonly input: z$2.ZodObject<{
822
+ id: z$2.ZodString;
823
+ locale: z$2.ZodEnum<{
824
+ fr: "fr";
825
+ en: "en";
826
+ }>;
827
+ }, z$2.core.$strip>;
828
+ readonly output: OutputType<CatalogEntryDetail>;
829
+ readonly permission: readonly ["architect", "read"];
830
+ }>;
831
+ preview: Operation<{
832
+ readonly name: "catalog.preview";
833
+ readonly method: "POST";
834
+ readonly path: "/catalog/preview";
835
+ readonly input: z$2.ZodObject<{
836
+ selection: z$2.ZodObject<{
837
+ entries: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
838
+ packs: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
839
+ }, z$2.core.$strip>;
840
+ locale: z$2.ZodEnum<{
841
+ fr: "fr";
842
+ en: "en";
843
+ }>;
844
+ withSamples: z$2.ZodBoolean;
845
+ }, z$2.core.$strip>;
846
+ readonly output: OutputType<CatalogInstallPlan>;
847
+ readonly permission: readonly ["architect", "read"];
848
+ }>;
849
+ install: Operation<{
850
+ readonly name: "catalog.install";
851
+ readonly method: "POST";
852
+ readonly path: "/catalog/install";
853
+ readonly input: z$2.ZodObject<{
854
+ selection: z$2.ZodObject<{
855
+ entries: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
856
+ packs: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
857
+ }, z$2.core.$strip>;
858
+ locale: z$2.ZodEnum<{
859
+ fr: "fr";
860
+ en: "en";
861
+ }>;
862
+ withSamples: z$2.ZodBoolean;
863
+ decisions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnion<readonly [z$2.ZodLiteral<"bind">, z$2.ZodLiteral<"skip">, z$2.ZodObject<{
864
+ rename: z$2.ZodString;
865
+ }, z$2.core.$strip>]>>;
866
+ fingerprint: z$2.ZodString;
867
+ }, z$2.core.$strip>;
868
+ readonly output: OutputType<CatalogInstallResult>;
869
+ readonly permission: readonly ["architect", "create"];
870
+ }>;
871
+ };
872
+ //#endregion
793
873
  //#region src/api/query-integers.d.ts
794
874
  /** Lenient query-string integers: a value that is not one reads as absent. */
795
875
  type QueryIntegerInput = number | string | undefined;
@@ -4227,13 +4307,17 @@ export interface SchemaDraftResponse {
4227
4307
  status: "composing" | "published" | "discarded";
4228
4308
  /** Bumped on every write; the value a subscriber uses to order two pushes. */
4229
4309
  version: number;
4310
+ /** Why the last publish of this composing draft was refused; absent when it was not (#5933). */
4311
+ lastPublishError?: LastPublishError;
4230
4312
  }
4231
4313
  /**
4232
4314
  * What an append answers: the draft it committed, as `schemaDraft.get` reads
4233
- * it, and the guard to continue editing without a second guard request.
4315
+ * it, the guard to continue editing without a second guard request, and
4316
+ * what the publish would refuse in it as it stands (#5932).
4234
4317
  */
4235
4318
  export interface DraftAppendResponse extends SchemaDraftResponse {
4236
4319
  commandGuard: DraftCommandGuard;
4320
+ publishBlockers: PublishBlocker[];
4237
4321
  }
4238
4322
  export interface PublishDraftResponse {
4239
4323
  draftId: string;
@@ -4268,6 +4352,21 @@ export declare const schemaDraftOperations: {
4268
4352
  readonly permission: readonly ["architect", "read"];
4269
4353
  readonly throttle: "skip";
4270
4354
  }>;
4355
+ /**
4356
+ * How the addressed owner's last publication ended, or `null` before any:
4357
+ * what a client reads when it never received a publish's answer (#5933).
4358
+ */
4359
+ lastPublication: Operation<{
4360
+ readonly name: "schemaDraft.lastPublication";
4361
+ readonly method: "GET";
4362
+ readonly path: "/schema/draft/last-publication";
4363
+ readonly input: z$2.ZodObject<{
4364
+ session: z$2.ZodOptional<z$2.ZodType<string, string, z$2.core.$ZodTypeInternals<string, string>>>;
4365
+ }, z$2.core.$strip>;
4366
+ readonly output: OutputType<LastPublication | null>;
4367
+ readonly permission: readonly ["architect", "read"];
4368
+ readonly throttle: "skip";
4369
+ }>;
4271
4370
  /** The draft projected over the published schema; `objectName` + `viewName` focus it. */
4272
4371
  projection: Operation<{
4273
4372
  readonly name: "schemaDraft.projection";
@@ -2,7 +2,7 @@
2
2
  import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-CPpO7bl9.js";
3
3
  import { AgentDefinitionAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-C4eEHZp3.js";
4
4
  import { Attribute } from "../attributes-CyqQz0hF.js";
5
- import { AIAvailableModel, AIGenerationResult, AIGenerationType, Actor, ActorStatus, ActorType, AgentAsideExchange, AgentConversationOverview, AgentDefinition, AgentDefinitionActivity, AgentDefinitionDailyActivity, AgentMemoryView, AgentMessageAttachment, AgentRun, AgentSession, AgentSessionHistoryPage, AgentSessionLink, AgentSessionMessage, AgentSessionMode, AgentTodoPlanView, AgentToolCatalog, AgentTriggerDefinition, AggregateGroupByInput, ApiKey, ApiKeyWithSecret, ArchitectProjection, ArtifactQuote, ArtifactRevisionView, AuditListOptions, AuditLogEntry, AuthorizedGlobalSearchResult, AuthorizedSearchPage, BinaryResponse, BrowserProfileView, BundleSyncResult, ClassifyEmailResult, CloudBrowserLiveView, CollectionResponse, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, DictationAdmission, DictationCapabilities, DictationUsageSummary, Document, DocumentFile, DocumentRecordOwnerPage, DownloadedFile, DraftAppendCommand, DraftCommandGuard, DraftPublishCommand, EffectivePermissions, EmailCategory, EmailCategoryUsage, EmailSenderRule, EmailVerdict, EnvVarEntry, Environment, EnvironmentDetail, EnvironmentHarnessId, EnvironmentList, File, FileUrlsResponse, FilterGenerationInput, FormDefinition, FormRow, FormStatus, FormSubmission, FormulaGenerationInput, GeocodingAutocompleteParams, GeocodingSuggestion, GithubTriggerSender, GlobalSearchResultItem, HarnessModelList, HttpMethod, ImageModelCatalog, LoginSecretEntry, LogoSearchCandidate, MailDraft, MailDraftAttachment, MailboxAccount, MailboxCursor, MailboxEmail, MailboxListResponse, MailboxQuery, MailboxReadState, MailboxThreadDetail, McpCatalogEntry, McpOAuthAttemptStarted, McpOAuthAttemptView, McpOAuthCompletionMode, McpServerView, Member, MentionReference, ModelDefinition, MutationReceipt, MyPreferences, NativeToolGroup, NewsBody, NewsIndex, NotificationArchiveAllResult, NotificationCounts, NotificationListParams, NotificationListResult, NotificationWithRecipient, ObjectPermissions, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PageData, PageRead, PageSummary, PathParams, Permission, PreferenceEntry, ProposalRevision, QuotaState, RecipientSuggestion, RecordAggregates, RecordDocuments, RecordDriveChild, RecordDriveChildrenPage, RecordDriveSearchResult, RecordGraphNodeRef, RecordGraphRequest, RecordGraphResponse, RecordOperationResult, RegexGenerationInput, RelationScope, ResolvedRecentActivity, Role, SchemaGroupList, SchemaSourceResolution, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, StartConnectorAuthResult, SubmitOutcome, SystemPermissions, TenantBundle, TenantInvitation, TenantSettingsResponse, TriggerEventType, UpdatableBundle, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-Yeb7Tt27.js";
5
+ import { AIAvailableModel, AIGenerationResult, AIGenerationType, Actor, ActorStatus, ActorType, AgentAsideExchange, AgentConversationOverview, AgentDefinition, AgentDefinitionActivity, AgentDefinitionDailyActivity, AgentMemoryView, AgentMessageAttachment, AgentRun, AgentSession, AgentSessionHistoryPage, AgentSessionLink, AgentSessionMessage, AgentSessionMode, AgentTodoPlanView, AgentToolCatalog, AgentTriggerDefinition, AggregateGroupByInput, ApiKey, ApiKeyWithSecret, ArchitectProjection, ArtifactQuote, ArtifactRevisionView, AuditListOptions, AuditLogEntry, AuthorizedGlobalSearchResult, AuthorizedSearchPage, BinaryResponse, BrowserProfileView, BundleSyncResult, CatalogEntryDetail, CatalogEntrySummary, CatalogInstallPlan, CatalogInstallResult, CatalogPackSummary, ClassifyEmailResult, CloudBrowserLiveView, CollectionResponse, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, DictationAdmission, DictationCapabilities, DictationUsageSummary, Document, DocumentFile, DocumentRecordOwnerPage, DownloadedFile, DraftAppendCommand, DraftCommandGuard, DraftPublishCommand, EffectivePermissions, EmailCategory, EmailCategoryUsage, EmailSenderRule, EmailVerdict, EnvVarEntry, Environment, EnvironmentDetail, EnvironmentHarnessId, EnvironmentList, File, FileUrlsResponse, FilterGenerationInput, FormDefinition, FormRow, FormStatus, FormSubmission, FormulaGenerationInput, GeocodingAutocompleteParams, GeocodingSuggestion, GithubTriggerSender, GlobalSearchResultItem, HarnessModelList, HttpMethod, ImageModelCatalog, LastPublication, LastPublishError, LoginSecretEntry, LogoSearchCandidate, MailDraft, MailDraftAttachment, MailboxAccount, MailboxCursor, MailboxEmail, MailboxListResponse, MailboxQuery, MailboxReadState, MailboxThreadDetail, McpCatalogEntry, McpOAuthAttemptStarted, McpOAuthAttemptView, McpOAuthCompletionMode, McpServerView, Member, MentionReference, ModelDefinition, MutationReceipt, MyPreferences, NativeToolGroup, NewsBody, NewsIndex, NotificationArchiveAllResult, NotificationCounts, NotificationListParams, NotificationListResult, NotificationWithRecipient, ObjectPermissions, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PageData, PageRead, PageSummary, PathParams, Permission, PreferenceEntry, ProposalRevision, PublishBlocker, QuotaState, RecipientSuggestion, RecordAggregates, RecordDocuments, RecordDriveChild, RecordDriveChildrenPage, RecordDriveSearchResult, RecordGraphNodeRef, RecordGraphRequest, RecordGraphResponse, RecordOperationResult, RegexGenerationInput, RelationScope, ResolvedRecentActivity, Role, SchemaGroupList, SchemaSourceResolution, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, StartConnectorAuthResult, SubmitOutcome, SystemPermissions, TenantBundle, TenantInvitation, TenantSettingsResponse, TriggerEventType, UpdatableBundle, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-nxRf8xAj.js";
6
6
  import { CollectionContentSource, ContentViewDefinition, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-DMrOEhf2.js";
7
7
  import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-BL3pS7-D.js";
8
8
  import * as z$2 from "zod";
@@ -790,6 +790,86 @@ export declare const bundlesOperations: {
790
790
  }>;
791
791
  };
792
792
  //#endregion
793
+ //#region src/api/catalog.operations.d.ts
794
+ export declare const catalogOperations: {
795
+ list: Operation<{
796
+ readonly name: "catalog.list";
797
+ readonly method: "GET";
798
+ readonly path: "/catalog";
799
+ readonly input: z$2.ZodObject<{
800
+ kind: z$2.ZodOptional<z$2.ZodEnum<{
801
+ object: "object";
802
+ view: "view";
803
+ agent: "agent";
804
+ }>>;
805
+ q: z$2.ZodOptional<z$2.ZodString>;
806
+ locale: z$2.ZodEnum<{
807
+ fr: "fr";
808
+ en: "en";
809
+ }>;
810
+ }, z$2.core.$strip>;
811
+ readonly output: OutputType<{
812
+ entries: CatalogEntrySummary[];
813
+ packs: CatalogPackSummary[];
814
+ }>;
815
+ readonly permission: readonly ["architect", "read"];
816
+ }>;
817
+ read: Operation<{
818
+ readonly name: "catalog.read";
819
+ readonly method: "GET";
820
+ readonly path: "/catalog/:id";
821
+ readonly input: z$2.ZodObject<{
822
+ id: z$2.ZodString;
823
+ locale: z$2.ZodEnum<{
824
+ fr: "fr";
825
+ en: "en";
826
+ }>;
827
+ }, z$2.core.$strip>;
828
+ readonly output: OutputType<CatalogEntryDetail>;
829
+ readonly permission: readonly ["architect", "read"];
830
+ }>;
831
+ preview: Operation<{
832
+ readonly name: "catalog.preview";
833
+ readonly method: "POST";
834
+ readonly path: "/catalog/preview";
835
+ readonly input: z$2.ZodObject<{
836
+ selection: z$2.ZodObject<{
837
+ entries: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
838
+ packs: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
839
+ }, z$2.core.$strip>;
840
+ locale: z$2.ZodEnum<{
841
+ fr: "fr";
842
+ en: "en";
843
+ }>;
844
+ withSamples: z$2.ZodBoolean;
845
+ }, z$2.core.$strip>;
846
+ readonly output: OutputType<CatalogInstallPlan>;
847
+ readonly permission: readonly ["architect", "read"];
848
+ }>;
849
+ install: Operation<{
850
+ readonly name: "catalog.install";
851
+ readonly method: "POST";
852
+ readonly path: "/catalog/install";
853
+ readonly input: z$2.ZodObject<{
854
+ selection: z$2.ZodObject<{
855
+ entries: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
856
+ packs: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
857
+ }, z$2.core.$strip>;
858
+ locale: z$2.ZodEnum<{
859
+ fr: "fr";
860
+ en: "en";
861
+ }>;
862
+ withSamples: z$2.ZodBoolean;
863
+ decisions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnion<readonly [z$2.ZodLiteral<"bind">, z$2.ZodLiteral<"skip">, z$2.ZodObject<{
864
+ rename: z$2.ZodString;
865
+ }, z$2.core.$strip>]>>;
866
+ fingerprint: z$2.ZodString;
867
+ }, z$2.core.$strip>;
868
+ readonly output: OutputType<CatalogInstallResult>;
869
+ readonly permission: readonly ["architect", "create"];
870
+ }>;
871
+ };
872
+ //#endregion
793
873
  //#region src/api/query-integers.d.ts
794
874
  /** Lenient query-string integers: a value that is not one reads as absent. */
795
875
  type QueryIntegerInput = number | string | undefined;
@@ -4227,13 +4307,17 @@ export interface SchemaDraftResponse {
4227
4307
  status: "composing" | "published" | "discarded";
4228
4308
  /** Bumped on every write; the value a subscriber uses to order two pushes. */
4229
4309
  version: number;
4310
+ /** Why the last publish of this composing draft was refused; absent when it was not (#5933). */
4311
+ lastPublishError?: LastPublishError;
4230
4312
  }
4231
4313
  /**
4232
4314
  * What an append answers: the draft it committed, as `schemaDraft.get` reads
4233
- * it, and the guard to continue editing without a second guard request.
4315
+ * it, the guard to continue editing without a second guard request, and
4316
+ * what the publish would refuse in it as it stands (#5932).
4234
4317
  */
4235
4318
  export interface DraftAppendResponse extends SchemaDraftResponse {
4236
4319
  commandGuard: DraftCommandGuard;
4320
+ publishBlockers: PublishBlocker[];
4237
4321
  }
4238
4322
  export interface PublishDraftResponse {
4239
4323
  draftId: string;
@@ -4268,6 +4352,21 @@ export declare const schemaDraftOperations: {
4268
4352
  readonly permission: readonly ["architect", "read"];
4269
4353
  readonly throttle: "skip";
4270
4354
  }>;
4355
+ /**
4356
+ * How the addressed owner's last publication ended, or `null` before any:
4357
+ * what a client reads when it never received a publish's answer (#5933).
4358
+ */
4359
+ lastPublication: Operation<{
4360
+ readonly name: "schemaDraft.lastPublication";
4361
+ readonly method: "GET";
4362
+ readonly path: "/schema/draft/last-publication";
4363
+ readonly input: z$2.ZodObject<{
4364
+ session: z$2.ZodOptional<z$2.ZodType<string, string, z$2.core.$ZodTypeInternals<string, string>>>;
4365
+ }, z$2.core.$strip>;
4366
+ readonly output: OutputType<LastPublication | null>;
4367
+ readonly permission: readonly ["architect", "read"];
4368
+ readonly throttle: "skip";
4369
+ }>;
4271
4370
  /** The draft projected over the published schema; `objectName` + `viewName` focus it. */
4272
4371
  projection: Operation<{
4273
4372
  readonly name: "schemaDraft.projection";