yirlo 1.3.2 → 1.3.3
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.3",
|
|
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
|
@@ -197,4 +197,8 @@ export class Yirlo {
|
|
|
197
197
|
inviteTeammate(args = {}) { return this._call("POST", "/public/api/v1/agentapp/projects/{project_id}/team", args, {"project_id": "path", "email": "body"}, ["project_id", "email"], "invite_teammate", []); }
|
|
198
198
|
/** Remove someone from the project. Arguments: project_id, email. */
|
|
199
199
|
removeTeamMember(args = {}) { return this._call("DELETE", "/public/api/v1/agentapp/projects/{project_id}/team/{email}", args, {"project_id": "path", "email": "path"}, ["project_id", "email"], "remove_team_member", []); }
|
|
200
|
+
/** A project's auto top-up: on or off, the amount it buys, the balance that triggers it, and whether a card is on file so it can run. Arguments: project_id. */
|
|
201
|
+
getAutoTopup(args = {}) { return this._call("GET", "/public/api/v1/agentapp/projects/{project_id}/auto-topup", args, {"project_id": "path"}, ["project_id"], "get_auto_topup", []); }
|
|
202
|
+
/** Turn a project's auto top-up on or off and set its amount (amount_usd) and trigger balance (below_usd). Charges the card on file when the balance runs low. Arguments: project_id, enabled?, amount_usd?, below_usd?. */
|
|
203
|
+
setAutoTopup(args = {}) { return this._call("PATCH", "/public/api/v1/agentapp/projects/{project_id}/auto-topup", args, {"project_id": "path", "enabled": "body", "amount_usd": "body", "below_usd": "body"}, ["project_id"], "set_auto_topup", ["below_usd"]); }
|
|
200
204
|
}
|