@skippr/live-agent-sdk 0.121.0 → 0.123.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.
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import type { Module } from '../context/LiveAgentContext';
|
|
1
|
+
import type { AdoptionGoalMatch, Module } from '../context/LiveAgentContext';
|
|
2
2
|
interface UseAutoStartParams {
|
|
3
3
|
availableModules: Module[];
|
|
4
|
+
deepLinkedGoal: AdoptionGoalMatch | null;
|
|
5
|
+
hasTipSlug: boolean;
|
|
6
|
+
adoptionResolved: boolean;
|
|
4
7
|
suppressed: boolean;
|
|
8
|
+
moduleSuppressed: boolean;
|
|
9
|
+
modulesResolved: boolean;
|
|
5
10
|
bearerToken: string | null;
|
|
6
11
|
selectModule: (id: string, opts?: {
|
|
7
12
|
autoStarted?: boolean;
|
|
8
13
|
}) => void;
|
|
14
|
+
startAdoptionSession: (goal: AdoptionGoalMatch) => void;
|
|
9
15
|
}
|
|
10
|
-
export declare function useAutoStart({ availableModules, suppressed, bearerToken, selectModule, }: UseAutoStartParams): void;
|
|
16
|
+
export declare function useAutoStart({ availableModules, deepLinkedGoal, hasTipSlug, adoptionResolved, suppressed, moduleSuppressed, modulesResolved, bearerToken, selectModule, startAdoptionSession, }: UseAutoStartParams): void;
|
|
11
17
|
export {};
|
|
@@ -215,3 +215,4 @@ export type PendingStartKind = (typeof PENDING_START_KIND)[keyof typeof PENDING_
|
|
|
215
215
|
export declare const PLAN_ATTR = "skippr.action-plan";
|
|
216
216
|
export declare const LINK_CARD_ATTR = "skippr.link-card";
|
|
217
217
|
export declare const NAME_MAX_CHARS = 80;
|
|
218
|
+
export declare const TIP_DEEPLINK_PARAM = "skippr";
|