UNPKG

@arc-publishing/sdk-sales

Version:
11 lines (10 loc) 476 B
import { APIErrorResponse } from '@arc-publishing/sdk-subs-core/lib/utils/APIErrorResponse'; export interface ConfigOptions { cancelReasons?: Array<string>; authProviderTypeId: number; checkoutRecaptchaEnabled?: boolean; recaptchaKey?: string; } export declare function isConfigOptions(object: ConfigOptions | APIErrorResponse): object is ConfigOptions; export declare function getConfig(): Promise<ConfigOptions | APIErrorResponse>; export default getConfig;