export type files_CreateFileInput = { /** * ChannelID is the file channel the item is created in. */ channelID: string; /** * ClientPermissions sets the folder locking permissions for the created file/folder */ clientPermissions?: files_CreateFileInput.clientPermissions; /** * DuplicateBehavior specifies how to handle if a file with the same name already exists at the path. * Defaults to "append" (keep both) when omitted. */ duplicateBehavior?: files_CreateFileInput.duplicateBehavior; /** * FileKey is the S3 object key for an already-uploaded file's binary data. */ fileKey?: string; /** * FileURL is the external link target. Required when creating a link. */ linkUrl?: string; /** * Path is the folder location for the item. Required when creating a folder. */ path?: string; /** * Type is the kind of item to create. Defaults to "file" when omitted on the path. */ type: files_CreateFileInput.type; }; export declare namespace files_CreateFileInput { /** * ClientPermissions sets the folder locking permissions for the created file/folder */ enum clientPermissions { READ_WRITE = "read_write", READ_ONLY = "read_only" } /** * DuplicateBehavior specifies how to handle if a file with the same name already exists at the path. * Defaults to "append" (keep both) when omitted. */ enum duplicateBehavior { APPEND = "append", REPLACE = "replace" } /** * Type is the kind of item to create. Defaults to "file" when omitted on the path. */ enum type { FILE = "file", FOLDER = "folder", LINK = "link" } }