@arc-publishing/sdk-sales
Version:
JS Sales SDK for working with Arc Subs Sales API
11 lines (10 loc) • 476 B
TypeScript
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;