yirlo 1.3.7 → 1.3.9
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 +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yirlo",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
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
|
@@ -213,4 +213,18 @@ export class Yirlo {
|
|
|
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
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
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", []); }
|
|
222
|
+
/** Every offer interested replies may use (call, demo, trial, resource, ai_resource, pricing), the main next step, and what a reply asking for each thing gets. Arguments: project_id. */
|
|
223
|
+
getReplyOffers(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/reply-offers", args, {"project_id": "path"}, ["project_id"], "get_reply_offers", []); }
|
|
224
|
+
/** Set the project's reply offers and/or main next step. offers: {call: {mode: link|ask|none, link}, demo: {link, same}, trial: {link}, resource: {link, file_id}, ai_resource: {idea}, pricing: {link}}; a line null = off; lines left out stay. goal: the main next step (as set_reply_goal), or leave it out. Arguments: project_id, offers?, goal?. */
|
|
225
|
+
setReplyOffers(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/reply-offers", args, {"project_id": "path", "offers": "body", "goal": "body"}, ["project_id"], "set_reply_offers", ["offers", "goal"]); }
|
|
226
|
+
/** A campaign's own reply offers and main next step, next to the project's (its own lines win line by line). Arguments: campaign_id. */
|
|
227
|
+
getCampaignReplyOffers(args = {}) { return this._call("GET", "/public/api/v1/agentapp/campaigns/{campaign_id}/reply-offers", args, {"campaign_id": "path"}, ["campaign_id"], "get_campaign_reply_offers", []); }
|
|
228
|
+
/** Give one campaign its own reply offers and/or main next step (same lines as set_reply_offers); a line null = the project's again; offers null = all the project's; goal null = the project's main step. Arguments: campaign_id, offers?, goal?. */
|
|
229
|
+
setCampaignReplyOffers(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/campaigns/{campaign_id}/reply-offers", args, {"campaign_id": "path", "offers": "body", "goal": "body"}, ["campaign_id"], "set_campaign_reply_offers", ["offers", "goal"]); }
|
|
216
230
|
}
|