@miosa/sdk 1.2.15 → 1.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1665,6 +1665,445 @@ declare class ComputerVolumes {
1665
1665
  detach(attachmentId: string): Promise<void>;
1666
1666
  }
1667
1667
 
1668
+ /**
1669
+ * MIOSA Connect — provider connectors and runtime tokens.
1670
+ *
1671
+ * Connect is the product-facing credential layer. Egress remains the runtime
1672
+ * enforcement layer underneath it.
1673
+ */
1674
+
1675
+ type ConnectorSubject = {
1676
+ type: "app";
1677
+ } | {
1678
+ type: "user";
1679
+ id: string;
1680
+ issuer?: string;
1681
+ } | {
1682
+ type: "jwt-bearer";
1683
+ sub: string;
1684
+ iss?: string;
1685
+ aud?: string;
1686
+ additionalClaims?: Record<string, unknown>;
1687
+ };
1688
+ interface ConnectorData {
1689
+ id?: string;
1690
+ uid?: string;
1691
+ name?: string;
1692
+ provider?: string;
1693
+ type?: string;
1694
+ scope?: string;
1695
+ status?: string;
1696
+ managed?: boolean;
1697
+ display_name?: string;
1698
+ displayName?: string;
1699
+ masked_value?: string | null;
1700
+ expires_at?: string | null;
1701
+ metadata?: Record<string, unknown>;
1702
+ [key: string]: unknown;
1703
+ }
1704
+ interface ExternalAttributionParams {
1705
+ externalUserId?: string;
1706
+ external_user_id?: string;
1707
+ externalWorkspaceId?: string;
1708
+ external_workspace_id?: string;
1709
+ externalProjectId?: string;
1710
+ external_project_id?: string;
1711
+ }
1712
+ interface ConnectorListParams extends ExternalAttributionParams {
1713
+ scope?: string;
1714
+ workspaceId?: string;
1715
+ workspace_id?: string;
1716
+ ownerUserId?: string;
1717
+ owner_user_id?: string;
1718
+ }
1719
+ interface ConnectorCreateParams extends ExternalAttributionParams {
1720
+ provider: string;
1721
+ name?: string;
1722
+ uid?: string;
1723
+ type?: string;
1724
+ scope?: string;
1725
+ workspaceId?: string;
1726
+ workspace_id?: string;
1727
+ ownerUserId?: string;
1728
+ owner_user_id?: string;
1729
+ value?: string;
1730
+ token?: string;
1731
+ apiKey?: string;
1732
+ api_key?: string;
1733
+ credential?: {
1734
+ field?: string;
1735
+ value: string;
1736
+ [key: string]: unknown;
1737
+ };
1738
+ [key: string]: unknown;
1739
+ }
1740
+ interface ConnectorTokenParams extends ExternalAttributionParams {
1741
+ subject?: ConnectorSubject;
1742
+ installationId?: string;
1743
+ installation_id?: string;
1744
+ projectId?: string;
1745
+ project_id?: string;
1746
+ environment?: string;
1747
+ resourceType?: string;
1748
+ resource_type?: string;
1749
+ resourceId?: string;
1750
+ resource_id?: string;
1751
+ scopes?: string[];
1752
+ scope?: string[];
1753
+ audience?: string[];
1754
+ validityBufferMs?: number;
1755
+ validity_buffer_ms?: number;
1756
+ }
1757
+ interface ConnectorTokenResponse {
1758
+ token: string;
1759
+ expires_at?: string | number | null;
1760
+ expiresAt?: string | number | null;
1761
+ connector?: {
1762
+ id?: string;
1763
+ uid?: string;
1764
+ type?: string;
1765
+ [key: string]: unknown;
1766
+ };
1767
+ name?: string;
1768
+ installation_id?: string;
1769
+ installationId?: string;
1770
+ subject?: ConnectorSubject | Record<string, unknown>;
1771
+ scopes?: string[];
1772
+ metadata?: Record<string, unknown>;
1773
+ [key: string]: unknown;
1774
+ }
1775
+ interface ConnectorInstallation {
1776
+ id?: string;
1777
+ connector_id?: string;
1778
+ connectorId?: string;
1779
+ installation_id?: string;
1780
+ installationId?: string;
1781
+ workspace_id?: string | null;
1782
+ workspaceId?: string | null;
1783
+ subject_type?: string;
1784
+ subjectType?: string;
1785
+ scope?: string;
1786
+ status?: string;
1787
+ scopes?: string[];
1788
+ metadata?: Record<string, unknown>;
1789
+ [key: string]: unknown;
1790
+ }
1791
+ interface ConnectorOauthProvider {
1792
+ id?: string;
1793
+ provider?: string;
1794
+ display_name?: string;
1795
+ displayName?: string;
1796
+ scopes?: string[];
1797
+ branding?: Record<string, unknown>;
1798
+ enabled?: boolean;
1799
+ [key: string]: unknown;
1800
+ }
1801
+ interface ConnectorOauthStartParams extends ExternalAttributionParams {
1802
+ provider: string;
1803
+ scope?: string;
1804
+ exposeAsEnv?: boolean;
1805
+ expose_as_env?: boolean;
1806
+ ownerUserId?: string;
1807
+ owner_user_id?: string;
1808
+ }
1809
+ interface ConnectorOauthStartResponse {
1810
+ authorize_url?: string;
1811
+ authorizeUrl?: string;
1812
+ state?: string;
1813
+ [key: string]: unknown;
1814
+ }
1815
+ interface ConnectorProjectLink {
1816
+ id?: string;
1817
+ connector_id?: string;
1818
+ connectorId?: string;
1819
+ installation_id?: string | null;
1820
+ installationId?: string | null;
1821
+ workspace_id?: string | null;
1822
+ workspaceId?: string | null;
1823
+ project_id?: string | null;
1824
+ projectId?: string | null;
1825
+ environment?: string;
1826
+ resource_type?: string | null;
1827
+ resourceType?: string | null;
1828
+ resource_id?: string | null;
1829
+ resourceId?: string | null;
1830
+ allowed_subjects?: string[];
1831
+ allowedSubjects?: string[];
1832
+ allowed_scopes?: string[];
1833
+ allowedScopes?: string[];
1834
+ mode?: string;
1835
+ effect?: string;
1836
+ external_workspace_id?: string | null;
1837
+ externalWorkspaceId?: string | null;
1838
+ external_user_id?: string | null;
1839
+ externalUserId?: string | null;
1840
+ external_project_id?: string | null;
1841
+ externalProjectId?: string | null;
1842
+ metadata?: Record<string, unknown>;
1843
+ [key: string]: unknown;
1844
+ }
1845
+ interface ConnectorProjectLinkParams extends ExternalAttributionParams {
1846
+ connector?: string;
1847
+ connectorId?: string;
1848
+ connector_id?: string;
1849
+ installationId?: string;
1850
+ installation_id?: string;
1851
+ workspaceId?: string;
1852
+ workspace_id?: string;
1853
+ projectId?: string;
1854
+ project_id?: string;
1855
+ environment?: string;
1856
+ resourceType?: string;
1857
+ resource_type?: string;
1858
+ resourceId?: string;
1859
+ resource_id?: string;
1860
+ allowedSubjects?: string[];
1861
+ allowed_subjects?: string[];
1862
+ allowedScopes?: string[];
1863
+ allowed_scopes?: string[];
1864
+ mode?: "token-api" | "token_api" | "brokered-env" | "brokered_env" | "plain-env" | "plain_env" | string;
1865
+ effect?: "allow" | "deny" | string;
1866
+ metadata?: Record<string, unknown>;
1867
+ }
1868
+ interface ConnectorLinkListParams extends ExternalAttributionParams {
1869
+ workspaceId?: string;
1870
+ workspace_id?: string;
1871
+ projectId?: string;
1872
+ project_id?: string;
1873
+ connectorId?: string;
1874
+ connector_id?: string;
1875
+ environment?: string;
1876
+ status?: string;
1877
+ }
1878
+ interface ConnectorDefault extends ConnectorProjectLink {
1879
+ default_scope?: string;
1880
+ defaultScope?: string;
1881
+ target?: string;
1882
+ }
1883
+ interface ConnectorDefaultParams extends ConnectorProjectLinkParams {
1884
+ defaultScope?: string;
1885
+ default_scope?: string;
1886
+ target?: "all" | "sandbox" | "computer" | "agent" | "deployment" | string;
1887
+ }
1888
+ interface ConnectorDefaultListParams extends ConnectorLinkListParams {
1889
+ defaultScope?: string;
1890
+ default_scope?: string;
1891
+ target?: string;
1892
+ }
1893
+ interface ConnectorTrigger {
1894
+ id?: string;
1895
+ connector_id?: string;
1896
+ connectorId?: string;
1897
+ workspace_id?: string | null;
1898
+ workspaceId?: string | null;
1899
+ project_id?: string | null;
1900
+ projectId?: string | null;
1901
+ environment?: string;
1902
+ destination_path?: string | null;
1903
+ destinationPath?: string | null;
1904
+ destination_url?: string | null;
1905
+ destinationUrl?: string | null;
1906
+ event_types?: string[];
1907
+ eventTypes?: string[];
1908
+ status?: string;
1909
+ provider_adapter?: "generic" | "github" | "slack" | string;
1910
+ providerAdapter?: "generic" | "github" | "slack" | string;
1911
+ signing_secret_preview?: string | null;
1912
+ signingSecretPreview?: string | null;
1913
+ webhook_signing_secret?: string;
1914
+ webhookSigningSecret?: string;
1915
+ metadata?: Record<string, unknown>;
1916
+ webhook_token?: string;
1917
+ webhookToken?: string;
1918
+ [key: string]: unknown;
1919
+ }
1920
+ interface ConnectorTriggerParams extends ExternalAttributionParams {
1921
+ connector?: string;
1922
+ connectorId?: string;
1923
+ connector_id?: string;
1924
+ workspaceId?: string;
1925
+ workspace_id?: string;
1926
+ projectId?: string;
1927
+ project_id?: string;
1928
+ environment?: string;
1929
+ destinationPath?: string;
1930
+ destination_path?: string;
1931
+ destinationUrl?: string;
1932
+ destination_url?: string;
1933
+ eventTypes?: string[];
1934
+ event_types?: string[];
1935
+ status?: string;
1936
+ providerAdapter?: "generic" | "github" | "slack" | string;
1937
+ provider_adapter?: "generic" | "github" | "slack" | string;
1938
+ webhookSigningSecret?: string;
1939
+ webhook_signing_secret?: string;
1940
+ metadata?: Record<string, unknown>;
1941
+ }
1942
+ interface ConnectorTriggerListParams extends ConnectorLinkListParams {
1943
+ }
1944
+ interface ConnectorTriggerDelivery {
1945
+ id?: string;
1946
+ trigger_id?: string;
1947
+ triggerId?: string;
1948
+ connector_id?: string;
1949
+ connectorId?: string;
1950
+ event_type?: string;
1951
+ eventType?: string;
1952
+ provider_delivery_id?: string | null;
1953
+ providerDeliveryId?: string | null;
1954
+ state?: string;
1955
+ attempts?: number;
1956
+ destination_url?: string | null;
1957
+ destinationUrl?: string | null;
1958
+ status_code?: number | null;
1959
+ statusCode?: number | null;
1960
+ error?: string | null;
1961
+ latency_ms?: number | null;
1962
+ latencyMs?: number | null;
1963
+ delivered_at?: string | null;
1964
+ deliveredAt?: string | null;
1965
+ metadata?: Record<string, unknown>;
1966
+ [key: string]: unknown;
1967
+ }
1968
+ interface ConnectorTriggerDeliveryListParams extends ConnectorLinkListParams {
1969
+ triggerId?: string;
1970
+ trigger_id?: string;
1971
+ eventType?: string;
1972
+ event_type?: string;
1973
+ }
1974
+ interface ConnectorApplicableDefaultParams extends ExternalAttributionParams {
1975
+ workspaceId?: string;
1976
+ workspace_id?: string;
1977
+ projectId?: string;
1978
+ project_id?: string;
1979
+ environment?: string;
1980
+ target?: "all" | "sandbox" | "computer" | "agent" | "deployment" | string;
1981
+ resourceType?: string;
1982
+ resource_type?: string;
1983
+ resourceId?: string;
1984
+ resource_id?: string;
1985
+ }
1986
+ interface ConnectorMaterializeDefaultsParams extends ConnectorApplicableDefaultParams {
1987
+ envName?: string;
1988
+ env_name?: string;
1989
+ }
1990
+ interface ConnectorMaterializeDefaultsResult {
1991
+ applied?: number;
1992
+ results?: Array<Record<string, unknown>>;
1993
+ [key: string]: unknown;
1994
+ }
1995
+ interface SandboxConnectorBinding {
1996
+ id?: string;
1997
+ secret_id?: string;
1998
+ connector?: string;
1999
+ resource_id?: string;
2000
+ resource_type?: string;
2001
+ exposure?: string;
2002
+ expose_as_env?: string;
2003
+ env?: string;
2004
+ sync?: Record<string, unknown>;
2005
+ [key: string]: unknown;
2006
+ }
2007
+ interface SandboxConnectorAttachParams {
2008
+ connector: string;
2009
+ env: string;
2010
+ mode?: "brokered-env" | "brokered_env" | "plain-env" | "plain_env" | string;
2011
+ installationId?: string;
2012
+ installation_id?: string;
2013
+ projectId?: string;
2014
+ project_id?: string;
2015
+ environment?: string;
2016
+ externalUserId?: string;
2017
+ external_user_id?: string;
2018
+ externalWorkspaceId?: string;
2019
+ external_workspace_id?: string;
2020
+ externalProjectId?: string;
2021
+ external_project_id?: string;
2022
+ }
2023
+ interface SandboxConnectorPreflightParams {
2024
+ connector?: string;
2025
+ provider?: string;
2026
+ }
2027
+ interface SandboxConnectorPreflightResult {
2028
+ sandbox_id?: string;
2029
+ sandboxId?: string;
2030
+ provider?: string;
2031
+ connector?: string;
2032
+ status?: Record<string, unknown>;
2033
+ sync?: Record<string, unknown>;
2034
+ [key: string]: unknown;
2035
+ }
2036
+ declare class Connectors {
2037
+ private readonly http;
2038
+ constructor(http: HttpClient);
2039
+ /** List Connect provider connectors visible to the current tenant/workspace. */
2040
+ list(params?: ConnectorListParams): Promise<ConnectorData[]>;
2041
+ /** Show one connector by UID or id. */
2042
+ get(connector: string): Promise<ConnectorData>;
2043
+ show(connector: string): Promise<ConnectorData>;
2044
+ /** Create an API-key backed connector. Raw values are never returned later. */
2045
+ create(provider: string, params: Omit<ConnectorCreateParams, "provider">): Promise<ConnectorData>;
2046
+ /** Request a runtime provider token for a connector. */
2047
+ getToken(connector: string, params?: ConnectorTokenParams): Promise<ConnectorTokenResponse>;
2048
+ token(connector: string, params?: ConnectorTokenParams): Promise<ConnectorTokenResponse>;
2049
+ /** List OAuth app providers available for end-user authorization. */
2050
+ oauthProviders(): Promise<ConnectorOauthProvider[]>;
2051
+ /** Start an OAuth authorization flow for a provider-backed connector. */
2052
+ startOauth(params: ConnectorOauthStartParams): Promise<ConnectorOauthStartResponse>;
2053
+ /** List connector installations/grants. */
2054
+ installations(params?: ConnectorLinkListParams): Promise<ConnectorInstallation[]>;
2055
+ /** List project/environment connector links. */
2056
+ projectLinks(params?: ConnectorLinkListParams): Promise<ConnectorProjectLink[]>;
2057
+ /** List inherited connector defaults for tenant/workspace/project runtimes. */
2058
+ defaults(params?: ConnectorDefaultListParams): Promise<ConnectorDefault[]>;
2059
+ /** Resolve inherited connector defaults that apply to a runtime target. */
2060
+ applicableDefaults(params?: ConnectorApplicableDefaultParams): Promise<ConnectorDefault[]>;
2061
+ /** Materialize inherited connector defaults onto one runtime resource. */
2062
+ materializeDefaults(params: ConnectorMaterializeDefaultsParams): Promise<ConnectorMaterializeDefaultsResult>;
2063
+ /** Create an inherited connector default for future runtime resources. */
2064
+ createDefault(params: ConnectorDefaultParams): Promise<ConnectorDefault>;
2065
+ /** Delete an inherited connector default. */
2066
+ deleteDefault(id: string): Promise<void>;
2067
+ /** List inbound provider trigger forwarding definitions. */
2068
+ triggers(params?: ConnectorTriggerListParams): Promise<ConnectorTrigger[]>;
2069
+ /** Create an inbound provider trigger forwarding definition. */
2070
+ createTrigger(params: ConnectorTriggerParams): Promise<ConnectorTrigger>;
2071
+ /** List inbound provider trigger delivery attempts. */
2072
+ triggerDeliveries(params?: ConnectorTriggerDeliveryListParams): Promise<ConnectorTriggerDelivery[]>;
2073
+ /** List delivery attempts for one trigger. */
2074
+ triggerDeliveryHistory(triggerId: string): Promise<ConnectorTriggerDelivery[]>;
2075
+ /** Delete an inbound provider trigger forwarding definition. */
2076
+ deleteTrigger(id: string): Promise<void>;
2077
+ /** Link a connector to a project/environment/resource. */
2078
+ createProjectLink(params: ConnectorProjectLinkParams): Promise<ConnectorProjectLink>;
2079
+ /** Delete a project connector link. */
2080
+ deleteProjectLink(id: string): Promise<void>;
2081
+ }
2082
+ declare class RuntimeConnectors {
2083
+ private readonly http;
2084
+ private readonly basePath;
2085
+ constructor(http: HttpClient, basePath: string);
2086
+ /** List provider connector bindings for this runtime resource. */
2087
+ list(): Promise<SandboxConnectorBinding[]>;
2088
+ /** Attach a connector to this runtime resource as a brokered env var. */
2089
+ attach(params: SandboxConnectorAttachParams): Promise<SandboxConnectorBinding>;
2090
+ /** Detach a connector binding by binding id or connector UID. */
2091
+ detach(bindingOrConnector: string): Promise<void>;
2092
+ /** Sync or materialize connector placeholder env vars for this runtime resource. */
2093
+ sync(): Promise<Record<string, unknown>>;
2094
+ /** Verify a required connector is attached before agent work begins. */
2095
+ preflight(params?: SandboxConnectorPreflightParams): Promise<SandboxConnectorPreflightResult>;
2096
+ }
2097
+ declare class SandboxConnectors extends RuntimeConnectors {
2098
+ constructor(http: HttpClient, sandboxId: string);
2099
+ }
2100
+ declare class ComputerConnectors extends RuntimeConnectors {
2101
+ constructor(http: HttpClient, computerId: string);
2102
+ }
2103
+ declare class DeploymentConnectors extends RuntimeConnectors {
2104
+ constructor(http: HttpClient, deploymentId: string);
2105
+ }
2106
+
1668
2107
  declare class Desktop$1 {
1669
2108
  private readonly http;
1670
2109
  private readonly computerId;
@@ -2498,6 +2937,8 @@ declare class Computer {
2498
2937
  readonly ports: ComputerPorts;
2499
2938
  /** Volume attachment — list, attach, detach. */
2500
2939
  readonly volumes: ComputerVolumes;
2940
+ /** MIOSA Connect provider bindings scoped to this computer. */
2941
+ readonly connectors: ComputerConnectors;
2501
2942
  /** Encrypted secrets + OAuth credentials scoped to this computer. */
2502
2943
  readonly secrets: ComputerSecrets;
2503
2944
  /** Egress allowlist + policies scoped to this computer. */
@@ -3375,6 +3816,177 @@ declare class Deployments {
3375
3816
  runtimeInstances(deploymentId: string): DeploymentRuntimeInstances;
3376
3817
  runtime_instances(deploymentId: string): DeploymentRuntimeInstances;
3377
3818
  domains(deploymentId: string): DeploymentDomains;
3819
+ connectors(deploymentId: string): DeploymentConnectors;
3820
+ }
3821
+
3822
+ type DeviceKind = "sandbox" | "computer" | "sandbox_worker" | string;
3823
+ interface DeviceData {
3824
+ id?: string;
3825
+ kind?: DeviceKind;
3826
+ type?: DeviceKind;
3827
+ name?: string | null;
3828
+ state?: string | null;
3829
+ status?: string | null;
3830
+ ready?: boolean | null;
3831
+ persistent?: boolean | null;
3832
+ always_on?: boolean | null;
3833
+ preview_url?: string | null;
3834
+ metadata?: Record<string, unknown> | null;
3835
+ [key: string]: unknown;
3836
+ }
3837
+ interface DeviceListParams {
3838
+ kind?: DeviceKind;
3839
+ type?: DeviceKind;
3840
+ workspaceId?: string;
3841
+ workspace_id?: string;
3842
+ projectId?: string;
3843
+ project_id?: string;
3844
+ }
3845
+ interface DeviceCapabilities {
3846
+ id?: string;
3847
+ kind?: DeviceKind;
3848
+ capabilities?: Record<string, unknown>;
3849
+ [key: string]: unknown;
3850
+ }
3851
+ interface DeviceExecParams {
3852
+ command: string | string[];
3853
+ timeoutMs?: number;
3854
+ timeout_ms?: number;
3855
+ cwd?: string;
3856
+ env?: Record<string, string>;
3857
+ }
3858
+ interface DeviceExecResult {
3859
+ exit_code?: number | null;
3860
+ exitCode?: number | null;
3861
+ stdout?: string;
3862
+ stderr?: string;
3863
+ status?: string;
3864
+ [key: string]: unknown;
3865
+ }
3866
+ interface DeviceFileListParams {
3867
+ path?: string;
3868
+ }
3869
+ interface DeviceFileEntry {
3870
+ name?: string;
3871
+ path?: string;
3872
+ type?: "file" | "dir" | string;
3873
+ size?: number | null;
3874
+ modified?: string | null;
3875
+ [key: string]: unknown;
3876
+ }
3877
+ interface DeviceReadFileParams {
3878
+ path: string;
3879
+ }
3880
+ interface DeviceReadFileResult {
3881
+ path: string;
3882
+ size?: number | null;
3883
+ encoding?: "base64" | string;
3884
+ content: string;
3885
+ [key: string]: unknown;
3886
+ }
3887
+ interface DeviceWriteFileParams {
3888
+ path: string;
3889
+ content?: string;
3890
+ contentBase64?: string;
3891
+ content_base64?: string;
3892
+ }
3893
+ interface DeviceWriteFileResult {
3894
+ path?: string;
3895
+ size?: number | null;
3896
+ [key: string]: unknown;
3897
+ }
3898
+ interface DeviceExposeParams {
3899
+ port: number;
3900
+ }
3901
+ interface DeviceExposeResult {
3902
+ port?: number;
3903
+ url?: string;
3904
+ ready?: boolean;
3905
+ [key: string]: unknown;
3906
+ }
3907
+ interface DeviceLifecycleResult {
3908
+ id?: string;
3909
+ state?: string;
3910
+ [key: string]: unknown;
3911
+ }
3912
+ interface DeviceExtendParams {
3913
+ timeoutSec?: number;
3914
+ timeout_sec?: number;
3915
+ }
3916
+ interface DeviceBootstrapParams {
3917
+ runtime: "osa" | "claude-code" | "claude" | "codex" | "hermes" | "pi" | "custom" | string;
3918
+ cwd?: string;
3919
+ connectors?: string[];
3920
+ env?: Record<string, string>;
3921
+ mcp?: Array<{
3922
+ name: string;
3923
+ url: string;
3924
+ }>;
3925
+ installCommand?: string;
3926
+ install_command?: string;
3927
+ skipProbe?: boolean;
3928
+ skip_probe?: boolean;
3929
+ }
3930
+ interface DeviceBootstrapResult {
3931
+ device_id: string;
3932
+ ok: boolean;
3933
+ runtime: string;
3934
+ manifest_path: string;
3935
+ steps: Array<{
3936
+ name: string;
3937
+ ok: boolean;
3938
+ detail?: unknown;
3939
+ error?: string;
3940
+ }>;
3941
+ }
3942
+ interface DeviceBrowserResult {
3943
+ kind?: string;
3944
+ desktop_url?: string;
3945
+ desktopEntryUrl?: string;
3946
+ desktop_entry_url?: string;
3947
+ ws_url?: string;
3948
+ wsUrl?: string;
3949
+ token?: string;
3950
+ expires_at?: number;
3951
+ expiresAt?: number;
3952
+ computer_id?: string;
3953
+ computerId?: string;
3954
+ slug?: string;
3955
+ [key: string]: unknown;
3956
+ }
3957
+ declare class Devices {
3958
+ private readonly http;
3959
+ constructor(http: HttpClient);
3960
+ /** List unified MIOSA devices: sandbox workers and desktop computers. */
3961
+ list(params?: DeviceListParams): Promise<DeviceData[]>;
3962
+ /** Show one unified device by id. */
3963
+ get(id: string): Promise<DeviceData>;
3964
+ show(id: string): Promise<DeviceData>;
3965
+ /** Discover the operations this device supports. */
3966
+ capabilities(id: string): Promise<DeviceCapabilities>;
3967
+ /** Execute a command inside the device. */
3968
+ exec(id: string, params: DeviceExecParams): Promise<DeviceExecResult>;
3969
+ /** List files inside the device filesystem. */
3970
+ listFiles(id: string, params?: DeviceFileListParams): Promise<DeviceFileEntry[]>;
3971
+ /** Read a file. Content is returned base64-encoded by the API. */
3972
+ readFile(id: string, params: DeviceReadFileParams): Promise<DeviceReadFileResult>;
3973
+ /** Write a text or base64 payload into the device filesystem. */
3974
+ writeFile(id: string, params: DeviceWriteFileParams): Promise<DeviceWriteFileResult>;
3975
+ /** Expose a device port through MIOSA routing. */
3976
+ expose(id: string, params: DeviceExposeParams): Promise<DeviceExposeResult>;
3977
+ /** Return browser/desktop connection details for a computer-backed device. */
3978
+ browser(id: string): Promise<DeviceBrowserResult>;
3979
+ pause(id: string): Promise<DeviceLifecycleResult>;
3980
+ stop(id: string): Promise<DeviceLifecycleResult>;
3981
+ resume(id: string): Promise<DeviceLifecycleResult>;
3982
+ extend(id: string, params: DeviceExtendParams): Promise<DeviceData>;
3983
+ destroy(id: string): Promise<DeviceLifecycleResult>;
3984
+ /**
3985
+ * Write a MIOSA runtime bootstrap manifest and optionally install/probe
3986
+ * an agent runtime inside the device.
3987
+ */
3988
+ bootstrap(id: string, params: DeviceBootstrapParams): Promise<DeviceBootstrapResult>;
3989
+ private recordStep;
3378
3990
  }
3379
3991
 
3380
3992
  /**
@@ -5316,6 +5928,8 @@ declare class Sandbox {
5316
5928
  readonly env: SandboxEnv;
5317
5929
  /** Tag replacement. */
5318
5930
  readonly tags: SandboxTags;
5931
+ /** MIOSA Connect provider bindings scoped to this sandbox. */
5932
+ readonly connectors: SandboxConnectors;
5319
5933
  /** Encrypted secrets + OAuth credentials scoped to this sandbox. */
5320
5934
  readonly secrets: SandboxSecrets;
5321
5935
  /** Egress allowlist + policies scoped to this sandbox. */
@@ -6300,10 +6914,14 @@ declare class Miosa {
6300
6914
  readonly agentRunGroups: AgentRunGroups;
6301
6915
  /** Agent runtime profiles — tenant/workspace defaults for sandbox/computer agents. */
6302
6916
  readonly agentRuntimeProfiles: AgentRuntimeProfiles;
6917
+ /** MIOSA Connect — provider connectors and runtime tokens. */
6918
+ readonly connectors: Connectors;
6303
6919
  /** Inherited runtime env — tenant/workspace/project defaults for agent runtimes. */
6304
6920
  readonly runtimeEnv: RuntimeEnv;
6305
6921
  /** Runtime capabilities — live backend feature and contract discovery. */
6306
6922
  readonly runtimeCapabilities: RuntimeCapabilitiesResource;
6923
+ /** Unified devices — sandbox workers and desktop computers behind one API. */
6924
+ readonly devices: Devices;
6307
6925
  /** Computer management — create, list, get, delete. */
6308
6926
  readonly computers: Computers;
6309
6927
  /** Sandboxes — native code-execution environments under `/sandboxes`. */
@@ -6512,5 +7130,29 @@ declare class NetworkError extends MiosaError {
6512
7130
  readonly cause: Error;
6513
7131
  constructor(message: string, cause: Error);
6514
7132
  }
7133
+ declare class ProjectNotLinkedError extends MiosaError {
7134
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
7135
+ }
7136
+ declare class SubjectNotAllowedError extends MiosaError {
7137
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
7138
+ }
7139
+ declare class ScopeNotAllowedError extends MiosaError {
7140
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
7141
+ }
7142
+ declare class ManagedProviderBindingOnlyError extends MiosaError {
7143
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
7144
+ }
7145
+ declare class InstallationRequiredError extends MiosaError {
7146
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
7147
+ }
7148
+ declare class UserAuthorizationRequiredError extends MiosaError {
7149
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
7150
+ }
7151
+ declare class EgressHostNotAllowedError extends MiosaError {
7152
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
7153
+ }
7154
+ declare class TokenRefreshFailedError extends MiosaError {
7155
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
7156
+ }
6515
7157
 
6516
- export { type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, type AgentRun, type AgentRunCreateParams, type AgentRunEvent, type AgentRunGroup, type AgentRunGroupArtifact, type AgentRunGroupCounts, type AgentRunGroupCreateParams, type AgentRunGroupDispatchEntry, type AgentRunGroupDispatchResult, type AgentRunGroupEvent, type AgentRunGroupListParams, type AgentRunGroupStatus, type AgentRunGroupWaitOptions, AgentRunGroups, type AgentRunListParams, type AgentRunStatus, type AgentRunTargetKind, type AgentRunWaitOptions, AgentRuns, AgentRuntimeProfiles, 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 BrandingData, 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 DockerDeployDoctorCheck, type DockerDeployDoctorParams, type DockerDeployDoctorProbe, type DockerDeployDoctorResult, 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, type PreviewDomainData, 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 RuntimeCapabilities, RuntimeCapabilitiesResource, RuntimeEnv, type RuntimeEnvListParams, type RuntimeEnvScope, type RuntimeEnvSetParams, type RuntimeEnvTarget, type RuntimeEnvVar, 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 TenantBrandingUpdateParams, 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, verifySignature };
7158
+ export { type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, type AgentRun, type AgentRunCreateParams, type AgentRunEvent, type AgentRunGroup, type AgentRunGroupArtifact, type AgentRunGroupCounts, type AgentRunGroupCreateParams, type AgentRunGroupDispatchEntry, type AgentRunGroupDispatchResult, type AgentRunGroupEvent, type AgentRunGroupListParams, type AgentRunGroupStatus, type AgentRunGroupWaitOptions, AgentRunGroups, type AgentRunListParams, type AgentRunStatus, type AgentRunTargetKind, type AgentRunWaitOptions, AgentRuns, AgentRuntimeProfiles, 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 BrandingData, 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, ComputerConnectors, 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 ConnectorApplicableDefaultParams, type ConnectorCreateParams, type ConnectorData, type ConnectorDefault, type ConnectorDefaultListParams, type ConnectorDefaultParams, type ConnectorListParams, type ConnectorSubject, type ConnectorTokenParams, type ConnectorTokenResponse, Connectors, 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, DeploymentConnectors, 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 DeviceBootstrapParams, type DeviceBootstrapResult, type DeviceBrowserResult, type DeviceCapabilities, type DeviceData, type DeviceExecParams, type DeviceExecResult, type DeviceExposeParams, type DeviceExposeResult, type DeviceExtendParams, type DeviceFileEntry, type DeviceFileListParams, type DeviceKind, type DeviceLifecycleResult, type DeviceListParams, type DeviceReadFileParams, type DeviceReadFileResult, type DeviceWriteFileParams, type DeviceWriteFileResult, Devices, type DirEntry, type DirListResult, type DiscordSendTestParams, DockerDeploy, type DockerDeployApplianceStatus, type DockerDeployCreateParams, type DockerDeployDoctorCheck, type DockerDeployDoctorParams, type DockerDeployDoctorProbe, type DockerDeployDoctorResult, 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, EgressHostNotAllowedError, 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, InstallationRequiredError, 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, ManagedProviderBindingOnlyError, Mcp, type McpDispatchParams, Miosa, type MiosaClientConfig, MiosaError, type MiosaErrorBody, 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, type PreviewDomainData, ProjectAuth, type ProjectAuthEnableParams, type ProjectAuthStatus, type ProjectAuthUpdateParams, type ProjectIntegrationCatalogEntry, type ProjectIntegrationCreateParams, type ProjectIntegrationData, type ProjectIntegrationListParams, type ProjectIntegrationUpdateParams, ProjectIntegrations, ProjectNotLinkedError, ProviderDefaults, type ProviderKeyUpsertParams, type PublishFromSandboxParams, type PublishParams, type PublishResult, RateLimitError, type RegionData, Regions, type RollbackParams, type RulesListParams, type RuntimeCapabilities, RuntimeCapabilitiesResource, RuntimeEnv, type RuntimeEnvListParams, type RuntimeEnvScope, type RuntimeEnvSetParams, type RuntimeEnvTarget, type RuntimeEnvVar, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxArtifacts, SandboxAudit, type SandboxBuildSpec, type SandboxBuildSpecError, type SandboxBuildSpecValidation, SandboxCommands, type SandboxConnectorAttachParams, type SandboxConnectorBinding, type SandboxConnectorPreflightParams, type SandboxConnectorPreflightResult, SandboxConnectors, 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, ScopeNotAllowedError, 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, SubjectNotAllowedError, type SuggestionsParams, type TemplateBuildCreateParams, type TemplateCreateParams, type TemplateData, Tenant, type TenantBrandingUpdateParams, type TenantId, type TenantPlan, type TenantSummary, type TerminalCreateParams, TimeoutError, type TimeseriesParams, TokenRefreshFailedError, 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, UserAuthorizationRequiredError, 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, verifySignature };