/*********************************************************************************************************************** * 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 AllArgs { [key: string]: unknown; session: SessionInterface; order_id?: number | string | null; product_id?: number | string | null; limit?: unknown; since_id?: unknown; created_at_min?: unknown; created_at_max?: unknown; filter?: unknown; verb?: unknown; fields?: unknown; } interface CountArgs { [key: string]: unknown; session: SessionInterface; created_at_min?: unknown; created_at_max?: unknown; } export declare class Event 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 all({ session, order_id, product_id, limit, since_id, created_at_min, created_at_max, filter, verb, fields, ...otherArgs }: AllArgs): Promise; static count({ session, created_at_min, created_at_max, ...otherArgs }: CountArgs): Promise; arguments: string | null; body: string | null; created_at: string | null; description: string | null; id: number | null; message: string | null; path: string | null; subject_id: number | null; subject_type: string | null; verb: string | null; } export {}; //# sourceMappingURL=event.d.ts.map