/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * 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 { FacetConstraint } from './FacetConstraint'; /** * JSON schema for a continuous or literal value Facet found in the search results. * @export * @interface Facet */ export interface Facet { /** * The name of this facet * @type {string} * @memberof Facet */ name?: string; /** * The type of this facet * @type {string} * @memberof Facet */ type?: FacetTypeEnum; /** * The minimum value of the facet values found, if continuous * @type {number} * @memberof Facet */ min?: number; /** * The maximum value of the facet values found, if continuous * @type {number} * @memberof Facet */ max?: number; /** * The list of constraints for this facet * @type {Array} * @memberof Facet */ constraints?: Array; } /** * @export */ export declare const FacetTypeEnum: { readonly LITERAL: "LITERAL"; readonly DATE: "DATE"; readonly CONTINUOUS: "CONTINUOUS"; }; export type FacetTypeEnum = typeof FacetTypeEnum[keyof typeof FacetTypeEnum]; /** * Check if a given object implements the Facet interface. */ export declare function instanceOfFacet(value: object): value is Facet; export declare function FacetFromJSON(json: any): Facet; export declare function FacetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Facet; export declare function FacetToJSON(json: any): Facet; export declare function FacetToJSONTyped(value?: Facet | null, ignoreDiscriminator?: boolean): any;