@camunda/connectors-element-templates 1.0.6 → 1.0.7

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.
Files changed (78) hide show
  1. package/package.json +1 -1
  2. package/src/build_element_template_array_json_files.sh +9 -0
  3. package/src/connectors.js +2 -2
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +1 -0
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +1618 -0
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +1593 -36
  7. package/src/element-templates/asana-connector.json +99 -99
  8. package/src/element-templates/automation-anywhere-outbound-connector.json +70 -70
  9. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  10. package/src/element-templates/aws-dynamodb-outbound-connector.json +1423 -1423
  11. package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
  12. package/src/element-templates/aws-eventbridge-connector-intermediate.json +38 -38
  13. package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
  14. package/src/element-templates/aws-eventbridge-outbound-connector.json +475 -475
  15. package/src/element-templates/aws-lambda-outbound-connector.json +314 -314
  16. package/src/element-templates/aws-sns-inbound-boundary.json +193 -193
  17. package/src/element-templates/aws-sns-inbound-intermediate.json +229 -229
  18. package/src/element-templates/aws-sns-inbound-start-event.json +6 -6
  19. package/src/element-templates/aws-sns-outbound-connector.json +362 -362
  20. package/src/element-templates/aws-sqs-boundary-connector.json +238 -238
  21. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +528 -528
  22. package/src/element-templates/aws-sqs-outbound-connector.json +393 -393
  23. package/src/element-templates/aws-sqs-start-event-connector.json +748 -748
  24. package/src/element-templates/aws-sqs-start-message.json +422 -422
  25. package/src/element-templates/azure-open-ai-connector.json +32 -32
  26. package/src/element-templates/blue-prism-connector.json +13 -13
  27. package/src/element-templates/box-outbound-connector.json +30 -30
  28. package/src/element-templates/csv-outbound-connector.json +412 -0
  29. package/src/element-templates/easy-post-connector.json +121 -121
  30. package/src/element-templates/email-message-start-event-connector.json +19 -19
  31. package/src/element-templates/email-outbound-connector.json +233 -233
  32. package/src/element-templates/embeddings-vector-database-outbound-connector.json +20 -35
  33. package/src/element-templates/github-connector.json +4988 -4988
  34. package/src/element-templates/github-webhook-connector-boundary.json +21 -21
  35. package/src/element-templates/github-webhook-connector-intermediate.json +24 -24
  36. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  37. package/src/element-templates/github-webhook-connector-start-event.json +34 -34
  38. package/src/element-templates/gitlab-connector.json +1185 -1185
  39. package/src/element-templates/google-drive-outbound-connector.json +759 -759
  40. package/src/element-templates/google-maps-platform-connector.json +75 -75
  41. package/src/element-templates/google-sheets-outbound-connector.json +1259 -1259
  42. package/src/element-templates/graphql-outbound-connector.json +573 -573
  43. package/src/element-templates/http-json-connector.json +1863 -1863
  44. package/src/element-templates/http-polling-boundary-catch-event-connector.json +7 -7
  45. package/src/element-templates/http-polling-connector.json +7 -7
  46. package/src/element-templates/jdbc-outbound-connector.json +36 -36
  47. package/src/element-templates/kafka-inbound-connector-boundary.json +432 -432
  48. package/src/element-templates/kafka-inbound-connector-intermediate.json +915 -915
  49. package/src/element-templates/kafka-inbound-connector-start-message.json +608 -608
  50. package/src/element-templates/kafka-inbound-connector.json +240 -240
  51. package/src/element-templates/kafka-outbound-connector.json +166 -166
  52. package/src/element-templates/microsoft-office365-mail-connector.json +60 -60
  53. package/src/element-templates/microsoft-teams-outbound-connector.json +4368 -4368
  54. package/src/element-templates/openai-connector.json +173 -173
  55. package/src/element-templates/operate-connector.json +23 -19
  56. package/src/element-templates/power-automate-connector.json +4 -4
  57. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +431 -431
  58. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +440 -440
  59. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +461 -461
  60. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +487 -487
  61. package/src/element-templates/rabbitmq-outbound-connector.json +360 -360
  62. package/src/element-templates/salesforce-connector.json +10 -10
  63. package/src/element-templates/sendgrid-outbound-connector.json +484 -484
  64. package/src/element-templates/slack-inbound-boundary.json +362 -362
  65. package/src/element-templates/slack-inbound-intermediate.json +438 -438
  66. package/src/element-templates/slack-inbound-message-start.json +217 -217
  67. package/src/element-templates/slack-inbound-start-event.json +235 -235
  68. package/src/element-templates/slack-outbound-connector.json +895 -895
  69. package/src/element-templates/twilio-connector.json +67 -67
  70. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  71. package/src/element-templates/twilio-webhook-connector.json +10 -10
  72. package/src/element-templates/uipath-connector.json +41 -41
  73. package/src/element-templates/webhook-connector-boundary.json +1651 -1651
  74. package/src/element-templates/webhook-connector-intermediate.json +771 -771
  75. package/src/element-templates/webhook-connector-start-event.json +1630 -1630
  76. package/src/element-templates/webhook-connector-start-message.json +1251 -1251
  77. package/src/element-templates/whatsapp-connector.json +42 -42
  78. package/src/element-templates/idp-extraction-outbound-connector.json +0 -932
@@ -425,14 +425,14 @@
425
425
  },
426
426
  {
427
427
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
428
- "name": "Google Drive Outbound Connector",
428
+ "name": "Google Drive connector",
429
429
  "id": "io.camunda.connectors.GoogleDrive.v1",
430
- "description": "Manage Google Drive files and folders",
431
- "metadata": {
432
- "keywords": ["create file", "create file from template", "create folder"]
433
- },
434
430
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
435
- "version": 4,
431
+ "description": "Create folder or a file from template",
432
+ "deprecated": {
433
+ "message": "Replace with 'Google Drive connector' template.",
434
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
435
+ },
436
436
  "category": {
437
437
  "id": "connectors",
438
438
  "name": "Connectors"
@@ -441,9 +441,6 @@
441
441
  "elementType": {
442
442
  "value": "bpmn:ServiceTask"
443
443
  },
444
- "engines": {
445
- "camunda": "^8.3"
446
- },
447
444
  "groups": [
448
445
  {
449
446
  "id": "authentication",
@@ -462,37 +459,25 @@
462
459
  "label": "Output mapping"
463
460
  },
464
461
  {
465
- "id": "error",
462
+ "id": "errors",
466
463
  "label": "Error handling"
467
- },
468
- {
469
- "id": "retries",
470
- "label": "Retries"
471
464
  }
472
465
  ],
473
466
  "properties": [
474
467
  {
468
+ "type": "Hidden",
475
469
  "value": "io.camunda:google-drive:1",
476
470
  "binding": {
477
- "property": "type",
478
- "type": "zeebe:taskDefinition"
479
- },
480
- "type": "Hidden"
471
+ "type": "zeebe:taskDefinition",
472
+ "property": "type"
473
+ }
481
474
  },
482
475
  {
483
- "id": "authentication.authType",
476
+ "id": "authenticationType",
484
477
  "label": "Type",
485
- "optional": false,
486
- "value": "refresh",
487
- "constraints": {
488
- "notEmpty": true
489
- },
490
478
  "group": "authentication",
491
- "binding": {
492
- "name": "authentication.authType",
493
- "type": "zeebe:input"
494
- },
495
479
  "type": "Dropdown",
480
+ "value": "bearer",
496
481
  "choices": [
497
482
  {
498
483
  "name": "Bearer token",
@@ -502,106 +487,86 @@
502
487
  "name": "Refresh token",
503
488
  "value": "refresh"
504
489
  }
505
- ]
490
+ ],
491
+ "binding": {
492
+ "type": "zeebe:input",
493
+ "name": "authentication.authType",
494
+ "key": "authentication.authType"
495
+ }
506
496
  },
507
497
  {
508
- "id": "authentication.bearerToken",
509
498
  "label": "Bearer token",
510
- "description": "Enter a valid Google API Bearer token",
511
- "optional": false,
512
- "constraints": {
513
- "notEmpty": true
514
- },
515
- "feel": "optional",
499
+ "description": "Enter Google API Bearer token that is authorized to interact with desired Drive",
516
500
  "group": "authentication",
501
+ "type": "String",
517
502
  "binding": {
518
- "name": "authentication.bearerToken",
519
- "type": "zeebe:input"
503
+ "type": "zeebe:input",
504
+ "name": "authentication.bearerToken"
520
505
  },
521
- "condition": {
522
- "property": "authentication.authType",
523
- "equals": "bearer",
524
- "type": "simple"
506
+ "constraints": {
507
+ "notEmpty": true
525
508
  },
526
- "type": "String"
509
+ "condition": {
510
+ "property": "authenticationType",
511
+ "equals": "bearer"
512
+ }
527
513
  },
528
514
  {
529
- "id": "authentication.oauthClientId",
530
515
  "label": "Client ID",
531
516
  "description": "Enter Google API Client ID",
532
- "optional": false,
533
- "constraints": {
534
- "notEmpty": true
535
- },
536
- "feel": "optional",
537
517
  "group": "authentication",
518
+ "type": "String",
538
519
  "binding": {
539
- "name": "authentication.oauthClientId",
540
- "type": "zeebe:input"
520
+ "type": "zeebe:input",
521
+ "name": "authentication.oauthClientId"
541
522
  },
542
- "condition": {
543
- "property": "authentication.authType",
544
- "equals": "refresh",
545
- "type": "simple"
523
+ "constraints": {
524
+ "notEmpty": true
546
525
  },
547
- "type": "String"
526
+ "condition": {
527
+ "property": "authenticationType",
528
+ "equals": "refresh"
529
+ }
548
530
  },
549
531
  {
550
- "id": "authentication.oauthClientSecret",
551
532
  "label": "Client secret",
552
533
  "description": "Enter Google API client Secret",
553
- "optional": false,
554
- "constraints": {
555
- "notEmpty": true
556
- },
557
- "feel": "optional",
558
534
  "group": "authentication",
535
+ "type": "String",
559
536
  "binding": {
560
- "name": "authentication.oauthClientSecret",
561
- "type": "zeebe:input"
537
+ "type": "zeebe:input",
538
+ "name": "authentication.oauthClientSecret"
562
539
  },
563
- "condition": {
564
- "property": "authentication.authType",
565
- "equals": "refresh",
566
- "type": "simple"
540
+ "constraints": {
541
+ "notEmpty": true
567
542
  },
568
- "type": "String"
543
+ "condition": {
544
+ "property": "authenticationType",
545
+ "equals": "refresh"
546
+ }
569
547
  },
570
548
  {
571
- "id": "authentication.oauthRefreshToken",
572
549
  "label": "Refresh token",
573
- "description": "Enter a valid Google API refresh token",
574
- "optional": false,
575
- "constraints": {
576
- "notEmpty": true
577
- },
578
- "feel": "optional",
550
+ "description": "Enter Google API refresh token that is authorized to interact with desired Drive",
579
551
  "group": "authentication",
552
+ "type": "String",
580
553
  "binding": {
581
- "name": "authentication.oauthRefreshToken",
582
- "type": "zeebe:input"
583
- },
584
- "condition": {
585
- "property": "authentication.authType",
586
- "equals": "refresh",
587
- "type": "simple"
554
+ "type": "zeebe:input",
555
+ "name": "authentication.oauthRefreshToken"
588
556
  },
589
- "type": "String"
590
- },
591
- {
592
- "id": "resource.type",
593
- "label": "Operation",
594
- "optional": false,
595
- "value": "folder",
596
557
  "constraints": {
597
558
  "notEmpty": true
598
559
  },
560
+ "condition": {
561
+ "property": "authenticationType",
562
+ "equals": "refresh"
563
+ }
564
+ },
565
+ {
566
+ "id": "resourceType",
599
567
  "group": "operation",
600
- "binding": {
601
- "name": "resource.type",
602
- "type": "zeebe:input"
603
- },
604
568
  "type": "Dropdown",
569
+ "value": "folder",
605
570
  "choices": [
606
571
  {
607
572
  "name": "Create folder",
@@ -610,220 +575,172 @@
610
575
  {
611
576
  "name": "Create file from template",
612
577
  "value": "file"
613
- },
614
- {
615
- "name": "Upload file",
616
- "value": "upload"
617
- },
618
- {
619
- "name": "Download file",
620
- "value": "download"
621
578
  }
622
- ]
579
+ ],
580
+ "binding": {
581
+ "type": "zeebe:input",
582
+ "name": "resource.type",
583
+ "key": "resource.type"
584
+ }
623
585
  },
624
586
  {
625
- "id": "resource.name",
626
- "label": "New resource name",
627
- "optional": false,
628
- "constraints": {
629
- "notEmpty": true
630
- },
631
- "feel": "optional",
587
+ "label": "File name",
588
+ "description": "Enter name for your file",
632
589
  "group": "operationDetails",
590
+ "type": "String",
591
+ "feel": "optional",
633
592
  "binding": {
634
- "name": "resource.name",
635
- "type": "zeebe:input"
593
+ "type": "zeebe:input",
594
+ "name": "resource.name"
636
595
  },
637
- "condition": {
638
- "property": "resource.type",
639
- "oneOf": ["folder", "file"],
640
- "type": "simple"
596
+ "constraints": {
597
+ "notEmpty": true,
598
+ "maxLength": 255
641
599
  },
642
- "type": "String"
600
+ "condition": {
601
+ "property": "resourceType",
602
+ "equals": "file"
603
+ }
643
604
  },
644
605
  {
645
- "id": "resource.parent",
646
- "label": "Parent folder ID",
647
- "description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
648
- "optional": true,
649
- "feel": "optional",
606
+ "label": "Folder name",
607
+ "description": "Enter name for your folder",
650
608
  "group": "operationDetails",
609
+ "type": "String",
610
+ "feel": "optional",
651
611
  "binding": {
652
- "name": "resource.parent",
653
- "type": "zeebe:input"
612
+ "type": "zeebe:input",
613
+ "name": "resource.name"
654
614
  },
655
- "condition": {
656
- "property": "resource.type",
657
- "oneOf": ["folder", "file", "upload"],
658
- "type": "simple"
615
+ "constraints": {
616
+ "notEmpty": true,
617
+ "maxLength": 255
659
618
  },
660
- "type": "String"
619
+ "condition": {
620
+ "property": "resourceType",
621
+ "equals": "folder"
622
+ }
661
623
  },
662
624
  {
663
- "id": "resource.additionalGoogleDriveProperties",
664
- "label": "Additional properties or metadata",
665
- "optional": true,
666
- "feel": "required",
625
+ "label": "Template ID",
626
+ "description": "Enter ID of the template you are creating a file from",
667
627
  "group": "operationDetails",
628
+ "type": "String",
629
+ "feel": "optional",
668
630
  "binding": {
669
- "name": "resource.additionalGoogleDriveProperties",
670
- "type": "zeebe:input"
671
- },
672
- "condition": {
673
- "property": "resource.type",
674
- "equals": "folder",
675
- "type": "simple"
631
+ "type": "zeebe:input",
632
+ "name": "resource.template.id"
676
633
  },
677
- "type": "String"
678
- },
679
- {
680
- "id": "resource.template.id",
681
- "label": "Template ID",
682
- "optional": false,
683
634
  "constraints": {
684
635
  "notEmpty": true
685
636
  },
686
- "feel": "optional",
637
+ "condition": {
638
+ "property": "resourceType",
639
+ "equals": "file"
640
+ }
641
+ },
642
+ {
643
+ "label": "Parent folder ID",
644
+ "description": "Enter ID of the parent folder where new folder will be created",
687
645
  "group": "operationDetails",
646
+ "type": "String",
647
+ "feel": "optional",
648
+ "optional": true,
688
649
  "binding": {
689
- "name": "resource.template.id",
690
- "type": "zeebe:input"
650
+ "type": "zeebe:input",
651
+ "name": "resource.parent"
691
652
  },
692
653
  "condition": {
693
- "property": "resource.type",
694
- "equals": "file",
695
- "type": "simple"
696
- },
697
- "type": "String"
654
+ "property": "resourceType",
655
+ "equals": "folder"
656
+ }
698
657
  },
699
658
  {
700
- "id": "resource.template.variables",
701
- "label": "Template variables",
702
- "optional": false,
703
- "feel": "required",
659
+ "label": "Parent folder ID",
660
+ "description": "Enter ID of the parent folder where new file will be created",
704
661
  "group": "operationDetails",
662
+ "type": "String",
663
+ "feel": "optional",
664
+ "optional": true,
705
665
  "binding": {
706
- "name": "resource.template.variables",
707
- "type": "zeebe:input"
666
+ "type": "zeebe:input",
667
+ "name": "resource.parent"
708
668
  },
709
669
  "condition": {
710
- "property": "resource.type",
711
- "equals": "file",
712
- "type": "simple"
713
- },
714
- "type": "String"
670
+ "property": "resourceType",
671
+ "equals": "file"
672
+ }
715
673
  },
716
674
  {
717
- "id": "resource.downloadData.fileId",
718
- "label": "File ID",
719
- "optional": false,
720
- "constraints": {
721
- "notEmpty": true
722
- },
723
- "feel": "optional",
675
+ "label": "Template variables",
676
+ "description": "Use this field to pass and update variables in your template as JSON",
724
677
  "group": "operationDetails",
678
+ "type": "Text",
679
+ "feel": "required",
725
680
  "binding": {
726
- "name": "resource.downloadData.fileId",
727
- "type": "zeebe:input"
681
+ "type": "zeebe:input",
682
+ "name": "resource.template.variables"
728
683
  },
729
684
  "condition": {
730
- "property": "resource.type",
731
- "equals": "download",
732
- "type": "simple"
733
- },
734
- "type": "String"
685
+ "property": "resourceType",
686
+ "equals": "file"
687
+ }
735
688
  },
736
689
  {
737
- "id": "resource.uploadData.document",
738
- "label": "Document",
739
- "description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
740
- "optional": false,
741
- "constraints": {
742
- "notEmpty": true
743
- },
744
- "feel": "required",
690
+ "label": "Additional properties or metadata",
691
+ "description": "Use this field to pass additional Google Drive parameters as JSON.",
745
692
  "group": "operationDetails",
693
+ "type": "Text",
694
+ "optional": true,
695
+ "feel": "required",
746
696
  "binding": {
747
- "name": "resource.uploadData.document",
748
- "type": "zeebe:input"
749
- },
750
- "condition": {
751
- "property": "resource.type",
752
- "equals": "upload",
753
- "type": "simple"
754
- },
755
- "type": "String"
697
+ "type": "zeebe:input",
698
+ "name": "resource.additionalGoogleDriveProperties",
699
+ "key": "resource.additionalGoogleDriveProperties"
700
+ }
756
701
  },
757
702
  {
758
- "id": "resultVariable",
759
703
  "label": "Result variable",
760
- "description": "Name of variable to store the response in",
704
+ "description": "Enter name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
761
705
  "group": "output",
706
+ "type": "String",
762
707
  "binding": {
763
- "key": "resultVariable",
764
- "type": "zeebe:taskHeader"
765
- },
766
- "type": "String"
708
+ "type": "zeebe:taskHeader",
709
+ "key": "resultVariable"
710
+ }
767
711
  },
768
712
  {
769
- "id": "resultExpression",
770
713
  "label": "Result expression",
771
- "description": "Expression to map the response into process variables",
772
- "feel": "required",
714
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
773
715
  "group": "output",
716
+ "type": "Text",
717
+ "feel": "required",
774
718
  "binding": {
775
- "key": "resultExpression",
776
- "type": "zeebe:taskHeader"
777
- },
778
- "type": "Text"
719
+ "type": "zeebe:taskHeader",
720
+ "key": "resultExpression"
721
+ }
779
722
  },
780
723
  {
781
- "id": "errorExpression",
782
724
  "label": "Error expression",
783
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
725
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
726
+ "group": "errors",
727
+ "type": "Text",
784
728
  "feel": "required",
785
- "group": "error",
786
- "binding": {
787
- "key": "errorExpression",
788
- "type": "zeebe:taskHeader"
789
- },
790
- "type": "Text"
791
- },
792
- {
793
- "id": "retryCount",
794
- "label": "Retries",
795
- "description": "Number of retries",
796
- "value": "3",
797
- "feel": "optional",
798
- "group": "retries",
799
- "binding": {
800
- "property": "retries",
801
- "type": "zeebe:taskDefinition"
802
- },
803
- "type": "String"
804
- },
805
- {
806
- "id": "retryBackoff",
807
- "label": "Retry backoff",
808
- "description": "ISO-8601 duration to wait between retries",
809
- "value": "PT0S",
810
- "group": "retries",
811
729
  "binding": {
812
- "key": "retryBackoff",
813
- "type": "zeebe:taskHeader"
814
- },
815
- "type": "String"
730
+ "type": "zeebe:taskHeader",
731
+ "key": "errorExpression"
732
+ }
816
733
  }
817
734
  ],
818
735
  "icon": {
819
- "contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
736
+ "contents": "data:image/svg+xml;utf8,%3Csvg width='18' height='18' viewBox='0 0 87.3 78' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z' fill='%230066da'/%3E%3Cpath d='m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z' fill='%2300ac47'/%3E%3Cpath d='m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z' fill='%23ea4335'/%3E%3Cpath d='m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z' fill='%2300832d'/%3E%3Cpath d='m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z' fill='%232684fc'/%3E%3Cpath d='m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z' fill='%23ffba00'/%3E%3C/svg%3E"
820
737
  }
821
738
  },
822
739
  {
823
740
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
824
- "name": "Google Drive connector",
741
+ "name": "Google Drive Outbound Connector",
825
742
  "id": "io.camunda.connectors.GoogleDrive.v1",
826
- "version": 1,
743
+ "version": 2,
827
744
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
828
745
  "description": "Create folder or a file from template",
829
746
  "category": {
@@ -1136,9 +1053,9 @@
1136
1053
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1137
1054
  "name": "Google Drive Outbound Connector",
1138
1055
  "id": "io.camunda.connectors.GoogleDrive.v1",
1139
- "version": 2,
1140
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
1141
1056
  "description": "Create folder or a file from template",
1057
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
1058
+ "version": 3,
1142
1059
  "category": {
1143
1060
  "id": "connectors",
1144
1061
  "name": "Connectors"
@@ -1165,25 +1082,37 @@
1165
1082
  "label": "Output mapping"
1166
1083
  },
1167
1084
  {
1168
- "id": "errors",
1085
+ "id": "error",
1169
1086
  "label": "Error handling"
1087
+ },
1088
+ {
1089
+ "id": "retries",
1090
+ "label": "Retries"
1170
1091
  }
1171
1092
  ],
1172
1093
  "properties": [
1173
1094
  {
1174
- "type": "Hidden",
1175
1095
  "value": "io.camunda:google-drive:1",
1176
1096
  "binding": {
1177
- "type": "zeebe:taskDefinition",
1178
- "property": "type"
1179
- }
1097
+ "property": "type",
1098
+ "type": "zeebe:taskDefinition"
1099
+ },
1100
+ "type": "Hidden"
1180
1101
  },
1181
1102
  {
1182
- "id": "authenticationType",
1103
+ "id": "authentication.authType",
1183
1104
  "label": "Type",
1105
+ "optional": false,
1106
+ "value": "refresh",
1107
+ "constraints": {
1108
+ "notEmpty": true
1109
+ },
1184
1110
  "group": "authentication",
1111
+ "binding": {
1112
+ "name": "authentication.authType",
1113
+ "type": "zeebe:input"
1114
+ },
1185
1115
  "type": "Dropdown",
1186
- "value": "bearer",
1187
1116
  "choices": [
1188
1117
  {
1189
1118
  "name": "Bearer token",
@@ -1193,86 +1122,106 @@
1193
1122
  "name": "Refresh token",
1194
1123
  "value": "refresh"
1195
1124
  }
1196
- ],
1197
- "binding": {
1198
- "type": "zeebe:input",
1199
- "name": "authentication.authType",
1200
- "key": "authentication.authType"
1201
- }
1125
+ ]
1202
1126
  },
1203
1127
  {
1128
+ "id": "authentication.bearerToken",
1204
1129
  "label": "Bearer token",
1205
- "description": "Enter Google API Bearer token that is authorized to interact with desired Drive",
1206
- "group": "authentication",
1207
- "type": "String",
1208
- "binding": {
1209
- "type": "zeebe:input",
1210
- "name": "authentication.bearerToken"
1211
- },
1130
+ "description": "Enter a valid Google API Bearer token",
1131
+ "optional": false,
1212
1132
  "constraints": {
1213
1133
  "notEmpty": true
1214
1134
  },
1135
+ "feel": "optional",
1136
+ "group": "authentication",
1137
+ "binding": {
1138
+ "name": "authentication.bearerToken",
1139
+ "type": "zeebe:input"
1140
+ },
1215
1141
  "condition": {
1216
- "property": "authenticationType",
1217
- "equals": "bearer"
1218
- }
1142
+ "property": "authentication.authType",
1143
+ "equals": "bearer",
1144
+ "type": "simple"
1145
+ },
1146
+ "type": "String"
1219
1147
  },
1220
1148
  {
1149
+ "id": "authentication.oauthClientId",
1221
1150
  "label": "Client ID",
1222
1151
  "description": "Enter Google API Client ID",
1223
- "group": "authentication",
1224
- "type": "String",
1225
- "binding": {
1226
- "type": "zeebe:input",
1227
- "name": "authentication.oauthClientId"
1228
- },
1152
+ "optional": false,
1229
1153
  "constraints": {
1230
1154
  "notEmpty": true
1231
1155
  },
1156
+ "feel": "optional",
1157
+ "group": "authentication",
1158
+ "binding": {
1159
+ "name": "authentication.oauthClientId",
1160
+ "type": "zeebe:input"
1161
+ },
1232
1162
  "condition": {
1233
- "property": "authenticationType",
1234
- "equals": "refresh"
1235
- }
1163
+ "property": "authentication.authType",
1164
+ "equals": "refresh",
1165
+ "type": "simple"
1166
+ },
1167
+ "type": "String"
1236
1168
  },
1237
1169
  {
1170
+ "id": "authentication.oauthClientSecret",
1238
1171
  "label": "Client secret",
1239
1172
  "description": "Enter Google API client Secret",
1240
- "group": "authentication",
1241
- "type": "String",
1242
- "binding": {
1243
- "type": "zeebe:input",
1244
- "name": "authentication.oauthClientSecret"
1245
- },
1173
+ "optional": false,
1246
1174
  "constraints": {
1247
1175
  "notEmpty": true
1248
1176
  },
1177
+ "feel": "optional",
1178
+ "group": "authentication",
1179
+ "binding": {
1180
+ "name": "authentication.oauthClientSecret",
1181
+ "type": "zeebe:input"
1182
+ },
1249
1183
  "condition": {
1250
- "property": "authenticationType",
1251
- "equals": "refresh"
1252
- }
1184
+ "property": "authentication.authType",
1185
+ "equals": "refresh",
1186
+ "type": "simple"
1187
+ },
1188
+ "type": "String"
1253
1189
  },
1254
1190
  {
1191
+ "id": "authentication.oauthRefreshToken",
1255
1192
  "label": "Refresh token",
1256
- "description": "Enter Google API refresh token that is authorized to interact with desired Drive",
1257
- "group": "authentication",
1258
- "type": "String",
1259
- "binding": {
1260
- "type": "zeebe:input",
1261
- "name": "authentication.oauthRefreshToken"
1262
- },
1193
+ "description": "Enter a valid Google API refresh token",
1194
+ "optional": false,
1263
1195
  "constraints": {
1264
1196
  "notEmpty": true
1265
1197
  },
1198
+ "feel": "optional",
1199
+ "group": "authentication",
1200
+ "binding": {
1201
+ "name": "authentication.oauthRefreshToken",
1202
+ "type": "zeebe:input"
1203
+ },
1266
1204
  "condition": {
1267
- "property": "authenticationType",
1268
- "equals": "refresh"
1269
- }
1205
+ "property": "authentication.authType",
1206
+ "equals": "refresh",
1207
+ "type": "simple"
1208
+ },
1209
+ "type": "String"
1270
1210
  },
1271
1211
  {
1272
- "id": "resourceType",
1212
+ "id": "resource.type",
1213
+ "label": "Operation",
1214
+ "optional": false,
1215
+ "value": "folder",
1216
+ "constraints": {
1217
+ "notEmpty": true
1218
+ },
1273
1219
  "group": "operation",
1220
+ "binding": {
1221
+ "name": "resource.type",
1222
+ "type": "zeebe:input"
1223
+ },
1274
1224
  "type": "Dropdown",
1275
- "value": "folder",
1276
1225
  "choices": [
1277
1226
  {
1278
1227
  "name": "Create folder",
@@ -1282,180 +1231,170 @@
1282
1231
  "name": "Create file from template",
1283
1232
  "value": "file"
1284
1233
  }
1285
- ],
1286
- "binding": {
1287
- "type": "zeebe:input",
1288
- "name": "resource.type",
1289
- "key": "resource.type"
1290
- }
1234
+ ]
1291
1235
  },
1292
1236
  {
1293
- "label": "File name",
1294
- "description": "Enter name for your file",
1295
- "group": "operationDetails",
1296
- "type": "String",
1297
- "feel": "optional",
1298
- "binding": {
1299
- "type": "zeebe:input",
1300
- "name": "resource.name"
1301
- },
1237
+ "id": "resource.name",
1238
+ "label": "New resource name",
1239
+ "optional": false,
1302
1240
  "constraints": {
1303
- "notEmpty": true,
1304
- "maxLength": 255
1241
+ "notEmpty": true
1305
1242
  },
1306
- "condition": {
1307
- "property": "resourceType",
1308
- "equals": "file"
1309
- }
1310
- },
1311
- {
1312
- "label": "Folder name",
1313
- "description": "Enter name for your folder",
1314
- "group": "operationDetails",
1315
- "type": "String",
1316
1243
  "feel": "optional",
1244
+ "group": "operationDetails",
1317
1245
  "binding": {
1318
- "type": "zeebe:input",
1319
- "name": "resource.name"
1320
- },
1321
- "constraints": {
1322
- "notEmpty": true,
1323
- "maxLength": 255
1246
+ "name": "resource.name",
1247
+ "type": "zeebe:input"
1324
1248
  },
1325
- "condition": {
1326
- "property": "resourceType",
1327
- "equals": "folder"
1328
- }
1249
+ "type": "String"
1329
1250
  },
1330
1251
  {
1331
- "label": "Template ID",
1332
- "description": "Enter ID of the template you are creating a file from",
1333
- "group": "operationDetails",
1334
- "type": "String",
1252
+ "id": "resource.parent",
1253
+ "label": "Parent folder ID",
1254
+ "description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
1255
+ "optional": true,
1335
1256
  "feel": "optional",
1257
+ "group": "operationDetails",
1336
1258
  "binding": {
1337
- "type": "zeebe:input",
1338
- "name": "resource.template.id"
1339
- },
1340
- "constraints": {
1341
- "notEmpty": true
1259
+ "name": "resource.parent",
1260
+ "type": "zeebe:input"
1342
1261
  },
1343
- "condition": {
1344
- "property": "resourceType",
1345
- "equals": "file"
1346
- }
1262
+ "type": "String"
1347
1263
  },
1348
1264
  {
1349
- "label": "Parent folder ID",
1350
- "description": "Enter ID of the parent folder where new folder will be created",
1351
- "group": "operationDetails",
1352
- "type": "String",
1353
- "feel": "optional",
1265
+ "id": "resource.additionalGoogleDriveProperties",
1266
+ "label": "Additional properties or metadata",
1354
1267
  "optional": true,
1268
+ "feel": "required",
1269
+ "group": "operationDetails",
1355
1270
  "binding": {
1356
- "type": "zeebe:input",
1357
- "name": "resource.parent"
1271
+ "name": "resource.additionalGoogleDriveProperties",
1272
+ "type": "zeebe:input"
1358
1273
  },
1359
1274
  "condition": {
1360
- "property": "resourceType",
1361
- "equals": "folder"
1362
- }
1275
+ "property": "resource.type",
1276
+ "equals": "folder",
1277
+ "type": "simple"
1278
+ },
1279
+ "type": "String"
1363
1280
  },
1364
1281
  {
1365
- "label": "Parent folder ID",
1366
- "description": "Enter ID of the parent folder where new file will be created",
1367
- "group": "operationDetails",
1368
- "type": "String",
1282
+ "id": "resource.template.id",
1283
+ "label": "Template ID",
1284
+ "optional": false,
1285
+ "constraints": {
1286
+ "notEmpty": true
1287
+ },
1369
1288
  "feel": "optional",
1370
- "optional": true,
1289
+ "group": "operationDetails",
1371
1290
  "binding": {
1372
- "type": "zeebe:input",
1373
- "name": "resource.parent"
1291
+ "name": "resource.template.id",
1292
+ "type": "zeebe:input"
1374
1293
  },
1375
1294
  "condition": {
1376
- "property": "resourceType",
1377
- "equals": "file"
1378
- }
1295
+ "property": "resource.type",
1296
+ "equals": "file",
1297
+ "type": "simple"
1298
+ },
1299
+ "type": "String"
1379
1300
  },
1380
1301
  {
1302
+ "id": "resource.template.variables",
1381
1303
  "label": "Template variables",
1382
- "description": "Use this field to pass and update variables in your template as JSON",
1383
- "group": "operationDetails",
1384
- "type": "Text",
1304
+ "optional": false,
1385
1305
  "feel": "required",
1306
+ "group": "operationDetails",
1386
1307
  "binding": {
1387
- "type": "zeebe:input",
1388
- "name": "resource.template.variables"
1308
+ "name": "resource.template.variables",
1309
+ "type": "zeebe:input"
1389
1310
  },
1390
1311
  "condition": {
1391
- "property": "resourceType",
1392
- "equals": "file"
1393
- }
1394
- },
1395
- {
1396
- "label": "Additional properties or metadata",
1397
- "description": "Use this field to pass additional Google Drive parameters as JSON.",
1398
- "group": "operationDetails",
1399
- "type": "Text",
1400
- "optional": true,
1401
- "feel": "required",
1402
- "binding": {
1403
- "type": "zeebe:input",
1404
- "name": "resource.additionalGoogleDriveProperties",
1405
- "key": "resource.additionalGoogleDriveProperties"
1406
- }
1312
+ "property": "resource.type",
1313
+ "equals": "file",
1314
+ "type": "simple"
1315
+ },
1316
+ "type": "String"
1407
1317
  },
1408
1318
  {
1319
+ "id": "resultVariable",
1409
1320
  "label": "Result variable",
1410
- "description": "Enter name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
1321
+ "description": "Name of variable to store the response in",
1411
1322
  "group": "output",
1412
- "type": "String",
1413
1323
  "binding": {
1414
- "type": "zeebe:taskHeader",
1415
- "key": "resultVariable"
1416
- }
1324
+ "key": "resultVariable",
1325
+ "type": "zeebe:taskHeader"
1326
+ },
1327
+ "type": "String"
1417
1328
  },
1418
1329
  {
1330
+ "id": "resultExpression",
1419
1331
  "label": "Result expression",
1420
- "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
1421
- "group": "output",
1422
- "type": "Text",
1332
+ "description": "Expression to map the response into process variables",
1423
1333
  "feel": "required",
1334
+ "group": "output",
1424
1335
  "binding": {
1425
- "type": "zeebe:taskHeader",
1426
- "key": "resultExpression"
1427
- }
1336
+ "key": "resultExpression",
1337
+ "type": "zeebe:taskHeader"
1338
+ },
1339
+ "type": "Text"
1428
1340
  },
1429
1341
  {
1342
+ "id": "errorExpression",
1430
1343
  "label": "Error expression",
1431
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
1432
- "group": "errors",
1433
- "type": "Text",
1344
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1434
1345
  "feel": "required",
1346
+ "group": "error",
1435
1347
  "binding": {
1436
- "type": "zeebe:taskHeader",
1437
- "key": "errorExpression"
1438
- }
1348
+ "key": "errorExpression",
1349
+ "type": "zeebe:taskHeader"
1350
+ },
1351
+ "type": "Text"
1352
+ },
1353
+ {
1354
+ "id": "retryCount",
1355
+ "label": "Retries",
1356
+ "description": "Number of retries",
1357
+ "value": "3",
1358
+ "feel": "optional",
1359
+ "group": "retries",
1360
+ "binding": {
1361
+ "property": "retries",
1362
+ "type": "zeebe:taskDefinition"
1363
+ },
1364
+ "type": "String"
1365
+ },
1366
+ {
1367
+ "id": "retryBackoff",
1368
+ "label": "Retry backoff",
1369
+ "description": "ISO-8601 duration to wait between retries",
1370
+ "value": "PT0S",
1371
+ "feel": "optional",
1372
+ "group": "retries",
1373
+ "binding": {
1374
+ "key": "retryBackoff",
1375
+ "type": "zeebe:taskHeader"
1376
+ },
1377
+ "type": "String"
1439
1378
  }
1440
1379
  ],
1441
1380
  "icon": {
1442
- "contents": "data:image/svg+xml;utf8,%3Csvg width='18' height='18' viewBox='0 0 87.3 78' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z' fill='%230066da'/%3E%3Cpath d='m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z' fill='%2300ac47'/%3E%3Cpath d='m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z' fill='%23ea4335'/%3E%3Cpath d='m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z' fill='%2300832d'/%3E%3Cpath d='m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z' fill='%232684fc'/%3E%3Cpath d='m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z' fill='%23ffba00'/%3E%3C/svg%3E"
1381
+ "contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
1443
1382
  },
1444
1383
  "engines": {
1445
- "camunda": "^8.2"
1384
+ "camunda": "^8.5"
1446
1385
  }
1447
1386
  },
1448
1387
  {
1449
1388
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1450
- "name": "Google Drive connector",
1389
+ "name": "Google Drive Outbound Connector",
1451
1390
  "id": "io.camunda.connectors.GoogleDrive.v1",
1452
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
1453
- "description": "Create folder or a file from template",
1454
- "deprecated": {
1455
- "message": "Replace with 'Google Drive connector' template.",
1456
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1391
+ "description": "Manage Google Drive files and folders",
1392
+ "metadata": {
1393
+ "keywords": ["create file", "create file from template", "create folder"]
1457
1394
  },
1458
- "category": {
1395
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
1396
+ "version": 4,
1397
+ "category": {
1459
1398
  "id": "connectors",
1460
1399
  "name": "Connectors"
1461
1400
  },
@@ -1463,6 +1402,9 @@
1463
1402
  "elementType": {
1464
1403
  "value": "bpmn:ServiceTask"
1465
1404
  },
1405
+ "engines": {
1406
+ "camunda": "^8.3"
1407
+ },
1466
1408
  "groups": [
1467
1409
  {
1468
1410
  "id": "authentication",
@@ -1481,25 +1423,37 @@
1481
1423
  "label": "Output mapping"
1482
1424
  },
1483
1425
  {
1484
- "id": "errors",
1426
+ "id": "error",
1485
1427
  "label": "Error handling"
1428
+ },
1429
+ {
1430
+ "id": "retries",
1431
+ "label": "Retries"
1486
1432
  }
1487
1433
  ],
1488
1434
  "properties": [
1489
1435
  {
1490
- "type": "Hidden",
1491
1436
  "value": "io.camunda:google-drive:1",
1492
1437
  "binding": {
1493
- "type": "zeebe:taskDefinition",
1494
- "property": "type"
1495
- }
1438
+ "property": "type",
1439
+ "type": "zeebe:taskDefinition"
1440
+ },
1441
+ "type": "Hidden"
1496
1442
  },
1497
1443
  {
1498
- "id": "authenticationType",
1444
+ "id": "authentication.authType",
1499
1445
  "label": "Type",
1446
+ "optional": false,
1447
+ "value": "refresh",
1448
+ "constraints": {
1449
+ "notEmpty": true
1450
+ },
1500
1451
  "group": "authentication",
1452
+ "binding": {
1453
+ "name": "authentication.authType",
1454
+ "type": "zeebe:input"
1455
+ },
1501
1456
  "type": "Dropdown",
1502
- "value": "bearer",
1503
1457
  "choices": [
1504
1458
  {
1505
1459
  "name": "Bearer token",
@@ -1509,86 +1463,106 @@
1509
1463
  "name": "Refresh token",
1510
1464
  "value": "refresh"
1511
1465
  }
1512
- ],
1513
- "binding": {
1514
- "type": "zeebe:input",
1515
- "name": "authentication.authType",
1516
- "key": "authentication.authType"
1517
- }
1466
+ ]
1518
1467
  },
1519
1468
  {
1469
+ "id": "authentication.bearerToken",
1520
1470
  "label": "Bearer token",
1521
- "description": "Enter Google API Bearer token that is authorized to interact with desired Drive",
1522
- "group": "authentication",
1523
- "type": "String",
1524
- "binding": {
1525
- "type": "zeebe:input",
1526
- "name": "authentication.bearerToken"
1527
- },
1471
+ "description": "Enter a valid Google API Bearer token",
1472
+ "optional": false,
1528
1473
  "constraints": {
1529
1474
  "notEmpty": true
1530
1475
  },
1476
+ "feel": "optional",
1477
+ "group": "authentication",
1478
+ "binding": {
1479
+ "name": "authentication.bearerToken",
1480
+ "type": "zeebe:input"
1481
+ },
1531
1482
  "condition": {
1532
- "property": "authenticationType",
1533
- "equals": "bearer"
1534
- }
1483
+ "property": "authentication.authType",
1484
+ "equals": "bearer",
1485
+ "type": "simple"
1486
+ },
1487
+ "type": "String"
1535
1488
  },
1536
1489
  {
1490
+ "id": "authentication.oauthClientId",
1537
1491
  "label": "Client ID",
1538
1492
  "description": "Enter Google API Client ID",
1539
- "group": "authentication",
1540
- "type": "String",
1541
- "binding": {
1542
- "type": "zeebe:input",
1543
- "name": "authentication.oauthClientId"
1544
- },
1493
+ "optional": false,
1545
1494
  "constraints": {
1546
1495
  "notEmpty": true
1547
1496
  },
1497
+ "feel": "optional",
1498
+ "group": "authentication",
1499
+ "binding": {
1500
+ "name": "authentication.oauthClientId",
1501
+ "type": "zeebe:input"
1502
+ },
1548
1503
  "condition": {
1549
- "property": "authenticationType",
1550
- "equals": "refresh"
1551
- }
1504
+ "property": "authentication.authType",
1505
+ "equals": "refresh",
1506
+ "type": "simple"
1507
+ },
1508
+ "type": "String"
1552
1509
  },
1553
1510
  {
1511
+ "id": "authentication.oauthClientSecret",
1554
1512
  "label": "Client secret",
1555
1513
  "description": "Enter Google API client Secret",
1556
- "group": "authentication",
1557
- "type": "String",
1558
- "binding": {
1559
- "type": "zeebe:input",
1560
- "name": "authentication.oauthClientSecret"
1561
- },
1514
+ "optional": false,
1562
1515
  "constraints": {
1563
1516
  "notEmpty": true
1564
1517
  },
1518
+ "feel": "optional",
1519
+ "group": "authentication",
1520
+ "binding": {
1521
+ "name": "authentication.oauthClientSecret",
1522
+ "type": "zeebe:input"
1523
+ },
1565
1524
  "condition": {
1566
- "property": "authenticationType",
1567
- "equals": "refresh"
1568
- }
1525
+ "property": "authentication.authType",
1526
+ "equals": "refresh",
1527
+ "type": "simple"
1528
+ },
1529
+ "type": "String"
1569
1530
  },
1570
1531
  {
1532
+ "id": "authentication.oauthRefreshToken",
1571
1533
  "label": "Refresh token",
1572
- "description": "Enter Google API refresh token that is authorized to interact with desired Drive",
1573
- "group": "authentication",
1574
- "type": "String",
1575
- "binding": {
1576
- "type": "zeebe:input",
1577
- "name": "authentication.oauthRefreshToken"
1578
- },
1534
+ "description": "Enter a valid Google API refresh token",
1535
+ "optional": false,
1579
1536
  "constraints": {
1580
1537
  "notEmpty": true
1581
1538
  },
1539
+ "feel": "optional",
1540
+ "group": "authentication",
1541
+ "binding": {
1542
+ "name": "authentication.oauthRefreshToken",
1543
+ "type": "zeebe:input"
1544
+ },
1582
1545
  "condition": {
1583
- "property": "authenticationType",
1584
- "equals": "refresh"
1585
- }
1546
+ "property": "authentication.authType",
1547
+ "equals": "refresh",
1548
+ "type": "simple"
1549
+ },
1550
+ "type": "String"
1586
1551
  },
1587
1552
  {
1588
- "id": "resourceType",
1553
+ "id": "resource.type",
1554
+ "label": "Operation",
1555
+ "optional": false,
1556
+ "value": "folder",
1557
+ "constraints": {
1558
+ "notEmpty": true
1559
+ },
1589
1560
  "group": "operation",
1561
+ "binding": {
1562
+ "name": "resource.type",
1563
+ "type": "zeebe:input"
1564
+ },
1590
1565
  "type": "Dropdown",
1591
- "value": "folder",
1592
1566
  "choices": [
1593
1567
  {
1594
1568
  "name": "Create folder",
@@ -1597,174 +1571,222 @@
1597
1571
  {
1598
1572
  "name": "Create file from template",
1599
1573
  "value": "file"
1574
+ },
1575
+ {
1576
+ "name": "Upload file",
1577
+ "value": "upload"
1578
+ },
1579
+ {
1580
+ "name": "Download file",
1581
+ "value": "download"
1600
1582
  }
1601
- ],
1602
- "binding": {
1603
- "type": "zeebe:input",
1604
- "name": "resource.type",
1605
- "key": "resource.type"
1606
- }
1583
+ ]
1607
1584
  },
1608
1585
  {
1609
- "label": "File name",
1610
- "description": "Enter name for your file",
1611
- "group": "operationDetails",
1612
- "type": "String",
1586
+ "id": "resource.name",
1587
+ "label": "New resource name",
1588
+ "optional": false,
1589
+ "constraints": {
1590
+ "notEmpty": true
1591
+ },
1613
1592
  "feel": "optional",
1593
+ "group": "operationDetails",
1614
1594
  "binding": {
1615
- "type": "zeebe:input",
1616
- "name": "resource.name"
1617
- },
1618
- "constraints": {
1619
- "notEmpty": true,
1620
- "maxLength": 255
1595
+ "name": "resource.name",
1596
+ "type": "zeebe:input"
1621
1597
  },
1622
1598
  "condition": {
1623
- "property": "resourceType",
1624
- "equals": "file"
1625
- }
1599
+ "property": "resource.type",
1600
+ "oneOf": ["folder", "file"],
1601
+ "type": "simple"
1602
+ },
1603
+ "type": "String"
1626
1604
  },
1627
1605
  {
1628
- "label": "Folder name",
1629
- "description": "Enter name for your folder",
1630
- "group": "operationDetails",
1631
- "type": "String",
1606
+ "id": "resource.parent",
1607
+ "label": "Parent folder ID",
1608
+ "description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
1609
+ "optional": true,
1632
1610
  "feel": "optional",
1611
+ "group": "operationDetails",
1633
1612
  "binding": {
1634
- "type": "zeebe:input",
1635
- "name": "resource.name"
1636
- },
1637
- "constraints": {
1638
- "notEmpty": true,
1639
- "maxLength": 255
1613
+ "name": "resource.parent",
1614
+ "type": "zeebe:input"
1640
1615
  },
1641
1616
  "condition": {
1642
- "property": "resourceType",
1643
- "equals": "folder"
1644
- }
1617
+ "property": "resource.type",
1618
+ "oneOf": ["folder", "file", "upload"],
1619
+ "type": "simple"
1620
+ },
1621
+ "type": "String"
1645
1622
  },
1646
1623
  {
1647
- "label": "Template ID",
1648
- "description": "Enter ID of the template you are creating a file from",
1624
+ "id": "resource.additionalGoogleDriveProperties",
1625
+ "label": "Additional properties or metadata",
1626
+ "optional": true,
1627
+ "feel": "required",
1649
1628
  "group": "operationDetails",
1650
- "type": "String",
1651
- "feel": "optional",
1652
1629
  "binding": {
1653
- "type": "zeebe:input",
1654
- "name": "resource.template.id"
1655
- },
1656
- "constraints": {
1657
- "notEmpty": true
1630
+ "name": "resource.additionalGoogleDriveProperties",
1631
+ "type": "zeebe:input"
1658
1632
  },
1659
1633
  "condition": {
1660
- "property": "resourceType",
1661
- "equals": "file"
1662
- }
1634
+ "property": "resource.type",
1635
+ "equals": "folder",
1636
+ "type": "simple"
1637
+ },
1638
+ "type": "String"
1663
1639
  },
1664
1640
  {
1665
- "label": "Parent folder ID",
1666
- "description": "Enter ID of the parent folder where new folder will be created",
1667
- "group": "operationDetails",
1668
- "type": "String",
1641
+ "id": "resource.template.id",
1642
+ "label": "Template ID",
1643
+ "optional": false,
1644
+ "constraints": {
1645
+ "notEmpty": true
1646
+ },
1669
1647
  "feel": "optional",
1670
- "optional": true,
1648
+ "group": "operationDetails",
1671
1649
  "binding": {
1672
- "type": "zeebe:input",
1673
- "name": "resource.parent"
1650
+ "name": "resource.template.id",
1651
+ "type": "zeebe:input"
1674
1652
  },
1675
1653
  "condition": {
1676
- "property": "resourceType",
1677
- "equals": "folder"
1678
- }
1679
- },
1680
- {
1681
- "label": "Parent folder ID",
1682
- "description": "Enter ID of the parent folder where new file will be created",
1654
+ "property": "resource.type",
1655
+ "equals": "file",
1656
+ "type": "simple"
1657
+ },
1658
+ "type": "String"
1659
+ },
1660
+ {
1661
+ "id": "resource.template.variables",
1662
+ "label": "Template variables",
1663
+ "optional": false,
1664
+ "feel": "required",
1683
1665
  "group": "operationDetails",
1684
- "type": "String",
1685
- "feel": "optional",
1686
- "optional": true,
1687
1666
  "binding": {
1688
- "type": "zeebe:input",
1689
- "name": "resource.parent"
1667
+ "name": "resource.template.variables",
1668
+ "type": "zeebe:input"
1690
1669
  },
1691
1670
  "condition": {
1692
- "property": "resourceType",
1693
- "equals": "file"
1694
- }
1671
+ "property": "resource.type",
1672
+ "equals": "file",
1673
+ "type": "simple"
1674
+ },
1675
+ "type": "String"
1695
1676
  },
1696
1677
  {
1697
- "label": "Template variables",
1698
- "description": "Use this field to pass and update variables in your template as JSON",
1678
+ "id": "resource.downloadData.fileId",
1679
+ "label": "File ID",
1680
+ "optional": false,
1681
+ "constraints": {
1682
+ "notEmpty": true
1683
+ },
1684
+ "feel": "optional",
1699
1685
  "group": "operationDetails",
1700
- "type": "Text",
1701
- "feel": "required",
1702
1686
  "binding": {
1703
- "type": "zeebe:input",
1704
- "name": "resource.template.variables"
1687
+ "name": "resource.downloadData.fileId",
1688
+ "type": "zeebe:input"
1705
1689
  },
1706
1690
  "condition": {
1707
- "property": "resourceType",
1708
- "equals": "file"
1709
- }
1691
+ "property": "resource.type",
1692
+ "equals": "download",
1693
+ "type": "simple"
1694
+ },
1695
+ "type": "String"
1710
1696
  },
1711
1697
  {
1712
- "label": "Additional properties or metadata",
1713
- "description": "Use this field to pass additional Google Drive parameters as JSON.",
1714
- "group": "operationDetails",
1715
- "type": "Text",
1716
- "optional": true,
1698
+ "id": "resource.uploadData.document",
1699
+ "label": "Document",
1700
+ "description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
1701
+ "optional": false,
1702
+ "constraints": {
1703
+ "notEmpty": true
1704
+ },
1717
1705
  "feel": "required",
1706
+ "group": "operationDetails",
1718
1707
  "binding": {
1719
- "type": "zeebe:input",
1720
- "name": "resource.additionalGoogleDriveProperties",
1721
- "key": "resource.additionalGoogleDriveProperties"
1722
- }
1708
+ "name": "resource.uploadData.document",
1709
+ "type": "zeebe:input"
1710
+ },
1711
+ "condition": {
1712
+ "property": "resource.type",
1713
+ "equals": "upload",
1714
+ "type": "simple"
1715
+ },
1716
+ "type": "String"
1723
1717
  },
1724
1718
  {
1719
+ "id": "resultVariable",
1725
1720
  "label": "Result variable",
1726
- "description": "Enter name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
1721
+ "description": "Name of variable to store the response in",
1727
1722
  "group": "output",
1728
- "type": "String",
1729
1723
  "binding": {
1730
- "type": "zeebe:taskHeader",
1731
- "key": "resultVariable"
1732
- }
1724
+ "key": "resultVariable",
1725
+ "type": "zeebe:taskHeader"
1726
+ },
1727
+ "type": "String"
1733
1728
  },
1734
1729
  {
1730
+ "id": "resultExpression",
1735
1731
  "label": "Result expression",
1736
- "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
1737
- "group": "output",
1738
- "type": "Text",
1732
+ "description": "Expression to map the response into process variables",
1739
1733
  "feel": "required",
1734
+ "group": "output",
1740
1735
  "binding": {
1741
- "type": "zeebe:taskHeader",
1742
- "key": "resultExpression"
1743
- }
1736
+ "key": "resultExpression",
1737
+ "type": "zeebe:taskHeader"
1738
+ },
1739
+ "type": "Text"
1744
1740
  },
1745
1741
  {
1742
+ "id": "errorExpression",
1746
1743
  "label": "Error expression",
1747
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
1748
- "group": "errors",
1749
- "type": "Text",
1744
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1750
1745
  "feel": "required",
1746
+ "group": "error",
1751
1747
  "binding": {
1752
- "type": "zeebe:taskHeader",
1753
- "key": "errorExpression"
1754
- }
1748
+ "key": "errorExpression",
1749
+ "type": "zeebe:taskHeader"
1750
+ },
1751
+ "type": "Text"
1752
+ },
1753
+ {
1754
+ "id": "retryCount",
1755
+ "label": "Retries",
1756
+ "description": "Number of retries",
1757
+ "value": "3",
1758
+ "feel": "optional",
1759
+ "group": "retries",
1760
+ "binding": {
1761
+ "property": "retries",
1762
+ "type": "zeebe:taskDefinition"
1763
+ },
1764
+ "type": "String"
1765
+ },
1766
+ {
1767
+ "id": "retryBackoff",
1768
+ "label": "Retry backoff",
1769
+ "description": "ISO-8601 duration to wait between retries",
1770
+ "value": "PT0S",
1771
+ "group": "retries",
1772
+ "binding": {
1773
+ "key": "retryBackoff",
1774
+ "type": "zeebe:taskHeader"
1775
+ },
1776
+ "type": "String"
1755
1777
  }
1756
1778
  ],
1757
1779
  "icon": {
1758
- "contents": "data:image/svg+xml;utf8,%3Csvg width='18' height='18' viewBox='0 0 87.3 78' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z' fill='%230066da'/%3E%3Cpath d='m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z' fill='%2300ac47'/%3E%3Cpath d='m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z' fill='%23ea4335'/%3E%3Cpath d='m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z' fill='%2300832d'/%3E%3Cpath d='m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z' fill='%232684fc'/%3E%3Cpath d='m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z' fill='%23ffba00'/%3E%3C/svg%3E"
1780
+ "contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
1759
1781
  }
1760
1782
  },
1761
1783
  {
1762
1784
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1763
- "name": "Google Drive Outbound Connector",
1785
+ "name": "Google Drive connector",
1764
1786
  "id": "io.camunda.connectors.GoogleDrive.v1",
1765
- "description": "Create folder or a file from template",
1787
+ "version": 1,
1766
1788
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
1767
- "version": 3,
1789
+ "description": "Create folder or a file from template",
1768
1790
  "category": {
1769
1791
  "id": "connectors",
1770
1792
  "name": "Connectors"
@@ -1791,37 +1813,25 @@
1791
1813
  "label": "Output mapping"
1792
1814
  },
1793
1815
  {
1794
- "id": "error",
1816
+ "id": "errors",
1795
1817
  "label": "Error handling"
1796
- },
1797
- {
1798
- "id": "retries",
1799
- "label": "Retries"
1800
1818
  }
1801
1819
  ],
1802
1820
  "properties": [
1803
1821
  {
1822
+ "type": "Hidden",
1804
1823
  "value": "io.camunda:google-drive:1",
1805
1824
  "binding": {
1806
- "property": "type",
1807
- "type": "zeebe:taskDefinition"
1808
- },
1809
- "type": "Hidden"
1825
+ "type": "zeebe:taskDefinition",
1826
+ "property": "type"
1827
+ }
1810
1828
  },
1811
1829
  {
1812
- "id": "authentication.authType",
1830
+ "id": "authenticationType",
1813
1831
  "label": "Type",
1814
- "optional": false,
1815
- "value": "refresh",
1816
- "constraints": {
1817
- "notEmpty": true
1818
- },
1819
1832
  "group": "authentication",
1820
- "binding": {
1821
- "name": "authentication.authType",
1822
- "type": "zeebe:input"
1823
- },
1824
1833
  "type": "Dropdown",
1834
+ "value": "bearer",
1825
1835
  "choices": [
1826
1836
  {
1827
1837
  "name": "Bearer token",
@@ -1831,106 +1841,86 @@
1831
1841
  "name": "Refresh token",
1832
1842
  "value": "refresh"
1833
1843
  }
1834
- ]
1844
+ ],
1845
+ "binding": {
1846
+ "type": "zeebe:input",
1847
+ "name": "authentication.authType",
1848
+ "key": "authentication.authType"
1849
+ }
1835
1850
  },
1836
1851
  {
1837
- "id": "authentication.bearerToken",
1838
1852
  "label": "Bearer token",
1839
- "description": "Enter a valid Google API Bearer token",
1840
- "optional": false,
1841
- "constraints": {
1842
- "notEmpty": true
1843
- },
1844
- "feel": "optional",
1853
+ "description": "Enter Google API Bearer token that is authorized to interact with desired Drive",
1845
1854
  "group": "authentication",
1855
+ "type": "String",
1846
1856
  "binding": {
1847
- "name": "authentication.bearerToken",
1848
- "type": "zeebe:input"
1857
+ "type": "zeebe:input",
1858
+ "name": "authentication.bearerToken"
1849
1859
  },
1850
- "condition": {
1851
- "property": "authentication.authType",
1852
- "equals": "bearer",
1853
- "type": "simple"
1860
+ "constraints": {
1861
+ "notEmpty": true
1854
1862
  },
1855
- "type": "String"
1863
+ "condition": {
1864
+ "property": "authenticationType",
1865
+ "equals": "bearer"
1866
+ }
1856
1867
  },
1857
1868
  {
1858
- "id": "authentication.oauthClientId",
1859
1869
  "label": "Client ID",
1860
1870
  "description": "Enter Google API Client ID",
1861
- "optional": false,
1862
- "constraints": {
1863
- "notEmpty": true
1864
- },
1865
- "feel": "optional",
1866
1871
  "group": "authentication",
1872
+ "type": "String",
1867
1873
  "binding": {
1868
- "name": "authentication.oauthClientId",
1869
- "type": "zeebe:input"
1874
+ "type": "zeebe:input",
1875
+ "name": "authentication.oauthClientId"
1870
1876
  },
1871
- "condition": {
1872
- "property": "authentication.authType",
1873
- "equals": "refresh",
1874
- "type": "simple"
1877
+ "constraints": {
1878
+ "notEmpty": true
1875
1879
  },
1876
- "type": "String"
1880
+ "condition": {
1881
+ "property": "authenticationType",
1882
+ "equals": "refresh"
1883
+ }
1877
1884
  },
1878
1885
  {
1879
- "id": "authentication.oauthClientSecret",
1880
1886
  "label": "Client secret",
1881
1887
  "description": "Enter Google API client Secret",
1882
- "optional": false,
1883
- "constraints": {
1884
- "notEmpty": true
1885
- },
1886
- "feel": "optional",
1887
1888
  "group": "authentication",
1889
+ "type": "String",
1888
1890
  "binding": {
1889
- "name": "authentication.oauthClientSecret",
1890
- "type": "zeebe:input"
1891
+ "type": "zeebe:input",
1892
+ "name": "authentication.oauthClientSecret"
1891
1893
  },
1892
- "condition": {
1893
- "property": "authentication.authType",
1894
- "equals": "refresh",
1895
- "type": "simple"
1894
+ "constraints": {
1895
+ "notEmpty": true
1896
1896
  },
1897
- "type": "String"
1897
+ "condition": {
1898
+ "property": "authenticationType",
1899
+ "equals": "refresh"
1900
+ }
1898
1901
  },
1899
1902
  {
1900
- "id": "authentication.oauthRefreshToken",
1901
1903
  "label": "Refresh token",
1902
- "description": "Enter a valid Google API refresh token",
1903
- "optional": false,
1904
- "constraints": {
1905
- "notEmpty": true
1906
- },
1907
- "feel": "optional",
1904
+ "description": "Enter Google API refresh token that is authorized to interact with desired Drive",
1908
1905
  "group": "authentication",
1906
+ "type": "String",
1909
1907
  "binding": {
1910
- "name": "authentication.oauthRefreshToken",
1911
- "type": "zeebe:input"
1912
- },
1913
- "condition": {
1914
- "property": "authentication.authType",
1915
- "equals": "refresh",
1916
- "type": "simple"
1908
+ "type": "zeebe:input",
1909
+ "name": "authentication.oauthRefreshToken"
1917
1910
  },
1918
- "type": "String"
1919
- },
1920
- {
1921
- "id": "resource.type",
1922
- "label": "Operation",
1923
- "optional": false,
1924
- "value": "folder",
1925
1911
  "constraints": {
1926
1912
  "notEmpty": true
1927
1913
  },
1914
+ "condition": {
1915
+ "property": "authenticationType",
1916
+ "equals": "refresh"
1917
+ }
1918
+ },
1919
+ {
1920
+ "id": "resourceType",
1928
1921
  "group": "operation",
1929
- "binding": {
1930
- "name": "resource.type",
1931
- "type": "zeebe:input"
1932
- },
1933
1922
  "type": "Dropdown",
1923
+ "value": "folder",
1934
1924
  "choices": [
1935
1925
  {
1936
1926
  "name": "Create folder",
@@ -1940,157 +1930,167 @@
1940
1930
  "name": "Create file from template",
1941
1931
  "value": "file"
1942
1932
  }
1943
- ]
1933
+ ],
1934
+ "binding": {
1935
+ "type": "zeebe:input",
1936
+ "name": "resource.type",
1937
+ "key": "resource.type"
1938
+ }
1944
1939
  },
1945
1940
  {
1946
- "id": "resource.name",
1947
- "label": "New resource name",
1948
- "optional": false,
1941
+ "label": "File name",
1942
+ "description": "Enter name for your file",
1943
+ "group": "operationDetails",
1944
+ "type": "String",
1945
+ "feel": "optional",
1946
+ "binding": {
1947
+ "type": "zeebe:input",
1948
+ "name": "resource.name"
1949
+ },
1949
1950
  "constraints": {
1950
- "notEmpty": true
1951
+ "notEmpty": true,
1952
+ "maxLength": 255
1951
1953
  },
1952
- "feel": "optional",
1954
+ "condition": {
1955
+ "property": "resourceType",
1956
+ "equals": "file"
1957
+ }
1958
+ },
1959
+ {
1960
+ "label": "Folder name",
1961
+ "description": "Enter name for your folder",
1953
1962
  "group": "operationDetails",
1963
+ "type": "String",
1964
+ "feel": "optional",
1954
1965
  "binding": {
1955
- "name": "resource.name",
1956
- "type": "zeebe:input"
1966
+ "type": "zeebe:input",
1967
+ "name": "resource.name"
1957
1968
  },
1958
- "type": "String"
1969
+ "constraints": {
1970
+ "notEmpty": true,
1971
+ "maxLength": 255
1972
+ },
1973
+ "condition": {
1974
+ "property": "resourceType",
1975
+ "equals": "folder"
1976
+ }
1959
1977
  },
1960
1978
  {
1961
- "id": "resource.parent",
1962
- "label": "Parent folder ID",
1963
- "description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
1964
- "optional": true,
1965
- "feel": "optional",
1979
+ "label": "Template ID",
1980
+ "description": "Enter ID of the template you are creating a file from",
1966
1981
  "group": "operationDetails",
1982
+ "type": "String",
1983
+ "feel": "optional",
1967
1984
  "binding": {
1968
- "name": "resource.parent",
1969
- "type": "zeebe:input"
1985
+ "type": "zeebe:input",
1986
+ "name": "resource.template.id"
1970
1987
  },
1971
- "type": "String"
1988
+ "constraints": {
1989
+ "notEmpty": true
1990
+ },
1991
+ "condition": {
1992
+ "property": "resourceType",
1993
+ "equals": "file"
1994
+ }
1972
1995
  },
1973
1996
  {
1974
- "id": "resource.additionalGoogleDriveProperties",
1975
- "label": "Additional properties or metadata",
1976
- "optional": true,
1977
- "feel": "required",
1997
+ "label": "Parent folder ID",
1998
+ "description": "Enter ID of the parent folder where new folder will be created",
1978
1999
  "group": "operationDetails",
2000
+ "type": "String",
2001
+ "feel": "optional",
2002
+ "optional": true,
1979
2003
  "binding": {
1980
- "name": "resource.additionalGoogleDriveProperties",
1981
- "type": "zeebe:input"
2004
+ "type": "zeebe:input",
2005
+ "name": "resource.parent"
1982
2006
  },
1983
2007
  "condition": {
1984
- "property": "resource.type",
1985
- "equals": "folder",
1986
- "type": "simple"
1987
- },
1988
- "type": "String"
2008
+ "property": "resourceType",
2009
+ "equals": "folder"
2010
+ }
1989
2011
  },
1990
2012
  {
1991
- "id": "resource.template.id",
1992
- "label": "Template ID",
1993
- "optional": false,
1994
- "constraints": {
1995
- "notEmpty": true
1996
- },
1997
- "feel": "optional",
2013
+ "label": "Parent folder ID",
2014
+ "description": "Enter ID of the parent folder where new file will be created",
1998
2015
  "group": "operationDetails",
2016
+ "type": "String",
2017
+ "feel": "optional",
2018
+ "optional": true,
1999
2019
  "binding": {
2000
- "name": "resource.template.id",
2001
- "type": "zeebe:input"
2020
+ "type": "zeebe:input",
2021
+ "name": "resource.parent"
2002
2022
  },
2003
2023
  "condition": {
2004
- "property": "resource.type",
2005
- "equals": "file",
2006
- "type": "simple"
2007
- },
2008
- "type": "String"
2024
+ "property": "resourceType",
2025
+ "equals": "file"
2026
+ }
2009
2027
  },
2010
2028
  {
2011
- "id": "resource.template.variables",
2012
2029
  "label": "Template variables",
2013
- "optional": false,
2014
- "feel": "required",
2030
+ "description": "Use this field to pass and update variables in your template as JSON",
2015
2031
  "group": "operationDetails",
2032
+ "type": "Text",
2033
+ "feel": "required",
2016
2034
  "binding": {
2017
- "name": "resource.template.variables",
2018
- "type": "zeebe:input"
2035
+ "type": "zeebe:input",
2036
+ "name": "resource.template.variables"
2019
2037
  },
2020
2038
  "condition": {
2021
- "property": "resource.type",
2022
- "equals": "file",
2023
- "type": "simple"
2024
- },
2025
- "type": "String"
2039
+ "property": "resourceType",
2040
+ "equals": "file"
2041
+ }
2042
+ },
2043
+ {
2044
+ "label": "Additional properties or metadata",
2045
+ "description": "Use this field to pass additional Google Drive parameters as JSON.",
2046
+ "group": "operationDetails",
2047
+ "type": "Text",
2048
+ "optional": true,
2049
+ "feel": "required",
2050
+ "binding": {
2051
+ "type": "zeebe:input",
2052
+ "name": "resource.additionalGoogleDriveProperties",
2053
+ "key": "resource.additionalGoogleDriveProperties"
2054
+ }
2026
2055
  },
2027
2056
  {
2028
- "id": "resultVariable",
2029
2057
  "label": "Result variable",
2030
- "description": "Name of variable to store the response in",
2058
+ "description": "Enter name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
2031
2059
  "group": "output",
2060
+ "type": "String",
2032
2061
  "binding": {
2033
- "key": "resultVariable",
2034
- "type": "zeebe:taskHeader"
2035
- },
2036
- "type": "String"
2062
+ "type": "zeebe:taskHeader",
2063
+ "key": "resultVariable"
2064
+ }
2037
2065
  },
2038
2066
  {
2039
- "id": "resultExpression",
2040
2067
  "label": "Result expression",
2041
- "description": "Expression to map the response into process variables",
2042
- "feel": "required",
2068
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
2043
2069
  "group": "output",
2070
+ "type": "Text",
2071
+ "feel": "required",
2044
2072
  "binding": {
2045
- "key": "resultExpression",
2046
- "type": "zeebe:taskHeader"
2047
- },
2048
- "type": "Text"
2073
+ "type": "zeebe:taskHeader",
2074
+ "key": "resultExpression"
2075
+ }
2049
2076
  },
2050
2077
  {
2051
- "id": "errorExpression",
2052
2078
  "label": "Error expression",
2053
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
2079
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
2080
+ "group": "errors",
2081
+ "type": "Text",
2054
2082
  "feel": "required",
2055
- "group": "error",
2056
2083
  "binding": {
2057
- "key": "errorExpression",
2058
- "type": "zeebe:taskHeader"
2059
- },
2060
- "type": "Text"
2061
- },
2062
- {
2063
- "id": "retryCount",
2064
- "label": "Retries",
2065
- "description": "Number of retries",
2066
- "value": "3",
2067
- "feel": "optional",
2068
- "group": "retries",
2069
- "binding": {
2070
- "property": "retries",
2071
- "type": "zeebe:taskDefinition"
2072
- },
2073
- "type": "String"
2074
- },
2075
- {
2076
- "id": "retryBackoff",
2077
- "label": "Retry backoff",
2078
- "description": "ISO-8601 duration to wait between retries",
2079
- "value": "PT0S",
2080
- "feel": "optional",
2081
- "group": "retries",
2082
- "binding": {
2083
- "key": "retryBackoff",
2084
- "type": "zeebe:taskHeader"
2085
- },
2086
- "type": "String"
2084
+ "type": "zeebe:taskHeader",
2085
+ "key": "errorExpression"
2086
+ }
2087
2087
  }
2088
2088
  ],
2089
2089
  "icon": {
2090
- "contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
2090
+ "contents": "data:image/svg+xml;utf8,%3Csvg width='18' height='18' viewBox='0 0 87.3 78' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z' fill='%230066da'/%3E%3Cpath d='m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z' fill='%2300ac47'/%3E%3Cpath d='m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z' fill='%23ea4335'/%3E%3Cpath d='m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z' fill='%2300832d'/%3E%3Cpath d='m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z' fill='%232684fc'/%3E%3Cpath d='m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z' fill='%23ffba00'/%3E%3C/svg%3E"
2091
2091
  },
2092
2092
  "engines": {
2093
- "camunda": "^8.5"
2093
+ "camunda": "^8.2"
2094
2094
  }
2095
2095
  }
2096
2096
  ]