intuned-runtime 1.3.3__py3-none-any.whl → 1.3.4__py3-none-any.whl

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.

Potentially problematic release.


This version of intuned-runtime might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: intuned-runtime
3
- Version: 1.3.3
3
+ Version: 1.3.4
4
4
  Summary: Runtime SDK that powers browser automation projects running on Intuned
5
5
  License: Elastic-2.0
6
6
  License-File: LICENSE
@@ -102,14 +102,14 @@ runtime/run/types.py,sha256=-7ACaxa5vg2qHw14JunvUWt-AchanTQU4FRF57DxJWo,287
102
102
  runtime/types/__init__.py,sha256=LWf5iOMgbve_BrpVP-LWWzDD3v2K4Y2sLxthOnVEqyY,539
103
103
  runtime/types/payload.py,sha256=sty8HgDEn3nJbZrwEOMCXyuG7_ICGDwlBIIWSON5ABY,124
104
104
  runtime/types/run_types.py,sha256=GcYLkL2BHxOjT4O3KvBP6xjBKsmJbjltMt_5bCVnfCI,4554
105
- runtime/types/settings_types.py,sha256=lgu3O-LXSa1Gbv1j6Uzd5udpSFBl2KR9T4vRVWITVfk,2832
105
+ runtime/types/settings_types.py,sha256=pVVh67lv7iHAUUbovGHvbswEFtx_N-b7jTwFvk968Hg,3118
106
106
  runtime/utils/__init__.py,sha256=v0qHjnc54YCkY1yPbXuihgymVZau_15xaEVyaFQj9ts,78
107
107
  runtime/utils/anyio.py,sha256=KNemAQmmS425YKbVH_7DAE5lcDG_UziJHHTt9YJKS4o,697
108
108
  runtime/utils/config_loader.py,sha256=yqk2eDGbgyw0Xslgd3dJbB28NjUe02L9LyCxzCmH9r4,482
109
109
  runtime_helpers/__init__.py,sha256=1BPzEc-qC2WAYiCWDOJChpgnFyO3ZNYRKHEZqdHUGwM,322
110
110
  runtime_helpers/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
111
- intuned_runtime-1.3.3.dist-info/METADATA,sha256=mV8sOXqVgV0U5FsWnW_BoTihQAWXiyeDAi07ZtqklCE,5473
112
- intuned_runtime-1.3.3.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
113
- intuned_runtime-1.3.3.dist-info/entry_points.txt,sha256=ToMS2cqDeRmF1FGkflwoeD-Xz6jJV5p1zIbw9G7IxMg,85
114
- intuned_runtime-1.3.3.dist-info/licenses/LICENSE,sha256=9LIjQdgyU_ptzNIfItNCR7VmEHqYnrY1f1XwOreKFI0,3714
115
- intuned_runtime-1.3.3.dist-info/RECORD,,
111
+ intuned_runtime-1.3.4.dist-info/METADATA,sha256=evPlfZys9C-YXh_s5UsQnqCSBtB4MX0szxNm_hkIcx4,5473
112
+ intuned_runtime-1.3.4.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
113
+ intuned_runtime-1.3.4.dist-info/entry_points.txt,sha256=ToMS2cqDeRmF1FGkflwoeD-Xz6jJV5p1zIbw9G7IxMg,85
114
+ intuned_runtime-1.3.4.dist-info/licenses/LICENSE,sha256=9LIjQdgyU_ptzNIfItNCR7VmEHqYnrY1f1XwOreKFI0,3714
115
+ intuned_runtime-1.3.4.dist-info/RECORD,,
@@ -9,11 +9,21 @@ class CaptchaSettings(BaseModel):
9
9
  enabled: bool = Field(default=False)
10
10
 
11
11
 
12
- class CustomCaptchaSettings(CaptchaSettings):
12
+ class CaptchaSolverSolveSettings(BaseModel):
13
13
  model_config = {
14
14
  "populate_by_name": True,
15
15
  "serialize_by_alias": True,
16
16
  }
17
+ auto_solve: bool = Field(default=True, alias="autoSolve")
18
+ solve_delay: int = Field(default=2000, alias="solveDelay")
19
+ max_retries: int = Field(default=3, alias="maxRetries")
20
+ timeout: int = Field(default=30000)
21
+
22
+
23
+ class CustomCaptchaSettings(CaptchaSettings):
24
+ model_config = {
25
+ "serialize_by_alias": True,
26
+ }
17
27
 
18
28
  image_locators: List[str] = Field(alias="imageLocators", default=[])
19
29
  submit_locators: List[str] = Field(alias="submitLocators", default=[])
@@ -47,9 +57,7 @@ class CaptchaSolverSettings(BaseModel):
47
57
  lemin: CaptchaSettings = Field(default_factory=CaptchaSettings)
48
58
  custom_captcha: CustomCaptchaSettings = Field(alias="customCaptcha", default_factory=CustomCaptchaSettings)
49
59
  text: TextCaptchaSettings = Field(default_factory=TextCaptchaSettings)
50
- settings: dict[str, int | bool] = Field(
51
- default={"autoSolve": True, "solveDelay": 2000, "maxRetries": 3, "timeout": 30000}
52
- )
60
+ settings: CaptchaSolverSolveSettings = Field(default_factory=CaptchaSolverSolveSettings)
53
61
 
54
62
 
55
63
  class IntunedJsonDisabledAuthSessions(BaseModel):