@vapi-network/core 0.15.2 → 0.16.2

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.
Files changed (86) hide show
  1. package/README.md +6 -2
  2. package/dist/agent-profile.d.ts +7 -0
  3. package/dist/agent-profile.d.ts.map +1 -1
  4. package/dist/api-key.js +4 -0
  5. package/dist/api-key.js.map +1 -1
  6. package/dist/backup.js +8 -1
  7. package/dist/backup.js.map +1 -1
  8. package/dist/cloud-backup.js +8 -1
  9. package/dist/cloud-backup.js.map +1 -1
  10. package/dist/config.d.ts +10 -0
  11. package/dist/config.d.ts.map +1 -1
  12. package/dist/index.js +109 -9
  13. package/dist/index.js.map +2 -2
  14. package/dist/router-client.js +37 -5
  15. package/dist/router-client.js.map +1 -1
  16. package/dist/secret-backend.d.ts +5 -1
  17. package/dist/secret-backend.d.ts.map +1 -1
  18. package/dist/secrets.js +6 -1
  19. package/dist/secrets.js.map +1 -1
  20. package/dist/support-report.d.ts +1 -1
  21. package/dist/swarm.d.ts.map +1 -1
  22. package/dist/tasks/actions.d.ts +1 -0
  23. package/dist/tasks/actions.d.ts.map +1 -1
  24. package/dist/tasks/availability.d.ts +21 -0
  25. package/dist/tasks/availability.d.ts.map +1 -0
  26. package/dist/tasks/ballots.d.ts +43 -0
  27. package/dist/tasks/ballots.d.ts.map +1 -0
  28. package/dist/tasks/chain-port.d.ts +26 -0
  29. package/dist/tasks/chain-port.d.ts.map +1 -1
  30. package/dist/tasks/chain.d.ts +5 -0
  31. package/dist/tasks/chain.d.ts.map +1 -1
  32. package/dist/tasks/client.d.ts +33 -3
  33. package/dist/tasks/client.d.ts.map +1 -1
  34. package/dist/tasks/funding-attempts.d.ts +58 -0
  35. package/dist/tasks/funding-attempts.d.ts.map +1 -0
  36. package/dist/tasks/funding-intent.d.ts +11 -0
  37. package/dist/tasks/funding-intent.d.ts.map +1 -0
  38. package/dist/tasks/index.d.ts +15 -2
  39. package/dist/tasks/index.d.ts.map +1 -1
  40. package/dist/tasks/money.d.ts +2 -0
  41. package/dist/tasks/money.d.ts.map +1 -1
  42. package/dist/tasks/operation-support.d.ts +21 -3
  43. package/dist/tasks/operation-support.d.ts.map +1 -1
  44. package/dist/tasks/operations.d.ts +663 -25
  45. package/dist/tasks/operations.d.ts.map +1 -1
  46. package/dist/tasks/pending-transactions.d.ts +14 -0
  47. package/dist/tasks/pending-transactions.d.ts.map +1 -1
  48. package/dist/tasks/post-options.d.ts +154 -0
  49. package/dist/tasks/post-options.d.ts.map +1 -0
  50. package/dist/tasks/types.d.ts +5505 -74
  51. package/dist/tasks/types.d.ts.map +1 -1
  52. package/dist/tasks/v2-abi.d.ts +12 -0
  53. package/dist/tasks/v2-abi.d.ts.map +1 -0
  54. package/dist/tasks/v2-abi.generated.d.ts +5966 -0
  55. package/dist/tasks/v2-abi.generated.d.ts.map +1 -0
  56. package/dist/tasks/v2-events.d.ts +6460 -0
  57. package/dist/tasks/v2-events.d.ts.map +1 -0
  58. package/dist/tasks/v2-execution.d.ts +1070 -0
  59. package/dist/tasks/v2-execution.d.ts.map +1 -0
  60. package/dist/tasks/v2-jury.d.ts +863 -0
  61. package/dist/tasks/v2-jury.d.ts.map +1 -0
  62. package/dist/tasks/v2-limits.d.ts +30 -0
  63. package/dist/tasks/v2-limits.d.ts.map +1 -0
  64. package/dist/tasks/v2-plan-guard.d.ts +102 -0
  65. package/dist/tasks/v2-plan-guard.d.ts.map +1 -0
  66. package/dist/tasks/v2-public.d.ts +154 -0
  67. package/dist/tasks/v2-public.d.ts.map +1 -0
  68. package/dist/tasks/v2-trust.d.ts +27 -0
  69. package/dist/tasks/v2-trust.d.ts.map +1 -0
  70. package/dist/tasks/v2-write.d.ts +887 -0
  71. package/dist/tasks/v2-write.d.ts.map +1 -0
  72. package/dist/tasks/v2.d.ts +847 -0
  73. package/dist/tasks/v2.d.ts.map +1 -0
  74. package/dist/tasks/verbs.d.ts +1 -1
  75. package/dist/tasks/verbs.d.ts.map +1 -1
  76. package/dist/tasks/x402-funding.d.ts +49 -0
  77. package/dist/tasks/x402-funding.d.ts.map +1 -0
  78. package/dist/tasks.js +18430 -4842
  79. package/dist/tasks.js.map +3 -3
  80. package/dist/wallet-store.d.ts +14 -1
  81. package/dist/wallet-store.d.ts.map +1 -1
  82. package/dist/x402-pay.d.ts +11 -1
  83. package/dist/x402-pay.d.ts.map +1 -1
  84. package/dist/x402.d.ts +6 -0
  85. package/dist/x402.d.ts.map +1 -1
  86. package/package.json +1 -1
@@ -0,0 +1,887 @@
1
+ import { z } from "zod";
2
+ export declare const taskV2IndexSchema: z.ZodNumber;
3
+ export declare const taskV2ProofSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4
+ label: z.ZodOptional<z.ZodString>;
5
+ preset: z.ZodLiteral<"link">;
6
+ value: z.ZodPipe<z.ZodString, z.ZodURL>;
7
+ }, z.core.$strict>, z.ZodObject<{
8
+ label: z.ZodOptional<z.ZodString>;
9
+ preset: z.ZodLiteral<"file">;
10
+ value: z.ZodString;
11
+ }, z.core.$strict>, z.ZodObject<{
12
+ label: z.ZodOptional<z.ZodString>;
13
+ preset: z.ZodLiteral<"x-post">;
14
+ value: z.ZodPipe<z.ZodString, z.ZodURL>;
15
+ }, z.core.$strict>, z.ZodObject<{
16
+ label: z.ZodOptional<z.ZodString>;
17
+ preset: z.ZodLiteral<"onchain-tx">;
18
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
19
+ }, z.core.$strict>, z.ZodObject<{
20
+ label: z.ZodOptional<z.ZodString>;
21
+ preset: z.ZodLiteral<"pr">;
22
+ value: z.ZodPipe<z.ZodString, z.ZodURL>;
23
+ }, z.core.$strict>, z.ZodObject<{
24
+ label: z.ZodOptional<z.ZodString>;
25
+ preset: z.ZodLiteral<"text">;
26
+ value: z.ZodString;
27
+ }, z.core.$strict>, z.ZodObject<{
28
+ label: z.ZodOptional<z.ZodString>;
29
+ preset: z.ZodLiteral<"media">;
30
+ value: z.ZodUUID;
31
+ }, z.core.$strict>], "preset">>;
32
+ export declare const taskV2ConsentNonceSchema: z.ZodPipe<z.ZodString, z.ZodString>;
33
+ export declare const taskV2ActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
34
+ action: z.ZodLiteral<"fund">;
35
+ }, z.core.$strict>, z.ZodObject<{
36
+ action: z.ZodLiteral<"award">;
37
+ worker: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
38
+ }, z.core.$strict>, z.ZodObject<{
39
+ action: z.ZodLiteral<"award-bounty">;
40
+ winners: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
41
+ }, z.core.$strict>, z.ZodObject<{
42
+ action: z.ZodLiteral<"submit">;
43
+ i: z.ZodNumber;
44
+ proof: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
45
+ label: z.ZodOptional<z.ZodString>;
46
+ preset: z.ZodLiteral<"link">;
47
+ value: z.ZodPipe<z.ZodString, z.ZodURL>;
48
+ }, z.core.$strict>, z.ZodObject<{
49
+ label: z.ZodOptional<z.ZodString>;
50
+ preset: z.ZodLiteral<"file">;
51
+ value: z.ZodString;
52
+ }, z.core.$strict>, z.ZodObject<{
53
+ label: z.ZodOptional<z.ZodString>;
54
+ preset: z.ZodLiteral<"x-post">;
55
+ value: z.ZodPipe<z.ZodString, z.ZodURL>;
56
+ }, z.core.$strict>, z.ZodObject<{
57
+ label: z.ZodOptional<z.ZodString>;
58
+ preset: z.ZodLiteral<"onchain-tx">;
59
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
60
+ }, z.core.$strict>, z.ZodObject<{
61
+ label: z.ZodOptional<z.ZodString>;
62
+ preset: z.ZodLiteral<"pr">;
63
+ value: z.ZodPipe<z.ZodString, z.ZodURL>;
64
+ }, z.core.$strict>, z.ZodObject<{
65
+ label: z.ZodOptional<z.ZodString>;
66
+ preset: z.ZodLiteral<"text">;
67
+ value: z.ZodString;
68
+ }, z.core.$strict>, z.ZodObject<{
69
+ label: z.ZodOptional<z.ZodString>;
70
+ preset: z.ZodLiteral<"media">;
71
+ value: z.ZodUUID;
72
+ }, z.core.$strict>], "preset">>;
73
+ }, z.core.$strict>, z.ZodObject<{
74
+ action: z.ZodLiteral<"approve">;
75
+ i: z.ZodNumber;
76
+ }, z.core.$strict>, z.ZodObject<{
77
+ action: z.ZodLiteral<"reject">;
78
+ i: z.ZodNumber;
79
+ reason: z.ZodString;
80
+ }, z.core.$strict>, z.ZodObject<{
81
+ action: z.ZodLiteral<"finalize">;
82
+ i: z.ZodNumber;
83
+ }, z.core.$strict>, z.ZodObject<{
84
+ action: z.ZodLiteral<"close-rejected">;
85
+ i: z.ZodNumber;
86
+ }, z.core.$strict>, z.ZodObject<{
87
+ action: z.ZodLiteral<"bump-consent-nonce">;
88
+ newNonce: z.ZodPipe<z.ZodString, z.ZodString>;
89
+ }, z.core.$strict>, z.ZodObject<{
90
+ action: z.ZodLiteral<"prune-reviewer">;
91
+ reviewer: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
92
+ }, z.core.$strict>, z.ZodObject<{
93
+ action: z.ZodLiteral<"prune-reviewers">;
94
+ reviewers: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
95
+ }, z.core.$strict>, z.ZodObject<{
96
+ action: z.ZodLiteral<"cancel-offer">;
97
+ }, z.core.$strict>, z.ZodObject<{
98
+ action: z.ZodLiteral<"cancel-remainder">;
99
+ }, z.core.$strict>, z.ZodObject<{
100
+ action: z.ZodLiteral<"expire">;
101
+ }, z.core.$strict>, z.ZodObject<{
102
+ action: z.ZodLiteral<"refund">;
103
+ }, z.core.$strict>, z.ZodObject<{
104
+ action: z.ZodLiteral<"pay-claim">;
105
+ claimant: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
106
+ }, z.core.$strict>, z.ZodObject<{
107
+ action: z.ZodLiteral<"raise-dispute">;
108
+ i: z.ZodNumber;
109
+ evidence: z.ZodString;
110
+ }, z.core.$strict>, z.ZodObject<{
111
+ action: z.ZodLiteral<"counter-evidence">;
112
+ i: z.ZodNumber;
113
+ evidence: z.ZodString;
114
+ }, z.core.$strict>, z.ZodObject<{
115
+ action: z.ZodLiteral<"resolve-unmatched">;
116
+ i: z.ZodNumber;
117
+ }, z.core.$strict>, z.ZodObject<{
118
+ action: z.ZodLiteral<"split">;
119
+ i: z.ZodNumber;
120
+ toWorker: z.ZodString;
121
+ }, z.core.$strict>, z.ZodObject<{
122
+ action: z.ZodLiteral<"open-jury">;
123
+ i: z.ZodNumber;
124
+ }, z.core.$strict>, z.ZodObject<{
125
+ action: z.ZodLiteral<"draw-jury">;
126
+ i: z.ZodNumber;
127
+ }, z.core.$strict>, z.ZodObject<{
128
+ action: z.ZodLiteral<"rearm-draw">;
129
+ i: z.ZodNumber;
130
+ }, z.core.$strict>, z.ZodObject<{
131
+ action: z.ZodLiteral<"resolve">;
132
+ i: z.ZodNumber;
133
+ }, z.core.$strict>, z.ZodObject<{
134
+ action: z.ZodLiteral<"commit-vote">;
135
+ i: z.ZodNumber;
136
+ commitment: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
137
+ }, z.core.$strict>, z.ZodObject<{
138
+ action: z.ZodLiteral<"reveal-vote">;
139
+ i: z.ZodNumber;
140
+ outcome: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
141
+ toWorker: z.ZodString;
142
+ salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
143
+ }, z.core.$strict>, z.ZodObject<{
144
+ action: z.ZodLiteral<"approve-bond">;
145
+ }, z.core.$strict>, z.ZodObject<{
146
+ action: z.ZodLiteral<"claim-owed">;
147
+ to: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
148
+ }, z.core.$strict>], "action">;
149
+ export declare const taskV2ConsentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
150
+ action: z.ZodLiteral<"award-consent">;
151
+ }, z.core.$strict>, z.ZodObject<{
152
+ action: z.ZodLiteral<"split-consent">;
153
+ i: z.ZodNumber;
154
+ toWorker: z.ZodString;
155
+ }, z.core.$strict>], "action">;
156
+ export declare const taskV2StepSchema: z.ZodEnum<{
157
+ "v2-fund": "v2-fund";
158
+ "v2-approve-usdc": "v2-approve-usdc";
159
+ "v2-create-pool": "v2-create-pool";
160
+ "v2-create-escrow": "v2-create-escrow";
161
+ "v2-award": "v2-award";
162
+ "v2-award-bounty": "v2-award-bounty";
163
+ "v2-submit": "v2-submit";
164
+ "v2-approve": "v2-approve";
165
+ "v2-reject": "v2-reject";
166
+ "v2-finalize": "v2-finalize";
167
+ "v2-close-rejected": "v2-close-rejected";
168
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
169
+ "v2-prune-reviewer": "v2-prune-reviewer";
170
+ "v2-prune-reviewers": "v2-prune-reviewers";
171
+ "v2-cancel-offer": "v2-cancel-offer";
172
+ "v2-cancel-remainder": "v2-cancel-remainder";
173
+ "v2-expire": "v2-expire";
174
+ "v2-refund": "v2-refund";
175
+ "v2-pay-claim": "v2-pay-claim";
176
+ "v2-raise-dispute": "v2-raise-dispute";
177
+ "v2-counter-evidence": "v2-counter-evidence";
178
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
179
+ "v2-split": "v2-split";
180
+ "v2-open-jury": "v2-open-jury";
181
+ "v2-draw-jury": "v2-draw-jury";
182
+ "v2-rearm-draw": "v2-rearm-draw";
183
+ "v2-resolve": "v2-resolve";
184
+ "v2-commit-vote": "v2-commit-vote";
185
+ "v2-reveal-vote": "v2-reveal-vote";
186
+ "v2-claim-owed": "v2-claim-owed";
187
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
188
+ "v2-set-available": "v2-set-available";
189
+ "v2-reactivate": "v2-reactivate";
190
+ }>;
191
+ export declare const taskV2PlanSchema: z.ZodObject<{
192
+ version: z.ZodLiteral<"work-transaction-plan-v2">;
193
+ operationId: z.ZodUUID;
194
+ step: z.ZodEnum<{
195
+ "v2-fund": "v2-fund";
196
+ "v2-approve-usdc": "v2-approve-usdc";
197
+ "v2-create-pool": "v2-create-pool";
198
+ "v2-create-escrow": "v2-create-escrow";
199
+ "v2-award": "v2-award";
200
+ "v2-award-bounty": "v2-award-bounty";
201
+ "v2-submit": "v2-submit";
202
+ "v2-approve": "v2-approve";
203
+ "v2-reject": "v2-reject";
204
+ "v2-finalize": "v2-finalize";
205
+ "v2-close-rejected": "v2-close-rejected";
206
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
207
+ "v2-prune-reviewer": "v2-prune-reviewer";
208
+ "v2-prune-reviewers": "v2-prune-reviewers";
209
+ "v2-cancel-offer": "v2-cancel-offer";
210
+ "v2-cancel-remainder": "v2-cancel-remainder";
211
+ "v2-expire": "v2-expire";
212
+ "v2-refund": "v2-refund";
213
+ "v2-pay-claim": "v2-pay-claim";
214
+ "v2-raise-dispute": "v2-raise-dispute";
215
+ "v2-counter-evidence": "v2-counter-evidence";
216
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
217
+ "v2-split": "v2-split";
218
+ "v2-open-jury": "v2-open-jury";
219
+ "v2-draw-jury": "v2-draw-jury";
220
+ "v2-rearm-draw": "v2-rearm-draw";
221
+ "v2-resolve": "v2-resolve";
222
+ "v2-commit-vote": "v2-commit-vote";
223
+ "v2-reveal-vote": "v2-reveal-vote";
224
+ "v2-claim-owed": "v2-claim-owed";
225
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
226
+ "v2-set-available": "v2-set-available";
227
+ "v2-reactivate": "v2-reactivate";
228
+ }>;
229
+ chainId: z.ZodNumber;
230
+ network: z.ZodString;
231
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
232
+ to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
233
+ data: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
234
+ value: z.ZodLiteral<"0">;
235
+ }, z.core.$strip>;
236
+ export declare const taskV2OperationSchema: z.ZodObject<{
237
+ id: z.ZodUUID;
238
+ kind: z.ZodLiteral<"tasks-v2-write">;
239
+ state: z.ZodEnum<{
240
+ confirmed: "confirmed";
241
+ prepared: "prepared";
242
+ submitted: "submitted";
243
+ abandoned: "abandoned";
244
+ }>;
245
+ step: z.ZodEnum<{
246
+ "v2-fund": "v2-fund";
247
+ "v2-approve-usdc": "v2-approve-usdc";
248
+ "v2-create-pool": "v2-create-pool";
249
+ "v2-create-escrow": "v2-create-escrow";
250
+ "v2-award": "v2-award";
251
+ "v2-award-bounty": "v2-award-bounty";
252
+ "v2-submit": "v2-submit";
253
+ "v2-approve": "v2-approve";
254
+ "v2-reject": "v2-reject";
255
+ "v2-finalize": "v2-finalize";
256
+ "v2-close-rejected": "v2-close-rejected";
257
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
258
+ "v2-prune-reviewer": "v2-prune-reviewer";
259
+ "v2-prune-reviewers": "v2-prune-reviewers";
260
+ "v2-cancel-offer": "v2-cancel-offer";
261
+ "v2-cancel-remainder": "v2-cancel-remainder";
262
+ "v2-expire": "v2-expire";
263
+ "v2-refund": "v2-refund";
264
+ "v2-pay-claim": "v2-pay-claim";
265
+ "v2-raise-dispute": "v2-raise-dispute";
266
+ "v2-counter-evidence": "v2-counter-evidence";
267
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
268
+ "v2-split": "v2-split";
269
+ "v2-open-jury": "v2-open-jury";
270
+ "v2-draw-jury": "v2-draw-jury";
271
+ "v2-rearm-draw": "v2-rearm-draw";
272
+ "v2-resolve": "v2-resolve";
273
+ "v2-commit-vote": "v2-commit-vote";
274
+ "v2-reveal-vote": "v2-reveal-vote";
275
+ "v2-claim-owed": "v2-claim-owed";
276
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
277
+ "v2-set-available": "v2-set-available";
278
+ "v2-reactivate": "v2-reactivate";
279
+ }>;
280
+ expectedActor: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
281
+ transactionHash: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
282
+ plan: z.ZodNullable<z.ZodObject<{
283
+ version: z.ZodLiteral<"work-transaction-plan-v2">;
284
+ operationId: z.ZodUUID;
285
+ step: z.ZodEnum<{
286
+ "v2-fund": "v2-fund";
287
+ "v2-approve-usdc": "v2-approve-usdc";
288
+ "v2-create-pool": "v2-create-pool";
289
+ "v2-create-escrow": "v2-create-escrow";
290
+ "v2-award": "v2-award";
291
+ "v2-award-bounty": "v2-award-bounty";
292
+ "v2-submit": "v2-submit";
293
+ "v2-approve": "v2-approve";
294
+ "v2-reject": "v2-reject";
295
+ "v2-finalize": "v2-finalize";
296
+ "v2-close-rejected": "v2-close-rejected";
297
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
298
+ "v2-prune-reviewer": "v2-prune-reviewer";
299
+ "v2-prune-reviewers": "v2-prune-reviewers";
300
+ "v2-cancel-offer": "v2-cancel-offer";
301
+ "v2-cancel-remainder": "v2-cancel-remainder";
302
+ "v2-expire": "v2-expire";
303
+ "v2-refund": "v2-refund";
304
+ "v2-pay-claim": "v2-pay-claim";
305
+ "v2-raise-dispute": "v2-raise-dispute";
306
+ "v2-counter-evidence": "v2-counter-evidence";
307
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
308
+ "v2-split": "v2-split";
309
+ "v2-open-jury": "v2-open-jury";
310
+ "v2-draw-jury": "v2-draw-jury";
311
+ "v2-rearm-draw": "v2-rearm-draw";
312
+ "v2-resolve": "v2-resolve";
313
+ "v2-commit-vote": "v2-commit-vote";
314
+ "v2-reveal-vote": "v2-reveal-vote";
315
+ "v2-claim-owed": "v2-claim-owed";
316
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
317
+ "v2-set-available": "v2-set-available";
318
+ "v2-reactivate": "v2-reactivate";
319
+ }>;
320
+ chainId: z.ZodNumber;
321
+ network: z.ZodString;
322
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
323
+ to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
324
+ data: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
325
+ value: z.ZodLiteral<"0">;
326
+ }, z.core.$strip>>;
327
+ }, z.core.$strip>;
328
+ export declare const taskV2OperationResponseSchema: z.ZodObject<{
329
+ orderId: z.ZodUUID;
330
+ operation: z.ZodObject<{
331
+ id: z.ZodUUID;
332
+ kind: z.ZodLiteral<"tasks-v2-write">;
333
+ state: z.ZodEnum<{
334
+ confirmed: "confirmed";
335
+ prepared: "prepared";
336
+ submitted: "submitted";
337
+ abandoned: "abandoned";
338
+ }>;
339
+ step: z.ZodEnum<{
340
+ "v2-fund": "v2-fund";
341
+ "v2-approve-usdc": "v2-approve-usdc";
342
+ "v2-create-pool": "v2-create-pool";
343
+ "v2-create-escrow": "v2-create-escrow";
344
+ "v2-award": "v2-award";
345
+ "v2-award-bounty": "v2-award-bounty";
346
+ "v2-submit": "v2-submit";
347
+ "v2-approve": "v2-approve";
348
+ "v2-reject": "v2-reject";
349
+ "v2-finalize": "v2-finalize";
350
+ "v2-close-rejected": "v2-close-rejected";
351
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
352
+ "v2-prune-reviewer": "v2-prune-reviewer";
353
+ "v2-prune-reviewers": "v2-prune-reviewers";
354
+ "v2-cancel-offer": "v2-cancel-offer";
355
+ "v2-cancel-remainder": "v2-cancel-remainder";
356
+ "v2-expire": "v2-expire";
357
+ "v2-refund": "v2-refund";
358
+ "v2-pay-claim": "v2-pay-claim";
359
+ "v2-raise-dispute": "v2-raise-dispute";
360
+ "v2-counter-evidence": "v2-counter-evidence";
361
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
362
+ "v2-split": "v2-split";
363
+ "v2-open-jury": "v2-open-jury";
364
+ "v2-draw-jury": "v2-draw-jury";
365
+ "v2-rearm-draw": "v2-rearm-draw";
366
+ "v2-resolve": "v2-resolve";
367
+ "v2-commit-vote": "v2-commit-vote";
368
+ "v2-reveal-vote": "v2-reveal-vote";
369
+ "v2-claim-owed": "v2-claim-owed";
370
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
371
+ "v2-set-available": "v2-set-available";
372
+ "v2-reactivate": "v2-reactivate";
373
+ }>;
374
+ expectedActor: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
375
+ transactionHash: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
376
+ plan: z.ZodNullable<z.ZodObject<{
377
+ version: z.ZodLiteral<"work-transaction-plan-v2">;
378
+ operationId: z.ZodUUID;
379
+ step: z.ZodEnum<{
380
+ "v2-fund": "v2-fund";
381
+ "v2-approve-usdc": "v2-approve-usdc";
382
+ "v2-create-pool": "v2-create-pool";
383
+ "v2-create-escrow": "v2-create-escrow";
384
+ "v2-award": "v2-award";
385
+ "v2-award-bounty": "v2-award-bounty";
386
+ "v2-submit": "v2-submit";
387
+ "v2-approve": "v2-approve";
388
+ "v2-reject": "v2-reject";
389
+ "v2-finalize": "v2-finalize";
390
+ "v2-close-rejected": "v2-close-rejected";
391
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
392
+ "v2-prune-reviewer": "v2-prune-reviewer";
393
+ "v2-prune-reviewers": "v2-prune-reviewers";
394
+ "v2-cancel-offer": "v2-cancel-offer";
395
+ "v2-cancel-remainder": "v2-cancel-remainder";
396
+ "v2-expire": "v2-expire";
397
+ "v2-refund": "v2-refund";
398
+ "v2-pay-claim": "v2-pay-claim";
399
+ "v2-raise-dispute": "v2-raise-dispute";
400
+ "v2-counter-evidence": "v2-counter-evidence";
401
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
402
+ "v2-split": "v2-split";
403
+ "v2-open-jury": "v2-open-jury";
404
+ "v2-draw-jury": "v2-draw-jury";
405
+ "v2-rearm-draw": "v2-rearm-draw";
406
+ "v2-resolve": "v2-resolve";
407
+ "v2-commit-vote": "v2-commit-vote";
408
+ "v2-reveal-vote": "v2-reveal-vote";
409
+ "v2-claim-owed": "v2-claim-owed";
410
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
411
+ "v2-set-available": "v2-set-available";
412
+ "v2-reactivate": "v2-reactivate";
413
+ }>;
414
+ chainId: z.ZodNumber;
415
+ network: z.ZodString;
416
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
417
+ to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
418
+ data: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
419
+ value: z.ZodLiteral<"0">;
420
+ }, z.core.$strip>>;
421
+ }, z.core.$strip>;
422
+ }, z.core.$loose>;
423
+ export declare const taskV2RecoverySchema: z.ZodObject<{
424
+ orderId: z.ZodUUID;
425
+ operation: z.ZodObject<{
426
+ id: z.ZodUUID;
427
+ kind: z.ZodLiteral<"tasks-v2-write">;
428
+ state: z.ZodEnum<{
429
+ confirmed: "confirmed";
430
+ prepared: "prepared";
431
+ submitted: "submitted";
432
+ abandoned: "abandoned";
433
+ }>;
434
+ step: z.ZodEnum<{
435
+ "v2-fund": "v2-fund";
436
+ "v2-approve-usdc": "v2-approve-usdc";
437
+ "v2-create-pool": "v2-create-pool";
438
+ "v2-create-escrow": "v2-create-escrow";
439
+ "v2-award": "v2-award";
440
+ "v2-award-bounty": "v2-award-bounty";
441
+ "v2-submit": "v2-submit";
442
+ "v2-approve": "v2-approve";
443
+ "v2-reject": "v2-reject";
444
+ "v2-finalize": "v2-finalize";
445
+ "v2-close-rejected": "v2-close-rejected";
446
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
447
+ "v2-prune-reviewer": "v2-prune-reviewer";
448
+ "v2-prune-reviewers": "v2-prune-reviewers";
449
+ "v2-cancel-offer": "v2-cancel-offer";
450
+ "v2-cancel-remainder": "v2-cancel-remainder";
451
+ "v2-expire": "v2-expire";
452
+ "v2-refund": "v2-refund";
453
+ "v2-pay-claim": "v2-pay-claim";
454
+ "v2-raise-dispute": "v2-raise-dispute";
455
+ "v2-counter-evidence": "v2-counter-evidence";
456
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
457
+ "v2-split": "v2-split";
458
+ "v2-open-jury": "v2-open-jury";
459
+ "v2-draw-jury": "v2-draw-jury";
460
+ "v2-rearm-draw": "v2-rearm-draw";
461
+ "v2-resolve": "v2-resolve";
462
+ "v2-commit-vote": "v2-commit-vote";
463
+ "v2-reveal-vote": "v2-reveal-vote";
464
+ "v2-claim-owed": "v2-claim-owed";
465
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
466
+ "v2-set-available": "v2-set-available";
467
+ "v2-reactivate": "v2-reactivate";
468
+ }>;
469
+ expectedActor: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
470
+ transactionHash: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
471
+ plan: z.ZodNullable<z.ZodObject<{
472
+ version: z.ZodLiteral<"work-transaction-plan-v2">;
473
+ operationId: z.ZodUUID;
474
+ step: z.ZodEnum<{
475
+ "v2-fund": "v2-fund";
476
+ "v2-approve-usdc": "v2-approve-usdc";
477
+ "v2-create-pool": "v2-create-pool";
478
+ "v2-create-escrow": "v2-create-escrow";
479
+ "v2-award": "v2-award";
480
+ "v2-award-bounty": "v2-award-bounty";
481
+ "v2-submit": "v2-submit";
482
+ "v2-approve": "v2-approve";
483
+ "v2-reject": "v2-reject";
484
+ "v2-finalize": "v2-finalize";
485
+ "v2-close-rejected": "v2-close-rejected";
486
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
487
+ "v2-prune-reviewer": "v2-prune-reviewer";
488
+ "v2-prune-reviewers": "v2-prune-reviewers";
489
+ "v2-cancel-offer": "v2-cancel-offer";
490
+ "v2-cancel-remainder": "v2-cancel-remainder";
491
+ "v2-expire": "v2-expire";
492
+ "v2-refund": "v2-refund";
493
+ "v2-pay-claim": "v2-pay-claim";
494
+ "v2-raise-dispute": "v2-raise-dispute";
495
+ "v2-counter-evidence": "v2-counter-evidence";
496
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
497
+ "v2-split": "v2-split";
498
+ "v2-open-jury": "v2-open-jury";
499
+ "v2-draw-jury": "v2-draw-jury";
500
+ "v2-rearm-draw": "v2-rearm-draw";
501
+ "v2-resolve": "v2-resolve";
502
+ "v2-commit-vote": "v2-commit-vote";
503
+ "v2-reveal-vote": "v2-reveal-vote";
504
+ "v2-claim-owed": "v2-claim-owed";
505
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
506
+ "v2-set-available": "v2-set-available";
507
+ "v2-reactivate": "v2-reactivate";
508
+ }>;
509
+ chainId: z.ZodNumber;
510
+ network: z.ZodString;
511
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
512
+ to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
513
+ data: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
514
+ value: z.ZodLiteral<"0">;
515
+ }, z.core.$strip>>;
516
+ }, z.core.$strip>;
517
+ recovered: z.ZodBoolean;
518
+ scanComplete: z.ZodBoolean;
519
+ }, z.core.$loose>;
520
+ export declare const taskV2AbandonSchema: z.ZodObject<{
521
+ orderId: z.ZodUUID;
522
+ outcome: z.ZodEnum<{
523
+ recovered: "recovered";
524
+ abandoned: "abandoned";
525
+ scanning: "scanning";
526
+ }>;
527
+ operation: z.ZodNullable<z.ZodObject<{
528
+ id: z.ZodUUID;
529
+ kind: z.ZodLiteral<"tasks-v2-write">;
530
+ state: z.ZodEnum<{
531
+ confirmed: "confirmed";
532
+ prepared: "prepared";
533
+ submitted: "submitted";
534
+ abandoned: "abandoned";
535
+ }>;
536
+ step: z.ZodEnum<{
537
+ "v2-fund": "v2-fund";
538
+ "v2-approve-usdc": "v2-approve-usdc";
539
+ "v2-create-pool": "v2-create-pool";
540
+ "v2-create-escrow": "v2-create-escrow";
541
+ "v2-award": "v2-award";
542
+ "v2-award-bounty": "v2-award-bounty";
543
+ "v2-submit": "v2-submit";
544
+ "v2-approve": "v2-approve";
545
+ "v2-reject": "v2-reject";
546
+ "v2-finalize": "v2-finalize";
547
+ "v2-close-rejected": "v2-close-rejected";
548
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
549
+ "v2-prune-reviewer": "v2-prune-reviewer";
550
+ "v2-prune-reviewers": "v2-prune-reviewers";
551
+ "v2-cancel-offer": "v2-cancel-offer";
552
+ "v2-cancel-remainder": "v2-cancel-remainder";
553
+ "v2-expire": "v2-expire";
554
+ "v2-refund": "v2-refund";
555
+ "v2-pay-claim": "v2-pay-claim";
556
+ "v2-raise-dispute": "v2-raise-dispute";
557
+ "v2-counter-evidence": "v2-counter-evidence";
558
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
559
+ "v2-split": "v2-split";
560
+ "v2-open-jury": "v2-open-jury";
561
+ "v2-draw-jury": "v2-draw-jury";
562
+ "v2-rearm-draw": "v2-rearm-draw";
563
+ "v2-resolve": "v2-resolve";
564
+ "v2-commit-vote": "v2-commit-vote";
565
+ "v2-reveal-vote": "v2-reveal-vote";
566
+ "v2-claim-owed": "v2-claim-owed";
567
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
568
+ "v2-set-available": "v2-set-available";
569
+ "v2-reactivate": "v2-reactivate";
570
+ }>;
571
+ expectedActor: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
572
+ transactionHash: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
573
+ plan: z.ZodNullable<z.ZodObject<{
574
+ version: z.ZodLiteral<"work-transaction-plan-v2">;
575
+ operationId: z.ZodUUID;
576
+ step: z.ZodEnum<{
577
+ "v2-fund": "v2-fund";
578
+ "v2-approve-usdc": "v2-approve-usdc";
579
+ "v2-create-pool": "v2-create-pool";
580
+ "v2-create-escrow": "v2-create-escrow";
581
+ "v2-award": "v2-award";
582
+ "v2-award-bounty": "v2-award-bounty";
583
+ "v2-submit": "v2-submit";
584
+ "v2-approve": "v2-approve";
585
+ "v2-reject": "v2-reject";
586
+ "v2-finalize": "v2-finalize";
587
+ "v2-close-rejected": "v2-close-rejected";
588
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
589
+ "v2-prune-reviewer": "v2-prune-reviewer";
590
+ "v2-prune-reviewers": "v2-prune-reviewers";
591
+ "v2-cancel-offer": "v2-cancel-offer";
592
+ "v2-cancel-remainder": "v2-cancel-remainder";
593
+ "v2-expire": "v2-expire";
594
+ "v2-refund": "v2-refund";
595
+ "v2-pay-claim": "v2-pay-claim";
596
+ "v2-raise-dispute": "v2-raise-dispute";
597
+ "v2-counter-evidence": "v2-counter-evidence";
598
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
599
+ "v2-split": "v2-split";
600
+ "v2-open-jury": "v2-open-jury";
601
+ "v2-draw-jury": "v2-draw-jury";
602
+ "v2-rearm-draw": "v2-rearm-draw";
603
+ "v2-resolve": "v2-resolve";
604
+ "v2-commit-vote": "v2-commit-vote";
605
+ "v2-reveal-vote": "v2-reveal-vote";
606
+ "v2-claim-owed": "v2-claim-owed";
607
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
608
+ "v2-set-available": "v2-set-available";
609
+ "v2-reactivate": "v2-reactivate";
610
+ }>;
611
+ chainId: z.ZodNumber;
612
+ network: z.ZodString;
613
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
614
+ to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
615
+ data: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
616
+ value: z.ZodLiteral<"0">;
617
+ }, z.core.$strip>>;
618
+ }, z.core.$strip>>;
619
+ }, z.core.$loose>;
620
+ export declare const taskV2TypedDataSchema: z.ZodObject<{
621
+ domain: z.ZodObject<{
622
+ name: z.ZodString;
623
+ version: z.ZodString;
624
+ chainId: z.ZodNumber;
625
+ verifyingContract: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
626
+ }, z.core.$strict>;
627
+ types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
628
+ name: z.ZodString;
629
+ type: z.ZodString;
630
+ }, z.core.$strict>>>;
631
+ primaryType: z.ZodString;
632
+ message: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
633
+ }, z.core.$strict>;
634
+ export declare const taskV2IntentSchema: z.ZodObject<{
635
+ kind: z.ZodLiteral<"eip712">;
636
+ operationId: z.ZodString;
637
+ signer: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
638
+ typedData: z.ZodObject<{
639
+ domain: z.ZodObject<{
640
+ name: z.ZodString;
641
+ version: z.ZodString;
642
+ chainId: z.ZodNumber;
643
+ verifyingContract: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
644
+ }, z.core.$strict>;
645
+ types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
646
+ name: z.ZodString;
647
+ type: z.ZodString;
648
+ }, z.core.$strict>>>;
649
+ primaryType: z.ZodString;
650
+ message: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
651
+ }, z.core.$strict>;
652
+ }, z.core.$loose>;
653
+ export declare const taskV2ConsentResponseSchema: z.ZodObject<{
654
+ kind: z.ZodLiteral<"consent">;
655
+ workOrderId: z.ZodUUID;
656
+ consent: z.ZodEnum<{
657
+ split: "split";
658
+ award: "award";
659
+ }>;
660
+ signer: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
661
+ expiry: z.ZodString;
662
+ }, z.core.$loose>;
663
+ export declare const taskV2PreparedSchema: z.ZodUnion<readonly [z.ZodObject<{
664
+ kind: z.ZodLiteral<"eip712">;
665
+ operationId: z.ZodString;
666
+ signer: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
667
+ typedData: z.ZodObject<{
668
+ domain: z.ZodObject<{
669
+ name: z.ZodString;
670
+ version: z.ZodString;
671
+ chainId: z.ZodNumber;
672
+ verifyingContract: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
673
+ }, z.core.$strict>;
674
+ types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
675
+ name: z.ZodString;
676
+ type: z.ZodString;
677
+ }, z.core.$strict>>>;
678
+ primaryType: z.ZodString;
679
+ message: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
680
+ }, z.core.$strict>;
681
+ }, z.core.$loose>, z.ZodObject<{
682
+ orderId: z.ZodUUID;
683
+ operation: z.ZodObject<{
684
+ id: z.ZodUUID;
685
+ kind: z.ZodLiteral<"tasks-v2-write">;
686
+ state: z.ZodEnum<{
687
+ confirmed: "confirmed";
688
+ prepared: "prepared";
689
+ submitted: "submitted";
690
+ abandoned: "abandoned";
691
+ }>;
692
+ step: z.ZodEnum<{
693
+ "v2-fund": "v2-fund";
694
+ "v2-approve-usdc": "v2-approve-usdc";
695
+ "v2-create-pool": "v2-create-pool";
696
+ "v2-create-escrow": "v2-create-escrow";
697
+ "v2-award": "v2-award";
698
+ "v2-award-bounty": "v2-award-bounty";
699
+ "v2-submit": "v2-submit";
700
+ "v2-approve": "v2-approve";
701
+ "v2-reject": "v2-reject";
702
+ "v2-finalize": "v2-finalize";
703
+ "v2-close-rejected": "v2-close-rejected";
704
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
705
+ "v2-prune-reviewer": "v2-prune-reviewer";
706
+ "v2-prune-reviewers": "v2-prune-reviewers";
707
+ "v2-cancel-offer": "v2-cancel-offer";
708
+ "v2-cancel-remainder": "v2-cancel-remainder";
709
+ "v2-expire": "v2-expire";
710
+ "v2-refund": "v2-refund";
711
+ "v2-pay-claim": "v2-pay-claim";
712
+ "v2-raise-dispute": "v2-raise-dispute";
713
+ "v2-counter-evidence": "v2-counter-evidence";
714
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
715
+ "v2-split": "v2-split";
716
+ "v2-open-jury": "v2-open-jury";
717
+ "v2-draw-jury": "v2-draw-jury";
718
+ "v2-rearm-draw": "v2-rearm-draw";
719
+ "v2-resolve": "v2-resolve";
720
+ "v2-commit-vote": "v2-commit-vote";
721
+ "v2-reveal-vote": "v2-reveal-vote";
722
+ "v2-claim-owed": "v2-claim-owed";
723
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
724
+ "v2-set-available": "v2-set-available";
725
+ "v2-reactivate": "v2-reactivate";
726
+ }>;
727
+ expectedActor: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
728
+ transactionHash: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
729
+ plan: z.ZodNullable<z.ZodObject<{
730
+ version: z.ZodLiteral<"work-transaction-plan-v2">;
731
+ operationId: z.ZodUUID;
732
+ step: z.ZodEnum<{
733
+ "v2-fund": "v2-fund";
734
+ "v2-approve-usdc": "v2-approve-usdc";
735
+ "v2-create-pool": "v2-create-pool";
736
+ "v2-create-escrow": "v2-create-escrow";
737
+ "v2-award": "v2-award";
738
+ "v2-award-bounty": "v2-award-bounty";
739
+ "v2-submit": "v2-submit";
740
+ "v2-approve": "v2-approve";
741
+ "v2-reject": "v2-reject";
742
+ "v2-finalize": "v2-finalize";
743
+ "v2-close-rejected": "v2-close-rejected";
744
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
745
+ "v2-prune-reviewer": "v2-prune-reviewer";
746
+ "v2-prune-reviewers": "v2-prune-reviewers";
747
+ "v2-cancel-offer": "v2-cancel-offer";
748
+ "v2-cancel-remainder": "v2-cancel-remainder";
749
+ "v2-expire": "v2-expire";
750
+ "v2-refund": "v2-refund";
751
+ "v2-pay-claim": "v2-pay-claim";
752
+ "v2-raise-dispute": "v2-raise-dispute";
753
+ "v2-counter-evidence": "v2-counter-evidence";
754
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
755
+ "v2-split": "v2-split";
756
+ "v2-open-jury": "v2-open-jury";
757
+ "v2-draw-jury": "v2-draw-jury";
758
+ "v2-rearm-draw": "v2-rearm-draw";
759
+ "v2-resolve": "v2-resolve";
760
+ "v2-commit-vote": "v2-commit-vote";
761
+ "v2-reveal-vote": "v2-reveal-vote";
762
+ "v2-claim-owed": "v2-claim-owed";
763
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
764
+ "v2-set-available": "v2-set-available";
765
+ "v2-reactivate": "v2-reactivate";
766
+ }>;
767
+ chainId: z.ZodNumber;
768
+ network: z.ZodString;
769
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
770
+ to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
771
+ data: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
772
+ value: z.ZodLiteral<"0">;
773
+ }, z.core.$strip>>;
774
+ }, z.core.$strip>;
775
+ }, z.core.$loose>]>;
776
+ export declare const taskV2SignatureResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
777
+ kind: z.ZodLiteral<"consent">;
778
+ workOrderId: z.ZodUUID;
779
+ consent: z.ZodEnum<{
780
+ split: "split";
781
+ award: "award";
782
+ }>;
783
+ signer: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
784
+ expiry: z.ZodString;
785
+ }, z.core.$loose>, z.ZodObject<{
786
+ orderId: z.ZodUUID;
787
+ operation: z.ZodObject<{
788
+ id: z.ZodUUID;
789
+ kind: z.ZodLiteral<"tasks-v2-write">;
790
+ state: z.ZodEnum<{
791
+ confirmed: "confirmed";
792
+ prepared: "prepared";
793
+ submitted: "submitted";
794
+ abandoned: "abandoned";
795
+ }>;
796
+ step: z.ZodEnum<{
797
+ "v2-fund": "v2-fund";
798
+ "v2-approve-usdc": "v2-approve-usdc";
799
+ "v2-create-pool": "v2-create-pool";
800
+ "v2-create-escrow": "v2-create-escrow";
801
+ "v2-award": "v2-award";
802
+ "v2-award-bounty": "v2-award-bounty";
803
+ "v2-submit": "v2-submit";
804
+ "v2-approve": "v2-approve";
805
+ "v2-reject": "v2-reject";
806
+ "v2-finalize": "v2-finalize";
807
+ "v2-close-rejected": "v2-close-rejected";
808
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
809
+ "v2-prune-reviewer": "v2-prune-reviewer";
810
+ "v2-prune-reviewers": "v2-prune-reviewers";
811
+ "v2-cancel-offer": "v2-cancel-offer";
812
+ "v2-cancel-remainder": "v2-cancel-remainder";
813
+ "v2-expire": "v2-expire";
814
+ "v2-refund": "v2-refund";
815
+ "v2-pay-claim": "v2-pay-claim";
816
+ "v2-raise-dispute": "v2-raise-dispute";
817
+ "v2-counter-evidence": "v2-counter-evidence";
818
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
819
+ "v2-split": "v2-split";
820
+ "v2-open-jury": "v2-open-jury";
821
+ "v2-draw-jury": "v2-draw-jury";
822
+ "v2-rearm-draw": "v2-rearm-draw";
823
+ "v2-resolve": "v2-resolve";
824
+ "v2-commit-vote": "v2-commit-vote";
825
+ "v2-reveal-vote": "v2-reveal-vote";
826
+ "v2-claim-owed": "v2-claim-owed";
827
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
828
+ "v2-set-available": "v2-set-available";
829
+ "v2-reactivate": "v2-reactivate";
830
+ }>;
831
+ expectedActor: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
832
+ transactionHash: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
833
+ plan: z.ZodNullable<z.ZodObject<{
834
+ version: z.ZodLiteral<"work-transaction-plan-v2">;
835
+ operationId: z.ZodUUID;
836
+ step: z.ZodEnum<{
837
+ "v2-fund": "v2-fund";
838
+ "v2-approve-usdc": "v2-approve-usdc";
839
+ "v2-create-pool": "v2-create-pool";
840
+ "v2-create-escrow": "v2-create-escrow";
841
+ "v2-award": "v2-award";
842
+ "v2-award-bounty": "v2-award-bounty";
843
+ "v2-submit": "v2-submit";
844
+ "v2-approve": "v2-approve";
845
+ "v2-reject": "v2-reject";
846
+ "v2-finalize": "v2-finalize";
847
+ "v2-close-rejected": "v2-close-rejected";
848
+ "v2-bump-consent-nonce": "v2-bump-consent-nonce";
849
+ "v2-prune-reviewer": "v2-prune-reviewer";
850
+ "v2-prune-reviewers": "v2-prune-reviewers";
851
+ "v2-cancel-offer": "v2-cancel-offer";
852
+ "v2-cancel-remainder": "v2-cancel-remainder";
853
+ "v2-expire": "v2-expire";
854
+ "v2-refund": "v2-refund";
855
+ "v2-pay-claim": "v2-pay-claim";
856
+ "v2-raise-dispute": "v2-raise-dispute";
857
+ "v2-counter-evidence": "v2-counter-evidence";
858
+ "v2-resolve-unmatched": "v2-resolve-unmatched";
859
+ "v2-split": "v2-split";
860
+ "v2-open-jury": "v2-open-jury";
861
+ "v2-draw-jury": "v2-draw-jury";
862
+ "v2-rearm-draw": "v2-rearm-draw";
863
+ "v2-resolve": "v2-resolve";
864
+ "v2-commit-vote": "v2-commit-vote";
865
+ "v2-reveal-vote": "v2-reveal-vote";
866
+ "v2-claim-owed": "v2-claim-owed";
867
+ "v2-claim-reviewer-fee": "v2-claim-reviewer-fee";
868
+ "v2-set-available": "v2-set-available";
869
+ "v2-reactivate": "v2-reactivate";
870
+ }>;
871
+ chainId: z.ZodNumber;
872
+ network: z.ZodString;
873
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
874
+ to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
875
+ data: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
876
+ value: z.ZodLiteral<"0">;
877
+ }, z.core.$strip>>;
878
+ }, z.core.$strip>;
879
+ }, z.core.$loose>]>;
880
+ export type TaskV2Action = z.infer<typeof taskV2ActionSchema>;
881
+ export type TaskV2Consent = z.infer<typeof taskV2ConsentSchema>;
882
+ export type TaskV2Operation = z.infer<typeof taskV2OperationSchema>;
883
+ export type TaskV2Plan = z.infer<typeof taskV2PlanSchema>;
884
+ export type TaskV2OperationResponse = z.infer<typeof taskV2OperationResponseSchema>;
885
+ export type TaskV2Prepared = z.infer<typeof taskV2PreparedSchema>;
886
+ export type TaskV2ConsentResponse = z.infer<typeof taskV2ConsentResponseSchema>;
887
+ //# sourceMappingURL=v2-write.d.ts.map