gm-mcp 1.3.9 → 1.3.10
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 -0
- package/package.json +1 -1
- package/src/index.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -86,6 +86,7 @@ exports.server.registerTool("debt_collection", {
|
|
|
86
86
|
- compnany name
|
|
87
87
|
- year (optional), if it is not provided use default value
|
|
88
88
|
- product (optional), if it is not provided use default value
|
|
89
|
+
- month (optinal), if it is not provided use default value
|
|
89
90
|
with optional criteria try to use default value, don't ask again
|
|
90
91
|
`,
|
|
91
92
|
inputSchema: v4_1.default.object({
|
|
@@ -100,6 +101,7 @@ exports.server.registerTool("debt_collection", {
|
|
|
100
101
|
.describe("Product type to get data one of follow values EWA 02 - 03 | EWA 04 | Lương X3 | Lương X3 - EVF ")
|
|
101
102
|
.default(product_type_1.PRODUCT_TYPE.EWA_02_03)
|
|
102
103
|
.optional(),
|
|
104
|
+
month: v4_1.default.string().describe("Month to get company debt collection").default("").optional(),
|
|
103
105
|
}),
|
|
104
106
|
}, (args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
105
107
|
const { company_name, product_type } = args;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -98,6 +98,7 @@ server.registerTool(
|
|
|
98
98
|
- compnany name
|
|
99
99
|
- year (optional), if it is not provided use default value
|
|
100
100
|
- product (optional), if it is not provided use default value
|
|
101
|
+
- month (optinal), if it is not provided use default value
|
|
101
102
|
with optional criteria try to use default value, don't ask again
|
|
102
103
|
`,
|
|
103
104
|
inputSchema: z.object({
|
|
@@ -112,6 +113,7 @@ server.registerTool(
|
|
|
112
113
|
.describe("Product type to get data one of follow values EWA 02 - 03 | EWA 04 | Lương X3 | Lương X3 - EVF ")
|
|
113
114
|
.default(PRODUCT_TYPE.EWA_02_03)
|
|
114
115
|
.optional(),
|
|
116
|
+
month: z.string().describe("Month to get company debt collection").default("").optional(),
|
|
115
117
|
}),
|
|
116
118
|
},
|
|
117
119
|
async (args) => {
|