@trii/types 2.10.731 → 2.10.732
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/dist/Common/index.js +7 -17
- package/dist/Conversations/Conversation.d.ts +19 -4
- package/dist/Conversations/index.js +7 -17
- package/dist/index.js +7 -17
- package/dist/src/Automations/Capabilities/Capability.d.ts +33 -0
- package/dist/src/Automations/Capabilities/Capability.js +15 -1
- package/dist/src/Automations/Common.d.ts +47 -0
- package/dist/src/Automations/Common.js +22 -0
- package/dist/src/Automations/Events/Event.d.ts +31 -3
- package/dist/src/Automations/Events/Event.js +12 -0
- package/dist/src/Automations/Executions/Execution.d.ts +144 -4
- package/dist/src/Automations/Executions/Execution.js +40 -1
- package/dist/src/Automations/Executions/Testing.d.ts +166 -0
- package/dist/src/Automations/Executions/Testing.js +54 -0
- package/dist/src/Automations/Executions/index.d.ts +1 -0
- package/dist/src/Automations/Executions/index.js +1 -0
- package/dist/src/Automations/Flows/Canvas.d.ts +21 -4
- package/dist/src/Automations/Flows/Canvas.js +5 -1
- package/dist/src/Automations/Flows/Flow.d.ts +48 -3
- package/dist/src/Automations/Flows/Flow.js +25 -1
- package/dist/src/Automations/Nodes/Node.d.ts +41 -3
- package/dist/src/Automations/Nodes/Node.js +10 -1
- package/dist/src/Common/Channels/Channel.d.ts +6 -4
- package/dist/src/Conversations/Conversation.d.ts +90 -0
- package/dist/src/Tickets/Dashboard.d.ts +1 -0
- package/package.json +5 -2
- package/dist/AI/MapPolygon.d.ts +0 -22
- package/dist/AI/MapPolygon.js +0 -2
- package/dist/Conversations/DashBoard/dashboardForms.d.ts +0 -44
- package/dist/Conversations/DashBoard/dashboardForms.js +0 -24
- package/dist/Conversations/Flows/Nodes/NodeAIChatBot.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeAIChatBot.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeApi.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeApi.js +0 -183
- package/dist/Conversations/Flows/Nodes/NodeBotIA.d.ts +0 -15
- package/dist/Conversations/Flows/Nodes/NodeBotIA.js +0 -6
- package/dist/Conversations/Flows/Nodes/NodeChatBotIA.d.ts +0 -15
- package/dist/Conversations/Flows/Nodes/NodeChatBotIA.js +0 -6
- package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConditional.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeFillForm.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +0 -9
- package/dist/Conversations/Flows/Nodes/NodeGoogleCalendar.d.ts +0 -20
- package/dist/Conversations/Flows/Nodes/NodeGoogleCalendar.js +0 -2
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps copy.d.ts +0 -12
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps copy.js +0 -6
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps.d.ts +0 -15
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps.js +0 -2
- package/dist/Conversations/Flows/Nodes/NodeMsgReply.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgReply.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgSend.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgSend.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgText.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeMsgText.js +0 -27
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeRedirect.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeStart.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeToolCalculator.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolCalculator.js +0 -37
- package/dist/Conversations/Flows/Nodes/NodeToolContacts.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolContacts.js +0 -59
- package/dist/Conversations/Flows/Nodes/NodeToolFunction.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolFunction.js +0 -45
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.js +0 -87
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleMaps.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleMaps.js +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.js +0 -52
- package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.js +0 -59
- package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.js +0 -45
- package/dist/Conversations/Flows/Nodes/NodeToolShoppingCart.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolShoppingCart.js +0 -81
- package/dist/Conversations/Flows/Nodes/index.d.ts +0 -24
- package/dist/Conversations/Flows/Nodes/index.js +0 -40
- package/dist/Conversations/InboxCounters.d.ts +0 -18
- package/dist/Conversations/InboxCounters.js +0 -2
- package/dist/Presence/ChannelRoutingState.d.ts +0 -17
- package/dist/Presence/ChannelRoutingState.js +0 -9
- package/dist/Tickets/AccessLevel.d.ts +0 -5
- package/dist/Tickets/AccessLevel.js +0 -9
package/dist/Common/index.js
CHANGED
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
26
|
exports.QueueEvent = exports.Schedules = exports.Notifications = exports.Messages = exports.Channels = exports.API = void 0;
|
|
37
27
|
exports.API = __importStar(require("./API/index"));
|
|
@@ -164,7 +164,7 @@ export declare enum ConversationStatus {
|
|
|
164
164
|
FINALIZED = 3,// Alias for RESOLVED
|
|
165
165
|
WAITING = 10
|
|
166
166
|
}
|
|
167
|
-
export type InboxViewId = 'pending' | 'following' | 'sla_warning' | 'sla_breached' | 'team_sla_breached' | 'resolved';
|
|
167
|
+
export type InboxViewId = 'pending' | 'following' | 'sla_warning' | 'sla_breached' | 'team_sla_breached' | 'resolved' | 'label';
|
|
168
168
|
export type OwnerType = 'user' | 'bot' | 'flow' | 'none';
|
|
169
169
|
export interface NoConversationOwner {
|
|
170
170
|
type: 'none';
|
|
@@ -308,7 +308,7 @@ export interface PutConversationReadStateRequest {
|
|
|
308
308
|
export interface PutConversationPinRequest {
|
|
309
309
|
pinned: boolean;
|
|
310
310
|
}
|
|
311
|
-
export type InboxVisibilityReason = 'manual_follow' | 'assigned_to_user' | 'shared_queue_member' | 'queue_claimable' | 'active_participant' | 'sla_warning_owner' | 'sla_breached_owner' | 'supervised_queue_sla' | 'supervisor_escalation' | 'resolved_visible';
|
|
311
|
+
export type InboxVisibilityReason = 'manual_follow' | 'assigned_to_user' | 'shared_queue_member' | 'queue_claimable' | 'active_participant' | 'sla_warning_owner' | 'sla_breached_owner' | 'supervised_queue_sla' | 'supervisor_escalation' | 'resolved_visible' | 'labeled';
|
|
312
312
|
export interface ConversationInboxSnapshot {
|
|
313
313
|
interactionKind: 'private' | 'wall_post' | 'comment' | 'mention';
|
|
314
314
|
channelType: string;
|
|
@@ -331,12 +331,21 @@ export interface ConversationInboxSnapshot {
|
|
|
331
331
|
deadlineAt?: Date;
|
|
332
332
|
};
|
|
333
333
|
lastActivityAt: Date;
|
|
334
|
+
labels: {
|
|
335
|
+
id: ID;
|
|
336
|
+
name: string;
|
|
337
|
+
color?: string;
|
|
338
|
+
}[];
|
|
334
339
|
}
|
|
335
340
|
/**
|
|
336
341
|
* Membership of one materialized conversation in one logical inbox view.
|
|
337
342
|
*
|
|
338
343
|
* visibilityReasons has set semantics: values must be unique and non-empty.
|
|
339
344
|
* Removing one reason preserves the view while at least one reason remains.
|
|
345
|
+
*
|
|
346
|
+
* labelId is only populated when viewId is 'label' - identifies which of the
|
|
347
|
+
* space's labels this particular view entry represents (InboxViewId is a
|
|
348
|
+
* fixed enum, but labels are dynamic per space).
|
|
340
349
|
*/
|
|
341
350
|
export interface UserInboxItemView {
|
|
342
351
|
viewId: InboxViewId;
|
|
@@ -345,12 +354,16 @@ export interface UserInboxItemView {
|
|
|
345
354
|
...InboxVisibilityReason[]
|
|
346
355
|
];
|
|
347
356
|
requiresAction: boolean;
|
|
357
|
+
labelId?: ID;
|
|
348
358
|
}
|
|
349
359
|
/**
|
|
350
360
|
* Materialized read model. There is exactly one document for each
|
|
351
361
|
* spaceId + userId + conversationId tuple.
|
|
352
362
|
*
|
|
353
|
-
* views must contain unique viewId values
|
|
363
|
+
* views must contain unique viewId values, EXCEPT for viewId='label': a
|
|
364
|
+
* conversation can carry multiple labels, so multiple entries with
|
|
365
|
+
* viewId='label' are allowed as long as their labelId differs (unique
|
|
366
|
+
* (viewId, labelId) pairs for that case). Delete the document when the last
|
|
354
367
|
* view is removed.
|
|
355
368
|
*/
|
|
356
369
|
export interface UserInboxItemDocument {
|
|
@@ -370,7 +383,8 @@ export interface UserInboxItemDocument {
|
|
|
370
383
|
projectedAt: Date;
|
|
371
384
|
}
|
|
372
385
|
/**
|
|
373
|
-
* Materialized counters for exactly one user/view pair
|
|
386
|
+
* Materialized counters for exactly one user/view pair (user/view/label when
|
|
387
|
+
* viewId is 'label' - labelId becomes part of the logical key in that case).
|
|
374
388
|
*
|
|
375
389
|
* total and requiresAction count conversations, never visibility reasons.
|
|
376
390
|
* unread counts conversations whose snapshot.unreadCount is greater than zero,
|
|
@@ -381,6 +395,7 @@ export interface UserInboxCounterDocument {
|
|
|
381
395
|
spaceId: ID;
|
|
382
396
|
userId: ID;
|
|
383
397
|
viewId: InboxViewId;
|
|
398
|
+
labelId?: ID;
|
|
384
399
|
total: number;
|
|
385
400
|
requiresAction: number;
|
|
386
401
|
unread: number;
|
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
27
|
};
|
package/dist/index.js
CHANGED
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
26
|
exports.Automations = exports.Forms = exports.APIResponses = exports.Shop = exports.AI = exports.APIKeys = exports.Events = exports.EventsQueue = exports.ApiResponses = exports.Presence = exports.Users = exports.Collections = exports.Sales = exports.Tickets = exports.Spaces = exports.Reports = exports.Security = exports.Calls = exports.Conversations = exports.Calendar = exports.Contacts = exports.Common = exports.AuditLogs = exports.Accounts = void 0;
|
|
37
27
|
exports.Accounts = __importStar(require("./Accounts/index"));
|
|
@@ -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[];
|
|
@@ -45,3 +67,28 @@ export interface AutomationError {
|
|
|
45
67
|
message: string;
|
|
46
68
|
details?: AutomationJsonObject | null;
|
|
47
69
|
}
|
|
70
|
+
/** Referencia estable con la identidad visible al iniciar una ejecución. */
|
|
71
|
+
export interface AutomationCustomerReference {
|
|
72
|
+
id: string;
|
|
73
|
+
displayNameSnapshot?: string | null;
|
|
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
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Contexto CRM opcional asociado a un evento o ejecución.
|
|
88
|
+
* Permite representar escenarios B2C, B2B o un contacto perteneciente a una
|
|
89
|
+
* empresa sin depender de los contratos internos del módulo Contacts.
|
|
90
|
+
*/
|
|
91
|
+
export interface AutomationCustomer {
|
|
92
|
+
contact?: AutomationCustomerReference | null;
|
|
93
|
+
business?: AutomationCustomerReference | null;
|
|
94
|
+
}
|
|
@@ -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 { 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;
|
|
@@ -18,23 +19,50 @@ export interface AutomationEventEnvelope {
|
|
|
18
19
|
eventVersion: number;
|
|
19
20
|
occurredAt: string;
|
|
20
21
|
receivedAt: string;
|
|
21
|
-
|
|
22
|
+
customer?: AutomationCustomer | null;
|
|
23
|
+
/** Entidad principal sobre la que ocurrió el evento. */
|
|
24
|
+
subject?: AutomationResourceReference | null;
|
|
22
25
|
correlationId?: string | null;
|
|
23
26
|
causationId?: string | null;
|
|
24
27
|
idempotencyKey?: string | null;
|
|
25
28
|
payload: AutomationJsonObject;
|
|
26
29
|
metadata?: AutomationJsonObject | null;
|
|
27
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
|
+
}
|
|
28
50
|
export interface ResolveFlowEntryPointsRequest {
|
|
29
51
|
event: AutomationEventEnvelope;
|
|
30
52
|
}
|
|
31
53
|
export interface ResolvedFlowEntryPoint {
|
|
54
|
+
/** Definición estable del Flow. */
|
|
32
55
|
flowId: string;
|
|
56
|
+
/** Versión publicada candidata a recibir el evento. */
|
|
33
57
|
flowVersionId: string;
|
|
58
|
+
/** Entry Point evaluado. */
|
|
34
59
|
entryPointId: string;
|
|
60
|
+
/** Prioridad utilizada para resolver candidatos. */
|
|
35
61
|
priority: number;
|
|
62
|
+
/** Indica si el candidato debe iniciar una ejecución. */
|
|
36
63
|
selected: boolean;
|
|
37
|
-
|
|
64
|
+
/** Motivo de exclusión; ausente cuando selected es true. */
|
|
65
|
+
exclusion?: AutomationEntryPointExclusion | null;
|
|
38
66
|
}
|
|
39
67
|
export interface ResolveFlowEntryPointsResult {
|
|
40
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 { 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
|
-
|
|
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;
|
|
@@ -43,9 +154,11 @@ export interface AutomationExecution {
|
|
|
43
154
|
flowVersion: number;
|
|
44
155
|
entryPointId: string;
|
|
45
156
|
status: AutomationExecutionStatus;
|
|
157
|
+
customer?: AutomationCustomer | null;
|
|
46
158
|
trigger: AutomationExecutionTrigger;
|
|
47
159
|
input: AutomationJsonObject;
|
|
48
|
-
|
|
160
|
+
/** Scope tipado y extensible utilizado durante la ejecución. */
|
|
161
|
+
context: AutomationExecutionContext;
|
|
49
162
|
output?: AutomationJsonObject | null;
|
|
50
163
|
error?: AutomationError | null;
|
|
51
164
|
createdAt: string;
|
|
@@ -56,6 +169,18 @@ export interface AutomationExecution {
|
|
|
56
169
|
correlationId?: string | null;
|
|
57
170
|
parentExecutionId?: string | null;
|
|
58
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;
|
|
59
184
|
}
|
|
60
185
|
export interface AutomationExecutionStep {
|
|
61
186
|
id: string;
|
|
@@ -72,6 +197,13 @@ export interface AutomationExecutionStep {
|
|
|
72
197
|
startedAt?: string | null;
|
|
73
198
|
completedAt?: string | null;
|
|
74
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;
|
|
75
207
|
}
|
|
76
208
|
export interface AutomationExecutionUsage {
|
|
77
209
|
inputTokens: number;
|
|
@@ -85,18 +217,26 @@ export interface AutomationExecutionQuery extends AutomationPageRequest {
|
|
|
85
217
|
flowId?: string | null;
|
|
86
218
|
flowVersionId?: string | null;
|
|
87
219
|
entryPointId?: string | null;
|
|
220
|
+
contactId?: string | null;
|
|
221
|
+
businessId?: string | null;
|
|
222
|
+
customerSearch?: string | null;
|
|
88
223
|
statuses?: AutomationExecutionStatus[] | null;
|
|
89
224
|
createdFrom?: string | null;
|
|
90
225
|
createdTo?: string | null;
|
|
91
226
|
correlationId?: string | null;
|
|
227
|
+
purposes?: AutomationExecutionPurpose[] | null;
|
|
228
|
+
effectModes?: AutomationExecutionEffectMode[] | null;
|
|
229
|
+
testCaseId?: string | null;
|
|
92
230
|
}
|
|
93
231
|
export interface StartAutomationExecutionRequest {
|
|
94
232
|
flowId: string;
|
|
95
233
|
flowVersionId: string;
|
|
96
234
|
entryPointId: string;
|
|
235
|
+
customer?: AutomationCustomer | null;
|
|
97
236
|
trigger: AutomationExecutionTrigger;
|
|
98
237
|
input: AutomationJsonObject;
|
|
99
|
-
|
|
238
|
+
/** Variables iniciales y extensiones aportadas por el caller. */
|
|
239
|
+
context: AutomationExecutionContextInput;
|
|
100
240
|
idempotencyKey?: string | null;
|
|
101
241
|
correlationId?: string | null;
|
|
102
242
|
parentExecutionId?: string | null;
|