@camunda/connectors-element-templates 1.0.13 → 1.0.15

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.
@@ -0,0 +1,1141 @@
1
+ [
2
+ {
3
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
+ "name": "IDP Classification Outbound Connector",
5
+ "id": "io.camunda.connector.IdpClassificationOutBoundTemplate.v1",
6
+ "description": "Execute IDP classification requests",
7
+ "metadata": {
8
+ "keywords": []
9
+ },
10
+ "documentationRef": "https://docs.camunda.io/docs/guides/",
11
+ "version": 2,
12
+ "category": {
13
+ "id": "connectors",
14
+ "name": "Connectors"
15
+ },
16
+ "appliesTo": ["bpmn:Task"],
17
+ "elementType": {
18
+ "value": "bpmn:ServiceTask"
19
+ },
20
+ "engines": {
21
+ "camunda": "^8.9"
22
+ },
23
+ "groups": [
24
+ {
25
+ "id": "input",
26
+ "label": "Input message data"
27
+ },
28
+ {
29
+ "id": "extractor",
30
+ "label": "Extractor selection"
31
+ },
32
+ {
33
+ "id": "ai",
34
+ "label": "Ai provider selection"
35
+ },
36
+ {
37
+ "id": "connector",
38
+ "label": "Connector"
39
+ },
40
+ {
41
+ "id": "output",
42
+ "label": "Output mapping"
43
+ },
44
+ {
45
+ "id": "error",
46
+ "label": "Error handling"
47
+ },
48
+ {
49
+ "id": "retries",
50
+ "label": "Retries"
51
+ }
52
+ ],
53
+ "properties": [
54
+ {
55
+ "value": "io.camunda:idp-classification-connector-template:1",
56
+ "binding": {
57
+ "property": "type",
58
+ "type": "zeebe:taskDefinition"
59
+ },
60
+ "type": "Hidden"
61
+ },
62
+ {
63
+ "id": "input.converseData",
64
+ "label": "AWS Bedrock Converse Parameters",
65
+ "description": "Specify the parameters for AWS Bedrock",
66
+ "optional": false,
67
+ "value": "={\n modelId: \"\",\n temperature: 0.5,\n topP: 0.9\n}",
68
+ "feel": "optional",
69
+ "group": "input",
70
+ "binding": {
71
+ "name": "input.converseData",
72
+ "type": "zeebe:input"
73
+ },
74
+ "type": "Text"
75
+ },
76
+ {
77
+ "id": "input.documentTypes",
78
+ "label": "Document types",
79
+ "description": "The possible classification types considered by the model",
80
+ "optional": false,
81
+ "value": "=[\n \"\"\n]",
82
+ "feel": "optional",
83
+ "group": "input",
84
+ "binding": {
85
+ "name": "input.documentTypes",
86
+ "type": "zeebe:input"
87
+ },
88
+ "type": "Text"
89
+ },
90
+ {
91
+ "id": "input.autoClassify",
92
+ "label": "Auto classify",
93
+ "description": "The model can classify as a type not in the list if confidence is high.",
94
+ "optional": false,
95
+ "value": "false",
96
+ "constraints": {
97
+ "notEmpty": true
98
+ },
99
+ "group": "input",
100
+ "binding": {
101
+ "name": "input.autoClassify",
102
+ "type": "zeebe:input"
103
+ },
104
+ "type": "Dropdown",
105
+ "choices": [
106
+ {
107
+ "name": "No",
108
+ "value": "false"
109
+ },
110
+ {
111
+ "name": "Yes",
112
+ "value": "true"
113
+ }
114
+ ]
115
+ },
116
+ {
117
+ "id": "input.document",
118
+ "label": "Document",
119
+ "description": "Specify the document",
120
+ "optional": false,
121
+ "value": "=document",
122
+ "constraints": {
123
+ "notEmpty": true
124
+ },
125
+ "feel": "optional",
126
+ "group": "input",
127
+ "binding": {
128
+ "name": "input.document",
129
+ "type": "zeebe:input"
130
+ },
131
+ "type": "Text"
132
+ },
133
+ {
134
+ "id": "extractor.type",
135
+ "label": "Text extraction providers",
136
+ "group": "extractor",
137
+ "binding": {
138
+ "name": "extractor.type",
139
+ "type": "zeebe:input"
140
+ },
141
+ "type": "Dropdown",
142
+ "choices": [
143
+ {
144
+ "name": "Apache PdfBox text extractor",
145
+ "value": "pdfBox"
146
+ },
147
+ {
148
+ "name": "In-model text extractor (multimodal)",
149
+ "value": "multimodal"
150
+ },
151
+ {
152
+ "name": "Azure Document Intelligence extractor",
153
+ "value": "documentIntelligence"
154
+ },
155
+ {
156
+ "name": "GCP DocumentAI extractor",
157
+ "value": "documentAi"
158
+ },
159
+ {
160
+ "name": "AWS Textract extractor",
161
+ "value": "textract"
162
+ }
163
+ ]
164
+ },
165
+ {
166
+ "id": "extractor.endpoint",
167
+ "label": "Azure Document Intelligence Endpoint",
168
+ "description": "Specify the endpoint of the Azure Document Intelligence",
169
+ "optional": false,
170
+ "constraints": {
171
+ "notEmpty": true
172
+ },
173
+ "group": "extractor",
174
+ "binding": {
175
+ "name": "extractor.endpoint",
176
+ "type": "zeebe:input"
177
+ },
178
+ "condition": {
179
+ "property": "extractor.type",
180
+ "equals": "documentIntelligence",
181
+ "type": "simple"
182
+ },
183
+ "type": "Text"
184
+ },
185
+ {
186
+ "id": "extractor.apiKey",
187
+ "label": "Azure Document Intelligence API Key",
188
+ "description": "Specify the API key of the Azure Document Intelligence",
189
+ "optional": false,
190
+ "constraints": {
191
+ "notEmpty": true
192
+ },
193
+ "group": "extractor",
194
+ "binding": {
195
+ "name": "extractor.apiKey",
196
+ "type": "zeebe:input"
197
+ },
198
+ "condition": {
199
+ "property": "extractor.type",
200
+ "equals": "documentIntelligence",
201
+ "type": "simple"
202
+ },
203
+ "type": "Text"
204
+ },
205
+ {
206
+ "id": "extractor.authType",
207
+ "label": "Type",
208
+ "optional": false,
209
+ "value": "refresh",
210
+ "constraints": {
211
+ "notEmpty": true
212
+ },
213
+ "group": "extractor",
214
+ "binding": {
215
+ "name": "extractor.authType",
216
+ "type": "zeebe:input"
217
+ },
218
+ "condition": {
219
+ "property": "extractor.type",
220
+ "equals": "documentAi",
221
+ "type": "simple"
222
+ },
223
+ "type": "Dropdown",
224
+ "choices": [
225
+ {
226
+ "name": "Bearer token",
227
+ "value": "bearer"
228
+ },
229
+ {
230
+ "name": "Refresh token",
231
+ "value": "refresh"
232
+ },
233
+ {
234
+ "name": "Service account",
235
+ "value": "service_account"
236
+ }
237
+ ]
238
+ },
239
+ {
240
+ "id": "extractor.bearerToken",
241
+ "label": "Bearer token",
242
+ "description": "Enter a valid Google API Bearer token",
243
+ "optional": false,
244
+ "constraints": {
245
+ "notEmpty": true
246
+ },
247
+ "feel": "optional",
248
+ "group": "extractor",
249
+ "binding": {
250
+ "name": "extractor.bearerToken",
251
+ "type": "zeebe:input"
252
+ },
253
+ "condition": {
254
+ "allMatch": [
255
+ {
256
+ "property": "extractor.authType",
257
+ "equals": "bearer",
258
+ "type": "simple"
259
+ },
260
+ {
261
+ "property": "extractor.type",
262
+ "equals": "documentAi",
263
+ "type": "simple"
264
+ }
265
+ ]
266
+ },
267
+ "type": "String"
268
+ },
269
+ {
270
+ "id": "extractor.oauthClientId",
271
+ "label": "Client ID",
272
+ "description": "Enter Google API Client ID",
273
+ "optional": false,
274
+ "constraints": {
275
+ "notEmpty": true
276
+ },
277
+ "feel": "optional",
278
+ "group": "extractor",
279
+ "binding": {
280
+ "name": "extractor.oauthClientId",
281
+ "type": "zeebe:input"
282
+ },
283
+ "condition": {
284
+ "allMatch": [
285
+ {
286
+ "property": "extractor.authType",
287
+ "equals": "refresh",
288
+ "type": "simple"
289
+ },
290
+ {
291
+ "property": "extractor.type",
292
+ "equals": "documentAi",
293
+ "type": "simple"
294
+ }
295
+ ]
296
+ },
297
+ "type": "String"
298
+ },
299
+ {
300
+ "id": "extractor.oauthClientSecret",
301
+ "label": "Client secret",
302
+ "description": "Enter Google API client Secret",
303
+ "optional": false,
304
+ "constraints": {
305
+ "notEmpty": true
306
+ },
307
+ "feel": "optional",
308
+ "group": "extractor",
309
+ "binding": {
310
+ "name": "extractor.oauthClientSecret",
311
+ "type": "zeebe:input"
312
+ },
313
+ "condition": {
314
+ "allMatch": [
315
+ {
316
+ "property": "extractor.authType",
317
+ "equals": "refresh",
318
+ "type": "simple"
319
+ },
320
+ {
321
+ "property": "extractor.type",
322
+ "equals": "documentAi",
323
+ "type": "simple"
324
+ }
325
+ ]
326
+ },
327
+ "type": "String"
328
+ },
329
+ {
330
+ "id": "extractor.oauthRefreshToken",
331
+ "label": "Refresh token",
332
+ "description": "Enter a valid Google API refresh token",
333
+ "optional": false,
334
+ "constraints": {
335
+ "notEmpty": true
336
+ },
337
+ "feel": "optional",
338
+ "group": "extractor",
339
+ "binding": {
340
+ "name": "extractor.oauthRefreshToken",
341
+ "type": "zeebe:input"
342
+ },
343
+ "condition": {
344
+ "allMatch": [
345
+ {
346
+ "property": "extractor.authType",
347
+ "equals": "refresh",
348
+ "type": "simple"
349
+ },
350
+ {
351
+ "property": "extractor.type",
352
+ "equals": "documentAi",
353
+ "type": "simple"
354
+ }
355
+ ]
356
+ },
357
+ "type": "String"
358
+ },
359
+ {
360
+ "id": "extractor.serviceAccountJson",
361
+ "label": "Service account json",
362
+ "description": "Enter a the contents of your service account json file",
363
+ "optional": false,
364
+ "constraints": {
365
+ "notEmpty": true
366
+ },
367
+ "feel": "optional",
368
+ "group": "extractor",
369
+ "binding": {
370
+ "name": "extractor.serviceAccountJson",
371
+ "type": "zeebe:input"
372
+ },
373
+ "condition": {
374
+ "allMatch": [
375
+ {
376
+ "property": "extractor.authType",
377
+ "equals": "service_account",
378
+ "type": "simple"
379
+ },
380
+ {
381
+ "property": "extractor.type",
382
+ "equals": "documentAi",
383
+ "type": "simple"
384
+ }
385
+ ]
386
+ },
387
+ "type": "String"
388
+ },
389
+ {
390
+ "id": "extractor.documentAiRegion",
391
+ "label": "Region",
392
+ "description": "Select the region for Document AI",
393
+ "optional": false,
394
+ "constraints": {
395
+ "notEmpty": true
396
+ },
397
+ "group": "extractor",
398
+ "binding": {
399
+ "name": "extractor.region",
400
+ "type": "zeebe:input"
401
+ },
402
+ "condition": {
403
+ "property": "extractor.type",
404
+ "equals": "documentAi",
405
+ "type": "simple"
406
+ },
407
+ "type": "Dropdown",
408
+ "choices": [
409
+ {
410
+ "name": "EU",
411
+ "value": "eu"
412
+ },
413
+ {
414
+ "name": "US",
415
+ "value": "us"
416
+ }
417
+ ]
418
+ },
419
+ {
420
+ "id": "extractor.projectId",
421
+ "label": "Project ID",
422
+ "optional": false,
423
+ "feel": "optional",
424
+ "group": "extractor",
425
+ "binding": {
426
+ "name": "extractor.projectId",
427
+ "type": "zeebe:input"
428
+ },
429
+ "condition": {
430
+ "property": "extractor.type",
431
+ "equals": "documentAi",
432
+ "type": "simple"
433
+ },
434
+ "type": "String"
435
+ },
436
+ {
437
+ "id": "extractor.processorId",
438
+ "label": "Processor ID",
439
+ "description": "The id of the processor used to parse the document",
440
+ "optional": false,
441
+ "feel": "optional",
442
+ "group": "extractor",
443
+ "binding": {
444
+ "name": "extractor.processorId",
445
+ "type": "zeebe:input"
446
+ },
447
+ "condition": {
448
+ "property": "extractor.type",
449
+ "equals": "documentAi",
450
+ "type": "simple"
451
+ },
452
+ "type": "String"
453
+ },
454
+ {
455
+ "id": "extractor.awsAuthType",
456
+ "label": "Authentication type",
457
+ "optional": false,
458
+ "value": "credentials",
459
+ "constraints": {
460
+ "notEmpty": true
461
+ },
462
+ "group": "extractor",
463
+ "binding": {
464
+ "name": "extractor.awsAuthType",
465
+ "type": "zeebe:input"
466
+ },
467
+ "condition": {
468
+ "property": "extractor.type",
469
+ "equals": "textract",
470
+ "type": "simple"
471
+ },
472
+ "type": "Dropdown",
473
+ "choices": [
474
+ {
475
+ "name": "Credentials",
476
+ "value": "credentials"
477
+ },
478
+ {
479
+ "name": "Default Credentials Chain (Hybrid/Self-Managed only)",
480
+ "value": "defaultCredentialsChain"
481
+ }
482
+ ]
483
+ },
484
+ {
485
+ "id": "extractor.accessKey",
486
+ "label": "Access key",
487
+ "description": "Provide an IAM access key tailored to a user, equipped with the necessary permissions",
488
+ "optional": false,
489
+ "constraints": {
490
+ "notEmpty": true
491
+ },
492
+ "feel": "optional",
493
+ "group": "extractor",
494
+ "binding": {
495
+ "name": "extractor.accessKey",
496
+ "type": "zeebe:input"
497
+ },
498
+ "condition": {
499
+ "allMatch": [
500
+ {
501
+ "property": "extractor.awsAuthType",
502
+ "equals": "credentials",
503
+ "type": "simple"
504
+ },
505
+ {
506
+ "property": "extractor.type",
507
+ "equals": "textract",
508
+ "type": "simple"
509
+ }
510
+ ]
511
+ },
512
+ "type": "String"
513
+ },
514
+ {
515
+ "id": "extractor.secretKey",
516
+ "label": "Secret key",
517
+ "description": "Provide a secret key of a user with permissions to invoke specified AWS Lambda function",
518
+ "optional": false,
519
+ "constraints": {
520
+ "notEmpty": true
521
+ },
522
+ "feel": "optional",
523
+ "group": "extractor",
524
+ "binding": {
525
+ "name": "extractor.secretKey",
526
+ "type": "zeebe:input"
527
+ },
528
+ "condition": {
529
+ "allMatch": [
530
+ {
531
+ "property": "extractor.awsAuthType",
532
+ "equals": "credentials",
533
+ "type": "simple"
534
+ },
535
+ {
536
+ "property": "extractor.type",
537
+ "equals": "textract",
538
+ "type": "simple"
539
+ }
540
+ ]
541
+ },
542
+ "type": "String"
543
+ },
544
+ {
545
+ "id": "extractor.region",
546
+ "label": "Region",
547
+ "description": "Specify the AWS region",
548
+ "optional": false,
549
+ "constraints": {
550
+ "notEmpty": true
551
+ },
552
+ "group": "extractor",
553
+ "binding": {
554
+ "name": "extractor.region",
555
+ "type": "zeebe:input"
556
+ },
557
+ "condition": {
558
+ "property": "extractor.type",
559
+ "equals": "textract",
560
+ "type": "simple"
561
+ },
562
+ "type": "Text"
563
+ },
564
+ {
565
+ "id": "extractor.bucketName",
566
+ "label": "AWS S3 Bucket name",
567
+ "description": "Specify the name of the AWS S3 bucket where document will be stored temporarily during Textract analysis",
568
+ "optional": false,
569
+ "value": "idp-extraction-connector",
570
+ "constraints": {
571
+ "notEmpty": true
572
+ },
573
+ "group": "extractor",
574
+ "binding": {
575
+ "name": "extractor.bucketName",
576
+ "type": "zeebe:input"
577
+ },
578
+ "condition": {
579
+ "property": "extractor.type",
580
+ "equals": "textract",
581
+ "type": "simple"
582
+ },
583
+ "type": "Text"
584
+ },
585
+ {
586
+ "id": "ai.type",
587
+ "label": "Text extraction providers",
588
+ "group": "ai",
589
+ "binding": {
590
+ "name": "ai.type",
591
+ "type": "zeebe:input"
592
+ },
593
+ "type": "Dropdown",
594
+ "choices": [
595
+ {
596
+ "name": "Azure AI Foundry",
597
+ "value": "azureAiFoundry"
598
+ },
599
+ {
600
+ "name": "AWS Bedrock AI",
601
+ "value": "bedrockAi"
602
+ },
603
+ {
604
+ "name": "OpenAi Compatible",
605
+ "value": "openAi"
606
+ },
607
+ {
608
+ "name": "GCP VertexAi",
609
+ "value": "vertexAi"
610
+ }
611
+ ]
612
+ },
613
+ {
614
+ "id": "ai.usingOpenAI",
615
+ "label": "Model type",
616
+ "description": "Specify if the Azure AI Foundry is using OpenAI",
617
+ "optional": false,
618
+ "value": "false",
619
+ "constraints": {
620
+ "notEmpty": true
621
+ },
622
+ "group": "ai",
623
+ "binding": {
624
+ "name": "ai.usingOpenAI",
625
+ "type": "zeebe:input"
626
+ },
627
+ "condition": {
628
+ "property": "ai.type",
629
+ "equals": "azureAiFoundry",
630
+ "type": "simple"
631
+ },
632
+ "type": "Dropdown",
633
+ "choices": [
634
+ {
635
+ "name": "Base Azure Foundry model",
636
+ "value": "false"
637
+ },
638
+ {
639
+ "name": "Azure OpenAI model",
640
+ "value": "true"
641
+ }
642
+ ]
643
+ },
644
+ {
645
+ "id": "ai.endpoint",
646
+ "label": "Azure AI Endpoint",
647
+ "description": "Specify the endpoint of Azure AI",
648
+ "optional": false,
649
+ "constraints": {
650
+ "notEmpty": true
651
+ },
652
+ "group": "ai",
653
+ "binding": {
654
+ "name": "ai.endpoint",
655
+ "type": "zeebe:input"
656
+ },
657
+ "condition": {
658
+ "property": "ai.type",
659
+ "equals": "azureAiFoundry",
660
+ "type": "simple"
661
+ },
662
+ "type": "Text"
663
+ },
664
+ {
665
+ "id": "ai.apiKey",
666
+ "label": "Azure AI API Key",
667
+ "description": "Specify the API key of Azure AI",
668
+ "optional": false,
669
+ "constraints": {
670
+ "notEmpty": true
671
+ },
672
+ "group": "ai",
673
+ "binding": {
674
+ "name": "ai.apiKey",
675
+ "type": "zeebe:input"
676
+ },
677
+ "condition": {
678
+ "property": "ai.type",
679
+ "equals": "azureAiFoundry",
680
+ "type": "simple"
681
+ },
682
+ "type": "Text"
683
+ },
684
+ {
685
+ "id": "ai.awsAuthType",
686
+ "label": "Authentication type",
687
+ "optional": false,
688
+ "value": "credentials",
689
+ "constraints": {
690
+ "notEmpty": true
691
+ },
692
+ "group": "ai",
693
+ "binding": {
694
+ "name": "ai.awsAuthType",
695
+ "type": "zeebe:input"
696
+ },
697
+ "condition": {
698
+ "property": "ai.type",
699
+ "equals": "bedrockAi",
700
+ "type": "simple"
701
+ },
702
+ "type": "Dropdown",
703
+ "choices": [
704
+ {
705
+ "name": "Credentials",
706
+ "value": "credentials"
707
+ },
708
+ {
709
+ "name": "Default Credentials Chain (Hybrid/Self-Managed only)",
710
+ "value": "defaultCredentialsChain"
711
+ }
712
+ ]
713
+ },
714
+ {
715
+ "id": "ai.accessKey",
716
+ "label": "Access key",
717
+ "description": "Provide an IAM access key tailored to a user, equipped with the necessary permissions",
718
+ "optional": false,
719
+ "constraints": {
720
+ "notEmpty": true
721
+ },
722
+ "feel": "optional",
723
+ "group": "ai",
724
+ "binding": {
725
+ "name": "ai.accessKey",
726
+ "type": "zeebe:input"
727
+ },
728
+ "condition": {
729
+ "allMatch": [
730
+ {
731
+ "property": "ai.awsAuthType",
732
+ "equals": "credentials",
733
+ "type": "simple"
734
+ },
735
+ {
736
+ "property": "ai.type",
737
+ "equals": "bedrockAi",
738
+ "type": "simple"
739
+ }
740
+ ]
741
+ },
742
+ "type": "String"
743
+ },
744
+ {
745
+ "id": "ai.secretKey",
746
+ "label": "Secret key",
747
+ "description": "Provide a secret key of a user with permissions to invoke specified AWS Lambda function",
748
+ "optional": false,
749
+ "constraints": {
750
+ "notEmpty": true
751
+ },
752
+ "feel": "optional",
753
+ "group": "ai",
754
+ "binding": {
755
+ "name": "ai.secretKey",
756
+ "type": "zeebe:input"
757
+ },
758
+ "condition": {
759
+ "allMatch": [
760
+ {
761
+ "property": "ai.awsAuthType",
762
+ "equals": "credentials",
763
+ "type": "simple"
764
+ },
765
+ {
766
+ "property": "ai.type",
767
+ "equals": "bedrockAi",
768
+ "type": "simple"
769
+ }
770
+ ]
771
+ },
772
+ "type": "String"
773
+ },
774
+ {
775
+ "id": "ai.region",
776
+ "label": "Region",
777
+ "description": "Specify the AWS region",
778
+ "optional": false,
779
+ "constraints": {
780
+ "notEmpty": true
781
+ },
782
+ "group": "ai",
783
+ "binding": {
784
+ "name": "ai.region",
785
+ "type": "zeebe:input"
786
+ },
787
+ "condition": {
788
+ "property": "ai.type",
789
+ "equals": "bedrockAi",
790
+ "type": "simple"
791
+ },
792
+ "type": "Text"
793
+ },
794
+ {
795
+ "id": "ai.openAiEndpoint",
796
+ "label": "OpenAI Spec Endpoint",
797
+ "description": "Specify the OpenAI compatible specification endpoint.",
798
+ "optional": false,
799
+ "constraints": {
800
+ "notEmpty": true
801
+ },
802
+ "group": "ai",
803
+ "binding": {
804
+ "name": "ai.openAiEndpoint",
805
+ "type": "zeebe:input"
806
+ },
807
+ "condition": {
808
+ "property": "ai.type",
809
+ "equals": "openAi",
810
+ "type": "simple"
811
+ },
812
+ "type": "Text"
813
+ },
814
+ {
815
+ "id": "ai.openAiHeaders",
816
+ "label": "Headers",
817
+ "description": "Map of HTTP headers to add to the request.",
818
+ "optional": false,
819
+ "constraints": {
820
+ "notEmpty": true
821
+ },
822
+ "group": "ai",
823
+ "binding": {
824
+ "name": "ai.openAiHeaders",
825
+ "type": "zeebe:input"
826
+ },
827
+ "condition": {
828
+ "property": "ai.type",
829
+ "equals": "openAi",
830
+ "type": "simple"
831
+ },
832
+ "type": "String"
833
+ },
834
+ {
835
+ "id": "ai.authType",
836
+ "label": "Type",
837
+ "optional": false,
838
+ "value": "refresh",
839
+ "constraints": {
840
+ "notEmpty": true
841
+ },
842
+ "group": "ai",
843
+ "binding": {
844
+ "name": "ai.authType",
845
+ "type": "zeebe:input"
846
+ },
847
+ "condition": {
848
+ "property": "ai.type",
849
+ "equals": "vertexAi",
850
+ "type": "simple"
851
+ },
852
+ "type": "Dropdown",
853
+ "choices": [
854
+ {
855
+ "name": "Bearer token",
856
+ "value": "bearer"
857
+ },
858
+ {
859
+ "name": "Refresh token",
860
+ "value": "refresh"
861
+ },
862
+ {
863
+ "name": "Service account",
864
+ "value": "service_account"
865
+ }
866
+ ]
867
+ },
868
+ {
869
+ "id": "ai.bearerToken",
870
+ "label": "Bearer token",
871
+ "description": "Enter a valid Google API Bearer token",
872
+ "optional": false,
873
+ "constraints": {
874
+ "notEmpty": true
875
+ },
876
+ "feel": "optional",
877
+ "group": "ai",
878
+ "binding": {
879
+ "name": "ai.bearerToken",
880
+ "type": "zeebe:input"
881
+ },
882
+ "condition": {
883
+ "allMatch": [
884
+ {
885
+ "property": "ai.authType",
886
+ "equals": "bearer",
887
+ "type": "simple"
888
+ },
889
+ {
890
+ "property": "ai.type",
891
+ "equals": "vertexAi",
892
+ "type": "simple"
893
+ }
894
+ ]
895
+ },
896
+ "type": "String"
897
+ },
898
+ {
899
+ "id": "ai.oauthClientId",
900
+ "label": "Client ID",
901
+ "description": "Enter Google API Client ID",
902
+ "optional": false,
903
+ "constraints": {
904
+ "notEmpty": true
905
+ },
906
+ "feel": "optional",
907
+ "group": "ai",
908
+ "binding": {
909
+ "name": "ai.oauthClientId",
910
+ "type": "zeebe:input"
911
+ },
912
+ "condition": {
913
+ "allMatch": [
914
+ {
915
+ "property": "ai.authType",
916
+ "equals": "refresh",
917
+ "type": "simple"
918
+ },
919
+ {
920
+ "property": "ai.type",
921
+ "equals": "vertexAi",
922
+ "type": "simple"
923
+ }
924
+ ]
925
+ },
926
+ "type": "String"
927
+ },
928
+ {
929
+ "id": "ai.oauthClientSecret",
930
+ "label": "Client secret",
931
+ "description": "Enter Google API client Secret",
932
+ "optional": false,
933
+ "constraints": {
934
+ "notEmpty": true
935
+ },
936
+ "feel": "optional",
937
+ "group": "ai",
938
+ "binding": {
939
+ "name": "ai.oauthClientSecret",
940
+ "type": "zeebe:input"
941
+ },
942
+ "condition": {
943
+ "allMatch": [
944
+ {
945
+ "property": "ai.authType",
946
+ "equals": "refresh",
947
+ "type": "simple"
948
+ },
949
+ {
950
+ "property": "ai.type",
951
+ "equals": "vertexAi",
952
+ "type": "simple"
953
+ }
954
+ ]
955
+ },
956
+ "type": "String"
957
+ },
958
+ {
959
+ "id": "ai.oauthRefreshToken",
960
+ "label": "Refresh token",
961
+ "description": "Enter a valid Google API refresh token",
962
+ "optional": false,
963
+ "constraints": {
964
+ "notEmpty": true
965
+ },
966
+ "feel": "optional",
967
+ "group": "ai",
968
+ "binding": {
969
+ "name": "ai.oauthRefreshToken",
970
+ "type": "zeebe:input"
971
+ },
972
+ "condition": {
973
+ "allMatch": [
974
+ {
975
+ "property": "ai.authType",
976
+ "equals": "refresh",
977
+ "type": "simple"
978
+ },
979
+ {
980
+ "property": "ai.type",
981
+ "equals": "vertexAi",
982
+ "type": "simple"
983
+ }
984
+ ]
985
+ },
986
+ "type": "String"
987
+ },
988
+ {
989
+ "id": "ai.serviceAccountJson",
990
+ "label": "Service account json",
991
+ "description": "Enter a the contents of your service account json file",
992
+ "optional": false,
993
+ "constraints": {
994
+ "notEmpty": true
995
+ },
996
+ "feel": "optional",
997
+ "group": "ai",
998
+ "binding": {
999
+ "name": "ai.serviceAccountJson",
1000
+ "type": "zeebe:input"
1001
+ },
1002
+ "condition": {
1003
+ "allMatch": [
1004
+ {
1005
+ "property": "ai.authType",
1006
+ "equals": "service_account",
1007
+ "type": "simple"
1008
+ },
1009
+ {
1010
+ "property": "ai.type",
1011
+ "equals": "vertexAi",
1012
+ "type": "simple"
1013
+ }
1014
+ ]
1015
+ },
1016
+ "type": "String"
1017
+ },
1018
+ {
1019
+ "id": "ai.gcpRegion",
1020
+ "label": "Region",
1021
+ "optional": false,
1022
+ "feel": "optional",
1023
+ "group": "ai",
1024
+ "binding": {
1025
+ "name": "ai.region",
1026
+ "type": "zeebe:input"
1027
+ },
1028
+ "condition": {
1029
+ "property": "ai.type",
1030
+ "equals": "vertexAi",
1031
+ "type": "simple"
1032
+ },
1033
+ "type": "String"
1034
+ },
1035
+ {
1036
+ "id": "ai.vertexProjectId",
1037
+ "label": "Project ID",
1038
+ "optional": false,
1039
+ "feel": "optional",
1040
+ "group": "ai",
1041
+ "binding": {
1042
+ "name": "ai.projectId",
1043
+ "type": "zeebe:input"
1044
+ },
1045
+ "condition": {
1046
+ "property": "ai.type",
1047
+ "equals": "vertexAi",
1048
+ "type": "simple"
1049
+ },
1050
+ "type": "String"
1051
+ },
1052
+ {
1053
+ "id": "version",
1054
+ "label": "Version",
1055
+ "description": "Version of the element template",
1056
+ "value": "2",
1057
+ "group": "connector",
1058
+ "binding": {
1059
+ "key": "elementTemplateVersion",
1060
+ "type": "zeebe:taskHeader"
1061
+ },
1062
+ "type": "Hidden"
1063
+ },
1064
+ {
1065
+ "id": "id",
1066
+ "label": "ID",
1067
+ "description": "ID of the element template",
1068
+ "value": "io.camunda.connector.IdpClassificationOutBoundTemplate.v1",
1069
+ "group": "connector",
1070
+ "binding": {
1071
+ "key": "elementTemplateId",
1072
+ "type": "zeebe:taskHeader"
1073
+ },
1074
+ "type": "Hidden"
1075
+ },
1076
+ {
1077
+ "id": "resultVariable",
1078
+ "label": "Result variable",
1079
+ "description": "Name of variable to store the response in",
1080
+ "group": "output",
1081
+ "binding": {
1082
+ "key": "resultVariable",
1083
+ "type": "zeebe:taskHeader"
1084
+ },
1085
+ "type": "String"
1086
+ },
1087
+ {
1088
+ "id": "resultExpression",
1089
+ "label": "Result expression",
1090
+ "description": "Expression to map the response into process variables",
1091
+ "feel": "required",
1092
+ "group": "output",
1093
+ "binding": {
1094
+ "key": "resultExpression",
1095
+ "type": "zeebe:taskHeader"
1096
+ },
1097
+ "type": "Text"
1098
+ },
1099
+ {
1100
+ "id": "errorExpression",
1101
+ "label": "Error expression",
1102
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1103
+ "feel": "required",
1104
+ "group": "error",
1105
+ "binding": {
1106
+ "key": "errorExpression",
1107
+ "type": "zeebe:taskHeader"
1108
+ },
1109
+ "type": "Text"
1110
+ },
1111
+ {
1112
+ "id": "retryCount",
1113
+ "label": "Retries",
1114
+ "description": "Number of retries",
1115
+ "value": "3",
1116
+ "feel": "optional",
1117
+ "group": "retries",
1118
+ "binding": {
1119
+ "property": "retries",
1120
+ "type": "zeebe:taskDefinition"
1121
+ },
1122
+ "type": "String"
1123
+ },
1124
+ {
1125
+ "id": "retryBackoff",
1126
+ "label": "Retry backoff",
1127
+ "description": "ISO-8601 duration to wait between retries",
1128
+ "value": "PT0S",
1129
+ "group": "retries",
1130
+ "binding": {
1131
+ "key": "retryBackoff",
1132
+ "type": "zeebe:taskHeader"
1133
+ },
1134
+ "type": "String"
1135
+ }
1136
+ ],
1137
+ "icon": {
1138
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIHN0eWxlPSJtaXgtYmxlbmQtbW9kZTptdWx0aXBseSI+CiAgICAgICAgPHBhdGggZD0iTTE5LjE3ODkgMEgwVjE5LjE3ODlIMTkuMTc4OVYwWiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4wMSIvPgogICAgPC9nPgogICAgPHBhdGggZD0iTTEwLjE4NzkgOC45OTAxVjUuMzk0MDdINS4zOTMxOFYxMy43ODQ4SDEzLjc4MzlWOC45OTAxSDEwLjE4NzlaTTYuNTkxODYgNi41OTI3NEg4Ljk4OTIxVjguOTkwMUg2LjU5MTg2VjYuNTkyNzRaTTguOTg5MjEgMTIuNTg2MUg2LjU5MTg2VjEwLjE4ODhIOC45ODkyMVYxMi41ODYxWk0xMi41ODUyIDEyLjU4NjFIMTAuMTg3OVYxMC4xODg4SDEyLjU4NTJWMTIuNTg2MVoiIGZpbGw9IiNGQzVEMEQiLz4KICAgIDxwYXRoIGQ9Ik0xNS41ODE5IDE2Ljc4MTVIMy41OTUxNkMzLjI3NzM3IDE2Ljc4MTEgMi45NzI2OSAxNi42NTQ3IDIuNzQ3OTcgMTYuNDNDMi41MjMyNiAxNi4yMDUzIDIuMzk2ODUgMTUuOTAwNiAyLjM5NjQ4IDE1LjU4MjhWMy41OTYwNUMyLjM5Njg1IDMuMjc4MjUgMi41MjMyNiAyLjk3MzU3IDIuNzQ3OTcgMi43NDg4NkMyLjk3MjY5IDIuNTI0MTQgMy4yNzczNyAyLjM5NzczIDMuNTk1MTYgMi4zOTczN0g5LjU4ODU1VjMuNTk2MDVIMy41OTUxNlYxNS41ODI4SDE1LjU4MTlWOS41ODk0NEgxNi43ODA2VjE1LjU4MjhDMTYuNzgwMyAxNS45MDA2IDE2LjY1MzkgMTYuMjA1MyAxNi40MjkxIDE2LjQzQzE2LjIwNDQgMTYuNjU0NyAxNS44OTk3IDE2Ljc4MTEgMTUuNTgxOSAxNi43ODE1WiIgZmlsbD0iIzE2MTYxNiIvPgogICAgPHBhdGggZD0iTTE3IDcuNUgxMlY2LjVIMTdWNy41WiIgZmlsbD0iI0ZDNUQwRCIvPgogICAgPHBhdGggZD0iTTE3IDUuNUgxMlY0LjVIMTdWNS41WiIgZmlsbD0iI0ZDNUQwRCIvPgogICAgPHBhdGggZD0iTTE3IDMuNUgxNUgxMlYyLjVIMTdWMy41WiIgZmlsbD0iI0ZDNUQwRCIvPgo8L3N2Zz4K"
1139
+ }
1140
+ }
1141
+ ]