UNPKG

sgnm-neo4j

Version:
172 lines (171 loc) 47.1 kB
import { OnApplicationShutdown, OnModuleInit } from "@nestjs/common"; import { Driver, Result, Transaction, QueryResult, RecordShape } from "neo4j-driver"; import { Neo4jConfig } from "./interfaces/neo4j-config.interface"; import { RelationDirection } from "./constant/relation.direction.enum"; import { queryObjectType } from "./dtos/dtos"; import { SearchType } from "./constant/pagination.enum"; import { otherNodesObjProps } from "./constant/pagination.object.type"; import { IFindMultipleNodesWithFiltersAndId } from "./index"; export declare class Neo4jService implements OnApplicationShutdown, OnModuleInit { private readonly driver; private readonly config; protected serverTimezone: QueryResult<RecordShape>; constructor(config: Neo4jConfig, driver: Driver); getDriver(): Driver; getConfig(): Neo4jConfig; int(value: number): import("neo4j-driver-core/types/integer").default; beginTransaction(database?: string): Transaction; getReadSession(database?: string): import("neo4j-driver-core/types/session").default; getWriteSession(database?: string): import("neo4j-driver-core/types/session").default; private getCurrentDatabase; read(cypher: string, params?: Record<string, any>, databaseOrTransaction?: string | Transaction): Result; write(cypher: string, params?: Record<string, any>, databaseOrTransaction?: string | Transaction): Result; convertStringToDateTime(dateTime: string): import("neo4j-driver").DateTime<number>; convertStringToLocalDateTime(localDateTime: string): import("neo4j-driver").LocalDateTime<number>; onApplicationShutdown(): Promise<void>; getLocalDateTime(localDateTime: string): Promise<import("neo4j-driver").LocalDateTime<number>>; getDateTime(dateTime: string): Promise<import("neo4j-driver").DateTime<number>>; changeObjectChildOfPropToChildren(node: any): Promise<any>; findByIdAndFilters(id: number, labels: string[], filter_properties?: object, excluded_labels?: Array<string>, databaseOrTransaction?: string | Transaction): Promise<any>; findByLabelAndFilters(labels?: Array<string>, filter_properties?: object, excluded_labels?: Array<string>, databaseOrTransaction?: string | Transaction): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; findByOrLabelsAndFilters(or_labels?: Array<string>, filter_properties?: object, databaseOrTransaction?: string | Transaction): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; findByIdAndOrLabelsAndFilters(id: number, or_labels?: Array<string>, filter_properties?: object, databaseOrTransaction?: string | Transaction): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; updateByIdAndFilter(id: number, labels?: string[], filter_properties?: object, update_labels?: Array<string>, update_properties?: object, databaseOrTransaction?: string | Transaction): Promise<any>; updateByLabelAndFilter(labels?: Array<string>, filter_properties?: object, update_labels?: Array<string>, update_properties?: object, databaseOrTransaction?: string | Transaction): Promise<QueryResult<RecordShape<PropertyKey, any>>>; findChildrensByLabelsAsTree(root_labels?: Array<string>, root_filters?: object, children_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<any>; findByLabelAndFiltersWithTreeStructure(root_labels?: Array<string>, root_filters?: object, children_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<{ root: any; }>; findChildrensByIdsAsTree(root_id: number, root_labels?: string[], root_filters?: object, children_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<any>; findByIdAndFiltersWithTreeStructure(root_id: number, root_labels?: string[], root_filters?: object, children_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<{ root: any; }>; getParentByIdAndFilters(id: number, node_labels: string[], node_filters: object, parent_labels: string[], parent_filters: object, relation_name: string, relation_filters: any, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>>; addRelationByLabelsAndFiltersAndRelationName(first_node_labels: Array<string>, first_node_properties: object, second_node_labels: Array<string>, second_node_properties: object, relation_name: string, relation_properties?: object, relation_direction?: RelationDirection, databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByLabelsAsTreeOneLevel(root_labels?: Array<string>, root_filters?: object, children_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<any>; findByLabelAndFiltersWithTreeStructureOneLevel(root_labels?: Array<string>, root_filters?: object, children_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<{ root: any; }>; findChildrensByLabelsOneLevel(root_labels?: Array<string>, root_filters?: object, children_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; findChildrensByIdsAsTreeOneLevel(id: number, root_labels?: string[], root_filters?: object, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<any>; findByIdAndFiltersWithTreeStructureOneLevel(id: number, root_labels?: string[], root_filters?: object, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<{ root: any; }>; updateNodeChildrensByIdAndFilter(id: number, root_labels: string[], root_filters: object, children_labels: Array<string>, children_filters: object, relation_name: string, relation_filters: object, relation_depth: number | "", update_labels?: Array<string>, update_properties?: object, databaseOrTransaction?: string | Transaction): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; findChildrensByLabelsAndNotLabelsAsTreeOneLevel(root_labels?: Array<string>, root_not_labels?: Array<string>, root_filters?: object, children_labels?: Array<string>, children_not_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<any>; findByLabelAndNotLabelAndFiltersWithTreeStructureOneLevel(root_labels?: Array<string>, root_not_labels?: Array<string>, root_filters?: object, children_labels?: Array<string>, children_not_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<{ root: any; }>; createNode(params: object, labels?: string[], databaseOrTransaction?: string | Transaction): Promise<any>; createNodeWithDateAttributes(params: object, dateParamKeys?: string[], dateTimesParamKeys?: string[], labels?: string[], databaseOrTransaction?: string | Transaction): Promise<any>; deleteRelationByIdAndRelationNameWithFilters(first_node_id: number, first_node_labels: string[], first_node_filters: object, second_node_id: number, second_node_labels: string[], second_node_filters: object, relation_name: string, relation_direction?: RelationDirection, databaseOrTransaction?: string | Transaction): Promise<any>; deleteRelationByIdAndRelationNameWithoutFilters(first_node_id: number, first_node_labels: string[], second_node_id: number, second_node_labels: string[], relation_name: string, relation_direction?: RelationDirection, databaseOrTransaction?: string | Transaction): Promise<any>; copySubGrapFromOneNodeToAnotherById(root_id: number, target_root_id: number, relation_name: string, databaseOrTransaction?: string | Transaction): Promise<void>; findChildrensByIdAndFilters(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, relation_name: string, relation_filters: object, relation_depth: number | "", reverseRelation?: boolean, databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByIdAndDateFilters(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, relation_name: string, relation_filters: object, relation_depth: number | "", reverseRelation?: boolean, databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByIdAndFiltersAndRelationArray(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, relation_names: string[], relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByIdAndFiltersTotalCount(root_id: number, root_labels: string[], root_filters: object, children_labels: Array<string>, children_filters: object, relation_name: string, relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByIdAndFiltersAndRelationArrayTotalCount(root_id: number, root_labels: string[], root_filters: object, children_labels: Array<string>, children_filters: object, relation_names: string[], relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByLabelsAndFilters(root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, relation_name: string, relation_filters: object, relation_depth: number | "", reverseRelationDirection?: boolean, databaseOrTransaction?: string | Transaction): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; findChildrensByLabelsAndDateFilters(root_labels: string[], root_filters: object, root_date_filters: { [key: string]: { value: any; comparisonOperator: string; }; }, children_labels: string[], children_filters: object, children_date_filters: { [key: string]: { value: any; comparisonOperator: string; }; }, relation_name: string, relation_filters: object, relation_depth: number | "", reverseRelationDirection?: boolean, databaseOrTransaction?: string | Transaction): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; findChildrensByLabelsAndFiltersAndRelationArray(root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, relation_names: string[], relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; addRelationByIdWithRelationNameAndFilters(first_node_id: number, first_node_labels: string[], first_node_filters: object, second_node_id: number, second_node_labels: string[], second_node_filters: object, relation_name: string, relation_properties?: object, relation_direction?: RelationDirection, databaseOrTransaction?: string | Transaction): Promise<QueryResult<RecordShape<PropertyKey, any>>>; addRelations(first_node_id: number, second_node_id: number, databaseOrTransaction?: string | Transaction): Promise<QueryResult<RecordShape<PropertyKey, any>>>; updateRelationByIdWithRelationNameAndFilters(first_node_id: number, first_node_labels: string[], first_node_filters: object, second_node_id: number, second_node_labels: string[], second_node_filters: object, relation_name: string, relation_properties?: object, relation_update_properties?: object, relation_direction?: RelationDirection, databaseOrTransaction?: string | Transaction): Promise<QueryResult<RecordShape<PropertyKey, any>>>; updateRelationByIdWithRelationNameAndFiltersAndRelationArray(first_node_id: number, first_node_labels: string[], first_node_filters: object, second_node_id: number, second_node_labels: string[], second_node_filters: object, relation_names: string[], relation_properties?: object, relation_update_properties?: object, relation_direction?: RelationDirection, databaseOrTransaction?: string | Transaction): Promise<QueryResult<RecordShape<PropertyKey, any>>>; findChildrensByIdAndNotLabels(root_id: number, root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_excluded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByLabelAndNotLabels(root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_excluded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; findAllRelationsById(root_id: number, root_labels: string[], root_filters: object, children_labels: Array<string>, children_filters: object, relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; findAllRelationsByLabels(root_labels: Array<string>, root_filters: object, children_labels: Array<string>, children_filters: object, relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; findRelationByLabelAndNodeLabels(root_labels: Array<string>, root_filters: object, children_labels: Array<string>, children_filters: object, relation_or_names: Array<string>, relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByLabelsAndNotLabelsAsTree(root_labels?: Array<string>, root_not_labels?: Array<string>, root_filters?: object, children_labels?: Array<string>, children_not_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<any>; findByLabelAndNotLabelAndFiltersWithTreeStructure(root_labels?: Array<string>, root_not_labels?: Array<string>, root_filters?: object, children_labels?: Array<string>, children_not_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<{ root: any; }>; findChildrensByIdAndFiltersWithPagination(root_id: number, root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersAndRelationArrayWithPagination(root_id: number, root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], relation_names: string[], relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, databaseOrTransaction?: string): Promise<any>; findChildrensAndParentOfChildrenByIdAndFilter(root_id: number, root_labels: string[], root_filters: object, children_labels: Array<string>, children_filters: object, relation_name1: string, parentof_children_labels: Array<string>, parentof_children_filters: object, relation_name2: string, queryObject: queryObjectType, databaseOrTransaction?: string): Promise<any>; findChildrenByIdOrFiltersWithPaginationAndSearchString(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, searchString: string, databaseOrTransaction?: string): Promise<any>; getTreeStructureOfChildrenWithOrFilterBySearchString(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, searchString: string, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersWithPaginationAndSearcString(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, searchString: string, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersWithPaginationAndSearchStringWithCount(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, searchString: string, isCount?: boolean, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersWithPaginationAndSearcStringAndRelationArray(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_names: string[], relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, searchString: string, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersAndSearchStringsTotalCount(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", search_string: string, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersAndSearchStringsAndRelationArrayTotalCount(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_names: string[], relation_filters: object, relation_depth: number | "", search_string: string, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersWithPaginationAndSearcStringBySpecificColumn(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, searchColumn: string, searchString: string, search_type?: SearchType, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersAndRelationArrayWithPaginationAndSearcStringBySpecificColumn(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_names: string[], relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, searchColumn: string, searchString: string, search_type?: SearchType, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersBySearcStringBySpecificColumnTotalCount(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", search_column: string, search_string: string, search_type?: SearchType, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersAndRelationArrayBySearcStringBySpecificColumnTotalCount(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_names: string[], relation_filters: object, relation_depth: number | "", search_column: string, search_string: string, search_type?: SearchType, databaseOrTransaction?: string): Promise<any>; findMainNodesRelationsWithFilters(rootLabels: string[], rootFilters: object, mainNodeLabels: string[], mainNodeFilters: object, otherNodesProps: otherNodesObjProps[], queryObject: queryObjectType, databaseOrTransaction?: any): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; findTotalCountsOfMainNodesRelationsWithFilters(rootLabels: string[], rootFilters: object, mainNodeLabels: string[], mainNodeFilters: object, otherNodesProps: otherNodesObjProps[], databaseOrTransaction?: any): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; getNodeRelationsArray(root_labels?: Array<string>, root_filters?: object, child_labels?: Array<string>, children_filters?: object, children_excluded_labels?: Array<string>, relation_direction?: RelationDirection): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; relationArray(data: string[]): Promise<string>; getParentByIdAndFiltersWithExcludedLabels(id: number, node_labels: string[], node_filters: object, parent_labels: string[], parent_filters: object, parent_excluded_labels: string[], relation_name: string, relation_filters: any, relation_depth?: number | "", databaseOrTransaction?: string): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; findChildrensByParentIdAndOrChildrenLabelsAsTree(root_id: number, root_labels?: string[], root_filters?: object, children_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByParentIdAndOrChildrenLabelsWithTreeStructure(root_id: number, root_labels?: string[], root_filters?: object, children_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<{ root: any; }>; findChildrensByIdAndOrChildrenLabelsFiltersWithPaginationAndSearcString(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, searchString: string, databaseOrTransaction?: string): Promise<any>; findChildrensByLabelsAndNotLabelsAndOrChildrenLabelsAsTree(root_labels?: Array<string>, root_not_labels?: Array<string>, root_filters?: object, children_labels?: Array<string>, children_not_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByIdAndChildrenOrLabels(root_id: number, root_labels: string[], root_filters: object, children_labels: Array<string>, children_filters: object, children_or_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", isReverseDirection?: boolean, databaseOrTransaction?: string | Transaction): Promise<any>; findByLabelAndNotLabelAndOrChildrenLabelsAndFiltersWithTreeStructure(root_labels?: Array<string>, root_not_labels?: Array<string>, root_filters?: object, children_labels?: Array<string>, children_not_labels?: Array<string>, children_filters?: object, databaseOrTransaction?: string | Transaction): Promise<{ root: any; }>; delete(id: number, databaseOrTransaction?: string | Transaction): Promise<QueryResult<RecordShape<PropertyKey, any>>>; findChildrensByIdsAndFiltersWithPaginationAndSearcStringBySpecificColumn(root_ids: number[], root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, searchColumn: string, searchString: string, search_type?: SearchType, databaseOrTransaction?: string): Promise<any>; getParentByIdsLabelsAndFiltersWithExcludedLabels(idsLabels: object[], node_filters: object, parent_labels: string[], parent_filters: object, parent_excluded_labels: string[], relation_name: string, relation_filters: any, relation_depth?: number | "", databaseOrTransaction?: string): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; findChildrensByIdAndNotLabelsAndChildrenIdsAndLabels(root_id: number, root_labels: string[], root_filters: object, root_exculuded_labels: string[], idsLabels: object[], children_filters: object, children_excluded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByIdAndNotLabelsAndChildrenIds(root_id: number, root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_excluded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", childrenIds: any, databaseOrTransaction?: string | Transaction): Promise<any>; findChildOfParentByParentIdAndChildIdWithFilters(root_id: number, root_labels: string[], root_filters: object, child_id: number, child_labels: string[], child_filters: object, relation_name: string, relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; findChildOfParentByParentIdAndChildIdWithFiltersAndRelationArray(root_id: number, root_labels: string[], root_filters: object, child_id: number, child_labels: string[], child_filters: object, relation_names: string[], relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; sortByParentIdAndChildrenFiltersWithCreatedAtOrUpdatedAt(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, relation_name: string, relation_filters: object, relation_depth: number | "", sortProperty: "createdAt" | "updatedAt", afterThisDate: string, beforeThisDate?: string, orderBy?: "DESC" | "ASC", databaseOrTransaction?: string | Transaction): Promise<any>; sortByParentFiltersAndChildrenFiltersWithCreatedAtOrUpdatedAt(root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, relation_name: string, relation_filters: object, relation_depth: number | "", sortProperty: "createdAt" | "updatedAt", afterThisDate: string, beforeThisDate?: string, orderBy?: "DESC" | "ASC", databaseOrTransaction?: string | Transaction): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; sortCondition(sortProperty: "createdAt" | "updatedAt", beforeThisDate?: string, afterThisDate?: string): Promise<string>; getCountOfNodesByLabelsAndFilters(root_labels?: string[], root_filters?: object, children_labels?: string[], children_filters?: object, relation_name?: string, relation_filters?: object, databaseOrTransaction?: string | Transaction): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; findChildrensByIdAndNotLabelsAndOrChildrenLabels(root_id: number, root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_excluded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByLabelAndFiltersWithPagination(root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, databaseOrTransaction?: string): Promise<any>; findParentsOfChildrenByIdAndFilters(root_filters: object, children_id: string, children_labels: string[], children_filters: object, relation_name: string, relation_filters?: object): Promise<any[]>; findChildrensByIdWithLimitedChilderenIdsAndFiltersWithPaginationAndSearcStringBySpecificColumn(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, searchColumn: string, searchString: string, search_type: SearchType, idArray: number[], databaseOrTransaction?: string): Promise<any>; findChildrensByIdWithLimitedChilderenIdsAndFiltersWithPaginationAndSearcString(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, searchString: string, idArray: number[], databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersWithLimitedChilderenIdsBySearcStringBySpecificColumnTotalCount(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", search_column: string, search_string: string, search_type: SearchType, idArray: number[], databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersWithLimitedChilderenIdsAndSearchStringsTotalCount(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", search_string: string, idArray: number[], databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndChildOrLabelWithLimitedChilderenIdsAndFiltersWithPaginationAndSearcString(root_id: number, root_labels: string[], root_filters: object, children_labels: Array<string>, children_filters: object, children_or_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, searchString: string, idArray: number[], databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndChildOrLabelWithLimitedChilderenIdsAndFiltersWithPaginationAndSearcStringTotalCount(root_id: number, root_labels: string[], root_filters: object, children_labels: Array<string>, children_filters: object, children_or_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", searchString: string, idArray: number[], databaseOrTransaction?: string): Promise<any>; findByIdAndFiltersWithoutError(id: number, labels: string[], filter_properties?: object, excluded_labels?: Array<string>, databaseOrTransaction?: string | Transaction): Promise<any>; getWintegrationHistory(root_id: string, root_labels: string[], root_filters: object, child_id: string, children_labels: string[], children_filters: object, excluted_relation_name: string, relation_filters?: object, sortProperty?: "createdAt" | "updatedAt", orderBy?: "DESC" | "ASC"): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; getWintegrationHistoryV2(root_id: string, root_labels: string[], root_filters: object, child_id: string, children_labels: string[], children_filters: object, excluted_relation_name: string, relation_filters?: object, sortProperty?: "createdAt" | "updatedAt", orderBy?: "DESC" | "ASC"): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; findChildrensByIdAndFiltersWithChildrenOfChildrensCriteriaAndPagination(main_root_id: string, main_root_labels: string[], main_root_filters: object, main_relation_name: string, main_relation_filters: object, main_relation_depth: number | "", root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], children_children_labels: Array<string>, children_children_filters: object, children_children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", relation_name_child: string, relation_filters_child: object, relation_depth_child: number | "", queryObject: queryObjectType, isCount?: boolean, databaseOrTransaction?: string): Promise<any>; findChildrensByLabelAndFiltersWithChildrenOfChildrensCriteriaAndPagination(root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], children_children_labels: Array<string>, children_children_filters: object, children_children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", relation_name_child: string, relation_filters_child: object, relation_depth_child: number | "", queryObject: queryObjectType, isCount?: boolean, databaseOrTransaction?: string): Promise<any>; findChildrensByLabelAndFiltersWithChildrenOfChildrensCriteria4AndPagination(root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], children_children_labels: Array<string>, children_children_filters: object, children_children_exculuded_labels: string[], children_children_children_labels: Array<string>, children_children_children_filters: object, children_children_children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", relation_name_child: string, relation_filters_child: object, relation_depth_child: number | "", relation_name_child_child: string, relation_filters_child_child: object, relation_depth_child_child: number | "", queryObject: queryObjectType, isCount?: boolean, databaseOrTransaction?: string): Promise<any>; findMultipleNodesWithFiltersAndId(nodes: IFindMultipleNodesWithFiltersAndId[]): Promise<import("neo4j-driver-core/types/record").default<RecordShape<PropertyKey, any>, PropertyKey, RecordShape<PropertyKey, number>>[]>; findChildrensByIdAndFiltersWithChildrenOfChildrensCriteria4AndPagination(main_root_id: string, main_root_labels: string[], main_root_filters: object, main_relation_name: string, main_relation_filters: object, main_relation_depth: number | "", root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], children_children_labels: Array<string>, children_children_filters: object, children_children_exculuded_labels: string[], children_children_children_labels: Array<string>, children_children_children_filters: object, children_children_children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", relation_name_child: string, relation_filters_child: object, relation_depth_child: number | "", relation_name_child_child: string, relation_filters_child_child: object, relation_depth_child_child: number | "", queryObject: queryObjectType, isCount?: boolean, databaseOrTransaction?: string): Promise<any>; findChildrensByLabelAndFiltersWithChildrenOfChildrensCriteria(root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], children_children_labels: Array<string>, children_children_filters: object, children_children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", relation_name_child: string, relation_filters_child: object, relation_depth_child: number | "", queryObject: queryObjectType, databaseOrTransaction?: string): Promise<any>; findChildrensByLabelAndFiltersWithChildrenOfChildrensCriteria4(root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], children_children_labels: Array<string>, children_children_filters: object, children_children_exculuded_labels: string[], children_children_children_labels: Array<string>, children_children_children_filters: object, children_children_children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", relation_name_child: string, relation_filters_child: object, relation_depth_child: number | "", relation_name_child_child: string, relation_filters_child_child: object, relation_depth_child_child: number | "", queryObject: queryObjectType, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersWithChildrenOfChildrensCriteria4(root_id: string, root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], children_children_labels: Array<string>, children_children_filters: object, children_children_exculuded_labels: string[], children_children_children_labels: Array<string>, children_children_children_filters: object, children_children_children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", relation_name_child: string, relation_filters_child: object, relation_depth_child: number | "", relation_name_child_child: string, relation_filters_child_child: object, relation_depth_child_child: number | "", queryObject: queryObjectType, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersWithChildrenOfChildrensCriteria5(main_root_id: string, main_root_labels: string[], main_root_filters: object, main_relation_name: string, main_relation_filters: object, main_relation_depth: number | "", root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], children_children_labels: Array<string>, children_children_filters: object, children_children_exculuded_labels: string[], children_children_children_labels: Array<string>, children_children_children_filters: object, children_children_children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", relation_name_child: string, relation_filters_child: object, relation_depth_child: number | "", relation_name_child_child: string, relation_filters_child_child: object, relation_depth_child_child: number | "", queryObject: queryObjectType, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndByChildrenIdAndFilters(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, relation_name: string, relation_filters: object, relation_depth: number | "", children_id: string, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersWithChildrenOfChildrensCriteria(main_root_id: string, main_root_labels: string[], main_root_filters: object, main_relation_name: string, main_relation_filters: object, main_relation_depth: number | "", root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], children_children_labels: Array<string>, children_children_filters: object, children_children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", relation_name_child: string, relation_filters_child: object, relation_depth_child: number | "", queryObject: queryObjectType, databaseOrTransaction?: string): Promise<any>; updateRelationByIdWithRelationNameAndWithNoRelationCreationFilters(first_node_id: number, first_node_labels: string[], first_node_filters: object, second_node_id: number, second_node_labels: string[], second_node_filters: object, relation_name: string, relation_properties?: object, relation_update_properties?: object, relation_direction?: RelationDirection, databaseOrTransaction?: string | Transaction): Promise<QueryResult<RecordShape<PropertyKey, any>> | "relation not found">; findChildrensByIdAndFiltersWithChildrenOfChildrens3Criteria(main_root_id: number, main_root_labels: string[], main_root_filters: object, main_relation_name: string, main_relation_filters: object, main_relation_depth: number | "", root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", isCount?: boolean, databaseOrTransaction?: string): Promise<any>; findChildrensByLabelAndFiltersWithChildrenOfChildrens3Criteria(root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", isCount?: boolean, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersWithChildrenOfChildrens3CriteriaPagination(main_root_id: number, main_root_labels: string[], main_root_filters: object, main_relation_name: string, main_relation_filters: object, main_relation_depth: number | "", root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, isCount?: boolean, databaseOrTransaction?: string): Promise<any>; findChildrensByLabelAndFiltersWithChildrenOfChildrens3CriteriaPagination(root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", queryObject: queryObjectType, isCount?: boolean, databaseOrTransaction?: string): Promise<any>; updateRelationByIdAndLabelWithRelationNameAndWithNoRelationCreationFilters(first_node_id: number, first_node_labels: string[], first_node_filters: object, second_node_labels: string[], second_node_filters: object, relation_name: string, relation_properties?: object, relation_update_properties?: object, relation_direction?: RelationDirection, databaseOrTransaction?: string | Transaction): Promise<QueryResult<RecordShape<PropertyKey, any>>>; findChildrensByLabelAndFiltersWithChildrenOfChildrensCriteria4_v2(neo4jService: any, root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], children_children_labels: Array<string>, children_children_filters: object, children_children_exculuded_labels: string[], children_children_children_labels: Array<string>, children_children_children_filters: object, children_children_children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", reverseRelation: boolean, relation_name_child: string, relation_filters_child: object, relation_depth_child: number | "", reverseRelation_child: boolean, relation_name_child_child: string, relation_filters_child_child: object, relation_depth_child_child: number | "", reverseRelation_child_child?: boolean, databaseOrTransaction?: string): Promise<any>; findChildrensByIdAndFiltersWithChildrenOfChildrens3Criteria_V2(main_root_id: number, main_root_labels: string[], main_root_filters: object, main_relation_name: string, main_relation_filters: object, main_relation_depth: number | "", mainReverseRelation: boolean, root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_depth: number | "", reverseRelation?: boolean, databaseOrTransaction?: string): Promise<any>; findChildrensByLabelAndFiltersWithChildrenOfChildrensCriteria4AndPaginationUnion(root_labels: string[], root_filters: object, root_exculuded_labels: string[], children_labels: Array<string>, children_filters: object, children_exculuded_labels: string[], children_children_labels: Array<string>, children_children_filters: object, children_children_exculuded_labels: string[], children_children_children_labels: Array<string>, children_children_children_filters: object, children_children_children_exculuded_labels: string[], relation_name: string, relation_filters: object, relation_filters_union: object, relation_depth: number | "", relation_name_child: string, relation_filters_child: object, relation_depth_child: number | "", relation_name_child_child: string, relation_filters_child_child: object, relation_depth_child_child: number | "", queryObject: queryObjectType, isCount?: boolean, databaseOrTransaction?: string): Promise<any>; onModuleInit(): Promise<void>; get timezone(): any; findChildrensByIdAndFiltersAndRelationArrayWithoutError(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, relation_names: string[], relation_filters: object, relation_depth: number | "", databaseOrTransaction?: string | Transaction): Promise<any>; findChildrensByIdAndFiltersWithoutError(root_id: number, root_labels: string[], root_filters: object, children_labels: string[], children_filters: object, relation_name: string, relation_filters: object, relation_depth: number | "", reverseRelation?: boolean, databaseOrTransaction?: string | Transaction): Promise<any>; }