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