@finapi/finapi-js-loader
Version:
finAPI JS Loader
22 lines (21 loc) • 1.74 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 DigitalAccountCheckB2bProperties extends ModBaseWidgetProperties, ModProcessctlProperties, ModImportProperties, ModCreditCheckProperties {
}
export type DigitalAccountCheckB2bCallbacks = ModBaseWidgetCallbacks;
export declare class DigitalAccountCheckB2b extends Widget<DigitalAccountCheckB2bProperties, DigitalAccountCheckB2bCallbacks> {
/**
* # Digital account check (B2B)
* Digital account check is a zero
* integration solution that provides digital account analysis and visibility for business accounts.
*
* @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);
}