daytona_api_client_async 0.25.2a1__py3-none-any.whl → 0.25.4__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.

@@ -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
@@ -2715,6 +2715,265 @@ class OrganizationsApi:
2715
2715
 
2716
2716
 
2717
2717
 
2718
+ @validate_call
2719
+ async def get_organization_by_sandbox_id(
2720
+ self,
2721
+ sandbox_id: Annotated[StrictStr, Field(description="Sandbox ID")],
2722
+ _request_timeout: Union[
2723
+ None,
2724
+ Annotated[StrictFloat, Field(gt=0)],
2725
+ Tuple[
2726
+ Annotated[StrictFloat, Field(gt=0)],
2727
+ Annotated[StrictFloat, Field(gt=0)]
2728
+ ]
2729
+ ] = None,
2730
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2731
+ _content_type: Optional[StrictStr] = None,
2732
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2733
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2734
+ ) -> Organization:
2735
+ """Get organization by sandbox ID
2736
+
2737
+
2738
+ :param sandbox_id: Sandbox ID (required)
2739
+ :type sandbox_id: str
2740
+ :param _request_timeout: timeout setting for this request. If one
2741
+ number provided, it will be total request
2742
+ timeout. It can also be a pair (tuple) of
2743
+ (connection, read) timeouts.
2744
+ :type _request_timeout: int, tuple(int, int), optional
2745
+ :param _request_auth: set to override the auth_settings for an a single
2746
+ request; this effectively ignores the
2747
+ authentication in the spec for a single request.
2748
+ :type _request_auth: dict, optional
2749
+ :param _content_type: force content-type for the request.
2750
+ :type _content_type: str, Optional
2751
+ :param _headers: set to override the headers for a single
2752
+ request; this effectively ignores the headers
2753
+ in the spec for a single request.
2754
+ :type _headers: dict, optional
2755
+ :param _host_index: set to override the host_index for a single
2756
+ request; this effectively ignores the host_index
2757
+ in the spec for a single request.
2758
+ :type _host_index: int, optional
2759
+ :return: Returns the result object.
2760
+ """ # noqa: E501
2761
+
2762
+ _param = self._get_organization_by_sandbox_id_serialize(
2763
+ sandbox_id=sandbox_id,
2764
+ _request_auth=_request_auth,
2765
+ _content_type=_content_type,
2766
+ _headers=_headers,
2767
+ _host_index=_host_index
2768
+ )
2769
+
2770
+ _response_types_map: Dict[str, Optional[str]] = {
2771
+ '200': "Organization",
2772
+ }
2773
+ response_data = await self.api_client.call_api(
2774
+ *_param,
2775
+ _request_timeout=_request_timeout
2776
+ )
2777
+ await response_data.read()
2778
+ return self.api_client.response_deserialize(
2779
+ response_data=response_data,
2780
+ response_types_map=_response_types_map,
2781
+ ).data
2782
+
2783
+
2784
+ @validate_call
2785
+ async def get_organization_by_sandbox_id_with_http_info(
2786
+ self,
2787
+ sandbox_id: Annotated[StrictStr, Field(description="Sandbox ID")],
2788
+ _request_timeout: Union[
2789
+ None,
2790
+ Annotated[StrictFloat, Field(gt=0)],
2791
+ Tuple[
2792
+ Annotated[StrictFloat, Field(gt=0)],
2793
+ Annotated[StrictFloat, Field(gt=0)]
2794
+ ]
2795
+ ] = None,
2796
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2797
+ _content_type: Optional[StrictStr] = None,
2798
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2799
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2800
+ ) -> ApiResponse[Organization]:
2801
+ """Get organization by sandbox ID
2802
+
2803
+
2804
+ :param sandbox_id: Sandbox ID (required)
2805
+ :type sandbox_id: str
2806
+ :param _request_timeout: timeout setting for this request. If one
2807
+ number provided, it will be total request
2808
+ timeout. It can also be a pair (tuple) of
2809
+ (connection, read) timeouts.
2810
+ :type _request_timeout: int, tuple(int, int), optional
2811
+ :param _request_auth: set to override the auth_settings for an a single
2812
+ request; this effectively ignores the
2813
+ authentication in the spec for a single request.
2814
+ :type _request_auth: dict, optional
2815
+ :param _content_type: force content-type for the request.
2816
+ :type _content_type: str, Optional
2817
+ :param _headers: set to override the headers for a single
2818
+ request; this effectively ignores the headers
2819
+ in the spec for a single request.
2820
+ :type _headers: dict, optional
2821
+ :param _host_index: set to override the host_index for a single
2822
+ request; this effectively ignores the host_index
2823
+ in the spec for a single request.
2824
+ :type _host_index: int, optional
2825
+ :return: Returns the result object.
2826
+ """ # noqa: E501
2827
+
2828
+ _param = self._get_organization_by_sandbox_id_serialize(
2829
+ sandbox_id=sandbox_id,
2830
+ _request_auth=_request_auth,
2831
+ _content_type=_content_type,
2832
+ _headers=_headers,
2833
+ _host_index=_host_index
2834
+ )
2835
+
2836
+ _response_types_map: Dict[str, Optional[str]] = {
2837
+ '200': "Organization",
2838
+ }
2839
+ response_data = await self.api_client.call_api(
2840
+ *_param,
2841
+ _request_timeout=_request_timeout
2842
+ )
2843
+ await response_data.read()
2844
+ return self.api_client.response_deserialize(
2845
+ response_data=response_data,
2846
+ response_types_map=_response_types_map,
2847
+ )
2848
+
2849
+
2850
+ @validate_call
2851
+ async def get_organization_by_sandbox_id_without_preload_content(
2852
+ self,
2853
+ sandbox_id: Annotated[StrictStr, Field(description="Sandbox ID")],
2854
+ _request_timeout: Union[
2855
+ None,
2856
+ Annotated[StrictFloat, Field(gt=0)],
2857
+ Tuple[
2858
+ Annotated[StrictFloat, Field(gt=0)],
2859
+ Annotated[StrictFloat, Field(gt=0)]
2860
+ ]
2861
+ ] = None,
2862
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2863
+ _content_type: Optional[StrictStr] = None,
2864
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2865
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2866
+ ) -> RESTResponseType:
2867
+ """Get organization by sandbox ID
2868
+
2869
+
2870
+ :param sandbox_id: Sandbox ID (required)
2871
+ :type sandbox_id: str
2872
+ :param _request_timeout: timeout setting for this request. If one
2873
+ number provided, it will be total request
2874
+ timeout. It can also be a pair (tuple) of
2875
+ (connection, read) timeouts.
2876
+ :type _request_timeout: int, tuple(int, int), optional
2877
+ :param _request_auth: set to override the auth_settings for an a single
2878
+ request; this effectively ignores the
2879
+ authentication in the spec for a single request.
2880
+ :type _request_auth: dict, optional
2881
+ :param _content_type: force content-type for the request.
2882
+ :type _content_type: str, Optional
2883
+ :param _headers: set to override the headers for a single
2884
+ request; this effectively ignores the headers
2885
+ in the spec for a single request.
2886
+ :type _headers: dict, optional
2887
+ :param _host_index: set to override the host_index for a single
2888
+ request; this effectively ignores the host_index
2889
+ in the spec for a single request.
2890
+ :type _host_index: int, optional
2891
+ :return: Returns the result object.
2892
+ """ # noqa: E501
2893
+
2894
+ _param = self._get_organization_by_sandbox_id_serialize(
2895
+ sandbox_id=sandbox_id,
2896
+ _request_auth=_request_auth,
2897
+ _content_type=_content_type,
2898
+ _headers=_headers,
2899
+ _host_index=_host_index
2900
+ )
2901
+
2902
+ _response_types_map: Dict[str, Optional[str]] = {
2903
+ '200': "Organization",
2904
+ }
2905
+ response_data = await self.api_client.call_api(
2906
+ *_param,
2907
+ _request_timeout=_request_timeout
2908
+ )
2909
+ return response_data.response
2910
+
2911
+
2912
+ def _get_organization_by_sandbox_id_serialize(
2913
+ self,
2914
+ sandbox_id,
2915
+ _request_auth,
2916
+ _content_type,
2917
+ _headers,
2918
+ _host_index,
2919
+ ) -> RequestSerialized:
2920
+
2921
+ _host = None
2922
+
2923
+ _collection_formats: Dict[str, str] = {
2924
+ }
2925
+
2926
+ _path_params: Dict[str, str] = {}
2927
+ _query_params: List[Tuple[str, str]] = []
2928
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2929
+ _form_params: List[Tuple[str, str]] = []
2930
+ _files: Dict[
2931
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2932
+ ] = {}
2933
+ _body_params: Optional[bytes] = None
2934
+
2935
+ # process the path parameters
2936
+ if sandbox_id is not None:
2937
+ _path_params['sandboxId'] = sandbox_id
2938
+ # process the query parameters
2939
+ # process the header parameters
2940
+ # process the form parameters
2941
+ # process the body parameter
2942
+
2943
+
2944
+ # set the HTTP header `Accept`
2945
+ if 'Accept' not in _header_params:
2946
+ _header_params['Accept'] = self.api_client.select_header_accept(
2947
+ [
2948
+ 'application/json'
2949
+ ]
2950
+ )
2951
+
2952
+
2953
+ # authentication setting
2954
+ _auth_settings: List[str] = [
2955
+ 'bearer',
2956
+ 'oauth2'
2957
+ ]
2958
+
2959
+ return self.api_client.param_serialize(
2960
+ method='GET',
2961
+ resource_path='/organizations/by-sandbox-id/{sandboxId}',
2962
+ path_params=_path_params,
2963
+ query_params=_query_params,
2964
+ header_params=_header_params,
2965
+ body=_body_params,
2966
+ post_params=_form_params,
2967
+ files=_files,
2968
+ auth_settings=_auth_settings,
2969
+ collection_formats=_collection_formats,
2970
+ _host=_host,
2971
+ _request_auth=_request_auth
2972
+ )
2973
+
2974
+
2975
+
2976
+
2718
2977
  @validate_call
2719
2978
  async def get_organization_invitations_count_for_authenticated_user(
2720
2979
  self,
@@ -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
@@ -19,8 +19,8 @@ import re # noqa: F401
19
19
  import json
20
20
 
21
21
  from datetime import datetime
22
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
23
- from typing import Any, ClassVar, Dict, List
22
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr
23
+ from typing import Any, ClassVar, Dict, List, Union
24
24
  from typing import Optional, Set
25
25
  from typing_extensions import Self
26
26
 
@@ -38,8 +38,15 @@ class Organization(BaseModel):
38
38
  suspended_at: datetime = Field(description="Suspended at", alias="suspendedAt")
39
39
  suspension_reason: StrictStr = Field(description="Suspended reason", alias="suspensionReason")
40
40
  suspended_until: datetime = Field(description="Suspended until", alias="suspendedUntil")
41
+ suspension_cleanup_grace_period_hours: Union[StrictFloat, StrictInt] = Field(description="Suspension cleanup grace period hours", alias="suspensionCleanupGracePeriodHours")
42
+ total_cpu_quota: Union[StrictFloat, StrictInt] = Field(description="Total CPU quota", alias="totalCpuQuota")
43
+ total_memory_quota: Union[StrictFloat, StrictInt] = Field(description="Total memory quota", alias="totalMemoryQuota")
44
+ total_disk_quota: Union[StrictFloat, StrictInt] = Field(description="Total disk quota", alias="totalDiskQuota")
45
+ max_cpu_per_sandbox: Union[StrictFloat, StrictInt] = Field(description="Max CPU per sandbox", alias="maxCpuPerSandbox")
46
+ max_memory_per_sandbox: Union[StrictFloat, StrictInt] = Field(description="Max memory per sandbox", alias="maxMemoryPerSandbox")
47
+ max_disk_per_sandbox: Union[StrictFloat, StrictInt] = Field(description="Max disk per sandbox", alias="maxDiskPerSandbox")
41
48
  additional_properties: Dict[str, Any] = {}
42
- __properties: ClassVar[List[str]] = ["id", "name", "createdBy", "personal", "createdAt", "updatedAt", "suspended", "suspendedAt", "suspensionReason", "suspendedUntil"]
49
+ __properties: ClassVar[List[str]] = ["id", "name", "createdBy", "personal", "createdAt", "updatedAt", "suspended", "suspendedAt", "suspensionReason", "suspendedUntil", "suspensionCleanupGracePeriodHours", "totalCpuQuota", "totalMemoryQuota", "totalDiskQuota", "maxCpuPerSandbox", "maxMemoryPerSandbox", "maxDiskPerSandbox"]
43
50
 
44
51
  model_config = ConfigDict(
45
52
  populate_by_name=True,
@@ -108,7 +115,14 @@ class Organization(BaseModel):
108
115
  "suspended": obj.get("suspended"),
109
116
  "suspendedAt": obj.get("suspendedAt"),
110
117
  "suspensionReason": obj.get("suspensionReason"),
111
- "suspendedUntil": obj.get("suspendedUntil")
118
+ "suspendedUntil": obj.get("suspendedUntil"),
119
+ "suspensionCleanupGracePeriodHours": obj.get("suspensionCleanupGracePeriodHours"),
120
+ "totalCpuQuota": obj.get("totalCpuQuota"),
121
+ "totalMemoryQuota": obj.get("totalMemoryQuota"),
122
+ "totalDiskQuota": obj.get("totalDiskQuota"),
123
+ "maxCpuPerSandbox": obj.get("maxCpuPerSandbox"),
124
+ "maxMemoryPerSandbox": obj.get("maxMemoryPerSandbox"),
125
+ "maxDiskPerSandbox": obj.get("maxDiskPerSandbox")
112
126
  })
113
127
  # store additional fields in additional_properties
114
128
  for _key in obj.keys():
@@ -19,8 +19,8 @@ import re # noqa: F401
19
19
  import json
20
20
 
21
21
  from datetime import datetime
22
- from pydantic import BaseModel, ConfigDict, Field, StrictStr
23
- from typing import Any, ClassVar, Dict, List
22
+ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
23
+ from typing import Any, ClassVar, Dict, List, Union
24
24
  from typing import Optional, Set
25
25
  from typing_extensions import Self
26
26
 
@@ -30,8 +30,9 @@ class OrganizationSuspension(BaseModel):
30
30
  """ # noqa: E501
31
31
  reason: StrictStr = Field(description="Suspension reason")
32
32
  until: datetime = Field(description="Suspension until")
33
+ suspension_cleanup_grace_period_hours: Union[StrictFloat, StrictInt] = Field(description="Suspension cleanup grace period hours", alias="suspensionCleanupGracePeriodHours")
33
34
  additional_properties: Dict[str, Any] = {}
34
- __properties: ClassVar[List[str]] = ["reason", "until"]
35
+ __properties: ClassVar[List[str]] = ["reason", "until", "suspensionCleanupGracePeriodHours"]
35
36
 
36
37
  model_config = ConfigDict(
37
38
  populate_by_name=True,
@@ -92,7 +93,8 @@ class OrganizationSuspension(BaseModel):
92
93
 
93
94
  _obj = cls.model_validate({
94
95
  "reason": obj.get("reason"),
95
- "until": obj.get("until")
96
+ "until": obj.get("until"),
97
+ "suspensionCleanupGracePeriodHours": obj.get("suspensionCleanupGracePeriodHours")
96
98
  })
97
99
  # store additional fields in additional_properties
98
100
  for _key in obj.keys():
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: daytona_api_client_async
3
- Version: 0.25.2a1
3
+ Version: 0.25.4
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
@@ -12,16 +12,16 @@ daytona_api_client_async/api/docker_registry_api.py,sha256=AOX05uUPF7PNilvYJrhxs
12
12
  daytona_api_client_async/api/images_api.py,sha256=BRQ3DBgRQqu8VPmLb3ILmtd31jjALVsRra-Qm8Xt1Vc,93499
13
13
  daytona_api_client_async/api/nodes_api.py,sha256=Ecm01Dot8NN5ScqYziMavHmuMkiQ-D190TExSSW8IbU,29201
14
14
  daytona_api_client_async/api/object_storage_api.py,sha256=gPhd3kPth8L26BV6C9QL3-VXax9W0S20_lZgEpoz02U,11677
15
- daytona_api_client_async/api/organizations_api.py,sha256=Lvr7dNBS3CoYm4QaO_YTMuC-TRcBgT1F4sLckVfgP3o,267874
15
+ daytona_api_client_async/api/organizations_api.py,sha256=oPVYKUTX3lxNNtPvVEj79uggjj-G70kRs10PUyxspJ8,277925
16
16
  daytona_api_client_async/api/preview_api.py,sha256=tflnMN3QXSTx-tI1GZf70VY714MQTx1DX2edNFbemb8,31216
17
17
  daytona_api_client_async/api/runners_api.py,sha256=DjL55SHmiIG1CkNrhiNGiiW9tBMrkLo1DiqAmNhpDoI,49294
18
18
  daytona_api_client_async/api/sandbox_api.py,sha256=2oyzc0SG5NyzBb2ZC8swUqKephtxgrVsqsvShjPPqwM,176031
19
19
  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
20
+ daytona_api_client_async/api/toolbox_api.py,sha256=plhAImkMRhqC4qcCvlRUpjiLD3Uli5HwBWNX1FTuAYM,723310
21
21
  daytona_api_client_async/api/users_api.py,sha256=5vpJFiutNo-ygzejbkOz3iPMT4mLjNyvBZdNWTaQSFw,86876
22
22
  daytona_api_client_async/api/volumes_api.py,sha256=Hhmny-51SBZhvm3Vztaud1ImEY3p14c3VdjeZN8SP7M,56883
23
23
  daytona_api_client_async/api/workspace_api.py,sha256=krpDz2ro-e1QuQ8Bi4cnckymIEIlPJePBM6ieksguq8,170042
24
- daytona_api_client_async/models/__init__.py,sha256=doGva0LSxCOtl0D3WyPLCQCa0Ky8YsQa3gTj3cd9fDw,9576
24
+ daytona_api_client_async/models/__init__.py,sha256=xLxOREdld1QrxoqSpn72bn74XWU5r4Yi2F8g8kKei9M,9475
25
25
  daytona_api_client_async/models/account_provider.py,sha256=yKJ_dMGnxGalNYuVTmo4CoFHpj1PIssSE1rnUaQeOKY,3154
26
26
  daytona_api_client_async/models/api_key_list.py,sha256=LwEm8q2SjDOGa04S0kkk4GRbZPvrpVJ-4Ju1dgcp0b8,5005
27
27
  daytona_api_client_async/models/api_key_response.py,sha256=XWqJdKTMp1w8uoUpmeKn0tKeXeImTJElnTvLunZGX5Y,4611
@@ -97,10 +97,10 @@ daytona_api_client_async/models/mouse_move_response.py,sha256=8dNZRVGwou0z5Hnm8q
97
97
  daytona_api_client_async/models/mouse_position.py,sha256=7SihmxntHoebKBqFus3FCThvOAc95zYtnDVsKOY29Cs,3262
98
98
  daytona_api_client_async/models/mouse_scroll_request.py,sha256=k8gy6A4zgfA-s1_pcJ6Ju53E-WpfU68uiT370IoxiK0,3653
99
99
  daytona_api_client_async/models/mouse_scroll_response.py,sha256=8jjnRrSdfynLVoJY5YpG4nKnum0FpV6JoWMsLHuQ5-w,3134
100
- daytona_api_client_async/models/organization.py,sha256=ld6jkgn1DyXHTM1R635toY8JMDYlayAua9sFQLfJh_4,4411
100
+ daytona_api_client_async/models/organization.py,sha256=C9r47QH32-YeOmoE3EgtnXpiUIloq6z684LJz9md6Rk,5969
101
101
  daytona_api_client_async/models/organization_invitation.py,sha256=vnnZ5zx05weSLymc4IQMtaJEnnxFLrQcG74AmqOMW6Q,5728
102
102
  daytona_api_client_async/models/organization_role.py,sha256=RXGyGoi6XQI94zMzYU0h7UzI6Dm245t4hwNkKV9TCiE,4571
103
- daytona_api_client_async/models/organization_suspension.py,sha256=YQSqu_htRmq9vPMsrTdoK4ce1iC_Y0SXrn2CKj7q_TE,3246
103
+ daytona_api_client_async/models/organization_suspension.py,sha256=Pd6oBCKzlvI7xAfjDamyte2eHJKOZBFgG3GXMUVOe2A,3586
104
104
  daytona_api_client_async/models/organization_user.py,sha256=Dsk4ziJPNVk4_Nkm-RTePYTeS8sw3RBfHJ-ulY9-A2w,4895
105
105
  daytona_api_client_async/models/paginated_audit_logs.py,sha256=x9kQCrPbgECBptkquJzd-OtULdxgTYa5jSDoHBOBA04,3841
106
106
  daytona_api_client_async/models/paginated_images_dto.py,sha256=3I2PVVW6j3dlvBQepNSfkTjcq89l07R81U9b_fTV57s,3841
@@ -133,7 +133,7 @@ daytona_api_client_async/models/search_files_response.py,sha256=3m7itQRgoeqJ8I6P
133
133
  daytona_api_client_async/models/session.py,sha256=Y1paKlj2B_yt6mDI_g0aNGLu5mLXmEmuSa6CxBba4rc,3950
134
134
  daytona_api_client_async/models/session_command_logs_response.py,sha256=4-nfnZUkCRHn2n5_DDDMyyoH2ieBzRcVjU7ka7kuVE8,3254
135
135
  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
136
+ daytona_api_client_async/models/session_execute_response.py,sha256=_TYkpP7y3HKGYRKUPS1PxXlWQKl2iHOqeYP6jwNR48Q,3558
137
137
  daytona_api_client_async/models/set_image_general_status.py,sha256=V3B4pw1yrfdbxTuC0sXVhGO-8qCeEgC0vVuvzZPyxf8,3121
138
138
  daytona_api_client_async/models/set_snapshot_general_status_dto.py,sha256=d1qZ9B51JmiJAYpCvUgiYgB40Ckj_0ubx9Jse9QMkmQ,3148
139
139
  daytona_api_client_async/models/snapshot_dto.py,sha256=-27y_qwwLdJQw8xe9g9kZBLNRQlme6WgvQl7PWVpmmQ,6063
@@ -157,8 +157,8 @@ daytona_api_client_async/models/workspace_info.py,sha256=aO9EkS6E4LhjrFAY25FJZYn
157
157
  daytona_api_client_async/models/workspace_labels.py,sha256=aMjsVYM4rezpMD6jLVbPqdi72DIIltjqPP0kuGueUsg,3099
158
158
  daytona_api_client_async/models/workspace_state.py,sha256=AqPukjpvYLhkThzx8T4WsKKSuXOOxLwFZ8385AtNVtE,1108
159
159
  daytona_api_client_async/models/workspace_volume.py,sha256=Suo2yiRw80i_24Yp5lFsWpQoykTOxqjHYVQPnx84vGc,3268
160
- daytona_api_client_async-0.25.2a1.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
161
- daytona_api_client_async-0.25.2a1.dist-info/METADATA,sha256=QWg8vaBYTAB_qYF_Jgum5vAlfs7F3v5z1G3U4xHI5xU,692
162
- daytona_api_client_async-0.25.2a1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
163
- daytona_api_client_async-0.25.2a1.dist-info/top_level.txt,sha256=PdOUDLVBJmZNDB8ak8FMMwmlyfRqUhQQ9SUDgNnbdZo,25
164
- daytona_api_client_async-0.25.2a1.dist-info/RECORD,,
160
+ daytona_api_client_async-0.25.4.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
161
+ daytona_api_client_async-0.25.4.dist-info/METADATA,sha256=mYHfyKNlTwq7yXv6nupHYusbLSZFxphdOie3JjpMRow,690
162
+ daytona_api_client_async-0.25.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
163
+ daytona_api_client_async-0.25.4.dist-info/top_level.txt,sha256=PdOUDLVBJmZNDB8ak8FMMwmlyfRqUhQQ9SUDgNnbdZo,25
164
+ daytona_api_client_async-0.25.4.dist-info/RECORD,,