@proteos/sdk 0.85.0 → 0.87.0
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/{chunk-Z773P4RO.cjs → chunk-4BBHU3XA.cjs} +36 -86
- package/dist/chunk-4BBHU3XA.cjs.map +1 -0
- package/dist/{chunk-C5642XOH.js → chunk-KX4VIMIJ.js} +36 -86
- package/dist/chunk-KX4VIMIJ.js.map +1 -0
- package/dist/index.cjs +310 -177
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +489 -39
- package/dist/index.d.ts +489 -39
- package/dist/index.js +188 -56
- package/dist/index.js.map +1 -1
- package/dist/meta/index.cjs +96 -96
- package/dist/meta/index.d.cts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/dist/meta/index.js +1 -1
- package/dist/{types-CWj1h9l0.d.cts → types-D38dRFU7.d.cts} +7 -1
- package/dist/{types-CWj1h9l0.d.ts → types-D38dRFU7.d.ts} +7 -1
- package/package.json +1 -1
- package/src/agent/index.ts +28 -0
- package/src/agent/mcp-servers.ts +0 -1
- package/src/agent/model-types.ts +23 -1
- package/src/agent/models.ts +16 -3
- package/src/agent/prompts.ts +0 -1
- package/src/agent/session-types.ts +351 -12
- package/src/agent/sessions.ts +108 -1
- package/src/agent/skills.ts +4 -2
- package/src/agent/tools.ts +0 -1
- package/src/agent/toolsets.ts +17 -0
- package/src/agent/types.ts +34 -0
- package/src/auth/shares.ts +7 -2
- package/src/auth/types.ts +12 -0
- package/src/client.ts +1 -0
- package/src/connector/index.ts +26 -7
- package/src/conversation/index.ts +8 -3
- package/src/conversation/types.ts +15 -0
- package/src/events/index.ts +8 -6
- package/src/index.ts +31 -1
- package/src/knowledge/index.ts +4 -5
- package/src/knowledge/spaces.ts +14 -0
- package/src/knowledge/types.ts +13 -0
- package/src/meta/index.ts +7 -7
- package/src/meta/layout/control-registry.json +24 -82
- package/src/meta/list-extensions.ts +1 -3
- package/src/meta/page-extensions.ts +2 -4
- package/src/meta/types.ts +10 -2
- package/src/scheduling/index.ts +105 -24
- package/src/storage/files.ts +1 -4
- package/src/types/options.ts +6 -0
- package/src/workflow/types.ts +2 -2
- package/dist/chunk-C5642XOH.js.map +0 -1
- package/dist/chunk-Z773P4RO.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AuditFields, L as ListOptions, a as Attribute, U as UserRef$2, P as PageIterator, b as ListResult, c as ProteosClient, F as FileRef, d as PrincipalRef, e as PageAction,
|
|
2
|
-
export { h as App, i as AppConfiguration, j as AppConfigurationSchema, k as AppConfigurationService, l as AppHome, m as AppHomeSchema, n as AppHomeType, o as AppSchema, p as AppService, q as ArrayAttributeMeta, r as AttributeAccessRule, s as AttributeRestrictions, t as AttributeSchema, u as AttributeType, v as AuditFieldsSchema, C as CURRENT_USER, w as CURRENT_USER_DEFAULT, x as ClientOptions, y as Column, z as ColumnSchema, B as ComparisonOperator, D as Component, E as ComponentSchema, G as ComponentService, H as ContactAddressAttributeKind, I as ContactAddressAttributeMeta, J as ContactAddressAttributeMetaSchema, K as ContactBindingDuplicatePolicy, M as CreateAppConfigurationRequest, N as CreateAppRequest, O as CreateComponentRequest, Q as CreateDesignReferenceRequest, S as CreateEntityExtensionRequest, T as CreateEntityRequest, V as CreateListExtensionRequest, W as CreateListRequest, X as CreateListViewRequest, Y as CreateMenuConfigurationExtensionRequest, Z as CreateMenuConfigurationRequest, _ as CreatePageExtensionRequest, $ as CreatePageRequest, a0 as CreateVariableRequest, a1 as CurrencyAttributeMeta, a2 as CurrencyAttributeMetaSchema, a3 as CurrencySymbolSide, a4 as CurrencyValue, a5 as CurrentUserDefault, a6 as DEFAULT_OPTIONS, a7 as DEFAULT_PAGE_SIZE, a8 as DONE, a9 as DeployModuleRequest, aa as DesignReference, ab as DesignReferenceContent, ac as DesignReferenceSchema, ad as DesignReferenceService, ae as Done, af as Entity, ag as EntityContactBinding, ah as EntityContactBindingSchema, ai as EntityExtension, aj as EntityExtensionSchema, ak as EntityExtensionService, al as EntitySchema, am as EntityService, an as EntityWithSchema, ao as EntityWithSchemaSchema, ap as EnumAttributeMeta, aq as EnumValue, ar as ExtensionPosition, as as ExtensionPositionSchema, at as FileAttributeMeta, au as FileRefSchema, av as FilterElement, aw as FilterElementSchema, ax as FilterGroup, ay as FilterGroupSchema, az as List, aA as ListAppConfigurationsOptions, aB as ListAppsOptions, aC as ListComponentsOptions, aD as ListDesignReferencesOptions, aE as ListEntitiesOptions, aF as ListEntityExtensionsOptions, aG as ListExtension, aH as ListExtensionColumnPlacement, aI as ListExtensionColumnPlacementSchema, aJ as ListExtensionSchema, aK as ListExtensionService, aL as ListFn, aM as ListListExtensionsOptions, aN as ListListViewsOptions, aO as ListListsOptions, aP as ListMenuConfigurationExtensionsOptions, aQ as ListMenuConfigurationsOptions, aR as ListModulesOptions, aS as ListPageExtensionsOptions, aT as ListPagesOptions, aU as ListSchema, aV as ListService, aW as ListVariablesOptions, aX as ListView, aY as ListViewSchema, aZ as ListViewService, a_ as LogicalOperator, a$ as MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, b0 as MenuConfiguration, b1 as MenuConfigurationExtension, b2 as MenuConfigurationExtensionPlacement, b3 as MenuConfigurationExtensionPlacementSchema, b4 as MenuConfigurationExtensionPosition, b5 as MenuConfigurationExtensionPositionSchema, b6 as MenuConfigurationExtensionSchema, b7 as MenuConfigurationExtensionService, b8 as MenuConfigurationSchema, b9 as MenuConfigurationService, ba as MenuItem, bb as MenuItemSchema, bc as MenuItemType, bd as MetaClient, be as MetaListOptions, bf as Module, bg as ModuleSchema, bh as ModuleService, bi as ModuleStatus, bj as OnDeleteAction, bk as OnDeleteActionSchema, bl as PAGE_ACTION_MATCH_MAX_LIMIT, bm as PAGE_EXTENSION_ANCHOR_MAIN, bn as PAGE_EXTENSION_ANCHOR_SIDE_PANEL, bo as PLATFORM_ATTRIBUTE_NAMES, bp as PLATFORM_USER_ID, bq as Page, br as PageActionIntent, bs as PageActionKind, bt as PageActionMatch, bu as PageActionMatchSchema, bv as PageActionSchema, bw as PageExtension, bx as PageExtensionPlacement, by as PageExtensionPlacementSchema, bz as PageExtensionSchema, bA as PageExtensionService, bB as PageLayout, bC as PageLayoutSchema, bD as PageMode, bE as PageSchema, bF as PageService, bG as PageType, bH as PublicPageComponent, bI as PublicPageResponse, bJ as RecordPageBinding, bK as RecordPageBindingSchema, bL as RelationAttributeMeta, bM as RelationAttributeMetaSchema, bN as ResolvedClientOptions, bO as ResponseMetaSchema, bP as SortConfig, bQ as SortConfigSchema, bR as SortDirection, bS as Timestamps, bT as TokenProvider, bU as TriggerPageBinding, bV as TriggerPageBindingSchema, bW as TriggerPhase, bX as UpdateAppConfigurationRequest, bY as UpdateAppRequest, bZ as UpdateComponentRequest, b_ as UpdateDesignReferenceRequest, b$ as UpdateEntityExtensionRequest, c0 as UpdateEntityRequest, c1 as UpdateListExtensionRequest, c2 as UpdateListRequest, c3 as UpdateListViewRequest, c4 as UpdateMenuConfigurationExtensionRequest, c5 as UpdateMenuConfigurationRequest, c6 as UpdatePageExtensionRequest, c7 as UpdatePageRequest, c8 as UpdateVariableRequest, c9 as UserRefSchema, ca as UserType, cb as Variable, cc as VariableSchema, cd as VariableService, ce as acceptsCurrentUserDefault, cf as allCurrencyCodes, cg as bundleVersionOf, ch as createIterator, ci as createListResultSchema, cj as currencyLabel, ck as currencySymbol, cl as currencySymbolSide, cm as formatAmount, cn as formatMoney, co as isCurrentUser, cp as isCurrentUserDefault, cq as isPlatformAttributeName, cr as localeNumberSeparators, cs as parseAmount, ct as parseContactAddressMeta, cu as parseCurrencyMeta, cv as parseFileMeta, cw as parseRelationMeta, cx as platformAttributes, cy as resolveOptions } from './types-
|
|
1
|
+
import { A as AuditFields, L as ListOptions, a as Attribute, U as UserRef$2, P as PageIterator, b as ListResult, R as RequestOptions, c as ProteosClient, F as FileRef, d as PrincipalRef, e as PageAction, f as ResponseMeta$1, g as PublicAccessOperation } from './types-D38dRFU7.cjs';
|
|
2
|
+
export { h as App, i as AppConfiguration, j as AppConfigurationSchema, k as AppConfigurationService, l as AppHome, m as AppHomeSchema, n as AppHomeType, o as AppSchema, p as AppService, q as ArrayAttributeMeta, r as AttributeAccessRule, s as AttributeRestrictions, t as AttributeSchema, u as AttributeType, v as AuditFieldsSchema, C as CURRENT_USER, w as CURRENT_USER_DEFAULT, x as ClientOptions, y as Column, z as ColumnSchema, B as ComparisonOperator, D as Component, E as ComponentSchema, G as ComponentService, H as ContactAddressAttributeKind, I as ContactAddressAttributeMeta, J as ContactAddressAttributeMetaSchema, K as ContactBindingDuplicatePolicy, M as CreateAppConfigurationRequest, N as CreateAppRequest, O as CreateComponentRequest, Q as CreateDesignReferenceRequest, S as CreateEntityExtensionRequest, T as CreateEntityRequest, V as CreateListExtensionRequest, W as CreateListRequest, X as CreateListViewRequest, Y as CreateMenuConfigurationExtensionRequest, Z as CreateMenuConfigurationRequest, _ as CreatePageExtensionRequest, $ as CreatePageRequest, a0 as CreateVariableRequest, a1 as CurrencyAttributeMeta, a2 as CurrencyAttributeMetaSchema, a3 as CurrencySymbolSide, a4 as CurrencyValue, a5 as CurrentUserDefault, a6 as DEFAULT_OPTIONS, a7 as DEFAULT_PAGE_SIZE, a8 as DONE, a9 as DeployModuleRequest, aa as DesignReference, ab as DesignReferenceContent, ac as DesignReferenceSchema, ad as DesignReferenceService, ae as Done, af as Entity, ag as EntityContactBinding, ah as EntityContactBindingSchema, ai as EntityExtension, aj as EntityExtensionSchema, ak as EntityExtensionService, al as EntitySchema, am as EntityService, an as EntityWithSchema, ao as EntityWithSchemaSchema, ap as EnumAttributeMeta, aq as EnumValue, ar as ExtensionPosition, as as ExtensionPositionSchema, at as FileAttributeMeta, au as FileRefSchema, av as FilterElement, aw as FilterElementSchema, ax as FilterGroup, ay as FilterGroupSchema, az as List, aA as ListAppConfigurationsOptions, aB as ListAppsOptions, aC as ListComponentsOptions, aD as ListDesignReferencesOptions, aE as ListEntitiesOptions, aF as ListEntityExtensionsOptions, aG as ListExtension, aH as ListExtensionColumnPlacement, aI as ListExtensionColumnPlacementSchema, aJ as ListExtensionSchema, aK as ListExtensionService, aL as ListFn, aM as ListListExtensionsOptions, aN as ListListViewsOptions, aO as ListListsOptions, aP as ListMenuConfigurationExtensionsOptions, aQ as ListMenuConfigurationsOptions, aR as ListModulesOptions, aS as ListPageExtensionsOptions, aT as ListPagesOptions, aU as ListSchema, aV as ListService, aW as ListVariablesOptions, aX as ListView, aY as ListViewSchema, aZ as ListViewService, a_ as LogicalOperator, a$ as MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, b0 as MenuConfiguration, b1 as MenuConfigurationExtension, b2 as MenuConfigurationExtensionPlacement, b3 as MenuConfigurationExtensionPlacementSchema, b4 as MenuConfigurationExtensionPosition, b5 as MenuConfigurationExtensionPositionSchema, b6 as MenuConfigurationExtensionSchema, b7 as MenuConfigurationExtensionService, b8 as MenuConfigurationSchema, b9 as MenuConfigurationService, ba as MenuItem, bb as MenuItemSchema, bc as MenuItemType, bd as MetaClient, be as MetaListOptions, bf as Module, bg as ModuleSchema, bh as ModuleService, bi as ModuleStatus, bj as OnDeleteAction, bk as OnDeleteActionSchema, bl as PAGE_ACTION_MATCH_MAX_LIMIT, bm as PAGE_EXTENSION_ANCHOR_MAIN, bn as PAGE_EXTENSION_ANCHOR_SIDE_PANEL, bo as PLATFORM_ATTRIBUTE_NAMES, bp as PLATFORM_USER_ID, bq as Page, br as PageActionIntent, bs as PageActionKind, bt as PageActionMatch, bu as PageActionMatchSchema, bv as PageActionSchema, bw as PageExtension, bx as PageExtensionPlacement, by as PageExtensionPlacementSchema, bz as PageExtensionSchema, bA as PageExtensionService, bB as PageLayout, bC as PageLayoutSchema, bD as PageMode, bE as PageSchema, bF as PageService, bG as PageType, bH as PublicPageComponent, bI as PublicPageResponse, bJ as RecordPageBinding, bK as RecordPageBindingSchema, bL as RelationAttributeMeta, bM as RelationAttributeMetaSchema, bN as ResolvedClientOptions, bO as ResponseMetaSchema, bP as SortConfig, bQ as SortConfigSchema, bR as SortDirection, bS as Timestamps, bT as TokenProvider, bU as TriggerPageBinding, bV as TriggerPageBindingSchema, bW as TriggerPhase, bX as UpdateAppConfigurationRequest, bY as UpdateAppRequest, bZ as UpdateComponentRequest, b_ as UpdateDesignReferenceRequest, b$ as UpdateEntityExtensionRequest, c0 as UpdateEntityRequest, c1 as UpdateListExtensionRequest, c2 as UpdateListRequest, c3 as UpdateListViewRequest, c4 as UpdateMenuConfigurationExtensionRequest, c5 as UpdateMenuConfigurationRequest, c6 as UpdatePageExtensionRequest, c7 as UpdatePageRequest, c8 as UpdateVariableRequest, c9 as UserRefSchema, ca as UserType, cb as Variable, cc as VariableSchema, cd as VariableService, ce as acceptsCurrentUserDefault, cf as allCurrencyCodes, cg as bundleVersionOf, ch as createIterator, ci as createListResultSchema, cj as currencyLabel, ck as currencySymbol, cl as currencySymbolSide, cm as formatAmount, cn as formatMoney, co as isCurrentUser, cp as isCurrentUserDefault, cq as isPlatformAttributeName, cr as localeNumberSeparators, cs as parseAmount, ct as parseContactAddressMeta, cu as parseCurrencyMeta, cv as parseFileMeta, cw as parseRelationMeta, cx as platformAttributes, cy as resolveOptions } from './types-D38dRFU7.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -34,6 +34,15 @@ interface ModelConfig {
|
|
|
34
34
|
max_tokens?: number;
|
|
35
35
|
thinking?: boolean;
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* How an agent's sessions run. `durable` runs them on a provider that keeps a
|
|
39
|
+
* turn going through restarts and gives the session a sandbox (long-running
|
|
40
|
+
* work; Anthropic Managed Agents today). `embedded` runs the loop inside the
|
|
41
|
+
* agent service: replies stream while the model writes them, and there is no
|
|
42
|
+
* sandbox. The value names the kind of runtime, not the vendor behind it, and
|
|
43
|
+
* `embedded` is about where the loop runs, not about where the chat is shown.
|
|
44
|
+
*/
|
|
45
|
+
type AgentRuntime = 'durable' | 'embedded';
|
|
37
46
|
/**
|
|
38
47
|
* A configured persona: a system prompt + model config + the skills, tools,
|
|
39
48
|
* sub-agents and MCP servers it can use. All references are by key (immutable):
|
|
@@ -65,6 +74,14 @@ interface Agent extends AuditFields {
|
|
|
65
74
|
* navigate / open_record.
|
|
66
75
|
*/
|
|
67
76
|
has_workspace: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Keeps per-person memory: the agent remembers how each person likes to work
|
|
79
|
+
* and where their last session left off, as notes in that person's own
|
|
80
|
+
* (personal) knowledge space.
|
|
81
|
+
*/
|
|
82
|
+
has_memory: boolean;
|
|
83
|
+
/** What runs this agent's sessions. A session keeps the runtime it was created with. */
|
|
84
|
+
runtime: AgentRuntime;
|
|
68
85
|
version: number;
|
|
69
86
|
}
|
|
70
87
|
interface CreateAgentRequest {
|
|
@@ -81,6 +98,9 @@ interface CreateAgentRequest {
|
|
|
81
98
|
toolsets?: string[];
|
|
82
99
|
is_org_default?: boolean;
|
|
83
100
|
has_workspace?: boolean;
|
|
101
|
+
has_memory?: boolean;
|
|
102
|
+
/** Defaults to `durable`. */
|
|
103
|
+
runtime?: AgentRuntime;
|
|
84
104
|
}
|
|
85
105
|
interface UpdateAgentRequest {
|
|
86
106
|
name?: string;
|
|
@@ -95,6 +115,8 @@ interface UpdateAgentRequest {
|
|
|
95
115
|
toolsets?: string[];
|
|
96
116
|
is_org_default?: boolean;
|
|
97
117
|
has_workspace?: boolean;
|
|
118
|
+
has_memory?: boolean;
|
|
119
|
+
runtime?: AgentRuntime;
|
|
98
120
|
}
|
|
99
121
|
type ListAgentsOptions = AgentResourceListOptions;
|
|
100
122
|
/**
|
|
@@ -239,6 +261,11 @@ interface Tool extends AuditFields {
|
|
|
239
261
|
kind: ToolKind;
|
|
240
262
|
input_schema: Attribute[];
|
|
241
263
|
binding?: ToolBinding | null;
|
|
264
|
+
/**
|
|
265
|
+
* Whether calling the tool is known to change nothing, so that its call may run
|
|
266
|
+
* alongside others. Set on platform tools the platform marks so; absent otherwise.
|
|
267
|
+
*/
|
|
268
|
+
is_read_only?: boolean;
|
|
242
269
|
version: number;
|
|
243
270
|
}
|
|
244
271
|
interface CreateToolRequest {
|
|
@@ -312,6 +339,12 @@ interface ToolsetToolSummary {
|
|
|
312
339
|
name: string;
|
|
313
340
|
title?: string;
|
|
314
341
|
description?: string;
|
|
342
|
+
/**
|
|
343
|
+
* The platform toolset that serves the tool. Set where the platform's tools
|
|
344
|
+
* are listed together (`toolsets.listPlatformTools`); absent in the list of
|
|
345
|
+
* one toolset, which the request already names.
|
|
346
|
+
*/
|
|
347
|
+
toolset?: string;
|
|
315
348
|
}
|
|
316
349
|
/**
|
|
317
350
|
* Auth config for reaching an MCP server. When `is_secret` is set, the bearer
|
|
@@ -516,6 +549,15 @@ interface Session extends AuditFields {
|
|
|
516
549
|
org_id: string;
|
|
517
550
|
id: string;
|
|
518
551
|
agent_key: string;
|
|
552
|
+
/** What runs this session: the agent's runtime when the session was created. */
|
|
553
|
+
runtime: AgentRuntime;
|
|
554
|
+
/**
|
|
555
|
+
* Set on a delegated session: the session whose agent handed this one its work
|
|
556
|
+
* with the `delegate` tool, and whose log gets a `delegated_session.updated`
|
|
557
|
+
* event when a turn of this one ends. Null for a session a person or a surface
|
|
558
|
+
* opened.
|
|
559
|
+
*/
|
|
560
|
+
parent_session_id: string | null;
|
|
519
561
|
title: string;
|
|
520
562
|
status: SessionStatus;
|
|
521
563
|
usage: SessionUsage;
|
|
@@ -526,11 +568,14 @@ interface Session extends AuditFields {
|
|
|
526
568
|
}
|
|
527
569
|
/**
|
|
528
570
|
* The discriminant of a {@link SessionEvent} — it selects which payload shape the
|
|
529
|
-
* event carries.
|
|
530
|
-
*
|
|
571
|
+
* event carries. These are the WHOLE events of the stored log; the chunk frames
|
|
572
|
+
* of an event still being written are {@link DeltaEventType}.
|
|
573
|
+
*/
|
|
574
|
+
type EventType = 'user.message' | 'user.interrupt' | 'user.tool_confirmation' | 'user.tool_result' | 'user.speech' | 'user.voice_request' | 'agent.message' | 'agent.speech' | 'agent.reasoning' | 'agent.tool_use' | 'agent.tool_result' | 'agent.context_compacted' | 'agent.artifacts' | 'session.status_running' | 'session.status_idle' | 'session.status_terminated' | 'session.status_ended' | 'session.error' | 'session.updated' | 'session.voice_started' | 'session.voice_ended' | 'delegated_session.updated' | 'span.model_request_start' | 'span.model_request_end';
|
|
575
|
+
/**
|
|
576
|
+
* The client-postable subset (everything else is produced by the runtime). The
|
|
577
|
+
* voice events are written by the voice routes, never posted as events.
|
|
531
578
|
*/
|
|
532
|
-
type EventType = 'user.message' | 'user.interrupt' | 'user.tool_confirmation' | 'user.tool_result' | 'agent.message' | 'agent.reasoning' | 'agent.tool_use' | 'agent.tool_result' | 'agent.context_compacted' | 'agent.artifacts' | 'session.status_running' | 'session.status_idle' | 'session.status_terminated' | 'session.status_ended' | 'session.error' | 'session.updated' | 'span.model_request_start' | 'span.model_request_end';
|
|
533
|
-
/** The client-postable subset (everything else is produced by the runtime). */
|
|
534
579
|
type ClientEventType = 'user.message' | 'user.interrupt' | 'user.tool_confirmation' | 'user.tool_result';
|
|
535
580
|
/** A plain text block. Agent messages are text-only. */
|
|
536
581
|
interface TextBlock {
|
|
@@ -570,8 +615,10 @@ interface ResultBlock {
|
|
|
570
615
|
* A user message body (text + file blocks). `context` is what the launching
|
|
571
616
|
* surface hands the model alongside the message (a call's summary and linked
|
|
572
617
|
* records, say): stored with the event, sent to the model as an extra text
|
|
573
|
-
* block, never rendered as part of the person's message.
|
|
574
|
-
*
|
|
618
|
+
* block, never rendered as part of the person's message. On the first message
|
|
619
|
+
* of a session whose agent has memory, the service appends the owner's memory
|
|
620
|
+
* block to it. Not for secrets: everyone who can read the session reads it back
|
|
621
|
+
* through the events API.
|
|
575
622
|
*/
|
|
576
623
|
interface UserMessagePayload {
|
|
577
624
|
content: ContentBlock$1[];
|
|
@@ -591,11 +638,13 @@ interface AgentArtifactsPayload {
|
|
|
591
638
|
}
|
|
592
639
|
/**
|
|
593
640
|
* An agent reasoning ("thinking") block. v1 whole-events carry no text/signature
|
|
594
|
-
* from the provider, so both are typically empty.
|
|
641
|
+
* from the provider, so both are typically empty. `signature` is opaque: it
|
|
642
|
+
* means something only to the model `provider` that wrote the block.
|
|
595
643
|
*/
|
|
596
644
|
interface ReasoningPayload {
|
|
597
645
|
text: string;
|
|
598
646
|
signature?: string;
|
|
647
|
+
provider?: string;
|
|
599
648
|
}
|
|
600
649
|
/**
|
|
601
650
|
* A tool invocation. `id` is the provider's tool_use event id — the correlation
|
|
@@ -606,8 +655,17 @@ interface ToolUsePayload {
|
|
|
606
655
|
id: string;
|
|
607
656
|
name: string;
|
|
608
657
|
input: unknown;
|
|
609
|
-
tool_kind:
|
|
658
|
+
tool_kind: SessionToolKind;
|
|
610
659
|
}
|
|
660
|
+
/**
|
|
661
|
+
* Where a tool a session's agent called is run. Besides the kinds a registered
|
|
662
|
+
* tool can have ({@link ToolKind}), a session whose agent can delegate has the
|
|
663
|
+
* `delegation` tools (`delegate`, `list_delegated_sessions`, …), which the agent
|
|
664
|
+
* service runs itself and which cannot be registered. Every agent also has the
|
|
665
|
+
* `system` tools (`new_phase`), which the agent service answers itself and which
|
|
666
|
+
* cannot be registered either.
|
|
667
|
+
*/
|
|
668
|
+
type SessionToolKind = ToolKind | 'delegation' | 'system';
|
|
611
669
|
/** The result of a tool invocation, linked to its use by `tool_use_id`. */
|
|
612
670
|
interface ToolResultPayload {
|
|
613
671
|
tool_use_id: string;
|
|
@@ -621,9 +679,15 @@ interface ToolConfirmationPayload {
|
|
|
621
679
|
/** "approved" | "denied" (open string for forward-compat). */
|
|
622
680
|
decision: string;
|
|
623
681
|
}
|
|
624
|
-
/**
|
|
682
|
+
/**
|
|
683
|
+
* Announces that earlier context was summarized. On the embedded runtime the
|
|
684
|
+
* agent continues from `summary` in place of the events up to and including seq
|
|
685
|
+
* `through_seq`; the events themselves stay in the log. A durable session's
|
|
686
|
+
* provider compacts on its own and sets neither.
|
|
687
|
+
*/
|
|
625
688
|
interface ContextCompactedPayload {
|
|
626
689
|
summary: string;
|
|
690
|
+
through_seq?: number;
|
|
627
691
|
}
|
|
628
692
|
/** A session-level error. */
|
|
629
693
|
interface ErrorPayload {
|
|
@@ -632,7 +696,9 @@ interface ErrorPayload {
|
|
|
632
696
|
}
|
|
633
697
|
/**
|
|
634
698
|
* Why a turn went idle. `type` is an open string ("turn_ended" |
|
|
635
|
-
* "user_action_required" | …) so new provider reasons don't
|
|
699
|
+
* "user_action_required" | "budget_reached" | …) so new provider reasons don't
|
|
700
|
+
* break decoding. "budget_reached": the session used up the spend ceiling it was
|
|
701
|
+
* created with; a message sent to it is refused (409 `session_budget_reached`).
|
|
636
702
|
*/
|
|
637
703
|
interface StopReason {
|
|
638
704
|
type: string;
|
|
@@ -659,6 +725,78 @@ interface SessionIdlePayload {
|
|
|
659
725
|
interface SessionUpdatedPayload {
|
|
660
726
|
title?: string;
|
|
661
727
|
}
|
|
728
|
+
/** A tool call a session is waiting on: what it asks, for whoever answers it. */
|
|
729
|
+
interface AwaitingToolUse {
|
|
730
|
+
tool_use_id: string;
|
|
731
|
+
name: string;
|
|
732
|
+
input: unknown;
|
|
733
|
+
}
|
|
734
|
+
/**
|
|
735
|
+
* Where a delegated session stands at the end of one of its turns, written to the
|
|
736
|
+
* log of the session that delegated to it (see {@link Session.parent_session_id}).
|
|
737
|
+
*
|
|
738
|
+
* `status` is the delegated session's status at that moment. `stop_reason` is set
|
|
739
|
+
* only with status `idle`: `turn_ended`, or `user_action_required` when it waits
|
|
740
|
+
* for an answer, in which case `awaiting_tool_uses` lists the calls it waits on.
|
|
741
|
+
* `summary` is the last thing its agent wrote, cut to a bound; the whole
|
|
742
|
+
* conversation is in the delegated session. `is_stopped_by_parent` is true when
|
|
743
|
+
* the delegating agent interrupted the turn itself. `is_handed_back` is true when
|
|
744
|
+
* the person was talking to the delegated agent in its session and that agent
|
|
745
|
+
* handed them back (the `hand_back_session` client tool); `summary` is then what
|
|
746
|
+
* the agent gave the delegating agent with that call, when it gave one.
|
|
747
|
+
*/
|
|
748
|
+
interface DelegatedSessionUpdatedPayload {
|
|
749
|
+
session_id: string;
|
|
750
|
+
agent_key: string;
|
|
751
|
+
title: string;
|
|
752
|
+
status: SessionStatus;
|
|
753
|
+
stop_reason?: StopReason;
|
|
754
|
+
awaiting_tool_uses?: AwaitingToolUse[];
|
|
755
|
+
is_stopped_by_parent?: boolean;
|
|
756
|
+
is_handed_back?: boolean;
|
|
757
|
+
summary: string;
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* One utterance of a voice session, of the person (`user.speech`) or of the voice
|
|
761
|
+
* assistant (`agent.speech`): the text as the voice provider transcribed it, and
|
|
762
|
+
* when it was said, in milliseconds from the start of the voice session. Speech
|
|
763
|
+
* starts no turn; the agent reads it with what opens the next one.
|
|
764
|
+
*/
|
|
765
|
+
interface SpeechPayload {
|
|
766
|
+
voice_session_id: string;
|
|
767
|
+
text: string;
|
|
768
|
+
start_ms: number;
|
|
769
|
+
end_ms: number;
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* The voice assistant handing what the person asked for to the agent: it starts a
|
|
773
|
+
* turn, or is queued behind the one that runs, like a `user.message`. The request
|
|
774
|
+
* itself is the speech before the event.
|
|
775
|
+
*/
|
|
776
|
+
interface VoiceRequestPayload {
|
|
777
|
+
voice_session_id: string;
|
|
778
|
+
/** The voice model's delegation the request is of, as the page reported it.
|
|
779
|
+
* The page speaks the turn's answer as that delegation's result. */
|
|
780
|
+
delegation_id?: string;
|
|
781
|
+
/** Model-only text the page sent with the request; never rendered. */
|
|
782
|
+
context?: string;
|
|
783
|
+
}
|
|
784
|
+
/** Voice was entered on the session. */
|
|
785
|
+
interface VoiceStartedPayload {
|
|
786
|
+
voice_session_id: string;
|
|
787
|
+
}
|
|
788
|
+
/** Why a voice session ended. `superseded` is never reported by a page. */
|
|
789
|
+
type VoiceEndReason = 'user' | 'idle' | 'max_duration' | 'session_ended' | 'browser_left' | 'provider_closed' | 'superseded';
|
|
790
|
+
/**
|
|
791
|
+
* Voice was left: why, and how long the voice session lasted: what the voice
|
|
792
|
+
* provider says, or the time since voice was entered when the page went away
|
|
793
|
+
* without it (null when nobody learned it).
|
|
794
|
+
*/
|
|
795
|
+
interface VoiceEndedPayload {
|
|
796
|
+
voice_session_id: string;
|
|
797
|
+
end_reason: VoiceEndReason;
|
|
798
|
+
duration_seconds: number | null;
|
|
799
|
+
}
|
|
662
800
|
/** Opens a model-request span. */
|
|
663
801
|
interface ModelRequestStartPayload {
|
|
664
802
|
model_id: string;
|
|
@@ -674,9 +812,17 @@ interface ModelUsage {
|
|
|
674
812
|
interface ModelRequestEndPayload {
|
|
675
813
|
model_usage: ModelUsage;
|
|
676
814
|
}
|
|
815
|
+
/**
|
|
816
|
+
* Opens a turn. `acting_user_id` is the person the turn's tools run as, which is
|
|
817
|
+
* not always the author of the message that opened it (a message an agent posts
|
|
818
|
+
* to a session it delegated to). Absent on turns started before it was recorded.
|
|
819
|
+
*/
|
|
820
|
+
interface SessionRunningPayload {
|
|
821
|
+
acting_user_id?: string;
|
|
822
|
+
}
|
|
677
823
|
/**
|
|
678
824
|
* The body of events that carry no fields (`user.interrupt`,
|
|
679
|
-
* `session.
|
|
825
|
+
* `session.status_terminated`, `session.status_ended`).
|
|
680
826
|
*/
|
|
681
827
|
type EmptyPayload = Record<string, never>;
|
|
682
828
|
/** Shared envelope fields carried by every {@link SessionEvent}. */
|
|
@@ -711,9 +857,18 @@ type SessionEvent = SessionEventEnvelope & ({
|
|
|
711
857
|
} | {
|
|
712
858
|
type: 'user.tool_result';
|
|
713
859
|
payload: ToolResultPayload;
|
|
860
|
+
} | {
|
|
861
|
+
type: 'user.speech';
|
|
862
|
+
payload: SpeechPayload;
|
|
863
|
+
} | {
|
|
864
|
+
type: 'user.voice_request';
|
|
865
|
+
payload: VoiceRequestPayload;
|
|
714
866
|
} | {
|
|
715
867
|
type: 'agent.message';
|
|
716
868
|
payload: AgentMessagePayload;
|
|
869
|
+
} | {
|
|
870
|
+
type: 'agent.speech';
|
|
871
|
+
payload: SpeechPayload;
|
|
717
872
|
} | {
|
|
718
873
|
type: 'agent.reasoning';
|
|
719
874
|
payload: ReasoningPayload;
|
|
@@ -731,7 +886,7 @@ type SessionEvent = SessionEventEnvelope & ({
|
|
|
731
886
|
payload: AgentArtifactsPayload;
|
|
732
887
|
} | {
|
|
733
888
|
type: 'session.status_running';
|
|
734
|
-
payload:
|
|
889
|
+
payload: SessionRunningPayload;
|
|
735
890
|
} | {
|
|
736
891
|
type: 'session.status_idle';
|
|
737
892
|
payload: SessionIdlePayload;
|
|
@@ -747,6 +902,15 @@ type SessionEvent = SessionEventEnvelope & ({
|
|
|
747
902
|
} | {
|
|
748
903
|
type: 'session.updated';
|
|
749
904
|
payload: SessionUpdatedPayload;
|
|
905
|
+
} | {
|
|
906
|
+
type: 'session.voice_started';
|
|
907
|
+
payload: VoiceStartedPayload;
|
|
908
|
+
} | {
|
|
909
|
+
type: 'session.voice_ended';
|
|
910
|
+
payload: VoiceEndedPayload;
|
|
911
|
+
} | {
|
|
912
|
+
type: 'delegated_session.updated';
|
|
913
|
+
payload: DelegatedSessionUpdatedPayload;
|
|
750
914
|
} | {
|
|
751
915
|
type: 'span.model_request_start';
|
|
752
916
|
payload: ModelRequestStartPayload;
|
|
@@ -807,6 +971,93 @@ interface AppendEventRequest {
|
|
|
807
971
|
* Omitted, the session's tools are left as they are.
|
|
808
972
|
*/
|
|
809
973
|
client_tools?: ClientToolSchema[];
|
|
974
|
+
/**
|
|
975
|
+
* Refuse a `user.message` posted while a turn runs with 409 `session_running`
|
|
976
|
+
* instead of queueing it. Queueing is the default: the running turn reads the
|
|
977
|
+
* message with its next tool results where the runtime allows, and it opens the
|
|
978
|
+
* session's next turn otherwise. For a caller that pairs each message with the
|
|
979
|
+
* turn it starts and would rather retry later.
|
|
980
|
+
*/
|
|
981
|
+
reject_if_running?: boolean;
|
|
982
|
+
}
|
|
983
|
+
/**
|
|
984
|
+
* One time a person talked to a session's agent through the voice assistant. The
|
|
985
|
+
* assistant listens and speaks; what was said is in the session's event log
|
|
986
|
+
* (`user.speech`, `agent.speech`) and everything asked for runs as turns of the
|
|
987
|
+
* session. A session has at most one active voice session.
|
|
988
|
+
*/
|
|
989
|
+
interface VoiceSession {
|
|
990
|
+
id: string;
|
|
991
|
+
org_id: string;
|
|
992
|
+
session_id: string;
|
|
993
|
+
status: 'active' | 'ended';
|
|
994
|
+
/** Null while it is active. */
|
|
995
|
+
end_reason: VoiceEndReason | null;
|
|
996
|
+
/** How long it lasted: what the voice provider says, or the time since voice
|
|
997
|
+
* was entered when the page went away without it. Null when not known. */
|
|
998
|
+
duration_seconds: number | null;
|
|
999
|
+
created_by: UserRef$2;
|
|
1000
|
+
created_at: string;
|
|
1001
|
+
ended_at: string | null;
|
|
1002
|
+
}
|
|
1003
|
+
/** Enters voice on a session with the WebRTC offer of the page's peer connection. */
|
|
1004
|
+
interface StartVoiceRequest {
|
|
1005
|
+
sdp_offer: string;
|
|
1006
|
+
}
|
|
1007
|
+
/**
|
|
1008
|
+
* The voice session that started, the voice provider's answer to the page's offer,
|
|
1009
|
+
* and the limits the page enforces by leaving voice.
|
|
1010
|
+
*/
|
|
1011
|
+
interface StartVoiceResponse {
|
|
1012
|
+
voice_session: VoiceSession;
|
|
1013
|
+
sdp_answer: string;
|
|
1014
|
+
/** How long nobody may speak before the page leaves voice. */
|
|
1015
|
+
idle_timeout_seconds: number;
|
|
1016
|
+
/** How long a voice session may last at most. */
|
|
1017
|
+
max_duration_seconds: number;
|
|
1018
|
+
}
|
|
1019
|
+
/** One finished utterance as the page heard it from the voice provider. */
|
|
1020
|
+
interface SpeechSegment {
|
|
1021
|
+
speaker: 'user' | 'agent';
|
|
1022
|
+
text: string;
|
|
1023
|
+
/** Milliseconds from the start of the voice session. */
|
|
1024
|
+
start_ms: number;
|
|
1025
|
+
end_ms: number;
|
|
1026
|
+
}
|
|
1027
|
+
/**
|
|
1028
|
+
* Reports what was said in the session's active voice session since the last
|
|
1029
|
+
* report, in the order said. `starts_turn` says the voice assistant handed a
|
|
1030
|
+
* request over: after the segments a `user.voice_request` starts a turn, or is
|
|
1031
|
+
* queued behind the one that runs. `client_tools` is honoured with `starts_turn`
|
|
1032
|
+
* only (see {@link AppendEventRequest.client_tools}). `voice_session_id` is the
|
|
1033
|
+
* voice session the page started: a report for one that was replaced since (the
|
|
1034
|
+
* same person entered voice again, in another tab) is refused with 409
|
|
1035
|
+
* `voice_session_not_active`.
|
|
1036
|
+
*/
|
|
1037
|
+
interface AppendSpeechRequest {
|
|
1038
|
+
voice_session_id: string;
|
|
1039
|
+
segments: SpeechSegment[];
|
|
1040
|
+
starts_turn?: boolean;
|
|
1041
|
+
/** The voice model's delegation the request is of, with `starts_turn` only.
|
|
1042
|
+
* A request is written once per delegation, however often it is reported. */
|
|
1043
|
+
delegation_id?: string;
|
|
1044
|
+
client_tools?: ClientToolSchema[];
|
|
1045
|
+
/** Model-only text for the request, with `starts_turn` only (see
|
|
1046
|
+
* {@link UserMessagePayload.context}). */
|
|
1047
|
+
context?: string;
|
|
1048
|
+
}
|
|
1049
|
+
/**
|
|
1050
|
+
* Leaves voice: why, and how long the voice provider says the session lasted (it
|
|
1051
|
+
* tells the page when the session closes). `voice_session_id` is the voice
|
|
1052
|
+
* session the page started (see {@link AppendSpeechRequest}).
|
|
1053
|
+
*/
|
|
1054
|
+
interface EndVoiceRequest {
|
|
1055
|
+
voice_session_id: string;
|
|
1056
|
+
end_reason: Exclude<VoiceEndReason, 'superseded'>;
|
|
1057
|
+
duration_seconds?: number | null;
|
|
1058
|
+
/** What was said since the last speech report: a page that is being closed
|
|
1059
|
+
* has one request left to send. */
|
|
1060
|
+
segments?: SpeechSegment[];
|
|
810
1061
|
}
|
|
811
1062
|
/** List filter for sessions (in addition to pagination/sorting). */
|
|
812
1063
|
interface ListSessionsOptions extends ListOptions {
|
|
@@ -821,6 +1072,8 @@ interface ListSessionsOptions extends ListOptions {
|
|
|
821
1072
|
* It narrows what the caller may see and never widens it.
|
|
822
1073
|
*/
|
|
823
1074
|
created_by?: string;
|
|
1075
|
+
/** Keep the sessions one session delegated to. */
|
|
1076
|
+
parent_session_id?: string;
|
|
824
1077
|
}
|
|
825
1078
|
/**
|
|
826
1079
|
* Forward cursor over the durable event log. `after_seq` is the exclusive lower
|
|
@@ -841,6 +1094,92 @@ interface SessionStreamOptions {
|
|
|
841
1094
|
/** Abort to tear the stream down. */
|
|
842
1095
|
signal?: AbortSignal;
|
|
843
1096
|
}
|
|
1097
|
+
/**
|
|
1098
|
+
* The chunk frames of the three long agent events, sent on the delta channel
|
|
1099
|
+
* while the model writes the event: the whole event's type plus `.start`,
|
|
1100
|
+
* `.delta` or `.end`. Frames are never stored and never posted by a client.
|
|
1101
|
+
*/
|
|
1102
|
+
type DeltaEventType = 'agent.message.start' | 'agent.message.delta' | 'agent.message.end' | 'agent.reasoning.start' | 'agent.reasoning.delta' | 'agent.reasoning.end' | 'agent.tool_use.start' | 'agent.tool_use.delta' | 'agent.tool_use.end';
|
|
1103
|
+
/** Opens or closes the frames of one content part. */
|
|
1104
|
+
interface DeltaBoundaryPayload {
|
|
1105
|
+
part_index: number;
|
|
1106
|
+
}
|
|
1107
|
+
/** The next piece of a message's text. Append the pieces in order. */
|
|
1108
|
+
interface MessageDeltaPayload {
|
|
1109
|
+
part_index: number;
|
|
1110
|
+
text: string;
|
|
1111
|
+
}
|
|
1112
|
+
/** The next piece of the reasoning text, or the signature that closes it. */
|
|
1113
|
+
interface ReasoningDeltaPayload {
|
|
1114
|
+
part_index: number;
|
|
1115
|
+
text?: string;
|
|
1116
|
+
signature?: string;
|
|
1117
|
+
}
|
|
1118
|
+
/** A tool call is known by id, name and kind before its input has been written. */
|
|
1119
|
+
interface ToolUseStartPayload {
|
|
1120
|
+
part_index: number;
|
|
1121
|
+
id: string;
|
|
1122
|
+
name: string;
|
|
1123
|
+
tool_kind: SessionToolKind;
|
|
1124
|
+
}
|
|
1125
|
+
/** The next piece of a tool call's input, as JSON text. */
|
|
1126
|
+
interface ToolUseDeltaPayload {
|
|
1127
|
+
part_index: number;
|
|
1128
|
+
partial_json: string;
|
|
1129
|
+
}
|
|
1130
|
+
/**
|
|
1131
|
+
* One chunk frame. It uses the envelope of the whole event it belongs to: `id`
|
|
1132
|
+
* and `turn_id` are that event's, so a client builds a draft from the frames and
|
|
1133
|
+
* drops it when the whole event with the same `id` arrives. `seq` is 0 — a frame
|
|
1134
|
+
* has no place in the log.
|
|
1135
|
+
*/
|
|
1136
|
+
type SessionDeltaFrame = SessionEventEnvelope & ({
|
|
1137
|
+
type: 'agent.message.start';
|
|
1138
|
+
payload: DeltaBoundaryPayload;
|
|
1139
|
+
} | {
|
|
1140
|
+
type: 'agent.message.delta';
|
|
1141
|
+
payload: MessageDeltaPayload;
|
|
1142
|
+
} | {
|
|
1143
|
+
type: 'agent.message.end';
|
|
1144
|
+
payload: DeltaBoundaryPayload;
|
|
1145
|
+
} | {
|
|
1146
|
+
type: 'agent.reasoning.start';
|
|
1147
|
+
payload: DeltaBoundaryPayload;
|
|
1148
|
+
} | {
|
|
1149
|
+
type: 'agent.reasoning.delta';
|
|
1150
|
+
payload: ReasoningDeltaPayload;
|
|
1151
|
+
} | {
|
|
1152
|
+
type: 'agent.reasoning.end';
|
|
1153
|
+
payload: DeltaBoundaryPayload;
|
|
1154
|
+
} | {
|
|
1155
|
+
type: 'agent.tool_use.start';
|
|
1156
|
+
payload: ToolUseStartPayload;
|
|
1157
|
+
} | {
|
|
1158
|
+
type: 'agent.tool_use.delta';
|
|
1159
|
+
payload: ToolUseDeltaPayload;
|
|
1160
|
+
} | {
|
|
1161
|
+
type: 'agent.tool_use.end';
|
|
1162
|
+
payload: DeltaBoundaryPayload;
|
|
1163
|
+
});
|
|
1164
|
+
/**
|
|
1165
|
+
* One entry of the delta channel: a whole event of the log, or a chunk frame of
|
|
1166
|
+
* the event being written after it. `position` is the entry's place on the
|
|
1167
|
+
* channel, `<seq>-<n>`: a whole event is `<seq>-0`, the frames after it count up
|
|
1168
|
+
* from 1. Pass it back as {@link SessionDeltaStreamOptions.after} to resume.
|
|
1169
|
+
*/
|
|
1170
|
+
interface SessionDeltaEntry {
|
|
1171
|
+
position: string;
|
|
1172
|
+
event: SessionEvent | SessionDeltaFrame;
|
|
1173
|
+
}
|
|
1174
|
+
/** Options for opening the live delta stream. */
|
|
1175
|
+
interface SessionDeltaStreamOptions {
|
|
1176
|
+
/** Replay from here (exclusive) before following live: a position, or a bare seq. */
|
|
1177
|
+
after?: string | number;
|
|
1178
|
+
/** Abort to tear the stream down. */
|
|
1179
|
+
signal?: AbortSignal;
|
|
1180
|
+
}
|
|
1181
|
+
/** Whether an entry of the delta channel is a chunk frame, not a whole event. */
|
|
1182
|
+
declare function isDeltaFrame(event: SessionEvent | SessionDeltaFrame): event is SessionDeltaFrame;
|
|
844
1183
|
|
|
845
1184
|
/**
|
|
846
1185
|
* Types for the stateless model endpoints of the Proteos Agent Service API —
|
|
@@ -852,6 +1191,22 @@ interface SessionStreamOptions {
|
|
|
852
1191
|
* exactly, including enum values.
|
|
853
1192
|
*/
|
|
854
1193
|
|
|
1194
|
+
/**
|
|
1195
|
+
* The model provider that serves a model. An open string so a provider added
|
|
1196
|
+
* server-side never breaks decoding.
|
|
1197
|
+
*/
|
|
1198
|
+
type ModelProviderName = 'anthropic' | 'openai' | 'google' | (string & {});
|
|
1199
|
+
/** One model an agent can be configured with (`GET /agents/v1/models`). */
|
|
1200
|
+
interface ModelInfo {
|
|
1201
|
+
/** The id an agent's `model_config.model_id` takes. */
|
|
1202
|
+
id: string;
|
|
1203
|
+
name: string;
|
|
1204
|
+
provider: ModelProviderName;
|
|
1205
|
+
/** The runtimes an agent with this model can run on. */
|
|
1206
|
+
runtimes: AgentRuntime[];
|
|
1207
|
+
/** Tokens one request can hold, input and output together. Absent when unknown. */
|
|
1208
|
+
context_window?: number;
|
|
1209
|
+
}
|
|
855
1210
|
/**
|
|
856
1211
|
* Why the model stopped generating. An open string so a new provider reason
|
|
857
1212
|
* never breaks decoding; the key distinction is `end_turn` (complete) vs
|
|
@@ -1005,18 +1360,25 @@ interface DecisionResult<Questions extends DecisionQuestions = DecisionQuestions
|
|
|
1005
1360
|
}
|
|
1006
1361
|
|
|
1007
1362
|
/**
|
|
1008
|
-
* Service for the stateless model calls — one request in,
|
|
1009
|
-
* session, no event log:
|
|
1363
|
+
* Service for the model catalog and the stateless model calls — one request in,
|
|
1364
|
+
* one reply out, no session, no event log:
|
|
1010
1365
|
*
|
|
1366
|
+
* - `list` — the models an agent can be configured with. Needs `agents:read`.
|
|
1011
1367
|
* - `generate` — free text or schema-constrained structured output from an LLM.
|
|
1012
1368
|
* - `decide` — calibrated typed answers (boolean | choice | score) with
|
|
1013
1369
|
* probabilities and confidence, for snap judgments inside code paths
|
|
1014
1370
|
* (routing, triage, classification, gates). No prose comes back; compose the
|
|
1015
1371
|
* answers in code and threshold on `confidence`.
|
|
1016
1372
|
*
|
|
1017
|
-
*
|
|
1373
|
+
* `generate` and `decide` need the `agent-sessions:write` permission.
|
|
1018
1374
|
*/
|
|
1019
1375
|
interface ModelService {
|
|
1376
|
+
/**
|
|
1377
|
+
* Lists the models an agent can be configured with: those of the model
|
|
1378
|
+
* providers the service has credentials for, each provider's newest first.
|
|
1379
|
+
* `runtimes` says which agent runtimes can run a model.
|
|
1380
|
+
*/
|
|
1381
|
+
list(): Promise<ModelInfo[]>;
|
|
1020
1382
|
/**
|
|
1021
1383
|
* Runs a single model call and returns the assistant message.
|
|
1022
1384
|
* @throws {ProteosError} 400 `invalid_generation_request` / `unsupported_file_type` /
|
|
@@ -1105,6 +1467,15 @@ interface SessionService {
|
|
|
1105
1467
|
* follows live; reconnects resume gap-free. Runs until the `AbortSignal` fires.
|
|
1106
1468
|
*/
|
|
1107
1469
|
stream(id: string, options?: SessionStreamOptions): AsyncGenerator<SessionEvent, void, unknown>;
|
|
1470
|
+
/**
|
|
1471
|
+
* Live-tails the session's delta channel over SSE: every whole event
|
|
1472
|
+
* {@link stream} carries, and between them the chunk frames of the message,
|
|
1473
|
+
* reasoning or tool call the agent is writing — what a chat renders from while
|
|
1474
|
+
* a reply is in progress. Replays from `after` (exclusive) then follows live;
|
|
1475
|
+
* reconnects resume from the last entry received. Runs until the `AbortSignal`
|
|
1476
|
+
* fires. Tell the two kinds of entry apart with `isDeltaFrame`.
|
|
1477
|
+
*/
|
|
1478
|
+
streamDelta(id: string, options?: SessionDeltaStreamOptions): AsyncGenerator<SessionDeltaEntry, void, unknown>;
|
|
1108
1479
|
/**
|
|
1109
1480
|
* Convenience: appends a `user.message` with a single text block. Pass
|
|
1110
1481
|
* `turnId` (a UUID) to supply the turn's id so the caller can render the
|
|
@@ -1119,7 +1490,9 @@ interface SessionService {
|
|
|
1119
1490
|
* `text` / `files` should be present. `context` rides the payload for the model
|
|
1120
1491
|
* only (see {@link UserMessagePayload.context}). `clientTools` attaches the
|
|
1121
1492
|
* sending surface's client tools to a session it did not create (see
|
|
1122
|
-
* {@link AppendEventRequest.client_tools}).
|
|
1493
|
+
* {@link AppendEventRequest.client_tools}). A message to a session whose turn
|
|
1494
|
+
* runs is queued for the model; `rejectIfRunning` asks for the 409 instead (see
|
|
1495
|
+
* {@link AppendEventRequest.reject_if_running}).
|
|
1123
1496
|
*/
|
|
1124
1497
|
sendUserMessage(id: string, input: {
|
|
1125
1498
|
text?: string;
|
|
@@ -1127,6 +1500,7 @@ interface SessionService {
|
|
|
1127
1500
|
turnId?: string;
|
|
1128
1501
|
context?: string;
|
|
1129
1502
|
clientTools?: ClientToolSchema[];
|
|
1503
|
+
rejectIfRunning?: boolean;
|
|
1130
1504
|
}): Promise<SessionEvent>;
|
|
1131
1505
|
/** Convenience: appends a `user.interrupt` to halt the running turn. */
|
|
1132
1506
|
interrupt(id: string): Promise<SessionEvent>;
|
|
@@ -1148,6 +1522,30 @@ interface SessionService {
|
|
|
1148
1522
|
result: ResultBlock[];
|
|
1149
1523
|
outcome?: 'success' | 'error';
|
|
1150
1524
|
}): Promise<SessionEvent>;
|
|
1525
|
+
/**
|
|
1526
|
+
* Enters voice on a session: sends the WebRTC offer of the page's peer
|
|
1527
|
+
* connection and returns the voice provider's answer, so the page never holds
|
|
1528
|
+
* the provider's key. The page drives the voice session from then on, reports
|
|
1529
|
+
* what is said with {@link appendSpeech}, and leaves with {@link endVoice}. A
|
|
1530
|
+
* voice session still active on the session is ended first.
|
|
1531
|
+
* @throws {ProteosError} 409 `voice_not_supported` when the session cannot be
|
|
1532
|
+
* talked to by voice; 501 `voice_disabled`; 502 `voice_provider_failed`.
|
|
1533
|
+
*/
|
|
1534
|
+
startVoice(id: string, request: StartVoiceRequest): Promise<StartVoiceResponse>;
|
|
1535
|
+
/**
|
|
1536
|
+
* Reports what was said in the session's active voice session and returns the
|
|
1537
|
+
* events written. With `starts_turn` the last of them is the
|
|
1538
|
+
* `user.voice_request` that starts a turn.
|
|
1539
|
+
* @throws {ProteosError} 409 `voice_session_not_active`.
|
|
1540
|
+
*/
|
|
1541
|
+
appendSpeech(id: string, request: AppendSpeechRequest, requestOptions?: RequestOptions): Promise<SessionEvent[]>;
|
|
1542
|
+
/**
|
|
1543
|
+
* Leaves voice. Closing the connection to the voice provider is the page's job.
|
|
1544
|
+
* A page that is being closed passes `keepalive` so its last report and its
|
|
1545
|
+
* end still arrive.
|
|
1546
|
+
* @throws {ProteosError} 409 `voice_session_not_active`.
|
|
1547
|
+
*/
|
|
1548
|
+
endVoice(id: string, request: EndVoiceRequest, requestOptions?: RequestOptions): Promise<VoiceSession>;
|
|
1151
1549
|
}
|
|
1152
1550
|
|
|
1153
1551
|
/**
|
|
@@ -1243,6 +1641,14 @@ interface ToolsetService {
|
|
|
1243
1641
|
* @throws {ProteosError} 404.
|
|
1244
1642
|
*/
|
|
1245
1643
|
listTools(key: string): Promise<ToolsetToolSummary[]>;
|
|
1644
|
+
/**
|
|
1645
|
+
* Lists every platform tool once, each with the platform toolset that serves
|
|
1646
|
+
* it. An agent may list any of these names in its `tools` as it is: no Tool
|
|
1647
|
+
* of that key is needed. A Tool the org saves under the same key replaces the
|
|
1648
|
+
* platform tool for its agents. A name several toolsets serve is the first
|
|
1649
|
+
* one's, in the order `list({ kind: 'platform' })` returns them.
|
|
1650
|
+
*/
|
|
1651
|
+
listPlatformTools(): Promise<ToolsetToolSummary[]>;
|
|
1246
1652
|
/** Creates a custom toolset. @throws {ProteosError} 400/409. */
|
|
1247
1653
|
create(request: CreateToolsetRequest): Promise<Toolset>;
|
|
1248
1654
|
/** Fully replaces a custom toolset's definition. @throws {ProteosError} 404/400. */
|
|
@@ -1689,6 +2095,14 @@ interface Profile extends AuditFields {
|
|
|
1689
2095
|
default_app_slug: string;
|
|
1690
2096
|
/** App-switcher allowlist; empty = every app in the org. */
|
|
1691
2097
|
app_slugs: string[];
|
|
2098
|
+
/**
|
|
2099
|
+
* Platform-feature allowlist: the areas (`config`, `reports`, `knowledge`,
|
|
2100
|
+
* `calendar`, `conversations_own`, `conversations_all`) and Configuration
|
|
2101
|
+
* parts (`config_<part>`) the profile shows; empty = every feature,
|
|
2102
|
+
* `['none']` = no feature (apps only; `none` cannot be combined). Stored
|
|
2103
|
+
* canonical: `conversations_all` ⇒ `conversations_own`, `config_*` ⇒ `config`.
|
|
2104
|
+
*/
|
|
2105
|
+
platform_features: string[];
|
|
1692
2106
|
}
|
|
1693
2107
|
declare const ProfileSchema: z.ZodObject<{
|
|
1694
2108
|
created_at: z.ZodString;
|
|
@@ -1721,6 +2135,7 @@ declare const ProfileSchema: z.ZodObject<{
|
|
|
1721
2135
|
module_slug: z.ZodString;
|
|
1722
2136
|
default_app_slug: z.ZodString;
|
|
1723
2137
|
app_slugs: z.ZodArray<z.ZodString, "many">;
|
|
2138
|
+
platform_features: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1724
2139
|
}, "strip", z.ZodTypeAny, {
|
|
1725
2140
|
name: string;
|
|
1726
2141
|
created_at: string;
|
|
@@ -1739,6 +2154,7 @@ declare const ProfileSchema: z.ZodObject<{
|
|
|
1739
2154
|
org_id: string;
|
|
1740
2155
|
default_app_slug: string;
|
|
1741
2156
|
app_slugs: string[];
|
|
2157
|
+
platform_features: string[];
|
|
1742
2158
|
}, {
|
|
1743
2159
|
name: string;
|
|
1744
2160
|
created_at: string;
|
|
@@ -1757,6 +2173,7 @@ declare const ProfileSchema: z.ZodObject<{
|
|
|
1757
2173
|
org_id: string;
|
|
1758
2174
|
default_app_slug: string;
|
|
1759
2175
|
app_slugs: string[];
|
|
2176
|
+
platform_features?: string[] | undefined;
|
|
1760
2177
|
}>;
|
|
1761
2178
|
interface CreateProfileRequest {
|
|
1762
2179
|
slug: string;
|
|
@@ -1765,6 +2182,7 @@ interface CreateProfileRequest {
|
|
|
1765
2182
|
module_slug?: string;
|
|
1766
2183
|
default_app_slug?: string;
|
|
1767
2184
|
app_slugs?: string[];
|
|
2185
|
+
platform_features?: string[];
|
|
1768
2186
|
}
|
|
1769
2187
|
interface UpdateProfileRequest {
|
|
1770
2188
|
name?: string;
|
|
@@ -1772,6 +2190,7 @@ interface UpdateProfileRequest {
|
|
|
1772
2190
|
module_slug?: string;
|
|
1773
2191
|
default_app_slug?: string;
|
|
1774
2192
|
app_slugs?: string[];
|
|
2193
|
+
platform_features?: string[];
|
|
1775
2194
|
}
|
|
1776
2195
|
interface ListProfilesOptions extends AuthListOptions {
|
|
1777
2196
|
slug?: string;
|
|
@@ -5013,6 +5432,19 @@ interface ListConversationsQuery extends PaginationQuery {
|
|
|
5013
5432
|
tag_key?: string;
|
|
5014
5433
|
/** With `tag_key`: only conversations whose tag has this value. */
|
|
5015
5434
|
tag_value?: string;
|
|
5435
|
+
/**
|
|
5436
|
+
* The hub's Mine / All axis. `own`: threads on the caller's own
|
|
5437
|
+
* connections and the org-wide ones (on a shared sending connection only
|
|
5438
|
+
* threads the caller is in), plus connection-less threads they created.
|
|
5439
|
+
* `all` (the default when omitted): everything the caller may read.
|
|
5440
|
+
*/
|
|
5441
|
+
conversation_scope?: ConversationScope;
|
|
5442
|
+
}
|
|
5443
|
+
/** `?conversation_scope=` values — see ListConversationsQuery. */
|
|
5444
|
+
type ConversationScope = 'own' | 'all';
|
|
5445
|
+
/** Unread counts follow the same Mine / All axis as the list. */
|
|
5446
|
+
interface UnreadCountsQuery {
|
|
5447
|
+
conversation_scope?: ConversationScope;
|
|
5016
5448
|
}
|
|
5017
5449
|
/**
|
|
5018
5450
|
* User-editable surface of a conversation (PATCH); everything else is owned by
|
|
@@ -6600,7 +7032,7 @@ interface ConversationService {
|
|
|
6600
7032
|
/** Remove the marker — the conversation reads as unread again. */
|
|
6601
7033
|
markUnread(id: string): Promise<void>;
|
|
6602
7034
|
/** Unread-conversation counts for the requesting user (envelope + badges). */
|
|
6603
|
-
unreadCounts(): Promise<UnreadCounts>;
|
|
7035
|
+
unreadCounts(query?: UnreadCountsQuery): Promise<UnreadCounts>;
|
|
6604
7036
|
}
|
|
6605
7037
|
/** Messages within a conversation (ordered by occurred_at) + outbound send + drafts + reactions. */
|
|
6606
7038
|
interface MessageService {
|
|
@@ -9174,7 +9606,19 @@ interface KnowledgeSpace extends AuditFields {
|
|
|
9174
9606
|
description?: string | null;
|
|
9175
9607
|
color?: string | null;
|
|
9176
9608
|
icon?: string | null;
|
|
9609
|
+
/**
|
|
9610
|
+
* Who the space is for: `shared` (an ordinary org space) or `personal` (one
|
|
9611
|
+
* person's own space, where their assistants keep memory notes). Set at
|
|
9612
|
+
* creation and never changed.
|
|
9613
|
+
*/
|
|
9614
|
+
scope: SpaceScope;
|
|
9615
|
+
/**
|
|
9616
|
+
* The person a personal space belongs to; absent on a shared space. It says
|
|
9617
|
+
* whose space this is — access still comes only from the space's grants.
|
|
9618
|
+
*/
|
|
9619
|
+
owner_user_id?: string | null;
|
|
9177
9620
|
}
|
|
9621
|
+
type SpaceScope = 'shared' | 'personal';
|
|
9178
9622
|
/**
|
|
9179
9623
|
* The reserved filter value meaning "nodes that belong to no space at all".
|
|
9180
9624
|
* Deliberately not a legal slug (slugs are kebab-case), so it can never collide
|
|
@@ -9846,6 +10290,25 @@ interface NodeService {
|
|
|
9846
10290
|
detachLabel(id: string, labelId: string): Promise<void>;
|
|
9847
10291
|
}
|
|
9848
10292
|
|
|
10293
|
+
/**
|
|
10294
|
+
* Service for node→record edges: links from a knowledge node to a business
|
|
10295
|
+
* record (data-service, identified by `entity_slug` + `record_id`). Immutable —
|
|
10296
|
+
* create / delete only, no update. Filter by `node_id` (a node's records) or by
|
|
10297
|
+
* `entity_slug` + `record_id` (a record's nodes).
|
|
10298
|
+
*/
|
|
10299
|
+
interface RecordLinkService {
|
|
10300
|
+
/** Lists record links as an async iterator (pages are 0-indexed). */
|
|
10301
|
+
list(options?: ListRecordLinksOptions): PageIterator<KnowledgeRecordLink, ListRecordLinksOptions>;
|
|
10302
|
+
/** Fetches a single page of record links. */
|
|
10303
|
+
listPage(options?: ListRecordLinksOptions): Promise<ListResult<KnowledgeRecordLink>>;
|
|
10304
|
+
/** Gets a single record link by id. */
|
|
10305
|
+
get(id: string): Promise<KnowledgeRecordLink>;
|
|
10306
|
+
/** Links a node to a business record. */
|
|
10307
|
+
create(request: CreateRecordLinkRequest): Promise<KnowledgeRecordLink>;
|
|
10308
|
+
/** Removes a record link. */
|
|
10309
|
+
delete(id: string): Promise<void>;
|
|
10310
|
+
}
|
|
10311
|
+
|
|
9849
10312
|
/**
|
|
9850
10313
|
* Service for knowledge spaces — the containers nodes live in.
|
|
9851
10314
|
*
|
|
@@ -9869,6 +10332,12 @@ interface SpaceService {
|
|
|
9869
10332
|
get(slug: string): Promise<KnowledgeSpace>;
|
|
9870
10333
|
/** Creates a space. The slug is permanent. */
|
|
9871
10334
|
create(request: CreateSpaceRequest): Promise<KnowledgeSpace>;
|
|
10335
|
+
/**
|
|
10336
|
+
* Returns the calling user's own personal space, creating it on first use.
|
|
10337
|
+
* Takes no arguments: whose space it is comes from the token. A personal
|
|
10338
|
+
* space is created holding grants for its owner only.
|
|
10339
|
+
*/
|
|
10340
|
+
ensurePersonal(): Promise<KnowledgeSpace>;
|
|
9872
10341
|
/** Updates a space's presentation. The slug cannot be changed. */
|
|
9873
10342
|
update(slug: string, request: UpdateSpaceRequest): Promise<KnowledgeSpace>;
|
|
9874
10343
|
/**
|
|
@@ -9881,25 +10350,6 @@ interface SpaceService {
|
|
|
9881
10350
|
delete(slug: string): Promise<void>;
|
|
9882
10351
|
}
|
|
9883
10352
|
|
|
9884
|
-
/**
|
|
9885
|
-
* Service for node→record edges: links from a knowledge node to a business
|
|
9886
|
-
* record (data-service, identified by `entity_slug` + `record_id`). Immutable —
|
|
9887
|
-
* create / delete only, no update. Filter by `node_id` (a node's records) or by
|
|
9888
|
-
* `entity_slug` + `record_id` (a record's nodes).
|
|
9889
|
-
*/
|
|
9890
|
-
interface RecordLinkService {
|
|
9891
|
-
/** Lists record links as an async iterator (pages are 0-indexed). */
|
|
9892
|
-
list(options?: ListRecordLinksOptions): PageIterator<KnowledgeRecordLink, ListRecordLinksOptions>;
|
|
9893
|
-
/** Fetches a single page of record links. */
|
|
9894
|
-
listPage(options?: ListRecordLinksOptions): Promise<ListResult<KnowledgeRecordLink>>;
|
|
9895
|
-
/** Gets a single record link by id. */
|
|
9896
|
-
get(id: string): Promise<KnowledgeRecordLink>;
|
|
9897
|
-
/** Links a node to a business record. */
|
|
9898
|
-
create(request: CreateRecordLinkRequest): Promise<KnowledgeRecordLink>;
|
|
9899
|
-
/** Removes a record link. */
|
|
9900
|
-
delete(id: string): Promise<void>;
|
|
9901
|
-
}
|
|
9902
|
-
|
|
9903
10353
|
/**
|
|
9904
10354
|
* Facade for the knowledge-service (graph-native knowledge base: nodes, typed
|
|
9905
10355
|
* links, labels, content sub-resource, keyword search and neighbor traversal).
|
|
@@ -11689,4 +12139,4 @@ declare class WorkflowClient {
|
|
|
11689
12139
|
constructor(client: ProteosClient);
|
|
11690
12140
|
}
|
|
11691
12141
|
|
|
11692
|
-
export { type AcceptMistranscribedTermRequest, AccountClient, type Action, type ActionBinding, ActionSchema, type ActionScope, ActionScopeSchema, type ActionService, type AddTeamMemberRequest, type AddressFilterConfig, type Agent, type AgentActionParams, type AgentArtifactsPayload, AgentClient, type AgentListener, type AgentListenerAcknowledgementConfig, type AgentListenerAcknowledgementType, type AgentListenerActingUserMode, type AgentListenerService, type AgentListenerTriggerType, type AgentMessagePayload, type AgentResourceListOptions, type AgentService, type AllFilterConfig, type ApiErrorResponse, type ApiKey, type AppendEventRequest, type ApplySendingLimitPresetRequest, type ApproveRecordDraftRequest, type AssignPermissionRequest, type AssignRoleRequest, type Assignment, type AttachContactAddressRequest, type AttachConversationBriefRequest, type Attachment, Attribute, AuditFields, type AuthListOptions, type AuthoredTranscriptTurn, type AutomatedFilterConfig, type AutomatedSignal, type AvailabilityConstraint, type AvailabilityConstraintService, type AvailabilityKind, type BatchTransactionError, BatchTransactionErrorSchema, type BatchTransactionStatus, type BatchUpsertRecordsResponse, BatchUpsertRecordsResponseSchema, type BatchUpsertTransaction, type BatchUpsertTransactionResult, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, type BinaryRef, type BlockContactRequest, type BookSchedulingLinkRequest, type BookSchedulingLinkResponse, type BookingContact, type BooleanAnswer, type BooleanCriteria, type BooleanQuestion, type BooleanTagCriteria, type BounceClassification, type BounceKind, type Calendar, type CalendarAttendee, type CalendarAttendeeRequest, type CalendarConnection, type CalendarConnectionService, type CalendarConnectionStatus, type CalendarEvent, type CalendarEventService, type CalendarEventType, type CalendarEventTypeService, type CalendarEventsResponse, type CalendarProvider, type CalendarService, type CalendarSync, type CalendarSyncStatus, type CalendarVisibility, type CalendarWatch, type CallDialStatus, type CallMetadata, type CallStatus, type CallTokenResponse, type CancelPublicCalendarEventRequest, type Channel, type ChannelAction, type ChannelActionCapability, type ChannelActionParams, type ChannelActionResponse, type ChannelActionService, type ChannelActionStatus, type ChannelActionTargetKind, type ChannelActionType, type ChannelEvent, type ChannelEventService, type ChannelEventType, type ChoiceAnswer, type ChoiceQuestion, type ClientEventType, type ClientToolSchema, type ConferencingProvider, type Connection, type ConnectionCredentials, type ConnectionEndpoint, type ConnectionScope, type ConnectionService, type ConnectionStatus, type ConnectionSyncRange, type ConnectionSyncStatus, type Connector, type ConnectorCatalogEntry, ConnectorClient, type ConnectorConnection, type ConnectionScope$1 as ConnectorConnectionScope, type ConnectionStatus$1 as ConnectorConnectionStatus, type ConnectionTokenResponse as ConnectorConnectionTokenResponse, type CredentialKind as ConnectorCredentialKind, type ConnectorKey, type ConnectorMethod, type ConnectorProvider, type ConsentStatus, type ConsumerGroup, type Contact, type ContactAddress, type ContactAddressKey, type ContactAddressKind, type ContactAddressSource, type ContactErasureRequest, type ContactGroup, type ContactGroupService, type ContactGroupSource, type ContactMergeProposal, type ContactRecordLink, type ContactRecordLinkSource, type ContactRef, type ContactService, type ContactSource, type ContactStatus, type ContentBlock$1 as ContentBlock, type ContentMatch, type ContentResponse, type ContextCompactedPayload, type Conversation, type ConversationBrief, type ConversationBriefService, type ConversationBriefStatus, ConversationClient, type ConversationFilter, type ConversationFilterAction, type ConversationFilterConfig, type ConversationFilterEvent, type ConversationFilterService, type ConversationFilterType, type ConversationNote, type ConversationNoteService, type ConversationObjective, type ConversationObjectiveAchievedWhen, type ConversationObjectiveCount, type ConversationObjectiveDefinition, type ConversationObjectiveDefinitionService, type ConversationObjectiveMeasure, type ConversationObjectiveMeasureKind, type ConversationObjectiveProgress, type ConversationObjectiveService, type ConversationObjectiveSource, type ConversationObjectiveStatus, type ConversationOutcome, type ConversationOutcomeOption, type ConversationOutcomeSource, type ConversationParticipant, type ConversationPhase, type ConversationPhaseProgress, type ConversationPhaseStatus, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type ConversationTag, type ConversationTagBasis, type ConversationTagCount, type ConversationTagCriteria, type ConversationTagDefinition, type ConversationTagDefinitionService, type ConversationTagEvaluation, type ConversationTagEvaluationStatus, type ConversationTagEvaluator, type ConversationTagEvaluatorKind, type ConversationTagQuestion, type ConversationTagQuestionType, type ConversationTagRole, type ConversationTagScope, type ConversationTagScreening, type ConversationTagScreeningResult, type ConversationTagService, type ConversationTagSet, type ConversationTagSetService, type ConversationTagSource, type ConversationTagStatus, type ConversationTagTrigger, type ConversationTagUsage, type ConversationTaggedEvent, type ConversationType, type ConversationTypeConfig, type ConversationTypeService, type CountConversationObjectivesQuery, type CountConversationObjectivesResponse, type CountConversationTagsQuery, type CountConversationTagsResponse, type CreateAgentListenerRequest, type CreateAgentRequest, type CreateApiKeyRequest, type CreateAvailabilityConstraintRequest, type CreateCalendarConnectionRequest, type CreateCalendarEventRequest, type CreateConnectionRequest, type CreateConnectorConnectionRequest, type CreateContactGroupRequest, type CreateContactRecordLinkRequest, type CreateContactRequest, type CreateConversationBriefRequest, type CreateConversationFilterRequest, type CreateConversationNoteRequest, type CreateConversationObjectiveDefinitionRequest, type CreateConversationTagDefinitionRequest, type CreateConversationTagRequest, type CreateConversationTagSetRequest, type CreateConversationTypeRequest, type CreateDiscoveryEvidenceFrameRequest, type CreateDiscoveryEvidenceLinkRequest, type CreateDiscoveryEvidenceNarrationFrameRequest, type CreateDiscoveryEvidenceNarrationRequest, type CreateDiscoveryEvidenceRequest, type CreateDiscoveryEvidenceStrokeRequest, type CreateEntityIndexRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreateProfileRequest, type CreatePromptRequest, type CreateRecordDraftRequest, type CreateRecordLinkRequest, type CreateRoleRequest, type CreateSchedulingLinkRequest, type CreateSendingRuleRequest, type CreateSessionRequest, type CreateSpaceRequest, type CreateTeamRequest, type CreateToneProfileSetupRequest, type CreateToolRequest, type CreateToolsetRequest, type CreateTranscriptionFromTextRequest, type CreateUserRequest, type CreateWorkflowRequest, type CreatedApiKey, type CredentialSpec, type CronTriggerParams, DEFAULT_PORT, DataClient, type DecideRequest, type DecisionAnswer, type DecisionAnswerFor, type DecisionQuestion, type DecisionQuestionType, type DecisionQuestions, type DecisionResult, type DependentAgent, type DependentSyncResult, DiscoveryClient, type DiscoveryEvidence, type DiscoveryEvidenceCategory, type DiscoveryEvidenceContext, type DiscoveryEvidenceDownloadUrl, type DiscoveryEvidenceEnrichmentStatus, type DiscoveryEvidenceFieldSource, type DiscoveryEvidenceFrame, type DiscoveryEvidenceKind, type DiscoveryEvidenceLink, type DiscoveryEvidenceNarration, type DiscoveryEvidenceNarrationFrameComment, type DiscoveryEvidenceNarrationService, type DiscoveryEvidenceNarrationStatus, type DiscoveryEvidenceOrgSummary, type DiscoveryEvidenceService, type DiscoveryEvidenceSource, type DiscoveryEvidenceStatus, type DispatchMeetingBotRequest, type DisplayOptions, type DomainFilterConfig, ERROR_PORT, type EditContentRequest, type EditContentResponse, type EmailDnsRecord, type EmailDomainStatus, type EmailEngagementQuality, type EmailHealth, type EmailHealthWindow, type EmailIp, type EmailProviderHealth, type EmailProviderStats, type EmailSender, type EmailSenderStatus, type EmailSuppression, type EmailSuppressionCounts, type EmailSuppressionKind, type EmptyPayload, type EntityIndex, type EntityIndexService, type EntityIndexSource, type EntityIndexState, type EntityIndexType, type ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, type EvaluateConversationTagsRequest, type EventLocation, type EventSource, type EventStatus, type EventTransparency, type EventTriggerParams, type EventType, type EventVerb, type EventVisibility, type EventWriteStatus, EventsClient, type ExecutionError, type ExecutionStatus, type ExecutionTriggerContext, type FileBlock, FileRef, type FileService, type FileVersionContent, type FilterMatchOn, type FrequencyCapRuleConfig, FunctionsClient, type GenerateRequest, type GenerationResult, type GetConnectionHealthQuery, type GetExecutionDetailResponse, type GetGraphOptions, type GetManyConversationObjectiveDefinitionsQuery, type GetManyConversationObjectivesQuery, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GetPublicSlotsQuery, type GetSlotsRequest, type GetSlotsResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, type HostsRequest, type IndexEvidence, type IndexRecommendation, type InkPoint, type InkStroke, type InlineLinkRequest, type InmailParams, type InstallConnectionResponse, type InstallConnectorConnectionResponse, type InternalConversationsFilterConfig, type InvitationParams, type InvokeActionResponse, type InvokeNodeMethodRequest, type InvokeNodeMethodResponse, type Item, type KickoffSource, type KickoffType, KnowledgeClient, type KnowledgeGraph, type KnowledgeGraphLink, type KnowledgeGraphNode, type KnowledgeLabel, KnowledgeLabelSchema, type KnowledgeLink, KnowledgeLinkSchema, type KnowledgeNode, type KnowledgeNodeLabel, KnowledgeNodeLabelSchema, type KnowledgeNodeMetadata, KnowledgeNodeMetadataSchema, KnowledgeNodeSchema, type KnowledgeNodeSearchResult, KnowledgeNodeSearchResultSchema, type KnowledgeRecordLink, KnowledgeRecordLinkSchema, type KnowledgeSpace, type LabelService, type LimitRuleConfig, type LinkService, type LinkType, type ListActionsOptions, type ListAgentListenersQuery, type ListAgentsOptions, type ListAvailabilityConstraintsQuery, type ListCalendarConnectionsQuery, type ListCalendarEventTypesQuery, type ListCalendarEventsQuery, type ListCalendarsQuery, type ListChannelActionsQuery, type ListChannelEventsQuery, type ListConnectionsQuery, type ListConnectorConnectionsQuery, type ListConnectorsQuery, type ListContactAddressesQuery, type ListContactGroupsQuery, type ListContactMergeProposalsQuery, type ListContactRecordLinksQuery, type ListContactsQuery, type ListConversationBriefsQuery, type ListConversationFilterEventsQuery, type ListConversationFiltersQuery, type ListConversationNotesQuery, type ListConversationTagDefinitionsQuery, type ListConversationTagEvaluationsQuery, type ListConversationTagSetsQuery, type ListConversationTagsQuery, type ListConversationTypesQuery, type ListConversationsQuery, type ListDiscoveryEvidenceQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, type ListMeetingBotsQuery, type ListMessagesQuery, type ListMistranscribedTermsQuery, type ListNodesOptions, ListOptions, type ListOrgUserRoleAssignmentsOptions, type ListOrganizationsOptions, type ListPlatformDiscoveryEvidenceQuery, type ListProfilesOptions, type ListPromptsOptions, type ListRecordDraftsQuery, type ListRecordDuplicatesQuery, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse$2 as ListResponse, ListResult, type ListRolePermissionsOptions, type ListRolesOptions, type ListRoomsQuery, type ListSchedulingLinksQuery, type ListSendingLimitPresetsQuery, type ListSendingRulesQuery, type ListSessionsOptions, type ListSkillsOptions, type ListSpacesOptions, type ListTeamMembersOptions, type ListTeamsOptions, type ListToneProfileSetupsQuery, type ListToneProfilesQuery, type ListToolsOptions, type ListToolsetsOptions, type ListTranscriptionsQuery, type ListUserProfileAssignmentsOptions, type ListUserRoleAssignmentsOptions, type ListUsersOptions, type ListWorkflowsOptions, type LocationKind, type ManualTriggerParams, type MatchMode, type McpBinding, type McpConnectionState, type McpConnectionStatus, type McpServer, type McpServerAuth, type McpServerOAuth, type McpServerService, type McpToolSummary, type MeService, type MeetingBot, type MeetingBotService, type MeetingBotStatus, type MeetingService, type MergeContactsRequest, type MergeProposalStatus, type Message, type ContentBlock as MessageContentBlock, type MessageDelivery, type MessageDeliveryStatus, type MessageDirection, type MessageDraftChange, type MessageDraftVersion, type MessageDraftVersionKind, type MessageDraftVersions, type MessagePreview, type MessageRecipient, type MessageService, type MessageStatus, type MessageTriggerParams, type MintCallTokenRequest, type MistranscribedTerm, type MistranscribedTermService, type MistranscribedTermStatus, type MistranscriptionSuggestionSource, type ModelCallParams, type ModelConfig, type ModelRequestEndPayload, type ModelRequestStartPayload, type ModelService, type ModelStopReason, type ModelUsage, type NeighborDirection, type NeighborEdge, type NeighborNode, type NeighborsOptions, type NodeContentMatches, type NodeDescriptor, type NodeExecution, type NodeGroup, type NodeMethodOption, type NodeNeighborhood, NodeNeighborhoodSchema, type NodeOutline, type NodePosition, type NodeProperty, type NodeRetryPolicy, type NodeRuntime, type NodeService, type NodeStatus, type NodeType, type NodeTypeKey, type NodeTypeService, type NodeTypeStatus, type NotifyMode, type OnErrorPolicy, type Organization, OrganizationSchema, type OrganizationService, type OutlineHeading, type OutlineRequest, type OutlineResponse, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, PageAction, PageIterator, type PairedItem, type ParseStatus, type ParticipationStatus, type PerformChannelActionRequest, type Permission, type PermissionEventSource, type PermissionEventType, type PhoneNumber, type PhoneNumberRouting, type PhoneNumberStatus, type PlatformBinding, type PlatformDiscoveryEvidenceService, type PlatformEntity, type PlatformEvent, type PortSpec, type Profile, ProfileSchema, type ProfileService, type ProfileVisitParams, type Prompt, type PromptService, type PromptVersion, type PropertyOption, type PropertyType, ProteosClient, ProteosError, PublicAccessOperation, type PublicBookSchedulingLinkResponse, type PublicCalendarEvent, type PublicCalendarEventType, type PublicEventLocation, type PublicHost, type PublicSchedulingLink, type PublicSchedulingService, type PublishContactObservationsResponse, type PublishEventRequest, type PutCalendarEventTypeRequest, type PutSchedulingProfileRequest, type QueryBinding, type QueryExecuteMeta, type QueryExecuteResponse, type QueryObject, type QueryRow, type QueryService, type QueryValidateMeta, type QueryValidateResponse, type QueryValue, type Reaction, type ReactionCapability, type ReactionOption, type ReactionSetKind, type ReasoningPayload, type RecipientKind, type RecipientRole, type RecordData, type RecordDraft, type RecordDraftChange, type RecordDraftChangeKind, RecordDraftChangeSchema, type RecordDraftIntent, type RecordDraftItem, type RecordDraftItemError, type RecordDraftItemInput, type RecordDraftItemResult, RecordDraftItemResultSchema, type RecordDraftItemResultStatus, RecordDraftItemSchema, type RecordDraftService, type RecordDraftStatus, type RecordDraftVersion, type RecordDraftVersionKind, type RecordDraftVersions, type RecordDuplicate, type RecordDuplicateService, type RecordDuplicateSource, type RecordDuplicateStatus, type RecordLinkService, type RecordPermissionEventRequest, type RecordRef, type RecordService, type RecurrenceScope, type RedriveResult, type RejectRecordDraftRequest, RequestOptions, type RescheduleHost, type ReschedulePublicCalendarEventRequest, type ResolveToneProfileQuery, type RespondCalendarEventRequest, type RespondChannelActionRequest, ResponseMeta$1 as ResponseMeta, type ResultBlock, type Role, type RoleBasedFilterConfig, type RoleEntityPermission, RoleEntityPermissionSchema, RoleSchema, type RoleService, type Room, type RoutingTarget, type RunWorkflowRequest, SCOPED_PLATFORM_ENTITY_SLUGS, SchedulingClient, type SchedulingLink, type SchedulingLinkService, type ListResponse as SchedulingListResponse, type SchedulingProfile, type SchedulingProfileService, type ScoreAnswer, type ScoreQuestion, type SearchContentRequest, type SearchContentResponse, type SearchNodesRequest, type SendEligibility, type SendEligibilityRequest, type SendMessageRequest, type SendRecipient, type SendingLimitPreset, type SendingPeriod, type SendingRule, type SendingRuleConfig, type SendingRuleService, type SendingRuleType, type Session, type SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionService, type SessionStatus, type SessionStreamOptions, type SessionUpdatedPayload, type SetCallRecordingRequest, type SetDefaultSenderRequest, type SetProfileRequest, type SharePermission, type ShareRow, type ShareService, type Skill, type SkillBundle, type SkillService, type SkillVersion, type Slot, type SlotParameters, type SlotService, type SlotUnavailability, type SlotUnavailabilityReason, type SpaceService, type StartMcpOAuthResponse, type StopReason, StorageClient, type StorageFile, type StorageFileVersion, type StructuredText, type SyncConnectionRequest, type SystemSource, type TailOptions, type Team, type TeamMember, type TeamService, type TestNodeCandidate, type TestNodeInputSource, type TestNodeRequest, type TestNodeResponse, type TextBlock, type ToneProfile, type ToneProfileScope, type ToneProfileService, type ToneProfileSetup, type ToneProfileSetupStatus, type ToneProfileSource, type Tool, type ToolBinding, type ToolConfirmationPayload, type ToolKind, type ToolResultPayload, type ToolService, type ToolUsePayload, type Toolset, type ToolsetKind, type ToolsetService, type ToolsetToolSummary, type Topic, type TopicKind, type TopicService, type TranscribeStreamOptions, type TranscriptResult, type TranscriptTurn, type Transcription, type TranscriptionReviewStatus, type TranscriptionStatus, type TriggerKind, type Turn, type TwilioPhoneSettings, type TwilioPhoneVoicemailSettings, UNASSIGNED_SPACE_SLUG, type UnreadCounts, type UpdateAgentListenerRequest, type UpdateAgentRequest, type UpdateAvailabilityConstraintRequest, type UpdateCalendarConnectionRequest, type UpdateCalendarEventRequest, type UpdateCalendarEventTypeRequest, type UpdateCalendarRequest, type UpdateCalendarSyncRequest, type UpdateConnectionRequest, type UpdateConnectorConnectionRequest, type UpdateContactGroupRequest, type UpdateContactRequest, type UpdateConversationBriefRequest, type UpdateConversationFilterRequest, type UpdateConversationNoteRequest, type UpdateConversationObjectiveDefinitionRequest, type UpdateConversationRequest, type UpdateConversationTagDefinitionRequest, type UpdateConversationTagRequest, type UpdateConversationTagSetRequest, type UpdateConversationTypeRequest, type UpdateDiscoveryEvidenceFrameRequest, type UpdateDiscoveryEvidenceRequest, type UpdateDiscoveryEvidenceStatusRequest, type UpdateDraftRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateMeRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePhoneNumberRequest, type UpdateProfileRequest, type UpdatePromptRequest, type UpdateRecordDraftRequest, type UpdateRoleRequest, type UpdateSchedulingLinkRequest, type UpdateSendingRuleRequest, type UpdateSpaceRequest, type UpdateTeamRequest, type UpdateToolRequest, type UpdateToolsetRequest, type UpdateUserRequest, type UpdateWorkflowRequest, type UpsertToneProfileRequest, type User, type UserMessagePayload, type UserProfileAssignment, UserProfileAssignmentSchema, type UserProfileAssignmentService, UserRef$2 as UserRef, type UserRoleAssignment, UserRoleAssignmentSchema, type UserRoleAssignmentService, UserSchema, type UserService, type VoiceService, type VoiceTranscriptionStream, type WarmupRuleConfig, type WebhookTriggerParams, type Weekday, type WindowDay, type WindowRuleConfig, type Workflow, WorkflowClient, type WorkflowConnection, type WorkflowExecution, type WorkflowGraph, type WorkflowNode, type WorkflowNodeType, type WorkflowStatus, type WorkflowVersion, type WorkflowVersionAuthor, type WorkflowVersionSummary, type WriteContentResponse, type WriteCredentialsRequest, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, shareRouteFor, toQueryParams, toQueryString };
|
|
12142
|
+
export { type AcceptMistranscribedTermRequest, AccountClient, type Action, type ActionBinding, ActionSchema, type ActionScope, ActionScopeSchema, type ActionService, type AddTeamMemberRequest, type AddressFilterConfig, type Agent, type AgentActionParams, type AgentArtifactsPayload, AgentClient, type AgentListener, type AgentListenerAcknowledgementConfig, type AgentListenerAcknowledgementType, type AgentListenerActingUserMode, type AgentListenerService, type AgentListenerTriggerType, type AgentMessagePayload, type AgentResourceListOptions, type AgentRuntime, type AgentService, type AllFilterConfig, type ApiErrorResponse, type ApiKey, type AppendEventRequest, type AppendSpeechRequest, type ApplySendingLimitPresetRequest, type ApproveRecordDraftRequest, type AssignPermissionRequest, type AssignRoleRequest, type Assignment, type AttachContactAddressRequest, type AttachConversationBriefRequest, type Attachment, Attribute, AuditFields, type AuthListOptions, type AuthoredTranscriptTurn, type AutomatedFilterConfig, type AutomatedSignal, type AvailabilityConstraint, type AvailabilityConstraintService, type AvailabilityKind, type AwaitingToolUse, type BatchTransactionError, BatchTransactionErrorSchema, type BatchTransactionStatus, type BatchUpsertRecordsResponse, BatchUpsertRecordsResponseSchema, type BatchUpsertTransaction, type BatchUpsertTransactionResult, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, type BinaryRef, type BlockContactRequest, type BookSchedulingLinkRequest, type BookSchedulingLinkResponse, type BookingContact, type BooleanAnswer, type BooleanCriteria, type BooleanQuestion, type BooleanTagCriteria, type BounceClassification, type BounceKind, type Calendar, type CalendarAttendee, type CalendarAttendeeRequest, type CalendarConnection, type CalendarConnectionService, type CalendarConnectionStatus, type CalendarEvent, type CalendarEventService, type CalendarEventType, type CalendarEventTypeService, type CalendarEventsResponse, type CalendarProvider, type CalendarService, type CalendarSync, type CalendarSyncStatus, type CalendarVisibility, type CalendarWatch, type CallDialStatus, type CallMetadata, type CallStatus, type CallTokenResponse, type CancelPublicCalendarEventRequest, type Channel, type ChannelAction, type ChannelActionCapability, type ChannelActionParams, type ChannelActionResponse, type ChannelActionService, type ChannelActionStatus, type ChannelActionTargetKind, type ChannelActionType, type ChannelEvent, type ChannelEventService, type ChannelEventType, type ChoiceAnswer, type ChoiceQuestion, type ClientEventType, type ClientToolSchema, type ConferencingProvider, type Connection, type ConnectionCredentials, type ConnectionEndpoint, type ConnectionScope, type ConnectionService, type ConnectionStatus, type ConnectionSyncRange, type ConnectionSyncStatus, type Connector, type ConnectorCatalogEntry, ConnectorClient, type ConnectorConnection, type ConnectionScope$1 as ConnectorConnectionScope, type ConnectionStatus$1 as ConnectorConnectionStatus, type ConnectionTokenResponse as ConnectorConnectionTokenResponse, type CredentialKind as ConnectorCredentialKind, type ConnectorKey, type ConnectorMethod, type ConnectorProvider, type ConsentStatus, type ConsumerGroup, type Contact, type ContactAddress, type ContactAddressKey, type ContactAddressKind, type ContactAddressSource, type ContactErasureRequest, type ContactGroup, type ContactGroupService, type ContactGroupSource, type ContactMergeProposal, type ContactRecordLink, type ContactRecordLinkSource, type ContactRef, type ContactService, type ContactSource, type ContactStatus, type ContentBlock$1 as ContentBlock, type ContentMatch, type ContentResponse, type ContextCompactedPayload, type Conversation, type ConversationBrief, type ConversationBriefService, type ConversationBriefStatus, ConversationClient, type ConversationFilter, type ConversationFilterAction, type ConversationFilterConfig, type ConversationFilterEvent, type ConversationFilterService, type ConversationFilterType, type ConversationNote, type ConversationNoteService, type ConversationObjective, type ConversationObjectiveAchievedWhen, type ConversationObjectiveCount, type ConversationObjectiveDefinition, type ConversationObjectiveDefinitionService, type ConversationObjectiveMeasure, type ConversationObjectiveMeasureKind, type ConversationObjectiveProgress, type ConversationObjectiveService, type ConversationObjectiveSource, type ConversationObjectiveStatus, type ConversationOutcome, type ConversationOutcomeOption, type ConversationOutcomeSource, type ConversationParticipant, type ConversationPhase, type ConversationPhaseProgress, type ConversationPhaseStatus, type ConversationScope, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type ConversationTag, type ConversationTagBasis, type ConversationTagCount, type ConversationTagCriteria, type ConversationTagDefinition, type ConversationTagDefinitionService, type ConversationTagEvaluation, type ConversationTagEvaluationStatus, type ConversationTagEvaluator, type ConversationTagEvaluatorKind, type ConversationTagQuestion, type ConversationTagQuestionType, type ConversationTagRole, type ConversationTagScope, type ConversationTagScreening, type ConversationTagScreeningResult, type ConversationTagService, type ConversationTagSet, type ConversationTagSetService, type ConversationTagSource, type ConversationTagStatus, type ConversationTagTrigger, type ConversationTagUsage, type ConversationTaggedEvent, type ConversationType, type ConversationTypeConfig, type ConversationTypeService, type CountConversationObjectivesQuery, type CountConversationObjectivesResponse, type CountConversationTagsQuery, type CountConversationTagsResponse, type CreateAgentListenerRequest, type CreateAgentRequest, type CreateApiKeyRequest, type CreateAvailabilityConstraintRequest, type CreateCalendarConnectionRequest, type CreateCalendarEventRequest, type CreateConnectionRequest, type CreateConnectorConnectionRequest, type CreateContactGroupRequest, type CreateContactRecordLinkRequest, type CreateContactRequest, type CreateConversationBriefRequest, type CreateConversationFilterRequest, type CreateConversationNoteRequest, type CreateConversationObjectiveDefinitionRequest, type CreateConversationTagDefinitionRequest, type CreateConversationTagRequest, type CreateConversationTagSetRequest, type CreateConversationTypeRequest, type CreateDiscoveryEvidenceFrameRequest, type CreateDiscoveryEvidenceLinkRequest, type CreateDiscoveryEvidenceNarrationFrameRequest, type CreateDiscoveryEvidenceNarrationRequest, type CreateDiscoveryEvidenceRequest, type CreateDiscoveryEvidenceStrokeRequest, type CreateEntityIndexRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreateProfileRequest, type CreatePromptRequest, type CreateRecordDraftRequest, type CreateRecordLinkRequest, type CreateRoleRequest, type CreateSchedulingLinkRequest, type CreateSendingRuleRequest, type CreateSessionRequest, type CreateSpaceRequest, type CreateTeamRequest, type CreateToneProfileSetupRequest, type CreateToolRequest, type CreateToolsetRequest, type CreateTranscriptionFromTextRequest, type CreateUserRequest, type CreateWorkflowRequest, type CreatedApiKey, type CredentialSpec, type CronTriggerParams, DEFAULT_PORT, DataClient, type DecideRequest, type DecisionAnswer, type DecisionAnswerFor, type DecisionQuestion, type DecisionQuestionType, type DecisionQuestions, type DecisionResult, type DelegatedSessionUpdatedPayload, type DeltaBoundaryPayload, type DeltaEventType, type DependentAgent, type DependentSyncResult, DiscoveryClient, type DiscoveryEvidence, type DiscoveryEvidenceCategory, type DiscoveryEvidenceContext, type DiscoveryEvidenceDownloadUrl, type DiscoveryEvidenceEnrichmentStatus, type DiscoveryEvidenceFieldSource, type DiscoveryEvidenceFrame, type DiscoveryEvidenceKind, type DiscoveryEvidenceLink, type DiscoveryEvidenceNarration, type DiscoveryEvidenceNarrationFrameComment, type DiscoveryEvidenceNarrationService, type DiscoveryEvidenceNarrationStatus, type DiscoveryEvidenceOrgSummary, type DiscoveryEvidenceService, type DiscoveryEvidenceSource, type DiscoveryEvidenceStatus, type DispatchMeetingBotRequest, type DisplayOptions, type DomainFilterConfig, ERROR_PORT, type EditContentRequest, type EditContentResponse, type EmailDnsRecord, type EmailDomainStatus, type EmailEngagementQuality, type EmailHealth, type EmailHealthWindow, type EmailIp, type EmailProviderHealth, type EmailProviderStats, type EmailSender, type EmailSenderStatus, type EmailSuppression, type EmailSuppressionCounts, type EmailSuppressionKind, type EmptyPayload, type EndVoiceRequest, type EntityIndex, type EntityIndexService, type EntityIndexSource, type EntityIndexState, type EntityIndexType, type ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, type EvaluateConversationTagsRequest, type EventLocation, type EventSource, type EventStatus, type EventTransparency, type EventTriggerParams, type EventType, type EventVerb, type EventVisibility, type EventWriteStatus, EventsClient, type ExecutionError, type ExecutionStatus, type ExecutionTriggerContext, type FileBlock, FileRef, type FileService, type FileVersionContent, type FilterMatchOn, type FrequencyCapRuleConfig, FunctionsClient, type GenerateRequest, type GenerationResult, type GetConnectionHealthQuery, type GetExecutionDetailResponse, type GetGraphOptions, type GetManyConversationObjectiveDefinitionsQuery, type GetManyConversationObjectivesQuery, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GetPublicSlotsQuery, type GetSlotsRequest, type GetSlotsResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, type HostsRequest, type IndexEvidence, type IndexRecommendation, type InkPoint, type InkStroke, type InlineLinkRequest, type InmailParams, type InstallConnectionResponse, type InstallConnectorConnectionResponse, type InternalConversationsFilterConfig, type InvitationParams, type InvokeActionResponse, type InvokeNodeMethodRequest, type InvokeNodeMethodResponse, type Item, type KickoffSource, type KickoffType, KnowledgeClient, type KnowledgeGraph, type KnowledgeGraphLink, type KnowledgeGraphNode, type KnowledgeLabel, KnowledgeLabelSchema, type KnowledgeLink, KnowledgeLinkSchema, type KnowledgeNode, type KnowledgeNodeLabel, KnowledgeNodeLabelSchema, type KnowledgeNodeMetadata, KnowledgeNodeMetadataSchema, KnowledgeNodeSchema, type KnowledgeNodeSearchResult, KnowledgeNodeSearchResultSchema, type KnowledgeRecordLink, KnowledgeRecordLinkSchema, type KnowledgeSpace, type LabelService, type LimitRuleConfig, type LinkService, type LinkType, type ListActionsOptions, type ListAgentListenersQuery, type ListAgentsOptions, type ListAvailabilityConstraintsQuery, type ListCalendarConnectionsQuery, type ListCalendarEventTypesQuery, type ListCalendarEventsQuery, type ListCalendarsQuery, type ListChannelActionsQuery, type ListChannelEventsQuery, type ListConnectionsQuery, type ListConnectorConnectionsQuery, type ListConnectorsQuery, type ListContactAddressesQuery, type ListContactGroupsQuery, type ListContactMergeProposalsQuery, type ListContactRecordLinksQuery, type ListContactsQuery, type ListConversationBriefsQuery, type ListConversationFilterEventsQuery, type ListConversationFiltersQuery, type ListConversationNotesQuery, type ListConversationTagDefinitionsQuery, type ListConversationTagEvaluationsQuery, type ListConversationTagSetsQuery, type ListConversationTagsQuery, type ListConversationTypesQuery, type ListConversationsQuery, type ListDiscoveryEvidenceQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, type ListMeetingBotsQuery, type ListMessagesQuery, type ListMistranscribedTermsQuery, type ListNodesOptions, ListOptions, type ListOrgUserRoleAssignmentsOptions, type ListOrganizationsOptions, type ListPlatformDiscoveryEvidenceQuery, type ListProfilesOptions, type ListPromptsOptions, type ListRecordDraftsQuery, type ListRecordDuplicatesQuery, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse$2 as ListResponse, ListResult, type ListRolePermissionsOptions, type ListRolesOptions, type ListRoomsQuery, type ListSchedulingLinksQuery, type ListSendingLimitPresetsQuery, type ListSendingRulesQuery, type ListSessionsOptions, type ListSkillsOptions, type ListSpacesOptions, type ListTeamMembersOptions, type ListTeamsOptions, type ListToneProfileSetupsQuery, type ListToneProfilesQuery, type ListToolsOptions, type ListToolsetsOptions, type ListTranscriptionsQuery, type ListUserProfileAssignmentsOptions, type ListUserRoleAssignmentsOptions, type ListUsersOptions, type ListWorkflowsOptions, type LocationKind, type ManualTriggerParams, type MatchMode, type McpBinding, type McpConnectionState, type McpConnectionStatus, type McpServer, type McpServerAuth, type McpServerOAuth, type McpServerService, type McpToolSummary, type MeService, type MeetingBot, type MeetingBotService, type MeetingBotStatus, type MeetingService, type MergeContactsRequest, type MergeProposalStatus, type Message, type ContentBlock as MessageContentBlock, type MessageDelivery, type MessageDeliveryStatus, type MessageDeltaPayload, type MessageDirection, type MessageDraftChange, type MessageDraftVersion, type MessageDraftVersionKind, type MessageDraftVersions, type MessagePreview, type MessageRecipient, type MessageService, type MessageStatus, type MessageTriggerParams, type MintCallTokenRequest, type MistranscribedTerm, type MistranscribedTermService, type MistranscribedTermStatus, type MistranscriptionSuggestionSource, type ModelCallParams, type ModelConfig, type ModelInfo, type ModelProviderName, type ModelRequestEndPayload, type ModelRequestStartPayload, type ModelService, type ModelStopReason, type ModelUsage, type NeighborDirection, type NeighborEdge, type NeighborNode, type NeighborsOptions, type NodeContentMatches, type NodeDescriptor, type NodeExecution, type NodeGroup, type NodeMethodOption, type NodeNeighborhood, NodeNeighborhoodSchema, type NodeOutline, type NodePosition, type NodeProperty, type NodeRetryPolicy, type NodeRuntime, type NodeService, type NodeStatus, type NodeType, type NodeTypeKey, type NodeTypeService, type NodeTypeStatus, type NotifyMode, type OnErrorPolicy, type Organization, OrganizationSchema, type OrganizationService, type OutlineHeading, type OutlineRequest, type OutlineResponse, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, PageAction, PageIterator, type PairedItem, type ParseStatus, type ParticipationStatus, type PerformChannelActionRequest, type Permission, type PermissionEventSource, type PermissionEventType, type PhoneNumber, type PhoneNumberRouting, type PhoneNumberStatus, type PlatformBinding, type PlatformDiscoveryEvidenceService, type PlatformEntity, type PlatformEvent, type PortSpec, type Profile, ProfileSchema, type ProfileService, type ProfileVisitParams, type Prompt, type PromptService, type PromptVersion, type PropertyOption, type PropertyType, ProteosClient, ProteosError, PublicAccessOperation, type PublicBookSchedulingLinkResponse, type PublicCalendarEvent, type PublicCalendarEventType, type PublicEventLocation, type PublicHost, type PublicSchedulingLink, type PublicSchedulingService, type PublishContactObservationsResponse, type PublishEventRequest, type PutCalendarEventTypeRequest, type PutSchedulingProfileRequest, type QueryBinding, type QueryExecuteMeta, type QueryExecuteResponse, type QueryObject, type QueryRow, type QueryService, type QueryValidateMeta, type QueryValidateResponse, type QueryValue, type Reaction, type ReactionCapability, type ReactionOption, type ReactionSetKind, type ReasoningDeltaPayload, type ReasoningPayload, type RecipientKind, type RecipientRole, type RecordData, type RecordDraft, type RecordDraftChange, type RecordDraftChangeKind, RecordDraftChangeSchema, type RecordDraftIntent, type RecordDraftItem, type RecordDraftItemError, type RecordDraftItemInput, type RecordDraftItemResult, RecordDraftItemResultSchema, type RecordDraftItemResultStatus, RecordDraftItemSchema, type RecordDraftService, type RecordDraftStatus, type RecordDraftVersion, type RecordDraftVersionKind, type RecordDraftVersions, type RecordDuplicate, type RecordDuplicateService, type RecordDuplicateSource, type RecordDuplicateStatus, type RecordLinkService, type RecordPermissionEventRequest, type RecordRef, type RecordService, type RecurrenceScope, type RedriveResult, type RejectRecordDraftRequest, RequestOptions, type RescheduleHost, type ReschedulePublicCalendarEventRequest, type ResolveToneProfileQuery, type RespondCalendarEventRequest, type RespondChannelActionRequest, ResponseMeta$1 as ResponseMeta, type ResultBlock, type Role, type RoleBasedFilterConfig, type RoleEntityPermission, RoleEntityPermissionSchema, RoleSchema, type RoleService, type Room, type RoutingTarget, type RunWorkflowRequest, SCOPED_PLATFORM_ENTITY_SLUGS, SchedulingClient, type SchedulingLink, type SchedulingLinkService, type ListResponse as SchedulingListResponse, type SchedulingProfile, type SchedulingProfileService, type ScoreAnswer, type ScoreQuestion, type SearchContentRequest, type SearchContentResponse, type SearchNodesRequest, type SendEligibility, type SendEligibilityRequest, type SendMessageRequest, type SendRecipient, type SendingLimitPreset, type SendingPeriod, type SendingRule, type SendingRuleConfig, type SendingRuleService, type SendingRuleType, type Session, type SessionDeltaEntry, type SessionDeltaFrame, type SessionDeltaStreamOptions, type SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionRunningPayload, type SessionService, type SessionStatus, type SessionStreamOptions, type SessionToolKind, type SessionUpdatedPayload, type SetCallRecordingRequest, type SetDefaultSenderRequest, type SetProfileRequest, type SharePermission, type ShareRow, type ShareService, type Skill, type SkillBundle, type SkillService, type SkillVersion, type Slot, type SlotParameters, type SlotService, type SlotUnavailability, type SlotUnavailabilityReason, type SpaceScope, type SpaceService, type SpeechPayload, type SpeechSegment, type StartMcpOAuthResponse, type StartVoiceRequest, type StartVoiceResponse, type StopReason, StorageClient, type StorageFile, type StorageFileVersion, type StructuredText, type SyncConnectionRequest, type SystemSource, type TailOptions, type Team, type TeamMember, type TeamService, type TestNodeCandidate, type TestNodeInputSource, type TestNodeRequest, type TestNodeResponse, type TextBlock, type ToneProfile, type ToneProfileScope, type ToneProfileService, type ToneProfileSetup, type ToneProfileSetupStatus, type ToneProfileSource, type Tool, type ToolBinding, type ToolConfirmationPayload, type ToolKind, type ToolResultPayload, type ToolService, type ToolUseDeltaPayload, type ToolUsePayload, type ToolUseStartPayload, type Toolset, type ToolsetKind, type ToolsetService, type ToolsetToolSummary, type Topic, type TopicKind, type TopicService, type TranscribeStreamOptions, type TranscriptResult, type TranscriptTurn, type Transcription, type TranscriptionReviewStatus, type TranscriptionStatus, type TriggerKind, type Turn, type TwilioPhoneSettings, type TwilioPhoneVoicemailSettings, UNASSIGNED_SPACE_SLUG, type UnreadCounts, type UnreadCountsQuery, type UpdateAgentListenerRequest, type UpdateAgentRequest, type UpdateAvailabilityConstraintRequest, type UpdateCalendarConnectionRequest, type UpdateCalendarEventRequest, type UpdateCalendarEventTypeRequest, type UpdateCalendarRequest, type UpdateCalendarSyncRequest, type UpdateConnectionRequest, type UpdateConnectorConnectionRequest, type UpdateContactGroupRequest, type UpdateContactRequest, type UpdateConversationBriefRequest, type UpdateConversationFilterRequest, type UpdateConversationNoteRequest, type UpdateConversationObjectiveDefinitionRequest, type UpdateConversationRequest, type UpdateConversationTagDefinitionRequest, type UpdateConversationTagRequest, type UpdateConversationTagSetRequest, type UpdateConversationTypeRequest, type UpdateDiscoveryEvidenceFrameRequest, type UpdateDiscoveryEvidenceRequest, type UpdateDiscoveryEvidenceStatusRequest, type UpdateDraftRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateMeRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePhoneNumberRequest, type UpdateProfileRequest, type UpdatePromptRequest, type UpdateRecordDraftRequest, type UpdateRoleRequest, type UpdateSchedulingLinkRequest, type UpdateSendingRuleRequest, type UpdateSpaceRequest, type UpdateTeamRequest, type UpdateToolRequest, type UpdateToolsetRequest, type UpdateUserRequest, type UpdateWorkflowRequest, type UpsertToneProfileRequest, type User, type UserMessagePayload, type UserProfileAssignment, UserProfileAssignmentSchema, type UserProfileAssignmentService, UserRef$2 as UserRef, type UserRoleAssignment, UserRoleAssignmentSchema, type UserRoleAssignmentService, UserSchema, type UserService, type VoiceEndReason, type VoiceEndedPayload, type VoiceRequestPayload, type VoiceService, type VoiceSession, type VoiceStartedPayload, type VoiceTranscriptionStream, type WarmupRuleConfig, type WebhookTriggerParams, type Weekday, type WindowDay, type WindowRuleConfig, type Workflow, WorkflowClient, type WorkflowConnection, type WorkflowExecution, type WorkflowGraph, type WorkflowNode, type WorkflowNodeType, type WorkflowStatus, type WorkflowVersion, type WorkflowVersionAuthor, type WorkflowVersionSummary, type WriteContentResponse, type WriteCredentialsRequest, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isDeltaFrame, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, shareRouteFor, toQueryParams, toQueryString };
|