@sparkvault/sdk-js 17.0.1 → 18.0.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.
Files changed (50) hide show
  1. package/README.md +8 -8
  2. package/dist/api-base.d.ts +2 -2
  3. package/dist/config.d.ts +1 -1
  4. package/dist/entropy/index.d.ts +2 -2
  5. package/dist/entropy/types.d.ts +1 -1
  6. package/dist/errors.d.ts +3 -3
  7. package/dist/http.d.ts +1 -1
  8. package/dist/index.cjs +255 -229
  9. package/dist/index.cjs.map +1 -1
  10. package/dist/index.d.ts +153 -161
  11. package/dist/index.mjs +255 -229
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/ingots/index.d.ts +10 -10
  14. package/dist/ingots/types.d.ts +3 -3
  15. package/dist/notify/index.d.ts +8 -8
  16. package/dist/notify/types.d.ts +10 -10
  17. package/dist/products/help-desk/client.d.ts +0 -4
  18. package/dist/products/help-desk/kb-types.d.ts +1 -2
  19. package/dist/products/help-desk/types.d.ts +1 -5
  20. package/dist/products/help-desk/widget-identity.d.ts +2 -2
  21. package/dist/products/identity/api.d.ts +5 -5
  22. package/dist/products/identity/dialog-launcher.d.ts +2 -2
  23. package/dist/products/identity/handlers/otp-handler.d.ts +1 -1
  24. package/dist/products/identity/handlers/passkey-handler.d.ts +4 -4
  25. package/dist/products/identity/index.d.ts +11 -11
  26. package/dist/products/identity/renderer.d.ts +10 -10
  27. package/dist/products/identity/types.d.ts +10 -10
  28. package/dist/products/identity/utils.d.ts +3 -3
  29. package/dist/products/identity/views/backup-verify.d.ts +3 -3
  30. package/dist/products/identity/views/error.d.ts +1 -1
  31. package/dist/products/identity/views/identity-input.d.ts +1 -1
  32. package/dist/products/identity/views/method-select.d.ts +1 -1
  33. package/dist/products/identity/views/origin-not-allowed.d.ts +2 -2
  34. package/dist/products/identity/views/passkey-auto.d.ts +1 -1
  35. package/dist/products/identity/views/product-not-configured.d.ts +2 -2
  36. package/dist/products/identity/views/service-unavailable.d.ts +1 -1
  37. package/dist/products/index.d.ts +1 -1
  38. package/dist/products/notify/index.d.ts +21 -21
  39. package/dist/products/notify/types.d.ts +65 -65
  40. package/dist/products/structured-ingots/types.d.ts +2 -2
  41. package/dist/sparks/index.d.ts +1 -1
  42. package/dist/sparkvault.js +1 -1
  43. package/dist/sparkvault.js.map +1 -1
  44. package/dist/utils/dom.d.ts +3 -3
  45. package/dist/vaults/index.d.ts +2 -2
  46. package/dist/vaults/types.d.ts +2 -2
  47. package/dist/vaults/upload/api.d.ts +14 -14
  48. package/dist/vaults/upload/renderer.d.ts +1 -1
  49. package/dist/vaults/upload/styles.d.ts +1 -1
  50. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Notify Product Types — the TENANT (sender) surface of `/v1/products/notify/*`.
2
+ * Notify Product Types: the TENANT (sender) surface of `/v1/products/notify/*`.
3
3
  *
4
4
  * Wire-shape convention, split deliberately and consistently:
5
5
  *
@@ -12,7 +12,7 @@
12
12
  * with `@sparkvault/sdk-mobile` and the first-party console. Do not remap them.
13
13
  * - **The config patch is the ONE exception on the input side**: it stays
14
14
  * snake_case verbatim. It is a partial PATCH against a server-validated schema
15
- * whose `categories` map is OPEN-KEYED — a tenant names its own topics
15
+ * whose `categories` map is OPEN-KEYED: a tenant names its own topics
16
16
  * (`weekly_newsletter`) and those keys are addressed in send payloads and
17
17
  * rendered into recipient-facing preference URLs. Case-mapping the tree would
18
18
  * silently corrupt them, so the config travels exactly as the server defines it.
@@ -47,12 +47,12 @@ export type NotifyDestinationKind = 'webhook' | 'slack' | 'teams';
47
47
  /**
48
48
  * One of a send's destinations, as its status and its history summary report it.
49
49
  *
50
- * - `pending` — the post has not settled yet (it is queued, or waits to be tried again).
51
- * - `delivered` — the destination accepted the post.
52
- * - `skipped` — nothing was posted, and trying again would not post it.
53
- * - `failed` — the post was given up on.
54
- * - `recalled` — the whole send was recalled before the post settled.
55
- * - `unknown` — the send's delivery record is gone (past its history horizon).
50
+ * - `pending`: the post has not settled yet (it is queued, or waits to be tried again).
51
+ * - `delivered`: the destination accepted the post.
52
+ * - `skipped`: nothing was posted, and trying again would not post it.
53
+ * - `failed`: the post was given up on.
54
+ * - `recalled`: the whole send was recalled before the post settled.
55
+ * - `unknown`: the send's delivery record is gone (past its history horizon).
56
56
  */
57
57
  export type NotifyDestinationState = 'pending' | 'delivered' | 'skipped' | 'failed' | 'recalled' | 'unknown';
58
58
  /**
@@ -135,7 +135,7 @@ export interface NotifyDestinationTestResult {
135
135
  * - `sealed` (default): content is sealed into a Spark behind a single-use
136
136
  * SparkLink; channels carry only the pointer ("tap to view").
137
137
  * - `plaintext`: a short non-confidential body rendered INLINE in the channel
138
- * payload. Fail-closed — at most 50 recipients, never allowed on a
138
+ * payload. Fail-closed: at most 50 recipients, never allowed on a
139
139
  * confidential category, and on the inline-capable channels alone, which
140
140
  * are all six of an organization's (`in_app`, `email`, `sms`, `push`,
141
141
  * `web_push`, `voice`).
@@ -145,7 +145,7 @@ export type NotifyDeliveryMode = 'sealed' | 'plaintext';
145
145
  * What a recipient must prove before the SparkLink reveals its content.
146
146
  *
147
147
  * Three levels, because three is what the Identity ceremony can achieve, and the
148
- * bar is enforced on the method the recipient ACHIEVED — a passkey-level grant is
148
+ * bar is enforced on the method the recipient ACHIEVED: a passkey-level grant is
149
149
  * never satisfied by an identifier session. A level the reveal cannot satisfy is
150
150
  * not a stronger guarantee; it is a send nobody can open.
151
151
  *
@@ -155,7 +155,7 @@ export type NotifyDeliveryMode = 'sealed' | 'plaintext';
155
155
  * is a bearer token.
156
156
  */
157
157
  export type NotifyVerificationLevel = 'none' | 'identifier' | 'passkey';
158
- /** What the recipient does at the reveal — the interaction the receipt attests to. */
158
+ /** What the recipient does at the reveal: the interaction the receipt attests to. */
159
159
  export type NotifyInteraction = 'view' | 'acknowledge' | 'sign' | 'approve' | 'reply';
160
160
  /**
161
161
  * The fixed categories the five presets classify their sends as. Each is seeded
@@ -255,7 +255,7 @@ export interface NotifySendContent {
255
255
  }
256
256
  /**
257
257
  * An EXISTING ingot to point the grant at instead of sealing new content. One
258
- * persistent asset carries a single grant, so an ingot send is 1:1 — it targets
258
+ * persistent asset carries a single grant, so an ingot send is 1:1: it targets
259
259
  * exactly one recipient.
260
260
  *
261
261
  * The recipient opens the file in the SparkVault file viewer, which has no
@@ -266,7 +266,7 @@ export interface NotifySendContent {
266
266
  * the sender must hold a Full License (403 `LICENSE_REQUIRED`).
267
267
  *
268
268
  * Only a holder of the vault's key may publish its files, so the send carries
269
- * the unsealed vault's read-write VAT as `X-Vault-Access-Token` — exactly what
269
+ * the unsealed vault's read-write VAT as `X-Vault-Access-Token`, exactly what
270
270
  * the vault's own sharing calls demand. A missing, unknown or revoked VAT is 401
271
271
  * `AUTHENTICATION_ERROR`; an expired one 403 (`details.reason: 'VAT_EXPIRED'`,
272
272
  * unseal again and retry), a read-only one 403 (`'VAT_READ_ONLY'`), and one for
@@ -316,7 +316,7 @@ export interface NotifyEscalation {
316
316
  export interface CreateNotifySendOptions {
317
317
  /**
318
318
  * Idempotency key, `^[A-Za-z0-9_.:-]{1,128}$`. Replaying an existing id returns
319
- * the stored send unchanged — never re-sealed, never re-delivered — with
319
+ * the stored send unchanged (never re-sealed, never re-delivered) with
320
320
  * `idempotent: true`. Generated (`ntsnd_*`) when absent. A replay must repeat
321
321
  * what the recipient meets (the delivery mode, the content or ingot, the
322
322
  * recipients and their handles, title, category, instructions, policy,
@@ -357,7 +357,7 @@ export interface CreateNotifySendOptions {
357
357
  */
358
358
  title?: string;
359
359
  /**
360
- * REQUIRED. The category this send is classified as — one of your configured
360
+ * REQUIRED. The category this send is classified as: one of your configured
361
361
  * `categories`, or a preset category. It decides the channel ladder, whether a
362
362
  * recipient may mute it, and whether the mail carries an unsubscribe
363
363
  * affordance, so the server rejects a send without one rather than guessing:
@@ -410,7 +410,7 @@ export interface NotifySendResult {
410
410
  status: string;
411
411
  /**
412
412
  * Present (and `true`) ONLY on an idempotent replay of an existing `send_id`.
413
- * The first accept OMITS the field entirely — it is never `false`.
413
+ * The first accept OMITS the field entirely; it is never `false`.
414
414
  */
415
415
  idempotent?: boolean;
416
416
  }
@@ -433,7 +433,7 @@ export type NotifyInboxView = NotificationInboxState;
433
433
  /** Terminal display states applicable to a single row. */
434
434
  export type NotifyInboxMarkState = NotificationMarkState;
435
435
  /**
436
- * States a BULK drain can apply. `archived` is per-row only — it has no sparse
436
+ * States a BULK drain can apply. `archived` is per-row only: it has no sparse
437
437
  * GSI, so bulk-archiving would require a full-partition scan.
438
438
  */
439
439
  export type NotifyInboxBulkMarkState = NotificationBulkMarkState;
@@ -486,14 +486,14 @@ export interface MarkNotifyInboxAllResponse {
486
486
  * The one answer for a recipient, derived from their row (never stored, so it
487
487
  * cannot drift from the facts it summarizes).
488
488
  *
489
- * - `pending` — still in flight, or not yet driven: the escalation ladder has a
489
+ * - `pending`: still in flight, or not yet driven; the escalation ladder has a
490
490
  * step left to run and nothing has settled them, whatever its steps so far
491
491
  * recorded short of a delivery. A recipient whose first channel declined
492
492
  * stays here while the next one waits its turn.
493
- * - `delivered` — a channel accepted it and no provider has repudiated that, or
493
+ * - `delivered`: a channel accepted it and no provider has repudiated that, or
494
494
  * the recipient opened the sealed content or marked it seen and a later
495
495
  * escalation step recorded that before any recall.
496
- * - `undeliverable` — the ladder ran its course and every channel attempted
496
+ * - `undeliverable`: the ladder ran its course and every channel attempted
497
497
  * declined (no handle, bounced, not implemented). The recipient cannot be
498
498
  * reached as addressed. A hard bounce of their only delivery moves them here
499
499
  * at once, even with a step left to run (or to `failed`, if another channel
@@ -503,20 +503,20 @@ export interface MarkNotifyInboxAllResponse {
503
503
  * address may be fine: the grant can expire before their first step goes, or
504
504
  * while their email retries or is deferred, and then `channel_outcomes`
505
505
  * record no decline.
506
- * - `failed` — the ladder ran its course (or their grant expired, or a hard
506
+ * - `failed`: the ladder ran its course (or their grant expired, or a hard
507
507
  * bounce of their only delivery settled them), every attempt ended, and a
508
508
  * channel gave up: it exhausted its retries, their deferred email, text or
509
509
  * call could not go within 24 hours of the send, or a text or call's answer
510
510
  * was lost after the carrier took it (it may have reached them). OUR
511
511
  * transport gave up; the address may be perfectly good.
512
- * - `suppressed` — taken out of the ladder by a decision, not a fault. Usually
512
+ * - `suppressed`: taken out of the ladder by a decision, not a fault. Usually
513
513
  * the PERSON chose silence (site off, category muted, every offered channel
514
514
  * opted out, your site blocked on auth.sv for a sealed send, or the address
515
515
  * unsubscribed); otherwise your account was suspended or began deleting before
516
516
  * their next queued step came due. Not something to route around.
517
- * - `rate_limited` — skipped by the per-recipient abuse ceiling for that minute,
517
+ * - `rate_limited`: skipped by the per-recipient abuse ceiling for that minute,
518
518
  * decided once per send and recipient.
519
- * - `recalled` — the sender took it back, and nothing on this recipient's row
519
+ * - `recalled`: the sender took it back, and nothing on this recipient's row
520
520
  * outranks the recall. The reveal is revoked and no further delivery will be
521
521
  * attempted. Recall cannot undo what already happened, so it ranks BELOW every
522
522
  * answer the row already records: `delivered` (a channel reached them, or
@@ -524,7 +524,7 @@ export interface MarkNotifyInboxAllResponse {
524
524
  * `rate_limited`, and `undeliverable` / `failed` when no channel could reach
525
525
  * them or their ladder ran its course with every channel declining or giving
526
526
  * up before the recall. A recall that stops a ladder before it runs its course
527
- * reads `recalled`, whatever its earlier steps recorded — so a recipient whose
527
+ * reads `recalled`, whatever its earlier steps recorded, so a recipient whose
528
528
  * first channel skipped them and who was recalled before their next channel
529
529
  * reads `recalled`. It also covers recipients with no row
530
530
  * yet: everyone a whole-audience recall stopped the fan-out before reaching,
@@ -535,18 +535,18 @@ export type NotifyRecipientState = 'pending' | 'delivered' | 'undeliverable' | '
535
535
  * Why the pipeline took a recipient out of the ladder, as a fixed token (never a
536
536
  * transport's own words, so nothing recipient-identifying rides it).
537
537
  *
538
- * - `no_channels` — the send offered no usable channel at all.
539
- * - `unreachable` — every offered channel lacks a handle for them.
540
- * - `global_off` — the person switched this sender off entirely.
541
- * - `category_muted` — the person muted this category.
542
- * - `all_channels_opted_out` — the person opted out of every channel offered.
543
- * - `site_blocked` — the person blocked your site on auth.sv, and the send was
544
- * sealed: opening it asks them to prove the address it was sent to, a proof
538
+ * - `no_channels`: the send offered no usable channel at all.
539
+ * - `unreachable`: every offered channel lacks a handle for them.
540
+ * - `global_off`: the person switched this sender off entirely.
541
+ * - `category_muted`: the person muted this category.
542
+ * - `all_channels_opted_out`: the person opted out of every channel offered.
543
+ * - `site_blocked`: the person blocked your site on auth.sv, and the send was
544
+ * sealed, so opening it asks them to prove the address it was sent to, a proof
545
545
  * of address that signs them in to nothing and opens no session, and their
546
546
  * block refuses that proof.
547
- * - `identifier_unsubscribed` — a transport reported, mid-ladder, that the
547
+ * - `identifier_unsubscribed`: a transport reported, mid-ladder, that the
548
548
  * person unsubscribed the address the send was addressed to.
549
- * - `account_unavailable` — your account was suspended or began deleting before
549
+ * - `account_unavailable`: your account was suspended or began deleting before
550
550
  * the recipient's next queued step came due, so their ladder ended there.
551
551
  *
552
552
  * The first two roll up to the `undeliverable` state (they need an address that
@@ -556,7 +556,7 @@ export type NotifyRecipientState = 'pending' | 'delivered' | 'undeliverable' | '
556
556
  export type NotifySuppressionReason = 'no_channels' | 'unreachable' | 'global_off' | 'category_muted' | 'all_channels_opted_out' | 'site_blocked' | 'identifier_unsubscribed' | 'account_unavailable';
557
557
  export interface NotifySendStatusRecipient {
558
558
  recipient_id: string;
559
- /** The derived per-recipient state — the field to branch on. */
559
+ /** The derived per-recipient state: the field to branch on. */
560
560
  state: NotifyRecipientState;
561
561
  /** True once the recipient's first delivery step was enqueued. */
562
562
  enqueued: boolean;
@@ -580,7 +580,7 @@ export interface NotifySendStatusRecipient {
580
580
  */
581
581
  rate_limited_at: number | null;
582
582
  /**
583
- * The latest dispatch outcome per attempted channel — the difference between a
583
+ * The latest dispatch outcome per attempted channel: the difference between a
584
584
  * notification that actually left the building and one whose every channel
585
585
  * declined. `{}` until the first dispatch is recorded. The adapter `detail`
586
586
  * string is deliberately NOT carried here: it can echo a provider response body,
@@ -597,7 +597,7 @@ export interface NotifySendStatusRecipient {
597
597
  | 'skipped' | 'not_implemented' | 'retryable'
598
598
  /**
599
599
  * An email, text or call step that could not go yet, tried again at
600
- * `retry_at` for its `reason` — not terminal: a step that cannot go within 24 hours
600
+ * `retry_at` for its `reason`. Not terminal: a step that cannot go within 24 hours
601
601
  * of the send is recorded `failed` instead. Left out once the
602
602
  * recipient's record holds a stop its step meets when it wakes (they
603
603
  * saw the notification, it was recalled, or their ladder already
@@ -611,7 +611,7 @@ export interface NotifySendStatusRecipient {
611
611
  * within 24 hours of the send, or was a text, call or email handed
612
612
  * on whose answer was lost (`reason` `possibly_delivered`: it may
613
613
  * have reached the person, so it is never sent again, and a new send
614
- * to them could reach them twice) — terminal, unlike `retryable`.
614
+ * to them could reach them twice): terminal, unlike `retryable`.
615
615
  * The ladder moves on to its next channel.
616
616
  */
617
617
  | 'failed'
@@ -670,7 +670,7 @@ export interface NotifySendStatusRecipient {
670
670
  * Every attempt is terminal, nothing delivered, and at least one channel's
671
671
  * outcome is `failed`: it exhausted its retries, was deferred and could not
672
672
  * go within 24 hours of the send, or was a text or call whose answer was
673
- * lost — a transport problem on our side, not an address that cannot
673
+ * lost. It is a transport problem on our side, not an address that cannot
674
674
  * receive. A transport fact about the attempts so
675
675
  * far, like `undeliverable`.
676
676
  */
@@ -694,7 +694,7 @@ export interface NotifySendStatusCounts {
694
694
  */
695
695
  deferred: number;
696
696
  /**
697
- * The seven state counters below PARTITION the audience — one per
697
+ * The seven state counters below PARTITION the audience, one per
698
698
  * `NotifyRecipientState`:
699
699
  * `pending + delivered + undeliverable + failed + suppressed + rate_limited + recalled === total`.
700
700
  * (`enqueued` / `seen` / `read` / `archived` / `deferred` are independent
@@ -724,7 +724,7 @@ export interface NotifySendStatusCounts {
724
724
  /**
725
725
  * The sender's per-recipient delivery rollup. Metadata only by construction: it
726
726
  * never carries the SparkLink pointer, policy internals, or a contact you did not
727
- * supply — `recipient_id` is the recipient's key (see `NotifyRecipientRef`), so a
727
+ * supply. `recipient_id` is the recipient's key (see `NotifyRecipientRef`), so a
728
728
  * recipient addressed by email alone appears as that address, trimmed and
729
729
  * lowercased. Address recipients as `{ id, email }` to keep their addresses out
730
730
  * of the rollup.
@@ -732,17 +732,17 @@ export interface NotifySendStatusCounts {
732
732
  export interface NotifySendStatus {
733
733
  send_id: string;
734
734
  /**
735
- * DERIVED, never stored — and by the SAME function the send-history list uses,
735
+ * DERIVED, never stored, and by the SAME function the send-history list uses,
736
736
  * so the two never disagree about what a state means.
737
737
  *
738
- * - `unknown` — no audience denominator, so no honest statement about "all
738
+ * - `unknown`: no audience denominator, so no honest statement about "all
739
739
  * recipients" can be made.
740
- * - `pending` — accepted; nothing handed to delivery yet.
741
- * - `sending` — in flight.
742
- * - `delivered` — every recipient settled delivered, whether a channel
740
+ * - `pending`: accepted; nothing handed to delivery yet.
741
+ * - `sending`: in flight.
742
+ * - `delivered`: every recipient settled delivered, whether a channel
743
743
  * accepted it or their engagement was recorded (see the recipient `state`).
744
- * - `partial` — every recipient resolved; some delivered, some did not.
745
- * - `failed` — every recipient resolved and none delivered.
744
+ * - `partial`: every recipient resolved; some delivered, some did not.
745
+ * - `failed`: every recipient resolved and none delivered.
746
746
  *
747
747
  * A whole-audience recall resolves every recipient a channel had not already
748
748
  * reached, so a recalled send reads `partial`, `failed` when nothing had been
@@ -803,7 +803,7 @@ export interface NotifySendStatusDestination {
803
803
  target_name: string | null;
804
804
  }
805
805
  /**
806
- * A send's delivery state, DERIVED from its counters — the send row itself is
806
+ * A send's delivery state, DERIVED from its counters: the send row itself is
807
807
  * write-once, so there is no stored lifecycle to read.
808
808
  *
809
809
  * `failed` counts every recipient who reached a terminal answer without being
@@ -841,10 +841,10 @@ export interface NotifySendSummary {
841
841
  title: string | null;
842
842
  category: string | null;
843
843
  delivery: NotifyDeliveryMode | null;
844
- /** The sender name recipients saw. Display only — nothing routes on it. */
844
+ /** The sender name recipients saw. Display only: nothing routes on it. */
845
845
  display_sender_name: string | null;
846
846
  /**
847
- * Audience size at accept — the denominator of the counters below. Null or 0
847
+ * Audience size at accept: the denominator of the counters below. Null or 0
848
848
  * only on a send that carries no audience count, which reads
849
849
  * `state: 'unknown'`.
850
850
  */
@@ -904,15 +904,15 @@ export interface ListNotifySendsResponse {
904
904
  * Recall depth.
905
905
  * - `grant` (default): revoke the access grant; the content survives.
906
906
  * - `content`: hard-burn the sealed spark so the content is unreadable for
907
- * everyone, then drop the grant. Spark-backed sends only — an ingot send
908
- * references the owner's durable vault content and can only be grant-recalled:
907
+ * everyone, then drop the grant. Spark-backed sends only: an ingot send
908
+ * references the owner's durable vault content and can only be grant-recalled, so
909
909
  * a `content` recall of one is a 400, refused before anything is revoked or
910
910
  * stopped.
911
911
  */
912
912
  export type NotifyRecallMode = 'grant' | 'content';
913
913
  export interface RecallNotifySendOptions {
914
914
  /**
915
- * Recall only these recipients. OMIT to recall the whole audience — an empty
915
+ * Recall only these recipients. OMIT to recall the whole audience. An empty
916
916
  * array is rejected rather than guessed at, because "nobody" and "everybody"
917
917
  * are both plausible readings of it on a destructive call.
918
918
  */
@@ -922,7 +922,7 @@ export interface RecallNotifySendOptions {
922
922
  export interface RecallNotifySendResponse {
923
923
  send_id: string;
924
924
  mode: NotifyRecallMode;
925
- /** Grants revoked. An already-revoked grant counts here — recall is idempotent. */
925
+ /** Grants revoked. An already-revoked grant counts here: recall is idempotent. */
926
926
  recalled: number;
927
927
  failed: number;
928
928
  /** Requested recipient ids that are not on this send's audience. */
@@ -1006,8 +1006,8 @@ export interface ListNotifyReceiptsResponse {
1006
1006
  receipts: NotifyReceipt[];
1007
1007
  /**
1008
1008
  * Next-page cursor, or null on the last page. A page can still come back SHORT
1009
- * of `limit` (even empty) while more rows follow — `interaction` narrows with
1010
- * a filter applied after each page is read — so follow the cursor; never treat
1009
+ * of `limit` (even empty) while more rows follow (`interaction` narrows with
1010
+ * a filter applied after each page is read), so follow the cursor; never treat
1011
1011
  * a short page as the end.
1012
1012
  */
1013
1013
  cursor: string | null;
@@ -1018,14 +1018,14 @@ export interface NotifySendReceiptsResponse {
1018
1018
  /**
1019
1019
  * True when the call's page cap stopped the walk before it reached the send's
1020
1020
  * creation, so more receipts of this send may follow: re-call with `cursor`.
1021
- * False means `receipts` is the send's whole set — no receipt of a send
1021
+ * False means `receipts` is the send's whole set: no receipt of a send
1022
1022
  * predates it, so the walk never reads further back.
1023
1023
  */
1024
1024
  truncated: boolean;
1025
1025
  /** Where the next call resumes a truncated walk; null when it is complete. */
1026
1026
  cursor: string | null;
1027
1027
  }
1028
- /** One notification topic. `required: true` is the compliance floor — unmutable by the recipient. */
1028
+ /** One notification topic. `required: true` is the compliance floor, unmutable by the recipient. */
1029
1029
  export interface NotifyConfigCategory {
1030
1030
  /** ≤60 chars. */
1031
1031
  label?: string;
@@ -1066,7 +1066,7 @@ export interface NotifyConfigReliability {
1066
1066
  /**
1067
1067
  * Notifications per recipient per minute, 1-600, counted per person: a
1068
1068
  * recipient counts against its own id and each email or phone it names. An
1069
- * abuse/bug backstop the tenant cannot switch off — 0 is rejected.
1069
+ * abuse/bug backstop the tenant cannot switch off: 0 is rejected.
1070
1070
  */
1071
1071
  rate_limit_per_recipient_per_minute?: number;
1072
1072
  }
@@ -1088,7 +1088,7 @@ export interface NotifyConfigSecurity {
1088
1088
  mandatory_seal_categories?: string[];
1089
1089
  }
1090
1090
  /**
1091
- * The account's outbound EVENT webhook — how a backend learns, without polling
1091
+ * The account's outbound EVENT webhook: how a backend learns, without polling
1092
1092
  * for it, that a recipient signed, approved, denied, or replied
1093
1093
  * (`notify.signed`, `notify.approved`, `notify.denied`, `notify.replied`), and
1094
1094
  * how delivery to each recipient turned out (`notify.delivered`,
@@ -1110,7 +1110,7 @@ export interface NotifyConfigSecurity {
1110
1110
  * so an edge in front of the receiver that refuses a request without one lets
1111
1111
  * it through.
1112
1112
  *
1113
- * Delivery is BEST EFFORT — one retry, then the event is dropped. Polling
1113
+ * Delivery is BEST EFFORT: one retry, then the event is dropped. Polling
1114
1114
  * (`listSends`, `getSendStatus`, `listReceipts`) remains the source of truth;
1115
1115
  * the webhook exists to make that poll rare, not to replace it.
1116
1116
  */
@@ -1128,7 +1128,7 @@ export interface NotifyConfigEvents {
1128
1128
  */
1129
1129
  secret?: string;
1130
1130
  }
1131
- /** `events` as it comes BACK from a read — neither the URL nor the secret is ever echoed. */
1131
+ /** `events` as it comes BACK from a read: neither the URL nor the secret is ever echoed. */
1132
1132
  export interface NotifyConfigEventsRead {
1133
1133
  /** Whether an event webhook URL is stored. The URL itself is never returned. */
1134
1134
  webhook_url_set?: boolean;
@@ -1256,7 +1256,7 @@ export interface NotifyConfig {
1256
1256
  };
1257
1257
  /** Your organization's send-level destinations; empty until an admin configures one. */
1258
1258
  destinations: NotifyConfigDestinations;
1259
- /** Tombstoned entries are already dropped — a deleted category is simply gone. */
1259
+ /** Tombstoned entries are already dropped; a deleted category is simply gone. */
1260
1260
  categories: Record<string, NotifyConfigCategory>;
1261
1261
  }
1262
1262
  /**
@@ -1304,7 +1304,7 @@ export interface NotifyConfigPatch {
1304
1304
  * the webhook destination's `secret` come back as `secret_set`, the webhook
1305
1305
  * destination's `url` as `url_set` and `url_host`, and `events.webhook_url` and
1306
1306
  * the Teams destination's `webhook_url` as `webhook_url_set` and
1307
- * `webhook_url_host` — a patch never has to resend them.
1307
+ * `webhook_url_host`, so a patch never has to resend them.
1308
1308
  */
1309
1309
  export type NotifyConfigOverrides = Omit<NotifyConfigPatch, 'events' | 'destinations'> & {
1310
1310
  events?: NotifyConfigEventsRead;
@@ -68,7 +68,7 @@ export interface CreateStructuredIngotOptions<T extends object = StructuredValue
68
68
  data: T;
69
69
  type?: StructuredTypePin | null;
70
70
  binaryPaths?: StructuredBinaryPath[];
71
- /** 8–128 printable ASCII characters; bound to this name and semantic payload. */
71
+ /** 8 to 128 printable ASCII characters; bound to this name and semantic payload. */
72
72
  idempotencyKey?: string;
73
73
  }
74
74
  /** Prefer the opaque revision: it also rejects deletion and recreation under the same name. */
@@ -155,7 +155,7 @@ export interface CreateStructuredTypeOptions {
155
155
  name: string;
156
156
  schema: StructuredValues;
157
157
  transforms?: StructuredTypeTransform[];
158
- /** 8–128 printable ASCII characters; bound to this name and definition. */
158
+ /** 8 to 128 printable ASCII characters; bound to this name and definition. */
159
159
  idempotencyKey?: string;
160
160
  }
161
161
  export interface PublishStructuredTypeOptions {
@@ -18,7 +18,7 @@ export declare class SparksModule {
18
18
  */
19
19
  list(options?: ListSparksOptions): Promise<SparkPage>;
20
20
  /**
21
- * Read (and burn) a spark. Reading is destructive — the spark can be read
21
+ * Read (and burn) a spark. Reading is destructive: the spark can be read
22
22
  * exactly once.
23
23
  * Supply the source vault's VAT for a Structured Ingots field Spark.
24
24
  *