@phala/cloud 0.2.10 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +100 -161
  2. package/dist/actions/apps/check_app_is_allowed.d.ts +14 -14
  3. package/dist/actions/apps/create_app_instance.d.ts +22 -22
  4. package/dist/actions/apps/get_app_attestation.d.ts +32 -32
  5. package/dist/actions/apps/get_app_device_allowlist.d.ts +51 -50
  6. package/dist/actions/apps/get_app_list.d.ts +2 -2
  7. package/dist/actions/cvms/check_cvm_is_allowed.d.ts +40 -102
  8. package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +12 -12
  9. package/dist/actions/cvms/commit_cvm_provision.d.ts +5 -135
  10. package/dist/actions/cvms/commit_cvm_update.d.ts +2 -2
  11. package/dist/actions/cvms/confirm_cvm_patch.d.ts +2 -2
  12. package/dist/actions/cvms/delete_cvm.d.ts +2 -2
  13. package/dist/actions/cvms/get_available_os_images.d.ts +2 -2
  14. package/dist/actions/cvms/get_cvm_attestation.d.ts +2 -2
  15. package/dist/actions/cvms/get_cvm_compose_file.d.ts +10 -10
  16. package/dist/actions/cvms/get_cvm_containers_stats.d.ts +10 -10
  17. package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
  18. package/dist/actions/cvms/get_cvm_info.d.ts +2 -2
  19. package/dist/actions/cvms/get_cvm_list.d.ts +4 -4
  20. package/dist/actions/cvms/get_cvm_network.d.ts +2 -2
  21. package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +2 -2
  22. package/dist/actions/cvms/get_cvm_state.d.ts +6 -6
  23. package/dist/actions/cvms/get_cvm_stats.d.ts +2 -2
  24. package/dist/actions/cvms/get_cvm_status_batch.d.ts +6 -6
  25. package/dist/actions/cvms/get_cvm_user_config.d.ts +2 -2
  26. package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +2 -2
  27. package/dist/actions/cvms/patch_cvm.d.ts +18 -18
  28. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +38 -38
  29. package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +27 -58
  30. package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +120 -165
  31. package/dist/actions/cvms/replicate_cvm.d.ts +7 -72
  32. package/dist/actions/cvms/restart_cvm.d.ts +7 -72
  33. package/dist/actions/cvms/shutdown_cvm.d.ts +9 -72
  34. package/dist/actions/cvms/start_cvm.d.ts +7 -72
  35. package/dist/actions/cvms/stop_cvm.d.ts +7 -72
  36. package/dist/actions/cvms/update_cvm_envs.d.ts +20 -20
  37. package/dist/actions/cvms/update_cvm_resources.d.ts +2 -2
  38. package/dist/actions/cvms/update_cvm_visibility.d.ts +24 -24
  39. package/dist/actions/cvms/update_docker_compose.d.ts +20 -20
  40. package/dist/actions/cvms/update_os_image.d.ts +2 -2
  41. package/dist/actions/cvms/update_prelaunch_script.d.ts +20 -20
  42. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +20 -20
  43. package/dist/actions/kms/get_kms_list.d.ts +10 -10
  44. package/dist/actions/kms/next_app_ids.d.ts +6 -6
  45. package/dist/actions/list-instance-types.d.ts +12 -12
  46. package/dist/actions/ssh_keys/create_ssh_key.d.ts +2 -2
  47. package/dist/actions/ssh_keys/list_ssh_keys.d.ts +4 -4
  48. package/dist/actions/workspaces/get_workspace_nodes.d.ts +14 -14
  49. package/dist/index.js +254 -45
  50. package/dist/index.mjs +254 -45
  51. package/dist/types/app_info_v20251028.d.ts +128 -128
  52. package/dist/types/app_info_v20260121.d.ts +490 -490
  53. package/dist/types/app_revision.d.ts +8 -8
  54. package/dist/types/cvm_id.d.ts +6 -6
  55. package/dist/types/cvm_info.d.ts +98 -98
  56. package/dist/types/cvm_info_v20251028.d.ts +47 -47
  57. package/dist/types/cvm_info_v20260121.d.ts +148 -148
  58. package/dist/types/version-mappings.d.ts +37 -0
  59. package/package.json +1 -1
@@ -22,10 +22,10 @@ export declare const VmInfoV20251028Schema: z.ZodObject<{
22
22
  status: string;
23
23
  name: string;
24
24
  id: string;
25
- uptime: string;
26
- app_url: string | null;
27
25
  app_id: string;
28
26
  instance_id: string | null;
27
+ app_url: string | null;
28
+ uptime: string;
29
29
  exited_at: string | null;
30
30
  boot_progress: string | null;
31
31
  boot_error: string | null;
@@ -36,10 +36,10 @@ export declare const VmInfoV20251028Schema: z.ZodObject<{
36
36
  status: string;
37
37
  name: string;
38
38
  id: string;
39
- uptime: string;
40
- app_url: string | null;
41
39
  app_id: string;
42
40
  instance_id: string | null;
41
+ app_url: string | null;
42
+ uptime: string;
43
43
  exited_at: string | null;
44
44
  boot_progress: string | null;
45
45
  boot_error: string | null;
@@ -120,10 +120,10 @@ export declare const CvmInfoV20251028Schema: z.ZodObject<{
120
120
  status: string;
121
121
  name: string;
122
122
  id: string;
123
- uptime: string;
124
- app_url: string | null;
125
123
  app_id: string;
126
124
  instance_id: string | null;
125
+ app_url: string | null;
126
+ uptime: string;
127
127
  exited_at: string | null;
128
128
  boot_progress: string | null;
129
129
  boot_error: string | null;
@@ -134,10 +134,10 @@ export declare const CvmInfoV20251028Schema: z.ZodObject<{
134
134
  status: string;
135
135
  name: string;
136
136
  id: string;
137
- uptime: string;
138
- app_url: string | null;
139
137
  app_id: string;
140
138
  instance_id: string | null;
139
+ app_url: string | null;
140
+ uptime: string;
141
141
  exited_at: string | null;
142
142
  boot_progress: string | null;
143
143
  boot_error: string | null;
@@ -260,10 +260,10 @@ export declare const CvmInfoV20251028Schema: z.ZodObject<{
260
260
  status: string;
261
261
  name: string;
262
262
  id: string;
263
- uptime: string;
264
- app_url: string | null;
265
263
  app_id: string;
266
264
  instance_id: string | null;
265
+ app_url: string | null;
266
+ uptime: string;
267
267
  exited_at: string | null;
268
268
  boot_progress: string | null;
269
269
  boot_error: string | null;
@@ -319,10 +319,10 @@ export declare const CvmInfoV20251028Schema: z.ZodObject<{
319
319
  status: string;
320
320
  name: string;
321
321
  id: string;
322
- uptime: string;
323
- app_url: string | null;
324
322
  app_id: string;
325
323
  instance_id: string | null;
324
+ app_url: string | null;
325
+ uptime: string;
326
326
  exited_at: string | null;
327
327
  boot_progress: string | null;
328
328
  boot_error: string | null;
@@ -483,21 +483,28 @@ export declare const CvmDetailV20251028Schema: z.ZodObject<{
483
483
  id: string | number;
484
484
  app_id: string;
485
485
  instance_id: string | null;
486
+ teepod_id: number | null;
487
+ vm_uuid: string | null;
488
+ base_image: string | null;
486
489
  vcpu: number;
487
490
  memory: number;
488
491
  disk_size: number;
492
+ encrypted_env_pubkey: string | null;
489
493
  listed: boolean;
490
494
  in_progress: boolean;
491
495
  public_urls: {
492
496
  app: string;
493
497
  instance: string;
494
498
  }[];
495
- teepod_id: number | null;
496
- vm_uuid: string | null;
497
- base_image: string | null;
498
- encrypted_env_pubkey: string | null;
499
499
  public_sysinfo: boolean;
500
500
  public_logs: boolean;
501
+ teepod?: {
502
+ name: string;
503
+ id: number;
504
+ region_identifier?: string | null | undefined;
505
+ } | null | undefined;
506
+ deployer_address?: string | null | undefined;
507
+ contract_address?: string | null | undefined;
501
508
  dapp_dashboard_url?: string | null | undefined;
502
509
  syslog_endpoint?: string | null | undefined;
503
510
  project_id?: string | null | undefined;
@@ -519,14 +526,7 @@ export declare const CvmDetailV20251028Schema: z.ZodObject<{
519
526
  gpu_count: number;
520
527
  } | null | undefined;
521
528
  updated_at?: string | null | undefined;
522
- teepod?: {
523
- name: string;
524
- id: number;
525
- region_identifier?: string | null | undefined;
526
- } | null | undefined;
527
529
  instance_type?: string | null | undefined;
528
- contract_address?: string | null | undefined;
529
- deployer_address?: string | null | undefined;
530
530
  scheduled_delete_at?: string | null | undefined;
531
531
  }, {
532
532
  status: string;
@@ -534,13 +534,20 @@ export declare const CvmDetailV20251028Schema: z.ZodObject<{
534
534
  id: string | number;
535
535
  app_id: string;
536
536
  instance_id: string | null;
537
- vcpu: number;
538
- memory: number;
539
- disk_size: number;
540
537
  teepod_id: number | null;
541
538
  vm_uuid: string | null;
542
539
  base_image: string | null;
540
+ vcpu: number;
541
+ memory: number;
542
+ disk_size: number;
543
543
  encrypted_env_pubkey: string | null;
544
+ teepod?: {
545
+ name: string;
546
+ id: number;
547
+ region_identifier?: string | null | undefined;
548
+ } | null | undefined;
549
+ deployer_address?: string | null | undefined;
550
+ contract_address?: string | null | undefined;
544
551
  listed?: boolean | undefined;
545
552
  in_progress?: boolean | undefined;
546
553
  dapp_dashboard_url?: string | null | undefined;
@@ -568,16 +575,9 @@ export declare const CvmDetailV20251028Schema: z.ZodObject<{
568
575
  gpu_count?: number | undefined;
569
576
  } | null | undefined;
570
577
  updated_at?: string | null | undefined;
571
- teepod?: {
572
- name: string;
573
- id: number;
574
- region_identifier?: string | null | undefined;
575
- } | null | undefined;
576
578
  instance_type?: string | null | undefined;
577
579
  public_sysinfo?: boolean | undefined;
578
580
  public_logs?: boolean | undefined;
579
- contract_address?: string | null | undefined;
580
- deployer_address?: string | null | undefined;
581
581
  scheduled_delete_at?: string | null | undefined;
582
582
  }>;
583
583
  export type CvmDetailV20251028 = z.infer<typeof CvmDetailV20251028Schema>;
@@ -601,10 +601,10 @@ export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
601
601
  status: string;
602
602
  name: string;
603
603
  id: string;
604
- uptime: string;
605
- app_url: string | null;
606
604
  app_id: string;
607
605
  instance_id: string | null;
606
+ app_url: string | null;
607
+ uptime: string;
608
608
  exited_at: string | null;
609
609
  boot_progress: string | null;
610
610
  boot_error: string | null;
@@ -615,10 +615,10 @@ export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
615
615
  status: string;
616
616
  name: string;
617
617
  id: string;
618
- uptime: string;
619
- app_url: string | null;
620
618
  app_id: string;
621
619
  instance_id: string | null;
620
+ app_url: string | null;
621
+ uptime: string;
622
622
  exited_at: string | null;
623
623
  boot_progress: string | null;
624
624
  boot_error: string | null;
@@ -741,10 +741,10 @@ export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
741
741
  status: string;
742
742
  name: string;
743
743
  id: string;
744
- uptime: string;
745
- app_url: string | null;
746
744
  app_id: string;
747
745
  instance_id: string | null;
746
+ app_url: string | null;
747
+ uptime: string;
748
748
  exited_at: string | null;
749
749
  boot_progress: string | null;
750
750
  boot_error: string | null;
@@ -800,10 +800,10 @@ export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
800
800
  status: string;
801
801
  name: string;
802
802
  id: string;
803
- uptime: string;
804
- app_url: string | null;
805
803
  app_id: string;
806
804
  instance_id: string | null;
805
+ app_url: string | null;
806
+ uptime: string;
807
807
  exited_at: string | null;
808
808
  boot_progress: string | null;
809
809
  boot_error: string | null;
@@ -855,6 +855,7 @@ export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
855
855
  page_size: z.ZodNumber;
856
856
  pages: z.ZodNumber;
857
857
  }, "strip", z.ZodTypeAny, {
858
+ total: number;
858
859
  items: {
859
860
  status: string;
860
861
  name: string;
@@ -865,10 +866,10 @@ export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
865
866
  status: string;
866
867
  name: string;
867
868
  id: string;
868
- uptime: string;
869
- app_url: string | null;
870
869
  app_id: string;
871
870
  instance_id: string | null;
871
+ app_url: string | null;
872
+ uptime: string;
872
873
  exited_at: string | null;
873
874
  boot_progress: string | null;
874
875
  boot_error: string | null;
@@ -915,11 +916,11 @@ export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
915
916
  } | null | undefined;
916
917
  updated_at?: string | null | undefined;
917
918
  }[];
918
- total: number;
919
919
  page: number;
920
920
  page_size: number;
921
921
  pages: number;
922
922
  }, {
923
+ total: number;
923
924
  items: {
924
925
  status: string;
925
926
  name: string;
@@ -930,10 +931,10 @@ export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
930
931
  status: string;
931
932
  name: string;
932
933
  id: string;
933
- uptime: string;
934
- app_url: string | null;
935
934
  app_id: string;
936
935
  instance_id: string | null;
936
+ app_url: string | null;
937
+ uptime: string;
937
938
  exited_at: string | null;
938
939
  boot_progress: string | null;
939
940
  boot_error: string | null;
@@ -980,7 +981,6 @@ export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
980
981
  } | null | undefined;
981
982
  updated_at?: string | null | undefined;
982
983
  }[];
983
- total: number;
984
984
  page: number;
985
985
  page_size: number;
986
986
  pages: number;