@fugood/bricks-project 2.21.0 → 2.22.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compile/action-name-map.ts +20 -0
- package/compile/index.ts +14 -2
- package/index.ts +1 -0
- package/package.json +2 -2
- package/types/bricks.ts +134 -746
- package/types/common.ts +5 -6
- package/types/generators.ts +340 -1683
- package/types/system.ts +169 -70
- package/utils/event-props.ts +733 -0
package/types/generators.ts
CHANGED
|
@@ -6,6 +6,7 @@ import type {
|
|
|
6
6
|
ActionWithDataParams,
|
|
7
7
|
ActionWithParams,
|
|
8
8
|
Action,
|
|
9
|
+
EventProperty,
|
|
9
10
|
} from './common'
|
|
10
11
|
|
|
11
12
|
/* Start the tick */
|
|
@@ -41,35 +42,9 @@ Default property:
|
|
|
41
42
|
}
|
|
42
43
|
events?: {
|
|
43
44
|
/* Event for each tick start */
|
|
44
|
-
ticking?: Array<
|
|
45
|
-
EventAction & {
|
|
46
|
-
eventPropertyMapping?: {
|
|
47
|
-
countdown: {
|
|
48
|
-
type: 'number'
|
|
49
|
-
path: string
|
|
50
|
-
}
|
|
51
|
-
value: {
|
|
52
|
-
type: 'any'
|
|
53
|
-
path: string
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
>
|
|
45
|
+
ticking?: Array<EventAction>
|
|
58
46
|
/* Event for tick completed */
|
|
59
|
-
completed?: Array<
|
|
60
|
-
EventAction & {
|
|
61
|
-
eventPropertyMapping?: {
|
|
62
|
-
countdown: {
|
|
63
|
-
type: 'number'
|
|
64
|
-
path: string
|
|
65
|
-
}
|
|
66
|
-
value: {
|
|
67
|
-
type: 'any'
|
|
68
|
-
path: string
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
>
|
|
47
|
+
completed?: Array<EventAction>
|
|
73
48
|
}
|
|
74
49
|
outlets?: {
|
|
75
50
|
/* Result of each countdown change */
|
|
@@ -149,89 +124,13 @@ Default property:
|
|
|
149
124
|
}
|
|
150
125
|
events?: {
|
|
151
126
|
/* Event for cron rule is not invalid */
|
|
152
|
-
onRuleInvalid?: Array<
|
|
153
|
-
EventAction & {
|
|
154
|
-
eventPropertyMapping?: {
|
|
155
|
-
errorMessage: {
|
|
156
|
-
type: 'string'
|
|
157
|
-
path: string
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
>
|
|
127
|
+
onRuleInvalid?: Array<EventAction>
|
|
162
128
|
/* Event for alarm clock start */
|
|
163
|
-
onStart?: Array<
|
|
164
|
-
EventAction & {
|
|
165
|
-
eventPropertyMapping?: {
|
|
166
|
-
currentTime: {
|
|
167
|
-
type: 'string'
|
|
168
|
-
path: string
|
|
169
|
-
}
|
|
170
|
-
currentTimestamp: {
|
|
171
|
-
type: 'number'
|
|
172
|
-
path: string
|
|
173
|
-
}
|
|
174
|
-
nextTrigTime: {
|
|
175
|
-
type: 'string'
|
|
176
|
-
path: string
|
|
177
|
-
}
|
|
178
|
-
nextTrigTimestamp: {
|
|
179
|
-
type: 'number'
|
|
180
|
-
path: string
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
>
|
|
129
|
+
onStart?: Array<EventAction>
|
|
185
130
|
/* Event for alarm clock trig */
|
|
186
|
-
onTrig?: Array<
|
|
187
|
-
EventAction & {
|
|
188
|
-
eventPropertyMapping?: {
|
|
189
|
-
currentTime: {
|
|
190
|
-
type: 'string'
|
|
191
|
-
path: string
|
|
192
|
-
}
|
|
193
|
-
currentTimestamp: {
|
|
194
|
-
type: 'number'
|
|
195
|
-
path: string
|
|
196
|
-
}
|
|
197
|
-
nextTrigTime: {
|
|
198
|
-
type: 'string'
|
|
199
|
-
path: string
|
|
200
|
-
}
|
|
201
|
-
nextTrigTimestamp: {
|
|
202
|
-
type: 'number'
|
|
203
|
-
path: string
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
>
|
|
131
|
+
onTrig?: Array<EventAction>
|
|
208
132
|
/* Event for alarm clock stop */
|
|
209
|
-
onEnd?: Array<
|
|
210
|
-
EventAction & {
|
|
211
|
-
eventPropertyMapping?: {
|
|
212
|
-
currentTime: {
|
|
213
|
-
type: 'string'
|
|
214
|
-
path: string
|
|
215
|
-
}
|
|
216
|
-
currentTimestamp: {
|
|
217
|
-
type: 'number'
|
|
218
|
-
path: string
|
|
219
|
-
}
|
|
220
|
-
reason: {
|
|
221
|
-
type: 'string'
|
|
222
|
-
path: string
|
|
223
|
-
}
|
|
224
|
-
maxTrigs: {
|
|
225
|
-
type: 'nummber'
|
|
226
|
-
path: string
|
|
227
|
-
}
|
|
228
|
-
stopAt: {
|
|
229
|
-
type: 'string'
|
|
230
|
-
path: string
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
>
|
|
133
|
+
onEnd?: Array<EventAction>
|
|
235
134
|
}
|
|
236
135
|
outlets?: {
|
|
237
136
|
/* Current time of each alarm clock trig */
|
|
@@ -277,7 +176,7 @@ export type GeneratorFileActionReadContent = ActionWithParams & {
|
|
|
277
176
|
__actionName: 'GENERATOR_FILE_READ_CONTENT'
|
|
278
177
|
params?: Array<{
|
|
279
178
|
input: 'encoding'
|
|
280
|
-
value?: 'utf8' | 'base64' | DataLink
|
|
179
|
+
value?: 'utf8' | 'base64' | DataLink | EventProperty
|
|
281
180
|
mapping?: string
|
|
282
181
|
}>
|
|
283
182
|
}
|
|
@@ -293,17 +192,17 @@ export type GeneratorFileActionAppendContent = ActionWithParams & {
|
|
|
293
192
|
params?: Array<
|
|
294
193
|
| {
|
|
295
194
|
input: 'content'
|
|
296
|
-
value?: string | DataLink
|
|
195
|
+
value?: string | DataLink | EventProperty
|
|
297
196
|
mapping?: string
|
|
298
197
|
}
|
|
299
198
|
| {
|
|
300
199
|
input: 'encoding'
|
|
301
|
-
value?: 'utf8' | 'base64' | DataLink
|
|
200
|
+
value?: 'utf8' | 'base64' | DataLink | EventProperty
|
|
302
201
|
mapping?: string
|
|
303
202
|
}
|
|
304
203
|
| {
|
|
305
204
|
input: 'contentList'
|
|
306
|
-
value?: Array<any> | DataLink
|
|
205
|
+
value?: Array<any> | DataLink | EventProperty
|
|
307
206
|
mapping?: string
|
|
308
207
|
}
|
|
309
208
|
>
|
|
@@ -315,22 +214,22 @@ export type GeneratorFileActionWriteContent = ActionWithParams & {
|
|
|
315
214
|
params?: Array<
|
|
316
215
|
| {
|
|
317
216
|
input: 'content'
|
|
318
|
-
value?: string | DataLink
|
|
217
|
+
value?: string | DataLink | EventProperty
|
|
319
218
|
mapping?: string
|
|
320
219
|
}
|
|
321
220
|
| {
|
|
322
221
|
input: 'encoding'
|
|
323
|
-
value?: 'utf8' | 'base64' | DataLink
|
|
222
|
+
value?: 'utf8' | 'base64' | DataLink | EventProperty
|
|
324
223
|
mapping?: string
|
|
325
224
|
}
|
|
326
225
|
| {
|
|
327
226
|
input: 'position'
|
|
328
|
-
value?: number | DataLink
|
|
227
|
+
value?: number | DataLink | EventProperty
|
|
329
228
|
mapping?: string
|
|
330
229
|
}
|
|
331
230
|
| {
|
|
332
231
|
input: 'contentList'
|
|
333
|
-
value?: Array<any> | DataLink
|
|
232
|
+
value?: Array<any> | DataLink | EventProperty
|
|
334
233
|
mapping?: string
|
|
335
234
|
}
|
|
336
235
|
>
|
|
@@ -342,17 +241,17 @@ export type GeneratorFileActionStartUpload = ActionWithParams & {
|
|
|
342
241
|
params?: Array<
|
|
343
242
|
| {
|
|
344
243
|
input: 'withAll'
|
|
345
|
-
value?: boolean | DataLink
|
|
244
|
+
value?: boolean | DataLink | EventProperty
|
|
346
245
|
mapping?: string
|
|
347
246
|
}
|
|
348
247
|
| {
|
|
349
248
|
input: 'withId'
|
|
350
|
-
value?: string | DataLink
|
|
249
|
+
value?: string | DataLink | EventProperty
|
|
351
250
|
mapping?: string
|
|
352
251
|
}
|
|
353
252
|
| {
|
|
354
253
|
input: 'withIndex'
|
|
355
|
-
value?: number | DataLink
|
|
254
|
+
value?: number | DataLink | EventProperty
|
|
356
255
|
mapping?: string
|
|
357
256
|
}
|
|
358
257
|
>
|
|
@@ -364,17 +263,17 @@ export type GeneratorFileActionStopUpload = ActionWithParams & {
|
|
|
364
263
|
params?: Array<
|
|
365
264
|
| {
|
|
366
265
|
input: 'withAll'
|
|
367
|
-
value?: boolean | DataLink
|
|
266
|
+
value?: boolean | DataLink | EventProperty
|
|
368
267
|
mapping?: string
|
|
369
268
|
}
|
|
370
269
|
| {
|
|
371
270
|
input: 'withId'
|
|
372
|
-
value?: string | DataLink
|
|
271
|
+
value?: string | DataLink | EventProperty
|
|
373
272
|
mapping?: string
|
|
374
273
|
}
|
|
375
274
|
| {
|
|
376
275
|
input: 'withIndex'
|
|
377
|
-
value?: number | DataLink
|
|
276
|
+
value?: number | DataLink | EventProperty
|
|
378
277
|
mapping?: string
|
|
379
278
|
}
|
|
380
279
|
>
|
|
@@ -386,17 +285,17 @@ export type GeneratorFileActionStartDownload = ActionWithParams & {
|
|
|
386
285
|
params?: Array<
|
|
387
286
|
| {
|
|
388
287
|
input: 'withAll'
|
|
389
|
-
value?: boolean | DataLink
|
|
288
|
+
value?: boolean | DataLink | EventProperty
|
|
390
289
|
mapping?: string
|
|
391
290
|
}
|
|
392
291
|
| {
|
|
393
292
|
input: 'withId'
|
|
394
|
-
value?: string | DataLink
|
|
293
|
+
value?: string | DataLink | EventProperty
|
|
395
294
|
mapping?: string
|
|
396
295
|
}
|
|
397
296
|
| {
|
|
398
297
|
input: 'withIndex'
|
|
399
|
-
value?: number | DataLink
|
|
298
|
+
value?: number | DataLink | EventProperty
|
|
400
299
|
mapping?: string
|
|
401
300
|
}
|
|
402
301
|
>
|
|
@@ -408,17 +307,17 @@ export type GeneratorFileActionStopDownload = ActionWithParams & {
|
|
|
408
307
|
params?: Array<
|
|
409
308
|
| {
|
|
410
309
|
input: 'withAll'
|
|
411
|
-
value?: boolean | DataLink
|
|
310
|
+
value?: boolean | DataLink | EventProperty
|
|
412
311
|
mapping?: string
|
|
413
312
|
}
|
|
414
313
|
| {
|
|
415
314
|
input: 'withId'
|
|
416
|
-
value?: string | DataLink
|
|
315
|
+
value?: string | DataLink | EventProperty
|
|
417
316
|
mapping?: string
|
|
418
317
|
}
|
|
419
318
|
| {
|
|
420
319
|
input: 'withIndex'
|
|
421
|
-
value?: number | DataLink
|
|
320
|
+
value?: number | DataLink | EventProperty
|
|
422
321
|
mapping?: string
|
|
423
322
|
}
|
|
424
323
|
>
|
|
@@ -515,275 +414,33 @@ Default property:
|
|
|
515
414
|
}
|
|
516
415
|
events?: {
|
|
517
416
|
/* On file handler init error */
|
|
518
|
-
initError?: Array<
|
|
519
|
-
EventAction & {
|
|
520
|
-
eventPropertyMapping?: {
|
|
521
|
-
error: {
|
|
522
|
-
type: 'string'
|
|
523
|
-
path: string
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
>
|
|
417
|
+
initError?: Array<EventAction>
|
|
528
418
|
/* On file status change */
|
|
529
|
-
onFileStatusChange?: Array<
|
|
530
|
-
EventAction & {
|
|
531
|
-
eventPropertyMapping?: {
|
|
532
|
-
path: {
|
|
533
|
-
type: 'string'
|
|
534
|
-
path: string
|
|
535
|
-
}
|
|
536
|
-
status: {
|
|
537
|
-
type: 'string'
|
|
538
|
-
path: string
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
>
|
|
419
|
+
onFileStatusChange?: Array<EventAction>
|
|
543
420
|
/* On read stats error */
|
|
544
|
-
onReadStatsError?: Array<
|
|
545
|
-
EventAction & {
|
|
546
|
-
eventPropertyMapping?: {
|
|
547
|
-
path: {
|
|
548
|
-
type: 'string'
|
|
549
|
-
path: string
|
|
550
|
-
}
|
|
551
|
-
list: {
|
|
552
|
-
type: 'array'
|
|
553
|
-
path: string
|
|
554
|
-
}
|
|
555
|
-
error: {
|
|
556
|
-
type: 'string'
|
|
557
|
-
path: string
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
>
|
|
421
|
+
onReadStatsError?: Array<EventAction>
|
|
562
422
|
/* On read content error */
|
|
563
|
-
onReadContentError?: Array<
|
|
564
|
-
EventAction & {
|
|
565
|
-
eventPropertyMapping?: {
|
|
566
|
-
path: {
|
|
567
|
-
type: 'string'
|
|
568
|
-
path: string
|
|
569
|
-
}
|
|
570
|
-
list: {
|
|
571
|
-
type: 'array'
|
|
572
|
-
path: string
|
|
573
|
-
}
|
|
574
|
-
error: {
|
|
575
|
-
type: 'string'
|
|
576
|
-
path: string
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
>
|
|
423
|
+
onReadContentError?: Array<EventAction>
|
|
581
424
|
/* On read content error */
|
|
582
|
-
onAppendContentError?: Array<
|
|
583
|
-
EventAction & {
|
|
584
|
-
eventPropertyMapping?: {
|
|
585
|
-
path: {
|
|
586
|
-
type: 'string'
|
|
587
|
-
path: string
|
|
588
|
-
}
|
|
589
|
-
list: {
|
|
590
|
-
type: 'array'
|
|
591
|
-
path: string
|
|
592
|
-
}
|
|
593
|
-
error: {
|
|
594
|
-
type: 'string'
|
|
595
|
-
path: string
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
>
|
|
425
|
+
onAppendContentError?: Array<EventAction>
|
|
600
426
|
/* On write content error */
|
|
601
|
-
onWriteContentError?: Array<
|
|
602
|
-
EventAction & {
|
|
603
|
-
eventPropertyMapping?: {
|
|
604
|
-
path: {
|
|
605
|
-
type: 'string'
|
|
606
|
-
path: string
|
|
607
|
-
}
|
|
608
|
-
list: {
|
|
609
|
-
type: 'array'
|
|
610
|
-
path: string
|
|
611
|
-
}
|
|
612
|
-
error: {
|
|
613
|
-
type: 'string'
|
|
614
|
-
path: string
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
>
|
|
427
|
+
onWriteContentError?: Array<EventAction>
|
|
619
428
|
/* On upload progress */
|
|
620
|
-
onUploadProgress?: Array<
|
|
621
|
-
EventAction & {
|
|
622
|
-
eventPropertyMapping?: {
|
|
623
|
-
id: {
|
|
624
|
-
type: 'string'
|
|
625
|
-
path: string
|
|
626
|
-
}
|
|
627
|
-
index: {
|
|
628
|
-
type: 'number'
|
|
629
|
-
path: string
|
|
630
|
-
}
|
|
631
|
-
progress: {
|
|
632
|
-
type: 'number'
|
|
633
|
-
path: string
|
|
634
|
-
}
|
|
635
|
-
list: {
|
|
636
|
-
type: 'array'
|
|
637
|
-
path: string
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
>
|
|
429
|
+
onUploadProgress?: Array<EventAction>
|
|
642
430
|
/* On upload error */
|
|
643
|
-
onUploadError?: Array<
|
|
644
|
-
EventAction & {
|
|
645
|
-
eventPropertyMapping?: {
|
|
646
|
-
id: {
|
|
647
|
-
type: 'string'
|
|
648
|
-
path: string
|
|
649
|
-
}
|
|
650
|
-
index: {
|
|
651
|
-
type: 'number'
|
|
652
|
-
path: string
|
|
653
|
-
}
|
|
654
|
-
error: {
|
|
655
|
-
type: 'string'
|
|
656
|
-
path: string
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
>
|
|
431
|
+
onUploadError?: Array<EventAction>
|
|
661
432
|
/* On upload complete */
|
|
662
|
-
onUploadComplete?: Array<
|
|
663
|
-
EventAction & {
|
|
664
|
-
eventPropertyMapping?: {
|
|
665
|
-
id: {
|
|
666
|
-
type: 'string'
|
|
667
|
-
path: string
|
|
668
|
-
}
|
|
669
|
-
index: {
|
|
670
|
-
type: 'number'
|
|
671
|
-
path: string
|
|
672
|
-
}
|
|
673
|
-
path: {
|
|
674
|
-
type: 'string'
|
|
675
|
-
path: string
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
>
|
|
433
|
+
onUploadComplete?: Array<EventAction>
|
|
680
434
|
/* On upload all done */
|
|
681
|
-
onUploadAllComplete?: Array<
|
|
682
|
-
EventAction & {
|
|
683
|
-
eventPropertyMapping?: {
|
|
684
|
-
single: {
|
|
685
|
-
type: 'object'
|
|
686
|
-
path: string
|
|
687
|
-
}
|
|
688
|
-
singlePath: {
|
|
689
|
-
type: 'string'
|
|
690
|
-
path: string
|
|
691
|
-
}
|
|
692
|
-
list: {
|
|
693
|
-
type: 'array'
|
|
694
|
-
path: string
|
|
695
|
-
}
|
|
696
|
-
listPaths: {
|
|
697
|
-
type: 'array'
|
|
698
|
-
path: string
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
>
|
|
435
|
+
onUploadAllComplete?: Array<EventAction>
|
|
703
436
|
/* On download progress */
|
|
704
|
-
onDownloadProgress?: Array<
|
|
705
|
-
EventAction & {
|
|
706
|
-
eventPropertyMapping?: {
|
|
707
|
-
id: {
|
|
708
|
-
type: 'string'
|
|
709
|
-
path: string
|
|
710
|
-
}
|
|
711
|
-
index: {
|
|
712
|
-
type: 'number'
|
|
713
|
-
path: string
|
|
714
|
-
}
|
|
715
|
-
progress: {
|
|
716
|
-
type: 'number'
|
|
717
|
-
path: string
|
|
718
|
-
}
|
|
719
|
-
list: {
|
|
720
|
-
type: 'array'
|
|
721
|
-
path: string
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
>
|
|
437
|
+
onDownloadProgress?: Array<EventAction>
|
|
726
438
|
/* On download error */
|
|
727
|
-
onDownloadError?: Array<
|
|
728
|
-
EventAction & {
|
|
729
|
-
eventPropertyMapping?: {
|
|
730
|
-
id: {
|
|
731
|
-
type: 'string'
|
|
732
|
-
path: string
|
|
733
|
-
}
|
|
734
|
-
index: {
|
|
735
|
-
type: 'number'
|
|
736
|
-
path: string
|
|
737
|
-
}
|
|
738
|
-
error: {
|
|
739
|
-
type: 'string'
|
|
740
|
-
path: string
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
>
|
|
439
|
+
onDownloadError?: Array<EventAction>
|
|
745
440
|
/* On download complete */
|
|
746
|
-
onDownloadComplete?: Array<
|
|
747
|
-
EventAction & {
|
|
748
|
-
eventPropertyMapping?: {
|
|
749
|
-
id: {
|
|
750
|
-
type: 'string'
|
|
751
|
-
path: string
|
|
752
|
-
}
|
|
753
|
-
index: {
|
|
754
|
-
type: 'number'
|
|
755
|
-
path: string
|
|
756
|
-
}
|
|
757
|
-
path: {
|
|
758
|
-
type: 'string'
|
|
759
|
-
path: string
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
>
|
|
441
|
+
onDownloadComplete?: Array<EventAction>
|
|
764
442
|
/* On download all done */
|
|
765
|
-
onDownloadAllComplete?: Array<
|
|
766
|
-
EventAction & {
|
|
767
|
-
eventPropertyMapping?: {
|
|
768
|
-
single: {
|
|
769
|
-
type: 'object'
|
|
770
|
-
path: string
|
|
771
|
-
}
|
|
772
|
-
singlePath: {
|
|
773
|
-
type: 'string'
|
|
774
|
-
path: string
|
|
775
|
-
}
|
|
776
|
-
list: {
|
|
777
|
-
type: 'array'
|
|
778
|
-
path: string
|
|
779
|
-
}
|
|
780
|
-
listPaths: {
|
|
781
|
-
type: 'array'
|
|
782
|
-
path: string
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
>
|
|
443
|
+
onDownloadAllComplete?: Array<EventAction>
|
|
787
444
|
}
|
|
788
445
|
outlets?: {
|
|
789
446
|
/* File init error result will be stored in Data */
|
|
@@ -926,44 +583,13 @@ Default property:
|
|
|
926
583
|
}
|
|
927
584
|
events?: {
|
|
928
585
|
/* Event of media box fetch error */
|
|
929
|
-
fetchError?: Array<
|
|
930
|
-
EventAction & {
|
|
931
|
-
eventPropertyMapping?: {
|
|
932
|
-
error: {
|
|
933
|
-
type: 'string'
|
|
934
|
-
path: string
|
|
935
|
-
}
|
|
936
|
-
errorIsFromCache: {
|
|
937
|
-
type: 'boolean'
|
|
938
|
-
path: string
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
>
|
|
586
|
+
fetchError?: Array<EventAction>
|
|
943
587
|
/* Event of subscribe box change connected (If set `Subscribe Box Change`) */
|
|
944
588
|
subscribeBoxConnect?: Array<EventAction>
|
|
945
589
|
/* Event of subscribe box change error (If set `Subscribe Box Change`) */
|
|
946
|
-
subscribeBoxError?: Array<
|
|
947
|
-
EventAction & {
|
|
948
|
-
eventPropertyMapping?: {
|
|
949
|
-
error: {
|
|
950
|
-
type: 'string'
|
|
951
|
-
path: string
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
>
|
|
590
|
+
subscribeBoxError?: Array<EventAction>
|
|
956
591
|
/* Event of subscribe box change connection error (If set `Subscribe Box Change`) */
|
|
957
|
-
subscribeBoxConnectError?: Array<
|
|
958
|
-
EventAction & {
|
|
959
|
-
eventPropertyMapping?: {
|
|
960
|
-
error: {
|
|
961
|
-
type: 'string'
|
|
962
|
-
path: string
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
>
|
|
592
|
+
subscribeBoxConnectError?: Array<EventAction>
|
|
967
593
|
/* Event of file sync completed for used `saveToStorage` */
|
|
968
594
|
saveStorageCompleted?: Array<EventAction>
|
|
969
595
|
/* Event when file list size exceed of Load size limit */
|
|
@@ -1024,12 +650,12 @@ export type GeneratorDataBankActionUpdateProperty = ActionWithParams & {
|
|
|
1024
650
|
params?: Array<
|
|
1025
651
|
| {
|
|
1026
652
|
input: 'propertyId'
|
|
1027
|
-
value?: string | DataLink
|
|
653
|
+
value?: string | DataLink | EventProperty
|
|
1028
654
|
mapping?: string
|
|
1029
655
|
}
|
|
1030
656
|
| {
|
|
1031
657
|
input: 'propertyValue'
|
|
1032
|
-
value?: any
|
|
658
|
+
value?: any | EventProperty
|
|
1033
659
|
mapping?: string
|
|
1034
660
|
}
|
|
1035
661
|
>
|
|
@@ -1040,7 +666,7 @@ export type GeneratorDataBankActionRemoveProperty = ActionWithParams & {
|
|
|
1040
666
|
__actionName: 'GENERATOR_DATA_BANK_REMOVE_PROPERTY'
|
|
1041
667
|
params?: Array<{
|
|
1042
668
|
input: 'propertyId'
|
|
1043
|
-
value?: string | DataLink
|
|
669
|
+
value?: string | DataLink | EventProperty
|
|
1044
670
|
mapping?: string
|
|
1045
671
|
}>
|
|
1046
672
|
}
|
|
@@ -1084,44 +710,17 @@ Default property:
|
|
|
1084
710
|
}
|
|
1085
711
|
events?: {
|
|
1086
712
|
/* Event of Data Bank fetch response */
|
|
1087
|
-
onFetchResponse?: Array<
|
|
1088
|
-
EventAction & {
|
|
1089
|
-
eventPropertyMapping?: {
|
|
1090
|
-
responseProperties: {
|
|
1091
|
-
type: 'array'
|
|
1092
|
-
path: string
|
|
1093
|
-
}
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
>
|
|
713
|
+
onFetchResponse?: Array<EventAction>
|
|
1097
714
|
/* Event of Data Bank change from subscription */
|
|
1098
715
|
onChange?: Array<EventAction>
|
|
1099
716
|
/* Event of Data Bank fetch error */
|
|
1100
717
|
onFetchError?: Array<EventAction>
|
|
1101
718
|
/* Event of error */
|
|
1102
|
-
onError?: Array<
|
|
1103
|
-
EventAction & {
|
|
1104
|
-
eventPropertyMapping?: {
|
|
1105
|
-
error: {
|
|
1106
|
-
type: 'object'
|
|
1107
|
-
path: string
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
}
|
|
1111
|
-
>
|
|
719
|
+
onError?: Array<EventAction>
|
|
1112
720
|
/* Event of subscription on connection */
|
|
1113
721
|
subscribeDataOnConnect?: Array<EventAction>
|
|
1114
722
|
/* Server connections error of subscription */
|
|
1115
|
-
subscribeDataOnConnectError?: Array<
|
|
1116
|
-
EventAction & {
|
|
1117
|
-
eventPropertyMapping?: {
|
|
1118
|
-
error: {
|
|
1119
|
-
type: 'object'
|
|
1120
|
-
path: string
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
>
|
|
723
|
+
subscribeDataOnConnectError?: Array<EventAction>
|
|
1125
724
|
}
|
|
1126
725
|
outlets?: {
|
|
1127
726
|
/* Response for Data Bank fetch request, it will save to Data */
|
|
@@ -1159,17 +758,17 @@ export type GeneratorGraphQLActionRunQuery = ActionWithParams & {
|
|
|
1159
758
|
params?: Array<
|
|
1160
759
|
| {
|
|
1161
760
|
input: 'type'
|
|
1162
|
-
value?: 'query' | 'mutation' | 'subscription' | DataLink
|
|
761
|
+
value?: 'query' | 'mutation' | 'subscription' | DataLink | EventProperty
|
|
1163
762
|
mapping?: string
|
|
1164
763
|
}
|
|
1165
764
|
| {
|
|
1166
765
|
input: 'query'
|
|
1167
|
-
value?: string | DataLink
|
|
766
|
+
value?: string | DataLink | EventProperty
|
|
1168
767
|
mapping?: string
|
|
1169
768
|
}
|
|
1170
769
|
| {
|
|
1171
770
|
input: 'variables'
|
|
1172
|
-
value?: {} | DataLink
|
|
771
|
+
value?: {} | DataLink | EventProperty
|
|
1173
772
|
mapping?: string
|
|
1174
773
|
}
|
|
1175
774
|
>
|
|
@@ -1235,16 +834,7 @@ Default property:
|
|
|
1235
834
|
/* Event of subscription on connection */
|
|
1236
835
|
subscriptionOnConnection?: Array<EventAction>
|
|
1237
836
|
/* Server connections error of GraphQL subscription */
|
|
1238
|
-
subscriptionOnConnectionError?: Array<
|
|
1239
|
-
EventAction & {
|
|
1240
|
-
eventPropertyMapping?: {
|
|
1241
|
-
error: {
|
|
1242
|
-
type: 'object'
|
|
1243
|
-
path: string
|
|
1244
|
-
}
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1247
|
-
>
|
|
837
|
+
subscriptionOnConnectionError?: Array<EventAction>
|
|
1248
838
|
}
|
|
1249
839
|
outlets?: {
|
|
1250
840
|
/* Response for GraphQL request, it will save to Data */
|
|
@@ -1425,16 +1015,7 @@ Default property:
|
|
|
1425
1015
|
/* Event on sound file loaded */
|
|
1426
1016
|
onLoad?: Array<EventAction>
|
|
1427
1017
|
/* Event on load error */
|
|
1428
|
-
onLoadError?: Array<
|
|
1429
|
-
EventAction & {
|
|
1430
|
-
eventPropertyMapping?: {
|
|
1431
|
-
error: {
|
|
1432
|
-
type: 'string'
|
|
1433
|
-
path: string
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1437
|
-
>
|
|
1018
|
+
onLoadError?: Array<EventAction>
|
|
1438
1019
|
/* Event on sound play */
|
|
1439
1020
|
onPlay?: Array<EventAction>
|
|
1440
1021
|
/* Event on sound end */
|
|
@@ -1497,78 +1078,11 @@ Please note that the key code is not supported on iOS / tvOS, so it will use `ke
|
|
|
1497
1078
|
}
|
|
1498
1079
|
events?: {
|
|
1499
1080
|
/* Event of key down */
|
|
1500
|
-
onDown?: Array<
|
|
1501
|
-
EventAction & {
|
|
1502
|
-
eventPropertyMapping?: {
|
|
1503
|
-
key: {
|
|
1504
|
-
type: 'string'
|
|
1505
|
-
path: string
|
|
1506
|
-
}
|
|
1507
|
-
keyNoMapping: {
|
|
1508
|
-
type: 'string'
|
|
1509
|
-
path: string
|
|
1510
|
-
}
|
|
1511
|
-
keyCode: {
|
|
1512
|
-
type: 'string'
|
|
1513
|
-
path: string
|
|
1514
|
-
}
|
|
1515
|
-
keyCodeNoMapping: {
|
|
1516
|
-
type: 'string'
|
|
1517
|
-
path: string
|
|
1518
|
-
}
|
|
1519
|
-
keyFlags: {
|
|
1520
|
-
type: 'object'
|
|
1521
|
-
path: string
|
|
1522
|
-
}
|
|
1523
|
-
keyDetails: {
|
|
1524
|
-
type: 'object'
|
|
1525
|
-
path: string
|
|
1526
|
-
}
|
|
1527
|
-
}
|
|
1528
|
-
}
|
|
1529
|
-
>
|
|
1081
|
+
onDown?: Array<EventAction>
|
|
1530
1082
|
/* Event of key up */
|
|
1531
|
-
onUp?: Array<
|
|
1532
|
-
EventAction & {
|
|
1533
|
-
eventPropertyMapping?: {
|
|
1534
|
-
key: {
|
|
1535
|
-
type: 'string'
|
|
1536
|
-
path: string
|
|
1537
|
-
}
|
|
1538
|
-
keyNoMapping: {
|
|
1539
|
-
type: 'string'
|
|
1540
|
-
path: string
|
|
1541
|
-
}
|
|
1542
|
-
keyCode: {
|
|
1543
|
-
type: 'string'
|
|
1544
|
-
path: string
|
|
1545
|
-
}
|
|
1546
|
-
keyCodeNoMapping: {
|
|
1547
|
-
type: 'string'
|
|
1548
|
-
path: string
|
|
1549
|
-
}
|
|
1550
|
-
keyFlags: {
|
|
1551
|
-
type: 'object'
|
|
1552
|
-
path: string
|
|
1553
|
-
}
|
|
1554
|
-
keyDetails: {
|
|
1555
|
-
type: 'object'
|
|
1556
|
-
path: string
|
|
1557
|
-
}
|
|
1558
|
-
}
|
|
1559
|
-
}
|
|
1560
|
-
>
|
|
1083
|
+
onUp?: Array<EventAction>
|
|
1561
1084
|
/* Event of batch input finished */
|
|
1562
|
-
onBatch?: Array<
|
|
1563
|
-
EventAction & {
|
|
1564
|
-
eventPropertyMapping?: {
|
|
1565
|
-
batchEvents: {
|
|
1566
|
-
type: 'array'
|
|
1567
|
-
path: string
|
|
1568
|
-
}
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
>
|
|
1085
|
+
onBatch?: Array<EventAction>
|
|
1572
1086
|
}
|
|
1573
1087
|
outlets?: {
|
|
1574
1088
|
/* Last key down code */
|
|
@@ -1627,22 +1141,22 @@ export type GeneratorWebSocketActionEmit = ActionWithParams & {
|
|
|
1627
1141
|
params?: Array<
|
|
1628
1142
|
| {
|
|
1629
1143
|
input: 'eventName'
|
|
1630
|
-
value?: string | DataLink
|
|
1144
|
+
value?: string | DataLink | EventProperty
|
|
1631
1145
|
mapping?: string
|
|
1632
1146
|
}
|
|
1633
1147
|
| {
|
|
1634
1148
|
input: 'arguments'
|
|
1635
|
-
value?: Array<any> | DataLink
|
|
1149
|
+
value?: Array<any> | DataLink | EventProperty
|
|
1636
1150
|
mapping?: string
|
|
1637
1151
|
}
|
|
1638
1152
|
| {
|
|
1639
1153
|
input: 'acknowledgementType'
|
|
1640
|
-
value?: 'text' | 'json' | DataLink
|
|
1154
|
+
value?: 'text' | 'json' | DataLink | EventProperty
|
|
1641
1155
|
mapping?: string
|
|
1642
1156
|
}
|
|
1643
1157
|
| {
|
|
1644
1158
|
input: 'withAcknowledgement'
|
|
1645
|
-
value?: boolean | DataLink
|
|
1159
|
+
value?: boolean | DataLink | EventProperty
|
|
1646
1160
|
mapping?: string
|
|
1647
1161
|
}
|
|
1648
1162
|
>
|
|
@@ -1653,7 +1167,7 @@ export type GeneratorWebSocketActionSend = ActionWithParams & {
|
|
|
1653
1167
|
__actionName: 'GENERATOR_WEB_SOCKET_SEND'
|
|
1654
1168
|
params?: Array<{
|
|
1655
1169
|
input: 'value'
|
|
1656
|
-
value?: string | DataLink
|
|
1170
|
+
value?: string | DataLink | EventProperty
|
|
1657
1171
|
mapping?: string
|
|
1658
1172
|
}>
|
|
1659
1173
|
}
|
|
@@ -1705,16 +1219,7 @@ Default property:
|
|
|
1705
1219
|
/* Event for disconnect from server */
|
|
1706
1220
|
onClose?: Array<EventAction>
|
|
1707
1221
|
/* Event for receive message */
|
|
1708
|
-
onMessage?: Array<
|
|
1709
|
-
EventAction & {
|
|
1710
|
-
eventPropertyMapping?: {
|
|
1711
|
-
message: {
|
|
1712
|
-
type: 'any'
|
|
1713
|
-
path: string
|
|
1714
|
-
}
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
>
|
|
1222
|
+
onMessage?: Array<EventAction>
|
|
1718
1223
|
/* Event for error occurred */
|
|
1719
1224
|
onError?: Array<EventAction>
|
|
1720
1225
|
}
|
|
@@ -1858,20 +1363,7 @@ Default property:
|
|
|
1858
1363
|
}
|
|
1859
1364
|
events?: {
|
|
1860
1365
|
/* Event on step (If action is `event`) */
|
|
1861
|
-
onStep?: Array<
|
|
1862
|
-
EventAction & {
|
|
1863
|
-
eventPropertyMapping?: {
|
|
1864
|
-
payload: {
|
|
1865
|
-
type: 'string'
|
|
1866
|
-
path: string
|
|
1867
|
-
}
|
|
1868
|
-
index: {
|
|
1869
|
-
type: 'number'
|
|
1870
|
-
path: string
|
|
1871
|
-
}
|
|
1872
|
-
}
|
|
1873
|
-
}
|
|
1874
|
-
>
|
|
1366
|
+
onStep?: Array<EventAction>
|
|
1875
1367
|
}
|
|
1876
1368
|
outlets?: {
|
|
1877
1369
|
/* Result of step payload (If action is `outlet`) */
|
|
@@ -1946,24 +1438,7 @@ Default property:
|
|
|
1946
1438
|
}
|
|
1947
1439
|
events?: {
|
|
1948
1440
|
/* Event on iterate */
|
|
1949
|
-
iterate?: Array<
|
|
1950
|
-
EventAction & {
|
|
1951
|
-
eventPropertyMapping?: {
|
|
1952
|
-
iterateValue: {
|
|
1953
|
-
type: 'any'
|
|
1954
|
-
path: string
|
|
1955
|
-
}
|
|
1956
|
-
iterateKey: {
|
|
1957
|
-
type: 'any'
|
|
1958
|
-
path: string
|
|
1959
|
-
}
|
|
1960
|
-
iterateIndex: {
|
|
1961
|
-
type: 'string'
|
|
1962
|
-
path: string
|
|
1963
|
-
}
|
|
1964
|
-
}
|
|
1965
|
-
}
|
|
1966
|
-
>
|
|
1441
|
+
iterate?: Array<EventAction>
|
|
1967
1442
|
/* Event on iterate round start */
|
|
1968
1443
|
first?: Array<EventAction>
|
|
1969
1444
|
/* Event on iterate round end */
|
|
@@ -2046,47 +1521,9 @@ Default property:
|
|
|
2046
1521
|
}
|
|
2047
1522
|
events?: {
|
|
2048
1523
|
/* Event on specific sender id trigger event */
|
|
2049
|
-
onEvent?: Array<
|
|
2050
|
-
EventAction & {
|
|
2051
|
-
eventPropertyMapping?: {
|
|
2052
|
-
eventType: {
|
|
2053
|
-
type: 'string'
|
|
2054
|
-
path: string
|
|
2055
|
-
}
|
|
2056
|
-
eventTriggerType: {
|
|
2057
|
-
type: 'string'
|
|
2058
|
-
path: string
|
|
2059
|
-
}
|
|
2060
|
-
eventSenderId: {
|
|
2061
|
-
type: 'string'
|
|
2062
|
-
path: string
|
|
2063
|
-
}
|
|
2064
|
-
}
|
|
2065
|
-
}
|
|
2066
|
-
>
|
|
1524
|
+
onEvent?: Array<EventAction>
|
|
2067
1525
|
/* Event on timeout */
|
|
2068
|
-
onTimeout?: Array<
|
|
2069
|
-
EventAction & {
|
|
2070
|
-
eventPropertyMapping?: {
|
|
2071
|
-
lastEventType: {
|
|
2072
|
-
type: 'string'
|
|
2073
|
-
path: string
|
|
2074
|
-
}
|
|
2075
|
-
lastEventTriggerType: {
|
|
2076
|
-
type: 'string'
|
|
2077
|
-
path: string
|
|
2078
|
-
}
|
|
2079
|
-
lastEventSenderId: {
|
|
2080
|
-
type: 'string'
|
|
2081
|
-
path: string
|
|
2082
|
-
}
|
|
2083
|
-
timeout: {
|
|
2084
|
-
type: 'number'
|
|
2085
|
-
path: string
|
|
2086
|
-
}
|
|
2087
|
-
}
|
|
2088
|
-
}
|
|
2089
|
-
>
|
|
1526
|
+
onTimeout?: Array<EventAction>
|
|
2090
1527
|
}
|
|
2091
1528
|
outlets?: {
|
|
2092
1529
|
/* The last event */
|
|
@@ -2145,22 +1582,22 @@ export type GeneratorMQTTActionPublish = ActionWithParams & {
|
|
|
2145
1582
|
params?: Array<
|
|
2146
1583
|
| {
|
|
2147
1584
|
input: 'topic'
|
|
2148
|
-
value?: string | DataLink
|
|
1585
|
+
value?: string | DataLink | EventProperty
|
|
2149
1586
|
mapping?: string
|
|
2150
1587
|
}
|
|
2151
1588
|
| {
|
|
2152
1589
|
input: 'payload'
|
|
2153
|
-
value?: any
|
|
1590
|
+
value?: any | EventProperty
|
|
2154
1591
|
mapping?: string
|
|
2155
1592
|
}
|
|
2156
1593
|
| {
|
|
2157
1594
|
input: 'qos'
|
|
2158
|
-
value?: '0' | '1' | '2' | DataLink
|
|
1595
|
+
value?: '0' | '1' | '2' | DataLink | EventProperty
|
|
2159
1596
|
mapping?: string
|
|
2160
1597
|
}
|
|
2161
1598
|
| {
|
|
2162
1599
|
input: 'retain'
|
|
2163
|
-
value?: boolean | DataLink
|
|
1600
|
+
value?: boolean | DataLink | EventProperty
|
|
2164
1601
|
mapping?: string
|
|
2165
1602
|
}
|
|
2166
1603
|
>
|
|
@@ -2210,39 +1647,9 @@ Default property:
|
|
|
2210
1647
|
/* When disconnected from MQTT broker */
|
|
2211
1648
|
onDisconnected?: Array<EventAction>
|
|
2212
1649
|
/* When error occurred */
|
|
2213
|
-
onError?: Array<
|
|
2214
|
-
EventAction & {
|
|
2215
|
-
eventPropertyMapping?: {
|
|
2216
|
-
errorMessage: {
|
|
2217
|
-
type: 'string'
|
|
2218
|
-
path: string
|
|
2219
|
-
}
|
|
2220
|
-
}
|
|
2221
|
-
}
|
|
2222
|
-
>
|
|
1650
|
+
onError?: Array<EventAction>
|
|
2223
1651
|
/* When received message from MQTT broker within subscribe topic */
|
|
2224
|
-
onMessage?: Array<
|
|
2225
|
-
EventAction & {
|
|
2226
|
-
eventPropertyMapping?: {
|
|
2227
|
-
payload: {
|
|
2228
|
-
type: 'any'
|
|
2229
|
-
path: string
|
|
2230
|
-
}
|
|
2231
|
-
topic: {
|
|
2232
|
-
type: 'string'
|
|
2233
|
-
path: string
|
|
2234
|
-
}
|
|
2235
|
-
qos: {
|
|
2236
|
-
type: 'number'
|
|
2237
|
-
path: string
|
|
2238
|
-
}
|
|
2239
|
-
retain: {
|
|
2240
|
-
type: 'bool'
|
|
2241
|
-
path: string
|
|
2242
|
-
}
|
|
2243
|
-
}
|
|
2244
|
-
}
|
|
2245
|
-
>
|
|
1652
|
+
onMessage?: Array<EventAction>
|
|
2246
1653
|
}
|
|
2247
1654
|
outlets?: {
|
|
2248
1655
|
/* Connected or not */
|
|
@@ -2289,17 +1696,17 @@ export type GeneratorMQTTBrokerActionPublish = ActionWithParams & {
|
|
|
2289
1696
|
params?: Array<
|
|
2290
1697
|
| {
|
|
2291
1698
|
input: 'topic'
|
|
2292
|
-
value?: string | DataLink
|
|
1699
|
+
value?: string | DataLink | EventProperty
|
|
2293
1700
|
mapping?: string
|
|
2294
1701
|
}
|
|
2295
1702
|
| {
|
|
2296
1703
|
input: 'payload'
|
|
2297
|
-
value?: string | DataLink
|
|
1704
|
+
value?: string | DataLink | EventProperty
|
|
2298
1705
|
mapping?: string
|
|
2299
1706
|
}
|
|
2300
1707
|
| {
|
|
2301
1708
|
input: 'messageId'
|
|
2302
|
-
value?: number | DataLink
|
|
1709
|
+
value?: number | DataLink | EventProperty
|
|
2303
1710
|
mapping?: string
|
|
2304
1711
|
}
|
|
2305
1712
|
>
|
|
@@ -2347,68 +1754,15 @@ Default property:
|
|
|
2347
1754
|
/* Event of MQTT server is ready */
|
|
2348
1755
|
onReady?: Array<EventAction>
|
|
2349
1756
|
/* Event of server or connection error */
|
|
2350
|
-
onError?: Array<
|
|
2351
|
-
EventAction & {
|
|
2352
|
-
eventPropertyMapping?: {
|
|
2353
|
-
errorMessage: {
|
|
2354
|
-
type: 'string'
|
|
2355
|
-
path: string
|
|
2356
|
-
}
|
|
2357
|
-
}
|
|
2358
|
-
}
|
|
2359
|
-
>
|
|
1757
|
+
onError?: Array<EventAction>
|
|
2360
1758
|
/* Event of client connected */
|
|
2361
|
-
onClientConnected?: Array<
|
|
2362
|
-
EventAction & {
|
|
2363
|
-
eventPropertyMapping?: {
|
|
2364
|
-
clientId: {
|
|
2365
|
-
type: 'string'
|
|
2366
|
-
path: string
|
|
2367
|
-
}
|
|
2368
|
-
}
|
|
2369
|
-
}
|
|
2370
|
-
>
|
|
1759
|
+
onClientConnected?: Array<EventAction>
|
|
2371
1760
|
/* Event of client disconnected */
|
|
2372
|
-
onClientDisconnected?: Array<
|
|
2373
|
-
EventAction & {
|
|
2374
|
-
eventPropertyMapping?: {
|
|
2375
|
-
clientId: {
|
|
2376
|
-
type: 'string'
|
|
2377
|
-
path: string
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
|
-
>
|
|
1761
|
+
onClientDisconnected?: Array<EventAction>
|
|
2382
1762
|
/* Event of message received */
|
|
2383
|
-
onMessageReceived?: Array<
|
|
2384
|
-
EventAction & {
|
|
2385
|
-
eventPropertyMapping?: {
|
|
2386
|
-
topic: {
|
|
2387
|
-
type: 'string'
|
|
2388
|
-
path: string
|
|
2389
|
-
}
|
|
2390
|
-
payload: {
|
|
2391
|
-
type: 'string'
|
|
2392
|
-
path: string
|
|
2393
|
-
}
|
|
2394
|
-
}
|
|
2395
|
-
}
|
|
2396
|
-
>
|
|
1763
|
+
onMessageReceived?: Array<EventAction>
|
|
2397
1764
|
/* Event of message published */
|
|
2398
|
-
onMessagePublished?: Array<
|
|
2399
|
-
EventAction & {
|
|
2400
|
-
eventPropertyMapping?: {
|
|
2401
|
-
clientId: {
|
|
2402
|
-
type: 'string'
|
|
2403
|
-
path: string
|
|
2404
|
-
}
|
|
2405
|
-
messageId: {
|
|
2406
|
-
type: 'number'
|
|
2407
|
-
path: string
|
|
2408
|
-
}
|
|
2409
|
-
}
|
|
2410
|
-
}
|
|
2411
|
-
>
|
|
1765
|
+
onMessagePublished?: Array<EventAction>
|
|
2412
1766
|
}
|
|
2413
1767
|
outlets?: {
|
|
2414
1768
|
/* Is server started */
|
|
@@ -2457,7 +1811,7 @@ export type GeneratorBleCentralActionConnect = ActionWithParams & {
|
|
|
2457
1811
|
__actionName: 'GENERATOR_BLE_CENTRAL_CONNECT'
|
|
2458
1812
|
params?: Array<{
|
|
2459
1813
|
input: 'deviceId'
|
|
2460
|
-
value?: string | DataLink
|
|
1814
|
+
value?: string | DataLink | EventProperty
|
|
2461
1815
|
mapping?: string
|
|
2462
1816
|
}>
|
|
2463
1817
|
}
|
|
@@ -2468,17 +1822,17 @@ export type GeneratorBleCentralActionReadCharacteristic = ActionWithParams & {
|
|
|
2468
1822
|
params?: Array<
|
|
2469
1823
|
| {
|
|
2470
1824
|
input: 'deviceId'
|
|
2471
|
-
value?: string | DataLink
|
|
1825
|
+
value?: string | DataLink | EventProperty
|
|
2472
1826
|
mapping?: string
|
|
2473
1827
|
}
|
|
2474
1828
|
| {
|
|
2475
1829
|
input: 'serviceId'
|
|
2476
|
-
value?: string | DataLink
|
|
1830
|
+
value?: string | DataLink | EventProperty
|
|
2477
1831
|
mapping?: string
|
|
2478
1832
|
}
|
|
2479
1833
|
| {
|
|
2480
1834
|
input: 'characteristicId'
|
|
2481
|
-
value?: string | DataLink
|
|
1835
|
+
value?: string | DataLink | EventProperty
|
|
2482
1836
|
mapping?: string
|
|
2483
1837
|
}
|
|
2484
1838
|
>
|
|
@@ -2490,17 +1844,17 @@ export type GeneratorBleCentralActionMonitorCharacteristic = ActionWithParams &
|
|
|
2490
1844
|
params?: Array<
|
|
2491
1845
|
| {
|
|
2492
1846
|
input: 'deviceId'
|
|
2493
|
-
value?: string | DataLink
|
|
1847
|
+
value?: string | DataLink | EventProperty
|
|
2494
1848
|
mapping?: string
|
|
2495
1849
|
}
|
|
2496
1850
|
| {
|
|
2497
1851
|
input: 'serviceId'
|
|
2498
|
-
value?: string | DataLink
|
|
1852
|
+
value?: string | DataLink | EventProperty
|
|
2499
1853
|
mapping?: string
|
|
2500
1854
|
}
|
|
2501
1855
|
| {
|
|
2502
1856
|
input: 'characteristicId'
|
|
2503
|
-
value?: string | DataLink
|
|
1857
|
+
value?: string | DataLink | EventProperty
|
|
2504
1858
|
mapping?: string
|
|
2505
1859
|
}
|
|
2506
1860
|
>
|
|
@@ -2512,17 +1866,17 @@ export type GeneratorBleCentralActionCancelMonitorCharacteristic = ActionWithPar
|
|
|
2512
1866
|
params?: Array<
|
|
2513
1867
|
| {
|
|
2514
1868
|
input: 'deviceId'
|
|
2515
|
-
value?: string | DataLink
|
|
1869
|
+
value?: string | DataLink | EventProperty
|
|
2516
1870
|
mapping?: string
|
|
2517
1871
|
}
|
|
2518
1872
|
| {
|
|
2519
1873
|
input: 'serviceId'
|
|
2520
|
-
value?: string | DataLink
|
|
1874
|
+
value?: string | DataLink | EventProperty
|
|
2521
1875
|
mapping?: string
|
|
2522
1876
|
}
|
|
2523
1877
|
| {
|
|
2524
1878
|
input: 'characteristicId'
|
|
2525
|
-
value?: string | DataLink
|
|
1879
|
+
value?: string | DataLink | EventProperty
|
|
2526
1880
|
mapping?: string
|
|
2527
1881
|
}
|
|
2528
1882
|
>
|
|
@@ -2534,27 +1888,27 @@ export type GeneratorBleCentralActionWriteCharacteristic = ActionWithParams & {
|
|
|
2534
1888
|
params?: Array<
|
|
2535
1889
|
| {
|
|
2536
1890
|
input: 'deviceId'
|
|
2537
|
-
value?: string | DataLink
|
|
1891
|
+
value?: string | DataLink | EventProperty
|
|
2538
1892
|
mapping?: string
|
|
2539
1893
|
}
|
|
2540
1894
|
| {
|
|
2541
1895
|
input: 'serviceId'
|
|
2542
|
-
value?: string | DataLink
|
|
1896
|
+
value?: string | DataLink | EventProperty
|
|
2543
1897
|
mapping?: string
|
|
2544
1898
|
}
|
|
2545
1899
|
| {
|
|
2546
1900
|
input: 'characteristicId'
|
|
2547
|
-
value?: string | DataLink
|
|
1901
|
+
value?: string | DataLink | EventProperty
|
|
2548
1902
|
mapping?: string
|
|
2549
1903
|
}
|
|
2550
1904
|
| {
|
|
2551
1905
|
input: 'dataHex'
|
|
2552
|
-
value?: string | DataLink
|
|
1906
|
+
value?: string | DataLink | EventProperty
|
|
2553
1907
|
mapping?: string
|
|
2554
1908
|
}
|
|
2555
1909
|
| {
|
|
2556
1910
|
input: 'writeWithoutResponse'
|
|
2557
|
-
value?: boolean | DataLink
|
|
1911
|
+
value?: boolean | DataLink | EventProperty
|
|
2558
1912
|
mapping?: string
|
|
2559
1913
|
}
|
|
2560
1914
|
>
|
|
@@ -2565,7 +1919,7 @@ export type GeneratorBleCentralActionDisconnect = ActionWithParams & {
|
|
|
2565
1919
|
__actionName: 'GENERATOR_BLE_CENTRAL_DISCONNECT'
|
|
2566
1920
|
params?: Array<{
|
|
2567
1921
|
input: 'deviceId'
|
|
2568
|
-
value?: string | DataLink
|
|
1922
|
+
value?: string | DataLink | EventProperty
|
|
2569
1923
|
mapping?: string
|
|
2570
1924
|
}>
|
|
2571
1925
|
}
|
|
@@ -2608,94 +1962,21 @@ Default property:
|
|
|
2608
1962
|
/* Event for state change */
|
|
2609
1963
|
onStateChange?: Array<EventAction>
|
|
2610
1964
|
/* Event for error occurred */
|
|
2611
|
-
onError?: Array<
|
|
2612
|
-
EventAction & {
|
|
2613
|
-
eventPropertyMapping?: {
|
|
2614
|
-
errorMessage: {
|
|
2615
|
-
type: 'string'
|
|
2616
|
-
path: string
|
|
2617
|
-
}
|
|
2618
|
-
}
|
|
2619
|
-
}
|
|
2620
|
-
>
|
|
1965
|
+
onError?: Array<EventAction>
|
|
2621
1966
|
/* Event for start scan */
|
|
2622
1967
|
onStartScan?: Array<EventAction>
|
|
2623
1968
|
/* Event for stop scan */
|
|
2624
1969
|
onStopScan?: Array<EventAction>
|
|
2625
1970
|
/* Event for discover device */
|
|
2626
|
-
onDiscoverDevice?: Array<
|
|
2627
|
-
EventAction & {
|
|
2628
|
-
eventPropertyMapping?: {
|
|
2629
|
-
deviceInfo: {
|
|
2630
|
-
type: 'object'
|
|
2631
|
-
path: string
|
|
2632
|
-
}
|
|
2633
|
-
}
|
|
2634
|
-
}
|
|
2635
|
-
>
|
|
1971
|
+
onDiscoverDevice?: Array<EventAction>
|
|
2636
1972
|
/* Event for device connected */
|
|
2637
|
-
onConnectDevice?: Array<
|
|
2638
|
-
EventAction & {
|
|
2639
|
-
eventPropertyMapping?: {
|
|
2640
|
-
deviceId: {
|
|
2641
|
-
type: 'string'
|
|
2642
|
-
path: string
|
|
2643
|
-
}
|
|
2644
|
-
characteristicList: {
|
|
2645
|
-
type: 'array'
|
|
2646
|
-
path: string
|
|
2647
|
-
}
|
|
2648
|
-
}
|
|
2649
|
-
}
|
|
2650
|
-
>
|
|
1973
|
+
onConnectDevice?: Array<EventAction>
|
|
2651
1974
|
/* Event for device disconnected */
|
|
2652
1975
|
onDisconnectDevice?: Array<EventAction>
|
|
2653
1976
|
/* Event for receive on read */
|
|
2654
|
-
onReadReceive?: Array<
|
|
2655
|
-
EventAction & {
|
|
2656
|
-
eventPropertyMapping?: {
|
|
2657
|
-
deviceId: {
|
|
2658
|
-
type: 'string'
|
|
2659
|
-
path: string
|
|
2660
|
-
}
|
|
2661
|
-
serviceId: {
|
|
2662
|
-
type: 'string'
|
|
2663
|
-
path: string
|
|
2664
|
-
}
|
|
2665
|
-
characteristicId: {
|
|
2666
|
-
type: 'string'
|
|
2667
|
-
path: string
|
|
2668
|
-
}
|
|
2669
|
-
dataBase64: {
|
|
2670
|
-
type: 'string'
|
|
2671
|
-
path: string
|
|
2672
|
-
}
|
|
2673
|
-
}
|
|
2674
|
-
}
|
|
2675
|
-
>
|
|
1977
|
+
onReadReceive?: Array<EventAction>
|
|
2676
1978
|
/* Event for receive on monitor */
|
|
2677
|
-
onMonitorReceive?: Array<
|
|
2678
|
-
EventAction & {
|
|
2679
|
-
eventPropertyMapping?: {
|
|
2680
|
-
deviceId: {
|
|
2681
|
-
type: 'string'
|
|
2682
|
-
path: string
|
|
2683
|
-
}
|
|
2684
|
-
serviceId: {
|
|
2685
|
-
type: 'string'
|
|
2686
|
-
path: string
|
|
2687
|
-
}
|
|
2688
|
-
characteristicId: {
|
|
2689
|
-
type: 'string'
|
|
2690
|
-
path: string
|
|
2691
|
-
}
|
|
2692
|
-
dataBase64: {
|
|
2693
|
-
type: 'string'
|
|
2694
|
-
path: string
|
|
2695
|
-
}
|
|
2696
|
-
}
|
|
2697
|
-
}
|
|
2698
|
-
>
|
|
1979
|
+
onMonitorReceive?: Array<EventAction>
|
|
2699
1980
|
}
|
|
2700
1981
|
outlets?: {
|
|
2701
1982
|
/* Is scaning */
|
|
@@ -2750,12 +2031,12 @@ export type GeneratorSerialPortActionGeneratorSerialSendString = ActionWithParam
|
|
|
2750
2031
|
params?: Array<
|
|
2751
2032
|
| {
|
|
2752
2033
|
input: 'generatorSerialStringValue'
|
|
2753
|
-
value?: string | DataLink
|
|
2034
|
+
value?: string | DataLink | EventProperty
|
|
2754
2035
|
mapping?: string
|
|
2755
2036
|
}
|
|
2756
2037
|
| {
|
|
2757
2038
|
input: 'generatorSerialStringEncoding'
|
|
2758
|
-
value?: string | DataLink
|
|
2039
|
+
value?: string | DataLink | EventProperty
|
|
2759
2040
|
mapping?: string
|
|
2760
2041
|
}
|
|
2761
2042
|
>
|
|
@@ -2766,7 +2047,7 @@ export type GeneratorSerialPortActionGeneratorSerialSendHex = ActionWithParams &
|
|
|
2766
2047
|
__actionName: 'GENERATOR_SERIAL_SEND_HEX'
|
|
2767
2048
|
params?: Array<{
|
|
2768
2049
|
input: 'generatorSerialHexValue'
|
|
2769
|
-
value?: string | DataLink
|
|
2050
|
+
value?: string | DataLink | EventProperty
|
|
2770
2051
|
mapping?: string
|
|
2771
2052
|
}>
|
|
2772
2053
|
}
|
|
@@ -2818,31 +2099,9 @@ Default property:
|
|
|
2818
2099
|
/* Event for detach the device */
|
|
2819
2100
|
generatorSerialOnDetach?: Array<EventAction>
|
|
2820
2101
|
/* Event on error */
|
|
2821
|
-
generatorSerialOnError?: Array<
|
|
2822
|
-
EventAction & {
|
|
2823
|
-
eventPropertyMapping?: {
|
|
2824
|
-
generatorSerialErrorMessage: {
|
|
2825
|
-
type: 'string'
|
|
2826
|
-
path: string
|
|
2827
|
-
}
|
|
2828
|
-
}
|
|
2829
|
-
}
|
|
2830
|
-
>
|
|
2102
|
+
generatorSerialOnError?: Array<EventAction>
|
|
2831
2103
|
/* Event for receive data */
|
|
2832
|
-
generatorSerialOnData?: Array<
|
|
2833
|
-
EventAction & {
|
|
2834
|
-
eventPropertyMapping?: {
|
|
2835
|
-
generatorSerialDataBase64: {
|
|
2836
|
-
type: 'string'
|
|
2837
|
-
path: string
|
|
2838
|
-
}
|
|
2839
|
-
generatorSerialDataString: {
|
|
2840
|
-
type: 'string'
|
|
2841
|
-
path: string
|
|
2842
|
-
}
|
|
2843
|
-
}
|
|
2844
|
-
}
|
|
2845
|
-
>
|
|
2104
|
+
generatorSerialOnData?: Array<EventAction>
|
|
2846
2105
|
}
|
|
2847
2106
|
outlets?: {
|
|
2848
2107
|
/* Available serial devices */
|
|
@@ -2895,7 +2154,7 @@ export type GeneratorTCPActionSend = ActionWithParams & {
|
|
|
2895
2154
|
__actionName: 'GENERATOR_TCP_SEND'
|
|
2896
2155
|
params?: Array<{
|
|
2897
2156
|
input: 'sendData'
|
|
2898
|
-
value?: string | DataLink
|
|
2157
|
+
value?: string | DataLink | EventProperty
|
|
2899
2158
|
mapping?: string
|
|
2900
2159
|
}>
|
|
2901
2160
|
}
|
|
@@ -2905,7 +2164,7 @@ export type GeneratorTCPActionEnd = ActionWithParams & {
|
|
|
2905
2164
|
__actionName: 'GENERATOR_TCP_END'
|
|
2906
2165
|
params?: Array<{
|
|
2907
2166
|
input: 'endWithData'
|
|
2908
|
-
value?: string | DataLink
|
|
2167
|
+
value?: string | DataLink | EventProperty
|
|
2909
2168
|
mapping?: string
|
|
2910
2169
|
}>
|
|
2911
2170
|
}
|
|
@@ -2955,31 +2214,13 @@ Default property:
|
|
|
2955
2214
|
/* Event of connect successful */
|
|
2956
2215
|
onConnected?: Array<EventAction>
|
|
2957
2216
|
/* Event of receive data */
|
|
2958
|
-
onData?: Array<
|
|
2959
|
-
EventAction & {
|
|
2960
|
-
eventPropertyMapping?: {
|
|
2961
|
-
data: {
|
|
2962
|
-
type: 'string'
|
|
2963
|
-
path: string
|
|
2964
|
-
}
|
|
2965
|
-
}
|
|
2966
|
-
}
|
|
2967
|
-
>
|
|
2217
|
+
onData?: Array<EventAction>
|
|
2968
2218
|
/* Event of connection idle timeout */
|
|
2969
2219
|
onTimeout?: Array<EventAction>
|
|
2970
2220
|
/* Event of connection close */
|
|
2971
2221
|
onClose?: Array<EventAction>
|
|
2972
2222
|
/* Event of connection error */
|
|
2973
|
-
onError?: Array<
|
|
2974
|
-
EventAction & {
|
|
2975
|
-
eventPropertyMapping?: {
|
|
2976
|
-
errorMessage: {
|
|
2977
|
-
type: 'string'
|
|
2978
|
-
path: string
|
|
2979
|
-
}
|
|
2980
|
-
}
|
|
2981
|
-
}
|
|
2982
|
-
>
|
|
2223
|
+
onError?: Array<EventAction>
|
|
2983
2224
|
}
|
|
2984
2225
|
outlets?: {
|
|
2985
2226
|
/* Connection status */
|
|
@@ -3024,12 +2265,12 @@ export type GeneratorTCPServerActionSend = ActionWithParams & {
|
|
|
3024
2265
|
params?: Array<
|
|
3025
2266
|
| {
|
|
3026
2267
|
input: 'remote'
|
|
3027
|
-
value?: string | DataLink
|
|
2268
|
+
value?: string | DataLink | EventProperty
|
|
3028
2269
|
mapping?: string
|
|
3029
2270
|
}
|
|
3030
2271
|
| {
|
|
3031
2272
|
input: 'sendData'
|
|
3032
|
-
value?: string | DataLink
|
|
2273
|
+
value?: string | DataLink | EventProperty
|
|
3033
2274
|
mapping?: string
|
|
3034
2275
|
}
|
|
3035
2276
|
>
|
|
@@ -3041,12 +2282,12 @@ export type GeneratorTCPServerActionEnd = ActionWithParams & {
|
|
|
3041
2282
|
params?: Array<
|
|
3042
2283
|
| {
|
|
3043
2284
|
input: 'remote'
|
|
3044
|
-
value?: string | DataLink
|
|
2285
|
+
value?: string | DataLink | EventProperty
|
|
3045
2286
|
mapping?: string
|
|
3046
2287
|
}
|
|
3047
2288
|
| {
|
|
3048
2289
|
input: 'generatorTcpClientEndWithData'
|
|
3049
|
-
value?: string | DataLink
|
|
2290
|
+
value?: string | DataLink | EventProperty
|
|
3050
2291
|
mapping?: string
|
|
3051
2292
|
}
|
|
3052
2293
|
>
|
|
@@ -3096,64 +2337,15 @@ Default property:
|
|
|
3096
2337
|
/* Event of TCP server is ready */
|
|
3097
2338
|
onReady?: Array<EventAction>
|
|
3098
2339
|
/* Event of TCP server accept the connection */
|
|
3099
|
-
onAcceptConnection?: Array<
|
|
3100
|
-
EventAction & {
|
|
3101
|
-
eventPropertyMapping?: {
|
|
3102
|
-
remote: {
|
|
3103
|
-
type: 'string'
|
|
3104
|
-
path: string
|
|
3105
|
-
}
|
|
3106
|
-
}
|
|
3107
|
-
}
|
|
3108
|
-
>
|
|
2340
|
+
onAcceptConnection?: Array<EventAction>
|
|
3109
2341
|
/* Event of receive data */
|
|
3110
|
-
onData?: Array<
|
|
3111
|
-
EventAction & {
|
|
3112
|
-
eventPropertyMapping?: {
|
|
3113
|
-
remote: {
|
|
3114
|
-
type: 'string'
|
|
3115
|
-
path: string
|
|
3116
|
-
}
|
|
3117
|
-
data: {
|
|
3118
|
-
type: 'string'
|
|
3119
|
-
path: string
|
|
3120
|
-
}
|
|
3121
|
-
}
|
|
3122
|
-
}
|
|
3123
|
-
>
|
|
2342
|
+
onData?: Array<EventAction>
|
|
3124
2343
|
/* Event of connection idle timeout */
|
|
3125
|
-
onTimeout?: Array<
|
|
3126
|
-
EventAction & {
|
|
3127
|
-
eventPropertyMapping?: {
|
|
3128
|
-
remote: {
|
|
3129
|
-
type: 'string'
|
|
3130
|
-
path: string
|
|
3131
|
-
}
|
|
3132
|
-
}
|
|
3133
|
-
}
|
|
3134
|
-
>
|
|
2344
|
+
onTimeout?: Array<EventAction>
|
|
3135
2345
|
/* Event of connection close */
|
|
3136
|
-
onClose?: Array<
|
|
3137
|
-
EventAction & {
|
|
3138
|
-
eventPropertyMapping?: {
|
|
3139
|
-
remote: {
|
|
3140
|
-
type: 'string'
|
|
3141
|
-
path: string
|
|
3142
|
-
}
|
|
3143
|
-
}
|
|
3144
|
-
}
|
|
3145
|
-
>
|
|
2346
|
+
onClose?: Array<EventAction>
|
|
3146
2347
|
/* Event of server or connection error */
|
|
3147
|
-
onError?: Array<
|
|
3148
|
-
EventAction & {
|
|
3149
|
-
eventPropertyMapping?: {
|
|
3150
|
-
errorMessage: {
|
|
3151
|
-
type: 'string'
|
|
3152
|
-
path: string
|
|
3153
|
-
}
|
|
3154
|
-
}
|
|
3155
|
-
}
|
|
3156
|
-
>
|
|
2348
|
+
onError?: Array<EventAction>
|
|
3157
2349
|
}
|
|
3158
2350
|
outlets?: {
|
|
3159
2351
|
/* Is server started */
|
|
@@ -3200,17 +2392,17 @@ export type GeneratorUDPActionSend = ActionWithParams & {
|
|
|
3200
2392
|
params?: Array<
|
|
3201
2393
|
| {
|
|
3202
2394
|
input: 'targetHost'
|
|
3203
|
-
value?: string | DataLink
|
|
2395
|
+
value?: string | DataLink | EventProperty
|
|
3204
2396
|
mapping?: string
|
|
3205
2397
|
}
|
|
3206
2398
|
| {
|
|
3207
2399
|
input: 'targetPort'
|
|
3208
|
-
value?: number | DataLink
|
|
2400
|
+
value?: number | DataLink | EventProperty
|
|
3209
2401
|
mapping?: string
|
|
3210
2402
|
}
|
|
3211
2403
|
| {
|
|
3212
2404
|
input: 'sendData'
|
|
3213
|
-
value?: string | DataLink
|
|
2405
|
+
value?: string | DataLink | EventProperty
|
|
3214
2406
|
mapping?: string
|
|
3215
2407
|
}
|
|
3216
2408
|
>
|
|
@@ -3250,37 +2442,11 @@ Default property:
|
|
|
3250
2442
|
/* Event of UDP port is binded */
|
|
3251
2443
|
onReady?: Array<EventAction>
|
|
3252
2444
|
/* Event of receive data */
|
|
3253
|
-
onData?: Array<
|
|
3254
|
-
EventAction & {
|
|
3255
|
-
eventPropertyMapping?: {
|
|
3256
|
-
remoteAddress: {
|
|
3257
|
-
type: 'string'
|
|
3258
|
-
path: string
|
|
3259
|
-
}
|
|
3260
|
-
remotePort: {
|
|
3261
|
-
type: 'number'
|
|
3262
|
-
path: string
|
|
3263
|
-
}
|
|
3264
|
-
data: {
|
|
3265
|
-
type: 'string'
|
|
3266
|
-
path: string
|
|
3267
|
-
}
|
|
3268
|
-
}
|
|
3269
|
-
}
|
|
3270
|
-
>
|
|
2445
|
+
onData?: Array<EventAction>
|
|
3271
2446
|
/* Event of socket closeed */
|
|
3272
2447
|
onClose?: Array<EventAction>
|
|
3273
2448
|
/* Event of socket error */
|
|
3274
|
-
onError?: Array<
|
|
3275
|
-
EventAction & {
|
|
3276
|
-
eventPropertyMapping?: {
|
|
3277
|
-
errorMessage: {
|
|
3278
|
-
type: 'string'
|
|
3279
|
-
path: string
|
|
3280
|
-
}
|
|
3281
|
-
}
|
|
3282
|
-
}
|
|
3283
|
-
>
|
|
2449
|
+
onError?: Array<EventAction>
|
|
3284
2450
|
}
|
|
3285
2451
|
outlets?: {
|
|
3286
2452
|
/* Local UDP binded port */
|
|
@@ -3413,67 +2579,15 @@ Default property:
|
|
|
3413
2579
|
/* Event of HTTP server is ready */
|
|
3414
2580
|
onReady?: Array<EventAction>
|
|
3415
2581
|
/* Event of HTTP server accept the request */
|
|
3416
|
-
onRequest?: Array<
|
|
3417
|
-
EventAction & {
|
|
3418
|
-
eventPropertyMapping?: {
|
|
3419
|
-
clientAddress: {
|
|
3420
|
-
type: 'string'
|
|
3421
|
-
path: string
|
|
3422
|
-
}
|
|
3423
|
-
requestQuery: {
|
|
3424
|
-
type: 'object'
|
|
3425
|
-
path: string
|
|
3426
|
-
}
|
|
3427
|
-
requestHeaders: {
|
|
3428
|
-
type: 'object'
|
|
3429
|
-
path: string
|
|
3430
|
-
}
|
|
3431
|
-
requestBody: {
|
|
3432
|
-
type: 'any'
|
|
3433
|
-
path: string
|
|
3434
|
-
}
|
|
3435
|
-
}
|
|
3436
|
-
}
|
|
3437
|
-
>
|
|
2582
|
+
onRequest?: Array<EventAction>
|
|
3438
2583
|
/* Event of client close connection */
|
|
3439
|
-
onClientClose?: Array<
|
|
3440
|
-
EventAction & {
|
|
3441
|
-
eventPropertyMapping?: {
|
|
3442
|
-
clientAddress: {
|
|
3443
|
-
type: 'string'
|
|
3444
|
-
path: string
|
|
3445
|
-
}
|
|
3446
|
-
}
|
|
3447
|
-
}
|
|
3448
|
-
>
|
|
2584
|
+
onClientClose?: Array<EventAction>
|
|
3449
2585
|
/* Event of client error */
|
|
3450
|
-
onClientError?: Array<
|
|
3451
|
-
EventAction & {
|
|
3452
|
-
eventPropertyMapping?: {
|
|
3453
|
-
clientAddress: {
|
|
3454
|
-
type: 'string'
|
|
3455
|
-
path: string
|
|
3456
|
-
}
|
|
3457
|
-
errorMessage: {
|
|
3458
|
-
type: 'string'
|
|
3459
|
-
path: string
|
|
3460
|
-
}
|
|
3461
|
-
}
|
|
3462
|
-
}
|
|
3463
|
-
>
|
|
2586
|
+
onClientError?: Array<EventAction>
|
|
3464
2587
|
/* Event of server close */
|
|
3465
2588
|
onClose?: Array<EventAction>
|
|
3466
2589
|
/* Event of server error */
|
|
3467
|
-
onError?: Array<
|
|
3468
|
-
EventAction & {
|
|
3469
|
-
eventPropertyMapping?: {
|
|
3470
|
-
errorMessage: {
|
|
3471
|
-
type: 'string'
|
|
3472
|
-
path: string
|
|
3473
|
-
}
|
|
3474
|
-
}
|
|
3475
|
-
}
|
|
3476
|
-
>
|
|
2590
|
+
onError?: Array<EventAction>
|
|
3477
2591
|
}
|
|
3478
2592
|
outlets?: {
|
|
3479
2593
|
/* Query of request */
|
|
@@ -3517,7 +2631,7 @@ export type GeneratorWebRTCActionProcessInputSignal = ActionWithParams & {
|
|
|
3517
2631
|
__actionName: 'GENERATOR_WEBRTC_PROCESS_INPUT_SIGNAL'
|
|
3518
2632
|
params?: Array<{
|
|
3519
2633
|
input: 'inputSignal'
|
|
3520
|
-
value?: any
|
|
2634
|
+
value?: any | EventProperty
|
|
3521
2635
|
mapping?: string
|
|
3522
2636
|
}>
|
|
3523
2637
|
}
|
|
@@ -3532,7 +2646,7 @@ export type GeneratorWebRTCActionChannelSend = ActionWithParams & {
|
|
|
3532
2646
|
__actionName: 'GENERATOR_WEBRTC_CHANNEL_SEND'
|
|
3533
2647
|
params?: Array<{
|
|
3534
2648
|
input: 'textMessage'
|
|
3535
|
-
value?: string | DataLink
|
|
2649
|
+
value?: string | DataLink | EventProperty
|
|
3536
2650
|
mapping?: string
|
|
3537
2651
|
}>
|
|
3538
2652
|
}
|
|
@@ -3598,46 +2712,19 @@ Default property:
|
|
|
3598
2712
|
}
|
|
3599
2713
|
events?: {
|
|
3600
2714
|
/* Event of signal update */
|
|
3601
|
-
onSignalUpdate?: Array<
|
|
3602
|
-
EventAction & {
|
|
3603
|
-
eventPropertyMapping?: {
|
|
3604
|
-
signal: {
|
|
3605
|
-
type: 'any'
|
|
3606
|
-
path: string
|
|
3607
|
-
}
|
|
3608
|
-
}
|
|
3609
|
-
}
|
|
3610
|
-
>
|
|
2715
|
+
onSignalUpdate?: Array<EventAction>
|
|
3611
2716
|
/* Event of peer connected */
|
|
3612
2717
|
onConnected?: Array<EventAction>
|
|
3613
2718
|
/* Event of peer disconnected */
|
|
3614
2719
|
onDisconnected?: Array<EventAction>
|
|
3615
2720
|
/* Event of handshake error */
|
|
3616
|
-
onError?: Array<
|
|
3617
|
-
EventAction & {
|
|
3618
|
-
eventPropertyMapping?: {
|
|
3619
|
-
errorMessage: {
|
|
3620
|
-
type: 'string'
|
|
3621
|
-
path: string
|
|
3622
|
-
}
|
|
3623
|
-
}
|
|
3624
|
-
}
|
|
3625
|
-
>
|
|
2721
|
+
onError?: Array<EventAction>
|
|
3626
2722
|
/* Event of data channel open */
|
|
3627
2723
|
onChannelOpen?: Array<EventAction>
|
|
3628
2724
|
/* Event of data channel close */
|
|
3629
2725
|
onChannelClose?: Array<EventAction>
|
|
3630
2726
|
/* Event of received message on data channel */
|
|
3631
|
-
onChannelMessage?: Array<
|
|
3632
|
-
EventAction & {
|
|
3633
|
-
eventPropertyMapping?: {
|
|
3634
|
-
textMessage: {
|
|
3635
|
-
type: 'string'
|
|
3636
|
-
path: string
|
|
3637
|
-
}
|
|
3638
|
-
}
|
|
3639
|
-
}
|
|
3640
|
-
>
|
|
2727
|
+
onChannelMessage?: Array<EventAction>
|
|
3641
2728
|
}
|
|
3642
2729
|
outlets?: {
|
|
3643
2730
|
/* Signal to create peer connection */
|
|
@@ -3841,27 +2928,9 @@ Default property:
|
|
|
3841
2928
|
}
|
|
3842
2929
|
events?: {
|
|
3843
2930
|
/* Event for chunk data (Base64 encoded PCM) */
|
|
3844
|
-
chunk?: Array<
|
|
3845
|
-
EventAction & {
|
|
3846
|
-
eventPropertyMapping?: {
|
|
3847
|
-
chunkData: {
|
|
3848
|
-
type: 'string'
|
|
3849
|
-
path: string
|
|
3850
|
-
}
|
|
3851
|
-
}
|
|
3852
|
-
}
|
|
3853
|
-
>
|
|
2931
|
+
chunk?: Array<EventAction>
|
|
3854
2932
|
/* Event for recorded file */
|
|
3855
|
-
recorded?: Array<
|
|
3856
|
-
EventAction & {
|
|
3857
|
-
eventPropertyMapping?: {
|
|
3858
|
-
recordedPath: {
|
|
3859
|
-
type: 'string'
|
|
3860
|
-
path: string
|
|
3861
|
-
}
|
|
3862
|
-
}
|
|
3863
|
-
}
|
|
3864
|
-
>
|
|
2933
|
+
recorded?: Array<EventAction>
|
|
3865
2934
|
}
|
|
3866
2935
|
outlets?: {
|
|
3867
2936
|
/* Is recording */
|
|
@@ -3908,22 +2977,22 @@ export type GeneratorBlePeripheralActionNotify = ActionWithParams & {
|
|
|
3908
2977
|
params?: Array<
|
|
3909
2978
|
| {
|
|
3910
2979
|
input: 'serviceId'
|
|
3911
|
-
value?: string | DataLink
|
|
2980
|
+
value?: string | DataLink | EventProperty
|
|
3912
2981
|
mapping?: string
|
|
3913
2982
|
}
|
|
3914
2983
|
| {
|
|
3915
2984
|
input: 'charId'
|
|
3916
|
-
value?: string | DataLink
|
|
2985
|
+
value?: string | DataLink | EventProperty
|
|
3917
2986
|
mapping?: string
|
|
3918
2987
|
}
|
|
3919
2988
|
| {
|
|
3920
2989
|
input: 'value'
|
|
3921
|
-
value?: string | DataLink
|
|
2990
|
+
value?: string | DataLink | EventProperty
|
|
3922
2991
|
mapping?: string
|
|
3923
2992
|
}
|
|
3924
2993
|
| {
|
|
3925
2994
|
input: 'encoding'
|
|
3926
|
-
value?: 'utf8' | 'hex' | 'base64' | DataLink
|
|
2995
|
+
value?: 'utf8' | 'hex' | 'base64' | DataLink | EventProperty
|
|
3927
2996
|
mapping?: string
|
|
3928
2997
|
}
|
|
3929
2998
|
>
|
|
@@ -4435,16 +3504,7 @@ Default property:
|
|
|
4435
3504
|
/* Event of completed inquire */
|
|
4436
3505
|
onCompleted?: Array<EventAction>
|
|
4437
3506
|
/* Event of error occured */
|
|
4438
|
-
onError?: Array<
|
|
4439
|
-
EventAction & {
|
|
4440
|
-
eventPropertyMapping?: {
|
|
4441
|
-
errorMessage: {
|
|
4442
|
-
type: 'string'
|
|
4443
|
-
path: string
|
|
4444
|
-
}
|
|
4445
|
-
}
|
|
4446
|
-
}
|
|
4447
|
-
>
|
|
3507
|
+
onError?: Array<EventAction>
|
|
4448
3508
|
}
|
|
4449
3509
|
outlets?: {
|
|
4450
3510
|
/* Result data */
|
|
@@ -4486,12 +3546,12 @@ export type GeneratorInformationActionShow = ActionWithParams & {
|
|
|
4486
3546
|
params?: Array<
|
|
4487
3547
|
| {
|
|
4488
3548
|
input: 'displayLanguage'
|
|
4489
|
-
value?: string | DataLink
|
|
3549
|
+
value?: string | DataLink | EventProperty
|
|
4490
3550
|
mapping?: string
|
|
4491
3551
|
}
|
|
4492
3552
|
| {
|
|
4493
3553
|
input: 'content'
|
|
4494
|
-
value?: {} | DataLink
|
|
3554
|
+
value?: {} | DataLink | EventProperty
|
|
4495
3555
|
mapping?: string
|
|
4496
3556
|
}
|
|
4497
3557
|
>
|
|
@@ -4537,16 +3597,7 @@ Default property:
|
|
|
4537
3597
|
/* Trigger when user confirms the information */
|
|
4538
3598
|
onConfirm?: Array<EventAction>
|
|
4539
3599
|
/* Trigger when error occurs */
|
|
4540
|
-
onError?: Array<
|
|
4541
|
-
EventAction & {
|
|
4542
|
-
eventPropertyMapping?: {
|
|
4543
|
-
error: {
|
|
4544
|
-
type: 'string'
|
|
4545
|
-
path: string
|
|
4546
|
-
}
|
|
4547
|
-
}
|
|
4548
|
-
}
|
|
4549
|
-
>
|
|
3600
|
+
onError?: Array<EventAction>
|
|
4550
3601
|
}
|
|
4551
3602
|
outlets?: {
|
|
4552
3603
|
/* Error message */
|
|
@@ -4582,37 +3633,37 @@ export type GeneratorIntentActionSendIntent = ActionWithParams & {
|
|
|
4582
3633
|
params?: Array<
|
|
4583
3634
|
| {
|
|
4584
3635
|
input: 'action'
|
|
4585
|
-
value?: string | DataLink
|
|
3636
|
+
value?: string | DataLink | EventProperty
|
|
4586
3637
|
mapping?: string
|
|
4587
3638
|
}
|
|
4588
3639
|
| {
|
|
4589
3640
|
input: 'data'
|
|
4590
|
-
value?: string | DataLink
|
|
3641
|
+
value?: string | DataLink | EventProperty
|
|
4591
3642
|
mapping?: string
|
|
4592
3643
|
}
|
|
4593
3644
|
| {
|
|
4594
3645
|
input: 'type'
|
|
4595
|
-
value?: string | DataLink
|
|
3646
|
+
value?: string | DataLink | EventProperty
|
|
4596
3647
|
mapping?: string
|
|
4597
3648
|
}
|
|
4598
3649
|
| {
|
|
4599
3650
|
input: 'extra'
|
|
4600
|
-
value?: {} | DataLink
|
|
3651
|
+
value?: {} | DataLink | EventProperty
|
|
4601
3652
|
mapping?: string
|
|
4602
3653
|
}
|
|
4603
3654
|
| {
|
|
4604
3655
|
input: 'className'
|
|
4605
|
-
value?: string | DataLink
|
|
3656
|
+
value?: string | DataLink | EventProperty
|
|
4606
3657
|
mapping?: string
|
|
4607
3658
|
}
|
|
4608
3659
|
| {
|
|
4609
3660
|
input: 'packageName'
|
|
4610
|
-
value?: string | DataLink
|
|
3661
|
+
value?: string | DataLink | EventProperty
|
|
4611
3662
|
mapping?: string
|
|
4612
3663
|
}
|
|
4613
3664
|
| {
|
|
4614
3665
|
input: 'category'
|
|
4615
|
-
value?: string | DataLink
|
|
3666
|
+
value?: string | DataLink | EventProperty
|
|
4616
3667
|
mapping?: string
|
|
4617
3668
|
}
|
|
4618
3669
|
>
|
|
@@ -4641,35 +3692,9 @@ Default property:
|
|
|
4641
3692
|
}
|
|
4642
3693
|
events?: {
|
|
4643
3694
|
/* On intent return a result trigger */
|
|
4644
|
-
onResult?: Array<
|
|
4645
|
-
EventAction & {
|
|
4646
|
-
eventPropertyMapping?: {
|
|
4647
|
-
resultCode: {
|
|
4648
|
-
type: 'number'
|
|
4649
|
-
path: string
|
|
4650
|
-
}
|
|
4651
|
-
resultData: {
|
|
4652
|
-
type: 'string'
|
|
4653
|
-
path: string
|
|
4654
|
-
}
|
|
4655
|
-
resultExtras: {
|
|
4656
|
-
type: 'object'
|
|
4657
|
-
path: string
|
|
4658
|
-
}
|
|
4659
|
-
}
|
|
4660
|
-
}
|
|
4661
|
-
>
|
|
3695
|
+
onResult?: Array<EventAction>
|
|
4662
3696
|
/* On intent error trigger */
|
|
4663
|
-
onError?: Array<
|
|
4664
|
-
EventAction & {
|
|
4665
|
-
eventPropertyMapping?: {
|
|
4666
|
-
error: {
|
|
4667
|
-
type: 'string'
|
|
4668
|
-
path: string
|
|
4669
|
-
}
|
|
4670
|
-
}
|
|
4671
|
-
}
|
|
4672
|
-
>
|
|
3697
|
+
onError?: Array<EventAction>
|
|
4673
3698
|
}
|
|
4674
3699
|
outlets?: {
|
|
4675
3700
|
/* Last intent result */
|
|
@@ -4715,12 +3740,12 @@ export type GeneratorTapPayT2PActionBind = ActionWithParams & {
|
|
|
4715
3740
|
params?: Array<
|
|
4716
3741
|
| {
|
|
4717
3742
|
input: 'bindId'
|
|
4718
|
-
value?: number | DataLink
|
|
3743
|
+
value?: number | DataLink | EventProperty
|
|
4719
3744
|
mapping?: string
|
|
4720
3745
|
}
|
|
4721
3746
|
| {
|
|
4722
3747
|
input: 'bindDescription'
|
|
4723
|
-
value?: string | DataLink
|
|
3748
|
+
value?: string | DataLink | EventProperty
|
|
4724
3749
|
mapping?: string
|
|
4725
3750
|
}
|
|
4726
3751
|
>
|
|
@@ -4742,17 +3767,17 @@ export type GeneratorTapPayT2PActionReadCardAndAuthorization = ActionWithParams
|
|
|
4742
3767
|
params?: Array<
|
|
4743
3768
|
| {
|
|
4744
3769
|
input: 'amount'
|
|
4745
|
-
value?: number | DataLink
|
|
3770
|
+
value?: number | DataLink | EventProperty
|
|
4746
3771
|
mapping?: string
|
|
4747
3772
|
}
|
|
4748
3773
|
| {
|
|
4749
3774
|
input: 'orderNumber'
|
|
4750
|
-
value?: string | DataLink
|
|
3775
|
+
value?: string | DataLink | EventProperty
|
|
4751
3776
|
mapping?: string
|
|
4752
3777
|
}
|
|
4753
3778
|
| {
|
|
4754
3779
|
input: 'bankTransactionId'
|
|
4755
|
-
value?: string | DataLink
|
|
3780
|
+
value?: string | DataLink | EventProperty
|
|
4756
3781
|
mapping?: string
|
|
4757
3782
|
}
|
|
4758
3783
|
>
|
|
@@ -4764,17 +3789,17 @@ export type GeneratorTapPayT2PActionGetReceipt = ActionWithParams & {
|
|
|
4764
3789
|
params?: Array<
|
|
4765
3790
|
| {
|
|
4766
3791
|
input: 'receiptIdentifier'
|
|
4767
|
-
value?: string | DataLink
|
|
3792
|
+
value?: string | DataLink | EventProperty
|
|
4768
3793
|
mapping?: string
|
|
4769
3794
|
}
|
|
4770
3795
|
| {
|
|
4771
3796
|
input: 'type'
|
|
4772
|
-
value?: 'html' | 'pkpass' | DataLink
|
|
3797
|
+
value?: 'html' | 'pkpass' | DataLink | EventProperty
|
|
4773
3798
|
mapping?: string
|
|
4774
3799
|
}
|
|
4775
3800
|
| {
|
|
4776
3801
|
input: 'email'
|
|
4777
|
-
value?: string | DataLink
|
|
3802
|
+
value?: string | DataLink | EventProperty
|
|
4778
3803
|
mapping?: string
|
|
4779
3804
|
}
|
|
4780
3805
|
>
|
|
@@ -4814,46 +3839,11 @@ Default property:
|
|
|
4814
3839
|
/* <No doc yet> */
|
|
4815
3840
|
readerStartConfiguring?: Array<EventAction>
|
|
4816
3841
|
/* <No doc yet> */
|
|
4817
|
-
readerEndConfiguring?: Array<
|
|
4818
|
-
EventAction & {
|
|
4819
|
-
eventPropertyMapping?: {
|
|
4820
|
-
error: {
|
|
4821
|
-
type: 'string'
|
|
4822
|
-
path: string
|
|
4823
|
-
}
|
|
4824
|
-
}
|
|
4825
|
-
}
|
|
4826
|
-
>
|
|
3842
|
+
readerEndConfiguring?: Array<EventAction>
|
|
4827
3843
|
/* <No doc yet> */
|
|
4828
|
-
readerEventDidUpdated?: Array<
|
|
4829
|
-
EventAction & {
|
|
4830
|
-
eventPropertyMapping?: {
|
|
4831
|
-
eventName: {
|
|
4832
|
-
type: 'string'
|
|
4833
|
-
path: string
|
|
4834
|
-
}
|
|
4835
|
-
eventData: {
|
|
4836
|
-
type: 'any'
|
|
4837
|
-
path: string
|
|
4838
|
-
}
|
|
4839
|
-
}
|
|
4840
|
-
}
|
|
4841
|
-
>
|
|
3844
|
+
readerEventDidUpdated?: Array<EventAction>
|
|
4842
3845
|
/* <No doc yet> */
|
|
4843
|
-
onError?: Array<
|
|
4844
|
-
EventAction & {
|
|
4845
|
-
eventPropertyMapping?: {
|
|
4846
|
-
method: {
|
|
4847
|
-
type: 'string'
|
|
4848
|
-
path: string
|
|
4849
|
-
}
|
|
4850
|
-
error: {
|
|
4851
|
-
type: 'string'
|
|
4852
|
-
path: string
|
|
4853
|
-
}
|
|
4854
|
-
}
|
|
4855
|
-
}
|
|
4856
|
-
>
|
|
3846
|
+
onError?: Array<EventAction>
|
|
4857
3847
|
}
|
|
4858
3848
|
outlets?: {
|
|
4859
3849
|
/* undefined */
|
|
@@ -4904,7 +3894,7 @@ export type GeneratorCastlesPayActionSale = ActionWithParams & {
|
|
|
4904
3894
|
__actionName: 'GENERATOR_CASTLES_PAY_SALE'
|
|
4905
3895
|
params?: Array<{
|
|
4906
3896
|
input: 'amount'
|
|
4907
|
-
value?: number | DataLink
|
|
3897
|
+
value?: number | DataLink | EventProperty
|
|
4908
3898
|
mapping?: string
|
|
4909
3899
|
}>
|
|
4910
3900
|
}
|
|
@@ -4914,7 +3904,7 @@ export type GeneratorCastlesPayActionCancelTransaction = ActionWithParams & {
|
|
|
4914
3904
|
__actionName: 'GENERATOR_CASTLES_PAY_CANCEL_TRANSACTION'
|
|
4915
3905
|
params?: Array<{
|
|
4916
3906
|
input: 'transactionId'
|
|
4917
|
-
value?: string | DataLink
|
|
3907
|
+
value?: string | DataLink | EventProperty
|
|
4918
3908
|
mapping?: string
|
|
4919
3909
|
}>
|
|
4920
3910
|
}
|
|
@@ -4932,27 +3922,9 @@ Default property:
|
|
|
4932
3922
|
property?: {}
|
|
4933
3923
|
events?: {
|
|
4934
3924
|
/* Action Success */
|
|
4935
|
-
onActionSuccess?: Array<
|
|
4936
|
-
EventAction & {
|
|
4937
|
-
eventPropertyMapping?: {
|
|
4938
|
-
actionResult: {
|
|
4939
|
-
type: 'object'
|
|
4940
|
-
path: string
|
|
4941
|
-
}
|
|
4942
|
-
}
|
|
4943
|
-
}
|
|
4944
|
-
>
|
|
3925
|
+
onActionSuccess?: Array<EventAction>
|
|
4945
3926
|
/* Action Error */
|
|
4946
|
-
onActionError?: Array<
|
|
4947
|
-
EventAction & {
|
|
4948
|
-
eventPropertyMapping?: {
|
|
4949
|
-
error: {
|
|
4950
|
-
type: 'string'
|
|
4951
|
-
path: string
|
|
4952
|
-
}
|
|
4953
|
-
}
|
|
4954
|
-
}
|
|
4955
|
-
>
|
|
3927
|
+
onActionError?: Array<EventAction>
|
|
4956
3928
|
}
|
|
4957
3929
|
outlets?: {
|
|
4958
3930
|
/* Last Transaction Result */
|
|
@@ -5013,27 +3985,9 @@ Default property:
|
|
|
5013
3985
|
/* Event for speech recognition end */
|
|
5014
3986
|
onSpeechEnd?: Array<EventAction>
|
|
5015
3987
|
/* Event for speech recognition results */
|
|
5016
|
-
onSpeechResults?: Array<
|
|
5017
|
-
EventAction & {
|
|
5018
|
-
eventPropertyMapping?: {
|
|
5019
|
-
recognizedText: {
|
|
5020
|
-
type: 'string'
|
|
5021
|
-
path: string
|
|
5022
|
-
}
|
|
5023
|
-
}
|
|
5024
|
-
}
|
|
5025
|
-
>
|
|
3988
|
+
onSpeechResults?: Array<EventAction>
|
|
5026
3989
|
/* Event for speech recognition error */
|
|
5027
|
-
onSpeechError?: Array<
|
|
5028
|
-
EventAction & {
|
|
5029
|
-
eventPropertyMapping?: {
|
|
5030
|
-
error: {
|
|
5031
|
-
type: 'string'
|
|
5032
|
-
path: string
|
|
5033
|
-
}
|
|
5034
|
-
}
|
|
5035
|
-
}
|
|
5036
|
-
>
|
|
3990
|
+
onSpeechError?: Array<EventAction>
|
|
5037
3991
|
}
|
|
5038
3992
|
outlets?: {
|
|
5039
3993
|
/* Recognized speech text */
|
|
@@ -5088,17 +4042,17 @@ export type GeneratorThermalPrinterActionPrint = ActionWithParams & {
|
|
|
5088
4042
|
params?: Array<
|
|
5089
4043
|
| {
|
|
5090
4044
|
input: 'options'
|
|
5091
|
-
value?: {} | DataLink
|
|
4045
|
+
value?: {} | DataLink | EventProperty
|
|
5092
4046
|
mapping?: string
|
|
5093
4047
|
}
|
|
5094
4048
|
| {
|
|
5095
4049
|
input: 'payload'
|
|
5096
|
-
value?: Array<any> | DataLink
|
|
4050
|
+
value?: Array<any> | DataLink | EventProperty
|
|
5097
4051
|
mapping?: string
|
|
5098
4052
|
}
|
|
5099
4053
|
| {
|
|
5100
4054
|
input: 'rawCommands'
|
|
5101
|
-
value?: string | DataLink
|
|
4055
|
+
value?: string | DataLink | EventProperty
|
|
5102
4056
|
mapping?: string
|
|
5103
4057
|
}
|
|
5104
4058
|
>
|
|
@@ -5206,16 +4160,7 @@ Default property:
|
|
|
5206
4160
|
}
|
|
5207
4161
|
events?: {
|
|
5208
4162
|
/* Event of connection error */
|
|
5209
|
-
onError?: Array<
|
|
5210
|
-
EventAction & {
|
|
5211
|
-
eventPropertyMapping?: {
|
|
5212
|
-
errorMessage: {
|
|
5213
|
-
type: 'string'
|
|
5214
|
-
path: string
|
|
5215
|
-
}
|
|
5216
|
-
}
|
|
5217
|
-
}
|
|
5218
|
-
>
|
|
4163
|
+
onError?: Array<EventAction>
|
|
5219
4164
|
}
|
|
5220
4165
|
outlets?: {
|
|
5221
4166
|
/* Is thermal printer initialized */
|
|
@@ -5257,17 +4202,17 @@ export type GeneratorSqliteActionExecute = ActionWithParams & {
|
|
|
5257
4202
|
params?: Array<
|
|
5258
4203
|
| {
|
|
5259
4204
|
input: 'sql'
|
|
5260
|
-
value?: string | DataLink
|
|
4205
|
+
value?: string | DataLink | EventProperty
|
|
5261
4206
|
mapping?: string
|
|
5262
4207
|
}
|
|
5263
4208
|
| {
|
|
5264
4209
|
input: 'params'
|
|
5265
|
-
value?: Array<any> | DataLink
|
|
4210
|
+
value?: Array<any> | DataLink | EventProperty
|
|
5266
4211
|
mapping?: string
|
|
5267
4212
|
}
|
|
5268
4213
|
| {
|
|
5269
4214
|
input: 'paramsString'
|
|
5270
|
-
value?: string | DataLink
|
|
4215
|
+
value?: string | DataLink | EventProperty
|
|
5271
4216
|
mapping?: string
|
|
5272
4217
|
}
|
|
5273
4218
|
>
|
|
@@ -5279,17 +4224,17 @@ export type GeneratorSqliteActionQuery = ActionWithParams & {
|
|
|
5279
4224
|
params?: Array<
|
|
5280
4225
|
| {
|
|
5281
4226
|
input: 'sql'
|
|
5282
|
-
value?: string | DataLink
|
|
4227
|
+
value?: string | DataLink | EventProperty
|
|
5283
4228
|
mapping?: string
|
|
5284
4229
|
}
|
|
5285
4230
|
| {
|
|
5286
4231
|
input: 'params'
|
|
5287
|
-
value?: Array<any> | DataLink
|
|
4232
|
+
value?: Array<any> | DataLink | EventProperty
|
|
5288
4233
|
mapping?: string
|
|
5289
4234
|
}
|
|
5290
4235
|
| {
|
|
5291
4236
|
input: 'paramsString'
|
|
5292
|
-
value?: string | DataLink
|
|
4237
|
+
value?: string | DataLink | EventProperty
|
|
5293
4238
|
mapping?: string
|
|
5294
4239
|
}
|
|
5295
4240
|
>
|
|
@@ -5321,27 +4266,9 @@ Default property:
|
|
|
5321
4266
|
}
|
|
5322
4267
|
events?: {
|
|
5323
4268
|
/* Event triggered when error occurs */
|
|
5324
|
-
onError?: Array<
|
|
5325
|
-
EventAction & {
|
|
5326
|
-
eventPropertyMapping?: {
|
|
5327
|
-
error: {
|
|
5328
|
-
type: 'string'
|
|
5329
|
-
path: string
|
|
5330
|
-
}
|
|
5331
|
-
}
|
|
5332
|
-
}
|
|
5333
|
-
>
|
|
4269
|
+
onError?: Array<EventAction>
|
|
5334
4270
|
/* Event triggered when query result is ready */
|
|
5335
|
-
onQueryResult?: Array<
|
|
5336
|
-
EventAction & {
|
|
5337
|
-
eventPropertyMapping?: {
|
|
5338
|
-
queryResult: {
|
|
5339
|
-
type: 'array'
|
|
5340
|
-
path: string
|
|
5341
|
-
}
|
|
5342
|
-
}
|
|
5343
|
-
}
|
|
5344
|
-
>
|
|
4271
|
+
onQueryResult?: Array<EventAction>
|
|
5345
4272
|
}
|
|
5346
4273
|
outlets?: {
|
|
5347
4274
|
/* Whether the database is ready */
|
|
@@ -5387,7 +4314,7 @@ export type GeneratorTTSActionGenerate = ActionWithParams & {
|
|
|
5387
4314
|
__actionName: 'GENERATOR_TTS_GENERATE'
|
|
5388
4315
|
params?: Array<{
|
|
5389
4316
|
input: 'text'
|
|
5390
|
-
value?: string | DataLink
|
|
4317
|
+
value?: string | DataLink | EventProperty
|
|
5391
4318
|
mapping?: string
|
|
5392
4319
|
}>
|
|
5393
4320
|
}
|
|
@@ -5498,27 +4425,9 @@ Default property:
|
|
|
5498
4425
|
}
|
|
5499
4426
|
events?: {
|
|
5500
4427
|
/* Event triggered when state change */
|
|
5501
|
-
onContextStateChange?: Array<
|
|
5502
|
-
EventAction & {
|
|
5503
|
-
eventPropertyMapping?: {
|
|
5504
|
-
contextState: {
|
|
5505
|
-
type: 'string'
|
|
5506
|
-
path: string
|
|
5507
|
-
}
|
|
5508
|
-
}
|
|
5509
|
-
}
|
|
5510
|
-
>
|
|
4428
|
+
onContextStateChange?: Array<EventAction>
|
|
5511
4429
|
/* Event triggered when error occurs */
|
|
5512
|
-
onError?: Array<
|
|
5513
|
-
EventAction & {
|
|
5514
|
-
eventPropertyMapping?: {
|
|
5515
|
-
error: {
|
|
5516
|
-
type: 'string'
|
|
5517
|
-
path: string
|
|
5518
|
-
}
|
|
5519
|
-
}
|
|
5520
|
-
}
|
|
5521
|
-
>
|
|
4430
|
+
onError?: Array<EventAction>
|
|
5522
4431
|
}
|
|
5523
4432
|
outlets?: {
|
|
5524
4433
|
/* Context state */
|
|
@@ -5564,12 +4473,12 @@ export type GeneratorOnnxLLMActionInfer = ActionWithParams & {
|
|
|
5564
4473
|
params?: Array<
|
|
5565
4474
|
| {
|
|
5566
4475
|
input: 'prompt'
|
|
5567
|
-
value?: string | DataLink
|
|
4476
|
+
value?: string | DataLink | EventProperty
|
|
5568
4477
|
mapping?: string
|
|
5569
4478
|
}
|
|
5570
4479
|
| {
|
|
5571
4480
|
input: 'chat'
|
|
5572
|
-
value?: Array<any> | DataLink
|
|
4481
|
+
value?: Array<any> | DataLink | EventProperty
|
|
5573
4482
|
mapping?: string
|
|
5574
4483
|
}
|
|
5575
4484
|
>
|
|
@@ -5719,27 +4628,9 @@ Default property:
|
|
|
5719
4628
|
}
|
|
5720
4629
|
events?: {
|
|
5721
4630
|
/* Event triggered when state change */
|
|
5722
|
-
onContextStateChange?: Array<
|
|
5723
|
-
EventAction & {
|
|
5724
|
-
eventPropertyMapping?: {
|
|
5725
|
-
contextState: {
|
|
5726
|
-
type: 'string'
|
|
5727
|
-
path: string
|
|
5728
|
-
}
|
|
5729
|
-
}
|
|
5730
|
-
}
|
|
5731
|
-
>
|
|
4631
|
+
onContextStateChange?: Array<EventAction>
|
|
5732
4632
|
/* Event triggered when error occurs */
|
|
5733
|
-
onError?: Array<
|
|
5734
|
-
EventAction & {
|
|
5735
|
-
eventPropertyMapping?: {
|
|
5736
|
-
error: {
|
|
5737
|
-
type: 'string'
|
|
5738
|
-
path: string
|
|
5739
|
-
}
|
|
5740
|
-
}
|
|
5741
|
-
}
|
|
5742
|
-
>
|
|
4633
|
+
onError?: Array<EventAction>
|
|
5743
4634
|
}
|
|
5744
4635
|
outlets?: {
|
|
5745
4636
|
/* Context state */
|
|
@@ -5784,7 +4675,7 @@ export type GeneratorOnnxSTTActionInfer = ActionWithParams & {
|
|
|
5784
4675
|
__actionName: 'GENERATOR_ONNX_STT_INFER'
|
|
5785
4676
|
params?: Array<{
|
|
5786
4677
|
input: 'audioUri'
|
|
5787
|
-
value?: string | DataLink
|
|
4678
|
+
value?: string | DataLink | EventProperty
|
|
5788
4679
|
mapping?: string
|
|
5789
4680
|
}>
|
|
5790
4681
|
}
|
|
@@ -5975,27 +4866,9 @@ Default property:
|
|
|
5975
4866
|
}
|
|
5976
4867
|
events?: {
|
|
5977
4868
|
/* Event triggered when state change */
|
|
5978
|
-
onContextStateChange?: Array<
|
|
5979
|
-
EventAction & {
|
|
5980
|
-
eventPropertyMapping?: {
|
|
5981
|
-
contextState: {
|
|
5982
|
-
type: 'string'
|
|
5983
|
-
path: string
|
|
5984
|
-
}
|
|
5985
|
-
}
|
|
5986
|
-
}
|
|
5987
|
-
>
|
|
4869
|
+
onContextStateChange?: Array<EventAction>
|
|
5988
4870
|
/* Event triggered when error occurs */
|
|
5989
|
-
onError?: Array<
|
|
5990
|
-
EventAction & {
|
|
5991
|
-
eventPropertyMapping?: {
|
|
5992
|
-
error: {
|
|
5993
|
-
type: 'string'
|
|
5994
|
-
path: string
|
|
5995
|
-
}
|
|
5996
|
-
}
|
|
5997
|
-
}
|
|
5998
|
-
>
|
|
4871
|
+
onError?: Array<EventAction>
|
|
5999
4872
|
}
|
|
6000
4873
|
outlets?: {
|
|
6001
4874
|
/* Context state */
|
|
@@ -6041,27 +4914,27 @@ export type GeneratorSpeechInferenceActionTranscribeFile = ActionWithParams & {
|
|
|
6041
4914
|
params?: Array<
|
|
6042
4915
|
| {
|
|
6043
4916
|
input: 'fileUrl'
|
|
6044
|
-
value?: string | DataLink
|
|
4917
|
+
value?: string | DataLink | EventProperty
|
|
6045
4918
|
mapping?: string
|
|
6046
4919
|
}
|
|
6047
4920
|
| {
|
|
6048
4921
|
input: 'prompt'
|
|
6049
|
-
value?: string | DataLink
|
|
4922
|
+
value?: string | DataLink | EventProperty
|
|
6050
4923
|
mapping?: string
|
|
6051
4924
|
}
|
|
6052
4925
|
| {
|
|
6053
4926
|
input: 'beamSize'
|
|
6054
|
-
value?: number | DataLink
|
|
4927
|
+
value?: number | DataLink | EventProperty
|
|
6055
4928
|
mapping?: string
|
|
6056
4929
|
}
|
|
6057
4930
|
| {
|
|
6058
4931
|
input: 'language'
|
|
6059
|
-
value?: string | DataLink
|
|
4932
|
+
value?: string | DataLink | EventProperty
|
|
6060
4933
|
mapping?: string
|
|
6061
4934
|
}
|
|
6062
4935
|
| {
|
|
6063
4936
|
input: 'translate'
|
|
6064
|
-
value?: boolean | DataLink
|
|
4937
|
+
value?: boolean | DataLink | EventProperty
|
|
6065
4938
|
mapping?: string
|
|
6066
4939
|
}
|
|
6067
4940
|
>
|
|
@@ -6073,27 +4946,27 @@ export type GeneratorSpeechInferenceActionTranscribeData = ActionWithParams & {
|
|
|
6073
4946
|
params?: Array<
|
|
6074
4947
|
| {
|
|
6075
4948
|
input: 'data'
|
|
6076
|
-
value?: any
|
|
4949
|
+
value?: any | EventProperty
|
|
6077
4950
|
mapping?: string
|
|
6078
4951
|
}
|
|
6079
4952
|
| {
|
|
6080
4953
|
input: 'prompt'
|
|
6081
|
-
value?: string | DataLink
|
|
4954
|
+
value?: string | DataLink | EventProperty
|
|
6082
4955
|
mapping?: string
|
|
6083
4956
|
}
|
|
6084
4957
|
| {
|
|
6085
4958
|
input: 'beamSize'
|
|
6086
|
-
value?: number | DataLink
|
|
4959
|
+
value?: number | DataLink | EventProperty
|
|
6087
4960
|
mapping?: string
|
|
6088
4961
|
}
|
|
6089
4962
|
| {
|
|
6090
4963
|
input: 'language'
|
|
6091
|
-
value?: string | DataLink
|
|
4964
|
+
value?: string | DataLink | EventProperty
|
|
6092
4965
|
mapping?: string
|
|
6093
4966
|
}
|
|
6094
4967
|
| {
|
|
6095
4968
|
input: 'translate'
|
|
6096
|
-
value?: boolean | DataLink
|
|
4969
|
+
value?: boolean | DataLink | EventProperty
|
|
6097
4970
|
mapping?: string
|
|
6098
4971
|
}
|
|
6099
4972
|
>
|
|
@@ -6105,62 +4978,62 @@ export type GeneratorSpeechInferenceActionTranscribeRealtime = ActionWithParams
|
|
|
6105
4978
|
params?: Array<
|
|
6106
4979
|
| {
|
|
6107
4980
|
input: 'prompt'
|
|
6108
|
-
value?: string | DataLink
|
|
4981
|
+
value?: string | DataLink | EventProperty
|
|
6109
4982
|
mapping?: string
|
|
6110
4983
|
}
|
|
6111
4984
|
| {
|
|
6112
4985
|
input: 'beamSize'
|
|
6113
|
-
value?: number | DataLink
|
|
4986
|
+
value?: number | DataLink | EventProperty
|
|
6114
4987
|
mapping?: string
|
|
6115
4988
|
}
|
|
6116
4989
|
| {
|
|
6117
4990
|
input: 'language'
|
|
6118
|
-
value?: string | DataLink
|
|
4991
|
+
value?: string | DataLink | EventProperty
|
|
6119
4992
|
mapping?: string
|
|
6120
4993
|
}
|
|
6121
4994
|
| {
|
|
6122
4995
|
input: 'translate'
|
|
6123
|
-
value?: boolean | DataLink
|
|
4996
|
+
value?: boolean | DataLink | EventProperty
|
|
6124
4997
|
mapping?: string
|
|
6125
4998
|
}
|
|
6126
4999
|
| {
|
|
6127
5000
|
input: 'realtimeAudioSeconds'
|
|
6128
|
-
value?: number | DataLink
|
|
5001
|
+
value?: number | DataLink | EventProperty
|
|
6129
5002
|
mapping?: string
|
|
6130
5003
|
}
|
|
6131
5004
|
| {
|
|
6132
5005
|
input: 'realtimeAudioSliceSeconds'
|
|
6133
|
-
value?: number | DataLink
|
|
5006
|
+
value?: number | DataLink | EventProperty
|
|
6134
5007
|
mapping?: string
|
|
6135
5008
|
}
|
|
6136
5009
|
| {
|
|
6137
5010
|
input: 'realtimeAudioMinSeconds'
|
|
6138
|
-
value?: number | DataLink
|
|
5011
|
+
value?: number | DataLink | EventProperty
|
|
6139
5012
|
mapping?: string
|
|
6140
5013
|
}
|
|
6141
5014
|
| {
|
|
6142
5015
|
input: 'realtimeSaveAudio'
|
|
6143
|
-
value?: boolean | DataLink
|
|
5016
|
+
value?: boolean | DataLink | EventProperty
|
|
6144
5017
|
mapping?: string
|
|
6145
5018
|
}
|
|
6146
5019
|
| {
|
|
6147
5020
|
input: 'realtimeVadEnabled'
|
|
6148
|
-
value?: boolean | DataLink
|
|
5021
|
+
value?: boolean | DataLink | EventProperty
|
|
6149
5022
|
mapping?: string
|
|
6150
5023
|
}
|
|
6151
5024
|
| {
|
|
6152
5025
|
input: 'realtimeVadMs'
|
|
6153
|
-
value?: number | DataLink
|
|
5026
|
+
value?: number | DataLink | EventProperty
|
|
6154
5027
|
mapping?: string
|
|
6155
5028
|
}
|
|
6156
5029
|
| {
|
|
6157
5030
|
input: 'realtimeVadThold'
|
|
6158
|
-
value?: number | DataLink
|
|
5031
|
+
value?: number | DataLink | EventProperty
|
|
6159
5032
|
mapping?: string
|
|
6160
5033
|
}
|
|
6161
5034
|
| {
|
|
6162
5035
|
input: 'realtimeVadFreqThold'
|
|
6163
|
-
value?: number | DataLink
|
|
5036
|
+
value?: number | DataLink | EventProperty
|
|
6164
5037
|
mapping?: string
|
|
6165
5038
|
}
|
|
6166
5039
|
>
|
|
@@ -6415,54 +5288,11 @@ Default property:
|
|
|
6415
5288
|
}
|
|
6416
5289
|
events?: {
|
|
6417
5290
|
/* Event triggered when load is done */
|
|
6418
|
-
onContextStateChange?: Array<
|
|
6419
|
-
EventAction & {
|
|
6420
|
-
eventPropertyMapping?: {
|
|
6421
|
-
contextState: {
|
|
6422
|
-
type: 'string'
|
|
6423
|
-
path: string
|
|
6424
|
-
}
|
|
6425
|
-
contextDetails: {
|
|
6426
|
-
type: 'object'
|
|
6427
|
-
path: string
|
|
6428
|
-
}
|
|
6429
|
-
}
|
|
6430
|
-
}
|
|
6431
|
-
>
|
|
5291
|
+
onContextStateChange?: Array<EventAction>
|
|
6432
5292
|
/* Event triggered when error occurs */
|
|
6433
|
-
onError?: Array<
|
|
6434
|
-
EventAction & {
|
|
6435
|
-
eventPropertyMapping?: {
|
|
6436
|
-
error: {
|
|
6437
|
-
type: 'string'
|
|
6438
|
-
path: string
|
|
6439
|
-
}
|
|
6440
|
-
}
|
|
6441
|
-
}
|
|
6442
|
-
>
|
|
5293
|
+
onError?: Array<EventAction>
|
|
6443
5294
|
/* Event triggered when got transcribe result */
|
|
6444
|
-
onTranscribed?: Array<
|
|
6445
|
-
EventAction & {
|
|
6446
|
-
eventPropertyMapping?: {
|
|
6447
|
-
transcribeResult: {
|
|
6448
|
-
type: 'string'
|
|
6449
|
-
path: string
|
|
6450
|
-
}
|
|
6451
|
-
transcribeStartTime: {
|
|
6452
|
-
type: 'number'
|
|
6453
|
-
path: string
|
|
6454
|
-
}
|
|
6455
|
-
transcribeEndTime: {
|
|
6456
|
-
type: 'number'
|
|
6457
|
-
path: string
|
|
6458
|
-
}
|
|
6459
|
-
transcribeTime: {
|
|
6460
|
-
type: 'number'
|
|
6461
|
-
path: string
|
|
6462
|
-
}
|
|
6463
|
-
}
|
|
6464
|
-
}
|
|
6465
|
-
>
|
|
5295
|
+
onTranscribed?: Array<EventAction>
|
|
6466
5296
|
/* Event triggered when transcribe realtime done */
|
|
6467
5297
|
onRealtimeStop?: Array<EventAction>
|
|
6468
5298
|
}
|
|
@@ -6524,52 +5354,52 @@ export type GeneratorLLMActionProcessPrompt = ActionWithParams & {
|
|
|
6524
5354
|
params?: Array<
|
|
6525
5355
|
| {
|
|
6526
5356
|
input: 'sessionKey'
|
|
6527
|
-
value?: string | DataLink
|
|
5357
|
+
value?: string | DataLink | EventProperty
|
|
6528
5358
|
mapping?: string
|
|
6529
5359
|
}
|
|
6530
5360
|
| {
|
|
6531
5361
|
input: 'mode'
|
|
6532
|
-
value?: string | DataLink
|
|
5362
|
+
value?: string | DataLink | EventProperty
|
|
6533
5363
|
mapping?: string
|
|
6534
5364
|
}
|
|
6535
5365
|
| {
|
|
6536
5366
|
input: 'messages'
|
|
6537
|
-
value?: Array<any> | DataLink
|
|
5367
|
+
value?: Array<any> | DataLink | EventProperty
|
|
6538
5368
|
mapping?: string
|
|
6539
5369
|
}
|
|
6540
5370
|
| {
|
|
6541
5371
|
input: 'tools'
|
|
6542
|
-
value?: Array<any> | DataLink
|
|
5372
|
+
value?: Array<any> | DataLink | EventProperty
|
|
6543
5373
|
mapping?: string
|
|
6544
5374
|
}
|
|
6545
5375
|
| {
|
|
6546
5376
|
input: 'parallelToolCalls'
|
|
6547
|
-
value?: boolean | DataLink
|
|
5377
|
+
value?: boolean | DataLink | EventProperty
|
|
6548
5378
|
mapping?: string
|
|
6549
5379
|
}
|
|
6550
5380
|
| {
|
|
6551
5381
|
input: 'toolChoice'
|
|
6552
|
-
value?: string | DataLink
|
|
5382
|
+
value?: string | DataLink | EventProperty
|
|
6553
5383
|
mapping?: string
|
|
6554
5384
|
}
|
|
6555
5385
|
| {
|
|
6556
5386
|
input: 'prompt'
|
|
6557
|
-
value?: string | DataLink
|
|
5387
|
+
value?: string | DataLink | EventProperty
|
|
6558
5388
|
mapping?: string
|
|
6559
5389
|
}
|
|
6560
5390
|
| {
|
|
6561
5391
|
input: 'promptTemplateData'
|
|
6562
|
-
value?: {} | DataLink
|
|
5392
|
+
value?: {} | DataLink | EventProperty
|
|
6563
5393
|
mapping?: string
|
|
6564
5394
|
}
|
|
6565
5395
|
| {
|
|
6566
5396
|
input: 'promptTemplateType'
|
|
6567
|
-
value?: string | DataLink
|
|
5397
|
+
value?: string | DataLink | EventProperty
|
|
6568
5398
|
mapping?: string
|
|
6569
5399
|
}
|
|
6570
5400
|
| {
|
|
6571
5401
|
input: 'responseFormat'
|
|
6572
|
-
value?: {} | DataLink
|
|
5402
|
+
value?: {} | DataLink | EventProperty
|
|
6573
5403
|
mapping?: string
|
|
6574
5404
|
}
|
|
6575
5405
|
>
|
|
@@ -6581,187 +5411,187 @@ export type GeneratorLLMActionCompletion = ActionWithParams & {
|
|
|
6581
5411
|
params?: Array<
|
|
6582
5412
|
| {
|
|
6583
5413
|
input: 'sessionKey'
|
|
6584
|
-
value?: string | DataLink
|
|
5414
|
+
value?: string | DataLink | EventProperty
|
|
6585
5415
|
mapping?: string
|
|
6586
5416
|
}
|
|
6587
5417
|
| {
|
|
6588
5418
|
input: 'mode'
|
|
6589
|
-
value?: string | DataLink
|
|
5419
|
+
value?: string | DataLink | EventProperty
|
|
6590
5420
|
mapping?: string
|
|
6591
5421
|
}
|
|
6592
5422
|
| {
|
|
6593
5423
|
input: 'messages'
|
|
6594
|
-
value?: Array<any> | DataLink
|
|
5424
|
+
value?: Array<any> | DataLink | EventProperty
|
|
6595
5425
|
mapping?: string
|
|
6596
5426
|
}
|
|
6597
5427
|
| {
|
|
6598
5428
|
input: 'tools'
|
|
6599
|
-
value?: Array<any> | DataLink
|
|
5429
|
+
value?: Array<any> | DataLink | EventProperty
|
|
6600
5430
|
mapping?: string
|
|
6601
5431
|
}
|
|
6602
5432
|
| {
|
|
6603
5433
|
input: 'parallelToolCalls'
|
|
6604
|
-
value?: boolean | DataLink
|
|
5434
|
+
value?: boolean | DataLink | EventProperty
|
|
6605
5435
|
mapping?: string
|
|
6606
5436
|
}
|
|
6607
5437
|
| {
|
|
6608
5438
|
input: 'toolChoice'
|
|
6609
|
-
value?: string | DataLink
|
|
5439
|
+
value?: string | DataLink | EventProperty
|
|
6610
5440
|
mapping?: string
|
|
6611
5441
|
}
|
|
6612
5442
|
| {
|
|
6613
5443
|
input: 'prompt'
|
|
6614
|
-
value?: string | DataLink
|
|
5444
|
+
value?: string | DataLink | EventProperty
|
|
6615
5445
|
mapping?: string
|
|
6616
5446
|
}
|
|
6617
5447
|
| {
|
|
6618
5448
|
input: 'promptTemplateData'
|
|
6619
|
-
value?: {} | DataLink
|
|
5449
|
+
value?: {} | DataLink | EventProperty
|
|
6620
5450
|
mapping?: string
|
|
6621
5451
|
}
|
|
6622
5452
|
| {
|
|
6623
5453
|
input: 'promptTemplateType'
|
|
6624
|
-
value?: string | DataLink
|
|
5454
|
+
value?: string | DataLink | EventProperty
|
|
6625
5455
|
mapping?: string
|
|
6626
5456
|
}
|
|
6627
5457
|
| {
|
|
6628
5458
|
input: 'responseFormat'
|
|
6629
|
-
value?: {} | DataLink
|
|
5459
|
+
value?: {} | DataLink | EventProperty
|
|
6630
5460
|
mapping?: string
|
|
6631
5461
|
}
|
|
6632
5462
|
| {
|
|
6633
5463
|
input: 'grammar'
|
|
6634
|
-
value?: string | DataLink
|
|
5464
|
+
value?: string | DataLink | EventProperty
|
|
6635
5465
|
mapping?: string
|
|
6636
5466
|
}
|
|
6637
5467
|
| {
|
|
6638
5468
|
input: 'stopWords'
|
|
6639
|
-
value?: Array<any> | DataLink
|
|
5469
|
+
value?: Array<any> | DataLink | EventProperty
|
|
6640
5470
|
mapping?: string
|
|
6641
5471
|
}
|
|
6642
5472
|
| {
|
|
6643
5473
|
input: 'predict'
|
|
6644
|
-
value?: number | DataLink
|
|
5474
|
+
value?: number | DataLink | EventProperty
|
|
6645
5475
|
mapping?: string
|
|
6646
5476
|
}
|
|
6647
5477
|
| {
|
|
6648
5478
|
input: 'temperature'
|
|
6649
|
-
value?: number | DataLink
|
|
5479
|
+
value?: number | DataLink | EventProperty
|
|
6650
5480
|
mapping?: string
|
|
6651
5481
|
}
|
|
6652
5482
|
| {
|
|
6653
5483
|
input: 'probs'
|
|
6654
|
-
value?: number | DataLink
|
|
5484
|
+
value?: number | DataLink | EventProperty
|
|
6655
5485
|
mapping?: string
|
|
6656
5486
|
}
|
|
6657
5487
|
| {
|
|
6658
5488
|
input: 'topK'
|
|
6659
|
-
value?: number | DataLink
|
|
5489
|
+
value?: number | DataLink | EventProperty
|
|
6660
5490
|
mapping?: string
|
|
6661
5491
|
}
|
|
6662
5492
|
| {
|
|
6663
5493
|
input: 'topP'
|
|
6664
|
-
value?: number | DataLink
|
|
5494
|
+
value?: number | DataLink | EventProperty
|
|
6665
5495
|
mapping?: string
|
|
6666
5496
|
}
|
|
6667
5497
|
| {
|
|
6668
5498
|
input: 'xtcThreshold'
|
|
6669
|
-
value?: number | DataLink
|
|
5499
|
+
value?: number | DataLink | EventProperty
|
|
6670
5500
|
mapping?: string
|
|
6671
5501
|
}
|
|
6672
5502
|
| {
|
|
6673
5503
|
input: 'xtcProbability'
|
|
6674
|
-
value?: number | DataLink
|
|
5504
|
+
value?: number | DataLink | EventProperty
|
|
6675
5505
|
mapping?: string
|
|
6676
5506
|
}
|
|
6677
5507
|
| {
|
|
6678
5508
|
input: 'dryMultiplier'
|
|
6679
|
-
value?: number | DataLink
|
|
5509
|
+
value?: number | DataLink | EventProperty
|
|
6680
5510
|
mapping?: string
|
|
6681
5511
|
}
|
|
6682
5512
|
| {
|
|
6683
5513
|
input: 'dryBase'
|
|
6684
|
-
value?: number | DataLink
|
|
5514
|
+
value?: number | DataLink | EventProperty
|
|
6685
5515
|
mapping?: string
|
|
6686
5516
|
}
|
|
6687
5517
|
| {
|
|
6688
5518
|
input: 'dryAllowedLength'
|
|
6689
|
-
value?: number | DataLink
|
|
5519
|
+
value?: number | DataLink | EventProperty
|
|
6690
5520
|
mapping?: string
|
|
6691
5521
|
}
|
|
6692
5522
|
| {
|
|
6693
5523
|
input: 'dryPenaltyLastN'
|
|
6694
|
-
value?: number | DataLink
|
|
5524
|
+
value?: number | DataLink | EventProperty
|
|
6695
5525
|
mapping?: string
|
|
6696
5526
|
}
|
|
6697
5527
|
| {
|
|
6698
5528
|
input: 'drySequenceBreakers'
|
|
6699
|
-
value?: Array<any> | DataLink
|
|
5529
|
+
value?: Array<any> | DataLink | EventProperty
|
|
6700
5530
|
mapping?: string
|
|
6701
5531
|
}
|
|
6702
5532
|
| {
|
|
6703
5533
|
input: 'mirostat'
|
|
6704
|
-
value?: number | DataLink
|
|
5534
|
+
value?: number | DataLink | EventProperty
|
|
6705
5535
|
mapping?: string
|
|
6706
5536
|
}
|
|
6707
5537
|
| {
|
|
6708
5538
|
input: 'mirostatTau'
|
|
6709
|
-
value?: number | DataLink
|
|
5539
|
+
value?: number | DataLink | EventProperty
|
|
6710
5540
|
mapping?: string
|
|
6711
5541
|
}
|
|
6712
5542
|
| {
|
|
6713
5543
|
input: 'mirostatEta'
|
|
6714
|
-
value?: number | DataLink
|
|
5544
|
+
value?: number | DataLink | EventProperty
|
|
6715
5545
|
mapping?: string
|
|
6716
5546
|
}
|
|
6717
5547
|
| {
|
|
6718
5548
|
input: 'penaltyLastN'
|
|
6719
|
-
value?: number | DataLink
|
|
5549
|
+
value?: number | DataLink | EventProperty
|
|
6720
5550
|
mapping?: string
|
|
6721
5551
|
}
|
|
6722
5552
|
| {
|
|
6723
5553
|
input: 'penaltyRepeat'
|
|
6724
|
-
value?: number | DataLink
|
|
5554
|
+
value?: number | DataLink | EventProperty
|
|
6725
5555
|
mapping?: string
|
|
6726
5556
|
}
|
|
6727
5557
|
| {
|
|
6728
5558
|
input: 'penaltyFrequency'
|
|
6729
|
-
value?: number | DataLink
|
|
5559
|
+
value?: number | DataLink | EventProperty
|
|
6730
5560
|
mapping?: string
|
|
6731
5561
|
}
|
|
6732
5562
|
| {
|
|
6733
5563
|
input: 'penaltyPresent'
|
|
6734
|
-
value?: number | DataLink
|
|
5564
|
+
value?: number | DataLink | EventProperty
|
|
6735
5565
|
mapping?: string
|
|
6736
5566
|
}
|
|
6737
5567
|
| {
|
|
6738
5568
|
input: 'penalizeNewline'
|
|
6739
|
-
value?: boolean | DataLink
|
|
5569
|
+
value?: boolean | DataLink | EventProperty
|
|
6740
5570
|
mapping?: string
|
|
6741
5571
|
}
|
|
6742
5572
|
| {
|
|
6743
5573
|
input: 'seed'
|
|
6744
|
-
value?: number | DataLink
|
|
5574
|
+
value?: number | DataLink | EventProperty
|
|
6745
5575
|
mapping?: string
|
|
6746
5576
|
}
|
|
6747
5577
|
| {
|
|
6748
5578
|
input: 'typicalP'
|
|
6749
|
-
value?: number | DataLink
|
|
5579
|
+
value?: number | DataLink | EventProperty
|
|
6750
5580
|
mapping?: string
|
|
6751
5581
|
}
|
|
6752
5582
|
| {
|
|
6753
5583
|
input: 'ignoreEos'
|
|
6754
|
-
value?: boolean | DataLink
|
|
5584
|
+
value?: boolean | DataLink | EventProperty
|
|
6755
5585
|
mapping?: string
|
|
6756
5586
|
}
|
|
6757
5587
|
| {
|
|
6758
5588
|
input: 'functionCallEnabled'
|
|
6759
|
-
value?: boolean | DataLink
|
|
5589
|
+
value?: boolean | DataLink | EventProperty
|
|
6760
5590
|
mapping?: string
|
|
6761
5591
|
}
|
|
6762
5592
|
| {
|
|
6763
5593
|
input: 'functionCallSchema'
|
|
6764
|
-
value?: Array<any> | DataLink
|
|
5594
|
+
value?: Array<any> | DataLink | EventProperty
|
|
6765
5595
|
mapping?: string
|
|
6766
5596
|
}
|
|
6767
5597
|
>
|
|
@@ -6773,12 +5603,12 @@ export type GeneratorLLMActionClearSession = ActionWithParams & {
|
|
|
6773
5603
|
params?: Array<
|
|
6774
5604
|
| {
|
|
6775
5605
|
input: 'sessionId'
|
|
6776
|
-
value?: string | DataLink
|
|
5606
|
+
value?: string | DataLink | EventProperty
|
|
6777
5607
|
mapping?: string
|
|
6778
5608
|
}
|
|
6779
5609
|
| {
|
|
6780
5610
|
input: 'sessionCustomKey'
|
|
6781
|
-
value?: string | DataLink
|
|
5611
|
+
value?: string | DataLink | EventProperty
|
|
6782
5612
|
mapping?: string
|
|
6783
5613
|
}
|
|
6784
5614
|
>
|
|
@@ -7011,104 +5841,15 @@ Default property:
|
|
|
7011
5841
|
}
|
|
7012
5842
|
events?: {
|
|
7013
5843
|
/* Event triggered when load is done */
|
|
7014
|
-
onContextStateChange?: Array<
|
|
7015
|
-
EventAction & {
|
|
7016
|
-
eventPropertyMapping?: {
|
|
7017
|
-
contextState: {
|
|
7018
|
-
type: 'string'
|
|
7019
|
-
path: string
|
|
7020
|
-
}
|
|
7021
|
-
contextDetails: {
|
|
7022
|
-
type: 'object'
|
|
7023
|
-
path: string
|
|
7024
|
-
}
|
|
7025
|
-
}
|
|
7026
|
-
}
|
|
7027
|
-
>
|
|
5844
|
+
onContextStateChange?: Array<EventAction>
|
|
7028
5845
|
/* Event triggered when error occurs */
|
|
7029
|
-
onError?: Array<
|
|
7030
|
-
EventAction & {
|
|
7031
|
-
eventPropertyMapping?: {
|
|
7032
|
-
error: {
|
|
7033
|
-
type: 'string'
|
|
7034
|
-
path: string
|
|
7035
|
-
}
|
|
7036
|
-
}
|
|
7037
|
-
}
|
|
7038
|
-
>
|
|
5846
|
+
onError?: Array<EventAction>
|
|
7039
5847
|
/* Event triggered when completion */
|
|
7040
|
-
onCompletion?: Array<
|
|
7041
|
-
EventAction & {
|
|
7042
|
-
eventPropertyMapping?: {
|
|
7043
|
-
completionSessionKey: {
|
|
7044
|
-
type: 'string'
|
|
7045
|
-
path: string
|
|
7046
|
-
}
|
|
7047
|
-
completionResult: {
|
|
7048
|
-
type: 'string'
|
|
7049
|
-
path: string
|
|
7050
|
-
}
|
|
7051
|
-
completionFullContext: {
|
|
7052
|
-
type: 'string'
|
|
7053
|
-
path: string
|
|
7054
|
-
}
|
|
7055
|
-
completionResultDetails: {
|
|
7056
|
-
type: 'object'
|
|
7057
|
-
path: string
|
|
7058
|
-
}
|
|
7059
|
-
}
|
|
7060
|
-
}
|
|
7061
|
-
>
|
|
5848
|
+
onCompletion?: Array<EventAction>
|
|
7062
5849
|
/* Event triggered when completion finished */
|
|
7063
|
-
onCompletionFinished?: Array<
|
|
7064
|
-
EventAction & {
|
|
7065
|
-
eventPropertyMapping?: {
|
|
7066
|
-
completionSessionKey: {
|
|
7067
|
-
type: 'string'
|
|
7068
|
-
path: string
|
|
7069
|
-
}
|
|
7070
|
-
completionResult: {
|
|
7071
|
-
type: 'string'
|
|
7072
|
-
path: string
|
|
7073
|
-
}
|
|
7074
|
-
completionToolCalls: {
|
|
7075
|
-
type: 'array'
|
|
7076
|
-
path: string
|
|
7077
|
-
}
|
|
7078
|
-
completionFullContext: {
|
|
7079
|
-
type: 'string'
|
|
7080
|
-
path: string
|
|
7081
|
-
}
|
|
7082
|
-
completionResultDetails: {
|
|
7083
|
-
type: 'object'
|
|
7084
|
-
path: string
|
|
7085
|
-
}
|
|
7086
|
-
}
|
|
7087
|
-
}
|
|
7088
|
-
>
|
|
5850
|
+
onCompletionFinished?: Array<EventAction>
|
|
7089
5851
|
/* Event triggered on get function call request */
|
|
7090
|
-
onCompletionFunctionCall?: Array<
|
|
7091
|
-
EventAction & {
|
|
7092
|
-
eventPropertyMapping?: {
|
|
7093
|
-
completionSessionKey: {
|
|
7094
|
-
type: 'string'
|
|
7095
|
-
path: string
|
|
7096
|
-
}
|
|
7097
|
-
completionFunctionCallName: {
|
|
7098
|
-
type: 'string'
|
|
7099
|
-
path: string
|
|
7100
|
-
}
|
|
7101
|
-
completionFunctionArguments: {
|
|
7102
|
-
type: 'object'
|
|
7103
|
-
path: string
|
|
7104
|
-
}
|
|
7105
|
-
completionFunctionDetails: {
|
|
7106
|
-
type: 'object'
|
|
7107
|
-
path: string
|
|
7108
|
-
}
|
|
7109
|
-
}
|
|
7110
|
-
}
|
|
7111
|
-
>
|
|
5852
|
+
onCompletionFunctionCall?: Array<EventAction>
|
|
7112
5853
|
}
|
|
7113
5854
|
outlets?: {
|
|
7114
5855
|
/* Context state */
|
|
@@ -7179,57 +5920,57 @@ export type GeneratorOpenAILLMActionCompletion = ActionWithParams & {
|
|
|
7179
5920
|
params?: Array<
|
|
7180
5921
|
| {
|
|
7181
5922
|
input: 'messages'
|
|
7182
|
-
value?: Array<any> | DataLink
|
|
5923
|
+
value?: Array<any> | DataLink | EventProperty
|
|
7183
5924
|
mapping?: string
|
|
7184
5925
|
}
|
|
7185
5926
|
| {
|
|
7186
5927
|
input: 'maxTokens'
|
|
7187
|
-
value?: number | DataLink
|
|
5928
|
+
value?: number | DataLink | EventProperty
|
|
7188
5929
|
mapping?: string
|
|
7189
5930
|
}
|
|
7190
5931
|
| {
|
|
7191
5932
|
input: 'temperature'
|
|
7192
|
-
value?: number | DataLink
|
|
5933
|
+
value?: number | DataLink | EventProperty
|
|
7193
5934
|
mapping?: string
|
|
7194
5935
|
}
|
|
7195
5936
|
| {
|
|
7196
5937
|
input: 'topP'
|
|
7197
|
-
value?: number | DataLink
|
|
5938
|
+
value?: number | DataLink | EventProperty
|
|
7198
5939
|
mapping?: string
|
|
7199
5940
|
}
|
|
7200
5941
|
| {
|
|
7201
5942
|
input: 'frequencyPenalty'
|
|
7202
|
-
value?: number | DataLink
|
|
5943
|
+
value?: number | DataLink | EventProperty
|
|
7203
5944
|
mapping?: string
|
|
7204
5945
|
}
|
|
7205
5946
|
| {
|
|
7206
5947
|
input: 'presencePenalty'
|
|
7207
|
-
value?: number | DataLink
|
|
5948
|
+
value?: number | DataLink | EventProperty
|
|
7208
5949
|
mapping?: string
|
|
7209
5950
|
}
|
|
7210
5951
|
| {
|
|
7211
5952
|
input: 'stop'
|
|
7212
|
-
value?: Array<any> | DataLink
|
|
5953
|
+
value?: Array<any> | DataLink | EventProperty
|
|
7213
5954
|
mapping?: string
|
|
7214
5955
|
}
|
|
7215
5956
|
| {
|
|
7216
5957
|
input: 'tools'
|
|
7217
|
-
value?: {} | DataLink
|
|
5958
|
+
value?: {} | DataLink | EventProperty
|
|
7218
5959
|
mapping?: string
|
|
7219
5960
|
}
|
|
7220
5961
|
| {
|
|
7221
5962
|
input: 'toolChoice'
|
|
7222
|
-
value?: string | DataLink
|
|
5963
|
+
value?: string | DataLink | EventProperty
|
|
7223
5964
|
mapping?: string
|
|
7224
5965
|
}
|
|
7225
5966
|
| {
|
|
7226
5967
|
input: 'parallelToolCalls'
|
|
7227
|
-
value?: boolean | DataLink
|
|
5968
|
+
value?: boolean | DataLink | EventProperty
|
|
7228
5969
|
mapping?: string
|
|
7229
5970
|
}
|
|
7230
5971
|
| {
|
|
7231
5972
|
input: 'responseFormat'
|
|
7232
|
-
value?: {} | DataLink
|
|
5973
|
+
value?: {} | DataLink | EventProperty
|
|
7233
5974
|
mapping?: string
|
|
7234
5975
|
}
|
|
7235
5976
|
>
|
|
@@ -7316,61 +6057,13 @@ Default property:
|
|
|
7316
6057
|
}
|
|
7317
6058
|
events?: {
|
|
7318
6059
|
/* Error event */
|
|
7319
|
-
onError?: Array<
|
|
7320
|
-
EventAction & {
|
|
7321
|
-
eventPropertyMapping?: {
|
|
7322
|
-
error: {
|
|
7323
|
-
type: 'string'
|
|
7324
|
-
path: string
|
|
7325
|
-
}
|
|
7326
|
-
}
|
|
7327
|
-
}
|
|
7328
|
-
>
|
|
6060
|
+
onError?: Array<EventAction>
|
|
7329
6061
|
/* Completion event */
|
|
7330
|
-
onCompletion?: Array<
|
|
7331
|
-
EventAction & {
|
|
7332
|
-
eventPropertyMapping?: {
|
|
7333
|
-
completionResult: {
|
|
7334
|
-
type: 'string'
|
|
7335
|
-
path: string
|
|
7336
|
-
}
|
|
7337
|
-
completionDetails: {
|
|
7338
|
-
type: 'object'
|
|
7339
|
-
path: string
|
|
7340
|
-
}
|
|
7341
|
-
}
|
|
7342
|
-
}
|
|
7343
|
-
>
|
|
6062
|
+
onCompletion?: Array<EventAction>
|
|
7344
6063
|
/* Completion finished event */
|
|
7345
|
-
onCompletionFinished?: Array<
|
|
7346
|
-
EventAction & {
|
|
7347
|
-
eventPropertyMapping?: {
|
|
7348
|
-
completionResult: {
|
|
7349
|
-
type: 'string'
|
|
7350
|
-
path: string
|
|
7351
|
-
}
|
|
7352
|
-
toolCalls: {
|
|
7353
|
-
type: 'array'
|
|
7354
|
-
path: string
|
|
7355
|
-
}
|
|
7356
|
-
}
|
|
7357
|
-
}
|
|
7358
|
-
>
|
|
6064
|
+
onCompletionFinished?: Array<EventAction>
|
|
7359
6065
|
/* Completion function call event */
|
|
7360
|
-
onCompletionFunctionCall?: Array<
|
|
7361
|
-
EventAction & {
|
|
7362
|
-
eventPropertyMapping?: {
|
|
7363
|
-
completionFunctionCallName: {
|
|
7364
|
-
type: 'string'
|
|
7365
|
-
path: string
|
|
7366
|
-
}
|
|
7367
|
-
completionFunctionArguments: {
|
|
7368
|
-
type: 'string'
|
|
7369
|
-
path: string
|
|
7370
|
-
}
|
|
7371
|
-
}
|
|
7372
|
-
}
|
|
7373
|
-
>
|
|
6066
|
+
onCompletionFunctionCall?: Array<EventAction>
|
|
7374
6067
|
}
|
|
7375
6068
|
outlets?: {
|
|
7376
6069
|
/* Evaluating outlet */
|
|
@@ -7416,52 +6109,52 @@ export type GeneratorAssistantActionAddMessage = ActionWithParams & {
|
|
|
7416
6109
|
params?: Array<
|
|
7417
6110
|
| {
|
|
7418
6111
|
input: 'role'
|
|
7419
|
-
value?: string | DataLink
|
|
6112
|
+
value?: string | DataLink | EventProperty
|
|
7420
6113
|
mapping?: string
|
|
7421
6114
|
}
|
|
7422
6115
|
| {
|
|
7423
6116
|
input: 'content'
|
|
7424
|
-
value?: string | DataLink
|
|
6117
|
+
value?: string | DataLink | EventProperty
|
|
7425
6118
|
mapping?: string
|
|
7426
6119
|
}
|
|
7427
6120
|
| {
|
|
7428
6121
|
input: 'payload'
|
|
7429
|
-
value?: {} | DataLink
|
|
6122
|
+
value?: {} | DataLink | EventProperty
|
|
7430
6123
|
mapping?: string
|
|
7431
6124
|
}
|
|
7432
6125
|
| {
|
|
7433
6126
|
input: 'useFileSearch'
|
|
7434
|
-
value?: boolean | DataLink
|
|
6127
|
+
value?: boolean | DataLink | EventProperty
|
|
7435
6128
|
mapping?: string
|
|
7436
6129
|
}
|
|
7437
6130
|
| {
|
|
7438
6131
|
input: 'filePath'
|
|
7439
|
-
value?: string | DataLink
|
|
6132
|
+
value?: string | DataLink | EventProperty
|
|
7440
6133
|
mapping?: string
|
|
7441
6134
|
}
|
|
7442
6135
|
| {
|
|
7443
6136
|
input: 'fileName'
|
|
7444
|
-
value?: string | DataLink
|
|
6137
|
+
value?: string | DataLink | EventProperty
|
|
7445
6138
|
mapping?: string
|
|
7446
6139
|
}
|
|
7447
6140
|
| {
|
|
7448
6141
|
input: 'fileExtension'
|
|
7449
|
-
value?: string | DataLink
|
|
6142
|
+
value?: string | DataLink | EventProperty
|
|
7450
6143
|
mapping?: string
|
|
7451
6144
|
}
|
|
7452
6145
|
| {
|
|
7453
6146
|
input: 'filePayload'
|
|
7454
|
-
value?: {} | DataLink
|
|
6147
|
+
value?: {} | DataLink | EventProperty
|
|
7455
6148
|
mapping?: string
|
|
7456
6149
|
}
|
|
7457
6150
|
| {
|
|
7458
6151
|
input: 'fileSearchCitationCount'
|
|
7459
|
-
value?: number | DataLink
|
|
6152
|
+
value?: number | DataLink | EventProperty
|
|
7460
6153
|
mapping?: string
|
|
7461
6154
|
}
|
|
7462
6155
|
| {
|
|
7463
6156
|
input: 'fileSearchInsertMethod'
|
|
7464
|
-
value?: 'in-user-message' | 'new-assistant-message' | DataLink
|
|
6157
|
+
value?: 'in-user-message' | 'new-assistant-message' | DataLink | EventProperty
|
|
7465
6158
|
mapping?: string
|
|
7466
6159
|
}
|
|
7467
6160
|
>
|
|
@@ -7473,17 +6166,17 @@ export type GeneratorAssistantActionUpdateMessageAtIndex = ActionWithParams & {
|
|
|
7473
6166
|
params?: Array<
|
|
7474
6167
|
| {
|
|
7475
6168
|
input: 'index'
|
|
7476
|
-
value?: number | DataLink
|
|
6169
|
+
value?: number | DataLink | EventProperty
|
|
7477
6170
|
mapping?: string
|
|
7478
6171
|
}
|
|
7479
6172
|
| {
|
|
7480
6173
|
input: 'content'
|
|
7481
|
-
value?: string | DataLink
|
|
6174
|
+
value?: string | DataLink | EventProperty
|
|
7482
6175
|
mapping?: string
|
|
7483
6176
|
}
|
|
7484
6177
|
| {
|
|
7485
6178
|
input: 'payload'
|
|
7486
|
-
value?: {} | DataLink
|
|
6179
|
+
value?: {} | DataLink | EventProperty
|
|
7487
6180
|
mapping?: string
|
|
7488
6181
|
}
|
|
7489
6182
|
>
|
|
@@ -7495,57 +6188,57 @@ export type GeneratorAssistantActionAddAudioMessage = ActionWithParams & {
|
|
|
7495
6188
|
params?: Array<
|
|
7496
6189
|
| {
|
|
7497
6190
|
input: 'role'
|
|
7498
|
-
value?: string | DataLink
|
|
6191
|
+
value?: string | DataLink | EventProperty
|
|
7499
6192
|
mapping?: string
|
|
7500
6193
|
}
|
|
7501
6194
|
| {
|
|
7502
6195
|
input: 'contentFile'
|
|
7503
|
-
value?: string | DataLink
|
|
6196
|
+
value?: string | DataLink | EventProperty
|
|
7504
6197
|
mapping?: string
|
|
7505
6198
|
}
|
|
7506
6199
|
| {
|
|
7507
6200
|
input: 'contentBase64'
|
|
7508
|
-
value?: string | DataLink
|
|
6201
|
+
value?: string | DataLink | EventProperty
|
|
7509
6202
|
mapping?: string
|
|
7510
6203
|
}
|
|
7511
6204
|
| {
|
|
7512
6205
|
input: 'useFileSearch'
|
|
7513
|
-
value?: boolean | DataLink
|
|
6206
|
+
value?: boolean | DataLink | EventProperty
|
|
7514
6207
|
mapping?: string
|
|
7515
6208
|
}
|
|
7516
6209
|
| {
|
|
7517
6210
|
input: 'payload'
|
|
7518
|
-
value?: {} | DataLink
|
|
6211
|
+
value?: {} | DataLink | EventProperty
|
|
7519
6212
|
mapping?: string
|
|
7520
6213
|
}
|
|
7521
6214
|
| {
|
|
7522
6215
|
input: 'filePath'
|
|
7523
|
-
value?: string | DataLink
|
|
6216
|
+
value?: string | DataLink | EventProperty
|
|
7524
6217
|
mapping?: string
|
|
7525
6218
|
}
|
|
7526
6219
|
| {
|
|
7527
6220
|
input: 'fileName'
|
|
7528
|
-
value?: string | DataLink
|
|
6221
|
+
value?: string | DataLink | EventProperty
|
|
7529
6222
|
mapping?: string
|
|
7530
6223
|
}
|
|
7531
6224
|
| {
|
|
7532
6225
|
input: 'fileExtension'
|
|
7533
|
-
value?: string | DataLink
|
|
6226
|
+
value?: string | DataLink | EventProperty
|
|
7534
6227
|
mapping?: string
|
|
7535
6228
|
}
|
|
7536
6229
|
| {
|
|
7537
6230
|
input: 'filePayload'
|
|
7538
|
-
value?: {} | DataLink
|
|
6231
|
+
value?: {} | DataLink | EventProperty
|
|
7539
6232
|
mapping?: string
|
|
7540
6233
|
}
|
|
7541
6234
|
| {
|
|
7542
6235
|
input: 'fileSearchCitationCount'
|
|
7543
|
-
value?: number | DataLink
|
|
6236
|
+
value?: number | DataLink | EventProperty
|
|
7544
6237
|
mapping?: string
|
|
7545
6238
|
}
|
|
7546
6239
|
| {
|
|
7547
6240
|
input: 'fileSearchInsertMethod'
|
|
7548
|
-
value?: 'in-user-message' | 'new-assistant-message' | DataLink
|
|
6241
|
+
value?: 'in-user-message' | 'new-assistant-message' | DataLink | EventProperty
|
|
7549
6242
|
mapping?: string
|
|
7550
6243
|
}
|
|
7551
6244
|
>
|
|
@@ -7557,22 +6250,22 @@ export type GeneratorAssistantActionAddFile = ActionWithParams & {
|
|
|
7557
6250
|
params?: Array<
|
|
7558
6251
|
| {
|
|
7559
6252
|
input: 'filePath'
|
|
7560
|
-
value?: string | DataLink
|
|
6253
|
+
value?: string | DataLink | EventProperty
|
|
7561
6254
|
mapping?: string
|
|
7562
6255
|
}
|
|
7563
6256
|
| {
|
|
7564
6257
|
input: 'fileName'
|
|
7565
|
-
value?: string | DataLink
|
|
6258
|
+
value?: string | DataLink | EventProperty
|
|
7566
6259
|
mapping?: string
|
|
7567
6260
|
}
|
|
7568
6261
|
| {
|
|
7569
6262
|
input: 'fileExtension'
|
|
7570
|
-
value?: string | DataLink
|
|
6263
|
+
value?: string | DataLink | EventProperty
|
|
7571
6264
|
mapping?: string
|
|
7572
6265
|
}
|
|
7573
6266
|
| {
|
|
7574
6267
|
input: 'filePayload'
|
|
7575
|
-
value?: {} | DataLink
|
|
6268
|
+
value?: {} | DataLink | EventProperty
|
|
7576
6269
|
mapping?: string
|
|
7577
6270
|
}
|
|
7578
6271
|
>
|
|
@@ -7583,7 +6276,7 @@ export type GeneratorAssistantActionRemoveFile = ActionWithParams & {
|
|
|
7583
6276
|
__actionName: 'GENERATOR_ASSISTANT_REMOVE_FILE'
|
|
7584
6277
|
params?: Array<{
|
|
7585
6278
|
input: 'fileName'
|
|
7586
|
-
value?: string | DataLink
|
|
6279
|
+
value?: string | DataLink | EventProperty
|
|
7587
6280
|
mapping?: string
|
|
7588
6281
|
}>
|
|
7589
6282
|
}
|
|
@@ -7594,22 +6287,22 @@ export type GeneratorAssistantActionUpdateAudioMessageAtIndex = ActionWithParams
|
|
|
7594
6287
|
params?: Array<
|
|
7595
6288
|
| {
|
|
7596
6289
|
input: 'index'
|
|
7597
|
-
value?: number | DataLink
|
|
6290
|
+
value?: number | DataLink | EventProperty
|
|
7598
6291
|
mapping?: string
|
|
7599
6292
|
}
|
|
7600
6293
|
| {
|
|
7601
6294
|
input: 'contentFile'
|
|
7602
|
-
value?: string | DataLink
|
|
6295
|
+
value?: string | DataLink | EventProperty
|
|
7603
6296
|
mapping?: string
|
|
7604
6297
|
}
|
|
7605
6298
|
| {
|
|
7606
6299
|
input: 'contentBase64'
|
|
7607
|
-
value?: string | DataLink
|
|
6300
|
+
value?: string | DataLink | EventProperty
|
|
7608
6301
|
mapping?: string
|
|
7609
6302
|
}
|
|
7610
6303
|
| {
|
|
7611
6304
|
input: 'payload'
|
|
7612
|
-
value?: {} | DataLink
|
|
6305
|
+
value?: {} | DataLink | EventProperty
|
|
7613
6306
|
mapping?: string
|
|
7614
6307
|
}
|
|
7615
6308
|
>
|
|
@@ -7620,7 +6313,7 @@ export type GeneratorAssistantActionRemoveMessageAtIndex = ActionWithParams & {
|
|
|
7620
6313
|
__actionName: 'GENERATOR_ASSISTANT_REMOVE_MESSAGE_AT_INDEX'
|
|
7621
6314
|
params?: Array<{
|
|
7622
6315
|
input: 'index'
|
|
7623
|
-
value?: number | DataLink
|
|
6316
|
+
value?: number | DataLink | EventProperty
|
|
7624
6317
|
mapping?: string
|
|
7625
6318
|
}>
|
|
7626
6319
|
}
|
|
@@ -7711,38 +6404,11 @@ Default property:
|
|
|
7711
6404
|
}
|
|
7712
6405
|
events?: {
|
|
7713
6406
|
/* Error event */
|
|
7714
|
-
onError?: Array<
|
|
7715
|
-
EventAction & {
|
|
7716
|
-
eventPropertyMapping?: {
|
|
7717
|
-
error: {
|
|
7718
|
-
type: 'string'
|
|
7719
|
-
path: string
|
|
7720
|
-
}
|
|
7721
|
-
}
|
|
7722
|
-
}
|
|
7723
|
-
>
|
|
6407
|
+
onError?: Array<EventAction>
|
|
7724
6408
|
/* Log event */
|
|
7725
|
-
onLogs?: Array<
|
|
7726
|
-
EventAction & {
|
|
7727
|
-
eventPropertyMapping?: {
|
|
7728
|
-
logs: {
|
|
7729
|
-
type: 'array'
|
|
7730
|
-
path: string
|
|
7731
|
-
}
|
|
7732
|
-
}
|
|
7733
|
-
}
|
|
7734
|
-
>
|
|
6409
|
+
onLogs?: Array<EventAction>
|
|
7735
6410
|
/* Messages update event */
|
|
7736
|
-
onMessagesUpdate?: Array<
|
|
7737
|
-
EventAction & {
|
|
7738
|
-
eventPropertyMapping?: {
|
|
7739
|
-
messages: {
|
|
7740
|
-
type: 'array'
|
|
7741
|
-
path: string
|
|
7742
|
-
}
|
|
7743
|
-
}
|
|
7744
|
-
}
|
|
7745
|
-
>
|
|
6411
|
+
onMessagesUpdate?: Array<EventAction>
|
|
7746
6412
|
}
|
|
7747
6413
|
outlets?: {
|
|
7748
6414
|
/* Whether the assistant is heating up */
|
|
@@ -7803,7 +6469,7 @@ export type GeneratorVectorStoreActionReset = ActionWithParams & {
|
|
|
7803
6469
|
__actionName: 'GENERATOR_VECTOR_STORE_RESET'
|
|
7804
6470
|
params?: Array<{
|
|
7805
6471
|
input: 'resetType'
|
|
7806
|
-
value?: 'session' | 'all' | DataLink
|
|
6472
|
+
value?: 'session' | 'all' | DataLink | EventProperty
|
|
7807
6473
|
mapping?: string
|
|
7808
6474
|
}>
|
|
7809
6475
|
}
|
|
@@ -7816,22 +6482,22 @@ export type GeneratorVectorStoreActionInsertFile = ActionWithParams & {
|
|
|
7816
6482
|
params?: Array<
|
|
7817
6483
|
| {
|
|
7818
6484
|
input: 'filePath'
|
|
7819
|
-
value?: string | DataLink
|
|
6485
|
+
value?: string | DataLink | EventProperty
|
|
7820
6486
|
mapping?: string
|
|
7821
6487
|
}
|
|
7822
6488
|
| {
|
|
7823
6489
|
input: 'fileName'
|
|
7824
|
-
value?: string | DataLink
|
|
6490
|
+
value?: string | DataLink | EventProperty
|
|
7825
6491
|
mapping?: string
|
|
7826
6492
|
}
|
|
7827
6493
|
| {
|
|
7828
6494
|
input: 'fileExtension'
|
|
7829
|
-
value?: string | DataLink
|
|
6495
|
+
value?: string | DataLink | EventProperty
|
|
7830
6496
|
mapping?: string
|
|
7831
6497
|
}
|
|
7832
6498
|
| {
|
|
7833
6499
|
input: 'chunkSize'
|
|
7834
|
-
value?: number | DataLink
|
|
6500
|
+
value?: number | DataLink | EventProperty
|
|
7835
6501
|
mapping?: string
|
|
7836
6502
|
}
|
|
7837
6503
|
>
|
|
@@ -7848,22 +6514,22 @@ export type GeneratorVectorStoreActionInsertContent = ActionWithParams & {
|
|
|
7848
6514
|
params?: Array<
|
|
7849
6515
|
| {
|
|
7850
6516
|
input: 'textContent'
|
|
7851
|
-
value?: string | DataLink
|
|
6517
|
+
value?: string | DataLink | EventProperty
|
|
7852
6518
|
mapping?: string
|
|
7853
6519
|
}
|
|
7854
6520
|
| {
|
|
7855
6521
|
input: 'fileName'
|
|
7856
|
-
value?: string | DataLink
|
|
6522
|
+
value?: string | DataLink | EventProperty
|
|
7857
6523
|
mapping?: string
|
|
7858
6524
|
}
|
|
7859
6525
|
| {
|
|
7860
6526
|
input: 'payload'
|
|
7861
|
-
value?: {} | DataLink
|
|
6527
|
+
value?: {} | DataLink | EventProperty
|
|
7862
6528
|
mapping?: string
|
|
7863
6529
|
}
|
|
7864
6530
|
| {
|
|
7865
6531
|
input: 'chunkSize'
|
|
7866
|
-
value?: number | DataLink
|
|
6532
|
+
value?: number | DataLink | EventProperty
|
|
7867
6533
|
mapping?: string
|
|
7868
6534
|
}
|
|
7869
6535
|
>
|
|
@@ -7874,7 +6540,7 @@ export type GeneratorVectorStoreActionRemoveFile = ActionWithParams & {
|
|
|
7874
6540
|
__actionName: 'GENERATOR_VECTOR_STORE_REMOVE_FILE'
|
|
7875
6541
|
params?: Array<{
|
|
7876
6542
|
input: 'fileName'
|
|
7877
|
-
value?: string | DataLink
|
|
6543
|
+
value?: string | DataLink | EventProperty
|
|
7878
6544
|
mapping?: string
|
|
7879
6545
|
}>
|
|
7880
6546
|
}
|
|
@@ -7885,27 +6551,27 @@ export type GeneratorVectorStoreActionSearch = ActionWithParams & {
|
|
|
7885
6551
|
params?: Array<
|
|
7886
6552
|
| {
|
|
7887
6553
|
input: 'text'
|
|
7888
|
-
value?: string | DataLink
|
|
6554
|
+
value?: string | DataLink | EventProperty
|
|
7889
6555
|
mapping?: string
|
|
7890
6556
|
}
|
|
7891
6557
|
| {
|
|
7892
6558
|
input: 'filename'
|
|
7893
|
-
value?: string | DataLink
|
|
6559
|
+
value?: string | DataLink | EventProperty
|
|
7894
6560
|
mapping?: string
|
|
7895
6561
|
}
|
|
7896
6562
|
| {
|
|
7897
6563
|
input: 'limit'
|
|
7898
|
-
value?: number | DataLink
|
|
6564
|
+
value?: number | DataLink | EventProperty
|
|
7899
6565
|
mapping?: string
|
|
7900
6566
|
}
|
|
7901
6567
|
| {
|
|
7902
6568
|
input: 'threshold'
|
|
7903
|
-
value?: number | DataLink
|
|
6569
|
+
value?: number | DataLink | EventProperty
|
|
7904
6570
|
mapping?: string
|
|
7905
6571
|
}
|
|
7906
6572
|
| {
|
|
7907
6573
|
input: 'ignoreThreshold'
|
|
7908
|
-
value?: boolean | DataLink
|
|
6574
|
+
value?: boolean | DataLink | EventProperty
|
|
7909
6575
|
mapping?: string
|
|
7910
6576
|
}
|
|
7911
6577
|
>
|
|
@@ -7963,16 +6629,7 @@ Default property:
|
|
|
7963
6629
|
}
|
|
7964
6630
|
events?: {
|
|
7965
6631
|
/* Event triggered when error occurs */
|
|
7966
|
-
onError?: Array<
|
|
7967
|
-
EventAction & {
|
|
7968
|
-
eventPropertyMapping?: {
|
|
7969
|
-
error: {
|
|
7970
|
-
type: 'string'
|
|
7971
|
-
path: string
|
|
7972
|
-
}
|
|
7973
|
-
}
|
|
7974
|
-
}
|
|
7975
|
-
>
|
|
6632
|
+
onError?: Array<EventAction>
|
|
7976
6633
|
}
|
|
7977
6634
|
outlets?: {
|
|
7978
6635
|
/* undefined */
|