@alloyidentity/web-sdk
Version:
Alloy Web Document SDK
14 lines (13 loc) • 734 B
TypeScript
type AuthInitResponse = {
access_token: string;
};
declare const fetchAuthInit: (id: string) => Promise<AuthInitResponse>;
declare const fetchPublicInfo: (key: string, accessToken: string) => Promise<{
services: any;
}>;
type JourneyApplicationResponse = {
journey_application_token: string;
};
declare const generateJourneyApplication: (journeyToken: string, accessToken: string, journeyData: any, production?: boolean) => Promise<JourneyApplicationResponse>;
declare const generateEvaluation: (accessToken: string, evaluationData: any, entityToken?: string, externalEntityId?: string, production?: boolean) => Promise<unknown>;
export { fetchAuthInit, fetchPublicInfo, generateJourneyApplication, generateEvaluation, };