@miosa/sdk 1.2.4 → 1.2.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 +75 -3
- package/dist/index.d.ts +323 -175
- package/dist/index.js +441 -386
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
- package/src/client.ts +0 -293
- package/src/errors.ts +0 -136
- package/src/http.test.ts +0 -374
- package/src/http.ts +0 -390
- package/src/index.ts +0 -564
- package/src/resources/admin.ts +0 -359
- package/src/resources/analytics.ts +0 -60
- package/src/resources/api-keys.ts +0 -135
- package/src/resources/audit-log.ts +0 -64
- package/src/resources/benchmarks.ts +0 -104
- package/src/resources/builder-sessions.ts +0 -75
- package/src/resources/channels.ts +0 -143
- package/src/resources/checkpoints.ts +0 -225
- package/src/resources/command-center.ts +0 -73
- package/src/resources/community.ts +0 -103
- package/src/resources/completions.ts +0 -104
- package/src/resources/computer-auto-stop.ts +0 -43
- package/src/resources/computer-env.ts +0 -76
- package/src/resources/computer-logs.ts +0 -50
- package/src/resources/computer-osa.ts +0 -76
- package/src/resources/computer-ports.ts +0 -91
- package/src/resources/computer-terminal.ts +0 -61
- package/src/resources/computer-volumes.ts +0 -64
- package/src/resources/computer.ts +0 -551
- package/src/resources/computers.ts +0 -75
- package/src/resources/credits.ts +0 -43
- package/src/resources/cron-jobs.ts +0 -191
- package/src/resources/custom_domains.ts +0 -123
- package/src/resources/dashboard.ts +0 -49
- package/src/resources/databases.ts +0 -218
- package/src/resources/deployments.test.ts +0 -194
- package/src/resources/deployments.ts +0 -1060
- package/src/resources/desktop.ts +0 -134
- package/src/resources/docker-deploy.test.ts +0 -102
- package/src/resources/docker-deploy.ts +0 -183
- package/src/resources/egress.test.ts +0 -318
- package/src/resources/egressAudit.ts +0 -245
- package/src/resources/egressNetwork.ts +0 -450
- package/src/resources/egressSecrets.ts +0 -577
- package/src/resources/email.ts +0 -212
- package/src/resources/embeddings.ts +0 -36
- package/src/resources/events.ts +0 -296
- package/src/resources/exec.ts +0 -319
- package/src/resources/external-keys.ts +0 -79
- package/src/resources/files.test.ts +0 -339
- package/src/resources/files.ts +0 -220
- package/src/resources/flat-custom-domains.ts +0 -127
- package/src/resources/functions.ts +0 -178
- package/src/resources/governance.test.ts +0 -355
- package/src/resources/governance.ts +0 -528
- package/src/resources/health-checks.ts +0 -165
- package/src/resources/integrations.ts +0 -183
- package/src/resources/mcp.ts +0 -70
- package/src/resources/models.ts +0 -45
- package/src/resources/network_policy.ts +0 -73
- package/src/resources/open-computers/agents.ts +0 -91
- package/src/resources/open-computers/apps.ts +0 -102
- package/src/resources/open-computers/clusters.ts +0 -88
- package/src/resources/open-computers/desktop.ts +0 -34
- package/src/resources/open-computers/files.ts +0 -97
- package/src/resources/open-computers/hosts.ts +0 -85
- package/src/resources/open-computers/index.ts +0 -98
- package/src/resources/open-computers/jobs.ts +0 -75
- package/src/resources/open-computers/open_computers.test.ts +0 -288
- package/src/resources/open-computers/secrets.ts +0 -115
- package/src/resources/open-computers/terminal.ts +0 -33
- package/src/resources/open-computers/tunnels.ts +0 -87
- package/src/resources/open-computers/types.ts +0 -343
- package/src/resources/open-computers/workspaces.ts +0 -135
- package/src/resources/org-invites.ts +0 -189
- package/src/resources/phase1.test.ts +0 -187
- package/src/resources/project-auth.ts +0 -142
- package/src/resources/project-integrations.ts +0 -133
- package/src/resources/provider-defaults.ts +0 -89
- package/src/resources/quotas.ts +0 -77
- package/src/resources/regions.ts +0 -94
- package/src/resources/sandbox-processes.ts +0 -112
- package/src/resources/sandbox-shares.ts +0 -83
- package/src/resources/sandbox-templates.ts +0 -195
- package/src/resources/sandboxes.live.test.ts +0 -92
- package/src/resources/sandboxes.test.ts +0 -653
- package/src/resources/sandboxes.ts +0 -1433
- package/src/resources/settings.ts +0 -143
- package/src/resources/snapshots-standalone.ts +0 -51
- package/src/resources/storage.ts +0 -221
- package/src/resources/tenant-events.ts +0 -32
- package/src/resources/tenant.ts +0 -148
- package/src/resources/usage.ts +0 -85
- package/src/resources/volumes.ts +0 -117
- package/src/resources/webhooks.ts +0 -224
- package/src/resources/workspace-invites.ts +0 -188
- package/src/resources/workspace-members.test.ts +0 -121
- package/src/resources/workspace-members.ts +0 -143
- package/src/resources/workspaces.ts +0 -285
- package/src/types.ts +0 -463
package/dist/index.d.ts
CHANGED
|
@@ -164,6 +164,74 @@ declare class Admin {
|
|
|
164
164
|
}>;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
+
type AgentRunId = string & {
|
|
168
|
+
readonly __brand: "AgentRunId";
|
|
169
|
+
};
|
|
170
|
+
type AgentRunTargetKind = "sandbox" | "computer";
|
|
171
|
+
type AgentRunStatus = "running" | "succeeded" | "failed" | "canceled";
|
|
172
|
+
type AgentRunProvider = "claude" | "claude-code" | "codex" | "custom" | "hermes" | "osa" | "pi" | (string & {});
|
|
173
|
+
interface AgentRunData {
|
|
174
|
+
id: AgentRunId;
|
|
175
|
+
tenant_id?: string | null;
|
|
176
|
+
user_id?: string | null;
|
|
177
|
+
target_kind: AgentRunTargetKind | string;
|
|
178
|
+
target_id: string;
|
|
179
|
+
target_name?: string | null;
|
|
180
|
+
provider: AgentRunProvider;
|
|
181
|
+
model?: string | null;
|
|
182
|
+
prompt: string;
|
|
183
|
+
status: AgentRunStatus | string;
|
|
184
|
+
output?: string | null;
|
|
185
|
+
stderr?: string | null;
|
|
186
|
+
exit_code?: number | null;
|
|
187
|
+
error_code?: string | null;
|
|
188
|
+
error_message?: string | null;
|
|
189
|
+
metadata?: Record<string, unknown>;
|
|
190
|
+
started_at?: string | null;
|
|
191
|
+
finished_at?: string | null;
|
|
192
|
+
created_at?: string | null;
|
|
193
|
+
updated_at?: string | null;
|
|
194
|
+
}
|
|
195
|
+
interface AgentRunCreateParams {
|
|
196
|
+
target_id?: string;
|
|
197
|
+
targetId?: string;
|
|
198
|
+
sandbox_id?: string;
|
|
199
|
+
sandboxId?: string;
|
|
200
|
+
computer_id?: string;
|
|
201
|
+
computerId?: string;
|
|
202
|
+
target_kind?: AgentRunTargetKind;
|
|
203
|
+
targetKind?: AgentRunTargetKind;
|
|
204
|
+
provider?: AgentRunProvider;
|
|
205
|
+
prompt: string;
|
|
206
|
+
instruction?: string;
|
|
207
|
+
command?: string;
|
|
208
|
+
model?: string;
|
|
209
|
+
cwd?: string;
|
|
210
|
+
timeout?: number;
|
|
211
|
+
metadata?: Record<string, unknown>;
|
|
212
|
+
}
|
|
213
|
+
interface AgentRunListParams {
|
|
214
|
+
target_id?: string;
|
|
215
|
+
targetId?: string;
|
|
216
|
+
sandbox_id?: string;
|
|
217
|
+
sandboxId?: string;
|
|
218
|
+
computer_id?: string;
|
|
219
|
+
computerId?: string;
|
|
220
|
+
limit?: number;
|
|
221
|
+
}
|
|
222
|
+
declare class AgentRuns {
|
|
223
|
+
private readonly http;
|
|
224
|
+
constructor(http: HttpClient);
|
|
225
|
+
/** Dispatch a prompt to a sandbox/computer and persist the run record. */
|
|
226
|
+
create(params: AgentRunCreateParams): Promise<AgentRunData>;
|
|
227
|
+
/** Alias for create(), matching the product language. */
|
|
228
|
+
run(params: AgentRunCreateParams): Promise<AgentRunData>;
|
|
229
|
+
/** List recent agent runs for the authenticated tenant. */
|
|
230
|
+
list(params?: AgentRunListParams): Promise<AgentRunData[]>;
|
|
231
|
+
/** Fetch one persisted agent run. */
|
|
232
|
+
get(runId: string): Promise<AgentRunData>;
|
|
233
|
+
}
|
|
234
|
+
|
|
167
235
|
/**
|
|
168
236
|
* Analytics — overview + timeseries (admin scope).
|
|
169
237
|
*/
|
|
@@ -2548,90 +2616,6 @@ declare class Databases {
|
|
|
2548
2616
|
streamLogs(databaseId: string): AsyncIterableIterator<unknown>;
|
|
2549
2617
|
}
|
|
2550
2618
|
|
|
2551
|
-
type DockerDeployHostId = string & {
|
|
2552
|
-
readonly __brand: "DockerDeployHostId";
|
|
2553
|
-
};
|
|
2554
|
-
type DockerDeployHostStatus = "pending" | "provisioning" | "bootstrapping" | "active" | "degraded" | "suspended" | "retired" | "error";
|
|
2555
|
-
type DockerDeployApplianceStatus = "not_installed" | "installing" | "starting" | "healthy" | "unhealthy" | "unknown";
|
|
2556
|
-
interface DockerDeployHostData {
|
|
2557
|
-
id: DockerDeployHostId;
|
|
2558
|
-
tenant_id: string;
|
|
2559
|
-
workspace_id: string;
|
|
2560
|
-
external_workspace_id?: string | null;
|
|
2561
|
-
computer_id?: string | null;
|
|
2562
|
-
fleet_node_id?: string | null;
|
|
2563
|
-
status: DockerDeployHostStatus;
|
|
2564
|
-
size: string;
|
|
2565
|
-
region: string;
|
|
2566
|
-
portal_domain?: string | null;
|
|
2567
|
-
runtime_base_url?: string | null;
|
|
2568
|
-
agent_base_url?: string | null;
|
|
2569
|
-
appliance_image?: string | null;
|
|
2570
|
-
appliance_version?: string | null;
|
|
2571
|
-
appliance_status: DockerDeployApplianceStatus;
|
|
2572
|
-
agent_last_seen_at?: string | null;
|
|
2573
|
-
metadata?: Record<string, unknown>;
|
|
2574
|
-
created_at?: string;
|
|
2575
|
-
updated_at?: string;
|
|
2576
|
-
}
|
|
2577
|
-
interface DockerDeployHostListParams {
|
|
2578
|
-
workspace_id?: string;
|
|
2579
|
-
workspaceId?: string;
|
|
2580
|
-
}
|
|
2581
|
-
interface DockerDeployHostEnsureParams {
|
|
2582
|
-
workspace_id?: string;
|
|
2583
|
-
workspaceId?: string;
|
|
2584
|
-
external_workspace_id?: string;
|
|
2585
|
-
externalWorkspaceId?: string;
|
|
2586
|
-
}
|
|
2587
|
-
interface DockerDeployHostListResponse {
|
|
2588
|
-
data?: DockerDeployHostData[];
|
|
2589
|
-
hosts?: DockerDeployHostData[];
|
|
2590
|
-
}
|
|
2591
|
-
interface DockerDeployHostResponse {
|
|
2592
|
-
data?: DockerDeployHostData;
|
|
2593
|
-
host?: DockerDeployHostData;
|
|
2594
|
-
queued?: boolean;
|
|
2595
|
-
}
|
|
2596
|
-
interface DockerDeployTemplate {
|
|
2597
|
-
id: string;
|
|
2598
|
-
name: string;
|
|
2599
|
-
description?: string;
|
|
2600
|
-
category?: string;
|
|
2601
|
-
runtime?: string;
|
|
2602
|
-
tags?: string[];
|
|
2603
|
-
metadata?: Record<string, unknown>;
|
|
2604
|
-
[key: string]: unknown;
|
|
2605
|
-
}
|
|
2606
|
-
declare class DockerDeploy {
|
|
2607
|
-
private readonly http;
|
|
2608
|
-
constructor(http: HttpClient);
|
|
2609
|
-
/**
|
|
2610
|
-
* List Docker Deploy appliance hosts scoped to the current tenant.
|
|
2611
|
-
*
|
|
2612
|
-
* Pass a workspace ID to inspect the dedicated always-on appliance machine
|
|
2613
|
-
* for one white-label workspace.
|
|
2614
|
-
*/
|
|
2615
|
-
listHosts(params?: DockerDeployHostListParams): Promise<DockerDeployHostData[]>;
|
|
2616
|
-
/**
|
|
2617
|
-
* Ensure a workspace has its dedicated Docker Deploy appliance host.
|
|
2618
|
-
*
|
|
2619
|
-
* The host may still be `pending`, `provisioning`, or `bootstrapping` after
|
|
2620
|
-
* this call. Treat `status === "active"` and `appliance_status === "healthy"`
|
|
2621
|
-
* as the ready condition before sending app/container traffic to it.
|
|
2622
|
-
*/
|
|
2623
|
-
ensureHost(params?: DockerDeployHostEnsureParams): Promise<{
|
|
2624
|
-
host: DockerDeployHostData;
|
|
2625
|
-
queued: boolean;
|
|
2626
|
-
}>;
|
|
2627
|
-
/** Fetch one Docker Deploy host by ID. */
|
|
2628
|
-
getHost(hostId: string): Promise<DockerDeployHostData>;
|
|
2629
|
-
/** List Docker Deploy starter templates. */
|
|
2630
|
-
listTemplates(): Promise<DockerDeployTemplate[]>;
|
|
2631
|
-
/** Fetch one Docker Deploy starter template by ID. */
|
|
2632
|
-
getTemplate(templateId: string): Promise<DockerDeployTemplate>;
|
|
2633
|
-
}
|
|
2634
|
-
|
|
2635
2619
|
/**
|
|
2636
2620
|
* Deployments resource — sandbox→production publishing surface.
|
|
2637
2621
|
*
|
|
@@ -2707,31 +2691,6 @@ interface DeploymentData {
|
|
|
2707
2691
|
created_at?: string;
|
|
2708
2692
|
updated_at?: string;
|
|
2709
2693
|
}
|
|
2710
|
-
interface DockerDeployDoctorCheck {
|
|
2711
|
-
name: string;
|
|
2712
|
-
ok: boolean;
|
|
2713
|
-
message: string;
|
|
2714
|
-
details?: Record<string, unknown>;
|
|
2715
|
-
}
|
|
2716
|
-
interface DockerDeployDoctorProbe {
|
|
2717
|
-
url: string;
|
|
2718
|
-
ok: boolean;
|
|
2719
|
-
status?: number;
|
|
2720
|
-
error?: string;
|
|
2721
|
-
}
|
|
2722
|
-
interface DockerDeployDoctorResult {
|
|
2723
|
-
ok: boolean;
|
|
2724
|
-
deployment: DeploymentData;
|
|
2725
|
-
host?: DockerDeployHostData;
|
|
2726
|
-
checks: DockerDeployDoctorCheck[];
|
|
2727
|
-
probe?: DockerDeployDoctorProbe;
|
|
2728
|
-
}
|
|
2729
|
-
interface DockerDeployDoctorParams {
|
|
2730
|
-
probePath?: string;
|
|
2731
|
-
probe_path?: string;
|
|
2732
|
-
timeoutMs?: number;
|
|
2733
|
-
timeout_ms?: number;
|
|
2734
|
-
}
|
|
2735
2694
|
type DeploymentDatabaseRequest = boolean | {
|
|
2736
2695
|
engine?: "postgresql" | "mysql" | "redis" | "qdrant";
|
|
2737
2696
|
size?: "xs" | "small" | "medium" | "large";
|
|
@@ -3017,12 +2976,6 @@ declare class Deployments {
|
|
|
3017
2976
|
* deployment so the control plane attaches it to the workspace Docker host.
|
|
3018
2977
|
*/
|
|
3019
2978
|
createDockerDeploy(params: DockerDeployCreateParams): Promise<DeploymentData>;
|
|
3020
|
-
/**
|
|
3021
|
-
* Verify a Docker Deploy deployment before telling a user or agent it is
|
|
3022
|
-
* live. Checks product markers, appliance host health, route metadata, and
|
|
3023
|
-
* optionally probes the public URL.
|
|
3024
|
-
*/
|
|
3025
|
-
doctorDockerDeploy(deploymentId: string, params?: DockerDeployDoctorParams): Promise<DockerDeployDoctorResult>;
|
|
3026
2979
|
update(deploymentId: string, params: DeploymentUpdateParams): Promise<DeploymentData>;
|
|
3027
2980
|
delete(deploymentId: string): Promise<void>;
|
|
3028
2981
|
publish(deploymentId: string, params: PublishParams): Promise<PublishResult>;
|
|
@@ -3046,6 +2999,90 @@ declare class Deployments {
|
|
|
3046
2999
|
domains(deploymentId: string): DeploymentDomains;
|
|
3047
3000
|
}
|
|
3048
3001
|
|
|
3002
|
+
type DockerDeployHostId = string & {
|
|
3003
|
+
readonly __brand: "DockerDeployHostId";
|
|
3004
|
+
};
|
|
3005
|
+
type DockerDeployHostStatus = "pending" | "provisioning" | "bootstrapping" | "active" | "degraded" | "suspended" | "retired" | "error";
|
|
3006
|
+
type DockerDeployApplianceStatus = "not_installed" | "installing" | "starting" | "healthy" | "unhealthy" | "unknown";
|
|
3007
|
+
interface DockerDeployHostData {
|
|
3008
|
+
id: DockerDeployHostId;
|
|
3009
|
+
tenant_id: string;
|
|
3010
|
+
workspace_id: string;
|
|
3011
|
+
external_workspace_id?: string | null;
|
|
3012
|
+
computer_id?: string | null;
|
|
3013
|
+
fleet_node_id?: string | null;
|
|
3014
|
+
status: DockerDeployHostStatus;
|
|
3015
|
+
size: string;
|
|
3016
|
+
region: string;
|
|
3017
|
+
portal_domain?: string | null;
|
|
3018
|
+
runtime_base_url?: string | null;
|
|
3019
|
+
agent_base_url?: string | null;
|
|
3020
|
+
appliance_image?: string | null;
|
|
3021
|
+
appliance_version?: string | null;
|
|
3022
|
+
appliance_status: DockerDeployApplianceStatus;
|
|
3023
|
+
agent_last_seen_at?: string | null;
|
|
3024
|
+
metadata?: Record<string, unknown>;
|
|
3025
|
+
created_at?: string;
|
|
3026
|
+
updated_at?: string;
|
|
3027
|
+
}
|
|
3028
|
+
interface DockerDeployHostListParams {
|
|
3029
|
+
workspace_id?: string;
|
|
3030
|
+
workspaceId?: string;
|
|
3031
|
+
}
|
|
3032
|
+
interface DockerDeployHostEnsureParams {
|
|
3033
|
+
workspace_id?: string;
|
|
3034
|
+
workspaceId?: string;
|
|
3035
|
+
external_workspace_id?: string;
|
|
3036
|
+
externalWorkspaceId?: string;
|
|
3037
|
+
}
|
|
3038
|
+
interface DockerDeployHostListResponse {
|
|
3039
|
+
data?: DockerDeployHostData[];
|
|
3040
|
+
hosts?: DockerDeployHostData[];
|
|
3041
|
+
}
|
|
3042
|
+
interface DockerDeployHostResponse {
|
|
3043
|
+
data?: DockerDeployHostData;
|
|
3044
|
+
host?: DockerDeployHostData;
|
|
3045
|
+
queued?: boolean;
|
|
3046
|
+
}
|
|
3047
|
+
interface DockerDeployTemplate {
|
|
3048
|
+
id: string;
|
|
3049
|
+
name: string;
|
|
3050
|
+
description?: string;
|
|
3051
|
+
category?: string;
|
|
3052
|
+
runtime?: string;
|
|
3053
|
+
tags?: string[];
|
|
3054
|
+
metadata?: Record<string, unknown>;
|
|
3055
|
+
[key: string]: unknown;
|
|
3056
|
+
}
|
|
3057
|
+
declare class DockerDeploy {
|
|
3058
|
+
private readonly http;
|
|
3059
|
+
constructor(http: HttpClient);
|
|
3060
|
+
/**
|
|
3061
|
+
* List Docker Deploy appliance hosts scoped to the current tenant.
|
|
3062
|
+
*
|
|
3063
|
+
* Pass a workspace ID to inspect the dedicated always-on appliance machine
|
|
3064
|
+
* for one white-label workspace.
|
|
3065
|
+
*/
|
|
3066
|
+
listHosts(params?: DockerDeployHostListParams): Promise<DockerDeployHostData[]>;
|
|
3067
|
+
/**
|
|
3068
|
+
* Ensure a workspace has its dedicated Docker Deploy appliance host.
|
|
3069
|
+
*
|
|
3070
|
+
* The host may still be `pending`, `provisioning`, or `bootstrapping` after
|
|
3071
|
+
* this call. Treat `status === "active"` and `appliance_status === "healthy"`
|
|
3072
|
+
* as the ready condition before sending app/container traffic to it.
|
|
3073
|
+
*/
|
|
3074
|
+
ensureHost(params?: DockerDeployHostEnsureParams): Promise<{
|
|
3075
|
+
host: DockerDeployHostData;
|
|
3076
|
+
queued: boolean;
|
|
3077
|
+
}>;
|
|
3078
|
+
/** Fetch one Docker Deploy host by ID. */
|
|
3079
|
+
getHost(hostId: string): Promise<DockerDeployHostData>;
|
|
3080
|
+
/** List Docker Deploy starter templates. */
|
|
3081
|
+
listTemplates(): Promise<DockerDeployTemplate[]>;
|
|
3082
|
+
/** Fetch one Docker Deploy starter template by ID. */
|
|
3083
|
+
getTemplate(templateId: string): Promise<DockerDeployTemplate>;
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3049
3086
|
/**
|
|
3050
3087
|
* Email — admin email campaigns, templates, and inbox surfaces.
|
|
3051
3088
|
*
|
|
@@ -4443,6 +4480,28 @@ interface SandboxCreateParams {
|
|
|
4443
4480
|
timeout_sec?: number;
|
|
4444
4481
|
idleTimeoutSec?: number;
|
|
4445
4482
|
idle_timeout_sec?: number;
|
|
4483
|
+
/**
|
|
4484
|
+
* Persistence policy for builder/agent sandboxes.
|
|
4485
|
+
*
|
|
4486
|
+
* MIOSA persistence means the sandbox should snapshot/pause when idle and
|
|
4487
|
+
* resume from that checkpoint later. It does not mean "keep CPU running".
|
|
4488
|
+
* Use alwaysOn for a sandbox that must keep executing without idle pause.
|
|
4489
|
+
*/
|
|
4490
|
+
persistent?: boolean;
|
|
4491
|
+
snapshotExpirationSec?: number;
|
|
4492
|
+
snapshot_expiration_sec?: number;
|
|
4493
|
+
snapshotExpirationDays?: number;
|
|
4494
|
+
snapshot_expiration_days?: number;
|
|
4495
|
+
keepLastSnapshots?: number | {
|
|
4496
|
+
count: number;
|
|
4497
|
+
expirationSec?: number;
|
|
4498
|
+
deleteEvicted?: boolean;
|
|
4499
|
+
};
|
|
4500
|
+
keep_last_snapshots?: number | {
|
|
4501
|
+
count: number;
|
|
4502
|
+
expiration_sec?: number;
|
|
4503
|
+
delete_evicted?: boolean;
|
|
4504
|
+
};
|
|
4446
4505
|
alwaysOn?: boolean;
|
|
4447
4506
|
always_on?: boolean;
|
|
4448
4507
|
env?: Record<string, string>;
|
|
@@ -4471,6 +4530,15 @@ interface SandboxCreateParams {
|
|
|
4471
4530
|
externalProjectId?: string;
|
|
4472
4531
|
external_project_id?: string;
|
|
4473
4532
|
}
|
|
4533
|
+
interface SandboxGetOrCreateParams extends SandboxCreateParams {
|
|
4534
|
+
name: string;
|
|
4535
|
+
/** Resume an existing paused sandbox before returning it. Defaults to true. */
|
|
4536
|
+
resume?: boolean;
|
|
4537
|
+
/** Wait for readiness before returning a created/resumed sandbox. Defaults to false. */
|
|
4538
|
+
waitUntilReady?: boolean;
|
|
4539
|
+
/** Readiness wait timeout in seconds. Defaults to 60 when waitUntilReady is true. */
|
|
4540
|
+
waitTimeoutSec?: number;
|
|
4541
|
+
}
|
|
4474
4542
|
interface SandboxListParams {
|
|
4475
4543
|
state?: SandboxState | string;
|
|
4476
4544
|
tags?: string[];
|
|
@@ -4881,9 +4949,28 @@ declare class Sandbox {
|
|
|
4881
4949
|
tags?: string[];
|
|
4882
4950
|
metadata?: Record<string, unknown>;
|
|
4883
4951
|
always_on?: boolean;
|
|
4952
|
+
alwaysOn?: boolean;
|
|
4884
4953
|
timeout_sec?: number;
|
|
4954
|
+
timeoutSec?: number;
|
|
4885
4955
|
idle_timeout_sec?: number;
|
|
4956
|
+
idleTimeoutSec?: number;
|
|
4957
|
+
persistent?: boolean;
|
|
4958
|
+
snapshotExpirationSec?: number;
|
|
4959
|
+
snapshot_expiration_sec?: number;
|
|
4960
|
+
snapshotExpirationDays?: number;
|
|
4961
|
+
snapshot_expiration_days?: number;
|
|
4962
|
+
keepLastSnapshots?: number | {
|
|
4963
|
+
count: number;
|
|
4964
|
+
expirationSec?: number;
|
|
4965
|
+
deleteEvicted?: boolean;
|
|
4966
|
+
};
|
|
4967
|
+
keep_last_snapshots?: number | {
|
|
4968
|
+
count: number;
|
|
4969
|
+
expiration_sec?: number;
|
|
4970
|
+
delete_evicted?: boolean;
|
|
4971
|
+
};
|
|
4886
4972
|
}): Promise<Sandbox>;
|
|
4973
|
+
extend(timeoutSec: number): Promise<Sandbox>;
|
|
4887
4974
|
/**
|
|
4888
4975
|
* POST /api/v1/sandboxes/{id}/preview-token → {token, url, expires_at, scope}
|
|
4889
4976
|
*/
|
|
@@ -4933,10 +5020,30 @@ declare class Sandbox {
|
|
|
4933
5020
|
declare class Sandboxes {
|
|
4934
5021
|
private readonly http;
|
|
4935
5022
|
constructor(http: HttpClient);
|
|
5023
|
+
/**
|
|
5024
|
+
* Create a persistent agent workspace.
|
|
5025
|
+
*
|
|
5026
|
+
* This is the preferred entry point for AI builders, coding agents, and
|
|
5027
|
+
* product workspaces. It gives the sandbox a stable name, a longer interactive
|
|
5028
|
+
* timeout, and metadata that makes the workspace easy to identify later. The
|
|
5029
|
+
* agent should create/edit files in `/workspace`, run installs/tests/builds
|
|
5030
|
+
* inside the sandbox, expose previews from the sandbox, and publish from the
|
|
5031
|
+
* sandbox when ready.
|
|
5032
|
+
*/
|
|
5033
|
+
createAgentWorkspace(params: SandboxGetOrCreateParams): Promise<Sandbox>;
|
|
4936
5034
|
create(params?: SandboxCreateParams): Promise<Sandbox>;
|
|
4937
5035
|
list(params?: SandboxListParams): Promise<Sandbox[]>;
|
|
4938
5036
|
get(id: SandboxId | string): Promise<Sandbox>;
|
|
4939
5037
|
connect(id: SandboxId | string): Promise<Sandbox>;
|
|
5038
|
+
getByName(name: string): Promise<Sandbox>;
|
|
5039
|
+
/**
|
|
5040
|
+
* Idempotently obtain a persistent sandbox by stable name.
|
|
5041
|
+
*
|
|
5042
|
+
* If the sandbox exists, it is returned. If it is paused and `resume !== false`,
|
|
5043
|
+
* it is resumed first. If it does not exist, it is created with the supplied
|
|
5044
|
+
* params. Destroyed sandboxes are permanent and are not resumed by this helper.
|
|
5045
|
+
*/
|
|
5046
|
+
getOrCreate(params: SandboxGetOrCreateParams): Promise<Sandbox>;
|
|
4940
5047
|
delete(id: SandboxId | string): Promise<void>;
|
|
4941
5048
|
listTemplates(options?: {
|
|
4942
5049
|
includeAliases?: boolean;
|
|
@@ -5290,62 +5397,11 @@ interface TenantPlan {
|
|
|
5290
5397
|
usage?: Record<string, unknown>;
|
|
5291
5398
|
[key: string]: unknown;
|
|
5292
5399
|
}
|
|
5293
|
-
interface PreviewDomainData {
|
|
5294
|
-
preview_domain?: string | null;
|
|
5295
|
-
default_domain?: string;
|
|
5296
|
-
status?: string;
|
|
5297
|
-
dns_status?: string;
|
|
5298
|
-
cname_target?: string | null;
|
|
5299
|
-
dns_instructions?: unknown;
|
|
5300
|
-
[key: string]: unknown;
|
|
5301
|
-
}
|
|
5302
|
-
interface TenantBrandingUpdateParams {
|
|
5303
|
-
product_name?: string;
|
|
5304
|
-
logo_url?: string;
|
|
5305
|
-
support_url?: string;
|
|
5306
|
-
support_email?: string;
|
|
5307
|
-
primary_color?: string;
|
|
5308
|
-
background_color?: string;
|
|
5309
|
-
[key: string]: unknown;
|
|
5310
|
-
}
|
|
5311
|
-
type BrandingData = TenantBrandingUpdateParams;
|
|
5312
|
-
declare class PreviewDomain {
|
|
5313
|
-
private readonly http;
|
|
5314
|
-
constructor(http: HttpClient);
|
|
5315
|
-
/** Get the tenant's white-label preview domain settings. */
|
|
5316
|
-
get(): Promise<PreviewDomainData>;
|
|
5317
|
-
/** Set the tenant's white-label preview domain. */
|
|
5318
|
-
set(domain: string): Promise<PreviewDomainData>;
|
|
5319
|
-
/** Re-run DNS verification for the configured preview domain. */
|
|
5320
|
-
verify(): Promise<PreviewDomainData>;
|
|
5321
|
-
/** Remove the tenant's custom preview domain. */
|
|
5322
|
-
delete(): Promise<void>;
|
|
5323
|
-
}
|
|
5324
|
-
declare class Branding {
|
|
5325
|
-
private readonly http;
|
|
5326
|
-
constructor(http: HttpClient);
|
|
5327
|
-
/** Get tenant branding used by white-label hosted surfaces. */
|
|
5328
|
-
get(): Promise<BrandingData>;
|
|
5329
|
-
/** Update tenant branding used by white-label hosted surfaces. */
|
|
5330
|
-
set(params: TenantBrandingUpdateParams): Promise<BrandingData>;
|
|
5331
|
-
/** Reset tenant branding to platform defaults. */
|
|
5332
|
-
delete(): Promise<void>;
|
|
5333
|
-
}
|
|
5334
5400
|
declare class Tenant {
|
|
5335
5401
|
private readonly http;
|
|
5336
|
-
readonly preview_domain: PreviewDomain;
|
|
5337
|
-
readonly branding: Branding;
|
|
5338
|
-
/** camelCase alias for SDK consumers that avoid snake_case properties. */
|
|
5339
|
-
readonly previewDomain: PreviewDomain;
|
|
5340
5402
|
constructor(http: HttpClient);
|
|
5341
5403
|
/** Get the current tenant's plan, limits, and live usage counters. */
|
|
5342
5404
|
current(): Promise<TenantPlan>;
|
|
5343
|
-
/** Convenience alias for `tenant.branding.get()`. */
|
|
5344
|
-
getBranding(): Promise<BrandingData>;
|
|
5345
|
-
/** Convenience alias for `tenant.branding.set(...)`. */
|
|
5346
|
-
setBranding(params: TenantBrandingUpdateParams): Promise<BrandingData>;
|
|
5347
|
-
/** Convenience alias for `tenant.branding.delete()`. */
|
|
5348
|
-
deleteBranding(): Promise<void>;
|
|
5349
5405
|
}
|
|
5350
5406
|
|
|
5351
5407
|
/**
|
|
@@ -5483,17 +5539,9 @@ interface WebhookUpdateParams {
|
|
|
5483
5539
|
enabled?: boolean;
|
|
5484
5540
|
[key: string]: unknown;
|
|
5485
5541
|
}
|
|
5486
|
-
/**
|
|
5487
|
-
* Verify the `Miosa-Signature` webhook header.
|
|
5488
|
-
*
|
|
5489
|
-
* Header format: `t=<unix_seconds>,v1=<hex_hmac>`.
|
|
5490
|
-
* Signed payload: `<timestamp>.<raw_body>`.
|
|
5491
|
-
*/
|
|
5492
|
-
declare function verifySignature(body: Buffer | Uint8Array | string, header: string, secret: string, toleranceSec?: number): boolean;
|
|
5493
5542
|
declare class Webhooks {
|
|
5494
5543
|
private readonly http;
|
|
5495
5544
|
constructor(http: HttpClient);
|
|
5496
|
-
static verifySignature: typeof verifySignature;
|
|
5497
5545
|
list(params?: WebhookListParams): Promise<WebhookData[]>;
|
|
5498
5546
|
get(webhookId: string): Promise<WebhookData>;
|
|
5499
5547
|
create(params: WebhookCreateParams): Promise<WebhookData>;
|
|
@@ -5735,6 +5783,8 @@ declare class WorkspaceInvites {
|
|
|
5735
5783
|
declare class Miosa {
|
|
5736
5784
|
/** Per-workspace user roster — list, add, update role, remove. */
|
|
5737
5785
|
readonly workspaceMembers: WorkspaceMembers;
|
|
5786
|
+
/** Target-agnostic prompt dispatch to sandboxes/computers with durable records. */
|
|
5787
|
+
readonly agentRuns: AgentRuns;
|
|
5738
5788
|
/**
|
|
5739
5789
|
* Workspace invite flow — create invite, list, revoke, preview, accept.
|
|
5740
5790
|
* Sending to an email already in the org adds the user directly.
|
|
@@ -5841,6 +5891,104 @@ declare class Miosa {
|
|
|
5841
5891
|
constructor(config: MiosaClientConfig);
|
|
5842
5892
|
}
|
|
5843
5893
|
|
|
5894
|
+
/**
|
|
5895
|
+
* AppAuth — end-user authentication client for apps deployed on MIOSA.
|
|
5896
|
+
*
|
|
5897
|
+
* Reads AUTH_URL and AUTH_JWT_SECRET from the process environment at
|
|
5898
|
+
* construction time. Both are injected automatically when a sandbox or
|
|
5899
|
+
* deployment boots.
|
|
5900
|
+
*
|
|
5901
|
+
* @example
|
|
5902
|
+
* ```ts
|
|
5903
|
+
* import { AppAuth } from '@miosa/sdk';
|
|
5904
|
+
*
|
|
5905
|
+
* const auth = new AppAuth({ resourceType: 'deployment', resourceId: 'dep_abc' });
|
|
5906
|
+
*
|
|
5907
|
+
* const session = await auth.signup('alice@example.com', 'hunter2');
|
|
5908
|
+
* console.log(session.userId, session.token);
|
|
5909
|
+
*
|
|
5910
|
+
* const verified = await auth.verifyToken(session.token);
|
|
5911
|
+
* console.log(verified.sub);
|
|
5912
|
+
* ```
|
|
5913
|
+
*/
|
|
5914
|
+
/** Branded string types for domain safety. */
|
|
5915
|
+
type UserId = string & {
|
|
5916
|
+
readonly __brand: "UserId";
|
|
5917
|
+
};
|
|
5918
|
+
type AuthToken = string & {
|
|
5919
|
+
readonly __brand: "AuthToken";
|
|
5920
|
+
};
|
|
5921
|
+
/** Response returned by signup, login, verify, and me. */
|
|
5922
|
+
interface AppAuthSession {
|
|
5923
|
+
userId: UserId;
|
|
5924
|
+
token: AuthToken;
|
|
5925
|
+
expiresAt: string;
|
|
5926
|
+
}
|
|
5927
|
+
/** Decoded JWT payload returned by verifyToken. */
|
|
5928
|
+
interface AppAuthTokenPayload {
|
|
5929
|
+
sub: string;
|
|
5930
|
+
exp: number;
|
|
5931
|
+
iat: number;
|
|
5932
|
+
[key: string]: unknown;
|
|
5933
|
+
}
|
|
5934
|
+
type AppAuthResourceType = "sandbox" | "deployment";
|
|
5935
|
+
interface AppAuthConfig {
|
|
5936
|
+
/** Resource type — "sandbox" or "deployment". */
|
|
5937
|
+
resourceType: AppAuthResourceType;
|
|
5938
|
+
/** Resource ID (sandbox ID or deployment ID). */
|
|
5939
|
+
resourceId: string;
|
|
5940
|
+
/**
|
|
5941
|
+
* Base URL of the app-auth service. Defaults to the AUTH_URL environment
|
|
5942
|
+
* variable, which is injected at boot inside every MIOSA sandbox/deployment.
|
|
5943
|
+
*/
|
|
5944
|
+
authUrl?: string;
|
|
5945
|
+
/**
|
|
5946
|
+
* HS256 secret for verifyToken(). Defaults to AUTH_JWT_SECRET from env.
|
|
5947
|
+
* Only needed if you call verifyToken() server-side.
|
|
5948
|
+
*/
|
|
5949
|
+
jwtSecret?: string;
|
|
5950
|
+
}
|
|
5951
|
+
declare class AppAuth {
|
|
5952
|
+
private readonly baseUrl;
|
|
5953
|
+
private readonly resourceType;
|
|
5954
|
+
private readonly resourceId;
|
|
5955
|
+
private readonly jwtSecret;
|
|
5956
|
+
constructor(config: AppAuthConfig);
|
|
5957
|
+
/** POST /app-auth/:resourceType/:resourceId/signup */
|
|
5958
|
+
signup(email: string, password: string): Promise<AppAuthSession>;
|
|
5959
|
+
/** POST /app-auth/:resourceType/:resourceId/login */
|
|
5960
|
+
login(email: string, password: string): Promise<AppAuthSession>;
|
|
5961
|
+
/**
|
|
5962
|
+
* POST /app-auth/:resourceType/:resourceId/verify
|
|
5963
|
+
* Verifies an email confirmation or magic-link token issued by the backend.
|
|
5964
|
+
*/
|
|
5965
|
+
verify(token: string): Promise<AppAuthSession>;
|
|
5966
|
+
/** POST /app-auth/:resourceType/:resourceId/password-reset */
|
|
5967
|
+
passwordReset(email: string): Promise<{
|
|
5968
|
+
ok: boolean;
|
|
5969
|
+
}>;
|
|
5970
|
+
/**
|
|
5971
|
+
* POST /app-auth/:resourceType/:resourceId/logout
|
|
5972
|
+
* Invalidates the given bearer token server-side.
|
|
5973
|
+
*/
|
|
5974
|
+
logout(token: AuthToken): Promise<{
|
|
5975
|
+
ok: boolean;
|
|
5976
|
+
}>;
|
|
5977
|
+
/**
|
|
5978
|
+
* GET /app-auth/:resourceType/:resourceId/me
|
|
5979
|
+
* Returns the session for the bearer token.
|
|
5980
|
+
*/
|
|
5981
|
+
me(token: AuthToken): Promise<AppAuthSession>;
|
|
5982
|
+
/**
|
|
5983
|
+
* Verifies a JWT token locally using HS256 + AUTH_JWT_SECRET.
|
|
5984
|
+
*
|
|
5985
|
+
* Does NOT make a network call. Throws if the signature is invalid or the
|
|
5986
|
+
* token is expired. Returns the decoded payload on success.
|
|
5987
|
+
*/
|
|
5988
|
+
verifyToken(token: string): Promise<AppAuthTokenPayload>;
|
|
5989
|
+
private _post;
|
|
5990
|
+
}
|
|
5991
|
+
|
|
5844
5992
|
interface MiosaErrorBody {
|
|
5845
5993
|
error?: {
|
|
5846
5994
|
code?: string;
|
|
@@ -5882,4 +6030,4 @@ declare class NetworkError extends MiosaError {
|
|
|
5882
6030
|
constructor(message: string, cause: Error);
|
|
5883
6031
|
}
|
|
5884
6032
|
|
|
5885
|
-
export { type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, type AgentSessionCreateParams, type AgentSessionData, type AgentSessionListResponse$1 as AgentSessionListResponse, type AgentSessionStatus$1 as AgentSessionStatus, type AllowParams, Analytics, type AnalyticsFilters, type ApiKeyCreateParams, type ApiKeyCreateResult, type ApiKeyData, type ApiKeyId, type ApiKeyListParams, ApiKeys, type AppCatalogEntry, type AppInstallData, type AppInstallEvent, type AuditListParams, AuditLog, type AuditLogEvent, type AuditLogListParams, type AuditTailParams, AuthError, type BenchmarkCompareParams, type BenchmarkCreateParams, Benchmarks, type BindingCreateParams, type BindingListParams, type
|
|
6033
|
+
export { type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, type AgentRunCreateParams, type AgentRunData, type AgentRunId, type AgentRunListParams, type AgentRunProvider, type AgentRunStatus, type AgentRunTargetKind, AgentRuns, type AgentSessionCreateParams, type AgentSessionData, type AgentSessionListResponse$1 as AgentSessionListResponse, type AgentSessionStatus$1 as AgentSessionStatus, type AllowParams, Analytics, type AnalyticsFilters, type ApiKeyCreateParams, type ApiKeyCreateResult, type ApiKeyData, type ApiKeyId, type ApiKeyListParams, ApiKeys, AppAuth, type AppAuthConfig, type AppAuthResourceType, type AppAuthSession, type AppAuthTokenPayload, type AppCatalogEntry, type AppInstallData, type AppInstallEvent, type AuditListParams, AuditLog, type AuditLogEvent, type AuditLogListParams, type AuditTailParams, AuthError, type AuthToken, type BenchmarkCompareParams, type BenchmarkCreateParams, Benchmarks, type BindingCreateParams, type BindingListParams, type BrandingUpdateParams, type BucketCreateParams, type BucketData, type BucketId, type BuilderSessionListParams, BuilderSessions, type BulkUserActionParams, type ChannelCreateParams, type ChannelData, type ChannelListParams, type ChannelUpdateParams, Channels, type ChatCompletionCreateParams, type ChatCompletionCreateStreamParams, Checkpoints, type ClickParams, type ClusterCreateParams, type ClusterData, type ClusterEvent, type ClusterId, type ClusterListResponse, type ClusterStatus, CommandCenter, Community, type CompletionCreateParams, type CompletionCreateStreamParams, Completions, Computer, ComputerAudit, ComputerAutoStop, type ComputerCreateParams, type ComputerData, ComputerEnv, type ComputerId, ComputerInbox, type ComputerListParams, type ComputerListResponse, ComputerLogs, type ComputerLogsGetParams, ComputerNetwork, ComputerOsa, ComputerPorts, ComputerSecrets, type ComputerSize, type ComputerStatus, type ComputerTemplateType, ComputerTerminal, type ComputerUpdateParams, type ComputerVisibility, ComputerVolumes, Computers, type CopyParams, type CreateAdminApiKeyParams, type CreateOrgInviteParams, type CreateWorkspaceInviteParams, type CreateWorkspaceInviteResponse, type CreditBalance, type CreditTransaction, type CreditTransactionListResponse, type CreditUsage, Credits, type CronJobCreateParams, type CronJobData, type CronJobExecutionData, type CronJobExecutionId, type CronJobId, type CronJobListParams, type CronJobUpdateParams, CronJobs, type CursorInfo, type CustomDomainCreateParams, type CustomDomainData, type CustomDomainId, type CustomDomainListParams, Dashboard, type DashboardSummary, type DatabaseCreateParams, type DatabaseCredentials, type DatabaseData, type DatabaseId, type DatabaseListParams, type DatabaseLogsParams, type DatabaseLogsResult, Databases, type DeploymentBuildData, type DeploymentCreateParams, type DeploymentData, DeploymentDomains, type DeploymentId, type DeploymentListParams, type DeploymentProduct, type DeploymentReleaseData, type DeploymentReleaseId, DeploymentReleases, DeploymentRuntimeInstances, type DeploymentServiceData, type DeploymentServiceId, type DeploymentServiceType, type DeploymentSourceType, type DeploymentState, type DeploymentUpdateParams, type DeploymentVersionData, type DeploymentVersionId, type DeploymentVersionKind, type DeploymentVersionState, DeploymentVersions, Deployments, Desktop$1 as Desktop, type DesktopActionResult, type DirEntry, type DirListResult, type DiscordSendTestParams, DockerDeploy, type DockerDeployApplianceStatus, type DockerDeployCreateParams, type DockerDeployHostData, type DockerDeployHostEnsureParams, type DockerDeployHostId, type DockerDeployHostListParams, type DockerDeployHostListResponse, type DockerDeployHostResponse, type DockerDeployHostStatus, type DoubleClickParams, type DragParams, type EgressAllowlistRule, EgressAudit, type EgressAuditEvent, type EgressBindingData, EgressNetwork, type EgressPolicyData, type EgressPolicyMode, type EgressRuleEffect, type EgressSecretData, type EgressSecretScope, type EgressSecretType, EgressSecrets, type EgressSuggestion, Email, EmailCampaigns, EmailInbox, EmailTemplates, type EmbeddingCreateParams, Embeddings, Exec, type ExecParams, type ExecPythonParams, type ExecResult, type ExternalAttribution, type ExternalKeyCreateParams, type ExternalKeyData, ExternalKeys, type FileDeleteParams, type FileDownloadParams, type FileEntry, type FileExportParams, type FileExportResult, type FileListParams, type FileListResult, type FileStat, Files, FlatCustomDomains, type FsEntry, type FsListResponse, type FsStat, type FunctionCreateParams, type FunctionData, type FunctionId, type FunctionInvokeParams, type FunctionListParams, type FunctionUpdateParams, Functions, type GithubRepo, type GithubSshKey, type HealthCheckCreateParams, type HealthCheckData, type HealthCheckId, type HealthCheckListParams, type HealthCheckUpdateParams, HealthChecks, type HostCreateParams, type HostData, type HostEvent, type HostId, type HostListResponse, type HostStatus, type HostUpdateParams, InsufficientCreditsError, type IntegrationCatalogEntry, type IntegrationData, Integrations, type JobData, type JobEvent, type JobEventType, type JobId, type JobListResponse, type JobRunParams, type JobStatus, type KeyParams, type LaunchParams, type LinearCreateIssueParams, type ListAdminApiKeysParams, type ListAdminComputersParams, type ListAdminTenantsParams, type ListAdminUsersParams, Mcp, type McpDispatchParams, Miosa, type MiosaClientConfig, MiosaError, type MkdirParams, type ModeParams, Models, type MouseButton, NetworkError, NetworkPolicy, type NetworkPolicyData, type NetworkPolicyEffect, type NetworkPolicyProtocol, type NetworkPolicyRule, type NetworkPolicySetParams, NotFoundError, type NotificationPrefsUpdateParams, OAuthFlow, type OauthConnectParams, type OauthProvider, type OauthStartResult, type OauthStatusResult, type ObjectListParams, type AgentEvent as OcAgentEvent, type OcAgentSessionData, type AgentSessionListResponse as OcAgentSessionListResponse, type OcWorkspaceCreateParams, type OcWorkspaceData, type OcWorkspaceEvent, type OcWorkspaceListResponse, type OcWorkspaceStatus, type OcWorkspaceUpdateParams, OpenComputers, type OrgInvite, type OrgInviteCreated, type OrgInviteCreatedResponse, type OrgInviteListResponse, type OrgInvitePreview, type OrgInviteRevokeResponse, OrgInvites, type OrgRole, type OverviewData, type PolicyCreateParams, type PolicyListParams, type PolicyUpdateParams, type PresignParams, type PresignResult, ProjectAuth, type ProjectAuthEnableParams, type ProjectAuthStatus, type ProjectAuthUpdateParams, type ProjectIntegrationCatalogEntry, type ProjectIntegrationCreateParams, type ProjectIntegrationData, type ProjectIntegrationListParams, type ProjectIntegrationUpdateParams, ProjectIntegrations, ProviderDefaults, type ProviderKeyUpsertParams, type PublishFromSandboxParams, type PublishParams, type PublishResult, RateLimitError, type RegionData, Regions, type RollbackParams, type RulesListParams, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxArtifacts, SandboxAudit, type SandboxBuildSpec, type SandboxBuildSpecError, type SandboxBuildSpecValidation, SandboxCommands, type SandboxCreateParams, type SandboxData, SandboxEnv, SandboxEvents, type SandboxExecOptions, type SandboxExecResult, SandboxFiles, type SandboxGetOrCreateParams, type SandboxId, type SandboxListParams, SandboxNetwork, SandboxPreview, SandboxPreviews, SandboxSecrets, type SandboxState, SandboxTags, type SandboxTemplate, type SandboxTemplateBuild, type SandboxTemplateBuildCreateParams, type SandboxTemplateBuildResourceData, type SandboxTemplateBuildResourceId, type SandboxTemplateCreateParams, type SandboxTemplateList, type SandboxTemplateListParams, type SandboxTemplateResourceData, type SandboxTemplateResourceId, SandboxTemplates, SandboxTerminal, Sandboxes, ScopedFs, type ScrollDirection, type ScrollParams, type SecretCreateParams, type SecretData, type SecretId, type SecretListParams, type SecretRotateParams, type SecretSetParams, type SecretUpdateParams, type SessionId, Settings, type SettingsUpdateParams, type SizeData, type SlackSendTestParams, type SnapshotCreateParams, type SnapshotData, type SnapshotListResponse, type SnapshotProgressEvent, type SnapshotRestoreResult, type SnapshotStatus, SnapshotsStandalone, Storage, type StorageObjectData, type SuggestionsParams, type TemplateBuildCreateParams, type TemplateCreateParams, type TemplateData, Tenant, type TenantId, type TenantPlan, type TenantSummary, type TerminalCreateParams, TimeoutError, type TimeseriesParams, type TunnelAuthMode, type TunnelCreateParams, type TunnelData, type TunnelId, type TunnelListResponse, type TunnelUpdateParams, type TypeParams, type UpdateWorkspaceMemberRoleParams, Usage, type UsageReportParams, type UsageSession, type UsageSessionsParams, type UsageSummary, type UserId, ValidationError, type VersionListParams, type VolumeCreateParams, type VolumeData, type VolumeId, type VolumeListParams, Volumes, type WaitParams, type WebhookCreateParams, type WebhookData, type WebhookDeliveryData, type WebhookDeliveryId, type WebhookId, type WebhookListParams, type WebhookUpdateParams, Webhooks, type WindowFocusParams, type WindowInfo, type WorkspaceId, type WorkspaceInvite, type WorkspaceInviteCreatedResponse, type WorkspaceInviteListResponse, type WorkspaceInvitePreview, type WorkspaceInviteRevokeResponse, WorkspaceInvites, type WorkspaceMember, type WorkspaceMemberAddedResponse, type WorkspaceMemberDeleteResponse, type WorkspaceMemberListResponse, type WorkspaceMemberRecord, type WorkspaceMemberRecordResponse, WorkspaceMembers, type WorkspaceRole, type WsTicket };
|