File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
src/uipath/runtime/resumable Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 11[project ]
22name = " uipath-runtime"
3- version = " 0.0.17 "
3+ version = " 0.0.18 "
44description = " Runtime abstractions and interfaces for building agents and automation scripts in the UiPath ecosystem"
55readme = { file = " README.md" , content-type = " text/markdown" }
66requires-python = " >=3.11"
Original file line number Diff line number Diff line change @@ -12,7 +12,19 @@ class UiPathResumeTriggerType(str, Enum):
1212 NONE = "None"
1313 QUEUE_ITEM = "QueueItem"
1414 JOB = "Job"
15- ACTION = "Task"
15+ TASK = "Task"
16+ TIMER = "Timer"
17+ INBOX = "Inbox"
18+ API = "Api"
19+
20+ class UiPathResumeTriggerName (str , Enum ):
21+ """Constants representing different types of resume job triggers in the system."""
22+
23+ UNKNOWN = "Unknown"
24+ QUEUE_ITEM = "QueueItem"
25+ JOB = "Job"
26+ TASK = "Task"
27+ ESCALATION = "Escalation"
1628 TIMER = "Timer"
1729 INBOX = "Inbox"
1830 API = "Api"
@@ -33,6 +45,9 @@ class UiPathResumeTrigger(BaseModel):
3345 trigger_type : UiPathResumeTriggerType = Field (
3446 default = UiPathResumeTriggerType .API , alias = "triggerType"
3547 )
48+ trigger_name : UiPathResumeTriggerName = Field (
49+ default = UiPathResumeTriggerName .UNKNOWN , alias = "triggerName"
50+ )
3651 item_key : str | None = Field (default = None , alias = "itemKey" )
3752 api_resume : UiPathApiTrigger | None = Field (default = None , alias = "apiResume" )
3853 folder_path : str | None = Field (default = None , alias = "folderPath" )
You can’t perform that action at this time.
0 commit comments