@camunda/connectors-element-templates 1.0.15 → 1.0.17
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/package.json +1 -1
- package/src/connectors.js +8 -6
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -0
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +3 -2
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +3 -2
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +3 -2
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +3 -2
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +30 -30
- package/src/element-templates/agenticai-aiagent-job-worker.json +175 -171
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +2144 -2144
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +467 -466
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +482 -481
- package/src/element-templates/automation-anywhere-outbound-connector.json +613 -613
- package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
- package/src/element-templates/aws-dynamodb-outbound-connector.json +80 -80
- package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +22 -22
- package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
- package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
- package/src/element-templates/aws-eventbridge-outbound-connector.json +188 -188
- package/src/element-templates/aws-lambda-outbound-connector.json +238 -238
- package/src/element-templates/aws-sns-inbound-boundary.json +193 -193
- package/src/element-templates/aws-sns-inbound-intermediate.json +332 -332
- package/src/element-templates/aws-sns-inbound-message-start.json +110 -110
- package/src/element-templates/aws-sns-outbound-connector.json +741 -741
- package/src/element-templates/aws-sqs-boundary-connector.json +232 -232
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +493 -493
- package/src/element-templates/aws-sqs-outbound-connector.json +753 -753
- package/src/element-templates/aws-sqs-start-event-connector.json +483 -483
- package/src/element-templates/aws-sqs-start-message.json +438 -438
- package/src/element-templates/aws-textract-outbound-connector.json +123 -123
- package/src/element-templates/azure-open-ai-connector.json +32 -32
- package/src/element-templates/blue-prism-connector.json +6 -6
- package/src/element-templates/easy-post-connector.json +114 -114
- package/src/element-templates/email-inbound-connector-boundary.json +19 -19
- package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
- package/src/element-templates/email-message-start-event-connector.json +32 -32
- package/src/element-templates/email-outbound-connector.json +233 -233
- package/src/element-templates/github-connector.json +11435 -7908
- package/src/element-templates/github-webhook-connector-boundary.json +16 -16
- package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
- package/src/element-templates/github-webhook-connector-start-event.json +64 -64
- package/src/element-templates/gitlab-connector.json +3394 -3394
- package/src/element-templates/google-drive-outbound-connector.json +420 -420
- package/src/element-templates/google-gemini-outbound-connector.json +705 -0
- package/src/element-templates/google-maps-platform-connector.json +14 -14
- package/src/element-templates/google-sheets-outbound-connector.json +1055 -1055
- package/src/element-templates/graphql-outbound-connector.json +1341 -763
- package/src/element-templates/http-connector.json.json +654 -0
- package/src/element-templates/http-json-connector.json +1491 -1472
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +801 -136
- package/src/element-templates/http-polling-connector.json +1604 -939
- package/src/element-templates/hugging-face-connector.json +215 -10
- package/src/element-templates/kafka-inbound-connector-boundary.json +483 -483
- package/src/element-templates/kafka-inbound-connector-intermediate.json +466 -466
- package/src/element-templates/kafka-inbound-connector-start-message.json +529 -529
- package/src/element-templates/kafka-outbound-connector.json +360 -360
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +687 -0
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +687 -0
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +719 -0
- package/src/element-templates/microsoft-teams-outbound-connector.json +1892 -47
- package/src/element-templates/openai-connector.json +83 -83
- package/src/element-templates/operate-connector.json +21 -21
- package/src/element-templates/power-automate-connector.json +4 -4
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +422 -422
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +338 -338
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +463 -463
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +360 -360
- package/src/element-templates/rabbitmq-outbound-connector.json +354 -354
- package/src/element-templates/salesforce-connector.json +38 -38
- package/src/element-templates/sendgrid-outbound-connector.json +354 -354
- package/src/element-templates/slack-inbound-boundary.json +253 -253
- package/src/element-templates/slack-inbound-message-start.json +321 -321
- package/src/element-templates/slack-inbound-start-event.json +327 -327
- package/src/element-templates/slack-outbound-connector.json +1484 -717
- package/src/element-templates/twilio-connector.json +65 -65
- package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
- package/src/element-templates/twilio-webhook-intermediate-connector.json +25 -25
- package/src/element-templates/uipath-connector.json +10 -10
- package/src/element-templates/webhook-connector-boundary.json +1192 -547
- package/src/element-templates/webhook-connector-intermediate.json +1258 -613
- package/src/element-templates/webhook-connector-receive.json +644 -0
- package/src/element-templates/webhook-connector-start-event.json +1690 -1136
- package/src/element-templates/webhook-connector-start-message.json +1601 -924
- package/src/element-templates/idp-classification-outbound-connector.json +0 -1141
- package/src/element-templates/idp-structured-extraction-outbound-connector.json +0 -656
- package/src/element-templates/idp-unstructured-extraction-outbound-connector.json +0 -1115
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
4
|
"name": "Google Drive connector",
|
|
5
5
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
6
|
-
"version": 1,
|
|
7
6
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
8
7
|
"description": "Create folder or a file from template",
|
|
8
|
+
"deprecated": {
|
|
9
|
+
"message": "Replace with 'Google Drive connector' template.",
|
|
10
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
11
|
+
},
|
|
9
12
|
"category": {
|
|
10
13
|
"id": "connectors",
|
|
11
14
|
"name": "Connectors"
|
|
@@ -307,9 +310,6 @@
|
|
|
307
310
|
],
|
|
308
311
|
"icon": {
|
|
309
312
|
"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"
|
|
310
|
-
},
|
|
311
|
-
"engines": {
|
|
312
|
-
"camunda": "^8.2"
|
|
313
313
|
}
|
|
314
314
|
},
|
|
315
315
|
{
|
|
@@ -627,14 +627,14 @@
|
|
|
627
627
|
},
|
|
628
628
|
{
|
|
629
629
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
630
|
-
"name": "Google Drive
|
|
630
|
+
"name": "Google Drive Outbound Connector",
|
|
631
631
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
632
|
-
"
|
|
633
|
-
"
|
|
634
|
-
|
|
635
|
-
"message": "Replace with 'Google Drive connector' template.",
|
|
636
|
-
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
632
|
+
"description": "Manage Google Drive files and folders",
|
|
633
|
+
"metadata": {
|
|
634
|
+
"keywords": ["create file", "create file from template", "create folder"]
|
|
637
635
|
},
|
|
636
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
637
|
+
"version": 4,
|
|
638
638
|
"category": {
|
|
639
639
|
"id": "connectors",
|
|
640
640
|
"name": "Connectors"
|
|
@@ -643,6 +643,9 @@
|
|
|
643
643
|
"elementType": {
|
|
644
644
|
"value": "bpmn:ServiceTask"
|
|
645
645
|
},
|
|
646
|
+
"engines": {
|
|
647
|
+
"camunda": "^8.3"
|
|
648
|
+
},
|
|
646
649
|
"groups": [
|
|
647
650
|
{
|
|
648
651
|
"id": "authentication",
|
|
@@ -661,25 +664,37 @@
|
|
|
661
664
|
"label": "Output mapping"
|
|
662
665
|
},
|
|
663
666
|
{
|
|
664
|
-
"id": "
|
|
667
|
+
"id": "error",
|
|
665
668
|
"label": "Error handling"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"id": "retries",
|
|
672
|
+
"label": "Retries"
|
|
666
673
|
}
|
|
667
674
|
],
|
|
668
675
|
"properties": [
|
|
669
676
|
{
|
|
670
|
-
"type": "Hidden",
|
|
671
677
|
"value": "io.camunda:google-drive:1",
|
|
672
678
|
"binding": {
|
|
673
|
-
"
|
|
674
|
-
"
|
|
675
|
-
}
|
|
679
|
+
"property": "type",
|
|
680
|
+
"type": "zeebe:taskDefinition"
|
|
681
|
+
},
|
|
682
|
+
"type": "Hidden"
|
|
676
683
|
},
|
|
677
684
|
{
|
|
678
|
-
"id": "
|
|
685
|
+
"id": "authentication.authType",
|
|
679
686
|
"label": "Type",
|
|
687
|
+
"optional": false,
|
|
688
|
+
"value": "refresh",
|
|
689
|
+
"constraints": {
|
|
690
|
+
"notEmpty": true
|
|
691
|
+
},
|
|
680
692
|
"group": "authentication",
|
|
693
|
+
"binding": {
|
|
694
|
+
"name": "authentication.authType",
|
|
695
|
+
"type": "zeebe:input"
|
|
696
|
+
},
|
|
681
697
|
"type": "Dropdown",
|
|
682
|
-
"value": "bearer",
|
|
683
698
|
"choices": [
|
|
684
699
|
{
|
|
685
700
|
"name": "Bearer token",
|
|
@@ -689,86 +704,106 @@
|
|
|
689
704
|
"name": "Refresh token",
|
|
690
705
|
"value": "refresh"
|
|
691
706
|
}
|
|
692
|
-
]
|
|
693
|
-
"binding": {
|
|
694
|
-
"type": "zeebe:input",
|
|
695
|
-
"name": "authentication.authType",
|
|
696
|
-
"key": "authentication.authType"
|
|
697
|
-
}
|
|
707
|
+
]
|
|
698
708
|
},
|
|
699
709
|
{
|
|
710
|
+
"id": "authentication.bearerToken",
|
|
700
711
|
"label": "Bearer token",
|
|
701
|
-
"description": "Enter Google API Bearer token
|
|
702
|
-
"
|
|
703
|
-
"type": "String",
|
|
704
|
-
"binding": {
|
|
705
|
-
"type": "zeebe:input",
|
|
706
|
-
"name": "authentication.bearerToken"
|
|
707
|
-
},
|
|
712
|
+
"description": "Enter a valid Google API Bearer token",
|
|
713
|
+
"optional": false,
|
|
708
714
|
"constraints": {
|
|
709
715
|
"notEmpty": true
|
|
710
716
|
},
|
|
717
|
+
"feel": "optional",
|
|
718
|
+
"group": "authentication",
|
|
719
|
+
"binding": {
|
|
720
|
+
"name": "authentication.bearerToken",
|
|
721
|
+
"type": "zeebe:input"
|
|
722
|
+
},
|
|
711
723
|
"condition": {
|
|
712
|
-
"property": "
|
|
713
|
-
"equals": "bearer"
|
|
714
|
-
|
|
724
|
+
"property": "authentication.authType",
|
|
725
|
+
"equals": "bearer",
|
|
726
|
+
"type": "simple"
|
|
727
|
+
},
|
|
728
|
+
"type": "String"
|
|
715
729
|
},
|
|
716
730
|
{
|
|
731
|
+
"id": "authentication.oauthClientId",
|
|
717
732
|
"label": "Client ID",
|
|
718
733
|
"description": "Enter Google API Client ID",
|
|
719
|
-
"
|
|
720
|
-
"type": "String",
|
|
721
|
-
"binding": {
|
|
722
|
-
"type": "zeebe:input",
|
|
723
|
-
"name": "authentication.oauthClientId"
|
|
724
|
-
},
|
|
734
|
+
"optional": false,
|
|
725
735
|
"constraints": {
|
|
726
736
|
"notEmpty": true
|
|
727
737
|
},
|
|
738
|
+
"feel": "optional",
|
|
739
|
+
"group": "authentication",
|
|
740
|
+
"binding": {
|
|
741
|
+
"name": "authentication.oauthClientId",
|
|
742
|
+
"type": "zeebe:input"
|
|
743
|
+
},
|
|
728
744
|
"condition": {
|
|
729
|
-
"property": "
|
|
730
|
-
"equals": "refresh"
|
|
731
|
-
|
|
745
|
+
"property": "authentication.authType",
|
|
746
|
+
"equals": "refresh",
|
|
747
|
+
"type": "simple"
|
|
748
|
+
},
|
|
749
|
+
"type": "String"
|
|
732
750
|
},
|
|
733
751
|
{
|
|
752
|
+
"id": "authentication.oauthClientSecret",
|
|
734
753
|
"label": "Client secret",
|
|
735
754
|
"description": "Enter Google API client Secret",
|
|
736
|
-
"
|
|
737
|
-
"type": "String",
|
|
738
|
-
"binding": {
|
|
739
|
-
"type": "zeebe:input",
|
|
740
|
-
"name": "authentication.oauthClientSecret"
|
|
741
|
-
},
|
|
755
|
+
"optional": false,
|
|
742
756
|
"constraints": {
|
|
743
757
|
"notEmpty": true
|
|
744
758
|
},
|
|
759
|
+
"feel": "optional",
|
|
760
|
+
"group": "authentication",
|
|
761
|
+
"binding": {
|
|
762
|
+
"name": "authentication.oauthClientSecret",
|
|
763
|
+
"type": "zeebe:input"
|
|
764
|
+
},
|
|
745
765
|
"condition": {
|
|
746
|
-
"property": "
|
|
747
|
-
"equals": "refresh"
|
|
748
|
-
|
|
766
|
+
"property": "authentication.authType",
|
|
767
|
+
"equals": "refresh",
|
|
768
|
+
"type": "simple"
|
|
769
|
+
},
|
|
770
|
+
"type": "String"
|
|
749
771
|
},
|
|
750
772
|
{
|
|
773
|
+
"id": "authentication.oauthRefreshToken",
|
|
751
774
|
"label": "Refresh token",
|
|
752
|
-
"description": "Enter Google API refresh token
|
|
753
|
-
"
|
|
754
|
-
"type": "String",
|
|
755
|
-
"binding": {
|
|
756
|
-
"type": "zeebe:input",
|
|
757
|
-
"name": "authentication.oauthRefreshToken"
|
|
758
|
-
},
|
|
775
|
+
"description": "Enter a valid Google API refresh token",
|
|
776
|
+
"optional": false,
|
|
759
777
|
"constraints": {
|
|
760
778
|
"notEmpty": true
|
|
761
779
|
},
|
|
780
|
+
"feel": "optional",
|
|
781
|
+
"group": "authentication",
|
|
782
|
+
"binding": {
|
|
783
|
+
"name": "authentication.oauthRefreshToken",
|
|
784
|
+
"type": "zeebe:input"
|
|
785
|
+
},
|
|
762
786
|
"condition": {
|
|
763
|
-
"property": "
|
|
764
|
-
"equals": "refresh"
|
|
765
|
-
|
|
787
|
+
"property": "authentication.authType",
|
|
788
|
+
"equals": "refresh",
|
|
789
|
+
"type": "simple"
|
|
790
|
+
},
|
|
791
|
+
"type": "String"
|
|
766
792
|
},
|
|
767
793
|
{
|
|
768
|
-
"id": "
|
|
794
|
+
"id": "resource.type",
|
|
795
|
+
"label": "Operation",
|
|
796
|
+
"optional": false,
|
|
797
|
+
"value": "folder",
|
|
798
|
+
"constraints": {
|
|
799
|
+
"notEmpty": true
|
|
800
|
+
},
|
|
769
801
|
"group": "operation",
|
|
802
|
+
"binding": {
|
|
803
|
+
"name": "resource.type",
|
|
804
|
+
"type": "zeebe:input"
|
|
805
|
+
},
|
|
770
806
|
"type": "Dropdown",
|
|
771
|
-
"value": "folder",
|
|
772
807
|
"choices": [
|
|
773
808
|
{
|
|
774
809
|
"name": "Create folder",
|
|
@@ -777,174 +812,222 @@
|
|
|
777
812
|
{
|
|
778
813
|
"name": "Create file from template",
|
|
779
814
|
"value": "file"
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"name": "Upload file",
|
|
818
|
+
"value": "upload"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "Download file",
|
|
822
|
+
"value": "download"
|
|
780
823
|
}
|
|
781
|
-
]
|
|
782
|
-
"binding": {
|
|
783
|
-
"type": "zeebe:input",
|
|
784
|
-
"name": "resource.type",
|
|
785
|
-
"key": "resource.type"
|
|
786
|
-
}
|
|
824
|
+
]
|
|
787
825
|
},
|
|
788
826
|
{
|
|
789
|
-
"
|
|
790
|
-
"
|
|
791
|
-
"
|
|
792
|
-
"type": "String",
|
|
793
|
-
"feel": "optional",
|
|
794
|
-
"binding": {
|
|
795
|
-
"type": "zeebe:input",
|
|
796
|
-
"name": "resource.name"
|
|
797
|
-
},
|
|
827
|
+
"id": "resource.name",
|
|
828
|
+
"label": "New resource name",
|
|
829
|
+
"optional": false,
|
|
798
830
|
"constraints": {
|
|
799
|
-
"notEmpty": true
|
|
800
|
-
"maxLength": 255
|
|
831
|
+
"notEmpty": true
|
|
801
832
|
},
|
|
802
|
-
"condition": {
|
|
803
|
-
"property": "resourceType",
|
|
804
|
-
"equals": "file"
|
|
805
|
-
}
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
"label": "Folder name",
|
|
809
|
-
"description": "Enter name for your folder",
|
|
810
|
-
"group": "operationDetails",
|
|
811
|
-
"type": "String",
|
|
812
833
|
"feel": "optional",
|
|
834
|
+
"group": "operationDetails",
|
|
813
835
|
"binding": {
|
|
814
|
-
"
|
|
815
|
-
"
|
|
816
|
-
},
|
|
817
|
-
"constraints": {
|
|
818
|
-
"notEmpty": true,
|
|
819
|
-
"maxLength": 255
|
|
836
|
+
"name": "resource.name",
|
|
837
|
+
"type": "zeebe:input"
|
|
820
838
|
},
|
|
821
839
|
"condition": {
|
|
822
|
-
"property": "
|
|
823
|
-
"
|
|
824
|
-
|
|
840
|
+
"property": "resource.type",
|
|
841
|
+
"oneOf": ["folder", "file"],
|
|
842
|
+
"type": "simple"
|
|
843
|
+
},
|
|
844
|
+
"type": "String"
|
|
825
845
|
},
|
|
826
846
|
{
|
|
827
|
-
"
|
|
828
|
-
"
|
|
829
|
-
"
|
|
830
|
-
"
|
|
847
|
+
"id": "resource.parent",
|
|
848
|
+
"label": "Parent folder ID",
|
|
849
|
+
"description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
|
|
850
|
+
"optional": true,
|
|
831
851
|
"feel": "optional",
|
|
852
|
+
"group": "operationDetails",
|
|
832
853
|
"binding": {
|
|
833
|
-
"
|
|
834
|
-
"
|
|
835
|
-
},
|
|
836
|
-
"constraints": {
|
|
837
|
-
"notEmpty": true
|
|
854
|
+
"name": "resource.parent",
|
|
855
|
+
"type": "zeebe:input"
|
|
838
856
|
},
|
|
839
857
|
"condition": {
|
|
840
|
-
"property": "
|
|
841
|
-
"
|
|
842
|
-
|
|
858
|
+
"property": "resource.type",
|
|
859
|
+
"oneOf": ["folder", "file", "upload"],
|
|
860
|
+
"type": "simple"
|
|
861
|
+
},
|
|
862
|
+
"type": "String"
|
|
843
863
|
},
|
|
844
864
|
{
|
|
845
|
-
"
|
|
846
|
-
"
|
|
847
|
-
"group": "operationDetails",
|
|
848
|
-
"type": "String",
|
|
849
|
-
"feel": "optional",
|
|
865
|
+
"id": "resource.additionalGoogleDriveProperties",
|
|
866
|
+
"label": "Additional properties or metadata",
|
|
850
867
|
"optional": true,
|
|
868
|
+
"feel": "required",
|
|
869
|
+
"group": "operationDetails",
|
|
851
870
|
"binding": {
|
|
852
|
-
"
|
|
853
|
-
"
|
|
871
|
+
"name": "resource.additionalGoogleDriveProperties",
|
|
872
|
+
"type": "zeebe:input"
|
|
854
873
|
},
|
|
855
874
|
"condition": {
|
|
856
|
-
"property": "
|
|
857
|
-
"equals": "folder"
|
|
858
|
-
|
|
875
|
+
"property": "resource.type",
|
|
876
|
+
"equals": "folder",
|
|
877
|
+
"type": "simple"
|
|
878
|
+
},
|
|
879
|
+
"type": "String"
|
|
859
880
|
},
|
|
860
881
|
{
|
|
861
|
-
"
|
|
862
|
-
"
|
|
863
|
-
"
|
|
864
|
-
"
|
|
882
|
+
"id": "resource.template.id",
|
|
883
|
+
"label": "Template ID",
|
|
884
|
+
"optional": false,
|
|
885
|
+
"constraints": {
|
|
886
|
+
"notEmpty": true
|
|
887
|
+
},
|
|
865
888
|
"feel": "optional",
|
|
866
|
-
"
|
|
889
|
+
"group": "operationDetails",
|
|
867
890
|
"binding": {
|
|
868
|
-
"
|
|
869
|
-
"
|
|
891
|
+
"name": "resource.template.id",
|
|
892
|
+
"type": "zeebe:input"
|
|
870
893
|
},
|
|
871
894
|
"condition": {
|
|
872
|
-
"property": "
|
|
873
|
-
"equals": "file"
|
|
874
|
-
|
|
895
|
+
"property": "resource.type",
|
|
896
|
+
"equals": "file",
|
|
897
|
+
"type": "simple"
|
|
898
|
+
},
|
|
899
|
+
"type": "String"
|
|
875
900
|
},
|
|
876
901
|
{
|
|
902
|
+
"id": "resource.template.variables",
|
|
877
903
|
"label": "Template variables",
|
|
878
|
-
"
|
|
879
|
-
"group": "operationDetails",
|
|
880
|
-
"type": "Text",
|
|
904
|
+
"optional": false,
|
|
881
905
|
"feel": "required",
|
|
906
|
+
"group": "operationDetails",
|
|
882
907
|
"binding": {
|
|
883
|
-
"
|
|
884
|
-
"
|
|
908
|
+
"name": "resource.template.variables",
|
|
909
|
+
"type": "zeebe:input"
|
|
885
910
|
},
|
|
886
911
|
"condition": {
|
|
887
|
-
"property": "
|
|
888
|
-
"equals": "file"
|
|
889
|
-
|
|
912
|
+
"property": "resource.type",
|
|
913
|
+
"equals": "file",
|
|
914
|
+
"type": "simple"
|
|
915
|
+
},
|
|
916
|
+
"type": "String"
|
|
890
917
|
},
|
|
891
918
|
{
|
|
892
|
-
"
|
|
893
|
-
"
|
|
919
|
+
"id": "resource.downloadData.fileId",
|
|
920
|
+
"label": "File ID",
|
|
921
|
+
"optional": false,
|
|
922
|
+
"constraints": {
|
|
923
|
+
"notEmpty": true
|
|
924
|
+
},
|
|
925
|
+
"feel": "optional",
|
|
894
926
|
"group": "operationDetails",
|
|
895
|
-
"
|
|
896
|
-
|
|
927
|
+
"binding": {
|
|
928
|
+
"name": "resource.downloadData.fileId",
|
|
929
|
+
"type": "zeebe:input"
|
|
930
|
+
},
|
|
931
|
+
"condition": {
|
|
932
|
+
"property": "resource.type",
|
|
933
|
+
"equals": "download",
|
|
934
|
+
"type": "simple"
|
|
935
|
+
},
|
|
936
|
+
"type": "String"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"id": "resource.uploadData.document",
|
|
940
|
+
"label": "Document",
|
|
941
|
+
"description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
|
|
942
|
+
"optional": false,
|
|
943
|
+
"constraints": {
|
|
944
|
+
"notEmpty": true
|
|
945
|
+
},
|
|
897
946
|
"feel": "required",
|
|
947
|
+
"group": "operationDetails",
|
|
898
948
|
"binding": {
|
|
899
|
-
"
|
|
900
|
-
"
|
|
901
|
-
|
|
902
|
-
|
|
949
|
+
"name": "resource.uploadData.document",
|
|
950
|
+
"type": "zeebe:input"
|
|
951
|
+
},
|
|
952
|
+
"condition": {
|
|
953
|
+
"property": "resource.type",
|
|
954
|
+
"equals": "upload",
|
|
955
|
+
"type": "simple"
|
|
956
|
+
},
|
|
957
|
+
"type": "String"
|
|
903
958
|
},
|
|
904
959
|
{
|
|
960
|
+
"id": "resultVariable",
|
|
905
961
|
"label": "Result variable",
|
|
906
|
-
"description": "
|
|
962
|
+
"description": "Name of variable to store the response in",
|
|
907
963
|
"group": "output",
|
|
908
|
-
"type": "String",
|
|
909
964
|
"binding": {
|
|
910
|
-
"
|
|
911
|
-
"
|
|
912
|
-
}
|
|
965
|
+
"key": "resultVariable",
|
|
966
|
+
"type": "zeebe:taskHeader"
|
|
967
|
+
},
|
|
968
|
+
"type": "String"
|
|
913
969
|
},
|
|
914
970
|
{
|
|
971
|
+
"id": "resultExpression",
|
|
915
972
|
"label": "Result expression",
|
|
916
|
-
"description": "Expression to map the response into process variables
|
|
917
|
-
"group": "output",
|
|
918
|
-
"type": "Text",
|
|
973
|
+
"description": "Expression to map the response into process variables",
|
|
919
974
|
"feel": "required",
|
|
975
|
+
"group": "output",
|
|
920
976
|
"binding": {
|
|
921
|
-
"
|
|
922
|
-
"
|
|
923
|
-
}
|
|
977
|
+
"key": "resultExpression",
|
|
978
|
+
"type": "zeebe:taskHeader"
|
|
979
|
+
},
|
|
980
|
+
"type": "Text"
|
|
924
981
|
},
|
|
925
982
|
{
|
|
983
|
+
"id": "errorExpression",
|
|
926
984
|
"label": "Error expression",
|
|
927
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
928
|
-
"group": "errors",
|
|
929
|
-
"type": "Text",
|
|
985
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
930
986
|
"feel": "required",
|
|
987
|
+
"group": "error",
|
|
931
988
|
"binding": {
|
|
932
|
-
"
|
|
933
|
-
"
|
|
934
|
-
}
|
|
989
|
+
"key": "errorExpression",
|
|
990
|
+
"type": "zeebe:taskHeader"
|
|
991
|
+
},
|
|
992
|
+
"type": "Text"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"id": "retryCount",
|
|
996
|
+
"label": "Retries",
|
|
997
|
+
"description": "Number of retries",
|
|
998
|
+
"value": "3",
|
|
999
|
+
"feel": "optional",
|
|
1000
|
+
"group": "retries",
|
|
1001
|
+
"binding": {
|
|
1002
|
+
"property": "retries",
|
|
1003
|
+
"type": "zeebe:taskDefinition"
|
|
1004
|
+
},
|
|
1005
|
+
"type": "String"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"id": "retryBackoff",
|
|
1009
|
+
"label": "Retry backoff",
|
|
1010
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
1011
|
+
"value": "PT0S",
|
|
1012
|
+
"group": "retries",
|
|
1013
|
+
"binding": {
|
|
1014
|
+
"key": "retryBackoff",
|
|
1015
|
+
"type": "zeebe:taskHeader"
|
|
1016
|
+
},
|
|
1017
|
+
"type": "String"
|
|
935
1018
|
}
|
|
936
1019
|
],
|
|
937
1020
|
"icon": {
|
|
938
|
-
"contents": "data:image/svg+xml;
|
|
1021
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
|
|
939
1022
|
}
|
|
940
1023
|
},
|
|
941
1024
|
{
|
|
942
1025
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
943
|
-
"name": "Google Drive
|
|
1026
|
+
"name": "Google Drive connector",
|
|
944
1027
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
945
|
-
"
|
|
1028
|
+
"version": 1,
|
|
946
1029
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
947
|
-
"
|
|
1030
|
+
"description": "Create folder or a file from template",
|
|
948
1031
|
"category": {
|
|
949
1032
|
"id": "connectors",
|
|
950
1033
|
"name": "Connectors"
|
|
@@ -971,37 +1054,25 @@
|
|
|
971
1054
|
"label": "Output mapping"
|
|
972
1055
|
},
|
|
973
1056
|
{
|
|
974
|
-
"id": "
|
|
1057
|
+
"id": "errors",
|
|
975
1058
|
"label": "Error handling"
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
"id": "retries",
|
|
979
|
-
"label": "Retries"
|
|
980
1059
|
}
|
|
981
1060
|
],
|
|
982
1061
|
"properties": [
|
|
983
1062
|
{
|
|
1063
|
+
"type": "Hidden",
|
|
984
1064
|
"value": "io.camunda:google-drive:1",
|
|
985
1065
|
"binding": {
|
|
986
|
-
"
|
|
987
|
-
"
|
|
988
|
-
}
|
|
989
|
-
"type": "Hidden"
|
|
1066
|
+
"type": "zeebe:taskDefinition",
|
|
1067
|
+
"property": "type"
|
|
1068
|
+
}
|
|
990
1069
|
},
|
|
991
1070
|
{
|
|
992
|
-
"id": "
|
|
1071
|
+
"id": "authenticationType",
|
|
993
1072
|
"label": "Type",
|
|
994
|
-
"optional": false,
|
|
995
|
-
"value": "refresh",
|
|
996
|
-
"constraints": {
|
|
997
|
-
"notEmpty": true
|
|
998
|
-
},
|
|
999
1073
|
"group": "authentication",
|
|
1000
|
-
"binding": {
|
|
1001
|
-
"name": "authentication.authType",
|
|
1002
|
-
"type": "zeebe:input"
|
|
1003
|
-
},
|
|
1004
1074
|
"type": "Dropdown",
|
|
1075
|
+
"value": "bearer",
|
|
1005
1076
|
"choices": [
|
|
1006
1077
|
{
|
|
1007
1078
|
"name": "Bearer token",
|
|
@@ -1011,106 +1082,86 @@
|
|
|
1011
1082
|
"name": "Refresh token",
|
|
1012
1083
|
"value": "refresh"
|
|
1013
1084
|
}
|
|
1014
|
-
]
|
|
1085
|
+
],
|
|
1086
|
+
"binding": {
|
|
1087
|
+
"type": "zeebe:input",
|
|
1088
|
+
"name": "authentication.authType",
|
|
1089
|
+
"key": "authentication.authType"
|
|
1090
|
+
}
|
|
1015
1091
|
},
|
|
1016
1092
|
{
|
|
1017
|
-
"id": "authentication.bearerToken",
|
|
1018
1093
|
"label": "Bearer token",
|
|
1019
|
-
"description": "Enter
|
|
1020
|
-
"optional": false,
|
|
1021
|
-
"constraints": {
|
|
1022
|
-
"notEmpty": true
|
|
1023
|
-
},
|
|
1024
|
-
"feel": "optional",
|
|
1094
|
+
"description": "Enter Google API Bearer token that is authorized to interact with desired Drive",
|
|
1025
1095
|
"group": "authentication",
|
|
1096
|
+
"type": "String",
|
|
1026
1097
|
"binding": {
|
|
1027
|
-
"
|
|
1028
|
-
"
|
|
1098
|
+
"type": "zeebe:input",
|
|
1099
|
+
"name": "authentication.bearerToken"
|
|
1029
1100
|
},
|
|
1030
|
-
"
|
|
1031
|
-
"
|
|
1032
|
-
"equals": "bearer",
|
|
1033
|
-
"type": "simple"
|
|
1101
|
+
"constraints": {
|
|
1102
|
+
"notEmpty": true
|
|
1034
1103
|
},
|
|
1035
|
-
"
|
|
1104
|
+
"condition": {
|
|
1105
|
+
"property": "authenticationType",
|
|
1106
|
+
"equals": "bearer"
|
|
1107
|
+
}
|
|
1036
1108
|
},
|
|
1037
1109
|
{
|
|
1038
|
-
"id": "authentication.oauthClientId",
|
|
1039
1110
|
"label": "Client ID",
|
|
1040
1111
|
"description": "Enter Google API Client ID",
|
|
1041
|
-
"optional": false,
|
|
1042
|
-
"constraints": {
|
|
1043
|
-
"notEmpty": true
|
|
1044
|
-
},
|
|
1045
|
-
"feel": "optional",
|
|
1046
1112
|
"group": "authentication",
|
|
1113
|
+
"type": "String",
|
|
1047
1114
|
"binding": {
|
|
1048
|
-
"
|
|
1049
|
-
"
|
|
1115
|
+
"type": "zeebe:input",
|
|
1116
|
+
"name": "authentication.oauthClientId"
|
|
1050
1117
|
},
|
|
1051
|
-
"
|
|
1052
|
-
"
|
|
1053
|
-
"equals": "refresh",
|
|
1054
|
-
"type": "simple"
|
|
1118
|
+
"constraints": {
|
|
1119
|
+
"notEmpty": true
|
|
1055
1120
|
},
|
|
1056
|
-
"
|
|
1121
|
+
"condition": {
|
|
1122
|
+
"property": "authenticationType",
|
|
1123
|
+
"equals": "refresh"
|
|
1124
|
+
}
|
|
1057
1125
|
},
|
|
1058
1126
|
{
|
|
1059
|
-
"id": "authentication.oauthClientSecret",
|
|
1060
1127
|
"label": "Client secret",
|
|
1061
1128
|
"description": "Enter Google API client Secret",
|
|
1062
|
-
"optional": false,
|
|
1063
|
-
"constraints": {
|
|
1064
|
-
"notEmpty": true
|
|
1065
|
-
},
|
|
1066
|
-
"feel": "optional",
|
|
1067
1129
|
"group": "authentication",
|
|
1130
|
+
"type": "String",
|
|
1068
1131
|
"binding": {
|
|
1069
|
-
"
|
|
1070
|
-
"
|
|
1132
|
+
"type": "zeebe:input",
|
|
1133
|
+
"name": "authentication.oauthClientSecret"
|
|
1071
1134
|
},
|
|
1072
|
-
"
|
|
1073
|
-
"
|
|
1074
|
-
"equals": "refresh",
|
|
1075
|
-
"type": "simple"
|
|
1135
|
+
"constraints": {
|
|
1136
|
+
"notEmpty": true
|
|
1076
1137
|
},
|
|
1077
|
-
"
|
|
1138
|
+
"condition": {
|
|
1139
|
+
"property": "authenticationType",
|
|
1140
|
+
"equals": "refresh"
|
|
1141
|
+
}
|
|
1078
1142
|
},
|
|
1079
1143
|
{
|
|
1080
|
-
"id": "authentication.oauthRefreshToken",
|
|
1081
1144
|
"label": "Refresh token",
|
|
1082
|
-
"description": "Enter
|
|
1083
|
-
"optional": false,
|
|
1084
|
-
"constraints": {
|
|
1085
|
-
"notEmpty": true
|
|
1086
|
-
},
|
|
1087
|
-
"feel": "optional",
|
|
1145
|
+
"description": "Enter Google API refresh token that is authorized to interact with desired Drive",
|
|
1088
1146
|
"group": "authentication",
|
|
1147
|
+
"type": "String",
|
|
1089
1148
|
"binding": {
|
|
1090
|
-
"
|
|
1091
|
-
"
|
|
1092
|
-
},
|
|
1093
|
-
"condition": {
|
|
1094
|
-
"property": "authentication.authType",
|
|
1095
|
-
"equals": "refresh",
|
|
1096
|
-
"type": "simple"
|
|
1149
|
+
"type": "zeebe:input",
|
|
1150
|
+
"name": "authentication.oauthRefreshToken"
|
|
1097
1151
|
},
|
|
1098
|
-
"type": "String"
|
|
1099
|
-
},
|
|
1100
|
-
{
|
|
1101
|
-
"id": "resource.type",
|
|
1102
|
-
"label": "Operation",
|
|
1103
|
-
"optional": false,
|
|
1104
|
-
"value": "folder",
|
|
1105
1152
|
"constraints": {
|
|
1106
1153
|
"notEmpty": true
|
|
1107
1154
|
},
|
|
1155
|
+
"condition": {
|
|
1156
|
+
"property": "authenticationType",
|
|
1157
|
+
"equals": "refresh"
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"id": "resourceType",
|
|
1108
1162
|
"group": "operation",
|
|
1109
|
-
"binding": {
|
|
1110
|
-
"name": "resource.type",
|
|
1111
|
-
"type": "zeebe:input"
|
|
1112
|
-
},
|
|
1113
1163
|
"type": "Dropdown",
|
|
1164
|
+
"value": "folder",
|
|
1114
1165
|
"choices": [
|
|
1115
1166
|
{
|
|
1116
1167
|
"name": "Create folder",
|
|
@@ -1120,169 +1171,176 @@
|
|
|
1120
1171
|
"name": "Create file from template",
|
|
1121
1172
|
"value": "file"
|
|
1122
1173
|
}
|
|
1123
|
-
]
|
|
1174
|
+
],
|
|
1175
|
+
"binding": {
|
|
1176
|
+
"type": "zeebe:input",
|
|
1177
|
+
"name": "resource.type",
|
|
1178
|
+
"key": "resource.type"
|
|
1179
|
+
}
|
|
1124
1180
|
},
|
|
1125
1181
|
{
|
|
1126
|
-
"
|
|
1127
|
-
"
|
|
1128
|
-
"
|
|
1182
|
+
"label": "File name",
|
|
1183
|
+
"description": "Enter name for your file",
|
|
1184
|
+
"group": "operationDetails",
|
|
1185
|
+
"type": "String",
|
|
1186
|
+
"feel": "optional",
|
|
1187
|
+
"binding": {
|
|
1188
|
+
"type": "zeebe:input",
|
|
1189
|
+
"name": "resource.name"
|
|
1190
|
+
},
|
|
1129
1191
|
"constraints": {
|
|
1130
|
-
"notEmpty": true
|
|
1192
|
+
"notEmpty": true,
|
|
1193
|
+
"maxLength": 255
|
|
1131
1194
|
},
|
|
1132
|
-
"
|
|
1195
|
+
"condition": {
|
|
1196
|
+
"property": "resourceType",
|
|
1197
|
+
"equals": "file"
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"label": "Folder name",
|
|
1202
|
+
"description": "Enter name for your folder",
|
|
1133
1203
|
"group": "operationDetails",
|
|
1204
|
+
"type": "String",
|
|
1205
|
+
"feel": "optional",
|
|
1134
1206
|
"binding": {
|
|
1135
|
-
"
|
|
1136
|
-
"
|
|
1207
|
+
"type": "zeebe:input",
|
|
1208
|
+
"name": "resource.name"
|
|
1137
1209
|
},
|
|
1138
|
-
"
|
|
1210
|
+
"constraints": {
|
|
1211
|
+
"notEmpty": true,
|
|
1212
|
+
"maxLength": 255
|
|
1213
|
+
},
|
|
1214
|
+
"condition": {
|
|
1215
|
+
"property": "resourceType",
|
|
1216
|
+
"equals": "folder"
|
|
1217
|
+
}
|
|
1139
1218
|
},
|
|
1140
1219
|
{
|
|
1141
|
-
"
|
|
1142
|
-
"
|
|
1143
|
-
"description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
|
|
1144
|
-
"optional": true,
|
|
1145
|
-
"feel": "optional",
|
|
1220
|
+
"label": "Template ID",
|
|
1221
|
+
"description": "Enter ID of the template you are creating a file from",
|
|
1146
1222
|
"group": "operationDetails",
|
|
1223
|
+
"type": "String",
|
|
1224
|
+
"feel": "optional",
|
|
1147
1225
|
"binding": {
|
|
1148
|
-
"
|
|
1149
|
-
"
|
|
1226
|
+
"type": "zeebe:input",
|
|
1227
|
+
"name": "resource.template.id"
|
|
1150
1228
|
},
|
|
1151
|
-
"
|
|
1229
|
+
"constraints": {
|
|
1230
|
+
"notEmpty": true
|
|
1231
|
+
},
|
|
1232
|
+
"condition": {
|
|
1233
|
+
"property": "resourceType",
|
|
1234
|
+
"equals": "file"
|
|
1235
|
+
}
|
|
1152
1236
|
},
|
|
1153
1237
|
{
|
|
1154
|
-
"
|
|
1155
|
-
"
|
|
1156
|
-
"optional": true,
|
|
1157
|
-
"feel": "required",
|
|
1238
|
+
"label": "Parent folder ID",
|
|
1239
|
+
"description": "Enter ID of the parent folder where new folder will be created",
|
|
1158
1240
|
"group": "operationDetails",
|
|
1241
|
+
"type": "String",
|
|
1242
|
+
"feel": "optional",
|
|
1243
|
+
"optional": true,
|
|
1159
1244
|
"binding": {
|
|
1160
|
-
"
|
|
1161
|
-
"
|
|
1245
|
+
"type": "zeebe:input",
|
|
1246
|
+
"name": "resource.parent"
|
|
1162
1247
|
},
|
|
1163
1248
|
"condition": {
|
|
1164
|
-
"property": "
|
|
1165
|
-
"equals": "folder"
|
|
1166
|
-
|
|
1167
|
-
},
|
|
1168
|
-
"type": "String"
|
|
1249
|
+
"property": "resourceType",
|
|
1250
|
+
"equals": "folder"
|
|
1251
|
+
}
|
|
1169
1252
|
},
|
|
1170
1253
|
{
|
|
1171
|
-
"
|
|
1172
|
-
"
|
|
1173
|
-
"optional": false,
|
|
1174
|
-
"constraints": {
|
|
1175
|
-
"notEmpty": true
|
|
1176
|
-
},
|
|
1177
|
-
"feel": "optional",
|
|
1254
|
+
"label": "Parent folder ID",
|
|
1255
|
+
"description": "Enter ID of the parent folder where new file will be created",
|
|
1178
1256
|
"group": "operationDetails",
|
|
1257
|
+
"type": "String",
|
|
1258
|
+
"feel": "optional",
|
|
1259
|
+
"optional": true,
|
|
1179
1260
|
"binding": {
|
|
1180
|
-
"
|
|
1181
|
-
"
|
|
1261
|
+
"type": "zeebe:input",
|
|
1262
|
+
"name": "resource.parent"
|
|
1182
1263
|
},
|
|
1183
1264
|
"condition": {
|
|
1184
|
-
"property": "
|
|
1185
|
-
"equals": "file"
|
|
1186
|
-
|
|
1187
|
-
},
|
|
1188
|
-
"type": "String"
|
|
1265
|
+
"property": "resourceType",
|
|
1266
|
+
"equals": "file"
|
|
1267
|
+
}
|
|
1189
1268
|
},
|
|
1190
1269
|
{
|
|
1191
|
-
"id": "resource.template.variables",
|
|
1192
1270
|
"label": "Template variables",
|
|
1193
|
-
"
|
|
1194
|
-
"feel": "required",
|
|
1271
|
+
"description": "Use this field to pass and update variables in your template as JSON",
|
|
1195
1272
|
"group": "operationDetails",
|
|
1273
|
+
"type": "Text",
|
|
1274
|
+
"feel": "required",
|
|
1196
1275
|
"binding": {
|
|
1197
|
-
"
|
|
1198
|
-
"
|
|
1276
|
+
"type": "zeebe:input",
|
|
1277
|
+
"name": "resource.template.variables"
|
|
1199
1278
|
},
|
|
1200
1279
|
"condition": {
|
|
1201
|
-
"property": "
|
|
1202
|
-
"equals": "file"
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1280
|
+
"property": "resourceType",
|
|
1281
|
+
"equals": "file"
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
"label": "Additional properties or metadata",
|
|
1286
|
+
"description": "Use this field to pass additional Google Drive parameters as JSON.",
|
|
1287
|
+
"group": "operationDetails",
|
|
1288
|
+
"type": "Text",
|
|
1289
|
+
"optional": true,
|
|
1290
|
+
"feel": "required",
|
|
1291
|
+
"binding": {
|
|
1292
|
+
"type": "zeebe:input",
|
|
1293
|
+
"name": "resource.additionalGoogleDriveProperties",
|
|
1294
|
+
"key": "resource.additionalGoogleDriveProperties"
|
|
1295
|
+
}
|
|
1206
1296
|
},
|
|
1207
1297
|
{
|
|
1208
|
-
"id": "resultVariable",
|
|
1209
1298
|
"label": "Result variable",
|
|
1210
|
-
"description": "
|
|
1299
|
+
"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>",
|
|
1211
1300
|
"group": "output",
|
|
1301
|
+
"type": "String",
|
|
1212
1302
|
"binding": {
|
|
1213
|
-
"
|
|
1214
|
-
"
|
|
1215
|
-
}
|
|
1216
|
-
"type": "String"
|
|
1303
|
+
"type": "zeebe:taskHeader",
|
|
1304
|
+
"key": "resultVariable"
|
|
1305
|
+
}
|
|
1217
1306
|
},
|
|
1218
1307
|
{
|
|
1219
|
-
"id": "resultExpression",
|
|
1220
1308
|
"label": "Result expression",
|
|
1221
|
-
"description": "Expression to map the response into process variables",
|
|
1222
|
-
"feel": "required",
|
|
1309
|
+
"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>",
|
|
1223
1310
|
"group": "output",
|
|
1311
|
+
"type": "Text",
|
|
1312
|
+
"feel": "required",
|
|
1224
1313
|
"binding": {
|
|
1225
|
-
"
|
|
1226
|
-
"
|
|
1227
|
-
}
|
|
1228
|
-
"type": "Text"
|
|
1314
|
+
"type": "zeebe:taskHeader",
|
|
1315
|
+
"key": "resultExpression"
|
|
1316
|
+
}
|
|
1229
1317
|
},
|
|
1230
1318
|
{
|
|
1231
|
-
"id": "errorExpression",
|
|
1232
1319
|
"label": "Error expression",
|
|
1233
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1320
|
+
"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>",
|
|
1321
|
+
"group": "errors",
|
|
1322
|
+
"type": "Text",
|
|
1234
1323
|
"feel": "required",
|
|
1235
|
-
"group": "error",
|
|
1236
|
-
"binding": {
|
|
1237
|
-
"key": "errorExpression",
|
|
1238
|
-
"type": "zeebe:taskHeader"
|
|
1239
|
-
},
|
|
1240
|
-
"type": "Text"
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
"id": "retryCount",
|
|
1244
|
-
"label": "Retries",
|
|
1245
|
-
"description": "Number of retries",
|
|
1246
|
-
"value": "3",
|
|
1247
|
-
"feel": "optional",
|
|
1248
|
-
"group": "retries",
|
|
1249
|
-
"binding": {
|
|
1250
|
-
"property": "retries",
|
|
1251
|
-
"type": "zeebe:taskDefinition"
|
|
1252
|
-
},
|
|
1253
|
-
"type": "String"
|
|
1254
|
-
},
|
|
1255
|
-
{
|
|
1256
|
-
"id": "retryBackoff",
|
|
1257
|
-
"label": "Retry backoff",
|
|
1258
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
1259
|
-
"value": "PT0S",
|
|
1260
|
-
"feel": "optional",
|
|
1261
|
-
"group": "retries",
|
|
1262
1324
|
"binding": {
|
|
1263
|
-
"
|
|
1264
|
-
"
|
|
1265
|
-
}
|
|
1266
|
-
"type": "String"
|
|
1325
|
+
"type": "zeebe:taskHeader",
|
|
1326
|
+
"key": "errorExpression"
|
|
1327
|
+
}
|
|
1267
1328
|
}
|
|
1268
1329
|
],
|
|
1269
1330
|
"icon": {
|
|
1270
|
-
"contents": "data:image/svg+xml;
|
|
1331
|
+
"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"
|
|
1271
1332
|
},
|
|
1272
1333
|
"engines": {
|
|
1273
|
-
"camunda": "^8.
|
|
1334
|
+
"camunda": "^8.2"
|
|
1274
1335
|
}
|
|
1275
1336
|
},
|
|
1276
1337
|
{
|
|
1277
1338
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1278
1339
|
"name": "Google Drive Outbound Connector",
|
|
1279
1340
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
1280
|
-
"description": "
|
|
1281
|
-
"metadata": {
|
|
1282
|
-
"keywords": ["create file", "create file from template", "create folder"]
|
|
1283
|
-
},
|
|
1341
|
+
"description": "Create folder or a file from template",
|
|
1284
1342
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
1285
|
-
"version":
|
|
1343
|
+
"version": 3,
|
|
1286
1344
|
"category": {
|
|
1287
1345
|
"id": "connectors",
|
|
1288
1346
|
"name": "Connectors"
|
|
@@ -1291,9 +1349,6 @@
|
|
|
1291
1349
|
"elementType": {
|
|
1292
1350
|
"value": "bpmn:ServiceTask"
|
|
1293
1351
|
},
|
|
1294
|
-
"engines": {
|
|
1295
|
-
"camunda": "^8.3"
|
|
1296
|
-
},
|
|
1297
1352
|
"groups": [
|
|
1298
1353
|
{
|
|
1299
1354
|
"id": "authentication",
|
|
@@ -1460,14 +1515,6 @@
|
|
|
1460
1515
|
{
|
|
1461
1516
|
"name": "Create file from template",
|
|
1462
1517
|
"value": "file"
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
"name": "Upload file",
|
|
1466
|
-
"value": "upload"
|
|
1467
|
-
},
|
|
1468
|
-
{
|
|
1469
|
-
"name": "Download file",
|
|
1470
|
-
"value": "download"
|
|
1471
1518
|
}
|
|
1472
1519
|
]
|
|
1473
1520
|
},
|
|
@@ -1484,11 +1531,6 @@
|
|
|
1484
1531
|
"name": "resource.name",
|
|
1485
1532
|
"type": "zeebe:input"
|
|
1486
1533
|
},
|
|
1487
|
-
"condition": {
|
|
1488
|
-
"property": "resource.type",
|
|
1489
|
-
"oneOf": ["folder", "file"],
|
|
1490
|
-
"type": "simple"
|
|
1491
|
-
},
|
|
1492
1534
|
"type": "String"
|
|
1493
1535
|
},
|
|
1494
1536
|
{
|
|
@@ -1502,11 +1544,6 @@
|
|
|
1502
1544
|
"name": "resource.parent",
|
|
1503
1545
|
"type": "zeebe:input"
|
|
1504
1546
|
},
|
|
1505
|
-
"condition": {
|
|
1506
|
-
"property": "resource.type",
|
|
1507
|
-
"oneOf": ["folder", "file", "upload"],
|
|
1508
|
-
"type": "simple"
|
|
1509
|
-
},
|
|
1510
1547
|
"type": "String"
|
|
1511
1548
|
},
|
|
1512
1549
|
{
|
|
@@ -1563,47 +1600,6 @@
|
|
|
1563
1600
|
},
|
|
1564
1601
|
"type": "String"
|
|
1565
1602
|
},
|
|
1566
|
-
{
|
|
1567
|
-
"id": "resource.downloadData.fileId",
|
|
1568
|
-
"label": "File ID",
|
|
1569
|
-
"optional": false,
|
|
1570
|
-
"constraints": {
|
|
1571
|
-
"notEmpty": true
|
|
1572
|
-
},
|
|
1573
|
-
"feel": "optional",
|
|
1574
|
-
"group": "operationDetails",
|
|
1575
|
-
"binding": {
|
|
1576
|
-
"name": "resource.downloadData.fileId",
|
|
1577
|
-
"type": "zeebe:input"
|
|
1578
|
-
},
|
|
1579
|
-
"condition": {
|
|
1580
|
-
"property": "resource.type",
|
|
1581
|
-
"equals": "download",
|
|
1582
|
-
"type": "simple"
|
|
1583
|
-
},
|
|
1584
|
-
"type": "String"
|
|
1585
|
-
},
|
|
1586
|
-
{
|
|
1587
|
-
"id": "resource.uploadData.document",
|
|
1588
|
-
"label": "Document",
|
|
1589
|
-
"description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
|
|
1590
|
-
"optional": false,
|
|
1591
|
-
"constraints": {
|
|
1592
|
-
"notEmpty": true
|
|
1593
|
-
},
|
|
1594
|
-
"feel": "required",
|
|
1595
|
-
"group": "operationDetails",
|
|
1596
|
-
"binding": {
|
|
1597
|
-
"name": "resource.uploadData.document",
|
|
1598
|
-
"type": "zeebe:input"
|
|
1599
|
-
},
|
|
1600
|
-
"condition": {
|
|
1601
|
-
"property": "resource.type",
|
|
1602
|
-
"equals": "upload",
|
|
1603
|
-
"type": "simple"
|
|
1604
|
-
},
|
|
1605
|
-
"type": "String"
|
|
1606
|
-
},
|
|
1607
1603
|
{
|
|
1608
1604
|
"id": "resultVariable",
|
|
1609
1605
|
"label": "Result variable",
|
|
@@ -1657,6 +1653,7 @@
|
|
|
1657
1653
|
"label": "Retry backoff",
|
|
1658
1654
|
"description": "ISO-8601 duration to wait between retries",
|
|
1659
1655
|
"value": "PT0S",
|
|
1656
|
+
"feel": "optional",
|
|
1660
1657
|
"group": "retries",
|
|
1661
1658
|
"binding": {
|
|
1662
1659
|
"key": "retryBackoff",
|
|
@@ -1667,6 +1664,9 @@
|
|
|
1667
1664
|
],
|
|
1668
1665
|
"icon": {
|
|
1669
1666
|
"contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
|
|
1667
|
+
},
|
|
1668
|
+
"engines": {
|
|
1669
|
+
"camunda": "^8.5"
|
|
1670
1670
|
}
|
|
1671
1671
|
},
|
|
1672
1672
|
{
|