@poolse/react 3.10.0 → 3.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Poolse, PoolseConfig, TrackActivityOptions, Conversation, Uuid, UnreadTotals, OutboxEntry, Me, ConversationCreateRequest, Membership, MemberRole, Message, MessageCreateRequest, Presence, RealtimeStatus, Attachment, AttachmentUploadInput, PoolseUserProfile, AgentInfo, AppEvent, CallRoom, CallBackground, CallDisconnectReason, CallRoomStatus, CallParticipant, CameraFacing, CallDeviceKind, CallDevice, LiveKitModule, TrackProcessorsModule, LiveCall, Agenda, AgendaItem, BreakoutSession, BreakoutRoom, BreakoutPlan, RoomSession, CallMeeting, MeetingAttendee, ParticipantQuality, CallReaction, LobbyState, MarkedMoment, Question, QuestionStatus, MyRoom, RoomPresenceEntry, AnnotationState, ScreenAnnotations, StageState, StageRole, WhiteboardItem, WhiteboardModel, CallQualityReport, YjsModule, WhiteboardAccess, CallRecordingState, CallTranscriptionState, ConsentDecision, Recording, RecordingMode, LiveTranscriptSegment, Transcript, TranscriptWithSegments, RecordingStartedEvent, RecordingChangedEvent, RecordingConsentEvent, TranscriptChangedEvent, AgentApproval, AgentBrief, AgentBriefInput, CallAgent, AgentProfile, CallAgentMode, AgentSaid, AgentEscalation, EscalationReply, WhisperState, WhisperHint, ConversationAgent, AgentScopeUpdate, AgentScope, Followup, MemoryFact, MemoryKind, FollowupStatus, MeetingAnswer, CallSummary, Clip, RecordingPlayback, CatchUp, CatchUpRequest, Poll, ScheduledMessage, ScheduleMessageRequest, MessageTranslation, AttachmentKind } from '@poolse/sdk';
2
+ import { Poolse, PoolseConfig, TrackActivityOptions, Conversation, Uuid, UnreadTotals, OutboxEntry, Me, ConversationCreateRequest, Membership, MemberRole, Message, MessageCreateRequest, Presence, RealtimeStatus, Attachment, AttachmentUploadInput, PoolseUserProfile, AgentInfo, AppEvent, CallRoom, CallBackground, CallDisconnectReason, CallRoomStatus, CallParticipant, CameraFacing, CallDeviceKind, CallDevice, LiveKitModule, TrackProcessorsModule, LiveCall, Agenda, AgendaItem, BreakoutSession, BreakoutRoom, BreakoutPlan, RoomSession, CallMeeting, MeetingAttendee, ParticipantQuality, CallReaction, LobbyState, MarkedMoment, Question, QuestionStatus, MyRoom, RoomPresenceEntry, AnnotationState, ScreenAnnotations, StageState, StageRole, WhiteboardItem, WhiteboardModel, CallQualityReport, CallDataChannel, YjsModule, WhiteboardAccess, CallRecordingState, CallTranscriptionState, ConsentDecision, Recording, RecordingMode, LiveTranscriptSegment, Transcript, TranscriptWithSegments, RecordingStartedEvent, RecordingChangedEvent, RecordingConsentEvent, TranscriptChangedEvent, AgentApproval, AgentBrief, AgentBriefInput, CallAgent, AgentProfile, CallAgentMode, AgentSaid, AgentEscalation, EscalationReply, WhisperState, WhisperHint, ConversationAgent, AgentScopeUpdate, AgentScope, Followup, MemoryFact, MemoryKind, FollowupStatus, MeetingAnswer, CallSummary, Clip, RecordingPlayback, CatchUp, CatchUpRequest, Poll, ScheduledMessage, ScheduleMessageRequest, MessageTranslation, AttachmentKind } from '@poolse/sdk';
3
3
  export { APPROVAL_REASON_MAX, ASK_QUESTION_MAX, AgentApproval, AgentBrief, AgentBriefInput, AgentEscalation, AgentInfo, AgentMessageKind, AgentMeta, AgentProfile, AgentSaid, AgentScope, AgentScopeUpdate, ApiError, ApiErrorCode, AppEvent, ApprovalDetail, ApprovalStatus, Attachment, AttachmentStatus, AttachmentUploadInput, AttachmentUploadRequest, AttachmentUploadResponse, AuthError, BRIEF_RULE_MAX, BRIEF_TEXT_MAX, CallAgent, CallAgentMode, CallAgentState, CallAgentStatus, CallEndReason, CallLog, CallLogDisplay, CallLogEntry, CallLogMedia, CallMissedEntry, CallParticipantStatus, CallRecordingState, CallSummary, CallTranscriptionState, Citation, CitationType, Clip, ClipInfo, ClipStatus, ConsentDecision, Conversation, ConversationAgent, ConversationCreateRequest, ConversationReadEvent, ConversationRecordingSettings, DEFAULT_DOC_LIMITS, DestroyOptions, DeviceKind, DocChannel, DocClosedReason, DocEditor, DocJoinInfo, DocLimits, DocPushError, DocRights, ESCALATION_ANSWER_MAX, EscalationDecision, EscalationReply, EscalationStatus, FollowUpDraft, Followup, FollowupStatus, LinkPreview, LinkPreviewType, LiveCall, LiveCallMember, LiveTranscriptSegment, LocalMessageStatus, Me, MeetingAnswer, MeetingCallRef, MeetingCitation, MeetingMoment, MemberRole, Membership, MemoryFact, MemoryKind, Message, MessageCreateRequest, MessageDiscardedError, MessageEdit, MessageEditList, MessageQueuedError, MessageType, MessageUpdateRequest, NetworkError, NotificationPreferences, NotifyLevel, OutboxEntry, OwnMembership, OwnMembershipUpdateRequest, PLAYBACK_RATES, POOLSE_SERVICE_IDENTITY_PREFIX, PlaybackRate, Poolse, PoolseConfig, PoolseError, PoolseStorage, PoolseUserProfile, Presence, PresenceActivity, PresenceChangedEvent, PresenceState, RateLimitedError, ReadReceiptsState, RealtimeStatus, Recording, RecordingChapter, RecordingDownload, RecordingMode, RecordingNotice, RecordingNoticeDisplay, RecordingPlayback, RecordingStatus, RoomSession, SilenceRange, SummaryActionItem, SummaryItem, SummaryMoment, SummarySection, SummaryStatus, ThreadParticipant, ThreadUpdatedEvent, TimingEvent, TrackActivityOptions, Transcript, TranscriptBlock, TranscriptSegment, TranscriptSpeaker, TranscriptWithSegments, UnreadSummary, UnreadTotals, Uuid, WhisperHint, WhisperHintKind, WhisperSource, WhisperState, activeSegmentIndex, agentFromWire, agentMetaOf, applyLiveSegment, approvalErrorMessage, approvalFromWire, approvalIdOf, approvalStatusLabel, callAgentModeLabel, callAgentOfParticipant, callAgentStateLabel, callAgentStateOf, callLogDisplayFor, captureErrorMessage, captureLabel, chapterIndexAt, chaptersOf, citationLabel, citationsOf, clipFromWire, clipOf, createIndexedDbStorage, describeCallLog, describeRecordingNotice, escalationErrorMessage, escalationStatusLabel, findInText, formatCallDuration, formatCallLogPreview, formatCallSummaryPreview, formatClock, formatDue, formatRecordingNoticePreview, formatTimeRange, groupTranscript, isCallLogMessage, isMessageVisibleTo, isServiceParticipant, isTombstone, meetingsErrorMessage, memoryStorage, mergeMessage, messageAgent, momentOf, parseCallLog, parseCallLogBody, parseCallSummary, parseRecordingNotice, parseRecordingNoticeBody, recordingNoticeDisplayFor, silencesFromSegments, silencesOf, skipSilenceTarget, speakerName, summaryFromWire, summaryStatusText, summaryStyleLabel, toTombstone, toolLabel, whisperErrorMessage, whisperHintKindLabel } from '@poolse/sdk';
4
4
  import * as react from 'react';
5
5
  import { ReactNode } from 'react';
@@ -1267,8 +1267,11 @@ interface UseCallReactions {
1267
1267
  reactions: CallReaction[];
1268
1268
  send: (emoji: string) => Promise<boolean>;
1269
1269
  }
1270
- /** Reactions floating over a call (CL6). `room` is `useCallRoom(…).room`. */
1271
- declare function useCallReactions(room: CallRoom | null, opts?: {
1270
+ /**
1271
+ * Reactions floating over a call (CL6). `room` is `useCallRoom(…).room`,
1272
+ * or @poolse/native's `callData` on phones.
1273
+ */
1274
+ declare function useCallReactions(room: CallDataChannel | null, opts?: {
1272
1275
  visibleMs?: number;
1273
1276
  max?: number;
1274
1277
  }): UseCallReactions;
@@ -1277,8 +1280,11 @@ interface UseScreenAnnotations {
1277
1280
  /** The live layer, to draw on (`begin` / `extend` / `end` / `pointer` / `clear`). */
1278
1281
  annotations: ScreenAnnotations | null;
1279
1282
  }
1280
- /** The pointer and drawing layer over `sharerUserId`'s shared screen (CL4). */
1281
- declare function useScreenAnnotations(room: CallRoom | null, sharerUserId: string | null, opts?: {
1283
+ /**
1284
+ * The pointer and drawing layer over `sharerUserId`'s shared screen
1285
+ * (CL4). `room` is `useCallRoom(…).room`, or @poolse/native's `callData`.
1286
+ */
1287
+ declare function useScreenAnnotations(room: CallDataChannel | null, sharerUserId: string | null, opts?: {
1282
1288
  fadeMs?: number;
1283
1289
  }): UseScreenAnnotations;
1284
1290
  /**
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Poolse, PoolseConfig, TrackActivityOptions, Conversation, Uuid, UnreadTotals, OutboxEntry, Me, ConversationCreateRequest, Membership, MemberRole, Message, MessageCreateRequest, Presence, RealtimeStatus, Attachment, AttachmentUploadInput, PoolseUserProfile, AgentInfo, AppEvent, CallRoom, CallBackground, CallDisconnectReason, CallRoomStatus, CallParticipant, CameraFacing, CallDeviceKind, CallDevice, LiveKitModule, TrackProcessorsModule, LiveCall, Agenda, AgendaItem, BreakoutSession, BreakoutRoom, BreakoutPlan, RoomSession, CallMeeting, MeetingAttendee, ParticipantQuality, CallReaction, LobbyState, MarkedMoment, Question, QuestionStatus, MyRoom, RoomPresenceEntry, AnnotationState, ScreenAnnotations, StageState, StageRole, WhiteboardItem, WhiteboardModel, CallQualityReport, YjsModule, WhiteboardAccess, CallRecordingState, CallTranscriptionState, ConsentDecision, Recording, RecordingMode, LiveTranscriptSegment, Transcript, TranscriptWithSegments, RecordingStartedEvent, RecordingChangedEvent, RecordingConsentEvent, TranscriptChangedEvent, AgentApproval, AgentBrief, AgentBriefInput, CallAgent, AgentProfile, CallAgentMode, AgentSaid, AgentEscalation, EscalationReply, WhisperState, WhisperHint, ConversationAgent, AgentScopeUpdate, AgentScope, Followup, MemoryFact, MemoryKind, FollowupStatus, MeetingAnswer, CallSummary, Clip, RecordingPlayback, CatchUp, CatchUpRequest, Poll, ScheduledMessage, ScheduleMessageRequest, MessageTranslation, AttachmentKind } from '@poolse/sdk';
2
+ import { Poolse, PoolseConfig, TrackActivityOptions, Conversation, Uuid, UnreadTotals, OutboxEntry, Me, ConversationCreateRequest, Membership, MemberRole, Message, MessageCreateRequest, Presence, RealtimeStatus, Attachment, AttachmentUploadInput, PoolseUserProfile, AgentInfo, AppEvent, CallRoom, CallBackground, CallDisconnectReason, CallRoomStatus, CallParticipant, CameraFacing, CallDeviceKind, CallDevice, LiveKitModule, TrackProcessorsModule, LiveCall, Agenda, AgendaItem, BreakoutSession, BreakoutRoom, BreakoutPlan, RoomSession, CallMeeting, MeetingAttendee, ParticipantQuality, CallReaction, LobbyState, MarkedMoment, Question, QuestionStatus, MyRoom, RoomPresenceEntry, AnnotationState, ScreenAnnotations, StageState, StageRole, WhiteboardItem, WhiteboardModel, CallQualityReport, CallDataChannel, YjsModule, WhiteboardAccess, CallRecordingState, CallTranscriptionState, ConsentDecision, Recording, RecordingMode, LiveTranscriptSegment, Transcript, TranscriptWithSegments, RecordingStartedEvent, RecordingChangedEvent, RecordingConsentEvent, TranscriptChangedEvent, AgentApproval, AgentBrief, AgentBriefInput, CallAgent, AgentProfile, CallAgentMode, AgentSaid, AgentEscalation, EscalationReply, WhisperState, WhisperHint, ConversationAgent, AgentScopeUpdate, AgentScope, Followup, MemoryFact, MemoryKind, FollowupStatus, MeetingAnswer, CallSummary, Clip, RecordingPlayback, CatchUp, CatchUpRequest, Poll, ScheduledMessage, ScheduleMessageRequest, MessageTranslation, AttachmentKind } from '@poolse/sdk';
3
3
  export { APPROVAL_REASON_MAX, ASK_QUESTION_MAX, AgentApproval, AgentBrief, AgentBriefInput, AgentEscalation, AgentInfo, AgentMessageKind, AgentMeta, AgentProfile, AgentSaid, AgentScope, AgentScopeUpdate, ApiError, ApiErrorCode, AppEvent, ApprovalDetail, ApprovalStatus, Attachment, AttachmentStatus, AttachmentUploadInput, AttachmentUploadRequest, AttachmentUploadResponse, AuthError, BRIEF_RULE_MAX, BRIEF_TEXT_MAX, CallAgent, CallAgentMode, CallAgentState, CallAgentStatus, CallEndReason, CallLog, CallLogDisplay, CallLogEntry, CallLogMedia, CallMissedEntry, CallParticipantStatus, CallRecordingState, CallSummary, CallTranscriptionState, Citation, CitationType, Clip, ClipInfo, ClipStatus, ConsentDecision, Conversation, ConversationAgent, ConversationCreateRequest, ConversationReadEvent, ConversationRecordingSettings, DEFAULT_DOC_LIMITS, DestroyOptions, DeviceKind, DocChannel, DocClosedReason, DocEditor, DocJoinInfo, DocLimits, DocPushError, DocRights, ESCALATION_ANSWER_MAX, EscalationDecision, EscalationReply, EscalationStatus, FollowUpDraft, Followup, FollowupStatus, LinkPreview, LinkPreviewType, LiveCall, LiveCallMember, LiveTranscriptSegment, LocalMessageStatus, Me, MeetingAnswer, MeetingCallRef, MeetingCitation, MeetingMoment, MemberRole, Membership, MemoryFact, MemoryKind, Message, MessageCreateRequest, MessageDiscardedError, MessageEdit, MessageEditList, MessageQueuedError, MessageType, MessageUpdateRequest, NetworkError, NotificationPreferences, NotifyLevel, OutboxEntry, OwnMembership, OwnMembershipUpdateRequest, PLAYBACK_RATES, POOLSE_SERVICE_IDENTITY_PREFIX, PlaybackRate, Poolse, PoolseConfig, PoolseError, PoolseStorage, PoolseUserProfile, Presence, PresenceActivity, PresenceChangedEvent, PresenceState, RateLimitedError, ReadReceiptsState, RealtimeStatus, Recording, RecordingChapter, RecordingDownload, RecordingMode, RecordingNotice, RecordingNoticeDisplay, RecordingPlayback, RecordingStatus, RoomSession, SilenceRange, SummaryActionItem, SummaryItem, SummaryMoment, SummarySection, SummaryStatus, ThreadParticipant, ThreadUpdatedEvent, TimingEvent, TrackActivityOptions, Transcript, TranscriptBlock, TranscriptSegment, TranscriptSpeaker, TranscriptWithSegments, UnreadSummary, UnreadTotals, Uuid, WhisperHint, WhisperHintKind, WhisperSource, WhisperState, activeSegmentIndex, agentFromWire, agentMetaOf, applyLiveSegment, approvalErrorMessage, approvalFromWire, approvalIdOf, approvalStatusLabel, callAgentModeLabel, callAgentOfParticipant, callAgentStateLabel, callAgentStateOf, callLogDisplayFor, captureErrorMessage, captureLabel, chapterIndexAt, chaptersOf, citationLabel, citationsOf, clipFromWire, clipOf, createIndexedDbStorage, describeCallLog, describeRecordingNotice, escalationErrorMessage, escalationStatusLabel, findInText, formatCallDuration, formatCallLogPreview, formatCallSummaryPreview, formatClock, formatDue, formatRecordingNoticePreview, formatTimeRange, groupTranscript, isCallLogMessage, isMessageVisibleTo, isServiceParticipant, isTombstone, meetingsErrorMessage, memoryStorage, mergeMessage, messageAgent, momentOf, parseCallLog, parseCallLogBody, parseCallSummary, parseRecordingNotice, parseRecordingNoticeBody, recordingNoticeDisplayFor, silencesFromSegments, silencesOf, skipSilenceTarget, speakerName, summaryFromWire, summaryStatusText, summaryStyleLabel, toTombstone, toolLabel, whisperErrorMessage, whisperHintKindLabel } from '@poolse/sdk';
4
4
  import * as react from 'react';
5
5
  import { ReactNode } from 'react';
@@ -1267,8 +1267,11 @@ interface UseCallReactions {
1267
1267
  reactions: CallReaction[];
1268
1268
  send: (emoji: string) => Promise<boolean>;
1269
1269
  }
1270
- /** Reactions floating over a call (CL6). `room` is `useCallRoom(…).room`. */
1271
- declare function useCallReactions(room: CallRoom | null, opts?: {
1270
+ /**
1271
+ * Reactions floating over a call (CL6). `room` is `useCallRoom(…).room`,
1272
+ * or @poolse/native's `callData` on phones.
1273
+ */
1274
+ declare function useCallReactions(room: CallDataChannel | null, opts?: {
1272
1275
  visibleMs?: number;
1273
1276
  max?: number;
1274
1277
  }): UseCallReactions;
@@ -1277,8 +1280,11 @@ interface UseScreenAnnotations {
1277
1280
  /** The live layer, to draw on (`begin` / `extend` / `end` / `pointer` / `clear`). */
1278
1281
  annotations: ScreenAnnotations | null;
1279
1282
  }
1280
- /** The pointer and drawing layer over `sharerUserId`'s shared screen (CL4). */
1281
- declare function useScreenAnnotations(room: CallRoom | null, sharerUserId: string | null, opts?: {
1283
+ /**
1284
+ * The pointer and drawing layer over `sharerUserId`'s shared screen
1285
+ * (CL4). `room` is `useCallRoom(…).room`, or @poolse/native's `callData`.
1286
+ */
1287
+ declare function useScreenAnnotations(room: CallDataChannel | null, sharerUserId: string | null, opts?: {
1282
1288
  fadeMs?: number;
1283
1289
  }): UseScreenAnnotations;
1284
1290
  /**