@proteos/sdk 0.34.0 → 0.35.1

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/index.d.cts CHANGED
@@ -2215,6 +2215,11 @@ interface Conversation {
2215
2215
  * claim server-side and gives clients an elapsed time to show.
2216
2216
  */
2217
2217
  summary_started_at?: string;
2218
+ /**
2219
+ * ConversationType key the pre-summary classifier assigned; absent when never
2220
+ * classified or no type matched.
2221
+ */
2222
+ type_key?: string;
2218
2223
  status: ConversationStatus;
2219
2224
  /**
2220
2225
  * Room directory row a room-borne thread (Slack channel conversation) lives
@@ -2528,6 +2533,56 @@ interface ListGlossaryTermsQuery extends PaginationQuery {
2528
2533
  /** Case-insensitive substring match on the term text. */
2529
2534
  search?: string;
2530
2535
  }
2536
+ /** Optional per-type behavior configuration. */
2537
+ interface ConversationTypeConfig {
2538
+ /**
2539
+ * Agent-service prompt key whose CURRENT version body replaces the built-in
2540
+ * summary system prompt for conversations classified as this type. Absent ⇒
2541
+ * built-in prompt.
2542
+ */
2543
+ summary_prompt_key?: string;
2544
+ }
2545
+ /**
2546
+ * A per-org conversation taxonomy entry. Before a meeting summary is
2547
+ * generated, a cheap classifier reads the transcript head plus every type's
2548
+ * `definition` and picks the matching `key` (or none); the result lands on
2549
+ * `Conversation.type_key` and `config.summary_prompt_key` may swap the summary
2550
+ * system prompt. Module-deployable (conversation-types/<key>.json).
2551
+ */
2552
+ interface ConversationType {
2553
+ org_id: string;
2554
+ /** Immutable identity within the org — what the classifier answers with. */
2555
+ key: string;
2556
+ name?: string;
2557
+ /** When a conversation IS this type — injected verbatim into the classifier prompt. */
2558
+ definition: string;
2559
+ config: ConversationTypeConfig;
2560
+ /** Module that deployed the type; absent when not module-owned. */
2561
+ module_slug?: string;
2562
+ created_at: string;
2563
+ created_by: UserRef;
2564
+ updated_at: string;
2565
+ updated_by: UserRef;
2566
+ }
2567
+ interface CreateConversationTypeRequest {
2568
+ /** Lowercase kebab/snake/camel handle — no spaces. */
2569
+ key: string;
2570
+ name?: string;
2571
+ definition: string;
2572
+ config?: ConversationTypeConfig;
2573
+ module_slug?: string;
2574
+ }
2575
+ interface UpdateConversationTypeRequest {
2576
+ name?: string;
2577
+ definition?: string;
2578
+ /** Replaces the stored config wholesale; send `{}` to clear the prompt link. */
2579
+ config?: ConversationTypeConfig;
2580
+ }
2581
+ interface ListConversationTypesQuery extends PaginationQuery {
2582
+ /** Case-insensitive substring match on key or name. */
2583
+ search?: string;
2584
+ module_slug?: string;
2585
+ }
2531
2586
  interface PaginationQuery {
2532
2587
  page?: number;
2533
2588
  page_size?: number;
@@ -2860,6 +2915,12 @@ interface ListResponse<T> {
2860
2915
  data: T[];
2861
2916
  }
2862
2917
  type TranscriptionStatus = 'pending' | 'processing' | 'completed' | 'failed';
2918
+ /**
2919
+ * Post-transcription review lifecycle — the glossary-aware LLM pass that hunts
2920
+ * mistranscribed terms. `feedback_pending` means proposed mistranscribed terms
2921
+ * await human resolution; resolving the last one flips it to `completed`.
2922
+ */
2923
+ type TranscriptionReviewStatus = 'open' | 'processing' | 'feedback_pending' | 'completed' | 'failed';
2863
2924
  interface TranscriptTurn {
2864
2925
  speaker: number;
2865
2926
  speaker_label: string;
@@ -2875,6 +2936,8 @@ interface Transcription {
2875
2936
  audio_file_id: string;
2876
2937
  transcript_file_id: string;
2877
2938
  status: TranscriptionStatus;
2939
+ review_status: TranscriptionReviewStatus;
2940
+ review_started_at?: string;
2878
2941
  language: string;
2879
2942
  duration_seconds: number;
2880
2943
  model: string;
@@ -2895,6 +2958,17 @@ interface CreateTranscriptionRequest {
2895
2958
  model?: string;
2896
2959
  is_diarized?: boolean;
2897
2960
  }
2961
+ /**
2962
+ * Edits a COMPLETED transcription in place. `turns`, when present, replace the
2963
+ * diarized turns wholesale; `speaker_labels` maps diarized speaker indexes
2964
+ * ("0", "1", …) to display labels and is applied across all turns. Editing
2965
+ * does NOT retro-update messages of an already-materialized conversation.
2966
+ */
2967
+ interface UpdateTranscriptionRequest {
2968
+ turns?: TranscriptTurn[];
2969
+ speaker_labels?: Record<string, string>;
2970
+ language?: string;
2971
+ }
2898
2972
  /** Channel defaults to adhoc; meeting is the only other allowed target. */
2899
2973
  interface MaterializeTranscriptionRequest {
2900
2974
  channel?: Channel;
@@ -2909,6 +2983,58 @@ interface ListTranscriptionsQuery extends PaginationQuery {
2909
2983
  /** Narrow to the provider-side transcript identity. */
2910
2984
  provider_request_id?: string;
2911
2985
  }
2986
+ type MistranscribedTermStatus = 'auto_replaced' | 'proposed' | 'accepted' | 'rejected';
2987
+ type MistranscriptionSuggestionSource = 'glossary' | 'model';
2988
+ /**
2989
+ * One term the post-transcription review pass judged likely misheard. High-
2990
+ * confidence findings are auto-replaced; the rest await accept/reject. An
2991
+ * accepted row referencing the glossary term it became (glossary_term_id) is a
2992
+ * known "misheard → term" mapping future passes replace deterministically.
2993
+ */
2994
+ interface MistranscribedTerm {
2995
+ id: string;
2996
+ org_id: string;
2997
+ transcription_id: string;
2998
+ conversation_id?: string;
2999
+ /** The text as transcribed. */
3000
+ term: string;
3001
+ context_snippet?: string;
3002
+ /** Indexes into the transcription's turns where the term occurs. */
3003
+ turn_indexes: number[];
3004
+ suggested_replacement?: string;
3005
+ suggestion_source?: MistranscriptionSuggestionSource;
3006
+ glossary_term_id?: string;
3007
+ /** Confidence (0..1) the term IS mistranscribed. */
3008
+ misheard_confidence: number;
3009
+ /** Confidence (0..1) the suggested replacement fits. */
3010
+ replacement_confidence: number;
3011
+ status: MistranscribedTermStatus;
3012
+ /** The text actually written into the transcript, once applied. */
3013
+ applied_replacement?: string;
3014
+ resolved_by?: UserRef;
3015
+ resolved_at?: string;
3016
+ created_at: string;
3017
+ created_by: UserRef;
3018
+ updated_at: string;
3019
+ updated_by: UserRef;
3020
+ }
3021
+ /**
3022
+ * Accepts a proposed finding: `replacement` overrides the reviewer's
3023
+ * suggestion when set; `create_glossary_term` promotes the applied replacement
3024
+ * into the org glossary and links the finding to it.
3025
+ */
3026
+ interface AcceptMistranscribedTermRequest {
3027
+ replacement?: string;
3028
+ create_glossary_term?: {
3029
+ definition?: string;
3030
+ priority?: number;
3031
+ };
3032
+ }
3033
+ interface ListMistranscribedTermsQuery extends PaginationQuery {
3034
+ status?: MistranscribedTermStatus;
3035
+ transcription_id?: string;
3036
+ conversation_id?: string;
3037
+ }
2912
3038
  /**
2913
3039
  * Sends a meeting bot (Ava) into a meeting through an active meeting
2914
3040
  * connection (adhoc-meeting). join_at schedules the bot ahead of time (ISO
@@ -3019,7 +3145,11 @@ declare class ConversationClient {
3019
3145
  readonly conversationFilters: ConversationFilterService;
3020
3146
  /** Per-org glossary: custom vocabulary that boosts transcription accuracy. */
3021
3147
  readonly glossaryTerms: GlossaryTermService;
3148
+ /** Conversation taxonomy: the types the pre-summary classifier assigns. */
3149
+ readonly conversationTypes: ConversationTypeService;
3022
3150
  readonly transcriptions: TranscriptionService;
3151
+ /** Review-pass findings: likely misheard terms awaiting accept/reject. */
3152
+ readonly mistranscribedTerms: MistranscribedTermService;
3023
3153
  /** Meeting bots (Ava): dispatch into a meeting URL, remove from a meeting. */
3024
3154
  readonly meetings: MeetingService;
3025
3155
  /** Realtime speech-to-text (dictation) — moved here from agent-service. */
@@ -3171,6 +3301,23 @@ interface GlossaryTermService {
3171
3301
  update(id: string, request: UpdateGlossaryTermRequest): Promise<GlossaryTerm>;
3172
3302
  delete(id: string): Promise<void>;
3173
3303
  }
3304
+ /**
3305
+ * The org's conversation taxonomy. Before a meeting summary is generated, a
3306
+ * cheap classifier reads the transcript head plus every type's `definition`
3307
+ * and picks the matching `key` — the result lands on `Conversation.type_key`,
3308
+ * and a type whose `config.summary_prompt_key` names an agent-service prompt
3309
+ * swaps the summary system prompt for that prompt's current body. Keyed by
3310
+ * `key` (not id); `upsert` is the idempotent module-deploy door.
3311
+ */
3312
+ interface ConversationTypeService {
3313
+ list(query?: ListConversationTypesQuery): Promise<ListResponse<ConversationType>>;
3314
+ get(key: string): Promise<ConversationType>;
3315
+ create(request: CreateConversationTypeRequest): Promise<ConversationType>;
3316
+ update(key: string, request: UpdateConversationTypeRequest): Promise<ConversationType>;
3317
+ /** Idempotent create-or-update by key (PUT) — what `pro module deploy` calls. */
3318
+ upsert(key: string, request: CreateConversationTypeRequest): Promise<ConversationType>;
3319
+ delete(key: string): Promise<void>;
3320
+ }
3174
3321
  /** Batch transcription of stored audio files + materialization. */
3175
3322
  interface TranscriptionService {
3176
3323
  /**
@@ -3181,9 +3328,33 @@ interface TranscriptionService {
3181
3328
  createFromFile(request: CreateTranscriptionRequest): Promise<Transcription>;
3182
3329
  list(query?: ListTranscriptionsQuery): Promise<ListResponse<Transcription>>;
3183
3330
  get(id: string): Promise<Transcription>;
3331
+ /**
3332
+ * Edits a completed transcription (turn text, speaker labels, language).
3333
+ * Does NOT retro-update messages of an already-materialized conversation.
3334
+ */
3335
+ update(id: string, request: UpdateTranscriptionRequest): Promise<Transcription>;
3336
+ /**
3337
+ * Kicks off the mistranscription review pass (glossary-aware LLM hunt for
3338
+ * misheard terms) — resolves immediately with review_status `processing`;
3339
+ * poll `get(id)` until it flips to feedback_pending/completed/failed.
3340
+ */
3341
+ review(id: string): Promise<Transcription>;
3184
3342
  /** Turns a completed transcription into an adhoc/meeting conversation. */
3185
3343
  materialize(id: string, request?: MaterializeTranscriptionRequest): Promise<Conversation>;
3186
3344
  }
3345
+ /**
3346
+ * Findings of the post-transcription review pass: terms likely misheard by the
3347
+ * transcription provider, awaiting accept/reject. Accepting applies the
3348
+ * replacement to the transcription's turns and (optionally) promotes it into
3349
+ * the glossary; resolving the last open finding flips the transcription's
3350
+ * review_status to completed.
3351
+ */
3352
+ interface MistranscribedTermService {
3353
+ list(query?: ListMistranscribedTermsQuery): Promise<ListResponse<MistranscribedTerm>>;
3354
+ get(id: string): Promise<MistranscribedTerm>;
3355
+ accept(id: string, request?: AcceptMistranscribedTermRequest): Promise<MistranscribedTerm>;
3356
+ reject(id: string): Promise<MistranscribedTerm>;
3357
+ }
3187
3358
 
3188
3359
  /**
3189
3360
  * A single row from a query result. Keys match the result-set columns
@@ -5901,4 +6072,4 @@ declare class WorkflowClient {
5901
6072
  constructor(client: ProteosClient);
5902
6073
  }
5903
6074
 
5904
- export { AccountClient, type Action, type ActionBinding, ActionSchema, type ActionScope, ActionScopeSchema, type ActionService, type AddressFilterConfig, type Agent, type AgentActionParams, type AgentArtifactsPayload, AgentClient, type AgentListener, type AgentListenerService, type AgentListenerTriggerType, type AgentMessagePayload, type AgentResourceListOptions, type AgentService, type AllFilterConfig, type ApiErrorResponse, type AppendEventRequest, type AssignPermissionRequest, type AssignRoleRequest, type AttachContactAddressRequest, type Attachment, Attribute, AuditFields, type AuthListOptions, type AutomatedFilterConfig, type AutomatedSignal, type BatchTransactionError, BatchTransactionErrorSchema, type BatchTransactionStatus, type BatchUpsertRecordsResponse, BatchUpsertRecordsResponseSchema, type BatchUpsertTransaction, type BatchUpsertTransactionResult, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, type BinaryRef, type BlockContactRequest, type Channel, type ClientEventType, type ClientToolSchema, type Connection, type ConnectionCredentials, type ConnectionEndpoint, type ConnectionScope, type ConnectionService, type ConnectionStatus, type ConnectionSyncRange, type ConnectionSyncStatus, type Connector, 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 ContactAddressKind, type ContactAddressSource, type ContactErasureRequest, type ContactMergeProposal, type ContactRef, type ContactService, type ContactSource, type ContactStatus, type ContentBlock$1 as ContentBlock, type ContentMatch, type ContentResponse, type ContextCompactedPayload, type Conversation, ConversationClient, type ConversationFilter, type ConversationFilterAction, type ConversationFilterConfig, type ConversationFilterEvent, type ConversationFilterService, type ConversationFilterType, type ConversationParticipant, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type CreateAgentListenerRequest, type CreateAgentRequest, type CreateConnectionRequest, type CreateConnectorConnectionRequest, type CreateConversationFilterRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreatePromptRequest, type CreateRecordLinkRequest, type CreateRoleRequest, type CreateSessionRequest, type CreateToolRequest, type CreateUserRequest, type CreateWorkflowRequest, type CredentialSpec, type CronTriggerParams, DEFAULT_PORT, DataClient, type DependentAgent, type DependentSyncResult, type DispatchMeetingBotRequest, type DisplayOptions, type DomainFilterConfig, ERROR_PORT, type EditContentRequest, type EditContentResponse, type EmptyPayload, type ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, type EventTriggerParams, type EventType, type EventVerb, EventsClient, type ExecutionError, type ExecutionStatus, type ExecutionTriggerContext, type FileBlock, FileRef, type FileService, type FileVersionContent, type FilterMatchOn, FunctionsClient, type GetExecutionDetailResponse, type GetGraphOptions, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, type InlineLinkRequest, type InstallConnectionResponse, type InstallConnectorConnectionResponse, type InternalConversationsFilterConfig, 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 LabelService, type LinkService, type LinkType, type ListActionsOptions, type ListAgentListenersQuery, type ListAgentsOptions, type ListConnectionsQuery, type ListConnectorConnectionsQuery, type ListConnectorsQuery, type ListContactAddressesQuery, type ListContactMergeProposalsQuery, type ListContactsQuery, type ListConversationFilterEventsQuery, type ListConversationFiltersQuery, type ListConversationsQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, type ListMessagesQuery, type ListNodesOptions, ListOptions, type ListOrganizationsOptions, type ListPromptsOptions, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse, ListResult, type ListRolePermissionsOptions, type ListRolesOptions, type ListRoomsQuery, type ListSessionsOptions, type ListSkillsOptions, type ListToolsOptions, type ListUserRoleAssignmentsOptions, type ListUsersOptions, type ListWorkflowsOptions, type ManualTriggerParams, type MatchMode, type McpBinding, type McpConnectionState, type McpConnectionStatus, type McpServer, type McpServerAuth, type McpServerOAuth, type McpServerService, type McpToolSummary, type MeService, type MeetingService, type MergeContactsRequest, type MergeProposalStatus, type Message, type ContentBlock as MessageContentBlock, type MessageDirection, type MessagePreview, type MessageRecipient, type MessageService, type MessageStatus, type MessageTriggerParams, type ModelCallParams, type ModelConfig, type ModelRequestEndPayload, type ModelRequestStartPayload, 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 OnErrorPolicy, type Organization, OrganizationSchema, type OrganizationService, type OutlineHeading, type OutlineRequest, type OutlineResponse, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, PageIterator, type PairedItem, type ParseStatus, type Permission, type PermissionEventSource, type PermissionEventType, type PlatformEntity, type PlatformEvent, type PortSpec, type Prompt, type PromptService, type PromptVersion, type PropertyOption, type PropertyType, ProteosClient, ProteosError, PublicAccessOperation, type PublishEventRequest, 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 RecordLinkService, type RecordPermissionEventRequest, type RecordService, type RedriveResult, type ResultBlock, type Role, type RoleBasedFilterConfig, type RoleEntityPermission, RoleEntityPermissionSchema, RoleSchema, type RoleService, type Room, type RunWorkflowRequest, type SearchContentRequest, type SearchContentResponse, type SearchNodesRequest, type SendMessageRequest, type SendRecipient, type Session, type SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionService, type SessionStatus, type SessionStreamOptions, type SessionUpdatedPayload, type Skill, type SkillBundle, type SkillService, type SkillVersion, type StartMcpOAuthResponse, type StopReason, StorageClient, type StorageFile, type StorageFileVersion, type SyncConnectionRequest, type SystemSource, type TailOptions, type TestNodeCandidate, type TestNodeInputSource, type TestNodeRequest, type TestNodeResponse, type TextBlock, type Tool, type ToolBinding, type ToolConfirmationPayload, type ToolKind, type ToolResultPayload, type ToolService, type ToolUsePayload, type Topic, type TopicKind, type TopicService, type TranscribeStreamOptions, type TranscriptResult, type TriggerKind, type Turn, type UnreadCounts, type UpdateAgentListenerRequest, type UpdateAgentRequest, type UpdateConnectionRequest, type UpdateConnectorConnectionRequest, type UpdateContactRequest, type UpdateConversationFilterRequest, type UpdateDraftRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePromptRequest, type UpdateRoleRequest, type UpdateToolRequest, type UpdateUserRequest, type UpdateWorkflowRequest, type User, type UserMessagePayload, UserRef$2 as UserRef, type UserRoleAssignment, UserRoleAssignmentSchema, UserSchema, type UserService, type VoiceService, type VoiceTranscriptionStream, type WebhookTriggerParams, 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, isUnauthorized, parseErrorResponse, toQueryParams, toQueryString };
6075
+ export { type AcceptMistranscribedTermRequest, AccountClient, type Action, type ActionBinding, ActionSchema, type ActionScope, ActionScopeSchema, type ActionService, type AddressFilterConfig, type Agent, type AgentActionParams, type AgentArtifactsPayload, AgentClient, type AgentListener, type AgentListenerService, type AgentListenerTriggerType, type AgentMessagePayload, type AgentResourceListOptions, type AgentService, type AllFilterConfig, type ApiErrorResponse, type AppendEventRequest, type AssignPermissionRequest, type AssignRoleRequest, type AttachContactAddressRequest, type Attachment, Attribute, AuditFields, type AuthListOptions, type AutomatedFilterConfig, type AutomatedSignal, type BatchTransactionError, BatchTransactionErrorSchema, type BatchTransactionStatus, type BatchUpsertRecordsResponse, BatchUpsertRecordsResponseSchema, type BatchUpsertTransaction, type BatchUpsertTransactionResult, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, type BinaryRef, type BlockContactRequest, type Channel, type ClientEventType, type ClientToolSchema, type Connection, type ConnectionCredentials, type ConnectionEndpoint, type ConnectionScope, type ConnectionService, type ConnectionStatus, type ConnectionSyncRange, type ConnectionSyncStatus, type Connector, 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 ContactAddressKind, type ContactAddressSource, type ContactErasureRequest, type ContactMergeProposal, type ContactRef, type ContactService, type ContactSource, type ContactStatus, type ContentBlock$1 as ContentBlock, type ContentMatch, type ContentResponse, type ContextCompactedPayload, type Conversation, ConversationClient, type ConversationFilter, type ConversationFilterAction, type ConversationFilterConfig, type ConversationFilterEvent, type ConversationFilterService, type ConversationFilterType, type ConversationParticipant, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type ConversationType, type ConversationTypeConfig, type ConversationTypeService, type CreateAgentListenerRequest, type CreateAgentRequest, type CreateConnectionRequest, type CreateConnectorConnectionRequest, type CreateConversationFilterRequest, type CreateConversationTypeRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreatePromptRequest, type CreateRecordLinkRequest, type CreateRoleRequest, type CreateSessionRequest, type CreateToolRequest, type CreateUserRequest, type CreateWorkflowRequest, type CredentialSpec, type CronTriggerParams, DEFAULT_PORT, DataClient, type DependentAgent, type DependentSyncResult, type DispatchMeetingBotRequest, type DisplayOptions, type DomainFilterConfig, ERROR_PORT, type EditContentRequest, type EditContentResponse, type EmptyPayload, type ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, type EventTriggerParams, type EventType, type EventVerb, EventsClient, type ExecutionError, type ExecutionStatus, type ExecutionTriggerContext, type FileBlock, FileRef, type FileService, type FileVersionContent, type FilterMatchOn, FunctionsClient, type GetExecutionDetailResponse, type GetGraphOptions, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, type InlineLinkRequest, type InstallConnectionResponse, type InstallConnectorConnectionResponse, type InternalConversationsFilterConfig, 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 LabelService, type LinkService, type LinkType, type ListActionsOptions, type ListAgentListenersQuery, type ListAgentsOptions, type ListConnectionsQuery, type ListConnectorConnectionsQuery, type ListConnectorsQuery, type ListContactAddressesQuery, type ListContactMergeProposalsQuery, type ListContactsQuery, type ListConversationFilterEventsQuery, type ListConversationFiltersQuery, type ListConversationTypesQuery, type ListConversationsQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, type ListMessagesQuery, type ListMistranscribedTermsQuery, type ListNodesOptions, ListOptions, type ListOrganizationsOptions, type ListPromptsOptions, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse, ListResult, type ListRolePermissionsOptions, type ListRolesOptions, type ListRoomsQuery, type ListSessionsOptions, type ListSkillsOptions, type ListToolsOptions, type ListUserRoleAssignmentsOptions, type ListUsersOptions, type ListWorkflowsOptions, type ManualTriggerParams, type MatchMode, type McpBinding, type McpConnectionState, type McpConnectionStatus, type McpServer, type McpServerAuth, type McpServerOAuth, type McpServerService, type McpToolSummary, type MeService, type MeetingService, type MergeContactsRequest, type MergeProposalStatus, type Message, type ContentBlock as MessageContentBlock, type MessageDirection, type MessagePreview, type MessageRecipient, type MessageService, type MessageStatus, type MessageTriggerParams, type MistranscribedTerm, type MistranscribedTermService, type MistranscribedTermStatus, type MistranscriptionSuggestionSource, type ModelCallParams, type ModelConfig, type ModelRequestEndPayload, type ModelRequestStartPayload, 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 OnErrorPolicy, type Organization, OrganizationSchema, type OrganizationService, type OutlineHeading, type OutlineRequest, type OutlineResponse, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, PageIterator, type PairedItem, type ParseStatus, type Permission, type PermissionEventSource, type PermissionEventType, type PlatformEntity, type PlatformEvent, type PortSpec, type Prompt, type PromptService, type PromptVersion, type PropertyOption, type PropertyType, ProteosClient, ProteosError, PublicAccessOperation, type PublishEventRequest, 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 RecordLinkService, type RecordPermissionEventRequest, type RecordService, type RedriveResult, type ResultBlock, type Role, type RoleBasedFilterConfig, type RoleEntityPermission, RoleEntityPermissionSchema, RoleSchema, type RoleService, type Room, type RunWorkflowRequest, type SearchContentRequest, type SearchContentResponse, type SearchNodesRequest, type SendMessageRequest, type SendRecipient, type Session, type SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionService, type SessionStatus, type SessionStreamOptions, type SessionUpdatedPayload, type Skill, type SkillBundle, type SkillService, type SkillVersion, type StartMcpOAuthResponse, type StopReason, StorageClient, type StorageFile, type StorageFileVersion, type SyncConnectionRequest, type SystemSource, type TailOptions, type TestNodeCandidate, type TestNodeInputSource, type TestNodeRequest, type TestNodeResponse, type TextBlock, type Tool, type ToolBinding, type ToolConfirmationPayload, type ToolKind, type ToolResultPayload, type ToolService, type ToolUsePayload, type Topic, type TopicKind, type TopicService, type TranscribeStreamOptions, type TranscriptResult, type TranscriptTurn, type Transcription, type TranscriptionReviewStatus, type TranscriptionStatus, type TriggerKind, type Turn, type UnreadCounts, type UpdateAgentListenerRequest, type UpdateAgentRequest, type UpdateConnectionRequest, type UpdateConnectorConnectionRequest, type UpdateContactRequest, type UpdateConversationFilterRequest, type UpdateConversationTypeRequest, type UpdateDraftRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePromptRequest, type UpdateRoleRequest, type UpdateToolRequest, type UpdateUserRequest, type UpdateWorkflowRequest, type User, type UserMessagePayload, UserRef$2 as UserRef, type UserRoleAssignment, UserRoleAssignmentSchema, UserSchema, type UserService, type VoiceService, type VoiceTranscriptionStream, type WebhookTriggerParams, 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, isUnauthorized, parseErrorResponse, toQueryParams, toQueryString };
package/dist/index.d.ts CHANGED
@@ -2215,6 +2215,11 @@ interface Conversation {
2215
2215
  * claim server-side and gives clients an elapsed time to show.
2216
2216
  */
2217
2217
  summary_started_at?: string;
2218
+ /**
2219
+ * ConversationType key the pre-summary classifier assigned; absent when never
2220
+ * classified or no type matched.
2221
+ */
2222
+ type_key?: string;
2218
2223
  status: ConversationStatus;
2219
2224
  /**
2220
2225
  * Room directory row a room-borne thread (Slack channel conversation) lives
@@ -2528,6 +2533,56 @@ interface ListGlossaryTermsQuery extends PaginationQuery {
2528
2533
  /** Case-insensitive substring match on the term text. */
2529
2534
  search?: string;
2530
2535
  }
2536
+ /** Optional per-type behavior configuration. */
2537
+ interface ConversationTypeConfig {
2538
+ /**
2539
+ * Agent-service prompt key whose CURRENT version body replaces the built-in
2540
+ * summary system prompt for conversations classified as this type. Absent ⇒
2541
+ * built-in prompt.
2542
+ */
2543
+ summary_prompt_key?: string;
2544
+ }
2545
+ /**
2546
+ * A per-org conversation taxonomy entry. Before a meeting summary is
2547
+ * generated, a cheap classifier reads the transcript head plus every type's
2548
+ * `definition` and picks the matching `key` (or none); the result lands on
2549
+ * `Conversation.type_key` and `config.summary_prompt_key` may swap the summary
2550
+ * system prompt. Module-deployable (conversation-types/<key>.json).
2551
+ */
2552
+ interface ConversationType {
2553
+ org_id: string;
2554
+ /** Immutable identity within the org — what the classifier answers with. */
2555
+ key: string;
2556
+ name?: string;
2557
+ /** When a conversation IS this type — injected verbatim into the classifier prompt. */
2558
+ definition: string;
2559
+ config: ConversationTypeConfig;
2560
+ /** Module that deployed the type; absent when not module-owned. */
2561
+ module_slug?: string;
2562
+ created_at: string;
2563
+ created_by: UserRef;
2564
+ updated_at: string;
2565
+ updated_by: UserRef;
2566
+ }
2567
+ interface CreateConversationTypeRequest {
2568
+ /** Lowercase kebab/snake/camel handle — no spaces. */
2569
+ key: string;
2570
+ name?: string;
2571
+ definition: string;
2572
+ config?: ConversationTypeConfig;
2573
+ module_slug?: string;
2574
+ }
2575
+ interface UpdateConversationTypeRequest {
2576
+ name?: string;
2577
+ definition?: string;
2578
+ /** Replaces the stored config wholesale; send `{}` to clear the prompt link. */
2579
+ config?: ConversationTypeConfig;
2580
+ }
2581
+ interface ListConversationTypesQuery extends PaginationQuery {
2582
+ /** Case-insensitive substring match on key or name. */
2583
+ search?: string;
2584
+ module_slug?: string;
2585
+ }
2531
2586
  interface PaginationQuery {
2532
2587
  page?: number;
2533
2588
  page_size?: number;
@@ -2860,6 +2915,12 @@ interface ListResponse<T> {
2860
2915
  data: T[];
2861
2916
  }
2862
2917
  type TranscriptionStatus = 'pending' | 'processing' | 'completed' | 'failed';
2918
+ /**
2919
+ * Post-transcription review lifecycle — the glossary-aware LLM pass that hunts
2920
+ * mistranscribed terms. `feedback_pending` means proposed mistranscribed terms
2921
+ * await human resolution; resolving the last one flips it to `completed`.
2922
+ */
2923
+ type TranscriptionReviewStatus = 'open' | 'processing' | 'feedback_pending' | 'completed' | 'failed';
2863
2924
  interface TranscriptTurn {
2864
2925
  speaker: number;
2865
2926
  speaker_label: string;
@@ -2875,6 +2936,8 @@ interface Transcription {
2875
2936
  audio_file_id: string;
2876
2937
  transcript_file_id: string;
2877
2938
  status: TranscriptionStatus;
2939
+ review_status: TranscriptionReviewStatus;
2940
+ review_started_at?: string;
2878
2941
  language: string;
2879
2942
  duration_seconds: number;
2880
2943
  model: string;
@@ -2895,6 +2958,17 @@ interface CreateTranscriptionRequest {
2895
2958
  model?: string;
2896
2959
  is_diarized?: boolean;
2897
2960
  }
2961
+ /**
2962
+ * Edits a COMPLETED transcription in place. `turns`, when present, replace the
2963
+ * diarized turns wholesale; `speaker_labels` maps diarized speaker indexes
2964
+ * ("0", "1", …) to display labels and is applied across all turns. Editing
2965
+ * does NOT retro-update messages of an already-materialized conversation.
2966
+ */
2967
+ interface UpdateTranscriptionRequest {
2968
+ turns?: TranscriptTurn[];
2969
+ speaker_labels?: Record<string, string>;
2970
+ language?: string;
2971
+ }
2898
2972
  /** Channel defaults to adhoc; meeting is the only other allowed target. */
2899
2973
  interface MaterializeTranscriptionRequest {
2900
2974
  channel?: Channel;
@@ -2909,6 +2983,58 @@ interface ListTranscriptionsQuery extends PaginationQuery {
2909
2983
  /** Narrow to the provider-side transcript identity. */
2910
2984
  provider_request_id?: string;
2911
2985
  }
2986
+ type MistranscribedTermStatus = 'auto_replaced' | 'proposed' | 'accepted' | 'rejected';
2987
+ type MistranscriptionSuggestionSource = 'glossary' | 'model';
2988
+ /**
2989
+ * One term the post-transcription review pass judged likely misheard. High-
2990
+ * confidence findings are auto-replaced; the rest await accept/reject. An
2991
+ * accepted row referencing the glossary term it became (glossary_term_id) is a
2992
+ * known "misheard → term" mapping future passes replace deterministically.
2993
+ */
2994
+ interface MistranscribedTerm {
2995
+ id: string;
2996
+ org_id: string;
2997
+ transcription_id: string;
2998
+ conversation_id?: string;
2999
+ /** The text as transcribed. */
3000
+ term: string;
3001
+ context_snippet?: string;
3002
+ /** Indexes into the transcription's turns where the term occurs. */
3003
+ turn_indexes: number[];
3004
+ suggested_replacement?: string;
3005
+ suggestion_source?: MistranscriptionSuggestionSource;
3006
+ glossary_term_id?: string;
3007
+ /** Confidence (0..1) the term IS mistranscribed. */
3008
+ misheard_confidence: number;
3009
+ /** Confidence (0..1) the suggested replacement fits. */
3010
+ replacement_confidence: number;
3011
+ status: MistranscribedTermStatus;
3012
+ /** The text actually written into the transcript, once applied. */
3013
+ applied_replacement?: string;
3014
+ resolved_by?: UserRef;
3015
+ resolved_at?: string;
3016
+ created_at: string;
3017
+ created_by: UserRef;
3018
+ updated_at: string;
3019
+ updated_by: UserRef;
3020
+ }
3021
+ /**
3022
+ * Accepts a proposed finding: `replacement` overrides the reviewer's
3023
+ * suggestion when set; `create_glossary_term` promotes the applied replacement
3024
+ * into the org glossary and links the finding to it.
3025
+ */
3026
+ interface AcceptMistranscribedTermRequest {
3027
+ replacement?: string;
3028
+ create_glossary_term?: {
3029
+ definition?: string;
3030
+ priority?: number;
3031
+ };
3032
+ }
3033
+ interface ListMistranscribedTermsQuery extends PaginationQuery {
3034
+ status?: MistranscribedTermStatus;
3035
+ transcription_id?: string;
3036
+ conversation_id?: string;
3037
+ }
2912
3038
  /**
2913
3039
  * Sends a meeting bot (Ava) into a meeting through an active meeting
2914
3040
  * connection (adhoc-meeting). join_at schedules the bot ahead of time (ISO
@@ -3019,7 +3145,11 @@ declare class ConversationClient {
3019
3145
  readonly conversationFilters: ConversationFilterService;
3020
3146
  /** Per-org glossary: custom vocabulary that boosts transcription accuracy. */
3021
3147
  readonly glossaryTerms: GlossaryTermService;
3148
+ /** Conversation taxonomy: the types the pre-summary classifier assigns. */
3149
+ readonly conversationTypes: ConversationTypeService;
3022
3150
  readonly transcriptions: TranscriptionService;
3151
+ /** Review-pass findings: likely misheard terms awaiting accept/reject. */
3152
+ readonly mistranscribedTerms: MistranscribedTermService;
3023
3153
  /** Meeting bots (Ava): dispatch into a meeting URL, remove from a meeting. */
3024
3154
  readonly meetings: MeetingService;
3025
3155
  /** Realtime speech-to-text (dictation) — moved here from agent-service. */
@@ -3171,6 +3301,23 @@ interface GlossaryTermService {
3171
3301
  update(id: string, request: UpdateGlossaryTermRequest): Promise<GlossaryTerm>;
3172
3302
  delete(id: string): Promise<void>;
3173
3303
  }
3304
+ /**
3305
+ * The org's conversation taxonomy. Before a meeting summary is generated, a
3306
+ * cheap classifier reads the transcript head plus every type's `definition`
3307
+ * and picks the matching `key` — the result lands on `Conversation.type_key`,
3308
+ * and a type whose `config.summary_prompt_key` names an agent-service prompt
3309
+ * swaps the summary system prompt for that prompt's current body. Keyed by
3310
+ * `key` (not id); `upsert` is the idempotent module-deploy door.
3311
+ */
3312
+ interface ConversationTypeService {
3313
+ list(query?: ListConversationTypesQuery): Promise<ListResponse<ConversationType>>;
3314
+ get(key: string): Promise<ConversationType>;
3315
+ create(request: CreateConversationTypeRequest): Promise<ConversationType>;
3316
+ update(key: string, request: UpdateConversationTypeRequest): Promise<ConversationType>;
3317
+ /** Idempotent create-or-update by key (PUT) — what `pro module deploy` calls. */
3318
+ upsert(key: string, request: CreateConversationTypeRequest): Promise<ConversationType>;
3319
+ delete(key: string): Promise<void>;
3320
+ }
3174
3321
  /** Batch transcription of stored audio files + materialization. */
3175
3322
  interface TranscriptionService {
3176
3323
  /**
@@ -3181,9 +3328,33 @@ interface TranscriptionService {
3181
3328
  createFromFile(request: CreateTranscriptionRequest): Promise<Transcription>;
3182
3329
  list(query?: ListTranscriptionsQuery): Promise<ListResponse<Transcription>>;
3183
3330
  get(id: string): Promise<Transcription>;
3331
+ /**
3332
+ * Edits a completed transcription (turn text, speaker labels, language).
3333
+ * Does NOT retro-update messages of an already-materialized conversation.
3334
+ */
3335
+ update(id: string, request: UpdateTranscriptionRequest): Promise<Transcription>;
3336
+ /**
3337
+ * Kicks off the mistranscription review pass (glossary-aware LLM hunt for
3338
+ * misheard terms) — resolves immediately with review_status `processing`;
3339
+ * poll `get(id)` until it flips to feedback_pending/completed/failed.
3340
+ */
3341
+ review(id: string): Promise<Transcription>;
3184
3342
  /** Turns a completed transcription into an adhoc/meeting conversation. */
3185
3343
  materialize(id: string, request?: MaterializeTranscriptionRequest): Promise<Conversation>;
3186
3344
  }
3345
+ /**
3346
+ * Findings of the post-transcription review pass: terms likely misheard by the
3347
+ * transcription provider, awaiting accept/reject. Accepting applies the
3348
+ * replacement to the transcription's turns and (optionally) promotes it into
3349
+ * the glossary; resolving the last open finding flips the transcription's
3350
+ * review_status to completed.
3351
+ */
3352
+ interface MistranscribedTermService {
3353
+ list(query?: ListMistranscribedTermsQuery): Promise<ListResponse<MistranscribedTerm>>;
3354
+ get(id: string): Promise<MistranscribedTerm>;
3355
+ accept(id: string, request?: AcceptMistranscribedTermRequest): Promise<MistranscribedTerm>;
3356
+ reject(id: string): Promise<MistranscribedTerm>;
3357
+ }
3187
3358
 
3188
3359
  /**
3189
3360
  * A single row from a query result. Keys match the result-set columns
@@ -5901,4 +6072,4 @@ declare class WorkflowClient {
5901
6072
  constructor(client: ProteosClient);
5902
6073
  }
5903
6074
 
5904
- export { AccountClient, type Action, type ActionBinding, ActionSchema, type ActionScope, ActionScopeSchema, type ActionService, type AddressFilterConfig, type Agent, type AgentActionParams, type AgentArtifactsPayload, AgentClient, type AgentListener, type AgentListenerService, type AgentListenerTriggerType, type AgentMessagePayload, type AgentResourceListOptions, type AgentService, type AllFilterConfig, type ApiErrorResponse, type AppendEventRequest, type AssignPermissionRequest, type AssignRoleRequest, type AttachContactAddressRequest, type Attachment, Attribute, AuditFields, type AuthListOptions, type AutomatedFilterConfig, type AutomatedSignal, type BatchTransactionError, BatchTransactionErrorSchema, type BatchTransactionStatus, type BatchUpsertRecordsResponse, BatchUpsertRecordsResponseSchema, type BatchUpsertTransaction, type BatchUpsertTransactionResult, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, type BinaryRef, type BlockContactRequest, type Channel, type ClientEventType, type ClientToolSchema, type Connection, type ConnectionCredentials, type ConnectionEndpoint, type ConnectionScope, type ConnectionService, type ConnectionStatus, type ConnectionSyncRange, type ConnectionSyncStatus, type Connector, 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 ContactAddressKind, type ContactAddressSource, type ContactErasureRequest, type ContactMergeProposal, type ContactRef, type ContactService, type ContactSource, type ContactStatus, type ContentBlock$1 as ContentBlock, type ContentMatch, type ContentResponse, type ContextCompactedPayload, type Conversation, ConversationClient, type ConversationFilter, type ConversationFilterAction, type ConversationFilterConfig, type ConversationFilterEvent, type ConversationFilterService, type ConversationFilterType, type ConversationParticipant, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type CreateAgentListenerRequest, type CreateAgentRequest, type CreateConnectionRequest, type CreateConnectorConnectionRequest, type CreateConversationFilterRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreatePromptRequest, type CreateRecordLinkRequest, type CreateRoleRequest, type CreateSessionRequest, type CreateToolRequest, type CreateUserRequest, type CreateWorkflowRequest, type CredentialSpec, type CronTriggerParams, DEFAULT_PORT, DataClient, type DependentAgent, type DependentSyncResult, type DispatchMeetingBotRequest, type DisplayOptions, type DomainFilterConfig, ERROR_PORT, type EditContentRequest, type EditContentResponse, type EmptyPayload, type ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, type EventTriggerParams, type EventType, type EventVerb, EventsClient, type ExecutionError, type ExecutionStatus, type ExecutionTriggerContext, type FileBlock, FileRef, type FileService, type FileVersionContent, type FilterMatchOn, FunctionsClient, type GetExecutionDetailResponse, type GetGraphOptions, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, type InlineLinkRequest, type InstallConnectionResponse, type InstallConnectorConnectionResponse, type InternalConversationsFilterConfig, 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 LabelService, type LinkService, type LinkType, type ListActionsOptions, type ListAgentListenersQuery, type ListAgentsOptions, type ListConnectionsQuery, type ListConnectorConnectionsQuery, type ListConnectorsQuery, type ListContactAddressesQuery, type ListContactMergeProposalsQuery, type ListContactsQuery, type ListConversationFilterEventsQuery, type ListConversationFiltersQuery, type ListConversationsQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, type ListMessagesQuery, type ListNodesOptions, ListOptions, type ListOrganizationsOptions, type ListPromptsOptions, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse, ListResult, type ListRolePermissionsOptions, type ListRolesOptions, type ListRoomsQuery, type ListSessionsOptions, type ListSkillsOptions, type ListToolsOptions, type ListUserRoleAssignmentsOptions, type ListUsersOptions, type ListWorkflowsOptions, type ManualTriggerParams, type MatchMode, type McpBinding, type McpConnectionState, type McpConnectionStatus, type McpServer, type McpServerAuth, type McpServerOAuth, type McpServerService, type McpToolSummary, type MeService, type MeetingService, type MergeContactsRequest, type MergeProposalStatus, type Message, type ContentBlock as MessageContentBlock, type MessageDirection, type MessagePreview, type MessageRecipient, type MessageService, type MessageStatus, type MessageTriggerParams, type ModelCallParams, type ModelConfig, type ModelRequestEndPayload, type ModelRequestStartPayload, 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 OnErrorPolicy, type Organization, OrganizationSchema, type OrganizationService, type OutlineHeading, type OutlineRequest, type OutlineResponse, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, PageIterator, type PairedItem, type ParseStatus, type Permission, type PermissionEventSource, type PermissionEventType, type PlatformEntity, type PlatformEvent, type PortSpec, type Prompt, type PromptService, type PromptVersion, type PropertyOption, type PropertyType, ProteosClient, ProteosError, PublicAccessOperation, type PublishEventRequest, 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 RecordLinkService, type RecordPermissionEventRequest, type RecordService, type RedriveResult, type ResultBlock, type Role, type RoleBasedFilterConfig, type RoleEntityPermission, RoleEntityPermissionSchema, RoleSchema, type RoleService, type Room, type RunWorkflowRequest, type SearchContentRequest, type SearchContentResponse, type SearchNodesRequest, type SendMessageRequest, type SendRecipient, type Session, type SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionService, type SessionStatus, type SessionStreamOptions, type SessionUpdatedPayload, type Skill, type SkillBundle, type SkillService, type SkillVersion, type StartMcpOAuthResponse, type StopReason, StorageClient, type StorageFile, type StorageFileVersion, type SyncConnectionRequest, type SystemSource, type TailOptions, type TestNodeCandidate, type TestNodeInputSource, type TestNodeRequest, type TestNodeResponse, type TextBlock, type Tool, type ToolBinding, type ToolConfirmationPayload, type ToolKind, type ToolResultPayload, type ToolService, type ToolUsePayload, type Topic, type TopicKind, type TopicService, type TranscribeStreamOptions, type TranscriptResult, type TriggerKind, type Turn, type UnreadCounts, type UpdateAgentListenerRequest, type UpdateAgentRequest, type UpdateConnectionRequest, type UpdateConnectorConnectionRequest, type UpdateContactRequest, type UpdateConversationFilterRequest, type UpdateDraftRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePromptRequest, type UpdateRoleRequest, type UpdateToolRequest, type UpdateUserRequest, type UpdateWorkflowRequest, type User, type UserMessagePayload, UserRef$2 as UserRef, type UserRoleAssignment, UserRoleAssignmentSchema, UserSchema, type UserService, type VoiceService, type VoiceTranscriptionStream, type WebhookTriggerParams, 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, isUnauthorized, parseErrorResponse, toQueryParams, toQueryString };
6075
+ export { type AcceptMistranscribedTermRequest, AccountClient, type Action, type ActionBinding, ActionSchema, type ActionScope, ActionScopeSchema, type ActionService, type AddressFilterConfig, type Agent, type AgentActionParams, type AgentArtifactsPayload, AgentClient, type AgentListener, type AgentListenerService, type AgentListenerTriggerType, type AgentMessagePayload, type AgentResourceListOptions, type AgentService, type AllFilterConfig, type ApiErrorResponse, type AppendEventRequest, type AssignPermissionRequest, type AssignRoleRequest, type AttachContactAddressRequest, type Attachment, Attribute, AuditFields, type AuthListOptions, type AutomatedFilterConfig, type AutomatedSignal, type BatchTransactionError, BatchTransactionErrorSchema, type BatchTransactionStatus, type BatchUpsertRecordsResponse, BatchUpsertRecordsResponseSchema, type BatchUpsertTransaction, type BatchUpsertTransactionResult, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, type BinaryRef, type BlockContactRequest, type Channel, type ClientEventType, type ClientToolSchema, type Connection, type ConnectionCredentials, type ConnectionEndpoint, type ConnectionScope, type ConnectionService, type ConnectionStatus, type ConnectionSyncRange, type ConnectionSyncStatus, type Connector, 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 ContactAddressKind, type ContactAddressSource, type ContactErasureRequest, type ContactMergeProposal, type ContactRef, type ContactService, type ContactSource, type ContactStatus, type ContentBlock$1 as ContentBlock, type ContentMatch, type ContentResponse, type ContextCompactedPayload, type Conversation, ConversationClient, type ConversationFilter, type ConversationFilterAction, type ConversationFilterConfig, type ConversationFilterEvent, type ConversationFilterService, type ConversationFilterType, type ConversationParticipant, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type ConversationType, type ConversationTypeConfig, type ConversationTypeService, type CreateAgentListenerRequest, type CreateAgentRequest, type CreateConnectionRequest, type CreateConnectorConnectionRequest, type CreateConversationFilterRequest, type CreateConversationTypeRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreatePromptRequest, type CreateRecordLinkRequest, type CreateRoleRequest, type CreateSessionRequest, type CreateToolRequest, type CreateUserRequest, type CreateWorkflowRequest, type CredentialSpec, type CronTriggerParams, DEFAULT_PORT, DataClient, type DependentAgent, type DependentSyncResult, type DispatchMeetingBotRequest, type DisplayOptions, type DomainFilterConfig, ERROR_PORT, type EditContentRequest, type EditContentResponse, type EmptyPayload, type ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, type EventTriggerParams, type EventType, type EventVerb, EventsClient, type ExecutionError, type ExecutionStatus, type ExecutionTriggerContext, type FileBlock, FileRef, type FileService, type FileVersionContent, type FilterMatchOn, FunctionsClient, type GetExecutionDetailResponse, type GetGraphOptions, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, type InlineLinkRequest, type InstallConnectionResponse, type InstallConnectorConnectionResponse, type InternalConversationsFilterConfig, 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 LabelService, type LinkService, type LinkType, type ListActionsOptions, type ListAgentListenersQuery, type ListAgentsOptions, type ListConnectionsQuery, type ListConnectorConnectionsQuery, type ListConnectorsQuery, type ListContactAddressesQuery, type ListContactMergeProposalsQuery, type ListContactsQuery, type ListConversationFilterEventsQuery, type ListConversationFiltersQuery, type ListConversationTypesQuery, type ListConversationsQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, type ListMessagesQuery, type ListMistranscribedTermsQuery, type ListNodesOptions, ListOptions, type ListOrganizationsOptions, type ListPromptsOptions, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse, ListResult, type ListRolePermissionsOptions, type ListRolesOptions, type ListRoomsQuery, type ListSessionsOptions, type ListSkillsOptions, type ListToolsOptions, type ListUserRoleAssignmentsOptions, type ListUsersOptions, type ListWorkflowsOptions, type ManualTriggerParams, type MatchMode, type McpBinding, type McpConnectionState, type McpConnectionStatus, type McpServer, type McpServerAuth, type McpServerOAuth, type McpServerService, type McpToolSummary, type MeService, type MeetingService, type MergeContactsRequest, type MergeProposalStatus, type Message, type ContentBlock as MessageContentBlock, type MessageDirection, type MessagePreview, type MessageRecipient, type MessageService, type MessageStatus, type MessageTriggerParams, type MistranscribedTerm, type MistranscribedTermService, type MistranscribedTermStatus, type MistranscriptionSuggestionSource, type ModelCallParams, type ModelConfig, type ModelRequestEndPayload, type ModelRequestStartPayload, 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 OnErrorPolicy, type Organization, OrganizationSchema, type OrganizationService, type OutlineHeading, type OutlineRequest, type OutlineResponse, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, PageIterator, type PairedItem, type ParseStatus, type Permission, type PermissionEventSource, type PermissionEventType, type PlatformEntity, type PlatformEvent, type PortSpec, type Prompt, type PromptService, type PromptVersion, type PropertyOption, type PropertyType, ProteosClient, ProteosError, PublicAccessOperation, type PublishEventRequest, 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 RecordLinkService, type RecordPermissionEventRequest, type RecordService, type RedriveResult, type ResultBlock, type Role, type RoleBasedFilterConfig, type RoleEntityPermission, RoleEntityPermissionSchema, RoleSchema, type RoleService, type Room, type RunWorkflowRequest, type SearchContentRequest, type SearchContentResponse, type SearchNodesRequest, type SendMessageRequest, type SendRecipient, type Session, type SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionService, type SessionStatus, type SessionStreamOptions, type SessionUpdatedPayload, type Skill, type SkillBundle, type SkillService, type SkillVersion, type StartMcpOAuthResponse, type StopReason, StorageClient, type StorageFile, type StorageFileVersion, type SyncConnectionRequest, type SystemSource, type TailOptions, type TestNodeCandidate, type TestNodeInputSource, type TestNodeRequest, type TestNodeResponse, type TextBlock, type Tool, type ToolBinding, type ToolConfirmationPayload, type ToolKind, type ToolResultPayload, type ToolService, type ToolUsePayload, type Topic, type TopicKind, type TopicService, type TranscribeStreamOptions, type TranscriptResult, type TranscriptTurn, type Transcription, type TranscriptionReviewStatus, type TranscriptionStatus, type TriggerKind, type Turn, type UnreadCounts, type UpdateAgentListenerRequest, type UpdateAgentRequest, type UpdateConnectionRequest, type UpdateConnectorConnectionRequest, type UpdateContactRequest, type UpdateConversationFilterRequest, type UpdateConversationTypeRequest, type UpdateDraftRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePromptRequest, type UpdateRoleRequest, type UpdateToolRequest, type UpdateUserRequest, type UpdateWorkflowRequest, type User, type UserMessagePayload, UserRef$2 as UserRef, type UserRoleAssignment, UserRoleAssignmentSchema, UserSchema, type UserService, type VoiceService, type VoiceTranscriptionStream, type WebhookTriggerParams, 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, isUnauthorized, parseErrorResponse, toQueryParams, toQueryString };