daytona_api_client_async 0.103.0rc3__py3-none-any.whl → 0.104.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.

@@ -26,6 +26,7 @@ from daytona_api_client_async.models.sandbox import Sandbox
26
26
  from daytona_api_client_async.models.sandbox_labels import SandboxLabels
27
27
  from daytona_api_client_async.models.ssh_access_dto import SshAccessDto
28
28
  from daytona_api_client_async.models.ssh_access_validation_dto import SshAccessValidationDto
29
+ from daytona_api_client_async.models.update_sandbox_state_dto import UpdateSandboxStateDto
29
30
 
30
31
  from daytona_api_client_async.api_client import ApiClient, RequestSerialized
31
32
  from daytona_api_client_async.api_response import ApiResponse
@@ -2312,6 +2313,282 @@ class SandboxApi:
2312
2313
 
2313
2314
 
2314
2315
 
2316
+ @validate_call
2317
+ async def get_sandboxes_for_runner(
2318
+ self,
2319
+ state: StrictStr,
2320
+ x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
2321
+ _request_timeout: Union[
2322
+ None,
2323
+ Annotated[StrictFloat, Field(gt=0)],
2324
+ Tuple[
2325
+ Annotated[StrictFloat, Field(gt=0)],
2326
+ Annotated[StrictFloat, Field(gt=0)]
2327
+ ]
2328
+ ] = None,
2329
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2330
+ _content_type: Optional[StrictStr] = None,
2331
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2332
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2333
+ ) -> List[Sandbox]:
2334
+ """Get sandboxes for the authenticated runner
2335
+
2336
+
2337
+ :param state: (required)
2338
+ :type state: str
2339
+ :param x_daytona_organization_id: Use with JWT to specify the organization ID
2340
+ :type x_daytona_organization_id: str
2341
+ :param _request_timeout: timeout setting for this request. If one
2342
+ number provided, it will be total request
2343
+ timeout. It can also be a pair (tuple) of
2344
+ (connection, read) timeouts.
2345
+ :type _request_timeout: int, tuple(int, int), optional
2346
+ :param _request_auth: set to override the auth_settings for an a single
2347
+ request; this effectively ignores the
2348
+ authentication in the spec for a single request.
2349
+ :type _request_auth: dict, optional
2350
+ :param _content_type: force content-type for the request.
2351
+ :type _content_type: str, Optional
2352
+ :param _headers: set to override the headers for a single
2353
+ request; this effectively ignores the headers
2354
+ in the spec for a single request.
2355
+ :type _headers: dict, optional
2356
+ :param _host_index: set to override the host_index for a single
2357
+ request; this effectively ignores the host_index
2358
+ in the spec for a single request.
2359
+ :type _host_index: int, optional
2360
+ :return: Returns the result object.
2361
+ """ # noqa: E501
2362
+
2363
+ _param = self._get_sandboxes_for_runner_serialize(
2364
+ state=state,
2365
+ x_daytona_organization_id=x_daytona_organization_id,
2366
+ _request_auth=_request_auth,
2367
+ _content_type=_content_type,
2368
+ _headers=_headers,
2369
+ _host_index=_host_index
2370
+ )
2371
+
2372
+ _response_types_map: Dict[str, Optional[str]] = {
2373
+ '200': "List[Sandbox]",
2374
+ }
2375
+ response_data = await self.api_client.call_api(
2376
+ *_param,
2377
+ _request_timeout=_request_timeout
2378
+ )
2379
+ await response_data.read()
2380
+ return self.api_client.response_deserialize(
2381
+ response_data=response_data,
2382
+ response_types_map=_response_types_map,
2383
+ ).data
2384
+
2385
+
2386
+ @validate_call
2387
+ async def get_sandboxes_for_runner_with_http_info(
2388
+ self,
2389
+ state: StrictStr,
2390
+ x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
2391
+ _request_timeout: Union[
2392
+ None,
2393
+ Annotated[StrictFloat, Field(gt=0)],
2394
+ Tuple[
2395
+ Annotated[StrictFloat, Field(gt=0)],
2396
+ Annotated[StrictFloat, Field(gt=0)]
2397
+ ]
2398
+ ] = None,
2399
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2400
+ _content_type: Optional[StrictStr] = None,
2401
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2402
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2403
+ ) -> ApiResponse[List[Sandbox]]:
2404
+ """Get sandboxes for the authenticated runner
2405
+
2406
+
2407
+ :param state: (required)
2408
+ :type state: str
2409
+ :param x_daytona_organization_id: Use with JWT to specify the organization ID
2410
+ :type x_daytona_organization_id: str
2411
+ :param _request_timeout: timeout setting for this request. If one
2412
+ number provided, it will be total request
2413
+ timeout. It can also be a pair (tuple) of
2414
+ (connection, read) timeouts.
2415
+ :type _request_timeout: int, tuple(int, int), optional
2416
+ :param _request_auth: set to override the auth_settings for an a single
2417
+ request; this effectively ignores the
2418
+ authentication in the spec for a single request.
2419
+ :type _request_auth: dict, optional
2420
+ :param _content_type: force content-type for the request.
2421
+ :type _content_type: str, Optional
2422
+ :param _headers: set to override the headers for a single
2423
+ request; this effectively ignores the headers
2424
+ in the spec for a single request.
2425
+ :type _headers: dict, optional
2426
+ :param _host_index: set to override the host_index for a single
2427
+ request; this effectively ignores the host_index
2428
+ in the spec for a single request.
2429
+ :type _host_index: int, optional
2430
+ :return: Returns the result object.
2431
+ """ # noqa: E501
2432
+
2433
+ _param = self._get_sandboxes_for_runner_serialize(
2434
+ state=state,
2435
+ x_daytona_organization_id=x_daytona_organization_id,
2436
+ _request_auth=_request_auth,
2437
+ _content_type=_content_type,
2438
+ _headers=_headers,
2439
+ _host_index=_host_index
2440
+ )
2441
+
2442
+ _response_types_map: Dict[str, Optional[str]] = {
2443
+ '200': "List[Sandbox]",
2444
+ }
2445
+ response_data = await self.api_client.call_api(
2446
+ *_param,
2447
+ _request_timeout=_request_timeout
2448
+ )
2449
+ await response_data.read()
2450
+ return self.api_client.response_deserialize(
2451
+ response_data=response_data,
2452
+ response_types_map=_response_types_map,
2453
+ )
2454
+
2455
+
2456
+ @validate_call
2457
+ async def get_sandboxes_for_runner_without_preload_content(
2458
+ self,
2459
+ state: StrictStr,
2460
+ x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
2461
+ _request_timeout: Union[
2462
+ None,
2463
+ Annotated[StrictFloat, Field(gt=0)],
2464
+ Tuple[
2465
+ Annotated[StrictFloat, Field(gt=0)],
2466
+ Annotated[StrictFloat, Field(gt=0)]
2467
+ ]
2468
+ ] = None,
2469
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2470
+ _content_type: Optional[StrictStr] = None,
2471
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2472
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2473
+ ) -> RESTResponseType:
2474
+ """Get sandboxes for the authenticated runner
2475
+
2476
+
2477
+ :param state: (required)
2478
+ :type state: str
2479
+ :param x_daytona_organization_id: Use with JWT to specify the organization ID
2480
+ :type x_daytona_organization_id: str
2481
+ :param _request_timeout: timeout setting for this request. If one
2482
+ number provided, it will be total request
2483
+ timeout. It can also be a pair (tuple) of
2484
+ (connection, read) timeouts.
2485
+ :type _request_timeout: int, tuple(int, int), optional
2486
+ :param _request_auth: set to override the auth_settings for an a single
2487
+ request; this effectively ignores the
2488
+ authentication in the spec for a single request.
2489
+ :type _request_auth: dict, optional
2490
+ :param _content_type: force content-type for the request.
2491
+ :type _content_type: str, Optional
2492
+ :param _headers: set to override the headers for a single
2493
+ request; this effectively ignores the headers
2494
+ in the spec for a single request.
2495
+ :type _headers: dict, optional
2496
+ :param _host_index: set to override the host_index for a single
2497
+ request; this effectively ignores the host_index
2498
+ in the spec for a single request.
2499
+ :type _host_index: int, optional
2500
+ :return: Returns the result object.
2501
+ """ # noqa: E501
2502
+
2503
+ _param = self._get_sandboxes_for_runner_serialize(
2504
+ state=state,
2505
+ x_daytona_organization_id=x_daytona_organization_id,
2506
+ _request_auth=_request_auth,
2507
+ _content_type=_content_type,
2508
+ _headers=_headers,
2509
+ _host_index=_host_index
2510
+ )
2511
+
2512
+ _response_types_map: Dict[str, Optional[str]] = {
2513
+ '200': "List[Sandbox]",
2514
+ }
2515
+ response_data = await self.api_client.call_api(
2516
+ *_param,
2517
+ _request_timeout=_request_timeout
2518
+ )
2519
+ return response_data.response
2520
+
2521
+
2522
+ def _get_sandboxes_for_runner_serialize(
2523
+ self,
2524
+ state,
2525
+ x_daytona_organization_id,
2526
+ _request_auth,
2527
+ _content_type,
2528
+ _headers,
2529
+ _host_index,
2530
+ ) -> RequestSerialized:
2531
+
2532
+ _host = None
2533
+
2534
+ _collection_formats: Dict[str, str] = {
2535
+ }
2536
+
2537
+ _path_params: Dict[str, str] = {}
2538
+ _query_params: List[Tuple[str, str]] = []
2539
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2540
+ _form_params: List[Tuple[str, str]] = []
2541
+ _files: Dict[
2542
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2543
+ ] = {}
2544
+ _body_params: Optional[bytes] = None
2545
+
2546
+ # process the path parameters
2547
+ # process the query parameters
2548
+ if state is not None:
2549
+
2550
+ _query_params.append(('state', state))
2551
+
2552
+ # process the header parameters
2553
+ if x_daytona_organization_id is not None:
2554
+ _header_params['X-Daytona-Organization-ID'] = x_daytona_organization_id
2555
+ # process the form parameters
2556
+ # process the body parameter
2557
+
2558
+
2559
+ # set the HTTP header `Accept`
2560
+ if 'Accept' not in _header_params:
2561
+ _header_params['Accept'] = self.api_client.select_header_accept(
2562
+ [
2563
+ 'application/json'
2564
+ ]
2565
+ )
2566
+
2567
+
2568
+ # authentication setting
2569
+ _auth_settings: List[str] = [
2570
+ 'bearer',
2571
+ 'oauth2'
2572
+ ]
2573
+
2574
+ return self.api_client.param_serialize(
2575
+ method='GET',
2576
+ resource_path='/sandbox/for-runner',
2577
+ path_params=_path_params,
2578
+ query_params=_query_params,
2579
+ header_params=_header_params,
2580
+ body=_body_params,
2581
+ post_params=_form_params,
2582
+ files=_files,
2583
+ auth_settings=_auth_settings,
2584
+ collection_formats=_collection_formats,
2585
+ _host=_host,
2586
+ _request_auth=_request_auth
2587
+ )
2588
+
2589
+
2590
+
2591
+
2315
2592
  @validate_call
2316
2593
  async def list_sandboxes(
2317
2594
  self,
@@ -4877,6 +5154,301 @@ class SandboxApi:
4877
5154
 
4878
5155
 
4879
5156
 
5157
+ @validate_call
5158
+ async def update_sandbox_state(
5159
+ self,
5160
+ sandbox_id: Annotated[StrictStr, Field(description="ID of the sandbox")],
5161
+ update_sandbox_state_dto: UpdateSandboxStateDto,
5162
+ x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
5163
+ _request_timeout: Union[
5164
+ None,
5165
+ Annotated[StrictFloat, Field(gt=0)],
5166
+ Tuple[
5167
+ Annotated[StrictFloat, Field(gt=0)],
5168
+ Annotated[StrictFloat, Field(gt=0)]
5169
+ ]
5170
+ ] = None,
5171
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
5172
+ _content_type: Optional[StrictStr] = None,
5173
+ _headers: Optional[Dict[StrictStr, Any]] = None,
5174
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5175
+ ) -> None:
5176
+ """Update sandbox state
5177
+
5178
+
5179
+ :param sandbox_id: ID of the sandbox (required)
5180
+ :type sandbox_id: str
5181
+ :param update_sandbox_state_dto: (required)
5182
+ :type update_sandbox_state_dto: UpdateSandboxStateDto
5183
+ :param x_daytona_organization_id: Use with JWT to specify the organization ID
5184
+ :type x_daytona_organization_id: str
5185
+ :param _request_timeout: timeout setting for this request. If one
5186
+ number provided, it will be total request
5187
+ timeout. It can also be a pair (tuple) of
5188
+ (connection, read) timeouts.
5189
+ :type _request_timeout: int, tuple(int, int), optional
5190
+ :param _request_auth: set to override the auth_settings for an a single
5191
+ request; this effectively ignores the
5192
+ authentication in the spec for a single request.
5193
+ :type _request_auth: dict, optional
5194
+ :param _content_type: force content-type for the request.
5195
+ :type _content_type: str, Optional
5196
+ :param _headers: set to override the headers for a single
5197
+ request; this effectively ignores the headers
5198
+ in the spec for a single request.
5199
+ :type _headers: dict, optional
5200
+ :param _host_index: set to override the host_index for a single
5201
+ request; this effectively ignores the host_index
5202
+ in the spec for a single request.
5203
+ :type _host_index: int, optional
5204
+ :return: Returns the result object.
5205
+ """ # noqa: E501
5206
+
5207
+ _param = self._update_sandbox_state_serialize(
5208
+ sandbox_id=sandbox_id,
5209
+ update_sandbox_state_dto=update_sandbox_state_dto,
5210
+ x_daytona_organization_id=x_daytona_organization_id,
5211
+ _request_auth=_request_auth,
5212
+ _content_type=_content_type,
5213
+ _headers=_headers,
5214
+ _host_index=_host_index
5215
+ )
5216
+
5217
+ _response_types_map: Dict[str, Optional[str]] = {
5218
+ '200': None,
5219
+ }
5220
+ response_data = await self.api_client.call_api(
5221
+ *_param,
5222
+ _request_timeout=_request_timeout
5223
+ )
5224
+ await response_data.read()
5225
+ return self.api_client.response_deserialize(
5226
+ response_data=response_data,
5227
+ response_types_map=_response_types_map,
5228
+ ).data
5229
+
5230
+
5231
+ @validate_call
5232
+ async def update_sandbox_state_with_http_info(
5233
+ self,
5234
+ sandbox_id: Annotated[StrictStr, Field(description="ID of the sandbox")],
5235
+ update_sandbox_state_dto: UpdateSandboxStateDto,
5236
+ x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
5237
+ _request_timeout: Union[
5238
+ None,
5239
+ Annotated[StrictFloat, Field(gt=0)],
5240
+ Tuple[
5241
+ Annotated[StrictFloat, Field(gt=0)],
5242
+ Annotated[StrictFloat, Field(gt=0)]
5243
+ ]
5244
+ ] = None,
5245
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
5246
+ _content_type: Optional[StrictStr] = None,
5247
+ _headers: Optional[Dict[StrictStr, Any]] = None,
5248
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5249
+ ) -> ApiResponse[None]:
5250
+ """Update sandbox state
5251
+
5252
+
5253
+ :param sandbox_id: ID of the sandbox (required)
5254
+ :type sandbox_id: str
5255
+ :param update_sandbox_state_dto: (required)
5256
+ :type update_sandbox_state_dto: UpdateSandboxStateDto
5257
+ :param x_daytona_organization_id: Use with JWT to specify the organization ID
5258
+ :type x_daytona_organization_id: str
5259
+ :param _request_timeout: timeout setting for this request. If one
5260
+ number provided, it will be total request
5261
+ timeout. It can also be a pair (tuple) of
5262
+ (connection, read) timeouts.
5263
+ :type _request_timeout: int, tuple(int, int), optional
5264
+ :param _request_auth: set to override the auth_settings for an a single
5265
+ request; this effectively ignores the
5266
+ authentication in the spec for a single request.
5267
+ :type _request_auth: dict, optional
5268
+ :param _content_type: force content-type for the request.
5269
+ :type _content_type: str, Optional
5270
+ :param _headers: set to override the headers for a single
5271
+ request; this effectively ignores the headers
5272
+ in the spec for a single request.
5273
+ :type _headers: dict, optional
5274
+ :param _host_index: set to override the host_index for a single
5275
+ request; this effectively ignores the host_index
5276
+ in the spec for a single request.
5277
+ :type _host_index: int, optional
5278
+ :return: Returns the result object.
5279
+ """ # noqa: E501
5280
+
5281
+ _param = self._update_sandbox_state_serialize(
5282
+ sandbox_id=sandbox_id,
5283
+ update_sandbox_state_dto=update_sandbox_state_dto,
5284
+ x_daytona_organization_id=x_daytona_organization_id,
5285
+ _request_auth=_request_auth,
5286
+ _content_type=_content_type,
5287
+ _headers=_headers,
5288
+ _host_index=_host_index
5289
+ )
5290
+
5291
+ _response_types_map: Dict[str, Optional[str]] = {
5292
+ '200': None,
5293
+ }
5294
+ response_data = await self.api_client.call_api(
5295
+ *_param,
5296
+ _request_timeout=_request_timeout
5297
+ )
5298
+ await response_data.read()
5299
+ return self.api_client.response_deserialize(
5300
+ response_data=response_data,
5301
+ response_types_map=_response_types_map,
5302
+ )
5303
+
5304
+
5305
+ @validate_call
5306
+ async def update_sandbox_state_without_preload_content(
5307
+ self,
5308
+ sandbox_id: Annotated[StrictStr, Field(description="ID of the sandbox")],
5309
+ update_sandbox_state_dto: UpdateSandboxStateDto,
5310
+ x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
5311
+ _request_timeout: Union[
5312
+ None,
5313
+ Annotated[StrictFloat, Field(gt=0)],
5314
+ Tuple[
5315
+ Annotated[StrictFloat, Field(gt=0)],
5316
+ Annotated[StrictFloat, Field(gt=0)]
5317
+ ]
5318
+ ] = None,
5319
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
5320
+ _content_type: Optional[StrictStr] = None,
5321
+ _headers: Optional[Dict[StrictStr, Any]] = None,
5322
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5323
+ ) -> RESTResponseType:
5324
+ """Update sandbox state
5325
+
5326
+
5327
+ :param sandbox_id: ID of the sandbox (required)
5328
+ :type sandbox_id: str
5329
+ :param update_sandbox_state_dto: (required)
5330
+ :type update_sandbox_state_dto: UpdateSandboxStateDto
5331
+ :param x_daytona_organization_id: Use with JWT to specify the organization ID
5332
+ :type x_daytona_organization_id: str
5333
+ :param _request_timeout: timeout setting for this request. If one
5334
+ number provided, it will be total request
5335
+ timeout. It can also be a pair (tuple) of
5336
+ (connection, read) timeouts.
5337
+ :type _request_timeout: int, tuple(int, int), optional
5338
+ :param _request_auth: set to override the auth_settings for an a single
5339
+ request; this effectively ignores the
5340
+ authentication in the spec for a single request.
5341
+ :type _request_auth: dict, optional
5342
+ :param _content_type: force content-type for the request.
5343
+ :type _content_type: str, Optional
5344
+ :param _headers: set to override the headers for a single
5345
+ request; this effectively ignores the headers
5346
+ in the spec for a single request.
5347
+ :type _headers: dict, optional
5348
+ :param _host_index: set to override the host_index for a single
5349
+ request; this effectively ignores the host_index
5350
+ in the spec for a single request.
5351
+ :type _host_index: int, optional
5352
+ :return: Returns the result object.
5353
+ """ # noqa: E501
5354
+
5355
+ _param = self._update_sandbox_state_serialize(
5356
+ sandbox_id=sandbox_id,
5357
+ update_sandbox_state_dto=update_sandbox_state_dto,
5358
+ x_daytona_organization_id=x_daytona_organization_id,
5359
+ _request_auth=_request_auth,
5360
+ _content_type=_content_type,
5361
+ _headers=_headers,
5362
+ _host_index=_host_index
5363
+ )
5364
+
5365
+ _response_types_map: Dict[str, Optional[str]] = {
5366
+ '200': None,
5367
+ }
5368
+ response_data = await self.api_client.call_api(
5369
+ *_param,
5370
+ _request_timeout=_request_timeout
5371
+ )
5372
+ return response_data.response
5373
+
5374
+
5375
+ def _update_sandbox_state_serialize(
5376
+ self,
5377
+ sandbox_id,
5378
+ update_sandbox_state_dto,
5379
+ x_daytona_organization_id,
5380
+ _request_auth,
5381
+ _content_type,
5382
+ _headers,
5383
+ _host_index,
5384
+ ) -> RequestSerialized:
5385
+
5386
+ _host = None
5387
+
5388
+ _collection_formats: Dict[str, str] = {
5389
+ }
5390
+
5391
+ _path_params: Dict[str, str] = {}
5392
+ _query_params: List[Tuple[str, str]] = []
5393
+ _header_params: Dict[str, Optional[str]] = _headers or {}
5394
+ _form_params: List[Tuple[str, str]] = []
5395
+ _files: Dict[
5396
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
5397
+ ] = {}
5398
+ _body_params: Optional[bytes] = None
5399
+
5400
+ # process the path parameters
5401
+ if sandbox_id is not None:
5402
+ _path_params['sandboxId'] = sandbox_id
5403
+ # process the query parameters
5404
+ # process the header parameters
5405
+ if x_daytona_organization_id is not None:
5406
+ _header_params['X-Daytona-Organization-ID'] = x_daytona_organization_id
5407
+ # process the form parameters
5408
+ # process the body parameter
5409
+ if update_sandbox_state_dto is not None:
5410
+ _body_params = update_sandbox_state_dto
5411
+
5412
+
5413
+
5414
+ # set the HTTP header `Content-Type`
5415
+ if _content_type:
5416
+ _header_params['Content-Type'] = _content_type
5417
+ else:
5418
+ _default_content_type = (
5419
+ self.api_client.select_header_content_type(
5420
+ [
5421
+ 'application/json'
5422
+ ]
5423
+ )
5424
+ )
5425
+ if _default_content_type is not None:
5426
+ _header_params['Content-Type'] = _default_content_type
5427
+
5428
+ # authentication setting
5429
+ _auth_settings: List[str] = [
5430
+ 'bearer',
5431
+ 'oauth2'
5432
+ ]
5433
+
5434
+ return self.api_client.param_serialize(
5435
+ method='PUT',
5436
+ resource_path='/sandbox/{sandboxId}/state',
5437
+ path_params=_path_params,
5438
+ query_params=_query_params,
5439
+ header_params=_header_params,
5440
+ body=_body_params,
5441
+ post_params=_form_params,
5442
+ files=_files,
5443
+ auth_settings=_auth_settings,
5444
+ collection_formats=_collection_formats,
5445
+ _host=_host,
5446
+ _request_auth=_request_auth
5447
+ )
5448
+
5449
+
5450
+
5451
+
4880
5452
  @validate_call
4881
5453
  async def validate_ssh_access(
4882
5454
  self,
@@ -16,6 +16,7 @@
16
16
 
17
17
  # import models into model package
18
18
  from daytona_api_client_async.models.account_provider import AccountProvider
19
+ from daytona_api_client_async.models.announcement import Announcement
19
20
  from daytona_api_client_async.models.api_key_list import ApiKeyList
20
21
  from daytona_api_client_async.models.api_key_response import ApiKeyResponse
21
22
  from daytona_api_client_async.models.audit_log import AuditLog
@@ -44,6 +45,7 @@ from daytona_api_client_async.models.create_snapshot import CreateSnapshot
44
45
  from daytona_api_client_async.models.create_user import CreateUser
45
46
  from daytona_api_client_async.models.create_volume import CreateVolume
46
47
  from daytona_api_client_async.models.create_workspace import CreateWorkspace
48
+ from daytona_api_client_async.models.daytona_configuration import DaytonaConfiguration
47
49
  from daytona_api_client_async.models.display_info_response import DisplayInfoResponse
48
50
  from daytona_api_client_async.models.docker_registry import DockerRegistry
49
51
  from daytona_api_client_async.models.execute_request import ExecuteRequest
@@ -82,6 +84,7 @@ from daytona_api_client_async.models.mouse_move_response import MouseMoveRespons
82
84
  from daytona_api_client_async.models.mouse_position import MousePosition
83
85
  from daytona_api_client_async.models.mouse_scroll_request import MouseScrollRequest
84
86
  from daytona_api_client_async.models.mouse_scroll_response import MouseScrollResponse
87
+ from daytona_api_client_async.models.oidc_config import OidcConfig
85
88
  from daytona_api_client_async.models.organization import Organization
86
89
  from daytona_api_client_async.models.organization_invitation import OrganizationInvitation
87
90
  from daytona_api_client_async.models.organization_role import OrganizationRole
@@ -93,6 +96,7 @@ from daytona_api_client_async.models.paginated_audit_logs import PaginatedAuditL
93
96
  from daytona_api_client_async.models.paginated_snapshots_dto import PaginatedSnapshotsDto
94
97
  from daytona_api_client_async.models.port_preview_url import PortPreviewUrl
95
98
  from daytona_api_client_async.models.position import Position
99
+ from daytona_api_client_async.models.posthog_config import PosthogConfig
96
100
  from daytona_api_client_async.models.process_errors_response import ProcessErrorsResponse
97
101
  from daytona_api_client_async.models.process_logs_response import ProcessLogsResponse
98
102
  from daytona_api_client_async.models.process_restart_response import ProcessRestartResponse
@@ -130,6 +134,7 @@ from daytona_api_client_async.models.update_organization_invitation import Updat
130
134
  from daytona_api_client_async.models.update_organization_member_access import UpdateOrganizationMemberAccess
131
135
  from daytona_api_client_async.models.update_organization_quota import UpdateOrganizationQuota
132
136
  from daytona_api_client_async.models.update_organization_role import UpdateOrganizationRole
137
+ from daytona_api_client_async.models.update_sandbox_state_dto import UpdateSandboxStateDto
133
138
  from daytona_api_client_async.models.user import User
134
139
  from daytona_api_client_async.models.user_home_dir_response import UserHomeDirResponse
135
140
  from daytona_api_client_async.models.user_public_key import UserPublicKey