@phala/cloud 0.4.0 → 0.6.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 (114) 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 +92 -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/log-time.d.ts +5 -0
  44. package/dist/actions/cvms/logs.d.ts +64 -0
  45. package/dist/actions/cvms/patch_cvm.d.ts +665 -295
  46. package/dist/actions/cvms/provision_cvm.d.ts +329 -1561
  47. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +550 -953
  48. package/dist/actions/cvms/put_cvm_init_scripts.d.ts +150 -0
  49. package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +74 -131
  50. package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +77 -297
  51. package/dist/actions/cvms/replicate_cvm.d.ts +7 -21
  52. package/dist/actions/cvms/restart_cvm.d.ts +3 -18
  53. package/dist/actions/cvms/shutdown_cvm.d.ts +6 -12
  54. package/dist/actions/cvms/start_cvm.d.ts +6 -12
  55. package/dist/actions/cvms/stop_cvm.d.ts +6 -12
  56. package/dist/actions/cvms/update_cvm_envs.d.ts +136 -203
  57. package/dist/actions/cvms/update_cvm_resources.d.ts +82 -48
  58. package/dist/actions/cvms/update_cvm_visibility.d.ts +90 -132
  59. package/dist/actions/cvms/update_docker_compose.d.ts +127 -202
  60. package/dist/actions/cvms/update_os_image.d.ts +55 -28
  61. package/dist/actions/cvms/update_prelaunch_script.d.ts +127 -202
  62. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +118 -193
  63. package/dist/actions/cvms/watch_cvm_state.d.ts +5 -15
  64. package/dist/actions/get_available_nodes.d.ts +186 -1067
  65. package/dist/actions/get_cvm_create_resources.d.ts +138 -2489
  66. package/dist/actions/index.d.ts +9 -2
  67. package/dist/actions/kms/get_app_env_encrypt_pubkey.d.ts +11 -23
  68. package/dist/actions/kms/get_kms_contract.d.ts +25 -27
  69. package/dist/actions/kms/get_kms_info.d.ts +3 -7
  70. package/dist/actions/kms/get_kms_list.d.ts +34 -88
  71. package/dist/actions/kms/get_kms_onchain_detail.d.ts +66 -664
  72. package/dist/actions/kms/list_kms_contract_nodes.d.ts +21 -53
  73. package/dist/actions/kms/list_kms_contracts.d.ts +33 -87
  74. package/dist/actions/kms/next_app_ids.d.ts +5 -25
  75. package/dist/actions/list-instance-types.d.ts +77 -257
  76. package/dist/actions/os_images/get_os_images.d.ts +38 -152
  77. package/dist/actions/ssh_keys/create_ssh_key.d.ts +11 -17
  78. package/dist/actions/ssh_keys/delete_ssh_key.d.ts +3 -7
  79. package/dist/actions/ssh_keys/get_cvm_ssh_keys.d.ts +113 -0
  80. package/dist/actions/ssh_keys/import_github_profile.d.ts +7 -21
  81. package/dist/actions/ssh_keys/list_ssh_keys.d.ts +2 -50
  82. package/dist/actions/ssh_keys/sync_github_ssh_keys.d.ts +8 -20
  83. package/dist/actions/ssh_keys/update_cvm_ssh_keys.d.ts +140 -0
  84. package/dist/actions/workspaces/get_workspace.d.ts +32 -28
  85. package/dist/actions/workspaces/get_workspace_nodes.d.ts +34 -321
  86. package/dist/actions/workspaces/get_workspace_quotas.d.ts +107 -1021
  87. package/dist/actions/workspaces/list_workspaces.d.ts +67 -369
  88. package/dist/client.d.ts +23 -4
  89. package/dist/create-client.d.ts +1900 -1
  90. package/dist/credentials/current_user_v20251028.d.ts +1 -17
  91. package/dist/credentials/current_user_v20260121.d.ts +22 -227
  92. package/dist/index.d.ts +1 -1
  93. package/dist/index.js +6004 -4537
  94. package/dist/index.mjs +6033 -4625
  95. package/dist/types/app_compose.d.ts +108 -221
  96. package/dist/types/app_info_v20251028.d.ts +22 -1067
  97. package/dist/types/app_info_v20260121.d.ts +442 -8900
  98. package/dist/types/app_revision.d.ts +15 -371
  99. package/dist/types/client.d.ts +16 -0
  100. package/dist/types/common.d.ts +6 -0
  101. package/dist/types/cvm_id.d.ts +12 -57
  102. package/dist/types/cvm_info.d.ts +33 -460
  103. package/dist/types/cvm_info_v20251028.d.ts +100 -821
  104. package/dist/types/cvm_info_v20260121.d.ts +254 -3160
  105. package/dist/types/kms_contract.d.ts +2 -32
  106. package/dist/types/kms_info.d.ts +34 -68
  107. package/dist/user-agent.d.ts +30 -0
  108. package/dist/utils/define-action.d.ts +4 -4
  109. package/dist/utils/errors.d.ts +4 -36
  110. package/dist/utils/get_compose_hash.d.ts +36 -5
  111. package/dist/utils/get_mr_config_id.d.ts +94 -3
  112. package/dist/utils/index.d.ts +1 -1
  113. package/dist/utils/placement-request.d.ts +3 -0
  114. 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,62 @@ 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
+ auth_query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ }, z.core.$strip>;
219
117
  export type CvmLogUrlsV20260121 = z.infer<typeof CvmLogUrlsV20260121Schema>;
220
118
  export declare const DeviceIdEntrySchema: z.ZodObject<{
221
119
  device_id: z.ZodString;
222
120
  algorithm_version: z.ZodString;
223
121
  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
- }>;
122
+ }, z.core.$strip>;
233
123
  export type DeviceIdEntry = z.infer<typeof DeviceIdEntrySchema>;
234
124
  export declare const NodeRefSchema: z.ZodObject<{
235
125
  object_type: z.ZodLiteral<"node">;
@@ -241,47 +131,11 @@ export declare const NodeRefSchema: z.ZodObject<{
241
131
  device_id: z.ZodString;
242
132
  algorithm_version: z.ZodString;
243
133
  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">>;
134
+ }, z.core.$strip>>>;
253
135
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
254
136
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
255
137
  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
- }>;
138
+ }, z.core.$strip>;
285
139
  export type NodeRef = z.infer<typeof NodeRefSchema>;
286
140
  export declare const CvmNodeInfoV20260121Schema: z.ZodObject<{
287
141
  object_type: z.ZodLiteral<"node">;
@@ -293,47 +147,11 @@ export declare const CvmNodeInfoV20260121Schema: z.ZodObject<{
293
147
  device_id: z.ZodString;
294
148
  algorithm_version: z.ZodString;
295
149
  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">>;
150
+ }, z.core.$strip>>>;
305
151
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
306
152
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
307
153
  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
- }>;
154
+ }, z.core.$strip>;
337
155
  export type CvmNodeInfoV20260121 = NodeRef;
338
156
  export declare const CvmInfoV20260121Schema: z.ZodObject<{
339
157
  id: z.ZodString;
@@ -348,24 +166,12 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
348
166
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
349
167
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
350
168
  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
- }>;
169
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
170
+ skip: "skip";
171
+ hourly: "hourly";
172
+ monthly: "monthly";
173
+ }>>>;
174
+ }, z.core.$strip>;
369
175
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
370
176
  object_type: z.ZodLiteral<"node">;
371
177
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -376,160 +182,77 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
376
182
  device_id: z.ZodString;
377
183
  algorithm_version: z.ZodString;
378
184
  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">>;
185
+ }, z.core.$strip>>>;
388
186
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
389
187
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
390
188
  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
- }>>>;
189
+ }, z.core.$strip>>>;
420
190
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
421
191
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
192
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
423
193
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
424
194
  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;
195
+ }, z.core.$strip>>>;
196
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
197
+ legacy: "legacy";
198
+ phala: "phala";
199
+ ethereum: "ethereum";
200
+ base: "base";
435
201
  }>>>;
436
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
437
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
202
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
438
203
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
439
204
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
440
205
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
206
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
442
207
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
443
208
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
444
- }, "strip", z.ZodTypeAny, {
209
+ }, z.core.$strip>, z.ZodTransform<{
445
210
  chain_id?: number | null | undefined;
446
- encrypted_env_pubkey?: string | null | undefined;
447
- deployer_address?: string | null | undefined;
448
211
  dstack_kms_address?: string | null | undefined;
449
212
  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
213
  deployer_address?: string | null | undefined;
455
- dstack_kms_address?: string | null | undefined;
456
- dstack_app_address?: string | null | undefined;
457
214
  rpc_endpoint?: string | null | undefined;
458
- }>, {
459
- chain_id?: number | null | undefined;
460
215
  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
216
  }, {
466
217
  chain_id?: number | null | undefined;
467
- encrypted_env_pubkey?: string | null | undefined;
468
- deployer_address?: string | null | undefined;
469
218
  dstack_kms_address?: string | null | undefined;
470
219
  dstack_app_address?: string | null | undefined;
220
+ deployer_address?: string | null | undefined;
471
221
  rpc_endpoint?: string | null | undefined;
472
- }>>>;
222
+ encrypted_env_pubkey?: string | null | undefined;
223
+ }>>>>;
473
224
  status: z.ZodString;
474
225
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
475
226
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
476
227
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
477
228
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
478
229
  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
- }>>>;
230
+ }, z.core.$strip>>>;
488
231
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
489
232
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
490
233
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
491
234
  gateway: z.ZodObject<{
492
235
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
493
236
  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
- }>;
237
+ }, z.core.$strip>;
501
238
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
502
239
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
503
240
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
504
241
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
505
242
  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">>>;
243
+ auth_query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
+ }, z.core.$strip>>>;
245
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
518
246
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
519
247
  app: z.ZodString;
520
248
  instance: z.ZodString;
521
- }, "strip", z.ZodTypeAny, {
522
- app: string;
523
- instance: string;
524
- }, {
525
- app: string;
526
- instance: string;
527
- }>, "many">>>;
249
+ }, z.core.$strip>>>>;
528
250
  public_logs: z.ZodOptional<z.ZodBoolean>;
529
251
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
530
252
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
531
253
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
532
254
  secure_time: z.ZodOptional<z.ZodBoolean>;
255
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
533
256
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
534
257
  storage_fs: z.ZodOptional<z.ZodString>;
535
258
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -538,35 +261,13 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
538
261
  name: z.ZodString;
539
262
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
540
263
  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
- }>>>;
264
+ }, z.core.$strip>>>;
554
265
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
555
266
  object_type: z.ZodLiteral<"user">;
556
267
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
557
268
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
558
269
  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
- }>>>;
270
+ }, z.core.$strip>>>;
570
271
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
571
272
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
572
273
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -574,21 +275,17 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
574
275
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
276
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
277
  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
- }>>>;
278
+ }, z.core.$strip>>>;
586
279
  billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
587
280
  gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
588
281
  order_id: z.ZodString;
589
282
  status: z.ZodString;
590
283
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
591
284
  commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
285
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
286
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
287
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
288
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
592
289
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
593
290
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
594
291
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -597,260 +294,8 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
597
294
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
598
295
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
599
296
  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
- }>;
297
+ }, z.core.$strip>>>;
298
+ }, z.core.$strip>;
854
299
  export type CvmInfoV20260121 = z.infer<typeof CvmInfoV20260121Schema>;
855
300
  export declare const CvmInfoV20260522Schema: z.ZodObject<{
856
301
  name: z.ZodString;
@@ -864,24 +309,12 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
864
309
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
865
310
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
866
311
  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
- }>;
312
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
313
+ skip: "skip";
314
+ hourly: "hourly";
315
+ monthly: "monthly";
316
+ }>>>;
317
+ }, z.core.$strip>;
885
318
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
886
319
  object_type: z.ZodLiteral<"node">;
887
320
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -892,160 +325,77 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
892
325
  device_id: z.ZodString;
893
326
  algorithm_version: z.ZodString;
894
327
  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">>;
328
+ }, z.core.$strip>>>;
904
329
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
905
330
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
906
331
  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
- }>>>;
332
+ }, z.core.$strip>>>;
936
333
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
937
334
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
938
335
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
939
336
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
940
337
  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;
338
+ }, z.core.$strip>>>;
339
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
340
+ legacy: "legacy";
341
+ phala: "phala";
342
+ ethereum: "ethereum";
343
+ base: "base";
951
344
  }>>>;
952
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
953
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
345
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
954
346
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
955
347
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
956
348
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
957
349
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
958
350
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
959
351
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
960
- }, "strip", z.ZodTypeAny, {
352
+ }, z.core.$strip>, z.ZodTransform<{
961
353
  chain_id?: number | null | undefined;
962
- encrypted_env_pubkey?: string | null | undefined;
963
- deployer_address?: string | null | undefined;
964
354
  dstack_kms_address?: string | null | undefined;
965
355
  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
356
  deployer_address?: string | null | undefined;
971
- dstack_kms_address?: string | null | undefined;
972
- dstack_app_address?: string | null | undefined;
973
357
  rpc_endpoint?: string | null | undefined;
974
- }>, {
975
- chain_id?: number | null | undefined;
976
358
  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
359
  }, {
982
360
  chain_id?: number | null | undefined;
983
- encrypted_env_pubkey?: string | null | undefined;
984
- deployer_address?: string | null | undefined;
985
361
  dstack_kms_address?: string | null | undefined;
986
362
  dstack_app_address?: string | null | undefined;
363
+ deployer_address?: string | null | undefined;
987
364
  rpc_endpoint?: string | null | undefined;
988
- }>>>;
365
+ encrypted_env_pubkey?: string | null | undefined;
366
+ }>>>>;
989
367
  status: z.ZodString;
990
368
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
991
369
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
992
370
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
993
371
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
994
372
  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
- }>>>;
373
+ }, z.core.$strip>>>;
1004
374
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1005
375
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1006
376
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1007
377
  gateway: z.ZodObject<{
1008
378
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1009
379
  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
- }>;
380
+ }, z.core.$strip>;
1017
381
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1018
382
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1019
383
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1020
384
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1021
385
  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">>>;
386
+ auth_query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
387
+ }, z.core.$strip>>>;
388
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1034
389
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1035
390
  app: z.ZodString;
1036
391
  instance: z.ZodString;
1037
- }, "strip", z.ZodTypeAny, {
1038
- app: string;
1039
- instance: string;
1040
- }, {
1041
- app: string;
1042
- instance: string;
1043
- }>, "many">>>;
392
+ }, z.core.$strip>>>>;
1044
393
  public_logs: z.ZodOptional<z.ZodBoolean>;
1045
394
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
1046
395
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
1047
396
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
1048
397
  secure_time: z.ZodOptional<z.ZodBoolean>;
398
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1049
399
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1050
400
  storage_fs: z.ZodOptional<z.ZodString>;
1051
401
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1054,35 +404,13 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
1054
404
  name: z.ZodString;
1055
405
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1056
406
  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
- }>>>;
407
+ }, z.core.$strip>>>;
1070
408
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1071
409
  object_type: z.ZodLiteral<"user">;
1072
410
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1073
411
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1074
412
  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
- }>>>;
413
+ }, z.core.$strip>>>;
1086
414
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1087
415
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
416
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1090,21 +418,17 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
1090
418
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1091
419
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1092
420
  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
- }>>>;
421
+ }, z.core.$strip>>>;
1102
422
  billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1103
423
  gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1104
424
  order_id: z.ZodString;
1105
425
  status: z.ZodString;
1106
426
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1107
427
  commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
428
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
429
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
430
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
431
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1108
432
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1109
433
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1110
434
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1113,262 +437,9 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
1113
437
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1114
438
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1115
439
  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
- } & {
440
+ }, z.core.$strip>>>;
1144
441
  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
- }>;
442
+ }, z.core.$strip>;
1372
443
  export type CvmInfoV20260522 = z.infer<typeof CvmInfoV20260522Schema>;
1373
444
  export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1374
445
  id: z.ZodString;
@@ -1383,24 +454,12 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1383
454
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1384
455
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1385
456
  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
- }>;
457
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
458
+ skip: "skip";
459
+ hourly: "hourly";
460
+ monthly: "monthly";
461
+ }>>>;
462
+ }, z.core.$strip>;
1404
463
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1405
464
  object_type: z.ZodLiteral<"node">;
1406
465
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1411,160 +470,77 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1411
470
  device_id: z.ZodString;
1412
471
  algorithm_version: z.ZodString;
1413
472
  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">>;
473
+ }, z.core.$strip>>>;
1423
474
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1424
475
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1425
476
  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
- }>>>;
477
+ }, z.core.$strip>>>;
1455
478
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1456
479
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1457
480
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1458
481
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1459
482
  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;
483
+ }, z.core.$strip>>>;
484
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
485
+ legacy: "legacy";
486
+ phala: "phala";
487
+ ethereum: "ethereum";
488
+ base: "base";
1470
489
  }>>>;
1471
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
1472
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
490
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
1473
491
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1474
492
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1475
493
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1476
494
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1477
495
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1478
496
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1479
- }, "strip", z.ZodTypeAny, {
497
+ }, z.core.$strip>, z.ZodTransform<{
1480
498
  chain_id?: number | null | undefined;
1481
- encrypted_env_pubkey?: string | null | undefined;
1482
- deployer_address?: string | null | undefined;
1483
499
  dstack_kms_address?: string | null | undefined;
1484
500
  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
501
  deployer_address?: string | null | undefined;
1490
- dstack_kms_address?: string | null | undefined;
1491
- dstack_app_address?: string | null | undefined;
1492
502
  rpc_endpoint?: string | null | undefined;
1493
- }>, {
1494
- chain_id?: number | null | undefined;
1495
503
  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
504
  }, {
1501
505
  chain_id?: number | null | undefined;
1502
- encrypted_env_pubkey?: string | null | undefined;
1503
- deployer_address?: string | null | undefined;
1504
506
  dstack_kms_address?: string | null | undefined;
1505
507
  dstack_app_address?: string | null | undefined;
508
+ deployer_address?: string | null | undefined;
1506
509
  rpc_endpoint?: string | null | undefined;
1507
- }>>>;
510
+ encrypted_env_pubkey?: string | null | undefined;
511
+ }>>>>;
1508
512
  status: z.ZodString;
1509
513
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1510
514
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1511
515
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1512
516
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1513
517
  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
- }>>>;
518
+ }, z.core.$strip>>>;
1523
519
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1524
520
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1525
521
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1526
522
  gateway: z.ZodObject<{
1527
523
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1528
524
  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
- }>;
525
+ }, z.core.$strip>;
1536
526
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1537
527
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1538
528
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1539
529
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1540
530
  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">>>;
531
+ auth_query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
532
+ }, z.core.$strip>>>;
533
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1553
534
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1554
535
  app: z.ZodString;
1555
536
  instance: z.ZodString;
1556
- }, "strip", z.ZodTypeAny, {
1557
- app: string;
1558
- instance: string;
1559
- }, {
1560
- app: string;
1561
- instance: string;
1562
- }>, "many">>>;
537
+ }, z.core.$strip>>>>;
1563
538
  public_logs: z.ZodOptional<z.ZodBoolean>;
1564
539
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
1565
540
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
1566
541
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
1567
542
  secure_time: z.ZodOptional<z.ZodBoolean>;
543
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1568
544
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1569
545
  storage_fs: z.ZodOptional<z.ZodString>;
1570
546
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1573,35 +549,13 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1573
549
  name: z.ZodString;
1574
550
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1575
551
  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
- }>>>;
552
+ }, z.core.$strip>>>;
1589
553
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1590
554
  object_type: z.ZodLiteral<"user">;
1591
555
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1592
556
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1593
557
  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
- }>>>;
558
+ }, z.core.$strip>>>;
1605
559
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1606
560
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1607
561
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1609,21 +563,17 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1609
563
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1610
564
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1611
565
  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
- }>>>;
566
+ }, z.core.$strip>>>;
1621
567
  billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1622
568
  gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1623
569
  order_id: z.ZodString;
1624
570
  status: z.ZodString;
1625
571
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1626
572
  commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
573
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
574
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
576
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1627
577
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1628
578
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1629
579
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1632,264 +582,9 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
1632
582
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1633
583
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1634
584
  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
- }>;
585
+ }, z.core.$strip>>>;
586
+ compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
587
+ }, z.core.$strip>;
1893
588
  export type CvmInfoDetailV20260121 = z.infer<typeof CvmInfoDetailV20260121Schema>;
1894
589
  export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
1895
590
  name: z.ZodString;
@@ -1903,24 +598,12 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
1903
598
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1904
599
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1905
600
  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
- }>;
601
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
602
+ skip: "skip";
603
+ hourly: "hourly";
604
+ monthly: "monthly";
605
+ }>>>;
606
+ }, z.core.$strip>;
1924
607
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1925
608
  object_type: z.ZodLiteral<"node">;
1926
609
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1931,160 +614,77 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
1931
614
  device_id: z.ZodString;
1932
615
  algorithm_version: z.ZodString;
1933
616
  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">>;
617
+ }, z.core.$strip>>>;
1943
618
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1944
619
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1945
620
  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
- }>>>;
621
+ }, z.core.$strip>>>;
1975
622
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1976
623
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1977
624
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1978
625
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1979
626
  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;
627
+ }, z.core.$strip>>>;
628
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
629
+ legacy: "legacy";
630
+ phala: "phala";
631
+ ethereum: "ethereum";
632
+ base: "base";
1990
633
  }>>>;
1991
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
1992
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
634
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
1993
635
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1994
636
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1995
637
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1996
638
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1997
639
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1998
640
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1999
- }, "strip", z.ZodTypeAny, {
641
+ }, z.core.$strip>, z.ZodTransform<{
2000
642
  chain_id?: number | null | undefined;
2001
- encrypted_env_pubkey?: string | null | undefined;
2002
- deployer_address?: string | null | undefined;
2003
643
  dstack_kms_address?: string | null | undefined;
2004
644
  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
645
  deployer_address?: string | null | undefined;
2010
- dstack_kms_address?: string | null | undefined;
2011
- dstack_app_address?: string | null | undefined;
2012
646
  rpc_endpoint?: string | null | undefined;
2013
- }>, {
2014
- chain_id?: number | null | undefined;
2015
647
  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
648
  }, {
2021
649
  chain_id?: number | null | undefined;
2022
- encrypted_env_pubkey?: string | null | undefined;
2023
- deployer_address?: string | null | undefined;
2024
650
  dstack_kms_address?: string | null | undefined;
2025
651
  dstack_app_address?: string | null | undefined;
652
+ deployer_address?: string | null | undefined;
2026
653
  rpc_endpoint?: string | null | undefined;
2027
- }>>>;
654
+ encrypted_env_pubkey?: string | null | undefined;
655
+ }>>>>;
2028
656
  status: z.ZodString;
2029
657
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2030
658
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2031
659
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2032
660
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2033
661
  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
- }>>>;
662
+ }, z.core.$strip>>>;
2043
663
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2044
664
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2045
665
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2046
666
  gateway: z.ZodObject<{
2047
667
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2048
668
  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
- }>;
669
+ }, z.core.$strip>;
2056
670
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2057
671
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2058
672
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2059
673
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2060
674
  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">>>;
675
+ auth_query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
676
+ }, z.core.$strip>>>;
677
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
2073
678
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2074
679
  app: z.ZodString;
2075
680
  instance: z.ZodString;
2076
- }, "strip", z.ZodTypeAny, {
2077
- app: string;
2078
- instance: string;
2079
- }, {
2080
- app: string;
2081
- instance: string;
2082
- }>, "many">>>;
681
+ }, z.core.$strip>>>>;
2083
682
  public_logs: z.ZodOptional<z.ZodBoolean>;
2084
683
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
2085
684
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
2086
685
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
2087
686
  secure_time: z.ZodOptional<z.ZodBoolean>;
687
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2088
688
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2089
689
  storage_fs: z.ZodOptional<z.ZodString>;
2090
690
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2093,35 +693,13 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
2093
693
  name: z.ZodString;
2094
694
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2095
695
  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
- }>>>;
696
+ }, z.core.$strip>>>;
2109
697
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2110
698
  object_type: z.ZodLiteral<"user">;
2111
699
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2112
700
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2113
701
  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
- }>>>;
702
+ }, z.core.$strip>>>;
2125
703
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2126
704
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2127
705
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2129,21 +707,17 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
2129
707
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2130
708
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2131
709
  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
- }>>>;
710
+ }, z.core.$strip>>>;
2141
711
  billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2142
712
  gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2143
713
  order_id: z.ZodString;
2144
714
  status: z.ZodString;
2145
715
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2146
716
  commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
717
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
718
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
719
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
720
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2147
721
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2148
722
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2149
723
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2152,266 +726,10 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
2152
726
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2153
727
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2154
728
  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
- } & {
729
+ }, z.core.$strip>>>;
2183
730
  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
- }>;
731
+ compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
732
+ }, z.core.$strip>;
2415
733
  export type CvmInfoDetailV20260522 = z.infer<typeof CvmInfoDetailV20260522Schema>;
2416
734
  export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
2417
735
  items: z.ZodArray<z.ZodObject<{
@@ -2427,24 +745,12 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
2427
745
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2428
746
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2429
747
  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
- }>;
748
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
749
+ skip: "skip";
750
+ hourly: "hourly";
751
+ monthly: "monthly";
752
+ }>>>;
753
+ }, z.core.$strip>;
2448
754
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2449
755
  object_type: z.ZodLiteral<"node">;
2450
756
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2455,160 +761,77 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
2455
761
  device_id: z.ZodString;
2456
762
  algorithm_version: z.ZodString;
2457
763
  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">>;
764
+ }, z.core.$strip>>>;
2467
765
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2468
766
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2469
767
  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
- }>>>;
768
+ }, z.core.$strip>>>;
2499
769
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2500
770
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2501
771
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2502
772
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2503
773
  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;
774
+ }, z.core.$strip>>>;
775
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
776
+ legacy: "legacy";
777
+ phala: "phala";
778
+ ethereum: "ethereum";
779
+ base: "base";
2514
780
  }>>>;
2515
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
2516
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
781
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
2517
782
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2518
783
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2519
784
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2520
785
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2521
786
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2522
787
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2523
- }, "strip", z.ZodTypeAny, {
788
+ }, z.core.$strip>, z.ZodTransform<{
2524
789
  chain_id?: number | null | undefined;
2525
- encrypted_env_pubkey?: string | null | undefined;
2526
- deployer_address?: string | null | undefined;
2527
790
  dstack_kms_address?: string | null | undefined;
2528
791
  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
792
  deployer_address?: string | null | undefined;
2534
- dstack_kms_address?: string | null | undefined;
2535
- dstack_app_address?: string | null | undefined;
2536
793
  rpc_endpoint?: string | null | undefined;
2537
- }>, {
2538
- chain_id?: number | null | undefined;
2539
794
  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
795
  }, {
2545
796
  chain_id?: number | null | undefined;
2546
- encrypted_env_pubkey?: string | null | undefined;
2547
- deployer_address?: string | null | undefined;
2548
797
  dstack_kms_address?: string | null | undefined;
2549
798
  dstack_app_address?: string | null | undefined;
799
+ deployer_address?: string | null | undefined;
2550
800
  rpc_endpoint?: string | null | undefined;
2551
- }>>>;
801
+ encrypted_env_pubkey?: string | null | undefined;
802
+ }>>>>;
2552
803
  status: z.ZodString;
2553
804
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2554
805
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2555
806
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2556
807
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2557
808
  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
- }>>>;
809
+ }, z.core.$strip>>>;
2567
810
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2568
811
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2569
812
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2570
813
  gateway: z.ZodObject<{
2571
814
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2572
815
  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
- }>;
816
+ }, z.core.$strip>;
2580
817
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2581
818
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2582
819
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2583
820
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2584
821
  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">>>;
822
+ auth_query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
823
+ }, z.core.$strip>>>;
824
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
2597
825
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2598
826
  app: z.ZodString;
2599
827
  instance: z.ZodString;
2600
- }, "strip", z.ZodTypeAny, {
2601
- app: string;
2602
- instance: string;
2603
- }, {
2604
- app: string;
2605
- instance: string;
2606
- }>, "many">>>;
828
+ }, z.core.$strip>>>>;
2607
829
  public_logs: z.ZodOptional<z.ZodBoolean>;
2608
830
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
2609
831
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
2610
832
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
2611
833
  secure_time: z.ZodOptional<z.ZodBoolean>;
834
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2612
835
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2613
836
  storage_fs: z.ZodOptional<z.ZodString>;
2614
837
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2617,35 +840,13 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
2617
840
  name: z.ZodString;
2618
841
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2619
842
  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
- }>>>;
843
+ }, z.core.$strip>>>;
2633
844
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2634
845
  object_type: z.ZodLiteral<"user">;
2635
846
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2636
847
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2637
848
  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
- }>>>;
849
+ }, z.core.$strip>>>;
2649
850
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2650
851
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2651
852
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2653,21 +854,17 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
2653
854
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2654
855
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2655
856
  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
- }>>>;
857
+ }, z.core.$strip>>>;
2665
858
  billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2666
859
  gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2667
860
  order_id: z.ZodString;
2668
861
  status: z.ZodString;
2669
862
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2670
863
  commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
864
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
865
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
866
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
867
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2671
868
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2672
869
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2673
870
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2676,510 +873,19 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
2676
873
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2677
874
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2678
875
  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">;
876
+ }, z.core.$strip>>>;
877
+ }, z.core.$strip>>;
2933
878
  total: z.ZodNumber;
2934
879
  page: z.ZodNumber;
2935
880
  page_size: z.ZodNumber;
2936
881
  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
- }>;
882
+ }, z.core.$strip>;
3176
883
  export type PaginatedCvmInfosV20260121 = z.infer<typeof PaginatedCvmInfosV20260121Schema>;
3177
884
  export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
3178
885
  total: z.ZodNumber;
3179
886
  page: z.ZodNumber;
3180
887
  page_size: z.ZodNumber;
3181
888
  pages: z.ZodNumber;
3182
- } & {
3183
889
  items: z.ZodArray<z.ZodObject<{
3184
890
  name: z.ZodString;
3185
891
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3192,24 +898,12 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
3192
898
  disk_in_gb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3193
899
  gpus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3194
900
  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
- }>;
901
+ billing_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
902
+ skip: "skip";
903
+ hourly: "hourly";
904
+ monthly: "monthly";
905
+ }>>>;
906
+ }, z.core.$strip>;
3213
907
  node_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3214
908
  object_type: z.ZodLiteral<"node">;
3215
909
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3220,160 +914,77 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
3220
914
  device_id: z.ZodString;
3221
915
  algorithm_version: z.ZodString;
3222
916
  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">>;
917
+ }, z.core.$strip>>>;
3232
918
  ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3233
919
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3234
920
  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
- }>>>;
921
+ }, z.core.$strip>>>;
3264
922
  os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3265
923
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3266
924
  version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3267
925
  is_dev: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3268
926
  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;
927
+ }, z.core.$strip>>>;
928
+ kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
929
+ legacy: "legacy";
930
+ phala: "phala";
931
+ ethereum: "ethereum";
932
+ base: "base";
3279
933
  }>>>;
3280
- kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["phala", "ethereum", "base", "legacy"]>>>;
3281
- kms_info: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
934
+ kms_info: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
3282
935
  chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3283
936
  dstack_kms_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3284
937
  dstack_app_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3285
938
  deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3286
939
  rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3287
940
  encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3288
- }, "strip", z.ZodTypeAny, {
941
+ }, z.core.$strip>, z.ZodTransform<{
3289
942
  chain_id?: number | null | undefined;
3290
- encrypted_env_pubkey?: string | null | undefined;
3291
- deployer_address?: string | null | undefined;
3292
943
  dstack_kms_address?: string | null | undefined;
3293
944
  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
945
  deployer_address?: string | null | undefined;
3299
- dstack_kms_address?: string | null | undefined;
3300
- dstack_app_address?: string | null | undefined;
3301
946
  rpc_endpoint?: string | null | undefined;
3302
- }>, {
3303
- chain_id?: number | null | undefined;
3304
947
  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
948
  }, {
3310
949
  chain_id?: number | null | undefined;
3311
- encrypted_env_pubkey?: string | null | undefined;
3312
- deployer_address?: string | null | undefined;
3313
950
  dstack_kms_address?: string | null | undefined;
3314
951
  dstack_app_address?: string | null | undefined;
952
+ deployer_address?: string | null | undefined;
3315
953
  rpc_endpoint?: string | null | undefined;
3316
- }>>>;
954
+ encrypted_env_pubkey?: string | null | undefined;
955
+ }>>>>;
3317
956
  status: z.ZodString;
3318
957
  in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3319
958
  progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3320
959
  target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3321
960
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3322
961
  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
- }>>>;
962
+ }, z.core.$strip>>>;
3332
963
  compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3333
964
  docker_compose_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3334
965
  pre_launch_script_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3335
966
  gateway: z.ZodObject<{
3336
967
  base_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3337
968
  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
- }>;
969
+ }, z.core.$strip>;
3345
970
  logs: z.ZodDefault<z.ZodOptional<z.ZodObject<{
3346
971
  serial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3347
972
  stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3348
973
  stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3349
974
  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">>>;
975
+ auth_query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
976
+ }, z.core.$strip>>>;
977
+ services: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
3362
978
  endpoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3363
979
  app: z.ZodString;
3364
980
  instance: z.ZodString;
3365
- }, "strip", z.ZodTypeAny, {
3366
- app: string;
3367
- instance: string;
3368
- }, {
3369
- app: string;
3370
- instance: string;
3371
- }>, "many">>>;
981
+ }, z.core.$strip>>>>;
3372
982
  public_logs: z.ZodOptional<z.ZodBoolean>;
3373
983
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
3374
984
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
3375
985
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
3376
986
  secure_time: z.ZodOptional<z.ZodBoolean>;
987
+ managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3377
988
  listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3378
989
  storage_fs: z.ZodOptional<z.ZodString>;
3379
990
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -3382,35 +993,13 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
3382
993
  name: z.ZodString;
3383
994
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3384
995
  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
- }>>>;
996
+ }, z.core.$strip>>>;
3398
997
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3399
998
  object_type: z.ZodLiteral<"user">;
3400
999
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3401
1000
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3402
1001
  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
- }>>>;
1002
+ }, z.core.$strip>>>;
3414
1003
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3415
1004
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3416
1005
  project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3418,21 +1007,17 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
3418
1007
  total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3419
1008
  compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3420
1009
  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
- }>>>;
1010
+ }, z.core.$strip>>>;
3430
1011
  billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3431
1012
  gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3432
1013
  order_id: z.ZodString;
3433
1014
  status: z.ZodString;
3434
1015
  pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3435
1016
  commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1017
+ auto_renew: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1018
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1019
+ renewal_in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1020
+ renewal_next_attempt_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3436
1021
  agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3437
1022
  hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3438
1023
  activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3441,499 +1026,8 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
3441
1026
  decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3442
1027
  sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3443
1028
  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
- } & {
1029
+ }, z.core.$strip>>>;
3472
1030
  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
- }>;
1031
+ }, z.core.$strip>>;
1032
+ }, z.core.$strip>;
3939
1033
  export type PaginatedCvmInfosV20260522 = z.infer<typeof PaginatedCvmInfosV20260522Schema>;