@sparkvault/sdk-js 15.11.9 → 15.13.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.
@@ -76,12 +76,20 @@ export interface NotifyInboxRow {
76
76
  * building a URL from the code.
77
77
  */
78
78
  pointer_url?: string;
79
+ /**
80
+ * True for a SEALED send's row, for good, whether or not its reveal still
81
+ * opens. A row is plain text, its `body` the whole message, only when
82
+ * `sealed` is false and it is not `recalled`; a sealed row's `body` is its
83
+ * sender's instructions about the reveal.
84
+ */
85
+ sealed: boolean;
79
86
  /**
80
87
  * True only when there is a secure part left to reveal — exactly when
81
- * `sparklink_code` is present. `false` does NOT mean "cleartext row": a sealed
82
- * row whose reveal no longer opens (opened, answered, expired or gone) is
83
- * unlocked too, and so is a recalled one, with nothing behind it. Branch on
84
- * `recalled` before treating an unlocked row as plain text.
88
+ * `sparklink_code` is present. `false` does NOT mean "cleartext row": a
89
+ * `sealed` row whose reveal no longer opens (opened, answered, expired or
90
+ * gone) is unlocked too, and so is a recalled one, with nothing behind it.
91
+ * Show such a sealed row as no longer available rather than its
92
+ * instructions, which describe a link that opens nothing.
85
93
  */
86
94
  locked: boolean;
87
95
  /**
@@ -822,9 +822,9 @@ export interface NotifySendSummary {
822
822
  state: NotifySendState;
823
823
  /**
824
824
  * The state of each of your organization's destinations the send was routed
825
- * to, in `NotifyDestinationKind` order (empty when none was), as
826
- * `getSendStatus` reports it; null when the send's delivery record is gone
827
- * (`state: 'unknown'`).
825
+ * to, in `NotifyDestinationKind` order (empty when none was), with the reason
826
+ * beside a `skipped` or `failed` one, as `getSendStatus` reports them; null
827
+ * when the send's delivery record is gone (`state: 'unknown'`).
828
828
  */
829
829
  destinations: NotifySendSummaryDestination[] | null;
830
830
  }
@@ -832,6 +832,8 @@ export interface NotifySendSummary {
832
832
  export interface NotifySendSummaryDestination {
833
833
  kind: NotifyDestinationKind;
834
834
  state: NotifyDestinationState;
835
+ /** Beside a `skipped` or `failed` state; null otherwise. */
836
+ reason: NotifyDestinationReason | null;
835
837
  }
836
838
  export interface ListNotifySendsOptions {
837
839
  /** Page size, 1-100 (server default 50). */