@phala/cloud 0.6.4 → 0.6.6-beta.1

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.
Files changed (95) hide show
  1. package/README.md +6 -6
  2. package/dist/actions/api_tokens/revoke_current_api_token.d.ts +2 -2
  3. package/dist/actions/apps/app_launch_token.d.ts +4 -4
  4. package/dist/actions/apps/check_app_is_allowed.d.ts +4 -4
  5. package/dist/actions/apps/create_app_instance.d.ts +20 -20
  6. package/dist/actions/apps/get_app_attestation.d.ts +4 -4
  7. package/dist/actions/blockchains/abi/dstack_app.d.ts +403 -1
  8. package/dist/actions/blockchains/add_compose_hash.d.ts +7 -0
  9. package/dist/actions/blockchains/add_device.d.ts +7 -0
  10. package/dist/actions/blockchains/check_compose_hash_allowed.d.ts +4 -1
  11. package/dist/actions/blockchains/check_device_allowed.d.ts +5 -2
  12. package/dist/actions/blockchains/check_on_chain_prerequisites.d.ts +7 -2
  13. package/dist/actions/blockchains/epoch_compat.d.ts +106 -0
  14. package/dist/actions/blockchains/get_allowed_devices.d.ts +10 -2
  15. package/dist/actions/blockchains/remove_device.d.ts +7 -0
  16. package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +4 -4
  17. package/dist/actions/cvms/commit_cvm_update.d.ts +20 -20
  18. package/dist/actions/cvms/confirm_cvm_patch.d.ts +14 -14
  19. package/dist/actions/cvms/cvm_annotations.d.ts +10 -10
  20. package/dist/actions/cvms/delete_cvm.d.ts +2 -2
  21. package/dist/actions/cvms/get_available_os_images.d.ts +2 -2
  22. package/dist/actions/cvms/get_cvm_attestation.d.ts +4 -4
  23. package/dist/actions/cvms/get_cvm_compose_file.d.ts +10 -10
  24. package/dist/actions/cvms/get_cvm_containers_stats.d.ts +4 -4
  25. package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
  26. package/dist/actions/cvms/get_cvm_info.d.ts +24 -8
  27. package/dist/actions/cvms/get_cvm_init_scripts.d.ts +2 -2
  28. package/dist/actions/cvms/get_cvm_network.d.ts +2 -2
  29. package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +2 -2
  30. package/dist/actions/cvms/get_cvm_state.d.ts +6 -6
  31. package/dist/actions/cvms/get_cvm_stats.d.ts +2 -2
  32. package/dist/actions/cvms/get_cvm_status_batch.d.ts +10 -10
  33. package/dist/actions/cvms/get_cvm_user_config.d.ts +4 -4
  34. package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +2 -2
  35. package/dist/actions/cvms/logs.d.ts +10 -9
  36. package/dist/actions/cvms/patch_cvm.d.ts +10 -10
  37. package/dist/actions/cvms/provision_cvm.d.ts +23 -20
  38. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +49 -49
  39. package/dist/actions/cvms/put_cvm_init_scripts.d.ts +8 -8
  40. package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +25 -25
  41. package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +25 -25
  42. package/dist/actions/cvms/update_cvm_envs.d.ts +10 -10
  43. package/dist/actions/cvms/update_cvm_resources.d.ts +2 -2
  44. package/dist/actions/cvms/update_cvm_visibility.d.ts +14 -14
  45. package/dist/actions/cvms/update_docker_compose.d.ts +10 -10
  46. package/dist/actions/cvms/update_os_image.d.ts +8 -8
  47. package/dist/actions/cvms/update_prelaunch_script.d.ts +10 -10
  48. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +2 -2
  49. package/dist/actions/cvms/watch_cvm_state.d.ts +2 -2
  50. package/dist/actions/domains/create_app_domain.d.ts +139 -0
  51. package/dist/actions/domains/delete_app_domain.d.ts +120 -0
  52. package/dist/actions/domains/get_app_domain_guide.d.ts +67 -0
  53. package/dist/actions/domains/list_app_domains.d.ts +107 -0
  54. package/dist/actions/domains/list_domains.d.ts +157 -0
  55. package/dist/actions/domains/merge_app_domain_ingress.d.ts +120 -0
  56. package/dist/actions/domains/preflight_app_domain.d.ts +110 -0
  57. package/dist/actions/domains/schemas.d.ts +82 -0
  58. package/dist/actions/domains/verify_app_domain.d.ts +142 -0
  59. package/dist/actions/get_available_nodes.d.ts +16 -16
  60. package/dist/actions/index.d.ts +11 -1
  61. package/dist/actions/kms/get_app_env_encrypt_pubkey.d.ts +2 -2
  62. package/dist/actions/kms/get_kms_contract.d.ts +2 -2
  63. package/dist/actions/kms/get_kms_info.d.ts +2 -2
  64. package/dist/actions/kms/get_kms_list.d.ts +2 -2
  65. package/dist/actions/kms/get_kms_onchain_detail.d.ts +10 -10
  66. package/dist/actions/kms/list_kms_contract_nodes.d.ts +2 -2
  67. package/dist/actions/kms/list_kms_contracts.d.ts +2 -2
  68. package/dist/actions/kms/next_app_ids.d.ts +2 -2
  69. package/dist/actions/list-instance-types.d.ts +8 -8
  70. package/dist/actions/os_images/get_os_images.d.ts +2 -2
  71. package/dist/actions/ssh_keys/create_ssh_key.d.ts +6 -6
  72. package/dist/actions/ssh_keys/delete_ssh_key.d.ts +2 -2
  73. package/dist/actions/ssh_keys/get_cvm_ssh_keys.d.ts +2 -2
  74. package/dist/actions/ssh_keys/import_github_profile.d.ts +2 -2
  75. package/dist/actions/ssh_keys/sync_github_ssh_keys.d.ts +2 -2
  76. package/dist/actions/ssh_keys/update_cvm_ssh_keys.d.ts +8 -8
  77. package/dist/actions/workspaces/get_workspace.d.ts +8 -8
  78. package/dist/actions/workspaces/get_workspace_nodes.d.ts +12 -12
  79. package/dist/actions/workspaces/get_workspace_quotas.d.ts +2 -2
  80. package/dist/actions/workspaces/list_workspaces.d.ts +10 -10
  81. package/dist/client.d.ts +1 -1
  82. package/dist/create-client.d.ts +263 -134
  83. package/dist/index.js +2468 -1497
  84. package/dist/index.mjs +2447 -1520
  85. package/dist/types/app_compose.d.ts +2 -2
  86. package/dist/types/app_info_v20260121.d.ts +84 -36
  87. package/dist/types/client.d.ts +3 -3
  88. package/dist/types/cvm_info_v20251028.d.ts +1 -0
  89. package/dist/types/cvm_info_v20260121.d.ts +225 -22
  90. package/dist/types/version-mappings.d.ts +11 -11
  91. package/dist/utils/define-action.d.ts +4 -4
  92. package/dist/utils/errors.d.ts +4 -0
  93. package/dist/utils/network.d.ts +6 -6
  94. package/dist/version.d.ts +1 -0
  95. package/package.json +25 -12
@@ -152,6 +152,7 @@ export declare const CvmDetailV20251028Schema: z.ZodObject<{
152
152
  public_logs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
153
153
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
154
154
  managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
155
+ enabled_ssh_access: z.ZodOptional<z.ZodBoolean>;
155
156
  dapp_dashboard_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
156
157
  syslog_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
158
  kms_info: z.ZodNullable<z.ZodOptional<z.ZodPipe<z.ZodObject<{
@@ -1,15 +1,15 @@
1
1
  import { z } from "zod";
2
2
  export declare const BillingPeriodSchema: z.ZodEnum<{
3
- skip: "skip";
4
3
  hourly: "hourly";
5
4
  monthly: "monthly";
5
+ skip: "skip";
6
6
  }>;
7
7
  export type BillingPeriod = z.infer<typeof BillingPeriodSchema>;
8
8
  export declare const KmsTypeSchema: z.ZodEnum<{
9
+ base: "base";
10
+ ethereum: "ethereum";
9
11
  legacy: "legacy";
10
12
  phala: "phala";
11
- ethereum: "ethereum";
12
- base: "base";
13
13
  }>;
14
14
  export type KmsType = z.infer<typeof KmsTypeSchema>;
15
15
  export declare const UserRefSchema: z.ZodObject<{
@@ -35,9 +35,9 @@ export declare const CvmResourceInfoV20260121Schema: z.ZodObject<{
35
35
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38
- skip: "skip";
39
38
  hourly: "hourly";
40
39
  monthly: "monthly";
40
+ skip: "skip";
41
41
  }>>>;
42
42
  }, z.core.$strip>;
43
43
  export type CvmResourceInfoV20260121 = z.infer<typeof CvmResourceInfoV20260121Schema>;
@@ -80,6 +80,7 @@ export declare const CvmKmsInfoV20260121Schema: z.ZodPipe<z.ZodObject<{
80
80
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
81
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
82
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
84
  }, z.core.$strip>, z.ZodTransform<{
84
85
  chain_id?: number | null | undefined;
85
86
  dstack_kms_address?: string | null | undefined;
@@ -87,6 +88,7 @@ export declare const CvmKmsInfoV20260121Schema: z.ZodPipe<z.ZodObject<{
87
88
  deployer_address?: string | null | undefined;
88
89
  rpc_endpoint?: string | null | undefined;
89
90
  encrypted_env_pubkey?: string | null | undefined;
91
+ k256_pubkey?: string | null | undefined;
90
92
  }, {
91
93
  chain_id?: number | null | undefined;
92
94
  dstack_kms_address?: string | null | undefined;
@@ -94,6 +96,7 @@ export declare const CvmKmsInfoV20260121Schema: z.ZodPipe<z.ZodObject<{
94
96
  deployer_address?: string | null | undefined;
95
97
  rpc_endpoint?: string | null | undefined;
96
98
  encrypted_env_pubkey?: string | null | undefined;
99
+ k256_pubkey?: string | null | undefined;
97
100
  }>>;
98
101
  export type CvmKmsInfoV20260121 = z.infer<typeof CvmKmsInfoV20260121Schema>;
99
102
  export declare const CvmProgressInfoV20260121Schema: z.ZodObject<{
@@ -167,9 +170,9 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
167
170
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
168
171
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
169
172
  billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
170
- skip: "skip";
171
173
  hourly: "hourly";
172
174
  monthly: "monthly";
175
+ skip: "skip";
173
176
  }>>>;
174
177
  }, z.core.$strip>;
175
178
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -194,10 +197,10 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
194
197
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
195
198
  }, z.core.$strip>>>;
196
199
  kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
200
+ base: "base";
201
+ ethereum: "ethereum";
197
202
  legacy: "legacy";
198
203
  phala: "phala";
199
- ethereum: "ethereum";
200
- base: "base";
201
204
  }>>>;
202
205
  kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
203
206
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -206,6 +209,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
206
209
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
207
210
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
208
211
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
213
  }, z.core.$strip>, z.ZodTransform<{
210
214
  chain_id?: number | null | undefined;
211
215
  dstack_kms_address?: string | null | undefined;
@@ -213,6 +217,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
213
217
  deployer_address?: string | null | undefined;
214
218
  rpc_endpoint?: string | null | undefined;
215
219
  encrypted_env_pubkey?: string | null | undefined;
220
+ k256_pubkey?: string | null | undefined;
216
221
  }, {
217
222
  chain_id?: number | null | undefined;
218
223
  dstack_kms_address?: string | null | undefined;
@@ -220,6 +225,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
220
225
  deployer_address?: string | null | undefined;
221
226
  rpc_endpoint?: string | null | undefined;
222
227
  encrypted_env_pubkey?: string | null | undefined;
228
+ k256_pubkey?: string | null | undefined;
223
229
  }>>>>;
224
230
  status: z.ZodString;
225
231
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -253,6 +259,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
253
259
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
254
260
  secure_time: z.ZodOptional<z.ZodBoolean>;
255
261
  managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
262
+ enabled_ssh_access: z.ZodOptional<z.ZodBoolean>;
256
263
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
257
264
  storage_fs: z.ZodOptional<z.ZodString>;
258
265
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -310,9 +317,9 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
310
317
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
311
318
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
312
319
  billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
313
- skip: "skip";
314
320
  hourly: "hourly";
315
321
  monthly: "monthly";
322
+ skip: "skip";
316
323
  }>>>;
317
324
  }, z.core.$strip>;
318
325
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -337,10 +344,10 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
337
344
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
338
345
  }, z.core.$strip>>>;
339
346
  kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
347
+ base: "base";
348
+ ethereum: "ethereum";
340
349
  legacy: "legacy";
341
350
  phala: "phala";
342
- ethereum: "ethereum";
343
- base: "base";
344
351
  }>>>;
345
352
  kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
346
353
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -349,6 +356,7 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
349
356
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
350
357
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
351
358
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
359
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
352
360
  }, z.core.$strip>, z.ZodTransform<{
353
361
  chain_id?: number | null | undefined;
354
362
  dstack_kms_address?: string | null | undefined;
@@ -356,6 +364,7 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
356
364
  deployer_address?: string | null | undefined;
357
365
  rpc_endpoint?: string | null | undefined;
358
366
  encrypted_env_pubkey?: string | null | undefined;
367
+ k256_pubkey?: string | null | undefined;
359
368
  }, {
360
369
  chain_id?: number | null | undefined;
361
370
  dstack_kms_address?: string | null | undefined;
@@ -363,6 +372,7 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
363
372
  deployer_address?: string | null | undefined;
364
373
  rpc_endpoint?: string | null | undefined;
365
374
  encrypted_env_pubkey?: string | null | undefined;
375
+ k256_pubkey?: string | null | undefined;
366
376
  }>>>>;
367
377
  status: z.ZodString;
368
378
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -396,6 +406,7 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
396
406
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
397
407
  secure_time: z.ZodOptional<z.ZodBoolean>;
398
408
  managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
409
+ enabled_ssh_access: z.ZodOptional<z.ZodBoolean>;
399
410
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
400
411
  storage_fs: z.ZodOptional<z.ZodString>;
401
412
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -455,9 +466,9 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
455
466
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
456
467
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
457
468
  billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
458
- skip: "skip";
459
469
  hourly: "hourly";
460
470
  monthly: "monthly";
471
+ skip: "skip";
461
472
  }>>>;
462
473
  }, z.core.$strip>;
463
474
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -482,10 +493,10 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
482
493
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
483
494
  }, z.core.$strip>>>;
484
495
  kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
496
+ base: "base";
497
+ ethereum: "ethereum";
485
498
  legacy: "legacy";
486
499
  phala: "phala";
487
- ethereum: "ethereum";
488
- base: "base";
489
500
  }>>>;
490
501
  kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
491
502
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -494,6 +505,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
494
505
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
495
506
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
496
507
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
508
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
497
509
  }, z.core.$strip>, z.ZodTransform<{
498
510
  chain_id?: number | null | undefined;
499
511
  dstack_kms_address?: string | null | undefined;
@@ -501,6 +513,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
501
513
  deployer_address?: string | null | undefined;
502
514
  rpc_endpoint?: string | null | undefined;
503
515
  encrypted_env_pubkey?: string | null | undefined;
516
+ k256_pubkey?: string | null | undefined;
504
517
  }, {
505
518
  chain_id?: number | null | undefined;
506
519
  dstack_kms_address?: string | null | undefined;
@@ -508,6 +521,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
508
521
  deployer_address?: string | null | undefined;
509
522
  rpc_endpoint?: string | null | undefined;
510
523
  encrypted_env_pubkey?: string | null | undefined;
524
+ k256_pubkey?: string | null | undefined;
511
525
  }>>>>;
512
526
  status: z.ZodString;
513
527
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -541,6 +555,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
541
555
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
542
556
  secure_time: z.ZodOptional<z.ZodBoolean>;
543
557
  managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
558
+ enabled_ssh_access: z.ZodOptional<z.ZodBoolean>;
544
559
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
545
560
  storage_fs: z.ZodOptional<z.ZodString>;
546
561
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -599,9 +614,9 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
599
614
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
600
615
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
601
616
  billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
602
- skip: "skip";
603
617
  hourly: "hourly";
604
618
  monthly: "monthly";
619
+ skip: "skip";
605
620
  }>>>;
606
621
  }, z.core.$strip>;
607
622
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -626,10 +641,10 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
626
641
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
627
642
  }, z.core.$strip>>>;
628
643
  kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
644
+ base: "base";
645
+ ethereum: "ethereum";
629
646
  legacy: "legacy";
630
647
  phala: "phala";
631
- ethereum: "ethereum";
632
- base: "base";
633
648
  }>>>;
634
649
  kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
635
650
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -638,6 +653,7 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
638
653
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
639
654
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
640
655
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
656
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
641
657
  }, z.core.$strip>, z.ZodTransform<{
642
658
  chain_id?: number | null | undefined;
643
659
  dstack_kms_address?: string | null | undefined;
@@ -645,6 +661,7 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
645
661
  deployer_address?: string | null | undefined;
646
662
  rpc_endpoint?: string | null | undefined;
647
663
  encrypted_env_pubkey?: string | null | undefined;
664
+ k256_pubkey?: string | null | undefined;
648
665
  }, {
649
666
  chain_id?: number | null | undefined;
650
667
  dstack_kms_address?: string | null | undefined;
@@ -652,6 +669,7 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
652
669
  deployer_address?: string | null | undefined;
653
670
  rpc_endpoint?: string | null | undefined;
654
671
  encrypted_env_pubkey?: string | null | undefined;
672
+ k256_pubkey?: string | null | undefined;
655
673
  }>>>>;
656
674
  status: z.ZodString;
657
675
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -685,6 +703,7 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
685
703
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
686
704
  secure_time: z.ZodOptional<z.ZodBoolean>;
687
705
  managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
706
+ enabled_ssh_access: z.ZodOptional<z.ZodBoolean>;
688
707
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
689
708
  storage_fs: z.ZodOptional<z.ZodString>;
690
709
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -731,6 +750,181 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
731
750
  compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
732
751
  }, z.core.$strip>;
733
752
  export type CvmInfoDetailV20260522 = z.infer<typeof CvmInfoDetailV20260522Schema>;
753
+ export declare const CvmInfoDetailV20261111Schema: z.ZodObject<{
754
+ name: z.ZodString;
755
+ app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
756
+ vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
757
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
758
+ node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
759
+ object_type: z.ZodLiteral<"node">;
760
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
761
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
762
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
763
+ device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
764
+ device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
765
+ device_id: z.ZodString;
766
+ algorithm_version: z.ZodString;
767
+ enabled: z.ZodBoolean;
768
+ }, z.core.$strip>>>;
769
+ ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
770
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
771
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
772
+ }, z.core.$strip>>>;
773
+ os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
774
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
775
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
776
+ is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
777
+ os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
778
+ }, z.core.$strip>>>;
779
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
780
+ base: "base";
781
+ ethereum: "ethereum";
782
+ legacy: "legacy";
783
+ phala: "phala";
784
+ }>>>;
785
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
786
+ chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
787
+ dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
788
+ dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
789
+ deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
790
+ rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
791
+ encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
792
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
793
+ }, z.core.$strip>, z.ZodTransform<{
794
+ chain_id?: number | null | undefined;
795
+ dstack_kms_address?: string | null | undefined;
796
+ dstack_app_address?: string | null | undefined;
797
+ deployer_address?: string | null | undefined;
798
+ rpc_endpoint?: string | null | undefined;
799
+ encrypted_env_pubkey?: string | null | undefined;
800
+ k256_pubkey?: string | null | undefined;
801
+ }, {
802
+ chain_id?: number | null | undefined;
803
+ dstack_kms_address?: string | null | undefined;
804
+ dstack_app_address?: string | null | undefined;
805
+ deployer_address?: string | null | undefined;
806
+ rpc_endpoint?: string | null | undefined;
807
+ encrypted_env_pubkey?: string | null | undefined;
808
+ k256_pubkey?: string | null | undefined;
809
+ }>>>>;
810
+ status: z.ZodString;
811
+ in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
812
+ progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
813
+ target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
814
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
815
+ correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
816
+ }, z.core.$strip>>>;
817
+ compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
818
+ docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
819
+ pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
820
+ gateway: z.ZodObject<{
821
+ base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
822
+ cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
823
+ }, z.core.$strip>;
824
+ logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
825
+ serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
826
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
827
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
828
+ container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
829
+ auth_query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
830
+ }, z.core.$strip>>>;
831
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
832
+ endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
833
+ app: z.ZodString;
834
+ instance: z.ZodString;
835
+ }, z.core.$strip>>>>;
836
+ public_logs: z.ZodOptional<z.ZodBoolean>;
837
+ public_sysinfo: z.ZodOptional<z.ZodBoolean>;
838
+ public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
839
+ gateway_enabled: z.ZodOptional<z.ZodBoolean>;
840
+ secure_time: z.ZodOptional<z.ZodBoolean>;
841
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
842
+ enabled_ssh_access: z.ZodOptional<z.ZodBoolean>;
843
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
844
+ storage_fs: z.ZodOptional<z.ZodString>;
845
+ workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
846
+ object_type: z.ZodLiteral<"workspace">;
847
+ id: z.ZodString;
848
+ name: z.ZodString;
849
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
850
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
851
+ }, z.core.$strip>>>;
852
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
853
+ object_type: z.ZodLiteral<"user">;
854
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
855
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
856
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
857
+ }, z.core.$strip>>>;
858
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
859
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
860
+ project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
861
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
862
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
863
+ compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
864
+ disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
865
+ }, z.core.$strip>>>;
866
+ billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
867
+ gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
868
+ order_id: z.ZodString;
869
+ status: z.ZodString;
870
+ pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
+ commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
872
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
873
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
874
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
875
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
876
+ agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
877
+ hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
878
+ activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
879
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
880
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
881
+ decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
882
+ sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
883
+ sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
884
+ }, z.core.$strip>>>;
885
+ id: z.ZodString;
886
+ compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
887
+ resource: z.ZodObject<{
888
+ instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
889
+ vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
890
+ memory_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
891
+ disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
892
+ gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
893
+ compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
894
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
895
+ hourly: "hourly";
896
+ monthly: "monthly";
897
+ skip: "skip";
898
+ }>>>;
899
+ memory_in_mb: z.ZodNumber;
900
+ }, z.core.$strip>;
901
+ gpu: z.ZodOptional<z.ZodObject<{
902
+ product_id: z.ZodNullable<z.ZodString>;
903
+ gpus: z.ZodNumber;
904
+ cc_mode: z.ZodObject<{
905
+ expected: z.ZodEnum<{
906
+ devtools: "devtools";
907
+ on: "on";
908
+ }>;
909
+ }, z.core.$strip>;
910
+ }, z.core.$strip>>;
911
+ dapp_dashboard_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
912
+ syslog_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
913
+ }, z.core.$strip>;
914
+ type CvmInfoDetailV20261111Inferred = z.infer<typeof CvmInfoDetailV20261111Schema>;
915
+ export type CvmInfoDetailV20261111 = Omit<CvmInfoDetailV20261111Inferred, "resource"> & {
916
+ resource: Omit<CvmInfoDetailV20261111Inferred["resource"], "memory_in_gb"> & {
917
+ /** @deprecated Use memory_in_mb instead. */
918
+ memory_in_gb?: number | null;
919
+ };
920
+ };
921
+ export declare const CvmGpuStatusSchema: z.ZodObject<{
922
+ observed: z.ZodNullable<z.ZodArray<z.ZodObject<{
923
+ slot: z.ZodString;
924
+ cc_mode: z.ZodString;
925
+ }, z.core.$strip>>>;
926
+ }, z.core.$strip>;
927
+ export type CvmGpuStatus = z.infer<typeof CvmGpuStatusSchema>;
734
928
  export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
735
929
  items: z.ZodArray<z.ZodObject<{
736
930
  id: z.ZodString;
@@ -746,9 +940,9 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
746
940
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
747
941
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
748
942
  billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
749
- skip: "skip";
750
943
  hourly: "hourly";
751
944
  monthly: "monthly";
945
+ skip: "skip";
752
946
  }>>>;
753
947
  }, z.core.$strip>;
754
948
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -773,10 +967,10 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
773
967
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
774
968
  }, z.core.$strip>>>;
775
969
  kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
970
+ base: "base";
971
+ ethereum: "ethereum";
776
972
  legacy: "legacy";
777
973
  phala: "phala";
778
- ethereum: "ethereum";
779
- base: "base";
780
974
  }>>>;
781
975
  kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
782
976
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -785,6 +979,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
785
979
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
786
980
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
787
981
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
982
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
788
983
  }, z.core.$strip>, z.ZodTransform<{
789
984
  chain_id?: number | null | undefined;
790
985
  dstack_kms_address?: string | null | undefined;
@@ -792,6 +987,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
792
987
  deployer_address?: string | null | undefined;
793
988
  rpc_endpoint?: string | null | undefined;
794
989
  encrypted_env_pubkey?: string | null | undefined;
990
+ k256_pubkey?: string | null | undefined;
795
991
  }, {
796
992
  chain_id?: number | null | undefined;
797
993
  dstack_kms_address?: string | null | undefined;
@@ -799,6 +995,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
799
995
  deployer_address?: string | null | undefined;
800
996
  rpc_endpoint?: string | null | undefined;
801
997
  encrypted_env_pubkey?: string | null | undefined;
998
+ k256_pubkey?: string | null | undefined;
802
999
  }>>>>;
803
1000
  status: z.ZodString;
804
1001
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -832,6 +1029,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
832
1029
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
833
1030
  secure_time: z.ZodOptional<z.ZodBoolean>;
834
1031
  managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1032
+ enabled_ssh_access: z.ZodOptional<z.ZodBoolean>;
835
1033
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
836
1034
  storage_fs: z.ZodOptional<z.ZodString>;
837
1035
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -899,9 +1097,9 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
899
1097
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
900
1098
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
901
1099
  billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
902
- skip: "skip";
903
1100
  hourly: "hourly";
904
1101
  monthly: "monthly";
1102
+ skip: "skip";
905
1103
  }>>>;
906
1104
  }, z.core.$strip>;
907
1105
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -926,10 +1124,10 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
926
1124
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
927
1125
  }, z.core.$strip>>>;
928
1126
  kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1127
+ base: "base";
1128
+ ethereum: "ethereum";
929
1129
  legacy: "legacy";
930
1130
  phala: "phala";
931
- ethereum: "ethereum";
932
- base: "base";
933
1131
  }>>>;
934
1132
  kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
935
1133
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -938,6 +1136,7 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
938
1136
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
939
1137
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
940
1138
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1139
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
941
1140
  }, z.core.$strip>, z.ZodTransform<{
942
1141
  chain_id?: number | null | undefined;
943
1142
  dstack_kms_address?: string | null | undefined;
@@ -945,6 +1144,7 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
945
1144
  deployer_address?: string | null | undefined;
946
1145
  rpc_endpoint?: string | null | undefined;
947
1146
  encrypted_env_pubkey?: string | null | undefined;
1147
+ k256_pubkey?: string | null | undefined;
948
1148
  }, {
949
1149
  chain_id?: number | null | undefined;
950
1150
  dstack_kms_address?: string | null | undefined;
@@ -952,6 +1152,7 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
952
1152
  deployer_address?: string | null | undefined;
953
1153
  rpc_endpoint?: string | null | undefined;
954
1154
  encrypted_env_pubkey?: string | null | undefined;
1155
+ k256_pubkey?: string | null | undefined;
955
1156
  }>>>>;
956
1157
  status: z.ZodString;
957
1158
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -985,6 +1186,7 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
985
1186
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
986
1187
  secure_time: z.ZodOptional<z.ZodBoolean>;
987
1188
  managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1189
+ enabled_ssh_access: z.ZodOptional<z.ZodBoolean>;
988
1190
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
989
1191
  storage_fs: z.ZodOptional<z.ZodString>;
990
1192
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1031,3 +1233,4 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
1031
1233
  }, z.core.$strip>>;
1032
1234
  }, z.core.$strip>;
1033
1235
  export type PaginatedCvmInfosV20260522 = z.infer<typeof PaginatedCvmInfosV20260522Schema>;
1236
+ export {};
@@ -5,44 +5,44 @@
5
5
  * corresponding response types, enabling TypeScript to infer the correct
6
6
  * types based on the client's API version.
7
7
  */
8
- import type { CurrentUserV20260121 } from "../credentials/current_user_v20260121";
9
- import type { CurrentUserV20251028 } from "../credentials/current_user_v20251028";
10
8
  import type { AppCvmsBatchIsAllowedResponseV20260121, AppCvmsBatchIsAllowedResponseV20260522 } from "../actions/apps/check_app_cvms_is_allowed";
11
9
  import type { DeviceAllowlistResponseV20260121, DeviceAllowlistResponseV20260522 } from "../actions/apps/get_app_device_allowlist";
12
10
  import type { IsAllowedResultV20260121, IsAllowedResultV20260522 } from "../actions/cvms/check_cvm_is_allowed";
11
+ import type { CommitCvmProvisionV20260121, CommitCvmProvisionV20260522 } from "../actions/cvms/commit_cvm_provision";
13
12
  import type { InstanceIdRefreshResultV20260121, InstanceIdRefreshResultV20260522 } from "../actions/cvms/refresh_cvm_instance_id";
14
13
  import type { RefreshCvmInstanceIdsResponseV20260121, RefreshCvmInstanceIdsResponseV20260522 } from "../actions/cvms/refresh_cvm_instance_ids";
15
- import type { CommitCvmProvisionV20260121, CommitCvmProvisionV20260522 } from "../actions/cvms/commit_cvm_provision";
14
+ import type { CurrentUserV20251028 } from "../credentials/current_user_v20251028";
15
+ import type { CurrentUserV20260121 } from "../credentials/current_user_v20260121";
16
16
  import type { DstackAppListResponseV20251028, DstackAppWithCvmResponseV20251028 } from "./app_info_v20251028";
17
17
  import type { DstackAppListResponseV20260121, DstackAppListResponseV20260522, DstackAppWithCvmResponseV20260121, DstackAppWithCvmResponseV20260522 } from "./app_info_v20260121";
18
18
  import type { ApiVersion } from "./client";
19
- import type { CvmDetailV20251028, CvmInfoV20251028, PaginatedCvmInfosV20251028 } from "./cvm_info_v20251028";
20
19
  import type { VMForVersion } from "./cvm_info";
21
- import type { CvmInfoDetailV20260121, CvmInfoDetailV20260522, CvmInfoV20260121, CvmInfoV20260522, PaginatedCvmInfosV20260121, PaginatedCvmInfosV20260522 } from "./cvm_info_v20260121";
20
+ import type { CvmDetailV20251028, CvmInfoV20251028, PaginatedCvmInfosV20251028 } from "./cvm_info_v20251028";
21
+ import type { CvmInfoDetailV20260121, CvmInfoDetailV20260522, CvmInfoDetailV20261111, CvmInfoV20260121, CvmInfoV20260522, PaginatedCvmInfosV20260121, PaginatedCvmInfosV20260522 } from "./cvm_info_v20260121";
22
22
  /**
23
23
  * Maps API version to the auth/me response type
24
24
  */
25
- export type GetCurrentUserResponse<V extends ApiVersion> = V extends "2026-05-22" | "2026-06-23" ? CurrentUserV20260121 : V extends "2026-01-21" ? CurrentUserV20260121 : V extends "2025-10-28" ? CurrentUserV20251028 : CurrentUserV20260121;
25
+ export type GetCurrentUserResponse<V extends ApiVersion> = V extends "2026-05-22" | "2026-06-23" | "2026-11-11" ? CurrentUserV20260121 : V extends "2026-01-21" ? CurrentUserV20260121 : V extends "2025-10-28" ? CurrentUserV20251028 : CurrentUserV20260121;
26
26
  /**
27
27
  * Maps API version to the paginated CVM list response type
28
28
  */
29
- export type GetCvmListResponse<V extends ApiVersion> = V extends "2026-05-22" | "2026-06-23" ? PaginatedCvmInfosV20260522 : V extends "2026-01-21" ? PaginatedCvmInfosV20260121 : V extends "2025-10-28" ? PaginatedCvmInfosV20251028 : PaginatedCvmInfosV20260121;
29
+ export type GetCvmListResponse<V extends ApiVersion> = V extends "2026-05-22" | "2026-06-23" | "2026-11-11" ? PaginatedCvmInfosV20260522 : V extends "2026-01-21" ? PaginatedCvmInfosV20260121 : V extends "2025-10-28" ? PaginatedCvmInfosV20251028 : PaginatedCvmInfosV20260121;
30
30
  /**
31
31
  * Maps API version to the CVM info detail response type
32
32
  */
33
- export type GetCvmInfoResponse<V extends ApiVersion> = V extends "2026-05-22" | "2026-06-23" ? CvmInfoDetailV20260522 : V extends "2026-01-21" ? CvmInfoDetailV20260121 : V extends "2025-10-28" ? CvmDetailV20251028 : CvmInfoDetailV20260121;
33
+ export type GetCvmInfoResponse<V extends ApiVersion> = V extends "2026-11-11" ? CvmInfoDetailV20261111 : V extends "2026-05-22" | "2026-06-23" ? CvmInfoDetailV20260522 : V extends "2026-01-21" ? CvmInfoDetailV20260121 : V extends "2025-10-28" ? CvmDetailV20251028 : CvmInfoDetailV20260121;
34
34
  /**
35
35
  * Maps API version to the app list response type
36
36
  */
37
- export type GetAppListResponse<V extends ApiVersion> = V extends "2026-05-22" | "2026-06-23" ? DstackAppListResponseV20260522 : V extends "2026-01-21" ? DstackAppListResponseV20260121 : V extends "2025-10-28" ? DstackAppListResponseV20251028 : DstackAppListResponseV20260121;
37
+ export type GetAppListResponse<V extends ApiVersion> = V extends "2026-05-22" | "2026-06-23" | "2026-11-11" ? DstackAppListResponseV20260522 : V extends "2026-01-21" ? DstackAppListResponseV20260121 : V extends "2025-10-28" ? DstackAppListResponseV20251028 : DstackAppListResponseV20260121;
38
38
  /**
39
39
  * Maps API version to the app info response type
40
40
  */
41
- export type GetAppInfoResponse<V extends ApiVersion> = V extends "2026-05-22" | "2026-06-23" ? DstackAppWithCvmResponseV20260522 : V extends "2026-01-21" ? DstackAppWithCvmResponseV20260121 : V extends "2025-10-28" ? DstackAppWithCvmResponseV20251028 : DstackAppWithCvmResponseV20260121;
41
+ export type GetAppInfoResponse<V extends ApiVersion> = V extends "2026-05-22" | "2026-06-23" | "2026-11-11" ? DstackAppWithCvmResponseV20260522 : V extends "2026-01-21" ? DstackAppWithCvmResponseV20260121 : V extends "2025-10-28" ? DstackAppWithCvmResponseV20251028 : DstackAppWithCvmResponseV20260121;
42
42
  /**
43
43
  * Maps API version to the app CVMs list response type
44
44
  */
45
- export type GetAppCvmsResponse<V extends ApiVersion> = V extends "2026-05-22" | "2026-06-23" ? CvmInfoV20260522[] : V extends "2026-01-21" ? CvmInfoV20260121[] : V extends "2025-10-28" ? CvmInfoV20251028[] : CvmInfoV20260121[];
45
+ export type GetAppCvmsResponse<V extends ApiVersion> = V extends "2026-05-22" | "2026-06-23" | "2026-11-11" ? CvmInfoV20260522[] : V extends "2026-01-21" ? CvmInfoV20260121[] : V extends "2025-10-28" ? CvmInfoV20251028[] : CvmInfoV20260121[];
46
46
  /**
47
47
  * Maps API version to the CVM lifecycle action response type (start/stop/restart/shutdown/replicate)
48
48
  */