event-app-api
Version:
Package for easy access to Event App API
19 lines (18 loc) • 2.08 kB
TypeScript
import { LoginResponse, ResetPasswordBody, SendResetPasswordBody } from "../context/types";
import { RegisterManagerInput, ResponseAccountEventsType } from "./types";
export declare const _login: (basePath: string, email: string, password: string) => Promise<LoginResponse>;
export declare const _logout: (basePath: string, token: string) => Promise<Response>;
export declare const _resetPassword: (basePath: string, body: ResetPasswordBody) => Promise<Response>;
export declare const _sendNewPassword: (basePath: string, userId: string, body: SendResetPasswordBody) => Promise<Response>;
export declare const _fetchPaymentAccount: (basePath: string, token: string, paymentAccountId: string) => Promise<any>;
export declare const _fetchPaymentAccounts: (basePath: string, token: string, accountId: string) => Promise<any>;
export declare const _createPaymentAccount: (basePath: string, token: string, data: any) => Promise<any>;
export declare const _updatePaymentAccount: (basePath: string, token: string, paymentAccountId: string, data: any) => Promise<any>;
export declare const _inviteContentManager: (basePath: string, token: string, accountId: string, data: any) => Promise<any>;
export declare const _deleteContentManager: (basePath: string, token: string, accountId: string, profileId: string) => Promise<any>;
export declare const _registerManager: (basePath: string, token: string, accountId: string, data: RegisterManagerInput) => Promise<any>;
export declare const _confirmManager: (basePath: string, token: string, accountId: string, data: any) => Promise<any>;
export declare const _inviteFinanceManager: (basePath: string, token: string, accountId: string, data: any) => Promise<any>;
export declare const _deleteFinanceManager: (basePath: string, token: string, accountId: string, profileId: string) => Promise<any>;
export declare const _deletePaymentAccount: (basePath: string, token: string, paymentAccountId: string) => Promise<any>;
export declare const _fetchAccountEvents: (basePath: string, token: string, url: string) => Promise<ResponseAccountEventsType>;