Creates a new TixteClient instance
Your Tixte API key for authentication
Optionaloptions: { defaultURL?: string }
Optional configuration options
Deletes a file by its ID
The file ID or asset ID to delete
Promise resolving to deletion confirmation
Gets all domains registered by user
Promise resolving to domains information
Gets total uploaded file size of user
Promise resolving to size information
Updates information for an existing file
The file ID or asset ID to update
Object containing the fields to update (name, extension)
Promise resolving to update response with updated file details
Uploads a file to Tixte
The file data as a Uint8Array, ArrayBuffer or Blob
Upload options including extension, filename, and domain
Promise resolving to upload response with file details
Lists uploaded files with pagination
Page number to retrieve (default: 1)
Number of uploads per page (default: 3)
Promise resolving to uploads list with pagination info
Client for interacting with the Tixte API