@phala/cloud 0.2.1 → 0.2.3
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/get_app_filter_options.d.ts +42 -0
- package/dist/actions/apps/get_app_list.d.ts +4 -4
- package/dist/actions/apps/get_app_revision_detail.d.ts +6 -6
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +66 -14
- package/dist/actions/cvms/get_cvm_containers_stats.d.ts +4 -4
- package/dist/actions/cvms/provision_cvm.d.ts +110 -10
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +66 -40
- package/dist/actions/cvms/restart_cvm.d.ts +2 -2
- package/dist/actions/cvms/shutdown_cvm.d.ts +2 -2
- package/dist/actions/cvms/start_cvm.d.ts +2 -2
- package/dist/actions/cvms/stop_cvm.d.ts +2 -2
- package/dist/actions/cvms/update_cvm_visibility.d.ts +3 -0
- package/dist/actions/index.d.ts +2 -1
- package/dist/actions/workspaces/get_workspace.d.ts +2 -0
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +192 -145
- package/dist/actions/workspaces/list_workspaces.d.ts +18 -0
- package/dist/index.js +197 -110
- package/dist/index.mjs +189 -110
- package/dist/types/app_compose.d.ts +34 -1
- package/dist/types/app_info_v20251028.d.ts +113 -0
- package/dist/types/app_info_v20260121.d.ts +188 -0
- package/dist/types/app_revision.d.ts +11 -0
- package/dist/types/client.d.ts +1 -1
- package/dist/types/cvm_info.d.ts +2 -2
- package/dist/types/cvm_info_v20260121.d.ts +70 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -86,6 +86,23 @@ export declare const CvmBasicInfoV20251028Schema: z.ZodObject<{
|
|
|
86
86
|
kms_id?: string | null | undefined;
|
|
87
87
|
}>;
|
|
88
88
|
export type CvmBasicInfoV20251028 = z.infer<typeof CvmBasicInfoV20251028Schema>;
|
|
89
|
+
export declare const AppProfileSchema: z.ZodObject<{
|
|
90
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
+
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
description?: string | null | undefined;
|
|
96
|
+
display_name?: string | null | undefined;
|
|
97
|
+
avatar_url?: string | null | undefined;
|
|
98
|
+
custom_domain?: string | null | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
description?: string | null | undefined;
|
|
101
|
+
display_name?: string | null | undefined;
|
|
102
|
+
avatar_url?: string | null | undefined;
|
|
103
|
+
custom_domain?: string | null | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
export type AppProfile = z.infer<typeof AppProfileSchema>;
|
|
89
106
|
export declare const DstackAppFullResponseV20251028Schema: z.ZodObject<{
|
|
90
107
|
id: z.ZodString;
|
|
91
108
|
name: z.ZodString;
|
|
@@ -94,6 +111,22 @@ export declare const DstackAppFullResponseV20251028Schema: z.ZodObject<{
|
|
|
94
111
|
app_icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
112
|
created_at: z.ZodString;
|
|
96
113
|
kms_type: z.ZodString;
|
|
114
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
115
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
|
+
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
description?: string | null | undefined;
|
|
121
|
+
display_name?: string | null | undefined;
|
|
122
|
+
avatar_url?: string | null | undefined;
|
|
123
|
+
custom_domain?: string | null | undefined;
|
|
124
|
+
}, {
|
|
125
|
+
description?: string | null | undefined;
|
|
126
|
+
display_name?: string | null | undefined;
|
|
127
|
+
avatar_url?: string | null | undefined;
|
|
128
|
+
custom_domain?: string | null | undefined;
|
|
129
|
+
}>>>;
|
|
97
130
|
current_cvm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
98
131
|
vm_uuid: z.ZodNullable<z.ZodString>;
|
|
99
132
|
app_id: z.ZodString;
|
|
@@ -302,6 +335,12 @@ export declare const DstackAppFullResponseV20251028Schema: z.ZodObject<{
|
|
|
302
335
|
cvm_count: number;
|
|
303
336
|
app_provision_type?: string | null | undefined;
|
|
304
337
|
app_icon_url?: string | null | undefined;
|
|
338
|
+
profile?: {
|
|
339
|
+
description?: string | null | undefined;
|
|
340
|
+
display_name?: string | null | undefined;
|
|
341
|
+
avatar_url?: string | null | undefined;
|
|
342
|
+
custom_domain?: string | null | undefined;
|
|
343
|
+
} | null | undefined;
|
|
305
344
|
current_cvm?: {
|
|
306
345
|
status: string;
|
|
307
346
|
name: string;
|
|
@@ -336,6 +375,12 @@ export declare const DstackAppFullResponseV20251028Schema: z.ZodObject<{
|
|
|
336
375
|
created_at: string;
|
|
337
376
|
app_provision_type?: string | null | undefined;
|
|
338
377
|
app_icon_url?: string | null | undefined;
|
|
378
|
+
profile?: {
|
|
379
|
+
description?: string | null | undefined;
|
|
380
|
+
display_name?: string | null | undefined;
|
|
381
|
+
avatar_url?: string | null | undefined;
|
|
382
|
+
custom_domain?: string | null | undefined;
|
|
383
|
+
} | null | undefined;
|
|
339
384
|
current_cvm?: {
|
|
340
385
|
status: string;
|
|
341
386
|
app_id: string;
|
|
@@ -434,6 +479,22 @@ export declare const DstackAppWithCvmResponseV20251028Schema: z.ZodUnion<[z.ZodO
|
|
|
434
479
|
app_icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
435
480
|
created_at: z.ZodString;
|
|
436
481
|
kms_type: z.ZodString;
|
|
482
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
483
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
484
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
485
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
486
|
+
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
487
|
+
}, "strip", z.ZodTypeAny, {
|
|
488
|
+
description?: string | null | undefined;
|
|
489
|
+
display_name?: string | null | undefined;
|
|
490
|
+
avatar_url?: string | null | undefined;
|
|
491
|
+
custom_domain?: string | null | undefined;
|
|
492
|
+
}, {
|
|
493
|
+
description?: string | null | undefined;
|
|
494
|
+
display_name?: string | null | undefined;
|
|
495
|
+
avatar_url?: string | null | undefined;
|
|
496
|
+
custom_domain?: string | null | undefined;
|
|
497
|
+
}>>>;
|
|
437
498
|
current_cvm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
438
499
|
vm_uuid: z.ZodNullable<z.ZodString>;
|
|
439
500
|
app_id: z.ZodString;
|
|
@@ -642,6 +703,12 @@ export declare const DstackAppWithCvmResponseV20251028Schema: z.ZodUnion<[z.ZodO
|
|
|
642
703
|
cvm_count: number;
|
|
643
704
|
app_provision_type?: string | null | undefined;
|
|
644
705
|
app_icon_url?: string | null | undefined;
|
|
706
|
+
profile?: {
|
|
707
|
+
description?: string | null | undefined;
|
|
708
|
+
display_name?: string | null | undefined;
|
|
709
|
+
avatar_url?: string | null | undefined;
|
|
710
|
+
custom_domain?: string | null | undefined;
|
|
711
|
+
} | null | undefined;
|
|
645
712
|
current_cvm?: {
|
|
646
713
|
status: string;
|
|
647
714
|
name: string;
|
|
@@ -676,6 +743,12 @@ export declare const DstackAppWithCvmResponseV20251028Schema: z.ZodUnion<[z.ZodO
|
|
|
676
743
|
created_at: string;
|
|
677
744
|
app_provision_type?: string | null | undefined;
|
|
678
745
|
app_icon_url?: string | null | undefined;
|
|
746
|
+
profile?: {
|
|
747
|
+
description?: string | null | undefined;
|
|
748
|
+
display_name?: string | null | undefined;
|
|
749
|
+
avatar_url?: string | null | undefined;
|
|
750
|
+
custom_domain?: string | null | undefined;
|
|
751
|
+
} | null | undefined;
|
|
679
752
|
current_cvm?: {
|
|
680
753
|
status: string;
|
|
681
754
|
app_id: string;
|
|
@@ -773,6 +846,22 @@ export declare const DstackAppListResponseV20251028Schema: z.ZodObject<{
|
|
|
773
846
|
app_icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
774
847
|
created_at: z.ZodString;
|
|
775
848
|
kms_type: z.ZodString;
|
|
849
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
850
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
851
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
852
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
853
|
+
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
854
|
+
}, "strip", z.ZodTypeAny, {
|
|
855
|
+
description?: string | null | undefined;
|
|
856
|
+
display_name?: string | null | undefined;
|
|
857
|
+
avatar_url?: string | null | undefined;
|
|
858
|
+
custom_domain?: string | null | undefined;
|
|
859
|
+
}, {
|
|
860
|
+
description?: string | null | undefined;
|
|
861
|
+
display_name?: string | null | undefined;
|
|
862
|
+
avatar_url?: string | null | undefined;
|
|
863
|
+
custom_domain?: string | null | undefined;
|
|
864
|
+
}>>>;
|
|
776
865
|
current_cvm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
777
866
|
vm_uuid: z.ZodNullable<z.ZodString>;
|
|
778
867
|
app_id: z.ZodString;
|
|
@@ -981,6 +1070,12 @@ export declare const DstackAppListResponseV20251028Schema: z.ZodObject<{
|
|
|
981
1070
|
cvm_count: number;
|
|
982
1071
|
app_provision_type?: string | null | undefined;
|
|
983
1072
|
app_icon_url?: string | null | undefined;
|
|
1073
|
+
profile?: {
|
|
1074
|
+
description?: string | null | undefined;
|
|
1075
|
+
display_name?: string | null | undefined;
|
|
1076
|
+
avatar_url?: string | null | undefined;
|
|
1077
|
+
custom_domain?: string | null | undefined;
|
|
1078
|
+
} | null | undefined;
|
|
984
1079
|
current_cvm?: {
|
|
985
1080
|
status: string;
|
|
986
1081
|
name: string;
|
|
@@ -1015,6 +1110,12 @@ export declare const DstackAppListResponseV20251028Schema: z.ZodObject<{
|
|
|
1015
1110
|
created_at: string;
|
|
1016
1111
|
app_provision_type?: string | null | undefined;
|
|
1017
1112
|
app_icon_url?: string | null | undefined;
|
|
1113
|
+
profile?: {
|
|
1114
|
+
description?: string | null | undefined;
|
|
1115
|
+
display_name?: string | null | undefined;
|
|
1116
|
+
avatar_url?: string | null | undefined;
|
|
1117
|
+
custom_domain?: string | null | undefined;
|
|
1118
|
+
} | null | undefined;
|
|
1018
1119
|
current_cvm?: {
|
|
1019
1120
|
status: string;
|
|
1020
1121
|
app_id: string;
|
|
@@ -1145,6 +1246,12 @@ export declare const DstackAppListResponseV20251028Schema: z.ZodObject<{
|
|
|
1145
1246
|
cvm_count: number;
|
|
1146
1247
|
app_provision_type?: string | null | undefined;
|
|
1147
1248
|
app_icon_url?: string | null | undefined;
|
|
1249
|
+
profile?: {
|
|
1250
|
+
description?: string | null | undefined;
|
|
1251
|
+
display_name?: string | null | undefined;
|
|
1252
|
+
avatar_url?: string | null | undefined;
|
|
1253
|
+
custom_domain?: string | null | undefined;
|
|
1254
|
+
} | null | undefined;
|
|
1148
1255
|
current_cvm?: {
|
|
1149
1256
|
status: string;
|
|
1150
1257
|
name: string;
|
|
@@ -1196,6 +1303,12 @@ export declare const DstackAppListResponseV20251028Schema: z.ZodObject<{
|
|
|
1196
1303
|
created_at: string;
|
|
1197
1304
|
app_provision_type?: string | null | undefined;
|
|
1198
1305
|
app_icon_url?: string | null | undefined;
|
|
1306
|
+
profile?: {
|
|
1307
|
+
description?: string | null | undefined;
|
|
1308
|
+
display_name?: string | null | undefined;
|
|
1309
|
+
avatar_url?: string | null | undefined;
|
|
1310
|
+
custom_domain?: string | null | undefined;
|
|
1311
|
+
} | null | undefined;
|
|
1199
1312
|
current_cvm?: {
|
|
1200
1313
|
status: string;
|
|
1201
1314
|
app_id: string;
|