@proteos/sdk 0.89.0 → 0.91.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/index.d.cts CHANGED
@@ -46,6 +46,13 @@ interface ModelConfig {
46
46
  * where the chat is shown.
47
47
  */
48
48
  type AgentRuntime = 'durable' | 'embedded' | 'sandbox';
49
+ /**
50
+ * When an agent's voice speaks in a voice session. `conversational` answers
51
+ * everything the person says. `listener` sits in on people who talk to each
52
+ * other and speaks only when addressed by the agent's name. `moderator` does
53
+ * the same and also speaks up when the conversation has gone quiet.
54
+ */
55
+ type AgentVoiceStyle = 'conversational' | 'listener' | 'moderator';
49
56
  /**
50
57
  * A configured persona: a system prompt + model config + the skills, tools,
51
58
  * sub-agents and MCP servers it can use. All references are by key (immutable):
@@ -83,6 +90,9 @@ interface Agent extends AuditFields {
83
90
  * (personal) knowledge space.
84
91
  */
85
92
  has_memory: boolean;
93
+ /** When the agent's voice speaks in a voice session. A change applies to the
94
+ * next voice session. */
95
+ voice_style: AgentVoiceStyle;
86
96
  /** What runs this agent's sessions. A session keeps the runtime it was created with. */
87
97
  runtime: AgentRuntime;
88
98
  version: number;
@@ -104,6 +114,8 @@ interface CreateAgentRequest {
104
114
  has_memory?: boolean;
105
115
  /** Defaults to `durable`. */
106
116
  runtime?: AgentRuntime;
117
+ /** Defaults to `conversational`. */
118
+ voice_style?: AgentVoiceStyle;
107
119
  }
108
120
  interface UpdateAgentRequest {
109
121
  name?: string;
@@ -120,6 +132,7 @@ interface UpdateAgentRequest {
120
132
  has_workspace?: boolean;
121
133
  has_memory?: boolean;
122
134
  runtime?: AgentRuntime;
135
+ voice_style?: AgentVoiceStyle;
123
136
  }
124
137
  type ListAgentsOptions = AgentResourceListOptions;
125
138
  /**
@@ -568,6 +581,11 @@ interface Session extends AuditFields {
568
581
  ended_at: string | null;
569
582
  /** Who ended it; null unless `status` is `ended` (and on sessions ended by the platform). */
570
583
  ended_by: UserRef$2 | null;
584
+ /**
585
+ * Whether the voice provider records the voice sessions of this session (see
586
+ * {@link CreateSessionRequest.is_voice_recorded}). Set at create, never changed.
587
+ */
588
+ is_voice_recorded: boolean;
571
589
  }
572
590
  /**
573
591
  * What a session's preview shows: `serving` at `url`; `no_module` when the
@@ -630,9 +648,12 @@ interface ContentBlock$1 extends FileBlock {
630
648
  * under `image`; `json` carries an arbitrary raw object.
631
649
  */
632
650
  interface ResultBlock {
633
- type: 'text' | 'image' | 'json';
651
+ type: 'text' | 'image' | 'file' | 'json';
634
652
  text?: string;
653
+ /** A stored image (type `image`). The model sees it when it reads images. */
635
654
  image?: FileBlock;
655
+ /** Any other stored file, such as a PDF (type `file`). */
656
+ file?: FileBlock;
636
657
  json?: unknown;
637
658
  }
638
659
  /**
@@ -805,21 +826,33 @@ interface VoiceRequestPayload {
805
826
  /** Model-only text the page sent with the request; never rendered. */
806
827
  context?: string;
807
828
  }
808
- /** Voice was entered on the session. */
829
+ /**
830
+ * Voice was entered on the session. `transferred_from_session_id` is set when
831
+ * it was not entered here but came with the person: the session they were
832
+ * handed over from, or handed back from.
833
+ */
809
834
  interface VoiceStartedPayload {
810
835
  voice_session_id: string;
836
+ transferred_from_session_id?: string;
811
837
  }
812
- /** Why a voice session ended. `superseded` is never reported by a page. */
813
- type VoiceEndReason = 'user' | 'idle' | 'max_duration' | 'session_ended' | 'browser_left' | 'provider_closed' | 'superseded';
838
+ /**
839
+ * Why a voice session ended. `superseded` and `transferred` are never reported
840
+ * by a page. `transferred` is the reason of the `session.voice_ended` in the log
841
+ * of a session the person was handed over from: the voice session itself goes on
842
+ * in the session they were handed to.
843
+ */
844
+ type VoiceEndReason = 'user' | 'idle' | 'max_duration' | 'session_ended' | 'browser_left' | 'provider_closed' | 'superseded' | 'transferred';
814
845
  /**
815
846
  * Voice was left: why, and how long the voice session lasted: what the voice
816
847
  * provider says, or the time since voice was entered when the page went away
817
- * without it (null when nobody learned it).
848
+ * without it (null when nobody learned it). With `transferred` the voice session
849
+ * goes on in `transferred_to_session_id`, and no duration is known yet.
818
850
  */
819
851
  interface VoiceEndedPayload {
820
852
  voice_session_id: string;
821
853
  end_reason: VoiceEndReason;
822
854
  duration_seconds: number | null;
855
+ transferred_to_session_id?: string;
823
856
  }
824
857
  /** Opens a model-request span. */
825
858
  interface ModelRequestStartPayload {
@@ -974,6 +1007,18 @@ interface CreateSessionRequest {
974
1007
  agent_key: string;
975
1008
  title?: string;
976
1009
  client_tools?: ClientToolSchema[];
1010
+ /**
1011
+ * Replaces the voice assistant's instructions in the voice sessions of this
1012
+ * session, at most 40,000 characters. `{{delegate}}` and `{{do_not_delegate}}` in them stand
1013
+ * for the words the voice model in use is told to hand a request over with, and
1014
+ * not to; the service fills them in. No response or event returns them.
1015
+ */
1016
+ voice_instructions?: string;
1017
+ /**
1018
+ * The voice provider records the voice sessions of this session; a recording
1019
+ * is read with `sessions.getVoiceRecording`.
1020
+ */
1021
+ is_voice_recorded?: boolean;
977
1022
  }
978
1023
  /**
979
1024
  * Posts a client event onto a session. Only client-postable `user.*` types are
@@ -1008,11 +1053,13 @@ interface AppendEventRequest {
1008
1053
  * One time a person talked to a session's agent through the voice assistant. The
1009
1054
  * assistant listens and speaks; what was said is in the session's event log
1010
1055
  * (`user.speech`, `agent.speech`) and everything asked for runs as turns of the
1011
- * session. A session has at most one active voice session.
1056
+ * session. A session has at most one active voice session. A hand-over moves the
1057
+ * voice session to the session the person is handed to, and back.
1012
1058
  */
1013
1059
  interface VoiceSession {
1014
1060
  id: string;
1015
1061
  org_id: string;
1062
+ /** The session the person talks to. */
1016
1063
  session_id: string;
1017
1064
  status: 'active' | 'ended';
1018
1065
  /** Null while it is active. */
@@ -1020,6 +1067,10 @@ interface VoiceSession {
1020
1067
  /** How long it lasted: what the voice provider says, or the time since voice
1021
1068
  * was entered when the page went away without it. Null when not known. */
1022
1069
  duration_seconds: number | null;
1070
+ /** How much of `duration_seconds` the voice model was paused (standby):
1071
+ * nobody spoke, and the provider bills that time at its lower rate. Null when
1072
+ * not known. */
1073
+ standby_seconds: number | null;
1023
1074
  created_by: UserRef$2;
1024
1075
  created_at: string;
1025
1076
  ended_at: string | null;
@@ -1035,10 +1086,20 @@ interface StartVoiceRequest {
1035
1086
  interface StartVoiceResponse {
1036
1087
  voice_session: VoiceSession;
1037
1088
  sdp_answer: string;
1038
- /** How long nobody may speak before the page leaves voice. */
1089
+ /** How long nobody may speak, while the voice model listens, before the page
1090
+ * leaves voice. */
1039
1091
  idle_timeout_seconds: number;
1040
1092
  /** How long a voice session may last at most. */
1041
1093
  max_duration_seconds: number;
1094
+ /** How long nobody speaks before the voice provider pauses the voice model
1095
+ * (standby); speech wakes it. 0: it never pauses. */
1096
+ standby_after_seconds: number;
1097
+ /** How long the voice model may stay paused in one stretch before the page
1098
+ * leaves voice. */
1099
+ max_standby_seconds: number;
1100
+ /** When the voice of the session's agent speaks: the page tells a
1101
+ * moderator's voice model when the conversation has gone quiet. */
1102
+ voice_style: AgentVoiceStyle;
1042
1103
  }
1043
1104
  /** One finished utterance as the page heard it from the voice provider. */
1044
1105
  interface SpeechSegment {
@@ -1077,12 +1138,40 @@ interface AppendSpeechRequest {
1077
1138
  */
1078
1139
  interface EndVoiceRequest {
1079
1140
  voice_session_id: string;
1080
- end_reason: Exclude<VoiceEndReason, 'superseded'>;
1141
+ end_reason: Exclude<VoiceEndReason, 'superseded' | 'transferred'>;
1081
1142
  duration_seconds?: number | null;
1143
+ /** How much of `duration_seconds` the voice model was paused, as the voice
1144
+ * provider says. */
1145
+ standby_seconds?: number | null;
1082
1146
  /** What was said since the last speech report: a page that is being closed
1083
1147
  * has one request left to send. */
1084
1148
  segments?: SpeechSegment[];
1085
1149
  }
1150
+ /**
1151
+ * Moves the session's active voice session to another session, when the person
1152
+ * is handed over to it or handed back. The connection to the voice provider
1153
+ * stays as it is; what the person asks for next runs as turns of the target.
1154
+ */
1155
+ interface TransferVoiceRequest {
1156
+ /** The voice session the page started (see {@link AppendSpeechRequest}). */
1157
+ voice_session_id: string;
1158
+ /** A session the session delegated to, or the one that delegated to it. */
1159
+ target_session_id: string;
1160
+ }
1161
+ /**
1162
+ * The voice session on its new session, and the `session.voice_started` written
1163
+ * to that session's log: what the log holds up to it was not said to the voice
1164
+ * model.
1165
+ */
1166
+ interface TransferVoiceResponse {
1167
+ voice_session: VoiceSession;
1168
+ started: SessionEvent;
1169
+ /** The voice style of the agent the voice speaks for now. */
1170
+ voice_style: AgentVoiceStyle;
1171
+ /** Whether a turn of that session runs, as its log says up to `started`.
1172
+ * The page follows the log from `started` on. */
1173
+ is_turn_running: boolean;
1174
+ }
1086
1175
  /** List filter for sessions (in addition to pagination/sorting). */
1087
1176
  interface ListSessionsOptions extends ListOptions {
1088
1177
  /** Filter by the agent the session runs. */
@@ -1230,6 +1319,8 @@ interface ModelInfo {
1230
1319
  runtimes: AgentRuntime[];
1231
1320
  /** Tokens one request can hold, input and output together. Absent when unknown. */
1232
1321
  context_window?: number;
1322
+ /** Whether the model reads images and PDFs sent with the conversation. */
1323
+ supports_images: boolean;
1233
1324
  }
1234
1325
  /**
1235
1326
  * Why the model stopped generating. An open string so a new provider reason
@@ -1565,6 +1656,16 @@ interface SessionService {
1565
1656
  * talked to by voice; 501 `voice_disabled`; 502 `voice_provider_failed`.
1566
1657
  */
1567
1658
  startVoice(id: string, request: StartVoiceRequest): Promise<StartVoiceResponse>;
1659
+ /**
1660
+ * Moves the session's active voice session to a session it delegated to, or
1661
+ * to the one that delegated to it: the person was handed over and talks to
1662
+ * that session's agent from here on. The page keeps its connection to the
1663
+ * voice provider and reports to the target session from then on.
1664
+ * @throws {ProteosError} 400 `invalid_voice_request` when the target is
1665
+ * neither; 409 `voice_not_supported` when the target is over; 409
1666
+ * `voice_session_not_active`.
1667
+ */
1668
+ transferVoice(id: string, request: TransferVoiceRequest): Promise<TransferVoiceResponse>;
1568
1669
  /**
1569
1670
  * Reports what was said in the session's active voice session and returns the
1570
1671
  * events written. With `starts_turn` the last of them is the
@@ -1579,6 +1680,19 @@ interface SessionService {
1579
1680
  * @throws {ProteosError} 409 `voice_session_not_active`.
1580
1681
  */
1581
1682
  endVoice(id: string, request: EndVoiceRequest, requestOptions?: RequestOptions): Promise<VoiceSession>;
1683
+ /**
1684
+ * The voice provider's recording of an ended voice session of the session, for
1685
+ * a session created with `is_voice_recorded`: a WAV file (16-bit PCM, stereo,
1686
+ * the person on the left channel and the voice assistant on the right). The
1687
+ * ids of a session's voice sessions are in its `session.voice_started` and
1688
+ * `session.voice_ended` events. `options.timeout` covers reading the whole
1689
+ * file, so raise it for a long recording.
1690
+ * @throws {ProteosError} 404 `voice_recording_not_found` when the voice session
1691
+ * is not one of this session or was not recorded; 409
1692
+ * `voice_recording_not_ready` while the voice session is active or the provider
1693
+ * does not have the recording yet (ask again).
1694
+ */
1695
+ getVoiceRecording(id: string, voiceSessionId: string, requestOptions?: RequestOptions): Promise<Blob>;
1582
1696
  }
1583
1697
 
1584
1698
  /**
@@ -3298,6 +3412,8 @@ interface Connector {
3298
3412
  title: string;
3299
3413
  description?: string;
3300
3414
  icon?: string;
3415
+ /** Brand logo: an https URL or an app-relative path; `icon` is the fallback. */
3416
+ logo_url?: string;
3301
3417
  credential_kind: CredentialKind;
3302
3418
  /** Every kind a connection may use; absent/empty = exactly [credential_kind]. */
3303
3419
  supported_credential_kinds?: CredentialKind[];
@@ -8627,6 +8743,230 @@ interface ListResponse$1<T> {
8627
8743
  meta: ResponseMeta$1;
8628
8744
  data: T[];
8629
8745
  }
8746
+ type DiscoveryInterviewDefinitionStatus = 'draft' | 'published' | 'closed';
8747
+ /** `invited`: only the people assigned; `organization`: anyone signed in to the org. */
8748
+ type DiscoveryInterviewAccess = 'invited' | 'organization';
8749
+ /** How far the agent follows up on a question: not at all, once, up to three times. */
8750
+ type DiscoveryInterviewProbing = 'none' | 'light' | 'deep';
8751
+ type DiscoveryInterviewStatus = 'invited' | 'in_progress' | 'completed' | 'cancelled';
8752
+ /** `''` until the participant chose one at start. */
8753
+ type DiscoveryInterviewMode = '' | 'voice' | 'chat';
8754
+ /** `''` until the interview is completed. */
8755
+ type DiscoveryInterviewSynthesisStatus = '' | 'pending' | 'completed' | 'failed';
8756
+ type DiscoveryInterviewCoverage = 'covered' | 'partial' | 'not_covered';
8757
+ type DiscoveryInterviewSpeaker = 'interviewer' | 'participant';
8758
+ type DiscoveryInterviewGuideRule = 'double_barreled' | 'leading' | 'hypothetical' | 'closed' | 'too_long' | 'too_many_questions' | 'long_interview';
8759
+ type DiscoveryInterviewBlockedReason = '' | 'not_invited' | 'not_published' | 'closed' | 'completed';
8760
+ interface DiscoveryInterviewQuestion {
8761
+ id: string;
8762
+ position: number;
8763
+ text: string;
8764
+ /** What the answer should tell us. For the agent only. */
8765
+ intent: string;
8766
+ /** What to dig into when following up. For the agent only. */
8767
+ follow_up_guidance: string;
8768
+ probing: DiscoveryInterviewProbing;
8769
+ /** The agent may skip a question that is not required when time runs out. */
8770
+ is_required: boolean;
8771
+ }
8772
+ /** A hint on the guide, derived on read. `question_id` is `''` for the guide as a whole. */
8773
+ interface DiscoveryInterviewGuideFinding {
8774
+ question_id: string;
8775
+ rule: DiscoveryInterviewGuideRule;
8776
+ message: string;
8777
+ }
8778
+ interface DiscoveryInterviewCounts {
8779
+ invited: number;
8780
+ in_progress: number;
8781
+ completed: number;
8782
+ }
8783
+ interface DiscoveryInterviewDefinition {
8784
+ id: string;
8785
+ org_id: string;
8786
+ title: string;
8787
+ /** For the participant: what to expect. */
8788
+ description: string;
8789
+ expected_duration_minutes: number;
8790
+ /** For the agent: what we want to find out. */
8791
+ objective: string;
8792
+ /** For the agent: context, terms, who the participants are. */
8793
+ background: string;
8794
+ questions: DiscoveryInterviewQuestion[];
8795
+ agent_key: string;
8796
+ agent_name: string;
8797
+ agent_runtime: string;
8798
+ /** `''` follows the participant's language. */
8799
+ language: string;
8800
+ access: DiscoveryInterviewAccess;
8801
+ /** Knowledge space the result nodes go to; `''` writes no node. */
8802
+ space_slug: string;
8803
+ status: DiscoveryInterviewDefinitionStatus;
8804
+ published_at?: string | null;
8805
+ closed_at?: string | null;
8806
+ interview_counts: DiscoveryInterviewCounts;
8807
+ /** Detail read only. */
8808
+ guide_findings?: DiscoveryInterviewGuideFinding[];
8809
+ created_at: string;
8810
+ created_by: UserRef$2;
8811
+ updated_at: string;
8812
+ updated_by: UserRef$2;
8813
+ }
8814
+ /** A question as it is sent: without an id it is new, the array order is the position. */
8815
+ interface DiscoveryInterviewQuestionRequest {
8816
+ id?: string;
8817
+ text: string;
8818
+ intent?: string;
8819
+ follow_up_guidance?: string;
8820
+ probing?: DiscoveryInterviewProbing;
8821
+ is_required?: boolean;
8822
+ }
8823
+ interface CreateDiscoveryInterviewDefinitionRequest {
8824
+ title: string;
8825
+ description?: string;
8826
+ expected_duration_minutes?: number;
8827
+ objective?: string;
8828
+ background?: string;
8829
+ questions?: DiscoveryInterviewQuestionRequest[];
8830
+ agent_key?: string;
8831
+ language?: string;
8832
+ access?: DiscoveryInterviewAccess;
8833
+ space_slug?: string;
8834
+ }
8835
+ /**
8836
+ * Partial edit. `questions` replaces the list. Questions, objective,
8837
+ * background, agent and language can only change while the definition is a
8838
+ * draft.
8839
+ */
8840
+ type UpdateDiscoveryInterviewDefinitionRequest = Partial<CreateDiscoveryInterviewDefinitionRequest>;
8841
+ interface ListDiscoveryInterviewDefinitionsQuery {
8842
+ status?: DiscoveryInterviewDefinitionStatus;
8843
+ page?: number;
8844
+ page_size?: number;
8845
+ sort_by?: string;
8846
+ sort_direction?: 'asc' | 'desc';
8847
+ }
8848
+ interface DiscoveryInterviewAnswer {
8849
+ question_id: string;
8850
+ coverage: DiscoveryInterviewCoverage;
8851
+ answer: string;
8852
+ /** The participant's own words. */
8853
+ quotes: string[];
8854
+ }
8855
+ interface DiscoveryInterviewRecording {
8856
+ voice_session_id: string;
8857
+ file_id: string;
8858
+ mime_type: string;
8859
+ duration_ms: number;
8860
+ size_bytes: number;
8861
+ }
8862
+ interface DiscoveryInterviewTranscriptTurn {
8863
+ speaker: DiscoveryInterviewSpeaker;
8864
+ text: string;
8865
+ at: string;
8866
+ /** Voice only; 0 in a chat interview. */
8867
+ start_ms: number;
8868
+ end_ms: number;
8869
+ }
8870
+ /** The guide as it was when the interview started. */
8871
+ interface DiscoveryInterviewGuide {
8872
+ title: string;
8873
+ objective: string;
8874
+ background: string;
8875
+ expected_duration_minutes: number;
8876
+ language: string;
8877
+ questions: DiscoveryInterviewQuestion[];
8878
+ }
8879
+ interface DiscoveryInterview {
8880
+ id: string;
8881
+ org_id: string;
8882
+ definition_id: string;
8883
+ participant: UserRef$2;
8884
+ participant_name: string;
8885
+ status: DiscoveryInterviewStatus;
8886
+ mode: DiscoveryInterviewMode;
8887
+ /** The author's own trial run; kept out of results. */
8888
+ is_preview: boolean;
8889
+ session_id: string;
8890
+ agent_key: string;
8891
+ consented_at?: string | null;
8892
+ started_at?: string | null;
8893
+ completed_at?: string | null;
8894
+ duration_seconds: number;
8895
+ synthesis_status: DiscoveryInterviewSynthesisStatus;
8896
+ summary: string;
8897
+ learnings: string[];
8898
+ open_questions: string[];
8899
+ answers: DiscoveryInterviewAnswer[];
8900
+ knowledge_node_id: string;
8901
+ recordings: DiscoveryInterviewRecording[];
8902
+ invited_at?: string | null;
8903
+ invited_by?: UserRef$2 | null;
8904
+ created_at: string;
8905
+ updated_at: string;
8906
+ /** Detail read only. */
8907
+ guide?: DiscoveryInterviewGuide;
8908
+ /** Detail read only. */
8909
+ transcript?: DiscoveryInterviewTranscriptTurn[];
8910
+ }
8911
+ interface InviteDiscoveryInterviewParticipantsRequest {
8912
+ user_ids: string[];
8913
+ }
8914
+ interface ListDiscoveryInterviewsQuery {
8915
+ definition_id: string;
8916
+ status?: DiscoveryInterviewStatus;
8917
+ is_preview?: boolean;
8918
+ page?: number;
8919
+ page_size?: number;
8920
+ sort_by?: string;
8921
+ sort_direction?: 'asc' | 'desc';
8922
+ }
8923
+ /** What the participant's page may know of the definition: never the guide. */
8924
+ interface DiscoveryInterviewParticipationDefinition {
8925
+ id: string;
8926
+ title: string;
8927
+ description: string;
8928
+ expected_duration_minutes: number;
8929
+ status: DiscoveryInterviewDefinitionStatus;
8930
+ access: DiscoveryInterviewAccess;
8931
+ agent_key: string;
8932
+ agent_name: string;
8933
+ agent_runtime: string;
8934
+ question_count: number;
8935
+ requested_by: UserRef$2;
8936
+ }
8937
+ /** The caller's own interview, as their page sees it. */
8938
+ interface DiscoveryInterviewParticipationInterview {
8939
+ id: string;
8940
+ status: DiscoveryInterviewStatus;
8941
+ mode: DiscoveryInterviewMode;
8942
+ is_preview: boolean;
8943
+ session_id: string;
8944
+ agent_key: string;
8945
+ started_at?: string | null;
8946
+ completed_at?: string | null;
8947
+ synthesis_status: DiscoveryInterviewSynthesisStatus;
8948
+ summary: string;
8949
+ learnings: string[];
8950
+ /**
8951
+ * The interview guide as the session's agent is given it: the model-only
8952
+ * context of the first message the agent reads. Only the answer of a start
8953
+ * carries it. The page sends it with the first spoken request or typed
8954
+ * message when the session's log does not hold it yet (an interview that
8955
+ * started by voice).
8956
+ */
8957
+ guide_context?: string;
8958
+ }
8959
+ interface DiscoveryInterviewParticipation {
8960
+ definition: DiscoveryInterviewParticipationDefinition;
8961
+ can_participate: boolean;
8962
+ blocked_reason: DiscoveryInterviewBlockedReason;
8963
+ interview: DiscoveryInterviewParticipationInterview | null;
8964
+ }
8965
+ interface StartDiscoveryInterviewParticipationRequest {
8966
+ mode: 'voice' | 'chat';
8967
+ has_consented: boolean;
8968
+ is_preview?: boolean;
8969
+ }
8630
8970
 
8631
8971
  /**
8632
8972
  * Facade for discovery-service: the evidence users send Proteos (screenshots,
@@ -8637,6 +8977,11 @@ interface ListResponse$1<T> {
8637
8977
  * from what was said in a recording. `platform` is the Proteos-side view
8638
8978
  * across every org; it answers only to platform admins.
8639
8979
  *
8980
+ * `interviewDefinitions` are the interview guides an admin writes and
8981
+ * `interviews` what each participant's interview came to. Both also carry the
8982
+ * participant's own calls (`getParticipation`, `startParticipation`,
8983
+ * `complete`), which answer to the person interviewed, not to a grant.
8984
+ *
8640
8985
  * ```ts
8641
8986
  * const discovery = new DiscoveryClient(client)
8642
8987
  * const sent = await discovery.evidence.create({ kind: 'feedback', source: 'web', notes, context })
@@ -8648,6 +8993,8 @@ declare class DiscoveryClient {
8648
8993
  readonly evidence: DiscoveryEvidenceService;
8649
8994
  readonly narrations: DiscoveryEvidenceNarrationService;
8650
8995
  readonly platform: PlatformDiscoveryEvidenceService;
8996
+ readonly interviewDefinitions: DiscoveryInterviewDefinitionService;
8997
+ readonly interviews: DiscoveryInterviewService;
8651
8998
  constructor(client: ProteosClient);
8652
8999
  }
8653
9000
  /** The submitter's door: create, read back, edit the words, withdraw. */
@@ -8681,6 +9028,47 @@ interface PlatformDiscoveryEvidenceService {
8681
9028
  updateStatus(id: string, request: UpdateDiscoveryEvidenceStatusRequest): Promise<DiscoveryEvidence>;
8682
9029
  createDownloadUrl(id: string, fileId: string): Promise<DiscoveryEvidenceDownloadUrl>;
8683
9030
  }
9031
+ /**
9032
+ * Interview definitions: the guide (objective, questions, agent) and who it is
9033
+ * for. The last two methods are the participant's: what their page shows
9034
+ * before the interview, and starting or resuming their own interview.
9035
+ */
9036
+ interface DiscoveryInterviewDefinitionService {
9037
+ create(request: CreateDiscoveryInterviewDefinitionRequest): Promise<DiscoveryInterviewDefinition>;
9038
+ list(query?: ListDiscoveryInterviewDefinitionsQuery): Promise<ListResponse$1<DiscoveryInterviewDefinition>>;
9039
+ /** The detail read; carries `guide_findings`. */
9040
+ get(id: string): Promise<DiscoveryInterviewDefinition>;
9041
+ update(id: string, request: UpdateDiscoveryInterviewDefinitionRequest): Promise<DiscoveryInterviewDefinition>;
9042
+ /** Deletes the definition with its interviews and their recordings. */
9043
+ delete(id: string): Promise<void>;
9044
+ publish(id: string): Promise<DiscoveryInterviewDefinition>;
9045
+ /** Nobody can start or continue; results stay readable. */
9046
+ close(id: string): Promise<DiscoveryInterviewDefinition>;
9047
+ reopen(id: string): Promise<DiscoveryInterviewDefinition>;
9048
+ /** Assigns users; people already assigned are returned unchanged. */
9049
+ invite(id: string, request: InviteDiscoveryInterviewParticipantsRequest): Promise<DiscoveryInterview[]>;
9050
+ getParticipation(id: string): Promise<DiscoveryInterviewParticipation>;
9051
+ startParticipation(id: string, request: StartDiscoveryInterviewParticipationRequest): Promise<DiscoveryInterviewParticipation>;
9052
+ }
9053
+ /**
9054
+ * Interviews of a definition, for whoever can read it. `complete` and
9055
+ * `getParticipation` are the participant's.
9056
+ */
9057
+ interface DiscoveryInterviewService {
9058
+ list(query: ListDiscoveryInterviewsQuery): Promise<ListResponse$1<DiscoveryInterview>>;
9059
+ /** The detail read; carries the guide snapshot and the transcript. */
9060
+ get(id: string): Promise<DiscoveryInterview>;
9061
+ /** Sends the invitation again. */
9062
+ remind(id: string): Promise<void>;
9063
+ /** Reruns a synthesis that failed. */
9064
+ synthesize(id: string): Promise<DiscoveryInterview>;
9065
+ /** Withdraws an invitation or deletes a result with its recordings. */
9066
+ delete(id: string): Promise<void>;
9067
+ createDownloadUrl(id: string, fileId: string): Promise<DiscoveryEvidenceDownloadUrl>;
9068
+ /** Ends the caller's interview and starts the synthesis. Safe to repeat. */
9069
+ complete(id: string): Promise<DiscoveryInterviewParticipation>;
9070
+ getParticipation(id: string): Promise<DiscoveryInterviewParticipation>;
9071
+ }
8684
9072
 
8685
9073
  /**
8686
9074
  * Common error codes returned by the Proteos API.
@@ -9407,7 +9795,7 @@ declare function toQueryString(params: URLSearchParams): string;
9407
9795
  declare function buildUrl(baseUrl: string, path: string, query?: object): string;
9408
9796
 
9409
9797
  /** A node's kind. `markdown` is authored; `file`/`url` bodies are derived. */
9410
- type NodeType = 'markdown' | 'file' | 'url';
9798
+ type NodeType = 'markdown' | 'file' | 'url' | 'whiteboard';
9411
9799
  /** Lifecycle state of a node. */
9412
9800
  type NodeStatus = 'draft' | 'published' | 'archived';
9413
9801
  /** Typed edge kinds in the knowledge graph. */
@@ -9882,11 +10270,46 @@ interface ListLabelsOptions extends ListOptions {
9882
10270
  name?: string;
9883
10271
  'name[contains]'?: string;
9884
10272
  }
10273
+ /**
10274
+ * A reusable piece of a whiteboard (a layout, a card, a notation shape),
10275
+ * shared with the whole org. Lists return this; `get` adds the elements.
10276
+ */
10277
+ interface WhiteboardTemplateMetadata extends AuditFields {
10278
+ id: string;
10279
+ org_id: string;
10280
+ name: string;
10281
+ description?: string | null;
10282
+ /** Groups templates in the Library sidebar, e.g. "BPMN". */
10283
+ category?: string | null;
10284
+ element_count: number;
10285
+ }
10286
+ /** A whiteboard template with its Excalidraw elements (unchecked JSON). */
10287
+ interface WhiteboardTemplate extends WhiteboardTemplateMetadata {
10288
+ elements: unknown[];
10289
+ }
10290
+ interface CreateWhiteboardTemplateRequest {
10291
+ name: string;
10292
+ description?: string;
10293
+ category?: string;
10294
+ /** Excalidraw elements: at most 1,000, 2 MB, board element types only. */
10295
+ elements: unknown[];
10296
+ }
10297
+ /** Only the fields present change; `elements` replaces the elements whole. */
10298
+ interface UpdateWhiteboardTemplateRequest {
10299
+ name?: string;
10300
+ description?: string;
10301
+ category?: string;
10302
+ elements?: unknown[];
10303
+ }
10304
+ interface ListWhiteboardTemplatesOptions extends ListOptions {
10305
+ category?: string;
10306
+ 'name[contains]'?: string;
10307
+ }
9885
10308
  declare const KnowledgeNodeMetadataSchema: z.ZodObject<{
9886
10309
  id: z.ZodString;
9887
10310
  org_id: z.ZodString;
9888
10311
  title: z.ZodString;
9889
- type: z.ZodEnum<["markdown", "file", "url"]>;
10312
+ type: z.ZodEnum<["markdown", "file", "url", "whiteboard"]>;
9890
10313
  status: z.ZodEnum<["draft", "published", "archived"]>;
9891
10314
  embedding_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9892
10315
  embedded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9919,7 +10342,7 @@ declare const KnowledgeNodeMetadataSchema: z.ZodObject<{
9919
10342
  id: string;
9920
10343
  }>;
9921
10344
  }, "strip", z.ZodTypeAny, {
9922
- type: "file" | "url" | "markdown";
10345
+ type: "file" | "url" | "markdown" | "whiteboard";
9923
10346
  status: "draft" | "archived" | "published";
9924
10347
  id: string;
9925
10348
  created_at: string;
@@ -9942,7 +10365,7 @@ declare const KnowledgeNodeMetadataSchema: z.ZodObject<{
9942
10365
  valid_from?: string | null | undefined;
9943
10366
  valid_until?: string | null | undefined;
9944
10367
  }, {
9945
- type: "file" | "url" | "markdown";
10368
+ type: "file" | "url" | "markdown" | "whiteboard";
9946
10369
  status: "draft" | "archived" | "published";
9947
10370
  id: string;
9948
10371
  created_at: string;
@@ -9969,7 +10392,7 @@ declare const KnowledgeNodeSchema: z.ZodObject<{
9969
10392
  id: z.ZodString;
9970
10393
  org_id: z.ZodString;
9971
10394
  title: z.ZodString;
9972
- type: z.ZodEnum<["markdown", "file", "url"]>;
10395
+ type: z.ZodEnum<["markdown", "file", "url", "whiteboard"]>;
9973
10396
  status: z.ZodEnum<["draft", "published", "archived"]>;
9974
10397
  embedding_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9975
10398
  embedded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10004,7 +10427,7 @@ declare const KnowledgeNodeSchema: z.ZodObject<{
10004
10427
  } & {
10005
10428
  content: z.ZodString;
10006
10429
  }, "strip", z.ZodTypeAny, {
10007
- type: "file" | "url" | "markdown";
10430
+ type: "file" | "url" | "markdown" | "whiteboard";
10008
10431
  status: "draft" | "archived" | "published";
10009
10432
  id: string;
10010
10433
  created_at: string;
@@ -10028,7 +10451,7 @@ declare const KnowledgeNodeSchema: z.ZodObject<{
10028
10451
  valid_from?: string | null | undefined;
10029
10452
  valid_until?: string | null | undefined;
10030
10453
  }, {
10031
- type: "file" | "url" | "markdown";
10454
+ type: "file" | "url" | "markdown" | "whiteboard";
10032
10455
  status: "draft" | "archived" | "published";
10033
10456
  id: string;
10034
10457
  created_at: string;
@@ -10056,7 +10479,7 @@ declare const KnowledgeNodeSearchResultSchema: z.ZodObject<{
10056
10479
  id: z.ZodString;
10057
10480
  org_id: z.ZodString;
10058
10481
  title: z.ZodString;
10059
- type: z.ZodEnum<["markdown", "file", "url"]>;
10482
+ type: z.ZodEnum<["markdown", "file", "url", "whiteboard"]>;
10060
10483
  status: z.ZodEnum<["draft", "published", "archived"]>;
10061
10484
  embedding_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10062
10485
  embedded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10091,7 +10514,7 @@ declare const KnowledgeNodeSearchResultSchema: z.ZodObject<{
10091
10514
  } & {
10092
10515
  score: z.ZodNumber;
10093
10516
  }, "strip", z.ZodTypeAny, {
10094
- type: "file" | "url" | "markdown";
10517
+ type: "file" | "url" | "markdown" | "whiteboard";
10095
10518
  status: "draft" | "archived" | "published";
10096
10519
  id: string;
10097
10520
  created_at: string;
@@ -10115,7 +10538,7 @@ declare const KnowledgeNodeSearchResultSchema: z.ZodObject<{
10115
10538
  valid_from?: string | null | undefined;
10116
10539
  valid_until?: string | null | undefined;
10117
10540
  }, {
10118
- type: "file" | "url" | "markdown";
10541
+ type: "file" | "url" | "markdown" | "whiteboard";
10119
10542
  status: "draft" | "archived" | "published";
10120
10543
  id: string;
10121
10544
  created_at: string;
@@ -10350,17 +10773,17 @@ declare const NodeNeighborhoodSchema: z.ZodObject<{
10350
10773
  nodes: z.ZodArray<z.ZodObject<{
10351
10774
  id: z.ZodString;
10352
10775
  title: z.ZodString;
10353
- type: z.ZodEnum<["markdown", "file", "url"]>;
10776
+ type: z.ZodEnum<["markdown", "file", "url", "whiteboard"]>;
10354
10777
  status: z.ZodEnum<["draft", "published", "archived"]>;
10355
10778
  distance: z.ZodNumber;
10356
10779
  }, "strip", z.ZodTypeAny, {
10357
- type: "file" | "url" | "markdown";
10780
+ type: "file" | "url" | "markdown" | "whiteboard";
10358
10781
  status: "draft" | "archived" | "published";
10359
10782
  id: string;
10360
10783
  title: string;
10361
10784
  distance: number;
10362
10785
  }, {
10363
- type: "file" | "url" | "markdown";
10786
+ type: "file" | "url" | "markdown" | "whiteboard";
10364
10787
  status: "draft" | "archived" | "published";
10365
10788
  id: string;
10366
10789
  title: string;
@@ -10384,7 +10807,7 @@ declare const NodeNeighborhoodSchema: z.ZodObject<{
10384
10807
  }>, "many">;
10385
10808
  }, "strip", z.ZodTypeAny, {
10386
10809
  nodes: {
10387
- type: "file" | "url" | "markdown";
10810
+ type: "file" | "url" | "markdown" | "whiteboard";
10388
10811
  status: "draft" | "archived" | "published";
10389
10812
  id: string;
10390
10813
  title: string;
@@ -10398,7 +10821,7 @@ declare const NodeNeighborhoodSchema: z.ZodObject<{
10398
10821
  }[];
10399
10822
  }, {
10400
10823
  nodes: {
10401
- type: "file" | "url" | "markdown";
10824
+ type: "file" | "url" | "markdown" | "whiteboard";
10402
10825
  status: "draft" | "archived" | "published";
10403
10826
  id: string;
10404
10827
  title: string;
@@ -10569,6 +10992,27 @@ interface SpaceService {
10569
10992
  delete(slug: string): Promise<void>;
10570
10993
  }
10571
10994
 
10995
+ /**
10996
+ * Service for whiteboard templates: reusable pieces of a whiteboard, shared
10997
+ * with the whole org. Everyone who may write knowledge adds templates; only a
10998
+ * template's creator or an admin changes or deletes it. No versions: an
10999
+ * update overwrites.
11000
+ */
11001
+ interface WhiteboardTemplateService {
11002
+ /** Lists templates (metadata only) as an async iterator. */
11003
+ list(options?: ListWhiteboardTemplatesOptions): PageIterator<WhiteboardTemplateMetadata, ListWhiteboardTemplatesOptions>;
11004
+ /** Fetches a single page of templates (metadata only). */
11005
+ listPage(options?: ListWhiteboardTemplatesOptions): Promise<ListResult<WhiteboardTemplateMetadata>>;
11006
+ /** Gets a template with its elements. */
11007
+ get(id: string): Promise<WhiteboardTemplate>;
11008
+ /** Adds a template. */
11009
+ create(request: CreateWhiteboardTemplateRequest): Promise<WhiteboardTemplate>;
11010
+ /** Updates a template (its creator or an admin). */
11011
+ update(id: string, request: UpdateWhiteboardTemplateRequest): Promise<WhiteboardTemplate>;
11012
+ /** Deletes a template (its creator or an admin). */
11013
+ delete(id: string): Promise<void>;
11014
+ }
11015
+
10572
11016
  /**
10573
11017
  * Facade for the knowledge-service (graph-native knowledge base: nodes, typed
10574
11018
  * links, labels, content sub-resource, keyword search and neighbor traversal).
@@ -10594,6 +11038,8 @@ declare class KnowledgeClient {
10594
11038
  readonly spaces: SpaceService;
10595
11039
  /** Whole-org graph bulk read (radiant graph view): `knowledge.graph.get()`. */
10596
11040
  readonly graph: GraphService;
11041
+ /** Org-wide whiteboard templates: `knowledge.whiteboardTemplates`. */
11042
+ readonly whiteboardTemplates: WhiteboardTemplateService;
10597
11043
  constructor(client: ProteosClient);
10598
11044
  }
10599
11045
 
@@ -12358,4 +12804,4 @@ declare class WorkflowClient {
12358
12804
  constructor(client: ProteosClient);
12359
12805
  }
12360
12806
 
12361
- 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 CreateEmailSignatureRequest, type CreateEntityIndexRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreateProfileRequest, type CreatePromptRequest, type CreateQueryRequest, 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 EmailSignature, type EmailSignatureAppliesTo, type EmailSignatureService, 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, FilterGroup, 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 ListEmailSignaturesQuery, 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 ListQueriesQuery, 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 MessageSignature, 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 Query, type QueryBinding, type QueryBuilder, 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 ResolveEmailSignatureQuery, 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 SessionPreview, type SessionPreviewStatus, 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 SignatureChoice, 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 UpdateEmailSignatureRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateMeRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePhoneNumberRequest, type UpdateProfileRequest, type UpdatePromptRequest, type UpdateQueryRequest, 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 WriteContentOptions, type WriteContentResponse, type WriteCredentialsRequest, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isDeltaFrame, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, shareRouteFor, toQueryParams, toQueryString };
12807
+ 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 AgentVoiceStyle, 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 CreateDiscoveryInterviewDefinitionRequest, type CreateEmailSignatureRequest, type CreateEntityIndexRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreateProfileRequest, type CreatePromptRequest, type CreateQueryRequest, 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 CreateWhiteboardTemplateRequest, 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 DiscoveryInterview, type DiscoveryInterviewAccess, type DiscoveryInterviewAnswer, type DiscoveryInterviewBlockedReason, type DiscoveryInterviewCounts, type DiscoveryInterviewCoverage, type DiscoveryInterviewDefinition, type DiscoveryInterviewDefinitionService, type DiscoveryInterviewDefinitionStatus, type DiscoveryInterviewGuide, type DiscoveryInterviewGuideFinding, type DiscoveryInterviewGuideRule, type DiscoveryInterviewMode, type DiscoveryInterviewParticipation, type DiscoveryInterviewParticipationDefinition, type DiscoveryInterviewParticipationInterview, type DiscoveryInterviewProbing, type DiscoveryInterviewQuestion, type DiscoveryInterviewQuestionRequest, type DiscoveryInterviewRecording, type DiscoveryInterviewService, type DiscoveryInterviewSpeaker, type DiscoveryInterviewStatus, type DiscoveryInterviewSynthesisStatus, type DiscoveryInterviewTranscriptTurn, 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 EmailSignature, type EmailSignatureAppliesTo, type EmailSignatureService, 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, FilterGroup, 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 InviteDiscoveryInterviewParticipantsRequest, 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 ListDiscoveryInterviewDefinitionsQuery, type ListDiscoveryInterviewsQuery, type ListEmailSignaturesQuery, 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 ListQueriesQuery, 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 ListWhiteboardTemplatesOptions, 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 MessageSignature, 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 Query, type QueryBinding, type QueryBuilder, 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 ResolveEmailSignatureQuery, 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 SessionPreview, type SessionPreviewStatus, 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 SignatureChoice, 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 StartDiscoveryInterviewParticipationRequest, 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 TransferVoiceRequest, type TransferVoiceResponse, 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 UpdateDiscoveryInterviewDefinitionRequest, type UpdateDraftRequest, type UpdateEmailSignatureRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateMeRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePhoneNumberRequest, type UpdateProfileRequest, type UpdatePromptRequest, type UpdateQueryRequest, type UpdateRecordDraftRequest, type UpdateRoleRequest, type UpdateSchedulingLinkRequest, type UpdateSendingRuleRequest, type UpdateSpaceRequest, type UpdateTeamRequest, type UpdateToolRequest, type UpdateToolsetRequest, type UpdateUserRequest, type UpdateWhiteboardTemplateRequest, 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 WhiteboardTemplate, type WhiteboardTemplateMetadata, type WhiteboardTemplateService, 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 WriteContentOptions, type WriteContentResponse, type WriteCredentialsRequest, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isDeltaFrame, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, shareRouteFor, toQueryParams, toQueryString };