import type { AnimationEntity } from '../models/AnimationEntity'; import type { CreateAnimationDto } from '../models/CreateAnimationDto'; import type { PaginatedResponseOfAnimationEntity } from '../models/PaginatedResponseOfAnimationEntity'; import type { UpdateAnimationDto } from '../models/UpdateAnimationDto'; import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class Animations { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); /** * Create an animation * Create an animation. ADMIN ONLY. * @returns AnimationEntity Successfully created animation * @throws ApiError */ create({ orgname, requestBody, }: { orgname: string; requestBody: CreateAnimationDto; }): CancelablePromise; /** * Get all animations * Get all animations. ADMIN ONLY. * @returns PaginatedResponseOfAnimationEntity Successfully returned paginated results * @throws ApiError */ findAll({ orgname, limit, offset, sortBy, sortDirection, searchTerm, startDate, endDate, }: { orgname: string; /** * The limit of the number of results returned */ limit?: number; /** * The offset of the returned results */ offset?: number; /** * The field to sort the results by */ sortBy?: 'createdAt' | 'name'; /** * The direction to sort the results by */ sortDirection?: 'asc' | 'desc'; /** * Search term */ searchTerm?: string; /** * The start date to search from */ startDate?: string; /** * The end date to search to */ endDate?: string; }): CancelablePromise; /** * Get a animation * Get a animation. ADMIN ONLY. * @returns AnimationEntity Successfully returned animation * @throws ApiError */ findOne({ orgname, animationId, }: { orgname: string; animationId: string; }): CancelablePromise; /** * Update a animation * Update a animation. ADMIN ONLY. * @returns AnimationEntity Successfully updated animation * @throws ApiError */ update({ orgname, animationId, requestBody, }: { orgname: string; animationId: string; requestBody: UpdateAnimationDto; }): CancelablePromise; /** * Delete a animation * Delete a animation. ADMIN ONLY. * @returns any Successfully deleted animation * @throws ApiError */ remove({ orgname, animationId, }: { orgname: string; animationId: string; }): CancelablePromise; }