@slates/proto 1.0.0-rc.1 → 1.0.0-rc.10

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