@proteos/sdk 0.77.0 → 0.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -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, c as ProteosClient, F as FileRef, d as PrincipalRef, e as PageAction, R as ResponseMeta$1, f as PublicAccessOperation } from './types-Bn5y5wHZ.cjs';
2
- export { g as App, h as AppConfiguration, i as AppConfigurationSchema, j as AppConfigurationService, k as AppHome, l as AppHomeSchema, m as AppHomeType, n as AppSchema, o as AppService, p as ArrayAttributeMeta, q as AttributeAccessRule, r as AttributeRestrictions, s as AttributeSchema, t as AttributeType, u as AuditFieldsSchema, C as CURRENT_USER, v as CURRENT_USER_DEFAULT, w as ClientOptions, x as Column, y as ColumnSchema, z as ComparisonOperator, B as Component, D as ComponentSchema, E as ComponentService, G as ContactAddressAttributeKind, H as ContactAddressAttributeMeta, I as ContactAddressAttributeMetaSchema, J as ContactBindingDuplicatePolicy, K as CreateAppConfigurationRequest, M as CreateAppRequest, N as CreateComponentRequest, O as CreateDesignReferenceRequest, Q as CreateEntityExtensionRequest, S as CreateEntityRequest, T as CreateListExtensionRequest, V as CreateListRequest, W as CreateListViewRequest, X as CreateMenuConfigurationExtensionRequest, Y as CreateMenuConfigurationRequest, Z as CreatePageExtensionRequest, _ as CreatePageRequest, $ as CreateVariableRequest, a0 as CurrencyAttributeMeta, a1 as CurrencyAttributeMetaSchema, a2 as CurrencySymbolSide, a3 as CurrencyValue, a4 as CurrentUserDefault, a5 as DEFAULT_OPTIONS, a6 as DEFAULT_PAGE_SIZE, a7 as DONE, a8 as DeployModuleRequest, a9 as DesignReference, aa as DesignReferenceContent, ab as DesignReferenceSchema, ac as DesignReferenceService, ad as Done, ae as Entity, af as EntityContactBinding, ag as EntityContactBindingSchema, ah as EntityExtension, ai as EntityExtensionSchema, aj as EntityExtensionService, ak as EntitySchema, al as EntityService, am as EntityWithSchema, an as EntityWithSchemaSchema, ao as EnumAttributeMeta, ap as EnumValue, aq as ExtensionPosition, ar as ExtensionPositionSchema, as as FileAttributeMeta, at as FileRefSchema, au as FilterElement, av as FilterElementSchema, aw as FilterGroup, ax as FilterGroupSchema, ay as List, az as ListAppConfigurationsOptions, aA as ListAppsOptions, aB as ListComponentsOptions, aC as ListDesignReferencesOptions, aD as ListEntitiesOptions, aE as ListEntityExtensionsOptions, aF as ListExtension, aG as ListExtensionColumnPlacement, aH as ListExtensionColumnPlacementSchema, aI as ListExtensionSchema, aJ as ListExtensionService, aK as ListFn, aL as ListListExtensionsOptions, aM as ListListViewsOptions, aN as ListListsOptions, aO as ListMenuConfigurationExtensionsOptions, aP as ListMenuConfigurationsOptions, aQ as ListModulesOptions, aR as ListPageExtensionsOptions, aS as ListPagesOptions, aT as ListSchema, aU as ListService, aV as ListVariablesOptions, aW as ListView, aX as ListViewSchema, aY as ListViewService, aZ as LogicalOperator, a_ as MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, a$ as MenuConfiguration, b0 as MenuConfigurationExtension, b1 as MenuConfigurationExtensionPlacement, b2 as MenuConfigurationExtensionPlacementSchema, b3 as MenuConfigurationExtensionPosition, b4 as MenuConfigurationExtensionPositionSchema, b5 as MenuConfigurationExtensionSchema, b6 as MenuConfigurationExtensionService, b7 as MenuConfigurationSchema, b8 as MenuConfigurationService, b9 as MenuItem, ba as MenuItemSchema, bb as MenuItemType, bc as MetaClient, bd as MetaListOptions, be as Module, bf as ModuleSchema, bg as ModuleService, bh as ModuleStatus, bi as OnDeleteAction, bj as OnDeleteActionSchema, bk as PAGE_ACTION_MATCH_MAX_LIMIT, bl as PAGE_EXTENSION_ANCHOR_MAIN, bm as PAGE_EXTENSION_ANCHOR_SIDE_PANEL, bn as PLATFORM_ATTRIBUTE_NAMES, bo as PLATFORM_USER_ID, bp as Page, bq as PageActionIntent, br as PageActionKind, bs as PageActionMatch, bt as PageActionMatchSchema, bu as PageActionSchema, bv as PageExtension, bw as PageExtensionPlacement, bx as PageExtensionPlacementSchema, by as PageExtensionSchema, bz as PageExtensionService, bA as PageLayout, bB as PageLayoutSchema, bC as PageMode, bD as PageSchema, bE as PageService, bF as PageType, bG as PublicPageComponent, bH as PublicPageResponse, bI as RecordPageBinding, bJ as RecordPageBindingSchema, bK as RelationAttributeMeta, bL as RelationAttributeMetaSchema, bM as RequestOptions, 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-Bn5y5wHZ.cjs';
1
+ import { A as AuditFields, L as ListOptions, a as Attribute, U as UserRef$2, P as PageIterator, b as ListResult, c as ProteosClient, F as FileRef, d as PrincipalRef, e as PageAction, R as ResponseMeta$1, f as PublicAccessOperation, g as RequestOptions } from './types-CWj1h9l0.cjs';
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-CWj1h9l0.cjs';
3
3
  import { z } from 'zod';
4
4
 
5
5
  /**
@@ -2908,7 +2908,7 @@ interface ListConnectorConnectionsQuery {
2908
2908
  scope?: ConnectionScope$1;
2909
2909
  status?: ConnectionStatus$1;
2910
2910
  }
2911
- interface ListResponse$2<T> {
2911
+ interface ListResponse$3<T> {
2912
2912
  data: T[];
2913
2913
  meta: {
2914
2914
  page: number;
@@ -2936,14 +2936,14 @@ declare class ConnectorClient {
2936
2936
  }
2937
2937
  /** The connector manifest catalog (pre-built + org-custom). */
2938
2938
  interface ConnectorCatalogService {
2939
- list(query?: ListConnectorsQuery): Promise<ListResponse$2<Connector>>;
2939
+ list(query?: ListConnectorsQuery): Promise<ListResponse$3<Connector>>;
2940
2940
  get(key: string): Promise<Connector>;
2941
2941
  /** A connector's callable methods (sugar over get().methods). */
2942
2942
  listMethods(key: string): Promise<ConnectorMethod[]>;
2943
2943
  }
2944
2944
  /** Configured integration instances + method invocation. */
2945
2945
  interface ConnectorConnectionService {
2946
- list(query?: ListConnectorConnectionsQuery): Promise<ListResponse$2<ConnectorConnection>>;
2946
+ list(query?: ListConnectorConnectionsQuery): Promise<ListResponse$3<ConnectorConnection>>;
2947
2947
  get(id: string): Promise<ConnectorConnection>;
2948
2948
  create(request: CreateConnectorConnectionRequest): Promise<ConnectorConnection>;
2949
2949
  update(id: string, request: UpdateConnectorConnectionRequest): Promise<ConnectorConnection>;
@@ -3317,6 +3317,12 @@ interface Conversation {
3317
3317
  * Google's UID names a series, Microsoft's one occurrence.
3318
3318
  */
3319
3319
  calendar_event_ical_uid?: string;
3320
+ /**
3321
+ * The brief this phone call was dialled with, or the first brief attached to
3322
+ * it by hand; the first value stays. Absent on everything else: a meeting may
3323
+ * carry several briefs (list them with `conversationBriefs.list`).
3324
+ */
3325
+ brief_id?: string;
3320
3326
  /**
3321
3327
  * Message id of the child conversation's root message, which lives in the
3322
3328
  * parent conversation; absent when the root is unknown (predates ingest).
@@ -4872,6 +4878,13 @@ interface ListConversationsQuery extends PaginationQuery {
4872
4878
  type_key?: string;
4873
4879
  /** The meeting conversations born from one calendar event UID. */
4874
4880
  calendar_event_ical_uid?: string;
4881
+ /** The calls dialled with one brief, or later given it. */
4882
+ brief_id?: string;
4883
+ /**
4884
+ * Conversations whose row changed at or after this ISO instant: an outcome
4885
+ * set, a call ended, but also any other write such as a summary.
4886
+ */
4887
+ updated_after?: string;
4875
4888
  /** How conversations ended (one of a type's outcome keys). */
4876
4889
  outcome_key?: string;
4877
4890
  /**
@@ -5351,7 +5364,7 @@ interface ResponseMeta {
5351
5364
  items_total: number;
5352
5365
  pages_total: number;
5353
5366
  }
5354
- interface ListResponse$1<T> {
5367
+ interface ListResponse$2<T> {
5355
5368
  meta: ResponseMeta;
5356
5369
  data: T[];
5357
5370
  }
@@ -6322,7 +6335,7 @@ declare class ConversationClient {
6322
6335
  /** Conversation notes — what a person recorded about a conversation. */
6323
6336
  interface ConversationNoteService {
6324
6337
  /** A conversation's notes, oldest first by default. */
6325
- list(conversationId: string, query?: ListConversationNotesQuery): Promise<ListResponse$1<ConversationNote>>;
6338
+ list(conversationId: string, query?: ListConversationNotesQuery): Promise<ListResponse$2<ConversationNote>>;
6326
6339
  create(conversationId: string, request: CreateConversationNoteRequest): Promise<ConversationNote>;
6327
6340
  /** Author only (403 `conversation_note_not_author`). */
6328
6341
  update(id: string, request: UpdateConversationNoteRequest): Promise<ConversationNote>;
@@ -6358,7 +6371,7 @@ interface MeetingService {
6358
6371
  */
6359
6372
  interface MeetingBotService {
6360
6373
  /** The bots the caller may see, soonest meeting first. */
6361
- list(query?: ListMeetingBotsQuery): Promise<ListResponse$1<MeetingBot>>;
6374
+ list(query?: ListMeetingBotsQuery): Promise<ListResponse$2<MeetingBot>>;
6362
6375
  /**
6363
6376
  * Withdraw Ava from the meeting this bot belongs to: every bot of that
6364
6377
  * meeting instance the caller may act on (scheduled from their connection,
@@ -6370,7 +6383,7 @@ interface MeetingBotService {
6370
6383
  }
6371
6384
  /** Configured integration instances (Slack workspace, Gmail grant, …). */
6372
6385
  interface ConnectionService {
6373
- list(query?: ListConnectionsQuery): Promise<ListResponse$1<Connection>>;
6386
+ list(query?: ListConnectionsQuery): Promise<ListResponse$2<Connection>>;
6374
6387
  get(id: string): Promise<Connection>;
6375
6388
  create(request: CreateConnectionRequest): Promise<Connection>;
6376
6389
  update(id: string, request: UpdateConnectionRequest): Promise<Connection>;
@@ -6399,9 +6412,9 @@ interface ConnectionService {
6399
6412
  */
6400
6413
  sync(id: string, request: SyncConnectionRequest): Promise<Connection>;
6401
6414
  /** Search the contact addresses this connection can reach (org-deduped) for the compose picker. */
6402
- listContactAddresses(connectionId: string, query?: ListContactAddressesQuery): Promise<ListResponse$1<ContactAddress>>;
6415
+ listContactAddresses(connectionId: string, query?: ListContactAddressesQuery): Promise<ListResponse$2<ContactAddress>>;
6403
6416
  /** Search a connection's addressable VENUES (Slack channels) for the compose picker. */
6404
- listRooms(connectionId: string, query?: ListRoomsQuery): Promise<ListResponse$1<Room>>;
6417
+ listRooms(connectionId: string, query?: ListRoomsQuery): Promise<ListResponse$2<Room>>;
6405
6418
  /**
6406
6419
  * Deliverability of a sending-platform connection (SendGrid): rates from
6407
6420
  * the channel_event ledger + the provider's snapshot (engagement quality,
@@ -6432,7 +6445,7 @@ interface ConnectionService {
6432
6445
  }
6433
6446
  /** The person-level identity layer: contacts, addresses, merges, permissions, erasure. */
6434
6447
  interface ContactService {
6435
- list(query?: ListContactsQuery): Promise<ListResponse$1<Contact>>;
6448
+ list(query?: ListContactsQuery): Promise<ListResponse$2<Contact>>;
6436
6449
  get(id: string): Promise<Contact>;
6437
6450
  /**
6438
6451
  * Manually mint a contact (sync dedup — 409 contact_address_taken on any
@@ -6446,7 +6459,7 @@ interface ContactService {
6446
6459
  /** Link the contact to a business record (bare edge; 409 contact_record_link_exists on duplicates). */
6447
6460
  linkRecord(request: CreateContactRecordLinkRequest): Promise<ContactRecordLink>;
6448
6461
  /** Page contact→record edges by contact_id, or by entity_slug + record_id. */
6449
- listRecordLinks(query?: ListContactRecordLinksQuery): Promise<ListResponse$1<ContactRecordLink>>;
6462
+ listRecordLinks(query?: ListContactRecordLinksQuery): Promise<ListResponse$2<ContactRecordLink>>;
6450
6463
  getRecordLink(linkId: string): Promise<ContactRecordLink>;
6451
6464
  unlinkRecord(linkId: string): Promise<void>;
6452
6465
  /** Fold source_contact_id into contactId (contactId wins). */
@@ -6456,13 +6469,13 @@ interface ContactService {
6456
6469
  unblock(contactId: string, request?: BlockContactRequest): Promise<Contact>;
6457
6470
  requestErasure(contactId: string): Promise<ContactErasureRequest>;
6458
6471
  listErasureRequests(contactId: string): Promise<ContactErasureRequest[]>;
6459
- listMergeProposals(query?: ListContactMergeProposalsQuery): Promise<ListResponse$1<ContactMergeProposal>>;
6472
+ listMergeProposals(query?: ListContactMergeProposalsQuery): Promise<ListResponse$2<ContactMergeProposal>>;
6460
6473
  approveMergeProposal(proposalId: string): Promise<ContactMergeProposal>;
6461
6474
  rejectMergeProposal(proposalId: string): Promise<ContactMergeProposal>;
6462
6475
  }
6463
6476
  /** Conversation threads across every channel (inbox order: last_message_at). */
6464
6477
  interface ConversationService {
6465
- list(query?: ListConversationsQuery): Promise<ListResponse$1<Conversation>>;
6478
+ list(query?: ListConversationsQuery): Promise<ListResponse$2<Conversation>>;
6466
6479
  get(id: string): Promise<Conversation>;
6467
6480
  /** Patch the user-editable surface (subject, summary, status, metadata). */
6468
6481
  update(id: string, request: UpdateConversationRequest): Promise<Conversation>;
@@ -6495,7 +6508,7 @@ interface ConversationService {
6495
6508
  }
6496
6509
  /** Messages within a conversation (ordered by occurred_at) + outbound send + drafts + reactions. */
6497
6510
  interface MessageService {
6498
- listByConversation(conversationId: string, query?: ListMessagesQuery): Promise<ListResponse$1<Message>>;
6511
+ listByConversation(conversationId: string, query?: ListMessagesQuery): Promise<ListResponse$2<Message>>;
6499
6512
  /** One message with its read-time projections (reactions, attachments). */
6500
6513
  get(messageId: string): Promise<Message>;
6501
6514
  send(request: SendMessageRequest): Promise<Message>;
@@ -6532,7 +6545,7 @@ interface MessageService {
6532
6545
  }
6533
6546
  /** Rules binding inbound messages to agents. */
6534
6547
  interface AgentListenerService {
6535
- list(query?: ListAgentListenersQuery): Promise<ListResponse$1<AgentListener>>;
6548
+ list(query?: ListAgentListenersQuery): Promise<ListResponse$2<AgentListener>>;
6536
6549
  get(id: string): Promise<AgentListener>;
6537
6550
  create(request: CreateAgentListenerRequest): Promise<AgentListener>;
6538
6551
  update(id: string, request: UpdateAgentListenerRequest): Promise<AgentListener>;
@@ -6544,12 +6557,12 @@ interface AgentListenerService {
6544
6557
  * listEvents pages a rule's drop-audit trail (who got dropped, when, why).
6545
6558
  */
6546
6559
  interface ConversationFilterService {
6547
- list(query?: ListConversationFiltersQuery): Promise<ListResponse$1<ConversationFilter>>;
6560
+ list(query?: ListConversationFiltersQuery): Promise<ListResponse$2<ConversationFilter>>;
6548
6561
  get(id: string): Promise<ConversationFilter>;
6549
6562
  create(request: CreateConversationFilterRequest): Promise<ConversationFilter>;
6550
6563
  update(id: string, request: UpdateConversationFilterRequest): Promise<ConversationFilter>;
6551
6564
  delete(id: string): Promise<void>;
6552
- listEvents(id: string, query?: ListConversationFilterEventsQuery): Promise<ListResponse$1<ConversationFilterEvent>>;
6565
+ listEvents(id: string, query?: ListConversationFilterEventsQuery): Promise<ListResponse$2<ConversationFilterEvent>>;
6553
6566
  }
6554
6567
  /**
6555
6568
  * Per-org glossary: custom-vocabulary terms that boost transcription accuracy.
@@ -6558,7 +6571,7 @@ interface ConversationFilterService {
6558
6571
  * decides the top 100 sent when an org stores more than the provider's cap.
6559
6572
  */
6560
6573
  interface GlossaryTermService {
6561
- list(query?: ListGlossaryTermsQuery): Promise<ListResponse$1<GlossaryTerm>>;
6574
+ list(query?: ListGlossaryTermsQuery): Promise<ListResponse$2<GlossaryTerm>>;
6562
6575
  get(id: string): Promise<GlossaryTerm>;
6563
6576
  create(request: CreateGlossaryTermRequest): Promise<GlossaryTerm>;
6564
6577
  update(id: string, request: UpdateGlossaryTermRequest): Promise<GlossaryTerm>;
@@ -6573,7 +6586,7 @@ interface GlossaryTermService {
6573
6586
  * `key` (not id); `upsert` is the idempotent module-deploy door.
6574
6587
  */
6575
6588
  interface ConversationTypeService {
6576
- list(query?: ListConversationTypesQuery): Promise<ListResponse$1<ConversationType>>;
6589
+ list(query?: ListConversationTypesQuery): Promise<ListResponse$2<ConversationType>>;
6577
6590
  get(key: string): Promise<ConversationType>;
6578
6591
  create(request: CreateConversationTypeRequest): Promise<ConversationType>;
6579
6592
  update(key: string, request: UpdateConversationTypeRequest): Promise<ConversationType>;
@@ -6589,7 +6602,7 @@ interface ConversationTypeService {
6589
6602
  * `upsert` is the idempotent module-deploy door.
6590
6603
  */
6591
6604
  interface ConversationTagDefinitionService {
6592
- list(query?: ListConversationTagDefinitionsQuery): Promise<ListResponse$1<ConversationTagDefinition>>;
6605
+ list(query?: ListConversationTagDefinitionsQuery): Promise<ListResponse$2<ConversationTagDefinition>>;
6593
6606
  get(key: string): Promise<ConversationTagDefinition>;
6594
6607
  create(request: CreateConversationTagDefinitionRequest): Promise<ConversationTagDefinition>;
6595
6608
  update(key: string, request: UpdateConversationTagDefinitionRequest): Promise<ConversationTagDefinition>;
@@ -6605,7 +6618,7 @@ interface ConversationTagDefinitionService {
6605
6618
  * Keyed by `key` (not id); `upsert` is the idempotent module-deploy door.
6606
6619
  */
6607
6620
  interface ConversationTagSetService {
6608
- list(query?: ListConversationTagSetsQuery): Promise<ListResponse$1<ConversationTagSet>>;
6621
+ list(query?: ListConversationTagSetsQuery): Promise<ListResponse$2<ConversationTagSet>>;
6609
6622
  get(key: string): Promise<ConversationTagSet>;
6610
6623
  create(request: CreateConversationTagSetRequest): Promise<ConversationTagSet>;
6611
6624
  update(key: string, request: UpdateConversationTagSetRequest): Promise<ConversationTagSet>;
@@ -6622,7 +6635,7 @@ interface ConversationTagSetService {
6622
6635
  */
6623
6636
  interface ConversationTagService {
6624
6637
  /** Tags on one conversation (pending, active and dismissed unless `status` filters). */
6625
- listByConversation(conversationId: string, query?: ListConversationTagsQuery): Promise<ListResponse$1<ConversationTag>>;
6638
+ listByConversation(conversationId: string, query?: ListConversationTagsQuery): Promise<ListResponse$2<ConversationTag>>;
6626
6639
  /** A person tags a conversation, a message or a span (source = user, confidence 1). */
6627
6640
  create(conversationId: string, request: CreateConversationTagRequest): Promise<ConversationTag>;
6628
6641
  /**
@@ -6636,7 +6649,7 @@ interface ConversationTagService {
6636
6649
  */
6637
6650
  evaluate(conversationId: string, request?: EvaluateConversationTagsRequest): Promise<ConversationTagEvaluation>;
6638
6651
  /** The evaluation history of one conversation (newest first by default). */
6639
- listEvaluations(conversationId: string, query?: ListConversationTagEvaluationsQuery): Promise<ListResponse$1<ConversationTagEvaluation>>;
6652
+ listEvaluations(conversationId: string, query?: ListConversationTagEvaluationsQuery): Promise<ListResponse$2<ConversationTagEvaluation>>;
6640
6653
  /**
6641
6654
  * Flip a tag between active and dismissed (the feedback loop), annotate why,
6642
6655
  * and/or correct its value and anchors (a correction makes it a user tag).
@@ -6644,7 +6657,7 @@ interface ConversationTagService {
6644
6657
  update(id: string, request: UpdateConversationTagRequest): Promise<ConversationTag>;
6645
6658
  delete(id: string): Promise<void>;
6646
6659
  /** Org-wide tag stream (filter by definition, value, channel, contact, time window). */
6647
- list(query?: ListConversationTagsQuery): Promise<ListResponse$1<ConversationTag>>;
6660
+ list(query?: ListConversationTagsQuery): Promise<ListResponse$2<ConversationTag>>;
6648
6661
  /** Grouped counts for dashboards — `group_by` is a comma-joined string. */
6649
6662
  counts(query?: CountConversationTagsQuery): Promise<CountConversationTagsResponse>;
6650
6663
  /**
@@ -6652,7 +6665,7 @@ interface ConversationTagService {
6652
6665
  * now (`evaluate_on` ignored, like a manual evaluation) — what a person may
6653
6666
  * tag it with, incl. its outcome definition(s) (`role === 'outcome'`).
6654
6667
  */
6655
- listApplicableDefinitions(conversationId: string): Promise<ListResponse$1<ConversationTagDefinition>>;
6668
+ listApplicableDefinitions(conversationId: string): Promise<ListResponse$2<ConversationTagDefinition>>;
6656
6669
  }
6657
6670
  /**
6658
6671
  * Conversation objective definitions: WHAT a conversation should achieve —
@@ -6663,9 +6676,9 @@ interface ConversationTagService {
6663
6676
  * door.
6664
6677
  */
6665
6678
  interface ConversationObjectiveDefinitionService {
6666
- list(query?: GetManyConversationObjectiveDefinitionsQuery): Promise<ListResponse$1<ConversationObjectiveDefinition>>;
6679
+ list(query?: GetManyConversationObjectiveDefinitionsQuery): Promise<ListResponse$2<ConversationObjectiveDefinition>>;
6667
6680
  /** One page, explicitly (`query.page`) — the door a page walker calls; same wire call as `list`. */
6668
- listPage(query?: GetManyConversationObjectiveDefinitionsQuery): Promise<ListResponse$1<ConversationObjectiveDefinition>>;
6681
+ listPage(query?: GetManyConversationObjectiveDefinitionsQuery): Promise<ListResponse$2<ConversationObjectiveDefinition>>;
6669
6682
  get(key: string): Promise<ConversationObjectiveDefinition>;
6670
6683
  create(request: CreateConversationObjectiveDefinitionRequest): Promise<ConversationObjectiveDefinition>;
6671
6684
  /** Partial update; `measure: null` clears the measure (guidance only). */
@@ -6683,7 +6696,7 @@ interface ConversationObjectiveDefinitionService {
6683
6696
  */
6684
6697
  interface ConversationObjectiveService {
6685
6698
  /** The ledger (filter by conversation, definition, type, phase, channel, status, source, time window on `recorded_at`). */
6686
- list(query?: GetManyConversationObjectivesQuery): Promise<ListResponse$1<ConversationObjective>>;
6699
+ list(query?: GetManyConversationObjectivesQuery): Promise<ListResponse$2<ConversationObjective>>;
6687
6700
  /** Grouped counts for dashboards — `group_by` is a comma-joined string. */
6688
6701
  counts(query?: CountConversationObjectivesQuery): Promise<CountConversationObjectivesResponse>;
6689
6702
  }
@@ -6696,7 +6709,7 @@ interface ConversationObjectiveService {
6696
6709
  * membership and purges its tone profile rows.
6697
6710
  */
6698
6711
  interface ContactGroupService {
6699
- list(query?: ListContactGroupsQuery): Promise<ListResponse$1<ContactGroup>>;
6712
+ list(query?: ListContactGroupsQuery): Promise<ListResponse$2<ContactGroup>>;
6700
6713
  get(key: string): Promise<ContactGroup>;
6701
6714
  create(request: CreateContactGroupRequest): Promise<ContactGroup>;
6702
6715
  update(key: string, request: UpdateContactGroupRequest): Promise<ContactGroup>;
@@ -6713,13 +6726,13 @@ interface ContactGroupService {
6713
6726
  * `resolve` (each row is self-contained; never concatenate tiers).
6714
6727
  */
6715
6728
  interface ToneProfileService {
6716
- listSetups(query?: ListToneProfileSetupsQuery): Promise<ListResponse$1<ToneProfileSetup>>;
6729
+ listSetups(query?: ListToneProfileSetupsQuery): Promise<ListResponse$2<ToneProfileSetup>>;
6717
6730
  createSetup(request: CreateToneProfileSetupRequest): Promise<ToneProfileSetup>;
6718
6731
  /** Removes the setup AND the user's generated profiles. */
6719
6732
  deleteSetup(id: string): Promise<void>;
6720
6733
  /** Kicks a whole-user synthesis run off-request (bypasses cadence checks). */
6721
6734
  synthesize(setupId: string): Promise<void>;
6722
- listProfiles(query?: ListToneProfilesQuery): Promise<ListResponse$1<ToneProfile>>;
6735
+ listProfiles(query?: ListToneProfilesQuery): Promise<ListResponse$2<ToneProfile>>;
6723
6736
  getProfile(id: string): Promise<ToneProfile>;
6724
6737
  /** The single most-specific profile for a drafting context; 404 when none. */
6725
6738
  resolve(query: ResolveToneProfileQuery): Promise<ToneProfile>;
@@ -6754,7 +6767,7 @@ interface TranscriptionService {
6754
6767
  * chooses the mode, and exactly one of the two is allowed.
6755
6768
  */
6756
6769
  createFromText(request: CreateTranscriptionFromTextRequest): Promise<Transcription>;
6757
- list(query?: ListTranscriptionsQuery): Promise<ListResponse$1<Transcription>>;
6770
+ list(query?: ListTranscriptionsQuery): Promise<ListResponse$2<Transcription>>;
6758
6771
  get(id: string): Promise<Transcription>;
6759
6772
  /**
6760
6773
  * Edits a completed transcription (turn text, speaker labels, language).
@@ -6778,7 +6791,7 @@ interface TranscriptionService {
6778
6791
  * review_status to completed.
6779
6792
  */
6780
6793
  interface MistranscribedTermService {
6781
- list(query?: ListMistranscribedTermsQuery): Promise<ListResponse$1<MistranscribedTerm>>;
6794
+ list(query?: ListMistranscribedTermsQuery): Promise<ListResponse$2<MistranscribedTerm>>;
6782
6795
  get(id: string): Promise<MistranscribedTerm>;
6783
6796
  accept(id: string, request?: AcceptMistranscribedTermRequest): Promise<MistranscribedTerm>;
6784
6797
  reject(id: string): Promise<MistranscribedTerm>;
@@ -6827,7 +6840,7 @@ interface CallService {
6827
6840
  * `conversation_brief_not_editable`.
6828
6841
  */
6829
6842
  interface ConversationBriefService {
6830
- list(query?: ListConversationBriefsQuery): Promise<ListResponse$1<ConversationBrief>>;
6843
+ list(query?: ListConversationBriefsQuery): Promise<ListResponse$2<ConversationBrief>>;
6831
6844
  get(id: string): Promise<ConversationBrief>;
6832
6845
  create(request: CreateConversationBriefRequest): Promise<ConversationBrief>;
6833
6846
  update(id: string, request: UpdateConversationBriefRequest): Promise<ConversationBrief>;
@@ -6844,7 +6857,7 @@ interface ConversationBriefService {
6844
6857
  * carry `earliest_allowed_at` (429) or the blocked contact (403).
6845
6858
  */
6846
6859
  interface SendingRuleService {
6847
- list(query?: ListSendingRulesQuery): Promise<ListResponse$1<SendingRule>>;
6860
+ list(query?: ListSendingRulesQuery): Promise<ListResponse$2<SendingRule>>;
6848
6861
  get(id: string): Promise<SendingRule>;
6849
6862
  create(request: CreateSendingRuleRequest): Promise<SendingRule>;
6850
6863
  update(id: string, request: UpdateSendingRuleRequest): Promise<SendingRule>;
@@ -6873,7 +6886,7 @@ interface SendingRuleService {
6873
6886
  * phantom act.
6874
6887
  */
6875
6888
  interface ChannelActionService {
6876
- list(query?: ListChannelActionsQuery): Promise<ListResponse$1<ChannelAction>>;
6889
+ list(query?: ListChannelActionsQuery): Promise<ListResponse$2<ChannelAction>>;
6877
6890
  get(id: string): Promise<ChannelAction>;
6878
6891
  /** Performs one act; resolves to the row in its post-perform status. */
6879
6892
  perform(request: PerformChannelActionRequest): Promise<ChannelAction>;
@@ -6889,9 +6902,9 @@ interface ChannelActionService {
6889
6902
  * ingest. `listByMessage` is the per-message history, oldest first.
6890
6903
  */
6891
6904
  interface ChannelEventService {
6892
- list(query?: ListChannelEventsQuery): Promise<ListResponse$1<ChannelEvent>>;
6905
+ list(query?: ListChannelEventsQuery): Promise<ListResponse$2<ChannelEvent>>;
6893
6906
  get(id: string): Promise<ChannelEvent>;
6894
- listByMessage(messageId: string): Promise<ListResponse$1<ChannelEvent>>;
6907
+ listByMessage(messageId: string): Promise<ListResponse$2<ChannelEvent>>;
6895
6908
  }
6896
6909
 
6897
6910
  /**
@@ -7321,6 +7334,228 @@ declare class DataClient {
7321
7334
  constructor(client: ProteosClient);
7322
7335
  }
7323
7336
 
7337
+ /**
7338
+ * discovery-service types — the evidence users send Proteos to show how they
7339
+ * work: a screenshot with ink, a screen recording with ink-annotated frames,
7340
+ * or written feedback. Evidence lives in the submitter's org; platform admins
7341
+ * read it across orgs. Mirror of packages/go/model/discovery.
7342
+ */
7343
+ type DiscoveryEvidenceKind = 'screenshot' | 'recording' | 'feedback';
7344
+ type DiscoveryEvidenceCategory = 'bug' | 'idea' | 'question' | 'praise' | 'other';
7345
+ type DiscoveryEvidenceStatus = 'new' | 'reviewed' | 'archived';
7346
+ type DiscoveryEvidenceSource = 'web' | 'extension';
7347
+ /** What the client knew when it captured: where the user was and on what. */
7348
+ interface DiscoveryEvidenceContext {
7349
+ url: string;
7350
+ path: string;
7351
+ page_title: string;
7352
+ app_version: string;
7353
+ extension_version: string;
7354
+ user_agent: string;
7355
+ viewport_width: number;
7356
+ viewport_height: number;
7357
+ device_pixel_ratio: number;
7358
+ locale: string;
7359
+ timezone: string;
7360
+ /** Web only — lets the admin hub deep-link to the PostHog session replay. */
7361
+ posthog_session_id: string;
7362
+ }
7363
+ /** A URL the user attached — a Loom share link, a document, a ticket. */
7364
+ interface DiscoveryEvidenceLink {
7365
+ url: string;
7366
+ title: string;
7367
+ }
7368
+ /** One point of a stroke: normalized 0..1 on both axes, `t` ms since recording start. */
7369
+ interface InkPoint {
7370
+ x: number;
7371
+ y: number;
7372
+ t: number;
7373
+ }
7374
+ /** One pen-down → pen-up gesture. */
7375
+ interface InkStroke {
7376
+ id: string;
7377
+ started_at_ms: number;
7378
+ ended_at_ms: number;
7379
+ color: string;
7380
+ width: number;
7381
+ points: InkPoint[];
7382
+ }
7383
+ /**
7384
+ * One annotated still: the image at `at_ms` (0 for a screenshot), the ink
7385
+ * drawn on it, and the comment the user added at review time.
7386
+ */
7387
+ interface DiscoveryEvidenceFrame {
7388
+ id: string;
7389
+ position: number;
7390
+ at_ms: number;
7391
+ image_file_id: string;
7392
+ /** The composite with the ink burned in; empty when the client did not render one. */
7393
+ annotated_image_file_id: string;
7394
+ comment: string;
7395
+ strokes: InkStroke[];
7396
+ }
7397
+ interface DiscoveryEvidence {
7398
+ id: string;
7399
+ org_id: string;
7400
+ kind: DiscoveryEvidenceKind;
7401
+ category: DiscoveryEvidenceCategory;
7402
+ title: string;
7403
+ notes: string;
7404
+ status: DiscoveryEvidenceStatus;
7405
+ source: DiscoveryEvidenceSource;
7406
+ context: DiscoveryEvidenceContext;
7407
+ recording_file_id: string;
7408
+ /** Client wall clock; the authoritative timeline length for playback. */
7409
+ recording_duration_ms: number;
7410
+ recording_mime_type: string;
7411
+ recording_size_bytes: number;
7412
+ has_audio: boolean;
7413
+ frame_count: number;
7414
+ links: DiscoveryEvidenceLink[];
7415
+ /** Present on the detail read only; lists omit frames. */
7416
+ frames?: DiscoveryEvidenceFrame[];
7417
+ reviewed_at?: string;
7418
+ reviewed_by?: UserRef$2;
7419
+ created_at: string;
7420
+ created_by: UserRef$2;
7421
+ updated_at: string;
7422
+ updated_by: UserRef$2;
7423
+ }
7424
+ interface CreateDiscoveryEvidenceLinkRequest {
7425
+ url: string;
7426
+ title?: string;
7427
+ }
7428
+ interface CreateDiscoveryEvidenceStrokeRequest {
7429
+ /** The client's stroke id when it has one; the server mints one otherwise. */
7430
+ id?: string;
7431
+ started_at_ms: number;
7432
+ ended_at_ms: number;
7433
+ color: string;
7434
+ width: number;
7435
+ points: InkPoint[];
7436
+ }
7437
+ /** One annotated still; `position` is assigned by the server from array order. */
7438
+ interface CreateDiscoveryEvidenceFrameRequest {
7439
+ at_ms: number;
7440
+ image_file_id: string;
7441
+ annotated_image_file_id?: string;
7442
+ comment?: string;
7443
+ strokes: CreateDiscoveryEvidenceStrokeRequest[];
7444
+ }
7445
+ /**
7446
+ * Creates one piece of evidence. Every file was already uploaded to
7447
+ * storage-service under the caller's own token; the request carries file ids.
7448
+ * Shape rules per kind: a screenshot has exactly one frame at 0 and no
7449
+ * recording; a recording has a recording file and frames within its duration;
7450
+ * feedback has neither and non-blank notes.
7451
+ */
7452
+ interface CreateDiscoveryEvidenceRequest {
7453
+ kind: DiscoveryEvidenceKind;
7454
+ category: DiscoveryEvidenceCategory;
7455
+ title?: string;
7456
+ notes?: string;
7457
+ source: DiscoveryEvidenceSource;
7458
+ context: DiscoveryEvidenceContext;
7459
+ recording_file_id?: string;
7460
+ recording_duration_ms?: number;
7461
+ recording_mime_type?: string;
7462
+ recording_size_bytes?: number;
7463
+ has_audio?: boolean;
7464
+ links?: CreateDiscoveryEvidenceLinkRequest[];
7465
+ frames?: CreateDiscoveryEvidenceFrameRequest[];
7466
+ }
7467
+ interface UpdateDiscoveryEvidenceFrameRequest {
7468
+ id: string;
7469
+ comment: string;
7470
+ }
7471
+ /** The submitter's partial edit: the words, never the capture. */
7472
+ interface UpdateDiscoveryEvidenceRequest {
7473
+ title?: string;
7474
+ notes?: string;
7475
+ category?: DiscoveryEvidenceCategory;
7476
+ links?: CreateDiscoveryEvidenceLinkRequest[];
7477
+ /** Patches comments by frame id. */
7478
+ frames?: UpdateDiscoveryEvidenceFrameRequest[];
7479
+ }
7480
+ interface UpdateDiscoveryEvidenceStatusRequest {
7481
+ status: DiscoveryEvidenceStatus;
7482
+ }
7483
+ interface ListDiscoveryEvidenceQuery {
7484
+ kind?: DiscoveryEvidenceKind;
7485
+ category?: DiscoveryEvidenceCategory;
7486
+ status?: DiscoveryEvidenceStatus;
7487
+ source?: DiscoveryEvidenceSource;
7488
+ page?: number;
7489
+ page_size?: number;
7490
+ sort_by?: string;
7491
+ sort_direction?: 'asc' | 'desc';
7492
+ }
7493
+ /** The cross-org listing for platform admins. */
7494
+ interface ListPlatformDiscoveryEvidenceQuery extends ListDiscoveryEvidenceQuery {
7495
+ org_id?: string;
7496
+ /** RFC 3339. */
7497
+ created_from?: string;
7498
+ /** RFC 3339. */
7499
+ created_to?: string;
7500
+ }
7501
+ interface DiscoveryEvidenceOrgSummary {
7502
+ org_id: string;
7503
+ count: number;
7504
+ new_count: number;
7505
+ newest_at?: string;
7506
+ }
7507
+ /** A presigned storage-service URL the browser fetches directly. */
7508
+ interface DiscoveryEvidenceDownloadUrl {
7509
+ url: string;
7510
+ expires_at: string;
7511
+ }
7512
+ interface ListResponse$1<T> {
7513
+ meta: ResponseMeta$1;
7514
+ data: T[];
7515
+ }
7516
+
7517
+ /**
7518
+ * Facade for discovery-service: the evidence users send Proteos (screenshots,
7519
+ * screen recordings with ink-annotated frames, written feedback).
7520
+ *
7521
+ * `evidence` acts in the caller's org — own rows under a scoped grant, every
7522
+ * row under the unscoped read. `platform` is the Proteos-side view across
7523
+ * every org; it answers only to platform admins.
7524
+ *
7525
+ * ```ts
7526
+ * const discovery = new DiscoveryClient(client)
7527
+ * const sent = await discovery.evidence.create({ kind: 'feedback', category: 'idea', source: 'web', notes, context })
7528
+ * const { data: mine } = await discovery.evidence.list()
7529
+ * const { url } = await discovery.evidence.createDownloadUrl(sent.id, fileId)
7530
+ * ```
7531
+ */
7532
+ declare class DiscoveryClient {
7533
+ readonly evidence: DiscoveryEvidenceService;
7534
+ readonly platform: PlatformDiscoveryEvidenceService;
7535
+ constructor(client: ProteosClient);
7536
+ }
7537
+ /** The submitter's door: create, read back, edit the words, withdraw. */
7538
+ interface DiscoveryEvidenceService {
7539
+ create(request: CreateDiscoveryEvidenceRequest): Promise<DiscoveryEvidence>;
7540
+ list(query?: ListDiscoveryEvidenceQuery): Promise<ListResponse$1<DiscoveryEvidence>>;
7541
+ /** The detail read; carries the frames. */
7542
+ get(id: string): Promise<DiscoveryEvidence>;
7543
+ update(id: string, request: UpdateDiscoveryEvidenceRequest): Promise<DiscoveryEvidence>;
7544
+ /** Withdraws the evidence; its files are removed best-effort. */
7545
+ delete(id: string): Promise<void>;
7546
+ /** Mints a presigned URL for one of the evidence's files (recording, frame image). */
7547
+ createDownloadUrl(id: string, fileId: string): Promise<DiscoveryEvidenceDownloadUrl>;
7548
+ }
7549
+ /** The Proteos-side view across orgs. Platform admins only. */
7550
+ interface PlatformDiscoveryEvidenceService {
7551
+ list(query?: ListPlatformDiscoveryEvidenceQuery): Promise<ListResponse$1<DiscoveryEvidence>>;
7552
+ /** Per-org counts: how much evidence, how much still new, the newest arrival. */
7553
+ summary(): Promise<DiscoveryEvidenceOrgSummary[]>;
7554
+ get(id: string): Promise<DiscoveryEvidence>;
7555
+ updateStatus(id: string, request: UpdateDiscoveryEvidenceStatusRequest): Promise<DiscoveryEvidence>;
7556
+ createDownloadUrl(id: string, fileId: string): Promise<DiscoveryEvidenceDownloadUrl>;
7557
+ }
7558
+
7324
7559
  /**
7325
7560
  * Common error codes returned by the Proteos API.
7326
7561
  */
@@ -10212,7 +10447,7 @@ interface FileService {
10212
10447
  * Downloads the file's current version as a Blob (authenticated). Prefer
10213
10448
  * {@link FileService.createDownloadUrl} for browser click-to-download.
10214
10449
  */
10215
- download(id: string): Promise<Blob>;
10450
+ download(id: string, options?: RequestOptions): Promise<Blob>;
10216
10451
  /**
10217
10452
  * Downloads the current version of a public-read file through the
10218
10453
  * UNAUTHENTICATED public endpoint (no Authorization header). A non-public
@@ -10948,4 +11183,4 @@ declare class WorkflowClient {
10948
11183
  constructor(client: ProteosClient);
10949
11184
  }
10950
11185
 
10951
- 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 AgentService, type AllFilterConfig, type ApiErrorResponse, type ApiKey, type AppendEventRequest, type ApplySendingLimitPresetRequest, 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 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 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 CreateEntityIndexRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreateProfileRequest, type CreatePromptRequest, 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 DependentAgent, type DependentSyncResult, 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 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 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 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 ListProfilesOptions, type ListPromptsOptions, type ListRecordDuplicatesQuery, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse$1 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 MessageDirection, 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 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 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 ReasoningPayload, type RecipientKind, type RecipientRole, type RecordData, type RecordDuplicate, type RecordDuplicateService, type RecordDuplicateSource, type RecordDuplicateStatus, type RecordLinkService, type RecordPermissionEventRequest, type RecordRef, type RecordService, type RecurrenceScope, type RedriveResult, 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 SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionService, type SessionStatus, type SessionStreamOptions, 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 SpaceService, type StartMcpOAuthResponse, 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 ToolUsePayload, 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 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 UpdateDraftRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateMeRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePhoneNumberRequest, type UpdateProfileRequest, type UpdatePromptRequest, 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 VoiceService, 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 WriteContentResponse, type WriteCredentialsRequest, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, shareRouteFor, toQueryParams, toQueryString };
11186
+ 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 AgentService, type AllFilterConfig, type ApiErrorResponse, type ApiKey, type AppendEventRequest, type ApplySendingLimitPresetRequest, 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 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 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 CreateDiscoveryEvidenceRequest, type CreateDiscoveryEvidenceStrokeRequest, type CreateEntityIndexRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreateProfileRequest, type CreatePromptRequest, 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 DependentAgent, type DependentSyncResult, DiscoveryClient, type DiscoveryEvidence, type DiscoveryEvidenceCategory, type DiscoveryEvidenceContext, type DiscoveryEvidenceDownloadUrl, type DiscoveryEvidenceFrame, type DiscoveryEvidenceKind, type DiscoveryEvidenceLink, 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 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 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 MessageDirection, 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 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 ReasoningPayload, type RecipientKind, type RecipientRole, type RecordData, type RecordDuplicate, type RecordDuplicateService, type RecordDuplicateSource, type RecordDuplicateStatus, type RecordLinkService, type RecordPermissionEventRequest, type RecordRef, type RecordService, type RecurrenceScope, type RedriveResult, 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 SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionService, type SessionStatus, type SessionStreamOptions, 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 SpaceService, type StartMcpOAuthResponse, 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 ToolUsePayload, 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 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 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 VoiceService, 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 WriteContentResponse, type WriteCredentialsRequest, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, shareRouteFor, toQueryParams, toQueryString };