gm-mcp 1.1.37 → 1.1.40

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 CHANGED
@@ -76,13 +76,15 @@ exports.server.registerTool("debt_collection", {
76
76
  company_name: zod_1.default.string({ description: "Company name to get data" }),
77
77
  year: zod_1.default
78
78
  .string({
79
- description: "Year of company debt collection, if year is not provided use this year (vietname time zone)",
79
+ description: "Year to get company debt collection, if year is not provided use this year (vietname time zone)",
80
80
  })
81
+ .optional()
81
82
  .default("2025"),
82
83
  product_type: zod_1.default
83
84
  .string({
84
85
  description: "Product type to get data one of follow values EWA 02 - 03 | EWA 04 | Lương X3 | Lương X3 - EVF ",
85
86
  })
87
+ .optional()
86
88
  .default(product_type_1.PRODUCT_TYPE.EWA_02_03),
87
89
  },
88
90
  }, (args) => __awaiter(void 0, void 0, void 0, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-mcp",
3
- "version": "1.1.37",
3
+ "version": "1.1.40",
4
4
  "description": "Mcp server for Gm",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -98,14 +98,17 @@ server.registerTool(
98
98
  company_name: z.string({ description: "Company name to get data" }),
99
99
  year: z
100
100
  .string({
101
- description: "Year of company debt collection, if year is not provided use this year (vietname time zone)",
101
+ description:
102
+ "Year to get company debt collection, if year is not provided use this year (vietname time zone)",
102
103
  })
104
+ .optional()
103
105
  .default("2025"),
104
106
  product_type: z
105
107
  .string({
106
108
  description:
107
109
  "Product type to get data one of follow values EWA 02 - 03 | EWA 04 | Lương X3 | Lương X3 - EVF ",
108
110
  })
111
+ .optional()
109
112
  .default(PRODUCT_TYPE.EWA_02_03),
110
113
  },
111
114
  },