@phala/cloud 0.2.10 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +100 -161
- package/dist/actions/apps/check_app_is_allowed.d.ts +14 -14
- package/dist/actions/apps/create_app_instance.d.ts +22 -22
- package/dist/actions/apps/get_app_attestation.d.ts +43 -33
- package/dist/actions/apps/get_app_device_allowlist.d.ts +51 -50
- package/dist/actions/apps/get_app_list.d.ts +2 -2
- package/dist/actions/cvms/check_cvm_is_allowed.d.ts +40 -102
- package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +12 -12
- package/dist/actions/cvms/commit_cvm_provision.d.ts +11 -135
- package/dist/actions/cvms/commit_cvm_update.d.ts +2 -2
- package/dist/actions/cvms/confirm_cvm_patch.d.ts +2 -2
- package/dist/actions/cvms/delete_cvm.d.ts +2 -2
- package/dist/actions/cvms/get_available_os_images.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_attestation.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +166 -22
- package/dist/actions/cvms/get_cvm_containers_stats.d.ts +10 -10
- package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_info.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_list.d.ts +8 -10
- package/dist/actions/cvms/get_cvm_network.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_state.d.ts +6 -6
- package/dist/actions/cvms/get_cvm_stats.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_status_batch.d.ts +253 -30
- package/dist/actions/cvms/get_cvm_user_config.d.ts +2 -2
- package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +2 -2
- package/dist/actions/cvms/patch_cvm.d.ts +34 -18
- package/dist/actions/cvms/provision_cvm.d.ts +900 -51
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +253 -43
- package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +27 -58
- package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +120 -165
- package/dist/actions/cvms/replicate_cvm.d.ts +7 -72
- package/dist/actions/cvms/restart_cvm.d.ts +7 -72
- package/dist/actions/cvms/shutdown_cvm.d.ts +9 -72
- package/dist/actions/cvms/start_cvm.d.ts +7 -72
- package/dist/actions/cvms/stop_cvm.d.ts +7 -72
- package/dist/actions/cvms/update_cvm_envs.d.ts +36 -20
- package/dist/actions/cvms/update_cvm_resources.d.ts +26 -4
- package/dist/actions/cvms/update_cvm_visibility.d.ts +26 -24
- package/dist/actions/cvms/update_docker_compose.d.ts +51 -20
- package/dist/actions/cvms/update_os_image.d.ts +2 -2
- package/dist/actions/cvms/update_prelaunch_script.d.ts +51 -20
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +36 -20
- package/dist/actions/get_available_nodes.d.ts +259 -0
- package/dist/actions/get_cvm_create_resources.d.ts +351 -0
- package/dist/actions/index.d.ts +6 -2
- package/dist/actions/kms/get_kms_contract.d.ts +59 -0
- package/dist/actions/kms/get_kms_list.d.ts +25 -10
- package/dist/actions/kms/get_kms_onchain_detail.d.ts +54 -0
- package/dist/actions/kms/list_kms_contract_nodes.d.ts +98 -0
- package/dist/actions/kms/list_kms_contracts.d.ts +152 -0
- package/dist/actions/kms/next_app_ids.d.ts +6 -6
- package/dist/actions/list-instance-types.d.ts +12 -12
- package/dist/actions/ssh_keys/create_ssh_key.d.ts +2 -2
- package/dist/actions/ssh_keys/list_ssh_keys.d.ts +4 -4
- package/dist/actions/workspaces/get_workspace.d.ts +4 -0
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +175 -14
- package/dist/actions/workspaces/list_workspaces.d.ts +126 -0
- package/dist/client.d.ts +4 -1
- package/dist/create-client.d.ts +48 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1779 -1250
- package/dist/index.mjs +1704 -1194
- package/dist/types/app_compose.d.ts +50 -5
- package/dist/types/app_info_v20251028.d.ts +172 -128
- package/dist/types/app_info_v20260121.d.ts +2814 -490
- package/dist/types/app_revision.d.ts +8 -8
- package/dist/types/client.d.ts +2 -2
- package/dist/types/cvm_id.d.ts +6 -6
- package/dist/types/cvm_info.d.ts +98 -98
- package/dist/types/cvm_info_v20251028.d.ts +70 -47
- package/dist/types/cvm_info_v20260121.d.ts +1125 -148
- package/dist/types/kms_contract.d.ts +64 -0
- package/dist/types/kms_info.d.ts +8 -0
- package/dist/types/version-mappings.d.ts +43 -6
- package/dist/utils/error_codes.d.ts +1 -0
- package/dist/utils/errors.d.ts +30 -1
- package/dist/utils/get_compose_hash.d.ts +24 -0
- package/dist/utils/get_mr_config_id.d.ts +55 -0
- package/dist/utils/index.d.ts +3 -2
- package/package.json +3 -3
|
@@ -67,6 +67,7 @@ export declare const FamilyGroupSchema: z.ZodObject<{
|
|
|
67
67
|
total: z.ZodNumber;
|
|
68
68
|
}, "strict", z.ZodTypeAny, {
|
|
69
69
|
name: string;
|
|
70
|
+
total: number;
|
|
70
71
|
items: z.objectOutputType<{
|
|
71
72
|
id: z.ZodString;
|
|
72
73
|
name: z.ZodString;
|
|
@@ -78,9 +79,9 @@ export declare const FamilyGroupSchema: z.ZodObject<{
|
|
|
78
79
|
default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
|
|
79
80
|
family: z.ZodNullable<z.ZodString>;
|
|
80
81
|
}, z.ZodTypeAny, "passthrough">[];
|
|
81
|
-
total: number;
|
|
82
82
|
}, {
|
|
83
83
|
name: string;
|
|
84
|
+
total: number;
|
|
84
85
|
items: z.objectInputType<{
|
|
85
86
|
id: z.ZodString;
|
|
86
87
|
name: z.ZodString;
|
|
@@ -92,7 +93,6 @@ export declare const FamilyGroupSchema: z.ZodObject<{
|
|
|
92
93
|
default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
|
|
93
94
|
family: z.ZodNullable<z.ZodString>;
|
|
94
95
|
}, z.ZodTypeAny, "passthrough">[];
|
|
95
|
-
total: number;
|
|
96
96
|
}>;
|
|
97
97
|
export declare const AllFamiliesResponseSchema: z.ZodObject<{
|
|
98
98
|
result: z.ZodArray<z.ZodObject<{
|
|
@@ -131,6 +131,7 @@ export declare const AllFamiliesResponseSchema: z.ZodObject<{
|
|
|
131
131
|
total: z.ZodNumber;
|
|
132
132
|
}, "strict", z.ZodTypeAny, {
|
|
133
133
|
name: string;
|
|
134
|
+
total: number;
|
|
134
135
|
items: z.objectOutputType<{
|
|
135
136
|
id: z.ZodString;
|
|
136
137
|
name: z.ZodString;
|
|
@@ -142,9 +143,9 @@ export declare const AllFamiliesResponseSchema: z.ZodObject<{
|
|
|
142
143
|
default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
|
|
143
144
|
family: z.ZodNullable<z.ZodString>;
|
|
144
145
|
}, z.ZodTypeAny, "passthrough">[];
|
|
145
|
-
total: number;
|
|
146
146
|
}, {
|
|
147
147
|
name: string;
|
|
148
|
+
total: number;
|
|
148
149
|
items: z.objectInputType<{
|
|
149
150
|
id: z.ZodString;
|
|
150
151
|
name: z.ZodString;
|
|
@@ -156,11 +157,11 @@ export declare const AllFamiliesResponseSchema: z.ZodObject<{
|
|
|
156
157
|
default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
|
|
157
158
|
family: z.ZodNullable<z.ZodString>;
|
|
158
159
|
}, z.ZodTypeAny, "passthrough">[];
|
|
159
|
-
total: number;
|
|
160
160
|
}>, "many">;
|
|
161
161
|
}, "strict", z.ZodTypeAny, {
|
|
162
162
|
result: {
|
|
163
163
|
name: string;
|
|
164
|
+
total: number;
|
|
164
165
|
items: z.objectOutputType<{
|
|
165
166
|
id: z.ZodString;
|
|
166
167
|
name: z.ZodString;
|
|
@@ -172,11 +173,11 @@ export declare const AllFamiliesResponseSchema: z.ZodObject<{
|
|
|
172
173
|
default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
|
|
173
174
|
family: z.ZodNullable<z.ZodString>;
|
|
174
175
|
}, z.ZodTypeAny, "passthrough">[];
|
|
175
|
-
total: number;
|
|
176
176
|
}[];
|
|
177
177
|
}, {
|
|
178
178
|
result: {
|
|
179
179
|
name: string;
|
|
180
|
+
total: number;
|
|
180
181
|
items: z.objectInputType<{
|
|
181
182
|
id: z.ZodString;
|
|
182
183
|
name: z.ZodString;
|
|
@@ -188,7 +189,6 @@ export declare const AllFamiliesResponseSchema: z.ZodObject<{
|
|
|
188
189
|
default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
|
|
189
190
|
family: z.ZodNullable<z.ZodString>;
|
|
190
191
|
}, z.ZodTypeAny, "passthrough">[];
|
|
191
|
-
total: number;
|
|
192
192
|
}[];
|
|
193
193
|
}>;
|
|
194
194
|
export declare const FamilyInstanceTypesResponseSchema: z.ZodObject<{
|
|
@@ -226,6 +226,7 @@ export declare const FamilyInstanceTypesResponseSchema: z.ZodObject<{
|
|
|
226
226
|
total: z.ZodNumber;
|
|
227
227
|
family: z.ZodString;
|
|
228
228
|
}, "strict", z.ZodTypeAny, {
|
|
229
|
+
total: number;
|
|
229
230
|
items: z.objectOutputType<{
|
|
230
231
|
id: z.ZodString;
|
|
231
232
|
name: z.ZodString;
|
|
@@ -237,9 +238,9 @@ export declare const FamilyInstanceTypesResponseSchema: z.ZodObject<{
|
|
|
237
238
|
default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
|
|
238
239
|
family: z.ZodNullable<z.ZodString>;
|
|
239
240
|
}, z.ZodTypeAny, "passthrough">[];
|
|
240
|
-
total: number;
|
|
241
241
|
family: string;
|
|
242
242
|
}, {
|
|
243
|
+
total: number;
|
|
243
244
|
items: z.objectInputType<{
|
|
244
245
|
id: z.ZodString;
|
|
245
246
|
name: z.ZodString;
|
|
@@ -251,7 +252,6 @@ export declare const FamilyInstanceTypesResponseSchema: z.ZodObject<{
|
|
|
251
252
|
default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
|
|
252
253
|
family: z.ZodNullable<z.ZodString>;
|
|
253
254
|
}, z.ZodTypeAny, "passthrough">[];
|
|
254
|
-
total: number;
|
|
255
255
|
family: string;
|
|
256
256
|
}>;
|
|
257
257
|
export type InstanceType = z.infer<typeof InstanceTypeSchema>;
|
|
@@ -287,6 +287,7 @@ declare const listAllInstanceTypeFamilies: {
|
|
|
287
287
|
(client: Client<import("..").ApiVersion>, params?: void | undefined): Promise<{
|
|
288
288
|
result: {
|
|
289
289
|
name: string;
|
|
290
|
+
total: number;
|
|
290
291
|
items: z.objectOutputType<{
|
|
291
292
|
id: z.ZodString;
|
|
292
293
|
name: z.ZodString;
|
|
@@ -298,7 +299,6 @@ declare const listAllInstanceTypeFamilies: {
|
|
|
298
299
|
default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
|
|
299
300
|
family: z.ZodNullable<z.ZodString>;
|
|
300
301
|
}, z.ZodTypeAny, "passthrough">[];
|
|
301
|
-
total: number;
|
|
302
302
|
}[];
|
|
303
303
|
}>;
|
|
304
304
|
<T extends z.ZodTypeAny>(client: Client<import("..").ApiVersion>, params?: void | undefined, parameters?: {
|
|
@@ -311,6 +311,7 @@ declare const listAllInstanceTypeFamilies: {
|
|
|
311
311
|
(client: Client<import("..").ApiVersion>, params?: void | undefined): Promise<import("..").SafeResult<{
|
|
312
312
|
result: {
|
|
313
313
|
name: string;
|
|
314
|
+
total: number;
|
|
314
315
|
items: z.objectOutputType<{
|
|
315
316
|
id: z.ZodString;
|
|
316
317
|
name: z.ZodString;
|
|
@@ -322,7 +323,6 @@ declare const listAllInstanceTypeFamilies: {
|
|
|
322
323
|
default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
|
|
323
324
|
family: z.ZodNullable<z.ZodString>;
|
|
324
325
|
}, z.ZodTypeAny, "passthrough">[];
|
|
325
|
-
total: number;
|
|
326
326
|
}[];
|
|
327
327
|
}>>;
|
|
328
328
|
<T extends z.ZodTypeAny>(client: Client<import("..").ApiVersion>, params?: void | undefined, parameters?: {
|
|
@@ -354,6 +354,7 @@ declare const listFamilyInstanceTypes: {
|
|
|
354
354
|
(client: Client<import("..").ApiVersion>, params: {
|
|
355
355
|
family: string;
|
|
356
356
|
}): Promise<{
|
|
357
|
+
total: number;
|
|
357
358
|
items: z.objectOutputType<{
|
|
358
359
|
id: z.ZodString;
|
|
359
360
|
name: z.ZodString;
|
|
@@ -365,7 +366,6 @@ declare const listFamilyInstanceTypes: {
|
|
|
365
366
|
default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
|
|
366
367
|
family: z.ZodNullable<z.ZodString>;
|
|
367
368
|
}, z.ZodTypeAny, "passthrough">[];
|
|
368
|
-
total: number;
|
|
369
369
|
family: string;
|
|
370
370
|
}>;
|
|
371
371
|
<T extends z.ZodTypeAny>(client: Client<import("..").ApiVersion>, params: {
|
|
@@ -382,6 +382,7 @@ declare const listFamilyInstanceTypes: {
|
|
|
382
382
|
(client: Client<import("..").ApiVersion>, params: {
|
|
383
383
|
family: string;
|
|
384
384
|
}): Promise<import("..").SafeResult<{
|
|
385
|
+
total: number;
|
|
385
386
|
items: z.objectOutputType<{
|
|
386
387
|
id: z.ZodString;
|
|
387
388
|
name: z.ZodString;
|
|
@@ -393,7 +394,6 @@ declare const listFamilyInstanceTypes: {
|
|
|
393
394
|
default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
|
|
394
395
|
family: z.ZodNullable<z.ZodString>;
|
|
395
396
|
}, z.ZodTypeAny, "passthrough">[];
|
|
396
|
-
total: number;
|
|
397
397
|
family: string;
|
|
398
398
|
}>>;
|
|
399
399
|
<T extends z.ZodTypeAny>(client: Client<import("..").ApiVersion>, params: {
|
|
@@ -50,9 +50,9 @@ declare const createSshKey: {
|
|
|
50
50
|
name: string;
|
|
51
51
|
id: string;
|
|
52
52
|
source: string;
|
|
53
|
-
updated_at: string;
|
|
54
53
|
created_at: string;
|
|
55
54
|
user_id: string;
|
|
55
|
+
updated_at: string;
|
|
56
56
|
public_key: string;
|
|
57
57
|
fingerprint: string;
|
|
58
58
|
key_type: string;
|
|
@@ -79,9 +79,9 @@ declare const createSshKey: {
|
|
|
79
79
|
name: string;
|
|
80
80
|
id: string;
|
|
81
81
|
source: string;
|
|
82
|
-
updated_at: string;
|
|
83
82
|
created_at: string;
|
|
84
83
|
user_id: string;
|
|
84
|
+
updated_at: string;
|
|
85
85
|
public_key: string;
|
|
86
86
|
fingerprint: string;
|
|
87
87
|
key_type: string;
|
|
@@ -17,9 +17,9 @@ export declare const SshKeySchema: z.ZodObject<{
|
|
|
17
17
|
name: string;
|
|
18
18
|
id: string;
|
|
19
19
|
source: string;
|
|
20
|
-
updated_at: string;
|
|
21
20
|
created_at: string;
|
|
22
21
|
user_id: string;
|
|
22
|
+
updated_at: string;
|
|
23
23
|
public_key: string;
|
|
24
24
|
fingerprint: string;
|
|
25
25
|
key_type: string;
|
|
@@ -29,9 +29,9 @@ export declare const SshKeySchema: z.ZodObject<{
|
|
|
29
29
|
name: string;
|
|
30
30
|
id: string;
|
|
31
31
|
source: string;
|
|
32
|
-
updated_at: string;
|
|
33
32
|
created_at: string;
|
|
34
33
|
user_id: string;
|
|
34
|
+
updated_at: string;
|
|
35
35
|
public_key: string;
|
|
36
36
|
fingerprint: string;
|
|
37
37
|
key_type: string;
|
|
@@ -55,9 +55,9 @@ export declare const ListSshKeysResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
55
55
|
name: string;
|
|
56
56
|
id: string;
|
|
57
57
|
source: string;
|
|
58
|
-
updated_at: string;
|
|
59
58
|
created_at: string;
|
|
60
59
|
user_id: string;
|
|
60
|
+
updated_at: string;
|
|
61
61
|
public_key: string;
|
|
62
62
|
fingerprint: string;
|
|
63
63
|
key_type: string;
|
|
@@ -67,9 +67,9 @@ export declare const ListSshKeysResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
67
67
|
name: string;
|
|
68
68
|
id: string;
|
|
69
69
|
source: string;
|
|
70
|
-
updated_at: string;
|
|
71
70
|
created_at: string;
|
|
72
71
|
user_id: string;
|
|
72
|
+
updated_at: string;
|
|
73
73
|
public_key: string;
|
|
74
74
|
fingerprint: string;
|
|
75
75
|
key_type: string;
|
|
@@ -74,6 +74,8 @@ declare const getWorkspace: {
|
|
|
74
74
|
is_default: z.ZodBoolean;
|
|
75
75
|
created_at: z.ZodString;
|
|
76
76
|
confidential_models_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
billing_status: z.ZodDefault<z.ZodEnum<["active", "suspended", "abandoned"]>>;
|
|
78
|
+
suspended_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
79
|
}, z.ZodTypeAny, "passthrough">>;
|
|
78
80
|
<T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params: string, parameters: {
|
|
79
81
|
schema: T;
|
|
@@ -92,6 +94,8 @@ declare const getWorkspace: {
|
|
|
92
94
|
is_default: z.ZodBoolean;
|
|
93
95
|
created_at: z.ZodString;
|
|
94
96
|
confidential_models_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
billing_status: z.ZodDefault<z.ZodEnum<["active", "suspended", "abandoned"]>>;
|
|
98
|
+
suspended_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
99
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
96
100
|
<T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params: string, parameters: {
|
|
97
101
|
schema: T;
|
|
@@ -69,17 +69,35 @@ export declare const NodeRefSchema: z.ZodObject<{
|
|
|
69
69
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
70
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
71
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
73
|
+
device_id: z.ZodString;
|
|
74
|
+
algorithm_version: z.ZodString;
|
|
75
|
+
enabled: z.ZodBoolean;
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
device_id: string;
|
|
78
|
+
algorithm_version: string;
|
|
79
|
+
enabled: boolean;
|
|
80
|
+
}, {
|
|
81
|
+
device_id: string;
|
|
82
|
+
algorithm_version: string;
|
|
83
|
+
enabled: boolean;
|
|
84
|
+
}>, "many">>;
|
|
72
85
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
86
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
87
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
88
|
}, "strip", z.ZodTypeAny, {
|
|
76
89
|
object_type: "node";
|
|
90
|
+
device_ids: {
|
|
91
|
+
device_id: string;
|
|
92
|
+
algorithm_version: string;
|
|
93
|
+
enabled: boolean;
|
|
94
|
+
}[];
|
|
77
95
|
status?: string | null | undefined;
|
|
78
96
|
name?: string | null | undefined;
|
|
79
97
|
version?: string | null | undefined;
|
|
80
98
|
id?: number | null | undefined;
|
|
81
|
-
region?: string | null | undefined;
|
|
82
99
|
device_id?: string | null | undefined;
|
|
100
|
+
region?: string | null | undefined;
|
|
83
101
|
ppid?: string | null | undefined;
|
|
84
102
|
}, {
|
|
85
103
|
object_type: "node";
|
|
@@ -87,8 +105,13 @@ export declare const NodeRefSchema: z.ZodObject<{
|
|
|
87
105
|
name?: string | null | undefined;
|
|
88
106
|
version?: string | null | undefined;
|
|
89
107
|
id?: number | null | undefined;
|
|
90
|
-
region?: string | null | undefined;
|
|
91
108
|
device_id?: string | null | undefined;
|
|
109
|
+
region?: string | null | undefined;
|
|
110
|
+
device_ids?: {
|
|
111
|
+
device_id: string;
|
|
112
|
+
algorithm_version: string;
|
|
113
|
+
enabled: boolean;
|
|
114
|
+
}[] | undefined;
|
|
92
115
|
ppid?: string | null | undefined;
|
|
93
116
|
}>;
|
|
94
117
|
export declare const NodeInfoSchema: z.ZodObject<{
|
|
@@ -97,17 +120,35 @@ export declare const NodeInfoSchema: z.ZodObject<{
|
|
|
97
120
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
121
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
122
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
124
|
+
device_id: z.ZodString;
|
|
125
|
+
algorithm_version: z.ZodString;
|
|
126
|
+
enabled: z.ZodBoolean;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
device_id: string;
|
|
129
|
+
algorithm_version: string;
|
|
130
|
+
enabled: boolean;
|
|
131
|
+
}, {
|
|
132
|
+
device_id: string;
|
|
133
|
+
algorithm_version: string;
|
|
134
|
+
enabled: boolean;
|
|
135
|
+
}>, "many">>;
|
|
100
136
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
137
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
138
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
103
139
|
}, "strip", z.ZodTypeAny, {
|
|
104
140
|
object_type: "node";
|
|
141
|
+
device_ids: {
|
|
142
|
+
device_id: string;
|
|
143
|
+
algorithm_version: string;
|
|
144
|
+
enabled: boolean;
|
|
145
|
+
}[];
|
|
105
146
|
status?: string | null | undefined;
|
|
106
147
|
name?: string | null | undefined;
|
|
107
148
|
version?: string | null | undefined;
|
|
108
149
|
id?: number | null | undefined;
|
|
109
|
-
region?: string | null | undefined;
|
|
110
150
|
device_id?: string | null | undefined;
|
|
151
|
+
region?: string | null | undefined;
|
|
111
152
|
ppid?: string | null | undefined;
|
|
112
153
|
}, {
|
|
113
154
|
object_type: "node";
|
|
@@ -115,8 +156,13 @@ export declare const NodeInfoSchema: z.ZodObject<{
|
|
|
115
156
|
name?: string | null | undefined;
|
|
116
157
|
version?: string | null | undefined;
|
|
117
158
|
id?: number | null | undefined;
|
|
118
|
-
region?: string | null | undefined;
|
|
119
159
|
device_id?: string | null | undefined;
|
|
160
|
+
region?: string | null | undefined;
|
|
161
|
+
device_ids?: {
|
|
162
|
+
device_id: string;
|
|
163
|
+
algorithm_version: string;
|
|
164
|
+
enabled: boolean;
|
|
165
|
+
}[] | undefined;
|
|
120
166
|
ppid?: string | null | undefined;
|
|
121
167
|
}>;
|
|
122
168
|
export declare const GetWorkspaceNodesSchema: z.ZodObject<{
|
|
@@ -126,17 +172,35 @@ export declare const GetWorkspaceNodesSchema: z.ZodObject<{
|
|
|
126
172
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
127
173
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
128
174
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
175
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
176
|
+
device_id: z.ZodString;
|
|
177
|
+
algorithm_version: z.ZodString;
|
|
178
|
+
enabled: z.ZodBoolean;
|
|
179
|
+
}, "strip", z.ZodTypeAny, {
|
|
180
|
+
device_id: string;
|
|
181
|
+
algorithm_version: string;
|
|
182
|
+
enabled: boolean;
|
|
183
|
+
}, {
|
|
184
|
+
device_id: string;
|
|
185
|
+
algorithm_version: string;
|
|
186
|
+
enabled: boolean;
|
|
187
|
+
}>, "many">>;
|
|
129
188
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
130
189
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
131
190
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
191
|
}, "strip", z.ZodTypeAny, {
|
|
133
192
|
object_type: "node";
|
|
193
|
+
device_ids: {
|
|
194
|
+
device_id: string;
|
|
195
|
+
algorithm_version: string;
|
|
196
|
+
enabled: boolean;
|
|
197
|
+
}[];
|
|
134
198
|
status?: string | null | undefined;
|
|
135
199
|
name?: string | null | undefined;
|
|
136
200
|
version?: string | null | undefined;
|
|
137
201
|
id?: number | null | undefined;
|
|
138
|
-
region?: string | null | undefined;
|
|
139
202
|
device_id?: string | null | undefined;
|
|
203
|
+
region?: string | null | undefined;
|
|
140
204
|
ppid?: string | null | undefined;
|
|
141
205
|
}, {
|
|
142
206
|
object_type: "node";
|
|
@@ -144,8 +208,13 @@ export declare const GetWorkspaceNodesSchema: z.ZodObject<{
|
|
|
144
208
|
name?: string | null | undefined;
|
|
145
209
|
version?: string | null | undefined;
|
|
146
210
|
id?: number | null | undefined;
|
|
147
|
-
region?: string | null | undefined;
|
|
148
211
|
device_id?: string | null | undefined;
|
|
212
|
+
region?: string | null | undefined;
|
|
213
|
+
device_ids?: {
|
|
214
|
+
device_id: string;
|
|
215
|
+
algorithm_version: string;
|
|
216
|
+
enabled: boolean;
|
|
217
|
+
}[] | undefined;
|
|
149
218
|
ppid?: string | null | undefined;
|
|
150
219
|
}>, "many">;
|
|
151
220
|
total: z.ZodNumber;
|
|
@@ -159,17 +228,35 @@ export declare const GetWorkspaceNodesSchema: z.ZodObject<{
|
|
|
159
228
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
160
229
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
161
230
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
231
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
232
|
+
device_id: z.ZodString;
|
|
233
|
+
algorithm_version: z.ZodString;
|
|
234
|
+
enabled: z.ZodBoolean;
|
|
235
|
+
}, "strip", z.ZodTypeAny, {
|
|
236
|
+
device_id: string;
|
|
237
|
+
algorithm_version: string;
|
|
238
|
+
enabled: boolean;
|
|
239
|
+
}, {
|
|
240
|
+
device_id: string;
|
|
241
|
+
algorithm_version: string;
|
|
242
|
+
enabled: boolean;
|
|
243
|
+
}>, "many">>;
|
|
162
244
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
245
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
164
246
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
247
|
}, "strip", z.ZodTypeAny, {
|
|
166
248
|
object_type: "node";
|
|
249
|
+
device_ids: {
|
|
250
|
+
device_id: string;
|
|
251
|
+
algorithm_version: string;
|
|
252
|
+
enabled: boolean;
|
|
253
|
+
}[];
|
|
167
254
|
status?: string | null | undefined;
|
|
168
255
|
name?: string | null | undefined;
|
|
169
256
|
version?: string | null | undefined;
|
|
170
257
|
id?: number | null | undefined;
|
|
171
|
-
region?: string | null | undefined;
|
|
172
258
|
device_id?: string | null | undefined;
|
|
259
|
+
region?: string | null | undefined;
|
|
173
260
|
ppid?: string | null | undefined;
|
|
174
261
|
}, {
|
|
175
262
|
object_type: "node";
|
|
@@ -177,8 +264,13 @@ export declare const GetWorkspaceNodesSchema: z.ZodObject<{
|
|
|
177
264
|
name?: string | null | undefined;
|
|
178
265
|
version?: string | null | undefined;
|
|
179
266
|
id?: number | null | undefined;
|
|
180
|
-
region?: string | null | undefined;
|
|
181
267
|
device_id?: string | null | undefined;
|
|
268
|
+
region?: string | null | undefined;
|
|
269
|
+
device_ids?: {
|
|
270
|
+
device_id: string;
|
|
271
|
+
algorithm_version: string;
|
|
272
|
+
enabled: boolean;
|
|
273
|
+
}[] | undefined;
|
|
182
274
|
ppid?: string | null | undefined;
|
|
183
275
|
}>, "many">;
|
|
184
276
|
total: z.ZodNumber;
|
|
@@ -192,17 +284,35 @@ export declare const GetWorkspaceNodesSchema: z.ZodObject<{
|
|
|
192
284
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
193
285
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
286
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
287
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
288
|
+
device_id: z.ZodString;
|
|
289
|
+
algorithm_version: z.ZodString;
|
|
290
|
+
enabled: z.ZodBoolean;
|
|
291
|
+
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
device_id: string;
|
|
293
|
+
algorithm_version: string;
|
|
294
|
+
enabled: boolean;
|
|
295
|
+
}, {
|
|
296
|
+
device_id: string;
|
|
297
|
+
algorithm_version: string;
|
|
298
|
+
enabled: boolean;
|
|
299
|
+
}>, "many">>;
|
|
195
300
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
196
301
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
197
302
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
303
|
}, "strip", z.ZodTypeAny, {
|
|
199
304
|
object_type: "node";
|
|
305
|
+
device_ids: {
|
|
306
|
+
device_id: string;
|
|
307
|
+
algorithm_version: string;
|
|
308
|
+
enabled: boolean;
|
|
309
|
+
}[];
|
|
200
310
|
status?: string | null | undefined;
|
|
201
311
|
name?: string | null | undefined;
|
|
202
312
|
version?: string | null | undefined;
|
|
203
313
|
id?: number | null | undefined;
|
|
204
|
-
region?: string | null | undefined;
|
|
205
314
|
device_id?: string | null | undefined;
|
|
315
|
+
region?: string | null | undefined;
|
|
206
316
|
ppid?: string | null | undefined;
|
|
207
317
|
}, {
|
|
208
318
|
object_type: "node";
|
|
@@ -210,8 +320,13 @@ export declare const GetWorkspaceNodesSchema: z.ZodObject<{
|
|
|
210
320
|
name?: string | null | undefined;
|
|
211
321
|
version?: string | null | undefined;
|
|
212
322
|
id?: number | null | undefined;
|
|
213
|
-
region?: string | null | undefined;
|
|
214
323
|
device_id?: string | null | undefined;
|
|
324
|
+
region?: string | null | undefined;
|
|
325
|
+
device_ids?: {
|
|
326
|
+
device_id: string;
|
|
327
|
+
algorithm_version: string;
|
|
328
|
+
enabled: boolean;
|
|
329
|
+
}[] | undefined;
|
|
215
330
|
ppid?: string | null | undefined;
|
|
216
331
|
}>, "many">;
|
|
217
332
|
total: z.ZodNumber;
|
|
@@ -235,17 +350,35 @@ declare const getWorkspaceNodes: {
|
|
|
235
350
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
236
351
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
352
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
353
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
354
|
+
device_id: z.ZodString;
|
|
355
|
+
algorithm_version: z.ZodString;
|
|
356
|
+
enabled: z.ZodBoolean;
|
|
357
|
+
}, "strip", z.ZodTypeAny, {
|
|
358
|
+
device_id: string;
|
|
359
|
+
algorithm_version: string;
|
|
360
|
+
enabled: boolean;
|
|
361
|
+
}, {
|
|
362
|
+
device_id: string;
|
|
363
|
+
algorithm_version: string;
|
|
364
|
+
enabled: boolean;
|
|
365
|
+
}>, "many">>;
|
|
238
366
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
239
367
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
240
368
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
241
369
|
}, "strip", z.ZodTypeAny, {
|
|
242
370
|
object_type: "node";
|
|
371
|
+
device_ids: {
|
|
372
|
+
device_id: string;
|
|
373
|
+
algorithm_version: string;
|
|
374
|
+
enabled: boolean;
|
|
375
|
+
}[];
|
|
243
376
|
status?: string | null | undefined;
|
|
244
377
|
name?: string | null | undefined;
|
|
245
378
|
version?: string | null | undefined;
|
|
246
379
|
id?: number | null | undefined;
|
|
247
|
-
region?: string | null | undefined;
|
|
248
380
|
device_id?: string | null | undefined;
|
|
381
|
+
region?: string | null | undefined;
|
|
249
382
|
ppid?: string | null | undefined;
|
|
250
383
|
}, {
|
|
251
384
|
object_type: "node";
|
|
@@ -253,8 +386,13 @@ declare const getWorkspaceNodes: {
|
|
|
253
386
|
name?: string | null | undefined;
|
|
254
387
|
version?: string | null | undefined;
|
|
255
388
|
id?: number | null | undefined;
|
|
256
|
-
region?: string | null | undefined;
|
|
257
389
|
device_id?: string | null | undefined;
|
|
390
|
+
region?: string | null | undefined;
|
|
391
|
+
device_ids?: {
|
|
392
|
+
device_id: string;
|
|
393
|
+
algorithm_version: string;
|
|
394
|
+
enabled: boolean;
|
|
395
|
+
}[] | undefined;
|
|
258
396
|
ppid?: string | null | undefined;
|
|
259
397
|
}>, "many">;
|
|
260
398
|
total: z.ZodNumber;
|
|
@@ -276,17 +414,35 @@ declare const getWorkspaceNodes: {
|
|
|
276
414
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
277
415
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
278
416
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
417
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
418
|
+
device_id: z.ZodString;
|
|
419
|
+
algorithm_version: z.ZodString;
|
|
420
|
+
enabled: z.ZodBoolean;
|
|
421
|
+
}, "strip", z.ZodTypeAny, {
|
|
422
|
+
device_id: string;
|
|
423
|
+
algorithm_version: string;
|
|
424
|
+
enabled: boolean;
|
|
425
|
+
}, {
|
|
426
|
+
device_id: string;
|
|
427
|
+
algorithm_version: string;
|
|
428
|
+
enabled: boolean;
|
|
429
|
+
}>, "many">>;
|
|
279
430
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
280
431
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
281
432
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
282
433
|
}, "strip", z.ZodTypeAny, {
|
|
283
434
|
object_type: "node";
|
|
435
|
+
device_ids: {
|
|
436
|
+
device_id: string;
|
|
437
|
+
algorithm_version: string;
|
|
438
|
+
enabled: boolean;
|
|
439
|
+
}[];
|
|
284
440
|
status?: string | null | undefined;
|
|
285
441
|
name?: string | null | undefined;
|
|
286
442
|
version?: string | null | undefined;
|
|
287
443
|
id?: number | null | undefined;
|
|
288
|
-
region?: string | null | undefined;
|
|
289
444
|
device_id?: string | null | undefined;
|
|
445
|
+
region?: string | null | undefined;
|
|
290
446
|
ppid?: string | null | undefined;
|
|
291
447
|
}, {
|
|
292
448
|
object_type: "node";
|
|
@@ -294,8 +450,13 @@ declare const getWorkspaceNodes: {
|
|
|
294
450
|
name?: string | null | undefined;
|
|
295
451
|
version?: string | null | undefined;
|
|
296
452
|
id?: number | null | undefined;
|
|
297
|
-
region?: string | null | undefined;
|
|
298
453
|
device_id?: string | null | undefined;
|
|
454
|
+
region?: string | null | undefined;
|
|
455
|
+
device_ids?: {
|
|
456
|
+
device_id: string;
|
|
457
|
+
algorithm_version: string;
|
|
458
|
+
enabled: boolean;
|
|
459
|
+
}[] | undefined;
|
|
299
460
|
ppid?: string | null | undefined;
|
|
300
461
|
}>, "many">;
|
|
301
462
|
total: z.ZodNumber;
|