mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
feat(vsaas): integrate onboarding flow for vertical saas (#7884)
This commit is contained in:
@ -6,7 +6,7 @@ use std::{
|
||||
num::{ParseFloatError, TryFromIntError},
|
||||
};
|
||||
|
||||
pub use accounts::MerchantProductType;
|
||||
pub use accounts::{MerchantAccountType, MerchantProductType, OrganizationType};
|
||||
pub use payments::ProductType;
|
||||
use serde::{Deserialize, Serialize};
|
||||
pub use ui::*;
|
||||
|
||||
@ -26,3 +26,46 @@ pub enum MerchantProductType {
|
||||
CostObservability,
|
||||
DynamicRouting,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
Debug,
|
||||
Default,
|
||||
Eq,
|
||||
PartialEq,
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
)]
|
||||
#[router_derive::diesel_enum(storage_type = "text")]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum MerchantAccountType {
|
||||
#[default]
|
||||
Standard,
|
||||
Platform,
|
||||
Connected,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
Debug,
|
||||
Default,
|
||||
Eq,
|
||||
PartialEq,
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
)]
|
||||
#[router_derive::diesel_enum(storage_type = "text")]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum OrganizationType {
|
||||
#[default]
|
||||
Standard,
|
||||
Platform,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user