yirlo 1.3.10 → 1.3.12

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 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yirlo",
3
- "version": "1.3.10",
3
+ "version": "1.3.12",
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,7 +141,7 @@ 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. pull: who to get (LinkedIn commenters/reactors/reposters, X replies/retweeters/quotes), default commenters/replies. Arguments: project_id, url, sell?, pull?. */
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
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", []); }
@@ -151,9 +151,9 @@ 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. 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?. */
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
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
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
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", []); }
@@ -181,6 +181,10 @@ export class Yirlo {
181
181
  setCompetitorLimits(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/competitors", args, {"project_id": "path", "people_per_day": "body", "people_per_company": "body"}, ["project_id"], "set_competitor_limits", ["people_per_day"]); }
182
182
  /** Remove a competitor. Arguments: project_id, website. */
183
183
  removeCompetitor(args = {}) { return this._call("DELETE", "/public/api/v1/agentapp/projects/{project_id}/competitors/{website}", args, {"project_id": "path", "website": "path"}, ["project_id", "website"], "remove_competitor", []); }
184
+ /** List Companies hiring roles. Arguments: project_id. */
185
+ listHiringRoles(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/hiring-roles", args, {"project_id": "path"}, ["project_id"], "list_hiring_roles", []); }
186
+ /** Remove a Companies hiring role. Arguments: project_id, role. */
187
+ removeHiringRole(args = {}) { return this._call("DELETE", "/public/api/v1/agentapp/projects/{project_id}/hiring-roles/{role}", args, {"project_id": "path", "role": "path"}, ["project_id", "role"], "remove_hiring_role", []); }
184
188
  /** Your white label. Arguments: none. */
185
189
  getWhiteLabel(args = {}) { return this._call("GET", "/public/api/v1/agentapp/white-label", args, {}, [], "get_white_label", []); }
186
190
  /** Set your white label. Arguments: name?, price_per_email_usd?, logo_url?, color?, website?. */