yirlo 1.3.13 → 1.3.15
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.15",
|
|
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
|
@@ -235,4 +235,18 @@ export class Yirlo {
|
|
|
235
235
|
listSkipTypes(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/skip-types", args, {"project_id": "path"}, ["project_id"], "list_skip_types", []); }
|
|
236
236
|
/** Change the types of companies Yirlo never emails. Arguments: project_id, add?, remove?, types?. */
|
|
237
237
|
changeSkipTypes(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/skip-types", args, {"project_id": "path", "add": "body", "remove": "body", "types": "body"}, ["project_id"], "change_skip_types", []); }
|
|
238
|
+
/** Get who picks the types of companies. Arguments: project_id. */
|
|
239
|
+
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
|
+
/** Set who picks the types of companies. Arguments: project_id, who_picks. */
|
|
241
|
+
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", []); }
|
|
242
|
+
/** Read campaigns copied from your other cold email tool. Arguments: project_id. */
|
|
243
|
+
getCampaignImports(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/imports", args, {"project_id": "path"}, ["project_id"], "get_campaign_imports", []); }
|
|
244
|
+
/** Save the API key of your other cold email tool. Arguments: project_id, key, source?. */
|
|
245
|
+
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", []); }
|
|
246
|
+
/** Remove the saved key of your other cold email tool. Arguments: project_id. */
|
|
247
|
+
removeImportKey(args = {}) { return this._call("DELETE", "/public/api/v1/agentapp/projects/{project_id}/imports/key", args, {"project_id": "path"}, ["project_id"], "remove_import_key", []); }
|
|
248
|
+
/** List the campaigns in your other cold email tool. Arguments: project_id. */
|
|
249
|
+
listImportCampaigns(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/imports/campaigns", args, {"project_id": "path"}, ["project_id"], "list_import_campaigns", []); }
|
|
250
|
+
/** Copy campaigns from your other cold email tool. Arguments: project_id, campaign_ids. */
|
|
251
|
+
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", []); }
|
|
238
252
|
}
|