/**
 * backend/api/filter.proto
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: version not set
 *
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */ import * as url from 'url' ; import * as portableFetch from 'portable-fetch' ; import { Configuration } from './configuration' ; const BASE_PATH = 'http://localhost' . replace ( /\/+$/ , '' ) ; export export const COLLECTION_FORMATS = { csv : ',' , ssv : ' ' , tsv : '\t' , pipes : '|' , } ; export interface export interface FetchAPI { ( url , init ? ) : Promise < Response > ; } export interface export interface FetchArgs { url : string ; options : any ; } export class export class BaseAPI { protected configuration : Configuration ; constructor ( configuration ? , protected basePath = BASE_PATH , protected fetch = portableFetch ) { if ( configuration ) { this . configuration = configuration ; this . basePath = configuration . basePath || this . basePath ; } } } export class extends Error export class RequiredError extends Error { name : 'RequiredError' ; constructor ( public field , msg ? ) { super ( msg ) ; } } export interface export interface ApiFilter { type { Array < ApiPredicate > } memberof predicates ? : Array < ApiPredicate > ; } export interface export interface ApiIntValues { type { Array < number > } memberof values ? : Array < number > ; } export interface export interface ApiLongValues { type { Array < string > } memberof values ? : Array < string > ; } export interface export interface ApiPredicate { type { PredicateOp } memberof op ? : PredicateOp ; type { string } memberof key ? : string ; type { number } memberof int_value ? : number ; type { string } memberof long_value ? : string ; type { string } memberof string_value ? : string ; type { Date } memberof timestamp_value ? : Date ; type { ApiIntValues } memberof int_values ? : ApiIntValues ; type { ApiLongValues } memberof long_values ? : ApiLongValues ; type { ApiStringValues } memberof string_values ? : ApiStringValues ; } export interface export interface ApiStringValues { type { Array < string > } memberof values ? : Array < string > ; } export enum { string } export enum PredicateOp { UNKNOWN = < any > 'UNKNOWN' , EQUALS = < any > 'EQUALS' , NOTEQUALS = < any > 'NOT_EQUALS' , GREATERTHAN = < any > 'GREATER_THAN' , GREATERTHANEQUALS = < any > 'GREATER_THAN_EQUALS' , LESSTHAN = < any > 'LESS_THAN' , LESSTHANEQUALS = < any > 'LESS_THAN_EQUALS' , IN = < any > 'IN' , ISSUBSTRING = < any > 'IS_SUBSTRING' }