@vectorize-io/vectorize-client
Version:
Client for the Vectorize API
80 lines (79 loc) • 2.37 kB
TypeScript
/**
* 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 Amazon S3 connector
* @export
* @interface AWSS3Config
*/
export interface AWSS3Config {
/**
* File Extensions
* @type {Array<string>}
* @memberof AWSS3Config
*/
fileExtensions: AWSS3ConfigFileExtensionsEnum;
/**
* Check for updates every (seconds)
* @type {number}
* @memberof AWSS3Config
*/
idleTime: number;
/**
* Recursively scan all folders in the bucket
* @type {boolean}
* @memberof AWSS3Config
*/
recursive?: boolean;
/**
* Path Prefix
* @type {string}
* @memberof AWSS3Config
*/
pathPrefix?: string;
/**
* Path Metadata Regex
* @type {string}
* @memberof AWSS3Config
*/
pathMetadataRegex?: string;
/**
* Path Regex Group Names. Example: Enter Group Name
* @type {Array<string>}
* @memberof AWSS3Config
*/
pathRegexGroupNames?: Array<string>;
}
/**
* @export
*/
export declare const AWSS3ConfigFileExtensionsEnum: {
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 AWSS3ConfigFileExtensionsEnum = typeof AWSS3ConfigFileExtensionsEnum[keyof typeof AWSS3ConfigFileExtensionsEnum];
/**
* Check if a given object implements the AWSS3Config interface.
*/
export declare function instanceOfAWSS3Config(value: object): value is AWSS3Config;
export declare function AWSS3ConfigFromJSON(json: any): AWSS3Config;
export declare function AWSS3ConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): AWSS3Config;
export declare function AWSS3ConfigToJSON(json: any): AWSS3Config;
export declare function AWSS3ConfigToJSONTyped(value?: AWSS3Config | null, ignoreDiscriminator?: boolean): any;