This page includes release notes and updates for Bank'd.
- Added getTaskJobs
endpoint to allow child users to get list of current task jobs.
- Changed TaskCompleteRequestAddInput
type properties, removed
taskId
.
- Changed
completeTask
mutation, return type is
TaskJob
.
- Changed
Task
typed properties, removed
job
and added
jobs
.
- Changed
TaskJob
typed properties, added
status
taskType
and
amount
.
- Added deleteTask
mutation, parent can remove a task and the jobs related to it for the child.
- Changed UserTransferInput
type properties, added
fromUserID
,
toUserId
and removed
userId
and
recipientId
.
- Changed
TransferRequestAddInput
type properties, added
counterpartyId
and removed
recipientId
.
- Changed
transfer
endpoint to allow parent to transfer from parent to child, child to parent and child to child.
- Changed
addTransferRequest
endpoint to allow child to request a transfer from parent to current child and current child to siblings.
- Changed task expiryDate
to be modifiable by user, endDate in
recurringTask
enables user to set expiryDate.
- Added addCompleteTaskRequest
mutation, child can request task completion.
- Added
job
property to
Task
type, which include the current task job details.
- Added note
property to
Loan
type.
- Added
lateFee
property to
Loan
type.
- Added startDate
property to
RecurringTask
type.
- Added
ONE_OFF
option to
TaskFrequencyType
enum type.
- Removed dueDate
property from
Task
type.
- Added forgiveLoan
mutation, parent can forgive a loan to child.
- Added
getLoans
query, get child's active loans.
- Added RequestUser
type.
- Changed Request
type, fromUser and toUser properties added.
- Added visitRequests
mutation, user can update the visit status for requests.
- Added the ability to approve loan requests.
- Added addLoan
mutation, parent can add a loan for a child.
- Added
calculateLoan
mutation, user can calculate a loan repayment and interest.
- LoanRequestAddInput
input type was updated.
-
TermDeposit
type was updated.
-
TaskAddInput
type to allow recurring tasks to be created by parent.
-
Request
type, message and isVisited properties added to the type.
- Removed childId property from TaskAddInput
, the userId property is the child Id.
- Removed
assignTask
mutation.
- Added buyGold
mutation, parent can purchase gold for a child.
- Added
sellGold
mutation, parent can sell gold for a child.
- Added the ability to approve buy gold requests.
- Added the ability to approve sell gold requests.
- Added addGoldBuyRequest
mutation, child can add a buy gold request.
- Added
addGoldSellRequest
mutation, child can add a sell gold request.
- Added the ability to request term deposit from child to parent. - Added the ability to approve term deposit requests.
- Added addTermDeposit
mutation, parent can add TermDeposit for related child.
- Added
calculateTermDeposit
mutation, calculate the maturity value for a term deposit.
- Added
getTermDepositRates
query, get current active term deposit rates.
- Added
getTermDeposits
query, get TermDeposit for a user.
- Changed permission level of getUser
query, parent can get related child details.
- Added approveRequest
mutation, approve or decline any request.
- Added the ability to approve task requests.
- Added the ability to approve transfer requests.
- Added 'FEED_PET' to GqlTaskType
.
- Added visitNotifications
mutation, update a list of notification visited status.
- Added
getNotifications
query, get a list of users notifications.
- Added limitation to GraphQL String scalar type, max 40 character.
- Added
getHomeFeatures
query, get user's home features.
- Added
updateHomeFeatures
mutation, update user's home features.
- Changed GqlTaskType
'PETSITTING' to 'DOGWALK'.
- Changed
GqlGender
to
GqlGenderType
.
- Added addLoanRequest
mutation, child can add a loan request.
- Added
addTaskRequest
mutation, child can add a task request.
- Added
addTransferRequest
mutation, child can add a transfer request.
- Added
getRequests
query, parent can list all requests.
- Changed assignedTo
on Task type to
childId
.
- Added updateIslandType
mutation to enable update user islandType, parent can update children's islandType, and child can update their own.
- Parent
type added countryPhoneCode (required), pin.
-
Child
type added countryPhoneCode, pin and removed address.
-
User
type added countryPhoneCode, pin and changed phoneNo, address to not required.
-
ParentSignupInput
type added countryPhoneCode, pin required fields.
-
ChildSignupInput
type added countryPhoneCode, pin fields. Removed address. ParentId and PhoneNo are not required.
- Changed children
property on User and Parent types to
childrenIds
.
- Added updatePassword
mutation, the parent or the child user can update password.
- Added updateRestrictions
mutation, allow parent to update children restriction.
- Restrictions added to User type and Child type, Restrictions type a placeholder for the restriction flags, restriction logic not implemented.
- UserInit added to LoginUser type on login mutation, UserInit type populates the minimum fields required on the initial load of the application.
- validate user credit pre transaction.
- Added updateSettings
mutation, update user's settings.
- Added getUserTransactionsByDateRange
query to retrieve the list of entries from and to dates, for a user or child of the user.
- Added a generic error handler, server error will return with an error code; GqlErrorCode enum.
- Added the ability to allow Authorization in upper and lower case. - Added more detailed errors when encountering error around Authorization token.
- Permission, uniforming permission guards for all endpoints, all endpoints require check against userId. Effected endpoints : - completeTask - assignTask - getTasks - getUser - getCardsManage - getCardMeta - createCard
- Untested endpoints are removed for time being. Effected endpoints : - bpayTransfer - internalTransfer - payIdTransfer - externalTransfer - getUserTransactions - getUserTransactionsByDateRange
- JWT token is mandatory on Subscription (websocket).
- Added calculateAllowance Mutation
Endpoint, adding a mutation to calculate the allowance payments and schedule.
- Added calculateLoan Mutation
Endpoint, adding a mutation to calculate the loan repayments and interest.
- Added updateSchool Mutation
Endpoint, adding a mutation to keep track user school progress.
- Improved the permissions and authorisation handling on each endpoint.
- Added breakdownCash Mutation
Endpoint, breaks down any amount to number of banknotes and coins and the extra amount.
- Added getGoldRate
subscription Endpoint, gold rate retrieved every 5 seconds.
- changed the queries prefix to get, i.e user
query is now
getUser
.
- changed the server to Apollo GraphQL, to enable subscription via websocket.
- Currency Endpoint, getCurrencies. - added functionality to breakdown any amount into notes and coins.
- Task Endpoint, addTask, completeTask, assignTask, tasks.
- Transaction Endpoint, deposit, transfer, withdraw.
- Address Endpoint, updateAddress. - Avatar Endpoint, updateAvatar.
- User Endpoint, signup, addChild, login, forgotPassword.