@phala/cloud 0.6.3 → 0.6.5
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/cvms/get_cvm_info.d.ts +24 -8
- package/dist/actions/cvms/logs.d.ts +21 -10
- package/dist/actions/index.d.ts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/create-client.d.ts +6 -0
- package/dist/credentials/current_user_v20260121.d.ts +2 -2
- package/dist/index.js +1563 -1179
- package/dist/index.mjs +1559 -1179
- package/dist/types/app_info_v20260121.d.ts +48 -12
- package/dist/types/client.d.ts +3 -3
- package/dist/types/cvm_info_v20260121.d.ts +203 -7
- package/dist/types/version-mappings.d.ts +11 -11
- package/dist/version.d.ts +1 -0
- package/package.json +1 -1
|
@@ -54,8 +54,8 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
|
|
|
54
54
|
os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
}, z.core.$strip>>>;
|
|
56
56
|
kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
57
|
-
legacy: "legacy";
|
|
58
57
|
phala: "phala";
|
|
58
|
+
legacy: "legacy";
|
|
59
59
|
ethereum: "ethereum";
|
|
60
60
|
base: "base";
|
|
61
61
|
}>>>;
|
|
@@ -66,6 +66,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
|
|
|
66
66
|
deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
67
|
rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
68
|
encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
70
|
}, z.core.$strip>, z.ZodTransform<{
|
|
70
71
|
chain_id?: number | null | undefined;
|
|
71
72
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -73,6 +74,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
|
|
|
73
74
|
deployer_address?: string | null | undefined;
|
|
74
75
|
rpc_endpoint?: string | null | undefined;
|
|
75
76
|
encrypted_env_pubkey?: string | null | undefined;
|
|
77
|
+
k256_pubkey?: string | null | undefined;
|
|
76
78
|
}, {
|
|
77
79
|
chain_id?: number | null | undefined;
|
|
78
80
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -80,6 +82,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
|
|
|
80
82
|
deployer_address?: string | null | undefined;
|
|
81
83
|
rpc_endpoint?: string | null | undefined;
|
|
82
84
|
encrypted_env_pubkey?: string | null | undefined;
|
|
85
|
+
k256_pubkey?: string | null | undefined;
|
|
83
86
|
}>>>>;
|
|
84
87
|
status: z.ZodString;
|
|
85
88
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -197,8 +200,8 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
|
|
|
197
200
|
os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
201
|
}, z.core.$strip>>>;
|
|
199
202
|
kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
200
|
-
legacy: "legacy";
|
|
201
203
|
phala: "phala";
|
|
204
|
+
legacy: "legacy";
|
|
202
205
|
ethereum: "ethereum";
|
|
203
206
|
base: "base";
|
|
204
207
|
}>>>;
|
|
@@ -209,6 +212,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
|
|
|
209
212
|
deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
213
|
rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
211
214
|
encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
215
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
216
|
}, z.core.$strip>, z.ZodTransform<{
|
|
213
217
|
chain_id?: number | null | undefined;
|
|
214
218
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -216,6 +220,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
|
|
|
216
220
|
deployer_address?: string | null | undefined;
|
|
217
221
|
rpc_endpoint?: string | null | undefined;
|
|
218
222
|
encrypted_env_pubkey?: string | null | undefined;
|
|
223
|
+
k256_pubkey?: string | null | undefined;
|
|
219
224
|
}, {
|
|
220
225
|
chain_id?: number | null | undefined;
|
|
221
226
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -223,6 +228,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
|
|
|
223
228
|
deployer_address?: string | null | undefined;
|
|
224
229
|
rpc_endpoint?: string | null | undefined;
|
|
225
230
|
encrypted_env_pubkey?: string | null | undefined;
|
|
231
|
+
k256_pubkey?: string | null | undefined;
|
|
226
232
|
}>>>>;
|
|
227
233
|
status: z.ZodString;
|
|
228
234
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -357,8 +363,8 @@ export declare const DstackAppFullResponseV20260522Schema: z.ZodObject<{
|
|
|
357
363
|
os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
358
364
|
}, z.core.$strip>>>;
|
|
359
365
|
kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
360
|
-
legacy: "legacy";
|
|
361
366
|
phala: "phala";
|
|
367
|
+
legacy: "legacy";
|
|
362
368
|
ethereum: "ethereum";
|
|
363
369
|
base: "base";
|
|
364
370
|
}>>>;
|
|
@@ -369,6 +375,7 @@ export declare const DstackAppFullResponseV20260522Schema: z.ZodObject<{
|
|
|
369
375
|
deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
370
376
|
rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
371
377
|
encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
378
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
372
379
|
}, z.core.$strip>, z.ZodTransform<{
|
|
373
380
|
chain_id?: number | null | undefined;
|
|
374
381
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -376,6 +383,7 @@ export declare const DstackAppFullResponseV20260522Schema: z.ZodObject<{
|
|
|
376
383
|
deployer_address?: string | null | undefined;
|
|
377
384
|
rpc_endpoint?: string | null | undefined;
|
|
378
385
|
encrypted_env_pubkey?: string | null | undefined;
|
|
386
|
+
k256_pubkey?: string | null | undefined;
|
|
379
387
|
}, {
|
|
380
388
|
chain_id?: number | null | undefined;
|
|
381
389
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -383,6 +391,7 @@ export declare const DstackAppFullResponseV20260522Schema: z.ZodObject<{
|
|
|
383
391
|
deployer_address?: string | null | undefined;
|
|
384
392
|
rpc_endpoint?: string | null | undefined;
|
|
385
393
|
encrypted_env_pubkey?: string | null | undefined;
|
|
394
|
+
k256_pubkey?: string | null | undefined;
|
|
386
395
|
}>>>>;
|
|
387
396
|
status: z.ZodString;
|
|
388
397
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -500,8 +509,8 @@ export declare const DstackAppFullResponseV20260522Schema: z.ZodObject<{
|
|
|
500
509
|
os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
501
510
|
}, z.core.$strip>>>;
|
|
502
511
|
kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
503
|
-
legacy: "legacy";
|
|
504
512
|
phala: "phala";
|
|
513
|
+
legacy: "legacy";
|
|
505
514
|
ethereum: "ethereum";
|
|
506
515
|
base: "base";
|
|
507
516
|
}>>>;
|
|
@@ -512,6 +521,7 @@ export declare const DstackAppFullResponseV20260522Schema: z.ZodObject<{
|
|
|
512
521
|
deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
513
522
|
rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
514
523
|
encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
524
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
515
525
|
}, z.core.$strip>, z.ZodTransform<{
|
|
516
526
|
chain_id?: number | null | undefined;
|
|
517
527
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -519,6 +529,7 @@ export declare const DstackAppFullResponseV20260522Schema: z.ZodObject<{
|
|
|
519
529
|
deployer_address?: string | null | undefined;
|
|
520
530
|
rpc_endpoint?: string | null | undefined;
|
|
521
531
|
encrypted_env_pubkey?: string | null | undefined;
|
|
532
|
+
k256_pubkey?: string | null | undefined;
|
|
522
533
|
}, {
|
|
523
534
|
chain_id?: number | null | undefined;
|
|
524
535
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -526,6 +537,7 @@ export declare const DstackAppFullResponseV20260522Schema: z.ZodObject<{
|
|
|
526
537
|
deployer_address?: string | null | undefined;
|
|
527
538
|
rpc_endpoint?: string | null | undefined;
|
|
528
539
|
encrypted_env_pubkey?: string | null | undefined;
|
|
540
|
+
k256_pubkey?: string | null | undefined;
|
|
529
541
|
}>>>>;
|
|
530
542
|
status: z.ZodString;
|
|
531
543
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -660,8 +672,8 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodObject<{
|
|
|
660
672
|
os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
661
673
|
}, z.core.$strip>>>;
|
|
662
674
|
kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
663
|
-
legacy: "legacy";
|
|
664
675
|
phala: "phala";
|
|
676
|
+
legacy: "legacy";
|
|
665
677
|
ethereum: "ethereum";
|
|
666
678
|
base: "base";
|
|
667
679
|
}>>>;
|
|
@@ -672,6 +684,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodObject<{
|
|
|
672
684
|
deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
673
685
|
rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
674
686
|
encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
687
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
675
688
|
}, z.core.$strip>, z.ZodTransform<{
|
|
676
689
|
chain_id?: number | null | undefined;
|
|
677
690
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -679,6 +692,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodObject<{
|
|
|
679
692
|
deployer_address?: string | null | undefined;
|
|
680
693
|
rpc_endpoint?: string | null | undefined;
|
|
681
694
|
encrypted_env_pubkey?: string | null | undefined;
|
|
695
|
+
k256_pubkey?: string | null | undefined;
|
|
682
696
|
}, {
|
|
683
697
|
chain_id?: number | null | undefined;
|
|
684
698
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -686,6 +700,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodObject<{
|
|
|
686
700
|
deployer_address?: string | null | undefined;
|
|
687
701
|
rpc_endpoint?: string | null | undefined;
|
|
688
702
|
encrypted_env_pubkey?: string | null | undefined;
|
|
703
|
+
k256_pubkey?: string | null | undefined;
|
|
689
704
|
}>>>>;
|
|
690
705
|
status: z.ZodString;
|
|
691
706
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -803,8 +818,8 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodObject<{
|
|
|
803
818
|
os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
804
819
|
}, z.core.$strip>>>;
|
|
805
820
|
kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
806
|
-
legacy: "legacy";
|
|
807
821
|
phala: "phala";
|
|
822
|
+
legacy: "legacy";
|
|
808
823
|
ethereum: "ethereum";
|
|
809
824
|
base: "base";
|
|
810
825
|
}>>>;
|
|
@@ -815,6 +830,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodObject<{
|
|
|
815
830
|
deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
816
831
|
rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
817
832
|
encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
833
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
818
834
|
}, z.core.$strip>, z.ZodTransform<{
|
|
819
835
|
chain_id?: number | null | undefined;
|
|
820
836
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -822,6 +838,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodObject<{
|
|
|
822
838
|
deployer_address?: string | null | undefined;
|
|
823
839
|
rpc_endpoint?: string | null | undefined;
|
|
824
840
|
encrypted_env_pubkey?: string | null | undefined;
|
|
841
|
+
k256_pubkey?: string | null | undefined;
|
|
825
842
|
}, {
|
|
826
843
|
chain_id?: number | null | undefined;
|
|
827
844
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -829,6 +846,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodObject<{
|
|
|
829
846
|
deployer_address?: string | null | undefined;
|
|
830
847
|
rpc_endpoint?: string | null | undefined;
|
|
831
848
|
encrypted_env_pubkey?: string | null | undefined;
|
|
849
|
+
k256_pubkey?: string | null | undefined;
|
|
832
850
|
}>>>>;
|
|
833
851
|
status: z.ZodString;
|
|
834
852
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -963,8 +981,8 @@ export declare const DstackAppWithCvmResponseV20260522Schema: z.ZodObject<{
|
|
|
963
981
|
os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
964
982
|
}, z.core.$strip>>>;
|
|
965
983
|
kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
966
|
-
legacy: "legacy";
|
|
967
984
|
phala: "phala";
|
|
985
|
+
legacy: "legacy";
|
|
968
986
|
ethereum: "ethereum";
|
|
969
987
|
base: "base";
|
|
970
988
|
}>>>;
|
|
@@ -975,6 +993,7 @@ export declare const DstackAppWithCvmResponseV20260522Schema: z.ZodObject<{
|
|
|
975
993
|
deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
976
994
|
rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
977
995
|
encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
996
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
978
997
|
}, z.core.$strip>, z.ZodTransform<{
|
|
979
998
|
chain_id?: number | null | undefined;
|
|
980
999
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -982,6 +1001,7 @@ export declare const DstackAppWithCvmResponseV20260522Schema: z.ZodObject<{
|
|
|
982
1001
|
deployer_address?: string | null | undefined;
|
|
983
1002
|
rpc_endpoint?: string | null | undefined;
|
|
984
1003
|
encrypted_env_pubkey?: string | null | undefined;
|
|
1004
|
+
k256_pubkey?: string | null | undefined;
|
|
985
1005
|
}, {
|
|
986
1006
|
chain_id?: number | null | undefined;
|
|
987
1007
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -989,6 +1009,7 @@ export declare const DstackAppWithCvmResponseV20260522Schema: z.ZodObject<{
|
|
|
989
1009
|
deployer_address?: string | null | undefined;
|
|
990
1010
|
rpc_endpoint?: string | null | undefined;
|
|
991
1011
|
encrypted_env_pubkey?: string | null | undefined;
|
|
1012
|
+
k256_pubkey?: string | null | undefined;
|
|
992
1013
|
}>>>>;
|
|
993
1014
|
status: z.ZodString;
|
|
994
1015
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1106,8 +1127,8 @@ export declare const DstackAppWithCvmResponseV20260522Schema: z.ZodObject<{
|
|
|
1106
1127
|
os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1107
1128
|
}, z.core.$strip>>>;
|
|
1108
1129
|
kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1109
|
-
legacy: "legacy";
|
|
1110
1130
|
phala: "phala";
|
|
1131
|
+
legacy: "legacy";
|
|
1111
1132
|
ethereum: "ethereum";
|
|
1112
1133
|
base: "base";
|
|
1113
1134
|
}>>>;
|
|
@@ -1118,6 +1139,7 @@ export declare const DstackAppWithCvmResponseV20260522Schema: z.ZodObject<{
|
|
|
1118
1139
|
deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1119
1140
|
rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1120
1141
|
encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1142
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1121
1143
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1122
1144
|
chain_id?: number | null | undefined;
|
|
1123
1145
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -1125,6 +1147,7 @@ export declare const DstackAppWithCvmResponseV20260522Schema: z.ZodObject<{
|
|
|
1125
1147
|
deployer_address?: string | null | undefined;
|
|
1126
1148
|
rpc_endpoint?: string | null | undefined;
|
|
1127
1149
|
encrypted_env_pubkey?: string | null | undefined;
|
|
1150
|
+
k256_pubkey?: string | null | undefined;
|
|
1128
1151
|
}, {
|
|
1129
1152
|
chain_id?: number | null | undefined;
|
|
1130
1153
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -1132,6 +1155,7 @@ export declare const DstackAppWithCvmResponseV20260522Schema: z.ZodObject<{
|
|
|
1132
1155
|
deployer_address?: string | null | undefined;
|
|
1133
1156
|
rpc_endpoint?: string | null | undefined;
|
|
1134
1157
|
encrypted_env_pubkey?: string | null | undefined;
|
|
1158
|
+
k256_pubkey?: string | null | undefined;
|
|
1135
1159
|
}>>>>;
|
|
1136
1160
|
status: z.ZodString;
|
|
1137
1161
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1267,8 +1291,8 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
1267
1291
|
os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1268
1292
|
}, z.core.$strip>>>;
|
|
1269
1293
|
kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1270
|
-
legacy: "legacy";
|
|
1271
1294
|
phala: "phala";
|
|
1295
|
+
legacy: "legacy";
|
|
1272
1296
|
ethereum: "ethereum";
|
|
1273
1297
|
base: "base";
|
|
1274
1298
|
}>>>;
|
|
@@ -1279,6 +1303,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
1279
1303
|
deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1280
1304
|
rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1281
1305
|
encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1306
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1282
1307
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1283
1308
|
chain_id?: number | null | undefined;
|
|
1284
1309
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -1286,6 +1311,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
1286
1311
|
deployer_address?: string | null | undefined;
|
|
1287
1312
|
rpc_endpoint?: string | null | undefined;
|
|
1288
1313
|
encrypted_env_pubkey?: string | null | undefined;
|
|
1314
|
+
k256_pubkey?: string | null | undefined;
|
|
1289
1315
|
}, {
|
|
1290
1316
|
chain_id?: number | null | undefined;
|
|
1291
1317
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -1293,6 +1319,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
1293
1319
|
deployer_address?: string | null | undefined;
|
|
1294
1320
|
rpc_endpoint?: string | null | undefined;
|
|
1295
1321
|
encrypted_env_pubkey?: string | null | undefined;
|
|
1322
|
+
k256_pubkey?: string | null | undefined;
|
|
1296
1323
|
}>>>>;
|
|
1297
1324
|
status: z.ZodString;
|
|
1298
1325
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1410,8 +1437,8 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
1410
1437
|
os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1411
1438
|
}, z.core.$strip>>>;
|
|
1412
1439
|
kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1413
|
-
legacy: "legacy";
|
|
1414
1440
|
phala: "phala";
|
|
1441
|
+
legacy: "legacy";
|
|
1415
1442
|
ethereum: "ethereum";
|
|
1416
1443
|
base: "base";
|
|
1417
1444
|
}>>>;
|
|
@@ -1422,6 +1449,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
1422
1449
|
deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1423
1450
|
rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1424
1451
|
encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1452
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1425
1453
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1426
1454
|
chain_id?: number | null | undefined;
|
|
1427
1455
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -1429,6 +1457,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
1429
1457
|
deployer_address?: string | null | undefined;
|
|
1430
1458
|
rpc_endpoint?: string | null | undefined;
|
|
1431
1459
|
encrypted_env_pubkey?: string | null | undefined;
|
|
1460
|
+
k256_pubkey?: string | null | undefined;
|
|
1432
1461
|
}, {
|
|
1433
1462
|
chain_id?: number | null | undefined;
|
|
1434
1463
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -1436,6 +1465,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
1436
1465
|
deployer_address?: string | null | undefined;
|
|
1437
1466
|
rpc_endpoint?: string | null | undefined;
|
|
1438
1467
|
encrypted_env_pubkey?: string | null | undefined;
|
|
1468
|
+
k256_pubkey?: string | null | undefined;
|
|
1439
1469
|
}>>>>;
|
|
1440
1470
|
status: z.ZodString;
|
|
1441
1471
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1580,8 +1610,8 @@ export declare const DstackAppListResponseV20260522Schema: z.ZodObject<{
|
|
|
1580
1610
|
os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1581
1611
|
}, z.core.$strip>>>;
|
|
1582
1612
|
kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1583
|
-
legacy: "legacy";
|
|
1584
1613
|
phala: "phala";
|
|
1614
|
+
legacy: "legacy";
|
|
1585
1615
|
ethereum: "ethereum";
|
|
1586
1616
|
base: "base";
|
|
1587
1617
|
}>>>;
|
|
@@ -1592,6 +1622,7 @@ export declare const DstackAppListResponseV20260522Schema: z.ZodObject<{
|
|
|
1592
1622
|
deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1593
1623
|
rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1594
1624
|
encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1625
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1595
1626
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1596
1627
|
chain_id?: number | null | undefined;
|
|
1597
1628
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -1599,6 +1630,7 @@ export declare const DstackAppListResponseV20260522Schema: z.ZodObject<{
|
|
|
1599
1630
|
deployer_address?: string | null | undefined;
|
|
1600
1631
|
rpc_endpoint?: string | null | undefined;
|
|
1601
1632
|
encrypted_env_pubkey?: string | null | undefined;
|
|
1633
|
+
k256_pubkey?: string | null | undefined;
|
|
1602
1634
|
}, {
|
|
1603
1635
|
chain_id?: number | null | undefined;
|
|
1604
1636
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -1606,6 +1638,7 @@ export declare const DstackAppListResponseV20260522Schema: z.ZodObject<{
|
|
|
1606
1638
|
deployer_address?: string | null | undefined;
|
|
1607
1639
|
rpc_endpoint?: string | null | undefined;
|
|
1608
1640
|
encrypted_env_pubkey?: string | null | undefined;
|
|
1641
|
+
k256_pubkey?: string | null | undefined;
|
|
1609
1642
|
}>>>>;
|
|
1610
1643
|
status: z.ZodString;
|
|
1611
1644
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1723,8 +1756,8 @@ export declare const DstackAppListResponseV20260522Schema: z.ZodObject<{
|
|
|
1723
1756
|
os_image_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1724
1757
|
}, z.core.$strip>>>;
|
|
1725
1758
|
kms_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1726
|
-
legacy: "legacy";
|
|
1727
1759
|
phala: "phala";
|
|
1760
|
+
legacy: "legacy";
|
|
1728
1761
|
ethereum: "ethereum";
|
|
1729
1762
|
base: "base";
|
|
1730
1763
|
}>>>;
|
|
@@ -1735,6 +1768,7 @@ export declare const DstackAppListResponseV20260522Schema: z.ZodObject<{
|
|
|
1735
1768
|
deployer_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1736
1769
|
rpc_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1737
1770
|
encrypted_env_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1771
|
+
k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1738
1772
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1739
1773
|
chain_id?: number | null | undefined;
|
|
1740
1774
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -1742,6 +1776,7 @@ export declare const DstackAppListResponseV20260522Schema: z.ZodObject<{
|
|
|
1742
1776
|
deployer_address?: string | null | undefined;
|
|
1743
1777
|
rpc_endpoint?: string | null | undefined;
|
|
1744
1778
|
encrypted_env_pubkey?: string | null | undefined;
|
|
1779
|
+
k256_pubkey?: string | null | undefined;
|
|
1745
1780
|
}, {
|
|
1746
1781
|
chain_id?: number | null | undefined;
|
|
1747
1782
|
dstack_kms_address?: string | null | undefined;
|
|
@@ -1749,6 +1784,7 @@ export declare const DstackAppListResponseV20260522Schema: z.ZodObject<{
|
|
|
1749
1784
|
deployer_address?: string | null | undefined;
|
|
1750
1785
|
rpc_endpoint?: string | null | undefined;
|
|
1751
1786
|
encrypted_env_pubkey?: string | null | undefined;
|
|
1787
|
+
k256_pubkey?: string | null | undefined;
|
|
1752
1788
|
}>>>>;
|
|
1753
1789
|
status: z.ZodString;
|
|
1754
1790
|
in_progress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
package/dist/types/client.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import type { FetchOptions, FetchRequest } from "ofetch";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import type { PhalaCloudError } from "../utils/errors";
|
|
4
4
|
/**
|
|
5
5
|
* Supported API versions
|
|
6
6
|
*/
|
|
7
|
-
export type ApiVersion = "2025-10-28" | "2026-01-21" | "2026-05-22" | "2026-06-23";
|
|
7
|
+
export type ApiVersion = "2025-10-28" | "2026-01-21" | "2026-05-22" | "2026-06-23" | "2026-11-11";
|
|
8
8
|
/**
|
|
9
9
|
* Default API version (latest stable)
|
|
10
10
|
*/
|
|
11
|
-
export type DefaultApiVersion = "2026-
|
|
11
|
+
export type DefaultApiVersion = "2026-11-11";
|
|
12
12
|
/**
|
|
13
13
|
* Full HTTP response including status, headers, and parsed body
|
|
14
14
|
*/
|