@phala/cloud 0.2.10 → 0.4.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 (81) hide show
  1. package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +100 -161
  2. package/dist/actions/apps/check_app_is_allowed.d.ts +14 -14
  3. package/dist/actions/apps/create_app_instance.d.ts +22 -22
  4. package/dist/actions/apps/get_app_attestation.d.ts +43 -33
  5. package/dist/actions/apps/get_app_device_allowlist.d.ts +51 -50
  6. package/dist/actions/apps/get_app_list.d.ts +2 -2
  7. package/dist/actions/cvms/check_cvm_is_allowed.d.ts +40 -102
  8. package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +12 -12
  9. package/dist/actions/cvms/commit_cvm_provision.d.ts +11 -135
  10. package/dist/actions/cvms/commit_cvm_update.d.ts +2 -2
  11. package/dist/actions/cvms/confirm_cvm_patch.d.ts +2 -2
  12. package/dist/actions/cvms/delete_cvm.d.ts +2 -2
  13. package/dist/actions/cvms/get_available_os_images.d.ts +2 -2
  14. package/dist/actions/cvms/get_cvm_attestation.d.ts +2 -2
  15. package/dist/actions/cvms/get_cvm_compose_file.d.ts +166 -22
  16. package/dist/actions/cvms/get_cvm_containers_stats.d.ts +10 -10
  17. package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
  18. package/dist/actions/cvms/get_cvm_info.d.ts +2 -2
  19. package/dist/actions/cvms/get_cvm_list.d.ts +8 -10
  20. package/dist/actions/cvms/get_cvm_network.d.ts +2 -2
  21. package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +2 -2
  22. package/dist/actions/cvms/get_cvm_state.d.ts +6 -6
  23. package/dist/actions/cvms/get_cvm_stats.d.ts +2 -2
  24. package/dist/actions/cvms/get_cvm_status_batch.d.ts +253 -30
  25. package/dist/actions/cvms/get_cvm_user_config.d.ts +2 -2
  26. package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +2 -2
  27. package/dist/actions/cvms/patch_cvm.d.ts +34 -18
  28. package/dist/actions/cvms/provision_cvm.d.ts +900 -51
  29. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +253 -43
  30. package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +27 -58
  31. package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +120 -165
  32. package/dist/actions/cvms/replicate_cvm.d.ts +7 -72
  33. package/dist/actions/cvms/restart_cvm.d.ts +7 -72
  34. package/dist/actions/cvms/shutdown_cvm.d.ts +9 -72
  35. package/dist/actions/cvms/start_cvm.d.ts +7 -72
  36. package/dist/actions/cvms/stop_cvm.d.ts +7 -72
  37. package/dist/actions/cvms/update_cvm_envs.d.ts +36 -20
  38. package/dist/actions/cvms/update_cvm_resources.d.ts +26 -4
  39. package/dist/actions/cvms/update_cvm_visibility.d.ts +26 -24
  40. package/dist/actions/cvms/update_docker_compose.d.ts +51 -20
  41. package/dist/actions/cvms/update_os_image.d.ts +2 -2
  42. package/dist/actions/cvms/update_prelaunch_script.d.ts +51 -20
  43. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +36 -20
  44. package/dist/actions/get_available_nodes.d.ts +259 -0
  45. package/dist/actions/get_cvm_create_resources.d.ts +351 -0
  46. package/dist/actions/index.d.ts +6 -2
  47. package/dist/actions/kms/get_kms_contract.d.ts +59 -0
  48. package/dist/actions/kms/get_kms_list.d.ts +25 -10
  49. package/dist/actions/kms/get_kms_onchain_detail.d.ts +54 -0
  50. package/dist/actions/kms/list_kms_contract_nodes.d.ts +98 -0
  51. package/dist/actions/kms/list_kms_contracts.d.ts +152 -0
  52. package/dist/actions/kms/next_app_ids.d.ts +6 -6
  53. package/dist/actions/list-instance-types.d.ts +12 -12
  54. package/dist/actions/ssh_keys/create_ssh_key.d.ts +2 -2
  55. package/dist/actions/ssh_keys/list_ssh_keys.d.ts +4 -4
  56. package/dist/actions/workspaces/get_workspace.d.ts +4 -0
  57. package/dist/actions/workspaces/get_workspace_nodes.d.ts +175 -14
  58. package/dist/actions/workspaces/list_workspaces.d.ts +126 -0
  59. package/dist/client.d.ts +4 -1
  60. package/dist/create-client.d.ts +48 -0
  61. package/dist/index.d.ts +1 -1
  62. package/dist/index.js +1779 -1250
  63. package/dist/index.mjs +1704 -1194
  64. package/dist/types/app_compose.d.ts +50 -5
  65. package/dist/types/app_info_v20251028.d.ts +172 -128
  66. package/dist/types/app_info_v20260121.d.ts +2814 -490
  67. package/dist/types/app_revision.d.ts +8 -8
  68. package/dist/types/client.d.ts +2 -2
  69. package/dist/types/cvm_id.d.ts +6 -6
  70. package/dist/types/cvm_info.d.ts +98 -98
  71. package/dist/types/cvm_info_v20251028.d.ts +70 -47
  72. package/dist/types/cvm_info_v20260121.d.ts +1125 -148
  73. package/dist/types/kms_contract.d.ts +64 -0
  74. package/dist/types/kms_info.d.ts +8 -0
  75. package/dist/types/version-mappings.d.ts +43 -6
  76. package/dist/utils/error_codes.d.ts +1 -0
  77. package/dist/utils/errors.d.ts +30 -1
  78. package/dist/utils/get_compose_hash.d.ts +24 -0
  79. package/dist/utils/get_mr_config_id.d.ts +55 -0
  80. package/dist/utils/index.d.ts +3 -2
  81. package/package.json +3 -3
@@ -83,9 +83,9 @@ export declare const AppRevisionResponseSchema: z.ZodObject<{
83
83
  }>>>;
84
84
  }, "strip", z.ZodTypeAny, {
85
85
  app_id: string;
86
+ compose_hash: string;
86
87
  vm_uuid: string;
87
88
  created_at: string;
88
- compose_hash: string;
89
89
  revision_id: string;
90
90
  operation_type: string;
91
91
  workspace?: {
@@ -111,9 +111,9 @@ export declare const AppRevisionResponseSchema: z.ZodObject<{
111
111
  } | null | undefined;
112
112
  }, {
113
113
  app_id: string;
114
+ compose_hash: string;
114
115
  vm_uuid: string;
115
116
  created_at: string;
116
- compose_hash: string;
117
117
  revision_id: string;
118
118
  operation_type: string;
119
119
  workspace?: {
@@ -206,9 +206,9 @@ export declare const AppRevisionDetailResponseSchema: z.ZodObject<{
206
206
  }>>>;
207
207
  }, "strip", z.ZodTypeAny, {
208
208
  app_id: string;
209
+ compose_hash: string;
209
210
  vm_uuid: string;
210
211
  created_at: string;
211
- compose_hash: string;
212
212
  encrypted_env: string;
213
213
  revision_id: string;
214
214
  operation_type: string;
@@ -237,9 +237,9 @@ export declare const AppRevisionDetailResponseSchema: z.ZodObject<{
237
237
  } | null | undefined;
238
238
  }, {
239
239
  app_id: string;
240
+ compose_hash: string;
240
241
  vm_uuid: string;
241
242
  created_at: string;
242
- compose_hash: string;
243
243
  encrypted_env: string;
244
244
  revision_id: string;
245
245
  operation_type: string;
@@ -333,9 +333,9 @@ export declare const AppRevisionsResponseSchema: z.ZodObject<{
333
333
  }>>>;
334
334
  }, "strip", z.ZodTypeAny, {
335
335
  app_id: string;
336
+ compose_hash: string;
336
337
  vm_uuid: string;
337
338
  created_at: string;
338
- compose_hash: string;
339
339
  revision_id: string;
340
340
  operation_type: string;
341
341
  workspace?: {
@@ -361,9 +361,9 @@ export declare const AppRevisionsResponseSchema: z.ZodObject<{
361
361
  } | null | undefined;
362
362
  }, {
363
363
  app_id: string;
364
+ compose_hash: string;
364
365
  vm_uuid: string;
365
366
  created_at: string;
366
- compose_hash: string;
367
367
  revision_id: string;
368
368
  operation_type: string;
369
369
  workspace?: {
@@ -399,9 +399,9 @@ export declare const AppRevisionsResponseSchema: z.ZodObject<{
399
399
  total_pages: number;
400
400
  revisions: {
401
401
  app_id: string;
402
+ compose_hash: string;
402
403
  vm_uuid: string;
403
404
  created_at: string;
404
- compose_hash: string;
405
405
  revision_id: string;
406
406
  operation_type: string;
407
407
  workspace?: {
@@ -433,9 +433,9 @@ export declare const AppRevisionsResponseSchema: z.ZodObject<{
433
433
  total_pages: number;
434
434
  revisions: {
435
435
  app_id: string;
436
+ compose_hash: string;
436
437
  vm_uuid: string;
437
438
  created_at: string;
438
- compose_hash: string;
439
439
  revision_id: string;
440
440
  operation_type: string;
441
441
  workspace?: {
@@ -4,11 +4,11 @@ import type { PhalaCloudError } from "../utils/errors";
4
4
  /**
5
5
  * Supported API versions
6
6
  */
7
- export type ApiVersion = "2025-10-28" | "2026-01-21" | "2026-05-22";
7
+ export type ApiVersion = "2025-10-28" | "2026-01-21" | "2026-05-22" | "2026-06-23";
8
8
  /**
9
9
  * Default API version (latest stable)
10
10
  */
11
- export type DefaultApiVersion = "2026-05-22";
11
+ export type DefaultApiVersion = "2026-06-23";
12
12
  /**
13
13
  * Full HTTP response including status, headers, and parsed body
14
14
  */
@@ -27,15 +27,15 @@ export declare const CvmIdObjectSchema: z.ZodObject<{
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  name?: string | undefined;
29
29
  id?: string | undefined;
30
+ uuid?: string | undefined;
30
31
  app_id?: string | undefined;
31
32
  instance_id?: string | undefined;
32
- uuid?: string | undefined;
33
33
  }, {
34
34
  name?: string | undefined;
35
35
  id?: string | undefined;
36
+ uuid?: string | undefined;
36
37
  app_id?: string | undefined;
37
38
  instance_id?: string | undefined;
38
- uuid?: string | undefined;
39
39
  }>;
40
40
  /**
41
41
  * Helper function to add CVM ID validation refine to any schema
@@ -59,15 +59,15 @@ export declare const CvmIdBaseSchema: z.ZodEffects<z.ZodObject<{
59
59
  }, "strip", z.ZodTypeAny, {
60
60
  name?: string | undefined;
61
61
  id?: string | undefined;
62
+ uuid?: string | undefined;
62
63
  app_id?: string | undefined;
63
64
  instance_id?: string | undefined;
64
- uuid?: string | undefined;
65
65
  }, {
66
66
  name?: string | undefined;
67
67
  id?: string | undefined;
68
+ uuid?: string | undefined;
68
69
  app_id?: string | undefined;
69
70
  instance_id?: string | undefined;
70
- uuid?: string | undefined;
71
71
  }>, any, any>;
72
72
  /**
73
73
  * CVM ID Schema - supports multiple identifier formats
@@ -114,15 +114,15 @@ export declare const CvmIdSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
114
114
  }, "strip", z.ZodTypeAny, {
115
115
  name?: string | undefined;
116
116
  id?: string | undefined;
117
+ uuid?: string | undefined;
117
118
  app_id?: string | undefined;
118
119
  instance_id?: string | undefined;
119
- uuid?: string | undefined;
120
120
  }, {
121
121
  name?: string | undefined;
122
122
  id?: string | undefined;
123
+ uuid?: string | undefined;
123
124
  app_id?: string | undefined;
124
125
  instance_id?: string | undefined;
125
- uuid?: string | undefined;
126
126
  }>, any, any>, {
127
127
  cvmId: any;
128
128
  }, any>;
@@ -44,52 +44,52 @@ export declare const VMV20260121Schema: z.ZodObject<{
44
44
  id: number;
45
45
  app_id: string;
46
46
  instance_id: string | null;
47
+ teepod_id: number;
48
+ vm_uuid: string | null;
47
49
  vcpu: number;
48
50
  memory: number;
49
51
  disk_size: number;
50
- teepod_id: number;
51
- vm_uuid: string | null;
52
- encrypted_env_pubkey: string | null;
53
52
  created_at: string;
53
+ encrypted_env_pubkey: string | null;
54
54
  version?: string | null | undefined;
55
- app_url?: string | null | undefined;
56
55
  teepod?: {
57
56
  name: string;
58
57
  id: number;
59
58
  region_identifier?: string | null | undefined;
60
59
  } | null | undefined;
60
+ app_url?: string | null | undefined;
61
61
  base_image?: string | null | undefined;
62
- user_id?: number | null | undefined;
63
- docker_compose_file?: string | null | undefined;
64
- features?: string[] | null | undefined;
65
62
  manifest_version?: number | null | undefined;
66
63
  runner?: string | null | undefined;
64
+ docker_compose_file?: string | null | undefined;
65
+ features?: string[] | null | undefined;
66
+ user_id?: number | null | undefined;
67
67
  }, {
68
68
  status: string;
69
69
  name: string;
70
70
  id: number;
71
71
  app_id: string;
72
72
  instance_id: string | null;
73
+ teepod_id: number;
74
+ vm_uuid: string | null;
73
75
  vcpu: number;
74
76
  memory: number;
75
77
  disk_size: number;
76
- teepod_id: number;
77
- vm_uuid: string | null;
78
- encrypted_env_pubkey: string | null;
79
78
  created_at: string;
79
+ encrypted_env_pubkey: string | null;
80
80
  version?: string | null | undefined;
81
- app_url?: string | null | undefined;
82
81
  teepod?: {
83
82
  name: string;
84
83
  id: number;
85
84
  region_identifier?: string | null | undefined;
86
85
  } | null | undefined;
86
+ app_url?: string | null | undefined;
87
87
  base_image?: string | null | undefined;
88
- user_id?: number | null | undefined;
89
- docker_compose_file?: string | null | undefined;
90
- features?: string[] | null | undefined;
91
88
  manifest_version?: number | null | undefined;
92
89
  runner?: string | null | undefined;
90
+ docker_compose_file?: string | null | undefined;
91
+ features?: string[] | null | undefined;
92
+ user_id?: number | null | undefined;
93
93
  }>;
94
94
  export type VMV20260121 = z.infer<typeof VMV20260121Schema>;
95
95
  export declare const VMV20260522Schema: z.ZodObject<{
@@ -133,52 +133,52 @@ export declare const VMV20260522Schema: z.ZodObject<{
133
133
  id: string;
134
134
  app_id: string;
135
135
  instance_id: string | null;
136
+ teepod_id: number;
137
+ vm_uuid: string | null;
136
138
  vcpu: number;
137
139
  memory: number;
138
140
  disk_size: number;
139
- teepod_id: number;
140
- vm_uuid: string | null;
141
- encrypted_env_pubkey: string | null;
142
141
  created_at: string;
142
+ encrypted_env_pubkey: string | null;
143
143
  version?: string | null | undefined;
144
- app_url?: string | null | undefined;
145
144
  teepod?: {
146
145
  name: string;
147
146
  id: number;
148
147
  region_identifier?: string | null | undefined;
149
148
  } | null | undefined;
149
+ app_url?: string | null | undefined;
150
150
  base_image?: string | null | undefined;
151
- user_id?: string | null | undefined;
152
- docker_compose_file?: string | null | undefined;
153
- features?: string[] | null | undefined;
154
151
  manifest_version?: number | null | undefined;
155
152
  runner?: string | null | undefined;
153
+ docker_compose_file?: string | null | undefined;
154
+ features?: string[] | null | undefined;
155
+ user_id?: string | null | undefined;
156
156
  }, {
157
157
  status: string;
158
158
  name: string;
159
159
  id: string;
160
160
  app_id: string;
161
161
  instance_id: string | null;
162
+ teepod_id: number;
163
+ vm_uuid: string | null;
162
164
  vcpu: number;
163
165
  memory: number;
164
166
  disk_size: number;
165
- teepod_id: number;
166
- vm_uuid: string | null;
167
- encrypted_env_pubkey: string | null;
168
167
  created_at: string;
168
+ encrypted_env_pubkey: string | null;
169
169
  version?: string | null | undefined;
170
- app_url?: string | null | undefined;
171
170
  teepod?: {
172
171
  name: string;
173
172
  id: number;
174
173
  region_identifier?: string | null | undefined;
175
174
  } | null | undefined;
175
+ app_url?: string | null | undefined;
176
176
  base_image?: string | null | undefined;
177
- user_id?: string | null | undefined;
178
- docker_compose_file?: string | null | undefined;
179
- features?: string[] | null | undefined;
180
177
  manifest_version?: number | null | undefined;
181
178
  runner?: string | null | undefined;
179
+ docker_compose_file?: string | null | undefined;
180
+ features?: string[] | null | undefined;
181
+ user_id?: string | null | undefined;
182
182
  }>;
183
183
  export type VMV20260522 = z.infer<typeof VMV20260522Schema>;
184
184
  export declare const VMAnySchema: z.ZodUnion<[z.ZodObject<{
@@ -222,52 +222,52 @@ export declare const VMAnySchema: z.ZodUnion<[z.ZodObject<{
222
222
  id: number;
223
223
  app_id: string;
224
224
  instance_id: string | null;
225
+ teepod_id: number;
226
+ vm_uuid: string | null;
225
227
  vcpu: number;
226
228
  memory: number;
227
229
  disk_size: number;
228
- teepod_id: number;
229
- vm_uuid: string | null;
230
- encrypted_env_pubkey: string | null;
231
230
  created_at: string;
231
+ encrypted_env_pubkey: string | null;
232
232
  version?: string | null | undefined;
233
- app_url?: string | null | undefined;
234
233
  teepod?: {
235
234
  name: string;
236
235
  id: number;
237
236
  region_identifier?: string | null | undefined;
238
237
  } | null | undefined;
238
+ app_url?: string | null | undefined;
239
239
  base_image?: string | null | undefined;
240
- user_id?: number | null | undefined;
241
- docker_compose_file?: string | null | undefined;
242
- features?: string[] | null | undefined;
243
240
  manifest_version?: number | null | undefined;
244
241
  runner?: string | null | undefined;
242
+ docker_compose_file?: string | null | undefined;
243
+ features?: string[] | null | undefined;
244
+ user_id?: number | null | undefined;
245
245
  }, {
246
246
  status: string;
247
247
  name: string;
248
248
  id: number;
249
249
  app_id: string;
250
250
  instance_id: string | null;
251
+ teepod_id: number;
252
+ vm_uuid: string | null;
251
253
  vcpu: number;
252
254
  memory: number;
253
255
  disk_size: number;
254
- teepod_id: number;
255
- vm_uuid: string | null;
256
- encrypted_env_pubkey: string | null;
257
256
  created_at: string;
257
+ encrypted_env_pubkey: string | null;
258
258
  version?: string | null | undefined;
259
- app_url?: string | null | undefined;
260
259
  teepod?: {
261
260
  name: string;
262
261
  id: number;
263
262
  region_identifier?: string | null | undefined;
264
263
  } | null | undefined;
264
+ app_url?: string | null | undefined;
265
265
  base_image?: string | null | undefined;
266
- user_id?: number | null | undefined;
267
- docker_compose_file?: string | null | undefined;
268
- features?: string[] | null | undefined;
269
266
  manifest_version?: number | null | undefined;
270
267
  runner?: string | null | undefined;
268
+ docker_compose_file?: string | null | undefined;
269
+ features?: string[] | null | undefined;
270
+ user_id?: number | null | undefined;
271
271
  }>, z.ZodObject<{
272
272
  name: z.ZodString;
273
273
  status: z.ZodString;
@@ -309,52 +309,52 @@ export declare const VMAnySchema: z.ZodUnion<[z.ZodObject<{
309
309
  id: string;
310
310
  app_id: string;
311
311
  instance_id: string | null;
312
+ teepod_id: number;
313
+ vm_uuid: string | null;
312
314
  vcpu: number;
313
315
  memory: number;
314
316
  disk_size: number;
315
- teepod_id: number;
316
- vm_uuid: string | null;
317
- encrypted_env_pubkey: string | null;
318
317
  created_at: string;
318
+ encrypted_env_pubkey: string | null;
319
319
  version?: string | null | undefined;
320
- app_url?: string | null | undefined;
321
320
  teepod?: {
322
321
  name: string;
323
322
  id: number;
324
323
  region_identifier?: string | null | undefined;
325
324
  } | null | undefined;
325
+ app_url?: string | null | undefined;
326
326
  base_image?: string | null | undefined;
327
- user_id?: string | null | undefined;
328
- docker_compose_file?: string | null | undefined;
329
- features?: string[] | null | undefined;
330
327
  manifest_version?: number | null | undefined;
331
328
  runner?: string | null | undefined;
329
+ docker_compose_file?: string | null | undefined;
330
+ features?: string[] | null | undefined;
331
+ user_id?: string | null | undefined;
332
332
  }, {
333
333
  status: string;
334
334
  name: string;
335
335
  id: string;
336
336
  app_id: string;
337
337
  instance_id: string | null;
338
+ teepod_id: number;
339
+ vm_uuid: string | null;
338
340
  vcpu: number;
339
341
  memory: number;
340
342
  disk_size: number;
341
- teepod_id: number;
342
- vm_uuid: string | null;
343
- encrypted_env_pubkey: string | null;
344
343
  created_at: string;
344
+ encrypted_env_pubkey: string | null;
345
345
  version?: string | null | undefined;
346
- app_url?: string | null | undefined;
347
346
  teepod?: {
348
347
  name: string;
349
348
  id: number;
350
349
  region_identifier?: string | null | undefined;
351
350
  } | null | undefined;
351
+ app_url?: string | null | undefined;
352
352
  base_image?: string | null | undefined;
353
- user_id?: string | null | undefined;
354
- docker_compose_file?: string | null | undefined;
355
- features?: string[] | null | undefined;
356
353
  manifest_version?: number | null | undefined;
357
354
  runner?: string | null | undefined;
355
+ docker_compose_file?: string | null | undefined;
356
+ features?: string[] | null | undefined;
357
+ user_id?: string | null | undefined;
358
358
  }>]>;
359
359
  export declare const VMSchema: z.ZodObject<{
360
360
  name: z.ZodString;
@@ -397,52 +397,52 @@ export declare const VMSchema: z.ZodObject<{
397
397
  id: string;
398
398
  app_id: string;
399
399
  instance_id: string | null;
400
+ teepod_id: number;
401
+ vm_uuid: string | null;
400
402
  vcpu: number;
401
403
  memory: number;
402
404
  disk_size: number;
403
- teepod_id: number;
404
- vm_uuid: string | null;
405
- encrypted_env_pubkey: string | null;
406
405
  created_at: string;
406
+ encrypted_env_pubkey: string | null;
407
407
  version?: string | null | undefined;
408
- app_url?: string | null | undefined;
409
408
  teepod?: {
410
409
  name: string;
411
410
  id: number;
412
411
  region_identifier?: string | null | undefined;
413
412
  } | null | undefined;
413
+ app_url?: string | null | undefined;
414
414
  base_image?: string | null | undefined;
415
- user_id?: string | null | undefined;
416
- docker_compose_file?: string | null | undefined;
417
- features?: string[] | null | undefined;
418
415
  manifest_version?: number | null | undefined;
419
416
  runner?: string | null | undefined;
417
+ docker_compose_file?: string | null | undefined;
418
+ features?: string[] | null | undefined;
419
+ user_id?: string | null | undefined;
420
420
  }, {
421
421
  status: string;
422
422
  name: string;
423
423
  id: string;
424
424
  app_id: string;
425
425
  instance_id: string | null;
426
+ teepod_id: number;
427
+ vm_uuid: string | null;
426
428
  vcpu: number;
427
429
  memory: number;
428
430
  disk_size: number;
429
- teepod_id: number;
430
- vm_uuid: string | null;
431
- encrypted_env_pubkey: string | null;
432
431
  created_at: string;
432
+ encrypted_env_pubkey: string | null;
433
433
  version?: string | null | undefined;
434
- app_url?: string | null | undefined;
435
434
  teepod?: {
436
435
  name: string;
437
436
  id: number;
438
437
  region_identifier?: string | null | undefined;
439
438
  } | null | undefined;
439
+ app_url?: string | null | undefined;
440
440
  base_image?: string | null | undefined;
441
- user_id?: string | null | undefined;
442
- docker_compose_file?: string | null | undefined;
443
- features?: string[] | null | undefined;
444
441
  manifest_version?: number | null | undefined;
445
442
  runner?: string | null | undefined;
443
+ docker_compose_file?: string | null | undefined;
444
+ features?: string[] | null | undefined;
445
+ user_id?: string | null | undefined;
446
446
  }>;
447
447
  export type VM = z.infer<typeof VMSchema>;
448
448
  export type VMForVersion<V extends ApiVersion> = V extends "2026-01-21" ? VMV20260121 : VMV20260522;
@@ -487,52 +487,52 @@ export declare function getVMSchemaForVersion(version: ApiVersion): z.ZodObject<
487
487
  id: number;
488
488
  app_id: string;
489
489
  instance_id: string | null;
490
+ teepod_id: number;
491
+ vm_uuid: string | null;
490
492
  vcpu: number;
491
493
  memory: number;
492
494
  disk_size: number;
493
- teepod_id: number;
494
- vm_uuid: string | null;
495
- encrypted_env_pubkey: string | null;
496
495
  created_at: string;
496
+ encrypted_env_pubkey: string | null;
497
497
  version?: string | null | undefined;
498
- app_url?: string | null | undefined;
499
498
  teepod?: {
500
499
  name: string;
501
500
  id: number;
502
501
  region_identifier?: string | null | undefined;
503
502
  } | null | undefined;
503
+ app_url?: string | null | undefined;
504
504
  base_image?: string | null | undefined;
505
- user_id?: number | null | undefined;
506
- docker_compose_file?: string | null | undefined;
507
- features?: string[] | null | undefined;
508
505
  manifest_version?: number | null | undefined;
509
506
  runner?: string | null | undefined;
507
+ docker_compose_file?: string | null | undefined;
508
+ features?: string[] | null | undefined;
509
+ user_id?: number | null | undefined;
510
510
  }, {
511
511
  status: string;
512
512
  name: string;
513
513
  id: number;
514
514
  app_id: string;
515
515
  instance_id: string | null;
516
+ teepod_id: number;
517
+ vm_uuid: string | null;
516
518
  vcpu: number;
517
519
  memory: number;
518
520
  disk_size: number;
519
- teepod_id: number;
520
- vm_uuid: string | null;
521
- encrypted_env_pubkey: string | null;
522
521
  created_at: string;
522
+ encrypted_env_pubkey: string | null;
523
523
  version?: string | null | undefined;
524
- app_url?: string | null | undefined;
525
524
  teepod?: {
526
525
  name: string;
527
526
  id: number;
528
527
  region_identifier?: string | null | undefined;
529
528
  } | null | undefined;
529
+ app_url?: string | null | undefined;
530
530
  base_image?: string | null | undefined;
531
- user_id?: number | null | undefined;
532
- docker_compose_file?: string | null | undefined;
533
- features?: string[] | null | undefined;
534
531
  manifest_version?: number | null | undefined;
535
532
  runner?: string | null | undefined;
533
+ docker_compose_file?: string | null | undefined;
534
+ features?: string[] | null | undefined;
535
+ user_id?: number | null | undefined;
536
536
  }> | z.ZodObject<{
537
537
  name: z.ZodString;
538
538
  status: z.ZodString;
@@ -574,50 +574,50 @@ export declare function getVMSchemaForVersion(version: ApiVersion): z.ZodObject<
574
574
  id: string;
575
575
  app_id: string;
576
576
  instance_id: string | null;
577
+ teepod_id: number;
578
+ vm_uuid: string | null;
577
579
  vcpu: number;
578
580
  memory: number;
579
581
  disk_size: number;
580
- teepod_id: number;
581
- vm_uuid: string | null;
582
- encrypted_env_pubkey: string | null;
583
582
  created_at: string;
583
+ encrypted_env_pubkey: string | null;
584
584
  version?: string | null | undefined;
585
- app_url?: string | null | undefined;
586
585
  teepod?: {
587
586
  name: string;
588
587
  id: number;
589
588
  region_identifier?: string | null | undefined;
590
589
  } | null | undefined;
590
+ app_url?: string | null | undefined;
591
591
  base_image?: string | null | undefined;
592
- user_id?: string | null | undefined;
593
- docker_compose_file?: string | null | undefined;
594
- features?: string[] | null | undefined;
595
592
  manifest_version?: number | null | undefined;
596
593
  runner?: string | null | undefined;
594
+ docker_compose_file?: string | null | undefined;
595
+ features?: string[] | null | undefined;
596
+ user_id?: string | null | undefined;
597
597
  }, {
598
598
  status: string;
599
599
  name: string;
600
600
  id: string;
601
601
  app_id: string;
602
602
  instance_id: string | null;
603
+ teepod_id: number;
604
+ vm_uuid: string | null;
603
605
  vcpu: number;
604
606
  memory: number;
605
607
  disk_size: number;
606
- teepod_id: number;
607
- vm_uuid: string | null;
608
- encrypted_env_pubkey: string | null;
609
608
  created_at: string;
609
+ encrypted_env_pubkey: string | null;
610
610
  version?: string | null | undefined;
611
- app_url?: string | null | undefined;
612
611
  teepod?: {
613
612
  name: string;
614
613
  id: number;
615
614
  region_identifier?: string | null | undefined;
616
615
  } | null | undefined;
616
+ app_url?: string | null | undefined;
617
617
  base_image?: string | null | undefined;
618
- user_id?: string | null | undefined;
619
- docker_compose_file?: string | null | undefined;
620
- features?: string[] | null | undefined;
621
618
  manifest_version?: number | null | undefined;
622
619
  runner?: string | null | undefined;
620
+ docker_compose_file?: string | null | undefined;
621
+ features?: string[] | null | undefined;
622
+ user_id?: string | null | undefined;
623
623
  }>;