@autoweb/domain-models 1.0.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/README.md +100 -0
- package/index.d.ts +594 -0
- package/index.js +3 -0
- package/package.json +55 -0
- package/python-models/__init__.py +68 -0
- package/python-models/action-configs.py +1112 -0
- package/python-models/build/lib/floweb_models/__init__.py +194 -0
- package/python-models/build/lib/floweb_models/action_configs.py +783 -0
- package/python-models/build/lib/floweb_models/debug.py +209 -0
- package/python-models/build/lib/floweb_models/debug_models.py +141 -0
- package/python-models/build/lib/floweb_models/environment.py +158 -0
- package/python-models/build/lib/floweb_models/execution_results.py +208 -0
- package/python-models/build/lib/floweb_models/flow.py +345 -0
- package/python-models/build/lib/floweb_models/flow_validation.py +316 -0
- package/python-models/build/lib/floweb_models/parallel_execution.py +258 -0
- package/python-models/build/lib/floweb_models/performance_test.py +605 -0
- package/python-models/build/lib/floweb_models/websocket_communication.py +697 -0
- package/python-models/debug.py +209 -0
- package/python-models/dist/floweb_domain_models-1.0.0-py3-none-any.whl +0 -0
- package/python-models/environment.py +158 -0
- package/python-models/execution-results.py +208 -0
- package/python-models/flow-validation.py +316 -0
- package/python-models/flow.py +369 -0
- package/python-models/floweb_domain_models.egg-info/PKG-INFO +9 -0
- package/python-models/floweb_domain_models.egg-info/SOURCES.txt +16 -0
- package/python-models/floweb_domain_models.egg-info/dependency_links.txt +1 -0
- package/python-models/floweb_domain_models.egg-info/requires.txt +1 -0
- package/python-models/floweb_domain_models.egg-info/top_level.txt +1 -0
- package/python-models/floweb_models/__init__.py +194 -0
- package/python-models/floweb_models/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python-models/floweb_models/__pycache__/action_configs.cpython-312.pyc +0 -0
- package/python-models/floweb_models/__pycache__/debug.cpython-312.pyc +0 -0
- package/python-models/floweb_models/__pycache__/debug_models.cpython-312.pyc +0 -0
- package/python-models/floweb_models/__pycache__/environment.cpython-312.pyc +0 -0
- package/python-models/floweb_models/__pycache__/execution_results.cpython-312.pyc +0 -0
- package/python-models/floweb_models/__pycache__/flow.cpython-312.pyc +0 -0
- package/python-models/floweb_models/__pycache__/flow_validation.cpython-312.pyc +0 -0
- package/python-models/floweb_models/__pycache__/parallel_execution.cpython-312.pyc +0 -0
- package/python-models/floweb_models/__pycache__/performance_test.cpython-312.pyc +0 -0
- package/python-models/floweb_models/__pycache__/websocket_communication.cpython-312.pyc +0 -0
- package/python-models/floweb_models/action_configs.py +1062 -0
- package/python-models/floweb_models/debug.py +209 -0
- package/python-models/floweb_models/debug_models.py +141 -0
- package/python-models/floweb_models/environment.py +158 -0
- package/python-models/floweb_models/execution_results.py +208 -0
- package/python-models/floweb_models/flow.py +345 -0
- package/python-models/floweb_models/flow_validation.py +316 -0
- package/python-models/floweb_models/parallel_execution.py +229 -0
- package/python-models/floweb_models/performance_test.py +605 -0
- package/python-models/floweb_models/websocket_communication.py +697 -0
- package/python-models/floweb_models.egg-info/PKG-INFO +9 -0
- package/python-models/floweb_models.egg-info/SOURCES.txt +16 -0
- package/python-models/floweb_models.egg-info/dependency_links.txt +1 -0
- package/python-models/floweb_models.egg-info/requires.txt +1 -0
- package/python-models/floweb_models.egg-info/top_level.txt +1 -0
- package/python-models/parallel-execution.py +475 -0
- package/python-models/performance-test.py +605 -0
- package/python-models/setup.py +13 -0
- package/python-models/websocket-communication.py +697 -0
- package/schemas/action-configs.json +1501 -0
- package/schemas/debug.json +203 -0
- package/schemas/environment.json +165 -0
- package/schemas/execution-results.json +209 -0
- package/schemas/flow-validation.json +311 -0
- package/schemas/flow.json +381 -0
- package/schemas/parallel-execution.json +219 -0
- package/schemas/performance-test.json +600 -0
- package/schemas/websocket-communication.json +1118 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"""Floweb shared Python domain models package (`floweb_models`)."""
|
|
2
|
+
|
|
3
|
+
from .action_configs import (
|
|
4
|
+
ApiCallConfig,
|
|
5
|
+
AssertVisibleConfig,
|
|
6
|
+
AssertionConfig,
|
|
7
|
+
BaseActionConfig,
|
|
8
|
+
CallToFlowConfig,
|
|
9
|
+
ClearInputConfig,
|
|
10
|
+
ClickConfig,
|
|
11
|
+
ConditionalConfig,
|
|
12
|
+
CustomCodeConfig,
|
|
13
|
+
DatabaseInsertConfig,
|
|
14
|
+
DatabaseQueryConfig,
|
|
15
|
+
DragAndDropConfig,
|
|
16
|
+
ExitFrameConfig,
|
|
17
|
+
FileDownloadConfig,
|
|
18
|
+
FileUploadConfig,
|
|
19
|
+
FormField,
|
|
20
|
+
FormFieldOption,
|
|
21
|
+
FormFillConfig,
|
|
22
|
+
GetElementPropertiesConfig,
|
|
23
|
+
GetPageInfoConfig,
|
|
24
|
+
GoBackConfig,
|
|
25
|
+
GoForwardConfig,
|
|
26
|
+
HandlePopupConfig,
|
|
27
|
+
InputConfig,
|
|
28
|
+
JunctionConfig,
|
|
29
|
+
LoopConfig,
|
|
30
|
+
NavigateConfig,
|
|
31
|
+
OpenNewTabConfig,
|
|
32
|
+
RefreshConfig,
|
|
33
|
+
ScreenshotConfig,
|
|
34
|
+
ScrollConfig,
|
|
35
|
+
SendKeysConfig,
|
|
36
|
+
SetViewportConfig,
|
|
37
|
+
SubflowConfig,
|
|
38
|
+
SwitchTabConfig,
|
|
39
|
+
SwitchToFrameConfig,
|
|
40
|
+
WaitConfig,
|
|
41
|
+
)
|
|
42
|
+
from .debug import (
|
|
43
|
+
Breakpoint,
|
|
44
|
+
DebugActionUpdate,
|
|
45
|
+
DebugExecutionInfo,
|
|
46
|
+
DebugSession,
|
|
47
|
+
DebugState,
|
|
48
|
+
PauseReason,
|
|
49
|
+
)
|
|
50
|
+
from .environment import Environment, GlobalVariable, Variable
|
|
51
|
+
from .execution_results import ActionResult, FlowReport
|
|
52
|
+
from .flow import Action, ActionData, Edge, EnvironmentVariable, Flow, FlowParameters, FlowVariables, Position, Zoom
|
|
53
|
+
from .parallel_execution import (
|
|
54
|
+
FlowExecutionRequest,
|
|
55
|
+
FlowExecutionResult,
|
|
56
|
+
ParallelTestsRequest,
|
|
57
|
+
ParallelTestsResult,
|
|
58
|
+
)
|
|
59
|
+
from .websocket_communication import (
|
|
60
|
+
CloseCommand,
|
|
61
|
+
CloseEngineCommand,
|
|
62
|
+
CloseSessionCommand,
|
|
63
|
+
ConvertRecordingToFlowCommand,
|
|
64
|
+
DebugContinueCommand,
|
|
65
|
+
DebugPauseCommand,
|
|
66
|
+
DebugResponse,
|
|
67
|
+
DebugRunCommand,
|
|
68
|
+
DebugStepCommand,
|
|
69
|
+
DebugStopCommand,
|
|
70
|
+
EngineStatusResponse,
|
|
71
|
+
FinishRecordingCommand,
|
|
72
|
+
GetEngineStatusCommand,
|
|
73
|
+
GetLatestRealtimeActionCommand,
|
|
74
|
+
GetRealtimeActionsCommand,
|
|
75
|
+
GetRecordingStatusCommand,
|
|
76
|
+
ListRecordingsCommand,
|
|
77
|
+
ListRecordingsResponse,
|
|
78
|
+
ListSessionsCommand,
|
|
79
|
+
PauseRecordingCommand,
|
|
80
|
+
RecordCommand,
|
|
81
|
+
RecordingResponse,
|
|
82
|
+
RecordingStatusResponse,
|
|
83
|
+
RestartEngineCommand,
|
|
84
|
+
ResumeRecordingCommand,
|
|
85
|
+
RunCommand,
|
|
86
|
+
RunLoadTestCommand,
|
|
87
|
+
SessionInfo,
|
|
88
|
+
StartPerformanceScanCommand,
|
|
89
|
+
StopCommand,
|
|
90
|
+
StopLoadTestCommand,
|
|
91
|
+
StopPerformanceScanCommand,
|
|
92
|
+
StopRecordingCommand,
|
|
93
|
+
WebSocketMessage,
|
|
94
|
+
WebSocketResponse,
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
__all__ = [
|
|
98
|
+
"Flow",
|
|
99
|
+
"Action",
|
|
100
|
+
"Edge",
|
|
101
|
+
"ActionData",
|
|
102
|
+
"Position",
|
|
103
|
+
"Zoom",
|
|
104
|
+
"Variable",
|
|
105
|
+
"EnvironmentVariable",
|
|
106
|
+
"FlowVariables",
|
|
107
|
+
"FlowParameters",
|
|
108
|
+
"Environment",
|
|
109
|
+
"GlobalVariable",
|
|
110
|
+
"FlowExecutionRequest",
|
|
111
|
+
"FlowExecutionResult",
|
|
112
|
+
"ParallelTestsRequest",
|
|
113
|
+
"ParallelTestsResult",
|
|
114
|
+
"DebugState",
|
|
115
|
+
"PauseReason",
|
|
116
|
+
"Breakpoint",
|
|
117
|
+
"DebugExecutionInfo",
|
|
118
|
+
"DebugSession",
|
|
119
|
+
"DebugActionUpdate",
|
|
120
|
+
"BaseActionConfig",
|
|
121
|
+
"ClickConfig",
|
|
122
|
+
"InputConfig",
|
|
123
|
+
"SendKeysConfig",
|
|
124
|
+
"NavigateConfig",
|
|
125
|
+
"WaitConfig",
|
|
126
|
+
"ScrollConfig",
|
|
127
|
+
"ScreenshotConfig",
|
|
128
|
+
"AssertionConfig",
|
|
129
|
+
"AssertVisibleConfig",
|
|
130
|
+
"FormField",
|
|
131
|
+
"FormFieldOption",
|
|
132
|
+
"FormFillConfig",
|
|
133
|
+
"ClearInputConfig",
|
|
134
|
+
"OpenNewTabConfig",
|
|
135
|
+
"SwitchTabConfig",
|
|
136
|
+
"GoBackConfig",
|
|
137
|
+
"GoForwardConfig",
|
|
138
|
+
"RefreshConfig",
|
|
139
|
+
"GetPageInfoConfig",
|
|
140
|
+
"SetViewportConfig",
|
|
141
|
+
"JunctionConfig",
|
|
142
|
+
"ApiCallConfig",
|
|
143
|
+
"ConditionalConfig",
|
|
144
|
+
"LoopConfig",
|
|
145
|
+
"DatabaseQueryConfig",
|
|
146
|
+
"DatabaseInsertConfig",
|
|
147
|
+
"CustomCodeConfig",
|
|
148
|
+
"DragAndDropConfig",
|
|
149
|
+
"CallToFlowConfig",
|
|
150
|
+
"SwitchToFrameConfig",
|
|
151
|
+
"ExitFrameConfig",
|
|
152
|
+
"GetElementPropertiesConfig",
|
|
153
|
+
"HandlePopupConfig",
|
|
154
|
+
"FileUploadConfig",
|
|
155
|
+
"FileDownloadConfig",
|
|
156
|
+
"SubflowConfig",
|
|
157
|
+
"ActionResult",
|
|
158
|
+
"FlowReport",
|
|
159
|
+
"WebSocketMessage",
|
|
160
|
+
"SessionInfo",
|
|
161
|
+
"RunCommand",
|
|
162
|
+
"RecordCommand",
|
|
163
|
+
"PauseRecordingCommand",
|
|
164
|
+
"ResumeRecordingCommand",
|
|
165
|
+
"StopRecordingCommand",
|
|
166
|
+
"FinishRecordingCommand",
|
|
167
|
+
"GetRecordingStatusCommand",
|
|
168
|
+
"ListRecordingsCommand",
|
|
169
|
+
"ConvertRecordingToFlowCommand",
|
|
170
|
+
"GetRealtimeActionsCommand",
|
|
171
|
+
"GetLatestRealtimeActionCommand",
|
|
172
|
+
"StopCommand",
|
|
173
|
+
"CloseCommand",
|
|
174
|
+
"ListSessionsCommand",
|
|
175
|
+
"CloseSessionCommand",
|
|
176
|
+
"RestartEngineCommand",
|
|
177
|
+
"CloseEngineCommand",
|
|
178
|
+
"GetEngineStatusCommand",
|
|
179
|
+
"StartPerformanceScanCommand",
|
|
180
|
+
"StopPerformanceScanCommand",
|
|
181
|
+
"RunLoadTestCommand",
|
|
182
|
+
"StopLoadTestCommand",
|
|
183
|
+
"WebSocketResponse",
|
|
184
|
+
"EngineStatusResponse",
|
|
185
|
+
"RecordingResponse",
|
|
186
|
+
"RecordingStatusResponse",
|
|
187
|
+
"ListRecordingsResponse",
|
|
188
|
+
"DebugRunCommand",
|
|
189
|
+
"DebugStepCommand",
|
|
190
|
+
"DebugContinueCommand",
|
|
191
|
+
"DebugPauseCommand",
|
|
192
|
+
"DebugStopCommand",
|
|
193
|
+
"DebugResponse",
|
|
194
|
+
]
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|