@oneie/sdk 0.17.5 → 0.17.6
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/dist/billing.d.ts +244 -14
- package/dist/billing.d.ts.map +1 -1
- package/dist/billing.js +374 -55
- package/dist/billing.js.map +1 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +8 -1
- package/dist/client.js.map +1 -1
- package/dist/generated/schemas/index.d.ts +2 -2
- package/dist/generated/schemas.d.ts +10 -10
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/meta.d.ts +13 -0
- package/dist/meta.d.ts.map +1 -1
- package/dist/meta.js +11 -0
- package/dist/meta.js.map +1 -1
- package/dist/prices/vendors.d.ts +7 -0
- package/dist/prices/vendors.d.ts.map +1 -0
- package/dist/prices/vendors.js +229 -0
- package/dist/prices/vendors.js.map +1 -0
- package/dist/prices.d.ts +41 -0
- package/dist/prices.d.ts.map +1 -0
- package/dist/prices.js +79 -0
- package/dist/prices.js.map +1 -0
- package/dist/receiver-layers.d.ts +26 -0
- package/dist/receiver-layers.d.ts.map +1 -1
- package/dist/receiver-layers.js +54 -5
- package/dist/receiver-layers.js.map +1 -1
- package/dist/receivers.d.ts +437 -63
- package/dist/receivers.d.ts.map +1 -1
- package/dist/receivers.js +566 -129
- package/dist/receivers.js.map +1 -1
- package/dist/secrets-give.d.ts +1 -1
- package/dist/secrets-give.d.ts.map +1 -1
- package/dist/secrets-give.js +1 -1
- package/dist/secrets-give.js.map +1 -1
- package/dist/secrets-list.d.ts +169 -0
- package/dist/secrets-list.d.ts.map +1 -0
- package/dist/secrets-list.js +13 -0
- package/dist/secrets-list.js.map +1 -0
- package/dist/secrets-one-vault.d.ts +33 -1
- package/dist/secrets-one-vault.d.ts.map +1 -1
- package/dist/secrets-one-vault.js +42 -2
- package/dist/secrets-one-vault.js.map +1 -1
- package/dist/secrets.d.ts +9 -0
- package/dist/secrets.d.ts.map +1 -1
- package/dist/secrets.js +12 -0
- package/dist/secrets.js.map +1 -1
- package/dist/work-contract-grammar.json +36 -5
- package/dist/work-contract.d.ts +24 -0
- package/dist/work-contract.d.ts.map +1 -1
- package/dist/work-contract.js +55 -0
- package/dist/work-contract.js.map +1 -1
- package/package.json +6 -2
package/dist/receivers.d.ts
CHANGED
|
@@ -82,6 +82,36 @@ export interface Receiver<Req extends z.ZodTypeAny = z.ZodTypeAny, Res extends z
|
|
|
82
82
|
reversible?: boolean;
|
|
83
83
|
/** Does it move real, permanent value? */
|
|
84
84
|
settles?: Settlement;
|
|
85
|
+
/**
|
|
86
|
+
* Declares that THIS CALL MUTATES A BALANCE OR SETTLES VALUE AT THE CALL — ONE's
|
|
87
|
+
* ledger debits, holds, releases or allocates credits (market:escrow,
|
|
88
|
+
* wallet:transfer, credits:approve …), records a settlement of value that
|
|
89
|
+
* changed hands (wallet:send, pay:weight), or repoints where money goes
|
|
90
|
+
* (payout:set). NOT an intent-only door that mints a URL, link or session a
|
|
91
|
+
* human later pays (checkout:create, checkout:link, billing:plan, billing:topup):
|
|
92
|
+
* nothing moves at that call, and tagging it would make every key-driven
|
|
93
|
+
* selling agent need a human grant to produce a URL — the launch sell path
|
|
94
|
+
* (/code-review high, finding 6; the criterion is pinned in
|
|
95
|
+
* one.ie/web/tests/unit/agents/value-moving-parity.test.ts).
|
|
96
|
+
* This is the ONE source of the universal work-contract gate's
|
|
97
|
+
* `VALUE_MOVING_RECEIVERS` (one.ie/web resolvers/_shared.ts reads
|
|
98
|
+
* `valueMovingReceivers()`): a bare key calling such a receiver must carry a
|
|
99
|
+
* contract that names `signal:<receiver>`, and that capability comes only from
|
|
100
|
+
* an attested `agents:approve` row — never from the payload. A money-family
|
|
101
|
+
* receiver without this field must be listed, with a reason, in
|
|
102
|
+
* one.ie/web/tests/unit/agents/value-moving-parity.test.ts or that test fails.
|
|
103
|
+
*/
|
|
104
|
+
moves?: "value";
|
|
105
|
+
/**
|
|
106
|
+
* For a `moves: "value"` receiver: the request fields, in precedence order,
|
|
107
|
+
* that name the WORKSPACE this call moves value in — the first one present is
|
|
108
|
+
* the target (`valueTargetOf`). Absent = the call moves value in the caller's
|
|
109
|
+
* own attested home. The universal gate reads a bare key's grant row under the
|
|
110
|
+
* TARGET, so a grant in workspace A never opens a call that pays or repoints B
|
|
111
|
+
* (`grant_workspace_mismatch`). The resolver's own authority walk still binds
|
|
112
|
+
* the same field; this only says which field the grant is matched against.
|
|
113
|
+
*/
|
|
114
|
+
movesIn?: readonly string[];
|
|
85
115
|
/** Accepts `{ simulate: true }` → projects an outcome, commits nothing. */
|
|
86
116
|
simulatable?: boolean;
|
|
87
117
|
/** Safe to retry as-is; else dedupes on the envelope `idempotencyKey`. */
|
|
@@ -117,6 +147,14 @@ export interface Receiver<Req extends z.ZodTypeAny = z.ZodTypeAny, Res extends z
|
|
|
117
147
|
name?: string;
|
|
118
148
|
};
|
|
119
149
|
};
|
|
150
|
+
/**
|
|
151
|
+
* Free-form labels the catalog filters by — `meta:catalog { tag }`. Distinct
|
|
152
|
+
* from any zod field named `tags` inside `request`/`response`, which is payload,
|
|
153
|
+
* not contract. `surface:*` tags are NOT declared here: they are derived from
|
|
154
|
+
* `surfaces` by `tagsOf()` (`./meta`), so a surface flag and its tag cannot
|
|
155
|
+
* disagree — a hand-written `surface:*` entry is ignored.
|
|
156
|
+
*/
|
|
157
|
+
tags?: string[];
|
|
120
158
|
/**
|
|
121
159
|
* Bound in the service, not the SDK. Contract-only declarations omit it;
|
|
122
160
|
* `world-receivers.ts` and channels tool modules attach it.
|
|
@@ -186,21 +224,30 @@ export declare const RECEIVERS: {
|
|
|
186
224
|
payCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
187
225
|
closed: z.ZodOptional<z.ZodString>;
|
|
188
226
|
}, z.core.$strip>>;
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
194
|
-
invite: z.ZodOptional<z.ZodObject<{
|
|
195
|
-
email: z.ZodOptional<z.ZodString>;
|
|
196
|
-
role: z.ZodOptional<z.ZodString>;
|
|
197
|
-
}, z.core.$strip>>;
|
|
198
|
-
live: z.ZodOptional<z.ZodBoolean>;
|
|
227
|
+
"agents:approve": Receiver<z.ZodObject<{
|
|
228
|
+
actor: z.ZodString;
|
|
229
|
+
capability: z.ZodString;
|
|
230
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
199
231
|
}, z.core.$strip>, z.ZodObject<{
|
|
200
|
-
|
|
201
|
-
workspace: z.ZodString
|
|
202
|
-
|
|
203
|
-
|
|
232
|
+
ok: z.ZodBoolean;
|
|
233
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
234
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
235
|
+
capability: z.ZodOptional<z.ZodString>;
|
|
236
|
+
grantedBy: z.ZodOptional<z.ZodString>;
|
|
237
|
+
error: z.ZodOptional<z.ZodString>;
|
|
238
|
+
}, z.core.$strip>>;
|
|
239
|
+
"agents:update": Receiver<z.ZodObject<{
|
|
240
|
+
actor: z.ZodString;
|
|
241
|
+
capability: z.ZodString;
|
|
242
|
+
status: z.ZodLiteral<"revoked">;
|
|
243
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
244
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
245
|
+
ok: z.ZodBoolean;
|
|
246
|
+
revoked: z.ZodOptional<z.ZodBoolean>;
|
|
247
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
248
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
249
|
+
capability: z.ZodOptional<z.ZodString>;
|
|
250
|
+
error: z.ZodOptional<z.ZodString>;
|
|
204
251
|
}, z.core.$strip>>;
|
|
205
252
|
"agent:bootstrap": Receiver<z.ZodObject<{
|
|
206
253
|
name: z.ZodString;
|
|
@@ -256,8 +303,8 @@ export declare const RECEIVERS: {
|
|
|
256
303
|
ownerEmail: z.ZodOptional<z.ZodString>;
|
|
257
304
|
parent: z.ZodOptional<z.ZodString>;
|
|
258
305
|
plan: z.ZodOptional<z.ZodEnum<{
|
|
259
|
-
free: "free";
|
|
260
306
|
pro: "pro";
|
|
307
|
+
free: "free";
|
|
261
308
|
agency: "agency";
|
|
262
309
|
enterprise: "enterprise";
|
|
263
310
|
}>>;
|
|
@@ -276,8 +323,8 @@ export declare const RECEIVERS: {
|
|
|
276
323
|
name: z.ZodOptional<z.ZodString>;
|
|
277
324
|
email: z.ZodOptional<z.ZodString>;
|
|
278
325
|
plan: z.ZodOptional<z.ZodEnum<{
|
|
279
|
-
free: "free";
|
|
280
326
|
pro: "pro";
|
|
327
|
+
free: "free";
|
|
281
328
|
agency: "agency";
|
|
282
329
|
enterprise: "enterprise";
|
|
283
330
|
}>>;
|
|
@@ -404,6 +451,7 @@ export declare const RECEIVERS: {
|
|
|
404
451
|
"world:create-group": Receiver<z.ZodObject<{
|
|
405
452
|
name: z.ZodString;
|
|
406
453
|
type: z.ZodUnion<[z.ZodOptional<z.ZodEnum<{
|
|
454
|
+
team: "team";
|
|
407
455
|
company: "company";
|
|
408
456
|
world: "world";
|
|
409
457
|
community: "community";
|
|
@@ -411,7 +459,6 @@ export declare const RECEIVERS: {
|
|
|
411
459
|
friends: "friends";
|
|
412
460
|
org: "org";
|
|
413
461
|
personal: "personal";
|
|
414
|
-
team: "team";
|
|
415
462
|
workspace: "workspace";
|
|
416
463
|
}>>, z.ZodLiteral<"group">]>;
|
|
417
464
|
groupSlug: z.ZodOptional<z.ZodString>;
|
|
@@ -498,6 +545,7 @@ export declare const RECEIVERS: {
|
|
|
498
545
|
}, z.core.$strip>>;
|
|
499
546
|
"visitor:promote": Receiver<z.ZodObject<{
|
|
500
547
|
visitorHash: z.ZodString;
|
|
548
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
501
549
|
}, z.core.$strip>, z.ZodObject<{
|
|
502
550
|
ok: z.ZodBoolean;
|
|
503
551
|
aid: z.ZodOptional<z.ZodString>;
|
|
@@ -1588,9 +1636,6 @@ export declare const RECEIVERS: {
|
|
|
1588
1636
|
}, z.core.$strip>>;
|
|
1589
1637
|
error: z.ZodOptional<z.ZodString>;
|
|
1590
1638
|
}, z.core.$strip>>;
|
|
1591
|
-
"auth:sign-out": Receiver<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
1592
|
-
ok: z.ZodBoolean;
|
|
1593
|
-
}, z.core.$strip>>;
|
|
1594
1639
|
"groups:join": Receiver<z.ZodObject<{
|
|
1595
1640
|
gid: z.ZodString;
|
|
1596
1641
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1666,6 +1711,12 @@ export declare const RECEIVERS: {
|
|
|
1666
1711
|
topupUrl: z.ZodOptional<z.ZodString>;
|
|
1667
1712
|
}, z.core.$strip>>;
|
|
1668
1713
|
"credits:approve": Receiver<z.ZodObject<{
|
|
1714
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
1715
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
1716
|
+
agent: z.ZodString;
|
|
1717
|
+
workspace: z.ZodString;
|
|
1718
|
+
granted: z.ZodArray<z.ZodString>;
|
|
1719
|
+
}, z.core.$strip>>;
|
|
1669
1720
|
token: z.ZodString;
|
|
1670
1721
|
}, z.core.$strip>, z.ZodObject<{
|
|
1671
1722
|
ok: z.ZodBoolean;
|
|
@@ -1714,8 +1765,8 @@ export declare const RECEIVERS: {
|
|
|
1714
1765
|
board: z.ZodOptional<z.ZodLiteral<"marketplace">>;
|
|
1715
1766
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
1716
1767
|
discord: "discord";
|
|
1717
|
-
inbox: "inbox";
|
|
1718
1768
|
telegram: "telegram";
|
|
1769
|
+
inbox: "inbox";
|
|
1719
1770
|
webhook: "webhook";
|
|
1720
1771
|
}>>;
|
|
1721
1772
|
delivery_target: z.ZodOptional<z.ZodString>;
|
|
@@ -2049,6 +2100,7 @@ export declare const RECEIVERS: {
|
|
|
2049
2100
|
target: z.ZodString;
|
|
2050
2101
|
stage: z.ZodOptional<z.ZodEnum<{
|
|
2051
2102
|
credentials: "credentials";
|
|
2103
|
+
ship: "ship";
|
|
2052
2104
|
tree: "tree";
|
|
2053
2105
|
typecheck: "typecheck";
|
|
2054
2106
|
tests: "tests";
|
|
@@ -2056,7 +2108,6 @@ export declare const RECEIVERS: {
|
|
|
2056
2108
|
smoke: "smoke";
|
|
2057
2109
|
approval: "approval";
|
|
2058
2110
|
migrations: "migrations";
|
|
2059
|
-
ship: "ship";
|
|
2060
2111
|
health: "health";
|
|
2061
2112
|
}>>;
|
|
2062
2113
|
status: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2197,6 +2248,7 @@ export declare const RECEIVERS: {
|
|
|
2197
2248
|
error: z.ZodOptional<z.ZodString>;
|
|
2198
2249
|
}, z.core.$strip>>;
|
|
2199
2250
|
"ehc:evidence-remove": Receiver<z.ZodObject<{
|
|
2251
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2200
2252
|
cyp: z.ZodString;
|
|
2201
2253
|
evidenceId: z.ZodString;
|
|
2202
2254
|
removed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2401,7 +2453,8 @@ export declare const RECEIVERS: {
|
|
|
2401
2453
|
error: z.ZodOptional<z.ZodString>;
|
|
2402
2454
|
}, z.core.$strip>>;
|
|
2403
2455
|
"tasks:list": Receiver<z.ZodObject<{
|
|
2404
|
-
tag: z.ZodString
|
|
2456
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
2457
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2405
2458
|
status: z.ZodOptional<z.ZodString>;
|
|
2406
2459
|
workspace: z.ZodOptional<z.ZodString>;
|
|
2407
2460
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2412,6 +2465,11 @@ export declare const RECEIVERS: {
|
|
|
2412
2465
|
status: z.ZodString;
|
|
2413
2466
|
name: z.ZodOptional<z.ZodString>;
|
|
2414
2467
|
}, z.core.$strip>>>;
|
|
2468
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
2469
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2470
|
+
asOf: z.ZodOptional<z.ZodString>;
|
|
2471
|
+
stale: z.ZodOptional<z.ZodBoolean>;
|
|
2472
|
+
status: z.ZodOptional<z.ZodString>;
|
|
2415
2473
|
error: z.ZodOptional<z.ZodString>;
|
|
2416
2474
|
}, z.core.$strip>>;
|
|
2417
2475
|
"tasks:notes": Receiver<z.ZodObject<{
|
|
@@ -2843,6 +2901,12 @@ export declare const RECEIVERS: {
|
|
|
2843
2901
|
currency: z.ZodString;
|
|
2844
2902
|
}, z.core.$strip>>>;
|
|
2845
2903
|
"pay:weight": Receiver<z.ZodObject<{
|
|
2904
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
2905
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
2906
|
+
agent: z.ZodString;
|
|
2907
|
+
workspace: z.ZodString;
|
|
2908
|
+
granted: z.ZodArray<z.ZodString>;
|
|
2909
|
+
}, z.core.$strip>>;
|
|
2846
2910
|
from: z.ZodOptional<z.ZodString>;
|
|
2847
2911
|
to: z.ZodString;
|
|
2848
2912
|
task: z.ZodString;
|
|
@@ -2868,6 +2932,7 @@ export declare const RECEIVERS: {
|
|
|
2868
2932
|
error: z.ZodOptional<z.ZodString>;
|
|
2869
2933
|
}, z.core.$strip>>;
|
|
2870
2934
|
"market:offer": Receiver<z.ZodObject<{
|
|
2935
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2871
2936
|
id: z.ZodOptional<z.ZodString>;
|
|
2872
2937
|
seller: z.ZodString;
|
|
2873
2938
|
skill: z.ZodString;
|
|
@@ -2904,6 +2969,7 @@ export declare const RECEIVERS: {
|
|
|
2904
2969
|
error: z.ZodString;
|
|
2905
2970
|
}, z.core.$strip>]>>;
|
|
2906
2971
|
"market:accept": Receiver<z.ZodObject<{
|
|
2972
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2907
2973
|
dealId: z.ZodString;
|
|
2908
2974
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
2909
2975
|
ok: z.ZodLiteral<true>;
|
|
@@ -2967,6 +3033,13 @@ export declare const RECEIVERS: {
|
|
|
2967
3033
|
error: z.ZodString;
|
|
2968
3034
|
}, z.core.$strip>]>>;
|
|
2969
3035
|
"market:settle": Receiver<z.ZodObject<{
|
|
3036
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
3037
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
3038
|
+
agent: z.ZodString;
|
|
3039
|
+
workspace: z.ZodString;
|
|
3040
|
+
granted: z.ZodArray<z.ZodString>;
|
|
3041
|
+
}, z.core.$strip>>;
|
|
3042
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2970
3043
|
dealId: z.ZodString;
|
|
2971
3044
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
2972
3045
|
ok: z.ZodLiteral<true>;
|
|
@@ -2993,6 +3066,12 @@ export declare const RECEIVERS: {
|
|
|
2993
3066
|
error: z.ZodString;
|
|
2994
3067
|
}, z.core.$strip>]>>;
|
|
2995
3068
|
"market:escrow": Receiver<z.ZodObject<{
|
|
3069
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
3070
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
3071
|
+
agent: z.ZodString;
|
|
3072
|
+
workspace: z.ZodString;
|
|
3073
|
+
granted: z.ZodArray<z.ZodString>;
|
|
3074
|
+
}, z.core.$strip>>;
|
|
2996
3075
|
dealId: z.ZodString;
|
|
2997
3076
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
2998
3077
|
ok: z.ZodLiteral<true>;
|
|
@@ -3011,6 +3090,7 @@ export declare const RECEIVERS: {
|
|
|
3011
3090
|
}, z.core.$strip>>;
|
|
3012
3091
|
}, z.core.$strip>]>>;
|
|
3013
3092
|
"market:offers": Receiver<z.ZodObject<{
|
|
3093
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3014
3094
|
stage: z.ZodOptional<z.ZodString>;
|
|
3015
3095
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
3016
3096
|
ok: z.ZodLiteral<true>;
|
|
@@ -3143,6 +3223,7 @@ export declare const RECEIVERS: {
|
|
|
3143
3223
|
scope: z.ZodString;
|
|
3144
3224
|
}, z.core.$strip>>;
|
|
3145
3225
|
"signals:list": Receiver<z.ZodObject<{
|
|
3226
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3146
3227
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3147
3228
|
since: z.ZodOptional<z.ZodNumber>;
|
|
3148
3229
|
from: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3162,7 +3243,9 @@ export declare const RECEIVERS: {
|
|
|
3162
3243
|
ts: z.ZodNumber;
|
|
3163
3244
|
intent: z.ZodOptional<z.ZodString>;
|
|
3164
3245
|
}, z.core.$strip>>>;
|
|
3165
|
-
"stats:current": Receiver<z.ZodObject<{
|
|
3246
|
+
"stats:current": Receiver<z.ZodObject<{
|
|
3247
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3248
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3166
3249
|
units: z.ZodObject<{
|
|
3167
3250
|
total: z.ZodNumber;
|
|
3168
3251
|
proven: z.ZodNumber;
|
|
@@ -3185,7 +3268,9 @@ export declare const RECEIVERS: {
|
|
|
3185
3268
|
}, z.core.$strip>;
|
|
3186
3269
|
timestamp: z.ZodString;
|
|
3187
3270
|
}, z.core.$strip>>;
|
|
3188
|
-
"dashboard:usage": Receiver<z.ZodObject<{
|
|
3271
|
+
"dashboard:usage": Receiver<z.ZodObject<{
|
|
3272
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3273
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3189
3274
|
tier: z.ZodString;
|
|
3190
3275
|
calls_this_month: z.ZodNumber;
|
|
3191
3276
|
agents_count: z.ZodNumber;
|
|
@@ -3203,6 +3288,7 @@ export declare const RECEIVERS: {
|
|
|
3203
3288
|
trade: "trade";
|
|
3204
3289
|
transact: "transact";
|
|
3205
3290
|
}>>;
|
|
3291
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3206
3292
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3207
3293
|
receiver: z.ZodString;
|
|
3208
3294
|
summary: z.ZodString;
|
|
@@ -3479,6 +3565,12 @@ export declare const RECEIVERS: {
|
|
|
3479
3565
|
}, z.core.$strip>>>;
|
|
3480
3566
|
}, z.core.$strip>>;
|
|
3481
3567
|
"plugins:buy": Receiver<z.ZodObject<{
|
|
3568
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
3569
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
3570
|
+
agent: z.ZodString;
|
|
3571
|
+
workspace: z.ZodString;
|
|
3572
|
+
granted: z.ZodArray<z.ZodString>;
|
|
3573
|
+
}, z.core.$strip>>;
|
|
3482
3574
|
name: z.ZodString;
|
|
3483
3575
|
method: z.ZodOptional<z.ZodEnum<{
|
|
3484
3576
|
stripe: "stripe";
|
|
@@ -3753,6 +3845,7 @@ export declare const RECEIVERS: {
|
|
|
3753
3845
|
error: z.ZodOptional<z.ZodString>;
|
|
3754
3846
|
}, z.core.$strip>>;
|
|
3755
3847
|
"entity:reply": Receiver<z.ZodObject<{
|
|
3848
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3756
3849
|
entityId: z.ZodString;
|
|
3757
3850
|
content: z.ZodString;
|
|
3758
3851
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3773,6 +3866,7 @@ export declare const RECEIVERS: {
|
|
|
3773
3866
|
error: z.ZodOptional<z.ZodString>;
|
|
3774
3867
|
}, z.core.$strip>>;
|
|
3775
3868
|
"entity:tag": Receiver<z.ZodObject<{
|
|
3869
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3776
3870
|
id: z.ZodString;
|
|
3777
3871
|
add: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3778
3872
|
remove: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4030,7 +4124,7 @@ export declare const RECEIVERS: {
|
|
|
4030
4124
|
topupUrl: z.ZodOptional<z.ZodString>;
|
|
4031
4125
|
}, z.core.$strip>>;
|
|
4032
4126
|
"products:list": Receiver<z.ZodObject<{
|
|
4033
|
-
slug: z.
|
|
4127
|
+
slug: z.ZodString;
|
|
4034
4128
|
collection: z.ZodOptional<z.ZodString>;
|
|
4035
4129
|
includeDrafts: z.ZodOptional<z.ZodBoolean>;
|
|
4036
4130
|
sort: z.ZodOptional<z.ZodString>;
|
|
@@ -4558,9 +4652,31 @@ export declare const RECEIVERS: {
|
|
|
4558
4652
|
delegated: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4559
4653
|
error: z.ZodOptional<z.ZodString>;
|
|
4560
4654
|
}, z.core.$strip>>;
|
|
4655
|
+
"wallet:update": Receiver<z.ZodObject<{
|
|
4656
|
+
actor: z.ZodString;
|
|
4657
|
+
limit: z.ZodNumber;
|
|
4658
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
4659
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4660
|
+
ok: z.ZodBoolean;
|
|
4661
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
4662
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
4663
|
+
monthlyCredits: z.ZodOptional<z.ZodNumber>;
|
|
4664
|
+
spentCredits: z.ZodOptional<z.ZodNumber>;
|
|
4665
|
+
paused: z.ZodOptional<z.ZodBoolean>;
|
|
4666
|
+
changed: z.ZodOptional<z.ZodBoolean>;
|
|
4667
|
+
raised: z.ZodOptional<z.ZodBoolean>;
|
|
4668
|
+
closed: z.ZodOptional<z.ZodEnum<{
|
|
4669
|
+
warn: "warn";
|
|
4670
|
+
mark: "mark";
|
|
4671
|
+
dissolve: "dissolve";
|
|
4672
|
+
}>>;
|
|
4673
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4674
|
+
error: z.ZodOptional<z.ZodString>;
|
|
4675
|
+
}, z.core.$strip>>;
|
|
4561
4676
|
"wallet:transactions": Receiver<z.ZodObject<{
|
|
4562
4677
|
workspace: z.ZodOptional<z.ZodString>;
|
|
4563
4678
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
4679
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
4564
4680
|
}, z.core.$strip>, z.ZodObject<{
|
|
4565
4681
|
transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4566
4682
|
ts: z.ZodNumber;
|
|
@@ -4575,9 +4691,16 @@ export declare const RECEIVERS: {
|
|
|
4575
4691
|
ref: z.ZodString;
|
|
4576
4692
|
status: z.ZodString;
|
|
4577
4693
|
}, z.core.$strip>>>;
|
|
4694
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
4578
4695
|
error: z.ZodOptional<z.ZodString>;
|
|
4579
4696
|
}, z.core.$strip>>;
|
|
4580
4697
|
"wallet:transfer": Receiver<z.ZodObject<{
|
|
4698
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
4699
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
4700
|
+
agent: z.ZodString;
|
|
4701
|
+
workspace: z.ZodString;
|
|
4702
|
+
granted: z.ZodArray<z.ZodString>;
|
|
4703
|
+
}, z.core.$strip>>;
|
|
4581
4704
|
to: z.ZodString;
|
|
4582
4705
|
amount: z.ZodNumber;
|
|
4583
4706
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -4593,6 +4716,12 @@ export declare const RECEIVERS: {
|
|
|
4593
4716
|
error: z.ZodOptional<z.ZodString>;
|
|
4594
4717
|
}, z.core.$strip>>;
|
|
4595
4718
|
"wallet:send": Receiver<z.ZodObject<{
|
|
4719
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
4720
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
4721
|
+
agent: z.ZodString;
|
|
4722
|
+
workspace: z.ZodString;
|
|
4723
|
+
granted: z.ZodArray<z.ZodString>;
|
|
4724
|
+
}, z.core.$strip>>;
|
|
4596
4725
|
to: z.ZodString;
|
|
4597
4726
|
chain: z.ZodString;
|
|
4598
4727
|
amount: z.ZodNumber;
|
|
@@ -4919,6 +5048,163 @@ export declare const RECEIVERS: {
|
|
|
4919
5048
|
why: z.ZodOptional<z.ZodString>;
|
|
4920
5049
|
error: z.ZodOptional<z.ZodString>;
|
|
4921
5050
|
}, z.core.$strip>>;
|
|
5051
|
+
"swap:quote": Receiver<z.ZodObject<{
|
|
5052
|
+
from: z.ZodString;
|
|
5053
|
+
to: z.ZodString;
|
|
5054
|
+
amount: z.ZodString;
|
|
5055
|
+
exact: z.ZodOptional<z.ZodEnum<{
|
|
5056
|
+
out: "out";
|
|
5057
|
+
in: "in";
|
|
5058
|
+
}>>;
|
|
5059
|
+
dry: z.ZodOptional<z.ZodBoolean>;
|
|
5060
|
+
recipient: z.ZodOptional<z.ZodString>;
|
|
5061
|
+
refundTo: z.ZodOptional<z.ZodString>;
|
|
5062
|
+
toOther: z.ZodOptional<z.ZodBoolean>;
|
|
5063
|
+
slippageBps: z.ZodOptional<z.ZodNumber>;
|
|
5064
|
+
net: z.ZodOptional<z.ZodString>;
|
|
5065
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5066
|
+
ok: z.ZodBoolean;
|
|
5067
|
+
error: z.ZodOptional<z.ZodString>;
|
|
5068
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5069
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5070
|
+
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5071
|
+
alias: z.ZodString;
|
|
5072
|
+
chain: z.ZodString;
|
|
5073
|
+
symbol: z.ZodString;
|
|
5074
|
+
assetId: z.ZodString;
|
|
5075
|
+
decimals: z.ZodNumber;
|
|
5076
|
+
contract: z.ZodNullable<z.ZodString>;
|
|
5077
|
+
signer: z.ZodString;
|
|
5078
|
+
origin: z.ZodBoolean;
|
|
5079
|
+
destination: z.ZodBoolean;
|
|
5080
|
+
}, z.core.$strip>>>;
|
|
5081
|
+
minimum: z.ZodOptional<z.ZodString>;
|
|
5082
|
+
network: z.ZodString;
|
|
5083
|
+
dry: z.ZodOptional<z.ZodBoolean>;
|
|
5084
|
+
from: z.ZodOptional<z.ZodObject<{
|
|
5085
|
+
alias: z.ZodString;
|
|
5086
|
+
chain: z.ZodString;
|
|
5087
|
+
symbol: z.ZodString;
|
|
5088
|
+
assetId: z.ZodString;
|
|
5089
|
+
decimals: z.ZodNumber;
|
|
5090
|
+
contract: z.ZodNullable<z.ZodString>;
|
|
5091
|
+
signer: z.ZodString;
|
|
5092
|
+
origin: z.ZodBoolean;
|
|
5093
|
+
destination: z.ZodBoolean;
|
|
5094
|
+
}, z.core.$strip>>;
|
|
5095
|
+
to: z.ZodOptional<z.ZodObject<{
|
|
5096
|
+
alias: z.ZodString;
|
|
5097
|
+
chain: z.ZodString;
|
|
5098
|
+
symbol: z.ZodString;
|
|
5099
|
+
assetId: z.ZodString;
|
|
5100
|
+
decimals: z.ZodNumber;
|
|
5101
|
+
contract: z.ZodNullable<z.ZodString>;
|
|
5102
|
+
signer: z.ZodString;
|
|
5103
|
+
origin: z.ZodBoolean;
|
|
5104
|
+
destination: z.ZodBoolean;
|
|
5105
|
+
}, z.core.$strip>>;
|
|
5106
|
+
route: z.ZodOptional<z.ZodObject<{
|
|
5107
|
+
via: z.ZodString;
|
|
5108
|
+
steps: z.ZodArray<z.ZodString>;
|
|
5109
|
+
credits: z.ZodOptional<z.ZodString>;
|
|
5110
|
+
}, z.core.$strip>>;
|
|
5111
|
+
depositAddress: z.ZodOptional<z.ZodString>;
|
|
5112
|
+
amountIn: z.ZodOptional<z.ZodString>;
|
|
5113
|
+
minAmountIn: z.ZodOptional<z.ZodString>;
|
|
5114
|
+
amountOut: z.ZodOptional<z.ZodString>;
|
|
5115
|
+
minAmountOut: z.ZodOptional<z.ZodString>;
|
|
5116
|
+
amountInUsd: z.ZodOptional<z.ZodString>;
|
|
5117
|
+
amountOutUsd: z.ZodOptional<z.ZodString>;
|
|
5118
|
+
costUsd: z.ZodOptional<z.ZodString>;
|
|
5119
|
+
fees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5120
|
+
kind: z.ZodString;
|
|
5121
|
+
bps: z.ZodOptional<z.ZodNumber>;
|
|
5122
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
5123
|
+
asset: z.ZodOptional<z.ZodString>;
|
|
5124
|
+
note: z.ZodOptional<z.ZodString>;
|
|
5125
|
+
}, z.core.$strip>>>;
|
|
5126
|
+
timeEstimateSec: z.ZodOptional<z.ZodNumber>;
|
|
5127
|
+
refundAfter: z.ZodOptional<z.ZodString>;
|
|
5128
|
+
addressExpires: z.ZodOptional<z.ZodString>;
|
|
5129
|
+
quotedAt: z.ZodOptional<z.ZodString>;
|
|
5130
|
+
recipient: z.ZodOptional<z.ZodString>;
|
|
5131
|
+
refundTo: z.ZodOptional<z.ZodString>;
|
|
5132
|
+
ownership: z.ZodOptional<z.ZodObject<{
|
|
5133
|
+
recipient: z.ZodString;
|
|
5134
|
+
refundTo: z.ZodString;
|
|
5135
|
+
note: z.ZodString;
|
|
5136
|
+
}, z.core.$strip>>;
|
|
5137
|
+
send: z.ZodOptional<z.ZodObject<{
|
|
5138
|
+
how: z.ZodString;
|
|
5139
|
+
to: z.ZodString;
|
|
5140
|
+
amountBase: z.ZodString;
|
|
5141
|
+
amount: z.ZodString;
|
|
5142
|
+
asset: z.ZodString;
|
|
5143
|
+
chain: z.ZodString;
|
|
5144
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
5145
|
+
refundsTo: z.ZodString;
|
|
5146
|
+
}, z.core.$strip>>;
|
|
5147
|
+
hyperliquid: z.ZodOptional<z.ZodObject<{
|
|
5148
|
+
checked: z.ZodBoolean;
|
|
5149
|
+
firstDeposit: z.ZodBoolean;
|
|
5150
|
+
}, z.core.$strip>>;
|
|
5151
|
+
keyed: z.ZodOptional<z.ZodBoolean>;
|
|
5152
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5153
|
+
link: z.ZodOptional<z.ZodString>;
|
|
5154
|
+
next: z.ZodString;
|
|
5155
|
+
}, z.core.$strip>>;
|
|
5156
|
+
"swap:get": Receiver<z.ZodObject<{
|
|
5157
|
+
depositAddress: z.ZodOptional<z.ZodString>;
|
|
5158
|
+
depositMemo: z.ZodOptional<z.ZodString>;
|
|
5159
|
+
txHash: z.ZodOptional<z.ZodString>;
|
|
5160
|
+
hyperliquid: z.ZodOptional<z.ZodString>;
|
|
5161
|
+
net: z.ZodOptional<z.ZodString>;
|
|
5162
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5163
|
+
ok: z.ZodBoolean;
|
|
5164
|
+
error: z.ZodOptional<z.ZodString>;
|
|
5165
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5166
|
+
network: z.ZodString;
|
|
5167
|
+
status: z.ZodOptional<z.ZodString>;
|
|
5168
|
+
terminal: z.ZodOptional<z.ZodBoolean>;
|
|
5169
|
+
explain: z.ZodOptional<z.ZodString>;
|
|
5170
|
+
submitted: z.ZodOptional<z.ZodBoolean>;
|
|
5171
|
+
from: z.ZodOptional<z.ZodString>;
|
|
5172
|
+
to: z.ZodOptional<z.ZodString>;
|
|
5173
|
+
recipient: z.ZodOptional<z.ZodString>;
|
|
5174
|
+
refundTo: z.ZodOptional<z.ZodString>;
|
|
5175
|
+
amountIn: z.ZodOptional<z.ZodString>;
|
|
5176
|
+
amountOut: z.ZodOptional<z.ZodString>;
|
|
5177
|
+
amountOutUsd: z.ZodOptional<z.ZodString>;
|
|
5178
|
+
refundedAmount: z.ZodOptional<z.ZodString>;
|
|
5179
|
+
refundReason: z.ZodOptional<z.ZodString>;
|
|
5180
|
+
originTxs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5181
|
+
hash: z.ZodString;
|
|
5182
|
+
explorerUrl: z.ZodString;
|
|
5183
|
+
}, z.core.$strip>>>;
|
|
5184
|
+
destinationTxs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5185
|
+
hash: z.ZodString;
|
|
5186
|
+
explorerUrl: z.ZodString;
|
|
5187
|
+
}, z.core.$strip>>>;
|
|
5188
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5189
|
+
refundAfter: z.ZodOptional<z.ZodString>;
|
|
5190
|
+
addressExpires: z.ZodOptional<z.ZodString>;
|
|
5191
|
+
hyperliquid: z.ZodOptional<z.ZodObject<{
|
|
5192
|
+
address: z.ZodString;
|
|
5193
|
+
network: z.ZodString;
|
|
5194
|
+
perps: z.ZodObject<{
|
|
5195
|
+
accountValue: z.ZodString;
|
|
5196
|
+
withdrawable: z.ZodString;
|
|
5197
|
+
}, z.core.$strip>;
|
|
5198
|
+
spot: z.ZodArray<z.ZodObject<{
|
|
5199
|
+
coin: z.ZodString;
|
|
5200
|
+
total: z.ZodString;
|
|
5201
|
+
hold: z.ZodString;
|
|
5202
|
+
}, z.core.$strip>>;
|
|
5203
|
+
firstDeposit: z.ZodBoolean;
|
|
5204
|
+
note: z.ZodString;
|
|
5205
|
+
}, z.core.$strip>>;
|
|
5206
|
+
next: z.ZodString;
|
|
5207
|
+
}, z.core.$strip>>;
|
|
4922
5208
|
"wallet:portfolio": Receiver<z.ZodObject<{
|
|
4923
5209
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
4924
5210
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5413,6 +5699,7 @@ export declare const RECEIVERS: {
|
|
|
5413
5699
|
hide: "hide";
|
|
5414
5700
|
}>>;
|
|
5415
5701
|
}, z.core.$strict>>;
|
|
5702
|
+
allowRemove: z.ZodOptional<z.ZodBoolean>;
|
|
5416
5703
|
}, z.core.$strip>, z.ZodObject<{
|
|
5417
5704
|
ok: z.ZodBoolean;
|
|
5418
5705
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -5429,6 +5716,8 @@ export declare const RECEIVERS: {
|
|
|
5429
5716
|
why: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
5430
5717
|
factTokens: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5431
5718
|
}, z.core.$strip>>;
|
|
5719
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
5720
|
+
after: z.ZodOptional<z.ZodNumber>;
|
|
5432
5721
|
}, z.core.$strip>>;
|
|
5433
5722
|
"pages:list": Receiver<z.ZodObject<{
|
|
5434
5723
|
slug: z.ZodString;
|
|
@@ -6148,8 +6437,8 @@ export declare const RECEIVERS: {
|
|
|
6148
6437
|
"foundation:deep": Receiver<z.ZodObject<{
|
|
6149
6438
|
slug: z.ZodOptional<z.ZodString>;
|
|
6150
6439
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6151
|
-
inferred: "inferred";
|
|
6152
6440
|
scrape: "scrape";
|
|
6441
|
+
inferred: "inferred";
|
|
6153
6442
|
}>>;
|
|
6154
6443
|
}, z.core.$strip>, z.ZodObject<{
|
|
6155
6444
|
ok: z.ZodBoolean;
|
|
@@ -6318,30 +6607,73 @@ export declare const RECEIVERS: {
|
|
|
6318
6607
|
slug: z.ZodString;
|
|
6319
6608
|
actorId: z.ZodString;
|
|
6320
6609
|
plan: z.ZodEnum<{
|
|
6610
|
+
scale: "scale";
|
|
6321
6611
|
pro: "pro";
|
|
6612
|
+
free: "free";
|
|
6613
|
+
team: "team";
|
|
6322
6614
|
agency: "agency";
|
|
6323
|
-
|
|
6615
|
+
business: "business";
|
|
6616
|
+
cancel: "cancel";
|
|
6324
6617
|
}>;
|
|
6325
6618
|
}, z.core.$strip>, z.ZodObject<{
|
|
6326
6619
|
ok: z.ZodBoolean;
|
|
6327
6620
|
intent: z.ZodOptional<z.ZodString>;
|
|
6328
6621
|
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
6329
6622
|
plan: z.ZodOptional<z.ZodString>;
|
|
6623
|
+
amount_cents: z.ZodOptional<z.ZodNumber>;
|
|
6624
|
+
sellable: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6625
|
+
plan: z.ZodString;
|
|
6626
|
+
monthly_cents: z.ZodNumber;
|
|
6627
|
+
}, z.core.$strip>>>;
|
|
6330
6628
|
reason: z.ZodOptional<z.ZodString>;
|
|
6331
6629
|
}, z.core.$strip>>;
|
|
6332
6630
|
"billing:topup": Receiver<z.ZodObject<{
|
|
6333
6631
|
slug: z.ZodString;
|
|
6334
6632
|
actorId: z.ZodString;
|
|
6335
|
-
|
|
6633
|
+
credits: z.ZodOptional<z.ZodNumber>;
|
|
6634
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
6336
6635
|
currency: z.ZodOptional<z.ZodString>;
|
|
6337
6636
|
}, z.core.$strip>, z.ZodObject<{
|
|
6338
6637
|
ok: z.ZodBoolean;
|
|
6339
6638
|
intent: z.ZodOptional<z.ZodString>;
|
|
6340
6639
|
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
6640
|
+
ppid: z.ZodOptional<z.ZodString>;
|
|
6641
|
+
credits: z.ZodOptional<z.ZodNumber>;
|
|
6341
6642
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
6342
6643
|
currency: z.ZodOptional<z.ZodString>;
|
|
6644
|
+
suggested: z.ZodOptional<z.ZodObject<{
|
|
6645
|
+
credits: z.ZodNumber;
|
|
6646
|
+
usd: z.ZodNumber;
|
|
6647
|
+
ppid: z.ZodString;
|
|
6648
|
+
}, z.core.$strip>>;
|
|
6649
|
+
packs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6650
|
+
credits: z.ZodNumber;
|
|
6651
|
+
usd: z.ZodNumber;
|
|
6652
|
+
ppid: z.ZodString;
|
|
6653
|
+
}, z.core.$strip>>>;
|
|
6343
6654
|
reason: z.ZodOptional<z.ZodString>;
|
|
6344
6655
|
}, z.core.$strip>>;
|
|
6656
|
+
"billing:list": Receiver<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
6657
|
+
ok: z.ZodBoolean;
|
|
6658
|
+
currency: z.ZodLiteral<"USD">;
|
|
6659
|
+
credit_usd: z.ZodNumber;
|
|
6660
|
+
credits_per_usd: z.ZodNumber;
|
|
6661
|
+
credit_packs: z.ZodArray<z.ZodObject<{
|
|
6662
|
+
credits: z.ZodNumber;
|
|
6663
|
+
usd: z.ZodNumber;
|
|
6664
|
+
ppid: z.ZodString;
|
|
6665
|
+
}, z.core.$strip>>;
|
|
6666
|
+
plans: z.ZodArray<z.ZodObject<{
|
|
6667
|
+
plan: z.ZodString;
|
|
6668
|
+
monthly_cents: z.ZodNumber;
|
|
6669
|
+
annual_cents: z.ZodNumber;
|
|
6670
|
+
grant_credits: z.ZodNumber;
|
|
6671
|
+
}, z.core.$strip>>;
|
|
6672
|
+
closed: z.ZodEnum<{
|
|
6673
|
+
none: "none";
|
|
6674
|
+
mark: "mark";
|
|
6675
|
+
}>;
|
|
6676
|
+
}, z.core.$strip>>;
|
|
6345
6677
|
"video:ensure-defaults": Receiver<z.ZodObject<{
|
|
6346
6678
|
workspace: z.ZodOptional<z.ZodString>;
|
|
6347
6679
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -6537,6 +6869,7 @@ export declare const RECEIVERS: {
|
|
|
6537
6869
|
"workflow:list": Receiver<z.ZodObject<{
|
|
6538
6870
|
slug: z.ZodOptional<z.ZodString>;
|
|
6539
6871
|
templates: z.ZodOptional<z.ZodBoolean>;
|
|
6872
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6540
6873
|
}, z.core.$strip>, z.ZodObject<{
|
|
6541
6874
|
workflows: z.ZodArray<z.ZodObject<{
|
|
6542
6875
|
id: z.ZodString;
|
|
@@ -6546,10 +6879,13 @@ export declare const RECEIVERS: {
|
|
|
6546
6879
|
status: z.ZodString;
|
|
6547
6880
|
last_run_status: z.ZodNullable<z.ZodString>;
|
|
6548
6881
|
}, z.core.$strip>>;
|
|
6882
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
6883
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6549
6884
|
error: z.ZodOptional<z.ZodString>;
|
|
6550
6885
|
}, z.core.$strip>>;
|
|
6551
6886
|
"workflow:get": Receiver<z.ZodObject<{
|
|
6552
6887
|
workflowId: z.ZodString;
|
|
6888
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
6553
6889
|
}, z.core.$strip>, z.ZodObject<{
|
|
6554
6890
|
id: z.ZodString;
|
|
6555
6891
|
name: z.ZodString;
|
|
@@ -6585,6 +6921,7 @@ export declare const RECEIVERS: {
|
|
|
6585
6921
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
6586
6922
|
stepId: z.ZodOptional<z.ZodString>;
|
|
6587
6923
|
stepLimit: z.ZodOptional<z.ZodNumber>;
|
|
6924
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
6588
6925
|
}, z.core.$strip>, z.ZodObject<{
|
|
6589
6926
|
runs: z.ZodArray<z.ZodObject<{
|
|
6590
6927
|
id: z.ZodString;
|
|
@@ -6712,6 +7049,7 @@ export declare const RECEIVERS: {
|
|
|
6712
7049
|
}, z.core.$strip>;
|
|
6713
7050
|
simulate: z.ZodOptional<z.ZodBoolean>;
|
|
6714
7051
|
version: z.ZodOptional<z.ZodNumber>;
|
|
7052
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
6715
7053
|
}, z.core.$strip>, z.ZodObject<{
|
|
6716
7054
|
ok: z.ZodBoolean;
|
|
6717
7055
|
stepCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6760,6 +7098,7 @@ export declare const RECEIVERS: {
|
|
|
6760
7098
|
value: z.ZodString;
|
|
6761
7099
|
}, z.core.$strip>>>;
|
|
6762
7100
|
}, z.core.$strip>;
|
|
7101
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
6763
7102
|
}, z.core.$strip>, z.ZodObject<{
|
|
6764
7103
|
ok: z.ZodBoolean;
|
|
6765
7104
|
stepCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6767,6 +7106,12 @@ export declare const RECEIVERS: {
|
|
|
6767
7106
|
error: z.ZodOptional<z.ZodString>;
|
|
6768
7107
|
}, z.core.$strip>>;
|
|
6769
7108
|
"workflow:run": Receiver<z.ZodObject<{
|
|
7109
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
7110
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
7111
|
+
agent: z.ZodString;
|
|
7112
|
+
workspace: z.ZodString;
|
|
7113
|
+
granted: z.ZodArray<z.ZodString>;
|
|
7114
|
+
}, z.core.$strip>>;
|
|
6770
7115
|
workflowId: z.ZodString;
|
|
6771
7116
|
slug: z.ZodOptional<z.ZodString>;
|
|
6772
7117
|
triggerPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -6864,6 +7209,12 @@ export declare const RECEIVERS: {
|
|
|
6864
7209
|
error: z.ZodOptional<z.ZodString>;
|
|
6865
7210
|
}, z.core.$strip>>;
|
|
6866
7211
|
"workflow:trigger": Receiver<z.ZodObject<{
|
|
7212
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
7213
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
7214
|
+
agent: z.ZodString;
|
|
7215
|
+
workspace: z.ZodString;
|
|
7216
|
+
granted: z.ZodArray<z.ZodString>;
|
|
7217
|
+
}, z.core.$strip>>;
|
|
6867
7218
|
source: z.ZodString;
|
|
6868
7219
|
slug: z.ZodOptional<z.ZodString>;
|
|
6869
7220
|
triggerPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -7103,21 +7454,13 @@ export declare const RECEIVERS: {
|
|
|
7103
7454
|
notified: z.ZodOptional<z.ZodBoolean>;
|
|
7104
7455
|
error: z.ZodOptional<z.ZodString>;
|
|
7105
7456
|
}, z.core.$strip>>;
|
|
7106
|
-
"video:join-event": Receiver<z.ZodObject<{
|
|
7107
|
-
workspace: z.ZodString;
|
|
7108
|
-
roomSlug: z.ZodString;
|
|
7109
|
-
role: z.ZodOptional<z.ZodString>;
|
|
7110
|
-
actorId: z.ZodOptional<z.ZodString>;
|
|
7111
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
7112
|
-
ok: z.ZodBoolean;
|
|
7113
|
-
error: z.ZodOptional<z.ZodString>;
|
|
7114
|
-
}, z.core.$strip>>;
|
|
7115
7457
|
"video:start-recording": Receiver<z.ZodObject<{
|
|
7116
7458
|
workspace: z.ZodString;
|
|
7117
7459
|
roomSlug: z.ZodString;
|
|
7118
7460
|
}, z.core.$strip>, z.ZodObject<{
|
|
7119
7461
|
ok: z.ZodBoolean;
|
|
7120
7462
|
recordingId: z.ZodOptional<z.ZodString>;
|
|
7463
|
+
reused: z.ZodOptional<z.ZodBoolean>;
|
|
7121
7464
|
error: z.ZodOptional<z.ZodString>;
|
|
7122
7465
|
}, z.core.$strip>>;
|
|
7123
7466
|
"video:room-status": Receiver<z.ZodObject<{
|
|
@@ -7145,27 +7488,6 @@ export declare const RECEIVERS: {
|
|
|
7145
7488
|
hlsUrl: z.ZodOptional<z.ZodString>;
|
|
7146
7489
|
error: z.ZodOptional<z.ZodString>;
|
|
7147
7490
|
}, z.core.$strip>>;
|
|
7148
|
-
"connect:channel": Receiver<z.ZodObject<{
|
|
7149
|
-
channel: z.ZodString;
|
|
7150
|
-
token: z.ZodString;
|
|
7151
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
7152
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
7153
|
-
ok: z.ZodBoolean;
|
|
7154
|
-
status: z.ZodOptional<z.ZodString>;
|
|
7155
|
-
account: z.ZodOptional<z.ZodString>;
|
|
7156
|
-
error: z.ZodOptional<z.ZodString>;
|
|
7157
|
-
}, z.core.$strip>>;
|
|
7158
|
-
"connect:status": Receiver<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
7159
|
-
ok: z.ZodBoolean;
|
|
7160
|
-
connections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7161
|
-
channel: z.ZodString;
|
|
7162
|
-
account: z.ZodString;
|
|
7163
|
-
status: z.ZodString;
|
|
7164
|
-
runtime: z.ZodString;
|
|
7165
|
-
connected_at: z.ZodNumber;
|
|
7166
|
-
}, z.core.$strip>>>;
|
|
7167
|
-
error: z.ZodOptional<z.ZodString>;
|
|
7168
|
-
}, z.core.$strip>>;
|
|
7169
7491
|
"news:desk": Receiver<z.ZodObject<{
|
|
7170
7492
|
workspace: z.ZodOptional<z.ZodString>;
|
|
7171
7493
|
op: z.ZodOptional<z.ZodEnum<{
|
|
@@ -7329,8 +7651,8 @@ export declare const RECEIVERS: {
|
|
|
7329
7651
|
itemUrl: z.ZodString;
|
|
7330
7652
|
action: z.ZodEnum<{
|
|
7331
7653
|
text: "text";
|
|
7332
|
-
remove: "remove";
|
|
7333
7654
|
rate: "rate";
|
|
7655
|
+
remove: "remove";
|
|
7334
7656
|
restore: "restore";
|
|
7335
7657
|
}>;
|
|
7336
7658
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7849,6 +8171,7 @@ export declare const RECEIVERS: {
|
|
|
7849
8171
|
checkedAt: z.ZodOptional<z.ZodString>;
|
|
7850
8172
|
}, z.core.$strip>>;
|
|
7851
8173
|
"seo:backlinks-summary": Receiver<z.ZodObject<{
|
|
8174
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
7852
8175
|
target: z.ZodString;
|
|
7853
8176
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
7854
8177
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -7857,6 +8180,7 @@ export declare const RECEIVERS: {
|
|
|
7857
8180
|
error: z.ZodOptional<z.ZodString>;
|
|
7858
8181
|
}, z.core.$strip>>;
|
|
7859
8182
|
"seo:llm-mentions": Receiver<z.ZodObject<{
|
|
8183
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
7860
8184
|
target: z.ZodString;
|
|
7861
8185
|
}, z.core.$strip>, z.ZodObject<{
|
|
7862
8186
|
ok: z.ZodBoolean;
|
|
@@ -7864,6 +8188,7 @@ export declare const RECEIVERS: {
|
|
|
7864
8188
|
error: z.ZodOptional<z.ZodString>;
|
|
7865
8189
|
}, z.core.$strip>>;
|
|
7866
8190
|
"seo:keywords-for-keyword": Receiver<z.ZodObject<{
|
|
8191
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
7867
8192
|
keyword: z.ZodString;
|
|
7868
8193
|
location_code: z.ZodOptional<z.ZodNumber>;
|
|
7869
8194
|
language_code: z.ZodOptional<z.ZodString>;
|
|
@@ -8191,6 +8516,12 @@ export declare const RECEIVERS: {
|
|
|
8191
8516
|
reason: z.ZodOptional<z.ZodUnknown>;
|
|
8192
8517
|
}, z.core.$loose>, z.ZodUnknown>;
|
|
8193
8518
|
"affiliate:ppc-payout": Receiver<z.ZodObject<{
|
|
8519
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
8520
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
8521
|
+
agent: z.ZodString;
|
|
8522
|
+
workspace: z.ZodString;
|
|
8523
|
+
granted: z.ZodArray<z.ZodString>;
|
|
8524
|
+
}, z.core.$strip>>;
|
|
8194
8525
|
budgetId: z.ZodOptional<z.ZodUnknown>;
|
|
8195
8526
|
chain: z.ZodOptional<z.ZodUnknown>;
|
|
8196
8527
|
refToAddress: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -8240,6 +8571,16 @@ export declare const RECEIVERS: {
|
|
|
8240
8571
|
stageKey: z.ZodOptional<z.ZodUnknown>;
|
|
8241
8572
|
stageName: z.ZodOptional<z.ZodUnknown>;
|
|
8242
8573
|
}, z.core.$loose>, z.ZodUnknown>;
|
|
8574
|
+
"campaign:approve": Receiver<z.ZodObject<{
|
|
8575
|
+
campaignId: z.ZodOptional<z.ZodUnknown>;
|
|
8576
|
+
sections: z.ZodOptional<z.ZodUnknown>;
|
|
8577
|
+
requireApproval: z.ZodOptional<z.ZodUnknown>;
|
|
8578
|
+
}, z.core.$loose>, z.ZodUnknown>;
|
|
8579
|
+
"campaign:compile": Receiver<z.ZodObject<{
|
|
8580
|
+
campaignId: z.ZodOptional<z.ZodUnknown>;
|
|
8581
|
+
sections: z.ZodOptional<z.ZodUnknown>;
|
|
8582
|
+
requireApproval: z.ZodOptional<z.ZodUnknown>;
|
|
8583
|
+
}, z.core.$loose>, z.ZodUnknown>;
|
|
8243
8584
|
"chat:delete-template": Receiver<z.ZodObject<{
|
|
8244
8585
|
agent_id: z.ZodOptional<z.ZodUnknown>;
|
|
8245
8586
|
chip_id: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -8498,6 +8839,12 @@ export declare const RECEIVERS: {
|
|
|
8498
8839
|
workspace: z.ZodOptional<z.ZodUnknown>;
|
|
8499
8840
|
}, z.core.$loose>, z.ZodUnknown>;
|
|
8500
8841
|
"payout:set": Receiver<z.ZodObject<{
|
|
8842
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
8843
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
8844
|
+
agent: z.ZodString;
|
|
8845
|
+
workspace: z.ZodString;
|
|
8846
|
+
granted: z.ZodArray<z.ZodString>;
|
|
8847
|
+
}, z.core.$strip>>;
|
|
8501
8848
|
confirm: z.ZodOptional<z.ZodUnknown>;
|
|
8502
8849
|
custody: z.ZodOptional<z.ZodUnknown>;
|
|
8503
8850
|
treasury_evm: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -8505,9 +8852,21 @@ export declare const RECEIVERS: {
|
|
|
8505
8852
|
workspace: z.ZodOptional<z.ZodUnknown>;
|
|
8506
8853
|
}, z.core.$loose>, z.ZodUnknown>;
|
|
8507
8854
|
"plugins:buy-with-credits": Receiver<z.ZodObject<{
|
|
8855
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
8856
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
8857
|
+
agent: z.ZodString;
|
|
8858
|
+
workspace: z.ZodString;
|
|
8859
|
+
granted: z.ZodArray<z.ZodString>;
|
|
8860
|
+
}, z.core.$strip>>;
|
|
8508
8861
|
name: z.ZodOptional<z.ZodUnknown>;
|
|
8509
8862
|
}, z.core.$loose>, z.ZodUnknown>;
|
|
8510
8863
|
"plugins:buy-with-one-token": Receiver<z.ZodObject<{
|
|
8864
|
+
contract: z.ZodOptional<z.ZodUnknown>;
|
|
8865
|
+
contractScope: z.ZodOptional<z.ZodObject<{
|
|
8866
|
+
agent: z.ZodString;
|
|
8867
|
+
workspace: z.ZodString;
|
|
8868
|
+
granted: z.ZodArray<z.ZodString>;
|
|
8869
|
+
}, z.core.$strip>>;
|
|
8511
8870
|
name: z.ZodOptional<z.ZodUnknown>;
|
|
8512
8871
|
tx: z.ZodOptional<z.ZodUnknown>;
|
|
8513
8872
|
txDigest: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -8540,11 +8899,11 @@ export declare const RECEIVERS: {
|
|
|
8540
8899
|
"secrets:call": Receiver<z.ZodObject<{
|
|
8541
8900
|
provider: z.ZodEnum<{
|
|
8542
8901
|
github: "github";
|
|
8543
|
-
stripe: "stripe";
|
|
8544
8902
|
openai: "openai";
|
|
8545
8903
|
anthropic: "anthropic";
|
|
8546
8904
|
dataforseo: "dataforseo";
|
|
8547
8905
|
composio: "composio";
|
|
8906
|
+
stripe: "stripe";
|
|
8548
8907
|
}>;
|
|
8549
8908
|
secret: z.ZodOptional<z.ZodString>;
|
|
8550
8909
|
request: z.ZodObject<{
|
|
@@ -8586,11 +8945,11 @@ export declare const RECEIVERS: {
|
|
|
8586
8945
|
"secrets:used": Receiver<z.ZodObject<{
|
|
8587
8946
|
provider: z.ZodEnum<{
|
|
8588
8947
|
github: "github";
|
|
8589
|
-
stripe: "stripe";
|
|
8590
8948
|
openai: "openai";
|
|
8591
8949
|
anthropic: "anthropic";
|
|
8592
8950
|
dataforseo: "dataforseo";
|
|
8593
8951
|
composio: "composio";
|
|
8952
|
+
stripe: "stripe";
|
|
8594
8953
|
}>;
|
|
8595
8954
|
secret: z.ZodOptional<z.ZodString>;
|
|
8596
8955
|
grant: z.ZodOptional<z.ZodString>;
|
|
@@ -8638,11 +8997,11 @@ export declare const RECEIVERS: {
|
|
|
8638
8997
|
name: z.ZodString;
|
|
8639
8998
|
provider: z.ZodEnum<{
|
|
8640
8999
|
github: "github";
|
|
8641
|
-
stripe: "stripe";
|
|
8642
9000
|
openai: "openai";
|
|
8643
9001
|
anthropic: "anthropic";
|
|
8644
9002
|
dataforseo: "dataforseo";
|
|
8645
9003
|
composio: "composio";
|
|
9004
|
+
stripe: "stripe";
|
|
8646
9005
|
}>;
|
|
8647
9006
|
sealed: z.ZodString;
|
|
8648
9007
|
mode: z.ZodEnum<{
|
|
@@ -8677,6 +9036,21 @@ export declare const RECEIVERS: {
|
|
|
8677
9036
|
detail: z.ZodOptional<z.ZodString>;
|
|
8678
9037
|
error: z.ZodOptional<z.ZodString>;
|
|
8679
9038
|
}, z.core.$strip>>;
|
|
9039
|
+
"secrets:list": Receiver<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
9040
|
+
ok: z.ZodBoolean;
|
|
9041
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
9042
|
+
lentToMe: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
9043
|
+
composio: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
9044
|
+
vaults: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
9045
|
+
ownVault: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9046
|
+
vault: z.ZodString;
|
|
9047
|
+
anchored: z.ZodBoolean;
|
|
9048
|
+
}, z.core.$strip>>>;
|
|
9049
|
+
capped: z.ZodOptional<z.ZodBoolean>;
|
|
9050
|
+
cut: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9051
|
+
refused: z.ZodOptional<z.ZodString>;
|
|
9052
|
+
error: z.ZodOptional<z.ZodString>;
|
|
9053
|
+
}, z.core.$strip>>;
|
|
8680
9054
|
"secrets:grant": Receiver<z.ZodObject<{
|
|
8681
9055
|
signer: z.ZodOptional<z.ZodObject<{
|
|
8682
9056
|
kind: z.ZodEnum<{
|