@automate.ax/catalog 0.93.1 → 0.95.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/triggers/index.d.ts +480 -12
- package/dist/triggers/trello.d.ts +240 -6
- package/dist/triggers/trello.js +105 -1
- package/package.json +1 -1
- package/src/triggers/trello.ts +105 -1
package/dist/triggers/index.d.ts
CHANGED
|
@@ -402,10 +402,28 @@ export declare const triggerDefinitions: {
|
|
|
402
402
|
};
|
|
403
403
|
readonly type: "vercel.project.renamed";
|
|
404
404
|
};
|
|
405
|
+
readonly trelloAttachmentAdded: {
|
|
406
|
+
readonly account: {
|
|
407
|
+
readonly connectionOptions: readonly [{
|
|
408
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
409
|
+
}];
|
|
410
|
+
readonly serviceId: "trello";
|
|
411
|
+
};
|
|
412
|
+
readonly type: "trello.attachment.added";
|
|
413
|
+
};
|
|
414
|
+
readonly trelloAttachmentDeleted: {
|
|
415
|
+
readonly account: {
|
|
416
|
+
readonly connectionOptions: readonly [{
|
|
417
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
418
|
+
}];
|
|
419
|
+
readonly serviceId: "trello";
|
|
420
|
+
};
|
|
421
|
+
readonly type: "trello.attachment.deleted";
|
|
422
|
+
};
|
|
405
423
|
readonly trelloBoardEvent: {
|
|
406
424
|
readonly account: {
|
|
407
425
|
readonly connectionOptions: readonly [{
|
|
408
|
-
readonly requiredScopes: readonly [];
|
|
426
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
409
427
|
}];
|
|
410
428
|
readonly serviceId: "trello";
|
|
411
429
|
};
|
|
@@ -414,7 +432,7 @@ export declare const triggerDefinitions: {
|
|
|
414
432
|
readonly trelloCardArchived: {
|
|
415
433
|
readonly account: {
|
|
416
434
|
readonly connectionOptions: readonly [{
|
|
417
|
-
readonly requiredScopes: readonly [];
|
|
435
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
418
436
|
}];
|
|
419
437
|
readonly serviceId: "trello";
|
|
420
438
|
};
|
|
@@ -423,7 +441,7 @@ export declare const triggerDefinitions: {
|
|
|
423
441
|
readonly trelloCardCommented: {
|
|
424
442
|
readonly account: {
|
|
425
443
|
readonly connectionOptions: readonly [{
|
|
426
|
-
readonly requiredScopes: readonly [];
|
|
444
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
427
445
|
}];
|
|
428
446
|
readonly serviceId: "trello";
|
|
429
447
|
};
|
|
@@ -432,30 +450,246 @@ export declare const triggerDefinitions: {
|
|
|
432
450
|
readonly trelloCardCreated: {
|
|
433
451
|
readonly account: {
|
|
434
452
|
readonly connectionOptions: readonly [{
|
|
435
|
-
readonly requiredScopes: readonly [];
|
|
453
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
436
454
|
}];
|
|
437
455
|
readonly serviceId: "trello";
|
|
438
456
|
};
|
|
439
457
|
readonly type: "trello.card.created";
|
|
440
458
|
};
|
|
459
|
+
readonly trelloCardDeleted: {
|
|
460
|
+
readonly account: {
|
|
461
|
+
readonly connectionOptions: readonly [{
|
|
462
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
463
|
+
}];
|
|
464
|
+
readonly serviceId: "trello";
|
|
465
|
+
};
|
|
466
|
+
readonly type: "trello.card.deleted";
|
|
467
|
+
};
|
|
468
|
+
readonly trelloCardLabelAdded: {
|
|
469
|
+
readonly account: {
|
|
470
|
+
readonly connectionOptions: readonly [{
|
|
471
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
472
|
+
}];
|
|
473
|
+
readonly serviceId: "trello";
|
|
474
|
+
};
|
|
475
|
+
readonly type: "trello.card.label.added";
|
|
476
|
+
};
|
|
477
|
+
readonly trelloCardLabelRemoved: {
|
|
478
|
+
readonly account: {
|
|
479
|
+
readonly connectionOptions: readonly [{
|
|
480
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
481
|
+
}];
|
|
482
|
+
readonly serviceId: "trello";
|
|
483
|
+
};
|
|
484
|
+
readonly type: "trello.card.label.removed";
|
|
485
|
+
};
|
|
486
|
+
readonly trelloCardMemberAdded: {
|
|
487
|
+
readonly account: {
|
|
488
|
+
readonly connectionOptions: readonly [{
|
|
489
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
490
|
+
}];
|
|
491
|
+
readonly serviceId: "trello";
|
|
492
|
+
};
|
|
493
|
+
readonly type: "trello.card.member.added";
|
|
494
|
+
};
|
|
495
|
+
readonly trelloCardMemberRemoved: {
|
|
496
|
+
readonly account: {
|
|
497
|
+
readonly connectionOptions: readonly [{
|
|
498
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
499
|
+
}];
|
|
500
|
+
readonly serviceId: "trello";
|
|
501
|
+
};
|
|
502
|
+
readonly type: "trello.card.member.removed";
|
|
503
|
+
};
|
|
441
504
|
readonly trelloCardMoved: {
|
|
442
505
|
readonly account: {
|
|
443
506
|
readonly connectionOptions: readonly [{
|
|
444
|
-
readonly requiredScopes: readonly [];
|
|
507
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
445
508
|
}];
|
|
446
509
|
readonly serviceId: "trello";
|
|
447
510
|
};
|
|
448
511
|
readonly type: "trello.card.moved";
|
|
449
512
|
};
|
|
513
|
+
readonly trelloCardRestored: {
|
|
514
|
+
readonly account: {
|
|
515
|
+
readonly connectionOptions: readonly [{
|
|
516
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
517
|
+
}];
|
|
518
|
+
readonly serviceId: "trello";
|
|
519
|
+
};
|
|
520
|
+
readonly type: "trello.card.restored";
|
|
521
|
+
};
|
|
450
522
|
readonly trelloCardUpdated: {
|
|
451
523
|
readonly account: {
|
|
452
524
|
readonly connectionOptions: readonly [{
|
|
453
|
-
readonly requiredScopes: readonly [];
|
|
525
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
454
526
|
}];
|
|
455
527
|
readonly serviceId: "trello";
|
|
456
528
|
};
|
|
457
529
|
readonly type: "trello.card.updated";
|
|
458
530
|
};
|
|
531
|
+
readonly trelloChecklistCreated: {
|
|
532
|
+
readonly account: {
|
|
533
|
+
readonly connectionOptions: readonly [{
|
|
534
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
535
|
+
}];
|
|
536
|
+
readonly serviceId: "trello";
|
|
537
|
+
};
|
|
538
|
+
readonly type: "trello.checklist.created";
|
|
539
|
+
};
|
|
540
|
+
readonly trelloChecklistDeleted: {
|
|
541
|
+
readonly account: {
|
|
542
|
+
readonly connectionOptions: readonly [{
|
|
543
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
544
|
+
}];
|
|
545
|
+
readonly serviceId: "trello";
|
|
546
|
+
};
|
|
547
|
+
readonly type: "trello.checklist.deleted";
|
|
548
|
+
};
|
|
549
|
+
readonly trelloChecklistItemCompleted: {
|
|
550
|
+
readonly account: {
|
|
551
|
+
readonly connectionOptions: readonly [{
|
|
552
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
553
|
+
}];
|
|
554
|
+
readonly serviceId: "trello";
|
|
555
|
+
};
|
|
556
|
+
readonly type: "trello.checklist-item.completed";
|
|
557
|
+
};
|
|
558
|
+
readonly trelloChecklistItemCreated: {
|
|
559
|
+
readonly account: {
|
|
560
|
+
readonly connectionOptions: readonly [{
|
|
561
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
562
|
+
}];
|
|
563
|
+
readonly serviceId: "trello";
|
|
564
|
+
};
|
|
565
|
+
readonly type: "trello.checklist-item.created";
|
|
566
|
+
};
|
|
567
|
+
readonly trelloChecklistItemDeleted: {
|
|
568
|
+
readonly account: {
|
|
569
|
+
readonly connectionOptions: readonly [{
|
|
570
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
571
|
+
}];
|
|
572
|
+
readonly serviceId: "trello";
|
|
573
|
+
};
|
|
574
|
+
readonly type: "trello.checklist-item.deleted";
|
|
575
|
+
};
|
|
576
|
+
readonly trelloChecklistItemUpdated: {
|
|
577
|
+
readonly account: {
|
|
578
|
+
readonly connectionOptions: readonly [{
|
|
579
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
580
|
+
}];
|
|
581
|
+
readonly serviceId: "trello";
|
|
582
|
+
};
|
|
583
|
+
readonly type: "trello.checklist-item.updated";
|
|
584
|
+
};
|
|
585
|
+
readonly trelloChecklistUpdated: {
|
|
586
|
+
readonly account: {
|
|
587
|
+
readonly connectionOptions: readonly [{
|
|
588
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
589
|
+
}];
|
|
590
|
+
readonly serviceId: "trello";
|
|
591
|
+
};
|
|
592
|
+
readonly type: "trello.checklist.updated";
|
|
593
|
+
};
|
|
594
|
+
readonly trelloCommentDeleted: {
|
|
595
|
+
readonly account: {
|
|
596
|
+
readonly connectionOptions: readonly [{
|
|
597
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
598
|
+
}];
|
|
599
|
+
readonly serviceId: "trello";
|
|
600
|
+
};
|
|
601
|
+
readonly type: "trello.comment.deleted";
|
|
602
|
+
};
|
|
603
|
+
readonly trelloCommentUpdated: {
|
|
604
|
+
readonly account: {
|
|
605
|
+
readonly connectionOptions: readonly [{
|
|
606
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
607
|
+
}];
|
|
608
|
+
readonly serviceId: "trello";
|
|
609
|
+
};
|
|
610
|
+
readonly type: "trello.comment.updated";
|
|
611
|
+
};
|
|
612
|
+
readonly trelloCustomFieldCreated: {
|
|
613
|
+
readonly account: {
|
|
614
|
+
readonly connectionOptions: readonly [{
|
|
615
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
616
|
+
}];
|
|
617
|
+
readonly serviceId: "trello";
|
|
618
|
+
};
|
|
619
|
+
readonly type: "trello.custom-field.created";
|
|
620
|
+
};
|
|
621
|
+
readonly trelloCustomFieldDeleted: {
|
|
622
|
+
readonly account: {
|
|
623
|
+
readonly connectionOptions: readonly [{
|
|
624
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
625
|
+
}];
|
|
626
|
+
readonly serviceId: "trello";
|
|
627
|
+
};
|
|
628
|
+
readonly type: "trello.custom-field.deleted";
|
|
629
|
+
};
|
|
630
|
+
readonly trelloCustomFieldUpdated: {
|
|
631
|
+
readonly account: {
|
|
632
|
+
readonly connectionOptions: readonly [{
|
|
633
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
634
|
+
}];
|
|
635
|
+
readonly serviceId: "trello";
|
|
636
|
+
};
|
|
637
|
+
readonly type: "trello.custom-field.updated";
|
|
638
|
+
};
|
|
639
|
+
readonly trelloCustomFieldValueUpdated: {
|
|
640
|
+
readonly account: {
|
|
641
|
+
readonly connectionOptions: readonly [{
|
|
642
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
643
|
+
}];
|
|
644
|
+
readonly serviceId: "trello";
|
|
645
|
+
};
|
|
646
|
+
readonly type: "trello.custom-field.value.updated";
|
|
647
|
+
};
|
|
648
|
+
readonly trelloListArchived: {
|
|
649
|
+
readonly account: {
|
|
650
|
+
readonly connectionOptions: readonly [{
|
|
651
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
652
|
+
}];
|
|
653
|
+
readonly serviceId: "trello";
|
|
654
|
+
};
|
|
655
|
+
readonly type: "trello.list.archived";
|
|
656
|
+
};
|
|
657
|
+
readonly trelloListCreated: {
|
|
658
|
+
readonly account: {
|
|
659
|
+
readonly connectionOptions: readonly [{
|
|
660
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
661
|
+
}];
|
|
662
|
+
readonly serviceId: "trello";
|
|
663
|
+
};
|
|
664
|
+
readonly type: "trello.list.created";
|
|
665
|
+
};
|
|
666
|
+
readonly trelloListMoved: {
|
|
667
|
+
readonly account: {
|
|
668
|
+
readonly connectionOptions: readonly [{
|
|
669
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
670
|
+
}];
|
|
671
|
+
readonly serviceId: "trello";
|
|
672
|
+
};
|
|
673
|
+
readonly type: "trello.list.moved";
|
|
674
|
+
};
|
|
675
|
+
readonly trelloListRestored: {
|
|
676
|
+
readonly account: {
|
|
677
|
+
readonly connectionOptions: readonly [{
|
|
678
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
679
|
+
}];
|
|
680
|
+
readonly serviceId: "trello";
|
|
681
|
+
};
|
|
682
|
+
readonly type: "trello.list.restored";
|
|
683
|
+
};
|
|
684
|
+
readonly trelloListUpdated: {
|
|
685
|
+
readonly account: {
|
|
686
|
+
readonly connectionOptions: readonly [{
|
|
687
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
688
|
+
}];
|
|
689
|
+
readonly serviceId: "trello";
|
|
690
|
+
};
|
|
691
|
+
readonly type: "trello.list.updated";
|
|
692
|
+
};
|
|
459
693
|
readonly stripeChargeDisputeClosed: {
|
|
460
694
|
readonly account: {
|
|
461
695
|
readonly connectionOptions: readonly [{
|
|
@@ -6917,7 +7151,25 @@ export declare const triggerCatalog: ({
|
|
|
6917
7151
|
name: string;
|
|
6918
7152
|
account: {
|
|
6919
7153
|
readonly connectionOptions: readonly [{
|
|
6920
|
-
readonly requiredScopes: readonly [];
|
|
7154
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7155
|
+
}];
|
|
7156
|
+
readonly serviceId: "trello";
|
|
7157
|
+
};
|
|
7158
|
+
type: "trello.attachment.added";
|
|
7159
|
+
} | {
|
|
7160
|
+
name: string;
|
|
7161
|
+
account: {
|
|
7162
|
+
readonly connectionOptions: readonly [{
|
|
7163
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7164
|
+
}];
|
|
7165
|
+
readonly serviceId: "trello";
|
|
7166
|
+
};
|
|
7167
|
+
type: "trello.attachment.deleted";
|
|
7168
|
+
} | {
|
|
7169
|
+
name: string;
|
|
7170
|
+
account: {
|
|
7171
|
+
readonly connectionOptions: readonly [{
|
|
7172
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
6921
7173
|
}];
|
|
6922
7174
|
readonly serviceId: "trello";
|
|
6923
7175
|
};
|
|
@@ -6926,7 +7178,7 @@ export declare const triggerCatalog: ({
|
|
|
6926
7178
|
name: string;
|
|
6927
7179
|
account: {
|
|
6928
7180
|
readonly connectionOptions: readonly [{
|
|
6929
|
-
readonly requiredScopes: readonly [];
|
|
7181
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
6930
7182
|
}];
|
|
6931
7183
|
readonly serviceId: "trello";
|
|
6932
7184
|
};
|
|
@@ -6935,7 +7187,7 @@ export declare const triggerCatalog: ({
|
|
|
6935
7187
|
name: string;
|
|
6936
7188
|
account: {
|
|
6937
7189
|
readonly connectionOptions: readonly [{
|
|
6938
|
-
readonly requiredScopes: readonly [];
|
|
7190
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
6939
7191
|
}];
|
|
6940
7192
|
readonly serviceId: "trello";
|
|
6941
7193
|
};
|
|
@@ -6944,7 +7196,7 @@ export declare const triggerCatalog: ({
|
|
|
6944
7196
|
name: string;
|
|
6945
7197
|
account: {
|
|
6946
7198
|
readonly connectionOptions: readonly [{
|
|
6947
|
-
readonly requiredScopes: readonly [];
|
|
7199
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
6948
7200
|
}];
|
|
6949
7201
|
readonly serviceId: "trello";
|
|
6950
7202
|
};
|
|
@@ -6953,7 +7205,52 @@ export declare const triggerCatalog: ({
|
|
|
6953
7205
|
name: string;
|
|
6954
7206
|
account: {
|
|
6955
7207
|
readonly connectionOptions: readonly [{
|
|
6956
|
-
readonly requiredScopes: readonly [];
|
|
7208
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7209
|
+
}];
|
|
7210
|
+
readonly serviceId: "trello";
|
|
7211
|
+
};
|
|
7212
|
+
type: "trello.card.deleted";
|
|
7213
|
+
} | {
|
|
7214
|
+
name: string;
|
|
7215
|
+
account: {
|
|
7216
|
+
readonly connectionOptions: readonly [{
|
|
7217
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7218
|
+
}];
|
|
7219
|
+
readonly serviceId: "trello";
|
|
7220
|
+
};
|
|
7221
|
+
type: "trello.card.label.added";
|
|
7222
|
+
} | {
|
|
7223
|
+
name: string;
|
|
7224
|
+
account: {
|
|
7225
|
+
readonly connectionOptions: readonly [{
|
|
7226
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7227
|
+
}];
|
|
7228
|
+
readonly serviceId: "trello";
|
|
7229
|
+
};
|
|
7230
|
+
type: "trello.card.label.removed";
|
|
7231
|
+
} | {
|
|
7232
|
+
name: string;
|
|
7233
|
+
account: {
|
|
7234
|
+
readonly connectionOptions: readonly [{
|
|
7235
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7236
|
+
}];
|
|
7237
|
+
readonly serviceId: "trello";
|
|
7238
|
+
};
|
|
7239
|
+
type: "trello.card.member.added";
|
|
7240
|
+
} | {
|
|
7241
|
+
name: string;
|
|
7242
|
+
account: {
|
|
7243
|
+
readonly connectionOptions: readonly [{
|
|
7244
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7245
|
+
}];
|
|
7246
|
+
readonly serviceId: "trello";
|
|
7247
|
+
};
|
|
7248
|
+
type: "trello.card.member.removed";
|
|
7249
|
+
} | {
|
|
7250
|
+
name: string;
|
|
7251
|
+
account: {
|
|
7252
|
+
readonly connectionOptions: readonly [{
|
|
7253
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
6957
7254
|
}];
|
|
6958
7255
|
readonly serviceId: "trello";
|
|
6959
7256
|
};
|
|
@@ -6962,11 +7259,182 @@ export declare const triggerCatalog: ({
|
|
|
6962
7259
|
name: string;
|
|
6963
7260
|
account: {
|
|
6964
7261
|
readonly connectionOptions: readonly [{
|
|
6965
|
-
readonly requiredScopes: readonly [];
|
|
7262
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7263
|
+
}];
|
|
7264
|
+
readonly serviceId: "trello";
|
|
7265
|
+
};
|
|
7266
|
+
type: "trello.card.restored";
|
|
7267
|
+
} | {
|
|
7268
|
+
name: string;
|
|
7269
|
+
account: {
|
|
7270
|
+
readonly connectionOptions: readonly [{
|
|
7271
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
6966
7272
|
}];
|
|
6967
7273
|
readonly serviceId: "trello";
|
|
6968
7274
|
};
|
|
6969
7275
|
type: "trello.card.updated";
|
|
7276
|
+
} | {
|
|
7277
|
+
name: string;
|
|
7278
|
+
account: {
|
|
7279
|
+
readonly connectionOptions: readonly [{
|
|
7280
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7281
|
+
}];
|
|
7282
|
+
readonly serviceId: "trello";
|
|
7283
|
+
};
|
|
7284
|
+
type: "trello.checklist.created";
|
|
7285
|
+
} | {
|
|
7286
|
+
name: string;
|
|
7287
|
+
account: {
|
|
7288
|
+
readonly connectionOptions: readonly [{
|
|
7289
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7290
|
+
}];
|
|
7291
|
+
readonly serviceId: "trello";
|
|
7292
|
+
};
|
|
7293
|
+
type: "trello.checklist.deleted";
|
|
7294
|
+
} | {
|
|
7295
|
+
name: string;
|
|
7296
|
+
account: {
|
|
7297
|
+
readonly connectionOptions: readonly [{
|
|
7298
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7299
|
+
}];
|
|
7300
|
+
readonly serviceId: "trello";
|
|
7301
|
+
};
|
|
7302
|
+
type: "trello.checklist-item.completed";
|
|
7303
|
+
} | {
|
|
7304
|
+
name: string;
|
|
7305
|
+
account: {
|
|
7306
|
+
readonly connectionOptions: readonly [{
|
|
7307
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7308
|
+
}];
|
|
7309
|
+
readonly serviceId: "trello";
|
|
7310
|
+
};
|
|
7311
|
+
type: "trello.checklist-item.created";
|
|
7312
|
+
} | {
|
|
7313
|
+
name: string;
|
|
7314
|
+
account: {
|
|
7315
|
+
readonly connectionOptions: readonly [{
|
|
7316
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7317
|
+
}];
|
|
7318
|
+
readonly serviceId: "trello";
|
|
7319
|
+
};
|
|
7320
|
+
type: "trello.checklist-item.deleted";
|
|
7321
|
+
} | {
|
|
7322
|
+
name: string;
|
|
7323
|
+
account: {
|
|
7324
|
+
readonly connectionOptions: readonly [{
|
|
7325
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7326
|
+
}];
|
|
7327
|
+
readonly serviceId: "trello";
|
|
7328
|
+
};
|
|
7329
|
+
type: "trello.checklist-item.updated";
|
|
7330
|
+
} | {
|
|
7331
|
+
name: string;
|
|
7332
|
+
account: {
|
|
7333
|
+
readonly connectionOptions: readonly [{
|
|
7334
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7335
|
+
}];
|
|
7336
|
+
readonly serviceId: "trello";
|
|
7337
|
+
};
|
|
7338
|
+
type: "trello.checklist.updated";
|
|
7339
|
+
} | {
|
|
7340
|
+
name: string;
|
|
7341
|
+
account: {
|
|
7342
|
+
readonly connectionOptions: readonly [{
|
|
7343
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7344
|
+
}];
|
|
7345
|
+
readonly serviceId: "trello";
|
|
7346
|
+
};
|
|
7347
|
+
type: "trello.comment.deleted";
|
|
7348
|
+
} | {
|
|
7349
|
+
name: string;
|
|
7350
|
+
account: {
|
|
7351
|
+
readonly connectionOptions: readonly [{
|
|
7352
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7353
|
+
}];
|
|
7354
|
+
readonly serviceId: "trello";
|
|
7355
|
+
};
|
|
7356
|
+
type: "trello.comment.updated";
|
|
7357
|
+
} | {
|
|
7358
|
+
name: string;
|
|
7359
|
+
account: {
|
|
7360
|
+
readonly connectionOptions: readonly [{
|
|
7361
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7362
|
+
}];
|
|
7363
|
+
readonly serviceId: "trello";
|
|
7364
|
+
};
|
|
7365
|
+
type: "trello.custom-field.created";
|
|
7366
|
+
} | {
|
|
7367
|
+
name: string;
|
|
7368
|
+
account: {
|
|
7369
|
+
readonly connectionOptions: readonly [{
|
|
7370
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7371
|
+
}];
|
|
7372
|
+
readonly serviceId: "trello";
|
|
7373
|
+
};
|
|
7374
|
+
type: "trello.custom-field.deleted";
|
|
7375
|
+
} | {
|
|
7376
|
+
name: string;
|
|
7377
|
+
account: {
|
|
7378
|
+
readonly connectionOptions: readonly [{
|
|
7379
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7380
|
+
}];
|
|
7381
|
+
readonly serviceId: "trello";
|
|
7382
|
+
};
|
|
7383
|
+
type: "trello.custom-field.updated";
|
|
7384
|
+
} | {
|
|
7385
|
+
name: string;
|
|
7386
|
+
account: {
|
|
7387
|
+
readonly connectionOptions: readonly [{
|
|
7388
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7389
|
+
}];
|
|
7390
|
+
readonly serviceId: "trello";
|
|
7391
|
+
};
|
|
7392
|
+
type: "trello.custom-field.value.updated";
|
|
7393
|
+
} | {
|
|
7394
|
+
name: string;
|
|
7395
|
+
account: {
|
|
7396
|
+
readonly connectionOptions: readonly [{
|
|
7397
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7398
|
+
}];
|
|
7399
|
+
readonly serviceId: "trello";
|
|
7400
|
+
};
|
|
7401
|
+
type: "trello.list.archived";
|
|
7402
|
+
} | {
|
|
7403
|
+
name: string;
|
|
7404
|
+
account: {
|
|
7405
|
+
readonly connectionOptions: readonly [{
|
|
7406
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7407
|
+
}];
|
|
7408
|
+
readonly serviceId: "trello";
|
|
7409
|
+
};
|
|
7410
|
+
type: "trello.list.created";
|
|
7411
|
+
} | {
|
|
7412
|
+
name: string;
|
|
7413
|
+
account: {
|
|
7414
|
+
readonly connectionOptions: readonly [{
|
|
7415
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7416
|
+
}];
|
|
7417
|
+
readonly serviceId: "trello";
|
|
7418
|
+
};
|
|
7419
|
+
type: "trello.list.moved";
|
|
7420
|
+
} | {
|
|
7421
|
+
name: string;
|
|
7422
|
+
account: {
|
|
7423
|
+
readonly connectionOptions: readonly [{
|
|
7424
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7425
|
+
}];
|
|
7426
|
+
readonly serviceId: "trello";
|
|
7427
|
+
};
|
|
7428
|
+
type: "trello.list.restored";
|
|
7429
|
+
} | {
|
|
7430
|
+
name: string;
|
|
7431
|
+
account: {
|
|
7432
|
+
readonly connectionOptions: readonly [{
|
|
7433
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
7434
|
+
}];
|
|
7435
|
+
readonly serviceId: "trello";
|
|
7436
|
+
};
|
|
7437
|
+
type: "trello.list.updated";
|
|
6970
7438
|
} | {
|
|
6971
7439
|
name: string;
|
|
6972
7440
|
account: {
|
|
@@ -1,8 +1,26 @@
|
|
|
1
1
|
export declare const trelloTriggerDefinitions: {
|
|
2
|
+
readonly trelloAttachmentAdded: {
|
|
3
|
+
readonly account: {
|
|
4
|
+
readonly connectionOptions: readonly [{
|
|
5
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
6
|
+
}];
|
|
7
|
+
readonly serviceId: "trello";
|
|
8
|
+
};
|
|
9
|
+
readonly type: "trello.attachment.added";
|
|
10
|
+
};
|
|
11
|
+
readonly trelloAttachmentDeleted: {
|
|
12
|
+
readonly account: {
|
|
13
|
+
readonly connectionOptions: readonly [{
|
|
14
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
15
|
+
}];
|
|
16
|
+
readonly serviceId: "trello";
|
|
17
|
+
};
|
|
18
|
+
readonly type: "trello.attachment.deleted";
|
|
19
|
+
};
|
|
2
20
|
readonly trelloBoardEvent: {
|
|
3
21
|
readonly account: {
|
|
4
22
|
readonly connectionOptions: readonly [{
|
|
5
|
-
readonly requiredScopes: readonly [];
|
|
23
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
6
24
|
}];
|
|
7
25
|
readonly serviceId: "trello";
|
|
8
26
|
};
|
|
@@ -11,7 +29,7 @@ export declare const trelloTriggerDefinitions: {
|
|
|
11
29
|
readonly trelloCardArchived: {
|
|
12
30
|
readonly account: {
|
|
13
31
|
readonly connectionOptions: readonly [{
|
|
14
|
-
readonly requiredScopes: readonly [];
|
|
32
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
15
33
|
}];
|
|
16
34
|
readonly serviceId: "trello";
|
|
17
35
|
};
|
|
@@ -20,7 +38,7 @@ export declare const trelloTriggerDefinitions: {
|
|
|
20
38
|
readonly trelloCardCommented: {
|
|
21
39
|
readonly account: {
|
|
22
40
|
readonly connectionOptions: readonly [{
|
|
23
|
-
readonly requiredScopes: readonly [];
|
|
41
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
24
42
|
}];
|
|
25
43
|
readonly serviceId: "trello";
|
|
26
44
|
};
|
|
@@ -29,28 +47,244 @@ export declare const trelloTriggerDefinitions: {
|
|
|
29
47
|
readonly trelloCardCreated: {
|
|
30
48
|
readonly account: {
|
|
31
49
|
readonly connectionOptions: readonly [{
|
|
32
|
-
readonly requiredScopes: readonly [];
|
|
50
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
33
51
|
}];
|
|
34
52
|
readonly serviceId: "trello";
|
|
35
53
|
};
|
|
36
54
|
readonly type: "trello.card.created";
|
|
37
55
|
};
|
|
56
|
+
readonly trelloCardDeleted: {
|
|
57
|
+
readonly account: {
|
|
58
|
+
readonly connectionOptions: readonly [{
|
|
59
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
60
|
+
}];
|
|
61
|
+
readonly serviceId: "trello";
|
|
62
|
+
};
|
|
63
|
+
readonly type: "trello.card.deleted";
|
|
64
|
+
};
|
|
65
|
+
readonly trelloCardLabelAdded: {
|
|
66
|
+
readonly account: {
|
|
67
|
+
readonly connectionOptions: readonly [{
|
|
68
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
69
|
+
}];
|
|
70
|
+
readonly serviceId: "trello";
|
|
71
|
+
};
|
|
72
|
+
readonly type: "trello.card.label.added";
|
|
73
|
+
};
|
|
74
|
+
readonly trelloCardLabelRemoved: {
|
|
75
|
+
readonly account: {
|
|
76
|
+
readonly connectionOptions: readonly [{
|
|
77
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
78
|
+
}];
|
|
79
|
+
readonly serviceId: "trello";
|
|
80
|
+
};
|
|
81
|
+
readonly type: "trello.card.label.removed";
|
|
82
|
+
};
|
|
83
|
+
readonly trelloCardMemberAdded: {
|
|
84
|
+
readonly account: {
|
|
85
|
+
readonly connectionOptions: readonly [{
|
|
86
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
87
|
+
}];
|
|
88
|
+
readonly serviceId: "trello";
|
|
89
|
+
};
|
|
90
|
+
readonly type: "trello.card.member.added";
|
|
91
|
+
};
|
|
92
|
+
readonly trelloCardMemberRemoved: {
|
|
93
|
+
readonly account: {
|
|
94
|
+
readonly connectionOptions: readonly [{
|
|
95
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
96
|
+
}];
|
|
97
|
+
readonly serviceId: "trello";
|
|
98
|
+
};
|
|
99
|
+
readonly type: "trello.card.member.removed";
|
|
100
|
+
};
|
|
38
101
|
readonly trelloCardMoved: {
|
|
39
102
|
readonly account: {
|
|
40
103
|
readonly connectionOptions: readonly [{
|
|
41
|
-
readonly requiredScopes: readonly [];
|
|
104
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
42
105
|
}];
|
|
43
106
|
readonly serviceId: "trello";
|
|
44
107
|
};
|
|
45
108
|
readonly type: "trello.card.moved";
|
|
46
109
|
};
|
|
110
|
+
readonly trelloCardRestored: {
|
|
111
|
+
readonly account: {
|
|
112
|
+
readonly connectionOptions: readonly [{
|
|
113
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
114
|
+
}];
|
|
115
|
+
readonly serviceId: "trello";
|
|
116
|
+
};
|
|
117
|
+
readonly type: "trello.card.restored";
|
|
118
|
+
};
|
|
47
119
|
readonly trelloCardUpdated: {
|
|
48
120
|
readonly account: {
|
|
49
121
|
readonly connectionOptions: readonly [{
|
|
50
|
-
readonly requiredScopes: readonly [];
|
|
122
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
51
123
|
}];
|
|
52
124
|
readonly serviceId: "trello";
|
|
53
125
|
};
|
|
54
126
|
readonly type: "trello.card.updated";
|
|
55
127
|
};
|
|
128
|
+
readonly trelloChecklistCreated: {
|
|
129
|
+
readonly account: {
|
|
130
|
+
readonly connectionOptions: readonly [{
|
|
131
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
132
|
+
}];
|
|
133
|
+
readonly serviceId: "trello";
|
|
134
|
+
};
|
|
135
|
+
readonly type: "trello.checklist.created";
|
|
136
|
+
};
|
|
137
|
+
readonly trelloChecklistDeleted: {
|
|
138
|
+
readonly account: {
|
|
139
|
+
readonly connectionOptions: readonly [{
|
|
140
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
141
|
+
}];
|
|
142
|
+
readonly serviceId: "trello";
|
|
143
|
+
};
|
|
144
|
+
readonly type: "trello.checklist.deleted";
|
|
145
|
+
};
|
|
146
|
+
readonly trelloChecklistItemCompleted: {
|
|
147
|
+
readonly account: {
|
|
148
|
+
readonly connectionOptions: readonly [{
|
|
149
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
150
|
+
}];
|
|
151
|
+
readonly serviceId: "trello";
|
|
152
|
+
};
|
|
153
|
+
readonly type: "trello.checklist-item.completed";
|
|
154
|
+
};
|
|
155
|
+
readonly trelloChecklistItemCreated: {
|
|
156
|
+
readonly account: {
|
|
157
|
+
readonly connectionOptions: readonly [{
|
|
158
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
159
|
+
}];
|
|
160
|
+
readonly serviceId: "trello";
|
|
161
|
+
};
|
|
162
|
+
readonly type: "trello.checklist-item.created";
|
|
163
|
+
};
|
|
164
|
+
readonly trelloChecklistItemDeleted: {
|
|
165
|
+
readonly account: {
|
|
166
|
+
readonly connectionOptions: readonly [{
|
|
167
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
168
|
+
}];
|
|
169
|
+
readonly serviceId: "trello";
|
|
170
|
+
};
|
|
171
|
+
readonly type: "trello.checklist-item.deleted";
|
|
172
|
+
};
|
|
173
|
+
readonly trelloChecklistItemUpdated: {
|
|
174
|
+
readonly account: {
|
|
175
|
+
readonly connectionOptions: readonly [{
|
|
176
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
177
|
+
}];
|
|
178
|
+
readonly serviceId: "trello";
|
|
179
|
+
};
|
|
180
|
+
readonly type: "trello.checklist-item.updated";
|
|
181
|
+
};
|
|
182
|
+
readonly trelloChecklistUpdated: {
|
|
183
|
+
readonly account: {
|
|
184
|
+
readonly connectionOptions: readonly [{
|
|
185
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
186
|
+
}];
|
|
187
|
+
readonly serviceId: "trello";
|
|
188
|
+
};
|
|
189
|
+
readonly type: "trello.checklist.updated";
|
|
190
|
+
};
|
|
191
|
+
readonly trelloCommentDeleted: {
|
|
192
|
+
readonly account: {
|
|
193
|
+
readonly connectionOptions: readonly [{
|
|
194
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
195
|
+
}];
|
|
196
|
+
readonly serviceId: "trello";
|
|
197
|
+
};
|
|
198
|
+
readonly type: "trello.comment.deleted";
|
|
199
|
+
};
|
|
200
|
+
readonly trelloCommentUpdated: {
|
|
201
|
+
readonly account: {
|
|
202
|
+
readonly connectionOptions: readonly [{
|
|
203
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
204
|
+
}];
|
|
205
|
+
readonly serviceId: "trello";
|
|
206
|
+
};
|
|
207
|
+
readonly type: "trello.comment.updated";
|
|
208
|
+
};
|
|
209
|
+
readonly trelloCustomFieldCreated: {
|
|
210
|
+
readonly account: {
|
|
211
|
+
readonly connectionOptions: readonly [{
|
|
212
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
213
|
+
}];
|
|
214
|
+
readonly serviceId: "trello";
|
|
215
|
+
};
|
|
216
|
+
readonly type: "trello.custom-field.created";
|
|
217
|
+
};
|
|
218
|
+
readonly trelloCustomFieldDeleted: {
|
|
219
|
+
readonly account: {
|
|
220
|
+
readonly connectionOptions: readonly [{
|
|
221
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
222
|
+
}];
|
|
223
|
+
readonly serviceId: "trello";
|
|
224
|
+
};
|
|
225
|
+
readonly type: "trello.custom-field.deleted";
|
|
226
|
+
};
|
|
227
|
+
readonly trelloCustomFieldUpdated: {
|
|
228
|
+
readonly account: {
|
|
229
|
+
readonly connectionOptions: readonly [{
|
|
230
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
231
|
+
}];
|
|
232
|
+
readonly serviceId: "trello";
|
|
233
|
+
};
|
|
234
|
+
readonly type: "trello.custom-field.updated";
|
|
235
|
+
};
|
|
236
|
+
readonly trelloCustomFieldValueUpdated: {
|
|
237
|
+
readonly account: {
|
|
238
|
+
readonly connectionOptions: readonly [{
|
|
239
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
240
|
+
}];
|
|
241
|
+
readonly serviceId: "trello";
|
|
242
|
+
};
|
|
243
|
+
readonly type: "trello.custom-field.value.updated";
|
|
244
|
+
};
|
|
245
|
+
readonly trelloListArchived: {
|
|
246
|
+
readonly account: {
|
|
247
|
+
readonly connectionOptions: readonly [{
|
|
248
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
249
|
+
}];
|
|
250
|
+
readonly serviceId: "trello";
|
|
251
|
+
};
|
|
252
|
+
readonly type: "trello.list.archived";
|
|
253
|
+
};
|
|
254
|
+
readonly trelloListCreated: {
|
|
255
|
+
readonly account: {
|
|
256
|
+
readonly connectionOptions: readonly [{
|
|
257
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
258
|
+
}];
|
|
259
|
+
readonly serviceId: "trello";
|
|
260
|
+
};
|
|
261
|
+
readonly type: "trello.list.created";
|
|
262
|
+
};
|
|
263
|
+
readonly trelloListMoved: {
|
|
264
|
+
readonly account: {
|
|
265
|
+
readonly connectionOptions: readonly [{
|
|
266
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
267
|
+
}];
|
|
268
|
+
readonly serviceId: "trello";
|
|
269
|
+
};
|
|
270
|
+
readonly type: "trello.list.moved";
|
|
271
|
+
};
|
|
272
|
+
readonly trelloListRestored: {
|
|
273
|
+
readonly account: {
|
|
274
|
+
readonly connectionOptions: readonly [{
|
|
275
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
276
|
+
}];
|
|
277
|
+
readonly serviceId: "trello";
|
|
278
|
+
};
|
|
279
|
+
readonly type: "trello.list.restored";
|
|
280
|
+
};
|
|
281
|
+
readonly trelloListUpdated: {
|
|
282
|
+
readonly account: {
|
|
283
|
+
readonly connectionOptions: readonly [{
|
|
284
|
+
readonly requiredScopes: readonly ["read", "write"];
|
|
285
|
+
}];
|
|
286
|
+
readonly serviceId: "trello";
|
|
287
|
+
};
|
|
288
|
+
readonly type: "trello.list.updated";
|
|
289
|
+
};
|
|
56
290
|
};
|
package/dist/triggers/trello.js
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
const TRELLO_ACCOUNT = {
|
|
2
2
|
connectionOptions: [
|
|
3
3
|
{
|
|
4
|
-
requiredScopes: [],
|
|
4
|
+
requiredScopes: ["read", "write"],
|
|
5
5
|
},
|
|
6
6
|
],
|
|
7
7
|
serviceId: "trello",
|
|
8
8
|
};
|
|
9
9
|
export const trelloTriggerDefinitions = {
|
|
10
|
+
trelloAttachmentAdded: {
|
|
11
|
+
account: TRELLO_ACCOUNT,
|
|
12
|
+
type: "trello.attachment.added",
|
|
13
|
+
},
|
|
14
|
+
trelloAttachmentDeleted: {
|
|
15
|
+
account: TRELLO_ACCOUNT,
|
|
16
|
+
type: "trello.attachment.deleted",
|
|
17
|
+
},
|
|
10
18
|
trelloBoardEvent: {
|
|
11
19
|
account: TRELLO_ACCOUNT,
|
|
12
20
|
type: "trello.board.event",
|
|
@@ -23,12 +31,108 @@ export const trelloTriggerDefinitions = {
|
|
|
23
31
|
account: TRELLO_ACCOUNT,
|
|
24
32
|
type: "trello.card.created",
|
|
25
33
|
},
|
|
34
|
+
trelloCardDeleted: {
|
|
35
|
+
account: TRELLO_ACCOUNT,
|
|
36
|
+
type: "trello.card.deleted",
|
|
37
|
+
},
|
|
38
|
+
trelloCardLabelAdded: {
|
|
39
|
+
account: TRELLO_ACCOUNT,
|
|
40
|
+
type: "trello.card.label.added",
|
|
41
|
+
},
|
|
42
|
+
trelloCardLabelRemoved: {
|
|
43
|
+
account: TRELLO_ACCOUNT,
|
|
44
|
+
type: "trello.card.label.removed",
|
|
45
|
+
},
|
|
46
|
+
trelloCardMemberAdded: {
|
|
47
|
+
account: TRELLO_ACCOUNT,
|
|
48
|
+
type: "trello.card.member.added",
|
|
49
|
+
},
|
|
50
|
+
trelloCardMemberRemoved: {
|
|
51
|
+
account: TRELLO_ACCOUNT,
|
|
52
|
+
type: "trello.card.member.removed",
|
|
53
|
+
},
|
|
26
54
|
trelloCardMoved: {
|
|
27
55
|
account: TRELLO_ACCOUNT,
|
|
28
56
|
type: "trello.card.moved",
|
|
29
57
|
},
|
|
58
|
+
trelloCardRestored: {
|
|
59
|
+
account: TRELLO_ACCOUNT,
|
|
60
|
+
type: "trello.card.restored",
|
|
61
|
+
},
|
|
30
62
|
trelloCardUpdated: {
|
|
31
63
|
account: TRELLO_ACCOUNT,
|
|
32
64
|
type: "trello.card.updated",
|
|
33
65
|
},
|
|
66
|
+
trelloChecklistCreated: {
|
|
67
|
+
account: TRELLO_ACCOUNT,
|
|
68
|
+
type: "trello.checklist.created",
|
|
69
|
+
},
|
|
70
|
+
trelloChecklistDeleted: {
|
|
71
|
+
account: TRELLO_ACCOUNT,
|
|
72
|
+
type: "trello.checklist.deleted",
|
|
73
|
+
},
|
|
74
|
+
trelloChecklistItemCompleted: {
|
|
75
|
+
account: TRELLO_ACCOUNT,
|
|
76
|
+
type: "trello.checklist-item.completed",
|
|
77
|
+
},
|
|
78
|
+
trelloChecklistItemCreated: {
|
|
79
|
+
account: TRELLO_ACCOUNT,
|
|
80
|
+
type: "trello.checklist-item.created",
|
|
81
|
+
},
|
|
82
|
+
trelloChecklistItemDeleted: {
|
|
83
|
+
account: TRELLO_ACCOUNT,
|
|
84
|
+
type: "trello.checklist-item.deleted",
|
|
85
|
+
},
|
|
86
|
+
trelloChecklistItemUpdated: {
|
|
87
|
+
account: TRELLO_ACCOUNT,
|
|
88
|
+
type: "trello.checklist-item.updated",
|
|
89
|
+
},
|
|
90
|
+
trelloChecklistUpdated: {
|
|
91
|
+
account: TRELLO_ACCOUNT,
|
|
92
|
+
type: "trello.checklist.updated",
|
|
93
|
+
},
|
|
94
|
+
trelloCommentDeleted: {
|
|
95
|
+
account: TRELLO_ACCOUNT,
|
|
96
|
+
type: "trello.comment.deleted",
|
|
97
|
+
},
|
|
98
|
+
trelloCommentUpdated: {
|
|
99
|
+
account: TRELLO_ACCOUNT,
|
|
100
|
+
type: "trello.comment.updated",
|
|
101
|
+
},
|
|
102
|
+
trelloCustomFieldCreated: {
|
|
103
|
+
account: TRELLO_ACCOUNT,
|
|
104
|
+
type: "trello.custom-field.created",
|
|
105
|
+
},
|
|
106
|
+
trelloCustomFieldDeleted: {
|
|
107
|
+
account: TRELLO_ACCOUNT,
|
|
108
|
+
type: "trello.custom-field.deleted",
|
|
109
|
+
},
|
|
110
|
+
trelloCustomFieldUpdated: {
|
|
111
|
+
account: TRELLO_ACCOUNT,
|
|
112
|
+
type: "trello.custom-field.updated",
|
|
113
|
+
},
|
|
114
|
+
trelloCustomFieldValueUpdated: {
|
|
115
|
+
account: TRELLO_ACCOUNT,
|
|
116
|
+
type: "trello.custom-field.value.updated",
|
|
117
|
+
},
|
|
118
|
+
trelloListArchived: {
|
|
119
|
+
account: TRELLO_ACCOUNT,
|
|
120
|
+
type: "trello.list.archived",
|
|
121
|
+
},
|
|
122
|
+
trelloListCreated: {
|
|
123
|
+
account: TRELLO_ACCOUNT,
|
|
124
|
+
type: "trello.list.created",
|
|
125
|
+
},
|
|
126
|
+
trelloListMoved: {
|
|
127
|
+
account: TRELLO_ACCOUNT,
|
|
128
|
+
type: "trello.list.moved",
|
|
129
|
+
},
|
|
130
|
+
trelloListRestored: {
|
|
131
|
+
account: TRELLO_ACCOUNT,
|
|
132
|
+
type: "trello.list.restored",
|
|
133
|
+
},
|
|
134
|
+
trelloListUpdated: {
|
|
135
|
+
account: TRELLO_ACCOUNT,
|
|
136
|
+
type: "trello.list.updated",
|
|
137
|
+
},
|
|
34
138
|
};
|
package/package.json
CHANGED
package/src/triggers/trello.ts
CHANGED
|
@@ -3,13 +3,21 @@ import type { IntegrationAccountRequirement, TriggerDefinition } from "../types"
|
|
|
3
3
|
const TRELLO_ACCOUNT = {
|
|
4
4
|
connectionOptions: [
|
|
5
5
|
{
|
|
6
|
-
requiredScopes: [],
|
|
6
|
+
requiredScopes: ["read", "write"],
|
|
7
7
|
},
|
|
8
8
|
],
|
|
9
9
|
serviceId: "trello",
|
|
10
10
|
} as const satisfies IntegrationAccountRequirement
|
|
11
11
|
|
|
12
12
|
export const trelloTriggerDefinitions = {
|
|
13
|
+
trelloAttachmentAdded: {
|
|
14
|
+
account: TRELLO_ACCOUNT,
|
|
15
|
+
type: "trello.attachment.added",
|
|
16
|
+
},
|
|
17
|
+
trelloAttachmentDeleted: {
|
|
18
|
+
account: TRELLO_ACCOUNT,
|
|
19
|
+
type: "trello.attachment.deleted",
|
|
20
|
+
},
|
|
13
21
|
trelloBoardEvent: {
|
|
14
22
|
account: TRELLO_ACCOUNT,
|
|
15
23
|
type: "trello.board.event",
|
|
@@ -26,12 +34,108 @@ export const trelloTriggerDefinitions = {
|
|
|
26
34
|
account: TRELLO_ACCOUNT,
|
|
27
35
|
type: "trello.card.created",
|
|
28
36
|
},
|
|
37
|
+
trelloCardDeleted: {
|
|
38
|
+
account: TRELLO_ACCOUNT,
|
|
39
|
+
type: "trello.card.deleted",
|
|
40
|
+
},
|
|
41
|
+
trelloCardLabelAdded: {
|
|
42
|
+
account: TRELLO_ACCOUNT,
|
|
43
|
+
type: "trello.card.label.added",
|
|
44
|
+
},
|
|
45
|
+
trelloCardLabelRemoved: {
|
|
46
|
+
account: TRELLO_ACCOUNT,
|
|
47
|
+
type: "trello.card.label.removed",
|
|
48
|
+
},
|
|
49
|
+
trelloCardMemberAdded: {
|
|
50
|
+
account: TRELLO_ACCOUNT,
|
|
51
|
+
type: "trello.card.member.added",
|
|
52
|
+
},
|
|
53
|
+
trelloCardMemberRemoved: {
|
|
54
|
+
account: TRELLO_ACCOUNT,
|
|
55
|
+
type: "trello.card.member.removed",
|
|
56
|
+
},
|
|
29
57
|
trelloCardMoved: {
|
|
30
58
|
account: TRELLO_ACCOUNT,
|
|
31
59
|
type: "trello.card.moved",
|
|
32
60
|
},
|
|
61
|
+
trelloCardRestored: {
|
|
62
|
+
account: TRELLO_ACCOUNT,
|
|
63
|
+
type: "trello.card.restored",
|
|
64
|
+
},
|
|
33
65
|
trelloCardUpdated: {
|
|
34
66
|
account: TRELLO_ACCOUNT,
|
|
35
67
|
type: "trello.card.updated",
|
|
36
68
|
},
|
|
69
|
+
trelloChecklistCreated: {
|
|
70
|
+
account: TRELLO_ACCOUNT,
|
|
71
|
+
type: "trello.checklist.created",
|
|
72
|
+
},
|
|
73
|
+
trelloChecklistDeleted: {
|
|
74
|
+
account: TRELLO_ACCOUNT,
|
|
75
|
+
type: "trello.checklist.deleted",
|
|
76
|
+
},
|
|
77
|
+
trelloChecklistItemCompleted: {
|
|
78
|
+
account: TRELLO_ACCOUNT,
|
|
79
|
+
type: "trello.checklist-item.completed",
|
|
80
|
+
},
|
|
81
|
+
trelloChecklistItemCreated: {
|
|
82
|
+
account: TRELLO_ACCOUNT,
|
|
83
|
+
type: "trello.checklist-item.created",
|
|
84
|
+
},
|
|
85
|
+
trelloChecklistItemDeleted: {
|
|
86
|
+
account: TRELLO_ACCOUNT,
|
|
87
|
+
type: "trello.checklist-item.deleted",
|
|
88
|
+
},
|
|
89
|
+
trelloChecklistItemUpdated: {
|
|
90
|
+
account: TRELLO_ACCOUNT,
|
|
91
|
+
type: "trello.checklist-item.updated",
|
|
92
|
+
},
|
|
93
|
+
trelloChecklistUpdated: {
|
|
94
|
+
account: TRELLO_ACCOUNT,
|
|
95
|
+
type: "trello.checklist.updated",
|
|
96
|
+
},
|
|
97
|
+
trelloCommentDeleted: {
|
|
98
|
+
account: TRELLO_ACCOUNT,
|
|
99
|
+
type: "trello.comment.deleted",
|
|
100
|
+
},
|
|
101
|
+
trelloCommentUpdated: {
|
|
102
|
+
account: TRELLO_ACCOUNT,
|
|
103
|
+
type: "trello.comment.updated",
|
|
104
|
+
},
|
|
105
|
+
trelloCustomFieldCreated: {
|
|
106
|
+
account: TRELLO_ACCOUNT,
|
|
107
|
+
type: "trello.custom-field.created",
|
|
108
|
+
},
|
|
109
|
+
trelloCustomFieldDeleted: {
|
|
110
|
+
account: TRELLO_ACCOUNT,
|
|
111
|
+
type: "trello.custom-field.deleted",
|
|
112
|
+
},
|
|
113
|
+
trelloCustomFieldUpdated: {
|
|
114
|
+
account: TRELLO_ACCOUNT,
|
|
115
|
+
type: "trello.custom-field.updated",
|
|
116
|
+
},
|
|
117
|
+
trelloCustomFieldValueUpdated: {
|
|
118
|
+
account: TRELLO_ACCOUNT,
|
|
119
|
+
type: "trello.custom-field.value.updated",
|
|
120
|
+
},
|
|
121
|
+
trelloListArchived: {
|
|
122
|
+
account: TRELLO_ACCOUNT,
|
|
123
|
+
type: "trello.list.archived",
|
|
124
|
+
},
|
|
125
|
+
trelloListCreated: {
|
|
126
|
+
account: TRELLO_ACCOUNT,
|
|
127
|
+
type: "trello.list.created",
|
|
128
|
+
},
|
|
129
|
+
trelloListMoved: {
|
|
130
|
+
account: TRELLO_ACCOUNT,
|
|
131
|
+
type: "trello.list.moved",
|
|
132
|
+
},
|
|
133
|
+
trelloListRestored: {
|
|
134
|
+
account: TRELLO_ACCOUNT,
|
|
135
|
+
type: "trello.list.restored",
|
|
136
|
+
},
|
|
137
|
+
trelloListUpdated: {
|
|
138
|
+
account: TRELLO_ACCOUNT,
|
|
139
|
+
type: "trello.list.updated",
|
|
140
|
+
},
|
|
37
141
|
} as const satisfies Record<string, TriggerDefinition>
|