@phala/cloud 0.6.6-beta.1 → 0.6.7-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/dist/actions/apps/create_app_instance.d.ts +38 -0
- package/dist/actions/apps/get_app_pending_updates.d.ts +93 -0
- package/dist/actions/blockchains/remove_compose_hash.d.ts +77 -0
- package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +83 -11
- package/dist/actions/cvms/commit_cvm_provision.d.ts +191 -0
- package/dist/actions/cvms/commit_cvm_update.d.ts +77 -3
- package/dist/actions/cvms/confirm_cvm_patch.d.ts +80 -3
- package/dist/actions/cvms/cvm_draft.d.ts +1338 -0
- package/dist/actions/cvms/cvm_update_response.d.ts +154 -0
- package/dist/actions/cvms/get_cvm_init_scripts.d.ts +10 -16
- package/dist/actions/cvms/patch_cvm.d.ts +206 -62
- package/dist/actions/cvms/provision_cvm.d.ts +5 -7
- package/dist/actions/cvms/put_cvm_init_scripts.d.ts +49 -10
- package/dist/actions/cvms/update_cvm_envs.d.ts +129 -19
- package/dist/actions/cvms/update_docker_compose.d.ts +134 -20
- package/dist/actions/cvms/update_prelaunch_script.d.ts +134 -20
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +145 -15
- package/dist/actions/cvms/wait_for_cvm_finality.d.ts +153 -0
- package/dist/actions/index.d.ts +5 -1
- package/dist/actions/kms/get_app_env_encrypt_pubkey.d.ts +31 -7
- package/dist/create-client.d.ts +1267 -22
- package/dist/index.js +2540 -1784
- package/dist/index.mjs +2509 -1785
- package/dist/types/app_compose.d.ts +8 -6
- package/dist/types/cvm_finality.d.ts +134 -0
- package/dist/types/cvm_info.d.ts +266 -0
- package/dist/types/cvm_info_v20251028.d.ts +37 -0
- package/dist/types/cvm_info_v20260121.d.ts +111 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -61,12 +61,14 @@ export declare const ComposeRunnerSchema: z.ZodEnum<{
|
|
|
61
61
|
"nerdctl-compose": "nerdctl-compose";
|
|
62
62
|
}>;
|
|
63
63
|
export type ComposeRunner = z.infer<typeof ComposeRunnerSchema>;
|
|
64
|
-
/**
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
/**
|
|
65
|
+
* Name of an init script provided by Phala Cloud. Phala Cloud owns the list, the
|
|
66
|
+
* run order and the selection rules, so any non-empty string is sent as is and the
|
|
67
|
+
* server rejects names it does not know. The known names only feed editor
|
|
68
|
+
* autocomplete; use `getCvmInitScripts` to see what a CVM can select.
|
|
69
|
+
*/
|
|
70
|
+
export type InitScriptSlug = "docker_cleanup" | "runtime_tmpfs" | "env_merge" | (string & {});
|
|
71
|
+
export declare const InitScriptSlugSchema: z.ZodType<InitScriptSlug>;
|
|
70
72
|
export declare const LooseAppComposeSchema: z.ZodObject<{
|
|
71
73
|
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
74
|
docker_compose_file: z.ZodOptional<z.ZodString>;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare function openEnum<const T extends readonly [string, ...string[]]>(values: T): z.ZodUnion<readonly [z.ZodEnum<{ [k in T[number]]: k; } extends infer T_1 ? { [k in keyof T_1]: T_1[k]; } : never>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
3
|
+
export declare const CvmFinalityWaitPhaseSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
4
|
+
applying: "applying";
|
|
5
|
+
awaiting_finality: "awaiting_finality";
|
|
6
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
7
|
+
export type CvmFinalityWaitPhase = z.infer<typeof CvmFinalityWaitPhaseSchema>;
|
|
8
|
+
export declare const CvmFinalityStageSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
9
|
+
finalized: "finalized";
|
|
10
|
+
safe: "safe";
|
|
11
|
+
submitted: "submitted";
|
|
12
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
13
|
+
export type CvmFinalityStage = z.infer<typeof CvmFinalityStageSchema>;
|
|
14
|
+
/** Phala Cloud's latest view of an accepted on-chain CVM operation. */
|
|
15
|
+
export declare const CvmFinalityWaitSchema: z.ZodObject<{
|
|
16
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
17
|
+
create: "create";
|
|
18
|
+
update: "update";
|
|
19
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
20
|
+
correlation_id: z.ZodString;
|
|
21
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
22
|
+
applying: "applying";
|
|
23
|
+
awaiting_finality: "awaiting_finality";
|
|
24
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
25
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
26
|
+
finalized: "finalized";
|
|
27
|
+
safe: "safe";
|
|
28
|
+
submitted: "submitted";
|
|
29
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
30
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
31
|
+
applying: "applying";
|
|
32
|
+
finalized: "finalized";
|
|
33
|
+
safe: "safe";
|
|
34
|
+
submitted: "submitted";
|
|
35
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
36
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
37
|
+
hash: z.ZodString;
|
|
38
|
+
block_number: z.ZodNumber;
|
|
39
|
+
chain_id: z.ZodNumber;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
finality: z.ZodObject<{
|
|
42
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
43
|
+
finalized: "finalized";
|
|
44
|
+
latest: "latest";
|
|
45
|
+
safe: "safe";
|
|
46
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
47
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
48
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
49
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
export type CvmFinalityWait = z.infer<typeof CvmFinalityWaitSchema>;
|
|
53
|
+
export declare const OptionalCvmFinalityWaitSchema: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
54
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
55
|
+
create: "create";
|
|
56
|
+
update: "update";
|
|
57
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
58
|
+
correlation_id: z.ZodString;
|
|
59
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
60
|
+
applying: "applying";
|
|
61
|
+
awaiting_finality: "awaiting_finality";
|
|
62
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
63
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
64
|
+
finalized: "finalized";
|
|
65
|
+
safe: "safe";
|
|
66
|
+
submitted: "submitted";
|
|
67
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
68
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
69
|
+
applying: "applying";
|
|
70
|
+
finalized: "finalized";
|
|
71
|
+
safe: "safe";
|
|
72
|
+
submitted: "submitted";
|
|
73
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
74
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
75
|
+
hash: z.ZodString;
|
|
76
|
+
block_number: z.ZodNumber;
|
|
77
|
+
chain_id: z.ZodNumber;
|
|
78
|
+
}, z.core.$strip>>;
|
|
79
|
+
finality: z.ZodObject<{
|
|
80
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
81
|
+
finalized: "finalized";
|
|
82
|
+
latest: "latest";
|
|
83
|
+
safe: "safe";
|
|
84
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
85
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
86
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
87
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
}, z.core.$strip>>>>;
|
|
90
|
+
export declare const CvmFinalityWaitAcceptedSchema: z.ZodObject<{
|
|
91
|
+
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
92
|
+
in_progress: "in_progress";
|
|
93
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
94
|
+
message: z.ZodOptional<z.ZodString>;
|
|
95
|
+
correlation_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string | null | undefined>>;
|
|
96
|
+
finality_wait: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
97
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
98
|
+
create: "create";
|
|
99
|
+
update: "update";
|
|
100
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
101
|
+
correlation_id: z.ZodString;
|
|
102
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
103
|
+
applying: "applying";
|
|
104
|
+
awaiting_finality: "awaiting_finality";
|
|
105
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
106
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
107
|
+
finalized: "finalized";
|
|
108
|
+
safe: "safe";
|
|
109
|
+
submitted: "submitted";
|
|
110
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
111
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
112
|
+
applying: "applying";
|
|
113
|
+
finalized: "finalized";
|
|
114
|
+
safe: "safe";
|
|
115
|
+
submitted: "submitted";
|
|
116
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
117
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
118
|
+
hash: z.ZodString;
|
|
119
|
+
block_number: z.ZodNumber;
|
|
120
|
+
chain_id: z.ZodNumber;
|
|
121
|
+
}, z.core.$strip>>;
|
|
122
|
+
finality: z.ZodObject<{
|
|
123
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
124
|
+
finalized: "finalized";
|
|
125
|
+
latest: "latest";
|
|
126
|
+
safe: "safe";
|
|
127
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
128
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
129
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
130
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
131
|
+
}, z.core.$strip>;
|
|
132
|
+
}, z.core.$strip>>>>;
|
|
133
|
+
}, z.core.$strip>;
|
|
134
|
+
export type CvmFinalityWaitAccepted = z.infer<typeof CvmFinalityWaitAcceptedSchema>;
|
package/dist/types/cvm_info.d.ts
CHANGED
|
@@ -6,6 +6,44 @@ import type { ApiVersion } from "./client";
|
|
|
6
6
|
export declare const VMV20260121Schema: z.ZodObject<{
|
|
7
7
|
name: z.ZodString;
|
|
8
8
|
status: z.ZodString;
|
|
9
|
+
correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
finality_wait: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
|
+
create: "create";
|
|
13
|
+
update: "update";
|
|
14
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
15
|
+
correlation_id: z.ZodString;
|
|
16
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
17
|
+
applying: "applying";
|
|
18
|
+
awaiting_finality: "awaiting_finality";
|
|
19
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
20
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
21
|
+
finalized: "finalized";
|
|
22
|
+
safe: "safe";
|
|
23
|
+
submitted: "submitted";
|
|
24
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
25
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
26
|
+
applying: "applying";
|
|
27
|
+
finalized: "finalized";
|
|
28
|
+
safe: "safe";
|
|
29
|
+
submitted: "submitted";
|
|
30
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
31
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
32
|
+
hash: z.ZodString;
|
|
33
|
+
block_number: z.ZodNumber;
|
|
34
|
+
chain_id: z.ZodNumber;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
finality: z.ZodObject<{
|
|
37
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
38
|
+
finalized: "finalized";
|
|
39
|
+
latest: "latest";
|
|
40
|
+
safe: "safe";
|
|
41
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
42
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
43
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
}, z.core.$strip>>>>;
|
|
9
47
|
teepod_id: z.ZodNumber;
|
|
10
48
|
teepod: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11
49
|
id: z.ZodNumber;
|
|
@@ -34,6 +72,44 @@ export type VMV20260121 = z.infer<typeof VMV20260121Schema>;
|
|
|
34
72
|
export declare const VMV20260522Schema: z.ZodObject<{
|
|
35
73
|
name: z.ZodString;
|
|
36
74
|
status: z.ZodString;
|
|
75
|
+
correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
+
finality_wait: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
77
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
78
|
+
create: "create";
|
|
79
|
+
update: "update";
|
|
80
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
81
|
+
correlation_id: z.ZodString;
|
|
82
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
83
|
+
applying: "applying";
|
|
84
|
+
awaiting_finality: "awaiting_finality";
|
|
85
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
86
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
87
|
+
finalized: "finalized";
|
|
88
|
+
safe: "safe";
|
|
89
|
+
submitted: "submitted";
|
|
90
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
91
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
92
|
+
applying: "applying";
|
|
93
|
+
finalized: "finalized";
|
|
94
|
+
safe: "safe";
|
|
95
|
+
submitted: "submitted";
|
|
96
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
97
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
98
|
+
hash: z.ZodString;
|
|
99
|
+
block_number: z.ZodNumber;
|
|
100
|
+
chain_id: z.ZodNumber;
|
|
101
|
+
}, z.core.$strip>>;
|
|
102
|
+
finality: z.ZodObject<{
|
|
103
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
104
|
+
finalized: "finalized";
|
|
105
|
+
latest: "latest";
|
|
106
|
+
safe: "safe";
|
|
107
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
108
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
109
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
110
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
}, z.core.$strip>>>>;
|
|
37
113
|
teepod_id: z.ZodNumber;
|
|
38
114
|
teepod: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
39
115
|
id: z.ZodNumber;
|
|
@@ -62,6 +138,44 @@ export type VMV20260522 = z.infer<typeof VMV20260522Schema>;
|
|
|
62
138
|
export declare const VMAnySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
63
139
|
name: z.ZodString;
|
|
64
140
|
status: z.ZodString;
|
|
141
|
+
correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
142
|
+
finality_wait: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
143
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
144
|
+
create: "create";
|
|
145
|
+
update: "update";
|
|
146
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
147
|
+
correlation_id: z.ZodString;
|
|
148
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
149
|
+
applying: "applying";
|
|
150
|
+
awaiting_finality: "awaiting_finality";
|
|
151
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
152
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
153
|
+
finalized: "finalized";
|
|
154
|
+
safe: "safe";
|
|
155
|
+
submitted: "submitted";
|
|
156
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
157
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
158
|
+
applying: "applying";
|
|
159
|
+
finalized: "finalized";
|
|
160
|
+
safe: "safe";
|
|
161
|
+
submitted: "submitted";
|
|
162
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
163
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
164
|
+
hash: z.ZodString;
|
|
165
|
+
block_number: z.ZodNumber;
|
|
166
|
+
chain_id: z.ZodNumber;
|
|
167
|
+
}, z.core.$strip>>;
|
|
168
|
+
finality: z.ZodObject<{
|
|
169
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
170
|
+
finalized: "finalized";
|
|
171
|
+
latest: "latest";
|
|
172
|
+
safe: "safe";
|
|
173
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
174
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
175
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
176
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
}, z.core.$strip>>>>;
|
|
65
179
|
teepod_id: z.ZodNumber;
|
|
66
180
|
teepod: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
67
181
|
id: z.ZodNumber;
|
|
@@ -88,6 +202,44 @@ export declare const VMAnySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
88
202
|
}, z.core.$strip>, z.ZodObject<{
|
|
89
203
|
name: z.ZodString;
|
|
90
204
|
status: z.ZodString;
|
|
205
|
+
correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
206
|
+
finality_wait: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
207
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
208
|
+
create: "create";
|
|
209
|
+
update: "update";
|
|
210
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
211
|
+
correlation_id: z.ZodString;
|
|
212
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
213
|
+
applying: "applying";
|
|
214
|
+
awaiting_finality: "awaiting_finality";
|
|
215
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
216
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
217
|
+
finalized: "finalized";
|
|
218
|
+
safe: "safe";
|
|
219
|
+
submitted: "submitted";
|
|
220
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
221
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
222
|
+
applying: "applying";
|
|
223
|
+
finalized: "finalized";
|
|
224
|
+
safe: "safe";
|
|
225
|
+
submitted: "submitted";
|
|
226
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
227
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
228
|
+
hash: z.ZodString;
|
|
229
|
+
block_number: z.ZodNumber;
|
|
230
|
+
chain_id: z.ZodNumber;
|
|
231
|
+
}, z.core.$strip>>;
|
|
232
|
+
finality: z.ZodObject<{
|
|
233
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
234
|
+
finalized: "finalized";
|
|
235
|
+
latest: "latest";
|
|
236
|
+
safe: "safe";
|
|
237
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
238
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
239
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
240
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
241
|
+
}, z.core.$strip>;
|
|
242
|
+
}, z.core.$strip>>>>;
|
|
91
243
|
teepod_id: z.ZodNumber;
|
|
92
244
|
teepod: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
93
245
|
id: z.ZodNumber;
|
|
@@ -115,6 +267,44 @@ export declare const VMAnySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
115
267
|
export declare const VMSchema: z.ZodObject<{
|
|
116
268
|
name: z.ZodString;
|
|
117
269
|
status: z.ZodString;
|
|
270
|
+
correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
271
|
+
finality_wait: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
272
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
273
|
+
create: "create";
|
|
274
|
+
update: "update";
|
|
275
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
276
|
+
correlation_id: z.ZodString;
|
|
277
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
278
|
+
applying: "applying";
|
|
279
|
+
awaiting_finality: "awaiting_finality";
|
|
280
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
281
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
282
|
+
finalized: "finalized";
|
|
283
|
+
safe: "safe";
|
|
284
|
+
submitted: "submitted";
|
|
285
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
286
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
287
|
+
applying: "applying";
|
|
288
|
+
finalized: "finalized";
|
|
289
|
+
safe: "safe";
|
|
290
|
+
submitted: "submitted";
|
|
291
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
292
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
293
|
+
hash: z.ZodString;
|
|
294
|
+
block_number: z.ZodNumber;
|
|
295
|
+
chain_id: z.ZodNumber;
|
|
296
|
+
}, z.core.$strip>>;
|
|
297
|
+
finality: z.ZodObject<{
|
|
298
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
299
|
+
finalized: "finalized";
|
|
300
|
+
latest: "latest";
|
|
301
|
+
safe: "safe";
|
|
302
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
303
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
304
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
305
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
306
|
+
}, z.core.$strip>;
|
|
307
|
+
}, z.core.$strip>>>>;
|
|
118
308
|
teepod_id: z.ZodNumber;
|
|
119
309
|
teepod: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
120
310
|
id: z.ZodNumber;
|
|
@@ -144,6 +334,44 @@ export type VMForVersion<V extends ApiVersion> = V extends "2026-01-21" ? VMV202
|
|
|
144
334
|
export declare function getVMSchemaForVersion(version: ApiVersion): z.ZodObject<{
|
|
145
335
|
name: z.ZodString;
|
|
146
336
|
status: z.ZodString;
|
|
337
|
+
correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
338
|
+
finality_wait: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
339
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
340
|
+
create: "create";
|
|
341
|
+
update: "update";
|
|
342
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
343
|
+
correlation_id: z.ZodString;
|
|
344
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
345
|
+
applying: "applying";
|
|
346
|
+
awaiting_finality: "awaiting_finality";
|
|
347
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
348
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
349
|
+
finalized: "finalized";
|
|
350
|
+
safe: "safe";
|
|
351
|
+
submitted: "submitted";
|
|
352
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
353
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
354
|
+
applying: "applying";
|
|
355
|
+
finalized: "finalized";
|
|
356
|
+
safe: "safe";
|
|
357
|
+
submitted: "submitted";
|
|
358
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
359
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
360
|
+
hash: z.ZodString;
|
|
361
|
+
block_number: z.ZodNumber;
|
|
362
|
+
chain_id: z.ZodNumber;
|
|
363
|
+
}, z.core.$strip>>;
|
|
364
|
+
finality: z.ZodObject<{
|
|
365
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
366
|
+
finalized: "finalized";
|
|
367
|
+
latest: "latest";
|
|
368
|
+
safe: "safe";
|
|
369
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
370
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
371
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
372
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
373
|
+
}, z.core.$strip>;
|
|
374
|
+
}, z.core.$strip>>>>;
|
|
147
375
|
teepod_id: z.ZodNumber;
|
|
148
376
|
teepod: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
149
377
|
id: z.ZodNumber;
|
|
@@ -170,6 +398,44 @@ export declare function getVMSchemaForVersion(version: ApiVersion): z.ZodObject<
|
|
|
170
398
|
}, z.core.$strip> | z.ZodObject<{
|
|
171
399
|
name: z.ZodString;
|
|
172
400
|
status: z.ZodString;
|
|
401
|
+
correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
402
|
+
finality_wait: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
403
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
404
|
+
create: "create";
|
|
405
|
+
update: "update";
|
|
406
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
407
|
+
correlation_id: z.ZodString;
|
|
408
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
409
|
+
applying: "applying";
|
|
410
|
+
awaiting_finality: "awaiting_finality";
|
|
411
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
412
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
413
|
+
finalized: "finalized";
|
|
414
|
+
safe: "safe";
|
|
415
|
+
submitted: "submitted";
|
|
416
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
417
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
418
|
+
applying: "applying";
|
|
419
|
+
finalized: "finalized";
|
|
420
|
+
safe: "safe";
|
|
421
|
+
submitted: "submitted";
|
|
422
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
423
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
424
|
+
hash: z.ZodString;
|
|
425
|
+
block_number: z.ZodNumber;
|
|
426
|
+
chain_id: z.ZodNumber;
|
|
427
|
+
}, z.core.$strip>>;
|
|
428
|
+
finality: z.ZodObject<{
|
|
429
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
430
|
+
finalized: "finalized";
|
|
431
|
+
latest: "latest";
|
|
432
|
+
safe: "safe";
|
|
433
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
434
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
435
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
436
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
437
|
+
}, z.core.$strip>;
|
|
438
|
+
}, z.core.$strip>>>>;
|
|
173
439
|
teepod_id: z.ZodNumber;
|
|
174
440
|
teepod: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
175
441
|
id: z.ZodNumber;
|
|
@@ -130,6 +130,43 @@ export declare const CvmDetailV20251028Schema: z.ZodObject<{
|
|
|
130
130
|
name: z.ZodString;
|
|
131
131
|
status: z.ZodString;
|
|
132
132
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
133
|
+
finality_wait: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
134
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
135
|
+
create: "create";
|
|
136
|
+
update: "update";
|
|
137
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
138
|
+
correlation_id: z.ZodString;
|
|
139
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
140
|
+
applying: "applying";
|
|
141
|
+
awaiting_finality: "awaiting_finality";
|
|
142
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
143
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
144
|
+
finalized: "finalized";
|
|
145
|
+
safe: "safe";
|
|
146
|
+
submitted: "submitted";
|
|
147
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
148
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
149
|
+
applying: "applying";
|
|
150
|
+
finalized: "finalized";
|
|
151
|
+
safe: "safe";
|
|
152
|
+
submitted: "submitted";
|
|
153
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
154
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
155
|
+
hash: z.ZodString;
|
|
156
|
+
block_number: z.ZodNumber;
|
|
157
|
+
chain_id: z.ZodNumber;
|
|
158
|
+
}, z.core.$strip>>;
|
|
159
|
+
finality: z.ZodObject<{
|
|
160
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
161
|
+
finalized: "finalized";
|
|
162
|
+
latest: "latest";
|
|
163
|
+
safe: "safe";
|
|
164
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
165
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
166
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
167
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
168
|
+
}, z.core.$strip>;
|
|
169
|
+
}, z.core.$strip>>>>;
|
|
133
170
|
teepod_id: z.ZodNullable<z.ZodNumber>;
|
|
134
171
|
teepod: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
135
172
|
id: z.ZodNumber;
|
|
@@ -598,6 +598,43 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
598
598
|
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
599
599
|
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
600
600
|
}, z.core.$strip>>>;
|
|
601
|
+
finality_wait: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
602
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
603
|
+
create: "create";
|
|
604
|
+
update: "update";
|
|
605
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
606
|
+
correlation_id: z.ZodString;
|
|
607
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
608
|
+
applying: "applying";
|
|
609
|
+
awaiting_finality: "awaiting_finality";
|
|
610
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
611
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
612
|
+
finalized: "finalized";
|
|
613
|
+
safe: "safe";
|
|
614
|
+
submitted: "submitted";
|
|
615
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
616
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
617
|
+
applying: "applying";
|
|
618
|
+
finalized: "finalized";
|
|
619
|
+
safe: "safe";
|
|
620
|
+
submitted: "submitted";
|
|
621
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
622
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
623
|
+
hash: z.ZodString;
|
|
624
|
+
block_number: z.ZodNumber;
|
|
625
|
+
chain_id: z.ZodNumber;
|
|
626
|
+
}, z.core.$strip>>;
|
|
627
|
+
finality: z.ZodObject<{
|
|
628
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
629
|
+
finalized: "finalized";
|
|
630
|
+
latest: "latest";
|
|
631
|
+
safe: "safe";
|
|
632
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
633
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
634
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
635
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
636
|
+
}, z.core.$strip>;
|
|
637
|
+
}, z.core.$strip>>>>;
|
|
601
638
|
compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
|
|
602
639
|
}, z.core.$strip>;
|
|
603
640
|
export type CvmInfoDetailV20260121 = z.infer<typeof CvmInfoDetailV20260121Schema>;
|
|
@@ -747,6 +784,43 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
747
784
|
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
748
785
|
}, z.core.$strip>>>;
|
|
749
786
|
id: z.ZodString;
|
|
787
|
+
finality_wait: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
788
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
789
|
+
create: "create";
|
|
790
|
+
update: "update";
|
|
791
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
792
|
+
correlation_id: z.ZodString;
|
|
793
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
794
|
+
applying: "applying";
|
|
795
|
+
awaiting_finality: "awaiting_finality";
|
|
796
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
797
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
798
|
+
finalized: "finalized";
|
|
799
|
+
safe: "safe";
|
|
800
|
+
submitted: "submitted";
|
|
801
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
802
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
803
|
+
applying: "applying";
|
|
804
|
+
finalized: "finalized";
|
|
805
|
+
safe: "safe";
|
|
806
|
+
submitted: "submitted";
|
|
807
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
808
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
809
|
+
hash: z.ZodString;
|
|
810
|
+
block_number: z.ZodNumber;
|
|
811
|
+
chain_id: z.ZodNumber;
|
|
812
|
+
}, z.core.$strip>>;
|
|
813
|
+
finality: z.ZodObject<{
|
|
814
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
815
|
+
finalized: "finalized";
|
|
816
|
+
latest: "latest";
|
|
817
|
+
safe: "safe";
|
|
818
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
819
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
820
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
821
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
822
|
+
}, z.core.$strip>;
|
|
823
|
+
}, z.core.$strip>>>>;
|
|
750
824
|
compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
|
|
751
825
|
}, z.core.$strip>;
|
|
752
826
|
export type CvmInfoDetailV20260522 = z.infer<typeof CvmInfoDetailV20260522Schema>;
|
|
@@ -883,6 +957,43 @@ export declare const CvmInfoDetailV20261111Schema: z.ZodObject<{
|
|
|
883
957
|
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
884
958
|
}, z.core.$strip>>>;
|
|
885
959
|
id: z.ZodString;
|
|
960
|
+
finality_wait: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
961
|
+
operation: z.ZodUnion<readonly [z.ZodEnum<{
|
|
962
|
+
create: "create";
|
|
963
|
+
update: "update";
|
|
964
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
965
|
+
correlation_id: z.ZodString;
|
|
966
|
+
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
967
|
+
applying: "applying";
|
|
968
|
+
awaiting_finality: "awaiting_finality";
|
|
969
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
970
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
971
|
+
finalized: "finalized";
|
|
972
|
+
safe: "safe";
|
|
973
|
+
submitted: "submitted";
|
|
974
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>;
|
|
975
|
+
stages: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
976
|
+
applying: "applying";
|
|
977
|
+
finalized: "finalized";
|
|
978
|
+
safe: "safe";
|
|
979
|
+
submitted: "submitted";
|
|
980
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>>>;
|
|
981
|
+
transaction: z.ZodNullable<z.ZodObject<{
|
|
982
|
+
hash: z.ZodString;
|
|
983
|
+
block_number: z.ZodNumber;
|
|
984
|
+
chain_id: z.ZodNumber;
|
|
985
|
+
}, z.core.$strip>>;
|
|
986
|
+
finality: z.ZodObject<{
|
|
987
|
+
block_tag: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
988
|
+
finalized: "finalized";
|
|
989
|
+
latest: "latest";
|
|
990
|
+
safe: "safe";
|
|
991
|
+
}>, z.ZodCustom<string & Record<never, never>, string & Record<never, never>>]>>;
|
|
992
|
+
policy_block_number: z.ZodNullable<z.ZodNumber>;
|
|
993
|
+
blocks_remaining: z.ZodNullable<z.ZodNumber>;
|
|
994
|
+
eta_seconds: z.ZodNullable<z.ZodNumber>;
|
|
995
|
+
}, z.core.$strip>;
|
|
996
|
+
}, z.core.$strip>>>>;
|
|
886
997
|
compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
|
|
887
998
|
resource: z.ZodObject<{
|
|
888
999
|
instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./cvm_info";
|
|
|
4
4
|
export * from "./cvm_info_v20251028";
|
|
5
5
|
export * from "./cvm_info_v20260121";
|
|
6
6
|
export * from "./cvm_id";
|
|
7
|
+
export { CvmFinalityStageSchema, CvmFinalityWaitAcceptedSchema, CvmFinalityWaitPhaseSchema, CvmFinalityWaitSchema, type CvmFinalityStage, type CvmFinalityWait, type CvmFinalityWaitAccepted, type CvmFinalityWaitPhase, } from "./cvm_finality";
|
|
7
8
|
export * from "./common";
|
|
8
9
|
export * from "./supported_chains";
|
|
9
10
|
export * from "./version-mappings";
|