feat: load billing adapters #125

Merged
realaravinth merged 63 commits from load-billing-adapter into master 2025-01-11 19:41:14 +05:30
Showing only changes of commit 4538132c74 - Show all commits

View file

@ -29,6 +29,9 @@ pub enum IdentityError {
EmployeeNotFound,
InviteNotFound,
StoreNotFound,
DuplicateStoreName,
StoreIDNotFound,
DuplicateStoreID,
}
pub type IdentityCommandResult<V> = Result<V, IdentityCommandError>;
@ -74,6 +77,9 @@ impl From<OutDBPortError> for IdentityError {
OutDBPortError::PhoneNumberNotFound => Self::PhoneNumberNotFound,
OutDBPortError::EmpLoginOTPNotFound => Self::LoginOTPNotFound,
OutDBPortError::EmpVerificationOTPNotFound => Self::VerificationOTPNotFound,
OutDBPortError::DuplicateStoreName => Self::DuplicateStoreName,
OutDBPortError::DuplicateStoreID => Self::DuplicateStoreID,
OutDBPortError::StoreIDNotFound => Self::StoreIDNotFound,
}
}
}