mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	fix(user): add onboarding_survey enum in dashboard metadata type (#4353)
This commit is contained in:
		| @ -26,6 +26,7 @@ pub enum SetMetaDataRequest { | ||||
|     IsMultipleConfiguration, | ||||
|     #[serde(skip)] | ||||
|     IsChangePasswordRequired, | ||||
|     OnboardingSurvey(OnboardingSurvey), | ||||
| } | ||||
|  | ||||
| #[derive(Debug, serde::Deserialize, serde::Serialize)] | ||||
| @ -46,6 +47,20 @@ pub struct ProcessorConnected { | ||||
|     pub processor_name: String, | ||||
| } | ||||
|  | ||||
| #[derive(Debug, serde::Deserialize, serde::Serialize)] | ||||
| pub struct OnboardingSurvey { | ||||
|     pub designation: Option<String>, | ||||
|     pub about_business: Option<String>, | ||||
|     pub business_website: Option<String>, | ||||
|     pub hyperswitch_req: Option<String>, | ||||
|     pub major_markets: Option<Vec<String>>, | ||||
|     pub business_size: Option<String>, | ||||
|     pub required_features: Option<Vec<String>>, | ||||
|     pub required_processors: Option<Vec<String>>, | ||||
|     pub planned_live_date: Option<String>, | ||||
|     pub miscellaneous: Option<String>, | ||||
| } | ||||
|  | ||||
| #[derive(Debug, serde::Deserialize, serde::Serialize)] | ||||
| pub struct ConfiguredRouting { | ||||
|     pub routing_id: String, | ||||
| @ -113,6 +128,7 @@ pub enum GetMetaDataRequest { | ||||
|     SetupWoocomWebhook, | ||||
|     IsMultipleConfiguration, | ||||
|     IsChangePasswordRequired, | ||||
|     OnboardingSurvey, | ||||
| } | ||||
|  | ||||
| #[derive(Debug, serde::Deserialize, serde::Serialize)] | ||||
| @ -150,4 +166,5 @@ pub enum GetMetaDataResponse { | ||||
|     SetupWoocomWebhook(bool), | ||||
|     IsMultipleConfiguration(bool), | ||||
|     IsChangePasswordRequired(bool), | ||||
|     OnboardingSurvey(Option<OnboardingSurvey>), | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Riddhiagrawal001
					Riddhiagrawal001