daytona_api_client_async 0.107.1__py3-none-any.whl → 0.108.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.

@@ -54,7 +54,7 @@ class PreviewApi:
54
54
  _content_type: Optional[StrictStr] = None,
55
55
  _headers: Optional[Dict[StrictStr, Any]] = None,
56
56
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
57
- ) -> None:
57
+ ) -> bool:
58
58
  """Check if user has access to the sandbox
59
59
 
60
60
 
@@ -91,7 +91,7 @@ class PreviewApi:
91
91
  )
92
92
 
93
93
  _response_types_map: Dict[str, Optional[str]] = {
94
- '200': None,
94
+ '200': "bool",
95
95
  }
96
96
  response_data = await self.api_client.call_api(
97
97
  *_param,
@@ -120,7 +120,7 @@ class PreviewApi:
120
120
  _content_type: Optional[StrictStr] = None,
121
121
  _headers: Optional[Dict[StrictStr, Any]] = None,
122
122
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
123
- ) -> ApiResponse[None]:
123
+ ) -> ApiResponse[bool]:
124
124
  """Check if user has access to the sandbox
125
125
 
126
126
 
@@ -157,7 +157,7 @@ class PreviewApi:
157
157
  )
158
158
 
159
159
  _response_types_map: Dict[str, Optional[str]] = {
160
- '200': None,
160
+ '200': "bool",
161
161
  }
162
162
  response_data = await self.api_client.call_api(
163
163
  *_param,
@@ -223,7 +223,7 @@ class PreviewApi:
223
223
  )
224
224
 
225
225
  _response_types_map: Dict[str, Optional[str]] = {
226
- '200': None,
226
+ '200': "bool",
227
227
  }
228
228
  response_data = await self.api_client.call_api(
229
229
  *_param,
@@ -264,6 +264,13 @@ class PreviewApi:
264
264
  # process the body parameter
265
265
 
266
266
 
267
+ # set the HTTP header `Accept`
268
+ if 'Accept' not in _header_params:
269
+ _header_params['Accept'] = self.api_client.select_header_accept(
270
+ [
271
+ 'application/json'
272
+ ]
273
+ )
267
274
 
268
275
 
269
276
  # authentication setting
@@ -37,6 +37,7 @@ class DaytonaConfiguration(BaseModel):
37
37
  announcements: Dict[str, Announcement] = Field(description="System announcements")
38
38
  pylon_app_id: Optional[StrictStr] = Field(default=None, description="Pylon application ID", alias="pylonAppId")
39
39
  proxy_template_url: StrictStr = Field(description="Proxy template URL", alias="proxyTemplateUrl")
40
+ proxy_toolbox_url: StrictStr = Field(description="Toolbox template URL", alias="proxyToolboxUrl")
40
41
  default_snapshot: StrictStr = Field(description="Default snapshot for sandboxes", alias="defaultSnapshot")
41
42
  dashboard_url: StrictStr = Field(description="Dashboard URL", alias="dashboardUrl")
42
43
  max_auto_archive_interval: Union[StrictFloat, StrictInt] = Field(description="Maximum auto-archive interval in minutes", alias="maxAutoArchiveInterval")
@@ -46,7 +47,7 @@ class DaytonaConfiguration(BaseModel):
46
47
  ssh_gateway_command: Optional[StrictStr] = Field(default=None, description="SSH Gateway command", alias="sshGatewayCommand")
47
48
  ssh_gateway_public_key: Optional[StrictStr] = Field(default=None, description="Base64 encoded SSH Gateway public key", alias="sshGatewayPublicKey")
48
49
  additional_properties: Dict[str, Any] = {}
49
- __properties: ClassVar[List[str]] = ["version", "posthog", "oidc", "linkedAccountsEnabled", "announcements", "pylonAppId", "proxyTemplateUrl", "defaultSnapshot", "dashboardUrl", "maxAutoArchiveInterval", "maintananceMode", "environment", "billingApiUrl", "sshGatewayCommand", "sshGatewayPublicKey"]
50
+ __properties: ClassVar[List[str]] = ["version", "posthog", "oidc", "linkedAccountsEnabled", "announcements", "pylonAppId", "proxyTemplateUrl", "proxyToolboxUrl", "defaultSnapshot", "dashboardUrl", "maxAutoArchiveInterval", "maintananceMode", "environment", "billingApiUrl", "sshGatewayCommand", "sshGatewayPublicKey"]
50
51
 
51
52
  model_config = ConfigDict(
52
53
  populate_by_name=True,
@@ -131,6 +132,7 @@ class DaytonaConfiguration(BaseModel):
131
132
  else None,
132
133
  "pylonAppId": obj.get("pylonAppId"),
133
134
  "proxyTemplateUrl": obj.get("proxyTemplateUrl"),
135
+ "proxyToolboxUrl": obj.get("proxyToolboxUrl"),
134
136
  "defaultSnapshot": obj.get("defaultSnapshot"),
135
137
  "dashboardUrl": obj.get("dashboardUrl"),
136
138
  "maxAutoArchiveInterval": obj.get("maxAutoArchiveInterval"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: daytona_api_client_async
3
- Version: 0.107.1
3
+ Version: 0.108.0rc1
4
4
  Summary: Daytona
5
5
  Home-page:
6
6
  Author: Daytona Platforms Inc.
@@ -14,7 +14,7 @@ daytona_api_client_async/api/docker_registry_api.py,sha256=AOX05uUPF7PNilvYJrhxs
14
14
  daytona_api_client_async/api/health_api.py,sha256=9VKj52XnQ20iu0rbuLlSBiUVIK_Odu5gsAH_juVXC8I,10605
15
15
  daytona_api_client_async/api/object_storage_api.py,sha256=gPhd3kPth8L26BV6C9QL3-VXax9W0S20_lZgEpoz02U,11677
16
16
  daytona_api_client_async/api/organizations_api.py,sha256=y3BoFTUBFzrEKZNT7XGveCwPD4S9CI6Y9zZlx7fJyGQ,277689
17
- daytona_api_client_async/api/preview_api.py,sha256=tflnMN3QXSTx-tI1GZf70VY714MQTx1DX2edNFbemb8,31216
17
+ daytona_api_client_async/api/preview_api.py,sha256=PtBAUvWu8647b9jS3OQR3UC9h3FnD2cqCUJaEDTG6bs,31470
18
18
  daytona_api_client_async/api/runners_api.py,sha256=DjL55SHmiIG1CkNrhiNGiiW9tBMrkLo1DiqAmNhpDoI,49294
19
19
  daytona_api_client_async/api/sandbox_api.py,sha256=SQbk3ykEkGE2IfwqXRh4eSRTDo5pMwfG3vY_W0oP3nM,236723
20
20
  daytona_api_client_async/api/snapshots_api.py,sha256=8e6q5AKAhheGbJoMriLG_7-LmAuJoA_xafZtWh2nKPQ,103648
@@ -55,7 +55,7 @@ daytona_api_client_async/models/create_snapshot.py,sha256=wBhM3BVLDM_zUIcnln0tU0
55
55
  daytona_api_client_async/models/create_user.py,sha256=Amtw3BopSp20zD9QlpZnQHunhSO_yCyKaq3bYBGxJvc,4396
56
56
  daytona_api_client_async/models/create_volume.py,sha256=ClRnZzdkEWMIGlGbOix4pbhki7IcKPqF94OiL0Dygj4,3012
57
57
  daytona_api_client_async/models/create_workspace.py,sha256=e7uJNdwV9SRW0Jxew2A4PuB9VVQ0FlP5votvv9cUiRE,7094
58
- daytona_api_client_async/models/daytona_configuration.py,sha256=tpDzAxWcl7N4RBbS20ITJiIXXpkA2ysT5UtY1ulu_Mw,7004
58
+ daytona_api_client_async/models/daytona_configuration.py,sha256=zUUvbai5kkwhv9xCvMiK2hBH_8d-Q3We7mb5ykDdpDM,7184
59
59
  daytona_api_client_async/models/display_info_response.py,sha256=ScbtgcWdnqxoVf1UtqolCsDR908Be4VFTyEBaXT_bvc,3142
60
60
  daytona_api_client_async/models/docker_registry.py,sha256=vsV50KVZMVRHrm5O6ZkKvmbLlX0Lo_XVIzL3lyrRNOY,4326
61
61
  daytona_api_client_async/models/download_files.py,sha256=kOoubSJieTxqPoRECwDGtMpYZyDdXoMNybJWZ6Rek7Q,3094
@@ -194,8 +194,8 @@ daytona_api_client_async/models/windows_response.py,sha256=1fW2GYVSjFbipfQupU2Mj
194
194
  daytona_api_client_async/models/work_dir_response.py,sha256=1dndjWYnDSMDeLiY8pxQDX1viESoAGF_fegSiMx3i40,3047
195
195
  daytona_api_client_async/models/workdir_response.py,sha256=geBhfQDR7LK0uPlmJF6Ple1eQMCzhSb4qK-9UfhqV7k,3047
196
196
  daytona_api_client_async/models/workspace.py,sha256=OaLAKPDmeJ0mRoisZg62smbc4GBBTYUZkLqQbIaCHZY,11518
197
- daytona_api_client_async-0.107.1.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
198
- daytona_api_client_async-0.107.1.dist-info/METADATA,sha256=shfLEqW4InG14CXIR1qQgn3AaRIh0unqjZa0xP3r2Zg,691
199
- daytona_api_client_async-0.107.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
200
- daytona_api_client_async-0.107.1.dist-info/top_level.txt,sha256=PdOUDLVBJmZNDB8ak8FMMwmlyfRqUhQQ9SUDgNnbdZo,25
201
- daytona_api_client_async-0.107.1.dist-info/RECORD,,
197
+ daytona_api_client_async-0.108.0rc1.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
198
+ daytona_api_client_async-0.108.0rc1.dist-info/METADATA,sha256=MgL2A4U3j-8BHJ7HczalKv2idzWaS6U0M9CyoSK6kmE,694
199
+ daytona_api_client_async-0.108.0rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
200
+ daytona_api_client_async-0.108.0rc1.dist-info/top_level.txt,sha256=PdOUDLVBJmZNDB8ak8FMMwmlyfRqUhQQ9SUDgNnbdZo,25
201
+ daytona_api_client_async-0.108.0rc1.dist-info/RECORD,,