@standards/schema 1.0.0-alpha.408 → 1.0.0-alpha.410

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 (95) hide show
  1. package/dist/all-B606hHr3.mjs +2 -0
  2. package/dist/{all-CYfzNNTD.d.ts → all-B802p9b-.d.mts} +12 -10
  3. package/dist/all-C-dQf23e.js +2 -0
  4. package/dist/{all-1spF7ByM.d.mts → all-CbM6xRtw.d.ts} +12 -10
  5. package/dist/api/index.d.mts +430 -31
  6. package/dist/api/index.d.ts +430 -31
  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/{config-BWgga8mu.js → config-YSw2jzWj.js} +1 -1
  14. package/dist/{config-BwshhFai.mjs → config-iUwnquKr.mjs} +1 -1
  15. package/dist/{date-D5D3aP1p.d.ts → date-C29k_cah.d.ts} +2 -2
  16. package/dist/{date-DM0ExRcF.d.mts → date-CtZVrU3Z.d.mts} +2 -2
  17. package/dist/{exceptions-BlKiQcvh.d.ts → exceptions-CmMd5DGH.d.mts} +12 -0
  18. package/dist/{exceptions-BlKiQcvh.d.mts → exceptions-CmMd5DGH.d.ts} +12 -0
  19. package/dist/exceptions.d.mts +1 -1
  20. package/dist/exceptions.d.ts +1 -1
  21. package/dist/exceptions.js +1 -1
  22. package/dist/exceptions.mjs +1 -1
  23. package/dist/{index-CXyPgHS_.d.mts → index-B6XCKKgD.d.mts} +1 -1
  24. package/dist/{index-CkNJkuYX.d.ts → index-BDMlzqIt.d.ts} +3 -3
  25. package/dist/{index-Ba5hViTX.d.ts → index-CCt_hCgK.d.ts} +1 -1
  26. package/dist/{index-ChyZg9Dl.d.ts → index-CFSSj05K.d.ts} +3 -2
  27. package/dist/{index-DfaotFfW.d.mts → index-Ckbiu3d9.d.mts} +3 -3
  28. package/dist/{index-CIS58KNs.d.mts → index-CpWy2-oS.d.mts} +3 -2
  29. package/dist/{index-DfIVNu-r.d.mts → index-DeUkwS45.d.mts} +274 -13
  30. package/dist/{index-kIe8V1Oz.d.ts → index-ayjc-chp.d.ts} +274 -13
  31. package/dist/index.d.mts +10 -10
  32. package/dist/index.d.ts +10 -10
  33. package/dist/index.js +1 -1
  34. package/dist/index.mjs +1 -1
  35. package/dist/{number-CIP0eOB9.d.ts → number-BGpvOweC.d.ts} +2 -2
  36. package/dist/{number-BulsVlZX.d.mts → number-g88uoxhJ.d.mts} +2 -2
  37. package/dist/{objects-B07Ix6br.d.ts → objects-Bt5C4BNO.d.ts} +33 -3
  38. package/dist/{objects-Cvc21DHf.d.mts → objects-Ddi_zEYp.d.mts} +33 -3
  39. package/dist/{primitives-D9A6pmXV.mjs → primitives-BCJLtpaI.mjs} +1 -1
  40. package/dist/{primitives-BBtVhLdq.js → primitives-CVbrjJ24.js} +1 -1
  41. package/dist/record-aggregates-Cl_62tuW.mjs +2 -0
  42. package/dist/record-aggregates-eFfvQOzG.js +2 -0
  43. package/dist/record-operation-CyVr9RBO.js +2 -0
  44. package/dist/record-operation-prlqtHAm.mjs +2 -0
  45. package/dist/{text-BsEjIQsm.d.ts → text-CMMMIBIT.d.ts} +2 -2
  46. package/dist/{text-9dEmwy7y.d.mts → text-Dyxn_QlR.d.mts} +2 -2
  47. package/dist/{utils-5JI2a7Qr.d.ts → utils-Du85J1nY.d.ts} +1 -1
  48. package/dist/{utils-Vep_JDSS.d.mts → utils-mBdW0zGZ.d.mts} +1 -1
  49. package/dist/utils.d.mts +1 -1
  50. package/dist/utils.d.ts +1 -1
  51. package/dist/validation/all.d.mts +4 -4
  52. package/dist/validation/all.d.ts +4 -4
  53. package/dist/validation/all.js +1 -1
  54. package/dist/validation/all.mjs +1 -1
  55. package/dist/validation/complex/currency.d.mts +2 -2
  56. package/dist/validation/complex/currency.d.ts +2 -2
  57. package/dist/validation/complex/location.d.mts +2 -2
  58. package/dist/validation/complex/location.d.ts +2 -2
  59. package/dist/validation/complex/phone.d.mts +2 -2
  60. package/dist/validation/complex/phone.d.ts +2 -2
  61. package/dist/validation/complex/relation.d.mts +2 -2
  62. package/dist/validation/complex/relation.d.ts +2 -2
  63. package/dist/validation/complex/richtext.d.mts +2 -2
  64. package/dist/validation/complex/richtext.d.ts +2 -2
  65. package/dist/validation/complex/select.d.mts +2 -2
  66. package/dist/validation/complex/select.d.ts +2 -2
  67. package/dist/validation/complex/user.d.mts +2 -2
  68. package/dist/validation/complex/user.d.ts +2 -2
  69. package/dist/validation/computed/formula.d.mts +2 -2
  70. package/dist/validation/computed/formula.d.ts +2 -2
  71. package/dist/validation/computed/rollup.d.mts +2 -2
  72. package/dist/validation/computed/rollup.d.ts +2 -2
  73. package/dist/validation/config/index.d.mts +1 -1
  74. package/dist/validation/config/index.d.ts +1 -1
  75. package/dist/validation/config/index.js +1 -1
  76. package/dist/validation/config/index.mjs +1 -1
  77. package/dist/validation/core/index.d.mts +1 -1
  78. package/dist/validation/core/index.d.ts +1 -1
  79. package/dist/validation/object/index.d.mts +1 -1
  80. package/dist/validation/object/index.d.ts +1 -1
  81. package/dist/validation/primitives/checkbox.d.mts +1 -1
  82. package/dist/validation/primitives/checkbox.d.ts +1 -1
  83. package/dist/validation/primitives/date.d.mts +1 -1
  84. package/dist/validation/primitives/date.d.ts +1 -1
  85. package/dist/validation/primitives/number.d.mts +1 -1
  86. package/dist/validation/primitives/number.d.ts +1 -1
  87. package/dist/validation/primitives/text.d.mts +1 -1
  88. package/dist/validation/primitives/text.d.ts +1 -1
  89. package/package.json +2 -2
  90. package/dist/all-BNOv4MuC.js +0 -2
  91. package/dist/all-Bzzltedd.mjs +0 -2
  92. package/dist/record-aggregates-Bhi1lCSm.js +0 -2
  93. package/dist/record-aggregates-DEBOOgA0.mjs +0 -2
  94. package/dist/record-operation-BLq2emrx.js +0 -2
  95. package/dist/record-operation-DK20jPvI.mjs +0 -2
@@ -1,10 +1,10 @@
1
1
 
2
- import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-BlKiQcvh.mjs";
3
- import { AgentDefinitionAudience, AgentSessionAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-Cvc21DHf.mjs";
4
- import { Attribute } from "../attributes-CB6EJyu2.mjs";
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-DfIVNu-r.mjs";
6
- import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-1spF7ByM.mjs";
7
- import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-CIS58KNs.mjs";
2
+ import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-CmMd5DGH.mjs";
3
+ import { AgentDefinitionAudience, AgentSessionAudience, DeviceAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-Ddi_zEYp.mjs";
4
+ import { Attribute } from "../attributes-BgPCTw3y.mjs";
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-DeUkwS45.mjs";
6
+ import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-B802p9b-.mjs";
7
+ import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-CpWy2-oS.mjs";
8
8
  import * as z$2 from "zod";
9
9
  //#region src/api/path.d.ts
10
10
  /**
@@ -842,6 +842,26 @@ export declare const decisionsOperations: {
842
842
  readonly output: OutputType<DecisionWithRecipient>;
843
843
  readonly status: 200;
844
844
  }>;
845
+ /**
846
+ * « Transférer » (#6451): the caller hands their own open row of a
847
+ * `question` to `to`, an active person, who gets a pending row of the same
848
+ * decision; the caller's row closes `dismissed`, its reason recorded in
849
+ * `payload.transfers`. Returns the caller's closed row. Another's row: 404;
850
+ * no longer open: `STATE_GATE`; a kind or type that cannot be handed over,
851
+ * a target its type refuses, a target already asked, or an attachment the
852
+ * caller may not share: `ValidationError`.
853
+ */
854
+ transfer: Operation<{
855
+ readonly name: "decisions.transfer";
856
+ readonly method: "POST";
857
+ readonly path: "/decisions/:recipientId/transfer";
858
+ readonly input: z$2.ZodObject<{
859
+ recipientId: z$2.ZodGUID;
860
+ to: z$2.ZodGUID;
861
+ }, z$2.core.$strip>;
862
+ readonly output: OutputType<DecisionWithRecipient>;
863
+ readonly status: 200;
864
+ }>;
845
865
  /** « Plus tard » (§ 6): an open decision leaves « À trancher » until `until`. */
846
866
  snooze: Operation<{
847
867
  readonly name: "decisions.snooze";
@@ -1826,7 +1846,7 @@ export declare const permissionsOperations: {
1826
1846
  readonly method: "GET";
1827
1847
  readonly path: "/permissions/me/system/:resource";
1828
1848
  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">>;
1849
+ 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
1850
  }, z$2.core.$strip>;
1831
1851
  readonly output: OutputType<SystemPermissions>;
1832
1852
  }>;
@@ -4107,14 +4127,20 @@ export declare const formsOperations: {
4107
4127
  //#region src/api/relations.operations.d.ts
4108
4128
  /** `POST /relations/resolve` — the ids of one relation attribute to label. */
4109
4129
  export declare const resolveRelationsBody: z$2.ZodObject<{
4110
- attributeId: z$2.ZodString;
4130
+ attributeId: z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodEnum<{
4131
+ "hierarchy:parentId": "hierarchy:parentId";
4132
+ "hierarchy:childIds": "hierarchy:childIds";
4133
+ }>]>;
4111
4134
  ids: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
4112
4135
  }, z$2.core.$strip>;
4113
4136
  export type ResolveRelationsBody = z$2.infer<typeof resolveRelationsBody>;
4114
4137
  /** `POST /relations/resolve-batch` — several attributes' ids in one call. */
4115
4138
  export declare const resolveRelationsBatchBody: z$2.ZodObject<{
4116
4139
  requests: z$2.ZodArray<z$2.ZodObject<{
4117
- attributeId: z$2.ZodString;
4140
+ attributeId: z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodEnum<{
4141
+ "hierarchy:parentId": "hierarchy:parentId";
4142
+ "hierarchy:childIds": "hierarchy:childIds";
4143
+ }>]>;
4118
4144
  ids: z$2.ZodArray<z$2.ZodString>;
4119
4145
  }, z$2.core.$strip>>;
4120
4146
  }, z$2.core.$strip>;
@@ -4164,7 +4190,10 @@ export declare const relationsOperations: {
4164
4190
  readonly method: "POST";
4165
4191
  readonly path: "/relations/resolve";
4166
4192
  readonly input: z$2.ZodObject<{
4167
- attributeId: z$2.ZodString;
4193
+ attributeId: z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodEnum<{
4194
+ "hierarchy:parentId": "hierarchy:parentId";
4195
+ "hierarchy:childIds": "hierarchy:childIds";
4196
+ }>]>;
4168
4197
  ids: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
4169
4198
  }, z$2.core.$strip>;
4170
4199
  readonly output: OutputType<RelationOption[]>;
@@ -4176,7 +4205,10 @@ export declare const relationsOperations: {
4176
4205
  readonly path: "/relations/resolve-batch";
4177
4206
  readonly input: z$2.ZodObject<{
4178
4207
  requests: z$2.ZodArray<z$2.ZodObject<{
4179
- attributeId: z$2.ZodString;
4208
+ attributeId: z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodEnum<{
4209
+ "hierarchy:parentId": "hierarchy:parentId";
4210
+ "hierarchy:childIds": "hierarchy:childIds";
4211
+ }>]>;
4180
4212
  ids: z$2.ZodArray<z$2.ZodString>;
4181
4213
  }, z$2.core.$strip>>;
4182
4214
  }, z$2.core.$strip>;
@@ -4263,6 +4295,107 @@ export declare const searchOperations: {
4263
4295
  }>;
4264
4296
  };
4265
4297
  //#endregion
4298
+ //#region src/api/skills.operations.d.ts
4299
+ /**
4300
+ * One file of an exported skill folder, at its path relative to the folder:
4301
+ * UTF-8 text as `content`, any other bytes as a signed `url`.
4302
+ */
4303
+ export type ExportedSkillFile = {
4304
+ path: string;
4305
+ } & ({
4306
+ content: string;
4307
+ } | {
4308
+ url: string;
4309
+ });
4310
+ /** A skill as an Agent Skills folder: `SKILL.md` first, then every file of its drive. */
4311
+ export interface ExportedSkillFolder {
4312
+ name: string;
4313
+ files: ExportedSkillFile[];
4314
+ }
4315
+ export interface ExportSkillsResult {
4316
+ folders: ExportedSkillFolder[];
4317
+ }
4318
+ /** `POST /skills/export`: the named skills, or every skill the caller can open. */
4319
+ export declare const exportSkillsBody: z$2.ZodObject<{
4320
+ names: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
4321
+ }, z$2.core.$strip>;
4322
+ export type ExportSkillsBody = z$2.infer<typeof exportSkillsBody>;
4323
+ /**
4324
+ * `POST /skills/import`: every folder is checked before anything is written,
4325
+ * and one invalid folder refuses the whole import. `onConflict: "replace"`
4326
+ * makes the skill a name reads equal to its folder; `"fail"` refuses a name
4327
+ * already held.
4328
+ */
4329
+ export declare const importSkillsBody: z$2.ZodObject<{
4330
+ folders: z$2.ZodArray<z$2.ZodObject<{
4331
+ name: z$2.ZodString;
4332
+ files: z$2.ZodArray<z$2.ZodObject<{
4333
+ path: z$2.ZodString;
4334
+ content: z$2.ZodOptional<z$2.ZodString>;
4335
+ fileId: z$2.ZodOptional<z$2.ZodString>;
4336
+ }, z$2.core.$strip>>;
4337
+ }, z$2.core.$strip>>;
4338
+ onConflict: z$2.ZodEnum<{
4339
+ replace: "replace";
4340
+ fail: "fail";
4341
+ }>;
4342
+ }, z$2.core.$strip>;
4343
+ export type ImportSkillsBody = z$2.infer<typeof importSkillsBody>;
4344
+ export interface ImportSkillsResult {
4345
+ /** Names of the skills created, in the order they were written (parents first). */
4346
+ created: string[];
4347
+ /** Names of the skills whose record was rewritten from its folder. */
4348
+ replaced: string[];
4349
+ /** Each folder's warnings, and the other skills sharing a replaced name. */
4350
+ warnings: string[];
4351
+ }
4352
+ /**
4353
+ * Skills as Agent Skills folders (spec 2026-11-02 § 3). Gated on the `skill`
4354
+ * object: export reads it, import creates (a replaced skill is also judged
4355
+ * `update` by the record write itself).
4356
+ */
4357
+ export declare const skillsOperations: {
4358
+ readonly export: Operation<{
4359
+ readonly name: "skills.export";
4360
+ readonly method: "POST";
4361
+ readonly path: "/skills/export";
4362
+ readonly input: z$2.ZodObject<{
4363
+ names: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
4364
+ }, z$2.core.$strip>;
4365
+ readonly output: OutputType<ExportSkillsResult>;
4366
+ readonly status: 200;
4367
+ readonly objectPermission: {
4368
+ readonly object: "skill";
4369
+ readonly action: "read";
4370
+ };
4371
+ }>;
4372
+ readonly import: Operation<{
4373
+ readonly name: "skills.import";
4374
+ readonly method: "POST";
4375
+ readonly path: "/skills/import";
4376
+ readonly input: z$2.ZodObject<{
4377
+ folders: z$2.ZodArray<z$2.ZodObject<{
4378
+ name: z$2.ZodString;
4379
+ files: z$2.ZodArray<z$2.ZodObject<{
4380
+ path: z$2.ZodString;
4381
+ content: z$2.ZodOptional<z$2.ZodString>;
4382
+ fileId: z$2.ZodOptional<z$2.ZodString>;
4383
+ }, z$2.core.$strip>>;
4384
+ }, z$2.core.$strip>>;
4385
+ onConflict: z$2.ZodEnum<{
4386
+ replace: "replace";
4387
+ fail: "fail";
4388
+ }>;
4389
+ }, z$2.core.$strip>;
4390
+ readonly output: OutputType<ImportSkillsResult>;
4391
+ readonly status: 200;
4392
+ readonly objectPermission: {
4393
+ readonly object: "skill";
4394
+ readonly action: "create";
4395
+ };
4396
+ }>;
4397
+ };
4398
+ //#endregion
4266
4399
  //#region src/api/recent-activity.operations.d.ts
4267
4400
  /** `POST /recent-activity/resolve` — the ledger to resolve. */
4268
4401
  export declare const resolveRecentActivityBody: z$2.ZodObject<{
@@ -4362,6 +4495,7 @@ export declare const recordOperationsOperations: {
4362
4495
  base: import("zod").ZodUnknown;
4363
4496
  props: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
4364
4497
  }, import("zod/v4/core").$strict>>;
4498
+ parentId: import("zod").ZodOptional<import("zod").ZodUUID>;
4365
4499
  }, import("zod/v4/core").$strict>>;
4366
4500
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
4367
4501
  kind: import("zod").ZodLiteral<"record.delete">;
@@ -11734,6 +11868,12 @@ export interface CreateRecordOptions {
11734
11868
  * `unknown`: narrowed through `parseResourceVisibility`.
11735
11869
  */
11736
11870
  visibility?: unknown;
11871
+ /**
11872
+ * The parent record, of the same hierarchical object. The child takes its
11873
+ * parent's path and its root's visibility and owner. Accepted on create
11874
+ * only; `unknown`: narrowed to a UUID by the record requests.
11875
+ */
11876
+ parentId?: unknown;
11737
11877
  }
11738
11878
  /**
11739
11879
  * `POST /records/:objectName` — `data` is an object (not null, not an array),
@@ -11799,6 +11939,14 @@ export declare const BulkDeleteRecordsDto: z$2.ZodObject<{
11799
11939
  ids: z$2.ZodArray<z$2.ZodType<string, string, z$2.core.$ZodTypeInternals<string, string>>>;
11800
11940
  }, z$2.core.$strip>;
11801
11941
  export type BulkDeleteRecordsBody = z$2.infer<typeof BulkDeleteRecordsDto>;
11942
+ /**
11943
+ * `POST /records/:objectName/deletion-count`: what deleting these records
11944
+ * would take, counted by the reads the delete runs. The record requests
11945
+ * refuse an id that is not a UUID.
11946
+ */
11947
+ export declare const CountRecordDeletionDto: z$2.ZodObject<{
11948
+ ids: z$2.ZodArray<z$2.ZodType<string, string, z$2.core.$ZodTypeInternals<string, string>>>;
11949
+ }, z$2.core.$strip>;
11802
11950
  /**
11803
11951
  * `PUT /records/:objectName/:recordId/appearance`: the icon facet only. The
11804
11952
  * image goes through `PUT …/image` as an upload — a file id is never accepted
@@ -11819,6 +11967,31 @@ export declare const SetRecordVisibilityDto: z$2.ZodObject<{
11819
11967
  visibility: z$2.ZodOptional<z$2.ZodUnknown>;
11820
11968
  }, z$2.core.$strip>;
11821
11969
  export type SetRecordVisibilityBody = z$2.infer<typeof SetRecordVisibilityDto>;
11970
+ /**
11971
+ * `POST /records/:objectName/:recordId/move-impact`: who would gain and lose
11972
+ * access if the record moved under `parentId` (`null`: to the top level).
11973
+ * The record requests refuse a `parentId` that is not a UUID.
11974
+ */
11975
+ export declare const MoveRecordImpactDto: z$2.ZodObject<{
11976
+ parentId: z$2.ZodNullable<z$2.ZodString>;
11977
+ }, z$2.core.$strip>;
11978
+ /**
11979
+ * `POST /records/:objectName/:recordId/move`. `expected` is the impact the
11980
+ * client showed: when the audience changed since, the move is refused with
11981
+ * `RECORD_MOVE_IMPACT_CHANGED` carrying the new one.
11982
+ */
11983
+ export declare const MoveRecordDto: z$2.ZodObject<{
11984
+ parentId: z$2.ZodNullable<z$2.ZodString>;
11985
+ expected: z$2.ZodOptional<z$2.ZodReadonly<z$2.ZodObject<{
11986
+ added: z$2.ZodReadonly<z$2.ZodArray<z$2.ZodString>>;
11987
+ removed: z$2.ZodReadonly<z$2.ZodArray<z$2.ZodString>>;
11988
+ roleChanged: z$2.ZodReadonly<z$2.ZodArray<z$2.ZodString>>;
11989
+ workspaceBefore: z$2.ZodBoolean;
11990
+ workspaceAfter: z$2.ZodBoolean;
11991
+ subtreeSize: z$2.ZodNumber;
11992
+ }, z$2.core.$strip>>>;
11993
+ }, z$2.core.$strip>;
11994
+ export type MoveRecordBody = z$2.infer<typeof MoveRecordDto>;
11822
11995
  /**
11823
11996
  * `GET /records/:objectName` — the page as query strings. Lenient, as it
11824
11997
  * always was: a `limit` that is not a positive integer reads as 20 (above 1000
@@ -11892,6 +12065,15 @@ export interface RecordsBulkDeleteResult {
11892
12065
  code: SchemaErrorCode;
11893
12066
  }[];
11894
12067
  }
12068
+ /**
12069
+ * What deleting records would take (hierarchical records, spec §7): the
12070
+ * incoming links it would break, and the descendants beyond the selection
12071
+ * that would go to the trash with it. The confirmation names `descendants`.
12072
+ */
12073
+ export interface RecordDeletionCount {
12074
+ incomingReferences: number;
12075
+ descendants: number;
12076
+ }
11895
12077
  /** What attaching a file to a record answers. */
11896
12078
  export interface AttachedRecordDocument {
11897
12079
  document: Document;
@@ -12106,6 +12288,22 @@ export declare const recordsOperations: {
12106
12288
  readonly action: "delete";
12107
12289
  };
12108
12290
  }>;
12291
+ /** What deleting the records would take, before the confirmation is shown. */
12292
+ deletionCount: Operation<{
12293
+ readonly name: "records.deletionCount";
12294
+ readonly method: "POST";
12295
+ readonly path: "/records/:objectName/deletion-count";
12296
+ readonly input: z$2.ZodObject<{
12297
+ objectName: z$2.ZodString;
12298
+ ids: z$2.ZodArray<z$2.ZodType<string, string, z$2.core.$ZodTypeInternals<string, string>>>;
12299
+ }, z$2.core.$strip>;
12300
+ readonly output: OutputType<RecordDeletionCount>;
12301
+ readonly status: 200;
12302
+ readonly objectPermission: {
12303
+ readonly param: "objectName";
12304
+ readonly action: "delete";
12305
+ };
12306
+ }>;
12109
12307
  /**
12110
12308
  * Create several records (set-based, import semantics): an invalid or
12111
12309
  * DB-rejected item lands in `errors` with its index while its siblings are
@@ -12158,6 +12356,55 @@ export declare const recordsOperations: {
12158
12356
  readonly action: "update";
12159
12357
  };
12160
12358
  }>;
12359
+ /**
12360
+ * Who would gain and lose access if the record moved (hierarchical
12361
+ * records): the client shows it before confirming the move.
12362
+ */
12363
+ moveImpact: Operation<{
12364
+ readonly name: "records.moveImpact";
12365
+ readonly method: "POST";
12366
+ readonly path: "/records/:objectName/:recordId/move-impact";
12367
+ readonly input: z$2.ZodObject<{
12368
+ objectName: z$2.ZodString;
12369
+ parentId: z$2.ZodNullable<z$2.ZodString>;
12370
+ recordId: z$2.ZodString;
12371
+ }, z$2.core.$strip>;
12372
+ readonly output: OutputType<MoveImpact>;
12373
+ readonly status: 200;
12374
+ readonly objectPermission: {
12375
+ readonly param: "objectName";
12376
+ readonly action: "update";
12377
+ };
12378
+ }>;
12379
+ /**
12380
+ * Move the record and its descendants under `parentId`, or to the top level
12381
+ * with `null`; the subtree takes its new root's access. Needs `own` on the
12382
+ * record's current root and `write` on the new parent.
12383
+ */
12384
+ move: Operation<{
12385
+ readonly name: "records.move";
12386
+ readonly method: "POST";
12387
+ readonly path: "/records/:objectName/:recordId/move";
12388
+ readonly input: z$2.ZodObject<{
12389
+ objectName: z$2.ZodString;
12390
+ parentId: z$2.ZodNullable<z$2.ZodString>;
12391
+ expected: z$2.ZodOptional<z$2.ZodReadonly<z$2.ZodObject<{
12392
+ added: z$2.ZodReadonly<z$2.ZodArray<z$2.ZodString>>;
12393
+ removed: z$2.ZodReadonly<z$2.ZodArray<z$2.ZodString>>;
12394
+ roleChanged: z$2.ZodReadonly<z$2.ZodArray<z$2.ZodString>>;
12395
+ workspaceBefore: z$2.ZodBoolean;
12396
+ workspaceAfter: z$2.ZodBoolean;
12397
+ subtreeSize: z$2.ZodNumber;
12398
+ }, z$2.core.$strip>>>;
12399
+ recordId: z$2.ZodString;
12400
+ }, z$2.core.$strip>;
12401
+ readonly output: OutputType<ObjectRecord<Record<string, unknown>>>;
12402
+ readonly status: 200;
12403
+ readonly objectPermission: {
12404
+ readonly param: "objectName";
12405
+ readonly action: "update";
12406
+ };
12407
+ }>;
12161
12408
  /**
12162
12409
  * Set the record's icon; its image, if any, is removed. Answers the record
12163
12410
  * row as written (reference attributes not hydrated).
@@ -12523,15 +12770,67 @@ export declare const recordAccessOperations: {
12523
12770
  }>;
12524
12771
  };
12525
12772
  //#endregion
12773
+ //#region src/api/device-access.operations.d.ts
12774
+ /** `PUT /devices/:id/access/:actorId` — the role to grant. */
12775
+ export declare const grantDeviceAccessBody: z$2.ZodObject<{
12776
+ role: z$2.ZodEnum<{
12777
+ runner: "runner";
12778
+ }>;
12779
+ }, z$2.core.$strip>;
12780
+ export type GrantDeviceAccessBody = z$2.infer<typeof grantDeviceAccessBody>;
12781
+ /**
12782
+ * Who may run commands on a device beyond its owner (spec 2026-11-02 §4.2).
12783
+ * Operations only: every rule (who may read, grant or revoke, the anti-oracle
12784
+ * on a device the caller cannot see) lives in the runtime's
12785
+ * `ResourceAccessService`, and the gate is the owner or a `devices: manage`
12786
+ * holder, judged there rather than by a catalog floor.
12787
+ */
12788
+ export declare const deviceAccessOperations: {
12789
+ /** The audience. */
12790
+ list: Operation<{
12791
+ readonly name: "deviceAccess.list";
12792
+ readonly method: "GET";
12793
+ readonly path: "/devices/:id/access";
12794
+ readonly input: z$2.ZodObject<{
12795
+ id: z$2.ZodGUID;
12796
+ }, z$2.core.$strip>;
12797
+ readonly output: OutputType<DeviceAudience>;
12798
+ }>;
12799
+ /** `{ role }`: lend the device to an actor. */
12800
+ grant: Operation<{
12801
+ readonly name: "deviceAccess.grant";
12802
+ readonly method: "PUT";
12803
+ readonly path: "/devices/:id/access/:actorId";
12804
+ readonly input: z$2.ZodObject<{
12805
+ id: z$2.ZodGUID;
12806
+ actorId: z$2.ZodGUID;
12807
+ role: z$2.ZodEnum<{
12808
+ runner: "runner";
12809
+ }>;
12810
+ }, z$2.core.$strip>;
12811
+ readonly output: OutputType<DeviceAudience>;
12812
+ }>;
12813
+ revoke: Operation<{
12814
+ readonly name: "deviceAccess.revoke";
12815
+ readonly method: "DELETE";
12816
+ readonly path: "/devices/:id/access/:actorId";
12817
+ readonly input: z$2.ZodObject<{
12818
+ id: z$2.ZodGUID;
12819
+ actorId: z$2.ZodGUID;
12820
+ }, z$2.core.$strip>;
12821
+ readonly output: OutputType<DeviceAudience>;
12822
+ }>;
12823
+ };
12824
+ //#endregion
12526
12825
  //#region src/api/devices.operations.d.ts
12527
- export type RemoteDevicePlatform = "darwin" | "linux";
12826
+ export declare const REMOTE_DEVICE_PLATFORMS: readonly ["darwin", "linux", "win32"];
12827
+ export type RemoteDevicePlatform = (typeof REMOTE_DEVICE_PLATFORMS)[number];
12528
12828
  export type RemoteDeviceStatus = "online" | "offline" | "revoked";
12529
- /** A computer paired to its owner; agents run shell commands on it once authorized. */
12829
+ /** A computer enrolled for its owner; agents run shell commands on it once authorized. */
12530
12830
  export interface RemoteDeviceView {
12531
12831
  id: string;
12532
12832
  tenantId: string;
12533
12833
  ownerActorId: string;
12534
- installationId: string;
12535
12834
  name: string;
12536
12835
  platform: RemoteDevicePlatform;
12537
12836
  arch: string;
@@ -12539,31 +12838,69 @@ export interface RemoteDeviceView {
12539
12838
  lastSeenAt: string | null;
12540
12839
  revokedAt: string | null;
12541
12840
  agentExecutionAuthorizedAt: string | null;
12841
+ /** Enrolled through a fleet token: managers other than the owner may administer it. */
12842
+ managed: boolean;
12843
+ /** Last `agent-desktop status` the worker announced; null when it announced none. */
12844
+ desktopStatus: DeviceDesktopStatus | null;
12845
+ /** The shell sessions open in; null until the worker announces one. */
12846
+ shell: DeviceShell | null;
12542
12847
  createdAt: string;
12543
12848
  updatedAt: string;
12544
12849
  status: RemoteDeviceStatus;
12545
12850
  }
12546
- /** What pairing answers: the device and the token it authenticates its channel with, shown once. */
12547
- export interface PairedRemoteDevice {
12548
- device: RemoteDeviceView;
12549
- token: string;
12550
- }
12551
- /** A machine pairs its platform, architecture and hostname. */
12552
- export declare const pairDeviceBody: z$2.ZodObject<{
12851
+ /** `POST /devices/enroll`: the token names the tenant; a known installation also proves itself. */
12852
+ export declare const enrollDeviceBody: z$2.ZodObject<{
12853
+ token: z$2.ZodString;
12553
12854
  installationId: z$2.ZodUUID;
12554
- name: z$2.ZodString;
12855
+ hostname: z$2.ZodString;
12555
12856
  platform: z$2.ZodEnum<{
12556
12857
  darwin: "darwin";
12557
12858
  linux: "linux";
12859
+ win32: "win32";
12558
12860
  }>;
12559
12861
  arch: z$2.ZodString;
12560
- hostname: z$2.ZodString;
12862
+ currentCredential: z$2.ZodOptional<z$2.ZodString>;
12561
12863
  }, z$2.core.$strict>;
12864
+ /** A fleet token: many machines, one name prefix, optional runners and execution switch. */
12865
+ export declare const createEnrollmentTokenBody: z$2.ZodObject<{
12866
+ namePrefix: z$2.ZodOptional<z$2.ZodString>;
12867
+ runnerActorIds: z$2.ZodDefault<z$2.ZodArray<z$2.ZodGUID>>;
12868
+ agentExecutionAuthorized: z$2.ZodDefault<z$2.ZodBoolean>;
12869
+ maxUses: z$2.ZodDefault<z$2.ZodNumber>;
12870
+ expiresInSeconds: z$2.ZodDefault<z$2.ZodNumber>;
12871
+ }, z$2.core.$strict>;
12872
+ export type EnrollDeviceBody = z$2.infer<typeof enrollDeviceBody>;
12873
+ export type CreateEnrollmentTokenBody = z$2.infer<typeof createEnrollmentTokenBody>;
12874
+ /** What enrolling answers: the credential the machine authenticates its channel with, shown once. */
12875
+ export interface EnrolledDevice {
12876
+ deviceId: string;
12877
+ deviceToken: string;
12878
+ name: string;
12879
+ }
12880
+ export type EnrollmentTokenKind = "fleet" | "personal";
12881
+ /** An enrollment token as listed; the secret is never returned again. */
12882
+ export interface EnrollmentTokenView {
12883
+ id: string;
12884
+ kind: EnrollmentTokenKind;
12885
+ namePrefix: string | null;
12886
+ runnerActorIds: string[];
12887
+ agentExecutionAuthorized: boolean;
12888
+ maxUses: number;
12889
+ uses: number;
12890
+ createdBy: string;
12891
+ expiresAt: string;
12892
+ revokedAt: string | null;
12893
+ createdAt: string;
12894
+ }
12895
+ /** A freshly created token: its secret (tenant-scoped enrollment token), shown once. */
12896
+ export interface CreatedEnrollmentToken {
12897
+ token: string;
12898
+ enrollmentToken: EnrollmentTokenView;
12899
+ }
12562
12900
  export declare const updateDeviceBody: z$2.ZodObject<{
12563
12901
  name: z$2.ZodOptional<z$2.ZodString>;
12564
12902
  agentExecutionAuthorized: z$2.ZodOptional<z$2.ZodBoolean>;
12565
12903
  }, z$2.core.$strict>;
12566
- export type PairDeviceBody = z$2.infer<typeof pairDeviceBody>;
12567
12904
  export type UpdateDeviceBody = z$2.infer<typeof updateDeviceBody>;
12568
12905
  export type UpdateRemoteDeviceInput = z$2.input<typeof updateDeviceBody>;
12569
12906
  /**
@@ -12580,22 +12917,31 @@ export declare const devicesOperations: {
12580
12917
  readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
12581
12918
  readonly output: OutputType<RemoteDeviceView[]>;
12582
12919
  }>;
12583
- /** Pair this machine to the caller. */
12584
- pair: Operation<{
12585
- readonly name: "devices.pair";
12920
+ /**
12921
+ * A machine enrolls with a token. Unauthenticated: the token names the
12922
+ * tenant. Ten attempts a minute per address: a token is a secret to guess.
12923
+ */
12924
+ enroll: Operation<{
12925
+ readonly name: "devices.enroll";
12586
12926
  readonly method: "POST";
12587
- readonly path: "/devices/pair";
12927
+ readonly path: "/devices/enroll";
12588
12928
  readonly input: z$2.ZodObject<{
12929
+ token: z$2.ZodString;
12589
12930
  installationId: z$2.ZodUUID;
12590
- name: z$2.ZodString;
12931
+ hostname: z$2.ZodString;
12591
12932
  platform: z$2.ZodEnum<{
12592
12933
  darwin: "darwin";
12593
12934
  linux: "linux";
12935
+ win32: "win32";
12594
12936
  }>;
12595
12937
  arch: z$2.ZodString;
12596
- hostname: z$2.ZodString;
12938
+ currentCredential: z$2.ZodOptional<z$2.ZodString>;
12597
12939
  }, z$2.core.$strict>;
12598
- readonly output: OutputType<PairedRemoteDevice>;
12940
+ readonly output: OutputType<EnrolledDevice>;
12941
+ readonly throttle: {
12942
+ readonly limit: 10;
12943
+ readonly ttlMs: 60000;
12944
+ };
12599
12945
  }>;
12600
12946
  update: Operation<{
12601
12947
  readonly name: "devices.update";
@@ -12620,6 +12966,59 @@ export declare const devicesOperations: {
12620
12966
  }>;
12621
12967
  }>;
12622
12968
  };
12969
+ /**
12970
+ * Enrollment tokens: fleet tokens for `devices: manage` holders, from the
12971
+ * platform UI only; a personal one for the caller's own machine, from a
12972
+ * session or the CLI's personal API key.
12973
+ */
12974
+ export declare const deviceEnrollmentTokensOperations: {
12975
+ /** A fleet token, for a manager enrolling many machines. */
12976
+ create: Operation<{
12977
+ readonly name: "deviceEnrollmentTokens.create";
12978
+ readonly method: "POST";
12979
+ readonly path: "/devices/enrollment-tokens";
12980
+ readonly input: z$2.ZodObject<{
12981
+ namePrefix: z$2.ZodOptional<z$2.ZodString>;
12982
+ runnerActorIds: z$2.ZodDefault<z$2.ZodArray<z$2.ZodGUID>>;
12983
+ agentExecutionAuthorized: z$2.ZodDefault<z$2.ZodBoolean>;
12984
+ maxUses: z$2.ZodDefault<z$2.ZodNumber>;
12985
+ expiresInSeconds: z$2.ZodDefault<z$2.ZodNumber>;
12986
+ }, z$2.core.$strict>;
12987
+ readonly output: OutputType<CreatedEnrollmentToken>;
12988
+ readonly permission: readonly ["devices", "manage"];
12989
+ readonly credential: "session";
12990
+ }>;
12991
+ list: Operation<{
12992
+ readonly name: "deviceEnrollmentTokens.list";
12993
+ readonly method: "GET";
12994
+ readonly path: "/devices/enrollment-tokens";
12995
+ readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
12996
+ readonly output: OutputType<EnrollmentTokenView[]>;
12997
+ readonly permission: readonly ["devices", "manage"];
12998
+ readonly credential: "session";
12999
+ }>;
13000
+ revoke: Operation<{
13001
+ readonly name: "deviceEnrollmentTokens.revoke";
13002
+ readonly method: "DELETE";
13003
+ readonly path: "/devices/enrollment-tokens/:id";
13004
+ readonly input: z$2.ZodObject<{
13005
+ id: z$2.ZodGUID;
13006
+ }, z$2.core.$strip>;
13007
+ readonly output: OutputType<{
13008
+ success: true;
13009
+ }>;
13010
+ readonly permission: readonly ["devices", "manage"];
13011
+ readonly credential: "session";
13012
+ }>;
13013
+ /** A single-use, 10 minute token for the caller's own machine. */
13014
+ createPersonal: Operation<{
13015
+ readonly name: "deviceEnrollmentTokens.createPersonal";
13016
+ readonly method: "POST";
13017
+ readonly path: "/devices/enrollment-tokens/personal";
13018
+ readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
13019
+ readonly output: OutputType<CreatedEnrollmentToken>;
13020
+ }>;
13021
+ };
12623
13022
  //#endregion
12624
13023
  //#region src/api/connected-apps.operations.d.ts
12625
13024
  /** One OAuth connection of the caller, on one of their workspaces. */