/** * Linkbreakers API * This is a documentation of all the APIs of Linkbreakers * * The version of the OpenAPI document: 1.118.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * VisitorAttribute is one key/value pair on a visitor profile. * @export * @interface VisitorAttribute */ export interface VisitorAttribute { /** * * @type {boolean} * @memberof VisitorAttribute */ boolValue?: boolean; /** * * @type {Date} * @memberof VisitorAttribute */ dateValue?: Date; /** * * @type {string} * @memberof VisitorAttribute */ key?: string; /** * Set only when the value parses as a number. Absent when it does not, so a * value that contradicts its type is still readable but not aggregatable. * @type {number} * @memberof VisitorAttribute */ numberValue?: number; /** * VisitorAttributeType is what a value was captured as. It decides how the * value is parsed and which analytics the key can support, which the value * alone cannot tell you: "8" from a rating field and "8" typed into a text box * are different facts. * @type {VisitorAttributeTypeEnum} * @memberof VisitorAttribute */ type?: VisitorAttributeTypeEnum; /** * The raw value as captured. Always populated, whatever the type. * @type {string} * @memberof VisitorAttribute */ value?: string; } /** * @export */ export declare const VisitorAttributeTypeEnum: { readonly VisitorAttributeTypeUnspecified: "VISITOR_ATTRIBUTE_TYPE_UNSPECIFIED"; readonly VisitorAttributeTypeString: "VISITOR_ATTRIBUTE_TYPE_STRING"; readonly VisitorAttributeTypeNumber: "VISITOR_ATTRIBUTE_TYPE_NUMBER"; readonly VisitorAttributeTypeBoolean: "VISITOR_ATTRIBUTE_TYPE_BOOLEAN"; readonly VisitorAttributeTypeDate: "VISITOR_ATTRIBUTE_TYPE_DATE"; readonly VisitorAttributeTypeEnum: "VISITOR_ATTRIBUTE_TYPE_ENUM"; }; export type VisitorAttributeTypeEnum = typeof VisitorAttributeTypeEnum[keyof typeof VisitorAttributeTypeEnum]; /** * Check if a given object implements the VisitorAttribute interface. */ export declare function instanceOfVisitorAttribute(value: object): value is VisitorAttribute; export declare function VisitorAttributeFromJSON(json: any): VisitorAttribute; export declare function VisitorAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): VisitorAttribute; export declare function VisitorAttributeToJSON(json: any): VisitorAttribute; export declare function VisitorAttributeToJSONTyped(value?: VisitorAttribute | null, ignoreDiscriminator?: boolean): any;