[PM-34116][PM-34117] Drivers License and Passport#7512
Conversation
|
New Issues (2)Checkmarx found the following issues in this Pull Request
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7512 +/- ##
==========================================
+ Coverage 59.18% 59.25% +0.07%
==========================================
Files 2077 2081 +4
Lines 91888 92036 +148
Branches 8177 8179 +2
==========================================
+ Hits 54380 54534 +154
+ Misses 35572 35563 -9
- Partials 1936 1939 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…6-34117/drivers-license-passport
| IssuingCountry = DriversLicense.IssuingCountry, | ||
| IssuingState = DriversLicense.IssuingState, | ||
| ExpirationDate = DriversLicense.ExpirationDate, | ||
| LicenseClass = DriversLicense.LicenseClass, |
There was a problem hiding this comment.
❓ is there a reason DateOfBirth,IssueDate, and IssuingAuthority are omitted here?
Similarly with the passport below Sex, BirthPlace, and NationalIdentificationNumber are missing.
Tests would need to be updated if these are added.
There was a problem hiding this comment.
Nope, they slipped through my own code review. Nice catch! These were the fields that were added after the original requirements. c4f8d2b
|
* update minimum version to handle all new item types rather than individual types * add cipher types for driverslicense and passport * add request and response models for DriversLicense and Passport * add events for DriversLicense and Passport * add seeder * add additional properties from CXP * add additional fields
## 🎟️ Tracking [PM-32691](https://bitwarden.atlassian.net/browse/PM-32691) [PM-32694](https://bitwarden.atlassian.net/browse/PM-3269) Server PR: bitwarden/server#7512 ## 📔 Objective Following suit from #949, this PR adds `Driver's License` and `Passport` cipher types to the SDK. @bitwarden/team-vault-dev - This clients pr: bitwarden/clients#20438 will need to fast follow to fix the breaking changes here and unblock any other SDK updates. Implementation of the new cipher types will follow that PR. ## 🚨 Breaking Changes New `Driver's License` and `Passport` types added to CipherType, CipherListViewType, and CipherViewType — clients must handle [PM-32691]: https://bitwarden.atlassian.net/browse/PM-32691?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [PM-32694]: https://bitwarden.atlassian.net/browse/PM-32694?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ





🎟️ Tracking
PM-34116
PM-34117
📔 Objective
Building off of #7112, this adds
Driver's LicenseandPassporttypes.📸 Screenshots
N/A