@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
@@ -185,6 +185,7 @@ declare const UpdateCvmEnvsPreconditionRequiredSchema: z.ZodObject<{
185
185
  chain_id: z.ZodNullable<z.ZodNumber>;
186
186
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
187
187
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
188
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
189
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
189
190
  id: z.ZodString;
190
191
  slug: z.ZodNullable<z.ZodString>;
@@ -193,6 +194,7 @@ declare const UpdateCvmEnvsPreconditionRequiredSchema: z.ZodObject<{
193
194
  chain_id: z.ZodNullable<z.ZodNumber>;
194
195
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
195
196
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
197
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
198
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
197
199
  id: z.ZodString;
198
200
  slug: z.ZodNullable<z.ZodString>;
@@ -201,6 +203,7 @@ declare const UpdateCvmEnvsPreconditionRequiredSchema: z.ZodObject<{
201
203
  chain_id: z.ZodNullable<z.ZodNumber>;
202
204
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
203
205
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
206
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
204
207
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
205
208
  id: z.ZodString;
206
209
  slug: z.ZodNullable<z.ZodString>;
@@ -209,6 +212,7 @@ declare const UpdateCvmEnvsPreconditionRequiredSchema: z.ZodObject<{
209
212
  chain_id: z.ZodNullable<z.ZodNumber>;
210
213
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
211
214
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
215
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
216
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
213
217
  id: z.ZodString;
214
218
  slug: z.ZodNullable<z.ZodString>;
@@ -217,6 +221,7 @@ declare const UpdateCvmEnvsPreconditionRequiredSchema: z.ZodObject<{
217
221
  chain_id: z.ZodNullable<z.ZodNumber>;
218
222
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
219
223
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
224
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
225
  }, z.ZodTypeAny, "passthrough">>;
221
226
  }, "strip", z.ZodTypeAny, {
222
227
  status: "precondition_required";
@@ -232,6 +237,7 @@ declare const UpdateCvmEnvsPreconditionRequiredSchema: z.ZodObject<{
232
237
  url: string;
233
238
  kms_contract_address: `0x${string}`;
234
239
  gateway_app_id: `0x${string}`;
240
+ k256_pubkey?: string | null | undefined;
235
241
  } & {
236
242
  [k: string]: unknown;
237
243
  };
@@ -249,6 +255,7 @@ declare const UpdateCvmEnvsPreconditionRequiredSchema: z.ZodObject<{
249
255
  url: string;
250
256
  kms_contract_address: string | null;
251
257
  gateway_app_id: string | null;
258
+ k256_pubkey?: string | null | undefined;
252
259
  } & {
253
260
  [k: string]: unknown;
254
261
  };
@@ -282,6 +289,7 @@ export declare const UpdateCvmEnvsResultSchema: z.ZodUnion<[z.ZodObject<{
282
289
  chain_id: z.ZodNullable<z.ZodNumber>;
283
290
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
284
291
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
292
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
285
293
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
286
294
  id: z.ZodString;
287
295
  slug: z.ZodNullable<z.ZodString>;
@@ -290,6 +298,7 @@ export declare const UpdateCvmEnvsResultSchema: z.ZodUnion<[z.ZodObject<{
290
298
  chain_id: z.ZodNullable<z.ZodNumber>;
291
299
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
292
300
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
301
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
302
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
294
303
  id: z.ZodString;
295
304
  slug: z.ZodNullable<z.ZodString>;
@@ -298,6 +307,7 @@ export declare const UpdateCvmEnvsResultSchema: z.ZodUnion<[z.ZodObject<{
298
307
  chain_id: z.ZodNullable<z.ZodNumber>;
299
308
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
300
309
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
310
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
301
311
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
302
312
  id: z.ZodString;
303
313
  slug: z.ZodNullable<z.ZodString>;
@@ -306,6 +316,7 @@ export declare const UpdateCvmEnvsResultSchema: z.ZodUnion<[z.ZodObject<{
306
316
  chain_id: z.ZodNullable<z.ZodNumber>;
307
317
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
308
318
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
319
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
309
320
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
310
321
  id: z.ZodString;
311
322
  slug: z.ZodNullable<z.ZodString>;
@@ -314,6 +325,7 @@ export declare const UpdateCvmEnvsResultSchema: z.ZodUnion<[z.ZodObject<{
314
325
  chain_id: z.ZodNullable<z.ZodNumber>;
315
326
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
316
327
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
328
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
329
  }, z.ZodTypeAny, "passthrough">>;
318
330
  }, "strip", z.ZodTypeAny, {
319
331
  status: "precondition_required";
@@ -329,6 +341,7 @@ export declare const UpdateCvmEnvsResultSchema: z.ZodUnion<[z.ZodObject<{
329
341
  url: string;
330
342
  kms_contract_address: `0x${string}`;
331
343
  gateway_app_id: `0x${string}`;
344
+ k256_pubkey?: string | null | undefined;
332
345
  } & {
333
346
  [k: string]: unknown;
334
347
  };
@@ -346,6 +359,7 @@ export declare const UpdateCvmEnvsResultSchema: z.ZodUnion<[z.ZodObject<{
346
359
  url: string;
347
360
  kms_contract_address: string | null;
348
361
  gateway_app_id: string | null;
362
+ k256_pubkey?: string | null | undefined;
349
363
  } & {
350
364
  [k: string]: unknown;
351
365
  };
@@ -382,6 +396,7 @@ declare const updateCvmEnvs: {
382
396
  url: string;
383
397
  kms_contract_address: `0x${string}`;
384
398
  gateway_app_id: `0x${string}`;
399
+ k256_pubkey?: string | null | undefined;
385
400
  } & {
386
401
  [k: string]: unknown;
387
402
  };
@@ -412,6 +427,7 @@ declare const updateCvmEnvs: {
412
427
  url: string;
413
428
  kms_contract_address: `0x${string}`;
414
429
  gateway_app_id: `0x${string}`;
430
+ k256_pubkey?: string | null | undefined;
415
431
  } & {
416
432
  [k: string]: unknown;
417
433
  };
@@ -56,8 +56,26 @@ export declare const UpdateCvmResourcesRequestSchema: z.ZodEffects<z.ZodObject<{
56
56
  allow_restart?: boolean | undefined;
57
57
  }>, any, any>;
58
58
  export type UpdateCvmResourcesRequest = z.infer<typeof UpdateCvmResourcesRequestSchema>;
59
+ declare const UpdateCvmResourcesResponseSchema: z.ZodObject<{
60
+ message: z.ZodString;
61
+ correlation_id: z.ZodString;
62
+ status: z.ZodString;
63
+ }, "strip", z.ZodTypeAny, {
64
+ status: string;
65
+ message: string;
66
+ correlation_id: string;
67
+ }, {
68
+ status: string;
69
+ message: string;
70
+ correlation_id: string;
71
+ }>;
72
+ export type UpdateCvmResourcesResponse = z.infer<typeof UpdateCvmResourcesResponseSchema>;
59
73
  declare const updateCvmResources: {
60
- (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<void>;
74
+ (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<{
75
+ status: string;
76
+ message: string;
77
+ correlation_id: string;
78
+ }>;
61
79
  <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
62
80
  schema: T;
63
81
  } | undefined): Promise<z.TypeOf<T>>;
@@ -65,7 +83,11 @@ declare const updateCvmResources: {
65
83
  schema: false;
66
84
  } | undefined): Promise<unknown>;
67
85
  }, safeUpdateCvmResources: {
68
- (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<import("../..").SafeResult<void>>;
86
+ (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<import("../..").SafeResult<{
87
+ status: string;
88
+ message: string;
89
+ correlation_id: string;
90
+ }>>;
69
91
  <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
70
92
  schema: T;
71
93
  } | undefined): Promise<import("../..").SafeResult<z.TypeOf<T>>>;
@@ -88,6 +88,7 @@ declare const updateCvmVisibility: {
88
88
  chain_id: z.ZodNullable<z.ZodNumber>;
89
89
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
90
90
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
91
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
92
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
92
93
  gateway_domain?: string | null | undefined;
93
94
  machine_info?: {
@@ -147,6 +148,7 @@ declare const updateCvmVisibility: {
147
148
  chain_id: z.ZodNullable<z.ZodNumber>;
148
149
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
149
150
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
151
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
152
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
151
153
  gateway_domain?: string | null | undefined;
152
154
  machine_info?: {
@@ -184,6 +184,7 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
184
184
  chain_id: z.ZodNullable<z.ZodNumber>;
185
185
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
186
186
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
187
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
188
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
188
189
  id: z.ZodString;
189
190
  slug: z.ZodNullable<z.ZodString>;
@@ -192,6 +193,7 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
192
193
  chain_id: z.ZodNullable<z.ZodNumber>;
193
194
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
194
195
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
196
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
195
197
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
196
198
  id: z.ZodString;
197
199
  slug: z.ZodNullable<z.ZodString>;
@@ -200,6 +202,7 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
200
202
  chain_id: z.ZodNullable<z.ZodNumber>;
201
203
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
202
204
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
205
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
206
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
204
207
  id: z.ZodString;
205
208
  slug: z.ZodNullable<z.ZodString>;
@@ -208,6 +211,7 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
208
211
  chain_id: z.ZodNullable<z.ZodNumber>;
209
212
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
210
213
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
214
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
211
215
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
212
216
  id: z.ZodString;
213
217
  slug: z.ZodNullable<z.ZodString>;
@@ -216,6 +220,7 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
216
220
  chain_id: z.ZodNullable<z.ZodNumber>;
217
221
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
218
222
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
223
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
224
  }, z.ZodTypeAny, "passthrough">>;
220
225
  }, "strip", z.ZodTypeAny, {
221
226
  status: "precondition_required";
@@ -231,6 +236,7 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
231
236
  url: string;
232
237
  kms_contract_address: `0x${string}`;
233
238
  gateway_app_id: `0x${string}`;
239
+ k256_pubkey?: string | null | undefined;
234
240
  } & {
235
241
  [k: string]: unknown;
236
242
  };
@@ -248,6 +254,7 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
248
254
  url: string;
249
255
  kms_contract_address: string | null;
250
256
  gateway_app_id: string | null;
257
+ k256_pubkey?: string | null | undefined;
251
258
  } & {
252
259
  [k: string]: unknown;
253
260
  };
@@ -278,6 +285,7 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
278
285
  chain_id: z.ZodNullable<z.ZodNumber>;
279
286
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
280
287
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
288
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
281
289
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
282
290
  id: z.ZodString;
283
291
  slug: z.ZodNullable<z.ZodString>;
@@ -286,6 +294,7 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
286
294
  chain_id: z.ZodNullable<z.ZodNumber>;
287
295
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
288
296
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
297
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
289
298
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
290
299
  id: z.ZodString;
291
300
  slug: z.ZodNullable<z.ZodString>;
@@ -294,6 +303,7 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
294
303
  chain_id: z.ZodNullable<z.ZodNumber>;
295
304
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
296
305
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
306
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
297
307
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
298
308
  id: z.ZodString;
299
309
  slug: z.ZodNullable<z.ZodString>;
@@ -302,6 +312,7 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
302
312
  chain_id: z.ZodNullable<z.ZodNumber>;
303
313
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
304
314
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
315
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
305
316
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
306
317
  id: z.ZodString;
307
318
  slug: z.ZodNullable<z.ZodString>;
@@ -310,6 +321,7 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
310
321
  chain_id: z.ZodNullable<z.ZodNumber>;
311
322
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
312
323
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
324
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
313
325
  }, z.ZodTypeAny, "passthrough">>;
314
326
  }, "strip", z.ZodTypeAny, {
315
327
  status: "precondition_required";
@@ -325,6 +337,7 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
325
337
  url: string;
326
338
  kms_contract_address: `0x${string}`;
327
339
  gateway_app_id: `0x${string}`;
340
+ k256_pubkey?: string | null | undefined;
328
341
  } & {
329
342
  [k: string]: unknown;
330
343
  };
@@ -342,9 +355,19 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
342
355
  url: string;
343
356
  kms_contract_address: string | null;
344
357
  gateway_app_id: string | null;
358
+ k256_pubkey?: string | null | undefined;
345
359
  } & {
346
360
  [k: string]: unknown;
347
361
  };
362
+ }>, z.ZodObject<{
363
+ status: z.ZodLiteral<"no_change">;
364
+ message: z.ZodString;
365
+ }, "strip", z.ZodTypeAny, {
366
+ status: "no_change";
367
+ message: string;
368
+ }, {
369
+ status: "no_change";
370
+ message: string;
348
371
  }>]>;
349
372
  export type UpdateDockerComposeRequest = z.input<typeof UpdateDockerComposeRequestSchema>;
350
373
  export type UpdateDockerComposeResult = z.infer<typeof UpdateDockerComposeResultSchema>;
@@ -377,9 +400,13 @@ declare const updateDockerCompose: {
377
400
  url: string;
378
401
  kms_contract_address: `0x${string}`;
379
402
  gateway_app_id: `0x${string}`;
403
+ k256_pubkey?: string | null | undefined;
380
404
  } & {
381
405
  [k: string]: unknown;
382
406
  };
407
+ } | {
408
+ status: "no_change";
409
+ message: string;
383
410
  }>;
384
411
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
385
412
  schema: T;
@@ -406,9 +433,13 @@ declare const updateDockerCompose: {
406
433
  url: string;
407
434
  kms_contract_address: `0x${string}`;
408
435
  gateway_app_id: `0x${string}`;
436
+ k256_pubkey?: string | null | undefined;
409
437
  } & {
410
438
  [k: string]: unknown;
411
439
  };
440
+ } | {
441
+ status: "no_change";
442
+ message: string;
412
443
  }>>;
413
444
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
414
445
  schema: T;
@@ -181,6 +181,7 @@ declare const UpdatePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
181
181
  chain_id: z.ZodNullable<z.ZodNumber>;
182
182
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
183
183
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
184
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
185
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
185
186
  id: z.ZodString;
186
187
  slug: z.ZodNullable<z.ZodString>;
@@ -189,6 +190,7 @@ declare const UpdatePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
189
190
  chain_id: z.ZodNullable<z.ZodNumber>;
190
191
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
191
192
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
193
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
192
194
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
193
195
  id: z.ZodString;
194
196
  slug: z.ZodNullable<z.ZodString>;
@@ -197,6 +199,7 @@ declare const UpdatePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
197
199
  chain_id: z.ZodNullable<z.ZodNumber>;
198
200
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
199
201
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
202
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
203
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
201
204
  id: z.ZodString;
202
205
  slug: z.ZodNullable<z.ZodString>;
@@ -205,6 +208,7 @@ declare const UpdatePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
205
208
  chain_id: z.ZodNullable<z.ZodNumber>;
206
209
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
207
210
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
211
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
208
212
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
209
213
  id: z.ZodString;
210
214
  slug: z.ZodNullable<z.ZodString>;
@@ -213,6 +217,7 @@ declare const UpdatePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
213
217
  chain_id: z.ZodNullable<z.ZodNumber>;
214
218
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
215
219
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
220
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
216
221
  }, z.ZodTypeAny, "passthrough">>;
217
222
  }, "strip", z.ZodTypeAny, {
218
223
  status: "precondition_required";
@@ -228,6 +233,7 @@ declare const UpdatePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
228
233
  url: string;
229
234
  kms_contract_address: `0x${string}`;
230
235
  gateway_app_id: `0x${string}`;
236
+ k256_pubkey?: string | null | undefined;
231
237
  } & {
232
238
  [k: string]: unknown;
233
239
  };
@@ -245,6 +251,7 @@ declare const UpdatePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
245
251
  url: string;
246
252
  kms_contract_address: string | null;
247
253
  gateway_app_id: string | null;
254
+ k256_pubkey?: string | null | undefined;
248
255
  } & {
249
256
  [k: string]: unknown;
250
257
  };
@@ -275,6 +282,7 @@ export declare const UpdatePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject<
275
282
  chain_id: z.ZodNullable<z.ZodNumber>;
276
283
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
277
284
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
285
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
286
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
279
287
  id: z.ZodString;
280
288
  slug: z.ZodNullable<z.ZodString>;
@@ -283,6 +291,7 @@ export declare const UpdatePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject<
283
291
  chain_id: z.ZodNullable<z.ZodNumber>;
284
292
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
285
293
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
294
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
286
295
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
287
296
  id: z.ZodString;
288
297
  slug: z.ZodNullable<z.ZodString>;
@@ -291,6 +300,7 @@ export declare const UpdatePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject<
291
300
  chain_id: z.ZodNullable<z.ZodNumber>;
292
301
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
293
302
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
303
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
294
304
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
295
305
  id: z.ZodString;
296
306
  slug: z.ZodNullable<z.ZodString>;
@@ -299,6 +309,7 @@ export declare const UpdatePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject<
299
309
  chain_id: z.ZodNullable<z.ZodNumber>;
300
310
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
301
311
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
312
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
302
313
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
303
314
  id: z.ZodString;
304
315
  slug: z.ZodNullable<z.ZodString>;
@@ -307,6 +318,7 @@ export declare const UpdatePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject<
307
318
  chain_id: z.ZodNullable<z.ZodNumber>;
308
319
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
309
320
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
321
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
310
322
  }, z.ZodTypeAny, "passthrough">>;
311
323
  }, "strip", z.ZodTypeAny, {
312
324
  status: "precondition_required";
@@ -322,6 +334,7 @@ export declare const UpdatePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject<
322
334
  url: string;
323
335
  kms_contract_address: `0x${string}`;
324
336
  gateway_app_id: `0x${string}`;
337
+ k256_pubkey?: string | null | undefined;
325
338
  } & {
326
339
  [k: string]: unknown;
327
340
  };
@@ -339,9 +352,19 @@ export declare const UpdatePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject<
339
352
  url: string;
340
353
  kms_contract_address: string | null;
341
354
  gateway_app_id: string | null;
355
+ k256_pubkey?: string | null | undefined;
342
356
  } & {
343
357
  [k: string]: unknown;
344
358
  };
359
+ }>, z.ZodObject<{
360
+ status: z.ZodLiteral<"no_change">;
361
+ message: z.ZodString;
362
+ }, "strip", z.ZodTypeAny, {
363
+ status: "no_change";
364
+ message: string;
365
+ }, {
366
+ status: "no_change";
367
+ message: string;
345
368
  }>]>;
346
369
  export type UpdatePreLaunchScriptRequest = z.input<typeof UpdatePreLaunchScriptRequestSchema>;
347
370
  export type UpdatePreLaunchScriptResult = z.infer<typeof UpdatePreLaunchScriptResultSchema>;
@@ -374,9 +397,13 @@ declare const updatePreLaunchScript: {
374
397
  url: string;
375
398
  kms_contract_address: `0x${string}`;
376
399
  gateway_app_id: `0x${string}`;
400
+ k256_pubkey?: string | null | undefined;
377
401
  } & {
378
402
  [k: string]: unknown;
379
403
  };
404
+ } | {
405
+ status: "no_change";
406
+ message: string;
380
407
  }>;
381
408
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
382
409
  schema: T;
@@ -403,9 +430,13 @@ declare const updatePreLaunchScript: {
403
430
  url: string;
404
431
  kms_contract_address: `0x${string}`;
405
432
  gateway_app_id: `0x${string}`;
433
+ k256_pubkey?: string | null | undefined;
406
434
  } & {
407
435
  [k: string]: unknown;
408
436
  };
437
+ } | {
438
+ status: "no_change";
439
+ message: string;
409
440
  }>>;
410
441
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
411
442
  schema: T;
@@ -91,6 +91,7 @@ declare const UpgradePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
91
91
  chain_id: z.ZodNullable<z.ZodNumber>;
92
92
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
93
93
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
94
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
95
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
95
96
  id: z.ZodString;
96
97
  slug: z.ZodNullable<z.ZodString>;
@@ -99,6 +100,7 @@ declare const UpgradePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
99
100
  chain_id: z.ZodNullable<z.ZodNumber>;
100
101
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
101
102
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
103
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
104
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
103
105
  id: z.ZodString;
104
106
  slug: z.ZodNullable<z.ZodString>;
@@ -107,6 +109,7 @@ declare const UpgradePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
107
109
  chain_id: z.ZodNullable<z.ZodNumber>;
108
110
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
109
111
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
112
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
110
113
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
111
114
  id: z.ZodString;
112
115
  slug: z.ZodNullable<z.ZodString>;
@@ -115,6 +118,7 @@ declare const UpgradePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
115
118
  chain_id: z.ZodNullable<z.ZodNumber>;
116
119
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
117
120
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
121
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
118
122
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
119
123
  id: z.ZodString;
120
124
  slug: z.ZodNullable<z.ZodString>;
@@ -123,6 +127,7 @@ declare const UpgradePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
123
127
  chain_id: z.ZodNullable<z.ZodNumber>;
124
128
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
125
129
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
130
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
131
  }, z.ZodTypeAny, "passthrough">>;
127
132
  }, "strip", z.ZodTypeAny, {
128
133
  status: "precondition_required";
@@ -138,6 +143,7 @@ declare const UpgradePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
138
143
  url: string;
139
144
  kms_contract_address: `0x${string}`;
140
145
  gateway_app_id: `0x${string}`;
146
+ k256_pubkey?: string | null | undefined;
141
147
  } & {
142
148
  [k: string]: unknown;
143
149
  };
@@ -155,6 +161,7 @@ declare const UpgradePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
155
161
  url: string;
156
162
  kms_contract_address: string | null;
157
163
  gateway_app_id: string | null;
164
+ k256_pubkey?: string | null | undefined;
158
165
  } & {
159
166
  [k: string]: unknown;
160
167
  };
@@ -185,6 +192,7 @@ export declare const UpgradePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject
185
192
  chain_id: z.ZodNullable<z.ZodNumber>;
186
193
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
187
194
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
195
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
196
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
189
197
  id: z.ZodString;
190
198
  slug: z.ZodNullable<z.ZodString>;
@@ -193,6 +201,7 @@ export declare const UpgradePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject
193
201
  chain_id: z.ZodNullable<z.ZodNumber>;
194
202
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
195
203
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
204
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
205
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
197
206
  id: z.ZodString;
198
207
  slug: z.ZodNullable<z.ZodString>;
@@ -201,6 +210,7 @@ export declare const UpgradePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject
201
210
  chain_id: z.ZodNullable<z.ZodNumber>;
202
211
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
203
212
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
213
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
204
214
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
205
215
  id: z.ZodString;
206
216
  slug: z.ZodNullable<z.ZodString>;
@@ -209,6 +219,7 @@ export declare const UpgradePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject
209
219
  chain_id: z.ZodNullable<z.ZodNumber>;
210
220
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
211
221
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
222
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
223
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
213
224
  id: z.ZodString;
214
225
  slug: z.ZodNullable<z.ZodString>;
@@ -217,6 +228,7 @@ export declare const UpgradePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject
217
228
  chain_id: z.ZodNullable<z.ZodNumber>;
218
229
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
219
230
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
231
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
232
  }, z.ZodTypeAny, "passthrough">>;
221
233
  }, "strip", z.ZodTypeAny, {
222
234
  status: "precondition_required";
@@ -232,6 +244,7 @@ export declare const UpgradePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject
232
244
  url: string;
233
245
  kms_contract_address: `0x${string}`;
234
246
  gateway_app_id: `0x${string}`;
247
+ k256_pubkey?: string | null | undefined;
235
248
  } & {
236
249
  [k: string]: unknown;
237
250
  };
@@ -249,6 +262,7 @@ export declare const UpgradePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject
249
262
  url: string;
250
263
  kms_contract_address: string | null;
251
264
  gateway_app_id: string | null;
265
+ k256_pubkey?: string | null | undefined;
252
266
  } & {
253
267
  [k: string]: unknown;
254
268
  };
@@ -276,6 +290,7 @@ declare const upgradePreLaunchScript: {
276
290
  url: string;
277
291
  kms_contract_address: `0x${string}`;
278
292
  gateway_app_id: `0x${string}`;
293
+ k256_pubkey?: string | null | undefined;
279
294
  } & {
280
295
  [k: string]: unknown;
281
296
  };
@@ -305,6 +320,7 @@ declare const upgradePreLaunchScript: {
305
320
  url: string;
306
321
  kms_contract_address: `0x${string}`;
307
322
  gateway_app_id: `0x${string}`;
323
+ k256_pubkey?: string | null | undefined;
308
324
  } & {
309
325
  [k: string]: unknown;
310
326
  };