@phala/cloud 0.6.5 → 0.6.6-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/actions/api_tokens/revoke_current_api_token.d.ts +2 -2
- package/dist/actions/apps/app_launch_token.d.ts +4 -4
- package/dist/actions/apps/check_app_is_allowed.d.ts +4 -4
- package/dist/actions/apps/create_app_instance.d.ts +20 -20
- package/dist/actions/apps/get_app_attestation.d.ts +4 -4
- package/dist/actions/blockchains/abi/dstack_app.d.ts +403 -1
- package/dist/actions/blockchains/add_compose_hash.d.ts +7 -0
- package/dist/actions/blockchains/add_device.d.ts +7 -0
- package/dist/actions/blockchains/check_compose_hash_allowed.d.ts +4 -1
- package/dist/actions/blockchains/check_device_allowed.d.ts +5 -2
- package/dist/actions/blockchains/check_on_chain_prerequisites.d.ts +7 -2
- package/dist/actions/blockchains/epoch_compat.d.ts +106 -0
- package/dist/actions/blockchains/get_allowed_devices.d.ts +10 -2
- package/dist/actions/blockchains/remove_device.d.ts +7 -0
- package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +4 -4
- package/dist/actions/cvms/commit_cvm_update.d.ts +20 -20
- package/dist/actions/cvms/confirm_cvm_patch.d.ts +14 -14
- package/dist/actions/cvms/cvm_annotations.d.ts +10 -10
- 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 +4 -4
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +10 -10
- package/dist/actions/cvms/get_cvm_containers_stats.d.ts +4 -4
- package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_info.d.ts +1 -1
- package/dist/actions/cvms/get_cvm_init_scripts.d.ts +2 -2
- 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 +10 -10
- package/dist/actions/cvms/get_cvm_user_config.d.ts +4 -4
- package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +2 -2
- package/dist/actions/cvms/patch_cvm.d.ts +10 -10
- package/dist/actions/cvms/provision_cvm.d.ts +23 -20
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +49 -49
- package/dist/actions/cvms/put_cvm_init_scripts.d.ts +8 -8
- package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +25 -25
- package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +25 -25
- package/dist/actions/cvms/update_cvm_envs.d.ts +10 -10
- package/dist/actions/cvms/update_cvm_resources.d.ts +2 -2
- package/dist/actions/cvms/update_cvm_visibility.d.ts +14 -14
- package/dist/actions/cvms/update_docker_compose.d.ts +10 -10
- package/dist/actions/cvms/update_os_image.d.ts +8 -8
- package/dist/actions/cvms/update_prelaunch_script.d.ts +10 -10
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +2 -2
- package/dist/actions/cvms/watch_cvm_state.d.ts +2 -2
- package/dist/actions/domains/create_app_domain.d.ts +139 -0
- package/dist/actions/domains/delete_app_domain.d.ts +120 -0
- package/dist/actions/domains/get_app_domain_guide.d.ts +67 -0
- package/dist/actions/domains/list_app_domains.d.ts +107 -0
- package/dist/actions/domains/list_domains.d.ts +157 -0
- package/dist/actions/domains/merge_app_domain_ingress.d.ts +120 -0
- package/dist/actions/domains/preflight_app_domain.d.ts +110 -0
- package/dist/actions/domains/schemas.d.ts +82 -0
- package/dist/actions/domains/verify_app_domain.d.ts +142 -0
- package/dist/actions/get_available_nodes.d.ts +16 -16
- package/dist/actions/index.d.ts +10 -0
- package/dist/actions/kms/get_app_env_encrypt_pubkey.d.ts +2 -2
- package/dist/actions/kms/get_kms_contract.d.ts +2 -2
- package/dist/actions/kms/get_kms_info.d.ts +2 -2
- package/dist/actions/kms/get_kms_list.d.ts +2 -2
- package/dist/actions/kms/get_kms_onchain_detail.d.ts +10 -10
- package/dist/actions/kms/list_kms_contract_nodes.d.ts +2 -2
- package/dist/actions/kms/list_kms_contracts.d.ts +2 -2
- package/dist/actions/kms/next_app_ids.d.ts +2 -2
- package/dist/actions/list-instance-types.d.ts +8 -8
- package/dist/actions/os_images/get_os_images.d.ts +2 -2
- package/dist/actions/ssh_keys/create_ssh_key.d.ts +6 -6
- package/dist/actions/ssh_keys/delete_ssh_key.d.ts +2 -2
- package/dist/actions/ssh_keys/get_cvm_ssh_keys.d.ts +2 -2
- package/dist/actions/ssh_keys/import_github_profile.d.ts +2 -2
- package/dist/actions/ssh_keys/sync_github_ssh_keys.d.ts +2 -2
- package/dist/actions/ssh_keys/update_cvm_ssh_keys.d.ts +8 -8
- package/dist/actions/workspaces/get_workspace.d.ts +8 -8
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +12 -12
- package/dist/actions/workspaces/get_workspace_quotas.d.ts +2 -2
- package/dist/actions/workspaces/list_workspaces.d.ts +10 -10
- package/dist/create-client.d.ts +257 -134
- package/dist/credentials/current_user_v20260121.d.ts +2 -2
- package/dist/index.js +2356 -1455
- package/dist/index.mjs +2281 -1420
- package/dist/types/app_compose.d.ts +2 -2
- package/dist/types/app_info_v20260121.d.ts +60 -48
- package/dist/types/cvm_info_v20251028.d.ts +1 -0
- package/dist/types/cvm_info_v20260121.d.ts +41 -34
- package/dist/utils/define-action.d.ts +4 -4
- package/dist/utils/errors.d.ts +4 -0
- package/dist/utils/network.d.ts +6 -6
- package/package.json +25 -12
|
@@ -95,9 +95,9 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodPipe<z.Zod
|
|
|
95
95
|
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
96
96
|
local_key_provider_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
97
97
|
key_provider: z.ZodOptional<z.ZodEnum<{
|
|
98
|
-
none: "none";
|
|
99
98
|
kms: "kms";
|
|
100
99
|
local: "local";
|
|
100
|
+
none: "none";
|
|
101
101
|
tpm: "tpm";
|
|
102
102
|
}>>;
|
|
103
103
|
key_provider_id: z.ZodOptional<z.ZodString>;
|
|
@@ -153,7 +153,6 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodPipe<z.Zod
|
|
|
153
153
|
}, z.core.$strip>, z.ZodTransform<{
|
|
154
154
|
cvmId: string | undefined;
|
|
155
155
|
request: {
|
|
156
|
-
update_env_vars: boolean | null | undefined;
|
|
157
156
|
allowed_envs?: string[] | undefined;
|
|
158
157
|
docker_compose_file?: string | undefined;
|
|
159
158
|
bash_script?: string | null | undefined;
|
|
@@ -165,7 +164,7 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodPipe<z.Zod
|
|
|
165
164
|
gateway_enabled?: boolean | undefined;
|
|
166
165
|
tproxy_enabled?: boolean | undefined;
|
|
167
166
|
local_key_provider_enabled?: boolean | undefined;
|
|
168
|
-
key_provider?: "
|
|
167
|
+
key_provider?: "kms" | "local" | "none" | "tpm" | undefined;
|
|
169
168
|
key_provider_id?: string | undefined;
|
|
170
169
|
public_logs?: boolean | undefined;
|
|
171
170
|
public_sysinfo?: boolean | undefined;
|
|
@@ -210,8 +209,13 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodPipe<z.Zod
|
|
|
210
209
|
verity_root: string;
|
|
211
210
|
}[] | null | undefined;
|
|
212
211
|
init_script?: string | string[] | undefined;
|
|
212
|
+
update_env_vars: boolean | null | undefined;
|
|
213
213
|
};
|
|
214
214
|
_raw: {
|
|
215
|
+
id?: string | undefined;
|
|
216
|
+
uuid?: string | undefined;
|
|
217
|
+
app_id?: string | undefined;
|
|
218
|
+
instance_id?: string | undefined;
|
|
215
219
|
app_compose: {
|
|
216
220
|
[x: string]: unknown;
|
|
217
221
|
allowed_envs?: string[] | undefined;
|
|
@@ -225,7 +229,7 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodPipe<z.Zod
|
|
|
225
229
|
gateway_enabled?: boolean | undefined;
|
|
226
230
|
tproxy_enabled?: boolean | undefined;
|
|
227
231
|
local_key_provider_enabled?: boolean | undefined;
|
|
228
|
-
key_provider?: "
|
|
232
|
+
key_provider?: "kms" | "local" | "none" | "tpm" | undefined;
|
|
229
233
|
key_provider_id?: string | undefined;
|
|
230
234
|
public_logs?: boolean | undefined;
|
|
231
235
|
public_sysinfo?: boolean | undefined;
|
|
@@ -271,13 +275,13 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodPipe<z.Zod
|
|
|
271
275
|
}[] | null | undefined;
|
|
272
276
|
init_script?: string | string[] | undefined;
|
|
273
277
|
};
|
|
274
|
-
id?: string | undefined;
|
|
275
|
-
uuid?: string | undefined;
|
|
276
|
-
app_id?: string | undefined;
|
|
277
|
-
instance_id?: string | undefined;
|
|
278
278
|
update_env_vars?: boolean | null | undefined;
|
|
279
279
|
};
|
|
280
280
|
}, {
|
|
281
|
+
id?: string | undefined;
|
|
282
|
+
uuid?: string | undefined;
|
|
283
|
+
app_id?: string | undefined;
|
|
284
|
+
instance_id?: string | undefined;
|
|
281
285
|
app_compose: {
|
|
282
286
|
[x: string]: unknown;
|
|
283
287
|
allowed_envs?: string[] | undefined;
|
|
@@ -291,7 +295,7 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodPipe<z.Zod
|
|
|
291
295
|
gateway_enabled?: boolean | undefined;
|
|
292
296
|
tproxy_enabled?: boolean | undefined;
|
|
293
297
|
local_key_provider_enabled?: boolean | undefined;
|
|
294
|
-
key_provider?: "
|
|
298
|
+
key_provider?: "kms" | "local" | "none" | "tpm" | undefined;
|
|
295
299
|
key_provider_id?: string | undefined;
|
|
296
300
|
public_logs?: boolean | undefined;
|
|
297
301
|
public_sysinfo?: boolean | undefined;
|
|
@@ -337,10 +341,6 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodPipe<z.Zod
|
|
|
337
341
|
}[] | null | undefined;
|
|
338
342
|
init_script?: string | string[] | undefined;
|
|
339
343
|
};
|
|
340
|
-
id?: string | undefined;
|
|
341
|
-
uuid?: string | undefined;
|
|
342
|
-
app_id?: string | undefined;
|
|
343
|
-
instance_id?: string | undefined;
|
|
344
344
|
update_env_vars?: boolean | null | undefined;
|
|
345
345
|
}>>;
|
|
346
346
|
export declare const ProvisionCvmComposeFileUpdateResultSchema: z.ZodObject<{
|
|
@@ -429,6 +429,10 @@ export type ProvisionCvmComposeFileUpdateResult = z.infer<typeof ProvisionCvmCom
|
|
|
429
429
|
*/
|
|
430
430
|
declare const provisionCvmComposeFileUpdate: {
|
|
431
431
|
(client: Client<import("../..").ApiVersion>, params: {
|
|
432
|
+
id?: string | undefined;
|
|
433
|
+
uuid?: string | undefined;
|
|
434
|
+
app_id?: string | undefined;
|
|
435
|
+
instance_id?: string | undefined;
|
|
432
436
|
app_compose: {
|
|
433
437
|
[x: string]: unknown;
|
|
434
438
|
allowed_envs?: string[] | undefined;
|
|
@@ -442,7 +446,7 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
442
446
|
gateway_enabled?: boolean | undefined;
|
|
443
447
|
tproxy_enabled?: boolean | undefined;
|
|
444
448
|
local_key_provider_enabled?: boolean | undefined;
|
|
445
|
-
key_provider?: "
|
|
449
|
+
key_provider?: "kms" | "local" | "none" | "tpm" | undefined;
|
|
446
450
|
key_provider_id?: string | undefined;
|
|
447
451
|
public_logs?: boolean | undefined;
|
|
448
452
|
public_sysinfo?: boolean | undefined;
|
|
@@ -488,18 +492,12 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
488
492
|
}[] | null | undefined;
|
|
489
493
|
init_script?: string | string[] | undefined;
|
|
490
494
|
};
|
|
491
|
-
id?: string | undefined;
|
|
492
|
-
uuid?: string | undefined;
|
|
493
|
-
app_id?: string | undefined;
|
|
494
|
-
instance_id?: string | undefined;
|
|
495
495
|
update_env_vars?: boolean | null | undefined;
|
|
496
496
|
}): Promise<{
|
|
497
497
|
[x: string]: unknown;
|
|
498
498
|
app_id: string | null;
|
|
499
499
|
device_id: string | null;
|
|
500
500
|
compose_hash: string;
|
|
501
|
-
compose_hash_registered: boolean;
|
|
502
|
-
compose_unchanged: boolean;
|
|
503
501
|
kms_info?: {
|
|
504
502
|
[x: string]: unknown;
|
|
505
503
|
id: string;
|
|
@@ -511,8 +509,14 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
511
509
|
gateway_app_id: `0x${string}`;
|
|
512
510
|
k256_pubkey?: string | null | undefined;
|
|
513
511
|
} | null | undefined;
|
|
512
|
+
compose_hash_registered: boolean;
|
|
513
|
+
compose_unchanged: boolean;
|
|
514
514
|
}>;
|
|
515
515
|
<T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params: {
|
|
516
|
+
id?: string | undefined;
|
|
517
|
+
uuid?: string | undefined;
|
|
518
|
+
app_id?: string | undefined;
|
|
519
|
+
instance_id?: string | undefined;
|
|
516
520
|
app_compose: {
|
|
517
521
|
[x: string]: unknown;
|
|
518
522
|
allowed_envs?: string[] | undefined;
|
|
@@ -526,7 +530,7 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
526
530
|
gateway_enabled?: boolean | undefined;
|
|
527
531
|
tproxy_enabled?: boolean | undefined;
|
|
528
532
|
local_key_provider_enabled?: boolean | undefined;
|
|
529
|
-
key_provider?: "
|
|
533
|
+
key_provider?: "kms" | "local" | "none" | "tpm" | undefined;
|
|
530
534
|
key_provider_id?: string | undefined;
|
|
531
535
|
public_logs?: boolean | undefined;
|
|
532
536
|
public_sysinfo?: boolean | undefined;
|
|
@@ -572,15 +576,15 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
572
576
|
}[] | null | undefined;
|
|
573
577
|
init_script?: string | string[] | undefined;
|
|
574
578
|
};
|
|
575
|
-
id?: string | undefined;
|
|
576
|
-
uuid?: string | undefined;
|
|
577
|
-
app_id?: string | undefined;
|
|
578
|
-
instance_id?: string | undefined;
|
|
579
579
|
update_env_vars?: boolean | null | undefined;
|
|
580
580
|
}, parameters: {
|
|
581
581
|
schema: T;
|
|
582
|
-
}): Promise<z.
|
|
582
|
+
}): Promise<z.infer<T>>;
|
|
583
583
|
(client: Client<import("../..").ApiVersion>, params: {
|
|
584
|
+
id?: string | undefined;
|
|
585
|
+
uuid?: string | undefined;
|
|
586
|
+
app_id?: string | undefined;
|
|
587
|
+
instance_id?: string | undefined;
|
|
584
588
|
app_compose: {
|
|
585
589
|
[x: string]: unknown;
|
|
586
590
|
allowed_envs?: string[] | undefined;
|
|
@@ -594,7 +598,7 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
594
598
|
gateway_enabled?: boolean | undefined;
|
|
595
599
|
tproxy_enabled?: boolean | undefined;
|
|
596
600
|
local_key_provider_enabled?: boolean | undefined;
|
|
597
|
-
key_provider?: "
|
|
601
|
+
key_provider?: "kms" | "local" | "none" | "tpm" | undefined;
|
|
598
602
|
key_provider_id?: string | undefined;
|
|
599
603
|
public_logs?: boolean | undefined;
|
|
600
604
|
public_sysinfo?: boolean | undefined;
|
|
@@ -640,16 +644,16 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
640
644
|
}[] | null | undefined;
|
|
641
645
|
init_script?: string | string[] | undefined;
|
|
642
646
|
};
|
|
643
|
-
id?: string | undefined;
|
|
644
|
-
uuid?: string | undefined;
|
|
645
|
-
app_id?: string | undefined;
|
|
646
|
-
instance_id?: string | undefined;
|
|
647
647
|
update_env_vars?: boolean | null | undefined;
|
|
648
648
|
}, parameters: {
|
|
649
649
|
schema: false;
|
|
650
650
|
}): Promise<unknown>;
|
|
651
651
|
}, safeProvisionCvmComposeFileUpdate: {
|
|
652
652
|
(client: Client<import("../..").ApiVersion>, params: {
|
|
653
|
+
id?: string | undefined;
|
|
654
|
+
uuid?: string | undefined;
|
|
655
|
+
app_id?: string | undefined;
|
|
656
|
+
instance_id?: string | undefined;
|
|
653
657
|
app_compose: {
|
|
654
658
|
[x: string]: unknown;
|
|
655
659
|
allowed_envs?: string[] | undefined;
|
|
@@ -663,7 +667,7 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
663
667
|
gateway_enabled?: boolean | undefined;
|
|
664
668
|
tproxy_enabled?: boolean | undefined;
|
|
665
669
|
local_key_provider_enabled?: boolean | undefined;
|
|
666
|
-
key_provider?: "
|
|
670
|
+
key_provider?: "kms" | "local" | "none" | "tpm" | undefined;
|
|
667
671
|
key_provider_id?: string | undefined;
|
|
668
672
|
public_logs?: boolean | undefined;
|
|
669
673
|
public_sysinfo?: boolean | undefined;
|
|
@@ -709,18 +713,12 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
709
713
|
}[] | null | undefined;
|
|
710
714
|
init_script?: string | string[] | undefined;
|
|
711
715
|
};
|
|
712
|
-
id?: string | undefined;
|
|
713
|
-
uuid?: string | undefined;
|
|
714
|
-
app_id?: string | undefined;
|
|
715
|
-
instance_id?: string | undefined;
|
|
716
716
|
update_env_vars?: boolean | null | undefined;
|
|
717
717
|
}): Promise<import("../..").SafeResult<{
|
|
718
718
|
[x: string]: unknown;
|
|
719
719
|
app_id: string | null;
|
|
720
720
|
device_id: string | null;
|
|
721
721
|
compose_hash: string;
|
|
722
|
-
compose_hash_registered: boolean;
|
|
723
|
-
compose_unchanged: boolean;
|
|
724
722
|
kms_info?: {
|
|
725
723
|
[x: string]: unknown;
|
|
726
724
|
id: string;
|
|
@@ -732,8 +730,14 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
732
730
|
gateway_app_id: `0x${string}`;
|
|
733
731
|
k256_pubkey?: string | null | undefined;
|
|
734
732
|
} | null | undefined;
|
|
733
|
+
compose_hash_registered: boolean;
|
|
734
|
+
compose_unchanged: boolean;
|
|
735
735
|
}>>;
|
|
736
736
|
<T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params: {
|
|
737
|
+
id?: string | undefined;
|
|
738
|
+
uuid?: string | undefined;
|
|
739
|
+
app_id?: string | undefined;
|
|
740
|
+
instance_id?: string | undefined;
|
|
737
741
|
app_compose: {
|
|
738
742
|
[x: string]: unknown;
|
|
739
743
|
allowed_envs?: string[] | undefined;
|
|
@@ -747,7 +751,7 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
747
751
|
gateway_enabled?: boolean | undefined;
|
|
748
752
|
tproxy_enabled?: boolean | undefined;
|
|
749
753
|
local_key_provider_enabled?: boolean | undefined;
|
|
750
|
-
key_provider?: "
|
|
754
|
+
key_provider?: "kms" | "local" | "none" | "tpm" | undefined;
|
|
751
755
|
key_provider_id?: string | undefined;
|
|
752
756
|
public_logs?: boolean | undefined;
|
|
753
757
|
public_sysinfo?: boolean | undefined;
|
|
@@ -793,15 +797,15 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
793
797
|
}[] | null | undefined;
|
|
794
798
|
init_script?: string | string[] | undefined;
|
|
795
799
|
};
|
|
796
|
-
id?: string | undefined;
|
|
797
|
-
uuid?: string | undefined;
|
|
798
|
-
app_id?: string | undefined;
|
|
799
|
-
instance_id?: string | undefined;
|
|
800
800
|
update_env_vars?: boolean | null | undefined;
|
|
801
801
|
}, parameters: {
|
|
802
802
|
schema: T;
|
|
803
|
-
}): Promise<import("../..").SafeResult<z.
|
|
803
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
804
804
|
(client: Client<import("../..").ApiVersion>, params: {
|
|
805
|
+
id?: string | undefined;
|
|
806
|
+
uuid?: string | undefined;
|
|
807
|
+
app_id?: string | undefined;
|
|
808
|
+
instance_id?: string | undefined;
|
|
805
809
|
app_compose: {
|
|
806
810
|
[x: string]: unknown;
|
|
807
811
|
allowed_envs?: string[] | undefined;
|
|
@@ -815,7 +819,7 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
815
819
|
gateway_enabled?: boolean | undefined;
|
|
816
820
|
tproxy_enabled?: boolean | undefined;
|
|
817
821
|
local_key_provider_enabled?: boolean | undefined;
|
|
818
|
-
key_provider?: "
|
|
822
|
+
key_provider?: "kms" | "local" | "none" | "tpm" | undefined;
|
|
819
823
|
key_provider_id?: string | undefined;
|
|
820
824
|
public_logs?: boolean | undefined;
|
|
821
825
|
public_sysinfo?: boolean | undefined;
|
|
@@ -861,10 +865,6 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
861
865
|
}[] | null | undefined;
|
|
862
866
|
init_script?: string | string[] | undefined;
|
|
863
867
|
};
|
|
864
|
-
id?: string | undefined;
|
|
865
|
-
uuid?: string | undefined;
|
|
866
|
-
app_id?: string | undefined;
|
|
867
|
-
instance_id?: string | undefined;
|
|
868
868
|
update_env_vars?: boolean | null | undefined;
|
|
869
869
|
}, parameters: {
|
|
870
870
|
schema: false;
|
|
@@ -29,12 +29,12 @@ export type PutCvmInitScriptsRequest = z.input<typeof PutCvmInitScriptsRequestSc
|
|
|
29
29
|
*/
|
|
30
30
|
declare const putCvmInitScripts: {
|
|
31
31
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
32
|
-
scripts: string[];
|
|
33
32
|
id?: string | undefined;
|
|
34
33
|
uuid?: string | undefined;
|
|
35
34
|
app_id?: string | undefined;
|
|
36
35
|
instance_id?: string | undefined;
|
|
37
36
|
name?: string | undefined;
|
|
37
|
+
scripts: string[];
|
|
38
38
|
prepareOnly?: boolean | undefined;
|
|
39
39
|
}): Promise<{
|
|
40
40
|
requiresOnChainHash: false;
|
|
@@ -65,35 +65,35 @@ declare const putCvmInitScripts: {
|
|
|
65
65
|
} | undefined;
|
|
66
66
|
}>;
|
|
67
67
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
68
|
-
scripts: string[];
|
|
69
68
|
id?: string | undefined;
|
|
70
69
|
uuid?: string | undefined;
|
|
71
70
|
app_id?: string | undefined;
|
|
72
71
|
instance_id?: string | undefined;
|
|
73
72
|
name?: string | undefined;
|
|
73
|
+
scripts: string[];
|
|
74
74
|
prepareOnly?: boolean | undefined;
|
|
75
75
|
}, parameters: {
|
|
76
76
|
schema: T;
|
|
77
|
-
}): Promise<z.
|
|
77
|
+
}): Promise<z.infer<T>>;
|
|
78
78
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
79
|
-
scripts: string[];
|
|
80
79
|
id?: string | undefined;
|
|
81
80
|
uuid?: string | undefined;
|
|
82
81
|
app_id?: string | undefined;
|
|
83
82
|
instance_id?: string | undefined;
|
|
84
83
|
name?: string | undefined;
|
|
84
|
+
scripts: string[];
|
|
85
85
|
prepareOnly?: boolean | undefined;
|
|
86
86
|
}, parameters: {
|
|
87
87
|
schema: false;
|
|
88
88
|
}): Promise<unknown>;
|
|
89
89
|
}, safePutCvmInitScripts: {
|
|
90
90
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
91
|
-
scripts: string[];
|
|
92
91
|
id?: string | undefined;
|
|
93
92
|
uuid?: string | undefined;
|
|
94
93
|
app_id?: string | undefined;
|
|
95
94
|
instance_id?: string | undefined;
|
|
96
95
|
name?: string | undefined;
|
|
96
|
+
scripts: string[];
|
|
97
97
|
prepareOnly?: boolean | undefined;
|
|
98
98
|
}): Promise<import("../..").SafeResult<{
|
|
99
99
|
requiresOnChainHash: false;
|
|
@@ -124,23 +124,23 @@ declare const putCvmInitScripts: {
|
|
|
124
124
|
} | undefined;
|
|
125
125
|
}>>;
|
|
126
126
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
127
|
-
scripts: string[];
|
|
128
127
|
id?: string | undefined;
|
|
129
128
|
uuid?: string | undefined;
|
|
130
129
|
app_id?: string | undefined;
|
|
131
130
|
instance_id?: string | undefined;
|
|
132
131
|
name?: string | undefined;
|
|
132
|
+
scripts: string[];
|
|
133
133
|
prepareOnly?: boolean | undefined;
|
|
134
134
|
}, parameters: {
|
|
135
135
|
schema: T;
|
|
136
|
-
}): Promise<import("../..").SafeResult<z.
|
|
136
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
137
137
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
138
|
-
scripts: string[];
|
|
139
138
|
id?: string | undefined;
|
|
140
139
|
uuid?: string | undefined;
|
|
141
140
|
app_id?: string | undefined;
|
|
142
141
|
instance_id?: string | undefined;
|
|
143
142
|
name?: string | undefined;
|
|
143
|
+
scripts: string[];
|
|
144
144
|
prepareOnly?: boolean | undefined;
|
|
145
145
|
}, parameters: {
|
|
146
146
|
schema: false;
|
|
@@ -5,19 +5,19 @@ import type { RefreshCvmInstanceIdResponse } from "../../types/version-mappings"
|
|
|
5
5
|
export declare const InstanceIdRefreshResultV20260121Schema: z.ZodObject<{
|
|
6
6
|
identifier: z.ZodString;
|
|
7
7
|
status: z.ZodEnum<{
|
|
8
|
+
conflict: "conflict";
|
|
8
9
|
error: "error";
|
|
9
|
-
updated: "updated";
|
|
10
|
-
unchanged: "unchanged";
|
|
11
10
|
skipped: "skipped";
|
|
12
|
-
|
|
11
|
+
unchanged: "unchanged";
|
|
12
|
+
updated: "updated";
|
|
13
13
|
}>;
|
|
14
14
|
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
source: z.ZodEnum<{
|
|
17
|
+
gateway: "gateway";
|
|
17
18
|
none: "none";
|
|
18
|
-
teepod_state: "teepod_state";
|
|
19
19
|
teepod_info: "teepod_info";
|
|
20
|
-
|
|
20
|
+
teepod_state: "teepod_state";
|
|
21
21
|
}>;
|
|
22
22
|
verified_with_gateway: z.ZodBoolean;
|
|
23
23
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -27,19 +27,19 @@ export type InstanceIdRefreshResultV20260121 = z.infer<typeof InstanceIdRefreshR
|
|
|
27
27
|
export declare const InstanceIdRefreshResultV20260522Schema: z.ZodObject<{
|
|
28
28
|
identifier: z.ZodString;
|
|
29
29
|
status: z.ZodEnum<{
|
|
30
|
+
conflict: "conflict";
|
|
30
31
|
error: "error";
|
|
31
|
-
updated: "updated";
|
|
32
|
-
unchanged: "unchanged";
|
|
33
32
|
skipped: "skipped";
|
|
34
|
-
|
|
33
|
+
unchanged: "unchanged";
|
|
34
|
+
updated: "updated";
|
|
35
35
|
}>;
|
|
36
36
|
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
source: z.ZodEnum<{
|
|
39
|
+
gateway: "gateway";
|
|
39
40
|
none: "none";
|
|
40
|
-
teepod_state: "teepod_state";
|
|
41
41
|
teepod_info: "teepod_info";
|
|
42
|
-
|
|
42
|
+
teepod_state: "teepod_state";
|
|
43
43
|
}>;
|
|
44
44
|
verified_with_gateway: z.ZodBoolean;
|
|
45
45
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -49,19 +49,19 @@ export type InstanceIdRefreshResultV20260522 = z.infer<typeof InstanceIdRefreshR
|
|
|
49
49
|
export declare const InstanceIdRefreshResultAnySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
50
50
|
identifier: z.ZodString;
|
|
51
51
|
status: z.ZodEnum<{
|
|
52
|
+
conflict: "conflict";
|
|
52
53
|
error: "error";
|
|
53
|
-
updated: "updated";
|
|
54
|
-
unchanged: "unchanged";
|
|
55
54
|
skipped: "skipped";
|
|
56
|
-
|
|
55
|
+
unchanged: "unchanged";
|
|
56
|
+
updated: "updated";
|
|
57
57
|
}>;
|
|
58
58
|
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
source: z.ZodEnum<{
|
|
61
|
+
gateway: "gateway";
|
|
61
62
|
none: "none";
|
|
62
|
-
teepod_state: "teepod_state";
|
|
63
63
|
teepod_info: "teepod_info";
|
|
64
|
-
|
|
64
|
+
teepod_state: "teepod_state";
|
|
65
65
|
}>;
|
|
66
66
|
verified_with_gateway: z.ZodBoolean;
|
|
67
67
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -69,19 +69,19 @@ export declare const InstanceIdRefreshResultAnySchema: z.ZodUnion<readonly [z.Zo
|
|
|
69
69
|
}, z.core.$strip>, z.ZodObject<{
|
|
70
70
|
identifier: z.ZodString;
|
|
71
71
|
status: z.ZodEnum<{
|
|
72
|
+
conflict: "conflict";
|
|
72
73
|
error: "error";
|
|
73
|
-
updated: "updated";
|
|
74
|
-
unchanged: "unchanged";
|
|
75
74
|
skipped: "skipped";
|
|
76
|
-
|
|
75
|
+
unchanged: "unchanged";
|
|
76
|
+
updated: "updated";
|
|
77
77
|
}>;
|
|
78
78
|
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
79
|
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
80
|
source: z.ZodEnum<{
|
|
81
|
+
gateway: "gateway";
|
|
81
82
|
none: "none";
|
|
82
|
-
teepod_state: "teepod_state";
|
|
83
83
|
teepod_info: "teepod_info";
|
|
84
|
-
|
|
84
|
+
teepod_state: "teepod_state";
|
|
85
85
|
}>;
|
|
86
86
|
verified_with_gateway: z.ZodBoolean;
|
|
87
87
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -90,19 +90,19 @@ export declare const InstanceIdRefreshResultAnySchema: z.ZodUnion<readonly [z.Zo
|
|
|
90
90
|
export declare const InstanceIdRefreshResultSchema: z.ZodObject<{
|
|
91
91
|
identifier: z.ZodString;
|
|
92
92
|
status: z.ZodEnum<{
|
|
93
|
+
conflict: "conflict";
|
|
93
94
|
error: "error";
|
|
94
|
-
updated: "updated";
|
|
95
|
-
unchanged: "unchanged";
|
|
96
95
|
skipped: "skipped";
|
|
97
|
-
|
|
96
|
+
unchanged: "unchanged";
|
|
97
|
+
updated: "updated";
|
|
98
98
|
}>;
|
|
99
99
|
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
100
|
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
101
|
source: z.ZodEnum<{
|
|
102
|
+
gateway: "gateway";
|
|
102
103
|
none: "none";
|
|
103
|
-
teepod_state: "teepod_state";
|
|
104
104
|
teepod_info: "teepod_info";
|
|
105
|
-
|
|
105
|
+
teepod_state: "teepod_state";
|
|
106
106
|
}>;
|
|
107
107
|
verified_with_gateway: z.ZodBoolean;
|
|
108
108
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -22,19 +22,19 @@ export declare const RefreshCvmInstanceIdsResponseV20260121Schema: z.ZodObject<{
|
|
|
22
22
|
items: z.ZodArray<z.ZodObject<{
|
|
23
23
|
identifier: z.ZodString;
|
|
24
24
|
status: z.ZodEnum<{
|
|
25
|
+
conflict: "conflict";
|
|
25
26
|
error: "error";
|
|
26
|
-
updated: "updated";
|
|
27
|
-
unchanged: "unchanged";
|
|
28
27
|
skipped: "skipped";
|
|
29
|
-
|
|
28
|
+
unchanged: "unchanged";
|
|
29
|
+
updated: "updated";
|
|
30
30
|
}>;
|
|
31
31
|
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
source: z.ZodEnum<{
|
|
34
|
+
gateway: "gateway";
|
|
34
35
|
none: "none";
|
|
35
|
-
teepod_state: "teepod_state";
|
|
36
36
|
teepod_info: "teepod_info";
|
|
37
|
-
|
|
37
|
+
teepod_state: "teepod_state";
|
|
38
38
|
}>;
|
|
39
39
|
verified_with_gateway: z.ZodBoolean;
|
|
40
40
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -53,19 +53,19 @@ export declare const RefreshCvmInstanceIdsResponseV20260522Schema: z.ZodObject<{
|
|
|
53
53
|
items: z.ZodArray<z.ZodObject<{
|
|
54
54
|
identifier: z.ZodString;
|
|
55
55
|
status: z.ZodEnum<{
|
|
56
|
+
conflict: "conflict";
|
|
56
57
|
error: "error";
|
|
57
|
-
updated: "updated";
|
|
58
|
-
unchanged: "unchanged";
|
|
59
58
|
skipped: "skipped";
|
|
60
|
-
|
|
59
|
+
unchanged: "unchanged";
|
|
60
|
+
updated: "updated";
|
|
61
61
|
}>;
|
|
62
62
|
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
63
|
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
64
|
source: z.ZodEnum<{
|
|
65
|
+
gateway: "gateway";
|
|
65
66
|
none: "none";
|
|
66
|
-
teepod_state: "teepod_state";
|
|
67
67
|
teepod_info: "teepod_info";
|
|
68
|
-
|
|
68
|
+
teepod_state: "teepod_state";
|
|
69
69
|
}>;
|
|
70
70
|
verified_with_gateway: z.ZodBoolean;
|
|
71
71
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -84,19 +84,19 @@ export declare const RefreshCvmInstanceIdsResponseAnySchema: z.ZodObject<{
|
|
|
84
84
|
items: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
85
85
|
identifier: z.ZodString;
|
|
86
86
|
status: z.ZodEnum<{
|
|
87
|
+
conflict: "conflict";
|
|
87
88
|
error: "error";
|
|
88
|
-
updated: "updated";
|
|
89
|
-
unchanged: "unchanged";
|
|
90
89
|
skipped: "skipped";
|
|
91
|
-
|
|
90
|
+
unchanged: "unchanged";
|
|
91
|
+
updated: "updated";
|
|
92
92
|
}>;
|
|
93
93
|
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
94
|
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
95
|
source: z.ZodEnum<{
|
|
96
|
+
gateway: "gateway";
|
|
96
97
|
none: "none";
|
|
97
|
-
teepod_state: "teepod_state";
|
|
98
98
|
teepod_info: "teepod_info";
|
|
99
|
-
|
|
99
|
+
teepod_state: "teepod_state";
|
|
100
100
|
}>;
|
|
101
101
|
verified_with_gateway: z.ZodBoolean;
|
|
102
102
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -104,19 +104,19 @@ export declare const RefreshCvmInstanceIdsResponseAnySchema: z.ZodObject<{
|
|
|
104
104
|
}, z.core.$strip>, z.ZodObject<{
|
|
105
105
|
identifier: z.ZodString;
|
|
106
106
|
status: z.ZodEnum<{
|
|
107
|
+
conflict: "conflict";
|
|
107
108
|
error: "error";
|
|
108
|
-
updated: "updated";
|
|
109
|
-
unchanged: "unchanged";
|
|
110
109
|
skipped: "skipped";
|
|
111
|
-
|
|
110
|
+
unchanged: "unchanged";
|
|
111
|
+
updated: "updated";
|
|
112
112
|
}>;
|
|
113
113
|
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
114
|
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
115
115
|
source: z.ZodEnum<{
|
|
116
|
+
gateway: "gateway";
|
|
116
117
|
none: "none";
|
|
117
|
-
teepod_state: "teepod_state";
|
|
118
118
|
teepod_info: "teepod_info";
|
|
119
|
-
|
|
119
|
+
teepod_state: "teepod_state";
|
|
120
120
|
}>;
|
|
121
121
|
verified_with_gateway: z.ZodBoolean;
|
|
122
122
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -134,19 +134,19 @@ export declare const RefreshCvmInstanceIdsResponseSchema: z.ZodObject<{
|
|
|
134
134
|
items: z.ZodArray<z.ZodObject<{
|
|
135
135
|
identifier: z.ZodString;
|
|
136
136
|
status: z.ZodEnum<{
|
|
137
|
+
conflict: "conflict";
|
|
137
138
|
error: "error";
|
|
138
|
-
updated: "updated";
|
|
139
|
-
unchanged: "unchanged";
|
|
140
139
|
skipped: "skipped";
|
|
141
|
-
|
|
140
|
+
unchanged: "unchanged";
|
|
141
|
+
updated: "updated";
|
|
142
142
|
}>;
|
|
143
143
|
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
144
144
|
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
145
145
|
source: z.ZodEnum<{
|
|
146
|
+
gateway: "gateway";
|
|
146
147
|
none: "none";
|
|
147
|
-
teepod_state: "teepod_state";
|
|
148
148
|
teepod_info: "teepod_info";
|
|
149
|
-
|
|
149
|
+
teepod_state: "teepod_state";
|
|
150
150
|
}>;
|
|
151
151
|
verified_with_gateway: z.ZodBoolean;
|
|
152
152
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|