asteroid-odyssey 1.3.6__py3-none-any.whl → 1.3.7__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.
@@ -43,7 +43,9 @@ class AgentProfile(BaseModel):
43
43
  cookies: List[Cookie] = Field(description="List of cookies associated with this agent profile")
44
44
  created_at: datetime = Field(description="The date and time the agent profile was created")
45
45
  updated_at: datetime = Field(description="The last update time of the agent profile")
46
- __properties: ClassVar[List[str]] = ["id", "name", "description", "organization_id", "proxy_cc", "proxy_type", "captcha_solver_active", "sticky_ip", "credentials", "cookies", "created_at", "updated_at"]
46
+ tracing_snapshots: StrictBool = Field(description="Whether to enable tracing snapshots for the profile")
47
+ extra_stealth: StrictBool = Field(description="Whether to enable extra stealth for the profile")
48
+ __properties: ClassVar[List[str]] = ["id", "name", "description", "organization_id", "proxy_cc", "proxy_type", "captcha_solver_active", "sticky_ip", "credentials", "cookies", "created_at", "updated_at", "tracing_snapshots", "extra_stealth"]
47
49
 
48
50
  model_config = ConfigDict(
49
51
  populate_by_name=True,
@@ -121,7 +123,9 @@ class AgentProfile(BaseModel):
121
123
  "credentials": [Credential.from_dict(_item) for _item in obj["credentials"]] if obj.get("credentials") is not None else None,
122
124
  "cookies": [Cookie.from_dict(_item) for _item in obj["cookies"]] if obj.get("cookies") is not None else None,
123
125
  "created_at": obj.get("created_at"),
124
- "updated_at": obj.get("updated_at")
126
+ "updated_at": obj.get("updated_at"),
127
+ "tracing_snapshots": obj.get("tracing_snapshots"),
128
+ "extra_stealth": obj.get("extra_stealth")
125
129
  })
126
130
  return _obj
127
131
 
@@ -18,7 +18,7 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
- from typing import Any, ClassVar, Dict, List
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing_extensions import Annotated
23
23
  from asteroid_odyssey.agents_v1_gen.models.cookie import Cookie
24
24
  from asteroid_odyssey.agents_v1_gen.models.country_code import CountryCode
@@ -40,7 +40,9 @@ class CreateAgentProfileRequest(BaseModel):
40
40
  sticky_ip: StrictBool = Field(description="Whether the same IP address should be used for all executions of this profile")
41
41
  credentials: List[Credential] = Field(description="Optional list of credentials to create with the profile")
42
42
  cookies: List[Cookie] = Field(description="Optional list of cookies to create with the profile")
43
- __properties: ClassVar[List[str]] = ["name", "description", "organization_id", "proxy_cc", "proxy_type", "captcha_solver_active", "sticky_ip", "credentials", "cookies"]
43
+ tracing_snapshots: Optional[StrictBool] = Field(default=True, description="Whether to enable tracing snapshots for the profile")
44
+ extra_stealth: Optional[StrictBool] = Field(default=False, description="Whether to enable extra stealth for the profile")
45
+ __properties: ClassVar[List[str]] = ["name", "description", "organization_id", "proxy_cc", "proxy_type", "captcha_solver_active", "sticky_ip", "credentials", "cookies", "tracing_snapshots", "extra_stealth"]
44
46
 
45
47
  model_config = ConfigDict(
46
48
  populate_by_name=True,
@@ -115,7 +117,9 @@ class CreateAgentProfileRequest(BaseModel):
115
117
  "captcha_solver_active": obj.get("captcha_solver_active") if obj.get("captcha_solver_active") is not None else False,
116
118
  "sticky_ip": obj.get("sticky_ip") if obj.get("sticky_ip") is not None else False,
117
119
  "credentials": [Credential.from_dict(_item) for _item in obj["credentials"]] if obj.get("credentials") is not None else None,
118
- "cookies": [Cookie.from_dict(_item) for _item in obj["cookies"]] if obj.get("cookies") is not None else None
120
+ "cookies": [Cookie.from_dict(_item) for _item in obj["cookies"]] if obj.get("cookies") is not None else None,
121
+ "tracing_snapshots": obj.get("tracing_snapshots") if obj.get("tracing_snapshots") is not None else True,
122
+ "extra_stealth": obj.get("extra_stealth") if obj.get("extra_stealth") is not None else False
119
123
  })
120
124
  return _obj
121
125
 
@@ -41,7 +41,9 @@ class UpdateAgentProfileRequest(BaseModel):
41
41
  credentials_to_delete: Optional[List[StrictStr]] = Field(default=None, description="List of credential IDs to delete from the profile")
42
42
  cookies_to_add: Optional[List[Cookie]] = Field(default=None, description="List of cookies to add to the profile")
43
43
  cookies_to_delete: Optional[List[StrictStr]] = Field(default=None, description="List of cookie IDs to delete from the profile")
44
- __properties: ClassVar[List[str]] = ["name", "description", "proxy_cc", "proxy_type", "captcha_solver_active", "sticky_ip", "credentials_to_add", "credentials_to_delete", "cookies_to_add", "cookies_to_delete"]
44
+ tracing_snapshots: Optional[StrictBool] = Field(default=True, description="Whether to enable tracing snapshots for the profile")
45
+ extra_stealth: Optional[StrictBool] = Field(default=False, description="Whether to enable extra stealth for the profile")
46
+ __properties: ClassVar[List[str]] = ["name", "description", "proxy_cc", "proxy_type", "captcha_solver_active", "sticky_ip", "credentials_to_add", "credentials_to_delete", "cookies_to_add", "cookies_to_delete", "tracing_snapshots", "extra_stealth"]
45
47
 
46
48
  model_config = ConfigDict(
47
49
  populate_by_name=True,
@@ -117,7 +119,9 @@ class UpdateAgentProfileRequest(BaseModel):
117
119
  "credentials_to_add": [Credential.from_dict(_item) for _item in obj["credentials_to_add"]] if obj.get("credentials_to_add") is not None else None,
118
120
  "credentials_to_delete": obj.get("credentials_to_delete"),
119
121
  "cookies_to_add": [Cookie.from_dict(_item) for _item in obj["cookies_to_add"]] if obj.get("cookies_to_add") is not None else None,
120
- "cookies_to_delete": obj.get("cookies_to_delete")
122
+ "cookies_to_delete": obj.get("cookies_to_delete"),
123
+ "tracing_snapshots": obj.get("tracing_snapshots") if obj.get("tracing_snapshots") is not None else True,
124
+ "extra_stealth": obj.get("extra_stealth") if obj.get("extra_stealth") is not None else False
121
125
  })
122
126
  return _obj
123
127
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asteroid-odyssey
3
- Version: 1.3.6
3
+ Version: 1.3.7
4
4
  Summary: A Python SDK for browser automation using Asteroid platform.
5
5
  Author-email: David Mlcoch <founders@asteroid.com>
6
6
  License-Expression: MIT
@@ -12,11 +12,11 @@ asteroid_odyssey/agents_v1_gen/api/agent_profile_api.py,sha256=uOgyH3VN8LseS5Mq2
12
12
  asteroid_odyssey/agents_v1_gen/api/api_api.py,sha256=vqZ7wQEQGOpa1D6U1QLL27XK-0DY5_v9tdQJNt_lpsM,19217
13
13
  asteroid_odyssey/agents_v1_gen/api/execution_api.py,sha256=RXYDwX_VKMfM44IrKRb-c5D3FXnAPw8QQcpqDoGpL3Q,67849
14
14
  asteroid_odyssey/agents_v1_gen/models/__init__.py,sha256=B4qBgPxwjUAB2yKdPOgFj_uYNjxMYCwaLrKUBrKTuiI,2053
15
- asteroid_odyssey/agents_v1_gen/models/agent_profile.py,sha256=gOiHYIGH626wvvNSo9kbMu6fTLwC0xg_pN3aV_ubOO0,5388
15
+ asteroid_odyssey/agents_v1_gen/models/agent_profile.py,sha256=RvajM_2oFgPBZqEnyJAtpF_oV-jNNcKA6nm68bDCGKc,5754
16
16
  asteroid_odyssey/agents_v1_gen/models/browser_session_recording_response.py,sha256=OgYXsMiADk5IIDKkWJTy0RfnnBO3Zbaq9mEUyaxTaH0,2590
17
17
  asteroid_odyssey/agents_v1_gen/models/cookie.py,sha256=jvK-SgpFn8Untq3JnHTxDQnznT6Snn7Vnykba1-c3XU,4020
18
18
  asteroid_odyssey/agents_v1_gen/models/country_code.py,sha256=pYFM0OC_maaGfUsFTTnKtSJxXKQiNS0pU3O0LLFz_Uo,802
19
- asteroid_odyssey/agents_v1_gen/models/create_agent_profile_request.py,sha256=jqHaASZlDkTWSpF9AYEsc4QyEpfN9uY4QPw0uMhcSOA,5194
19
+ asteroid_odyssey/agents_v1_gen/models/create_agent_profile_request.py,sha256=lRSWRhLxMXlV1oU1UrV9PIYymNjx5yVpYbiB_MMtlEI,5724
20
20
  asteroid_odyssey/agents_v1_gen/models/credential.py,sha256=MSzwgGLjNiH_fclHpZpYKKDWn-498etD1CLS_EfmA7k,3033
21
21
  asteroid_odyssey/agents_v1_gen/models/delete_agent_profile200_response.py,sha256=y6gaG8VLeC2muBcw-i6KG64i-xrHq1v-8A7T8ViwBwk,2514
22
22
  asteroid_odyssey/agents_v1_gen/models/error_response.py,sha256=njnDeKZeMPiteuX4l3MsWTHkG4qEiv8sbIUTv0Z8yQY,2459
@@ -29,7 +29,7 @@ asteroid_odyssey/agents_v1_gen/models/health_check500_response.py,sha256=b6pG-pq
29
29
  asteroid_odyssey/agents_v1_gen/models/proxy_type.py,sha256=5AUJvncQEl77V3QLJCIidk-WQRU1BlhMJo9ARUUdo1Y,704
30
30
  asteroid_odyssey/agents_v1_gen/models/status.py,sha256=tnt_4jdoMzcjo6J0vttf2QKLNK0FC9XcjZKbGC3sbz0,889
31
31
  asteroid_odyssey/agents_v1_gen/models/structured_agent_execution_request.py,sha256=VZyW85pVz9T27aiG4ZlGywnnxTOaJCAjHSDz8D2YxY8,2913
32
- asteroid_odyssey/agents_v1_gen/models/update_agent_profile_request.py,sha256=ZggUpiv1G87Ds85n7XDCR0Lc3buwK-1C2kt0Zp3xUM0,5646
32
+ asteroid_odyssey/agents_v1_gen/models/update_agent_profile_request.py,sha256=YThkvG1dNkbKqFB9-h0NJoi6uy7mnLH4Wc-NsIGqiYw,6166
33
33
  asteroid_odyssey/agents_v1_gen/models/upload_execution_files200_response.py,sha256=u85oEP2bEuhszonE78VcrB_keT0UZpv16CTGvfse_v4,2735
34
34
  asteroid_odyssey/agents_v2_gen/__init__.py,sha256=0pELLpaJvn2Vda0oeiY475XzvhKLJpjkiC1v8qGqtO0,6758
35
35
  asteroid_odyssey/agents_v2_gen/api_client.py,sha256=zf8LBIbhuInmYPs4iTmxc8mU4gwONeX3JPq3D8ZTftM,27573
@@ -89,7 +89,7 @@ asteroid_odyssey/agents_v2_gen/models/common_forbidden_error_body.py,sha256=9yAD
89
89
  asteroid_odyssey/agents_v2_gen/models/common_not_found_error_body.py,sha256=BAVAweVD5ltGL2lWfdDNwaq82CI4iVkPVE_E9JfEpi8,2881
90
90
  asteroid_odyssey/agents_v2_gen/models/common_sort_direction.py,sha256=UBW99PM3QRGRRE7dB5OSBhmhogmsXQQsrw66j0fg_xc,763
91
91
  asteroid_odyssey/agents_v2_gen/models/version.py,sha256=Vjiri_a5CcDJ1lSziRqif5HuFpaxneVDLIB1r8SFIkE,707
92
- asteroid_odyssey-1.3.6.dist-info/METADATA,sha256=OkRdRpTVtfamHqIIXnVyx24QFn5TWbg13aUMljRAUqs,7108
93
- asteroid_odyssey-1.3.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
94
- asteroid_odyssey-1.3.6.dist-info/top_level.txt,sha256=h4T6NKscnThJ4Nhzors2NKlJeZzepnM7XvDgsnfi5HA,17
95
- asteroid_odyssey-1.3.6.dist-info/RECORD,,
92
+ asteroid_odyssey-1.3.7.dist-info/METADATA,sha256=478O0-3kwea5bYVYH3r3abkOtmypZ2utiWxX-xOuwqU,7108
93
+ asteroid_odyssey-1.3.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
94
+ asteroid_odyssey-1.3.7.dist-info/top_level.txt,sha256=h4T6NKscnThJ4Nhzors2NKlJeZzepnM7XvDgsnfi5HA,17
95
+ asteroid_odyssey-1.3.7.dist-info/RECORD,,