@ezychat/web 0.1.46 → 0.1.48
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-lib/chunks/admin-CpYxtKzJ.js +694 -0
- package/dist-lib/chunks/admin-Da2uR7mY.js +695 -0
- package/dist-lib/chunks/{app-C2A7ZZsu.js → app-3jWCMPbu.js} +3 -1
- package/dist-lib/chunks/{app-RX8Fy2Oz.js → app-Diwr0AD0.js} +3 -1
- package/dist-lib/chunks/{inbox-DccyncVL.js → inbox-DtLIGOCo.js} +29 -14
- package/dist-lib/chunks/{inbox-Bdg6faLa.js → inbox-u9BCZ1IH.js} +29 -14
- package/dist-lib/ezychat-web.css +1 -1
- package/dist-lib/index.js +10987 -4997
- package/dist-lib/types/admin/AdminLayout.d.ts +14 -1
- package/dist-lib/types/admin/AiContextPanel.d.ts +10 -5
- package/dist-lib/types/admin/AiEditDialog.d.ts +6 -2
- package/dist-lib/types/admin/AiMemberPage.d.ts +6 -0
- package/dist-lib/types/admin/AiTryIt.d.ts +7 -2
- package/dist-lib/types/admin/InboxAccess.d.ts +9 -0
- package/dist-lib/types/admin/InboxesPage.d.ts +3 -0
- package/dist-lib/types/admin/PresetBadge.d.ts +8 -0
- package/dist-lib/types/admin/agent-path.d.ts +6 -0
- package/dist-lib/types/admin/ai-status.d.ts +15 -1
- package/dist-lib/types/admin/inbox-status.d.ts +16 -0
- package/dist-lib/types/api/ai.d.ts +194 -6
- package/dist-lib/types/api/inbox-mutations.d.ts +70 -0
- package/dist-lib/types/api/queries.d.ts +78 -3
- package/dist-lib/types/extensions/agent-section.d.ts +18 -0
- package/dist-lib/types/extensions/index.d.ts +1 -0
- package/dist-lib/types/extensions/types.d.ts +1 -1
- package/dist-lib/types/i18n/resources.d.ts +222 -3
- package/dist-lib/types/inbox/ChatFilters.d.ts +4 -1
- package/dist-lib/types/inbox/ChatListItem.d.ts +4 -2
- package/dist-lib/types/inbox/ConversationHeader.d.ts +4 -2
- package/dist-lib/types/inbox/InboxChip.d.ts +6 -0
- package/dist-lib/types/inbox/WaBanner.d.ts +6 -1
- package/dist-lib/types/inbox/useDirectory.d.ts +26 -4
- package/dist-lib/types/inbox/useVisibleInboxes.d.ts +12 -0
- package/dist-lib/types/index.d.ts +1 -1
- package/dist-lib/types/lib/whatsapp-format.d.ts +5 -0
- package/dist-lib/types/setup/AiAssistantStep.d.ts +3 -2
- package/dist-lib/types/wa/PhoneLink.d.ts +7 -2
- package/package.json +2 -2
- package/dist-lib/chunks/admin-CO4a2wgk.js +0 -620
- package/dist-lib/chunks/admin-DviFuAwJ.js +0 -621
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Setup step 3 (skippable): describe the business, connect the AI, optionally turn it on.
|
|
3
|
-
* Finish
|
|
4
|
-
*
|
|
3
|
+
* Finish saves the default Sales Agent through `PUT /api/ai` (it creates the agent only once, so a
|
|
4
|
+
* retry never makes a second one) with the recommended instructions and hand-off rules, saves the
|
|
5
|
+
* text as one Business context item of that agent and turns the agent on when chosen.
|
|
5
6
|
*/
|
|
6
7
|
export declare function AiAssistantStep({ businessName, onDone, }: {
|
|
7
8
|
businessName: string;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
/** "ABCD1234" → "ABCD-1234", the way WhatsApp displays pairing codes. */
|
|
2
2
|
export declare function formatPairingCode(code: string): string;
|
|
3
|
-
/**
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Link WhatsApp with a phone number + 8-character pairing code instead of scanning a QR. Without
|
|
5
|
+
* `inboxId` it links the first number (`/wa/pairing-code`, as before multi-inbox).
|
|
6
|
+
*/
|
|
7
|
+
export declare function PhoneLink({ inboxId }?: Readonly<{
|
|
8
|
+
inboxId?: number;
|
|
9
|
+
}>): import("react").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ezychat/web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.48",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "EzyChat core: the team inbox web app (React) as a library, with createInboxApp and its extension API.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"build:lib": "node ../../scripts/build-web-lib.mjs"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@ezychat/shared": "0.1.
|
|
43
|
+
"@ezychat/shared": "0.1.48",
|
|
44
44
|
"@fontsource-variable/inter": "^5.3.0",
|
|
45
45
|
"@tanstack/react-query": "^5.104.4",
|
|
46
46
|
"@types/react": "^19.3.0",
|