yirlo 1.3.9 → 1.3.11

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/yirlo.js +7 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yirlo",
3
- "version": "1.3.9",
3
+ "version": "1.3.11",
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, X or TikTok 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?. */
@@ -151,12 +151,12 @@ export class Yirlo {
151
151
  setSignalPages(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/signals", args, {"project_id": "path", "pages_always": "body", "pages_never": "body"}, ["project_id"], "set_signal_pages", []); }
152
152
  /** Website signals as CSV. Arguments: project_id. */
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
- /** Profiles we watch: LinkedIn profiles and X accounts whose new posts have their commenters emailed. Arguments: project_id. */
154
+ /** Profiles we watch: LinkedIn profiles, X accounts and TikTok 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, an X account or a TikTok 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. */