@standards/schema 1.0.0-alpha.407 → 1.0.0-alpha.409

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 (85) hide show
  1. package/dist/{all-CYfzNNTD.d.ts → all-BSKNqzGh.d.mts} +12 -10
  2. package/dist/{all-1spF7ByM.d.mts → all-BwAwSr3s.d.ts} +12 -10
  3. package/dist/all-DoPwVWIX.js +2 -0
  4. package/dist/all-FfziiXML.mjs +2 -0
  5. package/dist/api/index.d.mts +415 -113
  6. package/dist/api/index.d.ts +415 -113
  7. package/dist/api/index.js +1 -1
  8. package/dist/api/index.mjs +1 -1
  9. package/dist/{attributes-CB6EJyu2.d.mts → attributes-BgPCTw3y.d.mts} +1 -1
  10. package/dist/{attributes-DPwwMMgq.d.ts → attributes-D4nvUmw6.d.ts} +1 -1
  11. package/dist/{checkbox-B6TumdR6.d.mts → checkbox-D11vN4kY.d.mts} +2 -2
  12. package/dist/{checkbox-M5L3PYDZ.d.ts → checkbox-DSAorFpa.d.ts} +2 -2
  13. package/dist/{date-D5D3aP1p.d.ts → date-C29k_cah.d.ts} +2 -2
  14. package/dist/{date-DM0ExRcF.d.mts → date-CtZVrU3Z.d.mts} +2 -2
  15. package/dist/{exceptions-BlKiQcvh.d.ts → exceptions-CmMd5DGH.d.mts} +12 -0
  16. package/dist/{exceptions-BlKiQcvh.d.mts → exceptions-CmMd5DGH.d.ts} +12 -0
  17. package/dist/exceptions.d.mts +1 -1
  18. package/dist/exceptions.d.ts +1 -1
  19. package/dist/exceptions.js +1 -1
  20. package/dist/exceptions.mjs +1 -1
  21. package/dist/{index-CXyPgHS_.d.mts → index-B6XCKKgD.d.mts} +1 -1
  22. package/dist/{index-CIS58KNs.d.mts → index-BDkw6z3G.d.mts} +3 -2
  23. package/dist/{index-BQ4MPVw-.d.ts → index-BJwJSvSN.d.ts} +213 -31
  24. package/dist/{index-Ba5hViTX.d.ts → index-CCt_hCgK.d.ts} +1 -1
  25. package/dist/{index-CkNJkuYX.d.ts → index-CXO6_OVC.d.ts} +3 -3
  26. package/dist/{index-CPeCTcO1.d.mts → index-DDCXoccV.d.mts} +213 -31
  27. package/dist/{index-DfaotFfW.d.mts → index-QZR1nwQt.d.mts} +3 -3
  28. package/dist/{index-ChyZg9Dl.d.ts → index-qj0Sxls-.d.ts} +3 -2
  29. package/dist/index.d.mts +10 -10
  30. package/dist/index.d.ts +10 -10
  31. package/dist/index.js +1 -1
  32. package/dist/index.mjs +1 -1
  33. package/dist/{number-CIP0eOB9.d.ts → number-BGpvOweC.d.ts} +2 -2
  34. package/dist/{number-BulsVlZX.d.mts → number-g88uoxhJ.d.mts} +2 -2
  35. package/dist/{objects-Cvc21DHf.d.mts → objects-C9F-MirX.d.mts} +27 -2
  36. package/dist/{objects-B07Ix6br.d.ts → objects-CfWCm1OL.d.ts} +27 -2
  37. package/dist/record-operation-B9XPdpM4.js +2 -0
  38. package/dist/record-operation-DR_4hSNA.mjs +2 -0
  39. package/dist/{text-BsEjIQsm.d.ts → text-CMMMIBIT.d.ts} +2 -2
  40. package/dist/{text-9dEmwy7y.d.mts → text-Dyxn_QlR.d.mts} +2 -2
  41. package/dist/{utils-5JI2a7Qr.d.ts → utils-Du85J1nY.d.ts} +1 -1
  42. package/dist/{utils-Vep_JDSS.d.mts → utils-mBdW0zGZ.d.mts} +1 -1
  43. package/dist/utils.d.mts +1 -1
  44. package/dist/utils.d.ts +1 -1
  45. package/dist/validation/all.d.mts +4 -4
  46. package/dist/validation/all.d.ts +4 -4
  47. package/dist/validation/all.js +1 -1
  48. package/dist/validation/all.mjs +1 -1
  49. package/dist/validation/complex/currency.d.mts +2 -2
  50. package/dist/validation/complex/currency.d.ts +2 -2
  51. package/dist/validation/complex/location.d.mts +2 -2
  52. package/dist/validation/complex/location.d.ts +2 -2
  53. package/dist/validation/complex/phone.d.mts +2 -2
  54. package/dist/validation/complex/phone.d.ts +2 -2
  55. package/dist/validation/complex/relation.d.mts +2 -2
  56. package/dist/validation/complex/relation.d.ts +2 -2
  57. package/dist/validation/complex/richtext.d.mts +2 -2
  58. package/dist/validation/complex/richtext.d.ts +2 -2
  59. package/dist/validation/complex/select.d.mts +2 -2
  60. package/dist/validation/complex/select.d.ts +2 -2
  61. package/dist/validation/complex/user.d.mts +2 -2
  62. package/dist/validation/complex/user.d.ts +2 -2
  63. package/dist/validation/computed/formula.d.mts +2 -2
  64. package/dist/validation/computed/formula.d.ts +2 -2
  65. package/dist/validation/computed/rollup.d.mts +2 -2
  66. package/dist/validation/computed/rollup.d.ts +2 -2
  67. package/dist/validation/config/index.d.mts +1 -1
  68. package/dist/validation/config/index.d.ts +1 -1
  69. package/dist/validation/core/index.d.mts +1 -1
  70. package/dist/validation/core/index.d.ts +1 -1
  71. package/dist/validation/object/index.d.mts +1 -1
  72. package/dist/validation/object/index.d.ts +1 -1
  73. package/dist/validation/primitives/checkbox.d.mts +1 -1
  74. package/dist/validation/primitives/checkbox.d.ts +1 -1
  75. package/dist/validation/primitives/date.d.mts +1 -1
  76. package/dist/validation/primitives/date.d.ts +1 -1
  77. package/dist/validation/primitives/number.d.mts +1 -1
  78. package/dist/validation/primitives/number.d.ts +1 -1
  79. package/dist/validation/primitives/text.d.mts +1 -1
  80. package/dist/validation/primitives/text.d.ts +1 -1
  81. package/package.json +2 -2
  82. package/dist/all-BNOv4MuC.js +0 -2
  83. package/dist/all-Bzzltedd.mjs +0 -2
  84. package/dist/record-operation-CuRWYQ7i.js +0 -2
  85. package/dist/record-operation-CylhzAbn.mjs +0 -2
@@ -1,10 +1,10 @@
1
1
 
2
- import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-BlKiQcvh.js";
3
- import { AgentDefinitionAudience, AgentSessionAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-B07Ix6br.js";
4
- import { Attribute } from "../attributes-DPwwMMgq.js";
5
- 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, 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, DecisionWithRecipient, 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, 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-BQ4MPVw-.js";
6
- import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-CYfzNNTD.js";
7
- import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-ChyZg9Dl.js";
2
+ import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-CmMd5DGH.js";
3
+ import { AgentDefinitionAudience, AgentSessionAudience, DeviceAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-CfWCm1OL.js";
4
+ import { Attribute } from "../attributes-D4nvUmw6.js";
5
+ 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, 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, 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-BJwJSvSN.js";
6
+ import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-BwAwSr3s.js";
7
+ import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-qj0Sxls-.js";
8
8
  import * as z$2 from "zod";
9
9
  //#region src/api/path.d.ts
10
10
  /**
@@ -1826,7 +1826,7 @@ export declare const permissionsOperations: {
1826
1826
  readonly method: "GET";
1827
1827
  readonly path: "/permissions/me/system/:resource";
1828
1828
  readonly input: z$2.ZodObject<{
1829
- resource: z$2.ZodType<"documents" | "forms" | "architect" | "pages" | "agents" | "environments" | "browser-profiles" | "private-secrets" | "routine-audiences" | "supervision" | "files" | "people" | "connectors" | "api-keys" | "env-vars" | "settings" | "audit" | "billing", "documents" | "forms" | "architect" | "pages" | "agents" | "environments" | "browser-profiles" | "private-secrets" | "routine-audiences" | "supervision" | "files" | "people" | "connectors" | "api-keys" | "env-vars" | "settings" | "audit" | "billing", z$2.core.$ZodTypeInternals<"documents" | "forms" | "architect" | "pages" | "agents" | "environments" | "browser-profiles" | "private-secrets" | "routine-audiences" | "supervision" | "files" | "people" | "connectors" | "api-keys" | "env-vars" | "settings" | "audit" | "billing", "documents" | "forms" | "architect" | "pages" | "agents" | "environments" | "browser-profiles" | "private-secrets" | "routine-audiences" | "supervision" | "files" | "people" | "connectors" | "api-keys" | "env-vars" | "settings" | "audit" | "billing">>;
1829
+ resource: z$2.ZodType<"documents" | "forms" | "architect" | "pages" | "agents" | "environments" | "browser-profiles" | "private-secrets" | "routine-audiences" | "supervision" | "files" | "people" | "connectors" | "api-keys" | "env-vars" | "devices" | "settings" | "audit" | "billing", "documents" | "forms" | "architect" | "pages" | "agents" | "environments" | "browser-profiles" | "private-secrets" | "routine-audiences" | "supervision" | "files" | "people" | "connectors" | "api-keys" | "env-vars" | "devices" | "settings" | "audit" | "billing", z$2.core.$ZodTypeInternals<"documents" | "forms" | "architect" | "pages" | "agents" | "environments" | "browser-profiles" | "private-secrets" | "routine-audiences" | "supervision" | "files" | "people" | "connectors" | "api-keys" | "env-vars" | "devices" | "settings" | "audit" | "billing", "documents" | "forms" | "architect" | "pages" | "agents" | "environments" | "browser-profiles" | "private-secrets" | "routine-audiences" | "supervision" | "files" | "people" | "connectors" | "api-keys" | "env-vars" | "devices" | "settings" | "audit" | "billing">>;
1830
1830
  }, z$2.core.$strip>;
1831
1831
  readonly output: OutputType<SystemPermissions>;
1832
1832
  }>;
@@ -4362,6 +4362,7 @@ export declare const recordOperationsOperations: {
4362
4362
  base: import("zod").ZodUnknown;
4363
4363
  props: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
4364
4364
  }, import("zod/v4/core").$strict>>;
4365
+ parentId: import("zod").ZodOptional<import("zod").ZodUUID>;
4365
4366
  }, import("zod/v4/core").$strict>>;
4366
4367
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
4367
4368
  kind: import("zod").ZodLiteral<"record.delete">;
@@ -5662,8 +5663,8 @@ export declare const createDefinitionBody: z$2.ZodObject<{
5662
5663
  model: z$2.ZodObject<{
5663
5664
  provider: z$2.ZodEnum<{
5664
5665
  cursor: "cursor";
5665
- openai: "openai";
5666
5666
  anthropic: "anthropic";
5667
+ openai: "openai";
5667
5668
  google: "google";
5668
5669
  spacexai: "spacexai";
5669
5670
  deepseek: "deepseek";
@@ -5728,8 +5729,8 @@ export declare const createDefinitionBody: z$2.ZodObject<{
5728
5729
  model: z$2.ZodOptional<z$2.ZodObject<{
5729
5730
  provider: z$2.ZodEnum<{
5730
5731
  cursor: "cursor";
5731
- openai: "openai";
5732
5732
  anthropic: "anthropic";
5733
+ openai: "openai";
5733
5734
  google: "google";
5734
5735
  spacexai: "spacexai";
5735
5736
  deepseek: "deepseek";
@@ -5806,8 +5807,8 @@ export declare const updateDefinitionBody: z$2.ZodObject<{
5806
5807
  model: z$2.ZodOptional<z$2.ZodObject<{
5807
5808
  provider: z$2.ZodEnum<{
5808
5809
  cursor: "cursor";
5809
- openai: "openai";
5810
5810
  anthropic: "anthropic";
5811
+ openai: "openai";
5811
5812
  google: "google";
5812
5813
  spacexai: "spacexai";
5813
5814
  deepseek: "deepseek";
@@ -5872,8 +5873,8 @@ export declare const updateDefinitionBody: z$2.ZodObject<{
5872
5873
  model: z$2.ZodOptional<z$2.ZodObject<{
5873
5874
  provider: z$2.ZodEnum<{
5874
5875
  cursor: "cursor";
5875
- openai: "openai";
5876
5876
  anthropic: "anthropic";
5877
+ openai: "openai";
5877
5878
  google: "google";
5878
5879
  spacexai: "spacexai";
5879
5880
  deepseek: "deepseek";
@@ -5949,11 +5950,17 @@ export declare const applySetupBody: z$2.ZodObject<{
5949
5950
  private: "private";
5950
5951
  }>>;
5951
5952
  name: z$2.ZodOptional<z$2.ZodString>;
5953
+ harness: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodEnum<{
5954
+ cursor: "cursor";
5955
+ "claude-code": "claude-code";
5956
+ codex: "codex";
5957
+ }>>>;
5958
+ mcpServers: z$2.ZodOptional<z$2.ZodNever>;
5952
5959
  model: z$2.ZodOptional<z$2.ZodObject<{
5953
5960
  provider: z$2.ZodEnum<{
5954
5961
  cursor: "cursor";
5955
- openai: "openai";
5956
5962
  anthropic: "anthropic";
5963
+ openai: "openai";
5957
5964
  google: "google";
5958
5965
  spacexai: "spacexai";
5959
5966
  deepseek: "deepseek";
@@ -5967,12 +5974,36 @@ export declare const applySetupBody: z$2.ZodObject<{
5967
5974
  model: z$2.ZodString;
5968
5975
  maxTokens: z$2.ZodOptional<z$2.ZodNumber>;
5969
5976
  }, z$2.core.$strip>>;
5970
- harness: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodEnum<{
5971
- cursor: "cursor";
5972
- "claude-code": "claude-code";
5973
- codex: "codex";
5974
- }>>>;
5975
- mcpServers: z$2.ZodOptional<z$2.ZodNever>;
5977
+ systemPrompt: z$2.ZodOptional<z$2.ZodString>;
5978
+ maxDepth: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
5979
+ maxTreeCostUsd: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
5980
+ critic: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
5981
+ enabled: z$2.ZodBoolean;
5982
+ model: z$2.ZodOptional<z$2.ZodObject<{
5983
+ provider: z$2.ZodEnum<{
5984
+ cursor: "cursor";
5985
+ anthropic: "anthropic";
5986
+ openai: "openai";
5987
+ google: "google";
5988
+ spacexai: "spacexai";
5989
+ deepseek: "deepseek";
5990
+ moonshotai: "moonshotai";
5991
+ alibaba: "alibaba";
5992
+ mistral: "mistral";
5993
+ minimax: "minimax";
5994
+ meta: "meta";
5995
+ zai: "zai";
5996
+ }>;
5997
+ model: z$2.ZodString;
5998
+ maxTokens: z$2.ZodOptional<z$2.ZodNumber>;
5999
+ }, z$2.core.$strip>>;
6000
+ systemPrompt: z$2.ZodOptional<z$2.ZodString>;
6001
+ maxRetries: z$2.ZodOptional<z$2.ZodNumber>;
6002
+ }, z$2.core.$strip>>>;
6003
+ toolGroups: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
6004
+ environmentId: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodGUID>>;
6005
+ tools: z$2.ZodOptional<z$2.ZodNever>;
6006
+ canDelegate: z$2.ZodOptional<z$2.ZodNever>;
5976
6007
  avatar: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
5977
6008
  type: z$2.ZodEnum<{
5978
6009
  circle: "circle";
@@ -6007,37 +6038,7 @@ export declare const applySetupBody: z$2.ZodObject<{
6007
6038
  }>>;
6008
6039
  }, z$2.core.$strict>>>;
6009
6040
  starters: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodArray<z$2.ZodString>>>;
6010
- systemPrompt: z$2.ZodOptional<z$2.ZodString>;
6011
- toolGroups: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
6012
- maxDepth: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
6013
- maxTreeCostUsd: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
6014
- critic: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
6015
- enabled: z$2.ZodBoolean;
6016
- model: z$2.ZodOptional<z$2.ZodObject<{
6017
- provider: z$2.ZodEnum<{
6018
- cursor: "cursor";
6019
- openai: "openai";
6020
- anthropic: "anthropic";
6021
- google: "google";
6022
- spacexai: "spacexai";
6023
- deepseek: "deepseek";
6024
- moonshotai: "moonshotai";
6025
- alibaba: "alibaba";
6026
- mistral: "mistral";
6027
- minimax: "minimax";
6028
- meta: "meta";
6029
- zai: "zai";
6030
- }>;
6031
- model: z$2.ZodString;
6032
- maxTokens: z$2.ZodOptional<z$2.ZodNumber>;
6033
- }, z$2.core.$strip>>;
6034
- systemPrompt: z$2.ZodOptional<z$2.ZodString>;
6035
- maxRetries: z$2.ZodOptional<z$2.ZodNumber>;
6036
- }, z$2.core.$strip>>>;
6037
6041
  autoDecide: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodBoolean>>;
6038
- environmentId: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodGUID>>;
6039
- tools: z$2.ZodOptional<z$2.ZodNever>;
6040
- canDelegate: z$2.ZodOptional<z$2.ZodNever>;
6041
6042
  kind: z$2.ZodOptional<z$2.ZodEnum<{
6042
6043
  agent: "agent";
6043
6044
  routine: "routine";
@@ -6230,7 +6231,7 @@ export declare const applySetupBody: z$2.ZodObject<{
6230
6231
  })[];
6231
6232
  } | {
6232
6233
  family: "workflow";
6233
- actions: ("in_progress" | "requested" | "completed")[];
6234
+ actions: ("in_progress" | "completed" | "requested")[];
6234
6235
  repositories: string[];
6235
6236
  sender: GithubTriggerSender;
6236
6237
  conditions: ({
@@ -6508,7 +6509,7 @@ export declare const applySetupBody: z$2.ZodObject<{
6508
6509
  })[];
6509
6510
  } | {
6510
6511
  family: "workflow";
6511
- actions: ("in_progress" | "requested" | "completed")[];
6512
+ actions: ("in_progress" | "completed" | "requested")[];
6512
6513
  repositories: string[];
6513
6514
  sender: GithubTriggerSender;
6514
6515
  conditions: ({
@@ -6746,11 +6747,17 @@ export declare const agentDefinitionsOperations: {
6746
6747
  private: "private";
6747
6748
  }>>;
6748
6749
  name: z$2.ZodOptional<z$2.ZodString>;
6750
+ harness: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodEnum<{
6751
+ cursor: "cursor";
6752
+ "claude-code": "claude-code";
6753
+ codex: "codex";
6754
+ }>>>;
6755
+ mcpServers: z$2.ZodOptional<z$2.ZodNever>;
6749
6756
  model: z$2.ZodOptional<z$2.ZodObject<{
6750
6757
  provider: z$2.ZodEnum<{
6751
6758
  cursor: "cursor";
6752
- openai: "openai";
6753
6759
  anthropic: "anthropic";
6760
+ openai: "openai";
6754
6761
  google: "google";
6755
6762
  spacexai: "spacexai";
6756
6763
  deepseek: "deepseek";
@@ -6764,12 +6771,36 @@ export declare const agentDefinitionsOperations: {
6764
6771
  model: z$2.ZodString;
6765
6772
  maxTokens: z$2.ZodOptional<z$2.ZodNumber>;
6766
6773
  }, z$2.core.$strip>>;
6767
- harness: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodEnum<{
6768
- cursor: "cursor";
6769
- "claude-code": "claude-code";
6770
- codex: "codex";
6771
- }>>>;
6772
- mcpServers: z$2.ZodOptional<z$2.ZodNever>;
6774
+ systemPrompt: z$2.ZodOptional<z$2.ZodString>;
6775
+ maxDepth: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
6776
+ maxTreeCostUsd: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
6777
+ critic: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
6778
+ enabled: z$2.ZodBoolean;
6779
+ model: z$2.ZodOptional<z$2.ZodObject<{
6780
+ provider: z$2.ZodEnum<{
6781
+ cursor: "cursor";
6782
+ anthropic: "anthropic";
6783
+ openai: "openai";
6784
+ google: "google";
6785
+ spacexai: "spacexai";
6786
+ deepseek: "deepseek";
6787
+ moonshotai: "moonshotai";
6788
+ alibaba: "alibaba";
6789
+ mistral: "mistral";
6790
+ minimax: "minimax";
6791
+ meta: "meta";
6792
+ zai: "zai";
6793
+ }>;
6794
+ model: z$2.ZodString;
6795
+ maxTokens: z$2.ZodOptional<z$2.ZodNumber>;
6796
+ }, z$2.core.$strip>>;
6797
+ systemPrompt: z$2.ZodOptional<z$2.ZodString>;
6798
+ maxRetries: z$2.ZodOptional<z$2.ZodNumber>;
6799
+ }, z$2.core.$strip>>>;
6800
+ toolGroups: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
6801
+ environmentId: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodGUID>>;
6802
+ tools: z$2.ZodOptional<z$2.ZodNever>;
6803
+ canDelegate: z$2.ZodOptional<z$2.ZodNever>;
6773
6804
  avatar: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
6774
6805
  type: z$2.ZodEnum<{
6775
6806
  circle: "circle";
@@ -6804,37 +6835,7 @@ export declare const agentDefinitionsOperations: {
6804
6835
  }>>;
6805
6836
  }, z$2.core.$strict>>>;
6806
6837
  starters: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodArray<z$2.ZodString>>>;
6807
- systemPrompt: z$2.ZodOptional<z$2.ZodString>;
6808
- toolGroups: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
6809
- maxDepth: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
6810
- maxTreeCostUsd: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
6811
- critic: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
6812
- enabled: z$2.ZodBoolean;
6813
- model: z$2.ZodOptional<z$2.ZodObject<{
6814
- provider: z$2.ZodEnum<{
6815
- cursor: "cursor";
6816
- openai: "openai";
6817
- anthropic: "anthropic";
6818
- google: "google";
6819
- spacexai: "spacexai";
6820
- deepseek: "deepseek";
6821
- moonshotai: "moonshotai";
6822
- alibaba: "alibaba";
6823
- mistral: "mistral";
6824
- minimax: "minimax";
6825
- meta: "meta";
6826
- zai: "zai";
6827
- }>;
6828
- model: z$2.ZodString;
6829
- maxTokens: z$2.ZodOptional<z$2.ZodNumber>;
6830
- }, z$2.core.$strip>>;
6831
- systemPrompt: z$2.ZodOptional<z$2.ZodString>;
6832
- maxRetries: z$2.ZodOptional<z$2.ZodNumber>;
6833
- }, z$2.core.$strip>>>;
6834
6838
  autoDecide: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodBoolean>>;
6835
- environmentId: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodGUID>>;
6836
- tools: z$2.ZodOptional<z$2.ZodNever>;
6837
- canDelegate: z$2.ZodOptional<z$2.ZodNever>;
6838
6839
  kind: z$2.ZodOptional<z$2.ZodEnum<{
6839
6840
  agent: "agent";
6840
6841
  routine: "routine";
@@ -7027,7 +7028,7 @@ export declare const agentDefinitionsOperations: {
7027
7028
  })[];
7028
7029
  } | {
7029
7030
  family: "workflow";
7030
- actions: ("in_progress" | "requested" | "completed")[];
7031
+ actions: ("in_progress" | "completed" | "requested")[];
7031
7032
  repositories: string[];
7032
7033
  sender: GithubTriggerSender;
7033
7034
  conditions: ({
@@ -7305,7 +7306,7 @@ export declare const agentDefinitionsOperations: {
7305
7306
  })[];
7306
7307
  } | {
7307
7308
  family: "workflow";
7308
- actions: ("in_progress" | "requested" | "completed")[];
7309
+ actions: ("in_progress" | "completed" | "requested")[];
7309
7310
  repositories: string[];
7310
7311
  sender: GithubTriggerSender;
7311
7312
  conditions: ({
@@ -7505,8 +7506,8 @@ export declare const agentDefinitionsOperations: {
7505
7506
  model: z$2.ZodObject<{
7506
7507
  provider: z$2.ZodEnum<{
7507
7508
  cursor: "cursor";
7508
- openai: "openai";
7509
7509
  anthropic: "anthropic";
7510
+ openai: "openai";
7510
7511
  google: "google";
7511
7512
  spacexai: "spacexai";
7512
7513
  deepseek: "deepseek";
@@ -7571,8 +7572,8 @@ export declare const agentDefinitionsOperations: {
7571
7572
  model: z$2.ZodOptional<z$2.ZodObject<{
7572
7573
  provider: z$2.ZodEnum<{
7573
7574
  cursor: "cursor";
7574
- openai: "openai";
7575
7575
  anthropic: "anthropic";
7576
+ openai: "openai";
7576
7577
  google: "google";
7577
7578
  spacexai: "spacexai";
7578
7579
  deepseek: "deepseek";
@@ -7661,8 +7662,8 @@ export declare const agentDefinitionsOperations: {
7661
7662
  model: z$2.ZodOptional<z$2.ZodObject<{
7662
7663
  provider: z$2.ZodEnum<{
7663
7664
  cursor: "cursor";
7664
- openai: "openai";
7665
7665
  anthropic: "anthropic";
7666
+ openai: "openai";
7666
7667
  google: "google";
7667
7668
  spacexai: "spacexai";
7668
7669
  deepseek: "deepseek";
@@ -7727,8 +7728,8 @@ export declare const agentDefinitionsOperations: {
7727
7728
  model: z$2.ZodOptional<z$2.ZodObject<{
7728
7729
  provider: z$2.ZodEnum<{
7729
7730
  cursor: "cursor";
7730
- openai: "openai";
7731
7731
  anthropic: "anthropic";
7732
+ openai: "openai";
7732
7733
  google: "google";
7733
7734
  spacexai: "spacexai";
7734
7735
  deepseek: "deepseek";
@@ -7895,11 +7896,11 @@ export declare const listRunsQuery: z$2.ZodObject<{
7895
7896
  routine: "routine";
7896
7897
  }>>;
7897
7898
  status: z$2.ZodOptional<z$2.ZodEnum<{
7898
- completed: "completed";
7899
- pending: "pending";
7900
7899
  running: "running";
7900
+ completed: "completed";
7901
7901
  failed: "failed";
7902
7902
  cancelled: "cancelled";
7903
+ pending: "pending";
7903
7904
  paused: "paused";
7904
7905
  }>>;
7905
7906
  limit: z$2.ZodOptional<z$2.ZodCoercedNumber<unknown>>;
@@ -7934,11 +7935,11 @@ export declare const agentRunsOperations: {
7934
7935
  routine: "routine";
7935
7936
  }>>;
7936
7937
  status: z$2.ZodOptional<z$2.ZodEnum<{
7937
- completed: "completed";
7938
- pending: "pending";
7939
7938
  running: "running";
7939
+ completed: "completed";
7940
7940
  failed: "failed";
7941
7941
  cancelled: "cancelled";
7942
+ pending: "pending";
7942
7943
  paused: "paused";
7943
7944
  }>>;
7944
7945
  limit: z$2.ZodOptional<z$2.ZodCoercedNumber<unknown>>;
@@ -8141,7 +8142,7 @@ export declare const createTriggerBody: z$2.ZodType<{
8141
8142
  })[];
8142
8143
  } | {
8143
8144
  family: "workflow";
8144
- actions: ("in_progress" | "requested" | "completed")[];
8145
+ actions: ("in_progress" | "completed" | "requested")[];
8145
8146
  repositories: string[];
8146
8147
  sender: GithubTriggerSender;
8147
8148
  conditions: ({
@@ -8420,7 +8421,7 @@ export declare const createTriggerBody: z$2.ZodType<{
8420
8421
  })[];
8421
8422
  } | {
8422
8423
  family: "workflow";
8423
- actions: ("in_progress" | "requested" | "completed")[];
8424
+ actions: ("in_progress" | "completed" | "requested")[];
8424
8425
  repositories: string[];
8425
8426
  sender: GithubTriggerSender;
8426
8427
  conditions: ({
@@ -8845,7 +8846,7 @@ export declare const updateTriggerBody: z$2.ZodObject<{
8845
8846
  })[];
8846
8847
  } | {
8847
8848
  family: "workflow";
8848
- actions: ("in_progress" | "requested" | "completed")[];
8849
+ actions: ("in_progress" | "completed" | "requested")[];
8849
8850
  repositories: string[];
8850
8851
  sender: GithubTriggerSender;
8851
8852
  conditions: ({
@@ -9331,7 +9332,7 @@ export declare const agentTriggersOperations: {
9331
9332
  })[];
9332
9333
  } | {
9333
9334
  family: "workflow";
9334
- actions: ("in_progress" | "requested" | "completed")[];
9335
+ actions: ("in_progress" | "completed" | "requested")[];
9335
9336
  repositories: string[];
9336
9337
  sender: GithubTriggerSender;
9337
9338
  conditions: ({
@@ -9610,7 +9611,7 @@ export declare const agentTriggersOperations: {
9610
9611
  })[];
9611
9612
  } | {
9612
9613
  family: "workflow";
9613
- actions: ("in_progress" | "requested" | "completed")[];
9614
+ actions: ("in_progress" | "completed" | "requested")[];
9614
9615
  repositories: string[];
9615
9616
  sender: GithubTriggerSender;
9616
9617
  conditions: ({
@@ -10067,7 +10068,7 @@ export declare const agentTriggersOperations: {
10067
10068
  })[];
10068
10069
  } | {
10069
10070
  family: "workflow";
10070
- actions: ("in_progress" | "requested" | "completed")[];
10071
+ actions: ("in_progress" | "completed" | "requested")[];
10071
10072
  repositories: string[];
10072
10073
  sender: GithubTriggerSender;
10073
10074
  conditions: ({
@@ -10366,8 +10367,8 @@ export declare const createSessionBody: z$2.ZodObject<{
10366
10367
  model: z$2.ZodObject<{
10367
10368
  provider: z$2.ZodEnum<{
10368
10369
  cursor: "cursor";
10369
- openai: "openai";
10370
10370
  anthropic: "anthropic";
10371
+ openai: "openai";
10371
10372
  google: "google";
10372
10373
  spacexai: "spacexai";
10373
10374
  deepseek: "deepseek";
@@ -10407,8 +10408,8 @@ export declare const createSessionBody: z$2.ZodObject<{
10407
10408
  model: z$2.ZodOptional<z$2.ZodObject<{
10408
10409
  provider: z$2.ZodEnum<{
10409
10410
  cursor: "cursor";
10410
- openai: "openai";
10411
10411
  anthropic: "anthropic";
10412
+ openai: "openai";
10412
10413
  google: "google";
10413
10414
  spacexai: "spacexai";
10414
10415
  deepseek: "deepseek";
@@ -10434,8 +10435,8 @@ export declare const createSessionBody: z$2.ZodObject<{
10434
10435
  model: z$2.ZodOptional<z$2.ZodObject<{
10435
10436
  provider: z$2.ZodEnum<{
10436
10437
  cursor: "cursor";
10437
- openai: "openai";
10438
10438
  anthropic: "anthropic";
10439
+ openai: "openai";
10439
10440
  google: "google";
10440
10441
  spacexai: "spacexai";
10441
10442
  deepseek: "deepseek";
@@ -10580,8 +10581,8 @@ export declare const sessionInferenceOverridesInput: z$2.ZodObject<{
10580
10581
  model: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
10581
10582
  provider: z$2.ZodEnum<{
10582
10583
  cursor: "cursor";
10583
- openai: "openai";
10584
10584
  anthropic: "anthropic";
10585
+ openai: "openai";
10585
10586
  google: "google";
10586
10587
  spacexai: "spacexai";
10587
10588
  deepseek: "deepseek";
@@ -10701,8 +10702,8 @@ export declare const agentSessionsOperations: {
10701
10702
  model: z$2.ZodObject<{
10702
10703
  provider: z$2.ZodEnum<{
10703
10704
  cursor: "cursor";
10704
- openai: "openai";
10705
10705
  anthropic: "anthropic";
10706
+ openai: "openai";
10706
10707
  google: "google";
10707
10708
  spacexai: "spacexai";
10708
10709
  deepseek: "deepseek";
@@ -10742,8 +10743,8 @@ export declare const agentSessionsOperations: {
10742
10743
  model: z$2.ZodOptional<z$2.ZodObject<{
10743
10744
  provider: z$2.ZodEnum<{
10744
10745
  cursor: "cursor";
10745
- openai: "openai";
10746
10746
  anthropic: "anthropic";
10747
+ openai: "openai";
10747
10748
  google: "google";
10748
10749
  spacexai: "spacexai";
10749
10750
  deepseek: "deepseek";
@@ -10769,8 +10770,8 @@ export declare const agentSessionsOperations: {
10769
10770
  model: z$2.ZodOptional<z$2.ZodObject<{
10770
10771
  provider: z$2.ZodEnum<{
10771
10772
  cursor: "cursor";
10772
- openai: "openai";
10773
10773
  anthropic: "anthropic";
10774
+ openai: "openai";
10774
10775
  google: "google";
10775
10776
  spacexai: "spacexai";
10776
10777
  deepseek: "deepseek";
@@ -10999,8 +11000,8 @@ export declare const agentSessionsOperations: {
10999
11000
  model: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
11000
11001
  provider: z$2.ZodEnum<{
11001
11002
  cursor: "cursor";
11002
- openai: "openai";
11003
11003
  anthropic: "anthropic";
11004
+ openai: "openai";
11004
11005
  google: "google";
11005
11006
  spacexai: "spacexai";
11006
11007
  deepseek: "deepseek";
@@ -11734,6 +11735,12 @@ export interface CreateRecordOptions {
11734
11735
  * `unknown`: narrowed through `parseResourceVisibility`.
11735
11736
  */
11736
11737
  visibility?: unknown;
11738
+ /**
11739
+ * The parent record, of the same hierarchical object. The child takes its
11740
+ * parent's path and its root's visibility and owner. Accepted on create
11741
+ * only; `unknown`: narrowed to a UUID by the record requests.
11742
+ */
11743
+ parentId?: unknown;
11737
11744
  }
11738
11745
  /**
11739
11746
  * `POST /records/:objectName` — `data` is an object (not null, not an array),
@@ -11799,6 +11806,14 @@ export declare const BulkDeleteRecordsDto: z$2.ZodObject<{
11799
11806
  ids: z$2.ZodArray<z$2.ZodType<string, string, z$2.core.$ZodTypeInternals<string, string>>>;
11800
11807
  }, z$2.core.$strip>;
11801
11808
  export type BulkDeleteRecordsBody = z$2.infer<typeof BulkDeleteRecordsDto>;
11809
+ /**
11810
+ * `POST /records/:objectName/deletion-count`: what deleting these records
11811
+ * would take, counted by the reads the delete runs. The record requests
11812
+ * refuse an id that is not a UUID.
11813
+ */
11814
+ export declare const CountRecordDeletionDto: z$2.ZodObject<{
11815
+ ids: z$2.ZodArray<z$2.ZodType<string, string, z$2.core.$ZodTypeInternals<string, string>>>;
11816
+ }, z$2.core.$strip>;
11802
11817
  /**
11803
11818
  * `PUT /records/:objectName/:recordId/appearance`: the icon facet only. The
11804
11819
  * image goes through `PUT …/image` as an upload — a file id is never accepted
@@ -11819,6 +11834,31 @@ export declare const SetRecordVisibilityDto: z$2.ZodObject<{
11819
11834
  visibility: z$2.ZodOptional<z$2.ZodUnknown>;
11820
11835
  }, z$2.core.$strip>;
11821
11836
  export type SetRecordVisibilityBody = z$2.infer<typeof SetRecordVisibilityDto>;
11837
+ /**
11838
+ * `POST /records/:objectName/:recordId/move-impact`: who would gain and lose
11839
+ * access if the record moved under `parentId` (`null`: to the top level).
11840
+ * The record requests refuse a `parentId` that is not a UUID.
11841
+ */
11842
+ export declare const MoveRecordImpactDto: z$2.ZodObject<{
11843
+ parentId: z$2.ZodNullable<z$2.ZodString>;
11844
+ }, z$2.core.$strip>;
11845
+ /**
11846
+ * `POST /records/:objectName/:recordId/move`. `expected` is the impact the
11847
+ * client showed: when the audience changed since, the move is refused with
11848
+ * `RECORD_MOVE_IMPACT_CHANGED` carrying the new one.
11849
+ */
11850
+ export declare const MoveRecordDto: z$2.ZodObject<{
11851
+ parentId: z$2.ZodNullable<z$2.ZodString>;
11852
+ expected: z$2.ZodOptional<z$2.ZodReadonly<z$2.ZodObject<{
11853
+ added: z$2.ZodReadonly<z$2.ZodArray<z$2.ZodString>>;
11854
+ removed: z$2.ZodReadonly<z$2.ZodArray<z$2.ZodString>>;
11855
+ roleChanged: z$2.ZodReadonly<z$2.ZodArray<z$2.ZodString>>;
11856
+ workspaceBefore: z$2.ZodBoolean;
11857
+ workspaceAfter: z$2.ZodBoolean;
11858
+ subtreeSize: z$2.ZodNumber;
11859
+ }, z$2.core.$strip>>>;
11860
+ }, z$2.core.$strip>;
11861
+ export type MoveRecordBody = z$2.infer<typeof MoveRecordDto>;
11822
11862
  /**
11823
11863
  * `GET /records/:objectName` — the page as query strings. Lenient, as it
11824
11864
  * always was: a `limit` that is not a positive integer reads as 20 (above 1000
@@ -11892,6 +11932,15 @@ export interface RecordsBulkDeleteResult {
11892
11932
  code: SchemaErrorCode;
11893
11933
  }[];
11894
11934
  }
11935
+ /**
11936
+ * What deleting records would take (hierarchical records, spec §7): the
11937
+ * incoming links it would break, and the descendants beyond the selection
11938
+ * that would go to the trash with it. The confirmation names `descendants`.
11939
+ */
11940
+ export interface RecordDeletionCount {
11941
+ incomingReferences: number;
11942
+ descendants: number;
11943
+ }
11895
11944
  /** What attaching a file to a record answers. */
11896
11945
  export interface AttachedRecordDocument {
11897
11946
  document: Document;
@@ -12106,6 +12155,22 @@ export declare const recordsOperations: {
12106
12155
  readonly action: "delete";
12107
12156
  };
12108
12157
  }>;
12158
+ /** What deleting the records would take, before the confirmation is shown. */
12159
+ deletionCount: Operation<{
12160
+ readonly name: "records.deletionCount";
12161
+ readonly method: "POST";
12162
+ readonly path: "/records/:objectName/deletion-count";
12163
+ readonly input: z$2.ZodObject<{
12164
+ objectName: z$2.ZodString;
12165
+ ids: z$2.ZodArray<z$2.ZodType<string, string, z$2.core.$ZodTypeInternals<string, string>>>;
12166
+ }, z$2.core.$strip>;
12167
+ readonly output: OutputType<RecordDeletionCount>;
12168
+ readonly status: 200;
12169
+ readonly objectPermission: {
12170
+ readonly param: "objectName";
12171
+ readonly action: "delete";
12172
+ };
12173
+ }>;
12109
12174
  /**
12110
12175
  * Create several records (set-based, import semantics): an invalid or
12111
12176
  * DB-rejected item lands in `errors` with its index while its siblings are
@@ -12158,6 +12223,55 @@ export declare const recordsOperations: {
12158
12223
  readonly action: "update";
12159
12224
  };
12160
12225
  }>;
12226
+ /**
12227
+ * Who would gain and lose access if the record moved (hierarchical
12228
+ * records): the client shows it before confirming the move.
12229
+ */
12230
+ moveImpact: Operation<{
12231
+ readonly name: "records.moveImpact";
12232
+ readonly method: "POST";
12233
+ readonly path: "/records/:objectName/:recordId/move-impact";
12234
+ readonly input: z$2.ZodObject<{
12235
+ objectName: z$2.ZodString;
12236
+ parentId: z$2.ZodNullable<z$2.ZodString>;
12237
+ recordId: z$2.ZodString;
12238
+ }, z$2.core.$strip>;
12239
+ readonly output: OutputType<MoveImpact>;
12240
+ readonly status: 200;
12241
+ readonly objectPermission: {
12242
+ readonly param: "objectName";
12243
+ readonly action: "update";
12244
+ };
12245
+ }>;
12246
+ /**
12247
+ * Move the record and its descendants under `parentId`, or to the top level
12248
+ * with `null`; the subtree takes its new root's access. Needs `own` on the
12249
+ * record's current root and `write` on the new parent.
12250
+ */
12251
+ move: Operation<{
12252
+ readonly name: "records.move";
12253
+ readonly method: "POST";
12254
+ readonly path: "/records/:objectName/:recordId/move";
12255
+ readonly input: z$2.ZodObject<{
12256
+ objectName: z$2.ZodString;
12257
+ parentId: z$2.ZodNullable<z$2.ZodString>;
12258
+ expected: z$2.ZodOptional<z$2.ZodReadonly<z$2.ZodObject<{
12259
+ added: z$2.ZodReadonly<z$2.ZodArray<z$2.ZodString>>;
12260
+ removed: z$2.ZodReadonly<z$2.ZodArray<z$2.ZodString>>;
12261
+ roleChanged: z$2.ZodReadonly<z$2.ZodArray<z$2.ZodString>>;
12262
+ workspaceBefore: z$2.ZodBoolean;
12263
+ workspaceAfter: z$2.ZodBoolean;
12264
+ subtreeSize: z$2.ZodNumber;
12265
+ }, z$2.core.$strip>>>;
12266
+ recordId: z$2.ZodString;
12267
+ }, z$2.core.$strip>;
12268
+ readonly output: OutputType<ObjectRecord<Record<string, unknown>>>;
12269
+ readonly status: 200;
12270
+ readonly objectPermission: {
12271
+ readonly param: "objectName";
12272
+ readonly action: "update";
12273
+ };
12274
+ }>;
12161
12275
  /**
12162
12276
  * Set the record's icon; its image, if any, is removed. Answers the record
12163
12277
  * row as written (reference attributes not hydrated).
@@ -12523,15 +12637,67 @@ export declare const recordAccessOperations: {
12523
12637
  }>;
12524
12638
  };
12525
12639
  //#endregion
12640
+ //#region src/api/device-access.operations.d.ts
12641
+ /** `PUT /devices/:id/access/:actorId` — the role to grant. */
12642
+ export declare const grantDeviceAccessBody: z$2.ZodObject<{
12643
+ role: z$2.ZodEnum<{
12644
+ runner: "runner";
12645
+ }>;
12646
+ }, z$2.core.$strip>;
12647
+ export type GrantDeviceAccessBody = z$2.infer<typeof grantDeviceAccessBody>;
12648
+ /**
12649
+ * Who may run commands on a device beyond its owner (spec 2026-11-02 §4.2).
12650
+ * Operations only: every rule (who may read, grant or revoke, the anti-oracle
12651
+ * on a device the caller cannot see) lives in the runtime's
12652
+ * `ResourceAccessService`, and the gate is the owner or a `devices: manage`
12653
+ * holder, judged there rather than by a catalog floor.
12654
+ */
12655
+ export declare const deviceAccessOperations: {
12656
+ /** The audience. */
12657
+ list: Operation<{
12658
+ readonly name: "deviceAccess.list";
12659
+ readonly method: "GET";
12660
+ readonly path: "/devices/:id/access";
12661
+ readonly input: z$2.ZodObject<{
12662
+ id: z$2.ZodGUID;
12663
+ }, z$2.core.$strip>;
12664
+ readonly output: OutputType<DeviceAudience>;
12665
+ }>;
12666
+ /** `{ role }`: lend the device to an actor. */
12667
+ grant: Operation<{
12668
+ readonly name: "deviceAccess.grant";
12669
+ readonly method: "PUT";
12670
+ readonly path: "/devices/:id/access/:actorId";
12671
+ readonly input: z$2.ZodObject<{
12672
+ id: z$2.ZodGUID;
12673
+ actorId: z$2.ZodGUID;
12674
+ role: z$2.ZodEnum<{
12675
+ runner: "runner";
12676
+ }>;
12677
+ }, z$2.core.$strip>;
12678
+ readonly output: OutputType<DeviceAudience>;
12679
+ }>;
12680
+ revoke: Operation<{
12681
+ readonly name: "deviceAccess.revoke";
12682
+ readonly method: "DELETE";
12683
+ readonly path: "/devices/:id/access/:actorId";
12684
+ readonly input: z$2.ZodObject<{
12685
+ id: z$2.ZodGUID;
12686
+ actorId: z$2.ZodGUID;
12687
+ }, z$2.core.$strip>;
12688
+ readonly output: OutputType<DeviceAudience>;
12689
+ }>;
12690
+ };
12691
+ //#endregion
12526
12692
  //#region src/api/devices.operations.d.ts
12527
- export type RemoteDevicePlatform = "darwin" | "linux";
12693
+ export declare const REMOTE_DEVICE_PLATFORMS: readonly ["darwin", "linux", "win32"];
12694
+ export type RemoteDevicePlatform = (typeof REMOTE_DEVICE_PLATFORMS)[number];
12528
12695
  export type RemoteDeviceStatus = "online" | "offline" | "revoked";
12529
12696
  /** A computer paired to its owner; agents run shell commands on it once authorized. */
12530
12697
  export interface RemoteDeviceView {
12531
12698
  id: string;
12532
12699
  tenantId: string;
12533
12700
  ownerActorId: string;
12534
- installationId: string;
12535
12701
  name: string;
12536
12702
  platform: RemoteDevicePlatform;
12537
12703
  arch: string;
@@ -12539,6 +12705,12 @@ export interface RemoteDeviceView {
12539
12705
  lastSeenAt: string | null;
12540
12706
  revokedAt: string | null;
12541
12707
  agentExecutionAuthorizedAt: string | null;
12708
+ /** Enrolled through a fleet token: managers other than the owner may administer it. */
12709
+ managed: boolean;
12710
+ /** Last `agent-desktop status` the worker announced; null when it announced none. */
12711
+ desktopStatus: DeviceDesktopStatus | null;
12712
+ /** The shell sessions open in; null until the worker announces one. */
12713
+ shell: DeviceShell | null;
12542
12714
  createdAt: string;
12543
12715
  updatedAt: string;
12544
12716
  status: RemoteDeviceStatus;
@@ -12555,10 +12727,60 @@ export declare const pairDeviceBody: z$2.ZodObject<{
12555
12727
  platform: z$2.ZodEnum<{
12556
12728
  darwin: "darwin";
12557
12729
  linux: "linux";
12730
+ win32: "win32";
12558
12731
  }>;
12559
12732
  arch: z$2.ZodString;
12560
12733
  hostname: z$2.ZodString;
12561
12734
  }, z$2.core.$strict>;
12735
+ /** `POST /devices/enroll`: the token names the tenant; a known installation also proves itself. */
12736
+ export declare const enrollDeviceBody: z$2.ZodObject<{
12737
+ token: z$2.ZodString;
12738
+ installationId: z$2.ZodUUID;
12739
+ hostname: z$2.ZodString;
12740
+ platform: z$2.ZodEnum<{
12741
+ darwin: "darwin";
12742
+ linux: "linux";
12743
+ win32: "win32";
12744
+ }>;
12745
+ arch: z$2.ZodString;
12746
+ currentCredential: z$2.ZodOptional<z$2.ZodString>;
12747
+ }, z$2.core.$strict>;
12748
+ /** A fleet token: many machines, one name prefix, optional runners and execution switch. */
12749
+ export declare const createEnrollmentTokenBody: z$2.ZodObject<{
12750
+ namePrefix: z$2.ZodOptional<z$2.ZodString>;
12751
+ runnerActorIds: z$2.ZodDefault<z$2.ZodArray<z$2.ZodGUID>>;
12752
+ agentExecutionAuthorized: z$2.ZodDefault<z$2.ZodBoolean>;
12753
+ maxUses: z$2.ZodDefault<z$2.ZodNumber>;
12754
+ expiresInSeconds: z$2.ZodDefault<z$2.ZodNumber>;
12755
+ }, z$2.core.$strict>;
12756
+ export type EnrollDeviceBody = z$2.infer<typeof enrollDeviceBody>;
12757
+ export type CreateEnrollmentTokenBody = z$2.infer<typeof createEnrollmentTokenBody>;
12758
+ /** What enrolling answers: the credential the machine authenticates its channel with, shown once. */
12759
+ export interface EnrolledDevice {
12760
+ deviceId: string;
12761
+ deviceToken: string;
12762
+ name: string;
12763
+ }
12764
+ export type EnrollmentTokenKind = "fleet" | "personal";
12765
+ /** An enrollment token as listed; the secret is never returned again. */
12766
+ export interface EnrollmentTokenView {
12767
+ id: string;
12768
+ kind: EnrollmentTokenKind;
12769
+ namePrefix: string | null;
12770
+ runnerActorIds: string[];
12771
+ agentExecutionAuthorized: boolean;
12772
+ maxUses: number;
12773
+ uses: number;
12774
+ createdBy: string;
12775
+ expiresAt: string;
12776
+ revokedAt: string | null;
12777
+ createdAt: string;
12778
+ }
12779
+ /** A freshly created token: its secret (tenant-scoped enrollment token), shown once. */
12780
+ export interface CreatedEnrollmentToken {
12781
+ token: string;
12782
+ enrollmentToken: EnrollmentTokenView;
12783
+ }
12562
12784
  export declare const updateDeviceBody: z$2.ZodObject<{
12563
12785
  name: z$2.ZodOptional<z$2.ZodString>;
12564
12786
  agentExecutionAuthorized: z$2.ZodOptional<z$2.ZodBoolean>;
@@ -12591,12 +12813,39 @@ export declare const devicesOperations: {
12591
12813
  platform: z$2.ZodEnum<{
12592
12814
  darwin: "darwin";
12593
12815
  linux: "linux";
12816
+ win32: "win32";
12594
12817
  }>;
12595
12818
  arch: z$2.ZodString;
12596
12819
  hostname: z$2.ZodString;
12597
12820
  }, z$2.core.$strict>;
12598
12821
  readonly output: OutputType<PairedRemoteDevice>;
12599
12822
  }>;
12823
+ /**
12824
+ * A machine enrolls with a token. Unauthenticated: the token names the
12825
+ * tenant. Ten attempts a minute per address: a token is a secret to guess.
12826
+ */
12827
+ enroll: Operation<{
12828
+ readonly name: "devices.enroll";
12829
+ readonly method: "POST";
12830
+ readonly path: "/devices/enroll";
12831
+ readonly input: z$2.ZodObject<{
12832
+ token: z$2.ZodString;
12833
+ installationId: z$2.ZodUUID;
12834
+ hostname: z$2.ZodString;
12835
+ platform: z$2.ZodEnum<{
12836
+ darwin: "darwin";
12837
+ linux: "linux";
12838
+ win32: "win32";
12839
+ }>;
12840
+ arch: z$2.ZodString;
12841
+ currentCredential: z$2.ZodOptional<z$2.ZodString>;
12842
+ }, z$2.core.$strict>;
12843
+ readonly output: OutputType<EnrolledDevice>;
12844
+ readonly throttle: {
12845
+ readonly limit: 10;
12846
+ readonly ttlMs: 60000;
12847
+ };
12848
+ }>;
12600
12849
  update: Operation<{
12601
12850
  readonly name: "devices.update";
12602
12851
  readonly method: "PATCH";
@@ -12620,6 +12869,59 @@ export declare const devicesOperations: {
12620
12869
  }>;
12621
12870
  }>;
12622
12871
  };
12872
+ /**
12873
+ * Enrollment tokens: fleet tokens for `devices: manage` holders, from the
12874
+ * platform UI only; a personal one for the caller's own machine, from a
12875
+ * session or the CLI's personal API key.
12876
+ */
12877
+ export declare const deviceEnrollmentTokensOperations: {
12878
+ /** A fleet token, for a manager enrolling many machines. */
12879
+ create: Operation<{
12880
+ readonly name: "deviceEnrollmentTokens.create";
12881
+ readonly method: "POST";
12882
+ readonly path: "/devices/enrollment-tokens";
12883
+ readonly input: z$2.ZodObject<{
12884
+ namePrefix: z$2.ZodOptional<z$2.ZodString>;
12885
+ runnerActorIds: z$2.ZodDefault<z$2.ZodArray<z$2.ZodGUID>>;
12886
+ agentExecutionAuthorized: z$2.ZodDefault<z$2.ZodBoolean>;
12887
+ maxUses: z$2.ZodDefault<z$2.ZodNumber>;
12888
+ expiresInSeconds: z$2.ZodDefault<z$2.ZodNumber>;
12889
+ }, z$2.core.$strict>;
12890
+ readonly output: OutputType<CreatedEnrollmentToken>;
12891
+ readonly permission: readonly ["devices", "manage"];
12892
+ readonly credential: "session";
12893
+ }>;
12894
+ list: Operation<{
12895
+ readonly name: "deviceEnrollmentTokens.list";
12896
+ readonly method: "GET";
12897
+ readonly path: "/devices/enrollment-tokens";
12898
+ readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
12899
+ readonly output: OutputType<EnrollmentTokenView[]>;
12900
+ readonly permission: readonly ["devices", "manage"];
12901
+ readonly credential: "session";
12902
+ }>;
12903
+ revoke: Operation<{
12904
+ readonly name: "deviceEnrollmentTokens.revoke";
12905
+ readonly method: "DELETE";
12906
+ readonly path: "/devices/enrollment-tokens/:id";
12907
+ readonly input: z$2.ZodObject<{
12908
+ id: z$2.ZodGUID;
12909
+ }, z$2.core.$strip>;
12910
+ readonly output: OutputType<{
12911
+ success: true;
12912
+ }>;
12913
+ readonly permission: readonly ["devices", "manage"];
12914
+ readonly credential: "session";
12915
+ }>;
12916
+ /** A single-use, 10 minute token for the caller's own machine; replaces `pair`. */
12917
+ createPersonal: Operation<{
12918
+ readonly name: "deviceEnrollmentTokens.createPersonal";
12919
+ readonly method: "POST";
12920
+ readonly path: "/devices/enrollment-tokens/personal";
12921
+ readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
12922
+ readonly output: OutputType<CreatedEnrollmentToken>;
12923
+ }>;
12924
+ };
12623
12925
  //#endregion
12624
12926
  //#region src/api/connected-apps.operations.d.ts
12625
12927
  /** One OAuth connection of the caller, on one of their workspaces. */