@phala/cloud 0.4.0 → 0.6.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 +113 -779
- 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 -422
- 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 +384 -614
- 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 +92 -0
- package/dist/actions/cvms/get_cvm_list.d.ts +7 -13
- 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 +19 -209
- 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/log-time.d.ts +5 -0
- package/dist/actions/cvms/logs.d.ts +64 -0
- package/dist/actions/cvms/patch_cvm.d.ts +665 -295
- package/dist/actions/cvms/provision_cvm.d.ts +329 -1561
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +550 -953
- package/dist/actions/cvms/put_cvm_init_scripts.d.ts +150 -0
- 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 +136 -203
- package/dist/actions/cvms/update_cvm_resources.d.ts +82 -48
- package/dist/actions/cvms/update_cvm_visibility.d.ts +90 -132
- package/dist/actions/cvms/update_docker_compose.d.ts +127 -202
- package/dist/actions/cvms/update_os_image.d.ts +55 -28
- package/dist/actions/cvms/update_prelaunch_script.d.ts +127 -202
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +118 -193
- package/dist/actions/cvms/watch_cvm_state.d.ts +5 -15
- package/dist/actions/get_available_nodes.d.ts +186 -1067
- package/dist/actions/get_cvm_create_resources.d.ts +138 -2489
- package/dist/actions/index.d.ts +9 -2
- package/dist/actions/kms/get_app_env_encrypt_pubkey.d.ts +11 -23
- package/dist/actions/kms/get_kms_contract.d.ts +25 -27
- package/dist/actions/kms/get_kms_info.d.ts +3 -7
- package/dist/actions/kms/get_kms_list.d.ts +34 -88
- package/dist/actions/kms/get_kms_onchain_detail.d.ts +66 -664
- package/dist/actions/kms/list_kms_contract_nodes.d.ts +21 -53
- package/dist/actions/kms/list_kms_contracts.d.ts +33 -87
- 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 -28
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +34 -321
- package/dist/actions/workspaces/get_workspace_quotas.d.ts +107 -1021
- package/dist/actions/workspaces/list_workspaces.d.ts +67 -369
- package/dist/client.d.ts +23 -4
- package/dist/create-client.d.ts +1900 -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 -1
- package/dist/index.js +6004 -4537
- package/dist/index.mjs +6033 -4625
- package/dist/types/app_compose.d.ts +108 -221
- package/dist/types/app_info_v20251028.d.ts +22 -1067
- package/dist/types/app_info_v20260121.d.ts +442 -8900
- package/dist/types/app_revision.d.ts +15 -371
- package/dist/types/client.d.ts +16 -0
- 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 +100 -821
- package/dist/types/cvm_info_v20260121.d.ts +254 -3160
- package/dist/types/kms_contract.d.ts +2 -32
- package/dist/types/kms_info.d.ts +34 -68
- package/dist/user-agent.d.ts +30 -0
- package/dist/utils/define-action.d.ts +4 -4
- package/dist/utils/errors.d.ts +4 -36
- package/dist/utils/get_compose_hash.d.ts +36 -5
- package/dist/utils/get_mr_config_id.d.ts +94 -3
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/placement-request.d.ts +3 -0
- package/package.json +4 -4
|
@@ -27,51 +27,9 @@ export declare const AppAttestationInstanceSchema: z.ZodObject<{
|
|
|
27
27
|
digest: z.ZodString;
|
|
28
28
|
event: z.ZodString;
|
|
29
29
|
event_payload: z.ZodString;
|
|
30
|
-
},
|
|
31
|
-
imr: number;
|
|
32
|
-
event_type: number;
|
|
33
|
-
digest: string;
|
|
34
|
-
event: string;
|
|
35
|
-
event_payload: string;
|
|
36
|
-
}, {
|
|
37
|
-
imr: number;
|
|
38
|
-
event_type: number;
|
|
39
|
-
digest: string;
|
|
40
|
-
event: string;
|
|
41
|
-
event_payload: string;
|
|
42
|
-
}>, "many">;
|
|
30
|
+
}, z.core.$strip>>;
|
|
43
31
|
app_compose: z.ZodString;
|
|
44
|
-
},
|
|
45
|
-
app_compose: string;
|
|
46
|
-
mrtd: string;
|
|
47
|
-
rtmr0: string;
|
|
48
|
-
rtmr1: string;
|
|
49
|
-
rtmr2: string;
|
|
50
|
-
rtmr3: string;
|
|
51
|
-
event_log: {
|
|
52
|
-
imr: number;
|
|
53
|
-
event_type: number;
|
|
54
|
-
digest: string;
|
|
55
|
-
event: string;
|
|
56
|
-
event_payload: string;
|
|
57
|
-
}[];
|
|
58
|
-
rootfs_hash?: string | null | undefined;
|
|
59
|
-
}, {
|
|
60
|
-
app_compose: string;
|
|
61
|
-
mrtd: string;
|
|
62
|
-
rtmr0: string;
|
|
63
|
-
rtmr1: string;
|
|
64
|
-
rtmr2: string;
|
|
65
|
-
rtmr3: string;
|
|
66
|
-
event_log: {
|
|
67
|
-
imr: number;
|
|
68
|
-
event_type: number;
|
|
69
|
-
digest: string;
|
|
70
|
-
event: string;
|
|
71
|
-
event_payload: string;
|
|
72
|
-
}[];
|
|
73
|
-
rootfs_hash?: string | null | undefined;
|
|
74
|
-
}>>>;
|
|
32
|
+
}, z.core.$strip>>>;
|
|
75
33
|
app_certificates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
76
34
|
subject: z.ZodObject<{
|
|
77
35
|
common_name: z.ZodNullable<z.ZodString>;
|
|
@@ -79,216 +37,28 @@ export declare const AppAttestationInstanceSchema: z.ZodObject<{
|
|
|
79
37
|
country: z.ZodNullable<z.ZodString>;
|
|
80
38
|
state: z.ZodNullable<z.ZodString>;
|
|
81
39
|
locality: z.ZodNullable<z.ZodString>;
|
|
82
|
-
},
|
|
83
|
-
state: string | null;
|
|
84
|
-
common_name: string | null;
|
|
85
|
-
organization: string | null;
|
|
86
|
-
country: string | null;
|
|
87
|
-
locality: string | null;
|
|
88
|
-
}, {
|
|
89
|
-
state: string | null;
|
|
90
|
-
common_name: string | null;
|
|
91
|
-
organization: string | null;
|
|
92
|
-
country: string | null;
|
|
93
|
-
locality: string | null;
|
|
94
|
-
}>;
|
|
40
|
+
}, z.core.$strip>;
|
|
95
41
|
issuer: z.ZodObject<{
|
|
96
42
|
common_name: z.ZodNullable<z.ZodString>;
|
|
97
43
|
organization: z.ZodNullable<z.ZodString>;
|
|
98
44
|
country: z.ZodNullable<z.ZodString>;
|
|
99
|
-
},
|
|
100
|
-
common_name: string | null;
|
|
101
|
-
organization: string | null;
|
|
102
|
-
country: string | null;
|
|
103
|
-
}, {
|
|
104
|
-
common_name: string | null;
|
|
105
|
-
organization: string | null;
|
|
106
|
-
country: string | null;
|
|
107
|
-
}>;
|
|
45
|
+
}, z.core.$strip>;
|
|
108
46
|
serial_number: z.ZodString;
|
|
109
47
|
not_before: z.ZodString;
|
|
110
48
|
not_after: z.ZodString;
|
|
111
49
|
version: z.ZodString;
|
|
112
50
|
fingerprint: z.ZodString;
|
|
113
51
|
signature_algorithm: z.ZodString;
|
|
114
|
-
sans: z.ZodNullable<z.ZodArray<z.ZodString
|
|
52
|
+
sans: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
115
53
|
is_ca: z.ZodBoolean;
|
|
116
54
|
position_in_chain: z.ZodNullable<z.ZodNumber>;
|
|
117
55
|
quote: z.ZodNullable<z.ZodString>;
|
|
118
56
|
app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
57
|
cert_usage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
-
},
|
|
121
|
-
version: string;
|
|
122
|
-
subject: {
|
|
123
|
-
state: string | null;
|
|
124
|
-
common_name: string | null;
|
|
125
|
-
organization: string | null;
|
|
126
|
-
country: string | null;
|
|
127
|
-
locality: string | null;
|
|
128
|
-
};
|
|
129
|
-
issuer: {
|
|
130
|
-
common_name: string | null;
|
|
131
|
-
organization: string | null;
|
|
132
|
-
country: string | null;
|
|
133
|
-
};
|
|
134
|
-
serial_number: string;
|
|
135
|
-
not_before: string;
|
|
136
|
-
not_after: string;
|
|
137
|
-
fingerprint: string;
|
|
138
|
-
signature_algorithm: string;
|
|
139
|
-
sans: string[] | null;
|
|
140
|
-
is_ca: boolean;
|
|
141
|
-
position_in_chain: number | null;
|
|
142
|
-
quote: string | null;
|
|
143
|
-
app_id?: string | null | undefined;
|
|
144
|
-
cert_usage?: string | null | undefined;
|
|
145
|
-
}, {
|
|
146
|
-
version: string;
|
|
147
|
-
subject: {
|
|
148
|
-
state: string | null;
|
|
149
|
-
common_name: string | null;
|
|
150
|
-
organization: string | null;
|
|
151
|
-
country: string | null;
|
|
152
|
-
locality: string | null;
|
|
153
|
-
};
|
|
154
|
-
issuer: {
|
|
155
|
-
common_name: string | null;
|
|
156
|
-
organization: string | null;
|
|
157
|
-
country: string | null;
|
|
158
|
-
};
|
|
159
|
-
serial_number: string;
|
|
160
|
-
not_before: string;
|
|
161
|
-
not_after: string;
|
|
162
|
-
fingerprint: string;
|
|
163
|
-
signature_algorithm: string;
|
|
164
|
-
sans: string[] | null;
|
|
165
|
-
is_ca: boolean;
|
|
166
|
-
position_in_chain: number | null;
|
|
167
|
-
quote: string | null;
|
|
168
|
-
app_id?: string | null | undefined;
|
|
169
|
-
cert_usage?: string | null | undefined;
|
|
170
|
-
}>, "many">>>;
|
|
58
|
+
}, z.core.$strip>>>>;
|
|
171
59
|
compose_file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
172
60
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
173
|
-
},
|
|
174
|
-
status?: string | undefined;
|
|
175
|
-
name?: string | undefined;
|
|
176
|
-
error?: string | null | undefined;
|
|
177
|
-
instance_id?: string | null | undefined;
|
|
178
|
-
device_id?: string | undefined;
|
|
179
|
-
vm_uuid?: string | null | undefined;
|
|
180
|
-
image_version?: string | null | undefined;
|
|
181
|
-
ppid?: string | undefined;
|
|
182
|
-
compose_file?: string | null | undefined;
|
|
183
|
-
fmspc?: string | null | undefined;
|
|
184
|
-
quote?: string | null | undefined;
|
|
185
|
-
app_certificates?: {
|
|
186
|
-
version: string;
|
|
187
|
-
subject: {
|
|
188
|
-
state: string | null;
|
|
189
|
-
common_name: string | null;
|
|
190
|
-
organization: string | null;
|
|
191
|
-
country: string | null;
|
|
192
|
-
locality: string | null;
|
|
193
|
-
};
|
|
194
|
-
issuer: {
|
|
195
|
-
common_name: string | null;
|
|
196
|
-
organization: string | null;
|
|
197
|
-
country: string | null;
|
|
198
|
-
};
|
|
199
|
-
serial_number: string;
|
|
200
|
-
not_before: string;
|
|
201
|
-
not_after: string;
|
|
202
|
-
fingerprint: string;
|
|
203
|
-
signature_algorithm: string;
|
|
204
|
-
sans: string[] | null;
|
|
205
|
-
is_ca: boolean;
|
|
206
|
-
position_in_chain: number | null;
|
|
207
|
-
quote: string | null;
|
|
208
|
-
app_id?: string | null | undefined;
|
|
209
|
-
cert_usage?: string | null | undefined;
|
|
210
|
-
}[] | null | undefined;
|
|
211
|
-
tcb_info?: {
|
|
212
|
-
app_compose: string;
|
|
213
|
-
mrtd: string;
|
|
214
|
-
rtmr0: string;
|
|
215
|
-
rtmr1: string;
|
|
216
|
-
rtmr2: string;
|
|
217
|
-
rtmr3: string;
|
|
218
|
-
event_log: {
|
|
219
|
-
imr: number;
|
|
220
|
-
event_type: number;
|
|
221
|
-
digest: string;
|
|
222
|
-
event: string;
|
|
223
|
-
event_payload: string;
|
|
224
|
-
}[];
|
|
225
|
-
rootfs_hash?: string | null | undefined;
|
|
226
|
-
} | null | undefined;
|
|
227
|
-
ppid_sha256?: string | null | undefined;
|
|
228
|
-
tee_tcb_svn?: string | null | undefined;
|
|
229
|
-
mr_config_id?: string | null | undefined;
|
|
230
|
-
cpusvn?: string | null | undefined;
|
|
231
|
-
pcesvn?: number | null | undefined;
|
|
232
|
-
}, {
|
|
233
|
-
status?: string | undefined;
|
|
234
|
-
name?: string | undefined;
|
|
235
|
-
error?: string | null | undefined;
|
|
236
|
-
instance_id?: string | null | undefined;
|
|
237
|
-
device_id?: string | undefined;
|
|
238
|
-
vm_uuid?: string | null | undefined;
|
|
239
|
-
image_version?: string | null | undefined;
|
|
240
|
-
ppid?: string | undefined;
|
|
241
|
-
compose_file?: string | null | undefined;
|
|
242
|
-
fmspc?: string | null | undefined;
|
|
243
|
-
quote?: string | null | undefined;
|
|
244
|
-
app_certificates?: {
|
|
245
|
-
version: string;
|
|
246
|
-
subject: {
|
|
247
|
-
state: string | null;
|
|
248
|
-
common_name: string | null;
|
|
249
|
-
organization: string | null;
|
|
250
|
-
country: string | null;
|
|
251
|
-
locality: string | null;
|
|
252
|
-
};
|
|
253
|
-
issuer: {
|
|
254
|
-
common_name: string | null;
|
|
255
|
-
organization: string | null;
|
|
256
|
-
country: string | null;
|
|
257
|
-
};
|
|
258
|
-
serial_number: string;
|
|
259
|
-
not_before: string;
|
|
260
|
-
not_after: string;
|
|
261
|
-
fingerprint: string;
|
|
262
|
-
signature_algorithm: string;
|
|
263
|
-
sans: string[] | null;
|
|
264
|
-
is_ca: boolean;
|
|
265
|
-
position_in_chain: number | null;
|
|
266
|
-
quote: string | null;
|
|
267
|
-
app_id?: string | null | undefined;
|
|
268
|
-
cert_usage?: string | null | undefined;
|
|
269
|
-
}[] | null | undefined;
|
|
270
|
-
tcb_info?: {
|
|
271
|
-
app_compose: string;
|
|
272
|
-
mrtd: string;
|
|
273
|
-
rtmr0: string;
|
|
274
|
-
rtmr1: string;
|
|
275
|
-
rtmr2: string;
|
|
276
|
-
rtmr3: string;
|
|
277
|
-
event_log: {
|
|
278
|
-
imr: number;
|
|
279
|
-
event_type: number;
|
|
280
|
-
digest: string;
|
|
281
|
-
event: string;
|
|
282
|
-
event_payload: string;
|
|
283
|
-
}[];
|
|
284
|
-
rootfs_hash?: string | null | undefined;
|
|
285
|
-
} | null | undefined;
|
|
286
|
-
ppid_sha256?: string | null | undefined;
|
|
287
|
-
tee_tcb_svn?: string | null | undefined;
|
|
288
|
-
mr_config_id?: string | null | undefined;
|
|
289
|
-
cpusvn?: string | null | undefined;
|
|
290
|
-
pcesvn?: number | null | undefined;
|
|
291
|
-
}>;
|
|
61
|
+
}, z.core.$strip>;
|
|
292
62
|
export type AppAttestationInstance = z.infer<typeof AppAttestationInstanceSchema>;
|
|
293
63
|
export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
294
64
|
app_id: z.ZodString;
|
|
@@ -301,23 +71,7 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
301
71
|
gateway_app_id: z.ZodNullable<z.ZodString>;
|
|
302
72
|
gateway_app_url: z.ZodString;
|
|
303
73
|
kms_type: z.ZodString;
|
|
304
|
-
},
|
|
305
|
-
version: string;
|
|
306
|
-
chain_id: number | null;
|
|
307
|
-
contract_address: string;
|
|
308
|
-
url: string;
|
|
309
|
-
gateway_app_id: string | null;
|
|
310
|
-
kms_type: string;
|
|
311
|
-
gateway_app_url: string;
|
|
312
|
-
}, {
|
|
313
|
-
version: string;
|
|
314
|
-
chain_id: number | null;
|
|
315
|
-
contract_address: string;
|
|
316
|
-
url: string;
|
|
317
|
-
gateway_app_id: string | null;
|
|
318
|
-
kms_type: string;
|
|
319
|
-
gateway_app_url: string;
|
|
320
|
-
}>;
|
|
74
|
+
}, z.core.$strip>;
|
|
321
75
|
instances: z.ZodArray<z.ZodObject<{
|
|
322
76
|
vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
323
77
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -346,51 +100,9 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
346
100
|
digest: z.ZodString;
|
|
347
101
|
event: z.ZodString;
|
|
348
102
|
event_payload: z.ZodString;
|
|
349
|
-
},
|
|
350
|
-
imr: number;
|
|
351
|
-
event_type: number;
|
|
352
|
-
digest: string;
|
|
353
|
-
event: string;
|
|
354
|
-
event_payload: string;
|
|
355
|
-
}, {
|
|
356
|
-
imr: number;
|
|
357
|
-
event_type: number;
|
|
358
|
-
digest: string;
|
|
359
|
-
event: string;
|
|
360
|
-
event_payload: string;
|
|
361
|
-
}>, "many">;
|
|
103
|
+
}, z.core.$strip>>;
|
|
362
104
|
app_compose: z.ZodString;
|
|
363
|
-
},
|
|
364
|
-
app_compose: string;
|
|
365
|
-
mrtd: string;
|
|
366
|
-
rtmr0: string;
|
|
367
|
-
rtmr1: string;
|
|
368
|
-
rtmr2: string;
|
|
369
|
-
rtmr3: string;
|
|
370
|
-
event_log: {
|
|
371
|
-
imr: number;
|
|
372
|
-
event_type: number;
|
|
373
|
-
digest: string;
|
|
374
|
-
event: string;
|
|
375
|
-
event_payload: string;
|
|
376
|
-
}[];
|
|
377
|
-
rootfs_hash?: string | null | undefined;
|
|
378
|
-
}, {
|
|
379
|
-
app_compose: string;
|
|
380
|
-
mrtd: string;
|
|
381
|
-
rtmr0: string;
|
|
382
|
-
rtmr1: string;
|
|
383
|
-
rtmr2: string;
|
|
384
|
-
rtmr3: string;
|
|
385
|
-
event_log: {
|
|
386
|
-
imr: number;
|
|
387
|
-
event_type: number;
|
|
388
|
-
digest: string;
|
|
389
|
-
event: string;
|
|
390
|
-
event_payload: string;
|
|
391
|
-
}[];
|
|
392
|
-
rootfs_hash?: string | null | undefined;
|
|
393
|
-
}>>>;
|
|
105
|
+
}, z.core.$strip>>>;
|
|
394
106
|
app_certificates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
395
107
|
subject: z.ZodObject<{
|
|
396
108
|
common_name: z.ZodNullable<z.ZodString>;
|
|
@@ -398,428 +110,46 @@ export declare const AppAttestationResponseSchema: z.ZodObject<{
|
|
|
398
110
|
country: z.ZodNullable<z.ZodString>;
|
|
399
111
|
state: z.ZodNullable<z.ZodString>;
|
|
400
112
|
locality: z.ZodNullable<z.ZodString>;
|
|
401
|
-
},
|
|
402
|
-
state: string | null;
|
|
403
|
-
common_name: string | null;
|
|
404
|
-
organization: string | null;
|
|
405
|
-
country: string | null;
|
|
406
|
-
locality: string | null;
|
|
407
|
-
}, {
|
|
408
|
-
state: string | null;
|
|
409
|
-
common_name: string | null;
|
|
410
|
-
organization: string | null;
|
|
411
|
-
country: string | null;
|
|
412
|
-
locality: string | null;
|
|
413
|
-
}>;
|
|
113
|
+
}, z.core.$strip>;
|
|
414
114
|
issuer: z.ZodObject<{
|
|
415
115
|
common_name: z.ZodNullable<z.ZodString>;
|
|
416
116
|
organization: z.ZodNullable<z.ZodString>;
|
|
417
117
|
country: z.ZodNullable<z.ZodString>;
|
|
418
|
-
},
|
|
419
|
-
common_name: string | null;
|
|
420
|
-
organization: string | null;
|
|
421
|
-
country: string | null;
|
|
422
|
-
}, {
|
|
423
|
-
common_name: string | null;
|
|
424
|
-
organization: string | null;
|
|
425
|
-
country: string | null;
|
|
426
|
-
}>;
|
|
118
|
+
}, z.core.$strip>;
|
|
427
119
|
serial_number: z.ZodString;
|
|
428
120
|
not_before: z.ZodString;
|
|
429
121
|
not_after: z.ZodString;
|
|
430
122
|
version: z.ZodString;
|
|
431
123
|
fingerprint: z.ZodString;
|
|
432
124
|
signature_algorithm: z.ZodString;
|
|
433
|
-
sans: z.ZodNullable<z.ZodArray<z.ZodString
|
|
125
|
+
sans: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
434
126
|
is_ca: z.ZodBoolean;
|
|
435
127
|
position_in_chain: z.ZodNullable<z.ZodNumber>;
|
|
436
128
|
quote: z.ZodNullable<z.ZodString>;
|
|
437
129
|
app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
438
130
|
cert_usage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
439
|
-
},
|
|
440
|
-
version: string;
|
|
441
|
-
subject: {
|
|
442
|
-
state: string | null;
|
|
443
|
-
common_name: string | null;
|
|
444
|
-
organization: string | null;
|
|
445
|
-
country: string | null;
|
|
446
|
-
locality: string | null;
|
|
447
|
-
};
|
|
448
|
-
issuer: {
|
|
449
|
-
common_name: string | null;
|
|
450
|
-
organization: string | null;
|
|
451
|
-
country: string | null;
|
|
452
|
-
};
|
|
453
|
-
serial_number: string;
|
|
454
|
-
not_before: string;
|
|
455
|
-
not_after: string;
|
|
456
|
-
fingerprint: string;
|
|
457
|
-
signature_algorithm: string;
|
|
458
|
-
sans: string[] | null;
|
|
459
|
-
is_ca: boolean;
|
|
460
|
-
position_in_chain: number | null;
|
|
461
|
-
quote: string | null;
|
|
462
|
-
app_id?: string | null | undefined;
|
|
463
|
-
cert_usage?: string | null | undefined;
|
|
464
|
-
}, {
|
|
465
|
-
version: string;
|
|
466
|
-
subject: {
|
|
467
|
-
state: string | null;
|
|
468
|
-
common_name: string | null;
|
|
469
|
-
organization: string | null;
|
|
470
|
-
country: string | null;
|
|
471
|
-
locality: string | null;
|
|
472
|
-
};
|
|
473
|
-
issuer: {
|
|
474
|
-
common_name: string | null;
|
|
475
|
-
organization: string | null;
|
|
476
|
-
country: string | null;
|
|
477
|
-
};
|
|
478
|
-
serial_number: string;
|
|
479
|
-
not_before: string;
|
|
480
|
-
not_after: string;
|
|
481
|
-
fingerprint: string;
|
|
482
|
-
signature_algorithm: string;
|
|
483
|
-
sans: string[] | null;
|
|
484
|
-
is_ca: boolean;
|
|
485
|
-
position_in_chain: number | null;
|
|
486
|
-
quote: string | null;
|
|
487
|
-
app_id?: string | null | undefined;
|
|
488
|
-
cert_usage?: string | null | undefined;
|
|
489
|
-
}>, "many">>>;
|
|
131
|
+
}, z.core.$strip>>>>;
|
|
490
132
|
compose_file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
491
133
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
492
|
-
},
|
|
493
|
-
status?: string | undefined;
|
|
494
|
-
name?: string | undefined;
|
|
495
|
-
error?: string | null | undefined;
|
|
496
|
-
instance_id?: string | null | undefined;
|
|
497
|
-
device_id?: string | undefined;
|
|
498
|
-
vm_uuid?: string | null | undefined;
|
|
499
|
-
image_version?: string | null | undefined;
|
|
500
|
-
ppid?: string | undefined;
|
|
501
|
-
compose_file?: string | null | undefined;
|
|
502
|
-
fmspc?: string | null | undefined;
|
|
503
|
-
quote?: string | null | undefined;
|
|
504
|
-
app_certificates?: {
|
|
505
|
-
version: string;
|
|
506
|
-
subject: {
|
|
507
|
-
state: string | null;
|
|
508
|
-
common_name: string | null;
|
|
509
|
-
organization: string | null;
|
|
510
|
-
country: string | null;
|
|
511
|
-
locality: string | null;
|
|
512
|
-
};
|
|
513
|
-
issuer: {
|
|
514
|
-
common_name: string | null;
|
|
515
|
-
organization: string | null;
|
|
516
|
-
country: string | null;
|
|
517
|
-
};
|
|
518
|
-
serial_number: string;
|
|
519
|
-
not_before: string;
|
|
520
|
-
not_after: string;
|
|
521
|
-
fingerprint: string;
|
|
522
|
-
signature_algorithm: string;
|
|
523
|
-
sans: string[] | null;
|
|
524
|
-
is_ca: boolean;
|
|
525
|
-
position_in_chain: number | null;
|
|
526
|
-
quote: string | null;
|
|
527
|
-
app_id?: string | null | undefined;
|
|
528
|
-
cert_usage?: string | null | undefined;
|
|
529
|
-
}[] | null | undefined;
|
|
530
|
-
tcb_info?: {
|
|
531
|
-
app_compose: string;
|
|
532
|
-
mrtd: string;
|
|
533
|
-
rtmr0: string;
|
|
534
|
-
rtmr1: string;
|
|
535
|
-
rtmr2: string;
|
|
536
|
-
rtmr3: string;
|
|
537
|
-
event_log: {
|
|
538
|
-
imr: number;
|
|
539
|
-
event_type: number;
|
|
540
|
-
digest: string;
|
|
541
|
-
event: string;
|
|
542
|
-
event_payload: string;
|
|
543
|
-
}[];
|
|
544
|
-
rootfs_hash?: string | null | undefined;
|
|
545
|
-
} | null | undefined;
|
|
546
|
-
ppid_sha256?: string | null | undefined;
|
|
547
|
-
tee_tcb_svn?: string | null | undefined;
|
|
548
|
-
mr_config_id?: string | null | undefined;
|
|
549
|
-
cpusvn?: string | null | undefined;
|
|
550
|
-
pcesvn?: number | null | undefined;
|
|
551
|
-
}, {
|
|
552
|
-
status?: string | undefined;
|
|
553
|
-
name?: string | undefined;
|
|
554
|
-
error?: string | null | undefined;
|
|
555
|
-
instance_id?: string | null | undefined;
|
|
556
|
-
device_id?: string | undefined;
|
|
557
|
-
vm_uuid?: string | null | undefined;
|
|
558
|
-
image_version?: string | null | undefined;
|
|
559
|
-
ppid?: string | undefined;
|
|
560
|
-
compose_file?: string | null | undefined;
|
|
561
|
-
fmspc?: string | null | undefined;
|
|
562
|
-
quote?: string | null | undefined;
|
|
563
|
-
app_certificates?: {
|
|
564
|
-
version: string;
|
|
565
|
-
subject: {
|
|
566
|
-
state: string | null;
|
|
567
|
-
common_name: string | null;
|
|
568
|
-
organization: string | null;
|
|
569
|
-
country: string | null;
|
|
570
|
-
locality: string | null;
|
|
571
|
-
};
|
|
572
|
-
issuer: {
|
|
573
|
-
common_name: string | null;
|
|
574
|
-
organization: string | null;
|
|
575
|
-
country: string | null;
|
|
576
|
-
};
|
|
577
|
-
serial_number: string;
|
|
578
|
-
not_before: string;
|
|
579
|
-
not_after: string;
|
|
580
|
-
fingerprint: string;
|
|
581
|
-
signature_algorithm: string;
|
|
582
|
-
sans: string[] | null;
|
|
583
|
-
is_ca: boolean;
|
|
584
|
-
position_in_chain: number | null;
|
|
585
|
-
quote: string | null;
|
|
586
|
-
app_id?: string | null | undefined;
|
|
587
|
-
cert_usage?: string | null | undefined;
|
|
588
|
-
}[] | null | undefined;
|
|
589
|
-
tcb_info?: {
|
|
590
|
-
app_compose: string;
|
|
591
|
-
mrtd: string;
|
|
592
|
-
rtmr0: string;
|
|
593
|
-
rtmr1: string;
|
|
594
|
-
rtmr2: string;
|
|
595
|
-
rtmr3: string;
|
|
596
|
-
event_log: {
|
|
597
|
-
imr: number;
|
|
598
|
-
event_type: number;
|
|
599
|
-
digest: string;
|
|
600
|
-
event: string;
|
|
601
|
-
event_payload: string;
|
|
602
|
-
}[];
|
|
603
|
-
rootfs_hash?: string | null | undefined;
|
|
604
|
-
} | null | undefined;
|
|
605
|
-
ppid_sha256?: string | null | undefined;
|
|
606
|
-
tee_tcb_svn?: string | null | undefined;
|
|
607
|
-
mr_config_id?: string | null | undefined;
|
|
608
|
-
cpusvn?: string | null | undefined;
|
|
609
|
-
pcesvn?: number | null | undefined;
|
|
610
|
-
}>, "many">;
|
|
134
|
+
}, z.core.$strip>>;
|
|
611
135
|
kms_guest_agent_info: z.ZodNullable<z.ZodObject<{
|
|
612
136
|
app_id: z.ZodOptional<z.ZodString>;
|
|
613
137
|
instance_id: z.ZodOptional<z.ZodString>;
|
|
614
138
|
app_name: z.ZodOptional<z.ZodString>;
|
|
615
139
|
device_id: z.ZodOptional<z.ZodString>;
|
|
616
|
-
},
|
|
617
|
-
app_id: z.ZodOptional<z.ZodString>;
|
|
618
|
-
instance_id: z.ZodOptional<z.ZodString>;
|
|
619
|
-
app_name: z.ZodOptional<z.ZodString>;
|
|
620
|
-
device_id: z.ZodOptional<z.ZodString>;
|
|
621
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
622
|
-
app_id: z.ZodOptional<z.ZodString>;
|
|
623
|
-
instance_id: z.ZodOptional<z.ZodString>;
|
|
624
|
-
app_name: z.ZodOptional<z.ZodString>;
|
|
625
|
-
device_id: z.ZodOptional<z.ZodString>;
|
|
626
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
140
|
+
}, z.core.$loose>>;
|
|
627
141
|
gateway_guest_agent_info: z.ZodNullable<z.ZodObject<{
|
|
628
142
|
app_id: z.ZodOptional<z.ZodString>;
|
|
629
143
|
instance_id: z.ZodOptional<z.ZodString>;
|
|
630
144
|
app_name: z.ZodOptional<z.ZodString>;
|
|
631
145
|
device_id: z.ZodOptional<z.ZodString>;
|
|
632
|
-
},
|
|
633
|
-
app_id: z.ZodOptional<z.ZodString>;
|
|
634
|
-
instance_id: z.ZodOptional<z.ZodString>;
|
|
635
|
-
app_name: z.ZodOptional<z.ZodString>;
|
|
636
|
-
device_id: z.ZodOptional<z.ZodString>;
|
|
637
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
638
|
-
app_id: z.ZodOptional<z.ZodString>;
|
|
639
|
-
instance_id: z.ZodOptional<z.ZodString>;
|
|
640
|
-
app_name: z.ZodOptional<z.ZodString>;
|
|
641
|
-
device_id: z.ZodOptional<z.ZodString>;
|
|
642
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
146
|
+
}, z.core.$loose>>;
|
|
643
147
|
qemu_version: z.ZodNullable<z.ZodString>;
|
|
644
|
-
},
|
|
645
|
-
app_id: string;
|
|
646
|
-
contract_address: string;
|
|
647
|
-
kms_info: {
|
|
648
|
-
version: string;
|
|
649
|
-
chain_id: number | null;
|
|
650
|
-
contract_address: string;
|
|
651
|
-
url: string;
|
|
652
|
-
gateway_app_id: string | null;
|
|
653
|
-
kms_type: string;
|
|
654
|
-
gateway_app_url: string;
|
|
655
|
-
};
|
|
656
|
-
instances: {
|
|
657
|
-
status?: string | undefined;
|
|
658
|
-
name?: string | undefined;
|
|
659
|
-
error?: string | null | undefined;
|
|
660
|
-
instance_id?: string | null | undefined;
|
|
661
|
-
device_id?: string | undefined;
|
|
662
|
-
vm_uuid?: string | null | undefined;
|
|
663
|
-
image_version?: string | null | undefined;
|
|
664
|
-
ppid?: string | undefined;
|
|
665
|
-
compose_file?: string | null | undefined;
|
|
666
|
-
fmspc?: string | null | undefined;
|
|
667
|
-
quote?: string | null | undefined;
|
|
668
|
-
app_certificates?: {
|
|
669
|
-
version: string;
|
|
670
|
-
subject: {
|
|
671
|
-
state: string | null;
|
|
672
|
-
common_name: string | null;
|
|
673
|
-
organization: string | null;
|
|
674
|
-
country: string | null;
|
|
675
|
-
locality: string | null;
|
|
676
|
-
};
|
|
677
|
-
issuer: {
|
|
678
|
-
common_name: string | null;
|
|
679
|
-
organization: string | null;
|
|
680
|
-
country: string | null;
|
|
681
|
-
};
|
|
682
|
-
serial_number: string;
|
|
683
|
-
not_before: string;
|
|
684
|
-
not_after: string;
|
|
685
|
-
fingerprint: string;
|
|
686
|
-
signature_algorithm: string;
|
|
687
|
-
sans: string[] | null;
|
|
688
|
-
is_ca: boolean;
|
|
689
|
-
position_in_chain: number | null;
|
|
690
|
-
quote: string | null;
|
|
691
|
-
app_id?: string | null | undefined;
|
|
692
|
-
cert_usage?: string | null | undefined;
|
|
693
|
-
}[] | null | undefined;
|
|
694
|
-
tcb_info?: {
|
|
695
|
-
app_compose: string;
|
|
696
|
-
mrtd: string;
|
|
697
|
-
rtmr0: string;
|
|
698
|
-
rtmr1: string;
|
|
699
|
-
rtmr2: string;
|
|
700
|
-
rtmr3: string;
|
|
701
|
-
event_log: {
|
|
702
|
-
imr: number;
|
|
703
|
-
event_type: number;
|
|
704
|
-
digest: string;
|
|
705
|
-
event: string;
|
|
706
|
-
event_payload: string;
|
|
707
|
-
}[];
|
|
708
|
-
rootfs_hash?: string | null | undefined;
|
|
709
|
-
} | null | undefined;
|
|
710
|
-
ppid_sha256?: string | null | undefined;
|
|
711
|
-
tee_tcb_svn?: string | null | undefined;
|
|
712
|
-
mr_config_id?: string | null | undefined;
|
|
713
|
-
cpusvn?: string | null | undefined;
|
|
714
|
-
pcesvn?: number | null | undefined;
|
|
715
|
-
}[];
|
|
716
|
-
kms_guest_agent_info: z.objectOutputType<{
|
|
717
|
-
app_id: z.ZodOptional<z.ZodString>;
|
|
718
|
-
instance_id: z.ZodOptional<z.ZodString>;
|
|
719
|
-
app_name: z.ZodOptional<z.ZodString>;
|
|
720
|
-
device_id: z.ZodOptional<z.ZodString>;
|
|
721
|
-
}, z.ZodTypeAny, "passthrough"> | null;
|
|
722
|
-
gateway_guest_agent_info: z.objectOutputType<{
|
|
723
|
-
app_id: z.ZodOptional<z.ZodString>;
|
|
724
|
-
instance_id: z.ZodOptional<z.ZodString>;
|
|
725
|
-
app_name: z.ZodOptional<z.ZodString>;
|
|
726
|
-
device_id: z.ZodOptional<z.ZodString>;
|
|
727
|
-
}, z.ZodTypeAny, "passthrough"> | null;
|
|
728
|
-
qemu_version: string | null;
|
|
729
|
-
}, {
|
|
730
|
-
app_id: string;
|
|
731
|
-
contract_address: string;
|
|
732
|
-
kms_info: {
|
|
733
|
-
version: string;
|
|
734
|
-
chain_id: number | null;
|
|
735
|
-
contract_address: string;
|
|
736
|
-
url: string;
|
|
737
|
-
gateway_app_id: string | null;
|
|
738
|
-
kms_type: string;
|
|
739
|
-
gateway_app_url: string;
|
|
740
|
-
};
|
|
741
|
-
instances: {
|
|
742
|
-
status?: string | undefined;
|
|
743
|
-
name?: string | undefined;
|
|
744
|
-
error?: string | null | undefined;
|
|
745
|
-
instance_id?: string | null | undefined;
|
|
746
|
-
device_id?: string | undefined;
|
|
747
|
-
vm_uuid?: string | null | undefined;
|
|
748
|
-
image_version?: string | null | undefined;
|
|
749
|
-
ppid?: string | undefined;
|
|
750
|
-
compose_file?: string | null | undefined;
|
|
751
|
-
fmspc?: string | null | undefined;
|
|
752
|
-
quote?: string | null | undefined;
|
|
753
|
-
app_certificates?: {
|
|
754
|
-
version: string;
|
|
755
|
-
subject: {
|
|
756
|
-
state: string | null;
|
|
757
|
-
common_name: string | null;
|
|
758
|
-
organization: string | null;
|
|
759
|
-
country: string | null;
|
|
760
|
-
locality: string | null;
|
|
761
|
-
};
|
|
762
|
-
issuer: {
|
|
763
|
-
common_name: string | null;
|
|
764
|
-
organization: string | null;
|
|
765
|
-
country: string | null;
|
|
766
|
-
};
|
|
767
|
-
serial_number: string;
|
|
768
|
-
not_before: string;
|
|
769
|
-
not_after: string;
|
|
770
|
-
fingerprint: string;
|
|
771
|
-
signature_algorithm: string;
|
|
772
|
-
sans: string[] | null;
|
|
773
|
-
is_ca: boolean;
|
|
774
|
-
position_in_chain: number | null;
|
|
775
|
-
quote: string | null;
|
|
776
|
-
app_id?: string | null | undefined;
|
|
777
|
-
cert_usage?: string | null | undefined;
|
|
778
|
-
}[] | null | undefined;
|
|
779
|
-
tcb_info?: {
|
|
780
|
-
app_compose: string;
|
|
781
|
-
mrtd: string;
|
|
782
|
-
rtmr0: string;
|
|
783
|
-
rtmr1: string;
|
|
784
|
-
rtmr2: string;
|
|
785
|
-
rtmr3: string;
|
|
786
|
-
event_log: {
|
|
787
|
-
imr: number;
|
|
788
|
-
event_type: number;
|
|
789
|
-
digest: string;
|
|
790
|
-
event: string;
|
|
791
|
-
event_payload: string;
|
|
792
|
-
}[];
|
|
793
|
-
rootfs_hash?: string | null | undefined;
|
|
794
|
-
} | null | undefined;
|
|
795
|
-
ppid_sha256?: string | null | undefined;
|
|
796
|
-
tee_tcb_svn?: string | null | undefined;
|
|
797
|
-
mr_config_id?: string | null | undefined;
|
|
798
|
-
cpusvn?: string | null | undefined;
|
|
799
|
-
pcesvn?: number | null | undefined;
|
|
800
|
-
}[];
|
|
801
|
-
kms_guest_agent_info: z.objectInputType<{
|
|
802
|
-
app_id: z.ZodOptional<z.ZodString>;
|
|
803
|
-
instance_id: z.ZodOptional<z.ZodString>;
|
|
804
|
-
app_name: z.ZodOptional<z.ZodString>;
|
|
805
|
-
device_id: z.ZodOptional<z.ZodString>;
|
|
806
|
-
}, z.ZodTypeAny, "passthrough"> | null;
|
|
807
|
-
gateway_guest_agent_info: z.objectInputType<{
|
|
808
|
-
app_id: z.ZodOptional<z.ZodString>;
|
|
809
|
-
instance_id: z.ZodOptional<z.ZodString>;
|
|
810
|
-
app_name: z.ZodOptional<z.ZodString>;
|
|
811
|
-
device_id: z.ZodOptional<z.ZodString>;
|
|
812
|
-
}, z.ZodTypeAny, "passthrough"> | null;
|
|
813
|
-
qemu_version: string | null;
|
|
814
|
-
}>;
|
|
148
|
+
}, z.core.$strip>;
|
|
815
149
|
export type AppAttestationResponse = z.infer<typeof AppAttestationResponseSchema>;
|
|
816
150
|
export declare const GetAppAttestationRequestSchema: z.ZodObject<{
|
|
817
151
|
appId: z.ZodString;
|
|
818
|
-
},
|
|
819
|
-
appId: string;
|
|
820
|
-
}, {
|
|
821
|
-
appId: string;
|
|
822
|
-
}>;
|
|
152
|
+
}, z.core.$strict>;
|
|
823
153
|
export type GetAppAttestationRequest = z.infer<typeof GetAppAttestationRequestSchema>;
|
|
824
154
|
declare const getAppAttestation: {
|
|
825
155
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
@@ -828,33 +158,51 @@ declare const getAppAttestation: {
|
|
|
828
158
|
app_id: string;
|
|
829
159
|
contract_address: string;
|
|
830
160
|
kms_info: {
|
|
831
|
-
version: string;
|
|
832
|
-
chain_id: number | null;
|
|
833
161
|
contract_address: string;
|
|
162
|
+
chain_id: number | null;
|
|
163
|
+
version: string;
|
|
834
164
|
url: string;
|
|
835
165
|
gateway_app_id: string | null;
|
|
836
|
-
kms_type: string;
|
|
837
166
|
gateway_app_url: string;
|
|
167
|
+
kms_type: string;
|
|
838
168
|
};
|
|
839
169
|
instances: {
|
|
840
|
-
|
|
170
|
+
vm_uuid?: string | null | undefined;
|
|
841
171
|
name?: string | undefined;
|
|
842
|
-
error?: string | null | undefined;
|
|
843
172
|
instance_id?: string | null | undefined;
|
|
844
|
-
|
|
845
|
-
vm_uuid?: string | null | undefined;
|
|
173
|
+
status?: string | undefined;
|
|
846
174
|
image_version?: string | null | undefined;
|
|
175
|
+
quote?: string | null | undefined;
|
|
847
176
|
ppid?: string | undefined;
|
|
848
|
-
|
|
177
|
+
ppid_sha256?: string | null | undefined;
|
|
178
|
+
device_id?: string | undefined;
|
|
849
179
|
fmspc?: string | null | undefined;
|
|
850
|
-
|
|
180
|
+
tee_tcb_svn?: string | null | undefined;
|
|
181
|
+
mr_config_id?: string | null | undefined;
|
|
182
|
+
cpusvn?: string | null | undefined;
|
|
183
|
+
pcesvn?: number | null | undefined;
|
|
184
|
+
tcb_info?: {
|
|
185
|
+
mrtd: string;
|
|
186
|
+
rtmr0: string;
|
|
187
|
+
rtmr1: string;
|
|
188
|
+
rtmr2: string;
|
|
189
|
+
rtmr3: string;
|
|
190
|
+
event_log: {
|
|
191
|
+
imr: number;
|
|
192
|
+
event_type: number;
|
|
193
|
+
digest: string;
|
|
194
|
+
event: string;
|
|
195
|
+
event_payload: string;
|
|
196
|
+
}[];
|
|
197
|
+
app_compose: string;
|
|
198
|
+
rootfs_hash?: string | null | undefined;
|
|
199
|
+
} | null | undefined;
|
|
851
200
|
app_certificates?: {
|
|
852
|
-
version: string;
|
|
853
201
|
subject: {
|
|
854
|
-
state: string | null;
|
|
855
202
|
common_name: string | null;
|
|
856
203
|
organization: string | null;
|
|
857
204
|
country: string | null;
|
|
205
|
+
state: string | null;
|
|
858
206
|
locality: string | null;
|
|
859
207
|
};
|
|
860
208
|
issuer: {
|
|
@@ -865,6 +213,7 @@ declare const getAppAttestation: {
|
|
|
865
213
|
serial_number: string;
|
|
866
214
|
not_before: string;
|
|
867
215
|
not_after: string;
|
|
216
|
+
version: string;
|
|
868
217
|
fingerprint: string;
|
|
869
218
|
signature_algorithm: string;
|
|
870
219
|
sans: string[] | null;
|
|
@@ -874,47 +223,30 @@ declare const getAppAttestation: {
|
|
|
874
223
|
app_id?: string | null | undefined;
|
|
875
224
|
cert_usage?: string | null | undefined;
|
|
876
225
|
}[] | null | undefined;
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
mrtd: string;
|
|
880
|
-
rtmr0: string;
|
|
881
|
-
rtmr1: string;
|
|
882
|
-
rtmr2: string;
|
|
883
|
-
rtmr3: string;
|
|
884
|
-
event_log: {
|
|
885
|
-
imr: number;
|
|
886
|
-
event_type: number;
|
|
887
|
-
digest: string;
|
|
888
|
-
event: string;
|
|
889
|
-
event_payload: string;
|
|
890
|
-
}[];
|
|
891
|
-
rootfs_hash?: string | null | undefined;
|
|
892
|
-
} | null | undefined;
|
|
893
|
-
ppid_sha256?: string | null | undefined;
|
|
894
|
-
tee_tcb_svn?: string | null | undefined;
|
|
895
|
-
mr_config_id?: string | null | undefined;
|
|
896
|
-
cpusvn?: string | null | undefined;
|
|
897
|
-
pcesvn?: number | null | undefined;
|
|
226
|
+
compose_file?: string | null | undefined;
|
|
227
|
+
error?: string | null | undefined;
|
|
898
228
|
}[];
|
|
899
|
-
kms_guest_agent_info:
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
229
|
+
kms_guest_agent_info: {
|
|
230
|
+
[x: string]: unknown;
|
|
231
|
+
app_id?: string | undefined;
|
|
232
|
+
instance_id?: string | undefined;
|
|
233
|
+
app_name?: string | undefined;
|
|
234
|
+
device_id?: string | undefined;
|
|
235
|
+
} | null;
|
|
236
|
+
gateway_guest_agent_info: {
|
|
237
|
+
[x: string]: unknown;
|
|
238
|
+
app_id?: string | undefined;
|
|
239
|
+
instance_id?: string | undefined;
|
|
240
|
+
app_name?: string | undefined;
|
|
241
|
+
device_id?: string | undefined;
|
|
242
|
+
} | null;
|
|
911
243
|
qemu_version: string | null;
|
|
912
244
|
}>;
|
|
913
245
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
914
246
|
appId: string;
|
|
915
247
|
}, parameters: {
|
|
916
248
|
schema: T;
|
|
917
|
-
}): Promise<z.
|
|
249
|
+
}): Promise<z.core.output<T>>;
|
|
918
250
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
919
251
|
appId: string;
|
|
920
252
|
}, parameters: {
|
|
@@ -927,33 +259,51 @@ declare const getAppAttestation: {
|
|
|
927
259
|
app_id: string;
|
|
928
260
|
contract_address: string;
|
|
929
261
|
kms_info: {
|
|
930
|
-
version: string;
|
|
931
|
-
chain_id: number | null;
|
|
932
262
|
contract_address: string;
|
|
263
|
+
chain_id: number | null;
|
|
264
|
+
version: string;
|
|
933
265
|
url: string;
|
|
934
266
|
gateway_app_id: string | null;
|
|
935
|
-
kms_type: string;
|
|
936
267
|
gateway_app_url: string;
|
|
268
|
+
kms_type: string;
|
|
937
269
|
};
|
|
938
270
|
instances: {
|
|
939
|
-
|
|
271
|
+
vm_uuid?: string | null | undefined;
|
|
940
272
|
name?: string | undefined;
|
|
941
|
-
error?: string | null | undefined;
|
|
942
273
|
instance_id?: string | null | undefined;
|
|
943
|
-
|
|
944
|
-
vm_uuid?: string | null | undefined;
|
|
274
|
+
status?: string | undefined;
|
|
945
275
|
image_version?: string | null | undefined;
|
|
276
|
+
quote?: string | null | undefined;
|
|
946
277
|
ppid?: string | undefined;
|
|
947
|
-
|
|
278
|
+
ppid_sha256?: string | null | undefined;
|
|
279
|
+
device_id?: string | undefined;
|
|
948
280
|
fmspc?: string | null | undefined;
|
|
949
|
-
|
|
281
|
+
tee_tcb_svn?: string | null | undefined;
|
|
282
|
+
mr_config_id?: string | null | undefined;
|
|
283
|
+
cpusvn?: string | null | undefined;
|
|
284
|
+
pcesvn?: number | null | undefined;
|
|
285
|
+
tcb_info?: {
|
|
286
|
+
mrtd: string;
|
|
287
|
+
rtmr0: string;
|
|
288
|
+
rtmr1: string;
|
|
289
|
+
rtmr2: string;
|
|
290
|
+
rtmr3: string;
|
|
291
|
+
event_log: {
|
|
292
|
+
imr: number;
|
|
293
|
+
event_type: number;
|
|
294
|
+
digest: string;
|
|
295
|
+
event: string;
|
|
296
|
+
event_payload: string;
|
|
297
|
+
}[];
|
|
298
|
+
app_compose: string;
|
|
299
|
+
rootfs_hash?: string | null | undefined;
|
|
300
|
+
} | null | undefined;
|
|
950
301
|
app_certificates?: {
|
|
951
|
-
version: string;
|
|
952
302
|
subject: {
|
|
953
|
-
state: string | null;
|
|
954
303
|
common_name: string | null;
|
|
955
304
|
organization: string | null;
|
|
956
305
|
country: string | null;
|
|
306
|
+
state: string | null;
|
|
957
307
|
locality: string | null;
|
|
958
308
|
};
|
|
959
309
|
issuer: {
|
|
@@ -964,6 +314,7 @@ declare const getAppAttestation: {
|
|
|
964
314
|
serial_number: string;
|
|
965
315
|
not_before: string;
|
|
966
316
|
not_after: string;
|
|
317
|
+
version: string;
|
|
967
318
|
fingerprint: string;
|
|
968
319
|
signature_algorithm: string;
|
|
969
320
|
sans: string[] | null;
|
|
@@ -973,47 +324,30 @@ declare const getAppAttestation: {
|
|
|
973
324
|
app_id?: string | null | undefined;
|
|
974
325
|
cert_usage?: string | null | undefined;
|
|
975
326
|
}[] | null | undefined;
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
mrtd: string;
|
|
979
|
-
rtmr0: string;
|
|
980
|
-
rtmr1: string;
|
|
981
|
-
rtmr2: string;
|
|
982
|
-
rtmr3: string;
|
|
983
|
-
event_log: {
|
|
984
|
-
imr: number;
|
|
985
|
-
event_type: number;
|
|
986
|
-
digest: string;
|
|
987
|
-
event: string;
|
|
988
|
-
event_payload: string;
|
|
989
|
-
}[];
|
|
990
|
-
rootfs_hash?: string | null | undefined;
|
|
991
|
-
} | null | undefined;
|
|
992
|
-
ppid_sha256?: string | null | undefined;
|
|
993
|
-
tee_tcb_svn?: string | null | undefined;
|
|
994
|
-
mr_config_id?: string | null | undefined;
|
|
995
|
-
cpusvn?: string | null | undefined;
|
|
996
|
-
pcesvn?: number | null | undefined;
|
|
327
|
+
compose_file?: string | null | undefined;
|
|
328
|
+
error?: string | null | undefined;
|
|
997
329
|
}[];
|
|
998
|
-
kms_guest_agent_info:
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
330
|
+
kms_guest_agent_info: {
|
|
331
|
+
[x: string]: unknown;
|
|
332
|
+
app_id?: string | undefined;
|
|
333
|
+
instance_id?: string | undefined;
|
|
334
|
+
app_name?: string | undefined;
|
|
335
|
+
device_id?: string | undefined;
|
|
336
|
+
} | null;
|
|
337
|
+
gateway_guest_agent_info: {
|
|
338
|
+
[x: string]: unknown;
|
|
339
|
+
app_id?: string | undefined;
|
|
340
|
+
instance_id?: string | undefined;
|
|
341
|
+
app_name?: string | undefined;
|
|
342
|
+
device_id?: string | undefined;
|
|
343
|
+
} | null;
|
|
1010
344
|
qemu_version: string | null;
|
|
1011
345
|
}>>;
|
|
1012
346
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
1013
347
|
appId: string;
|
|
1014
348
|
}, parameters: {
|
|
1015
349
|
schema: T;
|
|
1016
|
-
}): Promise<import("../..").SafeResult<z.
|
|
350
|
+
}): Promise<import("../..").SafeResult<z.core.output<T>>>;
|
|
1017
351
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
1018
352
|
appId: string;
|
|
1019
353
|
}, parameters: {
|