@flagship.io/js-sdk
Version:
16 lines (15 loc) • 632 B
TypeScript
import { HitAbstract, IHitAbstract } from './HitAbstract';
export declare const ERROR_MESSAGE = "documentLocation url is required";
export interface IPage extends IHitAbstract {
documentLocation: string;
}
export declare class Page extends HitAbstract implements IPage {
private _documentLocation;
get documentLocation(): string;
set documentLocation(v: string);
constructor(page: Omit<IPage, 'type' | 'createdAt' | 'visitorInstanceId' | 'traffic'>);
isReady(checkParent?: boolean): boolean;
toApiKeys(): Record<string, unknown>;
toObject(): Record<string, unknown>;
getErrorMessage(): string;
}