Skip to content

Commit

Permalink
Feature/1207 Implement settlement models management get and put opera…
Browse files Browse the repository at this point in the history
…tions (#181)

* Update enums for settlements.js in order to handle get operations
Bumped up the version of the module

* Fixed package.json file

* Fixed npm audit errors

* 1207- Implement settlementModels management - GET and PUT operations

- Added new enums under settlements.js
  • Loading branch information
lazolalucas authored Feb 13, 2020
1 parent 2aff75c commit fec8aea
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mojaloop/central-services-shared",
"version": "9.1.1",
"version": "9.1.2",
"description": "Shared code for central services",
"main": "src/index.js",
"scripts": {
Expand Down
13 changes: 12 additions & 1 deletion src/enums/settlements.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,20 @@ const SettlementInterchange = {
MULTILATERAL: 2
}

const isActiveText = {
activated: 'activated',
disabled: 'disabled'
}
const booleanType = {
0: false,
1: true
}

module.exports = {
SettlementWindowState,
SettlementDelay,
SettlementGranularity,
SettlementInterchange
SettlementInterchange,
isActiveText,
booleanType
}

0 comments on commit fec8aea

Please sign in to comment.