yirlo 1.3.11 → 1.3.13

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 +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yirlo",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
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
@@ -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?. */
@@ -227,4 +231,8 @@ export class Yirlo {
227
231
  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
232
  /** 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
233
  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"]); }
234
+ /** List types of companies Yirlo never emails. Arguments: project_id. */
235
+ listSkipTypes(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/skip-types", args, {"project_id": "path"}, ["project_id"], "list_skip_types", []); }
236
+ /** Change the types of companies Yirlo never emails. Arguments: project_id, add?, remove?, types?. */
237
+ changeSkipTypes(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/skip-types", args, {"project_id": "path", "add": "body", "remove": "body", "types": "body"}, ["project_id"], "change_skip_types", []); }
230
238
  }