Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Validar(config: IConfig): Validar

Methods

Protected callApi

  • callApi(__namedParameters: { data: any; method: "get" | "GET" | "delete" | "DELETE" | "head" | "HEAD" | "options" | "OPTIONS" | "post" | "POST" | "put" | "PUT" | "patch" | "PATCH" | "link" | "LINK" | "unlink" | "UNLINK"; params: any }): Promise<IApiResponse>
  • Parameters

    • __namedParameters: { data: any; method: "get" | "GET" | "delete" | "DELETE" | "head" | "HEAD" | "options" | "OPTIONS" | "post" | "POST" | "put" | "PUT" | "patch" | "PATCH" | "link" | "LINK" | "unlink" | "UNLINK"; params: any }
      • data: any
      • method: "get" | "GET" | "delete" | "DELETE" | "head" | "HEAD" | "options" | "OPTIONS" | "post" | "POST" | "put" | "PUT" | "patch" | "PATCH" | "link" | "LINK" | "unlink" | "UNLINK"
      • params: any

    Returns Promise<IApiResponse>

email

  • email(__namedParameters: { pAUDIT_IP_INCL: string; pEMAIL: string }): Promise<IValidarEmailResponse | any>

Protected processResponse

telefone

viabilidadeKml

  • viabilidadeKml(__namedParameters: { pBAIRRO: string; pCEP: string; pCIDADE: string; pENDERECO: string; pNUMERO: string; pUF: string }): Promise<IValidarViabilidadeKmlResponse | any>
  • Parameters

    • __namedParameters: { pBAIRRO: string; pCEP: string; pCIDADE: string; pENDERECO: string; pNUMERO: string; pUF: string }
      • pBAIRRO: string
      • pCEP: string
      • pCIDADE: string
      • pENDERECO: string
      • pNUMERO: string
      • pUF: string

    Returns Promise<IValidarViabilidadeKmlResponse | any>

Legend

  • Constructor
  • Property
  • Method
  • Private property
  • Private method
  • Property
  • Inherited property
  • Protected method
  • Static property

Generated using TypeDoc