UNPKG

facturajs

Version:

Comunicación con los web services de AFIP utilizando nodejs.

27 lines (26 loc) • 833 B
import { IConfigService } from '../IConfigService'; import { WsServicesNames } from '../SoapMethods'; export declare class AfipSoap { private config; private tokensAliasServices; private urls; constructor(config: IConfigService); private getTokens; private retrieveTokens; private saveCredentialsCache; private static getCredentialsCacheAll; private static isErrnoException; private getLoginXml; private signService; private static getNetworkHour; private getKeys; private getCert; private getPrivateKey; private getSoapClient; private getAfipEnvironment; private getTokensFromNetwork; private isExpired; private getTokensFromCache; execMethod(service: WsServicesNames, method: string, params: any): Promise<any>; private static throwOnError; }