mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 12:15:40 +08:00
chore: update org retrieve api response to include org type (#8660)
Co-authored-by: Gitanjli Chopra <gitanjli.chopra@Gitanjli-Chopra-DC62KJQFX6.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -74,6 +74,10 @@ pub struct OrganizationResponse {
|
||||
pub metadata: Option<pii::SecretSerdeValue>,
|
||||
pub modified_at: time::PrimitiveDateTime,
|
||||
pub created_at: time::PrimitiveDateTime,
|
||||
|
||||
/// Organization Type of the organization
|
||||
#[schema(value_type = Option<OrganizationType>, example = "standard")]
|
||||
pub organization_type: Option<OrganizationType>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v2")]
|
||||
@ -95,4 +99,8 @@ pub struct OrganizationResponse {
|
||||
pub metadata: Option<pii::SecretSerdeValue>,
|
||||
pub modified_at: time::PrimitiveDateTime,
|
||||
pub created_at: time::PrimitiveDateTime,
|
||||
|
||||
/// Organization Type of the organization
|
||||
#[schema(value_type = Option<OrganizationType>, example = "standard")]
|
||||
pub organization_type: Option<OrganizationType>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user