@phala/cloud 0.6.5 → 0.6.6
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
|
@@ -48,17 +48,17 @@ declare const createSshKey: {
|
|
|
48
48
|
fingerprint: string;
|
|
49
49
|
key_type: string;
|
|
50
50
|
source: string;
|
|
51
|
-
created_at: string;
|
|
52
|
-
updated_at: string;
|
|
53
51
|
key_metadata?: Record<string, unknown> | null | undefined;
|
|
54
52
|
last_synced_at?: string | null | undefined;
|
|
53
|
+
created_at: string;
|
|
54
|
+
updated_at: string;
|
|
55
55
|
}>;
|
|
56
56
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
57
57
|
name: string;
|
|
58
58
|
public_key: string;
|
|
59
59
|
}, parameters: {
|
|
60
60
|
schema: T;
|
|
61
|
-
}): Promise<z.
|
|
61
|
+
}): Promise<z.infer<T>>;
|
|
62
62
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
63
63
|
name: string;
|
|
64
64
|
public_key: string;
|
|
@@ -77,17 +77,17 @@ declare const createSshKey: {
|
|
|
77
77
|
fingerprint: string;
|
|
78
78
|
key_type: string;
|
|
79
79
|
source: string;
|
|
80
|
-
created_at: string;
|
|
81
|
-
updated_at: string;
|
|
82
80
|
key_metadata?: Record<string, unknown> | null | undefined;
|
|
83
81
|
last_synced_at?: string | null | undefined;
|
|
82
|
+
created_at: string;
|
|
83
|
+
updated_at: string;
|
|
84
84
|
}>>;
|
|
85
85
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
86
86
|
name: string;
|
|
87
87
|
public_key: string;
|
|
88
88
|
}, parameters: {
|
|
89
89
|
schema: T;
|
|
90
|
-
}): Promise<import("../..").SafeResult<z.
|
|
90
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
91
91
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
92
92
|
name: string;
|
|
93
93
|
public_key: string;
|
|
@@ -37,7 +37,7 @@ declare const deleteSshKey: {
|
|
|
37
37
|
keyId: string;
|
|
38
38
|
}, parameters: {
|
|
39
39
|
schema: T;
|
|
40
|
-
}): Promise<z.
|
|
40
|
+
}): Promise<z.infer<T>>;
|
|
41
41
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
42
42
|
keyId: string;
|
|
43
43
|
}, parameters: {
|
|
@@ -51,7 +51,7 @@ declare const deleteSshKey: {
|
|
|
51
51
|
keyId: string;
|
|
52
52
|
}, parameters: {
|
|
53
53
|
schema: T;
|
|
54
|
-
}): Promise<import("../..").SafeResult<z.
|
|
54
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
55
55
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
56
56
|
keyId: string;
|
|
57
57
|
}, parameters: {
|
|
@@ -85,7 +85,7 @@ declare const getCvmSshKeys: {
|
|
|
85
85
|
}>;
|
|
86
86
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput, parameters: {
|
|
87
87
|
schema: T;
|
|
88
|
-
}): Promise<z.
|
|
88
|
+
}): Promise<z.infer<T>>;
|
|
89
89
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput, parameters: {
|
|
90
90
|
schema: false;
|
|
91
91
|
}): Promise<unknown>;
|
|
@@ -105,7 +105,7 @@ declare const getCvmSshKeys: {
|
|
|
105
105
|
}>>;
|
|
106
106
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput, parameters: {
|
|
107
107
|
schema: T;
|
|
108
|
-
}): Promise<import("../..").SafeResult<z.
|
|
108
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
109
109
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput, parameters: {
|
|
110
110
|
schema: false;
|
|
111
111
|
}): Promise<import("../..").SafeResult<unknown>>;
|
|
@@ -50,7 +50,7 @@ declare const importGithubProfileSshKeys: {
|
|
|
50
50
|
github_username: string;
|
|
51
51
|
}, parameters: {
|
|
52
52
|
schema: T;
|
|
53
|
-
}): Promise<z.
|
|
53
|
+
}): Promise<z.infer<T>>;
|
|
54
54
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
55
55
|
github_username: string;
|
|
56
56
|
}, parameters: {
|
|
@@ -69,7 +69,7 @@ declare const importGithubProfileSshKeys: {
|
|
|
69
69
|
github_username: string;
|
|
70
70
|
}, parameters: {
|
|
71
71
|
schema: T;
|
|
72
|
-
}): Promise<import("../..").SafeResult<z.
|
|
72
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
73
73
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
74
74
|
github_username: string;
|
|
75
75
|
}, parameters: {
|
|
@@ -40,7 +40,7 @@ declare const syncGithubSshKeys: {
|
|
|
40
40
|
}): Promise<unknown>;
|
|
41
41
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, parameters: {
|
|
42
42
|
schema: T;
|
|
43
|
-
}): Promise<z.
|
|
43
|
+
}): Promise<z.infer<T>>;
|
|
44
44
|
(client: import("../..").BaseClient<import("../..").ApiVersion>): Promise<{
|
|
45
45
|
synced_count: number;
|
|
46
46
|
keys_added: number;
|
|
@@ -54,7 +54,7 @@ declare const syncGithubSshKeys: {
|
|
|
54
54
|
}): Promise<import("../..").SafeResult<unknown>>;
|
|
55
55
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, parameters: {
|
|
56
56
|
schema: T;
|
|
57
|
-
}): Promise<import("../..").SafeResult<z.
|
|
57
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
58
58
|
(client: import("../..").BaseClient<import("../..").ApiVersion>): Promise<import("../..").SafeResult<{
|
|
59
59
|
synced_count: number;
|
|
60
60
|
keys_added: number;
|
|
@@ -44,12 +44,12 @@ export type UpdateCvmSshKeysRequest = z.input<typeof UpdateCvmSshKeysRequestSche
|
|
|
44
44
|
*/
|
|
45
45
|
declare const updateCvmSshKeys: {
|
|
46
46
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
47
|
-
ssh_key_ids: string[];
|
|
48
47
|
id?: string | undefined;
|
|
49
48
|
uuid?: string | undefined;
|
|
50
49
|
app_id?: string | undefined;
|
|
51
50
|
instance_id?: string | undefined;
|
|
52
51
|
name?: string | undefined;
|
|
52
|
+
ssh_key_ids: string[];
|
|
53
53
|
usernames?: string[] | undefined;
|
|
54
54
|
apply_now?: boolean | undefined;
|
|
55
55
|
}): Promise<{
|
|
@@ -66,24 +66,24 @@ declare const updateCvmSshKeys: {
|
|
|
66
66
|
restart_required: boolean;
|
|
67
67
|
}>;
|
|
68
68
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
69
|
-
ssh_key_ids: string[];
|
|
70
69
|
id?: string | undefined;
|
|
71
70
|
uuid?: string | undefined;
|
|
72
71
|
app_id?: string | undefined;
|
|
73
72
|
instance_id?: string | undefined;
|
|
74
73
|
name?: string | undefined;
|
|
74
|
+
ssh_key_ids: string[];
|
|
75
75
|
usernames?: string[] | undefined;
|
|
76
76
|
apply_now?: boolean | undefined;
|
|
77
77
|
}, parameters: {
|
|
78
78
|
schema: T;
|
|
79
|
-
}): Promise<z.
|
|
79
|
+
}): Promise<z.infer<T>>;
|
|
80
80
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
81
|
-
ssh_key_ids: string[];
|
|
82
81
|
id?: string | undefined;
|
|
83
82
|
uuid?: string | undefined;
|
|
84
83
|
app_id?: string | undefined;
|
|
85
84
|
instance_id?: string | undefined;
|
|
86
85
|
name?: string | undefined;
|
|
86
|
+
ssh_key_ids: string[];
|
|
87
87
|
usernames?: string[] | undefined;
|
|
88
88
|
apply_now?: boolean | undefined;
|
|
89
89
|
}, parameters: {
|
|
@@ -91,12 +91,12 @@ declare const updateCvmSshKeys: {
|
|
|
91
91
|
}): Promise<unknown>;
|
|
92
92
|
}, safeUpdateCvmSshKeys: {
|
|
93
93
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
94
|
-
ssh_key_ids: string[];
|
|
95
94
|
id?: string | undefined;
|
|
96
95
|
uuid?: string | undefined;
|
|
97
96
|
app_id?: string | undefined;
|
|
98
97
|
instance_id?: string | undefined;
|
|
99
98
|
name?: string | undefined;
|
|
99
|
+
ssh_key_ids: string[];
|
|
100
100
|
usernames?: string[] | undefined;
|
|
101
101
|
apply_now?: boolean | undefined;
|
|
102
102
|
}): Promise<import("../..").SafeResult<{
|
|
@@ -113,24 +113,24 @@ declare const updateCvmSshKeys: {
|
|
|
113
113
|
restart_required: boolean;
|
|
114
114
|
}>>;
|
|
115
115
|
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
116
|
-
ssh_key_ids: string[];
|
|
117
116
|
id?: string | undefined;
|
|
118
117
|
uuid?: string | undefined;
|
|
119
118
|
app_id?: string | undefined;
|
|
120
119
|
instance_id?: string | undefined;
|
|
121
120
|
name?: string | undefined;
|
|
121
|
+
ssh_key_ids: string[];
|
|
122
122
|
usernames?: string[] | undefined;
|
|
123
123
|
apply_now?: boolean | undefined;
|
|
124
124
|
}, parameters: {
|
|
125
125
|
schema: T;
|
|
126
|
-
}): Promise<import("../..").SafeResult<z.
|
|
126
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
127
127
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: {
|
|
128
|
-
ssh_key_ids: string[];
|
|
129
128
|
id?: string | undefined;
|
|
130
129
|
uuid?: string | undefined;
|
|
131
130
|
app_id?: string | undefined;
|
|
132
131
|
instance_id?: string | undefined;
|
|
133
132
|
name?: string | undefined;
|
|
133
|
+
ssh_key_ids: string[];
|
|
134
134
|
usernames?: string[] | undefined;
|
|
135
135
|
apply_now?: boolean | undefined;
|
|
136
136
|
}, parameters: {
|
|
@@ -69,19 +69,19 @@ declare const getWorkspace: {
|
|
|
69
69
|
id: string;
|
|
70
70
|
name: string;
|
|
71
71
|
slug: string | null;
|
|
72
|
+
avatar_url?: string | null | undefined;
|
|
73
|
+
description?: string | null | undefined;
|
|
72
74
|
tier: string;
|
|
73
75
|
role: string;
|
|
74
76
|
is_default: boolean;
|
|
75
77
|
created_at: string;
|
|
76
|
-
billing_status: "active" | "suspended" | "abandoned";
|
|
77
|
-
avatar_url?: string | null | undefined;
|
|
78
|
-
description?: string | null | undefined;
|
|
79
78
|
confidential_models_enabled?: boolean | undefined;
|
|
79
|
+
billing_status: "abandoned" | "active" | "suspended";
|
|
80
80
|
suspended_at?: string | null | undefined;
|
|
81
81
|
}>;
|
|
82
82
|
<T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params: string, parameters: {
|
|
83
83
|
schema: T;
|
|
84
|
-
}): Promise<z.
|
|
84
|
+
}): Promise<z.infer<T>>;
|
|
85
85
|
(client: Client<import("../..").ApiVersion>, params: string, parameters: {
|
|
86
86
|
schema: false;
|
|
87
87
|
}): Promise<unknown>;
|
|
@@ -91,19 +91,19 @@ declare const getWorkspace: {
|
|
|
91
91
|
id: string;
|
|
92
92
|
name: string;
|
|
93
93
|
slug: string | null;
|
|
94
|
+
avatar_url?: string | null | undefined;
|
|
95
|
+
description?: string | null | undefined;
|
|
94
96
|
tier: string;
|
|
95
97
|
role: string;
|
|
96
98
|
is_default: boolean;
|
|
97
99
|
created_at: string;
|
|
98
|
-
billing_status: "active" | "suspended" | "abandoned";
|
|
99
|
-
avatar_url?: string | null | undefined;
|
|
100
|
-
description?: string | null | undefined;
|
|
101
100
|
confidential_models_enabled?: boolean | undefined;
|
|
101
|
+
billing_status: "abandoned" | "active" | "suspended";
|
|
102
102
|
suspended_at?: string | null | undefined;
|
|
103
103
|
}>>;
|
|
104
104
|
<T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params: string, parameters: {
|
|
105
105
|
schema: T;
|
|
106
|
-
}): Promise<import("../..").SafeResult<z.
|
|
106
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
107
107
|
(client: Client<import("../..").ApiVersion>, params: string, parameters: {
|
|
108
108
|
schema: false;
|
|
109
109
|
}): Promise<import("../..").SafeResult<unknown>>;
|
|
@@ -128,19 +128,19 @@ declare const getWorkspaceNodes: {
|
|
|
128
128
|
[x: string]: unknown;
|
|
129
129
|
items: {
|
|
130
130
|
object_type: "node";
|
|
131
|
+
id?: number | null | undefined;
|
|
132
|
+
name?: string | null | undefined;
|
|
133
|
+
region?: string | null | undefined;
|
|
134
|
+
device_id?: string | null | undefined;
|
|
131
135
|
device_ids: {
|
|
132
136
|
device_id: string;
|
|
133
137
|
algorithm_version: string;
|
|
134
138
|
enabled: boolean;
|
|
135
139
|
}[];
|
|
136
|
-
node: string;
|
|
137
|
-
id?: number | null | undefined;
|
|
138
|
-
name?: string | null | undefined;
|
|
139
|
-
region?: string | null | undefined;
|
|
140
|
-
device_id?: string | null | undefined;
|
|
141
140
|
ppid?: string | null | undefined;
|
|
142
141
|
status?: string | null | undefined;
|
|
143
142
|
version?: string | null | undefined;
|
|
143
|
+
node: string;
|
|
144
144
|
}[];
|
|
145
145
|
total: number;
|
|
146
146
|
page: number;
|
|
@@ -149,7 +149,7 @@ declare const getWorkspaceNodes: {
|
|
|
149
149
|
}>;
|
|
150
150
|
<T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params: GetWorkspaceNodesRequest, parameters: {
|
|
151
151
|
schema: T;
|
|
152
|
-
}): Promise<z.
|
|
152
|
+
}): Promise<z.infer<T>>;
|
|
153
153
|
(client: Client<import("../..").ApiVersion>, params: GetWorkspaceNodesRequest, parameters: {
|
|
154
154
|
schema: false;
|
|
155
155
|
}): Promise<unknown>;
|
|
@@ -158,19 +158,19 @@ declare const getWorkspaceNodes: {
|
|
|
158
158
|
[x: string]: unknown;
|
|
159
159
|
items: {
|
|
160
160
|
object_type: "node";
|
|
161
|
+
id?: number | null | undefined;
|
|
162
|
+
name?: string | null | undefined;
|
|
163
|
+
region?: string | null | undefined;
|
|
164
|
+
device_id?: string | null | undefined;
|
|
161
165
|
device_ids: {
|
|
162
166
|
device_id: string;
|
|
163
167
|
algorithm_version: string;
|
|
164
168
|
enabled: boolean;
|
|
165
169
|
}[];
|
|
166
|
-
node: string;
|
|
167
|
-
id?: number | null | undefined;
|
|
168
|
-
name?: string | null | undefined;
|
|
169
|
-
region?: string | null | undefined;
|
|
170
|
-
device_id?: string | null | undefined;
|
|
171
170
|
ppid?: string | null | undefined;
|
|
172
171
|
status?: string | null | undefined;
|
|
173
172
|
version?: string | null | undefined;
|
|
173
|
+
node: string;
|
|
174
174
|
}[];
|
|
175
175
|
total: number;
|
|
176
176
|
page: number;
|
|
@@ -179,7 +179,7 @@ declare const getWorkspaceNodes: {
|
|
|
179
179
|
}>>;
|
|
180
180
|
<T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params: GetWorkspaceNodesRequest, parameters: {
|
|
181
181
|
schema: T;
|
|
182
|
-
}): Promise<import("../..").SafeResult<z.
|
|
182
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
183
183
|
(client: Client<import("../..").ApiVersion>, params: GetWorkspaceNodesRequest, parameters: {
|
|
184
184
|
schema: false;
|
|
185
185
|
}): Promise<import("../..").SafeResult<unknown>>;
|
|
@@ -196,7 +196,7 @@ declare const getWorkspaceQuotas: {
|
|
|
196
196
|
}>;
|
|
197
197
|
<T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params: GetWorkspaceQuotasRequest, parameters: {
|
|
198
198
|
schema: T;
|
|
199
|
-
}): Promise<z.
|
|
199
|
+
}): Promise<z.infer<T>>;
|
|
200
200
|
(client: Client<import("../..").ApiVersion>, params: GetWorkspaceQuotasRequest, parameters: {
|
|
201
201
|
schema: false;
|
|
202
202
|
}): Promise<unknown>;
|
|
@@ -247,7 +247,7 @@ declare const getWorkspaceQuotas: {
|
|
|
247
247
|
}>>;
|
|
248
248
|
<T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params: GetWorkspaceQuotasRequest, parameters: {
|
|
249
249
|
schema: T;
|
|
250
|
-
}): Promise<import("../..").SafeResult<z.
|
|
250
|
+
}): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
251
251
|
(client: Client<import("../..").ApiVersion>, params: GetWorkspaceQuotasRequest, parameters: {
|
|
252
252
|
schema: false;
|
|
253
253
|
}): Promise<import("../..").SafeResult<unknown>>;
|
|
@@ -73,9 +73,9 @@ export declare const WorkspaceResponseSchema: z.ZodObject<{
|
|
|
73
73
|
created_at: z.ZodString;
|
|
74
74
|
confidential_models_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
75
75
|
billing_status: z.ZodDefault<z.ZodEnum<{
|
|
76
|
+
abandoned: "abandoned";
|
|
76
77
|
active: "active";
|
|
77
78
|
suspended: "suspended";
|
|
78
|
-
abandoned: "abandoned";
|
|
79
79
|
}>>;
|
|
80
80
|
suspended_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
81
81
|
}, z.core.$loose>;
|
|
@@ -97,9 +97,9 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
|
|
|
97
97
|
created_at: z.ZodString;
|
|
98
98
|
confidential_models_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
99
99
|
billing_status: z.ZodDefault<z.ZodEnum<{
|
|
100
|
+
abandoned: "abandoned";
|
|
100
101
|
active: "active";
|
|
101
102
|
suspended: "suspended";
|
|
102
|
-
abandoned: "abandoned";
|
|
103
103
|
}>>;
|
|
104
104
|
suspended_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
105
|
}, z.core.$loose>>;
|
|
@@ -124,14 +124,14 @@ declare const listWorkspaces: {
|
|
|
124
124
|
id: string;
|
|
125
125
|
name: string;
|
|
126
126
|
slug: string | null;
|
|
127
|
+
avatar_url?: string | null | undefined;
|
|
128
|
+
description?: string | null | undefined;
|
|
127
129
|
tier: string;
|
|
128
130
|
role: string;
|
|
129
131
|
is_default: boolean;
|
|
130
132
|
created_at: string;
|
|
131
|
-
billing_status: "active" | "suspended" | "abandoned";
|
|
132
|
-
avatar_url?: string | null | undefined;
|
|
133
|
-
description?: string | null | undefined;
|
|
134
133
|
confidential_models_enabled?: boolean | undefined;
|
|
134
|
+
billing_status: "abandoned" | "active" | "suspended";
|
|
135
135
|
suspended_at?: string | null | undefined;
|
|
136
136
|
}[];
|
|
137
137
|
pagination: {
|
|
@@ -143,7 +143,7 @@ declare const listWorkspaces: {
|
|
|
143
143
|
}>;
|
|
144
144
|
<T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: ListWorkspacesRequest | undefined, parameters?: {
|
|
145
145
|
schema: T;
|
|
146
|
-
} | undefined): Promise<z.
|
|
146
|
+
} | undefined): Promise<z.infer<T>>;
|
|
147
147
|
(client: Client<import("../..").ApiVersion>, params?: ListWorkspacesRequest | undefined, parameters?: {
|
|
148
148
|
schema: false;
|
|
149
149
|
} | undefined): Promise<unknown>;
|
|
@@ -155,14 +155,14 @@ declare const listWorkspaces: {
|
|
|
155
155
|
id: string;
|
|
156
156
|
name: string;
|
|
157
157
|
slug: string | null;
|
|
158
|
+
avatar_url?: string | null | undefined;
|
|
159
|
+
description?: string | null | undefined;
|
|
158
160
|
tier: string;
|
|
159
161
|
role: string;
|
|
160
162
|
is_default: boolean;
|
|
161
163
|
created_at: string;
|
|
162
|
-
billing_status: "active" | "suspended" | "abandoned";
|
|
163
|
-
avatar_url?: string | null | undefined;
|
|
164
|
-
description?: string | null | undefined;
|
|
165
164
|
confidential_models_enabled?: boolean | undefined;
|
|
165
|
+
billing_status: "abandoned" | "active" | "suspended";
|
|
166
166
|
suspended_at?: string | null | undefined;
|
|
167
167
|
}[];
|
|
168
168
|
pagination: {
|
|
@@ -174,7 +174,7 @@ declare const listWorkspaces: {
|
|
|
174
174
|
}>>;
|
|
175
175
|
<T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: ListWorkspacesRequest | undefined, parameters?: {
|
|
176
176
|
schema: T;
|
|
177
|
-
} | undefined): Promise<import("../..").SafeResult<z.
|
|
177
|
+
} | undefined): Promise<import("../..").SafeResult<z.infer<T>>>;
|
|
178
178
|
(client: Client<import("../..").ApiVersion>, params?: ListWorkspacesRequest | undefined, parameters?: {
|
|
179
179
|
schema: false;
|
|
180
180
|
} | undefined): Promise<import("../..").SafeResult<unknown>>;
|