yirlo 1.3.18 → 1.3.19

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 +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yirlo",
3
- "version": "1.3.18",
3
+ "version": "1.3.19",
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
@@ -84,7 +84,7 @@ export class Yirlo {
84
84
  /** Daily budget and monthly cap. Arguments: project_id. */
85
85
  getProjectBudget(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/budget", args, {"project_id": "path"}, ["project_id"], "get_project_budget", []); }
86
86
  /** Set the project daily budget in USD. Arguments: project_id, daily_budget_usd. */
87
- setProjectBudget(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/budget", args, {"project_id": "path", "daily_budget_usd": "body"}, ["project_id", "daily_budget_usd"], "set_project_budget", []); }
87
+ setProjectBudget(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/budget", args, {"project_id": "path", "daily_budget_usd": "body"}, ["project_id", "daily_budget_usd"], "set_project_budget", ["daily_budget_usd"]); }
88
88
  /** Set a campaign daily limit in USD. Arguments: campaign_id, daily_limit_usd. */
89
89
  setCampaignBudget(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/campaigns/{campaign_id}/budget", args, {"campaign_id": "path", "daily_limit_usd": "body"}, ["campaign_id", "daily_limit_usd"], "set_campaign_budget", []); }
90
90
  /** Pause a campaign. Arguments: campaign_id. */