@operato/flow 9.0.0-beta.56 → 9.0.0-beta.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/tsconfig.tsbuildinfo +1 -1
  3. package/package.json +4 -4
  4. package/dist/src/api/tasks.d.ts +0 -7
  5. package/dist/src/api/tasks.js +0 -2517
  6. package/dist/src/api/tasks.js.map +0 -1
  7. package/dist/src/base/anchor-instance.d.ts +0 -30
  8. package/dist/src/base/anchor-instance.js +0 -82
  9. package/dist/src/base/anchor-instance.js.map +0 -1
  10. package/dist/src/base/flow-edge-instance.d.ts +0 -31
  11. package/dist/src/base/flow-edge-instance.js +0 -170
  12. package/dist/src/base/flow-edge-instance.js.map +0 -1
  13. package/dist/src/base/flow-node-abstract.d.ts +0 -49
  14. package/dist/src/base/flow-node-abstract.js +0 -199
  15. package/dist/src/base/flow-node-abstract.js.map +0 -1
  16. package/dist/src/components/flow-debug-panel.d.ts +0 -22
  17. package/dist/src/components/flow-debug-panel.js +0 -156
  18. package/dist/src/components/flow-debug-panel.js.map +0 -1
  19. package/dist/src/components/flow-executor.d.ts +0 -29
  20. package/dist/src/components/flow-executor.js +0 -88
  21. package/dist/src/components/flow-executor.js.map +0 -1
  22. package/dist/src/components/flow-options-builder.d.ts +0 -18
  23. package/dist/src/components/flow-options-builder.js +0 -145
  24. package/dist/src/components/flow-options-builder.js.map +0 -1
  25. package/dist/src/components/flow-properties-panel.d.ts +0 -22
  26. package/dist/src/components/flow-properties-panel.js +0 -232
  27. package/dist/src/components/flow-properties-panel.js.map +0 -1
  28. package/dist/src/components/flow-side-panel.d.ts +0 -9
  29. package/dist/src/components/flow-side-panel.js +0 -83
  30. package/dist/src/components/flow-side-panel.js.map +0 -1
  31. package/dist/src/components/flow-sidebar.d.ts +0 -7
  32. package/dist/src/components/flow-sidebar.js +0 -84
  33. package/dist/src/components/flow-sidebar.js.map +0 -1
  34. package/dist/src/components/flow-toolbar.d.ts +0 -15
  35. package/dist/src/components/flow-toolbar.js +0 -161
  36. package/dist/src/components/flow-toolbar.js.map +0 -1
  37. package/dist/src/components/property-editor.d.ts +0 -34
  38. package/dist/src/components/property-editor.js +0 -76
  39. package/dist/src/components/property-editor.js.map +0 -1
  40. package/dist/src/components/property-panel/data-mapper-popup.d.ts +0 -11
  41. package/dist/src/components/property-panel/data-mapper-popup.js +0 -86
  42. package/dist/src/components/property-panel/data-mapper-popup.js.map +0 -1
  43. package/dist/src/components/property-panel/task-selection-popup.d.ts +0 -10
  44. package/dist/src/components/property-panel/task-selection-popup.js +0 -106
  45. package/dist/src/components/property-panel/task-selection-popup.js.map +0 -1
  46. package/dist/src/context/flow-context.d.ts +0 -21
  47. package/dist/src/context/flow-context.js +0 -3
  48. package/dist/src/context/flow-context.js.map +0 -1
  49. package/dist/src/context/flow-debug-context.d.ts +0 -16
  50. package/dist/src/context/flow-debug-context.js +0 -3
  51. package/dist/src/context/flow-debug-context.js.map +0 -1
  52. package/dist/src/context/flow-edit-context.d.ts +0 -11
  53. package/dist/src/context/flow-edit-context.js +0 -3
  54. package/dist/src/context/flow-edit-context.js.map +0 -1
  55. package/dist/src/handlers/dnd-event-handler.d.ts +0 -9
  56. package/dist/src/handlers/dnd-event-handler.js +0 -41
  57. package/dist/src/handlers/dnd-event-handler.js.map +0 -1
  58. package/dist/src/handlers/flow-event-handler.d.ts +0 -20
  59. package/dist/src/handlers/flow-event-handler.js +0 -75
  60. package/dist/src/handlers/flow-event-handler.js.map +0 -1
  61. package/dist/src/handlers/keydown-event-handler.d.ts +0 -6
  62. package/dist/src/handlers/keydown-event-handler.js +0 -24
  63. package/dist/src/handlers/keydown-event-handler.js.map +0 -1
  64. package/dist/src/handlers/pointer-event-handler.d.ts +0 -9
  65. package/dist/src/handlers/pointer-event-handler.js +0 -118
  66. package/dist/src/handlers/pointer-event-handler.js.map +0 -1
  67. package/dist/src/index.d.ts +0 -2
  68. package/dist/src/index.js +0 -3
  69. package/dist/src/index.js.map +0 -1
  70. package/dist/src/nodes/decision.d.ts +0 -16
  71. package/dist/src/nodes/decision.js +0 -43
  72. package/dist/src/nodes/decision.js.map +0 -1
  73. package/dist/src/nodes/end-event.d.ts +0 -14
  74. package/dist/src/nodes/end-event.js +0 -47
  75. package/dist/src/nodes/end-event.js.map +0 -1
  76. package/dist/src/nodes/index.d.ts +0 -5
  77. package/dist/src/nodes/index.js +0 -19
  78. package/dist/src/nodes/index.js.map +0 -1
  79. package/dist/src/nodes/intermediate-event.d.ts +0 -14
  80. package/dist/src/nodes/intermediate-event.js +0 -52
  81. package/dist/src/nodes/intermediate-event.js.map +0 -1
  82. package/dist/src/nodes/iterator.d.ts +0 -12
  83. package/dist/src/nodes/iterator.js +0 -29
  84. package/dist/src/nodes/iterator.js.map +0 -1
  85. package/dist/src/nodes/select.d.ts +0 -17
  86. package/dist/src/nodes/select.js +0 -71
  87. package/dist/src/nodes/select.js.map +0 -1
  88. package/dist/src/nodes/start-event.d.ts +0 -15
  89. package/dist/src/nodes/start-event.js +0 -46
  90. package/dist/src/nodes/start-event.js.map +0 -1
  91. package/dist/src/nodes/subflow.d.ts +0 -12
  92. package/dist/src/nodes/subflow.js +0 -30
  93. package/dist/src/nodes/subflow.js.map +0 -1
  94. package/dist/src/nodes/task.d.ts +0 -17
  95. package/dist/src/nodes/task.js +0 -60
  96. package/dist/src/nodes/task.js.map +0 -1
  97. package/dist/src/ox-flow-editor.d.ts +0 -94
  98. package/dist/src/ox-flow-editor.js +0 -426
  99. package/dist/src/ox-flow-editor.js.map +0 -1
  100. package/dist/src/ox-flow-monitor.d.ts +0 -24
  101. package/dist/src/ox-flow-monitor.js +0 -117
  102. package/dist/src/ox-flow-monitor.js.map +0 -1
  103. package/dist/src/property-editors/ox-input-anchors.d.ts +0 -12
  104. package/dist/src/property-editors/ox-input-anchors.js +0 -163
  105. package/dist/src/property-editors/ox-input-anchors.js.map +0 -1
  106. package/dist/src/property-editors/ox-property-editor-anchors.d.ts +0 -6
  107. package/dist/src/property-editors/ox-property-editor-anchors.js +0 -25
  108. package/dist/src/property-editors/ox-property-editor-anchors.js.map +0 -1
  109. package/dist/src/types.d.ts +0 -97
  110. package/dist/src/types.js +0 -2
  111. package/dist/src/types.js.map +0 -1
  112. package/dist/src/utils/generate-mapping-scheme.d.ts +0 -6
  113. package/dist/src/utils/generate-mapping-scheme.js +0 -50
  114. package/dist/src/utils/generate-mapping-scheme.js.map +0 -1
  115. package/dist/stories/ox-flow-editor.stories.d.ts +0 -24
  116. package/dist/stories/ox-flow-editor.stories.js +0 -249
  117. package/dist/stories/ox-flow-editor.stories.js.map +0 -1
@@ -1,2517 +0,0 @@
1
- export const TaskTypes = [
2
- {
3
- name: 'book-up-scenario',
4
- description: null,
5
- help: 'integration/task/book-up-scenario',
6
- parameterSpec: [
7
- {
8
- type: 'entity-selector',
9
- name: 'scenario',
10
- label: 'scenario',
11
- property: {
12
- queryName: 'scenarios'
13
- }
14
- },
15
- {
16
- type: 'string',
17
- name: 'delay',
18
- label: 'delay',
19
- property: null
20
- },
21
- {
22
- type: 'select',
23
- name: 'priority',
24
- label: 'priority',
25
- property: {
26
- options: ['', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
27
- }
28
- },
29
- {
30
- type: 'scenario-step-input',
31
- name: 'variables',
32
- label: 'variables',
33
- property: null
34
- },
35
- {
36
- type: 'string',
37
- name: 'tag',
38
- label: 'tag',
39
- property: null
40
- }
41
- ]
42
- },
43
- {
44
- name: 'csv-readline',
45
- description: null,
46
- help: 'integration/task/csv-readline',
47
- parameterSpec: [
48
- {
49
- type: 'string',
50
- name: 'path',
51
- label: 'path',
52
- property: null
53
- }
54
- ]
55
- },
56
- {
57
- name: 'data-mapper',
58
- description: null,
59
- help: 'integration/task/data-mapper',
60
- parameterSpec: [
61
- {
62
- type: 'scenario-step-input',
63
- name: 'accessor',
64
- label: 'accessor',
65
- property: null
66
- },
67
- {
68
- type: 'key-values',
69
- name: 'mappingRule',
70
- label: 'mapping-rule',
71
- property: null
72
- }
73
- ]
74
- },
75
- {
76
- name: 'database-query',
77
- description: null,
78
- help: 'integration/task/database-query',
79
- parameterSpec: [
80
- {
81
- type: 'textarea',
82
- name: 'query',
83
- label: 'query',
84
- property: {
85
- language: 'sql',
86
- showLineNumbers: true
87
- },
88
- styles: {
89
- flex: '1'
90
- }
91
- }
92
- ]
93
- },
94
- {
95
- name: 'echo-receive',
96
- description: null,
97
- help: null,
98
- parameterSpec: []
99
- },
100
- {
101
- name: 'echo-send',
102
- description: null,
103
- help: null,
104
- parameterSpec: [
105
- {
106
- type: 'string',
107
- name: 'message',
108
- label: 'message',
109
- property: null
110
- }
111
- ]
112
- },
113
- {
114
- name: 'email-send',
115
- description: null,
116
- help: 'integration/task/email-send',
117
- parameterSpec: [
118
- {
119
- type: 'string',
120
- name: 'from',
121
- label: 'email.from',
122
- property: null
123
- },
124
- {
125
- type: 'string',
126
- name: 'to',
127
- label: 'email.to',
128
- property: null
129
- },
130
- {
131
- type: 'string',
132
- name: 'subject',
133
- label: 'email.subject',
134
- property: null
135
- },
136
- {
137
- type: 'textarea',
138
- name: 'contents',
139
- label: 'email.contents',
140
- property: {
141
- language: 'text',
142
- showLineNumbers: true
143
- },
144
- styles: {
145
- flex: '1'
146
- }
147
- },
148
- {
149
- type: 'textarea',
150
- name: 'html',
151
- label: 'email.html',
152
- property: {
153
- language: 'text',
154
- showLineNumbers: true
155
- },
156
- styles: {
157
- flex: '1'
158
- }
159
- }
160
- ]
161
- },
162
- {
163
- name: 'empty-check',
164
- description: null,
165
- help: 'integration/task/empty-check',
166
- parameterSpec: [
167
- {
168
- type: 'scenario-step-input',
169
- name: 'accessor',
170
- label: 'accessor',
171
- property: null
172
- },
173
- {
174
- type: 'scenario-step-input',
175
- name: 'goto',
176
- label: 'goto',
177
- property: null
178
- }
179
- ]
180
- },
181
- {
182
- name: 'end',
183
- description: null,
184
- help: 'integration/task/end',
185
- parameterSpec: []
186
- },
187
- {
188
- name: 'floating-point',
189
- description: null,
190
- help: 'integration/task/floating-point',
191
- parameterSpec: [
192
- {
193
- type: 'scenario-step-input',
194
- name: 'accessor',
195
- label: 'accessor',
196
- property: null
197
- },
198
- {
199
- type: 'select',
200
- name: 'operation',
201
- label: 'operation',
202
- property: {
203
- options: ['read', 'write']
204
- }
205
- },
206
- {
207
- type: 'select',
208
- name: 'endian',
209
- label: 'endian',
210
- property: {
211
- options: ['little', 'big']
212
- }
213
- },
214
- {
215
- type: 'select',
216
- name: 'floatType',
217
- label: 'float type',
218
- property: {
219
- options: ['float', 'double']
220
- }
221
- }
222
- ]
223
- },
224
- {
225
- name: 'goto',
226
- description: null,
227
- help: 'integration/task/goto',
228
- parameterSpec: [
229
- {
230
- type: 'scenario-step-input',
231
- name: 'goto',
232
- label: 'goto',
233
- property: null
234
- }
235
- ]
236
- },
237
- {
238
- name: 'graphql-mutate',
239
- description: null,
240
- help: 'integration/task/graphql-mutate',
241
- parameterSpec: [
242
- {
243
- type: 'graphql',
244
- name: 'mutation',
245
- label: 'mutation',
246
- property: {
247
- showLineNumbers: true
248
- },
249
- styles: {
250
- flex: 1
251
- }
252
- },
253
- {
254
- type: 'key-values',
255
- name: 'variables',
256
- label: 'variables',
257
- property: null
258
- },
259
- {
260
- type: 'key-values',
261
- name: 'headers',
262
- label: 'headers',
263
- property: null
264
- }
265
- ]
266
- },
267
- {
268
- name: 'graphql-query',
269
- description: null,
270
- help: 'integration/task/graphql-query',
271
- parameterSpec: [
272
- {
273
- type: 'graphql',
274
- name: 'query',
275
- label: 'query',
276
- property: {
277
- showLineNumbers: true
278
- },
279
- styles: {
280
- flex: 1
281
- }
282
- },
283
- {
284
- type: 'key-values',
285
- name: 'variables',
286
- label: 'variables',
287
- property: null
288
- },
289
- {
290
- type: 'key-values',
291
- name: 'headers',
292
- label: 'headers',
293
- property: null
294
- }
295
- ]
296
- },
297
- {
298
- name: 'headless-pdf-capture',
299
- description: null,
300
- help: 'integration/task/headless-pdf-capture',
301
- parameterSpec: [
302
- {
303
- type: 'scenario-step-input',
304
- name: 'accessor',
305
- label: 'accessor',
306
- property: null
307
- },
308
- {
309
- type: 'select',
310
- name: 'format',
311
- label: 'page-format',
312
- property: {
313
- options: [
314
- {
315
- display: '',
316
- value: ''
317
- },
318
- {
319
- display: 'A4',
320
- value: 'A4'
321
- },
322
- {
323
- display: 'A3',
324
- value: 'A3'
325
- },
326
- {
327
- display: 'Letter',
328
- value: 'Letter'
329
- },
330
- {
331
- display: 'Legal',
332
- value: 'Legal'
333
- }
334
- ]
335
- }
336
- },
337
- {
338
- type: 'string',
339
- name: 'width',
340
- label: 'page-width',
341
- placeholder: '(e.g., "8.5in", "21cm", "600px")',
342
- property: null
343
- },
344
- {
345
- type: 'string',
346
- name: 'height',
347
- label: 'page-height',
348
- placeholder: '(e.g., "11in", "29.7cm", "800px")',
349
- property: null
350
- },
351
- {
352
- type: 'string',
353
- name: 'marginTop',
354
- label: 'page-margin-top',
355
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
356
- property: null
357
- },
358
- {
359
- type: 'string',
360
- name: 'marginBottom',
361
- label: 'page-margin-bottom',
362
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
363
- property: null
364
- },
365
- {
366
- type: 'string',
367
- name: 'marginLeft',
368
- label: 'page-margin-left',
369
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
370
- property: null
371
- },
372
- {
373
- type: 'string',
374
- name: 'marginRight',
375
- label: 'page-margin-right',
376
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
377
- property: null
378
- },
379
- {
380
- type: 'number',
381
- name: 'scale',
382
- label: 'page-scale',
383
- property: null
384
- },
385
- {
386
- type: 'boolean',
387
- name: 'printBackground',
388
- label: 'print-background',
389
- property: null
390
- },
391
- {
392
- type: 'boolean',
393
- name: 'landscape',
394
- label: 'landscape',
395
- property: null
396
- },
397
- {
398
- type: 'boolean',
399
- name: 'preferCSSPageSize',
400
- label: 'prefer-css-page-size',
401
- property: null
402
- },
403
- {
404
- type: 'textarea',
405
- name: 'htmlContent',
406
- label: 'html-content',
407
- property: null
408
- }
409
- ]
410
- },
411
- {
412
- name: 'headless-pdf-capture-board',
413
- description: null,
414
- help: 'integration/task/headless-pdf-capture-board',
415
- parameterSpec: [
416
- {
417
- type: 'scenario-step-input',
418
- name: 'accessor',
419
- label: 'accessor',
420
- property: null
421
- },
422
- {
423
- type: 'select',
424
- name: 'format',
425
- label: 'page-format',
426
- property: {
427
- options: [
428
- {
429
- display: '',
430
- value: ''
431
- },
432
- {
433
- display: 'A4',
434
- value: 'A4'
435
- },
436
- {
437
- display: 'A3',
438
- value: 'A3'
439
- },
440
- {
441
- display: 'Letter',
442
- value: 'Letter'
443
- },
444
- {
445
- display: 'Legal',
446
- value: 'Legal'
447
- }
448
- ]
449
- }
450
- },
451
- {
452
- type: 'string',
453
- name: 'width',
454
- label: 'page-width',
455
- placeholder: '(e.g., "8.5in", "21cm", "600px")',
456
- property: null
457
- },
458
- {
459
- type: 'string',
460
- name: 'height',
461
- label: 'page-height',
462
- placeholder: '(e.g., "11in", "29.7cm", "800px")',
463
- property: null
464
- },
465
- {
466
- type: 'string',
467
- name: 'marginTop',
468
- label: 'page-margin-top',
469
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
470
- property: null
471
- },
472
- {
473
- type: 'string',
474
- name: 'marginBottom',
475
- label: 'page-margin-bottom',
476
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
477
- property: null
478
- },
479
- {
480
- type: 'string',
481
- name: 'marginLeft',
482
- label: 'page-margin-left',
483
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
484
- property: null
485
- },
486
- {
487
- type: 'string',
488
- name: 'marginRight',
489
- label: 'page-margin-right',
490
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
491
- property: null
492
- },
493
- {
494
- type: 'number',
495
- name: 'scale',
496
- label: 'page-scale',
497
- property: null
498
- },
499
- {
500
- type: 'boolean',
501
- name: 'printBackground',
502
- label: 'print-background',
503
- property: null
504
- },
505
- {
506
- type: 'boolean',
507
- name: 'landscape',
508
- label: 'landscape',
509
- property: null
510
- },
511
- {
512
- type: 'boolean',
513
- name: 'preferCSSPageSize',
514
- label: 'prefer-css-page-size',
515
- property: null
516
- },
517
- {
518
- type: 'string',
519
- name: 'boardAccessor',
520
- label: 'board-accessor',
521
- property: null
522
- },
523
- {
524
- type: 'resource-object',
525
- name: 'board',
526
- label: 'board',
527
- property: {
528
- queryName: 'boards'
529
- }
530
- },
531
- {
532
- type: 'boolean',
533
- name: 'draft',
534
- label: 'board-draft',
535
- property: null
536
- }
537
- ]
538
- },
539
- {
540
- name: 'headless-pdf-capture-markdown',
541
- description: null,
542
- help: 'integration/task/headless-pdf-capture-markdown',
543
- parameterSpec: [
544
- {
545
- type: 'scenario-step-input',
546
- name: 'accessor',
547
- label: 'accessor',
548
- property: null
549
- },
550
- {
551
- type: 'select',
552
- name: 'format',
553
- label: 'page-format',
554
- property: {
555
- options: [
556
- {
557
- display: '',
558
- value: ''
559
- },
560
- {
561
- display: 'A4',
562
- value: 'A4'
563
- },
564
- {
565
- display: 'A3',
566
- value: 'A3'
567
- },
568
- {
569
- display: 'Letter',
570
- value: 'Letter'
571
- },
572
- {
573
- display: 'Legal',
574
- value: 'Legal'
575
- }
576
- ]
577
- }
578
- },
579
- {
580
- type: 'string',
581
- name: 'width',
582
- label: 'page-width',
583
- placeholder: '(e.g., "8.5in", "21cm", "600px")',
584
- property: null
585
- },
586
- {
587
- type: 'string',
588
- name: 'height',
589
- label: 'page-height',
590
- placeholder: '(e.g., "11in", "29.7cm", "800px")',
591
- property: null
592
- },
593
- {
594
- type: 'string',
595
- name: 'marginTop',
596
- label: 'page-margin-top',
597
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
598
- property: null
599
- },
600
- {
601
- type: 'string',
602
- name: 'marginBottom',
603
- label: 'page-margin-bottom',
604
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
605
- property: null
606
- },
607
- {
608
- type: 'string',
609
- name: 'marginLeft',
610
- label: 'page-margin-left',
611
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
612
- property: null
613
- },
614
- {
615
- type: 'string',
616
- name: 'marginRight',
617
- label: 'page-margin-right',
618
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
619
- property: null
620
- },
621
- {
622
- type: 'number',
623
- name: 'scale',
624
- label: 'page-scale',
625
- property: null
626
- },
627
- {
628
- type: 'boolean',
629
- name: 'printBackground',
630
- label: 'print-background',
631
- property: null
632
- },
633
- {
634
- type: 'boolean',
635
- name: 'landscape',
636
- label: 'landscape',
637
- property: null
638
- },
639
- {
640
- type: 'boolean',
641
- name: 'preferCSSPageSize',
642
- label: 'prefer-css-page-size',
643
- property: null
644
- },
645
- {
646
- type: 'scenario-step-input',
647
- name: 'markdownContentAccessor',
648
- label: 'markdown-content-accessor',
649
- property: null
650
- },
651
- {
652
- type: 'textarea',
653
- name: 'markdownContent',
654
- label: 'markdown-content',
655
- property: null
656
- }
657
- ]
658
- },
659
- {
660
- name: 'headless-pdf-open',
661
- description: null,
662
- help: 'integration/task/headless-pdf-open',
663
- parameterSpec: [
664
- {
665
- type: 'scenario-step-input',
666
- name: 'accessor',
667
- label: 'accessor',
668
- property: null
669
- },
670
- {
671
- type: 'select',
672
- name: 'format',
673
- label: 'page-format',
674
- property: {
675
- options: [
676
- {
677
- display: '',
678
- value: ''
679
- },
680
- {
681
- display: 'A4',
682
- value: 'A4'
683
- },
684
- {
685
- display: 'A3',
686
- value: 'A3'
687
- },
688
- {
689
- display: 'Letter',
690
- value: 'Letter'
691
- },
692
- {
693
- display: 'Legal',
694
- value: 'Legal'
695
- }
696
- ]
697
- }
698
- },
699
- {
700
- type: 'string',
701
- name: 'width',
702
- label: 'page-width',
703
- placeholder: '(e.g., "8.5in", "21cm", "600px")',
704
- property: null
705
- },
706
- {
707
- type: 'string',
708
- name: 'height',
709
- label: 'page-height',
710
- placeholder: '(e.g., "11in", "29.7cm", "800px")',
711
- property: null
712
- },
713
- {
714
- type: 'string',
715
- name: 'marginTop',
716
- label: 'page-margin-top',
717
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
718
- property: null
719
- },
720
- {
721
- type: 'string',
722
- name: 'marginBottom',
723
- label: 'page-margin-bottom',
724
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
725
- property: null
726
- },
727
- {
728
- type: 'string',
729
- name: 'marginLeft',
730
- label: 'page-margin-left',
731
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
732
- property: null
733
- },
734
- {
735
- type: 'string',
736
- name: 'marginRight',
737
- label: 'page-margin-right',
738
- placeholder: '(e.g., "0.5in", "1cm", "100px")',
739
- property: null
740
- },
741
- {
742
- type: 'number',
743
- name: 'scale',
744
- label: 'page-scale',
745
- property: null
746
- },
747
- {
748
- type: 'boolean',
749
- name: 'printBackground',
750
- label: 'print-background',
751
- property: null
752
- },
753
- {
754
- type: 'boolean',
755
- name: 'landscape',
756
- label: 'landscape',
757
- property: null
758
- },
759
- {
760
- type: 'boolean',
761
- name: 'preferCSSPageSize',
762
- label: 'prefer-css-page-size',
763
- property: null
764
- },
765
- {
766
- type: 'textarea',
767
- name: 'coverPage',
768
- label: 'pdf-cover-page',
769
- property: null
770
- },
771
- {
772
- type: 'textarea',
773
- name: 'lastPage',
774
- label: 'pdf-last-page',
775
- property: null
776
- },
777
- {
778
- type: 'string',
779
- name: 'header',
780
- label: 'header',
781
- placeholder: 'Page <%= pageNumber %> of <%= totalPages %>',
782
- property: null
783
- },
784
- {
785
- type: 'string',
786
- name: 'footer',
787
- label: 'footer',
788
- placeholder: 'Page <%= pageNumber %> of <%= totalPages %>',
789
- property: null
790
- },
791
- {
792
- type: 'string',
793
- name: 'watermark',
794
- label: 'watermark',
795
- property: null
796
- },
797
- {
798
- type: 'string',
799
- name: 'fileName',
800
- label: 'filename',
801
- property: null
802
- }
803
- ]
804
- },
805
- {
806
- name: 'headless-pdf-save',
807
- description: null,
808
- help: 'integration/task/headless-pdf-save',
809
- parameterSpec: []
810
- },
811
- {
812
- name: 'headless-post',
813
- description: null,
814
- help: null,
815
- parameterSpec: [
816
- {
817
- type: 'string',
818
- name: 'path',
819
- label: 'path',
820
- property: null
821
- },
822
- {
823
- type: 'http-headers',
824
- name: 'headers',
825
- label: 'headers',
826
- property: null
827
- },
828
- {
829
- type: 'select',
830
- name: 'contentType',
831
- label: 'content-type',
832
- property: {
833
- options: [
834
- {
835
- display: '',
836
- value: ''
837
- },
838
- {
839
- display: 'application/json',
840
- value: 'application/json'
841
- },
842
- {
843
- display: 'text/plain',
844
- value: 'text/plain'
845
- },
846
- {
847
- display: 'application/x-www-form-urlencoded',
848
- value: 'application/x-www-form-urlencoded'
849
- }
850
- ]
851
- }
852
- },
853
- {
854
- type: 'scenario-step-input',
855
- name: 'accessor',
856
- label: 'accessor',
857
- property: null
858
- }
859
- ]
860
- },
861
- {
862
- name: 'headless-scrap',
863
- description: null,
864
- help: null,
865
- parameterSpec: [
866
- {
867
- type: 'string',
868
- name: 'path',
869
- label: 'path',
870
- property: null
871
- },
872
- {
873
- type: 'http-headers',
874
- name: 'headers',
875
- label: 'headers',
876
- property: null
877
- },
878
- {
879
- type: 'options',
880
- name: 'selectors',
881
- label: 'selectors',
882
- property: null
883
- }
884
- ]
885
- },
886
- {
887
- name: 'http-get',
888
- description: null,
889
- help: 'integration/task/http-get',
890
- parameterSpec: [
891
- {
892
- type: 'string',
893
- name: 'path',
894
- label: 'path',
895
- property: null
896
- },
897
- {
898
- type: 'http-headers',
899
- name: 'headers',
900
- label: 'headers',
901
- property: null
902
- },
903
- {
904
- type: 'http-parameters',
905
- name: 'searchParams',
906
- label: 'search-params',
907
- property: null
908
- }
909
- ]
910
- },
911
- {
912
- name: 'http-post',
913
- description: null,
914
- help: 'integration/task/http-post',
915
- parameterSpec: [
916
- {
917
- type: 'string',
918
- name: 'path',
919
- label: 'path',
920
- property: null
921
- },
922
- {
923
- type: 'http-headers',
924
- name: 'headers',
925
- label: 'headers',
926
- property: null
927
- },
928
- {
929
- type: 'select',
930
- name: 'contentType',
931
- label: 'content-type',
932
- property: {
933
- options: [
934
- {
935
- display: '',
936
- value: ''
937
- },
938
- {
939
- display: 'application/json',
940
- value: 'application/json'
941
- },
942
- {
943
- display: 'text/plain',
944
- value: 'text/plain'
945
- },
946
- {
947
- display: 'application/x-www-form-urlencoded',
948
- value: 'application/x-www-form-urlencoded'
949
- }
950
- ]
951
- }
952
- },
953
- {
954
- type: 'scenario-step-input',
955
- name: 'accessor',
956
- label: 'accessor',
957
- property: null
958
- }
959
- ]
960
- },
961
- {
962
- name: 'influxdb-query',
963
- description: null,
964
- help: 'integration/task/influxdb-query',
965
- parameterSpec: [
966
- {
967
- type: 'string',
968
- name: 'organization',
969
- label: 'influxdb.organization',
970
- property: null
971
- },
972
- {
973
- type: 'textarea',
974
- name: 'query',
975
- label: 'influxdb.query',
976
- property: {
977
- language: 'text',
978
- showLineNumbers: true
979
- },
980
- styles: {
981
- flex: '1'
982
- }
983
- }
984
- ]
985
- },
986
- {
987
- name: 'influxdb-write-point',
988
- description: null,
989
- help: 'integration/task/influxdb-write-point',
990
- parameterSpec: [
991
- {
992
- type: 'string',
993
- name: 'organization',
994
- label: 'influxdb.organization',
995
- property: null
996
- },
997
- {
998
- type: 'string',
999
- name: 'bucket',
1000
- label: 'influxdb.bucket',
1001
- property: null
1002
- },
1003
- {
1004
- type: 'string',
1005
- name: 'measurement',
1006
- label: 'influxdb.measurement',
1007
- property: null
1008
- },
1009
- {
1010
- type: 'influxdb-point-scheme',
1011
- name: 'scheme',
1012
- label: 'influxdb.point-scheme',
1013
- property: null
1014
- }
1015
- ]
1016
- },
1017
- {
1018
- name: 'jsonata',
1019
- description: null,
1020
- help: 'integration/task/jsonata',
1021
- parameterSpec: [
1022
- {
1023
- type: 'textarea',
1024
- name: 'expression',
1025
- label: 'jsonata-expression',
1026
- property: {
1027
- language: 'javascript',
1028
- showLineNumbers: true
1029
- },
1030
- styles: {
1031
- flex: '1'
1032
- }
1033
- }
1034
- ]
1035
- },
1036
- {
1037
- name: 'local-graphql-mutate',
1038
- description: null,
1039
- help: 'integration/task/local-graphql-mutate',
1040
- parameterSpec: [
1041
- {
1042
- type: 'graphql',
1043
- name: 'mutation',
1044
- label: 'mutation',
1045
- property: {
1046
- showLineNumbers: true
1047
- },
1048
- styles: {
1049
- flex: 1
1050
- }
1051
- },
1052
- {
1053
- type: 'key-values',
1054
- name: 'variables',
1055
- label: 'variables',
1056
- property: null
1057
- },
1058
- {
1059
- type: 'key-values',
1060
- name: 'headers',
1061
- label: 'headers',
1062
- property: null
1063
- }
1064
- ]
1065
- },
1066
- {
1067
- name: 'local-graphql-query',
1068
- description: null,
1069
- help: 'integration/task/local-graphql-query',
1070
- parameterSpec: [
1071
- {
1072
- type: 'graphql',
1073
- name: 'query',
1074
- label: 'query',
1075
- property: {
1076
- showLineNumbers: true
1077
- },
1078
- styles: {
1079
- flex: 1
1080
- }
1081
- },
1082
- {
1083
- type: 'key-values',
1084
- name: 'variables',
1085
- label: 'variables',
1086
- property: null
1087
- },
1088
- {
1089
- type: 'key-values',
1090
- name: 'headers',
1091
- label: 'headers',
1092
- property: null
1093
- }
1094
- ]
1095
- },
1096
- {
1097
- name: 'log',
1098
- description: null,
1099
- help: 'integration/task/log',
1100
- parameterSpec: [
1101
- {
1102
- type: 'string',
1103
- name: 'message',
1104
- label: 'message',
1105
- property: null
1106
- },
1107
- {
1108
- type: 'scenario-step-input',
1109
- name: 'accessor',
1110
- label: 'accessor',
1111
- property: null
1112
- },
1113
- {
1114
- type: 'select',
1115
- name: 'level',
1116
- label: 'level',
1117
- property: {
1118
- options: ['info', 'warn', 'error']
1119
- }
1120
- }
1121
- ]
1122
- },
1123
- {
1124
- name: 'melsec-read-coil',
1125
- description: null,
1126
- help: 'integration/task/melsec-read-coil',
1127
- parameterSpec: [
1128
- {
1129
- type: 'string',
1130
- name: 'plcAddress',
1131
- label: 'plc_address',
1132
- property: null
1133
- },
1134
- {
1135
- type: 'number',
1136
- name: 'readLength',
1137
- label: 'read_length',
1138
- property: null
1139
- }
1140
- ]
1141
- },
1142
- {
1143
- name: 'melsec-read-word',
1144
- description: null,
1145
- help: 'integration/task/melsec-read-word',
1146
- parameterSpec: [
1147
- {
1148
- type: 'string',
1149
- name: 'plcAddress',
1150
- label: 'plc_address',
1151
- property: null
1152
- },
1153
- {
1154
- type: 'checkbox',
1155
- name: 'signed',
1156
- label: 'signed',
1157
- property: null
1158
- }
1159
- ]
1160
- },
1161
- {
1162
- name: 'melsec-wait-coil',
1163
- description: null,
1164
- help: 'integration/task/melsec-wait-coil',
1165
- parameterSpec: [
1166
- {
1167
- type: 'string',
1168
- name: 'plcAddress',
1169
- label: 'plc_address',
1170
- property: null
1171
- },
1172
- {
1173
- type: 'string',
1174
- name: 'value',
1175
- label: 'expected_value',
1176
- property: null
1177
- },
1178
- {
1179
- type: 'number',
1180
- name: 'waitTerm',
1181
- label: 'wait_term',
1182
- placeholder: 'milli-seconds',
1183
- property: null
1184
- }
1185
- ]
1186
- },
1187
- {
1188
- name: 'melsec-write-coil',
1189
- description: null,
1190
- help: 'integration/task/melsec-write-coil',
1191
- parameterSpec: [
1192
- {
1193
- type: 'string',
1194
- name: 'plcAddress',
1195
- label: 'plc_address',
1196
- placeholder: 'M0,Y1,..',
1197
- property: null
1198
- },
1199
- {
1200
- type: 'number',
1201
- name: 'writeLength',
1202
- label: 'write_length',
1203
- property: null
1204
- },
1205
- {
1206
- type: 'number',
1207
- name: 'value',
1208
- label: 'value',
1209
- property: null
1210
- },
1211
- {
1212
- type: 'checkbox',
1213
- name: 'autoReset',
1214
- label: 'auto_reset',
1215
- property: null
1216
- },
1217
- {
1218
- type: 'number',
1219
- name: 'delay',
1220
- label: 'reset_delay',
1221
- placeholder: 'milisecodes, default is 50ms',
1222
- property: null
1223
- }
1224
- ]
1225
- },
1226
- {
1227
- name: 'melsec-write-word',
1228
- description: null,
1229
- help: 'integration/task/melsec-write-word',
1230
- parameterSpec: [
1231
- {
1232
- type: 'string',
1233
- name: 'plcAddress',
1234
- label: 'plc_address',
1235
- placeholder: 'M0,Y1,..',
1236
- property: null
1237
- },
1238
- {
1239
- type: 'scenario-step-input',
1240
- name: 'accessor',
1241
- label: 'accessor',
1242
- property: null
1243
- },
1244
- {
1245
- type: 'number',
1246
- name: 'value',
1247
- label: 'value',
1248
- property: null
1249
- }
1250
- ]
1251
- },
1252
- {
1253
- name: 'modbus-read',
1254
- description: null,
1255
- help: 'integration/task/modbus-read',
1256
- parameterSpec: [
1257
- {
1258
- type: 'select',
1259
- name: 'objectType',
1260
- label: 'object-type',
1261
- property: {
1262
- options: ['', 'coil', 'descrete input', 'input register', 'holding register']
1263
- }
1264
- },
1265
- {
1266
- type: 'number',
1267
- name: 'address',
1268
- label: 'address',
1269
- property: null
1270
- },
1271
- {
1272
- type: 'number',
1273
- name: 'quantity',
1274
- label: 'quantity',
1275
- property: null
1276
- },
1277
- {
1278
- type: 'scenario-step-input',
1279
- name: 'accessorAddress',
1280
- label: 'accessor-address',
1281
- property: null
1282
- }
1283
- ]
1284
- },
1285
- {
1286
- name: 'modbus-write-single',
1287
- description: null,
1288
- help: 'integration/task/modbus-write-single',
1289
- parameterSpec: [
1290
- {
1291
- type: 'select',
1292
- name: 'objectType',
1293
- label: 'object-type',
1294
- property: {
1295
- options: ['', 'coil', 'holding register']
1296
- }
1297
- },
1298
- {
1299
- type: 'number',
1300
- name: 'address',
1301
- label: 'address',
1302
- property: null
1303
- },
1304
- {
1305
- type: 'number',
1306
- name: 'value',
1307
- label: 'value',
1308
- property: null
1309
- },
1310
- {
1311
- type: 'scenario-step-input',
1312
- name: 'accessor',
1313
- label: 'accessor-value',
1314
- property: null
1315
- },
1316
- {
1317
- type: 'scenario-step-input',
1318
- name: 'accessorAddress',
1319
- label: 'accessor-address',
1320
- property: null
1321
- }
1322
- ]
1323
- },
1324
- {
1325
- name: 'mqtt-publish',
1326
- description: null,
1327
- help: 'integration/task/mqtt-publish',
1328
- parameterSpec: [
1329
- {
1330
- type: 'string',
1331
- name: 'topic',
1332
- label: 'topic',
1333
- property: null
1334
- },
1335
- {
1336
- type: 'scenario-step-input',
1337
- name: 'accessor',
1338
- label: 'accessor',
1339
- property: null
1340
- }
1341
- ]
1342
- },
1343
- {
1344
- name: 'mqtt-subscribe',
1345
- description: null,
1346
- help: 'integration/task/mqtt-subscribe',
1347
- parameterSpec: [
1348
- {
1349
- type: 'string',
1350
- name: 'topic',
1351
- label: 'topic',
1352
- property: null
1353
- },
1354
- {
1355
- type: 'select',
1356
- name: 'dataFormat',
1357
- label: 'data-format',
1358
- property: {
1359
- options: [
1360
- {
1361
- display: 'Plain Text',
1362
- value: 'text'
1363
- },
1364
- {
1365
- display: 'JSON',
1366
- value: 'json'
1367
- }
1368
- ]
1369
- }
1370
- }
1371
- ]
1372
- },
1373
- {
1374
- name: 'mssql-procedure',
1375
- description: null,
1376
- help: 'integration/task/mssql-procedure',
1377
- parameterSpec: [
1378
- {
1379
- type: 'procedure-parameters',
1380
- name: 'parameters',
1381
- label: '',
1382
- property: {
1383
- dbtype: 'mssql'
1384
- }
1385
- }
1386
- ]
1387
- },
1388
- {
1389
- name: 'opc-ua-read',
1390
- description: null,
1391
- help: 'integration/task/opc-ua-read',
1392
- parameterSpec: [
1393
- {
1394
- type: 'string',
1395
- name: 'node',
1396
- label: 'node',
1397
- property: null
1398
- },
1399
- {
1400
- type: 'select',
1401
- name: 'attribute',
1402
- label: 'attribute',
1403
- property: {
1404
- options: [
1405
- {
1406
- display: 'Value',
1407
- value: 13
1408
- },
1409
- {
1410
- display: 'DataType',
1411
- value: 14
1412
- },
1413
- {
1414
- display: 'NodeId',
1415
- value: 1
1416
- },
1417
- {
1418
- display: 'NodeClass',
1419
- value: 2
1420
- },
1421
- {
1422
- display: 'BrowseName',
1423
- value: 3
1424
- },
1425
- {
1426
- display: 'DisplayName',
1427
- value: 4
1428
- },
1429
- {
1430
- display: 'Description',
1431
- value: 5
1432
- },
1433
- {
1434
- display: 'WriteMask',
1435
- value: 6
1436
- },
1437
- {
1438
- display: 'UserWriteMask',
1439
- value: 7
1440
- },
1441
- {
1442
- display: 'IsAbstract',
1443
- value: 8
1444
- },
1445
- {
1446
- display: 'Symmetric',
1447
- value: 9
1448
- },
1449
- {
1450
- display: 'InverseName',
1451
- value: 10
1452
- },
1453
- {
1454
- display: 'ContainsNoLoops',
1455
- value: 11
1456
- },
1457
- {
1458
- display: 'EventNotifier',
1459
- value: 12
1460
- },
1461
- {
1462
- display: 'ValueRank',
1463
- value: 15
1464
- },
1465
- {
1466
- display: 'ArrayDimensions',
1467
- value: 16
1468
- },
1469
- {
1470
- display: 'AccessLevel',
1471
- value: 17
1472
- },
1473
- {
1474
- display: 'UserAccessLevel',
1475
- value: 18
1476
- },
1477
- {
1478
- display: 'MinimumSamplingInterval',
1479
- value: 19
1480
- },
1481
- {
1482
- display: 'Historizing',
1483
- value: 20
1484
- },
1485
- {
1486
- display: 'Executable',
1487
- value: 21
1488
- },
1489
- {
1490
- display: 'UserExecutable',
1491
- value: 22
1492
- },
1493
- {
1494
- display: 'DataTypeDefinition',
1495
- value: 23
1496
- },
1497
- {
1498
- display: 'RolePermissions',
1499
- value: 24
1500
- },
1501
- {
1502
- display: 'UserRolePermissions',
1503
- value: 25
1504
- },
1505
- {
1506
- display: 'AccessRestrictions',
1507
- value: 26
1508
- },
1509
- {
1510
- display: 'AccessLevelEx',
1511
- value: 27
1512
- }
1513
- ]
1514
- }
1515
- }
1516
- ]
1517
- },
1518
- {
1519
- name: 'opc-ua-start-monitor',
1520
- description: null,
1521
- help: 'integration/task/opc-ua-start-monitor',
1522
- parameterSpec: [
1523
- {
1524
- type: 'string',
1525
- name: 'node',
1526
- label: 'node',
1527
- property: null
1528
- },
1529
- {
1530
- type: 'number',
1531
- name: 'samplingInterval',
1532
- label: 'sampling-interval',
1533
- property: null
1534
- },
1535
- {
1536
- type: 'boolean',
1537
- name: 'discardOldest',
1538
- label: 'discard-oldest',
1539
- property: null
1540
- },
1541
- {
1542
- type: 'number',
1543
- name: 'queueSize',
1544
- label: 'queue-size',
1545
- property: null
1546
- }
1547
- ]
1548
- },
1549
- {
1550
- name: 'opc-ua-write',
1551
- description: null,
1552
- help: 'integration/task/opc-ua-write',
1553
- parameterSpec: [
1554
- {
1555
- type: 'string',
1556
- name: 'node',
1557
- label: 'node',
1558
- property: null
1559
- },
1560
- {
1561
- type: 'scenario-step-input',
1562
- name: 'accessor',
1563
- label: 'accessor',
1564
- property: null
1565
- },
1566
- {
1567
- type: 'select',
1568
- name: 'type',
1569
- label: 'type',
1570
- property: {
1571
- options: [
1572
- {
1573
- display: 'Null',
1574
- value: 0
1575
- },
1576
- {
1577
- display: 'Boolean',
1578
- value: 1
1579
- },
1580
- {
1581
- display: 'SByte',
1582
- value: 2
1583
- },
1584
- {
1585
- display: 'Byte',
1586
- value: 3
1587
- },
1588
- {
1589
- display: 'Int16',
1590
- value: 4
1591
- },
1592
- {
1593
- display: 'UInt16',
1594
- value: 5
1595
- },
1596
- {
1597
- display: 'Int32',
1598
- value: 6
1599
- },
1600
- {
1601
- display: 'UInt32',
1602
- value: 7
1603
- },
1604
- {
1605
- display: 'Int64',
1606
- value: 8
1607
- },
1608
- {
1609
- display: 'UInt64',
1610
- value: 9
1611
- },
1612
- {
1613
- display: 'Float',
1614
- value: 10
1615
- },
1616
- {
1617
- display: 'Double',
1618
- value: 11
1619
- },
1620
- {
1621
- display: 'String',
1622
- value: 12
1623
- },
1624
- {
1625
- display: 'DateTime',
1626
- value: 13
1627
- },
1628
- {
1629
- display: 'Guid',
1630
- value: 14
1631
- },
1632
- {
1633
- display: 'ByteString',
1634
- value: 15
1635
- },
1636
- {
1637
- display: 'XmlElement',
1638
- value: 16
1639
- },
1640
- {
1641
- display: 'NodeId',
1642
- value: 17
1643
- },
1644
- {
1645
- display: 'ExpandedNodeId',
1646
- value: 18
1647
- },
1648
- {
1649
- display: 'StatusCode',
1650
- value: 19
1651
- },
1652
- {
1653
- display: 'QualifiedName',
1654
- value: 20
1655
- },
1656
- {
1657
- display: 'LocalizedText',
1658
- value: 21
1659
- },
1660
- {
1661
- display: 'ExtensionObject',
1662
- value: 22
1663
- },
1664
- {
1665
- display: 'Variant',
1666
- value: 24
1667
- },
1668
- {
1669
- display: 'DataValue',
1670
- value: 23
1671
- },
1672
- {
1673
- display: 'DiagnosticInfo',
1674
- value: 25
1675
- }
1676
- ]
1677
- }
1678
- }
1679
- ]
1680
- },
1681
- {
1682
- name: 'oracle-procedure',
1683
- description: null,
1684
- help: 'integration/task/oracle-procedure',
1685
- parameterSpec: [
1686
- {
1687
- type: 'procedure-parameters',
1688
- name: 'parameters',
1689
- label: '',
1690
- property: {
1691
- dbtype: 'oracle'
1692
- }
1693
- }
1694
- ]
1695
- },
1696
- {
1697
- name: 'pick-pending-scenario',
1698
- description: null,
1699
- help: 'integration/task/pick-pending-scenario',
1700
- parameterSpec: [
1701
- {
1702
- type: 'string',
1703
- name: 'tag',
1704
- label: 'tag',
1705
- property: null
1706
- },
1707
- {
1708
- type: 'number',
1709
- name: 'waitFor',
1710
- label: 'wait-for',
1711
- property: null
1712
- }
1713
- ]
1714
- },
1715
- {
1716
- name: 'publish',
1717
- description: null,
1718
- help: 'integration/task/publish',
1719
- parameterSpec: [
1720
- {
1721
- type: 'string',
1722
- name: 'tag',
1723
- label: 'tag',
1724
- property: null
1725
- },
1726
- {
1727
- type: 'scenario-step-input',
1728
- name: 'accessor',
1729
- label: 'accessor',
1730
- property: null
1731
- }
1732
- ]
1733
- },
1734
- {
1735
- name: 'random',
1736
- description: null,
1737
- help: 'integration/task/random',
1738
- parameterSpec: [
1739
- {
1740
- type: 'select',
1741
- name: 'format',
1742
- label: 'format',
1743
- property: {
1744
- options: [
1745
- {
1746
- display: 'bool',
1747
- value: 'bool'
1748
- },
1749
- {
1750
- display: 'character',
1751
- value: 'character'
1752
- },
1753
- {
1754
- display: 'floating',
1755
- value: 'floating'
1756
- },
1757
- {
1758
- display: 'integer',
1759
- value: 'integer'
1760
- },
1761
- {
1762
- display: 'letter',
1763
- value: 'letter'
1764
- },
1765
- {
1766
- display: 'natural',
1767
- value: 'natural'
1768
- },
1769
- {
1770
- display: 'string',
1771
- value: 'string'
1772
- },
1773
- {
1774
- display: 'paragraph',
1775
- value: 'paragraph'
1776
- },
1777
- {
1778
- display: 'sentence',
1779
- value: 'sentence'
1780
- },
1781
- {
1782
- display: 'syllable',
1783
- value: 'syllable'
1784
- },
1785
- {
1786
- display: 'word',
1787
- value: 'word'
1788
- },
1789
- {
1790
- display: 'age',
1791
- value: 'age'
1792
- },
1793
- {
1794
- display: 'birthday',
1795
- value: 'birthday'
1796
- },
1797
- {
1798
- display: 'cf',
1799
- value: 'cf'
1800
- },
1801
- {
1802
- display: 'cpf',
1803
- value: 'cpf'
1804
- },
1805
- {
1806
- display: 'first',
1807
- value: 'first'
1808
- },
1809
- {
1810
- display: 'gender',
1811
- value: 'gender'
1812
- },
1813
- {
1814
- display: 'last',
1815
- value: 'last'
1816
- },
1817
- {
1818
- display: 'name',
1819
- value: 'name'
1820
- },
1821
- {
1822
- display: 'prefix',
1823
- value: 'prefix'
1824
- },
1825
- {
1826
- display: 'ssn',
1827
- value: 'ssn'
1828
- },
1829
- {
1830
- display: 'suffix',
1831
- value: 'suffix'
1832
- },
1833
- {
1834
- display: 'android_id',
1835
- value: 'android_id'
1836
- },
1837
- {
1838
- display: 'apple_token',
1839
- value: 'apple_token'
1840
- },
1841
- {
1842
- display: 'bb_pin',
1843
- value: 'bb_pin'
1844
- },
1845
- {
1846
- display: 'wp7_anid',
1847
- value: 'wp7_anid'
1848
- },
1849
- {
1850
- display: 'wp8_anid2',
1851
- value: 'wp8_anid2'
1852
- },
1853
- {
1854
- display: 'avatar',
1855
- value: 'avatar'
1856
- },
1857
- {
1858
- display: 'color',
1859
- value: 'color'
1860
- },
1861
- {
1862
- display: 'company',
1863
- value: 'company'
1864
- },
1865
- {
1866
- display: 'domain',
1867
- value: 'domain'
1868
- },
1869
- {
1870
- display: 'email',
1871
- value: 'email'
1872
- },
1873
- {
1874
- display: 'fbid',
1875
- value: 'fbid'
1876
- },
1877
- {
1878
- display: 'google_analytics',
1879
- value: 'google_analytics'
1880
- },
1881
- {
1882
- display: 'hashtag',
1883
- value: 'hashtag'
1884
- },
1885
- {
1886
- display: 'ip',
1887
- value: 'ip'
1888
- },
1889
- {
1890
- display: 'ipv6',
1891
- value: 'ipv6'
1892
- },
1893
- {
1894
- display: 'klout',
1895
- value: 'klout'
1896
- },
1897
- {
1898
- display: 'profession',
1899
- value: 'profession'
1900
- },
1901
- {
1902
- display: 'tld',
1903
- value: 'tld'
1904
- },
1905
- {
1906
- display: 'twitter',
1907
- value: 'twitter'
1908
- },
1909
- {
1910
- display: 'url',
1911
- value: 'url'
1912
- },
1913
- {
1914
- display: 'address',
1915
- value: 'address'
1916
- },
1917
- {
1918
- display: 'altitude',
1919
- value: 'altitude'
1920
- },
1921
- {
1922
- display: 'areacode',
1923
- value: 'areacode'
1924
- },
1925
- {
1926
- display: 'city',
1927
- value: 'city'
1928
- },
1929
- {
1930
- display: 'coordinates',
1931
- value: 'coordinates'
1932
- },
1933
- {
1934
- display: 'country',
1935
- value: 'country'
1936
- },
1937
- {
1938
- display: 'depth',
1939
- value: 'depth'
1940
- },
1941
- {
1942
- display: 'geohash',
1943
- value: 'geohash'
1944
- },
1945
- {
1946
- display: 'latitude',
1947
- value: 'latitude'
1948
- },
1949
- {
1950
- display: 'longitude',
1951
- value: 'longitude'
1952
- },
1953
- {
1954
- display: 'phone',
1955
- value: 'phone'
1956
- },
1957
- {
1958
- display: 'postal',
1959
- value: 'postal'
1960
- },
1961
- {
1962
- display: 'province',
1963
- value: 'province'
1964
- },
1965
- {
1966
- display: 'state',
1967
- value: 'state'
1968
- },
1969
- {
1970
- display: 'street',
1971
- value: 'street'
1972
- },
1973
- {
1974
- display: 'zip',
1975
- value: 'zip'
1976
- },
1977
- {
1978
- display: 'ampm',
1979
- value: 'ampm'
1980
- },
1981
- {
1982
- display: 'date',
1983
- value: 'date'
1984
- },
1985
- {
1986
- display: 'hammertime',
1987
- value: 'hammertime'
1988
- },
1989
- {
1990
- display: 'hour',
1991
- value: 'hour'
1992
- },
1993
- {
1994
- display: 'millisecond',
1995
- value: 'millisecond'
1996
- },
1997
- {
1998
- display: 'minute',
1999
- value: 'minute'
2000
- },
2001
- {
2002
- display: 'month',
2003
- value: 'month'
2004
- },
2005
- {
2006
- display: 'second',
2007
- value: 'second'
2008
- },
2009
- {
2010
- display: 'timestamp',
2011
- value: 'timestamp'
2012
- },
2013
- {
2014
- display: 'timezone',
2015
- value: 'timezone'
2016
- },
2017
- {
2018
- display: 'weekday',
2019
- value: 'weekday'
2020
- },
2021
- {
2022
- display: 'year',
2023
- value: 'year'
2024
- },
2025
- {
2026
- display: 'cc',
2027
- value: 'cc'
2028
- },
2029
- {
2030
- display: 'cc_type',
2031
- value: 'cc_type'
2032
- },
2033
- {
2034
- display: 'currency',
2035
- value: 'currency'
2036
- },
2037
- {
2038
- display: 'currency_pair',
2039
- value: 'currency_pair'
2040
- },
2041
- {
2042
- display: 'dollar',
2043
- value: 'dollar'
2044
- },
2045
- {
2046
- display: 'euro',
2047
- value: 'euro'
2048
- },
2049
- {
2050
- display: 'exp',
2051
- value: 'exp'
2052
- },
2053
- {
2054
- display: 'exp_month',
2055
- value: 'exp_month'
2056
- },
2057
- {
2058
- display: 'exp_year',
2059
- value: 'exp_year'
2060
- },
2061
- {
2062
- display: 'coin',
2063
- value: 'coin'
2064
- },
2065
- {
2066
- display: 'd4',
2067
- value: 'd4'
2068
- },
2069
- {
2070
- display: 'd6',
2071
- value: 'd6'
2072
- },
2073
- {
2074
- display: 'd8',
2075
- value: 'd8'
2076
- },
2077
- {
2078
- display: 'd10',
2079
- value: 'd10'
2080
- },
2081
- {
2082
- display: 'd12',
2083
- value: 'd12'
2084
- },
2085
- {
2086
- display: 'd20',
2087
- value: 'd20'
2088
- },
2089
- {
2090
- display: 'd30',
2091
- value: 'd30'
2092
- },
2093
- {
2094
- display: 'd100',
2095
- value: 'd100'
2096
- },
2097
- {
2098
- display: 'guid',
2099
- value: 'guid'
2100
- },
2101
- {
2102
- display: 'hash',
2103
- value: 'hash'
2104
- }
2105
- ]
2106
- }
2107
- },
2108
- {
2109
- type: 'number',
2110
- name: 'count',
2111
- label: 'count',
2112
- placeholder: '1',
2113
- property: null
2114
- }
2115
- ]
2116
- },
2117
- {
2118
- name: 'reset-pending-scenario',
2119
- description: null,
2120
- help: null,
2121
- parameterSpec: []
2122
- },
2123
- {
2124
- name: 'scenario',
2125
- description: null,
2126
- help: null,
2127
- parameterSpec: [
2128
- {
2129
- type: 'entity-selector',
2130
- name: 'scenario',
2131
- label: 'scenario',
2132
- property: {
2133
- queryName: 'scenarios'
2134
- }
2135
- },
2136
- {
2137
- type: 'scenario-step-input',
2138
- name: 'variables',
2139
- label: 'variables',
2140
- property: null
2141
- }
2142
- ]
2143
- },
2144
- {
2145
- name: 'scenario-stop',
2146
- description: null,
2147
- help: null,
2148
- parameterSpec: [
2149
- {
2150
- type: 'entity-selector',
2151
- name: 'scenario',
2152
- label: 'scenario',
2153
- property: {
2154
- queryName: 'scenarios'
2155
- }
2156
- }
2157
- ]
2158
- },
2159
- {
2160
- name: 'script',
2161
- description: null,
2162
- help: 'integration/task/script',
2163
- parameterSpec: [
2164
- {
2165
- type: 'textarea',
2166
- name: 'script',
2167
- label: 'script',
2168
- property: {
2169
- language: 'javascript',
2170
- showLineNumbers: true
2171
- },
2172
- styles: {
2173
- flex: '1'
2174
- }
2175
- }
2176
- ]
2177
- },
2178
- {
2179
- name: 'set-domain',
2180
- description: null,
2181
- help: 'integration/task/set-domain',
2182
- parameterSpec: [
2183
- {
2184
- type: 'string',
2185
- name: 'subdomain',
2186
- label: 'subdomain',
2187
- placeholder: 'subdomain',
2188
- property: null
2189
- }
2190
- ]
2191
- },
2192
- {
2193
- name: 'sleep',
2194
- description: null,
2195
- help: 'integration/task/sleep',
2196
- parameterSpec: [
2197
- {
2198
- type: 'number',
2199
- name: 'duration',
2200
- label: 'duration',
2201
- placeholder: 'milli-seconds',
2202
- property: null
2203
- }
2204
- ]
2205
- },
2206
- {
2207
- name: 'socket-listener',
2208
- description: null,
2209
- help: null,
2210
- parameterSpec: [
2211
- {
2212
- type: 'select',
2213
- name: 'dataFormat',
2214
- label: 'data-format',
2215
- property: {
2216
- options: [
2217
- {
2218
- display: 'CSV',
2219
- value: 'csv'
2220
- },
2221
- {
2222
- display: 'JSON',
2223
- value: 'json'
2224
- },
2225
- {
2226
- display: 'String',
2227
- value: 'string'
2228
- }
2229
- ]
2230
- }
2231
- }
2232
- ]
2233
- },
2234
- {
2235
- name: 'state-group-read',
2236
- description: null,
2237
- help: 'integration/task/state-group-read',
2238
- parameterSpec: [
2239
- {
2240
- type: 'string',
2241
- name: 'group',
2242
- label: 'group',
2243
- property: null
2244
- }
2245
- ]
2246
- },
2247
- {
2248
- name: 'state-read',
2249
- description: null,
2250
- help: 'integration/task/state-read',
2251
- parameterSpec: [
2252
- {
2253
- type: 'string',
2254
- name: 'name',
2255
- label: 'name',
2256
- property: null
2257
- }
2258
- ]
2259
- },
2260
- {
2261
- name: 'state-write',
2262
- description: null,
2263
- help: 'integration/task/state-write',
2264
- parameterSpec: [
2265
- {
2266
- type: 'string',
2267
- name: 'name',
2268
- label: 'name',
2269
- property: null
2270
- },
2271
- {
2272
- type: 'scenario-step-input',
2273
- name: 'accessor',
2274
- label: 'accessor',
2275
- property: null
2276
- }
2277
- ]
2278
- },
2279
- {
2280
- name: 'switch',
2281
- description: null,
2282
- help: null,
2283
- parameterSpec: [
2284
- {
2285
- type: 'scenario-step-input',
2286
- name: 'accessor',
2287
- label: 'accessor',
2288
- property: null
2289
- },
2290
- {
2291
- type: 'map',
2292
- name: 'cases',
2293
- label: 'cases',
2294
- property: {
2295
- valuetype: 'scenario-step-input'
2296
- }
2297
- }
2298
- ]
2299
- },
2300
- {
2301
- name: 'switch-goto',
2302
- description: null,
2303
- help: null,
2304
- parameterSpec: [
2305
- {
2306
- type: 'scenario-step-input',
2307
- name: 'accessor',
2308
- label: 'accessor',
2309
- property: null
2310
- },
2311
- {
2312
- type: 'map',
2313
- name: 'cases',
2314
- label: 'cases',
2315
- property: {
2316
- valuetype: 'scenario-step-input'
2317
- }
2318
- }
2319
- ]
2320
- },
2321
- {
2322
- name: 'switch-range',
2323
- description: null,
2324
- help: null,
2325
- parameterSpec: [
2326
- {
2327
- type: 'scenario-step-input',
2328
- name: 'accessor',
2329
- label: 'accessor',
2330
- property: null
2331
- },
2332
- {
2333
- type: 'range',
2334
- name: 'cases',
2335
- label: 'cases',
2336
- property: {
2337
- valuetype: 'scenario-step-input'
2338
- }
2339
- }
2340
- ]
2341
- },
2342
- {
2343
- name: 'switch-range-goto',
2344
- description: null,
2345
- help: null,
2346
- parameterSpec: [
2347
- {
2348
- type: 'scenario-step-input',
2349
- name: 'accessor',
2350
- label: 'accessor',
2351
- property: null
2352
- },
2353
- {
2354
- type: 'range',
2355
- name: 'cases',
2356
- label: 'cases',
2357
- property: {
2358
- valuetype: 'scenario-step-input'
2359
- }
2360
- }
2361
- ]
2362
- },
2363
- {
2364
- name: 'switch-range-scenario',
2365
- description: null,
2366
- help: null,
2367
- parameterSpec: [
2368
- {
2369
- type: 'scenario-step-input',
2370
- name: 'accessor',
2371
- label: 'accessor',
2372
- property: null
2373
- },
2374
- {
2375
- type: 'range',
2376
- name: 'cases',
2377
- label: 'cases',
2378
- property: {
2379
- valuetype: 'scenario-input'
2380
- }
2381
- },
2382
- {
2383
- type: 'scenario-step-input',
2384
- name: 'variables',
2385
- label: 'variables',
2386
- property: null
2387
- }
2388
- ]
2389
- },
2390
- {
2391
- name: 'switch-range-set',
2392
- description: null,
2393
- help: null,
2394
- parameterSpec: [
2395
- {
2396
- type: 'scenario-step-input',
2397
- name: 'accessor',
2398
- label: 'accessor',
2399
- property: null
2400
- },
2401
- {
2402
- type: 'range',
2403
- name: 'cases',
2404
- label: 'cases',
2405
- property: null
2406
- }
2407
- ]
2408
- },
2409
- {
2410
- name: 'switch-scenario',
2411
- description: null,
2412
- help: null,
2413
- parameterSpec: [
2414
- {
2415
- type: 'scenario-step-input',
2416
- name: 'accessor',
2417
- label: 'accessor',
2418
- property: null
2419
- },
2420
- {
2421
- type: 'map',
2422
- name: 'cases',
2423
- label: 'cases',
2424
- property: {
2425
- valuetype: 'scenario-input'
2426
- }
2427
- },
2428
- {
2429
- type: 'scenario-step-input',
2430
- name: 'variables',
2431
- label: 'variables',
2432
- property: null
2433
- }
2434
- ]
2435
- },
2436
- {
2437
- name: 'switch-set',
2438
- description: null,
2439
- help: null,
2440
- parameterSpec: [
2441
- {
2442
- type: 'scenario-step-input',
2443
- name: 'accessor',
2444
- label: 'accessor',
2445
- property: null
2446
- },
2447
- {
2448
- type: 'map',
2449
- name: 'cases',
2450
- label: 'cases',
2451
- property: null
2452
- }
2453
- ]
2454
- },
2455
- {
2456
- name: 'throw',
2457
- description: null,
2458
- help: 'integration/task/throw',
2459
- parameterSpec: [
2460
- {
2461
- type: 'string',
2462
- name: 'message',
2463
- label: 'message',
2464
- property: null
2465
- }
2466
- ]
2467
- },
2468
- {
2469
- name: 'variables',
2470
- description: null,
2471
- help: 'integration/task/variables',
2472
- parameterSpec: []
2473
- }
2474
- ];
2475
- export const BaseTasks = [
2476
- TaskTypes.find(task => task.name == 'csv-readline'),
2477
- TaskTypes.find(task => task.name == 'data-mapper'),
2478
- TaskTypes.find(task => task.name == 'empty-check'),
2479
- TaskTypes.find(task => task.name == 'floating-point'),
2480
- TaskTypes.find(task => task.name == 'jsonata'),
2481
- TaskTypes.find(task => task.name == 'local-graphql-mutate'),
2482
- TaskTypes.find(task => task.name == 'local-graphql-query'),
2483
- TaskTypes.find(task => task.name == 'log'),
2484
- TaskTypes.find(task => task.name == 'publish'),
2485
- TaskTypes.find(task => task.name == 'random'),
2486
- TaskTypes.find(task => task.name == 'reset-pending-scenario'),
2487
- TaskTypes.find(task => task.name == 'scenario'),
2488
- TaskTypes.find(task => task.name == 'scenario-stop'),
2489
- TaskTypes.find(task => task.name == 'script'),
2490
- TaskTypes.find(task => task.name == 'set-domain'),
2491
- TaskTypes.find(task => task.name == 'state-group-read'),
2492
- TaskTypes.find(task => task.name == 'state-read'),
2493
- TaskTypes.find(task => task.name == 'state-write'),
2494
- TaskTypes.find(task => task.name == 'variables')
2495
- ];
2496
- export const ControlFlowTasks = [
2497
- TaskTypes.find(task => task.name == 'book-up-scenario'),
2498
- TaskTypes.find(task => task.name == 'end'),
2499
- TaskTypes.find(task => task.name == 'goto'),
2500
- TaskTypes.find(task => task.name == 'log'),
2501
- TaskTypes.find(task => task.name == 'pick-pending-scenario'),
2502
- TaskTypes.find(task => task.name == 'sleep'),
2503
- TaskTypes.find(task => task.name == 'switch'),
2504
- TaskTypes.find(task => task.name == 'switch-goto'),
2505
- TaskTypes.find(task => task.name == 'switch-range'),
2506
- TaskTypes.find(task => task.name == 'switch-range-goto'),
2507
- TaskTypes.find(task => task.name == 'switch-range-scenario'),
2508
- TaskTypes.find(task => task.name == 'switch-range-set'),
2509
- TaskTypes.find(task => task.name == 'switch-scenario'),
2510
- TaskTypes.find(task => task.name == 'switch-set'),
2511
- TaskTypes.find(task => task.name == 'throw')
2512
- ];
2513
- export const TaskGroups = {
2514
- basic: BaseTasks,
2515
- 'control flow': ControlFlowTasks
2516
- };
2517
- //# sourceMappingURL=tasks.js.map