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