@phala/cloud 0.6.5 → 0.6.6-beta.1
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/README.md +6 -6
- package/dist/actions/api_tokens/revoke_current_api_token.d.ts +2 -2
- package/dist/actions/apps/app_launch_token.d.ts +4 -4
- package/dist/actions/apps/check_app_is_allowed.d.ts +4 -4
- package/dist/actions/apps/create_app_instance.d.ts +20 -20
- package/dist/actions/apps/get_app_attestation.d.ts +4 -4
- package/dist/actions/blockchains/abi/dstack_app.d.ts +403 -1
- package/dist/actions/blockchains/add_compose_hash.d.ts +7 -0
- package/dist/actions/blockchains/add_device.d.ts +7 -0
- package/dist/actions/blockchains/check_compose_hash_allowed.d.ts +4 -1
- package/dist/actions/blockchains/check_device_allowed.d.ts +5 -2
- package/dist/actions/blockchains/check_on_chain_prerequisites.d.ts +7 -2
- package/dist/actions/blockchains/epoch_compat.d.ts +106 -0
- package/dist/actions/blockchains/get_allowed_devices.d.ts +10 -2
- package/dist/actions/blockchains/remove_device.d.ts +7 -0
- package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +4 -4
- package/dist/actions/cvms/commit_cvm_update.d.ts +20 -20
- package/dist/actions/cvms/confirm_cvm_patch.d.ts +14 -14
- package/dist/actions/cvms/cvm_annotations.d.ts +10 -10
- 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 +4 -4
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +10 -10
- package/dist/actions/cvms/get_cvm_containers_stats.d.ts +4 -4
- package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_info.d.ts +1 -1
- package/dist/actions/cvms/get_cvm_init_scripts.d.ts +2 -2
- 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 +10 -10
- package/dist/actions/cvms/get_cvm_user_config.d.ts +4 -4
- package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +2 -2
- package/dist/actions/cvms/patch_cvm.d.ts +10 -10
- package/dist/actions/cvms/provision_cvm.d.ts +23 -20
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +49 -49
- package/dist/actions/cvms/put_cvm_init_scripts.d.ts +8 -8
- package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +25 -25
- package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +25 -25
- package/dist/actions/cvms/update_cvm_envs.d.ts +10 -10
- package/dist/actions/cvms/update_cvm_resources.d.ts +2 -2
- package/dist/actions/cvms/update_cvm_visibility.d.ts +14 -14
- package/dist/actions/cvms/update_docker_compose.d.ts +10 -10
- package/dist/actions/cvms/update_os_image.d.ts +8 -8
- package/dist/actions/cvms/update_prelaunch_script.d.ts +10 -10
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +2 -2
- package/dist/actions/cvms/watch_cvm_state.d.ts +2 -2
- package/dist/actions/domains/create_app_domain.d.ts +139 -0
- package/dist/actions/domains/delete_app_domain.d.ts +120 -0
- package/dist/actions/domains/get_app_domain_guide.d.ts +67 -0
- package/dist/actions/domains/list_app_domains.d.ts +107 -0
- package/dist/actions/domains/list_domains.d.ts +157 -0
- package/dist/actions/domains/merge_app_domain_ingress.d.ts +120 -0
- package/dist/actions/domains/preflight_app_domain.d.ts +110 -0
- package/dist/actions/domains/schemas.d.ts +82 -0
- package/dist/actions/domains/verify_app_domain.d.ts +142 -0
- package/dist/actions/get_available_nodes.d.ts +16 -16
- package/dist/actions/index.d.ts +10 -0
- package/dist/actions/kms/get_app_env_encrypt_pubkey.d.ts +2 -2
- package/dist/actions/kms/get_kms_contract.d.ts +2 -2
- package/dist/actions/kms/get_kms_info.d.ts +2 -2
- package/dist/actions/kms/get_kms_list.d.ts +2 -2
- package/dist/actions/kms/get_kms_onchain_detail.d.ts +10 -10
- package/dist/actions/kms/list_kms_contract_nodes.d.ts +2 -2
- package/dist/actions/kms/list_kms_contracts.d.ts +2 -2
- package/dist/actions/kms/next_app_ids.d.ts +2 -2
- package/dist/actions/list-instance-types.d.ts +8 -8
- package/dist/actions/os_images/get_os_images.d.ts +2 -2
- package/dist/actions/ssh_keys/create_ssh_key.d.ts +6 -6
- package/dist/actions/ssh_keys/delete_ssh_key.d.ts +2 -2
- package/dist/actions/ssh_keys/get_cvm_ssh_keys.d.ts +2 -2
- package/dist/actions/ssh_keys/import_github_profile.d.ts +2 -2
- package/dist/actions/ssh_keys/sync_github_ssh_keys.d.ts +2 -2
- package/dist/actions/ssh_keys/update_cvm_ssh_keys.d.ts +8 -8
- package/dist/actions/workspaces/get_workspace.d.ts +8 -8
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +12 -12
- package/dist/actions/workspaces/get_workspace_quotas.d.ts +2 -2
- package/dist/actions/workspaces/list_workspaces.d.ts +10 -10
- package/dist/create-client.d.ts +257 -134
- package/dist/credentials/current_user_v20260121.d.ts +2 -2
- package/dist/index.js +2356 -1455
- package/dist/index.mjs +2281 -1420
- package/dist/types/app_compose.d.ts +2 -2
- package/dist/types/app_info_v20260121.d.ts +60 -48
- package/dist/types/cvm_info_v20251028.d.ts +1 -0
- package/dist/types/cvm_info_v20260121.d.ts +41 -34
- package/dist/utils/define-action.d.ts +4 -4
- package/dist/utils/errors.d.ts +4 -0
- package/dist/utils/network.d.ts +6 -6
- package/package.json +25 -12
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** A DNS record the owner of a domain has to publish. */
|
|
3
|
+
export declare const ExpectedDnsRecordSchema: z.ZodObject<{
|
|
4
|
+
record_type: z.ZodString;
|
|
5
|
+
query_name: z.ZodString;
|
|
6
|
+
expected_value: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type ExpectedDnsRecord = z.infer<typeof ExpectedDnsRecordSchema>;
|
|
9
|
+
export declare const RoutingStatusSchema: z.ZodEnum<{
|
|
10
|
+
fail: "fail";
|
|
11
|
+
ok: "ok";
|
|
12
|
+
skipped: "skipped";
|
|
13
|
+
}>;
|
|
14
|
+
export type RoutingStatus = z.infer<typeof RoutingStatusSchema>;
|
|
15
|
+
/** A custom domain bound to an app. */
|
|
16
|
+
export declare const AppDomainSchema: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
domain: z.ZodString;
|
|
19
|
+
port: z.ZodNumber;
|
|
20
|
+
dns_verified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
dns_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
routing_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
23
|
+
fail: "fail";
|
|
24
|
+
ok: "ok";
|
|
25
|
+
skipped: "skipped";
|
|
26
|
+
}>>>;
|
|
27
|
+
routing_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
dns_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
dns_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
created_at: z.ZodString;
|
|
31
|
+
expected_records: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
32
|
+
record_type: z.ZodString;
|
|
33
|
+
query_name: z.ZodString;
|
|
34
|
+
expected_value: z.ZodString;
|
|
35
|
+
}, z.core.$strip>>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
export type AppDomain = z.infer<typeof AppDomainSchema>;
|
|
38
|
+
/** A domain in the workspace-wide list; one item per (domain, app) binding. */
|
|
39
|
+
export declare const WorkspaceDomainSchema: z.ZodObject<{
|
|
40
|
+
id: z.ZodString;
|
|
41
|
+
domain: z.ZodString;
|
|
42
|
+
port: z.ZodNumber;
|
|
43
|
+
dns_verified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
dns_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
routing_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
46
|
+
fail: "fail";
|
|
47
|
+
ok: "ok";
|
|
48
|
+
skipped: "skipped";
|
|
49
|
+
}>>>;
|
|
50
|
+
routing_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
dns_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
dns_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
created_at: z.ZodString;
|
|
54
|
+
expected_records: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
55
|
+
record_type: z.ZodString;
|
|
56
|
+
query_name: z.ZodString;
|
|
57
|
+
expected_value: z.ZodString;
|
|
58
|
+
}, z.core.$strip>>>;
|
|
59
|
+
app_id: z.ZodString;
|
|
60
|
+
app_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
export type WorkspaceDomain = z.infer<typeof WorkspaceDomainSchema>;
|
|
63
|
+
/** Result of checking one expected DNS record against live DNS. */
|
|
64
|
+
export declare const DnsRecordCheckSchema: z.ZodObject<{
|
|
65
|
+
record_type: z.ZodString;
|
|
66
|
+
query_name: z.ZodString;
|
|
67
|
+
expected_value: z.ZodString;
|
|
68
|
+
actual_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
is_valid: z.ZodBoolean;
|
|
70
|
+
warning_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
export type DnsRecordCheck = z.infer<typeof DnsRecordCheckSchema>;
|
|
73
|
+
/** Gateway nodes the change was pushed to, and any problems on the way. */
|
|
74
|
+
export declare const DomainSyncSchema: z.ZodObject<{
|
|
75
|
+
nodes: z.ZodDefault<z.ZodArray<z.ZodUnknown>>;
|
|
76
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodUnknown>>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export type DomainSync = z.infer<typeof DomainSyncSchema>;
|
|
79
|
+
/** Port the domain is served on over HTTPS. */
|
|
80
|
+
export declare const DomainPortSchema: z.ZodNumber;
|
|
81
|
+
export declare const AppIdSchema: z.ZodString;
|
|
82
|
+
export declare const DomainIdSchema: z.ZodString;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const VerifyAppDomainRequestSchema: z.ZodObject<{
|
|
3
|
+
appId: z.ZodString;
|
|
4
|
+
domainId: z.ZodString;
|
|
5
|
+
turnstile_token: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strict>;
|
|
7
|
+
export type VerifyAppDomainRequest = z.infer<typeof VerifyAppDomainRequestSchema>;
|
|
8
|
+
export declare const VerifyAppDomainResponseSchema: z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
domain: z.ZodString;
|
|
11
|
+
port: z.ZodNumber;
|
|
12
|
+
dns_verified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
dns_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
routing_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
15
|
+
fail: "fail";
|
|
16
|
+
ok: "ok";
|
|
17
|
+
skipped: "skipped";
|
|
18
|
+
}>>>;
|
|
19
|
+
routing_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
dns_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
dns_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
created_at: z.ZodString;
|
|
23
|
+
expected_records: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
24
|
+
record_type: z.ZodString;
|
|
25
|
+
query_name: z.ZodString;
|
|
26
|
+
expected_value: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>>;
|
|
28
|
+
records: z.ZodArray<z.ZodObject<{
|
|
29
|
+
record_type: z.ZodString;
|
|
30
|
+
query_name: z.ZodString;
|
|
31
|
+
expected_value: z.ZodString;
|
|
32
|
+
actual_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
is_valid: z.ZodBoolean;
|
|
34
|
+
warning_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
export type VerifyAppDomainResponse = z.infer<typeof VerifyAppDomainResponseSchema>;
|
|
38
|
+
/**
|
|
39
|
+
* Re-check the DNS records of a bound domain
|
|
40
|
+
*
|
|
41
|
+
* Shares a per-user throttle with `preflightAppDomain` and `createAppDomain`.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```typescript
|
|
45
|
+
* const result = await verifyAppDomain(client, { appId, domainId })
|
|
46
|
+
* console.log(result.dns_verified_at)
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ## Safe Version
|
|
50
|
+
*
|
|
51
|
+
* Use `safeVerifyAppDomain` to get a `SafeResult` instead of an exception.
|
|
52
|
+
*/
|
|
53
|
+
declare const verifyAppDomain: {
|
|
54
|
+
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
55
|
+
appId: string;
|
|
56
|
+
domainId: string;
|
|
57
|
+
turnstile_token?: string | undefined;
|
|
58
|
+
}): Promise<{
|
|
59
|
+
id: string;
|
|
60
|
+
domain: string;
|
|
61
|
+
port: number;
|
|
62
|
+
dns_verified_at?: string | null | undefined;
|
|
63
|
+
dns_error?: string | null | undefined;
|
|
64
|
+
routing_status?: "fail" | "ok" | "skipped" | null | undefined;
|
|
65
|
+
routing_checked_at?: string | null | undefined;
|
|
66
|
+
dns_zone?: string | null | undefined;
|
|
67
|
+
dns_provider?: string | null | undefined;
|
|
68
|
+
created_at: string;
|
|
69
|
+
expected_records: {
|
|
70
|
+
record_type: string;
|
|
71
|
+
query_name: string;
|
|
72
|
+
expected_value: string;
|
|
73
|
+
}[];
|
|
74
|
+
records: {
|
|
75
|
+
record_type: string;
|
|
76
|
+
query_name: string;
|
|
77
|
+
expected_value: string;
|
|
78
|
+
actual_value?: string | null | undefined;
|
|
79
|
+
is_valid: boolean;
|
|
80
|
+
warning_message?: string | null | undefined;
|
|
81
|
+
}[];
|
|
82
|
+
}>;
|
|
83
|
+
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
84
|
+
appId: string;
|
|
85
|
+
domainId: string;
|
|
86
|
+
turnstile_token?: string | undefined;
|
|
87
|
+
}, parameters: {
|
|
88
|
+
schema: T;
|
|
89
|
+
}): Promise<z.infer<T>>;
|
|
90
|
+
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
91
|
+
appId: string;
|
|
92
|
+
domainId: string;
|
|
93
|
+
turnstile_token?: string | undefined;
|
|
94
|
+
}, parameters: {
|
|
95
|
+
schema: false;
|
|
96
|
+
}): Promise<unknown>;
|
|
97
|
+
}, safeVerifyAppDomain: {
|
|
98
|
+
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
99
|
+
appId: string;
|
|
100
|
+
domainId: string;
|
|
101
|
+
turnstile_token?: string | undefined;
|
|
102
|
+
}): Promise<import("../..").SafeResult<{
|
|
103
|
+
id: string;
|
|
104
|
+
domain: string;
|
|
105
|
+
port: number;
|
|
106
|
+
dns_verified_at?: string | null | undefined;
|
|
107
|
+
dns_error?: string | null | undefined;
|
|
108
|
+
routing_status?: "fail" | "ok" | "skipped" | null | undefined;
|
|
109
|
+
routing_checked_at?: string | null | undefined;
|
|
110
|
+
dns_zone?: string | null | undefined;
|
|
111
|
+
dns_provider?: string | null | undefined;
|
|
112
|
+
created_at: string;
|
|
113
|
+
expected_records: {
|
|
114
|
+
record_type: string;
|
|
115
|
+
query_name: string;
|
|
116
|
+
expected_value: string;
|
|
117
|
+
}[];
|
|
118
|
+
records: {
|
|
119
|
+
record_type: string;
|
|
120
|
+
query_name: string;
|
|
121
|
+
expected_value: string;
|
|
122
|
+
actual_value?: string | null | undefined;
|
|
123
|
+
is_valid: boolean;
|
|
124
|
+
warning_message?: string | null | undefined;
|
|
125
|
+
}[];
|
|
126
|
+
}>>;
|
|
127
|
+
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
128
|
+
appId: string;
|
|
129
|
+
domainId: string;
|
|
130
|
+
turnstile_token?: string | undefined;
|
|
131
|
+
}, parameters: {
|
|
132
|
+
schema: T;
|
|
133
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
134
|
+
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
135
|
+
appId: string;
|
|
136
|
+
domainId: string;
|
|
137
|
+
turnstile_token?: string | undefined;
|
|
138
|
+
}, parameters: {
|
|
139
|
+
schema: false;
|
|
140
|
+
}): Promise<import("../..").SafeResult<unknown>>;
|
|
141
|
+
};
|
|
142
|
+
export { verifyAppDomain, safeVerifyAppDomain };
|
|
@@ -200,7 +200,7 @@ declare const getAvailableNodes: {
|
|
|
200
200
|
}): Promise<unknown>;
|
|
201
201
|
<T extends z.ZodTypeAny>(client: Client<import("..").ApiVersion>, parameters: {
|
|
202
202
|
schema: T;
|
|
203
|
-
}): Promise<z.
|
|
203
|
+
}): Promise<z.infer<T>>;
|
|
204
204
|
(client: Client<import("..").ApiVersion>): Promise<{
|
|
205
205
|
[x: string]: unknown;
|
|
206
206
|
tier: string;
|
|
@@ -215,6 +215,7 @@ declare const getAvailableNodes: {
|
|
|
215
215
|
[x: string]: unknown;
|
|
216
216
|
teepod_id: number;
|
|
217
217
|
teepod_id_hashid: string;
|
|
218
|
+
node_id?: number | null | undefined;
|
|
218
219
|
node_id_hashid: string | null;
|
|
219
220
|
name: string;
|
|
220
221
|
node: string;
|
|
@@ -226,29 +227,28 @@ declare const getAvailableNodes: {
|
|
|
226
227
|
images: {
|
|
227
228
|
[x: string]: unknown;
|
|
228
229
|
name: string;
|
|
229
|
-
is_dev: boolean;
|
|
230
|
-
version: [number, number, number] | [number, number, number, number];
|
|
231
230
|
slug?: string | undefined;
|
|
232
231
|
release?: string | null | undefined;
|
|
233
232
|
published_at?: string | null | undefined;
|
|
233
|
+
is_dev: boolean;
|
|
234
|
+
version: [number, number, number] | [number, number, number, number];
|
|
234
235
|
os_image_hash?: string | null | undefined;
|
|
235
236
|
requires_gpu?: boolean | undefined;
|
|
236
237
|
supports_cpu?: boolean | undefined;
|
|
237
238
|
supports_gpu?: boolean | undefined;
|
|
238
239
|
enabled?: boolean | undefined;
|
|
239
240
|
}[];
|
|
241
|
+
support_onchain_kms?: boolean | undefined;
|
|
242
|
+
fmspc?: string | null | undefined;
|
|
243
|
+
device_id?: string | null | undefined;
|
|
240
244
|
device_ids: {
|
|
241
245
|
device_id: string;
|
|
242
246
|
algorithm_version: string;
|
|
243
247
|
enabled: boolean;
|
|
244
248
|
}[];
|
|
245
|
-
kms_list: string[];
|
|
246
|
-
node_id?: number | null | undefined;
|
|
247
|
-
support_onchain_kms?: boolean | undefined;
|
|
248
|
-
fmspc?: string | null | undefined;
|
|
249
|
-
device_id?: string | null | undefined;
|
|
250
249
|
region_identifier?: string | null | undefined;
|
|
251
250
|
default_kms?: string | null | undefined;
|
|
251
|
+
kms_list: string[];
|
|
252
252
|
}[];
|
|
253
253
|
kms_list: {
|
|
254
254
|
[x: string]: unknown;
|
|
@@ -268,7 +268,7 @@ declare const getAvailableNodes: {
|
|
|
268
268
|
}): Promise<import("..").SafeResult<unknown>>;
|
|
269
269
|
<T extends z.ZodTypeAny>(client: Client<import("..").ApiVersion>, parameters: {
|
|
270
270
|
schema: T;
|
|
271
|
-
}): Promise<import("..").SafeResult<z.
|
|
271
|
+
}): Promise<import("..").SafeResult<z.infer<T>>>;
|
|
272
272
|
(client: Client<import("..").ApiVersion>): Promise<import("..").SafeResult<{
|
|
273
273
|
[x: string]: unknown;
|
|
274
274
|
tier: string;
|
|
@@ -283,6 +283,7 @@ declare const getAvailableNodes: {
|
|
|
283
283
|
[x: string]: unknown;
|
|
284
284
|
teepod_id: number;
|
|
285
285
|
teepod_id_hashid: string;
|
|
286
|
+
node_id?: number | null | undefined;
|
|
286
287
|
node_id_hashid: string | null;
|
|
287
288
|
name: string;
|
|
288
289
|
node: string;
|
|
@@ -294,29 +295,28 @@ declare const getAvailableNodes: {
|
|
|
294
295
|
images: {
|
|
295
296
|
[x: string]: unknown;
|
|
296
297
|
name: string;
|
|
297
|
-
is_dev: boolean;
|
|
298
|
-
version: [number, number, number] | [number, number, number, number];
|
|
299
298
|
slug?: string | undefined;
|
|
300
299
|
release?: string | null | undefined;
|
|
301
300
|
published_at?: string | null | undefined;
|
|
301
|
+
is_dev: boolean;
|
|
302
|
+
version: [number, number, number] | [number, number, number, number];
|
|
302
303
|
os_image_hash?: string | null | undefined;
|
|
303
304
|
requires_gpu?: boolean | undefined;
|
|
304
305
|
supports_cpu?: boolean | undefined;
|
|
305
306
|
supports_gpu?: boolean | undefined;
|
|
306
307
|
enabled?: boolean | undefined;
|
|
307
308
|
}[];
|
|
309
|
+
support_onchain_kms?: boolean | undefined;
|
|
310
|
+
fmspc?: string | null | undefined;
|
|
311
|
+
device_id?: string | null | undefined;
|
|
308
312
|
device_ids: {
|
|
309
313
|
device_id: string;
|
|
310
314
|
algorithm_version: string;
|
|
311
315
|
enabled: boolean;
|
|
312
316
|
}[];
|
|
313
|
-
kms_list: string[];
|
|
314
|
-
node_id?: number | null | undefined;
|
|
315
|
-
support_onchain_kms?: boolean | undefined;
|
|
316
|
-
fmspc?: string | null | undefined;
|
|
317
|
-
device_id?: string | null | undefined;
|
|
318
317
|
region_identifier?: string | null | undefined;
|
|
319
318
|
default_kms?: string | null | undefined;
|
|
319
|
+
kms_list: string[];
|
|
320
320
|
}[];
|
|
321
321
|
kms_list: {
|
|
322
322
|
[x: string]: unknown;
|
package/dist/actions/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { checkDeviceAllowed, safeCheckDeviceAllowed, type CheckDeviceAllowedRequ
|
|
|
13
13
|
export { checkComposeHashAllowed, safeCheckComposeHashAllowed, type CheckComposeHashAllowedRequest, } from "./blockchains/check_compose_hash_allowed";
|
|
14
14
|
export { checkOnChainPrerequisites, safeCheckOnChainPrerequisites, type CheckOnChainPrerequisitesRequest, type OnChainPrerequisites, } from "./blockchains/check_on_chain_prerequisites";
|
|
15
15
|
export { dstackAppAbi } from "./blockchains/abi/dstack_app";
|
|
16
|
+
export { APP_EPOCH_MANAGEMENT_INTERFACE_ID, APP_AUTH_BASIC_MANAGEMENT_INTERFACE_ID, EpochsWrittenSchema, type EpochsWritten, type AppContractGeneration, type AppEpochPlan, type AppEpochWritePlan, resolveAppEpochPlan, resolveAppEpochWritePlan, clearAppEpochProbeCache, } from "./blockchains/epoch_compat";
|
|
16
17
|
export { getCvmComposeFile, safeGetCvmComposeFile, type GetCvmComposeFileResult, GetCvmComposeFileRequestSchema, type GetCvmComposeFileRequest, } from "./cvms/get_cvm_compose_file";
|
|
17
18
|
export { provisionCvmComposeFileUpdate, safeProvisionCvmComposeFileUpdate, ProvisionCvmComposeFileUpdateRequestSchema, type ProvisionCvmComposeFileUpdateRequest, ProvisionCvmComposeFileUpdateResultSchema, type ProvisionCvmComposeFileUpdateResult, } from "./cvms/provision_cvm_compose_file_update";
|
|
18
19
|
export { commitCvmComposeFileUpdate, safeCommitCvmComposeFileUpdate, CommitCvmComposeFileUpdateRequestSchema, type CommitCvmComposeFileUpdateRequest, CommitCvmComposeFileUpdateSchema, type CommitCvmComposeFileUpdate, } from "./cvms/commit_cvm_compose_file_update";
|
|
@@ -87,3 +88,12 @@ export { getAppFilterOptions, safeGetAppFilterOptions, AppFilterOptionsSchema, t
|
|
|
87
88
|
export { getAppAttestation, safeGetAppAttestation, AppAttestationInstanceSchema, AppAttestationResponseSchema, GetAppAttestationRequestSchema, type AppAttestationInstance, type AppAttestationResponse, type GetAppAttestationRequest, } from "./apps/get_app_attestation";
|
|
88
89
|
export { setAppLaunchToken, safeSetAppLaunchToken, clearAppLaunchToken, safeClearAppLaunchToken, AppLaunchTokenSchema, SetAppLaunchTokenRequestSchema, ClearAppLaunchTokenRequestSchema, type AppLaunchToken, type SetAppLaunchTokenRequest, type ClearAppLaunchTokenRequest, } from "./apps/app_launch_token";
|
|
89
90
|
export { getOsImages, safeGetOsImages, GetOsImagesResponseSchema, GetOsImagesRequestSchema, OSImagePublicSchema, type GetOsImagesResponse, type GetOsImagesRequest, type OSImagePublic, } from "./os_images/get_os_images";
|
|
91
|
+
export { AppDomainSchema, WorkspaceDomainSchema, ExpectedDnsRecordSchema, RoutingStatusSchema, DnsRecordCheckSchema, DomainSyncSchema, type AppDomain, type WorkspaceDomain, type ExpectedDnsRecord, type RoutingStatus, type DnsRecordCheck, type DomainSync, } from "./domains/schemas";
|
|
92
|
+
export { listDomains, safeListDomains, ListDomainsRequestSchema, ListDomainsResponseSchema, type ListDomainsRequest, type ListDomainsResponse, } from "./domains/list_domains";
|
|
93
|
+
export { listAppDomains, safeListAppDomains, ListAppDomainsRequestSchema, ListAppDomainsResponseSchema, type ListAppDomainsRequest, type ListAppDomainsResponse, } from "./domains/list_app_domains";
|
|
94
|
+
export { getAppDomainGuide, safeGetAppDomainGuide, GetAppDomainGuideRequestSchema, AppDomainGuideSchema, type GetAppDomainGuideRequest, type AppDomainGuide, } from "./domains/get_app_domain_guide";
|
|
95
|
+
export { preflightAppDomain, safePreflightAppDomain, PreflightAppDomainRequestSchema, PreflightAppDomainResponseSchema, type PreflightAppDomainRequest, type PreflightAppDomainResponse, } from "./domains/preflight_app_domain";
|
|
96
|
+
export { createAppDomain, safeCreateAppDomain, CreateAppDomainRequestSchema, CreateAppDomainResponseSchema, type CreateAppDomainRequest, type CreateAppDomainResponse, } from "./domains/create_app_domain";
|
|
97
|
+
export { verifyAppDomain, safeVerifyAppDomain, VerifyAppDomainRequestSchema, VerifyAppDomainResponseSchema, type VerifyAppDomainRequest, type VerifyAppDomainResponse, } from "./domains/verify_app_domain";
|
|
98
|
+
export { deleteAppDomain, safeDeleteAppDomain, DeleteAppDomainRequestSchema, DeleteAppDomainResponseSchema, type DeleteAppDomainRequest, type DeleteAppDomainResponse, } from "./domains/delete_app_domain";
|
|
99
|
+
export { mergeAppDomainIngress, safeMergeAppDomainIngress, MergeAppDomainIngressRequestSchema, MergeAppDomainIngressResponseSchema, type MergeAppDomainIngressRequest, type MergeAppDomainIngressResponse, } from "./domains/merge_app_domain_ingress";
|
|
@@ -23,7 +23,7 @@ declare const getAppEnvEncryptPubKey: {
|
|
|
23
23
|
app_id: string;
|
|
24
24
|
}, parameters: {
|
|
25
25
|
schema: T;
|
|
26
|
-
}): Promise<z.
|
|
26
|
+
}): Promise<z.infer<T>>;
|
|
27
27
|
(client: Client<import("../..").ApiVersion>, params: {
|
|
28
28
|
kms: string;
|
|
29
29
|
app_id: string;
|
|
@@ -43,7 +43,7 @@ declare const getAppEnvEncryptPubKey: {
|
|
|
43
43
|
app_id: string;
|
|
44
44
|
}, parameters: {
|
|
45
45
|
schema: T;
|
|
46
|
-
}): Promise<import("../..").SafeResult<z.
|
|
46
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
47
47
|
(client: Client<import("../..").ApiVersion>, params: {
|
|
48
48
|
kms: string;
|
|
49
49
|
app_id: string;
|
|
@@ -23,7 +23,7 @@ declare const getKmsContract: {
|
|
|
23
23
|
slug: string;
|
|
24
24
|
}, parameters: {
|
|
25
25
|
schema: T;
|
|
26
|
-
}): Promise<z.
|
|
26
|
+
}): Promise<z.infer<T>>;
|
|
27
27
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
28
28
|
slug: string;
|
|
29
29
|
}, parameters: {
|
|
@@ -47,7 +47,7 @@ declare const getKmsContract: {
|
|
|
47
47
|
slug: string;
|
|
48
48
|
}, parameters: {
|
|
49
49
|
schema: T;
|
|
50
|
-
}): Promise<import("../..").SafeResult<z.
|
|
50
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
51
51
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
52
52
|
slug: string;
|
|
53
53
|
}, parameters: {
|
|
@@ -27,7 +27,7 @@ declare const getKmsInfo: {
|
|
|
27
27
|
kms_id: string;
|
|
28
28
|
}, parameters: {
|
|
29
29
|
schema: T;
|
|
30
|
-
}): Promise<z.
|
|
30
|
+
}): Promise<z.infer<T>>;
|
|
31
31
|
(client: Client<import("../..").ApiVersion>, params: {
|
|
32
32
|
kms_id: string;
|
|
33
33
|
}, parameters: {
|
|
@@ -41,7 +41,7 @@ declare const getKmsInfo: {
|
|
|
41
41
|
kms_id: string;
|
|
42
42
|
}, parameters: {
|
|
43
43
|
schema: T;
|
|
44
|
-
}): Promise<import("../..").SafeResult<z.
|
|
44
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
45
45
|
(client: Client<import("../..").ApiVersion>, params: {
|
|
46
46
|
kms_id: string;
|
|
47
47
|
}, parameters: {
|
|
@@ -66,7 +66,7 @@ declare const getKmsList: {
|
|
|
66
66
|
is_onchain?: boolean | undefined;
|
|
67
67
|
} | undefined, parameters?: {
|
|
68
68
|
schema: T;
|
|
69
|
-
} | undefined): Promise<z.
|
|
69
|
+
} | undefined): Promise<z.infer<T>>;
|
|
70
70
|
(client: Client<import("../..").ApiVersion>, params?: {
|
|
71
71
|
page?: number | undefined;
|
|
72
72
|
page_size?: number | undefined;
|
|
@@ -86,7 +86,7 @@ declare const getKmsList: {
|
|
|
86
86
|
is_onchain?: boolean | undefined;
|
|
87
87
|
} | undefined, parameters?: {
|
|
88
88
|
schema: T;
|
|
89
|
-
} | undefined): Promise<import("../..").SafeResult<z.
|
|
89
|
+
} | undefined): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
90
90
|
(client: Client<import("../..").ApiVersion>, params?: {
|
|
91
91
|
page?: number | undefined;
|
|
92
92
|
page_size?: number | undefined;
|
|
@@ -72,11 +72,14 @@ declare const getKmsOnChainDetail: {
|
|
|
72
72
|
contract_address: string;
|
|
73
73
|
chain_id: number;
|
|
74
74
|
chain_name: string;
|
|
75
|
+
k256_pubkey?: string | null | undefined;
|
|
76
|
+
ca_pubkey?: string | null | undefined;
|
|
77
|
+
gateway_contract_address?: string | null | undefined;
|
|
75
78
|
devices: {
|
|
76
79
|
[x: string]: unknown;
|
|
77
80
|
device_id: string;
|
|
78
|
-
on_chain_allowed: boolean | null;
|
|
79
81
|
node_name?: string | null | undefined;
|
|
82
|
+
on_chain_allowed: boolean | null;
|
|
80
83
|
}[];
|
|
81
84
|
os_images: {
|
|
82
85
|
[x: string]: unknown;
|
|
@@ -85,16 +88,13 @@ declare const getKmsOnChainDetail: {
|
|
|
85
88
|
os_image_hash: string | null;
|
|
86
89
|
on_chain_allowed: boolean | null;
|
|
87
90
|
}[];
|
|
88
|
-
k256_pubkey?: string | null | undefined;
|
|
89
|
-
ca_pubkey?: string | null | undefined;
|
|
90
|
-
gateway_contract_address?: string | null | undefined;
|
|
91
91
|
}[];
|
|
92
92
|
}>;
|
|
93
93
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
94
94
|
chain: string;
|
|
95
95
|
}, parameters: {
|
|
96
96
|
schema: T;
|
|
97
|
-
}): Promise<z.
|
|
97
|
+
}): Promise<z.infer<T>>;
|
|
98
98
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
99
99
|
chain: string;
|
|
100
100
|
}, parameters: {
|
|
@@ -112,11 +112,14 @@ declare const getKmsOnChainDetail: {
|
|
|
112
112
|
contract_address: string;
|
|
113
113
|
chain_id: number;
|
|
114
114
|
chain_name: string;
|
|
115
|
+
k256_pubkey?: string | null | undefined;
|
|
116
|
+
ca_pubkey?: string | null | undefined;
|
|
117
|
+
gateway_contract_address?: string | null | undefined;
|
|
115
118
|
devices: {
|
|
116
119
|
[x: string]: unknown;
|
|
117
120
|
device_id: string;
|
|
118
|
-
on_chain_allowed: boolean | null;
|
|
119
121
|
node_name?: string | null | undefined;
|
|
122
|
+
on_chain_allowed: boolean | null;
|
|
120
123
|
}[];
|
|
121
124
|
os_images: {
|
|
122
125
|
[x: string]: unknown;
|
|
@@ -125,16 +128,13 @@ declare const getKmsOnChainDetail: {
|
|
|
125
128
|
os_image_hash: string | null;
|
|
126
129
|
on_chain_allowed: boolean | null;
|
|
127
130
|
}[];
|
|
128
|
-
k256_pubkey?: string | null | undefined;
|
|
129
|
-
ca_pubkey?: string | null | undefined;
|
|
130
|
-
gateway_contract_address?: string | null | undefined;
|
|
131
131
|
}[];
|
|
132
132
|
}>>;
|
|
133
133
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
134
134
|
chain: string;
|
|
135
135
|
}, parameters: {
|
|
136
136
|
schema: T;
|
|
137
|
-
}): Promise<import("../..").SafeResult<z.
|
|
137
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
138
138
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
139
139
|
chain: string;
|
|
140
140
|
}, parameters: {
|
|
@@ -32,7 +32,7 @@ declare const listKmsContractNodes: {
|
|
|
32
32
|
slug: string;
|
|
33
33
|
}, parameters: {
|
|
34
34
|
schema: T;
|
|
35
|
-
}): Promise<z.
|
|
35
|
+
}): Promise<z.infer<T>>;
|
|
36
36
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
37
37
|
slug: string;
|
|
38
38
|
}, parameters: {
|
|
@@ -56,7 +56,7 @@ declare const listKmsContractNodes: {
|
|
|
56
56
|
slug: string;
|
|
57
57
|
}, parameters: {
|
|
58
58
|
schema: T;
|
|
59
|
-
}): Promise<import("../..").SafeResult<z.
|
|
59
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
60
60
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
61
61
|
slug: string;
|
|
62
62
|
}, parameters: {
|
|
@@ -50,7 +50,7 @@ declare const listKmsContracts: {
|
|
|
50
50
|
is_onchain?: boolean | undefined;
|
|
51
51
|
} | undefined, parameters?: {
|
|
52
52
|
schema: T;
|
|
53
|
-
} | undefined): Promise<z.
|
|
53
|
+
} | undefined): Promise<z.infer<T>>;
|
|
54
54
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: {
|
|
55
55
|
page?: number | undefined;
|
|
56
56
|
page_size?: number | undefined;
|
|
@@ -86,7 +86,7 @@ declare const listKmsContracts: {
|
|
|
86
86
|
is_onchain?: boolean | undefined;
|
|
87
87
|
} | undefined, parameters?: {
|
|
88
88
|
schema: T;
|
|
89
|
-
} | undefined): Promise<import("../..").SafeResult<z.
|
|
89
|
+
} | undefined): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
90
90
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: {
|
|
91
91
|
page?: number | undefined;
|
|
92
92
|
page_size?: number | undefined;
|
|
@@ -24,7 +24,7 @@ declare const nextAppIds: {
|
|
|
24
24
|
counts: number;
|
|
25
25
|
}, parameters: {
|
|
26
26
|
schema: T;
|
|
27
|
-
}): Promise<z.
|
|
27
|
+
}): Promise<z.infer<T>>;
|
|
28
28
|
(client: Client<import("../..").ApiVersion>, params: {
|
|
29
29
|
counts: number;
|
|
30
30
|
}, parameters: {
|
|
@@ -43,7 +43,7 @@ declare const nextAppIds: {
|
|
|
43
43
|
counts: number;
|
|
44
44
|
}, parameters: {
|
|
45
45
|
schema: T;
|
|
46
|
-
}): Promise<import("../..").SafeResult<z.
|
|
46
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
47
47
|
(client: Client<import("../..").ApiVersion>, params: {
|
|
48
48
|
counts: number;
|
|
49
49
|
}, parameters: {
|
|
@@ -105,16 +105,16 @@ declare const listAllInstanceTypeFamilies: {
|
|
|
105
105
|
hourly_rate: string;
|
|
106
106
|
requires_gpu: boolean;
|
|
107
107
|
requires_gpu_count: number;
|
|
108
|
+
requires_gpu_product_id?: string | null | undefined;
|
|
108
109
|
default_disk_size_gb: number;
|
|
109
110
|
family: string | null;
|
|
110
|
-
requires_gpu_product_id?: string | null | undefined;
|
|
111
111
|
}[];
|
|
112
112
|
total: number;
|
|
113
113
|
}[];
|
|
114
114
|
}>;
|
|
115
115
|
<T extends z.ZodTypeAny>(client: Client<import("..").ApiVersion>, params?: void | undefined, parameters?: {
|
|
116
116
|
schema: T;
|
|
117
|
-
} | undefined): Promise<z.
|
|
117
|
+
} | undefined): Promise<z.infer<T>>;
|
|
118
118
|
(client: Client<import("..").ApiVersion>, params?: void | undefined, parameters?: {
|
|
119
119
|
schema: false;
|
|
120
120
|
} | undefined): Promise<unknown>;
|
|
@@ -132,16 +132,16 @@ declare const listAllInstanceTypeFamilies: {
|
|
|
132
132
|
hourly_rate: string;
|
|
133
133
|
requires_gpu: boolean;
|
|
134
134
|
requires_gpu_count: number;
|
|
135
|
+
requires_gpu_product_id?: string | null | undefined;
|
|
135
136
|
default_disk_size_gb: number;
|
|
136
137
|
family: string | null;
|
|
137
|
-
requires_gpu_product_id?: string | null | undefined;
|
|
138
138
|
}[];
|
|
139
139
|
total: number;
|
|
140
140
|
}[];
|
|
141
141
|
}>>;
|
|
142
142
|
<T extends z.ZodTypeAny>(client: Client<import("..").ApiVersion>, params?: void | undefined, parameters?: {
|
|
143
143
|
schema: T;
|
|
144
|
-
} | undefined): Promise<import("..").SafeResult<z.
|
|
144
|
+
} | undefined): Promise<import("..").SafeResult<z.infer<T>>>;
|
|
145
145
|
(client: Client<import("..").ApiVersion>, params?: void | undefined, parameters?: {
|
|
146
146
|
schema: false;
|
|
147
147
|
} | undefined): Promise<import("..").SafeResult<unknown>>;
|
|
@@ -178,9 +178,9 @@ declare const listFamilyInstanceTypes: {
|
|
|
178
178
|
hourly_rate: string;
|
|
179
179
|
requires_gpu: boolean;
|
|
180
180
|
requires_gpu_count: number;
|
|
181
|
+
requires_gpu_product_id?: string | null | undefined;
|
|
181
182
|
default_disk_size_gb: number;
|
|
182
183
|
family: string | null;
|
|
183
|
-
requires_gpu_product_id?: string | null | undefined;
|
|
184
184
|
}[];
|
|
185
185
|
total: number;
|
|
186
186
|
family: string;
|
|
@@ -189,7 +189,7 @@ declare const listFamilyInstanceTypes: {
|
|
|
189
189
|
family: string;
|
|
190
190
|
}, parameters: {
|
|
191
191
|
schema: T;
|
|
192
|
-
}): Promise<z.
|
|
192
|
+
}): Promise<z.infer<T>>;
|
|
193
193
|
(client: Client<import("..").ApiVersion>, params: {
|
|
194
194
|
family: string;
|
|
195
195
|
}, parameters: {
|
|
@@ -209,9 +209,9 @@ declare const listFamilyInstanceTypes: {
|
|
|
209
209
|
hourly_rate: string;
|
|
210
210
|
requires_gpu: boolean;
|
|
211
211
|
requires_gpu_count: number;
|
|
212
|
+
requires_gpu_product_id?: string | null | undefined;
|
|
212
213
|
default_disk_size_gb: number;
|
|
213
214
|
family: string | null;
|
|
214
|
-
requires_gpu_product_id?: string | null | undefined;
|
|
215
215
|
}[];
|
|
216
216
|
total: number;
|
|
217
217
|
family: string;
|
|
@@ -220,7 +220,7 @@ declare const listFamilyInstanceTypes: {
|
|
|
220
220
|
family: string;
|
|
221
221
|
}, parameters: {
|
|
222
222
|
schema: T;
|
|
223
|
-
}): Promise<import("..").SafeResult<z.
|
|
223
|
+
}): Promise<import("..").SafeResult<z.infer<T>>>;
|
|
224
224
|
(client: Client<import("..").ApiVersion>, params: {
|
|
225
225
|
family: string;
|
|
226
226
|
}, parameters: {
|
|
@@ -56,7 +56,7 @@ declare const getOsImages: {
|
|
|
56
56
|
is_dev?: boolean | undefined;
|
|
57
57
|
} | undefined, parameters?: {
|
|
58
58
|
schema: T;
|
|
59
|
-
} | undefined): Promise<z.
|
|
59
|
+
} | undefined): Promise<z.infer<T>>;
|
|
60
60
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: {
|
|
61
61
|
page?: number | undefined;
|
|
62
62
|
page_size?: number | undefined;
|
|
@@ -91,7 +91,7 @@ declare const getOsImages: {
|
|
|
91
91
|
is_dev?: boolean | undefined;
|
|
92
92
|
} | undefined, parameters?: {
|
|
93
93
|
schema: T;
|
|
94
|
-
} | undefined): Promise<import("../..").SafeResult<z.
|
|
94
|
+
} | undefined): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
95
95
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: {
|
|
96
96
|
page?: number | undefined;
|
|
97
97
|
page_size?: number | undefined;
|