@koggitechorg/koggi-mcp-server 1.0.6 → 1.0.7
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 +3 -3
- package/package.json +1 -1
- package/src/index.ts +3 -3
package/dist/index.js
CHANGED
|
@@ -17,12 +17,12 @@ server.tool("generate_simulator", "Genera un simulador financiero para un usuari
|
|
|
17
17
|
email_requester (string, correo electrónico de quien solicita el simulador), \
|
|
18
18
|
income_updated (number, ingreso mensual actualizado del cliente), \
|
|
19
19
|
observations (string, observaciones o comentarios adicionales sobre la solicitud).", {
|
|
20
|
-
id_lead: z.string().isOptional(),
|
|
21
|
-
identification_number: z.string().isOptional(),
|
|
22
|
-
builder: z.string().isOptional(),
|
|
23
20
|
email_requester: z.string().email().min(1, "Email is required"),
|
|
24
21
|
income_updated: z.number().min(1, "Income is required"),
|
|
25
22
|
observations: z.string().min(1, "Observations are required"),
|
|
23
|
+
id_lead: z.string().optional(),
|
|
24
|
+
identification_number: z.string().optional(),
|
|
25
|
+
builder: z.string().optional(),
|
|
26
26
|
}, async ({ id_lead, identification_number, builder, email_requester, income_updated, observations }) => {
|
|
27
27
|
return errorHandler(async () => {
|
|
28
28
|
const user = await generateSimulator({
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -23,12 +23,12 @@ server.tool(
|
|
|
23
23
|
income_updated (number, ingreso mensual actualizado del cliente), \
|
|
24
24
|
observations (string, observaciones o comentarios adicionales sobre la solicitud).",
|
|
25
25
|
{
|
|
26
|
-
id_lead: z.string().isOptional(),
|
|
27
|
-
identification_number: z.string().isOptional(),
|
|
28
|
-
builder: z.string().isOptional(),
|
|
29
26
|
email_requester: z.string().email().min(1, "Email is required"),
|
|
30
27
|
income_updated: z.number().min(1, "Income is required"),
|
|
31
28
|
observations: z.string().min(1, "Observations are required"),
|
|
29
|
+
id_lead: z.string().optional(),
|
|
30
|
+
identification_number: z.string().optional(),
|
|
31
|
+
builder: z.string().optional(),
|
|
32
32
|
},
|
|
33
33
|
async ({ id_lead, identification_number, builder, email_requester, income_updated, observations }) => {
|
|
34
34
|
return errorHandler(async () => {
|