zernio-mcp 1.3.0 → 1.3.2
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 +19 -13
- package/dist/index.js.map +1 -1
- package/dist/tools/accounts.d.ts +136 -3
- package/dist/tools/accounts.d.ts.map +1 -1
- package/dist/tools/accounts.js +188 -14
- package/dist/tools/accounts.js.map +1 -1
- package/dist/tools/automations.d.ts +108 -0
- package/dist/tools/automations.d.ts.map +1 -0
- package/dist/tools/automations.js +89 -0
- package/dist/tools/automations.js.map +1 -0
- package/dist/tools/broadcasts.d.ts +96 -0
- package/dist/tools/broadcasts.d.ts.map +1 -0
- package/dist/tools/broadcasts.js +93 -0
- package/dist/tools/broadcasts.js.map +1 -0
- package/dist/tools/connect.d.ts +126 -0
- package/dist/tools/connect.d.ts.map +1 -0
- package/dist/tools/connect.js +130 -0
- package/dist/tools/connect.js.map +1 -0
- package/dist/tools/contacts.d.ts +176 -0
- package/dist/tools/contacts.d.ts.map +1 -0
- package/dist/tools/contacts.js +130 -0
- package/dist/tools/contacts.js.map +1 -0
- package/dist/tools/messages.d.ts +26 -5
- package/dist/tools/messages.d.ts.map +1 -1
- package/dist/tools/messages.js +26 -26
- package/dist/tools/messages.js.map +1 -1
- package/dist/tools/posts.d.ts +248 -0
- package/dist/tools/posts.d.ts.map +1 -0
- package/dist/tools/posts.js +224 -0
- package/dist/tools/posts.js.map +1 -0
- package/dist/tools/profiles.d.ts +170 -0
- package/dist/tools/profiles.d.ts.map +1 -0
- package/dist/tools/profiles.js +158 -0
- package/dist/tools/profiles.js.map +1 -0
- package/dist/tools/social.d.ts +272 -0
- package/dist/tools/social.d.ts.map +1 -0
- package/dist/tools/social.js +287 -0
- package/dist/tools/social.js.map +1 -0
- package/dist/tools/whatsapp-business.d.ts +292 -0
- package/dist/tools/whatsapp-business.d.ts.map +1 -0
- package/dist/tools/whatsapp-business.js +267 -0
- package/dist/tools/whatsapp-business.js.map +1 -0
- package/package.json +1 -39
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const contactTools: ({
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
inputSchema: z.ZodObject<{
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
search: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
limit?: number | undefined;
|
|
10
|
+
search?: string | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
limit?: number | undefined;
|
|
13
|
+
search?: string | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
handler: (args: {
|
|
16
|
+
limit?: number;
|
|
17
|
+
search?: string;
|
|
18
|
+
}) => Promise<unknown>;
|
|
19
|
+
} | {
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
inputSchema: z.ZodObject<{
|
|
23
|
+
contactId: z.ZodString;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
contactId: string;
|
|
26
|
+
}, {
|
|
27
|
+
contactId: string;
|
|
28
|
+
}>;
|
|
29
|
+
handler: (args: {
|
|
30
|
+
contactId: string;
|
|
31
|
+
}) => Promise<unknown>;
|
|
32
|
+
} | {
|
|
33
|
+
name: string;
|
|
34
|
+
description: string;
|
|
35
|
+
inputSchema: z.ZodObject<{
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
email: z.ZodOptional<z.ZodString>;
|
|
38
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
name: string;
|
|
41
|
+
email?: string | undefined;
|
|
42
|
+
phone?: string | undefined;
|
|
43
|
+
}, {
|
|
44
|
+
name: string;
|
|
45
|
+
email?: string | undefined;
|
|
46
|
+
phone?: string | undefined;
|
|
47
|
+
}>;
|
|
48
|
+
handler: (args: {
|
|
49
|
+
name: string;
|
|
50
|
+
email?: string;
|
|
51
|
+
phone?: string;
|
|
52
|
+
}) => Promise<unknown>;
|
|
53
|
+
} | {
|
|
54
|
+
name: string;
|
|
55
|
+
description: string;
|
|
56
|
+
inputSchema: z.ZodObject<{
|
|
57
|
+
contactId: z.ZodString;
|
|
58
|
+
name: z.ZodOptional<z.ZodString>;
|
|
59
|
+
email: z.ZodOptional<z.ZodString>;
|
|
60
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
contactId: string;
|
|
63
|
+
name?: string | undefined;
|
|
64
|
+
email?: string | undefined;
|
|
65
|
+
phone?: string | undefined;
|
|
66
|
+
}, {
|
|
67
|
+
contactId: string;
|
|
68
|
+
name?: string | undefined;
|
|
69
|
+
email?: string | undefined;
|
|
70
|
+
phone?: string | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
handler: (args: {
|
|
73
|
+
contactId: string;
|
|
74
|
+
name?: string;
|
|
75
|
+
email?: string;
|
|
76
|
+
phone?: string;
|
|
77
|
+
}) => Promise<unknown>;
|
|
78
|
+
} | {
|
|
79
|
+
name: string;
|
|
80
|
+
description: string;
|
|
81
|
+
inputSchema: z.ZodObject<{
|
|
82
|
+
contacts: z.ZodArray<z.ZodObject<{
|
|
83
|
+
name: z.ZodString;
|
|
84
|
+
email: z.ZodOptional<z.ZodString>;
|
|
85
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
name: string;
|
|
88
|
+
email?: string | undefined;
|
|
89
|
+
phone?: string | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
name: string;
|
|
92
|
+
email?: string | undefined;
|
|
93
|
+
phone?: string | undefined;
|
|
94
|
+
}>, "many">;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
contacts: {
|
|
97
|
+
name: string;
|
|
98
|
+
email?: string | undefined;
|
|
99
|
+
phone?: string | undefined;
|
|
100
|
+
}[];
|
|
101
|
+
}, {
|
|
102
|
+
contacts: {
|
|
103
|
+
name: string;
|
|
104
|
+
email?: string | undefined;
|
|
105
|
+
phone?: string | undefined;
|
|
106
|
+
}[];
|
|
107
|
+
}>;
|
|
108
|
+
handler: (args: {
|
|
109
|
+
contacts: Array<{
|
|
110
|
+
name: string;
|
|
111
|
+
email?: string;
|
|
112
|
+
phone?: string;
|
|
113
|
+
}>;
|
|
114
|
+
}) => Promise<unknown>;
|
|
115
|
+
} | {
|
|
116
|
+
name: string;
|
|
117
|
+
description: string;
|
|
118
|
+
inputSchema: z.ZodObject<{
|
|
119
|
+
contactId: z.ZodString;
|
|
120
|
+
fieldSlug: z.ZodString;
|
|
121
|
+
value: z.ZodString;
|
|
122
|
+
}, "strip", z.ZodTypeAny, {
|
|
123
|
+
value: string;
|
|
124
|
+
contactId: string;
|
|
125
|
+
fieldSlug: string;
|
|
126
|
+
}, {
|
|
127
|
+
value: string;
|
|
128
|
+
contactId: string;
|
|
129
|
+
fieldSlug: string;
|
|
130
|
+
}>;
|
|
131
|
+
handler: (args: {
|
|
132
|
+
contactId: string;
|
|
133
|
+
fieldSlug: string;
|
|
134
|
+
value: string;
|
|
135
|
+
}) => Promise<unknown>;
|
|
136
|
+
} | {
|
|
137
|
+
name: string;
|
|
138
|
+
description: string;
|
|
139
|
+
inputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
140
|
+
handler: (_args: Record<string, never>) => Promise<unknown>;
|
|
141
|
+
} | {
|
|
142
|
+
name: string;
|
|
143
|
+
description: string;
|
|
144
|
+
inputSchema: z.ZodObject<{
|
|
145
|
+
name: z.ZodString;
|
|
146
|
+
type: z.ZodString;
|
|
147
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
148
|
+
}, "strip", z.ZodTypeAny, {
|
|
149
|
+
type: string;
|
|
150
|
+
name: string;
|
|
151
|
+
slug?: string | undefined;
|
|
152
|
+
}, {
|
|
153
|
+
type: string;
|
|
154
|
+
name: string;
|
|
155
|
+
slug?: string | undefined;
|
|
156
|
+
}>;
|
|
157
|
+
handler: (args: {
|
|
158
|
+
name: string;
|
|
159
|
+
type: string;
|
|
160
|
+
slug?: string;
|
|
161
|
+
}) => Promise<unknown>;
|
|
162
|
+
} | {
|
|
163
|
+
name: string;
|
|
164
|
+
description: string;
|
|
165
|
+
inputSchema: z.ZodObject<{
|
|
166
|
+
fieldId: z.ZodString;
|
|
167
|
+
}, "strip", z.ZodTypeAny, {
|
|
168
|
+
fieldId: string;
|
|
169
|
+
}, {
|
|
170
|
+
fieldId: string;
|
|
171
|
+
}>;
|
|
172
|
+
handler: (args: {
|
|
173
|
+
fieldId: string;
|
|
174
|
+
}) => Promise<unknown>;
|
|
175
|
+
})[];
|
|
176
|
+
//# sourceMappingURL=contacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../../src/tools/contacts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;oBAQC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;oBAUnC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;;oBAYrB;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;oBAahD;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAwBpE;QAAE,QAAQ,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,KAAK,CAAC,EAAE,MAAM,CAAC;YAAC,KAAK,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;KAAE;;;;;;;;;;;;;;;;;oBAsBrE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;;;;;qBAQtD,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;;;;;;;;;;;;;;;;;oBAYtB;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;oBAU7C;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE;IAI5C,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.contactTools = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const client_js_1 = require("../client.js");
|
|
6
|
+
exports.contactTools = [
|
|
7
|
+
{
|
|
8
|
+
name: "zernio_list_contacts",
|
|
9
|
+
description: "List all contacts in your Zernio CRM with their info and channels.",
|
|
10
|
+
inputSchema: zod_1.z.object({
|
|
11
|
+
limit: zod_1.z.number().optional().describe("Max contacts to return"),
|
|
12
|
+
search: zod_1.z.string().optional().describe("Search by name or email"),
|
|
13
|
+
}),
|
|
14
|
+
handler: async (args) => {
|
|
15
|
+
return (0, client_js_1.zernioRequest)("GET", "/v1/contacts", undefined, { limit: args.limit, search: args.search });
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: "zernio_get_contact",
|
|
20
|
+
description: "Get details for a specific contact.",
|
|
21
|
+
inputSchema: zod_1.z.object({
|
|
22
|
+
contactId: zod_1.z.string().describe("The contact ID"),
|
|
23
|
+
}),
|
|
24
|
+
handler: async (args) => {
|
|
25
|
+
return (0, client_js_1.zernioRequest)("GET", `/v1/contacts/${args.contactId}`);
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "zernio_create_contact",
|
|
30
|
+
description: "Create a new contact in your Zernio CRM.",
|
|
31
|
+
inputSchema: zod_1.z.object({
|
|
32
|
+
name: zod_1.z.string().describe("Contact's full name"),
|
|
33
|
+
email: zod_1.z.string().optional().describe("Contact's email address"),
|
|
34
|
+
phone: zod_1.z.string().optional().describe("Contact's phone number"),
|
|
35
|
+
}),
|
|
36
|
+
handler: async (args) => {
|
|
37
|
+
return (0, client_js_1.zernioRequest)("POST", "/v1/contacts", { name: args.name, email: args.email, phone: args.phone });
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: "zernio_update_contact",
|
|
42
|
+
description: "Update an existing contact's details.",
|
|
43
|
+
inputSchema: zod_1.z.object({
|
|
44
|
+
contactId: zod_1.z.string().describe("The contact ID"),
|
|
45
|
+
name: zod_1.z.string().optional().describe("Updated name"),
|
|
46
|
+
email: zod_1.z.string().optional().describe("Updated email"),
|
|
47
|
+
phone: zod_1.z.string().optional().describe("Updated phone"),
|
|
48
|
+
}),
|
|
49
|
+
handler: async (args) => {
|
|
50
|
+
return (0, client_js_1.zernioRequest)("PUT", `/v1/contacts/${args.contactId}`, { name: args.name, email: args.email, phone: args.phone });
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: "zernio_delete_contact",
|
|
55
|
+
description: "Delete a contact from your Zernio CRM.",
|
|
56
|
+
inputSchema: zod_1.z.object({
|
|
57
|
+
contactId: zod_1.z.string().describe("The contact ID to delete"),
|
|
58
|
+
}),
|
|
59
|
+
handler: async (args) => {
|
|
60
|
+
return (0, client_js_1.zernioRequest)("DELETE", `/v1/contacts/${args.contactId}`);
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "zernio_bulk_create_contacts",
|
|
65
|
+
description: "Create multiple contacts at once in bulk.",
|
|
66
|
+
inputSchema: zod_1.z.object({
|
|
67
|
+
contacts: zod_1.z.array(zod_1.z.object({
|
|
68
|
+
name: zod_1.z.string().describe("Contact name"),
|
|
69
|
+
email: zod_1.z.string().optional().describe("Contact email"),
|
|
70
|
+
phone: zod_1.z.string().optional().describe("Contact phone"),
|
|
71
|
+
})).describe("Array of contacts to create"),
|
|
72
|
+
}),
|
|
73
|
+
handler: async (args) => {
|
|
74
|
+
return (0, client_js_1.zernioRequest)("POST", "/v1/contacts/bulk", { contacts: args.contacts });
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: "zernio_get_contact_channels",
|
|
79
|
+
description: "Get all connected social media channels for a specific contact.",
|
|
80
|
+
inputSchema: zod_1.z.object({
|
|
81
|
+
contactId: zod_1.z.string().describe("The contact ID"),
|
|
82
|
+
}),
|
|
83
|
+
handler: async (args) => {
|
|
84
|
+
return (0, client_js_1.zernioRequest)("GET", `/v1/contacts/${args.contactId}/channels`);
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: "zernio_update_contact_field",
|
|
89
|
+
description: "Update a custom field value for a contact.",
|
|
90
|
+
inputSchema: zod_1.z.object({
|
|
91
|
+
contactId: zod_1.z.string().describe("The contact ID"),
|
|
92
|
+
fieldSlug: zod_1.z.string().describe("The custom field slug/key"),
|
|
93
|
+
value: zod_1.z.string().describe("The new value for the field"),
|
|
94
|
+
}),
|
|
95
|
+
handler: async (args) => {
|
|
96
|
+
return (0, client_js_1.zernioRequest)("PUT", `/v1/contacts/${args.contactId}/fields/${args.fieldSlug}`, { value: args.value });
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: "zernio_list_custom_fields",
|
|
101
|
+
description: "List all custom contact fields defined in your Zernio account.",
|
|
102
|
+
inputSchema: zod_1.z.object({}),
|
|
103
|
+
handler: async (_args) => {
|
|
104
|
+
return (0, client_js_1.zernioRequest)("GET", "/v1/custom-fields");
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: "zernio_create_custom_field",
|
|
109
|
+
description: "Create a new custom field for contacts.",
|
|
110
|
+
inputSchema: zod_1.z.object({
|
|
111
|
+
name: zod_1.z.string().describe("Field name"),
|
|
112
|
+
type: zod_1.z.string().describe("Field type: text, number, date, boolean, etc."),
|
|
113
|
+
slug: zod_1.z.string().optional().describe("Field slug/key (auto-generated if not provided)"),
|
|
114
|
+
}),
|
|
115
|
+
handler: async (args) => {
|
|
116
|
+
return (0, client_js_1.zernioRequest)("POST", "/v1/custom-fields", { name: args.name, type: args.type, slug: args.slug });
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: "zernio_delete_custom_field",
|
|
121
|
+
description: "Delete a custom contact field.",
|
|
122
|
+
inputSchema: zod_1.z.object({
|
|
123
|
+
fieldId: zod_1.z.string().describe("The custom field ID to delete"),
|
|
124
|
+
}),
|
|
125
|
+
handler: async (args) => {
|
|
126
|
+
return (0, client_js_1.zernioRequest)("DELETE", `/v1/custom-fields/${args.fieldId}`);
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
];
|
|
130
|
+
//# sourceMappingURL=contacts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts.js","sourceRoot":"","sources":["../../src/tools/contacts.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAEhC,QAAA,YAAY,GAAG;IAC1B;QACE,IAAI,EAAE,sBAAsB;QAC5B,WAAW,EAAE,oEAAoE;QACjF,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC;YACpB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;YAC/D,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;SAClE,CAA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IAAyB,EAAE,EAAE;YAC3C,OAAO,IAAA,yBAAa,EAAC,QAAQ,EAAE,qBAAqB,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;QACtE,CAAC;KACF;CACF,CAAC"}
|
package/dist/tools/messages.d.ts
CHANGED
|
@@ -54,26 +54,47 @@ export declare const messageTools: ({
|
|
|
54
54
|
name: string;
|
|
55
55
|
description: string;
|
|
56
56
|
inputSchema: z.ZodObject<{
|
|
57
|
-
conversationId: z.
|
|
57
|
+
conversationId: z.ZodString;
|
|
58
58
|
accountId: z.ZodString;
|
|
59
59
|
message: z.ZodString;
|
|
60
|
+
}, "strip", z.ZodTypeAny, {
|
|
61
|
+
message: string;
|
|
62
|
+
accountId: string;
|
|
63
|
+
conversationId: string;
|
|
64
|
+
}, {
|
|
65
|
+
message: string;
|
|
66
|
+
accountId: string;
|
|
67
|
+
conversationId: string;
|
|
68
|
+
}>;
|
|
69
|
+
handler: (args: {
|
|
70
|
+
conversationId: string;
|
|
71
|
+
accountId: string;
|
|
72
|
+
message: string;
|
|
73
|
+
}) => Promise<unknown>;
|
|
74
|
+
} | {
|
|
75
|
+
name: string;
|
|
76
|
+
description: string;
|
|
77
|
+
inputSchema: z.ZodObject<{
|
|
78
|
+
accountId: z.ZodString;
|
|
79
|
+
contactId: z.ZodOptional<z.ZodString>;
|
|
60
80
|
recipientId: z.ZodOptional<z.ZodString>;
|
|
81
|
+
message: z.ZodString;
|
|
61
82
|
}, "strip", z.ZodTypeAny, {
|
|
62
83
|
message: string;
|
|
63
84
|
accountId: string;
|
|
64
|
-
|
|
85
|
+
contactId?: string | undefined;
|
|
65
86
|
recipientId?: string | undefined;
|
|
66
87
|
}, {
|
|
67
88
|
message: string;
|
|
68
89
|
accountId: string;
|
|
69
|
-
|
|
90
|
+
contactId?: string | undefined;
|
|
70
91
|
recipientId?: string | undefined;
|
|
71
92
|
}>;
|
|
72
93
|
handler: (args: {
|
|
73
|
-
conversationId?: string;
|
|
74
94
|
accountId: string;
|
|
75
|
-
|
|
95
|
+
contactId?: string;
|
|
76
96
|
recipientId?: string;
|
|
97
|
+
message: string;
|
|
77
98
|
}) => Promise<unknown>;
|
|
78
99
|
} | {
|
|
79
100
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/tools/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/tools/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;oBASC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;oBAczD;QAAE,cAAc,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;oBAW1B;QAAE,cAAc,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;;oBAY1C;QAAE,cAAc,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;oBAgB9D;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;oBA4BhF;QAAE,cAAc,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;oBAe5E;QAAE,cAAc,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;IAInE,CAAC"}
|
package/dist/tools/messages.js
CHANGED
|
@@ -6,13 +6,10 @@ const client_js_1 = require("../client.js");
|
|
|
6
6
|
exports.messageTools = [
|
|
7
7
|
{
|
|
8
8
|
name: "zernio_list_conversations",
|
|
9
|
-
description: "List all DM conversations across connected social media accounts
|
|
9
|
+
description: "List all DM conversations across connected social media accounts. Returns sender info, last message preview, and conversation IDs.",
|
|
10
10
|
inputSchema: zod_1.z.object({
|
|
11
11
|
accountId: zod_1.z.string().optional().describe("Filter by specific account ID"),
|
|
12
|
-
platform: zod_1.z
|
|
13
|
-
.string()
|
|
14
|
-
.optional()
|
|
15
|
-
.describe("Filter by platform: facebook, instagram, twitter, etc."),
|
|
12
|
+
platform: zod_1.z.string().optional().describe("Filter by platform: facebook, instagram, twitter, etc."),
|
|
16
13
|
limit: zod_1.z.number().optional().describe("Max conversations to return (default 20)"),
|
|
17
14
|
}),
|
|
18
15
|
handler: async (args) => {
|
|
@@ -35,7 +32,7 @@ exports.messageTools = [
|
|
|
35
32
|
},
|
|
36
33
|
{
|
|
37
34
|
name: "zernio_list_messages",
|
|
38
|
-
description: "Read the messages in a specific conversation thread.
|
|
35
|
+
description: "Read the messages in a specific conversation thread.",
|
|
39
36
|
inputSchema: zod_1.z.object({
|
|
40
37
|
conversationId: zod_1.z.string().describe("The conversation ID"),
|
|
41
38
|
limit: zod_1.z.number().optional().describe("Max messages to return (default 50)"),
|
|
@@ -46,27 +43,34 @@ exports.messageTools = [
|
|
|
46
43
|
},
|
|
47
44
|
{
|
|
48
45
|
name: "zernio_send_message",
|
|
49
|
-
description: "Send a DM or reply
|
|
46
|
+
description: "Send a DM or reply in a conversation on a social media platform.",
|
|
50
47
|
inputSchema: zod_1.z.object({
|
|
51
|
-
conversationId: zod_1.z
|
|
52
|
-
.string()
|
|
53
|
-
.optional()
|
|
54
|
-
.describe("Existing conversation ID to reply to"),
|
|
48
|
+
conversationId: zod_1.z.string().describe("The conversation ID to reply to"),
|
|
55
49
|
accountId: zod_1.z.string().describe("The Zernio account ID to send from"),
|
|
56
50
|
message: zod_1.z.string().describe("The message text to send"),
|
|
57
|
-
recipientId: zod_1.z
|
|
58
|
-
.string()
|
|
59
|
-
.optional()
|
|
60
|
-
.describe("Recipient user ID for starting a new conversation"),
|
|
61
51
|
}),
|
|
62
52
|
handler: async (args) => {
|
|
63
|
-
|
|
64
|
-
? `/v1/inbox/conversations/${args.conversationId}/messages`
|
|
65
|
-
: "/v1/inbox/conversations";
|
|
66
|
-
return (0, client_js_1.zernioRequest)("POST", path, {
|
|
53
|
+
return (0, client_js_1.zernioRequest)("POST", `/v1/inbox/conversations/${args.conversationId}/messages`, {
|
|
67
54
|
accountId: args.accountId,
|
|
68
55
|
message: args.message,
|
|
56
|
+
});
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: "zernio_create_conversation",
|
|
61
|
+
description: "Start a new DM conversation by sending a first message to a contact on a connected social account.",
|
|
62
|
+
inputSchema: zod_1.z.object({
|
|
63
|
+
accountId: zod_1.z.string().describe("The social account ID to send from"),
|
|
64
|
+
contactId: zod_1.z.string().optional().describe("The Zernio contact ID to message"),
|
|
65
|
+
recipientId: zod_1.z.string().optional().describe("The platform-native recipient ID (e.g. Twitter user ID, Instagram PSID)"),
|
|
66
|
+
message: zod_1.z.string().describe("The opening message to send"),
|
|
67
|
+
}),
|
|
68
|
+
handler: async (args) => {
|
|
69
|
+
return (0, client_js_1.zernioRequest)("POST", "/v1/inbox/conversations", {
|
|
70
|
+
accountId: args.accountId,
|
|
71
|
+
contactId: args.contactId,
|
|
69
72
|
recipientId: args.recipientId,
|
|
73
|
+
message: args.message,
|
|
70
74
|
});
|
|
71
75
|
},
|
|
72
76
|
},
|
|
@@ -86,7 +90,7 @@ exports.messageTools = [
|
|
|
86
90
|
inputSchema: zod_1.z.object({
|
|
87
91
|
conversationId: zod_1.z.string().describe("The conversation ID"),
|
|
88
92
|
messageId: zod_1.z.string().describe("The message ID to react to"),
|
|
89
|
-
emoji: zod_1.z.string().describe("The emoji reaction to add
|
|
93
|
+
emoji: zod_1.z.string().describe("The emoji reaction to add"),
|
|
90
94
|
action: zod_1.z.enum(["add", "remove"]).describe("Whether to add or remove the reaction"),
|
|
91
95
|
}),
|
|
92
96
|
handler: async (args) => {
|
|
@@ -98,14 +102,10 @@ exports.messageTools = [
|
|
|
98
102
|
description: "Update a conversation's status — mark as read, archive, or unarchive it.",
|
|
99
103
|
inputSchema: zod_1.z.object({
|
|
100
104
|
conversationId: zod_1.z.string().describe("The conversation ID"),
|
|
101
|
-
status: zod_1.z
|
|
102
|
-
.enum(["read", "unread", "archived", "unarchived"])
|
|
103
|
-
.describe("New status for the conversation"),
|
|
105
|
+
status: zod_1.z.enum(["read", "unread", "archived", "unarchived"]).describe("New status for the conversation"),
|
|
104
106
|
}),
|
|
105
107
|
handler: async (args) => {
|
|
106
|
-
return (0, client_js_1.zernioRequest)("PUT", `/v1/inbox/conversations/${args.conversationId}`, {
|
|
107
|
-
status: args.status,
|
|
108
|
-
});
|
|
108
|
+
return (0, client_js_1.zernioRequest)("PUT", `/v1/inbox/conversations/${args.conversationId}`, { status: args.status });
|
|
109
109
|
},
|
|
110
110
|
},
|
|
111
111
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../src/tools/messages.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAEhC,QAAA,YAAY,GAAG;IAC1B;QACE,IAAI,EAAE,2BAA2B;QACjC,WAAW,
|
|
1
|
+
{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../src/tools/messages.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAEhC,QAAA,YAAY,GAAG;IAC1B;QACE,IAAI,EAAE,2BAA2B;QACjC,WAAW,EAAE,oIA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