UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

29 lines (28 loc) 1.68 kB
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 InstallTypes: { readonly landingPage: "landing_page"; readonly cdnNoIframe: "cdn_no_iframe"; readonly cdnInlineIframe: "cdn_inline_iframe"; readonly cdnModalIframe: "cdn_modal_iframe"; }; export type InstallType = (typeof InstallTypes)[keyof typeof InstallTypes]; export declare const getInstallType: () => InstallType | string; export declare const getVerificationHelpUrl: () => string;