khatavani-client
Version:
The Backend-Api-Integration package simplifies interaction with the backend API by providing a set of CRUD methods for common endpoints. It abstracts away the complexity of making HTTP requests and handling responses, allowing developers to focus on appli
111 lines (110 loc) • 3.34 kB
TypeScript
import { FileStoreElement } from "./CollectionTypes";
import { CRUDMethods } from "./crud";
/**
*Returns Khatavani Object which has the create ,get,getOne,getAll,put,patch,delete
*
* @return Object of the class CRUDMethods
*/
export declare const Khatavani: () => CRUDMethods;
/**
*Returns Users Object which has the create ,get,getOne,getAll,put,patch,delete
*
* @return Object of the class CRUDMethods
*/
export declare const Users: () => CRUDMethods;
/**
*Returns Resources Object which has the create ,get,getOne,getAll,put,patch,delete
*
* @return Object of the class CRUDMethods
*/
export declare const Resources: () => CRUDMethods;
/**
*Returns Accounts Object which has the create ,get,getOne,getAll,put,patch,delete
*
* @return Object of the class CRUDMethods
*/
export declare const Accounts: () => CRUDMethods;
/**
*Returns Vouchers Object which has the create ,get,getOne,getAll,put,patch,delete
*
* @return Object of the class CRUDMethods
*/
export declare const Vouchers: () => CRUDMethods;
/**
*Returns Transactions Object which has the create ,get,getOne,getAll,put,patch,delete
*
* @return Object of the class CRUDMethods
*/
export declare const Transactions: () => CRUDMethods;
/**
*Returns ResourceGroups Object which has the create ,get,getOne,getAll,put,patch,delete
*
* @return Object of the class CRUDMethods
*/
export declare const ResourceGroups: () => CRUDMethods;
/**
*Returns UserRoles Object which has the create ,get,getOne,getAll,put,patch,delete
*
* @return Object of the class CRUDMethods
*/
export declare const UserRoles: () => CRUDMethods;
/**
*Returns Balance Object which has the create ,get,getOne,getAll,put,patch,delete
*
* @return Object of the class CRUDMethods
*/
export declare const Balance: () => CRUDMethods;
/**
*Returns Files Object which has the create ,get,getOne,getAll,put,patch,delete
*
* @return Object of the class CRUDMethods
*/
export declare const Files: () => CRUDMethods;
/**
*Returns Batch Object which has the create ,get,getOne,getAll,put,patch,delete
*
* @return Object of the class CRUDMethods
*/
export declare const Batch: () => CRUDMethods;
/**
*Returns Serialized Number (autoIncrementId) which has the get
*
* @return Object of the class CRUDMethods
*/
export declare const Serialized: () => CRUDMethods;
/**
*Returns Messages from users which has the get
*
* @return Object of the class CRUDMethods
*/
export declare const Messages: () => CRUDMethods;
/**
*Returns WA_ID from service with timestamp
*
* @return Object of the class CRUDMethods
*/
export declare const WAID: () => CRUDMethods;
/**
*Returns Payment from service with timestamp
*
* @return Object of the class CRUDMethods
*/
export declare const PAYMENT: () => CRUDMethods;
/**
*Returns Markers from service
*
* @return Object of the class CRUDMethods
*/
export declare const Markers: () => CRUDMethods;
/**
*Returns Markers from service
*
* @return Object of the class CRUDMethods
*/
export declare const Packages: () => CRUDMethods;
/**
* @public
* @return {allFiles} it is the promises array .
* @remark it Uploads the Particular file or image to the firebase bucket
*/
export declare const UploadData: (fileStore: FileStoreElement[], authToken: string, khID: string, id: string | number, Public?: boolean) => Promise<any[]>;