@phala/cloud 0.2.10 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +100 -161
- package/dist/actions/apps/check_app_is_allowed.d.ts +14 -14
- package/dist/actions/apps/create_app_instance.d.ts +22 -22
- package/dist/actions/apps/get_app_attestation.d.ts +43 -33
- package/dist/actions/apps/get_app_device_allowlist.d.ts +51 -50
- package/dist/actions/apps/get_app_list.d.ts +2 -2
- package/dist/actions/cvms/check_cvm_is_allowed.d.ts +40 -102
- package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +12 -12
- package/dist/actions/cvms/commit_cvm_provision.d.ts +11 -135
- package/dist/actions/cvms/commit_cvm_update.d.ts +2 -2
- package/dist/actions/cvms/confirm_cvm_patch.d.ts +2 -2
- package/dist/actions/cvms/delete_cvm.d.ts +2 -2
- package/dist/actions/cvms/get_available_os_images.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_attestation.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +166 -22
- package/dist/actions/cvms/get_cvm_containers_stats.d.ts +10 -10
- package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_info.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_list.d.ts +8 -10
- package/dist/actions/cvms/get_cvm_network.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_state.d.ts +6 -6
- package/dist/actions/cvms/get_cvm_stats.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_status_batch.d.ts +253 -30
- package/dist/actions/cvms/get_cvm_user_config.d.ts +2 -2
- package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +2 -2
- package/dist/actions/cvms/patch_cvm.d.ts +34 -18
- package/dist/actions/cvms/provision_cvm.d.ts +900 -51
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +253 -43
- package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +27 -58
- package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +120 -165
- package/dist/actions/cvms/replicate_cvm.d.ts +7 -72
- package/dist/actions/cvms/restart_cvm.d.ts +7 -72
- package/dist/actions/cvms/shutdown_cvm.d.ts +9 -72
- package/dist/actions/cvms/start_cvm.d.ts +7 -72
- package/dist/actions/cvms/stop_cvm.d.ts +7 -72
- package/dist/actions/cvms/update_cvm_envs.d.ts +36 -20
- package/dist/actions/cvms/update_cvm_resources.d.ts +26 -4
- package/dist/actions/cvms/update_cvm_visibility.d.ts +26 -24
- package/dist/actions/cvms/update_docker_compose.d.ts +51 -20
- package/dist/actions/cvms/update_os_image.d.ts +2 -2
- package/dist/actions/cvms/update_prelaunch_script.d.ts +51 -20
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +36 -20
- package/dist/actions/get_available_nodes.d.ts +259 -0
- package/dist/actions/get_cvm_create_resources.d.ts +351 -0
- package/dist/actions/index.d.ts +6 -2
- package/dist/actions/kms/get_kms_contract.d.ts +59 -0
- package/dist/actions/kms/get_kms_list.d.ts +25 -10
- package/dist/actions/kms/get_kms_onchain_detail.d.ts +54 -0
- package/dist/actions/kms/list_kms_contract_nodes.d.ts +98 -0
- package/dist/actions/kms/list_kms_contracts.d.ts +152 -0
- package/dist/actions/kms/next_app_ids.d.ts +6 -6
- package/dist/actions/list-instance-types.d.ts +12 -12
- package/dist/actions/ssh_keys/create_ssh_key.d.ts +2 -2
- package/dist/actions/ssh_keys/list_ssh_keys.d.ts +4 -4
- package/dist/actions/workspaces/get_workspace.d.ts +4 -0
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +175 -14
- package/dist/actions/workspaces/list_workspaces.d.ts +126 -0
- package/dist/client.d.ts +4 -1
- package/dist/create-client.d.ts +48 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1779 -1250
- package/dist/index.mjs +1704 -1194
- package/dist/types/app_compose.d.ts +50 -5
- package/dist/types/app_info_v20251028.d.ts +172 -128
- package/dist/types/app_info_v20260121.d.ts +2814 -490
- package/dist/types/app_revision.d.ts +8 -8
- package/dist/types/client.d.ts +2 -2
- package/dist/types/cvm_id.d.ts +6 -6
- package/dist/types/cvm_info.d.ts +98 -98
- package/dist/types/cvm_info_v20251028.d.ts +70 -47
- package/dist/types/cvm_info_v20260121.d.ts +1125 -148
- package/dist/types/kms_contract.d.ts +64 -0
- package/dist/types/kms_info.d.ts +8 -0
- package/dist/types/version-mappings.d.ts +43 -6
- package/dist/utils/error_codes.d.ts +1 -0
- package/dist/utils/errors.d.ts +30 -1
- package/dist/utils/get_compose_hash.d.ts +24 -0
- package/dist/utils/get_mr_config_id.d.ts +55 -0
- package/dist/utils/index.d.ts +3 -2
- package/package.json +3 -3
|
@@ -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;
|
|
@@ -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,41 +217,44 @@ 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";
|
|
219
224
|
message: string;
|
|
220
225
|
app_id: string;
|
|
226
|
+
compose_hash: string;
|
|
227
|
+
device_id: string;
|
|
221
228
|
kms_info: {
|
|
222
229
|
version: string;
|
|
223
230
|
id: string;
|
|
224
231
|
slug: string | null;
|
|
225
|
-
url: string;
|
|
226
232
|
chain_id: number | null;
|
|
233
|
+
url: string;
|
|
227
234
|
kms_contract_address: `0x${string}`;
|
|
228
235
|
gateway_app_id: `0x${string}`;
|
|
236
|
+
k256_pubkey?: string | null | undefined;
|
|
229
237
|
} & {
|
|
230
238
|
[k: string]: unknown;
|
|
231
239
|
};
|
|
232
|
-
device_id: string;
|
|
233
|
-
compose_hash: string;
|
|
234
240
|
}, {
|
|
235
241
|
status: "precondition_required";
|
|
236
242
|
message: string;
|
|
237
243
|
app_id: string;
|
|
244
|
+
compose_hash: string;
|
|
245
|
+
device_id: string;
|
|
238
246
|
kms_info: {
|
|
239
247
|
version: string;
|
|
240
248
|
id: string;
|
|
241
249
|
slug: string | null;
|
|
242
|
-
url: string;
|
|
243
250
|
chain_id: number | null;
|
|
251
|
+
url: string;
|
|
244
252
|
kms_contract_address: string | null;
|
|
245
253
|
gateway_app_id: string | null;
|
|
254
|
+
k256_pubkey?: string | null | undefined;
|
|
246
255
|
} & {
|
|
247
256
|
[k: string]: unknown;
|
|
248
257
|
};
|
|
249
|
-
device_id: string;
|
|
250
|
-
compose_hash: string;
|
|
251
258
|
}>;
|
|
252
259
|
export declare const UpdatePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
253
260
|
status: z.ZodLiteral<"in_progress">;
|
|
@@ -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,41 +318,53 @@ 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";
|
|
313
325
|
message: string;
|
|
314
326
|
app_id: string;
|
|
327
|
+
compose_hash: string;
|
|
328
|
+
device_id: string;
|
|
315
329
|
kms_info: {
|
|
316
330
|
version: string;
|
|
317
331
|
id: string;
|
|
318
332
|
slug: string | null;
|
|
319
|
-
url: string;
|
|
320
333
|
chain_id: number | null;
|
|
334
|
+
url: string;
|
|
321
335
|
kms_contract_address: `0x${string}`;
|
|
322
336
|
gateway_app_id: `0x${string}`;
|
|
337
|
+
k256_pubkey?: string | null | undefined;
|
|
323
338
|
} & {
|
|
324
339
|
[k: string]: unknown;
|
|
325
340
|
};
|
|
326
|
-
device_id: string;
|
|
327
|
-
compose_hash: string;
|
|
328
341
|
}, {
|
|
329
342
|
status: "precondition_required";
|
|
330
343
|
message: string;
|
|
331
344
|
app_id: string;
|
|
345
|
+
compose_hash: string;
|
|
346
|
+
device_id: string;
|
|
332
347
|
kms_info: {
|
|
333
348
|
version: string;
|
|
334
349
|
id: string;
|
|
335
350
|
slug: string | null;
|
|
336
|
-
url: string;
|
|
337
351
|
chain_id: number | null;
|
|
352
|
+
url: string;
|
|
338
353
|
kms_contract_address: string | null;
|
|
339
354
|
gateway_app_id: string | null;
|
|
355
|
+
k256_pubkey?: string | null | undefined;
|
|
340
356
|
} & {
|
|
341
357
|
[k: string]: unknown;
|
|
342
358
|
};
|
|
343
|
-
|
|
344
|
-
|
|
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>;
|
|
@@ -364,19 +387,23 @@ declare const updatePreLaunchScript: {
|
|
|
364
387
|
status: "precondition_required";
|
|
365
388
|
message: string;
|
|
366
389
|
app_id: string;
|
|
390
|
+
compose_hash: string;
|
|
391
|
+
device_id: string;
|
|
367
392
|
kms_info: {
|
|
368
393
|
version: string;
|
|
369
394
|
id: string;
|
|
370
395
|
slug: string | null;
|
|
371
|
-
url: string;
|
|
372
396
|
chain_id: number | null;
|
|
397
|
+
url: string;
|
|
373
398
|
kms_contract_address: `0x${string}`;
|
|
374
399
|
gateway_app_id: `0x${string}`;
|
|
400
|
+
k256_pubkey?: string | null | undefined;
|
|
375
401
|
} & {
|
|
376
402
|
[k: string]: unknown;
|
|
377
403
|
};
|
|
378
|
-
|
|
379
|
-
|
|
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;
|
|
@@ -393,19 +420,23 @@ declare const updatePreLaunchScript: {
|
|
|
393
420
|
status: "precondition_required";
|
|
394
421
|
message: string;
|
|
395
422
|
app_id: string;
|
|
423
|
+
compose_hash: string;
|
|
424
|
+
device_id: string;
|
|
396
425
|
kms_info: {
|
|
397
426
|
version: string;
|
|
398
427
|
id: string;
|
|
399
428
|
slug: string | null;
|
|
400
|
-
url: string;
|
|
401
429
|
chain_id: number | null;
|
|
430
|
+
url: string;
|
|
402
431
|
kms_contract_address: `0x${string}`;
|
|
403
432
|
gateway_app_id: `0x${string}`;
|
|
433
|
+
k256_pubkey?: string | null | undefined;
|
|
404
434
|
} & {
|
|
405
435
|
[k: string]: unknown;
|
|
406
436
|
};
|
|
407
|
-
|
|
408
|
-
|
|
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;
|
|
@@ -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;
|
|
@@ -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,41 +127,44 @@ 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";
|
|
129
134
|
message: string;
|
|
130
135
|
app_id: string;
|
|
136
|
+
compose_hash: string;
|
|
137
|
+
device_id: string;
|
|
131
138
|
kms_info: {
|
|
132
139
|
version: string;
|
|
133
140
|
id: string;
|
|
134
141
|
slug: string | null;
|
|
135
|
-
url: string;
|
|
136
142
|
chain_id: number | null;
|
|
143
|
+
url: string;
|
|
137
144
|
kms_contract_address: `0x${string}`;
|
|
138
145
|
gateway_app_id: `0x${string}`;
|
|
146
|
+
k256_pubkey?: string | null | undefined;
|
|
139
147
|
} & {
|
|
140
148
|
[k: string]: unknown;
|
|
141
149
|
};
|
|
142
|
-
device_id: string;
|
|
143
|
-
compose_hash: string;
|
|
144
150
|
}, {
|
|
145
151
|
status: "precondition_required";
|
|
146
152
|
message: string;
|
|
147
153
|
app_id: string;
|
|
154
|
+
compose_hash: string;
|
|
155
|
+
device_id: string;
|
|
148
156
|
kms_info: {
|
|
149
157
|
version: string;
|
|
150
158
|
id: string;
|
|
151
159
|
slug: string | null;
|
|
152
|
-
url: string;
|
|
153
160
|
chain_id: number | null;
|
|
161
|
+
url: string;
|
|
154
162
|
kms_contract_address: string | null;
|
|
155
163
|
gateway_app_id: string | null;
|
|
164
|
+
k256_pubkey?: string | null | undefined;
|
|
156
165
|
} & {
|
|
157
166
|
[k: string]: unknown;
|
|
158
167
|
};
|
|
159
|
-
device_id: string;
|
|
160
|
-
compose_hash: string;
|
|
161
168
|
}>;
|
|
162
169
|
export declare const UpgradePreLaunchScriptResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
163
170
|
status: z.ZodLiteral<"in_progress">;
|
|
@@ -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,41 +228,44 @@ 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";
|
|
223
235
|
message: string;
|
|
224
236
|
app_id: string;
|
|
237
|
+
compose_hash: string;
|
|
238
|
+
device_id: string;
|
|
225
239
|
kms_info: {
|
|
226
240
|
version: string;
|
|
227
241
|
id: string;
|
|
228
242
|
slug: string | null;
|
|
229
|
-
url: string;
|
|
230
243
|
chain_id: number | null;
|
|
244
|
+
url: string;
|
|
231
245
|
kms_contract_address: `0x${string}`;
|
|
232
246
|
gateway_app_id: `0x${string}`;
|
|
247
|
+
k256_pubkey?: string | null | undefined;
|
|
233
248
|
} & {
|
|
234
249
|
[k: string]: unknown;
|
|
235
250
|
};
|
|
236
|
-
device_id: string;
|
|
237
|
-
compose_hash: string;
|
|
238
251
|
}, {
|
|
239
252
|
status: "precondition_required";
|
|
240
253
|
message: string;
|
|
241
254
|
app_id: string;
|
|
255
|
+
compose_hash: string;
|
|
256
|
+
device_id: string;
|
|
242
257
|
kms_info: {
|
|
243
258
|
version: string;
|
|
244
259
|
id: string;
|
|
245
260
|
slug: string | null;
|
|
246
|
-
url: string;
|
|
247
261
|
chain_id: number | null;
|
|
262
|
+
url: string;
|
|
248
263
|
kms_contract_address: string | null;
|
|
249
264
|
gateway_app_id: string | null;
|
|
265
|
+
k256_pubkey?: string | null | undefined;
|
|
250
266
|
} & {
|
|
251
267
|
[k: string]: unknown;
|
|
252
268
|
};
|
|
253
|
-
device_id: string;
|
|
254
|
-
compose_hash: string;
|
|
255
269
|
}>]>;
|
|
256
270
|
export type UpgradePreLaunchScriptRequest = z.input<typeof UpgradePreLaunchScriptRequestSchema>;
|
|
257
271
|
export type UpgradePreLaunchScriptResult = z.infer<typeof UpgradePreLaunchScriptResultSchema>;
|
|
@@ -266,19 +280,20 @@ declare const upgradePreLaunchScript: {
|
|
|
266
280
|
status: "precondition_required";
|
|
267
281
|
message: string;
|
|
268
282
|
app_id: string;
|
|
283
|
+
compose_hash: string;
|
|
284
|
+
device_id: string;
|
|
269
285
|
kms_info: {
|
|
270
286
|
version: string;
|
|
271
287
|
id: string;
|
|
272
288
|
slug: string | null;
|
|
273
|
-
url: string;
|
|
274
289
|
chain_id: number | null;
|
|
290
|
+
url: string;
|
|
275
291
|
kms_contract_address: `0x${string}`;
|
|
276
292
|
gateway_app_id: `0x${string}`;
|
|
293
|
+
k256_pubkey?: string | null | undefined;
|
|
277
294
|
} & {
|
|
278
295
|
[k: string]: unknown;
|
|
279
296
|
};
|
|
280
|
-
device_id: string;
|
|
281
|
-
compose_hash: string;
|
|
282
297
|
}>;
|
|
283
298
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
|
|
284
299
|
schema: T;
|
|
@@ -295,19 +310,20 @@ declare const upgradePreLaunchScript: {
|
|
|
295
310
|
status: "precondition_required";
|
|
296
311
|
message: string;
|
|
297
312
|
app_id: string;
|
|
313
|
+
compose_hash: string;
|
|
314
|
+
device_id: string;
|
|
298
315
|
kms_info: {
|
|
299
316
|
version: string;
|
|
300
317
|
id: string;
|
|
301
318
|
slug: string | null;
|
|
302
|
-
url: string;
|
|
303
319
|
chain_id: number | null;
|
|
320
|
+
url: string;
|
|
304
321
|
kms_contract_address: `0x${string}`;
|
|
305
322
|
gateway_app_id: `0x${string}`;
|
|
323
|
+
k256_pubkey?: string | null | undefined;
|
|
306
324
|
} & {
|
|
307
325
|
[k: string]: unknown;
|
|
308
326
|
};
|
|
309
|
-
device_id: string;
|
|
310
|
-
compose_hash: string;
|
|
311
327
|
}>>;
|
|
312
328
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
|
|
313
329
|
schema: T;
|