@vapi-network/core 0.3.0 → 0.7.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/README.md +406 -5
- package/dist/account-add.d.ts +94 -0
- package/dist/account-add.d.ts.map +1 -0
- package/dist/accounts.d.ts.map +1 -1
- package/dist/agent-link.d.ts +112 -0
- package/dist/agent-link.d.ts.map +1 -0
- package/dist/agent-link.js +1781 -0
- package/dist/agent-link.js.map +6 -0
- package/dist/agent-profile.d.ts +56 -0
- package/dist/agent-profile.d.ts.map +1 -0
- package/dist/allocation.d.ts +33 -0
- package/dist/allocation.d.ts.map +1 -0
- package/dist/api-key.d.ts +99 -0
- package/dist/api-key.d.ts.map +1 -0
- package/dist/api-key.js +20086 -0
- package/dist/api-key.js.map +6 -0
- package/dist/audit.d.ts +5 -3
- package/dist/audit.d.ts.map +1 -1
- package/dist/authorization-state.d.ts +58 -0
- package/dist/authorization-state.d.ts.map +1 -0
- package/dist/backup.d.ts +186 -0
- package/dist/backup.d.ts.map +1 -0
- package/dist/backup.js +47542 -0
- package/dist/backup.js.map +6 -0
- package/dist/call-contracts-wire.d.ts +151 -11
- package/dist/call-contracts-wire.d.ts.map +1 -1
- package/dist/ceiling.d.ts +90 -0
- package/dist/ceiling.d.ts.map +1 -0
- package/dist/cloud-backup.d.ts +125 -0
- package/dist/cloud-backup.d.ts.map +1 -0
- package/dist/cloud-backup.js +48402 -0
- package/dist/cloud-backup.js.map +6 -0
- package/dist/config.d.ts +7 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/device.d.ts +15 -0
- package/dist/device.d.ts.map +1 -0
- package/dist/discovery.d.ts +20 -2
- package/dist/discovery.d.ts.map +1 -1
- package/dist/distribute.d.ts +60 -0
- package/dist/distribute.d.ts.map +1 -0
- package/dist/index.d.ts +18 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8106 -1393
- package/dist/index.js.map +3 -3
- package/dist/keystore.d.ts +24 -1
- package/dist/keystore.d.ts.map +1 -1
- package/dist/marketplace-contracts.d.ts +448 -15
- package/dist/marketplace-contracts.d.ts.map +1 -1
- package/dist/movement.d.ts +102 -0
- package/dist/movement.d.ts.map +1 -0
- package/dist/networks.d.ts +17 -2
- package/dist/networks.d.ts.map +1 -1
- package/dist/receipts.d.ts +42 -0
- package/dist/receipts.d.ts.map +1 -1
- package/dist/router-client.d.ts +117 -0
- package/dist/router-client.d.ts.map +1 -0
- package/dist/router-client.js +46147 -0
- package/dist/router-client.js.map +6 -0
- package/dist/secret-store.d.ts +17 -5
- package/dist/secret-store.d.ts.map +1 -1
- package/dist/secrets.d.ts +1 -0
- package/dist/secrets.d.ts.map +1 -1
- package/dist/secrets.js +597 -25
- package/dist/secrets.js.map +3 -3
- package/dist/siblings.d.ts +41 -0
- package/dist/siblings.d.ts.map +1 -0
- package/dist/spend-policy.d.ts +12 -0
- package/dist/spend-policy.d.ts.map +1 -1
- package/dist/status.d.ts +73 -0
- package/dist/status.d.ts.map +1 -0
- package/dist/support-report.d.ts +1 -1
- package/dist/sweep.d.ts +4 -0
- package/dist/sweep.d.ts.map +1 -1
- package/dist/transfer.d.ts +62 -0
- package/dist/transfer.d.ts.map +1 -0
- package/dist/vault-key.d.ts +41 -0
- package/dist/vault-key.d.ts.map +1 -0
- package/dist/vault-migrate.d.ts +29 -0
- package/dist/vault-migrate.d.ts.map +1 -0
- package/dist/vault.d.ts +93 -0
- package/dist/vault.d.ts.map +1 -0
- package/dist/wallet-store.d.ts +141 -31
- package/dist/wallet-store.d.ts.map +1 -1
- package/dist/x402-networks.d.ts +6 -9
- package/dist/x402-networks.d.ts.map +1 -1
- package/dist/x402-pay.d.ts +136 -0
- package/dist/x402-pay.d.ts.map +1 -0
- package/dist/x402.d.ts +20 -1
- package/dist/x402.d.ts.map +1 -1
- package/package.json +21 -1
|
@@ -44,8 +44,8 @@ export declare const CALLABLE_CATEGORY_LABELS: {
|
|
|
44
44
|
export declare function isCallableListing(kind: string, category: string): boolean;
|
|
45
45
|
export declare const serviceTierSchema: z.ZodEnum<{
|
|
46
46
|
partner: "partner";
|
|
47
|
-
listed: "listed";
|
|
48
47
|
verified: "verified";
|
|
48
|
+
listed: "listed";
|
|
49
49
|
}>;
|
|
50
50
|
export type ServiceTier = z.infer<typeof serviceTierSchema>;
|
|
51
51
|
export declare const discoveryEndpointSchema: z.ZodObject<{
|
|
@@ -95,8 +95,8 @@ export declare const serviceSummarySchema: z.ZodObject<{
|
|
|
95
95
|
}, z.core.$loose>>;
|
|
96
96
|
}, z.core.$loose>>;
|
|
97
97
|
group: z.ZodOptional<z.ZodEnum<{
|
|
98
|
-
partner: "partner";
|
|
99
98
|
vapi: "vapi";
|
|
99
|
+
partner: "partner";
|
|
100
100
|
added: "added";
|
|
101
101
|
external: "external";
|
|
102
102
|
}>>;
|
|
@@ -104,6 +104,34 @@ export declare const serviceSummarySchema: z.ZodObject<{
|
|
|
104
104
|
bps: z.ZodNumber;
|
|
105
105
|
label: z.ZodString;
|
|
106
106
|
}, z.core.$loose>>;
|
|
107
|
+
verification: z.ZodCatch<z.ZodDefault<z.ZodEnum<{
|
|
108
|
+
none: "none";
|
|
109
|
+
requested: "requested";
|
|
110
|
+
verified: "verified";
|
|
111
|
+
}>>>;
|
|
112
|
+
liveness: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
113
|
+
uptime7d: z.ZodNumber;
|
|
114
|
+
latencyP50Ms: z.ZodNullable<z.ZodNumber>;
|
|
115
|
+
latencyP95Ms: z.ZodNullable<z.ZodNumber>;
|
|
116
|
+
checks7d: z.ZodNumber;
|
|
117
|
+
}, z.core.$loose>>>;
|
|
118
|
+
conformance: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
119
|
+
declaredVersion: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
120
|
+
versionConformant: z.ZodBoolean;
|
|
121
|
+
offerTransport: z.ZodEnum<{
|
|
122
|
+
body: "body";
|
|
123
|
+
header: "header";
|
|
124
|
+
both: "both";
|
|
125
|
+
}>;
|
|
126
|
+
issues: z.ZodArray<z.ZodString>;
|
|
127
|
+
}, z.core.$loose>>>;
|
|
128
|
+
identity: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
129
|
+
erc8004Id: z.ZodString;
|
|
130
|
+
reputation: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
131
|
+
score: z.ZodNumber;
|
|
132
|
+
count: z.ZodNumber;
|
|
133
|
+
}, z.core.$loose>>>;
|
|
134
|
+
}, z.core.$loose>>>;
|
|
107
135
|
id: z.ZodString;
|
|
108
136
|
name: z.ZodString;
|
|
109
137
|
description: z.ZodString;
|
|
@@ -117,8 +145,8 @@ export declare const serviceSummarySchema: z.ZodObject<{
|
|
|
117
145
|
}>;
|
|
118
146
|
tier: z.ZodEnum<{
|
|
119
147
|
partner: "partner";
|
|
120
|
-
listed: "listed";
|
|
121
148
|
verified: "verified";
|
|
149
|
+
listed: "listed";
|
|
122
150
|
}>;
|
|
123
151
|
}, z.core.$loose>;
|
|
124
152
|
export type ServiceSummary = z.infer<typeof serviceSummarySchema>;
|
|
@@ -149,8 +177,8 @@ export declare const searchServicesResponseSchema: z.ZodObject<{
|
|
|
149
177
|
}, z.core.$loose>>;
|
|
150
178
|
}, z.core.$loose>>;
|
|
151
179
|
group: z.ZodOptional<z.ZodEnum<{
|
|
152
|
-
partner: "partner";
|
|
153
180
|
vapi: "vapi";
|
|
181
|
+
partner: "partner";
|
|
154
182
|
added: "added";
|
|
155
183
|
external: "external";
|
|
156
184
|
}>>;
|
|
@@ -158,6 +186,34 @@ export declare const searchServicesResponseSchema: z.ZodObject<{
|
|
|
158
186
|
bps: z.ZodNumber;
|
|
159
187
|
label: z.ZodString;
|
|
160
188
|
}, z.core.$loose>>;
|
|
189
|
+
verification: z.ZodCatch<z.ZodDefault<z.ZodEnum<{
|
|
190
|
+
none: "none";
|
|
191
|
+
requested: "requested";
|
|
192
|
+
verified: "verified";
|
|
193
|
+
}>>>;
|
|
194
|
+
liveness: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
195
|
+
uptime7d: z.ZodNumber;
|
|
196
|
+
latencyP50Ms: z.ZodNullable<z.ZodNumber>;
|
|
197
|
+
latencyP95Ms: z.ZodNullable<z.ZodNumber>;
|
|
198
|
+
checks7d: z.ZodNumber;
|
|
199
|
+
}, z.core.$loose>>>;
|
|
200
|
+
conformance: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
201
|
+
declaredVersion: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
202
|
+
versionConformant: z.ZodBoolean;
|
|
203
|
+
offerTransport: z.ZodEnum<{
|
|
204
|
+
body: "body";
|
|
205
|
+
header: "header";
|
|
206
|
+
both: "both";
|
|
207
|
+
}>;
|
|
208
|
+
issues: z.ZodArray<z.ZodString>;
|
|
209
|
+
}, z.core.$loose>>>;
|
|
210
|
+
identity: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
211
|
+
erc8004Id: z.ZodString;
|
|
212
|
+
reputation: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
213
|
+
score: z.ZodNumber;
|
|
214
|
+
count: z.ZodNumber;
|
|
215
|
+
}, z.core.$loose>>>;
|
|
216
|
+
}, z.core.$loose>>>;
|
|
161
217
|
id: z.ZodString;
|
|
162
218
|
name: z.ZodString;
|
|
163
219
|
description: z.ZodString;
|
|
@@ -171,8 +227,8 @@ export declare const searchServicesResponseSchema: z.ZodObject<{
|
|
|
171
227
|
}>;
|
|
172
228
|
tier: z.ZodEnum<{
|
|
173
229
|
partner: "partner";
|
|
174
|
-
listed: "listed";
|
|
175
230
|
verified: "verified";
|
|
231
|
+
listed: "listed";
|
|
176
232
|
}>;
|
|
177
233
|
}, z.core.$loose>>;
|
|
178
234
|
}, z.core.$loose>;
|
|
@@ -204,8 +260,8 @@ export declare const listServicesResponseSchema: z.ZodObject<{
|
|
|
204
260
|
}, z.core.$loose>>;
|
|
205
261
|
}, z.core.$loose>>;
|
|
206
262
|
group: z.ZodOptional<z.ZodEnum<{
|
|
207
|
-
partner: "partner";
|
|
208
263
|
vapi: "vapi";
|
|
264
|
+
partner: "partner";
|
|
209
265
|
added: "added";
|
|
210
266
|
external: "external";
|
|
211
267
|
}>>;
|
|
@@ -213,6 +269,34 @@ export declare const listServicesResponseSchema: z.ZodObject<{
|
|
|
213
269
|
bps: z.ZodNumber;
|
|
214
270
|
label: z.ZodString;
|
|
215
271
|
}, z.core.$loose>>;
|
|
272
|
+
verification: z.ZodCatch<z.ZodDefault<z.ZodEnum<{
|
|
273
|
+
none: "none";
|
|
274
|
+
requested: "requested";
|
|
275
|
+
verified: "verified";
|
|
276
|
+
}>>>;
|
|
277
|
+
liveness: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
278
|
+
uptime7d: z.ZodNumber;
|
|
279
|
+
latencyP50Ms: z.ZodNullable<z.ZodNumber>;
|
|
280
|
+
latencyP95Ms: z.ZodNullable<z.ZodNumber>;
|
|
281
|
+
checks7d: z.ZodNumber;
|
|
282
|
+
}, z.core.$loose>>>;
|
|
283
|
+
conformance: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
284
|
+
declaredVersion: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
285
|
+
versionConformant: z.ZodBoolean;
|
|
286
|
+
offerTransport: z.ZodEnum<{
|
|
287
|
+
body: "body";
|
|
288
|
+
header: "header";
|
|
289
|
+
both: "both";
|
|
290
|
+
}>;
|
|
291
|
+
issues: z.ZodArray<z.ZodString>;
|
|
292
|
+
}, z.core.$loose>>>;
|
|
293
|
+
identity: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
294
|
+
erc8004Id: z.ZodString;
|
|
295
|
+
reputation: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
296
|
+
score: z.ZodNumber;
|
|
297
|
+
count: z.ZodNumber;
|
|
298
|
+
}, z.core.$loose>>>;
|
|
299
|
+
}, z.core.$loose>>>;
|
|
216
300
|
id: z.ZodString;
|
|
217
301
|
name: z.ZodString;
|
|
218
302
|
description: z.ZodString;
|
|
@@ -226,8 +310,8 @@ export declare const listServicesResponseSchema: z.ZodObject<{
|
|
|
226
310
|
}>;
|
|
227
311
|
tier: z.ZodEnum<{
|
|
228
312
|
partner: "partner";
|
|
229
|
-
listed: "listed";
|
|
230
313
|
verified: "verified";
|
|
314
|
+
listed: "listed";
|
|
231
315
|
}>;
|
|
232
316
|
}, z.core.$loose>>;
|
|
233
317
|
}, z.core.$loose>;
|
|
@@ -258,8 +342,8 @@ export declare const discoveryServiceSchema: z.ZodObject<{
|
|
|
258
342
|
}, z.core.$loose>>;
|
|
259
343
|
}, z.core.$loose>>;
|
|
260
344
|
group: z.ZodOptional<z.ZodEnum<{
|
|
261
|
-
partner: "partner";
|
|
262
345
|
vapi: "vapi";
|
|
346
|
+
partner: "partner";
|
|
263
347
|
added: "added";
|
|
264
348
|
external: "external";
|
|
265
349
|
}>>;
|
|
@@ -267,6 +351,34 @@ export declare const discoveryServiceSchema: z.ZodObject<{
|
|
|
267
351
|
bps: z.ZodNumber;
|
|
268
352
|
label: z.ZodString;
|
|
269
353
|
}, z.core.$loose>>;
|
|
354
|
+
verification: z.ZodCatch<z.ZodDefault<z.ZodEnum<{
|
|
355
|
+
none: "none";
|
|
356
|
+
requested: "requested";
|
|
357
|
+
verified: "verified";
|
|
358
|
+
}>>>;
|
|
359
|
+
liveness: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
360
|
+
uptime7d: z.ZodNumber;
|
|
361
|
+
latencyP50Ms: z.ZodNullable<z.ZodNumber>;
|
|
362
|
+
latencyP95Ms: z.ZodNullable<z.ZodNumber>;
|
|
363
|
+
checks7d: z.ZodNumber;
|
|
364
|
+
}, z.core.$loose>>>;
|
|
365
|
+
conformance: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
366
|
+
declaredVersion: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
367
|
+
versionConformant: z.ZodBoolean;
|
|
368
|
+
offerTransport: z.ZodEnum<{
|
|
369
|
+
body: "body";
|
|
370
|
+
header: "header";
|
|
371
|
+
both: "both";
|
|
372
|
+
}>;
|
|
373
|
+
issues: z.ZodArray<z.ZodString>;
|
|
374
|
+
}, z.core.$loose>>>;
|
|
375
|
+
identity: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
376
|
+
erc8004Id: z.ZodString;
|
|
377
|
+
reputation: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
378
|
+
score: z.ZodNumber;
|
|
379
|
+
count: z.ZodNumber;
|
|
380
|
+
}, z.core.$loose>>>;
|
|
381
|
+
}, z.core.$loose>>>;
|
|
270
382
|
id: z.ZodString;
|
|
271
383
|
name: z.ZodString;
|
|
272
384
|
description: z.ZodString;
|
|
@@ -280,8 +392,8 @@ export declare const discoveryServiceSchema: z.ZodObject<{
|
|
|
280
392
|
}>;
|
|
281
393
|
tier: z.ZodEnum<{
|
|
282
394
|
partner: "partner";
|
|
283
|
-
listed: "listed";
|
|
284
395
|
verified: "verified";
|
|
396
|
+
listed: "listed";
|
|
285
397
|
}>;
|
|
286
398
|
}, z.core.$loose>;
|
|
287
399
|
export type DiscoveryService = ServiceSummary;
|
|
@@ -312,8 +424,8 @@ export declare const discoveryResponseSchema: z.ZodObject<{
|
|
|
312
424
|
}, z.core.$loose>>;
|
|
313
425
|
}, z.core.$loose>>;
|
|
314
426
|
group: z.ZodOptional<z.ZodEnum<{
|
|
315
|
-
partner: "partner";
|
|
316
427
|
vapi: "vapi";
|
|
428
|
+
partner: "partner";
|
|
317
429
|
added: "added";
|
|
318
430
|
external: "external";
|
|
319
431
|
}>>;
|
|
@@ -321,6 +433,34 @@ export declare const discoveryResponseSchema: z.ZodObject<{
|
|
|
321
433
|
bps: z.ZodNumber;
|
|
322
434
|
label: z.ZodString;
|
|
323
435
|
}, z.core.$loose>>;
|
|
436
|
+
verification: z.ZodCatch<z.ZodDefault<z.ZodEnum<{
|
|
437
|
+
none: "none";
|
|
438
|
+
requested: "requested";
|
|
439
|
+
verified: "verified";
|
|
440
|
+
}>>>;
|
|
441
|
+
liveness: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
442
|
+
uptime7d: z.ZodNumber;
|
|
443
|
+
latencyP50Ms: z.ZodNullable<z.ZodNumber>;
|
|
444
|
+
latencyP95Ms: z.ZodNullable<z.ZodNumber>;
|
|
445
|
+
checks7d: z.ZodNumber;
|
|
446
|
+
}, z.core.$loose>>>;
|
|
447
|
+
conformance: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
448
|
+
declaredVersion: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
449
|
+
versionConformant: z.ZodBoolean;
|
|
450
|
+
offerTransport: z.ZodEnum<{
|
|
451
|
+
body: "body";
|
|
452
|
+
header: "header";
|
|
453
|
+
both: "both";
|
|
454
|
+
}>;
|
|
455
|
+
issues: z.ZodArray<z.ZodString>;
|
|
456
|
+
}, z.core.$loose>>>;
|
|
457
|
+
identity: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
458
|
+
erc8004Id: z.ZodString;
|
|
459
|
+
reputation: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
460
|
+
score: z.ZodNumber;
|
|
461
|
+
count: z.ZodNumber;
|
|
462
|
+
}, z.core.$loose>>>;
|
|
463
|
+
}, z.core.$loose>>>;
|
|
324
464
|
id: z.ZodString;
|
|
325
465
|
name: z.ZodString;
|
|
326
466
|
description: z.ZodString;
|
|
@@ -334,8 +474,8 @@ export declare const discoveryResponseSchema: z.ZodObject<{
|
|
|
334
474
|
}>;
|
|
335
475
|
tier: z.ZodEnum<{
|
|
336
476
|
partner: "partner";
|
|
337
|
-
listed: "listed";
|
|
338
477
|
verified: "verified";
|
|
478
|
+
listed: "listed";
|
|
339
479
|
}>;
|
|
340
480
|
}, z.core.$loose>>;
|
|
341
481
|
}, z.core.$loose>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call-contracts-wire.d.ts","sourceRoot":"","sources":["../src/call-contracts-wire.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,aAAa,EAAG,OAAgB,CAAC;AAC9C,eAAO,MAAM,mBAAmB,wDAAyD,CAAC;AAE1F,eAAO,MAAM,sBAAsB;;;;;;EAA8B,CAAC;AAClE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAKtE,eAAO,MAAM,oBAAoB,iEAA6C,CAAC;AAC/E,eAAO,MAAM,uBAAuB;;;;;;;EAA+B,CAAC;AACpE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;CAM8C,CAAC;AAIpF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEzE;AAED,eAAO,MAAM,iBAAiB;;;;EAA4C,CAAC;AAC3E,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;iBAqBlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"call-contracts-wire.d.ts","sourceRoot":"","sources":["../src/call-contracts-wire.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAA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C;AAElF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA+B,CAAC;AACvE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAG9E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAuB,CAAC;AAC3D,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAC9C,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA+B,CAAC;AACpE,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { type Hex } from "viem";
|
|
2
|
+
import { type AuthorizationState } from "./authorization-state.js";
|
|
3
|
+
import { type VapiConfig } from "./config.js";
|
|
4
|
+
import { type LookupFn } from "./net-guard.js";
|
|
5
|
+
import { type Receipt } from "./receipts.js";
|
|
6
|
+
import type { SecretStore } from "./secret-store.js";
|
|
7
|
+
import { type SiblingsResult } from "./siblings.js";
|
|
8
|
+
import { type TransferArgs, type TransferResult } from "./transfer.js";
|
|
9
|
+
import type { WalletCeilingSweepPending, WalletName, WalletStore } from "./wallet-store.js";
|
|
10
|
+
export declare const CEILING_SWEEP_MINIMUM_ATOMIC = 100000n;
|
|
11
|
+
export declare const CEILING_SWEEP_GUARD_MS: number;
|
|
12
|
+
export declare const CEILING_SWEEP_TIMEOUT_MS = 10000;
|
|
13
|
+
export type SweepTargetAccount = {
|
|
14
|
+
account: WalletName;
|
|
15
|
+
owner: `0x${string}`;
|
|
16
|
+
};
|
|
17
|
+
/** The single recipient seam future swarm treasury routing will replace. */
|
|
18
|
+
export declare function sweepTarget(account: SweepTargetAccount): `0x${string}`;
|
|
19
|
+
/** A disabled ceiling stays disabled; otherwise the daily cap is its floor. */
|
|
20
|
+
export declare function effectiveCeiling(ceilingAtomic: bigint | null, perDayCapAtomic?: bigint | null): bigint | null;
|
|
21
|
+
/** True when the per-day cap, rather than the configured ceiling, sets the floor. */
|
|
22
|
+
export declare function ceilingFloorApplies(ceilingAtomic: bigint | null, perDayCapAtomic?: bigint | null): boolean;
|
|
23
|
+
export type CeilingSweepStatus = "swept" | "skipped" | "failed" | "unknown";
|
|
24
|
+
export type CeilingSweepResult = {
|
|
25
|
+
account: WalletName;
|
|
26
|
+
status: CeilingSweepStatus;
|
|
27
|
+
reason?: string;
|
|
28
|
+
amountUsd?: string;
|
|
29
|
+
txHash?: string;
|
|
30
|
+
};
|
|
31
|
+
export type CeilingBalanceReader = (args: {
|
|
32
|
+
address: `0x${string}`;
|
|
33
|
+
signal?: AbortSignal;
|
|
34
|
+
}) => Promise<bigint>;
|
|
35
|
+
export type CeilingSiblingsFetcher = (args: {
|
|
36
|
+
apiBase: string;
|
|
37
|
+
account: WalletName;
|
|
38
|
+
secrets: SecretStore;
|
|
39
|
+
wallets: WalletStore;
|
|
40
|
+
fetchImpl?: typeof fetch;
|
|
41
|
+
now?: () => number;
|
|
42
|
+
signal?: AbortSignal;
|
|
43
|
+
timeoutMs?: number;
|
|
44
|
+
}) => Promise<SiblingsResult>;
|
|
45
|
+
export type CeilingTransfer = (args: TransferArgs) => Promise<TransferResult>;
|
|
46
|
+
export type CeilingAuthorizationStateReader = (input: {
|
|
47
|
+
receipt: Receipt;
|
|
48
|
+
pending: Readonly<WalletCeilingSweepPending>;
|
|
49
|
+
}) => Promise<AuthorizationState>;
|
|
50
|
+
export type SweepAboveCeilingArgs = {
|
|
51
|
+
store: WalletStore;
|
|
52
|
+
secrets: SecretStore;
|
|
53
|
+
apiBase: string;
|
|
54
|
+
account: WalletName;
|
|
55
|
+
config?: VapiConfig;
|
|
56
|
+
balanceReader?: CeilingBalanceReader;
|
|
57
|
+
addressReader?: (account: WalletName) => Promise<string | undefined>;
|
|
58
|
+
fetchSiblingsImpl?: CeilingSiblingsFetcher;
|
|
59
|
+
transfer?: CeilingTransfer;
|
|
60
|
+
authorizationState?: CeilingAuthorizationStateReader;
|
|
61
|
+
randomNonce?: () => Hex;
|
|
62
|
+
unlock?: TransferArgs["unlock"];
|
|
63
|
+
fetchImpl?: typeof fetch;
|
|
64
|
+
lookup?: LookupFn;
|
|
65
|
+
now?: () => number;
|
|
66
|
+
signal?: AbortSignal;
|
|
67
|
+
timeoutMs?: number;
|
|
68
|
+
auditHome?: string;
|
|
69
|
+
warn?: (message: string) => void;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Best-effort Base USDC ceiling enforcement for one local account. Expected
|
|
73
|
+
* network, link, balance, signing, and relay failures are returned, not thrown.
|
|
74
|
+
*/
|
|
75
|
+
export declare function sweepAboveCeiling(args: SweepAboveCeilingArgs): Promise<CeilingSweepResult>;
|
|
76
|
+
export type SweepAllAboveCeilingArgs = Omit<SweepAboveCeilingArgs, "account">;
|
|
77
|
+
/** Runs local accounts in registry order; relay and registry work stays serial. */
|
|
78
|
+
export declare function sweepAllAboveCeiling(args: SweepAllAboveCeilingArgs): Promise<CeilingSweepResult[]>;
|
|
79
|
+
export type CeilingSweepHook = {
|
|
80
|
+
account: WalletName;
|
|
81
|
+
auditHome: string;
|
|
82
|
+
run: (signal: AbortSignal) => Promise<unknown>;
|
|
83
|
+
timeoutMs?: number;
|
|
84
|
+
now?: () => number;
|
|
85
|
+
};
|
|
86
|
+
/** Starts a settled-call sweep off the result path and tracks it for short-lived clients. */
|
|
87
|
+
export declare function scheduleCeilingSweep(hook: CeilingSweepHook): void;
|
|
88
|
+
/** Waits for currently queued sweeps without holding a CLI longer than the bound. */
|
|
89
|
+
export declare function drainCeilingSweeps(timeoutMs?: number): Promise<void>;
|
|
90
|
+
//# sourceM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,CAAC,OAAO,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;CACpB,CAAC;AAIF,6FAA6F;AAC7F,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAiCjE;AAED,qFAAqF;AACrF,wBAAsB,kBAAkB,CAAC,SAAS,SAA2B,GAAG,OAAO,CAAC,IAAI,CAAC,CAiB5F"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { type BackupKdf, type BackupPlaintext } from "./backup.js";
|
|
2
|
+
import type { SecretStore } from "./secret-store.js";
|
|
3
|
+
import { type VaultEnv } from "./vault-key.js";
|
|
4
|
+
import { type VaultAccount } from "./vault.js";
|
|
5
|
+
import type { WalletStore } from "./wallet-store.js";
|
|
6
|
+
export type RelayPurpose = "enroll" | "restore";
|
|
7
|
+
export type RelayKeyPair = {
|
|
8
|
+
publicKey: Uint8Array;
|
|
9
|
+
privateKey: Uint8Array;
|
|
10
|
+
};
|
|
11
|
+
export type RelayPayload = {
|
|
12
|
+
format: "vapi-vault-relay-payload";
|
|
13
|
+
v: 1;
|
|
14
|
+
purpose: RelayPurpose;
|
|
15
|
+
owner: `0x${string}`;
|
|
16
|
+
device: string;
|
|
17
|
+
kdf: BackupKdf;
|
|
18
|
+
key: Uint8Array;
|
|
19
|
+
vault?: BackupPlaintext;
|
|
20
|
+
};
|
|
21
|
+
export type CloudBackupErrorCode = "relay_create_failed" | "relay_expired" | "relay_aborted" | "payload_invalid" | "payload_device_mismatch" | "payload_purpose_mismatch" | "payload_owner_mismatch" | "secret_store_unavailable" | "vault_exists" | "restore_failed";
|
|
22
|
+
export declare class CloudBackupError extends Error {
|
|
23
|
+
readonly code: CloudBackupErrorCode;
|
|
24
|
+
constructor(code: CloudBackupErrorCode);
|
|
25
|
+
}
|
|
26
|
+
export type StoredBackupKey = {
|
|
27
|
+
owner: `0x${string}`;
|
|
28
|
+
device: string;
|
|
29
|
+
kdf: BackupKdf;
|
|
30
|
+
key: Uint8Array;
|
|
31
|
+
};
|
|
32
|
+
export type CloudBackupState = {
|
|
33
|
+
enabled: boolean;
|
|
34
|
+
lastUploadAt?: string;
|
|
35
|
+
sizeBytes?: number;
|
|
36
|
+
};
|
|
37
|
+
export type UploadBackupResult = {
|
|
38
|
+
status: "uploaded";
|
|
39
|
+
account: string;
|
|
40
|
+
bytes: number;
|
|
41
|
+
uploadedAt: string;
|
|
42
|
+
} | {
|
|
43
|
+
status: "skipped";
|
|
44
|
+
reason: "no_backup_key" | "no_vault" | "vault_locked" | "not_linked" | "device_unknown" | "rejected" | "network" | "timeout";
|
|
45
|
+
httpStatus?: number;
|
|
46
|
+
};
|
|
47
|
+
type RandomBytes = (length: number) => Uint8Array;
|
|
48
|
+
export declare function startRelay(options: {
|
|
49
|
+
apiBase: string;
|
|
50
|
+
device: string;
|
|
51
|
+
purpose: RelayPurpose;
|
|
52
|
+
fetchImpl?: typeof fetch;
|
|
53
|
+
now?: () => Date;
|
|
54
|
+
randomBytes?: RandomBytes;
|
|
55
|
+
}): Promise<{
|
|
56
|
+
code: string;
|
|
57
|
+
expiresAt: string;
|
|
58
|
+
keyPair: RelayKeyPair;
|
|
59
|
+
}>;
|
|
60
|
+
export declare function awaitRelay(options: {
|
|
61
|
+
apiBase: string;
|
|
62
|
+
code: string;
|
|
63
|
+
keyPair: RelayKeyPair;
|
|
64
|
+
expiresAt: string;
|
|
65
|
+
expectedOwner?: string;
|
|
66
|
+
device: string;
|
|
67
|
+
purpose: RelayPurpose;
|
|
68
|
+
signal?: AbortSignal;
|
|
69
|
+
pollMs?: number;
|
|
70
|
+
fetchImpl?: typeof fetch;
|
|
71
|
+
now?: () => Date;
|
|
72
|
+
sleep?: (milliseconds: number, signal?: AbortSignal) => Promise<void>;
|
|
73
|
+
}): Promise<RelayPayload>;
|
|
74
|
+
export declare function backupKeyAccount(device: string): string;
|
|
75
|
+
export declare function backupStateAccount(device: string): string;
|
|
76
|
+
export declare function storeBackupKey(options: {
|
|
77
|
+
secrets: SecretStore;
|
|
78
|
+
device: string;
|
|
79
|
+
owner: string;
|
|
80
|
+
kdf: BackupKdf;
|
|
81
|
+
key: Uint8Array;
|
|
82
|
+
}): Promise<void>;
|
|
83
|
+
export declare function readBackupKey(options: {
|
|
84
|
+
secrets: SecretStore;
|
|
85
|
+
device: string;
|
|
86
|
+
}): Promise<StoredBackupKey | undefined>;
|
|
87
|
+
export declare function forgetBackupKey(options: {
|
|
88
|
+
secrets: SecretStore;
|
|
89
|
+
device: string;
|
|
90
|
+
}): Promise<boolean>;
|
|
91
|
+
export declare function readCloudBackupState(options: {
|
|
92
|
+
secrets: SecretStore;
|
|
93
|
+
device: string;
|
|
94
|
+
}): Promise<CloudBackupState>;
|
|
95
|
+
export declare function uploadBackup(options: {
|
|
96
|
+
store: WalletStore;
|
|
97
|
+
secrets: SecretStore;
|
|
98
|
+
device: string;
|
|
99
|
+
apiBase?: string;
|
|
100
|
+
account?: string;
|
|
101
|
+
networks?: readonly string[];
|
|
102
|
+
env?: VaultEnv;
|
|
103
|
+
fetchImpl?: typeof fetch;
|
|
104
|
+
now?: () => Date;
|
|
105
|
+
randomBytes?: RandomBytes;
|
|
106
|
+
timeoutMs?: number;
|
|
107
|
+
signal?: AbortSignal;
|
|
108
|
+
}): Promise<UploadBackupResult>;
|
|
109
|
+
export declare function restoreFromOwner(options: {
|
|
110
|
+
payload: RelayPayload;
|
|
111
|
+
home: string;
|
|
112
|
+
vaultKey: Uint8Array;
|
|
113
|
+
secrets: SecretStore;
|
|
114
|
+
password?: string;
|
|
115
|
+
env?: VaultEnv;
|
|
116
|
+
randomBytes?: RandomBytes;
|
|
117
|
+
now?: () => Date;
|
|
118
|
+
}): Promise<{
|
|
119
|
+
accounts: VaultAccount[];
|
|
120
|
+
default?: string;
|
|
121
|
+
protected: boolean;
|
|
122
|
+
networks: string[];
|
|
123
|
+
}>;
|
|
124
|
+
export {};
|
|
125
|
+
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