mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	fix(payments): add time range in list payment attempts query (#5959)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -704,7 +704,7 @@ pub struct PayoutListConstraints { | ||||
|     /// The time range for which objects are needed. TimeRange has two fields start_time and end_time from which objects can be filtered as per required scenarios (created_at, time less than, greater than etc). | ||||
|     #[serde(flatten)] | ||||
|     #[schema(value_type = Option<TimeRange>)] | ||||
|     pub time_range: Option<payments::TimeRange>, | ||||
|     pub time_range: Option<common_utils::types::TimeRange>, | ||||
| } | ||||
|  | ||||
| #[derive(Clone, Debug, serde::Deserialize, ToSchema, serde::Serialize)] | ||||
| @ -732,7 +732,7 @@ pub struct PayoutListFilterConstraints { | ||||
|     /// The time range for which objects are needed. TimeRange has two fields start_time and end_time from which objects can be filtered as per required scenarios (created_at, time less than, greater than etc). | ||||
|     #[serde(flatten)] | ||||
|     #[schema(value_type = Option<TimeRange>)] | ||||
|     pub time_range: Option<payments::TimeRange>, | ||||
|     pub time_range: Option<common_utils::types::TimeRange>, | ||||
|     /// The list of connectors to filter payouts list | ||||
|     #[schema(value_type = Option<Vec<PayoutConnectors>>, max_length = 255, example = json!(["wise", "adyen"]))] | ||||
|     pub connector: Option<Vec<api_enums::PayoutConnectors>>, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Apoorv Dixit
					Apoorv Dixit