/** * Agilicus API * Agilicus is API-first. Modern software is controlled by other software, is open, is available for you to use the way you want, securely, simply. The OpenAPI Specification in YAML format is available on [www](https://www.agilicus.com/www/api/agilicus-openapi.yaml) for importing to other tools. A rendered, online viewable and usable version of this specification is available at [api](https://www.agilicus.com/api). You may try the API inline directly in the web page. To do so, first obtain an Authentication Token (the simplest way is to install the Python SDK, and then run `agilicus-cli --issuer https://MYISSUER get-token`). You will need an org-id for most calls (and can obtain from `agilicus-cli --issuer https://MYISSUER list-orgs`). The `MYISSUER` will typically be `auth.MYDOMAIN`, and you will see it as you sign-in to the administrative UI. This API releases on Bearer-Token authentication. To obtain a valid bearer token you will need to Authenticate to an Issuer with OpenID Connect (a superset of OAUTH2). Your \"issuer\" will look like https://auth.MYDOMAIN. For example, when you signed-up, if you said \"use my own domain name\" and assigned a CNAME of cloud.example.com, then your issuer would be https://auth.cloud.example.com. If you selected \"use an Agilicus supplied domain name\", your issuer would look like https://auth.myorg.agilicus.cloud. For test purposes you can use our [Python SDK](https://pypi.org/project/agilicus/) and run `agilicus-cli --issuer https://auth.MYDOMAIN get-token`. This API may be used in any language runtime that supports OpenAPI 3.0, or, you may use our [Python SDK](https://pypi.org/project/agilicus/), our [Typescript SDK](https://www.npmjs.com/package/@agilicus/angular), or our [Golang SDK](https://git.agilicus.com/pub/sdk-go). 100% of the activities in our system our API-driven, from our web-admin, through our progressive web applications, to all internals: there is nothing that is not accessible. For more information, see [developer resources](https://www.agilicus.com/developer). * * The version of the OpenAPI document: 2025.12.16 * Contact: dev@agilicus.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ObjectOperStatus } from './objectOperStatus'; import { FileVisibility } from './fileVisibility'; import { StorageRegion } from './storageRegion'; export interface _ModelFile { /** * Unique identifier */ readonly id?: string; /** * Name of file */ name?: string; /** * A file tag */ tag?: string; /** * A file label */ label?: string; /** * Size in bytes of the file */ readonly size?: number; visibility?: FileVisibility; /** * The location of the file on the internet. If present, this file can be downloaded by requesting this URI. If the file is publically visible, then no credentials need be provided. */ readonly public_url?: string; region?: StorageRegion; /** * Locking prevents the deletion or modification of the file */ lock?: boolean; /** * storage path */ readonly storage_path?: string; /** * MD5 Hash of file in base64 */ readonly md5_hash?: string; /** * Time object was last accessed */ readonly last_accessed?: Date; /** * Creation time */ readonly created?: Date; /** * Update time */ readonly updated?: Date; operstatus?: ObjectOperStatus; /** * Whether the file has ever been associated. This will be set to true if something has ever associated itself with the file. Even if a file no longer has associations, if it once did, this value will be true. This is primarily useful for distinguishing files that shouldn\'t be garbage collected from ones which should not be. */ readonly has_been_associated?: boolean; } export interface ModelFile extends _ModelFile { _builtin_original?: _ModelFile; _remove_builtin_extensions?: () => void; } export declare class ModelFileImpl implements _ModelFile { _builtin_original?: _ModelFile; readonly id: string | undefined; name: string | undefined; tag: string | undefined; label: string | undefined; readonly size: number | undefined; visibility: FileVisibility | undefined; readonly public_url: string | undefined; region: StorageRegion | undefined; lock: boolean | undefined; readonly storage_path: string | undefined; readonly md5_hash: string | undefined; readonly last_accessed: Date | undefined; readonly created: Date | undefined; readonly updated: Date | undefined; operstatus: ObjectOperStatus | undefined; readonly has_been_associated: boolean | undefined; constructor(base: _ModelFile); _remove_builtin_extensions(): void; } export declare function newModelFileImpl(base: _ModelFile): ModelFileImpl;