yirlo 1.3.8 → 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 +8 -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
|
@@ -219,4 +219,12 @@ export class Yirlo {
|
|
|
219
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
220
|
/** Undo pause_own_campaigns: each campaign it paused goes back to where it was. Arguments: project_id. */
|
|
221
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"]); }
|
|
222
230
|
}
|