@slates/proto 1.0.0-rc.6 → 1.0.0-rc.8

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 (48) hide show
  1. package/dist/index.cjs +1092 -2
  2. package/dist/index.d.cts +3462 -0
  3. package/dist/index.d.ts +3462 -4
  4. package/dist/index.module.js +986 -2
  5. package/package.json +7 -6
  6. package/src/handler/provider.test.ts +118 -0
  7. package/src/handler/provider.ts +262 -27
  8. package/src/index.ts +1 -0
  9. package/src/messages/action.ts +26 -7
  10. package/src/messages/auth.ts +10 -8
  11. package/src/messages/config.ts +3 -2
  12. package/src/messages/controlFlow.ts +2 -1
  13. package/src/messages/identify.ts +2 -1
  14. package/src/messages/index.ts +13 -12
  15. package/src/messages/tracing.ts +38 -0
  16. package/src/types/action.ts +11 -1
  17. package/src/version.ts +3 -0
  18. package/dist/handler/index.d.ts +0 -2
  19. package/dist/handler/index.d.ts.map +0 -1
  20. package/dist/handler/provider.d.ts +0 -29
  21. package/dist/handler/provider.d.ts.map +0 -1
  22. package/dist/index.cjs.map +0 -1
  23. package/dist/index.d.ts.map +0 -1
  24. package/dist/index.module.js.map +0 -1
  25. package/dist/index.umd.js +0 -2
  26. package/dist/index.umd.js.map +0 -1
  27. package/dist/messages/action.d.ts +0 -474
  28. package/dist/messages/action.d.ts.map +0 -1
  29. package/dist/messages/auth.d.ts +0 -500
  30. package/dist/messages/auth.d.ts.map +0 -1
  31. package/dist/messages/config.d.ts +0 -140
  32. package/dist/messages/config.d.ts.map +0 -1
  33. package/dist/messages/controlFlow.d.ts +0 -64
  34. package/dist/messages/controlFlow.d.ts.map +0 -1
  35. package/dist/messages/identify.d.ts +0 -50
  36. package/dist/messages/identify.d.ts.map +0 -1
  37. package/dist/messages/index.d.ts +0 -560
  38. package/dist/messages/index.d.ts.map +0 -1
  39. package/dist/messages/log.d.ts +0 -27
  40. package/dist/messages/log.d.ts.map +0 -1
  41. package/dist/types/action.d.ts +0 -98
  42. package/dist/types/action.d.ts.map +0 -1
  43. package/dist/types/authMethod.d.ts +0 -29
  44. package/dist/types/authMethod.d.ts.map +0 -1
  45. package/dist/types/index.d.ts +0 -4
  46. package/dist/types/index.d.ts.map +0 -1
  47. package/dist/types/participant.d.ts +0 -10
  48. package/dist/types/participant.d.ts.map +0 -1
@@ -0,0 +1,3462 @@
1
+ import z, { z as z$1 } from 'zod';
2
+
3
+ /**
4
+ * List Actions
5
+ */
6
+ declare let slatesMessageActionsListRequest: z.ZodObject<{
7
+ jsonrpc: z.ZodLiteral<"2.0">;
8
+ method: z.ZodLiteral<"slates/actions.list">;
9
+ id: z.ZodString;
10
+ params: z.ZodObject<{}, z.core.$strip>;
11
+ }, z.core.$strip>;
12
+ type SlatesMessageActionsListRequest = z.infer<typeof slatesMessageActionsListRequest>;
13
+ declare let slatesMessageActionsListResponse: z.ZodObject<{
14
+ jsonrpc: z.ZodLiteral<"2.0">;
15
+ id: z.ZodString;
16
+ result: z.ZodObject<{
17
+ actions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
18
+ id: z.ZodString;
19
+ name: z.ZodString;
20
+ description: z.ZodOptional<z.ZodString>;
21
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
+ tags: z.ZodOptional<z.ZodObject<{
24
+ destructive: z.ZodOptional<z.ZodBoolean>;
25
+ readOnly: z.ZodOptional<z.ZodBoolean>;
26
+ }, z.core.$strip>>;
27
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
28
+ scopes: z.ZodOptional<z.ZodObject<{
29
+ AND: z.ZodArray<z.ZodObject<{
30
+ OR: z.ZodArray<z.ZodString>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>>;
33
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
34
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
35
+ type: z.ZodLiteral<"action.tool">;
36
+ capabilities: z.ZodObject<{}, z.core.$strip>;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ id: z.ZodString;
39
+ name: z.ZodString;
40
+ description: z.ZodOptional<z.ZodString>;
41
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
42
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
43
+ tags: z.ZodOptional<z.ZodObject<{
44
+ destructive: z.ZodOptional<z.ZodBoolean>;
45
+ readOnly: z.ZodOptional<z.ZodBoolean>;
46
+ }, z.core.$strip>>;
47
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
48
+ scopes: z.ZodOptional<z.ZodObject<{
49
+ AND: z.ZodArray<z.ZodObject<{
50
+ OR: z.ZodArray<z.ZodString>;
51
+ }, z.core.$strip>>;
52
+ }, z.core.$strip>>;
53
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
54
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
55
+ type: z.ZodLiteral<"action.trigger">;
56
+ capabilities: z.ZodObject<{}, z.core.$strip>;
57
+ invocation: z.ZodUnion<readonly [z.ZodObject<{
58
+ type: z.ZodLiteral<"polling">;
59
+ intervalSeconds: z.ZodNumber;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ type: z.ZodLiteral<"webhook">;
62
+ autoRegistration: z.ZodBoolean;
63
+ autoUnregistration: z.ZodBoolean;
64
+ }, z.core.$strip>]>;
65
+ }, z.core.$strip>]>>;
66
+ }, z.core.$strip>;
67
+ }, z.core.$strip>;
68
+ type SlatesMessageActionsListResponse = z.infer<typeof slatesMessageActionsListResponse>;
69
+ /**
70
+ * Get Action
71
+ */
72
+ declare let slatesMessageActionGetRequest: z.ZodObject<{
73
+ jsonrpc: z.ZodLiteral<"2.0">;
74
+ method: z.ZodLiteral<"slates/action.get">;
75
+ id: z.ZodString;
76
+ params: z.ZodObject<{
77
+ actionId: z.ZodString;
78
+ }, z.core.$strip>;
79
+ }, z.core.$strip>;
80
+ type SlatesMessageActionGetRequest = z.infer<typeof slatesMessageActionGetRequest>;
81
+ declare let slatesMessageActionGetResponse: z.ZodObject<{
82
+ jsonrpc: z.ZodLiteral<"2.0">;
83
+ id: z.ZodString;
84
+ result: z.ZodObject<{
85
+ action: z.ZodUnion<readonly [z.ZodObject<{
86
+ id: z.ZodString;
87
+ name: z.ZodString;
88
+ description: z.ZodOptional<z.ZodString>;
89
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
90
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
91
+ tags: z.ZodOptional<z.ZodObject<{
92
+ destructive: z.ZodOptional<z.ZodBoolean>;
93
+ readOnly: z.ZodOptional<z.ZodBoolean>;
94
+ }, z.core.$strip>>;
95
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
96
+ scopes: z.ZodOptional<z.ZodObject<{
97
+ AND: z.ZodArray<z.ZodObject<{
98
+ OR: z.ZodArray<z.ZodString>;
99
+ }, z.core.$strip>>;
100
+ }, z.core.$strip>>;
101
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
102
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
103
+ type: z.ZodLiteral<"action.tool">;
104
+ capabilities: z.ZodObject<{}, z.core.$strip>;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ id: z.ZodString;
107
+ name: z.ZodString;
108
+ description: z.ZodOptional<z.ZodString>;
109
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
111
+ tags: z.ZodOptional<z.ZodObject<{
112
+ destructive: z.ZodOptional<z.ZodBoolean>;
113
+ readOnly: z.ZodOptional<z.ZodBoolean>;
114
+ }, z.core.$strip>>;
115
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
116
+ scopes: z.ZodOptional<z.ZodObject<{
117
+ AND: z.ZodArray<z.ZodObject<{
118
+ OR: z.ZodArray<z.ZodString>;
119
+ }, z.core.$strip>>;
120
+ }, z.core.$strip>>;
121
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
122
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
123
+ type: z.ZodLiteral<"action.trigger">;
124
+ capabilities: z.ZodObject<{}, z.core.$strip>;
125
+ invocation: z.ZodUnion<readonly [z.ZodObject<{
126
+ type: z.ZodLiteral<"polling">;
127
+ intervalSeconds: z.ZodNumber;
128
+ }, z.core.$strip>, z.ZodObject<{
129
+ type: z.ZodLiteral<"webhook">;
130
+ autoRegistration: z.ZodBoolean;
131
+ autoUnregistration: z.ZodBoolean;
132
+ }, z.core.$strip>]>;
133
+ }, z.core.$strip>]>;
134
+ }, z.core.$strip>;
135
+ }, z.core.$strip>;
136
+ type SlatesMessageActionGetResponse = z.infer<typeof slatesMessageActionGetResponse>;
137
+ /**
138
+ * Invoke Action
139
+ */
140
+ declare let slatesMessageActionInvokeRequest: z.ZodObject<{
141
+ jsonrpc: z.ZodLiteral<"2.0">;
142
+ method: z.ZodLiteral<"slates/action.tool.invoke">;
143
+ id: z.ZodString;
144
+ params: z.ZodObject<{
145
+ actionId: z.ZodString;
146
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
147
+ }, z.core.$strip>;
148
+ }, z.core.$strip>;
149
+ type SlatesMessageActionInvokeRequest = z.infer<typeof slatesMessageActionInvokeRequest>;
150
+ declare let slatesMessageActionInvokeResponse: z.ZodObject<{
151
+ jsonrpc: z.ZodLiteral<"2.0">;
152
+ id: z.ZodString;
153
+ result: z.ZodObject<{
154
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
155
+ message: z.ZodOptional<z.ZodString>;
156
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
+ mimeType: z.ZodOptional<z.ZodString>;
158
+ content: z.ZodUnion<readonly [z.ZodObject<{
159
+ type: z.ZodLiteral<"url">;
160
+ url: z.ZodString;
161
+ }, z.core.$strip>, z.ZodObject<{
162
+ type: z.ZodLiteral<"content">;
163
+ encoding: z.ZodUnion<readonly [z.ZodLiteral<"base64">, z.ZodLiteral<"utf-8">]>;
164
+ content: z.ZodString;
165
+ }, z.core.$strip>]>;
166
+ }, z.core.$strip>>>;
167
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
168
+ startedAt: z.ZodString;
169
+ durationMs: z.ZodNumber;
170
+ request: z.ZodObject<{
171
+ method: z.ZodString;
172
+ url: z.ZodString;
173
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
174
+ body: z.ZodOptional<z.ZodObject<{
175
+ contentType: z.ZodOptional<z.ZodString>;
176
+ text: z.ZodString;
177
+ truncated: z.ZodOptional<z.ZodBoolean>;
178
+ }, z.core.$strip>>;
179
+ }, z.core.$strip>;
180
+ response: z.ZodOptional<z.ZodObject<{
181
+ status: z.ZodNumber;
182
+ statusText: z.ZodOptional<z.ZodString>;
183
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
184
+ body: z.ZodOptional<z.ZodObject<{
185
+ contentType: z.ZodOptional<z.ZodString>;
186
+ text: z.ZodString;
187
+ truncated: z.ZodOptional<z.ZodBoolean>;
188
+ }, z.core.$strip>>;
189
+ }, z.core.$strip>>;
190
+ error: z.ZodOptional<z.ZodObject<{
191
+ code: z.ZodOptional<z.ZodString>;
192
+ message: z.ZodString;
193
+ }, z.core.$strip>>;
194
+ }, z.core.$strip>>>;
195
+ }, z.core.$strip>;
196
+ }, z.core.$strip>;
197
+ type SlatesMessageActionInvokeResponse = z.infer<typeof slatesMessageActionInvokeResponse>;
198
+ /**
199
+ * Map Trigger Event
200
+ */
201
+ declare let slatesMessageActionTriggerEventMapRequest: z.ZodObject<{
202
+ jsonrpc: z.ZodLiteral<"2.0">;
203
+ method: z.ZodLiteral<"slates/action.trigger.map_event">;
204
+ id: z.ZodString;
205
+ params: z.ZodObject<{
206
+ actionId: z.ZodString;
207
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
208
+ }, z.core.$strip>;
209
+ }, z.core.$strip>;
210
+ type SlatesMessageActionTriggerEventMapRequest = z.infer<typeof slatesMessageActionTriggerEventMapRequest>;
211
+ declare let slatesMessageActionTriggerEventMapResponse: z.ZodObject<{
212
+ jsonrpc: z.ZodLiteral<"2.0">;
213
+ id: z.ZodString;
214
+ result: z.ZodObject<{
215
+ type: z.ZodString;
216
+ id: z.ZodString;
217
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
218
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
219
+ startedAt: z.ZodString;
220
+ durationMs: z.ZodNumber;
221
+ request: z.ZodObject<{
222
+ method: z.ZodString;
223
+ url: z.ZodString;
224
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
225
+ body: z.ZodOptional<z.ZodObject<{
226
+ contentType: z.ZodOptional<z.ZodString>;
227
+ text: z.ZodString;
228
+ truncated: z.ZodOptional<z.ZodBoolean>;
229
+ }, z.core.$strip>>;
230
+ }, z.core.$strip>;
231
+ response: z.ZodOptional<z.ZodObject<{
232
+ status: z.ZodNumber;
233
+ statusText: z.ZodOptional<z.ZodString>;
234
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
235
+ body: z.ZodOptional<z.ZodObject<{
236
+ contentType: z.ZodOptional<z.ZodString>;
237
+ text: z.ZodString;
238
+ truncated: z.ZodOptional<z.ZodBoolean>;
239
+ }, z.core.$strip>>;
240
+ }, z.core.$strip>>;
241
+ error: z.ZodOptional<z.ZodObject<{
242
+ code: z.ZodOptional<z.ZodString>;
243
+ message: z.ZodString;
244
+ }, z.core.$strip>>;
245
+ }, z.core.$strip>>>;
246
+ }, z.core.$strip>;
247
+ }, z.core.$strip>;
248
+ type SlatesMessageActionTriggerEventMapResponse = z.infer<typeof slatesMessageActionTriggerEventMapResponse>;
249
+ /**
250
+ * Poll Trigger Events
251
+ */
252
+ declare let slatesMessageActionTriggerEventsPollRequest: z.ZodObject<{
253
+ jsonrpc: z.ZodLiteral<"2.0">;
254
+ method: z.ZodLiteral<"slates/action.trigger.poll_events">;
255
+ id: z.ZodString;
256
+ params: z.ZodObject<{
257
+ actionId: z.ZodString;
258
+ state: z.ZodNullable<z.ZodAny>;
259
+ }, z.core.$strip>;
260
+ }, z.core.$strip>;
261
+ type SlatesMessageActionTriggerEventsPollRequest = z.infer<typeof slatesMessageActionTriggerEventsPollRequest>;
262
+ declare let slatesMessageActionTriggerEventsPollResponse: z.ZodObject<{
263
+ jsonrpc: z.ZodLiteral<"2.0">;
264
+ id: z.ZodString;
265
+ result: z.ZodObject<{
266
+ inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
267
+ updatedState: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
268
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
269
+ startedAt: z.ZodString;
270
+ durationMs: z.ZodNumber;
271
+ request: z.ZodObject<{
272
+ method: z.ZodString;
273
+ url: z.ZodString;
274
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
275
+ body: z.ZodOptional<z.ZodObject<{
276
+ contentType: z.ZodOptional<z.ZodString>;
277
+ text: z.ZodString;
278
+ truncated: z.ZodOptional<z.ZodBoolean>;
279
+ }, z.core.$strip>>;
280
+ }, z.core.$strip>;
281
+ response: z.ZodOptional<z.ZodObject<{
282
+ status: z.ZodNumber;
283
+ statusText: z.ZodOptional<z.ZodString>;
284
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
285
+ body: z.ZodOptional<z.ZodObject<{
286
+ contentType: z.ZodOptional<z.ZodString>;
287
+ text: z.ZodString;
288
+ truncated: z.ZodOptional<z.ZodBoolean>;
289
+ }, z.core.$strip>>;
290
+ }, z.core.$strip>>;
291
+ error: z.ZodOptional<z.ZodObject<{
292
+ code: z.ZodOptional<z.ZodString>;
293
+ message: z.ZodString;
294
+ }, z.core.$strip>>;
295
+ }, z.core.$strip>>>;
296
+ }, z.core.$strip>;
297
+ }, z.core.$strip>;
298
+ type SlatesMessageActionTriggerEventsPollResponse = z.infer<typeof slatesMessageActionTriggerEventsPollResponse>;
299
+ /**
300
+ * Handle Webhook Request
301
+ */
302
+ declare let slatesMessageActionTriggerWebhookHandleRequest: z.ZodObject<{
303
+ jsonrpc: z.ZodLiteral<"2.0">;
304
+ method: z.ZodLiteral<"slates/action.trigger.webhook_handle">;
305
+ id: z.ZodString;
306
+ params: z.ZodObject<{
307
+ actionId: z.ZodString;
308
+ url: z.ZodString;
309
+ method: z.ZodString;
310
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
311
+ body: z.ZodNullable<z.ZodObject<{
312
+ encoding: z.ZodLiteral<"base64">;
313
+ content: z.ZodString;
314
+ }, z.core.$strip>>;
315
+ state: z.ZodNullable<z.ZodAny>;
316
+ }, z.core.$strip>;
317
+ }, z.core.$strip>;
318
+ type SlatesMessageActionTriggerWebhookHandleRequest = z.infer<typeof slatesMessageActionTriggerWebhookHandleRequest>;
319
+ declare let slatesMessageActionTriggerWebhookHandleResponse: z.ZodObject<{
320
+ jsonrpc: z.ZodLiteral<"2.0">;
321
+ id: z.ZodString;
322
+ result: z.ZodObject<{
323
+ inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
324
+ updatedState: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
325
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
326
+ startedAt: z.ZodString;
327
+ durationMs: z.ZodNumber;
328
+ request: z.ZodObject<{
329
+ method: z.ZodString;
330
+ url: z.ZodString;
331
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
332
+ body: z.ZodOptional<z.ZodObject<{
333
+ contentType: z.ZodOptional<z.ZodString>;
334
+ text: z.ZodString;
335
+ truncated: z.ZodOptional<z.ZodBoolean>;
336
+ }, z.core.$strip>>;
337
+ }, z.core.$strip>;
338
+ response: z.ZodOptional<z.ZodObject<{
339
+ status: z.ZodNumber;
340
+ statusText: z.ZodOptional<z.ZodString>;
341
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
342
+ body: z.ZodOptional<z.ZodObject<{
343
+ contentType: z.ZodOptional<z.ZodString>;
344
+ text: z.ZodString;
345
+ truncated: z.ZodOptional<z.ZodBoolean>;
346
+ }, z.core.$strip>>;
347
+ }, z.core.$strip>>;
348
+ error: z.ZodOptional<z.ZodObject<{
349
+ code: z.ZodOptional<z.ZodString>;
350
+ message: z.ZodString;
351
+ }, z.core.$strip>>;
352
+ }, z.core.$strip>>>;
353
+ }, z.core.$strip>;
354
+ }, z.core.$strip>;
355
+ type SlatesMessageActionTriggerWebhookHandleResponse = z.infer<typeof slatesMessageActionTriggerWebhookHandleResponse>;
356
+ /**
357
+ * Handle Webhook Registration
358
+ */
359
+ declare let slatesMessageActionTriggerWebhookRegisterRequest: z.ZodObject<{
360
+ jsonrpc: z.ZodLiteral<"2.0">;
361
+ method: z.ZodLiteral<"slates/action.trigger.webhook_register">;
362
+ id: z.ZodString;
363
+ params: z.ZodObject<{
364
+ actionId: z.ZodString;
365
+ webhookBaseUrl: z.ZodString;
366
+ }, z.core.$strip>;
367
+ }, z.core.$strip>;
368
+ type SlatesMessageActionTriggerWebhookRegisterRequest = z.infer<typeof slatesMessageActionTriggerWebhookRegisterRequest>;
369
+ declare let slatesMessageActionTriggerWebhookRegisterResponse: z.ZodObject<{
370
+ jsonrpc: z.ZodLiteral<"2.0">;
371
+ id: z.ZodString;
372
+ result: z.ZodObject<{
373
+ registrationDetails: z.ZodAny;
374
+ state: z.ZodOptional<z.ZodAny>;
375
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
376
+ startedAt: z.ZodString;
377
+ durationMs: z.ZodNumber;
378
+ request: z.ZodObject<{
379
+ method: z.ZodString;
380
+ url: z.ZodString;
381
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
382
+ body: z.ZodOptional<z.ZodObject<{
383
+ contentType: z.ZodOptional<z.ZodString>;
384
+ text: z.ZodString;
385
+ truncated: z.ZodOptional<z.ZodBoolean>;
386
+ }, z.core.$strip>>;
387
+ }, z.core.$strip>;
388
+ response: z.ZodOptional<z.ZodObject<{
389
+ status: z.ZodNumber;
390
+ statusText: z.ZodOptional<z.ZodString>;
391
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
392
+ body: z.ZodOptional<z.ZodObject<{
393
+ contentType: z.ZodOptional<z.ZodString>;
394
+ text: z.ZodString;
395
+ truncated: z.ZodOptional<z.ZodBoolean>;
396
+ }, z.core.$strip>>;
397
+ }, z.core.$strip>>;
398
+ error: z.ZodOptional<z.ZodObject<{
399
+ code: z.ZodOptional<z.ZodString>;
400
+ message: z.ZodString;
401
+ }, z.core.$strip>>;
402
+ }, z.core.$strip>>>;
403
+ }, z.core.$strip>;
404
+ }, z.core.$strip>;
405
+ type SlatesMessageActionTriggerWebhookRegisterResponse = z.infer<typeof slatesMessageActionTriggerWebhookRegisterResponse>;
406
+ /**
407
+ * Handle Webhook Unregistration
408
+ */
409
+ declare let slatesMessageActionTriggerWebhookUnregisterRequest: z.ZodObject<{
410
+ jsonrpc: z.ZodLiteral<"2.0">;
411
+ method: z.ZodLiteral<"slates/action.trigger.webhook_unregister">;
412
+ id: z.ZodString;
413
+ params: z.ZodObject<{
414
+ actionId: z.ZodString;
415
+ webhookBaseUrl: z.ZodString;
416
+ registrationDetails: z.ZodAny;
417
+ state: z.ZodOptional<z.ZodAny>;
418
+ }, z.core.$strip>;
419
+ }, z.core.$strip>;
420
+ type SlatesMessageActionTriggerWebhookUnregisterRequest = z.infer<typeof slatesMessageActionTriggerWebhookUnregisterRequest>;
421
+ declare let slatesMessageActionTriggerWebhookUnregisterResponse: z.ZodObject<{
422
+ jsonrpc: z.ZodLiteral<"2.0">;
423
+ id: z.ZodString;
424
+ result: z.ZodObject<{
425
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
426
+ startedAt: z.ZodString;
427
+ durationMs: z.ZodNumber;
428
+ request: z.ZodObject<{
429
+ method: z.ZodString;
430
+ url: z.ZodString;
431
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
432
+ body: z.ZodOptional<z.ZodObject<{
433
+ contentType: z.ZodOptional<z.ZodString>;
434
+ text: z.ZodString;
435
+ truncated: z.ZodOptional<z.ZodBoolean>;
436
+ }, z.core.$strip>>;
437
+ }, z.core.$strip>;
438
+ response: z.ZodOptional<z.ZodObject<{
439
+ status: z.ZodNumber;
440
+ statusText: z.ZodOptional<z.ZodString>;
441
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
442
+ body: z.ZodOptional<z.ZodObject<{
443
+ contentType: z.ZodOptional<z.ZodString>;
444
+ text: z.ZodString;
445
+ truncated: z.ZodOptional<z.ZodBoolean>;
446
+ }, z.core.$strip>>;
447
+ }, z.core.$strip>>;
448
+ error: z.ZodOptional<z.ZodObject<{
449
+ code: z.ZodOptional<z.ZodString>;
450
+ message: z.ZodString;
451
+ }, z.core.$strip>>;
452
+ }, z.core.$strip>>>;
453
+ }, z.core.$strip>;
454
+ }, z.core.$strip>;
455
+ type SlatesMessageActionTriggerWebhookUnregisterResponse = z.infer<typeof slatesMessageActionTriggerWebhookUnregisterResponse>;
456
+ type SlatesActionRequests = SlatesMessageActionsListRequest | SlatesMessageActionGetRequest | SlatesMessageActionInvokeRequest | SlatesMessageActionTriggerEventMapRequest | SlatesMessageActionTriggerEventsPollRequest | SlatesMessageActionTriggerWebhookHandleRequest | SlatesMessageActionTriggerWebhookRegisterRequest | SlatesMessageActionTriggerWebhookUnregisterRequest;
457
+ type SlatesActionResponses = SlatesMessageActionsListResponse | SlatesMessageActionGetResponse | SlatesMessageActionInvokeResponse | SlatesMessageActionTriggerEventMapResponse | SlatesMessageActionTriggerEventsPollResponse | SlatesMessageActionTriggerWebhookHandleResponse | SlatesMessageActionTriggerWebhookRegisterResponse | SlatesMessageActionTriggerWebhookUnregisterResponse;
458
+ declare let slatesActionResponsesByMethod: {
459
+ 'slates/actions.list': z.ZodObject<{
460
+ jsonrpc: z.ZodLiteral<"2.0">;
461
+ id: z.ZodString;
462
+ result: z.ZodObject<{
463
+ actions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
464
+ id: z.ZodString;
465
+ name: z.ZodString;
466
+ description: z.ZodOptional<z.ZodString>;
467
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
468
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
469
+ tags: z.ZodOptional<z.ZodObject<{
470
+ destructive: z.ZodOptional<z.ZodBoolean>;
471
+ readOnly: z.ZodOptional<z.ZodBoolean>;
472
+ }, z.core.$strip>>;
473
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
474
+ scopes: z.ZodOptional<z.ZodObject<{
475
+ AND: z.ZodArray<z.ZodObject<{
476
+ OR: z.ZodArray<z.ZodString>;
477
+ }, z.core.$strip>>;
478
+ }, z.core.$strip>>;
479
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
480
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
481
+ type: z.ZodLiteral<"action.tool">;
482
+ capabilities: z.ZodObject<{}, z.core.$strip>;
483
+ }, z.core.$strip>, z.ZodObject<{
484
+ id: z.ZodString;
485
+ name: z.ZodString;
486
+ description: z.ZodOptional<z.ZodString>;
487
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
488
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
489
+ tags: z.ZodOptional<z.ZodObject<{
490
+ destructive: z.ZodOptional<z.ZodBoolean>;
491
+ readOnly: z.ZodOptional<z.ZodBoolean>;
492
+ }, z.core.$strip>>;
493
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
494
+ scopes: z.ZodOptional<z.ZodObject<{
495
+ AND: z.ZodArray<z.ZodObject<{
496
+ OR: z.ZodArray<z.ZodString>;
497
+ }, z.core.$strip>>;
498
+ }, z.core.$strip>>;
499
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
500
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
501
+ type: z.ZodLiteral<"action.trigger">;
502
+ capabilities: z.ZodObject<{}, z.core.$strip>;
503
+ invocation: z.ZodUnion<readonly [z.ZodObject<{
504
+ type: z.ZodLiteral<"polling">;
505
+ intervalSeconds: z.ZodNumber;
506
+ }, z.core.$strip>, z.ZodObject<{
507
+ type: z.ZodLiteral<"webhook">;
508
+ autoRegistration: z.ZodBoolean;
509
+ autoUnregistration: z.ZodBoolean;
510
+ }, z.core.$strip>]>;
511
+ }, z.core.$strip>]>>;
512
+ }, z.core.$strip>;
513
+ }, z.core.$strip>;
514
+ 'slates/action.get': z.ZodObject<{
515
+ jsonrpc: z.ZodLiteral<"2.0">;
516
+ id: z.ZodString;
517
+ result: z.ZodObject<{
518
+ action: z.ZodUnion<readonly [z.ZodObject<{
519
+ id: z.ZodString;
520
+ name: z.ZodString;
521
+ description: z.ZodOptional<z.ZodString>;
522
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
523
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
524
+ tags: z.ZodOptional<z.ZodObject<{
525
+ destructive: z.ZodOptional<z.ZodBoolean>;
526
+ readOnly: z.ZodOptional<z.ZodBoolean>;
527
+ }, z.core.$strip>>;
528
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
529
+ scopes: z.ZodOptional<z.ZodObject<{
530
+ AND: z.ZodArray<z.ZodObject<{
531
+ OR: z.ZodArray<z.ZodString>;
532
+ }, z.core.$strip>>;
533
+ }, z.core.$strip>>;
534
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
535
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
536
+ type: z.ZodLiteral<"action.tool">;
537
+ capabilities: z.ZodObject<{}, z.core.$strip>;
538
+ }, z.core.$strip>, z.ZodObject<{
539
+ id: z.ZodString;
540
+ name: z.ZodString;
541
+ description: z.ZodOptional<z.ZodString>;
542
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
543
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
544
+ tags: z.ZodOptional<z.ZodObject<{
545
+ destructive: z.ZodOptional<z.ZodBoolean>;
546
+ readOnly: z.ZodOptional<z.ZodBoolean>;
547
+ }, z.core.$strip>>;
548
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
549
+ scopes: z.ZodOptional<z.ZodObject<{
550
+ AND: z.ZodArray<z.ZodObject<{
551
+ OR: z.ZodArray<z.ZodString>;
552
+ }, z.core.$strip>>;
553
+ }, z.core.$strip>>;
554
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
555
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
556
+ type: z.ZodLiteral<"action.trigger">;
557
+ capabilities: z.ZodObject<{}, z.core.$strip>;
558
+ invocation: z.ZodUnion<readonly [z.ZodObject<{
559
+ type: z.ZodLiteral<"polling">;
560
+ intervalSeconds: z.ZodNumber;
561
+ }, z.core.$strip>, z.ZodObject<{
562
+ type: z.ZodLiteral<"webhook">;
563
+ autoRegistration: z.ZodBoolean;
564
+ autoUnregistration: z.ZodBoolean;
565
+ }, z.core.$strip>]>;
566
+ }, z.core.$strip>]>;
567
+ }, z.core.$strip>;
568
+ }, z.core.$strip>;
569
+ 'slates/action.tool.invoke': z.ZodObject<{
570
+ jsonrpc: z.ZodLiteral<"2.0">;
571
+ id: z.ZodString;
572
+ result: z.ZodObject<{
573
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
574
+ message: z.ZodOptional<z.ZodString>;
575
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
576
+ mimeType: z.ZodOptional<z.ZodString>;
577
+ content: z.ZodUnion<readonly [z.ZodObject<{
578
+ type: z.ZodLiteral<"url">;
579
+ url: z.ZodString;
580
+ }, z.core.$strip>, z.ZodObject<{
581
+ type: z.ZodLiteral<"content">;
582
+ encoding: z.ZodUnion<readonly [z.ZodLiteral<"base64">, z.ZodLiteral<"utf-8">]>;
583
+ content: z.ZodString;
584
+ }, z.core.$strip>]>;
585
+ }, z.core.$strip>>>;
586
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
587
+ startedAt: z.ZodString;
588
+ durationMs: z.ZodNumber;
589
+ request: z.ZodObject<{
590
+ method: z.ZodString;
591
+ url: z.ZodString;
592
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
593
+ body: z.ZodOptional<z.ZodObject<{
594
+ contentType: z.ZodOptional<z.ZodString>;
595
+ text: z.ZodString;
596
+ truncated: z.ZodOptional<z.ZodBoolean>;
597
+ }, z.core.$strip>>;
598
+ }, z.core.$strip>;
599
+ response: z.ZodOptional<z.ZodObject<{
600
+ status: z.ZodNumber;
601
+ statusText: z.ZodOptional<z.ZodString>;
602
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
603
+ body: z.ZodOptional<z.ZodObject<{
604
+ contentType: z.ZodOptional<z.ZodString>;
605
+ text: z.ZodString;
606
+ truncated: z.ZodOptional<z.ZodBoolean>;
607
+ }, z.core.$strip>>;
608
+ }, z.core.$strip>>;
609
+ error: z.ZodOptional<z.ZodObject<{
610
+ code: z.ZodOptional<z.ZodString>;
611
+ message: z.ZodString;
612
+ }, z.core.$strip>>;
613
+ }, z.core.$strip>>>;
614
+ }, z.core.$strip>;
615
+ }, z.core.$strip>;
616
+ 'slates/action.trigger.map_event': z.ZodObject<{
617
+ jsonrpc: z.ZodLiteral<"2.0">;
618
+ id: z.ZodString;
619
+ result: z.ZodObject<{
620
+ type: z.ZodString;
621
+ id: z.ZodString;
622
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
623
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
624
+ startedAt: z.ZodString;
625
+ durationMs: z.ZodNumber;
626
+ request: z.ZodObject<{
627
+ method: z.ZodString;
628
+ url: z.ZodString;
629
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
630
+ body: z.ZodOptional<z.ZodObject<{
631
+ contentType: z.ZodOptional<z.ZodString>;
632
+ text: z.ZodString;
633
+ truncated: z.ZodOptional<z.ZodBoolean>;
634
+ }, z.core.$strip>>;
635
+ }, z.core.$strip>;
636
+ response: z.ZodOptional<z.ZodObject<{
637
+ status: z.ZodNumber;
638
+ statusText: z.ZodOptional<z.ZodString>;
639
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
640
+ body: z.ZodOptional<z.ZodObject<{
641
+ contentType: z.ZodOptional<z.ZodString>;
642
+ text: z.ZodString;
643
+ truncated: z.ZodOptional<z.ZodBoolean>;
644
+ }, z.core.$strip>>;
645
+ }, z.core.$strip>>;
646
+ error: z.ZodOptional<z.ZodObject<{
647
+ code: z.ZodOptional<z.ZodString>;
648
+ message: z.ZodString;
649
+ }, z.core.$strip>>;
650
+ }, z.core.$strip>>>;
651
+ }, z.core.$strip>;
652
+ }, z.core.$strip>;
653
+ 'slates/action.trigger.poll_events': z.ZodObject<{
654
+ jsonrpc: z.ZodLiteral<"2.0">;
655
+ id: z.ZodString;
656
+ result: z.ZodObject<{
657
+ inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
658
+ updatedState: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
659
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
660
+ startedAt: z.ZodString;
661
+ durationMs: z.ZodNumber;
662
+ request: z.ZodObject<{
663
+ method: z.ZodString;
664
+ url: z.ZodString;
665
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
666
+ body: z.ZodOptional<z.ZodObject<{
667
+ contentType: z.ZodOptional<z.ZodString>;
668
+ text: z.ZodString;
669
+ truncated: z.ZodOptional<z.ZodBoolean>;
670
+ }, z.core.$strip>>;
671
+ }, z.core.$strip>;
672
+ response: z.ZodOptional<z.ZodObject<{
673
+ status: z.ZodNumber;
674
+ statusText: z.ZodOptional<z.ZodString>;
675
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
676
+ body: z.ZodOptional<z.ZodObject<{
677
+ contentType: z.ZodOptional<z.ZodString>;
678
+ text: z.ZodString;
679
+ truncated: z.ZodOptional<z.ZodBoolean>;
680
+ }, z.core.$strip>>;
681
+ }, z.core.$strip>>;
682
+ error: z.ZodOptional<z.ZodObject<{
683
+ code: z.ZodOptional<z.ZodString>;
684
+ message: z.ZodString;
685
+ }, z.core.$strip>>;
686
+ }, z.core.$strip>>>;
687
+ }, z.core.$strip>;
688
+ }, z.core.$strip>;
689
+ 'slates/action.trigger.webhook_handle': z.ZodObject<{
690
+ jsonrpc: z.ZodLiteral<"2.0">;
691
+ id: z.ZodString;
692
+ result: z.ZodObject<{
693
+ inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
694
+ updatedState: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
695
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
696
+ startedAt: z.ZodString;
697
+ durationMs: z.ZodNumber;
698
+ request: z.ZodObject<{
699
+ method: z.ZodString;
700
+ url: z.ZodString;
701
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
702
+ body: z.ZodOptional<z.ZodObject<{
703
+ contentType: z.ZodOptional<z.ZodString>;
704
+ text: z.ZodString;
705
+ truncated: z.ZodOptional<z.ZodBoolean>;
706
+ }, z.core.$strip>>;
707
+ }, z.core.$strip>;
708
+ response: z.ZodOptional<z.ZodObject<{
709
+ status: z.ZodNumber;
710
+ statusText: z.ZodOptional<z.ZodString>;
711
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
712
+ body: z.ZodOptional<z.ZodObject<{
713
+ contentType: z.ZodOptional<z.ZodString>;
714
+ text: z.ZodString;
715
+ truncated: z.ZodOptional<z.ZodBoolean>;
716
+ }, z.core.$strip>>;
717
+ }, z.core.$strip>>;
718
+ error: z.ZodOptional<z.ZodObject<{
719
+ code: z.ZodOptional<z.ZodString>;
720
+ message: z.ZodString;
721
+ }, z.core.$strip>>;
722
+ }, z.core.$strip>>>;
723
+ }, z.core.$strip>;
724
+ }, z.core.$strip>;
725
+ 'slates/action.trigger.webhook_register': z.ZodObject<{
726
+ jsonrpc: z.ZodLiteral<"2.0">;
727
+ id: z.ZodString;
728
+ result: z.ZodObject<{
729
+ registrationDetails: z.ZodAny;
730
+ state: z.ZodOptional<z.ZodAny>;
731
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
732
+ startedAt: z.ZodString;
733
+ durationMs: z.ZodNumber;
734
+ request: z.ZodObject<{
735
+ method: z.ZodString;
736
+ url: z.ZodString;
737
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
738
+ body: z.ZodOptional<z.ZodObject<{
739
+ contentType: z.ZodOptional<z.ZodString>;
740
+ text: z.ZodString;
741
+ truncated: z.ZodOptional<z.ZodBoolean>;
742
+ }, z.core.$strip>>;
743
+ }, z.core.$strip>;
744
+ response: z.ZodOptional<z.ZodObject<{
745
+ status: z.ZodNumber;
746
+ statusText: z.ZodOptional<z.ZodString>;
747
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
748
+ body: z.ZodOptional<z.ZodObject<{
749
+ contentType: z.ZodOptional<z.ZodString>;
750
+ text: z.ZodString;
751
+ truncated: z.ZodOptional<z.ZodBoolean>;
752
+ }, z.core.$strip>>;
753
+ }, z.core.$strip>>;
754
+ error: z.ZodOptional<z.ZodObject<{
755
+ code: z.ZodOptional<z.ZodString>;
756
+ message: z.ZodString;
757
+ }, z.core.$strip>>;
758
+ }, z.core.$strip>>>;
759
+ }, z.core.$strip>;
760
+ }, z.core.$strip>;
761
+ 'slates/action.trigger.webhook_unregister': z.ZodObject<{
762
+ jsonrpc: z.ZodLiteral<"2.0">;
763
+ id: z.ZodString;
764
+ result: z.ZodObject<{
765
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
766
+ startedAt: z.ZodString;
767
+ durationMs: z.ZodNumber;
768
+ request: z.ZodObject<{
769
+ method: z.ZodString;
770
+ url: z.ZodString;
771
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
772
+ body: z.ZodOptional<z.ZodObject<{
773
+ contentType: z.ZodOptional<z.ZodString>;
774
+ text: z.ZodString;
775
+ truncated: z.ZodOptional<z.ZodBoolean>;
776
+ }, z.core.$strip>>;
777
+ }, z.core.$strip>;
778
+ response: z.ZodOptional<z.ZodObject<{
779
+ status: z.ZodNumber;
780
+ statusText: z.ZodOptional<z.ZodString>;
781
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
782
+ body: z.ZodOptional<z.ZodObject<{
783
+ contentType: z.ZodOptional<z.ZodString>;
784
+ text: z.ZodString;
785
+ truncated: z.ZodOptional<z.ZodBoolean>;
786
+ }, z.core.$strip>>;
787
+ }, z.core.$strip>>;
788
+ error: z.ZodOptional<z.ZodObject<{
789
+ code: z.ZodOptional<z.ZodString>;
790
+ message: z.ZodString;
791
+ }, z.core.$strip>>;
792
+ }, z.core.$strip>>>;
793
+ }, z.core.$strip>;
794
+ }, z.core.$strip>;
795
+ };
796
+ declare let slatesActionRequestsByMethod: {
797
+ 'slates/actions.list': z.ZodObject<{
798
+ jsonrpc: z.ZodLiteral<"2.0">;
799
+ method: z.ZodLiteral<"slates/actions.list">;
800
+ id: z.ZodString;
801
+ params: z.ZodObject<{}, z.core.$strip>;
802
+ }, z.core.$strip>;
803
+ 'slates/action.get': z.ZodObject<{
804
+ jsonrpc: z.ZodLiteral<"2.0">;
805
+ method: z.ZodLiteral<"slates/action.get">;
806
+ id: z.ZodString;
807
+ params: z.ZodObject<{
808
+ actionId: z.ZodString;
809
+ }, z.core.$strip>;
810
+ }, z.core.$strip>;
811
+ 'slates/action.tool.invoke': z.ZodObject<{
812
+ jsonrpc: z.ZodLiteral<"2.0">;
813
+ method: z.ZodLiteral<"slates/action.tool.invoke">;
814
+ id: z.ZodString;
815
+ params: z.ZodObject<{
816
+ actionId: z.ZodString;
817
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
818
+ }, z.core.$strip>;
819
+ }, z.core.$strip>;
820
+ 'slates/action.trigger.map_event': z.ZodObject<{
821
+ jsonrpc: z.ZodLiteral<"2.0">;
822
+ method: z.ZodLiteral<"slates/action.trigger.map_event">;
823
+ id: z.ZodString;
824
+ params: z.ZodObject<{
825
+ actionId: z.ZodString;
826
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
827
+ }, z.core.$strip>;
828
+ }, z.core.$strip>;
829
+ 'slates/action.trigger.poll_events': z.ZodObject<{
830
+ jsonrpc: z.ZodLiteral<"2.0">;
831
+ method: z.ZodLiteral<"slates/action.trigger.poll_events">;
832
+ id: z.ZodString;
833
+ params: z.ZodObject<{
834
+ actionId: z.ZodString;
835
+ state: z.ZodNullable<z.ZodAny>;
836
+ }, z.core.$strip>;
837
+ }, z.core.$strip>;
838
+ 'slates/action.trigger.webhook_handle': z.ZodObject<{
839
+ jsonrpc: z.ZodLiteral<"2.0">;
840
+ method: z.ZodLiteral<"slates/action.trigger.webhook_handle">;
841
+ id: z.ZodString;
842
+ params: z.ZodObject<{
843
+ actionId: z.ZodString;
844
+ url: z.ZodString;
845
+ method: z.ZodString;
846
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
847
+ body: z.ZodNullable<z.ZodObject<{
848
+ encoding: z.ZodLiteral<"base64">;
849
+ content: z.ZodString;
850
+ }, z.core.$strip>>;
851
+ state: z.ZodNullable<z.ZodAny>;
852
+ }, z.core.$strip>;
853
+ }, z.core.$strip>;
854
+ 'slates/action.trigger.webhook_register': z.ZodObject<{
855
+ jsonrpc: z.ZodLiteral<"2.0">;
856
+ method: z.ZodLiteral<"slates/action.trigger.webhook_register">;
857
+ id: z.ZodString;
858
+ params: z.ZodObject<{
859
+ actionId: z.ZodString;
860
+ webhookBaseUrl: z.ZodString;
861
+ }, z.core.$strip>;
862
+ }, z.core.$strip>;
863
+ 'slates/action.trigger.webhook_unregister': z.ZodObject<{
864
+ jsonrpc: z.ZodLiteral<"2.0">;
865
+ method: z.ZodLiteral<"slates/action.trigger.webhook_unregister">;
866
+ id: z.ZodString;
867
+ params: z.ZodObject<{
868
+ actionId: z.ZodString;
869
+ webhookBaseUrl: z.ZodString;
870
+ registrationDetails: z.ZodAny;
871
+ state: z.ZodOptional<z.ZodAny>;
872
+ }, z.core.$strip>;
873
+ }, z.core.$strip>;
874
+ };
875
+
876
+ /**
877
+ * Set Authentication
878
+ */
879
+ declare let slatesMessageSetAuthNotification: z.ZodObject<{
880
+ jsonrpc: z.ZodLiteral<"2.0">;
881
+ method: z.ZodLiteral<"slates/auth.set">;
882
+ params: z.ZodObject<{
883
+ authenticationMethodId: z.ZodString;
884
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
885
+ }, z.core.$strip>;
886
+ }, z.core.$strip>;
887
+ type SlatesMessageSetAuthNotification = z.infer<typeof slatesMessageSetAuthNotification>;
888
+ /**
889
+ * List Authentication Methods
890
+ */
891
+ declare let slatesMessageAuthMethodsListRequest: z.ZodObject<{
892
+ jsonrpc: z.ZodLiteral<"2.0">;
893
+ method: z.ZodLiteral<"slates/auth.methods.list">;
894
+ id: z.ZodString;
895
+ params: z.ZodObject<{}, z.core.$strip>;
896
+ }, z.core.$strip>;
897
+ type SlatesMessageAuthMethodsListRequest = z.infer<typeof slatesMessageAuthMethodsListRequest>;
898
+ declare let slatesMessageAuthMethodsListResponse: z.ZodObject<{
899
+ jsonrpc: z.ZodLiteral<"2.0">;
900
+ id: z.ZodString;
901
+ result: z.ZodObject<{
902
+ authenticationMethods: z.ZodArray<z.ZodObject<{
903
+ id: z.ZodString;
904
+ name: z.ZodString;
905
+ type: z.ZodUnion<readonly [z.ZodLiteral<"auth.oauth">, z.ZodLiteral<"auth.token">, z.ZodLiteral<"auth.service_account">, z.ZodLiteral<"auth.custom">]>;
906
+ scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
907
+ id: z.ZodString;
908
+ title: z.ZodString;
909
+ description: z.ZodOptional<z.ZodString>;
910
+ }, z.core.$strip>>>;
911
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
912
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
913
+ capabilities: z.ZodObject<{
914
+ getDefaultInput: z.ZodOptional<z.ZodObject<{
915
+ enabled: z.ZodBoolean;
916
+ }, z.core.$strip>>;
917
+ handleChangedInput: z.ZodOptional<z.ZodObject<{
918
+ enabled: z.ZodBoolean;
919
+ }, z.core.$strip>>;
920
+ handleTokenRefresh: z.ZodOptional<z.ZodObject<{
921
+ enabled: z.ZodBoolean;
922
+ }, z.core.$strip>>;
923
+ getProfile: z.ZodOptional<z.ZodObject<{
924
+ enabled: z.ZodBoolean;
925
+ }, z.core.$strip>>;
926
+ }, z.core.$strip>;
927
+ }, z.core.$strip>>;
928
+ }, z.core.$strip>;
929
+ }, z.core.$strip>;
930
+ type SlatesMessageAuthMethodsListResponse = z.infer<typeof slatesMessageAuthMethodsListResponse>;
931
+ /**
932
+ * Get Authentication Method
933
+ */
934
+ declare let slatesMessageAuthMethodGetRequest: z.ZodObject<{
935
+ jsonrpc: z.ZodLiteral<"2.0">;
936
+ method: z.ZodLiteral<"slates/auth.method.get">;
937
+ id: z.ZodString;
938
+ params: z.ZodObject<{
939
+ authenticationMethodId: z.ZodString;
940
+ }, z.core.$strip>;
941
+ }, z.core.$strip>;
942
+ type SlatesMessageAuthMethodGetRequest = z.infer<typeof slatesMessageAuthMethodGetRequest>;
943
+ declare let slatesMessageAuthMethodGetResponse: z.ZodObject<{
944
+ jsonrpc: z.ZodLiteral<"2.0">;
945
+ id: z.ZodString;
946
+ result: z.ZodObject<{
947
+ authenticationMethod: z.ZodObject<{
948
+ id: z.ZodString;
949
+ name: z.ZodString;
950
+ type: z.ZodUnion<readonly [z.ZodLiteral<"auth.oauth">, z.ZodLiteral<"auth.token">, z.ZodLiteral<"auth.service_account">, z.ZodLiteral<"auth.custom">]>;
951
+ scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
952
+ id: z.ZodString;
953
+ title: z.ZodString;
954
+ description: z.ZodOptional<z.ZodString>;
955
+ }, z.core.$strip>>>;
956
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
957
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
958
+ capabilities: z.ZodObject<{
959
+ getDefaultInput: z.ZodOptional<z.ZodObject<{
960
+ enabled: z.ZodBoolean;
961
+ }, z.core.$strip>>;
962
+ handleChangedInput: z.ZodOptional<z.ZodObject<{
963
+ enabled: z.ZodBoolean;
964
+ }, z.core.$strip>>;
965
+ handleTokenRefresh: z.ZodOptional<z.ZodObject<{
966
+ enabled: z.ZodBoolean;
967
+ }, z.core.$strip>>;
968
+ getProfile: z.ZodOptional<z.ZodObject<{
969
+ enabled: z.ZodBoolean;
970
+ }, z.core.$strip>>;
971
+ }, z.core.$strip>;
972
+ }, z.core.$strip>;
973
+ }, z.core.$strip>;
974
+ }, z.core.$strip>;
975
+ type SlatesMessageAuthMethodGetResponse = z.infer<typeof slatesMessageAuthMethodGetResponse>;
976
+ /**
977
+ * Authentication Input Changed
978
+ */
979
+ declare let slatesMessageAuthInputChangedRequest: z.ZodObject<{
980
+ jsonrpc: z.ZodLiteral<"2.0">;
981
+ method: z.ZodLiteral<"slates/auth.input.changed">;
982
+ id: z.ZodString;
983
+ params: z.ZodObject<{
984
+ authenticationMethodId: z.ZodString;
985
+ previousInput: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
986
+ newInput: z.ZodRecord<z.ZodString, z.ZodAny>;
987
+ }, z.core.$strip>;
988
+ }, z.core.$strip>;
989
+ type SlatesMessageAuthInputChangedRequest = z.infer<typeof slatesMessageAuthInputChangedRequest>;
990
+ declare let slatesMessageAuthInputChangedResponse: z.ZodObject<{
991
+ jsonrpc: z.ZodLiteral<"2.0">;
992
+ id: z.ZodString;
993
+ result: z.ZodObject<{
994
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
995
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
996
+ startedAt: z.ZodString;
997
+ durationMs: z.ZodNumber;
998
+ request: z.ZodObject<{
999
+ method: z.ZodString;
1000
+ url: z.ZodString;
1001
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1002
+ body: z.ZodOptional<z.ZodObject<{
1003
+ contentType: z.ZodOptional<z.ZodString>;
1004
+ text: z.ZodString;
1005
+ truncated: z.ZodOptional<z.ZodBoolean>;
1006
+ }, z.core.$strip>>;
1007
+ }, z.core.$strip>;
1008
+ response: z.ZodOptional<z.ZodObject<{
1009
+ status: z.ZodNumber;
1010
+ statusText: z.ZodOptional<z.ZodString>;
1011
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1012
+ body: z.ZodOptional<z.ZodObject<{
1013
+ contentType: z.ZodOptional<z.ZodString>;
1014
+ text: z.ZodString;
1015
+ truncated: z.ZodOptional<z.ZodBoolean>;
1016
+ }, z.core.$strip>>;
1017
+ }, z.core.$strip>>;
1018
+ error: z.ZodOptional<z.ZodObject<{
1019
+ code: z.ZodOptional<z.ZodString>;
1020
+ message: z.ZodString;
1021
+ }, z.core.$strip>>;
1022
+ }, z.core.$strip>>>;
1023
+ }, z.core.$strip>;
1024
+ }, z.core.$strip>;
1025
+ type SlatesMessageAuthInputChangedResponse = z.infer<typeof slatesMessageAuthInputChangedResponse>;
1026
+ /**
1027
+ * Get Default Inputs
1028
+ */
1029
+ declare let slatesMessageAuthDefaultInputGetRequest: z.ZodObject<{
1030
+ jsonrpc: z.ZodLiteral<"2.0">;
1031
+ method: z.ZodLiteral<"slates/auth.input.get_default">;
1032
+ id: z.ZodString;
1033
+ params: z.ZodObject<{
1034
+ authenticationMethodId: z.ZodString;
1035
+ }, z.core.$strip>;
1036
+ }, z.core.$strip>;
1037
+ type SlatesMessageAuthDefaultInputGetRequest = z.infer<typeof slatesMessageAuthDefaultInputGetRequest>;
1038
+ declare let slatesMessageAuthDefaultInputGetResponse: z.ZodObject<{
1039
+ jsonrpc: z.ZodLiteral<"2.0">;
1040
+ id: z.ZodString;
1041
+ result: z.ZodObject<{
1042
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1043
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1044
+ startedAt: z.ZodString;
1045
+ durationMs: z.ZodNumber;
1046
+ request: z.ZodObject<{
1047
+ method: z.ZodString;
1048
+ url: z.ZodString;
1049
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1050
+ body: z.ZodOptional<z.ZodObject<{
1051
+ contentType: z.ZodOptional<z.ZodString>;
1052
+ text: z.ZodString;
1053
+ truncated: z.ZodOptional<z.ZodBoolean>;
1054
+ }, z.core.$strip>>;
1055
+ }, z.core.$strip>;
1056
+ response: z.ZodOptional<z.ZodObject<{
1057
+ status: z.ZodNumber;
1058
+ statusText: z.ZodOptional<z.ZodString>;
1059
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1060
+ body: z.ZodOptional<z.ZodObject<{
1061
+ contentType: z.ZodOptional<z.ZodString>;
1062
+ text: z.ZodString;
1063
+ truncated: z.ZodOptional<z.ZodBoolean>;
1064
+ }, z.core.$strip>>;
1065
+ }, z.core.$strip>>;
1066
+ error: z.ZodOptional<z.ZodObject<{
1067
+ code: z.ZodOptional<z.ZodString>;
1068
+ message: z.ZodString;
1069
+ }, z.core.$strip>>;
1070
+ }, z.core.$strip>>>;
1071
+ }, z.core.$strip>;
1072
+ }, z.core.$strip>;
1073
+ type SlatesMessageAuthDefaultInputGetResponse = z.infer<typeof slatesMessageAuthDefaultInputGetResponse>;
1074
+ /**
1075
+ * Get Authorization Url
1076
+ */
1077
+ declare let slatesMessageAuthAuthorizationUrlGetRequest: z.ZodObject<{
1078
+ jsonrpc: z.ZodLiteral<"2.0">;
1079
+ method: z.ZodLiteral<"slates/auth.authorization_url.get">;
1080
+ id: z.ZodString;
1081
+ params: z.ZodObject<{
1082
+ authenticationMethodId: z.ZodString;
1083
+ redirectUri: z.ZodString;
1084
+ state: z.ZodString;
1085
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1086
+ clientId: z.ZodString;
1087
+ clientSecret: z.ZodString;
1088
+ scopes: z.ZodArray<z.ZodString>;
1089
+ }, z.core.$strip>;
1090
+ }, z.core.$strip>;
1091
+ type SlatesMessageAuthAuthorizationUrlGetRequest = z.infer<typeof slatesMessageAuthAuthorizationUrlGetRequest>;
1092
+ declare let slatesMessageAuthAuthorizationUrlGetResponse: z.ZodObject<{
1093
+ jsonrpc: z.ZodLiteral<"2.0">;
1094
+ id: z.ZodString;
1095
+ result: z.ZodObject<{
1096
+ authorizationUrl: z.ZodString;
1097
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1098
+ callbackState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1099
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1100
+ startedAt: z.ZodString;
1101
+ durationMs: z.ZodNumber;
1102
+ request: z.ZodObject<{
1103
+ method: z.ZodString;
1104
+ url: z.ZodString;
1105
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1106
+ body: z.ZodOptional<z.ZodObject<{
1107
+ contentType: z.ZodOptional<z.ZodString>;
1108
+ text: z.ZodString;
1109
+ truncated: z.ZodOptional<z.ZodBoolean>;
1110
+ }, z.core.$strip>>;
1111
+ }, z.core.$strip>;
1112
+ response: z.ZodOptional<z.ZodObject<{
1113
+ status: z.ZodNumber;
1114
+ statusText: z.ZodOptional<z.ZodString>;
1115
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1116
+ body: z.ZodOptional<z.ZodObject<{
1117
+ contentType: z.ZodOptional<z.ZodString>;
1118
+ text: z.ZodString;
1119
+ truncated: z.ZodOptional<z.ZodBoolean>;
1120
+ }, z.core.$strip>>;
1121
+ }, z.core.$strip>>;
1122
+ error: z.ZodOptional<z.ZodObject<{
1123
+ code: z.ZodOptional<z.ZodString>;
1124
+ message: z.ZodString;
1125
+ }, z.core.$strip>>;
1126
+ }, z.core.$strip>>>;
1127
+ }, z.core.$strip>;
1128
+ }, z.core.$strip>;
1129
+ type SlatesMessageAuthAuthorizationUrlGetResponse = z.infer<typeof slatesMessageAuthAuthorizationUrlGetResponse>;
1130
+ /**
1131
+ * Handle Authorization Callback
1132
+ */
1133
+ declare let slatesMessageAuthAuthorizationCallbackHandleRequest: z.ZodObject<{
1134
+ jsonrpc: z.ZodLiteral<"2.0">;
1135
+ method: z.ZodLiteral<"slates/auth.authorization_callback.handle">;
1136
+ id: z.ZodString;
1137
+ params: z.ZodObject<{
1138
+ authenticationMethodId: z.ZodString;
1139
+ code: z.ZodString;
1140
+ state: z.ZodString;
1141
+ redirectUri: z.ZodString;
1142
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1143
+ clientId: z.ZodString;
1144
+ clientSecret: z.ZodString;
1145
+ scopes: z.ZodArray<z.ZodString>;
1146
+ callbackState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1147
+ }, z.core.$strip>;
1148
+ }, z.core.$strip>;
1149
+ type SlatesMessageAuthAuthorizationCallbackHandleRequest = z.infer<typeof slatesMessageAuthAuthorizationCallbackHandleRequest>;
1150
+ declare let slatesMessageAuthAuthorizationCallbackHandleResponse: z.ZodObject<{
1151
+ jsonrpc: z.ZodLiteral<"2.0">;
1152
+ id: z.ZodString;
1153
+ result: z.ZodObject<{
1154
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
1155
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1156
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1157
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1158
+ startedAt: z.ZodString;
1159
+ durationMs: z.ZodNumber;
1160
+ request: z.ZodObject<{
1161
+ method: z.ZodString;
1162
+ url: z.ZodString;
1163
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1164
+ body: z.ZodOptional<z.ZodObject<{
1165
+ contentType: z.ZodOptional<z.ZodString>;
1166
+ text: z.ZodString;
1167
+ truncated: z.ZodOptional<z.ZodBoolean>;
1168
+ }, z.core.$strip>>;
1169
+ }, z.core.$strip>;
1170
+ response: z.ZodOptional<z.ZodObject<{
1171
+ status: z.ZodNumber;
1172
+ statusText: z.ZodOptional<z.ZodString>;
1173
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1174
+ body: z.ZodOptional<z.ZodObject<{
1175
+ contentType: z.ZodOptional<z.ZodString>;
1176
+ text: z.ZodString;
1177
+ truncated: z.ZodOptional<z.ZodBoolean>;
1178
+ }, z.core.$strip>>;
1179
+ }, z.core.$strip>>;
1180
+ error: z.ZodOptional<z.ZodObject<{
1181
+ code: z.ZodOptional<z.ZodString>;
1182
+ message: z.ZodString;
1183
+ }, z.core.$strip>>;
1184
+ }, z.core.$strip>>>;
1185
+ }, z.core.$strip>;
1186
+ }, z.core.$strip>;
1187
+ type SlatesMessageAuthAuthorizationCallbackHandleResponse = z.infer<typeof slatesMessageAuthAuthorizationCallbackHandleResponse>;
1188
+ /**
1189
+ * Handle Token Refresh
1190
+ */
1191
+ declare let slatesMessageAuthTokenRefreshHandleRequest: z.ZodObject<{
1192
+ jsonrpc: z.ZodLiteral<"2.0">;
1193
+ method: z.ZodLiteral<"slates/auth.token_refresh.handle">;
1194
+ id: z.ZodString;
1195
+ params: z.ZodObject<{
1196
+ authenticationMethodId: z.ZodString;
1197
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
1198
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1199
+ clientId: z.ZodString;
1200
+ clientSecret: z.ZodString;
1201
+ scopes: z.ZodArray<z.ZodString>;
1202
+ }, z.core.$strip>;
1203
+ }, z.core.$strip>;
1204
+ type SlatesMessageAuthTokenRefreshHandleRequest = z.infer<typeof slatesMessageAuthTokenRefreshHandleRequest>;
1205
+ declare let slatesMessageAuthTokenRefreshHandleResponse: z.ZodObject<{
1206
+ jsonrpc: z.ZodLiteral<"2.0">;
1207
+ id: z.ZodString;
1208
+ result: z.ZodObject<{
1209
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
1210
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1211
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1212
+ startedAt: z.ZodString;
1213
+ durationMs: z.ZodNumber;
1214
+ request: z.ZodObject<{
1215
+ method: z.ZodString;
1216
+ url: z.ZodString;
1217
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1218
+ body: z.ZodOptional<z.ZodObject<{
1219
+ contentType: z.ZodOptional<z.ZodString>;
1220
+ text: z.ZodString;
1221
+ truncated: z.ZodOptional<z.ZodBoolean>;
1222
+ }, z.core.$strip>>;
1223
+ }, z.core.$strip>;
1224
+ response: z.ZodOptional<z.ZodObject<{
1225
+ status: z.ZodNumber;
1226
+ statusText: z.ZodOptional<z.ZodString>;
1227
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1228
+ body: z.ZodOptional<z.ZodObject<{
1229
+ contentType: z.ZodOptional<z.ZodString>;
1230
+ text: z.ZodString;
1231
+ truncated: z.ZodOptional<z.ZodBoolean>;
1232
+ }, z.core.$strip>>;
1233
+ }, z.core.$strip>>;
1234
+ error: z.ZodOptional<z.ZodObject<{
1235
+ code: z.ZodOptional<z.ZodString>;
1236
+ message: z.ZodString;
1237
+ }, z.core.$strip>>;
1238
+ }, z.core.$strip>>>;
1239
+ }, z.core.$strip>;
1240
+ }, z.core.$strip>;
1241
+ type SlatesMessageAuthTokenRefreshHandleResponse = z.infer<typeof slatesMessageAuthTokenRefreshHandleResponse>;
1242
+ /**
1243
+ * Get Profile
1244
+ */
1245
+ declare let slatesMessageAuthProfileGetRequest: z.ZodObject<{
1246
+ jsonrpc: z.ZodLiteral<"2.0">;
1247
+ method: z.ZodLiteral<"slates/auth.profile.get">;
1248
+ id: z.ZodString;
1249
+ params: z.ZodObject<{
1250
+ authenticationMethodId: z.ZodString;
1251
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
1252
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1253
+ scopes: z.ZodArray<z.ZodString>;
1254
+ }, z.core.$strip>;
1255
+ }, z.core.$strip>;
1256
+ type SlatesMessageAuthProfileGetRequest = z.infer<typeof slatesMessageAuthProfileGetRequest>;
1257
+ declare let slatesMessageAuthProfileGetResponse: z.ZodObject<{
1258
+ jsonrpc: z.ZodLiteral<"2.0">;
1259
+ id: z.ZodString;
1260
+ result: z.ZodObject<{
1261
+ profile: z.ZodRecord<z.ZodString, z.ZodAny>;
1262
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1263
+ startedAt: z.ZodString;
1264
+ durationMs: z.ZodNumber;
1265
+ request: z.ZodObject<{
1266
+ method: z.ZodString;
1267
+ url: z.ZodString;
1268
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1269
+ body: z.ZodOptional<z.ZodObject<{
1270
+ contentType: z.ZodOptional<z.ZodString>;
1271
+ text: z.ZodString;
1272
+ truncated: z.ZodOptional<z.ZodBoolean>;
1273
+ }, z.core.$strip>>;
1274
+ }, z.core.$strip>;
1275
+ response: z.ZodOptional<z.ZodObject<{
1276
+ status: z.ZodNumber;
1277
+ statusText: z.ZodOptional<z.ZodString>;
1278
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1279
+ body: z.ZodOptional<z.ZodObject<{
1280
+ contentType: z.ZodOptional<z.ZodString>;
1281
+ text: z.ZodString;
1282
+ truncated: z.ZodOptional<z.ZodBoolean>;
1283
+ }, z.core.$strip>>;
1284
+ }, z.core.$strip>>;
1285
+ error: z.ZodOptional<z.ZodObject<{
1286
+ code: z.ZodOptional<z.ZodString>;
1287
+ message: z.ZodString;
1288
+ }, z.core.$strip>>;
1289
+ }, z.core.$strip>>>;
1290
+ }, z.core.$strip>;
1291
+ }, z.core.$strip>;
1292
+ type SlatesMessageAuthProfileGetResponse = z.infer<typeof slatesMessageAuthProfileGetResponse>;
1293
+ /**
1294
+ * Get Auth Output
1295
+ */
1296
+ declare let slatesMessageAuthOutputGetRequest: z.ZodObject<{
1297
+ jsonrpc: z.ZodLiteral<"2.0">;
1298
+ method: z.ZodLiteral<"slates/auth.output.get">;
1299
+ id: z.ZodString;
1300
+ params: z.ZodObject<{
1301
+ authenticationMethodId: z.ZodString;
1302
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1303
+ }, z.core.$strip>;
1304
+ }, z.core.$strip>;
1305
+ type SlatesMessageAuthOutputGetRequest = z.infer<typeof slatesMessageAuthOutputGetRequest>;
1306
+ declare let slatesMessageAuthOutputGetResponse: z.ZodObject<{
1307
+ jsonrpc: z.ZodLiteral<"2.0">;
1308
+ id: z.ZodString;
1309
+ result: z.ZodObject<{
1310
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
1311
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1312
+ startedAt: z.ZodString;
1313
+ durationMs: z.ZodNumber;
1314
+ request: z.ZodObject<{
1315
+ method: z.ZodString;
1316
+ url: z.ZodString;
1317
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1318
+ body: z.ZodOptional<z.ZodObject<{
1319
+ contentType: z.ZodOptional<z.ZodString>;
1320
+ text: z.ZodString;
1321
+ truncated: z.ZodOptional<z.ZodBoolean>;
1322
+ }, z.core.$strip>>;
1323
+ }, z.core.$strip>;
1324
+ response: z.ZodOptional<z.ZodObject<{
1325
+ status: z.ZodNumber;
1326
+ statusText: z.ZodOptional<z.ZodString>;
1327
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1328
+ body: z.ZodOptional<z.ZodObject<{
1329
+ contentType: z.ZodOptional<z.ZodString>;
1330
+ text: z.ZodString;
1331
+ truncated: z.ZodOptional<z.ZodBoolean>;
1332
+ }, z.core.$strip>>;
1333
+ }, z.core.$strip>>;
1334
+ error: z.ZodOptional<z.ZodObject<{
1335
+ code: z.ZodOptional<z.ZodString>;
1336
+ message: z.ZodString;
1337
+ }, z.core.$strip>>;
1338
+ }, z.core.$strip>>>;
1339
+ }, z.core.$strip>;
1340
+ }, z.core.$strip>;
1341
+ type SlatesMessageAuthOutputGetResponse = z.infer<typeof slatesMessageAuthOutputGetResponse>;
1342
+ type SlatesAuthRequests = SlatesMessageAuthMethodsListRequest | SlatesMessageAuthMethodGetRequest | SlatesMessageAuthInputChangedRequest | SlatesMessageAuthDefaultInputGetRequest | SlatesMessageAuthAuthorizationUrlGetRequest | SlatesMessageAuthAuthorizationCallbackHandleRequest | SlatesMessageAuthTokenRefreshHandleRequest | SlatesMessageAuthProfileGetRequest | SlatesMessageAuthOutputGetRequest;
1343
+ type SlatesAuthResponses = SlatesMessageAuthMethodsListResponse | SlatesMessageAuthMethodGetResponse | SlatesMessageAuthInputChangedResponse | SlatesMessageAuthDefaultInputGetResponse | SlatesMessageAuthAuthorizationUrlGetResponse | SlatesMessageAuthAuthorizationCallbackHandleResponse | SlatesMessageAuthTokenRefreshHandleResponse | SlatesMessageAuthProfileGetResponse | SlatesMessageAuthOutputGetResponse;
1344
+ type SlatesAuthNotifications = SlatesMessageSetAuthNotification;
1345
+ declare let slatesAuthResponsesByMethod: {
1346
+ 'slates/auth.methods.list': z.ZodObject<{
1347
+ jsonrpc: z.ZodLiteral<"2.0">;
1348
+ id: z.ZodString;
1349
+ result: z.ZodObject<{
1350
+ authenticationMethods: z.ZodArray<z.ZodObject<{
1351
+ id: z.ZodString;
1352
+ name: z.ZodString;
1353
+ type: z.ZodUnion<readonly [z.ZodLiteral<"auth.oauth">, z.ZodLiteral<"auth.token">, z.ZodLiteral<"auth.service_account">, z.ZodLiteral<"auth.custom">]>;
1354
+ scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1355
+ id: z.ZodString;
1356
+ title: z.ZodString;
1357
+ description: z.ZodOptional<z.ZodString>;
1358
+ }, z.core.$strip>>>;
1359
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1360
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1361
+ capabilities: z.ZodObject<{
1362
+ getDefaultInput: z.ZodOptional<z.ZodObject<{
1363
+ enabled: z.ZodBoolean;
1364
+ }, z.core.$strip>>;
1365
+ handleChangedInput: z.ZodOptional<z.ZodObject<{
1366
+ enabled: z.ZodBoolean;
1367
+ }, z.core.$strip>>;
1368
+ handleTokenRefresh: z.ZodOptional<z.ZodObject<{
1369
+ enabled: z.ZodBoolean;
1370
+ }, z.core.$strip>>;
1371
+ getProfile: z.ZodOptional<z.ZodObject<{
1372
+ enabled: z.ZodBoolean;
1373
+ }, z.core.$strip>>;
1374
+ }, z.core.$strip>;
1375
+ }, z.core.$strip>>;
1376
+ }, z.core.$strip>;
1377
+ }, z.core.$strip>;
1378
+ 'slates/auth.method.get': z.ZodObject<{
1379
+ jsonrpc: z.ZodLiteral<"2.0">;
1380
+ id: z.ZodString;
1381
+ result: z.ZodObject<{
1382
+ authenticationMethod: z.ZodObject<{
1383
+ id: z.ZodString;
1384
+ name: z.ZodString;
1385
+ type: z.ZodUnion<readonly [z.ZodLiteral<"auth.oauth">, z.ZodLiteral<"auth.token">, z.ZodLiteral<"auth.service_account">, z.ZodLiteral<"auth.custom">]>;
1386
+ scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1387
+ id: z.ZodString;
1388
+ title: z.ZodString;
1389
+ description: z.ZodOptional<z.ZodString>;
1390
+ }, z.core.$strip>>>;
1391
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1392
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1393
+ capabilities: z.ZodObject<{
1394
+ getDefaultInput: z.ZodOptional<z.ZodObject<{
1395
+ enabled: z.ZodBoolean;
1396
+ }, z.core.$strip>>;
1397
+ handleChangedInput: z.ZodOptional<z.ZodObject<{
1398
+ enabled: z.ZodBoolean;
1399
+ }, z.core.$strip>>;
1400
+ handleTokenRefresh: z.ZodOptional<z.ZodObject<{
1401
+ enabled: z.ZodBoolean;
1402
+ }, z.core.$strip>>;
1403
+ getProfile: z.ZodOptional<z.ZodObject<{
1404
+ enabled: z.ZodBoolean;
1405
+ }, z.core.$strip>>;
1406
+ }, z.core.$strip>;
1407
+ }, z.core.$strip>;
1408
+ }, z.core.$strip>;
1409
+ }, z.core.$strip>;
1410
+ 'slates/auth.input.changed': z.ZodObject<{
1411
+ jsonrpc: z.ZodLiteral<"2.0">;
1412
+ id: z.ZodString;
1413
+ result: z.ZodObject<{
1414
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1415
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1416
+ startedAt: z.ZodString;
1417
+ durationMs: z.ZodNumber;
1418
+ request: z.ZodObject<{
1419
+ method: z.ZodString;
1420
+ url: z.ZodString;
1421
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1422
+ body: z.ZodOptional<z.ZodObject<{
1423
+ contentType: z.ZodOptional<z.ZodString>;
1424
+ text: z.ZodString;
1425
+ truncated: z.ZodOptional<z.ZodBoolean>;
1426
+ }, z.core.$strip>>;
1427
+ }, z.core.$strip>;
1428
+ response: z.ZodOptional<z.ZodObject<{
1429
+ status: z.ZodNumber;
1430
+ statusText: z.ZodOptional<z.ZodString>;
1431
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1432
+ body: z.ZodOptional<z.ZodObject<{
1433
+ contentType: z.ZodOptional<z.ZodString>;
1434
+ text: z.ZodString;
1435
+ truncated: z.ZodOptional<z.ZodBoolean>;
1436
+ }, z.core.$strip>>;
1437
+ }, z.core.$strip>>;
1438
+ error: z.ZodOptional<z.ZodObject<{
1439
+ code: z.ZodOptional<z.ZodString>;
1440
+ message: z.ZodString;
1441
+ }, z.core.$strip>>;
1442
+ }, z.core.$strip>>>;
1443
+ }, z.core.$strip>;
1444
+ }, z.core.$strip>;
1445
+ 'slates/auth.input.get_default': z.ZodObject<{
1446
+ jsonrpc: z.ZodLiteral<"2.0">;
1447
+ id: z.ZodString;
1448
+ result: z.ZodObject<{
1449
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1450
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1451
+ startedAt: z.ZodString;
1452
+ durationMs: z.ZodNumber;
1453
+ request: z.ZodObject<{
1454
+ method: z.ZodString;
1455
+ url: z.ZodString;
1456
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1457
+ body: z.ZodOptional<z.ZodObject<{
1458
+ contentType: z.ZodOptional<z.ZodString>;
1459
+ text: z.ZodString;
1460
+ truncated: z.ZodOptional<z.ZodBoolean>;
1461
+ }, z.core.$strip>>;
1462
+ }, z.core.$strip>;
1463
+ response: z.ZodOptional<z.ZodObject<{
1464
+ status: z.ZodNumber;
1465
+ statusText: z.ZodOptional<z.ZodString>;
1466
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1467
+ body: z.ZodOptional<z.ZodObject<{
1468
+ contentType: z.ZodOptional<z.ZodString>;
1469
+ text: z.ZodString;
1470
+ truncated: z.ZodOptional<z.ZodBoolean>;
1471
+ }, z.core.$strip>>;
1472
+ }, z.core.$strip>>;
1473
+ error: z.ZodOptional<z.ZodObject<{
1474
+ code: z.ZodOptional<z.ZodString>;
1475
+ message: z.ZodString;
1476
+ }, z.core.$strip>>;
1477
+ }, z.core.$strip>>>;
1478
+ }, z.core.$strip>;
1479
+ }, z.core.$strip>;
1480
+ 'slates/auth.authorization_url.get': z.ZodObject<{
1481
+ jsonrpc: z.ZodLiteral<"2.0">;
1482
+ id: z.ZodString;
1483
+ result: z.ZodObject<{
1484
+ authorizationUrl: z.ZodString;
1485
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1486
+ callbackState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1487
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1488
+ startedAt: z.ZodString;
1489
+ durationMs: z.ZodNumber;
1490
+ request: z.ZodObject<{
1491
+ method: z.ZodString;
1492
+ url: z.ZodString;
1493
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1494
+ body: z.ZodOptional<z.ZodObject<{
1495
+ contentType: z.ZodOptional<z.ZodString>;
1496
+ text: z.ZodString;
1497
+ truncated: z.ZodOptional<z.ZodBoolean>;
1498
+ }, z.core.$strip>>;
1499
+ }, z.core.$strip>;
1500
+ response: z.ZodOptional<z.ZodObject<{
1501
+ status: z.ZodNumber;
1502
+ statusText: z.ZodOptional<z.ZodString>;
1503
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1504
+ body: z.ZodOptional<z.ZodObject<{
1505
+ contentType: z.ZodOptional<z.ZodString>;
1506
+ text: z.ZodString;
1507
+ truncated: z.ZodOptional<z.ZodBoolean>;
1508
+ }, z.core.$strip>>;
1509
+ }, z.core.$strip>>;
1510
+ error: z.ZodOptional<z.ZodObject<{
1511
+ code: z.ZodOptional<z.ZodString>;
1512
+ message: z.ZodString;
1513
+ }, z.core.$strip>>;
1514
+ }, z.core.$strip>>>;
1515
+ }, z.core.$strip>;
1516
+ }, z.core.$strip>;
1517
+ 'slates/auth.authorization_callback.handle': z.ZodObject<{
1518
+ jsonrpc: z.ZodLiteral<"2.0">;
1519
+ id: z.ZodString;
1520
+ result: z.ZodObject<{
1521
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
1522
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1523
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1524
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1525
+ startedAt: z.ZodString;
1526
+ durationMs: z.ZodNumber;
1527
+ request: z.ZodObject<{
1528
+ method: z.ZodString;
1529
+ url: z.ZodString;
1530
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1531
+ body: z.ZodOptional<z.ZodObject<{
1532
+ contentType: z.ZodOptional<z.ZodString>;
1533
+ text: z.ZodString;
1534
+ truncated: z.ZodOptional<z.ZodBoolean>;
1535
+ }, z.core.$strip>>;
1536
+ }, z.core.$strip>;
1537
+ response: z.ZodOptional<z.ZodObject<{
1538
+ status: z.ZodNumber;
1539
+ statusText: z.ZodOptional<z.ZodString>;
1540
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1541
+ body: z.ZodOptional<z.ZodObject<{
1542
+ contentType: z.ZodOptional<z.ZodString>;
1543
+ text: z.ZodString;
1544
+ truncated: z.ZodOptional<z.ZodBoolean>;
1545
+ }, z.core.$strip>>;
1546
+ }, z.core.$strip>>;
1547
+ error: z.ZodOptional<z.ZodObject<{
1548
+ code: z.ZodOptional<z.ZodString>;
1549
+ message: z.ZodString;
1550
+ }, z.core.$strip>>;
1551
+ }, z.core.$strip>>>;
1552
+ }, z.core.$strip>;
1553
+ }, z.core.$strip>;
1554
+ 'slates/auth.token_refresh.handle': z.ZodObject<{
1555
+ jsonrpc: z.ZodLiteral<"2.0">;
1556
+ id: z.ZodString;
1557
+ result: z.ZodObject<{
1558
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
1559
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1560
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1561
+ startedAt: z.ZodString;
1562
+ durationMs: z.ZodNumber;
1563
+ request: z.ZodObject<{
1564
+ method: z.ZodString;
1565
+ url: z.ZodString;
1566
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1567
+ body: z.ZodOptional<z.ZodObject<{
1568
+ contentType: z.ZodOptional<z.ZodString>;
1569
+ text: z.ZodString;
1570
+ truncated: z.ZodOptional<z.ZodBoolean>;
1571
+ }, z.core.$strip>>;
1572
+ }, z.core.$strip>;
1573
+ response: z.ZodOptional<z.ZodObject<{
1574
+ status: z.ZodNumber;
1575
+ statusText: z.ZodOptional<z.ZodString>;
1576
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1577
+ body: z.ZodOptional<z.ZodObject<{
1578
+ contentType: z.ZodOptional<z.ZodString>;
1579
+ text: z.ZodString;
1580
+ truncated: z.ZodOptional<z.ZodBoolean>;
1581
+ }, z.core.$strip>>;
1582
+ }, z.core.$strip>>;
1583
+ error: z.ZodOptional<z.ZodObject<{
1584
+ code: z.ZodOptional<z.ZodString>;
1585
+ message: z.ZodString;
1586
+ }, z.core.$strip>>;
1587
+ }, z.core.$strip>>>;
1588
+ }, z.core.$strip>;
1589
+ }, z.core.$strip>;
1590
+ 'slates/auth.profile.get': z.ZodObject<{
1591
+ jsonrpc: z.ZodLiteral<"2.0">;
1592
+ id: z.ZodString;
1593
+ result: z.ZodObject<{
1594
+ profile: z.ZodRecord<z.ZodString, z.ZodAny>;
1595
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1596
+ startedAt: z.ZodString;
1597
+ durationMs: z.ZodNumber;
1598
+ request: z.ZodObject<{
1599
+ method: z.ZodString;
1600
+ url: z.ZodString;
1601
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1602
+ body: z.ZodOptional<z.ZodObject<{
1603
+ contentType: z.ZodOptional<z.ZodString>;
1604
+ text: z.ZodString;
1605
+ truncated: z.ZodOptional<z.ZodBoolean>;
1606
+ }, z.core.$strip>>;
1607
+ }, z.core.$strip>;
1608
+ response: z.ZodOptional<z.ZodObject<{
1609
+ status: z.ZodNumber;
1610
+ statusText: z.ZodOptional<z.ZodString>;
1611
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1612
+ body: z.ZodOptional<z.ZodObject<{
1613
+ contentType: z.ZodOptional<z.ZodString>;
1614
+ text: z.ZodString;
1615
+ truncated: z.ZodOptional<z.ZodBoolean>;
1616
+ }, z.core.$strip>>;
1617
+ }, z.core.$strip>>;
1618
+ error: z.ZodOptional<z.ZodObject<{
1619
+ code: z.ZodOptional<z.ZodString>;
1620
+ message: z.ZodString;
1621
+ }, z.core.$strip>>;
1622
+ }, z.core.$strip>>>;
1623
+ }, z.core.$strip>;
1624
+ }, z.core.$strip>;
1625
+ 'slates/auth.output.get': z.ZodObject<{
1626
+ jsonrpc: z.ZodLiteral<"2.0">;
1627
+ id: z.ZodString;
1628
+ result: z.ZodObject<{
1629
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
1630
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1631
+ startedAt: z.ZodString;
1632
+ durationMs: z.ZodNumber;
1633
+ request: z.ZodObject<{
1634
+ method: z.ZodString;
1635
+ url: z.ZodString;
1636
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1637
+ body: z.ZodOptional<z.ZodObject<{
1638
+ contentType: z.ZodOptional<z.ZodString>;
1639
+ text: z.ZodString;
1640
+ truncated: z.ZodOptional<z.ZodBoolean>;
1641
+ }, z.core.$strip>>;
1642
+ }, z.core.$strip>;
1643
+ response: z.ZodOptional<z.ZodObject<{
1644
+ status: z.ZodNumber;
1645
+ statusText: z.ZodOptional<z.ZodString>;
1646
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1647
+ body: z.ZodOptional<z.ZodObject<{
1648
+ contentType: z.ZodOptional<z.ZodString>;
1649
+ text: z.ZodString;
1650
+ truncated: z.ZodOptional<z.ZodBoolean>;
1651
+ }, z.core.$strip>>;
1652
+ }, z.core.$strip>>;
1653
+ error: z.ZodOptional<z.ZodObject<{
1654
+ code: z.ZodOptional<z.ZodString>;
1655
+ message: z.ZodString;
1656
+ }, z.core.$strip>>;
1657
+ }, z.core.$strip>>>;
1658
+ }, z.core.$strip>;
1659
+ }, z.core.$strip>;
1660
+ };
1661
+ declare let slatesAuthRequestsByMethod: {
1662
+ 'slates/auth.methods.list': z.ZodObject<{
1663
+ jsonrpc: z.ZodLiteral<"2.0">;
1664
+ method: z.ZodLiteral<"slates/auth.methods.list">;
1665
+ id: z.ZodString;
1666
+ params: z.ZodObject<{}, z.core.$strip>;
1667
+ }, z.core.$strip>;
1668
+ 'slates/auth.method.get': z.ZodObject<{
1669
+ jsonrpc: z.ZodLiteral<"2.0">;
1670
+ method: z.ZodLiteral<"slates/auth.method.get">;
1671
+ id: z.ZodString;
1672
+ params: z.ZodObject<{
1673
+ authenticationMethodId: z.ZodString;
1674
+ }, z.core.$strip>;
1675
+ }, z.core.$strip>;
1676
+ 'slates/auth.input.changed': z.ZodObject<{
1677
+ jsonrpc: z.ZodLiteral<"2.0">;
1678
+ method: z.ZodLiteral<"slates/auth.input.changed">;
1679
+ id: z.ZodString;
1680
+ params: z.ZodObject<{
1681
+ authenticationMethodId: z.ZodString;
1682
+ previousInput: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
1683
+ newInput: z.ZodRecord<z.ZodString, z.ZodAny>;
1684
+ }, z.core.$strip>;
1685
+ }, z.core.$strip>;
1686
+ 'slates/auth.input.get_default': z.ZodObject<{
1687
+ jsonrpc: z.ZodLiteral<"2.0">;
1688
+ method: z.ZodLiteral<"slates/auth.input.get_default">;
1689
+ id: z.ZodString;
1690
+ params: z.ZodObject<{
1691
+ authenticationMethodId: z.ZodString;
1692
+ }, z.core.$strip>;
1693
+ }, z.core.$strip>;
1694
+ 'slates/auth.authorization_url.get': z.ZodObject<{
1695
+ jsonrpc: z.ZodLiteral<"2.0">;
1696
+ method: z.ZodLiteral<"slates/auth.authorization_url.get">;
1697
+ id: z.ZodString;
1698
+ params: z.ZodObject<{
1699
+ authenticationMethodId: z.ZodString;
1700
+ redirectUri: z.ZodString;
1701
+ state: z.ZodString;
1702
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1703
+ clientId: z.ZodString;
1704
+ clientSecret: z.ZodString;
1705
+ scopes: z.ZodArray<z.ZodString>;
1706
+ }, z.core.$strip>;
1707
+ }, z.core.$strip>;
1708
+ 'slates/auth.authorization_callback.handle': z.ZodObject<{
1709
+ jsonrpc: z.ZodLiteral<"2.0">;
1710
+ method: z.ZodLiteral<"slates/auth.authorization_callback.handle">;
1711
+ id: z.ZodString;
1712
+ params: z.ZodObject<{
1713
+ authenticationMethodId: z.ZodString;
1714
+ code: z.ZodString;
1715
+ state: z.ZodString;
1716
+ redirectUri: z.ZodString;
1717
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1718
+ clientId: z.ZodString;
1719
+ clientSecret: z.ZodString;
1720
+ scopes: z.ZodArray<z.ZodString>;
1721
+ callbackState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1722
+ }, z.core.$strip>;
1723
+ }, z.core.$strip>;
1724
+ 'slates/auth.token_refresh.handle': z.ZodObject<{
1725
+ jsonrpc: z.ZodLiteral<"2.0">;
1726
+ method: z.ZodLiteral<"slates/auth.token_refresh.handle">;
1727
+ id: z.ZodString;
1728
+ params: z.ZodObject<{
1729
+ authenticationMethodId: z.ZodString;
1730
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
1731
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1732
+ clientId: z.ZodString;
1733
+ clientSecret: z.ZodString;
1734
+ scopes: z.ZodArray<z.ZodString>;
1735
+ }, z.core.$strip>;
1736
+ }, z.core.$strip>;
1737
+ 'slates/auth.profile.get': z.ZodObject<{
1738
+ jsonrpc: z.ZodLiteral<"2.0">;
1739
+ method: z.ZodLiteral<"slates/auth.profile.get">;
1740
+ id: z.ZodString;
1741
+ params: z.ZodObject<{
1742
+ authenticationMethodId: z.ZodString;
1743
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
1744
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1745
+ scopes: z.ZodArray<z.ZodString>;
1746
+ }, z.core.$strip>;
1747
+ }, z.core.$strip>;
1748
+ 'slates/auth.output.get': z.ZodObject<{
1749
+ jsonrpc: z.ZodLiteral<"2.0">;
1750
+ method: z.ZodLiteral<"slates/auth.output.get">;
1751
+ id: z.ZodString;
1752
+ params: z.ZodObject<{
1753
+ authenticationMethodId: z.ZodString;
1754
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1755
+ }, z.core.$strip>;
1756
+ }, z.core.$strip>;
1757
+ };
1758
+ declare let slatesAuthNotificationsByMethod: {
1759
+ 'slates/auth.set': z.ZodObject<{
1760
+ jsonrpc: z.ZodLiteral<"2.0">;
1761
+ method: z.ZodLiteral<"slates/auth.set">;
1762
+ params: z.ZodObject<{
1763
+ authenticationMethodId: z.ZodString;
1764
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
1765
+ }, z.core.$strip>;
1766
+ }, z.core.$strip>;
1767
+ };
1768
+
1769
+ /**
1770
+ * Set Config
1771
+ */
1772
+ declare let slatesMessageSetConfigNotification: z.ZodObject<{
1773
+ jsonrpc: z.ZodLiteral<"2.0">;
1774
+ method: z.ZodLiteral<"slates/config.set">;
1775
+ params: z.ZodObject<{
1776
+ config: z.ZodRecord<z.ZodString, z.ZodAny>;
1777
+ }, z.core.$strip>;
1778
+ }, z.core.$strip>;
1779
+ type SlatesMessageSetConfigNotification = z.infer<typeof slatesMessageSetConfigNotification>;
1780
+ /**
1781
+ * Get Config Schema
1782
+ */
1783
+ declare let slatesMessageConfigSchemaGetRequest: z.ZodObject<{
1784
+ jsonrpc: z.ZodLiteral<"2.0">;
1785
+ method: z.ZodLiteral<"slates/config.schema.get">;
1786
+ id: z.ZodString;
1787
+ params: z.ZodObject<{}, z.core.$strip>;
1788
+ }, z.core.$strip>;
1789
+ type SlatesMessageConfigSchemaGetRequest = z.infer<typeof slatesMessageConfigSchemaGetRequest>;
1790
+ declare let slatesMessageConfigSchemaGetResponse: z.ZodObject<{
1791
+ jsonrpc: z.ZodLiteral<"2.0">;
1792
+ id: z.ZodString;
1793
+ result: z.ZodObject<{
1794
+ schema: z.ZodRecord<z.ZodString, z.ZodAny>;
1795
+ }, z.core.$strip>;
1796
+ }, z.core.$strip>;
1797
+ type SlatesMessageConfigSchemaGetResponse = z.infer<typeof slatesMessageConfigSchemaGetResponse>;
1798
+ /**
1799
+ * Config Changed
1800
+ */
1801
+ declare let slatesMessageConfigChangedRequest: z.ZodObject<{
1802
+ jsonrpc: z.ZodLiteral<"2.0">;
1803
+ method: z.ZodLiteral<"slates/config.changed">;
1804
+ id: z.ZodString;
1805
+ params: z.ZodObject<{
1806
+ previousConfig: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
1807
+ newConfig: z.ZodRecord<z.ZodString, z.ZodAny>;
1808
+ }, z.core.$strip>;
1809
+ }, z.core.$strip>;
1810
+ type SlatesMessageConfigChangedRequest = z.infer<typeof slatesMessageConfigChangedRequest>;
1811
+ declare let slatesMessageConfigChangedResponse: z.ZodObject<{
1812
+ jsonrpc: z.ZodLiteral<"2.0">;
1813
+ id: z.ZodString;
1814
+ result: z.ZodObject<{
1815
+ success: z.ZodBoolean;
1816
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1817
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1818
+ code: z.ZodString;
1819
+ message: z.ZodString;
1820
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
1821
+ }, z.core.$strip>>>;
1822
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1823
+ startedAt: z.ZodString;
1824
+ durationMs: z.ZodNumber;
1825
+ request: z.ZodObject<{
1826
+ method: z.ZodString;
1827
+ url: z.ZodString;
1828
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1829
+ body: z.ZodOptional<z.ZodObject<{
1830
+ contentType: z.ZodOptional<z.ZodString>;
1831
+ text: z.ZodString;
1832
+ truncated: z.ZodOptional<z.ZodBoolean>;
1833
+ }, z.core.$strip>>;
1834
+ }, z.core.$strip>;
1835
+ response: z.ZodOptional<z.ZodObject<{
1836
+ status: z.ZodNumber;
1837
+ statusText: z.ZodOptional<z.ZodString>;
1838
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1839
+ body: z.ZodOptional<z.ZodObject<{
1840
+ contentType: z.ZodOptional<z.ZodString>;
1841
+ text: z.ZodString;
1842
+ truncated: z.ZodOptional<z.ZodBoolean>;
1843
+ }, z.core.$strip>>;
1844
+ }, z.core.$strip>>;
1845
+ error: z.ZodOptional<z.ZodObject<{
1846
+ code: z.ZodOptional<z.ZodString>;
1847
+ message: z.ZodString;
1848
+ }, z.core.$strip>>;
1849
+ }, z.core.$strip>>>;
1850
+ }, z.core.$strip>;
1851
+ }, z.core.$strip>;
1852
+ type SlatesMessageConfigChangedResponse = z.infer<typeof slatesMessageConfigChangedResponse>;
1853
+ /**
1854
+ * Get Default Config
1855
+ */
1856
+ declare let slatesMessageConfigDefaultGetRequest: z.ZodObject<{
1857
+ jsonrpc: z.ZodLiteral<"2.0">;
1858
+ method: z.ZodLiteral<"slates/config.get_default">;
1859
+ id: z.ZodString;
1860
+ params: z.ZodObject<{}, z.core.$strip>;
1861
+ }, z.core.$strip>;
1862
+ type SlatesMessageConfigDefaultGetRequest = z.infer<typeof slatesMessageConfigDefaultGetRequest>;
1863
+ declare let slatesMessageConfigDefaultGetResponse: z.ZodObject<{
1864
+ jsonrpc: z.ZodLiteral<"2.0">;
1865
+ id: z.ZodString;
1866
+ result: z.ZodObject<{
1867
+ config: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
1868
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1869
+ startedAt: z.ZodString;
1870
+ durationMs: z.ZodNumber;
1871
+ request: z.ZodObject<{
1872
+ method: z.ZodString;
1873
+ url: z.ZodString;
1874
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1875
+ body: z.ZodOptional<z.ZodObject<{
1876
+ contentType: z.ZodOptional<z.ZodString>;
1877
+ text: z.ZodString;
1878
+ truncated: z.ZodOptional<z.ZodBoolean>;
1879
+ }, z.core.$strip>>;
1880
+ }, z.core.$strip>;
1881
+ response: z.ZodOptional<z.ZodObject<{
1882
+ status: z.ZodNumber;
1883
+ statusText: z.ZodOptional<z.ZodString>;
1884
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1885
+ body: z.ZodOptional<z.ZodObject<{
1886
+ contentType: z.ZodOptional<z.ZodString>;
1887
+ text: z.ZodString;
1888
+ truncated: z.ZodOptional<z.ZodBoolean>;
1889
+ }, z.core.$strip>>;
1890
+ }, z.core.$strip>>;
1891
+ error: z.ZodOptional<z.ZodObject<{
1892
+ code: z.ZodOptional<z.ZodString>;
1893
+ message: z.ZodString;
1894
+ }, z.core.$strip>>;
1895
+ }, z.core.$strip>>>;
1896
+ }, z.core.$strip>;
1897
+ }, z.core.$strip>;
1898
+ type SlatesMessageConfigDefaultGetResponse = z.infer<typeof slatesMessageConfigDefaultGetResponse>;
1899
+ type SlatesConfigRequests = SlatesMessageConfigSchemaGetRequest | SlatesMessageConfigDefaultGetRequest | SlatesMessageConfigChangedRequest;
1900
+ type SlatesConfigResponses = SlatesMessageConfigSchemaGetResponse | SlatesMessageConfigDefaultGetResponse | SlatesMessageConfigChangedResponse;
1901
+ type SlatesConfigNotifications = SlatesMessageSetConfigNotification;
1902
+ declare let slatesConfigResponsesByMethod: {
1903
+ 'slates/config.schema.get': z.ZodObject<{
1904
+ jsonrpc: z.ZodLiteral<"2.0">;
1905
+ id: z.ZodString;
1906
+ result: z.ZodObject<{
1907
+ schema: z.ZodRecord<z.ZodString, z.ZodAny>;
1908
+ }, z.core.$strip>;
1909
+ }, z.core.$strip>;
1910
+ 'slates/config.get_default': z.ZodObject<{
1911
+ jsonrpc: z.ZodLiteral<"2.0">;
1912
+ id: z.ZodString;
1913
+ result: z.ZodObject<{
1914
+ config: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
1915
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1916
+ startedAt: z.ZodString;
1917
+ durationMs: z.ZodNumber;
1918
+ request: z.ZodObject<{
1919
+ method: z.ZodString;
1920
+ url: z.ZodString;
1921
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1922
+ body: z.ZodOptional<z.ZodObject<{
1923
+ contentType: z.ZodOptional<z.ZodString>;
1924
+ text: z.ZodString;
1925
+ truncated: z.ZodOptional<z.ZodBoolean>;
1926
+ }, z.core.$strip>>;
1927
+ }, z.core.$strip>;
1928
+ response: z.ZodOptional<z.ZodObject<{
1929
+ status: z.ZodNumber;
1930
+ statusText: z.ZodOptional<z.ZodString>;
1931
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1932
+ body: z.ZodOptional<z.ZodObject<{
1933
+ contentType: z.ZodOptional<z.ZodString>;
1934
+ text: z.ZodString;
1935
+ truncated: z.ZodOptional<z.ZodBoolean>;
1936
+ }, z.core.$strip>>;
1937
+ }, z.core.$strip>>;
1938
+ error: z.ZodOptional<z.ZodObject<{
1939
+ code: z.ZodOptional<z.ZodString>;
1940
+ message: z.ZodString;
1941
+ }, z.core.$strip>>;
1942
+ }, z.core.$strip>>>;
1943
+ }, z.core.$strip>;
1944
+ }, z.core.$strip>;
1945
+ 'slates/config.changed': z.ZodObject<{
1946
+ jsonrpc: z.ZodLiteral<"2.0">;
1947
+ id: z.ZodString;
1948
+ result: z.ZodObject<{
1949
+ success: z.ZodBoolean;
1950
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1951
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1952
+ code: z.ZodString;
1953
+ message: z.ZodString;
1954
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
1955
+ }, z.core.$strip>>>;
1956
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1957
+ startedAt: z.ZodString;
1958
+ durationMs: z.ZodNumber;
1959
+ request: z.ZodObject<{
1960
+ method: z.ZodString;
1961
+ url: z.ZodString;
1962
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1963
+ body: z.ZodOptional<z.ZodObject<{
1964
+ contentType: z.ZodOptional<z.ZodString>;
1965
+ text: z.ZodString;
1966
+ truncated: z.ZodOptional<z.ZodBoolean>;
1967
+ }, z.core.$strip>>;
1968
+ }, z.core.$strip>;
1969
+ response: z.ZodOptional<z.ZodObject<{
1970
+ status: z.ZodNumber;
1971
+ statusText: z.ZodOptional<z.ZodString>;
1972
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1973
+ body: z.ZodOptional<z.ZodObject<{
1974
+ contentType: z.ZodOptional<z.ZodString>;
1975
+ text: z.ZodString;
1976
+ truncated: z.ZodOptional<z.ZodBoolean>;
1977
+ }, z.core.$strip>>;
1978
+ }, z.core.$strip>>;
1979
+ error: z.ZodOptional<z.ZodObject<{
1980
+ code: z.ZodOptional<z.ZodString>;
1981
+ message: z.ZodString;
1982
+ }, z.core.$strip>>;
1983
+ }, z.core.$strip>>>;
1984
+ }, z.core.$strip>;
1985
+ }, z.core.$strip>;
1986
+ };
1987
+ declare let slatesConfigRequestsByMethod: {
1988
+ 'slates/config.schema.get': z.ZodObject<{
1989
+ jsonrpc: z.ZodLiteral<"2.0">;
1990
+ method: z.ZodLiteral<"slates/config.schema.get">;
1991
+ id: z.ZodString;
1992
+ params: z.ZodObject<{}, z.core.$strip>;
1993
+ }, z.core.$strip>;
1994
+ 'slates/config.get_default': z.ZodObject<{
1995
+ jsonrpc: z.ZodLiteral<"2.0">;
1996
+ method: z.ZodLiteral<"slates/config.get_default">;
1997
+ id: z.ZodString;
1998
+ params: z.ZodObject<{}, z.core.$strip>;
1999
+ }, z.core.$strip>;
2000
+ 'slates/config.changed': z.ZodObject<{
2001
+ jsonrpc: z.ZodLiteral<"2.0">;
2002
+ method: z.ZodLiteral<"slates/config.changed">;
2003
+ id: z.ZodString;
2004
+ params: z.ZodObject<{
2005
+ previousConfig: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
2006
+ newConfig: z.ZodRecord<z.ZodString, z.ZodAny>;
2007
+ }, z.core.$strip>;
2008
+ }, z.core.$strip>;
2009
+ };
2010
+ declare let slatesConfigNotificationsByMethod: {
2011
+ 'slates/config.set': z.ZodObject<{
2012
+ jsonrpc: z.ZodLiteral<"2.0">;
2013
+ method: z.ZodLiteral<"slates/config.set">;
2014
+ params: z.ZodObject<{
2015
+ config: z.ZodRecord<z.ZodString, z.ZodAny>;
2016
+ }, z.core.$strip>;
2017
+ }, z.core.$strip>;
2018
+ };
2019
+
2020
+ declare let slatesMessageHelloNotification: z.ZodObject<{
2021
+ jsonrpc: z.ZodLiteral<"2.0">;
2022
+ method: z.ZodLiteral<"slates/hello">;
2023
+ params: z.ZodObject<{
2024
+ protocol: z.ZodLiteral<"slates@2026-01-01">;
2025
+ }, z.core.$strip>;
2026
+ }, z.core.$strip>;
2027
+ type SlatesMessageHelloNotification = z.infer<typeof slatesMessageHelloNotification>;
2028
+ declare let slatesMessageSetParticipantsNotification: z.ZodObject<{
2029
+ jsonrpc: z.ZodLiteral<"2.0">;
2030
+ method: z.ZodLiteral<"slates/participant.set">;
2031
+ params: z.ZodObject<{
2032
+ participants: z.ZodArray<z.ZodObject<{
2033
+ type: z.ZodUnion<readonly [z.ZodLiteral<"consumer">, z.ZodLiteral<"hub">]>;
2034
+ id: z.ZodString;
2035
+ name: z.ZodString;
2036
+ description: z.ZodOptional<z.ZodString>;
2037
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2038
+ }, z.core.$strip>>;
2039
+ }, z.core.$strip>;
2040
+ }, z.core.$strip>;
2041
+ type SlatesMessageSetParticipantsNotification = z.infer<typeof slatesMessageSetParticipantsNotification>;
2042
+ declare let slatesMessageSessionStartNotification: z.ZodObject<{
2043
+ jsonrpc: z.ZodLiteral<"2.0">;
2044
+ method: z.ZodLiteral<"slates/session.start">;
2045
+ params: z.ZodObject<{
2046
+ sessionId: z.ZodString;
2047
+ state: z.ZodRecord<z.ZodString, z.ZodAny>;
2048
+ }, z.core.$strip>;
2049
+ }, z.core.$strip>;
2050
+ type SlatesMessageSessionStartNotification = z.infer<typeof slatesMessageSessionStartNotification>;
2051
+ type SlatesControlFlowNotifications = SlatesMessageHelloNotification | SlatesMessageSetParticipantsNotification | SlatesMessageSessionStartNotification;
2052
+ declare let slatesControlFlowNotificationsByMethod: {
2053
+ 'slates/hello': z.ZodObject<{
2054
+ jsonrpc: z.ZodLiteral<"2.0">;
2055
+ method: z.ZodLiteral<"slates/hello">;
2056
+ params: z.ZodObject<{
2057
+ protocol: z.ZodLiteral<"slates@2026-01-01">;
2058
+ }, z.core.$strip>;
2059
+ }, z.core.$strip>;
2060
+ 'slates/participant.set': z.ZodObject<{
2061
+ jsonrpc: z.ZodLiteral<"2.0">;
2062
+ method: z.ZodLiteral<"slates/participant.set">;
2063
+ params: z.ZodObject<{
2064
+ participants: z.ZodArray<z.ZodObject<{
2065
+ type: z.ZodUnion<readonly [z.ZodLiteral<"consumer">, z.ZodLiteral<"hub">]>;
2066
+ id: z.ZodString;
2067
+ name: z.ZodString;
2068
+ description: z.ZodOptional<z.ZodString>;
2069
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2070
+ }, z.core.$strip>>;
2071
+ }, z.core.$strip>;
2072
+ }, z.core.$strip>;
2073
+ 'slates/session.start': z.ZodObject<{
2074
+ jsonrpc: z.ZodLiteral<"2.0">;
2075
+ method: z.ZodLiteral<"slates/session.start">;
2076
+ params: z.ZodObject<{
2077
+ sessionId: z.ZodString;
2078
+ state: z.ZodRecord<z.ZodString, z.ZodAny>;
2079
+ }, z.core.$strip>;
2080
+ }, z.core.$strip>;
2081
+ };
2082
+
2083
+ declare let slatesMessageProviderIdentifyRequest: z.ZodObject<{
2084
+ jsonrpc: z.ZodLiteral<"2.0">;
2085
+ method: z.ZodLiteral<"slates/provider.identify">;
2086
+ id: z.ZodString;
2087
+ params: z.ZodObject<{}, z.core.$strip>;
2088
+ }, z.core.$strip>;
2089
+ type SlatesMessageProviderIdentifyRequest = z.infer<typeof slatesMessageProviderIdentifyRequest>;
2090
+ declare let slatesMessageProviderIdentifyResponse: z.ZodObject<{
2091
+ jsonrpc: z.ZodLiteral<"2.0">;
2092
+ id: z.ZodString;
2093
+ result: z.ZodObject<{
2094
+ protocol: z.ZodLiteral<"slates@2026-01-01">;
2095
+ provider: z.ZodObject<{
2096
+ type: z.ZodLiteral<"provider">;
2097
+ id: z.ZodString;
2098
+ name: z.ZodString;
2099
+ description: z.ZodOptional<z.ZodString>;
2100
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2101
+ }, z.core.$strip>;
2102
+ }, z.core.$strip>;
2103
+ }, z.core.$strip>;
2104
+ type SlatesMessageProviderIdentifyResponse = z.infer<typeof slatesMessageProviderIdentifyResponse>;
2105
+ type SlatesIdentifyRequests = SlatesMessageProviderIdentifyRequest;
2106
+ type SlatesIdentifyResponses = SlatesMessageProviderIdentifyResponse;
2107
+ declare let slatesIdentifyResponsesByMethod: {
2108
+ 'slates/provider.identify': z.ZodObject<{
2109
+ jsonrpc: z.ZodLiteral<"2.0">;
2110
+ id: z.ZodString;
2111
+ result: z.ZodObject<{
2112
+ protocol: z.ZodLiteral<"slates@2026-01-01">;
2113
+ provider: z.ZodObject<{
2114
+ type: z.ZodLiteral<"provider">;
2115
+ id: z.ZodString;
2116
+ name: z.ZodString;
2117
+ description: z.ZodOptional<z.ZodString>;
2118
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2119
+ }, z.core.$strip>;
2120
+ }, z.core.$strip>;
2121
+ }, z.core.$strip>;
2122
+ };
2123
+ declare let slatesIdentifyRequestsByMethod: {
2124
+ 'slates/provider.identify': z.ZodObject<{
2125
+ jsonrpc: z.ZodLiteral<"2.0">;
2126
+ method: z.ZodLiteral<"slates/provider.identify">;
2127
+ id: z.ZodString;
2128
+ params: z.ZodObject<{}, z.core.$strip>;
2129
+ }, z.core.$strip>;
2130
+ };
2131
+
2132
+ declare let slatesRequestTraceTextBody: z.ZodObject<{
2133
+ contentType: z.ZodOptional<z.ZodString>;
2134
+ text: z.ZodString;
2135
+ truncated: z.ZodOptional<z.ZodBoolean>;
2136
+ }, z.core.$strip>;
2137
+ declare let slatesRequestTrace: z.ZodObject<{
2138
+ startedAt: z.ZodString;
2139
+ durationMs: z.ZodNumber;
2140
+ request: z.ZodObject<{
2141
+ method: z.ZodString;
2142
+ url: z.ZodString;
2143
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2144
+ body: z.ZodOptional<z.ZodObject<{
2145
+ contentType: z.ZodOptional<z.ZodString>;
2146
+ text: z.ZodString;
2147
+ truncated: z.ZodOptional<z.ZodBoolean>;
2148
+ }, z.core.$strip>>;
2149
+ }, z.core.$strip>;
2150
+ response: z.ZodOptional<z.ZodObject<{
2151
+ status: z.ZodNumber;
2152
+ statusText: z.ZodOptional<z.ZodString>;
2153
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2154
+ body: z.ZodOptional<z.ZodObject<{
2155
+ contentType: z.ZodOptional<z.ZodString>;
2156
+ text: z.ZodString;
2157
+ truncated: z.ZodOptional<z.ZodBoolean>;
2158
+ }, z.core.$strip>>;
2159
+ }, z.core.$strip>>;
2160
+ error: z.ZodOptional<z.ZodObject<{
2161
+ code: z.ZodOptional<z.ZodString>;
2162
+ message: z.ZodString;
2163
+ }, z.core.$strip>>;
2164
+ }, z.core.$strip>;
2165
+ declare let withRequestTraces: <Shape extends z.ZodRawShape>(shape: Shape) => z.ZodObject<Shape & {
2166
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
2167
+ startedAt: z.ZodString;
2168
+ durationMs: z.ZodNumber;
2169
+ request: z.ZodObject<{
2170
+ method: z.ZodString;
2171
+ url: z.ZodString;
2172
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2173
+ body: z.ZodOptional<z.ZodObject<{
2174
+ contentType: z.ZodOptional<z.ZodString>;
2175
+ text: z.ZodString;
2176
+ truncated: z.ZodOptional<z.ZodBoolean>;
2177
+ }, z.core.$strip>>;
2178
+ }, z.core.$strip>;
2179
+ response: z.ZodOptional<z.ZodObject<{
2180
+ status: z.ZodNumber;
2181
+ statusText: z.ZodOptional<z.ZodString>;
2182
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2183
+ body: z.ZodOptional<z.ZodObject<{
2184
+ contentType: z.ZodOptional<z.ZodString>;
2185
+ text: z.ZodString;
2186
+ truncated: z.ZodOptional<z.ZodBoolean>;
2187
+ }, z.core.$strip>>;
2188
+ }, z.core.$strip>>;
2189
+ error: z.ZodOptional<z.ZodObject<{
2190
+ code: z.ZodOptional<z.ZodString>;
2191
+ message: z.ZodString;
2192
+ }, z.core.$strip>>;
2193
+ }, z.core.$strip>>>;
2194
+ } extends infer T ? { -readonly [P in keyof T]: (Shape & {
2195
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
2196
+ startedAt: z.ZodString;
2197
+ durationMs: z.ZodNumber;
2198
+ request: z.ZodObject<{
2199
+ method: z.ZodString;
2200
+ url: z.ZodString;
2201
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2202
+ body: z.ZodOptional<z.ZodObject<{
2203
+ contentType: z.ZodOptional<z.ZodString>;
2204
+ text: z.ZodString;
2205
+ truncated: z.ZodOptional<z.ZodBoolean>;
2206
+ }, z.core.$strip>>;
2207
+ }, z.core.$strip>;
2208
+ response: z.ZodOptional<z.ZodObject<{
2209
+ status: z.ZodNumber;
2210
+ statusText: z.ZodOptional<z.ZodString>;
2211
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2212
+ body: z.ZodOptional<z.ZodObject<{
2213
+ contentType: z.ZodOptional<z.ZodString>;
2214
+ text: z.ZodString;
2215
+ truncated: z.ZodOptional<z.ZodBoolean>;
2216
+ }, z.core.$strip>>;
2217
+ }, z.core.$strip>>;
2218
+ error: z.ZodOptional<z.ZodObject<{
2219
+ code: z.ZodOptional<z.ZodString>;
2220
+ message: z.ZodString;
2221
+ }, z.core.$strip>>;
2222
+ }, z.core.$strip>>>;
2223
+ })[P]; } : never, z.core.$strip>;
2224
+
2225
+ type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications;
2226
+ type SlatesRequests = SlatesActionRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesIdentifyRequests;
2227
+ type SlatesResponses = SlatesActionResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesIdentifyResponses;
2228
+ declare let slatesResponsesByMethod: {
2229
+ 'slates/provider.identify': z$1.ZodObject<{
2230
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2231
+ id: z$1.ZodString;
2232
+ result: z$1.ZodObject<{
2233
+ protocol: z$1.ZodLiteral<"slates@2026-01-01">;
2234
+ provider: z$1.ZodObject<{
2235
+ type: z$1.ZodLiteral<"provider">;
2236
+ id: z$1.ZodString;
2237
+ name: z$1.ZodString;
2238
+ description: z$1.ZodOptional<z$1.ZodString>;
2239
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2240
+ }, z$1.core.$strip>;
2241
+ }, z$1.core.$strip>;
2242
+ }, z$1.core.$strip>;
2243
+ 'slates/config.schema.get': z$1.ZodObject<{
2244
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2245
+ id: z$1.ZodString;
2246
+ result: z$1.ZodObject<{
2247
+ schema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2248
+ }, z$1.core.$strip>;
2249
+ }, z$1.core.$strip>;
2250
+ 'slates/config.get_default': z$1.ZodObject<{
2251
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2252
+ id: z$1.ZodString;
2253
+ result: z$1.ZodObject<{
2254
+ config: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2255
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2256
+ startedAt: z$1.ZodString;
2257
+ durationMs: z$1.ZodNumber;
2258
+ request: z$1.ZodObject<{
2259
+ method: z$1.ZodString;
2260
+ url: z$1.ZodString;
2261
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2262
+ body: z$1.ZodOptional<z$1.ZodObject<{
2263
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2264
+ text: z$1.ZodString;
2265
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2266
+ }, z$1.core.$strip>>;
2267
+ }, z$1.core.$strip>;
2268
+ response: z$1.ZodOptional<z$1.ZodObject<{
2269
+ status: z$1.ZodNumber;
2270
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2271
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2272
+ body: z$1.ZodOptional<z$1.ZodObject<{
2273
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2274
+ text: z$1.ZodString;
2275
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2276
+ }, z$1.core.$strip>>;
2277
+ }, z$1.core.$strip>>;
2278
+ error: z$1.ZodOptional<z$1.ZodObject<{
2279
+ code: z$1.ZodOptional<z$1.ZodString>;
2280
+ message: z$1.ZodString;
2281
+ }, z$1.core.$strip>>;
2282
+ }, z$1.core.$strip>>>;
2283
+ }, z$1.core.$strip>;
2284
+ }, z$1.core.$strip>;
2285
+ 'slates/config.changed': z$1.ZodObject<{
2286
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2287
+ id: z$1.ZodString;
2288
+ result: z$1.ZodObject<{
2289
+ success: z$1.ZodBoolean;
2290
+ config: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2291
+ errors: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2292
+ code: z$1.ZodString;
2293
+ message: z$1.ZodString;
2294
+ path: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
2295
+ }, z$1.core.$strip>>>;
2296
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2297
+ startedAt: z$1.ZodString;
2298
+ durationMs: z$1.ZodNumber;
2299
+ request: z$1.ZodObject<{
2300
+ method: z$1.ZodString;
2301
+ url: z$1.ZodString;
2302
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2303
+ body: z$1.ZodOptional<z$1.ZodObject<{
2304
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2305
+ text: z$1.ZodString;
2306
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2307
+ }, z$1.core.$strip>>;
2308
+ }, z$1.core.$strip>;
2309
+ response: z$1.ZodOptional<z$1.ZodObject<{
2310
+ status: z$1.ZodNumber;
2311
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2312
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2313
+ body: z$1.ZodOptional<z$1.ZodObject<{
2314
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2315
+ text: z$1.ZodString;
2316
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2317
+ }, z$1.core.$strip>>;
2318
+ }, z$1.core.$strip>>;
2319
+ error: z$1.ZodOptional<z$1.ZodObject<{
2320
+ code: z$1.ZodOptional<z$1.ZodString>;
2321
+ message: z$1.ZodString;
2322
+ }, z$1.core.$strip>>;
2323
+ }, z$1.core.$strip>>>;
2324
+ }, z$1.core.$strip>;
2325
+ }, z$1.core.$strip>;
2326
+ 'slates/auth.methods.list': z$1.ZodObject<{
2327
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2328
+ id: z$1.ZodString;
2329
+ result: z$1.ZodObject<{
2330
+ authenticationMethods: z$1.ZodArray<z$1.ZodObject<{
2331
+ id: z$1.ZodString;
2332
+ name: z$1.ZodString;
2333
+ type: z$1.ZodUnion<readonly [z$1.ZodLiteral<"auth.oauth">, z$1.ZodLiteral<"auth.token">, z$1.ZodLiteral<"auth.service_account">, z$1.ZodLiteral<"auth.custom">]>;
2334
+ scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2335
+ id: z$1.ZodString;
2336
+ title: z$1.ZodString;
2337
+ description: z$1.ZodOptional<z$1.ZodString>;
2338
+ }, z$1.core.$strip>>>;
2339
+ inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2340
+ outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2341
+ capabilities: z$1.ZodObject<{
2342
+ getDefaultInput: z$1.ZodOptional<z$1.ZodObject<{
2343
+ enabled: z$1.ZodBoolean;
2344
+ }, z$1.core.$strip>>;
2345
+ handleChangedInput: z$1.ZodOptional<z$1.ZodObject<{
2346
+ enabled: z$1.ZodBoolean;
2347
+ }, z$1.core.$strip>>;
2348
+ handleTokenRefresh: z$1.ZodOptional<z$1.ZodObject<{
2349
+ enabled: z$1.ZodBoolean;
2350
+ }, z$1.core.$strip>>;
2351
+ getProfile: z$1.ZodOptional<z$1.ZodObject<{
2352
+ enabled: z$1.ZodBoolean;
2353
+ }, z$1.core.$strip>>;
2354
+ }, z$1.core.$strip>;
2355
+ }, z$1.core.$strip>>;
2356
+ }, z$1.core.$strip>;
2357
+ }, z$1.core.$strip>;
2358
+ 'slates/auth.method.get': z$1.ZodObject<{
2359
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2360
+ id: z$1.ZodString;
2361
+ result: z$1.ZodObject<{
2362
+ authenticationMethod: z$1.ZodObject<{
2363
+ id: z$1.ZodString;
2364
+ name: z$1.ZodString;
2365
+ type: z$1.ZodUnion<readonly [z$1.ZodLiteral<"auth.oauth">, z$1.ZodLiteral<"auth.token">, z$1.ZodLiteral<"auth.service_account">, z$1.ZodLiteral<"auth.custom">]>;
2366
+ scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2367
+ id: z$1.ZodString;
2368
+ title: z$1.ZodString;
2369
+ description: z$1.ZodOptional<z$1.ZodString>;
2370
+ }, z$1.core.$strip>>>;
2371
+ inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2372
+ outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2373
+ capabilities: z$1.ZodObject<{
2374
+ getDefaultInput: z$1.ZodOptional<z$1.ZodObject<{
2375
+ enabled: z$1.ZodBoolean;
2376
+ }, z$1.core.$strip>>;
2377
+ handleChangedInput: z$1.ZodOptional<z$1.ZodObject<{
2378
+ enabled: z$1.ZodBoolean;
2379
+ }, z$1.core.$strip>>;
2380
+ handleTokenRefresh: z$1.ZodOptional<z$1.ZodObject<{
2381
+ enabled: z$1.ZodBoolean;
2382
+ }, z$1.core.$strip>>;
2383
+ getProfile: z$1.ZodOptional<z$1.ZodObject<{
2384
+ enabled: z$1.ZodBoolean;
2385
+ }, z$1.core.$strip>>;
2386
+ }, z$1.core.$strip>;
2387
+ }, z$1.core.$strip>;
2388
+ }, z$1.core.$strip>;
2389
+ }, z$1.core.$strip>;
2390
+ 'slates/auth.input.changed': z$1.ZodObject<{
2391
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2392
+ id: z$1.ZodString;
2393
+ result: z$1.ZodObject<{
2394
+ input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2395
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2396
+ startedAt: z$1.ZodString;
2397
+ durationMs: z$1.ZodNumber;
2398
+ request: z$1.ZodObject<{
2399
+ method: z$1.ZodString;
2400
+ url: z$1.ZodString;
2401
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2402
+ body: z$1.ZodOptional<z$1.ZodObject<{
2403
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2404
+ text: z$1.ZodString;
2405
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2406
+ }, z$1.core.$strip>>;
2407
+ }, z$1.core.$strip>;
2408
+ response: z$1.ZodOptional<z$1.ZodObject<{
2409
+ status: z$1.ZodNumber;
2410
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2411
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2412
+ body: z$1.ZodOptional<z$1.ZodObject<{
2413
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2414
+ text: z$1.ZodString;
2415
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2416
+ }, z$1.core.$strip>>;
2417
+ }, z$1.core.$strip>>;
2418
+ error: z$1.ZodOptional<z$1.ZodObject<{
2419
+ code: z$1.ZodOptional<z$1.ZodString>;
2420
+ message: z$1.ZodString;
2421
+ }, z$1.core.$strip>>;
2422
+ }, z$1.core.$strip>>>;
2423
+ }, z$1.core.$strip>;
2424
+ }, z$1.core.$strip>;
2425
+ 'slates/auth.input.get_default': z$1.ZodObject<{
2426
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2427
+ id: z$1.ZodString;
2428
+ result: z$1.ZodObject<{
2429
+ input: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2430
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2431
+ startedAt: z$1.ZodString;
2432
+ durationMs: z$1.ZodNumber;
2433
+ request: z$1.ZodObject<{
2434
+ method: z$1.ZodString;
2435
+ url: z$1.ZodString;
2436
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2437
+ body: z$1.ZodOptional<z$1.ZodObject<{
2438
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2439
+ text: z$1.ZodString;
2440
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2441
+ }, z$1.core.$strip>>;
2442
+ }, z$1.core.$strip>;
2443
+ response: z$1.ZodOptional<z$1.ZodObject<{
2444
+ status: z$1.ZodNumber;
2445
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2446
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2447
+ body: z$1.ZodOptional<z$1.ZodObject<{
2448
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2449
+ text: z$1.ZodString;
2450
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2451
+ }, z$1.core.$strip>>;
2452
+ }, z$1.core.$strip>>;
2453
+ error: z$1.ZodOptional<z$1.ZodObject<{
2454
+ code: z$1.ZodOptional<z$1.ZodString>;
2455
+ message: z$1.ZodString;
2456
+ }, z$1.core.$strip>>;
2457
+ }, z$1.core.$strip>>>;
2458
+ }, z$1.core.$strip>;
2459
+ }, z$1.core.$strip>;
2460
+ 'slates/auth.authorization_url.get': z$1.ZodObject<{
2461
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2462
+ id: z$1.ZodString;
2463
+ result: z$1.ZodObject<{
2464
+ authorizationUrl: z$1.ZodString;
2465
+ input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2466
+ callbackState: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2467
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2468
+ startedAt: z$1.ZodString;
2469
+ durationMs: z$1.ZodNumber;
2470
+ request: z$1.ZodObject<{
2471
+ method: z$1.ZodString;
2472
+ url: z$1.ZodString;
2473
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2474
+ body: z$1.ZodOptional<z$1.ZodObject<{
2475
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2476
+ text: z$1.ZodString;
2477
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2478
+ }, z$1.core.$strip>>;
2479
+ }, z$1.core.$strip>;
2480
+ response: z$1.ZodOptional<z$1.ZodObject<{
2481
+ status: z$1.ZodNumber;
2482
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2483
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2484
+ body: z$1.ZodOptional<z$1.ZodObject<{
2485
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2486
+ text: z$1.ZodString;
2487
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2488
+ }, z$1.core.$strip>>;
2489
+ }, z$1.core.$strip>>;
2490
+ error: z$1.ZodOptional<z$1.ZodObject<{
2491
+ code: z$1.ZodOptional<z$1.ZodString>;
2492
+ message: z$1.ZodString;
2493
+ }, z$1.core.$strip>>;
2494
+ }, z$1.core.$strip>>>;
2495
+ }, z$1.core.$strip>;
2496
+ }, z$1.core.$strip>;
2497
+ 'slates/auth.authorization_callback.handle': z$1.ZodObject<{
2498
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2499
+ id: z$1.ZodString;
2500
+ result: z$1.ZodObject<{
2501
+ output: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2502
+ input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2503
+ scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
2504
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2505
+ startedAt: z$1.ZodString;
2506
+ durationMs: z$1.ZodNumber;
2507
+ request: z$1.ZodObject<{
2508
+ method: z$1.ZodString;
2509
+ url: z$1.ZodString;
2510
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2511
+ body: z$1.ZodOptional<z$1.ZodObject<{
2512
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2513
+ text: z$1.ZodString;
2514
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2515
+ }, z$1.core.$strip>>;
2516
+ }, z$1.core.$strip>;
2517
+ response: z$1.ZodOptional<z$1.ZodObject<{
2518
+ status: z$1.ZodNumber;
2519
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2520
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2521
+ body: z$1.ZodOptional<z$1.ZodObject<{
2522
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2523
+ text: z$1.ZodString;
2524
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2525
+ }, z$1.core.$strip>>;
2526
+ }, z$1.core.$strip>>;
2527
+ error: z$1.ZodOptional<z$1.ZodObject<{
2528
+ code: z$1.ZodOptional<z$1.ZodString>;
2529
+ message: z$1.ZodString;
2530
+ }, z$1.core.$strip>>;
2531
+ }, z$1.core.$strip>>>;
2532
+ }, z$1.core.$strip>;
2533
+ }, z$1.core.$strip>;
2534
+ 'slates/auth.token_refresh.handle': z$1.ZodObject<{
2535
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2536
+ id: z$1.ZodString;
2537
+ result: z$1.ZodObject<{
2538
+ output: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2539
+ input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2540
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2541
+ startedAt: z$1.ZodString;
2542
+ durationMs: z$1.ZodNumber;
2543
+ request: z$1.ZodObject<{
2544
+ method: z$1.ZodString;
2545
+ url: z$1.ZodString;
2546
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2547
+ body: z$1.ZodOptional<z$1.ZodObject<{
2548
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2549
+ text: z$1.ZodString;
2550
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2551
+ }, z$1.core.$strip>>;
2552
+ }, z$1.core.$strip>;
2553
+ response: z$1.ZodOptional<z$1.ZodObject<{
2554
+ status: z$1.ZodNumber;
2555
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2556
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2557
+ body: z$1.ZodOptional<z$1.ZodObject<{
2558
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2559
+ text: z$1.ZodString;
2560
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2561
+ }, z$1.core.$strip>>;
2562
+ }, z$1.core.$strip>>;
2563
+ error: z$1.ZodOptional<z$1.ZodObject<{
2564
+ code: z$1.ZodOptional<z$1.ZodString>;
2565
+ message: z$1.ZodString;
2566
+ }, z$1.core.$strip>>;
2567
+ }, z$1.core.$strip>>>;
2568
+ }, z$1.core.$strip>;
2569
+ }, z$1.core.$strip>;
2570
+ 'slates/auth.profile.get': z$1.ZodObject<{
2571
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2572
+ id: z$1.ZodString;
2573
+ result: z$1.ZodObject<{
2574
+ profile: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2575
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2576
+ startedAt: z$1.ZodString;
2577
+ durationMs: z$1.ZodNumber;
2578
+ request: z$1.ZodObject<{
2579
+ method: z$1.ZodString;
2580
+ url: z$1.ZodString;
2581
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2582
+ body: z$1.ZodOptional<z$1.ZodObject<{
2583
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2584
+ text: z$1.ZodString;
2585
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2586
+ }, z$1.core.$strip>>;
2587
+ }, z$1.core.$strip>;
2588
+ response: z$1.ZodOptional<z$1.ZodObject<{
2589
+ status: z$1.ZodNumber;
2590
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2591
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2592
+ body: z$1.ZodOptional<z$1.ZodObject<{
2593
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2594
+ text: z$1.ZodString;
2595
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2596
+ }, z$1.core.$strip>>;
2597
+ }, z$1.core.$strip>>;
2598
+ error: z$1.ZodOptional<z$1.ZodObject<{
2599
+ code: z$1.ZodOptional<z$1.ZodString>;
2600
+ message: z$1.ZodString;
2601
+ }, z$1.core.$strip>>;
2602
+ }, z$1.core.$strip>>>;
2603
+ }, z$1.core.$strip>;
2604
+ }, z$1.core.$strip>;
2605
+ 'slates/auth.output.get': z$1.ZodObject<{
2606
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2607
+ id: z$1.ZodString;
2608
+ result: z$1.ZodObject<{
2609
+ output: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2610
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2611
+ startedAt: z$1.ZodString;
2612
+ durationMs: z$1.ZodNumber;
2613
+ request: z$1.ZodObject<{
2614
+ method: z$1.ZodString;
2615
+ url: z$1.ZodString;
2616
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2617
+ body: z$1.ZodOptional<z$1.ZodObject<{
2618
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2619
+ text: z$1.ZodString;
2620
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2621
+ }, z$1.core.$strip>>;
2622
+ }, z$1.core.$strip>;
2623
+ response: z$1.ZodOptional<z$1.ZodObject<{
2624
+ status: z$1.ZodNumber;
2625
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2626
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2627
+ body: z$1.ZodOptional<z$1.ZodObject<{
2628
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2629
+ text: z$1.ZodString;
2630
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2631
+ }, z$1.core.$strip>>;
2632
+ }, z$1.core.$strip>>;
2633
+ error: z$1.ZodOptional<z$1.ZodObject<{
2634
+ code: z$1.ZodOptional<z$1.ZodString>;
2635
+ message: z$1.ZodString;
2636
+ }, z$1.core.$strip>>;
2637
+ }, z$1.core.$strip>>>;
2638
+ }, z$1.core.$strip>;
2639
+ }, z$1.core.$strip>;
2640
+ 'slates/actions.list': z$1.ZodObject<{
2641
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2642
+ id: z$1.ZodString;
2643
+ result: z$1.ZodObject<{
2644
+ actions: z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
2645
+ id: z$1.ZodString;
2646
+ name: z$1.ZodString;
2647
+ description: z$1.ZodOptional<z$1.ZodString>;
2648
+ instructions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
2649
+ constraints: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
2650
+ tags: z$1.ZodOptional<z$1.ZodObject<{
2651
+ destructive: z$1.ZodOptional<z$1.ZodBoolean>;
2652
+ readOnly: z$1.ZodOptional<z$1.ZodBoolean>;
2653
+ }, z$1.core.$strip>>;
2654
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2655
+ scopes: z$1.ZodOptional<z$1.ZodObject<{
2656
+ AND: z$1.ZodArray<z$1.ZodObject<{
2657
+ OR: z$1.ZodArray<z$1.ZodString>;
2658
+ }, z$1.core.$strip>>;
2659
+ }, z$1.core.$strip>>;
2660
+ inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2661
+ outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2662
+ type: z$1.ZodLiteral<"action.tool">;
2663
+ capabilities: z$1.ZodObject<{}, z$1.core.$strip>;
2664
+ }, z$1.core.$strip>, z$1.ZodObject<{
2665
+ id: z$1.ZodString;
2666
+ name: z$1.ZodString;
2667
+ description: z$1.ZodOptional<z$1.ZodString>;
2668
+ instructions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
2669
+ constraints: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
2670
+ tags: z$1.ZodOptional<z$1.ZodObject<{
2671
+ destructive: z$1.ZodOptional<z$1.ZodBoolean>;
2672
+ readOnly: z$1.ZodOptional<z$1.ZodBoolean>;
2673
+ }, z$1.core.$strip>>;
2674
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2675
+ scopes: z$1.ZodOptional<z$1.ZodObject<{
2676
+ AND: z$1.ZodArray<z$1.ZodObject<{
2677
+ OR: z$1.ZodArray<z$1.ZodString>;
2678
+ }, z$1.core.$strip>>;
2679
+ }, z$1.core.$strip>>;
2680
+ inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2681
+ outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2682
+ type: z$1.ZodLiteral<"action.trigger">;
2683
+ capabilities: z$1.ZodObject<{}, z$1.core.$strip>;
2684
+ invocation: z$1.ZodUnion<readonly [z$1.ZodObject<{
2685
+ type: z$1.ZodLiteral<"polling">;
2686
+ intervalSeconds: z$1.ZodNumber;
2687
+ }, z$1.core.$strip>, z$1.ZodObject<{
2688
+ type: z$1.ZodLiteral<"webhook">;
2689
+ autoRegistration: z$1.ZodBoolean;
2690
+ autoUnregistration: z$1.ZodBoolean;
2691
+ }, z$1.core.$strip>]>;
2692
+ }, z$1.core.$strip>]>>;
2693
+ }, z$1.core.$strip>;
2694
+ }, z$1.core.$strip>;
2695
+ 'slates/action.get': z$1.ZodObject<{
2696
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2697
+ id: z$1.ZodString;
2698
+ result: z$1.ZodObject<{
2699
+ action: z$1.ZodUnion<readonly [z$1.ZodObject<{
2700
+ id: z$1.ZodString;
2701
+ name: z$1.ZodString;
2702
+ description: z$1.ZodOptional<z$1.ZodString>;
2703
+ instructions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
2704
+ constraints: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
2705
+ tags: z$1.ZodOptional<z$1.ZodObject<{
2706
+ destructive: z$1.ZodOptional<z$1.ZodBoolean>;
2707
+ readOnly: z$1.ZodOptional<z$1.ZodBoolean>;
2708
+ }, z$1.core.$strip>>;
2709
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2710
+ scopes: z$1.ZodOptional<z$1.ZodObject<{
2711
+ AND: z$1.ZodArray<z$1.ZodObject<{
2712
+ OR: z$1.ZodArray<z$1.ZodString>;
2713
+ }, z$1.core.$strip>>;
2714
+ }, z$1.core.$strip>>;
2715
+ inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2716
+ outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2717
+ type: z$1.ZodLiteral<"action.tool">;
2718
+ capabilities: z$1.ZodObject<{}, z$1.core.$strip>;
2719
+ }, z$1.core.$strip>, z$1.ZodObject<{
2720
+ id: z$1.ZodString;
2721
+ name: z$1.ZodString;
2722
+ description: z$1.ZodOptional<z$1.ZodString>;
2723
+ instructions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
2724
+ constraints: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
2725
+ tags: z$1.ZodOptional<z$1.ZodObject<{
2726
+ destructive: z$1.ZodOptional<z$1.ZodBoolean>;
2727
+ readOnly: z$1.ZodOptional<z$1.ZodBoolean>;
2728
+ }, z$1.core.$strip>>;
2729
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2730
+ scopes: z$1.ZodOptional<z$1.ZodObject<{
2731
+ AND: z$1.ZodArray<z$1.ZodObject<{
2732
+ OR: z$1.ZodArray<z$1.ZodString>;
2733
+ }, z$1.core.$strip>>;
2734
+ }, z$1.core.$strip>>;
2735
+ inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2736
+ outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2737
+ type: z$1.ZodLiteral<"action.trigger">;
2738
+ capabilities: z$1.ZodObject<{}, z$1.core.$strip>;
2739
+ invocation: z$1.ZodUnion<readonly [z$1.ZodObject<{
2740
+ type: z$1.ZodLiteral<"polling">;
2741
+ intervalSeconds: z$1.ZodNumber;
2742
+ }, z$1.core.$strip>, z$1.ZodObject<{
2743
+ type: z$1.ZodLiteral<"webhook">;
2744
+ autoRegistration: z$1.ZodBoolean;
2745
+ autoUnregistration: z$1.ZodBoolean;
2746
+ }, z$1.core.$strip>]>;
2747
+ }, z$1.core.$strip>]>;
2748
+ }, z$1.core.$strip>;
2749
+ }, z$1.core.$strip>;
2750
+ 'slates/action.tool.invoke': z$1.ZodObject<{
2751
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2752
+ id: z$1.ZodString;
2753
+ result: z$1.ZodObject<{
2754
+ output: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2755
+ message: z$1.ZodOptional<z$1.ZodString>;
2756
+ attachments: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2757
+ mimeType: z$1.ZodOptional<z$1.ZodString>;
2758
+ content: z$1.ZodUnion<readonly [z$1.ZodObject<{
2759
+ type: z$1.ZodLiteral<"url">;
2760
+ url: z$1.ZodString;
2761
+ }, z$1.core.$strip>, z$1.ZodObject<{
2762
+ type: z$1.ZodLiteral<"content">;
2763
+ encoding: z$1.ZodUnion<readonly [z$1.ZodLiteral<"base64">, z$1.ZodLiteral<"utf-8">]>;
2764
+ content: z$1.ZodString;
2765
+ }, z$1.core.$strip>]>;
2766
+ }, z$1.core.$strip>>>;
2767
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2768
+ startedAt: z$1.ZodString;
2769
+ durationMs: z$1.ZodNumber;
2770
+ request: z$1.ZodObject<{
2771
+ method: z$1.ZodString;
2772
+ url: z$1.ZodString;
2773
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2774
+ body: z$1.ZodOptional<z$1.ZodObject<{
2775
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2776
+ text: z$1.ZodString;
2777
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2778
+ }, z$1.core.$strip>>;
2779
+ }, z$1.core.$strip>;
2780
+ response: z$1.ZodOptional<z$1.ZodObject<{
2781
+ status: z$1.ZodNumber;
2782
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2783
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2784
+ body: z$1.ZodOptional<z$1.ZodObject<{
2785
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2786
+ text: z$1.ZodString;
2787
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2788
+ }, z$1.core.$strip>>;
2789
+ }, z$1.core.$strip>>;
2790
+ error: z$1.ZodOptional<z$1.ZodObject<{
2791
+ code: z$1.ZodOptional<z$1.ZodString>;
2792
+ message: z$1.ZodString;
2793
+ }, z$1.core.$strip>>;
2794
+ }, z$1.core.$strip>>>;
2795
+ }, z$1.core.$strip>;
2796
+ }, z$1.core.$strip>;
2797
+ 'slates/action.trigger.map_event': z$1.ZodObject<{
2798
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2799
+ id: z$1.ZodString;
2800
+ result: z$1.ZodObject<{
2801
+ type: z$1.ZodString;
2802
+ id: z$1.ZodString;
2803
+ output: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2804
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2805
+ startedAt: z$1.ZodString;
2806
+ durationMs: z$1.ZodNumber;
2807
+ request: z$1.ZodObject<{
2808
+ method: z$1.ZodString;
2809
+ url: z$1.ZodString;
2810
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2811
+ body: z$1.ZodOptional<z$1.ZodObject<{
2812
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2813
+ text: z$1.ZodString;
2814
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2815
+ }, z$1.core.$strip>>;
2816
+ }, z$1.core.$strip>;
2817
+ response: z$1.ZodOptional<z$1.ZodObject<{
2818
+ status: z$1.ZodNumber;
2819
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2820
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2821
+ body: z$1.ZodOptional<z$1.ZodObject<{
2822
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2823
+ text: z$1.ZodString;
2824
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2825
+ }, z$1.core.$strip>>;
2826
+ }, z$1.core.$strip>>;
2827
+ error: z$1.ZodOptional<z$1.ZodObject<{
2828
+ code: z$1.ZodOptional<z$1.ZodString>;
2829
+ message: z$1.ZodString;
2830
+ }, z$1.core.$strip>>;
2831
+ }, z$1.core.$strip>>>;
2832
+ }, z$1.core.$strip>;
2833
+ }, z$1.core.$strip>;
2834
+ 'slates/action.trigger.poll_events': z$1.ZodObject<{
2835
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2836
+ id: z$1.ZodString;
2837
+ result: z$1.ZodObject<{
2838
+ inputs: z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2839
+ updatedState: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodAny>>;
2840
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2841
+ startedAt: z$1.ZodString;
2842
+ durationMs: z$1.ZodNumber;
2843
+ request: z$1.ZodObject<{
2844
+ method: z$1.ZodString;
2845
+ url: z$1.ZodString;
2846
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2847
+ body: z$1.ZodOptional<z$1.ZodObject<{
2848
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2849
+ text: z$1.ZodString;
2850
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2851
+ }, z$1.core.$strip>>;
2852
+ }, z$1.core.$strip>;
2853
+ response: z$1.ZodOptional<z$1.ZodObject<{
2854
+ status: z$1.ZodNumber;
2855
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2856
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2857
+ body: z$1.ZodOptional<z$1.ZodObject<{
2858
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2859
+ text: z$1.ZodString;
2860
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2861
+ }, z$1.core.$strip>>;
2862
+ }, z$1.core.$strip>>;
2863
+ error: z$1.ZodOptional<z$1.ZodObject<{
2864
+ code: z$1.ZodOptional<z$1.ZodString>;
2865
+ message: z$1.ZodString;
2866
+ }, z$1.core.$strip>>;
2867
+ }, z$1.core.$strip>>>;
2868
+ }, z$1.core.$strip>;
2869
+ }, z$1.core.$strip>;
2870
+ 'slates/action.trigger.webhook_handle': z$1.ZodObject<{
2871
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2872
+ id: z$1.ZodString;
2873
+ result: z$1.ZodObject<{
2874
+ inputs: z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
2875
+ updatedState: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodAny>>;
2876
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2877
+ startedAt: z$1.ZodString;
2878
+ durationMs: z$1.ZodNumber;
2879
+ request: z$1.ZodObject<{
2880
+ method: z$1.ZodString;
2881
+ url: z$1.ZodString;
2882
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2883
+ body: z$1.ZodOptional<z$1.ZodObject<{
2884
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2885
+ text: z$1.ZodString;
2886
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2887
+ }, z$1.core.$strip>>;
2888
+ }, z$1.core.$strip>;
2889
+ response: z$1.ZodOptional<z$1.ZodObject<{
2890
+ status: z$1.ZodNumber;
2891
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2892
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2893
+ body: z$1.ZodOptional<z$1.ZodObject<{
2894
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2895
+ text: z$1.ZodString;
2896
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2897
+ }, z$1.core.$strip>>;
2898
+ }, z$1.core.$strip>>;
2899
+ error: z$1.ZodOptional<z$1.ZodObject<{
2900
+ code: z$1.ZodOptional<z$1.ZodString>;
2901
+ message: z$1.ZodString;
2902
+ }, z$1.core.$strip>>;
2903
+ }, z$1.core.$strip>>>;
2904
+ }, z$1.core.$strip>;
2905
+ }, z$1.core.$strip>;
2906
+ 'slates/action.trigger.webhook_register': z$1.ZodObject<{
2907
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2908
+ id: z$1.ZodString;
2909
+ result: z$1.ZodObject<{
2910
+ registrationDetails: z$1.ZodAny;
2911
+ state: z$1.ZodOptional<z$1.ZodAny>;
2912
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2913
+ startedAt: z$1.ZodString;
2914
+ durationMs: z$1.ZodNumber;
2915
+ request: z$1.ZodObject<{
2916
+ method: z$1.ZodString;
2917
+ url: z$1.ZodString;
2918
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2919
+ body: z$1.ZodOptional<z$1.ZodObject<{
2920
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2921
+ text: z$1.ZodString;
2922
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2923
+ }, z$1.core.$strip>>;
2924
+ }, z$1.core.$strip>;
2925
+ response: z$1.ZodOptional<z$1.ZodObject<{
2926
+ status: z$1.ZodNumber;
2927
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2928
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2929
+ body: z$1.ZodOptional<z$1.ZodObject<{
2930
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2931
+ text: z$1.ZodString;
2932
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2933
+ }, z$1.core.$strip>>;
2934
+ }, z$1.core.$strip>>;
2935
+ error: z$1.ZodOptional<z$1.ZodObject<{
2936
+ code: z$1.ZodOptional<z$1.ZodString>;
2937
+ message: z$1.ZodString;
2938
+ }, z$1.core.$strip>>;
2939
+ }, z$1.core.$strip>>>;
2940
+ }, z$1.core.$strip>;
2941
+ }, z$1.core.$strip>;
2942
+ 'slates/action.trigger.webhook_unregister': z$1.ZodObject<{
2943
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2944
+ id: z$1.ZodString;
2945
+ result: z$1.ZodObject<{
2946
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
2947
+ startedAt: z$1.ZodString;
2948
+ durationMs: z$1.ZodNumber;
2949
+ request: z$1.ZodObject<{
2950
+ method: z$1.ZodString;
2951
+ url: z$1.ZodString;
2952
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2953
+ body: z$1.ZodOptional<z$1.ZodObject<{
2954
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2955
+ text: z$1.ZodString;
2956
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2957
+ }, z$1.core.$strip>>;
2958
+ }, z$1.core.$strip>;
2959
+ response: z$1.ZodOptional<z$1.ZodObject<{
2960
+ status: z$1.ZodNumber;
2961
+ statusText: z$1.ZodOptional<z$1.ZodString>;
2962
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
2963
+ body: z$1.ZodOptional<z$1.ZodObject<{
2964
+ contentType: z$1.ZodOptional<z$1.ZodString>;
2965
+ text: z$1.ZodString;
2966
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
2967
+ }, z$1.core.$strip>>;
2968
+ }, z$1.core.$strip>>;
2969
+ error: z$1.ZodOptional<z$1.ZodObject<{
2970
+ code: z$1.ZodOptional<z$1.ZodString>;
2971
+ message: z$1.ZodString;
2972
+ }, z$1.core.$strip>>;
2973
+ }, z$1.core.$strip>>>;
2974
+ }, z$1.core.$strip>;
2975
+ }, z$1.core.$strip>;
2976
+ };
2977
+ declare let slatesRequestsByMethod: {
2978
+ 'slates/provider.identify': z$1.ZodObject<{
2979
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2980
+ method: z$1.ZodLiteral<"slates/provider.identify">;
2981
+ id: z$1.ZodString;
2982
+ params: z$1.ZodObject<{}, z$1.core.$strip>;
2983
+ }, z$1.core.$strip>;
2984
+ 'slates/config.schema.get': z$1.ZodObject<{
2985
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2986
+ method: z$1.ZodLiteral<"slates/config.schema.get">;
2987
+ id: z$1.ZodString;
2988
+ params: z$1.ZodObject<{}, z$1.core.$strip>;
2989
+ }, z$1.core.$strip>;
2990
+ 'slates/config.get_default': z$1.ZodObject<{
2991
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2992
+ method: z$1.ZodLiteral<"slates/config.get_default">;
2993
+ id: z$1.ZodString;
2994
+ params: z$1.ZodObject<{}, z$1.core.$strip>;
2995
+ }, z$1.core.$strip>;
2996
+ 'slates/config.changed': z$1.ZodObject<{
2997
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2998
+ method: z$1.ZodLiteral<"slates/config.changed">;
2999
+ id: z$1.ZodString;
3000
+ params: z$1.ZodObject<{
3001
+ previousConfig: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
3002
+ newConfig: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3003
+ }, z$1.core.$strip>;
3004
+ }, z$1.core.$strip>;
3005
+ 'slates/auth.methods.list': z$1.ZodObject<{
3006
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3007
+ method: z$1.ZodLiteral<"slates/auth.methods.list">;
3008
+ id: z$1.ZodString;
3009
+ params: z$1.ZodObject<{}, z$1.core.$strip>;
3010
+ }, z$1.core.$strip>;
3011
+ 'slates/auth.method.get': z$1.ZodObject<{
3012
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3013
+ method: z$1.ZodLiteral<"slates/auth.method.get">;
3014
+ id: z$1.ZodString;
3015
+ params: z$1.ZodObject<{
3016
+ authenticationMethodId: z$1.ZodString;
3017
+ }, z$1.core.$strip>;
3018
+ }, z$1.core.$strip>;
3019
+ 'slates/auth.input.changed': z$1.ZodObject<{
3020
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3021
+ method: z$1.ZodLiteral<"slates/auth.input.changed">;
3022
+ id: z$1.ZodString;
3023
+ params: z$1.ZodObject<{
3024
+ authenticationMethodId: z$1.ZodString;
3025
+ previousInput: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
3026
+ newInput: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3027
+ }, z$1.core.$strip>;
3028
+ }, z$1.core.$strip>;
3029
+ 'slates/auth.input.get_default': z$1.ZodObject<{
3030
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3031
+ method: z$1.ZodLiteral<"slates/auth.input.get_default">;
3032
+ id: z$1.ZodString;
3033
+ params: z$1.ZodObject<{
3034
+ authenticationMethodId: z$1.ZodString;
3035
+ }, z$1.core.$strip>;
3036
+ }, z$1.core.$strip>;
3037
+ 'slates/auth.authorization_url.get': z$1.ZodObject<{
3038
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3039
+ method: z$1.ZodLiteral<"slates/auth.authorization_url.get">;
3040
+ id: z$1.ZodString;
3041
+ params: z$1.ZodObject<{
3042
+ authenticationMethodId: z$1.ZodString;
3043
+ redirectUri: z$1.ZodString;
3044
+ state: z$1.ZodString;
3045
+ input: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3046
+ clientId: z$1.ZodString;
3047
+ clientSecret: z$1.ZodString;
3048
+ scopes: z$1.ZodArray<z$1.ZodString>;
3049
+ }, z$1.core.$strip>;
3050
+ }, z$1.core.$strip>;
3051
+ 'slates/auth.authorization_callback.handle': z$1.ZodObject<{
3052
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3053
+ method: z$1.ZodLiteral<"slates/auth.authorization_callback.handle">;
3054
+ id: z$1.ZodString;
3055
+ params: z$1.ZodObject<{
3056
+ authenticationMethodId: z$1.ZodString;
3057
+ code: z$1.ZodString;
3058
+ state: z$1.ZodString;
3059
+ redirectUri: z$1.ZodString;
3060
+ input: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3061
+ clientId: z$1.ZodString;
3062
+ clientSecret: z$1.ZodString;
3063
+ scopes: z$1.ZodArray<z$1.ZodString>;
3064
+ callbackState: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
3065
+ }, z$1.core.$strip>;
3066
+ }, z$1.core.$strip>;
3067
+ 'slates/auth.token_refresh.handle': z$1.ZodObject<{
3068
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3069
+ method: z$1.ZodLiteral<"slates/auth.token_refresh.handle">;
3070
+ id: z$1.ZodString;
3071
+ params: z$1.ZodObject<{
3072
+ authenticationMethodId: z$1.ZodString;
3073
+ output: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3074
+ input: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3075
+ clientId: z$1.ZodString;
3076
+ clientSecret: z$1.ZodString;
3077
+ scopes: z$1.ZodArray<z$1.ZodString>;
3078
+ }, z$1.core.$strip>;
3079
+ }, z$1.core.$strip>;
3080
+ 'slates/auth.profile.get': z$1.ZodObject<{
3081
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3082
+ method: z$1.ZodLiteral<"slates/auth.profile.get">;
3083
+ id: z$1.ZodString;
3084
+ params: z$1.ZodObject<{
3085
+ authenticationMethodId: z$1.ZodString;
3086
+ output: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3087
+ input: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3088
+ scopes: z$1.ZodArray<z$1.ZodString>;
3089
+ }, z$1.core.$strip>;
3090
+ }, z$1.core.$strip>;
3091
+ 'slates/auth.output.get': z$1.ZodObject<{
3092
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3093
+ method: z$1.ZodLiteral<"slates/auth.output.get">;
3094
+ id: z$1.ZodString;
3095
+ params: z$1.ZodObject<{
3096
+ authenticationMethodId: z$1.ZodString;
3097
+ input: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3098
+ }, z$1.core.$strip>;
3099
+ }, z$1.core.$strip>;
3100
+ 'slates/actions.list': z$1.ZodObject<{
3101
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3102
+ method: z$1.ZodLiteral<"slates/actions.list">;
3103
+ id: z$1.ZodString;
3104
+ params: z$1.ZodObject<{}, z$1.core.$strip>;
3105
+ }, z$1.core.$strip>;
3106
+ 'slates/action.get': z$1.ZodObject<{
3107
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3108
+ method: z$1.ZodLiteral<"slates/action.get">;
3109
+ id: z$1.ZodString;
3110
+ params: z$1.ZodObject<{
3111
+ actionId: z$1.ZodString;
3112
+ }, z$1.core.$strip>;
3113
+ }, z$1.core.$strip>;
3114
+ 'slates/action.tool.invoke': z$1.ZodObject<{
3115
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3116
+ method: z$1.ZodLiteral<"slates/action.tool.invoke">;
3117
+ id: z$1.ZodString;
3118
+ params: z$1.ZodObject<{
3119
+ actionId: z$1.ZodString;
3120
+ input: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3121
+ }, z$1.core.$strip>;
3122
+ }, z$1.core.$strip>;
3123
+ 'slates/action.trigger.map_event': z$1.ZodObject<{
3124
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3125
+ method: z$1.ZodLiteral<"slates/action.trigger.map_event">;
3126
+ id: z$1.ZodString;
3127
+ params: z$1.ZodObject<{
3128
+ actionId: z$1.ZodString;
3129
+ input: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3130
+ }, z$1.core.$strip>;
3131
+ }, z$1.core.$strip>;
3132
+ 'slates/action.trigger.poll_events': z$1.ZodObject<{
3133
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3134
+ method: z$1.ZodLiteral<"slates/action.trigger.poll_events">;
3135
+ id: z$1.ZodString;
3136
+ params: z$1.ZodObject<{
3137
+ actionId: z$1.ZodString;
3138
+ state: z$1.ZodNullable<z$1.ZodAny>;
3139
+ }, z$1.core.$strip>;
3140
+ }, z$1.core.$strip>;
3141
+ 'slates/action.trigger.webhook_handle': z$1.ZodObject<{
3142
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3143
+ method: z$1.ZodLiteral<"slates/action.trigger.webhook_handle">;
3144
+ id: z$1.ZodString;
3145
+ params: z$1.ZodObject<{
3146
+ actionId: z$1.ZodString;
3147
+ url: z$1.ZodString;
3148
+ method: z$1.ZodString;
3149
+ headers: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
3150
+ body: z$1.ZodNullable<z$1.ZodObject<{
3151
+ encoding: z$1.ZodLiteral<"base64">;
3152
+ content: z$1.ZodString;
3153
+ }, z$1.core.$strip>>;
3154
+ state: z$1.ZodNullable<z$1.ZodAny>;
3155
+ }, z$1.core.$strip>;
3156
+ }, z$1.core.$strip>;
3157
+ 'slates/action.trigger.webhook_register': z$1.ZodObject<{
3158
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3159
+ method: z$1.ZodLiteral<"slates/action.trigger.webhook_register">;
3160
+ id: z$1.ZodString;
3161
+ params: z$1.ZodObject<{
3162
+ actionId: z$1.ZodString;
3163
+ webhookBaseUrl: z$1.ZodString;
3164
+ }, z$1.core.$strip>;
3165
+ }, z$1.core.$strip>;
3166
+ 'slates/action.trigger.webhook_unregister': z$1.ZodObject<{
3167
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3168
+ method: z$1.ZodLiteral<"slates/action.trigger.webhook_unregister">;
3169
+ id: z$1.ZodString;
3170
+ params: z$1.ZodObject<{
3171
+ actionId: z$1.ZodString;
3172
+ webhookBaseUrl: z$1.ZodString;
3173
+ registrationDetails: z$1.ZodAny;
3174
+ state: z$1.ZodOptional<z$1.ZodAny>;
3175
+ }, z$1.core.$strip>;
3176
+ }, z$1.core.$strip>;
3177
+ };
3178
+ declare let slatesNotificationsByMethod: {
3179
+ 'slates/hello': z$1.ZodObject<{
3180
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3181
+ method: z$1.ZodLiteral<"slates/hello">;
3182
+ params: z$1.ZodObject<{
3183
+ protocol: z$1.ZodLiteral<"slates@2026-01-01">;
3184
+ }, z$1.core.$strip>;
3185
+ }, z$1.core.$strip>;
3186
+ 'slates/participant.set': z$1.ZodObject<{
3187
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3188
+ method: z$1.ZodLiteral<"slates/participant.set">;
3189
+ params: z$1.ZodObject<{
3190
+ participants: z$1.ZodArray<z$1.ZodObject<{
3191
+ type: z$1.ZodUnion<readonly [z$1.ZodLiteral<"consumer">, z$1.ZodLiteral<"hub">]>;
3192
+ id: z$1.ZodString;
3193
+ name: z$1.ZodString;
3194
+ description: z$1.ZodOptional<z$1.ZodString>;
3195
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
3196
+ }, z$1.core.$strip>>;
3197
+ }, z$1.core.$strip>;
3198
+ }, z$1.core.$strip>;
3199
+ 'slates/session.start': z$1.ZodObject<{
3200
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3201
+ method: z$1.ZodLiteral<"slates/session.start">;
3202
+ params: z$1.ZodObject<{
3203
+ sessionId: z$1.ZodString;
3204
+ state: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3205
+ }, z$1.core.$strip>;
3206
+ }, z$1.core.$strip>;
3207
+ 'slates/config.set': z$1.ZodObject<{
3208
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3209
+ method: z$1.ZodLiteral<"slates/config.set">;
3210
+ params: z$1.ZodObject<{
3211
+ config: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3212
+ }, z$1.core.$strip>;
3213
+ }, z$1.core.$strip>;
3214
+ 'slates/auth.set': z$1.ZodObject<{
3215
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3216
+ method: z$1.ZodLiteral<"slates/auth.set">;
3217
+ params: z$1.ZodObject<{
3218
+ authenticationMethodId: z$1.ZodString;
3219
+ output: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3220
+ }, z$1.core.$strip>;
3221
+ }, z$1.core.$strip>;
3222
+ };
3223
+ type SlatesResponsesByMethod = {
3224
+ [key in keyof typeof slatesResponsesByMethod]: z$1.infer<(typeof slatesResponsesByMethod)[key]>;
3225
+ };
3226
+
3227
+ declare class SlatesProviderProtoHandlerManager {
3228
+ #private;
3229
+ onNotification<Method extends SlatesNotifications['method']>(method: Method, handler: (message: Extract<SlatesNotifications, {
3230
+ method: Method;
3231
+ }>) => void): void;
3232
+ onRequest<Method extends SlatesRequests['method']>(method: Method, cb: (message: Extract<SlatesRequests, {
3233
+ method: Method;
3234
+ }>) => Promise<SlatesResponsesByMethod[Method]['result']>): void;
3235
+ private _handleInput;
3236
+ static handleInput(manager: SlatesProviderProtoHandlerManager, input: SlatesNotifications | SlatesRequests): Promise<{
3237
+ jsonrpc: "2.0";
3238
+ id: any;
3239
+ error: {
3240
+ [key: string]: unknown;
3241
+ code: string;
3242
+ message: string;
3243
+ kind?: string;
3244
+ } | {
3245
+ baggage: {
3246
+ serviceErrorData?: {
3247
+ [k: string]: unknown;
3248
+ } | undefined;
3249
+ serviceError: {
3250
+ code: string;
3251
+ status: number;
3252
+ hint: string | undefined;
3253
+ description: string | undefined;
3254
+ reason: string | undefined;
3255
+ };
3256
+ };
3257
+ issues?: ({
3258
+ message: string;
3259
+ } | {
3260
+ path: string[] | undefined;
3261
+ code: string | undefined;
3262
+ message: string;
3263
+ })[] | undefined;
3264
+ code: string;
3265
+ kind: string;
3266
+ message: string;
3267
+ retryable: boolean;
3268
+ status: number;
3269
+ } | {
3270
+ baggage?: {
3271
+ originalName: string;
3272
+ } | undefined;
3273
+ code: string;
3274
+ kind: string;
3275
+ message: string;
3276
+ retryable: boolean;
3277
+ status: number;
3278
+ };
3279
+ result?: undefined;
3280
+ } | {
3281
+ jsonrpc: "2.0";
3282
+ id: any;
3283
+ result: any;
3284
+ error?: undefined;
3285
+ } | undefined>;
3286
+ }
3287
+ declare let createSlatesProviderProtoHandler: (cb: (manager: SlatesProviderProtoHandlerManager) => Promise<void>) => {
3288
+ run: () => Promise<SlatesProviderProtoHandlerManager>;
3289
+ };
3290
+
3291
+ declare let slatesActionScopeClause: z.ZodObject<{
3292
+ OR: z.ZodArray<z.ZodString>;
3293
+ }, z.core.$strip>;
3294
+ declare let slatesActionScopes: z.ZodObject<{
3295
+ AND: z.ZodArray<z.ZodObject<{
3296
+ OR: z.ZodArray<z.ZodString>;
3297
+ }, z.core.$strip>>;
3298
+ }, z.core.$strip>;
3299
+ declare let slatesActionBase: z.ZodObject<{
3300
+ id: z.ZodString;
3301
+ name: z.ZodString;
3302
+ description: z.ZodOptional<z.ZodString>;
3303
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
3304
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
3305
+ tags: z.ZodOptional<z.ZodObject<{
3306
+ destructive: z.ZodOptional<z.ZodBoolean>;
3307
+ readOnly: z.ZodOptional<z.ZodBoolean>;
3308
+ }, z.core.$strip>>;
3309
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3310
+ scopes: z.ZodOptional<z.ZodObject<{
3311
+ AND: z.ZodArray<z.ZodObject<{
3312
+ OR: z.ZodArray<z.ZodString>;
3313
+ }, z.core.$strip>>;
3314
+ }, z.core.$strip>>;
3315
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
3316
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
3317
+ }, z.core.$strip>;
3318
+ declare let slatesActionTool: z.ZodObject<{
3319
+ id: z.ZodString;
3320
+ name: z.ZodString;
3321
+ description: z.ZodOptional<z.ZodString>;
3322
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
3323
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
3324
+ tags: z.ZodOptional<z.ZodObject<{
3325
+ destructive: z.ZodOptional<z.ZodBoolean>;
3326
+ readOnly: z.ZodOptional<z.ZodBoolean>;
3327
+ }, z.core.$strip>>;
3328
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3329
+ scopes: z.ZodOptional<z.ZodObject<{
3330
+ AND: z.ZodArray<z.ZodObject<{
3331
+ OR: z.ZodArray<z.ZodString>;
3332
+ }, z.core.$strip>>;
3333
+ }, z.core.$strip>>;
3334
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
3335
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
3336
+ type: z.ZodLiteral<"action.tool">;
3337
+ capabilities: z.ZodObject<{}, z.core.$strip>;
3338
+ }, z.core.$strip>;
3339
+ declare let slatesActionTrigger: z.ZodObject<{
3340
+ id: z.ZodString;
3341
+ name: z.ZodString;
3342
+ description: z.ZodOptional<z.ZodString>;
3343
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
3344
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
3345
+ tags: z.ZodOptional<z.ZodObject<{
3346
+ destructive: z.ZodOptional<z.ZodBoolean>;
3347
+ readOnly: z.ZodOptional<z.ZodBoolean>;
3348
+ }, z.core.$strip>>;
3349
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3350
+ scopes: z.ZodOptional<z.ZodObject<{
3351
+ AND: z.ZodArray<z.ZodObject<{
3352
+ OR: z.ZodArray<z.ZodString>;
3353
+ }, z.core.$strip>>;
3354
+ }, z.core.$strip>>;
3355
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
3356
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
3357
+ type: z.ZodLiteral<"action.trigger">;
3358
+ capabilities: z.ZodObject<{}, z.core.$strip>;
3359
+ invocation: z.ZodUnion<readonly [z.ZodObject<{
3360
+ type: z.ZodLiteral<"polling">;
3361
+ intervalSeconds: z.ZodNumber;
3362
+ }, z.core.$strip>, z.ZodObject<{
3363
+ type: z.ZodLiteral<"webhook">;
3364
+ autoRegistration: z.ZodBoolean;
3365
+ autoUnregistration: z.ZodBoolean;
3366
+ }, z.core.$strip>]>;
3367
+ }, z.core.$strip>;
3368
+ declare let slatesAction: z.ZodUnion<readonly [z.ZodObject<{
3369
+ id: z.ZodString;
3370
+ name: z.ZodString;
3371
+ description: z.ZodOptional<z.ZodString>;
3372
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
3373
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
3374
+ tags: z.ZodOptional<z.ZodObject<{
3375
+ destructive: z.ZodOptional<z.ZodBoolean>;
3376
+ readOnly: z.ZodOptional<z.ZodBoolean>;
3377
+ }, z.core.$strip>>;
3378
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3379
+ scopes: z.ZodOptional<z.ZodObject<{
3380
+ AND: z.ZodArray<z.ZodObject<{
3381
+ OR: z.ZodArray<z.ZodString>;
3382
+ }, z.core.$strip>>;
3383
+ }, z.core.$strip>>;
3384
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
3385
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
3386
+ type: z.ZodLiteral<"action.tool">;
3387
+ capabilities: z.ZodObject<{}, z.core.$strip>;
3388
+ }, z.core.$strip>, z.ZodObject<{
3389
+ id: z.ZodString;
3390
+ name: z.ZodString;
3391
+ description: z.ZodOptional<z.ZodString>;
3392
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
3393
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
3394
+ tags: z.ZodOptional<z.ZodObject<{
3395
+ destructive: z.ZodOptional<z.ZodBoolean>;
3396
+ readOnly: z.ZodOptional<z.ZodBoolean>;
3397
+ }, z.core.$strip>>;
3398
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3399
+ scopes: z.ZodOptional<z.ZodObject<{
3400
+ AND: z.ZodArray<z.ZodObject<{
3401
+ OR: z.ZodArray<z.ZodString>;
3402
+ }, z.core.$strip>>;
3403
+ }, z.core.$strip>>;
3404
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
3405
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
3406
+ type: z.ZodLiteral<"action.trigger">;
3407
+ capabilities: z.ZodObject<{}, z.core.$strip>;
3408
+ invocation: z.ZodUnion<readonly [z.ZodObject<{
3409
+ type: z.ZodLiteral<"polling">;
3410
+ intervalSeconds: z.ZodNumber;
3411
+ }, z.core.$strip>, z.ZodObject<{
3412
+ type: z.ZodLiteral<"webhook">;
3413
+ autoRegistration: z.ZodBoolean;
3414
+ autoUnregistration: z.ZodBoolean;
3415
+ }, z.core.$strip>]>;
3416
+ }, z.core.$strip>]>;
3417
+ type SlatesAction = z.infer<typeof slatesAction>;
3418
+ type SlatesActionTool = z.infer<typeof slatesActionTool>;
3419
+ type SlatesActionTrigger = z.infer<typeof slatesActionTrigger>;
3420
+ type SlatesActionScopes = z.infer<typeof slatesActionScopes>;
3421
+
3422
+ declare let slatesAuthenticationMethod: z.ZodObject<{
3423
+ id: z.ZodString;
3424
+ name: z.ZodString;
3425
+ type: z.ZodUnion<readonly [z.ZodLiteral<"auth.oauth">, z.ZodLiteral<"auth.token">, z.ZodLiteral<"auth.service_account">, z.ZodLiteral<"auth.custom">]>;
3426
+ scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3427
+ id: z.ZodString;
3428
+ title: z.ZodString;
3429
+ description: z.ZodOptional<z.ZodString>;
3430
+ }, z.core.$strip>>>;
3431
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
3432
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
3433
+ capabilities: z.ZodObject<{
3434
+ getDefaultInput: z.ZodOptional<z.ZodObject<{
3435
+ enabled: z.ZodBoolean;
3436
+ }, z.core.$strip>>;
3437
+ handleChangedInput: z.ZodOptional<z.ZodObject<{
3438
+ enabled: z.ZodBoolean;
3439
+ }, z.core.$strip>>;
3440
+ handleTokenRefresh: z.ZodOptional<z.ZodObject<{
3441
+ enabled: z.ZodBoolean;
3442
+ }, z.core.$strip>>;
3443
+ getProfile: z.ZodOptional<z.ZodObject<{
3444
+ enabled: z.ZodBoolean;
3445
+ }, z.core.$strip>>;
3446
+ }, z.core.$strip>;
3447
+ }, z.core.$strip>;
3448
+ type SlateAuthenticationMethod = z.infer<typeof slatesAuthenticationMethod>;
3449
+
3450
+ declare let slatesParticipant: z.ZodObject<{
3451
+ type: z.ZodUnion<readonly [z.ZodLiteral<"consumer">, z.ZodLiteral<"hub">]>;
3452
+ id: z.ZodString;
3453
+ name: z.ZodString;
3454
+ description: z.ZodOptional<z.ZodString>;
3455
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3456
+ }, z.core.$strip>;
3457
+ type SlatesParticipant = z.infer<typeof slatesParticipant>;
3458
+
3459
+ declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
3460
+ type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
3461
+
3462
+ export { SLATES_PROTOCOL_VERSION, type SlateAuthenticationMethod, type SlatesAction, type SlatesActionRequests, type SlatesActionResponses, type SlatesActionScopes, type SlatesActionTool, type SlatesActionTrigger, type SlatesAuthNotifications, type SlatesAuthRequests, type SlatesAuthResponses, type SlatesConfigNotifications, type SlatesConfigRequests, type SlatesConfigResponses, type SlatesControlFlowNotifications, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesMessageActionGetRequest, type SlatesMessageActionGetResponse, type SlatesMessageActionInvokeRequest, type SlatesMessageActionInvokeResponse, type SlatesMessageActionTriggerEventMapRequest, type SlatesMessageActionTriggerEventMapResponse, type SlatesMessageActionTriggerEventsPollRequest, type SlatesMessageActionTriggerEventsPollResponse, type SlatesMessageActionTriggerWebhookHandleRequest, type SlatesMessageActionTriggerWebhookHandleResponse, type SlatesMessageActionTriggerWebhookRegisterRequest, type SlatesMessageActionTriggerWebhookRegisterResponse, type SlatesMessageActionTriggerWebhookUnregisterRequest, type SlatesMessageActionTriggerWebhookUnregisterResponse, type SlatesMessageActionsListRequest, type SlatesMessageActionsListResponse, type SlatesMessageAuthAuthorizationCallbackHandleRequest, type SlatesMessageAuthAuthorizationCallbackHandleResponse, type SlatesMessageAuthAuthorizationUrlGetRequest, type SlatesMessageAuthAuthorizationUrlGetResponse, type SlatesMessageAuthDefaultInputGetRequest, type SlatesMessageAuthDefaultInputGetResponse, type SlatesMessageAuthInputChangedRequest, type SlatesMessageAuthInputChangedResponse, type SlatesMessageAuthMethodGetRequest, type SlatesMessageAuthMethodGetResponse, type SlatesMessageAuthMethodsListRequest, type SlatesMessageAuthMethodsListResponse, type SlatesMessageAuthOutputGetRequest, type SlatesMessageAuthOutputGetResponse, type SlatesMessageAuthProfileGetRequest, type SlatesMessageAuthProfileGetResponse, type SlatesMessageAuthTokenRefreshHandleRequest, type SlatesMessageAuthTokenRefreshHandleResponse, type SlatesMessageConfigChangedRequest, type SlatesMessageConfigChangedResponse, type SlatesMessageConfigDefaultGetRequest, type SlatesMessageConfigDefaultGetResponse, type SlatesMessageConfigSchemaGetRequest, type SlatesMessageConfigSchemaGetResponse, type SlatesMessageHelloNotification, type SlatesMessageProviderIdentifyRequest, type SlatesMessageProviderIdentifyResponse, type SlatesMessageSessionStartNotification, type SlatesMessageSetAuthNotification, type SlatesMessageSetConfigNotification, type SlatesMessageSetParticipantsNotification, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAuthAuthorizationCallbackHandleRequest, slatesMessageAuthAuthorizationCallbackHandleResponse, slatesMessageAuthAuthorizationUrlGetRequest, slatesMessageAuthAuthorizationUrlGetResponse, slatesMessageAuthDefaultInputGetRequest, slatesMessageAuthDefaultInputGetResponse, slatesMessageAuthInputChangedRequest, slatesMessageAuthInputChangedResponse, slatesMessageAuthMethodGetRequest, slatesMessageAuthMethodGetResponse, slatesMessageAuthMethodsListRequest, slatesMessageAuthMethodsListResponse, slatesMessageAuthOutputGetRequest, slatesMessageAuthOutputGetResponse, slatesMessageAuthProfileGetRequest, slatesMessageAuthProfileGetResponse, slatesMessageAuthTokenRefreshHandleRequest, slatesMessageAuthTokenRefreshHandleResponse, slatesMessageConfigChangedRequest, slatesMessageConfigChangedResponse, slatesMessageConfigDefaultGetRequest, slatesMessageConfigDefaultGetResponse, slatesMessageConfigSchemaGetRequest, slatesMessageConfigSchemaGetResponse, slatesMessageHelloNotification, slatesMessageProviderIdentifyRequest, slatesMessageProviderIdentifyResponse, slatesMessageSessionStartNotification, slatesMessageSetAuthNotification, slatesMessageSetConfigNotification, slatesMessageSetParticipantsNotification, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, withRequestTraces };