@finapi/finapi-js-loader
Version:
finAPI JS Loader
23 lines (22 loc) • 1.76 kB
TypeScript
import { Widget } from '../Widget';
import { ModBaseWidgetCallbacks, ModBaseWidgetProperties } from '../mods/modBaseWidget';
import { ModCreditCheckProperties } from '../mods/modCreditCheck';
import { ModImportProperties } from '../mods/modImport';
import { ModProcessctlProperties } from '../mods/modProcessctl';
export interface CreditCheckB2BProperties extends ModBaseWidgetProperties, ModProcessctlProperties, ModImportProperties, ModCreditCheckProperties {
}
export type CreditCheckB2BCallbacks = ModBaseWidgetCallbacks;
export declare class CreditCheckB2B extends Widget<CreditCheckB2BProperties, CreditCheckB2BCallbacks> {
/**
* # CreditCheck credit application
* Digital account overview in the loan application. CreditCheck is a zero
* integration solution that provides digital account analysis and visibility
* into the loan application process.
*
* @param container - parent HTML element where the widget will be injected
* @param target - URL of the environment from which the widget's JS bundle will be fetched. Use this, for example, when testing features that are only released to the sandbox environment. By default, `https://widget-library-finapi-general-live.finapi.io` is used.
* @param ownerDocument - parent Document where the widget will be injected. For example, shadow root or document fragment. By default, the default top-level document is used.
* @param customBundleFileName - allows modifying the filename of the widget's JS bundle that will be fetched. This property is useful during dev mode when widgets are generated together into one `main.js` file.
*/
constructor(container: HTMLElement, target?: string, ownerDocument?: Document, customBundleFileName?: string);
}