prompt
stringlengths
14
2.16k
response
stringlengths
52
115k
refactor(middleware): add middleware to record metrics for request count and duration (#7803)
Files to modify: **request.rs** Remove: - function: pub::time_future **wrap.rs** Modify existing code **lib.rs** Modify existing code **middleware.rs** Add: - function: private::new_transform - function: private::call - struct: pub::RequestResponseMetrics - struct: pub::RequestResponseMetricsMiddleware - impl: impl actix_web::dev::Transform<S, actix_web::dev::ServiceRequest> for RequestResponseMetrics - impl: impl actix_web::dev::Service<actix_web::dev::ServiceRequest> for RequestResponseMetricsMiddleware<S> **metrics.rs** Remove: - mod: pub::utils **request.rs** Remove: - function: pub::time_future **utils.rs** Remove: - function: pub::time_future **api.rs** Modify existing code
refactor(connector): [WorldPay] migrate from modular to standard payment APIs (#6317) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **utils.rs** Add: - function: private::get_capture_method **worldpay.rs** Modify existing code **requests.rs** Remove: - struct: pub::WorldpayPaymentsRequest - struct: pub::Instruction - struct: pub::RequestAutoSettlement - struct: pub::CardToken - struct: pub::WalletPayment - struct: pub::ExpiryDate - enum: pub::PaymentInstrument - enum: pub::PaymentType Add: - struct: pub::WorldpayPaymentsRequest - struct: pub::Merchant - struct: pub::Instruction - struct: pub::CardPayment - struct: pub::CardToken - struct: pub::WalletPayment - struct: pub::ExpiryDate - struct: pub::AutoSettlement - enum: pub::PaymentInstrument - enum: pub::PaymentType **response.rs** Remove: - function: private::try_from - function: private::foreign_try_from - enum: pub::RefundOutcome - impl: impl ForeignTryFrom<Option<PaymentLinks>> for types::ResponseId Add: - struct: pub::AuthorizedResponse - struct: pub::FraudHighRiskResponse - struct: pub::RefusedResponse - struct: pub::ThreeDsResponse - struct: pub::DDCResponse - struct: pub::DDCToken - struct: pub::DDCActionLink - struct: pub::SelfLinkInner - struct: pub::ActionLinks - struct: pub::ActionLink - struct: pub::Fraud - enum: pub::WorldpayPaymentResponseFields - enum: pub::IssuerResponse - enum: pub::FraudOutcome **transformers.rs** Add: - function: private::try_from - struct: pub::WorldpayConnectorMetadataObject - impl: impl TryFrom<&Option<pii::SecretSerdeValue>> for WorldpayConnectorMetadataObject **consts.rs** Modify existing code **lib.rs** Modify existing code
refactor: incorporate `hyperswitch_interface` into router (#3669) Co-authored-by: Narayan Bhat <[email protected]>
Files to modify: **main.rs** Modify existing code **secrets_transformers.rs** Modify existing code **settings.rs** Modify existing code **aws_kms.rs** Remove: - mod: pub::decrypt **core.rs** Remove: - function: pub::get_aws_kms_client - function: private::is_empty_after_trim - function: private::from - function: private::from - function: private::fetch_inner - function: private::decrypt_inner - struct: pub::AwsKmsValue - impl: impl common_utils::ext_traits::ConfigExt for AwsKmsValue - impl: impl From<String> for AwsKmsValue - impl: impl From<Secret<String>> for AwsKmsValue - impl: impl hashicorp_vault::decrypt::VaultFetch for AwsKmsValue - impl: impl AwsKmsDecrypt for &AwsKmsValue **decrypt.rs** Remove: - function: private::try_decrypt_inner - trait: pub::AwsKmsDecrypt **hashicorp_vault.rs** Remove: - mod: pub::decrypt **decrypt.rs** Remove: - function: private::try_decrypt_inner - trait: pub::AwsKmsDecrypt **secret_handler.rs** Modify existing code **configs.rs** Remove: - mod: pub::aws_kms - mod: pub::hc_vault Add: - mod: pub::secrets_transformers **aws_kms.rs** Remove: - mod: pub::decrypt **defaults.rs** Modify existing code **hc_vault.rs** Remove: - function: private::fetch_inner - function: private::fetch_inner - function: private::fetch_inner - function: private::fetch_inner - impl: impl VaultFetch for settings::Jwekey - impl: impl VaultFetch for settings::Database - impl: impl VaultFetch for settings::PayPalOnboarding - impl: impl VaultFetch for settings::ConnectorOnboarding **secrets_transformers.rs** Modify existing code **settings.rs** Modify existing code **validations.rs** Modify existing code **connection.rs** Modify existing code **core.rs** Remove: - function: pub::get_aws_kms_client - function: private::is_empty_after_trim - function: private::from - function: private::from - function: private::fetch_inner - function: private::decrypt_inner - struct: pub::AwsKmsValue - impl: impl common_utils::ext_traits::ConfigExt for AwsKmsValue - impl: impl From<String> for AwsKmsValue - impl: impl From<Secret<String>> for AwsKmsValue - impl: impl hashicorp_vault::decrypt::VaultFetch for AwsKmsValue - impl: impl AwsKmsDecrypt for &AwsKmsValue **api_keys.rs** Modify existing code **transformers.rs** Modify existing code **connector_onboarding.rs** Modify existing code **paypal.rs** Modify existing code **currency.rs** Modify existing code **cards.rs** Modify existing code **transformers.rs** Modify existing code **session_flow.rs** Modify existing code **helpers.rs** Modify existing code **pm_auth.rs** Modify existing code **utils.rs** Modify existing code **verification.rs** Modify existing code **lib.rs** Modify existing code **routes.rs** Modify existing code **api_keys.rs** Modify existing code **app.rs** Modify existing code **metrics.rs** Modify existing code **verification.rs** Modify existing code **services.rs** Remove: - function: private::get_master_enc_key **api.rs** Modify existing code **authentication.rs** Remove: - function: pub::get_admin_api_key - function: pub::get_jwt_secret - function: pub::get_recon_admin_api_key **types.rs** Modify existing code **jwt.rs** Modify existing code **recon.rs** Modify existing code **paypal.rs** Modify existing code **currency.rs** Modify existing code
refactor(currency_conversion): add support for expiring forex data in redis (#7455) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **settings.rs** Modify existing code **currency.rs** Modify existing code **currency.rs** Modify existing code
feat(pm_list): add required fields for eps (#3169) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Modify existing code **defaults.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code
feat(router): implement `ApiKeyInterface` for `MockDb` (#1101) Co-authored-by: Derek Leverenz <[email protected]> Co-authored-by: Sanchith Hegde <[email protected]>
Files to modify: **db.rs** Modify existing code **api_keys.rs** Modify existing code **api_keys.rs** Modify existing code
feat(users): add support to verify 2FA using recovery code (#4737) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **user.rs** Modify existing code **user.rs** Modify existing code **settings.rs** Modify existing code **user.rs** Modify existing code **user.rs** Modify existing code **user.rs** Modify existing code **app.rs** Modify existing code **lock_utils.rs** Modify existing code **user.rs** Modify existing code **user.rs** Modify existing code **password.rs** Add: - function: pub::get_index_for_correct_recovery_code **two_factor_auth.rs** Add: - function: pub::insert_recovery_code_in_redis **types.rs** Modify existing code
feat(connector): [chargebee] consumes required fields to support transaction monitoring (#7774) Co-authored-by: Nishanth Challa <[email protected]> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Modify existing code **payment.rs** Modify existing code **types.rs** Modify existing code **transformers.rs** Add: - function: private::from - function: private::from - struct: pub::ChargebeeSubscriptionData - struct: pub::ChargebeeInvoicePayments - impl: impl From<ChargebeeInvoiceData> for api_models::payments::Address - impl: impl From<ChargebeeInvoiceBillingAddress> for api_models::payments::AddressDetails **transformers.rs** Add: - function: private::from - function: private::from - struct: pub::ChargebeeSubscriptionData - struct: pub::ChargebeeInvoicePayments - impl: impl From<ChargebeeInvoiceData> for api_models::payments::Address - impl: impl From<ChargebeeInvoiceBillingAddress> for api_models::payments::AddressDetails **lib.rs** Modify existing code **payments.rs** Modify existing code **revenue_recovery.rs** Modify existing code **connector_integration_interface.rs** Add: - function: private::get_revenue_recovery_invoice_details - function: private::get_revenue_recovery_attempt_details **webhooks.rs** Add: - function: private::get_billing_address_for_invoice **payment_attempt_record.rs** Modify existing code **transformers.rs** Add: - function: private::from - function: private::from - struct: pub::ChargebeeSubscriptionData - struct: pub::ChargebeeInvoicePayments - impl: impl From<ChargebeeInvoiceData> for api_models::payments::Address - impl: impl From<ChargebeeInvoiceBillingAddress> for api_models::payments::AddressDetails **recovery_incoming.rs** Modify existing code
refactor(connector): [STRIPE] Remove sofort bank redirect from stripe (#7733)
Files to modify: **transformers.rs** Remove: - enum: pub::BankSpecificData
feat(router): add connector field to PaymentRevenueRecoveryMetadata and implement schedule_failed_payment (#7462) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Add: - function: pub::get_retry_count - impl: impl FeatureMetadata **process_tracker.rs** Modify existing code **types.rs** Modify existing code **lib.rs** Modify existing code **payments.rs** Add: - function: pub::get_retry_count - impl: impl FeatureMetadata **revenue_recovery.rs** Modify existing code **router_data.rs** Modify existing code **api_keys.rs** Modify existing code **errors.rs** Modify existing code **passive_churn_recovery.rs** Modify existing code **payment_methods.rs** Modify existing code **vault.rs** Modify existing code **payments.rs** Add: - function: pub::get_retry_count - impl: impl FeatureMetadata **proxy_payments_intent.rs** Modify existing code **payouts.rs** Modify existing code **refunds.rs** Modify existing code **outgoing.rs** Modify existing code **recovery_incoming.rs** Add: - function: private::insert_execute_pcr_task
feat(payment_methods): Implement Process tracker workflow for Payment method Status update (#4668) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **process_tracker.rs** Modify existing code **scheduler.rs** Modify existing code **payment_methods.rs** Add: - function: private::generate_task_id_for_payment_method_status_update_workflow - function: pub::add_payment_method_status_update_task **cards.rs** Modify existing code **payment_method.rs** Add: - struct: pub::PaymentMethodStatusTrackingData **workflows.rs** Add: - mod: pub::payment_method_status_update **payment_method_status_update.rs** Add: - function: private::execute_workflow - function: private::error_handler - struct: pub::PaymentMethodStatusUpdateWorkflow - impl: impl ProcessTrackerWorkflow<SessionState> for PaymentMethodStatusUpdateWorkflow **utils.rs** Modify existing code
refactor(redis): spawn one subscriber thread for handling all the published messages to different channel (#5064)
Files to modify: **lib.rs** Modify existing code **configs.rs** Modify existing code **services.rs** Modify existing code **cache.rs** Modify existing code **pub_sub.rs** Modify existing code
fix(connectors): [Hipay] Fix 3DS Mandatory Fields (#7603) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **router_data.rs** Modify existing code **payment_connector_required_fields.rs** Modify existing code **transformers.rs** Modify existing code **flows.rs** Modify existing code **complete_authorize_flow.rs** Modify existing code **helpers.rs** Modify existing code **tokenization.rs** Modify existing code **types.rs** Modify existing code
feat(payment_method_session): implement payment methods session confirm (#7248) Co-authored-by: Sanchith Hegde <[email protected]> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Anurag Thakur <[email protected]> Co-authored-by: Pa1NarK <[email protected]> Co-authored-by: Shankar Singh C <[email protected]> Co-authored-by: Sai Harsha Vardhan <[email protected]> Co-authored-by: hrithikesh026 <[email protected]> Co-authored-by: Debarati Ghatak <[email protected]> Co-authored-by: awasthi21 <[email protected]> Co-authored-by: Gnanasundari24 <[email protected]> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Arindam Sahoo <[email protected]> Co-authored-by: Arindam Sahoo <[email protected]> Co-authored-by: Sakil Mostak <[email protected]> Co-authored-by: AkshayaFoiger <[email protected]> Co-authored-by: Riddhiagrawal001 <[email protected]> Co-authored-by: Suman Maji <[email protected]> Co-authored-by: Sandeep Kumar <[email protected]> Co-authored-by: Debarshi Gupta <[email protected]> Co-authored-by: Debarshi Gupta <[email protected]> Co-authored-by: Sanchith Hegde <[email protected]> Co-authored-by: Swangi Kumari <[email protected]> Co-authored-by: pranav-arjunan <[email protected]> Co-authored-by: Kashif <[email protected]> Co-authored-by: Sagnik Mitra <[email protected]> Co-authored-by: sweta-kumari-sharma <[email protected]> Co-authored-by: shivansh.mathur <[email protected]>
Files to modify: **events.rs** Remove: - impl: impl ApiEventMetric for PaymentMethodsSessionResponse Add: - impl: impl ApiEventMetric for PaymentMethodsSessionUpdateRequest - impl: impl ApiEventMetric for PaymentMethodSessionResponse **payment.rs** Remove: - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for payments::PaymentsResponse - impl: impl ApiEventMetric for PaymentsConfirmIntentResponse **payment_methods.rs** Remove: - struct: pub::PaymentMethodsSessionResponse Add: - struct: pub::ConnectorTokenDetails - struct: pub::PaymentMethodsSessionUpdateRequest - struct: pub::PaymentMethodSessionConfirmRequest - struct: pub::PaymentMethodSessionResponse - struct: pub::AuthenticationDetails **payments.rs** Remove: - struct: pub::PaymentsResponse - struct: pub::PaymentsConfirmIntentResponse Add: - function: pub::new_for_zero_auth_payment - function: private::try_from - impl: impl AmountDetails - impl: impl TryFrom<payment_methods::CardDetail> for Card **webhooks.rs** Modify existing code **enums.rs** Add: - enum: pub::ConnectorTokenStatus **payment_methods.rs** Remove: - struct: pub::PaymentMethodsSessionResponse Add: - struct: pub::ConnectorTokenDetails - struct: pub::PaymentMethodsSessionUpdateRequest - struct: pub::PaymentMethodSessionConfirmRequest - struct: pub::PaymentMethodSessionResponse - struct: pub::AuthenticationDetails **macros.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_method.rs** Add: - function: private::deref - function: private::deref_mut - function: pub::insert_payment_token_reference_record - function: private::from_sql - struct: pub::CommonMandateReference - impl: impl std::ops::Deref for PaymentsTokenReference - impl: impl std::ops::DerefMut for PaymentsTokenReference - impl: impl diesel::deserialize::FromSql<diesel::sql_types::Jsonb, DB> for CommonMandateReference **payment_methods_session.rs** Remove: - struct: pub::PaymentMethodsSession Add: - function: pub::apply_changeset - struct: pub::PaymentMethodSession - struct: pub::PaymentMethodsSessionUpdateInternal - impl: impl PaymentMethodSession **api.rs** Add: - function: pub::get_json_body - impl: impl ApplicationResponse<R> **mandates.rs** Remove: - struct: pub::PaymentsMandateReferenceRecord Add: - function: private::deref_mut - function: pub::insert_payment_token_reference_record - function: private::from - function: private::from - struct: pub::ConnectorTokenReferenceRecord - struct: pub::CommonMandateReference - impl: impl std::ops::DerefMut for PaymentsTokenReference - impl: impl From<diesel_models::PaymentsTokenReference> for PaymentsTokenReference - impl: impl From<PaymentsTokenReference> for diesel_models::PaymentsTokenReference **merchant_account.rs** Modify existing code **payment_methods.rs** Remove: - struct: pub::PaymentMethodsSessionResponse Add: - struct: pub::ConnectorTokenDetails - struct: pub::PaymentMethodsSessionUpdateRequest - struct: pub::PaymentMethodSessionConfirmRequest - struct: pub::PaymentMethodSessionResponse - struct: pub::AuthenticationDetails **payment_attempt.rs** Modify existing code **router_data.rs** Modify existing code **router_response_types.rs** Modify existing code **openapi_v2.rs** Modify existing code **payment_method.rs** Add: - function: private::deref - function: private::deref_mut - function: pub::insert_payment_token_reference_record - function: private::from_sql - struct: pub::CommonMandateReference - impl: impl std::ops::Deref for PaymentsTokenReference - impl: impl std::ops::DerefMut for PaymentsTokenReference - impl: impl diesel::deserialize::FromSql<diesel::sql_types::Jsonb, DB> for CommonMandateReference **payments.rs** Remove: - struct: pub::PaymentsResponse - struct: pub::PaymentsConfirmIntentResponse Add: - function: pub::new_for_zero_auth_payment - function: private::try_from - impl: impl AmountDetails - impl: impl TryFrom<payment_methods::CardDetail> for Card **admin.rs** Modify existing code **payment_methods.rs** Remove: - struct: pub::PaymentMethodsSessionResponse Add: - struct: pub::ConnectorTokenDetails - struct: pub::PaymentMethodsSessionUpdateRequest - struct: pub::PaymentMethodSessionConfirmRequest - struct: pub::PaymentMethodSessionResponse - struct: pub::AuthenticationDetails **transformers.rs** Add: - function: pub::generate_payment_method_session_response - function: private::foreign_from - impl: impl transformers::ForeignFrom<api_models::payment_methods::ConnectorTokenDetails> for hyperswitch_domain_models::mandates::ConnectorTokenReferenceRecord **payments.rs** Remove: - struct: pub::PaymentsResponse - struct: pub::PaymentsConfirmIntentResponse Add: - function: pub::new_for_zero_auth_payment - function: private::try_from - impl: impl AmountDetails - impl: impl TryFrom<payment_methods::CardDetail> for Card **payment_confirm_intent.rs** Modify existing code **payment_response.rs** Add: - function: private::save_pm_and_mandate **tokenization.rs** Modify existing code **transformers.rs** Add: - function: pub::generate_payment_method_session_response - function: private::foreign_from - impl: impl transformers::ForeignFrom<api_models::payment_methods::ConnectorTokenDetails> for hyperswitch_domain_models::mandates::ConnectorTokenReferenceRecord **payouts.rs** Modify existing code **incoming_v2.rs** Modify existing code **recovery_incoming.rs** Modify existing code **kafka_store.rs** Add: - function: private::update_payment_method_session **payment_method_session.rs** Add: - function: private::update_payment_method_session - function: private::update_payment_method_session **lib.rs** Modify existing code **routes.rs** Modify existing code **app.rs** Remove: - struct: pub::PaymentMethodsSession - impl: impl PaymentMethodsSession Add: - struct: pub::PaymentMethodSession - impl: impl PaymentMethodSession **lock_utils.rs** Modify existing code **payment_methods.rs** Remove: - struct: pub::PaymentMethodsSessionResponse Add: - struct: pub::ConnectorTokenDetails - struct: pub::PaymentMethodsSessionUpdateRequest - struct: pub::PaymentMethodSessionConfirmRequest - struct: pub::PaymentMethodSessionResponse - struct: pub::AuthenticationDetails **payments.rs** Remove: - struct: pub::PaymentsResponse - struct: pub::PaymentsConfirmIntentResponse Add: - function: pub::new_for_zero_auth_payment - function: private::try_from - impl: impl AmountDetails - impl: impl TryFrom<payment_methods::CardDetail> for Card **types.rs** Modify existing code **errors.rs** Modify existing code
chore: address Rust 1.78 clippy lints (#4545) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **clickhouse.rs** Modify existing code **lib.rs** Modify existing code **accumulator.rs** Modify existing code **query.rs** Modify existing code **refunds.rs** Remove: - trait: pub::RefundAnalytics **sdk_events.rs** Remove: - trait: pub::SDKEventAnalytics - trait: pub::SdkEventAnalytics **sqlx.rs** Modify existing code **types.rs** Remove: - trait: pub::RefundAnalytics - trait: pub::SdkEventAnalytics **admin.rs** Modify existing code **api_keys.rs** Modify existing code **payments.rs** Modify existing code **routing.rs** Modify existing code **dashboard_metadata.rs** Modify existing code **crypto.rs** Modify existing code **ext_traits.rs** Modify existing code **pii.rs** Modify existing code **static_cache.rs** Modify existing code **transformer.rs** Modify existing code **encryption.rs** Modify existing code **payment_attempt.rs** Modify existing code **payout_attempt.rs** Modify existing code **handler.rs** Modify existing code **lib.rs** Modify existing code **graph.rs** Modify existing code **parser.rs** Modify existing code **knowledge.rs** Modify existing code **lib.rs** Modify existing code **mandates.rs** Modify existing code **diesel.rs** Modify existing code **openapi.rs** Modify existing code **types.rs** Remove: - trait: pub::RefundAnalytics - trait: pub::SdkEventAnalytics **analytics.rs** Modify existing code **scheduler.rs** Modify existing code **types.rs** Remove: - trait: pub::RefundAnalytics - trait: pub::SdkEventAnalytics **settings.rs** Remove: - struct: pub::BankRedirectConfig Add: - struct: pub::BankRedirectConfig **transformers.rs** Modify existing code **transformers.rs** Modify existing code **airwallex.rs** Modify existing code **transformers.rs** Modify existing code **authorizedotnet.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **bankofamerica.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **braintree.rs** Modify existing code **braintree_graphql_transformers.rs** Remove: - impl: impl TryFrom<( &types::api::CurrencyUnit, types::storage::enums::Currency, i64, T, )> for BraintreeRouterData<T> Add: - impl: impl TryFrom<(&api::CurrencyUnit, enums::Currency, i64, T)> for BraintreeRouterData<T> **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **coinbase.rs** Modify existing code **transformers.rs** Modify existing code **cybersource.rs** Modify existing code **transformers.rs** Modify existing code **dlocal.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **nexinets.rs** Modify existing code **transformers.rs** Modify existing code **nuvei.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **paypal.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **rapyd.rs** Modify existing code **transformers.rs** Modify existing code **shift4.rs** Modify existing code **transformers.rs** Modify existing code **signifyd.rs** Modify existing code **transformers.rs** Modify existing code **stax.rs** Modify existing code **transformers.rs** Modify existing code **stripe.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **worldpay.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **admin.rs** Modify existing code **api_keys.rs** Modify existing code **authentication.rs** Modify existing code **transformers.rs** Modify existing code **customers.rs** Modify existing code **errors.rs** Modify existing code **files.rs** Modify existing code **fraud_check.rs** Modify existing code **mandate.rs** Modify existing code **payment_link.rs** Modify existing code **cards.rs** Modify existing code **transformers.rs** Modify existing code **payments.rs** Modify existing code **access_token.rs** Modify existing code **authorize_flow.rs** Modify existing code **complete_authorize_flow.rs** Modify existing code **helpers.rs** Modify existing code **payment_approve.rs** Modify existing code **payment_cancel.rs** Modify existing code **payment_create.rs** Modify existing code **payment_response.rs** Modify existing code **payment_status.rs** Modify existing code **payment_update.rs** Modify existing code **tokenization.rs** Modify existing code **transformers.rs** Modify existing code **helpers.rs** Modify existing code **retry.rs** Modify existing code **pm_auth.rs** Modify existing code **dashboard_metadata.rs** Modify existing code **utils.rs** Modify existing code **verification.rs** Modify existing code **webhooks.rs** Modify existing code **utils.rs** Modify existing code **db.rs** Modify existing code **business_profile.rs** Modify existing code **cache.rs** Modify existing code **dispute.rs** Modify existing code **user_role.rs** Modify existing code **lib.rs** Modify existing code **api_keys.rs** Modify existing code **request.rs** Modify existing code **payments.rs** Modify existing code **recon.rs** Modify existing code **user.rs** Modify existing code **webhooks.rs** Modify existing code **api.rs** Modify existing code **client.rs** Modify existing code **authentication.rs** Modify existing code **pm_auth.rs** Modify existing code **customers.rs** Modify existing code **payments.rs** Modify existing code **verify_connector.rs** Modify existing code **customer.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Modify existing code **currency.rs** Modify existing code **user.rs** Modify existing code **aci.rs** Modify existing code **adyen.rs** Modify existing code **airwallex.rs** Modify existing code **authorizedotnet.rs** Modify existing code **bambora.rs** Modify existing code **bankofamerica.rs** Modify existing code **billwerk.rs** Modify existing code **bitpay.rs** Modify existing code **bluesnap.rs** Modify existing code **boku.rs** Modify existing code **cashtocode.rs** Modify existing code **checkout.rs** Modify existing code **coinbase.rs** Modify existing code **cryptopay.rs** Modify existing code **cybersource.rs** Modify existing code **dlocal.rs** Modify existing code **dummyconnector.rs** Modify existing code **ebanx.rs** Modify existing code **fiserv.rs** Modify existing code **forte.rs** Modify existing code **globalpay.rs** Modify existing code **globepay.rs** Modify existing code **gocardless.rs** Modify existing code **helcim.rs** Modify existing code **iatapay.rs** Modify existing code **main.rs** Modify existing code **mollie.rs** Modify existing code **multisafepay.rs** Modify existing code **netcetera.rs** Modify existing code **nexinets.rs** Modify existing code **nmi.rs** Modify existing code **noon.rs** Modify existing code **nuvei.rs** Modify existing code **opayo.rs** Modify existing code **opennode.rs** Modify existing code **payme.rs** Modify existing code **paypal.rs** Modify existing code **payu.rs** Modify existing code **placetopay.rs** Modify existing code **powertranz.rs** Modify existing code **prophetpay.rs** Modify existing code **rapyd.rs** Modify existing code **shift4.rs** Modify existing code **square.rs** Modify existing code **stax.rs** Modify existing code **stripe.rs** Modify existing code **trustpay.rs** Modify existing code **tsys.rs** Modify existing code **utils.rs** Modify existing code **volt.rs** Modify existing code **wise.rs** Modify existing code **worldline.rs** Modify existing code **worldpay.rs** Modify existing code **zen.rs** Modify existing code **payments.rs** Modify existing code **payments2.rs** Modify existing code **helpers.rs** Modify existing code **helpers.rs** Modify existing code **try_get_enum.rs** Modify existing code **setup.rs** Modify existing code **producer.rs** Modify existing code **utils.rs** Modify existing code **errors.rs** Modify existing code **lib.rs** Modify existing code **mock_db.rs** Modify existing code **payment_intent.rs** Modify existing code **newman_runner.rs** Modify existing code
fix(core): Replace euclid enum with RoutableConnectors enum (#2994) Signed-off-by: chikke srujan <[email protected]> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **mod.rs** Modify existing code **enums.rs** Remove: - enum: pub::RoutableConnectors **routing.rs** Modify existing code **enums.rs** Remove: - enum: pub::RoutableConnectors **enums.rs** Remove: - enum: pub::RoutableConnectors **ast.rs** Modify existing code **dir.rs** Modify existing code **enums.rs** Remove: - enum: pub::RoutableConnectors **lib.rs** Modify existing code **mca.rs** Modify existing code **payments.rs** Modify existing code **transformers.rs** Remove: - function: private::foreign_from - impl: impl ForeignFrom<api_enums::RoutableConnectors> for dsl_enums::Connector **transformers.rs** Remove: - function: private::foreign_from - impl: impl ForeignFrom<api_enums::RoutableConnectors> for dsl_enums::Connector
fix(connector): [Peachpayments] Fix Bugs (#9393) Co-authored-by: Anurag Singh <[email protected]>
Files to modify: **transformers.rs** Remove: - function: private::from - struct: pub::CardDetails - struct: pub::ThreeDSData - enum: pub::ResponseCodeValue - impl: impl From<&str> for AuthenticationStatus Add: - function: private::get_error_code - enum: pub::MerchantType - enum: pub::Route **payment_connector_required_fields.rs** Modify existing code
refactor: add mapping for ConnectorError in payouts flow (#2608) Co-authored-by: Kashif <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Kashif <[email protected]>
Files to modify: **payouts.rs** Modify existing code **payout_attempt.rs** Modify existing code **schema.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Modify existing code **payouts.rs** Modify existing code **validator.rs** Modify existing code **utils.rs** Modify existing code
refactor(tenant): use tenant id type (#6643) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **id_type.rs** Add: - mod: private::tenant **organization.rs** Modify existing code **tenant.rs** Add: - function: pub::try_from_string - impl: impl TenantId **theme.rs** Modify existing code **theme.rs** Modify existing code **user_role.rs** Modify existing code **handler.rs** Modify existing code **health_check.rs** Modify existing code **lib.rs** Modify existing code **settings.rs** Remove: - struct: pub::TenantConfig Add: - struct: pub::TenantConfig **settings.rs** Remove: - struct: pub::TenantConfig Add: - struct: pub::TenantConfig **transformers.rs** Modify existing code **helpers.rs** Modify existing code **user.rs** Modify existing code **events.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **merchant_key_store.rs** Modify existing code **app.rs** Modify existing code **api.rs** Modify existing code **authentication.rs** Modify existing code **authorization.rs** Modify existing code **user.rs** Modify existing code **user.rs** Modify existing code **cache.rs** Modify existing code **aci.rs** Modify existing code **utils.rs** Modify existing code **payments.rs** Modify existing code **payments2.rs** Modify existing code **services.rs** Modify existing code **consumer.rs** Modify existing code **producer.rs** Modify existing code **scheduler.rs** Modify existing code
feat: add support for 3ds exemption rules in euclid crate (#8013)
Files to modify: **lib.rs** Add: - mod: pub::three_ds_decision_rule_engine **three_ds_decision_rule_engine.rs** Add: - struct: pub::ThreeDSDecisionRule - enum: pub::ThreeDSDecision - impl: impl EuclidDirFilter for ThreeDSDecisionRule **graph.rs** Modify existing code **lowering.rs** Modify existing code **dir.rs** Modify existing code **enums.rs** Add: - enum: pub::CustomerDevicePlatform - enum: pub::CustomerDeviceType - enum: pub::CustomerDeviceDisplaySize **lowering.rs** Modify existing code **types.rs** Modify existing code **lib.rs** Add: - mod: pub::three_ds_decision_rule_engine
feat(vsaas): enable onboarding of Standard Merchant Accounts in Platform Organization (#8231) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **user.rs** Modify existing code **enums.rs** Modify existing code **accounts.rs** Add: - enum: pub::MerchantAccountRequestType **openapi.rs** Modify existing code **settings.rs** Modify existing code **validations.rs** Add: - function: pub::validate - impl: impl super::settings::Platform **admin.rs** Modify existing code **app.rs** Modify existing code **authentication.rs** Remove: - struct: pub::AdminApiAuthWithApiKeyFallback Add: - struct: pub::AdminApiAuthWithApiKeyFallback **user.rs** Modify existing code **user.rs** Modify existing code
feat(payment_link): add status page for payment link (#3213) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Kashif <[email protected]> Co-authored-by: Kashif <[email protected]> Co-authored-by: hrithikeshvm <[email protected]> Co-authored-by: hrithikeshvm <[email protected]> Co-authored-by: Sahkal Poddar <[email protected]>
Files to modify: **payments.rs** Add: - struct: pub::PaymentLinkStatusDetails - enum: pub::PaymentLinkData **wrap.rs** Modify existing code **payment_link.rs** Add: - function: private::check_payment_link_invalid_conditions **api.rs** Modify existing code **payment_link.rs** Add: - function: private::check_payment_link_invalid_conditions
fix(connector): [AUTHORIZEDOTNET] Fix status mapping (#3845)
Files to modify: **authorizedotnet.rs** Modify existing code **transformers.rs** Modify existing code
feat(kms): reduce redundant kms calls (#1264)
Files to modify: **configs.rs** Add: - mod: pub::kms **kms.rs** Add: - function: private::decrypt_inner - function: private::decrypt_inner - trait: pub::KmsDecrypt - impl: impl KmsDecrypt for settings::Jwekey - impl: impl KmsDecrypt for settings::ActiveKmsSecrets **settings.rs** Add: - struct: pub::ActiveKmsSecrets **cards.rs** Modify existing code **transformers.rs** Modify existing code **vault.rs** Modify existing code **helpers.rs** Modify existing code **app.rs** Modify existing code
feat: core changes for extended authorization (#6766) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **payments.rs** Modify existing code **trait_impls.rs** Modify existing code **connector_enums.rs** Add: - function: pub::get_payment_methods_supporting_extended_authorization - function: pub::get_payment_method_types_supporting_extended_authorization **lib.rs** Add: - mod: pub::primitive_wrappers **primitive_wrappers.rs** Add: - function: private::deref - function: private::from - function: private::to_sql - function: private::from_sql - function: private::deref - function: private::from - function: pub::is_true - function: private::to_sql - function: private::from_sql - function: private::deref - function: private::to_sql - function: private::from_sql - struct: pub::ExtendedAuthorizationAppliedBool - struct: pub::RequestExtendedAuthorizationBool - struct: pub::AlwaysRequestExtendedAuthorization - impl: impl Deref for ExtendedAuthorizationAppliedBool - impl: impl From<bool> for ExtendedAuthorizationAppliedBool - impl: impl diesel::serialize::ToSql<diesel::sql_types::Bool, DB> for ExtendedAuthorizationAppliedBool - impl: impl diesel::deserialize::FromSql<diesel::sql_types::Bool, DB> for ExtendedAuthorizationAppliedBool - impl: impl Deref for RequestExtendedAuthorizationBool - impl: impl From<bool> for RequestExtendedAuthorizationBool - impl: impl RequestExtendedAuthorizationBool - impl: impl diesel::serialize::ToSql<diesel::sql_types::Bool, DB> for RequestExtendedAuthorizationBool - impl: impl diesel::deserialize::FromSql<diesel::sql_types::Bool, DB> for RequestExtendedAuthorizationBool - impl: impl Deref for AlwaysRequestExtendedAuthorization - impl: impl diesel::serialize::ToSql<diesel::sql_types::Bool, DB> for AlwaysRequestExtendedAuthorization - impl: impl diesel::deserialize::FromSql<diesel::sql_types::Bool, DB> for AlwaysRequestExtendedAuthorization - mod: private::bool_wrappers **business_profile.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **sample_data.rs** Modify existing code **utils.rs** Modify existing code **business_profile.rs** Modify existing code **payments.rs** Modify existing code **payment_attempt.rs** Modify existing code **router_data.rs** Add: - function: pub::get_extended_authorization_response_data - struct: pub::ExtendedAuthorizationResponseData **router_request_types.rs** Modify existing code **payments.rs** Modify existing code **operations.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_response.rs** Modify existing code **retry.rs** Modify existing code **transformers.rs** Modify existing code **types.rs** Modify existing code **verify_connector.rs** Modify existing code **utils.rs** Modify existing code
refactor(router): modify `net_amount` to be a struct in the domain model of payment_attempt and handle amount changes across all flows (#6252) Co-authored-by: swangi-kumari <[email protected]> Co-authored-by: Swangi Kumari <[email protected]> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payment_methods.rs** Modify existing code **payments.rs** Add: - function: pub::get_surcharge_amount - function: pub::get_tax_amount **payment_attempt.rs** Remove: - function: pub::get_or_calculate_net_amount - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - impl: impl PaymentAttempt - impl: impl PaymentAttemptNew - impl: impl PaymentAttemptNew **payment_attempt.rs** Remove: - function: pub::get_or_calculate_net_amount - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - impl: impl PaymentAttempt - impl: impl PaymentAttemptNew - impl: impl PaymentAttemptNew **payment_attempt.rs** Remove: - function: pub::get_or_calculate_net_amount - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - impl: impl PaymentAttempt - impl: impl PaymentAttemptNew - impl: impl PaymentAttemptNew **router_request_types.rs** Modify existing code **checkout_flow.rs** Modify existing code **fulfillment_flow.rs** Modify existing code **record_return.rs** Modify existing code **sale_flow.rs** Modify existing code **transaction_flow.rs** Modify existing code **payment_link.rs** Modify existing code **cards.rs** Modify existing code **surcharge_decision_configs.rs** Modify existing code **payments.rs** Add: - function: pub::get_surcharge_amount - function: pub::get_tax_amount **helpers.rs** Modify existing code **payment_complete_authorize.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_response.rs** Modify existing code **payment_update.rs** Modify existing code **payments_incremental_authorization.rs** Modify existing code **retry.rs** Modify existing code **routing.rs** Modify existing code **transformers.rs** Modify existing code **types.rs** Modify existing code **refunds.rs** Modify existing code **payment_attempt.rs** Remove: - function: pub::get_or_calculate_net_amount - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - impl: impl PaymentAttempt - impl: impl PaymentAttemptNew - impl: impl PaymentAttemptNew **payment_attempt_event.rs** Modify existing code **types.rs** Modify existing code **payment_attempt.rs** Remove: - function: pub::get_or_calculate_net_amount - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - impl: impl PaymentAttempt - impl: impl PaymentAttemptNew - impl: impl PaymentAttemptNew **transformers.rs** Modify existing code **payment_attempt.rs** Remove: - function: pub::get_or_calculate_net_amount - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - impl: impl PaymentAttempt - impl: impl PaymentAttemptNew - impl: impl PaymentAttemptNew **payment_attempt.rs** Remove: - function: pub::get_or_calculate_net_amount - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - function: pub::calculate_net_amount - function: pub::get_or_calculate_net_amount - function: pub::populate_derived_fields - impl: impl PaymentAttempt - impl: impl PaymentAttemptNew - impl: impl PaymentAttemptNew
feat(connector): [MULTISAFEPAY, CASHTOCODE, WORLDPAY, WELLSFARGO] Supported features for feature matrix (#7149) Co-authored-by: AkshayaFoiger <[email protected]> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Debarshi Gupta <[email protected]> Co-authored-by: AkshayaFoiger <[email protected]> Co-authored-by: debarshi.gupta <[email protected]>
Files to modify: **cashtocode.rs** Remove: - function: private::validate_connector_against_payment_request - impl: impl ConnectorValidation for Cashtocode - impl: impl ConnectorSpecifications for Cashtocode Add: - function: private::get_connector_about - function: private::get_supported_payment_methods - function: private::get_supported_webhook_flows - impl: impl ConnectorValidation for Cashtocode - impl: impl ConnectorSpecifications for Cashtocode **deutschebank.rs** Modify existing code **multisafepay.rs** Remove: - function: private::validate_connector_against_payment_request - impl: impl ConnectorSpecifications for Multisafepay Add: - function: private::get_connector_about - function: private::get_supported_payment_methods - function: private::get_supported_webhook_flows - impl: impl ConnectorSpecifications for Multisafepay **wellsfargo.rs** Remove: - function: private::validate_connector_against_payment_request - impl: impl ConnectorSpecifications for Wellsfargo Add: - function: private::get_connector_about - function: private::get_supported_payment_methods - function: private::get_supported_webhook_flows - impl: impl ConnectorSpecifications for Wellsfargo **worldpay.rs** Remove: - function: private::validate_connector_against_payment_request - impl: impl ConnectorSpecifications for Worldpay Add: - function: private::get_connector_about - function: private::get_supported_payment_methods - function: private::get_supported_webhook_flows - impl: impl ConnectorSpecifications for Worldpay
feat(core): Hyperswitch <|> UCS Mandate flow integration (#8738) Co-authored-by: Aishwariyaa Anand <[email protected]> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **unified_connector_service.rs** Add: - function: private::payment_setup_mandate - function: pub::payment_repeat **authorize_flow.rs** Add: - function: private::call_unified_connector_service_authorize - function: private::call_unified_connector_service_repeat_payment **setup_mandate_flow.rs** Add: - function: private::call_unified_connector_service **unified_connector_service.rs** Add: - function: private::payment_setup_mandate - function: pub::payment_repeat **transformers.rs** Add: - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - impl: impl ForeignTryFrom<&RouterData<SetupMandate, SetupMandateRequestData, PaymentsResponseData>> for payments_grpc::PaymentServiceRegisterRequest - impl: impl ForeignTryFrom<&RouterData<Authorize, PaymentsAuthorizeData, PaymentsResponseData>> for payments_grpc::PaymentServiceRepeatEverythingRequest - impl: impl ForeignTryFrom<payments_grpc::PaymentServiceAuthorizeResponse> for Result<PaymentsResponseData, ErrorResponse> - impl: impl ForeignTryFrom<payments_grpc::PaymentServiceGetResponse> for Result<PaymentsResponseData, ErrorResponse> - impl: impl ForeignTryFrom<payments_grpc::PaymentServiceRegisterResponse> for Result<PaymentsResponseData, ErrorResponse> - impl: impl ForeignTryFrom<payments_grpc::PaymentServiceRepeatEverythingResponse> for Result<PaymentsResponseData, ErrorResponse> - impl: impl ForeignTryFrom<storage_enums::FutureUsage> for payments_grpc::FutureUsage - impl: impl ForeignTryFrom<common_types::payments::CustomerAcceptance> for payments_grpc::CustomerAcceptance
feat(connector): [Adyen] Implement Boleto Bancario in Vouchers and Add support for Voucher in Next Action (#1657) Co-authored-by: Pa1NarK <[email protected]>
Files to modify: **payments.rs** Add: - struct: pub::VoucherNextStepData **types.rs** Modify existing code **types.rs** Modify existing code **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: pub::get_present_to_shopper_response - struct: pub::AdyenPtsResponse - struct: pub::AdyenPtsAction - struct: pub::AdyenMetaData - impl: impl TryFrom<&api_models::payments::VoucherData> for AdyenPaymentMethod<'a> - impl: impl TryFrom<( &types::PaymentsAuthorizeRouterData, &api_models::payments::VoucherData, )> for AdyenPaymentRequest<'a> **payments.rs** Add: - struct: pub::VoucherNextStepData **helpers.rs** Modify existing code **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: pub::get_present_to_shopper_response - struct: pub::AdyenPtsResponse - struct: pub::AdyenPtsAction - struct: pub::AdyenMetaData - impl: impl TryFrom<&api_models::payments::VoucherData> for AdyenPaymentMethod<'a> - impl: impl TryFrom<( &types::PaymentsAuthorizeRouterData, &api_models::payments::VoucherData, )> for AdyenPaymentRequest<'a> **openapi.rs** Modify existing code
feat(core): [Retry] MIT Retries (#8628)
Files to modify: **mandates.rs** Add: - function: private::from - impl: impl From<&PaymentsMandateReferenceRecord> for RecurringMandatePaymentData **debit_routing.rs** Modify existing code **payments.rs** Add: - function: pub::get_mandate_reference_id - function: private::from - function: pub::new - function: pub::with_mandate_flow - function: pub::with_network_tokenization - function: pub::with_card_network_transaction_id - function: pub::build - struct: pub::ActionTypesBuilder - impl: impl From<NTWithNTIRef> for payments_api::NetworkTokenWithNTIRef - impl: impl ActionTypesBuilder **retry.rs** Modify existing code **api.rs** Modify existing code **fraud_check.rs** Modify existing code
chore(users): add hubspot tracking to prod intent (#7798) Co-authored-by: Gnanasundari24 <[email protected]>
Files to modify: **dashboard_metadata.rs** Modify existing code **consts.rs** Modify existing code **crm.rs** Add: - function: pub::validate - function: private::fmt - function: pub::validate - function: pub::get_crm_client - function: private::make_body - function: private::make_request - function: private::send_request - function: private::make_body - function: private::make_request - function: private::send_request - struct: pub::HubspotProxyConfig - struct: pub::InvalidCrmConfig - struct: pub::NoCrm - enum: pub::CrmManagerConfig - impl: impl HubspotProxyConfig - impl: impl std::error::Error for InvalidCrmConfig - impl: impl std::fmt::Display for InvalidCrmConfig - impl: impl CrmManagerConfig - impl: impl CrmInterface for NoCrm - impl: impl CrmInterface for HubspotProxyConfig **http_client.rs** Add: - function: pub::send_request - function: private::is_connection_closed_before_message_could_complete - mod: pub::client - mod: pub::metrics - mod: pub::request **client.rs** Add: - function: pub::create_client - function: pub::get_client_builder - function: pub::create_identity_from_certificate_and_key - function: pub::create_certificate - function: private::get_base_client **metrics.rs** Modify existing code **request.rs** Add: - function: private::construct_header_map - function: private::add_headers - trait: pub::HeaderExt - trait: pub::RequestBuilderExt - impl: impl HeaderExt for Headers - impl: impl RequestBuilderExt for reqwest::RequestBuilder **hubspot_proxy.rs** Add: - function: pub::new - struct: pub::HubspotRequest - impl: impl HubspotRequest **lib.rs** Add: - mod: pub::http_client - mod: pub::hubspot_proxy - mod: pub::crm **crm.rs** Add: - function: pub::validate - function: private::fmt - function: pub::validate - function: pub::get_crm_client - function: private::make_body - function: private::make_request - function: private::send_request - function: private::make_body - function: private::make_request - function: private::send_request - struct: pub::HubspotProxyConfig - struct: pub::InvalidCrmConfig - struct: pub::NoCrm - enum: pub::CrmManagerConfig - impl: impl HubspotProxyConfig - impl: impl std::error::Error for InvalidCrmConfig - impl: impl std::fmt::Display for InvalidCrmConfig - impl: impl CrmManagerConfig - impl: impl CrmInterface for NoCrm - impl: impl CrmInterface for HubspotProxyConfig **errors.rs** Add: - function: private::switch - enum: pub::HttpClientError - impl: impl ErrorSwitch<ApiClientError> for HttpClientError **lib.rs** Add: - mod: pub::http_client - mod: pub::hubspot_proxy - mod: pub::crm **types.rs** Add: - function: private::default - struct: pub::Proxy - impl: impl Default for Proxy **defaults.rs** Remove: - function: private::default - impl: impl Default for super::settings::Proxy **secrets_transformers.rs** Modify existing code **settings.rs** Modify existing code **consts.rs** Modify existing code **admin.rs** Modify existing code **paypal.rs** Modify existing code **recon.rs** Modify existing code **user.rs** Modify existing code **dashboard_metadata.rs** Modify existing code **app.rs** Modify existing code **metrics.rs** Modify existing code **api.rs** Remove: - function: pub::send_request - function: private::is_connection_closed_before_message_could_complete **client.rs** Add: - function: pub::create_client - function: pub::get_client_builder - function: pub::create_identity_from_certificate_and_key - function: pub::create_certificate - function: private::get_base_client **request.rs** Add: - function: private::construct_header_map - function: private::add_headers - trait: pub::HeaderExt - trait: pub::RequestBuilderExt - impl: impl HeaderExt for Headers - impl: impl RequestBuilderExt for reqwest::RequestBuilder **types.rs** Add: - function: private::default - struct: pub::Proxy - impl: impl Default for Proxy **openidconnect.rs** Modify existing code **user.rs** Modify existing code **api_key_expiry.rs** Modify existing code
fix(router): Update request body for migrate-batch api (#6429) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payment_methods.rs** Modify existing code **migration.rs** Modify existing code **payment_methods.rs** Modify existing code
feat(connector): [Paypal] implement vaulting for paypal wallet and cards while purchasing (#5323) Co-authored-by: swangi-kumari <[email protected]>
Files to modify: **router_request_types.rs** Modify existing code **paypal.rs** Add: - function: private::validate_mandate_payment **transformers.rs** Add: - struct: pub::CardRequestStruct - struct: pub::VaultStruct - struct: pub::PaypalRedirectionStruct - struct: pub::Attributes - struct: pub::PaypalRedirectionResponse - struct: pub::AttributeResponse - struct: pub::PaypalVault - struct: pub::PaypalVaultResponse - struct: pub::CustomerId - enum: pub::StoreInVault - enum: pub::UsageType - enum: pub::PaymentSourceItemResponse **transformers.rs** Add: - struct: pub::CardRequestStruct - struct: pub::VaultStruct - struct: pub::PaypalRedirectionStruct - struct: pub::Attributes - struct: pub::PaypalRedirectionResponse - struct: pub::AttributeResponse - struct: pub::PaypalVault - struct: pub::PaypalVaultResponse - struct: pub::CustomerId - enum: pub::StoreInVault - enum: pub::UsageType - enum: pub::PaymentSourceItemResponse
fix: use encrypt api for all encryption and decryption (#5379)
Files to modify: **merchant_account.rs** Modify existing code **merchant_key_store.rs** Modify existing code **payment_attempt.rs** Modify existing code **type_encryption.rs** Add: - function: pub::decrypt_optional **admin.rs** Modify existing code **customers.rs** Modify existing code **cards.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **pm_auth.rs** Modify existing code **outgoing.rs** Modify existing code **admin.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **types.rs** Modify existing code **user.rs** Modify existing code **user_key_store.rs** Modify existing code **user.rs** Modify existing code
refactor: include binary name in `crates_to_filter` for logging (#1689)
Files to modify: **env.rs** Modify existing code **router.rs** Modify existing code **scheduler.rs** Modify existing code **env.rs** Modify existing code **build.rs** Add: - mod: private::vergen - mod: private::cargo_workspace **cargo_workspace.rs** Add: - function: pub::set_cargo_workspace_members_env - function: pub::verify_cargo_metadata_format **lib.rs** Add: - mod: pub::cargo_workspace **setup.rs** Modify existing code
refactor(core): patch file for removal of id from schema (#5398) Co-authored-by: Narayan Bhat <[email protected]> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Narayan Bhat <[email protected]>
Files to modify: **id_type.rs** Modify existing code **customer.rs** Modify existing code **address.rs** Modify existing code **blocklist.rs** Modify existing code **customers.rs** Modify existing code **dispute.rs** Modify existing code **mandate.rs** Modify existing code **merchant_account.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **payment_method.rs** Modify existing code **refund.rs** Modify existing code **role.rs** Modify existing code **schema.rs** Modify existing code **user.rs** Modify existing code **customer.rs** Modify existing code **merchant_account.rs** Modify existing code **payment_attempt.rs** Modify existing code **admin.rs** Modify existing code **customers.rs** Modify existing code **helpers.rs** Modify existing code **helpers.rs** Modify existing code **address.rs** Modify existing code **dispute.rs** Modify existing code **mandate.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **payment_method.rs** Modify existing code **refund.rs** Modify existing code **role.rs** Modify existing code **user.rs** Modify existing code **address.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **utils.rs** Modify existing code **payment_attempt.rs** Modify existing code
feat(connector): add dummy connector template code (#970)
Files to modify: **enums.rs** Modify existing code **settings.rs** Modify existing code **connector.rs** Add: - mod: pub::dummyconnector **dummyconnector.rs** Add: - function: private::build_headers - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::DummyConnector - impl: impl api::Payment for DummyConnector - impl: impl api::PaymentSession for DummyConnector - impl: impl api::ConnectorAccessToken for DummyConnector - impl: impl api::PreVerify for DummyConnector - impl: impl api::PaymentAuthorize for DummyConnector - impl: impl api::PaymentSync for DummyConnector - impl: impl api::PaymentCapture for DummyConnector - impl: impl api::PaymentVoid for DummyConnector - impl: impl api::Refund for DummyConnector - impl: impl api::RefundExecute for DummyConnector - impl: impl api::RefundSync for DummyConnector - impl: impl api::PaymentToken for DummyConnector - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for DummyConnector - impl: impl ConnectorCommonExt<Flow, Request, Response> for DummyConnector - impl: impl ConnectorCommon for DummyConnector - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for DummyConnector - impl: impl ConnectorIntegration<api::Verify, types::VerifyRequestData, types::PaymentsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for DummyConnector - impl: impl api::IncomingWebhook for DummyConnector - mod: private::transformers **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::DummyConnectorPaymentsRequest - struct: pub::DummyConnectorCard - struct: pub::DummyConnectorAuthType - struct: pub::DummyConnectorPaymentsResponse - struct: pub::DummyConnectorRefundRequest - struct: pub::RefundResponse - struct: pub::DummyConnectorErrorResponse - enum: pub::DummyConnectorPaymentStatus - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for DummyConnectorPaymentsRequest - impl: impl TryFrom<&types::ConnectorAuthType> for DummyConnectorAuthType - impl: impl From<DummyConnectorPaymentStatus> for enums::AttemptStatus - impl: impl TryFrom< types::ResponseRouterData< F, DummyConnectorPaymentsResponse, T, types::PaymentsResponseData, >, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::RefundsRouterData<F>> for DummyConnectorRefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundResponse>> for types::RefundsRouterData<api::RSync> **flows.rs** Modify existing code **api.rs** Modify existing code **connector_auth.rs** Modify existing code **dummyconnector.rs** Add: - function: private::build_headers - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::DummyConnector - impl: impl api::Payment for DummyConnector - impl: impl api::PaymentSession for DummyConnector - impl: impl api::ConnectorAccessToken for DummyConnector - impl: impl api::PreVerify for DummyConnector - impl: impl api::PaymentAuthorize for DummyConnector - impl: impl api::PaymentSync for DummyConnector - impl: impl api::PaymentCapture for DummyConnector - impl: impl api::PaymentVoid for DummyConnector - impl: impl api::Refund for DummyConnector - impl: impl api::RefundExecute for DummyConnector - impl: impl api::RefundSync for DummyConnector - impl: impl api::PaymentToken for DummyConnector - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for DummyConnector - impl: impl ConnectorCommonExt<Flow, Request, Response> for DummyConnector - impl: impl ConnectorCommon for DummyConnector - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for DummyConnector - impl: impl ConnectorIntegration<api::Verify, types::VerifyRequestData, types::PaymentsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for DummyConnector - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for DummyConnector - impl: impl api::IncomingWebhook for DummyConnector - mod: private::transformers **main.rs** Add: - mod: private::dummyconnector
refactor(core): Add additional parameters in AppState and refactor AppState references (#2123) Co-authored-by: Kritik Modi <[email protected]> Co-authored-by: Kritik Modi <[email protected]> Co-authored-by: Nitesh Balla <[email protected]>
Files to modify: **customers.rs** Modify existing code **payment_intents.rs** Modify existing code **refunds.rs** Modify existing code **setup_intents.rs** Modify existing code **wrap.rs** Modify existing code **admin.rs** Modify existing code **api_keys.rs** Modify existing code **cache.rs** Modify existing code **cards_info.rs** Modify existing code **configs.rs** Modify existing code **customers.rs** Modify existing code **disputes.rs** Modify existing code **files.rs** Modify existing code **mandate.rs** Modify existing code **cards.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **payment_create.rs** Modify existing code **payouts.rs** Modify existing code **refunds.rs** Modify existing code **verification.rs** Modify existing code **webhooks.rs** Modify existing code **lib.rs** Modify existing code **admin.rs** Modify existing code **api_keys.rs** Modify existing code **app.rs** Add: - function: private::email_client - function: private::add_request_id - function: private::add_merchant_id - function: private::add_flow_name - function: private::as_ref **cache.rs** Modify existing code **cards_info.rs** Modify existing code **configs.rs** Modify existing code **customers.rs** Modify existing code **disputes.rs** Modify existing code **dummy_connector.rs** Modify existing code **core.rs** Modify existing code **ephemeral_key.rs** Modify existing code **files.rs** Modify existing code **mandates.rs** Modify existing code **payment_methods.rs** Modify existing code **payments.rs** Modify existing code **payouts.rs** Modify existing code **refunds.rs** Modify existing code **verification.rs** Modify existing code **webhooks.rs** Modify existing code **api.rs** Remove: - mod: private::client Add: - mod: pub::client **client.rs** Add: - function: pub::get_reqwest_client - function: private::add_request_id - function: private::get_request_id - function: private::add_merchant_id - function: private::add_flow_name - function: private::send_request - function: private::add_request_id - function: private::get_request_id - function: private::add_merchant_id - function: private::add_flow_name **payments.rs** Modify existing code **payments2.rs** Modify existing code
feat(connector): [NMI] Currency Unit Conversion (#2707)
Files to modify: **nmi.rs** Add: - function: private::get_currency_unit **transformers.rs** Add: - function: private::try_from - struct: pub::NmiRouterData - impl: impl TryFrom<( &types::api::CurrencyUnit, types::storage::enums::Currency, i64, T, )> for NmiRouterData<T>
feat(setup_intent): add setup_intent stripe compatibility (#102)
Files to modify: **stripe.rs** Add: - mod: private::setup_intents **app.rs** Add: - function: pub::server - struct: pub::SetupIntents - impl: impl SetupIntents **setup_intents.rs** Add: - function: pub::setup_intents_create - function: pub::setup_intents_retrieve - function: pub::setup_intents_update - function: pub::setup_intents_confirm - mod: private::types **types.rs** Add: - function: private::from - function: private::from - function: private::from - function: private::from - function: private::from - function: private::from - function: private::from - function: private::to_string - function: private::from - function: private::from - function: private::default_limit - function: private::try_from - function: private::from_timestamp_to_datetime - struct: pub::StripeBillingDetails - struct: pub::StripeCard - struct: pub::StripePaymentMethodData - struct: pub::Shipping - struct: pub::StripeSetupIntentRequest - struct: pub::StripePaymentCancelRequest - struct: pub::StripeSetupIntentResponse - struct: pub::StripePaymentListConstraints - enum: pub::StripePaymentMethodType - enum: pub::StripePaymentMethodDetails - enum: pub::StripeSetupStatus - enum: pub::CancellationReason - impl: impl From<StripeBillingDetails> for Address - impl: impl From<StripePaymentMethodType> for api_enums::PaymentMethodType - impl: impl From<StripeCard> for CCard - impl: impl From<StripePaymentMethodDetails> for PaymentMethod - impl: impl From<Shipping> for Address - impl: impl From<StripeSetupIntentRequest> for PaymentsRequest - impl: impl From<api_enums::IntentStatus> for StripeSetupStatus - impl: impl ToString for CancellationReason - impl: impl From<StripePaymentCancelRequest> for PaymentsCancelRequest - impl: impl From<PaymentsResponse> for StripeSetupIntentResponse - impl: impl TryFrom<StripePaymentListConstraints> for PaymentListConstraints
feat(routing): Enable volume split for dynamic routing (#6662) Co-authored-by: prajjwalkumar17 <[email protected]> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: prajjwalkumar17 <[email protected]>
Files to modify: **routing.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for RoutingVolumeSplitWrapper **routing.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for RoutingVolumeSplitWrapper **consts.rs** Modify existing code **payments.rs** Modify existing code **routing.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for RoutingVolumeSplitWrapper **routing.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for RoutingVolumeSplitWrapper **helpers.rs** Modify existing code **app.rs** Modify existing code **lock_utils.rs** Modify existing code **routing.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for RoutingVolumeSplitWrapper **types.rs** Modify existing code
feat(user_role): Insert V2 user_roles (#5607)
Files to modify: **user_role.rs** Add: - function: pub::insert_multiple_user_roles **user.rs** Modify existing code **kafka_store.rs** Modify existing code **user_role.rs** Add: - function: pub::insert_multiple_user_roles **user.rs** Modify existing code
fix: payment link styling for dynamic classes (#8273) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **payments.rs** Modify existing code **business_profile.rs** Modify existing code **payment_intent.rs** Modify existing code **lib.rs** Modify existing code **payment_link.rs** Add: - function: private::camel_to_kebab - function: private::generate_dynamic_css - function: private::get_payment_link_css_script **transformers.rs** Modify existing code **transformers.rs** Modify existing code
refactor(connector): add amount conversion framework to Shift4 (#6250)
Files to modify: **shift4.rs** Remove: - struct: pub::Shift4 Add: - function: pub::new - struct: pub::Shift4 - impl: impl Shift4 **transformers.rs** Remove: - function: private::get_amount_required - function: private::get_amount_required - impl: impl TryFrom<&types::RouterData<T, types::CompleteAuthorizeData, types::PaymentsResponseData>> for (item.request.connector_meta.clone()) Add: - function: private::try_from - struct: pub::Shift4RouterData - impl: impl TryFrom<(MinorUnit, T)> for Shift4RouterData<T> - impl: impl TryFrom< &Shift4RouterData< &types::RouterData<T, types::CompleteAuthorizeData, types::PaymentsResponseData>, >, > for (item.router_data.request.connector_meta.clone()) **api.rs** Modify existing code **shift4.rs** Remove: - struct: pub::Shift4 Add: - function: pub::new - struct: pub::Shift4 - impl: impl Shift4
chore: v2 api changes for session token endpoint (#6032) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Add: - struct: pub::PaymentsSessionRequest **openapi_v2.rs** Modify existing code **payments.rs** Add: - struct: pub::PaymentsSessionRequest **payments.rs** Add: - struct: pub::PaymentsSessionRequest **app.rs** Modify existing code **payments.rs** Add: - struct: pub::PaymentsSessionRequest **api.rs** Modify existing code
feat(users): Create Decision manager for User Flows (#4518) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **user.rs** Modify existing code **user.rs** Modify existing code **enums.rs** Add: - enum: pub::TokenPurpose **user.rs** Modify existing code **user.rs** Modify existing code **user_role.rs** Modify existing code **authentication.rs** Remove: - struct: pub::SinglePurposeJWTAuth - enum: pub::Purpose Add: - struct: pub::SinglePurposeJWTAuth **blacklist.rs** Modify existing code **user.rs** Modify existing code **decision_manager.rs** Add: - function: private::is_required - function: private::is_required - function: pub::generate_spt - function: private::is_required - function: pub::generate_jwt - function: private::get_flows - function: pub::new - function: pub::next - function: pub::from_origin - function: pub::get_flow - function: private::from - function: private::from - function: private::from - struct: pub::CurrentFlow - struct: pub::NextFlow - enum: pub::UserFlow - enum: pub::SPTFlow - enum: pub::JWTFlow - enum: pub::Origin - impl: impl UserFlow - impl: impl SPTFlow - impl: impl JWTFlow - impl: impl Origin - impl: impl CurrentFlow - impl: impl NextFlow - impl: impl From<UserFlow> for TokenPurpose - impl: impl From<SPTFlow> for TokenPurpose - impl: impl From<JWTFlow> for TokenPurpose
feat(analytics): authentication analytics (#4429) Co-authored-by: Sampras Lopes <[email protected]> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **auth_events.rs** Add: - mod: pub::accumulator - mod: private::core - mod: pub::metrics **accumulator.rs** Add: - function: private::add_metrics_bucket - function: private::collect - function: pub::collect - struct: pub::AuthEventMetricsAccumulator - struct: pub::CountAccumulator - trait: pub::AuthEventMetricAccumulator - impl: impl AuthEventMetricAccumulator for CountAccumulator - impl: impl AuthEventMetricsAccumulator **core.rs** Add: - function: pub::get_metrics **metrics.rs** Add: - function: private::load_metrics - struct: pub::AuthEventMetricRow - trait: pub::AuthEventMetricAnalytics - trait: pub::AuthEventMetric - impl: impl AuthEventMetric<T> for AuthEventMetrics - mod: private::authentication_attempt_count - mod: private::authentication_success_count - mod: private::challenge_attempt_count - mod: private::challenge_flow_count - mod: private::challenge_success_count - mod: private::frictionless_flow_count - mod: private::three_ds_sdk_count **authentication_attempt_count.rs** Remove: - struct: pub::ThreeDsMethodInvokedCount - impl: impl super::SdkEventMetric<T> for switch() Add: - struct: pub::AuthenticationAttemptCount **authentication_success_count.rs** Remove: - struct: pub::AuthenticationUnsuccessfulCount - impl: impl super::SdkEventMetric<T> for switch() Add: - struct: pub::AuthenticationSuccessCount **challenge_attempt_count.rs** Add: - function: private::load_metrics - struct: pub::ChallengeAttemptCount - impl: impl super::AuthEventMetric<T> for ChallengeAttemptCount **challenge_flow_count.rs** Remove: - struct: pub::ThreeDsChallengeFlowCount - impl: impl super::SdkEventMetric<T> for switch() Add: - struct: pub::ChallengeFlowCount **challenge_success_count.rs** Remove: - struct: pub::ThreeDsMethodUnsuccessfulCount - impl: impl super::SdkEventMetric<T> for MetricsResult<Vec<(SdkEventMetricsBucketIdentifier, SdkEventMetricRow)>> Add: - struct: pub::ChallengeSuccessCount **frictionless_flow_count.rs** Remove: - struct: pub::ThreeDsMethodSkippedCount - impl: impl super::SdkEventMetric<T> for switch() Add: - struct: pub::FrictionlessFlowCount **three_ds_sdk_count.rs** Remove: - struct: pub::ThreeDsMethodSuccessfulCount - impl: impl super::SdkEventMetric<T> for switch() Add: - struct: pub::ThreeDsSdkCount **clickhouse.rs** Add: - function: private::try_into - impl: impl super::auth_events::metrics::AuthEventMetricAnalytics for ClickhouseClient - impl: impl TryInto<AuthEventMetricRow> for serde_json::Value **core.rs** Add: - function: pub::get_metrics **lib.rs** Add: - function: pub::get_auth_event_metrics - mod: pub::auth_events **query.rs** Modify existing code **accumulator.rs** Add: - function: private::add_metrics_bucket - function: private::collect - function: pub::collect - struct: pub::AuthEventMetricsAccumulator - struct: pub::CountAccumulator - trait: pub::AuthEventMetricAccumulator - impl: impl AuthEventMetricAccumulator for CountAccumulator - impl: impl AuthEventMetricsAccumulator **core.rs** Add: - function: pub::get_metrics **metrics.rs** Add: - function: private::load_metrics - struct: pub::AuthEventMetricRow - trait: pub::AuthEventMetricAnalytics - trait: pub::AuthEventMetric - impl: impl AuthEventMetric<T> for AuthEventMetrics - mod: private::authentication_attempt_count - mod: private::authentication_success_count - mod: private::challenge_attempt_count - mod: private::challenge_flow_count - mod: private::challenge_success_count - mod: private::frictionless_flow_count - mod: private::three_ds_sdk_count **average_payment_time.rs** Modify existing code **load_time.rs** Remove: - struct: pub::ThreeDsFrictionlessFlowCount Add: - struct: pub::LoadTime **sqlx.rs** Modify existing code **types.rs** Modify existing code **utils.rs** Add: - function: pub::get_auth_event_metrics_info **analytics.rs** Add: - struct: pub::GetAuthEventMetricRequest - mod: pub::auth_events **auth_events.rs** Add: - mod: pub::accumulator - mod: private::core - mod: pub::metrics **sdk_events.rs** Remove: - struct: pub::ThreeDsMethodInvokedCount - struct: pub::ThreeDsMethodSkippedCount - struct: pub::ThreeDsMethodSuccessfulCount - struct: pub::ThreeDsMethodUnsuccessfulCount - struct: pub::AuthenticationUnsuccessfulCount - struct: pub::ThreeDsChallengeFlowCount - struct: pub::ThreeDsFrictionlessFlowCount Add: - struct: pub::LoadTime **events.rs** Modify existing code **analytics.rs** Add: - struct: pub::GetAuthEventMetricRequest - mod: pub::auth_events
feat(Connector): [VOLT] Add support for Payments Webhooks (#3155)
Files to modify: **volt.rs** Add: - function: private::get_webhook_source_verification_algorithm - function: private::get_webhook_source_verification_signature - function: private::get_webhook_source_verification_message **transformers.rs** Remove: - impl: impl Ok(Self { status: enums::AttemptStatus::from(item.response.status), response: Ok(types::PaymentsResponseData::TransactionResponse { resource_id: types::ResponseId::ConnectorTransactionId(item.response.id.clone()), redirection_data: None, mandate_reference: None, connector_metadata: None, network_txn_id: None, connector_response_reference_id: item .response .merchant_internal_reference .or(Some(item.response.id)), incremental_authorization_allowed: None, }), ..item.data }) Add: - enum: pub::VoltPaymentsResponseData - impl: impl TryFrom<types::ResponseRouterData<F, VoltPaymentsResponseData, T, types::PaymentsResponseData>> item: types::ResponseRouterData< F, VoltPaymentsResponseData, T, types::PaymentsResponseData, > - mod: pub::webhook_headers
feat(rapyd): ApplePay and GooglePay integration (#425)
Files to modify: **transformers.rs** Add: - struct: pub::Address - struct: pub::RapydWallet
refactor(router): add openapi spec support for gsm apis (#2871)
Files to modify: **gsm.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for gsm::GsmResponse **gsm.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for gsm::GsmResponse **gsm.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for gsm::GsmResponse **openapi.rs** Modify existing code **gsm.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for gsm::GsmResponse **types.rs** Modify existing code **transformers.rs** Add: - function: private::foreign_from - impl: impl ForeignFrom<storage::GatewayStatusMap> for gsm_api_types::GsmResponse
refactor(user_roles): implement parent group info based role APIs (#8896) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **user_role.rs** Modify existing code **role.rs** Remove: - struct: pub::ListRolesRequest Add: - struct: pub::CreateRoleV2Request - struct: pub::ParentGroupInfoRequest - struct: pub::ListRolesQueryParams - struct: pub::GetParentGroupsInfoQueryParams - enum: pub::ListRolesResponse **enums.rs** Modify existing code **user_role.rs** Modify existing code **role.rs** Remove: - struct: pub::ListRolesRequest Add: - struct: pub::CreateRoleV2Request - struct: pub::ParentGroupInfoRequest - struct: pub::ListRolesQueryParams - struct: pub::GetParentGroupsInfoQueryParams - enum: pub::ListRolesResponse **app.rs** Modify existing code **lock_utils.rs** Modify existing code **user_role.rs** Modify existing code **permission_groups.rs** Modify existing code **user_role.rs** Modify existing code **types.rs** Modify existing code
feat(connector): [Adyen] receive incoming webhooks for pix expiry (#8720) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **webhooks.rs** Modify existing code **enums.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Modify existing code **revenue_recovery.rs** Modify existing code **router_data.rs** Modify existing code **types.rs** Modify existing code **types.rs** Modify existing code **webhooks.rs** Modify existing code **utils.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **payment_attempt_record.rs** Modify existing code **payment_capture_v2.rs** Modify existing code **payment_confirm_intent.rs** Modify existing code **payment_get.rs** Modify existing code **payment_response.rs** Modify existing code **payment_session_intent.rs** Modify existing code **payment_update_intent.rs** Modify existing code **proxy_payments_intent.rs** Modify existing code **payment_methods.rs** Modify existing code **retry.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **helpers.rs** Modify existing code **types.rs** Modify existing code **transformers.rs** Modify existing code
refactor: use newtype pattern for email addresses (#819) Co-authored-by: Sanchith Hegde <[email protected]>
Files to modify: **admin.rs** Modify existing code **customers.rs** Modify existing code **payments.rs** Modify existing code **pii.rs** Remove: - struct: pub::Email - impl: impl Strategy<T> for validate_email(val_str) Add: - function: private::from_sql - function: private::to_sql - function: private::from_str - struct: pub::EmailStrategy - struct: pub::Email - impl: impl FromSql<sql_types::Text, DB> for Email - impl: impl ToSql<sql_types::Text, DB> for Email - impl: impl FromStr for Email **types.rs** Modify existing code **types.rs** Modify existing code **types.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **customers.rs** Modify existing code **transformers.rs** Modify existing code **payments.rs** Modify existing code **payment_session.rs** Modify existing code **payment_start.rs** Modify existing code **types.rs** Modify existing code **customers.rs** Modify existing code **cybersource.rs** Modify existing code **zen.rs** Modify existing code **customers.rs** Modify existing code
refactor(connector): implement amount converter framework for authorizedotnet, bankofamerica (#8878)
Files to modify: **authorizedotnet.rs** Remove: - struct: pub::Authorizedotnet Add: - function: pub::new - struct: pub::Authorizedotnet - impl: impl Authorizedotnet **transformers.rs** Modify existing code **bankofamerica.rs** Remove: - struct: pub::Bankofamerica Add: - function: pub::new - struct: pub::Bankofamerica - impl: impl Bankofamerica **transformers.rs** Modify existing code **connector_mapping.rs** Modify existing code **feature_matrix.rs** Modify existing code **authorizedotnet.rs** Remove: - struct: pub::Authorizedotnet Add: - function: pub::new - struct: pub::Authorizedotnet - impl: impl Authorizedotnet **bankofamerica.rs** Remove: - struct: pub::Bankofamerica Add: - function: pub::new - struct: pub::Bankofamerica - impl: impl Bankofamerica
feat(connector): [Adyen] implement Online Banking Thailand for Adyen (#1585) Co-authored-by: Sangamesh Kulkarni <[email protected]>
Files to modify: **enums.rs** Modify existing code **payments.rs** Modify existing code **enums.rs** Modify existing code **transformers.rs** Modify existing code **enums.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **adyen_uk_ui.rs** Add: - function: private::should_make_adyen_online_banking_thailand_payment - function: private::should_make_adyen_online_banking_thailand_payment_test
feat(async_refund): add sync feature to async refund (#93)
Files to modify: **refunds.rs** Modify existing code **errors.rs** Modify existing code **refunds.rs** Modify existing code **refunds.rs** Modify existing code **utils.rs** Add: - function: pub::get_schedule_time - function: private::get_delay **payment_sync.rs** Remove: - function: pub::get_sync_schedule_time
refactor(refunds_v2): Add feature flags and db methods to non kv config (#7987)
Files to modify: **refund.rs** Add: - function: private::find_refund_by_id - function: private::update_refund - function: private::filter_refund_by_constraints - function: private::get_total_count_of_refunds
feat(core): update card_details for an existing mandate (#3452) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Add: - struct: pub::UpdateHistory **mandates.rs** Add: - struct: pub::MandateDetails - enum: pub::MandateTypeDetails **payment_attempt.rs** Modify existing code **enums.rs** Add: - function: private::from_sql - function: private::to_sql - struct: pub::MandateDetails - enum: pub::MandateTypeDetails - impl: impl FromSql<Jsonb, DB> for MandateTypeDetails - impl: impl ToSql<Jsonb, diesel::pg::Pg> for MandateTypeDetails **mandate.rs** Modify existing code **payment_attempt.rs** Modify existing code **sample_data.rs** Modify existing code **types.rs** Modify existing code **mandate.rs** Modify existing code **helpers.rs** Add: - function: pub::get_profile_id_for_mandate **cards.rs** Modify existing code **setup_mandate_flow.rs** Modify existing code **helpers.rs** Add: - function: pub::get_profile_id_for_mandate **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_update.rs** Modify existing code **transformers.rs** Modify existing code **mandate.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Modify existing code **payment_attempt.rs** Modify existing code
feat(connector): Archipel connector (#7851) Co-authored-by: Michal Czernecki <[email protected]> Co-authored-by: Guillaume Bague <[email protected]>
Files to modify: **connector_enums.rs** Modify existing code **common_config.rs** Modify existing code **connector.rs** Modify existing code **connectors.rs** Add: - mod: pub::archipel **archipel.rs** Add: - function: pub::new - function: private::build_env_specific_endpoint - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::get_auth_header - function: private::common_get_content_type - function: private::base_url - function: private::build_error_response - function: private::validate_connector_against_payment_request - function: private::validate_mandate_payment - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_5xx_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_5xx_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_5xx_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_5xx_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_5xx_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_5xx_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_5xx_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_5xx_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Archipel - impl: impl Archipel - impl: impl api::PaymentAuthorize for Archipel - impl: impl api::PaymentSync for Archipel - impl: impl api::PaymentVoid for Archipel - impl: impl api::PaymentCapture for Archipel - impl: impl api::MandateSetup for Archipel - impl: impl api::ConnectorAccessToken for Archipel - impl: impl api::PaymentToken for Archipel - impl: impl api::PaymentSession for Archipel - impl: impl api::Refund for Archipel - impl: impl api::RefundExecute for Archipel - impl: impl api::RefundSync for Archipel - impl: impl api::Payment for Archipel - impl: impl api::PaymentIncrementalAuthorization for Archipel - impl: impl api::ConnectorSpecifications for Archipel - impl: impl ConnectorCommonExt<Flow, Request, Response> for Archipel - impl: impl ConnectorCommon for Archipel - impl: impl ConnectorValidation for Archipel - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Archipel - impl: impl ConnectorIntegration< IncrementalAuthorization, PaymentsIncrementalAuthorizationData, PaymentsResponseData, > for Archipel - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Archipel - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Archipel - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Archipel - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Archipel - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Archipel - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Archipel - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Archipel - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Archipel - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Archipel - impl: impl IncomingWebhook for Archipel - mod: pub::transformers **transformers.rs** Add: - function: private::from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - function: private::from - function: private::try_from - function: private::new - function: private::from - function: private::default - function: private::new - function: private::from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::from - function: private::from - function: private::try_from - function: private::from - function: private::from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - struct: pub::ArchipelTenantId - struct: pub::ArchipelRouterData - struct: pub::ArchipelAuthType - struct: pub::ArchipelConfigData - struct: pub::ArchipelOrderRequest - struct: pub::CardExpiryDate - struct: pub::Archipel3DS - struct: pub::ArchipelCardHolder - struct: pub::ArchipelBillingAddress - struct: pub::ArchipelCredentialIndicator - struct: pub::TokenizedCardData - struct: pub::ArchipelTokenizedCard - struct: pub::ArchipelCard - struct: pub::ArchipelWalletInformation - struct: pub::ArchipelPaymentInformation - struct: pub::ArchipelWalletAuthorizationRequest - struct: pub::ArchipelCardAuthorizationRequest - struct: private::ArchipelFlowStatus - struct: pub::ArchipelOrderResponse - struct: pub::ArchipelErrorMessage - struct: private::ArchipelErrorMessageWithHttpCode - struct: pub::ArchipelTransactionMetadata - struct: pub::ArchipelPaymentsResponse - struct: pub::ArchipelCaptureRequest - struct: pub::ArchipelCaptureOrderRequest - struct: pub::ArchipelPaymentsCancelRequest - struct: pub::ArchipelIncrementalAuthorizationRequest - struct: pub::ArchipelRefundOrder - struct: pub::ArchipelRefundRequest - struct: pub::ArchipelRefundOrderResponse - struct: pub::ArchipelRefundResponse - enum: pub::ArchipelPaymentInitiator - enum: pub::ArchipelWalletProvider - enum: pub::ArchipelPaymentCertainty - enum: pub::ApplicationSelectionIndicator - enum: pub::ArchipelCredentialIndicatorStatus - enum: pub::ArchipelCardScheme - enum: pub::ArchipelPaymentStatus - enum: pub::ArchipelPaymentFlow - enum: pub::ArchipelRefundStatus - impl: impl From<String> for ArchipelTenantId - impl: impl From<(MinorUnit, ArchipelTenantId, T)> for ArchipelRouterData<T> - impl: impl TryFrom<&ConnectorAuthType> for ArchipelAuthType - impl: impl TryFrom<&Option<pii::SecretSerdeValue>> for ArchipelConfigData - impl: impl From<AuthenticationData> for Archipel3DS - impl: impl TryFrom<Option<ArchipelBillingAddress>> for ArchipelCardHolder - impl: impl TryFrom<&AddressDetails> for ArchipelBillingAddress - impl: impl TryFrom<(&WalletData, &Option<PaymentMethodToken>)> for TokenizedCardData - impl: impl TryFrom<(Option<Secret<String>>, &Card)> for ArchipelCard - impl: impl TryFrom<( Option<Secret<String>>, &hyperswitch_domain_models::payment_method_data::CardDetailsForNetworkTransactionId, )> for ArchipelCard - impl: impl From<&str> for ArchipelCardScheme - impl: impl From<Option<CardIssuer>> for ArchipelCardScheme - impl: impl TryFrom<(AttemptStatus, CaptureMethod)> for ArchipelPaymentFlow - impl: impl ArchipelFlowStatus - impl: impl From<ArchipelFlowStatus> for AttemptStatus - impl: impl Default for ArchipelErrorMessage - impl: impl ArchipelErrorMessageWithHttpCode - impl: impl From<&ArchipelPaymentsResponse> for ArchipelTransactionMetadata - impl: impl TryFrom<(MinorUnit, &PaymentsAuthorizeRouterData)> for ArchipelPaymentInformation - impl: impl TryFrom<ArchipelRouterData<&PaymentsAuthorizeRouterData>> for ArchipelCardAuthorizationRequest - impl: impl TryFrom<ArchipelRouterData<&PaymentsAuthorizeRouterData>> for ArchipelWalletAuthorizationRequest - impl: impl TryFrom< ResponseRouterData< F, ArchipelPaymentsResponse, PaymentsAuthorizeData, PaymentsResponseData, >, > for RouterData<F, PaymentsAuthorizeData, PaymentsResponseData> - impl: impl TryFrom<ResponseRouterData<F, ArchipelPaymentsResponse, PaymentsSyncData, PaymentsResponseData>> for RouterData<F, PaymentsSyncData, PaymentsResponseData> - impl: impl From<ArchipelRouterData<&PaymentsCaptureRouterData>> for ArchipelCaptureRequest - impl: impl TryFrom< ResponseRouterData<F, ArchipelPaymentsResponse, PaymentsCaptureData, PaymentsResponseData>, > for RouterData<F, PaymentsCaptureData, PaymentsResponseData> - impl: impl TryFrom<ArchipelRouterData<&SetupMandateRouterData>> for ArchipelCardAuthorizationRequest - impl: impl TryFrom< ResponseRouterData< F, ArchipelPaymentsResponse, SetupMandateRequestData, PaymentsResponseData, >, > for RouterData<F, SetupMandateRequestData, PaymentsResponseData> - impl: impl From<ArchipelRouterData<&PaymentsCancelRouterData>> for ArchipelPaymentsCancelRequest - impl: impl TryFrom< ResponseRouterData<F, ArchipelPaymentsResponse, PaymentsCancelData, PaymentsResponseData>, > for RouterData<F, PaymentsCancelData, PaymentsResponseData> - impl: impl From<ArchipelPaymentStatus> for AuthorizationStatus - impl: impl From<ArchipelRouterData<&PaymentsIncrementalAuthorizationRouterData>> for ArchipelIncrementalAuthorizationRequest - impl: impl TryFrom< ResponseRouterData< F, ArchipelPaymentsResponse, PaymentsIncrementalAuthorizationData, PaymentsResponseData, >, > for RouterData<F, PaymentsIncrementalAuthorizationData, PaymentsResponseData> - impl: impl From<ArchipelRouterData<&RefundsRouterData<F>>> for ArchipelRefundRequest - impl: impl From<ArchipelPaymentStatus> for RefundStatus - impl: impl TryFrom<ArchipelRefundResponse> for RefundsResponseData - impl: impl TryFrom<RefundsResponseRouterData<Execute, ArchipelRefundResponse>> for RefundsRouterData<Execute> - impl: impl TryFrom<RefundsResponseRouterData<RSync, ArchipelRefundResponse>> for RefundsRouterData<RSync> - impl: impl From<ArchipelErrorMessageWithHttpCode> for ErrorResponse **default_implementations.rs** Modify existing code **utils.rs** Add: - function: private::get_two_digit_expiry_year **configs.rs** Modify existing code **connector.rs** Modify existing code **admin.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Add: - function: private::from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - function: private::from - function: private::try_from - function: private::new - function: private::from - function: private::default - function: private::new - function: private::from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::from - function: private::from - function: private::try_from - function: private::from - function: private::from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - struct: pub::ArchipelTenantId - struct: pub::ArchipelRouterData - struct: pub::ArchipelAuthType - struct: pub::ArchipelConfigData - struct: pub::ArchipelOrderRequest - struct: pub::CardExpiryDate - struct: pub::Archipel3DS - struct: pub::ArchipelCardHolder - struct: pub::ArchipelBillingAddress - struct: pub::ArchipelCredentialIndicator - struct: pub::TokenizedCardData - struct: pub::ArchipelTokenizedCard - struct: pub::ArchipelCard - struct: pub::ArchipelWalletInformation - struct: pub::ArchipelPaymentInformation - struct: pub::ArchipelWalletAuthorizationRequest - struct: pub::ArchipelCardAuthorizationRequest - struct: private::ArchipelFlowStatus - struct: pub::ArchipelOrderResponse - struct: pub::ArchipelErrorMessage - struct: private::ArchipelErrorMessageWithHttpCode - struct: pub::ArchipelTransactionMetadata - struct: pub::ArchipelPaymentsResponse - struct: pub::ArchipelCaptureRequest - struct: pub::ArchipelCaptureOrderRequest - struct: pub::ArchipelPaymentsCancelRequest - struct: pub::ArchipelIncrementalAuthorizationRequest - struct: pub::ArchipelRefundOrder - struct: pub::ArchipelRefundRequest - struct: pub::ArchipelRefundOrderResponse - struct: pub::ArchipelRefundResponse - enum: pub::ArchipelPaymentInitiator - enum: pub::ArchipelWalletProvider - enum: pub::ArchipelPaymentCertainty - enum: pub::ApplicationSelectionIndicator - enum: pub::ArchipelCredentialIndicatorStatus - enum: pub::ArchipelCardScheme - enum: pub::ArchipelPaymentStatus - enum: pub::ArchipelPaymentFlow - enum: pub::ArchipelRefundStatus - impl: impl From<String> for ArchipelTenantId - impl: impl From<(MinorUnit, ArchipelTenantId, T)> for ArchipelRouterData<T> - impl: impl TryFrom<&ConnectorAuthType> for ArchipelAuthType - impl: impl TryFrom<&Option<pii::SecretSerdeValue>> for ArchipelConfigData - impl: impl From<AuthenticationData> for Archipel3DS - impl: impl TryFrom<Option<ArchipelBillingAddress>> for ArchipelCardHolder - impl: impl TryFrom<&AddressDetails> for ArchipelBillingAddress - impl: impl TryFrom<(&WalletData, &Option<PaymentMethodToken>)> for TokenizedCardData - impl: impl TryFrom<(Option<Secret<String>>, &Card)> for ArchipelCard - impl: impl TryFrom<( Option<Secret<String>>, &hyperswitch_domain_models::payment_method_data::CardDetailsForNetworkTransactionId, )> for ArchipelCard - impl: impl From<&str> for ArchipelCardScheme - impl: impl From<Option<CardIssuer>> for ArchipelCardScheme - impl: impl TryFrom<(AttemptStatus, CaptureMethod)> for ArchipelPaymentFlow - impl: impl ArchipelFlowStatus - impl: impl From<ArchipelFlowStatus> for AttemptStatus - impl: impl Default for ArchipelErrorMessage - impl: impl ArchipelErrorMessageWithHttpCode - impl: impl From<&ArchipelPaymentsResponse> for ArchipelTransactionMetadata - impl: impl TryFrom<(MinorUnit, &PaymentsAuthorizeRouterData)> for ArchipelPaymentInformation - impl: impl TryFrom<ArchipelRouterData<&PaymentsAuthorizeRouterData>> for ArchipelCardAuthorizationRequest - impl: impl TryFrom<ArchipelRouterData<&PaymentsAuthorizeRouterData>> for ArchipelWalletAuthorizationRequest - impl: impl TryFrom< ResponseRouterData< F, ArchipelPaymentsResponse, PaymentsAuthorizeData, PaymentsResponseData, >, > for RouterData<F, PaymentsAuthorizeData, PaymentsResponseData> - impl: impl TryFrom<ResponseRouterData<F, ArchipelPaymentsResponse, PaymentsSyncData, PaymentsResponseData>> for RouterData<F, PaymentsSyncData, PaymentsResponseData> - impl: impl From<ArchipelRouterData<&PaymentsCaptureRouterData>> for ArchipelCaptureRequest - impl: impl TryFrom< ResponseRouterData<F, ArchipelPaymentsResponse, PaymentsCaptureData, PaymentsResponseData>, > for RouterData<F, PaymentsCaptureData, PaymentsResponseData> - impl: impl TryFrom<ArchipelRouterData<&SetupMandateRouterData>> for ArchipelCardAuthorizationRequest - impl: impl TryFrom< ResponseRouterData< F, ArchipelPaymentsResponse, SetupMandateRequestData, PaymentsResponseData, >, > for RouterData<F, SetupMandateRequestData, PaymentsResponseData> - impl: impl From<ArchipelRouterData<&PaymentsCancelRouterData>> for ArchipelPaymentsCancelRequest - impl: impl TryFrom< ResponseRouterData<F, ArchipelPaymentsResponse, PaymentsCancelData, PaymentsResponseData>, > for RouterData<F, PaymentsCancelData, PaymentsResponseData> - impl: impl From<ArchipelPaymentStatus> for AuthorizationStatus - impl: impl From<ArchipelRouterData<&PaymentsIncrementalAuthorizationRouterData>> for ArchipelIncrementalAuthorizationRequest - impl: impl TryFrom< ResponseRouterData< F, ArchipelPaymentsResponse, PaymentsIncrementalAuthorizationData, PaymentsResponseData, >, > for RouterData<F, PaymentsIncrementalAuthorizationData, PaymentsResponseData> - impl: impl From<ArchipelRouterData<&RefundsRouterData<F>>> for ArchipelRefundRequest - impl: impl From<ArchipelPaymentStatus> for RefundStatus - impl: impl TryFrom<ArchipelRefundResponse> for RefundsResponseData - impl: impl TryFrom<RefundsResponseRouterData<Execute, ArchipelRefundResponse>> for RefundsRouterData<Execute> - impl: impl TryFrom<RefundsResponseRouterData<RSync, ArchipelRefundResponse>> for RefundsRouterData<RSync> - impl: impl From<ArchipelErrorMessageWithHttpCode> for ErrorResponse **connector_auth.rs** Add: - struct: pub::NoKey
feat(nuvei): Googlepay , applepay and partial authorization integration for nuvei (#8985) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **nuvei.rs** Remove: - struct: pub::Nuvei Add: - function: pub::new - struct: pub::Nuvei - impl: impl Nuvei **transformers.rs** Add: - function: private::get_is_partial_approval - function: private::get_minor_amount_required - function: private::get_is_partial_approval - function: private::from - function: private::from - struct: pub::ShippingAddress - struct: private::GooglePayCamelCase - struct: private::GooglePayInfoCamelCase - struct: private::GooglePayAssuranceDetailsCamelCase - struct: private::GooglePayTokenizationDataCamelCase - struct: private::ApplePayCamelCase - struct: private::ApplePayPaymentMethodCamelCase - enum: pub::PartialApprovalFlag - impl: impl From<bool> for PartialApprovalFlag - impl: impl From<&Address> for ShippingAddress **connector_mapping.rs** Modify existing code **feature_matrix.rs** Modify existing code **nuvei.rs** Remove: - struct: pub::Nuvei Add: - function: pub::new - struct: pub::Nuvei - impl: impl Nuvei
refactor(connector): Move cashtocode,coinbase,cryptopay to crate hyperswitch_connectors (#5983)
Files to modify: **connectors.rs** Add: - mod: pub::cashtocode - mod: pub::coinbase - mod: pub::cryptopay **cashtocode.rs** Modify existing code **transformers.rs** Remove: - impl: impl TryFrom<(&types::PaymentsAuthorizeRouterData, FloatMajorUnit)> for CashtocodePaymentsRequest Add: - impl: impl TryFrom<(&PaymentsAuthorizeRouterData, FloatMajorUnit)> for CashtocodePaymentsRequest **coinbase.rs** Modify existing code **transformers.rs** Remove: - impl: impl TryFrom<(&types::PaymentsAuthorizeRouterData, FloatMajorUnit)> for CashtocodePaymentsRequest Add: - impl: impl TryFrom<(&PaymentsAuthorizeRouterData, FloatMajorUnit)> for CashtocodePaymentsRequest **cryptopay.rs** Remove: - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Cryptopay - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Cryptopay Add: - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Cryptopay - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Cryptopay **transformers.rs** Remove: - impl: impl TryFrom<(&types::PaymentsAuthorizeRouterData, FloatMajorUnit)> for CashtocodePaymentsRequest Add: - impl: impl TryFrom<(&PaymentsAuthorizeRouterData, FloatMajorUnit)> for CashtocodePaymentsRequest **transformers.rs** Remove: - impl: impl TryFrom<(&types::PaymentsAuthorizeRouterData, FloatMajorUnit)> for CashtocodePaymentsRequest Add: - impl: impl TryFrom<(&PaymentsAuthorizeRouterData, FloatMajorUnit)> for CashtocodePaymentsRequest **constants.rs** Modify existing code **default_implementations.rs** Modify existing code **default_implementations_v2.rs** Modify existing code **utils.rs** Add: - function: pub::is_payment_failure - function: private::get_pay_currency - trait: pub::CryptoData - impl: impl CryptoData for hyperswitch_domain_models::payment_method_data::CryptoData **connector.rs** Remove: - mod: pub::cashtocode - mod: pub::coinbase - mod: pub::cryptopay **connector_integration_v2_impls.rs** Modify existing code **flows.rs** Modify existing code
refactor(user_role): Remove V1 insertion for `user_roles` and allow Invites for `org_admins` (#6185)
Files to modify: **user_role.rs** Remove: - function: pub::insert_multiple_user_roles **user.rs** Modify existing code **kafka_store.rs** Modify existing code **user_role.rs** Remove: - function: pub::insert_multiple_user_roles **predefined_roles.rs** Modify existing code **user.rs** Modify existing code
fix(core): Address 500 when deleting payment method and add logs to postman collections (#1695) Co-authored-by: pixincreate@work <[email protected]>
Files to modify: **cards.rs** Modify existing code
refactor(payment_methods): add PayLater payment method data to new domain type to be used in connector module (#4165) Co-authored-by: Narayan Bhat <[email protected]> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **klarna.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **payments.rs** Add: - function: private::from - impl: impl From<api_models::payments::PayLaterData> for PayLaterData
feat(payments): add amount and connector id filter in list (#4354) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Add: - struct: pub::AmountFilter **consts.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **payment_attempt.rs** Modify existing code **payments.rs** Add: - struct: pub::AmountFilter **kafka_store.rs** Modify existing code **payments.rs** Add: - struct: pub::AmountFilter **payment_attempt.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code
fix: resolve fixmes in `router/scheduler` (#269)
Files to modify: **consumer.rs** Modify existing code **producer.rs** Modify existing code **utils.rs** Add: - function: pub::lock_acquire_release
feat(payouts): make payout_type optional in payouts table (#4954) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **enums.rs** Modify existing code **payouts.rs** Modify existing code **payouts.rs** Modify existing code **payout_attempt.rs** Modify existing code **schema.rs** Modify existing code **payouts.rs** Modify existing code **router_request_types.rs** Modify existing code **webhooks.rs** Modify existing code **adyen.rs** Modify existing code **transformers.rs** Modify existing code **payouts.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Add: - function: private::get_payout_type **transformers.rs** Modify existing code **routing.rs** Modify existing code **transformers.rs** Modify existing code **payouts.rs** Modify existing code **access_token.rs** Modify existing code **helpers.rs** Modify existing code **validator.rs** Modify existing code **payout.rs** Modify existing code **utils.rs** Add: - function: private::get_payout_type
feat(connector): [BANKOFAMERICA] Add Required Fields for GPAY (#3014)
Files to modify: **defaults.rs** Modify existing code
feat(connector): [payload] add webhook support (#8558)
Files to modify: **webhooks.rs** Modify existing code **payload.rs** Remove: - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Payload Add: - function: private::build_request - function: private::verify_webhook_source - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Payload **responses.rs** Add: - struct: pub::PayloadWebhookEvent - struct: pub::PayloadEventDetails - enum: pub::PayloadWebhooksTrigger **transformers.rs** Modify existing code
build(deps): address `undeclared crate or module` errors on Windows for `scheduler` crate (#2411)
Files to modify: **utils.rs** Remove: - function: pub::signal_handler
refactor(authentication): flattened paymentData in authentication trait functions (#8365) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **authentication.rs** Modify existing code **payments.rs** Modify existing code **payment_confirm.rs** Modify existing code **unified_authentication_service.rs** Add: - impl: impl Self::get_pre_authentication_request_data( payment_method_data, service_details, amount, currency, ) **types.rs** Modify existing code **utils.rs** Modify existing code
feat(connectors): [Stripe] add extended authorization for cards (#9084) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **transformers.rs** Remove: - impl: impl TryFrom<(&Card, Auth3ds, bool)> for StripePaymentMethodData Add: - struct: pub::StripeExtendedAuthorizationResponse - enum: pub::StripeRequestExtendedAuthorization - enum: pub::StripeExtendedAuthorizationStatus - impl: impl TryFrom<( &Card, Auth3ds, bool, Option<primitive_wrappers::RequestExtendedAuthorizationBool>, )> for StripePaymentMethodData **router_data.rs** Add: - function: pub::new
fix: introduce net_amount field in payment response (#3115) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Modify existing code **payment_attempt.rs** Add: - function: pub::calculate_net_amount - function: pub::populate_derived_fields - impl: impl PaymentAttemptNew **payment_attempt.rs** Add: - function: pub::calculate_net_amount - function: pub::populate_derived_fields - impl: impl PaymentAttemptNew **payment_attempt.rs** Add: - function: pub::calculate_net_amount - function: pub::populate_derived_fields - impl: impl PaymentAttemptNew **schema.rs** Modify existing code **sample_data.rs** Modify existing code **helpers.rs** Modify existing code **transformers.rs** Modify existing code **payment_attempt.rs** Add: - function: pub::calculate_net_amount - function: pub::populate_derived_fields - impl: impl PaymentAttemptNew **payment_attempt.rs** Add: - function: pub::calculate_net_amount - function: pub::populate_derived_fields - impl: impl PaymentAttemptNew
feat(vsaas): enable platform merchant API Key authentication for org-level operations (#8156) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **accounts.rs** Modify existing code **merchant_account.rs** Add: - function: pub::is_platform_account **openapi.rs** Modify existing code **analytics.rs** Modify existing code **admin.rs** Modify existing code **api_keys.rs** Modify existing code **authentication.rs** Add: - function: private::authenticate_and_fetch - function: private::authenticate_and_fetch - function: private::fetch_key_store_and_account - function: private::authenticate_and_fetch - function: private::authenticate_and_fetch - struct: pub::PlatformOrgAdminAuth - struct: pub::PlatformOrgAdminAuthWithMerchantIdFromRoute - impl: impl AuthenticateAndFetch<Option<AuthenticationDataWithOrg>, A> for PlatformOrgAdminAuth - impl: impl AuthenticateAndFetch<AuthenticationData, A> for PlatformOrgAdminAuth - impl: impl PlatformOrgAdminAuthWithMerchantIdFromRoute - impl: impl AuthenticateAndFetch<AuthenticationData, A> for PlatformOrgAdminAuthWithMerchantIdFromRoute - impl: impl AuthenticateAndFetch<Option<AuthenticationDataWithOrg>, A> for JWTAuthOrganizationFromRoute **admin.rs** Modify existing code
feat(router): Pass customers address in retrieve customer (#2376)
Files to modify: **address.rs** Add: - function: pub::find_by_address_id **customers.rs** Modify existing code **address.rs** Add: - function: pub::find_by_address_id **customers.rs** Modify existing code **transformers.rs** Add: - function: private::from - impl: impl From<domain::Address> for payments::AddressDetails
Testability ddd repository (#55)
Files to modify: **secret.rs** Modify existing code **serde.rs** Modify existing code **strategy.rs** Modify existing code **strong_secret.rs** Modify existing code **lib.rs** Modify existing code **build.rs** Add: - function: private::main **router.rs** Modify existing code **scheduler.rs** Modify existing code **customers.rs** Modify existing code **payment_intents.rs** Modify existing code **types.rs** Modify existing code **refunds.rs** Modify existing code **connection.rs** Modify existing code **adyen.rs** Modify existing code **stripe.rs** Modify existing code **admin.rs** Modify existing code **customers.rs** Modify existing code **errors.rs** Modify existing code **mandate.rs** Modify existing code **cards.rs** Modify existing code **payments.rs** Modify existing code **authorize_flow.rs** Modify existing code **helpers.rs** Modify existing code **operations.rs** Modify existing code **payment_cancel.rs** Modify existing code **payment_capture.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_response.rs** Modify existing code **payment_session.rs** Modify existing code **payment_start.rs** Modify existing code **payment_status.rs** Modify existing code **payment_update.rs** Modify existing code **transformers.rs** Modify existing code **refunds.rs** Modify existing code **validator.rs** Modify existing code **utils.rs** Modify existing code **webhooks.rs** Modify existing code **utils.rs** Modify existing code **db.rs** Add: - function: private::close - function: pub::new - function: private::close - function: pub::get_and_deserialize_key - struct: pub::MockDb - enum: pub::StorageImpl - trait: pub::StorageInterface - impl: impl StorageInterface for Store - impl: impl MockDb - impl: impl StorageInterface for MockDb - mod: pub::queue **address.rs** Add: - function: private::find_address - function: private::update_address - function: private::insert_address - impl: impl AddressInterface for MockDb **configs.rs** Add: - function: private::insert_config - function: private::find_config_by_key - function: private::update_config_by_key - impl: impl ConfigInterface for MockDb **connector_response.rs** Add: - function: private::insert_connector_response - function: private::find_connector_response_by_payment_id_merchant_id_txn_id - function: private::update_connector_response - impl: impl ConnectorResponseInterface for MockDb **customers.rs** Modify existing code **events.rs** Add: - function: private::insert_event - impl: impl EventInterface for MockDb **locker_mock_up.rs** Add: - function: private::find_locker_by_card_id - function: private::insert_locker_mock_up - impl: impl LockerMockUpInterface for MockDb **mandate.rs** Modify existing code **merchant_account.rs** Add: - function: private::insert_merchant - function: private::find_merchant_account_by_merchant_id - function: private::update_merchant - function: private::find_merchant_account_by_api_key - function: private::find_merchant_account_by_publishable_key - function: private::delete_merchant_account_by_merchant_id - trait: pub::MerchantAccountInterface - impl: impl MerchantAccountInterface for [async_trait::async_trait] - impl: impl MerchantAccountInterface for MockDb **merchant_connector_account.rs** Add: - function: private::find_merchant_connector_account_by_merchant_id_connector - function: private::find_by_merchant_connector_account_merchant_id_merchant_connector_id - function: private::insert_merchant_connector_account - function: private::find_merchant_connector_account_by_merchant_id_list - function: private::update_merchant_connector_account - function: private::delete_merchant_connector_account_by_merchant_id_merchant_connector_id - impl: impl MerchantConnectorAccountInterface for MockDb **payment_attempt.rs** Remove: - impl: impl IPaymentAttempt for super::IPaymentAttempt Add: - function: private::find_payment_attempt_by_merchant_id_txn_id - function: private::find_payment_attempt_by_merchant_id_connector_txn_id - function: private::insert_payment_attempt - function: private::update_payment_attempt - function: private::find_payment_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_transaction_id_payment_id_merchant_id - function: private::find_payment_attempt_last_successful_attempt_by_payment_id_merchant_id - impl: impl PaymentAttemptInterface for [async_trait::async_trait] - impl: impl PaymentAttemptInterface for MockDb **payment_intent.rs** Add: - function: private::filter_payment_intent_by_constraints - function: private::insert_payment_intent - function: private::update_payment_intent - function: private::find_payment_intent_by_payment_id_merchant_id - impl: impl PaymentIntentInterface for MockDb **payment_method.rs** Add: - function: private::find_payment_method - function: private::insert_payment_method - function: private::find_payment_method_by_customer_id_merchant_id_list - function: private::delete_payment_method_by_merchant_id_payment_method_id - impl: impl PaymentMethodInterface for MockDb **process_tracker.rs** Add: - function: private::find_process_by_id - function: private::reinitialize_limbo_processes - function: private::find_processes_by_time_status - function: private::insert_process - function: private::update_process - function: private::update_process_tracker - function: private::process_tracker_update_process_status_by_ids - impl: impl ProcessTrackerInterface for MockDb **queue.rs** Add: - function: private::fetch_consumer_tasks - function: private::consumer_group_create - function: private::acquire_pt_lock - function: private::release_pt_lock - function: private::stream_append_entry - function: private::get_key - function: private::fetch_consumer_tasks - function: private::consumer_group_create - function: private::acquire_pt_lock - function: private::release_pt_lock - function: private::stream_append_entry - function: private::get_key - trait: pub::QueueInterface - impl: impl QueueInterface for super::Store - impl: impl QueueInterface for MockDb **refund.rs** Add: - function: private::find_refund_by_internal_reference_id_merchant_id - function: private::insert_refund - function: private::find_refund_by_merchant_id_transaction_id - function: private::update_refund - function: private::find_refund_by_merchant_id_refund_id - function: private::find_refund_by_payment_id_merchant_id - impl: impl RefundInterface for MockDb **temp_card.rs** Add: - function: private::insert_temp_card - function: private::find_tempcard_by_transaction_id - function: private::insert_tempcard_with_token - function: private::find_tempcard_by_token - impl: impl TempCardInterface for MockDb **lib.rs** Modify existing code **pii.rs** Modify existing code **admin.rs** Modify existing code **app.rs** Add: - function: pub::with_storage - function: pub::new - impl: impl AppState **customers.rs** Modify existing code **mandates.rs** Modify existing code **payment_methods.rs** Modify existing code **payments.rs** Modify existing code **refunds.rs** Modify existing code **consumer.rs** Modify existing code **producer.rs** Add: - function: pub::fetch_upper_limit - function: pub::fetch_lower_limit - function: pub::producer_lock_key - function: pub::producer_lock_ttl **utils.rs** Modify existing code **payment_sync.rs** Modify existing code **api.rs** Modify existing code **mandates.rs** Modify existing code **payment_methods.rs** Modify existing code **payments.rs** Modify existing code **webhooks.rs** Modify existing code **storage.rs** Modify existing code **address.rs** Add: - function: private::find_address - function: private::update_address - function: private::insert_address - impl: impl AddressInterface for MockDb **configs.rs** Add: - function: private::insert_config - function: private::find_config_by_key - function: private::update_config_by_key - impl: impl ConfigInterface for MockDb **connector_response.rs** Add: - function: private::insert_connector_response - function: private::find_connector_response_by_payment_id_merchant_id_txn_id - function: private::update_connector_response - impl: impl ConnectorResponseInterface for MockDb **customers.rs** Modify existing code **enums.rs** Modify existing code **events.rs** Add: - function: private::insert_event - impl: impl EventInterface for MockDb **locker_mock_up.rs** Add: - function: private::find_locker_by_card_id - function: private::insert_locker_mock_up - impl: impl LockerMockUpInterface for MockDb **mandate.rs** Modify existing code **payment_attempt.rs** Remove: - impl: impl IPaymentAttempt for super::IPaymentAttempt Add: - function: private::find_payment_attempt_by_merchant_id_txn_id - function: private::find_payment_attempt_by_merchant_id_connector_txn_id - function: private::insert_payment_attempt - function: private::update_payment_attempt - function: private::find_payment_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_transaction_id_payment_id_merchant_id - function: private::find_payment_attempt_last_successful_attempt_by_payment_id_merchant_id - impl: impl PaymentAttemptInterface for [async_trait::async_trait] - impl: impl PaymentAttemptInterface for MockDb **payment_intent.rs** Add: - function: private::filter_payment_intent_by_constraints - function: private::insert_payment_intent - function: private::update_payment_intent - function: private::find_payment_intent_by_payment_id_merchant_id - impl: impl PaymentIntentInterface for MockDb **process_tracker.rs** Add: - function: private::find_process_by_id - function: private::reinitialize_limbo_processes - function: private::find_processes_by_time_status - function: private::insert_process - function: private::update_process - function: private::update_process_tracker - function: private::process_tracker_update_process_status_by_ids - impl: impl ProcessTrackerInterface for MockDb **customers.rs** Modify existing code **merchant_account.rs** Add: - function: private::insert_merchant - function: private::find_merchant_account_by_merchant_id - function: private::update_merchant - function: private::find_merchant_account_by_api_key - function: private::find_merchant_account_by_publishable_key - function: private::delete_merchant_account_by_merchant_id - trait: pub::MerchantAccountInterface - impl: impl MerchantAccountInterface for [async_trait::async_trait] - impl: impl MerchantAccountInterface for MockDb **merchant_connector_account.rs** Add: - function: private::find_merchant_connector_account_by_merchant_id_connector - function: private::find_by_merchant_connector_account_merchant_id_merchant_connector_id - function: private::insert_merchant_connector_account - function: private::find_merchant_connector_account_by_merchant_id_list - function: private::update_merchant_connector_account - function: private::delete_merchant_connector_account_by_merchant_id_merchant_connector_id - impl: impl MerchantConnectorAccountInterface for MockDb **payment_attempt.rs** Remove: - impl: impl IPaymentAttempt for super::IPaymentAttempt Add: - function: private::find_payment_attempt_by_merchant_id_txn_id - function: private::find_payment_attempt_by_merchant_id_connector_txn_id - function: private::insert_payment_attempt - function: private::update_payment_attempt - function: private::find_payment_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_transaction_id_payment_id_merchant_id - function: private::find_payment_attempt_last_successful_attempt_by_payment_id_merchant_id - impl: impl PaymentAttemptInterface for [async_trait::async_trait] - impl: impl PaymentAttemptInterface for MockDb **payment_intent.rs** Add: - function: private::filter_payment_intent_by_constraints - function: private::insert_payment_intent - function: private::update_payment_intent - function: private::find_payment_intent_by_payment_id_merchant_id - impl: impl PaymentIntentInterface for MockDb **temp_card.rs** Add: - function: private::insert_temp_card - function: private::find_tempcard_by_transaction_id - function: private::insert_tempcard_with_token - function: private::find_tempcard_by_token - impl: impl TempCardInterface for MockDb **refund.rs** Add: - function: private::find_refund_by_internal_reference_id_merchant_id - function: private::insert_refund - function: private::find_refund_by_merchant_id_transaction_id - function: private::update_refund - function: private::find_refund_by_merchant_id_refund_id - function: private::find_refund_by_payment_id_merchant_id - impl: impl RefundInterface for MockDb **temp_card.rs** Add: - function: private::insert_temp_card - function: private::find_tempcard_by_transaction_id - function: private::insert_tempcard_with_token - function: private::find_tempcard_by_token - impl: impl TempCardInterface for MockDb **utils.rs** Modify existing code **ext_traits.rs** Add: - function: private::new_tree - struct: private::ValidEmail - impl: impl Strategy for ValidEmail **aci.rs** Modify existing code **authorizedotnet.rs** Modify existing code **checkout.rs** Modify existing code **customers.rs** Modify existing code **health_check.rs** Remove: - function: private::health_check **integration_demo.rs** Remove: - struct: private::TestApp Add: - function: private::legacy_partial_refund - function: private::legacy_exceed_refund **payments.rs** Modify existing code **payments2.rs** Modify existing code **refunds.rs** Modify existing code **utils.rs** Modify existing code **webhooks.rs** Modify existing code **types.rs** Modify existing code **logger.rs** Remove: - function: pub::last_modified_log - function: private::extra_fields
refactor(merchant_account_v2): recreate id for `merchant_account` v2 (#5439) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **merchant_account.rs** Add: - function: private::from - function: private::from - function: pub::get_id - struct: pub::MerchantAccountSetter - struct: pub::MerchantAccountSetter - struct: pub::MerchantAccountNew - impl: impl From<MerchantAccountSetter> for MerchantAccount - impl: impl From<MerchantAccountSetter> for MerchantAccount **merchant_account.rs** Add: - function: private::from - function: private::from - function: pub::get_id - struct: pub::MerchantAccountSetter - struct: pub::MerchantAccountSetter - struct: pub::MerchantAccountNew - impl: impl From<MerchantAccountSetter> for MerchantAccount - impl: impl From<MerchantAccountSetter> for MerchantAccount **schema_v2.rs** Modify existing code **merchant_account.rs** Add: - function: private::from - function: private::from - function: pub::get_id - struct: pub::MerchantAccountSetter - struct: pub::MerchantAccountSetter - struct: pub::MerchantAccountNew - impl: impl From<MerchantAccountSetter> for MerchantAccount - impl: impl From<MerchantAccountSetter> for MerchantAccount **payment_attempt.rs** Modify existing code **admin.rs** Modify existing code **customers.rs** Modify existing code **merchant_account.rs** Add: - function: private::from - function: private::from - function: pub::get_id - struct: pub::MerchantAccountSetter - struct: pub::MerchantAccountSetter - struct: pub::MerchantAccountNew - impl: impl From<MerchantAccountSetter> for MerchantAccount - impl: impl From<MerchantAccountSetter> for MerchantAccount **app.rs** Modify existing code **admin.rs** Modify existing code **utils.rs** Modify existing code
refactor(euclid): log refactors for dynamic routing (#6052) Co-authored-by: Aprabhat19 <[email protected]> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Amisha Prabhat <[email protected]> Co-authored-by: Chethan Rao <[email protected]>
Files to modify: **payment_response.rs** Modify existing code **routing.rs** Modify existing code **helpers.rs** Modify existing code **routing.rs** Modify existing code
refactor(connector): [Bluesnap] Enahnce 3ds Flow (#2115)
Files to modify: **bluesnap.rs** Remove: - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - impl: impl api::ConnectorCustomer for Bluesnap - impl: impl ConnectorIntegration< api::CreateConnectorCustomer, types::ConnectorCustomerData, types::PaymentsResponseData, > for Bluesnap **transformers.rs** Remove: - function: private::try_from - struct: pub::BluesnapCustomerRequest - impl: impl TryFrom<&types::PaymentsCompleteAuthorizeRouterData> for BluesnapPaymentsRequest - impl: impl TryFrom<&types::ConnectorCustomerRouterData> for BluesnapCustomerRequest Add: - function: private::try_from - struct: pub::BluesnapPaymentsTokenRequest - struct: pub::BluesnapCompletePaymentsRequest - impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for BluesnapPaymentsTokenRequest **utils.rs** Add: - function: private::is_card - function: private::get_expiry_date_as_mmyyyy **flows.rs** Modify existing code **api.rs** Modify existing code
feat: add a wrapper for encryption and decryption (#5502)
Files to modify: **macros.rs** Modify existing code **business_profile.rs** Modify existing code **customer.rs** Modify existing code **merchant_account.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **merchant_key_store.rs** Modify existing code **payment_attempt.rs** Modify existing code **type_encryption.rs** Add: - function: pub::crypto_operation - enum: pub::CryptoOperation - enum: pub::CryptoOutput **admin.rs** Modify existing code **apple_pay_certificates_migration.rs** Modify existing code **customers.rs** Modify existing code **cards.rs** Modify existing code **helpers.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **helpers.rs** Modify existing code **pm_auth.rs** Modify existing code **user.rs** Modify existing code **outgoing.rs** Modify existing code **events.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **merchant_key_store.rs** Modify existing code **admin.rs** Modify existing code **address.rs** Modify existing code **event.rs** Modify existing code **types.rs** Modify existing code **user.rs** Modify existing code **user_key_store.rs** Modify existing code **utils.rs** Modify existing code **user.rs** Modify existing code
feat(user_roles): support switch for new hierarchy (#5692) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **user.rs** Modify existing code **user_role.rs** Modify existing code **user.rs** Modify existing code **user_role.rs** Modify existing code **user.rs** Modify existing code **app.rs** Modify existing code **lock_utils.rs** Modify existing code **user.rs** Modify existing code **user.rs** Modify existing code **user_role.rs** Modify existing code **types.rs** Modify existing code
fix(connector): [DummyConnector] add new icons and fix `we_chat_pay` (#1845) Co-authored-by: Sampras Lopes <[email protected]>
Files to modify: **settings.rs** Modify existing code **consts.rs** Modify existing code **core.rs** Modify existing code **types.rs** Modify existing code **utils.rs** Remove: - function: pub::get_expired_page Add: - function: pub::get_expired_page
feat(connector): [FISERV] Added ApplePay Wallet (#8670) Co-authored-by: Sayak Bhattacharya <[email protected]>
Files to modify: **fiserv.rs** Modify existing code **transformers.rs** Remove: - enum: pub::FiservWalletType Add: - struct: pub::ApplePayWalletDetails - struct: pub::ApplePayHeader - struct: pub::DecryptedWalletDetails - struct: pub::ApplePayDecryptedData - enum: pub::FiservWalletType
refactor(scheduler): remove scheduler options & adding graceful shutdown to producer (#840) Co-authored-by: Arun Raj M <[email protected]>
Files to modify: **scheduler.rs** Modify existing code **defaults.rs** Modify existing code **settings.rs** Modify existing code **scheduler.rs** Modify existing code **consumer.rs** Modify existing code **producer.rs** Modify existing code **types.rs** Remove: - mod: pub::options **options.rs** Remove: - struct: pub::Milliseconds - struct: pub::SchedulerOptions - struct: pub::ReadinessOptions **utils.rs** Modify existing code
feat(connector_cloning): Create API for cloning connectors between merchants and profiles. (#7949) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **user.rs** Modify existing code **user.rs** Modify existing code **enums.rs** Modify existing code **consts.rs** Modify existing code **secrets_transformers.rs** Modify existing code **settings.rs** Add: - struct: pub::CloneConnectorAllowlistConfig **user.rs** Modify existing code **user.rs** Modify existing code **user_role.rs** Modify existing code **role.rs** Modify existing code **app.rs** Modify existing code **lock_utils.rs** Modify existing code **user.rs** Modify existing code **info.rs** Modify existing code **permission_groups.rs** Modify existing code **permissions.rs** Modify existing code **roles.rs** Add: - function: pub::from_predefined_roles **predefined_roles.rs** Modify existing code **user.rs** Modify existing code **user_role.rs** Modify existing code **types.rs** Modify existing code
refactor(dynamic_routing): update the authentication for update config to include JWT type (#6785) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **openapi.rs** Modify existing code **routing.rs** Add: - function: pub::success_based_routing_update_configs **routing.rs** Add: - function: pub::success_based_routing_update_configs
feat(user_roles): Add accept invitation API and `UserJWTAuth` (#3365)
Files to modify: **user_role.rs** Modify existing code **user_role.rs** Modify existing code **user.rs** Modify existing code **user_role.rs** Modify existing code **app.rs** Modify existing code **lock_utils.rs** Modify existing code **user_role.rs** Modify existing code **authentication.rs** Add: - function: pub::new_token - function: private::authenticate_and_fetch - struct: pub::UserWithoutMerchantFromToken - struct: pub::UserAuthToken - struct: pub::UserWithoutMerchantJWTAuth - impl: impl UserAuthToken - impl: impl AuthenticateAndFetch<UserWithoutMerchantFromToken, A> for UserWithoutMerchantJWTAuth **user.rs** Modify existing code **user.rs** Modify existing code **types.rs** Modify existing code
feat: migration api for migrating routing rules to decision_engine (#8233) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **routing.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for RuleMigrationQuery - impl: impl ApiEventMetric for RuleMigrationResponse - impl: impl ApiEventMetric for RuleMigrationResult - impl: impl ApiEventMetric for RuleMigrationError **routing.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for RuleMigrationQuery - impl: impl ApiEventMetric for RuleMigrationResponse - impl: impl ApiEventMetric for RuleMigrationResult - impl: impl ApiEventMetric for RuleMigrationError **routing_algorithm.rs** Add: - function: pub::metadata_is_advanced_rule_for_payments - impl: impl RoutingProfileMetadata **utils.rs** Modify existing code **routing.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for RuleMigrationQuery - impl: impl ApiEventMetric for RuleMigrationResponse - impl: impl ApiEventMetric for RuleMigrationResult - impl: impl ApiEventMetric for RuleMigrationError **app.rs** Modify existing code **lock_utils.rs** Modify existing code **routing.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for RuleMigrationQuery - impl: impl ApiEventMetric for RuleMigrationResponse - impl: impl ApiEventMetric for RuleMigrationResult - impl: impl ApiEventMetric for RuleMigrationError **types.rs** Modify existing code
chore: resolve warnings in v2 (#8373) Co-authored-by: Aishwariyaa Anand <[email protected]>
Files to modify: **admin.rs** Modify existing code **refunds.rs** Modify existing code **tokenization.rs** Modify existing code **token.rs** Modify existing code **tokenization.rs** Modify existing code **tokenization.rs** Modify existing code **tokenization.rs** Modify existing code **chargebee.rs** Modify existing code **razorpay.rs** Modify existing code **recurly.rs** Modify existing code **transformers.rs** Modify existing code **stripebilling.rs** Modify existing code **types.rs** Modify existing code **business_profile.rs** Modify existing code **customer.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **network_tokenization.rs** Modify existing code **payment_methods.rs** Modify existing code **payments.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **router_data.rs** Modify existing code **router_request_types.rs** Modify existing code **tokenization.rs** Modify existing code **mca.rs** Modify existing code **payment_connector_required_fields.rs** Modify existing code **controller.rs** Modify existing code **migration.rs** Modify existing code **payment_methods.rs** Modify existing code **helpers.rs** Modify existing code **state.rs** Modify existing code **customers.rs** Modify existing code **payment_methods.rs** Modify existing code **helpers.rs** Modify existing code **payment_capture_v2.rs** Modify existing code **payment_confirm_intent.rs** Modify existing code **payment_create_intent.rs** Modify existing code **payment_get.rs** Modify existing code **payment_session_intent.rs** Modify existing code **vault_session.rs** Modify existing code **payouts.rs** Modify existing code **kafka_store.rs** Modify existing code **customers.rs** Modify existing code **lib.rs** Modify existing code **payment_intent.rs** Modify existing code **payment_method.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **payouts.rs** Modify existing code **tokenization.rs** Modify existing code
fix(connectors): [Nexixpay] handle optional fields in nexixpay payments requests. (#7465) Co-authored-by: Mrudul Vajpayee <[email protected]>
Files to modify: **transformers.rs** Modify existing code **payment_connector_required_fields.rs** Modify existing code
docs: add `ApplePayRedirectionData` to OpenAPI schema (#1386)
Files to modify: **openapi.rs** Modify existing code
fix(connector): change capture status to pending when waiting for settlement (#420)
Files to modify: **cybersource.rs** Modify existing code **transformers.rs** Add: - function: private::get_payment_status
feat(connector): add payment create, sync, capture, refund, void, rsync support for PayU (#351) Co-authored-by: samraat bansal <[email protected]>
Files to modify: **enums.rs** Modify existing code **settings.rs** Modify existing code **connector.rs** Add: - mod: pub::payu **payu.rs** Add: - function: private::build_headers - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - function: private::get_flow_type - struct: pub::Payu - impl: impl ConnectorCommonExt<Flow, Request, Response> for Payu - impl: impl ConnectorCommon for Payu - impl: impl api::Payment for Payu - impl: impl api::PreVerify for Payu - impl: impl services::ConnectorIntegration< api::Verify, types::VerifyRequestData, types::PaymentsResponseData, > for Payu - impl: impl api::PaymentVoid for Payu - impl: impl services::ConnectorIntegration< api::Void, types::PaymentsCancelData, types::PaymentsResponseData, > for Payu - impl: impl api::PaymentSync for Payu - impl: impl services::ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Payu - impl: impl api::PaymentCapture for Payu - impl: impl services::ConnectorIntegration< api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData, > for Payu - impl: impl api::PaymentSession for Payu - impl: impl services::ConnectorIntegration< api::Session, types::PaymentsSessionData, types::PaymentsResponseData, > for Payu - impl: impl api::PaymentAuthorize for Payu - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData, > for Payu - impl: impl api::Refund for Payu - impl: impl api::RefundExecute for Payu - impl: impl api::RefundSync for Payu - impl: impl services::ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Payu - impl: impl services::ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Payu - impl: impl api::IncomingWebhook for Payu - impl: impl services::ConnectorRedirectResponse for Payu - mod: private::transformers **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::PayuPaymentsRequest - struct: pub::PayuPaymentMethod - struct: pub::PayuWallet - struct: pub::PayuAuthType - struct: pub::PayuPaymentsResponse - struct: pub::PayuPaymentsCaptureRequest - struct: pub::PayuPaymentsCaptureResponse - struct: pub::PayuPaymentsCancelResponse - struct: pub::PayuPaymentStatusData - struct: pub::PayuProductData - struct: pub::PayuOrderResponseData - struct: pub::PayuOrderResponseBuyerData - struct: pub::PayuOrderResponseProperty - struct: pub::PayuPaymentsSyncResponse - struct: pub::PayuRefundRequestData - struct: pub::PayuRefundRequest - struct: pub::PayuRefundResponseData - struct: pub::RefundResponse - struct: pub::RefundSyncResponse - struct: pub::PayuErrorData - struct: pub::PayuErrorResponse - enum: pub::PayuPaymentMethodData - enum: pub::PayuCard - enum: pub::PayuWalletCode - enum: pub::PayuPaymentStatus - enum: pub::OrderStatus - enum: pub::PayuOrderResponsePayMethod - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for PayuPaymentsRequest - impl: impl TryFrom<&types::ConnectorAuthType> for PayuAuthType - impl: impl From<PayuPaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, PayuPaymentsResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::PaymentsCaptureRouterData> for PayuPaymentsCaptureRequest - impl: impl TryFrom< types::ResponseRouterData<F, PayuPaymentsCaptureResponse, T, types::PaymentsResponseData>, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom< types::ResponseRouterData<F, PayuPaymentsCancelResponse, T, types::PaymentsResponseData>, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl From<OrderStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, PayuPaymentsSyncResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::RefundsRouterData<F>> for PayuRefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundSyncResponse>> for types::RefundsRouterData<api::RSync> **api.rs** Modify existing code **client.rs** Modify existing code **api.rs** Modify existing code **connector_auth.rs** Modify existing code **main.rs** Add: - mod: private::payu **payu.rs** Add: - function: private::build_headers - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - function: private::get_flow_type - struct: pub::Payu - impl: impl ConnectorCommonExt<Flow, Request, Response> for Payu - impl: impl ConnectorCommon for Payu - impl: impl api::Payment for Payu - impl: impl api::PreVerify for Payu - impl: impl services::ConnectorIntegration< api::Verify, types::VerifyRequestData, types::PaymentsResponseData, > for Payu - impl: impl api::PaymentVoid for Payu - impl: impl services::ConnectorIntegration< api::Void, types::PaymentsCancelData, types::PaymentsResponseData, > for Payu - impl: impl api::PaymentSync for Payu - impl: impl services::ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Payu - impl: impl api::PaymentCapture for Payu - impl: impl services::ConnectorIntegration< api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData, > for Payu - impl: impl api::PaymentSession for Payu - impl: impl services::ConnectorIntegration< api::Session, types::PaymentsSessionData, types::PaymentsResponseData, > for Payu - impl: impl api::PaymentAuthorize for Payu - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData, > for Payu - impl: impl api::Refund for Payu - impl: impl api::RefundExecute for Payu - impl: impl api::RefundSync for Payu - impl: impl services::ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Payu - impl: impl services::ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Payu - impl: impl api::IncomingWebhook for Payu - impl: impl services::ConnectorRedirectResponse for Payu - mod: private::transformers **utils.rs** Add: - function: private::default - struct: pub::BrowserInfoType - impl: impl Default for BrowserInfoType
feat: add macro to generate ToEncryptable trait (#6313) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sanchith Hegde <[email protected]>
Files to modify: **customers.rs** Remove: - function: private::to_encryptable - function: private::from_encryptable - function: private::to_encryptable - function: private::from_encryptable - struct: pub::CustomerRequestWithEmail - struct: pub::CustomerRequestWithEncryption - struct: pub::EncryptableCustomer - impl: impl ToEncryptable<EncryptableCustomer, Secret<String>, Encryption> for CustomerRequestWithEncryption - impl: impl ToEncryptable<EncryptableCustomer, Secret<String>, Secret<String>> for CustomerRequestWithEmail **payments.rs** Remove: - function: private::from_encryptable - function: private::to_encryptable - impl: impl ToEncryptable<EncryptableAddressDetails, Secret<String>, Secret<String>> for AddressDetailsWithPhone **address.rs** Remove: - function: private::to_encryptable - function: private::from_encryptable - impl: impl ToEncryptable<EncryptableAddress, Secret<String>, Encryption> for Address **events.rs** Remove: - function: private::to_encryptable - function: private::from_encryptable - struct: pub::EventWithEncryption - struct: pub::EncryptableEvent - impl: impl ToEncryptable<EncryptableEvent, Secret<String>, Encryption> for EventWithEncryption **customer.rs** Modify existing code **merchant_connector_account.rs** Remove: - function: private::from_encryptable - function: private::to_encryptable - function: private::from_encryptable - function: private::to_encryptable - function: private::from_encryptable - function: private::to_encryptable - struct: pub::McaFromRequestfromUpdate - struct: pub::McaFromRequest - struct: pub::DecryptedMca - struct: pub::EncryptedMca - struct: pub::DecryptedUpdateMca - impl: impl ToEncryptable<DecryptedMca, Secret<serde_json::Value>, Encryption> for EncryptedMca - impl: impl ToEncryptable<DecryptedUpdateMca, Secret<serde_json::Value>, Secret<serde_json::Value>> for McaFromRequestfromUpdate - impl: impl ToEncryptable<DecryptedMca, Secret<serde_json::Value>, Secret<serde_json::Value>> for McaFromRequest **payments.rs** Remove: - function: private::from_encryptable - function: private::to_encryptable - impl: impl ToEncryptable<EncryptableAddressDetails, Secret<String>, Secret<String>> for AddressDetailsWithPhone **payment_intent.rs** Modify existing code **admin.rs** Modify existing code **customers.rs** Remove: - function: private::to_encryptable - function: private::from_encryptable - function: private::to_encryptable - function: private::from_encryptable - struct: pub::CustomerRequestWithEmail - struct: pub::CustomerRequestWithEncryption - struct: pub::EncryptableCustomer - impl: impl ToEncryptable<EncryptableCustomer, Secret<String>, Encryption> for CustomerRequestWithEncryption - impl: impl ToEncryptable<EncryptableCustomer, Secret<String>, Secret<String>> for CustomerRequestWithEmail **helpers.rs** Modify existing code **payment_create.rs** Modify existing code **helpers.rs** Modify existing code **address.rs** Remove: - function: private::to_encryptable - function: private::from_encryptable - impl: impl ToEncryptable<EncryptableAddress, Secret<String>, Encryption> for Address **event.rs** Modify existing code **utils.rs** Modify existing code **lib.rs** Add: - function: pub::derive_to_encryption_attr **macros.rs** Add: - mod: pub::to_encryptable **to_encryptable.rs** Add: - function: private::parse - function: private::to_tokens - function: private::get_encryption_ty_meta - function: private::get_inner_type - function: private::get_inner_most_type - function: private::get_inner_type_recursive - function: private::get_encryptable_fields - function: private::get_field_and_inner_types - function: private::generate_struct_fields - function: private::generate_impls - function: private::generate_to_encryptable - function: pub::derive_to_encryption - struct: pub::FieldMeta - enum: private::StructType - impl: impl Parse for FieldMeta - impl: impl quote::ToTokens for FieldMeta - impl: impl StructType
feat(connector): [WELLSFARGO_PAYOUT] PR template code (#5567)
Files to modify: **enums.rs** Modify existing code **enums.rs** Modify existing code **configs.rs** Modify existing code **connector.rs** Add: - mod: pub::wellsfargopayout **wellsfargopayout.rs** Add: - function: pub::new - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Wellsfargopayout - impl: impl Wellsfargopayout - impl: impl api::Payment for Wellsfargopayout - impl: impl api::PaymentSession for Wellsfargopayout - impl: impl api::ConnectorAccessToken for Wellsfargopayout - impl: impl api::MandateSetup for Wellsfargopayout - impl: impl api::PaymentAuthorize for Wellsfargopayout - impl: impl api::PaymentSync for Wellsfargopayout - impl: impl api::PaymentCapture for Wellsfargopayout - impl: impl api::PaymentVoid for Wellsfargopayout - impl: impl api::Refund for Wellsfargopayout - impl: impl api::RefundExecute for Wellsfargopayout - impl: impl api::RefundSync for Wellsfargopayout - impl: impl api::PaymentToken for Wellsfargopayout - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Wellsfargopayout - impl: impl ConnectorCommonExt<Flow, Request, Response> for Wellsfargopayout - impl: impl ConnectorCommon for Wellsfargopayout - impl: impl ConnectorValidation for Wellsfargopayout - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Wellsfargopayout - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Wellsfargopayout - impl: impl ConnectorIntegration< api::SetupMandate, types::SetupMandateRequestData, types::PaymentsResponseData, > for Wellsfargopayout - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Wellsfargopayout - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Wellsfargopayout - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Wellsfargopayout - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Wellsfargopayout - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Wellsfargopayout - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Wellsfargopayout - impl: impl api::IncomingWebhook for Wellsfargopayout - mod: pub::transformers **transformers.rs** Add: - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::WellsfargopayoutRouterData - struct: pub::WellsfargopayoutPaymentsRequest - struct: pub::WellsfargopayoutCard - struct: pub::WellsfargopayoutAuthType - struct: pub::WellsfargopayoutPaymentsResponse - struct: pub::WellsfargopayoutRefundRequest - struct: pub::RefundResponse - struct: pub::WellsfargopayoutErrorResponse - enum: pub::WellsfargopayoutPaymentStatus - enum: pub::RefundStatus - impl: impl From<(StringMinorUnit, T)> for WellsfargopayoutRouterData<T> - impl: impl TryFrom<&WellsfargopayoutRouterData<&types::PaymentsAuthorizeRouterData>> for WellsfargopayoutPaymentsRequest - impl: impl TryFrom<&types::ConnectorAuthType> for WellsfargopayoutAuthType - impl: impl From<WellsfargopayoutPaymentStatus> for enums::AttemptStatus - impl: impl TryFrom< types::ResponseRouterData< F, WellsfargopayoutPaymentsResponse, T, types::PaymentsResponseData, >, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&WellsfargopayoutRouterData<&types::RefundsRouterData<F>>> for WellsfargopayoutRefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundResponse>> for types::RefundsRouterData<api::RSync> **connector_integration_v2_impls.rs** Modify existing code **flows.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Add: - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::WellsfargopayoutRouterData - struct: pub::WellsfargopayoutPaymentsRequest - struct: pub::WellsfargopayoutCard - struct: pub::WellsfargopayoutAuthType - struct: pub::WellsfargopayoutPaymentsResponse - struct: pub::WellsfargopayoutRefundRequest - struct: pub::RefundResponse - struct: pub::WellsfargopayoutErrorResponse - enum: pub::WellsfargopayoutPaymentStatus - enum: pub::RefundStatus - impl: impl From<(StringMinorUnit, T)> for WellsfargopayoutRouterData<T> - impl: impl TryFrom<&WellsfargopayoutRouterData<&types::PaymentsAuthorizeRouterData>> for WellsfargopayoutPaymentsRequest - impl: impl TryFrom<&types::ConnectorAuthType> for WellsfargopayoutAuthType - impl: impl From<WellsfargopayoutPaymentStatus> for enums::AttemptStatus - impl: impl TryFrom< types::ResponseRouterData< F, WellsfargopayoutPaymentsResponse, T, types::PaymentsResponseData, >, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&WellsfargopayoutRouterData<&types::RefundsRouterData<F>>> for WellsfargopayoutRefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundResponse>> for types::RefundsRouterData<api::RSync> **main.rs** Modify existing code **wellsfargopayout.rs** Add: - function: pub::new - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Wellsfargopayout - impl: impl Wellsfargopayout - impl: impl api::Payment for Wellsfargopayout - impl: impl api::PaymentSession for Wellsfargopayout - impl: impl api::ConnectorAccessToken for Wellsfargopayout - impl: impl api::MandateSetup for Wellsfargopayout - impl: impl api::PaymentAuthorize for Wellsfargopayout - impl: impl api::PaymentSync for Wellsfargopayout - impl: impl api::PaymentCapture for Wellsfargopayout - impl: impl api::PaymentVoid for Wellsfargopayout - impl: impl api::Refund for Wellsfargopayout - impl: impl api::RefundExecute for Wellsfargopayout - impl: impl api::RefundSync for Wellsfargopayout - impl: impl api::PaymentToken for Wellsfargopayout - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Wellsfargopayout - impl: impl ConnectorCommonExt<Flow, Request, Response> for Wellsfargopayout - impl: impl ConnectorCommon for Wellsfargopayout - impl: impl ConnectorValidation for Wellsfargopayout - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Wellsfargopayout - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Wellsfargopayout - impl: impl ConnectorIntegration< api::SetupMandate, types::SetupMandateRequestData, types::PaymentsResponseData, > for Wellsfargopayout - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Wellsfargopayout - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Wellsfargopayout - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Wellsfargopayout - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Wellsfargopayout - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Wellsfargopayout - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Wellsfargopayout - impl: impl api::IncomingWebhook for Wellsfargopayout - mod: pub::transformers **connector_auth.rs** Modify existing code
feat(users): add global support in user roles (#6458)
Files to modify: **schema.rs** Modify existing code **schema_v2.rs** Modify existing code **user_role.rs** Modify existing code **analytics.rs** Modify existing code **user.rs** Modify existing code **recon.rs** Modify existing code **user.rs** Modify existing code **user_role.rs** Modify existing code **db.rs** Modify existing code **user_role.rs** Modify existing code **authentication.rs** Modify existing code **authorization.rs** Add: - function: pub::check_tenant **user.rs** Modify existing code **decision_manager.rs** Modify existing code **user.rs** Modify existing code **user_role.rs** Modify existing code
feat(connector): add dynamic duitnow qr code, google pay and applpe pay for fiuu (#6204) Co-authored-by: Chikke Srujan <[email protected]> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **fiuu.rs** Modify existing code **transformers.rs** Remove: - struct: pub::FiuuFPXPyamentRequest - enum: private::TxnType Add: - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - struct: pub::FiuuQRData - struct: pub::FiuuCardData - struct: pub::FiuuApplePayData - struct: pub::FiuuGooglePayData - struct: pub::QrTxnData - struct: pub::QrRequestData - struct: pub::FiuuSyncStatus - enum: pub::TxnType - enum: pub::FiuuTokenType - enum: pub::StatCode - impl: impl TryFrom<(&Card, &i32)> for FiuuPaymentMethodData - impl: impl TryFrom<&GooglePayWalletData> for FiuuPaymentMethodData - impl: impl TryFrom<FiuuSyncStatus> for enums::AttemptStatus **utils.rs** Add: - function: private::get_four_digit_expiry_year - function: private::get_expiry_month - trait: pub::ApplePayDecrypt - impl: impl ApplePayDecrypt for Box<ApplePayPredecryptData>
feat(utils): add iso representation for each state for european countries (#7273)
Files to modify: **payments.rs** Modify existing code **enums.rs** Add: - enum: pub::AlbaniaStatesAbbreviation - enum: pub::AndorraStatesAbbreviation - enum: pub::AustriaStatesAbbreviation - enum: pub::BelarusStatesAbbreviation - enum: pub::BosniaAndHerzegovinaStatesAbbreviation - enum: pub::BulgariaStatesAbbreviation - enum: pub::CroatiaStatesAbbreviation - enum: pub::CzechRepublicStatesAbbreviation - enum: pub::DenmarkStatesAbbreviation - enum: pub::FinlandStatesAbbreviation - enum: pub::FranceStatesAbbreviation - enum: pub::GermanyStatesAbbreviation - enum: pub::GreeceStatesAbbreviation - enum: pub::HungaryStatesAbbreviation - enum: pub::IcelandStatesAbbreviation - enum: pub::IrelandStatesAbbreviation - enum: pub::LatviaStatesAbbreviation - enum: pub::ItalyStatesAbbreviation - enum: pub::LiechtensteinStatesAbbreviation - enum: pub::LithuaniaStatesAbbreviation - enum: pub::MaltaStatesAbbreviation - enum: pub::MoldovaStatesAbbreviation - enum: pub::MonacoStatesAbbreviation - enum: pub::MontenegroStatesAbbreviation - enum: pub::NetherlandsStatesAbbreviation - enum: pub::NorthMacedoniaStatesAbbreviation - enum: pub::NorwayStatesAbbreviation - enum: pub::PolandStatesAbbreviation - enum: pub::PortugalStatesAbbreviation - enum: pub::SpainStatesAbbreviation - enum: pub::SwitzerlandStatesAbbreviation - enum: pub::UnitedKingdomStatesAbbreviation - enum: pub::RomaniaStatesAbbreviation **utils.rs** Add: - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - function: private::foreign_try_from - impl: impl ForeignTryFrom<String> for GermanyStatesAbbreviation - impl: impl ForeignTryFrom<String> for SpainStatesAbbreviation - impl: impl ForeignTryFrom<String> for ItalyStatesAbbreviation - impl: impl ForeignTryFrom<String> for NorwayStatesAbbreviation - impl: impl ForeignTryFrom<String> for AlbaniaStatesAbbreviation - impl: impl ForeignTryFrom<String> for AndorraStatesAbbreviation - impl: impl ForeignTryFrom<String> for AustriaStatesAbbreviation - impl: impl ForeignTryFrom<String> for RomaniaStatesAbbreviation - impl: impl ForeignTryFrom<String> for PortugalStatesAbbreviation - impl: impl ForeignTryFrom<String> for SwitzerlandStatesAbbreviation - impl: impl ForeignTryFrom<String> for NorthMacedoniaStatesAbbreviation - impl: impl ForeignTryFrom<String> for MontenegroStatesAbbreviation - impl: impl ForeignTryFrom<String> for MonacoStatesAbbreviation - impl: impl ForeignTryFrom<String> for NetherlandsStatesAbbreviation - impl: impl ForeignTryFrom<String> for MoldovaStatesAbbreviation - impl: impl ForeignTryFrom<String> for LithuaniaStatesAbbreviation - impl: impl ForeignTryFrom<String> for LiechtensteinStatesAbbreviation - impl: impl ForeignTryFrom<String> for LatviaStatesAbbreviation - impl: impl ForeignTryFrom<String> for MaltaStatesAbbreviation - impl: impl ForeignTryFrom<String> for BelarusStatesAbbreviation - impl: impl ForeignTryFrom<String> for IrelandStatesAbbreviation - impl: impl ForeignTryFrom<String> for IcelandStatesAbbreviation - impl: impl ForeignTryFrom<String> for HungaryStatesAbbreviation - impl: impl ForeignTryFrom<String> for GreeceStatesAbbreviation - impl: impl ForeignTryFrom<String> for FinlandStatesAbbreviation - impl: impl ForeignTryFrom<String> for DenmarkStatesAbbreviation - impl: impl ForeignTryFrom<String> for CzechRepublicStatesAbbreviation - impl: impl ForeignTryFrom<String> for CroatiaStatesAbbreviation - impl: impl ForeignTryFrom<String> for BulgariaStatesAbbreviation - impl: impl ForeignTryFrom<String> for BosniaAndHerzegovinaStatesAbbreviation - impl: impl ForeignTryFrom<String> for UnitedKingdomStatesAbbreviation **mandates.rs** Modify existing code **payments.rs** Modify existing code
refactor(connector): [Nuvie] Mask PII data (#3924)
Files to modify: **nuvei.rs** Modify existing code **transformers.rs** Modify existing code
feat(analytics): Revert api_event metrics and filters back to merchant_id authentication (#5821)
Files to modify: **core.rs** Modify existing code **filters.rs** Modify existing code **metrics.rs** Modify existing code **api_count.rs** Modify existing code **latency.rs** Modify existing code **status_code_count.rs** Modify existing code **lib.rs** Modify existing code **analytics.rs** Remove: - function: pub::get_org_api_events_metrics - function: pub::get_profile_api_events_metrics - function: pub::get_org_api_event_filters