@standards/schema 1.0.0-alpha.418 → 1.0.0-alpha.419

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 (36) hide show
  1. package/dist/{all-1pGx58g6.mjs → all-BFZvSwku.mjs} +1 -1
  2. package/dist/{all-C-tG86Pt.d.mts → all-CcI67hiC.d.mts} +1 -1
  3. package/dist/{all-DxVkjo74.d.ts → all-cpt9cxka.d.ts} +1 -1
  4. package/dist/{all-B1SMbpC9.js → all-kYfkyIit.js} +1 -1
  5. package/dist/api/index.d.mts +793 -46
  6. package/dist/api/index.d.ts +793 -46
  7. package/dist/api/index.js +1 -1
  8. package/dist/api/index.mjs +1 -1
  9. package/dist/{exceptions-BQiNZXm5.d.mts → exceptions-C3d0YoMy.d.mts} +8 -0
  10. package/dist/{exceptions-g7YWWqxM.d.ts → exceptions-DzEpWPJ7.d.ts} +8 -0
  11. package/dist/exceptions.d.mts +1 -1
  12. package/dist/exceptions.d.ts +1 -1
  13. package/dist/exceptions.js +1 -1
  14. package/dist/exceptions.mjs +1 -1
  15. package/dist/{index-B_nj48YC.d.mts → index-D59FeAd4.d.mts} +358 -71
  16. package/dist/{index-DsmLdvid.d.ts → index-DhzoMOYA.d.ts} +358 -71
  17. package/dist/index.d.mts +5 -5
  18. package/dist/index.d.ts +5 -5
  19. package/dist/index.js +2 -2
  20. package/dist/index.mjs +2 -2
  21. package/dist/{primitives-CXio5R1q.mjs → primitives-B-h9MEQ4.mjs} +1 -1
  22. package/dist/{primitives-B4ZEOP32.js → primitives-CvuPz5hX.js} +1 -1
  23. package/dist/record-operation-BYjGrZ1R.js +2 -0
  24. package/dist/record-operation-q6w-3EDJ.mjs +2 -0
  25. package/dist/{utils-Cb1wqWLJ.d.mts → utils-Bl7NhRVP.d.mts} +1 -1
  26. package/dist/{utils-zJGDp1O7.d.ts → utils-YUFgn36U.d.ts} +1 -1
  27. package/dist/utils.d.mts +1 -1
  28. package/dist/utils.d.ts +1 -1
  29. package/dist/validation/all.d.mts +1 -1
  30. package/dist/validation/all.d.ts +1 -1
  31. package/dist/validation/all.js +1 -1
  32. package/dist/validation/all.mjs +1 -1
  33. package/openapi.json +24996 -0
  34. package/package.json +4 -2
  35. package/dist/record-operation-Ce5oJe9K.js +0 -2
  36. package/dist/record-operation-DszVqr_i.mjs +0 -2
@@ -1,9 +1,28 @@
1
1
 
2
- import { AIAvailableModel, AIGenerationResult, AIGenerationType, AccessCapabilities, AccessLevel, Actor, ActorStatus, ActorType, AgentAsideExchange, AgentConversationOverview, AgentDefinition, AgentDefinitionActivity, AgentDefinitionDailyActivity, AgentMemoryView, AgentMessageAttachment, AgentRun, AgentSession, AgentSessionHistoryPage, AgentSessionLink, AgentSessionMessage, AgentSessionMode, AgentTodoPlanView, AgentToolCatalog, AgentTriggerDefinition, AgentWakeView, AggregateGroupByInput, ApiKey, ApiKeyWithSecret, ArchitectProjection, ArtifactQuote, ArtifactRevisionView, AuditListOptions, AuditLogEntry, AuthorizedGlobalSearchResult, AuthorizedSearchPage, AvailableBundleSummary, BinaryResponse, BrowserProfileView, BundleAddPlan, BundleAddResult, ClassifyEmailResult, CloudBrowserLiveView, CollectionResponse, CollectionScreen, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, Decision, DecisionArchiveAllResult, DecisionAttachment, DecisionCounts, DecisionListParams, DecisionListResult, DecisionTransferTargets, DecisionWithRecipient, DeviceDesktopStatus, DeviceShell, 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, MEETINGS_MAX_ONLY_CONNECTIONS, MailDraft, MailDraftAttachment, MailSignature, MailboxAccount, MailboxCursor, MailboxEmail, MailboxListResponse, MailboxLocation, MailboxQuery, MailboxReadState, MailboxThreadDetail, McpCatalogEntry, McpOAuthAttemptStarted, McpOAuthAttemptView, McpOAuthCompletionMode, McpServerView, Member, MentionReference, ModelDefinition, MoveImpact, MutationReceipt, MyPreferences, NativeToolGroup, NewsBody, NewsIndex, ObjectPermissions, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PageData, PageRead, PageSummary, PathParams, Permission, PreferenceEntry, ProposalRevision, PublishBlocker, QuotaState, RecipientIdentity, RecipientSuggestion, RecordAggregates, RecordDocuments, RecordDriveChild, RecordDriveChildrenPage, RecordDriveSearchResult, RecordGraphNodeRef, RecordGraphRequest, RecordGraphResponse, RecordOperationResult, RecordScreen, RegexGenerationInput, RelationScope, ResolvedRecentActivity, Role, RoutineAudiencePreview, SchemaGroupList, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, SortGenerationInput, StartConnectorAuthResult, SubmitOutcome, SyncBundleInput, SyncBundleResult, SystemPermissions, TenantInvitation, TenantSettingsResponse, TriageResult, TriggerEventType, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-DsmLdvid.js";
3
- import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-g7YWWqxM.js";
2
+ import { AIAvailableModel, AIGenerationResult, AIGenerationType, AccessCapabilities, AccessLevel, ActorType, AgentAsideExchange, AgentConversationOverview, AgentDefinition, AgentDefinitionActivity, AgentDefinitionDailyActivity, AgentMemoryView, AgentMessageAttachment, AgentRun, AgentSession, AgentSessionHistoryPage, AgentSessionLink, AgentSessionMessage, AgentSessionMode, AgentTodoPlanView, AgentToolCatalog, AgentTriggerDefinition, AgentWakeView, AggregateGroupByInput, ApiKey, ApiKeyWithSecret, ArchitectProjection, ArtifactQuote, ArtifactRevisionView, AuditListOptions, AuditLogEntry, AuthorizedGlobalSearchResult, AuthorizedSearchPage, AvailableBundleSummary, BinaryResponse, BrowserProfileView, BundleAddPlan, BundleAddResult, BundleRemovalPreview, BundleStatusEntry, BundleUpdatePlan, ClassifyEmailResult, CloudBrowserLiveView, CollectionResponse, CollectionScreen, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, Decision, DecisionArchiveAllResult, DecisionAttachment, DecisionCounts, DecisionListParams, DecisionListResult, DecisionTransferTargets, DecisionWithRecipient, DeviceDesktopStatus, DeviceShell, 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, MEETINGS_MAX_ONLY_CONNECTIONS, MailDraft, MailDraftAttachment, MailSignature, MailboxAccount, MailboxCursor, MailboxEmail, MailboxListResponse, MailboxLocation, MailboxQuery, MailboxReadState, MailboxThreadDetail, McpCatalogEntry, McpOAuthAttemptStarted, McpServerView, Member, MentionReference, ModelDefinition, MoveImpact, MutationReceipt, MyPreferences, NativeToolGroup, NewsBody, NewsIndex, OAuthAttemptStarted, OAuthAttemptView, OAuthCompleteOutcome, ObjectPermissions, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OperationWireOutput, OutputType, PageData, PageRead, PageSummary, PathParams, Permission, PreferenceEntry, ProposalRevision, PublishBlocker, QuotaState, RecipientIdentity, RecipientSuggestion, RecordAggregates, RecordDocuments, RecordDriveChild, RecordDriveChildrenPage, RecordDriveSearchResult, RecordGraphNodeRef, RecordGraphRequest, RecordGraphResponse, RecordOperationResult, RecordScreen, RegexGenerationInput, RelationScope, ResolvedRecentActivity, Role, RoutineAudiencePreview, SchemaGroupList, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, SortGenerationInput, SubmitOutcome, SyncBundleInput, SyncBundleResult, SystemPermissions, TenantInvitation, TenantSettingsResponse, TriageResult, TriggerEventType, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-DhzoMOYA.js";
4
3
  import "../zod-locale.js";
5
- import { AddAttributeInput, AgentDefinitionAudience, AgentSessionAudience, Attribute, CollectionContentSource, CreateCustomObjectInput, DeviceAudience, FilterState, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience, RecordQueryDefinition, RelationOption, RelationOptionsResponse, SortRule, UpdateObjectInput, ViewRead } from "../all-DxVkjo74.js";
4
+ import { TenantId } from "../utils-YUFgn36U.js";
5
+ import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-DzEpWPJ7.js";
6
+ import { AddAttributeInput, AgentDefinitionAudience, AgentSessionAudience, Attribute, CollectionContentSource, CreateCustomObjectInput, DeviceAudience, FilterState, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience, RecordQueryDefinition, RelationOption, RelationOptionsResponse, SortRule, UpdateObjectInput, ViewRead } from "../all-cpt9cxka.js";
6
7
  import * as z$2 from "zod";
8
+ /**
9
+ * A timestamp on the wire: an ISO 8601 string (`Date#toISOString()`, UTC),
10
+ * a `Date` on either side of it. An output schema built from it is a codec:
11
+ * the server encodes the handler's `Date` into the string, the client decodes
12
+ * the string back into a `Date`, so the type both read is the same.
13
+ */
14
+ export declare const isoDateTime: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
15
+ /** A string the schema checks as a string and types as `T` (a branded id). */
16
+ export declare function brandedString<T extends string>(): z$2.ZodType<T, string>;
17
+ /** The runtime schema of an operation's output, `undefined` when it is declared by type only. */
18
+ export declare function outputSchemaOf(op: Pick<OperationDefinition, "output">): z$2.ZodType | undefined;
19
+ /**
20
+ * What a client makes of a JSON body: an operation with an output schema has
21
+ * its wire form decoded (ISO strings back into `Date`s), keys the schema does
22
+ * not declare dropped. A body the schema refuses — a server ahead of or
23
+ * behind this client — is handed on as it came; the server already logged it.
24
+ */
25
+ export declare function decodeOperationOutput(op: Pick<OperationDefinition, "output">, body: unknown): unknown;
7
26
  /**
8
27
  * `encodeURIComponent` leaves `.` and `..` untouched, and `new URL(relative,
9
28
  * base)` resolves a bare `..` upwards — so those, and the empty segment, are
@@ -18,13 +37,18 @@ export declare function encodePathSegment(segment: string): string;
18
37
  export declare function pathParamNames(path: string): string[];
19
38
  /** Fills the `:param` slots of the operation's path from `input`, each encoded as one segment. */
20
39
  export declare function buildOperationPath(op: Operation, input: Record<string, unknown>): string;
21
- /**
22
- * Splits an operation input into what travels where: path parameters fill the
23
- * path, the keys the operation lists in `headers` travel as those headers, the
24
- * rest goes to the query string for a GET; otherwise the keys the operation
25
- * lists in `query` go to the query string and the rest to the body — or, for
26
- * an operation naming its `body` key, that key's value is the whole body.
27
- */
40
+ /** Where one input key travels; `wholeBody` is the operation's `body` key, whose value is the body. */
41
+ export type InputKeyLocation = "path" | "header" | "query" | "body" | "wholeBody";
42
+ /**
43
+ * The one routing rule of an input key: path parameters fill the path, the
44
+ * keys the operation lists in `headers` travel as those headers, the rest
45
+ * goes to the query string for a GET; otherwise the keys the operation lists
46
+ * in `query` go to the query string and the rest to the body — or, for an
47
+ * operation naming its `body` key, that key's value is the whole body.
48
+ * `splitOperationInput` and the OpenAPI document both read it.
49
+ */
50
+ export declare function inputKeyLocation(op: Operation, key: string): InputKeyLocation;
51
+ /** Splits an operation input into what travels where, by `inputKeyLocation`. */
28
52
  export declare function splitOperationInput(op: Operation, input: Record<string, unknown>): {
29
53
  path: string;
30
54
  query?: Record<string, unknown>;
@@ -931,7 +955,8 @@ export type BundleDecision = z$2.infer<typeof bundleDecision>;
931
955
  /**
932
956
  * The bundle registry of a workspace. A synced bundle keeps owning its pieces
933
957
  * (`sync`, `remove`); an added one is a copy the workspace owns (`preview`,
934
- * `add`). Validation, hashing, ownership and migration arbitration live in the
958
+ * `add`, `updatePreview`, `update`, `removalPreview`, then `remove` with the
959
+ * preview's fingerprint). Validation, hashing, ownership and migration arbitration live in the
935
960
  * runtime: a pushed bundle is handed on as sent. A CI sync carries a whole
936
961
  * bundle in one call, so every route is out of the host's throttler
937
962
  * (rate-limited upstream).
@@ -955,6 +980,61 @@ export declare const bundlesOperations: {
955
980
  readonly permission: readonly ["architect", "read"];
956
981
  readonly throttle: "skip";
957
982
  }>;
983
+ /**
984
+ * Each installed bundle's status and the bundles that depend on it, for the
985
+ * badge and the Installed tab. Not under `/bundles/…`, which `get` answers
986
+ * for any bundle name.
987
+ */
988
+ status: Operation<{
989
+ readonly name: "bundles.status";
990
+ readonly method: "GET";
991
+ readonly path: "/bundle-statuses";
992
+ readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
993
+ readonly output: OutputType<BundleStatusEntry[]>;
994
+ readonly permission: readonly ["architect", "read"];
995
+ readonly throttle: "skip";
996
+ }>;
997
+ /**
998
+ * What updating an added bundle to the version the host offers would do,
999
+ * piece by piece, in the locale it was added in, and the fingerprint
1000
+ * `update` must carry.
1001
+ */
1002
+ updatePreview: Operation<{
1003
+ readonly name: "bundles.updatePreview";
1004
+ readonly method: "GET";
1005
+ readonly path: "/bundles/:name/update";
1006
+ readonly input: z$2.ZodObject<{
1007
+ name: z$2.ZodString;
1008
+ }, z$2.core.$strip>;
1009
+ readonly output: OutputType<BundleUpdatePlan>;
1010
+ readonly permission: readonly ["architect", "read"];
1011
+ readonly throttle: "skip";
1012
+ }>;
1013
+ /**
1014
+ * Update an added bundle as its preview showed: untouched pieces take the
1015
+ * new version, a piece the admin changed is kept unless `take` names it,
1016
+ * a missing one comes back unless `skipMissing` names it, nothing is
1017
+ * removed. A routine written also needs `agents:manage`.
1018
+ */
1019
+ update: Operation<{
1020
+ readonly name: "bundles.update";
1021
+ readonly method: "POST";
1022
+ readonly path: "/bundles/:name/update";
1023
+ readonly input: z$2.ZodObject<{
1024
+ name: z$2.ZodString;
1025
+ fingerprint: z$2.ZodString;
1026
+ take: z$2.ZodArray<z$2.ZodString>;
1027
+ skipMissing: z$2.ZodArray<z$2.ZodString>;
1028
+ decisions: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodUnion<readonly [z$2.ZodLiteral<"bind">, z$2.ZodLiteral<"skip">, z$2.ZodObject<{
1029
+ rename: z$2.ZodString;
1030
+ }, z$2.core.$strip>]>>>;
1031
+ }, z$2.core.$strip>;
1032
+ readonly output: OutputType<{
1033
+ applied: number;
1034
+ }>;
1035
+ readonly permission: readonly ["architect", "update"];
1036
+ readonly throttle: "skip";
1037
+ }>;
958
1038
  /** One installed bundle; 404 when it is not installed. */
959
1039
  get: Operation<{
960
1040
  readonly name: "bundles.get";
@@ -987,13 +1067,42 @@ export declare const bundlesOperations: {
987
1067
  readonly permission: readonly ["architect", "update"];
988
1068
  readonly throttle: "skip";
989
1069
  }>;
990
- /** Remove a synced bundle; its pieces are demoted, never deleted. */
1070
+ /**
1071
+ * What uninstalling an added bundle would delete: its objects with every
1072
+ * record (private and trashed ones included), the views on them, its pages,
1073
+ * agents and skills, and outside it the contents, relations and computed
1074
+ * fields that open or read them, named only on what the caller sees; and
1075
+ * what refuses the uninstall, the bundles that use it (`blockedBy`) and the
1076
+ * labels citing a field that goes (`citedBy`). Under the permission of the
1077
+ * `remove` it precedes.
1078
+ */
1079
+ removalPreview: Operation<{
1080
+ readonly name: "bundles.removalPreview";
1081
+ readonly method: "GET";
1082
+ readonly path: "/bundles/:name/removal";
1083
+ readonly input: z$2.ZodObject<{
1084
+ name: z$2.ZodString;
1085
+ }, z$2.core.$strip>;
1086
+ readonly output: OutputType<BundleRemovalPreview>;
1087
+ readonly permission: readonly ["architect", "delete"];
1088
+ readonly throttle: "skip";
1089
+ }>;
1090
+ /**
1091
+ * Remove a synced bundle: its pieces are demoted, never deleted. Uninstall
1092
+ * an added bundle: `fingerprint` (its removal preview's) and
1093
+ * `confirmedRecords` (the record total the admin confirmed) are then
1094
+ * required, and everything the preview counted is deleted, all or nothing,
1095
+ * its agents also under `agents:delete`. An uninstall confirmed with no
1096
+ * records is refused as stale once records appeared.
1097
+ */
991
1098
  remove: Operation<{
992
1099
  readonly name: "bundles.remove";
993
1100
  readonly method: "DELETE";
994
1101
  readonly path: "/bundles/:name";
995
1102
  readonly input: z$2.ZodObject<{
996
1103
  name: z$2.ZodString;
1104
+ fingerprint: z$2.ZodOptional<z$2.ZodString>;
1105
+ confirmedRecords: z$2.ZodOptional<z$2.ZodNumber>;
997
1106
  }, z$2.core.$strip>;
998
1107
  readonly output: OutputType<void>;
999
1108
  readonly permission: readonly ["architect", "delete"];
@@ -1218,17 +1327,17 @@ export declare const uuidParam: z$2.ZodGUID;
1218
1327
  */
1219
1328
  export declare const actorListQuery: z$2.ZodPipe<z$2.ZodObject<{
1220
1329
  type: z$2.ZodOptional<z$2.ZodType<ActorType, ActorType, z$2.core.$ZodTypeInternals<ActorType, ActorType>>>;
1221
- status: z$2.ZodOptional<z$2.ZodType<ActorStatus, ActorStatus, z$2.core.$ZodTypeInternals<ActorStatus, ActorStatus>>>;
1330
+ status: z$2.ZodOptional<z$2.ZodType<"active" | "deleted" | "suspended", "active" | "deleted" | "suspended", z$2.core.$ZodTypeInternals<"active" | "deleted" | "suspended", "active" | "deleted" | "suspended">>>;
1222
1331
  limit: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodNumber]>>;
1223
1332
  offset: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodNumber]>>;
1224
1333
  }, z$2.core.$strip>, z$2.ZodTransform<{
1225
1334
  type: ActorType | undefined;
1226
- status: ActorStatus | undefined;
1335
+ status: "active" | "deleted" | "suspended" | undefined;
1227
1336
  limit: number;
1228
1337
  offset: number;
1229
1338
  }, {
1230
1339
  type?: ActorType | undefined;
1231
- status?: ActorStatus | undefined;
1340
+ status?: "active" | "deleted" | "suspended" | undefined;
1232
1341
  limit?: string | number | undefined;
1233
1342
  offset?: string | number | undefined;
1234
1343
  }>>;
@@ -1249,21 +1358,164 @@ export declare const actorsOperations: {
1249
1358
  readonly path: "/actors";
1250
1359
  readonly input: z$2.ZodPipe<z$2.ZodObject<{
1251
1360
  type: z$2.ZodOptional<z$2.ZodType<ActorType, ActorType, z$2.core.$ZodTypeInternals<ActorType, ActorType>>>;
1252
- status: z$2.ZodOptional<z$2.ZodType<ActorStatus, ActorStatus, z$2.core.$ZodTypeInternals<ActorStatus, ActorStatus>>>;
1361
+ status: z$2.ZodOptional<z$2.ZodType<"active" | "deleted" | "suspended", "active" | "deleted" | "suspended", z$2.core.$ZodTypeInternals<"active" | "deleted" | "suspended", "active" | "deleted" | "suspended">>>;
1253
1362
  limit: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodNumber]>>;
1254
1363
  offset: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodNumber]>>;
1255
1364
  }, z$2.core.$strip>, z$2.ZodTransform<{
1256
1365
  type: ActorType | undefined;
1257
- status: ActorStatus | undefined;
1366
+ status: "active" | "deleted" | "suspended" | undefined;
1258
1367
  limit: number;
1259
1368
  offset: number;
1260
1369
  }, {
1261
1370
  type?: ActorType | undefined;
1262
- status?: ActorStatus | undefined;
1371
+ status?: "active" | "deleted" | "suspended" | undefined;
1263
1372
  limit?: string | number | undefined;
1264
1373
  offset?: string | number | undefined;
1265
1374
  }>>;
1266
- readonly output: OutputType<Actor[]>;
1375
+ readonly output: z$2.ZodArray<z$2.ZodDiscriminatedUnion<[z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
1376
+ id: z$2.ZodString;
1377
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1378
+ displayName: z$2.ZodString;
1379
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1380
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1381
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1382
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1383
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1384
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1385
+ } & {
1386
+ type: z$2.ZodLiteral<"user">;
1387
+ status: z$2.ZodLiteral<"active">;
1388
+ subjectId: z$2.ZodString;
1389
+ }, z$2.core.$strip>, z$2.ZodObject<{
1390
+ id: z$2.ZodString;
1391
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1392
+ displayName: z$2.ZodString;
1393
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1394
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1395
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1396
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1397
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1398
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1399
+ } & {
1400
+ type: z$2.ZodLiteral<"user">;
1401
+ status: z$2.ZodLiteral<"suspended">;
1402
+ subjectId: z$2.ZodString;
1403
+ }, z$2.core.$strip>, z$2.ZodObject<{
1404
+ id: z$2.ZodString;
1405
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1406
+ displayName: z$2.ZodString;
1407
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1408
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1409
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1410
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1411
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1412
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1413
+ } & {
1414
+ type: z$2.ZodLiteral<"user">;
1415
+ status: z$2.ZodLiteral<"deleted">;
1416
+ subjectId: z$2.ZodNullable<z$2.ZodString>;
1417
+ }, z$2.core.$strip>], "status">, z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
1418
+ id: z$2.ZodString;
1419
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1420
+ displayName: z$2.ZodString;
1421
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1422
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1423
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1424
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1425
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1426
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1427
+ } & {
1428
+ type: z$2.ZodLiteral<"agent">;
1429
+ status: z$2.ZodLiteral<"active">;
1430
+ subjectId: z$2.ZodString;
1431
+ }, z$2.core.$strip>, z$2.ZodObject<{
1432
+ id: z$2.ZodString;
1433
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1434
+ displayName: z$2.ZodString;
1435
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1436
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1437
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1438
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1439
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1440
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1441
+ } & {
1442
+ type: z$2.ZodLiteral<"agent">;
1443
+ status: z$2.ZodLiteral<"suspended">;
1444
+ subjectId: z$2.ZodString;
1445
+ }, z$2.core.$strip>, z$2.ZodObject<{
1446
+ id: z$2.ZodString;
1447
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1448
+ displayName: z$2.ZodString;
1449
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1450
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1451
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1452
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1453
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1454
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1455
+ } & {
1456
+ type: z$2.ZodLiteral<"agent">;
1457
+ status: z$2.ZodLiteral<"deleted">;
1458
+ subjectId: z$2.ZodNullable<z$2.ZodString>;
1459
+ }, z$2.core.$strip>], "status">, z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
1460
+ id: z$2.ZodString;
1461
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1462
+ displayName: z$2.ZodString;
1463
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1464
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1465
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1466
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1467
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1468
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1469
+ } & {
1470
+ type: z$2.ZodLiteral<"api_key">;
1471
+ status: z$2.ZodLiteral<"active">;
1472
+ subjectId: z$2.ZodString;
1473
+ }, z$2.core.$strip>, z$2.ZodObject<{
1474
+ id: z$2.ZodString;
1475
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1476
+ displayName: z$2.ZodString;
1477
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1478
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1479
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1480
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1481
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1482
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1483
+ } & {
1484
+ type: z$2.ZodLiteral<"api_key">;
1485
+ status: z$2.ZodLiteral<"suspended">;
1486
+ subjectId: z$2.ZodString;
1487
+ }, z$2.core.$strip>, z$2.ZodObject<{
1488
+ id: z$2.ZodString;
1489
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1490
+ displayName: z$2.ZodString;
1491
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1492
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1493
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1494
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1495
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1496
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1497
+ } & {
1498
+ type: z$2.ZodLiteral<"api_key">;
1499
+ status: z$2.ZodLiteral<"deleted">;
1500
+ subjectId: z$2.ZodNullable<z$2.ZodString>;
1501
+ }, z$2.core.$strip>], "status">, z$2.ZodObject<{
1502
+ id: z$2.ZodString;
1503
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1504
+ displayName: z$2.ZodString;
1505
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1506
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1507
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1508
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1509
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1510
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1511
+ type: z$2.ZodLiteral<"system">;
1512
+ status: z$2.ZodEnum<{
1513
+ active: "active";
1514
+ deleted: "deleted";
1515
+ suspended: "suspended";
1516
+ }>;
1517
+ subjectId: z$2.ZodOptional<z$2.ZodNull>;
1518
+ }, z$2.core.$strip>], "type">>;
1267
1519
  readonly permission: readonly ["people", "read"];
1268
1520
  }>;
1269
1521
  /**
@@ -1275,7 +1527,150 @@ export declare const actorsOperations: {
1275
1527
  readonly method: "GET";
1276
1528
  readonly path: "/actors/me";
1277
1529
  readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
1278
- readonly output: OutputType<Actor>;
1530
+ readonly output: z$2.ZodDiscriminatedUnion<[z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
1531
+ id: z$2.ZodString;
1532
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1533
+ displayName: z$2.ZodString;
1534
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1535
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1536
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1537
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1538
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1539
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1540
+ } & {
1541
+ type: z$2.ZodLiteral<"user">;
1542
+ status: z$2.ZodLiteral<"active">;
1543
+ subjectId: z$2.ZodString;
1544
+ }, z$2.core.$strip>, z$2.ZodObject<{
1545
+ id: z$2.ZodString;
1546
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1547
+ displayName: z$2.ZodString;
1548
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1549
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1550
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1551
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1552
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1553
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1554
+ } & {
1555
+ type: z$2.ZodLiteral<"user">;
1556
+ status: z$2.ZodLiteral<"suspended">;
1557
+ subjectId: z$2.ZodString;
1558
+ }, z$2.core.$strip>, z$2.ZodObject<{
1559
+ id: z$2.ZodString;
1560
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1561
+ displayName: z$2.ZodString;
1562
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1563
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1564
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1565
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1566
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1567
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1568
+ } & {
1569
+ type: z$2.ZodLiteral<"user">;
1570
+ status: z$2.ZodLiteral<"deleted">;
1571
+ subjectId: z$2.ZodNullable<z$2.ZodString>;
1572
+ }, z$2.core.$strip>], "status">, z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
1573
+ id: z$2.ZodString;
1574
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1575
+ displayName: z$2.ZodString;
1576
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1577
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1578
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1579
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1580
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1581
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1582
+ } & {
1583
+ type: z$2.ZodLiteral<"agent">;
1584
+ status: z$2.ZodLiteral<"active">;
1585
+ subjectId: z$2.ZodString;
1586
+ }, z$2.core.$strip>, z$2.ZodObject<{
1587
+ id: z$2.ZodString;
1588
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1589
+ displayName: z$2.ZodString;
1590
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1591
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1592
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1593
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1594
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1595
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1596
+ } & {
1597
+ type: z$2.ZodLiteral<"agent">;
1598
+ status: z$2.ZodLiteral<"suspended">;
1599
+ subjectId: z$2.ZodString;
1600
+ }, z$2.core.$strip>, z$2.ZodObject<{
1601
+ id: z$2.ZodString;
1602
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1603
+ displayName: z$2.ZodString;
1604
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1605
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1606
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1607
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1608
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1609
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1610
+ } & {
1611
+ type: z$2.ZodLiteral<"agent">;
1612
+ status: z$2.ZodLiteral<"deleted">;
1613
+ subjectId: z$2.ZodNullable<z$2.ZodString>;
1614
+ }, z$2.core.$strip>], "status">, z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
1615
+ id: z$2.ZodString;
1616
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1617
+ displayName: z$2.ZodString;
1618
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1619
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1620
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1621
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1622
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1623
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1624
+ } & {
1625
+ type: z$2.ZodLiteral<"api_key">;
1626
+ status: z$2.ZodLiteral<"active">;
1627
+ subjectId: z$2.ZodString;
1628
+ }, z$2.core.$strip>, z$2.ZodObject<{
1629
+ id: z$2.ZodString;
1630
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1631
+ displayName: z$2.ZodString;
1632
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1633
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1634
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1635
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1636
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1637
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1638
+ } & {
1639
+ type: z$2.ZodLiteral<"api_key">;
1640
+ status: z$2.ZodLiteral<"suspended">;
1641
+ subjectId: z$2.ZodString;
1642
+ }, z$2.core.$strip>, z$2.ZodObject<{
1643
+ id: z$2.ZodString;
1644
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1645
+ displayName: z$2.ZodString;
1646
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1647
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1648
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1649
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1650
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1651
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1652
+ } & {
1653
+ type: z$2.ZodLiteral<"api_key">;
1654
+ status: z$2.ZodLiteral<"deleted">;
1655
+ subjectId: z$2.ZodNullable<z$2.ZodString>;
1656
+ }, z$2.core.$strip>], "status">, z$2.ZodObject<{
1657
+ id: z$2.ZodString;
1658
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1659
+ displayName: z$2.ZodString;
1660
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1661
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1662
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1663
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1664
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1665
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1666
+ type: z$2.ZodLiteral<"system">;
1667
+ status: z$2.ZodEnum<{
1668
+ active: "active";
1669
+ deleted: "deleted";
1670
+ suspended: "suspended";
1671
+ }>;
1672
+ subjectId: z$2.ZodOptional<z$2.ZodNull>;
1673
+ }, z$2.core.$strip>], "type">;
1279
1674
  readonly actor: "required";
1280
1675
  }>;
1281
1676
  /** `ids` comma-separated; absent or empty answers `[]`. Identity bootstrap: ungated. */
@@ -1290,7 +1685,150 @@ export declare const actorsOperations: {
1290
1685
  }, {
1291
1686
  ids?: string | undefined;
1292
1687
  }>>;
1293
- readonly output: OutputType<Actor[]>;
1688
+ readonly output: z$2.ZodArray<z$2.ZodDiscriminatedUnion<[z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
1689
+ id: z$2.ZodString;
1690
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1691
+ displayName: z$2.ZodString;
1692
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1693
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1694
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1695
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1696
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1697
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1698
+ } & {
1699
+ type: z$2.ZodLiteral<"user">;
1700
+ status: z$2.ZodLiteral<"active">;
1701
+ subjectId: z$2.ZodString;
1702
+ }, z$2.core.$strip>, z$2.ZodObject<{
1703
+ id: z$2.ZodString;
1704
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1705
+ displayName: z$2.ZodString;
1706
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1707
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1708
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1709
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1710
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1711
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1712
+ } & {
1713
+ type: z$2.ZodLiteral<"user">;
1714
+ status: z$2.ZodLiteral<"suspended">;
1715
+ subjectId: z$2.ZodString;
1716
+ }, z$2.core.$strip>, z$2.ZodObject<{
1717
+ id: z$2.ZodString;
1718
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1719
+ displayName: z$2.ZodString;
1720
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1721
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1722
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1723
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1724
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1725
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1726
+ } & {
1727
+ type: z$2.ZodLiteral<"user">;
1728
+ status: z$2.ZodLiteral<"deleted">;
1729
+ subjectId: z$2.ZodNullable<z$2.ZodString>;
1730
+ }, z$2.core.$strip>], "status">, z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
1731
+ id: z$2.ZodString;
1732
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1733
+ displayName: z$2.ZodString;
1734
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1735
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1736
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1737
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1738
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1739
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1740
+ } & {
1741
+ type: z$2.ZodLiteral<"agent">;
1742
+ status: z$2.ZodLiteral<"active">;
1743
+ subjectId: z$2.ZodString;
1744
+ }, z$2.core.$strip>, z$2.ZodObject<{
1745
+ id: z$2.ZodString;
1746
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1747
+ displayName: z$2.ZodString;
1748
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1749
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1750
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1751
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1752
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1753
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1754
+ } & {
1755
+ type: z$2.ZodLiteral<"agent">;
1756
+ status: z$2.ZodLiteral<"suspended">;
1757
+ subjectId: z$2.ZodString;
1758
+ }, z$2.core.$strip>, z$2.ZodObject<{
1759
+ id: z$2.ZodString;
1760
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1761
+ displayName: z$2.ZodString;
1762
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1763
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1764
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1765
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1766
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1767
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1768
+ } & {
1769
+ type: z$2.ZodLiteral<"agent">;
1770
+ status: z$2.ZodLiteral<"deleted">;
1771
+ subjectId: z$2.ZodNullable<z$2.ZodString>;
1772
+ }, z$2.core.$strip>], "status">, z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
1773
+ id: z$2.ZodString;
1774
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1775
+ displayName: z$2.ZodString;
1776
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1777
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1778
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1779
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1780
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1781
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1782
+ } & {
1783
+ type: z$2.ZodLiteral<"api_key">;
1784
+ status: z$2.ZodLiteral<"active">;
1785
+ subjectId: z$2.ZodString;
1786
+ }, z$2.core.$strip>, z$2.ZodObject<{
1787
+ id: z$2.ZodString;
1788
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1789
+ displayName: z$2.ZodString;
1790
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1791
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1792
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1793
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1794
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1795
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1796
+ } & {
1797
+ type: z$2.ZodLiteral<"api_key">;
1798
+ status: z$2.ZodLiteral<"suspended">;
1799
+ subjectId: z$2.ZodString;
1800
+ }, z$2.core.$strip>, z$2.ZodObject<{
1801
+ id: z$2.ZodString;
1802
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1803
+ displayName: z$2.ZodString;
1804
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1805
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1806
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1807
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1808
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1809
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1810
+ } & {
1811
+ type: z$2.ZodLiteral<"api_key">;
1812
+ status: z$2.ZodLiteral<"deleted">;
1813
+ subjectId: z$2.ZodNullable<z$2.ZodString>;
1814
+ }, z$2.core.$strip>], "status">, z$2.ZodObject<{
1815
+ id: z$2.ZodString;
1816
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1817
+ displayName: z$2.ZodString;
1818
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1819
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1820
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1821
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1822
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1823
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1824
+ type: z$2.ZodLiteral<"system">;
1825
+ status: z$2.ZodEnum<{
1826
+ active: "active";
1827
+ deleted: "deleted";
1828
+ suspended: "suspended";
1829
+ }>;
1830
+ subjectId: z$2.ZodOptional<z$2.ZodNull>;
1831
+ }, z$2.core.$strip>], "type">>;
1294
1832
  }>;
1295
1833
  /**
1296
1834
  * One actor. The id must be UUID-shaped, so a stray static segment is a 400
@@ -1303,7 +1841,150 @@ export declare const actorsOperations: {
1303
1841
  readonly input: z$2.ZodObject<{
1304
1842
  id: z$2.ZodGUID;
1305
1843
  }, z$2.core.$strip>;
1306
- readonly output: OutputType<Actor>;
1844
+ readonly output: z$2.ZodDiscriminatedUnion<[z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
1845
+ id: z$2.ZodString;
1846
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1847
+ displayName: z$2.ZodString;
1848
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1849
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1850
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1851
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1852
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1853
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1854
+ } & {
1855
+ type: z$2.ZodLiteral<"user">;
1856
+ status: z$2.ZodLiteral<"active">;
1857
+ subjectId: z$2.ZodString;
1858
+ }, z$2.core.$strip>, z$2.ZodObject<{
1859
+ id: z$2.ZodString;
1860
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1861
+ displayName: z$2.ZodString;
1862
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1863
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1864
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1865
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1866
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1867
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1868
+ } & {
1869
+ type: z$2.ZodLiteral<"user">;
1870
+ status: z$2.ZodLiteral<"suspended">;
1871
+ subjectId: z$2.ZodString;
1872
+ }, z$2.core.$strip>, z$2.ZodObject<{
1873
+ id: z$2.ZodString;
1874
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1875
+ displayName: z$2.ZodString;
1876
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1877
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1878
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1879
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1880
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1881
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1882
+ } & {
1883
+ type: z$2.ZodLiteral<"user">;
1884
+ status: z$2.ZodLiteral<"deleted">;
1885
+ subjectId: z$2.ZodNullable<z$2.ZodString>;
1886
+ }, z$2.core.$strip>], "status">, z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
1887
+ id: z$2.ZodString;
1888
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1889
+ displayName: z$2.ZodString;
1890
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1891
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1892
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1893
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1894
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1895
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1896
+ } & {
1897
+ type: z$2.ZodLiteral<"agent">;
1898
+ status: z$2.ZodLiteral<"active">;
1899
+ subjectId: z$2.ZodString;
1900
+ }, z$2.core.$strip>, z$2.ZodObject<{
1901
+ id: z$2.ZodString;
1902
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1903
+ displayName: z$2.ZodString;
1904
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1905
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1906
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1907
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1908
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1909
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1910
+ } & {
1911
+ type: z$2.ZodLiteral<"agent">;
1912
+ status: z$2.ZodLiteral<"suspended">;
1913
+ subjectId: z$2.ZodString;
1914
+ }, z$2.core.$strip>, z$2.ZodObject<{
1915
+ id: z$2.ZodString;
1916
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1917
+ displayName: z$2.ZodString;
1918
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1919
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1920
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1921
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1922
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1923
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1924
+ } & {
1925
+ type: z$2.ZodLiteral<"agent">;
1926
+ status: z$2.ZodLiteral<"deleted">;
1927
+ subjectId: z$2.ZodNullable<z$2.ZodString>;
1928
+ }, z$2.core.$strip>], "status">, z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
1929
+ id: z$2.ZodString;
1930
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1931
+ displayName: z$2.ZodString;
1932
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1933
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1934
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1935
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1936
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1937
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1938
+ } & {
1939
+ type: z$2.ZodLiteral<"api_key">;
1940
+ status: z$2.ZodLiteral<"active">;
1941
+ subjectId: z$2.ZodString;
1942
+ }, z$2.core.$strip>, z$2.ZodObject<{
1943
+ id: z$2.ZodString;
1944
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1945
+ displayName: z$2.ZodString;
1946
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1947
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1948
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1949
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1950
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1951
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1952
+ } & {
1953
+ type: z$2.ZodLiteral<"api_key">;
1954
+ status: z$2.ZodLiteral<"suspended">;
1955
+ subjectId: z$2.ZodString;
1956
+ }, z$2.core.$strip>, z$2.ZodObject<{
1957
+ id: z$2.ZodString;
1958
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1959
+ displayName: z$2.ZodString;
1960
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1961
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1962
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1963
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1964
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1965
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1966
+ } & {
1967
+ type: z$2.ZodLiteral<"api_key">;
1968
+ status: z$2.ZodLiteral<"deleted">;
1969
+ subjectId: z$2.ZodNullable<z$2.ZodString>;
1970
+ }, z$2.core.$strip>], "status">, z$2.ZodObject<{
1971
+ id: z$2.ZodString;
1972
+ tenantId: z$2.ZodType<TenantId, string, z$2.core.$ZodTypeInternals<TenantId, string>>;
1973
+ displayName: z$2.ZodString;
1974
+ avatarUrl: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
1975
+ metadata: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1976
+ deletedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1977
+ anonymizedAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
1978
+ createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1979
+ updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
1980
+ type: z$2.ZodLiteral<"system">;
1981
+ status: z$2.ZodEnum<{
1982
+ active: "active";
1983
+ deleted: "deleted";
1984
+ suspended: "suspended";
1985
+ }>;
1986
+ subjectId: z$2.ZodOptional<z$2.ZodNull>;
1987
+ }, z$2.core.$strip>], "type">;
1307
1988
  }>;
1308
1989
  };
1309
1990
  /**
@@ -2343,13 +3024,17 @@ export declare const startMcpOAuthBody: z$2.ZodObject<{
2343
3024
  workspace: "workspace";
2344
3025
  }>>;
2345
3026
  catalogEntryId: z$2.ZodPipe<z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>, z$2.ZodTransform<string | null, string | null | undefined>>;
2346
- completionMode: z$2.ZodOptional<z$2.ZodEnum<typeof McpOAuthCompletionMode>>;
3027
+ mode: z$2.ZodOptional<z$2.ZodEnum<{
3028
+ desktop: "desktop";
3029
+ }>>;
2347
3030
  returnUrl: z$2.ZodOptional<z$2.ZodString>;
2348
3031
  }, z$2.core.$strip>;
2349
3032
  /** `POST /mcp-servers/:id/oauth/attempts` — body optional. */
2350
3033
  export declare const reconnectMcpOAuthBody: z$2.ZodObject<{
2351
3034
  scope: z$2.ZodOptional<z$2.ZodString>;
2352
- completionMode: z$2.ZodOptional<z$2.ZodEnum<typeof McpOAuthCompletionMode>>;
3035
+ mode: z$2.ZodOptional<z$2.ZodEnum<{
3036
+ desktop: "desktop";
3037
+ }>>;
2353
3038
  returnUrl: z$2.ZodOptional<z$2.ZodString>;
2354
3039
  }, z$2.core.$strip>;
2355
3040
  export type ConnectMcpServerBody = z$2.input<typeof connectMcpServerBody>;
@@ -2375,22 +3060,14 @@ export declare const mcpServersOperations: {
2375
3060
  workspace: "workspace";
2376
3061
  }>>;
2377
3062
  catalogEntryId: z$2.ZodPipe<z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>, z$2.ZodTransform<string | null, string | null | undefined>>;
2378
- completionMode: z$2.ZodOptional<z$2.ZodEnum<typeof McpOAuthCompletionMode>>;
3063
+ mode: z$2.ZodOptional<z$2.ZodEnum<{
3064
+ desktop: "desktop";
3065
+ }>>;
2379
3066
  returnUrl: z$2.ZodOptional<z$2.ZodString>;
2380
3067
  }, z$2.core.$strip>;
2381
3068
  readonly output: OutputType<McpOAuthAttemptStarted>;
2382
3069
  readonly permission: readonly ["connectors", "create"];
2383
3070
  }>;
2384
- /** A missing attempt, or another actor's, is a 404. */
2385
- oauthAttempt: Operation<{
2386
- readonly name: "mcpServers.oauthAttempt";
2387
- readonly method: "GET";
2388
- readonly path: "/mcp-servers/oauth/attempts/:id";
2389
- readonly input: z$2.ZodObject<{
2390
- id: z$2.ZodString;
2391
- }, z$2.core.$strip>;
2392
- readonly output: OutputType<McpOAuthAttemptView>;
2393
- }>;
2394
3071
  /** The vendored catalog, verbatim and in order: the combobox ranks by it. */
2395
3072
  catalog: Operation<{
2396
3073
  readonly name: "mcpServers.catalog";
@@ -2438,7 +3115,9 @@ export declare const mcpServersOperations: {
2438
3115
  readonly path: "/mcp-servers/:id/oauth/attempts";
2439
3116
  readonly input: z$2.ZodObject<{
2440
3117
  scope: z$2.ZodOptional<z$2.ZodString>;
2441
- completionMode: z$2.ZodOptional<z$2.ZodEnum<typeof McpOAuthCompletionMode>>;
3118
+ mode: z$2.ZodOptional<z$2.ZodEnum<{
3119
+ desktop: "desktop";
3120
+ }>>;
2442
3121
  returnUrl: z$2.ZodOptional<z$2.ZodString>;
2443
3122
  id: z$2.ZodString;
2444
3123
  }, z$2.core.$strip>;
@@ -2498,7 +3177,7 @@ export declare const mcpServersOperations: {
2498
3177
  /**
2499
3178
  * `POST /connectors/auth/start`. `read` is implied by every auth start; only
2500
3179
  * the tiers beyond it are requested. A `returnUrl` that is not a string is
2501
- * dropped, not refused.
3180
+ * dropped here and refused by the start as no completion.
2502
3181
  */
2503
3182
  export declare const startConnectorAuthBody: z$2.ZodObject<{
2504
3183
  provider: z$2.ZodEnum<{
@@ -2514,15 +3193,21 @@ export declare const startConnectorAuthBody: z$2.ZodObject<{
2514
3193
  tenant: "tenant";
2515
3194
  }>;
2516
3195
  returnUrl: z$2.ZodOptional<z$2.ZodPipe<z$2.ZodUnknown, z$2.ZodTransform<string | undefined, unknown>>>;
3196
+ mode: z$2.ZodOptional<z$2.ZodEnum<{
3197
+ desktop: "desktop";
3198
+ }>>;
2517
3199
  loginHint: z$2.ZodOptional<z$2.ZodPipe<z$2.ZodUnknown, z$2.ZodTransform<string | undefined, unknown>>>;
2518
3200
  capabilities: z$2.ZodOptional<z$2.ZodArray<z$2.ZodEnum<{
2519
3201
  modify: "modify";
2520
3202
  send: "send";
2521
3203
  }>>>;
2522
3204
  }, z$2.core.$strip>;
2523
- /** `POST /connectors/github/install` and `/connections/:id/github-account`; body optional. */
3205
+ /** `POST /connectors/github/install` and `/connections/:id/github-account`. */
2524
3206
  export declare const startGitHubAuthBody: z$2.ZodObject<{
2525
3207
  returnUrl: z$2.ZodOptional<z$2.ZodString>;
3208
+ mode: z$2.ZodOptional<z$2.ZodEnum<{
3209
+ desktop: "desktop";
3210
+ }>>;
2526
3211
  }, z$2.core.$strip>;
2527
3212
  /** `POST /connectors/connections/:id/shared-mailboxes` — the address and who sees it. */
2528
3213
  export declare const addSharedMailboxBody: z$2.ZodObject<{
@@ -2601,13 +3286,16 @@ export declare const connectorsOperations: {
2601
3286
  tenant: "tenant";
2602
3287
  }>;
2603
3288
  returnUrl: z$2.ZodOptional<z$2.ZodPipe<z$2.ZodUnknown, z$2.ZodTransform<string | undefined, unknown>>>;
3289
+ mode: z$2.ZodOptional<z$2.ZodEnum<{
3290
+ desktop: "desktop";
3291
+ }>>;
2604
3292
  loginHint: z$2.ZodOptional<z$2.ZodPipe<z$2.ZodUnknown, z$2.ZodTransform<string | undefined, unknown>>>;
2605
3293
  capabilities: z$2.ZodOptional<z$2.ZodArray<z$2.ZodEnum<{
2606
3294
  modify: "modify";
2607
3295
  send: "send";
2608
3296
  }>>>;
2609
3297
  }, z$2.core.$strip>;
2610
- readonly output: OutputType<StartConnectorAuthResult>;
3298
+ readonly output: OutputType<OAuthAttemptStarted>;
2611
3299
  readonly permission: readonly ["connectors", "create"];
2612
3300
  }>;
2613
3301
  startGitHubInstallation: Operation<{
@@ -2616,8 +3304,24 @@ export declare const connectorsOperations: {
2616
3304
  readonly path: "/connectors/github/install";
2617
3305
  readonly input: z$2.ZodObject<{
2618
3306
  returnUrl: z$2.ZodOptional<z$2.ZodString>;
3307
+ mode: z$2.ZodOptional<z$2.ZodEnum<{
3308
+ desktop: "desktop";
3309
+ }>>;
2619
3310
  }, z$2.core.$strip>;
2620
- readonly output: OutputType<StartConnectorAuthResult>;
3311
+ readonly output: OutputType<OAuthAttemptStarted>;
3312
+ readonly permission: readonly ["connectors", "create"];
3313
+ }>;
3314
+ /** Binds one of the installations offered by `oauth.complete` (`status: "choose"`). */
3315
+ chooseGitHubInstallation: Operation<{
3316
+ readonly name: "connectors.chooseGitHubInstallation";
3317
+ readonly credential: "session";
3318
+ readonly method: "POST";
3319
+ readonly path: "/connectors/github/installations/choose";
3320
+ readonly input: z$2.ZodObject<{
3321
+ attemptId: z$2.ZodString;
3322
+ installationId: z$2.ZodString;
3323
+ }, z$2.core.$strip>;
3324
+ readonly output: OutputType<OAuthAttemptStarted>;
2621
3325
  readonly permission: readonly ["connectors", "create"];
2622
3326
  }>;
2623
3327
  githubRepositories: Operation<{
@@ -2656,9 +3360,12 @@ export declare const connectorsOperations: {
2656
3360
  readonly path: "/connectors/connections/:id/github-account";
2657
3361
  readonly input: z$2.ZodObject<{
2658
3362
  returnUrl: z$2.ZodOptional<z$2.ZodString>;
3363
+ mode: z$2.ZodOptional<z$2.ZodEnum<{
3364
+ desktop: "desktop";
3365
+ }>>;
2659
3366
  id: z$2.ZodString;
2660
3367
  }, z$2.core.$strip>;
2661
- readonly output: OutputType<StartConnectorAuthResult>;
3368
+ readonly output: OutputType<OAuthAttemptStarted>;
2662
3369
  readonly permission: readonly ["connectors", "create"];
2663
3370
  }>;
2664
3371
  /** Soft and reversible (status `disconnected`): an update, not a delete. */
@@ -2720,6 +3427,34 @@ export declare const connectorsOperations: {
2720
3427
  readonly status: 200;
2721
3428
  }>;
2722
3429
  };
3430
+ /**
3431
+ * Outbound OAuth, both kinds (connector and remote MCP). Neither declares a
3432
+ * `permission`: the attempt's own tenant and actor are the gate.
3433
+ */
3434
+ export declare const oauthOperations: {
3435
+ /** The attempt of the caller, read while the consent is in flight. */
3436
+ readonly attempt: Operation<{
3437
+ readonly name: "oauth.attempt";
3438
+ readonly method: "GET";
3439
+ readonly path: "/oauth/attempts/:id";
3440
+ readonly input: z$2.ZodObject<{
3441
+ id: z$2.ZodString;
3442
+ }, z$2.core.$strip>;
3443
+ readonly output: OutputType<OAuthAttemptView>;
3444
+ }>;
3445
+ /** Redeems the one-time ticket a return URL carries; a person's own session only. */
3446
+ readonly complete: Operation<{
3447
+ readonly name: "oauth.complete";
3448
+ readonly credential: "session";
3449
+ readonly method: "POST";
3450
+ readonly path: "/oauth/complete";
3451
+ readonly input: z$2.ZodObject<{
3452
+ ticket: z$2.ZodString;
3453
+ }, z$2.core.$strip>;
3454
+ readonly output: OutputType<OAuthCompleteOutcome>;
3455
+ readonly status: 200;
3456
+ }>;
3457
+ };
2723
3458
  /**
2724
3459
  * Custom email categories and sender rules, behind `emails` (#6753); the
2725
3460
  * services answer who may read or change the workspace's ones. Without the
@@ -3840,7 +4575,7 @@ export declare const formsOperations: {
3840
4575
  readonly output: OutputType<FormSubmission>;
3841
4576
  readonly permission: readonly ["forms", "read"];
3842
4577
  }>;
3843
- /** Auto-save one step's values without validating them. */
4578
+ /** Auto-save one step's values without validating them. A completed submission: `STATE_GATE`. */
3844
4579
  saveStep: Operation<{
3845
4580
  readonly name: "forms.saveStep";
3846
4581
  readonly method: "PATCH";
@@ -3854,7 +4589,7 @@ export declare const formsOperations: {
3854
4589
  readonly output: OutputType<FormSubmission>;
3855
4590
  readonly permission: readonly ["forms", "read"];
3856
4591
  }>;
3857
- /** Validate the current step and move past it. */
4592
+ /** Validate the current step and move past it. A completed submission: `STATE_GATE`. */
3858
4593
  advance: Operation<{
3859
4594
  readonly name: "forms.advance";
3860
4595
  readonly method: "POST";
@@ -3867,6 +4602,7 @@ export declare const formsOperations: {
3867
4602
  readonly output: OutputType<FormSubmission>;
3868
4603
  readonly permission: readonly ["forms", "read"];
3869
4604
  }>;
4605
+ /** Return to the previous step. A completed submission: `STATE_GATE`. */
3870
4606
  back: Operation<{
3871
4607
  readonly name: "forms.back";
3872
4608
  readonly method: "POST";
@@ -4150,6 +4886,8 @@ export interface CatalogResult {
4150
4886
  description?: string;
4151
4887
  /** Community results only. */
4152
4888
  installs?: number;
4889
+ /** `top` results only: the last eight weeks of installs, oldest first. */
4890
+ weeklyInstalls?: number[];
4153
4891
  }
4154
4892
  /** What a source would install, at the commit `pinnedSource` names. */
4155
4893
  export interface SkillPreview {
@@ -4169,12 +4907,19 @@ export interface SkillPreview {
4169
4907
  export declare const SKILL_CATALOG_SEARCH_MAX_LIMIT = 50;
4170
4908
  /** The longest text a catalogue search takes. */
4171
4909
  export declare const SKILL_CATALOG_QUERY_MAX_LENGTH = 200;
4172
- /** `POST /skills/catalog/search`: our index for `official`, skills.sh for `community`. */
4910
+ /**
4911
+ * `POST /skills/catalog/search`: our index for `official`, skills.sh's search
4912
+ * for `community`, and its leaderboards for `top` (installs of all time) and
4913
+ * `trending` (the last 24 hours), which take no `query`. Every skills.sh
4914
+ * result passed its three security audits.
4915
+ */
4173
4916
  export declare const searchSkillCatalogBody: z$2.ZodObject<{
4174
4917
  query: z$2.ZodString;
4175
4918
  scope: z$2.ZodEnum<{
4176
4919
  community: "community";
4177
4920
  official: "official";
4921
+ top: "top";
4922
+ trending: "trending";
4178
4923
  }>;
4179
4924
  limit: z$2.ZodNumber;
4180
4925
  }, z$2.core.$strip>;
@@ -4282,6 +5027,8 @@ export declare const skillCatalogOperations: {
4282
5027
  scope: z$2.ZodEnum<{
4283
5028
  community: "community";
4284
5029
  official: "official";
5030
+ top: "top";
5031
+ trending: "trending";
4285
5032
  }>;
4286
5033
  limit: z$2.ZodNumber;
4287
5034
  }, z$2.core.$strip>;
@@ -12921,6 +13668,6 @@ export declare const dictationOperations: {
12921
13668
  }>;
12922
13669
  };
12923
13670
  declare namespace app_operation_groups_d_exports {
12924
- export { actorsOperations, agentAccessOperations, agentApprovalsOperations, agentDefinitionsOperations, agentEnvVarsOperations, agentMemoryOperations, agentMessagesOperations, agentRolesOperations, agentRunsOperations, agentSessionAccessOperations, agentSessionsOperations, agentTriggersOperations, aiOperations, apiKeysOperations, artifactsOperations, auditOperations, browserProfilesOperations, bundlesOperations, cloudBrowsersOperations, connectedAppsOperations, connectorsOperations, decisionsOperations, deviceAccessOperations, deviceEnrollmentTokensOperations, devicesOperations, dictationOperations, documentsOperations, emailCategoriesOperations, emailClassificationOperations, emailsOperations, embeddingsAdminOperations, envVarsOperations, environmentEnvVarsOperations, environmentsOperations, filesOperations, foldersOperations, formsOperations, geocodingOperations, logosOperations, mailDraftsOperations, mailSignaturesOperations, mcpServersOperations, meetingsAdminOperations, meetingsOperations, memoryAdminOperations, modelsOperations, newsOperations, pageAccessOperations, pagesOperations, permissionsOperations, privateEnvVarsOperations, quotasOperations, recentActivityOperations, recordAccessOperations, recordMemoryOperations, recordOperationsOperations, recordsOperations, relationsOperations, schemaDraftOperations, schemaGroupsOperations, schemaObjectsOperations, schemaStateOperations, screensOperations, searchAdminOperations, searchOperations, skillCatalogOperations, skillsOperations, tenantInvitationsOperations, tenantSettingsOperations, usersOperations, viewsOperations, workspaceLoginsOperations };
13671
+ export { actorsOperations, agentAccessOperations, agentApprovalsOperations, agentDefinitionsOperations, agentEnvVarsOperations, agentMemoryOperations, agentMessagesOperations, agentRolesOperations, agentRunsOperations, agentSessionAccessOperations, agentSessionsOperations, agentTriggersOperations, aiOperations, apiKeysOperations, artifactsOperations, auditOperations, browserProfilesOperations, bundlesOperations, cloudBrowsersOperations, connectedAppsOperations, connectorsOperations, decisionsOperations, deviceAccessOperations, deviceEnrollmentTokensOperations, devicesOperations, dictationOperations, documentsOperations, emailCategoriesOperations, emailClassificationOperations, emailsOperations, embeddingsAdminOperations, envVarsOperations, environmentEnvVarsOperations, environmentsOperations, filesOperations, foldersOperations, formsOperations, geocodingOperations, logosOperations, mailDraftsOperations, mailSignaturesOperations, mcpServersOperations, meetingsAdminOperations, meetingsOperations, memoryAdminOperations, modelsOperations, newsOperations, oauthOperations, pageAccessOperations, pagesOperations, permissionsOperations, privateEnvVarsOperations, quotasOperations, recentActivityOperations, recordAccessOperations, recordMemoryOperations, recordOperationsOperations, recordsOperations, relationsOperations, schemaDraftOperations, schemaGroupsOperations, schemaObjectsOperations, schemaStateOperations, screensOperations, searchAdminOperations, searchOperations, skillCatalogOperations, skillsOperations, tenantInvitationsOperations, tenantSettingsOperations, usersOperations, viewsOperations, workspaceLoginsOperations };
12925
13672
  }
12926
- export { BinaryResponse, DownloadedFile, HttpMethod, MEETINGS_MAX_ONLY_CONNECTIONS, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PathParams, UploadedPart, app_operation_groups_d_exports as appOperationGroups, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type };
13673
+ export { BinaryResponse, DownloadedFile, HttpMethod, MEETINGS_MAX_ONLY_CONNECTIONS, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OperationWireOutput, OutputType, PathParams, UploadedPart, app_operation_groups_d_exports as appOperationGroups, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type };