@hipnation-truth/sdk 0.22.0 → 0.23.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 +9 -0
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
package/dist/react.d.ts
CHANGED
|
@@ -219,6 +219,15 @@ interface ConversationMessageRow {
|
|
|
219
219
|
mms: boolean;
|
|
220
220
|
mmsUrl: string | null;
|
|
221
221
|
messageStatus: string | null;
|
|
222
|
+
/**
|
|
223
|
+
* True while an outbound SMS is the optimistic local row inserted by the
|
|
224
|
+
* Truth `sendMessage` path and not yet reconciled by the Dialpad webhook
|
|
225
|
+
* (Truth #100). Cleared once the real event lands. Always `false` for calls
|
|
226
|
+
* and for reconciled rows. Clients should gate a "sending" affordance on
|
|
227
|
+
* THIS flag — not on `messageStatus === "optimistic"`, a value that is
|
|
228
|
+
* minted nowhere in the pipeline.
|
|
229
|
+
*/
|
|
230
|
+
optimistic: boolean;
|
|
222
231
|
occurredAt: string;
|
|
223
232
|
conversationId: string | null;
|
|
224
233
|
patientId: string | null;
|