@hipnation-truth/sdk 0.20.0 → 0.21.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/react.d.ts +15 -0
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
package/dist/react.d.ts
CHANGED
|
@@ -92,6 +92,15 @@ interface ConversationListItem {
|
|
|
92
92
|
lastMessageKind: string | null;
|
|
93
93
|
/** `"inbound" | "outbound"` of the previewed message. */
|
|
94
94
|
lastDirection: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* Call lifecycle state when the previewed event is a call/voicemail:
|
|
97
|
+
* `"missed" | "connected" | "ringing" | "hangup" | "voicemail" |
|
|
98
|
+
* "voicemail_uploaded"`. Lets the inbox show "Missed call" / "Call in
|
|
99
|
+
* progress" / "Voicemail" instead of a bare "Call". Null for SMS.
|
|
100
|
+
*/
|
|
101
|
+
lastCallState: string | null;
|
|
102
|
+
/** Call duration in seconds (calls only). */
|
|
103
|
+
lastCallDurationSec: number | null;
|
|
95
104
|
/** Caller's unread count for this conversation. */
|
|
96
105
|
unreadCount: number;
|
|
97
106
|
/** ISO timestamp of when the caller last marked the conversation read. */
|
|
@@ -163,6 +172,12 @@ interface ConversationTaskRow {
|
|
|
163
172
|
* patient handle without a second reactive query.
|
|
164
173
|
*/
|
|
165
174
|
interface ConversationTaskForUserRow extends ConversationTaskRow {
|
|
175
|
+
/**
|
|
176
|
+
* Task title — only standalone (New-Task-modal) tasks have one; conversation
|
|
177
|
+
* tasks have none (the `description` is the content). When set, the My Tasks
|
|
178
|
+
* card shows it as the headline with the real `description` below it.
|
|
179
|
+
*/
|
|
180
|
+
title: string | null;
|
|
166
181
|
/** Normalized `(patient_phone | provider_phone)` for the task's conversation. */
|
|
167
182
|
phonePair: string | null;
|
|
168
183
|
/**
|