UNPKG

@vectorize-io/vectorize-client

Version:
62 lines (61 loc) 2.27 kB
/** * Vectorize API * API for Vectorize services (Beta) * * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Configuration for Google Drive (Service Account) connector * @export * @interface GOOGLEDRIVEConfig */ export interface GOOGLEDRIVEConfig { /** * File Extensions * @type {Array<string>} * @memberof GOOGLEDRIVEConfig */ fileExtensions: GOOGLEDRIVEConfigFileExtensionsEnum; /** * Restrict ingest to these folder URLs (optional). Example: Enter Folder URLs. Example: https://drive.google.com/drive/folders/1234aBCd5678_eFgH9012iJKL3456opqr * @type {Array<string>} * @memberof GOOGLEDRIVEConfig */ rootParents?: Array<string>; /** * Polling Interval (seconds). Example: Enter polling interval in seconds * @type {number} * @memberof GOOGLEDRIVEConfig */ idleTime?: number; } /** * @export */ export declare const GOOGLEDRIVEConfigFileExtensionsEnum: { readonly Pdf: "pdf"; readonly Docdocxgdocodtrtfepub: "doc,docx,gdoc,odt,rtf,epub"; readonly Pptpptxgslides: "ppt,pptx,gslides"; readonly Xlsxlsxgsheetsods: "xls,xlsx,gsheets,ods"; readonly Emlmsg: "eml,msg"; readonly Txt: "txt"; readonly Htmlhtm: "html,htm"; readonly Md: "md"; readonly Jpgjpegpngwebpsvggif: "jpg,jpeg,png,webp,svg,gif"; readonly Json: "json"; readonly Csv: "csv"; }; export type GOOGLEDRIVEConfigFileExtensionsEnum = typeof GOOGLEDRIVEConfigFileExtensionsEnum[keyof typeof GOOGLEDRIVEConfigFileExtensionsEnum]; /** * Check if a given object implements the GOOGLEDRIVEConfig interface. */ export declare function instanceOfGOOGLEDRIVEConfig(value: object): value is GOOGLEDRIVEConfig; export declare function GOOGLEDRIVEConfigFromJSON(json: any): GOOGLEDRIVEConfig; export declare function GOOGLEDRIVEConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): GOOGLEDRIVEConfig; export declare function GOOGLEDRIVEConfigToJSON(json: any): GOOGLEDRIVEConfig; export declare function GOOGLEDRIVEConfigToJSONTyped(value?: GOOGLEDRIVEConfig | null, ignoreDiscriminator?: boolean): any;