/** * SmartyMeet Dev03 API REST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.1 * Contact: developer@smartymeet.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { FinderResultsSchema } from './FinderResultsSchema'; import type { ResourceTimestampsSchema } from './ResourceTimestampsSchema'; /** * * @export * @interface FinderAttributesSchema */ export interface FinderAttributesSchema { /** * The name of the finder search * @type {string} * @memberof FinderAttributesSchema */ name: string; /** * The type of search to perform * @type {FinderAttributesSchemaTypeEnum} * @memberof FinderAttributesSchema */ type: FinderAttributesSchemaTypeEnum; /** * Search query parameters sent to OpenSearch. Shape varies by finder `type` - see FinderQuery{Talents,Candidates,Jobs,Emails}Schema below for the per-type fields. Encoded as a free-form object, NOT a `oneOf`: the per-type shapes all share optional fields (notably `search`), and the type discriminator lives on the sibling `type` field (not inside `query`), so a oneOf cannot disambiguate them and fails deserialization with "Multiple matches". Clients build the dict matching the `type`. * @type {{ [key: string]: any; }} * @memberof FinderAttributesSchema */ query?: { [key: string]: any; }; /** * * @type {FinderResultsSchema} * @memberof FinderAttributesSchema */ results?: FinderResultsSchema; /** * The current status of the finder * @type {FinderAttributesSchemaStatusEnum} * @memberof FinderAttributesSchema */ status?: FinderAttributesSchemaStatusEnum; /** * Language code for the finder (default en) * @type {string} * @memberof FinderAttributesSchema */ languageCode?: string; /** * Additional configuration settings * @type {object} * @memberof FinderAttributesSchema */ settings?: object; /** * Source of the finder creation * @type {string} * @memberof FinderAttributesSchema */ source?: string | null; /** * Unique short identifier * @type {string} * @memberof FinderAttributesSchema */ shortCode?: string; /** * Time-to-live expiration timestamp (ISO 8601) * @type {string} * @memberof FinderAttributesSchema */ ttl?: string | null; /** * * @type {ResourceTimestampsSchema} * @memberof FinderAttributesSchema */ timestamps?: ResourceTimestampsSchema; } /** * @export */ export declare const FinderAttributesSchemaTypeEnum: { readonly Talents: "talents"; readonly Candidates: "candidates"; readonly Jobs: "jobs"; readonly Emails: "emails"; readonly Users: "users"; readonly Reports: "reports"; readonly Briefs: "briefs"; }; export type FinderAttributesSchemaTypeEnum = typeof FinderAttributesSchemaTypeEnum[keyof typeof FinderAttributesSchemaTypeEnum]; /** * @export */ export declare const FinderAttributesSchemaStatusEnum: { readonly Active: "active"; readonly Pending: "pending"; readonly Completed: "completed"; readonly Failed: "failed"; readonly Archived: "archived"; }; export type FinderAttributesSchemaStatusEnum = typeof FinderAttributesSchemaStatusEnum[keyof typeof FinderAttributesSchemaStatusEnum]; /** * Check if a given object implements the FinderAttributesSchema interface. */ export declare function instanceOfFinderAttributesSchema(value: object): value is FinderAttributesSchema; export declare function FinderAttributesSchemaFromJSON(json: any): FinderAttributesSchema; export declare function FinderAttributesSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): FinderAttributesSchema; export declare function FinderAttributesSchemaToJSON(json: any): FinderAttributesSchema; export declare function FinderAttributesSchemaToJSONTyped(value?: FinderAttributesSchema | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=FinderAttributesSchema.d.ts.map