/** * Lead Scraping Service API * Vector Lead Scraping Service API - Manages Lead Scraping Jobs * * The version of the OpenAPI document: 1.0 * Contact: yoanyomba@vector.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * SavedSearch represents a saved lead search configuration. * It stores filter and sort preferences for quick re-execution. * * Key features: * - Named searches for easy identification * - JSON storage of filter and sort options * - Usage tracking for analytics * - Multi-tenant support * * Database considerations: * - Uses JSONB for flexible filter storage * - Soft delete support * - Indexed for efficient workspace queries * * Usage example: * ```go * savedSearch := &SavedSearch{ * Name: "High-rated SF restaurants", * Description: "Restaurants in San Francisco with 4+ stars", * WorkspaceId: 123, * AccountId: 456, * } * ``` * @export * @interface SavedSearch */ export interface SavedSearch { /** * * @type {string} * @memberof SavedSearch */ id?: string; /** * * @type {string} * @memberof SavedSearch */ name?: string; /** * * @type {string} * @memberof SavedSearch */ description?: string; /** * * @type {string} * @memberof SavedSearch */ filtersJson?: string; /** * * @type {string} * @memberof SavedSearch */ sortOptionJson?: string; /** * * @type {string} * @memberof SavedSearch */ workspaceId?: string; /** * * @type {string} * @memberof SavedSearch */ accountId?: string; /** * * @type {number} * @memberof SavedSearch */ executionCount?: number; /** * * @type {Date} * @memberof SavedSearch */ lastExecutedAt?: Date; /** * * @type {Date} * @memberof SavedSearch */ createdAt?: Date; /** * * @type {Date} * @memberof SavedSearch */ updatedAt?: Date; /** * * @type {Date} * @memberof SavedSearch */ deletedAt?: Date; } /** * Check if a given object implements the SavedSearch interface. */ export declare function instanceOfSavedSearch(value: object): value is SavedSearch; export declare function SavedSearchFromJSON(json: any): SavedSearch; export declare function SavedSearchFromJSONTyped(json: any, ignoreDiscriminator: boolean): SavedSearch; export declare function SavedSearchToJSON(json: any): SavedSearch; export declare function SavedSearchToJSONTyped(value?: SavedSearch | null, ignoreDiscriminator?: boolean): any;