@phala/cloud 0.2.2 → 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 +1 -0
- package/dist/index.js +185 -97
- package/dist/index.mjs +178 -97
- 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 +96 -0
- package/dist/types/app_revision.d.ts +11 -0
- package/dist/types/cvm_info.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type Client, type SafeResult } from "../../client";
|
|
3
|
+
import type { ApiVersion } from "../../types/client";
|
|
4
|
+
export declare const AppFilterOptionsSchema: z.ZodObject<{
|
|
5
|
+
statuses: z.ZodArray<z.ZodString, "many">;
|
|
6
|
+
image_versions: z.ZodArray<z.ZodString, "many">;
|
|
7
|
+
instance_types: z.ZodArray<z.ZodString, "many">;
|
|
8
|
+
kms_slugs: z.ZodArray<z.ZodString, "many">;
|
|
9
|
+
kms_types: z.ZodArray<z.ZodString, "many">;
|
|
10
|
+
regions: z.ZodArray<z.ZodString, "many">;
|
|
11
|
+
nodes: z.ZodArray<z.ZodString, "many">;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
nodes: string[];
|
|
14
|
+
statuses: string[];
|
|
15
|
+
image_versions: string[];
|
|
16
|
+
instance_types: string[];
|
|
17
|
+
kms_slugs: string[];
|
|
18
|
+
kms_types: string[];
|
|
19
|
+
regions: string[];
|
|
20
|
+
}, {
|
|
21
|
+
nodes: string[];
|
|
22
|
+
statuses: string[];
|
|
23
|
+
image_versions: string[];
|
|
24
|
+
instance_types: string[];
|
|
25
|
+
kms_slugs: string[];
|
|
26
|
+
kms_types: string[];
|
|
27
|
+
regions: string[];
|
|
28
|
+
}>;
|
|
29
|
+
export type AppFilterOptions = z.infer<typeof AppFilterOptionsSchema>;
|
|
30
|
+
/**
|
|
31
|
+
* Get available filter options for apps
|
|
32
|
+
*
|
|
33
|
+
* Returns distinct values for each filterable field based on the current workspace's apps.
|
|
34
|
+
*
|
|
35
|
+
* @param client - The API client
|
|
36
|
+
* @returns Available filter option values
|
|
37
|
+
*/
|
|
38
|
+
export declare function getAppFilterOptions<V extends ApiVersion>(client: Client<V>): Promise<AppFilterOptions>;
|
|
39
|
+
/**
|
|
40
|
+
* Safe version of getAppFilterOptions that returns a SafeResult instead of throwing
|
|
41
|
+
*/
|
|
42
|
+
export declare function safeGetAppFilterOptions<V extends ApiVersion>(client: Client<V>): Promise<SafeResult<AppFilterOptions>>;
|
|
@@ -12,29 +12,29 @@ export declare const GetAppListRequestSchema: z.ZodObject<{
|
|
|
12
12
|
instance_type: z.ZodOptional<z.ZodString>;
|
|
13
13
|
kms_slug: z.ZodOptional<z.ZodString>;
|
|
14
14
|
kms_type: z.ZodOptional<z.ZodString>;
|
|
15
|
-
|
|
15
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16
16
|
region: z.ZodOptional<z.ZodString>;
|
|
17
17
|
}, "strict", z.ZodTypeAny, {
|
|
18
18
|
status?: string[] | undefined;
|
|
19
19
|
search?: string | undefined;
|
|
20
|
+
node?: string | undefined;
|
|
20
21
|
listed?: boolean | undefined;
|
|
21
22
|
base_image?: string | undefined;
|
|
22
23
|
instance_type?: string | undefined;
|
|
23
24
|
page?: number | undefined;
|
|
24
25
|
page_size?: number | undefined;
|
|
25
|
-
teepod_name?: string | undefined;
|
|
26
26
|
kms_type?: string | undefined;
|
|
27
27
|
kms_slug?: string | undefined;
|
|
28
28
|
region?: string | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
status?: string[] | undefined;
|
|
31
31
|
search?: string | undefined;
|
|
32
|
+
node?: string | undefined;
|
|
32
33
|
listed?: boolean | undefined;
|
|
33
34
|
base_image?: string | undefined;
|
|
34
35
|
instance_type?: string | undefined;
|
|
35
36
|
page?: number | undefined;
|
|
36
37
|
page_size?: number | undefined;
|
|
37
|
-
teepod_name?: string | undefined;
|
|
38
38
|
kms_type?: string | undefined;
|
|
39
39
|
kms_slug?: string | undefined;
|
|
40
40
|
region?: string | undefined;
|
|
@@ -54,7 +54,7 @@ export type GetAppListRequest = z.infer<typeof GetAppListRequestSchema>;
|
|
|
54
54
|
* @param request.instance_type - Filter by instance type
|
|
55
55
|
* @param request.kms_slug - Filter by KMS slug
|
|
56
56
|
* @param request.kms_type - Filter by KMS type
|
|
57
|
-
* @param request.
|
|
57
|
+
* @param request.node - Filter by node name
|
|
58
58
|
* @param request.region - Filter by region
|
|
59
59
|
* @returns Paginated list of apps with type based on client API version
|
|
60
60
|
*
|
|
@@ -4,15 +4,15 @@ import type { AppRevisionDetailResponse } from "../../types/app_revision";
|
|
|
4
4
|
import type { ApiVersion } from "../../types/client";
|
|
5
5
|
export declare const GetAppRevisionDetailRequestSchema: z.ZodObject<{
|
|
6
6
|
appId: z.ZodString;
|
|
7
|
-
|
|
7
|
+
revisionId: z.ZodString;
|
|
8
8
|
rawComposeFile: z.ZodOptional<z.ZodBoolean>;
|
|
9
9
|
}, "strict", z.ZodTypeAny, {
|
|
10
|
-
composeHash: string;
|
|
11
10
|
appId: string;
|
|
11
|
+
revisionId: string;
|
|
12
12
|
rawComposeFile?: boolean | undefined;
|
|
13
13
|
}, {
|
|
14
|
-
composeHash: string;
|
|
15
14
|
appId: string;
|
|
15
|
+
revisionId: string;
|
|
16
16
|
rawComposeFile?: boolean | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
export type GetAppRevisionDetailRequest = z.infer<typeof GetAppRevisionDetailRequestSchema>;
|
|
@@ -22,7 +22,7 @@ export type GetAppRevisionDetailRequest = z.infer<typeof GetAppRevisionDetailReq
|
|
|
22
22
|
* @param client - The API client
|
|
23
23
|
* @param request - Request parameters
|
|
24
24
|
* @param request.appId - The app ID
|
|
25
|
-
* @param request.
|
|
25
|
+
* @param request.revisionId - The revision record id (rev_...) of the revision
|
|
26
26
|
* @param request.rawComposeFile - If true, returns compose_file as raw string instead of parsed object
|
|
27
27
|
* @returns Detailed revision information including compose file and encrypted env
|
|
28
28
|
*
|
|
@@ -30,13 +30,13 @@ export type GetAppRevisionDetailRequest = z.infer<typeof GetAppRevisionDetailReq
|
|
|
30
30
|
* ```typescript
|
|
31
31
|
* const detail = await getAppRevisionDetail(client, {
|
|
32
32
|
* appId: "my-app-id",
|
|
33
|
-
*
|
|
33
|
+
* revisionId: "rev_abc123"
|
|
34
34
|
* })
|
|
35
35
|
*
|
|
36
36
|
* // Get with raw compose file
|
|
37
37
|
* const detail = await getAppRevisionDetail(client, {
|
|
38
38
|
* appId: "my-app-id",
|
|
39
|
-
*
|
|
39
|
+
* revisionId: "rev_abc123",
|
|
40
40
|
* rawComposeFile: true
|
|
41
41
|
* })
|
|
42
42
|
* ```
|
|
@@ -68,7 +68,7 @@ import { type CvmIdInput } from "../../types/cvm_id";
|
|
|
68
68
|
* }
|
|
69
69
|
* ```
|
|
70
70
|
*/
|
|
71
|
-
export declare const GetCvmComposeFileResultSchema: z.ZodEffects<z.ZodObject<{
|
|
71
|
+
export declare const GetCvmComposeFileResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
72
72
|
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
73
73
|
docker_compose_file: z.ZodString;
|
|
74
74
|
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -107,17 +107,43 @@ export declare const GetCvmComposeFileResultSchema: z.ZodEffects<z.ZodObject<{
|
|
|
107
107
|
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
108
108
|
env_pubkey: z.ZodOptional<z.ZodString>;
|
|
109
109
|
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
110
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
111
|
+
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
112
|
+
docker_compose_file: z.ZodString;
|
|
113
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
114
|
+
name: z.ZodOptional<z.ZodString>;
|
|
115
|
+
manifest_version: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
kms_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
+
public_logs: z.ZodOptional<z.ZodBoolean>;
|
|
118
|
+
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
+
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
+
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
121
|
+
env_pubkey: z.ZodOptional<z.ZodString>;
|
|
122
|
+
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
123
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
124
|
+
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
125
|
+
docker_compose_file: z.ZodString;
|
|
126
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
127
|
+
name: z.ZodOptional<z.ZodString>;
|
|
128
|
+
manifest_version: z.ZodOptional<z.ZodNumber>;
|
|
129
|
+
kms_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
130
|
+
public_logs: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
+
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
+
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
134
|
+
env_pubkey: z.ZodOptional<z.ZodString>;
|
|
135
|
+
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
110
136
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
111
137
|
docker_compose_file: string;
|
|
112
138
|
name?: string | undefined;
|
|
113
139
|
public_sysinfo?: boolean | undefined;
|
|
114
140
|
public_logs?: boolean | undefined;
|
|
115
141
|
allowed_envs?: string[] | undefined;
|
|
116
|
-
|
|
142
|
+
features?: string[] | undefined;
|
|
143
|
+
manifest_version?: number | undefined;
|
|
117
144
|
kms_enabled?: boolean | undefined;
|
|
118
145
|
tproxy_enabled?: boolean | undefined;
|
|
119
|
-
|
|
120
|
-
features?: string[] | undefined;
|
|
146
|
+
pre_launch_script?: string | undefined;
|
|
121
147
|
env_pubkey?: string | undefined;
|
|
122
148
|
salt?: string | null | undefined;
|
|
123
149
|
} & {
|
|
@@ -139,7 +165,7 @@ export declare const GetCvmComposeFileResultSchema: z.ZodEffects<z.ZodObject<{
|
|
|
139
165
|
env_pubkey: z.ZodOptional<z.ZodString>;
|
|
140
166
|
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
141
167
|
}, z.ZodTypeAny, "passthrough">>;
|
|
142
|
-
export declare const CvmComposeFileSchema: z.ZodEffects<z.ZodObject<{
|
|
168
|
+
export declare const CvmComposeFileSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
143
169
|
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
144
170
|
docker_compose_file: z.ZodString;
|
|
145
171
|
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -178,17 +204,43 @@ export declare const CvmComposeFileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
178
204
|
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
179
205
|
env_pubkey: z.ZodOptional<z.ZodString>;
|
|
180
206
|
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
207
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
208
|
+
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
209
|
+
docker_compose_file: z.ZodString;
|
|
210
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
211
|
+
name: z.ZodOptional<z.ZodString>;
|
|
212
|
+
manifest_version: z.ZodOptional<z.ZodNumber>;
|
|
213
|
+
kms_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
214
|
+
public_logs: z.ZodOptional<z.ZodBoolean>;
|
|
215
|
+
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
|
|
216
|
+
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
+
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
218
|
+
env_pubkey: z.ZodOptional<z.ZodString>;
|
|
219
|
+
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
220
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
221
|
+
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
222
|
+
docker_compose_file: z.ZodString;
|
|
223
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
224
|
+
name: z.ZodOptional<z.ZodString>;
|
|
225
|
+
manifest_version: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
kms_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
227
|
+
public_logs: z.ZodOptional<z.ZodBoolean>;
|
|
228
|
+
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
|
|
229
|
+
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
230
|
+
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
231
|
+
env_pubkey: z.ZodOptional<z.ZodString>;
|
|
232
|
+
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
181
233
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
182
234
|
docker_compose_file: string;
|
|
183
235
|
name?: string | undefined;
|
|
184
236
|
public_sysinfo?: boolean | undefined;
|
|
185
237
|
public_logs?: boolean | undefined;
|
|
186
238
|
allowed_envs?: string[] | undefined;
|
|
187
|
-
|
|
239
|
+
features?: string[] | undefined;
|
|
240
|
+
manifest_version?: number | undefined;
|
|
188
241
|
kms_enabled?: boolean | undefined;
|
|
189
242
|
tproxy_enabled?: boolean | undefined;
|
|
190
|
-
|
|
191
|
-
features?: string[] | undefined;
|
|
243
|
+
pre_launch_script?: string | undefined;
|
|
192
244
|
env_pubkey?: string | undefined;
|
|
193
245
|
salt?: string | null | undefined;
|
|
194
246
|
} & {
|
|
@@ -241,11 +293,11 @@ declare const getCvmComposeFile: {
|
|
|
241
293
|
public_sysinfo?: boolean | undefined;
|
|
242
294
|
public_logs?: boolean | undefined;
|
|
243
295
|
allowed_envs?: string[] | undefined;
|
|
244
|
-
|
|
296
|
+
features?: string[] | undefined;
|
|
297
|
+
manifest_version?: number | undefined;
|
|
245
298
|
kms_enabled?: boolean | undefined;
|
|
246
299
|
tproxy_enabled?: boolean | undefined;
|
|
247
|
-
|
|
248
|
-
features?: string[] | undefined;
|
|
300
|
+
pre_launch_script?: string | undefined;
|
|
249
301
|
env_pubkey?: string | undefined;
|
|
250
302
|
salt?: string | null | undefined;
|
|
251
303
|
} & {
|
|
@@ -267,11 +319,11 @@ declare const getCvmComposeFile: {
|
|
|
267
319
|
public_sysinfo?: boolean | undefined;
|
|
268
320
|
public_logs?: boolean | undefined;
|
|
269
321
|
allowed_envs?: string[] | undefined;
|
|
270
|
-
|
|
322
|
+
features?: string[] | undefined;
|
|
323
|
+
manifest_version?: number | undefined;
|
|
271
324
|
kms_enabled?: boolean | undefined;
|
|
272
325
|
tproxy_enabled?: boolean | undefined;
|
|
273
|
-
|
|
274
|
-
features?: string[] | undefined;
|
|
326
|
+
pre_launch_script?: string | undefined;
|
|
275
327
|
env_pubkey?: string | undefined;
|
|
276
328
|
salt?: string | null | undefined;
|
|
277
329
|
} & {
|
|
@@ -44,9 +44,9 @@ export declare const CvmContainersStatsSchema: z.ZodObject<{
|
|
|
44
44
|
error: string | null;
|
|
45
45
|
version: string | null;
|
|
46
46
|
docker_compose_file: string | null;
|
|
47
|
+
features: string[] | null;
|
|
47
48
|
manifest_version: number | null;
|
|
48
49
|
runner: string | null;
|
|
49
|
-
features: string[] | null;
|
|
50
50
|
is_online: boolean;
|
|
51
51
|
is_public: boolean;
|
|
52
52
|
containers: {
|
|
@@ -64,9 +64,9 @@ export declare const CvmContainersStatsSchema: z.ZodObject<{
|
|
|
64
64
|
error: string | null;
|
|
65
65
|
version: string | null;
|
|
66
66
|
docker_compose_file: string | null;
|
|
67
|
+
features: string[] | null;
|
|
67
68
|
manifest_version: number | null;
|
|
68
69
|
runner: string | null;
|
|
69
|
-
features: string[] | null;
|
|
70
70
|
is_online: boolean;
|
|
71
71
|
containers: {
|
|
72
72
|
status: string;
|
|
@@ -109,9 +109,9 @@ declare const getCvmContainersStats: {
|
|
|
109
109
|
error: string | null;
|
|
110
110
|
version: string | null;
|
|
111
111
|
docker_compose_file: string | null;
|
|
112
|
+
features: string[] | null;
|
|
112
113
|
manifest_version: number | null;
|
|
113
114
|
runner: string | null;
|
|
114
|
-
features: string[] | null;
|
|
115
115
|
is_online: boolean;
|
|
116
116
|
is_public: boolean;
|
|
117
117
|
containers: {
|
|
@@ -137,9 +137,9 @@ declare const getCvmContainersStats: {
|
|
|
137
137
|
error: string | null;
|
|
138
138
|
version: string | null;
|
|
139
139
|
docker_compose_file: string | null;
|
|
140
|
+
features: string[] | null;
|
|
140
141
|
manifest_version: number | null;
|
|
141
142
|
runner: string | null;
|
|
142
|
-
features: string[] | null;
|
|
143
143
|
is_online: boolean;
|
|
144
144
|
is_public: boolean;
|
|
145
145
|
containers: {
|
|
@@ -425,7 +425,7 @@ export declare const ProvisionCvmRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
425
425
|
vcpu: z.ZodOptional<z.ZodNumber>;
|
|
426
426
|
memory: z.ZodOptional<z.ZodNumber>;
|
|
427
427
|
disk_size: z.ZodOptional<z.ZodNumber>;
|
|
428
|
-
compose_file: z.ZodObject<{
|
|
428
|
+
compose_file: z.ZodEffects<z.ZodObject<{
|
|
429
429
|
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
430
430
|
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
431
431
|
docker_compose_file: z.ZodOptional<z.ZodString>;
|
|
@@ -441,20 +441,40 @@ export declare const ProvisionCvmRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
441
441
|
public_logs?: boolean | undefined;
|
|
442
442
|
gateway_enabled?: boolean | undefined;
|
|
443
443
|
allowed_envs?: string[] | undefined;
|
|
444
|
-
pre_launch_script?: string | undefined;
|
|
445
444
|
docker_compose_file?: string | undefined;
|
|
446
445
|
kms_enabled?: boolean | undefined;
|
|
447
446
|
tproxy_enabled?: boolean | undefined;
|
|
447
|
+
pre_launch_script?: string | undefined;
|
|
448
448
|
}, {
|
|
449
449
|
name?: string | undefined;
|
|
450
450
|
public_sysinfo?: boolean | undefined;
|
|
451
451
|
public_logs?: boolean | undefined;
|
|
452
452
|
gateway_enabled?: boolean | undefined;
|
|
453
453
|
allowed_envs?: string[] | undefined;
|
|
454
|
+
docker_compose_file?: string | undefined;
|
|
455
|
+
kms_enabled?: boolean | undefined;
|
|
456
|
+
tproxy_enabled?: boolean | undefined;
|
|
454
457
|
pre_launch_script?: string | undefined;
|
|
458
|
+
}>, {
|
|
459
|
+
name: string;
|
|
460
|
+
public_sysinfo?: boolean | undefined;
|
|
461
|
+
public_logs?: boolean | undefined;
|
|
462
|
+
gateway_enabled?: boolean | undefined;
|
|
463
|
+
allowed_envs?: string[] | undefined;
|
|
455
464
|
docker_compose_file?: string | undefined;
|
|
456
465
|
kms_enabled?: boolean | undefined;
|
|
457
466
|
tproxy_enabled?: boolean | undefined;
|
|
467
|
+
pre_launch_script?: string | undefined;
|
|
468
|
+
}, {
|
|
469
|
+
name?: string | undefined;
|
|
470
|
+
public_sysinfo?: boolean | undefined;
|
|
471
|
+
public_logs?: boolean | undefined;
|
|
472
|
+
gateway_enabled?: boolean | undefined;
|
|
473
|
+
allowed_envs?: string[] | undefined;
|
|
474
|
+
docker_compose_file?: string | undefined;
|
|
475
|
+
kms_enabled?: boolean | undefined;
|
|
476
|
+
tproxy_enabled?: boolean | undefined;
|
|
477
|
+
pre_launch_script?: string | undefined;
|
|
458
478
|
}>;
|
|
459
479
|
listed: z.ZodOptional<z.ZodBoolean>;
|
|
460
480
|
kms_id: z.ZodOptional<z.ZodString>;
|
|
@@ -473,7 +493,7 @@ export declare const ProvisionCvmRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
473
493
|
vcpu: z.ZodOptional<z.ZodNumber>;
|
|
474
494
|
memory: z.ZodOptional<z.ZodNumber>;
|
|
475
495
|
disk_size: z.ZodOptional<z.ZodNumber>;
|
|
476
|
-
compose_file: z.ZodObject<{
|
|
496
|
+
compose_file: z.ZodEffects<z.ZodObject<{
|
|
477
497
|
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
478
498
|
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
479
499
|
docker_compose_file: z.ZodOptional<z.ZodString>;
|
|
@@ -489,20 +509,40 @@ export declare const ProvisionCvmRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
489
509
|
public_logs?: boolean | undefined;
|
|
490
510
|
gateway_enabled?: boolean | undefined;
|
|
491
511
|
allowed_envs?: string[] | undefined;
|
|
492
|
-
pre_launch_script?: string | undefined;
|
|
493
512
|
docker_compose_file?: string | undefined;
|
|
494
513
|
kms_enabled?: boolean | undefined;
|
|
495
514
|
tproxy_enabled?: boolean | undefined;
|
|
515
|
+
pre_launch_script?: string | undefined;
|
|
496
516
|
}, {
|
|
497
517
|
name?: string | undefined;
|
|
498
518
|
public_sysinfo?: boolean | undefined;
|
|
499
519
|
public_logs?: boolean | undefined;
|
|
500
520
|
gateway_enabled?: boolean | undefined;
|
|
501
521
|
allowed_envs?: string[] | undefined;
|
|
522
|
+
docker_compose_file?: string | undefined;
|
|
523
|
+
kms_enabled?: boolean | undefined;
|
|
524
|
+
tproxy_enabled?: boolean | undefined;
|
|
502
525
|
pre_launch_script?: string | undefined;
|
|
526
|
+
}>, {
|
|
527
|
+
name: string;
|
|
528
|
+
public_sysinfo?: boolean | undefined;
|
|
529
|
+
public_logs?: boolean | undefined;
|
|
530
|
+
gateway_enabled?: boolean | undefined;
|
|
531
|
+
allowed_envs?: string[] | undefined;
|
|
532
|
+
docker_compose_file?: string | undefined;
|
|
533
|
+
kms_enabled?: boolean | undefined;
|
|
534
|
+
tproxy_enabled?: boolean | undefined;
|
|
535
|
+
pre_launch_script?: string | undefined;
|
|
536
|
+
}, {
|
|
537
|
+
name?: string | undefined;
|
|
538
|
+
public_sysinfo?: boolean | undefined;
|
|
539
|
+
public_logs?: boolean | undefined;
|
|
540
|
+
gateway_enabled?: boolean | undefined;
|
|
541
|
+
allowed_envs?: string[] | undefined;
|
|
503
542
|
docker_compose_file?: string | undefined;
|
|
504
543
|
kms_enabled?: boolean | undefined;
|
|
505
544
|
tproxy_enabled?: boolean | undefined;
|
|
545
|
+
pre_launch_script?: string | undefined;
|
|
506
546
|
}>;
|
|
507
547
|
listed: z.ZodOptional<z.ZodBoolean>;
|
|
508
548
|
kms_id: z.ZodOptional<z.ZodString>;
|
|
@@ -521,7 +561,7 @@ export declare const ProvisionCvmRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
521
561
|
vcpu: z.ZodOptional<z.ZodNumber>;
|
|
522
562
|
memory: z.ZodOptional<z.ZodNumber>;
|
|
523
563
|
disk_size: z.ZodOptional<z.ZodNumber>;
|
|
524
|
-
compose_file: z.ZodObject<{
|
|
564
|
+
compose_file: z.ZodEffects<z.ZodObject<{
|
|
525
565
|
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
526
566
|
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
527
567
|
docker_compose_file: z.ZodOptional<z.ZodString>;
|
|
@@ -537,20 +577,40 @@ export declare const ProvisionCvmRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
537
577
|
public_logs?: boolean | undefined;
|
|
538
578
|
gateway_enabled?: boolean | undefined;
|
|
539
579
|
allowed_envs?: string[] | undefined;
|
|
540
|
-
pre_launch_script?: string | undefined;
|
|
541
580
|
docker_compose_file?: string | undefined;
|
|
542
581
|
kms_enabled?: boolean | undefined;
|
|
543
582
|
tproxy_enabled?: boolean | undefined;
|
|
583
|
+
pre_launch_script?: string | undefined;
|
|
544
584
|
}, {
|
|
545
585
|
name?: string | undefined;
|
|
546
586
|
public_sysinfo?: boolean | undefined;
|
|
547
587
|
public_logs?: boolean | undefined;
|
|
548
588
|
gateway_enabled?: boolean | undefined;
|
|
549
589
|
allowed_envs?: string[] | undefined;
|
|
590
|
+
docker_compose_file?: string | undefined;
|
|
591
|
+
kms_enabled?: boolean | undefined;
|
|
592
|
+
tproxy_enabled?: boolean | undefined;
|
|
550
593
|
pre_launch_script?: string | undefined;
|
|
594
|
+
}>, {
|
|
595
|
+
name: string;
|
|
596
|
+
public_sysinfo?: boolean | undefined;
|
|
597
|
+
public_logs?: boolean | undefined;
|
|
598
|
+
gateway_enabled?: boolean | undefined;
|
|
599
|
+
allowed_envs?: string[] | undefined;
|
|
551
600
|
docker_compose_file?: string | undefined;
|
|
552
601
|
kms_enabled?: boolean | undefined;
|
|
553
602
|
tproxy_enabled?: boolean | undefined;
|
|
603
|
+
pre_launch_script?: string | undefined;
|
|
604
|
+
}, {
|
|
605
|
+
name?: string | undefined;
|
|
606
|
+
public_sysinfo?: boolean | undefined;
|
|
607
|
+
public_logs?: boolean | undefined;
|
|
608
|
+
gateway_enabled?: boolean | undefined;
|
|
609
|
+
allowed_envs?: string[] | undefined;
|
|
610
|
+
docker_compose_file?: string | undefined;
|
|
611
|
+
kms_enabled?: boolean | undefined;
|
|
612
|
+
tproxy_enabled?: boolean | undefined;
|
|
613
|
+
pre_launch_script?: string | undefined;
|
|
554
614
|
}>;
|
|
555
615
|
listed: z.ZodOptional<z.ZodBoolean>;
|
|
556
616
|
kms_id: z.ZodOptional<z.ZodString>;
|
|
@@ -569,7 +629,7 @@ export declare const ProvisionCvmRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
569
629
|
vcpu: z.ZodOptional<z.ZodNumber>;
|
|
570
630
|
memory: z.ZodOptional<z.ZodNumber>;
|
|
571
631
|
disk_size: z.ZodOptional<z.ZodNumber>;
|
|
572
|
-
compose_file: z.ZodObject<{
|
|
632
|
+
compose_file: z.ZodEffects<z.ZodObject<{
|
|
573
633
|
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
574
634
|
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
575
635
|
docker_compose_file: z.ZodOptional<z.ZodString>;
|
|
@@ -585,20 +645,40 @@ export declare const ProvisionCvmRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
585
645
|
public_logs?: boolean | undefined;
|
|
586
646
|
gateway_enabled?: boolean | undefined;
|
|
587
647
|
allowed_envs?: string[] | undefined;
|
|
588
|
-
pre_launch_script?: string | undefined;
|
|
589
648
|
docker_compose_file?: string | undefined;
|
|
590
649
|
kms_enabled?: boolean | undefined;
|
|
591
650
|
tproxy_enabled?: boolean | undefined;
|
|
651
|
+
pre_launch_script?: string | undefined;
|
|
592
652
|
}, {
|
|
593
653
|
name?: string | undefined;
|
|
594
654
|
public_sysinfo?: boolean | undefined;
|
|
595
655
|
public_logs?: boolean | undefined;
|
|
596
656
|
gateway_enabled?: boolean | undefined;
|
|
597
657
|
allowed_envs?: string[] | undefined;
|
|
658
|
+
docker_compose_file?: string | undefined;
|
|
659
|
+
kms_enabled?: boolean | undefined;
|
|
660
|
+
tproxy_enabled?: boolean | undefined;
|
|
661
|
+
pre_launch_script?: string | undefined;
|
|
662
|
+
}>, {
|
|
663
|
+
name: string;
|
|
664
|
+
public_sysinfo?: boolean | undefined;
|
|
665
|
+
public_logs?: boolean | undefined;
|
|
666
|
+
gateway_enabled?: boolean | undefined;
|
|
667
|
+
allowed_envs?: string[] | undefined;
|
|
668
|
+
docker_compose_file?: string | undefined;
|
|
669
|
+
kms_enabled?: boolean | undefined;
|
|
670
|
+
tproxy_enabled?: boolean | undefined;
|
|
598
671
|
pre_launch_script?: string | undefined;
|
|
672
|
+
}, {
|
|
673
|
+
name?: string | undefined;
|
|
674
|
+
public_sysinfo?: boolean | undefined;
|
|
675
|
+
public_logs?: boolean | undefined;
|
|
676
|
+
gateway_enabled?: boolean | undefined;
|
|
677
|
+
allowed_envs?: string[] | undefined;
|
|
599
678
|
docker_compose_file?: string | undefined;
|
|
600
679
|
kms_enabled?: boolean | undefined;
|
|
601
680
|
tproxy_enabled?: boolean | undefined;
|
|
681
|
+
pre_launch_script?: string | undefined;
|
|
602
682
|
}>;
|
|
603
683
|
listed: z.ZodOptional<z.ZodBoolean>;
|
|
604
684
|
kms_id: z.ZodOptional<z.ZodString>;
|
|
@@ -617,7 +697,7 @@ export declare const ProvisionCvmRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
617
697
|
vcpu: z.ZodOptional<z.ZodNumber>;
|
|
618
698
|
memory: z.ZodOptional<z.ZodNumber>;
|
|
619
699
|
disk_size: z.ZodOptional<z.ZodNumber>;
|
|
620
|
-
compose_file: z.ZodObject<{
|
|
700
|
+
compose_file: z.ZodEffects<z.ZodObject<{
|
|
621
701
|
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
622
702
|
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
623
703
|
docker_compose_file: z.ZodOptional<z.ZodString>;
|
|
@@ -633,20 +713,40 @@ export declare const ProvisionCvmRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
633
713
|
public_logs?: boolean | undefined;
|
|
634
714
|
gateway_enabled?: boolean | undefined;
|
|
635
715
|
allowed_envs?: string[] | undefined;
|
|
636
|
-
pre_launch_script?: string | undefined;
|
|
637
716
|
docker_compose_file?: string | undefined;
|
|
638
717
|
kms_enabled?: boolean | undefined;
|
|
639
718
|
tproxy_enabled?: boolean | undefined;
|
|
719
|
+
pre_launch_script?: string | undefined;
|
|
640
720
|
}, {
|
|
641
721
|
name?: string | undefined;
|
|
642
722
|
public_sysinfo?: boolean | undefined;
|
|
643
723
|
public_logs?: boolean | undefined;
|
|
644
724
|
gateway_enabled?: boolean | undefined;
|
|
645
725
|
allowed_envs?: string[] | undefined;
|
|
726
|
+
docker_compose_file?: string | undefined;
|
|
727
|
+
kms_enabled?: boolean | undefined;
|
|
728
|
+
tproxy_enabled?: boolean | undefined;
|
|
729
|
+
pre_launch_script?: string | undefined;
|
|
730
|
+
}>, {
|
|
731
|
+
name: string;
|
|
732
|
+
public_sysinfo?: boolean | undefined;
|
|
733
|
+
public_logs?: boolean | undefined;
|
|
734
|
+
gateway_enabled?: boolean | undefined;
|
|
735
|
+
allowed_envs?: string[] | undefined;
|
|
736
|
+
docker_compose_file?: string | undefined;
|
|
737
|
+
kms_enabled?: boolean | undefined;
|
|
738
|
+
tproxy_enabled?: boolean | undefined;
|
|
646
739
|
pre_launch_script?: string | undefined;
|
|
740
|
+
}, {
|
|
741
|
+
name?: string | undefined;
|
|
742
|
+
public_sysinfo?: boolean | undefined;
|
|
743
|
+
public_logs?: boolean | undefined;
|
|
744
|
+
gateway_enabled?: boolean | undefined;
|
|
745
|
+
allowed_envs?: string[] | undefined;
|
|
647
746
|
docker_compose_file?: string | undefined;
|
|
648
747
|
kms_enabled?: boolean | undefined;
|
|
649
748
|
tproxy_enabled?: boolean | undefined;
|
|
749
|
+
pre_launch_script?: string | undefined;
|
|
650
750
|
}>;
|
|
651
751
|
listed: z.ZodOptional<z.ZodBoolean>;
|
|
652
752
|
kms_id: z.ZodOptional<z.ZodString>;
|