gm-mcp 1.1.15 → 1.1.17
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 +1 -4
- package/package.json +1 -1
- package/src/index.ts +1 -5
package/dist/index.js
CHANGED
|
@@ -72,12 +72,9 @@ exports.server.tool("statistic_salary_x3_in_range", "Get statistic salary x3 wit
|
|
|
72
72
|
exports.server.tool("debt_collection", "The company's debt collection information", {
|
|
73
73
|
month: zod_1.default
|
|
74
74
|
.string()
|
|
75
|
-
.
|
|
75
|
+
.default("")
|
|
76
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"),
|
|
77
77
|
company_name: zod_1.default.string({ description: "Company name to get data" }),
|
|
78
|
-
}, {
|
|
79
|
-
// ONLY 'title' is mandatory
|
|
80
|
-
required: ["company_name"],
|
|
81
78
|
}, (args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
82
79
|
const { month, company_name } = args;
|
|
83
80
|
return (0, lark_tool_1.debtCollectionRateTool)({
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -95,16 +95,12 @@ server.tool(
|
|
|
95
95
|
{
|
|
96
96
|
month: z
|
|
97
97
|
.string()
|
|
98
|
-
.
|
|
98
|
+
.default("")
|
|
99
99
|
.describe(
|
|
100
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
101
|
),
|
|
102
102
|
company_name: z.string({ description: "Company name to get data" }),
|
|
103
103
|
},
|
|
104
|
-
{
|
|
105
|
-
// ONLY 'title' is mandatory
|
|
106
|
-
required: ["company_name"],
|
|
107
|
-
},
|
|
108
104
|
async (args) => {
|
|
109
105
|
const { month, company_name } = args;
|
|
110
106
|
return debtCollectionRateTool({
|