@phala/cloud 0.2.4 → 0.2.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.
Files changed (32) hide show
  1. package/dist/actions/apps/get_app_attestation.d.ts +963 -0
  2. package/dist/actions/apps/get_app_device_allowlist.d.ts +108 -0
  3. package/dist/actions/blockchains/abi/dstack_app.d.ts +101 -0
  4. package/dist/actions/blockchains/add_device.d.ts +62 -0
  5. package/dist/actions/blockchains/check_device_allowed.d.ts +44 -0
  6. package/dist/actions/blockchains/get_allowed_devices.d.ts +65 -0
  7. package/dist/actions/blockchains/remove_device.d.ts +62 -0
  8. package/dist/actions/blockchains/set_allow_any_device.d.ts +62 -0
  9. package/dist/actions/cvms/get_cvm_attestation.d.ts +220 -0
  10. package/dist/actions/cvms/get_cvm_compose_file.d.ts +16 -0
  11. package/dist/actions/cvms/provision_cvm.d.ts +26 -1
  12. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +18 -0
  13. package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +93 -0
  14. package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +194 -0
  15. package/dist/actions/cvms/replicate_cvm.d.ts +126 -0
  16. package/dist/actions/cvms/restart_cvm.d.ts +2 -2
  17. package/dist/actions/cvms/shutdown_cvm.d.ts +2 -2
  18. package/dist/actions/cvms/start_cvm.d.ts +2 -2
  19. package/dist/actions/cvms/stop_cvm.d.ts +2 -2
  20. package/dist/actions/index.d.ts +14 -1
  21. package/dist/actions/kms/get_kms_onchain_detail.d.ts +688 -0
  22. package/dist/actions/os_images/get_os_images.d.ts +217 -0
  23. package/dist/actions/workspaces/get_workspace.d.ts +2 -0
  24. package/dist/actions/workspaces/list_workspaces.d.ts +18 -0
  25. package/dist/create-client.d.ts +30 -0
  26. package/dist/index.js +1269 -251
  27. package/dist/index.mjs +1233 -251
  28. package/dist/types/app_compose.d.ts +5 -0
  29. package/dist/types/app_info_v20260121.d.ts +68 -0
  30. package/dist/types/cvm_info.d.ts +3 -3
  31. package/dist/types/cvm_info_v20260121.d.ts +22 -0
  32. package/package.json +1 -1
@@ -16,6 +16,7 @@ export declare const LooseAppComposeSchema: z.ZodEffects<z.ZodObject<{
16
16
  public_logs: z.ZodOptional<z.ZodBoolean>;
17
17
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
18
18
  tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
19
+ storage_fs: z.ZodOptional<z.ZodEnum<["ext4", "zfs"]>>;
19
20
  pre_launch_script: z.ZodOptional<z.ZodString>;
20
21
  env_pubkey: z.ZodOptional<z.ZodString>;
21
22
  salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -29,6 +30,7 @@ export declare const LooseAppComposeSchema: z.ZodEffects<z.ZodObject<{
29
30
  public_logs: z.ZodOptional<z.ZodBoolean>;
30
31
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
31
32
  tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
33
+ storage_fs: z.ZodOptional<z.ZodEnum<["ext4", "zfs"]>>;
32
34
  pre_launch_script: z.ZodOptional<z.ZodString>;
33
35
  env_pubkey: z.ZodOptional<z.ZodString>;
34
36
  salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -42,6 +44,7 @@ export declare const LooseAppComposeSchema: z.ZodEffects<z.ZodObject<{
42
44
  public_logs: z.ZodOptional<z.ZodBoolean>;
43
45
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
44
46
  tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
47
+ storage_fs: z.ZodOptional<z.ZodEnum<["ext4", "zfs"]>>;
45
48
  pre_launch_script: z.ZodOptional<z.ZodString>;
46
49
  env_pubkey: z.ZodOptional<z.ZodString>;
47
50
  salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -55,6 +58,7 @@ export declare const LooseAppComposeSchema: z.ZodEffects<z.ZodObject<{
55
58
  public_logs: z.ZodOptional<z.ZodBoolean>;
56
59
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
57
60
  tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
61
+ storage_fs: z.ZodOptional<z.ZodEnum<["ext4", "zfs"]>>;
58
62
  pre_launch_script: z.ZodOptional<z.ZodString>;
59
63
  env_pubkey: z.ZodOptional<z.ZodString>;
60
64
  salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -68,6 +72,7 @@ export declare const LooseAppComposeSchema: z.ZodEffects<z.ZodObject<{
68
72
  public_logs: z.ZodOptional<z.ZodBoolean>;
69
73
  public_sysinfo: z.ZodOptional<z.ZodBoolean>;
70
74
  tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
75
+ storage_fs: z.ZodOptional<z.ZodEnum<["ext4", "zfs"]>>;
71
76
  pre_launch_script: z.ZodOptional<z.ZodString>;
72
77
  env_pubkey: z.ZodOptional<z.ZodString>;
73
78
  salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -28,6 +28,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
28
28
  name: z.ZodString;
29
29
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
32
  resource: z.ZodObject<{
32
33
  instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
34
  vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -161,6 +162,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
161
162
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
162
163
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
163
164
  secure_time: z.ZodOptional<z.ZodBoolean>;
165
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
164
166
  storage_fs: z.ZodOptional<z.ZodString>;
165
167
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
166
168
  object_type: z.ZodLiteral<"workspace">;
@@ -201,6 +203,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
201
203
  status: string;
202
204
  name: string;
203
205
  id: string;
206
+ listed: boolean;
204
207
  resource: {
205
208
  vcpu?: number | null | undefined;
206
209
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -223,6 +226,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
223
226
  avatar_url?: string | null | undefined;
224
227
  } | null | undefined;
225
228
  app_id?: string | null | undefined;
229
+ instance_id?: string | null | undefined;
226
230
  kms_info?: {
227
231
  chain_id?: number | null | undefined;
228
232
  encrypted_env_pubkey?: string | null | undefined;
@@ -296,6 +300,8 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
296
300
  avatar_url?: string | null | undefined;
297
301
  } | null | undefined;
298
302
  app_id?: string | null | undefined;
303
+ instance_id?: string | null | undefined;
304
+ listed?: boolean | undefined;
299
305
  kms_info?: {
300
306
  chain_id?: number | null | undefined;
301
307
  encrypted_env_pubkey?: string | null | undefined;
@@ -351,6 +357,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
351
357
  name: z.ZodString;
352
358
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
353
359
  vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
360
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
354
361
  resource: z.ZodObject<{
355
362
  instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
356
363
  vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -484,6 +491,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
484
491
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
485
492
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
486
493
  secure_time: z.ZodOptional<z.ZodBoolean>;
494
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
487
495
  storage_fs: z.ZodOptional<z.ZodString>;
488
496
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
489
497
  object_type: z.ZodLiteral<"workspace">;
@@ -524,6 +532,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
524
532
  status: string;
525
533
  name: string;
526
534
  id: string;
535
+ listed: boolean;
527
536
  resource: {
528
537
  vcpu?: number | null | undefined;
529
538
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -546,6 +555,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
546
555
  avatar_url?: string | null | undefined;
547
556
  } | null | undefined;
548
557
  app_id?: string | null | undefined;
558
+ instance_id?: string | null | undefined;
549
559
  kms_info?: {
550
560
  chain_id?: number | null | undefined;
551
561
  encrypted_env_pubkey?: string | null | undefined;
@@ -619,6 +629,8 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
619
629
  avatar_url?: string | null | undefined;
620
630
  } | null | undefined;
621
631
  app_id?: string | null | undefined;
632
+ instance_id?: string | null | undefined;
633
+ listed?: boolean | undefined;
622
634
  kms_info?: {
623
635
  chain_id?: number | null | undefined;
624
636
  encrypted_env_pubkey?: string | null | undefined;
@@ -680,6 +692,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
680
692
  status: string;
681
693
  name: string;
682
694
  id: string;
695
+ listed: boolean;
683
696
  resource: {
684
697
  vcpu?: number | null | undefined;
685
698
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -702,6 +715,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
702
715
  avatar_url?: string | null | undefined;
703
716
  } | null | undefined;
704
717
  app_id?: string | null | undefined;
718
+ instance_id?: string | null | undefined;
705
719
  kms_info?: {
706
720
  chain_id?: number | null | undefined;
707
721
  encrypted_env_pubkey?: string | null | undefined;
@@ -764,6 +778,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
764
778
  status: string;
765
779
  name: string;
766
780
  id: string;
781
+ listed: boolean;
767
782
  resource: {
768
783
  vcpu?: number | null | undefined;
769
784
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -786,6 +801,7 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
786
801
  avatar_url?: string | null | undefined;
787
802
  } | null | undefined;
788
803
  app_id?: string | null | undefined;
804
+ instance_id?: string | null | undefined;
789
805
  kms_info?: {
790
806
  chain_id?: number | null | undefined;
791
807
  encrypted_env_pubkey?: string | null | undefined;
@@ -874,6 +890,8 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
874
890
  avatar_url?: string | null | undefined;
875
891
  } | null | undefined;
876
892
  app_id?: string | null | undefined;
893
+ instance_id?: string | null | undefined;
894
+ listed?: boolean | undefined;
877
895
  kms_info?: {
878
896
  chain_id?: number | null | undefined;
879
897
  encrypted_env_pubkey?: string | null | undefined;
@@ -949,6 +967,8 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
949
967
  avatar_url?: string | null | undefined;
950
968
  } | null | undefined;
951
969
  app_id?: string | null | undefined;
970
+ instance_id?: string | null | undefined;
971
+ listed?: boolean | undefined;
952
972
  kms_info?: {
953
973
  chain_id?: number | null | undefined;
954
974
  encrypted_env_pubkey?: string | null | undefined;
@@ -1066,6 +1086,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1066
1086
  name: z.ZodString;
1067
1087
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1068
1088
  vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1089
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1069
1090
  resource: z.ZodObject<{
1070
1091
  instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1071
1092
  vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1199,6 +1220,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1199
1220
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
1200
1221
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
1201
1222
  secure_time: z.ZodOptional<z.ZodBoolean>;
1223
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1202
1224
  storage_fs: z.ZodOptional<z.ZodString>;
1203
1225
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1204
1226
  object_type: z.ZodLiteral<"workspace">;
@@ -1239,6 +1261,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1239
1261
  status: string;
1240
1262
  name: string;
1241
1263
  id: string;
1264
+ listed: boolean;
1242
1265
  resource: {
1243
1266
  vcpu?: number | null | undefined;
1244
1267
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -1261,6 +1284,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1261
1284
  avatar_url?: string | null | undefined;
1262
1285
  } | null | undefined;
1263
1286
  app_id?: string | null | undefined;
1287
+ instance_id?: string | null | undefined;
1264
1288
  kms_info?: {
1265
1289
  chain_id?: number | null | undefined;
1266
1290
  encrypted_env_pubkey?: string | null | undefined;
@@ -1334,6 +1358,8 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1334
1358
  avatar_url?: string | null | undefined;
1335
1359
  } | null | undefined;
1336
1360
  app_id?: string | null | undefined;
1361
+ instance_id?: string | null | undefined;
1362
+ listed?: boolean | undefined;
1337
1363
  kms_info?: {
1338
1364
  chain_id?: number | null | undefined;
1339
1365
  encrypted_env_pubkey?: string | null | undefined;
@@ -1389,6 +1415,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1389
1415
  name: z.ZodString;
1390
1416
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1391
1417
  vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1418
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1392
1419
  resource: z.ZodObject<{
1393
1420
  instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1394
1421
  vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1522,6 +1549,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1522
1549
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
1523
1550
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
1524
1551
  secure_time: z.ZodOptional<z.ZodBoolean>;
1552
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1525
1553
  storage_fs: z.ZodOptional<z.ZodString>;
1526
1554
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1527
1555
  object_type: z.ZodLiteral<"workspace">;
@@ -1562,6 +1590,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1562
1590
  status: string;
1563
1591
  name: string;
1564
1592
  id: string;
1593
+ listed: boolean;
1565
1594
  resource: {
1566
1595
  vcpu?: number | null | undefined;
1567
1596
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -1584,6 +1613,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1584
1613
  avatar_url?: string | null | undefined;
1585
1614
  } | null | undefined;
1586
1615
  app_id?: string | null | undefined;
1616
+ instance_id?: string | null | undefined;
1587
1617
  kms_info?: {
1588
1618
  chain_id?: number | null | undefined;
1589
1619
  encrypted_env_pubkey?: string | null | undefined;
@@ -1657,6 +1687,8 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1657
1687
  avatar_url?: string | null | undefined;
1658
1688
  } | null | undefined;
1659
1689
  app_id?: string | null | undefined;
1690
+ instance_id?: string | null | undefined;
1691
+ listed?: boolean | undefined;
1660
1692
  kms_info?: {
1661
1693
  chain_id?: number | null | undefined;
1662
1694
  encrypted_env_pubkey?: string | null | undefined;
@@ -1718,6 +1750,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1718
1750
  status: string;
1719
1751
  name: string;
1720
1752
  id: string;
1753
+ listed: boolean;
1721
1754
  resource: {
1722
1755
  vcpu?: number | null | undefined;
1723
1756
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -1740,6 +1773,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1740
1773
  avatar_url?: string | null | undefined;
1741
1774
  } | null | undefined;
1742
1775
  app_id?: string | null | undefined;
1776
+ instance_id?: string | null | undefined;
1743
1777
  kms_info?: {
1744
1778
  chain_id?: number | null | undefined;
1745
1779
  encrypted_env_pubkey?: string | null | undefined;
@@ -1802,6 +1836,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1802
1836
  status: string;
1803
1837
  name: string;
1804
1838
  id: string;
1839
+ listed: boolean;
1805
1840
  resource: {
1806
1841
  vcpu?: number | null | undefined;
1807
1842
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -1824,6 +1859,7 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1824
1859
  avatar_url?: string | null | undefined;
1825
1860
  } | null | undefined;
1826
1861
  app_id?: string | null | undefined;
1862
+ instance_id?: string | null | undefined;
1827
1863
  kms_info?: {
1828
1864
  chain_id?: number | null | undefined;
1829
1865
  encrypted_env_pubkey?: string | null | undefined;
@@ -1912,6 +1948,8 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1912
1948
  avatar_url?: string | null | undefined;
1913
1949
  } | null | undefined;
1914
1950
  app_id?: string | null | undefined;
1951
+ instance_id?: string | null | undefined;
1952
+ listed?: boolean | undefined;
1915
1953
  kms_info?: {
1916
1954
  chain_id?: number | null | undefined;
1917
1955
  encrypted_env_pubkey?: string | null | undefined;
@@ -1987,6 +2025,8 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
1987
2025
  avatar_url?: string | null | undefined;
1988
2026
  } | null | undefined;
1989
2027
  app_id?: string | null | undefined;
2028
+ instance_id?: string | null | undefined;
2029
+ listed?: boolean | undefined;
1990
2030
  kms_info?: {
1991
2031
  chain_id?: number | null | undefined;
1992
2032
  encrypted_env_pubkey?: string | null | undefined;
@@ -2103,6 +2143,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2103
2143
  name: z.ZodString;
2104
2144
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
2145
  vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2146
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2106
2147
  resource: z.ZodObject<{
2107
2148
  instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2108
2149
  vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2236,6 +2277,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2236
2277
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
2237
2278
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
2238
2279
  secure_time: z.ZodOptional<z.ZodBoolean>;
2280
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2239
2281
  storage_fs: z.ZodOptional<z.ZodString>;
2240
2282
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2241
2283
  object_type: z.ZodLiteral<"workspace">;
@@ -2276,6 +2318,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2276
2318
  status: string;
2277
2319
  name: string;
2278
2320
  id: string;
2321
+ listed: boolean;
2279
2322
  resource: {
2280
2323
  vcpu?: number | null | undefined;
2281
2324
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -2298,6 +2341,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2298
2341
  avatar_url?: string | null | undefined;
2299
2342
  } | null | undefined;
2300
2343
  app_id?: string | null | undefined;
2344
+ instance_id?: string | null | undefined;
2301
2345
  kms_info?: {
2302
2346
  chain_id?: number | null | undefined;
2303
2347
  encrypted_env_pubkey?: string | null | undefined;
@@ -2371,6 +2415,8 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2371
2415
  avatar_url?: string | null | undefined;
2372
2416
  } | null | undefined;
2373
2417
  app_id?: string | null | undefined;
2418
+ instance_id?: string | null | undefined;
2419
+ listed?: boolean | undefined;
2374
2420
  kms_info?: {
2375
2421
  chain_id?: number | null | undefined;
2376
2422
  encrypted_env_pubkey?: string | null | undefined;
@@ -2426,6 +2472,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2426
2472
  name: z.ZodString;
2427
2473
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2428
2474
  vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2475
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2429
2476
  resource: z.ZodObject<{
2430
2477
  instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2431
2478
  vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2559,6 +2606,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2559
2606
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
2560
2607
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
2561
2608
  secure_time: z.ZodOptional<z.ZodBoolean>;
2609
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2562
2610
  storage_fs: z.ZodOptional<z.ZodString>;
2563
2611
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2564
2612
  object_type: z.ZodLiteral<"workspace">;
@@ -2599,6 +2647,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2599
2647
  status: string;
2600
2648
  name: string;
2601
2649
  id: string;
2650
+ listed: boolean;
2602
2651
  resource: {
2603
2652
  vcpu?: number | null | undefined;
2604
2653
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -2621,6 +2670,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2621
2670
  avatar_url?: string | null | undefined;
2622
2671
  } | null | undefined;
2623
2672
  app_id?: string | null | undefined;
2673
+ instance_id?: string | null | undefined;
2624
2674
  kms_info?: {
2625
2675
  chain_id?: number | null | undefined;
2626
2676
  encrypted_env_pubkey?: string | null | undefined;
@@ -2694,6 +2744,8 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2694
2744
  avatar_url?: string | null | undefined;
2695
2745
  } | null | undefined;
2696
2746
  app_id?: string | null | undefined;
2747
+ instance_id?: string | null | undefined;
2748
+ listed?: boolean | undefined;
2697
2749
  kms_info?: {
2698
2750
  chain_id?: number | null | undefined;
2699
2751
  encrypted_env_pubkey?: string | null | undefined;
@@ -2755,6 +2807,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2755
2807
  status: string;
2756
2808
  name: string;
2757
2809
  id: string;
2810
+ listed: boolean;
2758
2811
  resource: {
2759
2812
  vcpu?: number | null | undefined;
2760
2813
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -2777,6 +2830,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2777
2830
  avatar_url?: string | null | undefined;
2778
2831
  } | null | undefined;
2779
2832
  app_id?: string | null | undefined;
2833
+ instance_id?: string | null | undefined;
2780
2834
  kms_info?: {
2781
2835
  chain_id?: number | null | undefined;
2782
2836
  encrypted_env_pubkey?: string | null | undefined;
@@ -2839,6 +2893,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2839
2893
  status: string;
2840
2894
  name: string;
2841
2895
  id: string;
2896
+ listed: boolean;
2842
2897
  resource: {
2843
2898
  vcpu?: number | null | undefined;
2844
2899
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -2861,6 +2916,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2861
2916
  avatar_url?: string | null | undefined;
2862
2917
  } | null | undefined;
2863
2918
  app_id?: string | null | undefined;
2919
+ instance_id?: string | null | undefined;
2864
2920
  kms_info?: {
2865
2921
  chain_id?: number | null | undefined;
2866
2922
  encrypted_env_pubkey?: string | null | undefined;
@@ -2949,6 +3005,8 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
2949
3005
  avatar_url?: string | null | undefined;
2950
3006
  } | null | undefined;
2951
3007
  app_id?: string | null | undefined;
3008
+ instance_id?: string | null | undefined;
3009
+ listed?: boolean | undefined;
2952
3010
  kms_info?: {
2953
3011
  chain_id?: number | null | undefined;
2954
3012
  encrypted_env_pubkey?: string | null | undefined;
@@ -3024,6 +3082,8 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
3024
3082
  avatar_url?: string | null | undefined;
3025
3083
  } | null | undefined;
3026
3084
  app_id?: string | null | undefined;
3085
+ instance_id?: string | null | undefined;
3086
+ listed?: boolean | undefined;
3027
3087
  kms_info?: {
3028
3088
  chain_id?: number | null | undefined;
3029
3089
  encrypted_env_pubkey?: string | null | undefined;
@@ -3127,6 +3187,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
3127
3187
  status: string;
3128
3188
  name: string;
3129
3189
  id: string;
3190
+ listed: boolean;
3130
3191
  resource: {
3131
3192
  vcpu?: number | null | undefined;
3132
3193
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -3149,6 +3210,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
3149
3210
  avatar_url?: string | null | undefined;
3150
3211
  } | null | undefined;
3151
3212
  app_id?: string | null | undefined;
3213
+ instance_id?: string | null | undefined;
3152
3214
  kms_info?: {
3153
3215
  chain_id?: number | null | undefined;
3154
3216
  encrypted_env_pubkey?: string | null | undefined;
@@ -3211,6 +3273,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
3211
3273
  status: string;
3212
3274
  name: string;
3213
3275
  id: string;
3276
+ listed: boolean;
3214
3277
  resource: {
3215
3278
  vcpu?: number | null | undefined;
3216
3279
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -3233,6 +3296,7 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
3233
3296
  avatar_url?: string | null | undefined;
3234
3297
  } | null | undefined;
3235
3298
  app_id?: string | null | undefined;
3299
+ instance_id?: string | null | undefined;
3236
3300
  kms_info?: {
3237
3301
  chain_id?: number | null | undefined;
3238
3302
  encrypted_env_pubkey?: string | null | undefined;
@@ -3338,6 +3402,8 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
3338
3402
  avatar_url?: string | null | undefined;
3339
3403
  } | null | undefined;
3340
3404
  app_id?: string | null | undefined;
3405
+ instance_id?: string | null | undefined;
3406
+ listed?: boolean | undefined;
3341
3407
  kms_info?: {
3342
3408
  chain_id?: number | null | undefined;
3343
3409
  encrypted_env_pubkey?: string | null | undefined;
@@ -3413,6 +3479,8 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
3413
3479
  avatar_url?: string | null | undefined;
3414
3480
  } | null | undefined;
3415
3481
  app_id?: string | null | undefined;
3482
+ instance_id?: string | null | undefined;
3483
+ listed?: boolean | undefined;
3416
3484
  kms_info?: {
3417
3485
  chain_id?: number | null | undefined;
3418
3486
  encrypted_env_pubkey?: string | null | undefined;
@@ -30,7 +30,7 @@ export declare const VMSchema: z.ZodObject<{
30
30
  vm_uuid: z.ZodNullable<z.ZodString>;
31
31
  instance_id: z.ZodNullable<z.ZodString>;
32
32
  app_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
- base_image: z.ZodNullable<z.ZodString>;
33
+ base_image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
34
34
  vcpu: z.ZodNumber;
35
35
  memory: z.ZodNumber;
36
36
  disk_size: z.ZodNumber;
@@ -52,7 +52,6 @@ export declare const VMSchema: z.ZodObject<{
52
52
  disk_size: number;
53
53
  teepod_id: number;
54
54
  vm_uuid: string | null;
55
- base_image: string | null;
56
55
  encrypted_env_pubkey: string | null;
57
56
  created_at: string;
58
57
  version?: string | null | undefined;
@@ -62,6 +61,7 @@ export declare const VMSchema: z.ZodObject<{
62
61
  id: number;
63
62
  region_identifier?: string | null | undefined;
64
63
  } | null | undefined;
64
+ base_image?: string | null | undefined;
65
65
  user_id?: number | null | undefined;
66
66
  docker_compose_file?: string | null | undefined;
67
67
  features?: string[] | null | undefined;
@@ -78,7 +78,6 @@ export declare const VMSchema: z.ZodObject<{
78
78
  disk_size: number;
79
79
  teepod_id: number;
80
80
  vm_uuid: string | null;
81
- base_image: string | null;
82
81
  encrypted_env_pubkey: string | null;
83
82
  created_at: string;
84
83
  version?: string | null | undefined;
@@ -88,6 +87,7 @@ export declare const VMSchema: z.ZodObject<{
88
87
  id: number;
89
88
  region_identifier?: string | null | undefined;
90
89
  } | null | undefined;
90
+ base_image?: string | null | undefined;
91
91
  user_id?: number | null | undefined;
92
92
  docker_compose_file?: string | null | undefined;
93
93
  features?: string[] | null | undefined;
@@ -194,6 +194,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
194
194
  name: z.ZodString;
195
195
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
196
  vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
198
  resource: z.ZodObject<{
198
199
  instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
199
200
  vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -327,6 +328,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
327
328
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
328
329
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
329
330
  secure_time: z.ZodOptional<z.ZodBoolean>;
331
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
330
332
  storage_fs: z.ZodOptional<z.ZodString>;
331
333
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
332
334
  object_type: z.ZodLiteral<"workspace">;
@@ -367,6 +369,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
367
369
  status: string;
368
370
  name: string;
369
371
  id: string;
372
+ listed: boolean;
370
373
  resource: {
371
374
  vcpu?: number | null | undefined;
372
375
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -389,6 +392,7 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
389
392
  avatar_url?: string | null | undefined;
390
393
  } | null | undefined;
391
394
  app_id?: string | null | undefined;
395
+ instance_id?: string | null | undefined;
392
396
  kms_info?: {
393
397
  chain_id?: number | null | undefined;
394
398
  encrypted_env_pubkey?: string | null | undefined;
@@ -462,6 +466,8 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
462
466
  avatar_url?: string | null | undefined;
463
467
  } | null | undefined;
464
468
  app_id?: string | null | undefined;
469
+ instance_id?: string | null | undefined;
470
+ listed?: boolean | undefined;
465
471
  kms_info?: {
466
472
  chain_id?: number | null | undefined;
467
473
  encrypted_env_pubkey?: string | null | undefined;
@@ -518,6 +524,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
518
524
  name: z.ZodString;
519
525
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
520
526
  vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
527
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
521
528
  resource: z.ZodObject<{
522
529
  instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
523
530
  vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -651,6 +658,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
651
658
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
652
659
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
653
660
  secure_time: z.ZodOptional<z.ZodBoolean>;
661
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
654
662
  storage_fs: z.ZodOptional<z.ZodString>;
655
663
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
656
664
  object_type: z.ZodLiteral<"workspace">;
@@ -693,6 +701,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
693
701
  status: string;
694
702
  name: string;
695
703
  id: string;
704
+ listed: boolean;
696
705
  resource: {
697
706
  vcpu?: number | null | undefined;
698
707
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -715,6 +724,7 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
715
724
  avatar_url?: string | null | undefined;
716
725
  } | null | undefined;
717
726
  app_id?: string | null | undefined;
727
+ instance_id?: string | null | undefined;
718
728
  kms_info?: {
719
729
  chain_id?: number | null | undefined;
720
730
  encrypted_env_pubkey?: string | null | undefined;
@@ -789,6 +799,8 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
789
799
  avatar_url?: string | null | undefined;
790
800
  } | null | undefined;
791
801
  app_id?: string | null | undefined;
802
+ instance_id?: string | null | undefined;
803
+ listed?: boolean | undefined;
792
804
  kms_info?: {
793
805
  chain_id?: number | null | undefined;
794
806
  encrypted_env_pubkey?: string | null | undefined;
@@ -847,6 +859,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
847
859
  name: z.ZodString;
848
860
  app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
849
861
  vm_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
862
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
850
863
  resource: z.ZodObject<{
851
864
  instance_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
852
865
  vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -980,6 +993,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
980
993
  public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
981
994
  gateway_enabled: z.ZodOptional<z.ZodBoolean>;
982
995
  secure_time: z.ZodOptional<z.ZodBoolean>;
996
+ listed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
983
997
  storage_fs: z.ZodOptional<z.ZodString>;
984
998
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
985
999
  object_type: z.ZodLiteral<"workspace">;
@@ -1020,6 +1034,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1020
1034
  status: string;
1021
1035
  name: string;
1022
1036
  id: string;
1037
+ listed: boolean;
1023
1038
  resource: {
1024
1039
  vcpu?: number | null | undefined;
1025
1040
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -1042,6 +1057,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1042
1057
  avatar_url?: string | null | undefined;
1043
1058
  } | null | undefined;
1044
1059
  app_id?: string | null | undefined;
1060
+ instance_id?: string | null | undefined;
1045
1061
  kms_info?: {
1046
1062
  chain_id?: number | null | undefined;
1047
1063
  encrypted_env_pubkey?: string | null | undefined;
@@ -1115,6 +1131,8 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1115
1131
  avatar_url?: string | null | undefined;
1116
1132
  } | null | undefined;
1117
1133
  app_id?: string | null | undefined;
1134
+ instance_id?: string | null | undefined;
1135
+ listed?: boolean | undefined;
1118
1136
  kms_info?: {
1119
1137
  chain_id?: number | null | undefined;
1120
1138
  encrypted_env_pubkey?: string | null | undefined;
@@ -1174,6 +1192,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1174
1192
  status: string;
1175
1193
  name: string;
1176
1194
  id: string;
1195
+ listed: boolean;
1177
1196
  resource: {
1178
1197
  vcpu?: number | null | undefined;
1179
1198
  billing_period?: "skip" | "hourly" | "monthly" | null | undefined;
@@ -1196,6 +1215,7 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1196
1215
  avatar_url?: string | null | undefined;
1197
1216
  } | null | undefined;
1198
1217
  app_id?: string | null | undefined;
1218
+ instance_id?: string | null | undefined;
1199
1219
  kms_info?: {
1200
1220
  chain_id?: number | null | undefined;
1201
1221
  encrypted_env_pubkey?: string | null | undefined;
@@ -1275,6 +1295,8 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
1275
1295
  avatar_url?: string | null | undefined;
1276
1296
  } | null | undefined;
1277
1297
  app_id?: string | null | undefined;
1298
+ instance_id?: string | null | undefined;
1299
+ listed?: boolean | undefined;
1278
1300
  kms_info?: {
1279
1301
  chain_id?: number | null | undefined;
1280
1302
  encrypted_env_pubkey?: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phala/cloud",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "TypeScript SDK for Phala Cloud API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",