leankit-client
Advanced tools
Comparing version 2.1.0 to 2.3.1
@@ -17,3 +17,3 @@ { | ||
"license": "SEE LICENSE IN https://github.com/LeanKit/leankit-node-client/blob/master/LICENSE", | ||
"version": "2.1.0", | ||
"version": "2.3.1", | ||
"homepage": "https://github.com/LeanKit/leankit-node-client/", | ||
@@ -42,4 +42,4 @@ "bugs": { | ||
"chai-as-promised": "^7.0.0", | ||
"eslint": "^3.0.0", | ||
"eslint-config-leankit": "^3.0.0", | ||
"eslint": "^4.12.1", | ||
"eslint-config-leankit": "^4.3.0", | ||
"lodash": "^4.17.4", | ||
@@ -46,0 +46,0 @@ "mocha": "^3.4.2", |
module.exports = ( api, request ) => { | ||
api.board = { since: {} }; | ||
api.board.list = ( params = {} ) => { | ||
api.board.list = () => { | ||
return request( { url: "boards" } ); | ||
@@ -5,0 +5,0 @@ }; |
@@ -100,3 +100,3 @@ /* eslint-disable max-lines */ | ||
api.card.list = {}; | ||
api.card.list.recent = ( boardId, callback ) => { | ||
api.card.list.recent = boardId => { | ||
return request( { url: `board/${ boardId }/listnewcards` } ); | ||
@@ -103,0 +103,0 @@ }; |
@@ -7,3 +7,3 @@ const board = require( "./board" ); | ||
module.exports = ( api, request, { accountName, email, password } ) => { | ||
module.exports = ( api, request ) => { | ||
api.v1 = {}; | ||
@@ -10,0 +10,0 @@ board( api.v1, request ); |
module.exports = ( api, request ) => { | ||
api.board = { customFields: {} }; | ||
api.board = { customFields: {}, roles: {} }; | ||
api.board.list = ( params = {} ) => { | ||
@@ -40,2 +40,10 @@ return request( { | ||
}; | ||
api.board.roles.modify = ( boardId, operations ) => { | ||
return request( { | ||
url: `/io/board/${ boardId }/roles`, | ||
method: "patch", | ||
data: operations | ||
} ); | ||
}; | ||
}; |
@@ -11,2 +11,3 @@ const account = require( "./account" ); | ||
const reporting = require( "./reporting" ); | ||
const scim = require( "./scim" ); | ||
@@ -23,3 +24,4 @@ module.exports = ( api, request, { accountName, email, password } ) => { | ||
user( api, request ); | ||
scim( api, request ); | ||
reporting( api, request, { accountName, email, password } ); | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52328
994