ggez-banking-sdk
Version:
A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.
29 lines (28 loc) • 1.14 kB
TypeScript
import { CreateDocumentOrganizationInterface, CreateOrganizationInterface, UpdateOrganizationInterface } from "../interfaces/organizationInterface";
import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
export declare const useOrganization: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates | null, lang?: string) => {
CreateOrganization: (values: CreateOrganizationInterface) => Promise<{
response: any;
newUser: any;
message: any;
status: string;
}>;
UpdateOrganization: (values: UpdateOrganizationInterface, organizationId: string) => Promise<{
response: any;
newUser: any;
message: any;
status: string;
}>;
DeleteOrganization: (organizationId: string) => Promise<{
response: any;
newUser: any;
message: any;
status: string;
}>;
CreateDocumentOrganization: (values: CreateDocumentOrganizationInterface, organizationId: string) => Promise<{
response: any;
newUser: any;
message: any;
status: string;
}>;
};