@camunda/connectors-element-templates 1.0.15 → 1.0.16

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