daytona_api_client_async 0.26.0a12__py3-none-any.whl → 0.26.0rc1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of daytona_api_client_async might be problematic. Click here for more details.

Files changed (30) hide show
  1. daytona_api_client_async/__init__.py +0 -1
  2. daytona_api_client_async/api/toolbox_api.py +12 -13
  3. daytona_api_client_async/models/__init__.py +0 -1
  4. daytona_api_client_async/models/create_audit_log.py +2 -2
  5. daytona_api_client_async/models/create_sandbox.py +5 -1
  6. daytona_api_client_async/models/sandbox.py +5 -1
  7. daytona_api_client_async/models/sandbox_state.py +1 -1
  8. daytona_api_client_async/models/session_execute_response.py +3 -5
  9. daytona_api_client_async/models/workspace.py +5 -1
  10. {daytona_api_client_async-0.26.0a12.dist-info → daytona_api_client_async-0.26.0rc1.dist-info}/METADATA +1 -1
  11. {daytona_api_client_async-0.26.0a12.dist-info → daytona_api_client_async-0.26.0rc1.dist-info}/RECORD +14 -30
  12. daytona_api_client_async/api/images_api.py +0 -2350
  13. daytona_api_client_async/api/nodes_api.py +0 -792
  14. daytona_api_client_async/models/build_image.py +0 -107
  15. daytona_api_client_async/models/build_snapshot.py +0 -115
  16. daytona_api_client_async/models/create_image.py +0 -105
  17. daytona_api_client_async/models/create_node.py +0 -135
  18. daytona_api_client_async/models/download_files.py +0 -101
  19. daytona_api_client_async/models/image_dto.py +0 -145
  20. daytona_api_client_async/models/image_state.py +0 -45
  21. daytona_api_client_async/models/paginated_images_dto.py +0 -115
  22. daytona_api_client_async/models/session_command_logs_response.py +0 -103
  23. daytona_api_client_async/models/set_image_general_status.py +0 -101
  24. daytona_api_client_async/models/workspace_info.py +0 -105
  25. daytona_api_client_async/models/workspace_labels.py +0 -101
  26. daytona_api_client_async/models/workspace_state.py +0 -51
  27. daytona_api_client_async/models/workspace_volume.py +0 -103
  28. {daytona_api_client_async-0.26.0a12.dist-info → daytona_api_client_async-0.26.0rc1.dist-info}/WHEEL +0 -0
  29. {daytona_api_client_async-0.26.0a12.dist-info → daytona_api_client_async-0.26.0rc1.dist-info}/licenses/LICENSE +0 -0
  30. {daytona_api_client_async-0.26.0a12.dist-info → daytona_api_client_async-0.26.0rc1.dist-info}/top_level.txt +0 -0
@@ -140,7 +140,6 @@ from daytona_api_client_async.models.sandbox_volume import SandboxVolume
140
140
  from daytona_api_client_async.models.screenshot_response import ScreenshotResponse
141
141
  from daytona_api_client_async.models.search_files_response import SearchFilesResponse
142
142
  from daytona_api_client_async.models.session import Session
143
- from daytona_api_client_async.models.session_command_logs_response import SessionCommandLogsResponse
144
143
  from daytona_api_client_async.models.session_execute_request import SessionExecuteRequest
145
144
  from daytona_api_client_async.models.session_execute_response import SessionExecuteResponse
146
145
  from daytona_api_client_async.models.set_snapshot_general_status_dto import SetSnapshotGeneralStatusDto
@@ -70,7 +70,6 @@ from daytona_api_client_async.models.replace_result import ReplaceResult
70
70
  from daytona_api_client_async.models.screenshot_response import ScreenshotResponse
71
71
  from daytona_api_client_async.models.search_files_response import SearchFilesResponse
72
72
  from daytona_api_client_async.models.session import Session
73
- from daytona_api_client_async.models.session_command_logs_response import SessionCommandLogsResponse
74
73
  from daytona_api_client_async.models.session_execute_request import SessionExecuteRequest
75
74
  from daytona_api_client_async.models.session_execute_response import SessionExecuteResponse
76
75
  from daytona_api_client_async.models.windows_response import WindowsResponse
@@ -5991,7 +5990,7 @@ class ToolboxApi:
5991
5990
  session_id: StrictStr,
5992
5991
  command_id: StrictStr,
5993
5992
  x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
5994
- follow: Annotated[Optional[StrictBool], Field(description="Whether to stream the logs")] = None,
5993
+ follow: Optional[StrictBool] = None,
5995
5994
  _request_timeout: Union[
5996
5995
  None,
5997
5996
  Annotated[StrictFloat, Field(gt=0)],
@@ -6004,7 +6003,7 @@ class ToolboxApi:
6004
6003
  _content_type: Optional[StrictStr] = None,
6005
6004
  _headers: Optional[Dict[StrictStr, Any]] = None,
6006
6005
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6007
- ) -> SessionCommandLogsResponse:
6006
+ ) -> str:
6008
6007
  """Get command logs
6009
6008
 
6010
6009
  Get logs for a specific command in a session
@@ -6017,7 +6016,7 @@ class ToolboxApi:
6017
6016
  :type command_id: str
6018
6017
  :param x_daytona_organization_id: Use with JWT to specify the organization ID
6019
6018
  :type x_daytona_organization_id: str
6020
- :param follow: Whether to stream the logs
6019
+ :param follow:
6021
6020
  :type follow: bool
6022
6021
  :param _request_timeout: timeout setting for this request. If one
6023
6022
  number provided, it will be total request
@@ -6054,7 +6053,7 @@ class ToolboxApi:
6054
6053
  )
6055
6054
 
6056
6055
  _response_types_map: Dict[str, Optional[str]] = {
6057
- '200': "SessionCommandLogsResponse",
6056
+ '200': "str",
6058
6057
  }
6059
6058
  response_data = await self.api_client.call_api(
6060
6059
  *_param,
@@ -6074,7 +6073,7 @@ class ToolboxApi:
6074
6073
  session_id: StrictStr,
6075
6074
  command_id: StrictStr,
6076
6075
  x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
6077
- follow: Annotated[Optional[StrictBool], Field(description="Whether to stream the logs")] = None,
6076
+ follow: Optional[StrictBool] = None,
6078
6077
  _request_timeout: Union[
6079
6078
  None,
6080
6079
  Annotated[StrictFloat, Field(gt=0)],
@@ -6087,7 +6086,7 @@ class ToolboxApi:
6087
6086
  _content_type: Optional[StrictStr] = None,
6088
6087
  _headers: Optional[Dict[StrictStr, Any]] = None,
6089
6088
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6090
- ) -> ApiResponse[SessionCommandLogsResponse]:
6089
+ ) -> ApiResponse[str]:
6091
6090
  """Get command logs
6092
6091
 
6093
6092
  Get logs for a specific command in a session
@@ -6100,7 +6099,7 @@ class ToolboxApi:
6100
6099
  :type command_id: str
6101
6100
  :param x_daytona_organization_id: Use with JWT to specify the organization ID
6102
6101
  :type x_daytona_organization_id: str
6103
- :param follow: Whether to stream the logs
6102
+ :param follow:
6104
6103
  :type follow: bool
6105
6104
  :param _request_timeout: timeout setting for this request. If one
6106
6105
  number provided, it will be total request
@@ -6137,7 +6136,7 @@ class ToolboxApi:
6137
6136
  )
6138
6137
 
6139
6138
  _response_types_map: Dict[str, Optional[str]] = {
6140
- '200': "SessionCommandLogsResponse",
6139
+ '200': "str",
6141
6140
  }
6142
6141
  response_data = await self.api_client.call_api(
6143
6142
  *_param,
@@ -6157,7 +6156,7 @@ class ToolboxApi:
6157
6156
  session_id: StrictStr,
6158
6157
  command_id: StrictStr,
6159
6158
  x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
6160
- follow: Annotated[Optional[StrictBool], Field(description="Whether to stream the logs")] = None,
6159
+ follow: Optional[StrictBool] = None,
6161
6160
  _request_timeout: Union[
6162
6161
  None,
6163
6162
  Annotated[StrictFloat, Field(gt=0)],
@@ -6183,7 +6182,7 @@ class ToolboxApi:
6183
6182
  :type command_id: str
6184
6183
  :param x_daytona_organization_id: Use with JWT to specify the organization ID
6185
6184
  :type x_daytona_organization_id: str
6186
- :param follow: Whether to stream the logs
6185
+ :param follow:
6187
6186
  :type follow: bool
6188
6187
  :param _request_timeout: timeout setting for this request. If one
6189
6188
  number provided, it will be total request
@@ -6220,7 +6219,7 @@ class ToolboxApi:
6220
6219
  )
6221
6220
 
6222
6221
  _response_types_map: Dict[str, Optional[str]] = {
6223
- '200': "SessionCommandLogsResponse",
6222
+ '200': "str",
6224
6223
  }
6225
6224
  response_data = await self.api_client.call_api(
6226
6225
  *_param,
@@ -6279,7 +6278,7 @@ class ToolboxApi:
6279
6278
  if 'Accept' not in _header_params:
6280
6279
  _header_params['Accept'] = self.api_client.select_header_accept(
6281
6280
  [
6282
- 'application/json'
6281
+ 'text/plain'
6283
6282
  ]
6284
6283
  )
6285
6284
 
@@ -111,7 +111,6 @@ from daytona_api_client_async.models.sandbox_volume import SandboxVolume
111
111
  from daytona_api_client_async.models.screenshot_response import ScreenshotResponse
112
112
  from daytona_api_client_async.models.search_files_response import SearchFilesResponse
113
113
  from daytona_api_client_async.models.session import Session
114
- from daytona_api_client_async.models.session_command_logs_response import SessionCommandLogsResponse
115
114
  from daytona_api_client_async.models.session_execute_request import SessionExecuteRequest
116
115
  from daytona_api_client_async.models.session_execute_response import SessionExecuteResponse
117
116
  from daytona_api_client_async.models.set_snapshot_general_status_dto import SetSnapshotGeneralStatusDto
@@ -39,8 +39,8 @@ class CreateAuditLog(BaseModel):
39
39
  @field_validator('action')
40
40
  def action_validate_enum(cls, value):
41
41
  """Validates the enum"""
42
- if value not in set(['create', 'read', 'update', 'delete', 'login', 'set_default', 'update_role', 'update_assigned_roles', 'update_quota', 'suspend', 'unsuspend', 'accept', 'decline', 'link_account', 'unlink_account', 'leave_organization', 'regenerate_key_pair', 'update_scheduling', 'start', 'stop', 'replace_labels', 'create_backup', 'update_public_status', 'set_auto_stop_interval', 'set_auto_archive_interval', 'set_auto_delete_interval', 'archive', 'get_port_preview_url', 'set_general_status', 'activate', 'deactivate', 'toolbox_delete_file', 'toolbox_download_file', 'toolbox_create_folder', 'toolbox_move_file', 'toolbox_set_file_permissions', 'toolbox_replace_in_files', 'toolbox_upload_file', 'toolbox_bulk_upload_files', 'toolbox_git_add_files', 'toolbox_git_create_branch', 'toolbox_git_delete_branch', 'toolbox_git_clone_repository', 'toolbox_git_commit_changes', 'toolbox_git_pull_changes', 'toolbox_git_push_changes', 'toolbox_git_checkout_branch', 'toolbox_execute_command', 'toolbox_create_session', 'toolbox_session_execute_command', 'toolbox_delete_session', 'toolbox_computer_use_start', 'toolbox_computer_use_stop', 'toolbox_computer_use_restart_process']):
43
- raise ValueError("must be one of enum values ('create', 'read', 'update', 'delete', 'login', 'set_default', 'update_role', 'update_assigned_roles', 'update_quota', 'suspend', 'unsuspend', 'accept', 'decline', 'link_account', 'unlink_account', 'leave_organization', 'regenerate_key_pair', 'update_scheduling', 'start', 'stop', 'replace_labels', 'create_backup', 'update_public_status', 'set_auto_stop_interval', 'set_auto_archive_interval', 'set_auto_delete_interval', 'archive', 'get_port_preview_url', 'set_general_status', 'activate', 'deactivate', 'toolbox_delete_file', 'toolbox_download_file', 'toolbox_create_folder', 'toolbox_move_file', 'toolbox_set_file_permissions', 'toolbox_replace_in_files', 'toolbox_upload_file', 'toolbox_bulk_upload_files', 'toolbox_git_add_files', 'toolbox_git_create_branch', 'toolbox_git_delete_branch', 'toolbox_git_clone_repository', 'toolbox_git_commit_changes', 'toolbox_git_pull_changes', 'toolbox_git_push_changes', 'toolbox_git_checkout_branch', 'toolbox_execute_command', 'toolbox_create_session', 'toolbox_session_execute_command', 'toolbox_delete_session', 'toolbox_computer_use_start', 'toolbox_computer_use_stop', 'toolbox_computer_use_restart_process')")
42
+ if value not in set(['create', 'read', 'update', 'delete', 'login', 'set_default', 'update_role', 'update_assigned_roles', 'update_quota', 'suspend', 'unsuspend', 'accept', 'decline', 'link_account', 'unlink_account', 'leave_organization', 'regenerate_key_pair', 'update_scheduling', 'start', 'stop', 'replace_labels', 'create_backup', 'update_public_status', 'set_auto_stop_interval', 'set_auto_archive_interval', 'set_auto_delete_interval', 'archive', 'get_port_preview_url', 'set_general_status', 'activate', 'deactivate', 'update_network_settings', 'toolbox_delete_file', 'toolbox_download_file', 'toolbox_create_folder', 'toolbox_move_file', 'toolbox_set_file_permissions', 'toolbox_replace_in_files', 'toolbox_upload_file', 'toolbox_bulk_upload_files', 'toolbox_git_add_files', 'toolbox_git_create_branch', 'toolbox_git_delete_branch', 'toolbox_git_clone_repository', 'toolbox_git_commit_changes', 'toolbox_git_pull_changes', 'toolbox_git_push_changes', 'toolbox_git_checkout_branch', 'toolbox_execute_command', 'toolbox_create_session', 'toolbox_session_execute_command', 'toolbox_delete_session', 'toolbox_computer_use_start', 'toolbox_computer_use_stop', 'toolbox_computer_use_restart_process']):
43
+ raise ValueError("must be one of enum values ('create', 'read', 'update', 'delete', 'login', 'set_default', 'update_role', 'update_assigned_roles', 'update_quota', 'suspend', 'unsuspend', 'accept', 'decline', 'link_account', 'unlink_account', 'leave_organization', 'regenerate_key_pair', 'update_scheduling', 'start', 'stop', 'replace_labels', 'create_backup', 'update_public_status', 'set_auto_stop_interval', 'set_auto_archive_interval', 'set_auto_delete_interval', 'archive', 'get_port_preview_url', 'set_general_status', 'activate', 'deactivate', 'update_network_settings', 'toolbox_delete_file', 'toolbox_download_file', 'toolbox_create_folder', 'toolbox_move_file', 'toolbox_set_file_permissions', 'toolbox_replace_in_files', 'toolbox_upload_file', 'toolbox_bulk_upload_files', 'toolbox_git_add_files', 'toolbox_git_create_branch', 'toolbox_git_delete_branch', 'toolbox_git_clone_repository', 'toolbox_git_commit_changes', 'toolbox_git_pull_changes', 'toolbox_git_push_changes', 'toolbox_git_checkout_branch', 'toolbox_execute_command', 'toolbox_create_session', 'toolbox_session_execute_command', 'toolbox_delete_session', 'toolbox_computer_use_start', 'toolbox_computer_use_stop', 'toolbox_computer_use_restart_process')")
44
44
  return value
45
45
 
46
46
  @field_validator('target_type')
@@ -34,6 +34,8 @@ class CreateSandbox(BaseModel):
34
34
  env: Optional[Dict[str, StrictStr]] = Field(default=None, description="Environment variables for the sandbox")
35
35
  labels: Optional[Dict[str, StrictStr]] = Field(default=None, description="Labels for the sandbox")
36
36
  public: Optional[StrictBool] = Field(default=None, description="Whether the sandbox http preview is publicly accessible")
37
+ network_block_all: Optional[StrictBool] = Field(default=None, description="Whether to block all network access for the sandbox", alias="networkBlockAll")
38
+ network_allow_list: Optional[StrictStr] = Field(default=None, description="Comma-separated list of allowed CIDR network addresses for the sandbox", alias="networkAllowList")
37
39
  var_class: Optional[StrictStr] = Field(default=None, description="The sandbox class type", alias="class")
38
40
  target: Optional[StrictStr] = Field(default=None, description="The target (region) where the sandbox will be created")
39
41
  cpu: Optional[StrictInt] = Field(default=None, description="CPU cores allocated to the sandbox")
@@ -46,7 +48,7 @@ class CreateSandbox(BaseModel):
46
48
  volumes: Optional[List[SandboxVolume]] = Field(default=None, description="Array of volumes to attach to the sandbox")
47
49
  build_info: Optional[CreateBuildInfo] = Field(default=None, description="Build information for the sandbox", alias="buildInfo")
48
50
  additional_properties: Dict[str, Any] = {}
49
- __properties: ClassVar[List[str]] = ["snapshot", "user", "env", "labels", "public", "class", "target", "cpu", "gpu", "memory", "disk", "autoStopInterval", "autoArchiveInterval", "autoDeleteInterval", "volumes", "buildInfo"]
51
+ __properties: ClassVar[List[str]] = ["snapshot", "user", "env", "labels", "public", "networkBlockAll", "networkAllowList", "class", "target", "cpu", "gpu", "memory", "disk", "autoStopInterval", "autoArchiveInterval", "autoDeleteInterval", "volumes", "buildInfo"]
50
52
 
51
53
  @field_validator('var_class')
52
54
  def var_class_validate_enum(cls, value):
@@ -131,6 +133,8 @@ class CreateSandbox(BaseModel):
131
133
  "env": obj.get("env"),
132
134
  "labels": obj.get("labels"),
133
135
  "public": obj.get("public"),
136
+ "networkBlockAll": obj.get("networkBlockAll"),
137
+ "networkAllowList": obj.get("networkAllowList"),
134
138
  "class": obj.get("class"),
135
139
  "target": obj.get("target"),
136
140
  "cpu": obj.get("cpu"),
@@ -38,6 +38,8 @@ class Sandbox(BaseModel):
38
38
  env: Dict[str, StrictStr] = Field(description="Environment variables for the sandbox")
39
39
  labels: Dict[str, StrictStr] = Field(description="Labels for the sandbox")
40
40
  public: StrictBool = Field(description="Whether the sandbox http preview is public")
41
+ network_block_all: StrictBool = Field(description="Whether to block all network access for the sandbox", alias="networkBlockAll")
42
+ network_allow_list: Optional[StrictStr] = Field(default=None, description="Comma-separated list of allowed CIDR network addresses for the sandbox", alias="networkAllowList")
41
43
  target: StrictStr = Field(description="The target environment for the sandbox")
42
44
  cpu: Union[StrictFloat, StrictInt] = Field(description="The CPU quota for the sandbox")
43
45
  gpu: Union[StrictFloat, StrictInt] = Field(description="The GPU quota for the sandbox")
@@ -59,7 +61,7 @@ class Sandbox(BaseModel):
59
61
  var_class: Optional[StrictStr] = Field(default=None, description="The class of the sandbox", alias="class")
60
62
  daemon_version: Optional[StrictStr] = Field(default=None, description="The version of the daemon running in the sandbox", alias="daemonVersion")
61
63
  additional_properties: Dict[str, Any] = {}
62
- __properties: ClassVar[List[str]] = ["id", "organizationId", "snapshot", "user", "env", "labels", "public", "target", "cpu", "gpu", "memory", "disk", "state", "desiredState", "errorReason", "backupState", "backupCreatedAt", "autoStopInterval", "autoArchiveInterval", "autoDeleteInterval", "runnerDomain", "volumes", "buildInfo", "createdAt", "updatedAt", "class", "daemonVersion"]
64
+ __properties: ClassVar[List[str]] = ["id", "organizationId", "snapshot", "user", "env", "labels", "public", "networkBlockAll", "networkAllowList", "target", "cpu", "gpu", "memory", "disk", "state", "desiredState", "errorReason", "backupState", "backupCreatedAt", "autoStopInterval", "autoArchiveInterval", "autoDeleteInterval", "runnerDomain", "volumes", "buildInfo", "createdAt", "updatedAt", "class", "daemonVersion"]
63
65
 
64
66
  @field_validator('backup_state')
65
67
  def backup_state_validate_enum(cls, value):
@@ -156,6 +158,8 @@ class Sandbox(BaseModel):
156
158
  "env": obj.get("env"),
157
159
  "labels": obj.get("labels"),
158
160
  "public": obj.get("public"),
161
+ "networkBlockAll": obj.get("networkBlockAll"),
162
+ "networkAllowList": obj.get("networkAllowList"),
159
163
  "target": obj.get("target"),
160
164
  "cpu": obj.get("cpu"),
161
165
  "gpu": obj.get("gpu"),
@@ -41,8 +41,8 @@ class SandboxState(str, Enum):
41
41
  BUILDING_SNAPSHOT = 'building_snapshot'
42
42
  UNKNOWN = 'unknown'
43
43
  PULLING_SNAPSHOT = 'pulling_snapshot'
44
- ARCHIVING = 'archiving'
45
44
  ARCHIVED = 'archived'
45
+ ARCHIVING = 'archiving'
46
46
 
47
47
  @classmethod
48
48
  def from_json(cls, json_str: str) -> Self:
@@ -28,11 +28,10 @@ class SessionExecuteResponse(BaseModel):
28
28
  SessionExecuteResponse
29
29
  """ # noqa: E501
30
30
  cmd_id: Optional[StrictStr] = Field(default=None, description="The ID of the executed command", alias="cmdId")
31
- stdout: Optional[StrictStr] = Field(default=None, description="The stdout of the executed command")
32
- stderr: Optional[StrictStr] = Field(default=None, description="The stderr of the executed command")
31
+ output: Optional[StrictStr] = Field(default=None, description="The output of the executed command")
33
32
  exit_code: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The exit code of the executed command", alias="exitCode")
34
33
  additional_properties: Dict[str, Any] = {}
35
- __properties: ClassVar[List[str]] = ["cmdId", "stdout", "stderr", "exitCode"]
34
+ __properties: ClassVar[List[str]] = ["cmdId", "output", "exitCode"]
36
35
 
37
36
  model_config = ConfigDict(
38
37
  populate_by_name=True,
@@ -93,8 +92,7 @@ class SessionExecuteResponse(BaseModel):
93
92
 
94
93
  _obj = cls.model_validate({
95
94
  "cmdId": obj.get("cmdId"),
96
- "stdout": obj.get("stdout"),
97
- "stderr": obj.get("stderr"),
95
+ "output": obj.get("output"),
98
96
  "exitCode": obj.get("exitCode")
99
97
  })
100
98
  # store additional fields in additional_properties
@@ -39,6 +39,8 @@ class Workspace(BaseModel):
39
39
  env: Dict[str, StrictStr] = Field(description="Environment variables for the sandbox")
40
40
  labels: Dict[str, StrictStr] = Field(description="Labels for the sandbox")
41
41
  public: StrictBool = Field(description="Whether the sandbox http preview is public")
42
+ network_block_all: StrictBool = Field(description="Whether to block all network access for the sandbox", alias="networkBlockAll")
43
+ network_allow_list: Optional[StrictStr] = Field(default=None, description="Comma-separated list of allowed CIDR network addresses for the sandbox", alias="networkAllowList")
42
44
  target: StrictStr = Field(description="The target environment for the sandbox")
43
45
  cpu: Union[StrictFloat, StrictInt] = Field(description="The CPU quota for the sandbox")
44
46
  gpu: Union[StrictFloat, StrictInt] = Field(description="The GPU quota for the sandbox")
@@ -65,7 +67,7 @@ class Workspace(BaseModel):
65
67
  snapshot_created_at: Optional[StrictStr] = Field(default=None, description="The creation timestamp of the last snapshot", alias="snapshotCreatedAt")
66
68
  info: Optional[SandboxInfo] = Field(default=None, description="Additional information about the sandbox")
67
69
  additional_properties: Dict[str, Any] = {}
68
- __properties: ClassVar[List[str]] = ["id", "organizationId", "snapshot", "user", "env", "labels", "public", "target", "cpu", "gpu", "memory", "disk", "state", "desiredState", "errorReason", "backupState", "backupCreatedAt", "autoStopInterval", "autoArchiveInterval", "autoDeleteInterval", "runnerDomain", "volumes", "buildInfo", "createdAt", "updatedAt", "class", "daemonVersion", "name", "image", "snapshotState", "snapshotCreatedAt", "info"]
70
+ __properties: ClassVar[List[str]] = ["id", "organizationId", "snapshot", "user", "env", "labels", "public", "networkBlockAll", "networkAllowList", "target", "cpu", "gpu", "memory", "disk", "state", "desiredState", "errorReason", "backupState", "backupCreatedAt", "autoStopInterval", "autoArchiveInterval", "autoDeleteInterval", "runnerDomain", "volumes", "buildInfo", "createdAt", "updatedAt", "class", "daemonVersion", "name", "image", "snapshotState", "snapshotCreatedAt", "info"]
69
71
 
70
72
  @field_validator('backup_state')
71
73
  def backup_state_validate_enum(cls, value):
@@ -175,6 +177,8 @@ class Workspace(BaseModel):
175
177
  "env": obj.get("env"),
176
178
  "labels": obj.get("labels"),
177
179
  "public": obj.get("public"),
180
+ "networkBlockAll": obj.get("networkBlockAll"),
181
+ "networkAllowList": obj.get("networkAllowList"),
178
182
  "target": obj.get("target"),
179
183
  "cpu": obj.get("cpu"),
180
184
  "gpu": obj.get("gpu"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: daytona_api_client_async
3
- Version: 0.26.0a12
3
+ Version: 0.26.0rc1
4
4
  Summary: Daytona
5
5
  Home-page:
6
6
  Author: Daytona Platforms Inc.
@@ -1,4 +1,4 @@
1
- daytona_api_client_async/__init__.py,sha256=pcPyhJ5X2eh8VFJGBTvz6my6xQQDWXeVqgSRF76Occc,11087
1
+ daytona_api_client_async/__init__.py,sha256=sMmc1Din3Y1MqAfa7HThHdwsLIg9LH6iY6v3Oqm9tR8,10986
2
2
  daytona_api_client_async/api_client.py,sha256=FrpVLztK7lFu1O0ZPkojl5l-tB_jGIKmDAc5k-VOWJg,27598
3
3
  daytona_api_client_async/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
4
  daytona_api_client_async/configuration.py,sha256=hWTtQJ-3aR2SzZScWV02gUUaOt1-L99egXbDD6X692Y,17963
@@ -9,26 +9,22 @@ daytona_api_client_async/api/__init__.py,sha256=_oXTg31OXWgFDAhtsr6LhIqb7lxsIqzf
9
9
  daytona_api_client_async/api/api_keys_api.py,sha256=Bw9dqx-luPwOrYGeEZBIH3qSrnCcLdpyHkH1IRxg8Ms,54877
10
10
  daytona_api_client_async/api/audit_api.py,sha256=U0tkNK3qcXG6hx_V51UNdTf0xRoZy3Qwn7Kbmg0MEnU,34388
11
11
  daytona_api_client_async/api/docker_registry_api.py,sha256=AOX05uUPF7PNilvYJrhxse45JO3i1QXvXow3yXIYZGo,79216
12
- daytona_api_client_async/api/images_api.py,sha256=BRQ3DBgRQqu8VPmLb3ILmtd31jjALVsRra-Qm8Xt1Vc,93499
13
- daytona_api_client_async/api/nodes_api.py,sha256=Ecm01Dot8NN5ScqYziMavHmuMkiQ-D190TExSSW8IbU,29201
14
12
  daytona_api_client_async/api/object_storage_api.py,sha256=gPhd3kPth8L26BV6C9QL3-VXax9W0S20_lZgEpoz02U,11677
15
13
  daytona_api_client_async/api/organizations_api.py,sha256=oPVYKUTX3lxNNtPvVEj79uggjj-G70kRs10PUyxspJ8,277925
16
14
  daytona_api_client_async/api/preview_api.py,sha256=tflnMN3QXSTx-tI1GZf70VY714MQTx1DX2edNFbemb8,31216
17
15
  daytona_api_client_async/api/runners_api.py,sha256=DjL55SHmiIG1CkNrhiNGiiW9tBMrkLo1DiqAmNhpDoI,49294
18
16
  daytona_api_client_async/api/sandbox_api.py,sha256=2oyzc0SG5NyzBb2ZC8swUqKephtxgrVsqsvShjPPqwM,176031
19
17
  daytona_api_client_async/api/snapshots_api.py,sha256=8e6q5AKAhheGbJoMriLG_7-LmAuJoA_xafZtWh2nKPQ,103648
20
- daytona_api_client_async/api/toolbox_api.py,sha256=M_Wj8xn62lHFm0xC9-901D3OCl0nJUrcL63yXXh7EEM,723793
18
+ daytona_api_client_async/api/toolbox_api.py,sha256=plhAImkMRhqC4qcCvlRUpjiLD3Uli5HwBWNX1FTuAYM,723310
21
19
  daytona_api_client_async/api/users_api.py,sha256=5vpJFiutNo-ygzejbkOz3iPMT4mLjNyvBZdNWTaQSFw,86876
22
20
  daytona_api_client_async/api/volumes_api.py,sha256=Hhmny-51SBZhvm3Vztaud1ImEY3p14c3VdjeZN8SP7M,56883
23
21
  daytona_api_client_async/api/workspace_api.py,sha256=krpDz2ro-e1QuQ8Bi4cnckymIEIlPJePBM6ieksguq8,170042
24
- daytona_api_client_async/models/__init__.py,sha256=doGva0LSxCOtl0D3WyPLCQCa0Ky8YsQa3gTj3cd9fDw,9576
22
+ daytona_api_client_async/models/__init__.py,sha256=xLxOREdld1QrxoqSpn72bn74XWU5r4Yi2F8g8kKei9M,9475
25
23
  daytona_api_client_async/models/account_provider.py,sha256=yKJ_dMGnxGalNYuVTmo4CoFHpj1PIssSE1rnUaQeOKY,3154
26
24
  daytona_api_client_async/models/api_key_list.py,sha256=LwEm8q2SjDOGa04S0kkk4GRbZPvrpVJ-4Ju1dgcp0b8,5005
27
25
  daytona_api_client_async/models/api_key_response.py,sha256=XWqJdKTMp1w8uoUpmeKn0tKeXeImTJElnTvLunZGX5Y,4611
28
26
  daytona_api_client_async/models/audit_log.py,sha256=sEOzYMbo8D525RhvlbizaiDjcC9fKo0-v2LbkXyxC6A,4689
29
- daytona_api_client_async/models/build_image.py,sha256=1mfN7J2GFk8P2N5CJ5Enx4TXSLt43_uIpy4Hab-SPWc,3554
30
27
  daytona_api_client_async/models/build_info.py,sha256=5mPYDwHA3pQ4fPbNuE3kC9DYUmebIncqc4Fj2BQR1ZQ,3735
31
- daytona_api_client_async/models/build_snapshot.py,sha256=B-zB0ogD3dA5pIRWcu1r3PZArgNBwV9AxVX8nZ8HkuU,4221
32
28
  daytona_api_client_async/models/command.py,sha256=BSsm6JDZ3gX7EfhFMzhsgv_r1q4ycJmN4ba0d2qFoBg,3403
33
29
  daytona_api_client_async/models/completion_context.py,sha256=ulDPkPYnVGiBMzcTDdyGrq9sPwb4ZYECJ8XvC9-rrvc,3330
34
30
  daytona_api_client_async/models/completion_item.py,sha256=fnIhRNLvf0jaB_RXpS28QQyB1DvUMvFl7YLh49r88pk,3803
@@ -38,18 +34,16 @@ daytona_api_client_async/models/computer_use_start_response.py,sha256=9VYe5UMBU-
38
34
  daytona_api_client_async/models/computer_use_status_response.py,sha256=P2dNSx1Ot-szu4y5gk1GCEJixCxsXrVnMNetxeYMh54,3489
39
35
  daytona_api_client_async/models/computer_use_stop_response.py,sha256=FUpPYsIMPXqCGKYqdvVozjHHthg5j0o8NOMCYXjp5lY,3332
40
36
  daytona_api_client_async/models/create_api_key.py,sha256=GFv3d-rA2Mbr9UhP-0O0DKm-gvln_JSGFJjMyoSAc8A,4351
41
- daytona_api_client_async/models/create_audit_log.py,sha256=w6wUGpqj0UROd7GqLPXto_3hsN660WEfobFF-zX-hpg,6863
37
+ daytona_api_client_async/models/create_audit_log.py,sha256=wWI3XbgOEBmjeljAzP-R5HJ9v3xpsiQ1uSQuBYwQNM8,6917
42
38
  daytona_api_client_async/models/create_build_info.py,sha256=hepmmgcZn199sgLksLm3ksJNSv-XLSgqL2BPdFnNAdg,3402
43
39
  daytona_api_client_async/models/create_docker_registry.py,sha256=dyWgwtTu6RcbGgXyosFbwtvPJ55FjuK0duof-jK9o7Q,4337
44
- daytona_api_client_async/models/create_image.py,sha256=THngVmDF8VoDwRu8rQFcja3JGkSVsfguVmvjPRkJnbU,3415
45
40
  daytona_api_client_async/models/create_linked_account.py,sha256=ar_cK_7Ep9iQ6zKeYDEMhQ5m3jc5EuomXj9SpdtWtSE,3289
46
- daytona_api_client_async/models/create_node.py,sha256=oMRNg2Zt_o4s8FYZF_94kaJ5K53zgT5GtxHrfvFt-xc,4516
47
41
  daytona_api_client_async/models/create_organization.py,sha256=0sDPZBYWzMT5pc0edRwPRnDZ9nz4rlOhnNhmwxbtfZg,3091
48
42
  daytona_api_client_async/models/create_organization_invitation.py,sha256=U5uLVrI3b5kfVqffuwzuqaAsZ-Ml-1xGM5RndmIz-Gk,4016
49
43
  daytona_api_client_async/models/create_organization_quota.py,sha256=HERVvV6pRerMtV05dPTwEec82HcSJ_tKFpEcYfLlLrQ,4716
50
44
  daytona_api_client_async/models/create_organization_role.py,sha256=vQai9U9x82hVCfRCotP1UKtaDz3yehtHxOqVEIhG_Ds,4069
51
45
  daytona_api_client_async/models/create_runner.py,sha256=vbNmuFuefPIdhatTu6qALi8GUT0AyP6quf-ZhL1jzdc,4530
52
- daytona_api_client_async/models/create_sandbox.py,sha256=3mYFvLSUC7100AgKv2x4NuYL27gufiPc1uGQFeYQvtw,7088
46
+ daytona_api_client_async/models/create_sandbox.py,sha256=bZnN9zmtlR9XpQyn2jtvpojvsoL-aBmjoGKnlFCZ2O4,7583
53
47
  daytona_api_client_async/models/create_session_request.py,sha256=8Zv23ZXzrW6v2GmygwTUz5bTugAikCT-T8eHwwYRLxc,3136
54
48
  daytona_api_client_async/models/create_snapshot.py,sha256=wBhM3BVLDM_zUIcnln0tU0MDARjzHp3fSfRmeAtgVXc,4774
55
49
  daytona_api_client_async/models/create_user.py,sha256=Amtw3BopSp20zD9QlpZnQHunhSO_yCyKaq3bYBGxJvc,4396
@@ -57,7 +51,6 @@ daytona_api_client_async/models/create_volume.py,sha256=ClRnZzdkEWMIGlGbOix4pbhk
57
51
  daytona_api_client_async/models/create_workspace.py,sha256=e7uJNdwV9SRW0Jxew2A4PuB9VVQ0FlP5votvv9cUiRE,7094
58
52
  daytona_api_client_async/models/display_info_response.py,sha256=ScbtgcWdnqxoVf1UtqolCsDR908Be4VFTyEBaXT_bvc,3142
59
53
  daytona_api_client_async/models/docker_registry.py,sha256=ZvO8zbXkgoQBrIogjBkGWlHnnRwd7CCq_DbdG92o6N4,4326
60
- daytona_api_client_async/models/download_files.py,sha256=kOoubSJieTxqPoRECwDGtMpYZyDdXoMNybJWZ6Rek7Q,3094
61
54
  daytona_api_client_async/models/empty_response.py,sha256=pzQ97N0yWuJfgQ-iLXAaI8wTsLUBFyAbBQtCveYNnho,3097
62
55
  daytona_api_client_async/models/execute_request.py,sha256=pqLiipYbNty2zaiQNfhc9B1zZwQPeqaBtwwlAIEdakU,3401
63
56
  daytona_api_client_async/models/execute_response.py,sha256=fj3cyel-sUbHO61VebQM5j4RHT17k2GEHgNDThicvj8,3261
@@ -73,8 +66,6 @@ daytona_api_client_async/models/git_commit_response.py,sha256=tnB4qIbD49vNfE2u7a
73
66
  daytona_api_client_async/models/git_delete_branch_request.py,sha256=HVsnHjofhwZOQKI0YGcVzzU_vMQJfDjF3-CEExFrxOg,3117
74
67
  daytona_api_client_async/models/git_repo_request.py,sha256=xD6xbFjoNsRF6Y2oZI-T3YE039pTzUVrzIQQKU9AzU8,3226
75
68
  daytona_api_client_async/models/git_status.py,sha256=wiJuRX5Y1hb0V9t8jvonT3c-vDyFgqZMIQhEDRGFCOM,4146
76
- daytona_api_client_async/models/image_dto.py,sha256=6LMXMuObi2HH82ybY2qILl121Xy9a5XqXYSc46NlUMA,5164
77
- daytona_api_client_async/models/image_state.py,sha256=y71lehJMB4DjFKYxCrQ_-su4Rd-y7PQUEzocS8v-LII,918
78
69
  daytona_api_client_async/models/keyboard_hotkey_request.py,sha256=2TUiw1xzR-pnkejwBZ2CMBDukx1oZQXZFqD-gsrLWJU,3153
79
70
  daytona_api_client_async/models/keyboard_hotkey_response.py,sha256=p2fUBgp1UV86eZRYOu8bvvUK59E3kTgcqEqeOuDh_I4,3150
80
71
  daytona_api_client_async/models/keyboard_press_request.py,sha256=hjU2CJYDc0PBW0SWEgYiY_6aQW810dQTu7T6u1VprxE,3351
@@ -103,7 +94,6 @@ daytona_api_client_async/models/organization_role.py,sha256=RXGyGoi6XQI94zMzYU0h
103
94
  daytona_api_client_async/models/organization_suspension.py,sha256=Pd6oBCKzlvI7xAfjDamyte2eHJKOZBFgG3GXMUVOe2A,3586
104
95
  daytona_api_client_async/models/organization_user.py,sha256=Dsk4ziJPNVk4_Nkm-RTePYTeS8sw3RBfHJ-ulY9-A2w,4895
105
96
  daytona_api_client_async/models/paginated_audit_logs.py,sha256=x9kQCrPbgECBptkquJzd-OtULdxgTYa5jSDoHBOBA04,3841
106
- daytona_api_client_async/models/paginated_images_dto.py,sha256=3I2PVVW6j3dlvBQepNSfkTjcq89l07R81U9b_fTV57s,3841
107
97
  daytona_api_client_async/models/paginated_snapshots_dto.py,sha256=hg5tAos3X3gg0fF5TWqElq3iw7crm5Yb7KqlST_sXi0,3865
108
98
  daytona_api_client_async/models/port_preview_url.py,sha256=QnOqJ0-wu7Zy_WiPRG-FeBRTaTZQTUvJrqlSsULQ8rU,3390
109
99
  daytona_api_client_async/models/position.py,sha256=cdJuHMmQrTCxYhKwFbi7NODF7W4fbIxuu4rjw5pJjF0,3141
@@ -121,20 +111,18 @@ daytona_api_client_async/models/runner.py,sha256=f06I4M5klVGVtU0kysR6BaZYDRf9DUW
121
111
  daytona_api_client_async/models/runner_region.py,sha256=Lkxx3kYTx8m4w3ntEiaOafMrUknhtNMfk00oD92kXZE,716
122
112
  daytona_api_client_async/models/runner_snapshot_dto.py,sha256=ZBv1j3_4huI-z4GWbCqxOOT85OSyNYX3FHVAHQU6rbo,3447
123
113
  daytona_api_client_async/models/runner_state.py,sha256=_cGjUiDdFZtUQjPc76YKgawOdxV1BDq0ehyKqWFMjD4,819
124
- daytona_api_client_async/models/sandbox.py,sha256=RD31Q0TOennBE0j6XkbXKuaSu7GjlmpMKKKqAcUI3xg,9468
114
+ daytona_api_client_async/models/sandbox.py,sha256=xTOSMqimyPDvUSvd0C7NJ2Sev7p5t6hrPdzD645IeGY,9939
125
115
  daytona_api_client_async/models/sandbox_class.py,sha256=Suwn9F4jLgtEdLtCWV86PpCtcfZ653h4bMYrmzrwBBc,731
126
116
  daytona_api_client_async/models/sandbox_desired_state.py,sha256=BHvsm7h8ydWf5e48D7eFGRL9tD8vt7eMBMguZ1GChbc,818
127
117
  daytona_api_client_async/models/sandbox_info.py,sha256=u8wFXAS36AyRIwEfcPphUEBxjOLmtZTvYAq4aoeCJsU,3493
128
118
  daytona_api_client_async/models/sandbox_labels.py,sha256=szanqeO42NwBygvKOq8EZtp6-ExERvumB42II24maUY,3091
129
- daytona_api_client_async/models/sandbox_state.py,sha256=PDvt8EowYJrte0vov6MQafNEU9XaHGLS7xTgpRPybqY,1136
119
+ daytona_api_client_async/models/sandbox_state.py,sha256=a3niQChUHt9p-l4Jd2Qio6t6iP6Ic5iBk1G8_ttpGIU,1136
130
120
  daytona_api_client_async/models/sandbox_volume.py,sha256=R-cNh7LCK6IWjEcAXA6bS_JVkmd54X6tCcAEtJtijKE,3260
131
121
  daytona_api_client_async/models/screenshot_response.py,sha256=n-K-Zpk92a3tFY665fcNDJQxDF80YOhLHVzDRbAl_aE,3621
132
122
  daytona_api_client_async/models/search_files_response.py,sha256=3m7itQRgoeqJ8I6PyW-BbRthN5oLEP4pMr4HZsB8uqU,3050
133
123
  daytona_api_client_async/models/session.py,sha256=Y1paKlj2B_yt6mDI_g0aNGLu5mLXmEmuSa6CxBba4rc,3950
134
- daytona_api_client_async/models/session_command_logs_response.py,sha256=4-nfnZUkCRHn2n5_DDDMyyoH2ieBzRcVjU7ka7kuVE8,3254
135
124
  daytona_api_client_async/models/session_execute_request.py,sha256=_okMRsfmRsIeUe9tUSg06doA9t_FtzPJmh0_IV3Yw4c,3545
136
- daytona_api_client_async/models/session_execute_response.py,sha256=IDOtQigdtudUv38VJVl0tVXP6L-0y38UCmY3Z2Uc3R8,3713
137
- daytona_api_client_async/models/set_image_general_status.py,sha256=V3B4pw1yrfdbxTuC0sXVhGO-8qCeEgC0vVuvzZPyxf8,3121
125
+ daytona_api_client_async/models/session_execute_response.py,sha256=_TYkpP7y3HKGYRKUPS1PxXlWQKl2iHOqeYP6jwNR48Q,3558
138
126
  daytona_api_client_async/models/set_snapshot_general_status_dto.py,sha256=d1qZ9B51JmiJAYpCvUgiYgB40Ckj_0ubx9Jse9QMkmQ,3148
139
127
  daytona_api_client_async/models/snapshot_dto.py,sha256=-27y_qwwLdJQw8xe9g9kZBLNRQlme6WgvQl7PWVpmmQ,6063
140
128
  daytona_api_client_async/models/snapshot_state.py,sha256=hVEXEtoHEfE0jd5cF-979GTSKGYZnY6tiIQBU1Ww-9o,975
@@ -152,13 +140,9 @@ daytona_api_client_async/models/user_public_key.py,sha256=Y0_O7Sq8NP3XzCdKJJj7iT
152
140
  daytona_api_client_async/models/volume_dto.py,sha256=yqEdmaSVOLfHdF5nMXJUzbVChRh2K2lmpjfUi5vbJnA,4600
153
141
  daytona_api_client_async/models/volume_state.py,sha256=AaOsyPygY58fquvIkrwFndsXMrG0dCYcGKd8HRZhulg,848
154
142
  daytona_api_client_async/models/windows_response.py,sha256=1fW2GYVSjFbipfQupU2MjfhUlcEyawzwtnWnwGngsFs,3295
155
- daytona_api_client_async/models/workspace.py,sha256=WtXrsklmLtRdSS88qvNg5Y6dPxQ3j1FWFmtyBhusJx0,11047
156
- daytona_api_client_async/models/workspace_info.py,sha256=aO9EkS6E4LhjrFAY25FJZYnhI6VZt2wQVS-Rj0ptILQ,3503
157
- daytona_api_client_async/models/workspace_labels.py,sha256=aMjsVYM4rezpMD6jLVbPqdi72DIIltjqPP0kuGueUsg,3099
158
- daytona_api_client_async/models/workspace_state.py,sha256=AqPukjpvYLhkThzx8T4WsKKSuXOOxLwFZ8385AtNVtE,1108
159
- daytona_api_client_async/models/workspace_volume.py,sha256=Suo2yiRw80i_24Yp5lFsWpQoykTOxqjHYVQPnx84vGc,3268
160
- daytona_api_client_async-0.26.0a12.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
161
- daytona_api_client_async-0.26.0a12.dist-info/METADATA,sha256=6Q85ebSGe60ND45Gg_CW42ZXA47xVtDvlOkrF_HHayE,693
162
- daytona_api_client_async-0.26.0a12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
163
- daytona_api_client_async-0.26.0a12.dist-info/top_level.txt,sha256=PdOUDLVBJmZNDB8ak8FMMwmlyfRqUhQQ9SUDgNnbdZo,25
164
- daytona_api_client_async-0.26.0a12.dist-info/RECORD,,
143
+ daytona_api_client_async/models/workspace.py,sha256=OaLAKPDmeJ0mRoisZg62smbc4GBBTYUZkLqQbIaCHZY,11518
144
+ daytona_api_client_async-0.26.0rc1.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
145
+ daytona_api_client_async-0.26.0rc1.dist-info/METADATA,sha256=MMqDRYc2kX1aB_SaqT6_muJ-A1XVib21hQ-J2eeBQvU,693
146
+ daytona_api_client_async-0.26.0rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
147
+ daytona_api_client_async-0.26.0rc1.dist-info/top_level.txt,sha256=PdOUDLVBJmZNDB8ak8FMMwmlyfRqUhQQ9SUDgNnbdZo,25
148
+ daytona_api_client_async-0.26.0rc1.dist-info/RECORD,,