@standards/schema 1.0.0-alpha.392 → 1.0.0-alpha.394

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.
Files changed (93) hide show
  1. package/dist/{all-C9fzvM0e.d.ts → all-Bvjhv6Gx.d.ts} +10 -10
  2. package/dist/{all-DSB4gTCU.d.mts → all-CGQkHUAG.d.mts} +10 -10
  3. package/dist/api/index.d.mts +95 -197
  4. package/dist/api/index.d.ts +95 -197
  5. package/dist/api/index.js +1 -1
  6. package/dist/api/index.mjs +1 -1
  7. package/dist/{attributes-D1VjqvO5.d.ts → attributes-DHbSq5-c.d.ts} +1 -1
  8. package/dist/{attributes-1HV1p4Xw.d.mts → attributes-ybI2RY0p.d.mts} +1 -1
  9. package/dist/{checkbox-Bywsfist.d.ts → checkbox-BgyfKv2J.d.ts} +2 -2
  10. package/dist/{checkbox-BBcPJrxb.d.mts → checkbox-DvtCTshQ.d.mts} +2 -2
  11. package/dist/config-DqidiszP.mjs +2 -0
  12. package/dist/config-oKDg40Iz.js +2 -0
  13. package/dist/{date-Bj8voQf-.d.mts → date-B9livx2w.d.mts} +2 -2
  14. package/dist/{date-DEqIFzxi.d.ts → date-CDg8dTJA.d.ts} +2 -2
  15. package/dist/{exceptions-CPpO7bl9.d.mts → exceptions-CeP0QxYo.d.mts} +13 -4
  16. package/dist/{exceptions-CPpO7bl9.d.ts → exceptions-CeP0QxYo.d.ts} +13 -4
  17. package/dist/exceptions.d.mts +2 -2
  18. package/dist/exceptions.d.ts +2 -2
  19. package/dist/exceptions.js +1 -1
  20. package/dist/exceptions.mjs +1 -1
  21. package/dist/{index-DsYudW8B.d.ts → index-B5IBbAwy.d.ts} +994 -866
  22. package/dist/{index-BdOS1g9i.d.mts → index-BttvvaQY.d.mts} +3 -3
  23. package/dist/{index-DCpxmDHb.d.mts → index-Csfui8Qm.d.mts} +2 -2
  24. package/dist/{index-s0zR7PJ9.d.ts → index-D4KxKEL_.d.ts} +2 -2
  25. package/dist/{index-DoLzTeu1.d.mts → index-DICp0at8.d.mts} +1 -1
  26. package/dist/{index-zjcfmatR.d.mts → index-Dpcmxf-Y.d.mts} +994 -866
  27. package/dist/{index-DNQspfYW.d.ts → index-Jjt6ggWu.d.ts} +3 -3
  28. package/dist/{index-DP-x7d5U.d.ts → index-ea_C0sbY.d.ts} +1 -1
  29. package/dist/index.d.mts +14 -14
  30. package/dist/index.d.ts +14 -14
  31. package/dist/index.js +1 -1
  32. package/dist/index.mjs +1 -1
  33. package/dist/{number-CCfz8McR.d.mts → number-CASI8GSl.d.mts} +2 -2
  34. package/dist/{number-DlR6jvKt.d.ts → number-MnY5CLQ-.d.ts} +2 -2
  35. package/dist/{objects-BF1wXeoe.d.ts → objects-DgAAilNd.d.ts} +2 -2
  36. package/dist/{objects-DytubYla.d.mts → objects-q1d_wU_1.d.mts} +2 -2
  37. package/dist/{attribute-validators-CUqsP1j_.js → primitives-BBtVhLdq.js} +4 -4
  38. package/dist/{attribute-validators-COsyRG9V.mjs → primitives-D9A6pmXV.mjs} +4 -4
  39. package/dist/record-operation-BFMdsHM3.js +2 -0
  40. package/dist/record-operation-DAUsRSxK.mjs +2 -0
  41. package/dist/{text-BUFRXrWY.d.mts → text-BjaTSXw_.d.mts} +2 -2
  42. package/dist/{text-C6KKZDNh.d.ts → text-CIY_GzA4.d.ts} +2 -2
  43. package/dist/{utils-C2dIMiOB.d.mts → utils-BrTiR8t6.d.mts} +1 -1
  44. package/dist/{utils-CydvpWQ3.d.ts → utils-DDQvppjN.d.ts} +1 -1
  45. package/dist/utils.d.mts +1 -1
  46. package/dist/utils.d.ts +1 -1
  47. package/dist/validation/all.d.mts +4 -4
  48. package/dist/validation/all.d.ts +4 -4
  49. package/dist/validation/all.js +1 -1
  50. package/dist/validation/all.mjs +1 -1
  51. package/dist/validation/complex/currency.d.mts +2 -2
  52. package/dist/validation/complex/currency.d.ts +2 -2
  53. package/dist/validation/complex/location.d.mts +2 -2
  54. package/dist/validation/complex/location.d.ts +2 -2
  55. package/dist/validation/complex/phone.d.mts +2 -2
  56. package/dist/validation/complex/phone.d.ts +2 -2
  57. package/dist/validation/complex/relation.d.mts +2 -2
  58. package/dist/validation/complex/relation.d.ts +2 -2
  59. package/dist/validation/complex/richtext.d.mts +2 -2
  60. package/dist/validation/complex/richtext.d.ts +2 -2
  61. package/dist/validation/complex/select.d.mts +2 -2
  62. package/dist/validation/complex/select.d.ts +2 -2
  63. package/dist/validation/complex/user.d.mts +2 -2
  64. package/dist/validation/complex/user.d.ts +2 -2
  65. package/dist/validation/computed/formula.d.mts +2 -2
  66. package/dist/validation/computed/formula.d.ts +2 -2
  67. package/dist/validation/computed/rollup.d.mts +2 -2
  68. package/dist/validation/computed/rollup.d.ts +2 -2
  69. package/dist/validation/config/index.d.mts +1 -1
  70. package/dist/validation/config/index.d.ts +1 -1
  71. package/dist/validation/config/index.js +1 -1
  72. package/dist/validation/config/index.mjs +1 -1
  73. package/dist/validation/core/index.d.mts +1 -1
  74. package/dist/validation/core/index.d.ts +1 -1
  75. package/dist/validation/object/index.d.mts +1 -1
  76. package/dist/validation/object/index.d.ts +1 -1
  77. package/dist/validation/primitives/checkbox.d.mts +1 -1
  78. package/dist/validation/primitives/checkbox.d.ts +1 -1
  79. package/dist/validation/primitives/date.d.mts +1 -1
  80. package/dist/validation/primitives/date.d.ts +1 -1
  81. package/dist/validation/primitives/number.d.mts +1 -1
  82. package/dist/validation/primitives/number.d.ts +1 -1
  83. package/dist/validation/primitives/text.d.mts +1 -1
  84. package/dist/validation/primitives/text.d.ts +1 -1
  85. package/dist/view-config.schema-Cbq9lhVg.js +2 -0
  86. package/dist/view-config.schema-D7TH6B1r.mjs +2 -0
  87. package/package.json +2 -2
  88. package/dist/config-DGw5vxzO.mjs +0 -2
  89. package/dist/config-DWvtyZbu.js +0 -2
  90. package/dist/record-operation-CI4g4_0b.mjs +0 -2
  91. package/dist/record-operation-FgJuRZP7.js +0 -2
  92. package/dist/view-config.schema-BfBy0nTj.mjs +0 -2
  93. package/dist/view-config.schema-CDyKFQJc.js +0 -2
@@ -1,14 +1,14 @@
1
1
 
2
- import { Uuid } from "./utils-CydvpWQ3.js";
3
- import { ListViewTabVisibility, ObjectDefinition, ResourceVisibility, ViewerAccess } from "./objects-BF1wXeoe.js";
4
- import { Attribute, AttributeType, Currency, DateAttribute, DateRangeValue, DocumentAttribute, FormulaAttribute, Location, MultiselectAttribute, Phone, RollupAttribute, SelectAttribute, StatusAttribute } from "./attributes-D1VjqvO5.js";
5
- import "./index-s0zR7PJ9.js";
6
- import "./index-DP-x7d5U.js";
7
- import "./index-DNQspfYW.js";
8
- import "./text-C6KKZDNh.js";
9
- import "./number-DlR6jvKt.js";
10
- import "./checkbox-Bywsfist.js";
11
- import "./date-DEqIFzxi.js";
2
+ import { Uuid } from "./utils-DDQvppjN.js";
3
+ import { ListViewTabVisibility, ObjectDefinition, ResourceVisibility, ViewerAccess } from "./objects-DgAAilNd.js";
4
+ import { Attribute, AttributeType, Currency, DateAttribute, DateRangeValue, DocumentAttribute, FormulaAttribute, Location, MultiselectAttribute, Phone, RollupAttribute, SelectAttribute, StatusAttribute } from "./attributes-DHbSq5-c.js";
5
+ import "./index-D4KxKEL_.js";
6
+ import "./index-ea_C0sbY.js";
7
+ import "./index-Jjt6ggWu.js";
8
+ import "./text-CIY_GzA4.js";
9
+ import "./number-MnY5CLQ-.js";
10
+ import "./checkbox-BgyfKv2J.js";
11
+ import "./date-CDg8dTJA.js";
12
12
  import * as z$2 from "zod";
13
13
  import { IconName } from "@standards/constants";
14
14
  //#region src/types/filters.d.ts
@@ -1,14 +1,14 @@
1
1
 
2
- import { Uuid } from "./utils-C2dIMiOB.mjs";
3
- import { ListViewTabVisibility, ObjectDefinition, ResourceVisibility, ViewerAccess } from "./objects-DytubYla.mjs";
4
- import { Attribute, AttributeType, Currency, DateAttribute, DateRangeValue, DocumentAttribute, FormulaAttribute, Location, MultiselectAttribute, Phone, RollupAttribute, SelectAttribute, StatusAttribute } from "./attributes-1HV1p4Xw.mjs";
5
- import "./index-DCpxmDHb.mjs";
6
- import "./index-DoLzTeu1.mjs";
7
- import "./index-BdOS1g9i.mjs";
8
- import "./text-BUFRXrWY.mjs";
9
- import "./number-CCfz8McR.mjs";
10
- import "./checkbox-BBcPJrxb.mjs";
11
- import "./date-Bj8voQf-.mjs";
2
+ import { Uuid } from "./utils-BrTiR8t6.mjs";
3
+ import { ListViewTabVisibility, ObjectDefinition, ResourceVisibility, ViewerAccess } from "./objects-q1d_wU_1.mjs";
4
+ import { Attribute, AttributeType, Currency, DateAttribute, DateRangeValue, DocumentAttribute, FormulaAttribute, Location, MultiselectAttribute, Phone, RollupAttribute, SelectAttribute, StatusAttribute } from "./attributes-ybI2RY0p.mjs";
5
+ import "./index-Csfui8Qm.mjs";
6
+ import "./index-DICp0at8.mjs";
7
+ import "./index-BttvvaQY.mjs";
8
+ import "./text-BjaTSXw_.mjs";
9
+ import "./number-CASI8GSl.mjs";
10
+ import "./checkbox-DvtCTshQ.mjs";
11
+ import "./date-B9livx2w.mjs";
12
12
  import * as z$2 from "zod";
13
13
  import { IconName } from "@standards/constants";
14
14
  //#region src/types/filters.d.ts
@@ -1,10 +1,10 @@
1
1
 
2
- import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-CPpO7bl9.mjs";
3
- import { AgentDefinitionAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-DytubYla.mjs";
4
- import { Attribute } from "../attributes-1HV1p4Xw.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-zjcfmatR.mjs";
6
- import { CollectionContentSource, ContentViewDefinition, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-DSB4gTCU.mjs";
7
- import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-DCpxmDHb.mjs";
2
+ import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-CeP0QxYo.mjs";
3
+ import { AgentDefinitionAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-q1d_wU_1.mjs";
4
+ import { Attribute } from "../attributes-ybI2RY0p.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, AvailableBundleSummary, BinaryResponse, BrowserProfileView, BundleAddPlan, BundleAddResult, 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, InstalledBundleSummary, 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, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, StartConnectorAuthResult, SubmitOutcome, SyncBundleInput, SyncBundleResult, SystemPermissions, TenantInvitation, TenantSettingsResponse, TriggerEventType, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-Dpcmxf-Y.mjs";
6
+ import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-CGQkHUAG.mjs";
7
+ import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-Csfui8Qm.mjs";
8
8
  import * as z$2 from "zod";
9
9
  //#region src/api/path.d.ts
10
10
  /**
@@ -287,7 +287,7 @@ export declare const agentMemoryOperations: {
287
287
  //#endregion
288
288
  //#region src/api/schema-groups.operations.d.ts
289
289
  export declare const schemaGroupsOperations: {
290
- /** The bundles and sources that own objects, with their presentation. */
290
+ /** The synced bundles (core excepted) that own objects, each with its label. */
291
291
  list: Operation<{
292
292
  readonly name: "schemaGroups.list";
293
293
  readonly method: "GET";
@@ -735,138 +735,133 @@ export declare const notificationsOperations: {
735
735
  };
736
736
  //#endregion
737
737
  //#region src/api/bundles.operations.d.ts
738
- /**
739
- * Admin-gated (settings:manage): client-facing self-service and its
740
- * finer-grained auth are deferred to the platform layer.
738
+ declare const bundleAddInput: z$2.ZodObject<{
739
+ bundles: z$2.ZodArray<z$2.ZodString>;
740
+ withSamples: z$2.ZodOptional<z$2.ZodBoolean>;
741
+ locale: z$2.ZodEnum<{
742
+ fr: "fr";
743
+ en: "en";
744
+ }>;
745
+ notes: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodString>>;
746
+ }, z$2.core.$strip>;
747
+ /** An added install: whole bundles (with their `uses`) in one locale. */
748
+ export type BundleAddInput = z$2.infer<typeof bundleAddInput>;
749
+ declare const bundleDecision: z$2.ZodUnion<readonly [z$2.ZodLiteral<"bind">, z$2.ZodLiteral<"skip">, z$2.ZodObject<{
750
+ rename: z$2.ZodString;
751
+ }, z$2.core.$strip>]>;
752
+ /** What a colliding piece becomes: bound to the existing one, skipped, or created under a new name. */
753
+ export type BundleDecision = z$2.infer<typeof bundleDecision>;
754
+ /**
755
+ * The bundle registry of a workspace. A synced bundle keeps owning its pieces
756
+ * (`sync`, `remove`); an added one is a copy the workspace owns (`preview`,
757
+ * `add`). Validation, hashing, ownership and migration arbitration live in the
758
+ * runtime: a pushed bundle is handed on as sent. A CI sync carries a whole
759
+ * bundle in one call, so every route is out of the host's throttler
760
+ * (rate-limited upstream).
741
761
  */
742
762
  export declare const bundlesOperations: {
743
- /** Assign (sell) a bundle to the current tenant; idempotent. */
744
- assign: Operation<{
745
- readonly name: "bundles.assign";
746
- readonly method: "POST";
747
- readonly path: "/bundles/assign";
748
- readonly input: z$2.ZodObject<{
749
- bundleId: z$2.ZodString;
750
- }, z$2.core.$strip>;
751
- readonly output: OutputType<TenantBundle>;
752
- readonly permission: readonly ["settings", "manage"];
753
- }>;
754
- /** Deactivate the assignment and demote its orphaned objects. */
755
- uninstall: Operation<{
756
- readonly name: "bundles.uninstall";
757
- readonly method: "DELETE";
758
- readonly path: "/bundles/:bundleId";
759
- readonly input: z$2.ZodObject<{
760
- bundleId: z$2.ZodString;
761
- }, z$2.core.$strip>;
762
- readonly output: OutputType<BundleSyncResult>;
763
- readonly permission: readonly ["settings", "manage"];
764
- }>;
765
- listAssigned: Operation<{
766
- readonly name: "bundles.listAssigned";
767
- readonly method: "GET";
768
- readonly path: "/bundles/assigned";
769
- readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
770
- readonly output: OutputType<TenantBundle[]>;
771
- readonly permission: readonly ["settings", "manage"];
772
- }>;
773
- /** Assigned bundles whose declared version is ahead of the applied one. */
774
- listUpdatable: Operation<{
775
- readonly name: "bundles.listUpdatable";
776
- readonly method: "GET";
777
- readonly path: "/bundles/updatable";
778
- readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
779
- readonly output: OutputType<UpdatableBundle[]>;
780
- readonly permission: readonly ["settings", "manage"];
781
- }>;
782
- /** Apply the assigned bundles: picks up new bundle versions (additive sync). */
783
- update: Operation<{
784
- readonly name: "bundles.update";
785
- readonly method: "POST";
786
- readonly path: "/bundles/update";
787
- readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
788
- readonly output: OutputType<BundleSyncResult>;
789
- readonly permission: readonly ["settings", "manage"];
790
- }>;
791
- };
792
- //#endregion
793
- //#region src/api/catalog.operations.d.ts
794
- export declare const catalogOperations: {
763
+ /** The installed bundles, and the bundles the workspace may add. */
795
764
  list: Operation<{
796
- readonly name: "catalog.list";
765
+ readonly name: "bundles.list";
797
766
  readonly method: "GET";
798
- readonly path: "/catalog";
767
+ readonly path: "/bundles";
799
768
  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<{
769
+ locale: z$2.ZodOptional<z$2.ZodEnum<{
807
770
  fr: "fr";
808
771
  en: "en";
809
- }>;
772
+ }>>;
810
773
  }, z$2.core.$strip>;
811
774
  readonly output: OutputType<{
812
- entries: CatalogEntrySummary[];
813
- packs: CatalogPackSummary[];
775
+ installed: InstalledBundleSummary[];
776
+ available: AvailableBundleSummary[];
814
777
  }>;
815
778
  readonly permission: readonly ["architect", "read"];
779
+ readonly throttle: "skip";
816
780
  }>;
817
- read: Operation<{
818
- readonly name: "catalog.read";
781
+ /** One installed bundle; 404 when it is not installed. */
782
+ get: Operation<{
783
+ readonly name: "bundles.get";
819
784
  readonly method: "GET";
820
- readonly path: "/catalog/:id";
785
+ readonly path: "/bundles/:name";
821
786
  readonly input: z$2.ZodObject<{
822
- id: z$2.ZodString;
823
- locale: z$2.ZodEnum<{
824
- fr: "fr";
825
- en: "en";
826
- }>;
787
+ name: z$2.ZodString;
827
788
  }, z$2.core.$strip>;
828
- readonly output: OutputType<CatalogEntryDetail>;
789
+ readonly output: OutputType<InstalledBundleSummary>;
829
790
  readonly permission: readonly ["architect", "read"];
791
+ readonly throttle: "skip";
792
+ }>;
793
+ /**
794
+ * Install or update a synced bundle from its built artifact (`resolutions`
795
+ * outside the hash). The whole body is `bundle`, as sent: the artifact
796
+ * carries its own `name`, which a body key repeating the path parameter
797
+ * would otherwise be refused for. The path `:name` is authoritative; a body
798
+ * name, when present, must equal it (the server refuses a mismatch).
799
+ */
800
+ sync: Operation<{
801
+ readonly name: "bundles.sync";
802
+ readonly method: "PUT";
803
+ readonly path: "/bundles/:name";
804
+ readonly input: z$2.ZodObject<{
805
+ name: z$2.ZodString;
806
+ bundle: z$2.ZodType<SyncBundleInput, SyncBundleInput, z$2.core.$ZodTypeInternals<SyncBundleInput, SyncBundleInput>>;
807
+ }, z$2.core.$strip>;
808
+ readonly body: "bundle";
809
+ readonly output: OutputType<SyncBundleResult>;
810
+ readonly permission: readonly ["architect", "update"];
811
+ readonly throttle: "skip";
812
+ }>;
813
+ /** Remove a synced bundle; its pieces are demoted, never deleted. */
814
+ remove: Operation<{
815
+ readonly name: "bundles.remove";
816
+ readonly method: "DELETE";
817
+ readonly path: "/bundles/:name";
818
+ readonly input: z$2.ZodObject<{
819
+ name: z$2.ZodString;
820
+ }, z$2.core.$strip>;
821
+ readonly output: OutputType<void>;
822
+ readonly permission: readonly ["architect", "delete"];
823
+ readonly status: 204;
824
+ readonly throttle: "skip";
830
825
  }>;
826
+ /** What adding these bundles would write, and the fingerprint `add` must carry. */
831
827
  preview: Operation<{
832
- readonly name: "catalog.preview";
828
+ readonly name: "bundles.preview";
833
829
  readonly method: "POST";
834
- readonly path: "/catalog/preview";
830
+ readonly path: "/bundles/preview";
835
831
  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>;
832
+ bundles: z$2.ZodArray<z$2.ZodString>;
833
+ withSamples: z$2.ZodOptional<z$2.ZodBoolean>;
840
834
  locale: z$2.ZodEnum<{
841
835
  fr: "fr";
842
836
  en: "en";
843
837
  }>;
844
- withSamples: z$2.ZodBoolean;
838
+ notes: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodString>>;
845
839
  }, z$2.core.$strip>;
846
- readonly output: OutputType<CatalogInstallPlan>;
840
+ readonly output: OutputType<BundleAddPlan>;
847
841
  readonly permission: readonly ["architect", "read"];
842
+ readonly throttle: "skip";
848
843
  }>;
849
- install: Operation<{
850
- readonly name: "catalog.install";
844
+ /** Add whole bundles as copies the workspace owns, with the preview's decisions. */
845
+ add: Operation<{
846
+ readonly name: "bundles.add";
851
847
  readonly method: "POST";
852
- readonly path: "/catalog/install";
848
+ readonly path: "/bundles/add";
853
849
  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>;
850
+ bundles: z$2.ZodArray<z$2.ZodString>;
851
+ withSamples: z$2.ZodOptional<z$2.ZodBoolean>;
858
852
  locale: z$2.ZodEnum<{
859
853
  fr: "fr";
860
854
  en: "en";
861
855
  }>;
862
- withSamples: z$2.ZodBoolean;
856
+ notes: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodString>>;
863
857
  decisions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnion<readonly [z$2.ZodLiteral<"bind">, z$2.ZodLiteral<"skip">, z$2.ZodObject<{
864
858
  rename: z$2.ZodString;
865
859
  }, z$2.core.$strip>]>>;
866
860
  fingerprint: z$2.ZodString;
867
861
  }, z$2.core.$strip>;
868
- readonly output: OutputType<CatalogInstallResult>;
862
+ readonly output: OutputType<BundleAddResult>;
869
863
  readonly permission: readonly ["architect", "create"];
864
+ readonly throttle: "skip";
870
865
  }>;
871
866
  };
872
867
  //#endregion
@@ -4066,103 +4061,6 @@ export declare const schemaStateOperations: {
4066
4061
  }>;
4067
4062
  };
4068
4063
  //#endregion
4069
- //#region src/api/schema-sources.operations.d.ts
4070
- export interface PushSchemaSourceInput {
4071
- hash: string;
4072
- objects: ObjectDefinition[];
4073
- views: ContentViewDefinition[];
4074
- /** Absent → unchanged, `null` → cleared, value → validated and stored. Outside the hash. */
4075
- label?: string | null;
4076
- icon?: string | null;
4077
- /**
4078
- * The renames and retypes this push resolves (#4362). Outside the hash: a
4079
- * push whose hash is already stored applies none of them.
4080
- */
4081
- resolutions?: SchemaSourceResolution[];
4082
- }
4083
- export interface SchemaSourceSummary {
4084
- sourceId: string;
4085
- hash: string;
4086
- appliedAt: string;
4087
- objectNames: string[];
4088
- label: string | null;
4089
- icon: string | null;
4090
- }
4091
- export interface PushSchemaSourceResult {
4092
- applied: boolean;
4093
- hash: string;
4094
- objects?: {
4095
- created: number;
4096
- updated: number;
4097
- deleted: number;
4098
- };
4099
- views?: {
4100
- created: number;
4101
- updated: number;
4102
- adopted: number;
4103
- released: number;
4104
- };
4105
- }
4106
- /**
4107
- * Remote schema sources — an external codebase's fluent-builder definitions
4108
- * applied to this tenant as code-owned system entities. Validation, hashing,
4109
- * ownership and migration arbitration all live in `SchemaSourceService`: the
4110
- * pushed payload is handed on as sent, and an ambiguous system change is its
4111
- * 400 `SCHEMA_AMBIGUOUS_CHANGE`. A CI push carries a whole schema in one call,
4112
- * so every route is out of the host's throttler (rate-limited upstream).
4113
- */
4114
- export declare const schemaSourcesOperations: {
4115
- /** Summaries: hash, appliedAt, objectNames. */
4116
- list: Operation<{
4117
- readonly name: "schemaSources.list";
4118
- readonly method: "GET";
4119
- readonly path: "/schema/sources";
4120
- readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
4121
- readonly output: OutputType<{
4122
- sources: SchemaSourceSummary[];
4123
- }>;
4124
- readonly permission: readonly ["architect", "read"];
4125
- readonly throttle: "skip";
4126
- }>;
4127
- /** One summary; 404 when never pushed. */
4128
- get: Operation<{
4129
- readonly name: "schemaSources.get";
4130
- readonly method: "GET";
4131
- readonly path: "/schema/sources/:sourceId";
4132
- readonly input: z$2.ZodObject<{
4133
- sourceId: z$2.ZodString;
4134
- }, z$2.core.$strip>;
4135
- readonly output: OutputType<SchemaSourceSummary>;
4136
- readonly permission: readonly ["architect", "read"];
4137
- readonly throttle: "skip";
4138
- }>;
4139
- /** Apply `{ hash, objects, views, label?, icon?, resolutions? }`, judged by the service. */
4140
- push: Operation<{
4141
- readonly name: "schemaSources.push";
4142
- readonly method: "PUT";
4143
- readonly path: "/schema/sources/:sourceId";
4144
- readonly input: z$2.ZodIntersection<z$2.ZodObject<{
4145
- sourceId: z$2.ZodString;
4146
- }, z$2.core.$strip>, z$2.ZodType<PushSchemaSourceInput, PushSchemaSourceInput, z$2.core.$ZodTypeInternals<PushSchemaSourceInput, PushSchemaSourceInput>>>;
4147
- readonly output: OutputType<PushSchemaSourceResult>;
4148
- readonly permission: readonly ["architect", "update"];
4149
- readonly throttle: "skip";
4150
- }>;
4151
- /** Remove; owned objects are demoted, never deleted. */
4152
- remove: Operation<{
4153
- readonly name: "schemaSources.remove";
4154
- readonly method: "DELETE";
4155
- readonly path: "/schema/sources/:sourceId";
4156
- readonly input: z$2.ZodObject<{
4157
- sourceId: z$2.ZodString;
4158
- }, z$2.core.$strip>;
4159
- readonly output: OutputType<void>;
4160
- readonly permission: readonly ["architect", "delete"];
4161
- readonly status: 204;
4162
- readonly throttle: "skip";
4163
- }>;
4164
- };
4165
- //#endregion
4166
4064
  //#region src/api/schema-objects.operations.d.ts
4167
4065
  /**
4168
4066
  * An attribute as it comes back from a save, with the server's non-blocking