@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
|
@@ -57,8 +57,8 @@ export declare const CreateAppInstanceRequestSchema: z.ZodObject<{
|
|
|
57
57
|
compose_hash?: string | undefined;
|
|
58
58
|
node_id?: number | undefined;
|
|
59
59
|
docker_compose_file?: string | undefined;
|
|
60
|
-
pre_launch_script?: string | undefined;
|
|
61
60
|
encrypted_env?: string | undefined;
|
|
61
|
+
pre_launch_script?: string | undefined;
|
|
62
62
|
transaction_hash?: string | undefined;
|
|
63
63
|
token?: string | undefined;
|
|
64
64
|
}, {
|
|
@@ -67,8 +67,8 @@ export declare const CreateAppInstanceRequestSchema: z.ZodObject<{
|
|
|
67
67
|
compose_hash?: string | undefined;
|
|
68
68
|
node_id?: number | undefined;
|
|
69
69
|
docker_compose_file?: string | undefined;
|
|
70
|
-
pre_launch_script?: string | undefined;
|
|
71
70
|
encrypted_env?: string | undefined;
|
|
71
|
+
pre_launch_script?: string | undefined;
|
|
72
72
|
transaction_hash?: string | undefined;
|
|
73
73
|
token?: string | undefined;
|
|
74
74
|
}>;
|
|
@@ -80,8 +80,8 @@ declare const createAppInstance: {
|
|
|
80
80
|
compose_hash?: string | undefined;
|
|
81
81
|
node_id?: number | undefined;
|
|
82
82
|
docker_compose_file?: string | undefined;
|
|
83
|
-
pre_launch_script?: string | undefined;
|
|
84
83
|
encrypted_env?: string | undefined;
|
|
84
|
+
pre_launch_script?: string | undefined;
|
|
85
85
|
transaction_hash?: string | undefined;
|
|
86
86
|
token?: string | undefined;
|
|
87
87
|
}): Promise<{
|
|
@@ -90,26 +90,26 @@ declare const createAppInstance: {
|
|
|
90
90
|
id: string;
|
|
91
91
|
app_id: string;
|
|
92
92
|
instance_id: string | null;
|
|
93
|
+
teepod_id: number;
|
|
94
|
+
vm_uuid: string | null;
|
|
93
95
|
vcpu: number;
|
|
94
96
|
memory: number;
|
|
95
97
|
disk_size: number;
|
|
96
|
-
teepod_id: number;
|
|
97
|
-
vm_uuid: string | null;
|
|
98
|
-
encrypted_env_pubkey: string | null;
|
|
99
98
|
created_at: string;
|
|
99
|
+
encrypted_env_pubkey: string | null;
|
|
100
100
|
version?: string | null | undefined;
|
|
101
|
-
app_url?: string | null | undefined;
|
|
102
101
|
teepod?: {
|
|
103
102
|
name: string;
|
|
104
103
|
id: number;
|
|
105
104
|
region_identifier?: string | null | undefined;
|
|
106
105
|
} | null | undefined;
|
|
106
|
+
app_url?: string | null | undefined;
|
|
107
107
|
base_image?: string | null | undefined;
|
|
108
|
-
user_id?: string | null | undefined;
|
|
109
|
-
docker_compose_file?: string | null | undefined;
|
|
110
|
-
features?: string[] | null | undefined;
|
|
111
108
|
manifest_version?: number | null | undefined;
|
|
112
109
|
runner?: string | null | undefined;
|
|
110
|
+
docker_compose_file?: string | null | undefined;
|
|
111
|
+
features?: string[] | null | undefined;
|
|
112
|
+
user_id?: string | null | undefined;
|
|
113
113
|
}>;
|
|
114
114
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
115
115
|
appId: string;
|
|
@@ -117,8 +117,8 @@ declare const createAppInstance: {
|
|
|
117
117
|
compose_hash?: string | undefined;
|
|
118
118
|
node_id?: number | undefined;
|
|
119
119
|
docker_compose_file?: string | undefined;
|
|
120
|
-
pre_launch_script?: string | undefined;
|
|
121
120
|
encrypted_env?: string | undefined;
|
|
121
|
+
pre_launch_script?: string | undefined;
|
|
122
122
|
transaction_hash?: string | undefined;
|
|
123
123
|
token?: string | undefined;
|
|
124
124
|
}, parameters: {
|
|
@@ -130,8 +130,8 @@ declare const createAppInstance: {
|
|
|
130
130
|
compose_hash?: string | undefined;
|
|
131
131
|
node_id?: number | undefined;
|
|
132
132
|
docker_compose_file?: string | undefined;
|
|
133
|
-
pre_launch_script?: string | undefined;
|
|
134
133
|
encrypted_env?: string | undefined;
|
|
134
|
+
pre_launch_script?: string | undefined;
|
|
135
135
|
transaction_hash?: string | undefined;
|
|
136
136
|
token?: string | undefined;
|
|
137
137
|
}, parameters: {
|
|
@@ -144,8 +144,8 @@ declare const createAppInstance: {
|
|
|
144
144
|
compose_hash?: string | undefined;
|
|
145
145
|
node_id?: number | undefined;
|
|
146
146
|
docker_compose_file?: string | undefined;
|
|
147
|
-
pre_launch_script?: string | undefined;
|
|
148
147
|
encrypted_env?: string | undefined;
|
|
148
|
+
pre_launch_script?: string | undefined;
|
|
149
149
|
transaction_hash?: string | undefined;
|
|
150
150
|
token?: string | undefined;
|
|
151
151
|
}): Promise<import("../..").SafeResult<{
|
|
@@ -154,26 +154,26 @@ declare const createAppInstance: {
|
|
|
154
154
|
id: string;
|
|
155
155
|
app_id: string;
|
|
156
156
|
instance_id: string | null;
|
|
157
|
+
teepod_id: number;
|
|
158
|
+
vm_uuid: string | null;
|
|
157
159
|
vcpu: number;
|
|
158
160
|
memory: number;
|
|
159
161
|
disk_size: number;
|
|
160
|
-
teepod_id: number;
|
|
161
|
-
vm_uuid: string | null;
|
|
162
|
-
encrypted_env_pubkey: string | null;
|
|
163
162
|
created_at: string;
|
|
163
|
+
encrypted_env_pubkey: string | null;
|
|
164
164
|
version?: string | null | undefined;
|
|
165
|
-
app_url?: string | null | undefined;
|
|
166
165
|
teepod?: {
|
|
167
166
|
name: string;
|
|
168
167
|
id: number;
|
|
169
168
|
region_identifier?: string | null | undefined;
|
|
170
169
|
} | null | undefined;
|
|
170
|
+
app_url?: string | null | undefined;
|
|
171
171
|
base_image?: string | null | undefined;
|
|
172
|
-
user_id?: string | null | undefined;
|
|
173
|
-
docker_compose_file?: string | null | undefined;
|
|
174
|
-
features?: string[] | null | undefined;
|
|
175
172
|
manifest_version?: number | null | undefined;
|
|
176
173
|
runner?: string | null | undefined;
|
|
174
|
+
docker_compose_file?: string | null | undefined;
|
|
175
|
+
features?: string[] | null | undefined;
|
|
176
|
+
user_id?: string | null | undefined;
|
|
177
177
|
}>>;
|
|
178
178
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
179
179
|
appId: string;
|
|
@@ -181,8 +181,8 @@ declare const createAppInstance: {
|
|
|
181
181
|
compose_hash?: string | undefined;
|
|
182
182
|
node_id?: number | undefined;
|
|
183
183
|
docker_compose_file?: string | undefined;
|
|
184
|
-
pre_launch_script?: string | undefined;
|
|
185
184
|
encrypted_env?: string | undefined;
|
|
185
|
+
pre_launch_script?: string | undefined;
|
|
186
186
|
transaction_hash?: string | undefined;
|
|
187
187
|
token?: string | undefined;
|
|
188
188
|
}, parameters: {
|
|
@@ -194,8 +194,8 @@ declare const createAppInstance: {
|
|
|
194
194
|
compose_hash?: string | undefined;
|
|
195
195
|
node_id?: number | undefined;
|
|
196
196
|
docker_compose_file?: string | undefined;
|
|
197
|
-
pre_launch_script?: string | undefined;
|
|
198
197
|
encrypted_env?: string | undefined;
|
|
198
|
+
pre_launch_script?: string | undefined;
|
|
199
199
|
transaction_hash?: string | undefined;
|
|
200
200
|
token?: string | undefined;
|
|
201
201
|
}, parameters: {
|
|
@@ -11,6 +11,7 @@ export declare const AppAttestationInstanceSchema: z.ZodObject<{
|
|
|
11
11
|
device_id: z.ZodOptional<z.ZodString>;
|
|
12
12
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
tee_tcb_svn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
mr_config_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
15
|
cpusvn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
16
|
pcesvn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
17
|
tcb_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -174,9 +175,9 @@ export declare const AppAttestationInstanceSchema: z.ZodObject<{
|
|
|
174
175
|
name?: string | undefined;
|
|
175
176
|
error?: string | null | undefined;
|
|
176
177
|
instance_id?: string | null | undefined;
|
|
177
|
-
image_version?: string | null | undefined;
|
|
178
|
-
vm_uuid?: string | null | undefined;
|
|
179
178
|
device_id?: string | undefined;
|
|
179
|
+
vm_uuid?: string | null | undefined;
|
|
180
|
+
image_version?: string | null | undefined;
|
|
180
181
|
ppid?: string | undefined;
|
|
181
182
|
compose_file?: string | null | undefined;
|
|
182
183
|
fmspc?: string | null | undefined;
|
|
@@ -225,6 +226,7 @@ export declare const AppAttestationInstanceSchema: z.ZodObject<{
|
|
|
225
226
|
} | null | undefined;
|
|
226
227
|
ppid_sha256?: string | null | undefined;
|
|
227
228
|
tee_tcb_svn?: string | null | undefined;
|
|
229
|
+
mr_config_id?: string | null | undefined;
|
|
228
230
|
cpusvn?: string | null | undefined;
|
|
229
231
|
pcesvn?: number | null | undefined;
|
|
230
232
|
}, {
|
|
@@ -232,9 +234,9 @@ export declare const AppAttestationInstanceSchema: z.ZodObject<{
|
|
|
232
234
|
name?: string | undefined;
|
|
233
235
|
error?: string | null | undefined;
|
|
234
236
|
instance_id?: string | null | undefined;
|
|
235
|
-
image_version?: string | null | undefined;
|
|
236
|
-
vm_uuid?: string | null | undefined;
|
|
237
237
|
device_id?: string | undefined;
|
|
238
|
+
vm_uuid?: string | null | undefined;
|
|
239
|
+
image_version?: string | null | undefined;
|
|
238
240
|
ppid?: string | undefined;
|
|
239
241
|
compose_file?: string | null | undefined;
|
|
240
242
|
fmspc?: string | null | undefined;
|
|
@@ -283,6 +285,7 @@ export declare const AppAttestationInstanceSchema: z.ZodObject<{
|
|
|
283
285
|
} | null | undefined;
|
|
284
286
|
ppid_sha256?: string | null | undefined;
|
|
285
287
|
tee_tcb_svn?: string | null | undefined;
|
|
288
|
+
mr_config_id?: string | null | undefined;
|
|
286
289
|
cpusvn?: string | null | undefined;
|
|
287
290
|
pcesvn?: number | null | undefined;
|
|
288
291
|
}>;
|
|
@@ -292,7 +295,7 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
292
295
|
contract_address: z.ZodString;
|
|
293
296
|
kms_info: z.ZodObject<{
|
|
294
297
|
contract_address: z.ZodString;
|
|
295
|
-
chain_id: z.ZodNullable<z.
|
|
298
|
+
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
296
299
|
version: z.ZodString;
|
|
297
300
|
url: z.ZodString;
|
|
298
301
|
gateway_app_id: z.ZodNullable<z.ZodString>;
|
|
@@ -300,18 +303,18 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
300
303
|
kms_type: z.ZodString;
|
|
301
304
|
}, "strip", z.ZodTypeAny, {
|
|
302
305
|
version: string;
|
|
306
|
+
chain_id: number | null;
|
|
307
|
+
contract_address: string;
|
|
303
308
|
url: string;
|
|
304
|
-
chain_id: string | null;
|
|
305
309
|
gateway_app_id: string | null;
|
|
306
|
-
contract_address: string;
|
|
307
310
|
kms_type: string;
|
|
308
311
|
gateway_app_url: string;
|
|
309
312
|
}, {
|
|
310
313
|
version: string;
|
|
314
|
+
chain_id: number | null;
|
|
315
|
+
contract_address: string;
|
|
311
316
|
url: string;
|
|
312
|
-
chain_id: string | null;
|
|
313
317
|
gateway_app_id: string | null;
|
|
314
|
-
contract_address: string;
|
|
315
318
|
kms_type: string;
|
|
316
319
|
gateway_app_url: string;
|
|
317
320
|
}>;
|
|
@@ -327,6 +330,7 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
327
330
|
device_id: z.ZodOptional<z.ZodString>;
|
|
328
331
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
329
332
|
tee_tcb_svn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
333
|
+
mr_config_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
330
334
|
cpusvn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
331
335
|
pcesvn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
332
336
|
tcb_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -490,9 +494,9 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
490
494
|
name?: string | undefined;
|
|
491
495
|
error?: string | null | undefined;
|
|
492
496
|
instance_id?: string | null | undefined;
|
|
493
|
-
image_version?: string | null | undefined;
|
|
494
|
-
vm_uuid?: string | null | undefined;
|
|
495
497
|
device_id?: string | undefined;
|
|
498
|
+
vm_uuid?: string | null | undefined;
|
|
499
|
+
image_version?: string | null | undefined;
|
|
496
500
|
ppid?: string | undefined;
|
|
497
501
|
compose_file?: string | null | undefined;
|
|
498
502
|
fmspc?: string | null | undefined;
|
|
@@ -541,6 +545,7 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
541
545
|
} | null | undefined;
|
|
542
546
|
ppid_sha256?: string | null | undefined;
|
|
543
547
|
tee_tcb_svn?: string | null | undefined;
|
|
548
|
+
mr_config_id?: string | null | undefined;
|
|
544
549
|
cpusvn?: string | null | undefined;
|
|
545
550
|
pcesvn?: number | null | undefined;
|
|
546
551
|
}, {
|
|
@@ -548,9 +553,9 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
548
553
|
name?: string | undefined;
|
|
549
554
|
error?: string | null | undefined;
|
|
550
555
|
instance_id?: string | null | undefined;
|
|
551
|
-
image_version?: string | null | undefined;
|
|
552
|
-
vm_uuid?: string | null | undefined;
|
|
553
556
|
device_id?: string | undefined;
|
|
557
|
+
vm_uuid?: string | null | undefined;
|
|
558
|
+
image_version?: string | null | undefined;
|
|
554
559
|
ppid?: string | undefined;
|
|
555
560
|
compose_file?: string | null | undefined;
|
|
556
561
|
fmspc?: string | null | undefined;
|
|
@@ -599,6 +604,7 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
599
604
|
} | null | undefined;
|
|
600
605
|
ppid_sha256?: string | null | undefined;
|
|
601
606
|
tee_tcb_svn?: string | null | undefined;
|
|
607
|
+
mr_config_id?: string | null | undefined;
|
|
602
608
|
cpusvn?: string | null | undefined;
|
|
603
609
|
pcesvn?: number | null | undefined;
|
|
604
610
|
}>, "many">;
|
|
@@ -637,24 +643,24 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
637
643
|
qemu_version: z.ZodNullable<z.ZodString>;
|
|
638
644
|
}, "strip", z.ZodTypeAny, {
|
|
639
645
|
app_id: string;
|
|
646
|
+
contract_address: string;
|
|
640
647
|
kms_info: {
|
|
641
648
|
version: string;
|
|
649
|
+
chain_id: number | null;
|
|
650
|
+
contract_address: string;
|
|
642
651
|
url: string;
|
|
643
|
-
chain_id: string | null;
|
|
644
652
|
gateway_app_id: string | null;
|
|
645
|
-
contract_address: string;
|
|
646
653
|
kms_type: string;
|
|
647
654
|
gateway_app_url: string;
|
|
648
655
|
};
|
|
649
|
-
contract_address: string;
|
|
650
656
|
instances: {
|
|
651
657
|
status?: string | undefined;
|
|
652
658
|
name?: string | undefined;
|
|
653
659
|
error?: string | null | undefined;
|
|
654
660
|
instance_id?: string | null | undefined;
|
|
655
|
-
image_version?: string | null | undefined;
|
|
656
|
-
vm_uuid?: string | null | undefined;
|
|
657
661
|
device_id?: string | undefined;
|
|
662
|
+
vm_uuid?: string | null | undefined;
|
|
663
|
+
image_version?: string | null | undefined;
|
|
658
664
|
ppid?: string | undefined;
|
|
659
665
|
compose_file?: string | null | undefined;
|
|
660
666
|
fmspc?: string | null | undefined;
|
|
@@ -703,6 +709,7 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
703
709
|
} | null | undefined;
|
|
704
710
|
ppid_sha256?: string | null | undefined;
|
|
705
711
|
tee_tcb_svn?: string | null | undefined;
|
|
712
|
+
mr_config_id?: string | null | undefined;
|
|
706
713
|
cpusvn?: string | null | undefined;
|
|
707
714
|
pcesvn?: number | null | undefined;
|
|
708
715
|
}[];
|
|
@@ -721,24 +728,24 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
721
728
|
qemu_version: string | null;
|
|
722
729
|
}, {
|
|
723
730
|
app_id: string;
|
|
731
|
+
contract_address: string;
|
|
724
732
|
kms_info: {
|
|
725
733
|
version: string;
|
|
734
|
+
chain_id: number | null;
|
|
735
|
+
contract_address: string;
|
|
726
736
|
url: string;
|
|
727
|
-
chain_id: string | null;
|
|
728
737
|
gateway_app_id: string | null;
|
|
729
|
-
contract_address: string;
|
|
730
738
|
kms_type: string;
|
|
731
739
|
gateway_app_url: string;
|
|
732
740
|
};
|
|
733
|
-
contract_address: string;
|
|
734
741
|
instances: {
|
|
735
742
|
status?: string | undefined;
|
|
736
743
|
name?: string | undefined;
|
|
737
744
|
error?: string | null | undefined;
|
|
738
745
|
instance_id?: string | null | undefined;
|
|
739
|
-
image_version?: string | null | undefined;
|
|
740
|
-
vm_uuid?: string | null | undefined;
|
|
741
746
|
device_id?: string | undefined;
|
|
747
|
+
vm_uuid?: string | null | undefined;
|
|
748
|
+
image_version?: string | null | undefined;
|
|
742
749
|
ppid?: string | undefined;
|
|
743
750
|
compose_file?: string | null | undefined;
|
|
744
751
|
fmspc?: string | null | undefined;
|
|
@@ -787,6 +794,7 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
787
794
|
} | null | undefined;
|
|
788
795
|
ppid_sha256?: string | null | undefined;
|
|
789
796
|
tee_tcb_svn?: string | null | undefined;
|
|
797
|
+
mr_config_id?: string | null | undefined;
|
|
790
798
|
cpusvn?: string | null | undefined;
|
|
791
799
|
pcesvn?: number | null | undefined;
|
|
792
800
|
}[];
|
|
@@ -818,24 +826,24 @@ declare const getAppAttestation: {
|
|
|
818
826
|
appId: string;
|
|
819
827
|
}): Promise<{
|
|
820
828
|
app_id: string;
|
|
829
|
+
contract_address: string;
|
|
821
830
|
kms_info: {
|
|
822
831
|
version: string;
|
|
832
|
+
chain_id: number | null;
|
|
833
|
+
contract_address: string;
|
|
823
834
|
url: string;
|
|
824
|
-
chain_id: string | null;
|
|
825
835
|
gateway_app_id: string | null;
|
|
826
|
-
contract_address: string;
|
|
827
836
|
kms_type: string;
|
|
828
837
|
gateway_app_url: string;
|
|
829
838
|
};
|
|
830
|
-
contract_address: string;
|
|
831
839
|
instances: {
|
|
832
840
|
status?: string | undefined;
|
|
833
841
|
name?: string | undefined;
|
|
834
842
|
error?: string | null | undefined;
|
|
835
843
|
instance_id?: string | null | undefined;
|
|
836
|
-
image_version?: string | null | undefined;
|
|
837
|
-
vm_uuid?: string | null | undefined;
|
|
838
844
|
device_id?: string | undefined;
|
|
845
|
+
vm_uuid?: string | null | undefined;
|
|
846
|
+
image_version?: string | null | undefined;
|
|
839
847
|
ppid?: string | undefined;
|
|
840
848
|
compose_file?: string | null | undefined;
|
|
841
849
|
fmspc?: string | null | undefined;
|
|
@@ -884,6 +892,7 @@ declare const getAppAttestation: {
|
|
|
884
892
|
} | null | undefined;
|
|
885
893
|
ppid_sha256?: string | null | undefined;
|
|
886
894
|
tee_tcb_svn?: string | null | undefined;
|
|
895
|
+
mr_config_id?: string | null | undefined;
|
|
887
896
|
cpusvn?: string | null | undefined;
|
|
888
897
|
pcesvn?: number | null | undefined;
|
|
889
898
|
}[];
|
|
@@ -916,24 +925,24 @@ declare const getAppAttestation: {
|
|
|
916
925
|
appId: string;
|
|
917
926
|
}): Promise<import("../..").SafeResult<{
|
|
918
927
|
app_id: string;
|
|
928
|
+
contract_address: string;
|
|
919
929
|
kms_info: {
|
|
920
930
|
version: string;
|
|
931
|
+
chain_id: number | null;
|
|
932
|
+
contract_address: string;
|
|
921
933
|
url: string;
|
|
922
|
-
chain_id: string | null;
|
|
923
934
|
gateway_app_id: string | null;
|
|
924
|
-
contract_address: string;
|
|
925
935
|
kms_type: string;
|
|
926
936
|
gateway_app_url: string;
|
|
927
937
|
};
|
|
928
|
-
contract_address: string;
|
|
929
938
|
instances: {
|
|
930
939
|
status?: string | undefined;
|
|
931
940
|
name?: string | undefined;
|
|
932
941
|
error?: string | null | undefined;
|
|
933
942
|
instance_id?: string | null | undefined;
|
|
934
|
-
image_version?: string | null | undefined;
|
|
935
|
-
vm_uuid?: string | null | undefined;
|
|
936
943
|
device_id?: string | undefined;
|
|
944
|
+
vm_uuid?: string | null | undefined;
|
|
945
|
+
image_version?: string | null | undefined;
|
|
937
946
|
ppid?: string | undefined;
|
|
938
947
|
compose_file?: string | null | undefined;
|
|
939
948
|
fmspc?: string | null | undefined;
|
|
@@ -982,6 +991,7 @@ declare const getAppAttestation: {
|
|
|
982
991
|
} | null | undefined;
|
|
983
992
|
ppid_sha256?: string | null | undefined;
|
|
984
993
|
tee_tcb_svn?: string | null | undefined;
|
|
994
|
+
mr_config_id?: string | null | undefined;
|
|
985
995
|
cpusvn?: string | null | undefined;
|
|
986
996
|
pcesvn?: number | null | undefined;
|
|
987
997
|
}[];
|