Skip to content

Commit 4336cb5

Browse files
committed
Update typing
1 parent df5ff06 commit 4336cb5

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

types/Afip.d.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,26 @@ declare class Afip {
2929
* @param {string} service Web Service name
3030
* @param {any} options Web Service options
3131
*
32-
* @return AfipWebService Token Authorization for AFIP Web Service
32+
* @return AfipWebService New AFIP Web Service
3333
**/
3434
WebService(service: string, options?: any): AfipWebService;
35+
/**
36+
* Create AFIP cert
37+
*
38+
* @param {string} username Username used in AFIP page
39+
* @param {string} password Password used in AFIP page
40+
* @param {string} alias Alias for the cert
41+
**/
42+
CreateCert(username: string, password: string, alias: string): Promise<any>;
43+
/**
44+
* Create authorization to use a web service
45+
*
46+
* @param {string} username Username used in AFIP page
47+
* @param {string} password Password used in AFIP page
48+
* @param {string} alias Cert alias
49+
* @param {string} wsid Web service id
50+
**/
51+
CreateWSAuth(username: string, password: string, alias: string, wsid: string): Promise<any>;
3552
}
3653
import ElectronicBilling = require("./Class/ElectronicBilling");
3754
import RegisterScopeFour = require("./Class/RegisterScopeFour");

0 commit comments

Comments
 (0)