yirlo 1.3.5 → 1.3.7

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 +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yirlo",
3
- "version": "1.3.5",
3
+ "version": "1.3.7",
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
@@ -207,4 +207,10 @@ export class Yirlo {
207
207
  setProjectSchedule(args = {}) { return this._call("PUT", "/public/api/v1/agentapp/projects/{project_id}/schedule", args, {"project_id": "path", "timezone": "body", "working_hours": "body", "days": "body", "use_system_schedule": "body"}, ["project_id"], "set_project_schedule", ["timezone", "working_hours", "days", "use_system_schedule"]); }
208
208
  /** Set a campaign's own sending schedule. Arguments: campaign_id, timezone?, working_hours?, days?, use_system_schedule?, use_project_schedule?. */
209
209
  setCampaignSchedule(args = {}) { return this._call("PUT", "/public/api/v1/agentapp/campaigns/{campaign_id}/schedule", args, {"campaign_id": "path", "timezone": "body", "working_hours": "body", "days": "body", "use_system_schedule": "body", "use_project_schedule": "body"}, ["campaign_id"], "set_campaign_schedule", ["timezone", "working_hours", "days", "use_system_schedule", "use_project_schedule"]); }
210
+ /** A founding member's first sending day, the earliest day it can move to, and whether it can still move. Arguments: project_id. */
211
+ getStartDate(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/start_date", args, {"project_id": "path"}, ["project_id"], "get_start_date", []); }
212
+ /** Move a founding member's first sending day (start_date YYYY-MM-DD, any day from December 21 on). Nothing sends before it; credit and bonus stay. Arguments: project_id, start_date. */
213
+ setStartDate(args = {}) { return this._call("PUT", "/public/api/v1/agentapp/projects/{project_id}/start_date", args, {"project_id": "path", "start_date": "body"}, ["project_id", "start_date"], "set_start_date", []); }
214
+ /** The first emails written and waiting to send (read-only): recipient, campaign, send date, subject, first email and follow-ups. Paged with limit/offset; campaign_id filters. Arguments: project_id, campaign_id?, limit?, offset?. */
215
+ listReadyEmails(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/ready", args, {"project_id": "path", "campaign_id": "query", "limit": "query", "offset": "query"}, ["project_id"], "list_ready_emails", []); }
210
216
  }