import { IRepository } from "./IRepository"; import { IModel } from "../common/IModels"; import { IJitzSPContext } from "../jitzSPHttpClient"; export default class Repository implements IRepository { private _listEntityType?; context: IJitzSPContext; listName: string; constructor(context: IJitzSPContext, listName: string); getAll(selectFields?: string, expand?: string, filters?: string, orderBy?: string, top?: number, skipTokenUniqueField?: string, skipTokenUniqueFieldValue?: string): Promise; getAllRecursive(selectFields?: string, expand?: string, filters?: string, orderBy?: string, top?: number, maxRecursiveCount?: number): Promise; private recursiveFetch; itemsCount(filters?: string): any; getItemById(id: number, selectFields?: string, expand?: string): Promise; createItem(item: T): Promise; updateItem(item: T): Promise; deleteItem(id: number): Promise; private getEntityType; }