@phala/cloud 0.2.10 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +100 -161
- package/dist/actions/apps/check_app_is_allowed.d.ts +14 -14
- package/dist/actions/apps/create_app_instance.d.ts +22 -22
- package/dist/actions/apps/get_app_attestation.d.ts +43 -33
- package/dist/actions/apps/get_app_device_allowlist.d.ts +51 -50
- package/dist/actions/apps/get_app_list.d.ts +2 -2
- package/dist/actions/cvms/check_cvm_is_allowed.d.ts +40 -102
- package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +12 -12
- package/dist/actions/cvms/commit_cvm_provision.d.ts +11 -135
- package/dist/actions/cvms/commit_cvm_update.d.ts +2 -2
- package/dist/actions/cvms/confirm_cvm_patch.d.ts +2 -2
- package/dist/actions/cvms/delete_cvm.d.ts +2 -2
- package/dist/actions/cvms/get_available_os_images.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_attestation.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +166 -22
- package/dist/actions/cvms/get_cvm_containers_stats.d.ts +10 -10
- package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_info.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_list.d.ts +8 -10
- package/dist/actions/cvms/get_cvm_network.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_state.d.ts +6 -6
- package/dist/actions/cvms/get_cvm_stats.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_status_batch.d.ts +253 -30
- package/dist/actions/cvms/get_cvm_user_config.d.ts +2 -2
- package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +2 -2
- package/dist/actions/cvms/patch_cvm.d.ts +34 -18
- package/dist/actions/cvms/provision_cvm.d.ts +900 -51
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +253 -43
- package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +27 -58
- package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +120 -165
- package/dist/actions/cvms/replicate_cvm.d.ts +7 -72
- package/dist/actions/cvms/restart_cvm.d.ts +7 -72
- package/dist/actions/cvms/shutdown_cvm.d.ts +9 -72
- package/dist/actions/cvms/start_cvm.d.ts +7 -72
- package/dist/actions/cvms/stop_cvm.d.ts +7 -72
- package/dist/actions/cvms/update_cvm_envs.d.ts +36 -20
- package/dist/actions/cvms/update_cvm_resources.d.ts +26 -4
- package/dist/actions/cvms/update_cvm_visibility.d.ts +26 -24
- package/dist/actions/cvms/update_docker_compose.d.ts +51 -20
- package/dist/actions/cvms/update_os_image.d.ts +2 -2
- package/dist/actions/cvms/update_prelaunch_script.d.ts +51 -20
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +36 -20
- package/dist/actions/get_available_nodes.d.ts +259 -0
- package/dist/actions/get_cvm_create_resources.d.ts +351 -0
- package/dist/actions/index.d.ts +6 -2
- package/dist/actions/kms/get_kms_contract.d.ts +59 -0
- package/dist/actions/kms/get_kms_list.d.ts +25 -10
- package/dist/actions/kms/get_kms_onchain_detail.d.ts +54 -0
- package/dist/actions/kms/list_kms_contract_nodes.d.ts +98 -0
- package/dist/actions/kms/list_kms_contracts.d.ts +152 -0
- package/dist/actions/kms/next_app_ids.d.ts +6 -6
- package/dist/actions/list-instance-types.d.ts +12 -12
- package/dist/actions/ssh_keys/create_ssh_key.d.ts +2 -2
- package/dist/actions/ssh_keys/list_ssh_keys.d.ts +4 -4
- package/dist/actions/workspaces/get_workspace.d.ts +4 -0
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +175 -14
- package/dist/actions/workspaces/list_workspaces.d.ts +126 -0
- package/dist/client.d.ts +4 -1
- package/dist/create-client.d.ts +48 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1779 -1250
- package/dist/index.mjs +1704 -1194
- package/dist/types/app_compose.d.ts +50 -5
- package/dist/types/app_info_v20251028.d.ts +172 -128
- package/dist/types/app_info_v20260121.d.ts +2814 -490
- package/dist/types/app_revision.d.ts +8 -8
- package/dist/types/client.d.ts +2 -2
- package/dist/types/cvm_id.d.ts +6 -6
- package/dist/types/cvm_info.d.ts +98 -98
- package/dist/types/cvm_info_v20251028.d.ts +70 -47
- package/dist/types/cvm_info_v20260121.d.ts +1125 -148
- package/dist/types/kms_contract.d.ts +64 -0
- package/dist/types/kms_info.d.ts +8 -0
- package/dist/types/version-mappings.d.ts +43 -6
- package/dist/utils/error_codes.d.ts +1 -0
- package/dist/utils/errors.d.ts +30 -1
- package/dist/utils/get_compose_hash.d.ts +24 -0
- package/dist/utils/get_mr_config_id.d.ts +55 -0
- package/dist/utils/index.d.ts +3 -2
- package/package.json +3 -3
|
@@ -259,6 +259,19 @@ export declare const CvmCreateResourceGraphV20260121Schema: z.ZodObject<{
|
|
|
259
259
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
260
260
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
261
261
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
262
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
263
|
+
device_id: z.ZodString;
|
|
264
|
+
algorithm_version: z.ZodString;
|
|
265
|
+
enabled: z.ZodBoolean;
|
|
266
|
+
}, "strip", z.ZodTypeAny, {
|
|
267
|
+
device_id: string;
|
|
268
|
+
algorithm_version: string;
|
|
269
|
+
enabled: boolean;
|
|
270
|
+
}, {
|
|
271
|
+
device_id: string;
|
|
272
|
+
algorithm_version: string;
|
|
273
|
+
enabled: boolean;
|
|
274
|
+
}>, "many">>;
|
|
262
275
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
263
276
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
264
277
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -289,6 +302,19 @@ export declare const CvmCreateResourceGraphV20260121Schema: z.ZodObject<{
|
|
|
289
302
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
290
303
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
291
304
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
305
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
306
|
+
device_id: z.ZodString;
|
|
307
|
+
algorithm_version: z.ZodString;
|
|
308
|
+
enabled: z.ZodBoolean;
|
|
309
|
+
}, "strip", z.ZodTypeAny, {
|
|
310
|
+
device_id: string;
|
|
311
|
+
algorithm_version: string;
|
|
312
|
+
enabled: boolean;
|
|
313
|
+
}, {
|
|
314
|
+
device_id: string;
|
|
315
|
+
algorithm_version: string;
|
|
316
|
+
enabled: boolean;
|
|
317
|
+
}>, "many">>;
|
|
292
318
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
293
319
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
294
320
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -319,6 +345,19 @@ export declare const CvmCreateResourceGraphV20260121Schema: z.ZodObject<{
|
|
|
319
345
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
320
346
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
321
347
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
348
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
349
|
+
device_id: z.ZodString;
|
|
350
|
+
algorithm_version: z.ZodString;
|
|
351
|
+
enabled: z.ZodBoolean;
|
|
352
|
+
}, "strip", z.ZodTypeAny, {
|
|
353
|
+
device_id: string;
|
|
354
|
+
algorithm_version: string;
|
|
355
|
+
enabled: boolean;
|
|
356
|
+
}, {
|
|
357
|
+
device_id: string;
|
|
358
|
+
algorithm_version: string;
|
|
359
|
+
enabled: boolean;
|
|
360
|
+
}>, "many">>;
|
|
322
361
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
323
362
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
324
363
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -493,6 +532,19 @@ export declare const CvmCreateResourceGraphV20260121Schema: z.ZodObject<{
|
|
|
493
532
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
494
533
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
495
534
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
535
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
536
|
+
device_id: z.ZodString;
|
|
537
|
+
algorithm_version: z.ZodString;
|
|
538
|
+
enabled: z.ZodBoolean;
|
|
539
|
+
}, "strip", z.ZodTypeAny, {
|
|
540
|
+
device_id: string;
|
|
541
|
+
algorithm_version: string;
|
|
542
|
+
enabled: boolean;
|
|
543
|
+
}, {
|
|
544
|
+
device_id: string;
|
|
545
|
+
algorithm_version: string;
|
|
546
|
+
enabled: boolean;
|
|
547
|
+
}>, "many">>;
|
|
496
548
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
497
549
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
498
550
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -523,6 +575,19 @@ export declare const CvmCreateResourceGraphV20260121Schema: z.ZodObject<{
|
|
|
523
575
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
524
576
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
525
577
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
578
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
579
|
+
device_id: z.ZodString;
|
|
580
|
+
algorithm_version: z.ZodString;
|
|
581
|
+
enabled: z.ZodBoolean;
|
|
582
|
+
}, "strip", z.ZodTypeAny, {
|
|
583
|
+
device_id: string;
|
|
584
|
+
algorithm_version: string;
|
|
585
|
+
enabled: boolean;
|
|
586
|
+
}, {
|
|
587
|
+
device_id: string;
|
|
588
|
+
algorithm_version: string;
|
|
589
|
+
enabled: boolean;
|
|
590
|
+
}>, "many">>;
|
|
526
591
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
527
592
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
528
593
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -553,6 +618,19 @@ export declare const CvmCreateResourceGraphV20260121Schema: z.ZodObject<{
|
|
|
553
618
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
554
619
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
555
620
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
621
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
622
|
+
device_id: z.ZodString;
|
|
623
|
+
algorithm_version: z.ZodString;
|
|
624
|
+
enabled: z.ZodBoolean;
|
|
625
|
+
}, "strip", z.ZodTypeAny, {
|
|
626
|
+
device_id: string;
|
|
627
|
+
algorithm_version: string;
|
|
628
|
+
enabled: boolean;
|
|
629
|
+
}, {
|
|
630
|
+
device_id: string;
|
|
631
|
+
algorithm_version: string;
|
|
632
|
+
enabled: boolean;
|
|
633
|
+
}>, "many">>;
|
|
556
634
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
557
635
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
558
636
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -727,6 +805,19 @@ export declare const CvmCreateResourceGraphV20260121Schema: z.ZodObject<{
|
|
|
727
805
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
728
806
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
729
807
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
808
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
809
|
+
device_id: z.ZodString;
|
|
810
|
+
algorithm_version: z.ZodString;
|
|
811
|
+
enabled: z.ZodBoolean;
|
|
812
|
+
}, "strip", z.ZodTypeAny, {
|
|
813
|
+
device_id: string;
|
|
814
|
+
algorithm_version: string;
|
|
815
|
+
enabled: boolean;
|
|
816
|
+
}, {
|
|
817
|
+
device_id: string;
|
|
818
|
+
algorithm_version: string;
|
|
819
|
+
enabled: boolean;
|
|
820
|
+
}>, "many">>;
|
|
730
821
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
731
822
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
732
823
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -757,6 +848,19 @@ export declare const CvmCreateResourceGraphV20260121Schema: z.ZodObject<{
|
|
|
757
848
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
758
849
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
759
850
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
851
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
852
|
+
device_id: z.ZodString;
|
|
853
|
+
algorithm_version: z.ZodString;
|
|
854
|
+
enabled: z.ZodBoolean;
|
|
855
|
+
}, "strip", z.ZodTypeAny, {
|
|
856
|
+
device_id: string;
|
|
857
|
+
algorithm_version: string;
|
|
858
|
+
enabled: boolean;
|
|
859
|
+
}, {
|
|
860
|
+
device_id: string;
|
|
861
|
+
algorithm_version: string;
|
|
862
|
+
enabled: boolean;
|
|
863
|
+
}>, "many">>;
|
|
760
864
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
761
865
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
762
866
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -787,6 +891,19 @@ export declare const CvmCreateResourceGraphV20260121Schema: z.ZodObject<{
|
|
|
787
891
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
788
892
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
789
893
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
894
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
895
|
+
device_id: z.ZodString;
|
|
896
|
+
algorithm_version: z.ZodString;
|
|
897
|
+
enabled: z.ZodBoolean;
|
|
898
|
+
}, "strip", z.ZodTypeAny, {
|
|
899
|
+
device_id: string;
|
|
900
|
+
algorithm_version: string;
|
|
901
|
+
enabled: boolean;
|
|
902
|
+
}, {
|
|
903
|
+
device_id: string;
|
|
904
|
+
algorithm_version: string;
|
|
905
|
+
enabled: boolean;
|
|
906
|
+
}>, "many">>;
|
|
790
907
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
791
908
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
792
909
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -962,6 +1079,19 @@ export declare const CvmCreateResourceGraphV20260522Schema: z.ZodObject<{
|
|
|
962
1079
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
963
1080
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
964
1081
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1082
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1083
|
+
device_id: z.ZodString;
|
|
1084
|
+
algorithm_version: z.ZodString;
|
|
1085
|
+
enabled: z.ZodBoolean;
|
|
1086
|
+
}, "strip", z.ZodTypeAny, {
|
|
1087
|
+
device_id: string;
|
|
1088
|
+
algorithm_version: string;
|
|
1089
|
+
enabled: boolean;
|
|
1090
|
+
}, {
|
|
1091
|
+
device_id: string;
|
|
1092
|
+
algorithm_version: string;
|
|
1093
|
+
enabled: boolean;
|
|
1094
|
+
}>, "many">>;
|
|
965
1095
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
966
1096
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
967
1097
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -992,6 +1122,19 @@ export declare const CvmCreateResourceGraphV20260522Schema: z.ZodObject<{
|
|
|
992
1122
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
993
1123
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
994
1124
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1125
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1126
|
+
device_id: z.ZodString;
|
|
1127
|
+
algorithm_version: z.ZodString;
|
|
1128
|
+
enabled: z.ZodBoolean;
|
|
1129
|
+
}, "strip", z.ZodTypeAny, {
|
|
1130
|
+
device_id: string;
|
|
1131
|
+
algorithm_version: string;
|
|
1132
|
+
enabled: boolean;
|
|
1133
|
+
}, {
|
|
1134
|
+
device_id: string;
|
|
1135
|
+
algorithm_version: string;
|
|
1136
|
+
enabled: boolean;
|
|
1137
|
+
}>, "many">>;
|
|
995
1138
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
996
1139
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
997
1140
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1022,6 +1165,19 @@ export declare const CvmCreateResourceGraphV20260522Schema: z.ZodObject<{
|
|
|
1022
1165
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
1023
1166
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1024
1167
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1168
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1169
|
+
device_id: z.ZodString;
|
|
1170
|
+
algorithm_version: z.ZodString;
|
|
1171
|
+
enabled: z.ZodBoolean;
|
|
1172
|
+
}, "strip", z.ZodTypeAny, {
|
|
1173
|
+
device_id: string;
|
|
1174
|
+
algorithm_version: string;
|
|
1175
|
+
enabled: boolean;
|
|
1176
|
+
}, {
|
|
1177
|
+
device_id: string;
|
|
1178
|
+
algorithm_version: string;
|
|
1179
|
+
enabled: boolean;
|
|
1180
|
+
}>, "many">>;
|
|
1025
1181
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1026
1182
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1027
1183
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1206,6 +1362,19 @@ export declare const CvmCreateResourceGraphV20260522Schema: z.ZodObject<{
|
|
|
1206
1362
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
1207
1363
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1208
1364
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1365
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1366
|
+
device_id: z.ZodString;
|
|
1367
|
+
algorithm_version: z.ZodString;
|
|
1368
|
+
enabled: z.ZodBoolean;
|
|
1369
|
+
}, "strip", z.ZodTypeAny, {
|
|
1370
|
+
device_id: string;
|
|
1371
|
+
algorithm_version: string;
|
|
1372
|
+
enabled: boolean;
|
|
1373
|
+
}, {
|
|
1374
|
+
device_id: string;
|
|
1375
|
+
algorithm_version: string;
|
|
1376
|
+
enabled: boolean;
|
|
1377
|
+
}>, "many">>;
|
|
1209
1378
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1210
1379
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1211
1380
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1236,6 +1405,19 @@ export declare const CvmCreateResourceGraphV20260522Schema: z.ZodObject<{
|
|
|
1236
1405
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
1237
1406
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1238
1407
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1408
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1409
|
+
device_id: z.ZodString;
|
|
1410
|
+
algorithm_version: z.ZodString;
|
|
1411
|
+
enabled: z.ZodBoolean;
|
|
1412
|
+
}, "strip", z.ZodTypeAny, {
|
|
1413
|
+
device_id: string;
|
|
1414
|
+
algorithm_version: string;
|
|
1415
|
+
enabled: boolean;
|
|
1416
|
+
}, {
|
|
1417
|
+
device_id: string;
|
|
1418
|
+
algorithm_version: string;
|
|
1419
|
+
enabled: boolean;
|
|
1420
|
+
}>, "many">>;
|
|
1239
1421
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1240
1422
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1241
1423
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1266,6 +1448,19 @@ export declare const CvmCreateResourceGraphV20260522Schema: z.ZodObject<{
|
|
|
1266
1448
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
1267
1449
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1268
1450
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1451
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1452
|
+
device_id: z.ZodString;
|
|
1453
|
+
algorithm_version: z.ZodString;
|
|
1454
|
+
enabled: z.ZodBoolean;
|
|
1455
|
+
}, "strip", z.ZodTypeAny, {
|
|
1456
|
+
device_id: string;
|
|
1457
|
+
algorithm_version: string;
|
|
1458
|
+
enabled: boolean;
|
|
1459
|
+
}, {
|
|
1460
|
+
device_id: string;
|
|
1461
|
+
algorithm_version: string;
|
|
1462
|
+
enabled: boolean;
|
|
1463
|
+
}>, "many">>;
|
|
1269
1464
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1270
1465
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1271
1466
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1450,6 +1645,19 @@ export declare const CvmCreateResourceGraphV20260522Schema: z.ZodObject<{
|
|
|
1450
1645
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
1451
1646
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1452
1647
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1648
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1649
|
+
device_id: z.ZodString;
|
|
1650
|
+
algorithm_version: z.ZodString;
|
|
1651
|
+
enabled: z.ZodBoolean;
|
|
1652
|
+
}, "strip", z.ZodTypeAny, {
|
|
1653
|
+
device_id: string;
|
|
1654
|
+
algorithm_version: string;
|
|
1655
|
+
enabled: boolean;
|
|
1656
|
+
}, {
|
|
1657
|
+
device_id: string;
|
|
1658
|
+
algorithm_version: string;
|
|
1659
|
+
enabled: boolean;
|
|
1660
|
+
}>, "many">>;
|
|
1453
1661
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1454
1662
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1455
1663
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1480,6 +1688,19 @@ export declare const CvmCreateResourceGraphV20260522Schema: z.ZodObject<{
|
|
|
1480
1688
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
1481
1689
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1482
1690
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1691
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1692
|
+
device_id: z.ZodString;
|
|
1693
|
+
algorithm_version: z.ZodString;
|
|
1694
|
+
enabled: z.ZodBoolean;
|
|
1695
|
+
}, "strip", z.ZodTypeAny, {
|
|
1696
|
+
device_id: string;
|
|
1697
|
+
algorithm_version: string;
|
|
1698
|
+
enabled: boolean;
|
|
1699
|
+
}, {
|
|
1700
|
+
device_id: string;
|
|
1701
|
+
algorithm_version: string;
|
|
1702
|
+
enabled: boolean;
|
|
1703
|
+
}>, "many">>;
|
|
1483
1704
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1484
1705
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1485
1706
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1510,6 +1731,19 @@ export declare const CvmCreateResourceGraphV20260522Schema: z.ZodObject<{
|
|
|
1510
1731
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
1511
1732
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1512
1733
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1734
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1735
|
+
device_id: z.ZodString;
|
|
1736
|
+
algorithm_version: z.ZodString;
|
|
1737
|
+
enabled: z.ZodBoolean;
|
|
1738
|
+
}, "strip", z.ZodTypeAny, {
|
|
1739
|
+
device_id: string;
|
|
1740
|
+
algorithm_version: string;
|
|
1741
|
+
enabled: boolean;
|
|
1742
|
+
}, {
|
|
1743
|
+
device_id: string;
|
|
1744
|
+
algorithm_version: string;
|
|
1745
|
+
enabled: boolean;
|
|
1746
|
+
}>, "many">>;
|
|
1513
1747
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1514
1748
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1515
1749
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1695,6 +1929,19 @@ export declare const CvmCreateResourceGraphSchema: z.ZodObject<{
|
|
|
1695
1929
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
1696
1930
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1697
1931
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1932
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1933
|
+
device_id: z.ZodString;
|
|
1934
|
+
algorithm_version: z.ZodString;
|
|
1935
|
+
enabled: z.ZodBoolean;
|
|
1936
|
+
}, "strip", z.ZodTypeAny, {
|
|
1937
|
+
device_id: string;
|
|
1938
|
+
algorithm_version: string;
|
|
1939
|
+
enabled: boolean;
|
|
1940
|
+
}, {
|
|
1941
|
+
device_id: string;
|
|
1942
|
+
algorithm_version: string;
|
|
1943
|
+
enabled: boolean;
|
|
1944
|
+
}>, "many">>;
|
|
1698
1945
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1699
1946
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1700
1947
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1725,6 +1972,19 @@ export declare const CvmCreateResourceGraphSchema: z.ZodObject<{
|
|
|
1725
1972
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
1726
1973
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1727
1974
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1975
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1976
|
+
device_id: z.ZodString;
|
|
1977
|
+
algorithm_version: z.ZodString;
|
|
1978
|
+
enabled: z.ZodBoolean;
|
|
1979
|
+
}, "strip", z.ZodTypeAny, {
|
|
1980
|
+
device_id: string;
|
|
1981
|
+
algorithm_version: string;
|
|
1982
|
+
enabled: boolean;
|
|
1983
|
+
}, {
|
|
1984
|
+
device_id: string;
|
|
1985
|
+
algorithm_version: string;
|
|
1986
|
+
enabled: boolean;
|
|
1987
|
+
}>, "many">>;
|
|
1728
1988
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1729
1989
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1730
1990
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1755,6 +2015,19 @@ export declare const CvmCreateResourceGraphSchema: z.ZodObject<{
|
|
|
1755
2015
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
1756
2016
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1757
2017
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2018
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2019
|
+
device_id: z.ZodString;
|
|
2020
|
+
algorithm_version: z.ZodString;
|
|
2021
|
+
enabled: z.ZodBoolean;
|
|
2022
|
+
}, "strip", z.ZodTypeAny, {
|
|
2023
|
+
device_id: string;
|
|
2024
|
+
algorithm_version: string;
|
|
2025
|
+
enabled: boolean;
|
|
2026
|
+
}, {
|
|
2027
|
+
device_id: string;
|
|
2028
|
+
algorithm_version: string;
|
|
2029
|
+
enabled: boolean;
|
|
2030
|
+
}>, "many">>;
|
|
1758
2031
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1759
2032
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1760
2033
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1939,6 +2212,19 @@ export declare const CvmCreateResourceGraphSchema: z.ZodObject<{
|
|
|
1939
2212
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
1940
2213
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1941
2214
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2215
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2216
|
+
device_id: z.ZodString;
|
|
2217
|
+
algorithm_version: z.ZodString;
|
|
2218
|
+
enabled: z.ZodBoolean;
|
|
2219
|
+
}, "strip", z.ZodTypeAny, {
|
|
2220
|
+
device_id: string;
|
|
2221
|
+
algorithm_version: string;
|
|
2222
|
+
enabled: boolean;
|
|
2223
|
+
}, {
|
|
2224
|
+
device_id: string;
|
|
2225
|
+
algorithm_version: string;
|
|
2226
|
+
enabled: boolean;
|
|
2227
|
+
}>, "many">>;
|
|
1942
2228
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1943
2229
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1944
2230
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1969,6 +2255,19 @@ export declare const CvmCreateResourceGraphSchema: z.ZodObject<{
|
|
|
1969
2255
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
1970
2256
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1971
2257
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2258
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2259
|
+
device_id: z.ZodString;
|
|
2260
|
+
algorithm_version: z.ZodString;
|
|
2261
|
+
enabled: z.ZodBoolean;
|
|
2262
|
+
}, "strip", z.ZodTypeAny, {
|
|
2263
|
+
device_id: string;
|
|
2264
|
+
algorithm_version: string;
|
|
2265
|
+
enabled: boolean;
|
|
2266
|
+
}, {
|
|
2267
|
+
device_id: string;
|
|
2268
|
+
algorithm_version: string;
|
|
2269
|
+
enabled: boolean;
|
|
2270
|
+
}>, "many">>;
|
|
1972
2271
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1973
2272
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1974
2273
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1999,6 +2298,19 @@ export declare const CvmCreateResourceGraphSchema: z.ZodObject<{
|
|
|
1999
2298
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
2000
2299
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2001
2300
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2301
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2302
|
+
device_id: z.ZodString;
|
|
2303
|
+
algorithm_version: z.ZodString;
|
|
2304
|
+
enabled: z.ZodBoolean;
|
|
2305
|
+
}, "strip", z.ZodTypeAny, {
|
|
2306
|
+
device_id: string;
|
|
2307
|
+
algorithm_version: string;
|
|
2308
|
+
enabled: boolean;
|
|
2309
|
+
}, {
|
|
2310
|
+
device_id: string;
|
|
2311
|
+
algorithm_version: string;
|
|
2312
|
+
enabled: boolean;
|
|
2313
|
+
}>, "many">>;
|
|
2002
2314
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2003
2315
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2004
2316
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2183,6 +2495,19 @@ export declare const CvmCreateResourceGraphSchema: z.ZodObject<{
|
|
|
2183
2495
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
2184
2496
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2185
2497
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2498
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2499
|
+
device_id: z.ZodString;
|
|
2500
|
+
algorithm_version: z.ZodString;
|
|
2501
|
+
enabled: z.ZodBoolean;
|
|
2502
|
+
}, "strip", z.ZodTypeAny, {
|
|
2503
|
+
device_id: string;
|
|
2504
|
+
algorithm_version: string;
|
|
2505
|
+
enabled: boolean;
|
|
2506
|
+
}, {
|
|
2507
|
+
device_id: string;
|
|
2508
|
+
algorithm_version: string;
|
|
2509
|
+
enabled: boolean;
|
|
2510
|
+
}>, "many">>;
|
|
2186
2511
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2187
2512
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2188
2513
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2213,6 +2538,19 @@ export declare const CvmCreateResourceGraphSchema: z.ZodObject<{
|
|
|
2213
2538
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
2214
2539
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2215
2540
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2541
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2542
|
+
device_id: z.ZodString;
|
|
2543
|
+
algorithm_version: z.ZodString;
|
|
2544
|
+
enabled: z.ZodBoolean;
|
|
2545
|
+
}, "strip", z.ZodTypeAny, {
|
|
2546
|
+
device_id: string;
|
|
2547
|
+
algorithm_version: string;
|
|
2548
|
+
enabled: boolean;
|
|
2549
|
+
}, {
|
|
2550
|
+
device_id: string;
|
|
2551
|
+
algorithm_version: string;
|
|
2552
|
+
enabled: boolean;
|
|
2553
|
+
}>, "many">>;
|
|
2216
2554
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2217
2555
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2218
2556
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2243,6 +2581,19 @@ export declare const CvmCreateResourceGraphSchema: z.ZodObject<{
|
|
|
2243
2581
|
support_onchain_kms: z.ZodOptional<z.ZodBoolean>;
|
|
2244
2582
|
fmspc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2245
2583
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2584
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2585
|
+
device_id: z.ZodString;
|
|
2586
|
+
algorithm_version: z.ZodString;
|
|
2587
|
+
enabled: z.ZodBoolean;
|
|
2588
|
+
}, "strip", z.ZodTypeAny, {
|
|
2589
|
+
device_id: string;
|
|
2590
|
+
algorithm_version: string;
|
|
2591
|
+
enabled: boolean;
|
|
2592
|
+
}, {
|
|
2593
|
+
device_id: string;
|
|
2594
|
+
algorithm_version: string;
|
|
2595
|
+
enabled: boolean;
|
|
2596
|
+
}>, "many">>;
|
|
2246
2597
|
region_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2247
2598
|
default_kms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2248
2599
|
kms_list: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
package/dist/actions/index.d.ts
CHANGED
|
@@ -22,6 +22,10 @@ export { getCvmInfo, safeGetCvmInfo, GetCvmInfoRequestSchema, type GetCvmInfoReq
|
|
|
22
22
|
export { getCvmList, safeGetCvmList, GetCvmListRequestSchema, type GetCvmListRequest, } from "./cvms/get_cvm_list";
|
|
23
23
|
export { getKmsInfo, safeGetKmsInfo, GetKmsInfoRequestSchema, type GetKmsInfoRequest, } from "./kms/get_kms_info";
|
|
24
24
|
export { getKmsList, safeGetKmsList, GetKmsListSchema, GetKmsListRequestSchema, type GetKmsListRequest, type GetKmsListResponse, } from "./kms/get_kms_list";
|
|
25
|
+
export { listKmsContracts, safeListKmsContracts, ListKmsContractsSchema, ListKmsContractsRequestSchema, type ListKmsContractsRequest, type ListKmsContractsResponse, } from "./kms/list_kms_contracts";
|
|
26
|
+
export { getKmsContract, safeGetKmsContract, GetKmsContractRequestSchema, type GetKmsContractRequest, type GetKmsContract, } from "./kms/get_kms_contract";
|
|
27
|
+
export { listKmsContractNodes, safeListKmsContractNodes, ListKmsContractNodesSchema, ListKmsContractNodesRequestSchema, type ListKmsContractNodesRequest, type ListKmsContractNodesResponse, } from "./kms/list_kms_contract_nodes";
|
|
28
|
+
export { KmsContractInfoSchema, KmsContractNodeSchema, type KmsContractInfo, type KmsContractNode, } from "../types/kms_contract";
|
|
25
29
|
export { getKmsOnChainDetail, safeGetKmsOnChainDetail, GetKmsOnChainDetailResponseSchema, GetKmsOnChainDetailRequestSchema, OnChainKmsContractSchema, OnChainDeviceSchema, OnChainOsImageSchema, type GetKmsOnChainDetailResponse, type GetKmsOnChainDetailRequest, type OnChainKmsContract, type OnChainDevice, type OnChainOsImage, } from "./kms/get_kms_onchain_detail";
|
|
26
30
|
export { nextAppIds, safeNextAppIds, NextAppIdsSchema, NextAppIdsRequestSchema, type NextAppIdsRequest, type NextAppIds, } from "./kms/next_app_ids";
|
|
27
31
|
export { listWorkspaces, safeListWorkspaces, WorkspaceResponseSchema, ListWorkspacesSchema, PaginationMetadataSchema, type WorkspaceResponse, type ListWorkspaces, type PaginationMetadata, type ListWorkspacesRequest, } from "./workspaces/list_workspaces";
|
|
@@ -45,7 +49,7 @@ export { getCvmDockerCompose, safeGetCvmDockerCompose, GetCvmDockerComposeReques
|
|
|
45
49
|
export { patchCvm, safePatchCvm, PatchCvmRequestSchema, PatchCvmResultSchema, type PatchCvmRequest, type PatchCvmResult, type PatchCvmAccepted, type PatchCvmHashRequired, } from "./cvms/patch_cvm";
|
|
46
50
|
export { confirmCvmPatch, safeConfirmCvmPatch, ConfirmCvmPatchRequestSchema, type ConfirmCvmPatchRequest, type ConfirmCvmPatchResult, } from "./cvms/confirm_cvm_patch";
|
|
47
51
|
export { commitCvmUpdate, safeCommitCvmUpdate, CommitCvmUpdateRequestSchema, type CommitCvmUpdateRequest, type CommitCvmUpdateResult, } from "./cvms/commit_cvm_update";
|
|
48
|
-
export { updateCvmResources, safeUpdateCvmResources, UpdateCvmResourcesRequestSchema, type UpdateCvmResourcesRequest, } from "./cvms/update_cvm_resources";
|
|
52
|
+
export { updateCvmResources, safeUpdateCvmResources, UpdateCvmResourcesRequestSchema, type UpdateCvmResourcesRequest, type UpdateCvmResourcesResponse, } from "./cvms/update_cvm_resources";
|
|
49
53
|
export { updateCvmVisibility, safeUpdateCvmVisibility, UpdateCvmVisibilityRequestSchema, type UpdateCvmVisibilityRequest, } from "./cvms/update_cvm_visibility";
|
|
50
54
|
export { refreshCvmInstanceId, safeRefreshCvmInstanceId, InstanceIdRefreshResultSchema, RefreshCvmInstanceIdRequestSchema, type InstanceIdRefreshResult, type RefreshCvmInstanceIdRequest, } from "./cvms/refresh_cvm_instance_id";
|
|
51
55
|
export { refreshCvmInstanceIds, safeRefreshCvmInstanceIds, RefreshCvmInstanceIdsRequestSchema, RefreshCvmInstanceIdsResponseSchema, type RefreshCvmInstanceIdsRequest, type RefreshCvmInstanceIdsResponse, } from "./cvms/refresh_cvm_instance_ids";
|
|
@@ -56,7 +60,7 @@ export { updatePreLaunchScript, safeUpdatePreLaunchScript, UpdatePreLaunchScript
|
|
|
56
60
|
export { getCvmPreLaunchScript, safeGetCvmPreLaunchScript, GetCvmPreLaunchScriptRequestSchema, type GetCvmPreLaunchScriptRequest, } from "./cvms/get_cvm_prelaunch_script";
|
|
57
61
|
export { getPreLaunchScriptUpgradeStatus, safeGetPreLaunchScriptUpgradeStatus, GetPreLaunchScriptUpgradeStatusRequestSchema, type GetPreLaunchScriptUpgradeStatusRequest, PreLaunchScriptUpgradeStatusSchema, type PreLaunchScriptUpgradeStatus, } from "./cvms/get_prelaunch_script_upgrade_status";
|
|
58
62
|
export { upgradePreLaunchScript, safeUpgradePreLaunchScript, UpgradePreLaunchScriptRequestSchema, type UpgradePreLaunchScriptRequest, UpgradePreLaunchScriptResultSchema, type UpgradePreLaunchScriptResult, type UpgradePreLaunchScriptInProgress, type UpgradePreLaunchScriptPreconditionRequired, } from "./cvms/upgrade_prelaunch_script";
|
|
59
|
-
export { getCvmStatusBatch, safeGetCvmStatusBatch, CvmStatusSchema, GetCvmStatusBatchResponseSchema, GetCvmStatusBatchRequestSchema, type CvmStatus, type GetCvmStatusBatchResponse, type GetCvmStatusBatchRequest, } from "./cvms/get_cvm_status_batch";
|
|
63
|
+
export { getCvmStatusBatch, safeGetCvmStatusBatch, CvmResourceUsageSchema, CvmStatusSchema, GetCvmStatusBatchResponseSchema, GetCvmStatusBatchRequestSchema, type CvmResourceUsage, type CvmStatus, type GetCvmStatusBatchResponse, type GetCvmStatusBatchRequest, } from "./cvms/get_cvm_status_batch";
|
|
60
64
|
export { getCvmUserConfig, safeGetCvmUserConfig, CvmUserConfigSchema, GetCvmUserConfigRequestSchema, type CvmUserConfig, type GetCvmUserConfigRequest, } from "./cvms/get_cvm_user_config";
|
|
61
65
|
export { listSshKeys, safeListSshKeys, SshKeySchema, ListSshKeysResponseSchema, type SshKey, type ListSshKeysResponse, } from "./ssh_keys/list_ssh_keys";
|
|
62
66
|
export { importGithubProfileSshKeys, safeImportGithubProfileSshKeys, ImportGithubProfileRequestSchema, ImportGithubProfileResponseSchema, type ImportGithubProfileRequest, type ImportGithubProfileResponse, } from "./ssh_keys/import_github_profile";
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { KmsContractInfoSchema } from "../../types/kms_contract";
|
|
3
|
+
export declare const GetKmsContractRequestSchema: z.ZodObject<{
|
|
4
|
+
slug: z.ZodString;
|
|
5
|
+
}, "strict", z.ZodTypeAny, {
|
|
6
|
+
slug: string;
|
|
7
|
+
}, {
|
|
8
|
+
slug: string;
|
|
9
|
+
}>;
|
|
10
|
+
export type GetKmsContractRequest = z.infer<typeof GetKmsContractRequestSchema>;
|
|
11
|
+
export type GetKmsContract = z.infer<typeof KmsContractInfoSchema>;
|
|
12
|
+
declare const getKmsContract: {
|
|
13
|
+
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
14
|
+
slug: string;
|
|
15
|
+
}): Promise<z.objectOutputType<{
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
18
|
+
label: z.ZodNullable<z.ZodString>;
|
|
19
|
+
contract_address: z.ZodString;
|
|
20
|
+
chain_id: z.ZodNumber;
|
|
21
|
+
k256_pubkey: z.ZodNullable<z.ZodString>;
|
|
22
|
+
ca_pubkey: z.ZodNullable<z.ZodString>;
|
|
23
|
+
node_count: z.ZodNumber;
|
|
24
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
25
|
+
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
26
|
+
slug: string;
|
|
27
|
+
}, parameters: {
|
|
28
|
+
schema: T;
|
|
29
|
+
}): Promise<z.TypeOf<T>>;
|
|
30
|
+
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
31
|
+
slug: string;
|
|
32
|
+
}, parameters: {
|
|
33
|
+
schema: false;
|
|
34
|
+
}): Promise<unknown>;
|
|
35
|
+
}, safeGetKmsContract: {
|
|
36
|
+
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
37
|
+
slug: string;
|
|
38
|
+
}): Promise<import("../..").SafeResult<z.objectOutputType<{
|
|
39
|
+
id: z.ZodString;
|
|
40
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
41
|
+
label: z.ZodNullable<z.ZodString>;
|
|
42
|
+
contract_address: z.ZodString;
|
|
43
|
+
chain_id: z.ZodNumber;
|
|
44
|
+
k256_pubkey: z.ZodNullable<z.ZodString>;
|
|
45
|
+
ca_pubkey: z.ZodNullable<z.ZodString>;
|
|
46
|
+
node_count: z.ZodNumber;
|
|
47
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
48
|
+
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
49
|
+
slug: string;
|
|
50
|
+
}, parameters: {
|
|
51
|
+
schema: T;
|
|
52
|
+
}): Promise<import("../..").SafeResult<z.TypeOf<T>>>;
|
|
53
|
+
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
54
|
+
slug: string;
|
|
55
|
+
}, parameters: {
|
|
56
|
+
schema: false;
|
|
57
|
+
}): Promise<import("../..").SafeResult<unknown>>;
|
|
58
|
+
};
|
|
59
|
+
export { getKmsContract, safeGetKmsContract };
|