text
stringlengths
70
351k
source
stringclasses
4 values
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_attempts(&self) -> Option<Vec<storage::PaymentAttempt>> { todo!() } fn get_recurring_details(&self) -> Option<&RecurringDetails> { todo!() } fn get_payment_intent_profile_id(&self) -> Opti...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_refunds(&self) -> Vec<storage::Refund> { todo!() } fn get_disputes(&self) -> Vec<storage::Dispute> { todo!() } fn get_authorizations(&self) -> Vec<diesel_models::authorization::Authorizati...
ast_fragments
// file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_authentication(&self) -> Option<&storage::Authentication> { todo!() } fn get_frm_message(&self) -> Option<FraudCheck> { todo!() } fn get_refunds(&self) -> Vec<storage::Refund> { todo!() } ...
ast_fragments
// file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_setup_mandate(&self) -> Option<&MandateData> { todo!() } fn get_poll_config(&self) -> Option<router_types::PollConfig> { todo!() } fn get_authentication(&self) -> Option<&storage::Authentication> { ...
ast_fragments
// file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_ephemeral_key(&self) -> Option<ephemeral_key::EphemeralKey> { todo!() } fn get_setup_mandate(&self) -> Option<&MandateData> { todo!() } fn get_poll_config(&self) -> Option<router_types::PollConfig> { ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_payment_link_data(&self) -> Option<api_models::payments::PaymentLinkResponse> { todo!() } fn get_ephemeral_key(&self) -> Option<ephemeral_key::EphemeralKey> { todo!() } fn get_setup_mandat...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_multiple_capture_data(&self) -> Option<&types::MultipleCaptureData> { todo!() } fn get_payment_link_data(&self) -> Option<api_models::payments::PaymentLinkResponse> { todo!() } fn get_ephe...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_token(&self) -> Option<&str> { todo!() } fn get_multiple_capture_data(&self) -> Option<&types::MultipleCaptureData> { todo!() } fn get_payment_link_data(&self) -> Option<api_models::paymen...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router todo!() } // what is this address find out and not required remove this fn get_address(&self) -> &PaymentAddress { todo!() } fn get_creds_identifier(&self) -> Option<&str> { None } ...
ast_fragments
// file: hyperswitch/crates/router/src/core/payments.rs | crate: router todo!() } fn get_mandate_id(&self) -> Option<&payments_api::MandateIds> { todo!() } // what is this address find out and not required remove this fn get_address(&self) -> &PaymentAddress { todo!() }...
ast_fragments
// file: hyperswitch/crates/router/src/core/payments.rs | crate: router &self.payment_intent } fn get_payment_method_info(&self) -> Option<&domain::PaymentMethod> { todo!() } fn get_mandate_id(&self) -> Option<&payments_api::MandateIds> { todo!() } // what is this addr...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_payment_attempt(&self) -> &storage::PaymentAttempt { &self.payment_attempt } fn get_payment_intent(&self) -> &storage::PaymentIntent { &self.payment_intent } fn get_payment_method_info(&se...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router ) { self.payment_intent.setup_future_usage = setup_future_usage; } fn set_connector_in_payment_attempt(&mut self, connector: Option<String>) { todo!() } } #[cfg(feature = "v2")] impl<F: Clone> Operat...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn set_recurring_mandate_payment_data( &mut self, _recurring_mandate_payment_data: hyperswitch_domain_models::router_data::RecurringMandatePaymentData, ) { todo!() } fn set_mandate...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router ) { todo!() } fn set_recurring_mandate_payment_data( &mut self, _recurring_mandate_payment_data: hyperswitch_domain_models::router_data::RecurringMandatePaymentData, ) { to...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn set_payment_intent_status(&mut self, status: storage_enums::IntentStatus) { self.payment_intent.status = status; } fn set_authentication_type_in_attempt( &mut self, _authentication_type: Optio...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router #[track_caller] fn set_merchant_connector_id_in_attempt( &mut self, merchant_connector_id: Option<id_type::MerchantConnectorAccountId>, ) { todo!() } fn set_frm_message(&mut self, _frm_mes...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn set_surcharge_details(&mut self, _surcharge_details: Option<types::SurchargeDetails>) { todo!() } #[track_caller] fn set_merchant_connector_id_in_attempt( &mut self, merchant_connector_id: ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_mandate_connector(&self) -> Option<&MandateConnectorDetails> { todo!() } fn get_force_sync(&self) -> Option<bool> { todo!() } fn get_capture_method(&self) -> Option<enums::CaptureMethod> {...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_amount(&self) -> api::Amount { todo!() } fn get_payment_attempt_connector(&self) -> Option<&str> { todo!() } fn get_merchant_connector_id_in_attempt(&self) -> Option<id_type::MerchantConne...
ast_fragments
// file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_recurring_details(&self) -> Option<&RecurringDetails> { todo!() } fn get_payment_intent_profile_id(&self) -> Option<&id_type::ProfileId> { Some(&self.payment_intent.profile_id) } fn get_currency(&self) -...
ast_fragments
// file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_disputes(&self) -> Vec<storage::Dispute> { todo!() } fn get_authorizations(&self) -> Vec<diesel_models::authorization::Authorization> { todo!() } fn get_attempts(&self) -> Option<Vec<storage::PaymentAtte...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_frm_message(&self) -> Option<FraudCheck> { todo!() } fn get_refunds(&self) -> Vec<storage::Refund> { todo!() } fn get_disputes(&self) -> Vec<storage::Dispute> { todo!() } ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_authentication(&self) -> Option<&storage::Authentication> { todo!() } fn get_frm_message(&self) -> Option<FraudCheck> { todo!() } fn get_refunds(&self) -> Vec<storage::Refund> { to...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_poll_config(&self) -> Option<router_types::PollConfig> { todo!() } fn get_authentication(&self) -> Option<&storage::Authentication> { todo!() } fn get_frm_message(&self) -> Option<FraudChe...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_ephemeral_key(&self) -> Option<ephemeral_key::EphemeralKey> { todo!() } fn get_setup_mandate(&self) -> Option<&MandateData> { todo!() } fn get_poll_config(&self) -> Option<router_types::Po...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_creds_identifier(&self) -> Option<&str> { None } fn get_token(&self) -> Option<&str> { todo!() } fn get_multiple_capture_data(&self) -> Option<&types::MultipleCaptureData> { todo!(...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_address(&self) -> &PaymentAddress { &self.payment_address } fn get_creds_identifier(&self) -> Option<&str> { None } fn get_token(&self) -> Option<&str> { todo!() } fn get_...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_payment_method_info(&self) -> Option<&domain::PaymentMethod> { todo!() } fn get_mandate_id(&self) -> Option<&payments_api::MandateIds> { todo!() } fn get_address(&self) -> &PaymentAddress ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router #[cfg(feature = "v2")] impl<F: Clone> OperationSessionGetters<F> for PaymentStatusData<F> { #[track_caller] fn get_payment_attempt(&self) -> &storage::PaymentAttempt { todo!() } fn get_payment_intent(&self) ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn set_connector_in_payment_attempt(&mut self, connector: Option<String>) { self.payment_attempt.connector = connector; } } #[cfg(feature = "v2")] impl<F: Clone> OperationSessionGetters<F> for PaymentStatusData<F> { ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router ) { self.payment_attempt.merchant_connector_id = merchant_connector_id; } fn set_frm_message(&mut self, _frm_message: FraudCheck) { todo!() } fn set_payment_intent_status(&mut self, status: stora...
ast_fragments
// file: hyperswitch/crates/router/src/core/payments.rs | crate: router #[track_caller] fn set_merchant_connector_id_in_attempt( &mut self, merchant_connector_id: Option<id_type::MerchantConnectorAccountId>, ) { self.payment_attempt.merchant_connector_id = merchant_connector_id; ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn set_payment_method_data(&mut self, _payment_method_data: Option<domain::PaymentMethodData>) { todo!() } fn set_payment_method_id_in_attempt(&mut self, _payment_method_id: Option<String>) { todo!() ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn set_payment_attempt(&mut self, payment_attempt: storage::PaymentAttempt) { self.payment_attempt = payment_attempt; } fn set_payment_method_data(&mut self, _payment_method_data: Option<domain::PaymentMethodData...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_capture_method(&self) -> Option<enums::CaptureMethod> { todo!() } fn get_optional_payment_attempt(&self) -> Option<&storage::PaymentAttempt> { Some(&self.payment_attempt) } } #[cfg(feature = "...
ast_fragments
// file: hyperswitch/crates/router/src/core/payments.rs | crate: router fn get_sessions_token(&self) -> Vec<api::SessionToken> { todo!() } fn get_token_data(&self) -> Option<&storage::PaymentTokenData> { todo!() } fn get_mandate_connector(&self) -> Option<&MandateConnectorDetails> ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/disputes.rs | crate: router use std::collections::HashMap; use api_models::{ admin::MerchantConnectorInfo, disputes as dispute_models, files as files_api_models, }; use common_utils::ext_traits::{Encode, ValueExt}; use super::{ errors::{self, ConnectorE...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/disputes.rs | crate: router use api_models::{ admin::MerchantConnectorInfo, disputes as dispute_models, files as files_api_models, }; use super::{ errors::{self, ConnectorErrorExt, RouterResponse, StorageErrorExt}, metrics, }; use crate::{ core:...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/disputes.rs | crate: router use api_models::{ admin::MerchantConnectorInfo, disputes as dispute_models, files as files_api_models, }; use common_utils::ext_traits::{Encode, ValueExt}; use super::{ errors::{self, ConnectorErrorExt, RouterResponse, Storag...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/disputes.rs | crate: router use std::collections::HashMap; use api_models::{ admin::MerchantConnectorInfo, disputes as dispute_models, files as files_api_models, }; use common_utils::ext_traits::{Encode, ValueExt}; use error_stack::ResultExt; use super::{ ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/disputes.rs | crate: router .update_dispute(dispute.clone(), update_dispute) .await .to_not_found_response(errors::ApiErrorResponse::DisputeNotFound { dispute_id: dispute_id.to_owned(), }) .attach_printable_la...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/disputes.rs | crate: router use api_models::{ admin::MerchantConnectorInfo, disputes as dispute_models, files as files_api_models, }; use common_utils::ext_traits::{Encode, ValueExt}; use super::{ errors::{self, ConnectorErrorExt, RouterResponse, Storag...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/disputes.rs | crate: router use api_models::{ admin::MerchantConnectorInfo, disputes as dispute_models, files as files_api_models, }; use common_utils::ext_traits::{Encode, ValueExt}; use super::{ errors::{self, ConnectorErrorExt, RouterResponse, Storag...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/disputes.rs | crate: router use api_models::{ admin::MerchantConnectorInfo, disputes as dispute_models, files as files_api_models, }; use common_utils::ext_traits::{Encode, ValueExt}; use super::{ errors::{self, ConnectorErrorExt, RouterResponse, Storag...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/disputes.rs | crate: router use api_models::{ admin::MerchantConnectorInfo, disputes as dispute_models, files as files_api_models, }; use common_utils::ext_traits::{Encode, ValueExt}; use super::{ errors::{self, ConnectorErrorExt, RouterResponse, Storag...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/disputes.rs | crate: router use api_models::{ admin::MerchantConnectorInfo, disputes as dispute_models, files as files_api_models, }; use common_utils::ext_traits::{Encode, ValueExt}; use super::{ errors::{self, ConnectorErrorExt, RouterResponse, Storag...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/disputes.rs | crate: router use api_models::{ admin::MerchantConnectorInfo, disputes as dispute_models, files as files_api_models, }; use common_utils::ext_traits::{Encode, ValueExt}; use super::{ errors::{self, ConnectorErrorExt, RouterResponse, Storag...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use std::{ collections::{HashMap, HashSet}, ops::Not, }; use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use std::{ collections::{HashMap, HashSet}, ops::Not, }; use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, Use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
// file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge, user as s...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_utils::{type_name, types::keymanager::Identifier}; use diesel_models::{ enums::{TotpStatus, User...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use user_api::dashboard_metadata::SetMetaDataRequest; use super::errors::{StorageErrorExt, UserErrors, UserResp...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, Use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_utils::{type_name, types::keymanager::Identifier}; use diesel_models::{ enums::{TotpStatus, User...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use error_stack::{report, ResultExt}; use user_api::dashboard_metadata::SetMetaDataRequest; use super::errors::...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use error_stack::{report, ResultExt}; use router_env::logger; use user_api::dashboard_metadata::SetMetaDataRequ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, Use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::user_role::UserRoleUpdate; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, Use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, Use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use common_utils::{type_name, types::keymanager::Identifier}; use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_utils::{type_name, types::keymanager::Identifier}; use diesel_models::{ enums::{TotpStatus, User...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router domain::NextFlow::from_origin(domain::Origin::SignInWithSSO, user_from_db, &state).await? }; let token = next_flow.get_token(&state).await?; let response = user_api::TokenResponse { token: token.clone(), ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router .await .inspect_err(|error| logger::error!(?error)); auth::cookies::set_cookie_response( user_api::TokenResponse { token: token.clone(), token_type: next_flow.get_flow().into(), ...
ast_fragments
// file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use user_api::dashboard_metadata::SetMetaDataRequest; use super::errors::{StorageErrorExt, UserErrors, UserResponse, UserResul...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use user_api::dashboard_metadata::SetMetaDataRequest; use super::errors::{StorageErrorExt, UserErrors, UserResp...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use user_api::dashboard_metadata::SetMetaDataRequest; use super::errors::{StorageErrorExt, UserErrors, UserResp...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::user_role::UserRoleUpdate; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, Use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use super::errors::{StorageErrorExt, UserErrors, UserResponse, UserResult}; use crate::{ consts, core::encryption::send_request_to_key_service_for_user, db::{ domain::user_authentication_method::DEFAULT_USER_AUTH_METH...
ast_fragments
// file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use diesel_models::user_role::UserRoleUpdate; use diesel_models::{ enums::{T...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use diesel_models::user_role::UserRoleUpdate; use diesel_models::...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use std::{ collections::{HashMap, HashSet}, ops::Not, }; use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, Use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, UserStatus}, organization::OrganizationBridge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_utils::{type_name, types::keymanager::Identifier}; use diesel_models::{ enums::{TotpStatus, User...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_utils::{type_name, types::keymanager::Identifier}; use diesel_models::user_role::UserRoleUpdate; use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::user_role::UserRoleUpdate; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, Use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use diesel_models::user_role::UserRoleUpdate; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, Use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use common_utils::{type_name, types::keymanager::Identifier}; use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use diesel_models::{ enums::{TotpStatus, UserRoleVersion, Use...
ast_fragments
// file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use common_utils::{type_name, types::keymanager::Identifier}; use diesel_models:...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use std::{ collections::{HashMap, HashSet}, ops::Not, }; use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use common_utils::{type_name, types::keymanager::Identifier}; use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user.rs | crate: router use api_models::{ payments::RedirectionResponse, user::{self as user_api, InviteMultipleUserResponse, NameIdUnit}, }; use common_enums::{EntityType, UserAuthType}; use common_utils::{type_name, types::keymanager::Identifier}; use...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user_role.rs | crate: router use api_models::{ user as user_api, user_role::{self as user_role_api, role as role_api}, }; use diesel_models::{ enums::{UserRoleVersion, UserStatus}, organization::OrganizationBridge, user_role::UserRoleUpdate,...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user_role.rs | crate: router use api_models::{ user as user_api, user_role::{self as user_role_api, role as role_api}, }; use diesel_models::{ enums::{UserRoleVersion, UserStatus}, organization::OrganizationBridge, user_role::UserRoleUpdate,...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/user_role.rs | crate: router use std::collections::{HashMap, HashSet}; use api_models::{ user as user_api, user_role::{self as user_role_api, role as role_api}, }; use diesel_models::{ enums::{UserRoleVersion, UserStatus}, organization::Organiza...
ast_fragments