@arbidocs/sdk 0.5.177 → 0.5.178

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.
@@ -3408,6 +3408,7 @@ declare function getConversationThreads(arbi: ArbiClient, conversationId: string
3408
3408
  tool_args: {
3409
3409
  doc_ext_ids: string[];
3410
3410
  search_mode?: ("semantic" | "keyword" | "hybrid") | null | undefined;
3411
+ empty_scope: boolean;
3411
3412
  };
3412
3413
  tool_responses: {
3413
3414
  [x: string]: {
@@ -3629,6 +3630,7 @@ declare function getMessage(arbi: ArbiClient, messageId: string): Promise<{
3629
3630
  tool_args: {
3630
3631
  doc_ext_ids: string[];
3631
3632
  search_mode?: ("semantic" | "keyword" | "hybrid") | null | undefined;
3633
+ empty_scope: boolean;
3632
3634
  };
3633
3635
  tool_responses: {
3634
3636
  [x: string]: {
@@ -3850,6 +3852,7 @@ declare function postConversationMessage(arbi: ArbiClient, body: PostMessageRequ
3850
3852
  tool_args: {
3851
3853
  doc_ext_ids: string[];
3852
3854
  search_mode?: ("semantic" | "keyword" | "hybrid") | null | undefined;
3855
+ empty_scope: boolean;
3853
3856
  };
3854
3857
  tool_responses: {
3855
3858
  [x: string]: {
@@ -5667,6 +5670,7 @@ declare function createAgent(arbi: ArbiClient, name: string): Promise<CreateAgen
5667
5670
  /** Read an agent's pinned configuration (its `settings.last_config`). */
5668
5671
  declare function getAgentConfig(arbi: ArbiClient, agentExtId: string): Promise<{
5669
5672
  Agents: {
5673
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
5670
5674
  ENABLED: boolean;
5671
5675
  HUMAN_IN_THE_LOOP: boolean;
5672
5676
  WEB_SEARCH_ENABLED: boolean;
@@ -5926,6 +5930,7 @@ declare function getAgentConfig(arbi: ArbiClient, agentExtId: string): Promise<{
5926
5930
  };
5927
5931
  } | {
5928
5932
  Agents: {
5933
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
5929
5934
  ENABLED: boolean;
5930
5935
  HUMAN_IN_THE_LOOP: boolean;
5931
5936
  WEB_SEARCH_ENABLED: boolean;
@@ -9053,6 +9058,7 @@ type Schemas = components['schemas'];
9053
9058
  /** Make the fields the server defaults optional (the generator marks defaulted fields required). */
9054
9059
  type WithDefaults<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
9055
9060
  type CallsConfig = Schemas['CallsConfigResponse'];
9061
+ declare function getCallAvatarAsset(client: ArbiClient, avatar: 'james' | 'claire' | 'mark', asset: 'head.glb' | 'head-clearance.json' | 'blinks.json'): Promise<ArrayBuffer>;
9056
9062
  type CallCreate = Schemas['CallCreate'];
9057
9063
  type CallUpdate = WithDefaults<Schemas['CallUpdate'], 'reset_link'>;
9058
9064
  type CallResponse = Schemas['CallResponse'];
@@ -9303,6 +9309,7 @@ declare const calls_demoteFromStage: typeof demoteFromStage;
9303
9309
  declare const calls_downloadRecordingPart: typeof downloadRecordingPart;
9304
9310
  declare const calls_fetchCallToken: typeof fetchCallToken;
9305
9311
  declare const calls_getCall: typeof getCall;
9312
+ declare const calls_getCallAvatarAsset: typeof getCallAvatarAsset;
9306
9313
  declare const calls_getCallRecording: typeof getCallRecording;
9307
9314
  declare const calls_getCallsConfig: typeof getCallsConfig;
9308
9315
  declare const calls_getOrCreateCallChat: typeof getOrCreateCallChat;
@@ -9338,7 +9345,7 @@ declare const calls_updateQuestion: typeof updateQuestion;
9338
9345
  declare const calls_updateWebinar: typeof updateWebinar;
9339
9346
  declare const calls_voteQuestion: typeof voteQuestion;
9340
9347
  declare namespace calls {
9341
- export { calls_CallApiError as CallApiError, type calls_CallChatCreate as CallChatCreate, type calls_CallChatResponse as CallChatResponse, type calls_CallCreate as CallCreate, type calls_CallDeclinedMessage as CallDeclinedMessage, type calls_CallEndedMessage as CallEndedMessage, type calls_CallInviteLinkCreate as CallInviteLinkCreate, type calls_CallInviteLinkResponse as CallInviteLinkResponse, type calls_CallJoinPolicy as CallJoinPolicy, type calls_CallKnockMessage as CallKnockMessage, type calls_CallKnockResolvedMessage as CallKnockResolvedMessage, type calls_CallKnockResponse as CallKnockResponse, calls_CallPeer as CallPeer, type calls_CallQuestion as CallQuestion, type calls_CallQuestionStatus as CallQuestionStatus, type calls_CallQuestionUpdate as CallQuestionUpdate, type calls_CallRecording as CallRecording, type calls_CallRecordingState as CallRecordingState, type calls_CallResponse as CallResponse, type calls_CallRingingMessage as CallRingingMessage, type calls_CallStartedMessage as CallStartedMessage, type calls_CallTokenResponse as CallTokenResponse, type calls_CallTranscribeResponse as CallTranscribeResponse, type calls_CallTranscriptionMessage as CallTranscriptionMessage, type calls_CallTranscriptionState as CallTranscriptionState, type calls_CallUpdate as CallUpdate, type calls_CallWebinarMessage as CallWebinarMessage, type calls_CallsConfig as CallsConfig, type calls_CreateTrackBody as CreateTrackBody, type calls_InviteeRole as InviteeRole, type calls_PartBody as PartBody, type calls_PartUpload as PartUpload, type calls_RecordingMode as RecordingMode, type calls_RecordingPart as RecordingPart, type calls_RecordingQuota as RecordingQuota, type calls_RecordingTrack as RecordingTrack, type calls_RecordingTrackKind as RecordingTrackKind, type calls_RecordingTranscribeResponse as RecordingTranscribeResponse, type calls_TranscribeRecordingParams as TranscribeRecordingParams, type calls_TranscribeSegmentParams as TranscribeSegmentParams, type calls_TranscriptSegmentRef as TranscriptSegmentRef, calls_WEBINAR_MODERATORS as WEBINAR_MODERATORS, calls_WEBINAR_TEAM as WEBINAR_TEAM, type calls_WebinarChat as WebinarChat, type calls_WebinarRole as WebinarRole, type calls_WebinarState as WebinarState, type calls_WebinarUpdate as WebinarUpdate, calls_askQuestion as askQuestion, calls_callError as callError, calls_cancelCall as cancelCall, calls_commitRecordingPart as commitRecordingPart, calls_createCall as createCall, calls_createCallInviteLink as createCallInviteLink, calls_createRecordingTrack as createRecordingTrack, calls_decideKnock as decideKnock, calls_declineCall as declineCall, calls_deleteQuestion as deleteQuestion, calls_deleteRecording as deleteRecording, calls_deleteRecordingMedia as deleteRecordingMedia, calls_demoteFromStage as demoteFromStage, calls_downloadRecordingPart as downloadRecordingPart, calls_fetchCallToken as fetchCallToken, calls_getCall as getCall, calls_getCallRecording as getCallRecording, calls_getCallsConfig as getCallsConfig, calls_getOrCreateCallChat as getOrCreateCallChat, calls_getRecordingQuota as getRecordingQuota, calls_getWebinar as getWebinar, calls_isQuotaError as isQuotaError, calls_knockCall as knockCall, calls_listCallInviteLinks as listCallInviteLinks, calls_listCallRecordings as listCallRecordings, calls_listCalls as listCalls, calls_listQuestions as listQuestions, calls_muteCallParticipant as muteCallParticipant, calls_pollKnock as pollKnock, calls_postChatTranscriptLine as postChatTranscriptLine, calls_presignRecordingPart as presignRecordingPart, calls_promoteToStage as promoteToStage, calls_quotaNeedsWarning as quotaNeedsWarning, calls_recordingStateFrom as recordingStateFrom, calls_recordingStateOfCall as recordingStateOfCall, calls_removeCallParticipant as removeCallParticipant, calls_revokeCallInviteLink as revokeCallInviteLink, calls_ringCall as ringCall, calls_setCallTranscription as setCallTranscription, calls_setRecordingExpiry as setRecordingExpiry, calls_setWebinarHand as setWebinarHand, calls_startCallRecording as startCallRecording, calls_stopCallRecording as stopCallRecording, calls_transcribeCallSegment as transcribeCallSegment, calls_transcribeRecordingPart as transcribeRecordingPart, calls_transcriptionStateFrom as transcriptionStateFrom, calls_updateCall as updateCall, calls_updateQuestion as updateQuestion, calls_updateWebinar as updateWebinar, calls_voteQuestion as voteQuestion };
9348
+ export { calls_CallApiError as CallApiError, type calls_CallChatCreate as CallChatCreate, type calls_CallChatResponse as CallChatResponse, type calls_CallCreate as CallCreate, type calls_CallDeclinedMessage as CallDeclinedMessage, type calls_CallEndedMessage as CallEndedMessage, type calls_CallInviteLinkCreate as CallInviteLinkCreate, type calls_CallInviteLinkResponse as CallInviteLinkResponse, type calls_CallJoinPolicy as CallJoinPolicy, type calls_CallKnockMessage as CallKnockMessage, type calls_CallKnockResolvedMessage as CallKnockResolvedMessage, type calls_CallKnockResponse as CallKnockResponse, calls_CallPeer as CallPeer, type calls_CallQuestion as CallQuestion, type calls_CallQuestionStatus as CallQuestionStatus, type calls_CallQuestionUpdate as CallQuestionUpdate, type calls_CallRecording as CallRecording, type calls_CallRecordingState as CallRecordingState, type calls_CallResponse as CallResponse, type calls_CallRingingMessage as CallRingingMessage, type calls_CallStartedMessage as CallStartedMessage, type calls_CallTokenResponse as CallTokenResponse, type calls_CallTranscribeResponse as CallTranscribeResponse, type calls_CallTranscriptionMessage as CallTranscriptionMessage, type calls_CallTranscriptionState as CallTranscriptionState, type calls_CallUpdate as CallUpdate, type calls_CallWebinarMessage as CallWebinarMessage, type calls_CallsConfig as CallsConfig, type calls_CreateTrackBody as CreateTrackBody, type calls_InviteeRole as InviteeRole, type calls_PartBody as PartBody, type calls_PartUpload as PartUpload, type calls_RecordingMode as RecordingMode, type calls_RecordingPart as RecordingPart, type calls_RecordingQuota as RecordingQuota, type calls_RecordingTrack as RecordingTrack, type calls_RecordingTrackKind as RecordingTrackKind, type calls_RecordingTranscribeResponse as RecordingTranscribeResponse, type calls_TranscribeRecordingParams as TranscribeRecordingParams, type calls_TranscribeSegmentParams as TranscribeSegmentParams, type calls_TranscriptSegmentRef as TranscriptSegmentRef, calls_WEBINAR_MODERATORS as WEBINAR_MODERATORS, calls_WEBINAR_TEAM as WEBINAR_TEAM, type calls_WebinarChat as WebinarChat, type calls_WebinarRole as WebinarRole, type calls_WebinarState as WebinarState, type calls_WebinarUpdate as WebinarUpdate, calls_askQuestion as askQuestion, calls_callError as callError, calls_cancelCall as cancelCall, calls_commitRecordingPart as commitRecordingPart, calls_createCall as createCall, calls_createCallInviteLink as createCallInviteLink, calls_createRecordingTrack as createRecordingTrack, calls_decideKnock as decideKnock, calls_declineCall as declineCall, calls_deleteQuestion as deleteQuestion, calls_deleteRecording as deleteRecording, calls_deleteRecordingMedia as deleteRecordingMedia, calls_demoteFromStage as demoteFromStage, calls_downloadRecordingPart as downloadRecordingPart, calls_fetchCallToken as fetchCallToken, calls_getCall as getCall, calls_getCallAvatarAsset as getCallAvatarAsset, calls_getCallRecording as getCallRecording, calls_getCallsConfig as getCallsConfig, calls_getOrCreateCallChat as getOrCreateCallChat, calls_getRecordingQuota as getRecordingQuota, calls_getWebinar as getWebinar, calls_isQuotaError as isQuotaError, calls_knockCall as knockCall, calls_listCallInviteLinks as listCallInviteLinks, calls_listCallRecordings as listCallRecordings, calls_listCalls as listCalls, calls_listQuestions as listQuestions, calls_muteCallParticipant as muteCallParticipant, calls_pollKnock as pollKnock, calls_postChatTranscriptLine as postChatTranscriptLine, calls_presignRecordingPart as presignRecordingPart, calls_promoteToStage as promoteToStage, calls_quotaNeedsWarning as quotaNeedsWarning, calls_recordingStateFrom as recordingStateFrom, calls_recordingStateOfCall as recordingStateOfCall, calls_removeCallParticipant as removeCallParticipant, calls_revokeCallInviteLink as revokeCallInviteLink, calls_ringCall as ringCall, calls_setCallTranscription as setCallTranscription, calls_setRecordingExpiry as setRecordingExpiry, calls_setWebinarHand as setWebinarHand, calls_startCallRecording as startCallRecording, calls_stopCallRecording as stopCallRecording, calls_transcribeCallSegment as transcribeCallSegment, calls_transcribeRecordingPart as transcribeRecordingPart, calls_transcriptionStateFrom as transcriptionStateFrom, calls_updateCall as updateCall, calls_updateQuestion as updateQuestion, calls_updateWebinar as updateWebinar, calls_voteQuestion as voteQuestion };
9342
9349
  }
9343
9350
 
9344
9351
  type DocUpdateRequest = components['schemas']['DocUpdateRequest'];
@@ -12777,6 +12784,7 @@ declare class Arbi {
12777
12784
  tool_args: {
12778
12785
  doc_ext_ids: string[];
12779
12786
  search_mode?: ("semantic" | "keyword" | "hybrid") | null | undefined;
12787
+ empty_scope: boolean;
12780
12788
  };
12781
12789
  tool_responses: {
12782
12790
  [x: string]: {
@@ -13452,6 +13460,7 @@ declare class Arbi {
13452
13460
  tool_args: {
13453
13461
  doc_ext_ids: string[];
13454
13462
  search_mode?: ("semantic" | "keyword" | "hybrid") | null | undefined;
13463
+ empty_scope: boolean;
13455
13464
  };
13456
13465
  tool_responses: {
13457
13466
  [x: string]: {
@@ -13667,6 +13676,7 @@ declare class Arbi {
13667
13676
  tool_args: {
13668
13677
  doc_ext_ids: string[];
13669
13678
  search_mode?: ("semantic" | "keyword" | "hybrid") | null | undefined;
13679
+ empty_scope: boolean;
13670
13680
  };
13671
13681
  tool_responses: {
13672
13682
  [x: string]: {
@@ -15446,12 +15456,17 @@ declare class Arbi {
15446
15456
  * `resetLink` do the key work and hand back K with the call; everything else moves ciphertext.
15447
15457
  */
15448
15458
  readonly calls: {
15459
+ avatarAsset: (avatar: "james" | "claire" | "mark", asset: "head.glb" | "head-clearance.json" | "blinks.json") => Promise<ArrayBuffer>;
15449
15460
  /** The deployment's calls config (`enabled`, `transcription_available`, …). */
15450
15461
  config: () => Promise<{
15451
15462
  enabled: boolean;
15452
15463
  experimental: boolean;
15453
15464
  default_join_policy: "invited" | "signed_in" | "open";
15454
15465
  transcription_available: boolean;
15466
+ avatar_available: boolean;
15467
+ avatar_voices?: {
15468
+ [key: string]: string;
15469
+ };
15455
15470
  }>;
15456
15471
  list: (query?: {
15457
15472
  limit?: number;
@@ -16354,6 +16369,7 @@ declare class Arbi {
16354
16369
  }>;
16355
16370
  get: (configId: string) => Promise<{
16356
16371
  Agents: {
16372
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
16357
16373
  ENABLED: boolean;
16358
16374
  HUMAN_IN_THE_LOOP: boolean;
16359
16375
  WEB_SEARCH_ENABLED: boolean;
@@ -16613,6 +16629,7 @@ declare class Arbi {
16613
16629
  };
16614
16630
  } | {
16615
16631
  Agents: {
16632
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
16616
16633
  ENABLED: boolean;
16617
16634
  HUMAN_IN_THE_LOOP: boolean;
16618
16635
  WEB_SEARCH_ENABLED: boolean;
@@ -16892,6 +16909,7 @@ declare class Arbi {
16892
16909
  }>;
16893
16910
  getConfig: (agentExtId: string) => Promise<{
16894
16911
  Agents: {
16912
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
16895
16913
  ENABLED: boolean;
16896
16914
  HUMAN_IN_THE_LOOP: boolean;
16897
16915
  WEB_SEARCH_ENABLED: boolean;
@@ -17151,6 +17169,7 @@ declare class Arbi {
17151
17169
  };
17152
17170
  } | {
17153
17171
  Agents: {
17172
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
17154
17173
  ENABLED: boolean;
17155
17174
  HUMAN_IN_THE_LOOP: boolean;
17156
17175
  WEB_SEARCH_ENABLED: boolean;
@@ -18476,6 +18495,7 @@ declare function listConfigs(arbi: ArbiClient): Promise<{
18476
18495
  }>;
18477
18496
  declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
18478
18497
  Agents: {
18498
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
18479
18499
  ENABLED: boolean;
18480
18500
  HUMAN_IN_THE_LOOP: boolean;
18481
18501
  WEB_SEARCH_ENABLED: boolean;
@@ -18735,6 +18755,7 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
18735
18755
  };
18736
18756
  } | {
18737
18757
  Agents: {
18758
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
18738
18759
  ENABLED: boolean;
18739
18760
  HUMAN_IN_THE_LOOP: boolean;
18740
18761
  WEB_SEARCH_ENABLED: boolean;
@@ -3408,6 +3408,7 @@ declare function getConversationThreads(arbi: ArbiClient, conversationId: string
3408
3408
  tool_args: {
3409
3409
  doc_ext_ids: string[];
3410
3410
  search_mode?: ("semantic" | "keyword" | "hybrid") | null | undefined;
3411
+ empty_scope: boolean;
3411
3412
  };
3412
3413
  tool_responses: {
3413
3414
  [x: string]: {
@@ -3629,6 +3630,7 @@ declare function getMessage(arbi: ArbiClient, messageId: string): Promise<{
3629
3630
  tool_args: {
3630
3631
  doc_ext_ids: string[];
3631
3632
  search_mode?: ("semantic" | "keyword" | "hybrid") | null | undefined;
3633
+ empty_scope: boolean;
3632
3634
  };
3633
3635
  tool_responses: {
3634
3636
  [x: string]: {
@@ -3850,6 +3852,7 @@ declare function postConversationMessage(arbi: ArbiClient, body: PostMessageRequ
3850
3852
  tool_args: {
3851
3853
  doc_ext_ids: string[];
3852
3854
  search_mode?: ("semantic" | "keyword" | "hybrid") | null | undefined;
3855
+ empty_scope: boolean;
3853
3856
  };
3854
3857
  tool_responses: {
3855
3858
  [x: string]: {
@@ -5667,6 +5670,7 @@ declare function createAgent(arbi: ArbiClient, name: string): Promise<CreateAgen
5667
5670
  /** Read an agent's pinned configuration (its `settings.last_config`). */
5668
5671
  declare function getAgentConfig(arbi: ArbiClient, agentExtId: string): Promise<{
5669
5672
  Agents: {
5673
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
5670
5674
  ENABLED: boolean;
5671
5675
  HUMAN_IN_THE_LOOP: boolean;
5672
5676
  WEB_SEARCH_ENABLED: boolean;
@@ -5926,6 +5930,7 @@ declare function getAgentConfig(arbi: ArbiClient, agentExtId: string): Promise<{
5926
5930
  };
5927
5931
  } | {
5928
5932
  Agents: {
5933
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
5929
5934
  ENABLED: boolean;
5930
5935
  HUMAN_IN_THE_LOOP: boolean;
5931
5936
  WEB_SEARCH_ENABLED: boolean;
@@ -9053,6 +9058,7 @@ type Schemas = components['schemas'];
9053
9058
  /** Make the fields the server defaults optional (the generator marks defaulted fields required). */
9054
9059
  type WithDefaults<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
9055
9060
  type CallsConfig = Schemas['CallsConfigResponse'];
9061
+ declare function getCallAvatarAsset(client: ArbiClient, avatar: 'james' | 'claire' | 'mark', asset: 'head.glb' | 'head-clearance.json' | 'blinks.json'): Promise<ArrayBuffer>;
9056
9062
  type CallCreate = Schemas['CallCreate'];
9057
9063
  type CallUpdate = WithDefaults<Schemas['CallUpdate'], 'reset_link'>;
9058
9064
  type CallResponse = Schemas['CallResponse'];
@@ -9303,6 +9309,7 @@ declare const calls_demoteFromStage: typeof demoteFromStage;
9303
9309
  declare const calls_downloadRecordingPart: typeof downloadRecordingPart;
9304
9310
  declare const calls_fetchCallToken: typeof fetchCallToken;
9305
9311
  declare const calls_getCall: typeof getCall;
9312
+ declare const calls_getCallAvatarAsset: typeof getCallAvatarAsset;
9306
9313
  declare const calls_getCallRecording: typeof getCallRecording;
9307
9314
  declare const calls_getCallsConfig: typeof getCallsConfig;
9308
9315
  declare const calls_getOrCreateCallChat: typeof getOrCreateCallChat;
@@ -9338,7 +9345,7 @@ declare const calls_updateQuestion: typeof updateQuestion;
9338
9345
  declare const calls_updateWebinar: typeof updateWebinar;
9339
9346
  declare const calls_voteQuestion: typeof voteQuestion;
9340
9347
  declare namespace calls {
9341
- export { calls_CallApiError as CallApiError, type calls_CallChatCreate as CallChatCreate, type calls_CallChatResponse as CallChatResponse, type calls_CallCreate as CallCreate, type calls_CallDeclinedMessage as CallDeclinedMessage, type calls_CallEndedMessage as CallEndedMessage, type calls_CallInviteLinkCreate as CallInviteLinkCreate, type calls_CallInviteLinkResponse as CallInviteLinkResponse, type calls_CallJoinPolicy as CallJoinPolicy, type calls_CallKnockMessage as CallKnockMessage, type calls_CallKnockResolvedMessage as CallKnockResolvedMessage, type calls_CallKnockResponse as CallKnockResponse, calls_CallPeer as CallPeer, type calls_CallQuestion as CallQuestion, type calls_CallQuestionStatus as CallQuestionStatus, type calls_CallQuestionUpdate as CallQuestionUpdate, type calls_CallRecording as CallRecording, type calls_CallRecordingState as CallRecordingState, type calls_CallResponse as CallResponse, type calls_CallRingingMessage as CallRingingMessage, type calls_CallStartedMessage as CallStartedMessage, type calls_CallTokenResponse as CallTokenResponse, type calls_CallTranscribeResponse as CallTranscribeResponse, type calls_CallTranscriptionMessage as CallTranscriptionMessage, type calls_CallTranscriptionState as CallTranscriptionState, type calls_CallUpdate as CallUpdate, type calls_CallWebinarMessage as CallWebinarMessage, type calls_CallsConfig as CallsConfig, type calls_CreateTrackBody as CreateTrackBody, type calls_InviteeRole as InviteeRole, type calls_PartBody as PartBody, type calls_PartUpload as PartUpload, type calls_RecordingMode as RecordingMode, type calls_RecordingPart as RecordingPart, type calls_RecordingQuota as RecordingQuota, type calls_RecordingTrack as RecordingTrack, type calls_RecordingTrackKind as RecordingTrackKind, type calls_RecordingTranscribeResponse as RecordingTranscribeResponse, type calls_TranscribeRecordingParams as TranscribeRecordingParams, type calls_TranscribeSegmentParams as TranscribeSegmentParams, type calls_TranscriptSegmentRef as TranscriptSegmentRef, calls_WEBINAR_MODERATORS as WEBINAR_MODERATORS, calls_WEBINAR_TEAM as WEBINAR_TEAM, type calls_WebinarChat as WebinarChat, type calls_WebinarRole as WebinarRole, type calls_WebinarState as WebinarState, type calls_WebinarUpdate as WebinarUpdate, calls_askQuestion as askQuestion, calls_callError as callError, calls_cancelCall as cancelCall, calls_commitRecordingPart as commitRecordingPart, calls_createCall as createCall, calls_createCallInviteLink as createCallInviteLink, calls_createRecordingTrack as createRecordingTrack, calls_decideKnock as decideKnock, calls_declineCall as declineCall, calls_deleteQuestion as deleteQuestion, calls_deleteRecording as deleteRecording, calls_deleteRecordingMedia as deleteRecordingMedia, calls_demoteFromStage as demoteFromStage, calls_downloadRecordingPart as downloadRecordingPart, calls_fetchCallToken as fetchCallToken, calls_getCall as getCall, calls_getCallRecording as getCallRecording, calls_getCallsConfig as getCallsConfig, calls_getOrCreateCallChat as getOrCreateCallChat, calls_getRecordingQuota as getRecordingQuota, calls_getWebinar as getWebinar, calls_isQuotaError as isQuotaError, calls_knockCall as knockCall, calls_listCallInviteLinks as listCallInviteLinks, calls_listCallRecordings as listCallRecordings, calls_listCalls as listCalls, calls_listQuestions as listQuestions, calls_muteCallParticipant as muteCallParticipant, calls_pollKnock as pollKnock, calls_postChatTranscriptLine as postChatTranscriptLine, calls_presignRecordingPart as presignRecordingPart, calls_promoteToStage as promoteToStage, calls_quotaNeedsWarning as quotaNeedsWarning, calls_recordingStateFrom as recordingStateFrom, calls_recordingStateOfCall as recordingStateOfCall, calls_removeCallParticipant as removeCallParticipant, calls_revokeCallInviteLink as revokeCallInviteLink, calls_ringCall as ringCall, calls_setCallTranscription as setCallTranscription, calls_setRecordingExpiry as setRecordingExpiry, calls_setWebinarHand as setWebinarHand, calls_startCallRecording as startCallRecording, calls_stopCallRecording as stopCallRecording, calls_transcribeCallSegment as transcribeCallSegment, calls_transcribeRecordingPart as transcribeRecordingPart, calls_transcriptionStateFrom as transcriptionStateFrom, calls_updateCall as updateCall, calls_updateQuestion as updateQuestion, calls_updateWebinar as updateWebinar, calls_voteQuestion as voteQuestion };
9348
+ export { calls_CallApiError as CallApiError, type calls_CallChatCreate as CallChatCreate, type calls_CallChatResponse as CallChatResponse, type calls_CallCreate as CallCreate, type calls_CallDeclinedMessage as CallDeclinedMessage, type calls_CallEndedMessage as CallEndedMessage, type calls_CallInviteLinkCreate as CallInviteLinkCreate, type calls_CallInviteLinkResponse as CallInviteLinkResponse, type calls_CallJoinPolicy as CallJoinPolicy, type calls_CallKnockMessage as CallKnockMessage, type calls_CallKnockResolvedMessage as CallKnockResolvedMessage, type calls_CallKnockResponse as CallKnockResponse, calls_CallPeer as CallPeer, type calls_CallQuestion as CallQuestion, type calls_CallQuestionStatus as CallQuestionStatus, type calls_CallQuestionUpdate as CallQuestionUpdate, type calls_CallRecording as CallRecording, type calls_CallRecordingState as CallRecordingState, type calls_CallResponse as CallResponse, type calls_CallRingingMessage as CallRingingMessage, type calls_CallStartedMessage as CallStartedMessage, type calls_CallTokenResponse as CallTokenResponse, type calls_CallTranscribeResponse as CallTranscribeResponse, type calls_CallTranscriptionMessage as CallTranscriptionMessage, type calls_CallTranscriptionState as CallTranscriptionState, type calls_CallUpdate as CallUpdate, type calls_CallWebinarMessage as CallWebinarMessage, type calls_CallsConfig as CallsConfig, type calls_CreateTrackBody as CreateTrackBody, type calls_InviteeRole as InviteeRole, type calls_PartBody as PartBody, type calls_PartUpload as PartUpload, type calls_RecordingMode as RecordingMode, type calls_RecordingPart as RecordingPart, type calls_RecordingQuota as RecordingQuota, type calls_RecordingTrack as RecordingTrack, type calls_RecordingTrackKind as RecordingTrackKind, type calls_RecordingTranscribeResponse as RecordingTranscribeResponse, type calls_TranscribeRecordingParams as TranscribeRecordingParams, type calls_TranscribeSegmentParams as TranscribeSegmentParams, type calls_TranscriptSegmentRef as TranscriptSegmentRef, calls_WEBINAR_MODERATORS as WEBINAR_MODERATORS, calls_WEBINAR_TEAM as WEBINAR_TEAM, type calls_WebinarChat as WebinarChat, type calls_WebinarRole as WebinarRole, type calls_WebinarState as WebinarState, type calls_WebinarUpdate as WebinarUpdate, calls_askQuestion as askQuestion, calls_callError as callError, calls_cancelCall as cancelCall, calls_commitRecordingPart as commitRecordingPart, calls_createCall as createCall, calls_createCallInviteLink as createCallInviteLink, calls_createRecordingTrack as createRecordingTrack, calls_decideKnock as decideKnock, calls_declineCall as declineCall, calls_deleteQuestion as deleteQuestion, calls_deleteRecording as deleteRecording, calls_deleteRecordingMedia as deleteRecordingMedia, calls_demoteFromStage as demoteFromStage, calls_downloadRecordingPart as downloadRecordingPart, calls_fetchCallToken as fetchCallToken, calls_getCall as getCall, calls_getCallAvatarAsset as getCallAvatarAsset, calls_getCallRecording as getCallRecording, calls_getCallsConfig as getCallsConfig, calls_getOrCreateCallChat as getOrCreateCallChat, calls_getRecordingQuota as getRecordingQuota, calls_getWebinar as getWebinar, calls_isQuotaError as isQuotaError, calls_knockCall as knockCall, calls_listCallInviteLinks as listCallInviteLinks, calls_listCallRecordings as listCallRecordings, calls_listCalls as listCalls, calls_listQuestions as listQuestions, calls_muteCallParticipant as muteCallParticipant, calls_pollKnock as pollKnock, calls_postChatTranscriptLine as postChatTranscriptLine, calls_presignRecordingPart as presignRecordingPart, calls_promoteToStage as promoteToStage, calls_quotaNeedsWarning as quotaNeedsWarning, calls_recordingStateFrom as recordingStateFrom, calls_recordingStateOfCall as recordingStateOfCall, calls_removeCallParticipant as removeCallParticipant, calls_revokeCallInviteLink as revokeCallInviteLink, calls_ringCall as ringCall, calls_setCallTranscription as setCallTranscription, calls_setRecordingExpiry as setRecordingExpiry, calls_setWebinarHand as setWebinarHand, calls_startCallRecording as startCallRecording, calls_stopCallRecording as stopCallRecording, calls_transcribeCallSegment as transcribeCallSegment, calls_transcribeRecordingPart as transcribeRecordingPart, calls_transcriptionStateFrom as transcriptionStateFrom, calls_updateCall as updateCall, calls_updateQuestion as updateQuestion, calls_updateWebinar as updateWebinar, calls_voteQuestion as voteQuestion };
9342
9349
  }
9343
9350
 
9344
9351
  type DocUpdateRequest = components['schemas']['DocUpdateRequest'];
@@ -12777,6 +12784,7 @@ declare class Arbi {
12777
12784
  tool_args: {
12778
12785
  doc_ext_ids: string[];
12779
12786
  search_mode?: ("semantic" | "keyword" | "hybrid") | null | undefined;
12787
+ empty_scope: boolean;
12780
12788
  };
12781
12789
  tool_responses: {
12782
12790
  [x: string]: {
@@ -13452,6 +13460,7 @@ declare class Arbi {
13452
13460
  tool_args: {
13453
13461
  doc_ext_ids: string[];
13454
13462
  search_mode?: ("semantic" | "keyword" | "hybrid") | null | undefined;
13463
+ empty_scope: boolean;
13455
13464
  };
13456
13465
  tool_responses: {
13457
13466
  [x: string]: {
@@ -13667,6 +13676,7 @@ declare class Arbi {
13667
13676
  tool_args: {
13668
13677
  doc_ext_ids: string[];
13669
13678
  search_mode?: ("semantic" | "keyword" | "hybrid") | null | undefined;
13679
+ empty_scope: boolean;
13670
13680
  };
13671
13681
  tool_responses: {
13672
13682
  [x: string]: {
@@ -15446,12 +15456,17 @@ declare class Arbi {
15446
15456
  * `resetLink` do the key work and hand back K with the call; everything else moves ciphertext.
15447
15457
  */
15448
15458
  readonly calls: {
15459
+ avatarAsset: (avatar: "james" | "claire" | "mark", asset: "head.glb" | "head-clearance.json" | "blinks.json") => Promise<ArrayBuffer>;
15449
15460
  /** The deployment's calls config (`enabled`, `transcription_available`, …). */
15450
15461
  config: () => Promise<{
15451
15462
  enabled: boolean;
15452
15463
  experimental: boolean;
15453
15464
  default_join_policy: "invited" | "signed_in" | "open";
15454
15465
  transcription_available: boolean;
15466
+ avatar_available: boolean;
15467
+ avatar_voices?: {
15468
+ [key: string]: string;
15469
+ };
15455
15470
  }>;
15456
15471
  list: (query?: {
15457
15472
  limit?: number;
@@ -16354,6 +16369,7 @@ declare class Arbi {
16354
16369
  }>;
16355
16370
  get: (configId: string) => Promise<{
16356
16371
  Agents: {
16372
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
16357
16373
  ENABLED: boolean;
16358
16374
  HUMAN_IN_THE_LOOP: boolean;
16359
16375
  WEB_SEARCH_ENABLED: boolean;
@@ -16613,6 +16629,7 @@ declare class Arbi {
16613
16629
  };
16614
16630
  } | {
16615
16631
  Agents: {
16632
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
16616
16633
  ENABLED: boolean;
16617
16634
  HUMAN_IN_THE_LOOP: boolean;
16618
16635
  WEB_SEARCH_ENABLED: boolean;
@@ -16892,6 +16909,7 @@ declare class Arbi {
16892
16909
  }>;
16893
16910
  getConfig: (agentExtId: string) => Promise<{
16894
16911
  Agents: {
16912
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
16895
16913
  ENABLED: boolean;
16896
16914
  HUMAN_IN_THE_LOOP: boolean;
16897
16915
  WEB_SEARCH_ENABLED: boolean;
@@ -17151,6 +17169,7 @@ declare class Arbi {
17151
17169
  };
17152
17170
  } | {
17153
17171
  Agents: {
17172
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
17154
17173
  ENABLED: boolean;
17155
17174
  HUMAN_IN_THE_LOOP: boolean;
17156
17175
  WEB_SEARCH_ENABLED: boolean;
@@ -18476,6 +18495,7 @@ declare function listConfigs(arbi: ArbiClient): Promise<{
18476
18495
  }>;
18477
18496
  declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
18478
18497
  Agents: {
18498
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
18479
18499
  ENABLED: boolean;
18480
18500
  HUMAN_IN_THE_LOOP: boolean;
18481
18501
  WEB_SEARCH_ENABLED: boolean;
@@ -18735,6 +18755,7 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
18735
18755
  };
18736
18756
  } | {
18737
18757
  Agents: {
18758
+ CALL_AVATAR?: ("james" | "claire" | "mark") | null | undefined;
18738
18759
  ENABLED: boolean;
18739
18760
  HUMAN_IN_THE_LOOP: boolean;
18740
18761
  WEB_SEARCH_ENABLED: boolean;
package/dist/browser.cjs CHANGED
@@ -5315,7 +5315,7 @@ async function submitBackgroundQuery(options) {
5315
5315
  tools.retrieval_chunk = {
5316
5316
  name: "retrieval_chunk",
5317
5317
  description: "retrieval chunk",
5318
- tool_args: { doc_ext_ids: docIds },
5318
+ tool_args: { doc_ext_ids: docIds, empty_scope: false },
5319
5319
  tool_responses: {}
5320
5320
  };
5321
5321
  if (fullContext)
@@ -6996,7 +6996,11 @@ function buildRetrievalChunkTool(docIds, searchMode) {
6996
6996
  return {
6997
6997
  name: "retrieval_chunk",
6998
6998
  description: "retrieval chunk",
6999
- tool_args: { doc_ext_ids: docIds, ...searchMode ? { search_mode: searchMode } : {} },
6999
+ tool_args: {
7000
+ doc_ext_ids: docIds,
7001
+ empty_scope: false,
7002
+ ...searchMode ? { search_mode: searchMode } : {}
7003
+ },
7000
7004
  tool_responses: {}
7001
7005
  };
7002
7006
  }
@@ -11314,6 +11318,7 @@ __export(calls_exports, {
11314
11318
  downloadRecordingPart: () => downloadRecordingPart,
11315
11319
  fetchCallToken: () => fetchCallToken,
11316
11320
  getCall: () => getCall,
11321
+ getCallAvatarAsset: () => getCallAvatarAsset,
11317
11322
  getCallRecording: () => getCallRecording,
11318
11323
  getCallsConfig: () => getCallsConfig,
11319
11324
  getOrCreateCallChat: () => getOrCreateCallChat,
@@ -11549,6 +11554,14 @@ async function deleteQuestion(arbi, callExtId, questionExtId, linkVersion) {
11549
11554
  }
11550
11555
 
11551
11556
  // src/operations/calls.ts
11557
+ async function getCallAvatarAsset(client, avatar, asset) {
11558
+ const { data, error, response } = await client.fetch.GET("/v1/calls/avatars/{avatar}/{asset}", {
11559
+ params: { path: { avatar, asset } },
11560
+ parseAs: "arrayBuffer"
11561
+ });
11562
+ if (error || !data) throw new CallApiError("Could not load the assistant avatar", response.status);
11563
+ return data;
11564
+ }
11552
11565
  var RECORDING = { quota: true };
11553
11566
  var TRANSCRIBE = { statusTexts: TRANSCRIBE_STATUS_TEXT };
11554
11567
  var callPath = (callExtId) => ({ params: { path: { call_ext_id: callExtId } } });
@@ -13891,6 +13904,7 @@ var Arbi = class {
13891
13904
  * `resetLink` do the key work and hand back K with the call; everything else moves ciphertext.
13892
13905
  */
13893
13906
  calls = {
13907
+ avatarAsset: (avatar, asset) => getCallAvatarAsset(this.requireClient(), avatar, asset),
13894
13908
  /** The deployment's calls config (`enabled`, `transcription_available`, …). */
13895
13909
  config: () => getCallsConfig(this.requireClient()),
13896
13910
  list: (query2) => listCalls(this.requireClient(), query2),