asteroid-odyssey 1.3.4__tar.gz → 1.3.6__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 (102) hide show
  1. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/PKG-INFO +1 -1
  2. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/pyproject.toml +1 -1
  3. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v1_gen/__init__.py +54 -0
  4. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/api_client.py +0 -4
  5. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/configuration.py +2 -9
  6. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/rest.py +0 -1
  7. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v2_gen/__init__.py +81 -0
  8. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/api/default_api.py +348 -0
  9. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/api_client.py +0 -4
  10. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/configuration.py +2 -9
  11. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/__init__.py +11 -0
  12. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_graph_updated.py +100 -0
  13. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v2_gen/models/agent_list200_response.py +101 -0
  14. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v2_gen/models/agents_agent_base.py +96 -0
  15. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v2_gen/models/agents_agent_sort_field.py +37 -0
  16. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity_graph_updated_payload.py +95 -0
  17. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity_payload_union.py +22 -8
  18. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_graph_update.py +100 -0
  19. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_node_details.py +91 -0
  20. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_transition_details.py +89 -0
  21. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_update_type.py +38 -0
  22. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v2_gen/models/common_error.py +89 -0
  23. asteroid_odyssey-1.3.6/src/asteroid_odyssey/agents_v2_gen/models/common_sort_direction.py +37 -0
  24. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/rest.py +0 -1
  25. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/client.py +41 -0
  26. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey.egg-info/PKG-INFO +1 -1
  27. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey.egg-info/SOURCES.txt +11 -0
  28. asteroid_odyssey-1.3.4/src/asteroid_odyssey/agents_v1_gen/__init__.py +0 -89
  29. asteroid_odyssey-1.3.4/src/asteroid_odyssey/agents_v2_gen/__init__.py +0 -121
  30. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/README.md +0 -0
  31. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/setup.cfg +0 -0
  32. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/__init__.py +0 -0
  33. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/api/__init__.py +0 -0
  34. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/api/agent_profile_api.py +0 -0
  35. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/api/api_api.py +0 -0
  36. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/api/execution_api.py +0 -0
  37. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/api_response.py +0 -0
  38. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/exceptions.py +0 -0
  39. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/__init__.py +0 -0
  40. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/agent_profile.py +0 -0
  41. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/browser_session_recording_response.py +0 -0
  42. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/cookie.py +0 -0
  43. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/country_code.py +0 -0
  44. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/create_agent_profile_request.py +0 -0
  45. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/credential.py +0 -0
  46. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/delete_agent_profile200_response.py +0 -0
  47. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/error_response.py +0 -0
  48. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/execution_response.py +0 -0
  49. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/execution_result.py +0 -0
  50. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/execution_result_response.py +0 -0
  51. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/execution_status_response.py +0 -0
  52. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/health_check200_response.py +0 -0
  53. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/health_check500_response.py +0 -0
  54. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/proxy_type.py +0 -0
  55. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/status.py +0 -0
  56. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/structured_agent_execution_request.py +0 -0
  57. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/update_agent_profile_request.py +0 -0
  58. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/models/upload_execution_files200_response.py +0 -0
  59. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v1_gen/py.typed +0 -0
  60. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/api/__init__.py +0 -0
  61. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/api_response.py +0 -0
  62. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/exceptions.py +0 -0
  63. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_action_completed.py +0 -0
  64. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_action_failed.py +0 -0
  65. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_action_started.py +0 -0
  66. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_file_added.py +0 -0
  67. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_generic.py +0 -0
  68. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_status_changed.py +0 -0
  69. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_step_completed.py +0 -0
  70. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_step_started.py +0 -0
  71. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_terminal.py +0 -0
  72. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_transitioned_node.py +0 -0
  73. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_user_message_received.py +0 -0
  74. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity.py +0 -0
  75. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity_action_completed_payload.py +0 -0
  76. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity_action_failed_payload.py +0 -0
  77. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity_action_started_payload.py +0 -0
  78. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity_file_added_payload.py +0 -0
  79. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity_generic_payload.py +0 -0
  80. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity_status_changed_payload.py +0 -0
  81. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity_step_completed_payload.py +0 -0
  82. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity_step_started_payload.py +0 -0
  83. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity_transitioned_node_payload.py +0 -0
  84. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_activity_user_message_received_payload.py +0 -0
  85. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_awaiting_confirmation_payload.py +0 -0
  86. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_cancel_reason.py +0 -0
  87. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_cancelled_payload.py +0 -0
  88. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_completed_payload.py +0 -0
  89. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_failed_payload.py +0 -0
  90. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_paused_payload.py +0 -0
  91. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_status.py +0 -0
  92. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_terminal_payload.py +0 -0
  93. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_execution_user_messages_add_text_body.py +0 -0
  94. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/agents_files_file.py +0 -0
  95. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/common_bad_request_error_body.py +0 -0
  96. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/common_forbidden_error_body.py +0 -0
  97. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/common_not_found_error_body.py +0 -0
  98. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/models/version.py +0 -0
  99. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey/agents_v2_gen/py.typed +0 -0
  100. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey.egg-info/dependency_links.txt +0 -0
  101. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/src/asteroid_odyssey.egg-info/requires.txt +0 -0
  102. {asteroid_odyssey-1.3.4 → asteroid_odyssey-1.3.6}/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.3.4
3
+ Version: 1.3.6
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "asteroid-odyssey"
3
- version = "1.3.4"
3
+ version = "1.3.6"
4
4
  authors = [
5
5
  { name = "David Mlcoch", email = "founders@asteroid.com" },
6
6
  ]
@@ -0,0 +1,54 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ Asteroid Agents API
7
+
8
+ Version 1 of the Asteroid Agents API
9
+
10
+ The version of the OpenAPI document: v1.0.0
11
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
12
+
13
+ Do not edit the class manually.
14
+ """ # noqa: E501
15
+
16
+
17
+ __version__ = "1.0.0"
18
+
19
+ # import apis into sdk package
20
+ from asteroid_odyssey.agents_v1_gen.api.api_api import APIApi
21
+ from asteroid_odyssey.agents_v1_gen.api.agent_profile_api import AgentProfileApi
22
+ from asteroid_odyssey.agents_v1_gen.api.execution_api import ExecutionApi
23
+
24
+ # import ApiClient
25
+ from asteroid_odyssey.agents_v1_gen.api_response import ApiResponse
26
+ from asteroid_odyssey.agents_v1_gen.api_client import ApiClient
27
+ from asteroid_odyssey.agents_v1_gen.configuration import Configuration
28
+ from asteroid_odyssey.agents_v1_gen.exceptions import OpenApiException
29
+ from asteroid_odyssey.agents_v1_gen.exceptions import ApiTypeError
30
+ from asteroid_odyssey.agents_v1_gen.exceptions import ApiValueError
31
+ from asteroid_odyssey.agents_v1_gen.exceptions import ApiKeyError
32
+ from asteroid_odyssey.agents_v1_gen.exceptions import ApiAttributeError
33
+ from asteroid_odyssey.agents_v1_gen.exceptions import ApiException
34
+
35
+ # import models into sdk package
36
+ from asteroid_odyssey.agents_v1_gen.models.agent_profile import AgentProfile
37
+ from asteroid_odyssey.agents_v1_gen.models.browser_session_recording_response import BrowserSessionRecordingResponse
38
+ from asteroid_odyssey.agents_v1_gen.models.cookie import Cookie
39
+ from asteroid_odyssey.agents_v1_gen.models.country_code import CountryCode
40
+ from asteroid_odyssey.agents_v1_gen.models.create_agent_profile_request import CreateAgentProfileRequest
41
+ from asteroid_odyssey.agents_v1_gen.models.credential import Credential
42
+ from asteroid_odyssey.agents_v1_gen.models.delete_agent_profile200_response import DeleteAgentProfile200Response
43
+ from asteroid_odyssey.agents_v1_gen.models.error_response import ErrorResponse
44
+ from asteroid_odyssey.agents_v1_gen.models.execution_response import ExecutionResponse
45
+ from asteroid_odyssey.agents_v1_gen.models.execution_result import ExecutionResult
46
+ from asteroid_odyssey.agents_v1_gen.models.execution_result_response import ExecutionResultResponse
47
+ from asteroid_odyssey.agents_v1_gen.models.execution_status_response import ExecutionStatusResponse
48
+ from asteroid_odyssey.agents_v1_gen.models.health_check200_response import HealthCheck200Response
49
+ from asteroid_odyssey.agents_v1_gen.models.health_check500_response import HealthCheck500Response
50
+ from asteroid_odyssey.agents_v1_gen.models.proxy_type import ProxyType
51
+ from asteroid_odyssey.agents_v1_gen.models.status import Status
52
+ from asteroid_odyssey.agents_v1_gen.models.structured_agent_execution_request import StructuredAgentExecutionRequest
53
+ from asteroid_odyssey.agents_v1_gen.models.update_agent_profile_request import UpdateAgentProfileRequest
54
+ from asteroid_odyssey.agents_v1_gen.models.upload_execution_files200_response import UploadExecutionFiles200Response
@@ -382,10 +382,6 @@ class ApiClient:
382
382
  else:
383
383
  obj_dict = obj.__dict__
384
384
 
385
- if isinstance(obj_dict, list):
386
- # here we handle instances that can either be a list or something else, and only became a real list by calling to_dict()
387
- return self.sanitize_for_serialization(obj_dict)
388
-
389
385
  return {
390
386
  key: self.sanitize_for_serialization(val)
391
387
  for key, val in obj_dict.items()
@@ -18,7 +18,7 @@ import logging
18
18
  from logging import FileHandler
19
19
  import multiprocessing
20
20
  import sys
21
- from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict, Union
21
+ from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict
22
22
  from typing_extensions import NotRequired, Self
23
23
 
24
24
  import urllib3
@@ -161,8 +161,6 @@ class Configuration:
161
161
  :param ssl_ca_cert: str - the path to a file of concatenated CA certificates
162
162
  in PEM format.
163
163
  :param retries: Number of retries for API requests.
164
- :param ca_cert_data: verify the peer using concatenated CA certificate data
165
- in PEM (str) or DER (bytes) format.
166
164
 
167
165
  :Example:
168
166
 
@@ -196,14 +194,13 @@ conf = asteroid_odyssey.agents_v1_gen.Configuration(
196
194
  username: Optional[str]=None,
197
195
  password: Optional[str]=None,
198
196
  access_token: Optional[str]=None,
199
- server_index: Optional[int]=None,
197
+ server_index: Optional[int]=None,
200
198
  server_variables: Optional[ServerVariablesT]=None,
201
199
  server_operation_index: Optional[Dict[int, int]]=None,
202
200
  server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None,
203
201
  ignore_operation_servers: bool=False,
204
202
  ssl_ca_cert: Optional[str]=None,
205
203
  retries: Optional[int] = None,
206
- ca_cert_data: Optional[Union[str, bytes]] = None,
207
204
  *,
208
205
  debug: Optional[bool] = None,
209
206
  ) -> None:
@@ -281,10 +278,6 @@ conf = asteroid_odyssey.agents_v1_gen.Configuration(
281
278
  self.ssl_ca_cert = ssl_ca_cert
282
279
  """Set this to customize the certificate file to verify the peer.
283
280
  """
284
- self.ca_cert_data = ca_cert_data
285
- """Set this to verify the peer using PEM (str) or DER (bytes)
286
- certificate data.
287
- """
288
281
  self.cert_file = None
289
282
  """client certificate file
290
283
  """
@@ -76,7 +76,6 @@ class RESTClientObject:
76
76
  "ca_certs": configuration.ssl_ca_cert,
77
77
  "cert_file": configuration.cert_file,
78
78
  "key_file": configuration.key_file,
79
- "ca_cert_data": configuration.ca_cert_data,
80
79
  }
81
80
  if configuration.assert_hostname is not None:
82
81
  pool_args['assert_hostname'] = (
@@ -0,0 +1,81 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ Agent Service
7
+
8
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
9
+
10
+ The version of the OpenAPI document: v1
11
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
12
+
13
+ Do not edit the class manually.
14
+ """ # noqa: E501
15
+
16
+
17
+ __version__ = "1.0.0"
18
+
19
+ # import apis into sdk package
20
+ from asteroid_odyssey.agents_v2_gen.api.default_api import DefaultApi
21
+
22
+ # import ApiClient
23
+ from asteroid_odyssey.agents_v2_gen.api_response import ApiResponse
24
+ from asteroid_odyssey.agents_v2_gen.api_client import ApiClient
25
+ from asteroid_odyssey.agents_v2_gen.configuration import Configuration
26
+ from asteroid_odyssey.agents_v2_gen.exceptions import OpenApiException
27
+ from asteroid_odyssey.agents_v2_gen.exceptions import ApiTypeError
28
+ from asteroid_odyssey.agents_v2_gen.exceptions import ApiValueError
29
+ from asteroid_odyssey.agents_v2_gen.exceptions import ApiKeyError
30
+ from asteroid_odyssey.agents_v2_gen.exceptions import ApiAttributeError
31
+ from asteroid_odyssey.agents_v2_gen.exceptions import ApiException
32
+
33
+ # import models into sdk package
34
+ from asteroid_odyssey.agents_v2_gen.models.activity_payload_union_action_completed import ActivityPayloadUnionActionCompleted
35
+ from asteroid_odyssey.agents_v2_gen.models.activity_payload_union_action_failed import ActivityPayloadUnionActionFailed
36
+ from asteroid_odyssey.agents_v2_gen.models.activity_payload_union_action_started import ActivityPayloadUnionActionStarted
37
+ from asteroid_odyssey.agents_v2_gen.models.activity_payload_union_file_added import ActivityPayloadUnionFileAdded
38
+ from asteroid_odyssey.agents_v2_gen.models.activity_payload_union_generic import ActivityPayloadUnionGeneric
39
+ from asteroid_odyssey.agents_v2_gen.models.activity_payload_union_graph_updated import ActivityPayloadUnionGraphUpdated
40
+ from asteroid_odyssey.agents_v2_gen.models.activity_payload_union_status_changed import ActivityPayloadUnionStatusChanged
41
+ from asteroid_odyssey.agents_v2_gen.models.activity_payload_union_step_completed import ActivityPayloadUnionStepCompleted
42
+ from asteroid_odyssey.agents_v2_gen.models.activity_payload_union_step_started import ActivityPayloadUnionStepStarted
43
+ from asteroid_odyssey.agents_v2_gen.models.activity_payload_union_terminal import ActivityPayloadUnionTerminal
44
+ from asteroid_odyssey.agents_v2_gen.models.activity_payload_union_transitioned_node import ActivityPayloadUnionTransitionedNode
45
+ from asteroid_odyssey.agents_v2_gen.models.activity_payload_union_user_message_received import ActivityPayloadUnionUserMessageReceived
46
+ from asteroid_odyssey.agents_v2_gen.models.agent_list200_response import AgentList200Response
47
+ from asteroid_odyssey.agents_v2_gen.models.agents_agent_base import AgentsAgentBase
48
+ from asteroid_odyssey.agents_v2_gen.models.agents_agent_sort_field import AgentsAgentSortField
49
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity import AgentsExecutionActivity
50
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity_action_completed_payload import AgentsExecutionActivityActionCompletedPayload
51
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity_action_failed_payload import AgentsExecutionActivityActionFailedPayload
52
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity_action_started_payload import AgentsExecutionActivityActionStartedPayload
53
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity_file_added_payload import AgentsExecutionActivityFileAddedPayload
54
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity_generic_payload import AgentsExecutionActivityGenericPayload
55
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity_graph_updated_payload import AgentsExecutionActivityGraphUpdatedPayload
56
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity_payload_union import AgentsExecutionActivityPayloadUnion
57
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity_status_changed_payload import AgentsExecutionActivityStatusChangedPayload
58
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity_step_completed_payload import AgentsExecutionActivityStepCompletedPayload
59
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity_step_started_payload import AgentsExecutionActivityStepStartedPayload
60
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity_transitioned_node_payload import AgentsExecutionActivityTransitionedNodePayload
61
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity_user_message_received_payload import AgentsExecutionActivityUserMessageReceivedPayload
62
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_awaiting_confirmation_payload import AgentsExecutionAwaitingConfirmationPayload
63
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_cancel_reason import AgentsExecutionCancelReason
64
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_cancelled_payload import AgentsExecutionCancelledPayload
65
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_completed_payload import AgentsExecutionCompletedPayload
66
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_failed_payload import AgentsExecutionFailedPayload
67
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_graph_update import AgentsExecutionGraphUpdate
68
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_node_details import AgentsExecutionNodeDetails
69
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_paused_payload import AgentsExecutionPausedPayload
70
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_status import AgentsExecutionStatus
71
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_terminal_payload import AgentsExecutionTerminalPayload
72
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_transition_details import AgentsExecutionTransitionDetails
73
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_update_type import AgentsExecutionUpdateType
74
+ from asteroid_odyssey.agents_v2_gen.models.agents_execution_user_messages_add_text_body import AgentsExecutionUserMessagesAddTextBody
75
+ from asteroid_odyssey.agents_v2_gen.models.agents_files_file import AgentsFilesFile
76
+ from asteroid_odyssey.agents_v2_gen.models.common_bad_request_error_body import CommonBadRequestErrorBody
77
+ from asteroid_odyssey.agents_v2_gen.models.common_error import CommonError
78
+ from asteroid_odyssey.agents_v2_gen.models.common_forbidden_error_body import CommonForbiddenErrorBody
79
+ from asteroid_odyssey.agents_v2_gen.models.common_not_found_error_body import CommonNotFoundErrorBody
80
+ from asteroid_odyssey.agents_v2_gen.models.common_sort_direction import CommonSortDirection
81
+ from asteroid_odyssey.agents_v2_gen.models.version import Version
@@ -19,9 +19,12 @@ from typing_extensions import Annotated
19
19
  from pydantic import Field, StrictBytes, StrictInt, StrictStr, field_validator
20
20
  from typing import List, Optional, Tuple, Union
21
21
  from typing_extensions import Annotated
22
+ from asteroid_odyssey.agents_v2_gen.models.agent_list200_response import AgentList200Response
23
+ from asteroid_odyssey.agents_v2_gen.models.agents_agent_sort_field import AgentsAgentSortField
22
24
  from asteroid_odyssey.agents_v2_gen.models.agents_execution_activity import AgentsExecutionActivity
23
25
  from asteroid_odyssey.agents_v2_gen.models.agents_execution_user_messages_add_text_body import AgentsExecutionUserMessagesAddTextBody
24
26
  from asteroid_odyssey.agents_v2_gen.models.agents_files_file import AgentsFilesFile
27
+ from asteroid_odyssey.agents_v2_gen.models.common_sort_direction import CommonSortDirection
25
28
 
26
29
  from asteroid_odyssey.agents_v2_gen.api_client import ApiClient, RequestSerialized
27
30
  from asteroid_odyssey.agents_v2_gen.api_response import ApiResponse
@@ -41,6 +44,351 @@ class DefaultApi:
41
44
  self.api_client = api_client
42
45
 
43
46
 
47
+ @validate_call
48
+ def agent_list(
49
+ self,
50
+ page_size: StrictInt,
51
+ page: StrictInt,
52
+ organization_id: Optional[StrictStr] = None,
53
+ search_name: Optional[StrictStr] = None,
54
+ sort_field: Optional[AgentsAgentSortField] = None,
55
+ sort_direction: Optional[CommonSortDirection] = None,
56
+ _request_timeout: Union[
57
+ None,
58
+ Annotated[StrictFloat, Field(gt=0)],
59
+ Tuple[
60
+ Annotated[StrictFloat, Field(gt=0)],
61
+ Annotated[StrictFloat, Field(gt=0)]
62
+ ]
63
+ ] = None,
64
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
65
+ _content_type: Optional[StrictStr] = None,
66
+ _headers: Optional[Dict[StrictStr, Any]] = None,
67
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
68
+ ) -> AgentList200Response:
69
+ """agent_list
70
+
71
+
72
+ :param page_size: (required)
73
+ :type page_size: int
74
+ :param page: (required)
75
+ :type page: int
76
+ :param organization_id:
77
+ :type organization_id: str
78
+ :param search_name:
79
+ :type search_name: str
80
+ :param sort_field:
81
+ :type sort_field: AgentsAgentSortField
82
+ :param sort_direction:
83
+ :type sort_direction: CommonSortDirection
84
+ :param _request_timeout: timeout setting for this request. If one
85
+ number provided, it will be total request
86
+ timeout. It can also be a pair (tuple) of
87
+ (connection, read) timeouts.
88
+ :type _request_timeout: int, tuple(int, int), optional
89
+ :param _request_auth: set to override the auth_settings for an a single
90
+ request; this effectively ignores the
91
+ authentication in the spec for a single request.
92
+ :type _request_auth: dict, optional
93
+ :param _content_type: force content-type for the request.
94
+ :type _content_type: str, Optional
95
+ :param _headers: set to override the headers for a single
96
+ request; this effectively ignores the headers
97
+ in the spec for a single request.
98
+ :type _headers: dict, optional
99
+ :param _host_index: set to override the host_index for a single
100
+ request; this effectively ignores the host_index
101
+ in the spec for a single request.
102
+ :type _host_index: int, optional
103
+ :return: Returns the result object.
104
+ """ # noqa: E501
105
+
106
+ _param = self._agent_list_serialize(
107
+ page_size=page_size,
108
+ page=page,
109
+ organization_id=organization_id,
110
+ search_name=search_name,
111
+ sort_field=sort_field,
112
+ sort_direction=sort_direction,
113
+ _request_auth=_request_auth,
114
+ _content_type=_content_type,
115
+ _headers=_headers,
116
+ _host_index=_host_index
117
+ )
118
+
119
+ _response_types_map: Dict[str, Optional[str]] = {
120
+ '200': "AgentList200Response",
121
+ }
122
+ response_data = self.api_client.call_api(
123
+ *_param,
124
+ _request_timeout=_request_timeout
125
+ )
126
+ response_data.read()
127
+ return self.api_client.response_deserialize(
128
+ response_data=response_data,
129
+ response_types_map=_response_types_map,
130
+ ).data
131
+
132
+
133
+ @validate_call
134
+ def agent_list_with_http_info(
135
+ self,
136
+ page_size: StrictInt,
137
+ page: StrictInt,
138
+ organization_id: Optional[StrictStr] = None,
139
+ search_name: Optional[StrictStr] = None,
140
+ sort_field: Optional[AgentsAgentSortField] = None,
141
+ sort_direction: Optional[CommonSortDirection] = None,
142
+ _request_timeout: Union[
143
+ None,
144
+ Annotated[StrictFloat, Field(gt=0)],
145
+ Tuple[
146
+ Annotated[StrictFloat, Field(gt=0)],
147
+ Annotated[StrictFloat, Field(gt=0)]
148
+ ]
149
+ ] = None,
150
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
151
+ _content_type: Optional[StrictStr] = None,
152
+ _headers: Optional[Dict[StrictStr, Any]] = None,
153
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
154
+ ) -> ApiResponse[AgentList200Response]:
155
+ """agent_list
156
+
157
+
158
+ :param page_size: (required)
159
+ :type page_size: int
160
+ :param page: (required)
161
+ :type page: int
162
+ :param organization_id:
163
+ :type organization_id: str
164
+ :param search_name:
165
+ :type search_name: str
166
+ :param sort_field:
167
+ :type sort_field: AgentsAgentSortField
168
+ :param sort_direction:
169
+ :type sort_direction: CommonSortDirection
170
+ :param _request_timeout: timeout setting for this request. If one
171
+ number provided, it will be total request
172
+ timeout. It can also be a pair (tuple) of
173
+ (connection, read) timeouts.
174
+ :type _request_timeout: int, tuple(int, int), optional
175
+ :param _request_auth: set to override the auth_settings for an a single
176
+ request; this effectively ignores the
177
+ authentication in the spec for a single request.
178
+ :type _request_auth: dict, optional
179
+ :param _content_type: force content-type for the request.
180
+ :type _content_type: str, Optional
181
+ :param _headers: set to override the headers for a single
182
+ request; this effectively ignores the headers
183
+ in the spec for a single request.
184
+ :type _headers: dict, optional
185
+ :param _host_index: set to override the host_index for a single
186
+ request; this effectively ignores the host_index
187
+ in the spec for a single request.
188
+ :type _host_index: int, optional
189
+ :return: Returns the result object.
190
+ """ # noqa: E501
191
+
192
+ _param = self._agent_list_serialize(
193
+ page_size=page_size,
194
+ page=page,
195
+ organization_id=organization_id,
196
+ search_name=search_name,
197
+ sort_field=sort_field,
198
+ sort_direction=sort_direction,
199
+ _request_auth=_request_auth,
200
+ _content_type=_content_type,
201
+ _headers=_headers,
202
+ _host_index=_host_index
203
+ )
204
+
205
+ _response_types_map: Dict[str, Optional[str]] = {
206
+ '200': "AgentList200Response",
207
+ }
208
+ response_data = self.api_client.call_api(
209
+ *_param,
210
+ _request_timeout=_request_timeout
211
+ )
212
+ response_data.read()
213
+ return self.api_client.response_deserialize(
214
+ response_data=response_data,
215
+ response_types_map=_response_types_map,
216
+ )
217
+
218
+
219
+ @validate_call
220
+ def agent_list_without_preload_content(
221
+ self,
222
+ page_size: StrictInt,
223
+ page: StrictInt,
224
+ organization_id: Optional[StrictStr] = None,
225
+ search_name: Optional[StrictStr] = None,
226
+ sort_field: Optional[AgentsAgentSortField] = None,
227
+ sort_direction: Optional[CommonSortDirection] = None,
228
+ _request_timeout: Union[
229
+ None,
230
+ Annotated[StrictFloat, Field(gt=0)],
231
+ Tuple[
232
+ Annotated[StrictFloat, Field(gt=0)],
233
+ Annotated[StrictFloat, Field(gt=0)]
234
+ ]
235
+ ] = None,
236
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
237
+ _content_type: Optional[StrictStr] = None,
238
+ _headers: Optional[Dict[StrictStr, Any]] = None,
239
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
240
+ ) -> RESTResponseType:
241
+ """agent_list
242
+
243
+
244
+ :param page_size: (required)
245
+ :type page_size: int
246
+ :param page: (required)
247
+ :type page: int
248
+ :param organization_id:
249
+ :type organization_id: str
250
+ :param search_name:
251
+ :type search_name: str
252
+ :param sort_field:
253
+ :type sort_field: AgentsAgentSortField
254
+ :param sort_direction:
255
+ :type sort_direction: CommonSortDirection
256
+ :param _request_timeout: timeout setting for this request. If one
257
+ number provided, it will be total request
258
+ timeout. It can also be a pair (tuple) of
259
+ (connection, read) timeouts.
260
+ :type _request_timeout: int, tuple(int, int), optional
261
+ :param _request_auth: set to override the auth_settings for an a single
262
+ request; this effectively ignores the
263
+ authentication in the spec for a single request.
264
+ :type _request_auth: dict, optional
265
+ :param _content_type: force content-type for the request.
266
+ :type _content_type: str, Optional
267
+ :param _headers: set to override the headers for a single
268
+ request; this effectively ignores the headers
269
+ in the spec for a single request.
270
+ :type _headers: dict, optional
271
+ :param _host_index: set to override the host_index for a single
272
+ request; this effectively ignores the host_index
273
+ in the spec for a single request.
274
+ :type _host_index: int, optional
275
+ :return: Returns the result object.
276
+ """ # noqa: E501
277
+
278
+ _param = self._agent_list_serialize(
279
+ page_size=page_size,
280
+ page=page,
281
+ organization_id=organization_id,
282
+ search_name=search_name,
283
+ sort_field=sort_field,
284
+ sort_direction=sort_direction,
285
+ _request_auth=_request_auth,
286
+ _content_type=_content_type,
287
+ _headers=_headers,
288
+ _host_index=_host_index
289
+ )
290
+
291
+ _response_types_map: Dict[str, Optional[str]] = {
292
+ '200': "AgentList200Response",
293
+ }
294
+ response_data = self.api_client.call_api(
295
+ *_param,
296
+ _request_timeout=_request_timeout
297
+ )
298
+ return response_data.response
299
+
300
+
301
+ def _agent_list_serialize(
302
+ self,
303
+ page_size,
304
+ page,
305
+ organization_id,
306
+ search_name,
307
+ sort_field,
308
+ sort_direction,
309
+ _request_auth,
310
+ _content_type,
311
+ _headers,
312
+ _host_index,
313
+ ) -> RequestSerialized:
314
+
315
+ _host = None
316
+
317
+ _collection_formats: Dict[str, str] = {
318
+ }
319
+
320
+ _path_params: Dict[str, str] = {}
321
+ _query_params: List[Tuple[str, str]] = []
322
+ _header_params: Dict[str, Optional[str]] = _headers or {}
323
+ _form_params: List[Tuple[str, str]] = []
324
+ _files: Dict[
325
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
326
+ ] = {}
327
+ _body_params: Optional[bytes] = None
328
+
329
+ # process the path parameters
330
+ # process the query parameters
331
+ if organization_id is not None:
332
+
333
+ _query_params.append(('organizationId', organization_id))
334
+
335
+ if page_size is not None:
336
+
337
+ _query_params.append(('pageSize', page_size))
338
+
339
+ if page is not None:
340
+
341
+ _query_params.append(('page', page))
342
+
343
+ if search_name is not None:
344
+
345
+ _query_params.append(('searchName', search_name))
346
+
347
+ if sort_field is not None:
348
+
349
+ _query_params.append(('sort_field', sort_field.value))
350
+
351
+ if sort_direction is not None:
352
+
353
+ _query_params.append(('sort_direction', sort_direction.value))
354
+
355
+ # process the header parameters
356
+ # process the form parameters
357
+ # process the body parameter
358
+
359
+
360
+ # set the HTTP header `Accept`
361
+ if 'Accept' not in _header_params:
362
+ _header_params['Accept'] = self.api_client.select_header_accept(
363
+ [
364
+ 'application/json'
365
+ ]
366
+ )
367
+
368
+
369
+ # authentication setting
370
+ _auth_settings: List[str] = [
371
+ 'ApiKeyAuth'
372
+ ]
373
+
374
+ return self.api_client.param_serialize(
375
+ method='GET',
376
+ resource_path='/agents',
377
+ path_params=_path_params,
378
+ query_params=_query_params,
379
+ header_params=_header_params,
380
+ body=_body_params,
381
+ post_params=_form_params,
382
+ files=_files,
383
+ auth_settings=_auth_settings,
384
+ collection_formats=_collection_formats,
385
+ _host=_host,
386
+ _request_auth=_request_auth
387
+ )
388
+
389
+
390
+
391
+
44
392
  @validate_call
45
393
  def execution_activities_get(
46
394
  self,
@@ -382,10 +382,6 @@ class ApiClient:
382
382
  else:
383
383
  obj_dict = obj.__dict__
384
384
 
385
- if isinstance(obj_dict, list):
386
- # here we handle instances that can either be a list or something else, and only became a real list by calling to_dict()
387
- return self.sanitize_for_serialization(obj_dict)
388
-
389
385
  return {
390
386
  key: self.sanitize_for_serialization(val)
391
387
  for key, val in obj_dict.items()
@@ -18,7 +18,7 @@ import logging
18
18
  from logging import FileHandler
19
19
  import multiprocessing
20
20
  import sys
21
- from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict, Union
21
+ from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict
22
22
  from typing_extensions import NotRequired, Self
23
23
 
24
24
  import urllib3
@@ -161,8 +161,6 @@ class Configuration:
161
161
  :param ssl_ca_cert: str - the path to a file of concatenated CA certificates
162
162
  in PEM format.
163
163
  :param retries: Number of retries for API requests.
164
- :param ca_cert_data: verify the peer using concatenated CA certificate data
165
- in PEM (str) or DER (bytes) format.
166
164
 
167
165
  :Example:
168
166
 
@@ -196,14 +194,13 @@ conf = asteroid_odyssey.agents_v2_gen.Configuration(
196
194
  username: Optional[str]=None,
197
195
  password: Optional[str]=None,
198
196
  access_token: Optional[str]=None,
199
- server_index: Optional[int]=None,
197
+ server_index: Optional[int]=None,
200
198
  server_variables: Optional[ServerVariablesT]=None,
201
199
  server_operation_index: Optional[Dict[int, int]]=None,
202
200
  server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None,
203
201
  ignore_operation_servers: bool=False,
204
202
  ssl_ca_cert: Optional[str]=None,
205
203
  retries: Optional[int] = None,
206
- ca_cert_data: Optional[Union[str, bytes]] = None,
207
204
  *,
208
205
  debug: Optional[bool] = None,
209
206
  ) -> None:
@@ -281,10 +278,6 @@ conf = asteroid_odyssey.agents_v2_gen.Configuration(
281
278
  self.ssl_ca_cert = ssl_ca_cert
282
279
  """Set this to customize the certificate file to verify the peer.
283
280
  """
284
- self.ca_cert_data = ca_cert_data
285
- """Set this to verify the peer using PEM (str) or DER (bytes)
286
- certificate data.
287
- """
288
281
  self.cert_file = None
289
282
  """client certificate file
290
283
  """