Releases: ocariot/account
Releases · ocariot/account
v2.7.1
v2.7.0
New Features
- Adds
children.nfc
resource- Associates an NFC tag with a child. The same tag cannot be associated with more than one child:
POST /v1/children/{child_id}/nfc
- Retrieves a child's data by the NFC tag:
GET /v1/children/nfc/{nfc_tag}
- Associates an NFC tag with a child. The same tag cannot be associated with more than one child:
v2.6.3
v2.6.2
Improvements:
- Refactoring access to user's scopes in AuthRepository's
generateAccessToken(user: User)
method:- Accessing user scopes from their array in the
Default
class.
- Accessing user scopes from their array in the
- Removing scopes from user's models and schema;
- Removing
users.types.scopes
endpoint; - Updating dependencies.
v2.6.1
New Features:
- Adding
notifications:read
andnotifications:delete
to Admin, Child, Educator, Family and HealthProfessional users.
v2.6.0
New features:
- Added a task to notify when a child has not synchronized their data for 7 days or more;
- For this, a method was added to ChildRepository class:
findInactiveChildren(numberOfDays: number)
Improvements:
- Updated dependencies;
- Updated some config files:
Default
class,Dockerfile
,.travis.yml
v2.5.0
New features:
- New providers registered in RPC task:
provideEducatorsFromChild(childId: string)
provideHealthProfessionalsFromChild(childId: string)
- New scopes:
- Added
gamificationprofile:update
for Educator and Family users - Added
missions:delete
for Educator users
- Added
v2.4.0
New features:
- Adding
users.types.scopes
endpoint - Adding new scopes:
- Family:
gamificationprofile:create
,missions:create
,missions:update
- Educators:
gamificationprofile:create
- Family:
v2.3.4
Bug fixes:
- Fixing how a child is updated after the arrival of any Fitbit event in handlers.
- For this, adding two new methods in ChildRepository:
updateFitbitStatus
andupdateLastSync
. - Updated dependencies.
v2.3.3
Improvements:
- Added
notifications:create
scope to users (except Application).