UNPKG

@alloyidentity/web-sdk

Version:

Alloy Web Document SDK

14 lines (13 loc) 787 B
declare type AuthInitResponse = { access_token: string; }; declare const fetchAuthInit: (id: string) => Promise<AuthInitResponse>; declare const fetchPublicInfo: (key: string, accessToken: string) => Promise<{ services: any; }>; declare 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 | undefined, externalEntityId?: string | undefined, production?: boolean) => Promise<unknown>; export { fetchAuthInit, fetchPublicInfo, generateJourneyApplication, generateEvaluation, };