@sparkvault/sdk-js 18.0.0 → 18.0.2
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 +84 -7
- package/dist/index.cjs +1064 -394
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.mjs +1064 -394
- package/dist/index.mjs.map +1 -1
- package/dist/products/help-desk/form-types.d.ts +3 -0
- package/dist/products/help-desk/styles.d.ts +8 -1
- package/dist/products/help-desk/support-brand.d.ts +49 -2
- package/dist/products/help-desk/support-launcher.d.ts +8 -2
- package/dist/products/help-desk/support-styles.d.ts +8 -1
- package/dist/products/help-desk/support-view.d.ts +3 -1
- package/dist/products/identity/views/identity-input.d.ts +2 -5
- package/dist/sparks/index.d.ts +2 -1
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4112,6 +4112,17 @@ declare class HelpDeskClient {
|
|
|
4112
4112
|
private revoke;
|
|
4113
4113
|
}
|
|
4114
4114
|
|
|
4115
|
+
/**
|
|
4116
|
+
* A desk's brand color as its carriers paint it: the color (`#rrggbb`, null
|
|
4117
|
+
* for none) and both of its pairings as the custom properties each carrier
|
|
4118
|
+
* sets on itself, null for none, which leaves the stylesheet's default
|
|
4119
|
+
* pairings (DEFAULT_PAIRING_DECLARATIONS).
|
|
4120
|
+
*/
|
|
4121
|
+
interface SupportBrand {
|
|
4122
|
+
readonly color: string | null;
|
|
4123
|
+
readonly properties: Readonly<Record<string, string>> | null;
|
|
4124
|
+
}
|
|
4125
|
+
|
|
4115
4126
|
/**
|
|
4116
4127
|
* @internal The unsent text a widget form hands on with an account change, and
|
|
4117
4128
|
* `hadFiles` when its composer held files then: files never go on to another form.
|
|
@@ -4201,6 +4212,8 @@ interface HelpDeskFormOptions {
|
|
|
4201
4212
|
onScreenChange?: () => void;
|
|
4202
4213
|
/** @internal The host page already shows "Secured by SparkVault", so the form leaves its own out. */
|
|
4203
4214
|
hostShowsAttribution?: boolean;
|
|
4215
|
+
/** @internal The desk's brand its opener already paired (supportBrand), so the form pairs it no second time. */
|
|
4216
|
+
brand?: SupportBrand;
|
|
4204
4217
|
/** @internal Server-minted, content-free assistance correlation. */
|
|
4205
4218
|
assistanceContext?: () => {
|
|
4206
4219
|
assistance_attempt_id: string;
|
|
@@ -6307,7 +6320,8 @@ declare class SparksModule {
|
|
|
6307
6320
|
/**
|
|
6308
6321
|
* Deliver an invite-only spark's link to its invitee again, changing
|
|
6309
6322
|
* nothing about the link: the way on from an invitation that could not be
|
|
6310
|
-
* delivered (a share rejected with INVITATION_DELIVERY_FAILED
|
|
6323
|
+
* delivered (a share rejected with INVITATION_DELIVERY_FAILED or a 402
|
|
6324
|
+
* usage-credit funding refusal leaves its
|
|
6311
6325
|
* link in place, and the same share again delivers nothing), or one the
|
|
6312
6326
|
* invitee never received. `linkCode` names the link the resend was asked
|
|
6313
6327
|
* of: a link replaced since is never delivered in its place (409 CONFLICT).
|