@sparkvault/sdk-js 18.0.0 → 18.0.1

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/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;