@phala/cloud 0.2.9 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +324 -75
- package/dist/actions/apps/check_app_is_allowed.d.ts +16 -16
- package/dist/actions/apps/create_app_instance.d.ts +33 -24
- package/dist/actions/apps/get_app_attestation.d.ts +82 -32
- package/dist/actions/apps/get_app_device_allowlist.d.ts +281 -11
- package/dist/actions/apps/get_app_filter_options.d.ts +2 -2
- package/dist/actions/apps/get_app_list.d.ts +2 -2
- package/dist/actions/cvms/check_cvm_is_allowed.d.ts +142 -74
- package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +12 -12
- package/dist/actions/cvms/commit_cvm_provision.d.ts +424 -277
- 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 +338 -10
- 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 +4 -4
- 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 +6 -6
- package/dist/actions/cvms/get_cvm_user_config.d.ts +2 -2
- package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +93 -0
- package/dist/actions/cvms/patch_cvm.d.ts +18 -18
- package/dist/actions/cvms/provision_cvm.d.ts +243 -225
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +254 -38
- package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +130 -43
- package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +294 -110
- 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 +20 -20
- package/dist/actions/cvms/update_cvm_resources.d.ts +2 -2
- package/dist/actions/cvms/update_cvm_visibility.d.ts +26 -26
- package/dist/actions/cvms/update_docker_compose.d.ts +20 -20
- package/dist/actions/cvms/update_os_image.d.ts +2 -2
- package/dist/actions/cvms/update_prelaunch_script.d.ts +20 -20
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +319 -0
- package/dist/actions/get_cvm_create_resources.d.ts +2412 -0
- package/dist/actions/index.d.ts +3 -0
- package/dist/actions/kms/get_kms_list.d.ts +10 -10
- 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 +2 -0
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +14 -14
- package/dist/actions/workspaces/list_workspaces.d.ts +18 -0
- package/dist/client.d.ts +5 -2
- package/dist/create-client.d.ts +48 -0
- package/dist/index.js +1882 -1257
- package/dist/index.mjs +1850 -1255
- package/dist/types/app_compose.d.ts +125 -0
- package/dist/types/app_info_v20251028.d.ts +136 -259
- package/dist/types/app_info_v20260121.d.ts +4677 -345
- 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 +536 -10
- package/dist/types/cvm_info_v20251028.d.ts +65 -65
- package/dist/types/cvm_info_v20260121.d.ts +1636 -85
- package/dist/types/version-mappings.d.ts +45 -8
- package/dist/utils/errors.d.ts +8 -1
- package/package.json +2 -2
|
@@ -43,6 +43,7 @@ import { z } from "zod";
|
|
|
43
43
|
*/
|
|
44
44
|
export declare const CreateAppInstanceRequestSchema: z.ZodObject<{
|
|
45
45
|
appId: z.ZodString;
|
|
46
|
+
name: z.ZodOptional<z.ZodString>;
|
|
46
47
|
node_id: z.ZodOptional<z.ZodNumber>;
|
|
47
48
|
docker_compose_file: z.ZodOptional<z.ZodString>;
|
|
48
49
|
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
@@ -52,20 +53,22 @@ export declare const CreateAppInstanceRequestSchema: z.ZodObject<{
|
|
|
52
53
|
transaction_hash: z.ZodOptional<z.ZodString>;
|
|
53
54
|
}, "strict", z.ZodTypeAny, {
|
|
54
55
|
appId: string;
|
|
56
|
+
name?: string | undefined;
|
|
55
57
|
compose_hash?: string | undefined;
|
|
56
58
|
node_id?: number | undefined;
|
|
57
59
|
docker_compose_file?: string | undefined;
|
|
58
|
-
pre_launch_script?: string | undefined;
|
|
59
60
|
encrypted_env?: string | undefined;
|
|
61
|
+
pre_launch_script?: string | undefined;
|
|
60
62
|
transaction_hash?: string | undefined;
|
|
61
63
|
token?: string | undefined;
|
|
62
64
|
}, {
|
|
63
65
|
appId: string;
|
|
66
|
+
name?: string | undefined;
|
|
64
67
|
compose_hash?: string | undefined;
|
|
65
68
|
node_id?: number | undefined;
|
|
66
69
|
docker_compose_file?: string | undefined;
|
|
67
|
-
pre_launch_script?: string | undefined;
|
|
68
70
|
encrypted_env?: string | undefined;
|
|
71
|
+
pre_launch_script?: string | undefined;
|
|
69
72
|
transaction_hash?: string | undefined;
|
|
70
73
|
token?: string | undefined;
|
|
71
74
|
}>;
|
|
@@ -73,47 +76,49 @@ export type CreateAppInstanceRequest = z.infer<typeof CreateAppInstanceRequestSc
|
|
|
73
76
|
declare const createAppInstance: {
|
|
74
77
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
75
78
|
appId: string;
|
|
79
|
+
name?: string | undefined;
|
|
76
80
|
compose_hash?: string | undefined;
|
|
77
81
|
node_id?: number | undefined;
|
|
78
82
|
docker_compose_file?: string | undefined;
|
|
79
|
-
pre_launch_script?: string | undefined;
|
|
80
83
|
encrypted_env?: string | undefined;
|
|
84
|
+
pre_launch_script?: string | undefined;
|
|
81
85
|
transaction_hash?: string | undefined;
|
|
82
86
|
token?: string | undefined;
|
|
83
87
|
}): Promise<{
|
|
84
88
|
status: string;
|
|
85
89
|
name: string;
|
|
86
|
-
id:
|
|
90
|
+
id: string;
|
|
87
91
|
app_id: string;
|
|
88
92
|
instance_id: string | null;
|
|
93
|
+
teepod_id: number;
|
|
94
|
+
vm_uuid: string | null;
|
|
89
95
|
vcpu: number;
|
|
90
96
|
memory: number;
|
|
91
97
|
disk_size: number;
|
|
92
|
-
teepod_id: number;
|
|
93
|
-
vm_uuid: string | null;
|
|
94
|
-
encrypted_env_pubkey: string | null;
|
|
95
98
|
created_at: string;
|
|
99
|
+
encrypted_env_pubkey: string | null;
|
|
96
100
|
version?: string | null | undefined;
|
|
97
|
-
app_url?: string | null | undefined;
|
|
98
101
|
teepod?: {
|
|
99
102
|
name: string;
|
|
100
103
|
id: number;
|
|
101
104
|
region_identifier?: string | null | undefined;
|
|
102
105
|
} | null | undefined;
|
|
106
|
+
app_url?: string | null | undefined;
|
|
103
107
|
base_image?: string | null | undefined;
|
|
104
|
-
user_id?: number | null | undefined;
|
|
105
|
-
docker_compose_file?: string | null | undefined;
|
|
106
|
-
features?: string[] | null | undefined;
|
|
107
108
|
manifest_version?: number | null | undefined;
|
|
108
109
|
runner?: string | null | undefined;
|
|
110
|
+
docker_compose_file?: string | null | undefined;
|
|
111
|
+
features?: string[] | null | undefined;
|
|
112
|
+
user_id?: string | null | undefined;
|
|
109
113
|
}>;
|
|
110
114
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
111
115
|
appId: string;
|
|
116
|
+
name?: string | undefined;
|
|
112
117
|
compose_hash?: string | undefined;
|
|
113
118
|
node_id?: number | undefined;
|
|
114
119
|
docker_compose_file?: string | undefined;
|
|
115
|
-
pre_launch_script?: string | undefined;
|
|
116
120
|
encrypted_env?: string | undefined;
|
|
121
|
+
pre_launch_script?: string | undefined;
|
|
117
122
|
transaction_hash?: string | undefined;
|
|
118
123
|
token?: string | undefined;
|
|
119
124
|
}, parameters: {
|
|
@@ -121,11 +126,12 @@ declare const createAppInstance: {
|
|
|
121
126
|
}): Promise<z.TypeOf<T>>;
|
|
122
127
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
123
128
|
appId: string;
|
|
129
|
+
name?: string | undefined;
|
|
124
130
|
compose_hash?: string | undefined;
|
|
125
131
|
node_id?: number | undefined;
|
|
126
132
|
docker_compose_file?: string | undefined;
|
|
127
|
-
pre_launch_script?: string | undefined;
|
|
128
133
|
encrypted_env?: string | undefined;
|
|
134
|
+
pre_launch_script?: string | undefined;
|
|
129
135
|
transaction_hash?: string | undefined;
|
|
130
136
|
token?: string | undefined;
|
|
131
137
|
}, parameters: {
|
|
@@ -134,47 +140,49 @@ declare const createAppInstance: {
|
|
|
134
140
|
}, safeCreateAppInstance: {
|
|
135
141
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
136
142
|
appId: string;
|
|
143
|
+
name?: string | undefined;
|
|
137
144
|
compose_hash?: string | undefined;
|
|
138
145
|
node_id?: number | undefined;
|
|
139
146
|
docker_compose_file?: string | undefined;
|
|
140
|
-
pre_launch_script?: string | undefined;
|
|
141
147
|
encrypted_env?: string | undefined;
|
|
148
|
+
pre_launch_script?: string | undefined;
|
|
142
149
|
transaction_hash?: string | undefined;
|
|
143
150
|
token?: string | undefined;
|
|
144
151
|
}): Promise<import("../..").SafeResult<{
|
|
145
152
|
status: string;
|
|
146
153
|
name: string;
|
|
147
|
-
id:
|
|
154
|
+
id: string;
|
|
148
155
|
app_id: string;
|
|
149
156
|
instance_id: string | null;
|
|
157
|
+
teepod_id: number;
|
|
158
|
+
vm_uuid: string | null;
|
|
150
159
|
vcpu: number;
|
|
151
160
|
memory: number;
|
|
152
161
|
disk_size: number;
|
|
153
|
-
teepod_id: number;
|
|
154
|
-
vm_uuid: string | null;
|
|
155
|
-
encrypted_env_pubkey: string | null;
|
|
156
162
|
created_at: string;
|
|
163
|
+
encrypted_env_pubkey: string | null;
|
|
157
164
|
version?: string | null | undefined;
|
|
158
|
-
app_url?: string | null | undefined;
|
|
159
165
|
teepod?: {
|
|
160
166
|
name: string;
|
|
161
167
|
id: number;
|
|
162
168
|
region_identifier?: string | null | undefined;
|
|
163
169
|
} | null | undefined;
|
|
170
|
+
app_url?: string | null | undefined;
|
|
164
171
|
base_image?: string | null | undefined;
|
|
165
|
-
user_id?: number | null | undefined;
|
|
166
|
-
docker_compose_file?: string | null | undefined;
|
|
167
|
-
features?: string[] | null | undefined;
|
|
168
172
|
manifest_version?: number | null | undefined;
|
|
169
173
|
runner?: string | null | undefined;
|
|
174
|
+
docker_compose_file?: string | null | undefined;
|
|
175
|
+
features?: string[] | null | undefined;
|
|
176
|
+
user_id?: string | null | undefined;
|
|
170
177
|
}>>;
|
|
171
178
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
172
179
|
appId: string;
|
|
180
|
+
name?: string | undefined;
|
|
173
181
|
compose_hash?: string | undefined;
|
|
174
182
|
node_id?: number | undefined;
|
|
175
183
|
docker_compose_file?: string | undefined;
|
|
176
|
-
pre_launch_script?: string | undefined;
|
|
177
184
|
encrypted_env?: string | undefined;
|
|
185
|
+
pre_launch_script?: string | undefined;
|
|
178
186
|
transaction_hash?: string | undefined;
|
|
179
187
|
token?: string | undefined;
|
|
180
188
|
}, parameters: {
|
|
@@ -182,11 +190,12 @@ declare const createAppInstance: {
|
|
|
182
190
|
}): Promise<import("../..").SafeResult<z.TypeOf<T>>>;
|
|
183
191
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
184
192
|
appId: string;
|
|
193
|
+
name?: string | undefined;
|
|
185
194
|
compose_hash?: string | undefined;
|
|
186
195
|
node_id?: number | undefined;
|
|
187
196
|
docker_compose_file?: string | undefined;
|
|
188
|
-
pre_launch_script?: string | undefined;
|
|
189
197
|
encrypted_env?: string | undefined;
|
|
198
|
+
pre_launch_script?: string | undefined;
|
|
190
199
|
transaction_hash?: string | undefined;
|
|
191
200
|
token?: string | undefined;
|
|
192
201
|
}, parameters: {
|
|
@@ -7,7 +7,12 @@ export declare const AppAttestationInstanceSchema: z.ZodObject<{
|
|
|
7
7
|
image_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
8
|
quote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
ppid: z.ZodOptional<z.ZodString>;
|
|
10
|
+
ppid_sha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
11
|
device_id: z.ZodOptional<z.ZodString>;
|
|
12
|
+
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
tee_tcb_svn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
cpusvn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
pcesvn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
16
|
tcb_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
17
|
mrtd: z.ZodString;
|
|
13
18
|
rootfs_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -169,11 +174,12 @@ export declare const AppAttestationInstanceSchema: z.ZodObject<{
|
|
|
169
174
|
name?: string | undefined;
|
|
170
175
|
error?: string | null | undefined;
|
|
171
176
|
instance_id?: string | null | undefined;
|
|
172
|
-
image_version?: string | null | undefined;
|
|
173
|
-
vm_uuid?: string | null | undefined;
|
|
174
177
|
device_id?: string | undefined;
|
|
178
|
+
vm_uuid?: string | null | undefined;
|
|
179
|
+
image_version?: string | null | undefined;
|
|
175
180
|
ppid?: string | undefined;
|
|
176
181
|
compose_file?: string | null | undefined;
|
|
182
|
+
fmspc?: string | null | undefined;
|
|
177
183
|
quote?: string | null | undefined;
|
|
178
184
|
app_certificates?: {
|
|
179
185
|
version: string;
|
|
@@ -217,16 +223,21 @@ export declare const AppAttestationInstanceSchema: z.ZodObject<{
|
|
|
217
223
|
}[];
|
|
218
224
|
rootfs_hash?: string | null | undefined;
|
|
219
225
|
} | null | undefined;
|
|
226
|
+
ppid_sha256?: string | null | undefined;
|
|
227
|
+
tee_tcb_svn?: string | null | undefined;
|
|
228
|
+
cpusvn?: string | null | undefined;
|
|
229
|
+
pcesvn?: number | null | undefined;
|
|
220
230
|
}, {
|
|
221
231
|
status?: string | undefined;
|
|
222
232
|
name?: string | undefined;
|
|
223
233
|
error?: string | null | undefined;
|
|
224
234
|
instance_id?: string | null | undefined;
|
|
225
|
-
image_version?: string | null | undefined;
|
|
226
|
-
vm_uuid?: string | null | undefined;
|
|
227
235
|
device_id?: string | undefined;
|
|
236
|
+
vm_uuid?: string | null | undefined;
|
|
237
|
+
image_version?: string | null | undefined;
|
|
228
238
|
ppid?: string | undefined;
|
|
229
239
|
compose_file?: string | null | undefined;
|
|
240
|
+
fmspc?: string | null | undefined;
|
|
230
241
|
quote?: string | null | undefined;
|
|
231
242
|
app_certificates?: {
|
|
232
243
|
version: string;
|
|
@@ -270,6 +281,10 @@ export declare const AppAttestationInstanceSchema: z.ZodObject<{
|
|
|
270
281
|
}[];
|
|
271
282
|
rootfs_hash?: string | null | undefined;
|
|
272
283
|
} | null | undefined;
|
|
284
|
+
ppid_sha256?: string | null | undefined;
|
|
285
|
+
tee_tcb_svn?: string | null | undefined;
|
|
286
|
+
cpusvn?: string | null | undefined;
|
|
287
|
+
pcesvn?: number | null | undefined;
|
|
273
288
|
}>;
|
|
274
289
|
export type AppAttestationInstance = z.infer<typeof AppAttestationInstanceSchema>;
|
|
275
290
|
export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
@@ -285,18 +300,18 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
285
300
|
kms_type: z.ZodString;
|
|
286
301
|
}, "strip", z.ZodTypeAny, {
|
|
287
302
|
version: string;
|
|
288
|
-
url: string;
|
|
289
303
|
chain_id: string | null;
|
|
290
|
-
gateway_app_id: string | null;
|
|
291
304
|
contract_address: string;
|
|
305
|
+
url: string;
|
|
306
|
+
gateway_app_id: string | null;
|
|
292
307
|
kms_type: string;
|
|
293
308
|
gateway_app_url: string;
|
|
294
309
|
}, {
|
|
295
310
|
version: string;
|
|
296
|
-
url: string;
|
|
297
311
|
chain_id: string | null;
|
|
298
|
-
gateway_app_id: string | null;
|
|
299
312
|
contract_address: string;
|
|
313
|
+
url: string;
|
|
314
|
+
gateway_app_id: string | null;
|
|
300
315
|
kms_type: string;
|
|
301
316
|
gateway_app_url: string;
|
|
302
317
|
}>;
|
|
@@ -308,7 +323,12 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
308
323
|
image_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
309
324
|
quote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
310
325
|
ppid: z.ZodOptional<z.ZodString>;
|
|
326
|
+
ppid_sha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
311
327
|
device_id: z.ZodOptional<z.ZodString>;
|
|
328
|
+
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
329
|
+
tee_tcb_svn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
330
|
+
cpusvn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
331
|
+
pcesvn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
312
332
|
tcb_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
313
333
|
mrtd: z.ZodString;
|
|
314
334
|
rootfs_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -470,11 +490,12 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
470
490
|
name?: string | undefined;
|
|
471
491
|
error?: string | null | undefined;
|
|
472
492
|
instance_id?: string | null | undefined;
|
|
473
|
-
image_version?: string | null | undefined;
|
|
474
|
-
vm_uuid?: string | null | undefined;
|
|
475
493
|
device_id?: string | undefined;
|
|
494
|
+
vm_uuid?: string | null | undefined;
|
|
495
|
+
image_version?: string | null | undefined;
|
|
476
496
|
ppid?: string | undefined;
|
|
477
497
|
compose_file?: string | null | undefined;
|
|
498
|
+
fmspc?: string | null | undefined;
|
|
478
499
|
quote?: string | null | undefined;
|
|
479
500
|
app_certificates?: {
|
|
480
501
|
version: string;
|
|
@@ -518,16 +539,21 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
518
539
|
}[];
|
|
519
540
|
rootfs_hash?: string | null | undefined;
|
|
520
541
|
} | null | undefined;
|
|
542
|
+
ppid_sha256?: string | null | undefined;
|
|
543
|
+
tee_tcb_svn?: string | null | undefined;
|
|
544
|
+
cpusvn?: string | null | undefined;
|
|
545
|
+
pcesvn?: number | null | undefined;
|
|
521
546
|
}, {
|
|
522
547
|
status?: string | undefined;
|
|
523
548
|
name?: string | undefined;
|
|
524
549
|
error?: string | null | undefined;
|
|
525
550
|
instance_id?: string | null | undefined;
|
|
526
|
-
image_version?: string | null | undefined;
|
|
527
|
-
vm_uuid?: string | null | undefined;
|
|
528
551
|
device_id?: string | undefined;
|
|
552
|
+
vm_uuid?: string | null | undefined;
|
|
553
|
+
image_version?: string | null | undefined;
|
|
529
554
|
ppid?: string | undefined;
|
|
530
555
|
compose_file?: string | null | undefined;
|
|
556
|
+
fmspc?: string | null | undefined;
|
|
531
557
|
quote?: string | null | undefined;
|
|
532
558
|
app_certificates?: {
|
|
533
559
|
version: string;
|
|
@@ -571,6 +597,10 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
571
597
|
}[];
|
|
572
598
|
rootfs_hash?: string | null | undefined;
|
|
573
599
|
} | null | undefined;
|
|
600
|
+
ppid_sha256?: string | null | undefined;
|
|
601
|
+
tee_tcb_svn?: string | null | undefined;
|
|
602
|
+
cpusvn?: string | null | undefined;
|
|
603
|
+
pcesvn?: number | null | undefined;
|
|
574
604
|
}>, "many">;
|
|
575
605
|
kms_guest_agent_info: z.ZodNullable<z.ZodObject<{
|
|
576
606
|
app_id: z.ZodOptional<z.ZodString>;
|
|
@@ -607,26 +637,27 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
607
637
|
qemu_version: z.ZodNullable<z.ZodString>;
|
|
608
638
|
}, "strip", z.ZodTypeAny, {
|
|
609
639
|
app_id: string;
|
|
640
|
+
contract_address: string;
|
|
610
641
|
kms_info: {
|
|
611
642
|
version: string;
|
|
612
|
-
url: string;
|
|
613
643
|
chain_id: string | null;
|
|
614
|
-
gateway_app_id: string | null;
|
|
615
644
|
contract_address: string;
|
|
645
|
+
url: string;
|
|
646
|
+
gateway_app_id: string | null;
|
|
616
647
|
kms_type: string;
|
|
617
648
|
gateway_app_url: string;
|
|
618
649
|
};
|
|
619
|
-
contract_address: string;
|
|
620
650
|
instances: {
|
|
621
651
|
status?: string | undefined;
|
|
622
652
|
name?: string | undefined;
|
|
623
653
|
error?: string | null | undefined;
|
|
624
654
|
instance_id?: string | null | undefined;
|
|
625
|
-
image_version?: string | null | undefined;
|
|
626
|
-
vm_uuid?: string | null | undefined;
|
|
627
655
|
device_id?: string | undefined;
|
|
656
|
+
vm_uuid?: string | null | undefined;
|
|
657
|
+
image_version?: string | null | undefined;
|
|
628
658
|
ppid?: string | undefined;
|
|
629
659
|
compose_file?: string | null | undefined;
|
|
660
|
+
fmspc?: string | null | undefined;
|
|
630
661
|
quote?: string | null | undefined;
|
|
631
662
|
app_certificates?: {
|
|
632
663
|
version: string;
|
|
@@ -670,6 +701,10 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
670
701
|
}[];
|
|
671
702
|
rootfs_hash?: string | null | undefined;
|
|
672
703
|
} | null | undefined;
|
|
704
|
+
ppid_sha256?: string | null | undefined;
|
|
705
|
+
tee_tcb_svn?: string | null | undefined;
|
|
706
|
+
cpusvn?: string | null | undefined;
|
|
707
|
+
pcesvn?: number | null | undefined;
|
|
673
708
|
}[];
|
|
674
709
|
kms_guest_agent_info: z.objectOutputType<{
|
|
675
710
|
app_id: z.ZodOptional<z.ZodString>;
|
|
@@ -686,26 +721,27 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
686
721
|
qemu_version: string | null;
|
|
687
722
|
}, {
|
|
688
723
|
app_id: string;
|
|
724
|
+
contract_address: string;
|
|
689
725
|
kms_info: {
|
|
690
726
|
version: string;
|
|
691
|
-
url: string;
|
|
692
727
|
chain_id: string | null;
|
|
693
|
-
gateway_app_id: string | null;
|
|
694
728
|
contract_address: string;
|
|
729
|
+
url: string;
|
|
730
|
+
gateway_app_id: string | null;
|
|
695
731
|
kms_type: string;
|
|
696
732
|
gateway_app_url: string;
|
|
697
733
|
};
|
|
698
|
-
contract_address: string;
|
|
699
734
|
instances: {
|
|
700
735
|
status?: string | undefined;
|
|
701
736
|
name?: string | undefined;
|
|
702
737
|
error?: string | null | undefined;
|
|
703
738
|
instance_id?: string | null | undefined;
|
|
704
|
-
image_version?: string | null | undefined;
|
|
705
|
-
vm_uuid?: string | null | undefined;
|
|
706
739
|
device_id?: string | undefined;
|
|
740
|
+
vm_uuid?: string | null | undefined;
|
|
741
|
+
image_version?: string | null | undefined;
|
|
707
742
|
ppid?: string | undefined;
|
|
708
743
|
compose_file?: string | null | undefined;
|
|
744
|
+
fmspc?: string | null | undefined;
|
|
709
745
|
quote?: string | null | undefined;
|
|
710
746
|
app_certificates?: {
|
|
711
747
|
version: string;
|
|
@@ -749,6 +785,10 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
749
785
|
}[];
|
|
750
786
|
rootfs_hash?: string | null | undefined;
|
|
751
787
|
} | null | undefined;
|
|
788
|
+
ppid_sha256?: string | null | undefined;
|
|
789
|
+
tee_tcb_svn?: string | null | undefined;
|
|
790
|
+
cpusvn?: string | null | undefined;
|
|
791
|
+
pcesvn?: number | null | undefined;
|
|
752
792
|
}[];
|
|
753
793
|
kms_guest_agent_info: z.objectInputType<{
|
|
754
794
|
app_id: z.ZodOptional<z.ZodString>;
|
|
@@ -778,26 +818,27 @@ declare const getAppAttestation: {
|
|
|
778
818
|
appId: string;
|
|
779
819
|
}): Promise<{
|
|
780
820
|
app_id: string;
|
|
821
|
+
contract_address: string;
|
|
781
822
|
kms_info: {
|
|
782
823
|
version: string;
|
|
783
|
-
url: string;
|
|
784
824
|
chain_id: string | null;
|
|
785
|
-
gateway_app_id: string | null;
|
|
786
825
|
contract_address: string;
|
|
826
|
+
url: string;
|
|
827
|
+
gateway_app_id: string | null;
|
|
787
828
|
kms_type: string;
|
|
788
829
|
gateway_app_url: string;
|
|
789
830
|
};
|
|
790
|
-
contract_address: string;
|
|
791
831
|
instances: {
|
|
792
832
|
status?: string | undefined;
|
|
793
833
|
name?: string | undefined;
|
|
794
834
|
error?: string | null | undefined;
|
|
795
835
|
instance_id?: string | null | undefined;
|
|
796
|
-
image_version?: string | null | undefined;
|
|
797
|
-
vm_uuid?: string | null | undefined;
|
|
798
836
|
device_id?: string | undefined;
|
|
837
|
+
vm_uuid?: string | null | undefined;
|
|
838
|
+
image_version?: string | null | undefined;
|
|
799
839
|
ppid?: string | undefined;
|
|
800
840
|
compose_file?: string | null | undefined;
|
|
841
|
+
fmspc?: string | null | undefined;
|
|
801
842
|
quote?: string | null | undefined;
|
|
802
843
|
app_certificates?: {
|
|
803
844
|
version: string;
|
|
@@ -841,6 +882,10 @@ declare const getAppAttestation: {
|
|
|
841
882
|
}[];
|
|
842
883
|
rootfs_hash?: string | null | undefined;
|
|
843
884
|
} | null | undefined;
|
|
885
|
+
ppid_sha256?: string | null | undefined;
|
|
886
|
+
tee_tcb_svn?: string | null | undefined;
|
|
887
|
+
cpusvn?: string | null | undefined;
|
|
888
|
+
pcesvn?: number | null | undefined;
|
|
844
889
|
}[];
|
|
845
890
|
kms_guest_agent_info: z.objectOutputType<{
|
|
846
891
|
app_id: z.ZodOptional<z.ZodString>;
|
|
@@ -871,26 +916,27 @@ declare const getAppAttestation: {
|
|
|
871
916
|
appId: string;
|
|
872
917
|
}): Promise<import("../..").SafeResult<{
|
|
873
918
|
app_id: string;
|
|
919
|
+
contract_address: string;
|
|
874
920
|
kms_info: {
|
|
875
921
|
version: string;
|
|
876
|
-
url: string;
|
|
877
922
|
chain_id: string | null;
|
|
878
|
-
gateway_app_id: string | null;
|
|
879
923
|
contract_address: string;
|
|
924
|
+
url: string;
|
|
925
|
+
gateway_app_id: string | null;
|
|
880
926
|
kms_type: string;
|
|
881
927
|
gateway_app_url: string;
|
|
882
928
|
};
|
|
883
|
-
contract_address: string;
|
|
884
929
|
instances: {
|
|
885
930
|
status?: string | undefined;
|
|
886
931
|
name?: string | undefined;
|
|
887
932
|
error?: string | null | undefined;
|
|
888
933
|
instance_id?: string | null | undefined;
|
|
889
|
-
image_version?: string | null | undefined;
|
|
890
|
-
vm_uuid?: string | null | undefined;
|
|
891
934
|
device_id?: string | undefined;
|
|
935
|
+
vm_uuid?: string | null | undefined;
|
|
936
|
+
image_version?: string | null | undefined;
|
|
892
937
|
ppid?: string | undefined;
|
|
893
938
|
compose_file?: string | null | undefined;
|
|
939
|
+
fmspc?: string | null | undefined;
|
|
894
940
|
quote?: string | null | undefined;
|
|
895
941
|
app_certificates?: {
|
|
896
942
|
version: string;
|
|
@@ -934,6 +980,10 @@ declare const getAppAttestation: {
|
|
|
934
980
|
}[];
|
|
935
981
|
rootfs_hash?: string | null | undefined;
|
|
936
982
|
} | null | undefined;
|
|
983
|
+
ppid_sha256?: string | null | undefined;
|
|
984
|
+
tee_tcb_svn?: string | null | undefined;
|
|
985
|
+
cpusvn?: string | null | undefined;
|
|
986
|
+
pcesvn?: number | null | undefined;
|
|
937
987
|
}[];
|
|
938
988
|
kms_guest_agent_info: z.objectOutputType<{
|
|
939
989
|
app_id: z.ZodOptional<z.ZodString>;
|