yirlo 1.3.15 → 1.3.16
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 +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yirlo",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.16",
|
|
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
|
@@ -171,6 +171,10 @@ export class Yirlo {
|
|
|
171
171
|
getConversions(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/conversions", args, {"project_id": "path"}, ["project_id"], "get_conversions", []); }
|
|
172
172
|
/** Replace the conversion address. Arguments: project_id. */
|
|
173
173
|
rotateConversionUrl(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/conversions/rotate", args, {"project_id": "path"}, ["project_id"], "rotate_conversion_url", []); }
|
|
174
|
+
/** The price of a paying customer and the percent of trials that become paying, which Yirlo uses to say what a new trial is worth. Arguments: project_id. */
|
|
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
|
+
/** 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
|
+
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"]); }
|
|
174
178
|
/** Send a signup or purchase (conversion feed). Arguments: conversion_key, email, id?, type?. */
|
|
175
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", []); }
|
|
176
180
|
/** Competitors. Arguments: project_id. */
|