@trii/types 2.10.690 → 2.10.691
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.
|
@@ -44,6 +44,21 @@ export interface AutomationNodePosition {
|
|
|
44
44
|
x: number;
|
|
45
45
|
y: number;
|
|
46
46
|
}
|
|
47
|
+
export declare enum AutomationCanvasAnnotationType {
|
|
48
|
+
NOTE = "note"
|
|
49
|
+
}
|
|
50
|
+
/** Elemento puramente visual del canvas; no participa de la ejecución. */
|
|
51
|
+
export interface AutomationCanvasAnnotation {
|
|
52
|
+
id: string;
|
|
53
|
+
type: AutomationCanvasAnnotationType;
|
|
54
|
+
title?: string | null;
|
|
55
|
+
text: string;
|
|
56
|
+
position: AutomationNodePosition;
|
|
57
|
+
width: number;
|
|
58
|
+
height: number;
|
|
59
|
+
color: string;
|
|
60
|
+
metadata?: AutomationJsonObject | null;
|
|
61
|
+
}
|
|
47
62
|
export interface AutomationFlowNode {
|
|
48
63
|
id: string;
|
|
49
64
|
/** Clave del renderer visual; no representa una regla de negocio. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AutomationNodeHandlePosition = exports.AutomationNodeHandleType = exports.AutomationNodeKind = exports.AutomationFlowVariableType = void 0;
|
|
3
|
+
exports.AutomationCanvasAnnotationType = exports.AutomationNodeHandlePosition = exports.AutomationNodeHandleType = exports.AutomationNodeKind = exports.AutomationFlowVariableType = void 0;
|
|
4
4
|
var AutomationFlowVariableType;
|
|
5
5
|
(function (AutomationFlowVariableType) {
|
|
6
6
|
AutomationFlowVariableType["STRING"] = "string";
|
|
@@ -32,3 +32,7 @@ var AutomationNodeHandlePosition;
|
|
|
32
32
|
AutomationNodeHandlePosition["TOP"] = "top";
|
|
33
33
|
AutomationNodeHandlePosition["BOTTOM"] = "bottom";
|
|
34
34
|
})(AutomationNodeHandlePosition || (exports.AutomationNodeHandlePosition = AutomationNodeHandlePosition = {}));
|
|
35
|
+
var AutomationCanvasAnnotationType;
|
|
36
|
+
(function (AutomationCanvasAnnotationType) {
|
|
37
|
+
AutomationCanvasAnnotationType["NOTE"] = "note";
|
|
38
|
+
})(AutomationCanvasAnnotationType || (exports.AutomationCanvasAnnotationType = AutomationCanvasAnnotationType = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AutomationCapabilityReference } from '../Capabilities';
|
|
2
2
|
import { AutomationJsonObject, AutomationSourceApplication } from '../Common';
|
|
3
|
-
import { AutomationFlowEdge, AutomationFlowNode, AutomationFlowVariable, AutomationFlowViewport } from './Canvas';
|
|
3
|
+
import { AutomationFlowEdge, AutomationCanvasAnnotation, AutomationFlowNode, AutomationFlowVariable, AutomationFlowViewport } from './Canvas';
|
|
4
4
|
export declare enum AutomationFlowKind {
|
|
5
5
|
CONVERSATIONAL = "conversational",
|
|
6
6
|
VOICE = "voice",
|
|
@@ -58,6 +58,8 @@ export interface AutomationFlowCanvas {
|
|
|
58
58
|
variables: AutomationFlowVariable[];
|
|
59
59
|
nodes: AutomationFlowNode[];
|
|
60
60
|
edges: AutomationFlowEdge[];
|
|
61
|
+
/** Anotaciones visuales que no forman parte del grafo ejecutable. */
|
|
62
|
+
annotations?: AutomationCanvasAnnotation[];
|
|
61
63
|
viewport: AutomationFlowViewport;
|
|
62
64
|
}
|
|
63
65
|
/**
|