@proteos/sdk 0.90.0 → 0.92.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
  /**
@@ -3922,6 +4036,20 @@ interface Message {
3922
4036
  * a send would add now. Never part of `content`.
3923
4037
  */
3924
4038
  signature?: MessageSignature;
4039
+ /**
4040
+ * This email is sent with an unsubscribe link of its own. The link exists
4041
+ * only in what the recipient gets; `content` keeps `UNSUBSCRIBE_URL_PLACEHOLDER`
4042
+ * or nothing.
4043
+ */
4044
+ has_unsubscribe_link?: boolean;
4045
+ /** The layout chosen for this email (a message template of kind `layout`). Absent means none. May no longer resolve, which fails the send. */
4046
+ layout_id?: string;
4047
+ /**
4048
+ * The frame the email carries around its body. On a sent message, the
4049
+ * snapshot of what went out. On a single draft read, what a send would use
4050
+ * now. Never part of `content`.
4051
+ */
4052
+ layout?: MessageLayout;
3925
4053
  /** The platform wrote this message (a send or a draft): its content is what the person wrote, without the quote the email carried. Absent on mail imported from the mailbox. */
3926
4054
  is_sent_from_platform?: boolean;
3927
4055
  /** The newest entry in this draft's history; absent until its first change. */
@@ -4110,6 +4238,30 @@ interface SendMessageRequest {
4110
4238
  * never part of `content`. Ignored on every channel but email.
4111
4239
  */
4112
4240
  signature?: SignatureChoice;
4241
+ /**
4242
+ * Sends a stored message template instead of `content`: its id or key. It is
4243
+ * rendered with `variables` at this moment and stored on the message like any
4244
+ * content. `subject`, when omitted, is the template's.
4245
+ */
4246
+ template?: string;
4247
+ /** The names the template's Liquid reads. Ignored without `template`. */
4248
+ variables?: Record<string, unknown>;
4249
+ /**
4250
+ * `link` gives the email an unsubscribe link of its own that records an
4251
+ * opt-out in the contact's permission ledger; `none` (or omitted) gives it
4252
+ * none. The link replaces every `UNSUBSCRIBE_URL_PLACEHOLDER` in the body
4253
+ * (what `{{ unsubscribe_url }}` renders to) and goes into a footer line when
4254
+ * the body has none. Email only, to exactly one recipient: anything else is
4255
+ * refused with 400 `unsubscribe_not_possible`.
4256
+ */
4257
+ unsubscribe?: UnsubscribeChoice;
4258
+ /**
4259
+ * Wraps the body in a stored layout when the email is sent: the id or key
4260
+ * of a message template of kind `layout`, `none` (or omitted) for no layout.
4261
+ * `content` stays as written; the message keeps a snapshot of the layout
4262
+ * that went out. Ignored on every channel but email.
4263
+ */
4264
+ layout?: string;
4113
4265
  /** Reply mode: send into this existing conversation. */
4114
4266
  conversation_id?: string;
4115
4267
  /**
@@ -4226,6 +4378,10 @@ interface UpdateDraftRequest {
4226
4378
  * carries the `signature` the draft now resolves to.
4227
4379
  */
4228
4380
  signature?: SignatureChoice;
4381
+ /** Replaces the draft's unsubscribe choice. Omit to keep it. */
4382
+ unsubscribe?: UnsubscribeChoice;
4383
+ /** Replaces the draft's layout: `none`, or a layout's id or key. Omit to keep it. */
4384
+ layout?: string;
4229
4385
  /** What this edit is in the draft's history. Defaults to `edited`. */
4230
4386
  version_kind?: Exclude<MessageDraftVersionKind, 'drafted'>;
4231
4387
  /** The reviewer's prompt behind a redraft. */
@@ -5935,6 +6091,13 @@ interface MergeContactsRequest {
5935
6091
  }
5936
6092
  interface RecordPermissionEventRequest {
5937
6093
  contact_address_id?: string;
6094
+ /**
6095
+ * Scopes the event to the contact's address with this value (an email
6096
+ * address, a phone number) when the caller does not know its id. Refused
6097
+ * with 400 when the contact has no such address. Ignored when
6098
+ * `contact_address_id` is set.
6099
+ */
6100
+ address?: string;
5938
6101
  event: PermissionEventType;
5939
6102
  basis?: string;
5940
6103
  source?: PermissionEventSource;
@@ -6399,6 +6562,25 @@ interface MessageSignature {
6399
6562
  html: string;
6400
6563
  text: string;
6401
6564
  }
6565
+ /** A send's, draft's or draft edit's pick of an unsubscribe link: none, or a link of the email's own. */
6566
+ type UnsubscribeChoice = 'none' | 'link';
6567
+ /**
6568
+ * What `{{ unsubscribe_url }}` renders to before a message exists. A send with
6569
+ * `unsubscribe: 'link'` swaps every occurrence for the recipient's own link;
6570
+ * an email sent without one (a test send, a preview) gets the address of a
6571
+ * page that says so.
6572
+ */
6573
+ declare const UNSUBSCRIBE_URL_PLACEHOLDER = "https://unsubscribe.invalid/link";
6574
+ /** The layout an email went out in, as stored on the message: a snapshot, since the layout itself may change or go. */
6575
+ interface MessageLayout {
6576
+ id: string;
6577
+ key?: string;
6578
+ name: string;
6579
+ /** The frame, with `{{ content }}` where the body goes. */
6580
+ html: string;
6581
+ /** The frame of the plain part; absent leaves the text as written. */
6582
+ text?: string;
6583
+ }
6402
6584
  interface CreateEmailSignatureRequest {
6403
6585
  name: string;
6404
6586
  /** `html` or `text` is required. */
@@ -6429,6 +6611,120 @@ interface ResolveEmailSignatureQuery {
6429
6611
  owned_by_id?: string;
6430
6612
  is_reply?: boolean;
6431
6613
  }
6614
+ /**
6615
+ * What a message template holds: a whole message, a piece of a body, or a
6616
+ * layout. A layout is the frame of a designed email: html (and optionally
6617
+ * text) with `{{ content }}` where the body goes. A send names it with
6618
+ * `layout`; it is never sent on its own.
6619
+ */
6620
+ type MessageTemplateKind = 'message' | 'snippet' | 'layout';
6621
+ /**
6622
+ * A reusable message, or a reusable piece of one. `subject`, `html` and `text`
6623
+ * are Liquid templates: `{{ contact.first_name }}` is filled in from the
6624
+ * variables a render or a send passes.
6625
+ *
6626
+ * A template is copied into what uses it (a sequence step, a reply), never
6627
+ * referenced from it. A send that names one renders it at that moment.
6628
+ */
6629
+ interface MessageTemplate {
6630
+ id: string;
6631
+ org_id: string;
6632
+ /** The name modules and workflows use; absent for a template nothing refers to. */
6633
+ key?: string;
6634
+ name: string;
6635
+ description?: string;
6636
+ kind: MessageTemplateKind;
6637
+ /** The one channel it is written for; absent for any. */
6638
+ channel?: Channel;
6639
+ /** The language it is written in, such as `de` or `en-GB`. */
6640
+ language?: string;
6641
+ tags: string[];
6642
+ /** A snippet has none. */
6643
+ subject?: string;
6644
+ /** Sanitized like every stored email html, its Liquid kept as written. Empty for a text-only template. */
6645
+ html: string;
6646
+ /** The plain body; derived from `html` unless `is_text_custom`. */
6647
+ text: string;
6648
+ is_text_custom: boolean;
6649
+ /** The person it belongs to; absent for the organisation. */
6650
+ owned_by?: UserRef;
6651
+ /** The module that deployed it; absent for one made by hand. */
6652
+ module_slug?: string;
6653
+ is_archived: boolean;
6654
+ created_at: string;
6655
+ created_by: UserRef;
6656
+ updated_at: string;
6657
+ updated_by: UserRef;
6658
+ }
6659
+ interface CreateMessageTemplateRequest {
6660
+ key?: string;
6661
+ name: string;
6662
+ description?: string;
6663
+ /** Defaults to `message`. */
6664
+ kind?: MessageTemplateKind;
6665
+ /** Empty or omitted writes it for any channel. */
6666
+ channel?: Channel | '';
6667
+ language?: string;
6668
+ tags?: string[];
6669
+ subject?: string;
6670
+ /** `html` or `text` is required. */
6671
+ html?: string;
6672
+ /** Left empty, it is derived from `html`. */
6673
+ text?: string;
6674
+ /** Empty or omitted makes it the organisation's. */
6675
+ owned_by_id?: string;
6676
+ module_slug?: string;
6677
+ is_archived?: boolean;
6678
+ }
6679
+ /**
6680
+ * Omitted fields keep what is stored. `text` sent empty goes back to being
6681
+ * derived; `key` sent empty takes the name away.
6682
+ */
6683
+ type UpdateMessageTemplateRequest = Partial<Omit<CreateMessageTemplateRequest, 'module_slug'>>;
6684
+ interface ListMessageTemplatesQuery extends PaginationQuery {
6685
+ kind?: MessageTemplateKind;
6686
+ /** Also finds templates written for any channel. */
6687
+ channel?: Channel;
6688
+ language?: string;
6689
+ module_slug?: string;
6690
+ tag?: string;
6691
+ /** Matches the name, the key and the description. */
6692
+ search?: string;
6693
+ owned_by_id?: string;
6694
+ /** true: the organisation's own; false: everyone's personal ones. */
6695
+ is_organisation?: boolean;
6696
+ /** Archived templates are left out unless this is true. */
6697
+ is_archived?: boolean;
6698
+ }
6699
+ /**
6700
+ * Fills in a template's variables. `template` names a stored template by id
6701
+ * or key; without it `subject`, `html` and `text` are the template itself.
6702
+ */
6703
+ interface RenderMessageTemplateRequest {
6704
+ template?: string;
6705
+ subject?: string;
6706
+ html?: string;
6707
+ text?: string;
6708
+ /** The names the Liquid reads: `{{ contact.first_name }}` reads `variables.contact.first_name`. */
6709
+ variables?: Record<string, unknown>;
6710
+ /** Picked as a send picks it, for `connection_id`, `owned_by_id` and `is_reply`. */
6711
+ signature?: SignatureChoice;
6712
+ connection_id?: string;
6713
+ owned_by_id?: string;
6714
+ is_reply?: boolean;
6715
+ /** The layout the email would be sent in: its id or key, `none` or omitted for none. The answer carries it beside the body, which comes back without it. */
6716
+ layout?: string;
6717
+ }
6718
+ /** What a send of the template would store, and the signature that would go below it. */
6719
+ interface RenderedMessageTemplate {
6720
+ subject: string;
6721
+ /** Sanitized, with the editor's look. Empty for a text-only template. */
6722
+ html: string;
6723
+ text: string;
6724
+ signature: MessageSignature | null;
6725
+ /** The frame the email would go out in, `{{ content }}` marking where the body and the signature go. Null or absent without one. */
6726
+ layout?: MessageLayout | null;
6727
+ }
6432
6728
  interface SendingRule {
6433
6729
  id: string;
6434
6730
  org_id: string;
@@ -6956,6 +7252,8 @@ declare class ConversationClient {
6956
7252
  /** Outbound send constraints: windows, connection limits, frequency caps + presets. */
6957
7253
  readonly sendingRules: SendingRuleService;
6958
7254
  readonly emailSignatures: EmailSignatureService;
7255
+ /** Reusable messages and snippets, and rendering one for a recipient. */
7256
+ readonly messageTemplates: MessageTemplateService;
6959
7257
  /**
6960
7258
  * Channel actions: acts performed through a connection that are neither a
6961
7259
  * message nor a reaction — LinkedIn invitations, profile visits, InMail.
@@ -7556,6 +7854,25 @@ interface EmailSignatureService {
7556
7854
  data: MessageSignature | null;
7557
7855
  }>;
7558
7856
  }
7857
+ /**
7858
+ * Message templates: reusable messages and snippets whose subject and body are
7859
+ * Liquid templates. A send or a draft names one with its `template` field.
7860
+ */
7861
+ interface MessageTemplateService {
7862
+ list(query?: ListMessageTemplatesQuery): Promise<ListResponse$2<MessageTemplate>>;
7863
+ /** By id or by key. */
7864
+ get(idOrKey: string): Promise<MessageTemplate>;
7865
+ create(request: CreateMessageTemplateRequest): Promise<MessageTemplate>;
7866
+ update(id: string, request: UpdateMessageTemplateRequest): Promise<MessageTemplate>;
7867
+ /** Creates or replaces the template a key names; an equivalent body writes nothing. */
7868
+ upsertByKey(key: string, request: Omit<CreateMessageTemplateRequest, 'key'>): Promise<MessageTemplate>;
7869
+ delete(id: string): Promise<void>;
7870
+ /**
7871
+ * Fills in a stored or an inline template: what a send of it would store,
7872
+ * with the signature the email would get.
7873
+ */
7874
+ render(request: RenderMessageTemplateRequest): Promise<RenderedMessageTemplate>;
7875
+ }
7559
7876
  /**
7560
7877
  * Channel actions — the ledger of acts performed through a connection that
7561
7878
  * are neither a message nor a reaction (LinkedIn invitations, profile visits,
@@ -8629,6 +8946,230 @@ interface ListResponse$1<T> {
8629
8946
  meta: ResponseMeta$1;
8630
8947
  data: T[];
8631
8948
  }
8949
+ type DiscoveryInterviewDefinitionStatus = 'draft' | 'published' | 'closed';
8950
+ /** `invited`: only the people assigned; `organization`: anyone signed in to the org. */
8951
+ type DiscoveryInterviewAccess = 'invited' | 'organization';
8952
+ /** How far the agent follows up on a question: not at all, once, up to three times. */
8953
+ type DiscoveryInterviewProbing = 'none' | 'light' | 'deep';
8954
+ type DiscoveryInterviewStatus = 'invited' | 'in_progress' | 'completed' | 'cancelled';
8955
+ /** `''` until the participant chose one at start. */
8956
+ type DiscoveryInterviewMode = '' | 'voice' | 'chat';
8957
+ /** `''` until the interview is completed. */
8958
+ type DiscoveryInterviewSynthesisStatus = '' | 'pending' | 'completed' | 'failed';
8959
+ type DiscoveryInterviewCoverage = 'covered' | 'partial' | 'not_covered';
8960
+ type DiscoveryInterviewSpeaker = 'interviewer' | 'participant';
8961
+ type DiscoveryInterviewGuideRule = 'double_barreled' | 'leading' | 'hypothetical' | 'closed' | 'too_long' | 'too_many_questions' | 'long_interview';
8962
+ type DiscoveryInterviewBlockedReason = '' | 'not_invited' | 'not_published' | 'closed' | 'completed';
8963
+ interface DiscoveryInterviewQuestion {
8964
+ id: string;
8965
+ position: number;
8966
+ text: string;
8967
+ /** What the answer should tell us. For the agent only. */
8968
+ intent: string;
8969
+ /** What to dig into when following up. For the agent only. */
8970
+ follow_up_guidance: string;
8971
+ probing: DiscoveryInterviewProbing;
8972
+ /** The agent may skip a question that is not required when time runs out. */
8973
+ is_required: boolean;
8974
+ }
8975
+ /** A hint on the guide, derived on read. `question_id` is `''` for the guide as a whole. */
8976
+ interface DiscoveryInterviewGuideFinding {
8977
+ question_id: string;
8978
+ rule: DiscoveryInterviewGuideRule;
8979
+ message: string;
8980
+ }
8981
+ interface DiscoveryInterviewCounts {
8982
+ invited: number;
8983
+ in_progress: number;
8984
+ completed: number;
8985
+ }
8986
+ interface DiscoveryInterviewDefinition {
8987
+ id: string;
8988
+ org_id: string;
8989
+ title: string;
8990
+ /** For the participant: what to expect. */
8991
+ description: string;
8992
+ expected_duration_minutes: number;
8993
+ /** For the agent: what we want to find out. */
8994
+ objective: string;
8995
+ /** For the agent: context, terms, who the participants are. */
8996
+ background: string;
8997
+ questions: DiscoveryInterviewQuestion[];
8998
+ agent_key: string;
8999
+ agent_name: string;
9000
+ agent_runtime: string;
9001
+ /** `''` follows the participant's language. */
9002
+ language: string;
9003
+ access: DiscoveryInterviewAccess;
9004
+ /** Knowledge space the result nodes go to; `''` writes no node. */
9005
+ space_slug: string;
9006
+ status: DiscoveryInterviewDefinitionStatus;
9007
+ published_at?: string | null;
9008
+ closed_at?: string | null;
9009
+ interview_counts: DiscoveryInterviewCounts;
9010
+ /** Detail read only. */
9011
+ guide_findings?: DiscoveryInterviewGuideFinding[];
9012
+ created_at: string;
9013
+ created_by: UserRef$2;
9014
+ updated_at: string;
9015
+ updated_by: UserRef$2;
9016
+ }
9017
+ /** A question as it is sent: without an id it is new, the array order is the position. */
9018
+ interface DiscoveryInterviewQuestionRequest {
9019
+ id?: string;
9020
+ text: string;
9021
+ intent?: string;
9022
+ follow_up_guidance?: string;
9023
+ probing?: DiscoveryInterviewProbing;
9024
+ is_required?: boolean;
9025
+ }
9026
+ interface CreateDiscoveryInterviewDefinitionRequest {
9027
+ title: string;
9028
+ description?: string;
9029
+ expected_duration_minutes?: number;
9030
+ objective?: string;
9031
+ background?: string;
9032
+ questions?: DiscoveryInterviewQuestionRequest[];
9033
+ agent_key?: string;
9034
+ language?: string;
9035
+ access?: DiscoveryInterviewAccess;
9036
+ space_slug?: string;
9037
+ }
9038
+ /**
9039
+ * Partial edit. `questions` replaces the list. Questions, objective,
9040
+ * background, agent and language can only change while the definition is a
9041
+ * draft.
9042
+ */
9043
+ type UpdateDiscoveryInterviewDefinitionRequest = Partial<CreateDiscoveryInterviewDefinitionRequest>;
9044
+ interface ListDiscoveryInterviewDefinitionsQuery {
9045
+ status?: DiscoveryInterviewDefinitionStatus;
9046
+ page?: number;
9047
+ page_size?: number;
9048
+ sort_by?: string;
9049
+ sort_direction?: 'asc' | 'desc';
9050
+ }
9051
+ interface DiscoveryInterviewAnswer {
9052
+ question_id: string;
9053
+ coverage: DiscoveryInterviewCoverage;
9054
+ answer: string;
9055
+ /** The participant's own words. */
9056
+ quotes: string[];
9057
+ }
9058
+ interface DiscoveryInterviewRecording {
9059
+ voice_session_id: string;
9060
+ file_id: string;
9061
+ mime_type: string;
9062
+ duration_ms: number;
9063
+ size_bytes: number;
9064
+ }
9065
+ interface DiscoveryInterviewTranscriptTurn {
9066
+ speaker: DiscoveryInterviewSpeaker;
9067
+ text: string;
9068
+ at: string;
9069
+ /** Voice only; 0 in a chat interview. */
9070
+ start_ms: number;
9071
+ end_ms: number;
9072
+ }
9073
+ /** The guide as it was when the interview started. */
9074
+ interface DiscoveryInterviewGuide {
9075
+ title: string;
9076
+ objective: string;
9077
+ background: string;
9078
+ expected_duration_minutes: number;
9079
+ language: string;
9080
+ questions: DiscoveryInterviewQuestion[];
9081
+ }
9082
+ interface DiscoveryInterview {
9083
+ id: string;
9084
+ org_id: string;
9085
+ definition_id: string;
9086
+ participant: UserRef$2;
9087
+ participant_name: string;
9088
+ status: DiscoveryInterviewStatus;
9089
+ mode: DiscoveryInterviewMode;
9090
+ /** The author's own trial run; kept out of results. */
9091
+ is_preview: boolean;
9092
+ session_id: string;
9093
+ agent_key: string;
9094
+ consented_at?: string | null;
9095
+ started_at?: string | null;
9096
+ completed_at?: string | null;
9097
+ duration_seconds: number;
9098
+ synthesis_status: DiscoveryInterviewSynthesisStatus;
9099
+ summary: string;
9100
+ learnings: string[];
9101
+ open_questions: string[];
9102
+ answers: DiscoveryInterviewAnswer[];
9103
+ knowledge_node_id: string;
9104
+ recordings: DiscoveryInterviewRecording[];
9105
+ invited_at?: string | null;
9106
+ invited_by?: UserRef$2 | null;
9107
+ created_at: string;
9108
+ updated_at: string;
9109
+ /** Detail read only. */
9110
+ guide?: DiscoveryInterviewGuide;
9111
+ /** Detail read only. */
9112
+ transcript?: DiscoveryInterviewTranscriptTurn[];
9113
+ }
9114
+ interface InviteDiscoveryInterviewParticipantsRequest {
9115
+ user_ids: string[];
9116
+ }
9117
+ interface ListDiscoveryInterviewsQuery {
9118
+ definition_id: string;
9119
+ status?: DiscoveryInterviewStatus;
9120
+ is_preview?: boolean;
9121
+ page?: number;
9122
+ page_size?: number;
9123
+ sort_by?: string;
9124
+ sort_direction?: 'asc' | 'desc';
9125
+ }
9126
+ /** What the participant's page may know of the definition: never the guide. */
9127
+ interface DiscoveryInterviewParticipationDefinition {
9128
+ id: string;
9129
+ title: string;
9130
+ description: string;
9131
+ expected_duration_minutes: number;
9132
+ status: DiscoveryInterviewDefinitionStatus;
9133
+ access: DiscoveryInterviewAccess;
9134
+ agent_key: string;
9135
+ agent_name: string;
9136
+ agent_runtime: string;
9137
+ question_count: number;
9138
+ requested_by: UserRef$2;
9139
+ }
9140
+ /** The caller's own interview, as their page sees it. */
9141
+ interface DiscoveryInterviewParticipationInterview {
9142
+ id: string;
9143
+ status: DiscoveryInterviewStatus;
9144
+ mode: DiscoveryInterviewMode;
9145
+ is_preview: boolean;
9146
+ session_id: string;
9147
+ agent_key: string;
9148
+ started_at?: string | null;
9149
+ completed_at?: string | null;
9150
+ synthesis_status: DiscoveryInterviewSynthesisStatus;
9151
+ summary: string;
9152
+ learnings: string[];
9153
+ /**
9154
+ * The interview guide as the session's agent is given it: the model-only
9155
+ * context of the first message the agent reads. Only the answer of a start
9156
+ * carries it. The page sends it with the first spoken request or typed
9157
+ * message when the session's log does not hold it yet (an interview that
9158
+ * started by voice).
9159
+ */
9160
+ guide_context?: string;
9161
+ }
9162
+ interface DiscoveryInterviewParticipation {
9163
+ definition: DiscoveryInterviewParticipationDefinition;
9164
+ can_participate: boolean;
9165
+ blocked_reason: DiscoveryInterviewBlockedReason;
9166
+ interview: DiscoveryInterviewParticipationInterview | null;
9167
+ }
9168
+ interface StartDiscoveryInterviewParticipationRequest {
9169
+ mode: 'voice' | 'chat';
9170
+ has_consented: boolean;
9171
+ is_preview?: boolean;
9172
+ }
8632
9173
 
8633
9174
  /**
8634
9175
  * Facade for discovery-service: the evidence users send Proteos (screenshots,
@@ -8639,6 +9180,11 @@ interface ListResponse$1<T> {
8639
9180
  * from what was said in a recording. `platform` is the Proteos-side view
8640
9181
  * across every org; it answers only to platform admins.
8641
9182
  *
9183
+ * `interviewDefinitions` are the interview guides an admin writes and
9184
+ * `interviews` what each participant's interview came to. Both also carry the
9185
+ * participant's own calls (`getParticipation`, `startParticipation`,
9186
+ * `complete`), which answer to the person interviewed, not to a grant.
9187
+ *
8642
9188
  * ```ts
8643
9189
  * const discovery = new DiscoveryClient(client)
8644
9190
  * const sent = await discovery.evidence.create({ kind: 'feedback', source: 'web', notes, context })
@@ -8650,6 +9196,8 @@ declare class DiscoveryClient {
8650
9196
  readonly evidence: DiscoveryEvidenceService;
8651
9197
  readonly narrations: DiscoveryEvidenceNarrationService;
8652
9198
  readonly platform: PlatformDiscoveryEvidenceService;
9199
+ readonly interviewDefinitions: DiscoveryInterviewDefinitionService;
9200
+ readonly interviews: DiscoveryInterviewService;
8653
9201
  constructor(client: ProteosClient);
8654
9202
  }
8655
9203
  /** The submitter's door: create, read back, edit the words, withdraw. */
@@ -8683,6 +9231,47 @@ interface PlatformDiscoveryEvidenceService {
8683
9231
  updateStatus(id: string, request: UpdateDiscoveryEvidenceStatusRequest): Promise<DiscoveryEvidence>;
8684
9232
  createDownloadUrl(id: string, fileId: string): Promise<DiscoveryEvidenceDownloadUrl>;
8685
9233
  }
9234
+ /**
9235
+ * Interview definitions: the guide (objective, questions, agent) and who it is
9236
+ * for. The last two methods are the participant's: what their page shows
9237
+ * before the interview, and starting or resuming their own interview.
9238
+ */
9239
+ interface DiscoveryInterviewDefinitionService {
9240
+ create(request: CreateDiscoveryInterviewDefinitionRequest): Promise<DiscoveryInterviewDefinition>;
9241
+ list(query?: ListDiscoveryInterviewDefinitionsQuery): Promise<ListResponse$1<DiscoveryInterviewDefinition>>;
9242
+ /** The detail read; carries `guide_findings`. */
9243
+ get(id: string): Promise<DiscoveryInterviewDefinition>;
9244
+ update(id: string, request: UpdateDiscoveryInterviewDefinitionRequest): Promise<DiscoveryInterviewDefinition>;
9245
+ /** Deletes the definition with its interviews and their recordings. */
9246
+ delete(id: string): Promise<void>;
9247
+ publish(id: string): Promise<DiscoveryInterviewDefinition>;
9248
+ /** Nobody can start or continue; results stay readable. */
9249
+ close(id: string): Promise<DiscoveryInterviewDefinition>;
9250
+ reopen(id: string): Promise<DiscoveryInterviewDefinition>;
9251
+ /** Assigns users; people already assigned are returned unchanged. */
9252
+ invite(id: string, request: InviteDiscoveryInterviewParticipantsRequest): Promise<DiscoveryInterview[]>;
9253
+ getParticipation(id: string): Promise<DiscoveryInterviewParticipation>;
9254
+ startParticipation(id: string, request: StartDiscoveryInterviewParticipationRequest): Promise<DiscoveryInterviewParticipation>;
9255
+ }
9256
+ /**
9257
+ * Interviews of a definition, for whoever can read it. `complete` and
9258
+ * `getParticipation` are the participant's.
9259
+ */
9260
+ interface DiscoveryInterviewService {
9261
+ list(query: ListDiscoveryInterviewsQuery): Promise<ListResponse$1<DiscoveryInterview>>;
9262
+ /** The detail read; carries the guide snapshot and the transcript. */
9263
+ get(id: string): Promise<DiscoveryInterview>;
9264
+ /** Sends the invitation again. */
9265
+ remind(id: string): Promise<void>;
9266
+ /** Reruns a synthesis that failed. */
9267
+ synthesize(id: string): Promise<DiscoveryInterview>;
9268
+ /** Withdraws an invitation or deletes a result with its recordings. */
9269
+ delete(id: string): Promise<void>;
9270
+ createDownloadUrl(id: string, fileId: string): Promise<DiscoveryEvidenceDownloadUrl>;
9271
+ /** Ends the caller's interview and starts the synthesis. Safe to repeat. */
9272
+ complete(id: string): Promise<DiscoveryInterviewParticipation>;
9273
+ getParticipation(id: string): Promise<DiscoveryInterviewParticipation>;
9274
+ }
8686
9275
 
8687
9276
  /**
8688
9277
  * Common error codes returned by the Proteos API.
@@ -9409,7 +9998,7 @@ declare function toQueryString(params: URLSearchParams): string;
9409
9998
  declare function buildUrl(baseUrl: string, path: string, query?: object): string;
9410
9999
 
9411
10000
  /** A node's kind. `markdown` is authored; `file`/`url` bodies are derived. */
9412
- type NodeType = 'markdown' | 'file' | 'url';
10001
+ type NodeType = 'markdown' | 'file' | 'url' | 'whiteboard';
9413
10002
  /** Lifecycle state of a node. */
9414
10003
  type NodeStatus = 'draft' | 'published' | 'archived';
9415
10004
  /** Typed edge kinds in the knowledge graph. */
@@ -9884,11 +10473,46 @@ interface ListLabelsOptions extends ListOptions {
9884
10473
  name?: string;
9885
10474
  'name[contains]'?: string;
9886
10475
  }
10476
+ /**
10477
+ * A reusable piece of a whiteboard (a layout, a card, a notation shape),
10478
+ * shared with the whole org. Lists return this; `get` adds the elements.
10479
+ */
10480
+ interface WhiteboardTemplateMetadata extends AuditFields {
10481
+ id: string;
10482
+ org_id: string;
10483
+ name: string;
10484
+ description?: string | null;
10485
+ /** Groups templates in the Library sidebar, e.g. "BPMN". */
10486
+ category?: string | null;
10487
+ element_count: number;
10488
+ }
10489
+ /** A whiteboard template with its Excalidraw elements (unchecked JSON). */
10490
+ interface WhiteboardTemplate extends WhiteboardTemplateMetadata {
10491
+ elements: unknown[];
10492
+ }
10493
+ interface CreateWhiteboardTemplateRequest {
10494
+ name: string;
10495
+ description?: string;
10496
+ category?: string;
10497
+ /** Excalidraw elements: at most 1,000, 2 MB, board element types only. */
10498
+ elements: unknown[];
10499
+ }
10500
+ /** Only the fields present change; `elements` replaces the elements whole. */
10501
+ interface UpdateWhiteboardTemplateRequest {
10502
+ name?: string;
10503
+ description?: string;
10504
+ category?: string;
10505
+ elements?: unknown[];
10506
+ }
10507
+ interface ListWhiteboardTemplatesOptions extends ListOptions {
10508
+ category?: string;
10509
+ 'name[contains]'?: string;
10510
+ }
9887
10511
  declare const KnowledgeNodeMetadataSchema: z.ZodObject<{
9888
10512
  id: z.ZodString;
9889
10513
  org_id: z.ZodString;
9890
10514
  title: z.ZodString;
9891
- type: z.ZodEnum<["markdown", "file", "url"]>;
10515
+ type: z.ZodEnum<["markdown", "file", "url", "whiteboard"]>;
9892
10516
  status: z.ZodEnum<["draft", "published", "archived"]>;
9893
10517
  embedding_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9894
10518
  embedded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9921,7 +10545,7 @@ declare const KnowledgeNodeMetadataSchema: z.ZodObject<{
9921
10545
  id: string;
9922
10546
  }>;
9923
10547
  }, "strip", z.ZodTypeAny, {
9924
- type: "file" | "url" | "markdown";
10548
+ type: "file" | "url" | "markdown" | "whiteboard";
9925
10549
  status: "draft" | "archived" | "published";
9926
10550
  id: string;
9927
10551
  created_at: string;
@@ -9944,7 +10568,7 @@ declare const KnowledgeNodeMetadataSchema: z.ZodObject<{
9944
10568
  valid_from?: string | null | undefined;
9945
10569
  valid_until?: string | null | undefined;
9946
10570
  }, {
9947
- type: "file" | "url" | "markdown";
10571
+ type: "file" | "url" | "markdown" | "whiteboard";
9948
10572
  status: "draft" | "archived" | "published";
9949
10573
  id: string;
9950
10574
  created_at: string;
@@ -9971,7 +10595,7 @@ declare const KnowledgeNodeSchema: z.ZodObject<{
9971
10595
  id: z.ZodString;
9972
10596
  org_id: z.ZodString;
9973
10597
  title: z.ZodString;
9974
- type: z.ZodEnum<["markdown", "file", "url"]>;
10598
+ type: z.ZodEnum<["markdown", "file", "url", "whiteboard"]>;
9975
10599
  status: z.ZodEnum<["draft", "published", "archived"]>;
9976
10600
  embedding_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9977
10601
  embedded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10006,7 +10630,7 @@ declare const KnowledgeNodeSchema: z.ZodObject<{
10006
10630
  } & {
10007
10631
  content: z.ZodString;
10008
10632
  }, "strip", z.ZodTypeAny, {
10009
- type: "file" | "url" | "markdown";
10633
+ type: "file" | "url" | "markdown" | "whiteboard";
10010
10634
  status: "draft" | "archived" | "published";
10011
10635
  id: string;
10012
10636
  created_at: string;
@@ -10030,7 +10654,7 @@ declare const KnowledgeNodeSchema: z.ZodObject<{
10030
10654
  valid_from?: string | null | undefined;
10031
10655
  valid_until?: string | null | undefined;
10032
10656
  }, {
10033
- type: "file" | "url" | "markdown";
10657
+ type: "file" | "url" | "markdown" | "whiteboard";
10034
10658
  status: "draft" | "archived" | "published";
10035
10659
  id: string;
10036
10660
  created_at: string;
@@ -10058,7 +10682,7 @@ declare const KnowledgeNodeSearchResultSchema: z.ZodObject<{
10058
10682
  id: z.ZodString;
10059
10683
  org_id: z.ZodString;
10060
10684
  title: z.ZodString;
10061
- type: z.ZodEnum<["markdown", "file", "url"]>;
10685
+ type: z.ZodEnum<["markdown", "file", "url", "whiteboard"]>;
10062
10686
  status: z.ZodEnum<["draft", "published", "archived"]>;
10063
10687
  embedding_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10064
10688
  embedded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10093,7 +10717,7 @@ declare const KnowledgeNodeSearchResultSchema: z.ZodObject<{
10093
10717
  } & {
10094
10718
  score: z.ZodNumber;
10095
10719
  }, "strip", z.ZodTypeAny, {
10096
- type: "file" | "url" | "markdown";
10720
+ type: "file" | "url" | "markdown" | "whiteboard";
10097
10721
  status: "draft" | "archived" | "published";
10098
10722
  id: string;
10099
10723
  created_at: string;
@@ -10117,7 +10741,7 @@ declare const KnowledgeNodeSearchResultSchema: z.ZodObject<{
10117
10741
  valid_from?: string | null | undefined;
10118
10742
  valid_until?: string | null | undefined;
10119
10743
  }, {
10120
- type: "file" | "url" | "markdown";
10744
+ type: "file" | "url" | "markdown" | "whiteboard";
10121
10745
  status: "draft" | "archived" | "published";
10122
10746
  id: string;
10123
10747
  created_at: string;
@@ -10352,17 +10976,17 @@ declare const NodeNeighborhoodSchema: z.ZodObject<{
10352
10976
  nodes: z.ZodArray<z.ZodObject<{
10353
10977
  id: z.ZodString;
10354
10978
  title: z.ZodString;
10355
- type: z.ZodEnum<["markdown", "file", "url"]>;
10979
+ type: z.ZodEnum<["markdown", "file", "url", "whiteboard"]>;
10356
10980
  status: z.ZodEnum<["draft", "published", "archived"]>;
10357
10981
  distance: z.ZodNumber;
10358
10982
  }, "strip", z.ZodTypeAny, {
10359
- type: "file" | "url" | "markdown";
10983
+ type: "file" | "url" | "markdown" | "whiteboard";
10360
10984
  status: "draft" | "archived" | "published";
10361
10985
  id: string;
10362
10986
  title: string;
10363
10987
  distance: number;
10364
10988
  }, {
10365
- type: "file" | "url" | "markdown";
10989
+ type: "file" | "url" | "markdown" | "whiteboard";
10366
10990
  status: "draft" | "archived" | "published";
10367
10991
  id: string;
10368
10992
  title: string;
@@ -10386,7 +11010,7 @@ declare const NodeNeighborhoodSchema: z.ZodObject<{
10386
11010
  }>, "many">;
10387
11011
  }, "strip", z.ZodTypeAny, {
10388
11012
  nodes: {
10389
- type: "file" | "url" | "markdown";
11013
+ type: "file" | "url" | "markdown" | "whiteboard";
10390
11014
  status: "draft" | "archived" | "published";
10391
11015
  id: string;
10392
11016
  title: string;
@@ -10400,7 +11024,7 @@ declare const NodeNeighborhoodSchema: z.ZodObject<{
10400
11024
  }[];
10401
11025
  }, {
10402
11026
  nodes: {
10403
- type: "file" | "url" | "markdown";
11027
+ type: "file" | "url" | "markdown" | "whiteboard";
10404
11028
  status: "draft" | "archived" | "published";
10405
11029
  id: string;
10406
11030
  title: string;
@@ -10571,6 +11195,27 @@ interface SpaceService {
10571
11195
  delete(slug: string): Promise<void>;
10572
11196
  }
10573
11197
 
11198
+ /**
11199
+ * Service for whiteboard templates: reusable pieces of a whiteboard, shared
11200
+ * with the whole org. Everyone who may write knowledge adds templates; only a
11201
+ * template's creator or an admin changes or deletes it. No versions: an
11202
+ * update overwrites.
11203
+ */
11204
+ interface WhiteboardTemplateService {
11205
+ /** Lists templates (metadata only) as an async iterator. */
11206
+ list(options?: ListWhiteboardTemplatesOptions): PageIterator<WhiteboardTemplateMetadata, ListWhiteboardTemplatesOptions>;
11207
+ /** Fetches a single page of templates (metadata only). */
11208
+ listPage(options?: ListWhiteboardTemplatesOptions): Promise<ListResult<WhiteboardTemplateMetadata>>;
11209
+ /** Gets a template with its elements. */
11210
+ get(id: string): Promise<WhiteboardTemplate>;
11211
+ /** Adds a template. */
11212
+ create(request: CreateWhiteboardTemplateRequest): Promise<WhiteboardTemplate>;
11213
+ /** Updates a template (its creator or an admin). */
11214
+ update(id: string, request: UpdateWhiteboardTemplateRequest): Promise<WhiteboardTemplate>;
11215
+ /** Deletes a template (its creator or an admin). */
11216
+ delete(id: string): Promise<void>;
11217
+ }
11218
+
10574
11219
  /**
10575
11220
  * Facade for the knowledge-service (graph-native knowledge base: nodes, typed
10576
11221
  * links, labels, content sub-resource, keyword search and neighbor traversal).
@@ -10596,6 +11241,8 @@ declare class KnowledgeClient {
10596
11241
  readonly spaces: SpaceService;
10597
11242
  /** Whole-org graph bulk read (radiant graph view): `knowledge.graph.get()`. */
10598
11243
  readonly graph: GraphService;
11244
+ /** Org-wide whiteboard templates: `knowledge.whiteboardTemplates`. */
11245
+ readonly whiteboardTemplates: WhiteboardTemplateService;
10599
11246
  constructor(client: ProteosClient);
10600
11247
  }
10601
11248
 
@@ -12360,4 +13007,4 @@ declare class WorkflowClient {
12360
13007
  constructor(client: ProteosClient);
12361
13008
  }
12362
13009
 
12363
- 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 };
13010
+ 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 CreateMessageTemplateRequest, 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 ListMessageTemplatesQuery, 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 MessageLayout, type MessagePreview, type MessageRecipient, type MessageService, type MessageSignature, type MessageStatus, type MessageTemplate, type MessageTemplateKind, type MessageTemplateService, 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, type RenderMessageTemplateRequest, type RenderedMessageTemplate, 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, UNSUBSCRIBE_URL_PLACEHOLDER, type UnreadCounts, type UnreadCountsQuery, type UnsubscribeChoice, 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 UpdateMessageTemplateRequest, 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 };