@phala/cloud 0.3.0 → 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 (45) hide show
  1. package/dist/actions/apps/get_app_attestation.d.ts +17 -7
  2. package/dist/actions/cvms/commit_cvm_provision.d.ts +6 -0
  3. package/dist/actions/cvms/get_cvm_compose_file.d.ts +156 -12
  4. package/dist/actions/cvms/get_cvm_list.d.ts +8 -10
  5. package/dist/actions/cvms/get_cvm_status_batch.d.ts +247 -24
  6. package/dist/actions/cvms/patch_cvm.d.ts +16 -0
  7. package/dist/actions/cvms/provision_cvm.d.ts +900 -51
  8. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +215 -5
  9. package/dist/actions/cvms/update_cvm_envs.d.ts +16 -0
  10. package/dist/actions/cvms/update_cvm_resources.d.ts +24 -2
  11. package/dist/actions/cvms/update_cvm_visibility.d.ts +2 -0
  12. package/dist/actions/cvms/update_docker_compose.d.ts +31 -0
  13. package/dist/actions/cvms/update_prelaunch_script.d.ts +31 -0
  14. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +16 -0
  15. package/dist/actions/get_available_nodes.d.ts +259 -0
  16. package/dist/actions/get_cvm_create_resources.d.ts +351 -0
  17. package/dist/actions/index.d.ts +6 -2
  18. package/dist/actions/kms/get_kms_contract.d.ts +59 -0
  19. package/dist/actions/kms/get_kms_list.d.ts +15 -0
  20. package/dist/actions/kms/get_kms_onchain_detail.d.ts +54 -0
  21. package/dist/actions/kms/list_kms_contract_nodes.d.ts +98 -0
  22. package/dist/actions/kms/list_kms_contracts.d.ts +152 -0
  23. package/dist/actions/workspaces/get_workspace.d.ts +4 -0
  24. package/dist/actions/workspaces/get_workspace_nodes.d.ts +161 -0
  25. package/dist/actions/workspaces/list_workspaces.d.ts +126 -0
  26. package/dist/client.d.ts +4 -1
  27. package/dist/create-client.d.ts +48 -0
  28. package/dist/index.d.ts +1 -1
  29. package/dist/index.js +1527 -1207
  30. package/dist/index.mjs +1452 -1151
  31. package/dist/types/app_compose.d.ts +50 -5
  32. package/dist/types/app_info_v20251028.d.ts +44 -0
  33. package/dist/types/app_info_v20260121.d.ts +2324 -0
  34. package/dist/types/client.d.ts +2 -2
  35. package/dist/types/cvm_info_v20251028.d.ts +23 -0
  36. package/dist/types/cvm_info_v20260121.d.ts +977 -0
  37. package/dist/types/kms_contract.d.ts +64 -0
  38. package/dist/types/kms_info.d.ts +8 -0
  39. package/dist/types/version-mappings.d.ts +6 -6
  40. package/dist/utils/error_codes.d.ts +1 -0
  41. package/dist/utils/errors.d.ts +30 -1
  42. package/dist/utils/get_compose_hash.d.ts +24 -0
  43. package/dist/utils/get_mr_config_id.d.ts +55 -0
  44. package/dist/utils/index.d.ts +3 -2
  45. package/package.json +3 -3
@@ -6,6 +6,29 @@ import { z } from "zod";
6
6
  * CvmStatusSchema is used for /status/batch endpoint which returns status
7
7
  * information optimized for polling.
8
8
  */
9
+ export declare const CvmResourceUsageSchema: z.ZodObject<{
10
+ cpu_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ memory_used_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ memory_total_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ disk_used_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ disk_total_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ egress_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ cpu_percent?: number | null | undefined;
18
+ memory_used_bytes?: number | null | undefined;
19
+ memory_total_bytes?: number | null | undefined;
20
+ disk_used_bytes?: number | null | undefined;
21
+ disk_total_bytes?: number | null | undefined;
22
+ egress_bytes?: number | null | undefined;
23
+ }, {
24
+ cpu_percent?: number | null | undefined;
25
+ memory_used_bytes?: number | null | undefined;
26
+ memory_total_bytes?: number | null | undefined;
27
+ disk_used_bytes?: number | null | undefined;
28
+ disk_total_bytes?: number | null | undefined;
29
+ egress_bytes?: number | null | undefined;
30
+ }>;
31
+ export type CvmResourceUsage = z.infer<typeof CvmResourceUsageSchema>;
9
32
  export declare const CvmStatusSchema: z.ZodObject<{
10
33
  vm_uuid: z.ZodString;
11
34
  status: z.ZodString;
@@ -13,19 +36,85 @@ export declare const CvmStatusSchema: z.ZodObject<{
13
36
  in_progress: z.ZodBoolean;
14
37
  boot_progress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
38
  boot_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- operation_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- operation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ shutdown_progress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ events: z.ZodDefault<z.ZodArray<z.ZodObject<{
41
+ event: z.ZodString;
42
+ body: z.ZodString;
43
+ timestamp: z.ZodNumber;
44
+ }, "strip", z.ZodTypeAny, {
45
+ body: string;
46
+ timestamp: number;
47
+ event: string;
48
+ }, {
49
+ body: string;
50
+ timestamp: number;
51
+ event: string;
52
+ }>, "many">>;
53
+ operation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ phase: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ type?: string | null | undefined;
60
+ started_at?: string | null | undefined;
61
+ correlation_id?: string | null | undefined;
62
+ phase?: string | null | undefined;
63
+ }, {
64
+ type?: string | null | undefined;
65
+ started_at?: string | null | undefined;
66
+ correlation_id?: string | null | undefined;
67
+ phase?: string | null | undefined;
68
+ }>>>;
69
+ resource_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
70
+ cpu_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
71
+ memory_used_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
72
+ memory_total_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
73
+ disk_used_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
74
+ disk_total_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
75
+ egress_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ cpu_percent?: number | null | undefined;
78
+ memory_used_bytes?: number | null | undefined;
79
+ memory_total_bytes?: number | null | undefined;
80
+ disk_used_bytes?: number | null | undefined;
81
+ disk_total_bytes?: number | null | undefined;
82
+ egress_bytes?: number | null | undefined;
83
+ }, {
84
+ cpu_percent?: number | null | undefined;
85
+ memory_used_bytes?: number | null | undefined;
86
+ memory_total_bytes?: number | null | undefined;
87
+ disk_used_bytes?: number | null | undefined;
88
+ disk_total_bytes?: number | null | undefined;
89
+ egress_bytes?: number | null | undefined;
90
+ }>>>;
19
91
  }, "strip", z.ZodTypeAny, {
20
92
  status: string;
21
93
  vm_uuid: string;
22
94
  in_progress: boolean;
95
+ events: {
96
+ body: string;
97
+ timestamp: number;
98
+ event: string;
99
+ }[];
23
100
  uptime?: string | null | undefined;
24
101
  boot_progress?: string | null | undefined;
25
102
  boot_error?: string | null | undefined;
26
- correlation_id?: string | null | undefined;
27
- operation_type?: string | null | undefined;
28
- operation_started_at?: string | null | undefined;
103
+ shutdown_progress?: string | null | undefined;
104
+ operation?: {
105
+ type?: string | null | undefined;
106
+ started_at?: string | null | undefined;
107
+ correlation_id?: string | null | undefined;
108
+ phase?: string | null | undefined;
109
+ } | null | undefined;
110
+ resource_usage?: {
111
+ cpu_percent?: number | null | undefined;
112
+ memory_used_bytes?: number | null | undefined;
113
+ memory_total_bytes?: number | null | undefined;
114
+ disk_used_bytes?: number | null | undefined;
115
+ disk_total_bytes?: number | null | undefined;
116
+ egress_bytes?: number | null | undefined;
117
+ } | null | undefined;
29
118
  }, {
30
119
  status: string;
31
120
  vm_uuid: string;
@@ -33,9 +122,26 @@ export declare const CvmStatusSchema: z.ZodObject<{
33
122
  uptime?: string | null | undefined;
34
123
  boot_progress?: string | null | undefined;
35
124
  boot_error?: string | null | undefined;
36
- correlation_id?: string | null | undefined;
37
- operation_type?: string | null | undefined;
38
- operation_started_at?: string | null | undefined;
125
+ shutdown_progress?: string | null | undefined;
126
+ operation?: {
127
+ type?: string | null | undefined;
128
+ started_at?: string | null | undefined;
129
+ correlation_id?: string | null | undefined;
130
+ phase?: string | null | undefined;
131
+ } | null | undefined;
132
+ events?: {
133
+ body: string;
134
+ timestamp: number;
135
+ event: string;
136
+ }[] | undefined;
137
+ resource_usage?: {
138
+ cpu_percent?: number | null | undefined;
139
+ memory_used_bytes?: number | null | undefined;
140
+ memory_total_bytes?: number | null | undefined;
141
+ disk_used_bytes?: number | null | undefined;
142
+ disk_total_bytes?: number | null | undefined;
143
+ egress_bytes?: number | null | undefined;
144
+ } | null | undefined;
39
145
  }>;
40
146
  export type CvmStatus = z.infer<typeof CvmStatusSchema>;
41
147
  /**
@@ -48,19 +154,85 @@ export declare const GetCvmStatusBatchResponseSchema: z.ZodRecord<z.ZodString, z
48
154
  in_progress: z.ZodBoolean;
49
155
  boot_progress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
156
  boot_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
- operation_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
- operation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
- correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
+ shutdown_progress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
158
+ events: z.ZodDefault<z.ZodArray<z.ZodObject<{
159
+ event: z.ZodString;
160
+ body: z.ZodString;
161
+ timestamp: z.ZodNumber;
162
+ }, "strip", z.ZodTypeAny, {
163
+ body: string;
164
+ timestamp: number;
165
+ event: string;
166
+ }, {
167
+ body: string;
168
+ timestamp: number;
169
+ event: string;
170
+ }>, "many">>;
171
+ operation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
172
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
+ phase: z.ZodOptional<z.ZodNullable<z.ZodString>>;
174
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
175
+ correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
176
+ }, "strip", z.ZodTypeAny, {
177
+ type?: string | null | undefined;
178
+ started_at?: string | null | undefined;
179
+ correlation_id?: string | null | undefined;
180
+ phase?: string | null | undefined;
181
+ }, {
182
+ type?: string | null | undefined;
183
+ started_at?: string | null | undefined;
184
+ correlation_id?: string | null | undefined;
185
+ phase?: string | null | undefined;
186
+ }>>>;
187
+ resource_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
188
+ cpu_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
189
+ memory_used_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
190
+ memory_total_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
191
+ disk_used_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
192
+ disk_total_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
193
+ egress_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ cpu_percent?: number | null | undefined;
196
+ memory_used_bytes?: number | null | undefined;
197
+ memory_total_bytes?: number | null | undefined;
198
+ disk_used_bytes?: number | null | undefined;
199
+ disk_total_bytes?: number | null | undefined;
200
+ egress_bytes?: number | null | undefined;
201
+ }, {
202
+ cpu_percent?: number | null | undefined;
203
+ memory_used_bytes?: number | null | undefined;
204
+ memory_total_bytes?: number | null | undefined;
205
+ disk_used_bytes?: number | null | undefined;
206
+ disk_total_bytes?: number | null | undefined;
207
+ egress_bytes?: number | null | undefined;
208
+ }>>>;
54
209
  }, "strip", z.ZodTypeAny, {
55
210
  status: string;
56
211
  vm_uuid: string;
57
212
  in_progress: boolean;
213
+ events: {
214
+ body: string;
215
+ timestamp: number;
216
+ event: string;
217
+ }[];
58
218
  uptime?: string | null | undefined;
59
219
  boot_progress?: string | null | undefined;
60
220
  boot_error?: string | null | undefined;
61
- correlation_id?: string | null | undefined;
62
- operation_type?: string | null | undefined;
63
- operation_started_at?: string | null | undefined;
221
+ shutdown_progress?: string | null | undefined;
222
+ operation?: {
223
+ type?: string | null | undefined;
224
+ started_at?: string | null | undefined;
225
+ correlation_id?: string | null | undefined;
226
+ phase?: string | null | undefined;
227
+ } | null | undefined;
228
+ resource_usage?: {
229
+ cpu_percent?: number | null | undefined;
230
+ memory_used_bytes?: number | null | undefined;
231
+ memory_total_bytes?: number | null | undefined;
232
+ disk_used_bytes?: number | null | undefined;
233
+ disk_total_bytes?: number | null | undefined;
234
+ egress_bytes?: number | null | undefined;
235
+ } | null | undefined;
64
236
  }, {
65
237
  status: string;
66
238
  vm_uuid: string;
@@ -68,9 +240,26 @@ export declare const GetCvmStatusBatchResponseSchema: z.ZodRecord<z.ZodString, z
68
240
  uptime?: string | null | undefined;
69
241
  boot_progress?: string | null | undefined;
70
242
  boot_error?: string | null | undefined;
71
- correlation_id?: string | null | undefined;
72
- operation_type?: string | null | undefined;
73
- operation_started_at?: string | null | undefined;
243
+ shutdown_progress?: string | null | undefined;
244
+ operation?: {
245
+ type?: string | null | undefined;
246
+ started_at?: string | null | undefined;
247
+ correlation_id?: string | null | undefined;
248
+ phase?: string | null | undefined;
249
+ } | null | undefined;
250
+ events?: {
251
+ body: string;
252
+ timestamp: number;
253
+ event: string;
254
+ }[] | undefined;
255
+ resource_usage?: {
256
+ cpu_percent?: number | null | undefined;
257
+ memory_used_bytes?: number | null | undefined;
258
+ memory_total_bytes?: number | null | undefined;
259
+ disk_used_bytes?: number | null | undefined;
260
+ disk_total_bytes?: number | null | undefined;
261
+ egress_bytes?: number | null | undefined;
262
+ } | null | undefined;
74
263
  }>>;
75
264
  export type GetCvmStatusBatchResponse = z.infer<typeof GetCvmStatusBatchResponseSchema>;
76
265
  export declare const GetCvmStatusBatchRequestSchema: z.ZodObject<{
@@ -122,12 +311,29 @@ declare const getCvmStatusBatch: {
122
311
  status: string;
123
312
  vm_uuid: string;
124
313
  in_progress: boolean;
314
+ events: {
315
+ body: string;
316
+ timestamp: number;
317
+ event: string;
318
+ }[];
125
319
  uptime?: string | null | undefined;
126
320
  boot_progress?: string | null | undefined;
127
321
  boot_error?: string | null | undefined;
128
- correlation_id?: string | null | undefined;
129
- operation_type?: string | null | undefined;
130
- operation_started_at?: string | null | undefined;
322
+ shutdown_progress?: string | null | undefined;
323
+ operation?: {
324
+ type?: string | null | undefined;
325
+ started_at?: string | null | undefined;
326
+ correlation_id?: string | null | undefined;
327
+ phase?: string | null | undefined;
328
+ } | null | undefined;
329
+ resource_usage?: {
330
+ cpu_percent?: number | null | undefined;
331
+ memory_used_bytes?: number | null | undefined;
332
+ memory_total_bytes?: number | null | undefined;
333
+ disk_used_bytes?: number | null | undefined;
334
+ disk_total_bytes?: number | null | undefined;
335
+ egress_bytes?: number | null | undefined;
336
+ } | null | undefined;
131
337
  }>>;
132
338
  <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
133
339
  vmUuids: string[];
@@ -146,12 +352,29 @@ declare const getCvmStatusBatch: {
146
352
  status: string;
147
353
  vm_uuid: string;
148
354
  in_progress: boolean;
355
+ events: {
356
+ body: string;
357
+ timestamp: number;
358
+ event: string;
359
+ }[];
149
360
  uptime?: string | null | undefined;
150
361
  boot_progress?: string | null | undefined;
151
362
  boot_error?: string | null | undefined;
152
- correlation_id?: string | null | undefined;
153
- operation_type?: string | null | undefined;
154
- operation_started_at?: string | null | undefined;
363
+ shutdown_progress?: string | null | undefined;
364
+ operation?: {
365
+ type?: string | null | undefined;
366
+ started_at?: string | null | undefined;
367
+ correlation_id?: string | null | undefined;
368
+ phase?: string | null | undefined;
369
+ } | null | undefined;
370
+ resource_usage?: {
371
+ cpu_percent?: number | null | undefined;
372
+ memory_used_bytes?: number | null | undefined;
373
+ memory_total_bytes?: number | null | undefined;
374
+ disk_used_bytes?: number | null | undefined;
375
+ disk_total_bytes?: number | null | undefined;
376
+ egress_bytes?: number | null | undefined;
377
+ } | null | undefined;
155
378
  }>>>;
156
379
  <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
157
380
  vmUuids: string[];
@@ -152,6 +152,7 @@ declare const PatchCvmHashRequiredSchema: z.ZodObject<{
152
152
  chain_id: z.ZodNullable<z.ZodNumber>;
153
153
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
154
154
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
155
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
156
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
156
157
  id: z.ZodString;
157
158
  slug: z.ZodNullable<z.ZodString>;
@@ -160,6 +161,7 @@ declare const PatchCvmHashRequiredSchema: z.ZodObject<{
160
161
  chain_id: z.ZodNullable<z.ZodNumber>;
161
162
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
162
163
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
164
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
165
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
164
166
  id: z.ZodString;
165
167
  slug: z.ZodNullable<z.ZodString>;
@@ -168,6 +170,7 @@ declare const PatchCvmHashRequiredSchema: z.ZodObject<{
168
170
  chain_id: z.ZodNullable<z.ZodNumber>;
169
171
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
170
172
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
173
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
171
174
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
172
175
  id: z.ZodString;
173
176
  slug: z.ZodNullable<z.ZodString>;
@@ -176,6 +179,7 @@ declare const PatchCvmHashRequiredSchema: z.ZodObject<{
176
179
  chain_id: z.ZodNullable<z.ZodNumber>;
177
180
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
178
181
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
182
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
179
183
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
180
184
  id: z.ZodString;
181
185
  slug: z.ZodNullable<z.ZodString>;
@@ -184,6 +188,7 @@ declare const PatchCvmHashRequiredSchema: z.ZodObject<{
184
188
  chain_id: z.ZodNullable<z.ZodNumber>;
185
189
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
186
190
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
191
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
192
  }, z.ZodTypeAny, "passthrough">>;
188
193
  commitToken: z.ZodOptional<z.ZodString>;
189
194
  commitUrl: z.ZodOptional<z.ZodString>;
@@ -214,6 +219,7 @@ declare const PatchCvmHashRequiredSchema: z.ZodObject<{
214
219
  url: string;
215
220
  kms_contract_address: `0x${string}`;
216
221
  gateway_app_id: `0x${string}`;
222
+ k256_pubkey?: string | null | undefined;
217
223
  } & {
218
224
  [k: string]: unknown;
219
225
  };
@@ -238,6 +244,7 @@ declare const PatchCvmHashRequiredSchema: z.ZodObject<{
238
244
  url: string;
239
245
  kms_contract_address: string | null;
240
246
  gateway_app_id: string | null;
247
+ k256_pubkey?: string | null | undefined;
241
248
  } & {
242
249
  [k: string]: unknown;
243
250
  };
@@ -272,6 +279,7 @@ export declare const PatchCvmResultSchema: z.ZodDiscriminatedUnion<"requiresOnCh
272
279
  chain_id: z.ZodNullable<z.ZodNumber>;
273
280
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
274
281
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
282
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
283
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
276
284
  id: z.ZodString;
277
285
  slug: z.ZodNullable<z.ZodString>;
@@ -280,6 +288,7 @@ export declare const PatchCvmResultSchema: z.ZodDiscriminatedUnion<"requiresOnCh
280
288
  chain_id: z.ZodNullable<z.ZodNumber>;
281
289
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
282
290
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
291
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
283
292
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
284
293
  id: z.ZodString;
285
294
  slug: z.ZodNullable<z.ZodString>;
@@ -288,6 +297,7 @@ export declare const PatchCvmResultSchema: z.ZodDiscriminatedUnion<"requiresOnCh
288
297
  chain_id: z.ZodNullable<z.ZodNumber>;
289
298
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
290
299
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
300
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
291
301
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
292
302
  id: z.ZodString;
293
303
  slug: z.ZodNullable<z.ZodString>;
@@ -296,6 +306,7 @@ export declare const PatchCvmResultSchema: z.ZodDiscriminatedUnion<"requiresOnCh
296
306
  chain_id: z.ZodNullable<z.ZodNumber>;
297
307
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
298
308
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
309
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
299
310
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
300
311
  id: z.ZodString;
301
312
  slug: z.ZodNullable<z.ZodString>;
@@ -304,6 +315,7 @@ export declare const PatchCvmResultSchema: z.ZodDiscriminatedUnion<"requiresOnCh
304
315
  chain_id: z.ZodNullable<z.ZodNumber>;
305
316
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
306
317
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
318
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
307
319
  }, z.ZodTypeAny, "passthrough">>;
308
320
  commitToken: z.ZodOptional<z.ZodString>;
309
321
  commitUrl: z.ZodOptional<z.ZodString>;
@@ -334,6 +346,7 @@ export declare const PatchCvmResultSchema: z.ZodDiscriminatedUnion<"requiresOnCh
334
346
  url: string;
335
347
  kms_contract_address: `0x${string}`;
336
348
  gateway_app_id: `0x${string}`;
349
+ k256_pubkey?: string | null | undefined;
337
350
  } & {
338
351
  [k: string]: unknown;
339
352
  };
@@ -358,6 +371,7 @@ export declare const PatchCvmResultSchema: z.ZodDiscriminatedUnion<"requiresOnCh
358
371
  url: string;
359
372
  kms_contract_address: string | null;
360
373
  gateway_app_id: string | null;
374
+ k256_pubkey?: string | null | undefined;
361
375
  } & {
362
376
  [k: string]: unknown;
363
377
  };
@@ -390,6 +404,7 @@ declare const patchCvm: {
390
404
  url: string;
391
405
  kms_contract_address: `0x${string}`;
392
406
  gateway_app_id: `0x${string}`;
407
+ k256_pubkey?: string | null | undefined;
393
408
  } & {
394
409
  [k: string]: unknown;
395
410
  };
@@ -425,6 +440,7 @@ declare const patchCvm: {
425
440
  url: string;
426
441
  kms_contract_address: `0x${string}`;
427
442
  gateway_app_id: `0x${string}`;
443
+ k256_pubkey?: string | null | undefined;
428
444
  } & {
429
445
  [k: string]: unknown;
430
446
  };