@proteos/sdk 0.91.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.ts CHANGED
@@ -4036,6 +4036,20 @@ interface Message {
4036
4036
  * a send would add now. Never part of `content`.
4037
4037
  */
4038
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;
4039
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. */
4040
4054
  is_sent_from_platform?: boolean;
4041
4055
  /** The newest entry in this draft's history; absent until its first change. */
@@ -4224,6 +4238,30 @@ interface SendMessageRequest {
4224
4238
  * never part of `content`. Ignored on every channel but email.
4225
4239
  */
4226
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;
4227
4265
  /** Reply mode: send into this existing conversation. */
4228
4266
  conversation_id?: string;
4229
4267
  /**
@@ -4340,6 +4378,10 @@ interface UpdateDraftRequest {
4340
4378
  * carries the `signature` the draft now resolves to.
4341
4379
  */
4342
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;
4343
4385
  /** What this edit is in the draft's history. Defaults to `edited`. */
4344
4386
  version_kind?: Exclude<MessageDraftVersionKind, 'drafted'>;
4345
4387
  /** The reviewer's prompt behind a redraft. */
@@ -6049,6 +6091,13 @@ interface MergeContactsRequest {
6049
6091
  }
6050
6092
  interface RecordPermissionEventRequest {
6051
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;
6052
6101
  event: PermissionEventType;
6053
6102
  basis?: string;
6054
6103
  source?: PermissionEventSource;
@@ -6513,6 +6562,25 @@ interface MessageSignature {
6513
6562
  html: string;
6514
6563
  text: string;
6515
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
+ }
6516
6584
  interface CreateEmailSignatureRequest {
6517
6585
  name: string;
6518
6586
  /** `html` or `text` is required. */
@@ -6543,6 +6611,120 @@ interface ResolveEmailSignatureQuery {
6543
6611
  owned_by_id?: string;
6544
6612
  is_reply?: boolean;
6545
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
+ }
6546
6728
  interface SendingRule {
6547
6729
  id: string;
6548
6730
  org_id: string;
@@ -7070,6 +7252,8 @@ declare class ConversationClient {
7070
7252
  /** Outbound send constraints: windows, connection limits, frequency caps + presets. */
7071
7253
  readonly sendingRules: SendingRuleService;
7072
7254
  readonly emailSignatures: EmailSignatureService;
7255
+ /** Reusable messages and snippets, and rendering one for a recipient. */
7256
+ readonly messageTemplates: MessageTemplateService;
7073
7257
  /**
7074
7258
  * Channel actions: acts performed through a connection that are neither a
7075
7259
  * message nor a reaction — LinkedIn invitations, profile visits, InMail.
@@ -7670,6 +7854,25 @@ interface EmailSignatureService {
7670
7854
  data: MessageSignature | null;
7671
7855
  }>;
7672
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
+ }
7673
7876
  /**
7674
7877
  * Channel actions — the ledger of acts performed through a connection that
7675
7878
  * are neither a message nor a reaction (LinkedIn invitations, profile visits,
@@ -12804,4 +13007,4 @@ declare class WorkflowClient {
12804
13007
  constructor(client: ProteosClient);
12805
13008
  }
12806
13009
 
12807
- export { type AcceptMistranscribedTermRequest, AccountClient, type Action, type ActionBinding, ActionSchema, type ActionScope, ActionScopeSchema, type ActionService, type AddTeamMemberRequest, type AddressFilterConfig, type Agent, type AgentActionParams, type AgentArtifactsPayload, AgentClient, type AgentListener, type AgentListenerAcknowledgementConfig, type AgentListenerAcknowledgementType, type AgentListenerActingUserMode, type AgentListenerService, type AgentListenerTriggerType, type AgentMessagePayload, type AgentResourceListOptions, type AgentRuntime, type AgentService, type AgentVoiceStyle, type AllFilterConfig, type ApiErrorResponse, type ApiKey, type AppendEventRequest, type AppendSpeechRequest, type ApplySendingLimitPresetRequest, type ApproveRecordDraftRequest, type AssignPermissionRequest, type AssignRoleRequest, type Assignment, type AttachContactAddressRequest, type AttachConversationBriefRequest, type Attachment, Attribute, AuditFields, type AuthListOptions, type AuthoredTranscriptTurn, type AutomatedFilterConfig, type AutomatedSignal, type AvailabilityConstraint, type AvailabilityConstraintService, type AvailabilityKind, type AwaitingToolUse, type BatchTransactionError, BatchTransactionErrorSchema, type BatchTransactionStatus, type BatchUpsertRecordsResponse, BatchUpsertRecordsResponseSchema, type BatchUpsertTransaction, type BatchUpsertTransactionResult, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, type BinaryRef, type BlockContactRequest, type BookSchedulingLinkRequest, type BookSchedulingLinkResponse, type BookingContact, type BooleanAnswer, type BooleanCriteria, type BooleanQuestion, type BooleanTagCriteria, type BounceClassification, type BounceKind, type Calendar, type CalendarAttendee, type CalendarAttendeeRequest, type CalendarConnection, type CalendarConnectionService, type CalendarConnectionStatus, type CalendarEvent, type CalendarEventService, type CalendarEventType, type CalendarEventTypeService, type CalendarEventsResponse, type CalendarProvider, type CalendarService, type CalendarSync, type CalendarSyncStatus, type CalendarVisibility, type CalendarWatch, type CallDialStatus, type CallMetadata, type CallStatus, type CallTokenResponse, type CancelPublicCalendarEventRequest, type Channel, type ChannelAction, type ChannelActionCapability, type ChannelActionParams, type ChannelActionResponse, type ChannelActionService, type ChannelActionStatus, type ChannelActionTargetKind, type ChannelActionType, type ChannelEvent, type ChannelEventService, type ChannelEventType, type ChoiceAnswer, type ChoiceQuestion, type ClientEventType, type ClientToolSchema, type ConferencingProvider, type Connection, type ConnectionCredentials, type ConnectionEndpoint, type ConnectionScope, type ConnectionService, type ConnectionStatus, type ConnectionSyncRange, type ConnectionSyncStatus, type Connector, type ConnectorCatalogEntry, ConnectorClient, type ConnectorConnection, type ConnectionScope$1 as ConnectorConnectionScope, type ConnectionStatus$1 as ConnectorConnectionStatus, type ConnectionTokenResponse as ConnectorConnectionTokenResponse, type CredentialKind as ConnectorCredentialKind, type ConnectorKey, type ConnectorMethod, type ConnectorProvider, type ConsentStatus, type ConsumerGroup, type Contact, type ContactAddress, type ContactAddressKey, type ContactAddressKind, type ContactAddressSource, type ContactErasureRequest, type ContactGroup, type ContactGroupService, type ContactGroupSource, type ContactMergeProposal, type ContactRecordLink, type ContactRecordLinkSource, type ContactRef, type ContactService, type ContactSource, type ContactStatus, type ContentBlock$1 as ContentBlock, type ContentMatch, type ContentResponse, type ContextCompactedPayload, type Conversation, type ConversationBrief, type ConversationBriefService, type ConversationBriefStatus, ConversationClient, type ConversationFilter, type ConversationFilterAction, type ConversationFilterConfig, type ConversationFilterEvent, type ConversationFilterService, type ConversationFilterType, type ConversationNote, type ConversationNoteService, type ConversationObjective, type ConversationObjectiveAchievedWhen, type ConversationObjectiveCount, type ConversationObjectiveDefinition, type ConversationObjectiveDefinitionService, type ConversationObjectiveMeasure, type ConversationObjectiveMeasureKind, type ConversationObjectiveProgress, type ConversationObjectiveService, type ConversationObjectiveSource, type ConversationObjectiveStatus, type ConversationOutcome, type ConversationOutcomeOption, type ConversationOutcomeSource, type ConversationParticipant, type ConversationPhase, type ConversationPhaseProgress, type ConversationPhaseStatus, type ConversationScope, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type ConversationTag, type ConversationTagBasis, type ConversationTagCount, type ConversationTagCriteria, type ConversationTagDefinition, type ConversationTagDefinitionService, type ConversationTagEvaluation, type ConversationTagEvaluationStatus, type ConversationTagEvaluator, type ConversationTagEvaluatorKind, type ConversationTagQuestion, type ConversationTagQuestionType, type ConversationTagRole, type ConversationTagScope, type ConversationTagScreening, type ConversationTagScreeningResult, type ConversationTagService, type ConversationTagSet, type ConversationTagSetService, type ConversationTagSource, type ConversationTagStatus, type ConversationTagTrigger, type ConversationTagUsage, type ConversationTaggedEvent, type ConversationType, type ConversationTypeConfig, type ConversationTypeService, type CountConversationObjectivesQuery, type CountConversationObjectivesResponse, type CountConversationTagsQuery, type CountConversationTagsResponse, type CreateAgentListenerRequest, type CreateAgentRequest, type CreateApiKeyRequest, type CreateAvailabilityConstraintRequest, type CreateCalendarConnectionRequest, type CreateCalendarEventRequest, type CreateConnectionRequest, type CreateConnectorConnectionRequest, type CreateContactGroupRequest, type CreateContactRecordLinkRequest, type CreateContactRequest, type CreateConversationBriefRequest, type CreateConversationFilterRequest, type CreateConversationNoteRequest, type CreateConversationObjectiveDefinitionRequest, type CreateConversationTagDefinitionRequest, type CreateConversationTagRequest, type CreateConversationTagSetRequest, type CreateConversationTypeRequest, type CreateDiscoveryEvidenceFrameRequest, type CreateDiscoveryEvidenceLinkRequest, type CreateDiscoveryEvidenceNarrationFrameRequest, type CreateDiscoveryEvidenceNarrationRequest, type CreateDiscoveryEvidenceRequest, type CreateDiscoveryEvidenceStrokeRequest, type CreateDiscoveryInterviewDefinitionRequest, type CreateEmailSignatureRequest, type CreateEntityIndexRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreateProfileRequest, type CreatePromptRequest, type CreateQueryRequest, type CreateRecordDraftRequest, type CreateRecordLinkRequest, type CreateRoleRequest, type CreateSchedulingLinkRequest, type CreateSendingRuleRequest, type CreateSessionRequest, type CreateSpaceRequest, type CreateTeamRequest, type CreateToneProfileSetupRequest, type CreateToolRequest, type CreateToolsetRequest, type CreateTranscriptionFromTextRequest, type CreateUserRequest, type CreateWhiteboardTemplateRequest, type CreateWorkflowRequest, type CreatedApiKey, type CredentialSpec, type CronTriggerParams, DEFAULT_PORT, DataClient, type DecideRequest, type DecisionAnswer, type DecisionAnswerFor, type DecisionQuestion, type DecisionQuestionType, type DecisionQuestions, type DecisionResult, type DelegatedSessionUpdatedPayload, type DeltaBoundaryPayload, type DeltaEventType, type DependentAgent, type DependentSyncResult, DiscoveryClient, type DiscoveryEvidence, type DiscoveryEvidenceCategory, type DiscoveryEvidenceContext, type DiscoveryEvidenceDownloadUrl, type DiscoveryEvidenceEnrichmentStatus, type DiscoveryEvidenceFieldSource, type DiscoveryEvidenceFrame, type DiscoveryEvidenceKind, type DiscoveryEvidenceLink, type DiscoveryEvidenceNarration, type DiscoveryEvidenceNarrationFrameComment, type DiscoveryEvidenceNarrationService, type DiscoveryEvidenceNarrationStatus, type DiscoveryEvidenceOrgSummary, type DiscoveryEvidenceService, type DiscoveryEvidenceSource, type DiscoveryEvidenceStatus, type DiscoveryInterview, type DiscoveryInterviewAccess, type DiscoveryInterviewAnswer, type DiscoveryInterviewBlockedReason, type DiscoveryInterviewCounts, type DiscoveryInterviewCoverage, type DiscoveryInterviewDefinition, type DiscoveryInterviewDefinitionService, type DiscoveryInterviewDefinitionStatus, type DiscoveryInterviewGuide, type DiscoveryInterviewGuideFinding, type DiscoveryInterviewGuideRule, type DiscoveryInterviewMode, type DiscoveryInterviewParticipation, type DiscoveryInterviewParticipationDefinition, type DiscoveryInterviewParticipationInterview, type DiscoveryInterviewProbing, type DiscoveryInterviewQuestion, type DiscoveryInterviewQuestionRequest, type DiscoveryInterviewRecording, type DiscoveryInterviewService, type DiscoveryInterviewSpeaker, type DiscoveryInterviewStatus, type DiscoveryInterviewSynthesisStatus, type DiscoveryInterviewTranscriptTurn, type DispatchMeetingBotRequest, type DisplayOptions, type DomainFilterConfig, ERROR_PORT, type EditContentRequest, type EditContentResponse, type EmailDnsRecord, type EmailDomainStatus, type EmailEngagementQuality, type EmailHealth, type EmailHealthWindow, type EmailIp, type EmailProviderHealth, type EmailProviderStats, type EmailSender, type EmailSenderStatus, type EmailSignature, type EmailSignatureAppliesTo, type EmailSignatureService, type EmailSuppression, type EmailSuppressionCounts, type EmailSuppressionKind, type EmptyPayload, type EndVoiceRequest, type EntityIndex, type EntityIndexService, type EntityIndexSource, type EntityIndexState, type EntityIndexType, type ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, type EvaluateConversationTagsRequest, type EventLocation, type EventSource, type EventStatus, type EventTransparency, type EventTriggerParams, type EventType, type EventVerb, type EventVisibility, type EventWriteStatus, EventsClient, type ExecutionError, type ExecutionStatus, type ExecutionTriggerContext, type FileBlock, FileRef, type FileService, type FileVersionContent, FilterGroup, type FilterMatchOn, type FrequencyCapRuleConfig, FunctionsClient, type GenerateRequest, type GenerationResult, type GetConnectionHealthQuery, type GetExecutionDetailResponse, type GetGraphOptions, type GetManyConversationObjectiveDefinitionsQuery, type GetManyConversationObjectivesQuery, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GetPublicSlotsQuery, type GetSlotsRequest, type GetSlotsResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, type HostsRequest, type IndexEvidence, type IndexRecommendation, type InkPoint, type InkStroke, type InlineLinkRequest, type InmailParams, type InstallConnectionResponse, type InstallConnectorConnectionResponse, type InternalConversationsFilterConfig, type InvitationParams, type InviteDiscoveryInterviewParticipantsRequest, type InvokeActionResponse, type InvokeNodeMethodRequest, type InvokeNodeMethodResponse, type Item, type KickoffSource, type KickoffType, KnowledgeClient, type KnowledgeGraph, type KnowledgeGraphLink, type KnowledgeGraphNode, type KnowledgeLabel, KnowledgeLabelSchema, type KnowledgeLink, KnowledgeLinkSchema, type KnowledgeNode, type KnowledgeNodeLabel, KnowledgeNodeLabelSchema, type KnowledgeNodeMetadata, KnowledgeNodeMetadataSchema, KnowledgeNodeSchema, type KnowledgeNodeSearchResult, KnowledgeNodeSearchResultSchema, type KnowledgeRecordLink, KnowledgeRecordLinkSchema, type KnowledgeSpace, type LabelService, type LimitRuleConfig, type LinkService, type LinkType, type ListActionsOptions, type ListAgentListenersQuery, type ListAgentsOptions, type ListAvailabilityConstraintsQuery, type ListCalendarConnectionsQuery, type ListCalendarEventTypesQuery, type ListCalendarEventsQuery, type ListCalendarsQuery, type ListChannelActionsQuery, type ListChannelEventsQuery, type ListConnectionsQuery, type ListConnectorConnectionsQuery, type ListConnectorsQuery, type ListContactAddressesQuery, type ListContactGroupsQuery, type ListContactMergeProposalsQuery, type ListContactRecordLinksQuery, type ListContactsQuery, type ListConversationBriefsQuery, type ListConversationFilterEventsQuery, type ListConversationFiltersQuery, type ListConversationNotesQuery, type ListConversationTagDefinitionsQuery, type ListConversationTagEvaluationsQuery, type ListConversationTagSetsQuery, type ListConversationTagsQuery, type ListConversationTypesQuery, type ListConversationsQuery, type ListDiscoveryEvidenceQuery, type ListDiscoveryInterviewDefinitionsQuery, type ListDiscoveryInterviewsQuery, type ListEmailSignaturesQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, type ListMeetingBotsQuery, type ListMessagesQuery, type ListMistranscribedTermsQuery, type ListNodesOptions, ListOptions, type ListOrgUserRoleAssignmentsOptions, type ListOrganizationsOptions, type ListPlatformDiscoveryEvidenceQuery, type ListProfilesOptions, type ListPromptsOptions, type ListQueriesQuery, type ListRecordDraftsQuery, type ListRecordDuplicatesQuery, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse$2 as ListResponse, ListResult, type ListRolePermissionsOptions, type ListRolesOptions, type ListRoomsQuery, type ListSchedulingLinksQuery, type ListSendingLimitPresetsQuery, type ListSendingRulesQuery, type ListSessionsOptions, type ListSkillsOptions, type ListSpacesOptions, type ListTeamMembersOptions, type ListTeamsOptions, type ListToneProfileSetupsQuery, type ListToneProfilesQuery, type ListToolsOptions, type ListToolsetsOptions, type ListTranscriptionsQuery, type ListUserProfileAssignmentsOptions, type ListUserRoleAssignmentsOptions, type ListUsersOptions, type ListWhiteboardTemplatesOptions, type ListWorkflowsOptions, type LocationKind, type ManualTriggerParams, type MatchMode, type McpBinding, type McpConnectionState, type McpConnectionStatus, type McpServer, type McpServerAuth, type McpServerOAuth, type McpServerService, type McpToolSummary, type MeService, type MeetingBot, type MeetingBotService, type MeetingBotStatus, type MeetingService, type MergeContactsRequest, type MergeProposalStatus, type Message, type ContentBlock as MessageContentBlock, type MessageDelivery, type MessageDeliveryStatus, type MessageDeltaPayload, type MessageDirection, type MessageDraftChange, type MessageDraftVersion, type MessageDraftVersionKind, type MessageDraftVersions, type MessagePreview, type MessageRecipient, type MessageService, type MessageSignature, type MessageStatus, type MessageTriggerParams, type MintCallTokenRequest, type MistranscribedTerm, type MistranscribedTermService, type MistranscribedTermStatus, type MistranscriptionSuggestionSource, type ModelCallParams, type ModelConfig, type ModelInfo, type ModelProviderName, type ModelRequestEndPayload, type ModelRequestStartPayload, type ModelService, type ModelStopReason, type ModelUsage, type NeighborDirection, type NeighborEdge, type NeighborNode, type NeighborsOptions, type NodeContentMatches, type NodeDescriptor, type NodeExecution, type NodeGroup, type NodeMethodOption, type NodeNeighborhood, NodeNeighborhoodSchema, type NodeOutline, type NodePosition, type NodeProperty, type NodeRetryPolicy, type NodeRuntime, type NodeService, type NodeStatus, type NodeType, type NodeTypeKey, type NodeTypeService, type NodeTypeStatus, type NotifyMode, type OnErrorPolicy, type Organization, OrganizationSchema, type OrganizationService, type OutlineHeading, type OutlineRequest, type OutlineResponse, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, PageAction, PageIterator, type PairedItem, type ParseStatus, type ParticipationStatus, type PerformChannelActionRequest, type Permission, type PermissionEventSource, type PermissionEventType, type PhoneNumber, type PhoneNumberRouting, type PhoneNumberStatus, type PlatformBinding, type PlatformDiscoveryEvidenceService, type PlatformEntity, type PlatformEvent, type PortSpec, type Profile, ProfileSchema, type ProfileService, type ProfileVisitParams, type Prompt, type PromptService, type PromptVersion, type PropertyOption, type PropertyType, ProteosClient, ProteosError, PublicAccessOperation, type PublicBookSchedulingLinkResponse, type PublicCalendarEvent, type PublicCalendarEventType, type PublicEventLocation, type PublicHost, type PublicSchedulingLink, type PublicSchedulingService, type PublishContactObservationsResponse, type PublishEventRequest, type PutCalendarEventTypeRequest, type PutSchedulingProfileRequest, type Query, type QueryBinding, type QueryBuilder, type QueryExecuteMeta, type QueryExecuteResponse, type QueryObject, type QueryRow, type QueryService, type QueryValidateMeta, type QueryValidateResponse, type QueryValue, type Reaction, type ReactionCapability, type ReactionOption, type ReactionSetKind, type ReasoningDeltaPayload, type ReasoningPayload, type RecipientKind, type RecipientRole, type RecordData, type RecordDraft, type RecordDraftChange, type RecordDraftChangeKind, RecordDraftChangeSchema, type RecordDraftIntent, type RecordDraftItem, type RecordDraftItemError, type RecordDraftItemInput, type RecordDraftItemResult, RecordDraftItemResultSchema, type RecordDraftItemResultStatus, RecordDraftItemSchema, type RecordDraftService, type RecordDraftStatus, type RecordDraftVersion, type RecordDraftVersionKind, type RecordDraftVersions, type RecordDuplicate, type RecordDuplicateService, type RecordDuplicateSource, type RecordDuplicateStatus, type RecordLinkService, type RecordPermissionEventRequest, type RecordRef, type RecordService, type RecurrenceScope, type RedriveResult, type RejectRecordDraftRequest, RequestOptions, type RescheduleHost, type ReschedulePublicCalendarEventRequest, type ResolveEmailSignatureQuery, type ResolveToneProfileQuery, type RespondCalendarEventRequest, type RespondChannelActionRequest, ResponseMeta$1 as ResponseMeta, type ResultBlock, type Role, type RoleBasedFilterConfig, type RoleEntityPermission, RoleEntityPermissionSchema, RoleSchema, type RoleService, type Room, type RoutingTarget, type RunWorkflowRequest, SCOPED_PLATFORM_ENTITY_SLUGS, SchedulingClient, type SchedulingLink, type SchedulingLinkService, type ListResponse as SchedulingListResponse, type SchedulingProfile, type SchedulingProfileService, type ScoreAnswer, type ScoreQuestion, type SearchContentRequest, type SearchContentResponse, type SearchNodesRequest, type SendEligibility, type SendEligibilityRequest, type SendMessageRequest, type SendRecipient, type SendingLimitPreset, type SendingPeriod, type SendingRule, type SendingRuleConfig, type SendingRuleService, type SendingRuleType, type Session, type SessionDeltaEntry, type SessionDeltaFrame, type SessionDeltaStreamOptions, type SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionPreview, type SessionPreviewStatus, type SessionRunningPayload, type SessionService, type SessionStatus, type SessionStreamOptions, type SessionToolKind, type SessionUpdatedPayload, type SetCallRecordingRequest, type SetDefaultSenderRequest, type SetProfileRequest, type SharePermission, type ShareRow, type ShareService, type SignatureChoice, type Skill, type SkillBundle, type SkillService, type SkillVersion, type Slot, type SlotParameters, type SlotService, type SlotUnavailability, type SlotUnavailabilityReason, type SpaceScope, type SpaceService, type SpeechPayload, type SpeechSegment, type StartDiscoveryInterviewParticipationRequest, type StartMcpOAuthResponse, type StartVoiceRequest, type StartVoiceResponse, type StopReason, StorageClient, type StorageFile, type StorageFileVersion, type StructuredText, type SyncConnectionRequest, type SystemSource, type TailOptions, type Team, type TeamMember, type TeamService, type TestNodeCandidate, type TestNodeInputSource, type TestNodeRequest, type TestNodeResponse, type TextBlock, type ToneProfile, type ToneProfileScope, type ToneProfileService, type ToneProfileSetup, type ToneProfileSetupStatus, type ToneProfileSource, type Tool, type ToolBinding, type ToolConfirmationPayload, type ToolKind, type ToolResultPayload, type ToolService, type ToolUseDeltaPayload, type ToolUsePayload, type ToolUseStartPayload, type Toolset, type ToolsetKind, type ToolsetService, type ToolsetToolSummary, type Topic, type TopicKind, type TopicService, type TranscribeStreamOptions, type TranscriptResult, type TranscriptTurn, type Transcription, type TranscriptionReviewStatus, type TranscriptionStatus, type TransferVoiceRequest, type TransferVoiceResponse, type TriggerKind, type Turn, type TwilioPhoneSettings, type TwilioPhoneVoicemailSettings, UNASSIGNED_SPACE_SLUG, type UnreadCounts, type UnreadCountsQuery, type UpdateAgentListenerRequest, type UpdateAgentRequest, type UpdateAvailabilityConstraintRequest, type UpdateCalendarConnectionRequest, type UpdateCalendarEventRequest, type UpdateCalendarEventTypeRequest, type UpdateCalendarRequest, type UpdateCalendarSyncRequest, type UpdateConnectionRequest, type UpdateConnectorConnectionRequest, type UpdateContactGroupRequest, type UpdateContactRequest, type UpdateConversationBriefRequest, type UpdateConversationFilterRequest, type UpdateConversationNoteRequest, type UpdateConversationObjectiveDefinitionRequest, type UpdateConversationRequest, type UpdateConversationTagDefinitionRequest, type UpdateConversationTagRequest, type UpdateConversationTagSetRequest, type UpdateConversationTypeRequest, type UpdateDiscoveryEvidenceFrameRequest, type UpdateDiscoveryEvidenceRequest, type UpdateDiscoveryEvidenceStatusRequest, type UpdateDiscoveryInterviewDefinitionRequest, type UpdateDraftRequest, type UpdateEmailSignatureRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateMeRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePhoneNumberRequest, type UpdateProfileRequest, type UpdatePromptRequest, type UpdateQueryRequest, type UpdateRecordDraftRequest, type UpdateRoleRequest, type UpdateSchedulingLinkRequest, type UpdateSendingRuleRequest, type UpdateSpaceRequest, type UpdateTeamRequest, type UpdateToolRequest, type UpdateToolsetRequest, type UpdateUserRequest, type UpdateWhiteboardTemplateRequest, type UpdateWorkflowRequest, type UpsertToneProfileRequest, type User, type UserMessagePayload, type UserProfileAssignment, UserProfileAssignmentSchema, type UserProfileAssignmentService, UserRef$2 as UserRef, type UserRoleAssignment, UserRoleAssignmentSchema, type UserRoleAssignmentService, UserSchema, type UserService, type VoiceEndReason, type VoiceEndedPayload, type VoiceRequestPayload, type VoiceService, type VoiceSession, type VoiceStartedPayload, type VoiceTranscriptionStream, type WarmupRuleConfig, type WebhookTriggerParams, type Weekday, type WhiteboardTemplate, type WhiteboardTemplateMetadata, type WhiteboardTemplateService, type WindowDay, type WindowRuleConfig, type Workflow, WorkflowClient, type WorkflowConnection, type WorkflowExecution, type WorkflowGraph, type WorkflowNode, type WorkflowNodeType, type WorkflowStatus, type WorkflowVersion, type WorkflowVersionAuthor, type WorkflowVersionSummary, type WriteContentOptions, type WriteContentResponse, type WriteCredentialsRequest, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isDeltaFrame, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, shareRouteFor, toQueryParams, toQueryString };
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 };
package/dist/index.js CHANGED
@@ -1076,6 +1076,8 @@ var PLATFORM_ENTITIES = [
1076
1076
  // their preset catalog.
1077
1077
  { slug: "sending-rules", name: "Sending Rules" },
1078
1078
  { slug: "email-signatures", name: "Email Signatures" },
1079
+ // Reusable messages and snippets, the organisation's and each person's own.
1080
+ { slug: "message-templates", name: "Message Templates" },
1079
1081
  // The channel_action ledger: acts through a connection that are neither a
1080
1082
  // message nor a reaction (LinkedIn invitations, profile visits, InMail).
1081
1083
  { slug: "channel-actions", name: "Channel Actions" },
@@ -1829,6 +1831,9 @@ function buildQuery(options) {
1829
1831
  return queryString ? `?${queryString}` : "";
1830
1832
  }
1831
1833
 
1834
+ // src/conversation/types.ts
1835
+ var UNSUBSCRIBE_URL_PLACEHOLDER = "https://unsubscribe.invalid/link";
1836
+
1832
1837
  // src/conversation/index.ts
1833
1838
  var CONVERSATION_BASE_PATH = "/conversations/v1";
1834
1839
  var ConversationClient = class {
@@ -1843,6 +1848,8 @@ var ConversationClient = class {
1843
1848
  /** Outbound send constraints: windows, connection limits, frequency caps + presets. */
1844
1849
  sendingRules;
1845
1850
  emailSignatures;
1851
+ /** Reusable messages and snippets, and rendering one for a recipient. */
1852
+ messageTemplates;
1846
1853
  /**
1847
1854
  * Channel actions: acts performed through a connection that are neither a
1848
1855
  * message nor a reaction — LinkedIn invitations, profile visits, InMail.
@@ -1890,6 +1897,7 @@ var ConversationClient = class {
1890
1897
  this.conversationFilters = new ConversationFilterServiceImpl(client);
1891
1898
  this.sendingRules = new SendingRuleServiceImpl(client);
1892
1899
  this.emailSignatures = new EmailSignatureServiceImpl(client);
1900
+ this.messageTemplates = new MessageTemplateServiceImpl(client);
1893
1901
  this.channelActions = new ChannelActionServiceImpl(client);
1894
1902
  this.channelEvents = new ChannelEventServiceImpl(client);
1895
1903
  this.glossaryTerms = new GlossaryTermServiceImpl(client);
@@ -3069,6 +3077,51 @@ var EmailSignatureServiceImpl = class {
3069
3077
  );
3070
3078
  }
3071
3079
  };
3080
+ var MessageTemplateServiceImpl = class {
3081
+ constructor(client) {
3082
+ this.client = client;
3083
+ }
3084
+ client;
3085
+ list(query = {}) {
3086
+ return this.client.requestWithQuery("GET", `${CONVERSATION_BASE_PATH}/message-templates`, query);
3087
+ }
3088
+ get(idOrKey) {
3089
+ return this.client.request(
3090
+ "GET",
3091
+ `${CONVERSATION_BASE_PATH}/message-templates/${encodeURIComponent(idOrKey)}`
3092
+ );
3093
+ }
3094
+ create(request) {
3095
+ return this.client.request("POST", `${CONVERSATION_BASE_PATH}/message-templates`, request);
3096
+ }
3097
+ update(id, request) {
3098
+ return this.client.request(
3099
+ "PATCH",
3100
+ `${CONVERSATION_BASE_PATH}/message-templates/${encodeURIComponent(id)}`,
3101
+ request
3102
+ );
3103
+ }
3104
+ upsertByKey(key, request) {
3105
+ return this.client.request(
3106
+ "PUT",
3107
+ `${CONVERSATION_BASE_PATH}/message-templates/${encodeURIComponent(key)}`,
3108
+ request
3109
+ );
3110
+ }
3111
+ async delete(id) {
3112
+ await this.client.request(
3113
+ "DELETE",
3114
+ `${CONVERSATION_BASE_PATH}/message-templates/${encodeURIComponent(id)}`
3115
+ );
3116
+ }
3117
+ render(request) {
3118
+ return this.client.request(
3119
+ "POST",
3120
+ `${CONVERSATION_BASE_PATH}/message-templates/render`,
3121
+ request
3122
+ );
3123
+ }
3124
+ };
3072
3125
  var ChannelActionServiceImpl = class {
3073
3126
  constructor(client) {
3074
3127
  this.client = client;
@@ -4814,6 +4867,6 @@ var WorkflowClient = class {
4814
4867
  }
4815
4868
  };
4816
4869
 
4817
- export { AccountClient, ActionSchema, ActionScopeSchema, AgentClient, BatchTransactionErrorSchema, BatchUpsertRecordsResponseSchema, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, ConnectorClient, ConversationClient, DEFAULT_OPTIONS, DEFAULT_PORT, DataClient, DiscoveryClient, ERROR_PORT, ErrorCode, EventsClient, FunctionsClient, KnowledgeClient, KnowledgeLabelSchema, KnowledgeLinkSchema, KnowledgeNodeLabelSchema, KnowledgeNodeMetadataSchema, KnowledgeNodeSchema, KnowledgeNodeSearchResultSchema, KnowledgeRecordLinkSchema, NodeNeighborhoodSchema, OrganizationSchema, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, ProfileSchema, ProteosClient, ProteosError, RecordDraftChangeSchema, RecordDraftItemResultSchema, RecordDraftItemSchema, RoleEntityPermissionSchema, RoleSchema, SCOPED_PLATFORM_ENTITY_SLUGS, SchedulingClient, StorageClient, UNASSIGNED_SPACE_SLUG, UserProfileAssignmentSchema, UserRoleAssignmentSchema, UserSchema, WorkflowClient, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isDeltaFrame, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, resolveOptions, shareRouteFor, toQueryParams, toQueryString };
4870
+ export { AccountClient, ActionSchema, ActionScopeSchema, AgentClient, BatchTransactionErrorSchema, BatchUpsertRecordsResponseSchema, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, ConnectorClient, ConversationClient, DEFAULT_OPTIONS, DEFAULT_PORT, DataClient, DiscoveryClient, ERROR_PORT, ErrorCode, EventsClient, FunctionsClient, KnowledgeClient, KnowledgeLabelSchema, KnowledgeLinkSchema, KnowledgeNodeLabelSchema, KnowledgeNodeMetadataSchema, KnowledgeNodeSchema, KnowledgeNodeSearchResultSchema, KnowledgeRecordLinkSchema, NodeNeighborhoodSchema, OrganizationSchema, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, ProfileSchema, ProteosClient, ProteosError, RecordDraftChangeSchema, RecordDraftItemResultSchema, RecordDraftItemSchema, RoleEntityPermissionSchema, RoleSchema, SCOPED_PLATFORM_ENTITY_SLUGS, SchedulingClient, StorageClient, UNASSIGNED_SPACE_SLUG, UNSUBSCRIBE_URL_PLACEHOLDER, UserProfileAssignmentSchema, UserRoleAssignmentSchema, UserSchema, WorkflowClient, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isDeltaFrame, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, resolveOptions, shareRouteFor, toQueryParams, toQueryString };
4818
4871
  //# sourceMappingURL=index.js.map
4819
4872
  //# sourceMappingURL=index.js.map