@camunda/connectors-element-templates 1.0.14 → 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,656 +0,0 @@
1
- [
2
- {
3
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "IDP Structured Extraction Outbound Connector",
5
- "id": "io.camunda.connector.IdpStructuredExtractionOutBoundTemplate.v1",
6
- "description": "Execute IDP Structured 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": "connector",
34
- "label": "Connector"
35
- },
36
- {
37
- "id": "output",
38
- "label": "Output mapping"
39
- },
40
- {
41
- "id": "error",
42
- "label": "Error handling"
43
- },
44
- {
45
- "id": "retries",
46
- "label": "Retries"
47
- }
48
- ],
49
- "properties": [
50
- {
51
- "value": "io.camunda:idp-structured-connector-template:1",
52
- "binding": {
53
- "property": "type",
54
- "type": "zeebe:taskDefinition"
55
- },
56
- "type": "Hidden"
57
- },
58
- {
59
- "id": "input.includedFields",
60
- "label": "Included Fields",
61
- "description": "List of fields that should be returned from the extraction",
62
- "optional": false,
63
- "value": "=[\n \n]",
64
- "feel": "optional",
65
- "group": "input",
66
- "binding": {
67
- "name": "input.includedFields",
68
- "type": "zeebe:input"
69
- },
70
- "type": "String"
71
- },
72
- {
73
- "id": "input.renameMappings",
74
- "label": "Rename mappings",
75
- "description": "List of keys that should be renamed and not be given the default name",
76
- "optional": false,
77
- "value": "={\n \n}",
78
- "feel": "optional",
79
- "group": "input",
80
- "binding": {
81
- "name": "input.renameMappings",
82
- "type": "zeebe:input"
83
- },
84
- "type": "String"
85
- },
86
- {
87
- "id": "input.delimiter",
88
- "label": "delimiter",
89
- "description": "The delimiter used for the variable name of the extracted field",
90
- "optional": false,
91
- "group": "input",
92
- "binding": {
93
- "name": "input.delimiter",
94
- "type": "zeebe:input"
95
- },
96
- "type": "String"
97
- },
98
- {
99
- "id": "input.document",
100
- "label": "Document",
101
- "description": "Specify the document",
102
- "optional": false,
103
- "value": "=document",
104
- "constraints": {
105
- "notEmpty": true
106
- },
107
- "feel": "optional",
108
- "group": "input",
109
- "binding": {
110
- "name": "input.document",
111
- "type": "zeebe:input"
112
- },
113
- "type": "Text"
114
- },
115
- {
116
- "id": "extractor.type",
117
- "label": "Text extraction providers",
118
- "group": "extractor",
119
- "binding": {
120
- "name": "extractor.type",
121
- "type": "zeebe:input"
122
- },
123
- "type": "Dropdown",
124
- "choices": [
125
- {
126
- "name": "Apache PdfBox text extractor",
127
- "value": "pdfBox"
128
- },
129
- {
130
- "name": "In-model text extractor (multimodal)",
131
- "value": "multimodal"
132
- },
133
- {
134
- "name": "Azure Document Intelligence extractor",
135
- "value": "documentIntelligence"
136
- },
137
- {
138
- "name": "GCP DocumentAI extractor",
139
- "value": "documentAi"
140
- },
141
- {
142
- "name": "AWS Textract extractor",
143
- "value": "textract"
144
- }
145
- ]
146
- },
147
- {
148
- "id": "extractor.endpoint",
149
- "label": "Azure Document Intelligence Endpoint",
150
- "description": "Specify the endpoint of the Azure Document Intelligence",
151
- "optional": false,
152
- "constraints": {
153
- "notEmpty": true
154
- },
155
- "group": "extractor",
156
- "binding": {
157
- "name": "extractor.endpoint",
158
- "type": "zeebe:input"
159
- },
160
- "condition": {
161
- "property": "extractor.type",
162
- "equals": "documentIntelligence",
163
- "type": "simple"
164
- },
165
- "type": "Text"
166
- },
167
- {
168
- "id": "extractor.apiKey",
169
- "label": "Azure Document Intelligence API Key",
170
- "description": "Specify the API key of the Azure Document Intelligence",
171
- "optional": false,
172
- "constraints": {
173
- "notEmpty": true
174
- },
175
- "group": "extractor",
176
- "binding": {
177
- "name": "extractor.apiKey",
178
- "type": "zeebe:input"
179
- },
180
- "condition": {
181
- "property": "extractor.type",
182
- "equals": "documentIntelligence",
183
- "type": "simple"
184
- },
185
- "type": "Text"
186
- },
187
- {
188
- "id": "extractor.authType",
189
- "label": "Type",
190
- "optional": false,
191
- "value": "refresh",
192
- "constraints": {
193
- "notEmpty": true
194
- },
195
- "group": "extractor",
196
- "binding": {
197
- "name": "extractor.authType",
198
- "type": "zeebe:input"
199
- },
200
- "condition": {
201
- "property": "extractor.type",
202
- "equals": "documentAi",
203
- "type": "simple"
204
- },
205
- "type": "Dropdown",
206
- "choices": [
207
- {
208
- "name": "Bearer token",
209
- "value": "bearer"
210
- },
211
- {
212
- "name": "Refresh token",
213
- "value": "refresh"
214
- },
215
- {
216
- "name": "Service account",
217
- "value": "service_account"
218
- }
219
- ]
220
- },
221
- {
222
- "id": "extractor.bearerToken",
223
- "label": "Bearer token",
224
- "description": "Enter a valid Google API Bearer token",
225
- "optional": false,
226
- "constraints": {
227
- "notEmpty": true
228
- },
229
- "feel": "optional",
230
- "group": "extractor",
231
- "binding": {
232
- "name": "extractor.bearerToken",
233
- "type": "zeebe:input"
234
- },
235
- "condition": {
236
- "allMatch": [
237
- {
238
- "property": "extractor.authType",
239
- "equals": "bearer",
240
- "type": "simple"
241
- },
242
- {
243
- "property": "extractor.type",
244
- "equals": "documentAi",
245
- "type": "simple"
246
- }
247
- ]
248
- },
249
- "type": "String"
250
- },
251
- {
252
- "id": "extractor.oauthClientId",
253
- "label": "Client ID",
254
- "description": "Enter Google API Client ID",
255
- "optional": false,
256
- "constraints": {
257
- "notEmpty": true
258
- },
259
- "feel": "optional",
260
- "group": "extractor",
261
- "binding": {
262
- "name": "extractor.oauthClientId",
263
- "type": "zeebe:input"
264
- },
265
- "condition": {
266
- "allMatch": [
267
- {
268
- "property": "extractor.authType",
269
- "equals": "refresh",
270
- "type": "simple"
271
- },
272
- {
273
- "property": "extractor.type",
274
- "equals": "documentAi",
275
- "type": "simple"
276
- }
277
- ]
278
- },
279
- "type": "String"
280
- },
281
- {
282
- "id": "extractor.oauthClientSecret",
283
- "label": "Client secret",
284
- "description": "Enter Google API client Secret",
285
- "optional": false,
286
- "constraints": {
287
- "notEmpty": true
288
- },
289
- "feel": "optional",
290
- "group": "extractor",
291
- "binding": {
292
- "name": "extractor.oauthClientSecret",
293
- "type": "zeebe:input"
294
- },
295
- "condition": {
296
- "allMatch": [
297
- {
298
- "property": "extractor.authType",
299
- "equals": "refresh",
300
- "type": "simple"
301
- },
302
- {
303
- "property": "extractor.type",
304
- "equals": "documentAi",
305
- "type": "simple"
306
- }
307
- ]
308
- },
309
- "type": "String"
310
- },
311
- {
312
- "id": "extractor.oauthRefreshToken",
313
- "label": "Refresh token",
314
- "description": "Enter a valid Google API refresh token",
315
- "optional": false,
316
- "constraints": {
317
- "notEmpty": true
318
- },
319
- "feel": "optional",
320
- "group": "extractor",
321
- "binding": {
322
- "name": "extractor.oauthRefreshToken",
323
- "type": "zeebe:input"
324
- },
325
- "condition": {
326
- "allMatch": [
327
- {
328
- "property": "extractor.authType",
329
- "equals": "refresh",
330
- "type": "simple"
331
- },
332
- {
333
- "property": "extractor.type",
334
- "equals": "documentAi",
335
- "type": "simple"
336
- }
337
- ]
338
- },
339
- "type": "String"
340
- },
341
- {
342
- "id": "extractor.serviceAccountJson",
343
- "label": "Service account json",
344
- "description": "Enter a the contents of your service account json file",
345
- "optional": false,
346
- "constraints": {
347
- "notEmpty": true
348
- },
349
- "feel": "optional",
350
- "group": "extractor",
351
- "binding": {
352
- "name": "extractor.serviceAccountJson",
353
- "type": "zeebe:input"
354
- },
355
- "condition": {
356
- "allMatch": [
357
- {
358
- "property": "extractor.authType",
359
- "equals": "service_account",
360
- "type": "simple"
361
- },
362
- {
363
- "property": "extractor.type",
364
- "equals": "documentAi",
365
- "type": "simple"
366
- }
367
- ]
368
- },
369
- "type": "String"
370
- },
371
- {
372
- "id": "extractor.documentAiRegion",
373
- "label": "Region",
374
- "description": "Select the region for Document AI",
375
- "optional": false,
376
- "constraints": {
377
- "notEmpty": true
378
- },
379
- "group": "extractor",
380
- "binding": {
381
- "name": "extractor.region",
382
- "type": "zeebe:input"
383
- },
384
- "condition": {
385
- "property": "extractor.type",
386
- "equals": "documentAi",
387
- "type": "simple"
388
- },
389
- "type": "Dropdown",
390
- "choices": [
391
- {
392
- "name": "EU",
393
- "value": "eu"
394
- },
395
- {
396
- "name": "US",
397
- "value": "us"
398
- }
399
- ]
400
- },
401
- {
402
- "id": "extractor.projectId",
403
- "label": "Project ID",
404
- "optional": false,
405
- "feel": "optional",
406
- "group": "extractor",
407
- "binding": {
408
- "name": "extractor.projectId",
409
- "type": "zeebe:input"
410
- },
411
- "condition": {
412
- "property": "extractor.type",
413
- "equals": "documentAi",
414
- "type": "simple"
415
- },
416
- "type": "String"
417
- },
418
- {
419
- "id": "extractor.processorId",
420
- "label": "Processor ID",
421
- "description": "The id of the processor used to parse the document",
422
- "optional": false,
423
- "feel": "optional",
424
- "group": "extractor",
425
- "binding": {
426
- "name": "extractor.processorId",
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.awsAuthType",
438
- "label": "Authentication type",
439
- "optional": false,
440
- "value": "credentials",
441
- "constraints": {
442
- "notEmpty": true
443
- },
444
- "group": "extractor",
445
- "binding": {
446
- "name": "extractor.awsAuthType",
447
- "type": "zeebe:input"
448
- },
449
- "condition": {
450
- "property": "extractor.type",
451
- "equals": "textract",
452
- "type": "simple"
453
- },
454
- "type": "Dropdown",
455
- "choices": [
456
- {
457
- "name": "Credentials",
458
- "value": "credentials"
459
- },
460
- {
461
- "name": "Default Credentials Chain (Hybrid/Self-Managed only)",
462
- "value": "defaultCredentialsChain"
463
- }
464
- ]
465
- },
466
- {
467
- "id": "extractor.accessKey",
468
- "label": "Access key",
469
- "description": "Provide an IAM access key tailored to a user, equipped with the necessary permissions",
470
- "optional": false,
471
- "constraints": {
472
- "notEmpty": true
473
- },
474
- "feel": "optional",
475
- "group": "extractor",
476
- "binding": {
477
- "name": "extractor.accessKey",
478
- "type": "zeebe:input"
479
- },
480
- "condition": {
481
- "allMatch": [
482
- {
483
- "property": "extractor.awsAuthType",
484
- "equals": "credentials",
485
- "type": "simple"
486
- },
487
- {
488
- "property": "extractor.type",
489
- "equals": "textract",
490
- "type": "simple"
491
- }
492
- ]
493
- },
494
- "type": "String"
495
- },
496
- {
497
- "id": "extractor.secretKey",
498
- "label": "Secret key",
499
- "description": "Provide a secret key of a user with permissions to invoke specified AWS Lambda function",
500
- "optional": false,
501
- "constraints": {
502
- "notEmpty": true
503
- },
504
- "feel": "optional",
505
- "group": "extractor",
506
- "binding": {
507
- "name": "extractor.secretKey",
508
- "type": "zeebe:input"
509
- },
510
- "condition": {
511
- "allMatch": [
512
- {
513
- "property": "extractor.awsAuthType",
514
- "equals": "credentials",
515
- "type": "simple"
516
- },
517
- {
518
- "property": "extractor.type",
519
- "equals": "textract",
520
- "type": "simple"
521
- }
522
- ]
523
- },
524
- "type": "String"
525
- },
526
- {
527
- "id": "extractor.region",
528
- "label": "Region",
529
- "description": "Specify the AWS region",
530
- "optional": false,
531
- "constraints": {
532
- "notEmpty": true
533
- },
534
- "group": "extractor",
535
- "binding": {
536
- "name": "extractor.region",
537
- "type": "zeebe:input"
538
- },
539
- "condition": {
540
- "property": "extractor.type",
541
- "equals": "textract",
542
- "type": "simple"
543
- },
544
- "type": "Text"
545
- },
546
- {
547
- "id": "extractor.bucketName",
548
- "label": "AWS S3 Bucket name",
549
- "description": "Specify the name of the AWS S3 bucket where document will be stored temporarily during Textract analysis",
550
- "optional": false,
551
- "value": "idp-extraction-connector",
552
- "constraints": {
553
- "notEmpty": true
554
- },
555
- "group": "extractor",
556
- "binding": {
557
- "name": "extractor.bucketName",
558
- "type": "zeebe:input"
559
- },
560
- "condition": {
561
- "property": "extractor.type",
562
- "equals": "textract",
563
- "type": "simple"
564
- },
565
- "type": "Text"
566
- },
567
- {
568
- "id": "version",
569
- "label": "Version",
570
- "description": "Version of the element template",
571
- "value": "2",
572
- "group": "connector",
573
- "binding": {
574
- "key": "elementTemplateVersion",
575
- "type": "zeebe:taskHeader"
576
- },
577
- "type": "Hidden"
578
- },
579
- {
580
- "id": "id",
581
- "label": "ID",
582
- "description": "ID of the element template",
583
- "value": "io.camunda.connector.IdpStructuredExtractionOutBoundTemplate.v1",
584
- "group": "connector",
585
- "binding": {
586
- "key": "elementTemplateId",
587
- "type": "zeebe:taskHeader"
588
- },
589
- "type": "Hidden"
590
- },
591
- {
592
- "id": "resultVariable",
593
- "label": "Result variable",
594
- "description": "Name of variable to store the response in",
595
- "group": "output",
596
- "binding": {
597
- "key": "resultVariable",
598
- "type": "zeebe:taskHeader"
599
- },
600
- "type": "String"
601
- },
602
- {
603
- "id": "resultExpression",
604
- "label": "Result expression",
605
- "description": "Expression to map the response into process variables",
606
- "feel": "required",
607
- "group": "output",
608
- "binding": {
609
- "key": "resultExpression",
610
- "type": "zeebe:taskHeader"
611
- },
612
- "type": "Text"
613
- },
614
- {
615
- "id": "errorExpression",
616
- "label": "Error expression",
617
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
618
- "feel": "required",
619
- "group": "error",
620
- "binding": {
621
- "key": "errorExpression",
622
- "type": "zeebe:taskHeader"
623
- },
624
- "type": "Text"
625
- },
626
- {
627
- "id": "retryCount",
628
- "label": "Retries",
629
- "description": "Number of retries",
630
- "value": "3",
631
- "feel": "optional",
632
- "group": "retries",
633
- "binding": {
634
- "property": "retries",
635
- "type": "zeebe:taskDefinition"
636
- },
637
- "type": "String"
638
- },
639
- {
640
- "id": "retryBackoff",
641
- "label": "Retry backoff",
642
- "description": "ISO-8601 duration to wait between retries",
643
- "value": "PT0S",
644
- "group": "retries",
645
- "binding": {
646
- "key": "retryBackoff",
647
- "type": "zeebe:taskHeader"
648
- },
649
- "type": "String"
650
- }
651
- ],
652
- "icon": {
653
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjE5LjE3ODkiIGhlaWdodD0iMTkuMTc4OSIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4wMSIgc3R5bGU9Im1peC1ibGVuZC1tb2RlOm11bHRpcGx5Ii8+CjxwYXRoIGQ9Ik0xNi43ODA2IDcuMTkyMDhIMTEuOTg1OVYyLjM5NzM3SDE2Ljc4MDZWNy4xOTIwOFpNMTMuMTg0NiA1Ljk5MzRIMTUuNTgxOVYzLjU5NjA1SDEzLjE4NDZWNS45OTM0WiIgZmlsbD0iI0ZDNUQwRCIvPgo8cGF0aCBkPSJNMTAuMTg3OSA4Ljk5MDFWNS4zOTQwN0g1LjM5MzE4VjEzLjc4NDhIMTMuNzgzOVY4Ljk5MDFIMTAuMTg3OVpNNi41OTE4NiA2LjU5Mjc0SDguOTg5MjFWOC45OTAxSDYuNTkxODZWNi41OTI3NFpNOC45ODkyMSAxMi41ODYxSDYuNTkxODZWMTAuMTg4OEg4Ljk4OTIxVjEyLjU4NjFaTTEyLjU4NTIgMTIuNTg2MUgxMC4xODc5VjEwLjE4ODhIMTIuNTg1MlYxMi41ODYxWiIgZmlsbD0iI0ZDNUQwRCIvPgo8cGF0aCBkPSJNMTUuNTgxOSAxNi43ODE1SDMuNTk1MTZDMy4yNzczNyAxNi43ODExIDIuOTcyNjkgMTYuNjU0NyAyLjc0Nzk3IDE2LjQzQzIuNTIzMjYgMTYuMjA1MyAyLjM5Njg1IDE1LjkwMDYgMi4zOTY0OCAxNS41ODI4VjMuNTk2MDVDMi4zOTY4NSAzLjI3ODI1IDIuNTIzMjYgMi45NzM1NyAyLjc0Nzk3IDIuNzQ4ODZDMi45NzI2OSAyLjUyNDE0IDMuMjc3MzcgMi4zOTc3MyAzLjU5NTE2IDIuMzk3MzdIOS41ODg1NVYzLjU5NjA1SDMuNTk1MTZWMTUuNTgyOEgxNS41ODE5VjkuNTg5NDRIMTYuNzgwNlYxNS41ODI4QzE2Ljc4MDMgMTUuOTAwNiAxNi42NTM5IDE2LjIwNTMgMTYuNDI5MSAxNi40M0MxNi4yMDQ0IDE2LjY1NDcgMTUuODk5NyAxNi43ODExIDE1LjU4MTkgMTYuNzgxNVoiIGZpbGw9IiMxNjE2MTYiLz4KPC9zdmc+Cg=="
654
- }
655
- }
656
- ]