yirlo 1.3.8 → 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/package.json +1 -1
- package/yirlo.js +14 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yirlo",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.10",
|
|
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
|
@@ -141,8 +141,8 @@ export class Yirlo {
|
|
|
141
141
|
submitFeedback(args = {}) { return this._call("POST", "/public/api/v1/feedback", args, {"message": "body"}, ["message"], "submit_feedback", []); }
|
|
142
142
|
/** Your posts and how far each one has got. Arguments: project_id. */
|
|
143
143
|
listPosts(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/posts", args, {"project_id": "path"}, ["project_id"], "list_posts", []); }
|
|
144
|
-
/** Import the people who commented on or replied to one of your LinkedIn or X posts: Yirlo finds their work emails and starts a campaign for them (each email is checked before it is sent). Check progress with list_posts. Arguments: project_id, url, sell?. */
|
|
145
|
-
leadsFromPost(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/posts", args, {"project_id": "path", "url": "body", "sell": "body"}, ["project_id", "url"], "leads_from_post", []); }
|
|
144
|
+
/** Import the people who commented on or replied to one of your LinkedIn or X posts: Yirlo finds their work emails and starts a campaign for them (each email is checked before it is sent). Check progress with list_posts. pull: who to get (LinkedIn commenters/reactors/reposters, X replies/retweeters/quotes), default commenters/replies. Arguments: project_id, url, sell?, pull?. */
|
|
145
|
+
leadsFromPost(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/posts", args, {"project_id": "path", "url": "body", "sell": "body", "pull": "body"}, ["project_id", "url"], "leads_from_post", []); }
|
|
146
146
|
/** Website signals: the script to put on your site, the private webhook address for form tools, the visitor lead limit, the last 30 days and the latest leads. Arguments: project_id. */
|
|
147
147
|
getSignals(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/signals", args, {"project_id": "path"}, ["project_id"], "get_signals", []); }
|
|
148
148
|
/** How many recognized website visitors become leads a day; 0 turns it off, null or empty means no limit. Each lead found is paid from the balance. Arguments: project_id, visitor_leads_per_day?. */
|
|
@@ -153,10 +153,10 @@ export class Yirlo {
|
|
|
153
153
|
signalsCsv(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/signals.csv", args, {"project_id": "path"}, ["project_id"], "signals_csv", []); }
|
|
154
154
|
/** Profiles we watch: LinkedIn profiles and X accounts whose new posts have their commenters emailed. Arguments: project_id. */
|
|
155
155
|
listMonitors(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/monitors", args, {"project_id": "path"}, ["project_id"], "list_monitors", []); }
|
|
156
|
-
/** Watch a LinkedIn profile or an X account: people who comment on its new posts are found and emailed. Paid per person from the balance. Arguments: project_id, profile, every_hours?, max_people?, posts_per_day?. */
|
|
157
|
-
addMonitor(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/monitors", args, {"project_id": "path", "profile": "body", "every_hours": "body", "max_people": "body", "posts_per_day": "body"}, ["project_id", "profile"], "add_monitor", []); }
|
|
158
|
-
/** Change a watched profile: every_hours, max_people, posts_per_day (null removes that limit), or status active / paused. Arguments: project_id, monitor_id, every_hours?, max_people?, posts_per_day?, status?. */
|
|
159
|
-
updateMonitor(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/monitors/{monitor_id}", args, {"project_id": "path", "monitor_id": "path", "every_hours": "body", "max_people": "body", "posts_per_day": "body", "status": "body"}, ["project_id", "monitor_id"], "update_monitor", []); }
|
|
156
|
+
/** Watch a LinkedIn profile or an X account: people who comment on its new posts are found and emailed. Paid per person from the balance. pull: who to get from each of its posts (as leads_from_post). Arguments: project_id, profile, every_hours?, max_people?, posts_per_day?, pull?. */
|
|
157
|
+
addMonitor(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/monitors", args, {"project_id": "path", "profile": "body", "every_hours": "body", "max_people": "body", "posts_per_day": "body", "pull": "body"}, ["project_id", "profile"], "add_monitor", []); }
|
|
158
|
+
/** Change a watched profile: every_hours, max_people, posts_per_day (null removes that limit), or status active / paused. pull: who to get from each of its posts. Arguments: project_id, monitor_id, every_hours?, max_people?, posts_per_day?, status?, pull?. */
|
|
159
|
+
updateMonitor(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/monitors/{monitor_id}", args, {"project_id": "path", "monitor_id": "path", "every_hours": "body", "max_people": "body", "posts_per_day": "body", "status": "body", "pull": "body"}, ["project_id", "monitor_id"], "update_monitor", []); }
|
|
160
160
|
/** Stop watching a profile. Arguments: project_id, monitor_id. */
|
|
161
161
|
removeMonitor(args = {}) { return this._call("DELETE", "/public/api/v1/agentapp/projects/{project_id}/monitors/{monitor_id}", args, {"project_id": "path", "monitor_id": "path"}, ["project_id", "monitor_id"], "remove_monitor", []); }
|
|
162
162
|
/** What interested replies are steered to: a booked call, a demo, a free trial, a free resource (link or file) or a free campaign. Arguments: project_id. */
|
|
@@ -219,4 +219,12 @@ export class Yirlo {
|
|
|
219
219
|
pauseOwnCampaigns(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/own-campaigns/pause", args, {"project_id": "path"}, ["project_id"], "pause_own_campaigns", []); }
|
|
220
220
|
/** Undo pause_own_campaigns: each campaign it paused goes back to where it was. Arguments: project_id. */
|
|
221
221
|
resumeOwnCampaigns(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/own-campaigns/resume", args, {"project_id": "path"}, ["project_id"], "resume_own_campaigns", []); }
|
|
222
|
+
/** Every offer interested replies may use (call, demo, trial, resource, ai_resource, pricing), the main next step, and what a reply asking for each thing gets. Arguments: project_id. */
|
|
223
|
+
getReplyOffers(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/reply-offers", args, {"project_id": "path"}, ["project_id"], "get_reply_offers", []); }
|
|
224
|
+
/** Set the project's reply offers and/or main next step. offers: {call: {mode: link|ask|none, link}, demo: {link, same}, trial: {link}, resource: {link, file_id}, ai_resource: {idea}, pricing: {link}}; a line null = off; lines left out stay. goal: the main next step (as set_reply_goal), or leave it out. Arguments: project_id, offers?, goal?. */
|
|
225
|
+
setReplyOffers(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/reply-offers", args, {"project_id": "path", "offers": "body", "goal": "body"}, ["project_id"], "set_reply_offers", ["offers", "goal"]); }
|
|
226
|
+
/** A campaign's own reply offers and main next step, next to the project's (its own lines win line by line). Arguments: campaign_id. */
|
|
227
|
+
getCampaignReplyOffers(args = {}) { return this._call("GET", "/public/api/v1/agentapp/campaigns/{campaign_id}/reply-offers", args, {"campaign_id": "path"}, ["campaign_id"], "get_campaign_reply_offers", []); }
|
|
228
|
+
/** Give one campaign its own reply offers and/or main next step (same lines as set_reply_offers); a line null = the project's again; offers null = all the project's; goal null = the project's main step. Arguments: campaign_id, offers?, goal?. */
|
|
229
|
+
setCampaignReplyOffers(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/campaigns/{campaign_id}/reply-offers", args, {"campaign_id": "path", "offers": "body", "goal": "body"}, ["campaign_id"], "set_campaign_reply_offers", ["offers", "goal"]); }
|
|
222
230
|
}
|