@dominusnode/mastra-tools 1.0.0
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/LICENSE +21 -0
- package/README.md +83 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +34 -0
- package/dist/toolkit.d.ts +244 -0
- package/dist/toolkit.js +1370 -0
- package/package.json +26 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Dominus Node
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# @dominusnode/mastra-tools
|
|
2
|
+
|
|
3
|
+
DomiNode rotating proxy tools for [Mastra AI](https://mastra.ai) agents.
|
|
4
|
+
|
|
5
|
+
Provides 23 tools for interacting with DomiNode's rotating proxy-as-a-service platform from Mastra AI workflows and agents.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @dominusnode/mastra-tools
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Quick Start
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { DominusNodeToolkit } from "@dominusnode/mastra-tools";
|
|
17
|
+
|
|
18
|
+
const toolkit = new DominusNodeToolkit({
|
|
19
|
+
apiKey: process.env.DOMINUSNODE_API_KEY!, // dn_live_... or dn_test_...
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
// Get all tools for your Mastra agent
|
|
23
|
+
const tools = toolkit.getTools();
|
|
24
|
+
|
|
25
|
+
// Use individually
|
|
26
|
+
const balance = await toolkit.checkBalance();
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Configuration
|
|
30
|
+
|
|
31
|
+
| Environment Variable | Description | Default |
|
|
32
|
+
|---|---|---|
|
|
33
|
+
| `DOMINUSNODE_API_KEY` | API key (required) | -- |
|
|
34
|
+
| `DOMINUSNODE_BASE_URL` | REST API base URL | `https://api.dominusnode.com` |
|
|
35
|
+
| `DOMINUSNODE_PROXY_HOST` | Proxy gateway host | `proxy.dominusnode.com` |
|
|
36
|
+
| `DOMINUSNODE_PROXY_PORT` | Proxy gateway port | `8080` |
|
|
37
|
+
|
|
38
|
+
## Available Tools (23)
|
|
39
|
+
|
|
40
|
+
### Proxy Operations
|
|
41
|
+
- `dominusnode_proxied_fetch` - Fetch a URL through the rotating proxy with geo-targeting
|
|
42
|
+
- `dominusnode_check_balance` - Check wallet balance and remaining bandwidth
|
|
43
|
+
- `dominusnode_check_usage` - View bandwidth usage statistics
|
|
44
|
+
- `dominusnode_get_proxy_config` - Get proxy pools, pricing, and endpoints
|
|
45
|
+
- `dominusnode_list_sessions` - List active proxy sessions
|
|
46
|
+
|
|
47
|
+
### Agentic Wallet Management
|
|
48
|
+
- `dominusnode_create_agentic_wallet` - Create a custodial sub-wallet
|
|
49
|
+
- `dominusnode_fund_agentic_wallet` - Transfer funds to an agentic wallet
|
|
50
|
+
- `dominusnode_agentic_wallet_balance` - Check agentic wallet balance
|
|
51
|
+
- `dominusnode_list_agentic_wallets` - List all agentic wallets
|
|
52
|
+
- `dominusnode_agentic_transactions` - Get agentic wallet transaction history
|
|
53
|
+
- `dominusnode_freeze_agentic_wallet` - Freeze an agentic wallet
|
|
54
|
+
- `dominusnode_unfreeze_agentic_wallet` - Unfreeze an agentic wallet
|
|
55
|
+
- `dominusnode_delete_agentic_wallet` - Delete an agentic wallet
|
|
56
|
+
|
|
57
|
+
### Team Management
|
|
58
|
+
- `dominusnode_create_team` - Create a team with shared wallet
|
|
59
|
+
- `dominusnode_list_teams` - List all teams
|
|
60
|
+
- `dominusnode_team_details` - Get team details
|
|
61
|
+
- `dominusnode_team_fund` - Fund a team wallet
|
|
62
|
+
- `dominusnode_team_create_key` - Create a team API key
|
|
63
|
+
- `dominusnode_team_usage` - Get team transaction history
|
|
64
|
+
- `dominusnode_update_team` - Update team settings
|
|
65
|
+
- `dominusnode_update_team_member_role` - Change a member's role
|
|
66
|
+
|
|
67
|
+
### Payments
|
|
68
|
+
- `dominusnode_topup_paypal` - Top up wallet via PayPal
|
|
69
|
+
- `dominusnode_x402_info` - Get x402 micropayment protocol info
|
|
70
|
+
|
|
71
|
+
## Security
|
|
72
|
+
|
|
73
|
+
- Full SSRF protection (private IP blocking, DNS rebinding, Teredo/6to4, hex/octal/decimal normalization)
|
|
74
|
+
- OFAC sanctioned country blocking (CU, IR, KP, RU, SY)
|
|
75
|
+
- Credential scrubbing in all error messages
|
|
76
|
+
- Prototype pollution prevention on all parsed JSON
|
|
77
|
+
- HTTP method restriction (GET/HEAD/OPTIONS only for proxied fetch)
|
|
78
|
+
- 10 MB response cap, 4000 char truncation, 30s timeout
|
|
79
|
+
- Redirect following disabled
|
|
80
|
+
|
|
81
|
+
## License
|
|
82
|
+
|
|
83
|
+
MIT
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @dominusnode/mastra-tools
|
|
3
|
+
*
|
|
4
|
+
* DomiNode rotating proxy tools for Mastra AI agents.
|
|
5
|
+
* Provides 23 tools for proxy fetching, wallet management,
|
|
6
|
+
* team collaboration, and payment operations.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import { DominusNodeToolkit } from "@dominusnode/mastra-tools";
|
|
11
|
+
*
|
|
12
|
+
* const toolkit = new DominusNodeToolkit({
|
|
13
|
+
* apiKey: process.env.DOMINUSNODE_API_KEY!,
|
|
14
|
+
* });
|
|
15
|
+
*
|
|
16
|
+
* const tools = toolkit.getTools();
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export { DominusNodeToolkit, isPrivateIp, validateTargetUrl, validateCountry, validateUuid, normalizeIpv4, stripDangerousKeys, scrubCredentials, truncate, formatBytes, formatCents, } from "./toolkit.js";
|
|
20
|
+
export type { DominusNodeToolkitConfig } from "./toolkit.js";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @dominusnode/mastra-tools
|
|
4
|
+
*
|
|
5
|
+
* DomiNode rotating proxy tools for Mastra AI agents.
|
|
6
|
+
* Provides 23 tools for proxy fetching, wallet management,
|
|
7
|
+
* team collaboration, and payment operations.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import { DominusNodeToolkit } from "@dominusnode/mastra-tools";
|
|
12
|
+
*
|
|
13
|
+
* const toolkit = new DominusNodeToolkit({
|
|
14
|
+
* apiKey: process.env.DOMINUSNODE_API_KEY!,
|
|
15
|
+
* });
|
|
16
|
+
*
|
|
17
|
+
* const tools = toolkit.getTools();
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.formatCents = exports.formatBytes = exports.truncate = exports.scrubCredentials = exports.stripDangerousKeys = exports.normalizeIpv4 = exports.validateUuid = exports.validateCountry = exports.validateTargetUrl = exports.isPrivateIp = exports.DominusNodeToolkit = void 0;
|
|
22
|
+
var toolkit_js_1 = require("./toolkit.js");
|
|
23
|
+
Object.defineProperty(exports, "DominusNodeToolkit", { enumerable: true, get: function () { return toolkit_js_1.DominusNodeToolkit; } });
|
|
24
|
+
// Security utilities (exported for testing)
|
|
25
|
+
Object.defineProperty(exports, "isPrivateIp", { enumerable: true, get: function () { return toolkit_js_1.isPrivateIp; } });
|
|
26
|
+
Object.defineProperty(exports, "validateTargetUrl", { enumerable: true, get: function () { return toolkit_js_1.validateTargetUrl; } });
|
|
27
|
+
Object.defineProperty(exports, "validateCountry", { enumerable: true, get: function () { return toolkit_js_1.validateCountry; } });
|
|
28
|
+
Object.defineProperty(exports, "validateUuid", { enumerable: true, get: function () { return toolkit_js_1.validateUuid; } });
|
|
29
|
+
Object.defineProperty(exports, "normalizeIpv4", { enumerable: true, get: function () { return toolkit_js_1.normalizeIpv4; } });
|
|
30
|
+
Object.defineProperty(exports, "stripDangerousKeys", { enumerable: true, get: function () { return toolkit_js_1.stripDangerousKeys; } });
|
|
31
|
+
Object.defineProperty(exports, "scrubCredentials", { enumerable: true, get: function () { return toolkit_js_1.scrubCredentials; } });
|
|
32
|
+
Object.defineProperty(exports, "truncate", { enumerable: true, get: function () { return toolkit_js_1.truncate; } });
|
|
33
|
+
Object.defineProperty(exports, "formatBytes", { enumerable: true, get: function () { return toolkit_js_1.formatBytes; } });
|
|
34
|
+
Object.defineProperty(exports, "formatCents", { enumerable: true, get: function () { return toolkit_js_1.formatCents; } });
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DomiNode Mastra AI Toolkit
|
|
3
|
+
*
|
|
4
|
+
* Implements 24 tools for interacting with DomiNode's rotating proxy service
|
|
5
|
+
* from Mastra AI agents and workflows.
|
|
6
|
+
*
|
|
7
|
+
* Uses createTool() from @mastra/core/tools with Zod schemas.
|
|
8
|
+
*
|
|
9
|
+
* Security:
|
|
10
|
+
* - Full SSRF protection (private IP blocking, DNS rebinding, .localhost, embedded creds)
|
|
11
|
+
* - Credential scrubbing in error messages
|
|
12
|
+
* - Response truncation at 4000 chars for LLM context efficiency
|
|
13
|
+
* - OFAC sanctioned country validation
|
|
14
|
+
* - Prototype pollution prevention (recursive)
|
|
15
|
+
* - HTTP method restriction (GET/HEAD/OPTIONS only for proxied fetch)
|
|
16
|
+
* - 10 MB response cap, 30s timeout
|
|
17
|
+
* - Redirect following disabled
|
|
18
|
+
*/
|
|
19
|
+
export interface DominusNodeToolkitConfig {
|
|
20
|
+
/** DomiNode API key (dn_live_... or dn_test_...). Falls back to DOMINUSNODE_API_KEY env var. */
|
|
21
|
+
apiKey?: string;
|
|
22
|
+
/** Base URL of the DomiNode REST API. */
|
|
23
|
+
baseUrl?: string;
|
|
24
|
+
/** Hostname of the DomiNode proxy gateway. */
|
|
25
|
+
proxyHost?: string;
|
|
26
|
+
/** Port of the DomiNode proxy gateway. */
|
|
27
|
+
proxyPort?: number;
|
|
28
|
+
}
|
|
29
|
+
/** Remove any dn_live_* or dn_test_* tokens from error messages. */
|
|
30
|
+
export declare function scrubCredentials(msg: string): string;
|
|
31
|
+
export declare function truncate(text: string, max?: number): string;
|
|
32
|
+
/**
|
|
33
|
+
* Normalize non-standard IPv4 representations to dotted-decimal.
|
|
34
|
+
* Handles: decimal integers (2130706433), hex (0x7f000001), octal octets (0177.0.0.1).
|
|
35
|
+
*/
|
|
36
|
+
export declare function normalizeIpv4(hostname: string): string | null;
|
|
37
|
+
export declare function isPrivateIp(hostname: string): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Validate a URL for safety before proxying.
|
|
40
|
+
* Blocks: private IPs, localhost, .local/.internal/.arpa, embedded credentials, non-http(s).
|
|
41
|
+
*/
|
|
42
|
+
export declare function validateTargetUrl(url: string): URL;
|
|
43
|
+
/**
|
|
44
|
+
* Validate a country code: must be 2 uppercase letters and not OFAC sanctioned.
|
|
45
|
+
*/
|
|
46
|
+
export declare function validateCountry(country: string | undefined): string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Validate a UUID string.
|
|
49
|
+
*/
|
|
50
|
+
export declare function validateUuid(id: string, label: string): string;
|
|
51
|
+
export declare function stripDangerousKeys(obj: unknown, depth?: number): void;
|
|
52
|
+
export declare function formatBytes(bytes: number): string;
|
|
53
|
+
export declare function formatCents(cents: number): string;
|
|
54
|
+
export declare class DominusNodeToolkit {
|
|
55
|
+
private apiKey;
|
|
56
|
+
private baseUrl;
|
|
57
|
+
private proxyHost;
|
|
58
|
+
private proxyPort;
|
|
59
|
+
private cachedJwt;
|
|
60
|
+
private jwtExpiresAt;
|
|
61
|
+
constructor(config?: DominusNodeToolkitConfig);
|
|
62
|
+
private getApiKey;
|
|
63
|
+
private ensureAuth;
|
|
64
|
+
private apiRequest;
|
|
65
|
+
private apiGet;
|
|
66
|
+
private apiPost;
|
|
67
|
+
private apiDelete;
|
|
68
|
+
private apiPatch;
|
|
69
|
+
proxiedFetch(url: string, method?: string, country?: string, proxyType?: string): Promise<{
|
|
70
|
+
status: number;
|
|
71
|
+
headers: Record<string, string>;
|
|
72
|
+
body: string;
|
|
73
|
+
pool: string;
|
|
74
|
+
country: string;
|
|
75
|
+
}>;
|
|
76
|
+
checkBalance(): Promise<{
|
|
77
|
+
balanceCents: number;
|
|
78
|
+
balanceUsd: number;
|
|
79
|
+
dcGbRemaining: string;
|
|
80
|
+
resGbRemaining: string;
|
|
81
|
+
}>;
|
|
82
|
+
checkUsage(days?: number): Promise<{
|
|
83
|
+
totalBytes: number;
|
|
84
|
+
totalCostUsd: number;
|
|
85
|
+
requestCount: number;
|
|
86
|
+
period: string;
|
|
87
|
+
}>;
|
|
88
|
+
getProxyConfig(): Promise<Record<string, unknown>>;
|
|
89
|
+
listSessions(): Promise<Record<string, unknown>>;
|
|
90
|
+
createAgenticWallet(label: string, spendingLimitCents: number, dailyLimitCents?: number, allowedDomains?: string[]): Promise<Record<string, unknown>>;
|
|
91
|
+
updateWalletPolicy(walletId: string, dailyLimitCents?: number | null, allowedDomains?: string[] | null): Promise<Record<string, unknown>>;
|
|
92
|
+
fundAgenticWallet(walletId: string, amountCents: number): Promise<Record<string, unknown>>;
|
|
93
|
+
agenticWalletBalance(walletId: string): Promise<Record<string, unknown>>;
|
|
94
|
+
listAgenticWallets(): Promise<Record<string, unknown>>;
|
|
95
|
+
agenticTransactions(walletId: string, limit?: number): Promise<Record<string, unknown>>;
|
|
96
|
+
freezeAgenticWallet(walletId: string): Promise<Record<string, unknown>>;
|
|
97
|
+
unfreezeAgenticWallet(walletId: string): Promise<Record<string, unknown>>;
|
|
98
|
+
deleteAgenticWallet(walletId: string): Promise<Record<string, unknown>>;
|
|
99
|
+
createTeam(name: string, maxMembers?: number): Promise<Record<string, unknown>>;
|
|
100
|
+
listTeams(): Promise<Record<string, unknown>>;
|
|
101
|
+
teamDetails(teamId: string): Promise<Record<string, unknown>>;
|
|
102
|
+
teamFund(teamId: string, amountCents: number): Promise<Record<string, unknown>>;
|
|
103
|
+
teamCreateKey(teamId: string, label: string): Promise<Record<string, unknown>>;
|
|
104
|
+
teamUsage(teamId: string, limit?: number): Promise<Record<string, unknown>>;
|
|
105
|
+
updateTeam(teamId: string, name?: string, maxMembers?: number): Promise<Record<string, unknown>>;
|
|
106
|
+
updateTeamMemberRole(teamId: string, userId: string, role: string): Promise<Record<string, unknown>>;
|
|
107
|
+
topupPaypal(amountCents: number): Promise<Record<string, unknown>>;
|
|
108
|
+
x402Info(): Promise<Record<string, unknown>>;
|
|
109
|
+
getTools(): (import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
110
|
+
context: any;
|
|
111
|
+
}, {
|
|
112
|
+
status: number;
|
|
113
|
+
headers: Record<string, string>;
|
|
114
|
+
body: string;
|
|
115
|
+
pool: string;
|
|
116
|
+
country: string;
|
|
117
|
+
} | {
|
|
118
|
+
status: number;
|
|
119
|
+
headers: {};
|
|
120
|
+
body: string;
|
|
121
|
+
pool: any;
|
|
122
|
+
country: any;
|
|
123
|
+
error: string;
|
|
124
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_proxied_fetch", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<unknown, {
|
|
125
|
+
balanceCents: number;
|
|
126
|
+
balanceUsd: number;
|
|
127
|
+
dcGbRemaining: string;
|
|
128
|
+
resGbRemaining: string;
|
|
129
|
+
} | {
|
|
130
|
+
balanceCents: number;
|
|
131
|
+
balanceUsd: number;
|
|
132
|
+
dcGbRemaining: string;
|
|
133
|
+
resGbRemaining: string;
|
|
134
|
+
error: string;
|
|
135
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_check_balance", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
136
|
+
context: any;
|
|
137
|
+
}, {
|
|
138
|
+
totalBytes: number;
|
|
139
|
+
totalCostUsd: number;
|
|
140
|
+
requestCount: number;
|
|
141
|
+
period: string;
|
|
142
|
+
} | {
|
|
143
|
+
totalBytes: number;
|
|
144
|
+
totalCostUsd: number;
|
|
145
|
+
requestCount: number;
|
|
146
|
+
period: string;
|
|
147
|
+
error: string;
|
|
148
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_check_usage", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<unknown, {
|
|
149
|
+
error?: string | undefined;
|
|
150
|
+
data?: unknown;
|
|
151
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_get_proxy_config", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<unknown, {
|
|
152
|
+
error?: string | undefined;
|
|
153
|
+
data?: unknown;
|
|
154
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_list_sessions", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
155
|
+
context: any;
|
|
156
|
+
}, {
|
|
157
|
+
error?: string | undefined;
|
|
158
|
+
data?: unknown;
|
|
159
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_create_agentic_wallet", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
160
|
+
context: any;
|
|
161
|
+
}, {
|
|
162
|
+
error?: string | undefined;
|
|
163
|
+
data?: unknown;
|
|
164
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_fund_agentic_wallet", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
165
|
+
context: any;
|
|
166
|
+
}, {
|
|
167
|
+
error?: string | undefined;
|
|
168
|
+
data?: unknown;
|
|
169
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_agentic_wallet_balance", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<unknown, {
|
|
170
|
+
error?: string | undefined;
|
|
171
|
+
data?: unknown;
|
|
172
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_list_agentic_wallets", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
173
|
+
context: any;
|
|
174
|
+
}, {
|
|
175
|
+
error?: string | undefined;
|
|
176
|
+
data?: unknown;
|
|
177
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_agentic_transactions", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
178
|
+
context: any;
|
|
179
|
+
}, {
|
|
180
|
+
error?: string | undefined;
|
|
181
|
+
data?: unknown;
|
|
182
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_freeze_agentic_wallet", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
183
|
+
context: any;
|
|
184
|
+
}, {
|
|
185
|
+
error?: string | undefined;
|
|
186
|
+
data?: unknown;
|
|
187
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_unfreeze_agentic_wallet", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
188
|
+
context: any;
|
|
189
|
+
}, {
|
|
190
|
+
error?: string | undefined;
|
|
191
|
+
data?: unknown;
|
|
192
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_delete_agentic_wallet", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
193
|
+
context: any;
|
|
194
|
+
}, {
|
|
195
|
+
error?: string | undefined;
|
|
196
|
+
data?: unknown;
|
|
197
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_update_wallet_policy", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
198
|
+
context: any;
|
|
199
|
+
}, {
|
|
200
|
+
error?: string | undefined;
|
|
201
|
+
data?: unknown;
|
|
202
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_create_team", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<unknown, {
|
|
203
|
+
error?: string | undefined;
|
|
204
|
+
data?: unknown;
|
|
205
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_list_teams", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
206
|
+
context: any;
|
|
207
|
+
}, {
|
|
208
|
+
error?: string | undefined;
|
|
209
|
+
data?: unknown;
|
|
210
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_team_details", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
211
|
+
context: any;
|
|
212
|
+
}, {
|
|
213
|
+
error?: string | undefined;
|
|
214
|
+
data?: unknown;
|
|
215
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_team_fund", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
216
|
+
context: any;
|
|
217
|
+
}, {
|
|
218
|
+
error?: string | undefined;
|
|
219
|
+
data?: unknown;
|
|
220
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_team_create_key", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
221
|
+
context: any;
|
|
222
|
+
}, {
|
|
223
|
+
error?: string | undefined;
|
|
224
|
+
data?: unknown;
|
|
225
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_team_usage", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
226
|
+
context: any;
|
|
227
|
+
}, {
|
|
228
|
+
error?: string | undefined;
|
|
229
|
+
data?: unknown;
|
|
230
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_update_team", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
231
|
+
context: any;
|
|
232
|
+
}, {
|
|
233
|
+
error?: string | undefined;
|
|
234
|
+
data?: unknown;
|
|
235
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_update_team_member_role", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{
|
|
236
|
+
context: any;
|
|
237
|
+
}, {
|
|
238
|
+
error?: string | undefined;
|
|
239
|
+
data?: unknown;
|
|
240
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_topup_paypal", unknown> | import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<unknown, {
|
|
241
|
+
error?: string | undefined;
|
|
242
|
+
data?: unknown;
|
|
243
|
+
}, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext<unknown, unknown, unknown>, "dominusnode_x402_info", unknown>)[];
|
|
244
|
+
}
|