mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(connector): add functionality for transforming QR image color (#7414)
This commit is contained in:
@ -4406,6 +4406,8 @@ pub enum NextActionData {
|
||||
#[schema(value_type = String)]
|
||||
/// The url for Qr code given by the connector
|
||||
qr_code_url: Option<Url>,
|
||||
display_text: Option<String>,
|
||||
border_color: Option<String>,
|
||||
},
|
||||
/// Contains url to fetch Qr code data
|
||||
FetchQrCodeInformation {
|
||||
@ -4493,6 +4495,12 @@ pub enum QrCodeInformation {
|
||||
qr_code_url: Url,
|
||||
display_to_timestamp: Option<i64>,
|
||||
},
|
||||
QrColorDataUrl {
|
||||
color_image_data_url: Url,
|
||||
display_to_timestamp: Option<i64>,
|
||||
display_text: Option<String>,
|
||||
border_color: Option<String>,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize, Eq, PartialEq, ToSchema)]
|
||||
|
||||
Reference in New Issue
Block a user