@distilled.cloud/daytona 0.0.0-placeholder → 1.0.0-rc.13
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/LICENSE +201 -0
- package/README.md +34 -0
- package/lib/credentials.d.ts +46 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +67 -0
- package/lib/credentials.js.map +1 -0
- package/lib/endpoints.d.ts +15 -0
- package/lib/endpoints.d.ts.map +1 -0
- package/lib/endpoints.js +28 -0
- package/lib/endpoints.js.map +1 -0
- package/lib/errors.d.ts +53 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +30 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +30 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +30 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +10 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +10 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +75 -0
- package/lib/protocol.js.map +1 -0
- package/lib/response-validation.test.d.ts +4 -0
- package/lib/response-validation.test.d.ts.map +1 -0
- package/lib/response-validation.test.js +31 -0
- package/lib/response-validation.test.js.map +1 -0
- package/lib/retry.d.ts +50 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +43 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/api_keys.d.ts +120 -0
- package/lib/services/api_keys.d.ts.map +1 -0
- package/lib/services/api_keys.js +126 -0
- package/lib/services/api_keys.js.map +1 -0
- package/lib/services/audit.d.ts +159 -0
- package/lib/services/audit.d.ts.map +1 -0
- package/lib/services/audit.js +126 -0
- package/lib/services/audit.js.map +1 -0
- package/lib/services/computer_use.d.ts +484 -0
- package/lib/services/computer_use.d.ts.map +1 -0
- package/lib/services/computer_use.js +672 -0
- package/lib/services/computer_use.js.map +1 -0
- package/lib/services/config.d.ts +138 -0
- package/lib/services/config.d.ts.map +1 -0
- package/lib/services/config.js +88 -0
- package/lib/services/config.js.map +1 -0
- package/lib/services/docker_registry.d.ts +126 -0
- package/lib/services/docker_registry.d.ts.map +1 -0
- package/lib/services/docker_registry.js +135 -0
- package/lib/services/docker_registry.js.map +1 -0
- package/lib/services/file_system.d.ts +203 -0
- package/lib/services/file_system.d.ts.map +1 -0
- package/lib/services/file_system.js +255 -0
- package/lib/services/file_system.js.map +1 -0
- package/lib/services/git.d.ts +338 -0
- package/lib/services/git.d.ts.map +1 -0
- package/lib/services/git.js +417 -0
- package/lib/services/git.js.map +1 -0
- package/lib/services/health.d.ts +41 -0
- package/lib/services/health.d.ts.map +1 -0
- package/lib/services/health.js +49 -0
- package/lib/services/health.js.map +1 -0
- package/lib/services/index.d.ts +31 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +32 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/info.d.ts +37 -0
- package/lib/services/info.d.ts.map +1 -0
- package/lib/services/info.js +55 -0
- package/lib/services/info.js.map +1 -0
- package/lib/services/interpreter.d.ts +56 -0
- package/lib/services/interpreter.d.ts.map +1 -0
- package/lib/services/interpreter.js +83 -0
- package/lib/services/interpreter.js.map +1 -0
- package/lib/services/jobs.d.ts +104 -0
- package/lib/services/jobs.d.ts.map +1 -0
- package/lib/services/jobs.js +94 -0
- package/lib/services/jobs.js.map +1 -0
- package/lib/services/lsp.d.ts +137 -0
- package/lib/services/lsp.d.ts.map +1 -0
- package/lib/services/lsp.js +160 -0
- package/lib/services/lsp.js.map +1 -0
- package/lib/services/object_storage.d.ts +31 -0
- package/lib/services/object_storage.d.ts.map +1 -0
- package/lib/services/object_storage.js +33 -0
- package/lib/services/object_storage.js.map +1 -0
- package/lib/services/organizations.d.ts +963 -0
- package/lib/services/organizations.d.ts.map +1 -0
- package/lib/services/organizations.js +1143 -0
- package/lib/services/organizations.js.map +1 -0
- package/lib/services/port.d.ts +29 -0
- package/lib/services/port.d.ts.map +1 -0
- package/lib/services/port.js +41 -0
- package/lib/services/port.js.map +1 -0
- package/lib/services/preview.d.ts +73 -0
- package/lib/services/preview.d.ts.map +1 -0
- package/lib/services/preview.js +125 -0
- package/lib/services/preview.js.map +1 -0
- package/lib/services/process.d.ts +329 -0
- package/lib/services/process.d.ts.map +1 -0
- package/lib/services/process.js +421 -0
- package/lib/services/process.js.map +1 -0
- package/lib/services/regions.d.ts +41 -0
- package/lib/services/regions.d.ts.map +1 -0
- package/lib/services/regions.js +36 -0
- package/lib/services/regions.js.map +1 -0
- package/lib/services/runners.d.ts +358 -0
- package/lib/services/runners.d.ts.map +1 -0
- package/lib/services/runners.js +316 -0
- package/lib/services/runners.js.map +1 -0
- package/lib/services/sandbox.d.ts +1276 -0
- package/lib/services/sandbox.d.ts.map +1 -0
- package/lib/services/sandbox.js +1218 -0
- package/lib/services/sandbox.js.map +1 -0
- package/lib/services/secret.d.ts +120 -0
- package/lib/services/secret.d.ts.map +1 -0
- package/lib/services/secret.js +113 -0
- package/lib/services/secret.js.map +1 -0
- package/lib/services/server.d.ts +44 -0
- package/lib/services/server.d.ts.map +1 -0
- package/lib/services/server.js +46 -0
- package/lib/services/server.js.map +1 -0
- package/lib/services/snapshots.d.ts +208 -0
- package/lib/services/snapshots.d.ts.map +1 -0
- package/lib/services/snapshots.js +189 -0
- package/lib/services/snapshots.js.map +1 -0
- package/lib/services/system.d.ts +24 -0
- package/lib/services/system.d.ts.map +1 -0
- package/lib/services/system.js +31 -0
- package/lib/services/system.js.map +1 -0
- package/lib/services/telemetry.d.ts +141 -0
- package/lib/services/telemetry.d.ts.map +1 -0
- package/lib/services/telemetry.js +165 -0
- package/lib/services/telemetry.js.map +1 -0
- package/lib/services/usage.d.ts +111 -0
- package/lib/services/usage.d.ts.map +1 -0
- package/lib/services/usage.js +146 -0
- package/lib/services/usage.js.map +1 -0
- package/lib/services/users.d.ts +125 -0
- package/lib/services/users.d.ts.map +1 -0
- package/lib/services/users.js +172 -0
- package/lib/services/users.js.map +1 -0
- package/lib/services/volumes.d.ts +83 -0
- package/lib/services/volumes.d.ts.map +1 -0
- package/lib/services/volumes.js +96 -0
- package/lib/services/volumes.js.map +1 -0
- package/lib/services/warm_pools.d.ts +79 -0
- package/lib/services/warm_pools.d.ts.map +1 -0
- package/lib/services/warm_pools.js +90 -0
- package/lib/services/warm_pools.js.map +1 -0
- package/lib/services/webhooks.d.ts +67 -0
- package/lib/services/webhooks.d.ts.map +1 -0
- package/lib/services/webhooks.js +103 -0
- package/lib/services/webhooks.js.map +1 -0
- package/lib/traits.d.ts +10 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +78 -7
- package/src/credentials.ts +135 -0
- package/src/endpoints.ts +28 -0
- package/src/errors.ts +85 -0
- package/src/index.ts +33 -0
- package/src/pagination.ts +9 -0
- package/src/protocol.ts +108 -0
- package/src/response-validation.test.ts +45 -0
- package/src/retry.ts +74 -0
- package/src/services/api_keys.ts +378 -0
- package/src/services/audit.ts +416 -0
- package/src/services/computer_use.ts +1496 -0
- package/src/services/config.ts +256 -0
- package/src/services/docker_registry.ts +325 -0
- package/src/services/file_system.ts +575 -0
- package/src/services/git.ts +928 -0
- package/src/services/health.ts +116 -0
- package/src/services/index.ts +31 -0
- package/src/services/info.ts +116 -0
- package/src/services/interpreter.ts +182 -0
- package/src/services/jobs.ts +249 -0
- package/src/services/lsp.ts +367 -0
- package/src/services/object_storage.ts +75 -0
- package/src/services/organizations.ts +2712 -0
- package/src/services/port.ts +87 -0
- package/src/services/preview.ts +256 -0
- package/src/services/process.ts +948 -0
- package/src/services/regions.ts +90 -0
- package/src/services/runners.ts +811 -0
- package/src/services/sandbox.ts +3158 -0
- package/src/services/secret.ts +289 -0
- package/src/services/server.ts +111 -0
- package/src/services/snapshots.ts +508 -0
- package/src/services/system.ts +64 -0
- package/src/services/telemetry.ts +385 -0
- package/src/services/usage.ts +316 -0
- package/src/services/users.ts +380 -0
- package/src/services/volumes.ts +233 -0
- package/src/services/warm_pools.ts +209 -0
- package/src/services/webhooks.ts +214 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,963 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as Redacted from "effect/Redacted";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import { type DaytonaOpError, type DaytonaOpContext } from "../protocol.ts";
|
|
5
|
+
export type { DaytonaOpError, DaytonaOpContext };
|
|
6
|
+
export interface AcceptOrganizationInvitationRequest {
|
|
7
|
+
/** Invitation ID */
|
|
8
|
+
invitationId: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const AcceptOrganizationInvitationRequest: S.Schema<AcceptOrganizationInvitationRequest>;
|
|
11
|
+
/** Invitation status */
|
|
12
|
+
export type OrganizationInvitationStatus = "pending" | "accepted" | "declined" | "cancelled";
|
|
13
|
+
export declare const OrganizationInvitationStatus: any;
|
|
14
|
+
/** Member role */
|
|
15
|
+
export type OrganizationInvitationRole = "owner" | "member";
|
|
16
|
+
export declare const OrganizationInvitationRole: any;
|
|
17
|
+
export type OrganizationRolePermissionsItem = "write:registries" | "delete:registries" | "write:snapshots" | "delete:snapshots" | "write:sandboxes" | "delete:sandboxes" | "read:volumes" | "write:volumes" | "delete:volumes" | "write:regions" | "delete:regions" | "read:runners" | "write:runners" | "delete:runners" | "read:audit_logs" | "manage:api_keys" | "manage:secrets" | "read:limits" | "manage:sso" | "read:billing" | "manage:billing";
|
|
18
|
+
export declare const OrganizationRolePermissionsItem: any;
|
|
19
|
+
/** Roles assigned to the user */
|
|
20
|
+
export type OrganizationRolePermissionsList = Array<OrganizationRolePermissionsItem>;
|
|
21
|
+
export declare const OrganizationRolePermissionsList: S.Schema<OrganizationRolePermissionsList>;
|
|
22
|
+
export interface OrganizationRole {
|
|
23
|
+
/** Role ID */
|
|
24
|
+
id: string;
|
|
25
|
+
/** Role name */
|
|
26
|
+
name: string;
|
|
27
|
+
/** Role description */
|
|
28
|
+
description: string;
|
|
29
|
+
/** Roles assigned to the user */
|
|
30
|
+
permissions: OrganizationRolePermissionsList;
|
|
31
|
+
/** Global role flag */
|
|
32
|
+
isGlobal: boolean;
|
|
33
|
+
/** Creation timestamp */
|
|
34
|
+
createdAt: string;
|
|
35
|
+
/** Last update timestamp */
|
|
36
|
+
updatedAt: string;
|
|
37
|
+
}
|
|
38
|
+
export declare const OrganizationRole: S.Schema<OrganizationRole>;
|
|
39
|
+
/** Assigned roles */
|
|
40
|
+
export type OrganizationInvitationAssignedRolesList = Array<OrganizationRole>;
|
|
41
|
+
export declare const OrganizationInvitationAssignedRolesList: S.Schema<OrganizationInvitationAssignedRolesList>;
|
|
42
|
+
export interface OrganizationInvitation {
|
|
43
|
+
/** Invitation ID */
|
|
44
|
+
id: string;
|
|
45
|
+
/** Email address of the invitee */
|
|
46
|
+
email: string;
|
|
47
|
+
/** Email address of the inviter */
|
|
48
|
+
invitedBy: string;
|
|
49
|
+
/** Organization ID */
|
|
50
|
+
organizationId: string;
|
|
51
|
+
/** Organization name */
|
|
52
|
+
organizationName: string;
|
|
53
|
+
/** Expiration date of the invitation */
|
|
54
|
+
expiresAt: string;
|
|
55
|
+
/** Invitation status */
|
|
56
|
+
status: OrganizationInvitationStatus;
|
|
57
|
+
/** Member role */
|
|
58
|
+
role: OrganizationInvitationRole;
|
|
59
|
+
/** Assigned roles */
|
|
60
|
+
assignedRoles: OrganizationInvitationAssignedRolesList;
|
|
61
|
+
/** Creation timestamp */
|
|
62
|
+
createdAt: string;
|
|
63
|
+
/** Last update timestamp */
|
|
64
|
+
updatedAt: string;
|
|
65
|
+
}
|
|
66
|
+
export declare const OrganizationInvitation: S.Schema<OrganizationInvitation>;
|
|
67
|
+
export interface CancelOrganizationInvitationRequest {
|
|
68
|
+
/** Organization ID */
|
|
69
|
+
organizationId: string;
|
|
70
|
+
/** Invitation ID */
|
|
71
|
+
invitationId: string;
|
|
72
|
+
}
|
|
73
|
+
export declare const CancelOrganizationInvitationRequest: S.Schema<CancelOrganizationInvitationRequest>;
|
|
74
|
+
export interface CancelOrganizationInvitationResponse {
|
|
75
|
+
}
|
|
76
|
+
export declare const CancelOrganizationInvitationResponse: S.Schema<CancelOrganizationInvitationResponse>;
|
|
77
|
+
export interface CreateOrganizationRequest {
|
|
78
|
+
/** The name of organization */
|
|
79
|
+
name: string;
|
|
80
|
+
/** The ID of the default region for the organization */
|
|
81
|
+
defaultRegionId: string;
|
|
82
|
+
}
|
|
83
|
+
export declare const CreateOrganizationRequest: S.Schema<CreateOrganizationRequest>;
|
|
84
|
+
/** Headers */
|
|
85
|
+
export type OtelConfigHeadersMap = {
|
|
86
|
+
[key: string]: string | undefined;
|
|
87
|
+
};
|
|
88
|
+
export declare const OtelConfigHeadersMap: S.Schema<OtelConfigHeadersMap>;
|
|
89
|
+
export interface OtelConfig {
|
|
90
|
+
/** Endpoint */
|
|
91
|
+
endpoint: string;
|
|
92
|
+
/** Headers */
|
|
93
|
+
headers?: OtelConfigHeadersMap | null;
|
|
94
|
+
/** Organization ID the config belongs to */
|
|
95
|
+
organizationId?: string;
|
|
96
|
+
}
|
|
97
|
+
export declare const OtelConfig: S.Schema<OtelConfig>;
|
|
98
|
+
export interface Organization {
|
|
99
|
+
/** Organization ID */
|
|
100
|
+
id: string;
|
|
101
|
+
/** Organization name */
|
|
102
|
+
name: string;
|
|
103
|
+
/** User ID of the organization creator */
|
|
104
|
+
createdBy: string;
|
|
105
|
+
/** Personal organization flag */
|
|
106
|
+
personal: boolean;
|
|
107
|
+
/** Creation timestamp */
|
|
108
|
+
createdAt: string;
|
|
109
|
+
/** Last update timestamp */
|
|
110
|
+
updatedAt: string;
|
|
111
|
+
/** Suspended flag */
|
|
112
|
+
suspended: boolean;
|
|
113
|
+
/** Suspended at */
|
|
114
|
+
suspendedAt: string;
|
|
115
|
+
/** Suspended reason */
|
|
116
|
+
suspensionReason: string;
|
|
117
|
+
/** Suspended until */
|
|
118
|
+
suspendedUntil: string;
|
|
119
|
+
/** Suspension cleanup grace period hours */
|
|
120
|
+
suspensionCleanupGracePeriodHours: number;
|
|
121
|
+
/** Max CPU per sandbox */
|
|
122
|
+
maxCpuPerSandbox: number;
|
|
123
|
+
/** Max memory per sandbox */
|
|
124
|
+
maxMemoryPerSandbox: number;
|
|
125
|
+
/** Max disk per sandbox */
|
|
126
|
+
maxDiskPerSandbox: number;
|
|
127
|
+
/** Maximum number of secrets */
|
|
128
|
+
secretQuota: number;
|
|
129
|
+
/** Maximum number of secrets that can be mounted to a single sandbox */
|
|
130
|
+
maxSecretsPerSandbox: number;
|
|
131
|
+
/** Time in minutes before an unused snapshot is deactivated */
|
|
132
|
+
snapshotDeactivationTimeoutMinutes: number;
|
|
133
|
+
/** Sandbox default network block all */
|
|
134
|
+
sandboxLimitedNetworkEgress: boolean;
|
|
135
|
+
/** Whether the proxy shows the preview URL warning page for this organization */
|
|
136
|
+
previewWarningEnabled: boolean;
|
|
137
|
+
/** Whether this organization may configure SSO identity providers */
|
|
138
|
+
ssoEnabled: boolean;
|
|
139
|
+
/** Whether this organization may use SCIM directory sync */
|
|
140
|
+
scimEnabled: boolean;
|
|
141
|
+
/** Default region ID */
|
|
142
|
+
defaultRegionId?: string;
|
|
143
|
+
/** ID of the WorkOS organization mirrored from this organization (absent for personal organizations, which are never mirrored) */
|
|
144
|
+
workosOrgId?: string;
|
|
145
|
+
/** Authenticated rate limit per minute */
|
|
146
|
+
authenticatedRateLimit: number | null;
|
|
147
|
+
/** Sandbox create rate limit per minute */
|
|
148
|
+
sandboxCreateRateLimit: number | null;
|
|
149
|
+
/** Sandbox lifecycle rate limit per minute */
|
|
150
|
+
sandboxLifecycleRateLimit: number | null;
|
|
151
|
+
/** Experimental configuration */
|
|
152
|
+
experimentalConfig: unknown;
|
|
153
|
+
/** OpenTelemetry collection configuration */
|
|
154
|
+
otelConfig: OtelConfig | null;
|
|
155
|
+
/** Authenticated rate limit TTL in seconds */
|
|
156
|
+
authenticatedRateLimitTtlSeconds: number | null;
|
|
157
|
+
/** Sandbox create rate limit TTL in seconds */
|
|
158
|
+
sandboxCreateRateLimitTtlSeconds: number | null;
|
|
159
|
+
/** Sandbox lifecycle rate limit TTL in seconds */
|
|
160
|
+
sandboxLifecycleRateLimitTtlSeconds: number | null;
|
|
161
|
+
}
|
|
162
|
+
export declare const Organization: S.Schema<Organization>;
|
|
163
|
+
export interface OidcIdPConfig {
|
|
164
|
+
/** OIDC Issuer URL */
|
|
165
|
+
issuerUrl: string;
|
|
166
|
+
/** OAuth Client ID */
|
|
167
|
+
clientId: string;
|
|
168
|
+
/** OAuth Client Secret */
|
|
169
|
+
clientSecret: string | Redacted.Redacted<string>;
|
|
170
|
+
/** OAuth scopes */
|
|
171
|
+
scope?: string;
|
|
172
|
+
}
|
|
173
|
+
export declare const OidcIdPConfig: S.Schema<OidcIdPConfig>;
|
|
174
|
+
/** Email domains used for IdP discovery on the login form and to validate the user identity returned by the IdP. Required and must be non-empty unless `allowAnyDomain` is true. */
|
|
175
|
+
export type CreateOrganizationIdentityProviderRequestEmailDomainsList = Array<string>;
|
|
176
|
+
export declare const CreateOrganizationIdentityProviderRequestEmailDomainsList: S.Schema<CreateOrganizationIdentityProviderRequestEmailDomainsList>;
|
|
177
|
+
/** Organization role IDs assigned to users who join the organization via SSO through this identity provider. Roles must be global or belong to this organization. Empty (default) grants the lowest access: membership with no resource permissions. */
|
|
178
|
+
export type CreateOrganizationIdentityProviderRequestDefaultAssignedRoleIdsList = Array<string>;
|
|
179
|
+
export declare const CreateOrganizationIdentityProviderRequestDefaultAssignedRoleIdsList: S.Schema<CreateOrganizationIdentityProviderRequestDefaultAssignedRoleIdsList>;
|
|
180
|
+
export interface CreateOrganizationIdentityProviderRequest {
|
|
181
|
+
/** Organization ID */
|
|
182
|
+
organizationId: string;
|
|
183
|
+
/** Display name for the identity provider */
|
|
184
|
+
name: string;
|
|
185
|
+
/** OIDC configuration */
|
|
186
|
+
oidcConfig: OidcIdPConfig;
|
|
187
|
+
/** Email domains used for IdP discovery on the login form and to validate the user identity returned by the IdP. Required and must be non-empty unless `allowAnyDomain` is true. */
|
|
188
|
+
emailDomains: CreateOrganizationIdentityProviderRequestEmailDomainsList;
|
|
189
|
+
/** When true, the IdP accepts any email domain returned by the external provider. Disables the post-callback domain check and allows `emailDomains` to be empty. Only enable for trusted IdPs that strictly control which users can authenticate. */
|
|
190
|
+
allowAnyDomain?: boolean;
|
|
191
|
+
/** When true, skip the `email_verified` claim check on SSO logins through this identity provider. Only intended for providers that never emit the claim (e.g. Microsoft Entra ID). Risky: only enable if the IdP strictly controls its users' email addresses. */
|
|
192
|
+
trustEmailVerified?: boolean;
|
|
193
|
+
/** Organization role IDs assigned to users who join the organization via SSO through this identity provider. Roles must be global or belong to this organization. Empty (default) grants the lowest access: membership with no resource permissions. */
|
|
194
|
+
defaultAssignedRoleIds?: CreateOrganizationIdentityProviderRequestDefaultAssignedRoleIdsList;
|
|
195
|
+
/** Whether the identity provider is enabled */
|
|
196
|
+
enabled?: boolean;
|
|
197
|
+
}
|
|
198
|
+
export declare const CreateOrganizationIdentityProviderRequest: S.Schema<CreateOrganizationIdentityProviderRequest>;
|
|
199
|
+
export interface OidcIdPConfigResponse {
|
|
200
|
+
/** OIDC Issuer URL */
|
|
201
|
+
issuerUrl: string;
|
|
202
|
+
/** OAuth Client ID */
|
|
203
|
+
clientId: string;
|
|
204
|
+
/** OAuth scopes */
|
|
205
|
+
scope?: string;
|
|
206
|
+
}
|
|
207
|
+
export declare const OidcIdPConfigResponse: S.Schema<OidcIdPConfigResponse>;
|
|
208
|
+
/** Email domains used for IdP discovery on the login form. May be empty when `allowAnyDomain` is true. */
|
|
209
|
+
export type IdentityProviderEmailDomainsList = Array<string>;
|
|
210
|
+
export declare const IdentityProviderEmailDomainsList: S.Schema<IdentityProviderEmailDomainsList>;
|
|
211
|
+
/** Organization role IDs assigned to users who join via SSO through this identity provider */
|
|
212
|
+
export type IdentityProviderDefaultAssignedRoleIdsList = Array<string>;
|
|
213
|
+
export declare const IdentityProviderDefaultAssignedRoleIdsList: S.Schema<IdentityProviderDefaultAssignedRoleIdsList>;
|
|
214
|
+
export interface IdentityProvider {
|
|
215
|
+
/** Unique identifier */
|
|
216
|
+
id: string;
|
|
217
|
+
/** Organization ID */
|
|
218
|
+
organizationId: string;
|
|
219
|
+
/** Display name for the identity provider */
|
|
220
|
+
name: string;
|
|
221
|
+
/** OIDC configuration (secret redacted) */
|
|
222
|
+
oidcConfig: OidcIdPConfigResponse;
|
|
223
|
+
/** Email domains used for IdP discovery on the login form. May be empty when `allowAnyDomain` is true. */
|
|
224
|
+
emailDomains: IdentityProviderEmailDomainsList;
|
|
225
|
+
/** Whether the IdP accepts any email domain returned by the external provider */
|
|
226
|
+
allowAnyDomain: boolean;
|
|
227
|
+
/** Whether the `email_verified` claim check is skipped on SSO logins through this identity provider */
|
|
228
|
+
trustEmailVerified: boolean;
|
|
229
|
+
/** Organization role IDs assigned to users who join via SSO through this identity provider */
|
|
230
|
+
defaultAssignedRoleIds: IdentityProviderDefaultAssignedRoleIdsList;
|
|
231
|
+
/** Whether the identity provider is enabled */
|
|
232
|
+
enabled: boolean;
|
|
233
|
+
/** Creation timestamp */
|
|
234
|
+
createdAt: string;
|
|
235
|
+
/** Last update timestamp */
|
|
236
|
+
updatedAt: string;
|
|
237
|
+
}
|
|
238
|
+
export declare const IdentityProvider: S.Schema<IdentityProvider>;
|
|
239
|
+
/** Organization member role for the invitee */
|
|
240
|
+
export type CreateOrganizationInvitationRequestRole = "owner" | "member";
|
|
241
|
+
export declare const CreateOrganizationInvitationRequestRole: any;
|
|
242
|
+
/** Array of assigned role IDs for the invitee */
|
|
243
|
+
export type CreateOrganizationInvitationRequestAssignedRoleIdsList = Array<string>;
|
|
244
|
+
export declare const CreateOrganizationInvitationRequestAssignedRoleIdsList: S.Schema<CreateOrganizationInvitationRequestAssignedRoleIdsList>;
|
|
245
|
+
export interface CreateOrganizationInvitationRequest {
|
|
246
|
+
/** Organization ID */
|
|
247
|
+
organizationId: string;
|
|
248
|
+
/** Email address of the invitee */
|
|
249
|
+
email: string;
|
|
250
|
+
/** Organization member role for the invitee */
|
|
251
|
+
role: CreateOrganizationInvitationRequestRole | (string & {});
|
|
252
|
+
/** Array of assigned role IDs for the invitee */
|
|
253
|
+
assignedRoleIds: CreateOrganizationInvitationRequestAssignedRoleIdsList;
|
|
254
|
+
/** Expiration date of the invitation */
|
|
255
|
+
expiresAt?: string;
|
|
256
|
+
}
|
|
257
|
+
export declare const CreateOrganizationInvitationRequest: S.Schema<CreateOrganizationInvitationRequest>;
|
|
258
|
+
export type CreateOrganizationRoleRequestPermissionsItem = "write:registries" | "delete:registries" | "write:snapshots" | "delete:snapshots" | "write:sandboxes" | "delete:sandboxes" | "read:volumes" | "write:volumes" | "delete:volumes" | "write:regions" | "delete:regions" | "read:runners" | "write:runners" | "delete:runners" | "read:audit_logs" | "manage:api_keys" | "manage:secrets" | "read:limits" | "manage:sso" | "read:billing" | "manage:billing";
|
|
259
|
+
export declare const CreateOrganizationRoleRequestPermissionsItem: any;
|
|
260
|
+
/** The list of permissions assigned to the role */
|
|
261
|
+
export type CreateOrganizationRoleRequestPermissionsList = Array<CreateOrganizationRoleRequestPermissionsItem | (string & {})>;
|
|
262
|
+
export declare const CreateOrganizationRoleRequestPermissionsList: S.Schema<CreateOrganizationRoleRequestPermissionsList>;
|
|
263
|
+
export interface CreateOrganizationRoleRequest {
|
|
264
|
+
/** Organization ID */
|
|
265
|
+
organizationId: string;
|
|
266
|
+
/** The name of the role */
|
|
267
|
+
name: string;
|
|
268
|
+
/** The description of the role */
|
|
269
|
+
description: string;
|
|
270
|
+
/** The list of permissions assigned to the role */
|
|
271
|
+
permissions: CreateOrganizationRoleRequestPermissionsList;
|
|
272
|
+
}
|
|
273
|
+
export declare const CreateOrganizationRoleRequest: S.Schema<CreateOrganizationRoleRequest>;
|
|
274
|
+
export interface CreateRegionRequest {
|
|
275
|
+
/** Use with JWT to specify the organization ID */
|
|
276
|
+
xDaytonaOrganizationID?: string;
|
|
277
|
+
/** Region name */
|
|
278
|
+
name: string;
|
|
279
|
+
/** Proxy URL for the region */
|
|
280
|
+
proxyUrl?: string | null;
|
|
281
|
+
/** SSH Gateway URL for the region */
|
|
282
|
+
sshGatewayUrl?: string | null;
|
|
283
|
+
/** Snapshot Manager URL for the region */
|
|
284
|
+
snapshotManagerUrl?: string | null;
|
|
285
|
+
/** OTel collector endpoint for sandboxes created in this region. When set, sandbox OTel data is sent to this endpoint instead of the Daytona-hosted collector and will not be available in the Daytona analytics API or dashboard. */
|
|
286
|
+
otelEndpoint?: string | null;
|
|
287
|
+
}
|
|
288
|
+
export declare const CreateRegionRequest: S.Schema<CreateRegionRequest>;
|
|
289
|
+
export interface CreateRegionResponse {
|
|
290
|
+
/** ID of the created region */
|
|
291
|
+
id: string;
|
|
292
|
+
/** Proxy API key for the region */
|
|
293
|
+
proxyApiKey?: string | null;
|
|
294
|
+
/** SSH Gateway API key for the region */
|
|
295
|
+
sshGatewayApiKey?: string | null;
|
|
296
|
+
/** Snapshot Manager username for the region */
|
|
297
|
+
snapshotManagerUsername?: string | null;
|
|
298
|
+
/** Snapshot Manager password for the region */
|
|
299
|
+
snapshotManagerPassword?: string | Redacted.Redacted<string> | null;
|
|
300
|
+
}
|
|
301
|
+
export declare const CreateRegionResponse: S.Schema<CreateRegionResponse>;
|
|
302
|
+
export interface DeclineOrganizationInvitationRequest {
|
|
303
|
+
/** Invitation ID */
|
|
304
|
+
invitationId: string;
|
|
305
|
+
}
|
|
306
|
+
export declare const DeclineOrganizationInvitationRequest: S.Schema<DeclineOrganizationInvitationRequest>;
|
|
307
|
+
export interface DeclineOrganizationInvitationResponse {
|
|
308
|
+
}
|
|
309
|
+
export declare const DeclineOrganizationInvitationResponse: S.Schema<DeclineOrganizationInvitationResponse>;
|
|
310
|
+
export interface DeleteOrganizationRequest {
|
|
311
|
+
/** Organization ID */
|
|
312
|
+
organizationId: string;
|
|
313
|
+
}
|
|
314
|
+
export declare const DeleteOrganizationRequest: S.Schema<DeleteOrganizationRequest>;
|
|
315
|
+
export interface DeleteOrganizationResponse {
|
|
316
|
+
}
|
|
317
|
+
export declare const DeleteOrganizationResponse: S.Schema<DeleteOrganizationResponse>;
|
|
318
|
+
export interface DeleteOrganizationIdentityProviderRequest {
|
|
319
|
+
/** Organization ID */
|
|
320
|
+
organizationId: string;
|
|
321
|
+
/** Identity provider ID */
|
|
322
|
+
id: string;
|
|
323
|
+
}
|
|
324
|
+
export declare const DeleteOrganizationIdentityProviderRequest: S.Schema<DeleteOrganizationIdentityProviderRequest>;
|
|
325
|
+
export interface DeleteOrganizationIdentityProviderResponse {
|
|
326
|
+
}
|
|
327
|
+
export declare const DeleteOrganizationIdentityProviderResponse: S.Schema<DeleteOrganizationIdentityProviderResponse>;
|
|
328
|
+
export interface DeleteOrganizationMemberRequest {
|
|
329
|
+
/** Organization ID */
|
|
330
|
+
organizationId: string;
|
|
331
|
+
/** User ID */
|
|
332
|
+
userId: string;
|
|
333
|
+
}
|
|
334
|
+
export declare const DeleteOrganizationMemberRequest: S.Schema<DeleteOrganizationMemberRequest>;
|
|
335
|
+
export interface DeleteOrganizationMemberResponse {
|
|
336
|
+
}
|
|
337
|
+
export declare const DeleteOrganizationMemberResponse: S.Schema<DeleteOrganizationMemberResponse>;
|
|
338
|
+
export interface DeleteOrganizationOtelConfigRequest {
|
|
339
|
+
/** Organization ID */
|
|
340
|
+
organizationId: string;
|
|
341
|
+
}
|
|
342
|
+
export declare const DeleteOrganizationOtelConfigRequest: S.Schema<DeleteOrganizationOtelConfigRequest>;
|
|
343
|
+
export interface DeleteOrganizationOtelConfigResponse {
|
|
344
|
+
}
|
|
345
|
+
export declare const DeleteOrganizationOtelConfigResponse: S.Schema<DeleteOrganizationOtelConfigResponse>;
|
|
346
|
+
export interface DeleteOrganizationRoleRequest {
|
|
347
|
+
/** Organization ID */
|
|
348
|
+
organizationId: string;
|
|
349
|
+
/** Role ID */
|
|
350
|
+
roleId: string;
|
|
351
|
+
}
|
|
352
|
+
export declare const DeleteOrganizationRoleRequest: S.Schema<DeleteOrganizationRoleRequest>;
|
|
353
|
+
export interface DeleteOrganizationRoleResponse {
|
|
354
|
+
}
|
|
355
|
+
export declare const DeleteOrganizationRoleResponse: S.Schema<DeleteOrganizationRoleResponse>;
|
|
356
|
+
export interface DeleteRegionRequest {
|
|
357
|
+
/** Region ID */
|
|
358
|
+
id: string;
|
|
359
|
+
/** Use with JWT to specify the organization ID */
|
|
360
|
+
xDaytonaOrganizationID?: string;
|
|
361
|
+
}
|
|
362
|
+
export declare const DeleteRegionRequest: S.Schema<DeleteRegionRequest>;
|
|
363
|
+
export interface DeleteRegionResponse {
|
|
364
|
+
}
|
|
365
|
+
export declare const DeleteRegionResponse: S.Schema<DeleteRegionResponse>;
|
|
366
|
+
/** Which setup flow to open: sso for a single sign-on connection, dsync for SCIM directory sync */
|
|
367
|
+
export type WorkosAdminPortalIntent = "sso" | "dsync";
|
|
368
|
+
export declare const WorkosAdminPortalIntent: any;
|
|
369
|
+
export interface GenerateWorkosAdminPortalLinkRequest {
|
|
370
|
+
/** Organization ID */
|
|
371
|
+
organizationId: string;
|
|
372
|
+
/** Which setup flow to open: sso for a single sign-on connection, dsync for SCIM directory sync */
|
|
373
|
+
intent: WorkosAdminPortalIntent | (string & {});
|
|
374
|
+
}
|
|
375
|
+
export declare const GenerateWorkosAdminPortalLinkRequest: S.Schema<GenerateWorkosAdminPortalLinkRequest>;
|
|
376
|
+
export interface WorkosAdminPortalLink {
|
|
377
|
+
/** Single-purpose WorkOS Admin Portal URL. Expires five minutes after issuance; open it immediately. */
|
|
378
|
+
link: string;
|
|
379
|
+
}
|
|
380
|
+
export declare const WorkosAdminPortalLink: S.Schema<WorkosAdminPortalLink>;
|
|
381
|
+
export interface GetGpuCapacityRequest {
|
|
382
|
+
/** Organization ID */
|
|
383
|
+
organizationId: string;
|
|
384
|
+
}
|
|
385
|
+
export declare const GetGpuCapacityRequest: S.Schema<GetGpuCapacityRequest>;
|
|
386
|
+
export type GpuType = "H100" | "H200" | "RTX-PRO-6000" | "RTX-4090" | "RTX-5090" | "MI355X";
|
|
387
|
+
export declare const GpuType: any;
|
|
388
|
+
export interface GpuCapacity {
|
|
389
|
+
gpuType: GpuType;
|
|
390
|
+
/** GPU units available for on-demand placement across schedulable runners in the shared US fleet, including capacity occupied by spot sandboxes that are immediately reclaimable. */
|
|
391
|
+
availableOnDemand: number;
|
|
392
|
+
/** GPU units currently free for spot placement across schedulable runners in the shared US fleet. */
|
|
393
|
+
availableSpot: number;
|
|
394
|
+
}
|
|
395
|
+
export declare const GpuCapacity: S.Schema<GpuCapacity>;
|
|
396
|
+
export type GpuCapacityResponseCapacityList = Array<GpuCapacity>;
|
|
397
|
+
export declare const GpuCapacityResponseCapacityList: S.Schema<GpuCapacityResponseCapacityList>;
|
|
398
|
+
export interface GpuCapacityResponse {
|
|
399
|
+
/** Time at which this capacity snapshot was calculated. Responses may be cached for up to five seconds. */
|
|
400
|
+
observedAt: string;
|
|
401
|
+
capacity: GpuCapacityResponseCapacityList;
|
|
402
|
+
}
|
|
403
|
+
export declare const GpuCapacityResponse: S.Schema<GpuCapacityResponse>;
|
|
404
|
+
export interface GetOrganizationRequest {
|
|
405
|
+
/** Organization ID */
|
|
406
|
+
organizationId: string;
|
|
407
|
+
}
|
|
408
|
+
export declare const GetOrganizationRequest: S.Schema<GetOrganizationRequest>;
|
|
409
|
+
export interface GetOrganizationIdentityProviderRequest {
|
|
410
|
+
/** Organization ID */
|
|
411
|
+
organizationId: string;
|
|
412
|
+
/** Identity provider ID */
|
|
413
|
+
id: string;
|
|
414
|
+
}
|
|
415
|
+
export declare const GetOrganizationIdentityProviderRequest: S.Schema<GetOrganizationIdentityProviderRequest>;
|
|
416
|
+
export interface GetOrganizationInvitationsCountForAuthenticatedUserRequest {
|
|
417
|
+
}
|
|
418
|
+
export declare const GetOrganizationInvitationsCountForAuthenticatedUserRequest: S.Schema<GetOrganizationInvitationsCountForAuthenticatedUserRequest>;
|
|
419
|
+
export type GetOrganizationInvitationsCountForAuthenticatedUserResponse = number;
|
|
420
|
+
export declare const GetOrganizationInvitationsCountForAuthenticatedUserResponse: S.Schema<GetOrganizationInvitationsCountForAuthenticatedUserResponse>;
|
|
421
|
+
export interface GetOrganizationOtelConfigRequest {
|
|
422
|
+
/** Organization ID */
|
|
423
|
+
organizationId: string;
|
|
424
|
+
}
|
|
425
|
+
export declare const GetOrganizationOtelConfigRequest: S.Schema<GetOrganizationOtelConfigRequest>;
|
|
426
|
+
export interface GetOrganizationOtelConfigBySandboxAuthTokenRequest {
|
|
427
|
+
/** Sandbox Auth Token */
|
|
428
|
+
authToken: string;
|
|
429
|
+
}
|
|
430
|
+
export declare const GetOrganizationOtelConfigBySandboxAuthTokenRequest: S.Schema<GetOrganizationOtelConfigBySandboxAuthTokenRequest>;
|
|
431
|
+
export interface GetOrganizationUsageOverviewRequest {
|
|
432
|
+
/** Organization ID */
|
|
433
|
+
organizationId: string;
|
|
434
|
+
}
|
|
435
|
+
export declare const GetOrganizationUsageOverviewRequest: S.Schema<GetOrganizationUsageOverviewRequest>;
|
|
436
|
+
export type SandboxClass = "linux-vm" | "container" | "android" | "windows";
|
|
437
|
+
export declare const SandboxClass: any;
|
|
438
|
+
export type RegionUsageOverviewAllowedGpuTypesList = Array<GpuType>;
|
|
439
|
+
export declare const RegionUsageOverviewAllowedGpuTypesList: S.Schema<RegionUsageOverviewAllowedGpuTypesList>;
|
|
440
|
+
export interface RegionUsageOverview {
|
|
441
|
+
regionId: string;
|
|
442
|
+
sandboxClass: SandboxClass;
|
|
443
|
+
totalCpuQuota: number;
|
|
444
|
+
currentCpuUsage: number;
|
|
445
|
+
totalMemoryQuota: number;
|
|
446
|
+
currentMemoryUsage: number;
|
|
447
|
+
totalDiskQuota: number;
|
|
448
|
+
currentDiskUsage: number;
|
|
449
|
+
totalGpuQuota: number;
|
|
450
|
+
currentGpuUsage: number;
|
|
451
|
+
allowedGpuTypes?: RegionUsageOverviewAllowedGpuTypesList;
|
|
452
|
+
maxCpuPerSandbox: number | null;
|
|
453
|
+
maxMemoryPerSandbox: number | null;
|
|
454
|
+
maxDiskPerSandbox: number | null;
|
|
455
|
+
maxDiskPerNonEphemeralSandbox: number | null;
|
|
456
|
+
/** CPU maximum per requested GPU unit for GPU sandboxes. */
|
|
457
|
+
maxCpuPerGpu: number | null;
|
|
458
|
+
/** Memory maximum per requested GPU unit for GPU sandboxes. */
|
|
459
|
+
maxMemoryPerGpu: number | null;
|
|
460
|
+
/** Disk maximum per requested GPU unit for GPU sandboxes. */
|
|
461
|
+
maxDiskPerGpu: number | null;
|
|
462
|
+
}
|
|
463
|
+
export declare const RegionUsageOverview: S.Schema<RegionUsageOverview>;
|
|
464
|
+
export type OrganizationUsageOverviewRegionUsageList = Array<RegionUsageOverview>;
|
|
465
|
+
export declare const OrganizationUsageOverviewRegionUsageList: S.Schema<OrganizationUsageOverviewRegionUsageList>;
|
|
466
|
+
export interface OrganizationUsageOverview {
|
|
467
|
+
regionUsage: OrganizationUsageOverviewRegionUsageList;
|
|
468
|
+
totalSnapshotQuota: number;
|
|
469
|
+
currentSnapshotUsage: number;
|
|
470
|
+
totalVolumeQuota: number;
|
|
471
|
+
currentVolumeUsage: number;
|
|
472
|
+
}
|
|
473
|
+
export declare const OrganizationUsageOverview: S.Schema<OrganizationUsageOverview>;
|
|
474
|
+
export interface GetRegionRequest {
|
|
475
|
+
/** Region ID */
|
|
476
|
+
id: string;
|
|
477
|
+
/** Use with JWT to specify the organization ID */
|
|
478
|
+
xDaytonaOrganizationID?: string;
|
|
479
|
+
}
|
|
480
|
+
export declare const GetRegionRequest: S.Schema<GetRegionRequest>;
|
|
481
|
+
/** The type of the region */
|
|
482
|
+
export type RegionType = "shared" | "dedicated" | "custom";
|
|
483
|
+
export declare const RegionType: any;
|
|
484
|
+
export interface Region {
|
|
485
|
+
/** Region ID */
|
|
486
|
+
id: string;
|
|
487
|
+
/** Region name */
|
|
488
|
+
name: string;
|
|
489
|
+
/** Organization ID */
|
|
490
|
+
organizationId?: string | null;
|
|
491
|
+
/** The type of the region */
|
|
492
|
+
regionType: RegionType;
|
|
493
|
+
/** Creation timestamp */
|
|
494
|
+
createdAt: string;
|
|
495
|
+
/** Last update timestamp */
|
|
496
|
+
updatedAt: string;
|
|
497
|
+
/** Proxy URL for the region */
|
|
498
|
+
proxyUrl?: string | null;
|
|
499
|
+
/** SSH Gateway URL for the region */
|
|
500
|
+
sshGatewayUrl?: string | null;
|
|
501
|
+
/** Snapshot Manager URL for the region */
|
|
502
|
+
snapshotManagerUrl?: string | null;
|
|
503
|
+
/** OTel collector endpoint for sandboxes created in this region. When set, sandbox OTel data is sent to this endpoint instead of the Daytona-hosted collector and will not be available in the Daytona analytics API or dashboard. */
|
|
504
|
+
otelEndpoint?: string | null;
|
|
505
|
+
}
|
|
506
|
+
export declare const Region: S.Schema<Region>;
|
|
507
|
+
export interface GetSandboxIdentityBySandboxAuthTokenRequest {
|
|
508
|
+
/** Sandbox Auth Token */
|
|
509
|
+
authToken: string;
|
|
510
|
+
}
|
|
511
|
+
export declare const GetSandboxIdentityBySandboxAuthTokenRequest: S.Schema<GetSandboxIdentityBySandboxAuthTokenRequest>;
|
|
512
|
+
export interface SandboxIdentity {
|
|
513
|
+
/** Sandbox ID */
|
|
514
|
+
sandboxId: string;
|
|
515
|
+
/** Organization ID */
|
|
516
|
+
organizationId: string;
|
|
517
|
+
}
|
|
518
|
+
export declare const SandboxIdentity: S.Schema<SandboxIdentity>;
|
|
519
|
+
export interface LeaveOrganizationRequest {
|
|
520
|
+
/** Organization ID */
|
|
521
|
+
organizationId: string;
|
|
522
|
+
}
|
|
523
|
+
export declare const LeaveOrganizationRequest: S.Schema<LeaveOrganizationRequest>;
|
|
524
|
+
export interface LeaveOrganizationResponse {
|
|
525
|
+
}
|
|
526
|
+
export declare const LeaveOrganizationResponse: S.Schema<LeaveOrganizationResponse>;
|
|
527
|
+
export interface ListAvailableRegionsRequest {
|
|
528
|
+
/** Use with JWT to specify the organization ID */
|
|
529
|
+
xDaytonaOrganizationID?: string;
|
|
530
|
+
}
|
|
531
|
+
export declare const ListAvailableRegionsRequest: S.Schema<ListAvailableRegionsRequest>;
|
|
532
|
+
export type ListAvailableRegionsResponseBodyList = Array<Region>;
|
|
533
|
+
export declare const ListAvailableRegionsResponseBodyList: S.Schema<ListAvailableRegionsResponseBodyList>;
|
|
534
|
+
export type ListAvailableRegionsResponse = ListAvailableRegionsResponseBodyList;
|
|
535
|
+
export declare const ListAvailableRegionsResponse: S.Schema<ListAvailableRegionsResponse>;
|
|
536
|
+
export interface ListAvailableSandboxClassesRequest {
|
|
537
|
+
/** Organization ID */
|
|
538
|
+
organizationId: string;
|
|
539
|
+
}
|
|
540
|
+
export declare const ListAvailableSandboxClassesRequest: S.Schema<ListAvailableSandboxClassesRequest>;
|
|
541
|
+
export type AvailableSandboxClassAllowedGpuTypesList = Array<GpuType>;
|
|
542
|
+
export declare const AvailableSandboxClassAllowedGpuTypesList: S.Schema<AvailableSandboxClassAllowedGpuTypesList>;
|
|
543
|
+
export interface AvailableSandboxClass {
|
|
544
|
+
regionId: string;
|
|
545
|
+
sandboxClass: SandboxClass;
|
|
546
|
+
gpuAvailable: boolean;
|
|
547
|
+
allowedGpuTypes?: AvailableSandboxClassAllowedGpuTypesList;
|
|
548
|
+
}
|
|
549
|
+
export declare const AvailableSandboxClass: S.Schema<AvailableSandboxClass>;
|
|
550
|
+
export type ListAvailableSandboxClassesResponseBodyList = Array<AvailableSandboxClass>;
|
|
551
|
+
export declare const ListAvailableSandboxClassesResponseBodyList: S.Schema<ListAvailableSandboxClassesResponseBodyList>;
|
|
552
|
+
export type ListAvailableSandboxClassesResponse = ListAvailableSandboxClassesResponseBodyList;
|
|
553
|
+
export declare const ListAvailableSandboxClassesResponse: S.Schema<ListAvailableSandboxClassesResponse>;
|
|
554
|
+
export interface ListOrganizationIdentityProvidersRequest {
|
|
555
|
+
/** Organization ID */
|
|
556
|
+
organizationId: string;
|
|
557
|
+
}
|
|
558
|
+
export declare const ListOrganizationIdentityProvidersRequest: S.Schema<ListOrganizationIdentityProvidersRequest>;
|
|
559
|
+
export type ListOrganizationIdentityProvidersResponseBodyList = Array<IdentityProvider>;
|
|
560
|
+
export declare const ListOrganizationIdentityProvidersResponseBodyList: S.Schema<ListOrganizationIdentityProvidersResponseBodyList>;
|
|
561
|
+
export type ListOrganizationIdentityProvidersResponse = ListOrganizationIdentityProvidersResponseBodyList;
|
|
562
|
+
export declare const ListOrganizationIdentityProvidersResponse: S.Schema<ListOrganizationIdentityProvidersResponse>;
|
|
563
|
+
export interface ListOrganizationInvitationsRequest {
|
|
564
|
+
/** Organization ID */
|
|
565
|
+
organizationId: string;
|
|
566
|
+
}
|
|
567
|
+
export declare const ListOrganizationInvitationsRequest: S.Schema<ListOrganizationInvitationsRequest>;
|
|
568
|
+
export type ListOrganizationInvitationsResponseBodyList = Array<OrganizationInvitation>;
|
|
569
|
+
export declare const ListOrganizationInvitationsResponseBodyList: S.Schema<ListOrganizationInvitationsResponseBodyList>;
|
|
570
|
+
export type ListOrganizationInvitationsResponse = ListOrganizationInvitationsResponseBodyList;
|
|
571
|
+
export declare const ListOrganizationInvitationsResponse: S.Schema<ListOrganizationInvitationsResponse>;
|
|
572
|
+
export interface ListOrganizationInvitationsForAuthenticatedUserRequest {
|
|
573
|
+
}
|
|
574
|
+
export declare const ListOrganizationInvitationsForAuthenticatedUserRequest: S.Schema<ListOrganizationInvitationsForAuthenticatedUserRequest>;
|
|
575
|
+
export type ListOrganizationInvitationsForAuthenticatedUserResponseBodyList = Array<OrganizationInvitation>;
|
|
576
|
+
export declare const ListOrganizationInvitationsForAuthenticatedUserResponseBodyList: S.Schema<ListOrganizationInvitationsForAuthenticatedUserResponseBodyList>;
|
|
577
|
+
export type ListOrganizationInvitationsForAuthenticatedUserResponse = ListOrganizationInvitationsForAuthenticatedUserResponseBodyList;
|
|
578
|
+
export declare const ListOrganizationInvitationsForAuthenticatedUserResponse: S.Schema<ListOrganizationInvitationsForAuthenticatedUserResponse>;
|
|
579
|
+
export interface ListOrganizationMembersRequest {
|
|
580
|
+
/** Organization ID */
|
|
581
|
+
organizationId: string;
|
|
582
|
+
}
|
|
583
|
+
export declare const ListOrganizationMembersRequest: S.Schema<ListOrganizationMembersRequest>;
|
|
584
|
+
/** Member role */
|
|
585
|
+
export type OrganizationUserRole = "owner" | "member";
|
|
586
|
+
export declare const OrganizationUserRole: any;
|
|
587
|
+
/** Roles assigned to the user */
|
|
588
|
+
export type OrganizationUserAssignedRolesList = Array<OrganizationRole>;
|
|
589
|
+
export declare const OrganizationUserAssignedRolesList: S.Schema<OrganizationUserAssignedRolesList>;
|
|
590
|
+
export interface OrganizationUser {
|
|
591
|
+
/** User ID */
|
|
592
|
+
userId: string;
|
|
593
|
+
/** Organization ID */
|
|
594
|
+
organizationId: string;
|
|
595
|
+
/** User name */
|
|
596
|
+
name: string;
|
|
597
|
+
/** User email */
|
|
598
|
+
email: string;
|
|
599
|
+
/** Member role */
|
|
600
|
+
role: OrganizationUserRole;
|
|
601
|
+
/** Roles assigned to the user */
|
|
602
|
+
assignedRoles: OrganizationUserAssignedRolesList;
|
|
603
|
+
/** Creation timestamp */
|
|
604
|
+
createdAt: string;
|
|
605
|
+
/** Last update timestamp */
|
|
606
|
+
updatedAt: string;
|
|
607
|
+
}
|
|
608
|
+
export declare const OrganizationUser: S.Schema<OrganizationUser>;
|
|
609
|
+
export type ListOrganizationMembersResponseBodyList = Array<OrganizationUser>;
|
|
610
|
+
export declare const ListOrganizationMembersResponseBodyList: S.Schema<ListOrganizationMembersResponseBodyList>;
|
|
611
|
+
export type ListOrganizationMembersResponse = ListOrganizationMembersResponseBodyList;
|
|
612
|
+
export declare const ListOrganizationMembersResponse: S.Schema<ListOrganizationMembersResponse>;
|
|
613
|
+
export interface ListOrganizationRolesRequest {
|
|
614
|
+
/** Organization ID */
|
|
615
|
+
organizationId: string;
|
|
616
|
+
}
|
|
617
|
+
export declare const ListOrganizationRolesRequest: S.Schema<ListOrganizationRolesRequest>;
|
|
618
|
+
export type ListOrganizationRolesResponseBodyList = Array<OrganizationRole>;
|
|
619
|
+
export declare const ListOrganizationRolesResponseBodyList: S.Schema<ListOrganizationRolesResponseBodyList>;
|
|
620
|
+
export type ListOrganizationRolesResponse = ListOrganizationRolesResponseBodyList;
|
|
621
|
+
export declare const ListOrganizationRolesResponse: S.Schema<ListOrganizationRolesResponse>;
|
|
622
|
+
export interface ListOrganizationsRequest {
|
|
623
|
+
}
|
|
624
|
+
export declare const ListOrganizationsRequest: S.Schema<ListOrganizationsRequest>;
|
|
625
|
+
export type ListOrganizationsResponseBodyList = Array<Organization>;
|
|
626
|
+
export declare const ListOrganizationsResponseBodyList: S.Schema<ListOrganizationsResponseBodyList>;
|
|
627
|
+
export type ListOrganizationsResponse = ListOrganizationsResponseBodyList;
|
|
628
|
+
export declare const ListOrganizationsResponse: S.Schema<ListOrganizationsResponse>;
|
|
629
|
+
export interface RegenerateProxyApiKeyRequest {
|
|
630
|
+
/** Region ID */
|
|
631
|
+
id: string;
|
|
632
|
+
/** Use with JWT to specify the organization ID */
|
|
633
|
+
xDaytonaOrganizationID?: string;
|
|
634
|
+
}
|
|
635
|
+
export declare const RegenerateProxyApiKeyRequest: S.Schema<RegenerateProxyApiKeyRequest>;
|
|
636
|
+
export interface RegenerateApiKeyResponse {
|
|
637
|
+
/** The newly generated API key */
|
|
638
|
+
apiKey: string | Redacted.Redacted<string>;
|
|
639
|
+
}
|
|
640
|
+
export declare const RegenerateApiKeyResponse: S.Schema<RegenerateApiKeyResponse>;
|
|
641
|
+
export interface RegenerateSnapshotManagerCredentialsRequest {
|
|
642
|
+
/** Region ID */
|
|
643
|
+
id: string;
|
|
644
|
+
/** Use with JWT to specify the organization ID */
|
|
645
|
+
xDaytonaOrganizationID?: string;
|
|
646
|
+
}
|
|
647
|
+
export declare const RegenerateSnapshotManagerCredentialsRequest: S.Schema<RegenerateSnapshotManagerCredentialsRequest>;
|
|
648
|
+
export interface SnapshotManagerCredentials {
|
|
649
|
+
/** Snapshot Manager username for the region */
|
|
650
|
+
username: string;
|
|
651
|
+
/** Snapshot Manager password for the region */
|
|
652
|
+
password: string | Redacted.Redacted<string>;
|
|
653
|
+
}
|
|
654
|
+
export declare const SnapshotManagerCredentials: S.Schema<SnapshotManagerCredentials>;
|
|
655
|
+
export interface RegenerateSshGatewayApiKeyRequest {
|
|
656
|
+
/** Region ID */
|
|
657
|
+
id: string;
|
|
658
|
+
/** Use with JWT to specify the organization ID */
|
|
659
|
+
xDaytonaOrganizationID?: string;
|
|
660
|
+
}
|
|
661
|
+
export declare const RegenerateSshGatewayApiKeyRequest: S.Schema<RegenerateSshGatewayApiKeyRequest>;
|
|
662
|
+
export interface SetOrganizationDefaultRegionRequest {
|
|
663
|
+
/** Organization ID */
|
|
664
|
+
organizationId: string;
|
|
665
|
+
/** The ID of the default region for the organization */
|
|
666
|
+
defaultRegionId: string;
|
|
667
|
+
}
|
|
668
|
+
export declare const SetOrganizationDefaultRegionRequest: S.Schema<SetOrganizationDefaultRegionRequest>;
|
|
669
|
+
export interface SetOrganizationDefaultRegionResponse {
|
|
670
|
+
}
|
|
671
|
+
export declare const SetOrganizationDefaultRegionResponse: S.Schema<SetOrganizationDefaultRegionResponse>;
|
|
672
|
+
export interface TestOrganizationIdentityProviderConnectionRequest {
|
|
673
|
+
/** Organization ID */
|
|
674
|
+
organizationId: string;
|
|
675
|
+
/** OIDC Issuer URL to test */
|
|
676
|
+
issuerUrl: string;
|
|
677
|
+
}
|
|
678
|
+
export declare const TestOrganizationIdentityProviderConnectionRequest: S.Schema<TestOrganizationIdentityProviderConnectionRequest>;
|
|
679
|
+
export interface TestIdentityProviderConnectionResponse {
|
|
680
|
+
/** Whether the connection test was successful */
|
|
681
|
+
success: boolean;
|
|
682
|
+
/** The discovered issuer from the OIDC configuration */
|
|
683
|
+
issuer?: string;
|
|
684
|
+
/** Error message if the connection test failed */
|
|
685
|
+
error?: string;
|
|
686
|
+
}
|
|
687
|
+
export declare const TestIdentityProviderConnectionResponse: S.Schema<TestIdentityProviderConnectionResponse>;
|
|
688
|
+
/** Organization member role */
|
|
689
|
+
export type UpdateAccessForOrganizationMemberRequestRole = "owner" | "member";
|
|
690
|
+
export declare const UpdateAccessForOrganizationMemberRequestRole: any;
|
|
691
|
+
/** Array of assigned role IDs */
|
|
692
|
+
export type UpdateAccessForOrganizationMemberRequestAssignedRoleIdsList = Array<string>;
|
|
693
|
+
export declare const UpdateAccessForOrganizationMemberRequestAssignedRoleIdsList: S.Schema<UpdateAccessForOrganizationMemberRequestAssignedRoleIdsList>;
|
|
694
|
+
export interface UpdateAccessForOrganizationMemberRequest {
|
|
695
|
+
/** Organization ID */
|
|
696
|
+
organizationId: string;
|
|
697
|
+
/** User ID */
|
|
698
|
+
userId: string;
|
|
699
|
+
/** Organization member role */
|
|
700
|
+
role: UpdateAccessForOrganizationMemberRequestRole | (string & {});
|
|
701
|
+
/** Array of assigned role IDs */
|
|
702
|
+
assignedRoleIds: UpdateAccessForOrganizationMemberRequestAssignedRoleIdsList;
|
|
703
|
+
}
|
|
704
|
+
export declare const UpdateAccessForOrganizationMemberRequest: S.Schema<UpdateAccessForOrganizationMemberRequest>;
|
|
705
|
+
export type UpdateExperimentalConfigRequestBodyMap = {
|
|
706
|
+
[key: string]: unknown | undefined;
|
|
707
|
+
};
|
|
708
|
+
export declare const UpdateExperimentalConfigRequestBodyMap: S.Schema<UpdateExperimentalConfigRequestBodyMap>;
|
|
709
|
+
export interface UpdateExperimentalConfigRequest {
|
|
710
|
+
/** Organization ID */
|
|
711
|
+
organizationId: string;
|
|
712
|
+
body?: UpdateExperimentalConfigRequestBodyMap;
|
|
713
|
+
}
|
|
714
|
+
export declare const UpdateExperimentalConfigRequest: S.Schema<UpdateExperimentalConfigRequest>;
|
|
715
|
+
export interface UpdateExperimentalConfigResponse {
|
|
716
|
+
}
|
|
717
|
+
export declare const UpdateExperimentalConfigResponse: S.Schema<UpdateExperimentalConfigResponse>;
|
|
718
|
+
export interface UpdateOidcIdPConfig {
|
|
719
|
+
/** OIDC Issuer URL */
|
|
720
|
+
issuerUrl?: string;
|
|
721
|
+
/** OAuth Client ID */
|
|
722
|
+
clientId?: string;
|
|
723
|
+
/** OAuth Client Secret */
|
|
724
|
+
clientSecret?: string | Redacted.Redacted<string>;
|
|
725
|
+
/** OAuth scopes */
|
|
726
|
+
scope?: string;
|
|
727
|
+
}
|
|
728
|
+
export declare const UpdateOidcIdPConfig: S.Schema<UpdateOidcIdPConfig>;
|
|
729
|
+
/** Email domains used for IdP discovery on the login form and to validate the user identity returned by the IdP. If provided and `allowAnyDomain` is not being set to true, must contain at least one domain. To clear domains in the same request, set `allowAnyDomain: true` and `emailDomains: []`. */
|
|
730
|
+
export type UpdateOrganizationIdentityProviderRequestEmailDomainsList = Array<string>;
|
|
731
|
+
export declare const UpdateOrganizationIdentityProviderRequestEmailDomainsList: S.Schema<UpdateOrganizationIdentityProviderRequestEmailDomainsList>;
|
|
732
|
+
/** Organization role IDs assigned to users who join the organization via SSO through this identity provider. Roles must be global or belong to this organization. Empty grants the lowest access: membership with no resource permissions. */
|
|
733
|
+
export type UpdateOrganizationIdentityProviderRequestDefaultAssignedRoleIdsList = Array<string>;
|
|
734
|
+
export declare const UpdateOrganizationIdentityProviderRequestDefaultAssignedRoleIdsList: S.Schema<UpdateOrganizationIdentityProviderRequestDefaultAssignedRoleIdsList>;
|
|
735
|
+
export interface UpdateOrganizationIdentityProviderRequest {
|
|
736
|
+
/** Organization ID */
|
|
737
|
+
organizationId: string;
|
|
738
|
+
/** Identity provider ID */
|
|
739
|
+
id: string;
|
|
740
|
+
/** Display name for the identity provider */
|
|
741
|
+
name?: string;
|
|
742
|
+
/** OIDC configuration */
|
|
743
|
+
oidcConfig?: UpdateOidcIdPConfig;
|
|
744
|
+
/** Email domains used for IdP discovery on the login form and to validate the user identity returned by the IdP. If provided and `allowAnyDomain` is not being set to true, must contain at least one domain. To clear domains in the same request, set `allowAnyDomain: true` and `emailDomains: []`. */
|
|
745
|
+
emailDomains?: UpdateOrganizationIdentityProviderRequestEmailDomainsList;
|
|
746
|
+
/** When true, the IdP accepts any email domain returned by the external provider. Disables the post-callback domain check and allows `emailDomains` to be empty. Only enable for trusted IdPs that strictly control which users can authenticate. */
|
|
747
|
+
allowAnyDomain?: boolean;
|
|
748
|
+
/** When true, skip the `email_verified` claim check on SSO logins through this identity provider. Only intended for providers that never emit the claim (e.g. Microsoft Entra ID). Risky: only enable if the IdP strictly controls its users' email addresses. */
|
|
749
|
+
trustEmailVerified?: boolean;
|
|
750
|
+
/** Organization role IDs assigned to users who join the organization via SSO through this identity provider. Roles must be global or belong to this organization. Empty grants the lowest access: membership with no resource permissions. */
|
|
751
|
+
defaultAssignedRoleIds?: UpdateOrganizationIdentityProviderRequestDefaultAssignedRoleIdsList;
|
|
752
|
+
/** Whether the identity provider is enabled */
|
|
753
|
+
enabled?: boolean;
|
|
754
|
+
}
|
|
755
|
+
export declare const UpdateOrganizationIdentityProviderRequest: S.Schema<UpdateOrganizationIdentityProviderRequest>;
|
|
756
|
+
/** Organization member role */
|
|
757
|
+
export type UpdateOrganizationInvitationRequestRole = "owner" | "member";
|
|
758
|
+
export declare const UpdateOrganizationInvitationRequestRole: any;
|
|
759
|
+
/** Array of role IDs */
|
|
760
|
+
export type UpdateOrganizationInvitationRequestAssignedRoleIdsList = Array<string>;
|
|
761
|
+
export declare const UpdateOrganizationInvitationRequestAssignedRoleIdsList: S.Schema<UpdateOrganizationInvitationRequestAssignedRoleIdsList>;
|
|
762
|
+
export interface UpdateOrganizationInvitationRequest {
|
|
763
|
+
/** Organization ID */
|
|
764
|
+
organizationId: string;
|
|
765
|
+
/** Invitation ID */
|
|
766
|
+
invitationId: string;
|
|
767
|
+
/** Organization member role */
|
|
768
|
+
role: UpdateOrganizationInvitationRequestRole | (string & {});
|
|
769
|
+
/** Array of role IDs */
|
|
770
|
+
assignedRoleIds: UpdateOrganizationInvitationRequestAssignedRoleIdsList;
|
|
771
|
+
/** Expiration date of the invitation */
|
|
772
|
+
expiresAt?: string;
|
|
773
|
+
}
|
|
774
|
+
export declare const UpdateOrganizationInvitationRequest: S.Schema<UpdateOrganizationInvitationRequest>;
|
|
775
|
+
/** Headers */
|
|
776
|
+
export type UpdateOrganizationOtelConfigRequestHeadersMap = {
|
|
777
|
+
[key: string]: string | undefined;
|
|
778
|
+
};
|
|
779
|
+
export declare const UpdateOrganizationOtelConfigRequestHeadersMap: S.Schema<UpdateOrganizationOtelConfigRequestHeadersMap>;
|
|
780
|
+
export interface UpdateOrganizationOtelConfigRequest {
|
|
781
|
+
/** Organization ID */
|
|
782
|
+
organizationId: string;
|
|
783
|
+
/** Endpoint */
|
|
784
|
+
endpoint: string;
|
|
785
|
+
/** Headers */
|
|
786
|
+
headers?: UpdateOrganizationOtelConfigRequestHeadersMap | null;
|
|
787
|
+
}
|
|
788
|
+
export declare const UpdateOrganizationOtelConfigRequest: S.Schema<UpdateOrganizationOtelConfigRequest>;
|
|
789
|
+
export interface UpdateOrganizationOtelConfigResponse {
|
|
790
|
+
}
|
|
791
|
+
export declare const UpdateOrganizationOtelConfigResponse: S.Schema<UpdateOrganizationOtelConfigResponse>;
|
|
792
|
+
export type UpdateOrganizationRoleRequestPermissionsItem = "write:registries" | "delete:registries" | "write:snapshots" | "delete:snapshots" | "write:sandboxes" | "delete:sandboxes" | "read:volumes" | "write:volumes" | "delete:volumes" | "write:regions" | "delete:regions" | "read:runners" | "write:runners" | "delete:runners" | "read:audit_logs" | "manage:api_keys" | "manage:secrets" | "read:limits" | "manage:sso" | "read:billing" | "manage:billing";
|
|
793
|
+
export declare const UpdateOrganizationRoleRequestPermissionsItem: any;
|
|
794
|
+
/** The list of permissions assigned to the role */
|
|
795
|
+
export type UpdateOrganizationRoleRequestPermissionsList = Array<UpdateOrganizationRoleRequestPermissionsItem | (string & {})>;
|
|
796
|
+
export declare const UpdateOrganizationRoleRequestPermissionsList: S.Schema<UpdateOrganizationRoleRequestPermissionsList>;
|
|
797
|
+
export interface UpdateOrganizationRoleRequest {
|
|
798
|
+
/** Organization ID */
|
|
799
|
+
organizationId: string;
|
|
800
|
+
/** Role ID */
|
|
801
|
+
roleId: string;
|
|
802
|
+
/** The name of the role */
|
|
803
|
+
name: string;
|
|
804
|
+
/** The description of the role */
|
|
805
|
+
description: string;
|
|
806
|
+
/** The list of permissions assigned to the role */
|
|
807
|
+
permissions: UpdateOrganizationRoleRequestPermissionsList;
|
|
808
|
+
}
|
|
809
|
+
export declare const UpdateOrganizationRoleRequest: S.Schema<UpdateOrganizationRoleRequest>;
|
|
810
|
+
export interface UpdateRegionRequest {
|
|
811
|
+
/** Region ID */
|
|
812
|
+
id: string;
|
|
813
|
+
/** Use with JWT to specify the organization ID */
|
|
814
|
+
xDaytonaOrganizationID?: string;
|
|
815
|
+
/** Proxy URL for the region */
|
|
816
|
+
proxyUrl?: string | null;
|
|
817
|
+
/** SSH Gateway URL for the region */
|
|
818
|
+
sshGatewayUrl?: string | null;
|
|
819
|
+
/** Snapshot Manager URL for the region */
|
|
820
|
+
snapshotManagerUrl?: string | null;
|
|
821
|
+
/** OTel collector endpoint for sandboxes created in this region. When set, sandbox OTel data is sent to this endpoint instead of the Daytona-hosted collector and will not be available in the Daytona analytics API or dashboard. */
|
|
822
|
+
otelEndpoint?: string | null;
|
|
823
|
+
}
|
|
824
|
+
export declare const UpdateRegionRequest: S.Schema<UpdateRegionRequest>;
|
|
825
|
+
export interface UpdateRegionResponse {
|
|
826
|
+
}
|
|
827
|
+
export declare const UpdateRegionResponse: S.Schema<UpdateRegionResponse>;
|
|
828
|
+
export type AcceptOrganizationInvitationError = DaytonaOpError;
|
|
829
|
+
/** Accept organization invitation */
|
|
830
|
+
export declare const acceptOrganizationInvitation: API.OperationMethod<AcceptOrganizationInvitationRequest, OrganizationInvitation, AcceptOrganizationInvitationError, DaytonaOpContext>;
|
|
831
|
+
export type CancelOrganizationInvitationError = DaytonaOpError;
|
|
832
|
+
/** Cancel organization invitation */
|
|
833
|
+
export declare const cancelOrganizationInvitation: API.OperationMethod<CancelOrganizationInvitationRequest, CancelOrganizationInvitationResponse, CancelOrganizationInvitationError, DaytonaOpContext>;
|
|
834
|
+
export type CreateOrganizationError = DaytonaOpError;
|
|
835
|
+
/** Create organization */
|
|
836
|
+
export declare const createOrganization: API.OperationMethod<CreateOrganizationRequest, Organization, CreateOrganizationError, DaytonaOpContext>;
|
|
837
|
+
export type CreateOrganizationIdentityProviderError = DaytonaOpError;
|
|
838
|
+
/** Create organization identity provider */
|
|
839
|
+
export declare const createOrganizationIdentityProvider: API.OperationMethod<CreateOrganizationIdentityProviderRequest, IdentityProvider, CreateOrganizationIdentityProviderError, DaytonaOpContext>;
|
|
840
|
+
export type CreateOrganizationInvitationError = DaytonaOpError;
|
|
841
|
+
/** Create organization invitation */
|
|
842
|
+
export declare const createOrganizationInvitation: API.OperationMethod<CreateOrganizationInvitationRequest, OrganizationInvitation, CreateOrganizationInvitationError, DaytonaOpContext>;
|
|
843
|
+
export type CreateOrganizationRoleError = DaytonaOpError;
|
|
844
|
+
/** Create organization role */
|
|
845
|
+
export declare const createOrganizationRole: API.OperationMethod<CreateOrganizationRoleRequest, OrganizationRole, CreateOrganizationRoleError, DaytonaOpContext>;
|
|
846
|
+
export type CreateRegionError = DaytonaOpError;
|
|
847
|
+
/** Create a new region */
|
|
848
|
+
export declare const createRegion: API.OperationMethod<CreateRegionRequest, CreateRegionResponse, CreateRegionError, DaytonaOpContext>;
|
|
849
|
+
export type DeclineOrganizationInvitationError = DaytonaOpError;
|
|
850
|
+
/** Decline organization invitation */
|
|
851
|
+
export declare const declineOrganizationInvitation: API.OperationMethod<DeclineOrganizationInvitationRequest, DeclineOrganizationInvitationResponse, DeclineOrganizationInvitationError, DaytonaOpContext>;
|
|
852
|
+
export type DeleteOrganizationError = DaytonaOpError;
|
|
853
|
+
/** Delete organization */
|
|
854
|
+
export declare const deleteOrganization: API.OperationMethod<DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteOrganizationError, DaytonaOpContext>;
|
|
855
|
+
export type DeleteOrganizationIdentityProviderError = DaytonaOpError;
|
|
856
|
+
/** Delete organization identity provider */
|
|
857
|
+
export declare const deleteOrganizationIdentityProvider: API.OperationMethod<DeleteOrganizationIdentityProviderRequest, DeleteOrganizationIdentityProviderResponse, DeleteOrganizationIdentityProviderError, DaytonaOpContext>;
|
|
858
|
+
export type DeleteOrganizationMemberError = DaytonaOpError;
|
|
859
|
+
/** Delete organization member */
|
|
860
|
+
export declare const deleteOrganizationMember: API.OperationMethod<DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationMemberError, DaytonaOpContext>;
|
|
861
|
+
export type DeleteOrganizationOtelConfigError = DaytonaOpError;
|
|
862
|
+
/** Delete organization OpenTelemetry configuration */
|
|
863
|
+
export declare const deleteOrganizationOtelConfig: API.OperationMethod<DeleteOrganizationOtelConfigRequest, DeleteOrganizationOtelConfigResponse, DeleteOrganizationOtelConfigError, DaytonaOpContext>;
|
|
864
|
+
export type DeleteOrganizationRoleError = DaytonaOpError;
|
|
865
|
+
/** Delete organization role */
|
|
866
|
+
export declare const deleteOrganizationRole: API.OperationMethod<DeleteOrganizationRoleRequest, DeleteOrganizationRoleResponse, DeleteOrganizationRoleError, DaytonaOpContext>;
|
|
867
|
+
export type DeleteRegionError = DaytonaOpError;
|
|
868
|
+
/** Delete a region */
|
|
869
|
+
export declare const deleteRegion: API.OperationMethod<DeleteRegionRequest, DeleteRegionResponse, DeleteRegionError, DaytonaOpContext>;
|
|
870
|
+
export type GenerateWorkosAdminPortalLinkError = DaytonaOpError;
|
|
871
|
+
/** Generate a WorkOS Admin Portal link for configuring SSO or SCIM directory sync */
|
|
872
|
+
export declare const generateWorkosAdminPortalLink: API.OperationMethod<GenerateWorkosAdminPortalLinkRequest, WorkosAdminPortalLink, GenerateWorkosAdminPortalLinkError, DaytonaOpContext>;
|
|
873
|
+
export type GetGpuCapacityError = DaytonaOpError;
|
|
874
|
+
/** Get shared US GPU capacity Returns a short-lived observation of the shared US GPU fleet. Organization quotas and entitlements are not applied. Capacity can change immediately and sandbox creation remains authoritative. */
|
|
875
|
+
export declare const getGpuCapacity: API.OperationMethod<GetGpuCapacityRequest, GpuCapacityResponse, GetGpuCapacityError, DaytonaOpContext>;
|
|
876
|
+
export type GetOrganizationError = DaytonaOpError;
|
|
877
|
+
/** Get organization by ID */
|
|
878
|
+
export declare const getOrganization: API.OperationMethod<GetOrganizationRequest, Organization, GetOrganizationError, DaytonaOpContext>;
|
|
879
|
+
export type GetOrganizationIdentityProviderError = DaytonaOpError;
|
|
880
|
+
/** Get organization identity provider */
|
|
881
|
+
export declare const getOrganizationIdentityProvider: API.OperationMethod<GetOrganizationIdentityProviderRequest, IdentityProvider, GetOrganizationIdentityProviderError, DaytonaOpContext>;
|
|
882
|
+
export type GetOrganizationInvitationsCountForAuthenticatedUserError = DaytonaOpError;
|
|
883
|
+
/** Get count of organization invitations for authenticated user */
|
|
884
|
+
export declare const getOrganizationInvitationsCountForAuthenticatedUser: API.OperationMethod<GetOrganizationInvitationsCountForAuthenticatedUserRequest, GetOrganizationInvitationsCountForAuthenticatedUserResponse, GetOrganizationInvitationsCountForAuthenticatedUserError, DaytonaOpContext>;
|
|
885
|
+
export type GetOrganizationOtelConfigError = DaytonaOpError;
|
|
886
|
+
/** Get organization OTEL config by organization ID */
|
|
887
|
+
export declare const getOrganizationOtelConfig: API.OperationMethod<GetOrganizationOtelConfigRequest, OtelConfig, GetOrganizationOtelConfigError, DaytonaOpContext>;
|
|
888
|
+
export type GetOrganizationOtelConfigBySandboxAuthTokenError = DaytonaOpError;
|
|
889
|
+
/** Get organization OTEL config by sandbox auth token */
|
|
890
|
+
export declare const getOrganizationOtelConfigBySandboxAuthToken: API.OperationMethod<GetOrganizationOtelConfigBySandboxAuthTokenRequest, OtelConfig, GetOrganizationOtelConfigBySandboxAuthTokenError, DaytonaOpContext>;
|
|
891
|
+
export type GetOrganizationUsageOverviewError = DaytonaOpError;
|
|
892
|
+
/** Get organization current usage overview */
|
|
893
|
+
export declare const getOrganizationUsageOverview: API.OperationMethod<GetOrganizationUsageOverviewRequest, OrganizationUsageOverview, GetOrganizationUsageOverviewError, DaytonaOpContext>;
|
|
894
|
+
export type GetRegionError = DaytonaOpError;
|
|
895
|
+
/** Get region by ID */
|
|
896
|
+
export declare const getRegion: API.OperationMethod<GetRegionRequest, Region, GetRegionError, DaytonaOpContext>;
|
|
897
|
+
export type GetSandboxIdentityBySandboxAuthTokenError = DaytonaOpError;
|
|
898
|
+
/** Get sandbox identity by sandbox auth token */
|
|
899
|
+
export declare const getSandboxIdentityBySandboxAuthToken: API.OperationMethod<GetSandboxIdentityBySandboxAuthTokenRequest, SandboxIdentity, GetSandboxIdentityBySandboxAuthTokenError, DaytonaOpContext>;
|
|
900
|
+
export type LeaveOrganizationError = DaytonaOpError;
|
|
901
|
+
/** Leave organization */
|
|
902
|
+
export declare const leaveOrganization: API.OperationMethod<LeaveOrganizationRequest, LeaveOrganizationResponse, LeaveOrganizationError, DaytonaOpContext>;
|
|
903
|
+
export type ListAvailableRegionsError = DaytonaOpError;
|
|
904
|
+
/** List all available regions for the organization */
|
|
905
|
+
export declare const listAvailableRegions: API.OperationMethod<ListAvailableRegionsRequest, ListAvailableRegionsResponse, ListAvailableRegionsError, DaytonaOpContext>;
|
|
906
|
+
export type ListAvailableSandboxClassesError = DaytonaOpError;
|
|
907
|
+
/** List available sandbox classes for organization */
|
|
908
|
+
export declare const listAvailableSandboxClasses: API.OperationMethod<ListAvailableSandboxClassesRequest, ListAvailableSandboxClassesResponse, ListAvailableSandboxClassesError, DaytonaOpContext>;
|
|
909
|
+
export type ListOrganizationIdentityProvidersError = DaytonaOpError;
|
|
910
|
+
/** List organization identity providers */
|
|
911
|
+
export declare const listOrganizationIdentityProviders: API.OperationMethod<ListOrganizationIdentityProvidersRequest, ListOrganizationIdentityProvidersResponse, ListOrganizationIdentityProvidersError, DaytonaOpContext>;
|
|
912
|
+
export type ListOrganizationInvitationsError = DaytonaOpError;
|
|
913
|
+
/** List pending organization invitations */
|
|
914
|
+
export declare const listOrganizationInvitations: API.OperationMethod<ListOrganizationInvitationsRequest, ListOrganizationInvitationsResponse, ListOrganizationInvitationsError, DaytonaOpContext>;
|
|
915
|
+
export type ListOrganizationInvitationsForAuthenticatedUserError = DaytonaOpError;
|
|
916
|
+
/** List organization invitations for authenticated user */
|
|
917
|
+
export declare const listOrganizationInvitationsForAuthenticatedUser: API.OperationMethod<ListOrganizationInvitationsForAuthenticatedUserRequest, ListOrganizationInvitationsForAuthenticatedUserResponse, ListOrganizationInvitationsForAuthenticatedUserError, DaytonaOpContext>;
|
|
918
|
+
export type ListOrganizationMembersError = DaytonaOpError;
|
|
919
|
+
/** List organization members */
|
|
920
|
+
export declare const listOrganizationMembers: API.OperationMethod<ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationMembersError, DaytonaOpContext>;
|
|
921
|
+
export type ListOrganizationRolesError = DaytonaOpError;
|
|
922
|
+
/** List organization roles */
|
|
923
|
+
export declare const listOrganizationRoles: API.OperationMethod<ListOrganizationRolesRequest, ListOrganizationRolesResponse, ListOrganizationRolesError, DaytonaOpContext>;
|
|
924
|
+
export type ListOrganizationsError = DaytonaOpError;
|
|
925
|
+
/** List organizations */
|
|
926
|
+
export declare const listOrganizations: API.OperationMethod<ListOrganizationsRequest, ListOrganizationsResponse, ListOrganizationsError, DaytonaOpContext>;
|
|
927
|
+
export type RegenerateProxyApiKeyError = DaytonaOpError;
|
|
928
|
+
/** Regenerate proxy API key for a region */
|
|
929
|
+
export declare const regenerateProxyApiKey: API.OperationMethod<RegenerateProxyApiKeyRequest, RegenerateApiKeyResponse, RegenerateProxyApiKeyError, DaytonaOpContext>;
|
|
930
|
+
export type RegenerateSnapshotManagerCredentialsError = DaytonaOpError;
|
|
931
|
+
/** Regenerate snapshot manager credentials for a region */
|
|
932
|
+
export declare const regenerateSnapshotManagerCredentials: API.OperationMethod<RegenerateSnapshotManagerCredentialsRequest, SnapshotManagerCredentials, RegenerateSnapshotManagerCredentialsError, DaytonaOpContext>;
|
|
933
|
+
export type RegenerateSshGatewayApiKeyError = DaytonaOpError;
|
|
934
|
+
/** Regenerate SSH gateway API key for a region */
|
|
935
|
+
export declare const regenerateSshGatewayApiKey: API.OperationMethod<RegenerateSshGatewayApiKeyRequest, RegenerateApiKeyResponse, RegenerateSshGatewayApiKeyError, DaytonaOpContext>;
|
|
936
|
+
export type SetOrganizationDefaultRegionError = DaytonaOpError;
|
|
937
|
+
/** Set default region for organization */
|
|
938
|
+
export declare const setOrganizationDefaultRegion: API.OperationMethod<SetOrganizationDefaultRegionRequest, SetOrganizationDefaultRegionResponse, SetOrganizationDefaultRegionError, DaytonaOpContext>;
|
|
939
|
+
export type TestOrganizationIdentityProviderConnectionError = DaytonaOpError;
|
|
940
|
+
/** Test OIDC identity provider connection */
|
|
941
|
+
export declare const testOrganizationIdentityProviderConnection: API.OperationMethod<TestOrganizationIdentityProviderConnectionRequest, TestIdentityProviderConnectionResponse, TestOrganizationIdentityProviderConnectionError, DaytonaOpContext>;
|
|
942
|
+
export type UpdateAccessForOrganizationMemberError = DaytonaOpError;
|
|
943
|
+
/** Update access for organization member */
|
|
944
|
+
export declare const updateAccessForOrganizationMember: API.OperationMethod<UpdateAccessForOrganizationMemberRequest, OrganizationUser, UpdateAccessForOrganizationMemberError, DaytonaOpContext>;
|
|
945
|
+
export type UpdateExperimentalConfigError = DaytonaOpError;
|
|
946
|
+
/** Update experimental configuration */
|
|
947
|
+
export declare const updateExperimentalConfig: API.OperationMethod<UpdateExperimentalConfigRequest, UpdateExperimentalConfigResponse, UpdateExperimentalConfigError, DaytonaOpContext>;
|
|
948
|
+
export type UpdateOrganizationIdentityProviderError = DaytonaOpError;
|
|
949
|
+
/** Update organization identity provider */
|
|
950
|
+
export declare const updateOrganizationIdentityProvider: API.OperationMethod<UpdateOrganizationIdentityProviderRequest, IdentityProvider, UpdateOrganizationIdentityProviderError, DaytonaOpContext>;
|
|
951
|
+
export type UpdateOrganizationInvitationError = DaytonaOpError;
|
|
952
|
+
/** Update organization invitation */
|
|
953
|
+
export declare const updateOrganizationInvitation: API.OperationMethod<UpdateOrganizationInvitationRequest, OrganizationInvitation, UpdateOrganizationInvitationError, DaytonaOpContext>;
|
|
954
|
+
export type UpdateOrganizationOtelConfigError = DaytonaOpError;
|
|
955
|
+
/** Update organization OpenTelemetry configuration */
|
|
956
|
+
export declare const updateOrganizationOtelConfig: API.OperationMethod<UpdateOrganizationOtelConfigRequest, UpdateOrganizationOtelConfigResponse, UpdateOrganizationOtelConfigError, DaytonaOpContext>;
|
|
957
|
+
export type UpdateOrganizationRoleError = DaytonaOpError;
|
|
958
|
+
/** Update organization role */
|
|
959
|
+
export declare const updateOrganizationRole: API.OperationMethod<UpdateOrganizationRoleRequest, OrganizationRole, UpdateOrganizationRoleError, DaytonaOpContext>;
|
|
960
|
+
export type UpdateRegionError = DaytonaOpError;
|
|
961
|
+
/** Update region configuration */
|
|
962
|
+
export declare const updateRegion: API.OperationMethod<UpdateRegionRequest, UpdateRegionResponse, UpdateRegionError, DaytonaOpContext>;
|
|
963
|
+
//# sourceMappingURL=organizations.d.ts.map
|