@frogbotai/piece-microsoft-teams 0.38.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,46 +27,51 @@ export declare const channelCreated: {
27
27
  } & {
28
28
  type: "polling";
29
29
  schedule?: string;
30
- run(args: import("frogbot").PieceRunArgs<{
31
- teamId: string;
32
- }, {
33
- botAppType: "MultiTenant" | "SingleTenant";
34
- botUsername: string;
35
- botTenantId?: string | undefined;
36
- botApiUrl?: string | undefined;
37
- }, {
38
- baseUrl: string;
39
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
40
- method?: string;
41
- body?: unknown;
42
- headers?: Record<string, string>;
43
- query?: Record<string, string | number>;
44
- signal?: AbortSignal;
45
- }) => Promise<T>;
46
- text(path: string, options?: {
47
- method?: string;
48
- body?: unknown;
49
- headers?: Record<string, string>;
50
- query?: Record<string, string | number>;
51
- signal?: AbortSignal;
52
- }): Promise<string>;
53
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
54
- method?: string;
55
- body?: unknown;
56
- headers?: Record<string, string>;
57
- query?: Record<string, string | number>;
58
- signal?: AbortSignal;
59
- }) => Promise<T[]>;
60
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
61
- method?: string;
62
- body?: unknown;
63
- headers?: Record<string, string>;
64
- query?: Record<string, string | number>;
65
- signal?: AbortSignal;
66
- }) => Promise<import("./schemas.js").GraphPage<T>>;
67
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
68
- authorize(target: URL, headers: Headers): void;
69
- }> & {
30
+ run(args: {
31
+ input: {
32
+ teamId: string;
33
+ };
34
+ options: {
35
+ botAppType: "MultiTenant" | "SingleTenant";
36
+ botUsername: string;
37
+ botTenantId?: string | undefined;
38
+ botApiUrl?: string | undefined;
39
+ };
40
+ client: {
41
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
42
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
43
+ method?: string;
44
+ body?: unknown;
45
+ headers?: Record<string, string>;
46
+ query?: Record<string, string | number>;
47
+ signal?: AbortSignal;
48
+ }) => Promise<T>;
49
+ text(path: string, options?: {
50
+ method?: string;
51
+ body?: unknown;
52
+ headers?: Record<string, string>;
53
+ query?: Record<string, string | number>;
54
+ signal?: AbortSignal;
55
+ }): Promise<string>;
56
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
57
+ method?: string;
58
+ body?: unknown;
59
+ headers?: Record<string, string>;
60
+ query?: Record<string, string | number>;
61
+ signal?: AbortSignal;
62
+ }) => Promise<T[]>;
63
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
64
+ method?: string;
65
+ body?: unknown;
66
+ headers?: Record<string, string>;
67
+ query?: Record<string, string | number>;
68
+ signal?: AbortSignal;
69
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
70
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
71
+ authorize(target: URL, headers: Headers): void;
72
+ };
73
+ req: import("frogbot").FrogBotRequest;
74
+ } & {
70
75
  cursor?: PieceJSON | undefined;
71
76
  }): Promise<{
72
77
  events: {
@@ -116,47 +121,52 @@ export declare const channelMessageCreated: {
116
121
  } & {
117
122
  type: "polling";
118
123
  schedule?: string;
119
- run(args: import("frogbot").PieceRunArgs<{
120
- teamId: string;
121
- channelId: string;
122
- }, {
123
- botAppType: "MultiTenant" | "SingleTenant";
124
- botUsername: string;
125
- botTenantId?: string | undefined;
126
- botApiUrl?: string | undefined;
127
- }, {
128
- baseUrl: string;
129
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
130
- method?: string;
131
- body?: unknown;
132
- headers?: Record<string, string>;
133
- query?: Record<string, string | number>;
134
- signal?: AbortSignal;
135
- }) => Promise<T>;
136
- text(path: string, options?: {
137
- method?: string;
138
- body?: unknown;
139
- headers?: Record<string, string>;
140
- query?: Record<string, string | number>;
141
- signal?: AbortSignal;
142
- }): Promise<string>;
143
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
144
- method?: string;
145
- body?: unknown;
146
- headers?: Record<string, string>;
147
- query?: Record<string, string | number>;
148
- signal?: AbortSignal;
149
- }) => Promise<T[]>;
150
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
151
- method?: string;
152
- body?: unknown;
153
- headers?: Record<string, string>;
154
- query?: Record<string, string | number>;
155
- signal?: AbortSignal;
156
- }) => Promise<import("./schemas.js").GraphPage<T>>;
157
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
158
- authorize(target: URL, headers: Headers): void;
159
- }> & {
124
+ run(args: {
125
+ input: {
126
+ teamId: string;
127
+ channelId: string;
128
+ };
129
+ options: {
130
+ botAppType: "MultiTenant" | "SingleTenant";
131
+ botUsername: string;
132
+ botTenantId?: string | undefined;
133
+ botApiUrl?: string | undefined;
134
+ };
135
+ client: {
136
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
137
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
138
+ method?: string;
139
+ body?: unknown;
140
+ headers?: Record<string, string>;
141
+ query?: Record<string, string | number>;
142
+ signal?: AbortSignal;
143
+ }) => Promise<T>;
144
+ text(path: string, options?: {
145
+ method?: string;
146
+ body?: unknown;
147
+ headers?: Record<string, string>;
148
+ query?: Record<string, string | number>;
149
+ signal?: AbortSignal;
150
+ }): Promise<string>;
151
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
152
+ method?: string;
153
+ body?: unknown;
154
+ headers?: Record<string, string>;
155
+ query?: Record<string, string | number>;
156
+ signal?: AbortSignal;
157
+ }) => Promise<T[]>;
158
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
159
+ method?: string;
160
+ body?: unknown;
161
+ headers?: Record<string, string>;
162
+ query?: Record<string, string | number>;
163
+ signal?: AbortSignal;
164
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
165
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
166
+ authorize(target: URL, headers: Headers): void;
167
+ };
168
+ req: import("frogbot").FrogBotRequest;
169
+ } & {
160
170
  cursor?: PieceJSON | undefined;
161
171
  }): Promise<{
162
172
  events: {
@@ -217,44 +227,49 @@ export declare const chatCreated: {
217
227
  } & {
218
228
  type: "polling";
219
229
  schedule?: string;
220
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
221
- botAppType: "MultiTenant" | "SingleTenant";
222
- botUsername: string;
223
- botTenantId?: string | undefined;
224
- botApiUrl?: string | undefined;
225
- }, {
226
- baseUrl: string;
227
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
228
- method?: string;
229
- body?: unknown;
230
- headers?: Record<string, string>;
231
- query?: Record<string, string | number>;
232
- signal?: AbortSignal;
233
- }) => Promise<T>;
234
- text(path: string, options?: {
235
- method?: string;
236
- body?: unknown;
237
- headers?: Record<string, string>;
238
- query?: Record<string, string | number>;
239
- signal?: AbortSignal;
240
- }): Promise<string>;
241
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
242
- method?: string;
243
- body?: unknown;
244
- headers?: Record<string, string>;
245
- query?: Record<string, string | number>;
246
- signal?: AbortSignal;
247
- }) => Promise<T[]>;
248
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
249
- method?: string;
250
- body?: unknown;
251
- headers?: Record<string, string>;
252
- query?: Record<string, string | number>;
253
- signal?: AbortSignal;
254
- }) => Promise<import("./schemas.js").GraphPage<T>>;
255
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
256
- authorize(target: URL, headers: Headers): void;
257
- }> & {
230
+ run(args: {
231
+ input: Record<string, never>;
232
+ options: {
233
+ botAppType: "MultiTenant" | "SingleTenant";
234
+ botUsername: string;
235
+ botTenantId?: string | undefined;
236
+ botApiUrl?: string | undefined;
237
+ };
238
+ client: {
239
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
240
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
241
+ method?: string;
242
+ body?: unknown;
243
+ headers?: Record<string, string>;
244
+ query?: Record<string, string | number>;
245
+ signal?: AbortSignal;
246
+ }) => Promise<T>;
247
+ text(path: string, options?: {
248
+ method?: string;
249
+ body?: unknown;
250
+ headers?: Record<string, string>;
251
+ query?: Record<string, string | number>;
252
+ signal?: AbortSignal;
253
+ }): Promise<string>;
254
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
255
+ method?: string;
256
+ body?: unknown;
257
+ headers?: Record<string, string>;
258
+ query?: Record<string, string | number>;
259
+ signal?: AbortSignal;
260
+ }) => Promise<T[]>;
261
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
262
+ method?: string;
263
+ body?: unknown;
264
+ headers?: Record<string, string>;
265
+ query?: Record<string, string | number>;
266
+ signal?: AbortSignal;
267
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
268
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
269
+ authorize(target: URL, headers: Headers): void;
270
+ };
271
+ req: import("frogbot").FrogBotRequest;
272
+ } & {
258
273
  cursor?: PieceJSON | undefined;
259
274
  }): Promise<{
260
275
  events: {
@@ -309,46 +324,51 @@ export declare const chatMessageCreated: {
309
324
  } & {
310
325
  type: "polling";
311
326
  schedule?: string;
312
- run(args: import("frogbot").PieceRunArgs<{
313
- chatId: string;
314
- }, {
315
- botAppType: "MultiTenant" | "SingleTenant";
316
- botUsername: string;
317
- botTenantId?: string | undefined;
318
- botApiUrl?: string | undefined;
319
- }, {
320
- baseUrl: string;
321
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
322
- method?: string;
323
- body?: unknown;
324
- headers?: Record<string, string>;
325
- query?: Record<string, string | number>;
326
- signal?: AbortSignal;
327
- }) => Promise<T>;
328
- text(path: string, options?: {
329
- method?: string;
330
- body?: unknown;
331
- headers?: Record<string, string>;
332
- query?: Record<string, string | number>;
333
- signal?: AbortSignal;
334
- }): Promise<string>;
335
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
336
- method?: string;
337
- body?: unknown;
338
- headers?: Record<string, string>;
339
- query?: Record<string, string | number>;
340
- signal?: AbortSignal;
341
- }) => Promise<T[]>;
342
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
343
- method?: string;
344
- body?: unknown;
345
- headers?: Record<string, string>;
346
- query?: Record<string, string | number>;
347
- signal?: AbortSignal;
348
- }) => Promise<import("./schemas.js").GraphPage<T>>;
349
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
350
- authorize(target: URL, headers: Headers): void;
351
- }> & {
327
+ run(args: {
328
+ input: {
329
+ chatId: string;
330
+ };
331
+ options: {
332
+ botAppType: "MultiTenant" | "SingleTenant";
333
+ botUsername: string;
334
+ botTenantId?: string | undefined;
335
+ botApiUrl?: string | undefined;
336
+ };
337
+ client: {
338
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
339
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
340
+ method?: string;
341
+ body?: unknown;
342
+ headers?: Record<string, string>;
343
+ query?: Record<string, string | number>;
344
+ signal?: AbortSignal;
345
+ }) => Promise<T>;
346
+ text(path: string, options?: {
347
+ method?: string;
348
+ body?: unknown;
349
+ headers?: Record<string, string>;
350
+ query?: Record<string, string | number>;
351
+ signal?: AbortSignal;
352
+ }): Promise<string>;
353
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
354
+ method?: string;
355
+ body?: unknown;
356
+ headers?: Record<string, string>;
357
+ query?: Record<string, string | number>;
358
+ signal?: AbortSignal;
359
+ }) => Promise<T[]>;
360
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
361
+ method?: string;
362
+ body?: unknown;
363
+ headers?: Record<string, string>;
364
+ query?: Record<string, string | number>;
365
+ signal?: AbortSignal;
366
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
367
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
368
+ authorize(target: URL, headers: Headers): void;
369
+ };
370
+ req: import("frogbot").FrogBotRequest;
371
+ } & {
352
372
  cursor?: PieceJSON | undefined;
353
373
  }): Promise<{
354
374
  events: {
@@ -378,44 +398,49 @@ export declare const messageReceived: {
378
398
  } & {
379
399
  type: "app";
380
400
  event: string;
381
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
382
- botAppType: "MultiTenant" | "SingleTenant";
383
- botUsername: string;
384
- botTenantId?: string | undefined;
385
- botApiUrl?: string | undefined;
386
- }, {
387
- baseUrl: string;
388
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
389
- method?: string;
390
- body?: unknown;
391
- headers?: Record<string, string>;
392
- query?: Record<string, string | number>;
393
- signal?: AbortSignal;
394
- }) => Promise<T>;
395
- text(path: string, options?: {
396
- method?: string;
397
- body?: unknown;
398
- headers?: Record<string, string>;
399
- query?: Record<string, string | number>;
400
- signal?: AbortSignal;
401
- }): Promise<string>;
402
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
403
- method?: string;
404
- body?: unknown;
405
- headers?: Record<string, string>;
406
- query?: Record<string, string | number>;
407
- signal?: AbortSignal;
408
- }) => Promise<T[]>;
409
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
410
- method?: string;
411
- body?: unknown;
412
- headers?: Record<string, string>;
413
- query?: Record<string, string | number>;
414
- signal?: AbortSignal;
415
- }) => Promise<import("./schemas.js").GraphPage<T>>;
416
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
417
- authorize(target: URL, headers: Headers): void;
418
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
401
+ run(args: {
402
+ input: Record<string, never>;
403
+ options: {
404
+ botAppType: "MultiTenant" | "SingleTenant";
405
+ botUsername: string;
406
+ botTenantId?: string | undefined;
407
+ botApiUrl?: string | undefined;
408
+ };
409
+ client: {
410
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
411
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
412
+ method?: string;
413
+ body?: unknown;
414
+ headers?: Record<string, string>;
415
+ query?: Record<string, string | number>;
416
+ signal?: AbortSignal;
417
+ }) => Promise<T>;
418
+ text(path: string, options?: {
419
+ method?: string;
420
+ body?: unknown;
421
+ headers?: Record<string, string>;
422
+ query?: Record<string, string | number>;
423
+ signal?: AbortSignal;
424
+ }): Promise<string>;
425
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
426
+ method?: string;
427
+ body?: unknown;
428
+ headers?: Record<string, string>;
429
+ query?: Record<string, string | number>;
430
+ signal?: AbortSignal;
431
+ }) => Promise<T[]>;
432
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
433
+ method?: string;
434
+ body?: unknown;
435
+ headers?: Record<string, string>;
436
+ query?: Record<string, string | number>;
437
+ signal?: AbortSignal;
438
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
439
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
440
+ authorize(target: URL, headers: Headers): void;
441
+ };
442
+ req: import("frogbot").FrogBotRequest;
443
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
419
444
  } & {
420
445
  slug: "messageReceived";
421
446
  };
@@ -429,44 +454,49 @@ export declare const messageReactionReceived: {
429
454
  } & {
430
455
  type: "app";
431
456
  event: string;
432
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
433
- botAppType: "MultiTenant" | "SingleTenant";
434
- botUsername: string;
435
- botTenantId?: string | undefined;
436
- botApiUrl?: string | undefined;
437
- }, {
438
- baseUrl: string;
439
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
440
- method?: string;
441
- body?: unknown;
442
- headers?: Record<string, string>;
443
- query?: Record<string, string | number>;
444
- signal?: AbortSignal;
445
- }) => Promise<T>;
446
- text(path: string, options?: {
447
- method?: string;
448
- body?: unknown;
449
- headers?: Record<string, string>;
450
- query?: Record<string, string | number>;
451
- signal?: AbortSignal;
452
- }): Promise<string>;
453
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
454
- method?: string;
455
- body?: unknown;
456
- headers?: Record<string, string>;
457
- query?: Record<string, string | number>;
458
- signal?: AbortSignal;
459
- }) => Promise<T[]>;
460
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
461
- method?: string;
462
- body?: unknown;
463
- headers?: Record<string, string>;
464
- query?: Record<string, string | number>;
465
- signal?: AbortSignal;
466
- }) => Promise<import("./schemas.js").GraphPage<T>>;
467
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
468
- authorize(target: URL, headers: Headers): void;
469
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
457
+ run(args: {
458
+ input: Record<string, never>;
459
+ options: {
460
+ botAppType: "MultiTenant" | "SingleTenant";
461
+ botUsername: string;
462
+ botTenantId?: string | undefined;
463
+ botApiUrl?: string | undefined;
464
+ };
465
+ client: {
466
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
467
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
468
+ method?: string;
469
+ body?: unknown;
470
+ headers?: Record<string, string>;
471
+ query?: Record<string, string | number>;
472
+ signal?: AbortSignal;
473
+ }) => Promise<T>;
474
+ text(path: string, options?: {
475
+ method?: string;
476
+ body?: unknown;
477
+ headers?: Record<string, string>;
478
+ query?: Record<string, string | number>;
479
+ signal?: AbortSignal;
480
+ }): Promise<string>;
481
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
482
+ method?: string;
483
+ body?: unknown;
484
+ headers?: Record<string, string>;
485
+ query?: Record<string, string | number>;
486
+ signal?: AbortSignal;
487
+ }) => Promise<T[]>;
488
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
489
+ method?: string;
490
+ body?: unknown;
491
+ headers?: Record<string, string>;
492
+ query?: Record<string, string | number>;
493
+ signal?: AbortSignal;
494
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
495
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
496
+ authorize(target: URL, headers: Headers): void;
497
+ };
498
+ req: import("frogbot").FrogBotRequest;
499
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
470
500
  } & {
471
501
  slug: "messageReactionReceived";
472
502
  };
@@ -480,44 +510,49 @@ export declare const cardActionReceived: {
480
510
  } & {
481
511
  type: "app";
482
512
  event: string;
483
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
484
- botAppType: "MultiTenant" | "SingleTenant";
485
- botUsername: string;
486
- botTenantId?: string | undefined;
487
- botApiUrl?: string | undefined;
488
- }, {
489
- baseUrl: string;
490
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
491
- method?: string;
492
- body?: unknown;
493
- headers?: Record<string, string>;
494
- query?: Record<string, string | number>;
495
- signal?: AbortSignal;
496
- }) => Promise<T>;
497
- text(path: string, options?: {
498
- method?: string;
499
- body?: unknown;
500
- headers?: Record<string, string>;
501
- query?: Record<string, string | number>;
502
- signal?: AbortSignal;
503
- }): Promise<string>;
504
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
505
- method?: string;
506
- body?: unknown;
507
- headers?: Record<string, string>;
508
- query?: Record<string, string | number>;
509
- signal?: AbortSignal;
510
- }) => Promise<T[]>;
511
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
512
- method?: string;
513
- body?: unknown;
514
- headers?: Record<string, string>;
515
- query?: Record<string, string | number>;
516
- signal?: AbortSignal;
517
- }) => Promise<import("./schemas.js").GraphPage<T>>;
518
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
519
- authorize(target: URL, headers: Headers): void;
520
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
513
+ run(args: {
514
+ input: Record<string, never>;
515
+ options: {
516
+ botAppType: "MultiTenant" | "SingleTenant";
517
+ botUsername: string;
518
+ botTenantId?: string | undefined;
519
+ botApiUrl?: string | undefined;
520
+ };
521
+ client: {
522
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
523
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
524
+ method?: string;
525
+ body?: unknown;
526
+ headers?: Record<string, string>;
527
+ query?: Record<string, string | number>;
528
+ signal?: AbortSignal;
529
+ }) => Promise<T>;
530
+ text(path: string, options?: {
531
+ method?: string;
532
+ body?: unknown;
533
+ headers?: Record<string, string>;
534
+ query?: Record<string, string | number>;
535
+ signal?: AbortSignal;
536
+ }): Promise<string>;
537
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
538
+ method?: string;
539
+ body?: unknown;
540
+ headers?: Record<string, string>;
541
+ query?: Record<string, string | number>;
542
+ signal?: AbortSignal;
543
+ }) => Promise<T[]>;
544
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
545
+ method?: string;
546
+ body?: unknown;
547
+ headers?: Record<string, string>;
548
+ query?: Record<string, string | number>;
549
+ signal?: AbortSignal;
550
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
551
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
552
+ authorize(target: URL, headers: Headers): void;
553
+ };
554
+ req: import("frogbot").FrogBotRequest;
555
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
521
556
  } & {
522
557
  slug: "cardActionReceived";
523
558
  };
@@ -531,44 +566,49 @@ export declare const conversationUpdated: {
531
566
  } & {
532
567
  type: "app";
533
568
  event: string;
534
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
535
- botAppType: "MultiTenant" | "SingleTenant";
536
- botUsername: string;
537
- botTenantId?: string | undefined;
538
- botApiUrl?: string | undefined;
539
- }, {
540
- baseUrl: string;
541
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
542
- method?: string;
543
- body?: unknown;
544
- headers?: Record<string, string>;
545
- query?: Record<string, string | number>;
546
- signal?: AbortSignal;
547
- }) => Promise<T>;
548
- text(path: string, options?: {
549
- method?: string;
550
- body?: unknown;
551
- headers?: Record<string, string>;
552
- query?: Record<string, string | number>;
553
- signal?: AbortSignal;
554
- }): Promise<string>;
555
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
556
- method?: string;
557
- body?: unknown;
558
- headers?: Record<string, string>;
559
- query?: Record<string, string | number>;
560
- signal?: AbortSignal;
561
- }) => Promise<T[]>;
562
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
563
- method?: string;
564
- body?: unknown;
565
- headers?: Record<string, string>;
566
- query?: Record<string, string | number>;
567
- signal?: AbortSignal;
568
- }) => Promise<import("./schemas.js").GraphPage<T>>;
569
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
570
- authorize(target: URL, headers: Headers): void;
571
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
569
+ run(args: {
570
+ input: Record<string, never>;
571
+ options: {
572
+ botAppType: "MultiTenant" | "SingleTenant";
573
+ botUsername: string;
574
+ botTenantId?: string | undefined;
575
+ botApiUrl?: string | undefined;
576
+ };
577
+ client: {
578
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
579
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
580
+ method?: string;
581
+ body?: unknown;
582
+ headers?: Record<string, string>;
583
+ query?: Record<string, string | number>;
584
+ signal?: AbortSignal;
585
+ }) => Promise<T>;
586
+ text(path: string, options?: {
587
+ method?: string;
588
+ body?: unknown;
589
+ headers?: Record<string, string>;
590
+ query?: Record<string, string | number>;
591
+ signal?: AbortSignal;
592
+ }): Promise<string>;
593
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
594
+ method?: string;
595
+ body?: unknown;
596
+ headers?: Record<string, string>;
597
+ query?: Record<string, string | number>;
598
+ signal?: AbortSignal;
599
+ }) => Promise<T[]>;
600
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
601
+ method?: string;
602
+ body?: unknown;
603
+ headers?: Record<string, string>;
604
+ query?: Record<string, string | number>;
605
+ signal?: AbortSignal;
606
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
607
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
608
+ authorize(target: URL, headers: Headers): void;
609
+ };
610
+ req: import("frogbot").FrogBotRequest;
611
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
572
612
  } & {
573
613
  slug: "conversationUpdated";
574
614
  };
@@ -582,44 +622,49 @@ export declare const installationUpdated: {
582
622
  } & {
583
623
  type: "app";
584
624
  event: string;
585
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
586
- botAppType: "MultiTenant" | "SingleTenant";
587
- botUsername: string;
588
- botTenantId?: string | undefined;
589
- botApiUrl?: string | undefined;
590
- }, {
591
- baseUrl: string;
592
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
593
- method?: string;
594
- body?: unknown;
595
- headers?: Record<string, string>;
596
- query?: Record<string, string | number>;
597
- signal?: AbortSignal;
598
- }) => Promise<T>;
599
- text(path: string, options?: {
600
- method?: string;
601
- body?: unknown;
602
- headers?: Record<string, string>;
603
- query?: Record<string, string | number>;
604
- signal?: AbortSignal;
605
- }): Promise<string>;
606
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
607
- method?: string;
608
- body?: unknown;
609
- headers?: Record<string, string>;
610
- query?: Record<string, string | number>;
611
- signal?: AbortSignal;
612
- }) => Promise<T[]>;
613
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
614
- method?: string;
615
- body?: unknown;
616
- headers?: Record<string, string>;
617
- query?: Record<string, string | number>;
618
- signal?: AbortSignal;
619
- }) => Promise<import("./schemas.js").GraphPage<T>>;
620
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
621
- authorize(target: URL, headers: Headers): void;
622
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
625
+ run(args: {
626
+ input: Record<string, never>;
627
+ options: {
628
+ botAppType: "MultiTenant" | "SingleTenant";
629
+ botUsername: string;
630
+ botTenantId?: string | undefined;
631
+ botApiUrl?: string | undefined;
632
+ };
633
+ client: {
634
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
635
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
636
+ method?: string;
637
+ body?: unknown;
638
+ headers?: Record<string, string>;
639
+ query?: Record<string, string | number>;
640
+ signal?: AbortSignal;
641
+ }) => Promise<T>;
642
+ text(path: string, options?: {
643
+ method?: string;
644
+ body?: unknown;
645
+ headers?: Record<string, string>;
646
+ query?: Record<string, string | number>;
647
+ signal?: AbortSignal;
648
+ }): Promise<string>;
649
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
650
+ method?: string;
651
+ body?: unknown;
652
+ headers?: Record<string, string>;
653
+ query?: Record<string, string | number>;
654
+ signal?: AbortSignal;
655
+ }) => Promise<T[]>;
656
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
657
+ method?: string;
658
+ body?: unknown;
659
+ headers?: Record<string, string>;
660
+ query?: Record<string, string | number>;
661
+ signal?: AbortSignal;
662
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
663
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
664
+ authorize(target: URL, headers: Headers): void;
665
+ };
666
+ req: import("frogbot").FrogBotRequest;
667
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
623
668
  } & {
624
669
  slug: "installationUpdated";
625
670
  };
@@ -633,44 +678,49 @@ export declare const dialogOpened: {
633
678
  } & {
634
679
  type: "app";
635
680
  event: string;
636
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
637
- botAppType: "MultiTenant" | "SingleTenant";
638
- botUsername: string;
639
- botTenantId?: string | undefined;
640
- botApiUrl?: string | undefined;
641
- }, {
642
- baseUrl: string;
643
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
644
- method?: string;
645
- body?: unknown;
646
- headers?: Record<string, string>;
647
- query?: Record<string, string | number>;
648
- signal?: AbortSignal;
649
- }) => Promise<T>;
650
- text(path: string, options?: {
651
- method?: string;
652
- body?: unknown;
653
- headers?: Record<string, string>;
654
- query?: Record<string, string | number>;
655
- signal?: AbortSignal;
656
- }): Promise<string>;
657
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
658
- method?: string;
659
- body?: unknown;
660
- headers?: Record<string, string>;
661
- query?: Record<string, string | number>;
662
- signal?: AbortSignal;
663
- }) => Promise<T[]>;
664
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
665
- method?: string;
666
- body?: unknown;
667
- headers?: Record<string, string>;
668
- query?: Record<string, string | number>;
669
- signal?: AbortSignal;
670
- }) => Promise<import("./schemas.js").GraphPage<T>>;
671
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
672
- authorize(target: URL, headers: Headers): void;
673
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
681
+ run(args: {
682
+ input: Record<string, never>;
683
+ options: {
684
+ botAppType: "MultiTenant" | "SingleTenant";
685
+ botUsername: string;
686
+ botTenantId?: string | undefined;
687
+ botApiUrl?: string | undefined;
688
+ };
689
+ client: {
690
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
691
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
692
+ method?: string;
693
+ body?: unknown;
694
+ headers?: Record<string, string>;
695
+ query?: Record<string, string | number>;
696
+ signal?: AbortSignal;
697
+ }) => Promise<T>;
698
+ text(path: string, options?: {
699
+ method?: string;
700
+ body?: unknown;
701
+ headers?: Record<string, string>;
702
+ query?: Record<string, string | number>;
703
+ signal?: AbortSignal;
704
+ }): Promise<string>;
705
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
706
+ method?: string;
707
+ body?: unknown;
708
+ headers?: Record<string, string>;
709
+ query?: Record<string, string | number>;
710
+ signal?: AbortSignal;
711
+ }) => Promise<T[]>;
712
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
713
+ method?: string;
714
+ body?: unknown;
715
+ headers?: Record<string, string>;
716
+ query?: Record<string, string | number>;
717
+ signal?: AbortSignal;
718
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
719
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
720
+ authorize(target: URL, headers: Headers): void;
721
+ };
722
+ req: import("frogbot").FrogBotRequest;
723
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
674
724
  } & {
675
725
  slug: "dialogOpened";
676
726
  };
@@ -684,44 +734,49 @@ export declare const dialogSubmitted: {
684
734
  } & {
685
735
  type: "app";
686
736
  event: string;
687
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
688
- botAppType: "MultiTenant" | "SingleTenant";
689
- botUsername: string;
690
- botTenantId?: string | undefined;
691
- botApiUrl?: string | undefined;
692
- }, {
693
- baseUrl: string;
694
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
695
- method?: string;
696
- body?: unknown;
697
- headers?: Record<string, string>;
698
- query?: Record<string, string | number>;
699
- signal?: AbortSignal;
700
- }) => Promise<T>;
701
- text(path: string, options?: {
702
- method?: string;
703
- body?: unknown;
704
- headers?: Record<string, string>;
705
- query?: Record<string, string | number>;
706
- signal?: AbortSignal;
707
- }): Promise<string>;
708
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
709
- method?: string;
710
- body?: unknown;
711
- headers?: Record<string, string>;
712
- query?: Record<string, string | number>;
713
- signal?: AbortSignal;
714
- }) => Promise<T[]>;
715
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
716
- method?: string;
717
- body?: unknown;
718
- headers?: Record<string, string>;
719
- query?: Record<string, string | number>;
720
- signal?: AbortSignal;
721
- }) => Promise<import("./schemas.js").GraphPage<T>>;
722
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
723
- authorize(target: URL, headers: Headers): void;
724
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
737
+ run(args: {
738
+ input: Record<string, never>;
739
+ options: {
740
+ botAppType: "MultiTenant" | "SingleTenant";
741
+ botUsername: string;
742
+ botTenantId?: string | undefined;
743
+ botApiUrl?: string | undefined;
744
+ };
745
+ client: {
746
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
747
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
748
+ method?: string;
749
+ body?: unknown;
750
+ headers?: Record<string, string>;
751
+ query?: Record<string, string | number>;
752
+ signal?: AbortSignal;
753
+ }) => Promise<T>;
754
+ text(path: string, options?: {
755
+ method?: string;
756
+ body?: unknown;
757
+ headers?: Record<string, string>;
758
+ query?: Record<string, string | number>;
759
+ signal?: AbortSignal;
760
+ }): Promise<string>;
761
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
762
+ method?: string;
763
+ body?: unknown;
764
+ headers?: Record<string, string>;
765
+ query?: Record<string, string | number>;
766
+ signal?: AbortSignal;
767
+ }) => Promise<T[]>;
768
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
769
+ method?: string;
770
+ body?: unknown;
771
+ headers?: Record<string, string>;
772
+ query?: Record<string, string | number>;
773
+ signal?: AbortSignal;
774
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
775
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
776
+ authorize(target: URL, headers: Headers): void;
777
+ };
778
+ req: import("frogbot").FrogBotRequest;
779
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
725
780
  } & {
726
781
  slug: "dialogSubmitted";
727
782
  };
@@ -752,46 +807,51 @@ export declare const microsoftTeamsTriggerDefinitions: (({
752
807
  } & {
753
808
  type: "polling";
754
809
  schedule?: string;
755
- run(args: import("frogbot").PieceRunArgs<{
756
- teamId: string;
757
- }, {
758
- botAppType: "MultiTenant" | "SingleTenant";
759
- botUsername: string;
760
- botTenantId?: string | undefined;
761
- botApiUrl?: string | undefined;
762
- }, {
763
- baseUrl: string;
764
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
765
- method?: string;
766
- body?: unknown;
767
- headers?: Record<string, string>;
768
- query?: Record<string, string | number>;
769
- signal?: AbortSignal;
770
- }) => Promise<T>;
771
- text(path: string, options?: {
772
- method?: string;
773
- body?: unknown;
774
- headers?: Record<string, string>;
775
- query?: Record<string, string | number>;
776
- signal?: AbortSignal;
777
- }): Promise<string>;
778
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
779
- method?: string;
780
- body?: unknown;
781
- headers?: Record<string, string>;
782
- query?: Record<string, string | number>;
783
- signal?: AbortSignal;
784
- }) => Promise<T[]>;
785
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
786
- method?: string;
787
- body?: unknown;
788
- headers?: Record<string, string>;
789
- query?: Record<string, string | number>;
790
- signal?: AbortSignal;
791
- }) => Promise<import("./schemas.js").GraphPage<T>>;
792
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
793
- authorize(target: URL, headers: Headers): void;
794
- }> & {
810
+ run(args: {
811
+ input: {
812
+ teamId: string;
813
+ };
814
+ options: {
815
+ botAppType: "MultiTenant" | "SingleTenant";
816
+ botUsername: string;
817
+ botTenantId?: string | undefined;
818
+ botApiUrl?: string | undefined;
819
+ };
820
+ client: {
821
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
822
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
823
+ method?: string;
824
+ body?: unknown;
825
+ headers?: Record<string, string>;
826
+ query?: Record<string, string | number>;
827
+ signal?: AbortSignal;
828
+ }) => Promise<T>;
829
+ text(path: string, options?: {
830
+ method?: string;
831
+ body?: unknown;
832
+ headers?: Record<string, string>;
833
+ query?: Record<string, string | number>;
834
+ signal?: AbortSignal;
835
+ }): Promise<string>;
836
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
837
+ method?: string;
838
+ body?: unknown;
839
+ headers?: Record<string, string>;
840
+ query?: Record<string, string | number>;
841
+ signal?: AbortSignal;
842
+ }) => Promise<T[]>;
843
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
844
+ method?: string;
845
+ body?: unknown;
846
+ headers?: Record<string, string>;
847
+ query?: Record<string, string | number>;
848
+ signal?: AbortSignal;
849
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
850
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
851
+ authorize(target: URL, headers: Headers): void;
852
+ };
853
+ req: import("frogbot").FrogBotRequest;
854
+ } & {
795
855
  cursor?: PieceJSON | undefined;
796
856
  }): Promise<{
797
857
  events: {
@@ -840,47 +900,52 @@ export declare const microsoftTeamsTriggerDefinitions: (({
840
900
  } & {
841
901
  type: "polling";
842
902
  schedule?: string;
843
- run(args: import("frogbot").PieceRunArgs<{
844
- teamId: string;
845
- channelId: string;
846
- }, {
847
- botAppType: "MultiTenant" | "SingleTenant";
848
- botUsername: string;
849
- botTenantId?: string | undefined;
850
- botApiUrl?: string | undefined;
851
- }, {
852
- baseUrl: string;
853
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
854
- method?: string;
855
- body?: unknown;
856
- headers?: Record<string, string>;
857
- query?: Record<string, string | number>;
858
- signal?: AbortSignal;
859
- }) => Promise<T>;
860
- text(path: string, options?: {
861
- method?: string;
862
- body?: unknown;
863
- headers?: Record<string, string>;
864
- query?: Record<string, string | number>;
865
- signal?: AbortSignal;
866
- }): Promise<string>;
867
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
868
- method?: string;
869
- body?: unknown;
870
- headers?: Record<string, string>;
871
- query?: Record<string, string | number>;
872
- signal?: AbortSignal;
873
- }) => Promise<T[]>;
874
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
875
- method?: string;
876
- body?: unknown;
877
- headers?: Record<string, string>;
878
- query?: Record<string, string | number>;
879
- signal?: AbortSignal;
880
- }) => Promise<import("./schemas.js").GraphPage<T>>;
881
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
882
- authorize(target: URL, headers: Headers): void;
883
- }> & {
903
+ run(args: {
904
+ input: {
905
+ teamId: string;
906
+ channelId: string;
907
+ };
908
+ options: {
909
+ botAppType: "MultiTenant" | "SingleTenant";
910
+ botUsername: string;
911
+ botTenantId?: string | undefined;
912
+ botApiUrl?: string | undefined;
913
+ };
914
+ client: {
915
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
916
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
917
+ method?: string;
918
+ body?: unknown;
919
+ headers?: Record<string, string>;
920
+ query?: Record<string, string | number>;
921
+ signal?: AbortSignal;
922
+ }) => Promise<T>;
923
+ text(path: string, options?: {
924
+ method?: string;
925
+ body?: unknown;
926
+ headers?: Record<string, string>;
927
+ query?: Record<string, string | number>;
928
+ signal?: AbortSignal;
929
+ }): Promise<string>;
930
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
931
+ method?: string;
932
+ body?: unknown;
933
+ headers?: Record<string, string>;
934
+ query?: Record<string, string | number>;
935
+ signal?: AbortSignal;
936
+ }) => Promise<T[]>;
937
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
938
+ method?: string;
939
+ body?: unknown;
940
+ headers?: Record<string, string>;
941
+ query?: Record<string, string | number>;
942
+ signal?: AbortSignal;
943
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
944
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
945
+ authorize(target: URL, headers: Headers): void;
946
+ };
947
+ req: import("frogbot").FrogBotRequest;
948
+ } & {
884
949
  cursor?: PieceJSON | undefined;
885
950
  }): Promise<{
886
951
  events: {
@@ -940,44 +1005,49 @@ export declare const microsoftTeamsTriggerDefinitions: (({
940
1005
  } & {
941
1006
  type: "polling";
942
1007
  schedule?: string;
943
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
944
- botAppType: "MultiTenant" | "SingleTenant";
945
- botUsername: string;
946
- botTenantId?: string | undefined;
947
- botApiUrl?: string | undefined;
948
- }, {
949
- baseUrl: string;
950
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
951
- method?: string;
952
- body?: unknown;
953
- headers?: Record<string, string>;
954
- query?: Record<string, string | number>;
955
- signal?: AbortSignal;
956
- }) => Promise<T>;
957
- text(path: string, options?: {
958
- method?: string;
959
- body?: unknown;
960
- headers?: Record<string, string>;
961
- query?: Record<string, string | number>;
962
- signal?: AbortSignal;
963
- }): Promise<string>;
964
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
965
- method?: string;
966
- body?: unknown;
967
- headers?: Record<string, string>;
968
- query?: Record<string, string | number>;
969
- signal?: AbortSignal;
970
- }) => Promise<T[]>;
971
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
972
- method?: string;
973
- body?: unknown;
974
- headers?: Record<string, string>;
975
- query?: Record<string, string | number>;
976
- signal?: AbortSignal;
977
- }) => Promise<import("./schemas.js").GraphPage<T>>;
978
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
979
- authorize(target: URL, headers: Headers): void;
980
- }> & {
1008
+ run(args: {
1009
+ input: Record<string, never>;
1010
+ options: {
1011
+ botAppType: "MultiTenant" | "SingleTenant";
1012
+ botUsername: string;
1013
+ botTenantId?: string | undefined;
1014
+ botApiUrl?: string | undefined;
1015
+ };
1016
+ client: {
1017
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
1018
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
1019
+ method?: string;
1020
+ body?: unknown;
1021
+ headers?: Record<string, string>;
1022
+ query?: Record<string, string | number>;
1023
+ signal?: AbortSignal;
1024
+ }) => Promise<T>;
1025
+ text(path: string, options?: {
1026
+ method?: string;
1027
+ body?: unknown;
1028
+ headers?: Record<string, string>;
1029
+ query?: Record<string, string | number>;
1030
+ signal?: AbortSignal;
1031
+ }): Promise<string>;
1032
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
1033
+ method?: string;
1034
+ body?: unknown;
1035
+ headers?: Record<string, string>;
1036
+ query?: Record<string, string | number>;
1037
+ signal?: AbortSignal;
1038
+ }) => Promise<T[]>;
1039
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
1040
+ method?: string;
1041
+ body?: unknown;
1042
+ headers?: Record<string, string>;
1043
+ query?: Record<string, string | number>;
1044
+ signal?: AbortSignal;
1045
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
1046
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1047
+ authorize(target: URL, headers: Headers): void;
1048
+ };
1049
+ req: import("frogbot").FrogBotRequest;
1050
+ } & {
981
1051
  cursor?: PieceJSON | undefined;
982
1052
  }): Promise<{
983
1053
  events: {
@@ -1031,46 +1101,51 @@ export declare const microsoftTeamsTriggerDefinitions: (({
1031
1101
  } & {
1032
1102
  type: "polling";
1033
1103
  schedule?: string;
1034
- run(args: import("frogbot").PieceRunArgs<{
1035
- chatId: string;
1036
- }, {
1037
- botAppType: "MultiTenant" | "SingleTenant";
1038
- botUsername: string;
1039
- botTenantId?: string | undefined;
1040
- botApiUrl?: string | undefined;
1041
- }, {
1042
- baseUrl: string;
1043
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
1044
- method?: string;
1045
- body?: unknown;
1046
- headers?: Record<string, string>;
1047
- query?: Record<string, string | number>;
1048
- signal?: AbortSignal;
1049
- }) => Promise<T>;
1050
- text(path: string, options?: {
1051
- method?: string;
1052
- body?: unknown;
1053
- headers?: Record<string, string>;
1054
- query?: Record<string, string | number>;
1055
- signal?: AbortSignal;
1056
- }): Promise<string>;
1057
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
1058
- method?: string;
1059
- body?: unknown;
1060
- headers?: Record<string, string>;
1061
- query?: Record<string, string | number>;
1062
- signal?: AbortSignal;
1063
- }) => Promise<T[]>;
1064
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
1065
- method?: string;
1066
- body?: unknown;
1067
- headers?: Record<string, string>;
1068
- query?: Record<string, string | number>;
1069
- signal?: AbortSignal;
1070
- }) => Promise<import("./schemas.js").GraphPage<T>>;
1071
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1072
- authorize(target: URL, headers: Headers): void;
1073
- }> & {
1104
+ run(args: {
1105
+ input: {
1106
+ chatId: string;
1107
+ };
1108
+ options: {
1109
+ botAppType: "MultiTenant" | "SingleTenant";
1110
+ botUsername: string;
1111
+ botTenantId?: string | undefined;
1112
+ botApiUrl?: string | undefined;
1113
+ };
1114
+ client: {
1115
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
1116
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
1117
+ method?: string;
1118
+ body?: unknown;
1119
+ headers?: Record<string, string>;
1120
+ query?: Record<string, string | number>;
1121
+ signal?: AbortSignal;
1122
+ }) => Promise<T>;
1123
+ text(path: string, options?: {
1124
+ method?: string;
1125
+ body?: unknown;
1126
+ headers?: Record<string, string>;
1127
+ query?: Record<string, string | number>;
1128
+ signal?: AbortSignal;
1129
+ }): Promise<string>;
1130
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
1131
+ method?: string;
1132
+ body?: unknown;
1133
+ headers?: Record<string, string>;
1134
+ query?: Record<string, string | number>;
1135
+ signal?: AbortSignal;
1136
+ }) => Promise<T[]>;
1137
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
1138
+ method?: string;
1139
+ body?: unknown;
1140
+ headers?: Record<string, string>;
1141
+ query?: Record<string, string | number>;
1142
+ signal?: AbortSignal;
1143
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
1144
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1145
+ authorize(target: URL, headers: Headers): void;
1146
+ };
1147
+ req: import("frogbot").FrogBotRequest;
1148
+ } & {
1074
1149
  cursor?: PieceJSON | undefined;
1075
1150
  }): Promise<{
1076
1151
  events: {
@@ -1099,44 +1174,49 @@ export declare const microsoftTeamsTriggerDefinitions: (({
1099
1174
  } & {
1100
1175
  type: "app";
1101
1176
  event: string;
1102
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
1103
- botAppType: "MultiTenant" | "SingleTenant";
1104
- botUsername: string;
1105
- botTenantId?: string | undefined;
1106
- botApiUrl?: string | undefined;
1107
- }, {
1108
- baseUrl: string;
1109
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
1110
- method?: string;
1111
- body?: unknown;
1112
- headers?: Record<string, string>;
1113
- query?: Record<string, string | number>;
1114
- signal?: AbortSignal;
1115
- }) => Promise<T>;
1116
- text(path: string, options?: {
1117
- method?: string;
1118
- body?: unknown;
1119
- headers?: Record<string, string>;
1120
- query?: Record<string, string | number>;
1121
- signal?: AbortSignal;
1122
- }): Promise<string>;
1123
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
1124
- method?: string;
1125
- body?: unknown;
1126
- headers?: Record<string, string>;
1127
- query?: Record<string, string | number>;
1128
- signal?: AbortSignal;
1129
- }) => Promise<T[]>;
1130
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
1131
- method?: string;
1132
- body?: unknown;
1133
- headers?: Record<string, string>;
1134
- query?: Record<string, string | number>;
1135
- signal?: AbortSignal;
1136
- }) => Promise<import("./schemas.js").GraphPage<T>>;
1137
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1138
- authorize(target: URL, headers: Headers): void;
1139
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1177
+ run(args: {
1178
+ input: Record<string, never>;
1179
+ options: {
1180
+ botAppType: "MultiTenant" | "SingleTenant";
1181
+ botUsername: string;
1182
+ botTenantId?: string | undefined;
1183
+ botApiUrl?: string | undefined;
1184
+ };
1185
+ client: {
1186
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
1187
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
1188
+ method?: string;
1189
+ body?: unknown;
1190
+ headers?: Record<string, string>;
1191
+ query?: Record<string, string | number>;
1192
+ signal?: AbortSignal;
1193
+ }) => Promise<T>;
1194
+ text(path: string, options?: {
1195
+ method?: string;
1196
+ body?: unknown;
1197
+ headers?: Record<string, string>;
1198
+ query?: Record<string, string | number>;
1199
+ signal?: AbortSignal;
1200
+ }): Promise<string>;
1201
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
1202
+ method?: string;
1203
+ body?: unknown;
1204
+ headers?: Record<string, string>;
1205
+ query?: Record<string, string | number>;
1206
+ signal?: AbortSignal;
1207
+ }) => Promise<T[]>;
1208
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
1209
+ method?: string;
1210
+ body?: unknown;
1211
+ headers?: Record<string, string>;
1212
+ query?: Record<string, string | number>;
1213
+ signal?: AbortSignal;
1214
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
1215
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1216
+ authorize(target: URL, headers: Headers): void;
1217
+ };
1218
+ req: import("frogbot").FrogBotRequest;
1219
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1140
1220
  } & {
1141
1221
  slug: "messageReceived";
1142
1222
  }) | ({
@@ -1149,44 +1229,49 @@ export declare const microsoftTeamsTriggerDefinitions: (({
1149
1229
  } & {
1150
1230
  type: "app";
1151
1231
  event: string;
1152
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
1153
- botAppType: "MultiTenant" | "SingleTenant";
1154
- botUsername: string;
1155
- botTenantId?: string | undefined;
1156
- botApiUrl?: string | undefined;
1157
- }, {
1158
- baseUrl: string;
1159
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
1160
- method?: string;
1161
- body?: unknown;
1162
- headers?: Record<string, string>;
1163
- query?: Record<string, string | number>;
1164
- signal?: AbortSignal;
1165
- }) => Promise<T>;
1166
- text(path: string, options?: {
1167
- method?: string;
1168
- body?: unknown;
1169
- headers?: Record<string, string>;
1170
- query?: Record<string, string | number>;
1171
- signal?: AbortSignal;
1172
- }): Promise<string>;
1173
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
1174
- method?: string;
1175
- body?: unknown;
1176
- headers?: Record<string, string>;
1177
- query?: Record<string, string | number>;
1178
- signal?: AbortSignal;
1179
- }) => Promise<T[]>;
1180
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
1181
- method?: string;
1182
- body?: unknown;
1183
- headers?: Record<string, string>;
1184
- query?: Record<string, string | number>;
1185
- signal?: AbortSignal;
1186
- }) => Promise<import("./schemas.js").GraphPage<T>>;
1187
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1188
- authorize(target: URL, headers: Headers): void;
1189
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1232
+ run(args: {
1233
+ input: Record<string, never>;
1234
+ options: {
1235
+ botAppType: "MultiTenant" | "SingleTenant";
1236
+ botUsername: string;
1237
+ botTenantId?: string | undefined;
1238
+ botApiUrl?: string | undefined;
1239
+ };
1240
+ client: {
1241
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
1242
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
1243
+ method?: string;
1244
+ body?: unknown;
1245
+ headers?: Record<string, string>;
1246
+ query?: Record<string, string | number>;
1247
+ signal?: AbortSignal;
1248
+ }) => Promise<T>;
1249
+ text(path: string, options?: {
1250
+ method?: string;
1251
+ body?: unknown;
1252
+ headers?: Record<string, string>;
1253
+ query?: Record<string, string | number>;
1254
+ signal?: AbortSignal;
1255
+ }): Promise<string>;
1256
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
1257
+ method?: string;
1258
+ body?: unknown;
1259
+ headers?: Record<string, string>;
1260
+ query?: Record<string, string | number>;
1261
+ signal?: AbortSignal;
1262
+ }) => Promise<T[]>;
1263
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
1264
+ method?: string;
1265
+ body?: unknown;
1266
+ headers?: Record<string, string>;
1267
+ query?: Record<string, string | number>;
1268
+ signal?: AbortSignal;
1269
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
1270
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1271
+ authorize(target: URL, headers: Headers): void;
1272
+ };
1273
+ req: import("frogbot").FrogBotRequest;
1274
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1190
1275
  } & {
1191
1276
  slug: "messageReactionReceived";
1192
1277
  }) | ({
@@ -1199,44 +1284,49 @@ export declare const microsoftTeamsTriggerDefinitions: (({
1199
1284
  } & {
1200
1285
  type: "app";
1201
1286
  event: string;
1202
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
1203
- botAppType: "MultiTenant" | "SingleTenant";
1204
- botUsername: string;
1205
- botTenantId?: string | undefined;
1206
- botApiUrl?: string | undefined;
1207
- }, {
1208
- baseUrl: string;
1209
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
1210
- method?: string;
1211
- body?: unknown;
1212
- headers?: Record<string, string>;
1213
- query?: Record<string, string | number>;
1214
- signal?: AbortSignal;
1215
- }) => Promise<T>;
1216
- text(path: string, options?: {
1217
- method?: string;
1218
- body?: unknown;
1219
- headers?: Record<string, string>;
1220
- query?: Record<string, string | number>;
1221
- signal?: AbortSignal;
1222
- }): Promise<string>;
1223
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
1224
- method?: string;
1225
- body?: unknown;
1226
- headers?: Record<string, string>;
1227
- query?: Record<string, string | number>;
1228
- signal?: AbortSignal;
1229
- }) => Promise<T[]>;
1230
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
1231
- method?: string;
1232
- body?: unknown;
1233
- headers?: Record<string, string>;
1234
- query?: Record<string, string | number>;
1235
- signal?: AbortSignal;
1236
- }) => Promise<import("./schemas.js").GraphPage<T>>;
1237
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1238
- authorize(target: URL, headers: Headers): void;
1239
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1287
+ run(args: {
1288
+ input: Record<string, never>;
1289
+ options: {
1290
+ botAppType: "MultiTenant" | "SingleTenant";
1291
+ botUsername: string;
1292
+ botTenantId?: string | undefined;
1293
+ botApiUrl?: string | undefined;
1294
+ };
1295
+ client: {
1296
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
1297
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
1298
+ method?: string;
1299
+ body?: unknown;
1300
+ headers?: Record<string, string>;
1301
+ query?: Record<string, string | number>;
1302
+ signal?: AbortSignal;
1303
+ }) => Promise<T>;
1304
+ text(path: string, options?: {
1305
+ method?: string;
1306
+ body?: unknown;
1307
+ headers?: Record<string, string>;
1308
+ query?: Record<string, string | number>;
1309
+ signal?: AbortSignal;
1310
+ }): Promise<string>;
1311
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
1312
+ method?: string;
1313
+ body?: unknown;
1314
+ headers?: Record<string, string>;
1315
+ query?: Record<string, string | number>;
1316
+ signal?: AbortSignal;
1317
+ }) => Promise<T[]>;
1318
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
1319
+ method?: string;
1320
+ body?: unknown;
1321
+ headers?: Record<string, string>;
1322
+ query?: Record<string, string | number>;
1323
+ signal?: AbortSignal;
1324
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
1325
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1326
+ authorize(target: URL, headers: Headers): void;
1327
+ };
1328
+ req: import("frogbot").FrogBotRequest;
1329
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1240
1330
  } & {
1241
1331
  slug: "cardActionReceived";
1242
1332
  }) | ({
@@ -1249,44 +1339,49 @@ export declare const microsoftTeamsTriggerDefinitions: (({
1249
1339
  } & {
1250
1340
  type: "app";
1251
1341
  event: string;
1252
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
1253
- botAppType: "MultiTenant" | "SingleTenant";
1254
- botUsername: string;
1255
- botTenantId?: string | undefined;
1256
- botApiUrl?: string | undefined;
1257
- }, {
1258
- baseUrl: string;
1259
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
1260
- method?: string;
1261
- body?: unknown;
1262
- headers?: Record<string, string>;
1263
- query?: Record<string, string | number>;
1264
- signal?: AbortSignal;
1265
- }) => Promise<T>;
1266
- text(path: string, options?: {
1267
- method?: string;
1268
- body?: unknown;
1269
- headers?: Record<string, string>;
1270
- query?: Record<string, string | number>;
1271
- signal?: AbortSignal;
1272
- }): Promise<string>;
1273
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
1274
- method?: string;
1275
- body?: unknown;
1276
- headers?: Record<string, string>;
1277
- query?: Record<string, string | number>;
1278
- signal?: AbortSignal;
1279
- }) => Promise<T[]>;
1280
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
1281
- method?: string;
1282
- body?: unknown;
1283
- headers?: Record<string, string>;
1284
- query?: Record<string, string | number>;
1285
- signal?: AbortSignal;
1286
- }) => Promise<import("./schemas.js").GraphPage<T>>;
1287
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1288
- authorize(target: URL, headers: Headers): void;
1289
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1342
+ run(args: {
1343
+ input: Record<string, never>;
1344
+ options: {
1345
+ botAppType: "MultiTenant" | "SingleTenant";
1346
+ botUsername: string;
1347
+ botTenantId?: string | undefined;
1348
+ botApiUrl?: string | undefined;
1349
+ };
1350
+ client: {
1351
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
1352
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
1353
+ method?: string;
1354
+ body?: unknown;
1355
+ headers?: Record<string, string>;
1356
+ query?: Record<string, string | number>;
1357
+ signal?: AbortSignal;
1358
+ }) => Promise<T>;
1359
+ text(path: string, options?: {
1360
+ method?: string;
1361
+ body?: unknown;
1362
+ headers?: Record<string, string>;
1363
+ query?: Record<string, string | number>;
1364
+ signal?: AbortSignal;
1365
+ }): Promise<string>;
1366
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
1367
+ method?: string;
1368
+ body?: unknown;
1369
+ headers?: Record<string, string>;
1370
+ query?: Record<string, string | number>;
1371
+ signal?: AbortSignal;
1372
+ }) => Promise<T[]>;
1373
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
1374
+ method?: string;
1375
+ body?: unknown;
1376
+ headers?: Record<string, string>;
1377
+ query?: Record<string, string | number>;
1378
+ signal?: AbortSignal;
1379
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
1380
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1381
+ authorize(target: URL, headers: Headers): void;
1382
+ };
1383
+ req: import("frogbot").FrogBotRequest;
1384
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1290
1385
  } & {
1291
1386
  slug: "conversationUpdated";
1292
1387
  }) | ({
@@ -1299,44 +1394,49 @@ export declare const microsoftTeamsTriggerDefinitions: (({
1299
1394
  } & {
1300
1395
  type: "app";
1301
1396
  event: string;
1302
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
1303
- botAppType: "MultiTenant" | "SingleTenant";
1304
- botUsername: string;
1305
- botTenantId?: string | undefined;
1306
- botApiUrl?: string | undefined;
1307
- }, {
1308
- baseUrl: string;
1309
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
1310
- method?: string;
1311
- body?: unknown;
1312
- headers?: Record<string, string>;
1313
- query?: Record<string, string | number>;
1314
- signal?: AbortSignal;
1315
- }) => Promise<T>;
1316
- text(path: string, options?: {
1317
- method?: string;
1318
- body?: unknown;
1319
- headers?: Record<string, string>;
1320
- query?: Record<string, string | number>;
1321
- signal?: AbortSignal;
1322
- }): Promise<string>;
1323
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
1324
- method?: string;
1325
- body?: unknown;
1326
- headers?: Record<string, string>;
1327
- query?: Record<string, string | number>;
1328
- signal?: AbortSignal;
1329
- }) => Promise<T[]>;
1330
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
1331
- method?: string;
1332
- body?: unknown;
1333
- headers?: Record<string, string>;
1334
- query?: Record<string, string | number>;
1335
- signal?: AbortSignal;
1336
- }) => Promise<import("./schemas.js").GraphPage<T>>;
1337
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1338
- authorize(target: URL, headers: Headers): void;
1339
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1397
+ run(args: {
1398
+ input: Record<string, never>;
1399
+ options: {
1400
+ botAppType: "MultiTenant" | "SingleTenant";
1401
+ botUsername: string;
1402
+ botTenantId?: string | undefined;
1403
+ botApiUrl?: string | undefined;
1404
+ };
1405
+ client: {
1406
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
1407
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
1408
+ method?: string;
1409
+ body?: unknown;
1410
+ headers?: Record<string, string>;
1411
+ query?: Record<string, string | number>;
1412
+ signal?: AbortSignal;
1413
+ }) => Promise<T>;
1414
+ text(path: string, options?: {
1415
+ method?: string;
1416
+ body?: unknown;
1417
+ headers?: Record<string, string>;
1418
+ query?: Record<string, string | number>;
1419
+ signal?: AbortSignal;
1420
+ }): Promise<string>;
1421
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
1422
+ method?: string;
1423
+ body?: unknown;
1424
+ headers?: Record<string, string>;
1425
+ query?: Record<string, string | number>;
1426
+ signal?: AbortSignal;
1427
+ }) => Promise<T[]>;
1428
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
1429
+ method?: string;
1430
+ body?: unknown;
1431
+ headers?: Record<string, string>;
1432
+ query?: Record<string, string | number>;
1433
+ signal?: AbortSignal;
1434
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
1435
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1436
+ authorize(target: URL, headers: Headers): void;
1437
+ };
1438
+ req: import("frogbot").FrogBotRequest;
1439
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1340
1440
  } & {
1341
1441
  slug: "installationUpdated";
1342
1442
  }) | ({
@@ -1349,44 +1449,49 @@ export declare const microsoftTeamsTriggerDefinitions: (({
1349
1449
  } & {
1350
1450
  type: "app";
1351
1451
  event: string;
1352
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
1353
- botAppType: "MultiTenant" | "SingleTenant";
1354
- botUsername: string;
1355
- botTenantId?: string | undefined;
1356
- botApiUrl?: string | undefined;
1357
- }, {
1358
- baseUrl: string;
1359
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
1360
- method?: string;
1361
- body?: unknown;
1362
- headers?: Record<string, string>;
1363
- query?: Record<string, string | number>;
1364
- signal?: AbortSignal;
1365
- }) => Promise<T>;
1366
- text(path: string, options?: {
1367
- method?: string;
1368
- body?: unknown;
1369
- headers?: Record<string, string>;
1370
- query?: Record<string, string | number>;
1371
- signal?: AbortSignal;
1372
- }): Promise<string>;
1373
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
1374
- method?: string;
1375
- body?: unknown;
1376
- headers?: Record<string, string>;
1377
- query?: Record<string, string | number>;
1378
- signal?: AbortSignal;
1379
- }) => Promise<T[]>;
1380
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
1381
- method?: string;
1382
- body?: unknown;
1383
- headers?: Record<string, string>;
1384
- query?: Record<string, string | number>;
1385
- signal?: AbortSignal;
1386
- }) => Promise<import("./schemas.js").GraphPage<T>>;
1387
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1388
- authorize(target: URL, headers: Headers): void;
1389
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1452
+ run(args: {
1453
+ input: Record<string, never>;
1454
+ options: {
1455
+ botAppType: "MultiTenant" | "SingleTenant";
1456
+ botUsername: string;
1457
+ botTenantId?: string | undefined;
1458
+ botApiUrl?: string | undefined;
1459
+ };
1460
+ client: {
1461
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
1462
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
1463
+ method?: string;
1464
+ body?: unknown;
1465
+ headers?: Record<string, string>;
1466
+ query?: Record<string, string | number>;
1467
+ signal?: AbortSignal;
1468
+ }) => Promise<T>;
1469
+ text(path: string, options?: {
1470
+ method?: string;
1471
+ body?: unknown;
1472
+ headers?: Record<string, string>;
1473
+ query?: Record<string, string | number>;
1474
+ signal?: AbortSignal;
1475
+ }): Promise<string>;
1476
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
1477
+ method?: string;
1478
+ body?: unknown;
1479
+ headers?: Record<string, string>;
1480
+ query?: Record<string, string | number>;
1481
+ signal?: AbortSignal;
1482
+ }) => Promise<T[]>;
1483
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
1484
+ method?: string;
1485
+ body?: unknown;
1486
+ headers?: Record<string, string>;
1487
+ query?: Record<string, string | number>;
1488
+ signal?: AbortSignal;
1489
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
1490
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1491
+ authorize(target: URL, headers: Headers): void;
1492
+ };
1493
+ req: import("frogbot").FrogBotRequest;
1494
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1390
1495
  } & {
1391
1496
  slug: "dialogOpened";
1392
1497
  }) | ({
@@ -1399,44 +1504,49 @@ export declare const microsoftTeamsTriggerDefinitions: (({
1399
1504
  } & {
1400
1505
  type: "app";
1401
1506
  event: string;
1402
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
1403
- botAppType: "MultiTenant" | "SingleTenant";
1404
- botUsername: string;
1405
- botTenantId?: string | undefined;
1406
- botApiUrl?: string | undefined;
1407
- }, {
1408
- baseUrl: string;
1409
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
1410
- method?: string;
1411
- body?: unknown;
1412
- headers?: Record<string, string>;
1413
- query?: Record<string, string | number>;
1414
- signal?: AbortSignal;
1415
- }) => Promise<T>;
1416
- text(path: string, options?: {
1417
- method?: string;
1418
- body?: unknown;
1419
- headers?: Record<string, string>;
1420
- query?: Record<string, string | number>;
1421
- signal?: AbortSignal;
1422
- }): Promise<string>;
1423
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
1424
- method?: string;
1425
- body?: unknown;
1426
- headers?: Record<string, string>;
1427
- query?: Record<string, string | number>;
1428
- signal?: AbortSignal;
1429
- }) => Promise<T[]>;
1430
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
1431
- method?: string;
1432
- body?: unknown;
1433
- headers?: Record<string, string>;
1434
- query?: Record<string, string | number>;
1435
- signal?: AbortSignal;
1436
- }) => Promise<import("./schemas.js").GraphPage<T>>;
1437
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1438
- authorize(target: URL, headers: Headers): void;
1439
- }>): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1507
+ run(args: {
1508
+ input: Record<string, never>;
1509
+ options: {
1510
+ botAppType: "MultiTenant" | "SingleTenant";
1511
+ botUsername: string;
1512
+ botTenantId?: string | undefined;
1513
+ botApiUrl?: string | undefined;
1514
+ };
1515
+ client: {
1516
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
1517
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
1518
+ method?: string;
1519
+ body?: unknown;
1520
+ headers?: Record<string, string>;
1521
+ query?: Record<string, string | number>;
1522
+ signal?: AbortSignal;
1523
+ }) => Promise<T>;
1524
+ text(path: string, options?: {
1525
+ method?: string;
1526
+ body?: unknown;
1527
+ headers?: Record<string, string>;
1528
+ query?: Record<string, string | number>;
1529
+ signal?: AbortSignal;
1530
+ }): Promise<string>;
1531
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
1532
+ method?: string;
1533
+ body?: unknown;
1534
+ headers?: Record<string, string>;
1535
+ query?: Record<string, string | number>;
1536
+ signal?: AbortSignal;
1537
+ }) => Promise<T[]>;
1538
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
1539
+ method?: string;
1540
+ body?: unknown;
1541
+ headers?: Record<string, string>;
1542
+ query?: Record<string, string | number>;
1543
+ signal?: AbortSignal;
1544
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
1545
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1546
+ authorize(target: URL, headers: Headers): void;
1547
+ };
1548
+ req: import("frogbot").FrogBotRequest;
1549
+ }): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
1440
1550
  } & {
1441
1551
  slug: "dialogSubmitted";
1442
1552
  }))[];