@tbox.cn/app-module-customer-service 1.0.0-alpha.17 → 1.0.0-alpha.19
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/client/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// src/client/cards/customer-service-faq/index.tsx
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { CaretDownIcon as CaretDown } from "@phosphor-icons/react/CaretDown";
|
|
4
|
+
import { PhoneIcon as Phone } from "@phosphor-icons/react/Phone";
|
|
5
|
+
import { ArrowSquareOutIcon as ArrowSquareOut } from "@phosphor-icons/react/ArrowSquareOut";
|
|
4
6
|
import { sendCardAction } from "@tbox.cn/app-agent-sdk-client";
|
|
5
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
8
|
function CustomerServiceFaqCard(props) {
|
package/dist/server/index.d.ts
CHANGED
|
@@ -54,14 +54,14 @@ declare const serverModule: {
|
|
|
54
54
|
relevanceScore: zod.ZodNumber;
|
|
55
55
|
referenceUrl: zod.ZodOptional<zod.ZodString>;
|
|
56
56
|
}, "strip", zod.ZodTypeAny, {
|
|
57
|
-
question: string;
|
|
58
57
|
answer: string;
|
|
58
|
+
question: string;
|
|
59
59
|
relevanceScore: number;
|
|
60
60
|
category?: string | undefined;
|
|
61
61
|
referenceUrl?: string | undefined;
|
|
62
62
|
}, {
|
|
63
|
-
question: string;
|
|
64
63
|
answer: string;
|
|
64
|
+
question: string;
|
|
65
65
|
relevanceScore: number;
|
|
66
66
|
category?: string | undefined;
|
|
67
67
|
referenceUrl?: string | undefined;
|
|
@@ -71,25 +71,25 @@ declare const serverModule: {
|
|
|
71
71
|
}, "strip", zod.ZodTypeAny, {
|
|
72
72
|
query: string;
|
|
73
73
|
faqs: {
|
|
74
|
-
question: string;
|
|
75
74
|
answer: string;
|
|
75
|
+
question: string;
|
|
76
76
|
relevanceScore: number;
|
|
77
77
|
category?: string | undefined;
|
|
78
78
|
referenceUrl?: string | undefined;
|
|
79
79
|
}[];
|
|
80
|
-
contactPhone?: string | undefined;
|
|
81
80
|
noResultsReason?: string | undefined;
|
|
81
|
+
contactPhone?: string | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
query: string;
|
|
84
84
|
faqs: {
|
|
85
|
-
question: string;
|
|
86
85
|
answer: string;
|
|
86
|
+
question: string;
|
|
87
87
|
relevanceScore: number;
|
|
88
88
|
category?: string | undefined;
|
|
89
89
|
referenceUrl?: string | undefined;
|
|
90
90
|
}[];
|
|
91
|
-
contactPhone?: string | undefined;
|
|
92
91
|
noResultsReason?: string | undefined;
|
|
92
|
+
contactPhone?: string | undefined;
|
|
93
93
|
}>>;
|
|
94
94
|
};
|
|
95
95
|
skills: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tbox.cn/app-module-customer-service",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "商圈客服承接模块:服务政策 FAQ 知识检索(命中正文作答/无结果联系客服卡)。",
|
|
6
6
|
"exports": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"./package.json": "./package.json"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@tbox.cn/app-contracts": "1.0.0-alpha.
|
|
23
|
-
"@tbox.cn/app-
|
|
24
|
-
"@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.
|
|
25
|
-
"@tbox.cn/app-
|
|
22
|
+
"@tbox.cn/app-contracts": "1.0.0-alpha.19",
|
|
23
|
+
"@tbox.cn/app-contracts-mall": "1.0.0-alpha.19",
|
|
24
|
+
"@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.19",
|
|
25
|
+
"@tbox.cn/app-agent-sdk-client": "1.0.0-alpha.19"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"zod": "3.25.76",
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
* 自 shopping-guide 迁入(2026-08-31 客服模块拆分);视觉类名 sg- → cs-(模块自持样式)。
|
|
4
4
|
*/
|
|
5
5
|
import { useState } from 'react';
|
|
6
|
-
import {
|
|
6
|
+
import { CaretDownIcon as CaretDown } from '@phosphor-icons/react/CaretDown';
|
|
7
|
+
import { PhoneIcon as Phone } from '@phosphor-icons/react/Phone';
|
|
8
|
+
import { ArrowSquareOutIcon as ArrowSquareOut } from '@phosphor-icons/react/ArrowSquareOut';
|
|
7
9
|
import { sendCardAction } from '@tbox.cn/app-agent-sdk-client';
|
|
8
10
|
import type { CustomerServiceFaqCardData } from '@tbox.cn/app-contracts-mall';
|
|
9
11
|
|