@phala/cloud 0.2.1-beta.4 → 0.2.1

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 (69) hide show
  1. package/LICENSE +201 -0
  2. package/dist/actions/apps/get_app_cvms.d.ts +30 -0
  3. package/dist/actions/apps/get_app_info.d.ts +30 -0
  4. package/dist/actions/apps/get_app_list.d.ts +74 -0
  5. package/dist/actions/apps/get_app_revision_detail.d.ts +48 -0
  6. package/dist/actions/apps/get_app_revisions.d.ts +42 -0
  7. package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +7 -7
  8. package/dist/actions/cvms/commit_cvm_provision.d.ts +31 -31
  9. package/dist/actions/cvms/delete_cvm.d.ts +10 -7
  10. package/dist/actions/cvms/get_available_os_images.d.ts +10 -7
  11. package/dist/actions/cvms/get_cvm_attestation.d.ts +10 -7
  12. package/dist/actions/cvms/get_cvm_compose_file.d.ts +18 -15
  13. package/dist/actions/cvms/get_cvm_containers_stats.d.ts +14 -11
  14. package/dist/actions/cvms/get_cvm_docker_compose.d.ts +10 -7
  15. package/dist/actions/cvms/get_cvm_info.d.ts +19 -35
  16. package/dist/actions/cvms/get_cvm_list.d.ts +11 -537
  17. package/dist/actions/cvms/get_cvm_network.d.ts +10 -7
  18. package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +42 -0
  19. package/dist/actions/cvms/get_cvm_state.d.ts +10 -7
  20. package/dist/actions/cvms/get_cvm_stats.d.ts +10 -7
  21. package/dist/actions/cvms/get_cvm_status_batch.d.ts +167 -0
  22. package/dist/actions/cvms/provision_cvm.d.ts +404 -21
  23. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +32 -32
  24. package/dist/actions/cvms/restart_cvm.d.ts +17 -14
  25. package/dist/actions/cvms/shutdown_cvm.d.ts +18 -15
  26. package/dist/actions/cvms/start_cvm.d.ts +18 -15
  27. package/dist/actions/cvms/stop_cvm.d.ts +18 -15
  28. package/dist/actions/cvms/update_cvm_envs.d.ts +32 -118
  29. package/dist/actions/cvms/update_cvm_resources.d.ts +13 -10
  30. package/dist/actions/cvms/update_cvm_visibility.d.ts +33 -14
  31. package/dist/actions/cvms/update_docker_compose.d.ts +420 -0
  32. package/dist/actions/cvms/update_os_image.d.ts +9 -6
  33. package/dist/actions/cvms/update_prelaunch_script.d.ts +417 -0
  34. package/dist/actions/cvms/watch_cvm_state.d.ts +1 -1
  35. package/dist/actions/get_available_nodes.d.ts +6 -6
  36. package/dist/actions/get_current_user.d.ts +36 -89
  37. package/dist/actions/index.d.ts +13 -2
  38. package/dist/actions/kms/get_app_env_encrypt_pubkey.d.ts +6 -6
  39. package/dist/actions/kms/get_kms_info.d.ts +6 -6
  40. package/dist/actions/kms/get_kms_list.d.ts +6 -6
  41. package/dist/actions/kms/next_app_ids.d.ts +6 -6
  42. package/dist/actions/list-instance-types.d.ts +16 -16
  43. package/dist/actions/workspaces/get_workspace.d.ts +6 -6
  44. package/dist/actions/workspaces/get_workspace_nodes.d.ts +266 -0
  45. package/dist/actions/workspaces/get_workspace_quotas.d.ts +1169 -0
  46. package/dist/actions/workspaces/list_workspaces.d.ts +6 -6
  47. package/dist/client.d.ts +49 -9
  48. package/dist/create-client.d.ts +72 -36
  49. package/dist/credentials/current_user_v20251028.d.ts +30 -0
  50. package/dist/credentials/current_user_v20260121.d.ts +276 -0
  51. package/dist/credentials/index.d.ts +4 -0
  52. package/dist/index.d.ts +1 -0
  53. package/dist/index.js +1714 -664
  54. package/dist/index.mjs +1629 -657
  55. package/dist/types/app_info_v20251028.d.ts +1266 -0
  56. package/dist/types/app_info_v20260121.d.ts +3293 -0
  57. package/dist/types/app_revision.d.ts +453 -0
  58. package/dist/types/client.d.ts +40 -2
  59. package/dist/types/cvm_id.d.ts +29 -11
  60. package/dist/types/cvm_info.d.ts +16 -502
  61. package/dist/types/cvm_info_v20251028.d.ts +988 -0
  62. package/dist/types/cvm_info_v20260121.d.ts +1264 -0
  63. package/dist/types/index.d.ts +6 -0
  64. package/dist/types/version-mappings.d.ts +38 -0
  65. package/dist/utils/define-action.d.ts +15 -14
  66. package/dist/utils/errors.d.ts +2 -2
  67. package/dist/utils/hostname.d.ts +77 -0
  68. package/dist/utils/index.d.ts +1 -0
  69. package/package.json +2 -2
@@ -8,7 +8,7 @@ import { type Client } from "../../client";
8
8
  * 2. Allowed environment keys change: Requires compose hash verification (two-phase)
9
9
  *
10
10
  * When allowed_envs changes and compose_hash/transaction_hash are not provided,
11
- * the API returns HTTP 428 (Precondition Required) with the compose hash to sign.
11
+ * the API returns HTTP 465 with the compose hash to sign.
12
12
  * The client should then register the compose hash on-chain and retry the request
13
13
  * with both compose_hash and transaction_hash.
14
14
  *
@@ -117,76 +117,44 @@ import { type Client } from "../../client";
117
117
  export declare const UpdateCvmEnvsRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
118
118
  id: z.ZodOptional<z.ZodString>;
119
119
  uuid: z.ZodOptional<z.ZodString>;
120
- app_id: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
121
- instance_id: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
120
+ app_id: z.ZodOptional<z.ZodString>;
121
+ instance_id: z.ZodOptional<z.ZodString>;
122
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
123
+ } & {
122
124
  encrypted_env: z.ZodString;
123
125
  env_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
124
126
  compose_hash: z.ZodOptional<z.ZodString>;
125
127
  transaction_hash: z.ZodOptional<z.ZodString>;
126
128
  }, "strip", z.ZodTypeAny, {
127
129
  encrypted_env: string;
130
+ name?: string | undefined;
128
131
  id?: string | undefined;
129
132
  app_id?: string | undefined;
130
133
  instance_id?: string | undefined;
131
- uuid?: string | undefined;
132
134
  compose_hash?: string | undefined;
133
- env_keys?: string[] | undefined;
134
- transaction_hash?: string | undefined;
135
- }, {
136
- encrypted_env: string;
137
- id?: string | undefined;
138
- app_id?: string | undefined;
139
- instance_id?: string | undefined;
140
135
  uuid?: string | undefined;
141
- compose_hash?: string | undefined;
142
- env_keys?: string[] | undefined;
143
- transaction_hash?: string | undefined;
144
- }>, {
145
- encrypted_env: string;
146
- id?: string | undefined;
147
- app_id?: string | undefined;
148
- instance_id?: string | undefined;
149
- uuid?: string | undefined;
150
- compose_hash?: string | undefined;
151
136
  env_keys?: string[] | undefined;
152
137
  transaction_hash?: string | undefined;
153
138
  }, {
154
139
  encrypted_env: string;
140
+ name?: string | undefined;
155
141
  id?: string | undefined;
156
142
  app_id?: string | undefined;
157
143
  instance_id?: string | undefined;
158
- uuid?: string | undefined;
159
144
  compose_hash?: string | undefined;
145
+ uuid?: string | undefined;
160
146
  env_keys?: string[] | undefined;
161
147
  transaction_hash?: string | undefined;
162
- }>, {
163
- cvmId: string | undefined;
148
+ }>, any, any>, {
149
+ cvmId: any;
164
150
  request: {
165
- encrypted_env: string;
166
- env_keys: string[] | undefined;
167
- compose_hash: string | undefined;
168
- transaction_hash: string | undefined;
151
+ encrypted_env: any;
152
+ env_keys: any;
153
+ compose_hash: any;
154
+ transaction_hash: any;
169
155
  };
170
- _raw: {
171
- encrypted_env: string;
172
- id?: string | undefined;
173
- app_id?: string | undefined;
174
- instance_id?: string | undefined;
175
- uuid?: string | undefined;
176
- compose_hash?: string | undefined;
177
- env_keys?: string[] | undefined;
178
- transaction_hash?: string | undefined;
179
- };
180
- }, {
181
- encrypted_env: string;
182
- id?: string | undefined;
183
- app_id?: string | undefined;
184
- instance_id?: string | undefined;
185
- uuid?: string | undefined;
186
- compose_hash?: string | undefined;
187
- env_keys?: string[] | undefined;
188
- transaction_hash?: string | undefined;
189
- }>;
156
+ _raw: any;
157
+ }, any>;
190
158
  declare const UpdateCvmEnvsInProgressSchema: z.ZodObject<{
191
159
  status: z.ZodLiteral<"in_progress">;
192
160
  message: z.ZodString;
@@ -253,7 +221,6 @@ declare const UpdateCvmEnvsPreconditionRequiredSchema: z.ZodObject<{
253
221
  }, "strip", z.ZodTypeAny, {
254
222
  status: "precondition_required";
255
223
  message: string;
256
- device_id: string;
257
224
  app_id: string;
258
225
  kms_info: {
259
226
  version: string;
@@ -266,11 +233,11 @@ declare const UpdateCvmEnvsPreconditionRequiredSchema: z.ZodObject<{
266
233
  } & {
267
234
  [k: string]: unknown;
268
235
  };
236
+ device_id: string;
269
237
  compose_hash: string;
270
238
  }, {
271
239
  status: "precondition_required";
272
240
  message: string;
273
- device_id: string;
274
241
  app_id: string;
275
242
  kms_info: {
276
243
  version: string;
@@ -283,6 +250,7 @@ declare const UpdateCvmEnvsPreconditionRequiredSchema: z.ZodObject<{
283
250
  } & {
284
251
  [k: string]: unknown;
285
252
  };
253
+ device_id: string;
286
254
  compose_hash: string;
287
255
  }>;
288
256
  export declare const UpdateCvmEnvsResultSchema: z.ZodUnion<[z.ZodObject<{
@@ -350,7 +318,6 @@ export declare const UpdateCvmEnvsResultSchema: z.ZodUnion<[z.ZodObject<{
350
318
  }, "strip", z.ZodTypeAny, {
351
319
  status: "precondition_required";
352
320
  message: string;
353
- device_id: string;
354
321
  app_id: string;
355
322
  kms_info: {
356
323
  version: string;
@@ -363,11 +330,11 @@ export declare const UpdateCvmEnvsResultSchema: z.ZodUnion<[z.ZodObject<{
363
330
  } & {
364
331
  [k: string]: unknown;
365
332
  };
333
+ device_id: string;
366
334
  compose_hash: string;
367
335
  }, {
368
336
  status: "precondition_required";
369
337
  message: string;
370
- device_id: string;
371
338
  app_id: string;
372
339
  kms_info: {
373
340
  version: string;
@@ -380,6 +347,7 @@ export declare const UpdateCvmEnvsResultSchema: z.ZodUnion<[z.ZodObject<{
380
347
  } & {
381
348
  [k: string]: unknown;
382
349
  };
350
+ device_id: string;
383
351
  compose_hash: string;
384
352
  }>]>;
385
353
  export type UpdateCvmEnvsRequest = z.input<typeof UpdateCvmEnvsRequestSchema>;
@@ -395,16 +363,7 @@ export type UpdateCvmEnvsPreconditionRequired = z.infer<typeof UpdateCvmEnvsPrec
395
363
  * @returns Update result (either in_progress or precondition_required)
396
364
  */
397
365
  declare const updateCvmEnvs: {
398
- (client: Client, params: {
399
- encrypted_env: string;
400
- id?: string | undefined;
401
- app_id?: string | undefined;
402
- instance_id?: string | undefined;
403
- uuid?: string | undefined;
404
- compose_hash?: string | undefined;
405
- env_keys?: string[] | undefined;
406
- transaction_hash?: string | undefined;
407
- }): Promise<{
366
+ (client: Client<import("../..").ApiVersion>, params?: any): Promise<{
408
367
  status: "in_progress";
409
368
  message: string;
410
369
  correlation_id: string;
@@ -412,7 +371,6 @@ declare const updateCvmEnvs: {
412
371
  } | {
413
372
  status: "precondition_required";
414
373
  message: string;
415
- device_id: string;
416
374
  app_id: string;
417
375
  kms_info: {
418
376
  version: string;
@@ -425,43 +383,17 @@ declare const updateCvmEnvs: {
425
383
  } & {
426
384
  [k: string]: unknown;
427
385
  };
386
+ device_id: string;
428
387
  compose_hash: string;
429
388
  }>;
430
- <T extends z.ZodTypeAny>(client: Client, params: {
431
- encrypted_env: string;
432
- id?: string | undefined;
433
- app_id?: string | undefined;
434
- instance_id?: string | undefined;
435
- uuid?: string | undefined;
436
- compose_hash?: string | undefined;
437
- env_keys?: string[] | undefined;
438
- transaction_hash?: string | undefined;
439
- }, parameters: {
389
+ <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
440
390
  schema: T;
441
- }): Promise<z.TypeOf<T>>;
442
- (client: Client, params: {
443
- encrypted_env: string;
444
- id?: string | undefined;
445
- app_id?: string | undefined;
446
- instance_id?: string | undefined;
447
- uuid?: string | undefined;
448
- compose_hash?: string | undefined;
449
- env_keys?: string[] | undefined;
450
- transaction_hash?: string | undefined;
451
- }, parameters: {
391
+ } | undefined): Promise<z.TypeOf<T>>;
392
+ (client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
452
393
  schema: false;
453
- }): Promise<unknown>;
394
+ } | undefined): Promise<unknown>;
454
395
  }, safeUpdateCvmEnvs: {
455
- (client: Client, params: {
456
- encrypted_env: string;
457
- id?: string | undefined;
458
- app_id?: string | undefined;
459
- instance_id?: string | undefined;
460
- uuid?: string | undefined;
461
- compose_hash?: string | undefined;
462
- env_keys?: string[] | undefined;
463
- transaction_hash?: string | undefined;
464
- }): Promise<import("../..").SafeResult<{
396
+ (client: Client<import("../..").ApiVersion>, params?: any): Promise<import("../..").SafeResult<{
465
397
  status: "in_progress";
466
398
  message: string;
467
399
  correlation_id: string;
@@ -469,7 +401,6 @@ declare const updateCvmEnvs: {
469
401
  } | {
470
402
  status: "precondition_required";
471
403
  message: string;
472
- device_id: string;
473
404
  app_id: string;
474
405
  kms_info: {
475
406
  version: string;
@@ -482,31 +413,14 @@ declare const updateCvmEnvs: {
482
413
  } & {
483
414
  [k: string]: unknown;
484
415
  };
416
+ device_id: string;
485
417
  compose_hash: string;
486
418
  }>>;
487
- <T extends z.ZodTypeAny>(client: Client, params: {
488
- encrypted_env: string;
489
- id?: string | undefined;
490
- app_id?: string | undefined;
491
- instance_id?: string | undefined;
492
- uuid?: string | undefined;
493
- compose_hash?: string | undefined;
494
- env_keys?: string[] | undefined;
495
- transaction_hash?: string | undefined;
496
- }, parameters: {
419
+ <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
497
420
  schema: T;
498
- }): Promise<import("../..").SafeResult<z.TypeOf<T>>>;
499
- (client: Client, params: {
500
- encrypted_env: string;
501
- id?: string | undefined;
502
- app_id?: string | undefined;
503
- instance_id?: string | undefined;
504
- uuid?: string | undefined;
505
- compose_hash?: string | undefined;
506
- env_keys?: string[] | undefined;
507
- transaction_hash?: string | undefined;
508
- }, parameters: {
421
+ } | undefined): Promise<import("../..").SafeResult<z.TypeOf<T>>>;
422
+ (client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
509
423
  schema: false;
510
- }): Promise<import("../..").SafeResult<unknown>>;
424
+ } | undefined): Promise<import("../..").SafeResult<unknown>>;
511
425
  };
512
426
  export { updateCvmEnvs, safeUpdateCvmEnvs };
@@ -25,6 +25,7 @@ export declare const UpdateCvmResourcesRequestSchema: z.ZodEffects<z.ZodObject<{
25
25
  uuid: z.ZodOptional<z.ZodString>;
26
26
  app_id: z.ZodOptional<z.ZodString>;
27
27
  instance_id: z.ZodOptional<z.ZodString>;
28
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
28
29
  } & {
29
30
  vcpu: z.ZodOptional<z.ZodNumber>;
30
31
  memory: z.ZodOptional<z.ZodNumber>;
@@ -32,41 +33,43 @@ export declare const UpdateCvmResourcesRequestSchema: z.ZodEffects<z.ZodObject<{
32
33
  instance_type: z.ZodOptional<z.ZodString>;
33
34
  allow_restart: z.ZodOptional<z.ZodBoolean>;
34
35
  }, "strip", z.ZodTypeAny, {
36
+ name?: string | undefined;
35
37
  id?: string | undefined;
36
- vcpu?: number | undefined;
37
38
  app_id?: string | undefined;
38
39
  instance_id?: string | undefined;
40
+ vcpu?: number | undefined;
39
41
  memory?: number | undefined;
40
42
  disk_size?: number | undefined;
41
- uuid?: string | undefined;
42
43
  instance_type?: string | undefined;
44
+ uuid?: string | undefined;
43
45
  allow_restart?: boolean | undefined;
44
46
  }, {
47
+ name?: string | undefined;
45
48
  id?: string | undefined;
46
- vcpu?: number | undefined;
47
49
  app_id?: string | undefined;
48
50
  instance_id?: string | undefined;
51
+ vcpu?: number | undefined;
49
52
  memory?: number | undefined;
50
53
  disk_size?: number | undefined;
51
- uuid?: string | undefined;
52
54
  instance_type?: string | undefined;
55
+ uuid?: string | undefined;
53
56
  allow_restart?: boolean | undefined;
54
57
  }>, any, any>;
55
58
  export type UpdateCvmResourcesRequest = z.infer<typeof UpdateCvmResourcesRequestSchema>;
56
59
  declare const updateCvmResources: {
57
- (client: import("../..").BaseClient, params?: any): Promise<void>;
58
- <T extends z.ZodTypeAny>(client: import("../..").BaseClient, params?: any, parameters?: {
60
+ (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<void>;
61
+ <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
59
62
  schema: T;
60
63
  } | undefined): Promise<z.TypeOf<T>>;
61
- (client: import("../..").BaseClient, params?: any, parameters?: {
64
+ (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
62
65
  schema: false;
63
66
  } | undefined): Promise<unknown>;
64
67
  }, safeUpdateCvmResources: {
65
- (client: import("../..").BaseClient, params?: any): Promise<import("../..").SafeResult<void>>;
66
- <T extends z.ZodTypeAny>(client: import("../..").BaseClient, params?: any, parameters?: {
68
+ (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<import("../..").SafeResult<void>>;
69
+ <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
67
70
  schema: T;
68
71
  } | undefined): Promise<import("../..").SafeResult<z.TypeOf<T>>>;
69
- (client: import("../..").BaseClient, params?: any, parameters?: {
72
+ (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
70
73
  schema: false;
71
74
  } | undefined): Promise<import("../..").SafeResult<unknown>>;
72
75
  };
@@ -22,12 +22,14 @@ export declare const UpdateCvmVisibilityRequestSchema: z.ZodEffects<z.ZodObject<
22
22
  uuid: z.ZodOptional<z.ZodString>;
23
23
  app_id: z.ZodOptional<z.ZodString>;
24
24
  instance_id: z.ZodOptional<z.ZodString>;
25
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
25
26
  } & {
26
27
  public_sysinfo: z.ZodBoolean;
27
28
  public_logs: z.ZodBoolean;
28
29
  }, "strip", z.ZodTypeAny, {
29
30
  public_sysinfo: boolean;
30
31
  public_logs: boolean;
32
+ name?: string | undefined;
31
33
  id?: string | undefined;
32
34
  app_id?: string | undefined;
33
35
  instance_id?: string | undefined;
@@ -35,6 +37,7 @@ export declare const UpdateCvmVisibilityRequestSchema: z.ZodEffects<z.ZodObject<
35
37
  }, {
36
38
  public_sysinfo: boolean;
37
39
  public_logs: boolean;
40
+ name?: string | undefined;
38
41
  id?: string | undefined;
39
42
  app_id?: string | undefined;
40
43
  instance_id?: string | undefined;
@@ -42,22 +45,22 @@ export declare const UpdateCvmVisibilityRequestSchema: z.ZodEffects<z.ZodObject<
42
45
  }>, any, any>;
43
46
  export type UpdateCvmVisibilityRequest = z.infer<typeof UpdateCvmVisibilityRequestSchema>;
44
47
  declare const updateCvmVisibility: {
45
- (client: import("../..").BaseClient, params?: any): Promise<{
48
+ (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<{
46
49
  status: string;
47
50
  name: string;
48
51
  id: number;
49
- teepod_id: number | null;
50
- listed: boolean;
51
- vcpu: number;
52
52
  app_id: string;
53
53
  instance_id: string | null;
54
- in_progress: boolean;
54
+ vcpu: number;
55
55
  memory: number;
56
56
  disk_size: number;
57
+ listed: boolean;
58
+ in_progress: boolean;
57
59
  public_urls: {
58
60
  app: string;
59
61
  instance: string;
60
62
  }[];
63
+ teepod_id: number | null;
61
64
  vm_uuid: string | null;
62
65
  base_image: string | null;
63
66
  encrypted_env_pubkey: string | null;
@@ -77,38 +80,46 @@ declare const updateCvmVisibility: {
77
80
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
78
81
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
79
82
  gateway_domain?: string | null | undefined;
83
+ machine_info?: {
84
+ vcpu: number;
85
+ memory: number;
86
+ disk_size: number;
87
+ gpu_count: number;
88
+ } | null | undefined;
89
+ updated_at?: string | null | undefined;
80
90
  teepod?: {
81
91
  name: string;
82
92
  id: number;
83
93
  region_identifier?: string | null | undefined;
84
94
  } | null | undefined;
95
+ instance_type?: string | null | undefined;
85
96
  contract_address?: string | null | undefined;
86
97
  deployer_address?: string | null | undefined;
87
98
  scheduled_delete_at?: string | null | undefined;
88
99
  }>;
89
- <T extends z.ZodTypeAny>(client: import("../..").BaseClient, params?: any, parameters?: {
100
+ <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
90
101
  schema: T;
91
102
  } | undefined): Promise<z.TypeOf<T>>;
92
- (client: import("../..").BaseClient, params?: any, parameters?: {
103
+ (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
93
104
  schema: false;
94
105
  } | undefined): Promise<unknown>;
95
106
  }, safeUpdateCvmVisibility: {
96
- (client: import("../..").BaseClient, params?: any): Promise<import("../..").SafeResult<{
107
+ (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<import("../..").SafeResult<{
97
108
  status: string;
98
109
  name: string;
99
110
  id: number;
100
- teepod_id: number | null;
101
- listed: boolean;
102
- vcpu: number;
103
111
  app_id: string;
104
112
  instance_id: string | null;
105
- in_progress: boolean;
113
+ vcpu: number;
106
114
  memory: number;
107
115
  disk_size: number;
116
+ listed: boolean;
117
+ in_progress: boolean;
108
118
  public_urls: {
109
119
  app: string;
110
120
  instance: string;
111
121
  }[];
122
+ teepod_id: number | null;
112
123
  vm_uuid: string | null;
113
124
  base_image: string | null;
114
125
  encrypted_env_pubkey: string | null;
@@ -128,19 +139,27 @@ declare const updateCvmVisibility: {
128
139
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
129
140
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
130
141
  gateway_domain?: string | null | undefined;
142
+ machine_info?: {
143
+ vcpu: number;
144
+ memory: number;
145
+ disk_size: number;
146
+ gpu_count: number;
147
+ } | null | undefined;
148
+ updated_at?: string | null | undefined;
131
149
  teepod?: {
132
150
  name: string;
133
151
  id: number;
134
152
  region_identifier?: string | null | undefined;
135
153
  } | null | undefined;
154
+ instance_type?: string | null | undefined;
136
155
  contract_address?: string | null | undefined;
137
156
  deployer_address?: string | null | undefined;
138
157
  scheduled_delete_at?: string | null | undefined;
139
158
  }>>;
140
- <T extends z.ZodTypeAny>(client: import("../..").BaseClient, params?: any, parameters?: {
159
+ <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
141
160
  schema: T;
142
161
  } | undefined): Promise<import("../..").SafeResult<z.TypeOf<T>>>;
143
- (client: import("../..").BaseClient, params?: any, parameters?: {
162
+ (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
144
163
  schema: false;
145
164
  } | undefined): Promise<import("../..").SafeResult<unknown>>;
146
165
  };