@proteos/sdk 0.88.0 → 0.89.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
@@ -1,5 +1,5 @@
1
- import { A as AuditFields, L as ListOptions, a as Attribute, U as UserRef$2, P as PageIterator, b as ListResult, R as RequestOptions, c as ProteosClient, F as FileRef, d as PrincipalRef, e as PageAction, f as ResponseMeta$1, g as PublicAccessOperation } from './types-D38dRFU7.js';
2
- export { h as App, i as AppConfiguration, j as AppConfigurationSchema, k as AppConfigurationService, l as AppHome, m as AppHomeSchema, n as AppHomeType, o as AppSchema, p as AppService, q as ArrayAttributeMeta, r as AttributeAccessRule, s as AttributeRestrictions, t as AttributeSchema, u as AttributeType, v as AuditFieldsSchema, C as CURRENT_USER, w as CURRENT_USER_DEFAULT, x as ClientOptions, y as Column, z as ColumnSchema, B as ComparisonOperator, D as Component, E as ComponentSchema, G as ComponentService, H as ContactAddressAttributeKind, I as ContactAddressAttributeMeta, J as ContactAddressAttributeMetaSchema, K as ContactBindingDuplicatePolicy, M as CreateAppConfigurationRequest, N as CreateAppRequest, O as CreateComponentRequest, Q as CreateDesignReferenceRequest, S as CreateEntityExtensionRequest, T as CreateEntityRequest, V as CreateListExtensionRequest, W as CreateListRequest, X as CreateListViewRequest, Y as CreateMenuConfigurationExtensionRequest, Z as CreateMenuConfigurationRequest, _ as CreatePageExtensionRequest, $ as CreatePageRequest, a0 as CreateVariableRequest, a1 as CurrencyAttributeMeta, a2 as CurrencyAttributeMetaSchema, a3 as CurrencySymbolSide, a4 as CurrencyValue, a5 as CurrentUserDefault, a6 as DEFAULT_OPTIONS, a7 as DEFAULT_PAGE_SIZE, a8 as DONE, a9 as DeployModuleRequest, aa as DesignReference, ab as DesignReferenceContent, ac as DesignReferenceSchema, ad as DesignReferenceService, ae as Done, af as Entity, ag as EntityContactBinding, ah as EntityContactBindingSchema, ai as EntityExtension, aj as EntityExtensionSchema, ak as EntityExtensionService, al as EntitySchema, am as EntityService, an as EntityWithSchema, ao as EntityWithSchemaSchema, ap as EnumAttributeMeta, aq as EnumValue, ar as ExtensionPosition, as as ExtensionPositionSchema, at as FileAttributeMeta, au as FileRefSchema, av as FilterElement, aw as FilterElementSchema, ax as FilterGroup, ay as FilterGroupSchema, az as List, aA as ListAppConfigurationsOptions, aB as ListAppsOptions, aC as ListComponentsOptions, aD as ListDesignReferencesOptions, aE as ListEntitiesOptions, aF as ListEntityExtensionsOptions, aG as ListExtension, aH as ListExtensionColumnPlacement, aI as ListExtensionColumnPlacementSchema, aJ as ListExtensionSchema, aK as ListExtensionService, aL as ListFn, aM as ListListExtensionsOptions, aN as ListListViewsOptions, aO as ListListsOptions, aP as ListMenuConfigurationExtensionsOptions, aQ as ListMenuConfigurationsOptions, aR as ListModulesOptions, aS as ListPageExtensionsOptions, aT as ListPagesOptions, aU as ListSchema, aV as ListService, aW as ListVariablesOptions, aX as ListView, aY as ListViewSchema, aZ as ListViewService, a_ as LogicalOperator, a$ as MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, b0 as MenuConfiguration, b1 as MenuConfigurationExtension, b2 as MenuConfigurationExtensionPlacement, b3 as MenuConfigurationExtensionPlacementSchema, b4 as MenuConfigurationExtensionPosition, b5 as MenuConfigurationExtensionPositionSchema, b6 as MenuConfigurationExtensionSchema, b7 as MenuConfigurationExtensionService, b8 as MenuConfigurationSchema, b9 as MenuConfigurationService, ba as MenuItem, bb as MenuItemSchema, bc as MenuItemType, bd as MetaClient, be as MetaListOptions, bf as Module, bg as ModuleSchema, bh as ModuleService, bi as ModuleStatus, bj as OnDeleteAction, bk as OnDeleteActionSchema, bl as PAGE_ACTION_MATCH_MAX_LIMIT, bm as PAGE_EXTENSION_ANCHOR_MAIN, bn as PAGE_EXTENSION_ANCHOR_SIDE_PANEL, bo as PLATFORM_ATTRIBUTE_NAMES, bp as PLATFORM_USER_ID, bq as Page, br as PageActionIntent, bs as PageActionKind, bt as PageActionMatch, bu as PageActionMatchSchema, bv as PageActionSchema, bw as PageExtension, bx as PageExtensionPlacement, by as PageExtensionPlacementSchema, bz as PageExtensionSchema, bA as PageExtensionService, bB as PageLayout, bC as PageLayoutSchema, bD as PageMode, bE as PageSchema, bF as PageService, bG as PageType, bH as PublicPageComponent, bI as PublicPageResponse, bJ as RecordPageBinding, bK as RecordPageBindingSchema, bL as RelationAttributeMeta, bM as RelationAttributeMetaSchema, bN as ResolvedClientOptions, bO as ResponseMetaSchema, bP as SortConfig, bQ as SortConfigSchema, bR as SortDirection, bS as Timestamps, bT as TokenProvider, bU as TriggerPageBinding, bV as TriggerPageBindingSchema, bW as TriggerPhase, bX as UpdateAppConfigurationRequest, bY as UpdateAppRequest, bZ as UpdateComponentRequest, b_ as UpdateDesignReferenceRequest, b$ as UpdateEntityExtensionRequest, c0 as UpdateEntityRequest, c1 as UpdateListExtensionRequest, c2 as UpdateListRequest, c3 as UpdateListViewRequest, c4 as UpdateMenuConfigurationExtensionRequest, c5 as UpdateMenuConfigurationRequest, c6 as UpdatePageExtensionRequest, c7 as UpdatePageRequest, c8 as UpdateVariableRequest, c9 as UserRefSchema, ca as UserType, cb as Variable, cc as VariableSchema, cd as VariableService, ce as acceptsCurrentUserDefault, cf as allCurrencyCodes, cg as bundleVersionOf, ch as createIterator, ci as createListResultSchema, cj as currencyLabel, ck as currencySymbol, cl as currencySymbolSide, cm as formatAmount, cn as formatMoney, co as isCurrentUser, cp as isCurrentUserDefault, cq as isPlatformAttributeName, cr as localeNumberSeparators, cs as parseAmount, ct as parseContactAddressMeta, cu as parseCurrencyMeta, cv as parseFileMeta, cw as parseRelationMeta, cx as platformAttributes, cy as resolveOptions } from './types-D38dRFU7.js';
1
+ import { A as AuditFields, L as ListOptions, a as Attribute, U as UserRef$2, P as PageIterator, b as ListResult, R as RequestOptions, c as ProteosClient, F as FileRef, d as PrincipalRef, e as PageAction, f as FilterGroup, g as ResponseMeta$1, h as PublicAccessOperation } from './types-BbiiuHnH.js';
2
+ export { i as App, j as AppConfiguration, k as AppConfigurationSchema, l as AppConfigurationService, m as AppHome, n as AppHomeSchema, o as AppHomeType, p as AppSchema, q as AppService, r as ArrayAttributeMeta, s as AttributeAccessRule, t as AttributeRestrictions, u as AttributeSchema, v as AttributeType, w as AuditFieldsSchema, C as CURRENT_USER, x as CURRENT_USER_DEFAULT, y as ClientOptions, z as Column, B as ColumnSchema, D as ComparisonOperator, E as Component, G as ComponentSchema, H as ComponentService, I as ContactAddressAttributeKind, J as ContactAddressAttributeMeta, K as ContactAddressAttributeMetaSchema, M as ContactBindingDuplicatePolicy, N as CreateAppConfigurationRequest, O as CreateAppRequest, Q as CreateComponentRequest, S as CreateDesignReferenceRequest, T as CreateEntityExtensionRequest, V as CreateEntityRequest, W as CreateListExtensionRequest, X as CreateListRequest, Y as CreateListViewRequest, Z as CreateMenuConfigurationExtensionRequest, _ as CreateMenuConfigurationRequest, $ as CreatePageExtensionRequest, a0 as CreatePageRequest, a1 as CreateVariableRequest, a2 as CurrencyAttributeMeta, a3 as CurrencyAttributeMetaSchema, a4 as CurrencySymbolSide, a5 as CurrencyValue, a6 as CurrentUserDefault, a7 as DEFAULT_OPTIONS, a8 as DEFAULT_PAGE_SIZE, a9 as DONE, aa as DeployModuleRequest, ab as DesignReference, ac as DesignReferenceContent, ad as DesignReferenceSchema, ae as DesignReferenceService, af as Done, ag as Entity, ah as EntityContactBinding, ai as EntityContactBindingSchema, aj as EntityExtension, ak as EntityExtensionSchema, al as EntityExtensionService, am as EntitySchema, an as EntityService, ao as EntityWithSchema, ap as EntityWithSchemaSchema, aq as EnumAttributeMeta, ar as EnumValue, as as ExtensionPosition, at as ExtensionPositionSchema, au as FileAttributeMeta, av as FileRefSchema, aw as FilterElement, ax as FilterElementSchema, ay as FilterGroupSchema, az as List, aA as ListAppConfigurationsOptions, aB as ListAppsOptions, aC as ListComponentsOptions, aD as ListDesignReferencesOptions, aE as ListEntitiesOptions, aF as ListEntityExtensionsOptions, aG as ListExtension, aH as ListExtensionColumnPlacement, aI as ListExtensionColumnPlacementSchema, aJ as ListExtensionSchema, aK as ListExtensionService, aL as ListFn, aM as ListListExtensionsOptions, aN as ListListViewsOptions, aO as ListListsOptions, aP as ListMenuConfigurationExtensionsOptions, aQ as ListMenuConfigurationsOptions, aR as ListModulesOptions, aS as ListPageExtensionsOptions, aT as ListPagesOptions, aU as ListSchema, aV as ListService, aW as ListVariablesOptions, aX as ListView, aY as ListViewSchema, aZ as ListViewService, a_ as LogicalOperator, a$ as MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, b0 as MenuConfiguration, b1 as MenuConfigurationExtension, b2 as MenuConfigurationExtensionPlacement, b3 as MenuConfigurationExtensionPlacementSchema, b4 as MenuConfigurationExtensionPosition, b5 as MenuConfigurationExtensionPositionSchema, b6 as MenuConfigurationExtensionSchema, b7 as MenuConfigurationExtensionService, b8 as MenuConfigurationSchema, b9 as MenuConfigurationService, ba as MenuItem, bb as MenuItemSchema, bc as MenuItemType, bd as MetaClient, be as MetaListOptions, bf as Module, bg as ModuleSchema, bh as ModuleService, bi as ModuleStatus, bj as OnDeleteAction, bk as OnDeleteActionSchema, bl as PAGE_ACTION_MATCH_MAX_LIMIT, bm as PAGE_EXTENSION_ANCHOR_MAIN, bn as PAGE_EXTENSION_ANCHOR_SIDE_PANEL, bo as PLATFORM_ATTRIBUTE_NAMES, bp as PLATFORM_USER_ID, bq as Page, br as PageActionIntent, bs as PageActionKind, bt as PageActionMatch, bu as PageActionMatchSchema, bv as PageActionSchema, bw as PageExtension, bx as PageExtensionPlacement, by as PageExtensionPlacementSchema, bz as PageExtensionSchema, bA as PageExtensionService, bB as PageLayout, bC as PageLayoutSchema, bD as PageMode, bE as PageSchema, bF as PageService, bG as PageType, bH as PublicPageComponent, bI as PublicPageResponse, bJ as RecordPageBinding, bK as RecordPageBindingSchema, bL as RelationAttributeMeta, bM as RelationAttributeMetaSchema, bN as ResolvedClientOptions, bO as ResponseMetaSchema, bP as SortConfig, bQ as SortConfigSchema, bR as SortDirection, bS as Timestamps, bT as TokenProvider, bU as TriggerPageBinding, bV as TriggerPageBindingSchema, bW as TriggerPhase, bX as UpdateAppConfigurationRequest, bY as UpdateAppRequest, bZ as UpdateComponentRequest, b_ as UpdateDesignReferenceRequest, b$ as UpdateEntityExtensionRequest, c0 as UpdateEntityRequest, c1 as UpdateListExtensionRequest, c2 as UpdateListRequest, c3 as UpdateListViewRequest, c4 as UpdateMenuConfigurationExtensionRequest, c5 as UpdateMenuConfigurationRequest, c6 as UpdatePageExtensionRequest, c7 as UpdatePageRequest, c8 as UpdateVariableRequest, c9 as UserRefSchema, ca as UserType, cb as Variable, cc as VariableSchema, cd as VariableService, ce as acceptsCurrentUserDefault, cf as allCurrencyCodes, cg as bundleVersionOf, ch as createIterator, ci as createListResultSchema, cj as currencyLabel, ck as currencySymbol, cl as currencySymbolSide, cm as formatAmount, cn as formatMoney, co as isCurrentUser, cp as isCurrentUserDefault, cq as isPlatformAttributeName, cr as localeNumberSeparators, cs as parseAmount, ct as parseContactAddressMeta, cu as parseCurrencyMeta, cv as parseFileMeta, cw as parseRelationMeta, cx as platformAttributes, cy as resolveOptions } from './types-BbiiuHnH.js';
3
3
  import { z } from 'zod';
4
4
 
5
5
  /**
@@ -39,10 +39,13 @@ interface ModelConfig {
39
39
  * turn going through restarts and gives the session a sandbox (long-running
40
40
  * work; Anthropic Managed Agents today). `embedded` runs the loop inside the
41
41
  * agent service: replies stream while the model writes them, and there is no
42
- * sandbox. The value names the kind of runtime, not the vendor behind it, and
43
- * `embedded` is about where the loop runs, not about where the chat is shown.
42
+ * sandbox. `sandbox` runs a coding agent inside a sandbox that belongs to the
43
+ * session, as the person who owns the session and on that person's own model
44
+ * credential (Claude Code today). The value names the kind of runtime, not the
45
+ * vendor behind it, and `embedded` is about where the loop runs, not about
46
+ * where the chat is shown.
44
47
  */
45
- type AgentRuntime = 'durable' | 'embedded';
48
+ type AgentRuntime = 'durable' | 'embedded' | 'sandbox';
46
49
  /**
47
50
  * A configured persona: a system prompt + model config + the skills, tools,
48
51
  * sub-agents and MCP servers it can use. All references are by key (immutable):
@@ -566,6 +569,27 @@ interface Session extends AuditFields {
566
569
  /** Who ended it; null unless `status` is `ended` (and on sessions ended by the platform). */
567
570
  ended_by: UserRef$2 | null;
568
571
  }
572
+ /**
573
+ * What a session's preview shows: `serving` at `url`; `no_module` when the
574
+ * session's sandbox holds no module to preview yet; `not_started` when the
575
+ * session has no sandbox yet (its first message creates one).
576
+ */
577
+ type SessionPreviewStatus = 'serving' | 'no_module' | 'not_started';
578
+ /**
579
+ * The live preview of the module an agent works on in its session's sandbox
580
+ * (sessions on the `sandbox` runtime), as a page to show in a frame.
581
+ */
582
+ interface SessionPreview {
583
+ status: SessionPreviewStatus;
584
+ /**
585
+ * The preview's address; null unless `status` is `serving`. The address is
586
+ * the whole credential: whoever has it sees the preview until `expires_at`,
587
+ * so show it to the session's owner only and do not store it.
588
+ */
589
+ url: string | null;
590
+ /** When `url` stops working (RFC 3339); null without one. */
591
+ expires_at: string | null;
592
+ }
569
593
  /**
570
594
  * The discriminant of a {@link SessionEvent} — it selects which payload shape the
571
595
  * event carries. These are the WHOLE events of the stored log; the chunk frames
@@ -1510,6 +1534,15 @@ interface SessionService {
1510
1534
  * `running`. The next `user.message` reopens an ended session.
1511
1535
  */
1512
1536
  end(id: string): Promise<Session>;
1537
+ /**
1538
+ * Makes the live preview of what the session's agent builds in its sandbox
1539
+ * reachable for the caller's browser and returns where it is. Starts the
1540
+ * session's sandbox when it is stopped; every call returns a new address.
1541
+ * Only the person who started the session may call it.
1542
+ * @throws {ProteosError} 400 `session_preview_unavailable` for a session
1543
+ * that is not on the `sandbox` runtime; 403 `sandbox_session_owner_only`.
1544
+ */
1545
+ openPreview(id: string): Promise<SessionPreview>;
1513
1546
  /**
1514
1547
  * Convenience: appends a `user.tool_result` answering a client tool the agent
1515
1548
  * called (an `agent.tool_use` with `tool_kind: 'client'`). `toolUseId` is that
@@ -3097,6 +3130,8 @@ interface UserService {
3097
3130
  /**
3098
3131
  * Deletes (revokes) an API key. Other services may keep accepting the key
3099
3132
  * for up to their verification-cache TTL (~60s).
3133
+ * Unlike create and list, it also works when the request is authenticated
3134
+ * with an API key, so a key can revoke itself.
3100
3135
  *
3101
3136
  * @param userId - User ID, or `'me'` for the calling user
3102
3137
  * @param keyId - API key ID
@@ -3359,6 +3394,8 @@ interface ListConnectorConnectionsQuery {
3359
3394
  connector_key?: string;
3360
3395
  scope?: ConnectionScope$1;
3361
3396
  status?: ConnectionStatus$1;
3397
+ /** Only one user's personal connections: a user id, or `me` for the caller. */
3398
+ owner?: string;
3362
3399
  }
3363
3400
  interface ListResponse$3<T> {
3364
3401
  data: T[];
@@ -3429,7 +3466,7 @@ type Channel = 'slack' | 'email' | 'linkedin' | 'sms' | 'teams-chat' | 'telegram
3429
3466
  * meeting-bot family: adhoc-meeting dispatches by meeting URL; the calendar
3430
3467
  * keys auto-join through a user's connected calendar.
3431
3468
  */
3432
- type ConnectorKey = 'slack' | 'gmail' | 'outlook' | 'echo' | 'unipile-whatsapp' | 'unipile-linkedin' | 'unipile-telegram' | 'unipile-instagram' | 'unipile-messenger' | 'unipile-x' | 'adhoc-meeting' | 'google-calendar-meeting' | 'microsoft-calendar-meeting' | 'twilio-phone' | 'aircall' | 'webhook-cti' | 'sendgrid';
3469
+ type ConnectorKey = 'slack' | 'gmail' | 'outlook' | 'echo' | 'unipile-whatsapp' | 'unipile-linkedin' | 'unipile-telegram' | 'unipile-instagram' | 'unipile-messenger' | 'unipile-x' | 'adhoc-meeting' | 'google-calendar-meeting' | 'microsoft-calendar-meeting' | 'twilio-phone' | 'aircall' | 'webhook-cti' | 'sendgrid' | 'microsoft-teams' | 'platform-email';
3433
3470
  /**
3434
3471
  * Telephony lifecycle of one phone call, carried in the call conversation's
3435
3472
  * `metadata.call_status` (a call is a conversation plus call facts — no
@@ -3696,6 +3733,11 @@ interface Connection {
3696
3733
  supports_reactions: boolean;
3697
3734
  /** The capability descriptor; absent when unsupported. */
3698
3735
  reactions?: ReactionCapability;
3736
+ /**
3737
+ * Computed on read: the connector sends a message's html block as the
3738
+ * body's html part, so a composer can offer rich formatting.
3739
+ */
3740
+ supports_html: boolean;
3699
3741
  /**
3700
3742
  * Computed on read like reactions: the channel actions the connector
3701
3743
  * performs through this connection (invitation, profile_visit, inmail, …).
@@ -3868,6 +3910,16 @@ interface Message {
3868
3910
  tone_profile_id?: string;
3869
3911
  /** The reviewer took the quoted previous message off this reply. */
3870
3912
  is_quote_removed?: boolean;
3913
+ /** The signature chosen for this email. Absent means the default that applies when it is sent. May no longer resolve. */
3914
+ signature_id?: string;
3915
+ /** This email goes out without a signature. */
3916
+ is_signature_removed?: boolean;
3917
+ /**
3918
+ * The signature the email carries below the body and above the quote. On a
3919
+ * sent message, the snapshot of what went out. On a single draft read, what
3920
+ * a send would add now. Never part of `content`.
3921
+ */
3922
+ signature?: MessageSignature;
3871
3923
  /** 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. */
3872
3924
  is_sent_from_platform?: boolean;
3873
3925
  /** The newest entry in this draft's history; absent until its first change. */
@@ -4050,6 +4102,12 @@ interface InstallConnectionResponse {
4050
4102
  interface SendMessageRequest {
4051
4103
  /** Records the tone a draft was written in. Stored by draft; send ignores it. */
4052
4104
  tone_profile_id?: string;
4105
+ /**
4106
+ * The email signature: `default` (or omitted) for the default that applies,
4107
+ * `none` for no signature, or a signature id. Added below the body at send,
4108
+ * never part of `content`. Ignored on every channel but email.
4109
+ */
4110
+ signature?: SignatureChoice;
4053
4111
  /** Reply mode: send into this existing conversation. */
4054
4112
  conversation_id?: string;
4055
4113
  /**
@@ -4161,6 +4219,11 @@ interface UpdateDraftRequest {
4161
4219
  is_quote_removed?: boolean;
4162
4220
  /** Replaces the tone recorded on the draft. Omit to keep it. */
4163
4221
  tone_profile_id?: string;
4222
+ /**
4223
+ * Replaces the draft's signature choice. Omit to keep it. The response then
4224
+ * carries the `signature` the draft now resolves to.
4225
+ */
4226
+ signature?: SignatureChoice;
4164
4227
  /** What this edit is in the draft's history. Defaults to `edited`. */
4165
4228
  version_kind?: Exclude<MessageDraftVersionKind, 'drafted'>;
4166
4229
  /** The reviewer's prompt behind a redraft. */
@@ -5617,6 +5680,8 @@ type ListConversationFilterEventsQuery = PaginationQuery;
5617
5680
  */
5618
5681
  type RecipientKind = 'contact-address' | 'room';
5619
5682
  type ContactAddressKind = 'email' | 'phone' | 'slack'
5683
+ /** A Microsoft Teams user's Entra object id (lowercase GUID), scoped to the tenant. */
5684
+ | 'teams'
5620
5685
  /** LinkedIn's stable profile id (ACoAA… / ACwAA… / AE…) — what sending needs. */
5621
5686
  | 'linkedin_id'
5622
5687
  /** The `/in/<slug>` public identifier — what humans and records hold. */
@@ -6294,6 +6359,74 @@ interface ListConversationBriefsQuery extends PaginationQuery {
6294
6359
  sort_by?: string;
6295
6360
  sort?: 'asc' | 'desc';
6296
6361
  }
6362
+ /** Which emails a default signature is picked for. */
6363
+ type EmailSignatureAppliesTo = 'all' | 'new' | 'reply';
6364
+ /** A send's, draft's or draft edit's pick of a signature: the default, none, or a signature id. */
6365
+ type SignatureChoice = 'default' | 'none' | (string & {});
6366
+ /**
6367
+ * The block an email send adds below what the person wrote and above the
6368
+ * quote. Belongs to one person (`owned_by`) or, without one, to the
6369
+ * organisation; `connection_id` ties it to one mailbox. Among the defaults a
6370
+ * send picks the sending mailbox's, then the sender's own, then the
6371
+ * organisation's.
6372
+ */
6373
+ interface EmailSignature {
6374
+ id: string;
6375
+ org_id: string;
6376
+ name: string;
6377
+ /** Sanitized like every stored email html. */
6378
+ html: string;
6379
+ /** The plain-text part; derived from `html` unless `is_text_custom`. */
6380
+ text: string;
6381
+ is_text_custom: boolean;
6382
+ /** The person it belongs to; absent for the organisation. */
6383
+ owned_by?: UserRef;
6384
+ /** The mailbox it is tied to; absent for every mailbox. */
6385
+ connection_id?: string;
6386
+ is_default: boolean;
6387
+ applies_to: EmailSignatureAppliesTo;
6388
+ created_at: string;
6389
+ created_by: UserRef;
6390
+ updated_at: string;
6391
+ updated_by: UserRef;
6392
+ }
6393
+ /** A signature as one email carries it. */
6394
+ interface MessageSignature {
6395
+ id: string;
6396
+ name: string;
6397
+ html: string;
6398
+ text: string;
6399
+ }
6400
+ interface CreateEmailSignatureRequest {
6401
+ name: string;
6402
+ /** `html` or `text` is required. */
6403
+ html?: string;
6404
+ /** Left empty, it is derived from `html`. */
6405
+ text?: string;
6406
+ /** Empty or omitted makes it the organisation's. */
6407
+ owned_by_id?: string;
6408
+ /** Empty or omitted makes it apply to every mailbox. */
6409
+ connection_id?: string;
6410
+ /** Defaults to false. Becoming the default takes the flag off the others of the same owner, mailbox and kind. */
6411
+ is_default?: boolean;
6412
+ /** Defaults to `all`. */
6413
+ applies_to?: EmailSignatureAppliesTo;
6414
+ }
6415
+ /** Omitted fields keep what is stored. `text` sent empty goes back to being derived. */
6416
+ type UpdateEmailSignatureRequest = Partial<CreateEmailSignatureRequest>;
6417
+ interface ListEmailSignaturesQuery extends PaginationQuery {
6418
+ owned_by_id?: string;
6419
+ /** true: the organisation's own; false: everyone's personal ones. */
6420
+ is_organisation?: boolean;
6421
+ connection_id?: string;
6422
+ is_default?: boolean;
6423
+ }
6424
+ interface ResolveEmailSignatureQuery {
6425
+ connection_id?: string;
6426
+ /** Whose personal default counts; the caller when omitted. */
6427
+ owned_by_id?: string;
6428
+ is_reply?: boolean;
6429
+ }
6297
6430
  interface SendingRule {
6298
6431
  id: string;
6299
6432
  org_id: string;
@@ -6820,6 +6953,7 @@ declare class ConversationClient {
6820
6953
  readonly conversationFilters: ConversationFilterService;
6821
6954
  /** Outbound send constraints: windows, connection limits, frequency caps + presets. */
6822
6955
  readonly sendingRules: SendingRuleService;
6956
+ readonly emailSignatures: EmailSignatureService;
6823
6957
  /**
6824
6958
  * Channel actions: acts performed through a connection that are neither a
6825
6959
  * message nor a reaction — LinkedIn invitations, profile visits, InMail.
@@ -7404,6 +7538,22 @@ interface SendingRuleService {
7404
7538
  data: SendingRule[];
7405
7539
  }>;
7406
7540
  }
7541
+ /**
7542
+ * Email signatures: the block an email send adds below the body and above
7543
+ * the quote. A send, draft or draft edit picks one with its `signature`
7544
+ * field; without it the default applies.
7545
+ */
7546
+ interface EmailSignatureService {
7547
+ list(query?: ListEmailSignaturesQuery): Promise<ListResponse$2<EmailSignature>>;
7548
+ get(id: string): Promise<EmailSignature>;
7549
+ create(request: CreateEmailSignatureRequest): Promise<EmailSignature>;
7550
+ update(id: string, request: UpdateEmailSignatureRequest): Promise<EmailSignature>;
7551
+ delete(id: string): Promise<void>;
7552
+ /** The default signature an email would get; `data` is null when none applies. */
7553
+ resolve(query?: ResolveEmailSignatureQuery): Promise<{
7554
+ data: MessageSignature | null;
7555
+ }>;
7556
+ }
7407
7557
  /**
7408
7558
  * Channel actions — the ledger of acts performed through a connection that
7409
7559
  * are neither a message nor a reaction (LinkedIn invitations, profile visits,
@@ -8018,7 +8168,53 @@ interface QueryValidateResponse {
8018
8168
  meta?: QueryValidateMeta;
8019
8169
  }
8020
8170
  /**
8021
- * Service for the raw-SQL query endpoint of the data-service.
8171
+ * The visual editor's state for a {@link Query}: the entity it reads, the
8172
+ * selected column paths (relation fields are prefixed with the foreign-key
8173
+ * attribute, e.g. `accountId.name`) and the filter. It only reopens the
8174
+ * editor — `sql` is what runs.
8175
+ */
8176
+ interface QueryBuilder {
8177
+ entity_slug: string;
8178
+ columns: string[];
8179
+ filter?: FilterGroup;
8180
+ }
8181
+ /**
8182
+ * A stored SQL query. Running it is `execute(query.sql)` as the viewer, so a
8183
+ * query never carries data access with it. `created_by` is the owner;
8184
+ * everyone else reaches it through a share on the `queries` slug.
8185
+ */
8186
+ interface Query {
8187
+ id: string;
8188
+ org_id: string;
8189
+ name: string;
8190
+ sql: string;
8191
+ /** Absent for a query that was never built visually. */
8192
+ builder?: QueryBuilder;
8193
+ /** Whether the caller may update this query. Computed per request. */
8194
+ can_write: boolean;
8195
+ created_at: string;
8196
+ created_by: UserRef$2;
8197
+ updated_at: string;
8198
+ updated_by: UserRef$2;
8199
+ }
8200
+ interface CreateQueryRequest {
8201
+ name: string;
8202
+ sql: string;
8203
+ builder?: QueryBuilder;
8204
+ }
8205
+ /** An absent field keeps its value. */
8206
+ interface UpdateQueryRequest {
8207
+ name?: string;
8208
+ sql?: string;
8209
+ builder?: QueryBuilder;
8210
+ }
8211
+ interface ListQueriesQuery {
8212
+ page?: number;
8213
+ page_size?: number;
8214
+ }
8215
+ /**
8216
+ * Service for the query endpoints of the data-service: running raw SQL and
8217
+ * storing queries to run again.
8022
8218
  *
8023
8219
  * Accepts SELECT-only Postgres SQL with bare attribute references; the
8024
8220
  * server rewrites bare attributes into JSONB accessors against the
@@ -8029,6 +8225,16 @@ interface QueryService {
8029
8225
  execute(sql: string): Promise<QueryExecuteResponse>;
8030
8226
  /** Parses + authorizes the SQL without running it. */
8031
8227
  validate(sql: string): Promise<QueryValidateResponse>;
8228
+ /** The caller's own queries and those shared with them, ordered by name. */
8229
+ list(query?: ListQueriesQuery): Promise<ListResult<Query>>;
8230
+ /** 404 `query_not_found` when the caller cannot see the query. */
8231
+ get(id: string): Promise<Query>;
8232
+ /** Stores the query; the caller becomes its owner. Nothing is executed. */
8233
+ create(request: CreateQueryRequest): Promise<Query>;
8234
+ /** 403 `queries_write_not_permitted` when the caller can only read it. */
8235
+ update(id: string, request: UpdateQueryRequest): Promise<Query>;
8236
+ /** Deletes the query and its shares. */
8237
+ delete(id: string): Promise<void>;
8032
8238
  }
8033
8239
 
8034
8240
  /**
@@ -12152,4 +12358,4 @@ declare class WorkflowClient {
12152
12358
  constructor(client: ProteosClient);
12153
12359
  }
12154
12360
 
12155
- export { type AcceptMistranscribedTermRequest, AccountClient, type Action, type ActionBinding, ActionSchema, type ActionScope, ActionScopeSchema, type ActionService, type AddTeamMemberRequest, type AddressFilterConfig, type Agent, type AgentActionParams, type AgentArtifactsPayload, AgentClient, type AgentListener, type AgentListenerAcknowledgementConfig, type AgentListenerAcknowledgementType, type AgentListenerActingUserMode, type AgentListenerService, type AgentListenerTriggerType, type AgentMessagePayload, type AgentResourceListOptions, type AgentRuntime, type AgentService, type AllFilterConfig, type ApiErrorResponse, type ApiKey, type AppendEventRequest, type AppendSpeechRequest, type ApplySendingLimitPresetRequest, type ApproveRecordDraftRequest, type AssignPermissionRequest, type AssignRoleRequest, type Assignment, type AttachContactAddressRequest, type AttachConversationBriefRequest, type Attachment, Attribute, AuditFields, type AuthListOptions, type AuthoredTranscriptTurn, type AutomatedFilterConfig, type AutomatedSignal, type AvailabilityConstraint, type AvailabilityConstraintService, type AvailabilityKind, type AwaitingToolUse, type BatchTransactionError, BatchTransactionErrorSchema, type BatchTransactionStatus, type BatchUpsertRecordsResponse, BatchUpsertRecordsResponseSchema, type BatchUpsertTransaction, type BatchUpsertTransactionResult, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, type BinaryRef, type BlockContactRequest, type BookSchedulingLinkRequest, type BookSchedulingLinkResponse, type BookingContact, type BooleanAnswer, type BooleanCriteria, type BooleanQuestion, type BooleanTagCriteria, type BounceClassification, type BounceKind, type Calendar, type CalendarAttendee, type CalendarAttendeeRequest, type CalendarConnection, type CalendarConnectionService, type CalendarConnectionStatus, type CalendarEvent, type CalendarEventService, type CalendarEventType, type CalendarEventTypeService, type CalendarEventsResponse, type CalendarProvider, type CalendarService, type CalendarSync, type CalendarSyncStatus, type CalendarVisibility, type CalendarWatch, type CallDialStatus, type CallMetadata, type CallStatus, type CallTokenResponse, type CancelPublicCalendarEventRequest, type Channel, type ChannelAction, type ChannelActionCapability, type ChannelActionParams, type ChannelActionResponse, type ChannelActionService, type ChannelActionStatus, type ChannelActionTargetKind, type ChannelActionType, type ChannelEvent, type ChannelEventService, type ChannelEventType, type ChoiceAnswer, type ChoiceQuestion, type ClientEventType, type ClientToolSchema, type ConferencingProvider, type Connection, type ConnectionCredentials, type ConnectionEndpoint, type ConnectionScope, type ConnectionService, type ConnectionStatus, type ConnectionSyncRange, type ConnectionSyncStatus, type Connector, type ConnectorCatalogEntry, ConnectorClient, type ConnectorConnection, type ConnectionScope$1 as ConnectorConnectionScope, type ConnectionStatus$1 as ConnectorConnectionStatus, type ConnectionTokenResponse as ConnectorConnectionTokenResponse, type CredentialKind as ConnectorCredentialKind, type ConnectorKey, type ConnectorMethod, type ConnectorProvider, type ConsentStatus, type ConsumerGroup, type Contact, type ContactAddress, type ContactAddressKey, type ContactAddressKind, type ContactAddressSource, type ContactErasureRequest, type ContactGroup, type ContactGroupService, type ContactGroupSource, type ContactMergeProposal, type ContactRecordLink, type ContactRecordLinkSource, type ContactRef, type ContactService, type ContactSource, type ContactStatus, type ContentBlock$1 as ContentBlock, type ContentMatch, type ContentResponse, type ContextCompactedPayload, type Conversation, type ConversationBrief, type ConversationBriefService, type ConversationBriefStatus, ConversationClient, type ConversationFilter, type ConversationFilterAction, type ConversationFilterConfig, type ConversationFilterEvent, type ConversationFilterService, type ConversationFilterType, type ConversationNote, type ConversationNoteService, type ConversationObjective, type ConversationObjectiveAchievedWhen, type ConversationObjectiveCount, type ConversationObjectiveDefinition, type ConversationObjectiveDefinitionService, type ConversationObjectiveMeasure, type ConversationObjectiveMeasureKind, type ConversationObjectiveProgress, type ConversationObjectiveService, type ConversationObjectiveSource, type ConversationObjectiveStatus, type ConversationOutcome, type ConversationOutcomeOption, type ConversationOutcomeSource, type ConversationParticipant, type ConversationPhase, type ConversationPhaseProgress, type ConversationPhaseStatus, type ConversationScope, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type ConversationTag, type ConversationTagBasis, type ConversationTagCount, type ConversationTagCriteria, type ConversationTagDefinition, type ConversationTagDefinitionService, type ConversationTagEvaluation, type ConversationTagEvaluationStatus, type ConversationTagEvaluator, type ConversationTagEvaluatorKind, type ConversationTagQuestion, type ConversationTagQuestionType, type ConversationTagRole, type ConversationTagScope, type ConversationTagScreening, type ConversationTagScreeningResult, type ConversationTagService, type ConversationTagSet, type ConversationTagSetService, type ConversationTagSource, type ConversationTagStatus, type ConversationTagTrigger, type ConversationTagUsage, type ConversationTaggedEvent, type ConversationType, type ConversationTypeConfig, type ConversationTypeService, type CountConversationObjectivesQuery, type CountConversationObjectivesResponse, type CountConversationTagsQuery, type CountConversationTagsResponse, type CreateAgentListenerRequest, type CreateAgentRequest, type CreateApiKeyRequest, type CreateAvailabilityConstraintRequest, type CreateCalendarConnectionRequest, type CreateCalendarEventRequest, type CreateConnectionRequest, type CreateConnectorConnectionRequest, type CreateContactGroupRequest, type CreateContactRecordLinkRequest, type CreateContactRequest, type CreateConversationBriefRequest, type CreateConversationFilterRequest, type CreateConversationNoteRequest, type CreateConversationObjectiveDefinitionRequest, type CreateConversationTagDefinitionRequest, type CreateConversationTagRequest, type CreateConversationTagSetRequest, type CreateConversationTypeRequest, type CreateDiscoveryEvidenceFrameRequest, type CreateDiscoveryEvidenceLinkRequest, type CreateDiscoveryEvidenceNarrationFrameRequest, type CreateDiscoveryEvidenceNarrationRequest, type CreateDiscoveryEvidenceRequest, type CreateDiscoveryEvidenceStrokeRequest, type CreateEntityIndexRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreateProfileRequest, type CreatePromptRequest, type CreateRecordDraftRequest, type CreateRecordLinkRequest, type CreateRoleRequest, type CreateSchedulingLinkRequest, type CreateSendingRuleRequest, type CreateSessionRequest, type CreateSpaceRequest, type CreateTeamRequest, type CreateToneProfileSetupRequest, type CreateToolRequest, type CreateToolsetRequest, type CreateTranscriptionFromTextRequest, type CreateUserRequest, type CreateWorkflowRequest, type CreatedApiKey, type CredentialSpec, type CronTriggerParams, DEFAULT_PORT, DataClient, type DecideRequest, type DecisionAnswer, type DecisionAnswerFor, type DecisionQuestion, type DecisionQuestionType, type DecisionQuestions, type DecisionResult, type DelegatedSessionUpdatedPayload, type DeltaBoundaryPayload, type DeltaEventType, type DependentAgent, type DependentSyncResult, DiscoveryClient, type DiscoveryEvidence, type DiscoveryEvidenceCategory, type DiscoveryEvidenceContext, type DiscoveryEvidenceDownloadUrl, type DiscoveryEvidenceEnrichmentStatus, type DiscoveryEvidenceFieldSource, type DiscoveryEvidenceFrame, type DiscoveryEvidenceKind, type DiscoveryEvidenceLink, type DiscoveryEvidenceNarration, type DiscoveryEvidenceNarrationFrameComment, type DiscoveryEvidenceNarrationService, type DiscoveryEvidenceNarrationStatus, type DiscoveryEvidenceOrgSummary, type DiscoveryEvidenceService, type DiscoveryEvidenceSource, type DiscoveryEvidenceStatus, type DispatchMeetingBotRequest, type DisplayOptions, type DomainFilterConfig, ERROR_PORT, type EditContentRequest, type EditContentResponse, type EmailDnsRecord, type EmailDomainStatus, type EmailEngagementQuality, type EmailHealth, type EmailHealthWindow, type EmailIp, type EmailProviderHealth, type EmailProviderStats, type EmailSender, type EmailSenderStatus, type EmailSuppression, type EmailSuppressionCounts, type EmailSuppressionKind, type EmptyPayload, type EndVoiceRequest, type EntityIndex, type EntityIndexService, type EntityIndexSource, type EntityIndexState, type EntityIndexType, type ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, type EvaluateConversationTagsRequest, type EventLocation, type EventSource, type EventStatus, type EventTransparency, type EventTriggerParams, type EventType, type EventVerb, type EventVisibility, type EventWriteStatus, EventsClient, type ExecutionError, type ExecutionStatus, type ExecutionTriggerContext, type FileBlock, FileRef, type FileService, type FileVersionContent, type FilterMatchOn, type FrequencyCapRuleConfig, FunctionsClient, type GenerateRequest, type GenerationResult, type GetConnectionHealthQuery, type GetExecutionDetailResponse, type GetGraphOptions, type GetManyConversationObjectiveDefinitionsQuery, type GetManyConversationObjectivesQuery, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GetPublicSlotsQuery, type GetSlotsRequest, type GetSlotsResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, type HostsRequest, type IndexEvidence, type IndexRecommendation, type InkPoint, type InkStroke, type InlineLinkRequest, type InmailParams, type InstallConnectionResponse, type InstallConnectorConnectionResponse, type InternalConversationsFilterConfig, type InvitationParams, type InvokeActionResponse, type InvokeNodeMethodRequest, type InvokeNodeMethodResponse, type Item, type KickoffSource, type KickoffType, KnowledgeClient, type KnowledgeGraph, type KnowledgeGraphLink, type KnowledgeGraphNode, type KnowledgeLabel, KnowledgeLabelSchema, type KnowledgeLink, KnowledgeLinkSchema, type KnowledgeNode, type KnowledgeNodeLabel, KnowledgeNodeLabelSchema, type KnowledgeNodeMetadata, KnowledgeNodeMetadataSchema, KnowledgeNodeSchema, type KnowledgeNodeSearchResult, KnowledgeNodeSearchResultSchema, type KnowledgeRecordLink, KnowledgeRecordLinkSchema, type KnowledgeSpace, type LabelService, type LimitRuleConfig, type LinkService, type LinkType, type ListActionsOptions, type ListAgentListenersQuery, type ListAgentsOptions, type ListAvailabilityConstraintsQuery, type ListCalendarConnectionsQuery, type ListCalendarEventTypesQuery, type ListCalendarEventsQuery, type ListCalendarsQuery, type ListChannelActionsQuery, type ListChannelEventsQuery, type ListConnectionsQuery, type ListConnectorConnectionsQuery, type ListConnectorsQuery, type ListContactAddressesQuery, type ListContactGroupsQuery, type ListContactMergeProposalsQuery, type ListContactRecordLinksQuery, type ListContactsQuery, type ListConversationBriefsQuery, type ListConversationFilterEventsQuery, type ListConversationFiltersQuery, type ListConversationNotesQuery, type ListConversationTagDefinitionsQuery, type ListConversationTagEvaluationsQuery, type ListConversationTagSetsQuery, type ListConversationTagsQuery, type ListConversationTypesQuery, type ListConversationsQuery, type ListDiscoveryEvidenceQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, type ListMeetingBotsQuery, type ListMessagesQuery, type ListMistranscribedTermsQuery, type ListNodesOptions, ListOptions, type ListOrgUserRoleAssignmentsOptions, type ListOrganizationsOptions, type ListPlatformDiscoveryEvidenceQuery, type ListProfilesOptions, type ListPromptsOptions, type ListRecordDraftsQuery, type ListRecordDuplicatesQuery, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse$2 as ListResponse, ListResult, type ListRolePermissionsOptions, type ListRolesOptions, type ListRoomsQuery, type ListSchedulingLinksQuery, type ListSendingLimitPresetsQuery, type ListSendingRulesQuery, type ListSessionsOptions, type ListSkillsOptions, type ListSpacesOptions, type ListTeamMembersOptions, type ListTeamsOptions, type ListToneProfileSetupsQuery, type ListToneProfilesQuery, type ListToolsOptions, type ListToolsetsOptions, type ListTranscriptionsQuery, type ListUserProfileAssignmentsOptions, type ListUserRoleAssignmentsOptions, type ListUsersOptions, type ListWorkflowsOptions, type LocationKind, type ManualTriggerParams, type MatchMode, type McpBinding, type McpConnectionState, type McpConnectionStatus, type McpServer, type McpServerAuth, type McpServerOAuth, type McpServerService, type McpToolSummary, type MeService, type MeetingBot, type MeetingBotService, type MeetingBotStatus, type MeetingService, type MergeContactsRequest, type MergeProposalStatus, type Message, type ContentBlock as MessageContentBlock, type MessageDelivery, type MessageDeliveryStatus, type MessageDeltaPayload, type MessageDirection, type MessageDraftChange, type MessageDraftVersion, type MessageDraftVersionKind, type MessageDraftVersions, type MessagePreview, type MessageRecipient, type MessageService, type MessageStatus, type MessageTriggerParams, type MintCallTokenRequest, type MistranscribedTerm, type MistranscribedTermService, type MistranscribedTermStatus, type MistranscriptionSuggestionSource, type ModelCallParams, type ModelConfig, type ModelInfo, type ModelProviderName, type ModelRequestEndPayload, type ModelRequestStartPayload, type ModelService, type ModelStopReason, type ModelUsage, type NeighborDirection, type NeighborEdge, type NeighborNode, type NeighborsOptions, type NodeContentMatches, type NodeDescriptor, type NodeExecution, type NodeGroup, type NodeMethodOption, type NodeNeighborhood, NodeNeighborhoodSchema, type NodeOutline, type NodePosition, type NodeProperty, type NodeRetryPolicy, type NodeRuntime, type NodeService, type NodeStatus, type NodeType, type NodeTypeKey, type NodeTypeService, type NodeTypeStatus, type NotifyMode, type OnErrorPolicy, type Organization, OrganizationSchema, type OrganizationService, type OutlineHeading, type OutlineRequest, type OutlineResponse, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, PageAction, PageIterator, type PairedItem, type ParseStatus, type ParticipationStatus, type PerformChannelActionRequest, type Permission, type PermissionEventSource, type PermissionEventType, type PhoneNumber, type PhoneNumberRouting, type PhoneNumberStatus, type PlatformBinding, type PlatformDiscoveryEvidenceService, type PlatformEntity, type PlatformEvent, type PortSpec, type Profile, ProfileSchema, type ProfileService, type ProfileVisitParams, type Prompt, type PromptService, type PromptVersion, type PropertyOption, type PropertyType, ProteosClient, ProteosError, PublicAccessOperation, type PublicBookSchedulingLinkResponse, type PublicCalendarEvent, type PublicCalendarEventType, type PublicEventLocation, type PublicHost, type PublicSchedulingLink, type PublicSchedulingService, type PublishContactObservationsResponse, type PublishEventRequest, type PutCalendarEventTypeRequest, type PutSchedulingProfileRequest, type QueryBinding, type QueryExecuteMeta, type QueryExecuteResponse, type QueryObject, type QueryRow, type QueryService, type QueryValidateMeta, type QueryValidateResponse, type QueryValue, type Reaction, type ReactionCapability, type ReactionOption, type ReactionSetKind, type ReasoningDeltaPayload, type ReasoningPayload, type RecipientKind, type RecipientRole, type RecordData, type RecordDraft, type RecordDraftChange, type RecordDraftChangeKind, RecordDraftChangeSchema, type RecordDraftIntent, type RecordDraftItem, type RecordDraftItemError, type RecordDraftItemInput, type RecordDraftItemResult, RecordDraftItemResultSchema, type RecordDraftItemResultStatus, RecordDraftItemSchema, type RecordDraftService, type RecordDraftStatus, type RecordDraftVersion, type RecordDraftVersionKind, type RecordDraftVersions, type RecordDuplicate, type RecordDuplicateService, type RecordDuplicateSource, type RecordDuplicateStatus, type RecordLinkService, type RecordPermissionEventRequest, type RecordRef, type RecordService, type RecurrenceScope, type RedriveResult, type RejectRecordDraftRequest, RequestOptions, type RescheduleHost, type ReschedulePublicCalendarEventRequest, type ResolveToneProfileQuery, type RespondCalendarEventRequest, type RespondChannelActionRequest, ResponseMeta$1 as ResponseMeta, type ResultBlock, type Role, type RoleBasedFilterConfig, type RoleEntityPermission, RoleEntityPermissionSchema, RoleSchema, type RoleService, type Room, type RoutingTarget, type RunWorkflowRequest, SCOPED_PLATFORM_ENTITY_SLUGS, SchedulingClient, type SchedulingLink, type SchedulingLinkService, type ListResponse as SchedulingListResponse, type SchedulingProfile, type SchedulingProfileService, type ScoreAnswer, type ScoreQuestion, type SearchContentRequest, type SearchContentResponse, type SearchNodesRequest, type SendEligibility, type SendEligibilityRequest, type SendMessageRequest, type SendRecipient, type SendingLimitPreset, type SendingPeriod, type SendingRule, type SendingRuleConfig, type SendingRuleService, type SendingRuleType, type Session, type SessionDeltaEntry, type SessionDeltaFrame, type SessionDeltaStreamOptions, type SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionRunningPayload, type SessionService, type SessionStatus, type SessionStreamOptions, type SessionToolKind, type SessionUpdatedPayload, type SetCallRecordingRequest, type SetDefaultSenderRequest, type SetProfileRequest, type SharePermission, type ShareRow, type ShareService, type Skill, type SkillBundle, type SkillService, type SkillVersion, type Slot, type SlotParameters, type SlotService, type SlotUnavailability, type SlotUnavailabilityReason, type SpaceScope, type SpaceService, type SpeechPayload, type SpeechSegment, type StartMcpOAuthResponse, type StartVoiceRequest, type StartVoiceResponse, type StopReason, StorageClient, type StorageFile, type StorageFileVersion, type StructuredText, type SyncConnectionRequest, type SystemSource, type TailOptions, type Team, type TeamMember, type TeamService, type TestNodeCandidate, type TestNodeInputSource, type TestNodeRequest, type TestNodeResponse, type TextBlock, type ToneProfile, type ToneProfileScope, type ToneProfileService, type ToneProfileSetup, type ToneProfileSetupStatus, type ToneProfileSource, type Tool, type ToolBinding, type ToolConfirmationPayload, type ToolKind, type ToolResultPayload, type ToolService, type ToolUseDeltaPayload, type ToolUsePayload, type ToolUseStartPayload, type Toolset, type ToolsetKind, type ToolsetService, type ToolsetToolSummary, type Topic, type TopicKind, type TopicService, type TranscribeStreamOptions, type TranscriptResult, type TranscriptTurn, type Transcription, type TranscriptionReviewStatus, type TranscriptionStatus, type TriggerKind, type Turn, type TwilioPhoneSettings, type TwilioPhoneVoicemailSettings, UNASSIGNED_SPACE_SLUG, type UnreadCounts, type UnreadCountsQuery, type UpdateAgentListenerRequest, type UpdateAgentRequest, type UpdateAvailabilityConstraintRequest, type UpdateCalendarConnectionRequest, type UpdateCalendarEventRequest, type UpdateCalendarEventTypeRequest, type UpdateCalendarRequest, type UpdateCalendarSyncRequest, type UpdateConnectionRequest, type UpdateConnectorConnectionRequest, type UpdateContactGroupRequest, type UpdateContactRequest, type UpdateConversationBriefRequest, type UpdateConversationFilterRequest, type UpdateConversationNoteRequest, type UpdateConversationObjectiveDefinitionRequest, type UpdateConversationRequest, type UpdateConversationTagDefinitionRequest, type UpdateConversationTagRequest, type UpdateConversationTagSetRequest, type UpdateConversationTypeRequest, type UpdateDiscoveryEvidenceFrameRequest, type UpdateDiscoveryEvidenceRequest, type UpdateDiscoveryEvidenceStatusRequest, type UpdateDraftRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateMeRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePhoneNumberRequest, type UpdateProfileRequest, type UpdatePromptRequest, type UpdateRecordDraftRequest, type UpdateRoleRequest, type UpdateSchedulingLinkRequest, type UpdateSendingRuleRequest, type UpdateSpaceRequest, type UpdateTeamRequest, type UpdateToolRequest, type UpdateToolsetRequest, type UpdateUserRequest, type UpdateWorkflowRequest, type UpsertToneProfileRequest, type User, type UserMessagePayload, type UserProfileAssignment, UserProfileAssignmentSchema, type UserProfileAssignmentService, UserRef$2 as UserRef, type UserRoleAssignment, UserRoleAssignmentSchema, type UserRoleAssignmentService, UserSchema, type UserService, type VoiceEndReason, type VoiceEndedPayload, type VoiceRequestPayload, type VoiceService, type VoiceSession, type VoiceStartedPayload, type VoiceTranscriptionStream, type WarmupRuleConfig, type WebhookTriggerParams, type Weekday, type WindowDay, type WindowRuleConfig, type Workflow, WorkflowClient, type WorkflowConnection, type WorkflowExecution, type WorkflowGraph, type WorkflowNode, type WorkflowNodeType, type WorkflowStatus, type WorkflowVersion, type WorkflowVersionAuthor, type WorkflowVersionSummary, type WriteContentOptions, type WriteContentResponse, type WriteCredentialsRequest, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isDeltaFrame, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, shareRouteFor, toQueryParams, toQueryString };
12361
+ export { type AcceptMistranscribedTermRequest, AccountClient, type Action, type ActionBinding, ActionSchema, type ActionScope, ActionScopeSchema, type ActionService, type AddTeamMemberRequest, type AddressFilterConfig, type Agent, type AgentActionParams, type AgentArtifactsPayload, AgentClient, type AgentListener, type AgentListenerAcknowledgementConfig, type AgentListenerAcknowledgementType, type AgentListenerActingUserMode, type AgentListenerService, type AgentListenerTriggerType, type AgentMessagePayload, type AgentResourceListOptions, type AgentRuntime, type AgentService, type AllFilterConfig, type ApiErrorResponse, type ApiKey, type AppendEventRequest, type AppendSpeechRequest, type ApplySendingLimitPresetRequest, type ApproveRecordDraftRequest, type AssignPermissionRequest, type AssignRoleRequest, type Assignment, type AttachContactAddressRequest, type AttachConversationBriefRequest, type Attachment, Attribute, AuditFields, type AuthListOptions, type AuthoredTranscriptTurn, type AutomatedFilterConfig, type AutomatedSignal, type AvailabilityConstraint, type AvailabilityConstraintService, type AvailabilityKind, type AwaitingToolUse, type BatchTransactionError, BatchTransactionErrorSchema, type BatchTransactionStatus, type BatchUpsertRecordsResponse, BatchUpsertRecordsResponseSchema, type BatchUpsertTransaction, type BatchUpsertTransactionResult, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, type BinaryRef, type BlockContactRequest, type BookSchedulingLinkRequest, type BookSchedulingLinkResponse, type BookingContact, type BooleanAnswer, type BooleanCriteria, type BooleanQuestion, type BooleanTagCriteria, type BounceClassification, type BounceKind, type Calendar, type CalendarAttendee, type CalendarAttendeeRequest, type CalendarConnection, type CalendarConnectionService, type CalendarConnectionStatus, type CalendarEvent, type CalendarEventService, type CalendarEventType, type CalendarEventTypeService, type CalendarEventsResponse, type CalendarProvider, type CalendarService, type CalendarSync, type CalendarSyncStatus, type CalendarVisibility, type CalendarWatch, type CallDialStatus, type CallMetadata, type CallStatus, type CallTokenResponse, type CancelPublicCalendarEventRequest, type Channel, type ChannelAction, type ChannelActionCapability, type ChannelActionParams, type ChannelActionResponse, type ChannelActionService, type ChannelActionStatus, type ChannelActionTargetKind, type ChannelActionType, type ChannelEvent, type ChannelEventService, type ChannelEventType, type ChoiceAnswer, type ChoiceQuestion, type ClientEventType, type ClientToolSchema, type ConferencingProvider, type Connection, type ConnectionCredentials, type ConnectionEndpoint, type ConnectionScope, type ConnectionService, type ConnectionStatus, type ConnectionSyncRange, type ConnectionSyncStatus, type Connector, type ConnectorCatalogEntry, ConnectorClient, type ConnectorConnection, type ConnectionScope$1 as ConnectorConnectionScope, type ConnectionStatus$1 as ConnectorConnectionStatus, type ConnectionTokenResponse as ConnectorConnectionTokenResponse, type CredentialKind as ConnectorCredentialKind, type ConnectorKey, type ConnectorMethod, type ConnectorProvider, type ConsentStatus, type ConsumerGroup, type Contact, type ContactAddress, type ContactAddressKey, type ContactAddressKind, type ContactAddressSource, type ContactErasureRequest, type ContactGroup, type ContactGroupService, type ContactGroupSource, type ContactMergeProposal, type ContactRecordLink, type ContactRecordLinkSource, type ContactRef, type ContactService, type ContactSource, type ContactStatus, type ContentBlock$1 as ContentBlock, type ContentMatch, type ContentResponse, type ContextCompactedPayload, type Conversation, type ConversationBrief, type ConversationBriefService, type ConversationBriefStatus, ConversationClient, type ConversationFilter, type ConversationFilterAction, type ConversationFilterConfig, type ConversationFilterEvent, type ConversationFilterService, type ConversationFilterType, type ConversationNote, type ConversationNoteService, type ConversationObjective, type ConversationObjectiveAchievedWhen, type ConversationObjectiveCount, type ConversationObjectiveDefinition, type ConversationObjectiveDefinitionService, type ConversationObjectiveMeasure, type ConversationObjectiveMeasureKind, type ConversationObjectiveProgress, type ConversationObjectiveService, type ConversationObjectiveSource, type ConversationObjectiveStatus, type ConversationOutcome, type ConversationOutcomeOption, type ConversationOutcomeSource, type ConversationParticipant, type ConversationPhase, type ConversationPhaseProgress, type ConversationPhaseStatus, type ConversationScope, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type ConversationTag, type ConversationTagBasis, type ConversationTagCount, type ConversationTagCriteria, type ConversationTagDefinition, type ConversationTagDefinitionService, type ConversationTagEvaluation, type ConversationTagEvaluationStatus, type ConversationTagEvaluator, type ConversationTagEvaluatorKind, type ConversationTagQuestion, type ConversationTagQuestionType, type ConversationTagRole, type ConversationTagScope, type ConversationTagScreening, type ConversationTagScreeningResult, type ConversationTagService, type ConversationTagSet, type ConversationTagSetService, type ConversationTagSource, type ConversationTagStatus, type ConversationTagTrigger, type ConversationTagUsage, type ConversationTaggedEvent, type ConversationType, type ConversationTypeConfig, type ConversationTypeService, type CountConversationObjectivesQuery, type CountConversationObjectivesResponse, type CountConversationTagsQuery, type CountConversationTagsResponse, type CreateAgentListenerRequest, type CreateAgentRequest, type CreateApiKeyRequest, type CreateAvailabilityConstraintRequest, type CreateCalendarConnectionRequest, type CreateCalendarEventRequest, type CreateConnectionRequest, type CreateConnectorConnectionRequest, type CreateContactGroupRequest, type CreateContactRecordLinkRequest, type CreateContactRequest, type CreateConversationBriefRequest, type CreateConversationFilterRequest, type CreateConversationNoteRequest, type CreateConversationObjectiveDefinitionRequest, type CreateConversationTagDefinitionRequest, type CreateConversationTagRequest, type CreateConversationTagSetRequest, type CreateConversationTypeRequest, type CreateDiscoveryEvidenceFrameRequest, type CreateDiscoveryEvidenceLinkRequest, type CreateDiscoveryEvidenceNarrationFrameRequest, type CreateDiscoveryEvidenceNarrationRequest, type CreateDiscoveryEvidenceRequest, type CreateDiscoveryEvidenceStrokeRequest, type CreateEmailSignatureRequest, type CreateEntityIndexRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreateProfileRequest, type CreatePromptRequest, type CreateQueryRequest, type CreateRecordDraftRequest, type CreateRecordLinkRequest, type CreateRoleRequest, type CreateSchedulingLinkRequest, type CreateSendingRuleRequest, type CreateSessionRequest, type CreateSpaceRequest, type CreateTeamRequest, type CreateToneProfileSetupRequest, type CreateToolRequest, type CreateToolsetRequest, type CreateTranscriptionFromTextRequest, type CreateUserRequest, type CreateWorkflowRequest, type CreatedApiKey, type CredentialSpec, type CronTriggerParams, DEFAULT_PORT, DataClient, type DecideRequest, type DecisionAnswer, type DecisionAnswerFor, type DecisionQuestion, type DecisionQuestionType, type DecisionQuestions, type DecisionResult, type DelegatedSessionUpdatedPayload, type DeltaBoundaryPayload, type DeltaEventType, type DependentAgent, type DependentSyncResult, DiscoveryClient, type DiscoveryEvidence, type DiscoveryEvidenceCategory, type DiscoveryEvidenceContext, type DiscoveryEvidenceDownloadUrl, type DiscoveryEvidenceEnrichmentStatus, type DiscoveryEvidenceFieldSource, type DiscoveryEvidenceFrame, type DiscoveryEvidenceKind, type DiscoveryEvidenceLink, type DiscoveryEvidenceNarration, type DiscoveryEvidenceNarrationFrameComment, type DiscoveryEvidenceNarrationService, type DiscoveryEvidenceNarrationStatus, type DiscoveryEvidenceOrgSummary, type DiscoveryEvidenceService, type DiscoveryEvidenceSource, type DiscoveryEvidenceStatus, type DispatchMeetingBotRequest, type DisplayOptions, type DomainFilterConfig, ERROR_PORT, type EditContentRequest, type EditContentResponse, type EmailDnsRecord, type EmailDomainStatus, type EmailEngagementQuality, type EmailHealth, type EmailHealthWindow, type EmailIp, type EmailProviderHealth, type EmailProviderStats, type EmailSender, type EmailSenderStatus, type EmailSignature, type EmailSignatureAppliesTo, type EmailSignatureService, type EmailSuppression, type EmailSuppressionCounts, type EmailSuppressionKind, type EmptyPayload, type EndVoiceRequest, type EntityIndex, type EntityIndexService, type EntityIndexSource, type EntityIndexState, type EntityIndexType, type ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, type EvaluateConversationTagsRequest, type EventLocation, type EventSource, type EventStatus, type EventTransparency, type EventTriggerParams, type EventType, type EventVerb, type EventVisibility, type EventWriteStatus, EventsClient, type ExecutionError, type ExecutionStatus, type ExecutionTriggerContext, type FileBlock, FileRef, type FileService, type FileVersionContent, FilterGroup, type FilterMatchOn, type FrequencyCapRuleConfig, FunctionsClient, type GenerateRequest, type GenerationResult, type GetConnectionHealthQuery, type GetExecutionDetailResponse, type GetGraphOptions, type GetManyConversationObjectiveDefinitionsQuery, type GetManyConversationObjectivesQuery, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GetPublicSlotsQuery, type GetSlotsRequest, type GetSlotsResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, type HostsRequest, type IndexEvidence, type IndexRecommendation, type InkPoint, type InkStroke, type InlineLinkRequest, type InmailParams, type InstallConnectionResponse, type InstallConnectorConnectionResponse, type InternalConversationsFilterConfig, type InvitationParams, type InvokeActionResponse, type InvokeNodeMethodRequest, type InvokeNodeMethodResponse, type Item, type KickoffSource, type KickoffType, KnowledgeClient, type KnowledgeGraph, type KnowledgeGraphLink, type KnowledgeGraphNode, type KnowledgeLabel, KnowledgeLabelSchema, type KnowledgeLink, KnowledgeLinkSchema, type KnowledgeNode, type KnowledgeNodeLabel, KnowledgeNodeLabelSchema, type KnowledgeNodeMetadata, KnowledgeNodeMetadataSchema, KnowledgeNodeSchema, type KnowledgeNodeSearchResult, KnowledgeNodeSearchResultSchema, type KnowledgeRecordLink, KnowledgeRecordLinkSchema, type KnowledgeSpace, type LabelService, type LimitRuleConfig, type LinkService, type LinkType, type ListActionsOptions, type ListAgentListenersQuery, type ListAgentsOptions, type ListAvailabilityConstraintsQuery, type ListCalendarConnectionsQuery, type ListCalendarEventTypesQuery, type ListCalendarEventsQuery, type ListCalendarsQuery, type ListChannelActionsQuery, type ListChannelEventsQuery, type ListConnectionsQuery, type ListConnectorConnectionsQuery, type ListConnectorsQuery, type ListContactAddressesQuery, type ListContactGroupsQuery, type ListContactMergeProposalsQuery, type ListContactRecordLinksQuery, type ListContactsQuery, type ListConversationBriefsQuery, type ListConversationFilterEventsQuery, type ListConversationFiltersQuery, type ListConversationNotesQuery, type ListConversationTagDefinitionsQuery, type ListConversationTagEvaluationsQuery, type ListConversationTagSetsQuery, type ListConversationTagsQuery, type ListConversationTypesQuery, type ListConversationsQuery, type ListDiscoveryEvidenceQuery, type ListEmailSignaturesQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, type ListMeetingBotsQuery, type ListMessagesQuery, type ListMistranscribedTermsQuery, type ListNodesOptions, ListOptions, type ListOrgUserRoleAssignmentsOptions, type ListOrganizationsOptions, type ListPlatformDiscoveryEvidenceQuery, type ListProfilesOptions, type ListPromptsOptions, type ListQueriesQuery, type ListRecordDraftsQuery, type ListRecordDuplicatesQuery, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse$2 as ListResponse, ListResult, type ListRolePermissionsOptions, type ListRolesOptions, type ListRoomsQuery, type ListSchedulingLinksQuery, type ListSendingLimitPresetsQuery, type ListSendingRulesQuery, type ListSessionsOptions, type ListSkillsOptions, type ListSpacesOptions, type ListTeamMembersOptions, type ListTeamsOptions, type ListToneProfileSetupsQuery, type ListToneProfilesQuery, type ListToolsOptions, type ListToolsetsOptions, type ListTranscriptionsQuery, type ListUserProfileAssignmentsOptions, type ListUserRoleAssignmentsOptions, type ListUsersOptions, type ListWorkflowsOptions, type LocationKind, type ManualTriggerParams, type MatchMode, type McpBinding, type McpConnectionState, type McpConnectionStatus, type McpServer, type McpServerAuth, type McpServerOAuth, type McpServerService, type McpToolSummary, type MeService, type MeetingBot, type MeetingBotService, type MeetingBotStatus, type MeetingService, type MergeContactsRequest, type MergeProposalStatus, type Message, type ContentBlock as MessageContentBlock, type MessageDelivery, type MessageDeliveryStatus, type MessageDeltaPayload, type MessageDirection, type MessageDraftChange, type MessageDraftVersion, type MessageDraftVersionKind, type MessageDraftVersions, type MessagePreview, type MessageRecipient, type MessageService, type MessageSignature, type MessageStatus, type MessageTriggerParams, type MintCallTokenRequest, type MistranscribedTerm, type MistranscribedTermService, type MistranscribedTermStatus, type MistranscriptionSuggestionSource, type ModelCallParams, type ModelConfig, type ModelInfo, type ModelProviderName, type ModelRequestEndPayload, type ModelRequestStartPayload, type ModelService, type ModelStopReason, type ModelUsage, type NeighborDirection, type NeighborEdge, type NeighborNode, type NeighborsOptions, type NodeContentMatches, type NodeDescriptor, type NodeExecution, type NodeGroup, type NodeMethodOption, type NodeNeighborhood, NodeNeighborhoodSchema, type NodeOutline, type NodePosition, type NodeProperty, type NodeRetryPolicy, type NodeRuntime, type NodeService, type NodeStatus, type NodeType, type NodeTypeKey, type NodeTypeService, type NodeTypeStatus, type NotifyMode, type OnErrorPolicy, type Organization, OrganizationSchema, type OrganizationService, type OutlineHeading, type OutlineRequest, type OutlineResponse, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, PageAction, PageIterator, type PairedItem, type ParseStatus, type ParticipationStatus, type PerformChannelActionRequest, type Permission, type PermissionEventSource, type PermissionEventType, type PhoneNumber, type PhoneNumberRouting, type PhoneNumberStatus, type PlatformBinding, type PlatformDiscoveryEvidenceService, type PlatformEntity, type PlatformEvent, type PortSpec, type Profile, ProfileSchema, type ProfileService, type ProfileVisitParams, type Prompt, type PromptService, type PromptVersion, type PropertyOption, type PropertyType, ProteosClient, ProteosError, PublicAccessOperation, type PublicBookSchedulingLinkResponse, type PublicCalendarEvent, type PublicCalendarEventType, type PublicEventLocation, type PublicHost, type PublicSchedulingLink, type PublicSchedulingService, type PublishContactObservationsResponse, type PublishEventRequest, type PutCalendarEventTypeRequest, type PutSchedulingProfileRequest, type Query, type QueryBinding, type QueryBuilder, type QueryExecuteMeta, type QueryExecuteResponse, type QueryObject, type QueryRow, type QueryService, type QueryValidateMeta, type QueryValidateResponse, type QueryValue, type Reaction, type ReactionCapability, type ReactionOption, type ReactionSetKind, type ReasoningDeltaPayload, type ReasoningPayload, type RecipientKind, type RecipientRole, type RecordData, type RecordDraft, type RecordDraftChange, type RecordDraftChangeKind, RecordDraftChangeSchema, type RecordDraftIntent, type RecordDraftItem, type RecordDraftItemError, type RecordDraftItemInput, type RecordDraftItemResult, RecordDraftItemResultSchema, type RecordDraftItemResultStatus, RecordDraftItemSchema, type RecordDraftService, type RecordDraftStatus, type RecordDraftVersion, type RecordDraftVersionKind, type RecordDraftVersions, type RecordDuplicate, type RecordDuplicateService, type RecordDuplicateSource, type RecordDuplicateStatus, type RecordLinkService, type RecordPermissionEventRequest, type RecordRef, type RecordService, type RecurrenceScope, type RedriveResult, type RejectRecordDraftRequest, RequestOptions, type RescheduleHost, type ReschedulePublicCalendarEventRequest, type ResolveEmailSignatureQuery, type ResolveToneProfileQuery, type RespondCalendarEventRequest, type RespondChannelActionRequest, ResponseMeta$1 as ResponseMeta, type ResultBlock, type Role, type RoleBasedFilterConfig, type RoleEntityPermission, RoleEntityPermissionSchema, RoleSchema, type RoleService, type Room, type RoutingTarget, type RunWorkflowRequest, SCOPED_PLATFORM_ENTITY_SLUGS, SchedulingClient, type SchedulingLink, type SchedulingLinkService, type ListResponse as SchedulingListResponse, type SchedulingProfile, type SchedulingProfileService, type ScoreAnswer, type ScoreQuestion, type SearchContentRequest, type SearchContentResponse, type SearchNodesRequest, type SendEligibility, type SendEligibilityRequest, type SendMessageRequest, type SendRecipient, type SendingLimitPreset, type SendingPeriod, type SendingRule, type SendingRuleConfig, type SendingRuleService, type SendingRuleType, type Session, type SessionDeltaEntry, type SessionDeltaFrame, type SessionDeltaStreamOptions, type SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionPreview, type SessionPreviewStatus, type SessionRunningPayload, type SessionService, type SessionStatus, type SessionStreamOptions, type SessionToolKind, type SessionUpdatedPayload, type SetCallRecordingRequest, type SetDefaultSenderRequest, type SetProfileRequest, type SharePermission, type ShareRow, type ShareService, type SignatureChoice, type Skill, type SkillBundle, type SkillService, type SkillVersion, type Slot, type SlotParameters, type SlotService, type SlotUnavailability, type SlotUnavailabilityReason, type SpaceScope, type SpaceService, type SpeechPayload, type SpeechSegment, type StartMcpOAuthResponse, type StartVoiceRequest, type StartVoiceResponse, type StopReason, StorageClient, type StorageFile, type StorageFileVersion, type StructuredText, type SyncConnectionRequest, type SystemSource, type TailOptions, type Team, type TeamMember, type TeamService, type TestNodeCandidate, type TestNodeInputSource, type TestNodeRequest, type TestNodeResponse, type TextBlock, type ToneProfile, type ToneProfileScope, type ToneProfileService, type ToneProfileSetup, type ToneProfileSetupStatus, type ToneProfileSource, type Tool, type ToolBinding, type ToolConfirmationPayload, type ToolKind, type ToolResultPayload, type ToolService, type ToolUseDeltaPayload, type ToolUsePayload, type ToolUseStartPayload, type Toolset, type ToolsetKind, type ToolsetService, type ToolsetToolSummary, type Topic, type TopicKind, type TopicService, type TranscribeStreamOptions, type TranscriptResult, type TranscriptTurn, type Transcription, type TranscriptionReviewStatus, type TranscriptionStatus, type TriggerKind, type Turn, type TwilioPhoneSettings, type TwilioPhoneVoicemailSettings, UNASSIGNED_SPACE_SLUG, type UnreadCounts, type UnreadCountsQuery, type UpdateAgentListenerRequest, type UpdateAgentRequest, type UpdateAvailabilityConstraintRequest, type UpdateCalendarConnectionRequest, type UpdateCalendarEventRequest, type UpdateCalendarEventTypeRequest, type UpdateCalendarRequest, type UpdateCalendarSyncRequest, type UpdateConnectionRequest, type UpdateConnectorConnectionRequest, type UpdateContactGroupRequest, type UpdateContactRequest, type UpdateConversationBriefRequest, type UpdateConversationFilterRequest, type UpdateConversationNoteRequest, type UpdateConversationObjectiveDefinitionRequest, type UpdateConversationRequest, type UpdateConversationTagDefinitionRequest, type UpdateConversationTagRequest, type UpdateConversationTagSetRequest, type UpdateConversationTypeRequest, type UpdateDiscoveryEvidenceFrameRequest, type UpdateDiscoveryEvidenceRequest, type UpdateDiscoveryEvidenceStatusRequest, type UpdateDraftRequest, type UpdateEmailSignatureRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateMeRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePhoneNumberRequest, type UpdateProfileRequest, type UpdatePromptRequest, type UpdateQueryRequest, type UpdateRecordDraftRequest, type UpdateRoleRequest, type UpdateSchedulingLinkRequest, type UpdateSendingRuleRequest, type UpdateSpaceRequest, type UpdateTeamRequest, type UpdateToolRequest, type UpdateToolsetRequest, type UpdateUserRequest, type UpdateWorkflowRequest, type UpsertToneProfileRequest, type User, type UserMessagePayload, type UserProfileAssignment, UserProfileAssignmentSchema, type UserProfileAssignmentService, UserRef$2 as UserRef, type UserRoleAssignment, UserRoleAssignmentSchema, type UserRoleAssignmentService, UserSchema, type UserService, type VoiceEndReason, type VoiceEndedPayload, type VoiceRequestPayload, type VoiceService, type VoiceSession, type VoiceStartedPayload, type VoiceTranscriptionStream, type WarmupRuleConfig, type WebhookTriggerParams, type Weekday, type WindowDay, type WindowRuleConfig, type Workflow, WorkflowClient, type WorkflowConnection, type WorkflowExecution, type WorkflowGraph, type WorkflowNode, type WorkflowNodeType, type WorkflowStatus, type WorkflowVersion, type WorkflowVersionAuthor, type WorkflowVersionSummary, type WriteContentOptions, type WriteContentResponse, type WriteCredentialsRequest, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isDeltaFrame, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, shareRouteFor, toQueryParams, toQueryString };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { AuditFieldsSchema, FileRefSchema, PrincipalRefSchema, AttributeSchema, UserRefSchema, PageIterator } from './chunk-KX4VIMIJ.js';
2
- export { AppConfigurationSchema, AppHomeSchema, AppSchema, AttributeSchema, AuditFieldsSchema, CURRENT_USER, CURRENT_USER_DEFAULT, ColumnSchema, ComponentSchema, ContactAddressAttributeMetaSchema, CurrencyAttributeMetaSchema, DEFAULT_PAGE_SIZE, DONE, DesignReferenceSchema, EntityContactBindingSchema, EntityExtensionSchema, EntitySchema, EntityWithSchemaSchema, ExtensionPositionSchema, FileRefSchema, FilterElementSchema, FilterGroupSchema, ListExtensionColumnPlacementSchema, ListExtensionSchema, ListSchema, ListViewSchema, MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, MenuConfigurationExtensionPlacementSchema, MenuConfigurationExtensionPositionSchema, MenuConfigurationExtensionSchema, MenuConfigurationSchema, MenuItemSchema, MenuItemType, MetaClient, ModuleSchema, OnDeleteActionSchema, PAGE_ACTION_MATCH_MAX_LIMIT, PAGE_EXTENSION_ANCHOR_MAIN, PAGE_EXTENSION_ANCHOR_SIDE_PANEL, PLATFORM_ATTRIBUTE_NAMES, PLATFORM_USER_ID, PageActionMatchSchema, PageActionSchema, PageExtensionPlacementSchema, PageExtensionSchema, PageIterator, PageLayoutSchema, PageSchema, RecordPageBindingSchema, RelationAttributeMetaSchema, ResponseMetaSchema, SortConfigSchema, TriggerPageBindingSchema, UserRefSchema, VariableSchema, acceptsCurrentUserDefault, allCurrencyCodes, bundleVersionOf, createIterator, createListResultSchema, currencyLabel, currencySymbol, currencySymbolSide, formatAmount, formatMoney, isCurrentUser, isCurrentUserDefault, isPlatformAttributeName, localeNumberSeparators, parseAmount, parseContactAddressMeta, parseCurrencyMeta, parseFileMeta, parseRelationMeta, platformAttributes } from './chunk-KX4VIMIJ.js';
1
+ import { AuditFieldsSchema, FileRefSchema, PrincipalRefSchema, AttributeSchema, UserRefSchema, PageIterator } from './chunk-DXF354K4.js';
2
+ export { AppConfigurationSchema, AppHomeSchema, AppSchema, AttributeSchema, AuditFieldsSchema, CURRENT_USER, CURRENT_USER_DEFAULT, ColumnSchema, ComponentSchema, ContactAddressAttributeMetaSchema, CurrencyAttributeMetaSchema, DEFAULT_PAGE_SIZE, DONE, DesignReferenceSchema, EntityContactBindingSchema, EntityExtensionSchema, EntitySchema, EntityWithSchemaSchema, ExtensionPositionSchema, FileRefSchema, FilterElementSchema, FilterGroupSchema, ListExtensionColumnPlacementSchema, ListExtensionSchema, ListSchema, ListViewSchema, MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, MenuConfigurationExtensionPlacementSchema, MenuConfigurationExtensionPositionSchema, MenuConfigurationExtensionSchema, MenuConfigurationSchema, MenuItemSchema, MenuItemType, MetaClient, ModuleSchema, OnDeleteActionSchema, PAGE_ACTION_MATCH_MAX_LIMIT, PAGE_EXTENSION_ANCHOR_MAIN, PAGE_EXTENSION_ANCHOR_SIDE_PANEL, PLATFORM_ATTRIBUTE_NAMES, PLATFORM_USER_ID, PageActionMatchSchema, PageActionSchema, PageExtensionPlacementSchema, PageExtensionSchema, PageIterator, PageLayoutSchema, PageSchema, RecordPageBindingSchema, RelationAttributeMetaSchema, ResponseMetaSchema, SortConfigSchema, TriggerPageBindingSchema, UserRefSchema, VariableSchema, acceptsCurrentUserDefault, allCurrencyCodes, bundleVersionOf, createIterator, createListResultSchema, currencyLabel, currencySymbol, currencySymbolSide, formatAmount, formatMoney, isCurrentUser, isCurrentUserDefault, isPlatformAttributeName, localeNumberSeparators, parseAmount, parseContactAddressMeta, parseCurrencyMeta, parseFileMeta, parseRelationMeta, platformAttributes } from './chunk-DXF354K4.js';
3
3
  import { z } from 'zod';
4
4
  import { fetchEventSource } from '@microsoft/fetch-event-source';
5
5
 
@@ -262,6 +262,9 @@ var SessionServiceImpl = class {
262
262
  async end(id) {
263
263
  return this.client.request("POST", `${SESSIONS_BASE_PATH}/${id}/end`);
264
264
  }
265
+ async openPreview(id) {
266
+ return this.client.request("POST", `${SESSIONS_BASE_PATH}/${id}/preview`);
267
+ }
265
268
  async submitToolResult(id, input) {
266
269
  return this.appendEvent(id, {
267
270
  type: "user.tool_result",
@@ -1000,6 +1003,10 @@ var PLATFORM_ENTITIES = [
1000
1003
  // list/get drafts; write = propose, reject and (with the entity's own
1001
1004
  // write/delete) approve.
1002
1005
  { slug: "record-drafts", name: "Record Drafts" },
1006
+ // Stored SQL queries — what the Reports tab saves and shares. Scoped by
1007
+ // default: a member with no grant reaches their own queries and those
1008
+ // shared with them; the unscoped grant reaches every query in the org.
1009
+ { slug: "queries", name: "Queries" },
1003
1010
  // Storage (storage-service)
1004
1011
  { slug: "files", name: "Files" },
1005
1012
  // Automation (function-service)
@@ -1052,6 +1059,7 @@ var PLATFORM_ENTITIES = [
1052
1059
  // Outbound send constraints (windows, connection limits, frequency caps) +
1053
1060
  // their preset catalog.
1054
1061
  { slug: "sending-rules", name: "Sending Rules" },
1062
+ { slug: "email-signatures", name: "Email Signatures" },
1055
1063
  // The channel_action ledger: acts through a connection that are neither a
1056
1064
  // message nor a reaction (LinkedIn invitations, profile visits, InMail).
1057
1065
  { slug: "channel-actions", name: "Channel Actions" },
@@ -1809,6 +1817,7 @@ var ConversationClient = class {
1809
1817
  conversationFilters;
1810
1818
  /** Outbound send constraints: windows, connection limits, frequency caps + presets. */
1811
1819
  sendingRules;
1820
+ emailSignatures;
1812
1821
  /**
1813
1822
  * Channel actions: acts performed through a connection that are neither a
1814
1823
  * message nor a reaction — LinkedIn invitations, profile visits, InMail.
@@ -1855,6 +1864,7 @@ var ConversationClient = class {
1855
1864
  this.agentListeners = new AgentListenerServiceImpl(client);
1856
1865
  this.conversationFilters = new ConversationFilterServiceImpl(client);
1857
1866
  this.sendingRules = new SendingRuleServiceImpl(client);
1867
+ this.emailSignatures = new EmailSignatureServiceImpl(client);
1858
1868
  this.channelActions = new ChannelActionServiceImpl(client);
1859
1869
  this.channelEvents = new ChannelEventServiceImpl(client);
1860
1870
  this.glossaryTerms = new GlossaryTermServiceImpl(client);
@@ -2996,6 +3006,44 @@ var SendingRuleServiceImpl = class {
2996
3006
  );
2997
3007
  }
2998
3008
  };
3009
+ var EmailSignatureServiceImpl = class {
3010
+ constructor(client) {
3011
+ this.client = client;
3012
+ }
3013
+ client;
3014
+ list(query = {}) {
3015
+ return this.client.requestWithQuery("GET", `${CONVERSATION_BASE_PATH}/email-signatures`, query);
3016
+ }
3017
+ get(id) {
3018
+ return this.client.request(
3019
+ "GET",
3020
+ `${CONVERSATION_BASE_PATH}/email-signatures/${encodeURIComponent(id)}`
3021
+ );
3022
+ }
3023
+ create(request) {
3024
+ return this.client.request("POST", `${CONVERSATION_BASE_PATH}/email-signatures`, request);
3025
+ }
3026
+ update(id, request) {
3027
+ return this.client.request(
3028
+ "PATCH",
3029
+ `${CONVERSATION_BASE_PATH}/email-signatures/${encodeURIComponent(id)}`,
3030
+ request
3031
+ );
3032
+ }
3033
+ async delete(id) {
3034
+ await this.client.request(
3035
+ "DELETE",
3036
+ `${CONVERSATION_BASE_PATH}/email-signatures/${encodeURIComponent(id)}`
3037
+ );
3038
+ }
3039
+ resolve(query = {}) {
3040
+ return this.client.requestWithQuery(
3041
+ "GET",
3042
+ `${CONVERSATION_BASE_PATH}/email-signatures/resolve`,
3043
+ query
3044
+ );
3045
+ }
3046
+ };
2999
3047
  var ChannelActionServiceImpl = class {
3000
3048
  constructor(client) {
3001
3049
  this.client = client;
@@ -3087,6 +3135,7 @@ var EntityIndexServiceImpl = class {
3087
3135
 
3088
3136
  // src/data/queries.ts
3089
3137
  var QUERY_BASE_PATH = "/data/v1/query";
3138
+ var QUERIES_BASE_PATH = "/data/v1/queries";
3090
3139
  var QueryServiceImpl = class {
3091
3140
  constructor(client) {
3092
3141
  this.client = client;
@@ -3100,6 +3149,25 @@ var QueryServiceImpl = class {
3100
3149
  sql
3101
3150
  });
3102
3151
  }
3152
+ async list(query = {}) {
3153
+ return this.client.requestWithQuery("GET", QUERIES_BASE_PATH, query);
3154
+ }
3155
+ async get(id) {
3156
+ return this.client.request("GET", `${QUERIES_BASE_PATH}/${encodeURIComponent(id)}`);
3157
+ }
3158
+ async create(request) {
3159
+ return this.client.request("POST", QUERIES_BASE_PATH, request);
3160
+ }
3161
+ async update(id, request) {
3162
+ return this.client.request(
3163
+ "PATCH",
3164
+ `${QUERIES_BASE_PATH}/${encodeURIComponent(id)}`,
3165
+ request
3166
+ );
3167
+ }
3168
+ async delete(id) {
3169
+ await this.client.request("DELETE", `${QUERIES_BASE_PATH}/${encodeURIComponent(id)}`);
3170
+ }
3103
3171
  };
3104
3172
 
3105
3173
  // src/data/record-drafts.ts