@elqnt/workflow 2.0.5 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/index.d.mts +74 -0
- package/dist/api/index.d.ts +74 -0
- package/dist/api/index.js +36 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/index.mjs +36 -0
- package/dist/api/index.mjs.map +1 -0
- package/dist/chunk-F5G2ALFS.js +391 -0
- package/dist/chunk-F5G2ALFS.js.map +1 -0
- package/dist/chunk-JES2EBNO.js +105 -0
- package/dist/chunk-JES2EBNO.js.map +1 -0
- package/dist/chunk-TZA3EPTC.mjs +391 -0
- package/dist/chunk-TZA3EPTC.mjs.map +1 -0
- package/dist/chunk-UE4ZBFLG.mjs +105 -0
- package/dist/chunk-UE4ZBFLG.mjs.map +1 -0
- package/dist/hooks/index.d.mts +63 -0
- package/dist/hooks/index.d.ts +63 -0
- package/dist/hooks/index.js +14 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/index.mjs +14 -0
- package/dist/hooks/index.mjs.map +1 -0
- package/dist/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +41 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +40 -0
- package/dist/index.mjs.map +1 -1
- package/dist/models/index.d.mts +56 -1
- package/dist/models/index.d.ts +56 -1
- package/dist/{index-B4xiOlL7.d.mts → workflow-vv0mDt57.d.mts} +1 -54
- package/dist/{index-B4xiOlL7.d.ts → workflow-vv0mDt57.d.ts} +1 -54
- package/package.json +15 -3
package/dist/models/index.d.mts
CHANGED
|
@@ -1,2 +1,57 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { b8 as CacheConfig, aM as CreateWorkflowDefinitionRequest, bh as CreateWorkflowInstanceRequest, aR as DeleteWorkflowDefinitionRequest, bv as EdgeState, bN as EdgeStatus, bP as EdgeStatusCompleted, bO as EdgeStatusPending, bQ as EdgeStatusSkipped, aq as EdgeType, ay as EdgeTypeCompensation, aw as EdgeTypeConditional, au as EdgeTypeDefault, aH as EdgeTypeDefinition, at as EdgeTypeError, as as EdgeTypeLoopBack, ax as EdgeTypeMerge, ar as EdgeTypeNormal, av as EdgeTypeParallel, az as EdgeTypeTimeout, b6 as ExecutionConfig, bt as ExecutionContext, bx as ExecutionError, bw as ExecutionPathEntry, b9 as ExpressionConfig, ak as ExpressionType, ao as ExpressionTypeDSL, al as ExpressionTypeFilter, am as ExpressionTypeJavaScript, ap as ExpressionTypeRules, an as ExpressionTypeTemplate, bn as GetInstanceByStateVariableRequest, aP as GetWorkflowDefinitionByTitleRequest, aO as GetWorkflowDefinitionRequest, bm as GetWorkflowInstanceRequest, bs as InstanceState, by as InstanceStatus, bD as InstanceStatusCompleted, bE as InstanceStatusFailed, bz as InstanceStatusNew, bC as InstanceStatusPaused, bA as InstanceStatusRunning, bB as InstanceStatusWaiting, aK as Intent, br as ListInstancesOptions, aQ as ListWorkflowDefinitionsRequest, L as ListWorkflowDefinitionsResponse, bo as ListWorkflowInstancesRequest, d as ListWorkflowInstancesResponse, aJ as LogicPath, aL as Metadata, b3 as NodeConfig, aG as NodeDefinition, b1 as NodeInput, bF as NodeInstance, b2 as NodeOutput, b5 as NodeSettings, bu as NodeState, bG as NodeStatus, bJ as NodeStatusCompleted, bK as NodeStatusFailed, bH as NodeStatusPending, bI as NodeStatusRunning, bM as NodeStatusSkipped, bL as NodeStatusWaiting, t as NodeSubType, R as NodeSubTypeActionApiCall, a0 as NodeSubTypeActionAssignSLAPolicy, a3 as NodeSubTypeActionCSATSurvey, a1 as NodeSubTypeActionChangeSLAStatus, Y as NodeSubTypeActionCreateEntityRecord, _ as NodeSubTypeActionDeleteEntityRecord, S as NodeSubTypeActionDocumentExtraction, a2 as NodeSubTypeActionEscalateSLA, V as NodeSubTypeActionGenerateDocument, $ as NodeSubTypeActionMergeEntityRecords, a6 as NodeSubTypeActionNatsRequest, X as NodeSubTypeActionProcessPayment, a5 as NodeSubTypeActionQueryEntityRecords, T as NodeSubTypeActionSendEmail, U as NodeSubTypeActionSendSMS, a4 as NodeSubTypeActionSetVariables, Z as NodeSubTypeActionUpdateEntityRecord, O as NodeSubTypeAgentApiIntegration, G as NodeSubTypeAgentChat, J as NodeSubTypeAgentClientApiCall, P as NodeSubTypeAgentCustomResponse, H as NodeSubTypeAgentIntentDetector, I as NodeSubTypeAgentKnowledgeGraph, M as NodeSubTypeAgentOpenTicket, Q as NodeSubTypeAgentStructuredOutput, K as NodeSubTypeAgentTransferToHuman, af as NodeSubTypeDataCalculate, ad as NodeSubTypeDataFilter, ae as NodeSubTypeDataMap, ag as NodeSubTypeDataValidate, ac as NodeSubTypeDelay, D as NodeSubTypeHumanActionApproval, F as NodeSubTypeHumanActionAssignment, E as NodeSubTypeHumanActionDataEntry, C as NodeSubTypeHumanActionReview, a9 as NodeSubTypeLogicFor, a7 as NodeSubTypeLogicIf, aa as NodeSubTypeLogicParallel, a8 as NodeSubTypeLogicSwitch, ab as NodeSubTypeLoopData, aj as NodeSubTypeTimerBusinessHours, ah as NodeSubTypeTimerDelay, ai as NodeSubTypeTimerSchedule, v as NodeSubTypeTriggerEntityRecordCreated, x as NodeSubTypeTriggerEntityRecordDeleted, w as NodeSubTypeTriggerEntityRecordUpdated, A as NodeSubTypeTriggerEscalation, z as NodeSubTypeTriggerSLABreach, y as NodeSubTypeTriggerSLAWarning, u as NodeSubTypeTriggerStart, B as NodeSubTypeTriggerWebhookReceived, N as NodeType, r as NodeTypeAccounting, h as NodeTypeAction, g as NodeTypeAgent, q as NodeTypeCustom, m as NodeTypeData, l as NodeTypeDelay, s as NodeTypeDocumentExtraction, f as NodeTypeHumanAction, n as NodeTypeIntegration, i as NodeTypeLogic, j as NodeTypeLoop, k as NodeTypeParallel, p as NodeTypeSubflow, o as NodeTypeTimer, e as NodeTypeTrigger, a_ as PersistenceType, a$ as PersistenceTypeEphemeral, b0 as PersistenceTypePermanent, b7 as RetryConfig, bq as RetryNodeRequest, aU as RuleLevel, aV as RuleLevelError, aX as RuleLevelInfo, aW as RuleLevelWarning, bc as TimeoutAction, bg as TimeoutActionAlt, bd as TimeoutActionFail, bf as TimeoutActionRetry, be as TimeoutActionSkip, bb as TimeoutConfig, bl as UpdateInstanceNodeMetadataRequest, bp as UpdateInstanceStatusRequest, aN as UpdateWorkflowDefinitionRequest, W as WorkflowDefinition, bR as WorkflowDefinitionInfo, b as WorkflowDefinitionResponse, ba as WorkflowEdge, a as WorkflowInstance, bk as WorkflowInstanceExecuteNodeLeanRequest, bi as WorkflowInstanceExecuteNodeRequest, c as WorkflowInstanceResponse, bj as WorkflowInstanceResumeNodeRequest, aZ as WorkflowMetadata, b4 as WorkflowNode, aY as WorkflowPermissions, aT as WorkflowRule, aA as WorkflowType, aE as WorkflowTypeAgent, aD as WorkflowTypeChat, aI as WorkflowTypeDefinition, aC as WorkflowTypeDocument, aB as WorkflowTypeEntity, aF as WorkflowTypeProductivity, aS as WorkflowVariables } from '../workflow-vv0mDt57.mjs';
|
|
2
2
|
import '@elqnt/types';
|
|
3
|
+
|
|
4
|
+
declare const WorkflowDefinitionCreate = "workflow.definition.create";
|
|
5
|
+
declare const WorkflowDefinitionCreated = "workflow.definition.created";
|
|
6
|
+
declare const WorkflowDefinitionUpdate = "workflow.definition.update";
|
|
7
|
+
declare const WorkflowDefinitionUpdated = "workflow.definition.updated";
|
|
8
|
+
declare const WorkflowDefinitionGet = "workflow.definition.get";
|
|
9
|
+
declare const WorkflowDefinitionGetServer = "workflow.definition.get.server";
|
|
10
|
+
declare const WorkflowDefinitionGetByTitle = "workflow.definition.get.by.title";
|
|
11
|
+
declare const WorkflowDefinitionList = "workflow.definition.list";
|
|
12
|
+
declare const WorkflowDefinitionDelete = "workflow.definition.delete";
|
|
13
|
+
declare const WorkflowDefinitionDeleted = "workflow.definition.deleted";
|
|
14
|
+
declare const WorkflowInstanceCreate = "workflow.instance.create";
|
|
15
|
+
declare const WorkflowInstanceExecuteNode = "workflow.instance.execute.node";
|
|
16
|
+
declare const WorkflowInstanceResumeNode = "workflow.instance.resume.node";
|
|
17
|
+
declare const WorkflowInstanceExecuteNodeServer = "workflow.instance.execute.node.server";
|
|
18
|
+
declare const WorkflowInstanceResumeNodeServer = "workflow.instance.resume.node.server";
|
|
19
|
+
declare const WorkflowInstanceExecuteNodeLean = "workflow.instance.execute.node.lean";
|
|
20
|
+
declare const WorkflowInstanceExecuteNodeLeanServer = "workflow.instance.execute.node.lean.server";
|
|
21
|
+
declare const WorkflowInstanceGet = "workflow.instance.get";
|
|
22
|
+
declare const WorkflowInstanceGetByStateVariable = "workflow.instance.get.by.state.variable";
|
|
23
|
+
declare const WorkflowInstanceList = "workflow.instance.list";
|
|
24
|
+
declare const WorkflowInstanceUpdate = "workflow.instance.update";
|
|
25
|
+
declare const WorkflowInstanceUpdated = "workflow.instance.updated";
|
|
26
|
+
declare const WorkflowInstanceUpdateNodeMetadata = "workflow.instance.update.node.metadata";
|
|
27
|
+
/**
|
|
28
|
+
* Template management
|
|
29
|
+
*/
|
|
30
|
+
declare const WorkflowTemplateList = "workflow.template.list";
|
|
31
|
+
declare const WorkflowTemplateGet = "workflow.template.get";
|
|
32
|
+
declare const WorkflowTemplateInstantiate = "workflow.template.instantiate";
|
|
33
|
+
/**
|
|
34
|
+
* Schedule management
|
|
35
|
+
*/
|
|
36
|
+
declare const WorkflowScheduleCreate = "workflow.schedule.create";
|
|
37
|
+
declare const WorkflowScheduleUpdate = "workflow.schedule.update";
|
|
38
|
+
declare const WorkflowScheduleDelete = "workflow.schedule.delete";
|
|
39
|
+
declare const WorkflowScheduleList = "workflow.schedule.list";
|
|
40
|
+
declare const WorkflowSchedulePause = "workflow.schedule.pause";
|
|
41
|
+
declare const WorkflowScheduleResume = "workflow.schedule.resume";
|
|
42
|
+
/**
|
|
43
|
+
* Trigger management
|
|
44
|
+
*/
|
|
45
|
+
declare const WorkflowTriggerRegister = "workflow.trigger.register";
|
|
46
|
+
declare const WorkflowTriggerPause = "workflow.trigger.pause";
|
|
47
|
+
declare const WorkflowTriggerResume = "workflow.trigger.resume";
|
|
48
|
+
declare const WorkflowTriggerStatus = "workflow.trigger.status";
|
|
49
|
+
declare const WorkflowTriggerFired = "workflow.trigger.fired";
|
|
50
|
+
/**
|
|
51
|
+
* Execution events
|
|
52
|
+
*/
|
|
53
|
+
declare const WorkflowExecutionStarted = "workflow.execution.started";
|
|
54
|
+
declare const WorkflowExecutionCompleted = "workflow.execution.completed";
|
|
55
|
+
declare const WorkflowExecutionFailed = "workflow.execution.failed";
|
|
56
|
+
|
|
57
|
+
export { WorkflowDefinitionCreate, WorkflowDefinitionCreated, WorkflowDefinitionDelete, WorkflowDefinitionDeleted, WorkflowDefinitionGet, WorkflowDefinitionGetByTitle, WorkflowDefinitionGetServer, WorkflowDefinitionList, WorkflowDefinitionUpdate, WorkflowDefinitionUpdated, WorkflowExecutionCompleted, WorkflowExecutionFailed, WorkflowExecutionStarted, WorkflowInstanceCreate, WorkflowInstanceExecuteNode, WorkflowInstanceExecuteNodeLean, WorkflowInstanceExecuteNodeLeanServer, WorkflowInstanceExecuteNodeServer, WorkflowInstanceGet, WorkflowInstanceGetByStateVariable, WorkflowInstanceList, WorkflowInstanceResumeNode, WorkflowInstanceResumeNodeServer, WorkflowInstanceUpdate, WorkflowInstanceUpdateNodeMetadata, WorkflowInstanceUpdated, WorkflowScheduleCreate, WorkflowScheduleDelete, WorkflowScheduleList, WorkflowSchedulePause, WorkflowScheduleResume, WorkflowScheduleUpdate, WorkflowTemplateGet, WorkflowTemplateInstantiate, WorkflowTemplateList, WorkflowTriggerFired, WorkflowTriggerPause, WorkflowTriggerRegister, WorkflowTriggerResume, WorkflowTriggerStatus };
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,2 +1,57 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { b8 as CacheConfig, aM as CreateWorkflowDefinitionRequest, bh as CreateWorkflowInstanceRequest, aR as DeleteWorkflowDefinitionRequest, bv as EdgeState, bN as EdgeStatus, bP as EdgeStatusCompleted, bO as EdgeStatusPending, bQ as EdgeStatusSkipped, aq as EdgeType, ay as EdgeTypeCompensation, aw as EdgeTypeConditional, au as EdgeTypeDefault, aH as EdgeTypeDefinition, at as EdgeTypeError, as as EdgeTypeLoopBack, ax as EdgeTypeMerge, ar as EdgeTypeNormal, av as EdgeTypeParallel, az as EdgeTypeTimeout, b6 as ExecutionConfig, bt as ExecutionContext, bx as ExecutionError, bw as ExecutionPathEntry, b9 as ExpressionConfig, ak as ExpressionType, ao as ExpressionTypeDSL, al as ExpressionTypeFilter, am as ExpressionTypeJavaScript, ap as ExpressionTypeRules, an as ExpressionTypeTemplate, bn as GetInstanceByStateVariableRequest, aP as GetWorkflowDefinitionByTitleRequest, aO as GetWorkflowDefinitionRequest, bm as GetWorkflowInstanceRequest, bs as InstanceState, by as InstanceStatus, bD as InstanceStatusCompleted, bE as InstanceStatusFailed, bz as InstanceStatusNew, bC as InstanceStatusPaused, bA as InstanceStatusRunning, bB as InstanceStatusWaiting, aK as Intent, br as ListInstancesOptions, aQ as ListWorkflowDefinitionsRequest, L as ListWorkflowDefinitionsResponse, bo as ListWorkflowInstancesRequest, d as ListWorkflowInstancesResponse, aJ as LogicPath, aL as Metadata, b3 as NodeConfig, aG as NodeDefinition, b1 as NodeInput, bF as NodeInstance, b2 as NodeOutput, b5 as NodeSettings, bu as NodeState, bG as NodeStatus, bJ as NodeStatusCompleted, bK as NodeStatusFailed, bH as NodeStatusPending, bI as NodeStatusRunning, bM as NodeStatusSkipped, bL as NodeStatusWaiting, t as NodeSubType, R as NodeSubTypeActionApiCall, a0 as NodeSubTypeActionAssignSLAPolicy, a3 as NodeSubTypeActionCSATSurvey, a1 as NodeSubTypeActionChangeSLAStatus, Y as NodeSubTypeActionCreateEntityRecord, _ as NodeSubTypeActionDeleteEntityRecord, S as NodeSubTypeActionDocumentExtraction, a2 as NodeSubTypeActionEscalateSLA, V as NodeSubTypeActionGenerateDocument, $ as NodeSubTypeActionMergeEntityRecords, a6 as NodeSubTypeActionNatsRequest, X as NodeSubTypeActionProcessPayment, a5 as NodeSubTypeActionQueryEntityRecords, T as NodeSubTypeActionSendEmail, U as NodeSubTypeActionSendSMS, a4 as NodeSubTypeActionSetVariables, Z as NodeSubTypeActionUpdateEntityRecord, O as NodeSubTypeAgentApiIntegration, G as NodeSubTypeAgentChat, J as NodeSubTypeAgentClientApiCall, P as NodeSubTypeAgentCustomResponse, H as NodeSubTypeAgentIntentDetector, I as NodeSubTypeAgentKnowledgeGraph, M as NodeSubTypeAgentOpenTicket, Q as NodeSubTypeAgentStructuredOutput, K as NodeSubTypeAgentTransferToHuman, af as NodeSubTypeDataCalculate, ad as NodeSubTypeDataFilter, ae as NodeSubTypeDataMap, ag as NodeSubTypeDataValidate, ac as NodeSubTypeDelay, D as NodeSubTypeHumanActionApproval, F as NodeSubTypeHumanActionAssignment, E as NodeSubTypeHumanActionDataEntry, C as NodeSubTypeHumanActionReview, a9 as NodeSubTypeLogicFor, a7 as NodeSubTypeLogicIf, aa as NodeSubTypeLogicParallel, a8 as NodeSubTypeLogicSwitch, ab as NodeSubTypeLoopData, aj as NodeSubTypeTimerBusinessHours, ah as NodeSubTypeTimerDelay, ai as NodeSubTypeTimerSchedule, v as NodeSubTypeTriggerEntityRecordCreated, x as NodeSubTypeTriggerEntityRecordDeleted, w as NodeSubTypeTriggerEntityRecordUpdated, A as NodeSubTypeTriggerEscalation, z as NodeSubTypeTriggerSLABreach, y as NodeSubTypeTriggerSLAWarning, u as NodeSubTypeTriggerStart, B as NodeSubTypeTriggerWebhookReceived, N as NodeType, r as NodeTypeAccounting, h as NodeTypeAction, g as NodeTypeAgent, q as NodeTypeCustom, m as NodeTypeData, l as NodeTypeDelay, s as NodeTypeDocumentExtraction, f as NodeTypeHumanAction, n as NodeTypeIntegration, i as NodeTypeLogic, j as NodeTypeLoop, k as NodeTypeParallel, p as NodeTypeSubflow, o as NodeTypeTimer, e as NodeTypeTrigger, a_ as PersistenceType, a$ as PersistenceTypeEphemeral, b0 as PersistenceTypePermanent, b7 as RetryConfig, bq as RetryNodeRequest, aU as RuleLevel, aV as RuleLevelError, aX as RuleLevelInfo, aW as RuleLevelWarning, bc as TimeoutAction, bg as TimeoutActionAlt, bd as TimeoutActionFail, bf as TimeoutActionRetry, be as TimeoutActionSkip, bb as TimeoutConfig, bl as UpdateInstanceNodeMetadataRequest, bp as UpdateInstanceStatusRequest, aN as UpdateWorkflowDefinitionRequest, W as WorkflowDefinition, bR as WorkflowDefinitionInfo, b as WorkflowDefinitionResponse, ba as WorkflowEdge, a as WorkflowInstance, bk as WorkflowInstanceExecuteNodeLeanRequest, bi as WorkflowInstanceExecuteNodeRequest, c as WorkflowInstanceResponse, bj as WorkflowInstanceResumeNodeRequest, aZ as WorkflowMetadata, b4 as WorkflowNode, aY as WorkflowPermissions, aT as WorkflowRule, aA as WorkflowType, aE as WorkflowTypeAgent, aD as WorkflowTypeChat, aI as WorkflowTypeDefinition, aC as WorkflowTypeDocument, aB as WorkflowTypeEntity, aF as WorkflowTypeProductivity, aS as WorkflowVariables } from '../workflow-vv0mDt57.js';
|
|
2
2
|
import '@elqnt/types';
|
|
3
|
+
|
|
4
|
+
declare const WorkflowDefinitionCreate = "workflow.definition.create";
|
|
5
|
+
declare const WorkflowDefinitionCreated = "workflow.definition.created";
|
|
6
|
+
declare const WorkflowDefinitionUpdate = "workflow.definition.update";
|
|
7
|
+
declare const WorkflowDefinitionUpdated = "workflow.definition.updated";
|
|
8
|
+
declare const WorkflowDefinitionGet = "workflow.definition.get";
|
|
9
|
+
declare const WorkflowDefinitionGetServer = "workflow.definition.get.server";
|
|
10
|
+
declare const WorkflowDefinitionGetByTitle = "workflow.definition.get.by.title";
|
|
11
|
+
declare const WorkflowDefinitionList = "workflow.definition.list";
|
|
12
|
+
declare const WorkflowDefinitionDelete = "workflow.definition.delete";
|
|
13
|
+
declare const WorkflowDefinitionDeleted = "workflow.definition.deleted";
|
|
14
|
+
declare const WorkflowInstanceCreate = "workflow.instance.create";
|
|
15
|
+
declare const WorkflowInstanceExecuteNode = "workflow.instance.execute.node";
|
|
16
|
+
declare const WorkflowInstanceResumeNode = "workflow.instance.resume.node";
|
|
17
|
+
declare const WorkflowInstanceExecuteNodeServer = "workflow.instance.execute.node.server";
|
|
18
|
+
declare const WorkflowInstanceResumeNodeServer = "workflow.instance.resume.node.server";
|
|
19
|
+
declare const WorkflowInstanceExecuteNodeLean = "workflow.instance.execute.node.lean";
|
|
20
|
+
declare const WorkflowInstanceExecuteNodeLeanServer = "workflow.instance.execute.node.lean.server";
|
|
21
|
+
declare const WorkflowInstanceGet = "workflow.instance.get";
|
|
22
|
+
declare const WorkflowInstanceGetByStateVariable = "workflow.instance.get.by.state.variable";
|
|
23
|
+
declare const WorkflowInstanceList = "workflow.instance.list";
|
|
24
|
+
declare const WorkflowInstanceUpdate = "workflow.instance.update";
|
|
25
|
+
declare const WorkflowInstanceUpdated = "workflow.instance.updated";
|
|
26
|
+
declare const WorkflowInstanceUpdateNodeMetadata = "workflow.instance.update.node.metadata";
|
|
27
|
+
/**
|
|
28
|
+
* Template management
|
|
29
|
+
*/
|
|
30
|
+
declare const WorkflowTemplateList = "workflow.template.list";
|
|
31
|
+
declare const WorkflowTemplateGet = "workflow.template.get";
|
|
32
|
+
declare const WorkflowTemplateInstantiate = "workflow.template.instantiate";
|
|
33
|
+
/**
|
|
34
|
+
* Schedule management
|
|
35
|
+
*/
|
|
36
|
+
declare const WorkflowScheduleCreate = "workflow.schedule.create";
|
|
37
|
+
declare const WorkflowScheduleUpdate = "workflow.schedule.update";
|
|
38
|
+
declare const WorkflowScheduleDelete = "workflow.schedule.delete";
|
|
39
|
+
declare const WorkflowScheduleList = "workflow.schedule.list";
|
|
40
|
+
declare const WorkflowSchedulePause = "workflow.schedule.pause";
|
|
41
|
+
declare const WorkflowScheduleResume = "workflow.schedule.resume";
|
|
42
|
+
/**
|
|
43
|
+
* Trigger management
|
|
44
|
+
*/
|
|
45
|
+
declare const WorkflowTriggerRegister = "workflow.trigger.register";
|
|
46
|
+
declare const WorkflowTriggerPause = "workflow.trigger.pause";
|
|
47
|
+
declare const WorkflowTriggerResume = "workflow.trigger.resume";
|
|
48
|
+
declare const WorkflowTriggerStatus = "workflow.trigger.status";
|
|
49
|
+
declare const WorkflowTriggerFired = "workflow.trigger.fired";
|
|
50
|
+
/**
|
|
51
|
+
* Execution events
|
|
52
|
+
*/
|
|
53
|
+
declare const WorkflowExecutionStarted = "workflow.execution.started";
|
|
54
|
+
declare const WorkflowExecutionCompleted = "workflow.execution.completed";
|
|
55
|
+
declare const WorkflowExecutionFailed = "workflow.execution.failed";
|
|
56
|
+
|
|
57
|
+
export { WorkflowDefinitionCreate, WorkflowDefinitionCreated, WorkflowDefinitionDelete, WorkflowDefinitionDeleted, WorkflowDefinitionGet, WorkflowDefinitionGetByTitle, WorkflowDefinitionGetServer, WorkflowDefinitionList, WorkflowDefinitionUpdate, WorkflowDefinitionUpdated, WorkflowExecutionCompleted, WorkflowExecutionFailed, WorkflowExecutionStarted, WorkflowInstanceCreate, WorkflowInstanceExecuteNode, WorkflowInstanceExecuteNodeLean, WorkflowInstanceExecuteNodeLeanServer, WorkflowInstanceExecuteNodeServer, WorkflowInstanceGet, WorkflowInstanceGetByStateVariable, WorkflowInstanceList, WorkflowInstanceResumeNode, WorkflowInstanceResumeNodeServer, WorkflowInstanceUpdate, WorkflowInstanceUpdateNodeMetadata, WorkflowInstanceUpdated, WorkflowScheduleCreate, WorkflowScheduleDelete, WorkflowScheduleList, WorkflowSchedulePause, WorkflowScheduleResume, WorkflowScheduleUpdate, WorkflowTemplateGet, WorkflowTemplateInstantiate, WorkflowTemplateList, WorkflowTriggerFired, WorkflowTriggerPause, WorkflowTriggerRegister, WorkflowTriggerResume, WorkflowTriggerStatus };
|
|
@@ -789,57 +789,4 @@ interface WorkflowDefinitionInfo {
|
|
|
789
789
|
userId?: string;
|
|
790
790
|
}
|
|
791
791
|
|
|
792
|
-
|
|
793
|
-
declare const WorkflowDefinitionCreated = "workflow.definition.created";
|
|
794
|
-
declare const WorkflowDefinitionUpdate = "workflow.definition.update";
|
|
795
|
-
declare const WorkflowDefinitionUpdated = "workflow.definition.updated";
|
|
796
|
-
declare const WorkflowDefinitionGet = "workflow.definition.get";
|
|
797
|
-
declare const WorkflowDefinitionGetServer = "workflow.definition.get.server";
|
|
798
|
-
declare const WorkflowDefinitionGetByTitle = "workflow.definition.get.by.title";
|
|
799
|
-
declare const WorkflowDefinitionList = "workflow.definition.list";
|
|
800
|
-
declare const WorkflowDefinitionDelete = "workflow.definition.delete";
|
|
801
|
-
declare const WorkflowDefinitionDeleted = "workflow.definition.deleted";
|
|
802
|
-
declare const WorkflowInstanceCreate = "workflow.instance.create";
|
|
803
|
-
declare const WorkflowInstanceExecuteNode = "workflow.instance.execute.node";
|
|
804
|
-
declare const WorkflowInstanceResumeNode = "workflow.instance.resume.node";
|
|
805
|
-
declare const WorkflowInstanceExecuteNodeServer = "workflow.instance.execute.node.server";
|
|
806
|
-
declare const WorkflowInstanceResumeNodeServer = "workflow.instance.resume.node.server";
|
|
807
|
-
declare const WorkflowInstanceExecuteNodeLean = "workflow.instance.execute.node.lean";
|
|
808
|
-
declare const WorkflowInstanceExecuteNodeLeanServer = "workflow.instance.execute.node.lean.server";
|
|
809
|
-
declare const WorkflowInstanceGet = "workflow.instance.get";
|
|
810
|
-
declare const WorkflowInstanceGetByStateVariable = "workflow.instance.get.by.state.variable";
|
|
811
|
-
declare const WorkflowInstanceList = "workflow.instance.list";
|
|
812
|
-
declare const WorkflowInstanceUpdate = "workflow.instance.update";
|
|
813
|
-
declare const WorkflowInstanceUpdated = "workflow.instance.updated";
|
|
814
|
-
declare const WorkflowInstanceUpdateNodeMetadata = "workflow.instance.update.node.metadata";
|
|
815
|
-
/**
|
|
816
|
-
* Template management
|
|
817
|
-
*/
|
|
818
|
-
declare const WorkflowTemplateList = "workflow.template.list";
|
|
819
|
-
declare const WorkflowTemplateGet = "workflow.template.get";
|
|
820
|
-
declare const WorkflowTemplateInstantiate = "workflow.template.instantiate";
|
|
821
|
-
/**
|
|
822
|
-
* Schedule management
|
|
823
|
-
*/
|
|
824
|
-
declare const WorkflowScheduleCreate = "workflow.schedule.create";
|
|
825
|
-
declare const WorkflowScheduleUpdate = "workflow.schedule.update";
|
|
826
|
-
declare const WorkflowScheduleDelete = "workflow.schedule.delete";
|
|
827
|
-
declare const WorkflowScheduleList = "workflow.schedule.list";
|
|
828
|
-
declare const WorkflowSchedulePause = "workflow.schedule.pause";
|
|
829
|
-
declare const WorkflowScheduleResume = "workflow.schedule.resume";
|
|
830
|
-
/**
|
|
831
|
-
* Trigger management
|
|
832
|
-
*/
|
|
833
|
-
declare const WorkflowTriggerRegister = "workflow.trigger.register";
|
|
834
|
-
declare const WorkflowTriggerPause = "workflow.trigger.pause";
|
|
835
|
-
declare const WorkflowTriggerResume = "workflow.trigger.resume";
|
|
836
|
-
declare const WorkflowTriggerStatus = "workflow.trigger.status";
|
|
837
|
-
declare const WorkflowTriggerFired = "workflow.trigger.fired";
|
|
838
|
-
/**
|
|
839
|
-
* Execution events
|
|
840
|
-
*/
|
|
841
|
-
declare const WorkflowExecutionStarted = "workflow.execution.started";
|
|
842
|
-
declare const WorkflowExecutionCompleted = "workflow.execution.completed";
|
|
843
|
-
declare const WorkflowExecutionFailed = "workflow.execution.failed";
|
|
844
|
-
|
|
845
|
-
export { NodeSubTypeActionCSATSurvey as $, NodeSubTypeHumanActionApproval as A, NodeSubTypeHumanActionDataEntry as B, NodeSubTypeHumanActionAssignment as C, NodeSubTypeAgentChat as D, NodeSubTypeAgentIntentDetector as E, NodeSubTypeAgentKnowledgeGraph as F, NodeSubTypeAgentClientApiCall as G, NodeSubTypeAgentTransferToHuman as H, NodeSubTypeAgentOpenTicket as I, NodeSubTypeAgentApiIntegration as J, NodeSubTypeAgentCustomResponse as K, NodeSubTypeAgentStructuredOutput as L, NodeSubTypeActionApiCall as M, type NodeType as N, NodeSubTypeActionDocumentExtraction as O, NodeSubTypeActionSendEmail as P, NodeSubTypeActionSendSMS as Q, NodeSubTypeActionGenerateDocument as R, NodeSubTypeActionProcessPayment as S, NodeSubTypeActionCreateEntityRecord as T, NodeSubTypeActionUpdateEntityRecord as U, NodeSubTypeActionDeleteEntityRecord as V, type WorkflowDefinition as W, NodeSubTypeActionMergeEntityRecords as X, NodeSubTypeActionAssignSLAPolicy as Y, NodeSubTypeActionChangeSLAStatus as Z, NodeSubTypeActionEscalateSLA as _, type WorkflowInstance as a, type NodeInput as a$, NodeSubTypeActionSetVariables as a0, NodeSubTypeActionQueryEntityRecords as a1, NodeSubTypeActionNatsRequest as a2, NodeSubTypeLogicIf as a3, NodeSubTypeLogicSwitch as a4, NodeSubTypeLogicFor as a5, NodeSubTypeLogicParallel as a6, NodeSubTypeLoopData as a7, NodeSubTypeDelay as a8, NodeSubTypeDataFilter as a9, WorkflowTypeAgent as aA, WorkflowTypeProductivity as aB, type NodeDefinition as aC, type EdgeTypeDefinition as aD, type WorkflowTypeDefinition as aE, type LogicPath as aF, type Intent as aG, type Metadata as aH, type CreateWorkflowDefinitionRequest as aI, type UpdateWorkflowDefinitionRequest as aJ, type WorkflowDefinitionResponse as aK, type GetWorkflowDefinitionRequest as aL, type GetWorkflowDefinitionByTitleRequest as aM, type ListWorkflowDefinitionsRequest as aN, type ListWorkflowDefinitionsResponse as aO, type DeleteWorkflowDefinitionRequest as aP, type WorkflowVariables as aQ, type WorkflowRule as aR, type RuleLevel as aS, RuleLevelError as aT, RuleLevelWarning as aU, RuleLevelInfo as aV, type WorkflowPermissions as aW, type WorkflowMetadata as aX, type PersistenceType as aY, PersistenceTypeEphemeral as aZ, PersistenceTypePermanent as a_, NodeSubTypeDataMap as aa, NodeSubTypeDataCalculate as ab, NodeSubTypeDataValidate as ac, NodeSubTypeTimerDelay as ad, NodeSubTypeTimerSchedule as ae, NodeSubTypeTimerBusinessHours as af, type ExpressionType as ag, ExpressionTypeFilter as ah, ExpressionTypeJavaScript as ai, ExpressionTypeTemplate as aj, ExpressionTypeDSL as ak, ExpressionTypeRules as al, type EdgeType as am, EdgeTypeNormal as an, EdgeTypeLoopBack as ao, EdgeTypeError as ap, EdgeTypeDefault as aq, EdgeTypeParallel as ar, EdgeTypeConditional as as, EdgeTypeMerge as at, EdgeTypeCompensation as au, EdgeTypeTimeout as av, type WorkflowType as aw, WorkflowTypeEntity as ax, WorkflowTypeDocument as ay, WorkflowTypeChat as az, NodeTypeTrigger as b, WorkflowDefinitionDeleted as b$, type NodeOutput as b0, type NodeConfig as b1, type WorkflowNode as b2, type NodeSettings as b3, type ExecutionConfig as b4, type RetryConfig as b5, type CacheConfig as b6, type ExpressionConfig as b7, type WorkflowEdge as b8, type TimeoutConfig as b9, InstanceStatusRunning as bA, InstanceStatusWaiting as bB, InstanceStatusPaused as bC, InstanceStatusCompleted as bD, InstanceStatusFailed as bE, type NodeInstance as bF, type NodeStatus as bG, NodeStatusPending as bH, NodeStatusRunning as bI, NodeStatusCompleted as bJ, NodeStatusFailed as bK, NodeStatusWaiting as bL, NodeStatusSkipped as bM, type EdgeStatus as bN, EdgeStatusPending as bO, EdgeStatusCompleted as bP, EdgeStatusSkipped as bQ, type WorkflowDefinitionInfo as bR, WorkflowDefinitionCreate as bS, WorkflowDefinitionCreated as bT, WorkflowDefinitionUpdate as bU, WorkflowDefinitionUpdated as bV, WorkflowDefinitionGet as bW, WorkflowDefinitionGetServer as bX, WorkflowDefinitionGetByTitle as bY, WorkflowDefinitionList as bZ, WorkflowDefinitionDelete as b_, type TimeoutAction as ba, TimeoutActionFail as bb, TimeoutActionSkip as bc, TimeoutActionRetry as bd, TimeoutActionAlt as be, type CreateWorkflowInstanceRequest as bf, type WorkflowInstanceResponse as bg, type WorkflowInstanceExecuteNodeRequest as bh, type WorkflowInstanceResumeNodeRequest as bi, type WorkflowInstanceExecuteNodeLeanRequest as bj, type UpdateInstanceNodeMetadataRequest as bk, type GetWorkflowInstanceRequest as bl, type GetInstanceByStateVariableRequest as bm, type ListWorkflowInstancesRequest as bn, type ListWorkflowInstancesResponse as bo, type UpdateInstanceStatusRequest as bp, type RetryNodeRequest as bq, type ListInstancesOptions as br, type InstanceState as bs, type ExecutionContext as bt, type NodeState as bu, type EdgeState as bv, type ExecutionPathEntry as bw, type ExecutionError as bx, type InstanceStatus as by, InstanceStatusNew as bz, NodeTypeHumanAction as c, type WorkflowEdgeTypeOptionTS as c$, WorkflowInstanceCreate as c0, WorkflowInstanceExecuteNode as c1, WorkflowInstanceResumeNode as c2, WorkflowInstanceExecuteNodeServer as c3, WorkflowInstanceResumeNodeServer as c4, WorkflowInstanceExecuteNodeLean as c5, WorkflowInstanceExecuteNodeLeanServer as c6, WorkflowInstanceGet as c7, WorkflowInstanceGetByStateVariable as c8, WorkflowInstanceList as c9, AgentNodeSubTypes as cA, ActionNodeSubTypes as cB, LogicNodeSubTypes as cC, DelayNodeSubTypes as cD, ParallelNodeSubTypes as cE, DataNodeSubTypes as cF, TimerNodeSubTypes as cG, LoopNodeSubTypes as cH, AccountingNodeSubTypes as cI, type TriggerNodeSubType as cJ, type HumanActionNodeSubType as cK, type AgentNodeSubType as cL, type ActionNodeSubType as cM, type LogicNodeSubType as cN, type DelayNodeSubType as cO, type DataNodeSubType as cP, type TimerNodeSubType as cQ, type LoopNodeSubType as cR, type ParallelNodeSubType as cS, type AccountingNodeSubType as cT, type WorkflowNodeSubTypeTS as cU, WorkflowNodeTypes as cV, type WorkflowNodeTypeTS as cW, type WorkflowNodeTypeOptionTS as cX, type NodeCategory as cY, WorkflowEdgeTypes as cZ, type WorkflowEdgeTypeTS as c_, WorkflowInstanceUpdate as ca, WorkflowInstanceUpdated as cb, WorkflowInstanceUpdateNodeMetadata as cc, WorkflowTemplateList as cd, WorkflowTemplateGet as ce, WorkflowTemplateInstantiate as cf, WorkflowScheduleCreate as cg, WorkflowScheduleUpdate as ch, WorkflowScheduleDelete as ci, WorkflowScheduleList as cj, WorkflowSchedulePause as ck, WorkflowScheduleResume as cl, WorkflowTriggerRegister as cm, WorkflowTriggerPause as cn, WorkflowTriggerResume as co, WorkflowTriggerStatus as cp, WorkflowTriggerFired as cq, WorkflowExecutionStarted as cr, WorkflowExecutionCompleted as cs, WorkflowExecutionFailed as ct, type NodeSubTypeTS as cu, type NodeSubTypeInfo as cv, nodeDefinitions as cw, nodeSchemas as cx, TriggerNodeSubTypes as cy, HumanActionNodeSubTypes as cz, NodeTypeAgent as d, WorkflowTypes as d0, type WorkflowTypeTS as d1, type WorkflowTypeOptionTS as d2, NodeTypeAction as e, NodeTypeLogic as f, NodeTypeLoop as g, NodeTypeParallel as h, NodeTypeDelay as i, NodeTypeData as j, NodeTypeIntegration as k, NodeTypeTimer as l, NodeTypeSubflow as m, NodeTypeCustom as n, NodeTypeAccounting as o, NodeTypeDocumentExtraction as p, type NodeSubType as q, NodeSubTypeTriggerStart as r, NodeSubTypeTriggerEntityRecordCreated as s, NodeSubTypeTriggerEntityRecordUpdated as t, NodeSubTypeTriggerEntityRecordDeleted as u, NodeSubTypeTriggerSLAWarning as v, NodeSubTypeTriggerSLABreach as w, NodeSubTypeTriggerEscalation as x, NodeSubTypeTriggerWebhookReceived as y, NodeSubTypeHumanActionReview as z };
|
|
792
|
+
export { NodeSubTypeActionMergeEntityRecords as $, NodeSubTypeTriggerEscalation as A, NodeSubTypeTriggerWebhookReceived as B, NodeSubTypeHumanActionReview as C, NodeSubTypeHumanActionApproval as D, NodeSubTypeHumanActionDataEntry as E, NodeSubTypeHumanActionAssignment as F, NodeSubTypeAgentChat as G, NodeSubTypeAgentIntentDetector as H, NodeSubTypeAgentKnowledgeGraph as I, NodeSubTypeAgentClientApiCall as J, NodeSubTypeAgentTransferToHuman as K, type ListWorkflowDefinitionsResponse as L, NodeSubTypeAgentOpenTicket as M, type NodeType as N, NodeSubTypeAgentApiIntegration as O, NodeSubTypeAgentCustomResponse as P, NodeSubTypeAgentStructuredOutput as Q, NodeSubTypeActionApiCall as R, NodeSubTypeActionDocumentExtraction as S, NodeSubTypeActionSendEmail as T, NodeSubTypeActionSendSMS as U, NodeSubTypeActionGenerateDocument as V, type WorkflowDefinition as W, NodeSubTypeActionProcessPayment as X, NodeSubTypeActionCreateEntityRecord as Y, NodeSubTypeActionUpdateEntityRecord as Z, NodeSubTypeActionDeleteEntityRecord as _, type WorkflowInstance as a, PersistenceTypeEphemeral as a$, NodeSubTypeActionAssignSLAPolicy as a0, NodeSubTypeActionChangeSLAStatus as a1, NodeSubTypeActionEscalateSLA as a2, NodeSubTypeActionCSATSurvey as a3, NodeSubTypeActionSetVariables as a4, NodeSubTypeActionQueryEntityRecords as a5, NodeSubTypeActionNatsRequest as a6, NodeSubTypeLogicIf as a7, NodeSubTypeLogicSwitch as a8, NodeSubTypeLogicFor as a9, type WorkflowType as aA, WorkflowTypeEntity as aB, WorkflowTypeDocument as aC, WorkflowTypeChat as aD, WorkflowTypeAgent as aE, WorkflowTypeProductivity as aF, type NodeDefinition as aG, type EdgeTypeDefinition as aH, type WorkflowTypeDefinition as aI, type LogicPath as aJ, type Intent as aK, type Metadata as aL, type CreateWorkflowDefinitionRequest as aM, type UpdateWorkflowDefinitionRequest as aN, type GetWorkflowDefinitionRequest as aO, type GetWorkflowDefinitionByTitleRequest as aP, type ListWorkflowDefinitionsRequest as aQ, type DeleteWorkflowDefinitionRequest as aR, type WorkflowVariables as aS, type WorkflowRule as aT, type RuleLevel as aU, RuleLevelError as aV, RuleLevelWarning as aW, RuleLevelInfo as aX, type WorkflowPermissions as aY, type WorkflowMetadata as aZ, type PersistenceType as a_, NodeSubTypeLogicParallel as aa, NodeSubTypeLoopData as ab, NodeSubTypeDelay as ac, NodeSubTypeDataFilter as ad, NodeSubTypeDataMap as ae, NodeSubTypeDataCalculate as af, NodeSubTypeDataValidate as ag, NodeSubTypeTimerDelay as ah, NodeSubTypeTimerSchedule as ai, NodeSubTypeTimerBusinessHours as aj, type ExpressionType as ak, ExpressionTypeFilter as al, ExpressionTypeJavaScript as am, ExpressionTypeTemplate as an, ExpressionTypeDSL as ao, ExpressionTypeRules as ap, type EdgeType as aq, EdgeTypeNormal as ar, EdgeTypeLoopBack as as, EdgeTypeError as at, EdgeTypeDefault as au, EdgeTypeParallel as av, EdgeTypeConditional as aw, EdgeTypeMerge as ax, EdgeTypeCompensation as ay, EdgeTypeTimeout as az, type WorkflowDefinitionResponse as b, DelayNodeSubTypes as b$, PersistenceTypePermanent as b0, type NodeInput as b1, type NodeOutput as b2, type NodeConfig as b3, type WorkflowNode as b4, type NodeSettings as b5, type ExecutionConfig as b6, type RetryConfig as b7, type CacheConfig as b8, type ExpressionConfig as b9, InstanceStatusRunning as bA, InstanceStatusWaiting as bB, InstanceStatusPaused as bC, InstanceStatusCompleted as bD, InstanceStatusFailed as bE, type NodeInstance as bF, type NodeStatus as bG, NodeStatusPending as bH, NodeStatusRunning as bI, NodeStatusCompleted as bJ, NodeStatusFailed as bK, NodeStatusWaiting as bL, NodeStatusSkipped as bM, type EdgeStatus as bN, EdgeStatusPending as bO, EdgeStatusCompleted as bP, EdgeStatusSkipped as bQ, type WorkflowDefinitionInfo as bR, type NodeSubTypeTS as bS, type NodeSubTypeInfo as bT, nodeDefinitions as bU, nodeSchemas as bV, TriggerNodeSubTypes as bW, HumanActionNodeSubTypes as bX, AgentNodeSubTypes as bY, ActionNodeSubTypes as bZ, LogicNodeSubTypes as b_, type WorkflowEdge as ba, type TimeoutConfig as bb, type TimeoutAction as bc, TimeoutActionFail as bd, TimeoutActionSkip as be, TimeoutActionRetry as bf, TimeoutActionAlt as bg, type CreateWorkflowInstanceRequest as bh, type WorkflowInstanceExecuteNodeRequest as bi, type WorkflowInstanceResumeNodeRequest as bj, type WorkflowInstanceExecuteNodeLeanRequest as bk, type UpdateInstanceNodeMetadataRequest as bl, type GetWorkflowInstanceRequest as bm, type GetInstanceByStateVariableRequest as bn, type ListWorkflowInstancesRequest as bo, type UpdateInstanceStatusRequest as bp, type RetryNodeRequest as bq, type ListInstancesOptions as br, type InstanceState as bs, type ExecutionContext as bt, type NodeState as bu, type EdgeState as bv, type ExecutionPathEntry as bw, type ExecutionError as bx, type InstanceStatus as by, InstanceStatusNew as bz, type WorkflowInstanceResponse as c, ParallelNodeSubTypes as c0, DataNodeSubTypes as c1, TimerNodeSubTypes as c2, LoopNodeSubTypes as c3, AccountingNodeSubTypes as c4, type TriggerNodeSubType as c5, type HumanActionNodeSubType as c6, type AgentNodeSubType as c7, type ActionNodeSubType as c8, type LogicNodeSubType as c9, type DelayNodeSubType as ca, type DataNodeSubType as cb, type TimerNodeSubType as cc, type LoopNodeSubType as cd, type ParallelNodeSubType as ce, type AccountingNodeSubType as cf, type WorkflowNodeSubTypeTS as cg, WorkflowNodeTypes as ch, type WorkflowNodeTypeTS as ci, type WorkflowNodeTypeOptionTS as cj, type NodeCategory as ck, WorkflowEdgeTypes as cl, type WorkflowEdgeTypeTS as cm, type WorkflowEdgeTypeOptionTS as cn, WorkflowTypes as co, type WorkflowTypeTS as cp, type WorkflowTypeOptionTS as cq, type ListWorkflowInstancesResponse as d, NodeTypeTrigger as e, NodeTypeHumanAction as f, NodeTypeAgent as g, NodeTypeAction as h, NodeTypeLogic as i, NodeTypeLoop as j, NodeTypeParallel as k, NodeTypeDelay as l, NodeTypeData as m, NodeTypeIntegration as n, NodeTypeTimer as o, NodeTypeSubflow as p, NodeTypeCustom as q, NodeTypeAccounting as r, NodeTypeDocumentExtraction as s, type NodeSubType as t, NodeSubTypeTriggerStart as u, NodeSubTypeTriggerEntityRecordCreated as v, NodeSubTypeTriggerEntityRecordUpdated as w, NodeSubTypeTriggerEntityRecordDeleted as x, NodeSubTypeTriggerSLAWarning as y, NodeSubTypeTriggerSLABreach as z };
|
|
@@ -789,57 +789,4 @@ interface WorkflowDefinitionInfo {
|
|
|
789
789
|
userId?: string;
|
|
790
790
|
}
|
|
791
791
|
|
|
792
|
-
|
|
793
|
-
declare const WorkflowDefinitionCreated = "workflow.definition.created";
|
|
794
|
-
declare const WorkflowDefinitionUpdate = "workflow.definition.update";
|
|
795
|
-
declare const WorkflowDefinitionUpdated = "workflow.definition.updated";
|
|
796
|
-
declare const WorkflowDefinitionGet = "workflow.definition.get";
|
|
797
|
-
declare const WorkflowDefinitionGetServer = "workflow.definition.get.server";
|
|
798
|
-
declare const WorkflowDefinitionGetByTitle = "workflow.definition.get.by.title";
|
|
799
|
-
declare const WorkflowDefinitionList = "workflow.definition.list";
|
|
800
|
-
declare const WorkflowDefinitionDelete = "workflow.definition.delete";
|
|
801
|
-
declare const WorkflowDefinitionDeleted = "workflow.definition.deleted";
|
|
802
|
-
declare const WorkflowInstanceCreate = "workflow.instance.create";
|
|
803
|
-
declare const WorkflowInstanceExecuteNode = "workflow.instance.execute.node";
|
|
804
|
-
declare const WorkflowInstanceResumeNode = "workflow.instance.resume.node";
|
|
805
|
-
declare const WorkflowInstanceExecuteNodeServer = "workflow.instance.execute.node.server";
|
|
806
|
-
declare const WorkflowInstanceResumeNodeServer = "workflow.instance.resume.node.server";
|
|
807
|
-
declare const WorkflowInstanceExecuteNodeLean = "workflow.instance.execute.node.lean";
|
|
808
|
-
declare const WorkflowInstanceExecuteNodeLeanServer = "workflow.instance.execute.node.lean.server";
|
|
809
|
-
declare const WorkflowInstanceGet = "workflow.instance.get";
|
|
810
|
-
declare const WorkflowInstanceGetByStateVariable = "workflow.instance.get.by.state.variable";
|
|
811
|
-
declare const WorkflowInstanceList = "workflow.instance.list";
|
|
812
|
-
declare const WorkflowInstanceUpdate = "workflow.instance.update";
|
|
813
|
-
declare const WorkflowInstanceUpdated = "workflow.instance.updated";
|
|
814
|
-
declare const WorkflowInstanceUpdateNodeMetadata = "workflow.instance.update.node.metadata";
|
|
815
|
-
/**
|
|
816
|
-
* Template management
|
|
817
|
-
*/
|
|
818
|
-
declare const WorkflowTemplateList = "workflow.template.list";
|
|
819
|
-
declare const WorkflowTemplateGet = "workflow.template.get";
|
|
820
|
-
declare const WorkflowTemplateInstantiate = "workflow.template.instantiate";
|
|
821
|
-
/**
|
|
822
|
-
* Schedule management
|
|
823
|
-
*/
|
|
824
|
-
declare const WorkflowScheduleCreate = "workflow.schedule.create";
|
|
825
|
-
declare const WorkflowScheduleUpdate = "workflow.schedule.update";
|
|
826
|
-
declare const WorkflowScheduleDelete = "workflow.schedule.delete";
|
|
827
|
-
declare const WorkflowScheduleList = "workflow.schedule.list";
|
|
828
|
-
declare const WorkflowSchedulePause = "workflow.schedule.pause";
|
|
829
|
-
declare const WorkflowScheduleResume = "workflow.schedule.resume";
|
|
830
|
-
/**
|
|
831
|
-
* Trigger management
|
|
832
|
-
*/
|
|
833
|
-
declare const WorkflowTriggerRegister = "workflow.trigger.register";
|
|
834
|
-
declare const WorkflowTriggerPause = "workflow.trigger.pause";
|
|
835
|
-
declare const WorkflowTriggerResume = "workflow.trigger.resume";
|
|
836
|
-
declare const WorkflowTriggerStatus = "workflow.trigger.status";
|
|
837
|
-
declare const WorkflowTriggerFired = "workflow.trigger.fired";
|
|
838
|
-
/**
|
|
839
|
-
* Execution events
|
|
840
|
-
*/
|
|
841
|
-
declare const WorkflowExecutionStarted = "workflow.execution.started";
|
|
842
|
-
declare const WorkflowExecutionCompleted = "workflow.execution.completed";
|
|
843
|
-
declare const WorkflowExecutionFailed = "workflow.execution.failed";
|
|
844
|
-
|
|
845
|
-
export { NodeSubTypeActionCSATSurvey as $, NodeSubTypeHumanActionApproval as A, NodeSubTypeHumanActionDataEntry as B, NodeSubTypeHumanActionAssignment as C, NodeSubTypeAgentChat as D, NodeSubTypeAgentIntentDetector as E, NodeSubTypeAgentKnowledgeGraph as F, NodeSubTypeAgentClientApiCall as G, NodeSubTypeAgentTransferToHuman as H, NodeSubTypeAgentOpenTicket as I, NodeSubTypeAgentApiIntegration as J, NodeSubTypeAgentCustomResponse as K, NodeSubTypeAgentStructuredOutput as L, NodeSubTypeActionApiCall as M, type NodeType as N, NodeSubTypeActionDocumentExtraction as O, NodeSubTypeActionSendEmail as P, NodeSubTypeActionSendSMS as Q, NodeSubTypeActionGenerateDocument as R, NodeSubTypeActionProcessPayment as S, NodeSubTypeActionCreateEntityRecord as T, NodeSubTypeActionUpdateEntityRecord as U, NodeSubTypeActionDeleteEntityRecord as V, type WorkflowDefinition as W, NodeSubTypeActionMergeEntityRecords as X, NodeSubTypeActionAssignSLAPolicy as Y, NodeSubTypeActionChangeSLAStatus as Z, NodeSubTypeActionEscalateSLA as _, type WorkflowInstance as a, type NodeInput as a$, NodeSubTypeActionSetVariables as a0, NodeSubTypeActionQueryEntityRecords as a1, NodeSubTypeActionNatsRequest as a2, NodeSubTypeLogicIf as a3, NodeSubTypeLogicSwitch as a4, NodeSubTypeLogicFor as a5, NodeSubTypeLogicParallel as a6, NodeSubTypeLoopData as a7, NodeSubTypeDelay as a8, NodeSubTypeDataFilter as a9, WorkflowTypeAgent as aA, WorkflowTypeProductivity as aB, type NodeDefinition as aC, type EdgeTypeDefinition as aD, type WorkflowTypeDefinition as aE, type LogicPath as aF, type Intent as aG, type Metadata as aH, type CreateWorkflowDefinitionRequest as aI, type UpdateWorkflowDefinitionRequest as aJ, type WorkflowDefinitionResponse as aK, type GetWorkflowDefinitionRequest as aL, type GetWorkflowDefinitionByTitleRequest as aM, type ListWorkflowDefinitionsRequest as aN, type ListWorkflowDefinitionsResponse as aO, type DeleteWorkflowDefinitionRequest as aP, type WorkflowVariables as aQ, type WorkflowRule as aR, type RuleLevel as aS, RuleLevelError as aT, RuleLevelWarning as aU, RuleLevelInfo as aV, type WorkflowPermissions as aW, type WorkflowMetadata as aX, type PersistenceType as aY, PersistenceTypeEphemeral as aZ, PersistenceTypePermanent as a_, NodeSubTypeDataMap as aa, NodeSubTypeDataCalculate as ab, NodeSubTypeDataValidate as ac, NodeSubTypeTimerDelay as ad, NodeSubTypeTimerSchedule as ae, NodeSubTypeTimerBusinessHours as af, type ExpressionType as ag, ExpressionTypeFilter as ah, ExpressionTypeJavaScript as ai, ExpressionTypeTemplate as aj, ExpressionTypeDSL as ak, ExpressionTypeRules as al, type EdgeType as am, EdgeTypeNormal as an, EdgeTypeLoopBack as ao, EdgeTypeError as ap, EdgeTypeDefault as aq, EdgeTypeParallel as ar, EdgeTypeConditional as as, EdgeTypeMerge as at, EdgeTypeCompensation as au, EdgeTypeTimeout as av, type WorkflowType as aw, WorkflowTypeEntity as ax, WorkflowTypeDocument as ay, WorkflowTypeChat as az, NodeTypeTrigger as b, WorkflowDefinitionDeleted as b$, type NodeOutput as b0, type NodeConfig as b1, type WorkflowNode as b2, type NodeSettings as b3, type ExecutionConfig as b4, type RetryConfig as b5, type CacheConfig as b6, type ExpressionConfig as b7, type WorkflowEdge as b8, type TimeoutConfig as b9, InstanceStatusRunning as bA, InstanceStatusWaiting as bB, InstanceStatusPaused as bC, InstanceStatusCompleted as bD, InstanceStatusFailed as bE, type NodeInstance as bF, type NodeStatus as bG, NodeStatusPending as bH, NodeStatusRunning as bI, NodeStatusCompleted as bJ, NodeStatusFailed as bK, NodeStatusWaiting as bL, NodeStatusSkipped as bM, type EdgeStatus as bN, EdgeStatusPending as bO, EdgeStatusCompleted as bP, EdgeStatusSkipped as bQ, type WorkflowDefinitionInfo as bR, WorkflowDefinitionCreate as bS, WorkflowDefinitionCreated as bT, WorkflowDefinitionUpdate as bU, WorkflowDefinitionUpdated as bV, WorkflowDefinitionGet as bW, WorkflowDefinitionGetServer as bX, WorkflowDefinitionGetByTitle as bY, WorkflowDefinitionList as bZ, WorkflowDefinitionDelete as b_, type TimeoutAction as ba, TimeoutActionFail as bb, TimeoutActionSkip as bc, TimeoutActionRetry as bd, TimeoutActionAlt as be, type CreateWorkflowInstanceRequest as bf, type WorkflowInstanceResponse as bg, type WorkflowInstanceExecuteNodeRequest as bh, type WorkflowInstanceResumeNodeRequest as bi, type WorkflowInstanceExecuteNodeLeanRequest as bj, type UpdateInstanceNodeMetadataRequest as bk, type GetWorkflowInstanceRequest as bl, type GetInstanceByStateVariableRequest as bm, type ListWorkflowInstancesRequest as bn, type ListWorkflowInstancesResponse as bo, type UpdateInstanceStatusRequest as bp, type RetryNodeRequest as bq, type ListInstancesOptions as br, type InstanceState as bs, type ExecutionContext as bt, type NodeState as bu, type EdgeState as bv, type ExecutionPathEntry as bw, type ExecutionError as bx, type InstanceStatus as by, InstanceStatusNew as bz, NodeTypeHumanAction as c, type WorkflowEdgeTypeOptionTS as c$, WorkflowInstanceCreate as c0, WorkflowInstanceExecuteNode as c1, WorkflowInstanceResumeNode as c2, WorkflowInstanceExecuteNodeServer as c3, WorkflowInstanceResumeNodeServer as c4, WorkflowInstanceExecuteNodeLean as c5, WorkflowInstanceExecuteNodeLeanServer as c6, WorkflowInstanceGet as c7, WorkflowInstanceGetByStateVariable as c8, WorkflowInstanceList as c9, AgentNodeSubTypes as cA, ActionNodeSubTypes as cB, LogicNodeSubTypes as cC, DelayNodeSubTypes as cD, ParallelNodeSubTypes as cE, DataNodeSubTypes as cF, TimerNodeSubTypes as cG, LoopNodeSubTypes as cH, AccountingNodeSubTypes as cI, type TriggerNodeSubType as cJ, type HumanActionNodeSubType as cK, type AgentNodeSubType as cL, type ActionNodeSubType as cM, type LogicNodeSubType as cN, type DelayNodeSubType as cO, type DataNodeSubType as cP, type TimerNodeSubType as cQ, type LoopNodeSubType as cR, type ParallelNodeSubType as cS, type AccountingNodeSubType as cT, type WorkflowNodeSubTypeTS as cU, WorkflowNodeTypes as cV, type WorkflowNodeTypeTS as cW, type WorkflowNodeTypeOptionTS as cX, type NodeCategory as cY, WorkflowEdgeTypes as cZ, type WorkflowEdgeTypeTS as c_, WorkflowInstanceUpdate as ca, WorkflowInstanceUpdated as cb, WorkflowInstanceUpdateNodeMetadata as cc, WorkflowTemplateList as cd, WorkflowTemplateGet as ce, WorkflowTemplateInstantiate as cf, WorkflowScheduleCreate as cg, WorkflowScheduleUpdate as ch, WorkflowScheduleDelete as ci, WorkflowScheduleList as cj, WorkflowSchedulePause as ck, WorkflowScheduleResume as cl, WorkflowTriggerRegister as cm, WorkflowTriggerPause as cn, WorkflowTriggerResume as co, WorkflowTriggerStatus as cp, WorkflowTriggerFired as cq, WorkflowExecutionStarted as cr, WorkflowExecutionCompleted as cs, WorkflowExecutionFailed as ct, type NodeSubTypeTS as cu, type NodeSubTypeInfo as cv, nodeDefinitions as cw, nodeSchemas as cx, TriggerNodeSubTypes as cy, HumanActionNodeSubTypes as cz, NodeTypeAgent as d, WorkflowTypes as d0, type WorkflowTypeTS as d1, type WorkflowTypeOptionTS as d2, NodeTypeAction as e, NodeTypeLogic as f, NodeTypeLoop as g, NodeTypeParallel as h, NodeTypeDelay as i, NodeTypeData as j, NodeTypeIntegration as k, NodeTypeTimer as l, NodeTypeSubflow as m, NodeTypeCustom as n, NodeTypeAccounting as o, NodeTypeDocumentExtraction as p, type NodeSubType as q, NodeSubTypeTriggerStart as r, NodeSubTypeTriggerEntityRecordCreated as s, NodeSubTypeTriggerEntityRecordUpdated as t, NodeSubTypeTriggerEntityRecordDeleted as u, NodeSubTypeTriggerSLAWarning as v, NodeSubTypeTriggerSLABreach as w, NodeSubTypeTriggerEscalation as x, NodeSubTypeTriggerWebhookReceived as y, NodeSubTypeHumanActionReview as z };
|
|
792
|
+
export { NodeSubTypeActionMergeEntityRecords as $, NodeSubTypeTriggerEscalation as A, NodeSubTypeTriggerWebhookReceived as B, NodeSubTypeHumanActionReview as C, NodeSubTypeHumanActionApproval as D, NodeSubTypeHumanActionDataEntry as E, NodeSubTypeHumanActionAssignment as F, NodeSubTypeAgentChat as G, NodeSubTypeAgentIntentDetector as H, NodeSubTypeAgentKnowledgeGraph as I, NodeSubTypeAgentClientApiCall as J, NodeSubTypeAgentTransferToHuman as K, type ListWorkflowDefinitionsResponse as L, NodeSubTypeAgentOpenTicket as M, type NodeType as N, NodeSubTypeAgentApiIntegration as O, NodeSubTypeAgentCustomResponse as P, NodeSubTypeAgentStructuredOutput as Q, NodeSubTypeActionApiCall as R, NodeSubTypeActionDocumentExtraction as S, NodeSubTypeActionSendEmail as T, NodeSubTypeActionSendSMS as U, NodeSubTypeActionGenerateDocument as V, type WorkflowDefinition as W, NodeSubTypeActionProcessPayment as X, NodeSubTypeActionCreateEntityRecord as Y, NodeSubTypeActionUpdateEntityRecord as Z, NodeSubTypeActionDeleteEntityRecord as _, type WorkflowInstance as a, PersistenceTypeEphemeral as a$, NodeSubTypeActionAssignSLAPolicy as a0, NodeSubTypeActionChangeSLAStatus as a1, NodeSubTypeActionEscalateSLA as a2, NodeSubTypeActionCSATSurvey as a3, NodeSubTypeActionSetVariables as a4, NodeSubTypeActionQueryEntityRecords as a5, NodeSubTypeActionNatsRequest as a6, NodeSubTypeLogicIf as a7, NodeSubTypeLogicSwitch as a8, NodeSubTypeLogicFor as a9, type WorkflowType as aA, WorkflowTypeEntity as aB, WorkflowTypeDocument as aC, WorkflowTypeChat as aD, WorkflowTypeAgent as aE, WorkflowTypeProductivity as aF, type NodeDefinition as aG, type EdgeTypeDefinition as aH, type WorkflowTypeDefinition as aI, type LogicPath as aJ, type Intent as aK, type Metadata as aL, type CreateWorkflowDefinitionRequest as aM, type UpdateWorkflowDefinitionRequest as aN, type GetWorkflowDefinitionRequest as aO, type GetWorkflowDefinitionByTitleRequest as aP, type ListWorkflowDefinitionsRequest as aQ, type DeleteWorkflowDefinitionRequest as aR, type WorkflowVariables as aS, type WorkflowRule as aT, type RuleLevel as aU, RuleLevelError as aV, RuleLevelWarning as aW, RuleLevelInfo as aX, type WorkflowPermissions as aY, type WorkflowMetadata as aZ, type PersistenceType as a_, NodeSubTypeLogicParallel as aa, NodeSubTypeLoopData as ab, NodeSubTypeDelay as ac, NodeSubTypeDataFilter as ad, NodeSubTypeDataMap as ae, NodeSubTypeDataCalculate as af, NodeSubTypeDataValidate as ag, NodeSubTypeTimerDelay as ah, NodeSubTypeTimerSchedule as ai, NodeSubTypeTimerBusinessHours as aj, type ExpressionType as ak, ExpressionTypeFilter as al, ExpressionTypeJavaScript as am, ExpressionTypeTemplate as an, ExpressionTypeDSL as ao, ExpressionTypeRules as ap, type EdgeType as aq, EdgeTypeNormal as ar, EdgeTypeLoopBack as as, EdgeTypeError as at, EdgeTypeDefault as au, EdgeTypeParallel as av, EdgeTypeConditional as aw, EdgeTypeMerge as ax, EdgeTypeCompensation as ay, EdgeTypeTimeout as az, type WorkflowDefinitionResponse as b, DelayNodeSubTypes as b$, PersistenceTypePermanent as b0, type NodeInput as b1, type NodeOutput as b2, type NodeConfig as b3, type WorkflowNode as b4, type NodeSettings as b5, type ExecutionConfig as b6, type RetryConfig as b7, type CacheConfig as b8, type ExpressionConfig as b9, InstanceStatusRunning as bA, InstanceStatusWaiting as bB, InstanceStatusPaused as bC, InstanceStatusCompleted as bD, InstanceStatusFailed as bE, type NodeInstance as bF, type NodeStatus as bG, NodeStatusPending as bH, NodeStatusRunning as bI, NodeStatusCompleted as bJ, NodeStatusFailed as bK, NodeStatusWaiting as bL, NodeStatusSkipped as bM, type EdgeStatus as bN, EdgeStatusPending as bO, EdgeStatusCompleted as bP, EdgeStatusSkipped as bQ, type WorkflowDefinitionInfo as bR, type NodeSubTypeTS as bS, type NodeSubTypeInfo as bT, nodeDefinitions as bU, nodeSchemas as bV, TriggerNodeSubTypes as bW, HumanActionNodeSubTypes as bX, AgentNodeSubTypes as bY, ActionNodeSubTypes as bZ, LogicNodeSubTypes as b_, type WorkflowEdge as ba, type TimeoutConfig as bb, type TimeoutAction as bc, TimeoutActionFail as bd, TimeoutActionSkip as be, TimeoutActionRetry as bf, TimeoutActionAlt as bg, type CreateWorkflowInstanceRequest as bh, type WorkflowInstanceExecuteNodeRequest as bi, type WorkflowInstanceResumeNodeRequest as bj, type WorkflowInstanceExecuteNodeLeanRequest as bk, type UpdateInstanceNodeMetadataRequest as bl, type GetWorkflowInstanceRequest as bm, type GetInstanceByStateVariableRequest as bn, type ListWorkflowInstancesRequest as bo, type UpdateInstanceStatusRequest as bp, type RetryNodeRequest as bq, type ListInstancesOptions as br, type InstanceState as bs, type ExecutionContext as bt, type NodeState as bu, type EdgeState as bv, type ExecutionPathEntry as bw, type ExecutionError as bx, type InstanceStatus as by, InstanceStatusNew as bz, type WorkflowInstanceResponse as c, ParallelNodeSubTypes as c0, DataNodeSubTypes as c1, TimerNodeSubTypes as c2, LoopNodeSubTypes as c3, AccountingNodeSubTypes as c4, type TriggerNodeSubType as c5, type HumanActionNodeSubType as c6, type AgentNodeSubType as c7, type ActionNodeSubType as c8, type LogicNodeSubType as c9, type DelayNodeSubType as ca, type DataNodeSubType as cb, type TimerNodeSubType as cc, type LoopNodeSubType as cd, type ParallelNodeSubType as ce, type AccountingNodeSubType as cf, type WorkflowNodeSubTypeTS as cg, WorkflowNodeTypes as ch, type WorkflowNodeTypeTS as ci, type WorkflowNodeTypeOptionTS as cj, type NodeCategory as ck, WorkflowEdgeTypes as cl, type WorkflowEdgeTypeTS as cm, type WorkflowEdgeTypeOptionTS as cn, WorkflowTypes as co, type WorkflowTypeTS as cp, type WorkflowTypeOptionTS as cq, type ListWorkflowInstancesResponse as d, NodeTypeTrigger as e, NodeTypeHumanAction as f, NodeTypeAgent as g, NodeTypeAction as h, NodeTypeLogic as i, NodeTypeLoop as j, NodeTypeParallel as k, NodeTypeDelay as l, NodeTypeData as m, NodeTypeIntegration as n, NodeTypeTimer as o, NodeTypeSubflow as p, NodeTypeCustom as q, NodeTypeAccounting as r, NodeTypeDocumentExtraction as s, type NodeSubType as t, NodeSubTypeTriggerStart as u, NodeSubTypeTriggerEntityRecordCreated as v, NodeSubTypeTriggerEntityRecordUpdated as w, NodeSubTypeTriggerEntityRecordDeleted as x, NodeSubTypeTriggerSLAWarning as y, NodeSubTypeTriggerSLABreach as z };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elqnt/workflow",
|
|
3
|
-
"version": "2.0
|
|
4
|
-
"description": "Workflow definitions and execution for Eloquent platform",
|
|
3
|
+
"version": "2.1.0",
|
|
4
|
+
"description": "Workflow definitions and execution for Eloquent platform - models, API, hooks, and store",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -15,6 +15,16 @@
|
|
|
15
15
|
"types": "./dist/models/index.d.ts",
|
|
16
16
|
"import": "./dist/models/index.mjs",
|
|
17
17
|
"require": "./dist/models/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./api": {
|
|
20
|
+
"types": "./dist/api/index.d.ts",
|
|
21
|
+
"import": "./dist/api/index.mjs",
|
|
22
|
+
"require": "./dist/api/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./hooks": {
|
|
25
|
+
"types": "./dist/hooks/index.d.ts",
|
|
26
|
+
"import": "./dist/hooks/index.mjs",
|
|
27
|
+
"require": "./dist/hooks/index.js"
|
|
18
28
|
}
|
|
19
29
|
},
|
|
20
30
|
"files": ["dist"],
|
|
@@ -31,7 +41,8 @@
|
|
|
31
41
|
},
|
|
32
42
|
"dependencies": {
|
|
33
43
|
"@elqnt/entity": "^2.0.0",
|
|
34
|
-
"@elqnt/types": "^2.0.0"
|
|
44
|
+
"@elqnt/types": "^2.0.0",
|
|
45
|
+
"@elqnt/api-client": "^1.0.0"
|
|
35
46
|
},
|
|
36
47
|
"peerDependencies": {
|
|
37
48
|
"@reduxjs/toolkit": "^2.0.0",
|
|
@@ -39,6 +50,7 @@
|
|
|
39
50
|
"react-redux": "^9.0.0"
|
|
40
51
|
},
|
|
41
52
|
"devDependencies": {
|
|
53
|
+
"@elqnt/api-client": "^1.0.0",
|
|
42
54
|
"@reduxjs/toolkit": "^2.3.0",
|
|
43
55
|
"@types/react": "^19.0.0",
|
|
44
56
|
"react": "^19.0.0",
|