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

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