asteroid-odyssey 1.6.23__tar.gz → 1.6.38__tar.gz

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.
Files changed (129) hide show
  1. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/PKG-INFO +1 -1
  2. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/pyproject.toml +1 -1
  3. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/__init__.py +2 -0
  4. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/__init__.py +1 -0
  5. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_profile_agent_profile.py +9 -1
  6. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_profile_create_agent_profile_request.py +9 -1
  7. asteroid_odyssey-1.6.38/src/asteroid_odyssey/models/agents_profile_credential_update.py +90 -0
  8. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_profile_update_agent_profile_request.py +19 -1
  9. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey.egg-info/PKG-INFO +1 -1
  10. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey.egg-info/SOURCES.txt +1 -0
  11. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/README.md +0 -0
  12. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/setup.cfg +0 -0
  13. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/api/__init__.py +0 -0
  14. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/api/agent_profiles_api.py +0 -0
  15. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/api/agents_api.py +0 -0
  16. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/api/execution_api.py +0 -0
  17. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/api/files_api.py +0 -0
  18. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/api_client.py +0 -0
  19. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/api_response.py +0 -0
  20. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/configuration.py +0 -0
  21. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/exceptions.py +0 -0
  22. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agent_list200_response.py +0 -0
  23. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agent_profile_clear_browser_cache200_response.py +0 -0
  24. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agent_profiles_list200_response.py +0 -0
  25. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_agent_base.py +0 -0
  26. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_agent_execute_agent_request.py +0 -0
  27. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_agent_execute_agent_response.py +0 -0
  28. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_agent_sort_field.py +0 -0
  29. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_action_name.py +0 -0
  30. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity.py +0 -0
  31. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_action_completed_info.py +0 -0
  32. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_action_completed_payload.py +0 -0
  33. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_action_failed_payload.py +0 -0
  34. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_action_started_info.py +0 -0
  35. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_action_started_payload.py +0 -0
  36. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_continued_on_node_payload.py +0 -0
  37. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_file_added_payload.py +0 -0
  38. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_generic_payload.py +0 -0
  39. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_payload_union.py +0 -0
  40. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_playwright_script_generated_payload.py +0 -0
  41. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_reasoning_payload.py +0 -0
  42. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_status_changed_payload.py +0 -0
  43. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_step_completed_payload.py +0 -0
  44. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_step_started_payload.py +0 -0
  45. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_transitioned_node_payload.py +0 -0
  46. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_user_message_received_payload.py +0 -0
  47. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_activity_workflow_updated_payload.py +0 -0
  48. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_agent_query_context_completed_details.py +0 -0
  49. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_agent_query_context_started_details.py +0 -0
  50. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_awaiting_confirmation_payload.py +0 -0
  51. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_cancel_reason.py +0 -0
  52. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_cancelled_payload.py +0 -0
  53. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_comment.py +0 -0
  54. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_completed_payload.py +0 -0
  55. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_element_file_upload_completed_details.py +0 -0
  56. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_execution_result.py +0 -0
  57. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_ext_api_call_completed_details.py +0 -0
  58. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_ext_get_mail_completed_details.py +0 -0
  59. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_failed_payload.py +0 -0
  60. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_file_list_completed_details.py +0 -0
  61. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_file_read_completed_details.py +0 -0
  62. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_file_stage_completed_details.py +0 -0
  63. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_human_label.py +0 -0
  64. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_list_item.py +0 -0
  65. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_llm_call_purpose.py +0 -0
  66. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_llm_call_started_details.py +0 -0
  67. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_nav_to_completed_details.py +0 -0
  68. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_nav_to_started_details.py +0 -0
  69. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_node_details.py +0 -0
  70. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_node_output_item.py +0 -0
  71. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_obs_snapshot_with_selectors_completed_details.py +0 -0
  72. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_paused_payload.py +0 -0
  73. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_rules_details.py +0 -0
  74. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_scratchpad_read_completed_details.py +0 -0
  75. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_scratchpad_read_started_details.py +0 -0
  76. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_scratchpad_write_completed_details.py +0 -0
  77. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_scratchpad_write_started_details.py +0 -0
  78. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_script_eval_completed_details.py +0 -0
  79. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_script_eval_started_details.py +0 -0
  80. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_script_hybrid_playwright_completed_details.py +0 -0
  81. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_script_hybrid_playwright_started_details.py +0 -0
  82. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_script_pad_run_function_completed_details.py +0 -0
  83. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_script_playwright_completed_details.py +0 -0
  84. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_script_playwright_started_details.py +0 -0
  85. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_scriptpad_read_completed_details.py +0 -0
  86. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_scriptpad_read_started_details.py +0 -0
  87. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_scriptpad_run_function_started_details.py +0 -0
  88. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_scriptpad_search_replace_completed_details.py +0 -0
  89. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_scriptpad_search_replace_started_details.py +0 -0
  90. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_scriptpad_write_completed_details.py +0 -0
  91. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_sort_field.py +0 -0
  92. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_status.py +0 -0
  93. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_terminal_payload.py +0 -0
  94. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_transition_details.py +0 -0
  95. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_update_execution_status_request.py +0 -0
  96. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_update_type.py +0 -0
  97. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_updateable_status.py +0 -0
  98. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_user_messages_add_text_body.py +0 -0
  99. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_util_get_datetime_completed_details.py +0 -0
  100. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_util_get_datetime_started_details.py +0 -0
  101. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_execution_workflow_update.py +0 -0
  102. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_files_file.py +0 -0
  103. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_files_temp_file.py +0 -0
  104. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_files_temp_files_response.py +0 -0
  105. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_graph_models_nodes_properties_playwright_script_llm_var.py +0 -0
  106. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_graph_models_nodes_properties_playwright_script_llm_var_type.py +0 -0
  107. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_graph_models_transitions_transition_type.py +0 -0
  108. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_profile_cookie.py +0 -0
  109. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_profile_country_code.py +0 -0
  110. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_profile_credential.py +0 -0
  111. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_profile_operating_system.py +0 -0
  112. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_profile_proxy_type.py +0 -0
  113. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_profile_same_site.py +0 -0
  114. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/agents_profile_sort_field.py +0 -0
  115. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/common_bad_request_error_body.py +0 -0
  116. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/common_error.py +0 -0
  117. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/common_forbidden_error_body.py +0 -0
  118. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/common_internal_server_error_body.py +0 -0
  119. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/common_not_found_error_body.py +0 -0
  120. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/common_os_error.py +0 -0
  121. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/common_sort_direction.py +0 -0
  122. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/common_unauthorized_error_body.py +0 -0
  123. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/executions_list200_response.py +0 -0
  124. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/models/version.py +0 -0
  125. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/py.typed +0 -0
  126. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey/rest.py +0 -0
  127. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey.egg-info/dependency_links.txt +0 -0
  128. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey.egg-info/requires.txt +0 -0
  129. {asteroid_odyssey-1.6.23 → asteroid_odyssey-1.6.38}/src/asteroid_odyssey.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asteroid-odyssey
3
- Version: 1.6.23
3
+ Version: 1.6.38
4
4
  Summary: Python SDK for the Asteroid Agents API
5
5
  Author-email: Asteroid <founders@asteroid.com>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "asteroid-odyssey"
3
- version = "1.6.23"
3
+ version = "1.6.38"
4
4
  authors = [
5
5
  { name = "Asteroid", email = "founders@asteroid.com" },
6
6
  ]
@@ -122,6 +122,7 @@ __all__ = [
122
122
  "AgentsProfileCountryCode",
123
123
  "AgentsProfileCreateAgentProfileRequest",
124
124
  "AgentsProfileCredential",
125
+ "AgentsProfileCredentialUpdate",
125
126
  "AgentsProfileOperatingSystem",
126
127
  "AgentsProfileProxyType",
127
128
  "AgentsProfileSameSite",
@@ -248,6 +249,7 @@ from asteroid_odyssey.models.agents_profile_cookie import AgentsProfileCookie as
248
249
  from asteroid_odyssey.models.agents_profile_country_code import AgentsProfileCountryCode as AgentsProfileCountryCode
249
250
  from asteroid_odyssey.models.agents_profile_create_agent_profile_request import AgentsProfileCreateAgentProfileRequest as AgentsProfileCreateAgentProfileRequest
250
251
  from asteroid_odyssey.models.agents_profile_credential import AgentsProfileCredential as AgentsProfileCredential
252
+ from asteroid_odyssey.models.agents_profile_credential_update import AgentsProfileCredentialUpdate as AgentsProfileCredentialUpdate
251
253
  from asteroid_odyssey.models.agents_profile_operating_system import AgentsProfileOperatingSystem as AgentsProfileOperatingSystem
252
254
  from asteroid_odyssey.models.agents_profile_proxy_type import AgentsProfileProxyType as AgentsProfileProxyType
253
255
  from asteroid_odyssey.models.agents_profile_same_site import AgentsProfileSameSite as AgentsProfileSameSite
@@ -105,6 +105,7 @@ from asteroid_odyssey.models.agents_profile_cookie import AgentsProfileCookie
105
105
  from asteroid_odyssey.models.agents_profile_country_code import AgentsProfileCountryCode
106
106
  from asteroid_odyssey.models.agents_profile_create_agent_profile_request import AgentsProfileCreateAgentProfileRequest
107
107
  from asteroid_odyssey.models.agents_profile_credential import AgentsProfileCredential
108
+ from asteroid_odyssey.models.agents_profile_credential_update import AgentsProfileCredentialUpdate
108
109
  from asteroid_odyssey.models.agents_profile_operating_system import AgentsProfileOperatingSystem
109
110
  from asteroid_odyssey.models.agents_profile_proxy_type import AgentsProfileProxyType
110
111
  from asteroid_odyssey.models.agents_profile_same_site import AgentsProfileSameSite
@@ -43,11 +43,15 @@ class AgentsProfileAgentProfile(BaseModel):
43
43
  operating_system: Optional[AgentsProfileOperatingSystem] = Field(default=None, description="Operating system to emulate", alias="operatingSystem")
44
44
  extra_stealth: StrictBool = Field(description="Whether extra stealth mode is enabled", alias="extraStealth")
45
45
  cache_persistence: StrictBool = Field(description="Whether to persist browser cache between sessions", alias="cachePersistence")
46
+ adblock_active: StrictBool = Field(description="Whether to enable ad blocking", alias="adblockActive")
47
+ popup_blocker_active: StrictBool = Field(description="Whether to enable popup blocking (requires adblock to be active)", alias="popupBlockerActive")
48
+ force_popups_as_tabs_active: StrictBool = Field(description="Whether to force popups to open as tabs", alias="forcePopupsAsTabsActive")
49
+ media_blocker_active: StrictBool = Field(description="Whether to enable media blocking (images, videos, etc.)", alias="mediaBlockerActive")
46
50
  credentials: List[AgentsProfileCredential] = Field(description="List of credentials associated with this profile")
47
51
  cookies: List[AgentsProfileCookie] = Field(description="List of cookies associated with this profile")
48
52
  created_at: datetime = Field(description="When the profile was created", alias="createdAt")
49
53
  updated_at: datetime = Field(description="When the profile was last updated", alias="updatedAt")
50
- __properties: ClassVar[List[str]] = ["id", "name", "description", "organizationId", "proxyCC", "proxyType", "captchaSolverActive", "stickyIP", "operatingSystem", "extraStealth", "cachePersistence", "credentials", "cookies", "createdAt", "updatedAt"]
54
+ __properties: ClassVar[List[str]] = ["id", "name", "description", "organizationId", "proxyCC", "proxyType", "captchaSolverActive", "stickyIP", "operatingSystem", "extraStealth", "cachePersistence", "adblockActive", "popupBlockerActive", "forcePopupsAsTabsActive", "mediaBlockerActive", "credentials", "cookies", "createdAt", "updatedAt"]
51
55
 
52
56
  model_config = ConfigDict(
53
57
  populate_by_name=True,
@@ -125,6 +129,10 @@ class AgentsProfileAgentProfile(BaseModel):
125
129
  "operatingSystem": obj.get("operatingSystem"),
126
130
  "extraStealth": obj.get("extraStealth"),
127
131
  "cachePersistence": obj.get("cachePersistence"),
132
+ "adblockActive": obj.get("adblockActive"),
133
+ "popupBlockerActive": obj.get("popupBlockerActive"),
134
+ "forcePopupsAsTabsActive": obj.get("forcePopupsAsTabsActive"),
135
+ "mediaBlockerActive": obj.get("mediaBlockerActive"),
128
136
  "credentials": [AgentsProfileCredential.from_dict(_item) for _item in obj["credentials"]] if obj.get("credentials") is not None else None,
129
137
  "cookies": [AgentsProfileCookie.from_dict(_item) for _item in obj["cookies"]] if obj.get("cookies") is not None else None,
130
138
  "createdAt": obj.get("createdAt"),
@@ -42,9 +42,13 @@ class AgentsProfileCreateAgentProfileRequest(BaseModel):
42
42
  operating_system: Optional[AgentsProfileOperatingSystem] = Field(default=None, description="Operating system to emulate", alias="operatingSystem")
43
43
  extra_stealth: Optional[StrictBool] = Field(default=False, description="Whether to enable extra stealth mode", alias="extraStealth")
44
44
  cache_persistence: Optional[StrictBool] = Field(default=False, description="Whether to persist browser cache between sessions", alias="cachePersistence")
45
+ adblock_active: Optional[StrictBool] = Field(default=False, description="Whether to enable ad blocking", alias="adblockActive")
46
+ popup_blocker_active: Optional[StrictBool] = Field(default=False, description="Whether to enable popup blocking (requires adblock to be active)", alias="popupBlockerActive")
47
+ force_popups_as_tabs_active: Optional[StrictBool] = Field(default=True, description="Whether to force popups to open as tabs", alias="forcePopupsAsTabsActive")
48
+ media_blocker_active: Optional[StrictBool] = Field(default=False, description="Whether to enable media blocking (images, videos, etc.)", alias="mediaBlockerActive")
45
49
  credentials: Optional[List[AgentsProfileCredential]] = Field(default=None, description="Initial credentials to create with the profile")
46
50
  cookies: Optional[List[AgentsProfileCookie]] = Field(default=None, description="Initial cookies to create with the profile")
47
- __properties: ClassVar[List[str]] = ["name", "description", "organizationId", "proxyCC", "proxyType", "captchaSolverActive", "stickyIP", "operatingSystem", "extraStealth", "cachePersistence", "credentials", "cookies"]
51
+ __properties: ClassVar[List[str]] = ["name", "description", "organizationId", "proxyCC", "proxyType", "captchaSolverActive", "stickyIP", "operatingSystem", "extraStealth", "cachePersistence", "adblockActive", "popupBlockerActive", "forcePopupsAsTabsActive", "mediaBlockerActive", "credentials", "cookies"]
48
52
 
49
53
  model_config = ConfigDict(
50
54
  populate_by_name=True,
@@ -121,6 +125,10 @@ class AgentsProfileCreateAgentProfileRequest(BaseModel):
121
125
  "operatingSystem": obj.get("operatingSystem"),
122
126
  "extraStealth": obj.get("extraStealth") if obj.get("extraStealth") is not None else False,
123
127
  "cachePersistence": obj.get("cachePersistence") if obj.get("cachePersistence") is not None else False,
128
+ "adblockActive": obj.get("adblockActive") if obj.get("adblockActive") is not None else False,
129
+ "popupBlockerActive": obj.get("popupBlockerActive") if obj.get("popupBlockerActive") is not None else False,
130
+ "forcePopupsAsTabsActive": obj.get("forcePopupsAsTabsActive") if obj.get("forcePopupsAsTabsActive") is not None else True,
131
+ "mediaBlockerActive": obj.get("mediaBlockerActive") if obj.get("mediaBlockerActive") is not None else False,
124
132
  "credentials": [AgentsProfileCredential.from_dict(_item) for _item in obj["credentials"]] if obj.get("credentials") is not None else None,
125
133
  "cookies": [AgentsProfileCookie.from_dict(_item) for _item in obj["cookies"]] if obj.get("cookies") is not None else None
126
134
  })
@@ -0,0 +1,90 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Agent Service
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: v1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from pydantic import BaseModel, ConfigDict, Field
21
+ from typing import Any, ClassVar, Dict, List
22
+ from typing_extensions import Annotated
23
+ from typing import Optional, Set
24
+ from typing_extensions import Self
25
+
26
+ class AgentsProfileCredentialUpdate(BaseModel):
27
+ """
28
+ Request to update an existing credential by name
29
+ """ # noqa: E501
30
+ name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="Name of the credential to update (case-insensitive, will be matched as uppercase)")
31
+ data: Annotated[str, Field(min_length=1, strict=True)] = Field(description="New credential value (plaintext - will be encrypted server-side)")
32
+ __properties: ClassVar[List[str]] = ["name", "data"]
33
+
34
+ model_config = ConfigDict(
35
+ populate_by_name=True,
36
+ validate_assignment=True,
37
+ protected_namespaces=(),
38
+ )
39
+
40
+
41
+ def to_str(self) -> str:
42
+ """Returns the string representation of the model using alias"""
43
+ return pprint.pformat(self.model_dump(by_alias=True))
44
+
45
+ def to_json(self) -> str:
46
+ """Returns the JSON representation of the model using alias"""
47
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
48
+ return json.dumps(self.to_dict())
49
+
50
+ @classmethod
51
+ def from_json(cls, json_str: str) -> Optional[Self]:
52
+ """Create an instance of AgentsProfileCredentialUpdate from a JSON string"""
53
+ return cls.from_dict(json.loads(json_str))
54
+
55
+ def to_dict(self) -> Dict[str, Any]:
56
+ """Return the dictionary representation of the model using alias.
57
+
58
+ This has the following differences from calling pydantic's
59
+ `self.model_dump(by_alias=True)`:
60
+
61
+ * `None` is only added to the output dict for nullable fields that
62
+ were set at model initialization. Other fields with value `None`
63
+ are ignored.
64
+ """
65
+ excluded_fields: Set[str] = set([
66
+ ])
67
+
68
+ _dict = self.model_dump(
69
+ by_alias=True,
70
+ exclude=excluded_fields,
71
+ exclude_none=True,
72
+ )
73
+ return _dict
74
+
75
+ @classmethod
76
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
77
+ """Create an instance of AgentsProfileCredentialUpdate from a dict"""
78
+ if obj is None:
79
+ return None
80
+
81
+ if not isinstance(obj, dict):
82
+ return cls.model_validate(obj)
83
+
84
+ _obj = cls.model_validate({
85
+ "name": obj.get("name"),
86
+ "data": obj.get("data")
87
+ })
88
+ return _obj
89
+
90
+
@@ -23,6 +23,7 @@ from typing_extensions import Annotated
23
23
  from asteroid_odyssey.models.agents_profile_cookie import AgentsProfileCookie
24
24
  from asteroid_odyssey.models.agents_profile_country_code import AgentsProfileCountryCode
25
25
  from asteroid_odyssey.models.agents_profile_credential import AgentsProfileCredential
26
+ from asteroid_odyssey.models.agents_profile_credential_update import AgentsProfileCredentialUpdate
26
27
  from asteroid_odyssey.models.agents_profile_operating_system import AgentsProfileOperatingSystem
27
28
  from asteroid_odyssey.models.agents_profile_proxy_type import AgentsProfileProxyType
28
29
  from typing import Optional, Set
@@ -40,11 +41,16 @@ class AgentsProfileUpdateAgentProfileRequest(BaseModel):
40
41
  operating_system: Optional[AgentsProfileOperatingSystem] = Field(default=None, description="Operating system to emulate", alias="operatingSystem")
41
42
  extra_stealth: Optional[StrictBool] = Field(default=None, description="Whether to enable extra stealth mode", alias="extraStealth")
42
43
  cache_persistence: Optional[StrictBool] = Field(default=None, description="Whether to persist browser cache between sessions", alias="cachePersistence")
44
+ adblock_active: Optional[StrictBool] = Field(default=None, description="Whether to enable ad blocking", alias="adblockActive")
45
+ popup_blocker_active: Optional[StrictBool] = Field(default=None, description="Whether to enable popup blocking (requires adblock to be active)", alias="popupBlockerActive")
46
+ force_popups_as_tabs_active: Optional[StrictBool] = Field(default=None, description="Whether to force popups to open as tabs", alias="forcePopupsAsTabsActive")
47
+ media_blocker_active: Optional[StrictBool] = Field(default=None, description="Whether to enable media blocking (images, videos, etc.)", alias="mediaBlockerActive")
43
48
  credentials_to_add: Optional[List[AgentsProfileCredential]] = Field(default=None, description="Credentials to add to the profile", alias="credentialsToAdd")
49
+ credentials_to_update: Optional[List[AgentsProfileCredentialUpdate]] = Field(default=None, description="Credentials to update by name (matched case-insensitively)", alias="credentialsToUpdate")
44
50
  credentials_to_delete: Optional[List[StrictStr]] = Field(default=None, description="IDs of credentials to remove from the profile", alias="credentialsToDelete")
45
51
  cookies_to_add: Optional[List[AgentsProfileCookie]] = Field(default=None, description="Cookies to add to the profile", alias="cookiesToAdd")
46
52
  cookies_to_delete: Optional[List[StrictStr]] = Field(default=None, description="IDs of cookies to remove from the profile", alias="cookiesToDelete")
47
- __properties: ClassVar[List[str]] = ["name", "description", "proxyCC", "proxyType", "captchaSolverActive", "operatingSystem", "extraStealth", "cachePersistence", "credentialsToAdd", "credentialsToDelete", "cookiesToAdd", "cookiesToDelete"]
53
+ __properties: ClassVar[List[str]] = ["name", "description", "proxyCC", "proxyType", "captchaSolverActive", "operatingSystem", "extraStealth", "cachePersistence", "adblockActive", "popupBlockerActive", "forcePopupsAsTabsActive", "mediaBlockerActive", "credentialsToAdd", "credentialsToUpdate", "credentialsToDelete", "cookiesToAdd", "cookiesToDelete"]
48
54
 
49
55
  model_config = ConfigDict(
50
56
  populate_by_name=True,
@@ -92,6 +98,13 @@ class AgentsProfileUpdateAgentProfileRequest(BaseModel):
92
98
  if _item_credentials_to_add:
93
99
  _items.append(_item_credentials_to_add.to_dict())
94
100
  _dict['credentialsToAdd'] = _items
101
+ # override the default output from pydantic by calling `to_dict()` of each item in credentials_to_update (list)
102
+ _items = []
103
+ if self.credentials_to_update:
104
+ for _item_credentials_to_update in self.credentials_to_update:
105
+ if _item_credentials_to_update:
106
+ _items.append(_item_credentials_to_update.to_dict())
107
+ _dict['credentialsToUpdate'] = _items
95
108
  # override the default output from pydantic by calling `to_dict()` of each item in cookies_to_add (list)
96
109
  _items = []
97
110
  if self.cookies_to_add:
@@ -119,7 +132,12 @@ class AgentsProfileUpdateAgentProfileRequest(BaseModel):
119
132
  "operatingSystem": obj.get("operatingSystem"),
120
133
  "extraStealth": obj.get("extraStealth"),
121
134
  "cachePersistence": obj.get("cachePersistence"),
135
+ "adblockActive": obj.get("adblockActive"),
136
+ "popupBlockerActive": obj.get("popupBlockerActive"),
137
+ "forcePopupsAsTabsActive": obj.get("forcePopupsAsTabsActive"),
138
+ "mediaBlockerActive": obj.get("mediaBlockerActive"),
122
139
  "credentialsToAdd": [AgentsProfileCredential.from_dict(_item) for _item in obj["credentialsToAdd"]] if obj.get("credentialsToAdd") is not None else None,
140
+ "credentialsToUpdate": [AgentsProfileCredentialUpdate.from_dict(_item) for _item in obj["credentialsToUpdate"]] if obj.get("credentialsToUpdate") is not None else None,
123
141
  "credentialsToDelete": obj.get("credentialsToDelete"),
124
142
  "cookiesToAdd": [AgentsProfileCookie.from_dict(_item) for _item in obj["cookiesToAdd"]] if obj.get("cookiesToAdd") is not None else None,
125
143
  "cookiesToDelete": obj.get("cookiesToDelete")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asteroid-odyssey
3
- Version: 1.6.23
3
+ Version: 1.6.38
4
4
  Summary: Python SDK for the Asteroid Agents API
5
5
  Author-email: Asteroid <founders@asteroid.com>
6
6
  License-Expression: MIT
@@ -109,6 +109,7 @@ src/asteroid_odyssey/models/agents_profile_cookie.py
109
109
  src/asteroid_odyssey/models/agents_profile_country_code.py
110
110
  src/asteroid_odyssey/models/agents_profile_create_agent_profile_request.py
111
111
  src/asteroid_odyssey/models/agents_profile_credential.py
112
+ src/asteroid_odyssey/models/agents_profile_credential_update.py
112
113
  src/asteroid_odyssey/models/agents_profile_operating_system.py
113
114
  src/asteroid_odyssey/models/agents_profile_proxy_type.py
114
115
  src/asteroid_odyssey/models/agents_profile_same_site.py