modal 0.7.3 → 0.7.4

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
@@ -524,6 +524,14 @@ interface AppGetLayoutResponse {
524
524
  appLayout: AppLayout | undefined;
525
525
  }
526
526
  declare const AppGetLayoutResponse: MessageFns$1<AppGetLayoutResponse>;
527
+ interface AppGetLifecycleRequest {
528
+ appId: string;
529
+ }
530
+ declare const AppGetLifecycleRequest: MessageFns$1<AppGetLifecycleRequest>;
531
+ interface AppGetLifecycleResponse {
532
+ lifecycle: AppLifecycle | undefined;
533
+ }
534
+ declare const AppGetLifecycleResponse: MessageFns$1<AppGetLifecycleResponse>;
527
535
  interface AppGetLogsRequest {
528
536
  appId: string;
529
537
  timeout: number;
@@ -535,6 +543,7 @@ interface AppGetLogsRequest {
535
543
  functionCallId: string;
536
544
  fileDescriptor: FileDescriptor;
537
545
  sandboxId: string;
546
+ searchText: string;
538
547
  }
539
548
  declare const AppGetLogsRequest: MessageFns$1<AppGetLogsRequest>;
540
549
  interface AppGetObjectsItem {
@@ -589,6 +598,23 @@ interface AppLayout {
589
598
  };
590
599
  }
591
600
  declare const AppLayout: MessageFns$1<AppLayout>;
601
+ interface AppLifecycle {
602
+ appState: AppState;
603
+ createdAt: number;
604
+ /** User or service user name */
605
+ createdBy: string;
606
+ /** Most recent deployment event */
607
+ deployedAt: number;
608
+ /** User or service user name */
609
+ deployedBy: string;
610
+ /** Only meaningful when App is deployed */
611
+ version: number;
612
+ /** Unset when App is still running */
613
+ stoppedAt: number;
614
+ /** User or service user name, null if running or ephemeral App that finished normally */
615
+ stoppedBy: string;
616
+ }
617
+ declare const AppLifecycle: MessageFns$1<AppLifecycle>;
592
618
  interface AppListRequest {
593
619
  environmentName: string;
594
620
  }
@@ -659,6 +685,16 @@ interface AppRollbackRequest {
659
685
  version: number;
660
686
  }
661
687
  declare const AppRollbackRequest: MessageFns$1<AppRollbackRequest>;
688
+ interface AppRolloverRequest {
689
+ appId: string;
690
+ }
691
+ declare const AppRolloverRequest: MessageFns$1<AppRolloverRequest>;
692
+ interface AppRolloverResponse {
693
+ url: string;
694
+ serverWarnings: Warning[];
695
+ deployedAt: number;
696
+ }
697
+ declare const AppRolloverResponse: MessageFns$1<AppRolloverResponse>;
662
698
  interface AppSetObjectsRequest {
663
699
  appId: string;
664
700
  indexedObjectIds: {
@@ -1169,6 +1205,7 @@ interface DictGetOrCreateRequest {
1169
1205
  deploymentName: string;
1170
1206
  environmentName: string;
1171
1207
  objectCreationType: ObjectCreationType;
1208
+ /** Unused after 1.4.0 */
1172
1209
  data: DictEntry[];
1173
1210
  }
1174
1211
  declare const DictGetOrCreateRequest: MessageFns$1<DictGetOrCreateRequest>;
@@ -2460,6 +2497,17 @@ interface PortSpecs {
2460
2497
  ports: PortSpec[];
2461
2498
  }
2462
2499
  declare const PortSpecs: MessageFns$1<PortSpecs>;
2500
+ interface Probe$1 {
2501
+ tcpPort?: number | undefined;
2502
+ execCommand?: Probe_ExecCommand | undefined;
2503
+ intervalMs?: number | undefined;
2504
+ }
2505
+ declare const Probe$1: MessageFns$1<Probe$1>;
2506
+ interface Probe_ExecCommand {
2507
+ /** Command and args to execute directly (argv form, not shell-parsed). */
2508
+ argv: string[];
2509
+ }
2510
+ declare const Probe_ExecCommand: MessageFns$1<Probe_ExecCommand>;
2463
2511
  interface Proxy$1 {
2464
2512
  name: string;
2465
2513
  createdAt: number;
@@ -2717,6 +2765,7 @@ interface Sandbox$1 {
2717
2765
  nfsMounts: SharedVolumeMount[];
2718
2766
  /** For internal debugging use only. */
2719
2767
  runtimeDebug: boolean;
2768
+ /** deprecated, use network_access instead */
2720
2769
  blockNetwork: boolean;
2721
2770
  s3Mounts: S3Mount[];
2722
2771
  cloudBucketMounts: CloudBucketMount$1[];
@@ -2781,6 +2830,8 @@ interface Sandbox$1 {
2781
2830
  * for OIDC-based authentication (e.g. to AWS, GCP).
2782
2831
  */
2783
2832
  includeOidcIdentityToken: boolean;
2833
+ /** Probe used to determine when the sandbox has become ready. */
2834
+ readinessProbe?: Probe$1 | undefined;
2784
2835
  }
2785
2836
  declare const Sandbox$1: MessageFns$1<Sandbox$1>;
2786
2837
  interface SandboxCreateConnectTokenRequest {
@@ -2812,8 +2863,22 @@ declare const SandboxCreateV2Request: MessageFns$1<SandboxCreateV2Request>;
2812
2863
  interface SandboxCreateV2Response {
2813
2864
  sandboxId: string;
2814
2865
  tunnels: TunnelData[];
2866
+ taskId: string;
2815
2867
  }
2816
2868
  declare const SandboxCreateV2Response: MessageFns$1<SandboxCreateV2Response>;
2869
+ /**
2870
+ * Used by the sandbox controller to get command router access for V2 sandboxes.
2871
+ * For all other use cases, use TaskGetCommandRouterAccess instead.
2872
+ */
2873
+ interface SandboxGetCommandRouterAccessRequest {
2874
+ sandboxId: string;
2875
+ }
2876
+ declare const SandboxGetCommandRouterAccessRequest: MessageFns$1<SandboxGetCommandRouterAccessRequest>;
2877
+ interface SandboxGetCommandRouterAccessResponse {
2878
+ jwt: string;
2879
+ url: string;
2880
+ }
2881
+ declare const SandboxGetCommandRouterAccessResponse: MessageFns$1<SandboxGetCommandRouterAccessResponse>;
2817
2882
  interface SandboxGetFromNameRequest {
2818
2883
  sandboxName: string;
2819
2884
  environmentName: string;
@@ -2884,6 +2949,7 @@ interface SandboxInfo {
2884
2949
  regions: string[];
2885
2950
  timeoutSecs: number;
2886
2951
  idleTimeoutSecs?: number | undefined;
2952
+ readyAt?: number | undefined;
2887
2953
  }
2888
2954
  declare const SandboxInfo: MessageFns$1<SandboxInfo>;
2889
2955
  interface SandboxListRequest {
@@ -3004,6 +3070,15 @@ interface SandboxWaitResponse {
3004
3070
  result: GenericResult | undefined;
3005
3071
  }
3006
3072
  declare const SandboxWaitResponse: MessageFns$1<SandboxWaitResponse>;
3073
+ interface SandboxWaitUntilReadyRequest {
3074
+ sandboxId: string;
3075
+ timeout: number;
3076
+ }
3077
+ declare const SandboxWaitUntilReadyRequest: MessageFns$1<SandboxWaitUntilReadyRequest>;
3078
+ interface SandboxWaitUntilReadyResponse {
3079
+ readyAt: number;
3080
+ }
3081
+ declare const SandboxWaitUntilReadyResponse: MessageFns$1<SandboxWaitUntilReadyResponse>;
3007
3082
  interface Schedule {
3008
3083
  cron?: Schedule_Cron | undefined;
3009
3084
  period?: Schedule_Period | undefined;
@@ -3220,6 +3295,15 @@ interface TaskGetCommandRouterAccessResponse {
3220
3295
  url: string;
3221
3296
  }
3222
3297
  declare const TaskGetCommandRouterAccessResponse: MessageFns$1<TaskGetCommandRouterAccessResponse>;
3298
+ interface TaskGetInfoRequest {
3299
+ taskId: string;
3300
+ }
3301
+ declare const TaskGetInfoRequest: MessageFns$1<TaskGetInfoRequest>;
3302
+ interface TaskGetInfoResponse {
3303
+ appId: string;
3304
+ info: TaskInfo | undefined;
3305
+ }
3306
+ declare const TaskGetInfoResponse: MessageFns$1<TaskGetInfoResponse>;
3223
3307
  interface TaskInfo {
3224
3308
  id: string;
3225
3309
  startedAt: number;
@@ -3250,6 +3334,8 @@ interface TaskLogs {
3250
3334
  functionCallId: string;
3251
3335
  inputId: string;
3252
3336
  timestampNs: number;
3337
+ containerId: string;
3338
+ containerName: string;
3253
3339
  }
3254
3340
  declare const TaskLogs: MessageFns$1<TaskLogs>;
3255
3341
  interface TaskLogsBatch {
@@ -3299,6 +3385,19 @@ interface TaskTemplate {
3299
3385
  index: number;
3300
3386
  }
3301
3387
  declare const TaskTemplate: MessageFns$1<TaskTemplate>;
3388
+ interface TemplateListRequest {
3389
+ }
3390
+ declare const TemplateListRequest: MessageFns$1<TemplateListRequest>;
3391
+ interface TemplateListResponse {
3392
+ items: TemplateListResponse_TemplateListItem[];
3393
+ }
3394
+ declare const TemplateListResponse: MessageFns$1<TemplateListResponse>;
3395
+ interface TemplateListResponse_TemplateListItem {
3396
+ name: string;
3397
+ repo: string;
3398
+ ref: string;
3399
+ }
3400
+ declare const TemplateListResponse_TemplateListItem: MessageFns$1<TemplateListResponse_TemplateListItem>;
3302
3401
  interface TokenFlowCreateRequest {
3303
3402
  utmSource: string;
3304
3403
  localhostPort: number;
@@ -3769,6 +3868,14 @@ declare const ModalClientDefinition: {
3769
3868
  readonly responseStream: false;
3770
3869
  readonly options: {};
3771
3870
  };
3871
+ readonly appGetLifecycle: {
3872
+ readonly name: "AppGetLifecycle";
3873
+ readonly requestType: MessageFns$1<AppGetLifecycleRequest>;
3874
+ readonly requestStream: false;
3875
+ readonly responseType: MessageFns$1<AppGetLifecycleResponse>;
3876
+ readonly responseStream: false;
3877
+ readonly options: {};
3878
+ };
3772
3879
  readonly appGetLogs: {
3773
3880
  readonly name: "AppGetLogs";
3774
3881
  readonly requestType: MessageFns$1<AppGetLogsRequest>;
@@ -3841,6 +3948,14 @@ declare const ModalClientDefinition: {
3841
3948
  readonly responseStream: false;
3842
3949
  readonly options: {};
3843
3950
  };
3951
+ readonly appRollover: {
3952
+ readonly name: "AppRollover";
3953
+ readonly requestType: MessageFns$1<AppRolloverRequest>;
3954
+ readonly requestStream: false;
3955
+ readonly responseType: MessageFns$1<AppRolloverResponse>;
3956
+ readonly responseStream: false;
3957
+ readonly options: {};
3958
+ };
3844
3959
  readonly appSetObjects: {
3845
3960
  readonly name: "AppSetObjects";
3846
3961
  readonly requestType: MessageFns$1<AppSetObjectsRequest>;
@@ -4696,6 +4811,14 @@ declare const ModalClientDefinition: {
4696
4811
  readonly responseStream: false;
4697
4812
  readonly options: {};
4698
4813
  };
4814
+ readonly sandboxGetCommandRouterAccess: {
4815
+ readonly name: "SandboxGetCommandRouterAccess";
4816
+ readonly requestType: MessageFns$1<SandboxGetCommandRouterAccessRequest>;
4817
+ readonly requestStream: false;
4818
+ readonly responseType: MessageFns$1<SandboxGetCommandRouterAccessResponse>;
4819
+ readonly responseStream: false;
4820
+ readonly options: {};
4821
+ };
4699
4822
  readonly sandboxGetFromName: {
4700
4823
  readonly name: "SandboxGetFromName";
4701
4824
  readonly requestType: MessageFns$1<SandboxGetFromNameRequest>;
@@ -4729,6 +4852,14 @@ declare const ModalClientDefinition: {
4729
4852
  readonly responseStream: false;
4730
4853
  readonly options: {};
4731
4854
  };
4855
+ readonly sandboxGetTaskIdV2: {
4856
+ readonly name: "SandboxGetTaskIdV2";
4857
+ readonly requestType: MessageFns$1<SandboxGetTaskIdRequest>;
4858
+ readonly requestStream: false;
4859
+ readonly responseType: MessageFns$1<SandboxGetTaskIdResponse>;
4860
+ readonly responseStream: false;
4861
+ readonly options: {};
4862
+ };
4732
4863
  readonly sandboxGetTunnels: {
4733
4864
  readonly name: "SandboxGetTunnels";
4734
4865
  readonly requestType: MessageFns$1<SandboxGetTunnelsRequest>;
@@ -4737,6 +4868,14 @@ declare const ModalClientDefinition: {
4737
4868
  readonly responseStream: false;
4738
4869
  readonly options: {};
4739
4870
  };
4871
+ readonly sandboxGetTunnelsV2: {
4872
+ readonly name: "SandboxGetTunnelsV2";
4873
+ readonly requestType: MessageFns$1<SandboxGetTunnelsRequest>;
4874
+ readonly requestStream: false;
4875
+ readonly responseType: MessageFns$1<SandboxGetTunnelsResponse>;
4876
+ readonly responseStream: false;
4877
+ readonly options: {};
4878
+ };
4740
4879
  readonly sandboxList: {
4741
4880
  readonly name: "SandboxList";
4742
4881
  readonly requestType: MessageFns$1<SandboxListRequest>;
@@ -4833,6 +4972,14 @@ declare const ModalClientDefinition: {
4833
4972
  readonly responseStream: false;
4834
4973
  readonly options: {};
4835
4974
  };
4975
+ readonly sandboxTerminateV2: {
4976
+ readonly name: "SandboxTerminateV2";
4977
+ readonly requestType: MessageFns$1<SandboxTerminateRequest>;
4978
+ readonly requestStream: false;
4979
+ readonly responseType: MessageFns$1<SandboxTerminateResponse>;
4980
+ readonly responseStream: false;
4981
+ readonly options: {};
4982
+ };
4836
4983
  readonly sandboxWait: {
4837
4984
  readonly name: "SandboxWait";
4838
4985
  readonly requestType: MessageFns$1<SandboxWaitRequest>;
@@ -4841,6 +4988,22 @@ declare const ModalClientDefinition: {
4841
4988
  readonly responseStream: false;
4842
4989
  readonly options: {};
4843
4990
  };
4991
+ readonly sandboxWaitUntilReady: {
4992
+ readonly name: "SandboxWaitUntilReady";
4993
+ readonly requestType: MessageFns$1<SandboxWaitUntilReadyRequest>;
4994
+ readonly requestStream: false;
4995
+ readonly responseType: MessageFns$1<SandboxWaitUntilReadyResponse>;
4996
+ readonly responseStream: false;
4997
+ readonly options: {};
4998
+ };
4999
+ readonly sandboxWaitV2: {
5000
+ readonly name: "SandboxWaitV2";
5001
+ readonly requestType: MessageFns$1<SandboxWaitRequest>;
5002
+ readonly requestStream: false;
5003
+ readonly responseType: MessageFns$1<SandboxWaitResponse>;
5004
+ readonly responseStream: false;
5005
+ readonly options: {};
5006
+ };
4844
5007
  /** Secrets */
4845
5008
  readonly secretDelete: {
4846
5009
  readonly name: "SecretDelete";
@@ -4972,6 +5135,14 @@ declare const ModalClientDefinition: {
4972
5135
  readonly responseStream: false;
4973
5136
  readonly options: {};
4974
5137
  };
5138
+ readonly taskGetInfo: {
5139
+ readonly name: "TaskGetInfo";
5140
+ readonly requestType: MessageFns$1<TaskGetInfoRequest>;
5141
+ readonly requestStream: false;
5142
+ readonly responseType: MessageFns$1<TaskGetInfoResponse>;
5143
+ readonly responseStream: false;
5144
+ readonly options: {};
5145
+ };
4975
5146
  readonly taskList: {
4976
5147
  readonly name: "TaskList";
4977
5148
  readonly requestType: MessageFns$1<TaskListRequest>;
@@ -4988,6 +5159,15 @@ declare const ModalClientDefinition: {
4988
5159
  readonly responseStream: false;
4989
5160
  readonly options: {};
4990
5161
  };
5162
+ /** Templates */
5163
+ readonly templateList: {
5164
+ readonly name: "TemplateList";
5165
+ readonly requestType: MessageFns$1<TemplateListRequest>;
5166
+ readonly requestStream: false;
5167
+ readonly responseType: MessageFns$1<TemplateListResponse>;
5168
+ readonly responseStream: false;
5169
+ readonly options: {};
5170
+ };
4991
5171
  /** Tokens (web auth flow) */
4992
5172
  readonly tokenFlowCreate: {
4993
5173
  readonly name: "TokenFlowCreate";
@@ -5932,6 +6112,12 @@ interface TaskExecStartRequest {
5932
6112
  * internal debugging.
5933
6113
  */
5934
6114
  runtimeDebug: boolean;
6115
+ /** Fully qualified target container ID. Empty targets the main container. */
6116
+ containerId: string;
6117
+ /** Environment variables to set directly for the exec'd command. */
6118
+ env: {
6119
+ [key: string]: string;
6120
+ };
5935
6121
  }
5936
6122
  declare const TaskExecStartRequest: MessageFns<TaskExecStartRequest>;
5937
6123
  interface TaskExecStartResponse {
@@ -6105,6 +6291,19 @@ type StdioBehavior = "pipe" | "ignore";
6105
6291
  * means the data will be read as raw bytes (Uint8Array).
6106
6292
  */
6107
6293
  type StreamMode = "text" | "binary";
6294
+ /** Optional parameters for {@link Probe.withTcp} and {@link Probe.withExec}. */
6295
+ type ProbeParams = {
6296
+ intervalMs: number;
6297
+ };
6298
+ /** Probe configuration for sandbox readiness checks. */
6299
+ declare class Probe {
6300
+ #private;
6301
+ private constructor();
6302
+ static withTcp(port: number, params?: ProbeParams): Probe;
6303
+ static withExec(argv: string[], params?: ProbeParams): Probe;
6304
+ /** @ignore */
6305
+ toProto(): Probe$1;
6306
+ }
6108
6307
  /** Optional parameters for {@link SandboxService#create client.sandboxes.create()}. */
6109
6308
  type SandboxCreateParams = {
6110
6309
  /** Reservation of physical CPU cores for the Sandbox, can be fractional. */
@@ -6136,7 +6335,8 @@ type SandboxCreateParams = {
6136
6335
  volumes?: Record<string, Volume>;
6137
6336
  /** Mount points for {@link CloudBucketMount}s. */
6138
6337
  cloudBucketMounts?: Record<string, CloudBucketMount>;
6139
- /** Enable a PTY for the Sandbox. */
6338
+ /** Enable a PTY for the Sandbox entrypoint command. When enabled, all output (stdout and
6339
+ * stderr from the process) is multiplexed into stdout, and the stderr stream is effectively empty. */
6140
6340
  pty?: boolean;
6141
6341
  /** List of ports to tunnel into the Sandbox. Encrypted ports are tunneled with TLS. */
6142
6342
  encryptedPorts?: number[];
@@ -6156,6 +6356,8 @@ type SandboxCreateParams = {
6156
6356
  verbose?: boolean;
6157
6357
  /** Reference to a Modal {@link Proxy} to use in front of this Sandbox. */
6158
6358
  proxy?: Proxy;
6359
+ /** Probe used to determine when the Sandbox has become ready. */
6360
+ readinessProbe?: Probe;
6159
6361
  /** Optional name for the Sandbox. Unique within an App. */
6160
6362
  name?: string;
6161
6363
  /** Optional experimental options. */
@@ -6164,6 +6366,8 @@ type SandboxCreateParams = {
6164
6366
  * This requires prior manual setup by Modal and is only available for Enterprise customers.
6165
6367
  */
6166
6368
  customDomain?: string;
6369
+ /** If true, the sandbox will receive a MODAL_IDENTITY_TOKEN env var for OIDC-based auth (e.g. to AWS, GCP). */
6370
+ includeOidcIdentityToken?: boolean;
6167
6371
  };
6168
6372
  /**
6169
6373
  * Service for managing {@link Sandbox}es.
@@ -6232,7 +6436,8 @@ type SandboxExecParams = {
6232
6436
  env?: Record<string, string>;
6233
6437
  /** {@link Secret}s to inject as environment variables for the commmand.*/
6234
6438
  secrets?: Secret[];
6235
- /** Enable a PTY for the command. */
6439
+ /** Enable a PTY for the command. When enabled, all output (stdout and stderr from the
6440
+ * process) is multiplexed into stdout, and the stderr stream is effectively empty. */
6236
6441
  pty?: boolean;
6237
6442
  };
6238
6443
  /** Optional parameters for {@link Sandbox#createConnectToken Sandbox.createConnectToken()}. */
@@ -6313,6 +6518,16 @@ declare class Sandbox {
6313
6518
  */
6314
6519
  detach(): void;
6315
6520
  wait(): Promise<number>;
6521
+ /**
6522
+ * Wait until the Sandbox readiness probe reports the Sandbox is ready.
6523
+ *
6524
+ * This method only works for Sandboxes configured with a readiness probe.
6525
+ *
6526
+ * @param timeoutMs - Maximum total time to wait, in milliseconds.
6527
+ * @returns A promise that resolves once the Sandbox is ready.
6528
+ * @throws {@link TimeoutError} If readiness is not reported before `timeoutMs`.
6529
+ */
6530
+ waitUntilReady(timeoutMs?: number): Promise<void>;
6316
6531
  /** Get {@link Tunnel} metadata for the Sandbox.
6317
6532
  *
6318
6533
  * Raises {@link SandboxTimeoutError} if the tunnels are not available after the timeout.
@@ -6534,6 +6749,10 @@ declare class App {
6534
6749
  imageFromGcpArtifactRegistry(tag: string, secret: Secret): Promise<Image>;
6535
6750
  }
6536
6751
 
6752
+ /** An operation exceeds the allowed time limit. */
6753
+ declare class TimeoutError extends Error {
6754
+ constructor(message?: string);
6755
+ }
6537
6756
  /** Function execution exceeds the allowed time limit. */
6538
6757
  declare class FunctionTimeoutError extends Error {
6539
6758
  constructor(message: string);
@@ -6577,4 +6796,4 @@ declare class ClientClosedError extends Error {
6577
6796
 
6578
6797
  declare function checkForRenamedParams(params: any, renames: Record<string, string>): void;
6579
6798
 
6580
- export { AlreadyExistsError, App, type AppFromNameParams, AppService, ClientClosedError, type ClientOptions, CloudBucketMount, CloudBucketMountService, Cls, type ClsFromNameParams, ClsInstance, ClsService, type ClsWithBatchingParams, type ClsWithConcurrencyParams, type ClsWithOptionsParams, ContainerProcess, type DeleteOptions, type EphemeralOptions, FunctionCall, type FunctionCallCancelParams, type FunctionCallGetParams, FunctionCallService, type FunctionFromNameParams, FunctionService, type FunctionStats, FunctionTimeoutError, type FunctionUpdateAutoscalerParams, Function_, Image, type ImageDeleteParams, type ImageDockerfileCommandsParams, ImageService, InternalFailure, InvalidError, type LogLevel, type Logger, type LookupOptions, ModalClient, type ModalClientParams, type ModalReadStream, type ModalWriteStream, NotFoundError, type Profile, Proxy, type ProxyFromNameParams, ProxyService, Queue, type QueueClearParams, type QueueDeleteParams, QueueEmptyError, type QueueEphemeralParams, type QueueFromNameParams, QueueFullError, type QueueGetParams, type QueueIterateParams, type QueueLenParams, type QueuePutParams, QueueService, RemoteError, Retries, Sandbox, type SandboxCreateConnectCredentials, type SandboxCreateConnectTokenParams, type SandboxCreateParams, type SandboxExecParams, SandboxFile, type SandboxFileMode, type SandboxFromNameParams, type SandboxListParams, SandboxService, type SandboxTerminateParams, SandboxTimeoutError, Secret, type SecretDeleteParams, type SecretFromNameParams, type SecretFromObjectParams, SecretService, type StdioBehavior, type StreamMode, Tunnel, Volume, type VolumeDeleteParams, type VolumeEphemeralParams, type VolumeFromNameParams, VolumeService, checkForRenamedParams, close, initializeClient };
6799
+ export { AlreadyExistsError, App, type AppFromNameParams, AppService, ClientClosedError, type ClientOptions, CloudBucketMount, CloudBucketMountService, Cls, type ClsFromNameParams, ClsInstance, ClsService, type ClsWithBatchingParams, type ClsWithConcurrencyParams, type ClsWithOptionsParams, ContainerProcess, type DeleteOptions, type EphemeralOptions, FunctionCall, type FunctionCallCancelParams, type FunctionCallGetParams, FunctionCallService, type FunctionFromNameParams, FunctionService, type FunctionStats, FunctionTimeoutError, type FunctionUpdateAutoscalerParams, Function_, Image, type ImageDeleteParams, type ImageDockerfileCommandsParams, ImageService, InternalFailure, InvalidError, type LogLevel, type Logger, type LookupOptions, ModalClient, type ModalClientParams, type ModalReadStream, type ModalWriteStream, NotFoundError, Probe, type ProbeParams, type Profile, Proxy, type ProxyFromNameParams, ProxyService, Queue, type QueueClearParams, type QueueDeleteParams, QueueEmptyError, type QueueEphemeralParams, type QueueFromNameParams, QueueFullError, type QueueGetParams, type QueueIterateParams, type QueueLenParams, type QueuePutParams, QueueService, RemoteError, Retries, Sandbox, type SandboxCreateConnectCredentials, type SandboxCreateConnectTokenParams, type SandboxCreateParams, type SandboxExecParams, SandboxFile, type SandboxFileMode, type SandboxFromNameParams, type SandboxListParams, SandboxService, type SandboxTerminateParams, SandboxTimeoutError, Secret, type SecretDeleteParams, type SecretFromNameParams, type SecretFromObjectParams, SecretService, type StdioBehavior, type StreamMode, TimeoutError, Tunnel, Volume, type VolumeDeleteParams, type VolumeEphemeralParams, type VolumeFromNameParams, VolumeService, checkForRenamedParams, close, initializeClient };