cogbox_api_client 0.190.1__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.
Files changed (215) hide show
  1. cogbox_api_client/__init__.py +684 -0
  2. cogbox_api_client/api/__init__.py +64 -0
  3. cogbox_api_client/api/admin_api.py +5998 -0
  4. cogbox_api_client/api/api_keys_api.py +1672 -0
  5. cogbox_api_client/api/audit_api.py +402 -0
  6. cogbox_api_client/api/config_api.py +278 -0
  7. cogbox_api_client/api/docker_registry_api.py +1707 -0
  8. cogbox_api_client/api/health_api.py +517 -0
  9. cogbox_api_client/api/jobs_api.py +1185 -0
  10. cogbox_api_client/api/object_storage_api.py +298 -0
  11. cogbox_api_client/api/organizations_api.py +10857 -0
  12. cogbox_api_client/api/preview_api.py +1104 -0
  13. cogbox_api_client/api/regions_api.py +279 -0
  14. cogbox_api_client/api/runners_api.py +2987 -0
  15. cogbox_api_client/api/sandbox_api.py +12813 -0
  16. cogbox_api_client/api/snapshots_api.py +2331 -0
  17. cogbox_api_client/api/toolbox_api.py +20758 -0
  18. cogbox_api_client/api/users_api.py +1304 -0
  19. cogbox_api_client/api/volumes_api.py +1421 -0
  20. cogbox_api_client/api/webhooks_api.py +1135 -0
  21. cogbox_api_client/api_client.py +810 -0
  22. cogbox_api_client/api_response.py +21 -0
  23. cogbox_api_client/configuration.py +607 -0
  24. cogbox_api_client/exceptions.py +219 -0
  25. cogbox_api_client/models/__init__.py +405 -0
  26. cogbox_api_client/models/account_provider.py +105 -0
  27. cogbox_api_client/models/admin_create_runner.py +131 -0
  28. cogbox_api_client/models/admin_get_webhook_status200_response.py +103 -0
  29. cogbox_api_client/models/announcement.py +105 -0
  30. cogbox_api_client/models/api_key_list.py +126 -0
  31. cogbox_api_client/models/api_key_response.py +117 -0
  32. cogbox_api_client/models/audit_log.py +134 -0
  33. cogbox_api_client/models/build_info.py +112 -0
  34. cogbox_api_client/models/cogbox_configuration.py +162 -0
  35. cogbox_api_client/models/command.py +107 -0
  36. cogbox_api_client/models/completion_context.py +105 -0
  37. cogbox_api_client/models/completion_item.py +115 -0
  38. cogbox_api_client/models/completion_list.py +113 -0
  39. cogbox_api_client/models/compressed_screenshot_response.py +107 -0
  40. cogbox_api_client/models/computer_use_start_response.py +105 -0
  41. cogbox_api_client/models/computer_use_status_response.py +103 -0
  42. cogbox_api_client/models/computer_use_stop_response.py +105 -0
  43. cogbox_api_client/models/create_api_key.py +113 -0
  44. cogbox_api_client/models/create_build_info.py +105 -0
  45. cogbox_api_client/models/create_docker_registry.py +111 -0
  46. cogbox_api_client/models/create_linked_account.py +105 -0
  47. cogbox_api_client/models/create_organization.py +105 -0
  48. cogbox_api_client/models/create_organization_invitation.py +110 -0
  49. cogbox_api_client/models/create_organization_quota.py +119 -0
  50. cogbox_api_client/models/create_organization_region_quota.py +169 -0
  51. cogbox_api_client/models/create_organization_role.py +107 -0
  52. cogbox_api_client/models/create_region.py +124 -0
  53. cogbox_api_client/models/create_region_response.py +131 -0
  54. cogbox_api_client/models/create_runner.py +107 -0
  55. cogbox_api_client/models/create_runner_response.py +105 -0
  56. cogbox_api_client/models/create_sandbox.py +156 -0
  57. cogbox_api_client/models/create_sandbox_snapshot.py +105 -0
  58. cogbox_api_client/models/create_session_request.py +103 -0
  59. cogbox_api_client/models/create_snapshot.py +129 -0
  60. cogbox_api_client/models/create_user.py +119 -0
  61. cogbox_api_client/models/create_volume.py +103 -0
  62. cogbox_api_client/models/display_info_response.py +103 -0
  63. cogbox_api_client/models/docker_registry.py +118 -0
  64. cogbox_api_client/models/download_files.py +103 -0
  65. cogbox_api_client/models/execute_request.py +107 -0
  66. cogbox_api_client/models/execute_response.py +105 -0
  67. cogbox_api_client/models/file_info.py +117 -0
  68. cogbox_api_client/models/file_status.py +109 -0
  69. cogbox_api_client/models/fork_sandbox.py +103 -0
  70. cogbox_api_client/models/git_add_request.py +105 -0
  71. cogbox_api_client/models/git_branch_request.py +105 -0
  72. cogbox_api_client/models/git_checkout_request.py +105 -0
  73. cogbox_api_client/models/git_clone_request.py +113 -0
  74. cogbox_api_client/models/git_commit_info.py +111 -0
  75. cogbox_api_client/models/git_commit_request.py +111 -0
  76. cogbox_api_client/models/git_commit_response.py +103 -0
  77. cogbox_api_client/models/git_delete_branch_request.py +105 -0
  78. cogbox_api_client/models/git_repo_request.py +107 -0
  79. cogbox_api_client/models/git_status.py +119 -0
  80. cogbox_api_client/models/gpu_type.py +43 -0
  81. cogbox_api_client/models/health_controller_check200_response.py +156 -0
  82. cogbox_api_client/models/health_controller_check200_response_info_value.py +103 -0
  83. cogbox_api_client/models/health_controller_check503_response.py +156 -0
  84. cogbox_api_client/models/job.py +123 -0
  85. cogbox_api_client/models/job_status.py +45 -0
  86. cogbox_api_client/models/job_type.py +56 -0
  87. cogbox_api_client/models/keyboard_hotkey_request.py +103 -0
  88. cogbox_api_client/models/keyboard_press_request.py +105 -0
  89. cogbox_api_client/models/keyboard_type_request.py +105 -0
  90. cogbox_api_client/models/list_branch_response.py +103 -0
  91. cogbox_api_client/models/list_sandboxes_response.py +118 -0
  92. cogbox_api_client/models/log_entry.py +119 -0
  93. cogbox_api_client/models/lsp_completion_params.py +119 -0
  94. cogbox_api_client/models/lsp_document_request.py +107 -0
  95. cogbox_api_client/models/lsp_location.py +109 -0
  96. cogbox_api_client/models/lsp_server_request.py +105 -0
  97. cogbox_api_client/models/lsp_symbol.py +111 -0
  98. cogbox_api_client/models/match.py +107 -0
  99. cogbox_api_client/models/metric_data_point.py +105 -0
  100. cogbox_api_client/models/metric_series.py +113 -0
  101. cogbox_api_client/models/metrics_response.py +111 -0
  102. cogbox_api_client/models/mouse_click_request.py +109 -0
  103. cogbox_api_client/models/mouse_click_response.py +105 -0
  104. cogbox_api_client/models/mouse_drag_request.py +111 -0
  105. cogbox_api_client/models/mouse_drag_response.py +105 -0
  106. cogbox_api_client/models/mouse_move_request.py +105 -0
  107. cogbox_api_client/models/mouse_move_response.py +105 -0
  108. cogbox_api_client/models/mouse_position.py +105 -0
  109. cogbox_api_client/models/mouse_scroll_request.py +109 -0
  110. cogbox_api_client/models/mouse_scroll_response.py +103 -0
  111. cogbox_api_client/models/oidc_config.py +107 -0
  112. cogbox_api_client/models/organization.py +191 -0
  113. cogbox_api_client/models/organization_invitation.py +132 -0
  114. cogbox_api_client/models/organization_role.py +116 -0
  115. cogbox_api_client/models/organization_sandbox_default_limited_network_egress.py +103 -0
  116. cogbox_api_client/models/organization_suspension.py +109 -0
  117. cogbox_api_client/models/organization_usage_overview.py +119 -0
  118. cogbox_api_client/models/organization_user.py +126 -0
  119. cogbox_api_client/models/otel_config.py +110 -0
  120. cogbox_api_client/models/paginated_audit_logs.py +119 -0
  121. cogbox_api_client/models/paginated_jobs.py +117 -0
  122. cogbox_api_client/models/paginated_logs.py +117 -0
  123. cogbox_api_client/models/paginated_sandboxes_deprecated.py +117 -0
  124. cogbox_api_client/models/paginated_snapshots.py +117 -0
  125. cogbox_api_client/models/paginated_traces.py +117 -0
  126. cogbox_api_client/models/poll_jobs_response.py +111 -0
  127. cogbox_api_client/models/port_preview_url.py +107 -0
  128. cogbox_api_client/models/position.py +105 -0
  129. cogbox_api_client/models/posthog_config.py +105 -0
  130. cogbox_api_client/models/process_errors_response.py +105 -0
  131. cogbox_api_client/models/process_logs_response.py +105 -0
  132. cogbox_api_client/models/process_restart_response.py +105 -0
  133. cogbox_api_client/models/process_status_response.py +105 -0
  134. cogbox_api_client/models/project_dir_response.py +103 -0
  135. cogbox_api_client/models/pty_create_request.py +113 -0
  136. cogbox_api_client/models/pty_create_response.py +103 -0
  137. cogbox_api_client/models/pty_list_response.py +111 -0
  138. cogbox_api_client/models/pty_resize_request.py +105 -0
  139. cogbox_api_client/models/pty_session_info.py +117 -0
  140. cogbox_api_client/models/range.py +112 -0
  141. cogbox_api_client/models/rate_limit_config.py +122 -0
  142. cogbox_api_client/models/rate_limit_entry.py +105 -0
  143. cogbox_api_client/models/regenerate_api_key_response.py +103 -0
  144. cogbox_api_client/models/region.py +140 -0
  145. cogbox_api_client/models/region_quota.py +168 -0
  146. cogbox_api_client/models/region_screenshot_response.py +107 -0
  147. cogbox_api_client/models/region_type.py +44 -0
  148. cogbox_api_client/models/region_usage_overview.py +174 -0
  149. cogbox_api_client/models/registry_push_access_dto.py +113 -0
  150. cogbox_api_client/models/replace_request.py +107 -0
  151. cogbox_api_client/models/replace_result.py +107 -0
  152. cogbox_api_client/models/resize_sandbox.py +108 -0
  153. cogbox_api_client/models/runner.py +166 -0
  154. cogbox_api_client/models/runner_class.py +42 -0
  155. cogbox_api_client/models/runner_full.py +171 -0
  156. cogbox_api_client/models/runner_health_metrics.py +129 -0
  157. cogbox_api_client/models/runner_healthcheck.py +125 -0
  158. cogbox_api_client/models/runner_service_health.py +107 -0
  159. cogbox_api_client/models/runner_snapshot_dto.py +107 -0
  160. cogbox_api_client/models/runner_state.py +46 -0
  161. cogbox_api_client/models/sandbox.py +188 -0
  162. cogbox_api_client/models/sandbox_class.py +45 -0
  163. cogbox_api_client/models/sandbox_desired_state.py +47 -0
  164. cogbox_api_client/models/sandbox_labels.py +103 -0
  165. cogbox_api_client/models/sandbox_list_item.py +161 -0
  166. cogbox_api_client/models/sandbox_list_sort_direction.py +43 -0
  167. cogbox_api_client/models/sandbox_list_sort_field.py +47 -0
  168. cogbox_api_client/models/sandbox_state.py +63 -0
  169. cogbox_api_client/models/sandbox_volume.py +107 -0
  170. cogbox_api_client/models/screenshot_response.py +107 -0
  171. cogbox_api_client/models/search_files_response.py +103 -0
  172. cogbox_api_client/models/send_webhook_dto.py +108 -0
  173. cogbox_api_client/models/session.py +118 -0
  174. cogbox_api_client/models/session_execute_request.py +107 -0
  175. cogbox_api_client/models/session_execute_response.py +107 -0
  176. cogbox_api_client/models/set_snapshot_general_status_dto.py +103 -0
  177. cogbox_api_client/models/signed_port_preview_url.py +109 -0
  178. cogbox_api_client/models/snapshot_dto.py +172 -0
  179. cogbox_api_client/models/snapshot_manager_credentials.py +105 -0
  180. cogbox_api_client/models/snapshot_state.py +49 -0
  181. cogbox_api_client/models/ssh_access_dto.py +116 -0
  182. cogbox_api_client/models/ssh_access_validation_dto.py +105 -0
  183. cogbox_api_client/models/storage_access_dto.py +113 -0
  184. cogbox_api_client/models/toolbox_proxy_url.py +103 -0
  185. cogbox_api_client/models/trace_span.py +119 -0
  186. cogbox_api_client/models/trace_summary.py +115 -0
  187. cogbox_api_client/models/update_docker_registry.py +111 -0
  188. cogbox_api_client/models/update_job_status.py +108 -0
  189. cogbox_api_client/models/update_organization_default_region.py +103 -0
  190. cogbox_api_client/models/update_organization_invitation.py +108 -0
  191. cogbox_api_client/models/update_organization_member_access.py +105 -0
  192. cogbox_api_client/models/update_organization_quota.py +192 -0
  193. cogbox_api_client/models/update_organization_region_quota.py +189 -0
  194. cogbox_api_client/models/update_organization_role.py +107 -0
  195. cogbox_api_client/models/update_region.py +122 -0
  196. cogbox_api_client/models/update_sandbox_network_settings.py +107 -0
  197. cogbox_api_client/models/update_sandbox_state_dto.py +107 -0
  198. cogbox_api_client/models/url.py +103 -0
  199. cogbox_api_client/models/user.py +120 -0
  200. cogbox_api_client/models/user_home_dir_response.py +103 -0
  201. cogbox_api_client/models/user_public_key.py +105 -0
  202. cogbox_api_client/models/volume_dto.py +128 -0
  203. cogbox_api_client/models/volume_state.py +48 -0
  204. cogbox_api_client/models/webhook_app_portal_access.py +105 -0
  205. cogbox_api_client/models/webhook_event.py +48 -0
  206. cogbox_api_client/models/webhook_initialization_status.py +123 -0
  207. cogbox_api_client/models/windows_response.py +105 -0
  208. cogbox_api_client/models/work_dir_response.py +103 -0
  209. cogbox_api_client/py.typed +0 -0
  210. cogbox_api_client/rest.py +264 -0
  211. cogbox_api_client-0.190.1.dist-info/METADATA +19 -0
  212. cogbox_api_client-0.190.1.dist-info/RECORD +215 -0
  213. cogbox_api_client-0.190.1.dist-info/WHEEL +5 -0
  214. cogbox_api_client-0.190.1.dist-info/licenses/LICENSE +190 -0
  215. cogbox_api_client-0.190.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,684 @@
1
+ # coding: utf-8
2
+
3
+ from __future__ import annotations
4
+
5
+ # flake8: noqa
6
+
7
+ """
8
+ Cogbox
9
+
10
+ Cogbox AI platform API Docs
11
+
12
+ The version of the OpenAPI document: 1.0
13
+ Contact: support@cogbox.com
14
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
15
+
16
+ Do not edit the class manually.
17
+ """ # noqa: E501
18
+
19
+ __version__ = "v0.190.1"
20
+
21
+ import importlib
22
+ from typing import TYPE_CHECKING
23
+
24
+ if TYPE_CHECKING:
25
+ # import apis into sdk package
26
+ from cogbox_api_client.api.health_api import HealthApi
27
+ from cogbox_api_client.api.admin_api import AdminApi
28
+ from cogbox_api_client.api.api_keys_api import ApiKeysApi
29
+ from cogbox_api_client.api.audit_api import AuditApi
30
+ from cogbox_api_client.api.config_api import ConfigApi
31
+ from cogbox_api_client.api.docker_registry_api import DockerRegistryApi
32
+ from cogbox_api_client.api.jobs_api import JobsApi
33
+ from cogbox_api_client.api.object_storage_api import ObjectStorageApi
34
+ from cogbox_api_client.api.organizations_api import OrganizationsApi
35
+ from cogbox_api_client.api.preview_api import PreviewApi
36
+ from cogbox_api_client.api.regions_api import RegionsApi
37
+ from cogbox_api_client.api.runners_api import RunnersApi
38
+ from cogbox_api_client.api.sandbox_api import SandboxApi
39
+ from cogbox_api_client.api.snapshots_api import SnapshotsApi
40
+ from cogbox_api_client.api.toolbox_api import ToolboxApi
41
+ from cogbox_api_client.api.users_api import UsersApi
42
+ from cogbox_api_client.api.volumes_api import VolumesApi
43
+ from cogbox_api_client.api.webhooks_api import WebhooksApi
44
+ # import ApiClient
45
+ from cogbox_api_client.api_response import ApiResponse
46
+ from cogbox_api_client.api_client import ApiClient
47
+ from cogbox_api_client.configuration import Configuration
48
+ from cogbox_api_client.exceptions import OpenApiException
49
+ from cogbox_api_client.exceptions import ApiTypeError
50
+ from cogbox_api_client.exceptions import ApiValueError
51
+ from cogbox_api_client.exceptions import ApiKeyError
52
+ from cogbox_api_client.exceptions import ApiAttributeError
53
+ from cogbox_api_client.exceptions import ApiException
54
+
55
+ # import models into sdk package
56
+ from cogbox_api_client.models.account_provider import AccountProvider
57
+ from cogbox_api_client.models.admin_create_runner import AdminCreateRunner
58
+ from cogbox_api_client.models.admin_get_webhook_status200_response import AdminGetWebhookStatus200Response
59
+ from cogbox_api_client.models.announcement import Announcement
60
+ from cogbox_api_client.models.api_key_list import ApiKeyList
61
+ from cogbox_api_client.models.api_key_response import ApiKeyResponse
62
+ from cogbox_api_client.models.audit_log import AuditLog
63
+ from cogbox_api_client.models.build_info import BuildInfo
64
+ from cogbox_api_client.models.cogbox_configuration import CogboxConfiguration
65
+ from cogbox_api_client.models.command import Command
66
+ from cogbox_api_client.models.completion_context import CompletionContext
67
+ from cogbox_api_client.models.completion_item import CompletionItem
68
+ from cogbox_api_client.models.completion_list import CompletionList
69
+ from cogbox_api_client.models.compressed_screenshot_response import CompressedScreenshotResponse
70
+ from cogbox_api_client.models.computer_use_start_response import ComputerUseStartResponse
71
+ from cogbox_api_client.models.computer_use_status_response import ComputerUseStatusResponse
72
+ from cogbox_api_client.models.computer_use_stop_response import ComputerUseStopResponse
73
+ from cogbox_api_client.models.create_api_key import CreateApiKey
74
+ from cogbox_api_client.models.create_build_info import CreateBuildInfo
75
+ from cogbox_api_client.models.create_docker_registry import CreateDockerRegistry
76
+ from cogbox_api_client.models.create_linked_account import CreateLinkedAccount
77
+ from cogbox_api_client.models.create_organization import CreateOrganization
78
+ from cogbox_api_client.models.create_organization_invitation import CreateOrganizationInvitation
79
+ from cogbox_api_client.models.create_organization_quota import CreateOrganizationQuota
80
+ from cogbox_api_client.models.create_organization_region_quota import CreateOrganizationRegionQuota
81
+ from cogbox_api_client.models.create_organization_role import CreateOrganizationRole
82
+ from cogbox_api_client.models.create_region import CreateRegion
83
+ from cogbox_api_client.models.create_region_response import CreateRegionResponse
84
+ from cogbox_api_client.models.create_runner import CreateRunner
85
+ from cogbox_api_client.models.create_runner_response import CreateRunnerResponse
86
+ from cogbox_api_client.models.create_sandbox import CreateSandbox
87
+ from cogbox_api_client.models.create_sandbox_snapshot import CreateSandboxSnapshot
88
+ from cogbox_api_client.models.create_session_request import CreateSessionRequest
89
+ from cogbox_api_client.models.create_snapshot import CreateSnapshot
90
+ from cogbox_api_client.models.create_user import CreateUser
91
+ from cogbox_api_client.models.create_volume import CreateVolume
92
+ from cogbox_api_client.models.display_info_response import DisplayInfoResponse
93
+ from cogbox_api_client.models.docker_registry import DockerRegistry
94
+ from cogbox_api_client.models.download_files import DownloadFiles
95
+ from cogbox_api_client.models.execute_request import ExecuteRequest
96
+ from cogbox_api_client.models.execute_response import ExecuteResponse
97
+ from cogbox_api_client.models.file_info import FileInfo
98
+ from cogbox_api_client.models.file_status import FileStatus
99
+ from cogbox_api_client.models.fork_sandbox import ForkSandbox
100
+ from cogbox_api_client.models.git_add_request import GitAddRequest
101
+ from cogbox_api_client.models.git_branch_request import GitBranchRequest
102
+ from cogbox_api_client.models.git_checkout_request import GitCheckoutRequest
103
+ from cogbox_api_client.models.git_clone_request import GitCloneRequest
104
+ from cogbox_api_client.models.git_commit_info import GitCommitInfo
105
+ from cogbox_api_client.models.git_commit_request import GitCommitRequest
106
+ from cogbox_api_client.models.git_commit_response import GitCommitResponse
107
+ from cogbox_api_client.models.git_delete_branch_request import GitDeleteBranchRequest
108
+ from cogbox_api_client.models.git_repo_request import GitRepoRequest
109
+ from cogbox_api_client.models.git_status import GitStatus
110
+ from cogbox_api_client.models.gpu_type import GpuType
111
+ from cogbox_api_client.models.health_controller_check200_response import HealthControllerCheck200Response
112
+ from cogbox_api_client.models.health_controller_check200_response_info_value import HealthControllerCheck200ResponseInfoValue
113
+ from cogbox_api_client.models.health_controller_check503_response import HealthControllerCheck503Response
114
+ from cogbox_api_client.models.job import Job
115
+ from cogbox_api_client.models.job_status import JobStatus
116
+ from cogbox_api_client.models.job_type import JobType
117
+ from cogbox_api_client.models.keyboard_hotkey_request import KeyboardHotkeyRequest
118
+ from cogbox_api_client.models.keyboard_press_request import KeyboardPressRequest
119
+ from cogbox_api_client.models.keyboard_type_request import KeyboardTypeRequest
120
+ from cogbox_api_client.models.list_branch_response import ListBranchResponse
121
+ from cogbox_api_client.models.list_sandboxes_response import ListSandboxesResponse
122
+ from cogbox_api_client.models.log_entry import LogEntry
123
+ from cogbox_api_client.models.lsp_completion_params import LspCompletionParams
124
+ from cogbox_api_client.models.lsp_document_request import LspDocumentRequest
125
+ from cogbox_api_client.models.lsp_location import LspLocation
126
+ from cogbox_api_client.models.lsp_server_request import LspServerRequest
127
+ from cogbox_api_client.models.lsp_symbol import LspSymbol
128
+ from cogbox_api_client.models.match import Match
129
+ from cogbox_api_client.models.metric_data_point import MetricDataPoint
130
+ from cogbox_api_client.models.metric_series import MetricSeries
131
+ from cogbox_api_client.models.metrics_response import MetricsResponse
132
+ from cogbox_api_client.models.mouse_click_request import MouseClickRequest
133
+ from cogbox_api_client.models.mouse_click_response import MouseClickResponse
134
+ from cogbox_api_client.models.mouse_drag_request import MouseDragRequest
135
+ from cogbox_api_client.models.mouse_drag_response import MouseDragResponse
136
+ from cogbox_api_client.models.mouse_move_request import MouseMoveRequest
137
+ from cogbox_api_client.models.mouse_move_response import MouseMoveResponse
138
+ from cogbox_api_client.models.mouse_position import MousePosition
139
+ from cogbox_api_client.models.mouse_scroll_request import MouseScrollRequest
140
+ from cogbox_api_client.models.mouse_scroll_response import MouseScrollResponse
141
+ from cogbox_api_client.models.oidc_config import OidcConfig
142
+ from cogbox_api_client.models.organization import Organization
143
+ from cogbox_api_client.models.organization_invitation import OrganizationInvitation
144
+ from cogbox_api_client.models.organization_role import OrganizationRole
145
+ from cogbox_api_client.models.organization_sandbox_default_limited_network_egress import OrganizationSandboxDefaultLimitedNetworkEgress
146
+ from cogbox_api_client.models.organization_suspension import OrganizationSuspension
147
+ from cogbox_api_client.models.organization_usage_overview import OrganizationUsageOverview
148
+ from cogbox_api_client.models.organization_user import OrganizationUser
149
+ from cogbox_api_client.models.otel_config import OtelConfig
150
+ from cogbox_api_client.models.paginated_audit_logs import PaginatedAuditLogs
151
+ from cogbox_api_client.models.paginated_jobs import PaginatedJobs
152
+ from cogbox_api_client.models.paginated_logs import PaginatedLogs
153
+ from cogbox_api_client.models.paginated_sandboxes_deprecated import PaginatedSandboxesDeprecated
154
+ from cogbox_api_client.models.paginated_snapshots import PaginatedSnapshots
155
+ from cogbox_api_client.models.paginated_traces import PaginatedTraces
156
+ from cogbox_api_client.models.poll_jobs_response import PollJobsResponse
157
+ from cogbox_api_client.models.port_preview_url import PortPreviewUrl
158
+ from cogbox_api_client.models.position import Position
159
+ from cogbox_api_client.models.posthog_config import PosthogConfig
160
+ from cogbox_api_client.models.process_errors_response import ProcessErrorsResponse
161
+ from cogbox_api_client.models.process_logs_response import ProcessLogsResponse
162
+ from cogbox_api_client.models.process_restart_response import ProcessRestartResponse
163
+ from cogbox_api_client.models.process_status_response import ProcessStatusResponse
164
+ from cogbox_api_client.models.project_dir_response import ProjectDirResponse
165
+ from cogbox_api_client.models.pty_create_request import PtyCreateRequest
166
+ from cogbox_api_client.models.pty_create_response import PtyCreateResponse
167
+ from cogbox_api_client.models.pty_list_response import PtyListResponse
168
+ from cogbox_api_client.models.pty_resize_request import PtyResizeRequest
169
+ from cogbox_api_client.models.pty_session_info import PtySessionInfo
170
+ from cogbox_api_client.models.range import Range
171
+ from cogbox_api_client.models.rate_limit_config import RateLimitConfig
172
+ from cogbox_api_client.models.rate_limit_entry import RateLimitEntry
173
+ from cogbox_api_client.models.regenerate_api_key_response import RegenerateApiKeyResponse
174
+ from cogbox_api_client.models.region import Region
175
+ from cogbox_api_client.models.region_quota import RegionQuota
176
+ from cogbox_api_client.models.region_screenshot_response import RegionScreenshotResponse
177
+ from cogbox_api_client.models.region_type import RegionType
178
+ from cogbox_api_client.models.region_usage_overview import RegionUsageOverview
179
+ from cogbox_api_client.models.registry_push_access_dto import RegistryPushAccessDto
180
+ from cogbox_api_client.models.replace_request import ReplaceRequest
181
+ from cogbox_api_client.models.replace_result import ReplaceResult
182
+ from cogbox_api_client.models.resize_sandbox import ResizeSandbox
183
+ from cogbox_api_client.models.runner import Runner
184
+ from cogbox_api_client.models.runner_class import RunnerClass
185
+ from cogbox_api_client.models.runner_full import RunnerFull
186
+ from cogbox_api_client.models.runner_health_metrics import RunnerHealthMetrics
187
+ from cogbox_api_client.models.runner_healthcheck import RunnerHealthcheck
188
+ from cogbox_api_client.models.runner_service_health import RunnerServiceHealth
189
+ from cogbox_api_client.models.runner_snapshot_dto import RunnerSnapshotDto
190
+ from cogbox_api_client.models.runner_state import RunnerState
191
+ from cogbox_api_client.models.sandbox import Sandbox
192
+ from cogbox_api_client.models.sandbox_class import SandboxClass
193
+ from cogbox_api_client.models.sandbox_desired_state import SandboxDesiredState
194
+ from cogbox_api_client.models.sandbox_labels import SandboxLabels
195
+ from cogbox_api_client.models.sandbox_list_item import SandboxListItem
196
+ from cogbox_api_client.models.sandbox_list_sort_direction import SandboxListSortDirection
197
+ from cogbox_api_client.models.sandbox_list_sort_field import SandboxListSortField
198
+ from cogbox_api_client.models.sandbox_state import SandboxState
199
+ from cogbox_api_client.models.sandbox_volume import SandboxVolume
200
+ from cogbox_api_client.models.screenshot_response import ScreenshotResponse
201
+ from cogbox_api_client.models.search_files_response import SearchFilesResponse
202
+ from cogbox_api_client.models.send_webhook_dto import SendWebhookDto
203
+ from cogbox_api_client.models.session import Session
204
+ from cogbox_api_client.models.session_execute_request import SessionExecuteRequest
205
+ from cogbox_api_client.models.session_execute_response import SessionExecuteResponse
206
+ from cogbox_api_client.models.set_snapshot_general_status_dto import SetSnapshotGeneralStatusDto
207
+ from cogbox_api_client.models.signed_port_preview_url import SignedPortPreviewUrl
208
+ from cogbox_api_client.models.snapshot_dto import SnapshotDto
209
+ from cogbox_api_client.models.snapshot_manager_credentials import SnapshotManagerCredentials
210
+ from cogbox_api_client.models.snapshot_state import SnapshotState
211
+ from cogbox_api_client.models.ssh_access_dto import SshAccessDto
212
+ from cogbox_api_client.models.ssh_access_validation_dto import SshAccessValidationDto
213
+ from cogbox_api_client.models.storage_access_dto import StorageAccessDto
214
+ from cogbox_api_client.models.toolbox_proxy_url import ToolboxProxyUrl
215
+ from cogbox_api_client.models.trace_span import TraceSpan
216
+ from cogbox_api_client.models.trace_summary import TraceSummary
217
+ from cogbox_api_client.models.update_docker_registry import UpdateDockerRegistry
218
+ from cogbox_api_client.models.update_job_status import UpdateJobStatus
219
+ from cogbox_api_client.models.update_organization_default_region import UpdateOrganizationDefaultRegion
220
+ from cogbox_api_client.models.update_organization_invitation import UpdateOrganizationInvitation
221
+ from cogbox_api_client.models.update_organization_member_access import UpdateOrganizationMemberAccess
222
+ from cogbox_api_client.models.update_organization_quota import UpdateOrganizationQuota
223
+ from cogbox_api_client.models.update_organization_region_quota import UpdateOrganizationRegionQuota
224
+ from cogbox_api_client.models.update_organization_role import UpdateOrganizationRole
225
+ from cogbox_api_client.models.update_region import UpdateRegion
226
+ from cogbox_api_client.models.update_sandbox_network_settings import UpdateSandboxNetworkSettings
227
+ from cogbox_api_client.models.update_sandbox_state_dto import UpdateSandboxStateDto
228
+ from cogbox_api_client.models.url import Url
229
+ from cogbox_api_client.models.user import User
230
+ from cogbox_api_client.models.user_home_dir_response import UserHomeDirResponse
231
+ from cogbox_api_client.models.user_public_key import UserPublicKey
232
+ from cogbox_api_client.models.volume_dto import VolumeDto
233
+ from cogbox_api_client.models.volume_state import VolumeState
234
+ from cogbox_api_client.models.webhook_app_portal_access import WebhookAppPortalAccess
235
+ from cogbox_api_client.models.webhook_event import WebhookEvent
236
+ from cogbox_api_client.models.webhook_initialization_status import WebhookInitializationStatus
237
+ from cogbox_api_client.models.windows_response import WindowsResponse
238
+ from cogbox_api_client.models.work_dir_response import WorkDirResponse
239
+
240
+ _DYNAMIC_IMPORTS: dict[str, str] = {
241
+ # apis
242
+ "HealthApi": "cogbox_api_client.api.health_api",
243
+ "AdminApi": "cogbox_api_client.api.admin_api",
244
+ "ApiKeysApi": "cogbox_api_client.api.api_keys_api",
245
+ "AuditApi": "cogbox_api_client.api.audit_api",
246
+ "ConfigApi": "cogbox_api_client.api.config_api",
247
+ "DockerRegistryApi": "cogbox_api_client.api.docker_registry_api",
248
+ "JobsApi": "cogbox_api_client.api.jobs_api",
249
+ "ObjectStorageApi": "cogbox_api_client.api.object_storage_api",
250
+ "OrganizationsApi": "cogbox_api_client.api.organizations_api",
251
+ "PreviewApi": "cogbox_api_client.api.preview_api",
252
+ "RegionsApi": "cogbox_api_client.api.regions_api",
253
+ "RunnersApi": "cogbox_api_client.api.runners_api",
254
+ "SandboxApi": "cogbox_api_client.api.sandbox_api",
255
+ "SnapshotsApi": "cogbox_api_client.api.snapshots_api",
256
+ "ToolboxApi": "cogbox_api_client.api.toolbox_api",
257
+ "UsersApi": "cogbox_api_client.api.users_api",
258
+ "VolumesApi": "cogbox_api_client.api.volumes_api",
259
+ "WebhooksApi": "cogbox_api_client.api.webhooks_api",
260
+ # ApiClient
261
+ "ApiResponse": "cogbox_api_client.api_response",
262
+ "ApiClient": "cogbox_api_client.api_client",
263
+ "Configuration": "cogbox_api_client.configuration",
264
+ "OpenApiException": "cogbox_api_client.exceptions",
265
+ "ApiTypeError": "cogbox_api_client.exceptions",
266
+ "ApiValueError": "cogbox_api_client.exceptions",
267
+ "ApiKeyError": "cogbox_api_client.exceptions",
268
+ "ApiAttributeError": "cogbox_api_client.exceptions",
269
+ "ApiException": "cogbox_api_client.exceptions",
270
+ # models
271
+ "AccountProvider": "cogbox_api_client.models.account_provider",
272
+ "AdminCreateRunner": "cogbox_api_client.models.admin_create_runner",
273
+ "AdminGetWebhookStatus200Response": "cogbox_api_client.models.admin_get_webhook_status200_response",
274
+ "Announcement": "cogbox_api_client.models.announcement",
275
+ "ApiKeyList": "cogbox_api_client.models.api_key_list",
276
+ "ApiKeyResponse": "cogbox_api_client.models.api_key_response",
277
+ "AuditLog": "cogbox_api_client.models.audit_log",
278
+ "BuildInfo": "cogbox_api_client.models.build_info",
279
+ "CogboxConfiguration": "cogbox_api_client.models.cogbox_configuration",
280
+ "Command": "cogbox_api_client.models.command",
281
+ "CompletionContext": "cogbox_api_client.models.completion_context",
282
+ "CompletionItem": "cogbox_api_client.models.completion_item",
283
+ "CompletionList": "cogbox_api_client.models.completion_list",
284
+ "CompressedScreenshotResponse": "cogbox_api_client.models.compressed_screenshot_response",
285
+ "ComputerUseStartResponse": "cogbox_api_client.models.computer_use_start_response",
286
+ "ComputerUseStatusResponse": "cogbox_api_client.models.computer_use_status_response",
287
+ "ComputerUseStopResponse": "cogbox_api_client.models.computer_use_stop_response",
288
+ "CreateApiKey": "cogbox_api_client.models.create_api_key",
289
+ "CreateBuildInfo": "cogbox_api_client.models.create_build_info",
290
+ "CreateDockerRegistry": "cogbox_api_client.models.create_docker_registry",
291
+ "CreateLinkedAccount": "cogbox_api_client.models.create_linked_account",
292
+ "CreateOrganization": "cogbox_api_client.models.create_organization",
293
+ "CreateOrganizationInvitation": "cogbox_api_client.models.create_organization_invitation",
294
+ "CreateOrganizationQuota": "cogbox_api_client.models.create_organization_quota",
295
+ "CreateOrganizationRegionQuota": "cogbox_api_client.models.create_organization_region_quota",
296
+ "CreateOrganizationRole": "cogbox_api_client.models.create_organization_role",
297
+ "CreateRegion": "cogbox_api_client.models.create_region",
298
+ "CreateRegionResponse": "cogbox_api_client.models.create_region_response",
299
+ "CreateRunner": "cogbox_api_client.models.create_runner",
300
+ "CreateRunnerResponse": "cogbox_api_client.models.create_runner_response",
301
+ "CreateSandbox": "cogbox_api_client.models.create_sandbox",
302
+ "CreateSandboxSnapshot": "cogbox_api_client.models.create_sandbox_snapshot",
303
+ "CreateSessionRequest": "cogbox_api_client.models.create_session_request",
304
+ "CreateSnapshot": "cogbox_api_client.models.create_snapshot",
305
+ "CreateUser": "cogbox_api_client.models.create_user",
306
+ "CreateVolume": "cogbox_api_client.models.create_volume",
307
+ "DisplayInfoResponse": "cogbox_api_client.models.display_info_response",
308
+ "DockerRegistry": "cogbox_api_client.models.docker_registry",
309
+ "DownloadFiles": "cogbox_api_client.models.download_files",
310
+ "ExecuteRequest": "cogbox_api_client.models.execute_request",
311
+ "ExecuteResponse": "cogbox_api_client.models.execute_response",
312
+ "FileInfo": "cogbox_api_client.models.file_info",
313
+ "FileStatus": "cogbox_api_client.models.file_status",
314
+ "ForkSandbox": "cogbox_api_client.models.fork_sandbox",
315
+ "GitAddRequest": "cogbox_api_client.models.git_add_request",
316
+ "GitBranchRequest": "cogbox_api_client.models.git_branch_request",
317
+ "GitCheckoutRequest": "cogbox_api_client.models.git_checkout_request",
318
+ "GitCloneRequest": "cogbox_api_client.models.git_clone_request",
319
+ "GitCommitInfo": "cogbox_api_client.models.git_commit_info",
320
+ "GitCommitRequest": "cogbox_api_client.models.git_commit_request",
321
+ "GitCommitResponse": "cogbox_api_client.models.git_commit_response",
322
+ "GitDeleteBranchRequest": "cogbox_api_client.models.git_delete_branch_request",
323
+ "GitRepoRequest": "cogbox_api_client.models.git_repo_request",
324
+ "GitStatus": "cogbox_api_client.models.git_status",
325
+ "GpuType": "cogbox_api_client.models.gpu_type",
326
+ "HealthControllerCheck200Response": "cogbox_api_client.models.health_controller_check200_response",
327
+ "HealthControllerCheck200ResponseInfoValue": "cogbox_api_client.models.health_controller_check200_response_info_value",
328
+ "HealthControllerCheck503Response": "cogbox_api_client.models.health_controller_check503_response",
329
+ "Job": "cogbox_api_client.models.job",
330
+ "JobStatus": "cogbox_api_client.models.job_status",
331
+ "JobType": "cogbox_api_client.models.job_type",
332
+ "KeyboardHotkeyRequest": "cogbox_api_client.models.keyboard_hotkey_request",
333
+ "KeyboardPressRequest": "cogbox_api_client.models.keyboard_press_request",
334
+ "KeyboardTypeRequest": "cogbox_api_client.models.keyboard_type_request",
335
+ "ListBranchResponse": "cogbox_api_client.models.list_branch_response",
336
+ "ListSandboxesResponse": "cogbox_api_client.models.list_sandboxes_response",
337
+ "LogEntry": "cogbox_api_client.models.log_entry",
338
+ "LspCompletionParams": "cogbox_api_client.models.lsp_completion_params",
339
+ "LspDocumentRequest": "cogbox_api_client.models.lsp_document_request",
340
+ "LspLocation": "cogbox_api_client.models.lsp_location",
341
+ "LspServerRequest": "cogbox_api_client.models.lsp_server_request",
342
+ "LspSymbol": "cogbox_api_client.models.lsp_symbol",
343
+ "Match": "cogbox_api_client.models.match",
344
+ "MetricDataPoint": "cogbox_api_client.models.metric_data_point",
345
+ "MetricSeries": "cogbox_api_client.models.metric_series",
346
+ "MetricsResponse": "cogbox_api_client.models.metrics_response",
347
+ "MouseClickRequest": "cogbox_api_client.models.mouse_click_request",
348
+ "MouseClickResponse": "cogbox_api_client.models.mouse_click_response",
349
+ "MouseDragRequest": "cogbox_api_client.models.mouse_drag_request",
350
+ "MouseDragResponse": "cogbox_api_client.models.mouse_drag_response",
351
+ "MouseMoveRequest": "cogbox_api_client.models.mouse_move_request",
352
+ "MouseMoveResponse": "cogbox_api_client.models.mouse_move_response",
353
+ "MousePosition": "cogbox_api_client.models.mouse_position",
354
+ "MouseScrollRequest": "cogbox_api_client.models.mouse_scroll_request",
355
+ "MouseScrollResponse": "cogbox_api_client.models.mouse_scroll_response",
356
+ "OidcConfig": "cogbox_api_client.models.oidc_config",
357
+ "Organization": "cogbox_api_client.models.organization",
358
+ "OrganizationInvitation": "cogbox_api_client.models.organization_invitation",
359
+ "OrganizationRole": "cogbox_api_client.models.organization_role",
360
+ "OrganizationSandboxDefaultLimitedNetworkEgress": "cogbox_api_client.models.organization_sandbox_default_limited_network_egress",
361
+ "OrganizationSuspension": "cogbox_api_client.models.organization_suspension",
362
+ "OrganizationUsageOverview": "cogbox_api_client.models.organization_usage_overview",
363
+ "OrganizationUser": "cogbox_api_client.models.organization_user",
364
+ "OtelConfig": "cogbox_api_client.models.otel_config",
365
+ "PaginatedAuditLogs": "cogbox_api_client.models.paginated_audit_logs",
366
+ "PaginatedJobs": "cogbox_api_client.models.paginated_jobs",
367
+ "PaginatedLogs": "cogbox_api_client.models.paginated_logs",
368
+ "PaginatedSandboxesDeprecated": "cogbox_api_client.models.paginated_sandboxes_deprecated",
369
+ "PaginatedSnapshots": "cogbox_api_client.models.paginated_snapshots",
370
+ "PaginatedTraces": "cogbox_api_client.models.paginated_traces",
371
+ "PollJobsResponse": "cogbox_api_client.models.poll_jobs_response",
372
+ "PortPreviewUrl": "cogbox_api_client.models.port_preview_url",
373
+ "Position": "cogbox_api_client.models.position",
374
+ "PosthogConfig": "cogbox_api_client.models.posthog_config",
375
+ "ProcessErrorsResponse": "cogbox_api_client.models.process_errors_response",
376
+ "ProcessLogsResponse": "cogbox_api_client.models.process_logs_response",
377
+ "ProcessRestartResponse": "cogbox_api_client.models.process_restart_response",
378
+ "ProcessStatusResponse": "cogbox_api_client.models.process_status_response",
379
+ "ProjectDirResponse": "cogbox_api_client.models.project_dir_response",
380
+ "PtyCreateRequest": "cogbox_api_client.models.pty_create_request",
381
+ "PtyCreateResponse": "cogbox_api_client.models.pty_create_response",
382
+ "PtyListResponse": "cogbox_api_client.models.pty_list_response",
383
+ "PtyResizeRequest": "cogbox_api_client.models.pty_resize_request",
384
+ "PtySessionInfo": "cogbox_api_client.models.pty_session_info",
385
+ "Range": "cogbox_api_client.models.range",
386
+ "RateLimitConfig": "cogbox_api_client.models.rate_limit_config",
387
+ "RateLimitEntry": "cogbox_api_client.models.rate_limit_entry",
388
+ "RegenerateApiKeyResponse": "cogbox_api_client.models.regenerate_api_key_response",
389
+ "Region": "cogbox_api_client.models.region",
390
+ "RegionQuota": "cogbox_api_client.models.region_quota",
391
+ "RegionScreenshotResponse": "cogbox_api_client.models.region_screenshot_response",
392
+ "RegionType": "cogbox_api_client.models.region_type",
393
+ "RegionUsageOverview": "cogbox_api_client.models.region_usage_overview",
394
+ "RegistryPushAccessDto": "cogbox_api_client.models.registry_push_access_dto",
395
+ "ReplaceRequest": "cogbox_api_client.models.replace_request",
396
+ "ReplaceResult": "cogbox_api_client.models.replace_result",
397
+ "ResizeSandbox": "cogbox_api_client.models.resize_sandbox",
398
+ "Runner": "cogbox_api_client.models.runner",
399
+ "RunnerClass": "cogbox_api_client.models.runner_class",
400
+ "RunnerFull": "cogbox_api_client.models.runner_full",
401
+ "RunnerHealthMetrics": "cogbox_api_client.models.runner_health_metrics",
402
+ "RunnerHealthcheck": "cogbox_api_client.models.runner_healthcheck",
403
+ "RunnerServiceHealth": "cogbox_api_client.models.runner_service_health",
404
+ "RunnerSnapshotDto": "cogbox_api_client.models.runner_snapshot_dto",
405
+ "RunnerState": "cogbox_api_client.models.runner_state",
406
+ "Sandbox": "cogbox_api_client.models.sandbox",
407
+ "SandboxClass": "cogbox_api_client.models.sandbox_class",
408
+ "SandboxDesiredState": "cogbox_api_client.models.sandbox_desired_state",
409
+ "SandboxLabels": "cogbox_api_client.models.sandbox_labels",
410
+ "SandboxListItem": "cogbox_api_client.models.sandbox_list_item",
411
+ "SandboxListSortDirection": "cogbox_api_client.models.sandbox_list_sort_direction",
412
+ "SandboxListSortField": "cogbox_api_client.models.sandbox_list_sort_field",
413
+ "SandboxState": "cogbox_api_client.models.sandbox_state",
414
+ "SandboxVolume": "cogbox_api_client.models.sandbox_volume",
415
+ "ScreenshotResponse": "cogbox_api_client.models.screenshot_response",
416
+ "SearchFilesResponse": "cogbox_api_client.models.search_files_response",
417
+ "SendWebhookDto": "cogbox_api_client.models.send_webhook_dto",
418
+ "Session": "cogbox_api_client.models.session",
419
+ "SessionExecuteRequest": "cogbox_api_client.models.session_execute_request",
420
+ "SessionExecuteResponse": "cogbox_api_client.models.session_execute_response",
421
+ "SetSnapshotGeneralStatusDto": "cogbox_api_client.models.set_snapshot_general_status_dto",
422
+ "SignedPortPreviewUrl": "cogbox_api_client.models.signed_port_preview_url",
423
+ "SnapshotDto": "cogbox_api_client.models.snapshot_dto",
424
+ "SnapshotManagerCredentials": "cogbox_api_client.models.snapshot_manager_credentials",
425
+ "SnapshotState": "cogbox_api_client.models.snapshot_state",
426
+ "SshAccessDto": "cogbox_api_client.models.ssh_access_dto",
427
+ "SshAccessValidationDto": "cogbox_api_client.models.ssh_access_validation_dto",
428
+ "StorageAccessDto": "cogbox_api_client.models.storage_access_dto",
429
+ "ToolboxProxyUrl": "cogbox_api_client.models.toolbox_proxy_url",
430
+ "TraceSpan": "cogbox_api_client.models.trace_span",
431
+ "TraceSummary": "cogbox_api_client.models.trace_summary",
432
+ "UpdateDockerRegistry": "cogbox_api_client.models.update_docker_registry",
433
+ "UpdateJobStatus": "cogbox_api_client.models.update_job_status",
434
+ "UpdateOrganizationDefaultRegion": "cogbox_api_client.models.update_organization_default_region",
435
+ "UpdateOrganizationInvitation": "cogbox_api_client.models.update_organization_invitation",
436
+ "UpdateOrganizationMemberAccess": "cogbox_api_client.models.update_organization_member_access",
437
+ "UpdateOrganizationQuota": "cogbox_api_client.models.update_organization_quota",
438
+ "UpdateOrganizationRegionQuota": "cogbox_api_client.models.update_organization_region_quota",
439
+ "UpdateOrganizationRole": "cogbox_api_client.models.update_organization_role",
440
+ "UpdateRegion": "cogbox_api_client.models.update_region",
441
+ "UpdateSandboxNetworkSettings": "cogbox_api_client.models.update_sandbox_network_settings",
442
+ "UpdateSandboxStateDto": "cogbox_api_client.models.update_sandbox_state_dto",
443
+ "Url": "cogbox_api_client.models.url",
444
+ "User": "cogbox_api_client.models.user",
445
+ "UserHomeDirResponse": "cogbox_api_client.models.user_home_dir_response",
446
+ "UserPublicKey": "cogbox_api_client.models.user_public_key",
447
+ "VolumeDto": "cogbox_api_client.models.volume_dto",
448
+ "VolumeState": "cogbox_api_client.models.volume_state",
449
+ "WebhookAppPortalAccess": "cogbox_api_client.models.webhook_app_portal_access",
450
+ "WebhookEvent": "cogbox_api_client.models.webhook_event",
451
+ "WebhookInitializationStatus": "cogbox_api_client.models.webhook_initialization_status",
452
+ "WindowsResponse": "cogbox_api_client.models.windows_response",
453
+ "WorkDirResponse": "cogbox_api_client.models.work_dir_response",
454
+ }
455
+
456
+
457
+ def __getattr__(attr_name: str) -> object:
458
+ module_path = _DYNAMIC_IMPORTS.get(attr_name)
459
+ if module_path is None:
460
+ raise AttributeError(f"module {__name__!r} has no attribute {attr_name!r}")
461
+ mod = importlib.import_module(module_path)
462
+ value = getattr(mod, attr_name)
463
+ globals()[attr_name] = value
464
+ return value
465
+
466
+
467
+ def __dir__() -> list[str]:
468
+ return list(_DYNAMIC_IMPORTS.keys())
469
+
470
+
471
+ # --- Static __all__ generated by Mustache ---
472
+ __all__ = [
473
+ "ApiResponse",
474
+ "ApiClient",
475
+ "Configuration",
476
+ "OpenApiException",
477
+ "ApiTypeError",
478
+ "ApiValueError",
479
+ "ApiKeyError",
480
+ "ApiAttributeError",
481
+ "ApiException",
482
+ "HealthApi",
483
+ "AdminApi",
484
+ "ApiKeysApi",
485
+ "AuditApi",
486
+ "ConfigApi",
487
+ "DockerRegistryApi",
488
+ "JobsApi",
489
+ "ObjectStorageApi",
490
+ "OrganizationsApi",
491
+ "PreviewApi",
492
+ "RegionsApi",
493
+ "RunnersApi",
494
+ "SandboxApi",
495
+ "SnapshotsApi",
496
+ "ToolboxApi",
497
+ "UsersApi",
498
+ "VolumesApi",
499
+ "WebhooksApi",
500
+ "AccountProvider",
501
+ "AdminCreateRunner",
502
+ "AdminGetWebhookStatus200Response",
503
+ "Announcement",
504
+ "ApiKeyList",
505
+ "ApiKeyResponse",
506
+ "AuditLog",
507
+ "BuildInfo",
508
+ "CogboxConfiguration",
509
+ "Command",
510
+ "CompletionContext",
511
+ "CompletionItem",
512
+ "CompletionList",
513
+ "CompressedScreenshotResponse",
514
+ "ComputerUseStartResponse",
515
+ "ComputerUseStatusResponse",
516
+ "ComputerUseStopResponse",
517
+ "CreateApiKey",
518
+ "CreateBuildInfo",
519
+ "CreateDockerRegistry",
520
+ "CreateLinkedAccount",
521
+ "CreateOrganization",
522
+ "CreateOrganizationInvitation",
523
+ "CreateOrganizationQuota",
524
+ "CreateOrganizationRegionQuota",
525
+ "CreateOrganizationRole",
526
+ "CreateRegion",
527
+ "CreateRegionResponse",
528
+ "CreateRunner",
529
+ "CreateRunnerResponse",
530
+ "CreateSandbox",
531
+ "CreateSandboxSnapshot",
532
+ "CreateSessionRequest",
533
+ "CreateSnapshot",
534
+ "CreateUser",
535
+ "CreateVolume",
536
+ "DisplayInfoResponse",
537
+ "DockerRegistry",
538
+ "DownloadFiles",
539
+ "ExecuteRequest",
540
+ "ExecuteResponse",
541
+ "FileInfo",
542
+ "FileStatus",
543
+ "ForkSandbox",
544
+ "GitAddRequest",
545
+ "GitBranchRequest",
546
+ "GitCheckoutRequest",
547
+ "GitCloneRequest",
548
+ "GitCommitInfo",
549
+ "GitCommitRequest",
550
+ "GitCommitResponse",
551
+ "GitDeleteBranchRequest",
552
+ "GitRepoRequest",
553
+ "GitStatus",
554
+ "GpuType",
555
+ "HealthControllerCheck200Response",
556
+ "HealthControllerCheck200ResponseInfoValue",
557
+ "HealthControllerCheck503Response",
558
+ "Job",
559
+ "JobStatus",
560
+ "JobType",
561
+ "KeyboardHotkeyRequest",
562
+ "KeyboardPressRequest",
563
+ "KeyboardTypeRequest",
564
+ "ListBranchResponse",
565
+ "ListSandboxesResponse",
566
+ "LogEntry",
567
+ "LspCompletionParams",
568
+ "LspDocumentRequest",
569
+ "LspLocation",
570
+ "LspServerRequest",
571
+ "LspSymbol",
572
+ "Match",
573
+ "MetricDataPoint",
574
+ "MetricSeries",
575
+ "MetricsResponse",
576
+ "MouseClickRequest",
577
+ "MouseClickResponse",
578
+ "MouseDragRequest",
579
+ "MouseDragResponse",
580
+ "MouseMoveRequest",
581
+ "MouseMoveResponse",
582
+ "MousePosition",
583
+ "MouseScrollRequest",
584
+ "MouseScrollResponse",
585
+ "OidcConfig",
586
+ "Organization",
587
+ "OrganizationInvitation",
588
+ "OrganizationRole",
589
+ "OrganizationSandboxDefaultLimitedNetworkEgress",
590
+ "OrganizationSuspension",
591
+ "OrganizationUsageOverview",
592
+ "OrganizationUser",
593
+ "OtelConfig",
594
+ "PaginatedAuditLogs",
595
+ "PaginatedJobs",
596
+ "PaginatedLogs",
597
+ "PaginatedSandboxesDeprecated",
598
+ "PaginatedSnapshots",
599
+ "PaginatedTraces",
600
+ "PollJobsResponse",
601
+ "PortPreviewUrl",
602
+ "Position",
603
+ "PosthogConfig",
604
+ "ProcessErrorsResponse",
605
+ "ProcessLogsResponse",
606
+ "ProcessRestartResponse",
607
+ "ProcessStatusResponse",
608
+ "ProjectDirResponse",
609
+ "PtyCreateRequest",
610
+ "PtyCreateResponse",
611
+ "PtyListResponse",
612
+ "PtyResizeRequest",
613
+ "PtySessionInfo",
614
+ "Range",
615
+ "RateLimitConfig",
616
+ "RateLimitEntry",
617
+ "RegenerateApiKeyResponse",
618
+ "Region",
619
+ "RegionQuota",
620
+ "RegionScreenshotResponse",
621
+ "RegionType",
622
+ "RegionUsageOverview",
623
+ "RegistryPushAccessDto",
624
+ "ReplaceRequest",
625
+ "ReplaceResult",
626
+ "ResizeSandbox",
627
+ "Runner",
628
+ "RunnerClass",
629
+ "RunnerFull",
630
+ "RunnerHealthMetrics",
631
+ "RunnerHealthcheck",
632
+ "RunnerServiceHealth",
633
+ "RunnerSnapshotDto",
634
+ "RunnerState",
635
+ "Sandbox",
636
+ "SandboxClass",
637
+ "SandboxDesiredState",
638
+ "SandboxLabels",
639
+ "SandboxListItem",
640
+ "SandboxListSortDirection",
641
+ "SandboxListSortField",
642
+ "SandboxState",
643
+ "SandboxVolume",
644
+ "ScreenshotResponse",
645
+ "SearchFilesResponse",
646
+ "SendWebhookDto",
647
+ "Session",
648
+ "SessionExecuteRequest",
649
+ "SessionExecuteResponse",
650
+ "SetSnapshotGeneralStatusDto",
651
+ "SignedPortPreviewUrl",
652
+ "SnapshotDto",
653
+ "SnapshotManagerCredentials",
654
+ "SnapshotState",
655
+ "SshAccessDto",
656
+ "SshAccessValidationDto",
657
+ "StorageAccessDto",
658
+ "ToolboxProxyUrl",
659
+ "TraceSpan",
660
+ "TraceSummary",
661
+ "UpdateDockerRegistry",
662
+ "UpdateJobStatus",
663
+ "UpdateOrganizationDefaultRegion",
664
+ "UpdateOrganizationInvitation",
665
+ "UpdateOrganizationMemberAccess",
666
+ "UpdateOrganizationQuota",
667
+ "UpdateOrganizationRegionQuota",
668
+ "UpdateOrganizationRole",
669
+ "UpdateRegion",
670
+ "UpdateSandboxNetworkSettings",
671
+ "UpdateSandboxStateDto",
672
+ "Url",
673
+ "User",
674
+ "UserHomeDirResponse",
675
+ "UserPublicKey",
676
+ "VolumeDto",
677
+ "VolumeState",
678
+ "WebhookAppPortalAccess",
679
+ "WebhookEvent",
680
+ "WebhookInitializationStatus",
681
+ "WindowsResponse",
682
+ "WorkDirResponse",
683
+
684
+ ]