yirlo 1.3.23 → 1.3.25
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 +12 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yirlo",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.25",
|
|
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
|
@@ -193,8 +193,8 @@ export class Yirlo {
|
|
|
193
193
|
removeHiringRole(args = {}) { return this._call("DELETE", "/public/api/v1/agentapp/projects/{project_id}/hiring-roles/{role}", args, {"project_id": "path", "role": "path"}, ["project_id", "role"], "remove_hiring_role", []); }
|
|
194
194
|
/** Your white label. Arguments: none. */
|
|
195
195
|
getWhiteLabel(args = {}) { return this._call("GET", "/public/api/v1/agentapp/white-label", args, {}, [], "get_white_label", []); }
|
|
196
|
-
/** Set your white label. Arguments: name?, price_per_email_usd?, logo_url?, color?, website?. */
|
|
197
|
-
setWhiteLabel(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/white-label", args, {"name": "body", "price_per_email_usd": "body", "logo_url": "body", "color": "body", "website": "body"}, [], "set_white_label", []); }
|
|
196
|
+
/** Set your white label. Arguments: name?, price_per_email_usd?, logo_url?, color?, website?, own_address?. */
|
|
197
|
+
setWhiteLabel(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/white-label", args, {"name": "body", "price_per_email_usd": "body", "logo_url": "body", "color": "body", "website": "body", "own_address": "body"}, [], "set_white_label", []); }
|
|
198
198
|
/** Add a client. Arguments: website, email. */
|
|
199
199
|
addWhiteLabelClient(args = {}) { return this._call("POST", "/public/api/v1/agentapp/white-label/clients", args, {"website": "body", "email": "body"}, ["website", "email"], "add_white_label_client", []); }
|
|
200
200
|
/** Request a payout. Arguments: none. */
|
|
@@ -269,4 +269,14 @@ export class Yirlo {
|
|
|
269
269
|
listImportCampaigns(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/imports/campaigns", args, {"project_id": "path"}, ["project_id"], "list_import_campaigns", []); }
|
|
270
270
|
/** Copy campaigns from your other cold email tool. Arguments: project_id, campaign_ids. */
|
|
271
271
|
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", []); }
|
|
272
|
+
/** Get reply writer settings. Arguments: project_id. */
|
|
273
|
+
getReplyWriter(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/reply-writer", args, {"project_id": "path"}, ["project_id"], "get_reply_writer", []); }
|
|
274
|
+
/** Set reply writer settings. Arguments: project_id, prompt?, model?, lookup_url?, lookup_key?, login_url?, holder_prompt?, account_emails?, list_url?, list_key?. */
|
|
275
|
+
setReplyWriter(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/reply-writer", args, {"project_id": "path", "prompt": "body", "model": "body", "lookup_url": "body", "lookup_key": "body", "login_url": "body", "holder_prompt": "body", "account_emails": "body", "list_url": "body", "list_key": "body"}, ["project_id"], "set_reply_writer", []); }
|
|
276
|
+
/** Test the customer lookup. Arguments: project_id, email, lookup_url?, lookup_key?. */
|
|
277
|
+
testReplyLookup(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/reply-writer/lookup-test", args, {"project_id": "path", "email": "body", "lookup_url": "body", "lookup_key": "body"}, ["project_id", "email"], "test_reply_lookup", []); }
|
|
278
|
+
/** Send an account event. Arguments: project_id, email, event, at?, trial_ends_at?. */
|
|
279
|
+
sendAccountEvent(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/account-events", args, {"project_id": "path", "email": "body", "event": "body", "at": "body", "trial_ends_at": "body"}, ["project_id", "email", "event"], "send_account_event", []); }
|
|
280
|
+
/** Test the list address. Arguments: project_id, list_url?, list_key?, ask?. */
|
|
281
|
+
testReplyList(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/reply-writer/list-test", args, {"project_id": "path", "list_url": "body", "list_key": "body", "ask": "body"}, ["project_id"], "test_reply_list", []); }
|
|
272
282
|
}
|