@phala/cloud 0.3.0 → 0.5.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 (112) hide show
  1. package/README.md +20 -0
  2. package/dist/actions/api_tokens/revoke_current_api_token.d.ts +47 -0
  3. package/dist/actions/apps/app_launch_token.d.ts +121 -0
  4. package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +17 -311
  5. package/dist/actions/apps/check_app_is_allowed.d.ts +20 -32
  6. package/dist/actions/apps/create_app_instance.d.ts +43 -63
  7. package/dist/actions/apps/get_app_attestation.d.ts +116 -772
  8. package/dist/actions/apps/get_app_cvms.d.ts +1 -5
  9. package/dist/actions/apps/get_app_device_allowlist.d.ts +26 -272
  10. package/dist/actions/apps/get_app_filter_options.d.ts +8 -24
  11. package/dist/actions/apps/get_app_info.d.ts +1 -5
  12. package/dist/actions/apps/get_app_list.d.ts +2 -26
  13. package/dist/actions/apps/get_app_revision_detail.d.ts +1 -9
  14. package/dist/actions/apps/get_app_revisions.d.ts +1 -9
  15. package/dist/actions/blockchains/add_compose_hash.d.ts +1 -13
  16. package/dist/actions/blockchains/add_device.d.ts +1 -13
  17. package/dist/actions/blockchains/deploy_app_auth.d.ts +3 -95
  18. package/dist/actions/blockchains/get_allowed_devices.d.ts +2 -12
  19. package/dist/actions/blockchains/remove_device.d.ts +1 -13
  20. package/dist/actions/blockchains/set_allow_any_device.d.ts +1 -13
  21. package/dist/actions/cvms/check_cvm_is_allowed.d.ts +13 -138
  22. package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +9 -45
  23. package/dist/actions/cvms/commit_cvm_provision.d.ts +32 -416
  24. package/dist/actions/cvms/commit_cvm_update.d.ts +70 -41
  25. package/dist/actions/cvms/confirm_cvm_patch.d.ts +62 -35
  26. package/dist/actions/cvms/cvm_annotations.d.ts +152 -0
  27. package/dist/actions/cvms/delete_cvm.d.ts +8 -14
  28. package/dist/actions/cvms/get_available_os_images.d.ts +70 -111
  29. package/dist/actions/cvms/get_cvm_attestation.d.ts +34 -392
  30. package/dist/actions/cvms/get_cvm_compose_file.d.ts +426 -512
  31. package/dist/actions/cvms/get_cvm_containers_stats.d.ts +25 -91
  32. package/dist/actions/cvms/get_cvm_docker_compose.d.ts +8 -14
  33. package/dist/actions/cvms/get_cvm_info.d.ts +6 -12
  34. package/dist/actions/cvms/get_cvm_init_scripts.d.ts +87 -0
  35. package/dist/actions/cvms/get_cvm_list.d.ts +9 -17
  36. package/dist/actions/cvms/get_cvm_network.d.ts +18 -50
  37. package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +8 -14
  38. package/dist/actions/cvms/get_cvm_state.d.ts +11 -37
  39. package/dist/actions/cvms/get_cvm_stats.d.ts +23 -149
  40. package/dist/actions/cvms/get_cvm_status_batch.d.ts +97 -64
  41. package/dist/actions/cvms/get_cvm_user_config.d.ts +13 -24
  42. package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +9 -27
  43. package/dist/actions/cvms/patch_cvm.d.ts +666 -287
  44. package/dist/actions/cvms/provision_cvm.d.ts +339 -725
  45. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +584 -777
  46. package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +74 -131
  47. package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +77 -297
  48. package/dist/actions/cvms/replicate_cvm.d.ts +7 -21
  49. package/dist/actions/cvms/restart_cvm.d.ts +3 -18
  50. package/dist/actions/cvms/shutdown_cvm.d.ts +6 -12
  51. package/dist/actions/cvms/start_cvm.d.ts +6 -12
  52. package/dist/actions/cvms/stop_cvm.d.ts +6 -12
  53. package/dist/actions/cvms/update_cvm_envs.d.ts +144 -195
  54. package/dist/actions/cvms/update_cvm_resources.d.ts +93 -37
  55. package/dist/actions/cvms/update_cvm_visibility.d.ts +90 -130
  56. package/dist/actions/cvms/update_docker_compose.d.ts +143 -187
  57. package/dist/actions/cvms/update_os_image.d.ts +55 -28
  58. package/dist/actions/cvms/update_prelaunch_script.d.ts +143 -187
  59. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +126 -185
  60. package/dist/actions/cvms/watch_cvm_state.d.ts +5 -15
  61. package/dist/actions/get_available_nodes.d.ts +201 -823
  62. package/dist/actions/get_cvm_create_resources.d.ts +150 -2150
  63. package/dist/actions/index.d.ts +14 -4
  64. package/dist/actions/kms/get_app_env_encrypt_pubkey.d.ts +11 -23
  65. package/dist/actions/kms/get_kms_contract.d.ts +57 -0
  66. package/dist/actions/kms/get_kms_info.d.ts +3 -7
  67. package/dist/actions/kms/get_kms_list.d.ts +43 -82
  68. package/dist/actions/kms/get_kms_onchain_detail.d.ts +72 -616
  69. package/dist/actions/kms/list_kms_contract_nodes.d.ts +66 -0
  70. package/dist/actions/kms/list_kms_contracts.d.ts +98 -0
  71. package/dist/actions/kms/next_app_ids.d.ts +5 -25
  72. package/dist/actions/list-instance-types.d.ts +77 -257
  73. package/dist/actions/os_images/get_os_images.d.ts +38 -152
  74. package/dist/actions/ssh_keys/create_ssh_key.d.ts +11 -17
  75. package/dist/actions/ssh_keys/delete_ssh_key.d.ts +3 -7
  76. package/dist/actions/ssh_keys/get_cvm_ssh_keys.d.ts +113 -0
  77. package/dist/actions/ssh_keys/import_github_profile.d.ts +7 -21
  78. package/dist/actions/ssh_keys/list_ssh_keys.d.ts +2 -50
  79. package/dist/actions/ssh_keys/sync_github_ssh_keys.d.ts +8 -20
  80. package/dist/actions/ssh_keys/update_cvm_ssh_keys.d.ts +140 -0
  81. package/dist/actions/workspaces/get_workspace.d.ts +32 -24
  82. package/dist/actions/workspaces/get_workspace_nodes.d.ts +56 -182
  83. package/dist/actions/workspaces/get_workspace_quotas.d.ts +107 -1021
  84. package/dist/actions/workspaces/list_workspaces.d.ts +69 -245
  85. package/dist/client.d.ts +27 -5
  86. package/dist/create-client.d.ts +1820 -1
  87. package/dist/credentials/current_user_v20251028.d.ts +1 -17
  88. package/dist/credentials/current_user_v20260121.d.ts +22 -227
  89. package/dist/index.d.ts +1 -2
  90. package/dist/index.js +5454 -4389
  91. package/dist/index.mjs +5396 -4395
  92. package/dist/types/app_compose.d.ts +116 -184
  93. package/dist/types/app_info_v20251028.d.ts +29 -1030
  94. package/dist/types/app_info_v20260121.d.ts +686 -6832
  95. package/dist/types/app_revision.d.ts +15 -371
  96. package/dist/types/client.d.ts +18 -2
  97. package/dist/types/common.d.ts +6 -0
  98. package/dist/types/cvm_id.d.ts +12 -57
  99. package/dist/types/cvm_info.d.ts +33 -460
  100. package/dist/types/cvm_info_v20251028.d.ts +102 -800
  101. package/dist/types/cvm_info_v20260121.d.ts +411 -2347
  102. package/dist/types/kms_contract.d.ts +34 -0
  103. package/dist/types/kms_info.d.ts +34 -60
  104. package/dist/types/version-mappings.d.ts +6 -6
  105. package/dist/utils/define-action.d.ts +4 -4
  106. package/dist/utils/error_codes.d.ts +1 -0
  107. package/dist/utils/errors.d.ts +34 -37
  108. package/dist/utils/get_compose_hash.d.ts +59 -4
  109. package/dist/utils/get_mr_config_id.d.ts +146 -0
  110. package/dist/utils/index.d.ts +3 -2
  111. package/dist/utils/placement-request.d.ts +3 -0
  112. package/package.json +4 -4
@@ -1,24 +1,23 @@
1
1
  import { z } from "zod";
2
- export declare const BillingPeriodSchema: z.ZodEnum<["skip", "hourly", "monthly"]>;
2
+ export declare const BillingPeriodSchema: z.ZodEnum<{
3
+ skip: "skip";
4
+ hourly: "hourly";
5
+ monthly: "monthly";
6
+ }>;
3
7
  export type BillingPeriod = z.infer<typeof BillingPeriodSchema>;
4
- export declare const KmsTypeSchema: z.ZodEnum<["phala", "ethereum", "base", "legacy"]>;
8
+ export declare const KmsTypeSchema: z.ZodEnum<{
9
+ legacy: "legacy";
10
+ phala: "phala";
11
+ ethereum: "ethereum";
12
+ base: "base";
13
+ }>;
5
14
  export type KmsType = z.infer<typeof KmsTypeSchema>;
6
15
  export declare const UserRefSchema: z.ZodObject<{
7
16
  object_type: z.ZodLiteral<"user">;
8
17
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
18
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
19
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- }, "strip", z.ZodTypeAny, {
12
- object_type: "user";
13
- username?: string | null | undefined;
14
- id?: string | null | undefined;
15
- avatar_url?: string | null | undefined;
16
- }, {
17
- object_type: "user";
18
- username?: string | null | undefined;
19
- id?: string | null | undefined;
20
- avatar_url?: string | null | undefined;
21
- }>;
20
+ }, z.core.$strip>;
22
21
  export type UserRef = z.infer<typeof UserRefSchema>;
23
22
  export declare const WorkspaceRefSchema: z.ZodObject<{
24
23
  object_type: z.ZodLiteral<"workspace">;
@@ -26,19 +25,7 @@ export declare const WorkspaceRefSchema: z.ZodObject<{
26
25
  name: z.ZodString;
27
26
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
27
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, "strip", z.ZodTypeAny, {
30
- name: string;
31
- id: string;
32
- object_type: "workspace";
33
- slug?: string | null | undefined;
34
- avatar_url?: string | null | undefined;
35
- }, {
36
- name: string;
37
- id: string;
38
- object_type: "workspace";
39
- slug?: string | null | undefined;
40
- avatar_url?: string | null | undefined;
41
- }>;
28
+ }, z.core.$strip>;
42
29
  export type WorkspaceRef = z.infer<typeof WorkspaceRefSchema>;
43
30
  export declare const CvmResourceInfoV20260121Schema: z.ZodObject<{
44
31
  instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -47,149 +34,107 @@ export declare const CvmResourceInfoV20260121Schema: z.ZodObject<{
47
34
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
35
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
36
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
51
- }, "strip", z.ZodTypeAny, {
52
- vcpu?: number | null | undefined;
53
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
54
- instance_type?: string | null | undefined;
55
- memory_in_gb?: number | null | undefined;
56
- disk_in_gb?: number | null | undefined;
57
- gpus?: number | null | undefined;
58
- compute_billing_price?: string | null | undefined;
59
- }, {
60
- vcpu?: number | null | undefined;
61
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
62
- instance_type?: string | null | undefined;
63
- memory_in_gb?: number | null | undefined;
64
- disk_in_gb?: number | null | undefined;
65
- gpus?: number | null | undefined;
66
- compute_billing_price?: string | null | undefined;
67
- }>;
37
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38
+ skip: "skip";
39
+ hourly: "hourly";
40
+ monthly: "monthly";
41
+ }>>>;
42
+ }, z.core.$strip>;
68
43
  export type CvmResourceInfoV20260121 = z.infer<typeof CvmResourceInfoV20260121Schema>;
44
+ export declare const CvmHourlyRateV20260121Schema: z.ZodObject<{
45
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ }, z.core.$strip>;
49
+ export type CvmHourlyRateV20260121 = z.infer<typeof CvmHourlyRateV20260121Schema>;
50
+ export declare const CvmGpuRentalOrderInfoV20260121Schema: z.ZodObject<{
51
+ order_id: z.ZodString;
52
+ status: z.ZodString;
53
+ pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
56
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
58
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ }, z.core.$strip>;
68
+ export type CvmGpuRentalOrderInfoV20260121 = z.infer<typeof CvmGpuRentalOrderInfoV20260121Schema>;
69
69
  export declare const CvmOsInfoV20260121Schema: z.ZodObject<{
70
70
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
71
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
72
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
73
73
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
- }, "strip", z.ZodTypeAny, {
75
- name?: string | null | undefined;
76
- version?: string | null | undefined;
77
- is_dev?: boolean | null | undefined;
78
- os_image_hash?: string | null | undefined;
79
- }, {
80
- name?: string | null | undefined;
81
- version?: string | null | undefined;
82
- is_dev?: boolean | null | undefined;
83
- os_image_hash?: string | null | undefined;
84
- }>;
74
+ }, z.core.$strip>;
85
75
  export type CvmOsInfoV20260121 = z.infer<typeof CvmOsInfoV20260121Schema>;
86
- export declare const CvmKmsInfoV20260121Schema: z.ZodEffects<z.ZodObject<{
76
+ export declare const CvmKmsInfoV20260121Schema: z.ZodPipe<z.ZodObject<{
87
77
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
88
78
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
79
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
80
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
81
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
82
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
- }, "strip", z.ZodTypeAny, {
83
+ }, z.core.$strip>, z.ZodTransform<{
94
84
  chain_id?: number | null | undefined;
95
- encrypted_env_pubkey?: string | null | undefined;
96
- deployer_address?: string | null | undefined;
97
85
  dstack_kms_address?: string | null | undefined;
98
86
  dstack_app_address?: string | null | undefined;
99
- rpc_endpoint?: string | null | undefined;
100
- }, {
101
- chain_id?: number | null | undefined;
102
- encrypted_env_pubkey?: string | null | undefined;
103
87
  deployer_address?: string | null | undefined;
104
- dstack_kms_address?: string | null | undefined;
105
- dstack_app_address?: string | null | undefined;
106
88
  rpc_endpoint?: string | null | undefined;
107
- }>, {
108
- chain_id?: number | null | undefined;
109
89
  encrypted_env_pubkey?: string | null | undefined;
110
- deployer_address?: string | null | undefined;
111
- dstack_kms_address?: string | null | undefined;
112
- dstack_app_address?: string | null | undefined;
113
- rpc_endpoint?: string | null | undefined;
114
90
  }, {
115
91
  chain_id?: number | null | undefined;
116
- encrypted_env_pubkey?: string | null | undefined;
117
- deployer_address?: string | null | undefined;
118
92
  dstack_kms_address?: string | null | undefined;
119
93
  dstack_app_address?: string | null | undefined;
94
+ deployer_address?: string | null | undefined;
120
95
  rpc_endpoint?: string | null | undefined;
121
- }>;
96
+ encrypted_env_pubkey?: string | null | undefined;
97
+ }>>;
122
98
  export type CvmKmsInfoV20260121 = z.infer<typeof CvmKmsInfoV20260121Schema>;
123
99
  export declare const CvmProgressInfoV20260121Schema: z.ZodObject<{
124
100
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
101
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
102
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
- }, "strip", z.ZodTypeAny, {
128
- target?: string | null | undefined;
129
- started_at?: string | null | undefined;
130
- correlation_id?: string | null | undefined;
131
- }, {
132
- target?: string | null | undefined;
133
- started_at?: string | null | undefined;
134
- correlation_id?: string | null | undefined;
135
- }>;
103
+ }, z.core.$strip>;
136
104
  export type CvmProgressInfoV20260121 = z.infer<typeof CvmProgressInfoV20260121Schema>;
137
105
  export declare const CvmGatewayInfoV20260121Schema: z.ZodObject<{
138
106
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
107
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
140
- }, "strip", z.ZodTypeAny, {
141
- base_domain?: string | null | undefined;
142
- cname?: string | null | undefined;
143
- }, {
144
- base_domain?: string | null | undefined;
145
- cname?: string | null | undefined;
146
- }>;
108
+ }, z.core.$strip>;
147
109
  export type CvmGatewayInfoV20260121 = z.infer<typeof CvmGatewayInfoV20260121Schema>;
148
110
  export declare const CvmLogUrlsV20260121Schema: z.ZodObject<{
149
111
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
112
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
113
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
114
  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
- }>;
115
+ }, z.core.$strip>;
164
116
  export type CvmLogUrlsV20260121 = z.infer<typeof CvmLogUrlsV20260121Schema>;
117
+ export declare const DeviceIdEntrySchema: z.ZodObject<{
118
+ device_id: z.ZodString;
119
+ algorithm_version: z.ZodString;
120
+ enabled: z.ZodBoolean;
121
+ }, z.core.$strip>;
122
+ export type DeviceIdEntry = z.infer<typeof DeviceIdEntrySchema>;
165
123
  export declare const NodeRefSchema: z.ZodObject<{
166
124
  object_type: z.ZodLiteral<"node">;
167
125
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
168
126
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
169
127
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
128
  device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
+ device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
130
+ device_id: z.ZodString;
131
+ algorithm_version: z.ZodString;
132
+ enabled: z.ZodBoolean;
133
+ }, z.core.$strip>>>;
171
134
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
172
135
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
136
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
174
- }, "strip", z.ZodTypeAny, {
175
- object_type: "node";
176
- status?: string | null | undefined;
177
- name?: string | null | undefined;
178
- version?: string | null | undefined;
179
- id?: number | null | undefined;
180
- device_id?: string | null | undefined;
181
- region?: string | null | undefined;
182
- ppid?: string | null | undefined;
183
- }, {
184
- object_type: "node";
185
- status?: string | null | undefined;
186
- name?: string | null | undefined;
187
- version?: string | null | undefined;
188
- id?: number | null | undefined;
189
- device_id?: string | null | undefined;
190
- region?: string | null | undefined;
191
- ppid?: string | null | undefined;
192
- }>;
137
+ }, z.core.$strip>;
193
138
  export type NodeRef = z.infer<typeof NodeRefSchema>;
194
139
  export declare const CvmNodeInfoV20260121Schema: z.ZodObject<{
195
140
  object_type: z.ZodLiteral<"node">;
@@ -197,28 +142,15 @@ export declare const CvmNodeInfoV20260121Schema: z.ZodObject<{
197
142
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
143
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
199
144
  device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
145
+ device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
146
+ device_id: z.ZodString;
147
+ algorithm_version: z.ZodString;
148
+ enabled: z.ZodBoolean;
149
+ }, z.core.$strip>>>;
200
150
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
151
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
152
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
- }, "strip", z.ZodTypeAny, {
204
- object_type: "node";
205
- status?: string | null | undefined;
206
- name?: string | null | undefined;
207
- version?: string | null | undefined;
208
- id?: number | null | undefined;
209
- device_id?: string | null | undefined;
210
- region?: string | null | undefined;
211
- ppid?: string | null | undefined;
212
- }, {
213
- object_type: "node";
214
- status?: string | null | undefined;
215
- name?: string | null | undefined;
216
- version?: string | null | undefined;
217
- id?: number | null | undefined;
218
- device_id?: string | null | undefined;
219
- region?: string | null | undefined;
220
- ppid?: string | null | undefined;
221
- }>;
153
+ }, z.core.$strip>;
222
154
  export type CvmNodeInfoV20260121 = NodeRef;
223
155
  export declare const CvmInfoV20260121Schema: z.ZodObject<{
224
156
  id: z.ZodString;
@@ -233,165 +165,92 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
233
165
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
234
166
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
235
167
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
236
- billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
237
- }, "strip", z.ZodTypeAny, {
238
- vcpu?: number | null | undefined;
239
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
240
- instance_type?: string | null | undefined;
241
- memory_in_gb?: number | null | undefined;
242
- disk_in_gb?: number | null | undefined;
243
- gpus?: number | null | undefined;
244
- compute_billing_price?: string | null | undefined;
245
- }, {
246
- vcpu?: number | null | undefined;
247
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
248
- instance_type?: string | null | undefined;
249
- memory_in_gb?: number | null | undefined;
250
- disk_in_gb?: number | null | undefined;
251
- gpus?: number | null | undefined;
252
- compute_billing_price?: string | null | undefined;
253
- }>;
168
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
169
+ skip: "skip";
170
+ hourly: "hourly";
171
+ monthly: "monthly";
172
+ }>>>;
173
+ }, z.core.$strip>;
254
174
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
255
175
  object_type: z.ZodLiteral<"node">;
256
176
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
257
177
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
178
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
179
  device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
180
+ device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
181
+ device_id: z.ZodString;
182
+ algorithm_version: z.ZodString;
183
+ enabled: z.ZodBoolean;
184
+ }, z.core.$strip>>>;
260
185
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
261
186
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
262
187
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
263
- }, "strip", z.ZodTypeAny, {
264
- object_type: "node";
265
- status?: string | null | undefined;
266
- name?: string | null | undefined;
267
- version?: string | null | undefined;
268
- id?: number | null | undefined;
269
- device_id?: string | null | undefined;
270
- region?: string | null | undefined;
271
- ppid?: string | null | undefined;
272
- }, {
273
- object_type: "node";
274
- status?: string | null | undefined;
275
- name?: string | null | undefined;
276
- version?: string | null | undefined;
277
- id?: number | null | undefined;
278
- device_id?: string | null | undefined;
279
- region?: string | null | undefined;
280
- ppid?: string | null | undefined;
281
- }>>>;
188
+ }, z.core.$strip>>>;
282
189
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
283
190
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
284
191
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
285
192
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
286
193
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
287
- }, "strip", z.ZodTypeAny, {
288
- name?: string | null | undefined;
289
- version?: string | null | undefined;
290
- is_dev?: boolean | null | undefined;
291
- os_image_hash?: string | null | undefined;
292
- }, {
293
- name?: string | null | undefined;
294
- version?: string | null | undefined;
295
- is_dev?: boolean | null | undefined;
296
- os_image_hash?: string | null | undefined;
194
+ }, z.core.$strip>>>;
195
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
196
+ legacy: "legacy";
197
+ phala: "phala";
198
+ ethereum: "ethereum";
199
+ base: "base";
297
200
  }>>>;
298
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
299
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
201
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
300
202
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
301
203
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
302
204
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
303
205
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
304
206
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
305
207
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
306
- }, "strip", z.ZodTypeAny, {
208
+ }, z.core.$strip>, z.ZodTransform<{
307
209
  chain_id?: number | null | undefined;
308
- encrypted_env_pubkey?: string | null | undefined;
309
- deployer_address?: string | null | undefined;
310
210
  dstack_kms_address?: string | null | undefined;
311
211
  dstack_app_address?: string | null | undefined;
312
- rpc_endpoint?: string | null | undefined;
313
- }, {
314
- chain_id?: number | null | undefined;
315
- encrypted_env_pubkey?: string | null | undefined;
316
212
  deployer_address?: string | null | undefined;
317
- dstack_kms_address?: string | null | undefined;
318
- dstack_app_address?: string | null | undefined;
319
213
  rpc_endpoint?: string | null | undefined;
320
- }>, {
321
- chain_id?: number | null | undefined;
322
214
  encrypted_env_pubkey?: string | null | undefined;
323
- deployer_address?: string | null | undefined;
324
- dstack_kms_address?: string | null | undefined;
325
- dstack_app_address?: string | null | undefined;
326
- rpc_endpoint?: string | null | undefined;
327
215
  }, {
328
216
  chain_id?: number | null | undefined;
329
- encrypted_env_pubkey?: string | null | undefined;
330
- deployer_address?: string | null | undefined;
331
217
  dstack_kms_address?: string | null | undefined;
332
218
  dstack_app_address?: string | null | undefined;
219
+ deployer_address?: string | null | undefined;
333
220
  rpc_endpoint?: string | null | undefined;
334
- }>>>;
221
+ encrypted_env_pubkey?: string | null | undefined;
222
+ }>>>>;
335
223
  status: z.ZodString;
336
224
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
337
225
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
338
226
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
339
227
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
340
228
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
341
- }, "strip", z.ZodTypeAny, {
342
- target?: string | null | undefined;
343
- started_at?: string | null | undefined;
344
- correlation_id?: string | null | undefined;
345
- }, {
346
- target?: string | null | undefined;
347
- started_at?: string | null | undefined;
348
- correlation_id?: string | null | undefined;
349
- }>>>;
229
+ }, z.core.$strip>>>;
350
230
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
351
231
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
352
232
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
353
233
  gateway: z.ZodObject<{
354
234
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
355
235
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
356
- }, "strip", z.ZodTypeAny, {
357
- base_domain?: string | null | undefined;
358
- cname?: string | null | undefined;
359
- }, {
360
- base_domain?: string | null | undefined;
361
- cname?: string | null | undefined;
362
- }>;
236
+ }, z.core.$strip>;
363
237
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
364
238
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
365
239
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
366
240
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
367
241
  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
- }>>>;
379
- services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
242
+ }, z.core.$strip>>>;
243
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
380
244
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
381
245
  app: z.ZodString;
382
246
  instance: z.ZodString;
383
- }, "strip", z.ZodTypeAny, {
384
- app: string;
385
- instance: string;
386
- }, {
387
- app: string;
388
- instance: string;
389
- }>, "many">>>;
247
+ }, z.core.$strip>>>>;
390
248
  public_logs: z.ZodOptional<z.ZodBoolean>;
391
249
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
392
250
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
393
251
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
394
252
  secure_time: z.ZodOptional<z.ZodBoolean>;
253
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
395
254
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
396
255
  storage_fs: z.ZodOptional<z.ZodString>;
397
256
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -400,215 +259,41 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
400
259
  name: z.ZodString;
401
260
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
402
261
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
403
- }, "strip", z.ZodTypeAny, {
404
- name: string;
405
- id: string;
406
- object_type: "workspace";
407
- slug?: string | null | undefined;
408
- avatar_url?: string | null | undefined;
409
- }, {
410
- name: string;
411
- id: string;
412
- object_type: "workspace";
413
- slug?: string | null | undefined;
414
- avatar_url?: string | null | undefined;
415
- }>>>;
262
+ }, z.core.$strip>>>;
416
263
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
417
264
  object_type: z.ZodLiteral<"user">;
418
265
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
419
266
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
420
267
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
- }, "strip", z.ZodTypeAny, {
422
- object_type: "user";
423
- username?: string | null | undefined;
424
- id?: string | null | undefined;
425
- avatar_url?: string | null | undefined;
426
- }, {
427
- object_type: "user";
428
- username?: string | null | undefined;
429
- id?: string | null | undefined;
430
- avatar_url?: string | null | undefined;
431
- }>>>;
268
+ }, z.core.$strip>>>;
432
269
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
433
270
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
434
271
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
435
- }, "strip", z.ZodTypeAny, {
436
- status: string;
437
- name: string;
438
- id: string;
439
- gateway: {
440
- base_domain?: string | null | undefined;
441
- cname?: string | null | undefined;
442
- };
443
- listed: boolean;
444
- in_progress: boolean;
445
- resource: {
446
- vcpu?: number | null | undefined;
447
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
448
- instance_type?: string | null | undefined;
449
- memory_in_gb?: number | null | undefined;
450
- disk_in_gb?: number | null | undefined;
451
- gpus?: number | null | undefined;
452
- compute_billing_price?: string | null | undefined;
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
- };
460
- services: Record<string, any>[];
461
- workspace?: {
462
- name: string;
463
- id: string;
464
- object_type: "workspace";
465
- slug?: string | null | undefined;
466
- avatar_url?: string | null | undefined;
467
- } | null | undefined;
468
- app_id?: string | null | undefined;
469
- instance_id?: string | null | undefined;
470
- compose_hash?: string | null | undefined;
471
- vm_uuid?: string | null | undefined;
472
- created_at?: string | null | undefined;
473
- project_type?: string | null | undefined;
474
- kms_info?: {
475
- chain_id?: number | null | undefined;
476
- encrypted_env_pubkey?: string | null | undefined;
477
- deployer_address?: string | null | undefined;
478
- dstack_kms_address?: string | null | undefined;
479
- dstack_app_address?: string | null | undefined;
480
- rpc_endpoint?: string | null | undefined;
481
- } | null | undefined;
482
- public_sysinfo?: boolean | undefined;
483
- public_logs?: boolean | undefined;
484
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
485
- node_info?: {
486
- object_type: "node";
487
- status?: string | null | undefined;
488
- name?: string | null | undefined;
489
- version?: string | null | undefined;
490
- id?: number | null | undefined;
491
- device_id?: string | null | undefined;
492
- region?: string | null | undefined;
493
- ppid?: string | null | undefined;
494
- } | null | undefined;
495
- os?: {
496
- name?: string | null | undefined;
497
- version?: string | null | undefined;
498
- is_dev?: boolean | null | undefined;
499
- os_image_hash?: string | null | undefined;
500
- } | null | undefined;
501
- progress?: {
502
- target?: string | null | undefined;
503
- started_at?: string | null | undefined;
504
- correlation_id?: string | null | undefined;
505
- } | null | undefined;
506
- docker_compose_hash?: string | null | undefined;
507
- pre_launch_script_hash?: string | null | undefined;
508
- endpoints?: {
509
- app: string;
510
- instance: string;
511
- }[] | null | undefined;
512
- public_tcbinfo?: boolean | undefined;
513
- gateway_enabled?: boolean | undefined;
514
- secure_time?: boolean | undefined;
515
- storage_fs?: string | undefined;
516
- creator?: {
517
- object_type: "user";
518
- username?: string | null | undefined;
519
- id?: string | null | undefined;
520
- avatar_url?: string | null | undefined;
521
- } | null | undefined;
522
- deleted_at?: string | null | undefined;
523
- }, {
524
- status: string;
525
- name: string;
526
- id: string;
527
- gateway: {
528
- base_domain?: string | null | undefined;
529
- cname?: string | null | undefined;
530
- };
531
- resource: {
532
- vcpu?: number | null | undefined;
533
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
534
- instance_type?: string | null | undefined;
535
- memory_in_gb?: number | null | undefined;
536
- disk_in_gb?: number | null | undefined;
537
- gpus?: number | null | undefined;
538
- compute_billing_price?: string | null | undefined;
539
- };
540
- workspace?: {
541
- name: string;
542
- id: string;
543
- object_type: "workspace";
544
- slug?: string | null | undefined;
545
- avatar_url?: string | null | undefined;
546
- } | null | undefined;
547
- app_id?: string | null | undefined;
548
- instance_id?: string | null | undefined;
549
- compose_hash?: string | null | undefined;
550
- vm_uuid?: string | null | undefined;
551
- created_at?: string | null | undefined;
552
- listed?: boolean | undefined;
553
- in_progress?: boolean | undefined;
554
- project_type?: string | null | undefined;
555
- kms_info?: {
556
- chain_id?: number | null | undefined;
557
- encrypted_env_pubkey?: string | null | undefined;
558
- deployer_address?: string | null | undefined;
559
- dstack_kms_address?: string | null | undefined;
560
- dstack_app_address?: string | null | undefined;
561
- rpc_endpoint?: string | null | undefined;
562
- } | null | undefined;
563
- public_sysinfo?: boolean | undefined;
564
- public_logs?: boolean | undefined;
565
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
566
- node_info?: {
567
- object_type: "node";
568
- status?: string | null | undefined;
569
- name?: string | null | undefined;
570
- version?: string | null | undefined;
571
- id?: number | null | undefined;
572
- device_id?: string | null | undefined;
573
- region?: string | null | undefined;
574
- ppid?: string | null | undefined;
575
- } | null | undefined;
576
- os?: {
577
- name?: string | null | undefined;
578
- version?: string | null | undefined;
579
- is_dev?: boolean | null | undefined;
580
- os_image_hash?: string | null | undefined;
581
- } | null | undefined;
582
- progress?: {
583
- target?: string | null | undefined;
584
- started_at?: string | null | undefined;
585
- correlation_id?: string | null | undefined;
586
- } | 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;
595
- services?: Record<string, any>[] | undefined;
596
- endpoints?: {
597
- app: string;
598
- instance: string;
599
- }[] | null | undefined;
600
- public_tcbinfo?: boolean | undefined;
601
- gateway_enabled?: boolean | undefined;
602
- secure_time?: boolean | undefined;
603
- storage_fs?: string | undefined;
604
- creator?: {
605
- object_type: "user";
606
- username?: string | null | undefined;
607
- id?: string | null | undefined;
608
- avatar_url?: string | null | undefined;
609
- } | null | undefined;
610
- deleted_at?: string | null | undefined;
611
- }>;
272
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
273
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
274
+ compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
+ disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
276
+ }, z.core.$strip>>>;
277
+ billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
+ gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
279
+ order_id: z.ZodString;
280
+ status: z.ZodString;
281
+ pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
282
+ commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
283
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
284
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
285
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
286
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
287
+ agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
288
+ hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
289
+ activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
290
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
291
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
292
+ decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
+ sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
294
+ sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
295
+ }, z.core.$strip>>>;
296
+ }, z.core.$strip>;
612
297
  export type CvmInfoV20260121 = z.infer<typeof CvmInfoV20260121Schema>;
613
298
  export declare const CvmInfoV20260522Schema: z.ZodObject<{
614
299
  name: z.ZodString;
@@ -622,165 +307,92 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
622
307
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
623
308
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
624
309
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
625
- billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
626
- }, "strip", z.ZodTypeAny, {
627
- vcpu?: number | null | undefined;
628
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
629
- instance_type?: string | null | undefined;
630
- memory_in_gb?: number | null | undefined;
631
- disk_in_gb?: number | null | undefined;
632
- gpus?: number | null | undefined;
633
- compute_billing_price?: string | null | undefined;
634
- }, {
635
- vcpu?: number | null | undefined;
636
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
637
- instance_type?: string | null | undefined;
638
- memory_in_gb?: number | null | undefined;
639
- disk_in_gb?: number | null | undefined;
640
- gpus?: number | null | undefined;
641
- compute_billing_price?: string | null | undefined;
642
- }>;
310
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
311
+ skip: "skip";
312
+ hourly: "hourly";
313
+ monthly: "monthly";
314
+ }>>>;
315
+ }, z.core.$strip>;
643
316
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
644
317
  object_type: z.ZodLiteral<"node">;
645
318
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
646
319
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
647
320
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
648
321
  device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
322
+ device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
323
+ device_id: z.ZodString;
324
+ algorithm_version: z.ZodString;
325
+ enabled: z.ZodBoolean;
326
+ }, z.core.$strip>>>;
649
327
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
650
328
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
651
329
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
652
- }, "strip", z.ZodTypeAny, {
653
- object_type: "node";
654
- status?: string | null | undefined;
655
- name?: string | null | undefined;
656
- version?: string | null | undefined;
657
- id?: number | null | undefined;
658
- device_id?: string | null | undefined;
659
- region?: string | null | undefined;
660
- ppid?: string | null | undefined;
661
- }, {
662
- object_type: "node";
663
- status?: string | null | undefined;
664
- name?: string | null | undefined;
665
- version?: string | null | undefined;
666
- id?: number | null | undefined;
667
- device_id?: string | null | undefined;
668
- region?: string | null | undefined;
669
- ppid?: string | null | undefined;
670
- }>>>;
330
+ }, z.core.$strip>>>;
671
331
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
672
332
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
673
333
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
674
334
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
675
335
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
676
- }, "strip", z.ZodTypeAny, {
677
- name?: string | null | undefined;
678
- version?: string | null | undefined;
679
- is_dev?: boolean | null | undefined;
680
- os_image_hash?: string | null | undefined;
681
- }, {
682
- name?: string | null | undefined;
683
- version?: string | null | undefined;
684
- is_dev?: boolean | null | undefined;
685
- os_image_hash?: string | null | undefined;
336
+ }, z.core.$strip>>>;
337
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
338
+ legacy: "legacy";
339
+ phala: "phala";
340
+ ethereum: "ethereum";
341
+ base: "base";
686
342
  }>>>;
687
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
688
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
343
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
689
344
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
690
345
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
691
346
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
692
347
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
693
348
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
694
349
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
695
- }, "strip", z.ZodTypeAny, {
350
+ }, z.core.$strip>, z.ZodTransform<{
696
351
  chain_id?: number | null | undefined;
697
- encrypted_env_pubkey?: string | null | undefined;
698
- deployer_address?: string | null | undefined;
699
352
  dstack_kms_address?: string | null | undefined;
700
353
  dstack_app_address?: string | null | undefined;
701
- rpc_endpoint?: string | null | undefined;
702
- }, {
703
- chain_id?: number | null | undefined;
704
- encrypted_env_pubkey?: string | null | undefined;
705
354
  deployer_address?: string | null | undefined;
706
- dstack_kms_address?: string | null | undefined;
707
- dstack_app_address?: string | null | undefined;
708
355
  rpc_endpoint?: string | null | undefined;
709
- }>, {
710
- chain_id?: number | null | undefined;
711
356
  encrypted_env_pubkey?: string | null | undefined;
712
- deployer_address?: string | null | undefined;
713
- dstack_kms_address?: string | null | undefined;
714
- dstack_app_address?: string | null | undefined;
715
- rpc_endpoint?: string | null | undefined;
716
357
  }, {
717
358
  chain_id?: number | null | undefined;
718
- encrypted_env_pubkey?: string | null | undefined;
719
- deployer_address?: string | null | undefined;
720
359
  dstack_kms_address?: string | null | undefined;
721
360
  dstack_app_address?: string | null | undefined;
361
+ deployer_address?: string | null | undefined;
722
362
  rpc_endpoint?: string | null | undefined;
723
- }>>>;
363
+ encrypted_env_pubkey?: string | null | undefined;
364
+ }>>>>;
724
365
  status: z.ZodString;
725
366
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
726
367
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
727
368
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
728
369
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
729
370
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
730
- }, "strip", z.ZodTypeAny, {
731
- target?: string | null | undefined;
732
- started_at?: string | null | undefined;
733
- correlation_id?: string | null | undefined;
734
- }, {
735
- target?: string | null | undefined;
736
- started_at?: string | null | undefined;
737
- correlation_id?: string | null | undefined;
738
- }>>>;
371
+ }, z.core.$strip>>>;
739
372
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
740
373
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
741
374
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
742
375
  gateway: z.ZodObject<{
743
376
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
744
377
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
745
- }, "strip", z.ZodTypeAny, {
746
- base_domain?: string | null | undefined;
747
- cname?: string | null | undefined;
748
- }, {
749
- base_domain?: string | null | undefined;
750
- cname?: string | null | undefined;
751
- }>;
378
+ }, z.core.$strip>;
752
379
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
753
380
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
754
381
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
755
382
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
756
383
  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
- }>>>;
768
- services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
384
+ }, z.core.$strip>>>;
385
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
769
386
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
770
387
  app: z.ZodString;
771
388
  instance: z.ZodString;
772
- }, "strip", z.ZodTypeAny, {
773
- app: string;
774
- instance: string;
775
- }, {
776
- app: string;
777
- instance: string;
778
- }>, "many">>>;
389
+ }, z.core.$strip>>>>;
779
390
  public_logs: z.ZodOptional<z.ZodBoolean>;
780
391
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
781
392
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
782
393
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
783
394
  secure_time: z.ZodOptional<z.ZodBoolean>;
395
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
784
396
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
785
397
  storage_fs: z.ZodOptional<z.ZodString>;
786
398
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -789,217 +401,42 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
789
401
  name: z.ZodString;
790
402
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
791
403
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
792
- }, "strip", z.ZodTypeAny, {
793
- name: string;
794
- id: string;
795
- object_type: "workspace";
796
- slug?: string | null | undefined;
797
- avatar_url?: string | null | undefined;
798
- }, {
799
- name: string;
800
- id: string;
801
- object_type: "workspace";
802
- slug?: string | null | undefined;
803
- avatar_url?: string | null | undefined;
804
- }>>>;
404
+ }, z.core.$strip>>>;
805
405
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
806
406
  object_type: z.ZodLiteral<"user">;
807
407
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
808
408
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
809
409
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
810
- }, "strip", z.ZodTypeAny, {
811
- object_type: "user";
812
- username?: string | null | undefined;
813
- id?: string | null | undefined;
814
- avatar_url?: string | null | undefined;
815
- }, {
816
- object_type: "user";
817
- username?: string | null | undefined;
818
- id?: string | null | undefined;
819
- avatar_url?: string | null | undefined;
820
- }>>>;
410
+ }, z.core.$strip>>>;
821
411
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
822
412
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
823
413
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
824
- } & {
414
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
415
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
416
+ compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
417
+ disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
418
+ }, z.core.$strip>>>;
419
+ billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
420
+ gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
421
+ order_id: z.ZodString;
422
+ status: z.ZodString;
423
+ pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
424
+ commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
425
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
426
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
427
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
428
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
429
+ agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
430
+ hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
431
+ activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
432
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
433
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
434
+ decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
435
+ sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
436
+ sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
437
+ }, z.core.$strip>>>;
825
438
  id: z.ZodString;
826
- }, "strip", z.ZodTypeAny, {
827
- status: string;
828
- name: string;
829
- id: string;
830
- gateway: {
831
- base_domain?: string | null | undefined;
832
- cname?: string | null | undefined;
833
- };
834
- listed: boolean;
835
- in_progress: boolean;
836
- resource: {
837
- vcpu?: number | null | undefined;
838
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
839
- instance_type?: string | null | undefined;
840
- memory_in_gb?: number | null | undefined;
841
- disk_in_gb?: number | null | undefined;
842
- gpus?: number | null | undefined;
843
- compute_billing_price?: string | null | undefined;
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
- };
851
- services: Record<string, any>[];
852
- workspace?: {
853
- name: string;
854
- id: string;
855
- object_type: "workspace";
856
- slug?: string | null | undefined;
857
- avatar_url?: string | null | undefined;
858
- } | null | undefined;
859
- app_id?: string | null | undefined;
860
- instance_id?: string | null | undefined;
861
- compose_hash?: string | null | undefined;
862
- vm_uuid?: string | null | undefined;
863
- created_at?: string | null | undefined;
864
- project_type?: string | null | undefined;
865
- kms_info?: {
866
- chain_id?: number | null | undefined;
867
- encrypted_env_pubkey?: string | null | undefined;
868
- deployer_address?: string | null | undefined;
869
- dstack_kms_address?: string | null | undefined;
870
- dstack_app_address?: string | null | undefined;
871
- rpc_endpoint?: string | null | undefined;
872
- } | null | undefined;
873
- public_sysinfo?: boolean | undefined;
874
- public_logs?: boolean | undefined;
875
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
876
- node_info?: {
877
- object_type: "node";
878
- status?: string | null | undefined;
879
- name?: string | null | undefined;
880
- version?: string | null | undefined;
881
- id?: number | null | undefined;
882
- device_id?: string | null | undefined;
883
- region?: string | null | undefined;
884
- ppid?: string | null | undefined;
885
- } | null | undefined;
886
- os?: {
887
- name?: string | null | undefined;
888
- version?: string | null | undefined;
889
- is_dev?: boolean | null | undefined;
890
- os_image_hash?: string | null | undefined;
891
- } | null | undefined;
892
- progress?: {
893
- target?: string | null | undefined;
894
- started_at?: string | null | undefined;
895
- correlation_id?: string | null | undefined;
896
- } | null | undefined;
897
- docker_compose_hash?: string | null | undefined;
898
- pre_launch_script_hash?: string | null | undefined;
899
- endpoints?: {
900
- app: string;
901
- instance: string;
902
- }[] | null | undefined;
903
- public_tcbinfo?: boolean | undefined;
904
- gateway_enabled?: boolean | undefined;
905
- secure_time?: boolean | undefined;
906
- storage_fs?: string | undefined;
907
- creator?: {
908
- object_type: "user";
909
- username?: string | null | undefined;
910
- id?: string | null | undefined;
911
- avatar_url?: string | null | undefined;
912
- } | null | undefined;
913
- deleted_at?: string | null | undefined;
914
- }, {
915
- status: string;
916
- name: string;
917
- id: string;
918
- gateway: {
919
- base_domain?: string | null | undefined;
920
- cname?: string | null | undefined;
921
- };
922
- resource: {
923
- vcpu?: number | null | undefined;
924
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
925
- instance_type?: string | null | undefined;
926
- memory_in_gb?: number | null | undefined;
927
- disk_in_gb?: number | null | undefined;
928
- gpus?: number | null | undefined;
929
- compute_billing_price?: string | null | undefined;
930
- };
931
- workspace?: {
932
- name: string;
933
- id: string;
934
- object_type: "workspace";
935
- slug?: string | null | undefined;
936
- avatar_url?: string | null | undefined;
937
- } | null | undefined;
938
- app_id?: string | null | undefined;
939
- instance_id?: string | null | undefined;
940
- compose_hash?: string | null | undefined;
941
- vm_uuid?: string | null | undefined;
942
- created_at?: string | null | undefined;
943
- listed?: boolean | undefined;
944
- in_progress?: boolean | undefined;
945
- project_type?: string | null | undefined;
946
- kms_info?: {
947
- chain_id?: number | null | undefined;
948
- encrypted_env_pubkey?: string | null | undefined;
949
- deployer_address?: string | null | undefined;
950
- dstack_kms_address?: string | null | undefined;
951
- dstack_app_address?: string | null | undefined;
952
- rpc_endpoint?: string | null | undefined;
953
- } | null | undefined;
954
- public_sysinfo?: boolean | undefined;
955
- public_logs?: boolean | undefined;
956
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
957
- node_info?: {
958
- object_type: "node";
959
- status?: string | null | undefined;
960
- name?: string | null | undefined;
961
- version?: string | null | undefined;
962
- id?: number | null | undefined;
963
- device_id?: string | null | undefined;
964
- region?: string | null | undefined;
965
- ppid?: string | null | undefined;
966
- } | null | undefined;
967
- os?: {
968
- name?: string | null | undefined;
969
- version?: string | null | undefined;
970
- is_dev?: boolean | null | undefined;
971
- os_image_hash?: string | null | undefined;
972
- } | null | undefined;
973
- progress?: {
974
- target?: string | null | undefined;
975
- started_at?: string | null | undefined;
976
- correlation_id?: string | null | undefined;
977
- } | 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;
986
- services?: Record<string, any>[] | undefined;
987
- endpoints?: {
988
- app: string;
989
- instance: string;
990
- }[] | null | undefined;
991
- public_tcbinfo?: boolean | undefined;
992
- gateway_enabled?: boolean | undefined;
993
- secure_time?: boolean | undefined;
994
- storage_fs?: string | undefined;
995
- creator?: {
996
- object_type: "user";
997
- username?: string | null | undefined;
998
- id?: string | null | undefined;
999
- avatar_url?: string | null | undefined;
1000
- } | null | undefined;
1001
- deleted_at?: string | null | undefined;
1002
- }>;
439
+ }, z.core.$strip>;
1003
440
  export type CvmInfoV20260522 = z.infer<typeof CvmInfoV20260522Schema>;
1004
441
  export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1005
442
  id: z.ZodString;
@@ -1014,165 +451,92 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1014
451
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1015
452
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1016
453
  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
- }>;
454
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
455
+ skip: "skip";
456
+ hourly: "hourly";
457
+ monthly: "monthly";
458
+ }>>>;
459
+ }, z.core.$strip>;
1035
460
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1036
461
  object_type: z.ZodLiteral<"node">;
1037
462
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1038
463
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1039
464
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1040
465
  device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
466
+ device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
467
+ device_id: z.ZodString;
468
+ algorithm_version: z.ZodString;
469
+ enabled: z.ZodBoolean;
470
+ }, z.core.$strip>>>;
1041
471
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1042
472
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1043
473
  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
- device_id?: string | null | undefined;
1051
- region?: 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
- device_id?: string | null | undefined;
1060
- region?: string | null | undefined;
1061
- ppid?: string | null | undefined;
1062
- }>>>;
474
+ }, z.core.$strip>>>;
1063
475
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1064
476
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1065
477
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1066
478
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1067
479
  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;
480
+ }, z.core.$strip>>>;
481
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
482
+ legacy: "legacy";
483
+ phala: "phala";
484
+ ethereum: "ethereum";
485
+ base: "base";
1078
486
  }>>>;
1079
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
1080
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
487
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
1081
488
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1082
489
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1083
490
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1084
491
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1085
492
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1086
493
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1087
- }, "strip", z.ZodTypeAny, {
494
+ }, z.core.$strip>, z.ZodTransform<{
1088
495
  chain_id?: number | null | undefined;
1089
- encrypted_env_pubkey?: string | null | undefined;
1090
- deployer_address?: string | null | undefined;
1091
496
  dstack_kms_address?: string | null | undefined;
1092
497
  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
498
  deployer_address?: string | null | undefined;
1098
- dstack_kms_address?: string | null | undefined;
1099
- dstack_app_address?: string | null | undefined;
1100
499
  rpc_endpoint?: string | null | undefined;
1101
- }>, {
1102
- chain_id?: number | null | undefined;
1103
500
  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
501
  }, {
1109
502
  chain_id?: number | null | undefined;
1110
- encrypted_env_pubkey?: string | null | undefined;
1111
- deployer_address?: string | null | undefined;
1112
503
  dstack_kms_address?: string | null | undefined;
1113
504
  dstack_app_address?: string | null | undefined;
505
+ deployer_address?: string | null | undefined;
1114
506
  rpc_endpoint?: string | null | undefined;
1115
- }>>>;
507
+ encrypted_env_pubkey?: string | null | undefined;
508
+ }>>>>;
1116
509
  status: z.ZodString;
1117
510
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1118
511
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1119
512
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1120
513
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1121
514
  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
- }>>>;
515
+ }, z.core.$strip>>>;
1131
516
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1132
517
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1133
518
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1134
519
  gateway: z.ZodObject<{
1135
520
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1136
521
  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
- }>;
522
+ }, z.core.$strip>;
1144
523
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1145
524
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1146
525
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1147
526
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1148
527
  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">>>;
528
+ }, z.core.$strip>>>;
529
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1161
530
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1162
531
  app: z.ZodString;
1163
532
  instance: z.ZodString;
1164
- }, "strip", z.ZodTypeAny, {
1165
- app: string;
1166
- instance: string;
1167
- }, {
1168
- app: string;
1169
- instance: string;
1170
- }>, "many">>>;
533
+ }, z.core.$strip>>>>;
1171
534
  public_logs: z.ZodOptional<z.ZodBoolean>;
1172
535
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
1173
536
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
1174
537
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
1175
538
  secure_time: z.ZodOptional<z.ZodBoolean>;
539
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1176
540
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1177
541
  storage_fs: z.ZodOptional<z.ZodString>;
1178
542
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1181,219 +545,42 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1181
545
  name: z.ZodString;
1182
546
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1183
547
  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
- }>>>;
548
+ }, z.core.$strip>>>;
1197
549
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1198
550
  object_type: z.ZodLiteral<"user">;
1199
551
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1200
552
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1201
553
  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
- }>>>;
554
+ }, z.core.$strip>>>;
1213
555
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1214
556
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1215
557
  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
- gateway: {
1223
- base_domain?: string | null | undefined;
1224
- cname?: string | null | undefined;
1225
- };
1226
- listed: boolean;
1227
- in_progress: boolean;
1228
- resource: {
1229
- vcpu?: number | null | undefined;
1230
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1231
- instance_type?: string | null | undefined;
1232
- memory_in_gb?: number | null | undefined;
1233
- disk_in_gb?: number | null | undefined;
1234
- gpus?: number | null | undefined;
1235
- compute_billing_price?: 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
- compose_hash?: string | null | undefined;
1254
- vm_uuid?: string | null | undefined;
1255
- created_at?: string | null | undefined;
1256
- project_type?: string | null | undefined;
1257
- kms_info?: {
1258
- chain_id?: number | null | undefined;
1259
- encrypted_env_pubkey?: string | null | undefined;
1260
- deployer_address?: string | null | undefined;
1261
- dstack_kms_address?: string | null | undefined;
1262
- dstack_app_address?: string | null | undefined;
1263
- rpc_endpoint?: string | null | undefined;
1264
- } | null | undefined;
1265
- public_sysinfo?: boolean | undefined;
1266
- public_logs?: boolean | undefined;
1267
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
1268
- node_info?: {
1269
- object_type: "node";
1270
- status?: string | null | undefined;
1271
- name?: string | null | undefined;
1272
- version?: string | null | undefined;
1273
- id?: number | null | undefined;
1274
- device_id?: string | null | undefined;
1275
- region?: string | null | undefined;
1276
- ppid?: string | null | undefined;
1277
- } | null | undefined;
1278
- os?: {
1279
- name?: string | null | undefined;
1280
- version?: string | null | undefined;
1281
- is_dev?: boolean | null | undefined;
1282
- os_image_hash?: string | null | undefined;
1283
- } | null | undefined;
1284
- progress?: {
1285
- target?: string | null | undefined;
1286
- started_at?: string | null | undefined;
1287
- correlation_id?: string | null | undefined;
1288
- } | 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
- gateway: {
1312
- base_domain?: string | null | undefined;
1313
- cname?: string | null | undefined;
1314
- };
1315
- resource: {
1316
- vcpu?: number | null | undefined;
1317
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1318
- instance_type?: string | null | undefined;
1319
- memory_in_gb?: number | null | undefined;
1320
- disk_in_gb?: number | null | undefined;
1321
- gpus?: number | null | undefined;
1322
- compute_billing_price?: 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
- compose_hash?: string | null | undefined;
1334
- vm_uuid?: string | null | undefined;
1335
- created_at?: string | null | undefined;
1336
- listed?: boolean | undefined;
1337
- in_progress?: boolean | undefined;
1338
- project_type?: string | null | undefined;
1339
- kms_info?: {
1340
- chain_id?: number | null | undefined;
1341
- encrypted_env_pubkey?: string | null | undefined;
1342
- deployer_address?: string | null | undefined;
1343
- dstack_kms_address?: string | null | undefined;
1344
- dstack_app_address?: string | null | undefined;
1345
- rpc_endpoint?: string | null | undefined;
1346
- } | null | undefined;
1347
- public_sysinfo?: boolean | undefined;
1348
- public_logs?: boolean | undefined;
1349
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
1350
- node_info?: {
1351
- object_type: "node";
1352
- status?: string | null | undefined;
1353
- name?: string | null | undefined;
1354
- version?: string | null | undefined;
1355
- id?: number | null | undefined;
1356
- device_id?: string | null | undefined;
1357
- region?: string | null | undefined;
1358
- ppid?: string | null | undefined;
1359
- } | null | undefined;
1360
- os?: {
1361
- name?: string | null | undefined;
1362
- version?: string | null | undefined;
1363
- is_dev?: boolean | null | undefined;
1364
- os_image_hash?: string | null | undefined;
1365
- } | null | undefined;
1366
- progress?: {
1367
- target?: string | null | undefined;
1368
- started_at?: string | null | undefined;
1369
- correlation_id?: string | null | undefined;
1370
- } | 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
- }>;
558
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
559
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
560
+ compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
561
+ disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
562
+ }, z.core.$strip>>>;
563
+ billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
564
+ gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
565
+ order_id: z.ZodString;
566
+ status: z.ZodString;
567
+ pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
568
+ commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
569
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
570
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
571
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
572
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
573
+ agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
574
+ hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
+ activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
577
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
578
+ decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
579
+ sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
580
+ sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
581
+ }, z.core.$strip>>>;
582
+ compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
583
+ }, z.core.$strip>;
1397
584
  export type CvmInfoDetailV20260121 = z.infer<typeof CvmInfoDetailV20260121Schema>;
1398
585
  export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
1399
586
  name: z.ZodString;
@@ -1407,165 +594,92 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
1407
594
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1408
595
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1409
596
  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
- }>;
597
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
598
+ skip: "skip";
599
+ hourly: "hourly";
600
+ monthly: "monthly";
601
+ }>>>;
602
+ }, z.core.$strip>;
1428
603
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1429
604
  object_type: z.ZodLiteral<"node">;
1430
605
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1431
606
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1432
607
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1433
608
  device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
609
+ device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
610
+ device_id: z.ZodString;
611
+ algorithm_version: z.ZodString;
612
+ enabled: z.ZodBoolean;
613
+ }, z.core.$strip>>>;
1434
614
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1435
615
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1436
616
  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
- device_id?: string | null | undefined;
1444
- region?: 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
- device_id?: string | null | undefined;
1453
- region?: string | null | undefined;
1454
- ppid?: string | null | undefined;
1455
- }>>>;
617
+ }, z.core.$strip>>>;
1456
618
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1457
619
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1458
620
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1459
621
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1460
622
  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;
623
+ }, z.core.$strip>>>;
624
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
625
+ legacy: "legacy";
626
+ phala: "phala";
627
+ ethereum: "ethereum";
628
+ base: "base";
1471
629
  }>>>;
1472
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
1473
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
630
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
1474
631
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1475
632
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1476
633
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1477
634
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1478
635
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1479
636
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1480
- }, "strip", z.ZodTypeAny, {
637
+ }, z.core.$strip>, z.ZodTransform<{
1481
638
  chain_id?: number | null | undefined;
1482
- encrypted_env_pubkey?: string | null | undefined;
1483
- deployer_address?: string | null | undefined;
1484
639
  dstack_kms_address?: string | null | undefined;
1485
640
  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
641
  deployer_address?: string | null | undefined;
1491
- dstack_kms_address?: string | null | undefined;
1492
- dstack_app_address?: string | null | undefined;
1493
642
  rpc_endpoint?: string | null | undefined;
1494
- }>, {
1495
- chain_id?: number | null | undefined;
1496
643
  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
644
  }, {
1502
645
  chain_id?: number | null | undefined;
1503
- encrypted_env_pubkey?: string | null | undefined;
1504
- deployer_address?: string | null | undefined;
1505
646
  dstack_kms_address?: string | null | undefined;
1506
647
  dstack_app_address?: string | null | undefined;
648
+ deployer_address?: string | null | undefined;
1507
649
  rpc_endpoint?: string | null | undefined;
1508
- }>>>;
650
+ encrypted_env_pubkey?: string | null | undefined;
651
+ }>>>>;
1509
652
  status: z.ZodString;
1510
653
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1511
654
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1512
655
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1513
656
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1514
657
  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
- }>>>;
658
+ }, z.core.$strip>>>;
1524
659
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1525
660
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1526
661
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1527
662
  gateway: z.ZodObject<{
1528
663
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1529
664
  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
- }>;
665
+ }, z.core.$strip>;
1537
666
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1538
667
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1539
668
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1540
669
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1541
670
  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">>>;
671
+ }, z.core.$strip>>>;
672
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1554
673
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1555
674
  app: z.ZodString;
1556
675
  instance: z.ZodString;
1557
- }, "strip", z.ZodTypeAny, {
1558
- app: string;
1559
- instance: string;
1560
- }, {
1561
- app: string;
1562
- instance: string;
1563
- }>, "many">>>;
676
+ }, z.core.$strip>>>>;
1564
677
  public_logs: z.ZodOptional<z.ZodBoolean>;
1565
678
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
1566
679
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
1567
680
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
1568
681
  secure_time: z.ZodOptional<z.ZodBoolean>;
682
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1569
683
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1570
684
  storage_fs: z.ZodOptional<z.ZodString>;
1571
685
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1574,221 +688,43 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
1574
688
  name: z.ZodString;
1575
689
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1576
690
  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
- }>>>;
691
+ }, z.core.$strip>>>;
1590
692
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1591
693
  object_type: z.ZodLiteral<"user">;
1592
694
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1593
695
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1594
696
  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
- }>>>;
697
+ }, z.core.$strip>>>;
1606
698
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1607
699
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1608
700
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1609
- } & {
701
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
702
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
703
+ compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
704
+ disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
705
+ }, z.core.$strip>>>;
706
+ billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
707
+ gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
708
+ order_id: z.ZodString;
709
+ status: z.ZodString;
710
+ pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
711
+ commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
712
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
713
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
714
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
715
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
+ agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
717
+ hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
718
+ activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
719
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
720
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
721
+ decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
722
+ sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
723
+ sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
724
+ }, z.core.$strip>>>;
1610
725
  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
- gateway: {
1618
- base_domain?: string | null | undefined;
1619
- cname?: string | null | undefined;
1620
- };
1621
- listed: boolean;
1622
- in_progress: boolean;
1623
- resource: {
1624
- vcpu?: number | null | undefined;
1625
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1626
- instance_type?: string | null | undefined;
1627
- memory_in_gb?: number | null | undefined;
1628
- disk_in_gb?: number | null | undefined;
1629
- gpus?: number | null | undefined;
1630
- compute_billing_price?: 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
- compose_hash?: string | null | undefined;
1649
- vm_uuid?: string | null | undefined;
1650
- created_at?: string | null | undefined;
1651
- project_type?: string | null | undefined;
1652
- kms_info?: {
1653
- chain_id?: number | null | undefined;
1654
- encrypted_env_pubkey?: string | null | undefined;
1655
- deployer_address?: string | null | undefined;
1656
- dstack_kms_address?: string | null | undefined;
1657
- dstack_app_address?: string | null | undefined;
1658
- rpc_endpoint?: string | null | undefined;
1659
- } | null | undefined;
1660
- public_sysinfo?: boolean | undefined;
1661
- public_logs?: boolean | undefined;
1662
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
1663
- node_info?: {
1664
- object_type: "node";
1665
- status?: string | null | undefined;
1666
- name?: string | null | undefined;
1667
- version?: string | null | undefined;
1668
- id?: number | null | undefined;
1669
- device_id?: string | null | undefined;
1670
- region?: string | null | undefined;
1671
- ppid?: string | null | undefined;
1672
- } | null | undefined;
1673
- os?: {
1674
- name?: string | null | undefined;
1675
- version?: string | null | undefined;
1676
- is_dev?: boolean | null | undefined;
1677
- os_image_hash?: string | null | undefined;
1678
- } | null | undefined;
1679
- progress?: {
1680
- target?: string | null | undefined;
1681
- started_at?: string | null | undefined;
1682
- correlation_id?: string | null | undefined;
1683
- } | 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
- gateway: {
1707
- base_domain?: string | null | undefined;
1708
- cname?: string | null | undefined;
1709
- };
1710
- resource: {
1711
- vcpu?: number | null | undefined;
1712
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1713
- instance_type?: string | null | undefined;
1714
- memory_in_gb?: number | null | undefined;
1715
- disk_in_gb?: number | null | undefined;
1716
- gpus?: number | null | undefined;
1717
- compute_billing_price?: 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
- compose_hash?: string | null | undefined;
1729
- vm_uuid?: string | null | undefined;
1730
- created_at?: string | null | undefined;
1731
- listed?: boolean | undefined;
1732
- in_progress?: boolean | undefined;
1733
- project_type?: string | null | undefined;
1734
- kms_info?: {
1735
- chain_id?: number | null | undefined;
1736
- encrypted_env_pubkey?: string | null | undefined;
1737
- deployer_address?: string | null | undefined;
1738
- dstack_kms_address?: string | null | undefined;
1739
- dstack_app_address?: string | null | undefined;
1740
- rpc_endpoint?: string | null | undefined;
1741
- } | null | undefined;
1742
- public_sysinfo?: boolean | undefined;
1743
- public_logs?: boolean | undefined;
1744
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
1745
- node_info?: {
1746
- object_type: "node";
1747
- status?: string | null | undefined;
1748
- name?: string | null | undefined;
1749
- version?: string | null | undefined;
1750
- id?: number | null | undefined;
1751
- device_id?: string | null | undefined;
1752
- region?: string | null | undefined;
1753
- ppid?: string | null | undefined;
1754
- } | null | undefined;
1755
- os?: {
1756
- name?: string | null | undefined;
1757
- version?: string | null | undefined;
1758
- is_dev?: boolean | null | undefined;
1759
- os_image_hash?: string | null | undefined;
1760
- } | null | undefined;
1761
- progress?: {
1762
- target?: string | null | undefined;
1763
- started_at?: string | null | undefined;
1764
- correlation_id?: string | null | undefined;
1765
- } | 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
- }>;
726
+ compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
727
+ }, z.core.$strip>;
1792
728
  export type CvmInfoDetailV20260522 = z.infer<typeof CvmInfoDetailV20260522Schema>;
1793
729
  export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1794
730
  items: z.ZodArray<z.ZodObject<{
@@ -1804,165 +740,92 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1804
740
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1805
741
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1806
742
  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
- }>;
743
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
744
+ skip: "skip";
745
+ hourly: "hourly";
746
+ monthly: "monthly";
747
+ }>>>;
748
+ }, z.core.$strip>;
1825
749
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1826
750
  object_type: z.ZodLiteral<"node">;
1827
751
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1828
752
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1829
753
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1830
754
  device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
755
+ device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
756
+ device_id: z.ZodString;
757
+ algorithm_version: z.ZodString;
758
+ enabled: z.ZodBoolean;
759
+ }, z.core.$strip>>>;
1831
760
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1832
761
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1833
762
  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
- device_id?: string | null | undefined;
1841
- region?: 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
- device_id?: string | null | undefined;
1850
- region?: string | null | undefined;
1851
- ppid?: string | null | undefined;
1852
- }>>>;
763
+ }, z.core.$strip>>>;
1853
764
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1854
765
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1855
766
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1856
767
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1857
768
  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;
769
+ }, z.core.$strip>>>;
770
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
771
+ legacy: "legacy";
772
+ phala: "phala";
773
+ ethereum: "ethereum";
774
+ base: "base";
1868
775
  }>>>;
1869
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
1870
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
776
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
1871
777
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1872
778
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1873
779
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1874
780
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1875
781
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1876
782
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1877
- }, "strip", z.ZodTypeAny, {
783
+ }, z.core.$strip>, z.ZodTransform<{
1878
784
  chain_id?: number | null | undefined;
1879
- encrypted_env_pubkey?: string | null | undefined;
1880
- deployer_address?: string | null | undefined;
1881
785
  dstack_kms_address?: string | null | undefined;
1882
786
  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
787
  deployer_address?: string | null | undefined;
1888
- dstack_kms_address?: string | null | undefined;
1889
- dstack_app_address?: string | null | undefined;
1890
788
  rpc_endpoint?: string | null | undefined;
1891
- }>, {
1892
- chain_id?: number | null | undefined;
1893
789
  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
790
  }, {
1899
791
  chain_id?: number | null | undefined;
1900
- encrypted_env_pubkey?: string | null | undefined;
1901
- deployer_address?: string | null | undefined;
1902
792
  dstack_kms_address?: string | null | undefined;
1903
793
  dstack_app_address?: string | null | undefined;
794
+ deployer_address?: string | null | undefined;
1904
795
  rpc_endpoint?: string | null | undefined;
1905
- }>>>;
796
+ encrypted_env_pubkey?: string | null | undefined;
797
+ }>>>>;
1906
798
  status: z.ZodString;
1907
799
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1908
800
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1909
801
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1910
802
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1911
803
  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
- }>>>;
804
+ }, z.core.$strip>>>;
1921
805
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1922
806
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1923
807
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1924
808
  gateway: z.ZodObject<{
1925
809
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1926
810
  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
- }>;
811
+ }, z.core.$strip>;
1934
812
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1935
813
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1936
814
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1937
815
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1938
816
  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">>>;
817
+ }, z.core.$strip>>>;
818
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1951
819
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1952
820
  app: z.ZodString;
1953
821
  instance: z.ZodString;
1954
- }, "strip", z.ZodTypeAny, {
1955
- app: string;
1956
- instance: string;
1957
- }, {
1958
- app: string;
1959
- instance: string;
1960
- }>, "many">>>;
822
+ }, z.core.$strip>>>>;
1961
823
  public_logs: z.ZodOptional<z.ZodBoolean>;
1962
824
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
1963
825
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
1964
826
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
1965
827
  secure_time: z.ZodOptional<z.ZodBoolean>;
828
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1966
829
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1967
830
  storage_fs: z.ZodOptional<z.ZodString>;
1968
831
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1971,415 +834,52 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1971
834
  name: z.ZodString;
1972
835
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1973
836
  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
- }>>>;
837
+ }, z.core.$strip>>>;
1987
838
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1988
839
  object_type: z.ZodLiteral<"user">;
1989
840
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1990
841
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1991
842
  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
- }>>>;
843
+ }, z.core.$strip>>>;
2003
844
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2004
845
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2005
846
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2006
- }, "strip", z.ZodTypeAny, {
2007
- status: string;
2008
- name: string;
2009
- id: string;
2010
- gateway: {
2011
- base_domain?: string | null | undefined;
2012
- cname?: string | null | undefined;
2013
- };
2014
- listed: boolean;
2015
- in_progress: boolean;
2016
- resource: {
2017
- vcpu?: number | null | undefined;
2018
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2019
- instance_type?: string | null | undefined;
2020
- memory_in_gb?: number | null | undefined;
2021
- disk_in_gb?: number | null | undefined;
2022
- gpus?: number | null | undefined;
2023
- compute_billing_price?: 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
- compose_hash?: string | null | undefined;
2042
- vm_uuid?: string | null | undefined;
2043
- created_at?: string | null | undefined;
2044
- project_type?: string | null | undefined;
2045
- kms_info?: {
2046
- chain_id?: number | null | undefined;
2047
- encrypted_env_pubkey?: string | null | undefined;
2048
- deployer_address?: string | null | undefined;
2049
- dstack_kms_address?: string | null | undefined;
2050
- dstack_app_address?: string | null | undefined;
2051
- rpc_endpoint?: string | null | undefined;
2052
- } | null | undefined;
2053
- public_sysinfo?: boolean | undefined;
2054
- public_logs?: boolean | undefined;
2055
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2056
- node_info?: {
2057
- object_type: "node";
2058
- status?: string | null | undefined;
2059
- name?: string | null | undefined;
2060
- version?: string | null | undefined;
2061
- id?: number | null | undefined;
2062
- device_id?: string | null | undefined;
2063
- region?: string | null | undefined;
2064
- ppid?: string | null | undefined;
2065
- } | null | undefined;
2066
- os?: {
2067
- name?: string | null | undefined;
2068
- version?: string | null | undefined;
2069
- is_dev?: boolean | null | undefined;
2070
- os_image_hash?: string | null | undefined;
2071
- } | null | undefined;
2072
- progress?: {
2073
- target?: string | null | undefined;
2074
- started_at?: string | null | undefined;
2075
- correlation_id?: string | null | undefined;
2076
- } | 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
- gateway: {
2099
- base_domain?: string | null | undefined;
2100
- cname?: string | null | undefined;
2101
- };
2102
- resource: {
2103
- vcpu?: number | null | undefined;
2104
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2105
- instance_type?: string | null | undefined;
2106
- memory_in_gb?: number | null | undefined;
2107
- disk_in_gb?: number | null | undefined;
2108
- gpus?: number | null | undefined;
2109
- compute_billing_price?: 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
- compose_hash?: string | null | undefined;
2121
- vm_uuid?: string | null | undefined;
2122
- created_at?: string | null | undefined;
2123
- listed?: boolean | undefined;
2124
- in_progress?: boolean | undefined;
2125
- project_type?: string | null | undefined;
2126
- kms_info?: {
2127
- chain_id?: number | null | undefined;
2128
- encrypted_env_pubkey?: string | null | undefined;
2129
- deployer_address?: string | null | undefined;
2130
- dstack_kms_address?: string | null | undefined;
2131
- dstack_app_address?: string | null | undefined;
2132
- rpc_endpoint?: string | null | undefined;
2133
- } | null | undefined;
2134
- public_sysinfo?: boolean | undefined;
2135
- public_logs?: boolean | undefined;
2136
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2137
- node_info?: {
2138
- object_type: "node";
2139
- status?: string | null | undefined;
2140
- name?: string | null | undefined;
2141
- version?: string | null | undefined;
2142
- id?: number | null | undefined;
2143
- device_id?: string | null | undefined;
2144
- region?: string | null | undefined;
2145
- ppid?: string | null | undefined;
2146
- } | null | undefined;
2147
- os?: {
2148
- name?: string | null | undefined;
2149
- version?: string | null | undefined;
2150
- is_dev?: boolean | null | undefined;
2151
- os_image_hash?: string | null | undefined;
2152
- } | null | undefined;
2153
- progress?: {
2154
- target?: string | null | undefined;
2155
- started_at?: string | null | undefined;
2156
- correlation_id?: string | null | undefined;
2157
- } | 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">;
847
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
848
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
849
+ compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
850
+ disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
851
+ }, z.core.$strip>>>;
852
+ billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
853
+ gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
854
+ order_id: z.ZodString;
855
+ status: z.ZodString;
856
+ pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
857
+ commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
858
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
859
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
860
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
861
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
862
+ agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
863
+ hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
864
+ activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
865
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
866
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
867
+ decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
868
+ sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
869
+ sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
870
+ }, z.core.$strip>>>;
871
+ }, z.core.$strip>>;
2183
872
  total: z.ZodNumber;
2184
873
  page: z.ZodNumber;
2185
874
  page_size: z.ZodNumber;
2186
875
  pages: z.ZodNumber;
2187
- }, "strip", z.ZodTypeAny, {
2188
- total: number;
2189
- items: {
2190
- status: string;
2191
- name: string;
2192
- id: string;
2193
- gateway: {
2194
- base_domain?: string | null | undefined;
2195
- cname?: string | null | undefined;
2196
- };
2197
- listed: boolean;
2198
- in_progress: boolean;
2199
- resource: {
2200
- vcpu?: number | null | undefined;
2201
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2202
- instance_type?: string | null | undefined;
2203
- memory_in_gb?: number | null | undefined;
2204
- disk_in_gb?: number | null | undefined;
2205
- gpus?: number | null | undefined;
2206
- compute_billing_price?: string | null | undefined;
2207
- };
2208
- logs: {
2209
- serial?: string | null | undefined;
2210
- stdout?: string | null | undefined;
2211
- stderr?: string | null | undefined;
2212
- container_log_base?: string | null | undefined;
2213
- };
2214
- services: Record<string, any>[];
2215
- workspace?: {
2216
- name: string;
2217
- id: string;
2218
- object_type: "workspace";
2219
- slug?: string | null | undefined;
2220
- avatar_url?: string | null | undefined;
2221
- } | null | undefined;
2222
- app_id?: string | null | undefined;
2223
- instance_id?: string | null | undefined;
2224
- compose_hash?: string | null | undefined;
2225
- vm_uuid?: string | null | undefined;
2226
- created_at?: string | null | undefined;
2227
- project_type?: string | null | undefined;
2228
- kms_info?: {
2229
- chain_id?: number | null | undefined;
2230
- encrypted_env_pubkey?: string | null | undefined;
2231
- deployer_address?: string | null | undefined;
2232
- dstack_kms_address?: string | null | undefined;
2233
- dstack_app_address?: string | null | undefined;
2234
- rpc_endpoint?: string | null | undefined;
2235
- } | null | undefined;
2236
- public_sysinfo?: boolean | undefined;
2237
- public_logs?: boolean | undefined;
2238
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2239
- node_info?: {
2240
- object_type: "node";
2241
- status?: string | null | undefined;
2242
- name?: string | null | undefined;
2243
- version?: string | null | undefined;
2244
- id?: number | null | undefined;
2245
- device_id?: string | null | undefined;
2246
- region?: string | null | undefined;
2247
- ppid?: string | null | undefined;
2248
- } | null | undefined;
2249
- os?: {
2250
- name?: string | null | undefined;
2251
- version?: string | null | undefined;
2252
- is_dev?: boolean | null | undefined;
2253
- os_image_hash?: string | null | undefined;
2254
- } | null | undefined;
2255
- progress?: {
2256
- target?: string | null | undefined;
2257
- started_at?: string | null | undefined;
2258
- correlation_id?: string | null | undefined;
2259
- } | null | undefined;
2260
- docker_compose_hash?: string | null | undefined;
2261
- pre_launch_script_hash?: string | null | undefined;
2262
- endpoints?: {
2263
- app: string;
2264
- instance: string;
2265
- }[] | null | undefined;
2266
- public_tcbinfo?: boolean | undefined;
2267
- gateway_enabled?: boolean | undefined;
2268
- secure_time?: boolean | undefined;
2269
- storage_fs?: string | undefined;
2270
- creator?: {
2271
- object_type: "user";
2272
- username?: string | null | undefined;
2273
- id?: string | null | undefined;
2274
- avatar_url?: string | null | undefined;
2275
- } | null | undefined;
2276
- deleted_at?: string | null | undefined;
2277
- }[];
2278
- page: number;
2279
- page_size: number;
2280
- pages: number;
2281
- }, {
2282
- total: number;
2283
- items: {
2284
- status: string;
2285
- name: string;
2286
- id: string;
2287
- gateway: {
2288
- base_domain?: string | null | undefined;
2289
- cname?: string | null | undefined;
2290
- };
2291
- resource: {
2292
- vcpu?: number | null | undefined;
2293
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2294
- instance_type?: string | null | undefined;
2295
- memory_in_gb?: number | null | undefined;
2296
- disk_in_gb?: number | null | undefined;
2297
- gpus?: number | null | undefined;
2298
- compute_billing_price?: string | null | undefined;
2299
- };
2300
- workspace?: {
2301
- name: string;
2302
- id: string;
2303
- object_type: "workspace";
2304
- slug?: string | null | undefined;
2305
- avatar_url?: string | null | undefined;
2306
- } | null | undefined;
2307
- app_id?: string | null | undefined;
2308
- instance_id?: string | null | undefined;
2309
- compose_hash?: string | null | undefined;
2310
- vm_uuid?: string | null | undefined;
2311
- created_at?: string | null | undefined;
2312
- listed?: boolean | undefined;
2313
- in_progress?: boolean | undefined;
2314
- project_type?: string | null | undefined;
2315
- kms_info?: {
2316
- chain_id?: number | null | undefined;
2317
- encrypted_env_pubkey?: string | null | undefined;
2318
- deployer_address?: string | null | undefined;
2319
- dstack_kms_address?: string | null | undefined;
2320
- dstack_app_address?: string | null | undefined;
2321
- rpc_endpoint?: string | null | undefined;
2322
- } | null | undefined;
2323
- public_sysinfo?: boolean | undefined;
2324
- public_logs?: boolean | undefined;
2325
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2326
- node_info?: {
2327
- object_type: "node";
2328
- status?: string | null | undefined;
2329
- name?: string | null | undefined;
2330
- version?: string | null | undefined;
2331
- id?: number | null | undefined;
2332
- device_id?: string | null | undefined;
2333
- region?: string | null | undefined;
2334
- ppid?: string | null | undefined;
2335
- } | null | undefined;
2336
- os?: {
2337
- name?: string | null | undefined;
2338
- version?: string | null | undefined;
2339
- is_dev?: boolean | null | undefined;
2340
- os_image_hash?: string | null | undefined;
2341
- } | null | undefined;
2342
- progress?: {
2343
- target?: string | null | undefined;
2344
- started_at?: string | null | undefined;
2345
- correlation_id?: string | null | undefined;
2346
- } | null | undefined;
2347
- docker_compose_hash?: string | null | undefined;
2348
- pre_launch_script_hash?: string | null | undefined;
2349
- logs?: {
2350
- serial?: string | null | undefined;
2351
- stdout?: string | null | undefined;
2352
- stderr?: string | null | undefined;
2353
- container_log_base?: string | null | undefined;
2354
- } | undefined;
2355
- services?: Record<string, any>[] | undefined;
2356
- endpoints?: {
2357
- app: string;
2358
- instance: string;
2359
- }[] | null | undefined;
2360
- public_tcbinfo?: boolean | undefined;
2361
- gateway_enabled?: boolean | undefined;
2362
- secure_time?: boolean | undefined;
2363
- storage_fs?: string | undefined;
2364
- creator?: {
2365
- object_type: "user";
2366
- username?: string | null | undefined;
2367
- id?: string | null | undefined;
2368
- avatar_url?: string | null | undefined;
2369
- } | null | undefined;
2370
- deleted_at?: string | null | undefined;
2371
- }[];
2372
- page: number;
2373
- page_size: number;
2374
- pages: number;
2375
- }>;
876
+ }, z.core.$strip>;
2376
877
  export type PaginatedCvmInfosV20260121 = z.infer<typeof PaginatedCvmInfosV20260121Schema>;
2377
878
  export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
2378
879
  total: z.ZodNumber;
2379
880
  page: z.ZodNumber;
2380
881
  page_size: z.ZodNumber;
2381
882
  pages: z.ZodNumber;
2382
- } & {
2383
883
  items: z.ZodArray<z.ZodObject<{
2384
884
  name: z.ZodString;
2385
885
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2392,165 +892,92 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
2392
892
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2393
893
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2394
894
  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
- }>;
895
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
896
+ skip: "skip";
897
+ hourly: "hourly";
898
+ monthly: "monthly";
899
+ }>>>;
900
+ }, z.core.$strip>;
2413
901
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2414
902
  object_type: z.ZodLiteral<"node">;
2415
903
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2416
904
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2417
905
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2418
906
  device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
907
+ device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
908
+ device_id: z.ZodString;
909
+ algorithm_version: z.ZodString;
910
+ enabled: z.ZodBoolean;
911
+ }, z.core.$strip>>>;
2419
912
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2420
913
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2421
914
  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
- device_id?: string | null | undefined;
2429
- region?: 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
- device_id?: string | null | undefined;
2438
- region?: string | null | undefined;
2439
- ppid?: string | null | undefined;
2440
- }>>>;
915
+ }, z.core.$strip>>>;
2441
916
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2442
917
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2443
918
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2444
919
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2445
920
  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;
921
+ }, z.core.$strip>>>;
922
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
923
+ legacy: "legacy";
924
+ phala: "phala";
925
+ ethereum: "ethereum";
926
+ base: "base";
2456
927
  }>>>;
2457
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
2458
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
928
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
2459
929
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2460
930
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2461
931
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2462
932
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2463
933
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2464
934
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2465
- }, "strip", z.ZodTypeAny, {
935
+ }, z.core.$strip>, z.ZodTransform<{
2466
936
  chain_id?: number | null | undefined;
2467
- encrypted_env_pubkey?: string | null | undefined;
2468
- deployer_address?: string | null | undefined;
2469
937
  dstack_kms_address?: string | null | undefined;
2470
938
  dstack_app_address?: string | null | undefined;
2471
- rpc_endpoint?: string | null | undefined;
2472
- }, {
2473
- chain_id?: number | null | undefined;
2474
- encrypted_env_pubkey?: string | null | undefined;
2475
939
  deployer_address?: string | null | undefined;
2476
- dstack_kms_address?: string | null | undefined;
2477
- dstack_app_address?: string | null | undefined;
2478
940
  rpc_endpoint?: string | null | undefined;
2479
- }>, {
2480
- chain_id?: number | null | undefined;
2481
941
  encrypted_env_pubkey?: string | null | undefined;
2482
- deployer_address?: string | null | undefined;
2483
- dstack_kms_address?: string | null | undefined;
2484
- dstack_app_address?: string | null | undefined;
2485
- rpc_endpoint?: string | null | undefined;
2486
942
  }, {
2487
943
  chain_id?: number | null | undefined;
2488
- encrypted_env_pubkey?: string | null | undefined;
2489
- deployer_address?: string | null | undefined;
2490
944
  dstack_kms_address?: string | null | undefined;
2491
945
  dstack_app_address?: string | null | undefined;
946
+ deployer_address?: string | null | undefined;
2492
947
  rpc_endpoint?: string | null | undefined;
2493
- }>>>;
948
+ encrypted_env_pubkey?: string | null | undefined;
949
+ }>>>>;
2494
950
  status: z.ZodString;
2495
951
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2496
952
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2497
953
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2498
954
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2499
955
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2500
- }, "strip", z.ZodTypeAny, {
2501
- target?: string | null | undefined;
2502
- started_at?: string | null | undefined;
2503
- correlation_id?: string | null | undefined;
2504
- }, {
2505
- target?: string | null | undefined;
2506
- started_at?: string | null | undefined;
2507
- correlation_id?: string | null | undefined;
2508
- }>>>;
956
+ }, z.core.$strip>>>;
2509
957
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2510
958
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2511
959
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2512
960
  gateway: z.ZodObject<{
2513
961
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2514
962
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2515
- }, "strip", z.ZodTypeAny, {
2516
- base_domain?: string | null | undefined;
2517
- cname?: string | null | undefined;
2518
- }, {
2519
- base_domain?: string | null | undefined;
2520
- cname?: string | null | undefined;
2521
- }>;
963
+ }, z.core.$strip>;
2522
964
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2523
965
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2524
966
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2525
967
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2526
968
  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
- }>>>;
2538
- services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
969
+ }, z.core.$strip>>>;
970
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
2539
971
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2540
972
  app: z.ZodString;
2541
973
  instance: z.ZodString;
2542
- }, "strip", z.ZodTypeAny, {
2543
- app: string;
2544
- instance: string;
2545
- }, {
2546
- app: string;
2547
- instance: string;
2548
- }>, "many">>>;
974
+ }, z.core.$strip>>>>;
2549
975
  public_logs: z.ZodOptional<z.ZodBoolean>;
2550
976
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
2551
977
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
2552
978
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
2553
979
  secure_time: z.ZodOptional<z.ZodBoolean>;
980
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2554
981
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2555
982
  storage_fs: z.ZodOptional<z.ZodString>;
2556
983
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2559,404 +986,41 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
2559
986
  name: z.ZodString;
2560
987
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2561
988
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2562
- }, "strip", z.ZodTypeAny, {
2563
- name: string;
2564
- id: string;
2565
- object_type: "workspace";
2566
- slug?: string | null | undefined;
2567
- avatar_url?: string | null | undefined;
2568
- }, {
2569
- name: string;
2570
- id: string;
2571
- object_type: "workspace";
2572
- slug?: string | null | undefined;
2573
- avatar_url?: string | null | undefined;
2574
- }>>>;
989
+ }, z.core.$strip>>>;
2575
990
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2576
991
  object_type: z.ZodLiteral<"user">;
2577
992
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2578
993
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2579
994
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2580
- }, "strip", z.ZodTypeAny, {
2581
- object_type: "user";
2582
- username?: string | null | undefined;
2583
- id?: string | null | undefined;
2584
- avatar_url?: string | null | undefined;
2585
- }, {
2586
- object_type: "user";
2587
- username?: string | null | undefined;
2588
- id?: string | null | undefined;
2589
- avatar_url?: string | null | undefined;
2590
- }>>>;
995
+ }, z.core.$strip>>>;
2591
996
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2592
997
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2593
998
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2594
- } & {
999
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1000
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1001
+ compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1002
+ disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1003
+ }, z.core.$strip>>>;
1004
+ billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1005
+ gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1006
+ order_id: z.ZodString;
1007
+ status: z.ZodString;
1008
+ pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1009
+ commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1010
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1011
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1012
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1013
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1014
+ agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1015
+ hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1016
+ activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1017
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1018
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1019
+ decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1020
+ sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1021
+ sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1022
+ }, z.core.$strip>>>;
2595
1023
  id: z.ZodString;
2596
- }, "strip", z.ZodTypeAny, {
2597
- status: string;
2598
- name: string;
2599
- id: string;
2600
- gateway: {
2601
- base_domain?: string | null | undefined;
2602
- cname?: string | null | undefined;
2603
- };
2604
- listed: boolean;
2605
- in_progress: boolean;
2606
- resource: {
2607
- vcpu?: number | null | undefined;
2608
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2609
- instance_type?: string | null | undefined;
2610
- memory_in_gb?: number | null | undefined;
2611
- disk_in_gb?: number | null | undefined;
2612
- gpus?: number | null | undefined;
2613
- compute_billing_price?: string | null | undefined;
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
- };
2621
- services: Record<string, any>[];
2622
- workspace?: {
2623
- name: string;
2624
- id: string;
2625
- object_type: "workspace";
2626
- slug?: string | null | undefined;
2627
- avatar_url?: string | null | undefined;
2628
- } | null | undefined;
2629
- app_id?: string | null | undefined;
2630
- instance_id?: string | null | undefined;
2631
- compose_hash?: string | null | undefined;
2632
- vm_uuid?: string | null | undefined;
2633
- created_at?: string | null | undefined;
2634
- project_type?: string | null | undefined;
2635
- kms_info?: {
2636
- chain_id?: number | null | undefined;
2637
- encrypted_env_pubkey?: string | null | undefined;
2638
- deployer_address?: string | null | undefined;
2639
- dstack_kms_address?: string | null | undefined;
2640
- dstack_app_address?: string | null | undefined;
2641
- rpc_endpoint?: string | null | undefined;
2642
- } | null | undefined;
2643
- public_sysinfo?: boolean | undefined;
2644
- public_logs?: boolean | undefined;
2645
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2646
- node_info?: {
2647
- object_type: "node";
2648
- status?: string | null | undefined;
2649
- name?: string | null | undefined;
2650
- version?: string | null | undefined;
2651
- id?: number | null | undefined;
2652
- device_id?: string | null | undefined;
2653
- region?: string | null | undefined;
2654
- ppid?: string | null | undefined;
2655
- } | null | undefined;
2656
- os?: {
2657
- name?: string | null | undefined;
2658
- version?: string | null | undefined;
2659
- is_dev?: boolean | null | undefined;
2660
- os_image_hash?: string | null | undefined;
2661
- } | null | undefined;
2662
- progress?: {
2663
- target?: string | null | undefined;
2664
- started_at?: string | null | undefined;
2665
- correlation_id?: string | null | undefined;
2666
- } | null | undefined;
2667
- docker_compose_hash?: string | null | undefined;
2668
- pre_launch_script_hash?: string | null | undefined;
2669
- endpoints?: {
2670
- app: string;
2671
- instance: string;
2672
- }[] | null | undefined;
2673
- public_tcbinfo?: boolean | undefined;
2674
- gateway_enabled?: boolean | undefined;
2675
- secure_time?: boolean | undefined;
2676
- storage_fs?: string | undefined;
2677
- creator?: {
2678
- object_type: "user";
2679
- username?: string | null | undefined;
2680
- id?: string | null | undefined;
2681
- avatar_url?: string | null | undefined;
2682
- } | null | undefined;
2683
- deleted_at?: string | null | undefined;
2684
- }, {
2685
- status: string;
2686
- name: string;
2687
- id: string;
2688
- gateway: {
2689
- base_domain?: string | null | undefined;
2690
- cname?: string | null | undefined;
2691
- };
2692
- resource: {
2693
- vcpu?: number | null | undefined;
2694
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2695
- instance_type?: string | null | undefined;
2696
- memory_in_gb?: number | null | undefined;
2697
- disk_in_gb?: number | null | undefined;
2698
- gpus?: number | null | undefined;
2699
- compute_billing_price?: string | null | undefined;
2700
- };
2701
- workspace?: {
2702
- name: string;
2703
- id: string;
2704
- object_type: "workspace";
2705
- slug?: string | null | undefined;
2706
- avatar_url?: string | null | undefined;
2707
- } | null | undefined;
2708
- app_id?: string | null | undefined;
2709
- instance_id?: string | null | undefined;
2710
- compose_hash?: string | null | undefined;
2711
- vm_uuid?: string | null | undefined;
2712
- created_at?: string | null | undefined;
2713
- listed?: boolean | undefined;
2714
- in_progress?: boolean | undefined;
2715
- project_type?: string | null | undefined;
2716
- kms_info?: {
2717
- chain_id?: number | null | undefined;
2718
- encrypted_env_pubkey?: string | null | undefined;
2719
- deployer_address?: string | null | undefined;
2720
- dstack_kms_address?: string | null | undefined;
2721
- dstack_app_address?: string | null | undefined;
2722
- rpc_endpoint?: string | null | undefined;
2723
- } | null | undefined;
2724
- public_sysinfo?: boolean | undefined;
2725
- public_logs?: boolean | undefined;
2726
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2727
- node_info?: {
2728
- object_type: "node";
2729
- status?: string | null | undefined;
2730
- name?: string | null | undefined;
2731
- version?: string | null | undefined;
2732
- id?: number | null | undefined;
2733
- device_id?: string | null | undefined;
2734
- region?: string | null | undefined;
2735
- ppid?: string | null | undefined;
2736
- } | null | undefined;
2737
- os?: {
2738
- name?: string | null | undefined;
2739
- version?: string | null | undefined;
2740
- is_dev?: boolean | null | undefined;
2741
- os_image_hash?: string | null | undefined;
2742
- } | null | undefined;
2743
- progress?: {
2744
- target?: string | null | undefined;
2745
- started_at?: string | null | undefined;
2746
- correlation_id?: string | null | undefined;
2747
- } | 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;
2756
- services?: Record<string, any>[] | undefined;
2757
- endpoints?: {
2758
- app: string;
2759
- instance: string;
2760
- }[] | null | undefined;
2761
- public_tcbinfo?: boolean | undefined;
2762
- gateway_enabled?: boolean | undefined;
2763
- secure_time?: boolean | undefined;
2764
- storage_fs?: string | undefined;
2765
- creator?: {
2766
- object_type: "user";
2767
- username?: string | null | undefined;
2768
- id?: string | null | undefined;
2769
- avatar_url?: string | null | undefined;
2770
- } | null | undefined;
2771
- deleted_at?: string | null | undefined;
2772
- }>, "many">;
2773
- }, "strip", z.ZodTypeAny, {
2774
- total: number;
2775
- items: {
2776
- status: string;
2777
- name: string;
2778
- id: string;
2779
- gateway: {
2780
- base_domain?: string | null | undefined;
2781
- cname?: string | null | undefined;
2782
- };
2783
- listed: boolean;
2784
- in_progress: boolean;
2785
- resource: {
2786
- vcpu?: number | null | undefined;
2787
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2788
- instance_type?: string | null | undefined;
2789
- memory_in_gb?: number | null | undefined;
2790
- disk_in_gb?: number | null | undefined;
2791
- gpus?: number | null | undefined;
2792
- compute_billing_price?: string | null | undefined;
2793
- };
2794
- logs: {
2795
- serial?: string | null | undefined;
2796
- stdout?: string | null | undefined;
2797
- stderr?: string | null | undefined;
2798
- container_log_base?: string | null | undefined;
2799
- };
2800
- services: Record<string, any>[];
2801
- workspace?: {
2802
- name: string;
2803
- id: string;
2804
- object_type: "workspace";
2805
- slug?: string | null | undefined;
2806
- avatar_url?: string | null | undefined;
2807
- } | null | undefined;
2808
- app_id?: string | null | undefined;
2809
- instance_id?: string | null | undefined;
2810
- compose_hash?: string | null | undefined;
2811
- vm_uuid?: string | null | undefined;
2812
- created_at?: string | null | undefined;
2813
- project_type?: string | null | undefined;
2814
- kms_info?: {
2815
- chain_id?: number | null | undefined;
2816
- encrypted_env_pubkey?: string | null | undefined;
2817
- deployer_address?: string | null | undefined;
2818
- dstack_kms_address?: string | null | undefined;
2819
- dstack_app_address?: string | null | undefined;
2820
- rpc_endpoint?: string | null | undefined;
2821
- } | null | undefined;
2822
- public_sysinfo?: boolean | undefined;
2823
- public_logs?: boolean | undefined;
2824
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2825
- node_info?: {
2826
- object_type: "node";
2827
- status?: string | null | undefined;
2828
- name?: string | null | undefined;
2829
- version?: string | null | undefined;
2830
- id?: number | null | undefined;
2831
- device_id?: string | null | undefined;
2832
- region?: string | null | undefined;
2833
- ppid?: string | null | undefined;
2834
- } | null | undefined;
2835
- os?: {
2836
- name?: string | null | undefined;
2837
- version?: string | null | undefined;
2838
- is_dev?: boolean | null | undefined;
2839
- os_image_hash?: string | null | undefined;
2840
- } | null | undefined;
2841
- progress?: {
2842
- target?: string | null | undefined;
2843
- started_at?: string | null | undefined;
2844
- correlation_id?: string | null | undefined;
2845
- } | null | undefined;
2846
- docker_compose_hash?: string | null | undefined;
2847
- pre_launch_script_hash?: string | null | undefined;
2848
- endpoints?: {
2849
- app: string;
2850
- instance: string;
2851
- }[] | null | undefined;
2852
- public_tcbinfo?: boolean | undefined;
2853
- gateway_enabled?: boolean | undefined;
2854
- secure_time?: boolean | undefined;
2855
- storage_fs?: string | undefined;
2856
- creator?: {
2857
- object_type: "user";
2858
- username?: string | null | undefined;
2859
- id?: string | null | undefined;
2860
- avatar_url?: string | null | undefined;
2861
- } | null | undefined;
2862
- deleted_at?: string | null | undefined;
2863
- }[];
2864
- page: number;
2865
- page_size: number;
2866
- pages: number;
2867
- }, {
2868
- total: number;
2869
- items: {
2870
- status: string;
2871
- name: string;
2872
- id: string;
2873
- gateway: {
2874
- base_domain?: string | null | undefined;
2875
- cname?: string | null | undefined;
2876
- };
2877
- resource: {
2878
- vcpu?: number | null | undefined;
2879
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2880
- instance_type?: string | null | undefined;
2881
- memory_in_gb?: number | null | undefined;
2882
- disk_in_gb?: number | null | undefined;
2883
- gpus?: number | null | undefined;
2884
- compute_billing_price?: string | null | undefined;
2885
- };
2886
- workspace?: {
2887
- name: string;
2888
- id: string;
2889
- object_type: "workspace";
2890
- slug?: string | null | undefined;
2891
- avatar_url?: string | null | undefined;
2892
- } | null | undefined;
2893
- app_id?: string | null | undefined;
2894
- instance_id?: string | null | undefined;
2895
- compose_hash?: string | null | undefined;
2896
- vm_uuid?: string | null | undefined;
2897
- created_at?: string | null | undefined;
2898
- listed?: boolean | undefined;
2899
- in_progress?: boolean | undefined;
2900
- project_type?: string | null | undefined;
2901
- kms_info?: {
2902
- chain_id?: number | null | undefined;
2903
- encrypted_env_pubkey?: string | null | undefined;
2904
- deployer_address?: string | null | undefined;
2905
- dstack_kms_address?: string | null | undefined;
2906
- dstack_app_address?: string | null | undefined;
2907
- rpc_endpoint?: string | null | undefined;
2908
- } | null | undefined;
2909
- public_sysinfo?: boolean | undefined;
2910
- public_logs?: boolean | undefined;
2911
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2912
- node_info?: {
2913
- object_type: "node";
2914
- status?: string | null | undefined;
2915
- name?: string | null | undefined;
2916
- version?: string | null | undefined;
2917
- id?: number | null | undefined;
2918
- device_id?: string | null | undefined;
2919
- region?: string | null | undefined;
2920
- ppid?: string | null | undefined;
2921
- } | null | undefined;
2922
- os?: {
2923
- name?: string | null | undefined;
2924
- version?: string | null | undefined;
2925
- is_dev?: boolean | null | undefined;
2926
- os_image_hash?: string | null | undefined;
2927
- } | null | undefined;
2928
- progress?: {
2929
- target?: string | null | undefined;
2930
- started_at?: string | null | undefined;
2931
- correlation_id?: string | null | undefined;
2932
- } | null | undefined;
2933
- docker_compose_hash?: string | null | undefined;
2934
- pre_launch_script_hash?: string | null | undefined;
2935
- logs?: {
2936
- serial?: string | null | undefined;
2937
- stdout?: string | null | undefined;
2938
- stderr?: string | null | undefined;
2939
- container_log_base?: string | null | undefined;
2940
- } | undefined;
2941
- services?: Record<string, any>[] | undefined;
2942
- endpoints?: {
2943
- app: string;
2944
- instance: string;
2945
- }[] | null | undefined;
2946
- public_tcbinfo?: boolean | undefined;
2947
- gateway_enabled?: boolean | undefined;
2948
- secure_time?: boolean | undefined;
2949
- storage_fs?: string | undefined;
2950
- creator?: {
2951
- object_type: "user";
2952
- username?: string | null | undefined;
2953
- id?: string | null | undefined;
2954
- avatar_url?: string | null | undefined;
2955
- } | null | undefined;
2956
- deleted_at?: string | null | undefined;
2957
- }[];
2958
- page: number;
2959
- page_size: number;
2960
- pages: number;
2961
- }>;
1024
+ }, z.core.$strip>>;
1025
+ }, z.core.$strip>;
2962
1026
  export type PaginatedCvmInfosV20260522 = z.infer<typeof PaginatedCvmInfosV20260522Schema>;