daytona_api_client 0.25.5__py3-none-any.whl → 0.25.6__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 might be problematic. Click here for more details.

@@ -112,6 +112,7 @@ from daytona_api_client.models.organization import Organization
112
112
  from daytona_api_client.models.organization_invitation import OrganizationInvitation
113
113
  from daytona_api_client.models.organization_role import OrganizationRole
114
114
  from daytona_api_client.models.organization_suspension import OrganizationSuspension
115
+ from daytona_api_client.models.organization_usage_overview import OrganizationUsageOverview
115
116
  from daytona_api_client.models.organization_user import OrganizationUser
116
117
  from daytona_api_client.models.paginated_audit_logs import PaginatedAuditLogs
117
118
  from daytona_api_client.models.paginated_snapshots_dto import PaginatedSnapshotsDto
@@ -152,7 +153,6 @@ from daytona_api_client.models.update_organization_invitation import UpdateOrgan
152
153
  from daytona_api_client.models.update_organization_member_role import UpdateOrganizationMemberRole
153
154
  from daytona_api_client.models.update_organization_quota import UpdateOrganizationQuota
154
155
  from daytona_api_client.models.update_organization_role import UpdateOrganizationRole
155
- from daytona_api_client.models.usage_overview import UsageOverview
156
156
  from daytona_api_client.models.user import User
157
157
  from daytona_api_client.models.user_public_key import UserPublicKey
158
158
  from daytona_api_client.models.volume_dto import VolumeDto
@@ -27,13 +27,13 @@ from daytona_api_client.models.organization import Organization
27
27
  from daytona_api_client.models.organization_invitation import OrganizationInvitation
28
28
  from daytona_api_client.models.organization_role import OrganizationRole
29
29
  from daytona_api_client.models.organization_suspension import OrganizationSuspension
30
+ from daytona_api_client.models.organization_usage_overview import OrganizationUsageOverview
30
31
  from daytona_api_client.models.organization_user import OrganizationUser
31
32
  from daytona_api_client.models.update_assigned_organization_roles import UpdateAssignedOrganizationRoles
32
33
  from daytona_api_client.models.update_organization_invitation import UpdateOrganizationInvitation
33
34
  from daytona_api_client.models.update_organization_member_role import UpdateOrganizationMemberRole
34
35
  from daytona_api_client.models.update_organization_quota import UpdateOrganizationQuota
35
36
  from daytona_api_client.models.update_organization_role import UpdateOrganizationRole
36
- from daytona_api_client.models.usage_overview import UsageOverview
37
37
 
38
38
  from daytona_api_client.api_client import ApiClient, RequestSerialized
39
39
  from daytona_api_client.api_response import ApiResponse
@@ -3234,7 +3234,7 @@ class OrganizationsApi:
3234
3234
  _content_type: Optional[StrictStr] = None,
3235
3235
  _headers: Optional[Dict[StrictStr, Any]] = None,
3236
3236
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3237
- ) -> UsageOverview:
3237
+ ) -> OrganizationUsageOverview:
3238
3238
  """Get organization current usage overview
3239
3239
 
3240
3240
 
@@ -3271,7 +3271,7 @@ class OrganizationsApi:
3271
3271
  )
3272
3272
 
3273
3273
  _response_types_map: Dict[str, Optional[str]] = {
3274
- '200': "UsageOverview",
3274
+ '200': "OrganizationUsageOverview",
3275
3275
  }
3276
3276
  response_data = self.api_client.call_api(
3277
3277
  *_param,
@@ -3300,7 +3300,7 @@ class OrganizationsApi:
3300
3300
  _content_type: Optional[StrictStr] = None,
3301
3301
  _headers: Optional[Dict[StrictStr, Any]] = None,
3302
3302
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3303
- ) -> ApiResponse[UsageOverview]:
3303
+ ) -> ApiResponse[OrganizationUsageOverview]:
3304
3304
  """Get organization current usage overview
3305
3305
 
3306
3306
 
@@ -3337,7 +3337,7 @@ class OrganizationsApi:
3337
3337
  )
3338
3338
 
3339
3339
  _response_types_map: Dict[str, Optional[str]] = {
3340
- '200': "UsageOverview",
3340
+ '200': "OrganizationUsageOverview",
3341
3341
  }
3342
3342
  response_data = self.api_client.call_api(
3343
3343
  *_param,
@@ -3403,7 +3403,7 @@ class OrganizationsApi:
3403
3403
  )
3404
3404
 
3405
3405
  _response_types_map: Dict[str, Optional[str]] = {
3406
- '200': "UsageOverview",
3406
+ '200': "OrganizationUsageOverview",
3407
3407
  }
3408
3408
  response_data = self.api_client.call_api(
3409
3409
  *_param,
@@ -83,6 +83,7 @@ from daytona_api_client.models.organization import Organization
83
83
  from daytona_api_client.models.organization_invitation import OrganizationInvitation
84
84
  from daytona_api_client.models.organization_role import OrganizationRole
85
85
  from daytona_api_client.models.organization_suspension import OrganizationSuspension
86
+ from daytona_api_client.models.organization_usage_overview import OrganizationUsageOverview
86
87
  from daytona_api_client.models.organization_user import OrganizationUser
87
88
  from daytona_api_client.models.paginated_audit_logs import PaginatedAuditLogs
88
89
  from daytona_api_client.models.paginated_snapshots_dto import PaginatedSnapshotsDto
@@ -123,7 +124,6 @@ from daytona_api_client.models.update_organization_invitation import UpdateOrgan
123
124
  from daytona_api_client.models.update_organization_member_role import UpdateOrganizationMemberRole
124
125
  from daytona_api_client.models.update_organization_quota import UpdateOrganizationQuota
125
126
  from daytona_api_client.models.update_organization_role import UpdateOrganizationRole
126
- from daytona_api_client.models.usage_overview import UsageOverview
127
127
  from daytona_api_client.models.user import User
128
128
  from daytona_api_client.models.user_public_key import UserPublicKey
129
129
  from daytona_api_client.models.volume_dto import VolumeDto
@@ -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"),
@@ -0,0 +1,119 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Daytona
5
+
6
+ Daytona AI platform API Docs
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Contact: support@daytona.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt
22
+ from typing import Any, ClassVar, Dict, List, Union
23
+ from typing import Optional, Set
24
+ from typing_extensions import Self
25
+
26
+ class OrganizationUsageOverview(BaseModel):
27
+ """
28
+ OrganizationUsageOverview
29
+ """ # noqa: E501
30
+ total_cpu_quota: Union[StrictFloat, StrictInt] = Field(alias="totalCpuQuota")
31
+ total_memory_quota: Union[StrictFloat, StrictInt] = Field(alias="totalMemoryQuota")
32
+ total_disk_quota: Union[StrictFloat, StrictInt] = Field(alias="totalDiskQuota")
33
+ current_cpu_usage: Union[StrictFloat, StrictInt] = Field(alias="currentCpuUsage")
34
+ current_memory_usage: Union[StrictFloat, StrictInt] = Field(alias="currentMemoryUsage")
35
+ current_disk_usage: Union[StrictFloat, StrictInt] = Field(alias="currentDiskUsage")
36
+ total_snapshot_quota: Union[StrictFloat, StrictInt] = Field(alias="totalSnapshotQuota")
37
+ current_snapshot_usage: Union[StrictFloat, StrictInt] = Field(alias="currentSnapshotUsage")
38
+ total_volume_quota: Union[StrictFloat, StrictInt] = Field(alias="totalVolumeQuota")
39
+ current_volume_usage: Union[StrictFloat, StrictInt] = Field(alias="currentVolumeUsage")
40
+ additional_properties: Dict[str, Any] = {}
41
+ __properties: ClassVar[List[str]] = ["totalCpuQuota", "totalMemoryQuota", "totalDiskQuota", "currentCpuUsage", "currentMemoryUsage", "currentDiskUsage", "totalSnapshotQuota", "currentSnapshotUsage", "totalVolumeQuota", "currentVolumeUsage"]
42
+
43
+ model_config = ConfigDict(
44
+ populate_by_name=True,
45
+ validate_assignment=True,
46
+ protected_namespaces=(),
47
+ )
48
+
49
+
50
+ def to_str(self) -> str:
51
+ """Returns the string representation of the model using alias"""
52
+ return pprint.pformat(self.model_dump(by_alias=True))
53
+
54
+ def to_json(self) -> str:
55
+ """Returns the JSON representation of the model using alias"""
56
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
57
+ return json.dumps(self.to_dict())
58
+
59
+ @classmethod
60
+ def from_json(cls, json_str: str) -> Optional[Self]:
61
+ """Create an instance of OrganizationUsageOverview from a JSON string"""
62
+ return cls.from_dict(json.loads(json_str))
63
+
64
+ def to_dict(self) -> Dict[str, Any]:
65
+ """Return the dictionary representation of the model using alias.
66
+
67
+ This has the following differences from calling pydantic's
68
+ `self.model_dump(by_alias=True)`:
69
+
70
+ * `None` is only added to the output dict for nullable fields that
71
+ were set at model initialization. Other fields with value `None`
72
+ are ignored.
73
+ * Fields in `self.additional_properties` are added to the output dict.
74
+ """
75
+ excluded_fields: Set[str] = set([
76
+ "additional_properties",
77
+ ])
78
+
79
+ _dict = self.model_dump(
80
+ by_alias=True,
81
+ exclude=excluded_fields,
82
+ exclude_none=True,
83
+ )
84
+ # puts key-value pairs in additional_properties in the top level
85
+ if self.additional_properties is not None:
86
+ for _key, _value in self.additional_properties.items():
87
+ _dict[_key] = _value
88
+
89
+ return _dict
90
+
91
+ @classmethod
92
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
93
+ """Create an instance of OrganizationUsageOverview from a dict"""
94
+ if obj is None:
95
+ return None
96
+
97
+ if not isinstance(obj, dict):
98
+ return cls.model_validate(obj)
99
+
100
+ _obj = cls.model_validate({
101
+ "totalCpuQuota": obj.get("totalCpuQuota"),
102
+ "totalMemoryQuota": obj.get("totalMemoryQuota"),
103
+ "totalDiskQuota": obj.get("totalDiskQuota"),
104
+ "currentCpuUsage": obj.get("currentCpuUsage"),
105
+ "currentMemoryUsage": obj.get("currentMemoryUsage"),
106
+ "currentDiskUsage": obj.get("currentDiskUsage"),
107
+ "totalSnapshotQuota": obj.get("totalSnapshotQuota"),
108
+ "currentSnapshotUsage": obj.get("currentSnapshotUsage"),
109
+ "totalVolumeQuota": obj.get("totalVolumeQuota"),
110
+ "currentVolumeUsage": obj.get("currentVolumeUsage")
111
+ })
112
+ # store additional fields in additional_properties
113
+ for _key in obj.keys():
114
+ if _key not in cls.__properties:
115
+ _obj.additional_properties[_key] = obj.get(_key)
116
+
117
+ return _obj
118
+
119
+
@@ -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:
@@ -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
3
- Version: 0.25.5
3
+ Version: 0.25.6
4
4
  Summary: Daytona
5
5
  Home-page:
6
6
  Author: Daytona Platforms Inc.
@@ -1,4 +1,4 @@
1
- daytona_api_client/__init__.py,sha256=hQHxKI9Jx7vhpnUFMs9TlZlfIGqDMEwyN-0u8Ef0YfQ,10164
1
+ daytona_api_client/__init__.py,sha256=ljjM7emm6VuGRQegJ6OgMksUH-iCVaAq2bVFtp1taKM,10189
2
2
  daytona_api_client/api_client.py,sha256=9EKcRsveS2okE5kTbp212LVTY6LJATDZEqA8Rj77vXY,27455
3
3
  daytona_api_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
4
  daytona_api_client/configuration.py,sha256=Dz7AXjEZ4BCCCUoGQZLfXUTtuH1PUuo3KrlwLO5Dlsk,18241
@@ -10,7 +10,7 @@ daytona_api_client/api/api_keys_api.py,sha256=bK0q7sbCBc0eAqRXQxx4F6UyjJ7A7qUCWp
10
10
  daytona_api_client/api/audit_api.py,sha256=5vx-1YZfKZmOmOhRHBtz4JGtRbiNDAKq4wpjHIe3iNw,34208
11
11
  daytona_api_client/api/docker_registry_api.py,sha256=ids7YUbqX4s2uwv7ROhqFqNzHzdYa7nK9wOPQ5rgB8U,78838
12
12
  daytona_api_client/api/object_storage_api.py,sha256=wvOdTUjvlChxzwwzA-49iwjl46F0uFt06Axfcb_BX4Q,11605
13
- daytona_api_client/api/organizations_api.py,sha256=azMy11l0lkSjV3BSIQUIZqy1G1wgNK7AQnNEhoUUrLI,276575
13
+ daytona_api_client/api/organizations_api.py,sha256=ImQo7nBxtzgIiRXMBdyVxrjC-u8dPLKDa3BLqirGn0Y,276660
14
14
  daytona_api_client/api/preview_api.py,sha256=_cYR0xaBKtYBFUKIRezvR0d6swN7yKkmVkJ5yBLk_ro,31054
15
15
  daytona_api_client/api/runners_api.py,sha256=kl74Mg19G71Kcj9dNK9xeJCaZ2upk4z-DS7Ul70n-Ww,49018
16
16
  daytona_api_client/api/sandbox_api.py,sha256=HIcVHneL_fcHF867FMb5kou9zXDKhZvTWKlowr59Zb4,175269
@@ -19,7 +19,7 @@ daytona_api_client/api/toolbox_api.py,sha256=izj9K1CqTATLepFrFqrgJ0rAZ3TlBXYlcuX
19
19
  daytona_api_client/api/users_api.py,sha256=KR4cw2mfRp06QV2b0UXXQ1Jcx59TyuS0c7yGRr2Sodk,86402
20
20
  daytona_api_client/api/volumes_api.py,sha256=N9kxZzhfaZxC_YQ-Vi1QksoTIzqp_dFADywgQup1oSk,56613
21
21
  daytona_api_client/api/workspace_api.py,sha256=mjn4jlTtMbKfuqxcr9goo-01RJX-hFjVLT1rF8K5uKI,169328
22
- daytona_api_client/models/__init__.py,sha256=6tOqBwIma5R5Hn0ihlH37vfnJFUZIdgbelQ7XS8auzk,8785
22
+ daytona_api_client/models/__init__.py,sha256=XC8OEoS_8-nqr5daBjTwiaoj5LvcyeVWbxNuWm-2QWI,8810
23
23
  daytona_api_client/models/account_provider.py,sha256=yKJ_dMGnxGalNYuVTmo4CoFHpj1PIssSE1rnUaQeOKY,3154
24
24
  daytona_api_client/models/account_provider_dto.py,sha256=__7634O02yfv49jLLzvadJlF1YodOeZmWzjZKUmtd2Y,3154
25
25
  daytona_api_client/models/api_key_list.py,sha256=LwEm8q2SjDOGa04S0kkk4GRbZPvrpVJ-4Ju1dgcp0b8,5005
@@ -36,7 +36,7 @@ daytona_api_client/models/computer_use_start_response.py,sha256=9VYe5UMBU-0EpGaw
36
36
  daytona_api_client/models/computer_use_status_response.py,sha256=P2dNSx1Ot-szu4y5gk1GCEJixCxsXrVnMNetxeYMh54,3489
37
37
  daytona_api_client/models/computer_use_stop_response.py,sha256=FUpPYsIMPXqCGKYqdvVozjHHthg5j0o8NOMCYXjp5lY,3332
38
38
  daytona_api_client/models/create_api_key.py,sha256=GFv3d-rA2Mbr9UhP-0O0DKm-gvln_JSGFJjMyoSAc8A,4351
39
- daytona_api_client/models/create_audit_log.py,sha256=w6wUGpqj0UROd7GqLPXto_3hsN660WEfobFF-zX-hpg,6863
39
+ daytona_api_client/models/create_audit_log.py,sha256=wWI3XbgOEBmjeljAzP-R5HJ9v3xpsiQ1uSQuBYwQNM8,6917
40
40
  daytona_api_client/models/create_build_info.py,sha256=hepmmgcZn199sgLksLm3ksJNSv-XLSgqL2BPdFnNAdg,3402
41
41
  daytona_api_client/models/create_docker_registry.py,sha256=dyWgwtTu6RcbGgXyosFbwtvPJ55FjuK0duof-jK9o7Q,4337
42
42
  daytona_api_client/models/create_linked_account.py,sha256=ar_cK_7Ep9iQ6zKeYDEMhQ5m3jc5EuomXj9SpdtWtSE,3289
@@ -45,7 +45,7 @@ daytona_api_client/models/create_organization_invitation.py,sha256=U5uLVrI3b5kfV
45
45
  daytona_api_client/models/create_organization_quota.py,sha256=HERVvV6pRerMtV05dPTwEec82HcSJ_tKFpEcYfLlLrQ,4716
46
46
  daytona_api_client/models/create_organization_role.py,sha256=vQai9U9x82hVCfRCotP1UKtaDz3yehtHxOqVEIhG_Ds,4069
47
47
  daytona_api_client/models/create_runner.py,sha256=vbNmuFuefPIdhatTu6qALi8GUT0AyP6quf-ZhL1jzdc,4530
48
- daytona_api_client/models/create_sandbox.py,sha256=ZGEBbWleGnxbfm8WbDjzoN77rwzCvYGPUG78dTiCV6k,7076
48
+ daytona_api_client/models/create_sandbox.py,sha256=Fpw-r_W4Navki333EBbSjqK2YRrjvWgiwnzV-WhyUzo,7571
49
49
  daytona_api_client/models/create_session_request.py,sha256=8Zv23ZXzrW6v2GmygwTUz5bTugAikCT-T8eHwwYRLxc,3136
50
50
  daytona_api_client/models/create_snapshot.py,sha256=WGea9750qOcwwAjSjFRYFhlA3H0m5SUotrGgJm3z6Is,4768
51
51
  daytona_api_client/models/create_user.py,sha256=__5zKvbJCtB44mALgvZBPlYghxlcdPUjLCDiIITKJiM,4390
@@ -96,6 +96,7 @@ daytona_api_client/models/organization.py,sha256=C9r47QH32-YeOmoE3EgtnXpiUIloq6z
96
96
  daytona_api_client/models/organization_invitation.py,sha256=LXPDanRJHU6bfXD-wanIY2Ise7VakZoRLgqhYrOu_Vk,5722
97
97
  daytona_api_client/models/organization_role.py,sha256=RXGyGoi6XQI94zMzYU0h7UzI6Dm245t4hwNkKV9TCiE,4571
98
98
  daytona_api_client/models/organization_suspension.py,sha256=Pd6oBCKzlvI7xAfjDamyte2eHJKOZBFgG3GXMUVOe2A,3586
99
+ daytona_api_client/models/organization_usage_overview.py,sha256=49A5lhlQf30c2i5YdEZ17VCnFp_35zhVHBC76Eju_R0,4736
99
100
  daytona_api_client/models/organization_user.py,sha256=t4rkA-cpCRLgLqDMplg1yv2JYUu7jrRBLPL1xkcjaJI,4889
100
101
  daytona_api_client/models/paginated_audit_logs.py,sha256=CThN80Prqq93G6w6GqFxAA6zlWfcZREPG4T0r8obhgw,3835
101
102
  daytona_api_client/models/paginated_snapshots_dto.py,sha256=v0b9U3XZUjQ2AVJE0Vv-2Do9rCuy2aN4ZwU8s_L8fUw,3859
@@ -115,12 +116,12 @@ daytona_api_client/models/runner.py,sha256=1IfxPT2n-jmHW3yrtO1gHYmofyX9Lktvn6uP0
115
116
  daytona_api_client/models/runner_region.py,sha256=Lkxx3kYTx8m4w3ntEiaOafMrUknhtNMfk00oD92kXZE,716
116
117
  daytona_api_client/models/runner_snapshot_dto.py,sha256=ZBv1j3_4huI-z4GWbCqxOOT85OSyNYX3FHVAHQU6rbo,3447
117
118
  daytona_api_client/models/runner_state.py,sha256=_cGjUiDdFZtUQjPc76YKgawOdxV1BDq0ehyKqWFMjD4,819
118
- daytona_api_client/models/sandbox.py,sha256=D3RxrYjaj4k8fccqvqF6eWd37HvQ6Z_jsokLe9kspNQ,9444
119
+ daytona_api_client/models/sandbox.py,sha256=gJu6wT5iPE2Pl5lVrTFUxxCqL-49UpbXdAS-Li13uvQ,9915
119
120
  daytona_api_client/models/sandbox_class.py,sha256=Suwn9F4jLgtEdLtCWV86PpCtcfZ653h4bMYrmzrwBBc,731
120
121
  daytona_api_client/models/sandbox_desired_state.py,sha256=BHvsm7h8ydWf5e48D7eFGRL9tD8vt7eMBMguZ1GChbc,818
121
122
  daytona_api_client/models/sandbox_info.py,sha256=u8wFXAS36AyRIwEfcPphUEBxjOLmtZTvYAq4aoeCJsU,3493
122
123
  daytona_api_client/models/sandbox_labels.py,sha256=szanqeO42NwBygvKOq8EZtp6-ExERvumB42II24maUY,3091
123
- daytona_api_client/models/sandbox_state.py,sha256=PDvt8EowYJrte0vov6MQafNEU9XaHGLS7xTgpRPybqY,1136
124
+ daytona_api_client/models/sandbox_state.py,sha256=a3niQChUHt9p-l4Jd2Qio6t6iP6Ic5iBk1G8_ttpGIU,1136
124
125
  daytona_api_client/models/sandbox_volume.py,sha256=R-cNh7LCK6IWjEcAXA6bS_JVkmd54X6tCcAEtJtijKE,3260
125
126
  daytona_api_client/models/screenshot_response.py,sha256=n-K-Zpk92a3tFY665fcNDJQxDF80YOhLHVzDRbAl_aE,3621
126
127
  daytona_api_client/models/search_files_response.py,sha256=3m7itQRgoeqJ8I6PyW-BbRthN5oLEP4pMr4HZsB8uqU,3050
@@ -150,9 +151,9 @@ daytona_api_client/models/volume.py,sha256=asBdm16e6uaBZKs00f-TMYVRVHyJaNuZquxdY
150
151
  daytona_api_client/models/volume_dto.py,sha256=NL6A6xpc9liR_zlVZKGCoHLlz6r4LAHrMW2uL0TClnI,4594
151
152
  daytona_api_client/models/volume_state.py,sha256=AaOsyPygY58fquvIkrwFndsXMrG0dCYcGKd8HRZhulg,848
152
153
  daytona_api_client/models/windows_response.py,sha256=1fW2GYVSjFbipfQupU2MjfhUlcEyawzwtnWnwGngsFs,3295
153
- daytona_api_client/models/workspace.py,sha256=9ORG3s149qLI_7RSAAPf7j6WR1AZAgpkS37BFWQJ1Qk,11017
154
- daytona_api_client-0.25.5.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
155
- daytona_api_client-0.25.5.dist-info/METADATA,sha256=c24IjVW7plb2xGZfOCVa8Ns78ytjOqeK9aJHmkt_o-g,618
156
- daytona_api_client-0.25.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
157
- daytona_api_client-0.25.5.dist-info/top_level.txt,sha256=sDZKAfxKnAQYvOLS9vAOx88EYH3wV5Wx897pODDupuE,19
158
- daytona_api_client-0.25.5.dist-info/RECORD,,
154
+ daytona_api_client/models/workspace.py,sha256=uwAStXOLrVJzbxdTfPZokrcMr4Dp4ghgH8V5fy5r0gY,11488
155
+ daytona_api_client-0.25.6.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
156
+ daytona_api_client-0.25.6.dist-info/METADATA,sha256=56HH6HHVTBf0vgCtv3Yi3iFQCVf1MtAmYrxvHYnfYfQ,618
157
+ daytona_api_client-0.25.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
158
+ daytona_api_client-0.25.6.dist-info/top_level.txt,sha256=sDZKAfxKnAQYvOLS9vAOx88EYH3wV5Wx897pODDupuE,19
159
+ daytona_api_client-0.25.6.dist-info/RECORD,,