import { LicenseEvent } from './licenseEvent'; import { LicensesEventPageSchema, LicensesEventInputSchema } from './licensesEventSchemas'; export declare enum LicensesEventSortDirection { asc = "asc", desc = "desc" } export declare enum LicensesEventInputPaginationField { PAGE = "page", PER_PAGE = "perPage" } export declare type LicensesEventInputPaginationType = { [LicensesEventInputPaginationField.PAGE]?: number; [LicensesEventInputPaginationField.PER_PAGE]?: number; }; export declare enum LicensesEventGetEventsQueryField { ARGS = "__args", EVENTS = "events", PAGINATE = "paginate" } export declare enum LicensesEventGetEventsResponseField { DATA = "__args", EVENTS = "events", PAGINATION = "pagination" } export declare enum LicensesEventDataField { EVENT = "event" } export declare enum LicensesEventPaginationField { CURRENT_PAGE = "currentPage", PER_PAGE = "perPage", TOTAL = "total", TOTAL_PAGE = "totalPage" } export declare type LicensesEventPageType = { [LicensesEventPaginationField.CURRENT_PAGE]?: number; [LicensesEventPaginationField.PER_PAGE]?: number; [LicensesEventPaginationField.TOTAL]?: number; [LicensesEventPaginationField.TOTAL_PAGE]?: number; }; export declare enum LicensesEventInputSortField { ORDER = "order", NAME = "name" } export declare type LicensesEventInputSortType = { [LicensesEventInputSortField.ORDER]?: LicensesEventSortDirection; [LicensesEventInputSortField.NAME]?: string; [LicensesEventInputKeywordByFieldsField.OPERATOR]?: string; }; export declare enum LicensesEventQueryArgumentField { SEARCH_BODY = "searchBody", PAGINATE = "paginate" } export declare enum LicensesEventInputFiltersField { NAMES = "names", VALUES = "values", OPERATOR = "operator" } export declare enum FieldType { NUMBER = "number", BOOLEAN = "boolean", TEXT = "text", DATE = "date" } export declare type LicensesEventInputFiltersType = { [LicensesEventInputFiltersField.NAMES]?: string; [LicensesEventInputFiltersField.VALUES]?: string | string[]; [LicensesEventInputFiltersField.OPERATOR]?: string; }; export declare enum LicensesEventInputKeywordByFieldsField { NAME = "name", VALUES = "values", OPERATOR = "operator", TYPE = "type" } export declare type LicensesEventInputKeywordByFieldsType = { [LicensesEventInputKeywordByFieldsField.NAME]: string; [LicensesEventInputKeywordByFieldsField.VALUES]: string[]; [LicensesEventInputKeywordByFieldsField.OPERATOR]?: string; [LicensesEventInputKeywordByFieldsField.TYPE]?: FieldType; }; export declare enum LicensesEvenInputSearchBodyField { AGGREGATOR_FILTER = "aggregatorFilter", EXCLUSION_FILTERS = "exclusionFilters", FILTERS = "filters", HIGHLIGHT = "highlight", KEYWORD_BY_FIELD = "keywordByFields", KEYWORDS = "keywords", SORT = "sort" } export declare type LicensesEventInputSearchBodyType = { [LicensesEvenInputSearchBodyField.AGGREGATOR_FILTER]?: string[]; [LicensesEvenInputSearchBodyField.EXCLUSION_FILTERS]?: LicensesEventInputFiltersType[]; [LicensesEvenInputSearchBodyField.FILTERS]?: LicensesEventInputFiltersType[]; [LicensesEvenInputSearchBodyField.HIGHLIGHT]?: boolean; [LicensesEvenInputSearchBodyField.KEYWORD_BY_FIELD]?: LicensesEventInputKeywordByFieldsType[]; [LicensesEvenInputSearchBodyField.KEYWORDS]?: string; [LicensesEvenInputSearchBodyField.SORT]?: LicensesEventInputSortType[]; }; export declare type LicensesEventQueryArgumentsType = { [LicensesEventQueryArgumentField.SEARCH_BODY]?: LicensesEventInputSearchBodyType; [LicensesEventQueryArgumentField.PAGINATE]?: LicensesEventInputPaginationType; }; export declare enum LicensesEventQueries { GET_EVENTS = "getEvents" } export declare type LicensesEventGetEventsQueryType = { [LicensesEventQueries.GET_EVENTS]: { [LicensesEventGetEventsQueryField.ARGS]?: LicensesEventQueryArgumentsType; [LicensesEventGetEventsResponseField.EVENTS]: LicensesEventInputSchema; [LicensesEventGetEventsResponseField.PAGINATION]?: LicensesEventPageSchema; }; }; export declare type LicensesEventGetEventsResponseType = { [LicensesEventQueries.GET_EVENTS]?: { [LicensesEventGetEventsQueryField.EVENTS]?: LicensesEventGetEventsResponseDataType[]; [LicensesEventGetEventsResponseField.PAGINATION]?: LicensesEventPageType; }; }; export declare type LicensesEventGetEventsResponseDataType = { [LicensesEventDataField.EVENT]?: LicenseEvent; };