@phala/cloud 0.2.10 → 0.4.0
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.
- package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +100 -161
- package/dist/actions/apps/check_app_is_allowed.d.ts +14 -14
- package/dist/actions/apps/create_app_instance.d.ts +22 -22
- package/dist/actions/apps/get_app_attestation.d.ts +43 -33
- package/dist/actions/apps/get_app_device_allowlist.d.ts +51 -50
- package/dist/actions/apps/get_app_list.d.ts +2 -2
- package/dist/actions/cvms/check_cvm_is_allowed.d.ts +40 -102
- package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +12 -12
- package/dist/actions/cvms/commit_cvm_provision.d.ts +11 -135
- package/dist/actions/cvms/commit_cvm_update.d.ts +2 -2
- package/dist/actions/cvms/confirm_cvm_patch.d.ts +2 -2
- package/dist/actions/cvms/delete_cvm.d.ts +2 -2
- package/dist/actions/cvms/get_available_os_images.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_attestation.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +166 -22
- package/dist/actions/cvms/get_cvm_containers_stats.d.ts +10 -10
- package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_info.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_list.d.ts +8 -10
- package/dist/actions/cvms/get_cvm_network.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_state.d.ts +6 -6
- package/dist/actions/cvms/get_cvm_stats.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_status_batch.d.ts +253 -30
- package/dist/actions/cvms/get_cvm_user_config.d.ts +2 -2
- package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +2 -2
- package/dist/actions/cvms/patch_cvm.d.ts +34 -18
- package/dist/actions/cvms/provision_cvm.d.ts +900 -51
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +253 -43
- package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +27 -58
- package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +120 -165
- package/dist/actions/cvms/replicate_cvm.d.ts +7 -72
- package/dist/actions/cvms/restart_cvm.d.ts +7 -72
- package/dist/actions/cvms/shutdown_cvm.d.ts +9 -72
- package/dist/actions/cvms/start_cvm.d.ts +7 -72
- package/dist/actions/cvms/stop_cvm.d.ts +7 -72
- package/dist/actions/cvms/update_cvm_envs.d.ts +36 -20
- package/dist/actions/cvms/update_cvm_resources.d.ts +26 -4
- package/dist/actions/cvms/update_cvm_visibility.d.ts +26 -24
- package/dist/actions/cvms/update_docker_compose.d.ts +51 -20
- package/dist/actions/cvms/update_os_image.d.ts +2 -2
- package/dist/actions/cvms/update_prelaunch_script.d.ts +51 -20
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +36 -20
- package/dist/actions/get_available_nodes.d.ts +259 -0
- package/dist/actions/get_cvm_create_resources.d.ts +351 -0
- package/dist/actions/index.d.ts +6 -2
- package/dist/actions/kms/get_kms_contract.d.ts +59 -0
- package/dist/actions/kms/get_kms_list.d.ts +25 -10
- package/dist/actions/kms/get_kms_onchain_detail.d.ts +54 -0
- package/dist/actions/kms/list_kms_contract_nodes.d.ts +98 -0
- package/dist/actions/kms/list_kms_contracts.d.ts +152 -0
- package/dist/actions/kms/next_app_ids.d.ts +6 -6
- package/dist/actions/list-instance-types.d.ts +12 -12
- package/dist/actions/ssh_keys/create_ssh_key.d.ts +2 -2
- package/dist/actions/ssh_keys/list_ssh_keys.d.ts +4 -4
- package/dist/actions/workspaces/get_workspace.d.ts +4 -0
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +175 -14
- package/dist/actions/workspaces/list_workspaces.d.ts +126 -0
- package/dist/client.d.ts +4 -1
- package/dist/create-client.d.ts +48 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1779 -1250
- package/dist/index.mjs +1704 -1194
- package/dist/types/app_compose.d.ts +50 -5
- package/dist/types/app_info_v20251028.d.ts +172 -128
- package/dist/types/app_info_v20260121.d.ts +2814 -490
- package/dist/types/app_revision.d.ts +8 -8
- package/dist/types/client.d.ts +2 -2
- package/dist/types/cvm_id.d.ts +6 -6
- package/dist/types/cvm_info.d.ts +98 -98
- package/dist/types/cvm_info_v20251028.d.ts +70 -47
- package/dist/types/cvm_info_v20260121.d.ts +1125 -148
- package/dist/types/kms_contract.d.ts +64 -0
- package/dist/types/kms_info.d.ts +8 -0
- package/dist/types/version-mappings.d.ts +43 -6
- package/dist/utils/error_codes.d.ts +1 -0
- package/dist/utils/errors.d.ts +30 -1
- package/dist/utils/get_compose_hash.d.ts +24 -0
- package/dist/utils/get_mr_config_id.d.ts +55 -0
- package/dist/utils/index.d.ts +3 -2
- package/package.json +3 -3
|
@@ -66,6 +66,61 @@ export declare const CvmResourceInfoV20260121Schema: z.ZodObject<{
|
|
|
66
66
|
compute_billing_price?: string | null | undefined;
|
|
67
67
|
}>;
|
|
68
68
|
export type CvmResourceInfoV20260121 = z.infer<typeof CvmResourceInfoV20260121Schema>;
|
|
69
|
+
export declare const CvmHourlyRateV20260121Schema: z.ZodObject<{
|
|
70
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
total?: string | null | undefined;
|
|
75
|
+
compute?: string | null | undefined;
|
|
76
|
+
disk?: string | null | undefined;
|
|
77
|
+
}, {
|
|
78
|
+
total?: string | null | undefined;
|
|
79
|
+
compute?: string | null | undefined;
|
|
80
|
+
disk?: string | null | undefined;
|
|
81
|
+
}>;
|
|
82
|
+
export type CvmHourlyRateV20260121 = z.infer<typeof CvmHourlyRateV20260121Schema>;
|
|
83
|
+
export declare const CvmGpuRentalOrderInfoV20260121Schema: z.ZodObject<{
|
|
84
|
+
order_id: z.ZodString;
|
|
85
|
+
status: z.ZodString;
|
|
86
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
88
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
status: string;
|
|
98
|
+
order_id: string;
|
|
99
|
+
pricing_plan?: string | null | undefined;
|
|
100
|
+
commitment_days?: number | null | undefined;
|
|
101
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
102
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
103
|
+
activated_at?: string | null | undefined;
|
|
104
|
+
completed_at?: string | null | undefined;
|
|
105
|
+
cancelled_at?: string | null | undefined;
|
|
106
|
+
decoupled_at?: string | null | undefined;
|
|
107
|
+
sku_code?: string | null | undefined;
|
|
108
|
+
sku_display_name?: string | null | undefined;
|
|
109
|
+
}, {
|
|
110
|
+
status: string;
|
|
111
|
+
order_id: string;
|
|
112
|
+
pricing_plan?: string | null | undefined;
|
|
113
|
+
commitment_days?: number | null | undefined;
|
|
114
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
115
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
116
|
+
activated_at?: string | null | undefined;
|
|
117
|
+
completed_at?: string | null | undefined;
|
|
118
|
+
cancelled_at?: string | null | undefined;
|
|
119
|
+
decoupled_at?: string | null | undefined;
|
|
120
|
+
sku_code?: string | null | undefined;
|
|
121
|
+
sku_display_name?: string | null | undefined;
|
|
122
|
+
}>;
|
|
123
|
+
export type CvmGpuRentalOrderInfoV20260121 = z.infer<typeof CvmGpuRentalOrderInfoV20260121Schema>;
|
|
69
124
|
export declare const CvmOsInfoV20260121Schema: z.ZodObject<{
|
|
70
125
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
126
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -162,23 +217,55 @@ export declare const CvmLogUrlsV20260121Schema: z.ZodObject<{
|
|
|
162
217
|
container_log_base?: string | null | undefined;
|
|
163
218
|
}>;
|
|
164
219
|
export type CvmLogUrlsV20260121 = z.infer<typeof CvmLogUrlsV20260121Schema>;
|
|
220
|
+
export declare const DeviceIdEntrySchema: z.ZodObject<{
|
|
221
|
+
device_id: z.ZodString;
|
|
222
|
+
algorithm_version: z.ZodString;
|
|
223
|
+
enabled: z.ZodBoolean;
|
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
|
225
|
+
device_id: string;
|
|
226
|
+
algorithm_version: string;
|
|
227
|
+
enabled: boolean;
|
|
228
|
+
}, {
|
|
229
|
+
device_id: string;
|
|
230
|
+
algorithm_version: string;
|
|
231
|
+
enabled: boolean;
|
|
232
|
+
}>;
|
|
233
|
+
export type DeviceIdEntry = z.infer<typeof DeviceIdEntrySchema>;
|
|
165
234
|
export declare const NodeRefSchema: z.ZodObject<{
|
|
166
235
|
object_type: z.ZodLiteral<"node">;
|
|
167
236
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
168
237
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
169
238
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
170
239
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
240
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
241
|
+
device_id: z.ZodString;
|
|
242
|
+
algorithm_version: z.ZodString;
|
|
243
|
+
enabled: z.ZodBoolean;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
device_id: string;
|
|
246
|
+
algorithm_version: string;
|
|
247
|
+
enabled: boolean;
|
|
248
|
+
}, {
|
|
249
|
+
device_id: string;
|
|
250
|
+
algorithm_version: string;
|
|
251
|
+
enabled: boolean;
|
|
252
|
+
}>, "many">>;
|
|
171
253
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
172
254
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
173
255
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
174
256
|
}, "strip", z.ZodTypeAny, {
|
|
175
257
|
object_type: "node";
|
|
258
|
+
device_ids: {
|
|
259
|
+
device_id: string;
|
|
260
|
+
algorithm_version: string;
|
|
261
|
+
enabled: boolean;
|
|
262
|
+
}[];
|
|
176
263
|
status?: string | null | undefined;
|
|
177
264
|
name?: string | null | undefined;
|
|
178
265
|
version?: string | null | undefined;
|
|
179
266
|
id?: number | null | undefined;
|
|
180
|
-
region?: string | null | undefined;
|
|
181
267
|
device_id?: string | null | undefined;
|
|
268
|
+
region?: string | null | undefined;
|
|
182
269
|
ppid?: string | null | undefined;
|
|
183
270
|
}, {
|
|
184
271
|
object_type: "node";
|
|
@@ -186,8 +273,13 @@ export declare const NodeRefSchema: z.ZodObject<{
|
|
|
186
273
|
name?: string | null | undefined;
|
|
187
274
|
version?: string | null | undefined;
|
|
188
275
|
id?: number | null | undefined;
|
|
189
|
-
region?: string | null | undefined;
|
|
190
276
|
device_id?: string | null | undefined;
|
|
277
|
+
region?: string | null | undefined;
|
|
278
|
+
device_ids?: {
|
|
279
|
+
device_id: string;
|
|
280
|
+
algorithm_version: string;
|
|
281
|
+
enabled: boolean;
|
|
282
|
+
}[] | undefined;
|
|
191
283
|
ppid?: string | null | undefined;
|
|
192
284
|
}>;
|
|
193
285
|
export type NodeRef = z.infer<typeof NodeRefSchema>;
|
|
@@ -197,17 +289,35 @@ export declare const CvmNodeInfoV20260121Schema: z.ZodObject<{
|
|
|
197
289
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
290
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
291
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
292
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
293
|
+
device_id: z.ZodString;
|
|
294
|
+
algorithm_version: z.ZodString;
|
|
295
|
+
enabled: z.ZodBoolean;
|
|
296
|
+
}, "strip", z.ZodTypeAny, {
|
|
297
|
+
device_id: string;
|
|
298
|
+
algorithm_version: string;
|
|
299
|
+
enabled: boolean;
|
|
300
|
+
}, {
|
|
301
|
+
device_id: string;
|
|
302
|
+
algorithm_version: string;
|
|
303
|
+
enabled: boolean;
|
|
304
|
+
}>, "many">>;
|
|
200
305
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
201
306
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
202
307
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
203
308
|
}, "strip", z.ZodTypeAny, {
|
|
204
309
|
object_type: "node";
|
|
310
|
+
device_ids: {
|
|
311
|
+
device_id: string;
|
|
312
|
+
algorithm_version: string;
|
|
313
|
+
enabled: boolean;
|
|
314
|
+
}[];
|
|
205
315
|
status?: string | null | undefined;
|
|
206
316
|
name?: string | null | undefined;
|
|
207
317
|
version?: string | null | undefined;
|
|
208
318
|
id?: number | null | undefined;
|
|
209
|
-
region?: string | null | undefined;
|
|
210
319
|
device_id?: string | null | undefined;
|
|
320
|
+
region?: string | null | undefined;
|
|
211
321
|
ppid?: string | null | undefined;
|
|
212
322
|
}, {
|
|
213
323
|
object_type: "node";
|
|
@@ -215,8 +325,13 @@ export declare const CvmNodeInfoV20260121Schema: z.ZodObject<{
|
|
|
215
325
|
name?: string | null | undefined;
|
|
216
326
|
version?: string | null | undefined;
|
|
217
327
|
id?: number | null | undefined;
|
|
218
|
-
region?: string | null | undefined;
|
|
219
328
|
device_id?: string | null | undefined;
|
|
329
|
+
region?: string | null | undefined;
|
|
330
|
+
device_ids?: {
|
|
331
|
+
device_id: string;
|
|
332
|
+
algorithm_version: string;
|
|
333
|
+
enabled: boolean;
|
|
334
|
+
}[] | undefined;
|
|
220
335
|
ppid?: string | null | undefined;
|
|
221
336
|
}>;
|
|
222
337
|
export type CvmNodeInfoV20260121 = NodeRef;
|
|
@@ -257,17 +372,35 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
257
372
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
258
373
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
259
374
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
375
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
376
|
+
device_id: z.ZodString;
|
|
377
|
+
algorithm_version: z.ZodString;
|
|
378
|
+
enabled: z.ZodBoolean;
|
|
379
|
+
}, "strip", z.ZodTypeAny, {
|
|
380
|
+
device_id: string;
|
|
381
|
+
algorithm_version: string;
|
|
382
|
+
enabled: boolean;
|
|
383
|
+
}, {
|
|
384
|
+
device_id: string;
|
|
385
|
+
algorithm_version: string;
|
|
386
|
+
enabled: boolean;
|
|
387
|
+
}>, "many">>;
|
|
260
388
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
261
389
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
262
390
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
263
391
|
}, "strip", z.ZodTypeAny, {
|
|
264
392
|
object_type: "node";
|
|
393
|
+
device_ids: {
|
|
394
|
+
device_id: string;
|
|
395
|
+
algorithm_version: string;
|
|
396
|
+
enabled: boolean;
|
|
397
|
+
}[];
|
|
265
398
|
status?: string | null | undefined;
|
|
266
399
|
name?: string | null | undefined;
|
|
267
400
|
version?: string | null | undefined;
|
|
268
401
|
id?: number | null | undefined;
|
|
269
|
-
region?: string | null | undefined;
|
|
270
402
|
device_id?: string | null | undefined;
|
|
403
|
+
region?: string | null | undefined;
|
|
271
404
|
ppid?: string | null | undefined;
|
|
272
405
|
}, {
|
|
273
406
|
object_type: "node";
|
|
@@ -275,8 +408,13 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
275
408
|
name?: string | null | undefined;
|
|
276
409
|
version?: string | null | undefined;
|
|
277
410
|
id?: number | null | undefined;
|
|
278
|
-
region?: string | null | undefined;
|
|
279
411
|
device_id?: string | null | undefined;
|
|
412
|
+
region?: string | null | undefined;
|
|
413
|
+
device_ids?: {
|
|
414
|
+
device_id: string;
|
|
415
|
+
algorithm_version: string;
|
|
416
|
+
enabled: boolean;
|
|
417
|
+
}[] | undefined;
|
|
280
418
|
ppid?: string | null | undefined;
|
|
281
419
|
}>>>;
|
|
282
420
|
os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -432,10 +570,68 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
432
570
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
433
571
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
434
572
|
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
573
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
574
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
575
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
576
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
577
|
+
}, "strip", z.ZodTypeAny, {
|
|
578
|
+
total?: string | null | undefined;
|
|
579
|
+
compute?: string | null | undefined;
|
|
580
|
+
disk?: string | null | undefined;
|
|
581
|
+
}, {
|
|
582
|
+
total?: string | null | undefined;
|
|
583
|
+
compute?: string | null | undefined;
|
|
584
|
+
disk?: string | null | undefined;
|
|
585
|
+
}>>>;
|
|
586
|
+
billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
587
|
+
gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
588
|
+
order_id: z.ZodString;
|
|
589
|
+
status: z.ZodString;
|
|
590
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
591
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
592
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
593
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
594
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
595
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
596
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
597
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
598
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
599
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
600
|
+
}, "strip", z.ZodTypeAny, {
|
|
601
|
+
status: string;
|
|
602
|
+
order_id: string;
|
|
603
|
+
pricing_plan?: string | null | undefined;
|
|
604
|
+
commitment_days?: number | null | undefined;
|
|
605
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
606
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
607
|
+
activated_at?: string | null | undefined;
|
|
608
|
+
completed_at?: string | null | undefined;
|
|
609
|
+
cancelled_at?: string | null | undefined;
|
|
610
|
+
decoupled_at?: string | null | undefined;
|
|
611
|
+
sku_code?: string | null | undefined;
|
|
612
|
+
sku_display_name?: string | null | undefined;
|
|
613
|
+
}, {
|
|
614
|
+
status: string;
|
|
615
|
+
order_id: string;
|
|
616
|
+
pricing_plan?: string | null | undefined;
|
|
617
|
+
commitment_days?: number | null | undefined;
|
|
618
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
619
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
620
|
+
activated_at?: string | null | undefined;
|
|
621
|
+
completed_at?: string | null | undefined;
|
|
622
|
+
cancelled_at?: string | null | undefined;
|
|
623
|
+
decoupled_at?: string | null | undefined;
|
|
624
|
+
sku_code?: string | null | undefined;
|
|
625
|
+
sku_display_name?: string | null | undefined;
|
|
626
|
+
}>>>;
|
|
435
627
|
}, "strip", z.ZodTypeAny, {
|
|
436
628
|
status: string;
|
|
437
629
|
name: string;
|
|
438
630
|
id: string;
|
|
631
|
+
gateway: {
|
|
632
|
+
base_domain?: string | null | undefined;
|
|
633
|
+
cname?: string | null | undefined;
|
|
634
|
+
};
|
|
439
635
|
listed: boolean;
|
|
440
636
|
in_progress: boolean;
|
|
441
637
|
resource: {
|
|
@@ -447,10 +643,6 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
447
643
|
gpus?: number | null | undefined;
|
|
448
644
|
compute_billing_price?: string | null | undefined;
|
|
449
645
|
};
|
|
450
|
-
gateway: {
|
|
451
|
-
base_domain?: string | null | undefined;
|
|
452
|
-
cname?: string | null | undefined;
|
|
453
|
-
};
|
|
454
646
|
logs: {
|
|
455
647
|
serial?: string | null | undefined;
|
|
456
648
|
stdout?: string | null | undefined;
|
|
@@ -467,6 +659,9 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
467
659
|
} | null | undefined;
|
|
468
660
|
app_id?: string | null | undefined;
|
|
469
661
|
instance_id?: string | null | undefined;
|
|
662
|
+
compose_hash?: string | null | undefined;
|
|
663
|
+
vm_uuid?: string | null | undefined;
|
|
664
|
+
created_at?: string | null | undefined;
|
|
470
665
|
project_type?: string | null | undefined;
|
|
471
666
|
kms_info?: {
|
|
472
667
|
chain_id?: number | null | undefined;
|
|
@@ -476,19 +671,22 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
476
671
|
dstack_app_address?: string | null | undefined;
|
|
477
672
|
rpc_endpoint?: string | null | undefined;
|
|
478
673
|
} | null | undefined;
|
|
479
|
-
vm_uuid?: string | null | undefined;
|
|
480
674
|
public_sysinfo?: boolean | undefined;
|
|
481
675
|
public_logs?: boolean | undefined;
|
|
482
676
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
483
|
-
created_at?: string | null | undefined;
|
|
484
677
|
node_info?: {
|
|
485
678
|
object_type: "node";
|
|
679
|
+
device_ids: {
|
|
680
|
+
device_id: string;
|
|
681
|
+
algorithm_version: string;
|
|
682
|
+
enabled: boolean;
|
|
683
|
+
}[];
|
|
486
684
|
status?: string | null | undefined;
|
|
487
685
|
name?: string | null | undefined;
|
|
488
686
|
version?: string | null | undefined;
|
|
489
687
|
id?: number | null | undefined;
|
|
490
|
-
region?: string | null | undefined;
|
|
491
688
|
device_id?: string | null | undefined;
|
|
689
|
+
region?: string | null | undefined;
|
|
492
690
|
ppid?: string | null | undefined;
|
|
493
691
|
} | null | undefined;
|
|
494
692
|
os?: {
|
|
@@ -502,7 +700,6 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
502
700
|
started_at?: string | null | undefined;
|
|
503
701
|
correlation_id?: string | null | undefined;
|
|
504
702
|
} | null | undefined;
|
|
505
|
-
compose_hash?: string | null | undefined;
|
|
506
703
|
docker_compose_hash?: string | null | undefined;
|
|
507
704
|
pre_launch_script_hash?: string | null | undefined;
|
|
508
705
|
endpoints?: {
|
|
@@ -520,10 +717,34 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
520
717
|
avatar_url?: string | null | undefined;
|
|
521
718
|
} | null | undefined;
|
|
522
719
|
deleted_at?: string | null | undefined;
|
|
720
|
+
hourly_rate?: {
|
|
721
|
+
total?: string | null | undefined;
|
|
722
|
+
compute?: string | null | undefined;
|
|
723
|
+
disk?: string | null | undefined;
|
|
724
|
+
} | null | undefined;
|
|
725
|
+
billing_interval?: string | null | undefined;
|
|
726
|
+
gpu_rental_order?: {
|
|
727
|
+
status: string;
|
|
728
|
+
order_id: string;
|
|
729
|
+
pricing_plan?: string | null | undefined;
|
|
730
|
+
commitment_days?: number | null | undefined;
|
|
731
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
732
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
733
|
+
activated_at?: string | null | undefined;
|
|
734
|
+
completed_at?: string | null | undefined;
|
|
735
|
+
cancelled_at?: string | null | undefined;
|
|
736
|
+
decoupled_at?: string | null | undefined;
|
|
737
|
+
sku_code?: string | null | undefined;
|
|
738
|
+
sku_display_name?: string | null | undefined;
|
|
739
|
+
} | null | undefined;
|
|
523
740
|
}, {
|
|
524
741
|
status: string;
|
|
525
742
|
name: string;
|
|
526
743
|
id: string;
|
|
744
|
+
gateway: {
|
|
745
|
+
base_domain?: string | null | undefined;
|
|
746
|
+
cname?: string | null | undefined;
|
|
747
|
+
};
|
|
527
748
|
resource: {
|
|
528
749
|
vcpu?: number | null | undefined;
|
|
529
750
|
billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
|
|
@@ -533,10 +754,6 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
533
754
|
gpus?: number | null | undefined;
|
|
534
755
|
compute_billing_price?: string | null | undefined;
|
|
535
756
|
};
|
|
536
|
-
gateway: {
|
|
537
|
-
base_domain?: string | null | undefined;
|
|
538
|
-
cname?: string | null | undefined;
|
|
539
|
-
};
|
|
540
757
|
workspace?: {
|
|
541
758
|
name: string;
|
|
542
759
|
id: string;
|
|
@@ -546,6 +763,9 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
546
763
|
} | null | undefined;
|
|
547
764
|
app_id?: string | null | undefined;
|
|
548
765
|
instance_id?: string | null | undefined;
|
|
766
|
+
compose_hash?: string | null | undefined;
|
|
767
|
+
vm_uuid?: string | null | undefined;
|
|
768
|
+
created_at?: string | null | undefined;
|
|
549
769
|
listed?: boolean | undefined;
|
|
550
770
|
in_progress?: boolean | undefined;
|
|
551
771
|
project_type?: string | null | undefined;
|
|
@@ -557,19 +777,22 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
557
777
|
dstack_app_address?: string | null | undefined;
|
|
558
778
|
rpc_endpoint?: string | null | undefined;
|
|
559
779
|
} | null | undefined;
|
|
560
|
-
vm_uuid?: string | null | undefined;
|
|
561
780
|
public_sysinfo?: boolean | undefined;
|
|
562
781
|
public_logs?: boolean | undefined;
|
|
563
782
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
564
|
-
created_at?: string | null | undefined;
|
|
565
783
|
node_info?: {
|
|
566
784
|
object_type: "node";
|
|
567
785
|
status?: string | null | undefined;
|
|
568
786
|
name?: string | null | undefined;
|
|
569
787
|
version?: string | null | undefined;
|
|
570
788
|
id?: number | null | undefined;
|
|
571
|
-
region?: string | null | undefined;
|
|
572
789
|
device_id?: string | null | undefined;
|
|
790
|
+
region?: string | null | undefined;
|
|
791
|
+
device_ids?: {
|
|
792
|
+
device_id: string;
|
|
793
|
+
algorithm_version: string;
|
|
794
|
+
enabled: boolean;
|
|
795
|
+
}[] | undefined;
|
|
573
796
|
ppid?: string | null | undefined;
|
|
574
797
|
} | null | undefined;
|
|
575
798
|
os?: {
|
|
@@ -583,7 +806,6 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
583
806
|
started_at?: string | null | undefined;
|
|
584
807
|
correlation_id?: string | null | undefined;
|
|
585
808
|
} | null | undefined;
|
|
586
|
-
compose_hash?: string | null | undefined;
|
|
587
809
|
docker_compose_hash?: string | null | undefined;
|
|
588
810
|
pre_launch_script_hash?: string | null | undefined;
|
|
589
811
|
logs?: {
|
|
@@ -608,6 +830,26 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
608
830
|
avatar_url?: string | null | undefined;
|
|
609
831
|
} | null | undefined;
|
|
610
832
|
deleted_at?: string | null | undefined;
|
|
833
|
+
hourly_rate?: {
|
|
834
|
+
total?: string | null | undefined;
|
|
835
|
+
compute?: string | null | undefined;
|
|
836
|
+
disk?: string | null | undefined;
|
|
837
|
+
} | null | undefined;
|
|
838
|
+
billing_interval?: string | null | undefined;
|
|
839
|
+
gpu_rental_order?: {
|
|
840
|
+
status: string;
|
|
841
|
+
order_id: string;
|
|
842
|
+
pricing_plan?: string | null | undefined;
|
|
843
|
+
commitment_days?: number | null | undefined;
|
|
844
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
845
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
846
|
+
activated_at?: string | null | undefined;
|
|
847
|
+
completed_at?: string | null | undefined;
|
|
848
|
+
cancelled_at?: string | null | undefined;
|
|
849
|
+
decoupled_at?: string | null | undefined;
|
|
850
|
+
sku_code?: string | null | undefined;
|
|
851
|
+
sku_display_name?: string | null | undefined;
|
|
852
|
+
} | null | undefined;
|
|
611
853
|
}>;
|
|
612
854
|
export type CvmInfoV20260121 = z.infer<typeof CvmInfoV20260121Schema>;
|
|
613
855
|
export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
@@ -646,17 +888,35 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
646
888
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
647
889
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
648
890
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
891
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
892
|
+
device_id: z.ZodString;
|
|
893
|
+
algorithm_version: z.ZodString;
|
|
894
|
+
enabled: z.ZodBoolean;
|
|
895
|
+
}, "strip", z.ZodTypeAny, {
|
|
896
|
+
device_id: string;
|
|
897
|
+
algorithm_version: string;
|
|
898
|
+
enabled: boolean;
|
|
899
|
+
}, {
|
|
900
|
+
device_id: string;
|
|
901
|
+
algorithm_version: string;
|
|
902
|
+
enabled: boolean;
|
|
903
|
+
}>, "many">>;
|
|
649
904
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
650
905
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
651
906
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
652
907
|
}, "strip", z.ZodTypeAny, {
|
|
653
908
|
object_type: "node";
|
|
909
|
+
device_ids: {
|
|
910
|
+
device_id: string;
|
|
911
|
+
algorithm_version: string;
|
|
912
|
+
enabled: boolean;
|
|
913
|
+
}[];
|
|
654
914
|
status?: string | null | undefined;
|
|
655
915
|
name?: string | null | undefined;
|
|
656
916
|
version?: string | null | undefined;
|
|
657
917
|
id?: number | null | undefined;
|
|
658
|
-
region?: string | null | undefined;
|
|
659
918
|
device_id?: string | null | undefined;
|
|
919
|
+
region?: string | null | undefined;
|
|
660
920
|
ppid?: string | null | undefined;
|
|
661
921
|
}, {
|
|
662
922
|
object_type: "node";
|
|
@@ -664,8 +924,13 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
664
924
|
name?: string | null | undefined;
|
|
665
925
|
version?: string | null | undefined;
|
|
666
926
|
id?: number | null | undefined;
|
|
667
|
-
region?: string | null | undefined;
|
|
668
927
|
device_id?: string | null | undefined;
|
|
928
|
+
region?: string | null | undefined;
|
|
929
|
+
device_ids?: {
|
|
930
|
+
device_id: string;
|
|
931
|
+
algorithm_version: string;
|
|
932
|
+
enabled: boolean;
|
|
933
|
+
}[] | undefined;
|
|
669
934
|
ppid?: string | null | undefined;
|
|
670
935
|
}>>>;
|
|
671
936
|
os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -821,12 +1086,70 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
821
1086
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
822
1087
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
823
1088
|
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1089
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1090
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1091
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1092
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1093
|
+
}, "strip", z.ZodTypeAny, {
|
|
1094
|
+
total?: string | null | undefined;
|
|
1095
|
+
compute?: string | null | undefined;
|
|
1096
|
+
disk?: string | null | undefined;
|
|
1097
|
+
}, {
|
|
1098
|
+
total?: string | null | undefined;
|
|
1099
|
+
compute?: string | null | undefined;
|
|
1100
|
+
disk?: string | null | undefined;
|
|
1101
|
+
}>>>;
|
|
1102
|
+
billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1103
|
+
gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1104
|
+
order_id: z.ZodString;
|
|
1105
|
+
status: z.ZodString;
|
|
1106
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1107
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1108
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1109
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1110
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1111
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1112
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1113
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1114
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1115
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1116
|
+
}, "strip", z.ZodTypeAny, {
|
|
1117
|
+
status: string;
|
|
1118
|
+
order_id: string;
|
|
1119
|
+
pricing_plan?: string | null | undefined;
|
|
1120
|
+
commitment_days?: number | null | undefined;
|
|
1121
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1122
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1123
|
+
activated_at?: string | null | undefined;
|
|
1124
|
+
completed_at?: string | null | undefined;
|
|
1125
|
+
cancelled_at?: string | null | undefined;
|
|
1126
|
+
decoupled_at?: string | null | undefined;
|
|
1127
|
+
sku_code?: string | null | undefined;
|
|
1128
|
+
sku_display_name?: string | null | undefined;
|
|
1129
|
+
}, {
|
|
1130
|
+
status: string;
|
|
1131
|
+
order_id: string;
|
|
1132
|
+
pricing_plan?: string | null | undefined;
|
|
1133
|
+
commitment_days?: number | null | undefined;
|
|
1134
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1135
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1136
|
+
activated_at?: string | null | undefined;
|
|
1137
|
+
completed_at?: string | null | undefined;
|
|
1138
|
+
cancelled_at?: string | null | undefined;
|
|
1139
|
+
decoupled_at?: string | null | undefined;
|
|
1140
|
+
sku_code?: string | null | undefined;
|
|
1141
|
+
sku_display_name?: string | null | undefined;
|
|
1142
|
+
}>>>;
|
|
824
1143
|
} & {
|
|
825
1144
|
id: z.ZodString;
|
|
826
1145
|
}, "strip", z.ZodTypeAny, {
|
|
827
1146
|
status: string;
|
|
828
1147
|
name: string;
|
|
829
1148
|
id: string;
|
|
1149
|
+
gateway: {
|
|
1150
|
+
base_domain?: string | null | undefined;
|
|
1151
|
+
cname?: string | null | undefined;
|
|
1152
|
+
};
|
|
830
1153
|
listed: boolean;
|
|
831
1154
|
in_progress: boolean;
|
|
832
1155
|
resource: {
|
|
@@ -838,10 +1161,6 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
838
1161
|
gpus?: number | null | undefined;
|
|
839
1162
|
compute_billing_price?: string | null | undefined;
|
|
840
1163
|
};
|
|
841
|
-
gateway: {
|
|
842
|
-
base_domain?: string | null | undefined;
|
|
843
|
-
cname?: string | null | undefined;
|
|
844
|
-
};
|
|
845
1164
|
logs: {
|
|
846
1165
|
serial?: string | null | undefined;
|
|
847
1166
|
stdout?: string | null | undefined;
|
|
@@ -858,6 +1177,9 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
858
1177
|
} | null | undefined;
|
|
859
1178
|
app_id?: string | null | undefined;
|
|
860
1179
|
instance_id?: string | null | undefined;
|
|
1180
|
+
compose_hash?: string | null | undefined;
|
|
1181
|
+
vm_uuid?: string | null | undefined;
|
|
1182
|
+
created_at?: string | null | undefined;
|
|
861
1183
|
project_type?: string | null | undefined;
|
|
862
1184
|
kms_info?: {
|
|
863
1185
|
chain_id?: number | null | undefined;
|
|
@@ -867,19 +1189,22 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
867
1189
|
dstack_app_address?: string | null | undefined;
|
|
868
1190
|
rpc_endpoint?: string | null | undefined;
|
|
869
1191
|
} | null | undefined;
|
|
870
|
-
vm_uuid?: string | null | undefined;
|
|
871
1192
|
public_sysinfo?: boolean | undefined;
|
|
872
1193
|
public_logs?: boolean | undefined;
|
|
873
1194
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
874
|
-
created_at?: string | null | undefined;
|
|
875
1195
|
node_info?: {
|
|
876
1196
|
object_type: "node";
|
|
1197
|
+
device_ids: {
|
|
1198
|
+
device_id: string;
|
|
1199
|
+
algorithm_version: string;
|
|
1200
|
+
enabled: boolean;
|
|
1201
|
+
}[];
|
|
877
1202
|
status?: string | null | undefined;
|
|
878
1203
|
name?: string | null | undefined;
|
|
879
1204
|
version?: string | null | undefined;
|
|
880
1205
|
id?: number | null | undefined;
|
|
881
|
-
region?: string | null | undefined;
|
|
882
1206
|
device_id?: string | null | undefined;
|
|
1207
|
+
region?: string | null | undefined;
|
|
883
1208
|
ppid?: string | null | undefined;
|
|
884
1209
|
} | null | undefined;
|
|
885
1210
|
os?: {
|
|
@@ -893,7 +1218,6 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
893
1218
|
started_at?: string | null | undefined;
|
|
894
1219
|
correlation_id?: string | null | undefined;
|
|
895
1220
|
} | null | undefined;
|
|
896
|
-
compose_hash?: string | null | undefined;
|
|
897
1221
|
docker_compose_hash?: string | null | undefined;
|
|
898
1222
|
pre_launch_script_hash?: string | null | undefined;
|
|
899
1223
|
endpoints?: {
|
|
@@ -911,10 +1235,34 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
911
1235
|
avatar_url?: string | null | undefined;
|
|
912
1236
|
} | null | undefined;
|
|
913
1237
|
deleted_at?: string | null | undefined;
|
|
1238
|
+
hourly_rate?: {
|
|
1239
|
+
total?: string | null | undefined;
|
|
1240
|
+
compute?: string | null | undefined;
|
|
1241
|
+
disk?: string | null | undefined;
|
|
1242
|
+
} | null | undefined;
|
|
1243
|
+
billing_interval?: string | null | undefined;
|
|
1244
|
+
gpu_rental_order?: {
|
|
1245
|
+
status: string;
|
|
1246
|
+
order_id: string;
|
|
1247
|
+
pricing_plan?: string | null | undefined;
|
|
1248
|
+
commitment_days?: number | null | undefined;
|
|
1249
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1250
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1251
|
+
activated_at?: string | null | undefined;
|
|
1252
|
+
completed_at?: string | null | undefined;
|
|
1253
|
+
cancelled_at?: string | null | undefined;
|
|
1254
|
+
decoupled_at?: string | null | undefined;
|
|
1255
|
+
sku_code?: string | null | undefined;
|
|
1256
|
+
sku_display_name?: string | null | undefined;
|
|
1257
|
+
} | null | undefined;
|
|
914
1258
|
}, {
|
|
915
1259
|
status: string;
|
|
916
1260
|
name: string;
|
|
917
1261
|
id: string;
|
|
1262
|
+
gateway: {
|
|
1263
|
+
base_domain?: string | null | undefined;
|
|
1264
|
+
cname?: string | null | undefined;
|
|
1265
|
+
};
|
|
918
1266
|
resource: {
|
|
919
1267
|
vcpu?: number | null | undefined;
|
|
920
1268
|
billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
|
|
@@ -924,10 +1272,6 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
924
1272
|
gpus?: number | null | undefined;
|
|
925
1273
|
compute_billing_price?: string | null | undefined;
|
|
926
1274
|
};
|
|
927
|
-
gateway: {
|
|
928
|
-
base_domain?: string | null | undefined;
|
|
929
|
-
cname?: string | null | undefined;
|
|
930
|
-
};
|
|
931
1275
|
workspace?: {
|
|
932
1276
|
name: string;
|
|
933
1277
|
id: string;
|
|
@@ -937,6 +1281,9 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
937
1281
|
} | null | undefined;
|
|
938
1282
|
app_id?: string | null | undefined;
|
|
939
1283
|
instance_id?: string | null | undefined;
|
|
1284
|
+
compose_hash?: string | null | undefined;
|
|
1285
|
+
vm_uuid?: string | null | undefined;
|
|
1286
|
+
created_at?: string | null | undefined;
|
|
940
1287
|
listed?: boolean | undefined;
|
|
941
1288
|
in_progress?: boolean | undefined;
|
|
942
1289
|
project_type?: string | null | undefined;
|
|
@@ -948,19 +1295,22 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
948
1295
|
dstack_app_address?: string | null | undefined;
|
|
949
1296
|
rpc_endpoint?: string | null | undefined;
|
|
950
1297
|
} | null | undefined;
|
|
951
|
-
vm_uuid?: string | null | undefined;
|
|
952
1298
|
public_sysinfo?: boolean | undefined;
|
|
953
1299
|
public_logs?: boolean | undefined;
|
|
954
1300
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
955
|
-
created_at?: string | null | undefined;
|
|
956
1301
|
node_info?: {
|
|
957
1302
|
object_type: "node";
|
|
958
1303
|
status?: string | null | undefined;
|
|
959
1304
|
name?: string | null | undefined;
|
|
960
1305
|
version?: string | null | undefined;
|
|
961
1306
|
id?: number | null | undefined;
|
|
962
|
-
region?: string | null | undefined;
|
|
963
1307
|
device_id?: string | null | undefined;
|
|
1308
|
+
region?: string | null | undefined;
|
|
1309
|
+
device_ids?: {
|
|
1310
|
+
device_id: string;
|
|
1311
|
+
algorithm_version: string;
|
|
1312
|
+
enabled: boolean;
|
|
1313
|
+
}[] | undefined;
|
|
964
1314
|
ppid?: string | null | undefined;
|
|
965
1315
|
} | null | undefined;
|
|
966
1316
|
os?: {
|
|
@@ -974,7 +1324,6 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
974
1324
|
started_at?: string | null | undefined;
|
|
975
1325
|
correlation_id?: string | null | undefined;
|
|
976
1326
|
} | null | undefined;
|
|
977
|
-
compose_hash?: string | null | undefined;
|
|
978
1327
|
docker_compose_hash?: string | null | undefined;
|
|
979
1328
|
pre_launch_script_hash?: string | null | undefined;
|
|
980
1329
|
logs?: {
|
|
@@ -999,6 +1348,26 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
999
1348
|
avatar_url?: string | null | undefined;
|
|
1000
1349
|
} | null | undefined;
|
|
1001
1350
|
deleted_at?: string | null | undefined;
|
|
1351
|
+
hourly_rate?: {
|
|
1352
|
+
total?: string | null | undefined;
|
|
1353
|
+
compute?: string | null | undefined;
|
|
1354
|
+
disk?: string | null | undefined;
|
|
1355
|
+
} | null | undefined;
|
|
1356
|
+
billing_interval?: string | null | undefined;
|
|
1357
|
+
gpu_rental_order?: {
|
|
1358
|
+
status: string;
|
|
1359
|
+
order_id: string;
|
|
1360
|
+
pricing_plan?: string | null | undefined;
|
|
1361
|
+
commitment_days?: number | null | undefined;
|
|
1362
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1363
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1364
|
+
activated_at?: string | null | undefined;
|
|
1365
|
+
completed_at?: string | null | undefined;
|
|
1366
|
+
cancelled_at?: string | null | undefined;
|
|
1367
|
+
decoupled_at?: string | null | undefined;
|
|
1368
|
+
sku_code?: string | null | undefined;
|
|
1369
|
+
sku_display_name?: string | null | undefined;
|
|
1370
|
+
} | null | undefined;
|
|
1002
1371
|
}>;
|
|
1003
1372
|
export type CvmInfoV20260522 = z.infer<typeof CvmInfoV20260522Schema>;
|
|
1004
1373
|
export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
@@ -1038,17 +1407,35 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1038
1407
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1039
1408
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1040
1409
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1410
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1411
|
+
device_id: z.ZodString;
|
|
1412
|
+
algorithm_version: z.ZodString;
|
|
1413
|
+
enabled: z.ZodBoolean;
|
|
1414
|
+
}, "strip", z.ZodTypeAny, {
|
|
1415
|
+
device_id: string;
|
|
1416
|
+
algorithm_version: string;
|
|
1417
|
+
enabled: boolean;
|
|
1418
|
+
}, {
|
|
1419
|
+
device_id: string;
|
|
1420
|
+
algorithm_version: string;
|
|
1421
|
+
enabled: boolean;
|
|
1422
|
+
}>, "many">>;
|
|
1041
1423
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1042
1424
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1043
1425
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1044
1426
|
}, "strip", z.ZodTypeAny, {
|
|
1045
1427
|
object_type: "node";
|
|
1428
|
+
device_ids: {
|
|
1429
|
+
device_id: string;
|
|
1430
|
+
algorithm_version: string;
|
|
1431
|
+
enabled: boolean;
|
|
1432
|
+
}[];
|
|
1046
1433
|
status?: string | null | undefined;
|
|
1047
1434
|
name?: string | null | undefined;
|
|
1048
1435
|
version?: string | null | undefined;
|
|
1049
1436
|
id?: number | null | undefined;
|
|
1050
|
-
region?: string | null | undefined;
|
|
1051
1437
|
device_id?: string | null | undefined;
|
|
1438
|
+
region?: string | null | undefined;
|
|
1052
1439
|
ppid?: string | null | undefined;
|
|
1053
1440
|
}, {
|
|
1054
1441
|
object_type: "node";
|
|
@@ -1056,8 +1443,13 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1056
1443
|
name?: string | null | undefined;
|
|
1057
1444
|
version?: string | null | undefined;
|
|
1058
1445
|
id?: number | null | undefined;
|
|
1059
|
-
region?: string | null | undefined;
|
|
1060
1446
|
device_id?: string | null | undefined;
|
|
1447
|
+
region?: string | null | undefined;
|
|
1448
|
+
device_ids?: {
|
|
1449
|
+
device_id: string;
|
|
1450
|
+
algorithm_version: string;
|
|
1451
|
+
enabled: boolean;
|
|
1452
|
+
}[] | undefined;
|
|
1061
1453
|
ppid?: string | null | undefined;
|
|
1062
1454
|
}>>>;
|
|
1063
1455
|
os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1213,12 +1605,70 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1213
1605
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1214
1606
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1215
1607
|
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1608
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1609
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1610
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1611
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1612
|
+
}, "strip", z.ZodTypeAny, {
|
|
1613
|
+
total?: string | null | undefined;
|
|
1614
|
+
compute?: string | null | undefined;
|
|
1615
|
+
disk?: string | null | undefined;
|
|
1616
|
+
}, {
|
|
1617
|
+
total?: string | null | undefined;
|
|
1618
|
+
compute?: string | null | undefined;
|
|
1619
|
+
disk?: string | null | undefined;
|
|
1620
|
+
}>>>;
|
|
1621
|
+
billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1622
|
+
gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1623
|
+
order_id: z.ZodString;
|
|
1624
|
+
status: z.ZodString;
|
|
1625
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1626
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1627
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1628
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1629
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1630
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1631
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1632
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1633
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1634
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1635
|
+
}, "strip", z.ZodTypeAny, {
|
|
1636
|
+
status: string;
|
|
1637
|
+
order_id: string;
|
|
1638
|
+
pricing_plan?: string | null | undefined;
|
|
1639
|
+
commitment_days?: number | null | undefined;
|
|
1640
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1641
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1642
|
+
activated_at?: string | null | undefined;
|
|
1643
|
+
completed_at?: string | null | undefined;
|
|
1644
|
+
cancelled_at?: string | null | undefined;
|
|
1645
|
+
decoupled_at?: string | null | undefined;
|
|
1646
|
+
sku_code?: string | null | undefined;
|
|
1647
|
+
sku_display_name?: string | null | undefined;
|
|
1648
|
+
}, {
|
|
1649
|
+
status: string;
|
|
1650
|
+
order_id: string;
|
|
1651
|
+
pricing_plan?: string | null | undefined;
|
|
1652
|
+
commitment_days?: number | null | undefined;
|
|
1653
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1654
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1655
|
+
activated_at?: string | null | undefined;
|
|
1656
|
+
completed_at?: string | null | undefined;
|
|
1657
|
+
cancelled_at?: string | null | undefined;
|
|
1658
|
+
decoupled_at?: string | null | undefined;
|
|
1659
|
+
sku_code?: string | null | undefined;
|
|
1660
|
+
sku_display_name?: string | null | undefined;
|
|
1661
|
+
}>>>;
|
|
1216
1662
|
} & {
|
|
1217
1663
|
compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
|
|
1218
1664
|
}, "strip", z.ZodTypeAny, {
|
|
1219
1665
|
status: string;
|
|
1220
1666
|
name: string;
|
|
1221
1667
|
id: string;
|
|
1668
|
+
gateway: {
|
|
1669
|
+
base_domain?: string | null | undefined;
|
|
1670
|
+
cname?: string | null | undefined;
|
|
1671
|
+
};
|
|
1222
1672
|
listed: boolean;
|
|
1223
1673
|
in_progress: boolean;
|
|
1224
1674
|
resource: {
|
|
@@ -1230,10 +1680,6 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1230
1680
|
gpus?: number | null | undefined;
|
|
1231
1681
|
compute_billing_price?: string | null | undefined;
|
|
1232
1682
|
};
|
|
1233
|
-
gateway: {
|
|
1234
|
-
base_domain?: string | null | undefined;
|
|
1235
|
-
cname?: string | null | undefined;
|
|
1236
|
-
};
|
|
1237
1683
|
logs: {
|
|
1238
1684
|
serial?: string | null | undefined;
|
|
1239
1685
|
stdout?: string | null | undefined;
|
|
@@ -1250,6 +1696,9 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1250
1696
|
} | null | undefined;
|
|
1251
1697
|
app_id?: string | null | undefined;
|
|
1252
1698
|
instance_id?: string | null | undefined;
|
|
1699
|
+
compose_hash?: string | null | undefined;
|
|
1700
|
+
vm_uuid?: string | null | undefined;
|
|
1701
|
+
created_at?: string | null | undefined;
|
|
1253
1702
|
project_type?: string | null | undefined;
|
|
1254
1703
|
kms_info?: {
|
|
1255
1704
|
chain_id?: number | null | undefined;
|
|
@@ -1259,19 +1708,22 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1259
1708
|
dstack_app_address?: string | null | undefined;
|
|
1260
1709
|
rpc_endpoint?: string | null | undefined;
|
|
1261
1710
|
} | null | undefined;
|
|
1262
|
-
vm_uuid?: string | null | undefined;
|
|
1263
1711
|
public_sysinfo?: boolean | undefined;
|
|
1264
1712
|
public_logs?: boolean | undefined;
|
|
1265
1713
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
1266
|
-
created_at?: string | null | undefined;
|
|
1267
1714
|
node_info?: {
|
|
1268
1715
|
object_type: "node";
|
|
1716
|
+
device_ids: {
|
|
1717
|
+
device_id: string;
|
|
1718
|
+
algorithm_version: string;
|
|
1719
|
+
enabled: boolean;
|
|
1720
|
+
}[];
|
|
1269
1721
|
status?: string | null | undefined;
|
|
1270
1722
|
name?: string | null | undefined;
|
|
1271
1723
|
version?: string | null | undefined;
|
|
1272
1724
|
id?: number | null | undefined;
|
|
1273
|
-
region?: string | null | undefined;
|
|
1274
1725
|
device_id?: string | null | undefined;
|
|
1726
|
+
region?: string | null | undefined;
|
|
1275
1727
|
ppid?: string | null | undefined;
|
|
1276
1728
|
} | null | undefined;
|
|
1277
1729
|
os?: {
|
|
@@ -1285,7 +1737,6 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1285
1737
|
started_at?: string | null | undefined;
|
|
1286
1738
|
correlation_id?: string | null | undefined;
|
|
1287
1739
|
} | null | undefined;
|
|
1288
|
-
compose_hash?: string | null | undefined;
|
|
1289
1740
|
docker_compose_hash?: string | null | undefined;
|
|
1290
1741
|
pre_launch_script_hash?: string | null | undefined;
|
|
1291
1742
|
endpoints?: {
|
|
@@ -1303,11 +1754,35 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1303
1754
|
avatar_url?: string | null | undefined;
|
|
1304
1755
|
} | null | undefined;
|
|
1305
1756
|
deleted_at?: string | null | undefined;
|
|
1757
|
+
hourly_rate?: {
|
|
1758
|
+
total?: string | null | undefined;
|
|
1759
|
+
compute?: string | null | undefined;
|
|
1760
|
+
disk?: string | null | undefined;
|
|
1761
|
+
} | null | undefined;
|
|
1762
|
+
billing_interval?: string | null | undefined;
|
|
1763
|
+
gpu_rental_order?: {
|
|
1764
|
+
status: string;
|
|
1765
|
+
order_id: string;
|
|
1766
|
+
pricing_plan?: string | null | undefined;
|
|
1767
|
+
commitment_days?: number | null | undefined;
|
|
1768
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1769
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1770
|
+
activated_at?: string | null | undefined;
|
|
1771
|
+
completed_at?: string | null | undefined;
|
|
1772
|
+
cancelled_at?: string | null | undefined;
|
|
1773
|
+
decoupled_at?: string | null | undefined;
|
|
1774
|
+
sku_code?: string | null | undefined;
|
|
1775
|
+
sku_display_name?: string | null | undefined;
|
|
1776
|
+
} | null | undefined;
|
|
1306
1777
|
compose_file?: string | Record<string, any> | null | undefined;
|
|
1307
1778
|
}, {
|
|
1308
1779
|
status: string;
|
|
1309
1780
|
name: string;
|
|
1310
1781
|
id: string;
|
|
1782
|
+
gateway: {
|
|
1783
|
+
base_domain?: string | null | undefined;
|
|
1784
|
+
cname?: string | null | undefined;
|
|
1785
|
+
};
|
|
1311
1786
|
resource: {
|
|
1312
1787
|
vcpu?: number | null | undefined;
|
|
1313
1788
|
billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
|
|
@@ -1317,10 +1792,6 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1317
1792
|
gpus?: number | null | undefined;
|
|
1318
1793
|
compute_billing_price?: string | null | undefined;
|
|
1319
1794
|
};
|
|
1320
|
-
gateway: {
|
|
1321
|
-
base_domain?: string | null | undefined;
|
|
1322
|
-
cname?: string | null | undefined;
|
|
1323
|
-
};
|
|
1324
1795
|
workspace?: {
|
|
1325
1796
|
name: string;
|
|
1326
1797
|
id: string;
|
|
@@ -1330,6 +1801,9 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1330
1801
|
} | null | undefined;
|
|
1331
1802
|
app_id?: string | null | undefined;
|
|
1332
1803
|
instance_id?: string | null | undefined;
|
|
1804
|
+
compose_hash?: string | null | undefined;
|
|
1805
|
+
vm_uuid?: string | null | undefined;
|
|
1806
|
+
created_at?: string | null | undefined;
|
|
1333
1807
|
listed?: boolean | undefined;
|
|
1334
1808
|
in_progress?: boolean | undefined;
|
|
1335
1809
|
project_type?: string | null | undefined;
|
|
@@ -1341,19 +1815,22 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1341
1815
|
dstack_app_address?: string | null | undefined;
|
|
1342
1816
|
rpc_endpoint?: string | null | undefined;
|
|
1343
1817
|
} | null | undefined;
|
|
1344
|
-
vm_uuid?: string | null | undefined;
|
|
1345
1818
|
public_sysinfo?: boolean | undefined;
|
|
1346
1819
|
public_logs?: boolean | undefined;
|
|
1347
1820
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
1348
|
-
created_at?: string | null | undefined;
|
|
1349
1821
|
node_info?: {
|
|
1350
1822
|
object_type: "node";
|
|
1351
1823
|
status?: string | null | undefined;
|
|
1352
1824
|
name?: string | null | undefined;
|
|
1353
1825
|
version?: string | null | undefined;
|
|
1354
1826
|
id?: number | null | undefined;
|
|
1355
|
-
region?: string | null | undefined;
|
|
1356
1827
|
device_id?: string | null | undefined;
|
|
1828
|
+
region?: string | null | undefined;
|
|
1829
|
+
device_ids?: {
|
|
1830
|
+
device_id: string;
|
|
1831
|
+
algorithm_version: string;
|
|
1832
|
+
enabled: boolean;
|
|
1833
|
+
}[] | undefined;
|
|
1357
1834
|
ppid?: string | null | undefined;
|
|
1358
1835
|
} | null | undefined;
|
|
1359
1836
|
os?: {
|
|
@@ -1367,7 +1844,6 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1367
1844
|
started_at?: string | null | undefined;
|
|
1368
1845
|
correlation_id?: string | null | undefined;
|
|
1369
1846
|
} | null | undefined;
|
|
1370
|
-
compose_hash?: string | null | undefined;
|
|
1371
1847
|
docker_compose_hash?: string | null | undefined;
|
|
1372
1848
|
pre_launch_script_hash?: string | null | undefined;
|
|
1373
1849
|
logs?: {
|
|
@@ -1392,6 +1868,26 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1392
1868
|
avatar_url?: string | null | undefined;
|
|
1393
1869
|
} | null | undefined;
|
|
1394
1870
|
deleted_at?: string | null | undefined;
|
|
1871
|
+
hourly_rate?: {
|
|
1872
|
+
total?: string | null | undefined;
|
|
1873
|
+
compute?: string | null | undefined;
|
|
1874
|
+
disk?: string | null | undefined;
|
|
1875
|
+
} | null | undefined;
|
|
1876
|
+
billing_interval?: string | null | undefined;
|
|
1877
|
+
gpu_rental_order?: {
|
|
1878
|
+
status: string;
|
|
1879
|
+
order_id: string;
|
|
1880
|
+
pricing_plan?: string | null | undefined;
|
|
1881
|
+
commitment_days?: number | null | undefined;
|
|
1882
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1883
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1884
|
+
activated_at?: string | null | undefined;
|
|
1885
|
+
completed_at?: string | null | undefined;
|
|
1886
|
+
cancelled_at?: string | null | undefined;
|
|
1887
|
+
decoupled_at?: string | null | undefined;
|
|
1888
|
+
sku_code?: string | null | undefined;
|
|
1889
|
+
sku_display_name?: string | null | undefined;
|
|
1890
|
+
} | null | undefined;
|
|
1395
1891
|
compose_file?: string | Record<string, any> | null | undefined;
|
|
1396
1892
|
}>;
|
|
1397
1893
|
export type CvmInfoDetailV20260121 = z.infer<typeof CvmInfoDetailV20260121Schema>;
|
|
@@ -1431,17 +1927,35 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1431
1927
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1432
1928
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1433
1929
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1930
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1931
|
+
device_id: z.ZodString;
|
|
1932
|
+
algorithm_version: z.ZodString;
|
|
1933
|
+
enabled: z.ZodBoolean;
|
|
1934
|
+
}, "strip", z.ZodTypeAny, {
|
|
1935
|
+
device_id: string;
|
|
1936
|
+
algorithm_version: string;
|
|
1937
|
+
enabled: boolean;
|
|
1938
|
+
}, {
|
|
1939
|
+
device_id: string;
|
|
1940
|
+
algorithm_version: string;
|
|
1941
|
+
enabled: boolean;
|
|
1942
|
+
}>, "many">>;
|
|
1434
1943
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1435
1944
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1436
1945
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1437
1946
|
}, "strip", z.ZodTypeAny, {
|
|
1438
1947
|
object_type: "node";
|
|
1948
|
+
device_ids: {
|
|
1949
|
+
device_id: string;
|
|
1950
|
+
algorithm_version: string;
|
|
1951
|
+
enabled: boolean;
|
|
1952
|
+
}[];
|
|
1439
1953
|
status?: string | null | undefined;
|
|
1440
1954
|
name?: string | null | undefined;
|
|
1441
1955
|
version?: string | null | undefined;
|
|
1442
1956
|
id?: number | null | undefined;
|
|
1443
|
-
region?: string | null | undefined;
|
|
1444
1957
|
device_id?: string | null | undefined;
|
|
1958
|
+
region?: string | null | undefined;
|
|
1445
1959
|
ppid?: string | null | undefined;
|
|
1446
1960
|
}, {
|
|
1447
1961
|
object_type: "node";
|
|
@@ -1449,8 +1963,13 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1449
1963
|
name?: string | null | undefined;
|
|
1450
1964
|
version?: string | null | undefined;
|
|
1451
1965
|
id?: number | null | undefined;
|
|
1452
|
-
region?: string | null | undefined;
|
|
1453
1966
|
device_id?: string | null | undefined;
|
|
1967
|
+
region?: string | null | undefined;
|
|
1968
|
+
device_ids?: {
|
|
1969
|
+
device_id: string;
|
|
1970
|
+
algorithm_version: string;
|
|
1971
|
+
enabled: boolean;
|
|
1972
|
+
}[] | undefined;
|
|
1454
1973
|
ppid?: string | null | undefined;
|
|
1455
1974
|
}>>>;
|
|
1456
1975
|
os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1606,6 +2125,60 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1606
2125
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1607
2126
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1608
2127
|
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2128
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2129
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2130
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2131
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2132
|
+
}, "strip", z.ZodTypeAny, {
|
|
2133
|
+
total?: string | null | undefined;
|
|
2134
|
+
compute?: string | null | undefined;
|
|
2135
|
+
disk?: string | null | undefined;
|
|
2136
|
+
}, {
|
|
2137
|
+
total?: string | null | undefined;
|
|
2138
|
+
compute?: string | null | undefined;
|
|
2139
|
+
disk?: string | null | undefined;
|
|
2140
|
+
}>>>;
|
|
2141
|
+
billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2142
|
+
gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2143
|
+
order_id: z.ZodString;
|
|
2144
|
+
status: z.ZodString;
|
|
2145
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2146
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2147
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2148
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2149
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2150
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2151
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2152
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2153
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2154
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2155
|
+
}, "strip", z.ZodTypeAny, {
|
|
2156
|
+
status: string;
|
|
2157
|
+
order_id: string;
|
|
2158
|
+
pricing_plan?: string | null | undefined;
|
|
2159
|
+
commitment_days?: number | null | undefined;
|
|
2160
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2161
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2162
|
+
activated_at?: string | null | undefined;
|
|
2163
|
+
completed_at?: string | null | undefined;
|
|
2164
|
+
cancelled_at?: string | null | undefined;
|
|
2165
|
+
decoupled_at?: string | null | undefined;
|
|
2166
|
+
sku_code?: string | null | undefined;
|
|
2167
|
+
sku_display_name?: string | null | undefined;
|
|
2168
|
+
}, {
|
|
2169
|
+
status: string;
|
|
2170
|
+
order_id: string;
|
|
2171
|
+
pricing_plan?: string | null | undefined;
|
|
2172
|
+
commitment_days?: number | null | undefined;
|
|
2173
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2174
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2175
|
+
activated_at?: string | null | undefined;
|
|
2176
|
+
completed_at?: string | null | undefined;
|
|
2177
|
+
cancelled_at?: string | null | undefined;
|
|
2178
|
+
decoupled_at?: string | null | undefined;
|
|
2179
|
+
sku_code?: string | null | undefined;
|
|
2180
|
+
sku_display_name?: string | null | undefined;
|
|
2181
|
+
}>>>;
|
|
1609
2182
|
} & {
|
|
1610
2183
|
id: z.ZodString;
|
|
1611
2184
|
} & {
|
|
@@ -1614,6 +2187,10 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1614
2187
|
status: string;
|
|
1615
2188
|
name: string;
|
|
1616
2189
|
id: string;
|
|
2190
|
+
gateway: {
|
|
2191
|
+
base_domain?: string | null | undefined;
|
|
2192
|
+
cname?: string | null | undefined;
|
|
2193
|
+
};
|
|
1617
2194
|
listed: boolean;
|
|
1618
2195
|
in_progress: boolean;
|
|
1619
2196
|
resource: {
|
|
@@ -1625,10 +2202,6 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1625
2202
|
gpus?: number | null | undefined;
|
|
1626
2203
|
compute_billing_price?: string | null | undefined;
|
|
1627
2204
|
};
|
|
1628
|
-
gateway: {
|
|
1629
|
-
base_domain?: string | null | undefined;
|
|
1630
|
-
cname?: string | null | undefined;
|
|
1631
|
-
};
|
|
1632
2205
|
logs: {
|
|
1633
2206
|
serial?: string | null | undefined;
|
|
1634
2207
|
stdout?: string | null | undefined;
|
|
@@ -1645,6 +2218,9 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1645
2218
|
} | null | undefined;
|
|
1646
2219
|
app_id?: string | null | undefined;
|
|
1647
2220
|
instance_id?: string | null | undefined;
|
|
2221
|
+
compose_hash?: string | null | undefined;
|
|
2222
|
+
vm_uuid?: string | null | undefined;
|
|
2223
|
+
created_at?: string | null | undefined;
|
|
1648
2224
|
project_type?: string | null | undefined;
|
|
1649
2225
|
kms_info?: {
|
|
1650
2226
|
chain_id?: number | null | undefined;
|
|
@@ -1654,19 +2230,22 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1654
2230
|
dstack_app_address?: string | null | undefined;
|
|
1655
2231
|
rpc_endpoint?: string | null | undefined;
|
|
1656
2232
|
} | null | undefined;
|
|
1657
|
-
vm_uuid?: string | null | undefined;
|
|
1658
2233
|
public_sysinfo?: boolean | undefined;
|
|
1659
2234
|
public_logs?: boolean | undefined;
|
|
1660
2235
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
1661
|
-
created_at?: string | null | undefined;
|
|
1662
2236
|
node_info?: {
|
|
1663
2237
|
object_type: "node";
|
|
2238
|
+
device_ids: {
|
|
2239
|
+
device_id: string;
|
|
2240
|
+
algorithm_version: string;
|
|
2241
|
+
enabled: boolean;
|
|
2242
|
+
}[];
|
|
1664
2243
|
status?: string | null | undefined;
|
|
1665
2244
|
name?: string | null | undefined;
|
|
1666
2245
|
version?: string | null | undefined;
|
|
1667
2246
|
id?: number | null | undefined;
|
|
1668
|
-
region?: string | null | undefined;
|
|
1669
2247
|
device_id?: string | null | undefined;
|
|
2248
|
+
region?: string | null | undefined;
|
|
1670
2249
|
ppid?: string | null | undefined;
|
|
1671
2250
|
} | null | undefined;
|
|
1672
2251
|
os?: {
|
|
@@ -1680,7 +2259,6 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1680
2259
|
started_at?: string | null | undefined;
|
|
1681
2260
|
correlation_id?: string | null | undefined;
|
|
1682
2261
|
} | null | undefined;
|
|
1683
|
-
compose_hash?: string | null | undefined;
|
|
1684
2262
|
docker_compose_hash?: string | null | undefined;
|
|
1685
2263
|
pre_launch_script_hash?: string | null | undefined;
|
|
1686
2264
|
endpoints?: {
|
|
@@ -1698,11 +2276,35 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1698
2276
|
avatar_url?: string | null | undefined;
|
|
1699
2277
|
} | null | undefined;
|
|
1700
2278
|
deleted_at?: string | null | undefined;
|
|
2279
|
+
hourly_rate?: {
|
|
2280
|
+
total?: string | null | undefined;
|
|
2281
|
+
compute?: string | null | undefined;
|
|
2282
|
+
disk?: string | null | undefined;
|
|
2283
|
+
} | null | undefined;
|
|
2284
|
+
billing_interval?: string | null | undefined;
|
|
2285
|
+
gpu_rental_order?: {
|
|
2286
|
+
status: string;
|
|
2287
|
+
order_id: string;
|
|
2288
|
+
pricing_plan?: string | null | undefined;
|
|
2289
|
+
commitment_days?: number | null | undefined;
|
|
2290
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2291
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2292
|
+
activated_at?: string | null | undefined;
|
|
2293
|
+
completed_at?: string | null | undefined;
|
|
2294
|
+
cancelled_at?: string | null | undefined;
|
|
2295
|
+
decoupled_at?: string | null | undefined;
|
|
2296
|
+
sku_code?: string | null | undefined;
|
|
2297
|
+
sku_display_name?: string | null | undefined;
|
|
2298
|
+
} | null | undefined;
|
|
1701
2299
|
compose_file?: string | Record<string, any> | null | undefined;
|
|
1702
2300
|
}, {
|
|
1703
2301
|
status: string;
|
|
1704
2302
|
name: string;
|
|
1705
2303
|
id: string;
|
|
2304
|
+
gateway: {
|
|
2305
|
+
base_domain?: string | null | undefined;
|
|
2306
|
+
cname?: string | null | undefined;
|
|
2307
|
+
};
|
|
1706
2308
|
resource: {
|
|
1707
2309
|
vcpu?: number | null | undefined;
|
|
1708
2310
|
billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
|
|
@@ -1712,10 +2314,6 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1712
2314
|
gpus?: number | null | undefined;
|
|
1713
2315
|
compute_billing_price?: string | null | undefined;
|
|
1714
2316
|
};
|
|
1715
|
-
gateway: {
|
|
1716
|
-
base_domain?: string | null | undefined;
|
|
1717
|
-
cname?: string | null | undefined;
|
|
1718
|
-
};
|
|
1719
2317
|
workspace?: {
|
|
1720
2318
|
name: string;
|
|
1721
2319
|
id: string;
|
|
@@ -1725,6 +2323,9 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1725
2323
|
} | null | undefined;
|
|
1726
2324
|
app_id?: string | null | undefined;
|
|
1727
2325
|
instance_id?: string | null | undefined;
|
|
2326
|
+
compose_hash?: string | null | undefined;
|
|
2327
|
+
vm_uuid?: string | null | undefined;
|
|
2328
|
+
created_at?: string | null | undefined;
|
|
1728
2329
|
listed?: boolean | undefined;
|
|
1729
2330
|
in_progress?: boolean | undefined;
|
|
1730
2331
|
project_type?: string | null | undefined;
|
|
@@ -1736,19 +2337,22 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1736
2337
|
dstack_app_address?: string | null | undefined;
|
|
1737
2338
|
rpc_endpoint?: string | null | undefined;
|
|
1738
2339
|
} | null | undefined;
|
|
1739
|
-
vm_uuid?: string | null | undefined;
|
|
1740
2340
|
public_sysinfo?: boolean | undefined;
|
|
1741
2341
|
public_logs?: boolean | undefined;
|
|
1742
2342
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
1743
|
-
created_at?: string | null | undefined;
|
|
1744
2343
|
node_info?: {
|
|
1745
2344
|
object_type: "node";
|
|
1746
2345
|
status?: string | null | undefined;
|
|
1747
2346
|
name?: string | null | undefined;
|
|
1748
2347
|
version?: string | null | undefined;
|
|
1749
2348
|
id?: number | null | undefined;
|
|
1750
|
-
region?: string | null | undefined;
|
|
1751
2349
|
device_id?: string | null | undefined;
|
|
2350
|
+
region?: string | null | undefined;
|
|
2351
|
+
device_ids?: {
|
|
2352
|
+
device_id: string;
|
|
2353
|
+
algorithm_version: string;
|
|
2354
|
+
enabled: boolean;
|
|
2355
|
+
}[] | undefined;
|
|
1752
2356
|
ppid?: string | null | undefined;
|
|
1753
2357
|
} | null | undefined;
|
|
1754
2358
|
os?: {
|
|
@@ -1762,7 +2366,6 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1762
2366
|
started_at?: string | null | undefined;
|
|
1763
2367
|
correlation_id?: string | null | undefined;
|
|
1764
2368
|
} | null | undefined;
|
|
1765
|
-
compose_hash?: string | null | undefined;
|
|
1766
2369
|
docker_compose_hash?: string | null | undefined;
|
|
1767
2370
|
pre_launch_script_hash?: string | null | undefined;
|
|
1768
2371
|
logs?: {
|
|
@@ -1787,6 +2390,26 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1787
2390
|
avatar_url?: string | null | undefined;
|
|
1788
2391
|
} | null | undefined;
|
|
1789
2392
|
deleted_at?: string | null | undefined;
|
|
2393
|
+
hourly_rate?: {
|
|
2394
|
+
total?: string | null | undefined;
|
|
2395
|
+
compute?: string | null | undefined;
|
|
2396
|
+
disk?: string | null | undefined;
|
|
2397
|
+
} | null | undefined;
|
|
2398
|
+
billing_interval?: string | null | undefined;
|
|
2399
|
+
gpu_rental_order?: {
|
|
2400
|
+
status: string;
|
|
2401
|
+
order_id: string;
|
|
2402
|
+
pricing_plan?: string | null | undefined;
|
|
2403
|
+
commitment_days?: number | null | undefined;
|
|
2404
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2405
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2406
|
+
activated_at?: string | null | undefined;
|
|
2407
|
+
completed_at?: string | null | undefined;
|
|
2408
|
+
cancelled_at?: string | null | undefined;
|
|
2409
|
+
decoupled_at?: string | null | undefined;
|
|
2410
|
+
sku_code?: string | null | undefined;
|
|
2411
|
+
sku_display_name?: string | null | undefined;
|
|
2412
|
+
} | null | undefined;
|
|
1790
2413
|
compose_file?: string | Record<string, any> | null | undefined;
|
|
1791
2414
|
}>;
|
|
1792
2415
|
export type CvmInfoDetailV20260522 = z.infer<typeof CvmInfoDetailV20260522Schema>;
|
|
@@ -1828,17 +2451,35 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
1828
2451
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1829
2452
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1830
2453
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2454
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2455
|
+
device_id: z.ZodString;
|
|
2456
|
+
algorithm_version: z.ZodString;
|
|
2457
|
+
enabled: z.ZodBoolean;
|
|
2458
|
+
}, "strip", z.ZodTypeAny, {
|
|
2459
|
+
device_id: string;
|
|
2460
|
+
algorithm_version: string;
|
|
2461
|
+
enabled: boolean;
|
|
2462
|
+
}, {
|
|
2463
|
+
device_id: string;
|
|
2464
|
+
algorithm_version: string;
|
|
2465
|
+
enabled: boolean;
|
|
2466
|
+
}>, "many">>;
|
|
1831
2467
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1832
2468
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1833
2469
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1834
2470
|
}, "strip", z.ZodTypeAny, {
|
|
1835
2471
|
object_type: "node";
|
|
2472
|
+
device_ids: {
|
|
2473
|
+
device_id: string;
|
|
2474
|
+
algorithm_version: string;
|
|
2475
|
+
enabled: boolean;
|
|
2476
|
+
}[];
|
|
1836
2477
|
status?: string | null | undefined;
|
|
1837
2478
|
name?: string | null | undefined;
|
|
1838
2479
|
version?: string | null | undefined;
|
|
1839
2480
|
id?: number | null | undefined;
|
|
1840
|
-
region?: string | null | undefined;
|
|
1841
2481
|
device_id?: string | null | undefined;
|
|
2482
|
+
region?: string | null | undefined;
|
|
1842
2483
|
ppid?: string | null | undefined;
|
|
1843
2484
|
}, {
|
|
1844
2485
|
object_type: "node";
|
|
@@ -1846,8 +2487,13 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
1846
2487
|
name?: string | null | undefined;
|
|
1847
2488
|
version?: string | null | undefined;
|
|
1848
2489
|
id?: number | null | undefined;
|
|
1849
|
-
region?: string | null | undefined;
|
|
1850
2490
|
device_id?: string | null | undefined;
|
|
2491
|
+
region?: string | null | undefined;
|
|
2492
|
+
device_ids?: {
|
|
2493
|
+
device_id: string;
|
|
2494
|
+
algorithm_version: string;
|
|
2495
|
+
enabled: boolean;
|
|
2496
|
+
}[] | undefined;
|
|
1851
2497
|
ppid?: string | null | undefined;
|
|
1852
2498
|
}>>>;
|
|
1853
2499
|
os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2003,10 +2649,68 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2003
2649
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2004
2650
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2005
2651
|
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2652
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2653
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2654
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2655
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2656
|
+
}, "strip", z.ZodTypeAny, {
|
|
2657
|
+
total?: string | null | undefined;
|
|
2658
|
+
compute?: string | null | undefined;
|
|
2659
|
+
disk?: string | null | undefined;
|
|
2660
|
+
}, {
|
|
2661
|
+
total?: string | null | undefined;
|
|
2662
|
+
compute?: string | null | undefined;
|
|
2663
|
+
disk?: string | null | undefined;
|
|
2664
|
+
}>>>;
|
|
2665
|
+
billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2666
|
+
gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2667
|
+
order_id: z.ZodString;
|
|
2668
|
+
status: z.ZodString;
|
|
2669
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2670
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2671
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2672
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2673
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2674
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2675
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2676
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2677
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2678
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2679
|
+
}, "strip", z.ZodTypeAny, {
|
|
2680
|
+
status: string;
|
|
2681
|
+
order_id: string;
|
|
2682
|
+
pricing_plan?: string | null | undefined;
|
|
2683
|
+
commitment_days?: number | null | undefined;
|
|
2684
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2685
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2686
|
+
activated_at?: string | null | undefined;
|
|
2687
|
+
completed_at?: string | null | undefined;
|
|
2688
|
+
cancelled_at?: string | null | undefined;
|
|
2689
|
+
decoupled_at?: string | null | undefined;
|
|
2690
|
+
sku_code?: string | null | undefined;
|
|
2691
|
+
sku_display_name?: string | null | undefined;
|
|
2692
|
+
}, {
|
|
2693
|
+
status: string;
|
|
2694
|
+
order_id: string;
|
|
2695
|
+
pricing_plan?: string | null | undefined;
|
|
2696
|
+
commitment_days?: number | null | undefined;
|
|
2697
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2698
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2699
|
+
activated_at?: string | null | undefined;
|
|
2700
|
+
completed_at?: string | null | undefined;
|
|
2701
|
+
cancelled_at?: string | null | undefined;
|
|
2702
|
+
decoupled_at?: string | null | undefined;
|
|
2703
|
+
sku_code?: string | null | undefined;
|
|
2704
|
+
sku_display_name?: string | null | undefined;
|
|
2705
|
+
}>>>;
|
|
2006
2706
|
}, "strip", z.ZodTypeAny, {
|
|
2007
2707
|
status: string;
|
|
2008
2708
|
name: string;
|
|
2009
2709
|
id: string;
|
|
2710
|
+
gateway: {
|
|
2711
|
+
base_domain?: string | null | undefined;
|
|
2712
|
+
cname?: string | null | undefined;
|
|
2713
|
+
};
|
|
2010
2714
|
listed: boolean;
|
|
2011
2715
|
in_progress: boolean;
|
|
2012
2716
|
resource: {
|
|
@@ -2018,10 +2722,6 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2018
2722
|
gpus?: number | null | undefined;
|
|
2019
2723
|
compute_billing_price?: string | null | undefined;
|
|
2020
2724
|
};
|
|
2021
|
-
gateway: {
|
|
2022
|
-
base_domain?: string | null | undefined;
|
|
2023
|
-
cname?: string | null | undefined;
|
|
2024
|
-
};
|
|
2025
2725
|
logs: {
|
|
2026
2726
|
serial?: string | null | undefined;
|
|
2027
2727
|
stdout?: string | null | undefined;
|
|
@@ -2038,6 +2738,9 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2038
2738
|
} | null | undefined;
|
|
2039
2739
|
app_id?: string | null | undefined;
|
|
2040
2740
|
instance_id?: string | null | undefined;
|
|
2741
|
+
compose_hash?: string | null | undefined;
|
|
2742
|
+
vm_uuid?: string | null | undefined;
|
|
2743
|
+
created_at?: string | null | undefined;
|
|
2041
2744
|
project_type?: string | null | undefined;
|
|
2042
2745
|
kms_info?: {
|
|
2043
2746
|
chain_id?: number | null | undefined;
|
|
@@ -2047,19 +2750,22 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2047
2750
|
dstack_app_address?: string | null | undefined;
|
|
2048
2751
|
rpc_endpoint?: string | null | undefined;
|
|
2049
2752
|
} | null | undefined;
|
|
2050
|
-
vm_uuid?: string | null | undefined;
|
|
2051
2753
|
public_sysinfo?: boolean | undefined;
|
|
2052
2754
|
public_logs?: boolean | undefined;
|
|
2053
2755
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
2054
|
-
created_at?: string | null | undefined;
|
|
2055
2756
|
node_info?: {
|
|
2056
2757
|
object_type: "node";
|
|
2758
|
+
device_ids: {
|
|
2759
|
+
device_id: string;
|
|
2760
|
+
algorithm_version: string;
|
|
2761
|
+
enabled: boolean;
|
|
2762
|
+
}[];
|
|
2057
2763
|
status?: string | null | undefined;
|
|
2058
2764
|
name?: string | null | undefined;
|
|
2059
2765
|
version?: string | null | undefined;
|
|
2060
2766
|
id?: number | null | undefined;
|
|
2061
|
-
region?: string | null | undefined;
|
|
2062
2767
|
device_id?: string | null | undefined;
|
|
2768
|
+
region?: string | null | undefined;
|
|
2063
2769
|
ppid?: string | null | undefined;
|
|
2064
2770
|
} | null | undefined;
|
|
2065
2771
|
os?: {
|
|
@@ -2073,7 +2779,6 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2073
2779
|
started_at?: string | null | undefined;
|
|
2074
2780
|
correlation_id?: string | null | undefined;
|
|
2075
2781
|
} | null | undefined;
|
|
2076
|
-
compose_hash?: string | null | undefined;
|
|
2077
2782
|
docker_compose_hash?: string | null | undefined;
|
|
2078
2783
|
pre_launch_script_hash?: string | null | undefined;
|
|
2079
2784
|
endpoints?: {
|
|
@@ -2091,10 +2796,34 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2091
2796
|
avatar_url?: string | null | undefined;
|
|
2092
2797
|
} | null | undefined;
|
|
2093
2798
|
deleted_at?: string | null | undefined;
|
|
2799
|
+
hourly_rate?: {
|
|
2800
|
+
total?: string | null | undefined;
|
|
2801
|
+
compute?: string | null | undefined;
|
|
2802
|
+
disk?: string | null | undefined;
|
|
2803
|
+
} | null | undefined;
|
|
2804
|
+
billing_interval?: string | null | undefined;
|
|
2805
|
+
gpu_rental_order?: {
|
|
2806
|
+
status: string;
|
|
2807
|
+
order_id: string;
|
|
2808
|
+
pricing_plan?: string | null | undefined;
|
|
2809
|
+
commitment_days?: number | null | undefined;
|
|
2810
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2811
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2812
|
+
activated_at?: string | null | undefined;
|
|
2813
|
+
completed_at?: string | null | undefined;
|
|
2814
|
+
cancelled_at?: string | null | undefined;
|
|
2815
|
+
decoupled_at?: string | null | undefined;
|
|
2816
|
+
sku_code?: string | null | undefined;
|
|
2817
|
+
sku_display_name?: string | null | undefined;
|
|
2818
|
+
} | null | undefined;
|
|
2094
2819
|
}, {
|
|
2095
2820
|
status: string;
|
|
2096
2821
|
name: string;
|
|
2097
2822
|
id: string;
|
|
2823
|
+
gateway: {
|
|
2824
|
+
base_domain?: string | null | undefined;
|
|
2825
|
+
cname?: string | null | undefined;
|
|
2826
|
+
};
|
|
2098
2827
|
resource: {
|
|
2099
2828
|
vcpu?: number | null | undefined;
|
|
2100
2829
|
billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
|
|
@@ -2104,10 +2833,6 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2104
2833
|
gpus?: number | null | undefined;
|
|
2105
2834
|
compute_billing_price?: string | null | undefined;
|
|
2106
2835
|
};
|
|
2107
|
-
gateway: {
|
|
2108
|
-
base_domain?: string | null | undefined;
|
|
2109
|
-
cname?: string | null | undefined;
|
|
2110
|
-
};
|
|
2111
2836
|
workspace?: {
|
|
2112
2837
|
name: string;
|
|
2113
2838
|
id: string;
|
|
@@ -2117,6 +2842,9 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2117
2842
|
} | null | undefined;
|
|
2118
2843
|
app_id?: string | null | undefined;
|
|
2119
2844
|
instance_id?: string | null | undefined;
|
|
2845
|
+
compose_hash?: string | null | undefined;
|
|
2846
|
+
vm_uuid?: string | null | undefined;
|
|
2847
|
+
created_at?: string | null | undefined;
|
|
2120
2848
|
listed?: boolean | undefined;
|
|
2121
2849
|
in_progress?: boolean | undefined;
|
|
2122
2850
|
project_type?: string | null | undefined;
|
|
@@ -2128,19 +2856,22 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2128
2856
|
dstack_app_address?: string | null | undefined;
|
|
2129
2857
|
rpc_endpoint?: string | null | undefined;
|
|
2130
2858
|
} | null | undefined;
|
|
2131
|
-
vm_uuid?: string | null | undefined;
|
|
2132
2859
|
public_sysinfo?: boolean | undefined;
|
|
2133
2860
|
public_logs?: boolean | undefined;
|
|
2134
2861
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
2135
|
-
created_at?: string | null | undefined;
|
|
2136
2862
|
node_info?: {
|
|
2137
2863
|
object_type: "node";
|
|
2138
2864
|
status?: string | null | undefined;
|
|
2139
2865
|
name?: string | null | undefined;
|
|
2140
2866
|
version?: string | null | undefined;
|
|
2141
2867
|
id?: number | null | undefined;
|
|
2142
|
-
region?: string | null | undefined;
|
|
2143
2868
|
device_id?: string | null | undefined;
|
|
2869
|
+
region?: string | null | undefined;
|
|
2870
|
+
device_ids?: {
|
|
2871
|
+
device_id: string;
|
|
2872
|
+
algorithm_version: string;
|
|
2873
|
+
enabled: boolean;
|
|
2874
|
+
}[] | undefined;
|
|
2144
2875
|
ppid?: string | null | undefined;
|
|
2145
2876
|
} | null | undefined;
|
|
2146
2877
|
os?: {
|
|
@@ -2154,7 +2885,6 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2154
2885
|
started_at?: string | null | undefined;
|
|
2155
2886
|
correlation_id?: string | null | undefined;
|
|
2156
2887
|
} | null | undefined;
|
|
2157
|
-
compose_hash?: string | null | undefined;
|
|
2158
2888
|
docker_compose_hash?: string | null | undefined;
|
|
2159
2889
|
pre_launch_script_hash?: string | null | undefined;
|
|
2160
2890
|
logs?: {
|
|
@@ -2179,16 +2909,41 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2179
2909
|
avatar_url?: string | null | undefined;
|
|
2180
2910
|
} | null | undefined;
|
|
2181
2911
|
deleted_at?: string | null | undefined;
|
|
2912
|
+
hourly_rate?: {
|
|
2913
|
+
total?: string | null | undefined;
|
|
2914
|
+
compute?: string | null | undefined;
|
|
2915
|
+
disk?: string | null | undefined;
|
|
2916
|
+
} | null | undefined;
|
|
2917
|
+
billing_interval?: string | null | undefined;
|
|
2918
|
+
gpu_rental_order?: {
|
|
2919
|
+
status: string;
|
|
2920
|
+
order_id: string;
|
|
2921
|
+
pricing_plan?: string | null | undefined;
|
|
2922
|
+
commitment_days?: number | null | undefined;
|
|
2923
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2924
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2925
|
+
activated_at?: string | null | undefined;
|
|
2926
|
+
completed_at?: string | null | undefined;
|
|
2927
|
+
cancelled_at?: string | null | undefined;
|
|
2928
|
+
decoupled_at?: string | null | undefined;
|
|
2929
|
+
sku_code?: string | null | undefined;
|
|
2930
|
+
sku_display_name?: string | null | undefined;
|
|
2931
|
+
} | null | undefined;
|
|
2182
2932
|
}>, "many">;
|
|
2183
2933
|
total: z.ZodNumber;
|
|
2184
2934
|
page: z.ZodNumber;
|
|
2185
2935
|
page_size: z.ZodNumber;
|
|
2186
2936
|
pages: z.ZodNumber;
|
|
2187
2937
|
}, "strip", z.ZodTypeAny, {
|
|
2938
|
+
total: number;
|
|
2188
2939
|
items: {
|
|
2189
2940
|
status: string;
|
|
2190
2941
|
name: string;
|
|
2191
2942
|
id: string;
|
|
2943
|
+
gateway: {
|
|
2944
|
+
base_domain?: string | null | undefined;
|
|
2945
|
+
cname?: string | null | undefined;
|
|
2946
|
+
};
|
|
2192
2947
|
listed: boolean;
|
|
2193
2948
|
in_progress: boolean;
|
|
2194
2949
|
resource: {
|
|
@@ -2200,10 +2955,6 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2200
2955
|
gpus?: number | null | undefined;
|
|
2201
2956
|
compute_billing_price?: string | null | undefined;
|
|
2202
2957
|
};
|
|
2203
|
-
gateway: {
|
|
2204
|
-
base_domain?: string | null | undefined;
|
|
2205
|
-
cname?: string | null | undefined;
|
|
2206
|
-
};
|
|
2207
2958
|
logs: {
|
|
2208
2959
|
serial?: string | null | undefined;
|
|
2209
2960
|
stdout?: string | null | undefined;
|
|
@@ -2220,6 +2971,9 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2220
2971
|
} | null | undefined;
|
|
2221
2972
|
app_id?: string | null | undefined;
|
|
2222
2973
|
instance_id?: string | null | undefined;
|
|
2974
|
+
compose_hash?: string | null | undefined;
|
|
2975
|
+
vm_uuid?: string | null | undefined;
|
|
2976
|
+
created_at?: string | null | undefined;
|
|
2223
2977
|
project_type?: string | null | undefined;
|
|
2224
2978
|
kms_info?: {
|
|
2225
2979
|
chain_id?: number | null | undefined;
|
|
@@ -2229,19 +2983,22 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2229
2983
|
dstack_app_address?: string | null | undefined;
|
|
2230
2984
|
rpc_endpoint?: string | null | undefined;
|
|
2231
2985
|
} | null | undefined;
|
|
2232
|
-
vm_uuid?: string | null | undefined;
|
|
2233
2986
|
public_sysinfo?: boolean | undefined;
|
|
2234
2987
|
public_logs?: boolean | undefined;
|
|
2235
2988
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
2236
|
-
created_at?: string | null | undefined;
|
|
2237
2989
|
node_info?: {
|
|
2238
2990
|
object_type: "node";
|
|
2991
|
+
device_ids: {
|
|
2992
|
+
device_id: string;
|
|
2993
|
+
algorithm_version: string;
|
|
2994
|
+
enabled: boolean;
|
|
2995
|
+
}[];
|
|
2239
2996
|
status?: string | null | undefined;
|
|
2240
2997
|
name?: string | null | undefined;
|
|
2241
2998
|
version?: string | null | undefined;
|
|
2242
2999
|
id?: number | null | undefined;
|
|
2243
|
-
region?: string | null | undefined;
|
|
2244
3000
|
device_id?: string | null | undefined;
|
|
3001
|
+
region?: string | null | undefined;
|
|
2245
3002
|
ppid?: string | null | undefined;
|
|
2246
3003
|
} | null | undefined;
|
|
2247
3004
|
os?: {
|
|
@@ -2255,7 +3012,6 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2255
3012
|
started_at?: string | null | undefined;
|
|
2256
3013
|
correlation_id?: string | null | undefined;
|
|
2257
3014
|
} | null | undefined;
|
|
2258
|
-
compose_hash?: string | null | undefined;
|
|
2259
3015
|
docker_compose_hash?: string | null | undefined;
|
|
2260
3016
|
pre_launch_script_hash?: string | null | undefined;
|
|
2261
3017
|
endpoints?: {
|
|
@@ -2273,16 +3029,40 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2273
3029
|
avatar_url?: string | null | undefined;
|
|
2274
3030
|
} | null | undefined;
|
|
2275
3031
|
deleted_at?: string | null | undefined;
|
|
3032
|
+
hourly_rate?: {
|
|
3033
|
+
total?: string | null | undefined;
|
|
3034
|
+
compute?: string | null | undefined;
|
|
3035
|
+
disk?: string | null | undefined;
|
|
3036
|
+
} | null | undefined;
|
|
3037
|
+
billing_interval?: string | null | undefined;
|
|
3038
|
+
gpu_rental_order?: {
|
|
3039
|
+
status: string;
|
|
3040
|
+
order_id: string;
|
|
3041
|
+
pricing_plan?: string | null | undefined;
|
|
3042
|
+
commitment_days?: number | null | undefined;
|
|
3043
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3044
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3045
|
+
activated_at?: string | null | undefined;
|
|
3046
|
+
completed_at?: string | null | undefined;
|
|
3047
|
+
cancelled_at?: string | null | undefined;
|
|
3048
|
+
decoupled_at?: string | null | undefined;
|
|
3049
|
+
sku_code?: string | null | undefined;
|
|
3050
|
+
sku_display_name?: string | null | undefined;
|
|
3051
|
+
} | null | undefined;
|
|
2276
3052
|
}[];
|
|
2277
|
-
total: number;
|
|
2278
3053
|
page: number;
|
|
2279
3054
|
page_size: number;
|
|
2280
3055
|
pages: number;
|
|
2281
3056
|
}, {
|
|
3057
|
+
total: number;
|
|
2282
3058
|
items: {
|
|
2283
3059
|
status: string;
|
|
2284
3060
|
name: string;
|
|
2285
3061
|
id: string;
|
|
3062
|
+
gateway: {
|
|
3063
|
+
base_domain?: string | null | undefined;
|
|
3064
|
+
cname?: string | null | undefined;
|
|
3065
|
+
};
|
|
2286
3066
|
resource: {
|
|
2287
3067
|
vcpu?: number | null | undefined;
|
|
2288
3068
|
billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
|
|
@@ -2292,10 +3072,6 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2292
3072
|
gpus?: number | null | undefined;
|
|
2293
3073
|
compute_billing_price?: string | null | undefined;
|
|
2294
3074
|
};
|
|
2295
|
-
gateway: {
|
|
2296
|
-
base_domain?: string | null | undefined;
|
|
2297
|
-
cname?: string | null | undefined;
|
|
2298
|
-
};
|
|
2299
3075
|
workspace?: {
|
|
2300
3076
|
name: string;
|
|
2301
3077
|
id: string;
|
|
@@ -2305,6 +3081,9 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2305
3081
|
} | null | undefined;
|
|
2306
3082
|
app_id?: string | null | undefined;
|
|
2307
3083
|
instance_id?: string | null | undefined;
|
|
3084
|
+
compose_hash?: string | null | undefined;
|
|
3085
|
+
vm_uuid?: string | null | undefined;
|
|
3086
|
+
created_at?: string | null | undefined;
|
|
2308
3087
|
listed?: boolean | undefined;
|
|
2309
3088
|
in_progress?: boolean | undefined;
|
|
2310
3089
|
project_type?: string | null | undefined;
|
|
@@ -2316,19 +3095,22 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2316
3095
|
dstack_app_address?: string | null | undefined;
|
|
2317
3096
|
rpc_endpoint?: string | null | undefined;
|
|
2318
3097
|
} | null | undefined;
|
|
2319
|
-
vm_uuid?: string | null | undefined;
|
|
2320
3098
|
public_sysinfo?: boolean | undefined;
|
|
2321
3099
|
public_logs?: boolean | undefined;
|
|
2322
3100
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
2323
|
-
created_at?: string | null | undefined;
|
|
2324
3101
|
node_info?: {
|
|
2325
3102
|
object_type: "node";
|
|
2326
3103
|
status?: string | null | undefined;
|
|
2327
3104
|
name?: string | null | undefined;
|
|
2328
3105
|
version?: string | null | undefined;
|
|
2329
3106
|
id?: number | null | undefined;
|
|
2330
|
-
region?: string | null | undefined;
|
|
2331
3107
|
device_id?: string | null | undefined;
|
|
3108
|
+
region?: string | null | undefined;
|
|
3109
|
+
device_ids?: {
|
|
3110
|
+
device_id: string;
|
|
3111
|
+
algorithm_version: string;
|
|
3112
|
+
enabled: boolean;
|
|
3113
|
+
}[] | undefined;
|
|
2332
3114
|
ppid?: string | null | undefined;
|
|
2333
3115
|
} | null | undefined;
|
|
2334
3116
|
os?: {
|
|
@@ -2342,7 +3124,6 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2342
3124
|
started_at?: string | null | undefined;
|
|
2343
3125
|
correlation_id?: string | null | undefined;
|
|
2344
3126
|
} | null | undefined;
|
|
2345
|
-
compose_hash?: string | null | undefined;
|
|
2346
3127
|
docker_compose_hash?: string | null | undefined;
|
|
2347
3128
|
pre_launch_script_hash?: string | null | undefined;
|
|
2348
3129
|
logs?: {
|
|
@@ -2367,8 +3148,27 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2367
3148
|
avatar_url?: string | null | undefined;
|
|
2368
3149
|
} | null | undefined;
|
|
2369
3150
|
deleted_at?: string | null | undefined;
|
|
3151
|
+
hourly_rate?: {
|
|
3152
|
+
total?: string | null | undefined;
|
|
3153
|
+
compute?: string | null | undefined;
|
|
3154
|
+
disk?: string | null | undefined;
|
|
3155
|
+
} | null | undefined;
|
|
3156
|
+
billing_interval?: string | null | undefined;
|
|
3157
|
+
gpu_rental_order?: {
|
|
3158
|
+
status: string;
|
|
3159
|
+
order_id: string;
|
|
3160
|
+
pricing_plan?: string | null | undefined;
|
|
3161
|
+
commitment_days?: number | null | undefined;
|
|
3162
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3163
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3164
|
+
activated_at?: string | null | undefined;
|
|
3165
|
+
completed_at?: string | null | undefined;
|
|
3166
|
+
cancelled_at?: string | null | undefined;
|
|
3167
|
+
decoupled_at?: string | null | undefined;
|
|
3168
|
+
sku_code?: string | null | undefined;
|
|
3169
|
+
sku_display_name?: string | null | undefined;
|
|
3170
|
+
} | null | undefined;
|
|
2370
3171
|
}[];
|
|
2371
|
-
total: number;
|
|
2372
3172
|
page: number;
|
|
2373
3173
|
page_size: number;
|
|
2374
3174
|
pages: number;
|
|
@@ -2416,17 +3216,35 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2416
3216
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2417
3217
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2418
3218
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3219
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3220
|
+
device_id: z.ZodString;
|
|
3221
|
+
algorithm_version: z.ZodString;
|
|
3222
|
+
enabled: z.ZodBoolean;
|
|
3223
|
+
}, "strip", z.ZodTypeAny, {
|
|
3224
|
+
device_id: string;
|
|
3225
|
+
algorithm_version: string;
|
|
3226
|
+
enabled: boolean;
|
|
3227
|
+
}, {
|
|
3228
|
+
device_id: string;
|
|
3229
|
+
algorithm_version: string;
|
|
3230
|
+
enabled: boolean;
|
|
3231
|
+
}>, "many">>;
|
|
2419
3232
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2420
3233
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2421
3234
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2422
3235
|
}, "strip", z.ZodTypeAny, {
|
|
2423
3236
|
object_type: "node";
|
|
3237
|
+
device_ids: {
|
|
3238
|
+
device_id: string;
|
|
3239
|
+
algorithm_version: string;
|
|
3240
|
+
enabled: boolean;
|
|
3241
|
+
}[];
|
|
2424
3242
|
status?: string | null | undefined;
|
|
2425
3243
|
name?: string | null | undefined;
|
|
2426
3244
|
version?: string | null | undefined;
|
|
2427
3245
|
id?: number | null | undefined;
|
|
2428
|
-
region?: string | null | undefined;
|
|
2429
3246
|
device_id?: string | null | undefined;
|
|
3247
|
+
region?: string | null | undefined;
|
|
2430
3248
|
ppid?: string | null | undefined;
|
|
2431
3249
|
}, {
|
|
2432
3250
|
object_type: "node";
|
|
@@ -2434,8 +3252,13 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2434
3252
|
name?: string | null | undefined;
|
|
2435
3253
|
version?: string | null | undefined;
|
|
2436
3254
|
id?: number | null | undefined;
|
|
2437
|
-
region?: string | null | undefined;
|
|
2438
3255
|
device_id?: string | null | undefined;
|
|
3256
|
+
region?: string | null | undefined;
|
|
3257
|
+
device_ids?: {
|
|
3258
|
+
device_id: string;
|
|
3259
|
+
algorithm_version: string;
|
|
3260
|
+
enabled: boolean;
|
|
3261
|
+
}[] | undefined;
|
|
2439
3262
|
ppid?: string | null | undefined;
|
|
2440
3263
|
}>>>;
|
|
2441
3264
|
os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2591,12 +3414,70 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2591
3414
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2592
3415
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2593
3416
|
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3417
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3418
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3419
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3420
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3421
|
+
}, "strip", z.ZodTypeAny, {
|
|
3422
|
+
total?: string | null | undefined;
|
|
3423
|
+
compute?: string | null | undefined;
|
|
3424
|
+
disk?: string | null | undefined;
|
|
3425
|
+
}, {
|
|
3426
|
+
total?: string | null | undefined;
|
|
3427
|
+
compute?: string | null | undefined;
|
|
3428
|
+
disk?: string | null | undefined;
|
|
3429
|
+
}>>>;
|
|
3430
|
+
billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3431
|
+
gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3432
|
+
order_id: z.ZodString;
|
|
3433
|
+
status: z.ZodString;
|
|
3434
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3435
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3436
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3437
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3438
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3439
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3440
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3441
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3442
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3443
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3444
|
+
}, "strip", z.ZodTypeAny, {
|
|
3445
|
+
status: string;
|
|
3446
|
+
order_id: string;
|
|
3447
|
+
pricing_plan?: string | null | undefined;
|
|
3448
|
+
commitment_days?: number | null | undefined;
|
|
3449
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3450
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3451
|
+
activated_at?: string | null | undefined;
|
|
3452
|
+
completed_at?: string | null | undefined;
|
|
3453
|
+
cancelled_at?: string | null | undefined;
|
|
3454
|
+
decoupled_at?: string | null | undefined;
|
|
3455
|
+
sku_code?: string | null | undefined;
|
|
3456
|
+
sku_display_name?: string | null | undefined;
|
|
3457
|
+
}, {
|
|
3458
|
+
status: string;
|
|
3459
|
+
order_id: string;
|
|
3460
|
+
pricing_plan?: string | null | undefined;
|
|
3461
|
+
commitment_days?: number | null | undefined;
|
|
3462
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3463
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3464
|
+
activated_at?: string | null | undefined;
|
|
3465
|
+
completed_at?: string | null | undefined;
|
|
3466
|
+
cancelled_at?: string | null | undefined;
|
|
3467
|
+
decoupled_at?: string | null | undefined;
|
|
3468
|
+
sku_code?: string | null | undefined;
|
|
3469
|
+
sku_display_name?: string | null | undefined;
|
|
3470
|
+
}>>>;
|
|
2594
3471
|
} & {
|
|
2595
3472
|
id: z.ZodString;
|
|
2596
3473
|
}, "strip", z.ZodTypeAny, {
|
|
2597
3474
|
status: string;
|
|
2598
3475
|
name: string;
|
|
2599
3476
|
id: string;
|
|
3477
|
+
gateway: {
|
|
3478
|
+
base_domain?: string | null | undefined;
|
|
3479
|
+
cname?: string | null | undefined;
|
|
3480
|
+
};
|
|
2600
3481
|
listed: boolean;
|
|
2601
3482
|
in_progress: boolean;
|
|
2602
3483
|
resource: {
|
|
@@ -2608,10 +3489,6 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2608
3489
|
gpus?: number | null | undefined;
|
|
2609
3490
|
compute_billing_price?: string | null | undefined;
|
|
2610
3491
|
};
|
|
2611
|
-
gateway: {
|
|
2612
|
-
base_domain?: string | null | undefined;
|
|
2613
|
-
cname?: string | null | undefined;
|
|
2614
|
-
};
|
|
2615
3492
|
logs: {
|
|
2616
3493
|
serial?: string | null | undefined;
|
|
2617
3494
|
stdout?: string | null | undefined;
|
|
@@ -2628,6 +3505,9 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2628
3505
|
} | null | undefined;
|
|
2629
3506
|
app_id?: string | null | undefined;
|
|
2630
3507
|
instance_id?: string | null | undefined;
|
|
3508
|
+
compose_hash?: string | null | undefined;
|
|
3509
|
+
vm_uuid?: string | null | undefined;
|
|
3510
|
+
created_at?: string | null | undefined;
|
|
2631
3511
|
project_type?: string | null | undefined;
|
|
2632
3512
|
kms_info?: {
|
|
2633
3513
|
chain_id?: number | null | undefined;
|
|
@@ -2637,19 +3517,22 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2637
3517
|
dstack_app_address?: string | null | undefined;
|
|
2638
3518
|
rpc_endpoint?: string | null | undefined;
|
|
2639
3519
|
} | null | undefined;
|
|
2640
|
-
vm_uuid?: string | null | undefined;
|
|
2641
3520
|
public_sysinfo?: boolean | undefined;
|
|
2642
3521
|
public_logs?: boolean | undefined;
|
|
2643
3522
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
2644
|
-
created_at?: string | null | undefined;
|
|
2645
3523
|
node_info?: {
|
|
2646
3524
|
object_type: "node";
|
|
3525
|
+
device_ids: {
|
|
3526
|
+
device_id: string;
|
|
3527
|
+
algorithm_version: string;
|
|
3528
|
+
enabled: boolean;
|
|
3529
|
+
}[];
|
|
2647
3530
|
status?: string | null | undefined;
|
|
2648
3531
|
name?: string | null | undefined;
|
|
2649
3532
|
version?: string | null | undefined;
|
|
2650
3533
|
id?: number | null | undefined;
|
|
2651
|
-
region?: string | null | undefined;
|
|
2652
3534
|
device_id?: string | null | undefined;
|
|
3535
|
+
region?: string | null | undefined;
|
|
2653
3536
|
ppid?: string | null | undefined;
|
|
2654
3537
|
} | null | undefined;
|
|
2655
3538
|
os?: {
|
|
@@ -2663,7 +3546,6 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2663
3546
|
started_at?: string | null | undefined;
|
|
2664
3547
|
correlation_id?: string | null | undefined;
|
|
2665
3548
|
} | null | undefined;
|
|
2666
|
-
compose_hash?: string | null | undefined;
|
|
2667
3549
|
docker_compose_hash?: string | null | undefined;
|
|
2668
3550
|
pre_launch_script_hash?: string | null | undefined;
|
|
2669
3551
|
endpoints?: {
|
|
@@ -2681,10 +3563,34 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2681
3563
|
avatar_url?: string | null | undefined;
|
|
2682
3564
|
} | null | undefined;
|
|
2683
3565
|
deleted_at?: string | null | undefined;
|
|
3566
|
+
hourly_rate?: {
|
|
3567
|
+
total?: string | null | undefined;
|
|
3568
|
+
compute?: string | null | undefined;
|
|
3569
|
+
disk?: string | null | undefined;
|
|
3570
|
+
} | null | undefined;
|
|
3571
|
+
billing_interval?: string | null | undefined;
|
|
3572
|
+
gpu_rental_order?: {
|
|
3573
|
+
status: string;
|
|
3574
|
+
order_id: string;
|
|
3575
|
+
pricing_plan?: string | null | undefined;
|
|
3576
|
+
commitment_days?: number | null | undefined;
|
|
3577
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3578
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3579
|
+
activated_at?: string | null | undefined;
|
|
3580
|
+
completed_at?: string | null | undefined;
|
|
3581
|
+
cancelled_at?: string | null | undefined;
|
|
3582
|
+
decoupled_at?: string | null | undefined;
|
|
3583
|
+
sku_code?: string | null | undefined;
|
|
3584
|
+
sku_display_name?: string | null | undefined;
|
|
3585
|
+
} | null | undefined;
|
|
2684
3586
|
}, {
|
|
2685
3587
|
status: string;
|
|
2686
3588
|
name: string;
|
|
2687
3589
|
id: string;
|
|
3590
|
+
gateway: {
|
|
3591
|
+
base_domain?: string | null | undefined;
|
|
3592
|
+
cname?: string | null | undefined;
|
|
3593
|
+
};
|
|
2688
3594
|
resource: {
|
|
2689
3595
|
vcpu?: number | null | undefined;
|
|
2690
3596
|
billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
|
|
@@ -2694,10 +3600,6 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2694
3600
|
gpus?: number | null | undefined;
|
|
2695
3601
|
compute_billing_price?: string | null | undefined;
|
|
2696
3602
|
};
|
|
2697
|
-
gateway: {
|
|
2698
|
-
base_domain?: string | null | undefined;
|
|
2699
|
-
cname?: string | null | undefined;
|
|
2700
|
-
};
|
|
2701
3603
|
workspace?: {
|
|
2702
3604
|
name: string;
|
|
2703
3605
|
id: string;
|
|
@@ -2707,6 +3609,9 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2707
3609
|
} | null | undefined;
|
|
2708
3610
|
app_id?: string | null | undefined;
|
|
2709
3611
|
instance_id?: string | null | undefined;
|
|
3612
|
+
compose_hash?: string | null | undefined;
|
|
3613
|
+
vm_uuid?: string | null | undefined;
|
|
3614
|
+
created_at?: string | null | undefined;
|
|
2710
3615
|
listed?: boolean | undefined;
|
|
2711
3616
|
in_progress?: boolean | undefined;
|
|
2712
3617
|
project_type?: string | null | undefined;
|
|
@@ -2718,19 +3623,22 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2718
3623
|
dstack_app_address?: string | null | undefined;
|
|
2719
3624
|
rpc_endpoint?: string | null | undefined;
|
|
2720
3625
|
} | null | undefined;
|
|
2721
|
-
vm_uuid?: string | null | undefined;
|
|
2722
3626
|
public_sysinfo?: boolean | undefined;
|
|
2723
3627
|
public_logs?: boolean | undefined;
|
|
2724
3628
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
2725
|
-
created_at?: string | null | undefined;
|
|
2726
3629
|
node_info?: {
|
|
2727
3630
|
object_type: "node";
|
|
2728
3631
|
status?: string | null | undefined;
|
|
2729
3632
|
name?: string | null | undefined;
|
|
2730
3633
|
version?: string | null | undefined;
|
|
2731
3634
|
id?: number | null | undefined;
|
|
2732
|
-
region?: string | null | undefined;
|
|
2733
3635
|
device_id?: string | null | undefined;
|
|
3636
|
+
region?: string | null | undefined;
|
|
3637
|
+
device_ids?: {
|
|
3638
|
+
device_id: string;
|
|
3639
|
+
algorithm_version: string;
|
|
3640
|
+
enabled: boolean;
|
|
3641
|
+
}[] | undefined;
|
|
2734
3642
|
ppid?: string | null | undefined;
|
|
2735
3643
|
} | null | undefined;
|
|
2736
3644
|
os?: {
|
|
@@ -2744,7 +3652,6 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2744
3652
|
started_at?: string | null | undefined;
|
|
2745
3653
|
correlation_id?: string | null | undefined;
|
|
2746
3654
|
} | null | undefined;
|
|
2747
|
-
compose_hash?: string | null | undefined;
|
|
2748
3655
|
docker_compose_hash?: string | null | undefined;
|
|
2749
3656
|
pre_launch_script_hash?: string | null | undefined;
|
|
2750
3657
|
logs?: {
|
|
@@ -2769,12 +3676,37 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2769
3676
|
avatar_url?: string | null | undefined;
|
|
2770
3677
|
} | null | undefined;
|
|
2771
3678
|
deleted_at?: string | null | undefined;
|
|
3679
|
+
hourly_rate?: {
|
|
3680
|
+
total?: string | null | undefined;
|
|
3681
|
+
compute?: string | null | undefined;
|
|
3682
|
+
disk?: string | null | undefined;
|
|
3683
|
+
} | null | undefined;
|
|
3684
|
+
billing_interval?: string | null | undefined;
|
|
3685
|
+
gpu_rental_order?: {
|
|
3686
|
+
status: string;
|
|
3687
|
+
order_id: string;
|
|
3688
|
+
pricing_plan?: string | null | undefined;
|
|
3689
|
+
commitment_days?: number | null | undefined;
|
|
3690
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3691
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3692
|
+
activated_at?: string | null | undefined;
|
|
3693
|
+
completed_at?: string | null | undefined;
|
|
3694
|
+
cancelled_at?: string | null | undefined;
|
|
3695
|
+
decoupled_at?: string | null | undefined;
|
|
3696
|
+
sku_code?: string | null | undefined;
|
|
3697
|
+
sku_display_name?: string | null | undefined;
|
|
3698
|
+
} | null | undefined;
|
|
2772
3699
|
}>, "many">;
|
|
2773
3700
|
}, "strip", z.ZodTypeAny, {
|
|
3701
|
+
total: number;
|
|
2774
3702
|
items: {
|
|
2775
3703
|
status: string;
|
|
2776
3704
|
name: string;
|
|
2777
3705
|
id: string;
|
|
3706
|
+
gateway: {
|
|
3707
|
+
base_domain?: string | null | undefined;
|
|
3708
|
+
cname?: string | null | undefined;
|
|
3709
|
+
};
|
|
2778
3710
|
listed: boolean;
|
|
2779
3711
|
in_progress: boolean;
|
|
2780
3712
|
resource: {
|
|
@@ -2786,10 +3718,6 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2786
3718
|
gpus?: number | null | undefined;
|
|
2787
3719
|
compute_billing_price?: string | null | undefined;
|
|
2788
3720
|
};
|
|
2789
|
-
gateway: {
|
|
2790
|
-
base_domain?: string | null | undefined;
|
|
2791
|
-
cname?: string | null | undefined;
|
|
2792
|
-
};
|
|
2793
3721
|
logs: {
|
|
2794
3722
|
serial?: string | null | undefined;
|
|
2795
3723
|
stdout?: string | null | undefined;
|
|
@@ -2806,6 +3734,9 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2806
3734
|
} | null | undefined;
|
|
2807
3735
|
app_id?: string | null | undefined;
|
|
2808
3736
|
instance_id?: string | null | undefined;
|
|
3737
|
+
compose_hash?: string | null | undefined;
|
|
3738
|
+
vm_uuid?: string | null | undefined;
|
|
3739
|
+
created_at?: string | null | undefined;
|
|
2809
3740
|
project_type?: string | null | undefined;
|
|
2810
3741
|
kms_info?: {
|
|
2811
3742
|
chain_id?: number | null | undefined;
|
|
@@ -2815,19 +3746,22 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2815
3746
|
dstack_app_address?: string | null | undefined;
|
|
2816
3747
|
rpc_endpoint?: string | null | undefined;
|
|
2817
3748
|
} | null | undefined;
|
|
2818
|
-
vm_uuid?: string | null | undefined;
|
|
2819
3749
|
public_sysinfo?: boolean | undefined;
|
|
2820
3750
|
public_logs?: boolean | undefined;
|
|
2821
3751
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
2822
|
-
created_at?: string | null | undefined;
|
|
2823
3752
|
node_info?: {
|
|
2824
3753
|
object_type: "node";
|
|
3754
|
+
device_ids: {
|
|
3755
|
+
device_id: string;
|
|
3756
|
+
algorithm_version: string;
|
|
3757
|
+
enabled: boolean;
|
|
3758
|
+
}[];
|
|
2825
3759
|
status?: string | null | undefined;
|
|
2826
3760
|
name?: string | null | undefined;
|
|
2827
3761
|
version?: string | null | undefined;
|
|
2828
3762
|
id?: number | null | undefined;
|
|
2829
|
-
region?: string | null | undefined;
|
|
2830
3763
|
device_id?: string | null | undefined;
|
|
3764
|
+
region?: string | null | undefined;
|
|
2831
3765
|
ppid?: string | null | undefined;
|
|
2832
3766
|
} | null | undefined;
|
|
2833
3767
|
os?: {
|
|
@@ -2841,7 +3775,6 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2841
3775
|
started_at?: string | null | undefined;
|
|
2842
3776
|
correlation_id?: string | null | undefined;
|
|
2843
3777
|
} | null | undefined;
|
|
2844
|
-
compose_hash?: string | null | undefined;
|
|
2845
3778
|
docker_compose_hash?: string | null | undefined;
|
|
2846
3779
|
pre_launch_script_hash?: string | null | undefined;
|
|
2847
3780
|
endpoints?: {
|
|
@@ -2859,16 +3792,40 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2859
3792
|
avatar_url?: string | null | undefined;
|
|
2860
3793
|
} | null | undefined;
|
|
2861
3794
|
deleted_at?: string | null | undefined;
|
|
3795
|
+
hourly_rate?: {
|
|
3796
|
+
total?: string | null | undefined;
|
|
3797
|
+
compute?: string | null | undefined;
|
|
3798
|
+
disk?: string | null | undefined;
|
|
3799
|
+
} | null | undefined;
|
|
3800
|
+
billing_interval?: string | null | undefined;
|
|
3801
|
+
gpu_rental_order?: {
|
|
3802
|
+
status: string;
|
|
3803
|
+
order_id: string;
|
|
3804
|
+
pricing_plan?: string | null | undefined;
|
|
3805
|
+
commitment_days?: number | null | undefined;
|
|
3806
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3807
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3808
|
+
activated_at?: string | null | undefined;
|
|
3809
|
+
completed_at?: string | null | undefined;
|
|
3810
|
+
cancelled_at?: string | null | undefined;
|
|
3811
|
+
decoupled_at?: string | null | undefined;
|
|
3812
|
+
sku_code?: string | null | undefined;
|
|
3813
|
+
sku_display_name?: string | null | undefined;
|
|
3814
|
+
} | null | undefined;
|
|
2862
3815
|
}[];
|
|
2863
|
-
total: number;
|
|
2864
3816
|
page: number;
|
|
2865
3817
|
page_size: number;
|
|
2866
3818
|
pages: number;
|
|
2867
3819
|
}, {
|
|
3820
|
+
total: number;
|
|
2868
3821
|
items: {
|
|
2869
3822
|
status: string;
|
|
2870
3823
|
name: string;
|
|
2871
3824
|
id: string;
|
|
3825
|
+
gateway: {
|
|
3826
|
+
base_domain?: string | null | undefined;
|
|
3827
|
+
cname?: string | null | undefined;
|
|
3828
|
+
};
|
|
2872
3829
|
resource: {
|
|
2873
3830
|
vcpu?: number | null | undefined;
|
|
2874
3831
|
billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
|
|
@@ -2878,10 +3835,6 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2878
3835
|
gpus?: number | null | undefined;
|
|
2879
3836
|
compute_billing_price?: string | null | undefined;
|
|
2880
3837
|
};
|
|
2881
|
-
gateway: {
|
|
2882
|
-
base_domain?: string | null | undefined;
|
|
2883
|
-
cname?: string | null | undefined;
|
|
2884
|
-
};
|
|
2885
3838
|
workspace?: {
|
|
2886
3839
|
name: string;
|
|
2887
3840
|
id: string;
|
|
@@ -2891,6 +3844,9 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2891
3844
|
} | null | undefined;
|
|
2892
3845
|
app_id?: string | null | undefined;
|
|
2893
3846
|
instance_id?: string | null | undefined;
|
|
3847
|
+
compose_hash?: string | null | undefined;
|
|
3848
|
+
vm_uuid?: string | null | undefined;
|
|
3849
|
+
created_at?: string | null | undefined;
|
|
2894
3850
|
listed?: boolean | undefined;
|
|
2895
3851
|
in_progress?: boolean | undefined;
|
|
2896
3852
|
project_type?: string | null | undefined;
|
|
@@ -2902,19 +3858,22 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2902
3858
|
dstack_app_address?: string | null | undefined;
|
|
2903
3859
|
rpc_endpoint?: string | null | undefined;
|
|
2904
3860
|
} | null | undefined;
|
|
2905
|
-
vm_uuid?: string | null | undefined;
|
|
2906
3861
|
public_sysinfo?: boolean | undefined;
|
|
2907
3862
|
public_logs?: boolean | undefined;
|
|
2908
3863
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
2909
|
-
created_at?: string | null | undefined;
|
|
2910
3864
|
node_info?: {
|
|
2911
3865
|
object_type: "node";
|
|
2912
3866
|
status?: string | null | undefined;
|
|
2913
3867
|
name?: string | null | undefined;
|
|
2914
3868
|
version?: string | null | undefined;
|
|
2915
3869
|
id?: number | null | undefined;
|
|
2916
|
-
region?: string | null | undefined;
|
|
2917
3870
|
device_id?: string | null | undefined;
|
|
3871
|
+
region?: string | null | undefined;
|
|
3872
|
+
device_ids?: {
|
|
3873
|
+
device_id: string;
|
|
3874
|
+
algorithm_version: string;
|
|
3875
|
+
enabled: boolean;
|
|
3876
|
+
}[] | undefined;
|
|
2918
3877
|
ppid?: string | null | undefined;
|
|
2919
3878
|
} | null | undefined;
|
|
2920
3879
|
os?: {
|
|
@@ -2928,7 +3887,6 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2928
3887
|
started_at?: string | null | undefined;
|
|
2929
3888
|
correlation_id?: string | null | undefined;
|
|
2930
3889
|
} | null | undefined;
|
|
2931
|
-
compose_hash?: string | null | undefined;
|
|
2932
3890
|
docker_compose_hash?: string | null | undefined;
|
|
2933
3891
|
pre_launch_script_hash?: string | null | undefined;
|
|
2934
3892
|
logs?: {
|
|
@@ -2953,8 +3911,27 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2953
3911
|
avatar_url?: string | null | undefined;
|
|
2954
3912
|
} | null | undefined;
|
|
2955
3913
|
deleted_at?: string | null | undefined;
|
|
3914
|
+
hourly_rate?: {
|
|
3915
|
+
total?: string | null | undefined;
|
|
3916
|
+
compute?: string | null | undefined;
|
|
3917
|
+
disk?: string | null | undefined;
|
|
3918
|
+
} | null | undefined;
|
|
3919
|
+
billing_interval?: string | null | undefined;
|
|
3920
|
+
gpu_rental_order?: {
|
|
3921
|
+
status: string;
|
|
3922
|
+
order_id: string;
|
|
3923
|
+
pricing_plan?: string | null | undefined;
|
|
3924
|
+
commitment_days?: number | null | undefined;
|
|
3925
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3926
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3927
|
+
activated_at?: string | null | undefined;
|
|
3928
|
+
completed_at?: string | null | undefined;
|
|
3929
|
+
cancelled_at?: string | null | undefined;
|
|
3930
|
+
decoupled_at?: string | null | undefined;
|
|
3931
|
+
sku_code?: string | null | undefined;
|
|
3932
|
+
sku_display_name?: string | null | undefined;
|
|
3933
|
+
} | null | undefined;
|
|
2956
3934
|
}[];
|
|
2957
|
-
total: number;
|
|
2958
3935
|
page: number;
|
|
2959
3936
|
page_size: number;
|
|
2960
3937
|
pages: number;
|