@trii/types 2.10.694 → 2.10.696
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 +69 -0
- package/dist/Conversations/index.js +7 -17
- package/dist/Tickets/Dashboard.d.ts +1 -0
- 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 +69 -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"));
|
|
@@ -357,4 +357,73 @@ export interface UserInboxCounterDocument {
|
|
|
357
357
|
projectionVersion: number;
|
|
358
358
|
updatedAt: Date;
|
|
359
359
|
}
|
|
360
|
+
export interface CursorPage<T> {
|
|
361
|
+
items: T[];
|
|
362
|
+
nextCursor?: string;
|
|
363
|
+
hasMore: boolean;
|
|
364
|
+
generatedAt: Date;
|
|
365
|
+
}
|
|
366
|
+
export interface ConversationCapabilitiesDto {
|
|
367
|
+
canView: boolean;
|
|
368
|
+
canReply: boolean;
|
|
369
|
+
canFollow: boolean;
|
|
370
|
+
canAbandon: boolean;
|
|
371
|
+
canClaim: boolean;
|
|
372
|
+
canAccept: boolean;
|
|
373
|
+
canRelease: boolean;
|
|
374
|
+
canTransfer: boolean;
|
|
375
|
+
canResolve: boolean;
|
|
376
|
+
canReopen: boolean;
|
|
377
|
+
canChangePriority: boolean;
|
|
378
|
+
canManageLabels: boolean;
|
|
379
|
+
canManageSla: boolean;
|
|
380
|
+
canViewAssignmentHistory: boolean;
|
|
381
|
+
canViewRoutingDecisions: boolean;
|
|
382
|
+
}
|
|
383
|
+
export interface InboxViewSummaryDto {
|
|
384
|
+
id: InboxViewId | 'supervised_target';
|
|
385
|
+
label: string;
|
|
386
|
+
scope: 'personal' | 'supervision' | 'history';
|
|
387
|
+
order: number;
|
|
388
|
+
total: number;
|
|
389
|
+
requiresAction: number;
|
|
390
|
+
unread: number;
|
|
391
|
+
enabled: boolean;
|
|
392
|
+
targetRequired: boolean;
|
|
393
|
+
capabilities: string[];
|
|
394
|
+
}
|
|
395
|
+
export interface InboxViewsResponse {
|
|
396
|
+
views: InboxViewSummaryDto[];
|
|
397
|
+
countersGeneratedAt: Date;
|
|
398
|
+
projectionLagMs?: number;
|
|
399
|
+
}
|
|
400
|
+
export interface InboxFilterDto {
|
|
401
|
+
text?: string;
|
|
402
|
+
queueIds?: ID[];
|
|
403
|
+
ownerUserIds?: ID[];
|
|
404
|
+
channelTypes?: string[];
|
|
405
|
+
statuses?: ConversationStatus[];
|
|
406
|
+
priorities?: Array<'low' | 'normal' | 'high' | 'urgent'>;
|
|
407
|
+
slaStatuses?: Array<'none' | 'running' | 'warning' | 'breached' | 'met'>;
|
|
408
|
+
labelIds?: ID[];
|
|
409
|
+
unread?: boolean;
|
|
410
|
+
requiresAction?: boolean;
|
|
411
|
+
pinned?: boolean;
|
|
412
|
+
lastActivity?: {
|
|
413
|
+
from?: Date;
|
|
414
|
+
to?: Date;
|
|
415
|
+
};
|
|
416
|
+
sort: {
|
|
417
|
+
type: 'activity';
|
|
418
|
+
} | {
|
|
419
|
+
type: 'priority';
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
export type InboxConversationItemDto = Pick<UserInboxItemDocument, 'conversationId' | 'views' | 'snapshot' | 'pinned' | 'priorityScore' | 'sortAt'> & {
|
|
423
|
+
capabilities: Pick<ConversationCapabilitiesDto, 'canView' | 'canReply' | 'canClaim' | 'canTransfer'>;
|
|
424
|
+
};
|
|
425
|
+
export interface InboxConversationPage extends CursorPage<InboxConversationItemDto> {
|
|
426
|
+
appliedFilter: InboxFilterDto;
|
|
427
|
+
facets?: unknown;
|
|
428
|
+
}
|
|
360
429
|
export {};
|
|
@@ -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
|
};
|
|
@@ -229,6 +229,7 @@ export interface ITicketMetricDefinition {
|
|
|
229
229
|
supportsPercentile?: boolean;
|
|
230
230
|
supportsRealTime?: boolean;
|
|
231
231
|
higherIsBetter?: boolean;
|
|
232
|
+
supportedFilters: (keyof Omit<ITicketAnalyticsFilter, 'range'>)[];
|
|
232
233
|
}
|
|
233
234
|
export interface ITicketMetricQuery {
|
|
234
235
|
metric: TicketMetricCode;
|
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.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;
|