@standards/schema 1.0.0-alpha.404 → 1.0.0-alpha.406
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.
- package/dist/{all-CJC6e6AY.d.ts → all-B85Wnp0r.d.ts} +10 -10
- package/dist/all-B8viW8TH.mjs +2 -0
- package/dist/all-BFPhXNTB.js +2 -0
- package/dist/{all-XirVn9fd.d.mts → all-Bqa1vVKw.d.mts} +10 -10
- package/dist/api/index.d.mts +897 -293
- package/dist/api/index.d.ts +897 -293
- package/dist/api/index.js +1 -1
- package/dist/api/index.mjs +1 -1
- package/dist/{attributes-BOIIZZpP.d.ts → attributes-Ck0gooEG.d.mts} +1 -2
- package/dist/{attributes-CAYOHQLt.d.mts → attributes-DW963WrS.d.ts} +1 -2
- package/dist/{checkbox-RJEhZTDu.d.mts → checkbox-BKYTSUqh.d.mts} +2 -2
- package/dist/{checkbox-UJEOyMLV.d.ts → checkbox-nWLlzMJ1.d.ts} +2 -2
- package/dist/config-BWgga8mu.js +2 -0
- package/dist/config-BwshhFai.mjs +2 -0
- package/dist/{date-jqgfgslv.d.mts → date-DaPijpKs.d.mts} +2 -2
- package/dist/{date-rwqgadEE.d.ts → date-duOYv4di.d.ts} +2 -2
- package/dist/{exceptions-RCZEE1uQ.d.mts → exceptions-DXqs9eEl.d.mts} +15 -10
- package/dist/{exceptions-RCZEE1uQ.d.ts → exceptions-DXqs9eEl.d.ts} +15 -10
- package/dist/exceptions.d.mts +1 -1
- package/dist/exceptions.d.ts +1 -1
- package/dist/exceptions.js +1 -1
- package/dist/exceptions.mjs +1 -1
- package/dist/{index-Bw0zjY3f.d.mts → index-C5uNsr5k.d.mts} +2 -22
- package/dist/{index-DMBl9Ahc.d.ts → index-D2VrYWdg.d.ts} +3 -3
- package/dist/{index-CiKELB3w.d.mts → index-D4QnVstw.d.mts} +1 -1
- package/dist/{index-DcEEDCAI.d.mts → index-DDYMnrrw.d.ts} +752 -290
- package/dist/{index-byI2fVEU.d.ts → index-DI3HCT5W.d.mts} +752 -290
- package/dist/{index-DXQ3f3MJ.d.ts → index-DOGNjgeo.d.ts} +2 -22
- package/dist/{index-CFXgKvOC.d.ts → index-DYUP0iFu.d.ts} +1 -1
- package/dist/{index-BC5mEVkb.d.mts → index-DdPx9mQV.d.mts} +3 -3
- package/dist/index.d.mts +10 -14
- package/dist/index.d.ts +10 -14
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{number-DYkxcIqq.d.mts → number-D9YL-T2k.d.mts} +2 -2
- package/dist/{number-CfG_k0mZ.d.ts → number-wv170cGZ.d.ts} +2 -2
- package/dist/{objects-Dc4zYk9o.d.ts → objects-BaZWr4GU.d.ts} +21 -2
- package/dist/{objects-Dmn8ZIXZ.d.mts → objects-DHddGZu5.d.mts} +21 -2
- package/dist/record-aggregates-CkETp1q-.js +2 -0
- package/dist/record-aggregates-ynh52lNO.mjs +2 -0
- package/dist/record-operation-COFZLn3T.mjs +2 -0
- package/dist/record-operation-DeR-ykzG.js +2 -0
- package/dist/{text-DkZ-_8Qs.d.mts → text-CHRRi3X_.d.mts} +2 -2
- package/dist/{text-BkLwT1XH.d.ts → text-Dbo08j8D.d.ts} +2 -2
- package/dist/{utils-Brab7BhE.d.ts → utils-BUDoiMT0.d.ts} +1 -1
- package/dist/{utils-C8viP5ET.d.mts → utils-tn-_IHkr.d.mts} +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/validation/all.d.mts +5 -5
- package/dist/validation/all.d.ts +5 -5
- package/dist/validation/all.js +1 -1
- package/dist/validation/all.mjs +1 -1
- package/dist/validation/complex/currency.d.mts +2 -2
- package/dist/validation/complex/currency.d.ts +2 -2
- package/dist/validation/complex/location.d.mts +2 -2
- package/dist/validation/complex/location.d.ts +2 -2
- package/dist/validation/complex/phone.d.mts +2 -2
- package/dist/validation/complex/phone.d.ts +2 -2
- package/dist/validation/complex/relation.d.mts +2 -2
- package/dist/validation/complex/relation.d.ts +2 -2
- package/dist/validation/complex/richtext.d.mts +2 -2
- package/dist/validation/complex/richtext.d.ts +2 -2
- package/dist/validation/complex/select.d.mts +2 -2
- package/dist/validation/complex/select.d.ts +2 -2
- package/dist/validation/complex/user.d.mts +2 -2
- package/dist/validation/complex/user.d.ts +2 -2
- package/dist/validation/computed/formula.d.mts +2 -2
- package/dist/validation/computed/formula.d.ts +2 -2
- package/dist/validation/computed/rollup.d.mts +2 -2
- package/dist/validation/computed/rollup.d.ts +2 -2
- package/dist/validation/config/index.d.mts +2 -2
- package/dist/validation/config/index.d.ts +2 -2
- package/dist/validation/config/index.js +1 -1
- package/dist/validation/config/index.mjs +1 -1
- package/dist/validation/core/index.d.mts +1 -1
- package/dist/validation/core/index.d.ts +1 -1
- package/dist/validation/object/index.d.mts +1 -1
- package/dist/validation/object/index.d.ts +1 -1
- package/dist/validation/primitives/checkbox.d.mts +1 -1
- package/dist/validation/primitives/checkbox.d.ts +1 -1
- package/dist/validation/primitives/date.d.mts +1 -1
- package/dist/validation/primitives/date.d.ts +1 -1
- package/dist/validation/primitives/number.d.mts +1 -1
- package/dist/validation/primitives/number.d.ts +1 -1
- package/dist/validation/primitives/text.d.mts +1 -1
- package/dist/validation/primitives/text.d.ts +1 -1
- package/package.json +2 -2
- package/dist/config-DqidiszP.mjs +0 -2
- package/dist/config-oKDg40Iz.js +0 -2
- package/dist/record-aggregates-DY8qLwuF.mjs +0 -2
- package/dist/record-aggregates-ayabJXQ0.js +0 -2
- package/dist/record-operation-BIBY_2rB.mjs +0 -2
- package/dist/record-operation-D40yG3EC.js +0 -2
- package/dist/view-config.schema-B9y7-OCJ.mjs +0 -2
- package/dist/view-config.schema-Cyl6PedI.js +0 -2
package/dist/api/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-
|
|
3
|
-
import { AgentDefinitionAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-
|
|
4
|
-
import { Attribute } from "../attributes-
|
|
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, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, DictationAdmission, DictationCapabilities, DictationUsageSummary, Document, DocumentFile, DocumentRecordOwnerPage, DownloadedFile, DraftAppendCommand, DraftCommandGuard, DraftPublishCommand, EffectivePermissions, EmailCategory, EmailCategoryUsage, EmailSenderRule, EmailVerdict, EnvVarEntry, Environment, EnvironmentDetail, EnvironmentHarnessId, EnvironmentList, File, FileUrlsResponse, FilterGenerationInput, FormDefinition, FormRow, FormStatus, FormSubmission, FormulaGenerationInput, GeocodingAutocompleteParams, GeocodingSuggestion, GithubTriggerSender, GlobalSearchResultItem, HarnessModelList, HttpMethod, ImageModelCatalog, InstalledBundleSummary, LastPublication, LastPublishError, LoginSecretEntry, LogoSearchCandidate, 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,
|
|
6
|
-
import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-
|
|
7
|
-
import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-
|
|
2
|
+
import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-DXqs9eEl.js";
|
|
3
|
+
import { AgentDefinitionAudience, AgentSessionAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-BaZWr4GU.js";
|
|
4
|
+
import { Attribute } from "../attributes-DW963WrS.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, RecordMemoryView, 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-DDYMnrrw.js";
|
|
6
|
+
import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-B85Wnp0r.js";
|
|
7
|
+
import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-DOGNjgeo.js";
|
|
8
8
|
import * as z$2 from "zod";
|
|
9
9
|
//#region src/api/path.d.ts
|
|
10
10
|
/**
|
|
@@ -186,7 +186,7 @@ export declare const usageQuery: z$2.ZodObject<{
|
|
|
186
186
|
*/
|
|
187
187
|
export declare const aiGenerateBody: z$2.ZodObject<{
|
|
188
188
|
type: z$2.ZodType<AIGenerationType, AIGenerationType, z$2.core.$ZodTypeInternals<AIGenerationType, AIGenerationType>>;
|
|
189
|
-
input: z$2.ZodType<FormulaGenerationInput | FilterGenerationInput | RegexGenerationInput, FormulaGenerationInput | FilterGenerationInput | RegexGenerationInput, z$2.core.$ZodTypeInternals<FormulaGenerationInput | FilterGenerationInput | RegexGenerationInput, FormulaGenerationInput | FilterGenerationInput | RegexGenerationInput>>;
|
|
189
|
+
input: z$2.ZodType<FormulaGenerationInput | FilterGenerationInput | SortGenerationInput | RegexGenerationInput, FormulaGenerationInput | FilterGenerationInput | SortGenerationInput | RegexGenerationInput, z$2.core.$ZodTypeInternals<FormulaGenerationInput | FilterGenerationInput | SortGenerationInput | RegexGenerationInput, FormulaGenerationInput | FilterGenerationInput | SortGenerationInput | RegexGenerationInput>>;
|
|
190
190
|
}, z$2.core.$strip>;
|
|
191
191
|
export type AIGenerateBody = z$2.infer<typeof aiGenerateBody>;
|
|
192
192
|
export declare const aiOperations: {
|
|
@@ -220,7 +220,7 @@ export declare const aiOperations: {
|
|
|
220
220
|
readonly output: OutputType<UsageReport>;
|
|
221
221
|
}>;
|
|
222
222
|
/**
|
|
223
|
-
* Generate a structured value (regex, formula, filter) from a description.
|
|
223
|
+
* Generate a structured value (regex, formula, filter, sort) from a description.
|
|
224
224
|
* Served by the host's `AIGenerationController` (it needs a user, not any
|
|
225
225
|
* actor), so it has no runtime handler.
|
|
226
226
|
*/
|
|
@@ -230,7 +230,7 @@ export declare const aiOperations: {
|
|
|
230
230
|
readonly path: "/ai/generate";
|
|
231
231
|
readonly input: z$2.ZodObject<{
|
|
232
232
|
type: z$2.ZodType<AIGenerationType, AIGenerationType, z$2.core.$ZodTypeInternals<AIGenerationType, AIGenerationType>>;
|
|
233
|
-
input: z$2.ZodType<FormulaGenerationInput | FilterGenerationInput | RegexGenerationInput, FormulaGenerationInput | FilterGenerationInput | RegexGenerationInput, z$2.core.$ZodTypeInternals<FormulaGenerationInput | FilterGenerationInput | RegexGenerationInput, FormulaGenerationInput | FilterGenerationInput | RegexGenerationInput>>;
|
|
233
|
+
input: z$2.ZodType<FormulaGenerationInput | FilterGenerationInput | SortGenerationInput | RegexGenerationInput, FormulaGenerationInput | FilterGenerationInput | SortGenerationInput | RegexGenerationInput, z$2.core.$ZodTypeInternals<FormulaGenerationInput | FilterGenerationInput | SortGenerationInput | RegexGenerationInput, FormulaGenerationInput | FilterGenerationInput | SortGenerationInput | RegexGenerationInput>>;
|
|
234
234
|
}, z$2.core.$strip>;
|
|
235
235
|
readonly output: OutputType<AIGenerationResult>;
|
|
236
236
|
}>;
|
|
@@ -337,6 +337,23 @@ export declare const upsertEnvVarBody: z$2.ZodObject<{
|
|
|
337
337
|
isSensitive: z$2.ZodOptional<z$2.ZodType<boolean | null, boolean | null, z$2.core.$ZodTypeInternals<boolean | null, boolean | null>>>;
|
|
338
338
|
}, z$2.core.$strip>;
|
|
339
339
|
export type UpsertEnvVarBody = z$2.infer<typeof upsertEnvVarBody>;
|
|
340
|
+
/** At most this many entries in each list of an env var batch, whoever calls it. */
|
|
341
|
+
export declare const ENV_VAR_BATCH_LIMIT = 200;
|
|
342
|
+
/**
|
|
343
|
+
* `POST …/env-vars/batch` — the editor's one save: `set` upserts variables
|
|
344
|
+
* (an omitted `value` keeps the stored one, for a sensitivity change), `remove`
|
|
345
|
+
* deletes by key. At most `ENV_VAR_BATCH_LIMIT` of each; the service judges
|
|
346
|
+
* keys and the rest.
|
|
347
|
+
*/
|
|
348
|
+
export declare const envVarBatchBody: z$2.ZodObject<{
|
|
349
|
+
set: z$2.ZodArray<z$2.ZodObject<{
|
|
350
|
+
key: z$2.ZodString;
|
|
351
|
+
value: z$2.ZodOptional<z$2.ZodString>;
|
|
352
|
+
isSensitive: z$2.ZodBoolean;
|
|
353
|
+
}, z$2.core.$strip>>;
|
|
354
|
+
remove: z$2.ZodArray<z$2.ZodString>;
|
|
355
|
+
}, z$2.core.$strip>;
|
|
356
|
+
export type EnvVarBatchBody = z$2.infer<typeof envVarBatchBody>;
|
|
340
357
|
/**
|
|
341
358
|
* `POST /env-vars/logins` and `POST /env-vars/private/logins` — a login
|
|
342
359
|
* (#5796). Without `id` it is created or updated by `name` in the scope; with
|
|
@@ -379,6 +396,21 @@ export declare const envVarsOperations: {
|
|
|
379
396
|
readonly output: OutputType<EnvVarEntry>;
|
|
380
397
|
readonly permission: readonly ["env-vars", "create"];
|
|
381
398
|
}>;
|
|
399
|
+
batch: Operation<{
|
|
400
|
+
readonly name: "envVars.batch";
|
|
401
|
+
readonly method: "POST";
|
|
402
|
+
readonly path: "/env-vars/batch";
|
|
403
|
+
readonly input: z$2.ZodObject<{
|
|
404
|
+
set: z$2.ZodArray<z$2.ZodObject<{
|
|
405
|
+
key: z$2.ZodString;
|
|
406
|
+
value: z$2.ZodOptional<z$2.ZodString>;
|
|
407
|
+
isSensitive: z$2.ZodBoolean;
|
|
408
|
+
}, z$2.core.$strip>>;
|
|
409
|
+
remove: z$2.ZodArray<z$2.ZodString>;
|
|
410
|
+
}, z$2.core.$strip>;
|
|
411
|
+
readonly output: OutputType<EnvVarEntry[]>;
|
|
412
|
+
readonly permission: readonly ["env-vars", "create"];
|
|
413
|
+
}>;
|
|
382
414
|
upsertLogin: Operation<{
|
|
383
415
|
readonly name: "envVars.upsertLogin";
|
|
384
416
|
readonly method: "POST";
|
|
@@ -434,6 +466,22 @@ export declare const privateEnvVarsOperations: {
|
|
|
434
466
|
readonly permission: readonly ["private-secrets", "create"];
|
|
435
467
|
readonly status: 200;
|
|
436
468
|
}>;
|
|
469
|
+
batch: Operation<{
|
|
470
|
+
readonly name: "privateEnvVars.batch";
|
|
471
|
+
readonly method: "POST";
|
|
472
|
+
readonly path: "/env-vars/private/batch";
|
|
473
|
+
readonly input: z$2.ZodObject<{
|
|
474
|
+
set: z$2.ZodArray<z$2.ZodObject<{
|
|
475
|
+
key: z$2.ZodString;
|
|
476
|
+
value: z$2.ZodOptional<z$2.ZodString>;
|
|
477
|
+
isSensitive: z$2.ZodBoolean;
|
|
478
|
+
}, z$2.core.$strip>>;
|
|
479
|
+
remove: z$2.ZodArray<z$2.ZodString>;
|
|
480
|
+
}, z$2.core.$strip>;
|
|
481
|
+
readonly output: OutputType<EnvVarEntry[]>;
|
|
482
|
+
readonly permission: readonly ["private-secrets", "create"];
|
|
483
|
+
readonly status: 200;
|
|
484
|
+
}>;
|
|
437
485
|
upsertLogin: Operation<{
|
|
438
486
|
readonly name: "privateEnvVars.upsertLogin";
|
|
439
487
|
readonly method: "POST";
|
|
@@ -631,107 +679,291 @@ export declare const tenantInvitationsOperations: {
|
|
|
631
679
|
}>;
|
|
632
680
|
};
|
|
633
681
|
//#endregion
|
|
634
|
-
//#region src/api/
|
|
635
|
-
export declare const
|
|
682
|
+
//#region src/api/decisions.operations.d.ts
|
|
683
|
+
export declare const decisionListQuery: z$2.ZodObject<{
|
|
636
684
|
state: z$2.ZodOptional<z$2.ZodEnum<{
|
|
637
685
|
read: "read";
|
|
638
686
|
archived: "archived";
|
|
639
|
-
|
|
687
|
+
open: "open";
|
|
640
688
|
snoozed: "snoozed";
|
|
689
|
+
closed: "closed";
|
|
690
|
+
answered: "answered";
|
|
691
|
+
withdrawn: "withdrawn";
|
|
692
|
+
expired: "expired";
|
|
693
|
+
unread: "unread";
|
|
641
694
|
}>>;
|
|
642
|
-
kind: z$2.ZodOptional<z$2.ZodEnum<{
|
|
643
|
-
system: "system";
|
|
695
|
+
kind: z$2.ZodOptional<z$2.ZodPipe<z$2.ZodPipe<z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodArray<z$2.ZodString>]>, z$2.ZodTransform<string[], string | string[]>>, z$2.ZodArray<z$2.ZodEnum<{
|
|
644
696
|
question: "question";
|
|
645
|
-
|
|
646
|
-
|
|
697
|
+
approval: "approval";
|
|
698
|
+
review: "review";
|
|
647
699
|
handoff: "handoff";
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
high: "high";
|
|
653
|
-
urgent: "urgent";
|
|
654
|
-
}>>;
|
|
700
|
+
report: "report";
|
|
701
|
+
fyi: "fyi";
|
|
702
|
+
}>>>>;
|
|
703
|
+
link: z$2.ZodOptional<z$2.ZodString>;
|
|
655
704
|
since: z$2.ZodOptional<z$2.ZodISODateTime>;
|
|
656
705
|
limit: z$2.ZodOptional<z$2.ZodPipe<z$2.ZodCoercedNumber<unknown>, z$2.ZodTransform<number, number>>>;
|
|
657
706
|
cursor: z$2.ZodOptional<z$2.ZodString>;
|
|
658
707
|
}, z$2.core.$strip>;
|
|
659
|
-
export type
|
|
708
|
+
export type DecisionListQuery = z$2.output<typeof decisionListQuery> & DecisionListParams;
|
|
709
|
+
/**
|
|
710
|
+
* One answer to a decision, by what the decision asks: a question batch's
|
|
711
|
+
* answers (checked against the decision's `questions` by the service), an
|
|
712
|
+
* approval, a review, a setup step, or free text. The handler of the
|
|
713
|
+
* decision's type decides which kinds it takes.
|
|
714
|
+
*/
|
|
715
|
+
export declare const decisionAnswerInputSchema: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
|
|
716
|
+
skipped: z$2.ZodBoolean;
|
|
717
|
+
answers: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodArray<z$2.ZodString>]>>;
|
|
718
|
+
kind: z$2.ZodLiteral<"answers">;
|
|
719
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
720
|
+
approved: z$2.ZodBoolean;
|
|
721
|
+
reason: z$2.ZodOptional<z$2.ZodString>;
|
|
722
|
+
kind: z$2.ZodLiteral<"approval">;
|
|
723
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
724
|
+
kind: z$2.ZodLiteral<"review">;
|
|
725
|
+
outcome: z$2.ZodEnum<{
|
|
726
|
+
approved: "approved";
|
|
727
|
+
changes: "changes";
|
|
728
|
+
}>;
|
|
729
|
+
feedback: z$2.ZodOptional<z$2.ZodString>;
|
|
730
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
731
|
+
kind: z$2.ZodLiteral<"setup">;
|
|
732
|
+
action: z$2.ZodEnum<{
|
|
733
|
+
continue: "continue";
|
|
734
|
+
skip: "skip";
|
|
735
|
+
}>;
|
|
736
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
737
|
+
kind: z$2.ZodLiteral<"text">;
|
|
738
|
+
text: z$2.ZodString;
|
|
739
|
+
}, z$2.core.$strict>], "kind">;
|
|
740
|
+
export type DecisionAnswerInput = z$2.infer<typeof decisionAnswerInputSchema>;
|
|
741
|
+
/**
|
|
742
|
+
* « Nouvelle décision » (spec § 4.5): a title, the why and what-changes
|
|
743
|
+
* lines, one question (options, free text, or both), the people asked, the
|
|
744
|
+
* records it is about (`record:<id>`) and the files attached
|
|
745
|
+
* (`document:<id>` or `file:<id>`, a stored file read as its document).
|
|
746
|
+
* Only the shape is checked here: a missing recipient or question, and what
|
|
747
|
+
* the sender may link or attach, are the service's refusals
|
|
748
|
+
* (`ValidationError`, `NotFoundError`, `ForbiddenError`; A17, A28).
|
|
749
|
+
*/
|
|
750
|
+
export declare const createPersonDecisionBody: z$2.ZodObject<{
|
|
751
|
+
title: z$2.ZodString;
|
|
752
|
+
why: z$2.ZodOptional<z$2.ZodString>;
|
|
753
|
+
change: z$2.ZodOptional<z$2.ZodString>;
|
|
754
|
+
question: z$2.ZodOptional<z$2.ZodObject<{
|
|
755
|
+
text: z$2.ZodString;
|
|
756
|
+
options: z$2.ZodDefault<z$2.ZodArray<z$2.ZodObject<{
|
|
757
|
+
label: z$2.ZodString;
|
|
758
|
+
}, z$2.core.$strict>>>;
|
|
759
|
+
freeText: z$2.ZodDefault<z$2.ZodBoolean>;
|
|
760
|
+
}, z$2.core.$strict>>;
|
|
761
|
+
recipients: z$2.ZodDefault<z$2.ZodArray<z$2.ZodGUID>>;
|
|
762
|
+
links: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
|
|
763
|
+
attachments: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
|
|
764
|
+
followUpOf: z$2.ZodOptional<z$2.ZodGUID>;
|
|
765
|
+
}, z$2.core.$strict>;
|
|
766
|
+
export type CreatePersonDecisionBody = z$2.input<typeof createPersonDecisionBody>;
|
|
660
767
|
/** The current actor's inbox: every operation reads the caller from the context. */
|
|
661
|
-
export declare const
|
|
768
|
+
export declare const decisionsOperations: {
|
|
662
769
|
list: Operation<{
|
|
663
|
-
readonly name: "
|
|
770
|
+
readonly name: "decisions.list";
|
|
664
771
|
readonly method: "GET";
|
|
665
|
-
readonly path: "/
|
|
772
|
+
readonly path: "/decisions";
|
|
666
773
|
readonly input: z$2.ZodObject<{
|
|
667
774
|
state: z$2.ZodOptional<z$2.ZodEnum<{
|
|
668
775
|
read: "read";
|
|
669
776
|
archived: "archived";
|
|
670
|
-
|
|
777
|
+
open: "open";
|
|
671
778
|
snoozed: "snoozed";
|
|
779
|
+
closed: "closed";
|
|
780
|
+
answered: "answered";
|
|
781
|
+
withdrawn: "withdrawn";
|
|
782
|
+
expired: "expired";
|
|
783
|
+
unread: "unread";
|
|
672
784
|
}>>;
|
|
673
|
-
kind: z$2.ZodOptional<z$2.ZodEnum<{
|
|
674
|
-
system: "system";
|
|
785
|
+
kind: z$2.ZodOptional<z$2.ZodPipe<z$2.ZodPipe<z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodArray<z$2.ZodString>]>, z$2.ZodTransform<string[], string | string[]>>, z$2.ZodArray<z$2.ZodEnum<{
|
|
675
786
|
question: "question";
|
|
676
|
-
|
|
677
|
-
|
|
787
|
+
approval: "approval";
|
|
788
|
+
review: "review";
|
|
678
789
|
handoff: "handoff";
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
high: "high";
|
|
684
|
-
urgent: "urgent";
|
|
685
|
-
}>>;
|
|
790
|
+
report: "report";
|
|
791
|
+
fyi: "fyi";
|
|
792
|
+
}>>>>;
|
|
793
|
+
link: z$2.ZodOptional<z$2.ZodString>;
|
|
686
794
|
since: z$2.ZodOptional<z$2.ZodISODateTime>;
|
|
687
795
|
limit: z$2.ZodOptional<z$2.ZodPipe<z$2.ZodCoercedNumber<unknown>, z$2.ZodTransform<number, number>>>;
|
|
688
796
|
cursor: z$2.ZodOptional<z$2.ZodString>;
|
|
689
797
|
}, z$2.core.$strip>;
|
|
690
|
-
readonly output: OutputType<
|
|
798
|
+
readonly output: OutputType<DecisionListResult>;
|
|
691
799
|
}>;
|
|
692
800
|
counts: Operation<{
|
|
693
|
-
readonly name: "
|
|
694
|
-
readonly method: "GET";
|
|
695
|
-
readonly path: "/notifications/counts";
|
|
696
|
-
readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
|
|
697
|
-
readonly output: OutputType<NotificationCounts>;
|
|
698
|
-
}>;
|
|
699
|
-
/** The channels a notification can reach a person through: `email` only with a mailer (#5448). */
|
|
700
|
-
channels: Operation<{
|
|
701
|
-
readonly name: "notifications.channels";
|
|
801
|
+
readonly name: "decisions.counts";
|
|
702
802
|
readonly method: "GET";
|
|
703
|
-
readonly path: "/
|
|
803
|
+
readonly path: "/decisions/counts";
|
|
704
804
|
readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
|
|
705
|
-
readonly output: OutputType<
|
|
805
|
+
readonly output: OutputType<DecisionCounts>;
|
|
706
806
|
}>;
|
|
807
|
+
/** Archives the caller's open decisions; with `kinds`, only those kinds (#6157). */
|
|
707
808
|
archiveAll: Operation<{
|
|
708
|
-
readonly name: "
|
|
809
|
+
readonly name: "decisions.archiveAll";
|
|
709
810
|
readonly method: "POST";
|
|
710
|
-
readonly path: "/
|
|
711
|
-
readonly input: z$2.ZodObject<{
|
|
712
|
-
|
|
811
|
+
readonly path: "/decisions/archive-all";
|
|
812
|
+
readonly input: z$2.ZodObject<{
|
|
813
|
+
kinds: z$2.ZodOptional<z$2.ZodArray<z$2.ZodEnum<{
|
|
814
|
+
question: "question";
|
|
815
|
+
approval: "approval";
|
|
816
|
+
review: "review";
|
|
817
|
+
handoff: "handoff";
|
|
818
|
+
report: "report";
|
|
819
|
+
fyi: "fyi";
|
|
820
|
+
}>>>;
|
|
821
|
+
}, z$2.core.$strip>;
|
|
822
|
+
readonly output: OutputType<DecisionArchiveAllResult>;
|
|
713
823
|
readonly status: 200;
|
|
714
824
|
}>;
|
|
715
825
|
markRead: Operation<{
|
|
716
|
-
readonly name: "
|
|
826
|
+
readonly name: "decisions.markRead";
|
|
717
827
|
readonly method: "POST";
|
|
718
|
-
readonly path: "/
|
|
828
|
+
readonly path: "/decisions/:recipientId/read";
|
|
719
829
|
readonly input: z$2.ZodObject<{
|
|
720
830
|
recipientId: z$2.ZodGUID;
|
|
721
831
|
}, z$2.core.$strip>;
|
|
722
|
-
readonly output: OutputType<
|
|
832
|
+
readonly output: OutputType<DecisionWithRecipient>;
|
|
723
833
|
readonly status: 200;
|
|
724
834
|
}>;
|
|
725
835
|
archive: Operation<{
|
|
726
|
-
readonly name: "
|
|
836
|
+
readonly name: "decisions.archive";
|
|
727
837
|
readonly method: "POST";
|
|
728
|
-
readonly path: "/
|
|
838
|
+
readonly path: "/decisions/:recipientId/archive";
|
|
729
839
|
readonly input: z$2.ZodObject<{
|
|
730
840
|
recipientId: z$2.ZodGUID;
|
|
731
841
|
}, z$2.core.$strip>;
|
|
732
|
-
readonly output: OutputType<
|
|
842
|
+
readonly output: OutputType<DecisionWithRecipient>;
|
|
733
843
|
readonly status: 200;
|
|
734
844
|
}>;
|
|
845
|
+
/** « Plus tard » (§ 6): an open decision leaves « À trancher » until `until`. */
|
|
846
|
+
snooze: Operation<{
|
|
847
|
+
readonly name: "decisions.snooze";
|
|
848
|
+
readonly method: "POST";
|
|
849
|
+
readonly path: "/decisions/:recipientId/snooze";
|
|
850
|
+
readonly input: z$2.ZodObject<{
|
|
851
|
+
recipientId: z$2.ZodGUID;
|
|
852
|
+
until: z$2.ZodISODateTime;
|
|
853
|
+
}, z$2.core.$strip>;
|
|
854
|
+
readonly output: OutputType<DecisionWithRecipient>;
|
|
855
|
+
readonly status: 200;
|
|
856
|
+
}>;
|
|
857
|
+
/**
|
|
858
|
+
* Answers one open decision the caller is a recipient of (§ 6); the answer
|
|
859
|
+
* routes to the handler of the decision's type. An unknown id or a
|
|
860
|
+
* non-recipient: 404; a decision no longer open: `STATE_GATE`.
|
|
861
|
+
*/
|
|
862
|
+
answer: Operation<{
|
|
863
|
+
readonly name: "decisions.answer";
|
|
864
|
+
readonly method: "POST";
|
|
865
|
+
readonly path: "/decisions/:decisionId/answer";
|
|
866
|
+
readonly input: z$2.ZodObject<{
|
|
867
|
+
decisionId: z$2.ZodGUID;
|
|
868
|
+
answer: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
|
|
869
|
+
skipped: z$2.ZodBoolean;
|
|
870
|
+
answers: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodArray<z$2.ZodString>]>>;
|
|
871
|
+
kind: z$2.ZodLiteral<"answers">;
|
|
872
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
873
|
+
approved: z$2.ZodBoolean;
|
|
874
|
+
reason: z$2.ZodOptional<z$2.ZodString>;
|
|
875
|
+
kind: z$2.ZodLiteral<"approval">;
|
|
876
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
877
|
+
kind: z$2.ZodLiteral<"review">;
|
|
878
|
+
outcome: z$2.ZodEnum<{
|
|
879
|
+
approved: "approved";
|
|
880
|
+
changes: "changes";
|
|
881
|
+
}>;
|
|
882
|
+
feedback: z$2.ZodOptional<z$2.ZodString>;
|
|
883
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
884
|
+
kind: z$2.ZodLiteral<"setup">;
|
|
885
|
+
action: z$2.ZodEnum<{
|
|
886
|
+
continue: "continue";
|
|
887
|
+
skip: "skip";
|
|
888
|
+
}>;
|
|
889
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
890
|
+
kind: z$2.ZodLiteral<"text">;
|
|
891
|
+
text: z$2.ZodString;
|
|
892
|
+
}, z$2.core.$strict>], "kind">;
|
|
893
|
+
}, z$2.core.$strip>;
|
|
894
|
+
readonly output: OutputType<DecisionWithRecipient>;
|
|
895
|
+
readonly status: 200;
|
|
896
|
+
}>;
|
|
897
|
+
/**
|
|
898
|
+
* A person raises a decision for colleagues (spec § 4.5). No recipient, or
|
|
899
|
+
* neither options nor free text: `ValidationError` (A17); a record the
|
|
900
|
+
* sender cannot see: 404; a document they cannot share: 403 (A28).
|
|
901
|
+
*/
|
|
902
|
+
create: Operation<{
|
|
903
|
+
readonly name: "decisions.create";
|
|
904
|
+
readonly method: "POST";
|
|
905
|
+
readonly path: "/decisions";
|
|
906
|
+
readonly input: z$2.ZodObject<{
|
|
907
|
+
title: z$2.ZodString;
|
|
908
|
+
why: z$2.ZodOptional<z$2.ZodString>;
|
|
909
|
+
change: z$2.ZodOptional<z$2.ZodString>;
|
|
910
|
+
question: z$2.ZodOptional<z$2.ZodObject<{
|
|
911
|
+
text: z$2.ZodString;
|
|
912
|
+
options: z$2.ZodDefault<z$2.ZodArray<z$2.ZodObject<{
|
|
913
|
+
label: z$2.ZodString;
|
|
914
|
+
}, z$2.core.$strict>>>;
|
|
915
|
+
freeText: z$2.ZodDefault<z$2.ZodBoolean>;
|
|
916
|
+
}, z$2.core.$strict>>;
|
|
917
|
+
recipients: z$2.ZodDefault<z$2.ZodArray<z$2.ZodGUID>>;
|
|
918
|
+
links: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
|
|
919
|
+
attachments: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
|
|
920
|
+
followUpOf: z$2.ZodOptional<z$2.ZodGUID>;
|
|
921
|
+
}, z$2.core.$strict>;
|
|
922
|
+
readonly output: OutputType<Decision>;
|
|
923
|
+
}>;
|
|
924
|
+
/**
|
|
925
|
+
* The sender withdraws their decision: every open row is dismissed, and the
|
|
926
|
+
* recipients' read on its documents goes with it (A28, A42). A recipient
|
|
927
|
+
* who is not the sender: 403; anyone else: 404.
|
|
928
|
+
*/
|
|
929
|
+
withdraw: Operation<{
|
|
930
|
+
readonly name: "decisions.withdraw";
|
|
931
|
+
readonly method: "POST";
|
|
932
|
+
readonly path: "/decisions/:decisionId/withdraw";
|
|
933
|
+
readonly input: z$2.ZodObject<{
|
|
934
|
+
decisionId: z$2.ZodGUID;
|
|
935
|
+
}, z$2.core.$strip>;
|
|
936
|
+
readonly output: OutputType<Decision>;
|
|
937
|
+
readonly status: 200;
|
|
938
|
+
}>;
|
|
939
|
+
/**
|
|
940
|
+
* The files of a decision's attached documents, for one of its recipients
|
|
941
|
+
* while the decision is not withdrawn; anyone else: 404 (A21, A28).
|
|
942
|
+
*/
|
|
943
|
+
attachments: Operation<{
|
|
944
|
+
readonly name: "decisions.attachments";
|
|
945
|
+
readonly method: "GET";
|
|
946
|
+
readonly path: "/decisions/:decisionId/attachments";
|
|
947
|
+
readonly input: z$2.ZodObject<{
|
|
948
|
+
decisionId: z$2.ZodGUID;
|
|
949
|
+
}, z$2.core.$strip>;
|
|
950
|
+
readonly output: OutputType<DecisionAttachment[]>;
|
|
951
|
+
}>;
|
|
952
|
+
/**
|
|
953
|
+
* « Transformer en décision » (spec § 4): from one of the caller's « Pour
|
|
954
|
+
* toi » items sent by a person, a `question` decision for the caller,
|
|
955
|
+
* linked to the item's record, its text as the why; the item is marked
|
|
956
|
+
* read (A32).
|
|
957
|
+
*/
|
|
958
|
+
transform: Operation<{
|
|
959
|
+
readonly name: "decisions.transform";
|
|
960
|
+
readonly method: "POST";
|
|
961
|
+
readonly path: "/decisions/:recipientId/transform";
|
|
962
|
+
readonly input: z$2.ZodObject<{
|
|
963
|
+
recipientId: z$2.ZodGUID;
|
|
964
|
+
}, z$2.core.$strip>;
|
|
965
|
+
readonly output: OutputType<Decision>;
|
|
966
|
+
}>;
|
|
735
967
|
};
|
|
736
968
|
//#endregion
|
|
737
969
|
//#region src/api/bundles.operations.d.ts
|
|
@@ -1311,6 +1543,21 @@ export declare const usersOperations: {
|
|
|
1311
1543
|
readonly output: OutputType<UserProfile>;
|
|
1312
1544
|
readonly actor: "required";
|
|
1313
1545
|
}>;
|
|
1546
|
+
/**
|
|
1547
|
+
* Several profiles in one read, for the screens that show many people at
|
|
1548
|
+
* once (a grid's user cells, an activity feed). An id that names no profile
|
|
1549
|
+
* is simply absent from the answer.
|
|
1550
|
+
*/
|
|
1551
|
+
resolve: Operation<{
|
|
1552
|
+
readonly name: "users.resolve";
|
|
1553
|
+
readonly method: "POST";
|
|
1554
|
+
readonly path: "/users/resolve";
|
|
1555
|
+
readonly input: z$2.ZodObject<{
|
|
1556
|
+
ids: z$2.ZodArray<z$2.ZodString>;
|
|
1557
|
+
}, z$2.core.$strip>;
|
|
1558
|
+
readonly output: OutputType<UserProfile[]>;
|
|
1559
|
+
readonly permission: readonly ["people", "read"];
|
|
1560
|
+
}>;
|
|
1314
1561
|
get: Operation<{
|
|
1315
1562
|
readonly name: "users.get";
|
|
1316
1563
|
readonly method: "GET";
|
|
@@ -1579,7 +1826,7 @@ export declare const permissionsOperations: {
|
|
|
1579
1826
|
readonly method: "GET";
|
|
1580
1827
|
readonly path: "/permissions/me/system/:resource";
|
|
1581
1828
|
readonly input: z$2.ZodObject<{
|
|
1582
|
-
resource: z$2.ZodType<"documents" | "forms" | "architect" | "pages" | "agents" | "environments" | "browser-profiles" | "private-secrets" | "routine-audiences" | "files" | "people" | "connectors" | "api-keys" | "env-vars" | "settings" | "audit" | "billing", "documents" | "forms" | "architect" | "pages" | "agents" | "environments" | "browser-profiles" | "private-secrets" | "routine-audiences" | "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" | "files" | "people" | "connectors" | "api-keys" | "env-vars" | "settings" | "audit" | "billing", "documents" | "forms" | "architect" | "pages" | "agents" | "environments" | "browser-profiles" | "private-secrets" | "routine-audiences" | "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" | "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">>;
|
|
1583
1830
|
}, z$2.core.$strip>;
|
|
1584
1831
|
readonly output: OutputType<SystemPermissions>;
|
|
1585
1832
|
}>;
|
|
@@ -1729,6 +1976,77 @@ export declare const pageAccessOperations: {
|
|
|
1729
1976
|
}>;
|
|
1730
1977
|
};
|
|
1731
1978
|
//#endregion
|
|
1979
|
+
//#region src/api/agent-session-access.operations.d.ts
|
|
1980
|
+
/** `PUT /agents/sessions/:id/access/:actorId` — the role to grant. */
|
|
1981
|
+
export declare const grantAgentSessionAccessBody: z$2.ZodObject<{
|
|
1982
|
+
role: z$2.ZodEnum<{
|
|
1983
|
+
reader: "reader";
|
|
1984
|
+
}>;
|
|
1985
|
+
}, z$2.core.$strip>;
|
|
1986
|
+
export type GrantAgentSessionAccessBody = z$2.infer<typeof grantAgentSessionAccessBody>;
|
|
1987
|
+
/**
|
|
1988
|
+
* Who reads a root conversation beyond its creator (spec 2026-10-27 §4.5).
|
|
1989
|
+
* The catalog gate is the `agents:read` floor every session action takes;
|
|
1990
|
+
* every rule — only the creator shares, root conversations only, a grantee
|
|
1991
|
+
* may leave, the anti-oracle on a conversation the caller cannot read —
|
|
1992
|
+
* lives in the runtime's `ResourceAccessService`.
|
|
1993
|
+
*/
|
|
1994
|
+
export declare const agentSessionAccessOperations: {
|
|
1995
|
+
/** The audience, to any reader of the conversation. */
|
|
1996
|
+
list: Operation<{
|
|
1997
|
+
readonly name: "agentSessionAccess.list";
|
|
1998
|
+
readonly method: "GET";
|
|
1999
|
+
readonly path: "/agents/sessions/:id/access";
|
|
2000
|
+
readonly input: z$2.ZodObject<{
|
|
2001
|
+
id: z$2.ZodGUID;
|
|
2002
|
+
}, z$2.core.$strip>;
|
|
2003
|
+
readonly output: OutputType<AgentSessionAudience>;
|
|
2004
|
+
readonly permission: readonly ["agents", "read"];
|
|
2005
|
+
readonly actor: "required";
|
|
2006
|
+
}>;
|
|
2007
|
+
/** `{ role: "reader" }`, the creator's share. */
|
|
2008
|
+
grant: Operation<{
|
|
2009
|
+
readonly name: "agentSessionAccess.grant";
|
|
2010
|
+
readonly method: "PUT";
|
|
2011
|
+
readonly path: "/agents/sessions/:id/access/:actorId";
|
|
2012
|
+
readonly input: z$2.ZodObject<{
|
|
2013
|
+
id: z$2.ZodGUID;
|
|
2014
|
+
actorId: z$2.ZodGUID;
|
|
2015
|
+
role: z$2.ZodEnum<{
|
|
2016
|
+
reader: "reader";
|
|
2017
|
+
}>;
|
|
2018
|
+
}, z$2.core.$strip>;
|
|
2019
|
+
readonly output: OutputType<AgentSessionAudience>;
|
|
2020
|
+
readonly permission: readonly ["agents", "read"];
|
|
2021
|
+
readonly actor: "required";
|
|
2022
|
+
}>;
|
|
2023
|
+
/** Remove a share: the creator removes anyone, a grantee leaves. */
|
|
2024
|
+
revoke: Operation<{
|
|
2025
|
+
readonly name: "agentSessionAccess.revoke";
|
|
2026
|
+
readonly method: "DELETE";
|
|
2027
|
+
readonly path: "/agents/sessions/:id/access/:actorId";
|
|
2028
|
+
readonly input: z$2.ZodObject<{
|
|
2029
|
+
id: z$2.ZodGUID;
|
|
2030
|
+
actorId: z$2.ZodGUID;
|
|
2031
|
+
}, z$2.core.$strip>;
|
|
2032
|
+
readonly output: OutputType<AgentSessionAudience>;
|
|
2033
|
+
readonly permission: readonly ["agents", "read"];
|
|
2034
|
+
readonly actor: "required";
|
|
2035
|
+
}>;
|
|
2036
|
+
/** Remove every share. */
|
|
2037
|
+
clear: Operation<{
|
|
2038
|
+
readonly name: "agentSessionAccess.clear";
|
|
2039
|
+
readonly method: "DELETE";
|
|
2040
|
+
readonly path: "/agents/sessions/:id/access";
|
|
2041
|
+
readonly input: z$2.ZodObject<{
|
|
2042
|
+
id: z$2.ZodGUID;
|
|
2043
|
+
}, z$2.core.$strip>;
|
|
2044
|
+
readonly output: OutputType<AgentSessionAudience>;
|
|
2045
|
+
readonly permission: readonly ["agents", "read"];
|
|
2046
|
+
readonly actor: "required";
|
|
2047
|
+
}>;
|
|
2048
|
+
};
|
|
2049
|
+
//#endregion
|
|
1732
2050
|
//#region src/api/browser-profiles.operations.d.ts
|
|
1733
2051
|
/**
|
|
1734
2052
|
* `POST /browser-profiles` (spec §6). `visibility: "workspace"` without
|
|
@@ -1889,6 +2207,17 @@ export declare const cloudBrowsersOperations: {
|
|
|
1889
2207
|
};
|
|
1890
2208
|
//#endregion
|
|
1891
2209
|
//#region src/api/environments.operations.d.ts
|
|
2210
|
+
/** What the agent's machine may reach (environments v2 §6). */
|
|
2211
|
+
export declare const environmentNetworkPolicySchema: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
|
|
2212
|
+
mode: z$2.ZodLiteral<"trusted">;
|
|
2213
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2214
|
+
mode: z$2.ZodLiteral<"full">;
|
|
2215
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2216
|
+
mode: z$2.ZodLiteral<"none">;
|
|
2217
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2218
|
+
mode: z$2.ZodLiteral<"custom">;
|
|
2219
|
+
allow: z$2.ZodArray<z$2.ZodString>;
|
|
2220
|
+
}, z$2.core.$strict>], "mode">;
|
|
1892
2221
|
/**
|
|
1893
2222
|
* A catalogue harness id (`claude-code | codex | cursor`). Standards is the
|
|
1894
2223
|
* absence of a harness, never an id. Shared with the agent DTOs.
|
|
@@ -1900,7 +2229,8 @@ export declare const environmentHarnessSchema: z$2.ZodEnum<{
|
|
|
1900
2229
|
}>;
|
|
1901
2230
|
/**
|
|
1902
2231
|
* `POST /environments` (spec §2.1). `harness: null` is a `standards`
|
|
1903
|
-
* environment
|
|
2232
|
+
* environment, always on the `documents` image: `image: "code"` is refused on
|
|
2233
|
+
* `image`. `visibility: "workspace"` without `confirmSharedMachine` is the
|
|
1904
2234
|
* service's 400, as on `PATCH`.
|
|
1905
2235
|
*/
|
|
1906
2236
|
export declare const createEnvironmentBody: z$2.ZodObject<{
|
|
@@ -1919,8 +2249,37 @@ export declare const createEnvironmentBody: z$2.ZodObject<{
|
|
|
1919
2249
|
private: "private";
|
|
1920
2250
|
}>>;
|
|
1921
2251
|
confirmSharedMachine: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
2252
|
+
image: z$2.ZodOptional<z$2.ZodEnum<{
|
|
2253
|
+
code: "code";
|
|
2254
|
+
documents: "documents";
|
|
2255
|
+
}>>;
|
|
2256
|
+
size: z$2.ZodOptional<z$2.ZodEnum<{
|
|
2257
|
+
default: "default";
|
|
2258
|
+
small: "small";
|
|
2259
|
+
large: "large";
|
|
2260
|
+
}>>;
|
|
2261
|
+
networkPolicy: z$2.ZodOptional<z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
|
|
2262
|
+
mode: z$2.ZodLiteral<"trusted">;
|
|
2263
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2264
|
+
mode: z$2.ZodLiteral<"full">;
|
|
2265
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2266
|
+
mode: z$2.ZodLiteral<"none">;
|
|
2267
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2268
|
+
mode: z$2.ZodLiteral<"custom">;
|
|
2269
|
+
allow: z$2.ZodArray<z$2.ZodString>;
|
|
2270
|
+
}, z$2.core.$strict>], "mode">>;
|
|
2271
|
+
setupScript: z$2.ZodOptional<z$2.ZodString>;
|
|
2272
|
+
maintenanceScript: z$2.ZodOptional<z$2.ZodString>;
|
|
2273
|
+
checks: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
2274
|
+
name: z$2.ZodString;
|
|
2275
|
+
command: z$2.ZodString;
|
|
2276
|
+
}, z$2.core.$strict>>>;
|
|
1922
2277
|
}, z$2.core.$strict>;
|
|
1923
|
-
/**
|
|
2278
|
+
/**
|
|
2279
|
+
* `PATCH /environments/:id`. `harness` is immutable: strict, so naming it is a
|
|
2280
|
+
* 400. `image: "code"` on a `standards` environment is the service's 400 on
|
|
2281
|
+
* `image`: only the row knows its harness.
|
|
2282
|
+
*/
|
|
1924
2283
|
export declare const updateEnvironmentBody: z$2.ZodObject<{
|
|
1925
2284
|
name: z$2.ZodOptional<z$2.ZodString>;
|
|
1926
2285
|
visibility: z$2.ZodOptional<z$2.ZodEnum<{
|
|
@@ -1933,6 +2292,30 @@ export declare const updateEnvironmentBody: z$2.ZodObject<{
|
|
|
1933
2292
|
ref: z$2.ZodOptional<z$2.ZodString>;
|
|
1934
2293
|
}, z$2.core.$strict>>>;
|
|
1935
2294
|
confirmSharedMachine: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
2295
|
+
image: z$2.ZodOptional<z$2.ZodEnum<{
|
|
2296
|
+
code: "code";
|
|
2297
|
+
documents: "documents";
|
|
2298
|
+
}>>;
|
|
2299
|
+
size: z$2.ZodOptional<z$2.ZodEnum<{
|
|
2300
|
+
default: "default";
|
|
2301
|
+
small: "small";
|
|
2302
|
+
large: "large";
|
|
2303
|
+
}>>;
|
|
2304
|
+
networkPolicy: z$2.ZodOptional<z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
|
|
2305
|
+
mode: z$2.ZodLiteral<"trusted">;
|
|
2306
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2307
|
+
mode: z$2.ZodLiteral<"full">;
|
|
2308
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2309
|
+
mode: z$2.ZodLiteral<"none">;
|
|
2310
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2311
|
+
mode: z$2.ZodLiteral<"custom">;
|
|
2312
|
+
allow: z$2.ZodArray<z$2.ZodString>;
|
|
2313
|
+
}, z$2.core.$strict>], "mode">>;
|
|
2314
|
+
maintenanceScript: z$2.ZodOptional<z$2.ZodString>;
|
|
2315
|
+
checks: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
2316
|
+
name: z$2.ZodString;
|
|
2317
|
+
command: z$2.ZodString;
|
|
2318
|
+
}, z$2.core.$strict>>>;
|
|
1936
2319
|
}, z$2.core.$strict>;
|
|
1937
2320
|
/** `GET /environments?include=usedBy` — only the Settings list asks for usage. */
|
|
1938
2321
|
export declare const listEnvironmentsQuery: z$2.ZodObject<{
|
|
@@ -1948,11 +2331,6 @@ export declare const harnessModelsQuery: z$2.ZodObject<{
|
|
|
1948
2331
|
}, z$2.core.$strict>;
|
|
1949
2332
|
export type CreateEnvironmentBody = z$2.input<typeof createEnvironmentBody>;
|
|
1950
2333
|
export type UpdateEnvironmentBody = z$2.input<typeof updateEnvironmentBody>;
|
|
1951
|
-
/** The interactive terminal of the prepared sandbox. */
|
|
1952
|
-
export interface EnvironmentTerminal {
|
|
1953
|
-
url: string;
|
|
1954
|
-
token: string;
|
|
1955
|
-
}
|
|
1956
2334
|
/**
|
|
1957
2335
|
* Environments (spec §2.1). Creating one needs `environments:create`; every
|
|
1958
2336
|
* other route needs tenant auth only — the service answers who owns what (an
|
|
@@ -2015,6 +2393,31 @@ export declare const environmentsOperations: {
|
|
|
2015
2393
|
private: "private";
|
|
2016
2394
|
}>>;
|
|
2017
2395
|
confirmSharedMachine: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
2396
|
+
image: z$2.ZodOptional<z$2.ZodEnum<{
|
|
2397
|
+
code: "code";
|
|
2398
|
+
documents: "documents";
|
|
2399
|
+
}>>;
|
|
2400
|
+
size: z$2.ZodOptional<z$2.ZodEnum<{
|
|
2401
|
+
default: "default";
|
|
2402
|
+
small: "small";
|
|
2403
|
+
large: "large";
|
|
2404
|
+
}>>;
|
|
2405
|
+
networkPolicy: z$2.ZodOptional<z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
|
|
2406
|
+
mode: z$2.ZodLiteral<"trusted">;
|
|
2407
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2408
|
+
mode: z$2.ZodLiteral<"full">;
|
|
2409
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2410
|
+
mode: z$2.ZodLiteral<"none">;
|
|
2411
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2412
|
+
mode: z$2.ZodLiteral<"custom">;
|
|
2413
|
+
allow: z$2.ZodArray<z$2.ZodString>;
|
|
2414
|
+
}, z$2.core.$strict>], "mode">>;
|
|
2415
|
+
setupScript: z$2.ZodOptional<z$2.ZodString>;
|
|
2416
|
+
maintenanceScript: z$2.ZodOptional<z$2.ZodString>;
|
|
2417
|
+
checks: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
2418
|
+
name: z$2.ZodString;
|
|
2419
|
+
command: z$2.ZodString;
|
|
2420
|
+
}, z$2.core.$strict>>>;
|
|
2018
2421
|
}, z$2.core.$strict>;
|
|
2019
2422
|
readonly output: OutputType<Environment>;
|
|
2020
2423
|
readonly permission: readonly ["environments", "create"];
|
|
@@ -2036,6 +2439,30 @@ export declare const environmentsOperations: {
|
|
|
2036
2439
|
ref: z$2.ZodOptional<z$2.ZodString>;
|
|
2037
2440
|
}, z$2.core.$strict>>>;
|
|
2038
2441
|
confirmSharedMachine: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
2442
|
+
image: z$2.ZodOptional<z$2.ZodEnum<{
|
|
2443
|
+
code: "code";
|
|
2444
|
+
documents: "documents";
|
|
2445
|
+
}>>;
|
|
2446
|
+
size: z$2.ZodOptional<z$2.ZodEnum<{
|
|
2447
|
+
default: "default";
|
|
2448
|
+
small: "small";
|
|
2449
|
+
large: "large";
|
|
2450
|
+
}>>;
|
|
2451
|
+
networkPolicy: z$2.ZodOptional<z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
|
|
2452
|
+
mode: z$2.ZodLiteral<"trusted">;
|
|
2453
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2454
|
+
mode: z$2.ZodLiteral<"full">;
|
|
2455
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2456
|
+
mode: z$2.ZodLiteral<"none">;
|
|
2457
|
+
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
2458
|
+
mode: z$2.ZodLiteral<"custom">;
|
|
2459
|
+
allow: z$2.ZodArray<z$2.ZodString>;
|
|
2460
|
+
}, z$2.core.$strict>], "mode">>;
|
|
2461
|
+
maintenanceScript: z$2.ZodOptional<z$2.ZodString>;
|
|
2462
|
+
checks: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
2463
|
+
name: z$2.ZodString;
|
|
2464
|
+
command: z$2.ZodString;
|
|
2465
|
+
}, z$2.core.$strict>>>;
|
|
2039
2466
|
}, z$2.core.$strict>;
|
|
2040
2467
|
readonly output: OutputType<Environment>;
|
|
2041
2468
|
}>;
|
|
@@ -2050,43 +2477,54 @@ export declare const environmentsOperations: {
|
|
|
2050
2477
|
readonly output: OutputType<void>;
|
|
2051
2478
|
readonly status: 202;
|
|
2052
2479
|
}>;
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
readonly
|
|
2056
|
-
readonly
|
|
2480
|
+
/** Archives; 409 `ENVIRONMENT_IN_USE` while a live definition runs on it. */
|
|
2481
|
+
archive: Operation<{
|
|
2482
|
+
readonly name: "environments.archive";
|
|
2483
|
+
readonly method: "DELETE";
|
|
2484
|
+
readonly path: "/environments/:id";
|
|
2057
2485
|
readonly input: z$2.ZodObject<{
|
|
2058
2486
|
id: z$2.ZodGUID;
|
|
2059
2487
|
}, z$2.core.$strict>;
|
|
2060
|
-
readonly output: OutputType<
|
|
2061
|
-
readonly status:
|
|
2488
|
+
readonly output: OutputType<void>;
|
|
2489
|
+
readonly status: 204;
|
|
2062
2490
|
}>;
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2491
|
+
};
|
|
2492
|
+
/**
|
|
2493
|
+
* An environment's own variables. No declared permission: the service checks
|
|
2494
|
+
* ownership, like `environments.update`.
|
|
2495
|
+
*/
|
|
2496
|
+
export declare const environmentEnvVarsOperations: {
|
|
2497
|
+
list: Operation<{
|
|
2498
|
+
readonly name: "environmentEnvVars.list";
|
|
2499
|
+
readonly method: "GET";
|
|
2500
|
+
readonly path: "/environments/:id/env-vars";
|
|
2067
2501
|
readonly input: z$2.ZodObject<{
|
|
2068
2502
|
id: z$2.ZodGUID;
|
|
2069
2503
|
}, z$2.core.$strict>;
|
|
2070
|
-
readonly output: OutputType<
|
|
2071
|
-
readonly status: 200;
|
|
2504
|
+
readonly output: OutputType<EnvVarEntry[]>;
|
|
2072
2505
|
}>;
|
|
2073
|
-
|
|
2074
|
-
readonly name: "
|
|
2506
|
+
batch: Operation<{
|
|
2507
|
+
readonly name: "environmentEnvVars.batch";
|
|
2075
2508
|
readonly method: "POST";
|
|
2076
|
-
readonly path: "/environments/:id/
|
|
2509
|
+
readonly path: "/environments/:id/env-vars/batch";
|
|
2077
2510
|
readonly input: z$2.ZodObject<{
|
|
2511
|
+
set: z$2.ZodArray<z$2.ZodObject<{
|
|
2512
|
+
key: z$2.ZodString;
|
|
2513
|
+
value: z$2.ZodOptional<z$2.ZodString>;
|
|
2514
|
+
isSensitive: z$2.ZodBoolean;
|
|
2515
|
+
}, z$2.core.$strip>>;
|
|
2516
|
+
remove: z$2.ZodArray<z$2.ZodString>;
|
|
2078
2517
|
id: z$2.ZodGUID;
|
|
2079
|
-
}, z$2.core.$
|
|
2080
|
-
readonly output: OutputType<
|
|
2081
|
-
readonly status: 200;
|
|
2518
|
+
}, z$2.core.$strip>;
|
|
2519
|
+
readonly output: OutputType<EnvVarEntry[]>;
|
|
2082
2520
|
}>;
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
readonly name: "environments.archive";
|
|
2521
|
+
delete: Operation<{
|
|
2522
|
+
readonly name: "environmentEnvVars.delete";
|
|
2086
2523
|
readonly method: "DELETE";
|
|
2087
|
-
readonly path: "/environments/:id";
|
|
2524
|
+
readonly path: "/environments/:id/env-vars/:envVarId";
|
|
2088
2525
|
readonly input: z$2.ZodObject<{
|
|
2089
2526
|
id: z$2.ZodGUID;
|
|
2527
|
+
envVarId: z$2.ZodString;
|
|
2090
2528
|
}, z$2.core.$strict>;
|
|
2091
2529
|
readonly output: OutputType<void>;
|
|
2092
2530
|
readonly status: 204;
|
|
@@ -3045,12 +3483,6 @@ export declare const setHomeBody: z$2.ZodObject<{
|
|
|
3045
3483
|
pageId: z$2.ZodNullable<z$2.ZodGUID>;
|
|
3046
3484
|
}, z$2.core.$strip>;
|
|
3047
3485
|
export type SetHomeBody = z$2.infer<typeof setHomeBody>;
|
|
3048
|
-
/** `POST /pages/:id/data` — the reader's timezone and, on a record page, the record it shows. */
|
|
3049
|
-
export declare const pageDataBody: z$2.ZodObject<{
|
|
3050
|
-
hostRecordId: z$2.ZodOptional<z$2.ZodGUID>;
|
|
3051
|
-
timezone: z$2.ZodString;
|
|
3052
|
-
}, z$2.core.$strict>;
|
|
3053
|
-
export type PageDataBody = z$2.infer<typeof pageDataBody>;
|
|
3054
3486
|
/** Where `/` lands: the person's Home, else the tenant Home, else null. */
|
|
3055
3487
|
export interface HomeAnswer {
|
|
3056
3488
|
pageId: string | null;
|
|
@@ -3082,20 +3514,6 @@ export declare const pagesOperations: {
|
|
|
3082
3514
|
readonly output: OutputType<PageRead>;
|
|
3083
3515
|
readonly permission: readonly ["pages", "read"];
|
|
3084
3516
|
}>;
|
|
3085
|
-
/** Every data block of the page in one answer, per-block errors. A read: 200. */
|
|
3086
|
-
data: Operation<{
|
|
3087
|
-
readonly name: "pages.data";
|
|
3088
|
-
readonly method: "POST";
|
|
3089
|
-
readonly path: "/pages/:id/data";
|
|
3090
|
-
readonly input: z$2.ZodObject<{
|
|
3091
|
-
hostRecordId: z$2.ZodOptional<z$2.ZodGUID>;
|
|
3092
|
-
timezone: z$2.ZodString;
|
|
3093
|
-
id: z$2.ZodGUID;
|
|
3094
|
-
}, z$2.core.$strict>;
|
|
3095
|
-
readonly output: OutputType<PageData>;
|
|
3096
|
-
readonly permission: readonly ["pages", "read"];
|
|
3097
|
-
readonly status: 200;
|
|
3098
|
-
}>;
|
|
3099
3517
|
/** Where `/` lands for the caller. */
|
|
3100
3518
|
home: Operation<{
|
|
3101
3519
|
readonly name: "pages.home";
|
|
@@ -3117,6 +3535,115 @@ export declare const pagesOperations: {
|
|
|
3117
3535
|
}>;
|
|
3118
3536
|
};
|
|
3119
3537
|
//#endregion
|
|
3538
|
+
//#region src/api/screens.operations.d.ts
|
|
3539
|
+
/** `POST /screens/page/:id` — the reader's timezone and, on a record page, the record it shows. */
|
|
3540
|
+
export declare const screenPageBody: z$2.ZodObject<{
|
|
3541
|
+
hostRecordId: z$2.ZodOptional<z$2.ZodGUID>;
|
|
3542
|
+
timezone: z$2.ZodString;
|
|
3543
|
+
}, z$2.core.$strict>;
|
|
3544
|
+
/**
|
|
3545
|
+
* `POST /screens/collection/:objectName` — the view to open (else the
|
|
3546
|
+
* object's default collection view), its tab (else the first main one), and
|
|
3547
|
+
* the reader's own query (else the tab's default sorts). The filters and
|
|
3548
|
+
* sorts are judged downstream, as `records.search` judges them; the reader's
|
|
3549
|
+
* timezone resolves `@today`, as `screens.page` takes it.
|
|
3550
|
+
*/
|
|
3551
|
+
export declare const screenCollectionInput: z$2.ZodObject<{
|
|
3552
|
+
objectName: z$2.ZodString;
|
|
3553
|
+
viewName: z$2.ZodOptional<z$2.ZodString>;
|
|
3554
|
+
tab: z$2.ZodOptional<z$2.ZodString>;
|
|
3555
|
+
reader: z$2.ZodOptional<z$2.ZodObject<{
|
|
3556
|
+
search: z$2.ZodOptional<z$2.ZodString>;
|
|
3557
|
+
filters: z$2.ZodOptional<z$2.ZodType<FilterState, FilterState, z$2.core.$ZodTypeInternals<FilterState, FilterState>>>;
|
|
3558
|
+
sorts: z$2.ZodOptional<z$2.ZodType<SortRule[], SortRule[], z$2.core.$ZodTypeInternals<SortRule[], SortRule[]>>>;
|
|
3559
|
+
}, z$2.core.$strict>>;
|
|
3560
|
+
timezone: z$2.ZodString;
|
|
3561
|
+
}, z$2.core.$strict>;
|
|
3562
|
+
/**
|
|
3563
|
+
* `POST /screens/record/:objectName/:recordId` — the record to open and the
|
|
3564
|
+
* reader's timezone, as `screens.page` takes it.
|
|
3565
|
+
*/
|
|
3566
|
+
export declare const screenRecordInput: z$2.ZodObject<{
|
|
3567
|
+
objectName: z$2.ZodString;
|
|
3568
|
+
recordId: z$2.ZodGUID;
|
|
3569
|
+
timezone: z$2.ZodString;
|
|
3570
|
+
}, z$2.core.$strict>;
|
|
3571
|
+
/**
|
|
3572
|
+
* Screen loaders: what the session UI reads to paint one screen in one round
|
|
3573
|
+
* trip. They follow the screens the app draws, not a public resource, and stay
|
|
3574
|
+
* out of the public docs.
|
|
3575
|
+
*/
|
|
3576
|
+
export declare const screensOperations: {
|
|
3577
|
+
/** Every data block of a page in one answer, per-block errors. A read: 200. */
|
|
3578
|
+
page: Operation<{
|
|
3579
|
+
readonly name: "screens.page";
|
|
3580
|
+
readonly method: "POST";
|
|
3581
|
+
readonly path: "/screens/page/:id";
|
|
3582
|
+
readonly input: z$2.ZodObject<{
|
|
3583
|
+
hostRecordId: z$2.ZodOptional<z$2.ZodGUID>;
|
|
3584
|
+
timezone: z$2.ZodString;
|
|
3585
|
+
id: z$2.ZodGUID;
|
|
3586
|
+
}, z$2.core.$strict>;
|
|
3587
|
+
readonly output: OutputType<PageData>;
|
|
3588
|
+
readonly permission: readonly ["pages", "read"];
|
|
3589
|
+
readonly credential: "session";
|
|
3590
|
+
readonly status: 200;
|
|
3591
|
+
}>;
|
|
3592
|
+
/**
|
|
3593
|
+
* An object list in one answer: the object, its view, the entry tab and its
|
|
3594
|
+
* first page. Reading a view takes `architect:read`, as `/views` does, and
|
|
3595
|
+
* the records the object's `read`. A read: 200.
|
|
3596
|
+
*/
|
|
3597
|
+
collection: Operation<{
|
|
3598
|
+
readonly name: "screens.collection";
|
|
3599
|
+
readonly method: "POST";
|
|
3600
|
+
readonly path: "/screens/collection/:objectName";
|
|
3601
|
+
readonly input: z$2.ZodObject<{
|
|
3602
|
+
objectName: z$2.ZodString;
|
|
3603
|
+
viewName: z$2.ZodOptional<z$2.ZodString>;
|
|
3604
|
+
tab: z$2.ZodOptional<z$2.ZodString>;
|
|
3605
|
+
reader: z$2.ZodOptional<z$2.ZodObject<{
|
|
3606
|
+
search: z$2.ZodOptional<z$2.ZodString>;
|
|
3607
|
+
filters: z$2.ZodOptional<z$2.ZodType<FilterState, FilterState, z$2.core.$ZodTypeInternals<FilterState, FilterState>>>;
|
|
3608
|
+
sorts: z$2.ZodOptional<z$2.ZodType<SortRule[], SortRule[], z$2.core.$ZodTypeInternals<SortRule[], SortRule[]>>>;
|
|
3609
|
+
}, z$2.core.$strict>>;
|
|
3610
|
+
timezone: z$2.ZodString;
|
|
3611
|
+
}, z$2.core.$strict>;
|
|
3612
|
+
readonly output: OutputType<CollectionScreen>;
|
|
3613
|
+
readonly permission: readonly ["architect", "read"];
|
|
3614
|
+
readonly credential: "session";
|
|
3615
|
+
readonly objectPermission: {
|
|
3616
|
+
readonly param: "objectName";
|
|
3617
|
+
readonly action: "read";
|
|
3618
|
+
};
|
|
3619
|
+
readonly status: 200;
|
|
3620
|
+
}>;
|
|
3621
|
+
/**
|
|
3622
|
+
* A record page in one answer: the object, the record, its record view, the
|
|
3623
|
+
* objects its collection tabs read and the counts its tab strip draws.
|
|
3624
|
+
* Reading a view takes `architect:read`, as `/views` does, and the record
|
|
3625
|
+
* the object's `read`. A read: 200.
|
|
3626
|
+
*/
|
|
3627
|
+
record: Operation<{
|
|
3628
|
+
readonly name: "screens.record";
|
|
3629
|
+
readonly method: "POST";
|
|
3630
|
+
readonly path: "/screens/record/:objectName/:recordId";
|
|
3631
|
+
readonly input: z$2.ZodObject<{
|
|
3632
|
+
objectName: z$2.ZodString;
|
|
3633
|
+
recordId: z$2.ZodGUID;
|
|
3634
|
+
timezone: z$2.ZodString;
|
|
3635
|
+
}, z$2.core.$strict>;
|
|
3636
|
+
readonly output: OutputType<RecordScreen>;
|
|
3637
|
+
readonly permission: readonly ["architect", "read"];
|
|
3638
|
+
readonly credential: "session";
|
|
3639
|
+
readonly objectPermission: {
|
|
3640
|
+
readonly param: "objectName";
|
|
3641
|
+
readonly action: "read";
|
|
3642
|
+
};
|
|
3643
|
+
readonly status: 200;
|
|
3644
|
+
}>;
|
|
3645
|
+
};
|
|
3646
|
+
//#endregion
|
|
3120
3647
|
//#region src/api/views.operations.d.ts
|
|
3121
3648
|
/** A historical browser key address, resolved through current row identities. */
|
|
3122
3649
|
export interface ViewPreferenceAddress {
|
|
@@ -5175,10 +5702,10 @@ export declare const createDefinitionBody: z$2.ZodObject<{
|
|
|
5175
5702
|
}>>;
|
|
5176
5703
|
reasoning: z$2.ZodOptional<z$2.ZodEnum<{
|
|
5177
5704
|
none: "none";
|
|
5178
|
-
low: "low";
|
|
5179
|
-
high: "high";
|
|
5180
5705
|
minimal: "minimal";
|
|
5706
|
+
low: "low";
|
|
5181
5707
|
medium: "medium";
|
|
5708
|
+
high: "high";
|
|
5182
5709
|
xhigh: "xhigh";
|
|
5183
5710
|
}>>;
|
|
5184
5711
|
routing: z$2.ZodOptional<z$2.ZodEnum<{
|
|
@@ -5203,6 +5730,11 @@ export declare const createDefinitionBody: z$2.ZodObject<{
|
|
|
5203
5730
|
armer: "armer";
|
|
5204
5731
|
audience: "audience";
|
|
5205
5732
|
}>>;
|
|
5733
|
+
audience: z$2.ZodOptional<z$2.ZodObject<{
|
|
5734
|
+
workspace: z$2.ZodBoolean;
|
|
5735
|
+
roleIds: z$2.ZodArray<z$2.ZodUUID>;
|
|
5736
|
+
actorIds: z$2.ZodArray<z$2.ZodUUID>;
|
|
5737
|
+
}, z$2.core.$strip>>;
|
|
5206
5738
|
continueConversation: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
5207
5739
|
}, z$2.core.$strip>>;
|
|
5208
5740
|
maxDepth: z$2.ZodOptional<z$2.ZodNumber>;
|
|
@@ -5314,10 +5846,10 @@ export declare const updateDefinitionBody: z$2.ZodObject<{
|
|
|
5314
5846
|
}>>;
|
|
5315
5847
|
reasoning: z$2.ZodOptional<z$2.ZodEnum<{
|
|
5316
5848
|
none: "none";
|
|
5317
|
-
low: "low";
|
|
5318
|
-
high: "high";
|
|
5319
5849
|
minimal: "minimal";
|
|
5850
|
+
low: "low";
|
|
5320
5851
|
medium: "medium";
|
|
5852
|
+
high: "high";
|
|
5321
5853
|
xhigh: "xhigh";
|
|
5322
5854
|
}>>;
|
|
5323
5855
|
routing: z$2.ZodOptional<z$2.ZodEnum<{
|
|
@@ -5342,6 +5874,11 @@ export declare const updateDefinitionBody: z$2.ZodObject<{
|
|
|
5342
5874
|
armer: "armer";
|
|
5343
5875
|
audience: "audience";
|
|
5344
5876
|
}>>;
|
|
5877
|
+
audience: z$2.ZodOptional<z$2.ZodObject<{
|
|
5878
|
+
workspace: z$2.ZodBoolean;
|
|
5879
|
+
roleIds: z$2.ZodArray<z$2.ZodUUID>;
|
|
5880
|
+
actorIds: z$2.ZodArray<z$2.ZodUUID>;
|
|
5881
|
+
}, z$2.core.$strip>>;
|
|
5345
5882
|
continueConversation: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
5346
5883
|
}, z$2.core.$strip>>>;
|
|
5347
5884
|
maxDepth: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
|
|
@@ -5404,10 +5941,10 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
5404
5941
|
}>>;
|
|
5405
5942
|
reasoning: z$2.ZodOptional<z$2.ZodEnum<{
|
|
5406
5943
|
none: "none";
|
|
5407
|
-
low: "low";
|
|
5408
|
-
high: "high";
|
|
5409
5944
|
minimal: "minimal";
|
|
5945
|
+
low: "low";
|
|
5410
5946
|
medium: "medium";
|
|
5947
|
+
high: "high";
|
|
5411
5948
|
xhigh: "xhigh";
|
|
5412
5949
|
}>>;
|
|
5413
5950
|
routing: z$2.ZodOptional<z$2.ZodEnum<{
|
|
@@ -5526,6 +6063,11 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
5526
6063
|
input: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>>;
|
|
5527
6064
|
timezone: z$2.ZodOptional<z$2.ZodString>;
|
|
5528
6065
|
cron: z$2.ZodString;
|
|
6066
|
+
audience: z$2.ZodOptional<z$2.ZodObject<{
|
|
6067
|
+
workspace: z$2.ZodBoolean;
|
|
6068
|
+
roleIds: z$2.ZodArray<z$2.ZodUUID>;
|
|
6069
|
+
actorIds: z$2.ZodArray<z$2.ZodUUID>;
|
|
6070
|
+
}, z$2.core.$strip>>;
|
|
5529
6071
|
runFor: z$2.ZodOptional<z$2.ZodEnum<{
|
|
5530
6072
|
armer: "armer";
|
|
5531
6073
|
audience: "audience";
|
|
@@ -5587,9 +6129,21 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
5587
6129
|
field: "refType";
|
|
5588
6130
|
value: "tag" | "branch";
|
|
5589
6131
|
})[];
|
|
6132
|
+
} | {
|
|
6133
|
+
family: "review";
|
|
6134
|
+
actions: ("edited" | "submitted" | "dismissed")[];
|
|
6135
|
+
repositories: string[];
|
|
6136
|
+
sender: GithubTriggerSender;
|
|
6137
|
+
conditions: ({
|
|
6138
|
+
field: "prAuthor";
|
|
6139
|
+
value: string;
|
|
6140
|
+
} | {
|
|
6141
|
+
field: "reviewState";
|
|
6142
|
+
value: "approved" | "commented" | "changes_requested";
|
|
6143
|
+
})[];
|
|
5590
6144
|
} | {
|
|
5591
6145
|
family: "pull_request";
|
|
5592
|
-
actions: ("
|
|
6146
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "assigned" | "ready_for_review" | "synchronize" | "review_requested" | "merged" | "converted_to_draft")[];
|
|
5593
6147
|
repositories: string[];
|
|
5594
6148
|
sender: GithubTriggerSender;
|
|
5595
6149
|
conditions: ({
|
|
@@ -5626,7 +6180,7 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
5626
6180
|
})[];
|
|
5627
6181
|
} | {
|
|
5628
6182
|
family: "discussion";
|
|
5629
|
-
actions: ("closed" | "
|
|
6183
|
+
actions: ("closed" | "answered" | "labeled" | "created" | "commented")[];
|
|
5630
6184
|
repositories: string[];
|
|
5631
6185
|
sender: GithubTriggerSender;
|
|
5632
6186
|
conditions: ({
|
|
@@ -5649,7 +6203,7 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
5649
6203
|
conditions: never[];
|
|
5650
6204
|
} | {
|
|
5651
6205
|
family: "issue";
|
|
5652
|
-
actions: ("
|
|
6206
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred" | "pinned")[];
|
|
5653
6207
|
repositories: string[];
|
|
5654
6208
|
sender: GithubTriggerSender;
|
|
5655
6209
|
conditions: ({
|
|
@@ -5674,18 +6228,6 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
5674
6228
|
field: "issueType";
|
|
5675
6229
|
value: string;
|
|
5676
6230
|
})[];
|
|
5677
|
-
} | {
|
|
5678
|
-
family: "review";
|
|
5679
|
-
actions: ("edited" | "submitted" | "dismissed")[];
|
|
5680
|
-
repositories: string[];
|
|
5681
|
-
sender: GithubTriggerSender;
|
|
5682
|
-
conditions: ({
|
|
5683
|
-
field: "prAuthor";
|
|
5684
|
-
value: string;
|
|
5685
|
-
} | {
|
|
5686
|
-
field: "reviewState";
|
|
5687
|
-
value: "approved" | "commented" | "changes_requested";
|
|
5688
|
-
})[];
|
|
5689
6231
|
} | {
|
|
5690
6232
|
family: "comment";
|
|
5691
6233
|
actions: ("deleted" | "edited" | "created")[];
|
|
@@ -5865,9 +6407,21 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
5865
6407
|
field: "refType";
|
|
5866
6408
|
value: "tag" | "branch";
|
|
5867
6409
|
})[];
|
|
6410
|
+
} | {
|
|
6411
|
+
family: "review";
|
|
6412
|
+
actions: ("edited" | "submitted" | "dismissed")[];
|
|
6413
|
+
repositories: string[];
|
|
6414
|
+
sender: GithubTriggerSender;
|
|
6415
|
+
conditions: ({
|
|
6416
|
+
field: "prAuthor";
|
|
6417
|
+
value: string;
|
|
6418
|
+
} | {
|
|
6419
|
+
field: "reviewState";
|
|
6420
|
+
value: "approved" | "commented" | "changes_requested";
|
|
6421
|
+
})[];
|
|
5868
6422
|
} | {
|
|
5869
6423
|
family: "pull_request";
|
|
5870
|
-
actions: ("
|
|
6424
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "assigned" | "ready_for_review" | "synchronize" | "review_requested" | "merged" | "converted_to_draft")[];
|
|
5871
6425
|
repositories: string[];
|
|
5872
6426
|
sender: GithubTriggerSender;
|
|
5873
6427
|
conditions: ({
|
|
@@ -5904,7 +6458,7 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
5904
6458
|
})[];
|
|
5905
6459
|
} | {
|
|
5906
6460
|
family: "discussion";
|
|
5907
|
-
actions: ("closed" | "
|
|
6461
|
+
actions: ("closed" | "answered" | "labeled" | "created" | "commented")[];
|
|
5908
6462
|
repositories: string[];
|
|
5909
6463
|
sender: GithubTriggerSender;
|
|
5910
6464
|
conditions: ({
|
|
@@ -5927,7 +6481,7 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
5927
6481
|
conditions: never[];
|
|
5928
6482
|
} | {
|
|
5929
6483
|
family: "issue";
|
|
5930
|
-
actions: ("
|
|
6484
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred" | "pinned")[];
|
|
5931
6485
|
repositories: string[];
|
|
5932
6486
|
sender: GithubTriggerSender;
|
|
5933
6487
|
conditions: ({
|
|
@@ -5950,19 +6504,7 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
5950
6504
|
value: string;
|
|
5951
6505
|
} | {
|
|
5952
6506
|
field: "issueType";
|
|
5953
|
-
value: string;
|
|
5954
|
-
})[];
|
|
5955
|
-
} | {
|
|
5956
|
-
family: "review";
|
|
5957
|
-
actions: ("edited" | "submitted" | "dismissed")[];
|
|
5958
|
-
repositories: string[];
|
|
5959
|
-
sender: GithubTriggerSender;
|
|
5960
|
-
conditions: ({
|
|
5961
|
-
field: "prAuthor";
|
|
5962
|
-
value: string;
|
|
5963
|
-
} | {
|
|
5964
|
-
field: "reviewState";
|
|
5965
|
-
value: "approved" | "commented" | "changes_requested";
|
|
6507
|
+
value: string;
|
|
5966
6508
|
})[];
|
|
5967
6509
|
} | {
|
|
5968
6510
|
family: "comment";
|
|
@@ -6196,10 +6738,10 @@ export declare const agentDefinitionsOperations: {
|
|
|
6196
6738
|
}>>;
|
|
6197
6739
|
reasoning: z$2.ZodOptional<z$2.ZodEnum<{
|
|
6198
6740
|
none: "none";
|
|
6199
|
-
low: "low";
|
|
6200
|
-
high: "high";
|
|
6201
6741
|
minimal: "minimal";
|
|
6742
|
+
low: "low";
|
|
6202
6743
|
medium: "medium";
|
|
6744
|
+
high: "high";
|
|
6203
6745
|
xhigh: "xhigh";
|
|
6204
6746
|
}>>;
|
|
6205
6747
|
routing: z$2.ZodOptional<z$2.ZodEnum<{
|
|
@@ -6318,6 +6860,11 @@ export declare const agentDefinitionsOperations: {
|
|
|
6318
6860
|
input: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>>;
|
|
6319
6861
|
timezone: z$2.ZodOptional<z$2.ZodString>;
|
|
6320
6862
|
cron: z$2.ZodString;
|
|
6863
|
+
audience: z$2.ZodOptional<z$2.ZodObject<{
|
|
6864
|
+
workspace: z$2.ZodBoolean;
|
|
6865
|
+
roleIds: z$2.ZodArray<z$2.ZodUUID>;
|
|
6866
|
+
actorIds: z$2.ZodArray<z$2.ZodUUID>;
|
|
6867
|
+
}, z$2.core.$strip>>;
|
|
6321
6868
|
runFor: z$2.ZodOptional<z$2.ZodEnum<{
|
|
6322
6869
|
armer: "armer";
|
|
6323
6870
|
audience: "audience";
|
|
@@ -6379,9 +6926,21 @@ export declare const agentDefinitionsOperations: {
|
|
|
6379
6926
|
field: "refType";
|
|
6380
6927
|
value: "tag" | "branch";
|
|
6381
6928
|
})[];
|
|
6929
|
+
} | {
|
|
6930
|
+
family: "review";
|
|
6931
|
+
actions: ("edited" | "submitted" | "dismissed")[];
|
|
6932
|
+
repositories: string[];
|
|
6933
|
+
sender: GithubTriggerSender;
|
|
6934
|
+
conditions: ({
|
|
6935
|
+
field: "prAuthor";
|
|
6936
|
+
value: string;
|
|
6937
|
+
} | {
|
|
6938
|
+
field: "reviewState";
|
|
6939
|
+
value: "approved" | "commented" | "changes_requested";
|
|
6940
|
+
})[];
|
|
6382
6941
|
} | {
|
|
6383
6942
|
family: "pull_request";
|
|
6384
|
-
actions: ("
|
|
6943
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "assigned" | "ready_for_review" | "synchronize" | "review_requested" | "merged" | "converted_to_draft")[];
|
|
6385
6944
|
repositories: string[];
|
|
6386
6945
|
sender: GithubTriggerSender;
|
|
6387
6946
|
conditions: ({
|
|
@@ -6418,7 +6977,7 @@ export declare const agentDefinitionsOperations: {
|
|
|
6418
6977
|
})[];
|
|
6419
6978
|
} | {
|
|
6420
6979
|
family: "discussion";
|
|
6421
|
-
actions: ("closed" | "
|
|
6980
|
+
actions: ("closed" | "answered" | "labeled" | "created" | "commented")[];
|
|
6422
6981
|
repositories: string[];
|
|
6423
6982
|
sender: GithubTriggerSender;
|
|
6424
6983
|
conditions: ({
|
|
@@ -6441,7 +7000,7 @@ export declare const agentDefinitionsOperations: {
|
|
|
6441
7000
|
conditions: never[];
|
|
6442
7001
|
} | {
|
|
6443
7002
|
family: "issue";
|
|
6444
|
-
actions: ("
|
|
7003
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred" | "pinned")[];
|
|
6445
7004
|
repositories: string[];
|
|
6446
7005
|
sender: GithubTriggerSender;
|
|
6447
7006
|
conditions: ({
|
|
@@ -6466,18 +7025,6 @@ export declare const agentDefinitionsOperations: {
|
|
|
6466
7025
|
field: "issueType";
|
|
6467
7026
|
value: string;
|
|
6468
7027
|
})[];
|
|
6469
|
-
} | {
|
|
6470
|
-
family: "review";
|
|
6471
|
-
actions: ("edited" | "submitted" | "dismissed")[];
|
|
6472
|
-
repositories: string[];
|
|
6473
|
-
sender: GithubTriggerSender;
|
|
6474
|
-
conditions: ({
|
|
6475
|
-
field: "prAuthor";
|
|
6476
|
-
value: string;
|
|
6477
|
-
} | {
|
|
6478
|
-
field: "reviewState";
|
|
6479
|
-
value: "approved" | "commented" | "changes_requested";
|
|
6480
|
-
})[];
|
|
6481
7028
|
} | {
|
|
6482
7029
|
family: "comment";
|
|
6483
7030
|
actions: ("deleted" | "edited" | "created")[];
|
|
@@ -6657,9 +7204,21 @@ export declare const agentDefinitionsOperations: {
|
|
|
6657
7204
|
field: "refType";
|
|
6658
7205
|
value: "tag" | "branch";
|
|
6659
7206
|
})[];
|
|
7207
|
+
} | {
|
|
7208
|
+
family: "review";
|
|
7209
|
+
actions: ("edited" | "submitted" | "dismissed")[];
|
|
7210
|
+
repositories: string[];
|
|
7211
|
+
sender: GithubTriggerSender;
|
|
7212
|
+
conditions: ({
|
|
7213
|
+
field: "prAuthor";
|
|
7214
|
+
value: string;
|
|
7215
|
+
} | {
|
|
7216
|
+
field: "reviewState";
|
|
7217
|
+
value: "approved" | "commented" | "changes_requested";
|
|
7218
|
+
})[];
|
|
6660
7219
|
} | {
|
|
6661
7220
|
family: "pull_request";
|
|
6662
|
-
actions: ("
|
|
7221
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "assigned" | "ready_for_review" | "synchronize" | "review_requested" | "merged" | "converted_to_draft")[];
|
|
6663
7222
|
repositories: string[];
|
|
6664
7223
|
sender: GithubTriggerSender;
|
|
6665
7224
|
conditions: ({
|
|
@@ -6696,7 +7255,7 @@ export declare const agentDefinitionsOperations: {
|
|
|
6696
7255
|
})[];
|
|
6697
7256
|
} | {
|
|
6698
7257
|
family: "discussion";
|
|
6699
|
-
actions: ("closed" | "
|
|
7258
|
+
actions: ("closed" | "answered" | "labeled" | "created" | "commented")[];
|
|
6700
7259
|
repositories: string[];
|
|
6701
7260
|
sender: GithubTriggerSender;
|
|
6702
7261
|
conditions: ({
|
|
@@ -6719,7 +7278,7 @@ export declare const agentDefinitionsOperations: {
|
|
|
6719
7278
|
conditions: never[];
|
|
6720
7279
|
} | {
|
|
6721
7280
|
family: "issue";
|
|
6722
|
-
actions: ("
|
|
7281
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred" | "pinned")[];
|
|
6723
7282
|
repositories: string[];
|
|
6724
7283
|
sender: GithubTriggerSender;
|
|
6725
7284
|
conditions: ({
|
|
@@ -6744,18 +7303,6 @@ export declare const agentDefinitionsOperations: {
|
|
|
6744
7303
|
field: "issueType";
|
|
6745
7304
|
value: string;
|
|
6746
7305
|
})[];
|
|
6747
|
-
} | {
|
|
6748
|
-
family: "review";
|
|
6749
|
-
actions: ("edited" | "submitted" | "dismissed")[];
|
|
6750
|
-
repositories: string[];
|
|
6751
|
-
sender: GithubTriggerSender;
|
|
6752
|
-
conditions: ({
|
|
6753
|
-
field: "prAuthor";
|
|
6754
|
-
value: string;
|
|
6755
|
-
} | {
|
|
6756
|
-
field: "reviewState";
|
|
6757
|
-
value: "approved" | "commented" | "changes_requested";
|
|
6758
|
-
})[];
|
|
6759
7306
|
} | {
|
|
6760
7307
|
family: "comment";
|
|
6761
7308
|
actions: ("deleted" | "edited" | "created")[];
|
|
@@ -6897,6 +7444,21 @@ export declare const agentDefinitionsOperations: {
|
|
|
6897
7444
|
readonly output: OutputType<AgentToolCatalog>;
|
|
6898
7445
|
readonly permission: readonly ["agents", "read"];
|
|
6899
7446
|
}>;
|
|
7447
|
+
/**
|
|
7448
|
+
* The audience a routine runs for now: each person, why, and the connections
|
|
7449
|
+
* their run lacks. `supervision`, or whoever may edit an invited-audience
|
|
7450
|
+
* routine; a plain reader is refused.
|
|
7451
|
+
*/
|
|
7452
|
+
audiencePreview: Operation<{
|
|
7453
|
+
readonly name: "agentDefinitions.audiencePreview";
|
|
7454
|
+
readonly method: "GET";
|
|
7455
|
+
readonly path: "/agents/definitions/:id/audience/preview";
|
|
7456
|
+
readonly input: z$2.ZodObject<{
|
|
7457
|
+
id: z$2.ZodString;
|
|
7458
|
+
}, z$2.core.$strip>;
|
|
7459
|
+
readonly output: OutputType<RoutineAudiencePreview>;
|
|
7460
|
+
readonly permission: readonly ["agents", "read"];
|
|
7461
|
+
}>;
|
|
6900
7462
|
get: Operation<{
|
|
6901
7463
|
readonly name: "agentDefinitions.get";
|
|
6902
7464
|
readonly method: "GET";
|
|
@@ -6983,10 +7545,10 @@ export declare const agentDefinitionsOperations: {
|
|
|
6983
7545
|
}>>;
|
|
6984
7546
|
reasoning: z$2.ZodOptional<z$2.ZodEnum<{
|
|
6985
7547
|
none: "none";
|
|
6986
|
-
low: "low";
|
|
6987
|
-
high: "high";
|
|
6988
7548
|
minimal: "minimal";
|
|
7549
|
+
low: "low";
|
|
6989
7550
|
medium: "medium";
|
|
7551
|
+
high: "high";
|
|
6990
7552
|
xhigh: "xhigh";
|
|
6991
7553
|
}>>;
|
|
6992
7554
|
routing: z$2.ZodOptional<z$2.ZodEnum<{
|
|
@@ -7011,6 +7573,11 @@ export declare const agentDefinitionsOperations: {
|
|
|
7011
7573
|
armer: "armer";
|
|
7012
7574
|
audience: "audience";
|
|
7013
7575
|
}>>;
|
|
7576
|
+
audience: z$2.ZodOptional<z$2.ZodObject<{
|
|
7577
|
+
workspace: z$2.ZodBoolean;
|
|
7578
|
+
roleIds: z$2.ZodArray<z$2.ZodUUID>;
|
|
7579
|
+
actorIds: z$2.ZodArray<z$2.ZodUUID>;
|
|
7580
|
+
}, z$2.core.$strip>>;
|
|
7014
7581
|
continueConversation: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
7015
7582
|
}, z$2.core.$strip>>;
|
|
7016
7583
|
maxDepth: z$2.ZodOptional<z$2.ZodNumber>;
|
|
@@ -7134,10 +7701,10 @@ export declare const agentDefinitionsOperations: {
|
|
|
7134
7701
|
}>>;
|
|
7135
7702
|
reasoning: z$2.ZodOptional<z$2.ZodEnum<{
|
|
7136
7703
|
none: "none";
|
|
7137
|
-
low: "low";
|
|
7138
|
-
high: "high";
|
|
7139
7704
|
minimal: "minimal";
|
|
7705
|
+
low: "low";
|
|
7140
7706
|
medium: "medium";
|
|
7707
|
+
high: "high";
|
|
7141
7708
|
xhigh: "xhigh";
|
|
7142
7709
|
}>>;
|
|
7143
7710
|
routing: z$2.ZodOptional<z$2.ZodEnum<{
|
|
@@ -7162,6 +7729,11 @@ export declare const agentDefinitionsOperations: {
|
|
|
7162
7729
|
armer: "armer";
|
|
7163
7730
|
audience: "audience";
|
|
7164
7731
|
}>>;
|
|
7732
|
+
audience: z$2.ZodOptional<z$2.ZodObject<{
|
|
7733
|
+
workspace: z$2.ZodBoolean;
|
|
7734
|
+
roleIds: z$2.ZodArray<z$2.ZodUUID>;
|
|
7735
|
+
actorIds: z$2.ZodArray<z$2.ZodUUID>;
|
|
7736
|
+
}, z$2.core.$strip>>;
|
|
7165
7737
|
continueConversation: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
7166
7738
|
}, z$2.core.$strip>>>;
|
|
7167
7739
|
maxDepth: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
|
|
@@ -7298,6 +7870,22 @@ export declare const agentEnvVarsOperations: {
|
|
|
7298
7870
|
readonly output: OutputType<EnvVarEntry>;
|
|
7299
7871
|
readonly permission: readonly ["env-vars", "create"];
|
|
7300
7872
|
}>;
|
|
7873
|
+
batch: Operation<{
|
|
7874
|
+
readonly name: "agentEnvVars.batch";
|
|
7875
|
+
readonly method: "POST";
|
|
7876
|
+
readonly path: "/agents/definitions/:id/env-vars/batch";
|
|
7877
|
+
readonly input: z$2.ZodObject<{
|
|
7878
|
+
set: z$2.ZodArray<z$2.ZodObject<{
|
|
7879
|
+
key: z$2.ZodString;
|
|
7880
|
+
value: z$2.ZodOptional<z$2.ZodString>;
|
|
7881
|
+
isSensitive: z$2.ZodBoolean;
|
|
7882
|
+
}, z$2.core.$strip>>;
|
|
7883
|
+
remove: z$2.ZodArray<z$2.ZodString>;
|
|
7884
|
+
id: z$2.ZodString;
|
|
7885
|
+
}, z$2.core.$strip>;
|
|
7886
|
+
readonly output: OutputType<EnvVarEntry[]>;
|
|
7887
|
+
readonly permission: readonly ["env-vars", "create"];
|
|
7888
|
+
}>;
|
|
7301
7889
|
delete: Operation<{
|
|
7302
7890
|
readonly name: "agentEnvVars.delete";
|
|
7303
7891
|
readonly method: "DELETE";
|
|
@@ -7452,9 +8040,21 @@ export declare const createTriggerBody: z$2.ZodType<{
|
|
|
7452
8040
|
field: "refType";
|
|
7453
8041
|
value: "tag" | "branch";
|
|
7454
8042
|
})[];
|
|
8043
|
+
} | {
|
|
8044
|
+
family: "review";
|
|
8045
|
+
actions: ("edited" | "submitted" | "dismissed")[];
|
|
8046
|
+
repositories: string[];
|
|
8047
|
+
sender: GithubTriggerSender;
|
|
8048
|
+
conditions: ({
|
|
8049
|
+
field: "prAuthor";
|
|
8050
|
+
value: string;
|
|
8051
|
+
} | {
|
|
8052
|
+
field: "reviewState";
|
|
8053
|
+
value: "approved" | "commented" | "changes_requested";
|
|
8054
|
+
})[];
|
|
7455
8055
|
} | {
|
|
7456
8056
|
family: "pull_request";
|
|
7457
|
-
actions: ("
|
|
8057
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "assigned" | "ready_for_review" | "synchronize" | "review_requested" | "merged" | "converted_to_draft")[];
|
|
7458
8058
|
repositories: string[];
|
|
7459
8059
|
sender: GithubTriggerSender;
|
|
7460
8060
|
conditions: ({
|
|
@@ -7491,7 +8091,7 @@ export declare const createTriggerBody: z$2.ZodType<{
|
|
|
7491
8091
|
})[];
|
|
7492
8092
|
} | {
|
|
7493
8093
|
family: "discussion";
|
|
7494
|
-
actions: ("closed" | "
|
|
8094
|
+
actions: ("closed" | "answered" | "labeled" | "created" | "commented")[];
|
|
7495
8095
|
repositories: string[];
|
|
7496
8096
|
sender: GithubTriggerSender;
|
|
7497
8097
|
conditions: ({
|
|
@@ -7514,7 +8114,7 @@ export declare const createTriggerBody: z$2.ZodType<{
|
|
|
7514
8114
|
conditions: never[];
|
|
7515
8115
|
} | {
|
|
7516
8116
|
family: "issue";
|
|
7517
|
-
actions: ("
|
|
8117
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred" | "pinned")[];
|
|
7518
8118
|
repositories: string[];
|
|
7519
8119
|
sender: GithubTriggerSender;
|
|
7520
8120
|
conditions: ({
|
|
@@ -7539,18 +8139,6 @@ export declare const createTriggerBody: z$2.ZodType<{
|
|
|
7539
8139
|
field: "issueType";
|
|
7540
8140
|
value: string;
|
|
7541
8141
|
})[];
|
|
7542
|
-
} | {
|
|
7543
|
-
family: "review";
|
|
7544
|
-
actions: ("edited" | "submitted" | "dismissed")[];
|
|
7545
|
-
repositories: string[];
|
|
7546
|
-
sender: GithubTriggerSender;
|
|
7547
|
-
conditions: ({
|
|
7548
|
-
field: "prAuthor";
|
|
7549
|
-
value: string;
|
|
7550
|
-
} | {
|
|
7551
|
-
field: "reviewState";
|
|
7552
|
-
value: "approved" | "commented" | "changes_requested";
|
|
7553
|
-
})[];
|
|
7554
8142
|
} | {
|
|
7555
8143
|
family: "comment";
|
|
7556
8144
|
actions: ("deleted" | "edited" | "created")[];
|
|
@@ -7731,9 +8319,21 @@ export declare const createTriggerBody: z$2.ZodType<{
|
|
|
7731
8319
|
field: "refType";
|
|
7732
8320
|
value: "tag" | "branch";
|
|
7733
8321
|
})[];
|
|
8322
|
+
} | {
|
|
8323
|
+
family: "review";
|
|
8324
|
+
actions: ("edited" | "submitted" | "dismissed")[];
|
|
8325
|
+
repositories: string[];
|
|
8326
|
+
sender: GithubTriggerSender;
|
|
8327
|
+
conditions: ({
|
|
8328
|
+
field: "prAuthor";
|
|
8329
|
+
value: string;
|
|
8330
|
+
} | {
|
|
8331
|
+
field: "reviewState";
|
|
8332
|
+
value: "approved" | "commented" | "changes_requested";
|
|
8333
|
+
})[];
|
|
7734
8334
|
} | {
|
|
7735
8335
|
family: "pull_request";
|
|
7736
|
-
actions: ("
|
|
8336
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "assigned" | "ready_for_review" | "synchronize" | "review_requested" | "merged" | "converted_to_draft")[];
|
|
7737
8337
|
repositories: string[];
|
|
7738
8338
|
sender: GithubTriggerSender;
|
|
7739
8339
|
conditions: ({
|
|
@@ -7770,7 +8370,7 @@ export declare const createTriggerBody: z$2.ZodType<{
|
|
|
7770
8370
|
})[];
|
|
7771
8371
|
} | {
|
|
7772
8372
|
family: "discussion";
|
|
7773
|
-
actions: ("closed" | "
|
|
8373
|
+
actions: ("closed" | "answered" | "labeled" | "created" | "commented")[];
|
|
7774
8374
|
repositories: string[];
|
|
7775
8375
|
sender: GithubTriggerSender;
|
|
7776
8376
|
conditions: ({
|
|
@@ -7793,7 +8393,7 @@ export declare const createTriggerBody: z$2.ZodType<{
|
|
|
7793
8393
|
conditions: never[];
|
|
7794
8394
|
} | {
|
|
7795
8395
|
family: "issue";
|
|
7796
|
-
actions: ("
|
|
8396
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred" | "pinned")[];
|
|
7797
8397
|
repositories: string[];
|
|
7798
8398
|
sender: GithubTriggerSender;
|
|
7799
8399
|
conditions: ({
|
|
@@ -7818,18 +8418,6 @@ export declare const createTriggerBody: z$2.ZodType<{
|
|
|
7818
8418
|
field: "issueType";
|
|
7819
8419
|
value: string;
|
|
7820
8420
|
})[];
|
|
7821
|
-
} | {
|
|
7822
|
-
family: "review";
|
|
7823
|
-
actions: ("edited" | "submitted" | "dismissed")[];
|
|
7824
|
-
repositories: string[];
|
|
7825
|
-
sender: GithubTriggerSender;
|
|
7826
|
-
conditions: ({
|
|
7827
|
-
field: "prAuthor";
|
|
7828
|
-
value: string;
|
|
7829
|
-
} | {
|
|
7830
|
-
field: "reviewState";
|
|
7831
|
-
value: "approved" | "commented" | "changes_requested";
|
|
7832
|
-
})[];
|
|
7833
8421
|
} | {
|
|
7834
8422
|
family: "comment";
|
|
7835
8423
|
actions: ("deleted" | "edited" | "created")[];
|
|
@@ -7981,12 +8569,12 @@ export declare const updateTriggerBody: z$2.ZodObject<{
|
|
|
7981
8569
|
check: "check";
|
|
7982
8570
|
push: "push";
|
|
7983
8571
|
ref: "ref";
|
|
8572
|
+
review: "review";
|
|
7984
8573
|
pull_request: "pull_request";
|
|
7985
8574
|
release: "release";
|
|
7986
8575
|
discussion: "discussion";
|
|
7987
8576
|
repository: "repository";
|
|
7988
8577
|
issue: "issue";
|
|
7989
|
-
review: "review";
|
|
7990
8578
|
comment: "comment";
|
|
7991
8579
|
workflow: "workflow";
|
|
7992
8580
|
project_item: "project_item";
|
|
@@ -8156,9 +8744,21 @@ export declare const updateTriggerBody: z$2.ZodObject<{
|
|
|
8156
8744
|
field: "refType";
|
|
8157
8745
|
value: "tag" | "branch";
|
|
8158
8746
|
})[];
|
|
8747
|
+
} | {
|
|
8748
|
+
family: "review";
|
|
8749
|
+
actions: ("edited" | "submitted" | "dismissed")[];
|
|
8750
|
+
repositories: string[];
|
|
8751
|
+
sender: GithubTriggerSender;
|
|
8752
|
+
conditions: ({
|
|
8753
|
+
field: "prAuthor";
|
|
8754
|
+
value: string;
|
|
8755
|
+
} | {
|
|
8756
|
+
field: "reviewState";
|
|
8757
|
+
value: "approved" | "commented" | "changes_requested";
|
|
8758
|
+
})[];
|
|
8159
8759
|
} | {
|
|
8160
8760
|
family: "pull_request";
|
|
8161
|
-
actions: ("
|
|
8761
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "assigned" | "ready_for_review" | "synchronize" | "review_requested" | "merged" | "converted_to_draft")[];
|
|
8162
8762
|
repositories: string[];
|
|
8163
8763
|
sender: GithubTriggerSender;
|
|
8164
8764
|
conditions: ({
|
|
@@ -8195,7 +8795,7 @@ export declare const updateTriggerBody: z$2.ZodObject<{
|
|
|
8195
8795
|
})[];
|
|
8196
8796
|
} | {
|
|
8197
8797
|
family: "discussion";
|
|
8198
|
-
actions: ("closed" | "
|
|
8798
|
+
actions: ("closed" | "answered" | "labeled" | "created" | "commented")[];
|
|
8199
8799
|
repositories: string[];
|
|
8200
8800
|
sender: GithubTriggerSender;
|
|
8201
8801
|
conditions: ({
|
|
@@ -8218,7 +8818,7 @@ export declare const updateTriggerBody: z$2.ZodObject<{
|
|
|
8218
8818
|
conditions: never[];
|
|
8219
8819
|
} | {
|
|
8220
8820
|
family: "issue";
|
|
8221
|
-
actions: ("
|
|
8821
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred" | "pinned")[];
|
|
8222
8822
|
repositories: string[];
|
|
8223
8823
|
sender: GithubTriggerSender;
|
|
8224
8824
|
conditions: ({
|
|
@@ -8243,18 +8843,6 @@ export declare const updateTriggerBody: z$2.ZodObject<{
|
|
|
8243
8843
|
field: "issueType";
|
|
8244
8844
|
value: string;
|
|
8245
8845
|
})[];
|
|
8246
|
-
} | {
|
|
8247
|
-
family: "review";
|
|
8248
|
-
actions: ("edited" | "submitted" | "dismissed")[];
|
|
8249
|
-
repositories: string[];
|
|
8250
|
-
sender: GithubTriggerSender;
|
|
8251
|
-
conditions: ({
|
|
8252
|
-
field: "prAuthor";
|
|
8253
|
-
value: string;
|
|
8254
|
-
} | {
|
|
8255
|
-
field: "reviewState";
|
|
8256
|
-
value: "approved" | "commented" | "changes_requested";
|
|
8257
|
-
})[];
|
|
8258
8846
|
} | {
|
|
8259
8847
|
family: "comment";
|
|
8260
8848
|
actions: ("deleted" | "edited" | "created")[];
|
|
@@ -8311,7 +8899,7 @@ export declare const updateTriggerBody: z$2.ZodObject<{
|
|
|
8311
8899
|
value: "draft" | "pull_request" | "issue";
|
|
8312
8900
|
})[];
|
|
8313
8901
|
}, {
|
|
8314
|
-
family: "check" | "push" | "ref" | "pull_request" | "release" | "discussion" | "repository" | "issue" | "
|
|
8902
|
+
family: "check" | "push" | "ref" | "review" | "pull_request" | "release" | "discussion" | "repository" | "issue" | "comment" | "workflow" | "project_item";
|
|
8315
8903
|
actions: string[];
|
|
8316
8904
|
repositories: string[];
|
|
8317
8905
|
sender: "any" | "me" | "human" | {
|
|
@@ -8642,9 +9230,21 @@ export declare const agentTriggersOperations: {
|
|
|
8642
9230
|
field: "refType";
|
|
8643
9231
|
value: "tag" | "branch";
|
|
8644
9232
|
})[];
|
|
9233
|
+
} | {
|
|
9234
|
+
family: "review";
|
|
9235
|
+
actions: ("edited" | "submitted" | "dismissed")[];
|
|
9236
|
+
repositories: string[];
|
|
9237
|
+
sender: GithubTriggerSender;
|
|
9238
|
+
conditions: ({
|
|
9239
|
+
field: "prAuthor";
|
|
9240
|
+
value: string;
|
|
9241
|
+
} | {
|
|
9242
|
+
field: "reviewState";
|
|
9243
|
+
value: "approved" | "commented" | "changes_requested";
|
|
9244
|
+
})[];
|
|
8645
9245
|
} | {
|
|
8646
9246
|
family: "pull_request";
|
|
8647
|
-
actions: ("
|
|
9247
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "assigned" | "ready_for_review" | "synchronize" | "review_requested" | "merged" | "converted_to_draft")[];
|
|
8648
9248
|
repositories: string[];
|
|
8649
9249
|
sender: GithubTriggerSender;
|
|
8650
9250
|
conditions: ({
|
|
@@ -8681,7 +9281,7 @@ export declare const agentTriggersOperations: {
|
|
|
8681
9281
|
})[];
|
|
8682
9282
|
} | {
|
|
8683
9283
|
family: "discussion";
|
|
8684
|
-
actions: ("closed" | "
|
|
9284
|
+
actions: ("closed" | "answered" | "labeled" | "created" | "commented")[];
|
|
8685
9285
|
repositories: string[];
|
|
8686
9286
|
sender: GithubTriggerSender;
|
|
8687
9287
|
conditions: ({
|
|
@@ -8704,7 +9304,7 @@ export declare const agentTriggersOperations: {
|
|
|
8704
9304
|
conditions: never[];
|
|
8705
9305
|
} | {
|
|
8706
9306
|
family: "issue";
|
|
8707
|
-
actions: ("
|
|
9307
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred" | "pinned")[];
|
|
8708
9308
|
repositories: string[];
|
|
8709
9309
|
sender: GithubTriggerSender;
|
|
8710
9310
|
conditions: ({
|
|
@@ -8729,18 +9329,6 @@ export declare const agentTriggersOperations: {
|
|
|
8729
9329
|
field: "issueType";
|
|
8730
9330
|
value: string;
|
|
8731
9331
|
})[];
|
|
8732
|
-
} | {
|
|
8733
|
-
family: "review";
|
|
8734
|
-
actions: ("edited" | "submitted" | "dismissed")[];
|
|
8735
|
-
repositories: string[];
|
|
8736
|
-
sender: GithubTriggerSender;
|
|
8737
|
-
conditions: ({
|
|
8738
|
-
field: "prAuthor";
|
|
8739
|
-
value: string;
|
|
8740
|
-
} | {
|
|
8741
|
-
field: "reviewState";
|
|
8742
|
-
value: "approved" | "commented" | "changes_requested";
|
|
8743
|
-
})[];
|
|
8744
9332
|
} | {
|
|
8745
9333
|
family: "comment";
|
|
8746
9334
|
actions: ("deleted" | "edited" | "created")[];
|
|
@@ -8921,9 +9509,21 @@ export declare const agentTriggersOperations: {
|
|
|
8921
9509
|
field: "refType";
|
|
8922
9510
|
value: "tag" | "branch";
|
|
8923
9511
|
})[];
|
|
9512
|
+
} | {
|
|
9513
|
+
family: "review";
|
|
9514
|
+
actions: ("edited" | "submitted" | "dismissed")[];
|
|
9515
|
+
repositories: string[];
|
|
9516
|
+
sender: GithubTriggerSender;
|
|
9517
|
+
conditions: ({
|
|
9518
|
+
field: "prAuthor";
|
|
9519
|
+
value: string;
|
|
9520
|
+
} | {
|
|
9521
|
+
field: "reviewState";
|
|
9522
|
+
value: "approved" | "commented" | "changes_requested";
|
|
9523
|
+
})[];
|
|
8924
9524
|
} | {
|
|
8925
9525
|
family: "pull_request";
|
|
8926
|
-
actions: ("
|
|
9526
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "assigned" | "ready_for_review" | "synchronize" | "review_requested" | "merged" | "converted_to_draft")[];
|
|
8927
9527
|
repositories: string[];
|
|
8928
9528
|
sender: GithubTriggerSender;
|
|
8929
9529
|
conditions: ({
|
|
@@ -8960,7 +9560,7 @@ export declare const agentTriggersOperations: {
|
|
|
8960
9560
|
})[];
|
|
8961
9561
|
} | {
|
|
8962
9562
|
family: "discussion";
|
|
8963
|
-
actions: ("closed" | "
|
|
9563
|
+
actions: ("closed" | "answered" | "labeled" | "created" | "commented")[];
|
|
8964
9564
|
repositories: string[];
|
|
8965
9565
|
sender: GithubTriggerSender;
|
|
8966
9566
|
conditions: ({
|
|
@@ -8983,7 +9583,7 @@ export declare const agentTriggersOperations: {
|
|
|
8983
9583
|
conditions: never[];
|
|
8984
9584
|
} | {
|
|
8985
9585
|
family: "issue";
|
|
8986
|
-
actions: ("
|
|
9586
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred" | "pinned")[];
|
|
8987
9587
|
repositories: string[];
|
|
8988
9588
|
sender: GithubTriggerSender;
|
|
8989
9589
|
conditions: ({
|
|
@@ -9008,18 +9608,6 @@ export declare const agentTriggersOperations: {
|
|
|
9008
9608
|
field: "issueType";
|
|
9009
9609
|
value: string;
|
|
9010
9610
|
})[];
|
|
9011
|
-
} | {
|
|
9012
|
-
family: "review";
|
|
9013
|
-
actions: ("edited" | "submitted" | "dismissed")[];
|
|
9014
|
-
repositories: string[];
|
|
9015
|
-
sender: GithubTriggerSender;
|
|
9016
|
-
conditions: ({
|
|
9017
|
-
field: "prAuthor";
|
|
9018
|
-
value: string;
|
|
9019
|
-
} | {
|
|
9020
|
-
field: "reviewState";
|
|
9021
|
-
value: "approved" | "commented" | "changes_requested";
|
|
9022
|
-
})[];
|
|
9023
9611
|
} | {
|
|
9024
9612
|
family: "comment";
|
|
9025
9613
|
actions: ("deleted" | "edited" | "created")[];
|
|
@@ -9203,12 +9791,12 @@ export declare const agentTriggersOperations: {
|
|
|
9203
9791
|
check: "check";
|
|
9204
9792
|
push: "push";
|
|
9205
9793
|
ref: "ref";
|
|
9794
|
+
review: "review";
|
|
9206
9795
|
pull_request: "pull_request";
|
|
9207
9796
|
release: "release";
|
|
9208
9797
|
discussion: "discussion";
|
|
9209
9798
|
repository: "repository";
|
|
9210
9799
|
issue: "issue";
|
|
9211
|
-
review: "review";
|
|
9212
9800
|
comment: "comment";
|
|
9213
9801
|
workflow: "workflow";
|
|
9214
9802
|
project_item: "project_item";
|
|
@@ -9378,9 +9966,21 @@ export declare const agentTriggersOperations: {
|
|
|
9378
9966
|
field: "refType";
|
|
9379
9967
|
value: "tag" | "branch";
|
|
9380
9968
|
})[];
|
|
9969
|
+
} | {
|
|
9970
|
+
family: "review";
|
|
9971
|
+
actions: ("edited" | "submitted" | "dismissed")[];
|
|
9972
|
+
repositories: string[];
|
|
9973
|
+
sender: GithubTriggerSender;
|
|
9974
|
+
conditions: ({
|
|
9975
|
+
field: "prAuthor";
|
|
9976
|
+
value: string;
|
|
9977
|
+
} | {
|
|
9978
|
+
field: "reviewState";
|
|
9979
|
+
value: "approved" | "commented" | "changes_requested";
|
|
9980
|
+
})[];
|
|
9381
9981
|
} | {
|
|
9382
9982
|
family: "pull_request";
|
|
9383
|
-
actions: ("
|
|
9983
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "assigned" | "ready_for_review" | "synchronize" | "review_requested" | "merged" | "converted_to_draft")[];
|
|
9384
9984
|
repositories: string[];
|
|
9385
9985
|
sender: GithubTriggerSender;
|
|
9386
9986
|
conditions: ({
|
|
@@ -9417,7 +10017,7 @@ export declare const agentTriggersOperations: {
|
|
|
9417
10017
|
})[];
|
|
9418
10018
|
} | {
|
|
9419
10019
|
family: "discussion";
|
|
9420
|
-
actions: ("closed" | "
|
|
10020
|
+
actions: ("closed" | "answered" | "labeled" | "created" | "commented")[];
|
|
9421
10021
|
repositories: string[];
|
|
9422
10022
|
sender: GithubTriggerSender;
|
|
9423
10023
|
conditions: ({
|
|
@@ -9440,7 +10040,7 @@ export declare const agentTriggersOperations: {
|
|
|
9440
10040
|
conditions: never[];
|
|
9441
10041
|
} | {
|
|
9442
10042
|
family: "issue";
|
|
9443
|
-
actions: ("
|
|
10043
|
+
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred" | "pinned")[];
|
|
9444
10044
|
repositories: string[];
|
|
9445
10045
|
sender: GithubTriggerSender;
|
|
9446
10046
|
conditions: ({
|
|
@@ -9465,18 +10065,6 @@ export declare const agentTriggersOperations: {
|
|
|
9465
10065
|
field: "issueType";
|
|
9466
10066
|
value: string;
|
|
9467
10067
|
})[];
|
|
9468
|
-
} | {
|
|
9469
|
-
family: "review";
|
|
9470
|
-
actions: ("edited" | "submitted" | "dismissed")[];
|
|
9471
|
-
repositories: string[];
|
|
9472
|
-
sender: GithubTriggerSender;
|
|
9473
|
-
conditions: ({
|
|
9474
|
-
field: "prAuthor";
|
|
9475
|
-
value: string;
|
|
9476
|
-
} | {
|
|
9477
|
-
field: "reviewState";
|
|
9478
|
-
value: "approved" | "commented" | "changes_requested";
|
|
9479
|
-
})[];
|
|
9480
10068
|
} | {
|
|
9481
10069
|
family: "comment";
|
|
9482
10070
|
actions: ("deleted" | "edited" | "created")[];
|
|
@@ -9533,7 +10121,7 @@ export declare const agentTriggersOperations: {
|
|
|
9533
10121
|
value: "draft" | "pull_request" | "issue";
|
|
9534
10122
|
})[];
|
|
9535
10123
|
}, {
|
|
9536
|
-
family: "check" | "push" | "ref" | "pull_request" | "release" | "discussion" | "repository" | "issue" | "
|
|
10124
|
+
family: "check" | "push" | "ref" | "review" | "pull_request" | "release" | "discussion" | "repository" | "issue" | "comment" | "workflow" | "project_item";
|
|
9537
10125
|
actions: string[];
|
|
9538
10126
|
repositories: string[];
|
|
9539
10127
|
sender: "any" | "me" | "human" | {
|
|
@@ -9816,10 +10404,10 @@ export declare const createSessionBody: z$2.ZodObject<{
|
|
|
9816
10404
|
}>>;
|
|
9817
10405
|
reasoning: z$2.ZodOptional<z$2.ZodEnum<{
|
|
9818
10406
|
none: "none";
|
|
9819
|
-
low: "low";
|
|
9820
|
-
high: "high";
|
|
9821
10407
|
minimal: "minimal";
|
|
10408
|
+
low: "low";
|
|
9822
10409
|
medium: "medium";
|
|
10410
|
+
high: "high";
|
|
9823
10411
|
xhigh: "xhigh";
|
|
9824
10412
|
}>>;
|
|
9825
10413
|
routing: z$2.ZodOptional<z$2.ZodEnum<{
|
|
@@ -9882,10 +10470,10 @@ export declare const createSessionBody: z$2.ZodObject<{
|
|
|
9882
10470
|
}>>;
|
|
9883
10471
|
reasoning: z$2.ZodOptional<z$2.ZodEnum<{
|
|
9884
10472
|
none: "none";
|
|
9885
|
-
low: "low";
|
|
9886
|
-
high: "high";
|
|
9887
10473
|
minimal: "minimal";
|
|
10474
|
+
low: "low";
|
|
9888
10475
|
medium: "medium";
|
|
10476
|
+
high: "high";
|
|
9889
10477
|
xhigh: "xhigh";
|
|
9890
10478
|
}>>;
|
|
9891
10479
|
imageModel: z$2.ZodOptional<z$2.ZodString>;
|
|
@@ -9932,6 +10520,13 @@ export declare const listSessionsQuery: z$2.ZodObject<{
|
|
|
9932
10520
|
}>>;
|
|
9933
10521
|
limit: z$2.ZodOptional<z$2.ZodCoercedNumber<unknown>>;
|
|
9934
10522
|
offset: z$2.ZodOptional<z$2.ZodCoercedNumber<unknown>>;
|
|
10523
|
+
provenance: z$2.ZodOptional<z$2.ZodEnum<{
|
|
10524
|
+
shared: "shared";
|
|
10525
|
+
team: "team";
|
|
10526
|
+
mine: "mine";
|
|
10527
|
+
}>>;
|
|
10528
|
+
actorId: z$2.ZodOptional<z$2.ZodGUID>;
|
|
10529
|
+
cursor: z$2.ZodOptional<z$2.ZodString>;
|
|
9935
10530
|
includeArchived: z$2.ZodOptional<z$2.ZodPipe<z$2.ZodString, z$2.ZodTransform<boolean, string>>>;
|
|
9936
10531
|
}, z$2.core.$strict>;
|
|
9937
10532
|
/** One aside exchange as the client holds it (spec §5): the bounds every aside route shares. */
|
|
@@ -10021,10 +10616,10 @@ export declare const sessionInferenceOverridesInput: z$2.ZodObject<{
|
|
|
10021
10616
|
}>>>;
|
|
10022
10617
|
reasoning: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodEnum<{
|
|
10023
10618
|
none: "none";
|
|
10024
|
-
low: "low";
|
|
10025
|
-
high: "high";
|
|
10026
10619
|
minimal: "minimal";
|
|
10620
|
+
low: "low";
|
|
10027
10621
|
medium: "medium";
|
|
10622
|
+
high: "high";
|
|
10028
10623
|
xhigh: "xhigh";
|
|
10029
10624
|
}>>>;
|
|
10030
10625
|
imageModel: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
@@ -10139,10 +10734,10 @@ export declare const agentSessionsOperations: {
|
|
|
10139
10734
|
}>>;
|
|
10140
10735
|
reasoning: z$2.ZodOptional<z$2.ZodEnum<{
|
|
10141
10736
|
none: "none";
|
|
10142
|
-
low: "low";
|
|
10143
|
-
high: "high";
|
|
10144
10737
|
minimal: "minimal";
|
|
10738
|
+
low: "low";
|
|
10145
10739
|
medium: "medium";
|
|
10740
|
+
high: "high";
|
|
10146
10741
|
xhigh: "xhigh";
|
|
10147
10742
|
}>>;
|
|
10148
10743
|
routing: z$2.ZodOptional<z$2.ZodEnum<{
|
|
@@ -10205,10 +10800,10 @@ export declare const agentSessionsOperations: {
|
|
|
10205
10800
|
}>>;
|
|
10206
10801
|
reasoning: z$2.ZodOptional<z$2.ZodEnum<{
|
|
10207
10802
|
none: "none";
|
|
10208
|
-
low: "low";
|
|
10209
|
-
high: "high";
|
|
10210
10803
|
minimal: "minimal";
|
|
10804
|
+
low: "low";
|
|
10211
10805
|
medium: "medium";
|
|
10806
|
+
high: "high";
|
|
10212
10807
|
xhigh: "xhigh";
|
|
10213
10808
|
}>>;
|
|
10214
10809
|
imageModel: z$2.ZodOptional<z$2.ZodString>;
|
|
@@ -10258,6 +10853,13 @@ export declare const agentSessionsOperations: {
|
|
|
10258
10853
|
}>>;
|
|
10259
10854
|
limit: z$2.ZodOptional<z$2.ZodCoercedNumber<unknown>>;
|
|
10260
10855
|
offset: z$2.ZodOptional<z$2.ZodCoercedNumber<unknown>>;
|
|
10856
|
+
provenance: z$2.ZodOptional<z$2.ZodEnum<{
|
|
10857
|
+
shared: "shared";
|
|
10858
|
+
team: "team";
|
|
10859
|
+
mine: "mine";
|
|
10860
|
+
}>>;
|
|
10861
|
+
actorId: z$2.ZodOptional<z$2.ZodGUID>;
|
|
10862
|
+
cursor: z$2.ZodOptional<z$2.ZodString>;
|
|
10261
10863
|
includeArchived: z$2.ZodOptional<z$2.ZodPipe<z$2.ZodString, z$2.ZodTransform<boolean, string>>>;
|
|
10262
10864
|
}, z$2.core.$strict>;
|
|
10263
10865
|
readonly output: OutputType<AgentSession[]>;
|
|
@@ -10428,10 +11030,10 @@ export declare const agentSessionsOperations: {
|
|
|
10428
11030
|
}>>>;
|
|
10429
11031
|
reasoning: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodEnum<{
|
|
10430
11032
|
none: "none";
|
|
10431
|
-
low: "low";
|
|
10432
|
-
high: "high";
|
|
10433
11033
|
minimal: "minimal";
|
|
11034
|
+
low: "low";
|
|
10434
11035
|
medium: "medium";
|
|
11036
|
+
high: "high";
|
|
10435
11037
|
xhigh: "xhigh";
|
|
10436
11038
|
}>>>;
|
|
10437
11039
|
imageModel: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
@@ -12173,13 +12775,13 @@ export declare const setConnectionLevelBody: z$2.ZodObject<{
|
|
|
12173
12775
|
export type SetConnectionLevelBody = z$2.infer<typeof setConnectionLevelBody>;
|
|
12174
12776
|
/**
|
|
12175
12777
|
* The caller's OAuth connections across every workspace they belong to.
|
|
12176
|
-
* Served by the host's `ConnectedAppsController
|
|
12177
|
-
*
|
|
12178
|
-
* OAuth tokens), so these operations have no runtime handler.
|
|
12778
|
+
* Served by the host's `ConnectedAppsController`, so these operations have no
|
|
12779
|
+
* runtime handler; a person's session only, which the controller asserts.
|
|
12179
12780
|
*/
|
|
12180
12781
|
export declare const connectedAppsOperations: {
|
|
12181
12782
|
list: Operation<{
|
|
12182
12783
|
readonly name: "connectedApps.list";
|
|
12784
|
+
readonly credential: "session";
|
|
12183
12785
|
readonly method: "GET";
|
|
12184
12786
|
readonly path: "/connected-apps";
|
|
12185
12787
|
readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
|
|
@@ -12190,6 +12792,7 @@ export declare const connectedAppsOperations: {
|
|
|
12190
12792
|
/** Changes the level in place: the next request of the connection carries it. */
|
|
12191
12793
|
setLevel: Operation<{
|
|
12192
12794
|
readonly name: "connectedApps.setLevel";
|
|
12795
|
+
readonly credential: "session";
|
|
12193
12796
|
readonly method: "PATCH";
|
|
12194
12797
|
readonly path: "/connected-apps/:grantId";
|
|
12195
12798
|
readonly input: z$2.ZodObject<{
|
|
@@ -12207,6 +12810,7 @@ export declare const connectedAppsOperations: {
|
|
|
12207
12810
|
/** Revokes the connection, with the browsers it carries. */
|
|
12208
12811
|
revoke: Operation<{
|
|
12209
12812
|
readonly name: "connectedApps.revoke";
|
|
12813
|
+
readonly credential: "session";
|
|
12210
12814
|
readonly method: "DELETE";
|
|
12211
12815
|
readonly path: "/connected-apps/:grantId";
|
|
12212
12816
|
readonly input: z$2.ZodObject<{
|