@phala/cloud 0.6.5 → 0.6.6

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 (91) hide show
  1. package/README.md +6 -6
  2. package/dist/actions/api_tokens/revoke_current_api_token.d.ts +2 -2
  3. package/dist/actions/apps/app_launch_token.d.ts +4 -4
  4. package/dist/actions/apps/check_app_is_allowed.d.ts +4 -4
  5. package/dist/actions/apps/create_app_instance.d.ts +20 -20
  6. package/dist/actions/apps/get_app_attestation.d.ts +4 -4
  7. package/dist/actions/blockchains/abi/dstack_app.d.ts +403 -1
  8. package/dist/actions/blockchains/add_compose_hash.d.ts +7 -0
  9. package/dist/actions/blockchains/add_device.d.ts +7 -0
  10. package/dist/actions/blockchains/check_compose_hash_allowed.d.ts +4 -1
  11. package/dist/actions/blockchains/check_device_allowed.d.ts +5 -2
  12. package/dist/actions/blockchains/check_on_chain_prerequisites.d.ts +7 -2
  13. package/dist/actions/blockchains/epoch_compat.d.ts +106 -0
  14. package/dist/actions/blockchains/get_allowed_devices.d.ts +10 -2
  15. package/dist/actions/blockchains/remove_device.d.ts +7 -0
  16. package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +4 -4
  17. package/dist/actions/cvms/commit_cvm_update.d.ts +20 -20
  18. package/dist/actions/cvms/confirm_cvm_patch.d.ts +14 -14
  19. package/dist/actions/cvms/cvm_annotations.d.ts +10 -10
  20. package/dist/actions/cvms/delete_cvm.d.ts +2 -2
  21. package/dist/actions/cvms/get_available_os_images.d.ts +2 -2
  22. package/dist/actions/cvms/get_cvm_attestation.d.ts +4 -4
  23. package/dist/actions/cvms/get_cvm_compose_file.d.ts +10 -10
  24. package/dist/actions/cvms/get_cvm_containers_stats.d.ts +4 -4
  25. package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
  26. package/dist/actions/cvms/get_cvm_info.d.ts +1 -1
  27. package/dist/actions/cvms/get_cvm_init_scripts.d.ts +2 -2
  28. package/dist/actions/cvms/get_cvm_network.d.ts +2 -2
  29. package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +2 -2
  30. package/dist/actions/cvms/get_cvm_state.d.ts +6 -6
  31. package/dist/actions/cvms/get_cvm_stats.d.ts +2 -2
  32. package/dist/actions/cvms/get_cvm_status_batch.d.ts +10 -10
  33. package/dist/actions/cvms/get_cvm_user_config.d.ts +4 -4
  34. package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +2 -2
  35. package/dist/actions/cvms/patch_cvm.d.ts +10 -10
  36. package/dist/actions/cvms/provision_cvm.d.ts +23 -20
  37. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +49 -49
  38. package/dist/actions/cvms/put_cvm_init_scripts.d.ts +8 -8
  39. package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +25 -25
  40. package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +25 -25
  41. package/dist/actions/cvms/update_cvm_envs.d.ts +10 -10
  42. package/dist/actions/cvms/update_cvm_resources.d.ts +2 -2
  43. package/dist/actions/cvms/update_cvm_visibility.d.ts +14 -14
  44. package/dist/actions/cvms/update_docker_compose.d.ts +10 -10
  45. package/dist/actions/cvms/update_os_image.d.ts +8 -8
  46. package/dist/actions/cvms/update_prelaunch_script.d.ts +10 -10
  47. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +2 -2
  48. package/dist/actions/cvms/watch_cvm_state.d.ts +2 -2
  49. package/dist/actions/domains/create_app_domain.d.ts +139 -0
  50. package/dist/actions/domains/delete_app_domain.d.ts +120 -0
  51. package/dist/actions/domains/get_app_domain_guide.d.ts +67 -0
  52. package/dist/actions/domains/list_app_domains.d.ts +107 -0
  53. package/dist/actions/domains/list_domains.d.ts +157 -0
  54. package/dist/actions/domains/merge_app_domain_ingress.d.ts +120 -0
  55. package/dist/actions/domains/preflight_app_domain.d.ts +110 -0
  56. package/dist/actions/domains/schemas.d.ts +82 -0
  57. package/dist/actions/domains/verify_app_domain.d.ts +142 -0
  58. package/dist/actions/get_available_nodes.d.ts +16 -16
  59. package/dist/actions/index.d.ts +10 -0
  60. package/dist/actions/kms/get_app_env_encrypt_pubkey.d.ts +2 -2
  61. package/dist/actions/kms/get_kms_contract.d.ts +2 -2
  62. package/dist/actions/kms/get_kms_info.d.ts +2 -2
  63. package/dist/actions/kms/get_kms_list.d.ts +2 -2
  64. package/dist/actions/kms/get_kms_onchain_detail.d.ts +10 -10
  65. package/dist/actions/kms/list_kms_contract_nodes.d.ts +2 -2
  66. package/dist/actions/kms/list_kms_contracts.d.ts +2 -2
  67. package/dist/actions/kms/next_app_ids.d.ts +2 -2
  68. package/dist/actions/list-instance-types.d.ts +8 -8
  69. package/dist/actions/os_images/get_os_images.d.ts +2 -2
  70. package/dist/actions/ssh_keys/create_ssh_key.d.ts +6 -6
  71. package/dist/actions/ssh_keys/delete_ssh_key.d.ts +2 -2
  72. package/dist/actions/ssh_keys/get_cvm_ssh_keys.d.ts +2 -2
  73. package/dist/actions/ssh_keys/import_github_profile.d.ts +2 -2
  74. package/dist/actions/ssh_keys/sync_github_ssh_keys.d.ts +2 -2
  75. package/dist/actions/ssh_keys/update_cvm_ssh_keys.d.ts +8 -8
  76. package/dist/actions/workspaces/get_workspace.d.ts +8 -8
  77. package/dist/actions/workspaces/get_workspace_nodes.d.ts +12 -12
  78. package/dist/actions/workspaces/get_workspace_quotas.d.ts +2 -2
  79. package/dist/actions/workspaces/list_workspaces.d.ts +10 -10
  80. package/dist/create-client.d.ts +257 -134
  81. package/dist/credentials/current_user_v20260121.d.ts +2 -2
  82. package/dist/index.js +2356 -1455
  83. package/dist/index.mjs +2281 -1420
  84. package/dist/types/app_compose.d.ts +2 -2
  85. package/dist/types/app_info_v20260121.d.ts +60 -48
  86. package/dist/types/cvm_info_v20251028.d.ts +1 -0
  87. package/dist/types/cvm_info_v20260121.d.ts +41 -34
  88. package/dist/utils/define-action.d.ts +4 -4
  89. package/dist/utils/errors.d.ts +4 -0
  90. package/dist/utils/network.d.ts +6 -6
  91. package/package.json +25 -12
@@ -48,6 +48,14 @@ import { type CreateSshKeyRequest } from "./actions/ssh_keys/create_ssh_key";
48
48
  import { type DeleteSshKeyRequest } from "./actions/ssh_keys/delete_ssh_key";
49
49
  import { type SyncGithubSshKeysResponse } from "./actions/ssh_keys/sync_github_ssh_keys";
50
50
  import type { SshKey } from "./actions/ssh_keys/list_ssh_keys";
51
+ import { type ListDomainsRequest, type ListDomainsResponse } from "./actions/domains/list_domains";
52
+ import { type ListAppDomainsRequest, type ListAppDomainsResponse } from "./actions/domains/list_app_domains";
53
+ import { type GetAppDomainGuideRequest, type AppDomainGuide } from "./actions/domains/get_app_domain_guide";
54
+ import { type PreflightAppDomainRequest, type PreflightAppDomainResponse } from "./actions/domains/preflight_app_domain";
55
+ import { type CreateAppDomainRequest, type CreateAppDomainResponse } from "./actions/domains/create_app_domain";
56
+ import { type VerifyAppDomainRequest, type VerifyAppDomainResponse } from "./actions/domains/verify_app_domain";
57
+ import { type DeleteAppDomainRequest, type DeleteAppDomainResponse } from "./actions/domains/delete_app_domain";
58
+ import { type MergeAppDomainIngressRequest, type MergeAppDomainIngressResponse } from "./actions/domains/merge_app_domain_ingress";
51
59
  import { type GetOsImagesRequest, type GetOsImagesResponse } from "./actions/os_images/get_os_images";
52
60
  import { type GetKmsOnChainDetailRequest, type GetKmsOnChainDetailResponse } from "./actions/kms/get_kms_onchain_detail";
53
61
  import type { KmsInfo } from "./types/kms_info";
@@ -59,19 +67,19 @@ declare const additionalActions: {
59
67
  [x: string]: unknown;
60
68
  items: {
61
69
  object_type: "node";
70
+ id?: number | null | undefined;
71
+ name?: string | null | undefined;
72
+ region?: string | null | undefined;
73
+ device_id?: string | null | undefined;
62
74
  device_ids: {
63
75
  device_id: string;
64
76
  algorithm_version: string;
65
77
  enabled: boolean;
66
78
  }[];
67
- node: string;
68
- id?: number | null | undefined;
69
- name?: string | null | undefined;
70
- region?: string | null | undefined;
71
- device_id?: string | null | undefined;
72
79
  ppid?: string | null | undefined;
73
80
  status?: string | null | undefined;
74
81
  version?: string | null | undefined;
82
+ node: string;
75
83
  }[];
76
84
  total: number;
77
85
  page: number;
@@ -80,7 +88,7 @@ declare const additionalActions: {
80
88
  }>;
81
89
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: actions.GetWorkspaceNodesRequest, parameters: {
82
90
  schema: T;
83
- }): Promise<z.core.output<T>>;
91
+ }): Promise<z.infer<T>>;
84
92
  (client: BaseClient<ApiVersion>, params: actions.GetWorkspaceNodesRequest, parameters: {
85
93
  schema: false;
86
94
  }): Promise<unknown>;
@@ -90,19 +98,19 @@ declare const additionalActions: {
90
98
  [x: string]: unknown;
91
99
  items: {
92
100
  object_type: "node";
101
+ id?: number | null | undefined;
102
+ name?: string | null | undefined;
103
+ region?: string | null | undefined;
104
+ device_id?: string | null | undefined;
93
105
  device_ids: {
94
106
  device_id: string;
95
107
  algorithm_version: string;
96
108
  enabled: boolean;
97
109
  }[];
98
- node: string;
99
- id?: number | null | undefined;
100
- name?: string | null | undefined;
101
- region?: string | null | undefined;
102
- device_id?: string | null | undefined;
103
110
  ppid?: string | null | undefined;
104
111
  status?: string | null | undefined;
105
112
  version?: string | null | undefined;
113
+ node: string;
106
114
  }[];
107
115
  total: number;
108
116
  page: number;
@@ -111,7 +119,7 @@ declare const additionalActions: {
111
119
  }>>;
112
120
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: actions.GetWorkspaceNodesRequest, parameters: {
113
121
  schema: T;
114
- }): Promise<SafeResult<z.core.output<T>>>;
122
+ }): Promise<SafeResult<z.infer<T>>>;
115
123
  (client: BaseClient<ApiVersion>, params: actions.GetWorkspaceNodesRequest, parameters: {
116
124
  schema: false;
117
125
  }): Promise<SafeResult<unknown>>;
@@ -163,7 +171,7 @@ declare const additionalActions: {
163
171
  }>;
164
172
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: actions.GetWorkspaceQuotasRequest, parameters: {
165
173
  schema: T;
166
- }): Promise<z.core.output<T>>;
174
+ }): Promise<z.infer<T>>;
167
175
  (client: BaseClient<ApiVersion>, params: actions.GetWorkspaceQuotasRequest, parameters: {
168
176
  schema: false;
169
177
  }): Promise<unknown>;
@@ -215,7 +223,7 @@ declare const additionalActions: {
215
223
  }>>;
216
224
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: actions.GetWorkspaceQuotasRequest, parameters: {
217
225
  schema: T;
218
- }): Promise<SafeResult<z.core.output<T>>>;
226
+ }): Promise<SafeResult<z.infer<T>>>;
219
227
  (client: BaseClient<ApiVersion>, params: actions.GetWorkspaceQuotasRequest, parameters: {
220
228
  schema: false;
221
229
  }): Promise<SafeResult<unknown>>;
@@ -261,7 +269,7 @@ declare const additionalActions: {
261
269
  tdx_measure_acpi_tables?: boolean | null | undefined;
262
270
  } | null | undefined;
263
271
  kms_enabled?: boolean | null | undefined;
264
- key_provider?: "none" | "kms" | "local" | "tpm" | null | undefined;
272
+ key_provider?: "kms" | "local" | "none" | "tpm" | null | undefined;
265
273
  key_provider_id?: string | null | undefined;
266
274
  local_key_provider_enabled?: boolean | null | undefined;
267
275
  manifest_version?: string | number | null | undefined;
@@ -361,7 +369,7 @@ declare const additionalActions: {
361
369
  tdx_measure_acpi_tables?: boolean | null | undefined;
362
370
  } | null | undefined;
363
371
  kms_enabled?: boolean | null | undefined;
364
- key_provider?: "none" | "kms" | "local" | "tpm" | null | undefined;
372
+ key_provider?: "kms" | "local" | "none" | "tpm" | null | undefined;
365
373
  key_provider_id?: string | null | undefined;
366
374
  local_key_provider_enabled?: boolean | null | undefined;
367
375
  manifest_version?: string | number | null | undefined;
@@ -398,7 +406,7 @@ declare const additionalActions: {
398
406
  prepareOnly?: boolean | undefined;
399
407
  }, parameters: {
400
408
  schema: T;
401
- }): Promise<z.core.output<T>>;
409
+ }): Promise<z.infer<T>>;
402
410
  (client: BaseClient<ApiVersion>, params: {
403
411
  id?: string | undefined;
404
412
  uuid?: string | undefined;
@@ -436,7 +444,7 @@ declare const additionalActions: {
436
444
  tdx_measure_acpi_tables?: boolean | null | undefined;
437
445
  } | null | undefined;
438
446
  kms_enabled?: boolean | null | undefined;
439
- key_provider?: "none" | "kms" | "local" | "tpm" | null | undefined;
447
+ key_provider?: "kms" | "local" | "none" | "tpm" | null | undefined;
440
448
  key_provider_id?: string | null | undefined;
441
449
  local_key_provider_enabled?: boolean | null | undefined;
442
450
  manifest_version?: string | number | null | undefined;
@@ -513,7 +521,7 @@ declare const additionalActions: {
513
521
  tdx_measure_acpi_tables?: boolean | null | undefined;
514
522
  } | null | undefined;
515
523
  kms_enabled?: boolean | null | undefined;
516
- key_provider?: "none" | "kms" | "local" | "tpm" | null | undefined;
524
+ key_provider?: "kms" | "local" | "none" | "tpm" | null | undefined;
517
525
  key_provider_id?: string | null | undefined;
518
526
  local_key_provider_enabled?: boolean | null | undefined;
519
527
  manifest_version?: string | number | null | undefined;
@@ -613,7 +621,7 @@ declare const additionalActions: {
613
621
  tdx_measure_acpi_tables?: boolean | null | undefined;
614
622
  } | null | undefined;
615
623
  kms_enabled?: boolean | null | undefined;
616
- key_provider?: "none" | "kms" | "local" | "tpm" | null | undefined;
624
+ key_provider?: "kms" | "local" | "none" | "tpm" | null | undefined;
617
625
  key_provider_id?: string | null | undefined;
618
626
  local_key_provider_enabled?: boolean | null | undefined;
619
627
  manifest_version?: string | number | null | undefined;
@@ -650,7 +658,7 @@ declare const additionalActions: {
650
658
  prepareOnly?: boolean | undefined;
651
659
  }, parameters: {
652
660
  schema: T;
653
- }): Promise<SafeResult<z.core.output<T>>>;
661
+ }): Promise<SafeResult<z.infer<T>>>;
654
662
  (client: BaseClient<ApiVersion>, params: {
655
663
  id?: string | undefined;
656
664
  uuid?: string | undefined;
@@ -688,7 +696,7 @@ declare const additionalActions: {
688
696
  tdx_measure_acpi_tables?: boolean | null | undefined;
689
697
  } | null | undefined;
690
698
  kms_enabled?: boolean | null | undefined;
691
- key_provider?: "none" | "kms" | "local" | "tpm" | null | undefined;
699
+ key_provider?: "kms" | "local" | "none" | "tpm" | null | undefined;
692
700
  key_provider_id?: string | null | undefined;
693
701
  local_key_provider_enabled?: boolean | null | undefined;
694
702
  manifest_version?: string | number | null | undefined;
@@ -729,148 +737,148 @@ declare const additionalActions: {
729
737
  };
730
738
  confirmCvmPatch: {
731
739
  (client: BaseClient<ApiVersion>, params: {
732
- composeHash: string;
733
- transactionHash: string;
734
740
  id?: string | undefined;
735
741
  uuid?: string | undefined;
736
742
  app_id?: string | undefined;
737
743
  instance_id?: string | undefined;
738
744
  name?: string | undefined;
745
+ composeHash: string;
746
+ transactionHash: string;
739
747
  }): Promise<{
740
748
  correlationId: string;
741
749
  }>;
742
750
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: {
743
- composeHash: string;
744
- transactionHash: string;
745
751
  id?: string | undefined;
746
752
  uuid?: string | undefined;
747
753
  app_id?: string | undefined;
748
754
  instance_id?: string | undefined;
749
755
  name?: string | undefined;
756
+ composeHash: string;
757
+ transactionHash: string;
750
758
  }, parameters: {
751
759
  schema: T;
752
- }): Promise<z.core.output<T>>;
760
+ }): Promise<z.infer<T>>;
753
761
  (client: BaseClient<ApiVersion>, params: {
754
- composeHash: string;
755
- transactionHash: string;
756
762
  id?: string | undefined;
757
763
  uuid?: string | undefined;
758
764
  app_id?: string | undefined;
759
765
  instance_id?: string | undefined;
760
766
  name?: string | undefined;
767
+ composeHash: string;
768
+ transactionHash: string;
761
769
  }, parameters: {
762
770
  schema: false;
763
771
  }): Promise<unknown>;
764
772
  };
765
773
  safeConfirmCvmPatch: {
766
774
  (client: BaseClient<ApiVersion>, params: {
767
- composeHash: string;
768
- transactionHash: string;
769
775
  id?: string | undefined;
770
776
  uuid?: string | undefined;
771
777
  app_id?: string | undefined;
772
778
  instance_id?: string | undefined;
773
779
  name?: string | undefined;
780
+ composeHash: string;
781
+ transactionHash: string;
774
782
  }): Promise<SafeResult<{
775
783
  correlationId: string;
776
784
  }>>;
777
785
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: {
778
- composeHash: string;
779
- transactionHash: string;
780
786
  id?: string | undefined;
781
787
  uuid?: string | undefined;
782
788
  app_id?: string | undefined;
783
789
  instance_id?: string | undefined;
784
790
  name?: string | undefined;
791
+ composeHash: string;
792
+ transactionHash: string;
785
793
  }, parameters: {
786
794
  schema: T;
787
- }): Promise<SafeResult<z.core.output<T>>>;
795
+ }): Promise<SafeResult<z.infer<T>>>;
788
796
  (client: BaseClient<ApiVersion>, params: {
789
- composeHash: string;
790
- transactionHash: string;
791
797
  id?: string | undefined;
792
798
  uuid?: string | undefined;
793
799
  app_id?: string | undefined;
794
800
  instance_id?: string | undefined;
795
801
  name?: string | undefined;
802
+ composeHash: string;
803
+ transactionHash: string;
796
804
  }, parameters: {
797
805
  schema: false;
798
806
  }): Promise<SafeResult<unknown>>;
799
807
  };
800
808
  commitCvmUpdate: {
801
809
  (client: BaseClient<ApiVersion>, params: {
802
- token: string;
803
- composeHash: string;
804
- transactionHash: string;
805
810
  id?: string | undefined;
806
811
  uuid?: string | undefined;
807
812
  app_id?: string | undefined;
808
813
  instance_id?: string | undefined;
809
814
  name?: string | undefined;
815
+ token: string;
816
+ composeHash: string;
817
+ transactionHash: string;
810
818
  }): Promise<{
811
819
  correlationId: string;
812
820
  status: string;
813
821
  }>;
814
822
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: {
815
- token: string;
816
- composeHash: string;
817
- transactionHash: string;
818
823
  id?: string | undefined;
819
824
  uuid?: string | undefined;
820
825
  app_id?: string | undefined;
821
826
  instance_id?: string | undefined;
822
827
  name?: string | undefined;
823
- }, parameters: {
824
- schema: T;
825
- }): Promise<z.core.output<T>>;
826
- (client: BaseClient<ApiVersion>, params: {
827
828
  token: string;
828
829
  composeHash: string;
829
830
  transactionHash: string;
831
+ }, parameters: {
832
+ schema: T;
833
+ }): Promise<z.infer<T>>;
834
+ (client: BaseClient<ApiVersion>, params: {
830
835
  id?: string | undefined;
831
836
  uuid?: string | undefined;
832
837
  app_id?: string | undefined;
833
838
  instance_id?: string | undefined;
834
839
  name?: string | undefined;
840
+ token: string;
841
+ composeHash: string;
842
+ transactionHash: string;
835
843
  }, parameters: {
836
844
  schema: false;
837
845
  }): Promise<unknown>;
838
846
  };
839
847
  safeCommitCvmUpdate: {
840
848
  (client: BaseClient<ApiVersion>, params: {
841
- token: string;
842
- composeHash: string;
843
- transactionHash: string;
844
849
  id?: string | undefined;
845
850
  uuid?: string | undefined;
846
851
  app_id?: string | undefined;
847
852
  instance_id?: string | undefined;
848
853
  name?: string | undefined;
854
+ token: string;
855
+ composeHash: string;
856
+ transactionHash: string;
849
857
  }): Promise<SafeResult<{
850
858
  correlationId: string;
851
859
  status: string;
852
860
  }>>;
853
861
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: {
854
- token: string;
855
- composeHash: string;
856
- transactionHash: string;
857
862
  id?: string | undefined;
858
863
  uuid?: string | undefined;
859
864
  app_id?: string | undefined;
860
865
  instance_id?: string | undefined;
861
866
  name?: string | undefined;
862
- }, parameters: {
863
- schema: T;
864
- }): Promise<SafeResult<z.core.output<T>>>;
865
- (client: BaseClient<ApiVersion>, params: {
866
867
  token: string;
867
868
  composeHash: string;
868
869
  transactionHash: string;
870
+ }, parameters: {
871
+ schema: T;
872
+ }): Promise<SafeResult<z.infer<T>>>;
873
+ (client: BaseClient<ApiVersion>, params: {
869
874
  id?: string | undefined;
870
875
  uuid?: string | undefined;
871
876
  app_id?: string | undefined;
872
877
  instance_id?: string | undefined;
873
878
  name?: string | undefined;
879
+ token: string;
880
+ composeHash: string;
881
+ transactionHash: string;
874
882
  }, parameters: {
875
883
  schema: false;
876
884
  }): Promise<SafeResult<unknown>>;
@@ -885,16 +893,16 @@ declare const additionalActions: {
885
893
  }): Promise<Record<string, {
886
894
  vm_uuid: string;
887
895
  status: string;
896
+ uptime?: string | null | undefined;
888
897
  in_progress: boolean;
898
+ boot_progress?: string | null | undefined;
899
+ boot_error?: string | null | undefined;
900
+ shutdown_progress?: string | null | undefined;
889
901
  events: {
890
902
  event: string;
891
903
  body: string;
892
904
  timestamp: number;
893
905
  }[];
894
- uptime?: string | null | undefined;
895
- boot_progress?: string | null | undefined;
896
- boot_error?: string | null | undefined;
897
- shutdown_progress?: string | null | undefined;
898
906
  operation?: {
899
907
  type?: string | null | undefined;
900
908
  phase?: string | null | undefined;
@@ -914,7 +922,7 @@ declare const additionalActions: {
914
922
  vmUuids: string[];
915
923
  }, parameters: {
916
924
  schema: T;
917
- }): Promise<z.core.output<T>>;
925
+ }): Promise<z.infer<T>>;
918
926
  (client: BaseClient<ApiVersion>, params: {
919
927
  vmUuids: string[];
920
928
  }, parameters: {
@@ -927,16 +935,16 @@ declare const additionalActions: {
927
935
  }): Promise<SafeResult<Record<string, {
928
936
  vm_uuid: string;
929
937
  status: string;
938
+ uptime?: string | null | undefined;
930
939
  in_progress: boolean;
940
+ boot_progress?: string | null | undefined;
941
+ boot_error?: string | null | undefined;
942
+ shutdown_progress?: string | null | undefined;
931
943
  events: {
932
944
  event: string;
933
945
  body: string;
934
946
  timestamp: number;
935
947
  }[];
936
- uptime?: string | null | undefined;
937
- boot_progress?: string | null | undefined;
938
- boot_error?: string | null | undefined;
939
- shutdown_progress?: string | null | undefined;
940
948
  operation?: {
941
949
  type?: string | null | undefined;
942
950
  phase?: string | null | undefined;
@@ -956,7 +964,7 @@ declare const additionalActions: {
956
964
  vmUuids: string[];
957
965
  }, parameters: {
958
966
  schema: T;
959
- }): Promise<SafeResult<z.core.output<T>>>;
967
+ }): Promise<SafeResult<z.infer<T>>>;
960
968
  (client: BaseClient<ApiVersion>, params: {
961
969
  vmUuids: string[];
962
970
  }, parameters: {
@@ -965,28 +973,28 @@ declare const additionalActions: {
965
973
  };
966
974
  getCvmUserConfig: {
967
975
  (client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput): Promise<{
968
- ssh_authorized_keys: string[];
969
976
  hostname?: string | null | undefined;
977
+ ssh_authorized_keys: string[];
970
978
  default_gateway_domain?: string | null | undefined;
971
979
  launch_token?: string | null | undefined;
972
980
  }>;
973
981
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
974
982
  schema: T;
975
- }): Promise<z.core.output<T>>;
983
+ }): Promise<z.infer<T>>;
976
984
  (client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
977
985
  schema: false;
978
986
  }): Promise<unknown>;
979
987
  };
980
988
  safeGetCvmUserConfig: {
981
989
  (client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput): Promise<SafeResult<{
982
- ssh_authorized_keys: string[];
983
990
  hostname?: string | null | undefined;
991
+ ssh_authorized_keys: string[];
984
992
  default_gateway_domain?: string | null | undefined;
985
993
  launch_token?: string | null | undefined;
986
994
  }>>;
987
995
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
988
996
  schema: T;
989
- }): Promise<SafeResult<z.core.output<T>>>;
997
+ }): Promise<SafeResult<z.infer<T>>>;
990
998
  (client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
991
999
  schema: false;
992
1000
  }): Promise<SafeResult<unknown>>;
@@ -997,7 +1005,7 @@ declare const additionalActions: {
997
1005
  }>;
998
1006
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
999
1007
  schema: T;
1000
- }): Promise<z.core.output<T>>;
1008
+ }): Promise<z.infer<T>>;
1001
1009
  (client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
1002
1010
  schema: false;
1003
1011
  }): Promise<unknown>;
@@ -1008,71 +1016,71 @@ declare const additionalActions: {
1008
1016
  }>>;
1009
1017
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
1010
1018
  schema: T;
1011
- }): Promise<SafeResult<z.core.output<T>>>;
1019
+ }): Promise<SafeResult<z.infer<T>>>;
1012
1020
  (client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
1013
1021
  schema: false;
1014
1022
  }): Promise<SafeResult<unknown>>;
1015
1023
  };
1016
1024
  updateCvmAnnotations: {
1017
1025
  (client: BaseClient<ApiVersion>, params: {
1018
- annotations: Record<string, string>;
1019
1026
  id?: string | undefined;
1020
1027
  uuid?: string | undefined;
1021
1028
  app_id?: string | undefined;
1022
1029
  instance_id?: string | undefined;
1023
1030
  name?: string | undefined;
1031
+ annotations: Record<string, string>;
1024
1032
  }): Promise<{
1025
1033
  annotations: Record<string, string>;
1026
1034
  }>;
1027
1035
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: {
1028
- annotations: Record<string, string>;
1029
1036
  id?: string | undefined;
1030
1037
  uuid?: string | undefined;
1031
1038
  app_id?: string | undefined;
1032
1039
  instance_id?: string | undefined;
1033
1040
  name?: string | undefined;
1041
+ annotations: Record<string, string>;
1034
1042
  }, parameters: {
1035
1043
  schema: T;
1036
- }): Promise<z.core.output<T>>;
1044
+ }): Promise<z.infer<T>>;
1037
1045
  (client: BaseClient<ApiVersion>, params: {
1038
- annotations: Record<string, string>;
1039
1046
  id?: string | undefined;
1040
1047
  uuid?: string | undefined;
1041
1048
  app_id?: string | undefined;
1042
1049
  instance_id?: string | undefined;
1043
1050
  name?: string | undefined;
1051
+ annotations: Record<string, string>;
1044
1052
  }, parameters: {
1045
1053
  schema: false;
1046
1054
  }): Promise<unknown>;
1047
1055
  };
1048
1056
  safeUpdateCvmAnnotations: {
1049
1057
  (client: BaseClient<ApiVersion>, params: {
1050
- annotations: Record<string, string>;
1051
1058
  id?: string | undefined;
1052
1059
  uuid?: string | undefined;
1053
1060
  app_id?: string | undefined;
1054
1061
  instance_id?: string | undefined;
1055
1062
  name?: string | undefined;
1063
+ annotations: Record<string, string>;
1056
1064
  }): Promise<SafeResult<{
1057
1065
  annotations: Record<string, string>;
1058
1066
  }>>;
1059
1067
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: {
1060
- annotations: Record<string, string>;
1061
1068
  id?: string | undefined;
1062
1069
  uuid?: string | undefined;
1063
1070
  app_id?: string | undefined;
1064
1071
  instance_id?: string | undefined;
1065
1072
  name?: string | undefined;
1073
+ annotations: Record<string, string>;
1066
1074
  }, parameters: {
1067
1075
  schema: T;
1068
- }): Promise<SafeResult<z.core.output<T>>>;
1076
+ }): Promise<SafeResult<z.infer<T>>>;
1069
1077
  (client: BaseClient<ApiVersion>, params: {
1070
- annotations: Record<string, string>;
1071
1078
  id?: string | undefined;
1072
1079
  uuid?: string | undefined;
1073
1080
  app_id?: string | undefined;
1074
1081
  instance_id?: string | undefined;
1075
1082
  name?: string | undefined;
1083
+ annotations: Record<string, string>;
1076
1084
  }, parameters: {
1077
1085
  schema: false;
1078
1086
  }): Promise<SafeResult<unknown>>;
@@ -1089,7 +1097,7 @@ declare const additionalActions: {
1089
1097
  }>;
1090
1098
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
1091
1099
  schema: T;
1092
- }): Promise<z.core.output<T>>;
1100
+ }): Promise<z.infer<T>>;
1093
1101
  (client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
1094
1102
  schema: false;
1095
1103
  }): Promise<unknown>;
@@ -1106,19 +1114,19 @@ declare const additionalActions: {
1106
1114
  }>>;
1107
1115
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
1108
1116
  schema: T;
1109
- }): Promise<SafeResult<z.core.output<T>>>;
1117
+ }): Promise<SafeResult<z.infer<T>>>;
1110
1118
  (client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
1111
1119
  schema: false;
1112
1120
  }): Promise<SafeResult<unknown>>;
1113
1121
  };
1114
1122
  putCvmInitScripts: {
1115
1123
  (client: BaseClient<ApiVersion>, params: {
1116
- scripts: string[];
1117
1124
  id?: string | undefined;
1118
1125
  uuid?: string | undefined;
1119
1126
  app_id?: string | undefined;
1120
1127
  instance_id?: string | undefined;
1121
1128
  name?: string | undefined;
1129
+ scripts: string[];
1122
1130
  prepareOnly?: boolean | undefined;
1123
1131
  }): Promise<{
1124
1132
  requiresOnChainHash: false;
@@ -1149,23 +1157,23 @@ declare const additionalActions: {
1149
1157
  } | undefined;
1150
1158
  }>;
1151
1159
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: {
1152
- scripts: string[];
1153
1160
  id?: string | undefined;
1154
1161
  uuid?: string | undefined;
1155
1162
  app_id?: string | undefined;
1156
1163
  instance_id?: string | undefined;
1157
1164
  name?: string | undefined;
1165
+ scripts: string[];
1158
1166
  prepareOnly?: boolean | undefined;
1159
1167
  }, parameters: {
1160
1168
  schema: T;
1161
- }): Promise<z.core.output<T>>;
1169
+ }): Promise<z.infer<T>>;
1162
1170
  (client: BaseClient<ApiVersion>, params: {
1163
- scripts: string[];
1164
1171
  id?: string | undefined;
1165
1172
  uuid?: string | undefined;
1166
1173
  app_id?: string | undefined;
1167
1174
  instance_id?: string | undefined;
1168
1175
  name?: string | undefined;
1176
+ scripts: string[];
1169
1177
  prepareOnly?: boolean | undefined;
1170
1178
  }, parameters: {
1171
1179
  schema: false;
@@ -1173,12 +1181,12 @@ declare const additionalActions: {
1173
1181
  };
1174
1182
  safePutCvmInitScripts: {
1175
1183
  (client: BaseClient<ApiVersion>, params: {
1176
- scripts: string[];
1177
1184
  id?: string | undefined;
1178
1185
  uuid?: string | undefined;
1179
1186
  app_id?: string | undefined;
1180
1187
  instance_id?: string | undefined;
1181
1188
  name?: string | undefined;
1189
+ scripts: string[];
1182
1190
  prepareOnly?: boolean | undefined;
1183
1191
  }): Promise<SafeResult<{
1184
1192
  requiresOnChainHash: false;
@@ -1209,23 +1217,23 @@ declare const additionalActions: {
1209
1217
  } | undefined;
1210
1218
  }>>;
1211
1219
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: {
1212
- scripts: string[];
1213
1220
  id?: string | undefined;
1214
1221
  uuid?: string | undefined;
1215
1222
  app_id?: string | undefined;
1216
1223
  instance_id?: string | undefined;
1217
1224
  name?: string | undefined;
1225
+ scripts: string[];
1218
1226
  prepareOnly?: boolean | undefined;
1219
1227
  }, parameters: {
1220
1228
  schema: T;
1221
- }): Promise<SafeResult<z.core.output<T>>>;
1229
+ }): Promise<SafeResult<z.infer<T>>>;
1222
1230
  (client: BaseClient<ApiVersion>, params: {
1223
- scripts: string[];
1224
1231
  id?: string | undefined;
1225
1232
  uuid?: string | undefined;
1226
1233
  app_id?: string | undefined;
1227
1234
  instance_id?: string | undefined;
1228
1235
  name?: string | undefined;
1236
+ scripts: string[];
1229
1237
  prepareOnly?: boolean | undefined;
1230
1238
  }, parameters: {
1231
1239
  schema: false;
@@ -1244,7 +1252,7 @@ declare const additionalActions: {
1244
1252
  launchToken?: string | undefined;
1245
1253
  }, parameters: {
1246
1254
  schema: T;
1247
- }): Promise<z.core.output<T>>;
1255
+ }): Promise<z.infer<T>>;
1248
1256
  (client: BaseClient<ApiVersion>, params: {
1249
1257
  appId: string;
1250
1258
  launchToken?: string | undefined;
@@ -1265,7 +1273,7 @@ declare const additionalActions: {
1265
1273
  launchToken?: string | undefined;
1266
1274
  }, parameters: {
1267
1275
  schema: T;
1268
- }): Promise<SafeResult<z.core.output<T>>>;
1276
+ }): Promise<SafeResult<z.infer<T>>>;
1269
1277
  (client: BaseClient<ApiVersion>, params: {
1270
1278
  appId: string;
1271
1279
  launchToken?: string | undefined;
@@ -1281,7 +1289,7 @@ declare const additionalActions: {
1281
1289
  appId: string;
1282
1290
  }, parameters: {
1283
1291
  schema: T;
1284
- }): Promise<z.core.output<T>>;
1292
+ }): Promise<z.infer<T>>;
1285
1293
  (client: BaseClient<ApiVersion>, params: {
1286
1294
  appId: string;
1287
1295
  }, parameters: {
@@ -1296,7 +1304,7 @@ declare const additionalActions: {
1296
1304
  appId: string;
1297
1305
  }, parameters: {
1298
1306
  schema: T;
1299
- }): Promise<SafeResult<z.core.output<T>>>;
1307
+ }): Promise<SafeResult<z.infer<T>>>;
1300
1308
  (client: BaseClient<ApiVersion>, params: {
1301
1309
  appId: string;
1302
1310
  }, parameters: {
@@ -1319,7 +1327,7 @@ declare const additionalActions: {
1319
1327
  }>;
1320
1328
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
1321
1329
  schema: T;
1322
- }): Promise<z.core.output<T>>;
1330
+ }): Promise<z.infer<T>>;
1323
1331
  (client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
1324
1332
  schema: false;
1325
1333
  }): Promise<unknown>;
@@ -1340,19 +1348,19 @@ declare const additionalActions: {
1340
1348
  }>>;
1341
1349
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
1342
1350
  schema: T;
1343
- }): Promise<SafeResult<z.core.output<T>>>;
1351
+ }): Promise<SafeResult<z.infer<T>>>;
1344
1352
  (client: BaseClient<ApiVersion>, params: import("./types").CvmIdInput, parameters: {
1345
1353
  schema: false;
1346
1354
  }): Promise<SafeResult<unknown>>;
1347
1355
  };
1348
1356
  updateCvmSshKeys: {
1349
1357
  (client: BaseClient<ApiVersion>, params: {
1350
- ssh_key_ids: string[];
1351
1358
  id?: string | undefined;
1352
1359
  uuid?: string | undefined;
1353
1360
  app_id?: string | undefined;
1354
1361
  instance_id?: string | undefined;
1355
1362
  name?: string | undefined;
1363
+ ssh_key_ids: string[];
1356
1364
  usernames?: string[] | undefined;
1357
1365
  apply_now?: boolean | undefined;
1358
1366
  }): Promise<{
@@ -1369,24 +1377,24 @@ declare const additionalActions: {
1369
1377
  restart_required: boolean;
1370
1378
  }>;
1371
1379
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: {
1372
- ssh_key_ids: string[];
1373
1380
  id?: string | undefined;
1374
1381
  uuid?: string | undefined;
1375
1382
  app_id?: string | undefined;
1376
1383
  instance_id?: string | undefined;
1377
1384
  name?: string | undefined;
1385
+ ssh_key_ids: string[];
1378
1386
  usernames?: string[] | undefined;
1379
1387
  apply_now?: boolean | undefined;
1380
1388
  }, parameters: {
1381
1389
  schema: T;
1382
- }): Promise<z.core.output<T>>;
1390
+ }): Promise<z.infer<T>>;
1383
1391
  (client: BaseClient<ApiVersion>, params: {
1384
- ssh_key_ids: string[];
1385
1392
  id?: string | undefined;
1386
1393
  uuid?: string | undefined;
1387
1394
  app_id?: string | undefined;
1388
1395
  instance_id?: string | undefined;
1389
1396
  name?: string | undefined;
1397
+ ssh_key_ids: string[];
1390
1398
  usernames?: string[] | undefined;
1391
1399
  apply_now?: boolean | undefined;
1392
1400
  }, parameters: {
@@ -1395,12 +1403,12 @@ declare const additionalActions: {
1395
1403
  };
1396
1404
  safeUpdateCvmSshKeys: {
1397
1405
  (client: BaseClient<ApiVersion>, params: {
1398
- ssh_key_ids: string[];
1399
1406
  id?: string | undefined;
1400
1407
  uuid?: string | undefined;
1401
1408
  app_id?: string | undefined;
1402
1409
  instance_id?: string | undefined;
1403
1410
  name?: string | undefined;
1411
+ ssh_key_ids: string[];
1404
1412
  usernames?: string[] | undefined;
1405
1413
  apply_now?: boolean | undefined;
1406
1414
  }): Promise<SafeResult<{
@@ -1417,24 +1425,24 @@ declare const additionalActions: {
1417
1425
  restart_required: boolean;
1418
1426
  }>>;
1419
1427
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: {
1420
- ssh_key_ids: string[];
1421
1428
  id?: string | undefined;
1422
1429
  uuid?: string | undefined;
1423
1430
  app_id?: string | undefined;
1424
1431
  instance_id?: string | undefined;
1425
1432
  name?: string | undefined;
1433
+ ssh_key_ids: string[];
1426
1434
  usernames?: string[] | undefined;
1427
1435
  apply_now?: boolean | undefined;
1428
1436
  }, parameters: {
1429
1437
  schema: T;
1430
- }): Promise<SafeResult<z.core.output<T>>>;
1438
+ }): Promise<SafeResult<z.infer<T>>>;
1431
1439
  (client: BaseClient<ApiVersion>, params: {
1432
- ssh_key_ids: string[];
1433
1440
  id?: string | undefined;
1434
1441
  uuid?: string | undefined;
1435
1442
  app_id?: string | undefined;
1436
1443
  instance_id?: string | undefined;
1437
1444
  name?: string | undefined;
1445
+ ssh_key_ids: string[];
1438
1446
  usernames?: string[] | undefined;
1439
1447
  apply_now?: boolean | undefined;
1440
1448
  }, parameters: {
@@ -1447,7 +1455,7 @@ declare const additionalActions: {
1447
1455
  }): Promise<unknown>;
1448
1456
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, parameters: {
1449
1457
  schema: T;
1450
- }): Promise<z.core.output<T>>;
1458
+ }): Promise<z.infer<T>>;
1451
1459
  (client: BaseClient<ApiVersion>): Promise<void>;
1452
1460
  };
1453
1461
  safeRevokeCurrentApiToken: {
@@ -1456,7 +1464,7 @@ declare const additionalActions: {
1456
1464
  }): Promise<SafeResult<unknown>>;
1457
1465
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, parameters: {
1458
1466
  schema: T;
1459
- }): Promise<SafeResult<z.core.output<T>>>;
1467
+ }): Promise<SafeResult<z.infer<T>>>;
1460
1468
  (client: BaseClient<ApiVersion>): Promise<SafeResult<void>>;
1461
1469
  };
1462
1470
  checkCvmIsAllowed: typeof actions.checkCvmIsAllowed;
@@ -1474,8 +1482,8 @@ declare const additionalActions: {
1474
1482
  device_id: string;
1475
1483
  compose_hash_allowed: boolean;
1476
1484
  allow_any_device: boolean;
1477
- is_allowed: boolean;
1478
1485
  device_id_allowed?: boolean | null | undefined;
1486
+ is_allowed: boolean;
1479
1487
  error?: string | null | undefined;
1480
1488
  cvm_id?: string | undefined;
1481
1489
  }>;
@@ -1487,7 +1495,7 @@ declare const additionalActions: {
1487
1495
  chain_id?: number | undefined;
1488
1496
  }, parameters: {
1489
1497
  schema: T;
1490
- }): Promise<z.core.output<T>>;
1498
+ }): Promise<z.infer<T>>;
1491
1499
  (client: BaseClient<ApiVersion>, params: {
1492
1500
  appId: string;
1493
1501
  compose_hash: string;
@@ -1511,8 +1519,8 @@ declare const additionalActions: {
1511
1519
  device_id: string;
1512
1520
  compose_hash_allowed: boolean;
1513
1521
  allow_any_device: boolean;
1514
- is_allowed: boolean;
1515
1522
  device_id_allowed?: boolean | null | undefined;
1523
+ is_allowed: boolean;
1516
1524
  error?: string | null | undefined;
1517
1525
  cvm_id?: string | undefined;
1518
1526
  }>>;
@@ -1524,7 +1532,7 @@ declare const additionalActions: {
1524
1532
  chain_id?: number | undefined;
1525
1533
  }, parameters: {
1526
1534
  schema: T;
1527
- }): Promise<SafeResult<z.core.output<T>>>;
1535
+ }): Promise<SafeResult<z.infer<T>>>;
1528
1536
  (client: BaseClient<ApiVersion>, params: {
1529
1537
  appId: string;
1530
1538
  compose_hash: string;
@@ -1558,27 +1566,27 @@ declare const additionalActions: {
1558
1566
  name: string;
1559
1567
  status: string;
1560
1568
  teepod_id: number;
1561
- app_id: string;
1562
- vm_uuid: string | null;
1563
- instance_id: string | null;
1564
- vcpu: number;
1565
- memory: number;
1566
- disk_size: number;
1567
- created_at: string;
1568
- encrypted_env_pubkey: string | null;
1569
- id: string;
1570
1569
  teepod?: {
1571
1570
  id: number;
1572
1571
  name: string;
1573
1572
  region_identifier?: string | null | undefined;
1574
1573
  } | null | undefined;
1574
+ app_id: string;
1575
+ vm_uuid: string | null;
1576
+ instance_id: string | null;
1575
1577
  app_url?: string | null | undefined;
1576
1578
  base_image?: string | null | undefined;
1579
+ vcpu: number;
1580
+ memory: number;
1581
+ disk_size: number;
1577
1582
  manifest_version?: number | null | undefined;
1578
1583
  version?: string | null | undefined;
1579
1584
  runner?: string | null | undefined;
1580
1585
  docker_compose_file?: string | null | undefined;
1581
1586
  features?: string[] | null | undefined;
1587
+ created_at: string;
1588
+ encrypted_env_pubkey: string | null;
1589
+ id: string;
1582
1590
  user_id?: string | null | undefined;
1583
1591
  }>;
1584
1592
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: {
@@ -1593,7 +1601,7 @@ declare const additionalActions: {
1593
1601
  transaction_hash?: string | undefined;
1594
1602
  }, parameters: {
1595
1603
  schema: T;
1596
- }): Promise<z.core.output<T>>;
1604
+ }): Promise<z.infer<T>>;
1597
1605
  (client: BaseClient<ApiVersion>, params: {
1598
1606
  appId: string;
1599
1607
  name?: string | undefined;
@@ -1623,27 +1631,27 @@ declare const additionalActions: {
1623
1631
  name: string;
1624
1632
  status: string;
1625
1633
  teepod_id: number;
1626
- app_id: string;
1627
- vm_uuid: string | null;
1628
- instance_id: string | null;
1629
- vcpu: number;
1630
- memory: number;
1631
- disk_size: number;
1632
- created_at: string;
1633
- encrypted_env_pubkey: string | null;
1634
- id: string;
1635
1634
  teepod?: {
1636
1635
  id: number;
1637
1636
  name: string;
1638
1637
  region_identifier?: string | null | undefined;
1639
1638
  } | null | undefined;
1639
+ app_id: string;
1640
+ vm_uuid: string | null;
1641
+ instance_id: string | null;
1640
1642
  app_url?: string | null | undefined;
1641
1643
  base_image?: string | null | undefined;
1644
+ vcpu: number;
1645
+ memory: number;
1646
+ disk_size: number;
1642
1647
  manifest_version?: number | null | undefined;
1643
1648
  version?: string | null | undefined;
1644
1649
  runner?: string | null | undefined;
1645
1650
  docker_compose_file?: string | null | undefined;
1646
1651
  features?: string[] | null | undefined;
1652
+ created_at: string;
1653
+ encrypted_env_pubkey: string | null;
1654
+ id: string;
1647
1655
  user_id?: string | null | undefined;
1648
1656
  }>>;
1649
1657
  <T extends z.ZodTypeAny>(client: BaseClient<ApiVersion>, params: {
@@ -1658,7 +1666,7 @@ declare const additionalActions: {
1658
1666
  transaction_hash?: string | undefined;
1659
1667
  }, parameters: {
1660
1668
  schema: T;
1661
- }): Promise<SafeResult<z.core.output<T>>>;
1669
+ }): Promise<SafeResult<z.infer<T>>>;
1662
1670
  (client: BaseClient<ApiVersion>, params: {
1663
1671
  appId: string;
1664
1672
  name?: string | undefined;
@@ -1713,6 +1721,7 @@ declare const additionalActions: {
1713
1721
  pcesvn?: number | null | undefined;
1714
1722
  tcb_info?: {
1715
1723
  mrtd: string;
1724
+ rootfs_hash?: string | null | undefined;
1716
1725
  rtmr0: string;
1717
1726
  rtmr1: string;
1718
1727
  rtmr2: string;
@@ -1725,7 +1734,6 @@ declare const additionalActions: {
1725
1734
  event_payload: string;
1726
1735
  }[];
1727
1736
  app_compose: string;
1728
- rootfs_hash?: string | null | undefined;
1729
1737
  } | null | undefined;
1730
1738
  app_certificates?: {
1731
1739
  subject: {
@@ -1776,7 +1784,7 @@ declare const additionalActions: {
1776
1784
  appId: string;
1777
1785
  }, parameters: {
1778
1786
  schema: T;
1779
- }): Promise<z.core.output<T>>;
1787
+ }): Promise<z.infer<T>>;
1780
1788
  (client: BaseClient<ApiVersion>, params: {
1781
1789
  appId: string;
1782
1790
  }, parameters: {
@@ -1815,6 +1823,7 @@ declare const additionalActions: {
1815
1823
  pcesvn?: number | null | undefined;
1816
1824
  tcb_info?: {
1817
1825
  mrtd: string;
1826
+ rootfs_hash?: string | null | undefined;
1818
1827
  rtmr0: string;
1819
1828
  rtmr1: string;
1820
1829
  rtmr2: string;
@@ -1827,7 +1836,6 @@ declare const additionalActions: {
1827
1836
  event_payload: string;
1828
1837
  }[];
1829
1838
  app_compose: string;
1830
- rootfs_hash?: string | null | undefined;
1831
1839
  } | null | undefined;
1832
1840
  app_certificates?: {
1833
1841
  subject: {
@@ -1878,7 +1886,7 @@ declare const additionalActions: {
1878
1886
  appId: string;
1879
1887
  }, parameters: {
1880
1888
  schema: T;
1881
- }): Promise<SafeResult<z.core.output<T>>>;
1889
+ }): Promise<SafeResult<z.infer<T>>>;
1882
1890
  (client: BaseClient<ApiVersion>, params: {
1883
1891
  appId: string;
1884
1892
  }, parameters: {
@@ -1905,6 +1913,9 @@ declare const onChainActions: {
1905
1913
  safeCheckComposeHashAllowed: typeof actions.safeCheckComposeHashAllowed;
1906
1914
  checkOnChainPrerequisites: typeof actions.checkOnChainPrerequisites;
1907
1915
  safeCheckOnChainPrerequisites: typeof actions.safeCheckOnChainPrerequisites;
1916
+ resolveAppEpochPlan: typeof actions.resolveAppEpochPlan;
1917
+ resolveAppEpochWritePlan: typeof actions.resolveAppEpochWritePlan;
1918
+ clearAppEpochProbeCache: typeof actions.clearAppEpochProbeCache;
1908
1919
  };
1909
1920
  type OnChainActions = typeof onChainActions;
1910
1921
  type VersionedAppAction = "getAppList" | "safeGetAppList" | "getAppInfo" | "safeGetAppInfo" | "getAppCvms" | "safeGetAppCvms" | "replicateCvm" | "safeReplicateCvm";
@@ -2648,6 +2659,118 @@ export interface Client<V extends ApiVersion = DefaultApiVersion> extends BaseCl
2648
2659
  safeSyncGithubSshKeys(parameters: {
2649
2660
  schema: false;
2650
2661
  }): Promise<SafeResult<unknown>>;
2662
+ listDomains(request?: ListDomainsRequest): Promise<ListDomainsResponse>;
2663
+ listDomains<T extends z.ZodTypeAny>(request: ListDomainsRequest | undefined, parameters: {
2664
+ schema: T;
2665
+ }): Promise<z.infer<T>>;
2666
+ listDomains(request: ListDomainsRequest | undefined, parameters: {
2667
+ schema: false;
2668
+ }): Promise<unknown>;
2669
+ safeListDomains(request?: ListDomainsRequest): Promise<SafeResult<ListDomainsResponse>>;
2670
+ safeListDomains<T extends z.ZodTypeAny>(request: ListDomainsRequest | undefined, parameters: {
2671
+ schema: T;
2672
+ }): Promise<SafeResult<z.infer<T>>>;
2673
+ safeListDomains(request: ListDomainsRequest | undefined, parameters: {
2674
+ schema: false;
2675
+ }): Promise<SafeResult<unknown>>;
2676
+ listAppDomains(request: ListAppDomainsRequest): Promise<ListAppDomainsResponse>;
2677
+ listAppDomains<T extends z.ZodTypeAny>(request: ListAppDomainsRequest, parameters: {
2678
+ schema: T;
2679
+ }): Promise<z.infer<T>>;
2680
+ listAppDomains(request: ListAppDomainsRequest, parameters: {
2681
+ schema: false;
2682
+ }): Promise<unknown>;
2683
+ safeListAppDomains(request: ListAppDomainsRequest): Promise<SafeResult<ListAppDomainsResponse>>;
2684
+ safeListAppDomains<T extends z.ZodTypeAny>(request: ListAppDomainsRequest, parameters: {
2685
+ schema: T;
2686
+ }): Promise<SafeResult<z.infer<T>>>;
2687
+ safeListAppDomains(request: ListAppDomainsRequest, parameters: {
2688
+ schema: false;
2689
+ }): Promise<SafeResult<unknown>>;
2690
+ getAppDomainGuide(request: GetAppDomainGuideRequest): Promise<AppDomainGuide>;
2691
+ getAppDomainGuide<T extends z.ZodTypeAny>(request: GetAppDomainGuideRequest, parameters: {
2692
+ schema: T;
2693
+ }): Promise<z.infer<T>>;
2694
+ getAppDomainGuide(request: GetAppDomainGuideRequest, parameters: {
2695
+ schema: false;
2696
+ }): Promise<unknown>;
2697
+ safeGetAppDomainGuide(request: GetAppDomainGuideRequest): Promise<SafeResult<AppDomainGuide>>;
2698
+ safeGetAppDomainGuide<T extends z.ZodTypeAny>(request: GetAppDomainGuideRequest, parameters: {
2699
+ schema: T;
2700
+ }): Promise<SafeResult<z.infer<T>>>;
2701
+ safeGetAppDomainGuide(request: GetAppDomainGuideRequest, parameters: {
2702
+ schema: false;
2703
+ }): Promise<SafeResult<unknown>>;
2704
+ preflightAppDomain(request: PreflightAppDomainRequest): Promise<PreflightAppDomainResponse>;
2705
+ preflightAppDomain<T extends z.ZodTypeAny>(request: PreflightAppDomainRequest, parameters: {
2706
+ schema: T;
2707
+ }): Promise<z.infer<T>>;
2708
+ preflightAppDomain(request: PreflightAppDomainRequest, parameters: {
2709
+ schema: false;
2710
+ }): Promise<unknown>;
2711
+ safePreflightAppDomain(request: PreflightAppDomainRequest): Promise<SafeResult<PreflightAppDomainResponse>>;
2712
+ safePreflightAppDomain<T extends z.ZodTypeAny>(request: PreflightAppDomainRequest, parameters: {
2713
+ schema: T;
2714
+ }): Promise<SafeResult<z.infer<T>>>;
2715
+ safePreflightAppDomain(request: PreflightAppDomainRequest, parameters: {
2716
+ schema: false;
2717
+ }): Promise<SafeResult<unknown>>;
2718
+ createAppDomain(request: CreateAppDomainRequest): Promise<CreateAppDomainResponse>;
2719
+ createAppDomain<T extends z.ZodTypeAny>(request: CreateAppDomainRequest, parameters: {
2720
+ schema: T;
2721
+ }): Promise<z.infer<T>>;
2722
+ createAppDomain(request: CreateAppDomainRequest, parameters: {
2723
+ schema: false;
2724
+ }): Promise<unknown>;
2725
+ safeCreateAppDomain(request: CreateAppDomainRequest): Promise<SafeResult<CreateAppDomainResponse>>;
2726
+ safeCreateAppDomain<T extends z.ZodTypeAny>(request: CreateAppDomainRequest, parameters: {
2727
+ schema: T;
2728
+ }): Promise<SafeResult<z.infer<T>>>;
2729
+ safeCreateAppDomain(request: CreateAppDomainRequest, parameters: {
2730
+ schema: false;
2731
+ }): Promise<SafeResult<unknown>>;
2732
+ verifyAppDomain(request: VerifyAppDomainRequest): Promise<VerifyAppDomainResponse>;
2733
+ verifyAppDomain<T extends z.ZodTypeAny>(request: VerifyAppDomainRequest, parameters: {
2734
+ schema: T;
2735
+ }): Promise<z.infer<T>>;
2736
+ verifyAppDomain(request: VerifyAppDomainRequest, parameters: {
2737
+ schema: false;
2738
+ }): Promise<unknown>;
2739
+ safeVerifyAppDomain(request: VerifyAppDomainRequest): Promise<SafeResult<VerifyAppDomainResponse>>;
2740
+ safeVerifyAppDomain<T extends z.ZodTypeAny>(request: VerifyAppDomainRequest, parameters: {
2741
+ schema: T;
2742
+ }): Promise<SafeResult<z.infer<T>>>;
2743
+ safeVerifyAppDomain(request: VerifyAppDomainRequest, parameters: {
2744
+ schema: false;
2745
+ }): Promise<SafeResult<unknown>>;
2746
+ deleteAppDomain(request: DeleteAppDomainRequest): Promise<DeleteAppDomainResponse>;
2747
+ deleteAppDomain<T extends z.ZodTypeAny>(request: DeleteAppDomainRequest, parameters: {
2748
+ schema: T;
2749
+ }): Promise<z.infer<T>>;
2750
+ deleteAppDomain(request: DeleteAppDomainRequest, parameters: {
2751
+ schema: false;
2752
+ }): Promise<unknown>;
2753
+ safeDeleteAppDomain(request: DeleteAppDomainRequest): Promise<SafeResult<DeleteAppDomainResponse>>;
2754
+ safeDeleteAppDomain<T extends z.ZodTypeAny>(request: DeleteAppDomainRequest, parameters: {
2755
+ schema: T;
2756
+ }): Promise<SafeResult<z.infer<T>>>;
2757
+ safeDeleteAppDomain(request: DeleteAppDomainRequest, parameters: {
2758
+ schema: false;
2759
+ }): Promise<SafeResult<unknown>>;
2760
+ mergeAppDomainIngress(request: MergeAppDomainIngressRequest): Promise<MergeAppDomainIngressResponse>;
2761
+ mergeAppDomainIngress<T extends z.ZodTypeAny>(request: MergeAppDomainIngressRequest, parameters: {
2762
+ schema: T;
2763
+ }): Promise<z.infer<T>>;
2764
+ mergeAppDomainIngress(request: MergeAppDomainIngressRequest, parameters: {
2765
+ schema: false;
2766
+ }): Promise<unknown>;
2767
+ safeMergeAppDomainIngress(request: MergeAppDomainIngressRequest): Promise<SafeResult<MergeAppDomainIngressResponse>>;
2768
+ safeMergeAppDomainIngress<T extends z.ZodTypeAny>(request: MergeAppDomainIngressRequest, parameters: {
2769
+ schema: T;
2770
+ }): Promise<SafeResult<z.infer<T>>>;
2771
+ safeMergeAppDomainIngress(request: MergeAppDomainIngressRequest, parameters: {
2772
+ schema: false;
2773
+ }): Promise<SafeResult<unknown>>;
2651
2774
  getOsImages(request?: GetOsImagesRequest): Promise<GetOsImagesResponse>;
2652
2775
  getOsImages<T extends z.ZodTypeAny>(request: GetOsImagesRequest | undefined, parameters: {
2653
2776
  schema: T;