@phala/cloud 0.3.0 → 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/get_app_attestation.d.ts +17 -7
- package/dist/actions/cvms/commit_cvm_provision.d.ts +6 -0
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +156 -12
- package/dist/actions/cvms/get_cvm_list.d.ts +8 -10
- package/dist/actions/cvms/get_cvm_status_batch.d.ts +247 -24
- package/dist/actions/cvms/patch_cvm.d.ts +16 -0
- package/dist/actions/cvms/provision_cvm.d.ts +900 -51
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +215 -5
- package/dist/actions/cvms/update_cvm_envs.d.ts +16 -0
- package/dist/actions/cvms/update_cvm_resources.d.ts +24 -2
- package/dist/actions/cvms/update_cvm_visibility.d.ts +2 -0
- package/dist/actions/cvms/update_docker_compose.d.ts +31 -0
- package/dist/actions/cvms/update_prelaunch_script.d.ts +31 -0
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +16 -0
- 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 +15 -0
- 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/workspaces/get_workspace.d.ts +4 -0
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +161 -0
- 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 +1527 -1207
- package/dist/index.mjs +1452 -1151
- package/dist/types/app_compose.d.ts +50 -5
- package/dist/types/app_info_v20251028.d.ts +44 -0
- package/dist/types/app_info_v20260121.d.ts +2324 -0
- package/dist/types/client.d.ts +2 -2
- package/dist/types/cvm_info_v20251028.d.ts +23 -0
- package/dist/types/cvm_info_v20260121.d.ts +977 -0
- 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 +6 -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
|
@@ -66,6 +66,61 @@ export declare const CvmResourceInfoV20260121Schema: z.ZodObject<{
|
|
|
66
66
|
compute_billing_price?: string | null | undefined;
|
|
67
67
|
}>;
|
|
68
68
|
export type CvmResourceInfoV20260121 = z.infer<typeof CvmResourceInfoV20260121Schema>;
|
|
69
|
+
export declare const CvmHourlyRateV20260121Schema: z.ZodObject<{
|
|
70
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
total?: string | null | undefined;
|
|
75
|
+
compute?: string | null | undefined;
|
|
76
|
+
disk?: string | null | undefined;
|
|
77
|
+
}, {
|
|
78
|
+
total?: string | null | undefined;
|
|
79
|
+
compute?: string | null | undefined;
|
|
80
|
+
disk?: string | null | undefined;
|
|
81
|
+
}>;
|
|
82
|
+
export type CvmHourlyRateV20260121 = z.infer<typeof CvmHourlyRateV20260121Schema>;
|
|
83
|
+
export declare const CvmGpuRentalOrderInfoV20260121Schema: z.ZodObject<{
|
|
84
|
+
order_id: z.ZodString;
|
|
85
|
+
status: z.ZodString;
|
|
86
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
88
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
status: string;
|
|
98
|
+
order_id: string;
|
|
99
|
+
pricing_plan?: string | null | undefined;
|
|
100
|
+
commitment_days?: number | null | undefined;
|
|
101
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
102
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
103
|
+
activated_at?: string | null | undefined;
|
|
104
|
+
completed_at?: string | null | undefined;
|
|
105
|
+
cancelled_at?: string | null | undefined;
|
|
106
|
+
decoupled_at?: string | null | undefined;
|
|
107
|
+
sku_code?: string | null | undefined;
|
|
108
|
+
sku_display_name?: string | null | undefined;
|
|
109
|
+
}, {
|
|
110
|
+
status: string;
|
|
111
|
+
order_id: string;
|
|
112
|
+
pricing_plan?: string | null | undefined;
|
|
113
|
+
commitment_days?: number | null | undefined;
|
|
114
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
115
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
116
|
+
activated_at?: string | null | undefined;
|
|
117
|
+
completed_at?: string | null | undefined;
|
|
118
|
+
cancelled_at?: string | null | undefined;
|
|
119
|
+
decoupled_at?: string | null | undefined;
|
|
120
|
+
sku_code?: string | null | undefined;
|
|
121
|
+
sku_display_name?: string | null | undefined;
|
|
122
|
+
}>;
|
|
123
|
+
export type CvmGpuRentalOrderInfoV20260121 = z.infer<typeof CvmGpuRentalOrderInfoV20260121Schema>;
|
|
69
124
|
export declare const CvmOsInfoV20260121Schema: z.ZodObject<{
|
|
70
125
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
126
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -162,17 +217,49 @@ export declare const CvmLogUrlsV20260121Schema: z.ZodObject<{
|
|
|
162
217
|
container_log_base?: string | null | undefined;
|
|
163
218
|
}>;
|
|
164
219
|
export type CvmLogUrlsV20260121 = z.infer<typeof CvmLogUrlsV20260121Schema>;
|
|
220
|
+
export declare const DeviceIdEntrySchema: z.ZodObject<{
|
|
221
|
+
device_id: z.ZodString;
|
|
222
|
+
algorithm_version: z.ZodString;
|
|
223
|
+
enabled: z.ZodBoolean;
|
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
|
225
|
+
device_id: string;
|
|
226
|
+
algorithm_version: string;
|
|
227
|
+
enabled: boolean;
|
|
228
|
+
}, {
|
|
229
|
+
device_id: string;
|
|
230
|
+
algorithm_version: string;
|
|
231
|
+
enabled: boolean;
|
|
232
|
+
}>;
|
|
233
|
+
export type DeviceIdEntry = z.infer<typeof DeviceIdEntrySchema>;
|
|
165
234
|
export declare const NodeRefSchema: z.ZodObject<{
|
|
166
235
|
object_type: z.ZodLiteral<"node">;
|
|
167
236
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
168
237
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
169
238
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
170
239
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
240
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
241
|
+
device_id: z.ZodString;
|
|
242
|
+
algorithm_version: z.ZodString;
|
|
243
|
+
enabled: z.ZodBoolean;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
device_id: string;
|
|
246
|
+
algorithm_version: string;
|
|
247
|
+
enabled: boolean;
|
|
248
|
+
}, {
|
|
249
|
+
device_id: string;
|
|
250
|
+
algorithm_version: string;
|
|
251
|
+
enabled: boolean;
|
|
252
|
+
}>, "many">>;
|
|
171
253
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
172
254
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
173
255
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
174
256
|
}, "strip", z.ZodTypeAny, {
|
|
175
257
|
object_type: "node";
|
|
258
|
+
device_ids: {
|
|
259
|
+
device_id: string;
|
|
260
|
+
algorithm_version: string;
|
|
261
|
+
enabled: boolean;
|
|
262
|
+
}[];
|
|
176
263
|
status?: string | null | undefined;
|
|
177
264
|
name?: string | null | undefined;
|
|
178
265
|
version?: string | null | undefined;
|
|
@@ -188,6 +275,11 @@ export declare const NodeRefSchema: z.ZodObject<{
|
|
|
188
275
|
id?: number | null | undefined;
|
|
189
276
|
device_id?: string | null | undefined;
|
|
190
277
|
region?: string | null | undefined;
|
|
278
|
+
device_ids?: {
|
|
279
|
+
device_id: string;
|
|
280
|
+
algorithm_version: string;
|
|
281
|
+
enabled: boolean;
|
|
282
|
+
}[] | undefined;
|
|
191
283
|
ppid?: string | null | undefined;
|
|
192
284
|
}>;
|
|
193
285
|
export type NodeRef = z.infer<typeof NodeRefSchema>;
|
|
@@ -197,11 +289,29 @@ export declare const CvmNodeInfoV20260121Schema: z.ZodObject<{
|
|
|
197
289
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
290
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
291
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
292
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
293
|
+
device_id: z.ZodString;
|
|
294
|
+
algorithm_version: z.ZodString;
|
|
295
|
+
enabled: z.ZodBoolean;
|
|
296
|
+
}, "strip", z.ZodTypeAny, {
|
|
297
|
+
device_id: string;
|
|
298
|
+
algorithm_version: string;
|
|
299
|
+
enabled: boolean;
|
|
300
|
+
}, {
|
|
301
|
+
device_id: string;
|
|
302
|
+
algorithm_version: string;
|
|
303
|
+
enabled: boolean;
|
|
304
|
+
}>, "many">>;
|
|
200
305
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
201
306
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
202
307
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
203
308
|
}, "strip", z.ZodTypeAny, {
|
|
204
309
|
object_type: "node";
|
|
310
|
+
device_ids: {
|
|
311
|
+
device_id: string;
|
|
312
|
+
algorithm_version: string;
|
|
313
|
+
enabled: boolean;
|
|
314
|
+
}[];
|
|
205
315
|
status?: string | null | undefined;
|
|
206
316
|
name?: string | null | undefined;
|
|
207
317
|
version?: string | null | undefined;
|
|
@@ -217,6 +327,11 @@ export declare const CvmNodeInfoV20260121Schema: z.ZodObject<{
|
|
|
217
327
|
id?: number | null | undefined;
|
|
218
328
|
device_id?: string | null | undefined;
|
|
219
329
|
region?: string | null | undefined;
|
|
330
|
+
device_ids?: {
|
|
331
|
+
device_id: string;
|
|
332
|
+
algorithm_version: string;
|
|
333
|
+
enabled: boolean;
|
|
334
|
+
}[] | undefined;
|
|
220
335
|
ppid?: string | null | undefined;
|
|
221
336
|
}>;
|
|
222
337
|
export type CvmNodeInfoV20260121 = NodeRef;
|
|
@@ -257,11 +372,29 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
257
372
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
258
373
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
259
374
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
375
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
376
|
+
device_id: z.ZodString;
|
|
377
|
+
algorithm_version: z.ZodString;
|
|
378
|
+
enabled: z.ZodBoolean;
|
|
379
|
+
}, "strip", z.ZodTypeAny, {
|
|
380
|
+
device_id: string;
|
|
381
|
+
algorithm_version: string;
|
|
382
|
+
enabled: boolean;
|
|
383
|
+
}, {
|
|
384
|
+
device_id: string;
|
|
385
|
+
algorithm_version: string;
|
|
386
|
+
enabled: boolean;
|
|
387
|
+
}>, "many">>;
|
|
260
388
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
261
389
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
262
390
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
263
391
|
}, "strip", z.ZodTypeAny, {
|
|
264
392
|
object_type: "node";
|
|
393
|
+
device_ids: {
|
|
394
|
+
device_id: string;
|
|
395
|
+
algorithm_version: string;
|
|
396
|
+
enabled: boolean;
|
|
397
|
+
}[];
|
|
265
398
|
status?: string | null | undefined;
|
|
266
399
|
name?: string | null | undefined;
|
|
267
400
|
version?: string | null | undefined;
|
|
@@ -277,6 +410,11 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
277
410
|
id?: number | null | undefined;
|
|
278
411
|
device_id?: string | null | undefined;
|
|
279
412
|
region?: string | null | undefined;
|
|
413
|
+
device_ids?: {
|
|
414
|
+
device_id: string;
|
|
415
|
+
algorithm_version: string;
|
|
416
|
+
enabled: boolean;
|
|
417
|
+
}[] | undefined;
|
|
280
418
|
ppid?: string | null | undefined;
|
|
281
419
|
}>>>;
|
|
282
420
|
os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -432,6 +570,60 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
432
570
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
433
571
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
434
572
|
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
573
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
574
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
575
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
576
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
577
|
+
}, "strip", z.ZodTypeAny, {
|
|
578
|
+
total?: string | null | undefined;
|
|
579
|
+
compute?: string | null | undefined;
|
|
580
|
+
disk?: string | null | undefined;
|
|
581
|
+
}, {
|
|
582
|
+
total?: string | null | undefined;
|
|
583
|
+
compute?: string | null | undefined;
|
|
584
|
+
disk?: string | null | undefined;
|
|
585
|
+
}>>>;
|
|
586
|
+
billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
587
|
+
gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
588
|
+
order_id: z.ZodString;
|
|
589
|
+
status: z.ZodString;
|
|
590
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
591
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
592
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
593
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
594
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
595
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
596
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
597
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
598
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
599
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
600
|
+
}, "strip", z.ZodTypeAny, {
|
|
601
|
+
status: string;
|
|
602
|
+
order_id: string;
|
|
603
|
+
pricing_plan?: string | null | undefined;
|
|
604
|
+
commitment_days?: number | null | undefined;
|
|
605
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
606
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
607
|
+
activated_at?: string | null | undefined;
|
|
608
|
+
completed_at?: string | null | undefined;
|
|
609
|
+
cancelled_at?: string | null | undefined;
|
|
610
|
+
decoupled_at?: string | null | undefined;
|
|
611
|
+
sku_code?: string | null | undefined;
|
|
612
|
+
sku_display_name?: string | null | undefined;
|
|
613
|
+
}, {
|
|
614
|
+
status: string;
|
|
615
|
+
order_id: string;
|
|
616
|
+
pricing_plan?: string | null | undefined;
|
|
617
|
+
commitment_days?: number | null | undefined;
|
|
618
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
619
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
620
|
+
activated_at?: string | null | undefined;
|
|
621
|
+
completed_at?: string | null | undefined;
|
|
622
|
+
cancelled_at?: string | null | undefined;
|
|
623
|
+
decoupled_at?: string | null | undefined;
|
|
624
|
+
sku_code?: string | null | undefined;
|
|
625
|
+
sku_display_name?: string | null | undefined;
|
|
626
|
+
}>>>;
|
|
435
627
|
}, "strip", z.ZodTypeAny, {
|
|
436
628
|
status: string;
|
|
437
629
|
name: string;
|
|
@@ -484,6 +676,11 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
484
676
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
485
677
|
node_info?: {
|
|
486
678
|
object_type: "node";
|
|
679
|
+
device_ids: {
|
|
680
|
+
device_id: string;
|
|
681
|
+
algorithm_version: string;
|
|
682
|
+
enabled: boolean;
|
|
683
|
+
}[];
|
|
487
684
|
status?: string | null | undefined;
|
|
488
685
|
name?: string | null | undefined;
|
|
489
686
|
version?: string | null | undefined;
|
|
@@ -520,6 +717,26 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
520
717
|
avatar_url?: string | null | undefined;
|
|
521
718
|
} | null | undefined;
|
|
522
719
|
deleted_at?: string | null | undefined;
|
|
720
|
+
hourly_rate?: {
|
|
721
|
+
total?: string | null | undefined;
|
|
722
|
+
compute?: string | null | undefined;
|
|
723
|
+
disk?: string | null | undefined;
|
|
724
|
+
} | null | undefined;
|
|
725
|
+
billing_interval?: string | null | undefined;
|
|
726
|
+
gpu_rental_order?: {
|
|
727
|
+
status: string;
|
|
728
|
+
order_id: string;
|
|
729
|
+
pricing_plan?: string | null | undefined;
|
|
730
|
+
commitment_days?: number | null | undefined;
|
|
731
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
732
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
733
|
+
activated_at?: string | null | undefined;
|
|
734
|
+
completed_at?: string | null | undefined;
|
|
735
|
+
cancelled_at?: string | null | undefined;
|
|
736
|
+
decoupled_at?: string | null | undefined;
|
|
737
|
+
sku_code?: string | null | undefined;
|
|
738
|
+
sku_display_name?: string | null | undefined;
|
|
739
|
+
} | null | undefined;
|
|
523
740
|
}, {
|
|
524
741
|
status: string;
|
|
525
742
|
name: string;
|
|
@@ -571,6 +788,11 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
571
788
|
id?: number | null | undefined;
|
|
572
789
|
device_id?: string | null | undefined;
|
|
573
790
|
region?: string | null | undefined;
|
|
791
|
+
device_ids?: {
|
|
792
|
+
device_id: string;
|
|
793
|
+
algorithm_version: string;
|
|
794
|
+
enabled: boolean;
|
|
795
|
+
}[] | undefined;
|
|
574
796
|
ppid?: string | null | undefined;
|
|
575
797
|
} | null | undefined;
|
|
576
798
|
os?: {
|
|
@@ -608,6 +830,26 @@ export declare const CvmInfoV20260121Schema: z.ZodObject<{
|
|
|
608
830
|
avatar_url?: string | null | undefined;
|
|
609
831
|
} | null | undefined;
|
|
610
832
|
deleted_at?: string | null | undefined;
|
|
833
|
+
hourly_rate?: {
|
|
834
|
+
total?: string | null | undefined;
|
|
835
|
+
compute?: string | null | undefined;
|
|
836
|
+
disk?: string | null | undefined;
|
|
837
|
+
} | null | undefined;
|
|
838
|
+
billing_interval?: string | null | undefined;
|
|
839
|
+
gpu_rental_order?: {
|
|
840
|
+
status: string;
|
|
841
|
+
order_id: string;
|
|
842
|
+
pricing_plan?: string | null | undefined;
|
|
843
|
+
commitment_days?: number | null | undefined;
|
|
844
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
845
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
846
|
+
activated_at?: string | null | undefined;
|
|
847
|
+
completed_at?: string | null | undefined;
|
|
848
|
+
cancelled_at?: string | null | undefined;
|
|
849
|
+
decoupled_at?: string | null | undefined;
|
|
850
|
+
sku_code?: string | null | undefined;
|
|
851
|
+
sku_display_name?: string | null | undefined;
|
|
852
|
+
} | null | undefined;
|
|
611
853
|
}>;
|
|
612
854
|
export type CvmInfoV20260121 = z.infer<typeof CvmInfoV20260121Schema>;
|
|
613
855
|
export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
@@ -646,11 +888,29 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
646
888
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
647
889
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
648
890
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
891
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
892
|
+
device_id: z.ZodString;
|
|
893
|
+
algorithm_version: z.ZodString;
|
|
894
|
+
enabled: z.ZodBoolean;
|
|
895
|
+
}, "strip", z.ZodTypeAny, {
|
|
896
|
+
device_id: string;
|
|
897
|
+
algorithm_version: string;
|
|
898
|
+
enabled: boolean;
|
|
899
|
+
}, {
|
|
900
|
+
device_id: string;
|
|
901
|
+
algorithm_version: string;
|
|
902
|
+
enabled: boolean;
|
|
903
|
+
}>, "many">>;
|
|
649
904
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
650
905
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
651
906
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
652
907
|
}, "strip", z.ZodTypeAny, {
|
|
653
908
|
object_type: "node";
|
|
909
|
+
device_ids: {
|
|
910
|
+
device_id: string;
|
|
911
|
+
algorithm_version: string;
|
|
912
|
+
enabled: boolean;
|
|
913
|
+
}[];
|
|
654
914
|
status?: string | null | undefined;
|
|
655
915
|
name?: string | null | undefined;
|
|
656
916
|
version?: string | null | undefined;
|
|
@@ -666,6 +926,11 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
666
926
|
id?: number | null | undefined;
|
|
667
927
|
device_id?: string | null | undefined;
|
|
668
928
|
region?: string | null | undefined;
|
|
929
|
+
device_ids?: {
|
|
930
|
+
device_id: string;
|
|
931
|
+
algorithm_version: string;
|
|
932
|
+
enabled: boolean;
|
|
933
|
+
}[] | undefined;
|
|
669
934
|
ppid?: string | null | undefined;
|
|
670
935
|
}>>>;
|
|
671
936
|
os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -821,6 +1086,60 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
821
1086
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
822
1087
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
823
1088
|
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1089
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1090
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1091
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1092
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1093
|
+
}, "strip", z.ZodTypeAny, {
|
|
1094
|
+
total?: string | null | undefined;
|
|
1095
|
+
compute?: string | null | undefined;
|
|
1096
|
+
disk?: string | null | undefined;
|
|
1097
|
+
}, {
|
|
1098
|
+
total?: string | null | undefined;
|
|
1099
|
+
compute?: string | null | undefined;
|
|
1100
|
+
disk?: string | null | undefined;
|
|
1101
|
+
}>>>;
|
|
1102
|
+
billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1103
|
+
gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1104
|
+
order_id: z.ZodString;
|
|
1105
|
+
status: z.ZodString;
|
|
1106
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1107
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1108
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1109
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1110
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1111
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1112
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1113
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1114
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1115
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1116
|
+
}, "strip", z.ZodTypeAny, {
|
|
1117
|
+
status: string;
|
|
1118
|
+
order_id: string;
|
|
1119
|
+
pricing_plan?: string | null | undefined;
|
|
1120
|
+
commitment_days?: number | null | undefined;
|
|
1121
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1122
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1123
|
+
activated_at?: string | null | undefined;
|
|
1124
|
+
completed_at?: string | null | undefined;
|
|
1125
|
+
cancelled_at?: string | null | undefined;
|
|
1126
|
+
decoupled_at?: string | null | undefined;
|
|
1127
|
+
sku_code?: string | null | undefined;
|
|
1128
|
+
sku_display_name?: string | null | undefined;
|
|
1129
|
+
}, {
|
|
1130
|
+
status: string;
|
|
1131
|
+
order_id: string;
|
|
1132
|
+
pricing_plan?: string | null | undefined;
|
|
1133
|
+
commitment_days?: number | null | undefined;
|
|
1134
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1135
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1136
|
+
activated_at?: string | null | undefined;
|
|
1137
|
+
completed_at?: string | null | undefined;
|
|
1138
|
+
cancelled_at?: string | null | undefined;
|
|
1139
|
+
decoupled_at?: string | null | undefined;
|
|
1140
|
+
sku_code?: string | null | undefined;
|
|
1141
|
+
sku_display_name?: string | null | undefined;
|
|
1142
|
+
}>>>;
|
|
824
1143
|
} & {
|
|
825
1144
|
id: z.ZodString;
|
|
826
1145
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -875,6 +1194,11 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
875
1194
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
876
1195
|
node_info?: {
|
|
877
1196
|
object_type: "node";
|
|
1197
|
+
device_ids: {
|
|
1198
|
+
device_id: string;
|
|
1199
|
+
algorithm_version: string;
|
|
1200
|
+
enabled: boolean;
|
|
1201
|
+
}[];
|
|
878
1202
|
status?: string | null | undefined;
|
|
879
1203
|
name?: string | null | undefined;
|
|
880
1204
|
version?: string | null | undefined;
|
|
@@ -911,6 +1235,26 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
911
1235
|
avatar_url?: string | null | undefined;
|
|
912
1236
|
} | null | undefined;
|
|
913
1237
|
deleted_at?: string | null | undefined;
|
|
1238
|
+
hourly_rate?: {
|
|
1239
|
+
total?: string | null | undefined;
|
|
1240
|
+
compute?: string | null | undefined;
|
|
1241
|
+
disk?: string | null | undefined;
|
|
1242
|
+
} | null | undefined;
|
|
1243
|
+
billing_interval?: string | null | undefined;
|
|
1244
|
+
gpu_rental_order?: {
|
|
1245
|
+
status: string;
|
|
1246
|
+
order_id: string;
|
|
1247
|
+
pricing_plan?: string | null | undefined;
|
|
1248
|
+
commitment_days?: number | null | undefined;
|
|
1249
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1250
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1251
|
+
activated_at?: string | null | undefined;
|
|
1252
|
+
completed_at?: string | null | undefined;
|
|
1253
|
+
cancelled_at?: string | null | undefined;
|
|
1254
|
+
decoupled_at?: string | null | undefined;
|
|
1255
|
+
sku_code?: string | null | undefined;
|
|
1256
|
+
sku_display_name?: string | null | undefined;
|
|
1257
|
+
} | null | undefined;
|
|
914
1258
|
}, {
|
|
915
1259
|
status: string;
|
|
916
1260
|
name: string;
|
|
@@ -962,6 +1306,11 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
962
1306
|
id?: number | null | undefined;
|
|
963
1307
|
device_id?: string | null | undefined;
|
|
964
1308
|
region?: string | null | undefined;
|
|
1309
|
+
device_ids?: {
|
|
1310
|
+
device_id: string;
|
|
1311
|
+
algorithm_version: string;
|
|
1312
|
+
enabled: boolean;
|
|
1313
|
+
}[] | undefined;
|
|
965
1314
|
ppid?: string | null | undefined;
|
|
966
1315
|
} | null | undefined;
|
|
967
1316
|
os?: {
|
|
@@ -999,6 +1348,26 @@ export declare const CvmInfoV20260522Schema: z.ZodObject<{
|
|
|
999
1348
|
avatar_url?: string | null | undefined;
|
|
1000
1349
|
} | null | undefined;
|
|
1001
1350
|
deleted_at?: string | null | undefined;
|
|
1351
|
+
hourly_rate?: {
|
|
1352
|
+
total?: string | null | undefined;
|
|
1353
|
+
compute?: string | null | undefined;
|
|
1354
|
+
disk?: string | null | undefined;
|
|
1355
|
+
} | null | undefined;
|
|
1356
|
+
billing_interval?: string | null | undefined;
|
|
1357
|
+
gpu_rental_order?: {
|
|
1358
|
+
status: string;
|
|
1359
|
+
order_id: string;
|
|
1360
|
+
pricing_plan?: string | null | undefined;
|
|
1361
|
+
commitment_days?: number | null | undefined;
|
|
1362
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1363
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1364
|
+
activated_at?: string | null | undefined;
|
|
1365
|
+
completed_at?: string | null | undefined;
|
|
1366
|
+
cancelled_at?: string | null | undefined;
|
|
1367
|
+
decoupled_at?: string | null | undefined;
|
|
1368
|
+
sku_code?: string | null | undefined;
|
|
1369
|
+
sku_display_name?: string | null | undefined;
|
|
1370
|
+
} | null | undefined;
|
|
1002
1371
|
}>;
|
|
1003
1372
|
export type CvmInfoV20260522 = z.infer<typeof CvmInfoV20260522Schema>;
|
|
1004
1373
|
export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
@@ -1038,11 +1407,29 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1038
1407
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1039
1408
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1040
1409
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1410
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1411
|
+
device_id: z.ZodString;
|
|
1412
|
+
algorithm_version: z.ZodString;
|
|
1413
|
+
enabled: z.ZodBoolean;
|
|
1414
|
+
}, "strip", z.ZodTypeAny, {
|
|
1415
|
+
device_id: string;
|
|
1416
|
+
algorithm_version: string;
|
|
1417
|
+
enabled: boolean;
|
|
1418
|
+
}, {
|
|
1419
|
+
device_id: string;
|
|
1420
|
+
algorithm_version: string;
|
|
1421
|
+
enabled: boolean;
|
|
1422
|
+
}>, "many">>;
|
|
1041
1423
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1042
1424
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1043
1425
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1044
1426
|
}, "strip", z.ZodTypeAny, {
|
|
1045
1427
|
object_type: "node";
|
|
1428
|
+
device_ids: {
|
|
1429
|
+
device_id: string;
|
|
1430
|
+
algorithm_version: string;
|
|
1431
|
+
enabled: boolean;
|
|
1432
|
+
}[];
|
|
1046
1433
|
status?: string | null | undefined;
|
|
1047
1434
|
name?: string | null | undefined;
|
|
1048
1435
|
version?: string | null | undefined;
|
|
@@ -1058,6 +1445,11 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1058
1445
|
id?: number | null | undefined;
|
|
1059
1446
|
device_id?: string | null | undefined;
|
|
1060
1447
|
region?: string | null | undefined;
|
|
1448
|
+
device_ids?: {
|
|
1449
|
+
device_id: string;
|
|
1450
|
+
algorithm_version: string;
|
|
1451
|
+
enabled: boolean;
|
|
1452
|
+
}[] | undefined;
|
|
1061
1453
|
ppid?: string | null | undefined;
|
|
1062
1454
|
}>>>;
|
|
1063
1455
|
os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1213,6 +1605,60 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1213
1605
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1214
1606
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1215
1607
|
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1608
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1609
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1610
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1611
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1612
|
+
}, "strip", z.ZodTypeAny, {
|
|
1613
|
+
total?: string | null | undefined;
|
|
1614
|
+
compute?: string | null | undefined;
|
|
1615
|
+
disk?: string | null | undefined;
|
|
1616
|
+
}, {
|
|
1617
|
+
total?: string | null | undefined;
|
|
1618
|
+
compute?: string | null | undefined;
|
|
1619
|
+
disk?: string | null | undefined;
|
|
1620
|
+
}>>>;
|
|
1621
|
+
billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1622
|
+
gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1623
|
+
order_id: z.ZodString;
|
|
1624
|
+
status: z.ZodString;
|
|
1625
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1626
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1627
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1628
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1629
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1630
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1631
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1632
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1633
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1634
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1635
|
+
}, "strip", z.ZodTypeAny, {
|
|
1636
|
+
status: string;
|
|
1637
|
+
order_id: string;
|
|
1638
|
+
pricing_plan?: string | null | undefined;
|
|
1639
|
+
commitment_days?: number | null | undefined;
|
|
1640
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1641
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1642
|
+
activated_at?: string | null | undefined;
|
|
1643
|
+
completed_at?: string | null | undefined;
|
|
1644
|
+
cancelled_at?: string | null | undefined;
|
|
1645
|
+
decoupled_at?: string | null | undefined;
|
|
1646
|
+
sku_code?: string | null | undefined;
|
|
1647
|
+
sku_display_name?: string | null | undefined;
|
|
1648
|
+
}, {
|
|
1649
|
+
status: string;
|
|
1650
|
+
order_id: string;
|
|
1651
|
+
pricing_plan?: string | null | undefined;
|
|
1652
|
+
commitment_days?: number | null | undefined;
|
|
1653
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1654
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1655
|
+
activated_at?: string | null | undefined;
|
|
1656
|
+
completed_at?: string | null | undefined;
|
|
1657
|
+
cancelled_at?: string | null | undefined;
|
|
1658
|
+
decoupled_at?: string | null | undefined;
|
|
1659
|
+
sku_code?: string | null | undefined;
|
|
1660
|
+
sku_display_name?: string | null | undefined;
|
|
1661
|
+
}>>>;
|
|
1216
1662
|
} & {
|
|
1217
1663
|
compose_file: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>>;
|
|
1218
1664
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1267,6 +1713,11 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1267
1713
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
1268
1714
|
node_info?: {
|
|
1269
1715
|
object_type: "node";
|
|
1716
|
+
device_ids: {
|
|
1717
|
+
device_id: string;
|
|
1718
|
+
algorithm_version: string;
|
|
1719
|
+
enabled: boolean;
|
|
1720
|
+
}[];
|
|
1270
1721
|
status?: string | null | undefined;
|
|
1271
1722
|
name?: string | null | undefined;
|
|
1272
1723
|
version?: string | null | undefined;
|
|
@@ -1303,6 +1754,26 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1303
1754
|
avatar_url?: string | null | undefined;
|
|
1304
1755
|
} | null | undefined;
|
|
1305
1756
|
deleted_at?: string | null | undefined;
|
|
1757
|
+
hourly_rate?: {
|
|
1758
|
+
total?: string | null | undefined;
|
|
1759
|
+
compute?: string | null | undefined;
|
|
1760
|
+
disk?: string | null | undefined;
|
|
1761
|
+
} | null | undefined;
|
|
1762
|
+
billing_interval?: string | null | undefined;
|
|
1763
|
+
gpu_rental_order?: {
|
|
1764
|
+
status: string;
|
|
1765
|
+
order_id: string;
|
|
1766
|
+
pricing_plan?: string | null | undefined;
|
|
1767
|
+
commitment_days?: number | null | undefined;
|
|
1768
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1769
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1770
|
+
activated_at?: string | null | undefined;
|
|
1771
|
+
completed_at?: string | null | undefined;
|
|
1772
|
+
cancelled_at?: string | null | undefined;
|
|
1773
|
+
decoupled_at?: string | null | undefined;
|
|
1774
|
+
sku_code?: string | null | undefined;
|
|
1775
|
+
sku_display_name?: string | null | undefined;
|
|
1776
|
+
} | null | undefined;
|
|
1306
1777
|
compose_file?: string | Record<string, any> | null | undefined;
|
|
1307
1778
|
}, {
|
|
1308
1779
|
status: string;
|
|
@@ -1355,6 +1826,11 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1355
1826
|
id?: number | null | undefined;
|
|
1356
1827
|
device_id?: string | null | undefined;
|
|
1357
1828
|
region?: string | null | undefined;
|
|
1829
|
+
device_ids?: {
|
|
1830
|
+
device_id: string;
|
|
1831
|
+
algorithm_version: string;
|
|
1832
|
+
enabled: boolean;
|
|
1833
|
+
}[] | undefined;
|
|
1358
1834
|
ppid?: string | null | undefined;
|
|
1359
1835
|
} | null | undefined;
|
|
1360
1836
|
os?: {
|
|
@@ -1392,6 +1868,26 @@ export declare const CvmInfoDetailV20260121Schema: z.ZodObject<{
|
|
|
1392
1868
|
avatar_url?: string | null | undefined;
|
|
1393
1869
|
} | null | undefined;
|
|
1394
1870
|
deleted_at?: string | null | undefined;
|
|
1871
|
+
hourly_rate?: {
|
|
1872
|
+
total?: string | null | undefined;
|
|
1873
|
+
compute?: string | null | undefined;
|
|
1874
|
+
disk?: string | null | undefined;
|
|
1875
|
+
} | null | undefined;
|
|
1876
|
+
billing_interval?: string | null | undefined;
|
|
1877
|
+
gpu_rental_order?: {
|
|
1878
|
+
status: string;
|
|
1879
|
+
order_id: string;
|
|
1880
|
+
pricing_plan?: string | null | undefined;
|
|
1881
|
+
commitment_days?: number | null | undefined;
|
|
1882
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
1883
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
1884
|
+
activated_at?: string | null | undefined;
|
|
1885
|
+
completed_at?: string | null | undefined;
|
|
1886
|
+
cancelled_at?: string | null | undefined;
|
|
1887
|
+
decoupled_at?: string | null | undefined;
|
|
1888
|
+
sku_code?: string | null | undefined;
|
|
1889
|
+
sku_display_name?: string | null | undefined;
|
|
1890
|
+
} | null | undefined;
|
|
1395
1891
|
compose_file?: string | Record<string, any> | null | undefined;
|
|
1396
1892
|
}>;
|
|
1397
1893
|
export type CvmInfoDetailV20260121 = z.infer<typeof CvmInfoDetailV20260121Schema>;
|
|
@@ -1431,11 +1927,29 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1431
1927
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1432
1928
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1433
1929
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1930
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1931
|
+
device_id: z.ZodString;
|
|
1932
|
+
algorithm_version: z.ZodString;
|
|
1933
|
+
enabled: z.ZodBoolean;
|
|
1934
|
+
}, "strip", z.ZodTypeAny, {
|
|
1935
|
+
device_id: string;
|
|
1936
|
+
algorithm_version: string;
|
|
1937
|
+
enabled: boolean;
|
|
1938
|
+
}, {
|
|
1939
|
+
device_id: string;
|
|
1940
|
+
algorithm_version: string;
|
|
1941
|
+
enabled: boolean;
|
|
1942
|
+
}>, "many">>;
|
|
1434
1943
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1435
1944
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1436
1945
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1437
1946
|
}, "strip", z.ZodTypeAny, {
|
|
1438
1947
|
object_type: "node";
|
|
1948
|
+
device_ids: {
|
|
1949
|
+
device_id: string;
|
|
1950
|
+
algorithm_version: string;
|
|
1951
|
+
enabled: boolean;
|
|
1952
|
+
}[];
|
|
1439
1953
|
status?: string | null | undefined;
|
|
1440
1954
|
name?: string | null | undefined;
|
|
1441
1955
|
version?: string | null | undefined;
|
|
@@ -1451,6 +1965,11 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1451
1965
|
id?: number | null | undefined;
|
|
1452
1966
|
device_id?: string | null | undefined;
|
|
1453
1967
|
region?: string | null | undefined;
|
|
1968
|
+
device_ids?: {
|
|
1969
|
+
device_id: string;
|
|
1970
|
+
algorithm_version: string;
|
|
1971
|
+
enabled: boolean;
|
|
1972
|
+
}[] | undefined;
|
|
1454
1973
|
ppid?: string | null | undefined;
|
|
1455
1974
|
}>>>;
|
|
1456
1975
|
os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1606,6 +2125,60 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1606
2125
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1607
2126
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1608
2127
|
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2128
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2129
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2130
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2131
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2132
|
+
}, "strip", z.ZodTypeAny, {
|
|
2133
|
+
total?: string | null | undefined;
|
|
2134
|
+
compute?: string | null | undefined;
|
|
2135
|
+
disk?: string | null | undefined;
|
|
2136
|
+
}, {
|
|
2137
|
+
total?: string | null | undefined;
|
|
2138
|
+
compute?: string | null | undefined;
|
|
2139
|
+
disk?: string | null | undefined;
|
|
2140
|
+
}>>>;
|
|
2141
|
+
billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2142
|
+
gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2143
|
+
order_id: z.ZodString;
|
|
2144
|
+
status: z.ZodString;
|
|
2145
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2146
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2147
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2148
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2149
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2150
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2151
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2152
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2153
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2154
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2155
|
+
}, "strip", z.ZodTypeAny, {
|
|
2156
|
+
status: string;
|
|
2157
|
+
order_id: string;
|
|
2158
|
+
pricing_plan?: string | null | undefined;
|
|
2159
|
+
commitment_days?: number | null | undefined;
|
|
2160
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2161
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2162
|
+
activated_at?: string | null | undefined;
|
|
2163
|
+
completed_at?: string | null | undefined;
|
|
2164
|
+
cancelled_at?: string | null | undefined;
|
|
2165
|
+
decoupled_at?: string | null | undefined;
|
|
2166
|
+
sku_code?: string | null | undefined;
|
|
2167
|
+
sku_display_name?: string | null | undefined;
|
|
2168
|
+
}, {
|
|
2169
|
+
status: string;
|
|
2170
|
+
order_id: string;
|
|
2171
|
+
pricing_plan?: string | null | undefined;
|
|
2172
|
+
commitment_days?: number | null | undefined;
|
|
2173
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2174
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2175
|
+
activated_at?: string | null | undefined;
|
|
2176
|
+
completed_at?: string | null | undefined;
|
|
2177
|
+
cancelled_at?: string | null | undefined;
|
|
2178
|
+
decoupled_at?: string | null | undefined;
|
|
2179
|
+
sku_code?: string | null | undefined;
|
|
2180
|
+
sku_display_name?: string | null | undefined;
|
|
2181
|
+
}>>>;
|
|
1609
2182
|
} & {
|
|
1610
2183
|
id: z.ZodString;
|
|
1611
2184
|
} & {
|
|
@@ -1662,6 +2235,11 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1662
2235
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
1663
2236
|
node_info?: {
|
|
1664
2237
|
object_type: "node";
|
|
2238
|
+
device_ids: {
|
|
2239
|
+
device_id: string;
|
|
2240
|
+
algorithm_version: string;
|
|
2241
|
+
enabled: boolean;
|
|
2242
|
+
}[];
|
|
1665
2243
|
status?: string | null | undefined;
|
|
1666
2244
|
name?: string | null | undefined;
|
|
1667
2245
|
version?: string | null | undefined;
|
|
@@ -1698,6 +2276,26 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1698
2276
|
avatar_url?: string | null | undefined;
|
|
1699
2277
|
} | null | undefined;
|
|
1700
2278
|
deleted_at?: string | null | undefined;
|
|
2279
|
+
hourly_rate?: {
|
|
2280
|
+
total?: string | null | undefined;
|
|
2281
|
+
compute?: string | null | undefined;
|
|
2282
|
+
disk?: string | null | undefined;
|
|
2283
|
+
} | null | undefined;
|
|
2284
|
+
billing_interval?: string | null | undefined;
|
|
2285
|
+
gpu_rental_order?: {
|
|
2286
|
+
status: string;
|
|
2287
|
+
order_id: string;
|
|
2288
|
+
pricing_plan?: string | null | undefined;
|
|
2289
|
+
commitment_days?: number | null | undefined;
|
|
2290
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2291
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2292
|
+
activated_at?: string | null | undefined;
|
|
2293
|
+
completed_at?: string | null | undefined;
|
|
2294
|
+
cancelled_at?: string | null | undefined;
|
|
2295
|
+
decoupled_at?: string | null | undefined;
|
|
2296
|
+
sku_code?: string | null | undefined;
|
|
2297
|
+
sku_display_name?: string | null | undefined;
|
|
2298
|
+
} | null | undefined;
|
|
1701
2299
|
compose_file?: string | Record<string, any> | null | undefined;
|
|
1702
2300
|
}, {
|
|
1703
2301
|
status: string;
|
|
@@ -1750,6 +2348,11 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1750
2348
|
id?: number | null | undefined;
|
|
1751
2349
|
device_id?: string | null | undefined;
|
|
1752
2350
|
region?: string | null | undefined;
|
|
2351
|
+
device_ids?: {
|
|
2352
|
+
device_id: string;
|
|
2353
|
+
algorithm_version: string;
|
|
2354
|
+
enabled: boolean;
|
|
2355
|
+
}[] | undefined;
|
|
1753
2356
|
ppid?: string | null | undefined;
|
|
1754
2357
|
} | null | undefined;
|
|
1755
2358
|
os?: {
|
|
@@ -1787,6 +2390,26 @@ export declare const CvmInfoDetailV20260522Schema: z.ZodObject<{
|
|
|
1787
2390
|
avatar_url?: string | null | undefined;
|
|
1788
2391
|
} | null | undefined;
|
|
1789
2392
|
deleted_at?: string | null | undefined;
|
|
2393
|
+
hourly_rate?: {
|
|
2394
|
+
total?: string | null | undefined;
|
|
2395
|
+
compute?: string | null | undefined;
|
|
2396
|
+
disk?: string | null | undefined;
|
|
2397
|
+
} | null | undefined;
|
|
2398
|
+
billing_interval?: string | null | undefined;
|
|
2399
|
+
gpu_rental_order?: {
|
|
2400
|
+
status: string;
|
|
2401
|
+
order_id: string;
|
|
2402
|
+
pricing_plan?: string | null | undefined;
|
|
2403
|
+
commitment_days?: number | null | undefined;
|
|
2404
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2405
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2406
|
+
activated_at?: string | null | undefined;
|
|
2407
|
+
completed_at?: string | null | undefined;
|
|
2408
|
+
cancelled_at?: string | null | undefined;
|
|
2409
|
+
decoupled_at?: string | null | undefined;
|
|
2410
|
+
sku_code?: string | null | undefined;
|
|
2411
|
+
sku_display_name?: string | null | undefined;
|
|
2412
|
+
} | null | undefined;
|
|
1790
2413
|
compose_file?: string | Record<string, any> | null | undefined;
|
|
1791
2414
|
}>;
|
|
1792
2415
|
export type CvmInfoDetailV20260522 = z.infer<typeof CvmInfoDetailV20260522Schema>;
|
|
@@ -1828,11 +2451,29 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
1828
2451
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1829
2452
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1830
2453
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2454
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2455
|
+
device_id: z.ZodString;
|
|
2456
|
+
algorithm_version: z.ZodString;
|
|
2457
|
+
enabled: z.ZodBoolean;
|
|
2458
|
+
}, "strip", z.ZodTypeAny, {
|
|
2459
|
+
device_id: string;
|
|
2460
|
+
algorithm_version: string;
|
|
2461
|
+
enabled: boolean;
|
|
2462
|
+
}, {
|
|
2463
|
+
device_id: string;
|
|
2464
|
+
algorithm_version: string;
|
|
2465
|
+
enabled: boolean;
|
|
2466
|
+
}>, "many">>;
|
|
1831
2467
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1832
2468
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1833
2469
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1834
2470
|
}, "strip", z.ZodTypeAny, {
|
|
1835
2471
|
object_type: "node";
|
|
2472
|
+
device_ids: {
|
|
2473
|
+
device_id: string;
|
|
2474
|
+
algorithm_version: string;
|
|
2475
|
+
enabled: boolean;
|
|
2476
|
+
}[];
|
|
1836
2477
|
status?: string | null | undefined;
|
|
1837
2478
|
name?: string | null | undefined;
|
|
1838
2479
|
version?: string | null | undefined;
|
|
@@ -1848,6 +2489,11 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
1848
2489
|
id?: number | null | undefined;
|
|
1849
2490
|
device_id?: string | null | undefined;
|
|
1850
2491
|
region?: string | null | undefined;
|
|
2492
|
+
device_ids?: {
|
|
2493
|
+
device_id: string;
|
|
2494
|
+
algorithm_version: string;
|
|
2495
|
+
enabled: boolean;
|
|
2496
|
+
}[] | undefined;
|
|
1851
2497
|
ppid?: string | null | undefined;
|
|
1852
2498
|
}>>>;
|
|
1853
2499
|
os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2003,6 +2649,60 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2003
2649
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2004
2650
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2005
2651
|
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2652
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2653
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2654
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2655
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2656
|
+
}, "strip", z.ZodTypeAny, {
|
|
2657
|
+
total?: string | null | undefined;
|
|
2658
|
+
compute?: string | null | undefined;
|
|
2659
|
+
disk?: string | null | undefined;
|
|
2660
|
+
}, {
|
|
2661
|
+
total?: string | null | undefined;
|
|
2662
|
+
compute?: string | null | undefined;
|
|
2663
|
+
disk?: string | null | undefined;
|
|
2664
|
+
}>>>;
|
|
2665
|
+
billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2666
|
+
gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2667
|
+
order_id: z.ZodString;
|
|
2668
|
+
status: z.ZodString;
|
|
2669
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2670
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2671
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2672
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2673
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2674
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2675
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2676
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2677
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2678
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2679
|
+
}, "strip", z.ZodTypeAny, {
|
|
2680
|
+
status: string;
|
|
2681
|
+
order_id: string;
|
|
2682
|
+
pricing_plan?: string | null | undefined;
|
|
2683
|
+
commitment_days?: number | null | undefined;
|
|
2684
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2685
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2686
|
+
activated_at?: string | null | undefined;
|
|
2687
|
+
completed_at?: string | null | undefined;
|
|
2688
|
+
cancelled_at?: string | null | undefined;
|
|
2689
|
+
decoupled_at?: string | null | undefined;
|
|
2690
|
+
sku_code?: string | null | undefined;
|
|
2691
|
+
sku_display_name?: string | null | undefined;
|
|
2692
|
+
}, {
|
|
2693
|
+
status: string;
|
|
2694
|
+
order_id: string;
|
|
2695
|
+
pricing_plan?: string | null | undefined;
|
|
2696
|
+
commitment_days?: number | null | undefined;
|
|
2697
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2698
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2699
|
+
activated_at?: string | null | undefined;
|
|
2700
|
+
completed_at?: string | null | undefined;
|
|
2701
|
+
cancelled_at?: string | null | undefined;
|
|
2702
|
+
decoupled_at?: string | null | undefined;
|
|
2703
|
+
sku_code?: string | null | undefined;
|
|
2704
|
+
sku_display_name?: string | null | undefined;
|
|
2705
|
+
}>>>;
|
|
2006
2706
|
}, "strip", z.ZodTypeAny, {
|
|
2007
2707
|
status: string;
|
|
2008
2708
|
name: string;
|
|
@@ -2055,6 +2755,11 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2055
2755
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
2056
2756
|
node_info?: {
|
|
2057
2757
|
object_type: "node";
|
|
2758
|
+
device_ids: {
|
|
2759
|
+
device_id: string;
|
|
2760
|
+
algorithm_version: string;
|
|
2761
|
+
enabled: boolean;
|
|
2762
|
+
}[];
|
|
2058
2763
|
status?: string | null | undefined;
|
|
2059
2764
|
name?: string | null | undefined;
|
|
2060
2765
|
version?: string | null | undefined;
|
|
@@ -2091,6 +2796,26 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2091
2796
|
avatar_url?: string | null | undefined;
|
|
2092
2797
|
} | null | undefined;
|
|
2093
2798
|
deleted_at?: string | null | undefined;
|
|
2799
|
+
hourly_rate?: {
|
|
2800
|
+
total?: string | null | undefined;
|
|
2801
|
+
compute?: string | null | undefined;
|
|
2802
|
+
disk?: string | null | undefined;
|
|
2803
|
+
} | null | undefined;
|
|
2804
|
+
billing_interval?: string | null | undefined;
|
|
2805
|
+
gpu_rental_order?: {
|
|
2806
|
+
status: string;
|
|
2807
|
+
order_id: string;
|
|
2808
|
+
pricing_plan?: string | null | undefined;
|
|
2809
|
+
commitment_days?: number | null | undefined;
|
|
2810
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2811
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2812
|
+
activated_at?: string | null | undefined;
|
|
2813
|
+
completed_at?: string | null | undefined;
|
|
2814
|
+
cancelled_at?: string | null | undefined;
|
|
2815
|
+
decoupled_at?: string | null | undefined;
|
|
2816
|
+
sku_code?: string | null | undefined;
|
|
2817
|
+
sku_display_name?: string | null | undefined;
|
|
2818
|
+
} | null | undefined;
|
|
2094
2819
|
}, {
|
|
2095
2820
|
status: string;
|
|
2096
2821
|
name: string;
|
|
@@ -2142,6 +2867,11 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2142
2867
|
id?: number | null | undefined;
|
|
2143
2868
|
device_id?: string | null | undefined;
|
|
2144
2869
|
region?: string | null | undefined;
|
|
2870
|
+
device_ids?: {
|
|
2871
|
+
device_id: string;
|
|
2872
|
+
algorithm_version: string;
|
|
2873
|
+
enabled: boolean;
|
|
2874
|
+
}[] | undefined;
|
|
2145
2875
|
ppid?: string | null | undefined;
|
|
2146
2876
|
} | null | undefined;
|
|
2147
2877
|
os?: {
|
|
@@ -2179,6 +2909,26 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2179
2909
|
avatar_url?: string | null | undefined;
|
|
2180
2910
|
} | null | undefined;
|
|
2181
2911
|
deleted_at?: string | null | undefined;
|
|
2912
|
+
hourly_rate?: {
|
|
2913
|
+
total?: string | null | undefined;
|
|
2914
|
+
compute?: string | null | undefined;
|
|
2915
|
+
disk?: string | null | undefined;
|
|
2916
|
+
} | null | undefined;
|
|
2917
|
+
billing_interval?: string | null | undefined;
|
|
2918
|
+
gpu_rental_order?: {
|
|
2919
|
+
status: string;
|
|
2920
|
+
order_id: string;
|
|
2921
|
+
pricing_plan?: string | null | undefined;
|
|
2922
|
+
commitment_days?: number | null | undefined;
|
|
2923
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
2924
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
2925
|
+
activated_at?: string | null | undefined;
|
|
2926
|
+
completed_at?: string | null | undefined;
|
|
2927
|
+
cancelled_at?: string | null | undefined;
|
|
2928
|
+
decoupled_at?: string | null | undefined;
|
|
2929
|
+
sku_code?: string | null | undefined;
|
|
2930
|
+
sku_display_name?: string | null | undefined;
|
|
2931
|
+
} | null | undefined;
|
|
2182
2932
|
}>, "many">;
|
|
2183
2933
|
total: z.ZodNumber;
|
|
2184
2934
|
page: z.ZodNumber;
|
|
@@ -2238,6 +2988,11 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2238
2988
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
2239
2989
|
node_info?: {
|
|
2240
2990
|
object_type: "node";
|
|
2991
|
+
device_ids: {
|
|
2992
|
+
device_id: string;
|
|
2993
|
+
algorithm_version: string;
|
|
2994
|
+
enabled: boolean;
|
|
2995
|
+
}[];
|
|
2241
2996
|
status?: string | null | undefined;
|
|
2242
2997
|
name?: string | null | undefined;
|
|
2243
2998
|
version?: string | null | undefined;
|
|
@@ -2274,6 +3029,26 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2274
3029
|
avatar_url?: string | null | undefined;
|
|
2275
3030
|
} | null | undefined;
|
|
2276
3031
|
deleted_at?: string | null | undefined;
|
|
3032
|
+
hourly_rate?: {
|
|
3033
|
+
total?: string | null | undefined;
|
|
3034
|
+
compute?: string | null | undefined;
|
|
3035
|
+
disk?: string | null | undefined;
|
|
3036
|
+
} | null | undefined;
|
|
3037
|
+
billing_interval?: string | null | undefined;
|
|
3038
|
+
gpu_rental_order?: {
|
|
3039
|
+
status: string;
|
|
3040
|
+
order_id: string;
|
|
3041
|
+
pricing_plan?: string | null | undefined;
|
|
3042
|
+
commitment_days?: number | null | undefined;
|
|
3043
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3044
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3045
|
+
activated_at?: string | null | undefined;
|
|
3046
|
+
completed_at?: string | null | undefined;
|
|
3047
|
+
cancelled_at?: string | null | undefined;
|
|
3048
|
+
decoupled_at?: string | null | undefined;
|
|
3049
|
+
sku_code?: string | null | undefined;
|
|
3050
|
+
sku_display_name?: string | null | undefined;
|
|
3051
|
+
} | null | undefined;
|
|
2277
3052
|
}[];
|
|
2278
3053
|
page: number;
|
|
2279
3054
|
page_size: number;
|
|
@@ -2331,6 +3106,11 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2331
3106
|
id?: number | null | undefined;
|
|
2332
3107
|
device_id?: string | null | undefined;
|
|
2333
3108
|
region?: string | null | undefined;
|
|
3109
|
+
device_ids?: {
|
|
3110
|
+
device_id: string;
|
|
3111
|
+
algorithm_version: string;
|
|
3112
|
+
enabled: boolean;
|
|
3113
|
+
}[] | undefined;
|
|
2334
3114
|
ppid?: string | null | undefined;
|
|
2335
3115
|
} | null | undefined;
|
|
2336
3116
|
os?: {
|
|
@@ -2368,6 +3148,26 @@ export declare const PaginatedCvmInfosV20260121Schema: z.ZodObject<{
|
|
|
2368
3148
|
avatar_url?: string | null | undefined;
|
|
2369
3149
|
} | null | undefined;
|
|
2370
3150
|
deleted_at?: string | null | undefined;
|
|
3151
|
+
hourly_rate?: {
|
|
3152
|
+
total?: string | null | undefined;
|
|
3153
|
+
compute?: string | null | undefined;
|
|
3154
|
+
disk?: string | null | undefined;
|
|
3155
|
+
} | null | undefined;
|
|
3156
|
+
billing_interval?: string | null | undefined;
|
|
3157
|
+
gpu_rental_order?: {
|
|
3158
|
+
status: string;
|
|
3159
|
+
order_id: string;
|
|
3160
|
+
pricing_plan?: string | null | undefined;
|
|
3161
|
+
commitment_days?: number | null | undefined;
|
|
3162
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3163
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3164
|
+
activated_at?: string | null | undefined;
|
|
3165
|
+
completed_at?: string | null | undefined;
|
|
3166
|
+
cancelled_at?: string | null | undefined;
|
|
3167
|
+
decoupled_at?: string | null | undefined;
|
|
3168
|
+
sku_code?: string | null | undefined;
|
|
3169
|
+
sku_display_name?: string | null | undefined;
|
|
3170
|
+
} | null | undefined;
|
|
2371
3171
|
}[];
|
|
2372
3172
|
page: number;
|
|
2373
3173
|
page_size: number;
|
|
@@ -2416,11 +3216,29 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2416
3216
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2417
3217
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2418
3218
|
device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3219
|
+
device_ids: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3220
|
+
device_id: z.ZodString;
|
|
3221
|
+
algorithm_version: z.ZodString;
|
|
3222
|
+
enabled: z.ZodBoolean;
|
|
3223
|
+
}, "strip", z.ZodTypeAny, {
|
|
3224
|
+
device_id: string;
|
|
3225
|
+
algorithm_version: string;
|
|
3226
|
+
enabled: boolean;
|
|
3227
|
+
}, {
|
|
3228
|
+
device_id: string;
|
|
3229
|
+
algorithm_version: string;
|
|
3230
|
+
enabled: boolean;
|
|
3231
|
+
}>, "many">>;
|
|
2419
3232
|
ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2420
3233
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2421
3234
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2422
3235
|
}, "strip", z.ZodTypeAny, {
|
|
2423
3236
|
object_type: "node";
|
|
3237
|
+
device_ids: {
|
|
3238
|
+
device_id: string;
|
|
3239
|
+
algorithm_version: string;
|
|
3240
|
+
enabled: boolean;
|
|
3241
|
+
}[];
|
|
2424
3242
|
status?: string | null | undefined;
|
|
2425
3243
|
name?: string | null | undefined;
|
|
2426
3244
|
version?: string | null | undefined;
|
|
@@ -2436,6 +3254,11 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2436
3254
|
id?: number | null | undefined;
|
|
2437
3255
|
device_id?: string | null | undefined;
|
|
2438
3256
|
region?: string | null | undefined;
|
|
3257
|
+
device_ids?: {
|
|
3258
|
+
device_id: string;
|
|
3259
|
+
algorithm_version: string;
|
|
3260
|
+
enabled: boolean;
|
|
3261
|
+
}[] | undefined;
|
|
2439
3262
|
ppid?: string | null | undefined;
|
|
2440
3263
|
}>>>;
|
|
2441
3264
|
os: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2591,6 +3414,60 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2591
3414
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2592
3415
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2593
3416
|
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3417
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3418
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3419
|
+
compute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3420
|
+
disk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3421
|
+
}, "strip", z.ZodTypeAny, {
|
|
3422
|
+
total?: string | null | undefined;
|
|
3423
|
+
compute?: string | null | undefined;
|
|
3424
|
+
disk?: string | null | undefined;
|
|
3425
|
+
}, {
|
|
3426
|
+
total?: string | null | undefined;
|
|
3427
|
+
compute?: string | null | undefined;
|
|
3428
|
+
disk?: string | null | undefined;
|
|
3429
|
+
}>>>;
|
|
3430
|
+
billing_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3431
|
+
gpu_rental_order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3432
|
+
order_id: z.ZodString;
|
|
3433
|
+
status: z.ZodString;
|
|
3434
|
+
pricing_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3435
|
+
commitment_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3436
|
+
agreed_hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3437
|
+
hourly_billing_start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3438
|
+
activated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3439
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3440
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3441
|
+
decoupled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3442
|
+
sku_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3443
|
+
sku_display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3444
|
+
}, "strip", z.ZodTypeAny, {
|
|
3445
|
+
status: string;
|
|
3446
|
+
order_id: string;
|
|
3447
|
+
pricing_plan?: string | null | undefined;
|
|
3448
|
+
commitment_days?: number | null | undefined;
|
|
3449
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3450
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3451
|
+
activated_at?: string | null | undefined;
|
|
3452
|
+
completed_at?: string | null | undefined;
|
|
3453
|
+
cancelled_at?: string | null | undefined;
|
|
3454
|
+
decoupled_at?: string | null | undefined;
|
|
3455
|
+
sku_code?: string | null | undefined;
|
|
3456
|
+
sku_display_name?: string | null | undefined;
|
|
3457
|
+
}, {
|
|
3458
|
+
status: string;
|
|
3459
|
+
order_id: string;
|
|
3460
|
+
pricing_plan?: string | null | undefined;
|
|
3461
|
+
commitment_days?: number | null | undefined;
|
|
3462
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3463
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3464
|
+
activated_at?: string | null | undefined;
|
|
3465
|
+
completed_at?: string | null | undefined;
|
|
3466
|
+
cancelled_at?: string | null | undefined;
|
|
3467
|
+
decoupled_at?: string | null | undefined;
|
|
3468
|
+
sku_code?: string | null | undefined;
|
|
3469
|
+
sku_display_name?: string | null | undefined;
|
|
3470
|
+
}>>>;
|
|
2594
3471
|
} & {
|
|
2595
3472
|
id: z.ZodString;
|
|
2596
3473
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2645,6 +3522,11 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2645
3522
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
2646
3523
|
node_info?: {
|
|
2647
3524
|
object_type: "node";
|
|
3525
|
+
device_ids: {
|
|
3526
|
+
device_id: string;
|
|
3527
|
+
algorithm_version: string;
|
|
3528
|
+
enabled: boolean;
|
|
3529
|
+
}[];
|
|
2648
3530
|
status?: string | null | undefined;
|
|
2649
3531
|
name?: string | null | undefined;
|
|
2650
3532
|
version?: string | null | undefined;
|
|
@@ -2681,6 +3563,26 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2681
3563
|
avatar_url?: string | null | undefined;
|
|
2682
3564
|
} | null | undefined;
|
|
2683
3565
|
deleted_at?: string | null | undefined;
|
|
3566
|
+
hourly_rate?: {
|
|
3567
|
+
total?: string | null | undefined;
|
|
3568
|
+
compute?: string | null | undefined;
|
|
3569
|
+
disk?: string | null | undefined;
|
|
3570
|
+
} | null | undefined;
|
|
3571
|
+
billing_interval?: string | null | undefined;
|
|
3572
|
+
gpu_rental_order?: {
|
|
3573
|
+
status: string;
|
|
3574
|
+
order_id: string;
|
|
3575
|
+
pricing_plan?: string | null | undefined;
|
|
3576
|
+
commitment_days?: number | null | undefined;
|
|
3577
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3578
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3579
|
+
activated_at?: string | null | undefined;
|
|
3580
|
+
completed_at?: string | null | undefined;
|
|
3581
|
+
cancelled_at?: string | null | undefined;
|
|
3582
|
+
decoupled_at?: string | null | undefined;
|
|
3583
|
+
sku_code?: string | null | undefined;
|
|
3584
|
+
sku_display_name?: string | null | undefined;
|
|
3585
|
+
} | null | undefined;
|
|
2684
3586
|
}, {
|
|
2685
3587
|
status: string;
|
|
2686
3588
|
name: string;
|
|
@@ -2732,6 +3634,11 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2732
3634
|
id?: number | null | undefined;
|
|
2733
3635
|
device_id?: string | null | undefined;
|
|
2734
3636
|
region?: string | null | undefined;
|
|
3637
|
+
device_ids?: {
|
|
3638
|
+
device_id: string;
|
|
3639
|
+
algorithm_version: string;
|
|
3640
|
+
enabled: boolean;
|
|
3641
|
+
}[] | undefined;
|
|
2735
3642
|
ppid?: string | null | undefined;
|
|
2736
3643
|
} | null | undefined;
|
|
2737
3644
|
os?: {
|
|
@@ -2769,6 +3676,26 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2769
3676
|
avatar_url?: string | null | undefined;
|
|
2770
3677
|
} | null | undefined;
|
|
2771
3678
|
deleted_at?: string | null | undefined;
|
|
3679
|
+
hourly_rate?: {
|
|
3680
|
+
total?: string | null | undefined;
|
|
3681
|
+
compute?: string | null | undefined;
|
|
3682
|
+
disk?: string | null | undefined;
|
|
3683
|
+
} | null | undefined;
|
|
3684
|
+
billing_interval?: string | null | undefined;
|
|
3685
|
+
gpu_rental_order?: {
|
|
3686
|
+
status: string;
|
|
3687
|
+
order_id: string;
|
|
3688
|
+
pricing_plan?: string | null | undefined;
|
|
3689
|
+
commitment_days?: number | null | undefined;
|
|
3690
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3691
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3692
|
+
activated_at?: string | null | undefined;
|
|
3693
|
+
completed_at?: string | null | undefined;
|
|
3694
|
+
cancelled_at?: string | null | undefined;
|
|
3695
|
+
decoupled_at?: string | null | undefined;
|
|
3696
|
+
sku_code?: string | null | undefined;
|
|
3697
|
+
sku_display_name?: string | null | undefined;
|
|
3698
|
+
} | null | undefined;
|
|
2772
3699
|
}>, "many">;
|
|
2773
3700
|
}, "strip", z.ZodTypeAny, {
|
|
2774
3701
|
total: number;
|
|
@@ -2824,6 +3751,11 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2824
3751
|
kms_type?: "legacy" | "phala" | "ethereum" | "base" | null | undefined;
|
|
2825
3752
|
node_info?: {
|
|
2826
3753
|
object_type: "node";
|
|
3754
|
+
device_ids: {
|
|
3755
|
+
device_id: string;
|
|
3756
|
+
algorithm_version: string;
|
|
3757
|
+
enabled: boolean;
|
|
3758
|
+
}[];
|
|
2827
3759
|
status?: string | null | undefined;
|
|
2828
3760
|
name?: string | null | undefined;
|
|
2829
3761
|
version?: string | null | undefined;
|
|
@@ -2860,6 +3792,26 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2860
3792
|
avatar_url?: string | null | undefined;
|
|
2861
3793
|
} | null | undefined;
|
|
2862
3794
|
deleted_at?: string | null | undefined;
|
|
3795
|
+
hourly_rate?: {
|
|
3796
|
+
total?: string | null | undefined;
|
|
3797
|
+
compute?: string | null | undefined;
|
|
3798
|
+
disk?: string | null | undefined;
|
|
3799
|
+
} | null | undefined;
|
|
3800
|
+
billing_interval?: string | null | undefined;
|
|
3801
|
+
gpu_rental_order?: {
|
|
3802
|
+
status: string;
|
|
3803
|
+
order_id: string;
|
|
3804
|
+
pricing_plan?: string | null | undefined;
|
|
3805
|
+
commitment_days?: number | null | undefined;
|
|
3806
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3807
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3808
|
+
activated_at?: string | null | undefined;
|
|
3809
|
+
completed_at?: string | null | undefined;
|
|
3810
|
+
cancelled_at?: string | null | undefined;
|
|
3811
|
+
decoupled_at?: string | null | undefined;
|
|
3812
|
+
sku_code?: string | null | undefined;
|
|
3813
|
+
sku_display_name?: string | null | undefined;
|
|
3814
|
+
} | null | undefined;
|
|
2863
3815
|
}[];
|
|
2864
3816
|
page: number;
|
|
2865
3817
|
page_size: number;
|
|
@@ -2917,6 +3869,11 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2917
3869
|
id?: number | null | undefined;
|
|
2918
3870
|
device_id?: string | null | undefined;
|
|
2919
3871
|
region?: string | null | undefined;
|
|
3872
|
+
device_ids?: {
|
|
3873
|
+
device_id: string;
|
|
3874
|
+
algorithm_version: string;
|
|
3875
|
+
enabled: boolean;
|
|
3876
|
+
}[] | undefined;
|
|
2920
3877
|
ppid?: string | null | undefined;
|
|
2921
3878
|
} | null | undefined;
|
|
2922
3879
|
os?: {
|
|
@@ -2954,6 +3911,26 @@ export declare const PaginatedCvmInfosV20260522Schema: z.ZodObject<{
|
|
|
2954
3911
|
avatar_url?: string | null | undefined;
|
|
2955
3912
|
} | null | undefined;
|
|
2956
3913
|
deleted_at?: string | null | undefined;
|
|
3914
|
+
hourly_rate?: {
|
|
3915
|
+
total?: string | null | undefined;
|
|
3916
|
+
compute?: string | null | undefined;
|
|
3917
|
+
disk?: string | null | undefined;
|
|
3918
|
+
} | null | undefined;
|
|
3919
|
+
billing_interval?: string | null | undefined;
|
|
3920
|
+
gpu_rental_order?: {
|
|
3921
|
+
status: string;
|
|
3922
|
+
order_id: string;
|
|
3923
|
+
pricing_plan?: string | null | undefined;
|
|
3924
|
+
commitment_days?: number | null | undefined;
|
|
3925
|
+
agreed_hourly_rate?: string | null | undefined;
|
|
3926
|
+
hourly_billing_start_time?: string | null | undefined;
|
|
3927
|
+
activated_at?: string | null | undefined;
|
|
3928
|
+
completed_at?: string | null | undefined;
|
|
3929
|
+
cancelled_at?: string | null | undefined;
|
|
3930
|
+
decoupled_at?: string | null | undefined;
|
|
3931
|
+
sku_code?: string | null | undefined;
|
|
3932
|
+
sku_display_name?: string | null | undefined;
|
|
3933
|
+
} | null | undefined;
|
|
2957
3934
|
}[];
|
|
2958
3935
|
page: number;
|
|
2959
3936
|
page_size: number;
|