/*********************************************************************************************************************** * This file is auto-generated. If you have an issue, please create a GitHub issue. * ***********************************************************************************************************************/ import Base, { ResourcePath } from '../../base-rest-resource'; import { SessionInterface } from '../../auth/session/types'; import { ApiVersion } from '../../base-types'; interface FindArgs { session: SessionInterface; id: number | string; fields?: unknown; } interface DeleteArgs { session: SessionInterface; id: number | string; } interface AllArgs { [key: string]: unknown; session: SessionInterface; limit?: unknown; since_id?: unknown; path?: unknown; target?: unknown; fields?: unknown; } interface CountArgs { [key: string]: unknown; session: SessionInterface; path?: unknown; target?: unknown; } export declare class Redirect extends Base { static API_VERSION: ApiVersion; protected static NAME: string; protected static PLURAL_NAME: string; protected static HAS_ONE: { [key: string]: typeof Base; }; protected static HAS_MANY: { [key: string]: typeof Base; }; protected static PATHS: ResourcePath[]; static find({ session, id, fields }: FindArgs): Promise; static delete({ session, id }: DeleteArgs): Promise; static all({ session, limit, since_id, path, target, fields, ...otherArgs }: AllArgs): Promise; static count({ session, path, target, ...otherArgs }: CountArgs): Promise; id: number | null; path: string | null; target: string | null; } export {}; //# sourceMappingURL=redirect.d.ts.map