yirlo 1.3.24 → 1.3.25

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 +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yirlo",
3
- "version": "1.3.24",
3
+ "version": "1.3.25",
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
@@ -269,4 +269,14 @@ export class Yirlo {
269
269
  listImportCampaigns(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/imports/campaigns", args, {"project_id": "path"}, ["project_id"], "list_import_campaigns", []); }
270
270
  /** Copy campaigns from your other cold email tool. Arguments: project_id, campaign_ids. */
271
271
  copyImportCampaigns(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/imports/copy", args, {"project_id": "path", "campaign_ids": "body"}, ["project_id", "campaign_ids"], "copy_import_campaigns", []); }
272
+ /** Get reply writer settings. Arguments: project_id. */
273
+ getReplyWriter(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/reply-writer", args, {"project_id": "path"}, ["project_id"], "get_reply_writer", []); }
274
+ /** Set reply writer settings. Arguments: project_id, prompt?, model?, lookup_url?, lookup_key?, login_url?, holder_prompt?, account_emails?, list_url?, list_key?. */
275
+ setReplyWriter(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/reply-writer", args, {"project_id": "path", "prompt": "body", "model": "body", "lookup_url": "body", "lookup_key": "body", "login_url": "body", "holder_prompt": "body", "account_emails": "body", "list_url": "body", "list_key": "body"}, ["project_id"], "set_reply_writer", []); }
276
+ /** Test the customer lookup. Arguments: project_id, email, lookup_url?, lookup_key?. */
277
+ testReplyLookup(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/reply-writer/lookup-test", args, {"project_id": "path", "email": "body", "lookup_url": "body", "lookup_key": "body"}, ["project_id", "email"], "test_reply_lookup", []); }
278
+ /** Send an account event. Arguments: project_id, email, event, at?, trial_ends_at?. */
279
+ sendAccountEvent(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/account-events", args, {"project_id": "path", "email": "body", "event": "body", "at": "body", "trial_ends_at": "body"}, ["project_id", "email", "event"], "send_account_event", []); }
280
+ /** Test the list address. Arguments: project_id, list_url?, list_key?, ask?. */
281
+ testReplyList(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/reply-writer/list-test", args, {"project_id": "path", "list_url": "body", "list_key": "body", "ask": "body"}, ["project_id"], "test_reply_list", []); }
272
282
  }