yirlo 1.3.22 → 1.3.23
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/package.json +1 -1
- package/yirlo.js +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yirlo",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.23",
|
|
4
4
|
"description": "Yirlo SDK, MCP server and terminal dashboard: run your AI cold email outreach (projects, campaigns, inbox, hot leads, budgets) from code, an AI agent or your terminal.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "yirlo.js",
|
package/yirlo.js
CHANGED
|
@@ -207,6 +207,20 @@ export class Yirlo {
|
|
|
207
207
|
inviteTeammate(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/team", args, {"project_id": "path", "email": "body"}, ["project_id", "email"], "invite_teammate", []); }
|
|
208
208
|
/** Remove someone from the project. Arguments: project_id, email. */
|
|
209
209
|
removeTeamMember(args = {}) { return this._call("DELETE", "/public/api/v1/agentapp/projects/{project_id}/team/{email}", args, {"project_id": "path", "email": "path"}, ["project_id", "email"], "remove_team_member", []); }
|
|
210
|
+
/** A project's LinkedIn (Expandi) connection and the campaigns Yirlo answers. Arguments: project_id. */
|
|
211
|
+
getLinkedin(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/linkedin", args, {"project_id": "path"}, ["project_id"], "get_linkedin", []); }
|
|
212
|
+
/** Connect a project to Expandi with its API key and secret so Yirlo answers LinkedIn replies. Arguments: project_id, api_key, api_secret, li_account_id?. */
|
|
213
|
+
connectLinkedin(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/linkedin", args, {"project_id": "path", "api_key": "body", "api_secret": "body", "li_account_id": "body"}, ["project_id", "api_key", "api_secret"], "connect_linkedin", []); }
|
|
214
|
+
/** Disconnect LinkedIn. Arguments: project_id. */
|
|
215
|
+
disconnectLinkedin(args = {}) { return this._call("DELETE", "/public/api/v1/agentapp/projects/{project_id}/linkedin", args, {"project_id": "path"}, ["project_id"], "disconnect_linkedin", []); }
|
|
216
|
+
/** Set which Expandi campaigns of a project Yirlo answers LinkedIn replies for. Arguments: project_id, campaigns. */
|
|
217
|
+
setLinkedinCampaigns(args = {}) { return this._call("PUT", "/public/api/v1/agentapp/projects/{project_id}/linkedin/campaigns", args, {"project_id": "path", "campaigns": "body"}, ["project_id", "campaigns"], "set_linkedin_campaigns", []); }
|
|
218
|
+
/** A project's latest LinkedIn replies and Yirlo's answers. Arguments: project_id, limit?. */
|
|
219
|
+
listLinkedinReplies(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/linkedin/replies", args, {"project_id": "path", "limit": "query"}, ["project_id"], "list_linkedin_replies", []); }
|
|
220
|
+
/** OK Yirlo's waiting answer to one LinkedIn reply. Arguments: project_id, reply_id. */
|
|
221
|
+
sendLinkedinReply(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/linkedin/replies/{reply_id}/send", args, {"project_id": "path", "reply_id": "path"}, ["project_id", "reply_id"], "send_linkedin_reply", []); }
|
|
222
|
+
/** Skip a LinkedIn answer. Arguments: project_id, reply_id. */
|
|
223
|
+
skipLinkedinReply(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/linkedin/replies/{reply_id}/skip", args, {"project_id": "path", "reply_id": "path"}, ["project_id", "reply_id"], "skip_linkedin_reply", []); }
|
|
210
224
|
/** A project's auto top-up: on or off, the amount it buys, the balance that triggers it, and whether a card is on file so it can run. Arguments: project_id. */
|
|
211
225
|
getAutoTopup(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/auto-topup", args, {"project_id": "path"}, ["project_id"], "get_auto_topup", []); }
|
|
212
226
|
/** Turn a project's auto top-up on or off and set its amount (amount_usd) and trigger balance (below_usd). Charges the card on file when the balance runs low. Arguments: project_id, enabled?, amount_usd?, below_usd?. */
|