@sparkvault/sdk-js 14.2.1 → 14.2.3
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/README.md +13 -6
- package/dist/index.cjs +1734 -1114
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +145 -26
- package/dist/index.mjs +1734 -1114
- package/dist/index.mjs.map +1 -1
- package/dist/notify/index.d.ts +6 -3
- package/dist/notify/types.d.ts +8 -2
- package/dist/products/help-desk/client.d.ts +18 -4
- package/dist/products/help-desk/form-attachments.d.ts +1 -0
- package/dist/products/help-desk/form.d.ts +20 -1
- package/dist/products/help-desk/types.d.ts +3 -1
- package/dist/products/index.d.ts +1 -1
- package/dist/products/notify/index.d.ts +31 -4
- package/dist/products/notify/types.d.ts +80 -13
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/dist/ui/modal-shell.d.ts +41 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -800,8 +800,14 @@ interface UnsubscribeWebPushResponse {
|
|
|
800
800
|
success: boolean;
|
|
801
801
|
deleted: boolean;
|
|
802
802
|
}
|
|
803
|
-
/**
|
|
804
|
-
|
|
803
|
+
/**
|
|
804
|
+
* Terminal outcomes of the end-to-end subscribeWebPush ceremony.
|
|
805
|
+
* `permission_denied`: notifications are blocked for the site (the person
|
|
806
|
+
* chose Block, now or before), so only the browser's site settings can allow
|
|
807
|
+
* them. `permission_dismissed`: the person closed the permission prompt
|
|
808
|
+
* without answering, so the site still asks and calling again prompts again.
|
|
809
|
+
*/
|
|
810
|
+
type SubscribeWebPushStatus = 'subscribed' | 'already_subscribed' | 'not_supported' | 'not_configured' | 'permission_denied' | 'permission_dismissed';
|
|
805
811
|
interface SubscribeWebPushOptions {
|
|
806
812
|
/**
|
|
807
813
|
* The caller's service-worker registration (the app owns the worker file and
|
|
@@ -1155,6 +1161,37 @@ type NotifyDestinationFailureReason = 'possibly_delivered' | 'attempts_exhausted
|
|
|
1155
1161
|
* (`rejected_restricted_action`).
|
|
1156
1162
|
*/
|
|
1157
1163
|
type NotifyDestinationReason = NotifyDestinationSkipReason | NotifyDestinationFailureReason | `status_${number}` | `rejected_${string}`;
|
|
1164
|
+
/**
|
|
1165
|
+
* Why a test post reached no answer that settles it, a fault a send's post
|
|
1166
|
+
* would be tried again on: the receiver could not be reached (`network`) or
|
|
1167
|
+
* did not answer in time (`timeout`), the Teams workflow's request could not
|
|
1168
|
+
* be sent at all (`unsent`), or too little of the post's time was left to
|
|
1169
|
+
* start it (`deadline_reached`).
|
|
1170
|
+
*/
|
|
1171
|
+
type NotifyDestinationTransportReason = 'network' | 'timeout' | 'unsent' | 'deadline_reached';
|
|
1172
|
+
/**
|
|
1173
|
+
* The `reason` beside a test post's `skipped` or `failed`
|
|
1174
|
+
* (`testDestination`): a skip reason a send status reports, or, beside
|
|
1175
|
+
* `failed`, `possibly_delivered` (the post was sent and its answer was lost),
|
|
1176
|
+
* a transport fault, a status a retry can clear (`status_503`), or the Slack
|
|
1177
|
+
* app's own: Slack limited the call (`slack_rate_limited`), another worker was
|
|
1178
|
+
* renewing the app's token (`slack_token_refresh_in_progress`), Slack could
|
|
1179
|
+
* not be reached (`slack_unavailable`), or the installation could not be read
|
|
1180
|
+
* (`installation_unavailable`).
|
|
1181
|
+
*/
|
|
1182
|
+
type NotifyDestinationTestReason = NotifyDestinationSkipReason | 'possibly_delivered' | NotifyDestinationTransportReason | 'slack_rate_limited' | 'slack_token_refresh_in_progress' | 'slack_unavailable' | 'installation_unavailable' | `status_${number}` | `rejected_${string}`;
|
|
1183
|
+
/**
|
|
1184
|
+
* What became of a test post to one of your destinations, in a send status's
|
|
1185
|
+
* words. A test post is made once and never tried again, so a fault a send's
|
|
1186
|
+
* post would retry reads `failed`. No send is stored and nothing is metered.
|
|
1187
|
+
*/
|
|
1188
|
+
interface NotifyDestinationTestResult {
|
|
1189
|
+
kind: NotifyDestinationKind;
|
|
1190
|
+
/** `delivered` once the destination accepted it; `skipped` when nothing was posted; `failed` when no answer settled it. */
|
|
1191
|
+
state: 'delivered' | 'skipped' | 'failed';
|
|
1192
|
+
/** Null when delivered. */
|
|
1193
|
+
reason: NotifyDestinationTestReason | null;
|
|
1194
|
+
}
|
|
1158
1195
|
/**
|
|
1159
1196
|
* How a send's content reaches the recipient.
|
|
1160
1197
|
* - `sealed` (default): content is sealed into a Spark behind a single-use
|
|
@@ -1210,6 +1247,9 @@ type NotifyPresetName = 'alert' | 'secureMessage' | 'conversation' | 'approval'
|
|
|
1210
1247
|
* proves to open it. A bare string is an email address or one of those
|
|
1211
1248
|
* SparkVault ids: a bare address is also the address its recipient proves,
|
|
1212
1249
|
* while a bare id keys the person's inbox row and carries no address to verify.
|
|
1250
|
+
* An `id` that is an email address, with no `email` beside it, is that address:
|
|
1251
|
+
* `{ id: 'pat@example.com' }`, `'pat@example.com'` and
|
|
1252
|
+
* `{ email: 'pat@example.com' }` are one recipient, emailed and verified alike.
|
|
1213
1253
|
*
|
|
1214
1254
|
* The recipient's key is its `id`, else its `email`, trimmed, with an email
|
|
1215
1255
|
* address lowercased the way Identity stores it: it names their row in your
|
|
@@ -1228,11 +1268,15 @@ type NotifyPresetName = 'alert' | 'secureMessage' | 'conversation' | 'approval'
|
|
|
1228
1268
|
* bare number, `{ phone }`, or an `id` that is an E.164 number); on a sealed
|
|
1229
1269
|
* send, one whose only handle is a phone (`{ id, phone }`); and, on a sealed
|
|
1230
1270
|
* send at the default `identifier` level or at `passkey`, one with no address
|
|
1231
|
-
* to verify (a bare id, or an `id` alone
|
|
1232
|
-
* `verificationLevel: 'none'`.
|
|
1271
|
+
* to verify (a bare id, or an `id` alone that is no email address): give it
|
|
1272
|
+
* `{ id, email }`, or send at `verificationLevel: 'none'`.
|
|
1233
1273
|
*/
|
|
1234
1274
|
interface NotifyRecipientRef {
|
|
1235
|
-
/**
|
|
1275
|
+
/**
|
|
1276
|
+
* At most 256 bytes of UTF-8 with no control characters: it keys the
|
|
1277
|
+
* recipient's inbox. One that is an email address, with no `email` beside
|
|
1278
|
+
* it, is also the address the recipient is emailed at and verified against.
|
|
1279
|
+
*/
|
|
1236
1280
|
id?: string;
|
|
1237
1281
|
/**
|
|
1238
1282
|
* The address the email channel delivers to. A recipient with no `id` is keyed
|
|
@@ -1332,8 +1376,8 @@ interface CreateNotifySendOptions {
|
|
|
1332
1376
|
* `idempotent: true`. Generated (`ntsnd_*`) when absent. A replay must repeat
|
|
1333
1377
|
* what the recipient meets (the delivery mode, the content or ingot, the
|
|
1334
1378
|
* recipients and their handles, title, category, instructions, policy,
|
|
1335
|
-
* channels and
|
|
1336
|
-
* (`serviceCode` `VALIDATION_ERROR`), and the stored send stands. `type` and
|
|
1379
|
+
* channels, escalation and destinations): one that differs in any of them is
|
|
1380
|
+
* refused 400 (`serviceCode` `VALIDATION_ERROR`), and the stored send stands. `type` and
|
|
1337
1381
|
* `historyTtlDays` are not compared: the stored send keeps its own. The send
|
|
1338
1382
|
* stores the title, instructions and a plaintext payload without their
|
|
1339
1383
|
* text-direction control characters (U+202A to U+202E, U+2066 to U+2069) and
|
|
@@ -1393,6 +1437,13 @@ interface CreateNotifySendOptions {
|
|
|
1393
1437
|
* range is refused 400. A plaintext send is capped at 7.
|
|
1394
1438
|
*/
|
|
1395
1439
|
historyTtlDays?: number;
|
|
1440
|
+
/**
|
|
1441
|
+
* `false` keeps this one send out of the organization's destinations (its
|
|
1442
|
+
* webhook, Slack channel and Teams workflow): none is posted to, and the
|
|
1443
|
+
* send's status reports `destinations: []`. Omitted or `true`, the send is
|
|
1444
|
+
* posted to every destination that routes its category.
|
|
1445
|
+
*/
|
|
1446
|
+
destinations?: boolean;
|
|
1396
1447
|
}
|
|
1397
1448
|
/**
|
|
1398
1449
|
* Options for a preset helper (`sendAlert`, `sendSecureMessage`, …): the one
|
|
@@ -1623,11 +1674,13 @@ interface NotifySendStatusRecipient {
|
|
|
1623
1674
|
/**
|
|
1624
1675
|
* For a `deferred` step, why it waits: the platform's per-second rate or
|
|
1625
1676
|
* its hourly email lane, your account's hourly email share, the provider
|
|
1626
|
-
* refusing for its rate, the provider's sending paused,
|
|
1627
|
-
* own mail domain the email goes out from not verified for sending
|
|
1628
|
-
*
|
|
1677
|
+
* refusing for its rate, the provider's sending paused, the platform's
|
|
1678
|
+
* own mail domain the email goes out from not verified for sending, or
|
|
1679
|
+
* your organization's own sending domain not verified for sending (the
|
|
1680
|
+
* step waits while the domain is checked again). Null on every other
|
|
1681
|
+
* outcome.
|
|
1629
1682
|
*/
|
|
1630
|
-
reason: 'platform_rate' | 'platform_hourly' | 'account_hourly' | 'provider_throttled' | 'sending_paused' | 'sender_identity_unverified' | null;
|
|
1683
|
+
reason: 'platform_rate' | 'platform_hourly' | 'account_hourly' | 'provider_throttled' | 'sending_paused' | 'sender_identity_unverified' | 'sending_domain_unverified' | null;
|
|
1631
1684
|
}>>;
|
|
1632
1685
|
/**
|
|
1633
1686
|
* At least one channel accepted the notification for this recipient. A
|
|
@@ -1734,6 +1787,19 @@ interface NotifySendStatus {
|
|
|
1734
1787
|
title: string | null;
|
|
1735
1788
|
category: string | null;
|
|
1736
1789
|
type: string | null;
|
|
1790
|
+
/**
|
|
1791
|
+
* How the send carries its message. Only a `sealed` send minted a link per
|
|
1792
|
+
* recipient, so only a sealed send can be recalled (`recallSend`); a
|
|
1793
|
+
* `plaintext` one delivered its body inline.
|
|
1794
|
+
*/
|
|
1795
|
+
delivery: NotifyDeliveryMode;
|
|
1796
|
+
/**
|
|
1797
|
+
* Epoch seconds of a whole-audience recall; null when there was none. A
|
|
1798
|
+
* targeted recall of named recipients never sets it; a named recipient reads
|
|
1799
|
+
* `recalled` in their `state` unless their row records something recall does
|
|
1800
|
+
* not undo (one a channel already reached stays `delivered`).
|
|
1801
|
+
*/
|
|
1802
|
+
recalled_at: number | null;
|
|
1737
1803
|
recipients: NotifySendStatusRecipient[];
|
|
1738
1804
|
counts: NotifySendStatusCounts;
|
|
1739
1805
|
/**
|
|
@@ -2052,7 +2118,13 @@ interface NotifyConfigSecurity {
|
|
|
2052
2118
|
* what it changes, but a `webhook_url` on another host or port than the
|
|
2053
2119
|
* stored one needs a new `secret` in the same patch (400 `VALIDATION_ERROR`
|
|
2054
2120
|
* naming `events.secret`, `details.missing: ['secret']`): a secret never
|
|
2055
|
-
* follows its URL to a different host.
|
|
2121
|
+
* follows its URL to a different host. A patch of `events: null` removes the
|
|
2122
|
+
* webhook, URL and secret together, and no event is sent from then on; a
|
|
2123
|
+
* `null` for either field alone is refused 400.
|
|
2124
|
+
*
|
|
2125
|
+
* Each event is POSTed as JSON with a `User-Agent` that begins `SparkVault/`,
|
|
2126
|
+
* so an edge in front of the receiver that refuses a request without one lets
|
|
2127
|
+
* it through.
|
|
2056
2128
|
*
|
|
2057
2129
|
* Delivery is BEST EFFORT — one retry, then the event is dropped. Polling
|
|
2058
2130
|
* (`listSends`, `getSendStatus`, `listReceipts`) remains the source of truth;
|
|
@@ -2084,7 +2156,8 @@ interface NotifyConfigEventsRead {
|
|
|
2084
2156
|
/**
|
|
2085
2157
|
* Your own HTTPS endpoint as a destination. Each routed send is POSTed to `url`
|
|
2086
2158
|
* once as JSON, signed like the event webhook (the hex HMAC-SHA256 of the raw
|
|
2087
|
-
* body under `secret`, in `X-SparkVault-Signature`)
|
|
2159
|
+
* body under `secret`, in `X-SparkVault-Signature`) and, like it, with a
|
|
2160
|
+
* `User-Agent` that begins `SparkVault/`; a post that may not have
|
|
2088
2161
|
* landed is tried again with the same `delivery_id`, so drop a repeat you
|
|
2089
2162
|
* already received. A redirect is never followed.
|
|
2090
2163
|
*/
|
|
@@ -2210,8 +2283,8 @@ interface NotifyConfigPatch {
|
|
|
2210
2283
|
history?: NotifyConfigHistory;
|
|
2211
2284
|
/** Admin only. */
|
|
2212
2285
|
security?: NotifyConfigSecurity;
|
|
2213
|
-
/** Admin only. */
|
|
2214
|
-
events?: NotifyConfigEvents;
|
|
2286
|
+
/** Admin only. `null` removes the event webhook. */
|
|
2287
|
+
events?: NotifyConfigEvents | null;
|
|
2215
2288
|
/**
|
|
2216
2289
|
* Admin only. `sending_domain`: one of the organization's own domains, its
|
|
2217
2290
|
* ownership verified and its email sending ready, to send from as
|
|
@@ -2314,7 +2387,9 @@ declare class NotifyProductModule {
|
|
|
2314
2387
|
* someone goes out from your organization's own sender (`getEmailSender`) and
|
|
2315
2388
|
* is admitted against your hourly share of sending capacity. Each refusal is
|
|
2316
2389
|
* a thrown `SparkVaultError` whose `serviceCode` names it, made before
|
|
2317
|
-
* anything is sealed, charged or stored
|
|
2390
|
+
* anything is sealed, charged or stored; a send that fails while it seals
|
|
2391
|
+
* gives its admitted recipients back, so its retry is admitted in the same
|
|
2392
|
+
* hour:
|
|
2318
2393
|
*
|
|
2319
2394
|
* | Status | `serviceCode` | `details` | Next |
|
|
2320
2395
|
* | --- | --- | --- | --- |
|
|
@@ -2570,7 +2645,8 @@ declare class NotifyProductModule {
|
|
|
2570
2645
|
* `events.webhook_url_host` and `events.secret_set`, never the values. A
|
|
2571
2646
|
* `webhook_url` on another host or port needs a new `secret` in the same
|
|
2572
2647
|
* patch (400 `VALIDATION_ERROR` naming `events.secret`), so a secret never
|
|
2573
|
-
* follows its URL to a different host.
|
|
2648
|
+
* follows its URL to a different host. `events: null` removes the webhook,
|
|
2649
|
+
* URL and secret together.
|
|
2574
2650
|
*
|
|
2575
2651
|
* The `email` section selects a domain of your own for your Notify email to go
|
|
2576
2652
|
* out from. `security`, `events` and `email` are an org admin's to change: a
|
|
@@ -2593,6 +2669,30 @@ declare class NotifyProductModule {
|
|
|
2593
2669
|
* });
|
|
2594
2670
|
*/
|
|
2595
2671
|
updateConfig(patch: NotifyConfigPatch): Promise<NotifyConfigResponse>;
|
|
2672
|
+
/**
|
|
2673
|
+
* Post one test message to your destination of `kind` (a webhook, a Slack
|
|
2674
|
+
* channel or a Teams workflow) and learn what became of it, without a send:
|
|
2675
|
+
* nothing reaches a recipient, no send is stored and nothing is metered, and
|
|
2676
|
+
* the test never appears in send history. The post shows the title "Test
|
|
2677
|
+
* post from SparkVault Notify" under your organization's name, through the
|
|
2678
|
+
* sender a send's post takes. A webhook receives a body signed like any
|
|
2679
|
+
* other, typed `notify.destination.test`, naming no send, with a
|
|
2680
|
+
* `delivery_id` of its own. The post is made once and never tried again,
|
|
2681
|
+
* so a fault a send's post would retry reads `failed`.
|
|
2682
|
+
*
|
|
2683
|
+
* An org admin's call, on an account that holds Notify: anyone else is
|
|
2684
|
+
* refused 403 `FORBIDDEN` (`details: { sections: ['destinations'],
|
|
2685
|
+
* required_role: 'admin' }`), an account without Notify 403
|
|
2686
|
+
* `NOTIFY_SUBSCRIPTION_REQUIRED`. A kind with no destination saved is 404
|
|
2687
|
+
* `NOT_FOUND`, an organization name a send would be refused under is 409
|
|
2688
|
+
* (`NOTIFY_SENDER_NAME_REQUIRED` or `NOTIFY_SENDER_NAME_RESERVED`), and each
|
|
2689
|
+
* kind takes 20 tests an hour (429 `RATE_LIMIT_EXCEEDED`).
|
|
2690
|
+
*
|
|
2691
|
+
* @example
|
|
2692
|
+
* const { state, reason } = await sv.products.notify.testDestination('webhook');
|
|
2693
|
+
* if (state !== 'delivered') console.warn(`Test post ${state}: ${reason}`);
|
|
2694
|
+
*/
|
|
2695
|
+
testDestination(kind: NotifyDestinationKind): Promise<NotifyDestinationTestResult>;
|
|
2596
2696
|
/**
|
|
2597
2697
|
* Who your organization's Notify email is from, as the API answers it
|
|
2598
2698
|
* (verbatim snake_case): `"{organization name}" <from_address>`, with a
|
|
@@ -3175,8 +3275,10 @@ interface HelpDeskCustomer {
|
|
|
3175
3275
|
}
|
|
3176
3276
|
interface HelpDeskSession {
|
|
3177
3277
|
token: string;
|
|
3178
|
-
/**
|
|
3278
|
+
/** When Core ends the session at the latest, in Unix seconds on Core's clock. Never compared with this device's clock, which may run apart from Core's. */
|
|
3179
3279
|
expires_at: number;
|
|
3280
|
+
/** The session's lifetime in seconds from when its answer lands; the client times a fresh answer on this device's clock from it. */
|
|
3281
|
+
ttl_seconds: number;
|
|
3180
3282
|
customer: HelpDeskCustomer;
|
|
3181
3283
|
}
|
|
3182
3284
|
/** Why customer-specific UI is being told to reconsider its current session. */
|
|
@@ -3320,15 +3422,24 @@ declare class HelpDeskClient {
|
|
|
3320
3422
|
private authorityRevision;
|
|
3321
3423
|
private readonly listeners;
|
|
3322
3424
|
private session;
|
|
3425
|
+
/**
|
|
3426
|
+
* When the installed session ends on this device's clock, in seconds: set
|
|
3427
|
+
* from `ttl_seconds` as an answer lands from Core. Null for a session whose
|
|
3428
|
+
* landing this client did not see (setSession), which ends at Core's 401.
|
|
3429
|
+
*/
|
|
3430
|
+
private deadline;
|
|
3323
3431
|
private token;
|
|
3324
3432
|
private revision;
|
|
3325
3433
|
private constructor();
|
|
3326
3434
|
/** Discover a desk by its configured host, before any customer credentials are sent. */
|
|
3327
3435
|
static connect(config: ResolvedConfig, options: HelpDeskConnectOptions): Promise<HelpDeskClient>;
|
|
3328
3436
|
/**
|
|
3329
|
-
* Install a customer session answer
|
|
3330
|
-
*
|
|
3331
|
-
*
|
|
3437
|
+
* Install a customer session answer the host holds, such as one restored
|
|
3438
|
+
* from its own storage. Its landing time is unknown, so this client sets it
|
|
3439
|
+
* no deadline of its own: it lasts until Core answers 401, which clears it.
|
|
3440
|
+
* A company provider verifies restored sessions again before use. Null
|
|
3441
|
+
* stays signed out until refreshSession() or authenticate() explicitly
|
|
3442
|
+
* resumes the provider.
|
|
3332
3443
|
*/
|
|
3333
3444
|
setSession(session: HelpDeskSession | null): void;
|
|
3334
3445
|
private installSession;
|
|
@@ -3348,7 +3459,11 @@ declare class HelpDeskClient {
|
|
|
3348
3459
|
private rememberToken;
|
|
3349
3460
|
private send;
|
|
3350
3461
|
private establish;
|
|
3351
|
-
/**
|
|
3462
|
+
/**
|
|
3463
|
+
* A public, short-lived challenge from the help desk's own Entropy service.
|
|
3464
|
+
* Core refuses a nonce past its `expires_at` on its own clock, so this
|
|
3465
|
+
* device's clock never judges it.
|
|
3466
|
+
*/
|
|
3352
3467
|
startExternalChallenge(): Promise<HelpDeskExternalChallenge>;
|
|
3353
3468
|
/** Exchange only a purpose-specific company assertion, never an ordinary website token. */
|
|
3354
3469
|
completeExternal(options: {
|
|
@@ -3358,6 +3473,7 @@ declare class HelpDeskClient {
|
|
|
3358
3473
|
private exchangeExternal;
|
|
3359
3474
|
/** Silently establish/renew a company session. Concurrent calls share one proof. */
|
|
3360
3475
|
authenticate(): Promise<HelpDeskSession | null>;
|
|
3476
|
+
/** Install a company session answer that just landed from Core, timed from its `ttl_seconds`. */
|
|
3361
3477
|
private acceptExternalSession;
|
|
3362
3478
|
/** Mint an opaque hosted-portal code from an assertion binding the registered redirect challenge. */
|
|
3363
3479
|
createExternalHandoff(options: {
|
|
@@ -4953,9 +5069,12 @@ declare class NotifyModule {
|
|
|
4953
5069
|
* End-to-end enable ceremony: feature-detect, fetch the VAPID key, ensure
|
|
4954
5070
|
* Notification permission, subscribe via the caller's service worker, and
|
|
4955
5071
|
* register the subscription with the server. Returns a typed status instead
|
|
4956
|
-
* of throwing on the expected declines
|
|
4957
|
-
*
|
|
4958
|
-
*
|
|
5072
|
+
* of throwing on the expected declines so a host can branch on the outcome:
|
|
5073
|
+
* unsupported, not configured, `permission_denied` (the person blocked
|
|
5074
|
+
* notifications for the site, now or before, so only the browser's site
|
|
5075
|
+
* settings can allow them) and `permission_dismissed` (the person closed the
|
|
5076
|
+
* prompt without answering: the site still asks, so enabling again shows the
|
|
5077
|
+
* prompt again). Call it from a user gesture (permission prompts require one).
|
|
4959
5078
|
*
|
|
4960
5079
|
* A subscription the browser holds for the current key is kept
|
|
4961
5080
|
* (`already_subscribed`); one made for a previous key can never deliver
|
|
@@ -5108,4 +5227,4 @@ declare global {
|
|
|
5108
5227
|
}
|
|
5109
5228
|
|
|
5110
5229
|
export { AuthenticationError, AuthorizationError, EntropyModule, FoldersModule, HelpDeskClient, HelpDeskModule, IdentityModule, IdentityProviderError, IngotsModule, NAME_CONFLICT_POLICIES, NOTIFY_PRESETS, NetworkError, NotifyModule, NotifyProductModule, NotifySubscriptionRequiredError, PlanRequiredError, PopupBlockedError, ProductsModule, QuotaExceededError, SparkVault, SparkVaultError, SparksModule, TimeoutError, UnauthorizedError, UserCancelledError, ValidationError, VaultsModule, buildNotifyPresetSend, SparkVault as default, fetchDownload, isReceivedUploadFailure, logger, setDebugMode };
|
|
5111
|
-
export type { AccessLogRetention, AccessLogsOptions, CreateFolderOptions, CreateNotifySendOptions, CreateSparkOptions, CreateUploadOptions, CreateVaultOptions, CreatedIngot, CreatedSpark, DownloadIngotOptions, EntropyFormat, EntropyResult, FetchDownloadOptions, FetchedDownload, Folder, FolderBreadcrumbItem, FolderContents, FolderPage, GenerateEntropyOptions, HealthCheckOptions, HealthCheckResult, HelpDeskAttachmentDownload, HelpDeskAttachmentInput, HelpDeskAttachmentUpload, HelpDeskConnectOptions, HelpDeskCreateTicketOptions, HelpDeskCustomer, HelpDeskCustomerPatch, HelpDeskDesk, HelpDeskDraft, HelpDeskEvent, HelpDeskExternalChallenge, HelpDeskExternalIdentity, HelpDeskFormHandle, HelpDeskFormOptions, HelpDeskFormState, HelpDeskIdentityRequest, HelpDeskListTicketsOptions, HelpDeskMountFormOptions, HelpDeskOpenFormOptions, HelpDeskPinChallenge, HelpDeskReplyCreated, HelpDeskReplyOptions, HelpDeskRequestContext, HelpDeskSession, HelpDeskSessionChange, HelpDeskTicket, HelpDeskTicketCreated, HelpDeskTicketDetail, HelpDeskTicketList, HelpDeskTimeline, HelpDeskVerifyPinOptions, AttachOptions as IdentityAttachOptions, Ingot, IngotAccessLog, IngotAccessLogPage, IngotDownloadLink, IngotInvitation, IngotInvite, IngotPage, IngotSharingConfig, IngotUpload, ListContentsOptions, ListFoldersOptions, ListIngotsOptions, ListNotificationsOptions, ListNotificationsResponse, ListNotifyInboxOptions, ListNotifyInboxResponse, ListNotifyReceiptsOptions, ListNotifyReceiptsResponse, ListNotifySendsOptions, ListNotifySendsResponse, ListSparksOptions, MarkAllNotificationsStateOptions, MarkAllNotificationsStateResponse, MarkAllReadResult, MarkNotificationStateOptions, MarkNotificationStateResponse, MarkNotifyInboxAllOptions, MarkNotifyInboxAllResponse, MarkNotifyInboxStateOptions, MarkNotifyInboxStateResponse, NameConflictPolicy, NotificationBulkMarkState, NotificationInboxState, NotificationMarkState, NotificationRow, NotificationSender, NotifyCategory, NotifyChannel, NotifyConfig, NotifyConfigCategory, NotifyConfigDelivery, NotifyConfigDeliveryPatch, NotifyConfigDestinations, NotifyConfigDestinationsPatch, NotifyConfigEvents, NotifyConfigEventsRead, NotifyConfigHistory, NotifyConfigOverrides, NotifyConfigPatch, NotifyConfigRealtimeFallbackDelay, NotifyConfigReliability, NotifyConfigResponse, NotifyConfigSecurity, NotifyDeliveryMode, NotifyDestinationFailureReason, NotifyDestinationKind, NotifyDestinationReason, NotifyDestinationSkipReason, NotifyDestinationState, NotifyEscalation, NotifyInboxBulkMarkState, NotifyInboxMarkState, NotifyInboxRow, NotifyInboxView, NotifyIngotRef, NotifyInteraction, NotifyPreset, NotifyPresetCategory, NotifyPresetName, NotifyPresetSendOptions, NotifyRecallMode, NotifyReceipt, NotifyReceiptEventType, NotifyRecipient, NotifyRecipientRef, NotifyRecipientState, NotifyReportableVerificationLevel, NotifySendContent, NotifySendPolicy, NotifySendReceipt, NotifySendReceiptsResponse, NotifySendResult, NotifySendState, NotifySendStatus, NotifySendStatusCounts, NotifySendStatusDestination, NotifySendStatusRecipient, NotifySendSummary, NotifySendSummaryDestination, NotifySlackDestination, NotifySuppressionReason, NotifyTeamsDestination, NotifyTeamsDestinationRead, NotifyVerificationLevel, NotifyWebhookDestination, NotifyWebhookDestinationRead, QuotaResource, RecallNotifySendOptions, RecallNotifySendResponse, RegisterWebPushResponse, ReplaceIngotOptions, ResumeUploadOptions, ScheduledVaultDeletion, SearchIngotsOptions, SendUploadOptions, ShareSparkOptions, SignInOptions, SignInResult, Spark, SparkInviteResend, SparkPage, SparkShare, SparkSummary, SparkVaultConfig, SparkVisibility, StartedVaultDeletion, SubscribeWebPushOptions, SubscribeWebPushResult, SubscribeWebPushStatus, TokenClaims, UnreachedAdmin, UnreadCountResponse, UnsealVaultOptions, UnsealedVault, UnsubscribeWebPushResponse, UpdateFolderOptions, UpdateIngotSharingOptions, UpdateVaultUploadOptions, UpdatedVault, UploadAttachOptions, UploadBranding, UploadEnd, UploadIngotOptions, UploadOptions, UploadProgress, UploadResult, UploadSession, Vault, VaultDetail, VaultLifecycle, VaultResealDefaults, VaultResealSettings, VaultResealSettingsResult, VaultSessionExtension, VaultSessionTiming, VaultSharingConfig, VaultSharingOptions, VaultSummary, VaultUploadConfig, VaultUploadSettings, VerifyOptions, VerifyResult, WebPushKeyResponse, WebPushStatus, WebPushStatusOptions, WebPushStatusResult, WebPushSubscriptionInput };
|
|
5230
|
+
export type { AccessLogRetention, AccessLogsOptions, CreateFolderOptions, CreateNotifySendOptions, CreateSparkOptions, CreateUploadOptions, CreateVaultOptions, CreatedIngot, CreatedSpark, DownloadIngotOptions, EntropyFormat, EntropyResult, FetchDownloadOptions, FetchedDownload, Folder, FolderBreadcrumbItem, FolderContents, FolderPage, GenerateEntropyOptions, HealthCheckOptions, HealthCheckResult, HelpDeskAttachmentDownload, HelpDeskAttachmentInput, HelpDeskAttachmentUpload, HelpDeskConnectOptions, HelpDeskCreateTicketOptions, HelpDeskCustomer, HelpDeskCustomerPatch, HelpDeskDesk, HelpDeskDraft, HelpDeskEvent, HelpDeskExternalChallenge, HelpDeskExternalIdentity, HelpDeskFormHandle, HelpDeskFormOptions, HelpDeskFormState, HelpDeskIdentityRequest, HelpDeskListTicketsOptions, HelpDeskMountFormOptions, HelpDeskOpenFormOptions, HelpDeskPinChallenge, HelpDeskReplyCreated, HelpDeskReplyOptions, HelpDeskRequestContext, HelpDeskSession, HelpDeskSessionChange, HelpDeskTicket, HelpDeskTicketCreated, HelpDeskTicketDetail, HelpDeskTicketList, HelpDeskTimeline, HelpDeskVerifyPinOptions, AttachOptions as IdentityAttachOptions, Ingot, IngotAccessLog, IngotAccessLogPage, IngotDownloadLink, IngotInvitation, IngotInvite, IngotPage, IngotSharingConfig, IngotUpload, ListContentsOptions, ListFoldersOptions, ListIngotsOptions, ListNotificationsOptions, ListNotificationsResponse, ListNotifyInboxOptions, ListNotifyInboxResponse, ListNotifyReceiptsOptions, ListNotifyReceiptsResponse, ListNotifySendsOptions, ListNotifySendsResponse, ListSparksOptions, MarkAllNotificationsStateOptions, MarkAllNotificationsStateResponse, MarkAllReadResult, MarkNotificationStateOptions, MarkNotificationStateResponse, MarkNotifyInboxAllOptions, MarkNotifyInboxAllResponse, MarkNotifyInboxStateOptions, MarkNotifyInboxStateResponse, NameConflictPolicy, NotificationBulkMarkState, NotificationInboxState, NotificationMarkState, NotificationRow, NotificationSender, NotifyCategory, NotifyChannel, NotifyConfig, NotifyConfigCategory, NotifyConfigDelivery, NotifyConfigDeliveryPatch, NotifyConfigDestinations, NotifyConfigDestinationsPatch, NotifyConfigEvents, NotifyConfigEventsRead, NotifyConfigHistory, NotifyConfigOverrides, NotifyConfigPatch, NotifyConfigRealtimeFallbackDelay, NotifyConfigReliability, NotifyConfigResponse, NotifyConfigSecurity, NotifyDeliveryMode, NotifyDestinationFailureReason, NotifyDestinationKind, NotifyDestinationReason, NotifyDestinationSkipReason, NotifyDestinationState, NotifyDestinationTestReason, NotifyDestinationTestResult, NotifyDestinationTransportReason, NotifyEscalation, NotifyInboxBulkMarkState, NotifyInboxMarkState, NotifyInboxRow, NotifyInboxView, NotifyIngotRef, NotifyInteraction, NotifyPreset, NotifyPresetCategory, NotifyPresetName, NotifyPresetSendOptions, NotifyRecallMode, NotifyReceipt, NotifyReceiptEventType, NotifyRecipient, NotifyRecipientRef, NotifyRecipientState, NotifyReportableVerificationLevel, NotifySendContent, NotifySendPolicy, NotifySendReceipt, NotifySendReceiptsResponse, NotifySendResult, NotifySendState, NotifySendStatus, NotifySendStatusCounts, NotifySendStatusDestination, NotifySendStatusRecipient, NotifySendSummary, NotifySendSummaryDestination, NotifySlackDestination, NotifySuppressionReason, NotifyTeamsDestination, NotifyTeamsDestinationRead, NotifyVerificationLevel, NotifyWebhookDestination, NotifyWebhookDestinationRead, QuotaResource, RecallNotifySendOptions, RecallNotifySendResponse, RegisterWebPushResponse, ReplaceIngotOptions, ResumeUploadOptions, ScheduledVaultDeletion, SearchIngotsOptions, SendUploadOptions, ShareSparkOptions, SignInOptions, SignInResult, Spark, SparkInviteResend, SparkPage, SparkShare, SparkSummary, SparkVaultConfig, SparkVisibility, StartedVaultDeletion, SubscribeWebPushOptions, SubscribeWebPushResult, SubscribeWebPushStatus, TokenClaims, UnreachedAdmin, UnreadCountResponse, UnsealVaultOptions, UnsealedVault, UnsubscribeWebPushResponse, UpdateFolderOptions, UpdateIngotSharingOptions, UpdateVaultUploadOptions, UpdatedVault, UploadAttachOptions, UploadBranding, UploadEnd, UploadIngotOptions, UploadOptions, UploadProgress, UploadResult, UploadSession, Vault, VaultDetail, VaultLifecycle, VaultResealDefaults, VaultResealSettings, VaultResealSettingsResult, VaultSessionExtension, VaultSessionTiming, VaultSharingConfig, VaultSharingOptions, VaultSummary, VaultUploadConfig, VaultUploadSettings, VerifyOptions, VerifyResult, WebPushKeyResponse, WebPushStatus, WebPushStatusOptions, WebPushStatusResult, WebPushSubscriptionInput };
|