@proteos/sdk 0.53.0 → 0.54.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, c as ProteosClient, F as FileRef, d as PrincipalRef, e as PublicAccessOperation } from './types-D5P6yk1L.js';
2
- export { f as App, g as AppConfiguration, h as AppConfigurationSchema, i as AppConfigurationService, j as AppHome, k as AppHomeSchema, l as AppHomeType, m as AppSchema, n as AppService, o as ArrayAttributeMeta, p as AttributeAccessRule, q as AttributeRestrictions, r as AttributeSchema, s as AttributeType, t as AuditFieldsSchema, C as CURRENT_USER_DEFAULT, u as ClientOptions, v as Column, w as ColumnSchema, x as ComparisonOperator, y as Component, z as ComponentSchema, B as ComponentService, D as ContactAddressAttributeKind, E as ContactAddressAttributeMeta, G as ContactAddressAttributeMetaSchema, H as ContactBindingDuplicatePolicy, I as CreateAppConfigurationRequest, J as CreateAppRequest, K as CreateComponentRequest, M as CreateDesignReferenceRequest, N as CreateEntityExtensionRequest, O as CreateEntityRequest, Q as CreateListExtensionRequest, R as CreateListRequest, S as CreateListViewRequest, T as CreateMenuConfigurationExtensionRequest, V as CreateMenuConfigurationRequest, W as CreatePageExtensionRequest, X as CreatePageRequest, Y as CreateVariableRequest, Z as CurrencyAttributeMeta, _ as CurrencyAttributeMetaSchema, $ as CurrencySymbolSide, a0 as CurrencyValue, a1 as CurrentUserDefault, a2 as DEFAULT_OPTIONS, a3 as DEFAULT_PAGE_SIZE, a4 as DONE, a5 as DeployModuleRequest, a6 as DesignReference, a7 as DesignReferenceContent, a8 as DesignReferenceSchema, a9 as DesignReferenceService, aa as Done, ab as Entity, ac as EntityContactBinding, ad as EntityContactBindingSchema, ae as EntityExtension, af as EntityExtensionSchema, ag as EntityExtensionService, ah as EntitySchema, ai as EntityService, aj as EntityWithSchema, ak as EntityWithSchemaSchema, al as EnumAttributeMeta, am as EnumValue, an as ExtensionPosition, ao as ExtensionPositionSchema, ap as FileAttributeMeta, aq as FileRefSchema, ar as FilterElement, as as FilterElementSchema, at as FilterGroup, au as FilterGroupSchema, av as List, aw as ListAppConfigurationsOptions, ax as ListAppsOptions, ay as ListComponentsOptions, az as ListDesignReferencesOptions, aA as ListEntitiesOptions, aB as ListEntityExtensionsOptions, aC as ListExtension, aD as ListExtensionColumnPlacement, aE as ListExtensionColumnPlacementSchema, aF as ListExtensionSchema, aG as ListExtensionService, aH as ListFn, aI as ListListExtensionsOptions, aJ as ListListViewsOptions, aK as ListListsOptions, aL as ListMenuConfigurationExtensionsOptions, aM as ListMenuConfigurationsOptions, aN as ListModulesOptions, aO as ListPageExtensionsOptions, aP as ListPagesOptions, aQ as ListSchema, aR as ListService, aS as ListVariablesOptions, aT as ListView, aU as ListViewSchema, aV as ListViewService, aW as LogicalOperator, aX as MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, aY as MenuConfiguration, aZ as MenuConfigurationExtension, a_ as MenuConfigurationExtensionPlacement, a$ as MenuConfigurationExtensionPlacementSchema, b0 as MenuConfigurationExtensionPosition, b1 as MenuConfigurationExtensionPositionSchema, b2 as MenuConfigurationExtensionSchema, b3 as MenuConfigurationExtensionService, b4 as MenuConfigurationSchema, b5 as MenuConfigurationService, b6 as MenuItem, b7 as MenuItemSchema, b8 as MenuItemType, b9 as MetaClient, ba as MetaListOptions, bb as Module, bc as ModuleSchema, bd as ModuleService, be as ModuleStatus, bf as OnDeleteAction, bg as OnDeleteActionSchema, bh as PAGE_EXTENSION_ANCHOR_MAIN, bi as PAGE_EXTENSION_ANCHOR_SIDE_PANEL, bj as PLATFORM_ATTRIBUTE_NAMES, bk as PLATFORM_USER_ID, bl as Page, bm as PageAction, bn as PageActionKind, bo as PageActionSchema, bp as PageExtension, bq as PageExtensionPlacement, br as PageExtensionPlacementSchema, bs as PageExtensionSchema, bt as PageExtensionService, bu as PageLayout, bv as PageLayoutSchema, bw as PageSchema, bx as PageService, by as PageType, bz as PublicPageComponent, bA as PublicPageResponse, bB as RelationAttributeMeta, bC as RelationAttributeMetaSchema, bD as RequestOptions, bE as ResolvedClientOptions, bF as ResponseMeta, bG as ResponseMetaSchema, bH as SortConfig, bI as SortConfigSchema, bJ as SortDirection, bK as Timestamps, bL as TokenProvider, bM as UpdateAppConfigurationRequest, bN as UpdateAppRequest, bO as UpdateComponentRequest, bP as UpdateDesignReferenceRequest, bQ as UpdateEntityExtensionRequest, bR as UpdateEntityRequest, bS as UpdateListExtensionRequest, bT as UpdateListRequest, bU as UpdateListViewRequest, bV as UpdateMenuConfigurationExtensionRequest, bW as UpdateMenuConfigurationRequest, bX as UpdatePageExtensionRequest, bY as UpdatePageRequest, bZ as UpdateVariableRequest, b_ as UserRefSchema, b$ as UserType, c0 as Variable, c1 as VariableSchema, c2 as VariableService, c3 as acceptsCurrentUserDefault, c4 as allCurrencyCodes, c5 as createIterator, c6 as createListResultSchema, c7 as currencyLabel, c8 as currencySymbol, c9 as currencySymbolSide, ca as formatAmount, cb as formatMoney, cc as isCurrentUserDefault, cd as isPlatformAttributeName, ce as localeNumberSeparators, cf as parseAmount, cg as parseContactAddressMeta, ch as parseCurrencyMeta, ci as parseFileMeta, cj as parseRelationMeta, ck as platformAttributes, cl as resolveOptions } from './types-D5P6yk1L.js';
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, R as ResponseMeta$1, e as PublicAccessOperation } from './types-amvSTwJy.js';
2
+ export { f as App, g as AppConfiguration, h as AppConfigurationSchema, i as AppConfigurationService, j as AppHome, k as AppHomeSchema, l as AppHomeType, m as AppSchema, n as AppService, o as ArrayAttributeMeta, p as AttributeAccessRule, q as AttributeRestrictions, r as AttributeSchema, s as AttributeType, t as AuditFieldsSchema, C as CURRENT_USER_DEFAULT, u as ClientOptions, v as Column, w as ColumnSchema, x as ComparisonOperator, y as Component, z as ComponentSchema, B as ComponentService, D as ContactAddressAttributeKind, E as ContactAddressAttributeMeta, G as ContactAddressAttributeMetaSchema, H as ContactBindingDuplicatePolicy, I as CreateAppConfigurationRequest, J as CreateAppRequest, K as CreateComponentRequest, M as CreateDesignReferenceRequest, N as CreateEntityExtensionRequest, O as CreateEntityRequest, Q as CreateListExtensionRequest, S as CreateListRequest, T as CreateListViewRequest, V as CreateMenuConfigurationExtensionRequest, W as CreateMenuConfigurationRequest, X as CreatePageExtensionRequest, Y as CreatePageRequest, Z as CreateVariableRequest, _ as CurrencyAttributeMeta, $ as CurrencyAttributeMetaSchema, a0 as CurrencySymbolSide, a1 as CurrencyValue, a2 as CurrentUserDefault, a3 as DEFAULT_OPTIONS, a4 as DEFAULT_PAGE_SIZE, a5 as DONE, a6 as DeployModuleRequest, a7 as DesignReference, a8 as DesignReferenceContent, a9 as DesignReferenceSchema, aa as DesignReferenceService, ab as Done, ac as Entity, ad as EntityContactBinding, ae as EntityContactBindingSchema, af as EntityExtension, ag as EntityExtensionSchema, ah as EntityExtensionService, ai as EntitySchema, aj as EntityService, ak as EntityWithSchema, al as EntityWithSchemaSchema, am as EnumAttributeMeta, an as EnumValue, ao as ExtensionPosition, ap as ExtensionPositionSchema, aq as FileAttributeMeta, ar as FileRefSchema, as as FilterElement, at as FilterElementSchema, au as FilterGroup, av as FilterGroupSchema, aw as List, ax as ListAppConfigurationsOptions, ay as ListAppsOptions, az as ListComponentsOptions, aA as ListDesignReferencesOptions, aB as ListEntitiesOptions, aC as ListEntityExtensionsOptions, aD as ListExtension, aE as ListExtensionColumnPlacement, aF as ListExtensionColumnPlacementSchema, aG as ListExtensionSchema, aH as ListExtensionService, aI as ListFn, aJ as ListListExtensionsOptions, aK as ListListViewsOptions, aL as ListListsOptions, aM as ListMenuConfigurationExtensionsOptions, aN as ListMenuConfigurationsOptions, aO as ListModulesOptions, aP as ListPageExtensionsOptions, aQ as ListPagesOptions, aR as ListSchema, aS as ListService, aT as ListVariablesOptions, aU as ListView, aV as ListViewSchema, aW as ListViewService, aX as LogicalOperator, aY as MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, aZ as MenuConfiguration, a_ as MenuConfigurationExtension, a$ as MenuConfigurationExtensionPlacement, b0 as MenuConfigurationExtensionPlacementSchema, b1 as MenuConfigurationExtensionPosition, b2 as MenuConfigurationExtensionPositionSchema, b3 as MenuConfigurationExtensionSchema, b4 as MenuConfigurationExtensionService, b5 as MenuConfigurationSchema, b6 as MenuConfigurationService, b7 as MenuItem, b8 as MenuItemSchema, b9 as MenuItemType, ba as MetaClient, bb as MetaListOptions, bc as Module, bd as ModuleSchema, be as ModuleService, bf as ModuleStatus, bg as OnDeleteAction, bh as OnDeleteActionSchema, bi as PAGE_EXTENSION_ANCHOR_MAIN, bj as PAGE_EXTENSION_ANCHOR_SIDE_PANEL, bk as PLATFORM_ATTRIBUTE_NAMES, bl as PLATFORM_USER_ID, bm as Page, bn as PageAction, bo as PageActionKind, bp as PageActionSchema, bq as PageExtension, br as PageExtensionPlacement, bs as PageExtensionPlacementSchema, bt as PageExtensionSchema, bu as PageExtensionService, bv as PageLayout, bw as PageLayoutSchema, bx as PageSchema, by as PageService, bz as PageType, bA as PublicPageComponent, bB as PublicPageResponse, bC as RelationAttributeMeta, bD as RelationAttributeMetaSchema, bE as RequestOptions, bF as ResolvedClientOptions, bG as ResponseMetaSchema, bH as SortConfig, bI as SortConfigSchema, bJ as SortDirection, bK as Timestamps, bL as TokenProvider, bM as UpdateAppConfigurationRequest, bN as UpdateAppRequest, bO as UpdateComponentRequest, bP as UpdateDesignReferenceRequest, bQ as UpdateEntityExtensionRequest, bR as UpdateEntityRequest, bS as UpdateListExtensionRequest, bT as UpdateListRequest, bU as UpdateListViewRequest, bV as UpdateMenuConfigurationExtensionRequest, bW as UpdateMenuConfigurationRequest, bX as UpdatePageExtensionRequest, bY as UpdatePageRequest, bZ as UpdateVariableRequest, b_ as UserRefSchema, b$ as UserType, c0 as Variable, c1 as VariableSchema, c2 as VariableService, c3 as acceptsCurrentUserDefault, c4 as allCurrencyCodes, c5 as createIterator, c6 as createListResultSchema, c7 as currencyLabel, c8 as currencySymbol, c9 as currencySymbolSide, ca as formatAmount, cb as formatMoney, cc as isCurrentUserDefault, cd as isPlatformAttributeName, ce as localeNumberSeparators, cf as parseAmount, cg as parseContactAddressMeta, ch as parseCurrencyMeta, ci as parseFileMeta, cj as parseRelationMeta, ck as platformAttributes, cl as resolveOptions } from './types-amvSTwJy.js';
3
3
  import { z } from 'zod';
4
4
 
5
5
  /**
@@ -2600,6 +2600,12 @@ interface Connector {
2600
2600
  has_default_app_credentials?: boolean;
2601
2601
  config_schema?: Attribute[];
2602
2602
  methods: ConnectorMethod[];
2603
+ /**
2604
+ * Coarse, provider-neutral tags a first-party service filters the catalog
2605
+ * by (`calendar`: the grant can drive the platform calendar mirror).
2606
+ * snake_case, declared by the manifest.
2607
+ */
2608
+ capabilities?: string[];
2603
2609
  origin: 'pre_built' | 'custom';
2604
2610
  module_slug?: string;
2605
2611
  status: 'active' | 'inactive';
@@ -2663,6 +2669,8 @@ interface ListConnectorsQuery {
2663
2669
  page?: number;
2664
2670
  page_size?: number;
2665
2671
  status?: string;
2672
+ /** Only connectors declaring this capability (e.g. `calendar`). */
2673
+ capability?: string;
2666
2674
  }
2667
2675
  interface ListConnectorConnectionsQuery {
2668
2676
  page?: number;
@@ -2671,7 +2679,7 @@ interface ListConnectorConnectionsQuery {
2671
2679
  scope?: ConnectionScope$1;
2672
2680
  status?: ConnectionStatus$1;
2673
2681
  }
2674
- interface ListResponse$1<T> {
2682
+ interface ListResponse$2<T> {
2675
2683
  data: T[];
2676
2684
  meta: {
2677
2685
  page: number;
@@ -2699,14 +2707,14 @@ declare class ConnectorClient {
2699
2707
  }
2700
2708
  /** The connector manifest catalog (pre-built + org-custom). */
2701
2709
  interface ConnectorCatalogService {
2702
- list(query?: ListConnectorsQuery): Promise<ListResponse$1<Connector>>;
2710
+ list(query?: ListConnectorsQuery): Promise<ListResponse$2<Connector>>;
2703
2711
  get(key: string): Promise<Connector>;
2704
2712
  /** A connector's callable methods (sugar over get().methods). */
2705
2713
  listMethods(key: string): Promise<ConnectorMethod[]>;
2706
2714
  }
2707
2715
  /** Configured integration instances + method invocation. */
2708
2716
  interface ConnectorConnectionService {
2709
- list(query?: ListConnectorConnectionsQuery): Promise<ListResponse$1<ConnectorConnection>>;
2717
+ list(query?: ListConnectorConnectionsQuery): Promise<ListResponse$2<ConnectorConnection>>;
2710
2718
  get(id: string): Promise<ConnectorConnection>;
2711
2719
  create(request: CreateConnectorConnectionRequest): Promise<ConnectorConnection>;
2712
2720
  update(id: string, request: UpdateConnectorConnectionRequest): Promise<ConnectorConnection>;
@@ -4103,7 +4111,7 @@ interface ResponseMeta {
4103
4111
  items_total: number;
4104
4112
  pages_total: number;
4105
4113
  }
4106
- interface ListResponse<T> {
4114
+ interface ListResponse$1<T> {
4107
4115
  meta: ResponseMeta;
4108
4116
  data: T[];
4109
4117
  }
@@ -4973,7 +4981,7 @@ interface MeetingService {
4973
4981
  }
4974
4982
  /** Configured integration instances (Slack workspace, Gmail grant, …). */
4975
4983
  interface ConnectionService {
4976
- list(query?: ListConnectionsQuery): Promise<ListResponse<Connection>>;
4984
+ list(query?: ListConnectionsQuery): Promise<ListResponse$1<Connection>>;
4977
4985
  get(id: string): Promise<Connection>;
4978
4986
  create(request: CreateConnectionRequest): Promise<Connection>;
4979
4987
  update(id: string, request: UpdateConnectionRequest): Promise<Connection>;
@@ -5002,9 +5010,9 @@ interface ConnectionService {
5002
5010
  */
5003
5011
  sync(id: string, request: SyncConnectionRequest): Promise<Connection>;
5004
5012
  /** Search the contact addresses this connection can reach (org-deduped) for the compose picker. */
5005
- listContactAddresses(connectionId: string, query?: ListContactAddressesQuery): Promise<ListResponse<ContactAddress>>;
5013
+ listContactAddresses(connectionId: string, query?: ListContactAddressesQuery): Promise<ListResponse$1<ContactAddress>>;
5006
5014
  /** Search a connection's addressable VENUES (Slack channels) for the compose picker. */
5007
- listRooms(connectionId: string, query?: ListRoomsQuery): Promise<ListResponse<Room>>;
5015
+ listRooms(connectionId: string, query?: ListRoomsQuery): Promise<ListResponse$1<Room>>;
5008
5016
  /**
5009
5017
  * Deliverability of a sending-platform connection (SendGrid): rates from
5010
5018
  * the channel_event ledger + the provider's snapshot (engagement quality,
@@ -5035,7 +5043,7 @@ interface ConnectionService {
5035
5043
  }
5036
5044
  /** The person-level identity layer: contacts, addresses, merges, permissions, erasure. */
5037
5045
  interface ContactService {
5038
- list(query?: ListContactsQuery): Promise<ListResponse<Contact>>;
5046
+ list(query?: ListContactsQuery): Promise<ListResponse$1<Contact>>;
5039
5047
  get(id: string): Promise<Contact>;
5040
5048
  /**
5041
5049
  * Manually mint a contact (sync dedup — 409 contact_address_taken on any
@@ -5049,7 +5057,7 @@ interface ContactService {
5049
5057
  /** Link the contact to a business record (bare edge; 409 contact_record_link_exists on duplicates). */
5050
5058
  linkRecord(request: CreateContactRecordLinkRequest): Promise<ContactRecordLink>;
5051
5059
  /** Page contact→record edges by contact_id, or by entity_slug + record_id. */
5052
- listRecordLinks(query?: ListContactRecordLinksQuery): Promise<ListResponse<ContactRecordLink>>;
5060
+ listRecordLinks(query?: ListContactRecordLinksQuery): Promise<ListResponse$1<ContactRecordLink>>;
5053
5061
  getRecordLink(linkId: string): Promise<ContactRecordLink>;
5054
5062
  unlinkRecord(linkId: string): Promise<void>;
5055
5063
  /** Fold source_contact_id into contactId (contactId wins). */
@@ -5059,13 +5067,13 @@ interface ContactService {
5059
5067
  unblock(contactId: string, request?: BlockContactRequest): Promise<Contact>;
5060
5068
  requestErasure(contactId: string): Promise<ContactErasureRequest>;
5061
5069
  listErasureRequests(contactId: string): Promise<ContactErasureRequest[]>;
5062
- listMergeProposals(query?: ListContactMergeProposalsQuery): Promise<ListResponse<ContactMergeProposal>>;
5070
+ listMergeProposals(query?: ListContactMergeProposalsQuery): Promise<ListResponse$1<ContactMergeProposal>>;
5063
5071
  approveMergeProposal(proposalId: string): Promise<ContactMergeProposal>;
5064
5072
  rejectMergeProposal(proposalId: string): Promise<ContactMergeProposal>;
5065
5073
  }
5066
5074
  /** Conversation threads across every channel (inbox order: last_message_at). */
5067
5075
  interface ConversationService {
5068
- list(query?: ListConversationsQuery): Promise<ListResponse<Conversation>>;
5076
+ list(query?: ListConversationsQuery): Promise<ListResponse$1<Conversation>>;
5069
5077
  get(id: string): Promise<Conversation>;
5070
5078
  /** Patch the user-editable surface (subject, summary, status, metadata). */
5071
5079
  update(id: string, request: UpdateConversationRequest): Promise<Conversation>;
@@ -5084,7 +5092,7 @@ interface ConversationService {
5084
5092
  }
5085
5093
  /** Messages within a conversation (ordered by occurred_at) + outbound send + drafts + reactions. */
5086
5094
  interface MessageService {
5087
- listByConversation(conversationId: string, query?: ListMessagesQuery): Promise<ListResponse<Message>>;
5095
+ listByConversation(conversationId: string, query?: ListMessagesQuery): Promise<ListResponse$1<Message>>;
5088
5096
  /** One message with its read-time projections (reactions, attachments). */
5089
5097
  get(messageId: string): Promise<Message>;
5090
5098
  send(request: SendMessageRequest): Promise<Message>;
@@ -5121,7 +5129,7 @@ interface MessageService {
5121
5129
  }
5122
5130
  /** Rules binding inbound messages to agents. */
5123
5131
  interface AgentListenerService {
5124
- list(query?: ListAgentListenersQuery): Promise<ListResponse<AgentListener>>;
5132
+ list(query?: ListAgentListenersQuery): Promise<ListResponse$1<AgentListener>>;
5125
5133
  get(id: string): Promise<AgentListener>;
5126
5134
  create(request: CreateAgentListenerRequest): Promise<AgentListener>;
5127
5135
  update(id: string, request: UpdateAgentListenerRequest): Promise<AgentListener>;
@@ -5133,12 +5141,12 @@ interface AgentListenerService {
5133
5141
  * listEvents pages a rule's drop-audit trail (who got dropped, when, why).
5134
5142
  */
5135
5143
  interface ConversationFilterService {
5136
- list(query?: ListConversationFiltersQuery): Promise<ListResponse<ConversationFilter>>;
5144
+ list(query?: ListConversationFiltersQuery): Promise<ListResponse$1<ConversationFilter>>;
5137
5145
  get(id: string): Promise<ConversationFilter>;
5138
5146
  create(request: CreateConversationFilterRequest): Promise<ConversationFilter>;
5139
5147
  update(id: string, request: UpdateConversationFilterRequest): Promise<ConversationFilter>;
5140
5148
  delete(id: string): Promise<void>;
5141
- listEvents(id: string, query?: ListConversationFilterEventsQuery): Promise<ListResponse<ConversationFilterEvent>>;
5149
+ listEvents(id: string, query?: ListConversationFilterEventsQuery): Promise<ListResponse$1<ConversationFilterEvent>>;
5142
5150
  }
5143
5151
  /**
5144
5152
  * Per-org glossary: custom-vocabulary terms that boost transcription accuracy.
@@ -5147,7 +5155,7 @@ interface ConversationFilterService {
5147
5155
  * decides the top 100 sent when an org stores more than the provider's cap.
5148
5156
  */
5149
5157
  interface GlossaryTermService {
5150
- list(query?: ListGlossaryTermsQuery): Promise<ListResponse<GlossaryTerm>>;
5158
+ list(query?: ListGlossaryTermsQuery): Promise<ListResponse$1<GlossaryTerm>>;
5151
5159
  get(id: string): Promise<GlossaryTerm>;
5152
5160
  create(request: CreateGlossaryTermRequest): Promise<GlossaryTerm>;
5153
5161
  update(id: string, request: UpdateGlossaryTermRequest): Promise<GlossaryTerm>;
@@ -5162,7 +5170,7 @@ interface GlossaryTermService {
5162
5170
  * `key` (not id); `upsert` is the idempotent module-deploy door.
5163
5171
  */
5164
5172
  interface ConversationTypeService {
5165
- list(query?: ListConversationTypesQuery): Promise<ListResponse<ConversationType>>;
5173
+ list(query?: ListConversationTypesQuery): Promise<ListResponse$1<ConversationType>>;
5166
5174
  get(key: string): Promise<ConversationType>;
5167
5175
  create(request: CreateConversationTypeRequest): Promise<ConversationType>;
5168
5176
  update(key: string, request: UpdateConversationTypeRequest): Promise<ConversationType>;
@@ -5179,7 +5187,7 @@ interface ConversationTypeService {
5179
5187
  * membership and purges its tone profile rows.
5180
5188
  */
5181
5189
  interface ContactGroupService {
5182
- list(query?: ListContactGroupsQuery): Promise<ListResponse<ContactGroup>>;
5190
+ list(query?: ListContactGroupsQuery): Promise<ListResponse$1<ContactGroup>>;
5183
5191
  get(key: string): Promise<ContactGroup>;
5184
5192
  create(request: CreateContactGroupRequest): Promise<ContactGroup>;
5185
5193
  update(key: string, request: UpdateContactGroupRequest): Promise<ContactGroup>;
@@ -5196,13 +5204,13 @@ interface ContactGroupService {
5196
5204
  * `resolve` (each row is self-contained; never concatenate tiers).
5197
5205
  */
5198
5206
  interface ToneProfileService {
5199
- listSetups(query?: ListToneProfileSetupsQuery): Promise<ListResponse<ToneProfileSetup>>;
5207
+ listSetups(query?: ListToneProfileSetupsQuery): Promise<ListResponse$1<ToneProfileSetup>>;
5200
5208
  createSetup(request: CreateToneProfileSetupRequest): Promise<ToneProfileSetup>;
5201
5209
  /** Removes the setup AND the user's generated profiles. */
5202
5210
  deleteSetup(id: string): Promise<void>;
5203
5211
  /** Kicks a whole-user synthesis run off-request (bypasses cadence checks). */
5204
5212
  synthesize(setupId: string): Promise<void>;
5205
- listProfiles(query?: ListToneProfilesQuery): Promise<ListResponse<ToneProfile>>;
5213
+ listProfiles(query?: ListToneProfilesQuery): Promise<ListResponse$1<ToneProfile>>;
5206
5214
  getProfile(id: string): Promise<ToneProfile>;
5207
5215
  /** The single most-specific profile for a drafting context; 404 when none. */
5208
5216
  resolve(query: ResolveToneProfileQuery): Promise<ToneProfile>;
@@ -5237,7 +5245,7 @@ interface TranscriptionService {
5237
5245
  * chooses the mode, and exactly one of the two is allowed.
5238
5246
  */
5239
5247
  createFromText(request: CreateTranscriptionFromTextRequest): Promise<Transcription>;
5240
- list(query?: ListTranscriptionsQuery): Promise<ListResponse<Transcription>>;
5248
+ list(query?: ListTranscriptionsQuery): Promise<ListResponse$1<Transcription>>;
5241
5249
  get(id: string): Promise<Transcription>;
5242
5250
  /**
5243
5251
  * Edits a completed transcription (turn text, speaker labels, language).
@@ -5261,7 +5269,7 @@ interface TranscriptionService {
5261
5269
  * review_status to completed.
5262
5270
  */
5263
5271
  interface MistranscribedTermService {
5264
- list(query?: ListMistranscribedTermsQuery): Promise<ListResponse<MistranscribedTerm>>;
5272
+ list(query?: ListMistranscribedTermsQuery): Promise<ListResponse$1<MistranscribedTerm>>;
5265
5273
  get(id: string): Promise<MistranscribedTerm>;
5266
5274
  accept(id: string, request?: AcceptMistranscribedTermRequest): Promise<MistranscribedTerm>;
5267
5275
  reject(id: string): Promise<MistranscribedTerm>;
@@ -5301,7 +5309,7 @@ interface CallService {
5301
5309
  * refuses another (409 `conversation_brief_already_attached`).
5302
5310
  */
5303
5311
  interface ConversationBriefService {
5304
- list(query?: ListConversationBriefsQuery): Promise<ListResponse<ConversationBrief>>;
5312
+ list(query?: ListConversationBriefsQuery): Promise<ListResponse$1<ConversationBrief>>;
5305
5313
  get(id: string): Promise<ConversationBrief>;
5306
5314
  create(request: CreateConversationBriefRequest): Promise<ConversationBrief>;
5307
5315
  update(id: string, request: UpdateConversationBriefRequest): Promise<ConversationBrief>;
@@ -5318,7 +5326,7 @@ interface ConversationBriefService {
5318
5326
  * carry `earliest_allowed_at` (429) or the blocked contact (403).
5319
5327
  */
5320
5328
  interface SendingRuleService {
5321
- list(query?: ListSendingRulesQuery): Promise<ListResponse<SendingRule>>;
5329
+ list(query?: ListSendingRulesQuery): Promise<ListResponse$1<SendingRule>>;
5322
5330
  get(id: string): Promise<SendingRule>;
5323
5331
  create(request: CreateSendingRuleRequest): Promise<SendingRule>;
5324
5332
  update(id: string, request: UpdateSendingRuleRequest): Promise<SendingRule>;
@@ -5347,7 +5355,7 @@ interface SendingRuleService {
5347
5355
  * phantom act.
5348
5356
  */
5349
5357
  interface ChannelActionService {
5350
- list(query?: ListChannelActionsQuery): Promise<ListResponse<ChannelAction>>;
5358
+ list(query?: ListChannelActionsQuery): Promise<ListResponse$1<ChannelAction>>;
5351
5359
  get(id: string): Promise<ChannelAction>;
5352
5360
  /** Performs one act; resolves to the row in its post-perform status. */
5353
5361
  perform(request: PerformChannelActionRequest): Promise<ChannelAction>;
@@ -5363,9 +5371,9 @@ interface ChannelActionService {
5363
5371
  * ingest. `listByMessage` is the per-message history, oldest first.
5364
5372
  */
5365
5373
  interface ChannelEventService {
5366
- list(query?: ListChannelEventsQuery): Promise<ListResponse<ChannelEvent>>;
5374
+ list(query?: ListChannelEventsQuery): Promise<ListResponse$1<ChannelEvent>>;
5367
5375
  get(id: string): Promise<ChannelEvent>;
5368
- listByMessage(messageId: string): Promise<ListResponse<ChannelEvent>>;
5376
+ listByMessage(messageId: string): Promise<ListResponse$1<ChannelEvent>>;
5369
5377
  }
5370
5378
 
5371
5379
  /**
@@ -7610,6 +7618,827 @@ declare class KnowledgeClient {
7610
7618
  constructor(client: ProteosClient);
7611
7619
  }
7612
7620
 
7621
+ /** The calendar backend behind a connection. */
7622
+ type CalendarProvider = 'google' | 'microsoft';
7623
+ /** The health of our binding to a connector-service grant. */
7624
+ type CalendarConnectionStatus = 'active' | 'error' | 'revoked';
7625
+ /** What COLLEAGUES see of a calendar's events: nothing, busy blocks, everything. */
7626
+ type CalendarVisibility = 'private' | 'busy_only' | 'full';
7627
+ /** The mirror state of one calendar. */
7628
+ type CalendarSyncStatus = 'idle' | 'syncing' | 'error';
7629
+ /** An attendee's RSVP. */
7630
+ type ParticipationStatus = 'needs_action' | 'accepted' | 'declined' | 'tentative';
7631
+ /** Whether an event blocks its owner's time. */
7632
+ type EventTransparency = 'busy' | 'free';
7633
+ /** The provider lifecycle state of an event. */
7634
+ type EventStatus = 'confirmed' | 'tentative' | 'cancelled';
7635
+ /** Provider-side visibility of one event (distinct from CalendarVisibility). */
7636
+ type EventVisibility = 'default' | 'private' | 'public';
7637
+ /** Who created the row first: the provider (mirrored) or the platform. */
7638
+ type EventSource = 'provider' | 'platform';
7639
+ /**
7640
+ * Delivery state of a platform write to the provider. `pending_mirror` marks a
7641
+ * host's copy of a meeting written to the ORGANIZER's calendar, merged onto by
7642
+ * that host's own sync (by ical_uid).
7643
+ */
7644
+ type EventWriteStatus = 'synced' | 'pending' | 'pending_mirror' | 'failed';
7645
+ /** Integrated conferencing minted by the provider. */
7646
+ type ConferencingProvider = 'google_meet' | 'teams';
7647
+ /** How many of a link's hosts end up in the meeting. */
7648
+ type Assignment = 'single' | 'round_robin' | 'collective';
7649
+ /** Whom the provider emails about a platform write. */
7650
+ type NotifyMode = 'all' | 'external_only' | 'none';
7651
+ /** What an edit of a recurring instance targets. */
7652
+ type RecurrenceScope = 'instance' | 'series';
7653
+ /** How a calendar event type meets. */
7654
+ type LocationKind = 'video' | 'phone' | 'in_person' | 'custom';
7655
+ /** What an availability constraint does to the window it covers. */
7656
+ type AvailabilityKind = 'available' | 'unavailable';
7657
+ /** Why a host is not offered at a time (verbose slot reads). */
7658
+ type SlotUnavailabilityReason = 'no_calendar' | 'outside_hours' | 'blocked' | 'other_event_type' | 'calendar_busy' | 'exclusive_event' | 'minimum_notice' | 'scheduling_window' | 'daily_limit';
7659
+ /**
7660
+ * Our binding to one connector-service grant (a `google-calendar` /
7661
+ * `microsoft-calendar` connection of scope user). A user may hold several;
7662
+ * the same provider account cannot be bound twice. Calendars hang off it.
7663
+ */
7664
+ interface CalendarConnection {
7665
+ id: string;
7666
+ org_id: string;
7667
+ /** The platform user who owns the grant. */
7668
+ owner: UserRef$2;
7669
+ connection_id: string;
7670
+ provider: CalendarProvider;
7671
+ /** The provider account (e-mail address / UPN), copied from the grant. */
7672
+ external_account_id: string;
7673
+ status: CalendarConnectionStatus;
7674
+ status_detail?: string;
7675
+ last_synced_at?: string;
7676
+ created_at: string;
7677
+ created_by: UserRef$2;
7678
+ updated_at: string;
7679
+ updated_by: UserRef$2;
7680
+ }
7681
+ /** The mirror state of one calendar: change cursor, backfilled window, last outcome. */
7682
+ interface CalendarSync {
7683
+ cursor?: string;
7684
+ backfill_from?: string;
7685
+ backfill_to?: string;
7686
+ last_synced_at?: string;
7687
+ status: CalendarSyncStatus;
7688
+ error?: string;
7689
+ }
7690
+ /**
7691
+ * The open push subscription for one calendar. Google fills channel_id +
7692
+ * resource_id, Microsoft fills subscription_id. Only the HASH of the secret
7693
+ * the provider echoes is stored.
7694
+ */
7695
+ interface CalendarWatch {
7696
+ channel_id?: string;
7697
+ resource_id?: string;
7698
+ subscription_id?: string;
7699
+ client_state_hash?: string;
7700
+ expires_at?: string;
7701
+ }
7702
+ /**
7703
+ * One provider calendar under a connection, plus the platform's roles for it:
7704
+ * is_synced (mirrored + watched), is_availability_source (its busy time counts
7705
+ * against the owner's slots), is_target (the ONE calendar per user the
7706
+ * platform writes exclusive events to), visibility (what colleagues see).
7707
+ */
7708
+ interface Calendar {
7709
+ id: string;
7710
+ org_id: string;
7711
+ calendar_connection_id: string;
7712
+ /** The calendar's owner (the connection's owner, denormalized). */
7713
+ owner: UserRef$2;
7714
+ provider_calendar_id: string;
7715
+ name: string;
7716
+ color?: string;
7717
+ timezone?: string;
7718
+ is_primary: boolean;
7719
+ is_readonly: boolean;
7720
+ has_integrated_conferencing: boolean;
7721
+ is_synced: boolean;
7722
+ is_availability_source: boolean;
7723
+ is_target: boolean;
7724
+ visibility: CalendarVisibility;
7725
+ sync: CalendarSync;
7726
+ watch: CalendarWatch;
7727
+ created_at: string;
7728
+ created_by: UserRef$2;
7729
+ updated_at: string;
7730
+ updated_by: UserRef$2;
7731
+ }
7732
+ /**
7733
+ * A user's scheduling settings: the zone their hours are expressed in, the
7734
+ * weekly hours themselves ({day, from, until} windows, the sending-rule
7735
+ * shape; empty = bookable any time), what a scheduling page shows about
7736
+ * them, and whether they can be booked at all. One per (org, user).
7737
+ */
7738
+ interface SchedulingProfile {
7739
+ id: string;
7740
+ org_id: string;
7741
+ user_id: string;
7742
+ timezone: string;
7743
+ weekly_hours: WindowDay[];
7744
+ display_name?: string;
7745
+ headline?: string;
7746
+ is_bookable: boolean;
7747
+ created_at: string;
7748
+ created_by: UserRef$2;
7749
+ updated_at: string;
7750
+ updated_by: UserRef$2;
7751
+ }
7752
+ /**
7753
+ * One person or resource on an event: the platform's person snapshot
7754
+ * (ContactRef — the same shape a conversation participant carries) plus the
7755
+ * calendar facts. Hosts of a platform-scheduled event are attendees too
7756
+ * (is_host); the calendar owner's own row is is_self.
7757
+ */
7758
+ interface CalendarAttendee extends ContactRef {
7759
+ response_status: ParticipationStatus;
7760
+ is_optional: boolean;
7761
+ is_organizer: boolean;
7762
+ is_self: boolean;
7763
+ /** A platform user whose time this event claims; always false on mirrored events. */
7764
+ is_host: boolean;
7765
+ /** Rooms and equipment — never resolved to a contact. */
7766
+ is_resource: boolean;
7767
+ }
7768
+ /**
7769
+ * The one seam between the platform's calendar and a module's business
7770
+ * object: the record this event belongs to (an appointment, an interview…).
7771
+ */
7772
+ interface RecordRef {
7773
+ entity_slug: string;
7774
+ record_id: string;
7775
+ }
7776
+ /**
7777
+ * ONE entry in ONE provider calendar, mirrored two-way. A platform-created row
7778
+ * with is_exclusive claims its owner's time (DB exclusion constraint);
7779
+ * mirrored provider rows never do. All copies of one meeting share ical_uid.
7780
+ */
7781
+ interface CalendarEvent {
7782
+ id: string;
7783
+ org_id: string;
7784
+ calendar_id: string;
7785
+ /** The calendar's owner (denormalized for per-user window reads). */
7786
+ owner: UserRef$2;
7787
+ /** The id in THIS calendar; absent while a platform write is pending. */
7788
+ provider_event_id?: string;
7789
+ /** RFC 5545 UID shared by every copy of the meeting. */
7790
+ ical_uid?: string;
7791
+ /** The recurring master's id on expanded instances. */
7792
+ series_id?: string;
7793
+ is_recurring_instance: boolean;
7794
+ /** RRULE / EXDATE lines — series master only. */
7795
+ recurrence?: string[];
7796
+ title: string;
7797
+ description?: string;
7798
+ start_at: string;
7799
+ end_at: string;
7800
+ is_all_day: boolean;
7801
+ /** The provider's zone for the event — display and all-day boundaries only. */
7802
+ timezone?: string;
7803
+ location?: string;
7804
+ join_url?: string;
7805
+ conferencing_provider?: ConferencingProvider;
7806
+ organizer: ContactRef;
7807
+ attendees: CalendarAttendee[];
7808
+ owner_response_status: ParticipationStatus;
7809
+ transparency: EventTransparency;
7810
+ status: EventStatus;
7811
+ visibility: EventVisibility;
7812
+ etag?: string;
7813
+ provider_updated_at?: string;
7814
+ source: EventSource;
7815
+ is_exclusive: boolean;
7816
+ /** Set when the platform scheduled the event through a calendar_event_type / scheduling_link. */
7817
+ type_key?: string;
7818
+ link_key?: string;
7819
+ record?: RecordRef;
7820
+ /** A read where the viewer only sees busy blocks of a colleague's calendar. */
7821
+ is_projected?: boolean;
7822
+ write_status: EventWriteStatus;
7823
+ write_error?: string;
7824
+ /** The tombstone: the provider (or a platform delete) removed the event. */
7825
+ deleted_at?: string;
7826
+ created_at: string;
7827
+ created_by: UserRef$2;
7828
+ updated_at: string;
7829
+ updated_by: UserRef$2;
7830
+ }
7831
+ /** Where events of a type meet; is_integrated_conferencing asks the provider for a Meet / Teams link. */
7832
+ interface EventLocation {
7833
+ kind: LocationKind;
7834
+ is_integrated_conferencing: boolean;
7835
+ join_url?: string;
7836
+ phone?: string;
7837
+ address?: string;
7838
+ instructions?: string;
7839
+ }
7840
+ /**
7841
+ * The *what* of a scheduled event — the reusable preset of slot rules a link,
7842
+ * an internal booking or a module books against. Config, keyed by (org, key).
7843
+ */
7844
+ interface CalendarEventType {
7845
+ org_id: string;
7846
+ key: string;
7847
+ name: string;
7848
+ description?: string;
7849
+ color?: string;
7850
+ duration_minutes: number;
7851
+ /** The candidate grid: 5 | 10 | 15 | 20 | 30 | 60. */
7852
+ slot_interval_minutes: number;
7853
+ buffer_before_minutes: number;
7854
+ buffer_after_minutes: number;
7855
+ minimum_notice_minutes: number;
7856
+ /** How far ahead a slot may be taken; 0 = no cap. */
7857
+ scheduling_window_days: number;
7858
+ /** Exclusive events of this type per host per day; 0 = no cap. */
7859
+ max_per_day: number;
7860
+ location: EventLocation;
7861
+ /** Soft reference to conversation-service's conversation_type. */
7862
+ conversation_type_key?: string;
7863
+ is_cancel_allowed: boolean;
7864
+ is_reschedule_allowed: boolean;
7865
+ cancel_notice_minutes: number;
7866
+ is_enabled: boolean;
7867
+ created_at: string;
7868
+ created_by: UserRef$2;
7869
+ updated_at: string;
7870
+ updated_by: UserRef$2;
7871
+ }
7872
+ /**
7873
+ * One rule about a user's time on top of their weekly hours: a recurring
7874
+ * window (recurrence_rule = "DTSTART;TZID=…\nRRULE:…", duration_minutes
7875
+ * long, or is_all_day) that opens time (available, also outside the weekly
7876
+ * hours) or blocks it (unavailable). calendar_event_type_keys scopes the rule
7877
+ * to some types: an available window "for intro calls" opens it for them and
7878
+ * keeps every other type out; an unavailable window "for demos" blocks demos
7879
+ * only. Empty = every type.
7880
+ */
7881
+ interface AvailabilityConstraint {
7882
+ id: string;
7883
+ org_id: string;
7884
+ user_id: string;
7885
+ kind: AvailabilityKind;
7886
+ recurrence_rule: string;
7887
+ duration_minutes: number;
7888
+ is_all_day: boolean;
7889
+ calendar_event_type_keys: string[];
7890
+ label?: string;
7891
+ created_at: string;
7892
+ created_by: UserRef$2;
7893
+ updated_at: string;
7894
+ updated_by: UserRef$2;
7895
+ }
7896
+ /** One bookable start; host_user_ids = the hosts free for it. */
7897
+ interface Slot {
7898
+ start_at: string;
7899
+ end_at: string;
7900
+ host_user_ids: string[];
7901
+ }
7902
+ /** Why a host is not offered at a time; calendar_event_id when a mirrored event is the cause. */
7903
+ interface SlotUnavailability {
7904
+ start_at: string;
7905
+ end_at: string;
7906
+ host_user_id: string;
7907
+ reason: SlotUnavailabilityReason;
7908
+ calendar_event_id?: string;
7909
+ }
7910
+ /** Creates or replaces a calendar event type (PUT /calendar-event-types/:key). */
7911
+ interface PutCalendarEventTypeRequest {
7912
+ name: string;
7913
+ description?: string;
7914
+ color?: string;
7915
+ duration_minutes: number;
7916
+ slot_interval_minutes?: number;
7917
+ buffer_before_minutes?: number;
7918
+ buffer_after_minutes?: number;
7919
+ minimum_notice_minutes?: number;
7920
+ scheduling_window_days?: number;
7921
+ max_per_day?: number;
7922
+ location?: EventLocation;
7923
+ conversation_type_key?: string;
7924
+ /** Policy flags default to TRUE when absent; send false to switch one off. */
7925
+ is_cancel_allowed?: boolean;
7926
+ is_reschedule_allowed?: boolean;
7927
+ cancel_notice_minutes?: number;
7928
+ is_enabled?: boolean;
7929
+ }
7930
+ /** Partial update of a calendar event type; location replaces wholesale. */
7931
+ interface UpdateCalendarEventTypeRequest {
7932
+ name?: string;
7933
+ description?: string;
7934
+ color?: string;
7935
+ duration_minutes?: number;
7936
+ slot_interval_minutes?: number;
7937
+ buffer_before_minutes?: number;
7938
+ buffer_after_minutes?: number;
7939
+ minimum_notice_minutes?: number;
7940
+ scheduling_window_days?: number;
7941
+ max_per_day?: number;
7942
+ location?: EventLocation;
7943
+ conversation_type_key?: string;
7944
+ /** Policy flags default to TRUE when absent; send false to switch one off. */
7945
+ is_cancel_allowed?: boolean;
7946
+ is_reschedule_allowed?: boolean;
7947
+ cancel_notice_minutes?: number;
7948
+ is_enabled?: boolean;
7949
+ }
7950
+ interface ListCalendarEventTypesQuery {
7951
+ is_enabled?: boolean;
7952
+ search?: string;
7953
+ page?: number;
7954
+ page_size?: number;
7955
+ sort_by?: string;
7956
+ sort_direction?: 'asc' | 'desc';
7957
+ }
7958
+ /**
7959
+ * Adds one rule about a user's time. recurrence_rule is
7960
+ * "DTSTART;TZID=<zone>:<local time>\nRRULE:<rule>" with a quarter-hour DTSTART.
7961
+ */
7962
+ interface CreateAvailabilityConstraintRequest {
7963
+ kind: AvailabilityKind;
7964
+ recurrence_rule: string;
7965
+ duration_minutes?: number;
7966
+ is_all_day?: boolean;
7967
+ calendar_event_type_keys?: string[];
7968
+ label?: string;
7969
+ }
7970
+ /** Partial update; calendar_event_type_keys present replaces the list. */
7971
+ interface UpdateAvailabilityConstraintRequest {
7972
+ kind?: AvailabilityKind;
7973
+ recurrence_rule?: string;
7974
+ duration_minutes?: number;
7975
+ is_all_day?: boolean;
7976
+ calendar_event_type_keys?: string[];
7977
+ label?: string;
7978
+ }
7979
+ interface ListAvailabilityConstraintsQuery {
7980
+ kind?: AvailabilityKind;
7981
+ page?: number;
7982
+ page_size?: number;
7983
+ sort_by?: string;
7984
+ sort_direction?: 'asc' | 'desc';
7985
+ }
7986
+ /** Explicit slot rules when no calendar_event_type governs the request. */
7987
+ interface SlotParameters {
7988
+ duration_minutes: number;
7989
+ slot_interval_minutes?: number;
7990
+ buffer_before_minutes?: number;
7991
+ buffer_after_minutes?: number;
7992
+ minimum_notice_minutes?: number;
7993
+ scheduling_window_days?: number;
7994
+ max_per_day?: number;
7995
+ }
7996
+ /**
7997
+ * Asks for the bookable starts of some hosts in [from, to) (≤ 31 days).
7998
+ * Exactly one of type_key | link_key | parameters governs the rules;
7999
+ * assignment picks union (single / round_robin) or intersection (collective).
8000
+ * timezone is the requester's zone: slots are grouped by its local day.
8001
+ */
8002
+ interface GetSlotsRequest {
8003
+ type_key?: string;
8004
+ link_key?: string;
8005
+ parameters?: SlotParameters;
8006
+ host_user_ids?: string[];
8007
+ assignment?: Assignment;
8008
+ from: string;
8009
+ to: string;
8010
+ timezone: string;
8011
+ is_verbose?: boolean;
8012
+ }
8013
+ /** Slots grouped by the requester's local day ("YYYY-MM-DD"); unavailability only when verbose. */
8014
+ interface GetSlotsResponse {
8015
+ slots: Record<string, Slot[]>;
8016
+ unavailability?: SlotUnavailability[];
8017
+ }
8018
+ /**
8019
+ * Binds a connector-service grant (a `google-calendar` / `microsoft-calendar`
8020
+ * connection of scope user owned by the caller) to the calendar mirror.
8021
+ */
8022
+ interface CreateCalendarConnectionRequest {
8023
+ connection_id: string;
8024
+ }
8025
+ /** Re-activates a repaired connection. Only `active` can be requested. */
8026
+ interface UpdateCalendarConnectionRequest {
8027
+ status?: 'active';
8028
+ }
8029
+ interface ListCalendarConnectionsQuery {
8030
+ provider?: CalendarProvider;
8031
+ status?: CalendarConnectionStatus;
8032
+ page?: number;
8033
+ page_size?: number;
8034
+ sort_by?: string;
8035
+ sort_direction?: 'asc' | 'desc';
8036
+ }
8037
+ /**
8038
+ * Changes the platform roles of a calendar. Every field is tri-state;
8039
+ * is_synced flips the mirror on/off, is_target=true demotes the user's
8040
+ * current target calendar in the same transaction.
8041
+ */
8042
+ interface UpdateCalendarRequest {
8043
+ is_synced?: boolean;
8044
+ is_availability_source?: boolean;
8045
+ is_target?: boolean;
8046
+ visibility?: CalendarVisibility;
8047
+ color?: string;
8048
+ }
8049
+ interface ListCalendarsQuery {
8050
+ calendar_connection_id?: string;
8051
+ is_synced?: boolean;
8052
+ is_availability_source?: boolean;
8053
+ is_target?: boolean;
8054
+ page?: number;
8055
+ page_size?: number;
8056
+ sort_by?: string;
8057
+ sort_direction?: 'asc' | 'desc';
8058
+ }
8059
+ /** Replaces a user's scheduling profile (PUT semantics: every field is the new value). */
8060
+ interface PutSchedulingProfileRequest {
8061
+ timezone: string;
8062
+ weekly_hours: WindowDay[];
8063
+ display_name?: string;
8064
+ headline?: string;
8065
+ is_bookable: boolean;
8066
+ }
8067
+ /**
8068
+ * Reads a window of events. user_ids / calendar_ids pick whose calendars
8069
+ * (default: the caller's); colleagues' events come back projected by their
8070
+ * calendar's visibility. from/to are required (≤ 93 days).
8071
+ */
8072
+ interface ListCalendarEventsQuery {
8073
+ user_ids?: string[];
8074
+ calendar_ids?: string[];
8075
+ from: string;
8076
+ to: string;
8077
+ timezone?: string;
8078
+ type_key?: string;
8079
+ record_entity_slug?: string;
8080
+ record_id?: string;
8081
+ contact_id?: string;
8082
+ is_deleted_included?: boolean;
8083
+ }
8084
+ /** One person to invite on a platform write. */
8085
+ interface CalendarAttendeeRequest {
8086
+ email: string;
8087
+ name?: string;
8088
+ is_optional?: boolean;
8089
+ }
8090
+ /**
8091
+ * Schedules the event for platform users instead of one explicit calendar:
8092
+ * the service resolves each host's target calendar and writes one provider
8093
+ * event owned by the organizer.
8094
+ */
8095
+ interface HostsRequest {
8096
+ user_ids: string[];
8097
+ assignment: Assignment;
8098
+ organizer_user_id?: string;
8099
+ }
8100
+ /**
8101
+ * Writes an event through to the provider. Exactly one of calendar_id (the
8102
+ * caller's own calendar) or hosts is given. is_exclusive makes the row claim
8103
+ * the owner's time (409 slot_unavailable on overlap).
8104
+ */
8105
+ interface CreateCalendarEventRequest {
8106
+ calendar_id?: string;
8107
+ hosts?: HostsRequest;
8108
+ title: string;
8109
+ description?: string;
8110
+ location?: string;
8111
+ start_at: string;
8112
+ end_at: string;
8113
+ is_all_day?: boolean;
8114
+ timezone?: string;
8115
+ attendees?: CalendarAttendeeRequest[];
8116
+ is_conferencing_requested?: boolean;
8117
+ transparency?: EventTransparency;
8118
+ visibility?: EventVisibility;
8119
+ notify?: NotifyMode;
8120
+ is_exclusive?: boolean;
8121
+ type_key?: string;
8122
+ link_key?: string;
8123
+ record?: RecordRef;
8124
+ }
8125
+ /**
8126
+ * Partial update; an absent field is left as is. attendees present replaces
8127
+ * the whole list (an empty list clears it).
8128
+ */
8129
+ interface UpdateCalendarEventRequest {
8130
+ title?: string;
8131
+ description?: string;
8132
+ location?: string;
8133
+ start_at?: string;
8134
+ end_at?: string;
8135
+ is_all_day?: boolean;
8136
+ timezone?: string;
8137
+ attendees?: CalendarAttendeeRequest[];
8138
+ is_conferencing_requested?: boolean;
8139
+ transparency?: EventTransparency;
8140
+ visibility?: EventVisibility;
8141
+ notify?: NotifyMode;
8142
+ type_key?: string;
8143
+ record?: RecordRef;
8144
+ /** Removes the record back-link (an absent record cannot say so). */
8145
+ is_record_cleared?: boolean;
8146
+ }
8147
+ /** Records the caller's RSVP on an event they were invited to. */
8148
+ interface RespondCalendarEventRequest {
8149
+ status: Exclude<ParticipationStatus, 'needs_action'>;
8150
+ comment?: string;
8151
+ }
8152
+ /** Body of POST /me/calendar-connections/:id/sync. */
8153
+ /** Which host a rescheduled link booking lands on. */
8154
+ type RescheduleHost = 'same' | 'any';
8155
+ /** The entry point for taking a slot: hosts, assignment, governing type. Keyed by (org, key). */
8156
+ interface SchedulingLink {
8157
+ org_id: string;
8158
+ key: string;
8159
+ name: string;
8160
+ /** Types offered: one = pre-defined, several = the booker picks (type_key then required). */
8161
+ calendar_event_type_keys: string[];
8162
+ host_user_ids: string[];
8163
+ assignment: Assignment;
8164
+ is_public: boolean;
8165
+ is_enabled: boolean;
8166
+ /** The booker may pick one of the hosts on the page. */
8167
+ is_host_selectable: boolean;
8168
+ reschedule_host: RescheduleHost;
8169
+ /** Computed: the public page address (absent without WEB_PUBLIC_URL). */
8170
+ url?: string;
8171
+ created_at: string;
8172
+ created_by: UserRef$2;
8173
+ updated_at: string;
8174
+ updated_by: UserRef$2;
8175
+ }
8176
+ interface CreateSchedulingLinkRequest {
8177
+ key: string;
8178
+ name: string;
8179
+ calendar_event_type_keys: string[];
8180
+ host_user_ids: string[];
8181
+ assignment: Assignment;
8182
+ is_public?: boolean;
8183
+ is_enabled?: boolean;
8184
+ is_host_selectable?: boolean;
8185
+ reschedule_host?: RescheduleHost;
8186
+ }
8187
+ interface UpdateSchedulingLinkRequest {
8188
+ name?: string;
8189
+ calendar_event_type_keys?: string[];
8190
+ host_user_ids?: string[];
8191
+ assignment?: Assignment;
8192
+ is_public?: boolean;
8193
+ is_enabled?: boolean;
8194
+ is_host_selectable?: boolean;
8195
+ reschedule_host?: RescheduleHost;
8196
+ }
8197
+ interface ListSchedulingLinksQuery {
8198
+ /** Links offering this type. */
8199
+ type_key?: string;
8200
+ is_public?: boolean;
8201
+ is_enabled?: boolean;
8202
+ search?: string;
8203
+ page?: number;
8204
+ page_size?: number;
8205
+ sort_by?: string;
8206
+ sort_direction?: 'asc' | 'desc';
8207
+ }
8208
+ /** The person a link booking is for: by id (contact-bound page) or by email. */
8209
+ interface BookingContact {
8210
+ id?: string;
8211
+ name?: string;
8212
+ email?: string;
8213
+ phone?: string;
8214
+ }
8215
+ interface BookSchedulingLinkRequest {
8216
+ /** Picks the type on a multi-type link (optional when the link offers one). */
8217
+ type_key?: string;
8218
+ start_at: string;
8219
+ timezone: string;
8220
+ contact?: BookingContact;
8221
+ notes?: string;
8222
+ host_user_id?: string;
8223
+ }
8224
+ /** Authenticated booking answer: the event plus the one-time manage token. */
8225
+ interface BookSchedulingLinkResponse extends CalendarEvent {
8226
+ manage_token: string;
8227
+ manage_url?: string;
8228
+ }
8229
+ interface PublicEventLocation {
8230
+ kind: LocationKind;
8231
+ address?: string;
8232
+ instructions?: string;
8233
+ }
8234
+ interface PublicCalendarEventType {
8235
+ key: string;
8236
+ name: string;
8237
+ description?: string;
8238
+ duration_minutes: number;
8239
+ location: PublicEventLocation;
8240
+ is_cancel_allowed: boolean;
8241
+ is_reschedule_allowed: boolean;
8242
+ cancel_notice_minutes: number;
8243
+ }
8244
+ interface PublicHost {
8245
+ user_id: string;
8246
+ display_name: string;
8247
+ headline?: string;
8248
+ }
8249
+ /** What the unauthenticated scheduling page sees of a link. */
8250
+ interface PublicSchedulingLink {
8251
+ org_id: string;
8252
+ key: string;
8253
+ name: string;
8254
+ /** Types offered in link order; one = pre-defined, several = show a picker. */
8255
+ types: PublicCalendarEventType[];
8256
+ hosts: PublicHost[];
8257
+ assignment: Assignment;
8258
+ is_host_selectable: boolean;
8259
+ reschedule_host: RescheduleHost;
8260
+ /** Opened with a contact_id the org knows: no name / email asked. */
8261
+ is_contact_bound: boolean;
8262
+ }
8263
+ interface GetPublicSlotsQuery {
8264
+ type_key?: string;
8265
+ from: string;
8266
+ to: string;
8267
+ timezone: string;
8268
+ host_user_id?: string;
8269
+ }
8270
+ /** A booked event as its contact sees it on the manage page. */
8271
+ interface PublicCalendarEvent {
8272
+ id: string;
8273
+ org_id: string;
8274
+ title: string;
8275
+ start_at: string;
8276
+ end_at: string;
8277
+ timezone?: string;
8278
+ status: EventStatus;
8279
+ location: EventLocation;
8280
+ join_url?: string;
8281
+ link: PublicSchedulingLink;
8282
+ host: PublicHost;
8283
+ contact: BookingContact;
8284
+ is_cancelled: boolean;
8285
+ deleted_at?: string;
8286
+ }
8287
+ interface PublicBookSchedulingLinkResponse extends PublicCalendarEvent {
8288
+ manage_token: string;
8289
+ manage_url?: string;
8290
+ }
8291
+ interface CancelPublicCalendarEventRequest {
8292
+ token: string;
8293
+ reason?: string;
8294
+ }
8295
+ interface ReschedulePublicCalendarEventRequest {
8296
+ token: string;
8297
+ start_at: string;
8298
+ timezone: string;
8299
+ host_user_id?: string;
8300
+ }
8301
+ /** Body of POST /me/calendar-connections/:id/sync (mirrors Go UpdateCalendarSyncRequest). */
8302
+ interface UpdateCalendarSyncRequest {
8303
+ /** Drop the change cursors so the worker re-reads the whole window. */
8304
+ is_rebaseline?: boolean;
8305
+ }
8306
+ /** Scheduling-local page envelope ({meta, data}) — same shape as the conversation module's. */
8307
+ interface ListResponse<T> {
8308
+ meta: ResponseMeta$1;
8309
+ data: T[];
8310
+ }
8311
+ /** Window reads carry no pagination — the window itself bounds the result. */
8312
+ interface CalendarEventsResponse {
8313
+ data: CalendarEvent[];
8314
+ }
8315
+
8316
+ /**
8317
+ * Facade for scheduling-service: calendar connections (bindings to
8318
+ * connector-service google-calendar / microsoft-calendar grants), the
8319
+ * calendars under them with their platform roles, per-user scheduling
8320
+ * profiles, and the two-way calendar_event mirror.
8321
+ *
8322
+ * `*Mine` methods act on the caller's own rows (`/me/...`); `*ForUser`
8323
+ * methods are the admin path (`/users/:userId/...`).
8324
+ *
8325
+ * ```ts
8326
+ * const scheduling = new SchedulingClient(client)
8327
+ * const connection = await scheduling.calendarConnections.connect({ connection_id })
8328
+ * const { data: calendars } = await scheduling.calendars.listMine()
8329
+ * await scheduling.calendars.updateMine(calendars[0].id, { is_synced: true })
8330
+ * const { data: events } = await scheduling.calendarEvents.list({ from, to })
8331
+ * ```
8332
+ */
8333
+ declare class SchedulingClient {
8334
+ readonly calendarConnections: CalendarConnectionService;
8335
+ readonly calendars: CalendarService;
8336
+ readonly schedulingProfiles: SchedulingProfileService;
8337
+ readonly calendarEvents: CalendarEventService;
8338
+ readonly calendarEventTypes: CalendarEventTypeService;
8339
+ readonly availabilityConstraints: AvailabilityConstraintService;
8340
+ readonly slots: SlotService;
8341
+ readonly schedulingLinks: SchedulingLinkService;
8342
+ /** The unauthenticated scheduling page + manage page (no Authorization header). */
8343
+ readonly public: PublicSchedulingService;
8344
+ constructor(client: ProteosClient);
8345
+ }
8346
+ /** Bindings to connector-service calendar grants. */
8347
+ interface CalendarConnectionService {
8348
+ listMine(query?: ListCalendarConnectionsQuery): Promise<ListResponse<CalendarConnection>>;
8349
+ /** Bind one of the caller's user-scope calendar connector connections; discovers its calendars. */
8350
+ connect(request: CreateCalendarConnectionRequest): Promise<CalendarConnection>;
8351
+ updateMine(id: string, request: UpdateCalendarConnectionRequest): Promise<CalendarConnection>;
8352
+ disconnectMine(id: string): Promise<void>;
8353
+ /** Enqueue a sync of every synced calendar under the connection. */
8354
+ syncMine(id: string, request?: UpdateCalendarSyncRequest): Promise<CalendarConnection>;
8355
+ listForUser(userId: string, query?: ListCalendarConnectionsQuery): Promise<ListResponse<CalendarConnection>>;
8356
+ updateForUser(userId: string, id: string, request: UpdateCalendarConnectionRequest): Promise<CalendarConnection>;
8357
+ disconnectForUser(userId: string, id: string): Promise<void>;
8358
+ }
8359
+ /** Provider calendars under a connection + their platform roles. */
8360
+ interface CalendarService {
8361
+ listMine(query?: ListCalendarsQuery): Promise<ListResponse<Calendar>>;
8362
+ getMine(id: string): Promise<Calendar>;
8363
+ updateMine(id: string, request: UpdateCalendarRequest): Promise<Calendar>;
8364
+ listForUser(userId: string, query?: ListCalendarsQuery): Promise<ListResponse<Calendar>>;
8365
+ getForUser(userId: string, id: string): Promise<Calendar>;
8366
+ updateForUser(userId: string, id: string, request: UpdateCalendarRequest): Promise<Calendar>;
8367
+ }
8368
+ /** Per-user scheduling settings (one per org + user; defaults when absent). */
8369
+ interface SchedulingProfileService {
8370
+ getMine(): Promise<SchedulingProfile>;
8371
+ putMine(request: PutSchedulingProfileRequest): Promise<SchedulingProfile>;
8372
+ getForUser(userId: string): Promise<SchedulingProfile>;
8373
+ putForUser(userId: string, request: PutSchedulingProfileRequest): Promise<SchedulingProfile>;
8374
+ }
8375
+ /** The two-way calendar_event mirror. */
8376
+ interface CalendarEventService {
8377
+ /** A window of events (from/to required, ≤ 93 days); colleagues' events come back projected. */
8378
+ list(query: ListCalendarEventsQuery): Promise<CalendarEventsResponse>;
8379
+ get(id: string): Promise<CalendarEvent>;
8380
+ /** Write an event through to the provider (calendar_id = own calendar, or hosts). */
8381
+ create(request: CreateCalendarEventRequest): Promise<CalendarEvent>;
8382
+ /** Partial update; `scope` picks the instance or the whole series on recurring events. */
8383
+ update(id: string, request: UpdateCalendarEventRequest, scope?: RecurrenceScope): Promise<CalendarEvent>;
8384
+ delete(id: string, scope?: RecurrenceScope): Promise<void>;
8385
+ /** Record the caller's RSVP. */
8386
+ respond(id: string, request: RespondCalendarEventRequest): Promise<CalendarEvent>;
8387
+ }
8388
+ /** The slot-rules catalog: calendar event types, keyed by (org, key). */
8389
+ interface CalendarEventTypeService {
8390
+ list(query?: ListCalendarEventTypesQuery): Promise<ListResponse<CalendarEventType>>;
8391
+ get(key: string): Promise<CalendarEventType>;
8392
+ /** Create or replace (PUT semantics: every field is the new value). */
8393
+ put(key: string, request: PutCalendarEventTypeRequest): Promise<CalendarEventType>;
8394
+ update(key: string, request: UpdateCalendarEventTypeRequest): Promise<CalendarEventType>;
8395
+ delete(key: string): Promise<void>;
8396
+ }
8397
+ /** A user's hours and blocks. `*Mine` = the caller's own; `*ForUser` = admin path. */
8398
+ interface AvailabilityConstraintService {
8399
+ listMine(query?: ListAvailabilityConstraintsQuery): Promise<ListResponse<AvailabilityConstraint>>;
8400
+ getMine(id: string): Promise<AvailabilityConstraint>;
8401
+ createMine(request: CreateAvailabilityConstraintRequest): Promise<AvailabilityConstraint>;
8402
+ updateMine(id: string, request: UpdateAvailabilityConstraintRequest): Promise<AvailabilityConstraint>;
8403
+ deleteMine(id: string): Promise<void>;
8404
+ listForUser(userId: string, query?: ListAvailabilityConstraintsQuery): Promise<ListResponse<AvailabilityConstraint>>;
8405
+ getForUser(userId: string, id: string): Promise<AvailabilityConstraint>;
8406
+ createForUser(userId: string, request: CreateAvailabilityConstraintRequest): Promise<AvailabilityConstraint>;
8407
+ updateForUser(userId: string, id: string, request: UpdateAvailabilityConstraintRequest): Promise<AvailabilityConstraint>;
8408
+ deleteForUser(userId: string, id: string): Promise<void>;
8409
+ }
8410
+ /** The slot engine: bookable starts of some hosts under a type's / explicit rules. */
8411
+ interface SlotService {
8412
+ get(request: GetSlotsRequest): Promise<GetSlotsResponse>;
8413
+ }
8414
+ /** Scheduling links: the entry points for taking a slot, plus booking through one. */
8415
+ interface SchedulingLinkService {
8416
+ list(query?: ListSchedulingLinksQuery): Promise<ListResponse<SchedulingLink>>;
8417
+ get(key: string): Promise<SchedulingLink>;
8418
+ create(request: CreateSchedulingLinkRequest): Promise<SchedulingLink>;
8419
+ update(key: string, request: UpdateSchedulingLinkRequest): Promise<SchedulingLink>;
8420
+ delete(key: string): Promise<void>;
8421
+ /** The link as an embedded scheduling picker renders it (types, hosts, policy) — private links included. */
8422
+ getPage(key: string, contactId?: string): Promise<PublicSchedulingLink>;
8423
+ /** The link's slots (its hosts + assignment, its type's rules). */
8424
+ getSlots(key: string, query: GetPublicSlotsQuery): Promise<GetSlotsResponse>;
8425
+ /** Take a slot through the link (scheduling-links:read); an empty contact books for the caller. */
8426
+ book(key: string, request: BookSchedulingLinkRequest): Promise<BookSchedulingLinkResponse>;
8427
+ }
8428
+ /**
8429
+ * The unauthenticated scheduling surface: every call sends NO Authorization
8430
+ * header (skipAuth), so it is safe on the anonymous /s/ routes. Links answer
8431
+ * only when public + enabled; events only with their manage token.
8432
+ */
8433
+ interface PublicSchedulingService {
8434
+ getLink(orgId: string, key: string, contactId?: string): Promise<PublicSchedulingLink>;
8435
+ getSlots(orgId: string, key: string, query: GetPublicSlotsQuery): Promise<GetSlotsResponse>;
8436
+ book(orgId: string, key: string, request: BookSchedulingLinkRequest): Promise<PublicBookSchedulingLinkResponse>;
8437
+ getEvent(orgId: string, id: string, token: string): Promise<PublicCalendarEvent>;
8438
+ cancel(orgId: string, id: string, request: CancelPublicCalendarEventRequest): Promise<PublicCalendarEvent>;
8439
+ reschedule(orgId: string, id: string, request: ReschedulePublicCalendarEventRequest): Promise<PublicBookSchedulingLinkResponse>;
8440
+ }
8441
+
7613
8442
  /**
7614
8443
  * A version of a stored file. Each file has one or more versions; the file's
7615
8444
  * `current_version` points at the latest. Size is carried here, not on the
@@ -8519,4 +9348,4 @@ declare class WorkflowClient {
8519
9348
  constructor(client: ProteosClient);
8520
9349
  }
8521
9350
 
8522
- 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 AttachContactAddressRequest, type AttachConversationBriefRequest, type Attachment, Attribute, AuditFields, type AuthListOptions, type AuthoredTranscriptTurn, type AutomatedFilterConfig, type AutomatedSignal, type BatchTransactionError, BatchTransactionErrorSchema, type BatchTransactionStatus, type BatchUpsertRecordsResponse, BatchUpsertRecordsResponseSchema, type BatchUpsertTransaction, type BatchUpsertTransactionResult, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, type BinaryRef, type BlockContactRequest, type BounceClassification, type BounceKind, type CallStatus, type CallTokenResponse, 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 ClientEventType, type ClientToolSchema, 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 ConversationParticipant, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type ConversationType, type ConversationTypeConfig, type ConversationTypeService, type CreateAgentListenerRequest, type CreateAgentRequest, type CreateApiKeyRequest, type CreateConnectionRequest, type CreateConnectorConnectionRequest, type CreateContactGroupRequest, type CreateContactRecordLinkRequest, type CreateContactRequest, type CreateConversationBriefRequest, type CreateConversationFilterRequest, type CreateConversationTypeRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreateProfileRequest, type CreatePromptRequest, type CreateRecordLinkRequest, type CreateRoleRequest, 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 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 ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, type EventTriggerParams, type EventType, type EventVerb, EventsClient, type ExecutionError, type ExecutionStatus, type ExecutionTriggerContext, type FileBlock, FileRef, type FileService, type FileVersionContent, type FilterMatchOn, type FrequencyCapRuleConfig, FunctionsClient, type GetConnectionHealthQuery, type GetExecutionDetailResponse, type GetGraphOptions, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, 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 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 ListConversationTypesQuery, type ListConversationsQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, type ListMessagesQuery, type ListMistranscribedTermsQuery, type ListNodesOptions, ListOptions, type ListOrgUserRoleAssignmentsOptions, type ListOrganizationsOptions, type ListProfilesOptions, type ListPromptsOptions, type ListRecordDuplicatesQuery, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse, ListResult, type ListRolePermissionsOptions, type ListRolesOptions, type ListRoomsQuery, type ListSendingLimitPresetsQuery, type ListSendingRulesQuery, type ListSessionsOptions, type ListSkillsOptions, type ListSpacesOptions, type ListTeamMembersOptions, type ListTeamsOptions, type ListToneProfileSetupsQuery, type ListToneProfilesQuery, type ListToolsOptions, type ListToolsetsOptions, type ListUserProfileAssignmentsOptions, type ListUserRoleAssignmentsOptions, type ListUsersOptions, type ListWorkflowsOptions, type ManualTriggerParams, type MatchMode, type McpBinding, type McpConnectionState, type McpConnectionStatus, type McpServer, type McpServerAuth, type McpServerOAuth, type McpServerService, type McpToolSummary, type MeService, 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 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 OnErrorPolicy, type Organization, OrganizationSchema, type OrganizationService, type OutlineHeading, type OutlineRequest, type OutlineResponse, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, PageIterator, type PairedItem, type ParseStatus, 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 PublishContactObservationsResponse, type PublishEventRequest, 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 RecordService, type RedriveResult, type ResolveToneProfileQuery, type RespondChannelActionRequest, type ResultBlock, type Role, type RoleBasedFilterConfig, type RoleEntityPermission, RoleEntityPermissionSchema, RoleSchema, type RoleService, type Room, type RoutingTarget, type RunWorkflowRequest, SCOPED_PLATFORM_ENTITY_SLUGS, 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 SetDefaultSenderRequest, type SetProfileRequest, type SharePermission, type ShareRow, type ShareService, type Skill, type SkillBundle, type SkillService, type SkillVersion, type SpaceService, type StartMcpOAuthResponse, type StopReason, StorageClient, type StorageFile, type StorageFileVersion, 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, UNASSIGNED_SPACE_SLUG, type UnreadCounts, type UpdateAgentListenerRequest, type UpdateAgentRequest, type UpdateConnectionRequest, type UpdateConnectorConnectionRequest, type UpdateContactGroupRequest, type UpdateContactRequest, type UpdateConversationBriefRequest, type UpdateConversationFilterRequest, 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 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 };
9351
+ 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 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 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 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 ConversationParticipant, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type ConversationType, type ConversationTypeConfig, type ConversationTypeService, 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 CreateConversationTypeRequest, 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 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 ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, 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 GetConnectionHealthQuery, type GetExecutionDetailResponse, type GetGraphOptions, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GetPublicSlotsQuery, type GetSlotsRequest, type GetSlotsResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, type HostsRequest, 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 ListConversationTypesQuery, type ListConversationsQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, 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 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 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 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, 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 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 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 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, 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 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 };