@memori.ai/memori-api-client
Version:
React library to integrate a Memori in your app or website
18 lines (17 loc) • 919 B
TypeScript
import { ResponseSpec, TrustedApplication } from '../types';
declare const _default: (apiUrl: string) => {
createTrustedApplication: (authToken: string, trustedApplication: TrustedApplication) => Promise<ResponseSpec & {
trustedApplication: TrustedApplication;
}>;
getTrustedApplication: (authToken: string, trustedApplicationID: string) => Promise<ResponseSpec & {
trustedApplication: TrustedApplication;
}>;
updateTrustedApplication: (authToken: string, trustedApplicationID: string, trustedApplication: TrustedApplication) => Promise<ResponseSpec & {
trustedApplication: TrustedApplication;
}>;
deleteTrustedApplication: (authToken: string, trustedApplicationID: string) => Promise<ResponseSpec>;
getTrustedApplicationsList: (authToken: string) => Promise<ResponseSpec & {
trustedApplications: TrustedApplication[];
}>;
};
export default _default;