# **Supplier** **1.Create supplier** ![image](https://hackmd.io/_uploads/ByYmBcIK6.png) account manager -> super admin user - test account - [x] api fixed - [x] integrated to webapp - company logo - [x] api fixed (.logoUrl) - [x] integrated to webapp (img to be uploaded first on storage + url passed to api) - contact info (same as the first user created but store on the supplier) - [x] api fixed (.primaryContact) - [x] integrated on webapp **2.Supplier list** ![image](https://hackmd.io/_uploads/rkEKHqLY6.png) - users count -> increase/decrease when add/delete - [x] api done ([link](https://dev-contractai-api.zuumapp.com/api-documentation#/Suppliers%20API/SuppliersController_search)) - [x] integrated on webapp - ability to filter test suppliers (add isTest in the dto) - [x] api - existing user (email) validation endpoint - [x] api in progress ---------- # **Users (super admin)** ![image](https://hackmd.io/_uploads/BJTNMh8ta.png) - maxNumberOfUsers property on the supplier - [x] api done ([link](https://dev-contractai-api.zuumapp.com/api-documentation#/Suppliers%20API/SuppliersController_setMaxUsersCount)) - [x] integrated on webapp - last login property on the user - [x] api fixed (check user.lastLogin: Date) - [x] integrated on webapp - resend invite endpoint (remove restriction for super admin users only) - [ ] api fixed (check swagger) - [x] integrated on webapp ---------- # **Login** ![image](https://hackmd.io/_uploads/SJdsUq8Yp.png) - Reset password endpoint (EMAIL NOT SENT) - [ ] api fixed (check swagger) ![image](https://hackmd.io/_uploads/H1GyvcIFa.png) - Setup password endpoint - [x] api fixed (check swagger) - login ednpoint - when only when vendor user, logged him in the app. return the array only if there are more users - [x] api fixed (check swagger) - [ ] multiple vendors with same email not handle - missing supplier info(company logo & company name). Exception when setup up the password for the newly created users under the same email. Excepten when loging in with those users. ---------- # **Users** **1. Account** ![image](https://hackmd.io/_uploads/H1KOI9UFa.png) - profile picture field - [x] api ( user.profileImage added) - change password endpoint (or on update) - [x] api fixed (check swagger) **2.Users** ![image](https://hackmd.io/_uploads/SyOSd5IKp.png) - ability to sort on the search endpoint - [x] api fixed (send sort: firstName/-firstName, same for other fields) - [ ] add sort direction **3.Global** - handle exceptions - at the moment, when there is an exception (bad request for exmaple), the back-end returns HttpErrorResponse instead of custom response - [x] api fixed