gm-mcp 1.1.11 → 1.1.12
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/index.js +5 -4
- package/package.json +1 -1
- package/src/index.ts +7 -7
package/dist/index.js
CHANGED
|
@@ -69,10 +69,11 @@ exports.server.tool("statistic_salary_x3_in_range", "Get statistic salary x3 wit
|
|
|
69
69
|
sendMessageToLark: (0, env_1.getEnv)().SEND_MESSAGE_TO_LARK === "true",
|
|
70
70
|
});
|
|
71
71
|
}));
|
|
72
|
-
exports.server.tool("debt_collection", "The company's debt collection information
|
|
73
|
-
month: zod_1.default
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
exports.server.tool("debt_collection", "The company's debt collection information", {
|
|
73
|
+
month: zod_1.default
|
|
74
|
+
.string()
|
|
75
|
+
.optional()
|
|
76
|
+
.describe("Month (optional) ,if year is not provided, please use current year (in Vietnam timezone) instead of, month is represented with format MM/yyyy"),
|
|
76
77
|
company_name: zod_1.default.string({ description: "Company name to get data" }),
|
|
77
78
|
}, (args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
78
79
|
const { month, company_name } = args;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -91,14 +91,14 @@ server.tool(
|
|
|
91
91
|
|
|
92
92
|
server.tool(
|
|
93
93
|
"debt_collection",
|
|
94
|
-
"The company's debt collection information
|
|
94
|
+
"The company's debt collection information",
|
|
95
95
|
{
|
|
96
|
-
month: z
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
96
|
+
month: z
|
|
97
|
+
.string()
|
|
98
|
+
.optional()
|
|
99
|
+
.describe(
|
|
100
|
+
"Month (optional) ,if year is not provided, please use current year (in Vietnam timezone) instead of, month is represented with format MM/yyyy"
|
|
101
|
+
),
|
|
102
102
|
company_name: z.string({ description: "Company name to get data" }),
|
|
103
103
|
},
|
|
104
104
|
async (args) => {
|