/** * 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 { DocumentFields } from './DocumentFields'; /** * JSON schema for a search document. * @export * @interface Document */ export interface Document { /** * Type of the search document. These must be lower case per the search spec. * @type {string} * @memberof Document */ type: DocumentTypeEnum; /** * The id of the search document. Currently we are using the Synapse entity id for this. * @type {string} * @memberof Document */ id: string; /** * * @type {DocumentFields} * @memberof Document */ fields?: DocumentFields; } /** * @export */ export declare const DocumentTypeEnum: { readonly add: "add"; readonly delete: "delete"; }; export type DocumentTypeEnum = typeof DocumentTypeEnum[keyof typeof DocumentTypeEnum]; /** * Check if a given object implements the Document interface. */ export declare function instanceOfDocument(value: object): value is Document; export declare function DocumentFromJSON(json: any): Document; export declare function DocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Document; export declare function DocumentToJSON(json: any): Document; export declare function DocumentToJSONTyped(value?: Document | null, ignoreDiscriminator?: boolean): any;