yirlo 1.3.14 → 1.3.15

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.14",
3
+ "version": "1.3.15",
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
@@ -239,4 +239,14 @@ export class Yirlo {
239
239
  getWhoPicks(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/who-picks", args, {"project_id": "path"}, ["project_id"], "get_who_picks", []); }
240
240
  /** Set who picks the types of companies. Arguments: project_id, who_picks. */
241
241
  setWhoPicks(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/who-picks", args, {"project_id": "path", "who_picks": "body"}, ["project_id", "who_picks"], "set_who_picks", []); }
242
+ /** Read campaigns copied from your other cold email tool. Arguments: project_id. */
243
+ getCampaignImports(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/imports", args, {"project_id": "path"}, ["project_id"], "get_campaign_imports", []); }
244
+ /** Save the API key of your other cold email tool. Arguments: project_id, key, source?. */
245
+ saveImportKey(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/imports/key", args, {"project_id": "path", "key": "body", "source": "body"}, ["project_id", "key"], "save_import_key", []); }
246
+ /** Remove the saved key of your other cold email tool. Arguments: project_id. */
247
+ removeImportKey(args = {}) { return this._call("DELETE", "/public/api/v1/agentapp/projects/{project_id}/imports/key", args, {"project_id": "path"}, ["project_id"], "remove_import_key", []); }
248
+ /** List the campaigns in your other cold email tool. Arguments: project_id. */
249
+ listImportCampaigns(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/imports/campaigns", args, {"project_id": "path"}, ["project_id"], "list_import_campaigns", []); }
250
+ /** Copy campaigns from your other cold email tool. Arguments: project_id, campaign_ids. */
251
+ 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", []); }
242
252
  }