yirlo 1.3.14 → 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 +14 -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. */
|
|
@@ -239,4 +243,14 @@ export class Yirlo {
|
|
|
239
243
|
getWhoPicks(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/who-picks", args, {"project_id": "path"}, ["project_id"], "get_who_picks", []); }
|
|
240
244
|
/** Set who picks the types of companies. Arguments: project_id, who_picks. */
|
|
241
245
|
setWhoPicks(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/who-picks", args, {"project_id": "path", "who_picks": "body"}, ["project_id", "who_picks"], "set_who_picks", []); }
|
|
246
|
+
/** Read campaigns copied from your other cold email tool. Arguments: project_id. */
|
|
247
|
+
getCampaignImports(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/imports", args, {"project_id": "path"}, ["project_id"], "get_campaign_imports", []); }
|
|
248
|
+
/** Save the API key of your other cold email tool. Arguments: project_id, key, source?. */
|
|
249
|
+
saveImportKey(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/imports/key", args, {"project_id": "path", "key": "body", "source": "body"}, ["project_id", "key"], "save_import_key", []); }
|
|
250
|
+
/** Remove the saved key of your other cold email tool. Arguments: project_id. */
|
|
251
|
+
removeImportKey(args = {}) { return this._call("DELETE", "/public/api/v1/agentapp/projects/{project_id}/imports/key", args, {"project_id": "path"}, ["project_id"], "remove_import_key", []); }
|
|
252
|
+
/** List the campaigns in your other cold email tool. Arguments: project_id. */
|
|
253
|
+
listImportCampaigns(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/imports/campaigns", args, {"project_id": "path"}, ["project_id"], "list_import_campaigns", []); }
|
|
254
|
+
/** Copy campaigns from your other cold email tool. Arguments: project_id, campaign_ids. */
|
|
255
|
+
copyImportCampaigns(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/imports/copy", args, {"project_id": "path", "campaign_ids": "body"}, ["project_id", "campaign_ids"], "copy_import_campaigns", []); }
|
|
242
256
|
}
|