Description
We have recently made schema changes to the Vendor model. Now the getAllVendors endpoint needs to be updated such that it includes the following fields: (all previously included fields), reimbursementRequests, username, password, discountCode, 2fa contact, notes, addedByUser.
Acceptance Criteria
getAllVendors endpoint has been updated to include relevant Vendor model fields.
Proposed Solution
- Update the vendor transformer to include the fields above
- Update the vendor type, and Prisma.VendorGetPayload
Mocks
No response
Description
We have recently made schema changes to the Vendor model. Now the getAllVendors endpoint needs to be updated such that it includes the following fields: (all previously included fields), reimbursementRequests, username, password, discountCode, 2fa contact, notes, addedByUser.
Acceptance Criteria
getAllVendors endpoint has been updated to include relevant Vendor model fields.
Proposed Solution
Mocks
No response