@phala/cloud 0.2.9 → 0.2.10

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 (39) hide show
  1. package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +315 -5
  2. package/dist/actions/apps/check_app_is_allowed.d.ts +2 -2
  3. package/dist/actions/apps/create_app_instance.d.ts +13 -4
  4. package/dist/actions/apps/get_app_attestation.d.ts +50 -0
  5. package/dist/actions/apps/get_app_device_allowlist.d.ts +274 -5
  6. package/dist/actions/apps/get_app_filter_options.d.ts +2 -2
  7. package/dist/actions/cvms/check_cvm_is_allowed.d.ts +133 -3
  8. package/dist/actions/cvms/commit_cvm_provision.d.ts +425 -148
  9. package/dist/actions/cvms/get_cvm_compose_file.d.ts +328 -0
  10. package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +93 -0
  11. package/dist/actions/cvms/provision_cvm.d.ts +243 -225
  12. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +216 -0
  13. package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +123 -5
  14. package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +236 -7
  15. package/dist/actions/cvms/replicate_cvm.d.ts +4 -4
  16. package/dist/actions/cvms/restart_cvm.d.ts +4 -4
  17. package/dist/actions/cvms/shutdown_cvm.d.ts +4 -4
  18. package/dist/actions/cvms/start_cvm.d.ts +4 -4
  19. package/dist/actions/cvms/stop_cvm.d.ts +4 -4
  20. package/dist/actions/cvms/update_cvm_visibility.d.ts +2 -2
  21. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +319 -0
  22. package/dist/actions/get_cvm_create_resources.d.ts +2412 -0
  23. package/dist/actions/index.d.ts +3 -0
  24. package/dist/actions/workspaces/get_workspace.d.ts +2 -0
  25. package/dist/actions/workspaces/list_workspaces.d.ts +18 -0
  26. package/dist/client.d.ts +5 -2
  27. package/dist/create-client.d.ts +48 -0
  28. package/dist/index.js +1634 -1218
  29. package/dist/index.mjs +1602 -1216
  30. package/dist/types/app_compose.d.ts +125 -0
  31. package/dist/types/app_info_v20251028.d.ts +8 -131
  32. package/dist/types/app_info_v20260121.d.ts +4500 -168
  33. package/dist/types/client.d.ts +2 -2
  34. package/dist/types/cvm_info.d.ts +533 -7
  35. package/dist/types/cvm_info_v20251028.d.ts +18 -18
  36. package/dist/types/cvm_info_v20260121.d.ts +1640 -89
  37. package/dist/types/version-mappings.d.ts +8 -8
  38. package/dist/utils/errors.d.ts +8 -1
  39. package/package.json +2 -2
@@ -145,6 +145,23 @@ export declare const CvmGatewayInfoV20260121Schema: z.ZodObject<{
145
145
  cname?: string | null | undefined;
146
146
  }>;
147
147
  export type CvmGatewayInfoV20260121 = z.infer<typeof CvmGatewayInfoV20260121Schema>;
148
+ export declare const CvmLogUrlsV20260121Schema: z.ZodObject<{
149
+ serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
+ container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ serial?: string | null | undefined;
155
+ stdout?: string | null | undefined;
156
+ stderr?: string | null | undefined;
157
+ container_log_base?: string | null | undefined;
158
+ }, {
159
+ serial?: string | null | undefined;
160
+ stdout?: string | null | undefined;
161
+ stderr?: string | null | undefined;
162
+ container_log_base?: string | null | undefined;
163
+ }>;
164
+ export type CvmLogUrlsV20260121 = z.infer<typeof CvmLogUrlsV20260121Schema>;
148
165
  export declare const NodeRefSchema: z.ZodObject<{
149
166
  object_type: z.ZodLiteral<"node">;
150
167
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -316,6 +333,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
316
333
  rpc_endpoint?: string | null | undefined;
317
334
  }>>>;
318
335
  status: z.ZodString;
336
+ in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
319
337
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
320
338
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
321
339
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -330,6 +348,8 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
330
348
  correlation_id?: string | null | undefined;
331
349
  }>>>;
332
350
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
351
+ docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
352
+ pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
333
353
  gateway: z.ZodObject<{
334
354
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
335
355
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -340,6 +360,22 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
340
360
  base_domain?: string | null | undefined;
341
361
  cname?: string | null | undefined;
342
362
  }>;
363
+ logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
364
+ serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
365
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
366
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
367
+ container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
368
+ }, "strip", z.ZodTypeAny, {
369
+ serial?: string | null | undefined;
370
+ stdout?: string | null | undefined;
371
+ stderr?: string | null | undefined;
372
+ container_log_base?: string | null | undefined;
373
+ }, {
374
+ serial?: string | null | undefined;
375
+ stdout?: string | null | undefined;
376
+ stderr?: string | null | undefined;
377
+ container_log_base?: string | null | undefined;
378
+ }>>>;
343
379
  services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
344
380
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
345
381
  app: z.ZodString;
@@ -393,11 +429,15 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
393
429
  id?: string | null | undefined;
394
430
  avatar_url?: string | null | undefined;
395
431
  }>>>;
432
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
433
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
434
+ project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
396
435
  }, "strip", z.ZodTypeAny, {
397
436
  status: string;
398
437
  name: string;
399
438
  id: string;
400
439
  listed: boolean;
440
+ in_progress: boolean;
401
441
  resource: {
402
442
  vcpu?: number | null | undefined;
403
443
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -411,6 +451,12 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
411
451
  base_domain?: string | null | undefined;
412
452
  cname?: string | null | undefined;
413
453
  };
454
+ logs: {
455
+ serial?: string | null | undefined;
456
+ stdout?: string | null | undefined;
457
+ stderr?: string | null | undefined;
458
+ container_log_base?: string | null | undefined;
459
+ };
414
460
  services: Record<string, any>[];
415
461
  workspace?: {
416
462
  name: string;
@@ -421,6 +467,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
421
467
  } | null | undefined;
422
468
  app_id?: string | null | undefined;
423
469
  instance_id?: string | null | undefined;
470
+ project_type?: string | null | undefined;
424
471
  kms_info?: {
425
472
  chain_id?: number | null | undefined;
426
473
  encrypted_env_pubkey?: string | null | undefined;
@@ -433,6 +480,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
433
480
  public_sysinfo?: boolean | undefined;
434
481
  public_logs?: boolean | undefined;
435
482
  kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
483
+ created_at?: string | null | undefined;
436
484
  node_info?: {
437
485
  object_type: "node";
438
486
  status?: string | null | undefined;
@@ -455,6 +503,8 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
455
503
  correlation_id?: string | null | undefined;
456
504
  } | null | undefined;
457
505
  compose_hash?: string | null | undefined;
506
+ docker_compose_hash?: string | null | undefined;
507
+ pre_launch_script_hash?: string | null | undefined;
458
508
  endpoints?: {
459
509
  app: string;
460
510
  instance: string;
@@ -469,6 +519,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
469
519
  id?: string | null | undefined;
470
520
  avatar_url?: string | null | undefined;
471
521
  } | null | undefined;
522
+ deleted_at?: string | null | undefined;
472
523
  }, {
473
524
  status: string;
474
525
  name: string;
@@ -496,6 +547,8 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
496
547
  app_id?: string | null | undefined;
497
548
  instance_id?: string | null | undefined;
498
549
  listed?: boolean | undefined;
550
+ in_progress?: boolean | undefined;
551
+ project_type?: string | null | undefined;
499
552
  kms_info?: {
500
553
  chain_id?: number | null | undefined;
501
554
  encrypted_env_pubkey?: string | null | undefined;
@@ -508,6 +561,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
508
561
  public_sysinfo?: boolean | undefined;
509
562
  public_logs?: boolean | undefined;
510
563
  kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
564
+ created_at?: string | null | undefined;
511
565
  node_info?: {
512
566
  object_type: "node";
513
567
  status?: string | null | undefined;
@@ -530,6 +584,14 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
530
584
  correlation_id?: string | null | undefined;
531
585
  } | null | undefined;
532
586
  compose_hash?: string | null | undefined;
587
+ docker_compose_hash?: string | null | undefined;
588
+ pre_launch_script_hash?: string | null | undefined;
589
+ logs?: {
590
+ serial?: string | null | undefined;
591
+ stdout?: string | null | undefined;
592
+ stderr?: string | null | undefined;
593
+ container_log_base?: string | null | undefined;
594
+ } | undefined;
533
595
  services?: Record<string, any>[] | undefined;
534
596
  endpoints?: {
535
597
  app: string;
@@ -545,10 +607,10 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
545
607
  id?: string | null | undefined;
546
608
  avatar_url?: string | null | undefined;
547
609
  } | null | undefined;
610
+ deleted_at?: string | null | undefined;
548
611
  }>;
549
612
  export type CvmInfoV20260121 = z.infer<typeof CvmInfoV20260121Schema>;
550
- export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
551
- id: z.ZodString;
613
+ export declare const CvmInfoV20260522Schema: z.ZodObject<{
552
614
  name: z.ZodString;
553
615
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
554
616
  vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -660,6 +722,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
660
722
  rpc_endpoint?: string | null | undefined;
661
723
  }>>>;
662
724
  status: z.ZodString;
725
+ in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
663
726
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
664
727
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
665
728
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -674,6 +737,8 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
674
737
  correlation_id?: string | null | undefined;
675
738
  }>>>;
676
739
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
740
+ docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
741
+ pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
677
742
  gateway: z.ZodObject<{
678
743
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
679
744
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -684,6 +749,22 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
684
749
  base_domain?: string | null | undefined;
685
750
  cname?: string | null | undefined;
686
751
  }>;
752
+ logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
753
+ serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
754
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
755
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
756
+ container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
757
+ }, "strip", z.ZodTypeAny, {
758
+ serial?: string | null | undefined;
759
+ stdout?: string | null | undefined;
760
+ stderr?: string | null | undefined;
761
+ container_log_base?: string | null | undefined;
762
+ }, {
763
+ serial?: string | null | undefined;
764
+ stdout?: string | null | undefined;
765
+ stderr?: string | null | undefined;
766
+ container_log_base?: string | null | undefined;
767
+ }>>>;
687
768
  services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
688
769
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
689
770
  app: z.ZodString;
@@ -737,13 +818,17 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
737
818
  id?: string | null | undefined;
738
819
  avatar_url?: string | null | undefined;
739
820
  }>>>;
821
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
822
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
823
+ project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
740
824
  } & {
741
- compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
825
+ id: z.ZodString;
742
826
  }, "strip", z.ZodTypeAny, {
743
827
  status: string;
744
828
  name: string;
745
829
  id: string;
746
830
  listed: boolean;
831
+ in_progress: boolean;
747
832
  resource: {
748
833
  vcpu?: number | null | undefined;
749
834
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -757,6 +842,12 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
757
842
  base_domain?: string | null | undefined;
758
843
  cname?: string | null | undefined;
759
844
  };
845
+ logs: {
846
+ serial?: string | null | undefined;
847
+ stdout?: string | null | undefined;
848
+ stderr?: string | null | undefined;
849
+ container_log_base?: string | null | undefined;
850
+ };
760
851
  services: Record<string, any>[];
761
852
  workspace?: {
762
853
  name: string;
@@ -767,6 +858,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
767
858
  } | null | undefined;
768
859
  app_id?: string | null | undefined;
769
860
  instance_id?: string | null | undefined;
861
+ project_type?: string | null | undefined;
770
862
  kms_info?: {
771
863
  chain_id?: number | null | undefined;
772
864
  encrypted_env_pubkey?: string | null | undefined;
@@ -779,6 +871,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
779
871
  public_sysinfo?: boolean | undefined;
780
872
  public_logs?: boolean | undefined;
781
873
  kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
874
+ created_at?: string | null | undefined;
782
875
  node_info?: {
783
876
  object_type: "node";
784
877
  status?: string | null | undefined;
@@ -801,6 +894,8 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
801
894
  correlation_id?: string | null | undefined;
802
895
  } | null | undefined;
803
896
  compose_hash?: string | null | undefined;
897
+ docker_compose_hash?: string | null | undefined;
898
+ pre_launch_script_hash?: string | null | undefined;
804
899
  endpoints?: {
805
900
  app: string;
806
901
  instance: string;
@@ -815,7 +910,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
815
910
  id?: string | null | undefined;
816
911
  avatar_url?: string | null | undefined;
817
912
  } | null | undefined;
818
- compose_file?: string | Record<string, any> | null | undefined;
913
+ deleted_at?: string | null | undefined;
819
914
  }, {
820
915
  status: string;
821
916
  name: string;
@@ -843,6 +938,8 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
843
938
  app_id?: string | null | undefined;
844
939
  instance_id?: string | null | undefined;
845
940
  listed?: boolean | undefined;
941
+ in_progress?: boolean | undefined;
942
+ project_type?: string | null | undefined;
846
943
  kms_info?: {
847
944
  chain_id?: number | null | undefined;
848
945
  encrypted_env_pubkey?: string | null | undefined;
@@ -855,6 +952,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
855
952
  public_sysinfo?: boolean | undefined;
856
953
  public_logs?: boolean | undefined;
857
954
  kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
955
+ created_at?: string | null | undefined;
858
956
  node_info?: {
859
957
  object_type: "node";
860
958
  status?: string | null | undefined;
@@ -877,6 +975,14 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
877
975
  correlation_id?: string | null | undefined;
878
976
  } | null | undefined;
879
977
  compose_hash?: string | null | undefined;
978
+ docker_compose_hash?: string | null | undefined;
979
+ pre_launch_script_hash?: string | null | undefined;
980
+ logs?: {
981
+ serial?: string | null | undefined;
982
+ stdout?: string | null | undefined;
983
+ stderr?: string | null | undefined;
984
+ container_log_base?: string | null | undefined;
985
+ } | undefined;
880
986
  services?: Record<string, any>[] | undefined;
881
987
  endpoints?: {
882
988
  app: string;
@@ -892,89 +998,1466 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
892
998
  id?: string | null | undefined;
893
999
  avatar_url?: string | null | undefined;
894
1000
  } | null | undefined;
895
- compose_file?: string | Record<string, any> | null | undefined;
1001
+ deleted_at?: string | null | undefined;
896
1002
  }>;
897
- export type CvmInfoDetailV20260121 = z.infer<typeof CvmInfoDetailV20260121Schema>;
898
- export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
899
- items: z.ZodArray<z.ZodObject<{
1003
+ export type CvmInfoV20260522 = z.infer<typeof CvmInfoV20260522Schema>;
1004
+ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1005
+ id: z.ZodString;
1006
+ name: z.ZodString;
1007
+ app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1008
+ vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1009
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1010
+ resource: z.ZodObject<{
1011
+ instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1012
+ vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1013
+ memory_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1014
+ disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1015
+ gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1016
+ compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1017
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ vcpu?: number | null | undefined;
1020
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1021
+ instance_type?: string | null | undefined;
1022
+ memory_in_gb?: number | null | undefined;
1023
+ disk_in_gb?: number | null | undefined;
1024
+ gpus?: number | null | undefined;
1025
+ compute_billing_price?: string | null | undefined;
1026
+ }, {
1027
+ vcpu?: number | null | undefined;
1028
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1029
+ instance_type?: string | null | undefined;
1030
+ memory_in_gb?: number | null | undefined;
1031
+ disk_in_gb?: number | null | undefined;
1032
+ gpus?: number | null | undefined;
1033
+ compute_billing_price?: string | null | undefined;
1034
+ }>;
1035
+ node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1036
+ object_type: z.ZodLiteral<"node">;
1037
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1038
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1039
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1040
+ device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1041
+ ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1042
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1043
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1044
+ }, "strip", z.ZodTypeAny, {
1045
+ object_type: "node";
1046
+ status?: string | null | undefined;
1047
+ name?: string | null | undefined;
1048
+ version?: string | null | undefined;
1049
+ id?: number | null | undefined;
1050
+ region?: string | null | undefined;
1051
+ device_id?: string | null | undefined;
1052
+ ppid?: string | null | undefined;
1053
+ }, {
1054
+ object_type: "node";
1055
+ status?: string | null | undefined;
1056
+ name?: string | null | undefined;
1057
+ version?: string | null | undefined;
1058
+ id?: number | null | undefined;
1059
+ region?: string | null | undefined;
1060
+ device_id?: string | null | undefined;
1061
+ ppid?: string | null | undefined;
1062
+ }>>>;
1063
+ os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1064
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1065
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1066
+ is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1067
+ os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1068
+ }, "strip", z.ZodTypeAny, {
1069
+ name?: string | null | undefined;
1070
+ version?: string | null | undefined;
1071
+ is_dev?: boolean | null | undefined;
1072
+ os_image_hash?: string | null | undefined;
1073
+ }, {
1074
+ name?: string | null | undefined;
1075
+ version?: string | null | undefined;
1076
+ is_dev?: boolean | null | undefined;
1077
+ os_image_hash?: string | null | undefined;
1078
+ }>>>;
1079
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
1080
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1081
+ chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1082
+ dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1083
+ dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1084
+ deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1085
+ rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1086
+ encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1087
+ }, "strip", z.ZodTypeAny, {
1088
+ chain_id?: number | null | undefined;
1089
+ encrypted_env_pubkey?: string | null | undefined;
1090
+ deployer_address?: string | null | undefined;
1091
+ dstack_kms_address?: string | null | undefined;
1092
+ dstack_app_address?: string | null | undefined;
1093
+ rpc_endpoint?: string | null | undefined;
1094
+ }, {
1095
+ chain_id?: number | null | undefined;
1096
+ encrypted_env_pubkey?: string | null | undefined;
1097
+ deployer_address?: string | null | undefined;
1098
+ dstack_kms_address?: string | null | undefined;
1099
+ dstack_app_address?: string | null | undefined;
1100
+ rpc_endpoint?: string | null | undefined;
1101
+ }>, {
1102
+ chain_id?: number | null | undefined;
1103
+ encrypted_env_pubkey?: string | null | undefined;
1104
+ deployer_address?: string | null | undefined;
1105
+ dstack_kms_address?: string | null | undefined;
1106
+ dstack_app_address?: string | null | undefined;
1107
+ rpc_endpoint?: string | null | undefined;
1108
+ }, {
1109
+ chain_id?: number | null | undefined;
1110
+ encrypted_env_pubkey?: string | null | undefined;
1111
+ deployer_address?: string | null | undefined;
1112
+ dstack_kms_address?: string | null | undefined;
1113
+ dstack_app_address?: string | null | undefined;
1114
+ rpc_endpoint?: string | null | undefined;
1115
+ }>>>;
1116
+ status: z.ZodString;
1117
+ in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1118
+ progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1119
+ target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1120
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1121
+ correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1122
+ }, "strip", z.ZodTypeAny, {
1123
+ target?: string | null | undefined;
1124
+ started_at?: string | null | undefined;
1125
+ correlation_id?: string | null | undefined;
1126
+ }, {
1127
+ target?: string | null | undefined;
1128
+ started_at?: string | null | undefined;
1129
+ correlation_id?: string | null | undefined;
1130
+ }>>>;
1131
+ compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1132
+ docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1133
+ pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1134
+ gateway: z.ZodObject<{
1135
+ base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1136
+ cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1137
+ }, "strip", z.ZodTypeAny, {
1138
+ base_domain?: string | null | undefined;
1139
+ cname?: string | null | undefined;
1140
+ }, {
1141
+ base_domain?: string | null | undefined;
1142
+ cname?: string | null | undefined;
1143
+ }>;
1144
+ logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1145
+ serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1146
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1147
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1148
+ container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1149
+ }, "strip", z.ZodTypeAny, {
1150
+ serial?: string | null | undefined;
1151
+ stdout?: string | null | undefined;
1152
+ stderr?: string | null | undefined;
1153
+ container_log_base?: string | null | undefined;
1154
+ }, {
1155
+ serial?: string | null | undefined;
1156
+ stdout?: string | null | undefined;
1157
+ stderr?: string | null | undefined;
1158
+ container_log_base?: string | null | undefined;
1159
+ }>>>;
1160
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
1161
+ endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1162
+ app: z.ZodString;
1163
+ instance: z.ZodString;
1164
+ }, "strip", z.ZodTypeAny, {
1165
+ app: string;
1166
+ instance: string;
1167
+ }, {
1168
+ app: string;
1169
+ instance: string;
1170
+ }>, "many">>>;
1171
+ public_logs: z.ZodOptional<z.ZodBoolean>;
1172
+ public_sysinfo: z.ZodOptional<z.ZodBoolean>;
1173
+ public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
1174
+ gateway_enabled: z.ZodOptional<z.ZodBoolean>;
1175
+ secure_time: z.ZodOptional<z.ZodBoolean>;
1176
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1177
+ storage_fs: z.ZodOptional<z.ZodString>;
1178
+ workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1179
+ object_type: z.ZodLiteral<"workspace">;
900
1180
  id: z.ZodString;
901
1181
  name: z.ZodString;
902
- app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
903
- vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
904
- instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
905
- resource: z.ZodObject<{
906
- instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
907
- vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
908
- memory_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
909
- disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
910
- gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
911
- compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
912
- billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
913
- }, "strip", z.ZodTypeAny, {
914
- vcpu?: number | null | undefined;
915
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
916
- instance_type?: string | null | undefined;
917
- memory_in_gb?: number | null | undefined;
918
- disk_in_gb?: number | null | undefined;
919
- gpus?: number | null | undefined;
920
- compute_billing_price?: string | null | undefined;
921
- }, {
922
- vcpu?: number | null | undefined;
923
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
924
- instance_type?: string | null | undefined;
925
- memory_in_gb?: number | null | undefined;
926
- disk_in_gb?: number | null | undefined;
927
- gpus?: number | null | undefined;
928
- compute_billing_price?: string | null | undefined;
929
- }>;
930
- node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
931
- object_type: z.ZodLiteral<"node">;
932
- id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
933
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
934
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
935
- device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
936
- ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
937
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
938
- version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
939
- }, "strip", z.ZodTypeAny, {
940
- object_type: "node";
941
- status?: string | null | undefined;
942
- name?: string | null | undefined;
943
- version?: string | null | undefined;
944
- id?: number | null | undefined;
945
- region?: string | null | undefined;
946
- device_id?: string | null | undefined;
947
- ppid?: string | null | undefined;
948
- }, {
949
- object_type: "node";
950
- status?: string | null | undefined;
951
- name?: string | null | undefined;
952
- version?: string | null | undefined;
953
- id?: number | null | undefined;
954
- region?: string | null | undefined;
955
- device_id?: string | null | undefined;
956
- ppid?: string | null | undefined;
957
- }>>>;
958
- os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
959
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
960
- version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
961
- is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
962
- os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
963
- }, "strip", z.ZodTypeAny, {
964
- name?: string | null | undefined;
965
- version?: string | null | undefined;
966
- is_dev?: boolean | null | undefined;
967
- os_image_hash?: string | null | undefined;
968
- }, {
969
- name?: string | null | undefined;
970
- version?: string | null | undefined;
971
- is_dev?: boolean | null | undefined;
972
- os_image_hash?: string | null | undefined;
973
- }>>>;
974
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
975
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
976
- chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
977
- dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1182
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1183
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1184
+ }, "strip", z.ZodTypeAny, {
1185
+ name: string;
1186
+ id: string;
1187
+ object_type: "workspace";
1188
+ slug?: string | null | undefined;
1189
+ avatar_url?: string | null | undefined;
1190
+ }, {
1191
+ name: string;
1192
+ id: string;
1193
+ object_type: "workspace";
1194
+ slug?: string | null | undefined;
1195
+ avatar_url?: string | null | undefined;
1196
+ }>>>;
1197
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1198
+ object_type: z.ZodLiteral<"user">;
1199
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1200
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1201
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1202
+ }, "strip", z.ZodTypeAny, {
1203
+ object_type: "user";
1204
+ username?: string | null | undefined;
1205
+ id?: string | null | undefined;
1206
+ avatar_url?: string | null | undefined;
1207
+ }, {
1208
+ object_type: "user";
1209
+ username?: string | null | undefined;
1210
+ id?: string | null | undefined;
1211
+ avatar_url?: string | null | undefined;
1212
+ }>>>;
1213
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1214
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1215
+ project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1216
+ } & {
1217
+ compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
1218
+ }, "strip", z.ZodTypeAny, {
1219
+ status: string;
1220
+ name: string;
1221
+ id: string;
1222
+ listed: boolean;
1223
+ in_progress: boolean;
1224
+ resource: {
1225
+ vcpu?: number | null | undefined;
1226
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1227
+ instance_type?: string | null | undefined;
1228
+ memory_in_gb?: number | null | undefined;
1229
+ disk_in_gb?: number | null | undefined;
1230
+ gpus?: number | null | undefined;
1231
+ compute_billing_price?: string | null | undefined;
1232
+ };
1233
+ gateway: {
1234
+ base_domain?: string | null | undefined;
1235
+ cname?: string | null | undefined;
1236
+ };
1237
+ logs: {
1238
+ serial?: string | null | undefined;
1239
+ stdout?: string | null | undefined;
1240
+ stderr?: string | null | undefined;
1241
+ container_log_base?: string | null | undefined;
1242
+ };
1243
+ services: Record<string, any>[];
1244
+ workspace?: {
1245
+ name: string;
1246
+ id: string;
1247
+ object_type: "workspace";
1248
+ slug?: string | null | undefined;
1249
+ avatar_url?: string | null | undefined;
1250
+ } | null | undefined;
1251
+ app_id?: string | null | undefined;
1252
+ instance_id?: string | null | undefined;
1253
+ project_type?: string | null | undefined;
1254
+ kms_info?: {
1255
+ chain_id?: number | null | undefined;
1256
+ encrypted_env_pubkey?: string | null | undefined;
1257
+ deployer_address?: string | null | undefined;
1258
+ dstack_kms_address?: string | null | undefined;
1259
+ dstack_app_address?: string | null | undefined;
1260
+ rpc_endpoint?: string | null | undefined;
1261
+ } | null | undefined;
1262
+ vm_uuid?: string | null | undefined;
1263
+ public_sysinfo?: boolean | undefined;
1264
+ public_logs?: boolean | undefined;
1265
+ kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
1266
+ created_at?: string | null | undefined;
1267
+ node_info?: {
1268
+ object_type: "node";
1269
+ status?: string | null | undefined;
1270
+ name?: string | null | undefined;
1271
+ version?: string | null | undefined;
1272
+ id?: number | null | undefined;
1273
+ region?: string | null | undefined;
1274
+ device_id?: string | null | undefined;
1275
+ ppid?: string | null | undefined;
1276
+ } | null | undefined;
1277
+ os?: {
1278
+ name?: string | null | undefined;
1279
+ version?: string | null | undefined;
1280
+ is_dev?: boolean | null | undefined;
1281
+ os_image_hash?: string | null | undefined;
1282
+ } | null | undefined;
1283
+ progress?: {
1284
+ target?: string | null | undefined;
1285
+ started_at?: string | null | undefined;
1286
+ correlation_id?: string | null | undefined;
1287
+ } | null | undefined;
1288
+ compose_hash?: string | null | undefined;
1289
+ docker_compose_hash?: string | null | undefined;
1290
+ pre_launch_script_hash?: string | null | undefined;
1291
+ endpoints?: {
1292
+ app: string;
1293
+ instance: string;
1294
+ }[] | null | undefined;
1295
+ public_tcbinfo?: boolean | undefined;
1296
+ gateway_enabled?: boolean | undefined;
1297
+ secure_time?: boolean | undefined;
1298
+ storage_fs?: string | undefined;
1299
+ creator?: {
1300
+ object_type: "user";
1301
+ username?: string | null | undefined;
1302
+ id?: string | null | undefined;
1303
+ avatar_url?: string | null | undefined;
1304
+ } | null | undefined;
1305
+ deleted_at?: string | null | undefined;
1306
+ compose_file?: string | Record<string, any> | null | undefined;
1307
+ }, {
1308
+ status: string;
1309
+ name: string;
1310
+ id: string;
1311
+ resource: {
1312
+ vcpu?: number | null | undefined;
1313
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1314
+ instance_type?: string | null | undefined;
1315
+ memory_in_gb?: number | null | undefined;
1316
+ disk_in_gb?: number | null | undefined;
1317
+ gpus?: number | null | undefined;
1318
+ compute_billing_price?: string | null | undefined;
1319
+ };
1320
+ gateway: {
1321
+ base_domain?: string | null | undefined;
1322
+ cname?: string | null | undefined;
1323
+ };
1324
+ workspace?: {
1325
+ name: string;
1326
+ id: string;
1327
+ object_type: "workspace";
1328
+ slug?: string | null | undefined;
1329
+ avatar_url?: string | null | undefined;
1330
+ } | null | undefined;
1331
+ app_id?: string | null | undefined;
1332
+ instance_id?: string | null | undefined;
1333
+ listed?: boolean | undefined;
1334
+ in_progress?: boolean | undefined;
1335
+ project_type?: string | null | undefined;
1336
+ kms_info?: {
1337
+ chain_id?: number | null | undefined;
1338
+ encrypted_env_pubkey?: string | null | undefined;
1339
+ deployer_address?: string | null | undefined;
1340
+ dstack_kms_address?: string | null | undefined;
1341
+ dstack_app_address?: string | null | undefined;
1342
+ rpc_endpoint?: string | null | undefined;
1343
+ } | null | undefined;
1344
+ vm_uuid?: string | null | undefined;
1345
+ public_sysinfo?: boolean | undefined;
1346
+ public_logs?: boolean | undefined;
1347
+ kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
1348
+ created_at?: string | null | undefined;
1349
+ node_info?: {
1350
+ object_type: "node";
1351
+ status?: string | null | undefined;
1352
+ name?: string | null | undefined;
1353
+ version?: string | null | undefined;
1354
+ id?: number | null | undefined;
1355
+ region?: string | null | undefined;
1356
+ device_id?: string | null | undefined;
1357
+ ppid?: string | null | undefined;
1358
+ } | null | undefined;
1359
+ os?: {
1360
+ name?: string | null | undefined;
1361
+ version?: string | null | undefined;
1362
+ is_dev?: boolean | null | undefined;
1363
+ os_image_hash?: string | null | undefined;
1364
+ } | null | undefined;
1365
+ progress?: {
1366
+ target?: string | null | undefined;
1367
+ started_at?: string | null | undefined;
1368
+ correlation_id?: string | null | undefined;
1369
+ } | null | undefined;
1370
+ compose_hash?: string | null | undefined;
1371
+ docker_compose_hash?: string | null | undefined;
1372
+ pre_launch_script_hash?: string | null | undefined;
1373
+ logs?: {
1374
+ serial?: string | null | undefined;
1375
+ stdout?: string | null | undefined;
1376
+ stderr?: string | null | undefined;
1377
+ container_log_base?: string | null | undefined;
1378
+ } | undefined;
1379
+ services?: Record<string, any>[] | undefined;
1380
+ endpoints?: {
1381
+ app: string;
1382
+ instance: string;
1383
+ }[] | null | undefined;
1384
+ public_tcbinfo?: boolean | undefined;
1385
+ gateway_enabled?: boolean | undefined;
1386
+ secure_time?: boolean | undefined;
1387
+ storage_fs?: string | undefined;
1388
+ creator?: {
1389
+ object_type: "user";
1390
+ username?: string | null | undefined;
1391
+ id?: string | null | undefined;
1392
+ avatar_url?: string | null | undefined;
1393
+ } | null | undefined;
1394
+ deleted_at?: string | null | undefined;
1395
+ compose_file?: string | Record<string, any> | null | undefined;
1396
+ }>;
1397
+ export type CvmInfoDetailV20260121 = z.infer<typeof CvmInfoDetailV20260121Schema>;
1398
+ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
1399
+ name: z.ZodString;
1400
+ app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1401
+ vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1402
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1403
+ resource: z.ZodObject<{
1404
+ instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1405
+ vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1406
+ memory_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1407
+ disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1408
+ gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1409
+ compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1410
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
1411
+ }, "strip", z.ZodTypeAny, {
1412
+ vcpu?: number | null | undefined;
1413
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1414
+ instance_type?: string | null | undefined;
1415
+ memory_in_gb?: number | null | undefined;
1416
+ disk_in_gb?: number | null | undefined;
1417
+ gpus?: number | null | undefined;
1418
+ compute_billing_price?: string | null | undefined;
1419
+ }, {
1420
+ vcpu?: number | null | undefined;
1421
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1422
+ instance_type?: string | null | undefined;
1423
+ memory_in_gb?: number | null | undefined;
1424
+ disk_in_gb?: number | null | undefined;
1425
+ gpus?: number | null | undefined;
1426
+ compute_billing_price?: string | null | undefined;
1427
+ }>;
1428
+ node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1429
+ object_type: z.ZodLiteral<"node">;
1430
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1431
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1432
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1433
+ device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1434
+ ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1435
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1436
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1437
+ }, "strip", z.ZodTypeAny, {
1438
+ object_type: "node";
1439
+ status?: string | null | undefined;
1440
+ name?: string | null | undefined;
1441
+ version?: string | null | undefined;
1442
+ id?: number | null | undefined;
1443
+ region?: string | null | undefined;
1444
+ device_id?: string | null | undefined;
1445
+ ppid?: string | null | undefined;
1446
+ }, {
1447
+ object_type: "node";
1448
+ status?: string | null | undefined;
1449
+ name?: string | null | undefined;
1450
+ version?: string | null | undefined;
1451
+ id?: number | null | undefined;
1452
+ region?: string | null | undefined;
1453
+ device_id?: string | null | undefined;
1454
+ ppid?: string | null | undefined;
1455
+ }>>>;
1456
+ os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1457
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1458
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1459
+ is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1460
+ os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1461
+ }, "strip", z.ZodTypeAny, {
1462
+ name?: string | null | undefined;
1463
+ version?: string | null | undefined;
1464
+ is_dev?: boolean | null | undefined;
1465
+ os_image_hash?: string | null | undefined;
1466
+ }, {
1467
+ name?: string | null | undefined;
1468
+ version?: string | null | undefined;
1469
+ is_dev?: boolean | null | undefined;
1470
+ os_image_hash?: string | null | undefined;
1471
+ }>>>;
1472
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
1473
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1474
+ chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1475
+ dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1476
+ dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1477
+ deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1478
+ rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1479
+ encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1480
+ }, "strip", z.ZodTypeAny, {
1481
+ chain_id?: number | null | undefined;
1482
+ encrypted_env_pubkey?: string | null | undefined;
1483
+ deployer_address?: string | null | undefined;
1484
+ dstack_kms_address?: string | null | undefined;
1485
+ dstack_app_address?: string | null | undefined;
1486
+ rpc_endpoint?: string | null | undefined;
1487
+ }, {
1488
+ chain_id?: number | null | undefined;
1489
+ encrypted_env_pubkey?: string | null | undefined;
1490
+ deployer_address?: string | null | undefined;
1491
+ dstack_kms_address?: string | null | undefined;
1492
+ dstack_app_address?: string | null | undefined;
1493
+ rpc_endpoint?: string | null | undefined;
1494
+ }>, {
1495
+ chain_id?: number | null | undefined;
1496
+ encrypted_env_pubkey?: string | null | undefined;
1497
+ deployer_address?: string | null | undefined;
1498
+ dstack_kms_address?: string | null | undefined;
1499
+ dstack_app_address?: string | null | undefined;
1500
+ rpc_endpoint?: string | null | undefined;
1501
+ }, {
1502
+ chain_id?: number | null | undefined;
1503
+ encrypted_env_pubkey?: string | null | undefined;
1504
+ deployer_address?: string | null | undefined;
1505
+ dstack_kms_address?: string | null | undefined;
1506
+ dstack_app_address?: string | null | undefined;
1507
+ rpc_endpoint?: string | null | undefined;
1508
+ }>>>;
1509
+ status: z.ZodString;
1510
+ in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1511
+ progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1512
+ target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1513
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1514
+ correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1515
+ }, "strip", z.ZodTypeAny, {
1516
+ target?: string | null | undefined;
1517
+ started_at?: string | null | undefined;
1518
+ correlation_id?: string | null | undefined;
1519
+ }, {
1520
+ target?: string | null | undefined;
1521
+ started_at?: string | null | undefined;
1522
+ correlation_id?: string | null | undefined;
1523
+ }>>>;
1524
+ compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1525
+ docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1526
+ pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1527
+ gateway: z.ZodObject<{
1528
+ base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1529
+ cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1530
+ }, "strip", z.ZodTypeAny, {
1531
+ base_domain?: string | null | undefined;
1532
+ cname?: string | null | undefined;
1533
+ }, {
1534
+ base_domain?: string | null | undefined;
1535
+ cname?: string | null | undefined;
1536
+ }>;
1537
+ logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1538
+ serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1539
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1540
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1541
+ container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1542
+ }, "strip", z.ZodTypeAny, {
1543
+ serial?: string | null | undefined;
1544
+ stdout?: string | null | undefined;
1545
+ stderr?: string | null | undefined;
1546
+ container_log_base?: string | null | undefined;
1547
+ }, {
1548
+ serial?: string | null | undefined;
1549
+ stdout?: string | null | undefined;
1550
+ stderr?: string | null | undefined;
1551
+ container_log_base?: string | null | undefined;
1552
+ }>>>;
1553
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
1554
+ endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1555
+ app: z.ZodString;
1556
+ instance: z.ZodString;
1557
+ }, "strip", z.ZodTypeAny, {
1558
+ app: string;
1559
+ instance: string;
1560
+ }, {
1561
+ app: string;
1562
+ instance: string;
1563
+ }>, "many">>>;
1564
+ public_logs: z.ZodOptional<z.ZodBoolean>;
1565
+ public_sysinfo: z.ZodOptional<z.ZodBoolean>;
1566
+ public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
1567
+ gateway_enabled: z.ZodOptional<z.ZodBoolean>;
1568
+ secure_time: z.ZodOptional<z.ZodBoolean>;
1569
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1570
+ storage_fs: z.ZodOptional<z.ZodString>;
1571
+ workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1572
+ object_type: z.ZodLiteral<"workspace">;
1573
+ id: z.ZodString;
1574
+ name: z.ZodString;
1575
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1576
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1577
+ }, "strip", z.ZodTypeAny, {
1578
+ name: string;
1579
+ id: string;
1580
+ object_type: "workspace";
1581
+ slug?: string | null | undefined;
1582
+ avatar_url?: string | null | undefined;
1583
+ }, {
1584
+ name: string;
1585
+ id: string;
1586
+ object_type: "workspace";
1587
+ slug?: string | null | undefined;
1588
+ avatar_url?: string | null | undefined;
1589
+ }>>>;
1590
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1591
+ object_type: z.ZodLiteral<"user">;
1592
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1593
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1594
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1595
+ }, "strip", z.ZodTypeAny, {
1596
+ object_type: "user";
1597
+ username?: string | null | undefined;
1598
+ id?: string | null | undefined;
1599
+ avatar_url?: string | null | undefined;
1600
+ }, {
1601
+ object_type: "user";
1602
+ username?: string | null | undefined;
1603
+ id?: string | null | undefined;
1604
+ avatar_url?: string | null | undefined;
1605
+ }>>>;
1606
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1607
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1608
+ project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1609
+ } & {
1610
+ id: z.ZodString;
1611
+ } & {
1612
+ compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
1613
+ }, "strip", z.ZodTypeAny, {
1614
+ status: string;
1615
+ name: string;
1616
+ id: string;
1617
+ listed: boolean;
1618
+ in_progress: boolean;
1619
+ resource: {
1620
+ vcpu?: number | null | undefined;
1621
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1622
+ instance_type?: string | null | undefined;
1623
+ memory_in_gb?: number | null | undefined;
1624
+ disk_in_gb?: number | null | undefined;
1625
+ gpus?: number | null | undefined;
1626
+ compute_billing_price?: string | null | undefined;
1627
+ };
1628
+ gateway: {
1629
+ base_domain?: string | null | undefined;
1630
+ cname?: string | null | undefined;
1631
+ };
1632
+ logs: {
1633
+ serial?: string | null | undefined;
1634
+ stdout?: string | null | undefined;
1635
+ stderr?: string | null | undefined;
1636
+ container_log_base?: string | null | undefined;
1637
+ };
1638
+ services: Record<string, any>[];
1639
+ workspace?: {
1640
+ name: string;
1641
+ id: string;
1642
+ object_type: "workspace";
1643
+ slug?: string | null | undefined;
1644
+ avatar_url?: string | null | undefined;
1645
+ } | null | undefined;
1646
+ app_id?: string | null | undefined;
1647
+ instance_id?: string | null | undefined;
1648
+ project_type?: string | null | undefined;
1649
+ kms_info?: {
1650
+ chain_id?: number | null | undefined;
1651
+ encrypted_env_pubkey?: string | null | undefined;
1652
+ deployer_address?: string | null | undefined;
1653
+ dstack_kms_address?: string | null | undefined;
1654
+ dstack_app_address?: string | null | undefined;
1655
+ rpc_endpoint?: string | null | undefined;
1656
+ } | null | undefined;
1657
+ vm_uuid?: string | null | undefined;
1658
+ public_sysinfo?: boolean | undefined;
1659
+ public_logs?: boolean | undefined;
1660
+ kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
1661
+ created_at?: string | null | undefined;
1662
+ node_info?: {
1663
+ object_type: "node";
1664
+ status?: string | null | undefined;
1665
+ name?: string | null | undefined;
1666
+ version?: string | null | undefined;
1667
+ id?: number | null | undefined;
1668
+ region?: string | null | undefined;
1669
+ device_id?: string | null | undefined;
1670
+ ppid?: string | null | undefined;
1671
+ } | null | undefined;
1672
+ os?: {
1673
+ name?: string | null | undefined;
1674
+ version?: string | null | undefined;
1675
+ is_dev?: boolean | null | undefined;
1676
+ os_image_hash?: string | null | undefined;
1677
+ } | null | undefined;
1678
+ progress?: {
1679
+ target?: string | null | undefined;
1680
+ started_at?: string | null | undefined;
1681
+ correlation_id?: string | null | undefined;
1682
+ } | null | undefined;
1683
+ compose_hash?: string | null | undefined;
1684
+ docker_compose_hash?: string | null | undefined;
1685
+ pre_launch_script_hash?: string | null | undefined;
1686
+ endpoints?: {
1687
+ app: string;
1688
+ instance: string;
1689
+ }[] | null | undefined;
1690
+ public_tcbinfo?: boolean | undefined;
1691
+ gateway_enabled?: boolean | undefined;
1692
+ secure_time?: boolean | undefined;
1693
+ storage_fs?: string | undefined;
1694
+ creator?: {
1695
+ object_type: "user";
1696
+ username?: string | null | undefined;
1697
+ id?: string | null | undefined;
1698
+ avatar_url?: string | null | undefined;
1699
+ } | null | undefined;
1700
+ deleted_at?: string | null | undefined;
1701
+ compose_file?: string | Record<string, any> | null | undefined;
1702
+ }, {
1703
+ status: string;
1704
+ name: string;
1705
+ id: string;
1706
+ resource: {
1707
+ vcpu?: number | null | undefined;
1708
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1709
+ instance_type?: string | null | undefined;
1710
+ memory_in_gb?: number | null | undefined;
1711
+ disk_in_gb?: number | null | undefined;
1712
+ gpus?: number | null | undefined;
1713
+ compute_billing_price?: string | null | undefined;
1714
+ };
1715
+ gateway: {
1716
+ base_domain?: string | null | undefined;
1717
+ cname?: string | null | undefined;
1718
+ };
1719
+ workspace?: {
1720
+ name: string;
1721
+ id: string;
1722
+ object_type: "workspace";
1723
+ slug?: string | null | undefined;
1724
+ avatar_url?: string | null | undefined;
1725
+ } | null | undefined;
1726
+ app_id?: string | null | undefined;
1727
+ instance_id?: string | null | undefined;
1728
+ listed?: boolean | undefined;
1729
+ in_progress?: boolean | undefined;
1730
+ project_type?: string | null | undefined;
1731
+ kms_info?: {
1732
+ chain_id?: number | null | undefined;
1733
+ encrypted_env_pubkey?: string | null | undefined;
1734
+ deployer_address?: string | null | undefined;
1735
+ dstack_kms_address?: string | null | undefined;
1736
+ dstack_app_address?: string | null | undefined;
1737
+ rpc_endpoint?: string | null | undefined;
1738
+ } | null | undefined;
1739
+ vm_uuid?: string | null | undefined;
1740
+ public_sysinfo?: boolean | undefined;
1741
+ public_logs?: boolean | undefined;
1742
+ kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
1743
+ created_at?: string | null | undefined;
1744
+ node_info?: {
1745
+ object_type: "node";
1746
+ status?: string | null | undefined;
1747
+ name?: string | null | undefined;
1748
+ version?: string | null | undefined;
1749
+ id?: number | null | undefined;
1750
+ region?: string | null | undefined;
1751
+ device_id?: string | null | undefined;
1752
+ ppid?: string | null | undefined;
1753
+ } | null | undefined;
1754
+ os?: {
1755
+ name?: string | null | undefined;
1756
+ version?: string | null | undefined;
1757
+ is_dev?: boolean | null | undefined;
1758
+ os_image_hash?: string | null | undefined;
1759
+ } | null | undefined;
1760
+ progress?: {
1761
+ target?: string | null | undefined;
1762
+ started_at?: string | null | undefined;
1763
+ correlation_id?: string | null | undefined;
1764
+ } | null | undefined;
1765
+ compose_hash?: string | null | undefined;
1766
+ docker_compose_hash?: string | null | undefined;
1767
+ pre_launch_script_hash?: string | null | undefined;
1768
+ logs?: {
1769
+ serial?: string | null | undefined;
1770
+ stdout?: string | null | undefined;
1771
+ stderr?: string | null | undefined;
1772
+ container_log_base?: string | null | undefined;
1773
+ } | undefined;
1774
+ services?: Record<string, any>[] | undefined;
1775
+ endpoints?: {
1776
+ app: string;
1777
+ instance: string;
1778
+ }[] | null | undefined;
1779
+ public_tcbinfo?: boolean | undefined;
1780
+ gateway_enabled?: boolean | undefined;
1781
+ secure_time?: boolean | undefined;
1782
+ storage_fs?: string | undefined;
1783
+ creator?: {
1784
+ object_type: "user";
1785
+ username?: string | null | undefined;
1786
+ id?: string | null | undefined;
1787
+ avatar_url?: string | null | undefined;
1788
+ } | null | undefined;
1789
+ deleted_at?: string | null | undefined;
1790
+ compose_file?: string | Record<string, any> | null | undefined;
1791
+ }>;
1792
+ export type CvmInfoDetailV20260522 = z.infer<typeof CvmInfoDetailV20260522Schema>;
1793
+ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1794
+ items: z.ZodArray<z.ZodObject<{
1795
+ id: z.ZodString;
1796
+ name: z.ZodString;
1797
+ app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1798
+ vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1799
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1800
+ resource: z.ZodObject<{
1801
+ instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1802
+ vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1803
+ memory_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1804
+ disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1805
+ gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1806
+ compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1807
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
1808
+ }, "strip", z.ZodTypeAny, {
1809
+ vcpu?: number | null | undefined;
1810
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1811
+ instance_type?: string | null | undefined;
1812
+ memory_in_gb?: number | null | undefined;
1813
+ disk_in_gb?: number | null | undefined;
1814
+ gpus?: number | null | undefined;
1815
+ compute_billing_price?: string | null | undefined;
1816
+ }, {
1817
+ vcpu?: number | null | undefined;
1818
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1819
+ instance_type?: string | null | undefined;
1820
+ memory_in_gb?: number | null | undefined;
1821
+ disk_in_gb?: number | null | undefined;
1822
+ gpus?: number | null | undefined;
1823
+ compute_billing_price?: string | null | undefined;
1824
+ }>;
1825
+ node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1826
+ object_type: z.ZodLiteral<"node">;
1827
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1828
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1829
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1830
+ device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1831
+ ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1832
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1833
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1834
+ }, "strip", z.ZodTypeAny, {
1835
+ object_type: "node";
1836
+ status?: string | null | undefined;
1837
+ name?: string | null | undefined;
1838
+ version?: string | null | undefined;
1839
+ id?: number | null | undefined;
1840
+ region?: string | null | undefined;
1841
+ device_id?: string | null | undefined;
1842
+ ppid?: string | null | undefined;
1843
+ }, {
1844
+ object_type: "node";
1845
+ status?: string | null | undefined;
1846
+ name?: string | null | undefined;
1847
+ version?: string | null | undefined;
1848
+ id?: number | null | undefined;
1849
+ region?: string | null | undefined;
1850
+ device_id?: string | null | undefined;
1851
+ ppid?: string | null | undefined;
1852
+ }>>>;
1853
+ os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1854
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1855
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1856
+ is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1857
+ os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1858
+ }, "strip", z.ZodTypeAny, {
1859
+ name?: string | null | undefined;
1860
+ version?: string | null | undefined;
1861
+ is_dev?: boolean | null | undefined;
1862
+ os_image_hash?: string | null | undefined;
1863
+ }, {
1864
+ name?: string | null | undefined;
1865
+ version?: string | null | undefined;
1866
+ is_dev?: boolean | null | undefined;
1867
+ os_image_hash?: string | null | undefined;
1868
+ }>>>;
1869
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
1870
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1871
+ chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1872
+ dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1873
+ dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1874
+ deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1875
+ rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1876
+ encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1877
+ }, "strip", z.ZodTypeAny, {
1878
+ chain_id?: number | null | undefined;
1879
+ encrypted_env_pubkey?: string | null | undefined;
1880
+ deployer_address?: string | null | undefined;
1881
+ dstack_kms_address?: string | null | undefined;
1882
+ dstack_app_address?: string | null | undefined;
1883
+ rpc_endpoint?: string | null | undefined;
1884
+ }, {
1885
+ chain_id?: number | null | undefined;
1886
+ encrypted_env_pubkey?: string | null | undefined;
1887
+ deployer_address?: string | null | undefined;
1888
+ dstack_kms_address?: string | null | undefined;
1889
+ dstack_app_address?: string | null | undefined;
1890
+ rpc_endpoint?: string | null | undefined;
1891
+ }>, {
1892
+ chain_id?: number | null | undefined;
1893
+ encrypted_env_pubkey?: string | null | undefined;
1894
+ deployer_address?: string | null | undefined;
1895
+ dstack_kms_address?: string | null | undefined;
1896
+ dstack_app_address?: string | null | undefined;
1897
+ rpc_endpoint?: string | null | undefined;
1898
+ }, {
1899
+ chain_id?: number | null | undefined;
1900
+ encrypted_env_pubkey?: string | null | undefined;
1901
+ deployer_address?: string | null | undefined;
1902
+ dstack_kms_address?: string | null | undefined;
1903
+ dstack_app_address?: string | null | undefined;
1904
+ rpc_endpoint?: string | null | undefined;
1905
+ }>>>;
1906
+ status: z.ZodString;
1907
+ in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1908
+ progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1909
+ target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1910
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1911
+ correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1912
+ }, "strip", z.ZodTypeAny, {
1913
+ target?: string | null | undefined;
1914
+ started_at?: string | null | undefined;
1915
+ correlation_id?: string | null | undefined;
1916
+ }, {
1917
+ target?: string | null | undefined;
1918
+ started_at?: string | null | undefined;
1919
+ correlation_id?: string | null | undefined;
1920
+ }>>>;
1921
+ compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1922
+ docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1923
+ pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1924
+ gateway: z.ZodObject<{
1925
+ base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1926
+ cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1927
+ }, "strip", z.ZodTypeAny, {
1928
+ base_domain?: string | null | undefined;
1929
+ cname?: string | null | undefined;
1930
+ }, {
1931
+ base_domain?: string | null | undefined;
1932
+ cname?: string | null | undefined;
1933
+ }>;
1934
+ logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1935
+ serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1936
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1937
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1938
+ container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1939
+ }, "strip", z.ZodTypeAny, {
1940
+ serial?: string | null | undefined;
1941
+ stdout?: string | null | undefined;
1942
+ stderr?: string | null | undefined;
1943
+ container_log_base?: string | null | undefined;
1944
+ }, {
1945
+ serial?: string | null | undefined;
1946
+ stdout?: string | null | undefined;
1947
+ stderr?: string | null | undefined;
1948
+ container_log_base?: string | null | undefined;
1949
+ }>>>;
1950
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
1951
+ endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1952
+ app: z.ZodString;
1953
+ instance: z.ZodString;
1954
+ }, "strip", z.ZodTypeAny, {
1955
+ app: string;
1956
+ instance: string;
1957
+ }, {
1958
+ app: string;
1959
+ instance: string;
1960
+ }>, "many">>>;
1961
+ public_logs: z.ZodOptional<z.ZodBoolean>;
1962
+ public_sysinfo: z.ZodOptional<z.ZodBoolean>;
1963
+ public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
1964
+ gateway_enabled: z.ZodOptional<z.ZodBoolean>;
1965
+ secure_time: z.ZodOptional<z.ZodBoolean>;
1966
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1967
+ storage_fs: z.ZodOptional<z.ZodString>;
1968
+ workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1969
+ object_type: z.ZodLiteral<"workspace">;
1970
+ id: z.ZodString;
1971
+ name: z.ZodString;
1972
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1973
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1974
+ }, "strip", z.ZodTypeAny, {
1975
+ name: string;
1976
+ id: string;
1977
+ object_type: "workspace";
1978
+ slug?: string | null | undefined;
1979
+ avatar_url?: string | null | undefined;
1980
+ }, {
1981
+ name: string;
1982
+ id: string;
1983
+ object_type: "workspace";
1984
+ slug?: string | null | undefined;
1985
+ avatar_url?: string | null | undefined;
1986
+ }>>>;
1987
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1988
+ object_type: z.ZodLiteral<"user">;
1989
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1990
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1991
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1992
+ }, "strip", z.ZodTypeAny, {
1993
+ object_type: "user";
1994
+ username?: string | null | undefined;
1995
+ id?: string | null | undefined;
1996
+ avatar_url?: string | null | undefined;
1997
+ }, {
1998
+ object_type: "user";
1999
+ username?: string | null | undefined;
2000
+ id?: string | null | undefined;
2001
+ avatar_url?: string | null | undefined;
2002
+ }>>>;
2003
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2004
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2005
+ project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2006
+ }, "strip", z.ZodTypeAny, {
2007
+ status: string;
2008
+ name: string;
2009
+ id: string;
2010
+ listed: boolean;
2011
+ in_progress: boolean;
2012
+ resource: {
2013
+ vcpu?: number | null | undefined;
2014
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2015
+ instance_type?: string | null | undefined;
2016
+ memory_in_gb?: number | null | undefined;
2017
+ disk_in_gb?: number | null | undefined;
2018
+ gpus?: number | null | undefined;
2019
+ compute_billing_price?: string | null | undefined;
2020
+ };
2021
+ gateway: {
2022
+ base_domain?: string | null | undefined;
2023
+ cname?: string | null | undefined;
2024
+ };
2025
+ logs: {
2026
+ serial?: string | null | undefined;
2027
+ stdout?: string | null | undefined;
2028
+ stderr?: string | null | undefined;
2029
+ container_log_base?: string | null | undefined;
2030
+ };
2031
+ services: Record<string, any>[];
2032
+ workspace?: {
2033
+ name: string;
2034
+ id: string;
2035
+ object_type: "workspace";
2036
+ slug?: string | null | undefined;
2037
+ avatar_url?: string | null | undefined;
2038
+ } | null | undefined;
2039
+ app_id?: string | null | undefined;
2040
+ instance_id?: string | null | undefined;
2041
+ project_type?: string | null | undefined;
2042
+ kms_info?: {
2043
+ chain_id?: number | null | undefined;
2044
+ encrypted_env_pubkey?: string | null | undefined;
2045
+ deployer_address?: string | null | undefined;
2046
+ dstack_kms_address?: string | null | undefined;
2047
+ dstack_app_address?: string | null | undefined;
2048
+ rpc_endpoint?: string | null | undefined;
2049
+ } | null | undefined;
2050
+ vm_uuid?: string | null | undefined;
2051
+ public_sysinfo?: boolean | undefined;
2052
+ public_logs?: boolean | undefined;
2053
+ kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2054
+ created_at?: string | null | undefined;
2055
+ node_info?: {
2056
+ object_type: "node";
2057
+ status?: string | null | undefined;
2058
+ name?: string | null | undefined;
2059
+ version?: string | null | undefined;
2060
+ id?: number | null | undefined;
2061
+ region?: string | null | undefined;
2062
+ device_id?: string | null | undefined;
2063
+ ppid?: string | null | undefined;
2064
+ } | null | undefined;
2065
+ os?: {
2066
+ name?: string | null | undefined;
2067
+ version?: string | null | undefined;
2068
+ is_dev?: boolean | null | undefined;
2069
+ os_image_hash?: string | null | undefined;
2070
+ } | null | undefined;
2071
+ progress?: {
2072
+ target?: string | null | undefined;
2073
+ started_at?: string | null | undefined;
2074
+ correlation_id?: string | null | undefined;
2075
+ } | null | undefined;
2076
+ compose_hash?: string | null | undefined;
2077
+ docker_compose_hash?: string | null | undefined;
2078
+ pre_launch_script_hash?: string | null | undefined;
2079
+ endpoints?: {
2080
+ app: string;
2081
+ instance: string;
2082
+ }[] | null | undefined;
2083
+ public_tcbinfo?: boolean | undefined;
2084
+ gateway_enabled?: boolean | undefined;
2085
+ secure_time?: boolean | undefined;
2086
+ storage_fs?: string | undefined;
2087
+ creator?: {
2088
+ object_type: "user";
2089
+ username?: string | null | undefined;
2090
+ id?: string | null | undefined;
2091
+ avatar_url?: string | null | undefined;
2092
+ } | null | undefined;
2093
+ deleted_at?: string | null | undefined;
2094
+ }, {
2095
+ status: string;
2096
+ name: string;
2097
+ id: string;
2098
+ resource: {
2099
+ vcpu?: number | null | undefined;
2100
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2101
+ instance_type?: string | null | undefined;
2102
+ memory_in_gb?: number | null | undefined;
2103
+ disk_in_gb?: number | null | undefined;
2104
+ gpus?: number | null | undefined;
2105
+ compute_billing_price?: string | null | undefined;
2106
+ };
2107
+ gateway: {
2108
+ base_domain?: string | null | undefined;
2109
+ cname?: string | null | undefined;
2110
+ };
2111
+ workspace?: {
2112
+ name: string;
2113
+ id: string;
2114
+ object_type: "workspace";
2115
+ slug?: string | null | undefined;
2116
+ avatar_url?: string | null | undefined;
2117
+ } | null | undefined;
2118
+ app_id?: string | null | undefined;
2119
+ instance_id?: string | null | undefined;
2120
+ listed?: boolean | undefined;
2121
+ in_progress?: boolean | undefined;
2122
+ project_type?: string | null | undefined;
2123
+ kms_info?: {
2124
+ chain_id?: number | null | undefined;
2125
+ encrypted_env_pubkey?: string | null | undefined;
2126
+ deployer_address?: string | null | undefined;
2127
+ dstack_kms_address?: string | null | undefined;
2128
+ dstack_app_address?: string | null | undefined;
2129
+ rpc_endpoint?: string | null | undefined;
2130
+ } | null | undefined;
2131
+ vm_uuid?: string | null | undefined;
2132
+ public_sysinfo?: boolean | undefined;
2133
+ public_logs?: boolean | undefined;
2134
+ kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2135
+ created_at?: string | null | undefined;
2136
+ node_info?: {
2137
+ object_type: "node";
2138
+ status?: string | null | undefined;
2139
+ name?: string | null | undefined;
2140
+ version?: string | null | undefined;
2141
+ id?: number | null | undefined;
2142
+ region?: string | null | undefined;
2143
+ device_id?: string | null | undefined;
2144
+ ppid?: string | null | undefined;
2145
+ } | null | undefined;
2146
+ os?: {
2147
+ name?: string | null | undefined;
2148
+ version?: string | null | undefined;
2149
+ is_dev?: boolean | null | undefined;
2150
+ os_image_hash?: string | null | undefined;
2151
+ } | null | undefined;
2152
+ progress?: {
2153
+ target?: string | null | undefined;
2154
+ started_at?: string | null | undefined;
2155
+ correlation_id?: string | null | undefined;
2156
+ } | null | undefined;
2157
+ compose_hash?: string | null | undefined;
2158
+ docker_compose_hash?: string | null | undefined;
2159
+ pre_launch_script_hash?: string | null | undefined;
2160
+ logs?: {
2161
+ serial?: string | null | undefined;
2162
+ stdout?: string | null | undefined;
2163
+ stderr?: string | null | undefined;
2164
+ container_log_base?: string | null | undefined;
2165
+ } | undefined;
2166
+ services?: Record<string, any>[] | undefined;
2167
+ endpoints?: {
2168
+ app: string;
2169
+ instance: string;
2170
+ }[] | null | undefined;
2171
+ public_tcbinfo?: boolean | undefined;
2172
+ gateway_enabled?: boolean | undefined;
2173
+ secure_time?: boolean | undefined;
2174
+ storage_fs?: string | undefined;
2175
+ creator?: {
2176
+ object_type: "user";
2177
+ username?: string | null | undefined;
2178
+ id?: string | null | undefined;
2179
+ avatar_url?: string | null | undefined;
2180
+ } | null | undefined;
2181
+ deleted_at?: string | null | undefined;
2182
+ }>, "many">;
2183
+ total: z.ZodNumber;
2184
+ page: z.ZodNumber;
2185
+ page_size: z.ZodNumber;
2186
+ pages: z.ZodNumber;
2187
+ }, "strip", z.ZodTypeAny, {
2188
+ items: {
2189
+ status: string;
2190
+ name: string;
2191
+ id: string;
2192
+ listed: boolean;
2193
+ in_progress: boolean;
2194
+ resource: {
2195
+ vcpu?: number | null | undefined;
2196
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2197
+ instance_type?: string | null | undefined;
2198
+ memory_in_gb?: number | null | undefined;
2199
+ disk_in_gb?: number | null | undefined;
2200
+ gpus?: number | null | undefined;
2201
+ compute_billing_price?: string | null | undefined;
2202
+ };
2203
+ gateway: {
2204
+ base_domain?: string | null | undefined;
2205
+ cname?: string | null | undefined;
2206
+ };
2207
+ logs: {
2208
+ serial?: string | null | undefined;
2209
+ stdout?: string | null | undefined;
2210
+ stderr?: string | null | undefined;
2211
+ container_log_base?: string | null | undefined;
2212
+ };
2213
+ services: Record<string, any>[];
2214
+ workspace?: {
2215
+ name: string;
2216
+ id: string;
2217
+ object_type: "workspace";
2218
+ slug?: string | null | undefined;
2219
+ avatar_url?: string | null | undefined;
2220
+ } | null | undefined;
2221
+ app_id?: string | null | undefined;
2222
+ instance_id?: string | null | undefined;
2223
+ project_type?: string | null | undefined;
2224
+ kms_info?: {
2225
+ chain_id?: number | null | undefined;
2226
+ encrypted_env_pubkey?: string | null | undefined;
2227
+ deployer_address?: string | null | undefined;
2228
+ dstack_kms_address?: string | null | undefined;
2229
+ dstack_app_address?: string | null | undefined;
2230
+ rpc_endpoint?: string | null | undefined;
2231
+ } | null | undefined;
2232
+ vm_uuid?: string | null | undefined;
2233
+ public_sysinfo?: boolean | undefined;
2234
+ public_logs?: boolean | undefined;
2235
+ kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2236
+ created_at?: string | null | undefined;
2237
+ node_info?: {
2238
+ object_type: "node";
2239
+ status?: string | null | undefined;
2240
+ name?: string | null | undefined;
2241
+ version?: string | null | undefined;
2242
+ id?: number | null | undefined;
2243
+ region?: string | null | undefined;
2244
+ device_id?: string | null | undefined;
2245
+ ppid?: string | null | undefined;
2246
+ } | null | undefined;
2247
+ os?: {
2248
+ name?: string | null | undefined;
2249
+ version?: string | null | undefined;
2250
+ is_dev?: boolean | null | undefined;
2251
+ os_image_hash?: string | null | undefined;
2252
+ } | null | undefined;
2253
+ progress?: {
2254
+ target?: string | null | undefined;
2255
+ started_at?: string | null | undefined;
2256
+ correlation_id?: string | null | undefined;
2257
+ } | null | undefined;
2258
+ compose_hash?: string | null | undefined;
2259
+ docker_compose_hash?: string | null | undefined;
2260
+ pre_launch_script_hash?: string | null | undefined;
2261
+ endpoints?: {
2262
+ app: string;
2263
+ instance: string;
2264
+ }[] | null | undefined;
2265
+ public_tcbinfo?: boolean | undefined;
2266
+ gateway_enabled?: boolean | undefined;
2267
+ secure_time?: boolean | undefined;
2268
+ storage_fs?: string | undefined;
2269
+ creator?: {
2270
+ object_type: "user";
2271
+ username?: string | null | undefined;
2272
+ id?: string | null | undefined;
2273
+ avatar_url?: string | null | undefined;
2274
+ } | null | undefined;
2275
+ deleted_at?: string | null | undefined;
2276
+ }[];
2277
+ total: number;
2278
+ page: number;
2279
+ page_size: number;
2280
+ pages: number;
2281
+ }, {
2282
+ items: {
2283
+ status: string;
2284
+ name: string;
2285
+ id: string;
2286
+ resource: {
2287
+ vcpu?: number | null | undefined;
2288
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2289
+ instance_type?: string | null | undefined;
2290
+ memory_in_gb?: number | null | undefined;
2291
+ disk_in_gb?: number | null | undefined;
2292
+ gpus?: number | null | undefined;
2293
+ compute_billing_price?: string | null | undefined;
2294
+ };
2295
+ gateway: {
2296
+ base_domain?: string | null | undefined;
2297
+ cname?: string | null | undefined;
2298
+ };
2299
+ workspace?: {
2300
+ name: string;
2301
+ id: string;
2302
+ object_type: "workspace";
2303
+ slug?: string | null | undefined;
2304
+ avatar_url?: string | null | undefined;
2305
+ } | null | undefined;
2306
+ app_id?: string | null | undefined;
2307
+ instance_id?: string | null | undefined;
2308
+ listed?: boolean | undefined;
2309
+ in_progress?: boolean | undefined;
2310
+ project_type?: string | null | undefined;
2311
+ kms_info?: {
2312
+ chain_id?: number | null | undefined;
2313
+ encrypted_env_pubkey?: string | null | undefined;
2314
+ deployer_address?: string | null | undefined;
2315
+ dstack_kms_address?: string | null | undefined;
2316
+ dstack_app_address?: string | null | undefined;
2317
+ rpc_endpoint?: string | null | undefined;
2318
+ } | null | undefined;
2319
+ vm_uuid?: string | null | undefined;
2320
+ public_sysinfo?: boolean | undefined;
2321
+ public_logs?: boolean | undefined;
2322
+ kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2323
+ created_at?: string | null | undefined;
2324
+ node_info?: {
2325
+ object_type: "node";
2326
+ status?: string | null | undefined;
2327
+ name?: string | null | undefined;
2328
+ version?: string | null | undefined;
2329
+ id?: number | null | undefined;
2330
+ region?: string | null | undefined;
2331
+ device_id?: string | null | undefined;
2332
+ ppid?: string | null | undefined;
2333
+ } | null | undefined;
2334
+ os?: {
2335
+ name?: string | null | undefined;
2336
+ version?: string | null | undefined;
2337
+ is_dev?: boolean | null | undefined;
2338
+ os_image_hash?: string | null | undefined;
2339
+ } | null | undefined;
2340
+ progress?: {
2341
+ target?: string | null | undefined;
2342
+ started_at?: string | null | undefined;
2343
+ correlation_id?: string | null | undefined;
2344
+ } | null | undefined;
2345
+ compose_hash?: string | null | undefined;
2346
+ docker_compose_hash?: string | null | undefined;
2347
+ pre_launch_script_hash?: string | null | undefined;
2348
+ logs?: {
2349
+ serial?: string | null | undefined;
2350
+ stdout?: string | null | undefined;
2351
+ stderr?: string | null | undefined;
2352
+ container_log_base?: string | null | undefined;
2353
+ } | undefined;
2354
+ services?: Record<string, any>[] | undefined;
2355
+ endpoints?: {
2356
+ app: string;
2357
+ instance: string;
2358
+ }[] | null | undefined;
2359
+ public_tcbinfo?: boolean | undefined;
2360
+ gateway_enabled?: boolean | undefined;
2361
+ secure_time?: boolean | undefined;
2362
+ storage_fs?: string | undefined;
2363
+ creator?: {
2364
+ object_type: "user";
2365
+ username?: string | null | undefined;
2366
+ id?: string | null | undefined;
2367
+ avatar_url?: string | null | undefined;
2368
+ } | null | undefined;
2369
+ deleted_at?: string | null | undefined;
2370
+ }[];
2371
+ total: number;
2372
+ page: number;
2373
+ page_size: number;
2374
+ pages: number;
2375
+ }>;
2376
+ export type PaginatedCvmInfosV20260121 = z.infer<typeof PaginatedCvmInfosV20260121Schema>;
2377
+ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
2378
+ total: z.ZodNumber;
2379
+ page: z.ZodNumber;
2380
+ page_size: z.ZodNumber;
2381
+ pages: z.ZodNumber;
2382
+ } & {
2383
+ items: z.ZodArray<z.ZodObject<{
2384
+ name: z.ZodString;
2385
+ app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2386
+ vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2387
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2388
+ resource: z.ZodObject<{
2389
+ instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2390
+ vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2391
+ memory_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2392
+ disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2393
+ gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2394
+ compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2395
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
2396
+ }, "strip", z.ZodTypeAny, {
2397
+ vcpu?: number | null | undefined;
2398
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2399
+ instance_type?: string | null | undefined;
2400
+ memory_in_gb?: number | null | undefined;
2401
+ disk_in_gb?: number | null | undefined;
2402
+ gpus?: number | null | undefined;
2403
+ compute_billing_price?: string | null | undefined;
2404
+ }, {
2405
+ vcpu?: number | null | undefined;
2406
+ billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2407
+ instance_type?: string | null | undefined;
2408
+ memory_in_gb?: number | null | undefined;
2409
+ disk_in_gb?: number | null | undefined;
2410
+ gpus?: number | null | undefined;
2411
+ compute_billing_price?: string | null | undefined;
2412
+ }>;
2413
+ node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2414
+ object_type: z.ZodLiteral<"node">;
2415
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2416
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2417
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2418
+ device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2419
+ ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2420
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2421
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2422
+ }, "strip", z.ZodTypeAny, {
2423
+ object_type: "node";
2424
+ status?: string | null | undefined;
2425
+ name?: string | null | undefined;
2426
+ version?: string | null | undefined;
2427
+ id?: number | null | undefined;
2428
+ region?: string | null | undefined;
2429
+ device_id?: string | null | undefined;
2430
+ ppid?: string | null | undefined;
2431
+ }, {
2432
+ object_type: "node";
2433
+ status?: string | null | undefined;
2434
+ name?: string | null | undefined;
2435
+ version?: string | null | undefined;
2436
+ id?: number | null | undefined;
2437
+ region?: string | null | undefined;
2438
+ device_id?: string | null | undefined;
2439
+ ppid?: string | null | undefined;
2440
+ }>>>;
2441
+ os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2442
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2443
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2444
+ is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2445
+ os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2446
+ }, "strip", z.ZodTypeAny, {
2447
+ name?: string | null | undefined;
2448
+ version?: string | null | undefined;
2449
+ is_dev?: boolean | null | undefined;
2450
+ os_image_hash?: string | null | undefined;
2451
+ }, {
2452
+ name?: string | null | undefined;
2453
+ version?: string | null | undefined;
2454
+ is_dev?: boolean | null | undefined;
2455
+ os_image_hash?: string | null | undefined;
2456
+ }>>>;
2457
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
2458
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
2459
+ chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2460
+ dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
978
2461
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
979
2462
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
980
2463
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1009,6 +2492,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1009
2492
  rpc_endpoint?: string | null | undefined;
1010
2493
  }>>>;
1011
2494
  status: z.ZodString;
2495
+ in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1012
2496
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1013
2497
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1014
2498
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1023,6 +2507,8 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1023
2507
  correlation_id?: string | null | undefined;
1024
2508
  }>>>;
1025
2509
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2510
+ docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2511
+ pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1026
2512
  gateway: z.ZodObject<{
1027
2513
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1028
2514
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1033,6 +2519,22 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1033
2519
  base_domain?: string | null | undefined;
1034
2520
  cname?: string | null | undefined;
1035
2521
  }>;
2522
+ logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2523
+ serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2524
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2525
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2526
+ container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2527
+ }, "strip", z.ZodTypeAny, {
2528
+ serial?: string | null | undefined;
2529
+ stdout?: string | null | undefined;
2530
+ stderr?: string | null | undefined;
2531
+ container_log_base?: string | null | undefined;
2532
+ }, {
2533
+ serial?: string | null | undefined;
2534
+ stdout?: string | null | undefined;
2535
+ stderr?: string | null | undefined;
2536
+ container_log_base?: string | null | undefined;
2537
+ }>>>;
1036
2538
  services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
1037
2539
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1038
2540
  app: z.ZodString;
@@ -1086,11 +2588,17 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1086
2588
  id?: string | null | undefined;
1087
2589
  avatar_url?: string | null | undefined;
1088
2590
  }>>>;
2591
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2592
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2593
+ project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2594
+ } & {
2595
+ id: z.ZodString;
1089
2596
  }, "strip", z.ZodTypeAny, {
1090
2597
  status: string;
1091
2598
  name: string;
1092
2599
  id: string;
1093
2600
  listed: boolean;
2601
+ in_progress: boolean;
1094
2602
  resource: {
1095
2603
  vcpu?: number | null | undefined;
1096
2604
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -1104,6 +2612,12 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1104
2612
  base_domain?: string | null | undefined;
1105
2613
  cname?: string | null | undefined;
1106
2614
  };
2615
+ logs: {
2616
+ serial?: string | null | undefined;
2617
+ stdout?: string | null | undefined;
2618
+ stderr?: string | null | undefined;
2619
+ container_log_base?: string | null | undefined;
2620
+ };
1107
2621
  services: Record<string, any>[];
1108
2622
  workspace?: {
1109
2623
  name: string;
@@ -1114,6 +2628,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1114
2628
  } | null | undefined;
1115
2629
  app_id?: string | null | undefined;
1116
2630
  instance_id?: string | null | undefined;
2631
+ project_type?: string | null | undefined;
1117
2632
  kms_info?: {
1118
2633
  chain_id?: number | null | undefined;
1119
2634
  encrypted_env_pubkey?: string | null | undefined;
@@ -1126,6 +2641,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1126
2641
  public_sysinfo?: boolean | undefined;
1127
2642
  public_logs?: boolean | undefined;
1128
2643
  kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2644
+ created_at?: string | null | undefined;
1129
2645
  node_info?: {
1130
2646
  object_type: "node";
1131
2647
  status?: string | null | undefined;
@@ -1148,6 +2664,8 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1148
2664
  correlation_id?: string | null | undefined;
1149
2665
  } | null | undefined;
1150
2666
  compose_hash?: string | null | undefined;
2667
+ docker_compose_hash?: string | null | undefined;
2668
+ pre_launch_script_hash?: string | null | undefined;
1151
2669
  endpoints?: {
1152
2670
  app: string;
1153
2671
  instance: string;
@@ -1162,6 +2680,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1162
2680
  id?: string | null | undefined;
1163
2681
  avatar_url?: string | null | undefined;
1164
2682
  } | null | undefined;
2683
+ deleted_at?: string | null | undefined;
1165
2684
  }, {
1166
2685
  status: string;
1167
2686
  name: string;
@@ -1189,6 +2708,8 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1189
2708
  app_id?: string | null | undefined;
1190
2709
  instance_id?: string | null | undefined;
1191
2710
  listed?: boolean | undefined;
2711
+ in_progress?: boolean | undefined;
2712
+ project_type?: string | null | undefined;
1192
2713
  kms_info?: {
1193
2714
  chain_id?: number | null | undefined;
1194
2715
  encrypted_env_pubkey?: string | null | undefined;
@@ -1201,6 +2722,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1201
2722
  public_sysinfo?: boolean | undefined;
1202
2723
  public_logs?: boolean | undefined;
1203
2724
  kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2725
+ created_at?: string | null | undefined;
1204
2726
  node_info?: {
1205
2727
  object_type: "node";
1206
2728
  status?: string | null | undefined;
@@ -1223,6 +2745,14 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1223
2745
  correlation_id?: string | null | undefined;
1224
2746
  } | null | undefined;
1225
2747
  compose_hash?: string | null | undefined;
2748
+ docker_compose_hash?: string | null | undefined;
2749
+ pre_launch_script_hash?: string | null | undefined;
2750
+ logs?: {
2751
+ serial?: string | null | undefined;
2752
+ stdout?: string | null | undefined;
2753
+ stderr?: string | null | undefined;
2754
+ container_log_base?: string | null | undefined;
2755
+ } | undefined;
1226
2756
  services?: Record<string, any>[] | undefined;
1227
2757
  endpoints?: {
1228
2758
  app: string;
@@ -1238,17 +2768,15 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1238
2768
  id?: string | null | undefined;
1239
2769
  avatar_url?: string | null | undefined;
1240
2770
  } | null | undefined;
2771
+ deleted_at?: string | null | undefined;
1241
2772
  }>, "many">;
1242
- total: z.ZodNumber;
1243
- page: z.ZodNumber;
1244
- page_size: z.ZodNumber;
1245
- pages: z.ZodNumber;
1246
2773
  }, "strip", z.ZodTypeAny, {
1247
2774
  items: {
1248
2775
  status: string;
1249
2776
  name: string;
1250
2777
  id: string;
1251
2778
  listed: boolean;
2779
+ in_progress: boolean;
1252
2780
  resource: {
1253
2781
  vcpu?: number | null | undefined;
1254
2782
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -1262,6 +2790,12 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1262
2790
  base_domain?: string | null | undefined;
1263
2791
  cname?: string | null | undefined;
1264
2792
  };
2793
+ logs: {
2794
+ serial?: string | null | undefined;
2795
+ stdout?: string | null | undefined;
2796
+ stderr?: string | null | undefined;
2797
+ container_log_base?: string | null | undefined;
2798
+ };
1265
2799
  services: Record<string, any>[];
1266
2800
  workspace?: {
1267
2801
  name: string;
@@ -1272,6 +2806,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1272
2806
  } | null | undefined;
1273
2807
  app_id?: string | null | undefined;
1274
2808
  instance_id?: string | null | undefined;
2809
+ project_type?: string | null | undefined;
1275
2810
  kms_info?: {
1276
2811
  chain_id?: number | null | undefined;
1277
2812
  encrypted_env_pubkey?: string | null | undefined;
@@ -1284,6 +2819,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1284
2819
  public_sysinfo?: boolean | undefined;
1285
2820
  public_logs?: boolean | undefined;
1286
2821
  kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2822
+ created_at?: string | null | undefined;
1287
2823
  node_info?: {
1288
2824
  object_type: "node";
1289
2825
  status?: string | null | undefined;
@@ -1306,6 +2842,8 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1306
2842
  correlation_id?: string | null | undefined;
1307
2843
  } | null | undefined;
1308
2844
  compose_hash?: string | null | undefined;
2845
+ docker_compose_hash?: string | null | undefined;
2846
+ pre_launch_script_hash?: string | null | undefined;
1309
2847
  endpoints?: {
1310
2848
  app: string;
1311
2849
  instance: string;
@@ -1320,6 +2858,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1320
2858
  id?: string | null | undefined;
1321
2859
  avatar_url?: string | null | undefined;
1322
2860
  } | null | undefined;
2861
+ deleted_at?: string | null | undefined;
1323
2862
  }[];
1324
2863
  total: number;
1325
2864
  page: number;
@@ -1353,6 +2892,8 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1353
2892
  app_id?: string | null | undefined;
1354
2893
  instance_id?: string | null | undefined;
1355
2894
  listed?: boolean | undefined;
2895
+ in_progress?: boolean | undefined;
2896
+ project_type?: string | null | undefined;
1356
2897
  kms_info?: {
1357
2898
  chain_id?: number | null | undefined;
1358
2899
  encrypted_env_pubkey?: string | null | undefined;
@@ -1365,6 +2906,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1365
2906
  public_sysinfo?: boolean | undefined;
1366
2907
  public_logs?: boolean | undefined;
1367
2908
  kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2909
+ created_at?: string | null | undefined;
1368
2910
  node_info?: {
1369
2911
  object_type: "node";
1370
2912
  status?: string | null | undefined;
@@ -1387,6 +2929,14 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1387
2929
  correlation_id?: string | null | undefined;
1388
2930
  } | null | undefined;
1389
2931
  compose_hash?: string | null | undefined;
2932
+ docker_compose_hash?: string | null | undefined;
2933
+ pre_launch_script_hash?: string | null | undefined;
2934
+ logs?: {
2935
+ serial?: string | null | undefined;
2936
+ stdout?: string | null | undefined;
2937
+ stderr?: string | null | undefined;
2938
+ container_log_base?: string | null | undefined;
2939
+ } | undefined;
1390
2940
  services?: Record<string, any>[] | undefined;
1391
2941
  endpoints?: {
1392
2942
  app: string;
@@ -1402,10 +2952,11 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1402
2952
  id?: string | null | undefined;
1403
2953
  avatar_url?: string | null | undefined;
1404
2954
  } | null | undefined;
2955
+ deleted_at?: string | null | undefined;
1405
2956
  }[];
1406
2957
  total: number;
1407
2958
  page: number;
1408
2959
  page_size: number;
1409
2960
  pages: number;
1410
2961
  }>;
1411
- export type PaginatedCvmInfosV20260121 = z.infer<typeof PaginatedCvmInfosV20260121Schema>;
2962
+ export type PaginatedCvmInfosV20260522 = z.infer<typeof PaginatedCvmInfosV20260522Schema>;