@sparkvault/sdk-js 8.13.1 → 8.14.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/errors.d.ts +9 -0
- package/dist/index.d.ts +881 -225
- package/dist/notify/index.d.ts +32 -2
- package/dist/notify/types.d.ts +27 -0
- package/dist/products/index.d.ts +15 -1
- package/dist/products/notify/index.d.ts +188 -0
- package/dist/products/notify/types.d.ts +392 -0
- package/dist/sparkvault.cjs.js +490 -2
- package/dist/sparkvault.cjs.js.map +1 -1
- package/dist/sparkvault.esm.js +487 -3
- package/dist/sparkvault.esm.js.map +1 -1
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
package/dist/errors.d.ts
CHANGED
|
@@ -39,6 +39,15 @@ export declare class QuotaExceededError extends SparkVaultError {
|
|
|
39
39
|
readonly resource?: QuotaResource;
|
|
40
40
|
constructor(message: string, details?: Record<string, unknown>);
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* Notify subscription gate (403 NOTIFY_SUBSCRIPTION_REQUIRED) — the account has
|
|
44
|
+
* no active Notify subscription and attempted a send. Distinct from a generic
|
|
45
|
+
* authorization failure: the credential is fine and re-authenticating changes
|
|
46
|
+
* nothing, so surface a subscribe CTA rather than a sign-in prompt.
|
|
47
|
+
*/
|
|
48
|
+
export declare class NotifySubscriptionRequiredError extends SparkVaultError {
|
|
49
|
+
constructor(message: string, details?: Record<string, unknown>);
|
|
50
|
+
}
|
|
42
51
|
export declare class NetworkError extends SparkVaultError {
|
|
43
52
|
constructor(message: string, details?: Record<string, unknown>);
|
|
44
53
|
}
|