daytona_api_client 0.108.0rc1__py3-none-any.whl → 0.108.1rc1__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.
- daytona_api_client/__init__.py +3 -1
- daytona_api_client/api/audit_api.py +47 -47
- daytona_api_client/api/object_storage_api.py +1 -0
- daytona_api_client/api/preview_api.py +5 -12
- daytona_api_client/api/sandbox_api.py +849 -18
- daytona_api_client/api/snapshots_api.py +79 -28
- daytona_api_client/models/__init__.py +3 -1
- daytona_api_client/models/daytona_configuration.py +1 -3
- {daytona_api_client-0.108.0rc1.dist-info → daytona_api_client-0.108.1rc1.dist-info}/METADATA +1 -1
- {daytona_api_client-0.108.0rc1.dist-info → daytona_api_client-0.108.1rc1.dist-info}/RECORD +13 -16
- daytona_api_client/models/paginated_workspaces.py +0 -115
- daytona_api_client/models/update_assigned_organization_roles.py +0 -101
- daytona_api_client/models/update_organization_member_role.py +0 -108
- {daytona_api_client-0.108.0rc1.dist-info → daytona_api_client-0.108.1rc1.dist-info}/WHEEL +0 -0
- {daytona_api_client-0.108.0rc1.dist-info → daytona_api_client-0.108.1rc1.dist-info}/licenses/LICENSE +0 -0
- {daytona_api_client-0.108.0rc1.dist-info → daytona_api_client-0.108.1rc1.dist-info}/top_level.txt +0 -0
|
@@ -17,11 +17,11 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
17
17
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
|
-
from pydantic import Field, StrictBool,
|
|
20
|
+
from pydantic import Field, StrictBool, StrictStr, field_validator
|
|
21
21
|
from typing import Optional, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from daytona_api_client.models.create_snapshot import CreateSnapshot
|
|
24
|
-
from daytona_api_client.models.
|
|
24
|
+
from daytona_api_client.models.paginated_snapshots import PaginatedSnapshots
|
|
25
25
|
from daytona_api_client.models.set_snapshot_general_status_dto import SetSnapshotGeneralStatusDto
|
|
26
26
|
from daytona_api_client.models.snapshot_dto import SnapshotDto
|
|
27
27
|
|
|
@@ -1160,8 +1160,11 @@ class SnapshotsApi:
|
|
|
1160
1160
|
def get_all_snapshots(
|
|
1161
1161
|
self,
|
|
1162
1162
|
x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
|
|
1163
|
-
|
|
1164
|
-
|
|
1163
|
+
page: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="Page number of the results")] = None,
|
|
1164
|
+
limit: Annotated[Optional[Union[Annotated[float, Field(le=200, strict=True, ge=1)], Annotated[int, Field(le=200, strict=True, ge=1)]]], Field(description="Number of results per page")] = None,
|
|
1165
|
+
name: Annotated[Optional[StrictStr], Field(description="Filter by partial name match")] = None,
|
|
1166
|
+
sort: Annotated[Optional[StrictStr], Field(description="Field to sort by")] = None,
|
|
1167
|
+
order: Annotated[Optional[StrictStr], Field(description="Direction to sort by")] = None,
|
|
1165
1168
|
_request_timeout: Union[
|
|
1166
1169
|
None,
|
|
1167
1170
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1174,16 +1177,22 @@ class SnapshotsApi:
|
|
|
1174
1177
|
_content_type: Optional[StrictStr] = None,
|
|
1175
1178
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1176
1179
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1177
|
-
) ->
|
|
1180
|
+
) -> PaginatedSnapshots:
|
|
1178
1181
|
"""List all snapshots
|
|
1179
1182
|
|
|
1180
1183
|
|
|
1181
1184
|
:param x_daytona_organization_id: Use with JWT to specify the organization ID
|
|
1182
1185
|
:type x_daytona_organization_id: str
|
|
1183
|
-
:param
|
|
1184
|
-
:type limit: float
|
|
1185
|
-
:param page: Page number
|
|
1186
|
+
:param page: Page number of the results
|
|
1186
1187
|
:type page: float
|
|
1188
|
+
:param limit: Number of results per page
|
|
1189
|
+
:type limit: float
|
|
1190
|
+
:param name: Filter by partial name match
|
|
1191
|
+
:type name: str
|
|
1192
|
+
:param sort: Field to sort by
|
|
1193
|
+
:type sort: str
|
|
1194
|
+
:param order: Direction to sort by
|
|
1195
|
+
:type order: str
|
|
1187
1196
|
:param _request_timeout: timeout setting for this request. If one
|
|
1188
1197
|
number provided, it will be total request
|
|
1189
1198
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1208,8 +1217,11 @@ class SnapshotsApi:
|
|
|
1208
1217
|
|
|
1209
1218
|
_param = self._get_all_snapshots_serialize(
|
|
1210
1219
|
x_daytona_organization_id=x_daytona_organization_id,
|
|
1211
|
-
limit=limit,
|
|
1212
1220
|
page=page,
|
|
1221
|
+
limit=limit,
|
|
1222
|
+
name=name,
|
|
1223
|
+
sort=sort,
|
|
1224
|
+
order=order,
|
|
1213
1225
|
_request_auth=_request_auth,
|
|
1214
1226
|
_content_type=_content_type,
|
|
1215
1227
|
_headers=_headers,
|
|
@@ -1217,7 +1229,7 @@ class SnapshotsApi:
|
|
|
1217
1229
|
)
|
|
1218
1230
|
|
|
1219
1231
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1220
|
-
'200': "
|
|
1232
|
+
'200': "PaginatedSnapshots",
|
|
1221
1233
|
}
|
|
1222
1234
|
response_data = self.api_client.call_api(
|
|
1223
1235
|
*_param,
|
|
@@ -1234,8 +1246,11 @@ class SnapshotsApi:
|
|
|
1234
1246
|
def get_all_snapshots_with_http_info(
|
|
1235
1247
|
self,
|
|
1236
1248
|
x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
|
|
1237
|
-
|
|
1238
|
-
|
|
1249
|
+
page: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="Page number of the results")] = None,
|
|
1250
|
+
limit: Annotated[Optional[Union[Annotated[float, Field(le=200, strict=True, ge=1)], Annotated[int, Field(le=200, strict=True, ge=1)]]], Field(description="Number of results per page")] = None,
|
|
1251
|
+
name: Annotated[Optional[StrictStr], Field(description="Filter by partial name match")] = None,
|
|
1252
|
+
sort: Annotated[Optional[StrictStr], Field(description="Field to sort by")] = None,
|
|
1253
|
+
order: Annotated[Optional[StrictStr], Field(description="Direction to sort by")] = None,
|
|
1239
1254
|
_request_timeout: Union[
|
|
1240
1255
|
None,
|
|
1241
1256
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1248,16 +1263,22 @@ class SnapshotsApi:
|
|
|
1248
1263
|
_content_type: Optional[StrictStr] = None,
|
|
1249
1264
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1250
1265
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1251
|
-
) -> ApiResponse[
|
|
1266
|
+
) -> ApiResponse[PaginatedSnapshots]:
|
|
1252
1267
|
"""List all snapshots
|
|
1253
1268
|
|
|
1254
1269
|
|
|
1255
1270
|
:param x_daytona_organization_id: Use with JWT to specify the organization ID
|
|
1256
1271
|
:type x_daytona_organization_id: str
|
|
1257
|
-
:param
|
|
1258
|
-
:type limit: float
|
|
1259
|
-
:param page: Page number
|
|
1272
|
+
:param page: Page number of the results
|
|
1260
1273
|
:type page: float
|
|
1274
|
+
:param limit: Number of results per page
|
|
1275
|
+
:type limit: float
|
|
1276
|
+
:param name: Filter by partial name match
|
|
1277
|
+
:type name: str
|
|
1278
|
+
:param sort: Field to sort by
|
|
1279
|
+
:type sort: str
|
|
1280
|
+
:param order: Direction to sort by
|
|
1281
|
+
:type order: str
|
|
1261
1282
|
:param _request_timeout: timeout setting for this request. If one
|
|
1262
1283
|
number provided, it will be total request
|
|
1263
1284
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1282,8 +1303,11 @@ class SnapshotsApi:
|
|
|
1282
1303
|
|
|
1283
1304
|
_param = self._get_all_snapshots_serialize(
|
|
1284
1305
|
x_daytona_organization_id=x_daytona_organization_id,
|
|
1285
|
-
limit=limit,
|
|
1286
1306
|
page=page,
|
|
1307
|
+
limit=limit,
|
|
1308
|
+
name=name,
|
|
1309
|
+
sort=sort,
|
|
1310
|
+
order=order,
|
|
1287
1311
|
_request_auth=_request_auth,
|
|
1288
1312
|
_content_type=_content_type,
|
|
1289
1313
|
_headers=_headers,
|
|
@@ -1291,7 +1315,7 @@ class SnapshotsApi:
|
|
|
1291
1315
|
)
|
|
1292
1316
|
|
|
1293
1317
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1294
|
-
'200': "
|
|
1318
|
+
'200': "PaginatedSnapshots",
|
|
1295
1319
|
}
|
|
1296
1320
|
response_data = self.api_client.call_api(
|
|
1297
1321
|
*_param,
|
|
@@ -1308,8 +1332,11 @@ class SnapshotsApi:
|
|
|
1308
1332
|
def get_all_snapshots_without_preload_content(
|
|
1309
1333
|
self,
|
|
1310
1334
|
x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
|
|
1311
|
-
|
|
1312
|
-
|
|
1335
|
+
page: Annotated[Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]], Field(description="Page number of the results")] = None,
|
|
1336
|
+
limit: Annotated[Optional[Union[Annotated[float, Field(le=200, strict=True, ge=1)], Annotated[int, Field(le=200, strict=True, ge=1)]]], Field(description="Number of results per page")] = None,
|
|
1337
|
+
name: Annotated[Optional[StrictStr], Field(description="Filter by partial name match")] = None,
|
|
1338
|
+
sort: Annotated[Optional[StrictStr], Field(description="Field to sort by")] = None,
|
|
1339
|
+
order: Annotated[Optional[StrictStr], Field(description="Direction to sort by")] = None,
|
|
1313
1340
|
_request_timeout: Union[
|
|
1314
1341
|
None,
|
|
1315
1342
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1328,10 +1355,16 @@ class SnapshotsApi:
|
|
|
1328
1355
|
|
|
1329
1356
|
:param x_daytona_organization_id: Use with JWT to specify the organization ID
|
|
1330
1357
|
:type x_daytona_organization_id: str
|
|
1331
|
-
:param
|
|
1332
|
-
:type limit: float
|
|
1333
|
-
:param page: Page number
|
|
1358
|
+
:param page: Page number of the results
|
|
1334
1359
|
:type page: float
|
|
1360
|
+
:param limit: Number of results per page
|
|
1361
|
+
:type limit: float
|
|
1362
|
+
:param name: Filter by partial name match
|
|
1363
|
+
:type name: str
|
|
1364
|
+
:param sort: Field to sort by
|
|
1365
|
+
:type sort: str
|
|
1366
|
+
:param order: Direction to sort by
|
|
1367
|
+
:type order: str
|
|
1335
1368
|
:param _request_timeout: timeout setting for this request. If one
|
|
1336
1369
|
number provided, it will be total request
|
|
1337
1370
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1356,8 +1389,11 @@ class SnapshotsApi:
|
|
|
1356
1389
|
|
|
1357
1390
|
_param = self._get_all_snapshots_serialize(
|
|
1358
1391
|
x_daytona_organization_id=x_daytona_organization_id,
|
|
1359
|
-
limit=limit,
|
|
1360
1392
|
page=page,
|
|
1393
|
+
limit=limit,
|
|
1394
|
+
name=name,
|
|
1395
|
+
sort=sort,
|
|
1396
|
+
order=order,
|
|
1361
1397
|
_request_auth=_request_auth,
|
|
1362
1398
|
_content_type=_content_type,
|
|
1363
1399
|
_headers=_headers,
|
|
@@ -1365,7 +1401,7 @@ class SnapshotsApi:
|
|
|
1365
1401
|
)
|
|
1366
1402
|
|
|
1367
1403
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1368
|
-
'200': "
|
|
1404
|
+
'200': "PaginatedSnapshots",
|
|
1369
1405
|
}
|
|
1370
1406
|
response_data = self.api_client.call_api(
|
|
1371
1407
|
*_param,
|
|
@@ -1377,8 +1413,11 @@ class SnapshotsApi:
|
|
|
1377
1413
|
def _get_all_snapshots_serialize(
|
|
1378
1414
|
self,
|
|
1379
1415
|
x_daytona_organization_id,
|
|
1380
|
-
limit,
|
|
1381
1416
|
page,
|
|
1417
|
+
limit,
|
|
1418
|
+
name,
|
|
1419
|
+
sort,
|
|
1420
|
+
order,
|
|
1382
1421
|
_request_auth,
|
|
1383
1422
|
_content_type,
|
|
1384
1423
|
_headers,
|
|
@@ -1401,13 +1440,25 @@ class SnapshotsApi:
|
|
|
1401
1440
|
|
|
1402
1441
|
# process the path parameters
|
|
1403
1442
|
# process the query parameters
|
|
1443
|
+
if page is not None:
|
|
1444
|
+
|
|
1445
|
+
_query_params.append(('page', page))
|
|
1446
|
+
|
|
1404
1447
|
if limit is not None:
|
|
1405
1448
|
|
|
1406
1449
|
_query_params.append(('limit', limit))
|
|
1407
1450
|
|
|
1408
|
-
if
|
|
1451
|
+
if name is not None:
|
|
1409
1452
|
|
|
1410
|
-
_query_params.append(('
|
|
1453
|
+
_query_params.append(('name', name))
|
|
1454
|
+
|
|
1455
|
+
if sort is not None:
|
|
1456
|
+
|
|
1457
|
+
_query_params.append(('sort', sort))
|
|
1458
|
+
|
|
1459
|
+
if order is not None:
|
|
1460
|
+
|
|
1461
|
+
_query_params.append(('order', order))
|
|
1411
1462
|
|
|
1412
1463
|
# process the header parameters
|
|
1413
1464
|
if x_daytona_organization_id is not None:
|
|
@@ -94,7 +94,8 @@ from daytona_api_client.models.organization_suspension import OrganizationSuspen
|
|
|
94
94
|
from daytona_api_client.models.organization_usage_overview import OrganizationUsageOverview
|
|
95
95
|
from daytona_api_client.models.organization_user import OrganizationUser
|
|
96
96
|
from daytona_api_client.models.paginated_audit_logs import PaginatedAuditLogs
|
|
97
|
-
from daytona_api_client.models.
|
|
97
|
+
from daytona_api_client.models.paginated_sandboxes import PaginatedSandboxes
|
|
98
|
+
from daytona_api_client.models.paginated_snapshots import PaginatedSnapshots
|
|
98
99
|
from daytona_api_client.models.port_preview_url import PortPreviewUrl
|
|
99
100
|
from daytona_api_client.models.position import Position
|
|
100
101
|
from daytona_api_client.models.posthog_config import PosthogConfig
|
|
@@ -109,6 +110,7 @@ from daytona_api_client.models.pty_list_response import PtyListResponse
|
|
|
109
110
|
from daytona_api_client.models.pty_resize_request import PtyResizeRequest
|
|
110
111
|
from daytona_api_client.models.pty_session_info import PtySessionInfo
|
|
111
112
|
from daytona_api_client.models.range import Range
|
|
113
|
+
from daytona_api_client.models.region import Region
|
|
112
114
|
from daytona_api_client.models.region_screenshot_response import RegionScreenshotResponse
|
|
113
115
|
from daytona_api_client.models.registry_push_access_dto import RegistryPushAccessDto
|
|
114
116
|
from daytona_api_client.models.replace_request import ReplaceRequest
|
|
@@ -37,7 +37,6 @@ 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")
|
|
41
40
|
default_snapshot: StrictStr = Field(description="Default snapshot for sandboxes", alias="defaultSnapshot")
|
|
42
41
|
dashboard_url: StrictStr = Field(description="Dashboard URL", alias="dashboardUrl")
|
|
43
42
|
max_auto_archive_interval: Union[StrictFloat, StrictInt] = Field(description="Maximum auto-archive interval in minutes", alias="maxAutoArchiveInterval")
|
|
@@ -47,7 +46,7 @@ class DaytonaConfiguration(BaseModel):
|
|
|
47
46
|
ssh_gateway_command: Optional[StrictStr] = Field(default=None, description="SSH Gateway command", alias="sshGatewayCommand")
|
|
48
47
|
ssh_gateway_public_key: Optional[StrictStr] = Field(default=None, description="Base64 encoded SSH Gateway public key", alias="sshGatewayPublicKey")
|
|
49
48
|
additional_properties: Dict[str, Any] = {}
|
|
50
|
-
__properties: ClassVar[List[str]] = ["version", "posthog", "oidc", "linkedAccountsEnabled", "announcements", "pylonAppId", "proxyTemplateUrl", "
|
|
49
|
+
__properties: ClassVar[List[str]] = ["version", "posthog", "oidc", "linkedAccountsEnabled", "announcements", "pylonAppId", "proxyTemplateUrl", "defaultSnapshot", "dashboardUrl", "maxAutoArchiveInterval", "maintananceMode", "environment", "billingApiUrl", "sshGatewayCommand", "sshGatewayPublicKey"]
|
|
51
50
|
|
|
52
51
|
model_config = ConfigDict(
|
|
53
52
|
populate_by_name=True,
|
|
@@ -132,7 +131,6 @@ class DaytonaConfiguration(BaseModel):
|
|
|
132
131
|
else None,
|
|
133
132
|
"pylonAppId": obj.get("pylonAppId"),
|
|
134
133
|
"proxyTemplateUrl": obj.get("proxyTemplateUrl"),
|
|
135
|
-
"proxyToolboxUrl": obj.get("proxyToolboxUrl"),
|
|
136
134
|
"defaultSnapshot": obj.get("defaultSnapshot"),
|
|
137
135
|
"dashboardUrl": obj.get("dashboardUrl"),
|
|
138
136
|
"maxAutoArchiveInterval": obj.get("maxAutoArchiveInterval"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
daytona_api_client/__init__.py,sha256=
|
|
1
|
+
daytona_api_client/__init__.py,sha256=QP6K97ePl_YiDqNRtTRUyX6KXA3C1d_k9QAUao8lFis,12328
|
|
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
|
|
@@ -7,23 +7,23 @@ daytona_api_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
7
7
|
daytona_api_client/rest.py,sha256=H40AJj0ztQ4zkYCrH7-rJXFZ59kQUFm79CHO7UA5bgQ,9425
|
|
8
8
|
daytona_api_client/api/__init__.py,sha256=3fWn1epDo94muacOWWdUt1Keqy5k2uhrS87I-CYYqEg,1015
|
|
9
9
|
daytona_api_client/api/api_keys_api.py,sha256=ukjLCI7795BzYYiSBtq1oeWPyDaHY-G4_xCDFbHcxv0,65578
|
|
10
|
-
daytona_api_client/api/audit_api.py,sha256=
|
|
10
|
+
daytona_api_client/api/audit_api.py,sha256=5kEams6y6fkxpXxVgHMIuDuO2hmnnuh6TCVsA8O7crc,34904
|
|
11
11
|
daytona_api_client/api/config_api.py,sha256=yI2MFFZrMThchVBYQGrGrsmaOLHs7cksnHbt7CcwZvk,10278
|
|
12
12
|
daytona_api_client/api/default_api.py,sha256=4-VA8V8k3HRRMrs94ANAwkyDKVAZWmNlm2g1X87WOrA,74162
|
|
13
13
|
daytona_api_client/api/docker_registry_api.py,sha256=ids7YUbqX4s2uwv7ROhqFqNzHzdYa7nK9wOPQ5rgB8U,78838
|
|
14
14
|
daytona_api_client/api/health_api.py,sha256=alnAhh9vQkpx2OmVre6dHmHTlcFldBfqsogNoUPzFsc,10533
|
|
15
|
-
daytona_api_client/api/object_storage_api.py,sha256=
|
|
15
|
+
daytona_api_client/api/object_storage_api.py,sha256=aliX_Jj8omBsm-H82lf10L4jnPvFpnovQTSScVaEtko,11628
|
|
16
16
|
daytona_api_client/api/organizations_api.py,sha256=ve8cb9Oa6fAeKgcysbl4MVZ6I6_0pI51vYs_3g9Yn4g,276339
|
|
17
|
-
daytona_api_client/api/preview_api.py,sha256=
|
|
17
|
+
daytona_api_client/api/preview_api.py,sha256=_cYR0xaBKtYBFUKIRezvR0d6swN7yKkmVkJ5yBLk_ro,31054
|
|
18
18
|
daytona_api_client/api/runners_api.py,sha256=kl74Mg19G71Kcj9dNK9xeJCaZ2upk4z-DS7Ul70n-Ww,49018
|
|
19
|
-
daytona_api_client/api/sandbox_api.py,sha256=
|
|
20
|
-
daytona_api_client/api/snapshots_api.py,sha256=
|
|
19
|
+
daytona_api_client/api/sandbox_api.py,sha256=W4jTpigzpTiIxueFjQmxVYFGvnJDOuplg41LZ5GpWgY,274311
|
|
20
|
+
daytona_api_client/api/snapshots_api.py,sha256=I95ano5XaE6EOMX40lIuhC1JTBtHO-ktwye4JwD6nd0,105729
|
|
21
21
|
daytona_api_client/api/toolbox_api.py,sha256=Vf1ADiXdmlQ2O76ZnJlfj3BXNRvlL8I7SzvkKV1Mbkg,815056
|
|
22
22
|
daytona_api_client/api/users_api.py,sha256=KR4cw2mfRp06QV2b0UXXQ1Jcx59TyuS0c7yGRr2Sodk,86402
|
|
23
23
|
daytona_api_client/api/volumes_api.py,sha256=N9kxZzhfaZxC_YQ-Vi1QksoTIzqp_dFADywgQup1oSk,56613
|
|
24
24
|
daytona_api_client/api/webhooks_api.py,sha256=epxKIYqZfebDapzSvqUVlJct1KfVr_T3ZnAc9YyiZX8,69516
|
|
25
25
|
daytona_api_client/api/workspace_api.py,sha256=mjn4jlTtMbKfuqxcr9goo-01RJX-hFjVLT1rF8K5uKI,169328
|
|
26
|
-
daytona_api_client/models/__init__.py,sha256=
|
|
26
|
+
daytona_api_client/models/__init__.py,sha256=YofZp7W09y-gUoRe2J7uAV00bcgBu0a8j5Hld9mFMyg,10777
|
|
27
27
|
daytona_api_client/models/account_provider.py,sha256=yKJ_dMGnxGalNYuVTmo4CoFHpj1PIssSE1rnUaQeOKY,3154
|
|
28
28
|
daytona_api_client/models/announcement.py,sha256=zO3Wa5yUYP2BDJ_3Weemiob_eMNXUZ1B_np-lQSLSgM,3283
|
|
29
29
|
daytona_api_client/models/api_key_list.py,sha256=Q0NYG_KlqZgscz7WpkhTns6z1hYUaZH8yut8X40mQ1A,5166
|
|
@@ -54,7 +54,7 @@ daytona_api_client/models/create_snapshot.py,sha256=WGea9750qOcwwAjSjFRYFhlA3H0m
|
|
|
54
54
|
daytona_api_client/models/create_user.py,sha256=__5zKvbJCtB44mALgvZBPlYghxlcdPUjLCDiIITKJiM,4390
|
|
55
55
|
daytona_api_client/models/create_volume.py,sha256=ClRnZzdkEWMIGlGbOix4pbhki7IcKPqF94OiL0Dygj4,3012
|
|
56
56
|
daytona_api_client/models/create_workspace.py,sha256=Gu60Pe7tkpiObaZbABenpRPpPduI47RwbcgFJrvCCr0,7082
|
|
57
|
-
daytona_api_client/models/daytona_configuration.py,sha256=
|
|
57
|
+
daytona_api_client/models/daytona_configuration.py,sha256=hI5SpnQMKefpl6m40J9VqE9_t8aMcXaI-Jobk5zvCtk,6986
|
|
58
58
|
daytona_api_client/models/display_info_response.py,sha256=ScbtgcWdnqxoVf1UtqolCsDR908Be4VFTyEBaXT_bvc,3142
|
|
59
59
|
daytona_api_client/models/docker_registry.py,sha256=vsV50KVZMVRHrm5O6ZkKvmbLlX0Lo_XVIzL3lyrRNOY,4326
|
|
60
60
|
daytona_api_client/models/download_files.py,sha256=kOoubSJieTxqPoRECwDGtMpYZyDdXoMNybJWZ6Rek7Q,3094
|
|
@@ -111,7 +111,6 @@ daytona_api_client/models/paginated_audit_logs.py,sha256=CThN80Prqq93G6w6GqFxAA6
|
|
|
111
111
|
daytona_api_client/models/paginated_sandboxes.py,sha256=W4c3DkdTecRNGwA_JcsRUyTliuzOc3tq85IoDpCLw4w,3830
|
|
112
112
|
daytona_api_client/models/paginated_snapshots.py,sha256=JR1uNBGE_GhCWSROnpL1BRxQt4FaOOb56yDfYLUh5O0,3847
|
|
113
113
|
daytona_api_client/models/paginated_snapshots_dto.py,sha256=v0b9U3XZUjQ2AVJE0Vv-2Do9rCuy2aN4ZwU8s_L8fUw,3859
|
|
114
|
-
daytona_api_client/models/paginated_workspaces.py,sha256=cWRUveqYDUYZmlrHHGenIPHKTJ7khRSu3wKE7NNiWoc,3842
|
|
115
114
|
daytona_api_client/models/port_preview_url.py,sha256=QnOqJ0-wu7Zy_WiPRG-FeBRTaTZQTUvJrqlSsULQ8rU,3390
|
|
116
115
|
daytona_api_client/models/position.py,sha256=cdJuHMmQrTCxYhKwFbi7NODF7W4fbIxuu4rjw5pJjF0,3141
|
|
117
116
|
daytona_api_client/models/posthog_config.py,sha256=G_bxf3xbxeikp1jbtJbfFCsjHl8CI61DyTc-VSjOmP4,3192
|
|
@@ -166,11 +165,9 @@ daytona_api_client/models/snapshot_state_updated_post_request_data_snapshot.py,s
|
|
|
166
165
|
daytona_api_client/models/ssh_access_dto.py,sha256=SlKSwrMITp1Gs84p4g9Jo8jOp7pyXgZM-DSj1ywTnUc,3857
|
|
167
166
|
daytona_api_client/models/ssh_access_validation_dto.py,sha256=pZPI4xS3fV-FqdH6KbPSAWToTjR4Gmv8KnXbOIXZ7-w,3708
|
|
168
167
|
daytona_api_client/models/storage_access_dto.py,sha256=aivW_3ewAA5jcevSPyvsTaqqY5nUeaW8_2OPUeih614,3879
|
|
169
|
-
daytona_api_client/models/update_assigned_organization_roles.py,sha256=G8-T_36mlvj5o0QGO5rhXcMed86NaWyEc8kvhRm4Uho,3172
|
|
170
168
|
daytona_api_client/models/update_docker_registry.py,sha256=ya9FuZ3xvkUr0Dt69umaIJZjnH3Fy882qs82pt2iytw,3604
|
|
171
169
|
daytona_api_client/models/update_organization_invitation.py,sha256=_98DviKjGYq1h_zKngy0WphVyvi19d6kO8yiMgviX5A,3809
|
|
172
170
|
daytona_api_client/models/update_organization_member_access.py,sha256=I0q60678RqxDc_-ZWqNf2drqEmEB1FMPpJ60ZL7-MbY,3646
|
|
173
|
-
daytona_api_client/models/update_organization_member_role.py,sha256=-B8wsTJgQSkQTiYqD0nuc8yUXRRzIX5U0z5z94CTc5Q,3401
|
|
174
171
|
daytona_api_client/models/update_organization_quota.py,sha256=qfwgYkEKBJHhksdhbC0_LZUt5fBBFehQdtfq5seFSGc,6830
|
|
175
172
|
daytona_api_client/models/update_organization_role.py,sha256=-Z8oRpO3ebQRtlzMaeYKyfyNiFARD76kGvY_9-mF4os,4069
|
|
176
173
|
daytona_api_client/models/update_sandbox_state_dto.py,sha256=XzzeHDDpWoobgxUe8egnE3r0Po9VJwhCOMGDWqhc1LU,3780
|
|
@@ -193,8 +190,8 @@ daytona_api_client/models/windows_response.py,sha256=1fW2GYVSjFbipfQupU2MjfhUlcE
|
|
|
193
190
|
daytona_api_client/models/work_dir_response.py,sha256=1dndjWYnDSMDeLiY8pxQDX1viESoAGF_fegSiMx3i40,3047
|
|
194
191
|
daytona_api_client/models/workdir_response.py,sha256=geBhfQDR7LK0uPlmJF6Ple1eQMCzhSb4qK-9UfhqV7k,3047
|
|
195
192
|
daytona_api_client/models/workspace.py,sha256=uwAStXOLrVJzbxdTfPZokrcMr4Dp4ghgH8V5fy5r0gY,11488
|
|
196
|
-
daytona_api_client-0.108.
|
|
197
|
-
daytona_api_client-0.108.
|
|
198
|
-
daytona_api_client-0.108.
|
|
199
|
-
daytona_api_client-0.108.
|
|
200
|
-
daytona_api_client-0.108.
|
|
193
|
+
daytona_api_client-0.108.1rc1.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
|
|
194
|
+
daytona_api_client-0.108.1rc1.dist-info/METADATA,sha256=SLBx5Z8PTii6nMxEcjnEipWbBBXXv-s8WRw0ri0MQ8Y,622
|
|
195
|
+
daytona_api_client-0.108.1rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
196
|
+
daytona_api_client-0.108.1rc1.dist-info/top_level.txt,sha256=sDZKAfxKnAQYvOLS9vAOx88EYH3wV5Wx897pODDupuE,19
|
|
197
|
+
daytona_api_client-0.108.1rc1.dist-info/RECORD,,
|
|
@@ -1,115 +0,0 @@
|
|
|
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 daytona_api_client.models.workspace import Workspace
|
|
24
|
-
from typing import Optional, Set
|
|
25
|
-
from typing_extensions import Self
|
|
26
|
-
|
|
27
|
-
class PaginatedWorkspaces(BaseModel):
|
|
28
|
-
"""
|
|
29
|
-
PaginatedWorkspaces
|
|
30
|
-
""" # noqa: E501
|
|
31
|
-
items: List[Workspace]
|
|
32
|
-
total: Union[StrictFloat, StrictInt]
|
|
33
|
-
page: Union[StrictFloat, StrictInt]
|
|
34
|
-
total_pages: Union[StrictFloat, StrictInt] = Field(alias="totalPages")
|
|
35
|
-
additional_properties: Dict[str, Any] = {}
|
|
36
|
-
__properties: ClassVar[List[str]] = ["items", "total", "page", "totalPages"]
|
|
37
|
-
|
|
38
|
-
model_config = ConfigDict(
|
|
39
|
-
populate_by_name=True,
|
|
40
|
-
validate_assignment=True,
|
|
41
|
-
protected_namespaces=(),
|
|
42
|
-
)
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
def to_str(self) -> str:
|
|
46
|
-
"""Returns the string representation of the model using alias"""
|
|
47
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
|
48
|
-
|
|
49
|
-
def to_json(self) -> str:
|
|
50
|
-
"""Returns the JSON representation of the model using alias"""
|
|
51
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
52
|
-
return json.dumps(self.to_dict())
|
|
53
|
-
|
|
54
|
-
@classmethod
|
|
55
|
-
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
56
|
-
"""Create an instance of PaginatedWorkspaces from a JSON string"""
|
|
57
|
-
return cls.from_dict(json.loads(json_str))
|
|
58
|
-
|
|
59
|
-
def to_dict(self) -> Dict[str, Any]:
|
|
60
|
-
"""Return the dictionary representation of the model using alias.
|
|
61
|
-
|
|
62
|
-
This has the following differences from calling pydantic's
|
|
63
|
-
`self.model_dump(by_alias=True)`:
|
|
64
|
-
|
|
65
|
-
* `None` is only added to the output dict for nullable fields that
|
|
66
|
-
were set at model initialization. Other fields with value `None`
|
|
67
|
-
are ignored.
|
|
68
|
-
* Fields in `self.additional_properties` are added to the output dict.
|
|
69
|
-
"""
|
|
70
|
-
excluded_fields: Set[str] = set([
|
|
71
|
-
"additional_properties",
|
|
72
|
-
])
|
|
73
|
-
|
|
74
|
-
_dict = self.model_dump(
|
|
75
|
-
by_alias=True,
|
|
76
|
-
exclude=excluded_fields,
|
|
77
|
-
exclude_none=True,
|
|
78
|
-
)
|
|
79
|
-
# override the default output from pydantic by calling `to_dict()` of each item in items (list)
|
|
80
|
-
_items = []
|
|
81
|
-
if self.items:
|
|
82
|
-
for _item_items in self.items:
|
|
83
|
-
if _item_items:
|
|
84
|
-
_items.append(_item_items.to_dict())
|
|
85
|
-
_dict['items'] = _items
|
|
86
|
-
# puts key-value pairs in additional_properties in the top level
|
|
87
|
-
if self.additional_properties is not None:
|
|
88
|
-
for _key, _value in self.additional_properties.items():
|
|
89
|
-
_dict[_key] = _value
|
|
90
|
-
|
|
91
|
-
return _dict
|
|
92
|
-
|
|
93
|
-
@classmethod
|
|
94
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
95
|
-
"""Create an instance of PaginatedWorkspaces from a dict"""
|
|
96
|
-
if obj is None:
|
|
97
|
-
return None
|
|
98
|
-
|
|
99
|
-
if not isinstance(obj, dict):
|
|
100
|
-
return cls.model_validate(obj)
|
|
101
|
-
|
|
102
|
-
_obj = cls.model_validate({
|
|
103
|
-
"items": [Workspace.from_dict(_item) for _item in obj["items"]] if obj.get("items") is not None else None,
|
|
104
|
-
"total": obj.get("total"),
|
|
105
|
-
"page": obj.get("page"),
|
|
106
|
-
"totalPages": obj.get("totalPages")
|
|
107
|
-
})
|
|
108
|
-
# store additional fields in additional_properties
|
|
109
|
-
for _key in obj.keys():
|
|
110
|
-
if _key not in cls.__properties:
|
|
111
|
-
_obj.additional_properties[_key] = obj.get(_key)
|
|
112
|
-
|
|
113
|
-
return _obj
|
|
114
|
-
|
|
115
|
-
|
|
@@ -1,101 +0,0 @@
|
|
|
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, StrictStr
|
|
22
|
-
from typing import Any, ClassVar, Dict, List
|
|
23
|
-
from typing import Optional, Set
|
|
24
|
-
from typing_extensions import Self
|
|
25
|
-
|
|
26
|
-
class UpdateAssignedOrganizationRoles(BaseModel):
|
|
27
|
-
"""
|
|
28
|
-
UpdateAssignedOrganizationRoles
|
|
29
|
-
""" # noqa: E501
|
|
30
|
-
role_ids: List[StrictStr] = Field(description="Array of role IDs", alias="roleIds")
|
|
31
|
-
additional_properties: Dict[str, Any] = {}
|
|
32
|
-
__properties: ClassVar[List[str]] = ["roleIds"]
|
|
33
|
-
|
|
34
|
-
model_config = ConfigDict(
|
|
35
|
-
populate_by_name=True,
|
|
36
|
-
validate_assignment=True,
|
|
37
|
-
protected_namespaces=(),
|
|
38
|
-
)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
def to_str(self) -> str:
|
|
42
|
-
"""Returns the string representation of the model using alias"""
|
|
43
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
|
44
|
-
|
|
45
|
-
def to_json(self) -> str:
|
|
46
|
-
"""Returns the JSON representation of the model using alias"""
|
|
47
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
48
|
-
return json.dumps(self.to_dict())
|
|
49
|
-
|
|
50
|
-
@classmethod
|
|
51
|
-
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
52
|
-
"""Create an instance of UpdateAssignedOrganizationRoles from a JSON string"""
|
|
53
|
-
return cls.from_dict(json.loads(json_str))
|
|
54
|
-
|
|
55
|
-
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
-
"""Return the dictionary representation of the model using alias.
|
|
57
|
-
|
|
58
|
-
This has the following differences from calling pydantic's
|
|
59
|
-
`self.model_dump(by_alias=True)`:
|
|
60
|
-
|
|
61
|
-
* `None` is only added to the output dict for nullable fields that
|
|
62
|
-
were set at model initialization. Other fields with value `None`
|
|
63
|
-
are ignored.
|
|
64
|
-
* Fields in `self.additional_properties` are added to the output dict.
|
|
65
|
-
"""
|
|
66
|
-
excluded_fields: Set[str] = set([
|
|
67
|
-
"additional_properties",
|
|
68
|
-
])
|
|
69
|
-
|
|
70
|
-
_dict = self.model_dump(
|
|
71
|
-
by_alias=True,
|
|
72
|
-
exclude=excluded_fields,
|
|
73
|
-
exclude_none=True,
|
|
74
|
-
)
|
|
75
|
-
# puts key-value pairs in additional_properties in the top level
|
|
76
|
-
if self.additional_properties is not None:
|
|
77
|
-
for _key, _value in self.additional_properties.items():
|
|
78
|
-
_dict[_key] = _value
|
|
79
|
-
|
|
80
|
-
return _dict
|
|
81
|
-
|
|
82
|
-
@classmethod
|
|
83
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
84
|
-
"""Create an instance of UpdateAssignedOrganizationRoles from a dict"""
|
|
85
|
-
if obj is None:
|
|
86
|
-
return None
|
|
87
|
-
|
|
88
|
-
if not isinstance(obj, dict):
|
|
89
|
-
return cls.model_validate(obj)
|
|
90
|
-
|
|
91
|
-
_obj = cls.model_validate({
|
|
92
|
-
"roleIds": obj.get("roleIds")
|
|
93
|
-
})
|
|
94
|
-
# store additional fields in additional_properties
|
|
95
|
-
for _key in obj.keys():
|
|
96
|
-
if _key not in cls.__properties:
|
|
97
|
-
_obj.additional_properties[_key] = obj.get(_key)
|
|
98
|
-
|
|
99
|
-
return _obj
|
|
100
|
-
|
|
101
|
-
|