@frogbotai/piece-trello 0.42.0 → 0.43.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/define.d.ts CHANGED
@@ -125,6 +125,8 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
125
125
  type: "polling";
126
126
  schedule?: string;
127
127
  run(args: {
128
+ input: import("zod").infer<TInput>;
129
+ options: Record<string, never>;
128
130
  client: {
129
131
  request: <T>(path: string, init?: RequestInit & {
130
132
  query?: {
@@ -154,8 +156,6 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
154
156
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
155
157
  deleteWebhook: (id: string) => Promise<unknown>;
156
158
  };
157
- input: import("zod").infer<TInput>;
158
- options: Record<string, never>;
159
159
  req: import("frogbot").FrogBotRequest;
160
160
  } & {
161
161
  cursor?: import("frogbot").PieceJSON | undefined;
@@ -176,6 +176,8 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
176
176
  type: "polling";
177
177
  schedule?: string;
178
178
  run(args: {
179
+ input: import("zod").infer<TInput>;
180
+ options: Record<string, never>;
179
181
  client: {
180
182
  request: <T>(path: string, init?: RequestInit & {
181
183
  query?: {
@@ -205,8 +207,6 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
205
207
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
206
208
  deleteWebhook: (id: string) => Promise<unknown>;
207
209
  };
208
- input: import("zod").infer<TInput>;
209
- options: Record<string, never>;
210
210
  req: import("frogbot").FrogBotRequest;
211
211
  } & {
212
212
  cursor?: import("frogbot").PieceJSON | undefined;
@@ -226,6 +226,8 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
226
226
  } & {
227
227
  type: "webhook";
228
228
  onEnable(args: {
229
+ input: import("zod").infer<TInput>;
230
+ options: Record<string, never>;
229
231
  client: {
230
232
  request: <T>(path: string, init?: RequestInit & {
231
233
  query?: {
@@ -255,13 +257,13 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
255
257
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
256
258
  deleteWebhook: (id: string) => Promise<unknown>;
257
259
  };
258
- input: import("zod").infer<TInput>;
259
- options: Record<string, never>;
260
260
  req: import("frogbot").FrogBotRequest;
261
261
  } & {
262
262
  webhookUrl: string;
263
263
  }): Promise<TState>;
264
264
  onDisable(args: {
265
+ input: import("zod").infer<TInput>;
266
+ options: Record<string, never>;
265
267
  client: {
266
268
  request: <T>(path: string, init?: RequestInit & {
267
269
  query?: {
@@ -291,8 +293,6 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
291
293
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
292
294
  deleteWebhook: (id: string) => Promise<unknown>;
293
295
  };
294
- input: import("zod").infer<TInput>;
295
- options: Record<string, never>;
296
296
  req: import("frogbot").FrogBotRequest;
297
297
  } & {
298
298
  state: TState;
@@ -300,6 +300,8 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
300
300
  renew?: {
301
301
  schedule: string;
302
302
  run(args: {
303
+ input: import("zod").infer<TInput>;
304
+ options: Record<string, never>;
303
305
  client: {
304
306
  request: <T>(path: string, init?: RequestInit & {
305
307
  query?: {
@@ -329,8 +331,6 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
329
331
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
330
332
  deleteWebhook: (id: string) => Promise<unknown>;
331
333
  };
332
- input: import("zod").infer<TInput>;
333
- options: Record<string, never>;
334
334
  req: import("frogbot").FrogBotRequest;
335
335
  } & {
336
336
  state: TState;
@@ -338,6 +338,8 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
338
338
  }): Promise<TState>;
339
339
  } | undefined;
340
340
  run(args: {
341
+ input: import("zod").infer<TInput>;
342
+ options: Record<string, never>;
341
343
  client: {
342
344
  request: <T>(path: string, init?: RequestInit & {
343
345
  query?: {
@@ -367,13 +369,13 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
367
369
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
368
370
  deleteWebhook: (id: string) => Promise<unknown>;
369
371
  };
370
- input: import("zod").infer<TInput>;
371
- options: Record<string, never>;
372
372
  req: import("frogbot").FrogBotRequest;
373
373
  } & {
374
374
  state: TState;
375
375
  }): Promise<import("frogbot").TriggerEvent<TOutput extends import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<TOutput> : import("frogbot").PieceJSON>[]>;
376
376
  reply?(args: {
377
+ input: import("zod").infer<TInput>;
378
+ options: Record<string, never>;
377
379
  client: {
378
380
  request: <T>(path: string, init?: RequestInit & {
379
381
  query?: {
@@ -403,8 +405,6 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
403
405
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
404
406
  deleteWebhook: (id: string) => Promise<unknown>;
405
407
  };
406
- input: import("zod").infer<TInput>;
407
- options: Record<string, never>;
408
408
  req: import("frogbot").FrogBotRequest;
409
409
  } & {
410
410
  state: TState;
@@ -422,6 +422,8 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
422
422
  } & {
423
423
  type: "webhook";
424
424
  onEnable(args: {
425
+ input: import("zod").infer<TInput>;
426
+ options: Record<string, never>;
425
427
  client: {
426
428
  request: <T>(path: string, init?: RequestInit & {
427
429
  query?: {
@@ -451,13 +453,13 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
451
453
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
452
454
  deleteWebhook: (id: string) => Promise<unknown>;
453
455
  };
454
- input: import("zod").infer<TInput>;
455
- options: Record<string, never>;
456
456
  req: import("frogbot").FrogBotRequest;
457
457
  } & {
458
458
  webhookUrl: string;
459
459
  }): Promise<TState>;
460
460
  onDisable(args: {
461
+ input: import("zod").infer<TInput>;
462
+ options: Record<string, never>;
461
463
  client: {
462
464
  request: <T>(path: string, init?: RequestInit & {
463
465
  query?: {
@@ -487,8 +489,6 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
487
489
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
488
490
  deleteWebhook: (id: string) => Promise<unknown>;
489
491
  };
490
- input: import("zod").infer<TInput>;
491
- options: Record<string, never>;
492
492
  req: import("frogbot").FrogBotRequest;
493
493
  } & {
494
494
  state: TState;
@@ -496,6 +496,8 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
496
496
  renew?: {
497
497
  schedule: string;
498
498
  run(args: {
499
+ input: import("zod").infer<TInput>;
500
+ options: Record<string, never>;
499
501
  client: {
500
502
  request: <T>(path: string, init?: RequestInit & {
501
503
  query?: {
@@ -525,8 +527,6 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
525
527
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
526
528
  deleteWebhook: (id: string) => Promise<unknown>;
527
529
  };
528
- input: import("zod").infer<TInput>;
529
- options: Record<string, never>;
530
530
  req: import("frogbot").FrogBotRequest;
531
531
  } & {
532
532
  state: TState;
@@ -534,6 +534,8 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
534
534
  }): Promise<TState>;
535
535
  } | undefined;
536
536
  run(args: {
537
+ input: import("zod").infer<TInput>;
538
+ options: Record<string, never>;
537
539
  client: {
538
540
  request: <T>(path: string, init?: RequestInit & {
539
541
  query?: {
@@ -563,13 +565,13 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
563
565
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
564
566
  deleteWebhook: (id: string) => Promise<unknown>;
565
567
  };
566
- input: import("zod").infer<TInput>;
567
- options: Record<string, never>;
568
568
  req: import("frogbot").FrogBotRequest;
569
569
  } & {
570
570
  state: TState;
571
571
  }): Promise<import("frogbot").TriggerEvent<TOutput extends import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<TOutput> : import("frogbot").PieceJSON>[]>;
572
572
  reply?(args: {
573
+ input: import("zod").infer<TInput>;
574
+ options: Record<string, never>;
573
575
  client: {
574
576
  request: <T>(path: string, init?: RequestInit & {
575
577
  query?: {
@@ -599,8 +601,6 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
599
601
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
600
602
  deleteWebhook: (id: string) => Promise<unknown>;
601
603
  };
602
- input: import("zod").infer<TInput>;
603
- options: Record<string, never>;
604
604
  req: import("frogbot").FrogBotRequest;
605
605
  } & {
606
606
  state: TState;
@@ -1 +1 @@
1
- {"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAIA,eAAO,MAAQ,YAAY;;aAEghB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAF/gB,mBAAmB;;aAE2f,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;IAF1f,oBAAoB;;;;;;;;;;;;;qBAEqe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAFpe,oBAAoB;;;;;;;;;;;;qBAE+c,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;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;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAD9gB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -469,6 +469,11 @@ export declare const createTrello: import("frogbot").PieceFactory<{
469
469
  } & {
470
470
  type: "webhook";
471
471
  onEnable(args: {
472
+ input: {
473
+ boardId: string;
474
+ listId?: string | undefined;
475
+ };
476
+ options: Record<string, never>;
472
477
  client: {
473
478
  request: <T>(path: string, init?: RequestInit & {
474
479
  query?: {
@@ -498,11 +503,6 @@ export declare const createTrello: import("frogbot").PieceFactory<{
498
503
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
499
504
  deleteWebhook: (id: string) => Promise<unknown>;
500
505
  };
501
- input: {
502
- boardId: string;
503
- listId?: string | undefined;
504
- };
505
- options: Record<string, never>;
506
506
  req: import("frogbot").FrogBotRequest;
507
507
  } & {
508
508
  webhookUrl: string;
@@ -512,6 +512,11 @@ export declare const createTrello: import("frogbot").PieceFactory<{
512
512
  owned: boolean;
513
513
  }>;
514
514
  onDisable(args: {
515
+ input: {
516
+ boardId: string;
517
+ listId?: string | undefined;
518
+ };
519
+ options: Record<string, never>;
515
520
  client: {
516
521
  request: <T>(path: string, init?: RequestInit & {
517
522
  query?: {
@@ -541,11 +546,6 @@ export declare const createTrello: import("frogbot").PieceFactory<{
541
546
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
542
547
  deleteWebhook: (id: string) => Promise<unknown>;
543
548
  };
544
- input: {
545
- boardId: string;
546
- listId?: string | undefined;
547
- };
548
- options: Record<string, never>;
549
549
  req: import("frogbot").FrogBotRequest;
550
550
  } & {
551
551
  state: {
@@ -557,6 +557,11 @@ export declare const createTrello: import("frogbot").PieceFactory<{
557
557
  renew?: {
558
558
  schedule: string;
559
559
  run(args: {
560
+ input: {
561
+ boardId: string;
562
+ listId?: string | undefined;
563
+ };
564
+ options: Record<string, never>;
560
565
  client: {
561
566
  request: <T>(path: string, init?: RequestInit & {
562
567
  query?: {
@@ -586,11 +591,6 @@ export declare const createTrello: import("frogbot").PieceFactory<{
586
591
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
587
592
  deleteWebhook: (id: string) => Promise<unknown>;
588
593
  };
589
- input: {
590
- boardId: string;
591
- listId?: string | undefined;
592
- };
593
- options: Record<string, never>;
594
594
  req: import("frogbot").FrogBotRequest;
595
595
  } & {
596
596
  state: {
@@ -606,6 +606,11 @@ export declare const createTrello: import("frogbot").PieceFactory<{
606
606
  }>;
607
607
  } | undefined;
608
608
  run(args: {
609
+ input: {
610
+ boardId: string;
611
+ listId?: string | undefined;
612
+ };
613
+ options: Record<string, never>;
609
614
  client: {
610
615
  request: <T>(path: string, init?: RequestInit & {
611
616
  query?: {
@@ -635,11 +640,6 @@ export declare const createTrello: import("frogbot").PieceFactory<{
635
640
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
636
641
  deleteWebhook: (id: string) => Promise<unknown>;
637
642
  };
638
- input: {
639
- boardId: string;
640
- listId?: string | undefined;
641
- };
642
- options: Record<string, never>;
643
643
  req: import("frogbot").FrogBotRequest;
644
644
  } & {
645
645
  state: {
@@ -660,6 +660,11 @@ export declare const createTrello: import("frogbot").PieceFactory<{
660
660
  url?: string | undefined;
661
661
  }>[]>;
662
662
  reply?(args: {
663
+ input: {
664
+ boardId: string;
665
+ listId?: string | undefined;
666
+ };
667
+ options: Record<string, never>;
663
668
  client: {
664
669
  request: <T>(path: string, init?: RequestInit & {
665
670
  query?: {
@@ -689,11 +694,6 @@ export declare const createTrello: import("frogbot").PieceFactory<{
689
694
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
690
695
  deleteWebhook: (id: string) => Promise<unknown>;
691
696
  };
692
- input: {
693
- boardId: string;
694
- listId?: string | undefined;
695
- };
696
- options: Record<string, never>;
697
697
  req: import("frogbot").FrogBotRequest;
698
698
  } & {
699
699
  state: {
@@ -750,6 +750,11 @@ export declare const createTrello: import("frogbot").PieceFactory<{
750
750
  } & {
751
751
  type: "webhook";
752
752
  onEnable(args: {
753
+ input: {
754
+ boardId: string;
755
+ listId: string;
756
+ };
757
+ options: Record<string, never>;
753
758
  client: {
754
759
  request: <T>(path: string, init?: RequestInit & {
755
760
  query?: {
@@ -779,11 +784,6 @@ export declare const createTrello: import("frogbot").PieceFactory<{
779
784
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
780
785
  deleteWebhook: (id: string) => Promise<unknown>;
781
786
  };
782
- input: {
783
- boardId: string;
784
- listId: string;
785
- };
786
- options: Record<string, never>;
787
787
  req: import("frogbot").FrogBotRequest;
788
788
  } & {
789
789
  webhookUrl: string;
@@ -793,6 +793,11 @@ export declare const createTrello: import("frogbot").PieceFactory<{
793
793
  owned: boolean;
794
794
  }>;
795
795
  onDisable(args: {
796
+ input: {
797
+ boardId: string;
798
+ listId: string;
799
+ };
800
+ options: Record<string, never>;
796
801
  client: {
797
802
  request: <T>(path: string, init?: RequestInit & {
798
803
  query?: {
@@ -822,11 +827,6 @@ export declare const createTrello: import("frogbot").PieceFactory<{
822
827
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
823
828
  deleteWebhook: (id: string) => Promise<unknown>;
824
829
  };
825
- input: {
826
- boardId: string;
827
- listId: string;
828
- };
829
- options: Record<string, never>;
830
830
  req: import("frogbot").FrogBotRequest;
831
831
  } & {
832
832
  state: {
@@ -838,6 +838,11 @@ export declare const createTrello: import("frogbot").PieceFactory<{
838
838
  renew?: {
839
839
  schedule: string;
840
840
  run(args: {
841
+ input: {
842
+ boardId: string;
843
+ listId: string;
844
+ };
845
+ options: Record<string, never>;
841
846
  client: {
842
847
  request: <T>(path: string, init?: RequestInit & {
843
848
  query?: {
@@ -867,11 +872,6 @@ export declare const createTrello: import("frogbot").PieceFactory<{
867
872
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
868
873
  deleteWebhook: (id: string) => Promise<unknown>;
869
874
  };
870
- input: {
871
- boardId: string;
872
- listId: string;
873
- };
874
- options: Record<string, never>;
875
875
  req: import("frogbot").FrogBotRequest;
876
876
  } & {
877
877
  state: {
@@ -887,6 +887,11 @@ export declare const createTrello: import("frogbot").PieceFactory<{
887
887
  }>;
888
888
  } | undefined;
889
889
  run(args: {
890
+ input: {
891
+ boardId: string;
892
+ listId: string;
893
+ };
894
+ options: Record<string, never>;
890
895
  client: {
891
896
  request: <T>(path: string, init?: RequestInit & {
892
897
  query?: {
@@ -916,11 +921,6 @@ export declare const createTrello: import("frogbot").PieceFactory<{
916
921
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
917
922
  deleteWebhook: (id: string) => Promise<unknown>;
918
923
  };
919
- input: {
920
- boardId: string;
921
- listId: string;
922
- };
923
- options: Record<string, never>;
924
924
  req: import("frogbot").FrogBotRequest;
925
925
  } & {
926
926
  state: {
@@ -941,6 +941,11 @@ export declare const createTrello: import("frogbot").PieceFactory<{
941
941
  url?: string | undefined;
942
942
  }>[]>;
943
943
  reply?(args: {
944
+ input: {
945
+ boardId: string;
946
+ listId: string;
947
+ };
948
+ options: Record<string, never>;
944
949
  client: {
945
950
  request: <T>(path: string, init?: RequestInit & {
946
951
  query?: {
@@ -970,11 +975,6 @@ export declare const createTrello: import("frogbot").PieceFactory<{
970
975
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
971
976
  deleteWebhook: (id: string) => Promise<unknown>;
972
977
  };
973
- input: {
974
- boardId: string;
975
- listId: string;
976
- };
977
- options: Record<string, never>;
978
978
  req: import("frogbot").FrogBotRequest;
979
979
  } & {
980
980
  state: {
@@ -1037,6 +1037,13 @@ export declare const createTrello: import("frogbot").PieceFactory<{
1037
1037
  type: "polling";
1038
1038
  schedule?: string;
1039
1039
  run(args: {
1040
+ input: {
1041
+ boardId: string;
1042
+ timeUnit: "minutes" | "hours";
1043
+ timeBeforeDue: number;
1044
+ listId?: string | undefined;
1045
+ };
1046
+ options: Record<string, never>;
1040
1047
  client: {
1041
1048
  request: <T>(path: string, init?: RequestInit & {
1042
1049
  query?: {
@@ -1066,13 +1073,6 @@ export declare const createTrello: import("frogbot").PieceFactory<{
1066
1073
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
1067
1074
  deleteWebhook: (id: string) => Promise<unknown>;
1068
1075
  };
1069
- input: {
1070
- boardId: string;
1071
- timeUnit: "minutes" | "hours";
1072
- timeBeforeDue: number;
1073
- listId?: string | undefined;
1074
- };
1075
- options: Record<string, never>;
1076
1076
  req: import("frogbot").FrogBotRequest;
1077
1077
  } & {
1078
1078
  cursor?: import("frogbot").PieceJSON | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAIjD,eAAO,MAAM,aAAa,0KAUhB,CAAC;AACX,eAAO,MAAM,cAAc,6DAA8D,CAAC;AAC1F,eAAO,MAAM,YAAY,aAAc,CAAC;AAExC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BrB,CAAC"}
@@ -33,6 +33,11 @@ export declare const cardCreated: {
33
33
  } & {
34
34
  type: "webhook";
35
35
  onEnable(args: {
36
+ input: {
37
+ boardId: string;
38
+ listId?: string | undefined;
39
+ };
40
+ options: Record<string, never>;
36
41
  client: {
37
42
  request: <T>(path: string, init?: RequestInit & {
38
43
  query?: {
@@ -62,11 +67,6 @@ export declare const cardCreated: {
62
67
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
63
68
  deleteWebhook: (id: string) => Promise<unknown>;
64
69
  };
65
- input: {
66
- boardId: string;
67
- listId?: string | undefined;
68
- };
69
- options: Record<string, never>;
70
70
  req: import("frogbot").FrogBotRequest;
71
71
  } & {
72
72
  webhookUrl: string;
@@ -76,6 +76,11 @@ export declare const cardCreated: {
76
76
  owned: boolean;
77
77
  }>;
78
78
  onDisable(args: {
79
+ input: {
80
+ boardId: string;
81
+ listId?: string | undefined;
82
+ };
83
+ options: Record<string, never>;
79
84
  client: {
80
85
  request: <T>(path: string, init?: RequestInit & {
81
86
  query?: {
@@ -105,11 +110,6 @@ export declare const cardCreated: {
105
110
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
106
111
  deleteWebhook: (id: string) => Promise<unknown>;
107
112
  };
108
- input: {
109
- boardId: string;
110
- listId?: string | undefined;
111
- };
112
- options: Record<string, never>;
113
113
  req: import("frogbot").FrogBotRequest;
114
114
  } & {
115
115
  state: {
@@ -121,6 +121,11 @@ export declare const cardCreated: {
121
121
  renew?: {
122
122
  schedule: string;
123
123
  run(args: {
124
+ input: {
125
+ boardId: string;
126
+ listId?: string | undefined;
127
+ };
128
+ options: Record<string, never>;
124
129
  client: {
125
130
  request: <T>(path: string, init?: RequestInit & {
126
131
  query?: {
@@ -150,11 +155,6 @@ export declare const cardCreated: {
150
155
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
151
156
  deleteWebhook: (id: string) => Promise<unknown>;
152
157
  };
153
- input: {
154
- boardId: string;
155
- listId?: string | undefined;
156
- };
157
- options: Record<string, never>;
158
158
  req: import("frogbot").FrogBotRequest;
159
159
  } & {
160
160
  state: {
@@ -170,6 +170,11 @@ export declare const cardCreated: {
170
170
  }>;
171
171
  } | undefined;
172
172
  run(args: {
173
+ input: {
174
+ boardId: string;
175
+ listId?: string | undefined;
176
+ };
177
+ options: Record<string, never>;
173
178
  client: {
174
179
  request: <T>(path: string, init?: RequestInit & {
175
180
  query?: {
@@ -199,11 +204,6 @@ export declare const cardCreated: {
199
204
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
200
205
  deleteWebhook: (id: string) => Promise<unknown>;
201
206
  };
202
- input: {
203
- boardId: string;
204
- listId?: string | undefined;
205
- };
206
- options: Record<string, never>;
207
207
  req: import("frogbot").FrogBotRequest;
208
208
  } & {
209
209
  state: {
@@ -224,6 +224,11 @@ export declare const cardCreated: {
224
224
  url?: string | undefined;
225
225
  }>[]>;
226
226
  reply?(args: {
227
+ input: {
228
+ boardId: string;
229
+ listId?: string | undefined;
230
+ };
231
+ options: Record<string, never>;
227
232
  client: {
228
233
  request: <T>(path: string, init?: RequestInit & {
229
234
  query?: {
@@ -253,11 +258,6 @@ export declare const cardCreated: {
253
258
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
254
259
  deleteWebhook: (id: string) => Promise<unknown>;
255
260
  };
256
- input: {
257
- boardId: string;
258
- listId?: string | undefined;
259
- };
260
- options: Record<string, never>;
261
261
  req: import("frogbot").FrogBotRequest;
262
262
  } & {
263
263
  state: {
@@ -315,6 +315,11 @@ export declare const cardMovedToList: {
315
315
  } & {
316
316
  type: "webhook";
317
317
  onEnable(args: {
318
+ input: {
319
+ boardId: string;
320
+ listId: string;
321
+ };
322
+ options: Record<string, never>;
318
323
  client: {
319
324
  request: <T>(path: string, init?: RequestInit & {
320
325
  query?: {
@@ -344,11 +349,6 @@ export declare const cardMovedToList: {
344
349
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
345
350
  deleteWebhook: (id: string) => Promise<unknown>;
346
351
  };
347
- input: {
348
- boardId: string;
349
- listId: string;
350
- };
351
- options: Record<string, never>;
352
352
  req: import("frogbot").FrogBotRequest;
353
353
  } & {
354
354
  webhookUrl: string;
@@ -358,6 +358,11 @@ export declare const cardMovedToList: {
358
358
  owned: boolean;
359
359
  }>;
360
360
  onDisable(args: {
361
+ input: {
362
+ boardId: string;
363
+ listId: string;
364
+ };
365
+ options: Record<string, never>;
361
366
  client: {
362
367
  request: <T>(path: string, init?: RequestInit & {
363
368
  query?: {
@@ -387,11 +392,6 @@ export declare const cardMovedToList: {
387
392
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
388
393
  deleteWebhook: (id: string) => Promise<unknown>;
389
394
  };
390
- input: {
391
- boardId: string;
392
- listId: string;
393
- };
394
- options: Record<string, never>;
395
395
  req: import("frogbot").FrogBotRequest;
396
396
  } & {
397
397
  state: {
@@ -403,6 +403,11 @@ export declare const cardMovedToList: {
403
403
  renew?: {
404
404
  schedule: string;
405
405
  run(args: {
406
+ input: {
407
+ boardId: string;
408
+ listId: string;
409
+ };
410
+ options: Record<string, never>;
406
411
  client: {
407
412
  request: <T>(path: string, init?: RequestInit & {
408
413
  query?: {
@@ -432,11 +437,6 @@ export declare const cardMovedToList: {
432
437
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
433
438
  deleteWebhook: (id: string) => Promise<unknown>;
434
439
  };
435
- input: {
436
- boardId: string;
437
- listId: string;
438
- };
439
- options: Record<string, never>;
440
440
  req: import("frogbot").FrogBotRequest;
441
441
  } & {
442
442
  state: {
@@ -452,6 +452,11 @@ export declare const cardMovedToList: {
452
452
  }>;
453
453
  } | undefined;
454
454
  run(args: {
455
+ input: {
456
+ boardId: string;
457
+ listId: string;
458
+ };
459
+ options: Record<string, never>;
455
460
  client: {
456
461
  request: <T>(path: string, init?: RequestInit & {
457
462
  query?: {
@@ -481,11 +486,6 @@ export declare const cardMovedToList: {
481
486
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
482
487
  deleteWebhook: (id: string) => Promise<unknown>;
483
488
  };
484
- input: {
485
- boardId: string;
486
- listId: string;
487
- };
488
- options: Record<string, never>;
489
489
  req: import("frogbot").FrogBotRequest;
490
490
  } & {
491
491
  state: {
@@ -506,6 +506,11 @@ export declare const cardMovedToList: {
506
506
  url?: string | undefined;
507
507
  }>[]>;
508
508
  reply?(args: {
509
+ input: {
510
+ boardId: string;
511
+ listId: string;
512
+ };
513
+ options: Record<string, never>;
509
514
  client: {
510
515
  request: <T>(path: string, init?: RequestInit & {
511
516
  query?: {
@@ -535,11 +540,6 @@ export declare const cardMovedToList: {
535
540
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
536
541
  deleteWebhook: (id: string) => Promise<unknown>;
537
542
  };
538
- input: {
539
- boardId: string;
540
- listId: string;
541
- };
542
- options: Record<string, never>;
543
543
  req: import("frogbot").FrogBotRequest;
544
544
  } & {
545
545
  state: {
@@ -603,6 +603,13 @@ export declare const cardDeadline: {
603
603
  type: "polling";
604
604
  schedule?: string;
605
605
  run(args: {
606
+ input: {
607
+ boardId: string;
608
+ timeUnit: "minutes" | "hours";
609
+ timeBeforeDue: number;
610
+ listId?: string | undefined;
611
+ };
612
+ options: Record<string, never>;
606
613
  client: {
607
614
  request: <T>(path: string, init?: RequestInit & {
608
615
  query?: {
@@ -632,13 +639,6 @@ export declare const cardDeadline: {
632
639
  createWebhook: (idModel: string, callbackURL: string) => Promise<import("./client.js").TrelloWebhook>;
633
640
  deleteWebhook: (id: string) => Promise<unknown>;
634
641
  };
635
- input: {
636
- boardId: string;
637
- timeUnit: "minutes" | "hours";
638
- timeBeforeDue: number;
639
- listId?: string | undefined;
640
- };
641
- options: Record<string, never>;
642
642
  req: import("frogbot").FrogBotRequest;
643
643
  } & {
644
644
  cursor?: import("frogbot").PieceJSON | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../src/triggers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8ExB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA7Cb,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DV,CAAC;AAIH,eAAO,MAAM,eAAe;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4EV,CAAC;AASH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBArFd,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+GV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frogbotai/piece-trello",
3
- "version": "0.42.0",
3
+ "version": "0.43.0",
4
4
  "description": "Trello tools for FrogBot.",
5
5
  "license": "MIT",
6
6
  "author": "Colby Gilbert",
@@ -22,11 +22,11 @@
22
22
  "zod": "^4.3.6"
23
23
  },
24
24
  "peerDependencies": {
25
- "frogbot": "0.42.0"
25
+ "frogbot": "0.43.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "typescript": "6.0.3",
29
- "frogbot": "0.42.0"
29
+ "frogbot": "0.43.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"