@hipnation-truth/sdk 0.17.0 → 0.17.2
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.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -0
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.ts +9 -0
- package/dist/react.js +1 -4
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
package/dist/react.d.ts
CHANGED
|
@@ -162,6 +162,15 @@ interface ConversationTaskForUserRow extends ConversationTaskRow {
|
|
|
162
162
|
* `seenBy.includes(userId)` to derive the per-user boolean.
|
|
163
163
|
*/
|
|
164
164
|
seenBy: string[];
|
|
165
|
+
/**
|
|
166
|
+
* Which backend table the task lives in:
|
|
167
|
+
* - `"conversation"` — `conversationTasks`, tied to a conversation.
|
|
168
|
+
* - `"standalone"` — the general `tasks` table (New Task modal with
|
|
169
|
+
* a patient but no conversation). For standalone rows
|
|
170
|
+
* `conversationId` is `""` and `phonePair` is `null`; status /
|
|
171
|
+
* priority mutations must route to the `tasks` resource.
|
|
172
|
+
*/
|
|
173
|
+
source: "conversation" | "standalone";
|
|
165
174
|
}
|
|
166
175
|
interface ConversationMessageRow {
|
|
167
176
|
kind: "call" | "sms";
|
package/dist/react.js
CHANGED
|
@@ -149,10 +149,7 @@ function toResult(value, skipped) {
|
|
|
149
149
|
};
|
|
150
150
|
}
|
|
151
151
|
function useActiveCalls(options) {
|
|
152
|
-
const result = (0, import_react.useQuery)(
|
|
153
|
-
listActiveRef,
|
|
154
|
-
options != null ? options : {}
|
|
155
|
-
);
|
|
152
|
+
const result = (0, import_react.useQuery)(listActiveRef, options != null ? options : {});
|
|
156
153
|
return toResult(result, false);
|
|
157
154
|
}
|
|
158
155
|
function useDialpadCallsForConversation(conversationId, options) {
|