yirlo 1.3.6 → 1.3.8
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 +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yirlo",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.8",
|
|
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
|
@@ -211,4 +211,12 @@ export class Yirlo {
|
|
|
211
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
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
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", []); }
|
|
216
|
+
/** Whether this project's own campaigns are paused because you are setting Yirlo up for clients. Arguments: project_id. */
|
|
217
|
+
getOwnCampaignsPause(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/own-campaigns", args, {"project_id": "path"}, ["project_id"], "get_own_campaigns_pause", []); }
|
|
218
|
+
/** Pause this project's own campaigns because you are setting Yirlo up for clients (reason shown on each; undo with resume_own_campaigns). Arguments: project_id. */
|
|
219
|
+
pauseOwnCampaigns(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/own-campaigns/pause", args, {"project_id": "path"}, ["project_id"], "pause_own_campaigns", []); }
|
|
220
|
+
/** Undo pause_own_campaigns: each campaign it paused goes back to where it was. Arguments: project_id. */
|
|
221
|
+
resumeOwnCampaigns(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/own-campaigns/resume", args, {"project_id": "path"}, ["project_id"], "resume_own_campaigns", []); }
|
|
214
222
|
}
|