@trii/types 2.10.691 → 2.10.694

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.
@@ -4,6 +4,37 @@ export declare enum AutomationCapabilityKind {
4
4
  ACTION = "action",
5
5
  CONDITION = "condition"
6
6
  }
7
+ export declare enum AutomationCapabilityEffectClass {
8
+ NONE = "none",
9
+ READ = "read",
10
+ WRITE = "write",
11
+ COMMUNICATION = "communication",
12
+ BULK = "bulk"
13
+ }
14
+ export declare enum AutomationCapabilityIdempotency {
15
+ NONE = "none",
16
+ SUPPORTED = "supported",
17
+ REQUIRED = "required"
18
+ }
19
+ /** Capacidades operativas que el runtime puede aplicar de forma confiable. */
20
+ export interface AutomationCapabilityExecutionSupport {
21
+ effectClass: AutomationCapabilityEffectClass;
22
+ supportsSimulation: boolean;
23
+ supportsTestTargets: boolean;
24
+ supportsUntilNode: boolean;
25
+ supportsFromNode: boolean;
26
+ supportsNodeOnly: boolean;
27
+ supportsCancellation: boolean;
28
+ idempotency: AutomationCapabilityIdempotency;
29
+ defaultTimeoutMs?: number | null;
30
+ maxAttempts?: number | null;
31
+ maxTestItems?: number | null;
32
+ inputSchema?: AutomationJsonSchema | null;
33
+ outputSchema?: AutomationJsonSchema | null;
34
+ simulationOutputSchema?: AutomationJsonSchema | null;
35
+ sensitivePaths?: string[] | null;
36
+ requiredPermissions?: string[] | null;
37
+ }
7
38
  /**
8
39
  * Capacidad publicada por una aplicación de negocio para que Automation pueda
9
40
  * descubrirla y representarla sin incorporar reglas de ese dominio.
@@ -19,6 +50,8 @@ export interface AutomationCapability {
19
50
  requiredPermissions: string[];
20
51
  enabled: boolean;
21
52
  version: number;
53
+ /** Metadata opcional para definitions anteriores a la política de ejecución. */
54
+ executionSupport?: AutomationCapabilityExecutionSupport | null;
22
55
  }
23
56
  export interface AutomationCapabilityQuery {
24
57
  sourceApplications?: AutomationSourceApplication[];
@@ -1,9 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AutomationCapabilityKind = void 0;
3
+ exports.AutomationCapabilityIdempotency = exports.AutomationCapabilityEffectClass = exports.AutomationCapabilityKind = void 0;
4
4
  var AutomationCapabilityKind;
5
5
  (function (AutomationCapabilityKind) {
6
6
  AutomationCapabilityKind["TRIGGER"] = "trigger";
7
7
  AutomationCapabilityKind["ACTION"] = "action";
8
8
  AutomationCapabilityKind["CONDITION"] = "condition";
9
9
  })(AutomationCapabilityKind || (exports.AutomationCapabilityKind = AutomationCapabilityKind = {}));
10
+ var AutomationCapabilityEffectClass;
11
+ (function (AutomationCapabilityEffectClass) {
12
+ AutomationCapabilityEffectClass["NONE"] = "none";
13
+ AutomationCapabilityEffectClass["READ"] = "read";
14
+ AutomationCapabilityEffectClass["WRITE"] = "write";
15
+ AutomationCapabilityEffectClass["COMMUNICATION"] = "communication";
16
+ AutomationCapabilityEffectClass["BULK"] = "bulk";
17
+ })(AutomationCapabilityEffectClass || (exports.AutomationCapabilityEffectClass = AutomationCapabilityEffectClass = {}));
18
+ var AutomationCapabilityIdempotency;
19
+ (function (AutomationCapabilityIdempotency) {
20
+ AutomationCapabilityIdempotency["NONE"] = "none";
21
+ AutomationCapabilityIdempotency["SUPPORTED"] = "supported";
22
+ AutomationCapabilityIdempotency["REQUIRED"] = "required";
23
+ })(AutomationCapabilityIdempotency || (exports.AutomationCapabilityIdempotency = AutomationCapabilityIdempotency = {}));
@@ -5,11 +5,33 @@
5
5
  * traducirse ni depender del nombre visible de la aplicación.
6
6
  */
7
7
  export declare enum AutomationSourceApplication {
8
+ /** Automations y sus capacidades Core. */
9
+ AUTOMATIONS = "automations",
10
+ /** Gestión de conversaciones y mensajería conversacional. */
8
11
  CONVERSATIONS = "conversations",
12
+ /** Gestión de contactos y organizaciones. */
13
+ CONTACTS = "contacts",
14
+ /** Gestión de tickets y soporte. */
9
15
  TICKETS = "tickets",
16
+ /** Campañas y operaciones de marketing. */
10
17
  MARKETING = "marketing",
18
+ /** Procesos y oportunidades comerciales. */
11
19
  SALES = "sales",
20
+ /** Telefonía y llamadas. */
12
21
  CALLS = "calls",
22
+ /** Comunicaciones salientes como email y SMS. */
23
+ COMMUNICATIONS = "communications",
24
+ /** Formularios y captura estructurada de datos. */
25
+ FORMS = "forms",
26
+ /** Conectores e integraciones externas. */
27
+ INTEGRATIONS = "integrations",
28
+ /** Acceso y transformación de datos. */
29
+ DATA = "data",
30
+ /** Agentes, modelos y herramientas de inteligencia artificial. */
31
+ AI = "ai",
32
+ /** Bases de conocimiento, documentos y búsqueda semántica. */
33
+ KNOWLEDGE = "knowledge",
34
+ /** Propietario externo o no clasificado; no debe usarse como fallback. */
13
35
  GENERIC = "generic"
14
36
  }
15
37
  export type AutomationJsonValue = string | number | boolean | null | AutomationJsonObject | AutomationJsonValue[];
@@ -50,6 +72,17 @@ export interface AutomationCustomerReference {
50
72
  id: string;
51
73
  displayNameSnapshot?: string | null;
52
74
  }
75
+ /** Referencia transversal a una entidad perteneciente a una aplicación. */
76
+ export interface AutomationResourceReference {
77
+ /** Aplicación propietaria de la entidad. */
78
+ sourceApplication: AutomationSourceApplication;
79
+ /** Tipo estable dentro de la aplicación, por ejemplo ticket o campaign. */
80
+ resourceType: string;
81
+ /** Identificador en la aplicación propietaria. */
82
+ id: string;
83
+ /** Nombre informativo capturado al crear la referencia. */
84
+ displayNameSnapshot?: string | null;
85
+ }
53
86
  /**
54
87
  * Contexto CRM opcional asociado a un evento o ejecución.
55
88
  * Permite representar escenarios B2C, B2B o un contacto perteneciente a una
@@ -9,10 +9,32 @@ exports.AutomationSourceApplication = void 0;
9
9
  */
10
10
  var AutomationSourceApplication;
11
11
  (function (AutomationSourceApplication) {
12
+ /** Automations y sus capacidades Core. */
13
+ AutomationSourceApplication["AUTOMATIONS"] = "automations";
14
+ /** Gestión de conversaciones y mensajería conversacional. */
12
15
  AutomationSourceApplication["CONVERSATIONS"] = "conversations";
16
+ /** Gestión de contactos y organizaciones. */
17
+ AutomationSourceApplication["CONTACTS"] = "contacts";
18
+ /** Gestión de tickets y soporte. */
13
19
  AutomationSourceApplication["TICKETS"] = "tickets";
20
+ /** Campañas y operaciones de marketing. */
14
21
  AutomationSourceApplication["MARKETING"] = "marketing";
22
+ /** Procesos y oportunidades comerciales. */
15
23
  AutomationSourceApplication["SALES"] = "sales";
24
+ /** Telefonía y llamadas. */
16
25
  AutomationSourceApplication["CALLS"] = "calls";
26
+ /** Comunicaciones salientes como email y SMS. */
27
+ AutomationSourceApplication["COMMUNICATIONS"] = "communications";
28
+ /** Formularios y captura estructurada de datos. */
29
+ AutomationSourceApplication["FORMS"] = "forms";
30
+ /** Conectores e integraciones externas. */
31
+ AutomationSourceApplication["INTEGRATIONS"] = "integrations";
32
+ /** Acceso y transformación de datos. */
33
+ AutomationSourceApplication["DATA"] = "data";
34
+ /** Agentes, modelos y herramientas de inteligencia artificial. */
35
+ AutomationSourceApplication["AI"] = "ai";
36
+ /** Bases de conocimiento, documentos y búsqueda semántica. */
37
+ AutomationSourceApplication["KNOWLEDGE"] = "knowledge";
38
+ /** Propietario externo o no clasificado; no debe usarse como fallback. */
17
39
  AutomationSourceApplication["GENERIC"] = "generic";
18
40
  })(AutomationSourceApplication || (exports.AutomationSourceApplication = AutomationSourceApplication = {}));
@@ -1,4 +1,4 @@
1
- import { AutomationCustomer, AutomationJsonObject, AutomationJsonSchema, AutomationSourceApplication } from '../Common';
1
+ import { AutomationCustomer, AutomationJsonObject, AutomationJsonSchema, AutomationResourceReference, AutomationSourceApplication } from '../Common';
2
2
  export interface AutomationEventDefinition {
3
3
  eventType: string;
4
4
  version: number;
@@ -6,6 +6,7 @@ export interface AutomationEventDefinition {
6
6
  name: string;
7
7
  description?: string | null;
8
8
  payloadSchema: AutomationJsonSchema;
9
+ /** Schema de la vista del envelope cuyos paths pueden utilizarse en filtros. */
9
10
  filterSchema?: AutomationJsonSchema | null;
10
11
  requiredPermissions: string[];
11
12
  enabled: boolean;
@@ -19,23 +20,49 @@ export interface AutomationEventEnvelope {
19
20
  occurredAt: string;
20
21
  receivedAt: string;
21
22
  customer?: AutomationCustomer | null;
22
- subjectId?: string | null;
23
+ /** Entidad principal sobre la que ocurrió el evento. */
24
+ subject?: AutomationResourceReference | null;
23
25
  correlationId?: string | null;
24
26
  causationId?: string | null;
25
27
  idempotencyKey?: string | null;
26
28
  payload: AutomationJsonObject;
27
29
  metadata?: AutomationJsonObject | null;
28
30
  }
31
+ export declare enum AutomationEntryPointExclusionCode {
32
+ ENTRY_POINT_DISABLED = "entryPointDisabled",
33
+ SOURCE_APPLICATION_MISMATCH = "sourceApplicationMismatch",
34
+ EVENT_TYPE_MISMATCH = "eventTypeMismatch",
35
+ FILTERS_NOT_MATCHED = "filtersNotMatched",
36
+ FLOW_NOT_ACTIVE = "flowNotActive",
37
+ VERSION_NOT_PUBLISHED = "versionNotPublished",
38
+ LOWER_PRIORITY = "lowerPriority",
39
+ EXECUTION_MODE_RESTRICTED = "executionModeRestricted"
40
+ }
41
+ /** Motivo estructurado por el que un Entry Point no fue seleccionado. */
42
+ export interface AutomationEntryPointExclusion {
43
+ /** Código estable para lógica, métricas y observabilidad. */
44
+ code: AutomationEntryPointExclusionCode;
45
+ /** Explicación humana opcional; no debe utilizarse para lógica. */
46
+ message?: string | null;
47
+ /** Datos diagnósticos específicos del código. */
48
+ details?: AutomationJsonObject | null;
49
+ }
29
50
  export interface ResolveFlowEntryPointsRequest {
30
51
  event: AutomationEventEnvelope;
31
52
  }
32
53
  export interface ResolvedFlowEntryPoint {
54
+ /** Definición estable del Flow. */
33
55
  flowId: string;
56
+ /** Versión publicada candidata a recibir el evento. */
34
57
  flowVersionId: string;
58
+ /** Entry Point evaluado. */
35
59
  entryPointId: string;
60
+ /** Prioridad utilizada para resolver candidatos. */
36
61
  priority: number;
62
+ /** Indica si el candidato debe iniciar una ejecución. */
37
63
  selected: boolean;
38
- exclusionReason?: string | null;
64
+ /** Motivo de exclusión; ausente cuando selected es true. */
65
+ exclusion?: AutomationEntryPointExclusion | null;
39
66
  }
40
67
  export interface ResolveFlowEntryPointsResult {
41
68
  matches: ResolvedFlowEntryPoint[];
@@ -1,2 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AutomationEntryPointExclusionCode = void 0;
4
+ var AutomationEntryPointExclusionCode;
5
+ (function (AutomationEntryPointExclusionCode) {
6
+ AutomationEntryPointExclusionCode["ENTRY_POINT_DISABLED"] = "entryPointDisabled";
7
+ AutomationEntryPointExclusionCode["SOURCE_APPLICATION_MISMATCH"] = "sourceApplicationMismatch";
8
+ AutomationEntryPointExclusionCode["EVENT_TYPE_MISMATCH"] = "eventTypeMismatch";
9
+ AutomationEntryPointExclusionCode["FILTERS_NOT_MATCHED"] = "filtersNotMatched";
10
+ AutomationEntryPointExclusionCode["FLOW_NOT_ACTIVE"] = "flowNotActive";
11
+ AutomationEntryPointExclusionCode["VERSION_NOT_PUBLISHED"] = "versionNotPublished";
12
+ AutomationEntryPointExclusionCode["LOWER_PRIORITY"] = "lowerPriority";
13
+ AutomationEntryPointExclusionCode["EXECUTION_MODE_RESTRICTED"] = "executionModeRestricted";
14
+ })(AutomationEntryPointExclusionCode || (exports.AutomationEntryPointExclusionCode = AutomationEntryPointExclusionCode = {}));
@@ -1,4 +1,5 @@
1
- import { AutomationCustomer, AutomationError, AutomationJsonObject, AutomationPageRequest, AutomationSourceApplication } from '../Common';
1
+ import { AutomationCustomer, AutomationError, AutomationJsonObject, AutomationPageRequest, AutomationResourceReference, AutomationSourceApplication } from '../Common';
2
+ import { AutomationCapabilityEffectClass } from '../Capabilities';
2
3
  export declare enum AutomationExecutionStatus {
3
4
  QUEUED = "queued",
4
5
  RUNNING = "running",
@@ -17,15 +18,104 @@ export declare enum AutomationExecutionStepStatus {
17
18
  SKIPPED = "skipped",
18
19
  CANCELLED = "cancelled"
19
20
  }
21
+ export declare enum AutomationExecutionPurpose {
22
+ PRODUCTION = "production",
23
+ TEST = "test"
24
+ }
25
+ export declare enum AutomationExecutionEffectMode {
26
+ SIMULATE = "simulate",
27
+ TEST_TARGETS = "testTargets",
28
+ REAL = "real"
29
+ }
30
+ export declare enum AutomationExecutionScopeKind {
31
+ FULL = "full",
32
+ UNTIL_NODE = "untilNode",
33
+ FROM_NODE = "fromNode",
34
+ NODE_ONLY = "nodeOnly"
35
+ }
36
+ export declare enum AutomationExecutionSourceKind {
37
+ MANUAL = "manual",
38
+ FIXTURE = "fixture",
39
+ CAPTURED_EVENT = "capturedEvent",
40
+ EXECUTION = "execution",
41
+ STEP_OUTPUT = "stepOutput"
42
+ }
43
+ export declare enum AutomationExecutionLineageOperation {
44
+ NEW = "new",
45
+ REPLAY = "replay",
46
+ RETRY = "retry"
47
+ }
48
+ export declare enum AutomationExecutionEffectDecision {
49
+ EXECUTED = "executed",
50
+ SIMULATED = "simulated",
51
+ REDIRECTED = "redirected",
52
+ BLOCKED = "blocked"
53
+ }
54
+ export interface AutomationExecutionScope {
55
+ kind: AutomationExecutionScopeKind;
56
+ startNodeId?: string | null;
57
+ stopNodeId?: string | null;
58
+ }
59
+ /** Referencia inmutable a la definición exacta utilizada por una ejecución. */
60
+ export interface AutomationFlowSnapshotReference {
61
+ flowId: string;
62
+ flowVersionId?: string | null;
63
+ snapshotId?: string | null;
64
+ revision: number;
65
+ contentHash: string;
66
+ }
67
+ export interface AutomationExecutionSource {
68
+ kind: AutomationExecutionSourceKind;
69
+ fixtureId?: string | null;
70
+ capturedEventId?: string | null;
71
+ executionId?: string | null;
72
+ stepId?: string | null;
73
+ }
74
+ export interface AutomationExecutionLineage {
75
+ operation: AutomationExecutionLineageOperation;
76
+ sourceExecutionId?: string | null;
77
+ sourceStepId?: string | null;
78
+ rootExecutionId?: string | null;
79
+ }
80
+ /** Resumen seguro; la política interna completa nunca se expone al caller. */
81
+ export interface AutomationExecutionPolicySummary {
82
+ maxDurationMs?: number | null;
83
+ maxSteps?: number | null;
84
+ maxIterations?: number | null;
85
+ maxItems?: number | null;
86
+ maxCost?: number | null;
87
+ currency?: string | null;
88
+ simulatedClockAt?: string | null;
89
+ requiresConfirmation: boolean;
90
+ }
91
+ export interface AutomationExecutionEffectRecord {
92
+ id: string;
93
+ nodeId: string;
94
+ effectClass: AutomationCapabilityEffectClass;
95
+ action: string;
96
+ decision: AutomationExecutionEffectDecision;
97
+ originalTarget?: AutomationResourceReference | null;
98
+ effectiveTarget?: AutomationResourceReference | null;
99
+ preview?: AutomationJsonObject | null;
100
+ providerReference?: string | null;
101
+ idempotencyKey?: string | null;
102
+ warnings?: string[] | null;
103
+ }
20
104
  /**
21
105
  * Referencia genérica al evento que inició una ejecución.
22
106
  */
23
107
  export interface AutomationExecutionTrigger {
108
+ /** Entry Point que aceptó el evento. */
24
109
  entryPointId: string;
110
+ /** Aplicación propietaria del evento. */
25
111
  sourceApplication: AutomationSourceApplication;
112
+ /** Código estable del tipo de evento. */
26
113
  eventType: string;
27
- referenceId?: string | null;
114
+ /** Entidad principal relacionada con el evento. */
115
+ reference?: AutomationResourceReference | null;
116
+ /** Instante informado por el productor. */
28
117
  occurredAt?: string | null;
118
+ /** Snapshot opcional del payload disparador. */
29
119
  payload?: AutomationJsonObject | null;
30
120
  }
31
121
  /** Identidad completa que debe persistir una ejecución transversal. */
@@ -35,6 +125,27 @@ export interface AutomationFlowExecutionReference {
35
125
  entryPointId: string;
36
126
  executionId: string;
37
127
  }
128
+ /** Contexto que un caller puede aportar al iniciar una ejecución. */
129
+ export interface AutomationExecutionContextInput {
130
+ /** Valores iniciales de variables declaradas por la versión del Flow. */
131
+ variables: AutomationJsonObject;
132
+ /** Extensiones agrupadas por módulo propietario. */
133
+ extensions: AutomationJsonObject;
134
+ }
135
+ /** Datos confiables establecidos exclusivamente por Automations. */
136
+ export interface AutomationExecutionSystemContext {
137
+ /** Locale BCP 47, por ejemplo es-AR. */
138
+ locale?: string | null;
139
+ /** Zona horaria IANA utilizada por fechas y agendas. */
140
+ timeZone?: string | null;
141
+ /** Usuario, servicio o recurso que originó la ejecución. */
142
+ actor?: AutomationResourceReference | null;
143
+ }
144
+ /** Contexto persistido y utilizado durante una ejecución. */
145
+ export interface AutomationExecutionContext extends AutomationExecutionContextInput {
146
+ /** Datos confiables agregados por el runtime. */
147
+ system: AutomationExecutionSystemContext;
148
+ }
38
149
  export interface AutomationExecution {
39
150
  id: string;
40
151
  spaceId: string;
@@ -46,7 +157,8 @@ export interface AutomationExecution {
46
157
  customer?: AutomationCustomer | null;
47
158
  trigger: AutomationExecutionTrigger;
48
159
  input: AutomationJsonObject;
49
- context: AutomationJsonObject;
160
+ /** Scope tipado y extensible utilizado durante la ejecución. */
161
+ context: AutomationExecutionContext;
50
162
  output?: AutomationJsonObject | null;
51
163
  error?: AutomationError | null;
52
164
  createdAt: string;
@@ -57,6 +169,18 @@ export interface AutomationExecution {
57
169
  correlationId?: string | null;
58
170
  parentExecutionId?: string | null;
59
171
  usage: AutomationExecutionUsage;
172
+ /** Ausente únicamente en ejecuciones creadas con contratos anteriores. */
173
+ purpose?: AutomationExecutionPurpose | null;
174
+ requestedEffectMode?: AutomationExecutionEffectMode | null;
175
+ effectiveEffectMode?: AutomationExecutionEffectMode | null;
176
+ scope?: AutomationExecutionScope | null;
177
+ source?: AutomationExecutionSource | null;
178
+ snapshot?: AutomationFlowSnapshotReference | null;
179
+ lineage?: AutomationExecutionLineage | null;
180
+ startedBy?: AutomationResourceReference | null;
181
+ policySummary?: AutomationExecutionPolicySummary | null;
182
+ testCaseId?: string | null;
183
+ testCaseRevision?: number | null;
60
184
  }
61
185
  export interface AutomationExecutionStep {
62
186
  id: string;
@@ -73,6 +197,13 @@ export interface AutomationExecutionStep {
73
197
  startedAt?: string | null;
74
198
  completedAt?: string | null;
75
199
  usage: AutomationExecutionUsage;
200
+ waitingReason?: string | null;
201
+ skippedReason?: string | null;
202
+ itemIndex?: number | null;
203
+ iteration?: number | null;
204
+ parentStepId?: string | null;
205
+ takenEdgeIds?: string[] | null;
206
+ effects?: AutomationExecutionEffectRecord[] | null;
76
207
  }
77
208
  export interface AutomationExecutionUsage {
78
209
  inputTokens: number;
@@ -93,6 +224,9 @@ export interface AutomationExecutionQuery extends AutomationPageRequest {
93
224
  createdFrom?: string | null;
94
225
  createdTo?: string | null;
95
226
  correlationId?: string | null;
227
+ purposes?: AutomationExecutionPurpose[] | null;
228
+ effectModes?: AutomationExecutionEffectMode[] | null;
229
+ testCaseId?: string | null;
96
230
  }
97
231
  export interface StartAutomationExecutionRequest {
98
232
  flowId: string;
@@ -101,7 +235,8 @@ export interface StartAutomationExecutionRequest {
101
235
  customer?: AutomationCustomer | null;
102
236
  trigger: AutomationExecutionTrigger;
103
237
  input: AutomationJsonObject;
104
- context: AutomationJsonObject;
238
+ /** Variables iniciales y extensiones aportadas por el caller. */
239
+ context: AutomationExecutionContextInput;
105
240
  idempotencyKey?: string | null;
106
241
  correlationId?: string | null;
107
242
  parentExecutionId?: string | null;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AutomationExecutionStepStatus = exports.AutomationExecutionStatus = void 0;
3
+ exports.AutomationExecutionEffectDecision = exports.AutomationExecutionLineageOperation = exports.AutomationExecutionSourceKind = exports.AutomationExecutionScopeKind = exports.AutomationExecutionEffectMode = exports.AutomationExecutionPurpose = exports.AutomationExecutionStepStatus = exports.AutomationExecutionStatus = void 0;
4
4
  var AutomationExecutionStatus;
5
5
  (function (AutomationExecutionStatus) {
6
6
  AutomationExecutionStatus["QUEUED"] = "queued";
@@ -21,3 +21,42 @@ var AutomationExecutionStepStatus;
21
21
  AutomationExecutionStepStatus["SKIPPED"] = "skipped";
22
22
  AutomationExecutionStepStatus["CANCELLED"] = "cancelled";
23
23
  })(AutomationExecutionStepStatus || (exports.AutomationExecutionStepStatus = AutomationExecutionStepStatus = {}));
24
+ var AutomationExecutionPurpose;
25
+ (function (AutomationExecutionPurpose) {
26
+ AutomationExecutionPurpose["PRODUCTION"] = "production";
27
+ AutomationExecutionPurpose["TEST"] = "test";
28
+ })(AutomationExecutionPurpose || (exports.AutomationExecutionPurpose = AutomationExecutionPurpose = {}));
29
+ var AutomationExecutionEffectMode;
30
+ (function (AutomationExecutionEffectMode) {
31
+ AutomationExecutionEffectMode["SIMULATE"] = "simulate";
32
+ AutomationExecutionEffectMode["TEST_TARGETS"] = "testTargets";
33
+ AutomationExecutionEffectMode["REAL"] = "real";
34
+ })(AutomationExecutionEffectMode || (exports.AutomationExecutionEffectMode = AutomationExecutionEffectMode = {}));
35
+ var AutomationExecutionScopeKind;
36
+ (function (AutomationExecutionScopeKind) {
37
+ AutomationExecutionScopeKind["FULL"] = "full";
38
+ AutomationExecutionScopeKind["UNTIL_NODE"] = "untilNode";
39
+ AutomationExecutionScopeKind["FROM_NODE"] = "fromNode";
40
+ AutomationExecutionScopeKind["NODE_ONLY"] = "nodeOnly";
41
+ })(AutomationExecutionScopeKind || (exports.AutomationExecutionScopeKind = AutomationExecutionScopeKind = {}));
42
+ var AutomationExecutionSourceKind;
43
+ (function (AutomationExecutionSourceKind) {
44
+ AutomationExecutionSourceKind["MANUAL"] = "manual";
45
+ AutomationExecutionSourceKind["FIXTURE"] = "fixture";
46
+ AutomationExecutionSourceKind["CAPTURED_EVENT"] = "capturedEvent";
47
+ AutomationExecutionSourceKind["EXECUTION"] = "execution";
48
+ AutomationExecutionSourceKind["STEP_OUTPUT"] = "stepOutput";
49
+ })(AutomationExecutionSourceKind || (exports.AutomationExecutionSourceKind = AutomationExecutionSourceKind = {}));
50
+ var AutomationExecutionLineageOperation;
51
+ (function (AutomationExecutionLineageOperation) {
52
+ AutomationExecutionLineageOperation["NEW"] = "new";
53
+ AutomationExecutionLineageOperation["REPLAY"] = "replay";
54
+ AutomationExecutionLineageOperation["RETRY"] = "retry";
55
+ })(AutomationExecutionLineageOperation || (exports.AutomationExecutionLineageOperation = AutomationExecutionLineageOperation = {}));
56
+ var AutomationExecutionEffectDecision;
57
+ (function (AutomationExecutionEffectDecision) {
58
+ AutomationExecutionEffectDecision["EXECUTED"] = "executed";
59
+ AutomationExecutionEffectDecision["SIMULATED"] = "simulated";
60
+ AutomationExecutionEffectDecision["REDIRECTED"] = "redirected";
61
+ AutomationExecutionEffectDecision["BLOCKED"] = "blocked";
62
+ })(AutomationExecutionEffectDecision || (exports.AutomationExecutionEffectDecision = AutomationExecutionEffectDecision = {}));
@@ -0,0 +1,166 @@
1
+ import { AutomationCustomer, AutomationJsonObject, AutomationJsonSchema, AutomationJsonValue, AutomationResourceReference } from '../Common';
2
+ import { AutomationCapabilityEffectClass } from '../Capabilities';
3
+ import { AutomationExecutionContextInput, AutomationExecutionEffectMode, AutomationExecutionScope, AutomationExecutionSource, AutomationFlowSnapshotReference } from './Execution';
4
+ export declare enum AutomationArtifactStatus {
5
+ UPLOADING = "uploading",
6
+ SCANNING = "scanning",
7
+ AVAILABLE = "available",
8
+ REJECTED = "rejected",
9
+ EXPIRED = "expired"
10
+ }
11
+ export declare enum AutomationArtifactOrigin {
12
+ UPLOAD = "upload",
13
+ CAPTURED_EVENT = "capturedEvent",
14
+ EXECUTION = "execution",
15
+ GENERATED = "generated"
16
+ }
17
+ export interface AutomationArtifactReference {
18
+ id: string;
19
+ name: string;
20
+ mimeType: string;
21
+ size: number;
22
+ origin: AutomationArtifactOrigin;
23
+ status: AutomationArtifactStatus;
24
+ checksum?: string | null;
25
+ expiresAt?: string | null;
26
+ owner?: AutomationResourceReference | null;
27
+ }
28
+ export declare enum AutomationTestCaseVisibility {
29
+ PRIVATE = "private",
30
+ SHARED = "shared"
31
+ }
32
+ export declare enum AutomationTestAssertionKind {
33
+ EXECUTION_STATUS = "executionStatus",
34
+ NODE_REACHED = "nodeReached",
35
+ NODE_NOT_REACHED = "nodeNotReached",
36
+ PATH_EXISTS = "pathExists",
37
+ PATH_TYPE = "pathType",
38
+ PATH_VALUE = "pathValue",
39
+ ERROR_CODE = "errorCode",
40
+ MAX_DURATION = "maxDuration",
41
+ MAX_COST = "maxCost"
42
+ }
43
+ export declare enum AutomationTestAssertionStatus {
44
+ PENDING = "pending",
45
+ PASSED = "passed",
46
+ FAILED = "failed",
47
+ SKIPPED = "skipped"
48
+ }
49
+ export interface AutomationTestAssertion {
50
+ id: string;
51
+ kind: AutomationTestAssertionKind;
52
+ nodeId?: string | null;
53
+ path?: string | null;
54
+ expected?: AutomationJsonValue;
55
+ configuration?: AutomationJsonObject | null;
56
+ }
57
+ export interface AutomationTestAssertionResult {
58
+ assertionId: string;
59
+ status: AutomationTestAssertionStatus;
60
+ message?: string | null;
61
+ actual?: AutomationJsonValue;
62
+ }
63
+ /** Configuración común utilizada por preflight e inicio de una prueba. */
64
+ export interface AutomationTestConfiguration {
65
+ flowId: string;
66
+ flowVersionId?: string | null;
67
+ draftRevision?: number | null;
68
+ entryPointId: string;
69
+ scope: AutomationExecutionScope;
70
+ requestedEffectMode: AutomationExecutionEffectMode;
71
+ source: AutomationExecutionSource;
72
+ customer?: AutomationCustomer | null;
73
+ input?: AutomationJsonObject | null;
74
+ context?: AutomationExecutionContextInput | null;
75
+ nodeInputOverrides?: Record<string, AutomationJsonObject> | null;
76
+ artifactIds?: string[] | null;
77
+ testTargetOverrides?: AutomationJsonObject | null;
78
+ }
79
+ export interface StartAutomationTestRequest extends AutomationTestConfiguration {
80
+ idempotencyKey: string;
81
+ correlationId?: string | null;
82
+ testCaseId?: string | null;
83
+ testCaseRevision?: number | null;
84
+ preflightToken?: string | null;
85
+ }
86
+ export interface AutomationTestPreflightRequest extends AutomationTestConfiguration {
87
+ }
88
+ export declare enum AutomationTestPreflightStatus {
89
+ READY = "ready",
90
+ WARNING = "warning",
91
+ BLOCKED = "blocked"
92
+ }
93
+ export declare enum AutomationTestPreflightIssueSeverity {
94
+ INFO = "info",
95
+ WARNING = "warning",
96
+ BLOCKER = "blocker"
97
+ }
98
+ export interface AutomationTestPreflightIssue {
99
+ code: string;
100
+ severity: AutomationTestPreflightIssueSeverity;
101
+ message: string;
102
+ nodeId?: string | null;
103
+ details?: AutomationJsonObject | null;
104
+ }
105
+ export interface AutomationTestPreflightNode {
106
+ nodeId: string;
107
+ nodeDefinitionCode: string;
108
+ nodeDefinitionVersion: number;
109
+ reachable: boolean;
110
+ executable: boolean;
111
+ issues: AutomationTestPreflightIssue[];
112
+ }
113
+ export interface AutomationTestPreflightEffect {
114
+ nodeId: string;
115
+ effectClass: AutomationCapabilityEffectClass;
116
+ action: string;
117
+ description?: string | null;
118
+ originalTarget?: AutomationResourceReference | null;
119
+ effectiveTarget?: AutomationResourceReference | null;
120
+ estimatedItems?: number | null;
121
+ }
122
+ export interface AutomationTestPreflightLimits {
123
+ maxDurationMs?: number | null;
124
+ maxSteps?: number | null;
125
+ maxIterations?: number | null;
126
+ maxItems?: number | null;
127
+ estimatedCost?: number | null;
128
+ currency?: string | null;
129
+ }
130
+ export interface AutomationTestPreflightResult {
131
+ status: AutomationTestPreflightStatus;
132
+ snapshot: AutomationFlowSnapshotReference;
133
+ requestedEffectMode: AutomationExecutionEffectMode;
134
+ effectiveEffectMode: AutomationExecutionEffectMode;
135
+ nodes: AutomationTestPreflightNode[];
136
+ effects: AutomationTestPreflightEffect[];
137
+ issues: AutomationTestPreflightIssue[];
138
+ limits: AutomationTestPreflightLimits;
139
+ requiresConfirmation: boolean;
140
+ preflightToken: string;
141
+ expiresAt: string;
142
+ }
143
+ export interface AutomationTestCase {
144
+ id: string;
145
+ spaceId: string;
146
+ flowId: string;
147
+ name: string;
148
+ description?: string | null;
149
+ revision: number;
150
+ visibility: AutomationTestCaseVisibility;
151
+ configuration: AutomationTestConfiguration;
152
+ assertions: AutomationTestAssertion[];
153
+ createdBy: string;
154
+ createdAt: string;
155
+ updatedBy?: string | null;
156
+ updatedAt?: string | null;
157
+ }
158
+ /** Schema opcional para que el Estudio genere un simulador por Entry Point. */
159
+ export interface AutomationEntryPointTestSchema {
160
+ entryPointId: string;
161
+ inputSchema?: AutomationJsonSchema | null;
162
+ contextSchema?: AutomationJsonSchema | null;
163
+ allowedArtifactMimeTypes?: string[] | null;
164
+ maxArtifactSize?: number | null;
165
+ maxArtifacts?: number | null;
166
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AutomationTestPreflightIssueSeverity = exports.AutomationTestPreflightStatus = exports.AutomationTestAssertionStatus = exports.AutomationTestAssertionKind = exports.AutomationTestCaseVisibility = exports.AutomationArtifactOrigin = exports.AutomationArtifactStatus = void 0;
4
+ var AutomationArtifactStatus;
5
+ (function (AutomationArtifactStatus) {
6
+ AutomationArtifactStatus["UPLOADING"] = "uploading";
7
+ AutomationArtifactStatus["SCANNING"] = "scanning";
8
+ AutomationArtifactStatus["AVAILABLE"] = "available";
9
+ AutomationArtifactStatus["REJECTED"] = "rejected";
10
+ AutomationArtifactStatus["EXPIRED"] = "expired";
11
+ })(AutomationArtifactStatus || (exports.AutomationArtifactStatus = AutomationArtifactStatus = {}));
12
+ var AutomationArtifactOrigin;
13
+ (function (AutomationArtifactOrigin) {
14
+ AutomationArtifactOrigin["UPLOAD"] = "upload";
15
+ AutomationArtifactOrigin["CAPTURED_EVENT"] = "capturedEvent";
16
+ AutomationArtifactOrigin["EXECUTION"] = "execution";
17
+ AutomationArtifactOrigin["GENERATED"] = "generated";
18
+ })(AutomationArtifactOrigin || (exports.AutomationArtifactOrigin = AutomationArtifactOrigin = {}));
19
+ var AutomationTestCaseVisibility;
20
+ (function (AutomationTestCaseVisibility) {
21
+ AutomationTestCaseVisibility["PRIVATE"] = "private";
22
+ AutomationTestCaseVisibility["SHARED"] = "shared";
23
+ })(AutomationTestCaseVisibility || (exports.AutomationTestCaseVisibility = AutomationTestCaseVisibility = {}));
24
+ var AutomationTestAssertionKind;
25
+ (function (AutomationTestAssertionKind) {
26
+ AutomationTestAssertionKind["EXECUTION_STATUS"] = "executionStatus";
27
+ AutomationTestAssertionKind["NODE_REACHED"] = "nodeReached";
28
+ AutomationTestAssertionKind["NODE_NOT_REACHED"] = "nodeNotReached";
29
+ AutomationTestAssertionKind["PATH_EXISTS"] = "pathExists";
30
+ AutomationTestAssertionKind["PATH_TYPE"] = "pathType";
31
+ AutomationTestAssertionKind["PATH_VALUE"] = "pathValue";
32
+ AutomationTestAssertionKind["ERROR_CODE"] = "errorCode";
33
+ AutomationTestAssertionKind["MAX_DURATION"] = "maxDuration";
34
+ AutomationTestAssertionKind["MAX_COST"] = "maxCost";
35
+ })(AutomationTestAssertionKind || (exports.AutomationTestAssertionKind = AutomationTestAssertionKind = {}));
36
+ var AutomationTestAssertionStatus;
37
+ (function (AutomationTestAssertionStatus) {
38
+ AutomationTestAssertionStatus["PENDING"] = "pending";
39
+ AutomationTestAssertionStatus["PASSED"] = "passed";
40
+ AutomationTestAssertionStatus["FAILED"] = "failed";
41
+ AutomationTestAssertionStatus["SKIPPED"] = "skipped";
42
+ })(AutomationTestAssertionStatus || (exports.AutomationTestAssertionStatus = AutomationTestAssertionStatus = {}));
43
+ var AutomationTestPreflightStatus;
44
+ (function (AutomationTestPreflightStatus) {
45
+ AutomationTestPreflightStatus["READY"] = "ready";
46
+ AutomationTestPreflightStatus["WARNING"] = "warning";
47
+ AutomationTestPreflightStatus["BLOCKED"] = "blocked";
48
+ })(AutomationTestPreflightStatus || (exports.AutomationTestPreflightStatus = AutomationTestPreflightStatus = {}));
49
+ var AutomationTestPreflightIssueSeverity;
50
+ (function (AutomationTestPreflightIssueSeverity) {
51
+ AutomationTestPreflightIssueSeverity["INFO"] = "info";
52
+ AutomationTestPreflightIssueSeverity["WARNING"] = "warning";
53
+ AutomationTestPreflightIssueSeverity["BLOCKER"] = "blocker";
54
+ })(AutomationTestPreflightIssueSeverity || (exports.AutomationTestPreflightIssueSeverity = AutomationTestPreflightIssueSeverity = {}));
@@ -1 +1,2 @@
1
1
  export * from './Execution';
2
+ export * from './Testing';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Execution"), exports);
18
+ __exportStar(require("./Testing"), exports);
@@ -1,4 +1,5 @@
1
- import { AutomationJsonObject, AutomationJsonValue } from '../Common';
1
+ import { AutomationJsonObject, AutomationJsonSchema, AutomationJsonValue } from '../Common';
2
+ import type { AutomationNodeVisibilityRule } from '../Nodes';
2
3
  export declare enum AutomationFlowVariableType {
3
4
  STRING = "string",
4
5
  NUMBER = "number",
@@ -32,7 +33,8 @@ export interface AutomationFlowVariable {
32
33
  type: AutomationFlowVariableType;
33
34
  isInput: boolean;
34
35
  isOutput: boolean;
35
- schema?: AutomationJsonObject | null;
36
+ /** JSON Schema que restringe el valor permitido para la variable. */
37
+ schema?: AutomationJsonSchema | null;
36
38
  defaultValue?: AutomationJsonValue;
37
39
  }
38
40
  export interface AutomationFlowViewport {
@@ -96,6 +98,6 @@ export interface AutomationNodeHandle {
96
98
  multiple: boolean;
97
99
  showName: boolean;
98
100
  tags: string[];
99
- showWhen?: AutomationJsonObject | null;
100
- hideWhen?: AutomationJsonObject | null;
101
+ showWhen?: AutomationNodeVisibilityRule | null;
102
+ hideWhen?: AutomationNodeVisibilityRule | null;
101
103
  }
@@ -1,5 +1,5 @@
1
1
  import { AutomationCapabilityReference } from '../Capabilities';
2
- import { AutomationJsonObject, AutomationSourceApplication } from '../Common';
2
+ import { AutomationJsonObject, AutomationJsonValue, AutomationSourceApplication } from '../Common';
3
3
  import { AutomationFlowEdge, AutomationCanvasAnnotation, AutomationFlowNode, AutomationFlowVariable, AutomationFlowViewport } from './Canvas';
4
4
  export declare enum AutomationFlowKind {
5
5
  CONVERSATIONAL = "conversational",
@@ -28,6 +28,48 @@ export declare enum FlowEntryPointExecutionMode {
28
28
  /** El solapamiento fue habilitado explícitamente. */
29
29
  MULTIPLE = "multiple"
30
30
  }
31
+ export declare enum AutomationFilterLogicalOperator {
32
+ /** Todas las condiciones y grupos hijos deben cumplirse. */
33
+ ALL = "all",
34
+ /** Al menos una condición o grupo hijo debe cumplirse. */
35
+ ANY = "any"
36
+ }
37
+ export declare enum AutomationFilterOperator {
38
+ EQUALS = "equals",
39
+ NOT_EQUALS = "notEquals",
40
+ CONTAINS = "contains",
41
+ NOT_CONTAINS = "notContains",
42
+ STARTS_WITH = "startsWith",
43
+ ENDS_WITH = "endsWith",
44
+ GREATER_THAN = "greaterThan",
45
+ GREATER_THAN_OR_EQUAL = "greaterThanOrEqual",
46
+ LESS_THAN = "lessThan",
47
+ LESS_THAN_OR_EQUAL = "lessThanOrEqual",
48
+ IN = "in",
49
+ NOT_IN = "notIn",
50
+ EXISTS = "exists",
51
+ NOT_EXISTS = "notExists"
52
+ }
53
+ /** Comparación tipada aplicada a un campo de un evento. */
54
+ export interface AutomationFilterCondition {
55
+ /** JSON Pointer RFC 6901 absoluto dentro del envelope. */
56
+ path: string;
57
+ /** Operación utilizada para comparar el campo. */
58
+ operator: AutomationFilterOperator;
59
+ /** Valor esperado; no aplica a exists/notExists. */
60
+ value?: AutomationJsonValue;
61
+ /** Sensibilidad de comparaciones de strings; por defecto es true. */
62
+ caseSensitive?: boolean | null;
63
+ }
64
+ /** Grupo recursivo de filtros combinados mediante all o any. */
65
+ export interface AutomationFilterGroup {
66
+ /** Forma en que se combinan condiciones y grupos hijos. */
67
+ logicalOperator: AutomationFilterLogicalOperator;
68
+ /** Comparaciones directas pertenecientes al grupo. */
69
+ conditions: AutomationFilterCondition[];
70
+ /** Grupos anidados. */
71
+ groups: AutomationFilterGroup[];
72
+ }
31
73
  /**
32
74
  * Identidad estable del Flow. El contenido ejecutable vive en FlowVersion.
33
75
  */
@@ -95,7 +137,8 @@ export interface FlowEntryPoint {
95
137
  sourceApplication: AutomationSourceApplication;
96
138
  eventType: string;
97
139
  triggerCapability?: AutomationCapabilityReference | null;
98
- filters: AutomationJsonObject;
140
+ /** Grupo vacío acepta cualquier evento del tipo configurado. */
141
+ filters: AutomationFilterGroup;
99
142
  enabled: boolean;
100
143
  triggerNodeId: string;
101
144
  priority: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FlowEntryPointExecutionMode = exports.AutomationFlowVersionStatus = exports.AutomationFlowStatus = exports.AutomationFlowKind = void 0;
3
+ exports.AutomationFilterOperator = exports.AutomationFilterLogicalOperator = exports.FlowEntryPointExecutionMode = exports.AutomationFlowVersionStatus = exports.AutomationFlowStatus = exports.AutomationFlowKind = void 0;
4
4
  var AutomationFlowKind;
5
5
  (function (AutomationFlowKind) {
6
6
  AutomationFlowKind["CONVERSATIONAL"] = "conversational";
@@ -32,3 +32,27 @@ var FlowEntryPointExecutionMode;
32
32
  /** El solapamiento fue habilitado explícitamente. */
33
33
  FlowEntryPointExecutionMode["MULTIPLE"] = "multiple";
34
34
  })(FlowEntryPointExecutionMode || (exports.FlowEntryPointExecutionMode = FlowEntryPointExecutionMode = {}));
35
+ var AutomationFilterLogicalOperator;
36
+ (function (AutomationFilterLogicalOperator) {
37
+ /** Todas las condiciones y grupos hijos deben cumplirse. */
38
+ AutomationFilterLogicalOperator["ALL"] = "all";
39
+ /** Al menos una condición o grupo hijo debe cumplirse. */
40
+ AutomationFilterLogicalOperator["ANY"] = "any";
41
+ })(AutomationFilterLogicalOperator || (exports.AutomationFilterLogicalOperator = AutomationFilterLogicalOperator = {}));
42
+ var AutomationFilterOperator;
43
+ (function (AutomationFilterOperator) {
44
+ AutomationFilterOperator["EQUALS"] = "equals";
45
+ AutomationFilterOperator["NOT_EQUALS"] = "notEquals";
46
+ AutomationFilterOperator["CONTAINS"] = "contains";
47
+ AutomationFilterOperator["NOT_CONTAINS"] = "notContains";
48
+ AutomationFilterOperator["STARTS_WITH"] = "startsWith";
49
+ AutomationFilterOperator["ENDS_WITH"] = "endsWith";
50
+ AutomationFilterOperator["GREATER_THAN"] = "greaterThan";
51
+ AutomationFilterOperator["GREATER_THAN_OR_EQUAL"] = "greaterThanOrEqual";
52
+ AutomationFilterOperator["LESS_THAN"] = "lessThan";
53
+ AutomationFilterOperator["LESS_THAN_OR_EQUAL"] = "lessThanOrEqual";
54
+ AutomationFilterOperator["IN"] = "in";
55
+ AutomationFilterOperator["NOT_IN"] = "notIn";
56
+ AutomationFilterOperator["EXISTS"] = "exists";
57
+ AutomationFilterOperator["NOT_EXISTS"] = "notExists";
58
+ })(AutomationFilterOperator || (exports.AutomationFilterOperator = AutomationFilterOperator = {}));
@@ -15,6 +15,37 @@ export declare enum AutomationNodePropertyEditor {
15
15
  ASYNC_OPTIONS = "asyncOptions",
16
16
  ASYNC_MULTI_OPTIONS = "asyncMultiOptions"
17
17
  }
18
+ export declare enum AutomationNodeVisibilityLogicalOperator {
19
+ ALL = "all",
20
+ ANY = "any"
21
+ }
22
+ export declare enum AutomationNodeConditionOperator {
23
+ EQUALS = "equals"
24
+ }
25
+ export interface AutomationNodeCondition {
26
+ propertyId: string;
27
+ operator: AutomationNodeConditionOperator;
28
+ value?: AutomationJsonValue;
29
+ }
30
+ export interface AutomationNodeVisibilityRule {
31
+ logicalOperator: AutomationNodeVisibilityLogicalOperator;
32
+ conditions: AutomationNodeCondition[];
33
+ }
34
+ export interface AutomationNodePropertyUi {
35
+ tabId: string;
36
+ tabLabel: string;
37
+ order: number;
38
+ labelKey?: string | null;
39
+ placeholder?: string | null;
40
+ rows?: number | null;
41
+ numberMin?: number | null;
42
+ numberMax?: number | null;
43
+ step?: number | null;
44
+ acceptVariable?: boolean | null;
45
+ acceptEmojis?: boolean | null;
46
+ allowMaximizeInput?: boolean | null;
47
+ itemProperties: AutomationNodePropertyDefinition[];
48
+ }
18
49
  export interface AutomationNodeDefinition {
19
50
  code: string;
20
51
  version: number;
@@ -44,9 +75,9 @@ export interface AutomationNodePropertyDefinition {
44
75
  schema?: AutomationJsonSchema | null;
45
76
  options: AutomationNodeOption[];
46
77
  optionsCapabilityCode?: string | null;
47
- ui?: AutomationJsonObject | null;
48
- showWhen?: AutomationJsonObject | null;
49
- hideWhen?: AutomationJsonObject | null;
78
+ ui: AutomationNodePropertyUi;
79
+ showWhen?: AutomationNodeVisibilityRule | null;
80
+ hideWhen?: AutomationNodeVisibilityRule | null;
50
81
  }
51
82
  export interface AutomationNodeOption {
52
83
  id: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AutomationNodePropertyEditor = void 0;
3
+ exports.AutomationNodeConditionOperator = exports.AutomationNodeVisibilityLogicalOperator = exports.AutomationNodePropertyEditor = void 0;
4
4
  var AutomationNodePropertyEditor;
5
5
  (function (AutomationNodePropertyEditor) {
6
6
  AutomationNodePropertyEditor["STRING"] = "string";
@@ -16,3 +16,12 @@ var AutomationNodePropertyEditor;
16
16
  AutomationNodePropertyEditor["ASYNC_OPTIONS"] = "asyncOptions";
17
17
  AutomationNodePropertyEditor["ASYNC_MULTI_OPTIONS"] = "asyncMultiOptions";
18
18
  })(AutomationNodePropertyEditor || (exports.AutomationNodePropertyEditor = AutomationNodePropertyEditor = {}));
19
+ var AutomationNodeVisibilityLogicalOperator;
20
+ (function (AutomationNodeVisibilityLogicalOperator) {
21
+ AutomationNodeVisibilityLogicalOperator["ALL"] = "all";
22
+ AutomationNodeVisibilityLogicalOperator["ANY"] = "any";
23
+ })(AutomationNodeVisibilityLogicalOperator || (exports.AutomationNodeVisibilityLogicalOperator = AutomationNodeVisibilityLogicalOperator = {}));
24
+ var AutomationNodeConditionOperator;
25
+ (function (AutomationNodeConditionOperator) {
26
+ AutomationNodeConditionOperator["EQUALS"] = "equals";
27
+ })(AutomationNodeConditionOperator || (exports.AutomationNodeConditionOperator = AutomationNodeConditionOperator = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.691",
3
+ "version": "2.10.694",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",