@phala/cloud 0.4.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 (110) 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 +113 -779
  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 -422
  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 +384 -614
  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 +7 -13
  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 +19 -209
  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 +658 -295
  44. package/dist/actions/cvms/provision_cvm.d.ts +326 -1561
  45. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +550 -953
  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 +136 -203
  54. package/dist/actions/cvms/update_cvm_resources.d.ts +82 -48
  55. package/dist/actions/cvms/update_cvm_visibility.d.ts +90 -132
  56. package/dist/actions/cvms/update_docker_compose.d.ts +127 -202
  57. package/dist/actions/cvms/update_os_image.d.ts +55 -28
  58. package/dist/actions/cvms/update_prelaunch_script.d.ts +127 -202
  59. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +118 -193
  60. package/dist/actions/cvms/watch_cvm_state.d.ts +5 -15
  61. package/dist/actions/get_available_nodes.d.ts +186 -1067
  62. package/dist/actions/get_cvm_create_resources.d.ts +138 -2489
  63. package/dist/actions/index.d.ts +8 -2
  64. package/dist/actions/kms/get_app_env_encrypt_pubkey.d.ts +11 -23
  65. package/dist/actions/kms/get_kms_contract.d.ts +25 -27
  66. package/dist/actions/kms/get_kms_info.d.ts +3 -7
  67. package/dist/actions/kms/get_kms_list.d.ts +34 -88
  68. package/dist/actions/kms/get_kms_onchain_detail.d.ts +66 -664
  69. package/dist/actions/kms/list_kms_contract_nodes.d.ts +21 -53
  70. package/dist/actions/kms/list_kms_contracts.d.ts +33 -87
  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 -28
  82. package/dist/actions/workspaces/get_workspace_nodes.d.ts +34 -321
  83. package/dist/actions/workspaces/get_workspace_quotas.d.ts +107 -1021
  84. package/dist/actions/workspaces/list_workspaces.d.ts +67 -369
  85. package/dist/client.d.ts +23 -4
  86. package/dist/create-client.d.ts +1772 -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 +0 -1
  90. package/dist/index.js +5010 -4265
  91. package/dist/index.mjs +4892 -4192
  92. package/dist/types/app_compose.d.ts +108 -221
  93. package/dist/types/app_info_v20251028.d.ts +22 -1067
  94. package/dist/types/app_info_v20260121.d.ts +430 -8900
  95. package/dist/types/app_revision.d.ts +15 -371
  96. package/dist/types/client.d.ts +16 -0
  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 +99 -820
  101. package/dist/types/cvm_info_v20260121.d.ts +247 -3160
  102. package/dist/types/kms_contract.d.ts +2 -32
  103. package/dist/types/kms_info.d.ts +34 -68
  104. package/dist/utils/define-action.d.ts +4 -4
  105. package/dist/utils/errors.d.ts +4 -36
  106. package/dist/utils/get_compose_hash.d.ts +36 -5
  107. package/dist/utils/get_mr_config_id.d.ts +94 -3
  108. package/dist/utils/index.d.ts +1 -1
  109. package/dist/utils/placement-request.d.ts +3 -0
  110. 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,44 +34,28 @@ 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>;
69
44
  export declare const CvmHourlyRateV20260121Schema: z.ZodObject<{
70
45
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
46
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
47
  disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
- }, "strip", z.ZodTypeAny, {
74
- total?: string | null | undefined;
75
- compute?: string | null | undefined;
76
- disk?: string | null | undefined;
77
- }, {
78
- total?: string | null | undefined;
79
- compute?: string | null | undefined;
80
- disk?: string | null | undefined;
81
- }>;
48
+ }, z.core.$strip>;
82
49
  export type CvmHourlyRateV20260121 = z.infer<typeof CvmHourlyRateV20260121Schema>;
83
50
  export declare const CvmGpuRentalOrderInfoV20260121Schema: z.ZodObject<{
84
51
  order_id: z.ZodString;
85
52
  status: z.ZodString;
86
53
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
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>>;
88
59
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
60
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
61
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -93,143 +64,61 @@ export declare const CvmGpuRentalOrderInfoV20260121Schema: z.ZodObject<{
93
64
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
65
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
66
  sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
- }, "strip", z.ZodTypeAny, {
97
- status: string;
98
- order_id: string;
99
- pricing_plan?: string | null | undefined;
100
- commitment_days?: number | null | undefined;
101
- agreed_hourly_rate?: string | null | undefined;
102
- hourly_billing_start_time?: string | null | undefined;
103
- activated_at?: string | null | undefined;
104
- completed_at?: string | null | undefined;
105
- cancelled_at?: string | null | undefined;
106
- decoupled_at?: string | null | undefined;
107
- sku_code?: string | null | undefined;
108
- sku_display_name?: string | null | undefined;
109
- }, {
110
- status: string;
111
- order_id: string;
112
- pricing_plan?: string | null | undefined;
113
- commitment_days?: number | null | undefined;
114
- agreed_hourly_rate?: string | null | undefined;
115
- hourly_billing_start_time?: string | null | undefined;
116
- activated_at?: string | null | undefined;
117
- completed_at?: string | null | undefined;
118
- cancelled_at?: string | null | undefined;
119
- decoupled_at?: string | null | undefined;
120
- sku_code?: string | null | undefined;
121
- sku_display_name?: string | null | undefined;
122
- }>;
67
+ }, z.core.$strip>;
123
68
  export type CvmGpuRentalOrderInfoV20260121 = z.infer<typeof CvmGpuRentalOrderInfoV20260121Schema>;
124
69
  export declare const CvmOsInfoV20260121Schema: z.ZodObject<{
125
70
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
71
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
72
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
128
73
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
- }, "strip", z.ZodTypeAny, {
130
- name?: string | null | undefined;
131
- version?: string | null | undefined;
132
- is_dev?: boolean | null | undefined;
133
- os_image_hash?: string | null | undefined;
134
- }, {
135
- name?: string | null | undefined;
136
- version?: string | null | undefined;
137
- is_dev?: boolean | null | undefined;
138
- os_image_hash?: string | null | undefined;
139
- }>;
74
+ }, z.core.$strip>;
140
75
  export type CvmOsInfoV20260121 = z.infer<typeof CvmOsInfoV20260121Schema>;
141
- export declare const CvmKmsInfoV20260121Schema: z.ZodEffects<z.ZodObject<{
76
+ export declare const CvmKmsInfoV20260121Schema: z.ZodPipe<z.ZodObject<{
142
77
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
143
78
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
144
79
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
145
80
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
146
81
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
147
82
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
148
- }, "strip", z.ZodTypeAny, {
83
+ }, z.core.$strip>, z.ZodTransform<{
149
84
  chain_id?: number | null | undefined;
150
- encrypted_env_pubkey?: string | null | undefined;
151
- deployer_address?: string | null | undefined;
152
85
  dstack_kms_address?: string | null | undefined;
153
86
  dstack_app_address?: string | null | undefined;
154
- rpc_endpoint?: string | null | undefined;
155
- }, {
156
- chain_id?: number | null | undefined;
157
- encrypted_env_pubkey?: string | null | undefined;
158
87
  deployer_address?: string | null | undefined;
159
- dstack_kms_address?: string | null | undefined;
160
- dstack_app_address?: string | null | undefined;
161
88
  rpc_endpoint?: string | null | undefined;
162
- }>, {
163
- chain_id?: number | null | undefined;
164
89
  encrypted_env_pubkey?: string | null | undefined;
165
- deployer_address?: string | null | undefined;
166
- dstack_kms_address?: string | null | undefined;
167
- dstack_app_address?: string | null | undefined;
168
- rpc_endpoint?: string | null | undefined;
169
90
  }, {
170
91
  chain_id?: number | null | undefined;
171
- encrypted_env_pubkey?: string | null | undefined;
172
- deployer_address?: string | null | undefined;
173
92
  dstack_kms_address?: string | null | undefined;
174
93
  dstack_app_address?: string | null | undefined;
94
+ deployer_address?: string | null | undefined;
175
95
  rpc_endpoint?: string | null | undefined;
176
- }>;
96
+ encrypted_env_pubkey?: string | null | undefined;
97
+ }>>;
177
98
  export type CvmKmsInfoV20260121 = z.infer<typeof CvmKmsInfoV20260121Schema>;
178
99
  export declare const CvmProgressInfoV20260121Schema: z.ZodObject<{
179
100
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
180
101
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
181
102
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
182
- }, "strip", z.ZodTypeAny, {
183
- target?: string | null | undefined;
184
- started_at?: string | null | undefined;
185
- correlation_id?: string | null | undefined;
186
- }, {
187
- target?: string | null | undefined;
188
- started_at?: string | null | undefined;
189
- correlation_id?: string | null | undefined;
190
- }>;
103
+ }, z.core.$strip>;
191
104
  export type CvmProgressInfoV20260121 = z.infer<typeof CvmProgressInfoV20260121Schema>;
192
105
  export declare const CvmGatewayInfoV20260121Schema: z.ZodObject<{
193
106
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
107
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
195
- }, "strip", z.ZodTypeAny, {
196
- base_domain?: string | null | undefined;
197
- cname?: string | null | undefined;
198
- }, {
199
- base_domain?: string | null | undefined;
200
- cname?: string | null | undefined;
201
- }>;
108
+ }, z.core.$strip>;
202
109
  export type CvmGatewayInfoV20260121 = z.infer<typeof CvmGatewayInfoV20260121Schema>;
203
110
  export declare const CvmLogUrlsV20260121Schema: z.ZodObject<{
204
111
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
205
112
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
206
113
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
207
114
  container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
208
- }, "strip", z.ZodTypeAny, {
209
- serial?: string | null | undefined;
210
- stdout?: string | null | undefined;
211
- stderr?: string | null | undefined;
212
- container_log_base?: string | null | undefined;
213
- }, {
214
- serial?: string | null | undefined;
215
- stdout?: string | null | undefined;
216
- stderr?: string | null | undefined;
217
- container_log_base?: string | null | undefined;
218
- }>;
115
+ }, z.core.$strip>;
219
116
  export type CvmLogUrlsV20260121 = z.infer<typeof CvmLogUrlsV20260121Schema>;
220
117
  export declare const DeviceIdEntrySchema: z.ZodObject<{
221
118
  device_id: z.ZodString;
222
119
  algorithm_version: z.ZodString;
223
120
  enabled: z.ZodBoolean;
224
- }, "strip", z.ZodTypeAny, {
225
- device_id: string;
226
- algorithm_version: string;
227
- enabled: boolean;
228
- }, {
229
- device_id: string;
230
- algorithm_version: string;
231
- enabled: boolean;
232
- }>;
121
+ }, z.core.$strip>;
233
122
  export type DeviceIdEntry = z.infer<typeof DeviceIdEntrySchema>;
234
123
  export declare const NodeRefSchema: z.ZodObject<{
235
124
  object_type: z.ZodLiteral<"node">;
@@ -241,47 +130,11 @@ export declare const NodeRefSchema: z.ZodObject<{
241
130
  device_id: z.ZodString;
242
131
  algorithm_version: z.ZodString;
243
132
  enabled: z.ZodBoolean;
244
- }, "strip", z.ZodTypeAny, {
245
- device_id: string;
246
- algorithm_version: string;
247
- enabled: boolean;
248
- }, {
249
- device_id: string;
250
- algorithm_version: string;
251
- enabled: boolean;
252
- }>, "many">>;
133
+ }, z.core.$strip>>>;
253
134
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
254
135
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
255
136
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
256
- }, "strip", z.ZodTypeAny, {
257
- object_type: "node";
258
- device_ids: {
259
- device_id: string;
260
- algorithm_version: string;
261
- enabled: boolean;
262
- }[];
263
- status?: string | null | undefined;
264
- name?: string | null | undefined;
265
- version?: string | null | undefined;
266
- id?: number | null | undefined;
267
- device_id?: string | null | undefined;
268
- region?: string | null | undefined;
269
- ppid?: string | null | undefined;
270
- }, {
271
- object_type: "node";
272
- status?: string | null | undefined;
273
- name?: string | null | undefined;
274
- version?: string | null | undefined;
275
- id?: number | null | undefined;
276
- device_id?: string | null | undefined;
277
- region?: string | null | undefined;
278
- device_ids?: {
279
- device_id: string;
280
- algorithm_version: string;
281
- enabled: boolean;
282
- }[] | undefined;
283
- ppid?: string | null | undefined;
284
- }>;
137
+ }, z.core.$strip>;
285
138
  export type NodeRef = z.infer<typeof NodeRefSchema>;
286
139
  export declare const CvmNodeInfoV20260121Schema: z.ZodObject<{
287
140
  object_type: z.ZodLiteral<"node">;
@@ -293,47 +146,11 @@ export declare const CvmNodeInfoV20260121Schema: z.ZodObject<{
293
146
  device_id: z.ZodString;
294
147
  algorithm_version: z.ZodString;
295
148
  enabled: z.ZodBoolean;
296
- }, "strip", z.ZodTypeAny, {
297
- device_id: string;
298
- algorithm_version: string;
299
- enabled: boolean;
300
- }, {
301
- device_id: string;
302
- algorithm_version: string;
303
- enabled: boolean;
304
- }>, "many">>;
149
+ }, z.core.$strip>>>;
305
150
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
306
151
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
307
152
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
308
- }, "strip", z.ZodTypeAny, {
309
- object_type: "node";
310
- device_ids: {
311
- device_id: string;
312
- algorithm_version: string;
313
- enabled: boolean;
314
- }[];
315
- status?: string | null | undefined;
316
- name?: string | null | undefined;
317
- version?: string | null | undefined;
318
- id?: number | null | undefined;
319
- device_id?: string | null | undefined;
320
- region?: string | null | undefined;
321
- ppid?: string | null | undefined;
322
- }, {
323
- object_type: "node";
324
- status?: string | null | undefined;
325
- name?: string | null | undefined;
326
- version?: string | null | undefined;
327
- id?: number | null | undefined;
328
- device_id?: string | null | undefined;
329
- region?: string | null | undefined;
330
- device_ids?: {
331
- device_id: string;
332
- algorithm_version: string;
333
- enabled: boolean;
334
- }[] | undefined;
335
- ppid?: string | null | undefined;
336
- }>;
153
+ }, z.core.$strip>;
337
154
  export type CvmNodeInfoV20260121 = NodeRef;
338
155
  export declare const CvmInfoV20260121Schema: z.ZodObject<{
339
156
  id: z.ZodString;
@@ -348,24 +165,12 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
348
165
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
349
166
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
350
167
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
351
- billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
352
- }, "strip", z.ZodTypeAny, {
353
- vcpu?: number | null | undefined;
354
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
355
- instance_type?: string | null | undefined;
356
- memory_in_gb?: number | null | undefined;
357
- disk_in_gb?: number | null | undefined;
358
- gpus?: number | null | undefined;
359
- compute_billing_price?: string | null | undefined;
360
- }, {
361
- vcpu?: number | null | undefined;
362
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
363
- instance_type?: string | null | undefined;
364
- memory_in_gb?: number | null | undefined;
365
- disk_in_gb?: number | null | undefined;
366
- gpus?: number | null | undefined;
367
- compute_billing_price?: string | null | undefined;
368
- }>;
168
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
169
+ skip: "skip";
170
+ hourly: "hourly";
171
+ monthly: "monthly";
172
+ }>>>;
173
+ }, z.core.$strip>;
369
174
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
370
175
  object_type: z.ZodLiteral<"node">;
371
176
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -376,160 +181,76 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
376
181
  device_id: z.ZodString;
377
182
  algorithm_version: z.ZodString;
378
183
  enabled: z.ZodBoolean;
379
- }, "strip", z.ZodTypeAny, {
380
- device_id: string;
381
- algorithm_version: string;
382
- enabled: boolean;
383
- }, {
384
- device_id: string;
385
- algorithm_version: string;
386
- enabled: boolean;
387
- }>, "many">>;
184
+ }, z.core.$strip>>>;
388
185
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
389
186
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
390
187
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
391
- }, "strip", z.ZodTypeAny, {
392
- object_type: "node";
393
- device_ids: {
394
- device_id: string;
395
- algorithm_version: string;
396
- enabled: boolean;
397
- }[];
398
- status?: string | null | undefined;
399
- name?: string | null | undefined;
400
- version?: string | null | undefined;
401
- id?: number | null | undefined;
402
- device_id?: string | null | undefined;
403
- region?: string | null | undefined;
404
- ppid?: string | null | undefined;
405
- }, {
406
- object_type: "node";
407
- status?: string | null | undefined;
408
- name?: string | null | undefined;
409
- version?: string | null | undefined;
410
- id?: number | null | undefined;
411
- device_id?: string | null | undefined;
412
- region?: string | null | undefined;
413
- device_ids?: {
414
- device_id: string;
415
- algorithm_version: string;
416
- enabled: boolean;
417
- }[] | undefined;
418
- ppid?: string | null | undefined;
419
- }>>>;
188
+ }, z.core.$strip>>>;
420
189
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
421
190
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
191
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
423
192
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
424
193
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
425
- }, "strip", z.ZodTypeAny, {
426
- name?: string | null | undefined;
427
- version?: string | null | undefined;
428
- is_dev?: boolean | null | undefined;
429
- os_image_hash?: string | null | undefined;
430
- }, {
431
- name?: string | null | undefined;
432
- version?: string | null | undefined;
433
- is_dev?: boolean | null | undefined;
434
- 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";
435
200
  }>>>;
436
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
437
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
201
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
438
202
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
439
203
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
440
204
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
205
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
442
206
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
443
207
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
444
- }, "strip", z.ZodTypeAny, {
208
+ }, z.core.$strip>, z.ZodTransform<{
445
209
  chain_id?: number | null | undefined;
446
- encrypted_env_pubkey?: string | null | undefined;
447
- deployer_address?: string | null | undefined;
448
210
  dstack_kms_address?: string | null | undefined;
449
211
  dstack_app_address?: string | null | undefined;
450
- rpc_endpoint?: string | null | undefined;
451
- }, {
452
- chain_id?: number | null | undefined;
453
- encrypted_env_pubkey?: string | null | undefined;
454
212
  deployer_address?: string | null | undefined;
455
- dstack_kms_address?: string | null | undefined;
456
- dstack_app_address?: string | null | undefined;
457
213
  rpc_endpoint?: string | null | undefined;
458
- }>, {
459
- chain_id?: number | null | undefined;
460
214
  encrypted_env_pubkey?: string | null | undefined;
461
- deployer_address?: string | null | undefined;
462
- dstack_kms_address?: string | null | undefined;
463
- dstack_app_address?: string | null | undefined;
464
- rpc_endpoint?: string | null | undefined;
465
215
  }, {
466
216
  chain_id?: number | null | undefined;
467
- encrypted_env_pubkey?: string | null | undefined;
468
- deployer_address?: string | null | undefined;
469
217
  dstack_kms_address?: string | null | undefined;
470
218
  dstack_app_address?: string | null | undefined;
219
+ deployer_address?: string | null | undefined;
471
220
  rpc_endpoint?: string | null | undefined;
472
- }>>>;
221
+ encrypted_env_pubkey?: string | null | undefined;
222
+ }>>>>;
473
223
  status: z.ZodString;
474
224
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
475
225
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
476
226
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
477
227
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
478
228
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
479
- }, "strip", z.ZodTypeAny, {
480
- target?: string | null | undefined;
481
- started_at?: string | null | undefined;
482
- correlation_id?: string | null | undefined;
483
- }, {
484
- target?: string | null | undefined;
485
- started_at?: string | null | undefined;
486
- correlation_id?: string | null | undefined;
487
- }>>>;
229
+ }, z.core.$strip>>>;
488
230
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
489
231
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
490
232
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
491
233
  gateway: z.ZodObject<{
492
234
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
493
235
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
494
- }, "strip", z.ZodTypeAny, {
495
- base_domain?: string | null | undefined;
496
- cname?: string | null | undefined;
497
- }, {
498
- base_domain?: string | null | undefined;
499
- cname?: string | null | undefined;
500
- }>;
236
+ }, z.core.$strip>;
501
237
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
502
238
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
503
239
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
504
240
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
505
241
  container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
506
- }, "strip", z.ZodTypeAny, {
507
- serial?: string | null | undefined;
508
- stdout?: string | null | undefined;
509
- stderr?: string | null | undefined;
510
- container_log_base?: string | null | undefined;
511
- }, {
512
- serial?: string | null | undefined;
513
- stdout?: string | null | undefined;
514
- stderr?: string | null | undefined;
515
- container_log_base?: string | null | undefined;
516
- }>>>;
517
- 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>>>>;
518
244
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
519
245
  app: z.ZodString;
520
246
  instance: z.ZodString;
521
- }, "strip", z.ZodTypeAny, {
522
- app: string;
523
- instance: string;
524
- }, {
525
- app: string;
526
- instance: string;
527
- }>, "many">>>;
247
+ }, z.core.$strip>>>>;
528
248
  public_logs: z.ZodOptional<z.ZodBoolean>;
529
249
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
530
250
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
531
251
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
532
252
  secure_time: z.ZodOptional<z.ZodBoolean>;
253
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
533
254
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
534
255
  storage_fs: z.ZodOptional<z.ZodString>;
535
256
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -538,35 +259,13 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
538
259
  name: z.ZodString;
539
260
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
540
261
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
541
- }, "strip", z.ZodTypeAny, {
542
- name: string;
543
- id: string;
544
- object_type: "workspace";
545
- slug?: string | null | undefined;
546
- avatar_url?: string | null | undefined;
547
- }, {
548
- name: string;
549
- id: string;
550
- object_type: "workspace";
551
- slug?: string | null | undefined;
552
- avatar_url?: string | null | undefined;
553
- }>>>;
262
+ }, z.core.$strip>>>;
554
263
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
555
264
  object_type: z.ZodLiteral<"user">;
556
265
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
557
266
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
558
267
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
559
- }, "strip", z.ZodTypeAny, {
560
- object_type: "user";
561
- username?: string | null | undefined;
562
- id?: string | null | undefined;
563
- avatar_url?: string | null | undefined;
564
- }, {
565
- object_type: "user";
566
- username?: string | null | undefined;
567
- id?: string | null | undefined;
568
- avatar_url?: string | null | undefined;
569
- }>>>;
268
+ }, z.core.$strip>>>;
570
269
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
571
270
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
572
271
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -574,21 +273,17 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
574
273
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
274
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
275
  disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
577
- }, "strip", z.ZodTypeAny, {
578
- total?: string | null | undefined;
579
- compute?: string | null | undefined;
580
- disk?: string | null | undefined;
581
- }, {
582
- total?: string | null | undefined;
583
- compute?: string | null | undefined;
584
- disk?: string | null | undefined;
585
- }>>>;
276
+ }, z.core.$strip>>>;
586
277
  billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
587
278
  gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
588
279
  order_id: z.ZodString;
589
280
  status: z.ZodString;
590
281
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
591
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>>;
592
287
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
593
288
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
594
289
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -597,260 +292,8 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
597
292
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
598
293
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
599
294
  sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
600
- }, "strip", z.ZodTypeAny, {
601
- status: string;
602
- order_id: string;
603
- pricing_plan?: string | null | undefined;
604
- commitment_days?: number | null | undefined;
605
- agreed_hourly_rate?: string | null | undefined;
606
- hourly_billing_start_time?: string | null | undefined;
607
- activated_at?: string | null | undefined;
608
- completed_at?: string | null | undefined;
609
- cancelled_at?: string | null | undefined;
610
- decoupled_at?: string | null | undefined;
611
- sku_code?: string | null | undefined;
612
- sku_display_name?: string | null | undefined;
613
- }, {
614
- status: string;
615
- order_id: string;
616
- pricing_plan?: string | null | undefined;
617
- commitment_days?: number | null | undefined;
618
- agreed_hourly_rate?: string | null | undefined;
619
- hourly_billing_start_time?: string | null | undefined;
620
- activated_at?: string | null | undefined;
621
- completed_at?: string | null | undefined;
622
- cancelled_at?: string | null | undefined;
623
- decoupled_at?: string | null | undefined;
624
- sku_code?: string | null | undefined;
625
- sku_display_name?: string | null | undefined;
626
- }>>>;
627
- }, "strip", z.ZodTypeAny, {
628
- status: string;
629
- name: string;
630
- id: string;
631
- gateway: {
632
- base_domain?: string | null | undefined;
633
- cname?: string | null | undefined;
634
- };
635
- listed: boolean;
636
- in_progress: boolean;
637
- resource: {
638
- vcpu?: number | null | undefined;
639
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
640
- instance_type?: string | null | undefined;
641
- memory_in_gb?: number | null | undefined;
642
- disk_in_gb?: number | null | undefined;
643
- gpus?: number | null | undefined;
644
- compute_billing_price?: string | null | undefined;
645
- };
646
- logs: {
647
- serial?: string | null | undefined;
648
- stdout?: string | null | undefined;
649
- stderr?: string | null | undefined;
650
- container_log_base?: string | null | undefined;
651
- };
652
- services: Record<string, any>[];
653
- workspace?: {
654
- name: string;
655
- id: string;
656
- object_type: "workspace";
657
- slug?: string | null | undefined;
658
- avatar_url?: string | null | undefined;
659
- } | null | undefined;
660
- app_id?: string | null | undefined;
661
- instance_id?: string | null | undefined;
662
- compose_hash?: string | null | undefined;
663
- vm_uuid?: string | null | undefined;
664
- created_at?: string | null | undefined;
665
- project_type?: string | null | undefined;
666
- kms_info?: {
667
- chain_id?: number | null | undefined;
668
- encrypted_env_pubkey?: string | null | undefined;
669
- deployer_address?: string | null | undefined;
670
- dstack_kms_address?: string | null | undefined;
671
- dstack_app_address?: string | null | undefined;
672
- rpc_endpoint?: string | null | undefined;
673
- } | null | undefined;
674
- public_sysinfo?: boolean | undefined;
675
- public_logs?: boolean | undefined;
676
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
677
- node_info?: {
678
- object_type: "node";
679
- device_ids: {
680
- device_id: string;
681
- algorithm_version: string;
682
- enabled: boolean;
683
- }[];
684
- status?: string | null | undefined;
685
- name?: string | null | undefined;
686
- version?: string | null | undefined;
687
- id?: number | null | undefined;
688
- device_id?: string | null | undefined;
689
- region?: string | null | undefined;
690
- ppid?: string | null | undefined;
691
- } | null | undefined;
692
- os?: {
693
- name?: string | null | undefined;
694
- version?: string | null | undefined;
695
- is_dev?: boolean | null | undefined;
696
- os_image_hash?: string | null | undefined;
697
- } | null | undefined;
698
- progress?: {
699
- target?: string | null | undefined;
700
- started_at?: string | null | undefined;
701
- correlation_id?: string | null | undefined;
702
- } | null | undefined;
703
- docker_compose_hash?: string | null | undefined;
704
- pre_launch_script_hash?: string | null | undefined;
705
- endpoints?: {
706
- app: string;
707
- instance: string;
708
- }[] | null | undefined;
709
- public_tcbinfo?: boolean | undefined;
710
- gateway_enabled?: boolean | undefined;
711
- secure_time?: boolean | undefined;
712
- storage_fs?: string | undefined;
713
- creator?: {
714
- object_type: "user";
715
- username?: string | null | undefined;
716
- id?: string | null | undefined;
717
- avatar_url?: string | null | undefined;
718
- } | null | undefined;
719
- deleted_at?: string | null | undefined;
720
- hourly_rate?: {
721
- total?: string | null | undefined;
722
- compute?: string | null | undefined;
723
- disk?: string | null | undefined;
724
- } | null | undefined;
725
- billing_interval?: string | null | undefined;
726
- gpu_rental_order?: {
727
- status: string;
728
- order_id: string;
729
- pricing_plan?: string | null | undefined;
730
- commitment_days?: number | null | undefined;
731
- agreed_hourly_rate?: string | null | undefined;
732
- hourly_billing_start_time?: string | null | undefined;
733
- activated_at?: string | null | undefined;
734
- completed_at?: string | null | undefined;
735
- cancelled_at?: string | null | undefined;
736
- decoupled_at?: string | null | undefined;
737
- sku_code?: string | null | undefined;
738
- sku_display_name?: string | null | undefined;
739
- } | null | undefined;
740
- }, {
741
- status: string;
742
- name: string;
743
- id: string;
744
- gateway: {
745
- base_domain?: string | null | undefined;
746
- cname?: string | null | undefined;
747
- };
748
- resource: {
749
- vcpu?: number | null | undefined;
750
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
751
- instance_type?: string | null | undefined;
752
- memory_in_gb?: number | null | undefined;
753
- disk_in_gb?: number | null | undefined;
754
- gpus?: number | null | undefined;
755
- compute_billing_price?: string | null | undefined;
756
- };
757
- workspace?: {
758
- name: string;
759
- id: string;
760
- object_type: "workspace";
761
- slug?: string | null | undefined;
762
- avatar_url?: string | null | undefined;
763
- } | null | undefined;
764
- app_id?: string | null | undefined;
765
- instance_id?: string | null | undefined;
766
- compose_hash?: string | null | undefined;
767
- vm_uuid?: string | null | undefined;
768
- created_at?: string | null | undefined;
769
- listed?: boolean | undefined;
770
- in_progress?: boolean | undefined;
771
- project_type?: string | null | undefined;
772
- kms_info?: {
773
- chain_id?: number | null | undefined;
774
- encrypted_env_pubkey?: string | null | undefined;
775
- deployer_address?: string | null | undefined;
776
- dstack_kms_address?: string | null | undefined;
777
- dstack_app_address?: string | null | undefined;
778
- rpc_endpoint?: string | null | undefined;
779
- } | null | undefined;
780
- public_sysinfo?: boolean | undefined;
781
- public_logs?: boolean | undefined;
782
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
783
- node_info?: {
784
- object_type: "node";
785
- status?: string | null | undefined;
786
- name?: string | null | undefined;
787
- version?: string | null | undefined;
788
- id?: number | null | undefined;
789
- device_id?: string | null | undefined;
790
- region?: string | null | undefined;
791
- device_ids?: {
792
- device_id: string;
793
- algorithm_version: string;
794
- enabled: boolean;
795
- }[] | undefined;
796
- ppid?: string | null | undefined;
797
- } | null | undefined;
798
- os?: {
799
- name?: string | null | undefined;
800
- version?: string | null | undefined;
801
- is_dev?: boolean | null | undefined;
802
- os_image_hash?: string | null | undefined;
803
- } | null | undefined;
804
- progress?: {
805
- target?: string | null | undefined;
806
- started_at?: string | null | undefined;
807
- correlation_id?: string | null | undefined;
808
- } | null | undefined;
809
- docker_compose_hash?: string | null | undefined;
810
- pre_launch_script_hash?: string | null | undefined;
811
- logs?: {
812
- serial?: string | null | undefined;
813
- stdout?: string | null | undefined;
814
- stderr?: string | null | undefined;
815
- container_log_base?: string | null | undefined;
816
- } | undefined;
817
- services?: Record<string, any>[] | undefined;
818
- endpoints?: {
819
- app: string;
820
- instance: string;
821
- }[] | null | undefined;
822
- public_tcbinfo?: boolean | undefined;
823
- gateway_enabled?: boolean | undefined;
824
- secure_time?: boolean | undefined;
825
- storage_fs?: string | undefined;
826
- creator?: {
827
- object_type: "user";
828
- username?: string | null | undefined;
829
- id?: string | null | undefined;
830
- avatar_url?: string | null | undefined;
831
- } | null | undefined;
832
- deleted_at?: string | null | undefined;
833
- hourly_rate?: {
834
- total?: string | null | undefined;
835
- compute?: string | null | undefined;
836
- disk?: string | null | undefined;
837
- } | null | undefined;
838
- billing_interval?: string | null | undefined;
839
- gpu_rental_order?: {
840
- status: string;
841
- order_id: string;
842
- pricing_plan?: string | null | undefined;
843
- commitment_days?: number | null | undefined;
844
- agreed_hourly_rate?: string | null | undefined;
845
- hourly_billing_start_time?: string | null | undefined;
846
- activated_at?: string | null | undefined;
847
- completed_at?: string | null | undefined;
848
- cancelled_at?: string | null | undefined;
849
- decoupled_at?: string | null | undefined;
850
- sku_code?: string | null | undefined;
851
- sku_display_name?: string | null | undefined;
852
- } | null | undefined;
853
- }>;
295
+ }, z.core.$strip>>>;
296
+ }, z.core.$strip>;
854
297
  export type CvmInfoV20260121 = z.infer<typeof CvmInfoV20260121Schema>;
855
298
  export declare const CvmInfoV20260522Schema: z.ZodObject<{
856
299
  name: z.ZodString;
@@ -864,24 +307,12 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
864
307
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
865
308
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
866
309
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
867
- billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
868
- }, "strip", z.ZodTypeAny, {
869
- vcpu?: number | null | undefined;
870
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
871
- instance_type?: string | null | undefined;
872
- memory_in_gb?: number | null | undefined;
873
- disk_in_gb?: number | null | undefined;
874
- gpus?: number | null | undefined;
875
- compute_billing_price?: string | null | undefined;
876
- }, {
877
- vcpu?: number | null | undefined;
878
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
879
- instance_type?: string | null | undefined;
880
- memory_in_gb?: number | null | undefined;
881
- disk_in_gb?: number | null | undefined;
882
- gpus?: number | null | undefined;
883
- compute_billing_price?: string | null | undefined;
884
- }>;
310
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
311
+ skip: "skip";
312
+ hourly: "hourly";
313
+ monthly: "monthly";
314
+ }>>>;
315
+ }, z.core.$strip>;
885
316
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
886
317
  object_type: z.ZodLiteral<"node">;
887
318
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -892,160 +323,76 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
892
323
  device_id: z.ZodString;
893
324
  algorithm_version: z.ZodString;
894
325
  enabled: z.ZodBoolean;
895
- }, "strip", z.ZodTypeAny, {
896
- device_id: string;
897
- algorithm_version: string;
898
- enabled: boolean;
899
- }, {
900
- device_id: string;
901
- algorithm_version: string;
902
- enabled: boolean;
903
- }>, "many">>;
326
+ }, z.core.$strip>>>;
904
327
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
905
328
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
906
329
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
907
- }, "strip", z.ZodTypeAny, {
908
- object_type: "node";
909
- device_ids: {
910
- device_id: string;
911
- algorithm_version: string;
912
- enabled: boolean;
913
- }[];
914
- status?: string | null | undefined;
915
- name?: string | null | undefined;
916
- version?: string | null | undefined;
917
- id?: number | null | undefined;
918
- device_id?: string | null | undefined;
919
- region?: string | null | undefined;
920
- ppid?: string | null | undefined;
921
- }, {
922
- object_type: "node";
923
- status?: string | null | undefined;
924
- name?: string | null | undefined;
925
- version?: string | null | undefined;
926
- id?: number | null | undefined;
927
- device_id?: string | null | undefined;
928
- region?: string | null | undefined;
929
- device_ids?: {
930
- device_id: string;
931
- algorithm_version: string;
932
- enabled: boolean;
933
- }[] | undefined;
934
- ppid?: string | null | undefined;
935
- }>>>;
330
+ }, z.core.$strip>>>;
936
331
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
937
332
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
938
333
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
939
334
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
940
335
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
941
- }, "strip", z.ZodTypeAny, {
942
- name?: string | null | undefined;
943
- version?: string | null | undefined;
944
- is_dev?: boolean | null | undefined;
945
- os_image_hash?: string | null | undefined;
946
- }, {
947
- name?: string | null | undefined;
948
- version?: string | null | undefined;
949
- is_dev?: boolean | null | undefined;
950
- 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";
951
342
  }>>>;
952
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
953
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
343
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
954
344
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
955
345
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
956
346
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
957
347
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
958
348
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
959
349
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
960
- }, "strip", z.ZodTypeAny, {
350
+ }, z.core.$strip>, z.ZodTransform<{
961
351
  chain_id?: number | null | undefined;
962
- encrypted_env_pubkey?: string | null | undefined;
963
- deployer_address?: string | null | undefined;
964
352
  dstack_kms_address?: string | null | undefined;
965
353
  dstack_app_address?: string | null | undefined;
966
- rpc_endpoint?: string | null | undefined;
967
- }, {
968
- chain_id?: number | null | undefined;
969
- encrypted_env_pubkey?: string | null | undefined;
970
354
  deployer_address?: string | null | undefined;
971
- dstack_kms_address?: string | null | undefined;
972
- dstack_app_address?: string | null | undefined;
973
355
  rpc_endpoint?: string | null | undefined;
974
- }>, {
975
- chain_id?: number | null | undefined;
976
356
  encrypted_env_pubkey?: string | null | undefined;
977
- deployer_address?: string | null | undefined;
978
- dstack_kms_address?: string | null | undefined;
979
- dstack_app_address?: string | null | undefined;
980
- rpc_endpoint?: string | null | undefined;
981
357
  }, {
982
358
  chain_id?: number | null | undefined;
983
- encrypted_env_pubkey?: string | null | undefined;
984
- deployer_address?: string | null | undefined;
985
359
  dstack_kms_address?: string | null | undefined;
986
360
  dstack_app_address?: string | null | undefined;
361
+ deployer_address?: string | null | undefined;
987
362
  rpc_endpoint?: string | null | undefined;
988
- }>>>;
363
+ encrypted_env_pubkey?: string | null | undefined;
364
+ }>>>>;
989
365
  status: z.ZodString;
990
366
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
991
367
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
992
368
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
993
369
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
994
370
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
995
- }, "strip", z.ZodTypeAny, {
996
- target?: string | null | undefined;
997
- started_at?: string | null | undefined;
998
- correlation_id?: string | null | undefined;
999
- }, {
1000
- target?: string | null | undefined;
1001
- started_at?: string | null | undefined;
1002
- correlation_id?: string | null | undefined;
1003
- }>>>;
371
+ }, z.core.$strip>>>;
1004
372
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1005
373
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1006
374
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1007
375
  gateway: z.ZodObject<{
1008
376
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1009
377
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1010
- }, "strip", z.ZodTypeAny, {
1011
- base_domain?: string | null | undefined;
1012
- cname?: string | null | undefined;
1013
- }, {
1014
- base_domain?: string | null | undefined;
1015
- cname?: string | null | undefined;
1016
- }>;
378
+ }, z.core.$strip>;
1017
379
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1018
380
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1019
381
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1020
382
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1021
383
  container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1022
- }, "strip", z.ZodTypeAny, {
1023
- serial?: string | null | undefined;
1024
- stdout?: string | null | undefined;
1025
- stderr?: string | null | undefined;
1026
- container_log_base?: string | null | undefined;
1027
- }, {
1028
- serial?: string | null | undefined;
1029
- stdout?: string | null | undefined;
1030
- stderr?: string | null | undefined;
1031
- container_log_base?: string | null | undefined;
1032
- }>>>;
1033
- 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>>>>;
1034
386
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1035
387
  app: z.ZodString;
1036
388
  instance: z.ZodString;
1037
- }, "strip", z.ZodTypeAny, {
1038
- app: string;
1039
- instance: string;
1040
- }, {
1041
- app: string;
1042
- instance: string;
1043
- }>, "many">>>;
389
+ }, z.core.$strip>>>>;
1044
390
  public_logs: z.ZodOptional<z.ZodBoolean>;
1045
391
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
1046
392
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
1047
393
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
1048
394
  secure_time: z.ZodOptional<z.ZodBoolean>;
395
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1049
396
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1050
397
  storage_fs: z.ZodOptional<z.ZodString>;
1051
398
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1054,35 +401,13 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
1054
401
  name: z.ZodString;
1055
402
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1056
403
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1057
- }, "strip", z.ZodTypeAny, {
1058
- name: string;
1059
- id: string;
1060
- object_type: "workspace";
1061
- slug?: string | null | undefined;
1062
- avatar_url?: string | null | undefined;
1063
- }, {
1064
- name: string;
1065
- id: string;
1066
- object_type: "workspace";
1067
- slug?: string | null | undefined;
1068
- avatar_url?: string | null | undefined;
1069
- }>>>;
404
+ }, z.core.$strip>>>;
1070
405
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1071
406
  object_type: z.ZodLiteral<"user">;
1072
407
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1073
408
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1074
409
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1075
- }, "strip", z.ZodTypeAny, {
1076
- object_type: "user";
1077
- username?: string | null | undefined;
1078
- id?: string | null | undefined;
1079
- avatar_url?: string | null | undefined;
1080
- }, {
1081
- object_type: "user";
1082
- username?: string | null | undefined;
1083
- id?: string | null | undefined;
1084
- avatar_url?: string | null | undefined;
1085
- }>>>;
410
+ }, z.core.$strip>>>;
1086
411
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1087
412
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
413
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1090,21 +415,17 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
1090
415
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1091
416
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1092
417
  disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1093
- }, "strip", z.ZodTypeAny, {
1094
- total?: string | null | undefined;
1095
- compute?: string | null | undefined;
1096
- disk?: string | null | undefined;
1097
- }, {
1098
- total?: string | null | undefined;
1099
- compute?: string | null | undefined;
1100
- disk?: string | null | undefined;
1101
- }>>>;
418
+ }, z.core.$strip>>>;
1102
419
  billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1103
420
  gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1104
421
  order_id: z.ZodString;
1105
422
  status: z.ZodString;
1106
423
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1107
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>>;
1108
429
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1109
430
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1110
431
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1113,262 +434,9 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
1113
434
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1114
435
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1115
436
  sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1116
- }, "strip", z.ZodTypeAny, {
1117
- status: string;
1118
- order_id: string;
1119
- pricing_plan?: string | null | undefined;
1120
- commitment_days?: number | null | undefined;
1121
- agreed_hourly_rate?: string | null | undefined;
1122
- hourly_billing_start_time?: string | null | undefined;
1123
- activated_at?: string | null | undefined;
1124
- completed_at?: string | null | undefined;
1125
- cancelled_at?: string | null | undefined;
1126
- decoupled_at?: string | null | undefined;
1127
- sku_code?: string | null | undefined;
1128
- sku_display_name?: string | null | undefined;
1129
- }, {
1130
- status: string;
1131
- order_id: string;
1132
- pricing_plan?: string | null | undefined;
1133
- commitment_days?: number | null | undefined;
1134
- agreed_hourly_rate?: string | null | undefined;
1135
- hourly_billing_start_time?: string | null | undefined;
1136
- activated_at?: string | null | undefined;
1137
- completed_at?: string | null | undefined;
1138
- cancelled_at?: string | null | undefined;
1139
- decoupled_at?: string | null | undefined;
1140
- sku_code?: string | null | undefined;
1141
- sku_display_name?: string | null | undefined;
1142
- }>>>;
1143
- } & {
437
+ }, z.core.$strip>>>;
1144
438
  id: z.ZodString;
1145
- }, "strip", z.ZodTypeAny, {
1146
- status: string;
1147
- name: string;
1148
- id: string;
1149
- gateway: {
1150
- base_domain?: string | null | undefined;
1151
- cname?: string | null | undefined;
1152
- };
1153
- listed: boolean;
1154
- in_progress: boolean;
1155
- resource: {
1156
- vcpu?: number | null | undefined;
1157
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1158
- instance_type?: string | null | undefined;
1159
- memory_in_gb?: number | null | undefined;
1160
- disk_in_gb?: number | null | undefined;
1161
- gpus?: number | null | undefined;
1162
- compute_billing_price?: string | null | undefined;
1163
- };
1164
- logs: {
1165
- serial?: string | null | undefined;
1166
- stdout?: string | null | undefined;
1167
- stderr?: string | null | undefined;
1168
- container_log_base?: string | null | undefined;
1169
- };
1170
- services: Record<string, any>[];
1171
- workspace?: {
1172
- name: string;
1173
- id: string;
1174
- object_type: "workspace";
1175
- slug?: string | null | undefined;
1176
- avatar_url?: string | null | undefined;
1177
- } | null | undefined;
1178
- app_id?: string | null | undefined;
1179
- instance_id?: string | null | undefined;
1180
- compose_hash?: string | null | undefined;
1181
- vm_uuid?: string | null | undefined;
1182
- created_at?: string | null | undefined;
1183
- project_type?: string | null | undefined;
1184
- kms_info?: {
1185
- chain_id?: number | null | undefined;
1186
- encrypted_env_pubkey?: string | null | undefined;
1187
- deployer_address?: string | null | undefined;
1188
- dstack_kms_address?: string | null | undefined;
1189
- dstack_app_address?: string | null | undefined;
1190
- rpc_endpoint?: string | null | undefined;
1191
- } | null | undefined;
1192
- public_sysinfo?: boolean | undefined;
1193
- public_logs?: boolean | undefined;
1194
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
1195
- node_info?: {
1196
- object_type: "node";
1197
- device_ids: {
1198
- device_id: string;
1199
- algorithm_version: string;
1200
- enabled: boolean;
1201
- }[];
1202
- status?: string | null | undefined;
1203
- name?: string | null | undefined;
1204
- version?: string | null | undefined;
1205
- id?: number | null | undefined;
1206
- device_id?: string | null | undefined;
1207
- region?: string | null | undefined;
1208
- ppid?: string | null | undefined;
1209
- } | null | undefined;
1210
- os?: {
1211
- name?: string | null | undefined;
1212
- version?: string | null | undefined;
1213
- is_dev?: boolean | null | undefined;
1214
- os_image_hash?: string | null | undefined;
1215
- } | null | undefined;
1216
- progress?: {
1217
- target?: string | null | undefined;
1218
- started_at?: string | null | undefined;
1219
- correlation_id?: string | null | undefined;
1220
- } | null | undefined;
1221
- docker_compose_hash?: string | null | undefined;
1222
- pre_launch_script_hash?: string | null | undefined;
1223
- endpoints?: {
1224
- app: string;
1225
- instance: string;
1226
- }[] | null | undefined;
1227
- public_tcbinfo?: boolean | undefined;
1228
- gateway_enabled?: boolean | undefined;
1229
- secure_time?: boolean | undefined;
1230
- storage_fs?: string | undefined;
1231
- creator?: {
1232
- object_type: "user";
1233
- username?: string | null | undefined;
1234
- id?: string | null | undefined;
1235
- avatar_url?: string | null | undefined;
1236
- } | null | undefined;
1237
- deleted_at?: string | null | undefined;
1238
- hourly_rate?: {
1239
- total?: string | null | undefined;
1240
- compute?: string | null | undefined;
1241
- disk?: string | null | undefined;
1242
- } | null | undefined;
1243
- billing_interval?: string | null | undefined;
1244
- gpu_rental_order?: {
1245
- status: string;
1246
- order_id: string;
1247
- pricing_plan?: string | null | undefined;
1248
- commitment_days?: number | null | undefined;
1249
- agreed_hourly_rate?: string | null | undefined;
1250
- hourly_billing_start_time?: string | null | undefined;
1251
- activated_at?: string | null | undefined;
1252
- completed_at?: string | null | undefined;
1253
- cancelled_at?: string | null | undefined;
1254
- decoupled_at?: string | null | undefined;
1255
- sku_code?: string | null | undefined;
1256
- sku_display_name?: string | null | undefined;
1257
- } | null | undefined;
1258
- }, {
1259
- status: string;
1260
- name: string;
1261
- id: string;
1262
- gateway: {
1263
- base_domain?: string | null | undefined;
1264
- cname?: string | null | undefined;
1265
- };
1266
- resource: {
1267
- vcpu?: number | null | undefined;
1268
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1269
- instance_type?: string | null | undefined;
1270
- memory_in_gb?: number | null | undefined;
1271
- disk_in_gb?: number | null | undefined;
1272
- gpus?: number | null | undefined;
1273
- compute_billing_price?: string | null | undefined;
1274
- };
1275
- workspace?: {
1276
- name: string;
1277
- id: string;
1278
- object_type: "workspace";
1279
- slug?: string | null | undefined;
1280
- avatar_url?: string | null | undefined;
1281
- } | null | undefined;
1282
- app_id?: string | null | undefined;
1283
- instance_id?: string | null | undefined;
1284
- compose_hash?: string | null | undefined;
1285
- vm_uuid?: string | null | undefined;
1286
- created_at?: string | null | undefined;
1287
- listed?: boolean | undefined;
1288
- in_progress?: boolean | undefined;
1289
- project_type?: string | null | undefined;
1290
- kms_info?: {
1291
- chain_id?: number | null | undefined;
1292
- encrypted_env_pubkey?: string | null | undefined;
1293
- deployer_address?: string | null | undefined;
1294
- dstack_kms_address?: string | null | undefined;
1295
- dstack_app_address?: string | null | undefined;
1296
- rpc_endpoint?: string | null | undefined;
1297
- } | null | undefined;
1298
- public_sysinfo?: boolean | undefined;
1299
- public_logs?: boolean | undefined;
1300
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
1301
- node_info?: {
1302
- object_type: "node";
1303
- status?: string | null | undefined;
1304
- name?: string | null | undefined;
1305
- version?: string | null | undefined;
1306
- id?: number | null | undefined;
1307
- device_id?: string | null | undefined;
1308
- region?: string | null | undefined;
1309
- device_ids?: {
1310
- device_id: string;
1311
- algorithm_version: string;
1312
- enabled: boolean;
1313
- }[] | undefined;
1314
- ppid?: string | null | undefined;
1315
- } | null | undefined;
1316
- os?: {
1317
- name?: string | null | undefined;
1318
- version?: string | null | undefined;
1319
- is_dev?: boolean | null | undefined;
1320
- os_image_hash?: string | null | undefined;
1321
- } | null | undefined;
1322
- progress?: {
1323
- target?: string | null | undefined;
1324
- started_at?: string | null | undefined;
1325
- correlation_id?: string | null | undefined;
1326
- } | null | undefined;
1327
- docker_compose_hash?: string | null | undefined;
1328
- pre_launch_script_hash?: string | null | undefined;
1329
- logs?: {
1330
- serial?: string | null | undefined;
1331
- stdout?: string | null | undefined;
1332
- stderr?: string | null | undefined;
1333
- container_log_base?: string | null | undefined;
1334
- } | undefined;
1335
- services?: Record<string, any>[] | undefined;
1336
- endpoints?: {
1337
- app: string;
1338
- instance: string;
1339
- }[] | null | undefined;
1340
- public_tcbinfo?: boolean | undefined;
1341
- gateway_enabled?: boolean | undefined;
1342
- secure_time?: boolean | undefined;
1343
- storage_fs?: string | undefined;
1344
- creator?: {
1345
- object_type: "user";
1346
- username?: string | null | undefined;
1347
- id?: string | null | undefined;
1348
- avatar_url?: string | null | undefined;
1349
- } | null | undefined;
1350
- deleted_at?: string | null | undefined;
1351
- hourly_rate?: {
1352
- total?: string | null | undefined;
1353
- compute?: string | null | undefined;
1354
- disk?: string | null | undefined;
1355
- } | null | undefined;
1356
- billing_interval?: string | null | undefined;
1357
- gpu_rental_order?: {
1358
- status: string;
1359
- order_id: string;
1360
- pricing_plan?: string | null | undefined;
1361
- commitment_days?: number | null | undefined;
1362
- agreed_hourly_rate?: string | null | undefined;
1363
- hourly_billing_start_time?: string | null | undefined;
1364
- activated_at?: string | null | undefined;
1365
- completed_at?: string | null | undefined;
1366
- cancelled_at?: string | null | undefined;
1367
- decoupled_at?: string | null | undefined;
1368
- sku_code?: string | null | undefined;
1369
- sku_display_name?: string | null | undefined;
1370
- } | null | undefined;
1371
- }>;
439
+ }, z.core.$strip>;
1372
440
  export type CvmInfoV20260522 = z.infer<typeof CvmInfoV20260522Schema>;
1373
441
  export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1374
442
  id: z.ZodString;
@@ -1383,24 +451,12 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1383
451
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1384
452
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1385
453
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1386
- billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
1387
- }, "strip", z.ZodTypeAny, {
1388
- vcpu?: number | null | undefined;
1389
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1390
- instance_type?: string | null | undefined;
1391
- memory_in_gb?: number | null | undefined;
1392
- disk_in_gb?: number | null | undefined;
1393
- gpus?: number | null | undefined;
1394
- compute_billing_price?: string | null | undefined;
1395
- }, {
1396
- vcpu?: number | null | undefined;
1397
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1398
- instance_type?: string | null | undefined;
1399
- memory_in_gb?: number | null | undefined;
1400
- disk_in_gb?: number | null | undefined;
1401
- gpus?: number | null | undefined;
1402
- compute_billing_price?: string | null | undefined;
1403
- }>;
454
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
455
+ skip: "skip";
456
+ hourly: "hourly";
457
+ monthly: "monthly";
458
+ }>>>;
459
+ }, z.core.$strip>;
1404
460
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1405
461
  object_type: z.ZodLiteral<"node">;
1406
462
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1411,160 +467,76 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1411
467
  device_id: z.ZodString;
1412
468
  algorithm_version: z.ZodString;
1413
469
  enabled: z.ZodBoolean;
1414
- }, "strip", z.ZodTypeAny, {
1415
- device_id: string;
1416
- algorithm_version: string;
1417
- enabled: boolean;
1418
- }, {
1419
- device_id: string;
1420
- algorithm_version: string;
1421
- enabled: boolean;
1422
- }>, "many">>;
470
+ }, z.core.$strip>>>;
1423
471
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1424
472
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1425
473
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1426
- }, "strip", z.ZodTypeAny, {
1427
- object_type: "node";
1428
- device_ids: {
1429
- device_id: string;
1430
- algorithm_version: string;
1431
- enabled: boolean;
1432
- }[];
1433
- status?: string | null | undefined;
1434
- name?: string | null | undefined;
1435
- version?: string | null | undefined;
1436
- id?: number | null | undefined;
1437
- device_id?: string | null | undefined;
1438
- region?: string | null | undefined;
1439
- ppid?: string | null | undefined;
1440
- }, {
1441
- object_type: "node";
1442
- status?: string | null | undefined;
1443
- name?: string | null | undefined;
1444
- version?: string | null | undefined;
1445
- id?: number | null | undefined;
1446
- device_id?: string | null | undefined;
1447
- region?: string | null | undefined;
1448
- device_ids?: {
1449
- device_id: string;
1450
- algorithm_version: string;
1451
- enabled: boolean;
1452
- }[] | undefined;
1453
- ppid?: string | null | undefined;
1454
- }>>>;
474
+ }, z.core.$strip>>>;
1455
475
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1456
476
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1457
477
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1458
478
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1459
479
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1460
- }, "strip", z.ZodTypeAny, {
1461
- name?: string | null | undefined;
1462
- version?: string | null | undefined;
1463
- is_dev?: boolean | null | undefined;
1464
- os_image_hash?: string | null | undefined;
1465
- }, {
1466
- name?: string | null | undefined;
1467
- version?: string | null | undefined;
1468
- is_dev?: boolean | null | undefined;
1469
- 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";
1470
486
  }>>>;
1471
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
1472
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
487
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
1473
488
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1474
489
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1475
490
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1476
491
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1477
492
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1478
493
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1479
- }, "strip", z.ZodTypeAny, {
494
+ }, z.core.$strip>, z.ZodTransform<{
1480
495
  chain_id?: number | null | undefined;
1481
- encrypted_env_pubkey?: string | null | undefined;
1482
- deployer_address?: string | null | undefined;
1483
496
  dstack_kms_address?: string | null | undefined;
1484
497
  dstack_app_address?: string | null | undefined;
1485
- rpc_endpoint?: string | null | undefined;
1486
- }, {
1487
- chain_id?: number | null | undefined;
1488
- encrypted_env_pubkey?: string | null | undefined;
1489
498
  deployer_address?: string | null | undefined;
1490
- dstack_kms_address?: string | null | undefined;
1491
- dstack_app_address?: string | null | undefined;
1492
499
  rpc_endpoint?: string | null | undefined;
1493
- }>, {
1494
- chain_id?: number | null | undefined;
1495
500
  encrypted_env_pubkey?: string | null | undefined;
1496
- deployer_address?: string | null | undefined;
1497
- dstack_kms_address?: string | null | undefined;
1498
- dstack_app_address?: string | null | undefined;
1499
- rpc_endpoint?: string | null | undefined;
1500
501
  }, {
1501
502
  chain_id?: number | null | undefined;
1502
- encrypted_env_pubkey?: string | null | undefined;
1503
- deployer_address?: string | null | undefined;
1504
503
  dstack_kms_address?: string | null | undefined;
1505
504
  dstack_app_address?: string | null | undefined;
505
+ deployer_address?: string | null | undefined;
1506
506
  rpc_endpoint?: string | null | undefined;
1507
- }>>>;
507
+ encrypted_env_pubkey?: string | null | undefined;
508
+ }>>>>;
1508
509
  status: z.ZodString;
1509
510
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1510
511
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1511
512
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1512
513
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1513
514
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1514
- }, "strip", z.ZodTypeAny, {
1515
- target?: string | null | undefined;
1516
- started_at?: string | null | undefined;
1517
- correlation_id?: string | null | undefined;
1518
- }, {
1519
- target?: string | null | undefined;
1520
- started_at?: string | null | undefined;
1521
- correlation_id?: string | null | undefined;
1522
- }>>>;
515
+ }, z.core.$strip>>>;
1523
516
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1524
517
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1525
518
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1526
519
  gateway: z.ZodObject<{
1527
520
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1528
521
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1529
- }, "strip", z.ZodTypeAny, {
1530
- base_domain?: string | null | undefined;
1531
- cname?: string | null | undefined;
1532
- }, {
1533
- base_domain?: string | null | undefined;
1534
- cname?: string | null | undefined;
1535
- }>;
522
+ }, z.core.$strip>;
1536
523
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1537
524
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1538
525
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1539
526
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1540
527
  container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1541
- }, "strip", z.ZodTypeAny, {
1542
- serial?: string | null | undefined;
1543
- stdout?: string | null | undefined;
1544
- stderr?: string | null | undefined;
1545
- container_log_base?: string | null | undefined;
1546
- }, {
1547
- serial?: string | null | undefined;
1548
- stdout?: string | null | undefined;
1549
- stderr?: string | null | undefined;
1550
- container_log_base?: string | null | undefined;
1551
- }>>>;
1552
- 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>>>>;
1553
530
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1554
531
  app: z.ZodString;
1555
532
  instance: z.ZodString;
1556
- }, "strip", z.ZodTypeAny, {
1557
- app: string;
1558
- instance: string;
1559
- }, {
1560
- app: string;
1561
- instance: string;
1562
- }>, "many">>>;
533
+ }, z.core.$strip>>>>;
1563
534
  public_logs: z.ZodOptional<z.ZodBoolean>;
1564
535
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
1565
536
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
1566
537
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
1567
538
  secure_time: z.ZodOptional<z.ZodBoolean>;
539
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1568
540
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1569
541
  storage_fs: z.ZodOptional<z.ZodString>;
1570
542
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1573,35 +545,13 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1573
545
  name: z.ZodString;
1574
546
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1575
547
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1576
- }, "strip", z.ZodTypeAny, {
1577
- name: string;
1578
- id: string;
1579
- object_type: "workspace";
1580
- slug?: string | null | undefined;
1581
- avatar_url?: string | null | undefined;
1582
- }, {
1583
- name: string;
1584
- id: string;
1585
- object_type: "workspace";
1586
- slug?: string | null | undefined;
1587
- avatar_url?: string | null | undefined;
1588
- }>>>;
548
+ }, z.core.$strip>>>;
1589
549
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1590
550
  object_type: z.ZodLiteral<"user">;
1591
551
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1592
552
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1593
553
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1594
- }, "strip", z.ZodTypeAny, {
1595
- object_type: "user";
1596
- username?: string | null | undefined;
1597
- id?: string | null | undefined;
1598
- avatar_url?: string | null | undefined;
1599
- }, {
1600
- object_type: "user";
1601
- username?: string | null | undefined;
1602
- id?: string | null | undefined;
1603
- avatar_url?: string | null | undefined;
1604
- }>>>;
554
+ }, z.core.$strip>>>;
1605
555
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1606
556
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1607
557
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1609,21 +559,17 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1609
559
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1610
560
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1611
561
  disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1612
- }, "strip", z.ZodTypeAny, {
1613
- total?: string | null | undefined;
1614
- compute?: string | null | undefined;
1615
- disk?: string | null | undefined;
1616
- }, {
1617
- total?: string | null | undefined;
1618
- compute?: string | null | undefined;
1619
- disk?: string | null | undefined;
1620
- }>>>;
562
+ }, z.core.$strip>>>;
1621
563
  billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1622
564
  gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1623
565
  order_id: z.ZodString;
1624
566
  status: z.ZodString;
1625
567
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1626
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>>;
1627
573
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1628
574
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1629
575
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1632,264 +578,9 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1632
578
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1633
579
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1634
580
  sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1635
- }, "strip", z.ZodTypeAny, {
1636
- status: string;
1637
- order_id: string;
1638
- pricing_plan?: string | null | undefined;
1639
- commitment_days?: number | null | undefined;
1640
- agreed_hourly_rate?: string | null | undefined;
1641
- hourly_billing_start_time?: string | null | undefined;
1642
- activated_at?: string | null | undefined;
1643
- completed_at?: string | null | undefined;
1644
- cancelled_at?: string | null | undefined;
1645
- decoupled_at?: string | null | undefined;
1646
- sku_code?: string | null | undefined;
1647
- sku_display_name?: string | null | undefined;
1648
- }, {
1649
- status: string;
1650
- order_id: string;
1651
- pricing_plan?: string | null | undefined;
1652
- commitment_days?: number | null | undefined;
1653
- agreed_hourly_rate?: string | null | undefined;
1654
- hourly_billing_start_time?: string | null | undefined;
1655
- activated_at?: string | null | undefined;
1656
- completed_at?: string | null | undefined;
1657
- cancelled_at?: string | null | undefined;
1658
- decoupled_at?: string | null | undefined;
1659
- sku_code?: string | null | undefined;
1660
- sku_display_name?: string | null | undefined;
1661
- }>>>;
1662
- } & {
1663
- compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
1664
- }, "strip", z.ZodTypeAny, {
1665
- status: string;
1666
- name: string;
1667
- id: string;
1668
- gateway: {
1669
- base_domain?: string | null | undefined;
1670
- cname?: string | null | undefined;
1671
- };
1672
- listed: boolean;
1673
- in_progress: boolean;
1674
- resource: {
1675
- vcpu?: number | null | undefined;
1676
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1677
- instance_type?: string | null | undefined;
1678
- memory_in_gb?: number | null | undefined;
1679
- disk_in_gb?: number | null | undefined;
1680
- gpus?: number | null | undefined;
1681
- compute_billing_price?: string | null | undefined;
1682
- };
1683
- logs: {
1684
- serial?: string | null | undefined;
1685
- stdout?: string | null | undefined;
1686
- stderr?: string | null | undefined;
1687
- container_log_base?: string | null | undefined;
1688
- };
1689
- services: Record<string, any>[];
1690
- workspace?: {
1691
- name: string;
1692
- id: string;
1693
- object_type: "workspace";
1694
- slug?: string | null | undefined;
1695
- avatar_url?: string | null | undefined;
1696
- } | null | undefined;
1697
- app_id?: string | null | undefined;
1698
- instance_id?: string | null | undefined;
1699
- compose_hash?: string | null | undefined;
1700
- vm_uuid?: string | null | undefined;
1701
- created_at?: string | null | undefined;
1702
- project_type?: string | null | undefined;
1703
- kms_info?: {
1704
- chain_id?: number | null | undefined;
1705
- encrypted_env_pubkey?: string | null | undefined;
1706
- deployer_address?: string | null | undefined;
1707
- dstack_kms_address?: string | null | undefined;
1708
- dstack_app_address?: string | null | undefined;
1709
- rpc_endpoint?: string | null | undefined;
1710
- } | null | undefined;
1711
- public_sysinfo?: boolean | undefined;
1712
- public_logs?: boolean | undefined;
1713
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
1714
- node_info?: {
1715
- object_type: "node";
1716
- device_ids: {
1717
- device_id: string;
1718
- algorithm_version: string;
1719
- enabled: boolean;
1720
- }[];
1721
- status?: string | null | undefined;
1722
- name?: string | null | undefined;
1723
- version?: string | null | undefined;
1724
- id?: number | null | undefined;
1725
- device_id?: string | null | undefined;
1726
- region?: string | null | undefined;
1727
- ppid?: string | null | undefined;
1728
- } | null | undefined;
1729
- os?: {
1730
- name?: string | null | undefined;
1731
- version?: string | null | undefined;
1732
- is_dev?: boolean | null | undefined;
1733
- os_image_hash?: string | null | undefined;
1734
- } | null | undefined;
1735
- progress?: {
1736
- target?: string | null | undefined;
1737
- started_at?: string | null | undefined;
1738
- correlation_id?: string | null | undefined;
1739
- } | null | undefined;
1740
- docker_compose_hash?: string | null | undefined;
1741
- pre_launch_script_hash?: string | null | undefined;
1742
- endpoints?: {
1743
- app: string;
1744
- instance: string;
1745
- }[] | null | undefined;
1746
- public_tcbinfo?: boolean | undefined;
1747
- gateway_enabled?: boolean | undefined;
1748
- secure_time?: boolean | undefined;
1749
- storage_fs?: string | undefined;
1750
- creator?: {
1751
- object_type: "user";
1752
- username?: string | null | undefined;
1753
- id?: string | null | undefined;
1754
- avatar_url?: string | null | undefined;
1755
- } | null | undefined;
1756
- deleted_at?: string | null | undefined;
1757
- hourly_rate?: {
1758
- total?: string | null | undefined;
1759
- compute?: string | null | undefined;
1760
- disk?: string | null | undefined;
1761
- } | null | undefined;
1762
- billing_interval?: string | null | undefined;
1763
- gpu_rental_order?: {
1764
- status: string;
1765
- order_id: string;
1766
- pricing_plan?: string | null | undefined;
1767
- commitment_days?: number | null | undefined;
1768
- agreed_hourly_rate?: string | null | undefined;
1769
- hourly_billing_start_time?: string | null | undefined;
1770
- activated_at?: string | null | undefined;
1771
- completed_at?: string | null | undefined;
1772
- cancelled_at?: string | null | undefined;
1773
- decoupled_at?: string | null | undefined;
1774
- sku_code?: string | null | undefined;
1775
- sku_display_name?: string | null | undefined;
1776
- } | null | undefined;
1777
- compose_file?: string | Record<string, any> | null | undefined;
1778
- }, {
1779
- status: string;
1780
- name: string;
1781
- id: string;
1782
- gateway: {
1783
- base_domain?: string | null | undefined;
1784
- cname?: string | null | undefined;
1785
- };
1786
- resource: {
1787
- vcpu?: number | null | undefined;
1788
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1789
- instance_type?: string | null | undefined;
1790
- memory_in_gb?: number | null | undefined;
1791
- disk_in_gb?: number | null | undefined;
1792
- gpus?: number | null | undefined;
1793
- compute_billing_price?: string | null | undefined;
1794
- };
1795
- workspace?: {
1796
- name: string;
1797
- id: string;
1798
- object_type: "workspace";
1799
- slug?: string | null | undefined;
1800
- avatar_url?: string | null | undefined;
1801
- } | null | undefined;
1802
- app_id?: string | null | undefined;
1803
- instance_id?: string | null | undefined;
1804
- compose_hash?: string | null | undefined;
1805
- vm_uuid?: string | null | undefined;
1806
- created_at?: string | null | undefined;
1807
- listed?: boolean | undefined;
1808
- in_progress?: boolean | undefined;
1809
- project_type?: string | null | undefined;
1810
- kms_info?: {
1811
- chain_id?: number | null | undefined;
1812
- encrypted_env_pubkey?: string | null | undefined;
1813
- deployer_address?: string | null | undefined;
1814
- dstack_kms_address?: string | null | undefined;
1815
- dstack_app_address?: string | null | undefined;
1816
- rpc_endpoint?: string | null | undefined;
1817
- } | null | undefined;
1818
- public_sysinfo?: boolean | undefined;
1819
- public_logs?: boolean | undefined;
1820
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
1821
- node_info?: {
1822
- object_type: "node";
1823
- status?: string | null | undefined;
1824
- name?: string | null | undefined;
1825
- version?: string | null | undefined;
1826
- id?: number | null | undefined;
1827
- device_id?: string | null | undefined;
1828
- region?: string | null | undefined;
1829
- device_ids?: {
1830
- device_id: string;
1831
- algorithm_version: string;
1832
- enabled: boolean;
1833
- }[] | undefined;
1834
- ppid?: string | null | undefined;
1835
- } | null | undefined;
1836
- os?: {
1837
- name?: string | null | undefined;
1838
- version?: string | null | undefined;
1839
- is_dev?: boolean | null | undefined;
1840
- os_image_hash?: string | null | undefined;
1841
- } | null | undefined;
1842
- progress?: {
1843
- target?: string | null | undefined;
1844
- started_at?: string | null | undefined;
1845
- correlation_id?: string | null | undefined;
1846
- } | null | undefined;
1847
- docker_compose_hash?: string | null | undefined;
1848
- pre_launch_script_hash?: string | null | undefined;
1849
- logs?: {
1850
- serial?: string | null | undefined;
1851
- stdout?: string | null | undefined;
1852
- stderr?: string | null | undefined;
1853
- container_log_base?: string | null | undefined;
1854
- } | undefined;
1855
- services?: Record<string, any>[] | undefined;
1856
- endpoints?: {
1857
- app: string;
1858
- instance: string;
1859
- }[] | null | undefined;
1860
- public_tcbinfo?: boolean | undefined;
1861
- gateway_enabled?: boolean | undefined;
1862
- secure_time?: boolean | undefined;
1863
- storage_fs?: string | undefined;
1864
- creator?: {
1865
- object_type: "user";
1866
- username?: string | null | undefined;
1867
- id?: string | null | undefined;
1868
- avatar_url?: string | null | undefined;
1869
- } | null | undefined;
1870
- deleted_at?: string | null | undefined;
1871
- hourly_rate?: {
1872
- total?: string | null | undefined;
1873
- compute?: string | null | undefined;
1874
- disk?: string | null | undefined;
1875
- } | null | undefined;
1876
- billing_interval?: string | null | undefined;
1877
- gpu_rental_order?: {
1878
- status: string;
1879
- order_id: string;
1880
- pricing_plan?: string | null | undefined;
1881
- commitment_days?: number | null | undefined;
1882
- agreed_hourly_rate?: string | null | undefined;
1883
- hourly_billing_start_time?: string | null | undefined;
1884
- activated_at?: string | null | undefined;
1885
- completed_at?: string | null | undefined;
1886
- cancelled_at?: string | null | undefined;
1887
- decoupled_at?: string | null | undefined;
1888
- sku_code?: string | null | undefined;
1889
- sku_display_name?: string | null | undefined;
1890
- } | null | undefined;
1891
- compose_file?: string | Record<string, any> | null | undefined;
1892
- }>;
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>;
1893
584
  export type CvmInfoDetailV20260121 = z.infer<typeof CvmInfoDetailV20260121Schema>;
1894
585
  export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
1895
586
  name: z.ZodString;
@@ -1903,24 +594,12 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
1903
594
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1904
595
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1905
596
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1906
- billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
1907
- }, "strip", z.ZodTypeAny, {
1908
- vcpu?: number | null | undefined;
1909
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1910
- instance_type?: string | null | undefined;
1911
- memory_in_gb?: number | null | undefined;
1912
- disk_in_gb?: number | null | undefined;
1913
- gpus?: number | null | undefined;
1914
- compute_billing_price?: string | null | undefined;
1915
- }, {
1916
- vcpu?: number | null | undefined;
1917
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
1918
- instance_type?: string | null | undefined;
1919
- memory_in_gb?: number | null | undefined;
1920
- disk_in_gb?: number | null | undefined;
1921
- gpus?: number | null | undefined;
1922
- compute_billing_price?: string | null | undefined;
1923
- }>;
597
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
598
+ skip: "skip";
599
+ hourly: "hourly";
600
+ monthly: "monthly";
601
+ }>>>;
602
+ }, z.core.$strip>;
1924
603
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1925
604
  object_type: z.ZodLiteral<"node">;
1926
605
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1931,160 +610,76 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
1931
610
  device_id: z.ZodString;
1932
611
  algorithm_version: z.ZodString;
1933
612
  enabled: z.ZodBoolean;
1934
- }, "strip", z.ZodTypeAny, {
1935
- device_id: string;
1936
- algorithm_version: string;
1937
- enabled: boolean;
1938
- }, {
1939
- device_id: string;
1940
- algorithm_version: string;
1941
- enabled: boolean;
1942
- }>, "many">>;
613
+ }, z.core.$strip>>>;
1943
614
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1944
615
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1945
616
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1946
- }, "strip", z.ZodTypeAny, {
1947
- object_type: "node";
1948
- device_ids: {
1949
- device_id: string;
1950
- algorithm_version: string;
1951
- enabled: boolean;
1952
- }[];
1953
- status?: string | null | undefined;
1954
- name?: string | null | undefined;
1955
- version?: string | null | undefined;
1956
- id?: number | null | undefined;
1957
- device_id?: string | null | undefined;
1958
- region?: string | null | undefined;
1959
- ppid?: string | null | undefined;
1960
- }, {
1961
- object_type: "node";
1962
- status?: string | null | undefined;
1963
- name?: string | null | undefined;
1964
- version?: string | null | undefined;
1965
- id?: number | null | undefined;
1966
- device_id?: string | null | undefined;
1967
- region?: string | null | undefined;
1968
- device_ids?: {
1969
- device_id: string;
1970
- algorithm_version: string;
1971
- enabled: boolean;
1972
- }[] | undefined;
1973
- ppid?: string | null | undefined;
1974
- }>>>;
617
+ }, z.core.$strip>>>;
1975
618
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1976
619
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1977
620
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1978
621
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1979
622
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1980
- }, "strip", z.ZodTypeAny, {
1981
- name?: string | null | undefined;
1982
- version?: string | null | undefined;
1983
- is_dev?: boolean | null | undefined;
1984
- os_image_hash?: string | null | undefined;
1985
- }, {
1986
- name?: string | null | undefined;
1987
- version?: string | null | undefined;
1988
- is_dev?: boolean | null | undefined;
1989
- 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";
1990
629
  }>>>;
1991
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
1992
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
630
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
1993
631
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1994
632
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1995
633
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1996
634
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1997
635
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1998
636
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1999
- }, "strip", z.ZodTypeAny, {
637
+ }, z.core.$strip>, z.ZodTransform<{
2000
638
  chain_id?: number | null | undefined;
2001
- encrypted_env_pubkey?: string | null | undefined;
2002
- deployer_address?: string | null | undefined;
2003
639
  dstack_kms_address?: string | null | undefined;
2004
640
  dstack_app_address?: string | null | undefined;
2005
- rpc_endpoint?: string | null | undefined;
2006
- }, {
2007
- chain_id?: number | null | undefined;
2008
- encrypted_env_pubkey?: string | null | undefined;
2009
641
  deployer_address?: string | null | undefined;
2010
- dstack_kms_address?: string | null | undefined;
2011
- dstack_app_address?: string | null | undefined;
2012
642
  rpc_endpoint?: string | null | undefined;
2013
- }>, {
2014
- chain_id?: number | null | undefined;
2015
643
  encrypted_env_pubkey?: string | null | undefined;
2016
- deployer_address?: string | null | undefined;
2017
- dstack_kms_address?: string | null | undefined;
2018
- dstack_app_address?: string | null | undefined;
2019
- rpc_endpoint?: string | null | undefined;
2020
644
  }, {
2021
645
  chain_id?: number | null | undefined;
2022
- encrypted_env_pubkey?: string | null | undefined;
2023
- deployer_address?: string | null | undefined;
2024
646
  dstack_kms_address?: string | null | undefined;
2025
647
  dstack_app_address?: string | null | undefined;
648
+ deployer_address?: string | null | undefined;
2026
649
  rpc_endpoint?: string | null | undefined;
2027
- }>>>;
650
+ encrypted_env_pubkey?: string | null | undefined;
651
+ }>>>>;
2028
652
  status: z.ZodString;
2029
653
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2030
654
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2031
655
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2032
656
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2033
657
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2034
- }, "strip", z.ZodTypeAny, {
2035
- target?: string | null | undefined;
2036
- started_at?: string | null | undefined;
2037
- correlation_id?: string | null | undefined;
2038
- }, {
2039
- target?: string | null | undefined;
2040
- started_at?: string | null | undefined;
2041
- correlation_id?: string | null | undefined;
2042
- }>>>;
658
+ }, z.core.$strip>>>;
2043
659
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2044
660
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2045
661
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2046
662
  gateway: z.ZodObject<{
2047
663
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2048
664
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2049
- }, "strip", z.ZodTypeAny, {
2050
- base_domain?: string | null | undefined;
2051
- cname?: string | null | undefined;
2052
- }, {
2053
- base_domain?: string | null | undefined;
2054
- cname?: string | null | undefined;
2055
- }>;
665
+ }, z.core.$strip>;
2056
666
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2057
667
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2058
668
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2059
669
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2060
670
  container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2061
- }, "strip", z.ZodTypeAny, {
2062
- serial?: string | null | undefined;
2063
- stdout?: string | null | undefined;
2064
- stderr?: string | null | undefined;
2065
- container_log_base?: string | null | undefined;
2066
- }, {
2067
- serial?: string | null | undefined;
2068
- stdout?: string | null | undefined;
2069
- stderr?: string | null | undefined;
2070
- container_log_base?: string | null | undefined;
2071
- }>>>;
2072
- 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>>>>;
2073
673
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2074
674
  app: z.ZodString;
2075
675
  instance: z.ZodString;
2076
- }, "strip", z.ZodTypeAny, {
2077
- app: string;
2078
- instance: string;
2079
- }, {
2080
- app: string;
2081
- instance: string;
2082
- }>, "many">>>;
676
+ }, z.core.$strip>>>>;
2083
677
  public_logs: z.ZodOptional<z.ZodBoolean>;
2084
678
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
2085
679
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
2086
680
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
2087
681
  secure_time: z.ZodOptional<z.ZodBoolean>;
682
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2088
683
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2089
684
  storage_fs: z.ZodOptional<z.ZodString>;
2090
685
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2093,35 +688,13 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
2093
688
  name: z.ZodString;
2094
689
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2095
690
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2096
- }, "strip", z.ZodTypeAny, {
2097
- name: string;
2098
- id: string;
2099
- object_type: "workspace";
2100
- slug?: string | null | undefined;
2101
- avatar_url?: string | null | undefined;
2102
- }, {
2103
- name: string;
2104
- id: string;
2105
- object_type: "workspace";
2106
- slug?: string | null | undefined;
2107
- avatar_url?: string | null | undefined;
2108
- }>>>;
691
+ }, z.core.$strip>>>;
2109
692
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2110
693
  object_type: z.ZodLiteral<"user">;
2111
694
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2112
695
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2113
696
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2114
- }, "strip", z.ZodTypeAny, {
2115
- object_type: "user";
2116
- username?: string | null | undefined;
2117
- id?: string | null | undefined;
2118
- avatar_url?: string | null | undefined;
2119
- }, {
2120
- object_type: "user";
2121
- username?: string | null | undefined;
2122
- id?: string | null | undefined;
2123
- avatar_url?: string | null | undefined;
2124
- }>>>;
697
+ }, z.core.$strip>>>;
2125
698
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2126
699
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2127
700
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2129,21 +702,17 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
2129
702
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2130
703
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2131
704
  disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2132
- }, "strip", z.ZodTypeAny, {
2133
- total?: string | null | undefined;
2134
- compute?: string | null | undefined;
2135
- disk?: string | null | undefined;
2136
- }, {
2137
- total?: string | null | undefined;
2138
- compute?: string | null | undefined;
2139
- disk?: string | null | undefined;
2140
- }>>>;
705
+ }, z.core.$strip>>>;
2141
706
  billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2142
707
  gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2143
708
  order_id: z.ZodString;
2144
709
  status: z.ZodString;
2145
710
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2146
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>>;
2147
716
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2148
717
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2149
718
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2152,266 +721,10 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
2152
721
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2153
722
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2154
723
  sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2155
- }, "strip", z.ZodTypeAny, {
2156
- status: string;
2157
- order_id: string;
2158
- pricing_plan?: string | null | undefined;
2159
- commitment_days?: number | null | undefined;
2160
- agreed_hourly_rate?: string | null | undefined;
2161
- hourly_billing_start_time?: string | null | undefined;
2162
- activated_at?: string | null | undefined;
2163
- completed_at?: string | null | undefined;
2164
- cancelled_at?: string | null | undefined;
2165
- decoupled_at?: string | null | undefined;
2166
- sku_code?: string | null | undefined;
2167
- sku_display_name?: string | null | undefined;
2168
- }, {
2169
- status: string;
2170
- order_id: string;
2171
- pricing_plan?: string | null | undefined;
2172
- commitment_days?: number | null | undefined;
2173
- agreed_hourly_rate?: string | null | undefined;
2174
- hourly_billing_start_time?: string | null | undefined;
2175
- activated_at?: string | null | undefined;
2176
- completed_at?: string | null | undefined;
2177
- cancelled_at?: string | null | undefined;
2178
- decoupled_at?: string | null | undefined;
2179
- sku_code?: string | null | undefined;
2180
- sku_display_name?: string | null | undefined;
2181
- }>>>;
2182
- } & {
724
+ }, z.core.$strip>>>;
2183
725
  id: z.ZodString;
2184
- } & {
2185
- compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
2186
- }, "strip", z.ZodTypeAny, {
2187
- status: string;
2188
- name: string;
2189
- id: string;
2190
- gateway: {
2191
- base_domain?: string | null | undefined;
2192
- cname?: string | null | undefined;
2193
- };
2194
- listed: boolean;
2195
- in_progress: boolean;
2196
- resource: {
2197
- vcpu?: number | null | undefined;
2198
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2199
- instance_type?: string | null | undefined;
2200
- memory_in_gb?: number | null | undefined;
2201
- disk_in_gb?: number | null | undefined;
2202
- gpus?: number | null | undefined;
2203
- compute_billing_price?: string | null | undefined;
2204
- };
2205
- logs: {
2206
- serial?: string | null | undefined;
2207
- stdout?: string | null | undefined;
2208
- stderr?: string | null | undefined;
2209
- container_log_base?: string | null | undefined;
2210
- };
2211
- services: Record<string, any>[];
2212
- workspace?: {
2213
- name: string;
2214
- id: string;
2215
- object_type: "workspace";
2216
- slug?: string | null | undefined;
2217
- avatar_url?: string | null | undefined;
2218
- } | null | undefined;
2219
- app_id?: string | null | undefined;
2220
- instance_id?: string | null | undefined;
2221
- compose_hash?: string | null | undefined;
2222
- vm_uuid?: string | null | undefined;
2223
- created_at?: string | null | undefined;
2224
- project_type?: string | null | undefined;
2225
- kms_info?: {
2226
- chain_id?: number | null | undefined;
2227
- encrypted_env_pubkey?: string | null | undefined;
2228
- deployer_address?: string | null | undefined;
2229
- dstack_kms_address?: string | null | undefined;
2230
- dstack_app_address?: string | null | undefined;
2231
- rpc_endpoint?: string | null | undefined;
2232
- } | null | undefined;
2233
- public_sysinfo?: boolean | undefined;
2234
- public_logs?: boolean | undefined;
2235
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2236
- node_info?: {
2237
- object_type: "node";
2238
- device_ids: {
2239
- device_id: string;
2240
- algorithm_version: string;
2241
- enabled: boolean;
2242
- }[];
2243
- status?: string | null | undefined;
2244
- name?: string | null | undefined;
2245
- version?: string | null | undefined;
2246
- id?: number | null | undefined;
2247
- device_id?: string | null | undefined;
2248
- region?: string | null | undefined;
2249
- ppid?: string | null | undefined;
2250
- } | null | undefined;
2251
- os?: {
2252
- name?: string | null | undefined;
2253
- version?: string | null | undefined;
2254
- is_dev?: boolean | null | undefined;
2255
- os_image_hash?: string | null | undefined;
2256
- } | null | undefined;
2257
- progress?: {
2258
- target?: string | null | undefined;
2259
- started_at?: string | null | undefined;
2260
- correlation_id?: string | null | undefined;
2261
- } | null | undefined;
2262
- docker_compose_hash?: string | null | undefined;
2263
- pre_launch_script_hash?: string | null | undefined;
2264
- endpoints?: {
2265
- app: string;
2266
- instance: string;
2267
- }[] | null | undefined;
2268
- public_tcbinfo?: boolean | undefined;
2269
- gateway_enabled?: boolean | undefined;
2270
- secure_time?: boolean | undefined;
2271
- storage_fs?: string | undefined;
2272
- creator?: {
2273
- object_type: "user";
2274
- username?: string | null | undefined;
2275
- id?: string | null | undefined;
2276
- avatar_url?: string | null | undefined;
2277
- } | null | undefined;
2278
- deleted_at?: string | null | undefined;
2279
- hourly_rate?: {
2280
- total?: string | null | undefined;
2281
- compute?: string | null | undefined;
2282
- disk?: string | null | undefined;
2283
- } | null | undefined;
2284
- billing_interval?: string | null | undefined;
2285
- gpu_rental_order?: {
2286
- status: string;
2287
- order_id: string;
2288
- pricing_plan?: string | null | undefined;
2289
- commitment_days?: number | null | undefined;
2290
- agreed_hourly_rate?: string | null | undefined;
2291
- hourly_billing_start_time?: string | null | undefined;
2292
- activated_at?: string | null | undefined;
2293
- completed_at?: string | null | undefined;
2294
- cancelled_at?: string | null | undefined;
2295
- decoupled_at?: string | null | undefined;
2296
- sku_code?: string | null | undefined;
2297
- sku_display_name?: string | null | undefined;
2298
- } | null | undefined;
2299
- compose_file?: string | Record<string, any> | null | undefined;
2300
- }, {
2301
- status: string;
2302
- name: string;
2303
- id: string;
2304
- gateway: {
2305
- base_domain?: string | null | undefined;
2306
- cname?: string | null | undefined;
2307
- };
2308
- resource: {
2309
- vcpu?: number | null | undefined;
2310
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2311
- instance_type?: string | null | undefined;
2312
- memory_in_gb?: number | null | undefined;
2313
- disk_in_gb?: number | null | undefined;
2314
- gpus?: number | null | undefined;
2315
- compute_billing_price?: string | null | undefined;
2316
- };
2317
- workspace?: {
2318
- name: string;
2319
- id: string;
2320
- object_type: "workspace";
2321
- slug?: string | null | undefined;
2322
- avatar_url?: string | null | undefined;
2323
- } | null | undefined;
2324
- app_id?: string | null | undefined;
2325
- instance_id?: string | null | undefined;
2326
- compose_hash?: string | null | undefined;
2327
- vm_uuid?: string | null | undefined;
2328
- created_at?: string | null | undefined;
2329
- listed?: boolean | undefined;
2330
- in_progress?: boolean | undefined;
2331
- project_type?: string | null | undefined;
2332
- kms_info?: {
2333
- chain_id?: number | null | undefined;
2334
- encrypted_env_pubkey?: string | null | undefined;
2335
- deployer_address?: string | null | undefined;
2336
- dstack_kms_address?: string | null | undefined;
2337
- dstack_app_address?: string | null | undefined;
2338
- rpc_endpoint?: string | null | undefined;
2339
- } | null | undefined;
2340
- public_sysinfo?: boolean | undefined;
2341
- public_logs?: boolean | undefined;
2342
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2343
- node_info?: {
2344
- object_type: "node";
2345
- status?: string | null | undefined;
2346
- name?: string | null | undefined;
2347
- version?: string | null | undefined;
2348
- id?: number | null | undefined;
2349
- device_id?: string | null | undefined;
2350
- region?: string | null | undefined;
2351
- device_ids?: {
2352
- device_id: string;
2353
- algorithm_version: string;
2354
- enabled: boolean;
2355
- }[] | undefined;
2356
- ppid?: string | null | undefined;
2357
- } | null | undefined;
2358
- os?: {
2359
- name?: string | null | undefined;
2360
- version?: string | null | undefined;
2361
- is_dev?: boolean | null | undefined;
2362
- os_image_hash?: string | null | undefined;
2363
- } | null | undefined;
2364
- progress?: {
2365
- target?: string | null | undefined;
2366
- started_at?: string | null | undefined;
2367
- correlation_id?: string | null | undefined;
2368
- } | null | undefined;
2369
- docker_compose_hash?: string | null | undefined;
2370
- pre_launch_script_hash?: string | null | undefined;
2371
- logs?: {
2372
- serial?: string | null | undefined;
2373
- stdout?: string | null | undefined;
2374
- stderr?: string | null | undefined;
2375
- container_log_base?: string | null | undefined;
2376
- } | undefined;
2377
- services?: Record<string, any>[] | undefined;
2378
- endpoints?: {
2379
- app: string;
2380
- instance: string;
2381
- }[] | null | undefined;
2382
- public_tcbinfo?: boolean | undefined;
2383
- gateway_enabled?: boolean | undefined;
2384
- secure_time?: boolean | undefined;
2385
- storage_fs?: string | undefined;
2386
- creator?: {
2387
- object_type: "user";
2388
- username?: string | null | undefined;
2389
- id?: string | null | undefined;
2390
- avatar_url?: string | null | undefined;
2391
- } | null | undefined;
2392
- deleted_at?: string | null | undefined;
2393
- hourly_rate?: {
2394
- total?: string | null | undefined;
2395
- compute?: string | null | undefined;
2396
- disk?: string | null | undefined;
2397
- } | null | undefined;
2398
- billing_interval?: string | null | undefined;
2399
- gpu_rental_order?: {
2400
- status: string;
2401
- order_id: string;
2402
- pricing_plan?: string | null | undefined;
2403
- commitment_days?: number | null | undefined;
2404
- agreed_hourly_rate?: string | null | undefined;
2405
- hourly_billing_start_time?: string | null | undefined;
2406
- activated_at?: string | null | undefined;
2407
- completed_at?: string | null | undefined;
2408
- cancelled_at?: string | null | undefined;
2409
- decoupled_at?: string | null | undefined;
2410
- sku_code?: string | null | undefined;
2411
- sku_display_name?: string | null | undefined;
2412
- } | null | undefined;
2413
- compose_file?: string | Record<string, any> | null | undefined;
2414
- }>;
726
+ compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
727
+ }, z.core.$strip>;
2415
728
  export type CvmInfoDetailV20260522 = z.infer<typeof CvmInfoDetailV20260522Schema>;
2416
729
  export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
2417
730
  items: z.ZodArray<z.ZodObject<{
@@ -2427,24 +740,12 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
2427
740
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2428
741
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2429
742
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2430
- billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
2431
- }, "strip", z.ZodTypeAny, {
2432
- vcpu?: number | null | undefined;
2433
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2434
- instance_type?: string | null | undefined;
2435
- memory_in_gb?: number | null | undefined;
2436
- disk_in_gb?: number | null | undefined;
2437
- gpus?: number | null | undefined;
2438
- compute_billing_price?: string | null | undefined;
2439
- }, {
2440
- vcpu?: number | null | undefined;
2441
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2442
- instance_type?: string | null | undefined;
2443
- memory_in_gb?: number | null | undefined;
2444
- disk_in_gb?: number | null | undefined;
2445
- gpus?: number | null | undefined;
2446
- compute_billing_price?: string | null | undefined;
2447
- }>;
743
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
744
+ skip: "skip";
745
+ hourly: "hourly";
746
+ monthly: "monthly";
747
+ }>>>;
748
+ }, z.core.$strip>;
2448
749
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2449
750
  object_type: z.ZodLiteral<"node">;
2450
751
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2455,160 +756,76 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
2455
756
  device_id: z.ZodString;
2456
757
  algorithm_version: z.ZodString;
2457
758
  enabled: z.ZodBoolean;
2458
- }, "strip", z.ZodTypeAny, {
2459
- device_id: string;
2460
- algorithm_version: string;
2461
- enabled: boolean;
2462
- }, {
2463
- device_id: string;
2464
- algorithm_version: string;
2465
- enabled: boolean;
2466
- }>, "many">>;
759
+ }, z.core.$strip>>>;
2467
760
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2468
761
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2469
762
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2470
- }, "strip", z.ZodTypeAny, {
2471
- object_type: "node";
2472
- device_ids: {
2473
- device_id: string;
2474
- algorithm_version: string;
2475
- enabled: boolean;
2476
- }[];
2477
- status?: string | null | undefined;
2478
- name?: string | null | undefined;
2479
- version?: string | null | undefined;
2480
- id?: number | null | undefined;
2481
- device_id?: string | null | undefined;
2482
- region?: string | null | undefined;
2483
- ppid?: string | null | undefined;
2484
- }, {
2485
- object_type: "node";
2486
- status?: string | null | undefined;
2487
- name?: string | null | undefined;
2488
- version?: string | null | undefined;
2489
- id?: number | null | undefined;
2490
- device_id?: string | null | undefined;
2491
- region?: string | null | undefined;
2492
- device_ids?: {
2493
- device_id: string;
2494
- algorithm_version: string;
2495
- enabled: boolean;
2496
- }[] | undefined;
2497
- ppid?: string | null | undefined;
2498
- }>>>;
763
+ }, z.core.$strip>>>;
2499
764
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2500
765
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2501
766
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2502
767
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2503
768
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2504
- }, "strip", z.ZodTypeAny, {
2505
- name?: string | null | undefined;
2506
- version?: string | null | undefined;
2507
- is_dev?: boolean | null | undefined;
2508
- os_image_hash?: string | null | undefined;
2509
- }, {
2510
- name?: string | null | undefined;
2511
- version?: string | null | undefined;
2512
- is_dev?: boolean | null | undefined;
2513
- 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";
2514
775
  }>>>;
2515
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
2516
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
776
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
2517
777
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2518
778
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2519
779
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2520
780
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2521
781
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2522
782
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2523
- }, "strip", z.ZodTypeAny, {
783
+ }, z.core.$strip>, z.ZodTransform<{
2524
784
  chain_id?: number | null | undefined;
2525
- encrypted_env_pubkey?: string | null | undefined;
2526
- deployer_address?: string | null | undefined;
2527
785
  dstack_kms_address?: string | null | undefined;
2528
786
  dstack_app_address?: string | null | undefined;
2529
- rpc_endpoint?: string | null | undefined;
2530
- }, {
2531
- chain_id?: number | null | undefined;
2532
- encrypted_env_pubkey?: string | null | undefined;
2533
787
  deployer_address?: string | null | undefined;
2534
- dstack_kms_address?: string | null | undefined;
2535
- dstack_app_address?: string | null | undefined;
2536
788
  rpc_endpoint?: string | null | undefined;
2537
- }>, {
2538
- chain_id?: number | null | undefined;
2539
789
  encrypted_env_pubkey?: string | null | undefined;
2540
- deployer_address?: string | null | undefined;
2541
- dstack_kms_address?: string | null | undefined;
2542
- dstack_app_address?: string | null | undefined;
2543
- rpc_endpoint?: string | null | undefined;
2544
790
  }, {
2545
791
  chain_id?: number | null | undefined;
2546
- encrypted_env_pubkey?: string | null | undefined;
2547
- deployer_address?: string | null | undefined;
2548
792
  dstack_kms_address?: string | null | undefined;
2549
793
  dstack_app_address?: string | null | undefined;
794
+ deployer_address?: string | null | undefined;
2550
795
  rpc_endpoint?: string | null | undefined;
2551
- }>>>;
796
+ encrypted_env_pubkey?: string | null | undefined;
797
+ }>>>>;
2552
798
  status: z.ZodString;
2553
799
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2554
800
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2555
801
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2556
802
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2557
803
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2558
- }, "strip", z.ZodTypeAny, {
2559
- target?: string | null | undefined;
2560
- started_at?: string | null | undefined;
2561
- correlation_id?: string | null | undefined;
2562
- }, {
2563
- target?: string | null | undefined;
2564
- started_at?: string | null | undefined;
2565
- correlation_id?: string | null | undefined;
2566
- }>>>;
804
+ }, z.core.$strip>>>;
2567
805
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2568
806
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2569
807
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2570
808
  gateway: z.ZodObject<{
2571
809
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2572
810
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2573
- }, "strip", z.ZodTypeAny, {
2574
- base_domain?: string | null | undefined;
2575
- cname?: string | null | undefined;
2576
- }, {
2577
- base_domain?: string | null | undefined;
2578
- cname?: string | null | undefined;
2579
- }>;
811
+ }, z.core.$strip>;
2580
812
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2581
813
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2582
814
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2583
815
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2584
816
  container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2585
- }, "strip", z.ZodTypeAny, {
2586
- serial?: string | null | undefined;
2587
- stdout?: string | null | undefined;
2588
- stderr?: string | null | undefined;
2589
- container_log_base?: string | null | undefined;
2590
- }, {
2591
- serial?: string | null | undefined;
2592
- stdout?: string | null | undefined;
2593
- stderr?: string | null | undefined;
2594
- container_log_base?: string | null | undefined;
2595
- }>>>;
2596
- 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>>>>;
2597
819
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2598
820
  app: z.ZodString;
2599
821
  instance: z.ZodString;
2600
- }, "strip", z.ZodTypeAny, {
2601
- app: string;
2602
- instance: string;
2603
- }, {
2604
- app: string;
2605
- instance: string;
2606
- }>, "many">>>;
822
+ }, z.core.$strip>>>>;
2607
823
  public_logs: z.ZodOptional<z.ZodBoolean>;
2608
824
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
2609
825
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
2610
826
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
2611
827
  secure_time: z.ZodOptional<z.ZodBoolean>;
828
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2612
829
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2613
830
  storage_fs: z.ZodOptional<z.ZodString>;
2614
831
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2617,35 +834,13 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
2617
834
  name: z.ZodString;
2618
835
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2619
836
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2620
- }, "strip", z.ZodTypeAny, {
2621
- name: string;
2622
- id: string;
2623
- object_type: "workspace";
2624
- slug?: string | null | undefined;
2625
- avatar_url?: string | null | undefined;
2626
- }, {
2627
- name: string;
2628
- id: string;
2629
- object_type: "workspace";
2630
- slug?: string | null | undefined;
2631
- avatar_url?: string | null | undefined;
2632
- }>>>;
837
+ }, z.core.$strip>>>;
2633
838
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2634
839
  object_type: z.ZodLiteral<"user">;
2635
840
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2636
841
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2637
842
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2638
- }, "strip", z.ZodTypeAny, {
2639
- object_type: "user";
2640
- username?: string | null | undefined;
2641
- id?: string | null | undefined;
2642
- avatar_url?: string | null | undefined;
2643
- }, {
2644
- object_type: "user";
2645
- username?: string | null | undefined;
2646
- id?: string | null | undefined;
2647
- avatar_url?: string | null | undefined;
2648
- }>>>;
843
+ }, z.core.$strip>>>;
2649
844
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2650
845
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2651
846
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2653,21 +848,17 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
2653
848
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2654
849
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2655
850
  disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2656
- }, "strip", z.ZodTypeAny, {
2657
- total?: string | null | undefined;
2658
- compute?: string | null | undefined;
2659
- disk?: string | null | undefined;
2660
- }, {
2661
- total?: string | null | undefined;
2662
- compute?: string | null | undefined;
2663
- disk?: string | null | undefined;
2664
- }>>>;
851
+ }, z.core.$strip>>>;
2665
852
  billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2666
853
  gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2667
854
  order_id: z.ZodString;
2668
855
  status: z.ZodString;
2669
856
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2670
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>>;
2671
862
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2672
863
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2673
864
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2676,510 +867,19 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
2676
867
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2677
868
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2678
869
  sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2679
- }, "strip", z.ZodTypeAny, {
2680
- status: string;
2681
- order_id: string;
2682
- pricing_plan?: string | null | undefined;
2683
- commitment_days?: number | null | undefined;
2684
- agreed_hourly_rate?: string | null | undefined;
2685
- hourly_billing_start_time?: string | null | undefined;
2686
- activated_at?: string | null | undefined;
2687
- completed_at?: string | null | undefined;
2688
- cancelled_at?: string | null | undefined;
2689
- decoupled_at?: string | null | undefined;
2690
- sku_code?: string | null | undefined;
2691
- sku_display_name?: string | null | undefined;
2692
- }, {
2693
- status: string;
2694
- order_id: string;
2695
- pricing_plan?: string | null | undefined;
2696
- commitment_days?: number | null | undefined;
2697
- agreed_hourly_rate?: string | null | undefined;
2698
- hourly_billing_start_time?: string | null | undefined;
2699
- activated_at?: string | null | undefined;
2700
- completed_at?: string | null | undefined;
2701
- cancelled_at?: string | null | undefined;
2702
- decoupled_at?: string | null | undefined;
2703
- sku_code?: string | null | undefined;
2704
- sku_display_name?: string | null | undefined;
2705
- }>>>;
2706
- }, "strip", z.ZodTypeAny, {
2707
- status: string;
2708
- name: string;
2709
- id: string;
2710
- gateway: {
2711
- base_domain?: string | null | undefined;
2712
- cname?: string | null | undefined;
2713
- };
2714
- listed: boolean;
2715
- in_progress: boolean;
2716
- resource: {
2717
- vcpu?: number | null | undefined;
2718
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2719
- instance_type?: string | null | undefined;
2720
- memory_in_gb?: number | null | undefined;
2721
- disk_in_gb?: number | null | undefined;
2722
- gpus?: number | null | undefined;
2723
- compute_billing_price?: string | null | undefined;
2724
- };
2725
- logs: {
2726
- serial?: string | null | undefined;
2727
- stdout?: string | null | undefined;
2728
- stderr?: string | null | undefined;
2729
- container_log_base?: string | null | undefined;
2730
- };
2731
- services: Record<string, any>[];
2732
- workspace?: {
2733
- name: string;
2734
- id: string;
2735
- object_type: "workspace";
2736
- slug?: string | null | undefined;
2737
- avatar_url?: string | null | undefined;
2738
- } | null | undefined;
2739
- app_id?: string | null | undefined;
2740
- instance_id?: string | null | undefined;
2741
- compose_hash?: string | null | undefined;
2742
- vm_uuid?: string | null | undefined;
2743
- created_at?: string | null | undefined;
2744
- project_type?: string | null | undefined;
2745
- kms_info?: {
2746
- chain_id?: number | null | undefined;
2747
- encrypted_env_pubkey?: string | null | undefined;
2748
- deployer_address?: string | null | undefined;
2749
- dstack_kms_address?: string | null | undefined;
2750
- dstack_app_address?: string | null | undefined;
2751
- rpc_endpoint?: string | null | undefined;
2752
- } | null | undefined;
2753
- public_sysinfo?: boolean | undefined;
2754
- public_logs?: boolean | undefined;
2755
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2756
- node_info?: {
2757
- object_type: "node";
2758
- device_ids: {
2759
- device_id: string;
2760
- algorithm_version: string;
2761
- enabled: boolean;
2762
- }[];
2763
- status?: string | null | undefined;
2764
- name?: string | null | undefined;
2765
- version?: string | null | undefined;
2766
- id?: number | null | undefined;
2767
- device_id?: string | null | undefined;
2768
- region?: string | null | undefined;
2769
- ppid?: string | null | undefined;
2770
- } | null | undefined;
2771
- os?: {
2772
- name?: string | null | undefined;
2773
- version?: string | null | undefined;
2774
- is_dev?: boolean | null | undefined;
2775
- os_image_hash?: string | null | undefined;
2776
- } | null | undefined;
2777
- progress?: {
2778
- target?: string | null | undefined;
2779
- started_at?: string | null | undefined;
2780
- correlation_id?: string | null | undefined;
2781
- } | null | undefined;
2782
- docker_compose_hash?: string | null | undefined;
2783
- pre_launch_script_hash?: string | null | undefined;
2784
- endpoints?: {
2785
- app: string;
2786
- instance: string;
2787
- }[] | null | undefined;
2788
- public_tcbinfo?: boolean | undefined;
2789
- gateway_enabled?: boolean | undefined;
2790
- secure_time?: boolean | undefined;
2791
- storage_fs?: string | undefined;
2792
- creator?: {
2793
- object_type: "user";
2794
- username?: string | null | undefined;
2795
- id?: string | null | undefined;
2796
- avatar_url?: string | null | undefined;
2797
- } | null | undefined;
2798
- deleted_at?: string | null | undefined;
2799
- hourly_rate?: {
2800
- total?: string | null | undefined;
2801
- compute?: string | null | undefined;
2802
- disk?: string | null | undefined;
2803
- } | null | undefined;
2804
- billing_interval?: string | null | undefined;
2805
- gpu_rental_order?: {
2806
- status: string;
2807
- order_id: string;
2808
- pricing_plan?: string | null | undefined;
2809
- commitment_days?: number | null | undefined;
2810
- agreed_hourly_rate?: string | null | undefined;
2811
- hourly_billing_start_time?: string | null | undefined;
2812
- activated_at?: string | null | undefined;
2813
- completed_at?: string | null | undefined;
2814
- cancelled_at?: string | null | undefined;
2815
- decoupled_at?: string | null | undefined;
2816
- sku_code?: string | null | undefined;
2817
- sku_display_name?: string | null | undefined;
2818
- } | null | undefined;
2819
- }, {
2820
- status: string;
2821
- name: string;
2822
- id: string;
2823
- gateway: {
2824
- base_domain?: string | null | undefined;
2825
- cname?: string | null | undefined;
2826
- };
2827
- resource: {
2828
- vcpu?: number | null | undefined;
2829
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2830
- instance_type?: string | null | undefined;
2831
- memory_in_gb?: number | null | undefined;
2832
- disk_in_gb?: number | null | undefined;
2833
- gpus?: number | null | undefined;
2834
- compute_billing_price?: string | null | undefined;
2835
- };
2836
- workspace?: {
2837
- name: string;
2838
- id: string;
2839
- object_type: "workspace";
2840
- slug?: string | null | undefined;
2841
- avatar_url?: string | null | undefined;
2842
- } | null | undefined;
2843
- app_id?: string | null | undefined;
2844
- instance_id?: string | null | undefined;
2845
- compose_hash?: string | null | undefined;
2846
- vm_uuid?: string | null | undefined;
2847
- created_at?: string | null | undefined;
2848
- listed?: boolean | undefined;
2849
- in_progress?: boolean | undefined;
2850
- project_type?: string | null | undefined;
2851
- kms_info?: {
2852
- chain_id?: number | null | undefined;
2853
- encrypted_env_pubkey?: string | null | undefined;
2854
- deployer_address?: string | null | undefined;
2855
- dstack_kms_address?: string | null | undefined;
2856
- dstack_app_address?: string | null | undefined;
2857
- rpc_endpoint?: string | null | undefined;
2858
- } | null | undefined;
2859
- public_sysinfo?: boolean | undefined;
2860
- public_logs?: boolean | undefined;
2861
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2862
- node_info?: {
2863
- object_type: "node";
2864
- status?: string | null | undefined;
2865
- name?: string | null | undefined;
2866
- version?: string | null | undefined;
2867
- id?: number | null | undefined;
2868
- device_id?: string | null | undefined;
2869
- region?: string | null | undefined;
2870
- device_ids?: {
2871
- device_id: string;
2872
- algorithm_version: string;
2873
- enabled: boolean;
2874
- }[] | undefined;
2875
- ppid?: string | null | undefined;
2876
- } | null | undefined;
2877
- os?: {
2878
- name?: string | null | undefined;
2879
- version?: string | null | undefined;
2880
- is_dev?: boolean | null | undefined;
2881
- os_image_hash?: string | null | undefined;
2882
- } | null | undefined;
2883
- progress?: {
2884
- target?: string | null | undefined;
2885
- started_at?: string | null | undefined;
2886
- correlation_id?: string | null | undefined;
2887
- } | null | undefined;
2888
- docker_compose_hash?: string | null | undefined;
2889
- pre_launch_script_hash?: string | null | undefined;
2890
- logs?: {
2891
- serial?: string | null | undefined;
2892
- stdout?: string | null | undefined;
2893
- stderr?: string | null | undefined;
2894
- container_log_base?: string | null | undefined;
2895
- } | undefined;
2896
- services?: Record<string, any>[] | undefined;
2897
- endpoints?: {
2898
- app: string;
2899
- instance: string;
2900
- }[] | null | undefined;
2901
- public_tcbinfo?: boolean | undefined;
2902
- gateway_enabled?: boolean | undefined;
2903
- secure_time?: boolean | undefined;
2904
- storage_fs?: string | undefined;
2905
- creator?: {
2906
- object_type: "user";
2907
- username?: string | null | undefined;
2908
- id?: string | null | undefined;
2909
- avatar_url?: string | null | undefined;
2910
- } | null | undefined;
2911
- deleted_at?: string | null | undefined;
2912
- hourly_rate?: {
2913
- total?: string | null | undefined;
2914
- compute?: string | null | undefined;
2915
- disk?: string | null | undefined;
2916
- } | null | undefined;
2917
- billing_interval?: string | null | undefined;
2918
- gpu_rental_order?: {
2919
- status: string;
2920
- order_id: string;
2921
- pricing_plan?: string | null | undefined;
2922
- commitment_days?: number | null | undefined;
2923
- agreed_hourly_rate?: string | null | undefined;
2924
- hourly_billing_start_time?: string | null | undefined;
2925
- activated_at?: string | null | undefined;
2926
- completed_at?: string | null | undefined;
2927
- cancelled_at?: string | null | undefined;
2928
- decoupled_at?: string | null | undefined;
2929
- sku_code?: string | null | undefined;
2930
- sku_display_name?: string | null | undefined;
2931
- } | null | undefined;
2932
- }>, "many">;
870
+ }, z.core.$strip>>>;
871
+ }, z.core.$strip>>;
2933
872
  total: z.ZodNumber;
2934
873
  page: z.ZodNumber;
2935
874
  page_size: z.ZodNumber;
2936
875
  pages: z.ZodNumber;
2937
- }, "strip", z.ZodTypeAny, {
2938
- total: number;
2939
- items: {
2940
- status: string;
2941
- name: string;
2942
- id: string;
2943
- gateway: {
2944
- base_domain?: string | null | undefined;
2945
- cname?: string | null | undefined;
2946
- };
2947
- listed: boolean;
2948
- in_progress: boolean;
2949
- resource: {
2950
- vcpu?: number | null | undefined;
2951
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
2952
- instance_type?: string | null | undefined;
2953
- memory_in_gb?: number | null | undefined;
2954
- disk_in_gb?: number | null | undefined;
2955
- gpus?: number | null | undefined;
2956
- compute_billing_price?: string | null | undefined;
2957
- };
2958
- logs: {
2959
- serial?: string | null | undefined;
2960
- stdout?: string | null | undefined;
2961
- stderr?: string | null | undefined;
2962
- container_log_base?: string | null | undefined;
2963
- };
2964
- services: Record<string, any>[];
2965
- workspace?: {
2966
- name: string;
2967
- id: string;
2968
- object_type: "workspace";
2969
- slug?: string | null | undefined;
2970
- avatar_url?: string | null | undefined;
2971
- } | null | undefined;
2972
- app_id?: string | null | undefined;
2973
- instance_id?: string | null | undefined;
2974
- compose_hash?: string | null | undefined;
2975
- vm_uuid?: string | null | undefined;
2976
- created_at?: string | null | undefined;
2977
- project_type?: string | null | undefined;
2978
- kms_info?: {
2979
- chain_id?: number | null | undefined;
2980
- encrypted_env_pubkey?: string | null | undefined;
2981
- deployer_address?: string | null | undefined;
2982
- dstack_kms_address?: string | null | undefined;
2983
- dstack_app_address?: string | null | undefined;
2984
- rpc_endpoint?: string | null | undefined;
2985
- } | null | undefined;
2986
- public_sysinfo?: boolean | undefined;
2987
- public_logs?: boolean | undefined;
2988
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
2989
- node_info?: {
2990
- object_type: "node";
2991
- device_ids: {
2992
- device_id: string;
2993
- algorithm_version: string;
2994
- enabled: boolean;
2995
- }[];
2996
- status?: string | null | undefined;
2997
- name?: string | null | undefined;
2998
- version?: string | null | undefined;
2999
- id?: number | null | undefined;
3000
- device_id?: string | null | undefined;
3001
- region?: string | null | undefined;
3002
- ppid?: string | null | undefined;
3003
- } | null | undefined;
3004
- os?: {
3005
- name?: string | null | undefined;
3006
- version?: string | null | undefined;
3007
- is_dev?: boolean | null | undefined;
3008
- os_image_hash?: string | null | undefined;
3009
- } | null | undefined;
3010
- progress?: {
3011
- target?: string | null | undefined;
3012
- started_at?: string | null | undefined;
3013
- correlation_id?: string | null | undefined;
3014
- } | null | undefined;
3015
- docker_compose_hash?: string | null | undefined;
3016
- pre_launch_script_hash?: string | null | undefined;
3017
- endpoints?: {
3018
- app: string;
3019
- instance: string;
3020
- }[] | null | undefined;
3021
- public_tcbinfo?: boolean | undefined;
3022
- gateway_enabled?: boolean | undefined;
3023
- secure_time?: boolean | undefined;
3024
- storage_fs?: string | undefined;
3025
- creator?: {
3026
- object_type: "user";
3027
- username?: string | null | undefined;
3028
- id?: string | null | undefined;
3029
- avatar_url?: string | null | undefined;
3030
- } | null | undefined;
3031
- deleted_at?: string | null | undefined;
3032
- hourly_rate?: {
3033
- total?: string | null | undefined;
3034
- compute?: string | null | undefined;
3035
- disk?: string | null | undefined;
3036
- } | null | undefined;
3037
- billing_interval?: string | null | undefined;
3038
- gpu_rental_order?: {
3039
- status: string;
3040
- order_id: string;
3041
- pricing_plan?: string | null | undefined;
3042
- commitment_days?: number | null | undefined;
3043
- agreed_hourly_rate?: string | null | undefined;
3044
- hourly_billing_start_time?: string | null | undefined;
3045
- activated_at?: string | null | undefined;
3046
- completed_at?: string | null | undefined;
3047
- cancelled_at?: string | null | undefined;
3048
- decoupled_at?: string | null | undefined;
3049
- sku_code?: string | null | undefined;
3050
- sku_display_name?: string | null | undefined;
3051
- } | null | undefined;
3052
- }[];
3053
- page: number;
3054
- page_size: number;
3055
- pages: number;
3056
- }, {
3057
- total: number;
3058
- items: {
3059
- status: string;
3060
- name: string;
3061
- id: string;
3062
- gateway: {
3063
- base_domain?: string | null | undefined;
3064
- cname?: string | null | undefined;
3065
- };
3066
- resource: {
3067
- vcpu?: number | null | undefined;
3068
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
3069
- instance_type?: string | null | undefined;
3070
- memory_in_gb?: number | null | undefined;
3071
- disk_in_gb?: number | null | undefined;
3072
- gpus?: number | null | undefined;
3073
- compute_billing_price?: string | null | undefined;
3074
- };
3075
- workspace?: {
3076
- name: string;
3077
- id: string;
3078
- object_type: "workspace";
3079
- slug?: string | null | undefined;
3080
- avatar_url?: string | null | undefined;
3081
- } | null | undefined;
3082
- app_id?: string | null | undefined;
3083
- instance_id?: string | null | undefined;
3084
- compose_hash?: string | null | undefined;
3085
- vm_uuid?: string | null | undefined;
3086
- created_at?: string | null | undefined;
3087
- listed?: boolean | undefined;
3088
- in_progress?: boolean | undefined;
3089
- project_type?: string | null | undefined;
3090
- kms_info?: {
3091
- chain_id?: number | null | undefined;
3092
- encrypted_env_pubkey?: string | null | undefined;
3093
- deployer_address?: string | null | undefined;
3094
- dstack_kms_address?: string | null | undefined;
3095
- dstack_app_address?: string | null | undefined;
3096
- rpc_endpoint?: string | null | undefined;
3097
- } | null | undefined;
3098
- public_sysinfo?: boolean | undefined;
3099
- public_logs?: boolean | undefined;
3100
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
3101
- node_info?: {
3102
- object_type: "node";
3103
- status?: string | null | undefined;
3104
- name?: string | null | undefined;
3105
- version?: string | null | undefined;
3106
- id?: number | null | undefined;
3107
- device_id?: string | null | undefined;
3108
- region?: string | null | undefined;
3109
- device_ids?: {
3110
- device_id: string;
3111
- algorithm_version: string;
3112
- enabled: boolean;
3113
- }[] | undefined;
3114
- ppid?: string | null | undefined;
3115
- } | null | undefined;
3116
- os?: {
3117
- name?: string | null | undefined;
3118
- version?: string | null | undefined;
3119
- is_dev?: boolean | null | undefined;
3120
- os_image_hash?: string | null | undefined;
3121
- } | null | undefined;
3122
- progress?: {
3123
- target?: string | null | undefined;
3124
- started_at?: string | null | undefined;
3125
- correlation_id?: string | null | undefined;
3126
- } | null | undefined;
3127
- docker_compose_hash?: string | null | undefined;
3128
- pre_launch_script_hash?: string | null | undefined;
3129
- logs?: {
3130
- serial?: string | null | undefined;
3131
- stdout?: string | null | undefined;
3132
- stderr?: string | null | undefined;
3133
- container_log_base?: string | null | undefined;
3134
- } | undefined;
3135
- services?: Record<string, any>[] | undefined;
3136
- endpoints?: {
3137
- app: string;
3138
- instance: string;
3139
- }[] | null | undefined;
3140
- public_tcbinfo?: boolean | undefined;
3141
- gateway_enabled?: boolean | undefined;
3142
- secure_time?: boolean | undefined;
3143
- storage_fs?: string | undefined;
3144
- creator?: {
3145
- object_type: "user";
3146
- username?: string | null | undefined;
3147
- id?: string | null | undefined;
3148
- avatar_url?: string | null | undefined;
3149
- } | null | undefined;
3150
- deleted_at?: string | null | undefined;
3151
- hourly_rate?: {
3152
- total?: string | null | undefined;
3153
- compute?: string | null | undefined;
3154
- disk?: string | null | undefined;
3155
- } | null | undefined;
3156
- billing_interval?: string | null | undefined;
3157
- gpu_rental_order?: {
3158
- status: string;
3159
- order_id: string;
3160
- pricing_plan?: string | null | undefined;
3161
- commitment_days?: number | null | undefined;
3162
- agreed_hourly_rate?: string | null | undefined;
3163
- hourly_billing_start_time?: string | null | undefined;
3164
- activated_at?: string | null | undefined;
3165
- completed_at?: string | null | undefined;
3166
- cancelled_at?: string | null | undefined;
3167
- decoupled_at?: string | null | undefined;
3168
- sku_code?: string | null | undefined;
3169
- sku_display_name?: string | null | undefined;
3170
- } | null | undefined;
3171
- }[];
3172
- page: number;
3173
- page_size: number;
3174
- pages: number;
3175
- }>;
876
+ }, z.core.$strip>;
3176
877
  export type PaginatedCvmInfosV20260121 = z.infer<typeof PaginatedCvmInfosV20260121Schema>;
3177
878
  export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
3178
879
  total: z.ZodNumber;
3179
880
  page: z.ZodNumber;
3180
881
  page_size: z.ZodNumber;
3181
882
  pages: z.ZodNumber;
3182
- } & {
3183
883
  items: z.ZodArray<z.ZodObject<{
3184
884
  name: z.ZodString;
3185
885
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3192,24 +892,12 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
3192
892
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3193
893
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3194
894
  compute_billing_price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3195
- billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["skip", "hourly", "monthly"]>>>;
3196
- }, "strip", z.ZodTypeAny, {
3197
- vcpu?: number | null | undefined;
3198
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
3199
- instance_type?: string | null | undefined;
3200
- memory_in_gb?: number | null | undefined;
3201
- disk_in_gb?: number | null | undefined;
3202
- gpus?: number | null | undefined;
3203
- compute_billing_price?: string | null | undefined;
3204
- }, {
3205
- vcpu?: number | null | undefined;
3206
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
3207
- instance_type?: string | null | undefined;
3208
- memory_in_gb?: number | null | undefined;
3209
- disk_in_gb?: number | null | undefined;
3210
- gpus?: number | null | undefined;
3211
- compute_billing_price?: string | null | undefined;
3212
- }>;
895
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
896
+ skip: "skip";
897
+ hourly: "hourly";
898
+ monthly: "monthly";
899
+ }>>>;
900
+ }, z.core.$strip>;
3213
901
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3214
902
  object_type: z.ZodLiteral<"node">;
3215
903
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3220,160 +908,76 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
3220
908
  device_id: z.ZodString;
3221
909
  algorithm_version: z.ZodString;
3222
910
  enabled: z.ZodBoolean;
3223
- }, "strip", z.ZodTypeAny, {
3224
- device_id: string;
3225
- algorithm_version: string;
3226
- enabled: boolean;
3227
- }, {
3228
- device_id: string;
3229
- algorithm_version: string;
3230
- enabled: boolean;
3231
- }>, "many">>;
911
+ }, z.core.$strip>>>;
3232
912
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3233
913
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3234
914
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3235
- }, "strip", z.ZodTypeAny, {
3236
- object_type: "node";
3237
- device_ids: {
3238
- device_id: string;
3239
- algorithm_version: string;
3240
- enabled: boolean;
3241
- }[];
3242
- status?: string | null | undefined;
3243
- name?: string | null | undefined;
3244
- version?: string | null | undefined;
3245
- id?: number | null | undefined;
3246
- device_id?: string | null | undefined;
3247
- region?: string | null | undefined;
3248
- ppid?: string | null | undefined;
3249
- }, {
3250
- object_type: "node";
3251
- status?: string | null | undefined;
3252
- name?: string | null | undefined;
3253
- version?: string | null | undefined;
3254
- id?: number | null | undefined;
3255
- device_id?: string | null | undefined;
3256
- region?: string | null | undefined;
3257
- device_ids?: {
3258
- device_id: string;
3259
- algorithm_version: string;
3260
- enabled: boolean;
3261
- }[] | undefined;
3262
- ppid?: string | null | undefined;
3263
- }>>>;
915
+ }, z.core.$strip>>>;
3264
916
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3265
917
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3266
918
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3267
919
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3268
920
  os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3269
- }, "strip", z.ZodTypeAny, {
3270
- name?: string | null | undefined;
3271
- version?: string | null | undefined;
3272
- is_dev?: boolean | null | undefined;
3273
- os_image_hash?: string | null | undefined;
3274
- }, {
3275
- name?: string | null | undefined;
3276
- version?: string | null | undefined;
3277
- is_dev?: boolean | null | undefined;
3278
- 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";
3279
927
  }>>>;
3280
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
3281
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
928
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
3282
929
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3283
930
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3284
931
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3285
932
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3286
933
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3287
934
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3288
- }, "strip", z.ZodTypeAny, {
935
+ }, z.core.$strip>, z.ZodTransform<{
3289
936
  chain_id?: number | null | undefined;
3290
- encrypted_env_pubkey?: string | null | undefined;
3291
- deployer_address?: string | null | undefined;
3292
937
  dstack_kms_address?: string | null | undefined;
3293
938
  dstack_app_address?: string | null | undefined;
3294
- rpc_endpoint?: string | null | undefined;
3295
- }, {
3296
- chain_id?: number | null | undefined;
3297
- encrypted_env_pubkey?: string | null | undefined;
3298
939
  deployer_address?: string | null | undefined;
3299
- dstack_kms_address?: string | null | undefined;
3300
- dstack_app_address?: string | null | undefined;
3301
940
  rpc_endpoint?: string | null | undefined;
3302
- }>, {
3303
- chain_id?: number | null | undefined;
3304
941
  encrypted_env_pubkey?: string | null | undefined;
3305
- deployer_address?: string | null | undefined;
3306
- dstack_kms_address?: string | null | undefined;
3307
- dstack_app_address?: string | null | undefined;
3308
- rpc_endpoint?: string | null | undefined;
3309
942
  }, {
3310
943
  chain_id?: number | null | undefined;
3311
- encrypted_env_pubkey?: string | null | undefined;
3312
- deployer_address?: string | null | undefined;
3313
944
  dstack_kms_address?: string | null | undefined;
3314
945
  dstack_app_address?: string | null | undefined;
946
+ deployer_address?: string | null | undefined;
3315
947
  rpc_endpoint?: string | null | undefined;
3316
- }>>>;
948
+ encrypted_env_pubkey?: string | null | undefined;
949
+ }>>>>;
3317
950
  status: z.ZodString;
3318
951
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3319
952
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3320
953
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3321
954
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3322
955
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3323
- }, "strip", z.ZodTypeAny, {
3324
- target?: string | null | undefined;
3325
- started_at?: string | null | undefined;
3326
- correlation_id?: string | null | undefined;
3327
- }, {
3328
- target?: string | null | undefined;
3329
- started_at?: string | null | undefined;
3330
- correlation_id?: string | null | undefined;
3331
- }>>>;
956
+ }, z.core.$strip>>>;
3332
957
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3333
958
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3334
959
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3335
960
  gateway: z.ZodObject<{
3336
961
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3337
962
  cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3338
- }, "strip", z.ZodTypeAny, {
3339
- base_domain?: string | null | undefined;
3340
- cname?: string | null | undefined;
3341
- }, {
3342
- base_domain?: string | null | undefined;
3343
- cname?: string | null | undefined;
3344
- }>;
963
+ }, z.core.$strip>;
3345
964
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
3346
965
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3347
966
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3348
967
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3349
968
  container_log_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3350
- }, "strip", z.ZodTypeAny, {
3351
- serial?: string | null | undefined;
3352
- stdout?: string | null | undefined;
3353
- stderr?: string | null | undefined;
3354
- container_log_base?: string | null | undefined;
3355
- }, {
3356
- serial?: string | null | undefined;
3357
- stdout?: string | null | undefined;
3358
- stderr?: string | null | undefined;
3359
- container_log_base?: string | null | undefined;
3360
- }>>>;
3361
- 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>>>>;
3362
971
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3363
972
  app: z.ZodString;
3364
973
  instance: z.ZodString;
3365
- }, "strip", z.ZodTypeAny, {
3366
- app: string;
3367
- instance: string;
3368
- }, {
3369
- app: string;
3370
- instance: string;
3371
- }>, "many">>>;
974
+ }, z.core.$strip>>>>;
3372
975
  public_logs: z.ZodOptional<z.ZodBoolean>;
3373
976
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
3374
977
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
3375
978
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
3376
979
  secure_time: z.ZodOptional<z.ZodBoolean>;
980
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3377
981
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3378
982
  storage_fs: z.ZodOptional<z.ZodString>;
3379
983
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -3382,35 +986,13 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
3382
986
  name: z.ZodString;
3383
987
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3384
988
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3385
- }, "strip", z.ZodTypeAny, {
3386
- name: string;
3387
- id: string;
3388
- object_type: "workspace";
3389
- slug?: string | null | undefined;
3390
- avatar_url?: string | null | undefined;
3391
- }, {
3392
- name: string;
3393
- id: string;
3394
- object_type: "workspace";
3395
- slug?: string | null | undefined;
3396
- avatar_url?: string | null | undefined;
3397
- }>>>;
989
+ }, z.core.$strip>>>;
3398
990
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3399
991
  object_type: z.ZodLiteral<"user">;
3400
992
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3401
993
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3402
994
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3403
- }, "strip", z.ZodTypeAny, {
3404
- object_type: "user";
3405
- username?: string | null | undefined;
3406
- id?: string | null | undefined;
3407
- avatar_url?: string | null | undefined;
3408
- }, {
3409
- object_type: "user";
3410
- username?: string | null | undefined;
3411
- id?: string | null | undefined;
3412
- avatar_url?: string | null | undefined;
3413
- }>>>;
995
+ }, z.core.$strip>>>;
3414
996
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3415
997
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3416
998
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3418,21 +1000,17 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
3418
1000
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3419
1001
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3420
1002
  disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3421
- }, "strip", z.ZodTypeAny, {
3422
- total?: string | null | undefined;
3423
- compute?: string | null | undefined;
3424
- disk?: string | null | undefined;
3425
- }, {
3426
- total?: string | null | undefined;
3427
- compute?: string | null | undefined;
3428
- disk?: string | null | undefined;
3429
- }>>>;
1003
+ }, z.core.$strip>>>;
3430
1004
  billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3431
1005
  gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3432
1006
  order_id: z.ZodString;
3433
1007
  status: z.ZodString;
3434
1008
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3435
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>>;
3436
1014
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3437
1015
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3438
1016
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3441,499 +1019,8 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
3441
1019
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3442
1020
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3443
1021
  sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3444
- }, "strip", z.ZodTypeAny, {
3445
- status: string;
3446
- order_id: string;
3447
- pricing_plan?: string | null | undefined;
3448
- commitment_days?: number | null | undefined;
3449
- agreed_hourly_rate?: string | null | undefined;
3450
- hourly_billing_start_time?: string | null | undefined;
3451
- activated_at?: string | null | undefined;
3452
- completed_at?: string | null | undefined;
3453
- cancelled_at?: string | null | undefined;
3454
- decoupled_at?: string | null | undefined;
3455
- sku_code?: string | null | undefined;
3456
- sku_display_name?: string | null | undefined;
3457
- }, {
3458
- status: string;
3459
- order_id: string;
3460
- pricing_plan?: string | null | undefined;
3461
- commitment_days?: number | null | undefined;
3462
- agreed_hourly_rate?: string | null | undefined;
3463
- hourly_billing_start_time?: string | null | undefined;
3464
- activated_at?: string | null | undefined;
3465
- completed_at?: string | null | undefined;
3466
- cancelled_at?: string | null | undefined;
3467
- decoupled_at?: string | null | undefined;
3468
- sku_code?: string | null | undefined;
3469
- sku_display_name?: string | null | undefined;
3470
- }>>>;
3471
- } & {
1022
+ }, z.core.$strip>>>;
3472
1023
  id: z.ZodString;
3473
- }, "strip", z.ZodTypeAny, {
3474
- status: string;
3475
- name: string;
3476
- id: string;
3477
- gateway: {
3478
- base_domain?: string | null | undefined;
3479
- cname?: string | null | undefined;
3480
- };
3481
- listed: boolean;
3482
- in_progress: boolean;
3483
- resource: {
3484
- vcpu?: number | null | undefined;
3485
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
3486
- instance_type?: string | null | undefined;
3487
- memory_in_gb?: number | null | undefined;
3488
- disk_in_gb?: number | null | undefined;
3489
- gpus?: number | null | undefined;
3490
- compute_billing_price?: string | null | undefined;
3491
- };
3492
- logs: {
3493
- serial?: string | null | undefined;
3494
- stdout?: string | null | undefined;
3495
- stderr?: string | null | undefined;
3496
- container_log_base?: string | null | undefined;
3497
- };
3498
- services: Record<string, any>[];
3499
- workspace?: {
3500
- name: string;
3501
- id: string;
3502
- object_type: "workspace";
3503
- slug?: string | null | undefined;
3504
- avatar_url?: string | null | undefined;
3505
- } | null | undefined;
3506
- app_id?: string | null | undefined;
3507
- instance_id?: string | null | undefined;
3508
- compose_hash?: string | null | undefined;
3509
- vm_uuid?: string | null | undefined;
3510
- created_at?: string | null | undefined;
3511
- project_type?: string | null | undefined;
3512
- kms_info?: {
3513
- chain_id?: number | null | undefined;
3514
- encrypted_env_pubkey?: string | null | undefined;
3515
- deployer_address?: string | null | undefined;
3516
- dstack_kms_address?: string | null | undefined;
3517
- dstack_app_address?: string | null | undefined;
3518
- rpc_endpoint?: string | null | undefined;
3519
- } | null | undefined;
3520
- public_sysinfo?: boolean | undefined;
3521
- public_logs?: boolean | undefined;
3522
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
3523
- node_info?: {
3524
- object_type: "node";
3525
- device_ids: {
3526
- device_id: string;
3527
- algorithm_version: string;
3528
- enabled: boolean;
3529
- }[];
3530
- status?: string | null | undefined;
3531
- name?: string | null | undefined;
3532
- version?: string | null | undefined;
3533
- id?: number | null | undefined;
3534
- device_id?: string | null | undefined;
3535
- region?: string | null | undefined;
3536
- ppid?: string | null | undefined;
3537
- } | null | undefined;
3538
- os?: {
3539
- name?: string | null | undefined;
3540
- version?: string | null | undefined;
3541
- is_dev?: boolean | null | undefined;
3542
- os_image_hash?: string | null | undefined;
3543
- } | null | undefined;
3544
- progress?: {
3545
- target?: string | null | undefined;
3546
- started_at?: string | null | undefined;
3547
- correlation_id?: string | null | undefined;
3548
- } | null | undefined;
3549
- docker_compose_hash?: string | null | undefined;
3550
- pre_launch_script_hash?: string | null | undefined;
3551
- endpoints?: {
3552
- app: string;
3553
- instance: string;
3554
- }[] | null | undefined;
3555
- public_tcbinfo?: boolean | undefined;
3556
- gateway_enabled?: boolean | undefined;
3557
- secure_time?: boolean | undefined;
3558
- storage_fs?: string | undefined;
3559
- creator?: {
3560
- object_type: "user";
3561
- username?: string | null | undefined;
3562
- id?: string | null | undefined;
3563
- avatar_url?: string | null | undefined;
3564
- } | null | undefined;
3565
- deleted_at?: string | null | undefined;
3566
- hourly_rate?: {
3567
- total?: string | null | undefined;
3568
- compute?: string | null | undefined;
3569
- disk?: string | null | undefined;
3570
- } | null | undefined;
3571
- billing_interval?: string | null | undefined;
3572
- gpu_rental_order?: {
3573
- status: string;
3574
- order_id: string;
3575
- pricing_plan?: string | null | undefined;
3576
- commitment_days?: number | null | undefined;
3577
- agreed_hourly_rate?: string | null | undefined;
3578
- hourly_billing_start_time?: string | null | undefined;
3579
- activated_at?: string | null | undefined;
3580
- completed_at?: string | null | undefined;
3581
- cancelled_at?: string | null | undefined;
3582
- decoupled_at?: string | null | undefined;
3583
- sku_code?: string | null | undefined;
3584
- sku_display_name?: string | null | undefined;
3585
- } | null | undefined;
3586
- }, {
3587
- status: string;
3588
- name: string;
3589
- id: string;
3590
- gateway: {
3591
- base_domain?: string | null | undefined;
3592
- cname?: string | null | undefined;
3593
- };
3594
- resource: {
3595
- vcpu?: number | null | undefined;
3596
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
3597
- instance_type?: string | null | undefined;
3598
- memory_in_gb?: number | null | undefined;
3599
- disk_in_gb?: number | null | undefined;
3600
- gpus?: number | null | undefined;
3601
- compute_billing_price?: string | null | undefined;
3602
- };
3603
- workspace?: {
3604
- name: string;
3605
- id: string;
3606
- object_type: "workspace";
3607
- slug?: string | null | undefined;
3608
- avatar_url?: string | null | undefined;
3609
- } | null | undefined;
3610
- app_id?: string | null | undefined;
3611
- instance_id?: string | null | undefined;
3612
- compose_hash?: string | null | undefined;
3613
- vm_uuid?: string | null | undefined;
3614
- created_at?: string | null | undefined;
3615
- listed?: boolean | undefined;
3616
- in_progress?: boolean | undefined;
3617
- project_type?: string | null | undefined;
3618
- kms_info?: {
3619
- chain_id?: number | null | undefined;
3620
- encrypted_env_pubkey?: string | null | undefined;
3621
- deployer_address?: string | null | undefined;
3622
- dstack_kms_address?: string | null | undefined;
3623
- dstack_app_address?: string | null | undefined;
3624
- rpc_endpoint?: string | null | undefined;
3625
- } | null | undefined;
3626
- public_sysinfo?: boolean | undefined;
3627
- public_logs?: boolean | undefined;
3628
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
3629
- node_info?: {
3630
- object_type: "node";
3631
- status?: string | null | undefined;
3632
- name?: string | null | undefined;
3633
- version?: string | null | undefined;
3634
- id?: number | null | undefined;
3635
- device_id?: string | null | undefined;
3636
- region?: string | null | undefined;
3637
- device_ids?: {
3638
- device_id: string;
3639
- algorithm_version: string;
3640
- enabled: boolean;
3641
- }[] | undefined;
3642
- ppid?: string | null | undefined;
3643
- } | null | undefined;
3644
- os?: {
3645
- name?: string | null | undefined;
3646
- version?: string | null | undefined;
3647
- is_dev?: boolean | null | undefined;
3648
- os_image_hash?: string | null | undefined;
3649
- } | null | undefined;
3650
- progress?: {
3651
- target?: string | null | undefined;
3652
- started_at?: string | null | undefined;
3653
- correlation_id?: string | null | undefined;
3654
- } | null | undefined;
3655
- docker_compose_hash?: string | null | undefined;
3656
- pre_launch_script_hash?: string | null | undefined;
3657
- logs?: {
3658
- serial?: string | null | undefined;
3659
- stdout?: string | null | undefined;
3660
- stderr?: string | null | undefined;
3661
- container_log_base?: string | null | undefined;
3662
- } | undefined;
3663
- services?: Record<string, any>[] | undefined;
3664
- endpoints?: {
3665
- app: string;
3666
- instance: string;
3667
- }[] | null | undefined;
3668
- public_tcbinfo?: boolean | undefined;
3669
- gateway_enabled?: boolean | undefined;
3670
- secure_time?: boolean | undefined;
3671
- storage_fs?: string | undefined;
3672
- creator?: {
3673
- object_type: "user";
3674
- username?: string | null | undefined;
3675
- id?: string | null | undefined;
3676
- avatar_url?: string | null | undefined;
3677
- } | null | undefined;
3678
- deleted_at?: string | null | undefined;
3679
- hourly_rate?: {
3680
- total?: string | null | undefined;
3681
- compute?: string | null | undefined;
3682
- disk?: string | null | undefined;
3683
- } | null | undefined;
3684
- billing_interval?: string | null | undefined;
3685
- gpu_rental_order?: {
3686
- status: string;
3687
- order_id: string;
3688
- pricing_plan?: string | null | undefined;
3689
- commitment_days?: number | null | undefined;
3690
- agreed_hourly_rate?: string | null | undefined;
3691
- hourly_billing_start_time?: string | null | undefined;
3692
- activated_at?: string | null | undefined;
3693
- completed_at?: string | null | undefined;
3694
- cancelled_at?: string | null | undefined;
3695
- decoupled_at?: string | null | undefined;
3696
- sku_code?: string | null | undefined;
3697
- sku_display_name?: string | null | undefined;
3698
- } | null | undefined;
3699
- }>, "many">;
3700
- }, "strip", z.ZodTypeAny, {
3701
- total: number;
3702
- items: {
3703
- status: string;
3704
- name: string;
3705
- id: string;
3706
- gateway: {
3707
- base_domain?: string | null | undefined;
3708
- cname?: string | null | undefined;
3709
- };
3710
- listed: boolean;
3711
- in_progress: boolean;
3712
- resource: {
3713
- vcpu?: number | null | undefined;
3714
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
3715
- instance_type?: string | null | undefined;
3716
- memory_in_gb?: number | null | undefined;
3717
- disk_in_gb?: number | null | undefined;
3718
- gpus?: number | null | undefined;
3719
- compute_billing_price?: string | null | undefined;
3720
- };
3721
- logs: {
3722
- serial?: string | null | undefined;
3723
- stdout?: string | null | undefined;
3724
- stderr?: string | null | undefined;
3725
- container_log_base?: string | null | undefined;
3726
- };
3727
- services: Record<string, any>[];
3728
- workspace?: {
3729
- name: string;
3730
- id: string;
3731
- object_type: "workspace";
3732
- slug?: string | null | undefined;
3733
- avatar_url?: string | null | undefined;
3734
- } | null | undefined;
3735
- app_id?: string | null | undefined;
3736
- instance_id?: string | null | undefined;
3737
- compose_hash?: string | null | undefined;
3738
- vm_uuid?: string | null | undefined;
3739
- created_at?: string | null | undefined;
3740
- project_type?: string | null | undefined;
3741
- kms_info?: {
3742
- chain_id?: number | null | undefined;
3743
- encrypted_env_pubkey?: string | null | undefined;
3744
- deployer_address?: string | null | undefined;
3745
- dstack_kms_address?: string | null | undefined;
3746
- dstack_app_address?: string | null | undefined;
3747
- rpc_endpoint?: string | null | undefined;
3748
- } | null | undefined;
3749
- public_sysinfo?: boolean | undefined;
3750
- public_logs?: boolean | undefined;
3751
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
3752
- node_info?: {
3753
- object_type: "node";
3754
- device_ids: {
3755
- device_id: string;
3756
- algorithm_version: string;
3757
- enabled: boolean;
3758
- }[];
3759
- status?: string | null | undefined;
3760
- name?: string | null | undefined;
3761
- version?: string | null | undefined;
3762
- id?: number | null | undefined;
3763
- device_id?: string | null | undefined;
3764
- region?: string | null | undefined;
3765
- ppid?: string | null | undefined;
3766
- } | null | undefined;
3767
- os?: {
3768
- name?: string | null | undefined;
3769
- version?: string | null | undefined;
3770
- is_dev?: boolean | null | undefined;
3771
- os_image_hash?: string | null | undefined;
3772
- } | null | undefined;
3773
- progress?: {
3774
- target?: string | null | undefined;
3775
- started_at?: string | null | undefined;
3776
- correlation_id?: string | null | undefined;
3777
- } | null | undefined;
3778
- docker_compose_hash?: string | null | undefined;
3779
- pre_launch_script_hash?: string | null | undefined;
3780
- endpoints?: {
3781
- app: string;
3782
- instance: string;
3783
- }[] | null | undefined;
3784
- public_tcbinfo?: boolean | undefined;
3785
- gateway_enabled?: boolean | undefined;
3786
- secure_time?: boolean | undefined;
3787
- storage_fs?: string | undefined;
3788
- creator?: {
3789
- object_type: "user";
3790
- username?: string | null | undefined;
3791
- id?: string | null | undefined;
3792
- avatar_url?: string | null | undefined;
3793
- } | null | undefined;
3794
- deleted_at?: string | null | undefined;
3795
- hourly_rate?: {
3796
- total?: string | null | undefined;
3797
- compute?: string | null | undefined;
3798
- disk?: string | null | undefined;
3799
- } | null | undefined;
3800
- billing_interval?: string | null | undefined;
3801
- gpu_rental_order?: {
3802
- status: string;
3803
- order_id: string;
3804
- pricing_plan?: string | null | undefined;
3805
- commitment_days?: number | null | undefined;
3806
- agreed_hourly_rate?: string | null | undefined;
3807
- hourly_billing_start_time?: string | null | undefined;
3808
- activated_at?: string | null | undefined;
3809
- completed_at?: string | null | undefined;
3810
- cancelled_at?: string | null | undefined;
3811
- decoupled_at?: string | null | undefined;
3812
- sku_code?: string | null | undefined;
3813
- sku_display_name?: string | null | undefined;
3814
- } | null | undefined;
3815
- }[];
3816
- page: number;
3817
- page_size: number;
3818
- pages: number;
3819
- }, {
3820
- total: number;
3821
- items: {
3822
- status: string;
3823
- name: string;
3824
- id: string;
3825
- gateway: {
3826
- base_domain?: string | null | undefined;
3827
- cname?: string | null | undefined;
3828
- };
3829
- resource: {
3830
- vcpu?: number | null | undefined;
3831
- billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
3832
- instance_type?: string | null | undefined;
3833
- memory_in_gb?: number | null | undefined;
3834
- disk_in_gb?: number | null | undefined;
3835
- gpus?: number | null | undefined;
3836
- compute_billing_price?: string | null | undefined;
3837
- };
3838
- workspace?: {
3839
- name: string;
3840
- id: string;
3841
- object_type: "workspace";
3842
- slug?: string | null | undefined;
3843
- avatar_url?: string | null | undefined;
3844
- } | null | undefined;
3845
- app_id?: string | null | undefined;
3846
- instance_id?: string | null | undefined;
3847
- compose_hash?: string | null | undefined;
3848
- vm_uuid?: string | null | undefined;
3849
- created_at?: string | null | undefined;
3850
- listed?: boolean | undefined;
3851
- in_progress?: boolean | undefined;
3852
- project_type?: string | null | undefined;
3853
- kms_info?: {
3854
- chain_id?: number | null | undefined;
3855
- encrypted_env_pubkey?: string | null | undefined;
3856
- deployer_address?: string | null | undefined;
3857
- dstack_kms_address?: string | null | undefined;
3858
- dstack_app_address?: string | null | undefined;
3859
- rpc_endpoint?: string | null | undefined;
3860
- } | null | undefined;
3861
- public_sysinfo?: boolean | undefined;
3862
- public_logs?: boolean | undefined;
3863
- kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
3864
- node_info?: {
3865
- object_type: "node";
3866
- status?: string | null | undefined;
3867
- name?: string | null | undefined;
3868
- version?: string | null | undefined;
3869
- id?: number | null | undefined;
3870
- device_id?: string | null | undefined;
3871
- region?: string | null | undefined;
3872
- device_ids?: {
3873
- device_id: string;
3874
- algorithm_version: string;
3875
- enabled: boolean;
3876
- }[] | undefined;
3877
- ppid?: string | null | undefined;
3878
- } | null | undefined;
3879
- os?: {
3880
- name?: string | null | undefined;
3881
- version?: string | null | undefined;
3882
- is_dev?: boolean | null | undefined;
3883
- os_image_hash?: string | null | undefined;
3884
- } | null | undefined;
3885
- progress?: {
3886
- target?: string | null | undefined;
3887
- started_at?: string | null | undefined;
3888
- correlation_id?: string | null | undefined;
3889
- } | null | undefined;
3890
- docker_compose_hash?: string | null | undefined;
3891
- pre_launch_script_hash?: string | null | undefined;
3892
- logs?: {
3893
- serial?: string | null | undefined;
3894
- stdout?: string | null | undefined;
3895
- stderr?: string | null | undefined;
3896
- container_log_base?: string | null | undefined;
3897
- } | undefined;
3898
- services?: Record<string, any>[] | undefined;
3899
- endpoints?: {
3900
- app: string;
3901
- instance: string;
3902
- }[] | null | undefined;
3903
- public_tcbinfo?: boolean | undefined;
3904
- gateway_enabled?: boolean | undefined;
3905
- secure_time?: boolean | undefined;
3906
- storage_fs?: string | undefined;
3907
- creator?: {
3908
- object_type: "user";
3909
- username?: string | null | undefined;
3910
- id?: string | null | undefined;
3911
- avatar_url?: string | null | undefined;
3912
- } | null | undefined;
3913
- deleted_at?: string | null | undefined;
3914
- hourly_rate?: {
3915
- total?: string | null | undefined;
3916
- compute?: string | null | undefined;
3917
- disk?: string | null | undefined;
3918
- } | null | undefined;
3919
- billing_interval?: string | null | undefined;
3920
- gpu_rental_order?: {
3921
- status: string;
3922
- order_id: string;
3923
- pricing_plan?: string | null | undefined;
3924
- commitment_days?: number | null | undefined;
3925
- agreed_hourly_rate?: string | null | undefined;
3926
- hourly_billing_start_time?: string | null | undefined;
3927
- activated_at?: string | null | undefined;
3928
- completed_at?: string | null | undefined;
3929
- cancelled_at?: string | null | undefined;
3930
- decoupled_at?: string | null | undefined;
3931
- sku_code?: string | null | undefined;
3932
- sku_display_name?: string | null | undefined;
3933
- } | null | undefined;
3934
- }[];
3935
- page: number;
3936
- page_size: number;
3937
- pages: number;
3938
- }>;
1024
+ }, z.core.$strip>>;
1025
+ }, z.core.$strip>;
3939
1026
  export type PaginatedCvmInfosV20260522 = z.infer<typeof PaginatedCvmInfosV20260522Schema>;