@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
23 lines (21 loc) • 1.37 kB
TypeScript
import { RewardDisplayEnum } from '../types/runtimeTypes';
import { DatabaseId, Locale, VerificationStep } from '../types/types';
export declare const getVerificationUrl: () => string;
export declare const getVerificationStatusUrl: (verificationId: DatabaseId) => string;
export declare const getNewVerificationRequestUrl: () => string;
export declare const getProgramThemeUrl: (programId: DatabaseId, locale?: Locale) => string;
export declare const getNewSmsCodeResendUrl: (verificationId: DatabaseId) => string;
export declare const getNewEmailCodeResendUrl: (verificationId: DatabaseId) => string;
export declare const getFieldsToCollectUrl: (verificationId: DatabaseId, stepName: VerificationStep) => string;
export declare const getDocTypeForCountriesUrl: (verificationId: DatabaseId, countries: string[]) => string;
export declare const getBarcodeUrl: (verificationId: DatabaseId, rewardKey: string, symbology: RewardDisplayEnum) => string;
/**
* Get the version that was actually used
* The build process replaces this with the value.
* e.g. 1.59.0 or 1.46.0-alpha.575
*/
export declare const getPublishedVersion: () => string;
export declare const getCurrentUrl: () => string;
export declare const getInstallPageUrl: () => string | undefined;
export declare const getInstallType: () => string;
export declare const getVerificationHelpUrl: () => string;