@ifings/api-client
Advanced tools
Comparing version 0.9.2 to 0.10.0
@@ -94,4 +94,15 @@ "use strict"; | ||
} | ||
}, | ||
documents: { | ||
find: function find(stackId) { | ||
var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
return instance.get("".concat(baseUrl, "/").concat(stackId, "/documents"), config); | ||
}, | ||
upload: function upload(id) { | ||
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; | ||
return instance.put("".concat(baseUrl, "/").concat(id, "/documents"), data, config); | ||
} | ||
} | ||
}); | ||
}; |
{ | ||
"name": "@ifings/api-client", | ||
"description": "iFings API client", | ||
"version": "0.9.2", | ||
"version": "0.10.0", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
50105
437