daytona_api_client 0.106.0a2__py3-none-any.whl → 0.106.0a3__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/api/sandbox_api.py +17 -0
- daytona_api_client/models/daytona_configuration.py +4 -2
- {daytona_api_client-0.106.0a2.dist-info → daytona_api_client-0.106.0a3.dist-info}/METADATA +1 -1
- {daytona_api_client-0.106.0a2.dist-info → daytona_api_client-0.106.0a3.dist-info}/RECORD +7 -7
- {daytona_api_client-0.106.0a2.dist-info → daytona_api_client-0.106.0a3.dist-info}/WHEEL +0 -0
- {daytona_api_client-0.106.0a2.dist-info → daytona_api_client-0.106.0a3.dist-info}/licenses/LICENSE +0 -0
- {daytona_api_client-0.106.0a2.dist-info → daytona_api_client-0.106.0a3.dist-info}/top_level.txt +0 -0
|
@@ -1173,6 +1173,7 @@ class SandboxApi:
|
|
|
1173
1173
|
self,
|
|
1174
1174
|
sandbox_id: Annotated[StrictStr, Field(description="ID of the sandbox")],
|
|
1175
1175
|
x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
|
|
1176
|
+
force: Annotated[Optional[StrictBool], Field(description="Force delete sandbox")] = None,
|
|
1176
1177
|
_request_timeout: Union[
|
|
1177
1178
|
None,
|
|
1178
1179
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1193,6 +1194,8 @@ class SandboxApi:
|
|
|
1193
1194
|
:type sandbox_id: str
|
|
1194
1195
|
:param x_daytona_organization_id: Use with JWT to specify the organization ID
|
|
1195
1196
|
:type x_daytona_organization_id: str
|
|
1197
|
+
:param force: Force delete sandbox
|
|
1198
|
+
:type force: bool
|
|
1196
1199
|
:param _request_timeout: timeout setting for this request. If one
|
|
1197
1200
|
number provided, it will be total request
|
|
1198
1201
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1218,6 +1221,7 @@ class SandboxApi:
|
|
|
1218
1221
|
_param = self._delete_sandbox_serialize(
|
|
1219
1222
|
sandbox_id=sandbox_id,
|
|
1220
1223
|
x_daytona_organization_id=x_daytona_organization_id,
|
|
1224
|
+
force=force,
|
|
1221
1225
|
_request_auth=_request_auth,
|
|
1222
1226
|
_content_type=_content_type,
|
|
1223
1227
|
_headers=_headers,
|
|
@@ -1243,6 +1247,7 @@ class SandboxApi:
|
|
|
1243
1247
|
self,
|
|
1244
1248
|
sandbox_id: Annotated[StrictStr, Field(description="ID of the sandbox")],
|
|
1245
1249
|
x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
|
|
1250
|
+
force: Annotated[Optional[StrictBool], Field(description="Force delete sandbox")] = None,
|
|
1246
1251
|
_request_timeout: Union[
|
|
1247
1252
|
None,
|
|
1248
1253
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1263,6 +1268,8 @@ class SandboxApi:
|
|
|
1263
1268
|
:type sandbox_id: str
|
|
1264
1269
|
:param x_daytona_organization_id: Use with JWT to specify the organization ID
|
|
1265
1270
|
:type x_daytona_organization_id: str
|
|
1271
|
+
:param force: Force delete sandbox
|
|
1272
|
+
:type force: bool
|
|
1266
1273
|
:param _request_timeout: timeout setting for this request. If one
|
|
1267
1274
|
number provided, it will be total request
|
|
1268
1275
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1288,6 +1295,7 @@ class SandboxApi:
|
|
|
1288
1295
|
_param = self._delete_sandbox_serialize(
|
|
1289
1296
|
sandbox_id=sandbox_id,
|
|
1290
1297
|
x_daytona_organization_id=x_daytona_organization_id,
|
|
1298
|
+
force=force,
|
|
1291
1299
|
_request_auth=_request_auth,
|
|
1292
1300
|
_content_type=_content_type,
|
|
1293
1301
|
_headers=_headers,
|
|
@@ -1313,6 +1321,7 @@ class SandboxApi:
|
|
|
1313
1321
|
self,
|
|
1314
1322
|
sandbox_id: Annotated[StrictStr, Field(description="ID of the sandbox")],
|
|
1315
1323
|
x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
|
|
1324
|
+
force: Annotated[Optional[StrictBool], Field(description="Force delete sandbox")] = None,
|
|
1316
1325
|
_request_timeout: Union[
|
|
1317
1326
|
None,
|
|
1318
1327
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1333,6 +1342,8 @@ class SandboxApi:
|
|
|
1333
1342
|
:type sandbox_id: str
|
|
1334
1343
|
:param x_daytona_organization_id: Use with JWT to specify the organization ID
|
|
1335
1344
|
:type x_daytona_organization_id: str
|
|
1345
|
+
:param force: Force delete sandbox
|
|
1346
|
+
:type force: bool
|
|
1336
1347
|
:param _request_timeout: timeout setting for this request. If one
|
|
1337
1348
|
number provided, it will be total request
|
|
1338
1349
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1358,6 +1369,7 @@ class SandboxApi:
|
|
|
1358
1369
|
_param = self._delete_sandbox_serialize(
|
|
1359
1370
|
sandbox_id=sandbox_id,
|
|
1360
1371
|
x_daytona_organization_id=x_daytona_organization_id,
|
|
1372
|
+
force=force,
|
|
1361
1373
|
_request_auth=_request_auth,
|
|
1362
1374
|
_content_type=_content_type,
|
|
1363
1375
|
_headers=_headers,
|
|
@@ -1378,6 +1390,7 @@ class SandboxApi:
|
|
|
1378
1390
|
self,
|
|
1379
1391
|
sandbox_id,
|
|
1380
1392
|
x_daytona_organization_id,
|
|
1393
|
+
force,
|
|
1381
1394
|
_request_auth,
|
|
1382
1395
|
_content_type,
|
|
1383
1396
|
_headers,
|
|
@@ -1402,6 +1415,10 @@ class SandboxApi:
|
|
|
1402
1415
|
if sandbox_id is not None:
|
|
1403
1416
|
_path_params['sandboxId'] = sandbox_id
|
|
1404
1417
|
# process the query parameters
|
|
1418
|
+
if force is not None:
|
|
1419
|
+
|
|
1420
|
+
_query_params.append(('force', force))
|
|
1421
|
+
|
|
1405
1422
|
# process the header parameters
|
|
1406
1423
|
if x_daytona_organization_id is not None:
|
|
1407
1424
|
_header_params['X-Daytona-Organization-ID'] = x_daytona_organization_id
|
|
@@ -44,8 +44,9 @@ class DaytonaConfiguration(BaseModel):
|
|
|
44
44
|
environment: StrictStr = Field(description="Current environment")
|
|
45
45
|
billing_api_url: Optional[StrictStr] = Field(default=None, description="Billing API URL", alias="billingApiUrl")
|
|
46
46
|
ssh_gateway_command: Optional[StrictStr] = Field(default=None, description="SSH Gateway command", alias="sshGatewayCommand")
|
|
47
|
+
ssh_gateway_public_key: Optional[StrictStr] = Field(default=None, description="Base64 encoded SSH Gateway public key", alias="sshGatewayPublicKey")
|
|
47
48
|
additional_properties: Dict[str, Any] = {}
|
|
48
|
-
__properties: ClassVar[List[str]] = ["version", "posthog", "oidc", "linkedAccountsEnabled", "announcements", "pylonAppId", "proxyTemplateUrl", "defaultSnapshot", "dashboardUrl", "maxAutoArchiveInterval", "maintananceMode", "environment", "billingApiUrl", "sshGatewayCommand"]
|
|
49
|
+
__properties: ClassVar[List[str]] = ["version", "posthog", "oidc", "linkedAccountsEnabled", "announcements", "pylonAppId", "proxyTemplateUrl", "defaultSnapshot", "dashboardUrl", "maxAutoArchiveInterval", "maintananceMode", "environment", "billingApiUrl", "sshGatewayCommand", "sshGatewayPublicKey"]
|
|
49
50
|
|
|
50
51
|
model_config = ConfigDict(
|
|
51
52
|
populate_by_name=True,
|
|
@@ -136,7 +137,8 @@ class DaytonaConfiguration(BaseModel):
|
|
|
136
137
|
"maintananceMode": obj.get("maintananceMode"),
|
|
137
138
|
"environment": obj.get("environment"),
|
|
138
139
|
"billingApiUrl": obj.get("billingApiUrl"),
|
|
139
|
-
"sshGatewayCommand": obj.get("sshGatewayCommand")
|
|
140
|
+
"sshGatewayCommand": obj.get("sshGatewayCommand"),
|
|
141
|
+
"sshGatewayPublicKey": obj.get("sshGatewayPublicKey")
|
|
140
142
|
})
|
|
141
143
|
# store additional fields in additional_properties
|
|
142
144
|
for _key in obj.keys():
|
|
@@ -16,7 +16,7 @@ daytona_api_client/api/object_storage_api.py,sha256=wvOdTUjvlChxzwwzA-49iwjl46F0
|
|
|
16
16
|
daytona_api_client/api/organizations_api.py,sha256=ve8cb9Oa6fAeKgcysbl4MVZ6I6_0pI51vYs_3g9Yn4g,276339
|
|
17
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=
|
|
19
|
+
daytona_api_client/api/sandbox_api.py,sha256=1QZeJijGlZUN6z7Ja1RfCSVm1UqMS-1TJHR3aQzlg3M,275009
|
|
20
20
|
daytona_api_client/api/snapshots_api.py,sha256=wWVMSacgwwSSwbrmpxuENk4QvwO0O0nbJMb6nSu0xYg,105729
|
|
21
21
|
daytona_api_client/api/toolbox_api.py,sha256=Lre2yB0xbWjtkyt2LS2N-TB84lwBJhd1iXewQggOL1I,755844
|
|
22
22
|
daytona_api_client/api/users_api.py,sha256=KR4cw2mfRp06QV2b0UXXQ1Jcx59TyuS0c7yGRr2Sodk,86402
|
|
@@ -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
|
|
@@ -188,8 +188,8 @@ daytona_api_client/models/windows_response.py,sha256=1fW2GYVSjFbipfQupU2MjfhUlcE
|
|
|
188
188
|
daytona_api_client/models/work_dir_response.py,sha256=1dndjWYnDSMDeLiY8pxQDX1viESoAGF_fegSiMx3i40,3047
|
|
189
189
|
daytona_api_client/models/workdir_response.py,sha256=geBhfQDR7LK0uPlmJF6Ple1eQMCzhSb4qK-9UfhqV7k,3047
|
|
190
190
|
daytona_api_client/models/workspace.py,sha256=uwAStXOLrVJzbxdTfPZokrcMr4Dp4ghgH8V5fy5r0gY,11488
|
|
191
|
-
daytona_api_client-0.106.
|
|
192
|
-
daytona_api_client-0.106.
|
|
193
|
-
daytona_api_client-0.106.
|
|
194
|
-
daytona_api_client-0.106.
|
|
195
|
-
daytona_api_client-0.106.
|
|
191
|
+
daytona_api_client-0.106.0a3.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
|
|
192
|
+
daytona_api_client-0.106.0a3.dist-info/METADATA,sha256=a7skILea_z8nRxXc-xKw4yySiA4gyURAKxHJxyANuno,621
|
|
193
|
+
daytona_api_client-0.106.0a3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
194
|
+
daytona_api_client-0.106.0a3.dist-info/top_level.txt,sha256=sDZKAfxKnAQYvOLS9vAOx88EYH3wV5Wx897pODDupuE,19
|
|
195
|
+
daytona_api_client-0.106.0a3.dist-info/RECORD,,
|
|
File without changes
|
{daytona_api_client-0.106.0a2.dist-info → daytona_api_client-0.106.0a3.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{daytona_api_client-0.106.0a2.dist-info → daytona_api_client-0.106.0a3.dist-info}/top_level.txt
RENAMED
|
File without changes
|