@frogbotai/piece-linear 0.39.0 → 0.41.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.
package/dist/index.d.ts CHANGED
@@ -263,40 +263,55 @@ export declare const createLinear: import("frogbot").PieceFactory<{
263
263
  sample?: import("frogbot").PieceJSON | undefined;
264
264
  } & {
265
265
  type: "webhook";
266
- onEnable(args: import("frogbot").PieceRunArgs<{
267
- teamIds?: string[] | undefined;
268
- authorIds?: string[] | undefined;
269
- }, {
270
- channelMode: "agent-sessions" | "comments";
271
- webhookSecret?: string | undefined;
272
- botUsername?: string | undefined;
273
- }, import("@linear/sdk").LinearClient> & {
266
+ onEnable(args: {
267
+ input: {
268
+ teamIds?: string[] | undefined;
269
+ authorIds?: string[] | undefined;
270
+ };
271
+ client: import("@linear/sdk").LinearClient;
272
+ options: {
273
+ channelMode: "agent-sessions" | "comments";
274
+ webhookSecret?: string | undefined;
275
+ botUsername?: string | undefined;
276
+ };
277
+ req: import("frogbot").FrogBotRequest;
278
+ } & {
274
279
  webhookUrl: string;
275
280
  }): Promise<{
276
281
  webhookId: string;
277
282
  }>;
278
- onDisable(args: import("frogbot").PieceRunArgs<{
279
- teamIds?: string[] | undefined;
280
- authorIds?: string[] | undefined;
281
- }, {
282
- channelMode: "agent-sessions" | "comments";
283
- webhookSecret?: string | undefined;
284
- botUsername?: string | undefined;
285
- }, import("@linear/sdk").LinearClient> & {
283
+ onDisable(args: {
284
+ input: {
285
+ teamIds?: string[] | undefined;
286
+ authorIds?: string[] | undefined;
287
+ };
288
+ client: import("@linear/sdk").LinearClient;
289
+ options: {
290
+ channelMode: "agent-sessions" | "comments";
291
+ webhookSecret?: string | undefined;
292
+ botUsername?: string | undefined;
293
+ };
294
+ req: import("frogbot").FrogBotRequest;
295
+ } & {
286
296
  state: {
287
297
  webhookId: string;
288
298
  };
289
299
  }): Promise<void>;
290
300
  renew?: {
291
301
  schedule: string;
292
- run(args: import("frogbot").PieceRunArgs<{
293
- teamIds?: string[] | undefined;
294
- authorIds?: string[] | undefined;
295
- }, {
296
- channelMode: "agent-sessions" | "comments";
297
- webhookSecret?: string | undefined;
298
- botUsername?: string | undefined;
299
- }, import("@linear/sdk").LinearClient> & {
302
+ run(args: {
303
+ input: {
304
+ teamIds?: string[] | undefined;
305
+ authorIds?: string[] | undefined;
306
+ };
307
+ client: import("@linear/sdk").LinearClient;
308
+ options: {
309
+ channelMode: "agent-sessions" | "comments";
310
+ webhookSecret?: string | undefined;
311
+ botUsername?: string | undefined;
312
+ };
313
+ req: import("frogbot").FrogBotRequest;
314
+ } & {
300
315
  state: {
301
316
  webhookId: string;
302
317
  };
@@ -305,18 +320,41 @@ export declare const createLinear: import("frogbot").PieceFactory<{
305
320
  webhookId: string;
306
321
  }>;
307
322
  } | undefined;
308
- run(args: import("frogbot").PieceRunArgs<{
309
- teamIds?: string[] | undefined;
310
- authorIds?: string[] | undefined;
311
- }, {
312
- channelMode: "agent-sessions" | "comments";
313
- webhookSecret?: string | undefined;
314
- botUsername?: string | undefined;
315
- }, import("@linear/sdk").LinearClient> & {
323
+ run(args: {
324
+ input: {
325
+ teamIds?: string[] | undefined;
326
+ authorIds?: string[] | undefined;
327
+ };
328
+ client: import("@linear/sdk").LinearClient;
329
+ options: {
330
+ channelMode: "agent-sessions" | "comments";
331
+ webhookSecret?: string | undefined;
332
+ botUsername?: string | undefined;
333
+ };
334
+ req: import("frogbot").FrogBotRequest;
335
+ } & {
316
336
  state: {
317
337
  webhookId: string;
318
338
  };
319
339
  }): Promise<import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[]>;
340
+ reply?(args: {
341
+ input: {
342
+ teamIds?: string[] | undefined;
343
+ authorIds?: string[] | undefined;
344
+ };
345
+ client: import("@linear/sdk").LinearClient;
346
+ options: {
347
+ channelMode: "agent-sessions" | "comments";
348
+ webhookSecret?: string | undefined;
349
+ botUsername?: string | undefined;
350
+ };
351
+ req: import("frogbot").FrogBotRequest;
352
+ } & {
353
+ state: {
354
+ webhookId: string;
355
+ };
356
+ events: import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[];
357
+ }): Response | Promise<Response>;
320
358
  } & {
321
359
  slug: "commentCreated";
322
360
  }, {
@@ -330,37 +368,52 @@ export declare const createLinear: import("frogbot").PieceFactory<{
330
368
  sample?: import("frogbot").PieceJSON | undefined;
331
369
  } & {
332
370
  type: "webhook";
333
- onEnable(args: import("frogbot").PieceRunArgs<{
334
- teamId: string;
335
- }, {
336
- channelMode: "agent-sessions" | "comments";
337
- webhookSecret?: string | undefined;
338
- botUsername?: string | undefined;
339
- }, import("@linear/sdk").LinearClient> & {
371
+ onEnable(args: {
372
+ input: {
373
+ teamId: string;
374
+ };
375
+ client: import("@linear/sdk").LinearClient;
376
+ options: {
377
+ channelMode: "agent-sessions" | "comments";
378
+ webhookSecret?: string | undefined;
379
+ botUsername?: string | undefined;
380
+ };
381
+ req: import("frogbot").FrogBotRequest;
382
+ } & {
340
383
  webhookUrl: string;
341
384
  }): Promise<{
342
385
  webhookId: string;
343
386
  }>;
344
- onDisable(args: import("frogbot").PieceRunArgs<{
345
- teamId: string;
346
- }, {
347
- channelMode: "agent-sessions" | "comments";
348
- webhookSecret?: string | undefined;
349
- botUsername?: string | undefined;
350
- }, import("@linear/sdk").LinearClient> & {
387
+ onDisable(args: {
388
+ input: {
389
+ teamId: string;
390
+ };
391
+ client: import("@linear/sdk").LinearClient;
392
+ options: {
393
+ channelMode: "agent-sessions" | "comments";
394
+ webhookSecret?: string | undefined;
395
+ botUsername?: string | undefined;
396
+ };
397
+ req: import("frogbot").FrogBotRequest;
398
+ } & {
351
399
  state: {
352
400
  webhookId: string;
353
401
  };
354
402
  }): Promise<void>;
355
403
  renew?: {
356
404
  schedule: string;
357
- run(args: import("frogbot").PieceRunArgs<{
358
- teamId: string;
359
- }, {
360
- channelMode: "agent-sessions" | "comments";
361
- webhookSecret?: string | undefined;
362
- botUsername?: string | undefined;
363
- }, import("@linear/sdk").LinearClient> & {
405
+ run(args: {
406
+ input: {
407
+ teamId: string;
408
+ };
409
+ client: import("@linear/sdk").LinearClient;
410
+ options: {
411
+ channelMode: "agent-sessions" | "comments";
412
+ webhookSecret?: string | undefined;
413
+ botUsername?: string | undefined;
414
+ };
415
+ req: import("frogbot").FrogBotRequest;
416
+ } & {
364
417
  state: {
365
418
  webhookId: string;
366
419
  };
@@ -369,17 +422,39 @@ export declare const createLinear: import("frogbot").PieceFactory<{
369
422
  webhookId: string;
370
423
  }>;
371
424
  } | undefined;
372
- run(args: import("frogbot").PieceRunArgs<{
373
- teamId: string;
374
- }, {
375
- channelMode: "agent-sessions" | "comments";
376
- webhookSecret?: string | undefined;
377
- botUsername?: string | undefined;
378
- }, import("@linear/sdk").LinearClient> & {
425
+ run(args: {
426
+ input: {
427
+ teamId: string;
428
+ };
429
+ client: import("@linear/sdk").LinearClient;
430
+ options: {
431
+ channelMode: "agent-sessions" | "comments";
432
+ webhookSecret?: string | undefined;
433
+ botUsername?: string | undefined;
434
+ };
435
+ req: import("frogbot").FrogBotRequest;
436
+ } & {
379
437
  state: {
380
438
  webhookId: string;
381
439
  };
382
440
  }): Promise<import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[]>;
441
+ reply?(args: {
442
+ input: {
443
+ teamId: string;
444
+ };
445
+ client: import("@linear/sdk").LinearClient;
446
+ options: {
447
+ channelMode: "agent-sessions" | "comments";
448
+ webhookSecret?: string | undefined;
449
+ botUsername?: string | undefined;
450
+ };
451
+ req: import("frogbot").FrogBotRequest;
452
+ } & {
453
+ state: {
454
+ webhookId: string;
455
+ };
456
+ events: import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[];
457
+ }): Response | Promise<Response>;
383
458
  } & {
384
459
  slug: "issueCreated";
385
460
  }, {
@@ -393,37 +468,52 @@ export declare const createLinear: import("frogbot").PieceFactory<{
393
468
  sample?: import("frogbot").PieceJSON | undefined;
394
469
  } & {
395
470
  type: "webhook";
396
- onEnable(args: import("frogbot").PieceRunArgs<{
397
- teamId?: string | undefined;
398
- }, {
399
- channelMode: "agent-sessions" | "comments";
400
- webhookSecret?: string | undefined;
401
- botUsername?: string | undefined;
402
- }, import("@linear/sdk").LinearClient> & {
471
+ onEnable(args: {
472
+ input: {
473
+ teamId?: string | undefined;
474
+ };
475
+ client: import("@linear/sdk").LinearClient;
476
+ options: {
477
+ channelMode: "agent-sessions" | "comments";
478
+ webhookSecret?: string | undefined;
479
+ botUsername?: string | undefined;
480
+ };
481
+ req: import("frogbot").FrogBotRequest;
482
+ } & {
403
483
  webhookUrl: string;
404
484
  }): Promise<{
405
485
  webhookId: string;
406
486
  }>;
407
- onDisable(args: import("frogbot").PieceRunArgs<{
408
- teamId?: string | undefined;
409
- }, {
410
- channelMode: "agent-sessions" | "comments";
411
- webhookSecret?: string | undefined;
412
- botUsername?: string | undefined;
413
- }, import("@linear/sdk").LinearClient> & {
487
+ onDisable(args: {
488
+ input: {
489
+ teamId?: string | undefined;
490
+ };
491
+ client: import("@linear/sdk").LinearClient;
492
+ options: {
493
+ channelMode: "agent-sessions" | "comments";
494
+ webhookSecret?: string | undefined;
495
+ botUsername?: string | undefined;
496
+ };
497
+ req: import("frogbot").FrogBotRequest;
498
+ } & {
414
499
  state: {
415
500
  webhookId: string;
416
501
  };
417
502
  }): Promise<void>;
418
503
  renew?: {
419
504
  schedule: string;
420
- run(args: import("frogbot").PieceRunArgs<{
421
- teamId?: string | undefined;
422
- }, {
423
- channelMode: "agent-sessions" | "comments";
424
- webhookSecret?: string | undefined;
425
- botUsername?: string | undefined;
426
- }, import("@linear/sdk").LinearClient> & {
505
+ run(args: {
506
+ input: {
507
+ teamId?: string | undefined;
508
+ };
509
+ client: import("@linear/sdk").LinearClient;
510
+ options: {
511
+ channelMode: "agent-sessions" | "comments";
512
+ webhookSecret?: string | undefined;
513
+ botUsername?: string | undefined;
514
+ };
515
+ req: import("frogbot").FrogBotRequest;
516
+ } & {
427
517
  state: {
428
518
  webhookId: string;
429
519
  };
@@ -432,17 +522,39 @@ export declare const createLinear: import("frogbot").PieceFactory<{
432
522
  webhookId: string;
433
523
  }>;
434
524
  } | undefined;
435
- run(args: import("frogbot").PieceRunArgs<{
436
- teamId?: string | undefined;
437
- }, {
438
- channelMode: "agent-sessions" | "comments";
439
- webhookSecret?: string | undefined;
440
- botUsername?: string | undefined;
441
- }, import("@linear/sdk").LinearClient> & {
525
+ run(args: {
526
+ input: {
527
+ teamId?: string | undefined;
528
+ };
529
+ client: import("@linear/sdk").LinearClient;
530
+ options: {
531
+ channelMode: "agent-sessions" | "comments";
532
+ webhookSecret?: string | undefined;
533
+ botUsername?: string | undefined;
534
+ };
535
+ req: import("frogbot").FrogBotRequest;
536
+ } & {
442
537
  state: {
443
538
  webhookId: string;
444
539
  };
445
540
  }): Promise<import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[]>;
541
+ reply?(args: {
542
+ input: {
543
+ teamId?: string | undefined;
544
+ };
545
+ client: import("@linear/sdk").LinearClient;
546
+ options: {
547
+ channelMode: "agent-sessions" | "comments";
548
+ webhookSecret?: string | undefined;
549
+ botUsername?: string | undefined;
550
+ };
551
+ req: import("frogbot").FrogBotRequest;
552
+ } & {
553
+ state: {
554
+ webhookId: string;
555
+ };
556
+ events: import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[];
557
+ }): Response | Promise<Response>;
446
558
  } & {
447
559
  slug: "issueUpdated";
448
560
  }, {
@@ -456,37 +568,52 @@ export declare const createLinear: import("frogbot").PieceFactory<{
456
568
  sample?: import("frogbot").PieceJSON | undefined;
457
569
  } & {
458
570
  type: "webhook";
459
- onEnable(args: import("frogbot").PieceRunArgs<{
460
- teamId: string;
461
- }, {
462
- channelMode: "agent-sessions" | "comments";
463
- webhookSecret?: string | undefined;
464
- botUsername?: string | undefined;
465
- }, import("@linear/sdk").LinearClient> & {
571
+ onEnable(args: {
572
+ input: {
573
+ teamId: string;
574
+ };
575
+ client: import("@linear/sdk").LinearClient;
576
+ options: {
577
+ channelMode: "agent-sessions" | "comments";
578
+ webhookSecret?: string | undefined;
579
+ botUsername?: string | undefined;
580
+ };
581
+ req: import("frogbot").FrogBotRequest;
582
+ } & {
466
583
  webhookUrl: string;
467
584
  }): Promise<{
468
585
  webhookId: string;
469
586
  }>;
470
- onDisable(args: import("frogbot").PieceRunArgs<{
471
- teamId: string;
472
- }, {
473
- channelMode: "agent-sessions" | "comments";
474
- webhookSecret?: string | undefined;
475
- botUsername?: string | undefined;
476
- }, import("@linear/sdk").LinearClient> & {
587
+ onDisable(args: {
588
+ input: {
589
+ teamId: string;
590
+ };
591
+ client: import("@linear/sdk").LinearClient;
592
+ options: {
593
+ channelMode: "agent-sessions" | "comments";
594
+ webhookSecret?: string | undefined;
595
+ botUsername?: string | undefined;
596
+ };
597
+ req: import("frogbot").FrogBotRequest;
598
+ } & {
477
599
  state: {
478
600
  webhookId: string;
479
601
  };
480
602
  }): Promise<void>;
481
603
  renew?: {
482
604
  schedule: string;
483
- run(args: import("frogbot").PieceRunArgs<{
484
- teamId: string;
485
- }, {
486
- channelMode: "agent-sessions" | "comments";
487
- webhookSecret?: string | undefined;
488
- botUsername?: string | undefined;
489
- }, import("@linear/sdk").LinearClient> & {
605
+ run(args: {
606
+ input: {
607
+ teamId: string;
608
+ };
609
+ client: import("@linear/sdk").LinearClient;
610
+ options: {
611
+ channelMode: "agent-sessions" | "comments";
612
+ webhookSecret?: string | undefined;
613
+ botUsername?: string | undefined;
614
+ };
615
+ req: import("frogbot").FrogBotRequest;
616
+ } & {
490
617
  state: {
491
618
  webhookId: string;
492
619
  };
@@ -495,17 +622,39 @@ export declare const createLinear: import("frogbot").PieceFactory<{
495
622
  webhookId: string;
496
623
  }>;
497
624
  } | undefined;
498
- run(args: import("frogbot").PieceRunArgs<{
499
- teamId: string;
500
- }, {
501
- channelMode: "agent-sessions" | "comments";
502
- webhookSecret?: string | undefined;
503
- botUsername?: string | undefined;
504
- }, import("@linear/sdk").LinearClient> & {
625
+ run(args: {
626
+ input: {
627
+ teamId: string;
628
+ };
629
+ client: import("@linear/sdk").LinearClient;
630
+ options: {
631
+ channelMode: "agent-sessions" | "comments";
632
+ webhookSecret?: string | undefined;
633
+ botUsername?: string | undefined;
634
+ };
635
+ req: import("frogbot").FrogBotRequest;
636
+ } & {
505
637
  state: {
506
638
  webhookId: string;
507
639
  };
508
640
  }): Promise<import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[]>;
641
+ reply?(args: {
642
+ input: {
643
+ teamId: string;
644
+ };
645
+ client: import("@linear/sdk").LinearClient;
646
+ options: {
647
+ channelMode: "agent-sessions" | "comments";
648
+ webhookSecret?: string | undefined;
649
+ botUsername?: string | undefined;
650
+ };
651
+ req: import("frogbot").FrogBotRequest;
652
+ } & {
653
+ state: {
654
+ webhookId: string;
655
+ };
656
+ events: import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[];
657
+ }): Response | Promise<Response>;
509
658
  } & {
510
659
  slug: "issueRemoved";
511
660
  }, {
@@ -517,31 +666,46 @@ export declare const createLinear: import("frogbot").PieceFactory<{
517
666
  sample?: import("frogbot").PieceJSON | undefined;
518
667
  } & {
519
668
  type: "webhook";
520
- onEnable(args: import("frogbot").PieceRunArgs<Record<string, never>, {
521
- channelMode: "agent-sessions" | "comments";
522
- webhookSecret?: string | undefined;
523
- botUsername?: string | undefined;
524
- }, import("@linear/sdk").LinearClient> & {
669
+ onEnable(args: {
670
+ input: Record<string, never>;
671
+ client: import("@linear/sdk").LinearClient;
672
+ options: {
673
+ channelMode: "agent-sessions" | "comments";
674
+ webhookSecret?: string | undefined;
675
+ botUsername?: string | undefined;
676
+ };
677
+ req: import("frogbot").FrogBotRequest;
678
+ } & {
525
679
  webhookUrl: string;
526
680
  }): Promise<{
527
681
  webhookId: string;
528
682
  }>;
529
- onDisable(args: import("frogbot").PieceRunArgs<Record<string, never>, {
530
- channelMode: "agent-sessions" | "comments";
531
- webhookSecret?: string | undefined;
532
- botUsername?: string | undefined;
533
- }, import("@linear/sdk").LinearClient> & {
683
+ onDisable(args: {
684
+ input: Record<string, never>;
685
+ client: import("@linear/sdk").LinearClient;
686
+ options: {
687
+ channelMode: "agent-sessions" | "comments";
688
+ webhookSecret?: string | undefined;
689
+ botUsername?: string | undefined;
690
+ };
691
+ req: import("frogbot").FrogBotRequest;
692
+ } & {
534
693
  state: {
535
694
  webhookId: string;
536
695
  };
537
696
  }): Promise<void>;
538
697
  renew?: {
539
698
  schedule: string;
540
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
541
- channelMode: "agent-sessions" | "comments";
542
- webhookSecret?: string | undefined;
543
- botUsername?: string | undefined;
544
- }, import("@linear/sdk").LinearClient> & {
699
+ run(args: {
700
+ input: Record<string, never>;
701
+ client: import("@linear/sdk").LinearClient;
702
+ options: {
703
+ channelMode: "agent-sessions" | "comments";
704
+ webhookSecret?: string | undefined;
705
+ botUsername?: string | undefined;
706
+ };
707
+ req: import("frogbot").FrogBotRequest;
708
+ } & {
545
709
  state: {
546
710
  webhookId: string;
547
711
  };
@@ -550,15 +714,35 @@ export declare const createLinear: import("frogbot").PieceFactory<{
550
714
  webhookId: string;
551
715
  }>;
552
716
  } | undefined;
553
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
554
- channelMode: "agent-sessions" | "comments";
555
- webhookSecret?: string | undefined;
556
- botUsername?: string | undefined;
557
- }, import("@linear/sdk").LinearClient> & {
717
+ run(args: {
718
+ input: Record<string, never>;
719
+ client: import("@linear/sdk").LinearClient;
720
+ options: {
721
+ channelMode: "agent-sessions" | "comments";
722
+ webhookSecret?: string | undefined;
723
+ botUsername?: string | undefined;
724
+ };
725
+ req: import("frogbot").FrogBotRequest;
726
+ } & {
558
727
  state: {
559
728
  webhookId: string;
560
729
  };
561
730
  }): Promise<import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[]>;
731
+ reply?(args: {
732
+ input: Record<string, never>;
733
+ client: import("@linear/sdk").LinearClient;
734
+ options: {
735
+ channelMode: "agent-sessions" | "comments";
736
+ webhookSecret?: string | undefined;
737
+ botUsername?: string | undefined;
738
+ };
739
+ req: import("frogbot").FrogBotRequest;
740
+ } & {
741
+ state: {
742
+ webhookId: string;
743
+ };
744
+ events: import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[];
745
+ }): Response | Promise<Response>;
562
746
  } & {
563
747
  slug: "projectCreated";
564
748
  }, {
@@ -573,40 +757,55 @@ export declare const createLinear: import("frogbot").PieceFactory<{
573
757
  sample?: import("frogbot").PieceJSON | undefined;
574
758
  } & {
575
759
  type: "webhook";
576
- onEnable(args: import("frogbot").PieceRunArgs<{
577
- teamIds?: string[] | undefined;
578
- projectStatus?: string | undefined;
579
- }, {
580
- channelMode: "agent-sessions" | "comments";
581
- webhookSecret?: string | undefined;
582
- botUsername?: string | undefined;
583
- }, import("@linear/sdk").LinearClient> & {
760
+ onEnable(args: {
761
+ input: {
762
+ teamIds?: string[] | undefined;
763
+ projectStatus?: string | undefined;
764
+ };
765
+ client: import("@linear/sdk").LinearClient;
766
+ options: {
767
+ channelMode: "agent-sessions" | "comments";
768
+ webhookSecret?: string | undefined;
769
+ botUsername?: string | undefined;
770
+ };
771
+ req: import("frogbot").FrogBotRequest;
772
+ } & {
584
773
  webhookUrl: string;
585
774
  }): Promise<{
586
775
  webhookId: string;
587
776
  }>;
588
- onDisable(args: import("frogbot").PieceRunArgs<{
589
- teamIds?: string[] | undefined;
590
- projectStatus?: string | undefined;
591
- }, {
592
- channelMode: "agent-sessions" | "comments";
593
- webhookSecret?: string | undefined;
594
- botUsername?: string | undefined;
595
- }, import("@linear/sdk").LinearClient> & {
777
+ onDisable(args: {
778
+ input: {
779
+ teamIds?: string[] | undefined;
780
+ projectStatus?: string | undefined;
781
+ };
782
+ client: import("@linear/sdk").LinearClient;
783
+ options: {
784
+ channelMode: "agent-sessions" | "comments";
785
+ webhookSecret?: string | undefined;
786
+ botUsername?: string | undefined;
787
+ };
788
+ req: import("frogbot").FrogBotRequest;
789
+ } & {
596
790
  state: {
597
791
  webhookId: string;
598
792
  };
599
793
  }): Promise<void>;
600
794
  renew?: {
601
795
  schedule: string;
602
- run(args: import("frogbot").PieceRunArgs<{
603
- teamIds?: string[] | undefined;
604
- projectStatus?: string | undefined;
605
- }, {
606
- channelMode: "agent-sessions" | "comments";
607
- webhookSecret?: string | undefined;
608
- botUsername?: string | undefined;
609
- }, import("@linear/sdk").LinearClient> & {
796
+ run(args: {
797
+ input: {
798
+ teamIds?: string[] | undefined;
799
+ projectStatus?: string | undefined;
800
+ };
801
+ client: import("@linear/sdk").LinearClient;
802
+ options: {
803
+ channelMode: "agent-sessions" | "comments";
804
+ webhookSecret?: string | undefined;
805
+ botUsername?: string | undefined;
806
+ };
807
+ req: import("frogbot").FrogBotRequest;
808
+ } & {
610
809
  state: {
611
810
  webhookId: string;
612
811
  };
@@ -615,18 +814,41 @@ export declare const createLinear: import("frogbot").PieceFactory<{
615
814
  webhookId: string;
616
815
  }>;
617
816
  } | undefined;
618
- run(args: import("frogbot").PieceRunArgs<{
619
- teamIds?: string[] | undefined;
620
- projectStatus?: string | undefined;
621
- }, {
622
- channelMode: "agent-sessions" | "comments";
623
- webhookSecret?: string | undefined;
624
- botUsername?: string | undefined;
625
- }, import("@linear/sdk").LinearClient> & {
817
+ run(args: {
818
+ input: {
819
+ teamIds?: string[] | undefined;
820
+ projectStatus?: string | undefined;
821
+ };
822
+ client: import("@linear/sdk").LinearClient;
823
+ options: {
824
+ channelMode: "agent-sessions" | "comments";
825
+ webhookSecret?: string | undefined;
826
+ botUsername?: string | undefined;
827
+ };
828
+ req: import("frogbot").FrogBotRequest;
829
+ } & {
626
830
  state: {
627
831
  webhookId: string;
628
832
  };
629
833
  }): Promise<import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[]>;
834
+ reply?(args: {
835
+ input: {
836
+ teamIds?: string[] | undefined;
837
+ projectStatus?: string | undefined;
838
+ };
839
+ client: import("@linear/sdk").LinearClient;
840
+ options: {
841
+ channelMode: "agent-sessions" | "comments";
842
+ webhookSecret?: string | undefined;
843
+ botUsername?: string | undefined;
844
+ };
845
+ req: import("frogbot").FrogBotRequest;
846
+ } & {
847
+ state: {
848
+ webhookId: string;
849
+ };
850
+ events: import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[];
851
+ }): Response | Promise<Response>;
630
852
  } & {
631
853
  slug: "projectUpdated";
632
854
  }, {
@@ -638,31 +860,46 @@ export declare const createLinear: import("frogbot").PieceFactory<{
638
860
  sample?: import("frogbot").PieceJSON | undefined;
639
861
  } & {
640
862
  type: "webhook";
641
- onEnable(args: import("frogbot").PieceRunArgs<Record<string, never>, {
642
- channelMode: "agent-sessions" | "comments";
643
- webhookSecret?: string | undefined;
644
- botUsername?: string | undefined;
645
- }, import("@linear/sdk").LinearClient> & {
863
+ onEnable(args: {
864
+ input: Record<string, never>;
865
+ client: import("@linear/sdk").LinearClient;
866
+ options: {
867
+ channelMode: "agent-sessions" | "comments";
868
+ webhookSecret?: string | undefined;
869
+ botUsername?: string | undefined;
870
+ };
871
+ req: import("frogbot").FrogBotRequest;
872
+ } & {
646
873
  webhookUrl: string;
647
874
  }): Promise<{
648
875
  webhookId: string;
649
876
  }>;
650
- onDisable(args: import("frogbot").PieceRunArgs<Record<string, never>, {
651
- channelMode: "agent-sessions" | "comments";
652
- webhookSecret?: string | undefined;
653
- botUsername?: string | undefined;
654
- }, import("@linear/sdk").LinearClient> & {
877
+ onDisable(args: {
878
+ input: Record<string, never>;
879
+ client: import("@linear/sdk").LinearClient;
880
+ options: {
881
+ channelMode: "agent-sessions" | "comments";
882
+ webhookSecret?: string | undefined;
883
+ botUsername?: string | undefined;
884
+ };
885
+ req: import("frogbot").FrogBotRequest;
886
+ } & {
655
887
  state: {
656
888
  webhookId: string;
657
889
  };
658
890
  }): Promise<void>;
659
891
  renew?: {
660
892
  schedule: string;
661
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
662
- channelMode: "agent-sessions" | "comments";
663
- webhookSecret?: string | undefined;
664
- botUsername?: string | undefined;
665
- }, import("@linear/sdk").LinearClient> & {
893
+ run(args: {
894
+ input: Record<string, never>;
895
+ client: import("@linear/sdk").LinearClient;
896
+ options: {
897
+ channelMode: "agent-sessions" | "comments";
898
+ webhookSecret?: string | undefined;
899
+ botUsername?: string | undefined;
900
+ };
901
+ req: import("frogbot").FrogBotRequest;
902
+ } & {
666
903
  state: {
667
904
  webhookId: string;
668
905
  };
@@ -671,15 +908,35 @@ export declare const createLinear: import("frogbot").PieceFactory<{
671
908
  webhookId: string;
672
909
  }>;
673
910
  } | undefined;
674
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
675
- channelMode: "agent-sessions" | "comments";
676
- webhookSecret?: string | undefined;
677
- botUsername?: string | undefined;
678
- }, import("@linear/sdk").LinearClient> & {
911
+ run(args: {
912
+ input: Record<string, never>;
913
+ client: import("@linear/sdk").LinearClient;
914
+ options: {
915
+ channelMode: "agent-sessions" | "comments";
916
+ webhookSecret?: string | undefined;
917
+ botUsername?: string | undefined;
918
+ };
919
+ req: import("frogbot").FrogBotRequest;
920
+ } & {
679
921
  state: {
680
922
  webhookId: string;
681
923
  };
682
924
  }): Promise<import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[]>;
925
+ reply?(args: {
926
+ input: Record<string, never>;
927
+ client: import("@linear/sdk").LinearClient;
928
+ options: {
929
+ channelMode: "agent-sessions" | "comments";
930
+ webhookSecret?: string | undefined;
931
+ botUsername?: string | undefined;
932
+ };
933
+ req: import("frogbot").FrogBotRequest;
934
+ } & {
935
+ state: {
936
+ webhookId: string;
937
+ };
938
+ events: import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[];
939
+ }): Response | Promise<Response>;
683
940
  } & {
684
941
  slug: "projectRemoved";
685
942
  }];