@phala/cloud 0.2.10 → 0.3.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 (59) 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 +32 -32
  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 +5 -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 +10 -10
  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 +4 -4
  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 +6 -6
  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 +18 -18
  28. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +38 -38
  29. package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +27 -58
  30. package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +120 -165
  31. package/dist/actions/cvms/replicate_cvm.d.ts +7 -72
  32. package/dist/actions/cvms/restart_cvm.d.ts +7 -72
  33. package/dist/actions/cvms/shutdown_cvm.d.ts +9 -72
  34. package/dist/actions/cvms/start_cvm.d.ts +7 -72
  35. package/dist/actions/cvms/stop_cvm.d.ts +7 -72
  36. package/dist/actions/cvms/update_cvm_envs.d.ts +20 -20
  37. package/dist/actions/cvms/update_cvm_resources.d.ts +2 -2
  38. package/dist/actions/cvms/update_cvm_visibility.d.ts +24 -24
  39. package/dist/actions/cvms/update_docker_compose.d.ts +20 -20
  40. package/dist/actions/cvms/update_os_image.d.ts +2 -2
  41. package/dist/actions/cvms/update_prelaunch_script.d.ts +20 -20
  42. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +20 -20
  43. package/dist/actions/kms/get_kms_list.d.ts +10 -10
  44. package/dist/actions/kms/next_app_ids.d.ts +6 -6
  45. package/dist/actions/list-instance-types.d.ts +12 -12
  46. package/dist/actions/ssh_keys/create_ssh_key.d.ts +2 -2
  47. package/dist/actions/ssh_keys/list_ssh_keys.d.ts +4 -4
  48. package/dist/actions/workspaces/get_workspace_nodes.d.ts +14 -14
  49. package/dist/index.js +254 -45
  50. package/dist/index.mjs +254 -45
  51. package/dist/types/app_info_v20251028.d.ts +128 -128
  52. package/dist/types/app_info_v20260121.d.ts +490 -490
  53. package/dist/types/app_revision.d.ts +8 -8
  54. package/dist/types/cvm_id.d.ts +6 -6
  55. package/dist/types/cvm_info.d.ts +98 -98
  56. package/dist/types/cvm_info_v20251028.d.ts +47 -47
  57. package/dist/types/cvm_info_v20260121.d.ts +148 -148
  58. package/dist/types/version-mappings.d.ts +37 -0
  59. package/package.json +1 -1
@@ -32,19 +32,19 @@ export declare const UpdateCvmVisibilityRequestSchema: z.ZodEffects<z.ZodObject<
32
32
  public_logs: boolean;
33
33
  name?: string | undefined;
34
34
  id?: string | undefined;
35
+ uuid?: string | undefined;
35
36
  app_id?: string | undefined;
36
37
  instance_id?: string | undefined;
37
38
  public_tcbinfo?: boolean | undefined;
38
- uuid?: string | undefined;
39
39
  }, {
40
40
  public_sysinfo: boolean;
41
41
  public_logs: boolean;
42
42
  name?: string | undefined;
43
43
  id?: string | undefined;
44
+ uuid?: string | undefined;
44
45
  app_id?: string | undefined;
45
46
  instance_id?: string | undefined;
46
47
  public_tcbinfo?: boolean | undefined;
47
- uuid?: string | undefined;
48
48
  }>, any, any>;
49
49
  export type UpdateCvmVisibilityRequest = z.infer<typeof UpdateCvmVisibilityRequestSchema>;
50
50
  declare const updateCvmVisibility: {
@@ -54,21 +54,28 @@ declare const updateCvmVisibility: {
54
54
  id: string | number;
55
55
  app_id: string;
56
56
  instance_id: string | null;
57
+ teepod_id: number | null;
58
+ vm_uuid: string | null;
59
+ base_image: string | null;
57
60
  vcpu: number;
58
61
  memory: number;
59
62
  disk_size: number;
63
+ encrypted_env_pubkey: string | null;
60
64
  listed: boolean;
61
65
  in_progress: boolean;
62
66
  public_urls: {
63
67
  app: string;
64
68
  instance: string;
65
69
  }[];
66
- teepod_id: number | null;
67
- vm_uuid: string | null;
68
- base_image: string | null;
69
- encrypted_env_pubkey: string | null;
70
70
  public_sysinfo: boolean;
71
71
  public_logs: boolean;
72
+ teepod?: {
73
+ name: string;
74
+ id: number;
75
+ region_identifier?: string | null | undefined;
76
+ } | null | undefined;
77
+ deployer_address?: string | null | undefined;
78
+ contract_address?: string | null | undefined;
72
79
  dapp_dashboard_url?: string | null | undefined;
73
80
  syslog_endpoint?: string | null | undefined;
74
81
  project_id?: string | null | undefined;
@@ -90,14 +97,7 @@ declare const updateCvmVisibility: {
90
97
  gpu_count: number;
91
98
  } | null | undefined;
92
99
  updated_at?: string | null | undefined;
93
- teepod?: {
94
- name: string;
95
- id: number;
96
- region_identifier?: string | null | undefined;
97
- } | null | undefined;
98
100
  instance_type?: string | null | undefined;
99
- contract_address?: string | null | undefined;
100
- deployer_address?: string | null | undefined;
101
101
  scheduled_delete_at?: string | null | undefined;
102
102
  }>;
103
103
  <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
@@ -113,21 +113,28 @@ declare const updateCvmVisibility: {
113
113
  id: string | number;
114
114
  app_id: string;
115
115
  instance_id: string | null;
116
+ teepod_id: number | null;
117
+ vm_uuid: string | null;
118
+ base_image: string | null;
116
119
  vcpu: number;
117
120
  memory: number;
118
121
  disk_size: number;
122
+ encrypted_env_pubkey: string | null;
119
123
  listed: boolean;
120
124
  in_progress: boolean;
121
125
  public_urls: {
122
126
  app: string;
123
127
  instance: string;
124
128
  }[];
125
- teepod_id: number | null;
126
- vm_uuid: string | null;
127
- base_image: string | null;
128
- encrypted_env_pubkey: string | null;
129
129
  public_sysinfo: boolean;
130
130
  public_logs: boolean;
131
+ teepod?: {
132
+ name: string;
133
+ id: number;
134
+ region_identifier?: string | null | undefined;
135
+ } | null | undefined;
136
+ deployer_address?: string | null | undefined;
137
+ contract_address?: string | null | undefined;
131
138
  dapp_dashboard_url?: string | null | undefined;
132
139
  syslog_endpoint?: string | null | undefined;
133
140
  project_id?: string | null | undefined;
@@ -149,14 +156,7 @@ declare const updateCvmVisibility: {
149
156
  gpu_count: number;
150
157
  } | null | undefined;
151
158
  updated_at?: string | null | undefined;
152
- teepod?: {
153
- name: string;
154
- id: number;
155
- region_identifier?: string | null | undefined;
156
- } | null | undefined;
157
159
  instance_type?: string | null | undefined;
158
- contract_address?: string | null | undefined;
159
- deployer_address?: string | null | undefined;
160
160
  scheduled_delete_at?: string | null | undefined;
161
161
  }>>;
162
162
  <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
@@ -134,19 +134,19 @@ export declare const UpdateDockerComposeRequestSchema: z.ZodEffects<z.ZodEffects
134
134
  docker_compose_file: string;
135
135
  name?: string | undefined;
136
136
  id?: string | undefined;
137
+ uuid?: string | undefined;
137
138
  app_id?: string | undefined;
138
139
  instance_id?: string | undefined;
139
140
  compose_hash?: string | undefined;
140
- uuid?: string | undefined;
141
141
  transaction_hash?: string | undefined;
142
142
  }, {
143
143
  docker_compose_file: string;
144
144
  name?: string | undefined;
145
145
  id?: string | undefined;
146
+ uuid?: string | undefined;
146
147
  app_id?: string | undefined;
147
148
  instance_id?: string | undefined;
148
149
  compose_hash?: string | undefined;
149
- uuid?: string | undefined;
150
150
  transaction_hash?: string | undefined;
151
151
  }>, any, any>, {
152
152
  cvmId: any;
@@ -221,36 +221,36 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
221
221
  status: "precondition_required";
222
222
  message: string;
223
223
  app_id: string;
224
+ compose_hash: string;
225
+ device_id: string;
224
226
  kms_info: {
225
227
  version: string;
226
228
  id: string;
227
229
  slug: string | null;
228
- url: string;
229
230
  chain_id: number | null;
231
+ url: string;
230
232
  kms_contract_address: `0x${string}`;
231
233
  gateway_app_id: `0x${string}`;
232
234
  } & {
233
235
  [k: string]: unknown;
234
236
  };
235
- device_id: string;
236
- compose_hash: string;
237
237
  }, {
238
238
  status: "precondition_required";
239
239
  message: string;
240
240
  app_id: string;
241
+ compose_hash: string;
242
+ device_id: string;
241
243
  kms_info: {
242
244
  version: string;
243
245
  id: string;
244
246
  slug: string | null;
245
- url: string;
246
247
  chain_id: number | null;
248
+ url: string;
247
249
  kms_contract_address: string | null;
248
250
  gateway_app_id: string | null;
249
251
  } & {
250
252
  [k: string]: unknown;
251
253
  };
252
- device_id: string;
253
- compose_hash: string;
254
254
  }>;
255
255
  export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
256
256
  status: z.ZodLiteral<"in_progress">;
@@ -315,36 +315,36 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
315
315
  status: "precondition_required";
316
316
  message: string;
317
317
  app_id: string;
318
+ compose_hash: string;
319
+ device_id: string;
318
320
  kms_info: {
319
321
  version: string;
320
322
  id: string;
321
323
  slug: string | null;
322
- url: string;
323
324
  chain_id: number | null;
325
+ url: string;
324
326
  kms_contract_address: `0x${string}`;
325
327
  gateway_app_id: `0x${string}`;
326
328
  } & {
327
329
  [k: string]: unknown;
328
330
  };
329
- device_id: string;
330
- compose_hash: string;
331
331
  }, {
332
332
  status: "precondition_required";
333
333
  message: string;
334
334
  app_id: string;
335
+ compose_hash: string;
336
+ device_id: string;
335
337
  kms_info: {
336
338
  version: string;
337
339
  id: string;
338
340
  slug: string | null;
339
- url: string;
340
341
  chain_id: number | null;
342
+ url: string;
341
343
  kms_contract_address: string | null;
342
344
  gateway_app_id: string | null;
343
345
  } & {
344
346
  [k: string]: unknown;
345
347
  };
346
- device_id: string;
347
- compose_hash: string;
348
348
  }>]>;
349
349
  export type UpdateDockerComposeRequest = z.input<typeof UpdateDockerComposeRequestSchema>;
350
350
  export type UpdateDockerComposeResult = z.infer<typeof UpdateDockerComposeResultSchema>;
@@ -367,19 +367,19 @@ declare const updateDockerCompose: {
367
367
  status: "precondition_required";
368
368
  message: string;
369
369
  app_id: string;
370
+ compose_hash: string;
371
+ device_id: string;
370
372
  kms_info: {
371
373
  version: string;
372
374
  id: string;
373
375
  slug: string | null;
374
- url: string;
375
376
  chain_id: number | null;
377
+ url: string;
376
378
  kms_contract_address: `0x${string}`;
377
379
  gateway_app_id: `0x${string}`;
378
380
  } & {
379
381
  [k: string]: unknown;
380
382
  };
381
- device_id: string;
382
- compose_hash: string;
383
383
  }>;
384
384
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
385
385
  schema: T;
@@ -396,19 +396,19 @@ declare const updateDockerCompose: {
396
396
  status: "precondition_required";
397
397
  message: string;
398
398
  app_id: string;
399
+ compose_hash: string;
400
+ device_id: string;
399
401
  kms_info: {
400
402
  version: string;
401
403
  id: string;
402
404
  slug: string | null;
403
- url: string;
404
405
  chain_id: number | null;
406
+ url: string;
405
407
  kms_contract_address: `0x${string}`;
406
408
  gateway_app_id: `0x${string}`;
407
409
  } & {
408
410
  [k: string]: unknown;
409
411
  };
410
- device_id: string;
411
- compose_hash: string;
412
412
  }>>;
413
413
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
414
414
  schema: T;
@@ -32,16 +32,16 @@ export declare const UpdateOsImageRequestSchema: z.ZodEffects<z.ZodObject<{
32
32
  os_image_name: string;
33
33
  name?: string | undefined;
34
34
  id?: string | undefined;
35
+ uuid?: string | undefined;
35
36
  app_id?: string | undefined;
36
37
  instance_id?: string | undefined;
37
- uuid?: string | undefined;
38
38
  }, {
39
39
  os_image_name: string;
40
40
  name?: string | undefined;
41
41
  id?: string | undefined;
42
+ uuid?: string | undefined;
42
43
  app_id?: string | undefined;
43
44
  instance_id?: string | undefined;
44
- uuid?: string | undefined;
45
45
  }>, any, any>;
46
46
  export type UpdateOsImageRequest = z.infer<typeof UpdateOsImageRequestSchema>;
47
47
  declare const updateOsImage: {
@@ -131,19 +131,19 @@ export declare const UpdatePreLaunchScriptRequestSchema: z.ZodEffects<z.ZodEffec
131
131
  pre_launch_script: string;
132
132
  name?: string | undefined;
133
133
  id?: string | undefined;
134
+ uuid?: string | undefined;
134
135
  app_id?: string | undefined;
135
136
  instance_id?: string | undefined;
136
137
  compose_hash?: string | undefined;
137
- uuid?: string | undefined;
138
138
  transaction_hash?: string | undefined;
139
139
  }, {
140
140
  pre_launch_script: string;
141
141
  name?: string | undefined;
142
142
  id?: string | undefined;
143
+ uuid?: string | undefined;
143
144
  app_id?: string | undefined;
144
145
  instance_id?: string | undefined;
145
146
  compose_hash?: string | undefined;
146
- uuid?: string | undefined;
147
147
  transaction_hash?: string | undefined;
148
148
  }>, any, any>, {
149
149
  cvmId: any;
@@ -218,36 +218,36 @@ declare const UpdatePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
218
218
  status: "precondition_required";
219
219
  message: string;
220
220
  app_id: string;
221
+ compose_hash: string;
222
+ device_id: string;
221
223
  kms_info: {
222
224
  version: string;
223
225
  id: string;
224
226
  slug: string | null;
225
- url: string;
226
227
  chain_id: number | null;
228
+ url: string;
227
229
  kms_contract_address: `0x${string}`;
228
230
  gateway_app_id: `0x${string}`;
229
231
  } & {
230
232
  [k: string]: unknown;
231
233
  };
232
- device_id: string;
233
- compose_hash: string;
234
234
  }, {
235
235
  status: "precondition_required";
236
236
  message: string;
237
237
  app_id: string;
238
+ compose_hash: string;
239
+ device_id: string;
238
240
  kms_info: {
239
241
  version: string;
240
242
  id: string;
241
243
  slug: string | null;
242
- url: string;
243
244
  chain_id: number | null;
245
+ url: string;
244
246
  kms_contract_address: string | null;
245
247
  gateway_app_id: string | null;
246
248
  } & {
247
249
  [k: string]: unknown;
248
250
  };
249
- device_id: string;
250
- compose_hash: string;
251
251
  }>;
252
252
  export declare const UpdatePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject<{
253
253
  status: z.ZodLiteral<"in_progress">;
@@ -312,36 +312,36 @@ export declare const UpdatePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject<
312
312
  status: "precondition_required";
313
313
  message: string;
314
314
  app_id: string;
315
+ compose_hash: string;
316
+ device_id: string;
315
317
  kms_info: {
316
318
  version: string;
317
319
  id: string;
318
320
  slug: string | null;
319
- url: string;
320
321
  chain_id: number | null;
322
+ url: string;
321
323
  kms_contract_address: `0x${string}`;
322
324
  gateway_app_id: `0x${string}`;
323
325
  } & {
324
326
  [k: string]: unknown;
325
327
  };
326
- device_id: string;
327
- compose_hash: string;
328
328
  }, {
329
329
  status: "precondition_required";
330
330
  message: string;
331
331
  app_id: string;
332
+ compose_hash: string;
333
+ device_id: string;
332
334
  kms_info: {
333
335
  version: string;
334
336
  id: string;
335
337
  slug: string | null;
336
- url: string;
337
338
  chain_id: number | null;
339
+ url: string;
338
340
  kms_contract_address: string | null;
339
341
  gateway_app_id: string | null;
340
342
  } & {
341
343
  [k: string]: unknown;
342
344
  };
343
- device_id: string;
344
- compose_hash: string;
345
345
  }>]>;
346
346
  export type UpdatePreLaunchScriptRequest = z.input<typeof UpdatePreLaunchScriptRequestSchema>;
347
347
  export type UpdatePreLaunchScriptResult = z.infer<typeof UpdatePreLaunchScriptResultSchema>;
@@ -364,19 +364,19 @@ declare const updatePreLaunchScript: {
364
364
  status: "precondition_required";
365
365
  message: string;
366
366
  app_id: string;
367
+ compose_hash: string;
368
+ device_id: string;
367
369
  kms_info: {
368
370
  version: string;
369
371
  id: string;
370
372
  slug: string | null;
371
- url: string;
372
373
  chain_id: number | null;
374
+ url: string;
373
375
  kms_contract_address: `0x${string}`;
374
376
  gateway_app_id: `0x${string}`;
375
377
  } & {
376
378
  [k: string]: unknown;
377
379
  };
378
- device_id: string;
379
- compose_hash: string;
380
380
  }>;
381
381
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
382
382
  schema: T;
@@ -393,19 +393,19 @@ declare const updatePreLaunchScript: {
393
393
  status: "precondition_required";
394
394
  message: string;
395
395
  app_id: string;
396
+ compose_hash: string;
397
+ device_id: string;
396
398
  kms_info: {
397
399
  version: string;
398
400
  id: string;
399
401
  slug: string | null;
400
- url: string;
401
402
  chain_id: number | null;
403
+ url: string;
402
404
  kms_contract_address: `0x${string}`;
403
405
  gateway_app_id: `0x${string}`;
404
406
  } & {
405
407
  [k: string]: unknown;
406
408
  };
407
- device_id: string;
408
- compose_hash: string;
409
409
  }>>;
410
410
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
411
411
  schema: T;
@@ -43,18 +43,18 @@ export declare const UpgradePreLaunchScriptRequestSchema: z.ZodEffects<z.ZodEffe
43
43
  }, "strip", z.ZodTypeAny, {
44
44
  name?: string | undefined;
45
45
  id?: string | undefined;
46
+ uuid?: string | undefined;
46
47
  app_id?: string | undefined;
47
48
  instance_id?: string | undefined;
48
49
  compose_hash?: string | undefined;
49
- uuid?: string | undefined;
50
50
  transaction_hash?: string | undefined;
51
51
  }, {
52
52
  name?: string | undefined;
53
53
  id?: string | undefined;
54
+ uuid?: string | undefined;
54
55
  app_id?: string | undefined;
55
56
  instance_id?: string | undefined;
56
57
  compose_hash?: string | undefined;
57
- uuid?: string | undefined;
58
58
  transaction_hash?: string | undefined;
59
59
  }>, any, any>, {
60
60
  cvmId: any;
@@ -128,36 +128,36 @@ declare const UpgradePreLaunchScriptPreconditionRequiredSchema: z.ZodObject<{
128
128
  status: "precondition_required";
129
129
  message: string;
130
130
  app_id: string;
131
+ compose_hash: string;
132
+ device_id: string;
131
133
  kms_info: {
132
134
  version: string;
133
135
  id: string;
134
136
  slug: string | null;
135
- url: string;
136
137
  chain_id: number | null;
138
+ url: string;
137
139
  kms_contract_address: `0x${string}`;
138
140
  gateway_app_id: `0x${string}`;
139
141
  } & {
140
142
  [k: string]: unknown;
141
143
  };
142
- device_id: string;
143
- compose_hash: string;
144
144
  }, {
145
145
  status: "precondition_required";
146
146
  message: string;
147
147
  app_id: string;
148
+ compose_hash: string;
149
+ device_id: string;
148
150
  kms_info: {
149
151
  version: string;
150
152
  id: string;
151
153
  slug: string | null;
152
- url: string;
153
154
  chain_id: number | null;
155
+ url: string;
154
156
  kms_contract_address: string | null;
155
157
  gateway_app_id: string | null;
156
158
  } & {
157
159
  [k: string]: unknown;
158
160
  };
159
- device_id: string;
160
- compose_hash: string;
161
161
  }>;
162
162
  export declare const UpgradePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject<{
163
163
  status: z.ZodLiteral<"in_progress">;
@@ -222,36 +222,36 @@ export declare const UpgradePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject
222
222
  status: "precondition_required";
223
223
  message: string;
224
224
  app_id: string;
225
+ compose_hash: string;
226
+ device_id: string;
225
227
  kms_info: {
226
228
  version: string;
227
229
  id: string;
228
230
  slug: string | null;
229
- url: string;
230
231
  chain_id: number | null;
232
+ url: string;
231
233
  kms_contract_address: `0x${string}`;
232
234
  gateway_app_id: `0x${string}`;
233
235
  } & {
234
236
  [k: string]: unknown;
235
237
  };
236
- device_id: string;
237
- compose_hash: string;
238
238
  }, {
239
239
  status: "precondition_required";
240
240
  message: string;
241
241
  app_id: string;
242
+ compose_hash: string;
243
+ device_id: string;
242
244
  kms_info: {
243
245
  version: string;
244
246
  id: string;
245
247
  slug: string | null;
246
- url: string;
247
248
  chain_id: number | null;
249
+ url: string;
248
250
  kms_contract_address: string | null;
249
251
  gateway_app_id: string | null;
250
252
  } & {
251
253
  [k: string]: unknown;
252
254
  };
253
- device_id: string;
254
- compose_hash: string;
255
255
  }>]>;
256
256
  export type UpgradePreLaunchScriptRequest = z.input<typeof UpgradePreLaunchScriptRequestSchema>;
257
257
  export type UpgradePreLaunchScriptResult = z.infer<typeof UpgradePreLaunchScriptResultSchema>;
@@ -266,19 +266,19 @@ declare const upgradePreLaunchScript: {
266
266
  status: "precondition_required";
267
267
  message: string;
268
268
  app_id: string;
269
+ compose_hash: string;
270
+ device_id: string;
269
271
  kms_info: {
270
272
  version: string;
271
273
  id: string;
272
274
  slug: string | null;
273
- url: string;
274
275
  chain_id: number | null;
276
+ url: string;
275
277
  kms_contract_address: `0x${string}`;
276
278
  gateway_app_id: `0x${string}`;
277
279
  } & {
278
280
  [k: string]: unknown;
279
281
  };
280
- device_id: string;
281
- compose_hash: string;
282
282
  }>;
283
283
  <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
284
284
  schema: T;
@@ -295,19 +295,19 @@ declare const upgradePreLaunchScript: {
295
295
  status: "precondition_required";
296
296
  message: string;
297
297
  app_id: string;
298
+ compose_hash: string;
299
+ device_id: string;
298
300
  kms_info: {
299
301
  version: string;
300
302
  id: string;
301
303
  slug: string | null;
302
- url: string;
303
304
  chain_id: number | null;
305
+ url: string;
304
306
  kms_contract_address: `0x${string}`;
305
307
  gateway_app_id: `0x${string}`;
306
308
  } & {
307
309
  [k: string]: unknown;
308
310
  };
309
- device_id: string;
310
- compose_hash: string;
311
311
  }>>;
312
312
  <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
313
313
  schema: T;
@@ -6,13 +6,13 @@ export declare const GetKmsListRequestSchema: z.ZodObject<{
6
6
  page_size: z.ZodOptional<z.ZodNumber>;
7
7
  is_onchain: z.ZodOptional<z.ZodBoolean>;
8
8
  }, "strict", z.ZodTypeAny, {
9
+ is_onchain?: boolean | undefined;
9
10
  page?: number | undefined;
10
11
  page_size?: number | undefined;
11
- is_onchain?: boolean | undefined;
12
12
  }, {
13
+ is_onchain?: boolean | undefined;
13
14
  page?: number | undefined;
14
15
  page_size?: number | undefined;
15
- is_onchain?: boolean | undefined;
16
16
  }>;
17
17
  export declare const GetKmsListSchema: z.ZodObject<{
18
18
  items: z.ZodArray<z.ZodEffects<z.ZodObject<{
@@ -61,6 +61,7 @@ export declare const GetKmsListSchema: z.ZodObject<{
61
61
  page_size: z.ZodNumber;
62
62
  pages: z.ZodNumber;
63
63
  }, "strict", z.ZodTypeAny, {
64
+ total: number;
64
65
  items: z.objectOutputType<{
65
66
  id: z.ZodString;
66
67
  slug: z.ZodNullable<z.ZodString>;
@@ -70,11 +71,11 @@ export declare const GetKmsListSchema: z.ZodObject<{
70
71
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
71
72
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
72
73
  }, z.ZodTypeAny, "passthrough">[];
73
- total: number;
74
74
  page: number;
75
75
  page_size: number;
76
76
  pages: number;
77
77
  }, {
78
+ total: number;
78
79
  items: z.objectInputType<{
79
80
  id: z.ZodString;
80
81
  slug: z.ZodNullable<z.ZodString>;
@@ -84,7 +85,6 @@ export declare const GetKmsListSchema: z.ZodObject<{
84
85
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
85
86
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
86
87
  }, z.ZodTypeAny, "passthrough">[];
87
- total: number;
88
88
  page: number;
89
89
  page_size: number;
90
90
  pages: number;
@@ -95,41 +95,41 @@ export type GetKmsListResponse = z.infer<typeof GetKmsListSchema> & {
95
95
  };
96
96
  declare const getKmsList: {
97
97
  (client: Client<import("../..").ApiVersion>, params?: {
98
+ is_onchain?: boolean | undefined;
98
99
  page?: number | undefined;
99
100
  page_size?: number | undefined;
100
- is_onchain?: boolean | undefined;
101
101
  } | undefined): Promise<GetKmsListResponse>;
102
102
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: {
103
+ is_onchain?: boolean | undefined;
103
104
  page?: number | undefined;
104
105
  page_size?: number | undefined;
105
- is_onchain?: boolean | undefined;
106
106
  } | undefined, parameters?: {
107
107
  schema: T;
108
108
  } | undefined): Promise<z.TypeOf<T>>;
109
109
  (client: Client<import("../..").ApiVersion>, params?: {
110
+ is_onchain?: boolean | undefined;
110
111
  page?: number | undefined;
111
112
  page_size?: number | undefined;
112
- is_onchain?: boolean | undefined;
113
113
  } | undefined, parameters?: {
114
114
  schema: false;
115
115
  } | undefined): Promise<unknown>;
116
116
  }, safeGetKmsList: {
117
117
  (client: Client<import("../..").ApiVersion>, params?: {
118
+ is_onchain?: boolean | undefined;
118
119
  page?: number | undefined;
119
120
  page_size?: number | undefined;
120
- is_onchain?: boolean | undefined;
121
121
  } | undefined): Promise<import("../..").SafeResult<GetKmsListResponse>>;
122
122
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: {
123
+ is_onchain?: boolean | undefined;
123
124
  page?: number | undefined;
124
125
  page_size?: number | undefined;
125
- is_onchain?: boolean | undefined;
126
126
  } | undefined, parameters?: {
127
127
  schema: T;
128
128
  } | undefined): Promise<import("../..").SafeResult<z.TypeOf<T>>>;
129
129
  (client: Client<import("../..").ApiVersion>, params?: {
130
+ is_onchain?: boolean | undefined;
130
131
  page?: number | undefined;
131
132
  page_size?: number | undefined;
132
- is_onchain?: boolean | undefined;
133
133
  } | undefined, parameters?: {
134
134
  schema: false;
135
135
  } | undefined): Promise<import("../..").SafeResult<unknown>>;