mcp-user-system 1.0.4 → 2.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.
@@ -0,0 +1,240 @@
1
+ export declare const tools: ({
2
+ name: string;
3
+ description: string;
4
+ inputSchema: {
5
+ type: "object";
6
+ properties: {
7
+ orderNo?: undefined;
8
+ amount?: undefined;
9
+ monthType?: undefined;
10
+ deptId?: undefined;
11
+ targetType?: undefined;
12
+ targetId?: undefined;
13
+ targetDeptId?: undefined;
14
+ limitType?: undefined;
15
+ quotaTotal?: undefined;
16
+ groupId?: undefined;
17
+ category?: undefined;
18
+ status?: undefined;
19
+ pageNum?: undefined;
20
+ pageSize?: undefined;
21
+ };
22
+ required: never[];
23
+ };
24
+ } | {
25
+ name: string;
26
+ description: string;
27
+ inputSchema: {
28
+ type: "object";
29
+ properties: {
30
+ orderNo: {
31
+ type: string;
32
+ description: string;
33
+ };
34
+ amount?: undefined;
35
+ monthType?: undefined;
36
+ deptId?: undefined;
37
+ targetType?: undefined;
38
+ targetId?: undefined;
39
+ targetDeptId?: undefined;
40
+ limitType?: undefined;
41
+ quotaTotal?: undefined;
42
+ groupId?: undefined;
43
+ category?: undefined;
44
+ status?: undefined;
45
+ pageNum?: undefined;
46
+ pageSize?: undefined;
47
+ };
48
+ required: string[];
49
+ };
50
+ } | {
51
+ name: string;
52
+ description: string;
53
+ inputSchema: {
54
+ type: "object";
55
+ properties: {
56
+ amount: {
57
+ type: string;
58
+ description: string;
59
+ };
60
+ orderNo?: undefined;
61
+ monthType?: undefined;
62
+ deptId?: undefined;
63
+ targetType?: undefined;
64
+ targetId?: undefined;
65
+ targetDeptId?: undefined;
66
+ limitType?: undefined;
67
+ quotaTotal?: undefined;
68
+ groupId?: undefined;
69
+ category?: undefined;
70
+ status?: undefined;
71
+ pageNum?: undefined;
72
+ pageSize?: undefined;
73
+ };
74
+ required: string[];
75
+ };
76
+ } | {
77
+ name: string;
78
+ description: string;
79
+ inputSchema: {
80
+ type: "object";
81
+ properties: {
82
+ monthType: {
83
+ type: string;
84
+ description: string;
85
+ };
86
+ deptId: {
87
+ type: string;
88
+ description: string;
89
+ };
90
+ orderNo?: undefined;
91
+ amount?: undefined;
92
+ targetType?: undefined;
93
+ targetId?: undefined;
94
+ targetDeptId?: undefined;
95
+ limitType?: undefined;
96
+ quotaTotal?: undefined;
97
+ groupId?: undefined;
98
+ category?: undefined;
99
+ status?: undefined;
100
+ pageNum?: undefined;
101
+ pageSize?: undefined;
102
+ };
103
+ required: never[];
104
+ };
105
+ } | {
106
+ name: string;
107
+ description: string;
108
+ inputSchema: {
109
+ type: "object";
110
+ properties: {
111
+ targetType: {
112
+ type: string;
113
+ description: string;
114
+ };
115
+ targetId: {
116
+ type: string;
117
+ description: string;
118
+ };
119
+ targetDeptId: {
120
+ type: string;
121
+ description: string;
122
+ };
123
+ limitType: {
124
+ type: string;
125
+ description: string;
126
+ };
127
+ quotaTotal: {
128
+ type: string;
129
+ description: string;
130
+ };
131
+ orderNo?: undefined;
132
+ amount?: undefined;
133
+ monthType?: undefined;
134
+ deptId?: undefined;
135
+ groupId?: undefined;
136
+ category?: undefined;
137
+ status?: undefined;
138
+ pageNum?: undefined;
139
+ pageSize?: undefined;
140
+ };
141
+ required: never[];
142
+ };
143
+ } | {
144
+ name: string;
145
+ description: string;
146
+ inputSchema: {
147
+ type: "object";
148
+ properties: {
149
+ monthType: {
150
+ type: string;
151
+ description: string;
152
+ };
153
+ targetType: {
154
+ type: string;
155
+ description: string;
156
+ };
157
+ targetId: {
158
+ type: string;
159
+ description: string;
160
+ };
161
+ deptId: {
162
+ type: string;
163
+ description: string;
164
+ };
165
+ orderNo?: undefined;
166
+ amount?: undefined;
167
+ targetDeptId?: undefined;
168
+ limitType?: undefined;
169
+ quotaTotal?: undefined;
170
+ groupId?: undefined;
171
+ category?: undefined;
172
+ status?: undefined;
173
+ pageNum?: undefined;
174
+ pageSize?: undefined;
175
+ };
176
+ required: never[];
177
+ };
178
+ } | {
179
+ name: string;
180
+ description: string;
181
+ inputSchema: {
182
+ type: "object";
183
+ properties: {
184
+ groupId: {
185
+ type: string;
186
+ description: string;
187
+ };
188
+ orderNo?: undefined;
189
+ amount?: undefined;
190
+ monthType?: undefined;
191
+ deptId?: undefined;
192
+ targetType?: undefined;
193
+ targetId?: undefined;
194
+ targetDeptId?: undefined;
195
+ limitType?: undefined;
196
+ quotaTotal?: undefined;
197
+ category?: undefined;
198
+ status?: undefined;
199
+ pageNum?: undefined;
200
+ pageSize?: undefined;
201
+ };
202
+ required: string[];
203
+ };
204
+ } | {
205
+ name: string;
206
+ description: string;
207
+ inputSchema: {
208
+ type: "object";
209
+ properties: {
210
+ category: {
211
+ type: string;
212
+ description: string;
213
+ };
214
+ status: {
215
+ type: string;
216
+ description: string;
217
+ };
218
+ pageNum: {
219
+ type: string;
220
+ description: string;
221
+ };
222
+ pageSize: {
223
+ type: string;
224
+ description: string;
225
+ };
226
+ orderNo?: undefined;
227
+ amount?: undefined;
228
+ monthType?: undefined;
229
+ deptId?: undefined;
230
+ targetType?: undefined;
231
+ targetId?: undefined;
232
+ targetDeptId?: undefined;
233
+ limitType?: undefined;
234
+ quotaTotal?: undefined;
235
+ groupId?: undefined;
236
+ };
237
+ required: never[];
238
+ };
239
+ })[];
240
+ export declare function handle(name: string, args: Record<string, string>): Promise<unknown>;
@@ -0,0 +1,189 @@
1
+ import { apiGet, apiGetPage, apiPost } from "./client.js";
2
+ export const tools = [
3
+ // ---- 退款 ----
4
+ {
5
+ name: "refund_list",
6
+ description: "退款订单列表",
7
+ inputSchema: { type: "object", properties: {}, required: [] },
8
+ },
9
+ {
10
+ name: "refund_detail",
11
+ description: "退款订单详情",
12
+ inputSchema: {
13
+ type: "object",
14
+ properties: {
15
+ orderNo: { type: "string", description: "退款订单号" },
16
+ },
17
+ required: ["orderNo"],
18
+ },
19
+ },
20
+ {
21
+ name: "refund_preview",
22
+ description: "退款分配预览(预览退款金额分配方案)",
23
+ inputSchema: {
24
+ type: "object",
25
+ properties: {
26
+ amount: { type: "string", description: "退款金额" },
27
+ },
28
+ required: ["amount"],
29
+ },
30
+ },
31
+ // ---- 资源规则 ----
32
+ {
33
+ name: "resource_rules",
34
+ description: "获取资源分配规则页数据",
35
+ inputSchema: {
36
+ type: "object",
37
+ properties: {
38
+ monthType: { type: "string", description: "月份类型" },
39
+ deptId: { type: "string", description: "部门ID(可选)" },
40
+ },
41
+ required: [],
42
+ },
43
+ },
44
+ {
45
+ name: "resource_quota_validate",
46
+ description: "额度输入校验(检查额度值是否合法)",
47
+ inputSchema: {
48
+ type: "object",
49
+ properties: {
50
+ targetType: { type: "string", description: "目标类型" },
51
+ targetId: { type: "string", description: "目标ID" },
52
+ targetDeptId: { type: "string", description: "目标部门ID" },
53
+ limitType: { type: "string", description: "限制类型" },
54
+ quotaTotal: { type: "string", description: "额度总量" },
55
+ },
56
+ required: [],
57
+ },
58
+ },
59
+ {
60
+ name: "resource_quota_bounds",
61
+ description: "查询额度分配界限",
62
+ inputSchema: {
63
+ type: "object",
64
+ properties: {
65
+ monthType: { type: "string", description: "月份类型" },
66
+ targetType: { type: "string", description: "目标类型" },
67
+ targetId: { type: "string", description: "目标ID" },
68
+ deptId: { type: "string", description: "部门ID" },
69
+ },
70
+ required: [],
71
+ },
72
+ },
73
+ {
74
+ name: "resource_config",
75
+ description: "获取统一资源配置回显数据",
76
+ inputSchema: {
77
+ type: "object",
78
+ properties: {
79
+ monthType: { type: "string", description: "月份类型" },
80
+ targetType: { type: "string", description: "目标类型" },
81
+ targetId: { type: "string", description: "目标ID" },
82
+ deptId: { type: "string", description: "部门ID" },
83
+ },
84
+ required: [],
85
+ },
86
+ },
87
+ // ---- 预警 ----
88
+ {
89
+ name: "alert_setting",
90
+ description: "获取预警设置",
91
+ inputSchema: { type: "object", properties: {}, required: [] },
92
+ },
93
+ {
94
+ name: "alert_selected_receivers",
95
+ description: "获取已选的预警接收人列表",
96
+ inputSchema: { type: "object", properties: {}, required: [] },
97
+ },
98
+ {
99
+ name: "alert_selectable_receivers",
100
+ description: "获取可选的预警接收人列表",
101
+ inputSchema: { type: "object", properties: {}, required: [] },
102
+ },
103
+ {
104
+ name: "alert_check",
105
+ description: "检查预警状态",
106
+ inputSchema: {
107
+ type: "object",
108
+ properties: {
109
+ groupId: { type: "string", description: "团队ID" },
110
+ },
111
+ required: ["groupId"],
112
+ },
113
+ },
114
+ // ---- 消息中心 ----
115
+ {
116
+ name: "message_list",
117
+ description: "消息列表",
118
+ inputSchema: {
119
+ type: "object",
120
+ properties: {
121
+ category: { type: "string", description: "消息分类" },
122
+ status: { type: "string", description: "消息状态" },
123
+ pageNum: { type: "string", description: "页码" },
124
+ pageSize: { type: "string", description: "每页条数" },
125
+ },
126
+ required: [],
127
+ },
128
+ },
129
+ {
130
+ name: "message_count",
131
+ description: "未读消息数量统计",
132
+ inputSchema: { type: "object", properties: {}, required: [] },
133
+ },
134
+ {
135
+ name: "message_popup",
136
+ description: "获取待弹窗消息",
137
+ inputSchema: { type: "object", properties: {}, required: [] },
138
+ },
139
+ ];
140
+ export async function handle(name, args) {
141
+ switch (name) {
142
+ // ---- 退款 ----
143
+ case "refund_list":
144
+ return apiGetPage("/console/refund/list");
145
+ case "refund_detail":
146
+ return apiGet(`/console/refund/${args.orderNo}`);
147
+ case "refund_preview":
148
+ return apiPost("/console/refund/preview", { amount: args.amount });
149
+ // ---- 资源规则 ----
150
+ case "resource_rules":
151
+ return apiGet("/console/resource/rules", { monthType: args.monthType, deptId: args.deptId });
152
+ case "resource_quota_validate":
153
+ return apiGet("/console/resource/quota/validate", {
154
+ targetType: args.targetType, targetId: args.targetId,
155
+ targetDeptId: args.targetDeptId, limitType: args.limitType, quotaTotal: args.quotaTotal,
156
+ });
157
+ case "resource_quota_bounds":
158
+ return apiGet("/console/resource/quota/bounds", {
159
+ monthType: args.monthType, targetType: args.targetType,
160
+ targetId: args.targetId, deptId: args.deptId,
161
+ });
162
+ case "resource_config":
163
+ return apiGet("/console/resource/config", {
164
+ monthType: args.monthType, targetType: args.targetType,
165
+ targetId: args.targetId, deptId: args.deptId,
166
+ });
167
+ // ---- 预警 ----
168
+ case "alert_setting":
169
+ return apiGet("/console/alert/setting");
170
+ case "alert_selected_receivers":
171
+ return apiGet("/console/alert/receivers/selected");
172
+ case "alert_selectable_receivers":
173
+ return apiGet("/console/alert/receivers/selectable");
174
+ case "alert_check":
175
+ return apiGet("/console/alert/check", { groupId: args.groupId });
176
+ // ---- 消息中心 ----
177
+ case "message_list":
178
+ return apiGetPage("/console/message/list", {
179
+ category: args.category, status: args.status, pageNum: args.pageNum, pageSize: args.pageSize,
180
+ });
181
+ case "message_count":
182
+ return apiGet("/console/message/count");
183
+ case "message_popup":
184
+ return apiGet("/console/message/popup");
185
+ default:
186
+ throw new Error(`Unknown tool: ${name}`);
187
+ }
188
+ }
189
+ //# sourceMappingURL=misc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"misc.js","sourceRoot":"","sources":["../../src/tools/misc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE1D,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe;IACf;QACE,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,QAAQ;QACrB,WAAW,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;KACvE;IACD;QACE,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,QAAQ;QACrB,WAAW,EAAE;YACX,IAAI,EAAE,QAAiB;YACvB,UAAU,EAAE;gBACV,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE;aAClD;YACD,QAAQ,EAAE,CAAC,SAAS,CAAC;SACtB;KACF;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,WAAW,EAAE,oBAAoB;QACjC,WAAW,EAAE;YACX,I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M,CAAC,sBAAsB,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;QACnE,iBAAiB;QACjB,KAAK,cAAc;YACjB,OAAO,UAAU,CAAC,uBAAuB,EAAE;gBACzC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ;aAC7F,CAAC,CAAC;QACL,KAAK,eAAe;YAClB,OAAO,MAAM,CAAC,wBAAwB,CAAC,CAAC;QAC1C,KAAK,eAAe;YAClB,OAAO,MAAM,CAAC,wBAAwB,CAAC,CAAC;QAC1C;YACE,MAAM,IAAI,KAAK,CAAC,iBAAiB,IAAI,EAAE,CAAC,CAAC;IAC7C,CAAC;AACH,CAAC"}
@@ -0,0 +1,157 @@
1
+ export declare const tools: ({
2
+ name: string;
3
+ description: string;
4
+ inputSchema: {
5
+ type: "object";
6
+ properties: {
7
+ deptId?: undefined;
8
+ userId?: undefined;
9
+ keyword?: undefined;
10
+ roleId?: undefined;
11
+ status?: undefined;
12
+ range?: undefined;
13
+ phoneNumber?: undefined;
14
+ inviteCode?: undefined;
15
+ };
16
+ required: never[];
17
+ };
18
+ } | {
19
+ name: string;
20
+ description: string;
21
+ inputSchema: {
22
+ type: "object";
23
+ properties: {
24
+ deptId: {
25
+ type: string;
26
+ description: string;
27
+ };
28
+ userId?: undefined;
29
+ keyword?: undefined;
30
+ roleId?: undefined;
31
+ status?: undefined;
32
+ range?: undefined;
33
+ phoneNumber?: undefined;
34
+ inviteCode?: undefined;
35
+ };
36
+ required: string[];
37
+ };
38
+ } | {
39
+ name: string;
40
+ description: string;
41
+ inputSchema: {
42
+ type: "object";
43
+ properties: {
44
+ userId: {
45
+ type: string;
46
+ description: string;
47
+ };
48
+ deptId?: undefined;
49
+ keyword?: undefined;
50
+ roleId?: undefined;
51
+ status?: undefined;
52
+ range?: undefined;
53
+ phoneNumber?: undefined;
54
+ inviteCode?: undefined;
55
+ };
56
+ required: string[];
57
+ };
58
+ } | {
59
+ name: string;
60
+ description: string;
61
+ inputSchema: {
62
+ type: "object";
63
+ properties: {
64
+ keyword: {
65
+ type: string;
66
+ description: string;
67
+ };
68
+ deptId: {
69
+ type: string;
70
+ description: string;
71
+ };
72
+ roleId: {
73
+ type: string;
74
+ description: string;
75
+ };
76
+ status: {
77
+ type: string;
78
+ description: string;
79
+ };
80
+ userId?: undefined;
81
+ range?: undefined;
82
+ phoneNumber?: undefined;
83
+ inviteCode?: undefined;
84
+ };
85
+ required: never[];
86
+ };
87
+ } | {
88
+ name: string;
89
+ description: string;
90
+ inputSchema: {
91
+ type: "object";
92
+ properties: {
93
+ userId: {
94
+ type: string;
95
+ description: string;
96
+ };
97
+ range: {
98
+ type: string;
99
+ description: string;
100
+ };
101
+ deptId?: undefined;
102
+ keyword?: undefined;
103
+ roleId?: undefined;
104
+ status?: undefined;
105
+ phoneNumber?: undefined;
106
+ inviteCode?: undefined;
107
+ };
108
+ required: string[];
109
+ };
110
+ } | {
111
+ name: string;
112
+ description: string;
113
+ inputSchema: {
114
+ type: "object";
115
+ properties: {
116
+ deptId: {
117
+ type: string;
118
+ description: string;
119
+ };
120
+ phoneNumber: {
121
+ type: string;
122
+ description: string;
123
+ };
124
+ status: {
125
+ type: string;
126
+ description: string;
127
+ };
128
+ userId?: undefined;
129
+ keyword?: undefined;
130
+ roleId?: undefined;
131
+ range?: undefined;
132
+ inviteCode?: undefined;
133
+ };
134
+ required: never[];
135
+ };
136
+ } | {
137
+ name: string;
138
+ description: string;
139
+ inputSchema: {
140
+ type: "object";
141
+ properties: {
142
+ inviteCode: {
143
+ type: string;
144
+ description: string;
145
+ };
146
+ deptId?: undefined;
147
+ userId?: undefined;
148
+ keyword?: undefined;
149
+ roleId?: undefined;
150
+ status?: undefined;
151
+ range?: undefined;
152
+ phoneNumber?: undefined;
153
+ };
154
+ required: string[];
155
+ };
156
+ })[];
157
+ export declare function handle(name: string, args: Record<string, string>): Promise<unknown>;