@phala/cloud 0.3.0 → 0.5.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/README.md +20 -0
- package/dist/actions/api_tokens/revoke_current_api_token.d.ts +47 -0
- package/dist/actions/apps/app_launch_token.d.ts +121 -0
- package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +17 -311
- package/dist/actions/apps/check_app_is_allowed.d.ts +20 -32
- package/dist/actions/apps/create_app_instance.d.ts +43 -63
- package/dist/actions/apps/get_app_attestation.d.ts +116 -772
- package/dist/actions/apps/get_app_cvms.d.ts +1 -5
- package/dist/actions/apps/get_app_device_allowlist.d.ts +26 -272
- package/dist/actions/apps/get_app_filter_options.d.ts +8 -24
- package/dist/actions/apps/get_app_info.d.ts +1 -5
- package/dist/actions/apps/get_app_list.d.ts +2 -26
- package/dist/actions/apps/get_app_revision_detail.d.ts +1 -9
- package/dist/actions/apps/get_app_revisions.d.ts +1 -9
- package/dist/actions/blockchains/add_compose_hash.d.ts +1 -13
- package/dist/actions/blockchains/add_device.d.ts +1 -13
- package/dist/actions/blockchains/deploy_app_auth.d.ts +3 -95
- package/dist/actions/blockchains/get_allowed_devices.d.ts +2 -12
- package/dist/actions/blockchains/remove_device.d.ts +1 -13
- package/dist/actions/blockchains/set_allow_any_device.d.ts +1 -13
- package/dist/actions/cvms/check_cvm_is_allowed.d.ts +13 -138
- package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +9 -45
- package/dist/actions/cvms/commit_cvm_provision.d.ts +32 -416
- package/dist/actions/cvms/commit_cvm_update.d.ts +70 -41
- package/dist/actions/cvms/confirm_cvm_patch.d.ts +62 -35
- package/dist/actions/cvms/cvm_annotations.d.ts +152 -0
- package/dist/actions/cvms/delete_cvm.d.ts +8 -14
- package/dist/actions/cvms/get_available_os_images.d.ts +70 -111
- package/dist/actions/cvms/get_cvm_attestation.d.ts +34 -392
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +426 -512
- package/dist/actions/cvms/get_cvm_containers_stats.d.ts +25 -91
- package/dist/actions/cvms/get_cvm_docker_compose.d.ts +8 -14
- package/dist/actions/cvms/get_cvm_info.d.ts +6 -12
- package/dist/actions/cvms/get_cvm_init_scripts.d.ts +87 -0
- package/dist/actions/cvms/get_cvm_list.d.ts +9 -17
- package/dist/actions/cvms/get_cvm_network.d.ts +18 -50
- package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +8 -14
- package/dist/actions/cvms/get_cvm_state.d.ts +11 -37
- package/dist/actions/cvms/get_cvm_stats.d.ts +23 -149
- package/dist/actions/cvms/get_cvm_status_batch.d.ts +97 -64
- package/dist/actions/cvms/get_cvm_user_config.d.ts +13 -24
- package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +9 -27
- package/dist/actions/cvms/patch_cvm.d.ts +666 -287
- package/dist/actions/cvms/provision_cvm.d.ts +339 -725
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +584 -777
- package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +74 -131
- package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +77 -297
- package/dist/actions/cvms/replicate_cvm.d.ts +7 -21
- package/dist/actions/cvms/restart_cvm.d.ts +3 -18
- package/dist/actions/cvms/shutdown_cvm.d.ts +6 -12
- package/dist/actions/cvms/start_cvm.d.ts +6 -12
- package/dist/actions/cvms/stop_cvm.d.ts +6 -12
- package/dist/actions/cvms/update_cvm_envs.d.ts +144 -195
- package/dist/actions/cvms/update_cvm_resources.d.ts +93 -37
- package/dist/actions/cvms/update_cvm_visibility.d.ts +90 -130
- package/dist/actions/cvms/update_docker_compose.d.ts +143 -187
- package/dist/actions/cvms/update_os_image.d.ts +55 -28
- package/dist/actions/cvms/update_prelaunch_script.d.ts +143 -187
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +126 -185
- package/dist/actions/cvms/watch_cvm_state.d.ts +5 -15
- package/dist/actions/get_available_nodes.d.ts +201 -823
- package/dist/actions/get_cvm_create_resources.d.ts +150 -2150
- package/dist/actions/index.d.ts +14 -4
- package/dist/actions/kms/get_app_env_encrypt_pubkey.d.ts +11 -23
- package/dist/actions/kms/get_kms_contract.d.ts +57 -0
- package/dist/actions/kms/get_kms_info.d.ts +3 -7
- package/dist/actions/kms/get_kms_list.d.ts +43 -82
- package/dist/actions/kms/get_kms_onchain_detail.d.ts +72 -616
- package/dist/actions/kms/list_kms_contract_nodes.d.ts +66 -0
- package/dist/actions/kms/list_kms_contracts.d.ts +98 -0
- package/dist/actions/kms/next_app_ids.d.ts +5 -25
- package/dist/actions/list-instance-types.d.ts +77 -257
- package/dist/actions/os_images/get_os_images.d.ts +38 -152
- package/dist/actions/ssh_keys/create_ssh_key.d.ts +11 -17
- package/dist/actions/ssh_keys/delete_ssh_key.d.ts +3 -7
- package/dist/actions/ssh_keys/get_cvm_ssh_keys.d.ts +113 -0
- package/dist/actions/ssh_keys/import_github_profile.d.ts +7 -21
- package/dist/actions/ssh_keys/list_ssh_keys.d.ts +2 -50
- package/dist/actions/ssh_keys/sync_github_ssh_keys.d.ts +8 -20
- package/dist/actions/ssh_keys/update_cvm_ssh_keys.d.ts +140 -0
- package/dist/actions/workspaces/get_workspace.d.ts +32 -24
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +56 -182
- package/dist/actions/workspaces/get_workspace_quotas.d.ts +107 -1021
- package/dist/actions/workspaces/list_workspaces.d.ts +69 -245
- package/dist/client.d.ts +27 -5
- package/dist/create-client.d.ts +1820 -1
- package/dist/credentials/current_user_v20251028.d.ts +1 -17
- package/dist/credentials/current_user_v20260121.d.ts +22 -227
- package/dist/index.d.ts +1 -2
- package/dist/index.js +5454 -4389
- package/dist/index.mjs +5396 -4395
- package/dist/types/app_compose.d.ts +116 -184
- package/dist/types/app_info_v20251028.d.ts +29 -1030
- package/dist/types/app_info_v20260121.d.ts +686 -6832
- package/dist/types/app_revision.d.ts +15 -371
- package/dist/types/client.d.ts +18 -2
- package/dist/types/common.d.ts +6 -0
- package/dist/types/cvm_id.d.ts +12 -57
- package/dist/types/cvm_info.d.ts +33 -460
- package/dist/types/cvm_info_v20251028.d.ts +102 -800
- package/dist/types/cvm_info_v20260121.d.ts +411 -2347
- package/dist/types/kms_contract.d.ts +34 -0
- package/dist/types/kms_info.d.ts +34 -60
- package/dist/types/version-mappings.d.ts +6 -6
- package/dist/utils/define-action.d.ts +4 -4
- package/dist/utils/error_codes.d.ts +1 -0
- package/dist/utils/errors.d.ts +34 -37
- package/dist/utils/get_compose_hash.d.ts +59 -4
- package/dist/utils/get_mr_config_id.d.ts +146 -0
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/placement-request.d.ts +3 -0
- package/package.json +4 -4
|
@@ -18,88 +18,30 @@ export declare const VmInfoV20251028Schema: z.ZodObject<{
|
|
|
18
18
|
boot_error: z.ZodNullable<z.ZodString>;
|
|
19
19
|
shutdown_progress: z.ZodNullable<z.ZodString>;
|
|
20
20
|
image_version: z.ZodNullable<z.ZodString>;
|
|
21
|
-
},
|
|
22
|
-
status: string;
|
|
23
|
-
name: string;
|
|
24
|
-
id: string;
|
|
25
|
-
app_id: string;
|
|
26
|
-
instance_id: string | null;
|
|
27
|
-
app_url: string | null;
|
|
28
|
-
uptime: string;
|
|
29
|
-
exited_at: string | null;
|
|
30
|
-
boot_progress: string | null;
|
|
31
|
-
boot_error: string | null;
|
|
32
|
-
shutdown_progress: string | null;
|
|
33
|
-
image_version: string | null;
|
|
34
|
-
configuration?: any;
|
|
35
|
-
}, {
|
|
36
|
-
status: string;
|
|
37
|
-
name: string;
|
|
38
|
-
id: string;
|
|
39
|
-
app_id: string;
|
|
40
|
-
instance_id: string | null;
|
|
41
|
-
app_url: string | null;
|
|
42
|
-
uptime: string;
|
|
43
|
-
exited_at: string | null;
|
|
44
|
-
boot_progress: string | null;
|
|
45
|
-
boot_error: string | null;
|
|
46
|
-
shutdown_progress: string | null;
|
|
47
|
-
image_version: string | null;
|
|
48
|
-
configuration?: any;
|
|
49
|
-
}>;
|
|
21
|
+
}, z.core.$strip>;
|
|
50
22
|
export type VmInfoV20251028 = z.infer<typeof VmInfoV20251028Schema>;
|
|
51
23
|
export declare const ManagedUserV20251028Schema: z.ZodObject<{
|
|
52
|
-
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
24
|
+
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
53
25
|
username: z.ZodString;
|
|
54
|
-
},
|
|
55
|
-
username: string;
|
|
56
|
-
id: string | number;
|
|
57
|
-
}, {
|
|
58
|
-
username: string;
|
|
59
|
-
id: string | number;
|
|
60
|
-
}>;
|
|
26
|
+
}, z.core.$strip>;
|
|
61
27
|
export type ManagedUserV20251028 = z.infer<typeof ManagedUserV20251028Schema>;
|
|
62
28
|
export declare const CvmNodeV20251028Schema: z.ZodObject<{
|
|
63
29
|
id: z.ZodNumber;
|
|
64
30
|
name: z.ZodString;
|
|
65
31
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
-
},
|
|
67
|
-
name: string;
|
|
68
|
-
id: number;
|
|
69
|
-
region_identifier?: string | null | undefined;
|
|
70
|
-
}, {
|
|
71
|
-
name: string;
|
|
72
|
-
id: number;
|
|
73
|
-
region_identifier?: string | null | undefined;
|
|
74
|
-
}>;
|
|
32
|
+
}, z.core.$strip>;
|
|
75
33
|
export type CvmNodeV20251028 = z.infer<typeof CvmNodeV20251028Schema>;
|
|
76
34
|
export declare const MachineInfoV20251028Schema: z.ZodObject<{
|
|
77
35
|
vcpu: z.ZodNumber;
|
|
78
36
|
memory: z.ZodNumber;
|
|
79
37
|
disk_size: z.ZodNumber;
|
|
80
38
|
gpu_count: z.ZodDefault<z.ZodNumber>;
|
|
81
|
-
},
|
|
82
|
-
vcpu: number;
|
|
83
|
-
memory: number;
|
|
84
|
-
disk_size: number;
|
|
85
|
-
gpu_count: number;
|
|
86
|
-
}, {
|
|
87
|
-
vcpu: number;
|
|
88
|
-
memory: number;
|
|
89
|
-
disk_size: number;
|
|
90
|
-
gpu_count?: number | undefined;
|
|
91
|
-
}>;
|
|
39
|
+
}, z.core.$strip>;
|
|
92
40
|
export type MachineInfoV20251028 = z.infer<typeof MachineInfoV20251028Schema>;
|
|
93
41
|
export declare const CvmNetworkUrlsV20251028Schema: z.ZodObject<{
|
|
94
42
|
app: z.ZodString;
|
|
95
43
|
instance: z.ZodString;
|
|
96
|
-
},
|
|
97
|
-
app: string;
|
|
98
|
-
instance: string;
|
|
99
|
-
}, {
|
|
100
|
-
app: string;
|
|
101
|
-
instance: string;
|
|
102
|
-
}>;
|
|
44
|
+
}, z.core.$strip>;
|
|
103
45
|
export type CvmNetworkUrlsV20251028 = z.infer<typeof CvmNetworkUrlsV20251028Schema>;
|
|
104
46
|
export declare const CvmInfoV20251028Schema: z.ZodObject<{
|
|
105
47
|
hosted: z.ZodObject<{
|
|
@@ -116,59 +58,17 @@ export declare const CvmInfoV20251028Schema: z.ZodObject<{
|
|
|
116
58
|
boot_error: z.ZodNullable<z.ZodString>;
|
|
117
59
|
shutdown_progress: z.ZodNullable<z.ZodString>;
|
|
118
60
|
image_version: z.ZodNullable<z.ZodString>;
|
|
119
|
-
},
|
|
120
|
-
status: string;
|
|
121
|
-
name: string;
|
|
122
|
-
id: string;
|
|
123
|
-
app_id: string;
|
|
124
|
-
instance_id: string | null;
|
|
125
|
-
app_url: string | null;
|
|
126
|
-
uptime: string;
|
|
127
|
-
exited_at: string | null;
|
|
128
|
-
boot_progress: string | null;
|
|
129
|
-
boot_error: string | null;
|
|
130
|
-
shutdown_progress: string | null;
|
|
131
|
-
image_version: string | null;
|
|
132
|
-
configuration?: any;
|
|
133
|
-
}, {
|
|
134
|
-
status: string;
|
|
135
|
-
name: string;
|
|
136
|
-
id: string;
|
|
137
|
-
app_id: string;
|
|
138
|
-
instance_id: string | null;
|
|
139
|
-
app_url: string | null;
|
|
140
|
-
uptime: string;
|
|
141
|
-
exited_at: string | null;
|
|
142
|
-
boot_progress: string | null;
|
|
143
|
-
boot_error: string | null;
|
|
144
|
-
shutdown_progress: string | null;
|
|
145
|
-
image_version: string | null;
|
|
146
|
-
configuration?: any;
|
|
147
|
-
}>;
|
|
61
|
+
}, z.core.$strip>;
|
|
148
62
|
name: z.ZodString;
|
|
149
63
|
managed_user: z.ZodNullable<z.ZodObject<{
|
|
150
|
-
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
64
|
+
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
151
65
|
username: z.ZodString;
|
|
152
|
-
},
|
|
153
|
-
username: string;
|
|
154
|
-
id: string | number;
|
|
155
|
-
}, {
|
|
156
|
-
username: string;
|
|
157
|
-
id: string | number;
|
|
158
|
-
}>>;
|
|
66
|
+
}, z.core.$strip>>;
|
|
159
67
|
node: z.ZodNullable<z.ZodObject<{
|
|
160
68
|
id: z.ZodNumber;
|
|
161
69
|
name: z.ZodString;
|
|
162
70
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
|
-
},
|
|
164
|
-
name: string;
|
|
165
|
-
id: number;
|
|
166
|
-
region_identifier?: string | null | undefined;
|
|
167
|
-
}, {
|
|
168
|
-
name: string;
|
|
169
|
-
id: number;
|
|
170
|
-
region_identifier?: string | null | undefined;
|
|
171
|
-
}>>;
|
|
71
|
+
}, z.core.$strip>>;
|
|
172
72
|
listed: z.ZodDefault<z.ZodBoolean>;
|
|
173
73
|
status: z.ZodString;
|
|
174
74
|
in_progress: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -178,47 +78,36 @@ export declare const CvmInfoV20251028Schema: z.ZodObject<{
|
|
|
178
78
|
project_id: z.ZodNullable<z.ZodString>;
|
|
179
79
|
project_type: z.ZodNullable<z.ZodString>;
|
|
180
80
|
billing_period: z.ZodNullable<z.ZodString>;
|
|
181
|
-
kms_info: z.ZodNullable<z.
|
|
182
|
-
id: z.ZodString;
|
|
183
|
-
slug: z.ZodNullable<z.ZodString>;
|
|
184
|
-
url: z.ZodString;
|
|
185
|
-
version: z.ZodString;
|
|
186
|
-
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
187
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
188
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
189
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
81
|
+
kms_info: z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
190
82
|
id: z.ZodString;
|
|
191
83
|
slug: z.ZodNullable<z.ZodString>;
|
|
192
84
|
url: z.ZodString;
|
|
193
85
|
version: z.ZodString;
|
|
194
86
|
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
195
|
-
kms_contract_address: z.
|
|
196
|
-
gateway_app_id: z.
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
220
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
221
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
87
|
+
kms_contract_address: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<`0x${string}`, string | null>>;
|
|
88
|
+
gateway_app_id: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<`0x${string}`, string | null>>;
|
|
89
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
}, z.core.$loose>, z.ZodTransform<{
|
|
91
|
+
[x: string]: unknown;
|
|
92
|
+
id: string;
|
|
93
|
+
slug: string | null;
|
|
94
|
+
url: string;
|
|
95
|
+
version: string;
|
|
96
|
+
chain_id: number | null;
|
|
97
|
+
kms_contract_address: `0x${string}`;
|
|
98
|
+
gateway_app_id: `0x${string}`;
|
|
99
|
+
k256_pubkey?: string | null | undefined;
|
|
100
|
+
}, {
|
|
101
|
+
[x: string]: unknown;
|
|
102
|
+
id: string;
|
|
103
|
+
slug: string | null;
|
|
104
|
+
url: string;
|
|
105
|
+
version: string;
|
|
106
|
+
chain_id: number | null;
|
|
107
|
+
kms_contract_address: `0x${string}`;
|
|
108
|
+
gateway_app_id: `0x${string}`;
|
|
109
|
+
k256_pubkey?: string | null | undefined;
|
|
110
|
+
}>>>;
|
|
222
111
|
vcpu: z.ZodNullable<z.ZodNumber>;
|
|
223
112
|
memory: z.ZodNullable<z.ZodNumber>;
|
|
224
113
|
disk_size: z.ZodNullable<z.ZodNumber>;
|
|
@@ -226,152 +115,18 @@ export declare const CvmInfoV20251028Schema: z.ZodObject<{
|
|
|
226
115
|
public_urls: z.ZodArray<z.ZodObject<{
|
|
227
116
|
app: z.ZodString;
|
|
228
117
|
instance: z.ZodString;
|
|
229
|
-
},
|
|
230
|
-
app: string;
|
|
231
|
-
instance: string;
|
|
232
|
-
}, {
|
|
233
|
-
app: string;
|
|
234
|
-
instance: string;
|
|
235
|
-
}>, "many">;
|
|
118
|
+
}, z.core.$strip>>;
|
|
236
119
|
machine_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
237
120
|
vcpu: z.ZodNumber;
|
|
238
121
|
memory: z.ZodNumber;
|
|
239
122
|
disk_size: z.ZodNumber;
|
|
240
123
|
gpu_count: z.ZodDefault<z.ZodNumber>;
|
|
241
|
-
},
|
|
242
|
-
vcpu: number;
|
|
243
|
-
memory: number;
|
|
244
|
-
disk_size: number;
|
|
245
|
-
gpu_count: number;
|
|
246
|
-
}, {
|
|
247
|
-
vcpu: number;
|
|
248
|
-
memory: number;
|
|
249
|
-
disk_size: number;
|
|
250
|
-
gpu_count?: number | undefined;
|
|
251
|
-
}>>>;
|
|
124
|
+
}, z.core.$strip>>>;
|
|
252
125
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
253
|
-
},
|
|
254
|
-
status: string;
|
|
255
|
-
name: string;
|
|
256
|
-
vcpu: number | null;
|
|
257
|
-
memory: number | null;
|
|
258
|
-
disk_size: number | null;
|
|
259
|
-
hosted: {
|
|
260
|
-
status: string;
|
|
261
|
-
name: string;
|
|
262
|
-
id: string;
|
|
263
|
-
app_id: string;
|
|
264
|
-
instance_id: string | null;
|
|
265
|
-
app_url: string | null;
|
|
266
|
-
uptime: string;
|
|
267
|
-
exited_at: string | null;
|
|
268
|
-
boot_progress: string | null;
|
|
269
|
-
boot_error: string | null;
|
|
270
|
-
shutdown_progress: string | null;
|
|
271
|
-
image_version: string | null;
|
|
272
|
-
configuration?: any;
|
|
273
|
-
};
|
|
274
|
-
managed_user: {
|
|
275
|
-
username: string;
|
|
276
|
-
id: string | number;
|
|
277
|
-
} | null;
|
|
278
|
-
node: {
|
|
279
|
-
name: string;
|
|
280
|
-
id: number;
|
|
281
|
-
region_identifier?: string | null | undefined;
|
|
282
|
-
} | null;
|
|
283
|
-
listed: boolean;
|
|
284
|
-
in_progress: boolean;
|
|
285
|
-
dapp_dashboard_url: string | null;
|
|
286
|
-
syslog_endpoint: string | null;
|
|
287
|
-
allow_upgrade: boolean;
|
|
288
|
-
project_id: string | null;
|
|
289
|
-
project_type: string | null;
|
|
290
|
-
billing_period: string | null;
|
|
291
|
-
kms_info: z.objectOutputType<{
|
|
292
|
-
id: z.ZodString;
|
|
293
|
-
slug: z.ZodNullable<z.ZodString>;
|
|
294
|
-
url: z.ZodString;
|
|
295
|
-
version: z.ZodString;
|
|
296
|
-
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
297
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
298
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
299
|
-
}, z.ZodTypeAny, "passthrough"> | null;
|
|
300
|
-
gateway_domain: string | null;
|
|
301
|
-
public_urls: {
|
|
302
|
-
app: string;
|
|
303
|
-
instance: string;
|
|
304
|
-
}[];
|
|
305
|
-
machine_info?: {
|
|
306
|
-
vcpu: number;
|
|
307
|
-
memory: number;
|
|
308
|
-
disk_size: number;
|
|
309
|
-
gpu_count: number;
|
|
310
|
-
} | null | undefined;
|
|
311
|
-
updated_at?: string | null | undefined;
|
|
312
|
-
}, {
|
|
313
|
-
status: string;
|
|
314
|
-
name: string;
|
|
315
|
-
vcpu: number | null;
|
|
316
|
-
memory: number | null;
|
|
317
|
-
disk_size: number | null;
|
|
318
|
-
hosted: {
|
|
319
|
-
status: string;
|
|
320
|
-
name: string;
|
|
321
|
-
id: string;
|
|
322
|
-
app_id: string;
|
|
323
|
-
instance_id: string | null;
|
|
324
|
-
app_url: string | null;
|
|
325
|
-
uptime: string;
|
|
326
|
-
exited_at: string | null;
|
|
327
|
-
boot_progress: string | null;
|
|
328
|
-
boot_error: string | null;
|
|
329
|
-
shutdown_progress: string | null;
|
|
330
|
-
image_version: string | null;
|
|
331
|
-
configuration?: any;
|
|
332
|
-
};
|
|
333
|
-
managed_user: {
|
|
334
|
-
username: string;
|
|
335
|
-
id: string | number;
|
|
336
|
-
} | null;
|
|
337
|
-
node: {
|
|
338
|
-
name: string;
|
|
339
|
-
id: number;
|
|
340
|
-
region_identifier?: string | null | undefined;
|
|
341
|
-
} | null;
|
|
342
|
-
dapp_dashboard_url: string | null;
|
|
343
|
-
syslog_endpoint: string | null;
|
|
344
|
-
project_id: string | null;
|
|
345
|
-
project_type: string | null;
|
|
346
|
-
billing_period: string | null;
|
|
347
|
-
kms_info: z.objectInputType<{
|
|
348
|
-
id: z.ZodString;
|
|
349
|
-
slug: z.ZodNullable<z.ZodString>;
|
|
350
|
-
url: z.ZodString;
|
|
351
|
-
version: z.ZodString;
|
|
352
|
-
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
353
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
354
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
355
|
-
}, z.ZodTypeAny, "passthrough"> | null;
|
|
356
|
-
gateway_domain: string | null;
|
|
357
|
-
public_urls: {
|
|
358
|
-
app: string;
|
|
359
|
-
instance: string;
|
|
360
|
-
}[];
|
|
361
|
-
listed?: boolean | undefined;
|
|
362
|
-
in_progress?: boolean | undefined;
|
|
363
|
-
allow_upgrade?: boolean | undefined;
|
|
364
|
-
machine_info?: {
|
|
365
|
-
vcpu: number;
|
|
366
|
-
memory: number;
|
|
367
|
-
disk_size: number;
|
|
368
|
-
gpu_count?: number | undefined;
|
|
369
|
-
} | null | undefined;
|
|
370
|
-
updated_at?: string | null | undefined;
|
|
371
|
-
}>;
|
|
126
|
+
}, z.core.$strip>;
|
|
372
127
|
export type CvmInfoV20251028 = z.infer<typeof CvmInfoV20251028Schema>;
|
|
373
128
|
export declare const CvmDetailV20251028Schema: z.ZodObject<{
|
|
374
|
-
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
129
|
+
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
375
130
|
name: z.ZodString;
|
|
376
131
|
status: z.ZodString;
|
|
377
132
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -380,15 +135,7 @@ export declare const CvmDetailV20251028Schema: z.ZodObject<{
|
|
|
380
135
|
id: z.ZodNumber;
|
|
381
136
|
name: z.ZodString;
|
|
382
137
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
383
|
-
},
|
|
384
|
-
name: string;
|
|
385
|
-
id: number;
|
|
386
|
-
region_identifier?: string | null | undefined;
|
|
387
|
-
}, {
|
|
388
|
-
name: string;
|
|
389
|
-
id: number;
|
|
390
|
-
region_identifier?: string | null | undefined;
|
|
391
|
-
}>>>;
|
|
138
|
+
}, z.core.$strip>>>;
|
|
392
139
|
app_id: z.ZodString;
|
|
393
140
|
vm_uuid: z.ZodNullable<z.ZodString>;
|
|
394
141
|
instance_id: z.ZodNullable<z.ZodString>;
|
|
@@ -403,183 +150,55 @@ export declare const CvmDetailV20251028Schema: z.ZodObject<{
|
|
|
403
150
|
instance_type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
404
151
|
public_sysinfo: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
405
152
|
public_logs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
153
|
+
managed_env: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
406
154
|
dapp_dashboard_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
407
155
|
syslog_endpoint: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
408
|
-
kms_info: z.ZodNullable<z.ZodOptional<z.
|
|
156
|
+
kms_info: z.ZodNullable<z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
409
157
|
id: z.ZodString;
|
|
410
158
|
slug: z.ZodNullable<z.ZodString>;
|
|
411
159
|
url: z.ZodString;
|
|
412
160
|
version: z.ZodString;
|
|
413
161
|
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
414
|
-
kms_contract_address: z.
|
|
415
|
-
gateway_app_id: z.
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
439
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
440
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
441
|
-
id: z.ZodString;
|
|
442
|
-
slug: z.ZodNullable<z.ZodString>;
|
|
443
|
-
url: z.ZodString;
|
|
444
|
-
version: z.ZodString;
|
|
445
|
-
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
446
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
447
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
448
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
162
|
+
kms_contract_address: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<`0x${string}`, string | null>>;
|
|
163
|
+
gateway_app_id: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<`0x${string}`, string | null>>;
|
|
164
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
|
+
}, z.core.$loose>, z.ZodTransform<{
|
|
166
|
+
[x: string]: unknown;
|
|
167
|
+
id: string;
|
|
168
|
+
slug: string | null;
|
|
169
|
+
url: string;
|
|
170
|
+
version: string;
|
|
171
|
+
chain_id: number | null;
|
|
172
|
+
kms_contract_address: `0x${string}`;
|
|
173
|
+
gateway_app_id: `0x${string}`;
|
|
174
|
+
k256_pubkey?: string | null | undefined;
|
|
175
|
+
}, {
|
|
176
|
+
[x: string]: unknown;
|
|
177
|
+
id: string;
|
|
178
|
+
slug: string | null;
|
|
179
|
+
url: string;
|
|
180
|
+
version: string;
|
|
181
|
+
chain_id: number | null;
|
|
182
|
+
kms_contract_address: `0x${string}`;
|
|
183
|
+
gateway_app_id: `0x${string}`;
|
|
184
|
+
k256_pubkey?: string | null | undefined;
|
|
185
|
+
}>>>>;
|
|
449
186
|
contract_address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
450
187
|
deployer_address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
451
188
|
scheduled_delete_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
452
189
|
public_urls: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
453
190
|
app: z.ZodString;
|
|
454
191
|
instance: z.ZodString;
|
|
455
|
-
},
|
|
456
|
-
app: string;
|
|
457
|
-
instance: string;
|
|
458
|
-
}, {
|
|
459
|
-
app: string;
|
|
460
|
-
instance: string;
|
|
461
|
-
}>, "many">>>;
|
|
192
|
+
}, z.core.$strip>>>>;
|
|
462
193
|
gateway_domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
463
194
|
machine_info: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
464
195
|
vcpu: z.ZodNumber;
|
|
465
196
|
memory: z.ZodNumber;
|
|
466
197
|
disk_size: z.ZodNumber;
|
|
467
198
|
gpu_count: z.ZodDefault<z.ZodNumber>;
|
|
468
|
-
},
|
|
469
|
-
vcpu: number;
|
|
470
|
-
memory: number;
|
|
471
|
-
disk_size: number;
|
|
472
|
-
gpu_count: number;
|
|
473
|
-
}, {
|
|
474
|
-
vcpu: number;
|
|
475
|
-
memory: number;
|
|
476
|
-
disk_size: number;
|
|
477
|
-
gpu_count?: number | undefined;
|
|
478
|
-
}>>>;
|
|
199
|
+
}, z.core.$strip>>>;
|
|
479
200
|
updated_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
480
|
-
},
|
|
481
|
-
status: string;
|
|
482
|
-
name: string;
|
|
483
|
-
id: string | number;
|
|
484
|
-
app_id: string;
|
|
485
|
-
instance_id: string | null;
|
|
486
|
-
teepod_id: number | null;
|
|
487
|
-
vm_uuid: string | null;
|
|
488
|
-
base_image: string | null;
|
|
489
|
-
vcpu: number;
|
|
490
|
-
memory: number;
|
|
491
|
-
disk_size: number;
|
|
492
|
-
encrypted_env_pubkey: string | null;
|
|
493
|
-
listed: boolean;
|
|
494
|
-
in_progress: boolean;
|
|
495
|
-
public_urls: {
|
|
496
|
-
app: string;
|
|
497
|
-
instance: string;
|
|
498
|
-
}[];
|
|
499
|
-
public_sysinfo: boolean;
|
|
500
|
-
public_logs: boolean;
|
|
501
|
-
teepod?: {
|
|
502
|
-
name: string;
|
|
503
|
-
id: number;
|
|
504
|
-
region_identifier?: string | null | undefined;
|
|
505
|
-
} | null | undefined;
|
|
506
|
-
deployer_address?: string | null | undefined;
|
|
507
|
-
contract_address?: string | null | undefined;
|
|
508
|
-
dapp_dashboard_url?: string | null | undefined;
|
|
509
|
-
syslog_endpoint?: string | null | undefined;
|
|
510
|
-
project_id?: string | null | undefined;
|
|
511
|
-
project_type?: string | null | undefined;
|
|
512
|
-
kms_info?: z.objectOutputType<{
|
|
513
|
-
id: z.ZodString;
|
|
514
|
-
slug: z.ZodNullable<z.ZodString>;
|
|
515
|
-
url: z.ZodString;
|
|
516
|
-
version: z.ZodString;
|
|
517
|
-
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
518
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
519
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
520
|
-
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
521
|
-
gateway_domain?: string | null | undefined;
|
|
522
|
-
machine_info?: {
|
|
523
|
-
vcpu: number;
|
|
524
|
-
memory: number;
|
|
525
|
-
disk_size: number;
|
|
526
|
-
gpu_count: number;
|
|
527
|
-
} | null | undefined;
|
|
528
|
-
updated_at?: string | null | undefined;
|
|
529
|
-
instance_type?: string | null | undefined;
|
|
530
|
-
scheduled_delete_at?: string | null | undefined;
|
|
531
|
-
}, {
|
|
532
|
-
status: string;
|
|
533
|
-
name: string;
|
|
534
|
-
id: string | number;
|
|
535
|
-
app_id: string;
|
|
536
|
-
instance_id: string | null;
|
|
537
|
-
teepod_id: number | null;
|
|
538
|
-
vm_uuid: string | null;
|
|
539
|
-
base_image: string | null;
|
|
540
|
-
vcpu: number;
|
|
541
|
-
memory: number;
|
|
542
|
-
disk_size: number;
|
|
543
|
-
encrypted_env_pubkey: string | null;
|
|
544
|
-
teepod?: {
|
|
545
|
-
name: string;
|
|
546
|
-
id: number;
|
|
547
|
-
region_identifier?: string | null | undefined;
|
|
548
|
-
} | null | undefined;
|
|
549
|
-
deployer_address?: string | null | undefined;
|
|
550
|
-
contract_address?: string | null | undefined;
|
|
551
|
-
listed?: boolean | undefined;
|
|
552
|
-
in_progress?: boolean | undefined;
|
|
553
|
-
dapp_dashboard_url?: string | null | undefined;
|
|
554
|
-
syslog_endpoint?: string | null | undefined;
|
|
555
|
-
project_id?: string | null | undefined;
|
|
556
|
-
project_type?: string | null | undefined;
|
|
557
|
-
kms_info?: z.objectInputType<{
|
|
558
|
-
id: z.ZodString;
|
|
559
|
-
slug: z.ZodNullable<z.ZodString>;
|
|
560
|
-
url: z.ZodString;
|
|
561
|
-
version: z.ZodString;
|
|
562
|
-
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
563
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
564
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
565
|
-
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
566
|
-
gateway_domain?: string | null | undefined;
|
|
567
|
-
public_urls?: {
|
|
568
|
-
app: string;
|
|
569
|
-
instance: string;
|
|
570
|
-
}[] | undefined;
|
|
571
|
-
machine_info?: {
|
|
572
|
-
vcpu: number;
|
|
573
|
-
memory: number;
|
|
574
|
-
disk_size: number;
|
|
575
|
-
gpu_count?: number | undefined;
|
|
576
|
-
} | null | undefined;
|
|
577
|
-
updated_at?: string | null | undefined;
|
|
578
|
-
instance_type?: string | null | undefined;
|
|
579
|
-
public_sysinfo?: boolean | undefined;
|
|
580
|
-
public_logs?: boolean | undefined;
|
|
581
|
-
scheduled_delete_at?: string | null | undefined;
|
|
582
|
-
}>;
|
|
201
|
+
}, z.core.$strip>;
|
|
583
202
|
export type CvmDetailV20251028 = z.infer<typeof CvmDetailV20251028Schema>;
|
|
584
203
|
export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
|
|
585
204
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -597,59 +216,17 @@ export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
|
|
|
597
216
|
boot_error: z.ZodNullable<z.ZodString>;
|
|
598
217
|
shutdown_progress: z.ZodNullable<z.ZodString>;
|
|
599
218
|
image_version: z.ZodNullable<z.ZodString>;
|
|
600
|
-
},
|
|
601
|
-
status: string;
|
|
602
|
-
name: string;
|
|
603
|
-
id: string;
|
|
604
|
-
app_id: string;
|
|
605
|
-
instance_id: string | null;
|
|
606
|
-
app_url: string | null;
|
|
607
|
-
uptime: string;
|
|
608
|
-
exited_at: string | null;
|
|
609
|
-
boot_progress: string | null;
|
|
610
|
-
boot_error: string | null;
|
|
611
|
-
shutdown_progress: string | null;
|
|
612
|
-
image_version: string | null;
|
|
613
|
-
configuration?: any;
|
|
614
|
-
}, {
|
|
615
|
-
status: string;
|
|
616
|
-
name: string;
|
|
617
|
-
id: string;
|
|
618
|
-
app_id: string;
|
|
619
|
-
instance_id: string | null;
|
|
620
|
-
app_url: string | null;
|
|
621
|
-
uptime: string;
|
|
622
|
-
exited_at: string | null;
|
|
623
|
-
boot_progress: string | null;
|
|
624
|
-
boot_error: string | null;
|
|
625
|
-
shutdown_progress: string | null;
|
|
626
|
-
image_version: string | null;
|
|
627
|
-
configuration?: any;
|
|
628
|
-
}>;
|
|
219
|
+
}, z.core.$strip>;
|
|
629
220
|
name: z.ZodString;
|
|
630
221
|
managed_user: z.ZodNullable<z.ZodObject<{
|
|
631
|
-
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
222
|
+
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
632
223
|
username: z.ZodString;
|
|
633
|
-
},
|
|
634
|
-
username: string;
|
|
635
|
-
id: string | number;
|
|
636
|
-
}, {
|
|
637
|
-
username: string;
|
|
638
|
-
id: string | number;
|
|
639
|
-
}>>;
|
|
224
|
+
}, z.core.$strip>>;
|
|
640
225
|
node: z.ZodNullable<z.ZodObject<{
|
|
641
226
|
id: z.ZodNumber;
|
|
642
227
|
name: z.ZodString;
|
|
643
228
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
644
|
-
},
|
|
645
|
-
name: string;
|
|
646
|
-
id: number;
|
|
647
|
-
region_identifier?: string | null | undefined;
|
|
648
|
-
}, {
|
|
649
|
-
name: string;
|
|
650
|
-
id: number;
|
|
651
|
-
region_identifier?: string | null | undefined;
|
|
652
|
-
}>>;
|
|
229
|
+
}, z.core.$strip>>;
|
|
653
230
|
listed: z.ZodDefault<z.ZodBoolean>;
|
|
654
231
|
status: z.ZodString;
|
|
655
232
|
in_progress: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -659,47 +236,36 @@ export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
|
|
|
659
236
|
project_id: z.ZodNullable<z.ZodString>;
|
|
660
237
|
project_type: z.ZodNullable<z.ZodString>;
|
|
661
238
|
billing_period: z.ZodNullable<z.ZodString>;
|
|
662
|
-
kms_info: z.ZodNullable<z.
|
|
239
|
+
kms_info: z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
663
240
|
id: z.ZodString;
|
|
664
241
|
slug: z.ZodNullable<z.ZodString>;
|
|
665
242
|
url: z.ZodString;
|
|
666
243
|
version: z.ZodString;
|
|
667
244
|
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
668
|
-
kms_contract_address: z.
|
|
669
|
-
gateway_app_id: z.
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
693
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
694
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
695
|
-
id: z.ZodString;
|
|
696
|
-
slug: z.ZodNullable<z.ZodString>;
|
|
697
|
-
url: z.ZodString;
|
|
698
|
-
version: z.ZodString;
|
|
699
|
-
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
700
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
701
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
702
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
245
|
+
kms_contract_address: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<`0x${string}`, string | null>>;
|
|
246
|
+
gateway_app_id: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<`0x${string}`, string | null>>;
|
|
247
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
|
+
}, z.core.$loose>, z.ZodTransform<{
|
|
249
|
+
[x: string]: unknown;
|
|
250
|
+
id: string;
|
|
251
|
+
slug: string | null;
|
|
252
|
+
url: string;
|
|
253
|
+
version: string;
|
|
254
|
+
chain_id: number | null;
|
|
255
|
+
kms_contract_address: `0x${string}`;
|
|
256
|
+
gateway_app_id: `0x${string}`;
|
|
257
|
+
k256_pubkey?: string | null | undefined;
|
|
258
|
+
}, {
|
|
259
|
+
[x: string]: unknown;
|
|
260
|
+
id: string;
|
|
261
|
+
slug: string | null;
|
|
262
|
+
url: string;
|
|
263
|
+
version: string;
|
|
264
|
+
chain_id: number | null;
|
|
265
|
+
kms_contract_address: `0x${string}`;
|
|
266
|
+
gateway_app_id: `0x${string}`;
|
|
267
|
+
k256_pubkey?: string | null | undefined;
|
|
268
|
+
}>>>;
|
|
703
269
|
vcpu: z.ZodNullable<z.ZodNumber>;
|
|
704
270
|
memory: z.ZodNullable<z.ZodNumber>;
|
|
705
271
|
disk_size: z.ZodNullable<z.ZodNumber>;
|
|
@@ -707,282 +273,18 @@ export declare const PaginatedCvmInfosV20251028Schema: z.ZodObject<{
|
|
|
707
273
|
public_urls: z.ZodArray<z.ZodObject<{
|
|
708
274
|
app: z.ZodString;
|
|
709
275
|
instance: z.ZodString;
|
|
710
|
-
},
|
|
711
|
-
app: string;
|
|
712
|
-
instance: string;
|
|
713
|
-
}, {
|
|
714
|
-
app: string;
|
|
715
|
-
instance: string;
|
|
716
|
-
}>, "many">;
|
|
276
|
+
}, z.core.$strip>>;
|
|
717
277
|
machine_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
718
278
|
vcpu: z.ZodNumber;
|
|
719
279
|
memory: z.ZodNumber;
|
|
720
280
|
disk_size: z.ZodNumber;
|
|
721
281
|
gpu_count: z.ZodDefault<z.ZodNumber>;
|
|
722
|
-
},
|
|
723
|
-
vcpu: number;
|
|
724
|
-
memory: number;
|
|
725
|
-
disk_size: number;
|
|
726
|
-
gpu_count: number;
|
|
727
|
-
}, {
|
|
728
|
-
vcpu: number;
|
|
729
|
-
memory: number;
|
|
730
|
-
disk_size: number;
|
|
731
|
-
gpu_count?: number | undefined;
|
|
732
|
-
}>>>;
|
|
282
|
+
}, z.core.$strip>>>;
|
|
733
283
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
734
|
-
},
|
|
735
|
-
status: string;
|
|
736
|
-
name: string;
|
|
737
|
-
vcpu: number | null;
|
|
738
|
-
memory: number | null;
|
|
739
|
-
disk_size: number | null;
|
|
740
|
-
hosted: {
|
|
741
|
-
status: string;
|
|
742
|
-
name: string;
|
|
743
|
-
id: string;
|
|
744
|
-
app_id: string;
|
|
745
|
-
instance_id: string | null;
|
|
746
|
-
app_url: string | null;
|
|
747
|
-
uptime: string;
|
|
748
|
-
exited_at: string | null;
|
|
749
|
-
boot_progress: string | null;
|
|
750
|
-
boot_error: string | null;
|
|
751
|
-
shutdown_progress: string | null;
|
|
752
|
-
image_version: string | null;
|
|
753
|
-
configuration?: any;
|
|
754
|
-
};
|
|
755
|
-
managed_user: {
|
|
756
|
-
username: string;
|
|
757
|
-
id: string | number;
|
|
758
|
-
} | null;
|
|
759
|
-
node: {
|
|
760
|
-
name: string;
|
|
761
|
-
id: number;
|
|
762
|
-
region_identifier?: string | null | undefined;
|
|
763
|
-
} | null;
|
|
764
|
-
listed: boolean;
|
|
765
|
-
in_progress: boolean;
|
|
766
|
-
dapp_dashboard_url: string | null;
|
|
767
|
-
syslog_endpoint: string | null;
|
|
768
|
-
allow_upgrade: boolean;
|
|
769
|
-
project_id: string | null;
|
|
770
|
-
project_type: string | null;
|
|
771
|
-
billing_period: string | null;
|
|
772
|
-
kms_info: z.objectOutputType<{
|
|
773
|
-
id: z.ZodString;
|
|
774
|
-
slug: z.ZodNullable<z.ZodString>;
|
|
775
|
-
url: z.ZodString;
|
|
776
|
-
version: z.ZodString;
|
|
777
|
-
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
778
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
779
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
780
|
-
}, z.ZodTypeAny, "passthrough"> | null;
|
|
781
|
-
gateway_domain: string | null;
|
|
782
|
-
public_urls: {
|
|
783
|
-
app: string;
|
|
784
|
-
instance: string;
|
|
785
|
-
}[];
|
|
786
|
-
machine_info?: {
|
|
787
|
-
vcpu: number;
|
|
788
|
-
memory: number;
|
|
789
|
-
disk_size: number;
|
|
790
|
-
gpu_count: number;
|
|
791
|
-
} | null | undefined;
|
|
792
|
-
updated_at?: string | null | undefined;
|
|
793
|
-
}, {
|
|
794
|
-
status: string;
|
|
795
|
-
name: string;
|
|
796
|
-
vcpu: number | null;
|
|
797
|
-
memory: number | null;
|
|
798
|
-
disk_size: number | null;
|
|
799
|
-
hosted: {
|
|
800
|
-
status: string;
|
|
801
|
-
name: string;
|
|
802
|
-
id: string;
|
|
803
|
-
app_id: string;
|
|
804
|
-
instance_id: string | null;
|
|
805
|
-
app_url: string | null;
|
|
806
|
-
uptime: string;
|
|
807
|
-
exited_at: string | null;
|
|
808
|
-
boot_progress: string | null;
|
|
809
|
-
boot_error: string | null;
|
|
810
|
-
shutdown_progress: string | null;
|
|
811
|
-
image_version: string | null;
|
|
812
|
-
configuration?: any;
|
|
813
|
-
};
|
|
814
|
-
managed_user: {
|
|
815
|
-
username: string;
|
|
816
|
-
id: string | number;
|
|
817
|
-
} | null;
|
|
818
|
-
node: {
|
|
819
|
-
name: string;
|
|
820
|
-
id: number;
|
|
821
|
-
region_identifier?: string | null | undefined;
|
|
822
|
-
} | null;
|
|
823
|
-
dapp_dashboard_url: string | null;
|
|
824
|
-
syslog_endpoint: string | null;
|
|
825
|
-
project_id: string | null;
|
|
826
|
-
project_type: string | null;
|
|
827
|
-
billing_period: string | null;
|
|
828
|
-
kms_info: z.objectInputType<{
|
|
829
|
-
id: z.ZodString;
|
|
830
|
-
slug: z.ZodNullable<z.ZodString>;
|
|
831
|
-
url: z.ZodString;
|
|
832
|
-
version: z.ZodString;
|
|
833
|
-
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
834
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
835
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
836
|
-
}, z.ZodTypeAny, "passthrough"> | null;
|
|
837
|
-
gateway_domain: string | null;
|
|
838
|
-
public_urls: {
|
|
839
|
-
app: string;
|
|
840
|
-
instance: string;
|
|
841
|
-
}[];
|
|
842
|
-
listed?: boolean | undefined;
|
|
843
|
-
in_progress?: boolean | undefined;
|
|
844
|
-
allow_upgrade?: boolean | undefined;
|
|
845
|
-
machine_info?: {
|
|
846
|
-
vcpu: number;
|
|
847
|
-
memory: number;
|
|
848
|
-
disk_size: number;
|
|
849
|
-
gpu_count?: number | undefined;
|
|
850
|
-
} | null | undefined;
|
|
851
|
-
updated_at?: string | null | undefined;
|
|
852
|
-
}>, "many">;
|
|
284
|
+
}, z.core.$strip>>;
|
|
853
285
|
total: z.ZodNumber;
|
|
854
286
|
page: z.ZodNumber;
|
|
855
287
|
page_size: z.ZodNumber;
|
|
856
288
|
pages: z.ZodNumber;
|
|
857
|
-
},
|
|
858
|
-
total: number;
|
|
859
|
-
items: {
|
|
860
|
-
status: string;
|
|
861
|
-
name: string;
|
|
862
|
-
vcpu: number | null;
|
|
863
|
-
memory: number | null;
|
|
864
|
-
disk_size: number | null;
|
|
865
|
-
hosted: {
|
|
866
|
-
status: string;
|
|
867
|
-
name: string;
|
|
868
|
-
id: string;
|
|
869
|
-
app_id: string;
|
|
870
|
-
instance_id: string | null;
|
|
871
|
-
app_url: string | null;
|
|
872
|
-
uptime: string;
|
|
873
|
-
exited_at: string | null;
|
|
874
|
-
boot_progress: string | null;
|
|
875
|
-
boot_error: string | null;
|
|
876
|
-
shutdown_progress: string | null;
|
|
877
|
-
image_version: string | null;
|
|
878
|
-
configuration?: any;
|
|
879
|
-
};
|
|
880
|
-
managed_user: {
|
|
881
|
-
username: string;
|
|
882
|
-
id: string | number;
|
|
883
|
-
} | null;
|
|
884
|
-
node: {
|
|
885
|
-
name: string;
|
|
886
|
-
id: number;
|
|
887
|
-
region_identifier?: string | null | undefined;
|
|
888
|
-
} | null;
|
|
889
|
-
listed: boolean;
|
|
890
|
-
in_progress: boolean;
|
|
891
|
-
dapp_dashboard_url: string | null;
|
|
892
|
-
syslog_endpoint: string | null;
|
|
893
|
-
allow_upgrade: boolean;
|
|
894
|
-
project_id: string | null;
|
|
895
|
-
project_type: string | null;
|
|
896
|
-
billing_period: string | null;
|
|
897
|
-
kms_info: z.objectOutputType<{
|
|
898
|
-
id: z.ZodString;
|
|
899
|
-
slug: z.ZodNullable<z.ZodString>;
|
|
900
|
-
url: z.ZodString;
|
|
901
|
-
version: z.ZodString;
|
|
902
|
-
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
903
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
904
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
905
|
-
}, z.ZodTypeAny, "passthrough"> | null;
|
|
906
|
-
gateway_domain: string | null;
|
|
907
|
-
public_urls: {
|
|
908
|
-
app: string;
|
|
909
|
-
instance: string;
|
|
910
|
-
}[];
|
|
911
|
-
machine_info?: {
|
|
912
|
-
vcpu: number;
|
|
913
|
-
memory: number;
|
|
914
|
-
disk_size: number;
|
|
915
|
-
gpu_count: number;
|
|
916
|
-
} | null | undefined;
|
|
917
|
-
updated_at?: string | null | undefined;
|
|
918
|
-
}[];
|
|
919
|
-
page: number;
|
|
920
|
-
page_size: number;
|
|
921
|
-
pages: number;
|
|
922
|
-
}, {
|
|
923
|
-
total: number;
|
|
924
|
-
items: {
|
|
925
|
-
status: string;
|
|
926
|
-
name: string;
|
|
927
|
-
vcpu: number | null;
|
|
928
|
-
memory: number | null;
|
|
929
|
-
disk_size: number | null;
|
|
930
|
-
hosted: {
|
|
931
|
-
status: string;
|
|
932
|
-
name: string;
|
|
933
|
-
id: string;
|
|
934
|
-
app_id: string;
|
|
935
|
-
instance_id: string | null;
|
|
936
|
-
app_url: string | null;
|
|
937
|
-
uptime: string;
|
|
938
|
-
exited_at: string | null;
|
|
939
|
-
boot_progress: string | null;
|
|
940
|
-
boot_error: string | null;
|
|
941
|
-
shutdown_progress: string | null;
|
|
942
|
-
image_version: string | null;
|
|
943
|
-
configuration?: any;
|
|
944
|
-
};
|
|
945
|
-
managed_user: {
|
|
946
|
-
username: string;
|
|
947
|
-
id: string | number;
|
|
948
|
-
} | null;
|
|
949
|
-
node: {
|
|
950
|
-
name: string;
|
|
951
|
-
id: number;
|
|
952
|
-
region_identifier?: string | null | undefined;
|
|
953
|
-
} | null;
|
|
954
|
-
dapp_dashboard_url: string | null;
|
|
955
|
-
syslog_endpoint: string | null;
|
|
956
|
-
project_id: string | null;
|
|
957
|
-
project_type: string | null;
|
|
958
|
-
billing_period: string | null;
|
|
959
|
-
kms_info: z.objectInputType<{
|
|
960
|
-
id: z.ZodString;
|
|
961
|
-
slug: z.ZodNullable<z.ZodString>;
|
|
962
|
-
url: z.ZodString;
|
|
963
|
-
version: z.ZodString;
|
|
964
|
-
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
965
|
-
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
966
|
-
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
967
|
-
}, z.ZodTypeAny, "passthrough"> | null;
|
|
968
|
-
gateway_domain: string | null;
|
|
969
|
-
public_urls: {
|
|
970
|
-
app: string;
|
|
971
|
-
instance: string;
|
|
972
|
-
}[];
|
|
973
|
-
listed?: boolean | undefined;
|
|
974
|
-
in_progress?: boolean | undefined;
|
|
975
|
-
allow_upgrade?: boolean | undefined;
|
|
976
|
-
machine_info?: {
|
|
977
|
-
vcpu: number;
|
|
978
|
-
memory: number;
|
|
979
|
-
disk_size: number;
|
|
980
|
-
gpu_count?: number | undefined;
|
|
981
|
-
} | null | undefined;
|
|
982
|
-
updated_at?: string | null | undefined;
|
|
983
|
-
}[];
|
|
984
|
-
page: number;
|
|
985
|
-
page_size: number;
|
|
986
|
-
pages: number;
|
|
987
|
-
}>;
|
|
289
|
+
}, z.core.$strip>;
|
|
988
290
|
export type PaginatedCvmInfosV20251028 = z.infer<typeof PaginatedCvmInfosV20251028Schema>;
|