Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ package-lock.json
node_modules
.idea
.editorconfig
.DS_Store
.DS_Store
nbproject
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ function Client (authToken) {
return this.httpClient.get(generateUrl('parsers'))
}

this.getParserModelLayouts = function (parserId) {
return this.httpClient.get(generateUrl('parser/models/' + parserId));
}

this.fetchDocumentFromURL = function (parserId, remoteURL, options) {
var endpoint = generateUrl('document/fetch/' + parserId)
var request = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docparser-node",
"version": "1.2.1",
"version": "1.3.0",
"description": "Docparser API Node Client",
"main": "index.js",
"scripts": {
Expand Down