class HelpersServiceimport { HelpersService } from "https://deno.land/x/windmill@v1.256.0/windmill-api/index.ts"; Static MethodsdatasetStorageTestConnection(unnamed 0: { workspace: string; }): CancelablePromise<any>Test connection to the workspace datasets storage deleteS3File(unnamed 0: { workspace: string; fileKey: string; }): CancelablePromise<any>Permanently delete file from S3 duckdbConnectionSettings(unnamed 0: { workspace: string; requestBody: { s3_resource?: S3Resource; }; }): CancelablePromise<{ connection_settings_str?: string; }>Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket duckdbConnectionSettingsV2(unnamed 0: { workspace: string; requestBody: { s3_resource_path?: string; }; }): CancelablePromise<{ connection_settings_str: string; }>Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket generateDownloadUrl(unnamed 0: { workspace: string; fileKey: string; }): CancelablePromise<{ download_url: string; }>Generate a unique URL to download the file listStoredFiles(unnamed 0: { workspace: string; maxKeys: number; marker?: string; }): CancelablePromise<{ next_marker?: string; windmill_large_files: Array<WindmillLargeFile>; restricted_access?: boolean; }>List the file keys available in the workspace files storage (S3) loadFileMetadata(unnamed 0: { workspace: string; fileKey: string; }): CancelablePromise<WindmillFileMetadata>Load metadata of the file loadFilePreview(unnamed 0: { workspace: string; fileKey: string; fileSizeInBytes?: number; fileMimeType?: string; csvSeparator?: string; csvHasHeader?: boolean; readBytesFrom?: number; readBytesLength?: number; }): CancelablePromise<WindmillFilePreview>Load a preview of the file loadParquetPreview(unnamed 0: { workspace: string; path: string; offset?: number; limit?: number; sortCol?: string; sortDesc?: boolean; searchCol?: string; searchTerm?: string; }): CancelablePromise<any>Load a preview of a parquet file moveS3File(unnamed 0: { workspace: string; srcFileKey: string; destFileKey: string; }): CancelablePromise<any>Move a S3 file from one path to the other within the same bucket multipartFileDownload(unnamed 0: { workspace: string; requestBody: { file_key: string; part_number: number; file_size?: number; s3_resource_path?: string; }; }): CancelablePromise<{ file_size?: number; part_content: Array<number>; next_part_number?: number; }>Download file to S3 bucket multipartFileUpload(unnamed 0: { workspace: string; requestBody: { file_key?: string; file_extension?: string; part_content: Array<number>; upload_id?: string; parts: Array<UploadFilePart>; is_final: boolean; cancel_upload: boolean; s3_resource_path?: string; file_expiration?: string; }; }): CancelablePromise<{ upload_id: string; parts: Array<UploadFilePart>; is_done: boolean; file_key: string; }>Upload file to S3 bucket using multipart upload polarsConnectionSettings(unnamed 0: { workspace: string; requestBody: { s3_resource?: S3Resource; }; }): CancelablePromise<{ endpoint_url: string; key?: string; secret?: string; use_ssl: boolean; cache_regions: boolean; client_kwargs: PolarsClientKwargs; }>Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket polarsConnectionSettingsV2(unnamed 0: { workspace: string; requestBody: { s3_resource_path?: string; }; }): CancelablePromise<{ s3fs_args: { endpoint_url: string; key?: string; secret?: string; use_ssl: boolean; cache_regions: boolean; client_kwargs: PolarsClientKwargs; }; storage_options: { aws_endpoint_url: string; aws_access_key_id?: string; aws_secret_access_key?: string; aws_region: string; aws_allow_http: string; }; }>Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket s3ResourceInfo(unnamed 0: { workspace: string; requestBody: { s3_resource_path?: string; }; }): CancelablePromise<S3Resource>Returns the s3 resource associated to the provided path, or the workspace default S3 resource