mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	feat(customer_v2): add customer create v2 endpoint (#5444)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in> Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in> Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in> Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -6,11 +6,11 @@ use utoipa::ToSchema; | ||||
| #[doc(hidden)] | ||||
| pub mod diesel_exports { | ||||
|     pub use super::{ | ||||
|         DbAttemptStatus as AttemptStatus, DbAuthenticationType as AuthenticationType, | ||||
|         DbBlocklistDataKind as BlocklistDataKind, DbCaptureMethod as CaptureMethod, | ||||
|         DbCaptureStatus as CaptureStatus, DbConnectorType as ConnectorType, | ||||
|         DbCountryAlpha2 as CountryAlpha2, DbCurrency as Currency, DbDisputeStage as DisputeStage, | ||||
|         DbDisputeStatus as DisputeStatus, DbEventType as EventType, | ||||
|         DbApiVersion as ApiVersion, DbAttemptStatus as AttemptStatus, | ||||
|         DbAuthenticationType as AuthenticationType, DbBlocklistDataKind as BlocklistDataKind, | ||||
|         DbCaptureMethod as CaptureMethod, DbCaptureStatus as CaptureStatus, | ||||
|         DbConnectorType as ConnectorType, DbCountryAlpha2 as CountryAlpha2, DbCurrency as Currency, | ||||
|         DbDisputeStage as DisputeStage, DbDisputeStatus as DisputeStatus, DbEventType as EventType, | ||||
|         DbFraudCheckStatus as FraudCheckStatus, DbFutureUsage as FutureUsage, | ||||
|         DbIntentStatus as IntentStatus, DbMandateStatus as MandateStatus, | ||||
|         DbPaymentMethodIssuerCode as PaymentMethodIssuerCode, DbPaymentType as PaymentType, | ||||
| @ -3037,6 +3037,27 @@ pub enum Owner { | ||||
|     serde::Serialize, | ||||
|     strum::Display, | ||||
|     strum::EnumString, | ||||
|     ToSchema, | ||||
| )] | ||||
| #[router_derive::diesel_enum(storage_type = "db_enum")] | ||||
| #[strum(serialize_all = "snake_case")] | ||||
| #[serde(rename_all = "snake_case")] | ||||
| pub enum ApiVersion { | ||||
|     V1, | ||||
|     V2, | ||||
| } | ||||
|  | ||||
| #[derive( | ||||
|     Clone, | ||||
|     Copy, | ||||
|     Debug, | ||||
|     Eq, | ||||
|     PartialEq, | ||||
|     serde::Deserialize, | ||||
|     serde::Serialize, | ||||
|     strum::Display, | ||||
|     strum::EnumString, | ||||
|     ToSchema, | ||||
| )] | ||||
| #[router_derive::diesel_enum(storage_type = "text")] | ||||
| #[strum(serialize_all = "snake_case")] | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sahkal Poddar
					Sahkal Poddar