yirlo 1.3.17 → 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.
- package/package.json +1 -1
- package/yirlo.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yirlo",
|
|
3
|
-
"version": "1.3.
|
|
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. */
|
|
@@ -175,7 +175,7 @@ export class Yirlo {
|
|
|
175
175
|
getOutcomeWorth(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/outcome-worth", args, {"project_id": "path"}, ["project_id"], "get_outcome_worth", []); }
|
|
176
176
|
/** Set the price of a paying customer (US dollars), whether it is per month or once (price_period: month or once), and/or the percent of trials that become paying (0-100); null clears one. Arguments: project_id, price_of_paying_customer?, price_period?, trial_to_paid_pct?. */
|
|
177
177
|
setOutcomeWorth(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/outcome-worth", args, {"project_id": "path", "price_of_paying_customer": "body", "price_period": "body", "trial_to_paid_pct": "body"}, ["project_id"], "set_outcome_worth", ["price_of_paying_customer", "price_period", "trial_to_paid_pct"]); }
|
|
178
|
-
/** Send a signup or
|
|
178
|
+
/** Send a signup, purchase or booked meeting (conversion feed). Arguments: conversion_key, email, id?, type?. */
|
|
179
179
|
sendConversion(args = {}) { return this._call("POST", "/px/conv/{conversion_key}", args, {"conversion_key": "path", "email": "body", "id": "body", "type": "body"}, ["conversion_key", "email"], "send_conversion", []); }
|
|
180
180
|
/** Competitors. Arguments: project_id. */
|
|
181
181
|
listCompetitors(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/competitors", args, {"project_id": "path"}, ["project_id"], "list_competitors", []); }
|