@sparkvault/sdk-js 16.2.1 → 16.4.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/README.md +5 -1
- package/dist/index.cjs +23 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.mjs +23 -13
- package/dist/index.mjs.map +1 -1
- package/dist/products/help-desk/support-view.d.ts +3 -0
- package/dist/products/help-desk/types.d.ts +6 -2
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
|
@@ -6,6 +6,8 @@ export interface SupportViewState {
|
|
|
6
6
|
visible: boolean;
|
|
7
7
|
deskName: string;
|
|
8
8
|
brandColor?: string | null;
|
|
9
|
+
/** The desk's plain-text note beside the results' ticket button. */
|
|
10
|
+
contactNote?: string;
|
|
9
11
|
stage: SupportViewStage;
|
|
10
12
|
issue: string;
|
|
11
13
|
busy?: boolean;
|
|
@@ -87,6 +89,7 @@ export declare class SupportView {
|
|
|
87
89
|
private readonly resultStatus;
|
|
88
90
|
private readonly resultError;
|
|
89
91
|
private readonly contactResults;
|
|
92
|
+
private readonly contactNote;
|
|
90
93
|
private readonly resultsFooter;
|
|
91
94
|
private readonly articleTitle;
|
|
92
95
|
private readonly articleCategory;
|
|
@@ -66,6 +66,8 @@ export interface HelpDeskDesk {
|
|
|
66
66
|
customer_can_mark_resolved: boolean;
|
|
67
67
|
/** Optional plain-text note shown only after a request is confirmed sent. */
|
|
68
68
|
ticket_confirmation_message?: string | null;
|
|
69
|
+
/** Optional one-line plain-text note shown beside the support view's ticket button. */
|
|
70
|
+
ticket_contact_note?: string | null;
|
|
69
71
|
/** Independent ticket-portal gate, additional to customer authentication. */
|
|
70
72
|
ticket_access_control?: {
|
|
71
73
|
mode: 'public' | 'password' | 'ip_allowlist' | 'identity';
|
|
@@ -80,10 +82,12 @@ export interface HelpDeskCustomer {
|
|
|
80
82
|
requester_id: string;
|
|
81
83
|
email: string;
|
|
82
84
|
display_name: string | null;
|
|
83
|
-
assurance: 'identity' | 'email_pin' | 'external_sso';
|
|
84
|
-
/**
|
|
85
|
+
assurance: 'identity' | 'email_pin' | 'external_sso' | 'federated';
|
|
86
|
+
/** Whether anyone verified the address. False forbids update emails: a company-session contact their company did not verify, or a person the organization's own identity provider signed in without verifying it. */
|
|
85
87
|
email_verified?: boolean;
|
|
86
88
|
email_updates?: boolean;
|
|
89
|
+
/** True for a session the organization's own identity provider signed in, whose `assurance` is then `federated`: it changes none of the address's update-email choices. */
|
|
90
|
+
federated?: boolean;
|
|
87
91
|
needs_display_name: boolean;
|
|
88
92
|
}
|
|
89
93
|
export interface HelpDeskSession {
|